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
|
---|---|---|---|---|---|---|
29,281 | markupsafe | __html__ | null | def __html__(self) -> "te.Self":
return self
| (self) -> 'te.Self' | [
0.015210634097456932,
-0.057048499584198,
0.03130079433321953,
0.0159608181566,
-0.018245862796902657,
-0.003110678168013692,
0.0010476711904630065,
0.005622070748358965,
0.03794035688042641,
0.019522037357091904,
0.01756465993821621,
-0.010330123826861382,
0.030524741858243942,
0.029403775930404663,
-0.04156193509697914,
0.01229612436145544,
-0.0007922205259092152,
-0.009778264909982681,
-0.009097062982618809,
-0.018280353397130966,
-0.02793789841234684,
0.027748197317123413,
0.06474004685878754,
-0.035870883613824844,
-0.005798838566988707,
0.048425689339637756,
-0.055082499980926514,
-0.010226650163531303,
-0.027023881673812866,
-0.027834424749016762,
-0.04114804044365883,
-0.04332098737359047,
0.023678231984376907,
0.002513548592105508,
0.05387530475854874,
-0.02088444121181965,
-0.06843060255050659,
0.036388251930475235,
0.011304501444101334,
-0.008579693734645844,
-0.023195354267954826,
-0.048391200602054596,
0.006324829999357462,
-0.060497622936964035,
-0.01370164193212986,
-0.03518105670809746,
0.08305488526821136,
0.032473497092723846,
-0.05439267307519913,
-0.06998271495103836,
0.042976077646017075,
0.06674053519964218,
-0.037422988563776016,
-0.009735150262713432,
-0.05104702338576317,
0.03794035688042641,
-0.0027528314385563135,
0.057220954447984695,
0.025040635839104652,
0.05570334196090698,
-0.04052719846367836,
0.0024596559815108776,
0.028696706518530846,
0.003953557461500168,
0.010226650163531303,
-0.005962671712040901,
-0.007333698216825724,
0.018814967945218086,
-0.017745738849043846,
0.03435326740145683,
0.013477449305355549,
-0.019090896472334862,
-0.004983983002603054,
0.06529190391302109,
0.008088193833827972,
-0.06746485084295273,
-0.03980288282036781,
-0.026196090504527092,
0.03016258217394352,
0.010123176500201225,
0.034767162054777145,
0.03869916498661041,
-0.024437038227915764,
-0.0180389154702425,
0.004016072954982519,
-0.07277650386095047,
-0.0035935554187744856,
-0.03226654976606369,
-0.028144845739006996,
-0.016029801219701767,
-0.023367810994386673,
0.008433106355369091,
-0.058359164744615555,
-0.040734145790338516,
-0.01339984405785799,
0.018470054492354393,
0.012408221140503883,
-0.03121456503868103,
-0.022074388340115547,
-0.0005545543390326202,
0.03016258217394352,
0.10457741469144821,
-0.005415123421698809,
0.011407975107431412,
0.033128827810287476,
0.022902177646756172,
-0.034284286201000214,
0.013098045252263546,
-0.00926951877772808,
-0.0024208533577620983,
-0.01045946590602398,
0.027730951085686684,
-0.016271239146590233,
0.024833688512444496,
0.02902437187731266,
-0.05428919941186905,
-0.046183761209249496,
0.0057815928012132645,
0.03154223412275314,
-0.03435326740145683,
0.018970178440213203,
-0.025006143376231194,
-0.06760281324386597,
-0.04376937448978424,
-0.008782329969108105,
0.06342937797307968,
-0.018280353397130966,
-0.04808077961206436,
0.010709527879953384,
-0.0350603386759758,
0.042355235666036606,
0.03454297035932541,
-0.01421038806438446,
0.0036366693675518036,
0.08512436598539352,
0.02966246008872986,
0.010795756243169308,
-0.02738603949546814,
-0.012503071688115597,
0.09140176326036453,
-0.02740328386425972,
0.006143750622868538,
0.041941337287425995,
0.03614681214094162,
-0.06598173081874847,
-0.01751292310655117,
-0.045183513313531876,
0.03683663532137871,
0.012554808519780636,
-0.009510957635939121,
0.01814238913357258,
-0.007704479154199362,
0.08222709596157074,
0.04714951664209366,
-0.04007881134748459,
0.047942813485860825,
0.013537809252738953,
0.01745256409049034,
0.01971174031496048,
-0.021712230518460274,
0.01371888816356659,
-0.027230829000473022,
0.01342571247369051,
-0.005048654042184353,
0.01371888816356659,
0.03216307610273361,
0.02524758316576481,
-0.03780239075422287,
-0.0019843238405883312,
0.04011330381035805,
-0.018401073291897774,
-0.02524758316576481,
-0.05428919941186905,
0.05980779603123665,
-0.07332836091518402,
0.0710519403219223,
0.010890606790781021,
0.0817442238330841,
-0.0010864738142117858,
0.016090160235762596,
0.006945671979337931,
-0.03250798583030701,
-0.07077600806951523,
-0.021470792591571808,
0.05518597364425659,
-0.04259667173027992,
0.027679214254021645,
0.014382843859493732,
0.03738849610090256,
-0.0011177315609529614,
-0.009873115457594395,
-0.027506757527589798,
-0.0017612085212022066,
-0.01802166923880577,
-0.014813984744250774,
-0.036077830940485,
-0.021091388538479805,
-0.04101007431745529,
0.05159888416528702,
0.03007635474205017,
0.004535597283393145,
0.022746967151761055,
-0.017831968143582344,
0.011882229708135128,
0.04307955130934715,
0.03274942561984062,
0.013417089357972145,
-0.013304992578923702,
-0.008609874173998833,
-0.04280361905694008,
-0.03392212837934494,
0.004664939362555742,
-0.014839853160083294,
0.03666418045759201,
0.06346386671066284,
-0.06915491819381714,
-0.040147796273231506,
-0.012382352724671364,
-0.044079795479774475,
0.014839853160083294,
0.06315344572067261,
-0.016297107562422752,
-0.016607528552412987,
-0.032542478293180466,
-0.008079571649432182,
-0.030524741858243942,
0.02021186240017414,
-0.04483860358595848,
-0.00004092465678695589,
-0.03297361731529236,
-0.001983245834708214,
-0.03669867292046547,
0.011951211839914322,
0.0011231207754462957,
0.013434335589408875,
0.014641528017818928,
-0.01807340607047081,
0.00479428144171834,
-0.10216303169727325,
0.008976343087852001,
-0.025609740987420082,
0.028369039297103882,
0.03330128639936447,
0.053426921367645264,
0.024247337132692337,
0.007152619305998087,
-0.010002457536756992,
0.058324676007032394,
-0.005410812329500914,
-0.017797475680708885,
-0.0046563162468373775,
-0.057738322764635086,
-0.04690807685256004,
-0.00902807991951704,
-0.0011188093340024352,
-0.04387284815311432,
0.008976343087852001,
-0.01855628378689289,
0.018314843997359276,
0.04018228501081467,
0.026023635640740395,
-0.05580681562423706,
0.027144599705934525,
0.0417688824236393,
0.001598453032784164,
0.01064054574817419,
-0.04939144477248192,
0.03649172559380531,
-0.01690932735800743,
0.018901195377111435,
0.1163044348359108,
-0.04163091629743576,
0.0024208533577620983,
0.02129833586513996,
-0.05021923407912254,
-0.06660257279872894,
-0.03130079433321953,
0.04656316339969635,
-0.11616647243499756,
-0.06377428770065308,
0.020160125568509102,
-0.02579944208264351,
-0.006941360421478748,
-0.003671160666272044,
-0.039664916694164276,
-0.06549885123968124,
0.0072302245534956455,
0.026075372472405434,
0.023436792194843292,
-0.030869653448462486,
-0.004309248179197311,
0.018263107165694237,
0.005121948197484016,
-0.012140913866460323,
0.03945796936750412,
-0.012968703173100948,
-0.03495686501264572,
0.015426203608512878,
-0.004397632088512182,
0.008377058431506157,
0.0047727241180837154,
-0.049046531319618225,
-0.021712230518460274,
0.037422988563776016,
-0.040803126990795135,
0.014141405001282692,
-0.0010600665118545294,
0.03673316165804863,
0.03649172559380531,
-0.010864738374948502,
-0.0036970290821045637,
0.022350318729877472,
-0.0047382330521941185,
0.058842044323682785,
-0.03849221393465996,
-0.009959343820810318,
0.020091142505407333,
-0.04107905924320221,
0.03435326740145683,
0.08878043293952942,
-0.05842814967036247,
-0.012899721041321754,
0.0061351279728114605,
-0.010511202737689018,
0.04456267133355141,
-0.050633128732442856,
-0.03392212837934494,
0.011770132929086685,
0.015417581424117088,
0.03168019652366638,
-0.01593494974076748,
-0.01510715950280428,
0.058221202343702316,
-0.021643249318003654,
-0.0831928551197052,
-0.0026558248791843653,
0.021608756855130196,
0.0022246844600886106,
-0.027041126042604446,
-0.113752081990242,
0.055634357035160065,
0.017866458743810654,
0.000915095501113683,
-0.010355992242693901,
-0.0064024352468550205,
0.019453056156635284,
0.001570428954437375,
-0.006734413094818592,
0.09354022145271301,
-0.001302044023759663,
-0.015779739245772362,
-0.04935695230960846,
0.06180828809738159,
0.03949246183037758,
-0.021108634769916534,
-0.017676757648587227,
-0.0018431252101436257,
0.06353285163640976,
-0.044700637459754944,
-0.007549268659204245,
0.06184278056025505,
-0.039768390357494354,
-0.03597435727715492,
-0.0017698314040899277,
-0.03450847789645195,
-0.04166540876030922,
0.015064045786857605,
0.055013515055179596,
0.027696460485458374,
-0.018883949145674706,
0.0030524739995598793,
-0.027023881673812866,
-0.002970557427033782,
-0.05052965506911278,
0.0008865324780344963,
0.018470054492354393,
-0.0019379761070013046,
0.022195108234882355,
-0.03562944382429123,
-0.051219481974840164,
0.06611969321966171,
0.042389724403619766,
0.016521301120519638,
-0.022108880802989006,
0.0493224635720253,
-0.03883712738752365,
-0.0026967832818627357,
0.04018228501081467,
0.0024014520458877087,
-0.011701150797307491,
0.015210634097456932,
-0.05435818433761597,
-0.018970178440213203,
0.026661723852157593,
-0.056703586131334305,
-0.04532147943973541,
0.027575740590691566,
-0.01648680865764618,
-0.055599868297576904,
0.020677493885159492,
0.05208176001906395,
0.01640058122575283,
-0.0010633000638335943,
0.005221110302954912,
-0.011813247576355934,
0.01313253678381443,
0.029765933752059937,
0.026541003957390785,
-0.014158651232719421,
-0.025592494755983353,
-0.06694748252630234,
0.006518843118101358,
-0.11568359285593033,
-0.00161030946765095,
0.06263607740402222,
0.007070702500641346,
0.045286986976861954,
0.008756461553275585,
-0.03112833760678768,
-0.011106177233159542,
-0.050702113658189774,
0.02745502069592476,
0.05428919941186905,
0.027558494359254837,
-0.005841952748596668,
0.025540757924318314,
-0.0064024352468550205,
0.008941852487623692,
0.02793789841234684,
0.02248828299343586,
-0.013555054552853107,
-0.029110601171851158,
-0.04059617966413498,
-0.01701280102133751,
0.049529410898685455,
-0.010976835153996944,
-0.06746485084295273,
-0.05139193683862686,
0.014365598559379578,
0.020436055958271027,
0.0339566171169281,
-0.0022246844600886106,
0.01701280102133751,
0.05601376295089722,
0.06674053519964218,
-0.06387776136398315,
-0.02473021298646927,
0.01919437013566494,
-0.01145971193909645,
-0.005104702431708574,
0.029162338003516197,
0.09961067885160446,
0.02900712750852108,
-0.04290709272027016,
-0.018418317660689354,
-0.05811772868037224,
0.005328895524144173,
-0.05756586790084839,
-0.006070456933230162,
0.04228625074028969,
-0.03112833760678768,
0.040320251137018204,
0.0004993145121261477,
-0.018866704776883125,
-0.000043956111767329276,
-0.019004669040441513,
-0.008359812200069427,
-0.003082653973251581,
-0.09084990620613098,
-0.05660011246800423,
0.00956269446760416,
-0.04777035862207413,
-0.03669867292046547,
-0.03392212837934494,
-0.016047045588493347,
0.03656070679426193,
-0.06939636170864105,
-0.06484352052211761,
0.0064886631444096565,
-0.04745993763208389,
-0.023229844868183136,
-0.02469572238624096,
0.05318548157811165,
0.01013179961591959,
-0.03797484561800957,
-0.008782329969108105,
0.055634357035160065,
0.009381615556776524,
0.017642265185713768,
0.006932737771421671,
-0.05660011246800423,
0.040251269936561584,
-0.061083972454071045,
0.01754741556942463,
-0.029196828603744507,
0.028920898213982582,
0.03766442462801933,
0.04856365546584129,
-0.07056906074285507,
-0.044114287942647934,
0.01345158088952303,
-0.05159888416528702,
0.03656070679426193,
-0.00188516138587147,
0.04439021646976471,
-0.022195108234882355,
0.03071444295346737,
0.03223205730319023,
0.009243650361895561,
-0.01345158088952303,
0.013770624995231628,
-0.0064024352468550205,
0.029800424352288246,
0.002920976374298334,
0.042424216866493225,
-0.038561198860406876,
-0.032076846808195114,
0.035836391150951385,
0.03559495136141777,
0.007484597619622946,
0.04432123526930809,
-0.01972898468375206,
-0.022609002888202667,
-0.04156193509697914,
0.0006553333951160312,
0.051184989511966705,
-0.022833196446299553,
0.05546190217137337,
0.013244633562862873,
0.03542249649763107,
0.016210880130529404,
-0.028593232855200768,
0.014279370196163654,
0.004608890973031521,
-0.03211133927106857,
0.04290709272027016,
-0.08967720717191696,
0.015426203608512878,
0.03676765412092209,
0.02248828299343586,
0.0041346363723278046,
-0.04632172733545303,
-0.007657053880393505,
-0.0022527086548507214,
-0.0020145035814493895,
-0.0393889881670475,
-0.04097558557987213,
0.023281581699848175,
-0.03066270612180233,
0.035939864814281464,
-0.009088439866900444,
-0.05632418394088745,
0.024419791996479034,
0.008795264177024364,
0.004889132454991341,
0.055599868297576904,
0.000710842723492533,
0.047942813485860825,
0.08312387019395828,
0.03016258217394352,
0.02952449582517147,
-0.022074388340115547,
0.0329391285777092,
-0.000012268976206541993,
0.018401073291897774,
0.05359937623143196,
0.04390734061598778,
0.010588808916509151,
-0.05184032395482063,
-0.042493198066949844,
0.004007450304925442,
0.005160750821232796,
0.03835425153374672,
0.006911180913448334,
0.017418071627616882,
0.06284302473068237,
-0.02855874039232731,
0.01800442300736904,
-0.022074388340115547,
-0.023712722584605217,
-0.023109126836061478,
0.009286764077842236,
0.03890611231327057,
-0.030766179785132408,
-0.04201032221317291,
-0.05470309406518936,
-0.052254218608140945,
0.008049391210079193,
0.005384943913668394,
-0.03725052997469902,
-0.0033564281184226274,
-0.007040522992610931,
-0.027558494359254837,
-0.014943326823413372,
0.0725005716085434,
-0.017883704975247383,
-0.03773340955376625,
-0.060497622936964035,
0.0059669832699000835,
-0.014727756381034851,
0.03337026759982109,
0.008898737840354443,
0.03890611231327057,
0.04645968973636627,
0.040734145790338516,
0.03067995235323906,
0.02126384526491165,
-0.030973127111792564,
-0.011959834955632687,
-0.009355747140944004,
0.020004915073513985,
-0.031024863943457603,
0.03604333847761154,
-0.0016889926046133041,
-0.05032270774245262,
-0.024988899007439613,
-0.02728256583213806,
0.008898737840354443,
-0.017780231311917305,
0.021729476749897003,
-0.008351190015673637,
0.03466368839144707,
-0.05101253464818001,
0.03611231967806816,
-0.023436792194843292,
-0.035388004034757614,
0.0537373423576355,
-0.0035482854582369328,
0.034870635718107224,
0.0713968500494957,
0.029765933752059937,
-0.019021915271878242,
0.0033779852092266083,
-0.060497622936964035,
-0.009191913530230522,
0.02241930179297924,
-0.012097800150513649,
0.050081271678209305,
-0.03631926700472832,
0.0022182173561304808,
-0.018832212314009666,
0.014365598559379578,
-0.049494918435811996,
0.029817670583724976,
-0.07891593873500824,
-0.015529677271842957,
-0.037595443427562714,
-0.016279861330986023,
-0.02679968811571598,
-0.011114799417555332,
-0.021091388538479805,
0.03666418045759201,
0.01862526498734951,
0.020608510822057724,
-0.019832458347082138,
-0.002735585905611515,
0.021781213581562042,
0.008049391210079193,
-0.007419926580041647,
0.022764213383197784,
-0.012140913866460323,
-0.023816196247935295,
-0.011830492876470089,
-0.02678244188427925,
0.04645968973636627,
0.04808077961206436,
0.0008488076855428517,
-0.006846509873867035,
-0.021591512486338615,
-0.04373488202691078,
-0.0014249189989641309,
0.034215301275253296,
-0.04597681388258934,
-0.05366835743188858,
-0.016228124499320984,
0.00039045154699124396,
0.003030917141586542,
-0.04145846143364906,
0.02243654616177082,
-0.012063308618962765,
0.019418563693761826,
0.027265319600701332,
-0.08746976405382156,
-0.029179582372307777,
-0.0018312688916921616,
0.03631926700472832,
-0.008898737840354443,
0.0316629521548748,
0.016176387667655945,
-0.13092872500419617,
-0.08202014863491058,
-0.028834670782089233,
-0.027265319600701332,
0.026506511494517326,
0.03059372305870056,
0.016012554988265038,
0.0185907743871212,
-0.10333573073148727,
0.04311404004693031,
0.008239093236625195,
0.063670814037323,
0.00014133322110865265,
0.018211370334029198,
-0.030921390280127525,
0.044010814279317856,
0.025523511692881584,
0.05525495484471321,
-0.02078096754848957,
0.014417335391044617,
-0.04145846143364906,
0.03597435727715492,
0.06294649839401245,
0.019349582493305206,
0.04359691962599754,
0.0002070821210509166,
-0.044528182595968246,
0.024540511891245842,
0.04421776160597801,
0.01208055391907692,
0.033663444221019745,
0.009959343820810318,
0.0014292304404079914,
0.027127355337142944,
-0.004742544610053301,
0.024937162175774574,
0.10733671486377716,
-0.07353530824184418,
-0.03932000696659088,
0.007027588784694672,
0.014822606928646564,
-0.016047045588493347,
0.004777035675942898,
-0.00494086928665638,
-0.004802904091775417,
-0.0015909081557765603,
-0.05380632355809212,
0.00821753591299057,
0.006337764207273722,
-0.028196582570672035,
-0.007726036012172699,
0.014701887965202332,
0.01703866943717003,
-0.03016258217394352,
0.003337026806548238,
0.013063554652035236,
0.017797475680708885,
0.001656656968407333,
0.057186465710401535,
0.04221726953983307,
0.03437051177024841,
0.023747213184833527,
0.011623545549809933,
0.002052228432148695,
0.01860802061855793,
0.07829509675502777,
0.02845526672899723,
0.02245379239320755,
-0.0045183515176177025,
-0.025316564366221428,
0.008290830068290234,
-0.0024790572933852673,
0.0384577251970768,
0.009390237741172314,
0.050253726541996,
0.009467842988669872,
0.04387284815311432,
0.00853658001869917,
0.03193888068199158
]
|
29,282 | markupsafe | __html_format__ | null | def __html_format__(self, format_spec: str) -> "te.Self":
if format_spec:
raise ValueError("Unsupported format specification for Markup.")
return self
| (self, format_spec: str) -> 'te.Self' | [
0.04885204881429672,
-0.06164580583572388,
0.05405276268720627,
-0.01140690129250288,
-0.030528195202350616,
-0.007801072206348181,
-0.015888184309005737,
-0.012247683480381966,
-0.0014399478677660227,
0.03227910399436951,
0.0438246913254261,
0.0012568393722176552,
0.004801993258297443,
0.027459774166345596,
-0.03841594606637955,
0.041883088648319244,
-0.01570615917444229,
-0.0689614787697792,
0.03298986703157425,
-0.04458745941519737,
-0.017942465841770172,
0.016234897077083588,
0.017344383522868156,
0.0026913699693977833,
0.053185977041721344,
0.06955089420080185,
-0.056757133454084396,
-0.02957473136484623,
-0.023767266422510147,
-0.04801993444561958,
0.007042634766548872,
0.007441355846822262,
-0.0014388643903657794,
0.006297198589891195,
0.03841594606637955,
-0.04465680569410324,
-0.0749596357345581,
0.0031399314757436514,
-0.020196108147501945,
0.03144698962569237,
0.014137276448309422,
-0.0426805317401886,
0.02789316698908806,
-0.042853888124227524,
-0.011640933342278004,
-0.0016133050667122006,
0.03507015481591225,
0.03160300850868225,
-0.06317134946584702,
-0.028569258749485016,
0.039802804589271545,
0.06840673834085464,
-0.047742560505867004,
0.004288422875106335,
-0.1081748679280281,
0.017821116372942924,
0.02922801673412323,
0.10491575300693512,
0.03820791840553284,
0.022484423592686653,
-0.0673665925860405,
0.04951080307364464,
0.030857574194669724,
0.0027238742914050817,
-0.03545153886079788,
-0.002346822526305914,
-0.01813315786421299,
0.010219404473900795,
-0.029280023649334908,
0.0366823747754097,
0.035815589129924774,
0.020837530493736267,
-0.017552413046360016,
0.0648355782032013,
-0.001037434209138155,
-0.009049243293702602,
-0.04909474775195122,
-0.03578091785311699,
-0.01827184483408928,
0.04808927699923515,
0.04666774719953537,
0.07090307772159576,
-0.016841648146510124,
-0.01995340920984745,
0.022900480777025223,
-0.07322606444358826,
0.03409935161471367,
-0.01717102713882923,
0.02454737387597561,
-0.03503547981381416,
-0.0009209599229507148,
0.0079570934176445,
-0.013391840271651745,
-0.05141773447394371,
0.030857574194669724,
-0.01091283280402422,
-0.007801072206348181,
-0.03298986703157425,
-0.01659894734621048,
0.022692451253533363,
0.02505010925233364,
0.030580202117562294,
-0.03754916042089462,
-0.011684272438287735,
0.019866731017827988,
0.0553702749311924,
-0.011112193576991558,
0.00021642557112500072,
-0.05595969036221504,
-0.021444279700517654,
0.009647325612604618,
0.012299690395593643,
-0.0036253316793590784,
0.016928326338529587,
0.04968416318297386,
-0.026055580005049706,
-0.011337557807564735,
0.011848961934447289,
0.03153366595506668,
-0.029817430302500725,
-0.0017704099882394075,
-0.0185665525496006,
-0.04216046258807182,
-0.00822579674422741,
-0.012533722445368767,
0.05713851749897003,
-0.003768351161852479,
-0.08106181025505066,
0.04961481690406799,
-0.039040032774209976,
0.05023890361189842,
0.0459049753844738,
-0.0003315455687697977,
-0.0029362367931753397,
0.053740717470645905,
0.0087935421615839,
-0.02449536696076393,
-0.024304673075675964,
-0.0252581387758255,
0.09818949550390244,
-0.0007405601209029555,
-0.012360365130007267,
0.053047291934490204,
0.04032287374138832,
-0.09652526676654816,
0.016356248408555984,
-0.039802804589271545,
0.015792837366461754,
-0.008841214701533318,
0.02602090872824192,
0.0232992023229599,
-0.004520287737250328,
0.06514762341976166,
0.053463347256183624,
-0.022155044600367546,
0.01335716899484396,
0.004667641595005989,
0.03862397372722626,
0.033249903470277786,
0.03545153886079788,
0.03271249681711197,
-0.002552684163674712,
0.01619155891239643,
0.046355705708265305,
0.009213932789862156,
0.06331003457307816,
-0.029280023649334908,
-0.05197247490286827,
0.001327265752479434,
0.03144698962569237,
0.05866406112909317,
0.014640011824667454,
-0.01925997994840145,
0.04708380252122879,
-0.019502680748701096,
0.04427541792392731,
0.05810932070016861,
0.05727720633149147,
-0.03155100345611572,
-0.019069287925958633,
0.021790994331240654,
-0.0015190420672297478,
-0.04250717535614967,
-0.02770247310400009,
0.01398992259055376,
-0.026419630274176598,
-0.004784657619893551,
-0.013790561817586422,
0.022987158969044685,
0.0017064844723790884,
0.02726908028125763,
-0.03487946093082428,
-0.022276394069194794,
-0.032955195754766464,
-0.009231268428266048,
-0.04812394827604294,
-0.004541957750916481,
-0.046633075922727585,
0.07738663256168365,
0.022432416677474976,
0.009976704604923725,
0.029470717534422874,
-0.014874043874442577,
-0.01241237297654152,
0.02700904570519924,
-0.005777127109467983,
0.02567419596016407,
-0.044691476970911026,
-0.022276394069194794,
-0.0076103792525827885,
-0.08494500815868378,
-0.05540494620800018,
-0.025864887982606888,
0.06639578938484192,
0.048713359981775284,
-0.054226119071245193,
0.02239774540066719,
0.008035104721784592,
-0.04385936260223389,
-0.0004358307342045009,
0.0770399197936058,
-0.020473480224609375,
0.004676309414207935,
-0.01101684756577015,
0.015220758505165577,
-0.011640933342278004,
0.03396066650748253,
-0.05308196321129799,
-0.03158567473292351,
0.0019903569482266903,
-0.006357873789966106,
-0.0236459169536829,
0.0344807393848896,
0.016356248408555984,
-0.009170593693852425,
-0.01521209068596363,
0.009603986516594887,
-0.020248116925358772,
-0.02546616643667221,
0.0028257216326892376,
0.00903190765529871,
0.05183378979563713,
0.027113059535622597,
0.04933744668960571,
0.009343951009213924,
-0.03082290291786194,
-0.05110568925738335,
-0.0028755618259310722,
-0.0060544987209141254,
-0.014562001451849937,
-0.046633075922727585,
0.023819273337721825,
-0.020421473309397697,
0.009248604066669941,
-0.005460750311613083,
-0.021444279700517654,
-0.01158025860786438,
-0.03591960296034813,
0.02784116007387638,
0.029193345457315445,
0.03765317425131798,
-0.05769326165318489,
0.03654368966817856,
-0.0022005524951964617,
0.006379543337970972,
-0.01416327990591526,
-0.036925073713064194,
0.013209815137088299,
0.018011808395385742,
0.045800961554050446,
0.05644509196281433,
-0.025015437975525856,
0.027945173904299736,
-0.01416327990591526,
-0.034983474761247635,
-0.07163117825984955,
0.019641365855932236,
-0.00812611635774374,
-0.03831193223595619,
-0.024807408452033997,
0.01815049536526203,
-0.05616771802306175,
0.017821116372942924,
0.03319789469242096,
0.03439405933022499,
-0.0229524876922369,
-0.011658268980681896,
0.022501759231090546,
0.05287393182516098,
-0.017535077407956123,
-0.008334144949913025,
0.01582750864326954,
-0.007558371871709824,
-0.031776368618011475,
0.014900047332048416,
-0.027165066450834274,
-0.00464163813740015,
-0.02205103076994419,
0.015940191224217415,
-0.02643696591258049,
-0.023819273337721825,
-0.05693048983812332,
0.0009361286647617817,
0.06143777817487717,
-0.05086299031972885,
0.008238798938691616,
-0.017673762515187263,
0.006284196861088276,
0.009118586778640747,
0.016928326338529587,
0.02957473136484623,
0.06799067556858063,
-0.03134297579526901,
0.011146864853799343,
-0.009170593693852425,
0.02936670184135437,
0.019346658140420914,
-0.007779402658343315,
0.015576140955090523,
0.041467033326625824,
-0.036162301898002625,
-0.0018180832266807556,
0.0021008721087127924,
-0.004658973775804043,
0.04431008920073509,
-0.039733462035655975,
-0.034498073160648346,
-0.010782815515995026,
-0.0044119395315647125,
0.04947613179683685,
-0.009187929332256317,
-0.0021366269793361425,
0.0784267783164978,
-0.027789153158664703,
-0.08203260600566864,
-0.035399530082941055,
0.02140960842370987,
-0.026246273890137672,
-0.046841103583574295,
-0.09909094870090485,
0.08022969216108322,
0.01896527223289013,
0.021305594593286514,
-0.028898637741804123,
-0.04652906209230423,
0.007562706246972084,
0.012317026033997536,
-0.02433934435248375,
0.04372067376971245,
0.018722573295235634,
-0.05335933342576027,
-0.03789587318897247,
0.06493958830833435,
0.04770788922905922,
-0.024252666160464287,
-0.01778644509613514,
0.00018649437697604299,
0.04011484608054161,
-0.06282463669776917,
-0.009534643962979317,
0.06601440906524658,
-0.02231106534600258,
-0.012663740664720535,
-0.03298986703157425,
-0.05838669091463089,
-0.04801993444561958,
0.007961427792906761,
0.07135380804538727,
-0.02400996722280979,
0.04801993444561958,
0.0312562957406044,
-0.004171406850218773,
-0.008065441623330116,
-0.05363670364022255,
-0.017769109457731247,
0.017803780734539032,
-0.03082290291786194,
0.04365133121609688,
-0.07967495173215866,
-0.07093775272369385,
0.014249958097934723,
0.05322064831852913,
-0.0011755782179534435,
-0.008269136771559715,
0.029522724449634552,
-0.04576629027724266,
0.0007519366918131709,
-0.0015981362666934729,
0.03813857585191727,
-0.0220336951315403,
0.021114902570843697,
-0.06348339468240738,
0.016624951735138893,
0.023905951529741287,
-0.06462755054235458,
-0.021253587678074837,
-0.011666936799883842,
0.03455008193850517,
-0.00472398241981864,
0.044968847185373306,
0.040149517357349396,
-0.02030012384057045,
0.031637679785490036,
-0.0033176227007061243,
-0.002500677015632391,
-0.0029557396192103624,
0.057381220161914825,
0.06001624837517738,
-0.022571101784706116,
0.05030824616551399,
-0.04233381897211075,
-0.001149574643932283,
-0.10401429235935211,
0.018999945372343063,
0.012776422314345837,
0.007116311229765415,
0.059045448899269104,
-0.019450673833489418,
-0.07925889641046524,
0.0037748520262539387,
-0.062200549989938736,
0.05041225999593735,
0.04004550352692604,
0.009170593693852425,
0.02742510288953781,
0.013079797849059105,
-0.020057423040270805,
-0.010245407931506634,
0.011744947172701359,
0.04892139136791229,
-0.002198385540395975,
0.008945229463279247,
-0.04680643230676651,
0.0144753223285079,
0.05838669091463089,
0.0013012621784582734,
-0.07710926234722137,
-0.03741047531366348,
-0.034290045499801636,
-0.032521802932024,
0.05578633397817612,
-0.0280318520963192,
0.026402294635772705,
0.027390431612730026,
0.00772739527747035,
-0.07239394634962082,
-0.022276394069194794,
0.0016230563633143902,
-0.04736117646098137,
-0.015940191224217415,
0.041744403541088104,
0.09555446356534958,
-0.007900752127170563,
-0.021721651777625084,
0.0020889537408947945,
-0.08071509003639221,
0.06445419043302536,
-0.035676904022693634,
-0.00626252731308341,
0.020317459478974342,
-0.006288530770689249,
0.029956117272377014,
-0.01147624384611845,
0.011753614991903305,
-0.0027152064722031355,
-0.08113115280866623,
0.005170377437025309,
-0.023836608976125717,
-0.09285009652376175,
-0.04420607537031174,
-0.015298768877983093,
-0.003930873703211546,
0.012499051168560982,
0.034775447100400925,
-0.037063758820295334,
0.008919226005673409,
-0.040496233850717545,
-0.08369683474302292,
-0.0419871024787426,
-0.07953626662492752,
0.0041952431201934814,
-0.0213402658700943,
0.02371525950729847,
0.04964949190616608,
0.0014713688287883997,
-0.04507286101579666,
0.07100709527730942,
-0.0024031635839492083,
0.0344807393848896,
-0.015888184309005737,
-0.07170052081346512,
0.04385936260223389,
-0.02707838825881481,
0.04309659078717232,
0.014596672728657722,
0.0007833576528355479,
0.03976813331246376,
0.004383769351989031,
-0.06057099252939224,
-0.016139551997184753,
0.056757133454084396,
-0.03271249681711197,
0.05845603346824646,
0.03375263884663582,
0.04854000359773636,
-0.013799229636788368,
0.021790994331240654,
0.03250446543097496,
0.03111761063337326,
-0.000212633385672234,
-0.026263609528541565,
0.005972153972834349,
0.012117665261030197,
0.02265777997672558,
0.0063058664090931416,
-0.03744514659047127,
-0.03626631572842598,
-0.002008776180446148,
0.02400996722280979,
0.05117503181099892,
-0.0010173898190259933,
-0.006370875518769026,
-0.02784116007387638,
-0.03630099073052406,
-0.003967712167650461,
0.031498994678258896,
0.02350722998380661,
0.030874909833073616,
0.019155966117978096,
-0.02851725183427334,
0.011103525757789612,
-0.01589685119688511,
0.030042795464396477,
0.0026285278145223856,
-0.047534532845020294,
0.016841648146510124,
-0.09728803485631943,
0.023316537961363792,
-0.01538544800132513,
-0.004888671915978193,
0.005738121923059225,
-0.014327969402074814,
-0.016477597877383232,
-0.021097566932439804,
-0.00059049780247733,
-0.06753994524478912,
-0.03231377527117729,
0.01981472410261631,
0.008741534315049648,
0.029470717534422874,
-0.02851725183427334,
-0.04233381897211075,
0.01018473319709301,
0.03144698962569237,
0.029384037479758263,
0.056826476007699966,
0.0245647095143795,
0.08390486240386963,
0.10789749771356583,
0.02825721725821495,
-0.005972153972834349,
-0.014527330175042152,
0.005079364869743586,
0.049822848290205,
0.013209815137088299,
0.0252581387758255,
0.04749986156821251,
-0.01625223271548748,
-0.07697057723999023,
0.0036058288533240557,
0.00976867601275444,
0.04632103443145752,
0.03803456202149391,
0.01680697686970234,
0.006648247130215168,
0.003146432340145111,
-0.03193238750100136,
0.040010832250118256,
-0.013721219263970852,
0.013261822983622551,
-0.027459774166345596,
-0.029245352372527122,
0.01688498631119728,
-0.05394874885678291,
-0.03557289019227028,
-0.03709843009710312,
-0.06462755054235458,
-0.03467143326997757,
-0.023056501522660255,
0.029418710619211197,
0.0003624248201958835,
-0.05935749039053917,
0.010176065377891064,
-0.007948425598442554,
0.04389403387904167,
0.016304241493344307,
-0.0029080663807690144,
-0.10782815515995026,
0.003358794841915369,
-0.013651875779032707,
0.015272765420377254,
0.03047618828713894,
0.008997236378490925,
0.03824258968234062,
0.0546768493950367,
0.03019881621003151,
0.0572078637778759,
-0.023247195407748222,
-0.006496559362858534,
-0.050550948828458786,
0.039109375327825546,
0.02309117279946804,
0.017179694026708603,
0.02505010925233364,
-0.011172869242727757,
-0.019017281010746956,
-0.04892139136791229,
0.0009664661483839154,
-0.04604366049170494,
-0.042576517909765244,
0.029193345457315445,
0.024928759783506393,
-0.0703483372926712,
0.005954818334430456,
-0.027390431612730026,
-0.03250446543097496,
0.01770843379199505,
-0.01392058003693819,
0.017049675807356834,
0.032747168093919754,
0.07801072299480438,
-0.020317459478974342,
-0.016408255323767662,
-0.027945173904299736,
-0.002008776180446148,
0.00536973774433136,
0.00040007580537348986,
0.04833197593688965,
-0.006526897195726633,
0.009491304866969585,
-0.03328457474708557,
-0.011450240388512611,
-0.026194266974925995,
-0.0032244431786239147,
-0.06601440906524658,
-0.04940678924322128,
-0.02860393188893795,
-0.052076488733291626,
-0.019017281010746956,
0.016356248408555984,
-0.008637520484626293,
0.028135865926742554,
0.027598459273576736,
-0.015056069009006023,
-0.00962132215499878,
0.013331165537238121,
0.013079797849059105,
0.017075680196285248,
0.008091445080935955,
-0.001476786332204938,
-0.024790072813630104,
0.0012265018885955215,
-0.006604907568544149,
0.017838452011346817,
0.004676309414207935,
0.009465300478041172,
0.010418765246868134,
0.02189500816166401,
-0.03134297579526901,
-0.019693372771143913,
-0.03845061734318733,
0.040080174803733826,
-0.04715314880013466,
-0.020126765593886375,
-0.03869331628084183,
0.003987214528024197,
0.018583888188004494,
-0.044691476970911026,
0.03841594606637955,
0.009257271885871887,
0.02602090872824192,
0.04347797483205795,
-0.08022969216108322,
0.010800151154398918,
0.011389565654098988,
0.01806381531059742,
-0.008624518290162086,
0.011831626296043396,
0.0004937970079481602,
-0.06070967763662338,
-0.04136301949620247,
-0.05935749039053917,
-0.03630099073052406,
-0.014284629374742508,
0.02302183024585247,
-0.012360365130007267,
0.021097566932439804,
-0.08022969216108322,
0.026835687458515167,
-0.016590280458331108,
0.03474077582359314,
0.018462536856532097,
0.004364266525954008,
-0.015316104516386986,
0.019936073571443558,
0.011970311403274536,
0.026662331074476242,
0.03768784552812576,
0.012195675633847713,
-0.03813857585191727,
0.02846524491906166,
0.06764396280050278,
0.056410420686006546,
0.041813746094703674,
0.03155100345611572,
-0.015948858112096786,
0.03730646148324013,
0.020404137670993805,
0.04701445996761322,
-0.012230347841978073,
-0.0052657234482467175,
-0.003291619010269642,
0.0038225252646952868,
-0.014692018739879131,
-0.033873990178108215,
0.046633075922727585,
-0.05665311962366104,
-0.027217073366045952,
0.02064683847129345,
-0.018601223826408386,
-0.0012395037338137627,
0.06677717715501785,
-0.010947504080832005,
-0.04427541792392731,
0.004745652433484793,
-0.07482095062732697,
-0.03689040243625641,
0.029800094664096832,
0.03654368966817856,
-0.004225580953061581,
0.0053567360155284405,
0.00927460752427578,
-0.04899073392152786,
0.0023684920743107796,
-0.004017552360892296,
0.016278237104415894,
0.008490166626870632,
0.03196705877780914,
0.020681509748101234,
0.017387723550200462,
-0.03201906755566597,
-0.06601440906524658,
-0.04326994717121124,
0.01988406665623188,
0.10990843921899796,
0.023143179714679718,
-0.00481066107749939,
-0.01350452285259962,
-0.014657347463071346,
0.021513624116778374,
0.0326431542634964,
0.028551923111081123,
0.05980822071433067,
0.05533560365438461,
-0.04018418863415718,
0.008429491892457008,
-0.006058832630515099,
0.015194755047559738
]
|
29,283 | markupsafe | __mod__ | null | def __mod__(self, arg: t.Any) -> "te.Self":
if isinstance(arg, tuple):
# a tuple of arguments, each wrapped
arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg)
elif hasattr(type(arg), "__getitem__") and not isinstance(arg, str):
# a mapping of arguments, wrapped
arg = _MarkupEscapeHelper(arg, self.escape)
else:
# a single argument, wrapped with the helper and a tuple
arg = (_MarkupEscapeHelper(arg, self.escape),)
return self.__class__(super().__mod__(arg))
| (self, arg: Any) -> 'te.Self' | [
0.04968109726905823,
-0.04140091687440872,
0.051569562405347824,
0.02444106712937355,
-0.028599316254258156,
-0.008021427318453789,
-0.012601858004927635,
0.036534491926431656,
0.049426883459091187,
-0.009342443197965622,
0.04601312428712845,
0.04525047540664673,
0.019393060356378555,
0.047320518642663956,
-0.045286789536476135,
0.0016070092096924782,
0.0029893096070736647,
0.043253060430288315,
-0.05501963570713997,
0.014871644787490368,
0.034754980355501175,
0.06428036838769913,
0.051315344870090485,
0.05313117429614067,
0.0109494524076581,
0.04140091687440872,
0.034754980355501175,
0.010304832831025124,
0.010232199914753437,
-0.013972808606922626,
0.029598023742437363,
-0.026420321315526962,
0.002603445667773485,
0.017377490177750587,
0.05273169279098511,
-0.05374855548143387,
-0.08657875657081604,
0.045722588896751404,
-0.02266155369579792,
-0.032648615539073944,
0.03315705060958862,
-0.06707674264907837,
0.04416097700595856,
-0.024640807881951332,
-0.022371020168066025,
-0.027909301221370697,
0.0780806764960289,
0.01707787811756134,
-0.05374855548143387,
-0.046557869762182236,
0.0482284352183342,
-0.015389155596494675,
0.03103252872824669,
-0.025276347994804382,
-0.02456817403435707,
0.08926618099212646,
-0.006591461598873138,
0.11519622802734375,
0.0520416758954525,
0.039948251098394394,
-0.015942983329296112,
0.033175207674503326,
0.026692695915699005,
0.02030097506940365,
-0.010867740027606487,
-0.02209864743053913,
-0.03477313742041588,
0.004455592017620802,
-0.014717299491167068,
-0.0009958690498024225,
-0.030687520280480385,
-0.011721179820597172,
-0.023823684081435204,
0.05186009407043457,
-0.02169916406273842,
-0.016869056969881058,
-0.05981342867016792,
0.006464353296905756,
0.034319180995225906,
0.02030097506940365,
0.02240733802318573,
0.010422862134873867,
-0.06551513075828552,
0.00552012212574482,
-0.03816873952746391,
-0.04982636496424675,
-0.08614295721054077,
-0.030760154128074646,
0.00006472439417848364,
-0.026057155802845955,
-0.05570965260267258,
-0.0155525803565979,
0.006119345780462027,
0.024477383121848106,
0.0004148035659454763,
-0.03244887664914131,
0.020409924909472466,
-0.02030097506940365,
0.009823638014495373,
0.002028054790571332,
-0.0010588556760922074,
-0.00423542270436883,
-0.0022187167778611183,
0.010786027647554874,
0.04263567924499512,
-0.0008227978250943124,
0.001180289196781814,
-0.02095467410981655,
-0.02602083794772625,
-0.015652451664209366,
-0.04056563228368759,
0.018131058663129807,
-0.054111722856760025,
0.03026987984776497,
-0.04212724789977074,
0.02780035138130188,
-0.029725130647420883,
-0.026801645755767822,
0.035136304795742035,
0.004385228734463453,
0.012338561937212944,
0.029997505247592926,
-0.02671085298061371,
0.00799872912466526,
0.05363960564136505,
0.05952289327979088,
-0.03528156876564026,
-0.029598023742437363,
0.001306262449361384,
-0.03766030818223953,
0.008325578644871712,
0.032902833074331284,
-0.017114194110035896,
0.01953832618892193,
0.034319180995225906,
0.01866672933101654,
-0.005302222445607185,
-0.0019054862204939127,
-0.0793154388666153,
0.06823887676000595,
-0.00013022903294768184,
0.0002064087602775544,
0.0628277063369751,
0.05422067269682884,
-0.054874371737241745,
-0.05952289327979088,
0.02311551198363304,
0.03922192007303238,
0.03987561911344528,
0.02431395836174488,
-0.026057155802845955,
-0.009478630498051643,
0.06562408059835434,
0.07975123822689056,
-0.059123411774635315,
0.035317886620759964,
0.011875526048243046,
0.045359425246715546,
0.020664140582084656,
0.02311551198363304,
0.005038927309215069,
-0.03406496345996857,
-0.009424155578017235,
0.002871280536055565,
0.04143723100423813,
0.024459224194288254,
0.02336972765624523,
-0.037151873111724854,
0.01003245823085308,
0.005883288104087114,
0.02945275604724884,
-0.02787298522889614,
0.007417663931846619,
0.022843137383461,
-0.019465694203972816,
0.06635041534900665,
-0.016269832849502563,
0.02640216238796711,
-0.01133077684789896,
-0.02938012406229973,
0.01904805190861225,
-0.029543548822402954,
-0.04772000387310982,
-0.036007899791002274,
0.036389224231243134,
0.011648546904325485,
0.018194612115621567,
0.01438137050718069,
0.0043103257194161415,
-0.021245205774903297,
0.031377535313367844,
-0.0013459837064146996,
-0.018866470083594322,
-0.03415575623512268,
-0.08025966584682465,
0.0029325648210942745,
-0.06130240857601166,
-0.025548722594976425,
0.07325056940317154,
0.0482284352183342,
-0.044524140655994415,
-0.021789954975247383,
0.007590167690068483,
0.040020883083343506,
0.0206278245896101,
-0.011067481711506844,
0.0692194253206253,
0.036461859941482544,
-0.058360762894153595,
-0.04906371608376503,
0.0021426789462566376,
-0.060975559055805206,
0.032339926809072495,
0.011494201608002186,
0.027564292773604393,
-0.0009476360864937305,
0.009950746782124043,
-0.018557779490947723,
0.0026284134946763515,
0.015834033489227295,
0.06831151247024536,
0.04042036831378937,
-0.02444106712937355,
-0.021662848070263863,
0.02360578440129757,
-0.06337245553731918,
0.022443654015660286,
0.002072315663099289,
-0.019883334636688232,
0.043071478605270386,
0.018548699095845222,
-0.02024650014936924,
-0.0035612958017736673,
0.008271103724837303,
-0.0024695282336324453,
-0.024658966809511185,
0.03295730799436569,
-0.047611054033041,
0.0028168056160211563,
0.012483828701078892,
0.0256939884275198,
0.04590417444705963,
0.008711442351341248,
0.039766669273376465,
0.021372314542531967,
-0.011830129660665989,
-0.01390017569065094,
0.054547522217035294,
0.0177678931504488,
0.0038972243200987577,
-0.02182627283036709,
0.07452164590358734,
0.0010463717626407743,
0.021753638982772827,
-0.009238033555448055,
0.027346394956111908,
-0.009732847101986408,
-0.014009125530719757,
-0.00317316222935915,
0.0032866515684872866,
0.045032575726509094,
-0.03864085301756859,
0.018067505210638046,
-0.015915745869278908,
0.03878612071275711,
0.007862541824579239,
-0.019393060356378555,
0.012547383084893227,
0.001209796522744,
0.04365254566073418,
-0.02927117422223091,
-0.04666681960225105,
0.022933928295969963,
0.062355589121580124,
-0.04343464598059654,
0.008702363818883896,
0.05483805388212204,
-0.004330753814429045,
-0.024223167449235916,
-0.0088839465752244,
0.019592801108956337,
-0.0241142176091671,
-0.03293915092945099,
-0.04615838825702667,
0.003910842817276716,
-0.0005033252527937293,
0.028526684269309044,
0.07975123822689056,
0.05167851224541664,
0.019974125549197197,
0.024277642369270325,
0.01668747514486313,
0.00442608492448926,
0.007703657262027264,
-0.01579771749675274,
0.016551287844777107,
-0.08926618099212646,
-0.007612865883857012,
0.043325696140527725,
-0.058033913373947144,
-0.008738679811358452,
-0.08991988003253937,
-0.052259575575590134,
0.01803118735551834,
0.030887261033058167,
-0.01457203272730112,
0.01519849430769682,
0.037297140806913376,
0.008652428165078163,
0.03802347183227539,
0.03066936321556568,
0.020645983517169952,
-0.040638267993927,
-0.01008693315088749,
-0.004693919792771339,
0.027709560468792915,
0.02861747518181801,
0.019665434956550598,
-0.013019498437643051,
0.07332319766283035,
-0.02869010716676712,
-0.04081984981894493,
-0.007199764251708984,
0.017304856330156326,
0.0431804284453392,
-0.009065529331564903,
0.007435822393745184,
-0.0028304243460297585,
0.04347096011042595,
0.03281204029917717,
-0.015098623000085354,
-0.0026284134946763515,
0.022679712623357773,
-0.03368363901972771,
-0.036389224231243134,
-0.010858661495149136,
-0.006800281815230846,
-0.023623943328857422,
-0.02019202522933483,
-0.08926618099212646,
0.061665572226047516,
-0.010904056951403618,
-0.005756179802119732,
0.014027283526957035,
-0.009524025954306126,
0.013055815361440182,
0.035444993525743484,
0.06507933139801025,
0.11476042866706848,
-0.013945571146905422,
0.004176408052444458,
-0.058614980429410934,
0.03406496345996857,
-0.04292621091008186,
0.0015173526480793953,
-0.016151804476976395,
-0.03766030818223953,
0.0144358454272151,
-0.06831151247024536,
-0.048010535538196564,
0.07582904398441315,
-0.04993531480431557,
0.0023072385229170322,
0.014172550290822983,
-0.02278866246342659,
-0.02545793168246746,
-0.04920898377895355,
0.023460518568754196,
0.04031141847372055,
0.03711555898189545,
0.050625331699848175,
-0.0069001526571810246,
-0.023769209161400795,
-0.04964478313922882,
-0.044959940016269684,
0.022516287863254547,
-0.019574644044041634,
0.04590417444705963,
-0.08243866264820099,
-0.09297047555446625,
0.07684590667486191,
-0.011584993451833725,
0.03706108406186104,
-0.0017363870283588767,
0.014898882247507572,
-0.02030097506940365,
0.06351771950721741,
-0.009705609641969204,
0.06555145233869553,
0.011031164787709713,
-0.039585087448358536,
-0.02169916406273842,
0.015779558569192886,
-0.006332705728709698,
-0.09209887683391571,
-0.021154414862394333,
0.04397939518094063,
0.003211748553439975,
-0.06573303043842316,
-0.012220533564686775,
0.04158249869942665,
-0.020809408277273178,
0.02120888978242874,
0.013101210817694664,
-0.0087296012789011,
0.008252945728600025,
0.047574736177921295,
0.03860453888773918,
0.002369657624512911,
0.015470867976546288,
-0.031722541898489,
0.004371610004454851,
-0.054874371737241745,
-0.020264659076929092,
0.0520416758954525,
0.0037156413309276104,
0.02228022925555706,
-0.011684863828122616,
-0.050189532339572906,
-0.006160201970487833,
-0.009651134721934795,
0.00501622911542654,
0.004532764665782452,
0.008361895568668842,
0.020918358117341995,
0.026057155802845955,
-0.03504551202058792,
-0.03813242167234421,
-0.0011836938792839646,
0.008130377158522606,
-0.09987062960863113,
-0.04074721783399582,
-0.03497288003563881,
-0.013437138870358467,
0.05756179988384247,
-0.04031141847372055,
-0.05799759924411774,
-0.0092062558978796,
0.04772000387310982,
-0.000009992382729251403,
0.0033025401644408703,
-0.0010492090368643403,
0.049426883459091187,
-0.01567060872912407,
0.03914928808808327,
-0.0692194253206253,
-0.03273940831422806,
0.03845927119255066,
0.0002346392284380272,
-0.028345100581645966,
0.07561114430427551,
0.07982386648654938,
0.030741995200514793,
-0.01828540489077568,
0.042744629085063934,
-0.10103276371955872,
-0.001593390479683876,
-0.050116896629333496,
0.026892436668276787,
0.03161359205842018,
-0.031831491738557816,
-0.007621944881975651,
0.014826249331235886,
-0.008870327845215797,
-0.008961118757724762,
-0.033556532114744186,
0.0256939884275198,
-0.03566289320588112,
-0.061592940241098404,
-0.02622058056294918,
0.003238986013457179,
-0.03497288003563881,
0.015098623000085354,
0.012683569453656673,
0.0030074678361415863,
0.027219286188483238,
-0.028217991814017296,
-0.06290033459663391,
-0.05324012413620949,
-0.058941829949617386,
-0.030741995200514793,
-0.015216652303934097,
0.07728170603513718,
0.017849605530500412,
-0.03352021425962448,
-0.020645983517169952,
0.06424405425786972,
0.01930226944386959,
-0.005188733339309692,
0.044269926846027374,
-0.04405202716588974,
0.11308986693620682,
-0.016406020149588585,
0.03907665237784386,
0.005828813184052706,
-0.0019134305184707046,
-0.03613501042127609,
0.008557097055017948,
-0.07161632180213928,
-0.0177678931504488,
0.01593390479683876,
-0.04597680643200874,
0.03733345866203308,
0.00030925849569030106,
0.054583840072155,
-0.024985816329717636,
-0.01117643155157566,
0.015289285220205784,
-0.011221827007830143,
-0.0037882744800299406,
-0.04042036831378937,
-0.03987561911344528,
0.011303539387881756,
-0.012293166480958462,
0.025367138907313347,
-0.006237374618649483,
-0.023315252736210823,
0.022498128935694695,
-0.024604491889476776,
-0.03580816090106964,
0.054583840072155,
-0.006618699058890343,
-0.019084369763731956,
-0.03766030818223953,
0.01676010712981224,
-0.021426789462566376,
0.04209093004465103,
-0.009065529331564903,
0.017032481729984283,
-0.02209864743053913,
-0.01593390479683876,
-0.004067458212375641,
-0.013355426490306854,
-0.014108995907008648,
-0.03028803877532482,
0.04270831122994423,
-0.04328937828540802,
0.03253966569900513,
0.06881994009017944,
0.048518966883420944,
-0.005924144294112921,
0.0035295188426971436,
-0.02177179791033268,
-0.03838663920760155,
-0.025675831362605095,
-0.004671221598982811,
-0.01250198669731617,
0.030705679208040237,
-0.005492884665727615,
0.021372314542531967,
-0.08853985369205475,
-0.08055020123720169,
-0.028345100581645966,
0.09769163280725479,
-0.046303655952215195,
-0.020137550309300423,
-0.025784781202673912,
0.016142725944519043,
-0.018167374655604362,
0.038822438567876816,
0.005288603715598583,
-0.006782123818993568,
0.030832786113023758,
0.0006809360929764807,
-0.013791225850582123,
0.007190685253590345,
0.06308192014694214,
0.004274008795619011,
-0.03346573933959007,
0.043253060430288315,
0.0013596024364233017,
0.009460472501814365,
-0.01656944490969181,
0.0000065699696278898045,
0.02106362394988537,
0.027437185868620872,
-0.029924871399998665,
-0.020645983517169952,
-0.02988855540752411,
-0.028799057006835938,
-0.027782192453742027,
-0.0040334113873541355,
-0.008561636321246624,
-0.013636880554258823,
-0.0032480652444064617,
-0.0002820210356730968,
0.0014889802550897002,
0.03388338163495064,
-0.021154414862394333,
0.021681005135178566,
-0.018194612115621567,
-0.03139569237828255,
0.031087003648281097,
-0.016605762764811516,
0.06576935201883316,
-0.004314864985644817,
-0.08076810091733932,
-0.010304832831025124,
-0.010114170610904694,
-0.03613501042127609,
-0.03179517760872841,
-0.013527930714190006,
-0.006659555248916149,
0.045286789536476135,
0.0018566857324913144,
0.00891572330147028,
0.051896411925554276,
0.009660213254392147,
-0.02322445996105671,
-0.016996165737509727,
-0.0006230565486475825,
-0.02139047347009182,
0.04772000387310982,
-0.011412489227950573,
-0.009660213254392147,
-0.007249699905514717,
-0.06239190697669983,
-0.0019803892355412245,
0.03776925429701805,
-0.0238055270165205,
-0.038749802857637405,
0.0209365151822567,
-0.10633498430252075,
0.01434505358338356,
-0.018612254410982132,
-0.04481467604637146,
0.023623943328857422,
0.04855528473854065,
0.07088998705148697,
-0.042998846620321274,
0.017241302877664566,
-0.00046161795035004616,
0.030814629048109055,
-0.03375627100467682,
-0.015688767656683922,
0.012329483404755592,
-0.006664094515144825,
0.011612229980528355,
-0.03179517760872841,
0.0361713245511055,
0.03606237471103668,
-0.0698368102312088,
-0.06417141854763031,
0.019284110516309738,
-0.06188347190618515,
-0.029943030327558517,
0.01129445992410183,
-0.030378829687833786,
-0.018457908183336258,
-0.025657672435045242,
0.026583746075630188,
0.0698368102312088,
-0.030306195840239525,
0.006341784726828337,
0.00042586878407746553,
-0.018131058663129807,
0.040710899978876114,
-0.01630615070462227,
-0.0006729918532073498,
0.013482535257935524,
-0.0142815001308918,
-0.012038950808346272,
0.035136304795742035,
-0.028018251061439514,
0.008992896415293217,
-0.0222075954079628,
-0.03016093000769615,
0.018448829650878906,
0.04659418761730194,
-0.016514969989657402,
-0.04608575627207756,
-0.04481467604637146,
-0.08730509132146835,
-0.0012086615897715092,
-0.040529318153858185,
-0.03838663920760155,
0.03987561911344528,
-0.010686157271265984,
0.0069046919234097,
0.04644891992211342,
-0.047756318002939224,
-0.03889507055282593,
-0.08919355273246765,
0.02006491646170616,
-0.031522803008556366,
0.029107749462127686,
0.004743854980915785,
0.037478722631931305,
-0.009442313574254513,
-0.10844134539365768,
0.026256896555423737,
-0.054438572376966476,
0.010422862134873867,
-0.04804685339331627,
-0.0020246501080691814,
-0.0003730962343979627,
-0.02273418754339218,
-0.06326350569725037,
0.06881994009017944,
0.008620651438832283,
0.02874458208680153,
0.00479379016906023,
0.014408607967197895,
-0.017559072002768517,
0.04873686656355858,
-0.056072819977998734,
-0.022952087223529816,
0.018830154091119766,
0.03072383813560009,
0.019211476668715477,
0.013182923197746277,
0.08403659611940384,
0.06384456902742386,
0.041618816554546356,
0.048845816403627396,
-0.03980298712849617,
0.027909301221370697,
0.03537236154079437,
0.02950723096728325,
-0.01991965062916279,
-0.027981935068964958,
-0.015607055276632309,
0.05549175292253494,
-0.001673967926762998,
-0.0012347641168162227,
-0.002117711352184415,
-0.02932564914226532,
0.010386545211076736,
0.022879453375935555,
0.006300929002463818,
-0.012810678221285343,
-0.012193296104669571,
-0.02050071582198143,
-0.03210386633872986,
0.02075493335723877,
-0.045541007071733475,
-0.012547383084893227,
0.026365846395492554,
-0.022679712623357773,
-0.0052205100655555725,
-0.016324307769536972,
0.041291967034339905,
0.015307444147765636,
0.03733345866203308,
0.006332705728709698,
-0.003046054160222411,
-0.019374901428818703,
0.029943030327558517,
0.0241142176091671,
-0.03115963563323021,
0.01336450595408678,
0.05033479630947113,
-0.007163447793573141,
0.028599316254258156,
0.09783689677715302,
-0.038568221032619476,
0.005456568207591772,
-0.009342443197965622,
-0.001644460717216134,
-0.02780035138130188,
-0.04430624097585678,
0.02609347179532051,
0.03711555898189545,
0.0033592847175896168,
-0.005188733339309692,
0.0001943505194503814,
0.01879383623600006,
0.03911297023296356
]
|
29,284 | markupsafe | __mul__ | null | def __mul__(self, num: "te.SupportsIndex") -> "te.Self":
if isinstance(num, int):
return self.__class__(super().__mul__(num))
return NotImplemented
| (self, num: 'te.SupportsIndex') -> 'te.Self' | [
0.029836103320121765,
-0.06537025421857834,
0.015625936910510063,
0.06757256388664246,
-0.06250374764204025,
-0.01543367188423872,
-0.038872577250003815,
-0.034083422273397446,
-0.05142226815223694,
0.02111424319446087,
0.011719453148543835,
0.0018243369413539767,
0.06124528497457504,
0.016692137345671654,
-0.0029342330526560545,
0.010015281848609447,
0.007384741213172674,
0.004015726037323475,
0.05726014822721481,
0.0463884100317955,
-0.04547951743006706,
0.06208426132798195,
0.08431714028120041,
0.00821060873568058,
-0.01227877102792263,
0.1022852212190628,
0.03420577198266983,
-0.010058978572487831,
-0.029888538643717766,
-0.04247318580746651,
-0.06585966050624847,
0.048625681549310684,
0.023980746045708656,
0.044535670429468155,
0.05760972201824188,
-0.03273756429553032,
-0.08452688157558441,
0.03532440587878227,
-0.031251873821020126,
0.044535670429468155,
0.03184615075588226,
-0.04915004223585129,
0.048380978405475616,
-0.051247481256723404,
-0.0205549243837595,
-0.006947774440050125,
0.03873274847865105,
-0.0035918683279305696,
-0.022005654871463776,
-0.05708536133170128,
-0.02733665145933628,
-0.015844421461224556,
0.0463884100317955,
-0.00936857145279646,
-0.040340788662433624,
0.09179801493883133,
0.02667246200144291,
0.003028180915862322,
-0.0365653932094574,
0.015503587201237679,
-0.052366118878126144,
0.006606940180063248,
0.009805537760257721,
-0.041599251329898834,
0.045899007469415665,
-0.05313517898321152,
-0.028682509437203407,
0.035691458731889725,
-0.004815375432372093,
0.06855137646198273,
0.014542259275913239,
-0.019628554582595825,
-0.00901899766176939,
0.021184157580137253,
0.030273068696260452,
-0.01758354902267456,
-0.03355906158685684,
0.01814286783337593,
0.03298226371407509,
0.005846617743372917,
0.004553195554763079,
-0.007607594598084688,
-0.009892931208014488,
-0.03495735675096512,
-0.0366702638566494,
-0.01253221184015274,
0.024068139493465424,
-0.04292763024568558,
-0.023771001026034355,
-0.03810351714491844,
-0.0325452983379364,
-0.01737380586564541,
-0.02995845302939415,
-0.031304311007261276,
0.006427783519029617,
0.024837201461195946,
0.013091529719531536,
-0.052261244505643845,
-0.009691926650702953,
-0.040200959891080856,
0.030098283663392067,
0.027651267126202583,
0.030150718986988068,
-0.05911288782954216,
0.03883762285113335,
-0.003934887237846851,
-0.004413365852087736,
-0.026917163282632828,
-0.055687066167593,
0.040340788662433624,
-0.014944269321858883,
0.07466891407966614,
-0.07928328216075897,
-0.030395420268177986,
-0.05425381660461426,
0.01783698983490467,
-0.014664610847830772,
-0.027616310864686966,
0.021586166694760323,
0.05830886960029602,
-0.005829139146953821,
0.029067041352391243,
-0.004350005649030209,
-0.011885500513017178,
-0.019436288625001907,
0.07029923796653748,
0.0348699614405632,
-0.026689941063523293,
-0.005055707413703203,
-0.02455754205584526,
-0.0021171048283576965,
0.03086734376847744,
-0.002042820444330573,
0.12221091240644455,
-0.005684939678758383,
0.05313517898321152,
-0.007301717530936003,
-0.0024011333007365465,
-0.03530692681670189,
0.00044707179768010974,
-0.02041509561240673,
-0.005352844949811697,
0.06946026533842087,
0.07148779183626175,
-0.029975932091474533,
0.01899932324886322,
-0.004251688253134489,
0.04593396559357643,
-0.046108752489089966,
-0.017137844115495682,
-0.018702184781432152,
0.04446575418114662,
0.09857974201440811,
0.023124290630221367,
0.00955209694802761,
0.04757696017622948,
0.06743273884057999,
0.0005087933968752623,
0.013397406786680222,
-0.01091543398797512,
0.006169973406940699,
0.00990167073905468,
-0.024330319836735725,
0.0017216497799381614,
-0.041564296931028366,
-0.02378848008811474,
-0.020502489060163498,
-0.04904516786336899,
-0.034030985087156296,
0.045444563031196594,
0.031496576964855194,
-0.026252973824739456,
0.037823859602212906,
0.02849024347960949,
0.013720761984586716,
0.038418132811784744,
0.004496389999985695,
0.016333824023604393,
0.016141558066010475,
-0.024120574817061424,
0.014786961488425732,
-0.03268512710928917,
-0.06432153284549713,
-0.07201214879751205,
0.04471045732498169,
0.04103993624448776,
-0.025239210575819016,
0.02338647097349167,
-0.007349784020334482,
0.009543358348309994,
0.011326182633638382,
-0.03273756429553032,
0.017400022596120834,
-0.044535670429468155,
-0.008149432949721813,
-0.0207646694034338,
-0.01687566377222538,
0.018265217542648315,
0.06208426132798195,
0.05806416645646095,
-0.030185675248503685,
0.02006552182137966,
0.008922864682972431,
0.015424933284521103,
0.003299100324511528,
-0.0505133792757988,
0.013458581641316414,
0.028158148750662804,
-0.03112952411174774,
-0.02773866057395935,
-0.017662202939391136,
-0.006960883270949125,
0.011824325658380985,
0.05841374024748802,
0.029189391061663628,
-0.005702418740838766,
0.00904521532356739,
-0.06264358013868332,
0.028455287218093872,
0.024085618555545807,
0.046563196927309036,
0.02648019604384899,
-0.020502489060163498,
0.01722523756325245,
0.03373384848237038,
-0.004898399580270052,
-0.00019513304869178683,
0.02253001555800438,
-0.0025081902276724577,
0.011466012336313725,
0.014070335775613785,
-0.026497675105929375,
-0.011369879357516766,
0.004238579422235489,
-0.03525449335575104,
0.031094567850232124,
0.014743264764547348,
0.023403950035572052,
-0.019733427092432976,
0.047611918300390244,
-0.015634676441550255,
-0.0009498568833805621,
0.020589882507920265,
0.039641641080379486,
-0.06208426132798195,
-0.0037622854579240084,
-0.02359621413052082,
0.06502068042755127,
0.03883762285113335,
0.04051557555794716,
0.02151625230908394,
-0.05851861089468002,
-0.024714849889278412,
-0.009517139755189419,
0.044186096638441086,
0.008551442995667458,
-0.05414894223213196,
-0.05075807869434357,
-0.010338637977838516,
-0.016360042616724968,
-0.009115130640566349,
-0.014856875874102116,
0.040585488080978394,
-0.016604743897914886,
-0.07991251349449158,
-0.02389335259795189,
-0.020904498174786568,
0.038872577250003815,
-0.00631417240947485,
0.07029923796653748,
0.060895711183547974,
-0.011203831993043423,
0.011754410341382027,
0.020887019112706184,
-0.035097185522317886,
-0.007769272197037935,
0.0033493516966700554,
0.0655100867152214,
-0.05379936844110489,
-0.061909474432468414,
-0.0002823898976203054,
-0.007817338220775127,
-0.04229839891195297,
-0.05956733226776123,
-0.012575908564031124,
0.03062264248728752,
0.049534570425748825,
0.050198763608932495,
-0.003318763803690672,
-0.019086716696619987,
0.022355228662490845,
0.029276784509420395,
0.020485009998083115,
-0.006375347729772329,
0.03593616187572479,
-0.040900103747844696,
-0.059707161039114,
0.04684285447001457,
0.02420796826481819,
0.009403528645634651,
-0.047926533967256546,
-0.05876331403851509,
-0.03067507967352867,
-0.0070832339115440845,
0.01441990863531828,
-0.028909733518958092,
0.06159485876560211,
0.032859914004802704,
0.022215399891138077,
0.05215637385845184,
0.04030583053827286,
0.04460558667778969,
-0.08886159956455231,
-0.004306309390813112,
0.00746339512988925,
0.0033952330704778433,
0.030430378392338753,
0.0461786650121212,
0.0012573723215609789,
0.0648808479309082,
0.0025147446431219578,
0.02960887923836708,
-0.03361149877309799,
-0.04390643909573555,
0.002595583675429225,
-0.03880266472697258,
-0.027249258011579514,
-0.06998462229967117,
-0.0507231205701828,
-0.018562356010079384,
-0.021341465413570404,
0.013694544322788715,
0.04065540432929993,
-0.018457483500242233,
-0.03490491956472397,
-0.03137422725558281,
0.019383853301405907,
0.0372994989156723,
-0.02925930544734001,
-0.015634676441550255,
0.008298002183437347,
0.003923963289707899,
-0.0003247210697736591,
-0.004513868596404791,
-0.02712690830230713,
0.013572192750871181,
0.014839396812021732,
0.012060287408530712,
0.05785442143678665,
-0.00901899766176939,
0.004605631344020367,
-0.03754419833421707,
0.01455099880695343,
-0.03462526202201843,
0.005182427819818258,
0.0022918914910405874,
-0.0115184485912323,
-0.030080804601311684,
-0.049429699778556824,
-0.03189858794212341,
0.05897305905818939,
-0.04076027497649193,
0.02218044176697731,
0.023858394473791122,
-0.049639444798231125,
-0.01990821398794651,
-0.04072531685233116,
-0.012645822949707508,
-0.025448953732848167,
0.000829690950922668,
-0.005147470626980066,
-0.03567397966980934,
-0.04558439180254936,
-0.007406589575111866,
0.009342352859675884,
0.050653208047151566,
-0.048380978405475616,
0.04547951743006706,
-0.037718985229730606,
-0.05107269436120987,
0.0372994989156723,
-0.001649550162255764,
-0.005182427819818258,
-0.008328589610755444,
0.021358944475650787,
0.004588152747601271,
0.030657600611448288,
-0.0031854889821261168,
0.007550788577646017,
0.045339688658714294,
0.013738240115344524,
-0.024592500180006027,
-0.0278435330837965,
-0.04083019122481346,
-0.07956293970346451,
0.013065311126410961,
0.024417713284492493,
-0.010897955857217312,
-0.03866283595561981,
-0.019261501729488373,
-0.002060299040749669,
0.040235914289951324,
-0.007524570915848017,
0.054848089814186096,
0.0010044777300208807,
-0.003141792258247733,
0.03632069379091263,
-0.021638602018356323,
-0.03789377212524414,
0.0052872998639941216,
-0.03532440587878227,
0.012890524230897427,
-0.02677733451128006,
0.025885920971632004,
0.01691935956478119,
-0.02843780815601349,
0.054393645375967026,
-0.06795709580183029,
0.004854702856391668,
0.03967659920454025,
0.04369669407606125,
-0.003921778406947851,
0.04422105476260185,
0.01242733933031559,
-0.010294941253960133,
-0.0504085049033165,
0.0024033181834965944,
-0.029136955738067627,
-0.04901021346449852,
0.019733427092432976,
-0.04684285447001457,
-0.06865624338388443,
0.03799864649772644,
0.03168884292244911,
0.03067507967352867,
-0.06302811205387115,
-0.06544017046689987,
-0.02001308649778366,
-0.03824334591627121,
0.01027746219187975,
0.09620264172554016,
-0.03354158252477646,
-0.008835471235215664,
-0.020048042759299278,
0.03799864649772644,
-0.10710933804512024,
0.03490491956472397,
0.03974651172757149,
-0.06816684454679489,
-0.0103823347017169,
0.0030675078742206097,
0.03308713808655739,
0.03859291970729828,
-0.020677275955677032,
0.07264138758182526,
0.0005795274046249688,
-0.023736044764518738,
-0.05708536133170128,
0.07697609812021255,
-0.014533520676195621,
-0.021446337923407555,
0.026952121406793594,
-0.005671830847859383,
-0.030028367415070534,
-0.03824334591627121,
0.011308704502880573,
0.03292983025312424,
-0.033576540648937225,
0.012060287408530712,
-0.02653263323009014,
0.058378782123327255,
0.0032444794196635485,
0.0019718133844435215,
-0.026392802596092224,
-0.04754200205206871,
0.024260403588414192,
-0.07155770808458328,
-0.03701983764767647,
0.02324664033949375,
-0.07033419609069824,
0.023473864421248436,
-0.021656081080436707,
0.07669644057750702,
-0.023508820682764053,
-0.021079285070300102,
-0.00955209694802761,
0.039222151041030884,
0.02672489732503891,
0.03219572454690933,
0.00942100677639246,
0.0019434104906395078,
0.058273911476135254,
0.02333403378725052,
0.06855137646198273,
-0.03911728039383888,
0.00793095026165247,
0.009910410270094872,
0.00608694925904274,
-0.006161233875900507,
0.006930295843631029,
0.03207337483763695,
0.04530473053455353,
-0.041808996349573135,
0.0033580909948796034,
0.05841374024748802,
0.0367751382291317,
0.010137633420526981,
0.01214768085628748,
-0.015748288482427597,
-0.014009159989655018,
-0.03219572454690933,
-0.010312419384717941,
0.007524570915848017,
0.0064059351570904255,
0.05946246162056923,
0.018247738480567932,
-0.036600351333618164,
-0.004090010654181242,
0.02939913608133793,
-0.026445239782333374,
0.056665871292352676,
-0.05243603140115738,
-0.06991471350193024,
-0.016936838626861572,
0.020589882507920265,
-0.0019576118793338537,
-0.04778670519590378,
-0.005523262079805136,
0.034083422273397446,
0.0642516165971756,
-0.0554773211479187,
-0.01053090300410986,
-0.0549529604613781,
0.054288771003484726,
-0.06225904822349548,
-0.02794840559363365,
-0.019541161134839058,
0.01758354902267456,
0.07648669183254242,
0.016185255721211433,
-0.04289267584681511,
0.009237481281161308,
0.04383652284741402,
-0.04002617299556732,
-0.018107909709215164,
-0.01455099880695343,
-0.05663091689348221,
0.03757915645837784,
0.06432153284549713,
-0.005169318988919258,
0.003008517436683178,
0.01581820286810398,
0.007008949760347605,
0.037054795771837234,
0.07942310720682144,
0.04824114963412285,
0.02672489732503891,
0.00048312157741747797,
0.0024164272472262383,
0.04789157584309578,
0.011125178076326847,
-0.02359621413052082,
0.11403089016675949,
-0.08214978128671646,
-0.03674018010497093,
-0.012296250090003014,
-0.019278980791568756,
-0.007039537187665701,
0.031007174402475357,
-0.030395420268177986,
-0.00096460449276492,
-0.057714592665433884,
0.004854702856391668,
-0.011326182633638382,
-0.002152062254026532,
0.032912351191043854,
-0.04247318580746651,
-0.01798555999994278,
-0.04229839891195297,
-0.03593616187572479,
-0.05107269436120987,
0.03418829292058945,
0.026689941063523293,
-0.018544876947999,
0.026654982939362526,
-0.06173468753695488,
-0.05488304793834686,
-0.02410309575498104,
-0.011736932210624218,
0.0034651479218155146,
0.02036265842616558,
-0.06103554368019104,
-0.005925271660089493,
0.001367706572636962,
-0.0031964131630957127,
0.04324224963784218,
-0.09899923205375671,
-0.022599929943680763,
0.053729455918073654,
0.02516929619014263,
0.026497675105929375,
-0.010111414827406406,
0.0056762006133794785,
-0.013178923167288303,
0.028263021260499954,
0.046003878116607666,
-0.00732793565839529,
-0.005706788040697575,
0.013947985135018826,
-0.06355246901512146,
0.04467549920082092,
0.02223287709057331,
-0.010574599727988243,
-0.031042130663990974,
-0.04303250461816788,
-0.04890533909201622,
-0.059602290391922,
0.06103554368019104,
0.011474751867353916,
-0.008848580531775951,
-0.08613492548465729,
0.018474962562322617,
-0.06302811205387115,
-0.01985577680170536,
-0.025833485648036003,
-0.008394135162234306,
0.0344504751265049,
-0.021009370684623718,
0.03320948779582977,
0.04820619150996208,
0.017653463408350945,
-0.0005030581960454583,
0.028123192489147186,
-0.003467332571744919,
-0.04097001999616623,
-0.0508279949426651,
0.027563873678445816,
0.03600607439875603,
0.006729290820658207,
0.06792213767766953,
-0.0029364179354161024,
0.020135436207056046,
-0.04030583053827286,
0.005479565355926752,
-0.04355686530470848,
-0.04471045732498169,
-0.02621801570057869,
-0.020677275955677032,
0.006030143704265356,
0.0058203996159136295,
-0.039082322269678116,
0.005846617743372917,
0.01465587131679058,
-0.025029465556144714,
0.00634039007127285,
-0.02920687012374401,
0.018300175666809082,
0.010207547806203365,
-0.002739782677963376,
0.018247738480567932,
-0.036705221980810165,
-0.03163640573620796,
-0.009587055072188377,
0.0018429080955684185,
0.004618740640580654,
-0.01722523756325245,
0.010251244530081749,
-0.06687342375516891,
0.00493772653862834,
-0.03249286115169525,
0.01934889517724514,
0.007751793600618839,
-0.07068376988172531,
0.001798118930310011,
0.006432153284549713,
0.028979647904634476,
0.009254959411919117,
-0.017863208428025246,
-0.03142666071653366,
-0.0028249912429600954,
-0.0007204492576420307,
-0.01990821398794651,
-0.03936198353767395,
0.09088912606239319,
-0.028332935646176338,
-0.013248837552964687,
-0.013178923167288303,
0.03278999775648117,
-0.017810773104429245,
-0.06998462229967117,
0.024977030232548714,
-0.023473864421248436,
0.010609556920826435,
0.009386049583554268,
-0.04512994363903999,
0.07341044396162033,
-0.029067041352391243,
-0.03995625674724579,
0.015188970603048801,
0.022652365267276764,
0.0075070918537676334,
-0.001378630637191236,
-0.023211684077978134,
0.01642121747136116,
0.010749386623501778,
0.03091978095471859,
-0.010303680785000324,
0.017898166552186012,
0.05407902970910072,
-0.03586624562740326,
-0.0008668331429362297,
0.047821663320064545,
0.015582241117954254,
-0.015223927795886993,
-0.006912816781550646,
0.043976351618766785,
0.050443463027477264,
0.060511182993650436,
-0.013886809349060059,
0.0277910977602005,
0.006414674688130617,
-0.04062044620513916,
0.02445266954600811,
0.025850964710116386,
-0.03632069379091263,
0.024365276098251343,
0.0066637457348406315,
-0.022564971819519997,
0.013344970531761646,
0.03396106883883476,
0.014253861270844936,
0.0018887895857915282,
0.03401350602507591,
-0.05467330291867256,
-0.006873489823192358,
-0.043067462742328644,
0.013178923167288303,
-0.012838088907301426,
0.018177824094891548,
-0.021900782361626625,
-0.05250594764947891,
0.021009370684623718,
-0.022302793338894844,
0.0031002804171293974,
-0.03563902527093887,
0.04404626786708832,
-0.018632270395755768,
0.06582470238208771,
0.049744315445423126,
-0.0010634682839736342,
-0.010862997733056545,
0.006462741177529097,
0.015486108139157295,
0.01278565265238285,
0.058728355914354324,
-0.0019619816448539495,
0.04380156472325325,
-0.046248581260442734,
-0.004262612666934729,
-0.036705221980810165,
-0.010504685342311859,
0.03219572454690933,
0.014813179150223732,
0.05149218440055847,
-0.0913086086511612,
0.027511438354849815,
0.04729730263352394,
0.02212800644338131
]
|
29,285 | markupsafe | __new__ | null | def __new__(
cls, base: t.Any = "", encoding: t.Optional[str] = None, errors: str = "strict"
) -> "te.Self":
if hasattr(base, "__html__"):
base = base.__html__()
if encoding is None:
return super().__new__(cls, base)
return super().__new__(cls, base, encoding, errors)
| (cls, base: Any = '', encoding: Optional[str] = None, errors: str = 'strict') -> 'te.Self' | [
-0.017483895644545555,
-0.05659402534365654,
0.022415250539779663,
0.006455591879785061,
-0.04848866909742355,
0.0105262016877532,
-0.007988795638084412,
-0.003835249226540327,
0.012158031575381756,
-0.017663218080997467,
0.05447802320122719,
0.05967836081981659,
0.0016183810075744987,
0.04823761805891991,
-0.02115999534726143,
0.02327599562704563,
0.01954609900712967,
0.0007609977619722486,
-0.013762963935732841,
-0.04823761805891991,
-0.015771370381116867,
0.07560215890407562,
0.021590368822216988,
0.026539655402302742,
0.021231725811958313,
0.10522615164518356,
-0.024585045874118805,
-0.016685912385582924,
-0.004675821401178837,
-0.0383390448987484,
-0.04945700988173485,
0.004283554386347532,
0.015340996906161308,
0.04813002422451973,
0.07183639705181122,
-0.04529673606157303,
-0.06132812425494194,
0.03071785904467106,
-0.044220805168151855,
0.032529011368751526,
-0.019940607249736786,
-0.01595069281756878,
-0.034896060824394226,
-0.0757456123828888,
0.02058616653084755,
-0.013296726159751415,
0.08449652791023254,
0.055195312947034836,
-0.059929411858320236,
0.001538806944154203,
0.025876164436340332,
0.04845280572772026,
-0.01284842099994421,
-0.017098352313041687,
-0.01594172604382038,
0.06265510618686676,
-0.0022975632455199957,
0.062296465039253235,
-0.002018493367359042,
0.05182405933737755,
-0.03898460417985916,
0.03629477322101593,
0.04357524588704109,
-0.04357524588704109,
-0.017188014462590218,
0.008697116747498512,
-0.01940263994038105,
-0.0449380949139595,
-0.005227236542850733,
0.02537406235933304,
0.0359540618956089,
0.0007497901096940041,
-0.036599621176719666,
0.05081985518336296,
0.07248195260763168,
0.004613058641552925,
-0.050891585648059845,
-0.06190195679664612,
0.006110397167503834,
0.023150470107793808,
0.05863829329609871,
-0.013189133256673813,
-0.004442702513188124,
0.005159990396350622,
0.019761284813284874,
-0.024441588670015335,
-0.05035361647605896,
-0.062117140740156174,
0.014749234542250633,
0.008038109168410301,
-0.030484739691019058,
0.005056880414485931,
-0.04841693863272667,
-0.0062135071493685246,
0.02200280874967575,
-0.04045504331588745,
-0.007948447950184345,
-0.0034564316738396883,
0.01595069281756878,
0.020550301298499107,
0.025481656193733215,
0.05322277173399925,
-0.06921829283237457,
-0.011162794195115566,
0.03794453665614128,
0.06071842834353447,
0.0068545835092663765,
0.01788736879825592,
0.005451388657093048,
-0.02494369074702263,
-0.009539930149912834,
0.02246904745697975,
-0.009916506707668304,
0.05792100727558136,
-0.02890670672059059,
-0.012427014298737049,
-0.015269268304109573,
0.016533488407731056,
0.03138135001063347,
-0.02853013016283512,
-0.015009251423180103,
0.002653965726494789,
-0.07624771445989609,
0.002165313111618161,
0.06663605570793152,
0.025804435834288597,
0.03572094440460205,
-0.0865766629576683,
0.03337182477116585,
0.01114486251026392,
0.03912806138396263,
0.06276270002126694,
-0.01462370902299881,
-0.020084064453840256,
0.04698236286640167,
0.0191695224493742,
-0.04016812890768051,
0.01807565800845623,
-0.06588290631771088,
0.040813688188791275,
-0.04500982165336609,
0.013888489454984665,
0.0865766629576683,
0.021285520866513252,
-0.06477110832929611,
-0.014973387122154236,
-0.007890167646110058,
-0.038590095937252045,
-0.028028028085827827,
0.01794116571545601,
0.014587844721972942,
-0.016452793031930923,
0.006285236217081547,
0.04769965261220932,
-0.027059689164161682,
0.02044270746409893,
0.031022707000374794,
0.00417371978983283,
0.012409082613885403,
0.018523963168263435,
0.0269700288772583,
-0.03520090878009796,
0.016013454645872116,
-0.05759822577238083,
0.02142897993326187,
0.04045504331588745,
0.012525641359388828,
-0.06613395363092422,
0.006684227846562862,
0.03638443350791931,
-0.014587844721972942,
-0.00765256630256772,
0.023293927311897278,
0.04178202524781227,
-0.030305419117212296,
0.025356130674481392,
0.01882880926132202,
0.032062772661447525,
-0.0024836098309606314,
0.004391147289425135,
0.03288765624165535,
-0.03417877480387688,
-0.025535453110933304,
-0.040670230984687805,
0.05580500513315201,
0.0028310460038483143,
0.01760045439004898,
0.06634914129972458,
0.030502673238515854,
0.010544133372604847,
0.00910955760627985,
-0.02011992782354355,
0.013449150137603283,
-0.015645844861865044,
0.0028041477780789137,
-0.030484739691019058,
0.023598775267601013,
-0.04088541492819786,
0.044687043875455856,
0.08399442583322525,
-0.026539655402302742,
0.07531523704528809,
0.012346319854259491,
-0.04784310981631279,
0.00693079549819231,
0.02890670672059059,
-0.0017248535295948386,
-0.028368741273880005,
0.001659849309362471,
-0.016219675540924072,
0.015601013787090778,
-0.013780895620584488,
-0.03234969079494476,
0.03514711186289787,
-0.009477167390286922,
-0.051321957260370255,
-0.0068545835092663765,
-0.015323065221309662,
-0.003245728323236108,
0.04013226553797722,
0.11892635375261307,
-0.0058683124370872974,
-0.01765425130724907,
-0.014067810960114002,
0.004297003615647554,
0.006428693886846304,
0.02555338479578495,
-0.08177082985639572,
-0.02702382579445839,
-0.005159990396350622,
-0.029821248725056648,
-0.04045504331588745,
0.004653405863791704,
0.02835080772638321,
0.011064167134463787,
-0.005630710627883673,
0.039917077869176865,
-0.019330911338329315,
-0.06218887120485306,
0.0033779782243072987,
0.0062583377584815025,
0.010795184411108494,
-0.007719811983406544,
0.056235380470752716,
0.018210148438811302,
0.00031885693897493184,
-0.07746710628271103,
0.029552266001701355,
0.006491456646472216,
-0.017869437113404274,
-0.006365931127220392,
-0.047197550535202026,
-0.03234969079494476,
-0.010687591508030891,
0.03564921393990517,
0.03294145315885544,
-0.04404148459434509,
-0.07689327746629715,
0.025822367519140244,
-0.004689270164817572,
0.03226002678275108,
0.006397312507033348,
0.026665180921554565,
0.09948784857988358,
0.007504625711590052,
-0.025732707232236862,
-0.027974233031272888,
-0.007513592019677162,
0.0020005609840154648,
0.020747555419802666,
0.037406571209430695,
0.007912583649158478,
0.015332031063735485,
0.05720371752977371,
-0.043324194848537445,
-0.07111910730600357,
-0.04059850051999092,
0.01026618480682373,
-0.05462148040533066,
-0.057418905198574066,
-0.01674867421388626,
-0.023365655913949013,
0.03188345208764076,
-0.025732707232236862,
-0.006253854837268591,
-0.04009639844298363,
-0.011252455413341522,
-0.029372943565249443,
-0.007504625711590052,
-0.041853755712509155,
-0.03143514692783356,
0.030789587646722794,
-0.02777697890996933,
-0.015834132209420204,
0.021518640220165253,
-0.025965826585888863,
-0.055912598967552185,
0.010848981328308582,
-0.010454473085701466,
-0.03353321552276611,
-0.017385268583893776,
-0.09626004844903946,
0.007567388471215963,
0.03758589178323746,
-0.032008975744247437,
-0.045404329895973206,
-0.030323350802063942,
0.005352761596441269,
0.008181566372513771,
0.03023368865251541,
0.01665901392698288,
0.058136191219091415,
0.009450269863009453,
0.032726265490055084,
0.0078094732016325,
0.020030267536640167,
0.016121048480272293,
-0.05838724225759506,
0.0250871479511261,
0.06132812425494194,
-0.0331207737326622,
-0.04798656702041626,
-0.012265624478459358,
-0.023509114980697632,
-0.00006125667277956381,
-0.04217653349041939,
0.00713253254070878,
-0.024118809029459953,
0.0020644445903599262,
-0.005801066756248474,
-0.027705248445272446,
0.00811880361288786,
0.0463726706802845,
-0.06240405514836311,
-0.09740771353244781,
-0.020550301298499107,
0.015278234146535397,
-0.02919362112879753,
-0.0064780074171721935,
-0.05648643150925636,
0.06165090575814247,
0.04612161964178085,
-0.01000616792589426,
0.004756516311317682,
-0.029265351593494415,
-0.04099300876259804,
0.004868592135608196,
-0.026916231960058212,
0.03905633091926575,
-0.04741273820400238,
-0.04841693863272667,
-0.09554276615381241,
0.007867752574384212,
0.0026987961027771235,
0.0018380505498498678,
-0.041423384100198746,
-0.0009307932923547924,
0.06979212164878845,
-0.02324013225734234,
-0.03851836547255516,
0.01651555672287941,
0.012032506056129932,
-0.03353321552276611,
0.03697619587182999,
-0.009024379774928093,
-0.0430731438100338,
0.06896724551916122,
0.037406571209430695,
-0.054298702627420425,
0.02465677447617054,
0.030323350802063942,
-0.025912029668688774,
0.004913422744721174,
-0.041566841304302216,
-0.0052451686933636665,
0.00039058574475347996,
-0.02058616653084755,
0.003131410339847207,
-0.05720371752977371,
-0.03683273866772652,
0.04665958508849144,
0.02157243713736534,
-0.01282152347266674,
-0.019815081730484962,
0.03934324532747269,
-0.029086029157042503,
0.032529011368751526,
0.04328833147883415,
0.033425621688365936,
0.0208192840218544,
-0.018954334780573845,
-0.041997212916612625,
-0.010391710326075554,
0.028799112886190414,
-0.05268480256199837,
-0.009701319970190525,
-0.00718184607103467,
0.00551415141671896,
-0.015116844326257706,
0.03283385932445526,
0.032152436673641205,
0.00019893534772563726,
0.0421048067510128,
0.013216031715273857,
-0.009136456064879894,
-0.007773608900606632,
0.06247578561306,
-0.008728498592972755,
-0.026432063430547714,
-0.011853184551000595,
-0.010221353732049465,
0.012427014298737049,
-0.08492690324783325,
-0.002900533378124237,
0.018470166251063347,
0.0053617279045283794,
0.04013226553797722,
-0.04841693863272667,
-0.04235585778951645,
-0.0354878231883049,
-0.05196751654148102,
0.050281889736652374,
0.0020453915931284428,
0.007473244331777096,
0.026091352105140686,
0.06190195679664612,
-0.025140944868326187,
-0.003198656253516674,
0.010355846025049686,
-0.0009907541098073125,
0.024674708023667336,
-0.0003353881766088307,
-0.05896107479929924,
0.008647803217172623,
0.037693485617637634,
-0.007979828864336014,
-0.059785954654216766,
-0.01613001339137554,
0.008387786336243153,
0.024172605946660042,
-0.026665180921554565,
-0.045117415487766266,
0.03477053716778755,
0.07018662989139557,
0.04798656702041626,
-0.05225443094968796,
-0.03261867165565491,
0.01104623544961214,
-0.03417877480387688,
0.0008848420111462474,
0.03577473759651184,
0.05031775310635567,
0.029086029157042503,
-0.025248538702726364,
-0.010822082869708538,
-0.06979212164878845,
0.041997212916612625,
-0.026378266513347626,
-0.032008975744247437,
0.039773620665073395,
-0.03891287371516228,
0.04027572274208069,
0.019420573487877846,
-0.017770810052752495,
-0.03520090878009796,
-0.014928556978702545,
0.002479126676917076,
0.0034631560556590557,
-0.033443551510572433,
-0.022935284301638603,
0.009091625921428204,
0.03389185667037964,
0.024441588670015335,
-0.014686471782624722,
-0.01794116571545601,
0.016488658264279366,
-0.04579883813858032,
-0.07890167832374573,
-0.011351082473993301,
-0.03855422884225845,
-0.015887929126620293,
0.018039792776107788,
0.05498012527823448,
0.008360887877643108,
-0.027705248445272446,
-0.010293083265423775,
0.07567388564348221,
0.016354165971279144,
0.020370978862047195,
0.05634297430515289,
-0.02376016601920128,
0.09073693305253983,
-0.062296465039253235,
0.04856039956212044,
-0.0027682834770530462,
0.03588233143091202,
0.017546657472848892,
0.027615588158369064,
-0.03288765624165535,
-0.03815972059965134,
0.07266127318143845,
-0.08263158053159714,
0.01410367526113987,
0.024190537631511688,
0.05081985518336296,
-0.06853687018156052,
0.008576074615120888,
0.04974392428994179,
0.04278622940182686,
-0.003178482409566641,
-0.03837490826845169,
0.02246904745697975,
0.011261421255767345,
-0.03686860203742981,
0.025338198989629745,
-0.04224826395511627,
-0.07266127318143845,
-0.005747270304709673,
0.039450839161872864,
0.016147946938872337,
0.03609751909971237,
0.04113646596670151,
-0.02560718171298504,
-0.04848866909742355,
-0.008311574347317219,
0.0243698600679636,
-0.01879294589161873,
0.03000057116150856,
0.033909790217876434,
0.042750366032123566,
0.005128609016537666,
-0.03129168972373009,
0.020568232983350754,
-0.02257663942873478,
0.002219109795987606,
0.06347998976707458,
-0.07796920835971832,
0.033138707280159,
0.07596080005168915,
-0.02985711395740509,
0.025804435834288597,
-0.004904456902295351,
-0.011485573835670948,
0.026396198198199272,
-0.027705248445272446,
-0.049994975328445435,
-0.018559826537966728,
0.03869768977165222,
-0.01036481186747551,
0.027077622711658478,
-0.025481656193733215,
-0.03435809537768364,
-0.014148506335914135,
0.062117140740156174,
-0.012893252074718475,
-0.008477447554469109,
0.0052048210054636,
0.044220805168151855,
0.06556012481451035,
0.036940332502126694,
0.03606165573000908,
0.01078621856868267,
0.017062488943338394,
0.011602133512496948,
-0.021177928894758224,
0.0350215882062912,
0.02607341855764389,
0.008047075010836124,
-0.05523117631673813,
0.005133092403411865,
-0.0016116565093398094,
0.04282209277153015,
-0.006222473457455635,
0.04472290724515915,
0.028028028085827827,
0.03138135001063347,
-0.022791827097535133,
0.057705819606781006,
-0.014928556978702545,
-0.028314944356679916,
-0.031058570370078087,
0.04206894338130951,
-0.025481656193733215,
-0.05322277173399925,
-0.002763800323009491,
-0.0667436495423317,
-0.045547787100076675,
-0.01589689590036869,
0.02612721547484398,
-0.0373707041144371,
-0.01571757346391678,
-0.01024825219064951,
-0.013332590460777283,
-0.03165033459663391,
0.02650379203259945,
0.00813673622906208,
-0.053079310804605484,
-0.07029422372579575,
-0.0022247135639190674,
-0.012256658636033535,
-0.023688435554504395,
0.04988738149404526,
0.0028803597670048475,
0.038410771638154984,
0.04389802739024162,
0.004599609412252903,
0.006271786987781525,
0.01651555672287941,
-0.013915386982262135,
-0.002066686050966382,
0.05777755007147789,
-0.021590368822216988,
0.022594572976231575,
0.005505185574293137,
-0.01571757346391678,
-0.015538251027464867,
-0.09389299899339676,
0.024531248956918716,
-0.026109283789992332,
-0.01788736879825592,
-0.00598487164825201,
0.005675541236996651,
-0.027705248445272446,
0.03226002678275108,
-0.04942114278674126,
0.0014110399642959237,
0.04752033203840256,
0.015959657728672028,
-0.0087509136646986,
-0.018577760085463524,
0.027239011600613594,
-0.030843384563922882,
-0.041997212916612625,
-0.061830226331949234,
-0.03606165573000908,
0.018559826537966728,
0.024029148742556572,
0.04956459999084473,
0.048058297485113144,
0.05185992270708084,
-0.037693485617637634,
-0.01807565800845623,
-0.042463451623916626,
0.017152149230241776,
-0.058279652148485184,
-0.0530075840651989,
-0.018846742808818817,
-0.005384142976254225,
-0.004747550003230572,
0.02053236961364746,
0.008535726927220821,
0.09303225576877594,
0.019653690978884697,
-0.003268143394961953,
0.02835080772638321,
-0.006016253028064966,
0.019133657217025757,
0.027418334037065506,
0.03061026521027088,
0.011252455413341522,
-0.022881487384438515,
-0.010813117027282715,
0.026916231960058212,
0.01258840411901474,
0.049708057194948196,
0.062009546905756,
0.00713253254070878,
-0.034662943333387375,
-0.0340711809694767,
-0.06706643104553223,
-0.008531244471669197,
0.03278006240725517,
-0.037263110280036926,
-0.054298702627420425,
-0.048345211893320084,
0.01448025181889534,
-0.007522557862102985,
-0.03202690929174423,
0.024907825514674187,
-0.00037461487227119505,
0.05648643150925636,
0.01530513260513544,
-0.056056056171655655,
-0.03276212885975838,
-0.031829655170440674,
0.04045504331588745,
-0.0052048210054636,
0.043180737644433975,
-0.03656375780701637,
-0.11842425167560577,
-0.02731074020266533,
-0.031130298972129822,
0.00025483337230980396,
0.03425050154328346,
0.000025322227884316817,
0.02298908121883869,
-0.016829369589686394,
-0.09446682780981064,
0.035613350570201874,
-0.030251622200012207,
0.03606165573000908,
-0.016927996650338173,
-0.026181012392044067,
-0.023293927311897278,
0.06452005356550217,
0.042427584528923035,
0.042463451623916626,
-0.011933878995478153,
0.007988795638084412,
-0.022684233263134956,
0.03256487473845482,
0.03776521235704422,
0.041100602596998215,
-0.0016273471992462873,
-0.01897226832807064,
-0.06602635979652405,
0.0676761269569397,
0.038733553141355515,
-0.023634640499949455,
-0.02526647038757801,
0.019904742017388344,
-0.0004953770549036562,
0.04371870309114456,
0.025427859276533127,
0.02896050363779068,
0.06179436296224594,
-0.06046737730503082,
-0.04723341390490532,
-0.006832168437540531,
0.004368732217699289,
0.004420287441462278,
0.061686769127845764,
-0.051931653171777725,
-0.042427584528923035,
-0.017860472202301025,
-0.04888317734003067,
-0.015502386726439,
-0.010275150649249554,
-0.016192777082324028,
0.005021016113460064,
-0.021375183016061783,
-0.007020456250756979,
-0.00693079549819231,
0.01130625233054161,
-0.010275150649249554,
0.003221071558073163,
0.03823145106434822,
0.012409082613885403,
0.011413845233619213,
0.06695883721113205,
-0.0011566269677132368,
-0.01422023493796587,
-0.034142907708883286,
0.0383390448987484,
0.06724575161933899,
0.007419447880238295,
-0.006029702257364988,
-0.023024944588541985,
-0.017188014462590218,
-0.005801066756248474,
-0.03568507730960846,
-0.01638106442987919,
0.03941497579216957,
0.047341007739305496,
0.007168396841734648,
0.03765761852264404,
0.031955182552337646,
0.030592333525419235
]
|
29,286 | markupsafe | __radd__ | null | def __radd__(self, other: t.Union[str, "HasHTML"]) -> "te.Self":
if isinstance(other, str) or hasattr(other, "__html__"):
return self.escape(other).__add__(self)
return NotImplemented
| (self, other: Union[str, ForwardRef('HasHTML')]) -> 'te.Self' | [
-0.06075854226946831,
-0.07453234493732452,
0.02952277846634388,
0.0615975558757782,
-0.031952422112226486,
-0.026393957436084747,
-0.006869420874863863,
0.00973604992032051,
0.04041247069835663,
-0.032826393842697144,
0.07628028839826584,
-0.012052075937390327,
0.03314102441072464,
0.06865925341844559,
-0.025117959827184677,
0.026201684027910233,
0.00578132551163435,
0.00887081678956747,
-0.009334022179245949,
-0.04866276681423187,
-0.042894553393125534,
0.03418979048728943,
0.08173387497663498,
0.006441174540668726,
0.03134064003825188,
0.08641836047172546,
-0.0022144268732517958,
-0.02141231670975685,
-0.04457257688045502,
0.025380151346325874,
0.02885855920612812,
-0.06764544546604156,
0.025030560791492462,
-0.0353609137237072,
0.07152587920427322,
-0.01830097660422325,
-0.08201354742050171,
0.004881134256720543,
0.006698996294289827,
0.035343434661626816,
-0.022775713354349136,
0.0029518408700823784,
0.015425608493387699,
-0.05963985621929169,
0.003980943001806736,
-0.030396750196814537,
-0.012410404160618782,
0.04425795003771782,
-0.006275119725614786,
-0.0018058449495583773,
0.020503386855125427,
0.0368117056787014,
-0.04086693748831749,
-0.006331928074359894,
-0.03852469101548195,
0.04971153289079666,
-0.013380513526499271,
0.0824330523610115,
-0.008888296782970428,
0.055689502507448196,
-0.008582406677305698,
-0.02251352183520794,
-0.013293116353452206,
-0.011772404424846172,
0.005156435538083315,
-0.014167088083922863,
-0.03775559738278389,
-0.007572968490421772,
0.009473857469856739,
0.03013455867767334,
-0.037231214344501495,
0.005348709411919117,
-0.011012048460543156,
0.0340149961411953,
-0.01539938896894455,
0.013162020593881607,
0.00154693063814193,
0.012794951908290386,
0.04226529225707054,
0.010942131280899048,
0.10187019407749176,
0.011387856677174568,
-0.010662459768354893,
-0.03057154454290867,
-0.04876764491200447,
-0.016701607033610344,
-0.07935667037963867,
-0.04009784013032913,
0.0012967560905963182,
-0.05799679085612297,
0.002473341068252921,
-0.02597445249557495,
-0.017593059688806534,
-0.03814014419913292,
0.04160107299685478,
0.01990908570587635,
-0.00998076144605875,
-0.054955366998910904,
-0.0015076019335538149,
-0.005890571977943182,
0.0005317574250511825,
0.07886724174022675,
0.03418979048728943,
-0.027110615745186806,
0.03263412043452263,
0.012218130752444267,
-0.0067689139395952225,
-0.019594455137848854,
-0.035448309034109116,
0.012008377350866795,
0.014953662641346455,
0.001423482084646821,
-0.03217965364456177,
0.010933391749858856,
0.027163052931427956,
0.0004880588094238192,
-0.030449189245700836,
-0.010557583533227444,
0.05369684845209122,
0.012768732383847237,
0.020975330844521523,
0.0115626510232687,
0.007118503097444773,
0.006650927942246199,
-0.021726947277784348,
0.05110989138484001,
0.00246023153886199,
-0.04359373077750206,
-0.004175401758402586,
-0.07453234493732452,
0.05743744969367981,
0.024558616802096367,
0.004136072937399149,
0.009124268777668476,
0.05460577830672264,
0.031323160976171494,
-0.033175982534885406,
0.022146454080939293,
-0.0073588453233242035,
0.003596395254135132,
0.01940218172967434,
-0.01192971970885992,
0.07635020464658737,
0.037895429879426956,
-0.09068334847688675,
0.006310078781098127,
-0.052228573709726334,
0.028596367686986923,
0.009115529246628284,
-0.0014169273199513555,
-0.006484873127192259,
-0.02679598517715931,
0.04481729120016098,
0.05715777724981308,
-0.025117959827184677,
0.049676574766635895,
0.037790555506944656,
0.033560529351234436,
-0.000008551954124413896,
-0.009246625006198883,
0.040447428822517395,
-0.05097005516290665,
0.02796710841357708,
0.002709313528612256,
0.002650320529937744,
0.007778352126479149,
0.06215689703822136,
-0.04020271822810173,
-0.004227840341627598,
0.046740029007196426,
0.047893673181533813,
-0.028613846749067307,
0.00021466940233949572,
0.05369684845209122,
-0.04558638483285904,
0.015224594622850418,
-0.013974814675748348,
0.04492216557264328,
-0.045901015400886536,
-0.016649169847369194,
0.043733566999435425,
-0.023335056379437447,
-0.04188074544072151,
-0.02669110894203186,
0.04887252300977707,
-0.030728859826922417,
-0.007127242628484964,
0.01823105849325657,
0.05415131151676178,
-0.0003670683072414249,
0.05694802477955818,
-0.026219163089990616,
-0.025257794186472893,
-0.025275273248553276,
-0.05320742353796959,
-0.04827821999788284,
-0.04736929014325142,
-0.0334906131029129,
0.04474737122654915,
0.07488193362951279,
-0.07851765304803848,
0.029994724318385124,
-0.008525597862899303,
0.018283497542142868,
0.02378952130675316,
-0.055514708161354065,
-0.018545689061284065,
-0.0011361637152731419,
-0.010889693163335323,
-0.0402376763522625,
0.0052482024766504765,
-0.028876038268208504,
-0.025100478902459145,
0.034277185797691345,
0.03219713270664215,
-0.029505299404263496,
-0.03018699772655964,
-0.024121630936861038,
-0.030728859826922417,
-0.014368101954460144,
0.04488720744848251,
0.020223714411258698,
0.027163052931427956,
-0.005082148127257824,
0.017820291221141815,
-0.05726265534758568,
-0.0017435743939131498,
-0.015862593427300453,
0.028229299932718277,
0.05366189032793045,
0.05960489809513092,
0.007153461687266827,
0.0335954874753952,
-0.02684842422604561,
0.010872213169932365,
0.00967487134039402,
-0.005379298236221075,
0.010382789187133312,
0.0008046005968935788,
0.016046129167079926,
-0.03196990117430687,
0.0036575733684003353,
-0.025607382878661156,
0.025887055322527885,
-0.032616641372442245,
-0.023772042244672775,
-0.023894397541880608,
0.0397132933139801,
0.008914515376091003,
0.014962403103709221,
0.02424398623406887,
0.00198828661814332,
-0.05086517706513405,
-0.02630656026303768,
-0.008914515376091003,
-0.004916093312203884,
-0.0016616395441815257,
-0.04397827759385109,
0.025310233235359192,
0.02011883817613125,
0.05820654332637787,
0.002333505544811487,
0.04254496470093727,
-0.019209906458854675,
-0.07439250499010086,
-0.0066159688867628574,
-0.037231214344501495,
0.024086670950055122,
-0.01512845791876316,
0.013695143163204193,
-0.01095087081193924,
-0.05069038271903992,
0.021989138796925545,
0.030956093221902847,
-0.0200139619410038,
0.0013240678235888481,
0.017488181591033936,
0.03894419968128204,
-0.03396255522966385,
-0.03758080303668976,
-0.010741117410361767,
0.012174432165920734,
0.0009275029296986759,
-0.058346379548311234,
0.0044288537465035915,
0.012349226512014866,
0.025677300989627838,
-0.017986346036195755,
-0.003312354441732168,
-0.0368117056787014,
0.04083197936415672,
-0.019646894186735153,
0.008774680085480213,
0.02880612201988697,
0.018458291888237,
0.01250654086470604,
-0.01618596352636814,
-0.044013235718011856,
0.03635723888874054,
-0.010304131545126438,
-0.05977969244122505,
-0.005768216215074062,
0.020171277225017548,
0.007240858860313892,
-0.051739148795604706,
-0.07579085975885391,
0.0320398174226284,
0.04499208554625511,
-0.014612814411520958,
0.027145573869347572,
-0.03480156883597374,
0.04960665851831436,
-0.06816982477903366,
0.034224748611450195,
0.01240166462957859,
0.02707565575838089,
0.022723276168107986,
0.00664218794554472,
-0.012751253321766853,
0.014840046875178814,
-0.022216372191905975,
-0.03321094065904617,
-0.03730113059282303,
-0.0555846281349659,
0.03862956911325455,
-0.03999296575784683,
-0.0008919978281483054,
-0.02419154904782772,
0.03943362087011337,
0.008630475029349327,
0.007756502833217382,
-0.021831823512911797,
0.04121652618050575,
0.011055747047066689,
-0.07173563539981842,
-0.027652477845549583,
0.03036179207265377,
0.005335599649697542,
-0.026830945163965225,
-0.01301344484090805,
0.018947714939713478,
0.04971153289079666,
0.005707038100808859,
-0.026219163089990616,
0.02095785178244114,
-0.024558616802096367,
-0.022723276168107986,
0.01774163357913494,
0.06827469915151596,
-0.009543775580823421,
-0.04880260303616524,
-0.041775867342948914,
0.0260268896818161,
-0.04792863130569458,
-0.010749856941401958,
-0.012777472846210003,
-0.03551822900772095,
0.08481025695800781,
0.012794951908290386,
-0.05502528324723244,
0.06289103627204895,
-0.020590784028172493,
-0.0370214581489563,
0.01673656702041626,
-0.08138428628444672,
-0.009928323328495026,
-0.019314784556627274,
0.04792863130569458,
-0.04866276681423187,
0.006122174672782421,
0.02352732978761196,
0.0029649503994733095,
0.009403940290212631,
-0.07173563539981842,
0.006764544174075127,
0.014193307608366013,
0.018895277753472328,
0.04097181186079979,
-0.049396906048059464,
-0.06474385410547256,
0.0400279238820076,
0.06100325286388397,
-0.03904907405376434,
-0.004968531429767609,
0.05327733978629112,
0.012244349345564842,
0.04621564596891403,
-0.015521745197474957,
0.051354601979255676,
0.03985312953591347,
0.001561132725328207,
-0.02625412307679653,
0.03495888411998749,
0.039223868399858475,
-0.10417747497558594,
-0.028543930500745773,
-0.011186842806637287,
-0.019559497013688087,
-0.03946858271956444,
0.04135636240243912,
0.04569126293063164,
0.012821171432733536,
0.03747592493891716,
0.022758234292268753,
0.011999636888504028,
0.059185393154621124,
0.022146454080939293,
-0.012987226247787476,
-0.04264983907341957,
0.015180896036326885,
-0.06851941347122192,
-0.05841629579663277,
-0.06212193891406059,
-0.010854734107851982,
-0.02857888862490654,
-0.025712259113788605,
0.044118113815784454,
-0.016212182119488716,
-0.017418265342712402,
0.021097688004374504,
-0.05439602583646774,
0.014420540072023869,
-0.04041247069835663,
0.06212193891406059,
-0.03834989666938782,
0.005737626925110817,
0.03429466485977173,
-0.000635268515907228,
-0.009692351333796978,
-0.005632750224322081,
0.021657029166817665,
-0.003581100841984153,
0.0010973812313750386,
0.009421419352293015,
0.03901411592960358,
-0.0307463388890028,
-0.04079701751470566,
-0.0647088959813118,
0.025589903816580772,
0.004500956274569035,
0.009963282383978367,
-0.013904896564781666,
-0.027897190302610397,
0.05764720216393471,
0.012497801333665848,
-0.09313046932220459,
-0.0030108338687568903,
0.026621190831065178,
-0.014184568077325821,
-0.0035767308436334133,
0.058066707104444504,
0.05058550834655762,
-0.024174068123102188,
0.023649685084819794,
-0.01520711462944746,
-0.018982674926519394,
0.055374875664711,
-0.05960489809513092,
-0.027932148426771164,
0.06306582689285278,
-0.04558638483285904,
0.06960313767194748,
0.023002946749329567,
0.06505848467350006,
-0.027320368215441704,
0.019646894186735153,
0.016823964193463326,
-0.03943362087011337,
-0.06345037370920181,
0.005807544570416212,
0.010723638348281384,
-0.058695968240499496,
0.04418803006410599,
-0.014647772535681725,
-0.006624708883464336,
0.027477683499455452,
-0.01950705796480179,
-0.06292599439620972,
-0.01751440204679966,
-0.04803350940346718,
0.022163933143019676,
-0.00014625377662014216,
0.0035679913125932217,
-0.007258338388055563,
-0.0028141902294009924,
0.004048675764352083,
0.0894947424530983,
0.04107668995857239,
0.06785519421100616,
0.064289391040802,
0.0045096962712705135,
0.04030759632587433,
-0.07376324385404587,
0.037336088716983795,
-0.003041422925889492,
0.013948595151305199,
0.00014147424371913075,
-0.0080099543556571,
-0.029487820342183113,
-0.017269689589738846,
0.00010856372682610527,
-0.08180379122495651,
-0.0003856401890516281,
0.009124268777668476,
0.06879908591508865,
0.013765061274170876,
-0.008639214560389519,
0.04782375320792198,
0.009150488302111626,
0.021272482350468636,
-0.023282617330551147,
-0.024785850197076797,
0.03160283342003822,
-0.011920980177819729,
0.06474385410547256,
-0.005073408130556345,
-0.011527691967785358,
0.0199615228921175,
-0.028596367686986923,
-0.038279980421066284,
-0.0100069809705019,
-0.009377720765769482,
-0.05789191275835037,
-0.09375973045825958,
-0.01740952394902706,
-0.0092291459441185,
-0.03758080303668976,
0.020223714411258698,
0.0038105184212327003,
-0.024156589061021805,
-0.04041247069835663,
0.010880952700972557,
-0.021709468215703964,
-0.02962765470147133,
-0.02057330310344696,
0.04555142670869827,
-0.06215689703822136,
0.040622223168611526,
0.048627808690071106,
0.006607229355722666,
0.00013553396274801344,
0.007647255901247263,
-0.006043517030775547,
-0.01978672854602337,
-0.03373532369732857,
0.012943527661263943,
-0.006799503229558468,
0.02457609586417675,
-0.012331746518611908,
0.026988258585333824,
-0.0948784127831459,
-0.019105030223727226,
-0.0035024431999772787,
0.09732553362846375,
0.026988258585333824,
0.004850545432418585,
-0.02691834233701229,
0.0368117056787014,
0.02623664401471615,
0.053626928478479385,
0.02819433994591236,
-0.023002946749329567,
0.036776747554540634,
-0.02725045010447502,
-0.025327712297439575,
0.0009520833846181631,
0.003963463474065065,
-0.0010416655568405986,
-0.016334539279341698,
0.012532760389149189,
-0.005645859986543655,
-0.02429642528295517,
-0.03698650002479553,
-0.03632228076457977,
-0.019192427396774292,
0.024034233763813972,
-0.05775207653641701,
0.03786047175526619,
-0.01456911489367485,
0.018091222271323204,
-0.09655643999576569,
0.02541510947048664,
0.05320742353796959,
-0.024785850197076797,
0.03237192705273628,
-0.0199615228921175,
-0.020485905930399895,
0.05922035127878189,
-0.05317246541380882,
0.005444846581667662,
-0.03158535435795784,
-0.028998395428061485,
0.02691834233701229,
-0.04097181186079979,
0.03932874649763107,
-0.02618420496582985,
-0.014507937245070934,
-0.005348709411919117,
-0.03593773394823074,
-0.01695505902171135,
0.06925354897975922,
-0.02246108278632164,
0.0366019532084465,
0.003041422925889492,
0.02039850875735283,
0.0713510811328888,
-0.026393957436084747,
0.0107848159968853,
-0.029592696577310562,
-0.039223868399858475,
0.06016424298286438,
0.05593421682715416,
0.056178927421569824,
-0.004964161664247513,
0.0030436080414801836,
-0.029033353552222252,
-0.06072358414530754,
-0.01940218172967434,
-0.02424398623406887,
0.02434886433184147,
0.015390649437904358,
0.02218141220510006,
-0.07397300004959106,
0.0183534137904644,
-0.061702433973550797,
-0.041286442428827286,
0.00586435291916132,
0.02073061838746071,
0.03487148880958557,
-0.019367221742868423,
-0.011213062331080437,
-0.013695143163204193,
0.0247334111481905,
-0.019437139853835106,
-0.04509695991873741,
-0.006039147265255451,
0.03448693826794624,
0.031113408505916595,
0.013581526465713978,
0.0018451736541464925,
0.016325799748301506,
-0.005147696007043123,
-0.11361637711524963,
0.047404248267412186,
-0.06009432300925255,
0.05103997141122818,
-0.034731652587652206,
-0.06715601682662964,
-0.039678335189819336,
-0.011536432430148125,
0.006782023701816797,
0.02623664401471615,
0.04918714985251427,
-0.0005145510658621788,
0.019384702667593956,
0.027093136683106422,
0.015556704252958298,
-0.0008417444187216461,
-0.01807374320924282,
0.027285410091280937,
0.010251693427562714,
-0.023492371663451195,
0.038175102323293686,
-0.00834206398576498,
-0.012899828143417835,
0.02095785178244114,
0.037336088716983795,
-0.0017730710096657276,
0.02635899931192398,
-0.035448309034109116,
-0.0027617518790066242,
0.0022144268732517958,
-0.07257464528083801,
-0.005689558573067188,
-0.0035461420193314552,
0.013852458447217941,
-0.00433708680793643,
-0.039678335189819336,
0.0091767068952322,
-0.01896519586443901,
-0.03231948986649513,
0.005274422001093626,
-0.06837958097457886,
-0.028124423697590828,
-0.057577282190322876,
0.030728859826922417,
0.014944923110306263,
0.03252924233675003,
0.03904907405376434,
-0.10270920395851135,
0.012305527925491333,
-0.056913066655397415,
0.004136072937399149,
0.0036969021894037724,
0.05771711841225624,
0.03908403217792511,
0.014411800540983677,
-0.09536784142255783,
-0.0073588453233242035,
-0.01917494833469391,
0.036112528294324875,
0.03308858349919319,
0.012926047667860985,
-0.05988457053899765,
0.02413910999894142,
0.00289940251968801,
0.008464420214295387,
0.016972538083791733,
0.05677323043346405,
-0.0292431078851223,
-0.006052257027477026,
0.05953498184680939,
0.009159227833151817,
-0.01863308623433113,
-0.008831487968564034,
-0.028159381821751595,
0.09606701880693436,
0.010749856941401958,
-0.003500258317217231,
0.018283497542142868,
-0.020783057436347008,
0.011851062066853046,
0.07858757674694061,
-0.019192427396774292,
-0.015547963790595531,
0.02263587899506092,
-0.02707565575838089,
-0.04729937016963959,
0.013992293737828732,
0.025152917951345444,
-0.009963282383978367,
0.08746713399887085,
0.03046666830778122,
0.016220923513174057,
-0.018370894715189934,
-0.0355706661939621,
-0.04380348324775696,
0.015836374834179878,
0.033508092164993286,
0.017112374305725098,
0.02952277846634388,
0.002554183593019843,
0.029400423169136047,
-0.035395871847867966,
0.03326337784528732,
-0.0353609137237072,
0.021377358585596085,
0.0551651194691658,
-0.02796710841357708,
0.042335208505392075,
0.02296798676252365,
0.015661580488085747,
-0.013869937509298325,
0.01873796246945858,
0.09243129193782806,
0.07439250499010086,
-0.008390132337808609,
0.032004859298467636,
0.026044368743896484,
0.005357448942959309,
-0.006546051241457462,
0.023894397541880608,
0.019314784556627274,
0.00394816929474473,
-0.007227749563753605,
0.001189694507047534,
-0.04649531841278076,
0.0555846281349659
]
|
29,287 | markupsafe | __repr__ | null | def __repr__(self) -> str:
return f"{self.__class__.__name__}({super().__repr__()})"
| (self) -> str | [
-0.0001517173514002934,
-0.05594172701239586,
0.0692862719297409,
0.039998508989810944,
0.0023769966792315245,
-0.058118995279073715,
-0.00010644906433299184,
0.00225189165212214,
0.048883166164159775,
-0.044282808899879456,
-0.027760159224271774,
0.013081163167953491,
-0.010447371751070023,
0.044669099152088165,
-0.010473709553480148,
0.017936117947101593,
0.010798544622957706,
-0.0725521668791771,
-0.010403475724160671,
0.003527085529640317,
0.01552181039005518,
0.04568750038743019,
0.03135967627167702,
-0.06264911592006683,
0.0006041259039193392,
0.09509742259979248,
-0.04189483821392059,
0.009490427561104298,
-0.025021016597747803,
-0.009139255620539188,
-0.09432484209537506,
-0.05144672468304634,
0.0007917835027910769,
0.0009344472200609744,
0.005710937548428774,
0.013669377192854881,
-0.07206053286790848,
0.032852157950401306,
-0.05123601853847504,
0.01111459918320179,
0.04343999922275543,
0.006593257654458284,
-0.03492407128214836,
-0.04052526876330376,
-0.008875876665115356,
-0.012168115936219692,
0.07339498400688171,
-0.0005926030571572483,
-0.014125900343060493,
-0.05415074899792671,
0.030622214078903198,
0.023230038583278656,
-0.02150929532945156,
-0.006676660850644112,
-0.040911559015512466,
0.024353789165616035,
0.03538059443235397,
-0.01244905311614275,
-0.025793595239520073,
0.053904928267002106,
-0.0497259795665741,
0.020473336800932884,
0.03567909076809883,
-0.03063977137207985,
-0.0172601118683815,
-0.035872235894203186,
-0.02612720988690853,
-0.007734566926956177,
-0.016022229567170143,
0.011597461067140102,
0.027795277535915375,
-0.036627259105443954,
-0.031166529282927513,
0.03450266644358635,
0.008011114783585072,
-0.033203329890966415,
-0.023317832499742508,
-0.0009980971226468682,
0.036627259105443954,
-0.05685477331280708,
0.013537687249481678,
-0.025038575753569603,
-0.03157037869095802,
-0.005855795927345753,
-0.003858504118397832,
-0.07515084743499756,
-0.03229027986526489,
-0.053062114864587784,
-0.05566078796982765,
0.010930233635008335,
-0.040806207805871964,
0.025424866005778313,
-0.025231720879673958,
0.036662373691797256,
-0.023897266015410423,
-0.0307100061327219,
-0.0006364995497278869,
-0.06029626354575157,
0.05864575132727623,
-0.012203233316540718,
0.045441679656505585,
0.017901001498103142,
-0.024336231872439384,
-0.02180779166519642,
-0.03905034437775612,
-0.012782666832208633,
-0.0497610978782177,
0.03641655296087265,
-0.004132857546210289,
-0.020631365478038788,
-0.02373923920094967,
0.0574868842959404,
-0.0042799110524356365,
-0.003160549560561776,
0.032729245722293854,
-0.04150855168700218,
-0.0004565238195937127,
0.034291964024305344,
0.07167424261569977,
-0.0022134820464998484,
0.0025064912624657154,
0.03610049933195114,
-0.036662373691797256,
0.0009558467427268624,
-0.03645167127251625,
0.041613902896642685,
-0.03803194686770439,
-0.008406183682382107,
0.006597646977752447,
-0.07543177902698517,
0.02421332150697708,
0.008041842840611935,
-0.07002373039722443,
-0.0013168955920264125,
0.07908397167921066,
0.04491491988301277,
0.02370412088930607,
0.042772769927978516,
0.009464089758694172,
0.11061923205852509,
0.0037377888802438974,
-0.027707483619451523,
0.02988475188612938,
0.0461089052259922,
-0.026250120252370834,
0.0020082658156752586,
0.0037070612888783216,
0.10022453963756561,
0.005456337705254555,
-0.04038479924201965,
0.006483516190201044,
0.05091996490955353,
0.03869917243719101,
0.011448212899267673,
0.005315868649631739,
0.03344915062189102,
-0.024704962968826294,
-0.009701130911707878,
0.008450080640614033,
-0.03669749200344086,
-0.035538624972105026,
-0.035064540803432465,
0.01479312777519226,
-0.03985804319381714,
0.013739611022174358,
0.003375642467290163,
0.01919155940413475,
-0.04797011986374855,
0.02447669953107834,
0.003560007782652974,
-0.03596002981066704,
-0.08519437164068222,
-0.017268892377614975,
0.0574166513979435,
-0.006400112994015217,
0.07486990839242935,
-0.0036521905567497015,
0.10886337608098984,
-0.02646082267165184,
-0.013783507980406284,
0.07571271806955338,
-0.0576624721288681,
-0.05411563068628311,
-0.010798544622957706,
0.05516914650797844,
-0.06243841350078583,
0.043931636959314346,
0.0020817925687879324,
0.046565428376197815,
0.013476232066750526,
-0.022808631882071495,
0.019349586218595505,
-0.023212481290102005,
0.009262165986001492,
0.00774773582816124,
-0.025986740365624428,
-0.010456151328980923,
-0.05703036114573479,
0.018138041719794273,
0.004286495503038168,
-0.006435229908674955,
0.09081312268972397,
-0.025811154395341873,
-0.0035841509234160185,
0.028690766543149948,
0.0033493046648800373,
0.03789147734642029,
-0.03401102498173714,
0.006347436923533678,
-0.031991783529520035,
0.008507145568728447,
0.011395537294447422,
0.005535351112484932,
0.002246404532343149,
0.01806780882179737,
-0.04112226143479347,
-0.03562641516327858,
-0.037434954196214676,
-0.04807547107338905,
0.03571420907974243,
0.06995349377393723,
-0.00863883551210165,
-0.01090389583259821,
-0.015311107039451599,
-0.062333058565855026,
-0.015117961913347244,
0.028128890320658684,
-0.043510232120752335,
0.0047891102731227875,
-0.013046045787632465,
0.007449239492416382,
-0.04417745769023895,
-0.014477072283625603,
0.028093773871660233,
-0.0043940418399870396,
0.06317587196826935,
-0.04133296385407448,
0.008682731539011002,
-0.025196602568030357,
0.010982909239828587,
-0.035134777426719666,
0.027689926326274872,
0.019332028925418854,
-0.014635100029408932,
0.05875110253691673,
-0.06261400133371353,
-0.0017887832364067435,
0.0499718002974987,
-0.028567856177687645,
-0.018577007576823235,
0.04554703086614609,
-0.045863084495067596,
-0.03645167127251625,
-0.02454693429172039,
0.018664801493287086,
-0.05320258438587189,
-0.05780293792486191,
-0.01683870516717434,
0.02877855859696865,
0.04491491988301277,
-0.026776878163218498,
0.008634446188807487,
0.003178108250722289,
0.032360516488552094,
0.009674793109297752,
-0.004942748229950666,
-0.06324610859155655,
0.0006337560480460525,
-0.022000936791300774,
-0.0029783789068460464,
0.13337519764900208,
-0.002269450109452009,
-0.05453703925013542,
0.051165785640478134,
-0.03862893953919411,
-0.03957710415124893,
-0.02995498664677143,
0.017119644209742546,
-0.07746858149766922,
-0.07012908160686493,
0.02231699228286743,
-0.011246289126574993,
0.020209958776831627,
-0.009929393418133259,
0.019402261823415756,
-0.039296165108680725,
0.0035007474943995476,
-0.02447669953107834,
0.02456449344754219,
0.029357993975281715,
0.06451033055782318,
0.021544411778450012,
0.001011266140267253,
0.033940792083740234,
0.03718913346529007,
-0.02561800926923752,
0.0614551305770874,
0.03141235187649727,
-0.02986719273030758,
0.0030661721248179674,
0.01915644109249115,
-0.019086208194494247,
0.07041002064943314,
0.040911559015512466,
-0.054958444088697433,
-0.03792659565806389,
0.005127113778144121,
0.0268646702170372,
-0.008845148608088493,
-0.00999084860086441,
-0.010868778452277184,
0.052043717354536057,
0.023282714188098907,
0.050077151507139206,
0.014283928088843822,
0.0651775524020195,
-0.0016142945969477296,
-0.009595779702067375,
0.017505932599306107,
0.07592342048883438,
-0.03134211525321007,
0.03021836467087269,
-0.02568824402987957,
0.03214981406927109,
0.02075427584350109,
-0.03453778475522995,
-0.03725936636328697,
0.04052526876330376,
0.009885496459901333,
0.025038575753569603,
-0.017936117947101593,
-0.06710900366306305,
0.02795330435037613,
0.0041438317857682705,
-0.019648082554340363,
0.017655180767178535,
0.03376520425081253,
0.01652265153825283,
-0.02533707208931446,
-0.04631960764527321,
0.07241170108318329,
0.05639825016260147,
-0.008142804726958275,
-0.007273653522133827,
-0.04519585892558098,
0.040419917553663254,
-0.015653500333428383,
0.033150654286146164,
0.053132347762584686,
0.007212198339402676,
-0.03258877620100975,
-0.04709218814969063,
0.0011281406041234732,
-0.03255366161465645,
-0.02342318370938301,
-0.006768843624740839,
-0.003070561680942774,
0.023844590410590172,
-0.036170732229948044,
0.026162326335906982,
0.030376393347978592,
-0.02614476904273033,
-0.01187839824706316,
0.04365070164203644,
-0.02379191480576992,
0.00044856758904643357,
0.01880526915192604,
0.019068649038672447,
0.04628449305891991,
-0.018260952085256577,
-0.044669099152088165,
0.023124687373638153,
-0.00364560610614717,
-0.04628449305891991,
-0.050744377076625824,
0.03302774205803871,
0.01584664359688759,
0.010622957721352577,
-0.018208276480436325,
-0.05787317454814911,
0.06602036952972412,
-0.007159522734582424,
0.0041438317857682705,
0.015688616782426834,
-0.02414308674633503,
-0.004271131474524736,
0.014652659185230732,
0.04027944803237915,
0.02765480801463127,
0.004225040320307016,
-0.039998508989810944,
-0.02649594098329544,
0.0014255394926294684,
-0.004429159220308065,
-0.0460035540163517,
-0.059629034250974655,
-0.00286863767541945,
-0.036170732229948044,
-0.06798693537712097,
-0.009745027869939804,
0.009341179393231869,
-0.010587841272354126,
0.012194453738629818,
-0.027531897649168968,
0.015600823797285557,
0.016241712495684624,
0.02795330435037613,
-0.004462081473320723,
0.004508172627538443,
-0.06289493292570114,
-0.01458242442458868,
-0.019332028925418854,
-0.07367592304944992,
-0.034362196922302246,
0.07529131323099136,
-0.029270200058817863,
-0.029252640902996063,
-0.0021191046107560396,
0.020526014268398285,
-0.026601292192935944,
-0.026601292192935944,
0.06342169642448425,
0.019806111231446266,
0.03887476027011871,
-0.029024379327893257,
0.05871598795056343,
-0.05257047340273857,
0.05899692326784134,
0.05218418315052986,
0.024459142237901688,
-0.04716242104768753,
0.014494631439447403,
0.012405157089233398,
0.012738770805299282,
0.027022698894143105,
-0.07774952054023743,
0.018629683181643486,
-0.02684711292386055,
-0.04379117116332054,
0.06647688895463943,
0.0045213415287435055,
-0.03529280424118042,
-0.00604455079883337,
0.018717477098107338,
0.02412552759051323,
0.015074065886437893,
-0.045792851597070694,
0.002820351393893361,
0.0172776710242033,
0.01076342724263668,
0.027444105595350266,
0.0191388837993145,
-0.01133408211171627,
0.0004540546506177634,
-0.028532739728689194,
-0.041262730956077576,
-0.014705334790050983,
-0.04442327842116356,
0.000628817651886493,
0.002451620763167739,
-0.057346414774656296,
0.05790828913450241,
0.008221818134188652,
0.02449425868690014,
-0.004802279639989138,
-0.02754945680499077,
0.061490248888731,
-0.013054825365543365,
-0.06489662081003189,
-0.016601664945483208,
0.053764458745718,
0.023194922134280205,
-0.029041938483715057,
-0.029814517125487328,
-0.05713571235537529,
0.07241170108318329,
-0.009481648914515972,
-0.008388625457882881,
-0.015249651856720448,
-0.003847530111670494,
-0.06096348911523819,
-0.07325451821088791,
-0.02565312758088112,
0.008002336136996746,
0.00956944189965725,
0.031710848212242126,
-0.003919959533959627,
0.04305370897054672,
0.010456151328980923,
0.02644326537847519,
0.004538900218904018,
0.07125283032655716,
-0.08006725460290909,
0.02187802642583847,
0.01013131719082594,
0.015249651856720448,
-0.014046886935830116,
-0.01596955396234989,
-0.03488895669579506,
-0.010061082430183887,
0.01380984578281641,
-0.021245915442705154,
0.007901374250650406,
0.006356216501444578,
0.022843750193715096,
-0.007374615408480167,
0.07142841815948486,
0.060050442814826965,
0.00796721875667572,
-0.03334379941225052,
0.04266741871833801,
-0.026882229372859,
0.04063061997294426,
-0.01746203564107418,
-0.020490895956754684,
-0.06619595736265182,
0.00012085260823369026,
0.02531951293349266,
0.003961660899221897,
0.017892222851514816,
0.034660693258047104,
0.0005391041631810367,
-0.06675782799720764,
0.00004904064553556964,
-0.03606538102030754,
0.059242743998765945,
0.02224675752222538,
0.04526609182357788,
-0.033536940813064575,
0.07859233021736145,
-0.002934482414275408,
0.018243394792079926,
0.00898122787475586,
0.020842067897319794,
-0.015223314054310322,
0.11385001987218857,
-0.11068946868181229,
0.02073671668767929,
0.011948633007705212,
0.017154760658740997,
0.030025221407413483,
-0.020543571561574936,
0.018629683181643486,
-0.014959934167563915,
-0.004824227653443813,
-0.05608219653367996,
-0.0006655810284428298,
0.004727655556052923,
0.01746203564107418,
-0.01033324096351862,
0.04804035276174545,
-0.03638143837451935,
-0.014547307044267654,
-0.02447669953107834,
-0.002453815657645464,
0.04684636741876602,
0.009446531534194946,
0.028901468962430954,
-0.002418698277324438,
0.03876940906047821,
-0.005311478860676289,
0.048531994223594666,
0.0842110887169838,
-0.015706175938248634,
0.02948090434074402,
0.027514340355992317,
-0.009718690067529678,
0.04133296385407448,
-0.039717573672533035,
-0.02191314287483692,
-0.012861681170761585,
-0.008612497709691525,
0.048145703971385956,
0.009578220546245575,
-0.03218492865562439,
0.05165742710232735,
0.013976652175188065,
0.04751359298825264,
-0.012861681170761585,
-0.008757355622947216,
-0.04294835776090622,
-0.00833594985306263,
-0.03901522979140282,
-0.04245671629905701,
-0.04530121013522148,
-0.013370880857110023,
-0.06763575971126556,
0.0005347144906409085,
0.026601292192935944,
-0.03290483355522156,
-0.041929956525564194,
-0.010227889753878117,
-0.0027259739581495523,
-0.007299991324543953,
0.056152429431676865,
-0.041929956525564194,
0.009393855929374695,
-0.03499430790543556,
-0.004437938332557678,
0.03634632006287575,
0.011369199492037296,
0.015390120446681976,
0.03376520425081253,
0.04495003819465637,
0.04263230040669441,
-0.022913984954357147,
0.02373923920094967,
0.03522256761789322,
-0.04445839673280716,
0.026987580582499504,
-0.022334549576044083,
0.03176352381706238,
0.011790605261921883,
-0.036978431046009064,
-0.01287923939526081,
-0.06366751343011856,
-0.02716316655278206,
0.008274494670331478,
-0.012229571118950844,
0.03327356278896332,
-0.01032446138560772,
0.037013545632362366,
-0.03594247251749039,
0.03023592382669449,
-0.024388907477259636,
0.03216737136244774,
0.00033416226506233215,
-0.016768470406532288,
0.05246512219309807,
-0.04551191255450249,
0.027812836691737175,
0.009657234884798527,
-0.017356684431433678,
-0.09165593981742859,
-0.05060391128063202,
-0.0162504930049181,
0.0013289671624079347,
0.021597089245915413,
-0.03104362078011036,
0.009911834262311459,
0.007769684307277203,
-0.030042778700590134,
-0.07971608638763428,
0.006659102160483599,
-0.07044513523578644,
-0.03332623839378357,
-0.012475390918552876,
-0.06668759882450104,
0.012317364104092121,
-0.04642496258020401,
-0.026215001940727234,
0.043194178491830826,
0.0034919683821499348,
0.021210798993706703,
0.00841935258358717,
-0.011176054365932941,
-0.012861681170761585,
0.027057815343141556,
-0.026355471462011337,
-0.0027237790636718273,
-0.005157841369509697,
-0.03887476027011871,
-0.014652659185230732,
0.001325674937106669,
0.058470167219638824,
0.021965818479657173,
-0.02456449344754219,
-0.01882282830774784,
-0.001929252059198916,
-0.05404539778828621,
-0.010728309862315655,
0.02456449344754219,
-0.047759413719177246,
-0.069040447473526,
-0.06974279135465622,
0.004108714405447245,
0.006294761318713427,
0.011922295205295086,
0.04484468698501587,
-0.06408891826868057,
0.033905673772096634,
-0.006685440428555012,
-0.06247352808713913,
-0.029796957969665527,
0.03757542371749878,
0.06837321817874908,
-0.008827590383589268,
0.019490055739879608,
-0.03481872007250786,
-0.08154217898845673,
-0.028515180572867393,
-0.029656490311026573,
-0.0003204446111340076,
0.018102925270795822,
0.05478285998106003,
0.01416101772338152,
0.02412552759051323,
-0.07118260115385056,
0.010605399496853352,
-0.01776053197681904,
0.03464313596487045,
0.03288727253675461,
0.026970023289322853,
-0.0008384235552512109,
0.04073597118258476,
0.036627259105443954,
0.036205850541591644,
0.018489215523004532,
0.030569536611437798,
0.008006725460290909,
0.03142990916967392,
0.07048025727272034,
0.009938172064721584,
-0.03718913346529007,
-0.01208910159766674,
-0.033888112753629684,
0.0325361005961895,
0.03023592382669449,
-0.03494163230061531,
0.0016164893750101328,
-0.019279351457953453,
0.016320725902915,
0.06352704763412476,
0.002651349874213338,
0.03141235187649727,
0.08751210570335388,
-0.03478360176086426,
-0.04793500155210495,
-0.02528439648449421,
0.018225835636258125,
0.005579248070716858,
0.03460801765322685,
-0.04786476865410805,
-0.0009893178939819336,
0.05713571235537529,
0.00007688750338274986,
0.025512658059597015,
-0.005105165299028158,
0.003123237518593669,
0.01323041133582592,
-0.0019698564428836107,
0.010939013212919235,
-0.004020921420305967,
0.02912973240017891,
0.022176522761583328,
0.036205850541591644,
0.00594358891248703,
0.06858392804861069,
-0.009911834262311459,
0.04175437241792679,
0.03880452364683151,
0.039998508989810944,
-0.04726777598261833,
0.007554591167718172,
0.03225516527891159,
-0.02639058791100979,
0.011632578447461128,
-0.004622303880751133,
0.01210666075348854,
-0.023194922134280205,
-0.035064540803432465,
-0.03425684571266174,
0.03190399333834648,
0.020912302657961845,
-0.005157841369509697,
0.04491491988301277,
-0.008985618129372597,
-0.01610124483704567
]
|
29,289 | markupsafe | capitalize | Return a capitalized version of the string.
More specifically, make the first character have upper case and the rest lower
case. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,290 | markupsafe | casefold | Return a version of the string suitable for caseless comparisons. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.0061517213471233845,
-0.09842754155397415,
0.07670609652996063,
0.030700359493494034,
0.030001403763890266,
0.048783645033836365,
-0.0000528208511241246,
-0.003311086678877473,
0.04996649548411369,
-0.01596848852932453,
0.025287920609116554,
0.03717019781470299,
0.011667212471365929,
-0.007236001547425985,
-0.013047205284237862,
0.040826283395290375,
0.020807424560189247,
-0.0038980317767709494,
0.005587178748100996,
-0.0074331434443593025,
0.01252746768295765,
0.0063578239642083645,
0.04985896125435829,
-0.030861658975481987,
0.023316502571105957,
0.04763663560152054,
-0.004153420217335224,
0.007993205450475216,
-0.00943592470139265,
-0.022277027368545532,
0.04423145949840546,
-0.025449218228459358,
-0.014113563112914562,
0.027474403381347656,
0.06738666445016861,
0.01025137584656477,
-0.09082861989736557,
0.038711488246917725,
-0.01065461989492178,
-0.0880327895283699,
0.027528168633580208,
-0.011461109854280949,
-0.010475399903953075,
-0.04233172908425331,
-0.024463510140776634,
0.0022413681726902723,
0.03713435307145119,
0.03172191232442856,
-0.005941138137131929,
-0.020413141697645187,
0.02423052303493023,
0.02600480057299137,
0.06989574432373047,
-0.006281655747443438,
-0.031542692333459854,
0.025001168251037598,
0.00700749596580863,
0.05914255231618881,
0.06484173983335495,
-0.034894105046987534,
-0.028693098574876785,
0.05527140200138092,
0.0021528785582631826,
0.03561098501086235,
0.005502049345523119,
0.0035664751194417477,
-0.058031387627124786,
-0.005775359459221363,
-0.017491856589913368,
-0.013020321726799011,
0.009964623488485813,
-0.03014477901160717,
-0.02553882822394371,
0.004014524631202221,
-0.02294014021754265,
-0.04942883551120758,
-0.03889070823788643,
-0.021237552165985107,
0.02132716216146946,
0.015484594739973545,
0.01405083667486906,
-0.047457415610551834,
-0.04312029480934143,
0.014489924535155296,
0.016721211373806,
-0.05641840770840645,
-0.06000280752778053,
0.008692163042724133,
-0.008589111268520355,
0.06591705977916718,
0.009185017086565495,
-0.011649290099740028,
-0.010332024656236172,
0.016846666112542152,
-0.019445354118943214,
-0.009010277688503265,
0.02426636777818203,
-0.02930244617164135,
0.059608522802591324,
-0.0036964095197618008,
-0.006823795847594738,
0.03292268514633179,
-0.009391119703650475,
-0.016721211373806,
0.029015693813562393,
-0.02715180814266205,
-0.0046686772257089615,
0.004258711822330952,
-0.02559259533882141,
-0.017850296571850777,
0.019803794100880623,
-0.038747332990169525,
-0.007052300963550806,
-0.023657020181417465,
0.024929480627179146,
-0.02224118262529373,
-0.017312638461589813,
-0.0029481665696948767,
0.031148409470915794,
-0.049213770776987076,
0.04304860904812813,
0.0019445354118943214,
-0.05351504683494568,
-0.05566568672657013,
-0.010726308450102806,
0.06985989958047867,
-0.016497187316417694,
0.03684760257601738,
-0.000823291193228215,
-0.006201006937772036,
0.005761918146163225,
0.08308631926774979,
0.005676788743585348,
0.017429130151867867,
0.04846104606986046,
-0.015834074467420578,
0.022796764969825745,
0.06387395411729813,
-0.04982312023639679,
0.05742204189300537,
-0.0075361947529017925,
-0.0033693332225084305,
0.011720978654921055,
0.044625744223594666,
0.0002532880462240428,
-0.047493260353803635,
0.0459519699215889,
-0.017384326085448265,
0.04272601380944252,
0.005667827557772398,
0.06459083408117294,
-0.0034477419685572386,
0.006783471442759037,
0.005475166253745556,
0.006438473239541054,
0.04939299076795578,
0.054196082055568695,
0.01799367368221283,
0.055844906717538834,
0.011604485101997852,
0.033316969871520996,
-0.012052535079419613,
0.014857325702905655,
-0.015798229724168777,
0.04996649548411369,
0.052081286907196045,
0.03127386420965195,
-0.03559306263923645,
0.05688438192009926,
0.0061965263448655605,
0.03148892894387245,
-0.011971886269748211,
0.00860255304723978,
0.00960618443787098,
0.024069225415587425,
0.04702728986740112,
-0.021864822134375572,
0.04932130128145218,
-0.02012638933956623,
-0.017464974895119667,
0.010780073702335358,
-0.017868218943476677,
-0.031578537076711655,
-0.013262269087135792,
0.04738572984933853,
-0.003288684180006385,
0.05362258106470108,
-0.0005813444149680436,
-0.02767154574394226,
-0.04053952917456627,
0.008459176868200302,
0.003855467075482011,
0.02632739581167698,
-0.01045747846364975,
-0.07462714612483978,
-0.06459083408117294,
-0.03975096344947815,
-0.02808375097811222,
0.06796016544103622,
-0.009310470893979073,
-0.014373431913554668,
0.019839636981487274,
0.03684760257601738,
0.015135115943849087,
0.03096918947994709,
-0.00048613385297358036,
0.0019658177625387907,
-0.003479105420410633,
-0.07412532716989517,
-0.05154363065958023,
0.014140445739030838,
-0.0585690476000309,
-0.039571743458509445,
-0.015601088292896748,
0.0030064128804951906,
0.017447052523493767,
0.04362211003899574,
0.014785638079047203,
-0.019911324605345726,
-0.029965559020638466,
0.02424844540655613,
-0.0017854777397587895,
0.002184242010116577,
-0.03595150262117386,
0.06738666445016861,
-0.012572272680699825,
0.05828229710459709,
-0.016237318515777588,
0.03396216034889221,
0.02681129053235054,
-0.027474403381347656,
0.011559680104255676,
0.01423005573451519,
0.02254585735499859,
0.00608451385051012,
-0.07254819571971893,
0.04523508995771408,
-0.060934748500585556,
-0.004641794133931398,
-0.03978680819272995,
0.027546091005206108,
-0.01273357030004263,
0.025305842980742455,
0.008203788660466671,
0.005071921739727259,
-0.007943919859826565,
-0.0007958481437526643,
0.07770972698926926,
0.0034163782838732004,
0.0019523762166500092,
-0.017850296571850777,
0.03942836821079254,
-0.0010501162614673376,
0.010977216064929962,
-0.0025807658676058054,
0.028209203854203224,
-0.03485826030373573,
-0.011694095097482204,
0.0048971823416650295,
0.012124222703278065,
-0.009507613256573677,
-0.009982545860111713,
-0.012303442694246769,
-0.04018108919262886,
0.047959230840206146,
-0.03444605693221092,
-0.05681269243359566,
-0.017671076580882072,
0.0006916766287758946,
0.04430314525961876,
-0.04215250909328461,
-0.014911091886460781,
0.042869389057159424,
0.011828510090708733,
-0.05312076210975647,
0.025718048214912415,
-0.00981228705495596,
-0.060898903757333755,
0.012903829105198383,
-0.04147147387266159,
0.015592127107083797,
-0.013226425275206566,
-0.009462808258831501,
-0.017886141315102577,
0.019033148884773254,
0.016936276108026505,
0.01808328367769718,
0.083659827709198,
0.05699191242456436,
-0.03516293317079544,
-0.019463276490569115,
0.02589726820588112,
0.05788801237940788,
-0.001969178207218647,
-0.034069694578647614,
0.0029212834779173136,
-0.02299390733242035,
-0.08638396859169006,
0.013557981699705124,
-0.09943117201328278,
-0.012455780059099197,
-0.06168747320771217,
0.01837003417313099,
0.03303021937608719,
0.0419015996158123,
0.007693012244999409,
-0.052117131650447845,
0.0074689872562885284,
-0.011694095097482204,
-0.015108233317732811,
-0.016541991382837296,
0.028746863827109337,
-0.08072061836719513,
0.012590194121003151,
0.008956512436270714,
0.043335359543561935,
-0.009090926498174667,
0.0036247214302420616,
0.032420869916677475,
0.03849642351269722,
0.007706453558057547,
-0.08215437829494476,
0.012563311494886875,
0.02213365212082863,
0.0293741337954998,
-0.019068991765379906,
0.026918821036815643,
-0.03093334659934044,
0.06376641988754272,
0.03503748029470444,
-0.01631796732544899,
-0.010636698454618454,
0.019337821751832962,
-0.030216466635465622,
-0.0837315171957016,
0.010269297286868095,
0.03503748029470444,
0.001985979964956641,
-0.0417223796248436,
-0.023943772539496422,
0.0208791121840477,
0.027474403381347656,
0.004717962350696325,
0.016613680869340897,
-0.07663440704345703,
0.013199541717767715,
-0.00816346425563097,
0.0046462747268378735,
0.09355276077985764,
-0.027062198147177696,
0.06591705977916718,
-0.08459176868200302,
0.03290476277470589,
0.00007406820077449083,
0.016076020896434784,
0.016129786148667336,
-0.008020088076591492,
0.051364410668611526,
-0.021864822134375572,
-0.07706453651189804,
0.05226050689816475,
-0.06229681894183159,
0.0048120529390871525,
-0.006666978355497122,
0.06018202751874924,
0.05304907634854317,
0.04344289004802704,
0.007186715956777334,
0.008270995691418648,
0.07763803750276566,
0.02512662298977375,
-0.008073854260146618,
-0.0038980317767709494,
-0.07362351566553116,
-0.029911793768405914,
-0.014982779510319233,
-0.04265432432293892,
0.025718048214912415,
-0.04053952917456627,
-0.03691928833723068,
0.03322736173868179,
-0.00025916870799846947,
0.043693799525499344,
-0.03130970895290375,
0.03428475558757782,
-0.02557467296719551,
0.01379992812871933,
0.043263670057058334,
0.012715647928416729,
-0.019517041742801666,
-0.023531565442681313,
0.019839636981487274,
-0.001351989689283073,
-0.00943592470139265,
-0.052941542118787766,
-0.028621410951018333,
0.02804790623486042,
0.010367868468165398,
0.014785638079047203,
0.023603254929184914,
0.020699892193078995,
-0.032868921756744385,
0.06333629786968231,
-0.02763570100069046,
0.04770832508802414,
0.043693799525499344,
0.0009605063823983073,
0.012115261517465115,
0.01718718372285366,
0.042116664350032806,
-0.016407577320933342,
-0.02381831780076027,
-0.023943772539496422,
-0.03906992822885513,
0.04724235087633133,
0.003277482930570841,
-0.07835491746664047,
0.0037277729716151953,
-0.06509265303611755,
-0.05724282190203667,
-0.012778375297784805,
-0.03313774988055229,
-0.00816346425563097,
0.06469836831092834,
0.01339668408036232,
0.011676173657178879,
-0.011837471276521683,
-0.017276793718338013,
0.04412392899394035,
0.009090926498174667,
-0.03229541704058647,
-0.03441021218895912,
-0.04774416983127594,
-0.01885392889380455,
0.013629669323563576,
0.01713341847062111,
-0.02222326211631298,
-0.008270995691418648,
0.05390933156013489,
0.04817429557442665,
0.03050321899354458,
0.042905233800411224,
0.011873315088450909,
0.0031184253748506308,
0.045844439417123795,
-0.010591893456876278,
-0.017025886103510857,
0.06140071898698807,
0.034463975578546524,
-0.007975283078849316,
0.07821154594421387,
0.060934748500585556,
0.05150778591632843,
-0.01316369790583849,
0.004346081521362066,
-0.048425205051898956,
0.039535898715257645,
-0.05652594193816185,
-0.036614615470170975,
0.04222419857978821,
0.03096918947994709,
-0.0035507932770997286,
-0.004910624120384455,
0.0008708964451216161,
-0.005793281830847263,
0.012393052689731121,
-0.009292549453675747,
-0.0014595217071473598,
-0.060898903757333755,
0.0037680973764508963,
0.04476911947131157,
-0.04111303389072418,
-0.030628671869635582,
0.025001168251037598,
0.05494880676269531,
0.04821014031767845,
-0.024929480627179146,
-0.0072852871380746365,
0.019051069393754005,
0.030628671869635582,
-0.019821714609861374,
-0.008615993894636631,
0.012007730081677437,
0.0272055733948946,
-0.04652547463774681,
0.007083664648234844,
0.08466345816850662,
0.0015256089391186833,
0.028764786198735237,
0.06627549976110458,
-0.01795782893896103,
0.10760359466075897,
0.046597160398960114,
-0.0018605260411277413,
-0.007831907831132412,
-0.03853226825594902,
-0.008736968040466309,
0.004523060750216246,
-0.04656131565570831,
-0.07477052509784698,
-0.012643960304558277,
-0.05322829633951187,
-0.014794598333537579,
0.007840868085622787,
0.066813163459301,
-0.054554522037506104,
-0.021470537409186363,
0.021649757400155067,
-0.037887077778577805,
-0.024588963016867638,
-0.011156436055898666,
-0.025664282962679863,
0.005273544229567051,
-0.022492092102766037,
-0.01878223940730095,
-0.01844172179698944,
0.015009662136435509,
-0.009776443243026733,
-0.015412907116115093,
-0.03392631933093071,
0.037492793053388596,
0.02046690694987774,
-0.03586189076304436,
-0.03304814174771309,
0.009337354451417923,
-0.0020923917181789875,
0.06491342931985855,
0.026703758165240288,
-0.006035228259861469,
0.023280657827854156,
-0.03441021218895912,
-0.0036135201808065176,
0.011640328913927078,
-0.03016270138323307,
-0.02294014021754265,
0.06355135887861252,
-0.09921611100435257,
0.04864026606082916,
0.05114934593439102,
0.020717814564704895,
-0.004982311744242907,
0.04351457953453064,
-0.030449451878666878,
-0.028262970969080925,
0.026201942935585976,
0.0048927017487585545,
0.006684900261461735,
0.021542226895689964,
-0.045808594673871994,
-0.010116960853338242,
-0.062117598950862885,
-0.060074493288993835,
0.033693332225084305,
0.04971558600664139,
-0.014794598333537579,
0.00021786412980873138,
-0.015027584508061409,
0.016031214967370033,
-0.048281826078891754,
0.027295183390378952,
0.00959722325205803,
0.04089796915650368,
0.008481579832732677,
-0.06147240847349167,
-0.051328565925359726,
-0.01795782893896103,
0.08308631926774979,
0.020233921706676483,
-0.07993205636739731,
-0.03405177220702171,
-0.03435644507408142,
-0.008911707438528538,
0.04405223950743675,
-0.04139978438615799,
-0.045414309948682785,
0.0039585186168551445,
0.03634578734636307,
-0.0797169879078865,
-0.0010025110095739365,
-0.021470537409186363,
-0.040790438652038574,
-0.01883600652217865,
-0.0625477284193039,
-0.04724235087633133,
-0.011263967491686344,
-0.01634485088288784,
0.02043106220662594,
0.03677591308951378,
-0.08896473050117493,
-0.01840587891638279,
-0.0419015996158123,
-0.018638864159584045,
0.005605100654065609,
-0.017339520156383514,
0.08136580884456635,
-0.039141613990068436,
-0.03485826030373573,
0.022097807377576828,
-0.0015278492355719209,
-0.047457415610551834,
-0.03177567943930626,
0.029893871396780014,
-0.02136300690472126,
0.019732104614377022,
0.030252311378717422,
0.0029660884756594896,
0.028603488579392433,
-0.011048903688788414,
-0.029069459065794945,
-0.026632070541381836,
-0.036650460213422775,
0.056310877203941345,
0.037887077778577805,
-0.012769414111971855,
0.00046625162940472364,
0.013755123130977154,
-0.09312263131141663,
-0.016031214967370033,
0.02765362337231636,
-0.000322315696394071,
-0.009561379440128803,
0.011774743907153606,
-0.03639955073595047,
-0.01361174788326025,
0.0136027866974473,
-0.04466158524155617,
0.02340611256659031,
-0.002520279260352254,
0.017312638461589813,
-0.02222326211631298,
-0.005130168050527573,
0.03889070823788643,
0.07057677954435349,
0.0019501360366120934,
-0.00043544822256080806,
-0.013790967874228954,
-0.0076123629696667194,
0.0629061684012413,
-0.012554350309073925,
-0.021452616900205612,
0.013486294075846672,
-0.07179547101259232,
-0.08538033813238144,
0.003322287928313017,
0.04813845083117485,
0.015197843313217163,
-0.013217464089393616,
-0.057565417140722275,
-0.007141910959035158,
-0.055378932505846024,
0.04107718914747238,
0.055092182010412216,
-0.014570574276149273,
0.02136300690472126,
-0.009740598499774933,
0.03924914821982384,
0.007809504866600037,
-0.03928499296307564,
0.007339052855968475,
-0.02299390733242035,
-0.016452381387352943,
-0.03699097782373428,
-0.03139931708574295,
0.028603488579392433,
-0.03607695549726486,
-0.017473936080932617,
-0.0271876510232687,
0.01878223940730095,
0.024786105379462242,
-0.04652547463774681,
0.031686071306467056,
-0.02428429014980793,
-0.06122150272130966,
-0.04143562912940979,
-0.02763570100069046,
-0.03193697705864906,
-0.014194211922585964,
0.007312169764190912,
-0.032456714659929276,
0.05304907634854317,
-0.03652500733733177,
-0.04684806987643242,
-0.04405223950743675,
-0.0022167256101965904,
-0.07763803750276566,
-0.005954579450190067,
0.02222326211631298,
-0.016945237293839455,
0.014758754521608353,
-0.057099442929029465,
0.0017552344361320138,
-0.06018202751874924,
-0.011335655115544796,
-0.049213770776987076,
-0.02132716216146946,
-0.04018108919262886,
0.0024844352155923843,
-0.06803185492753983,
0.06416070461273193,
-0.03613072261214256,
-0.003909233026206493,
0.009713715873658657,
-0.0005665027420036495,
-0.0377436988055706,
0.0459161251783371,
-0.050504155457019806,
0.0420091338455677,
-0.026596225798130035,
0.030772048979997635,
0.038317203521728516,
-0.01107578631490469,
0.03738526254892349,
0.05559399724006653,
0.021022489294409752,
0.007652687840163708,
-0.05534309148788452,
0.049608055502176285,
0.009704754687845707,
0.031686071306467056,
0.004767247941344976,
-0.007141910959035158,
0.007276325952261686,
0.023567410185933113,
-0.029535431414842606,
0.008831057697534561,
-0.0037456948775798082,
-0.07835491746664047,
0.02057443931698799,
0.044159770011901855,
-0.01713341847062111,
0.0334065817296505,
0.03190113231539726,
-0.034553587436676025,
-0.02182897739112377,
0.011013059876859188,
-0.03132763132452965,
0.01086072251200676,
0.001356470282189548,
-0.042044978588819504,
-0.07369520515203476,
0.018262503668665886,
0.02428429014980793,
0.019965091720223427,
0.013020321726799011,
0.1087506040930748,
0.0000682225581840612,
0.04885533079504967,
0.04405223950743675,
0.03012685663998127,
-0.0230835173279047,
-0.016237318515777588,
0.05971605330705643,
-0.05570152774453163,
0.002990731270983815,
0.07577415555715561,
-0.024122992530465126,
0.02294014021754265,
0.06315707415342331,
-0.043299514800310135,
0.009382159449160099,
-0.05573737248778343,
0.03096918947994709,
0.004218387417495251,
-0.013118892908096313,
0.026524538174271584,
0.033442422747612,
-0.0009969103848561645,
0.06484173983335495
]
|
29,291 | markupsafe | center | Return a centered string of length width.
Padding is done using the specified fill character (default is a space). | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, width, fillchar=' ', /) | [
0.0061517213471233845,
-0.09842754155397415,
0.07670609652996063,
0.030700359493494034,
0.030001403763890266,
0.048783645033836365,
-0.0000528208511241246,
-0.003311086678877473,
0.04996649548411369,
-0.01596848852932453,
0.025287920609116554,
0.03717019781470299,
0.011667212471365929,
-0.007236001547425985,
-0.013047205284237862,
0.040826283395290375,
0.020807424560189247,
-0.0038980317767709494,
0.005587178748100996,
-0.0074331434443593025,
0.01252746768295765,
0.0063578239642083645,
0.04985896125435829,
-0.030861658975481987,
0.023316502571105957,
0.04763663560152054,
-0.004153420217335224,
0.007993205450475216,
-0.00943592470139265,
-0.022277027368545532,
0.04423145949840546,
-0.025449218228459358,
-0.014113563112914562,
0.027474403381347656,
0.06738666445016861,
0.01025137584656477,
-0.09082861989736557,
0.038711488246917725,
-0.01065461989492178,
-0.0880327895283699,
0.027528168633580208,
-0.011461109854280949,
-0.010475399903953075,
-0.04233172908425331,
-0.024463510140776634,
0.0022413681726902723,
0.03713435307145119,
0.03172191232442856,
-0.005941138137131929,
-0.020413141697645187,
0.02423052303493023,
0.02600480057299137,
0.06989574432373047,
-0.006281655747443438,
-0.031542692333459854,
0.025001168251037598,
0.00700749596580863,
0.05914255231618881,
0.06484173983335495,
-0.034894105046987534,
-0.028693098574876785,
0.05527140200138092,
0.0021528785582631826,
0.03561098501086235,
0.005502049345523119,
0.0035664751194417477,
-0.058031387627124786,
-0.005775359459221363,
-0.017491856589913368,
-0.013020321726799011,
0.009964623488485813,
-0.03014477901160717,
-0.02553882822394371,
0.004014524631202221,
-0.02294014021754265,
-0.04942883551120758,
-0.03889070823788643,
-0.021237552165985107,
0.02132716216146946,
0.015484594739973545,
0.01405083667486906,
-0.047457415610551834,
-0.04312029480934143,
0.014489924535155296,
0.016721211373806,
-0.05641840770840645,
-0.06000280752778053,
0.008692163042724133,
-0.008589111268520355,
0.06591705977916718,
0.009185017086565495,
-0.011649290099740028,
-0.010332024656236172,
0.016846666112542152,
-0.019445354118943214,
-0.009010277688503265,
0.02426636777818203,
-0.02930244617164135,
0.059608522802591324,
-0.0036964095197618008,
-0.006823795847594738,
0.03292268514633179,
-0.009391119703650475,
-0.016721211373806,
0.029015693813562393,
-0.02715180814266205,
-0.0046686772257089615,
0.004258711822330952,
-0.02559259533882141,
-0.017850296571850777,
0.019803794100880623,
-0.038747332990169525,
-0.007052300963550806,
-0.023657020181417465,
0.024929480627179146,
-0.02224118262529373,
-0.017312638461589813,
-0.0029481665696948767,
0.031148409470915794,
-0.049213770776987076,
0.04304860904812813,
0.0019445354118943214,
-0.05351504683494568,
-0.05566568672657013,
-0.010726308450102806,
0.06985989958047867,
-0.016497187316417694,
0.03684760257601738,
-0.000823291193228215,
-0.006201006937772036,
0.005761918146163225,
0.08308631926774979,
0.005676788743585348,
0.017429130151867867,
0.04846104606986046,
-0.015834074467420578,
0.022796764969825745,
0.06387395411729813,
-0.04982312023639679,
0.05742204189300537,
-0.0075361947529017925,
-0.0033693332225084305,
0.011720978654921055,
0.044625744223594666,
0.0002532880462240428,
-0.047493260353803635,
0.0459519699215889,
-0.017384326085448265,
0.04272601380944252,
0.005667827557772398,
0.06459083408117294,
-0.0034477419685572386,
0.006783471442759037,
0.005475166253745556,
0.006438473239541054,
0.04939299076795578,
0.054196082055568695,
0.01799367368221283,
0.055844906717538834,
0.011604485101997852,
0.033316969871520996,
-0.012052535079419613,
0.014857325702905655,
-0.015798229724168777,
0.04996649548411369,
0.052081286907196045,
0.03127386420965195,
-0.03559306263923645,
0.05688438192009926,
0.0061965263448655605,
0.03148892894387245,
-0.011971886269748211,
0.00860255304723978,
0.00960618443787098,
0.024069225415587425,
0.04702728986740112,
-0.021864822134375572,
0.04932130128145218,
-0.02012638933956623,
-0.017464974895119667,
0.010780073702335358,
-0.017868218943476677,
-0.031578537076711655,
-0.013262269087135792,
0.04738572984933853,
-0.003288684180006385,
0.05362258106470108,
-0.0005813444149680436,
-0.02767154574394226,
-0.04053952917456627,
0.008459176868200302,
0.003855467075482011,
0.02632739581167698,
-0.01045747846364975,
-0.07462714612483978,
-0.06459083408117294,
-0.03975096344947815,
-0.02808375097811222,
0.06796016544103622,
-0.009310470893979073,
-0.014373431913554668,
0.019839636981487274,
0.03684760257601738,
0.015135115943849087,
0.03096918947994709,
-0.00048613385297358036,
0.0019658177625387907,
-0.003479105420410633,
-0.07412532716989517,
-0.05154363065958023,
0.014140445739030838,
-0.0585690476000309,
-0.039571743458509445,
-0.015601088292896748,
0.0030064128804951906,
0.017447052523493767,
0.04362211003899574,
0.014785638079047203,
-0.019911324605345726,
-0.029965559020638466,
0.02424844540655613,
-0.0017854777397587895,
0.002184242010116577,
-0.03595150262117386,
0.06738666445016861,
-0.012572272680699825,
0.05828229710459709,
-0.016237318515777588,
0.03396216034889221,
0.02681129053235054,
-0.027474403381347656,
0.011559680104255676,
0.01423005573451519,
0.02254585735499859,
0.00608451385051012,
-0.07254819571971893,
0.04523508995771408,
-0.060934748500585556,
-0.004641794133931398,
-0.03978680819272995,
0.027546091005206108,
-0.01273357030004263,
0.025305842980742455,
0.008203788660466671,
0.005071921739727259,
-0.007943919859826565,
-0.0007958481437526643,
0.07770972698926926,
0.0034163782838732004,
0.0019523762166500092,
-0.017850296571850777,
0.03942836821079254,
-0.0010501162614673376,
0.010977216064929962,
-0.0025807658676058054,
0.028209203854203224,
-0.03485826030373573,
-0.011694095097482204,
0.0048971823416650295,
0.012124222703278065,
-0.009507613256573677,
-0.009982545860111713,
-0.012303442694246769,
-0.04018108919262886,
0.047959230840206146,
-0.03444605693221092,
-0.05681269243359566,
-0.017671076580882072,
0.0006916766287758946,
0.04430314525961876,
-0.04215250909328461,
-0.014911091886460781,
0.042869389057159424,
0.011828510090708733,
-0.05312076210975647,
0.025718048214912415,
-0.00981228705495596,
-0.060898903757333755,
0.012903829105198383,
-0.04147147387266159,
0.015592127107083797,
-0.013226425275206566,
-0.009462808258831501,
-0.017886141315102577,
0.019033148884773254,
0.016936276108026505,
0.01808328367769718,
0.083659827709198,
0.05699191242456436,
-0.03516293317079544,
-0.019463276490569115,
0.02589726820588112,
0.05788801237940788,
-0.001969178207218647,
-0.034069694578647614,
0.0029212834779173136,
-0.02299390733242035,
-0.08638396859169006,
0.013557981699705124,
-0.09943117201328278,
-0.012455780059099197,
-0.06168747320771217,
0.01837003417313099,
0.03303021937608719,
0.0419015996158123,
0.007693012244999409,
-0.052117131650447845,
0.0074689872562885284,
-0.011694095097482204,
-0.015108233317732811,
-0.016541991382837296,
0.028746863827109337,
-0.08072061836719513,
0.012590194121003151,
0.008956512436270714,
0.043335359543561935,
-0.009090926498174667,
0.0036247214302420616,
0.032420869916677475,
0.03849642351269722,
0.007706453558057547,
-0.08215437829494476,
0.012563311494886875,
0.02213365212082863,
0.0293741337954998,
-0.019068991765379906,
0.026918821036815643,
-0.03093334659934044,
0.06376641988754272,
0.03503748029470444,
-0.01631796732544899,
-0.010636698454618454,
0.019337821751832962,
-0.030216466635465622,
-0.0837315171957016,
0.010269297286868095,
0.03503748029470444,
0.001985979964956641,
-0.0417223796248436,
-0.023943772539496422,
0.0208791121840477,
0.027474403381347656,
0.004717962350696325,
0.016613680869340897,
-0.07663440704345703,
0.013199541717767715,
-0.00816346425563097,
0.0046462747268378735,
0.09355276077985764,
-0.027062198147177696,
0.06591705977916718,
-0.08459176868200302,
0.03290476277470589,
0.00007406820077449083,
0.016076020896434784,
0.016129786148667336,
-0.008020088076591492,
0.051364410668611526,
-0.021864822134375572,
-0.07706453651189804,
0.05226050689816475,
-0.06229681894183159,
0.0048120529390871525,
-0.006666978355497122,
0.06018202751874924,
0.05304907634854317,
0.04344289004802704,
0.007186715956777334,
0.008270995691418648,
0.07763803750276566,
0.02512662298977375,
-0.008073854260146618,
-0.0038980317767709494,
-0.07362351566553116,
-0.029911793768405914,
-0.014982779510319233,
-0.04265432432293892,
0.025718048214912415,
-0.04053952917456627,
-0.03691928833723068,
0.03322736173868179,
-0.00025916870799846947,
0.043693799525499344,
-0.03130970895290375,
0.03428475558757782,
-0.02557467296719551,
0.01379992812871933,
0.043263670057058334,
0.012715647928416729,
-0.019517041742801666,
-0.023531565442681313,
0.019839636981487274,
-0.001351989689283073,
-0.00943592470139265,
-0.052941542118787766,
-0.028621410951018333,
0.02804790623486042,
0.010367868468165398,
0.014785638079047203,
0.023603254929184914,
0.020699892193078995,
-0.032868921756744385,
0.06333629786968231,
-0.02763570100069046,
0.04770832508802414,
0.043693799525499344,
0.0009605063823983073,
0.012115261517465115,
0.01718718372285366,
0.042116664350032806,
-0.016407577320933342,
-0.02381831780076027,
-0.023943772539496422,
-0.03906992822885513,
0.04724235087633133,
0.003277482930570841,
-0.07835491746664047,
0.0037277729716151953,
-0.06509265303611755,
-0.05724282190203667,
-0.012778375297784805,
-0.03313774988055229,
-0.00816346425563097,
0.06469836831092834,
0.01339668408036232,
0.011676173657178879,
-0.011837471276521683,
-0.017276793718338013,
0.04412392899394035,
0.009090926498174667,
-0.03229541704058647,
-0.03441021218895912,
-0.04774416983127594,
-0.01885392889380455,
0.013629669323563576,
0.01713341847062111,
-0.02222326211631298,
-0.008270995691418648,
0.05390933156013489,
0.04817429557442665,
0.03050321899354458,
0.042905233800411224,
0.011873315088450909,
0.0031184253748506308,
0.045844439417123795,
-0.010591893456876278,
-0.017025886103510857,
0.06140071898698807,
0.034463975578546524,
-0.007975283078849316,
0.07821154594421387,
0.060934748500585556,
0.05150778591632843,
-0.01316369790583849,
0.004346081521362066,
-0.048425205051898956,
0.039535898715257645,
-0.05652594193816185,
-0.036614615470170975,
0.04222419857978821,
0.03096918947994709,
-0.0035507932770997286,
-0.004910624120384455,
0.0008708964451216161,
-0.005793281830847263,
0.012393052689731121,
-0.009292549453675747,
-0.0014595217071473598,
-0.060898903757333755,
0.0037680973764508963,
0.04476911947131157,
-0.04111303389072418,
-0.030628671869635582,
0.025001168251037598,
0.05494880676269531,
0.04821014031767845,
-0.024929480627179146,
-0.0072852871380746365,
0.019051069393754005,
0.030628671869635582,
-0.019821714609861374,
-0.008615993894636631,
0.012007730081677437,
0.0272055733948946,
-0.04652547463774681,
0.007083664648234844,
0.08466345816850662,
0.0015256089391186833,
0.028764786198735237,
0.06627549976110458,
-0.01795782893896103,
0.10760359466075897,
0.046597160398960114,
-0.0018605260411277413,
-0.007831907831132412,
-0.03853226825594902,
-0.008736968040466309,
0.004523060750216246,
-0.04656131565570831,
-0.07477052509784698,
-0.012643960304558277,
-0.05322829633951187,
-0.014794598333537579,
0.007840868085622787,
0.066813163459301,
-0.054554522037506104,
-0.021470537409186363,
0.021649757400155067,
-0.037887077778577805,
-0.024588963016867638,
-0.011156436055898666,
-0.025664282962679863,
0.005273544229567051,
-0.022492092102766037,
-0.01878223940730095,
-0.01844172179698944,
0.015009662136435509,
-0.009776443243026733,
-0.015412907116115093,
-0.03392631933093071,
0.037492793053388596,
0.02046690694987774,
-0.03586189076304436,
-0.03304814174771309,
0.009337354451417923,
-0.0020923917181789875,
0.06491342931985855,
0.026703758165240288,
-0.006035228259861469,
0.023280657827854156,
-0.03441021218895912,
-0.0036135201808065176,
0.011640328913927078,
-0.03016270138323307,
-0.02294014021754265,
0.06355135887861252,
-0.09921611100435257,
0.04864026606082916,
0.05114934593439102,
0.020717814564704895,
-0.004982311744242907,
0.04351457953453064,
-0.030449451878666878,
-0.028262970969080925,
0.026201942935585976,
0.0048927017487585545,
0.006684900261461735,
0.021542226895689964,
-0.045808594673871994,
-0.010116960853338242,
-0.062117598950862885,
-0.060074493288993835,
0.033693332225084305,
0.04971558600664139,
-0.014794598333537579,
0.00021786412980873138,
-0.015027584508061409,
0.016031214967370033,
-0.048281826078891754,
0.027295183390378952,
0.00959722325205803,
0.04089796915650368,
0.008481579832732677,
-0.06147240847349167,
-0.051328565925359726,
-0.01795782893896103,
0.08308631926774979,
0.020233921706676483,
-0.07993205636739731,
-0.03405177220702171,
-0.03435644507408142,
-0.008911707438528538,
0.04405223950743675,
-0.04139978438615799,
-0.045414309948682785,
0.0039585186168551445,
0.03634578734636307,
-0.0797169879078865,
-0.0010025110095739365,
-0.021470537409186363,
-0.040790438652038574,
-0.01883600652217865,
-0.0625477284193039,
-0.04724235087633133,
-0.011263967491686344,
-0.01634485088288784,
0.02043106220662594,
0.03677591308951378,
-0.08896473050117493,
-0.01840587891638279,
-0.0419015996158123,
-0.018638864159584045,
0.005605100654065609,
-0.017339520156383514,
0.08136580884456635,
-0.039141613990068436,
-0.03485826030373573,
0.022097807377576828,
-0.0015278492355719209,
-0.047457415610551834,
-0.03177567943930626,
0.029893871396780014,
-0.02136300690472126,
0.019732104614377022,
0.030252311378717422,
0.0029660884756594896,
0.028603488579392433,
-0.011048903688788414,
-0.029069459065794945,
-0.026632070541381836,
-0.036650460213422775,
0.056310877203941345,
0.037887077778577805,
-0.012769414111971855,
0.00046625162940472364,
0.013755123130977154,
-0.09312263131141663,
-0.016031214967370033,
0.02765362337231636,
-0.000322315696394071,
-0.009561379440128803,
0.011774743907153606,
-0.03639955073595047,
-0.01361174788326025,
0.0136027866974473,
-0.04466158524155617,
0.02340611256659031,
-0.002520279260352254,
0.017312638461589813,
-0.02222326211631298,
-0.005130168050527573,
0.03889070823788643,
0.07057677954435349,
0.0019501360366120934,
-0.00043544822256080806,
-0.013790967874228954,
-0.0076123629696667194,
0.0629061684012413,
-0.012554350309073925,
-0.021452616900205612,
0.013486294075846672,
-0.07179547101259232,
-0.08538033813238144,
0.003322287928313017,
0.04813845083117485,
0.015197843313217163,
-0.013217464089393616,
-0.057565417140722275,
-0.007141910959035158,
-0.055378932505846024,
0.04107718914747238,
0.055092182010412216,
-0.014570574276149273,
0.02136300690472126,
-0.009740598499774933,
0.03924914821982384,
0.007809504866600037,
-0.03928499296307564,
0.007339052855968475,
-0.02299390733242035,
-0.016452381387352943,
-0.03699097782373428,
-0.03139931708574295,
0.028603488579392433,
-0.03607695549726486,
-0.017473936080932617,
-0.0271876510232687,
0.01878223940730095,
0.024786105379462242,
-0.04652547463774681,
0.031686071306467056,
-0.02428429014980793,
-0.06122150272130966,
-0.04143562912940979,
-0.02763570100069046,
-0.03193697705864906,
-0.014194211922585964,
0.007312169764190912,
-0.032456714659929276,
0.05304907634854317,
-0.03652500733733177,
-0.04684806987643242,
-0.04405223950743675,
-0.0022167256101965904,
-0.07763803750276566,
-0.005954579450190067,
0.02222326211631298,
-0.016945237293839455,
0.014758754521608353,
-0.057099442929029465,
0.0017552344361320138,
-0.06018202751874924,
-0.011335655115544796,
-0.049213770776987076,
-0.02132716216146946,
-0.04018108919262886,
0.0024844352155923843,
-0.06803185492753983,
0.06416070461273193,
-0.03613072261214256,
-0.003909233026206493,
0.009713715873658657,
-0.0005665027420036495,
-0.0377436988055706,
0.0459161251783371,
-0.050504155457019806,
0.0420091338455677,
-0.026596225798130035,
0.030772048979997635,
0.038317203521728516,
-0.01107578631490469,
0.03738526254892349,
0.05559399724006653,
0.021022489294409752,
0.007652687840163708,
-0.05534309148788452,
0.049608055502176285,
0.009704754687845707,
0.031686071306467056,
0.004767247941344976,
-0.007141910959035158,
0.007276325952261686,
0.023567410185933113,
-0.029535431414842606,
0.008831057697534561,
-0.0037456948775798082,
-0.07835491746664047,
0.02057443931698799,
0.044159770011901855,
-0.01713341847062111,
0.0334065817296505,
0.03190113231539726,
-0.034553587436676025,
-0.02182897739112377,
0.011013059876859188,
-0.03132763132452965,
0.01086072251200676,
0.001356470282189548,
-0.042044978588819504,
-0.07369520515203476,
0.018262503668665886,
0.02428429014980793,
0.019965091720223427,
0.013020321726799011,
0.1087506040930748,
0.0000682225581840612,
0.04885533079504967,
0.04405223950743675,
0.03012685663998127,
-0.0230835173279047,
-0.016237318515777588,
0.05971605330705643,
-0.05570152774453163,
0.002990731270983815,
0.07577415555715561,
-0.024122992530465126,
0.02294014021754265,
0.06315707415342331,
-0.043299514800310135,
0.009382159449160099,
-0.05573737248778343,
0.03096918947994709,
0.004218387417495251,
-0.013118892908096313,
0.026524538174271584,
0.033442422747612,
-0.0009969103848561645,
0.06484173983335495
]
|
29,292 | markupsafe | expandtabs | Return a copy where all tab characters are expanded using spaces.
If tabsize is not given, a tab size of 8 characters is assumed. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /, tabsize=8) | [
0.0061517213471233845,
-0.09842754155397415,
0.07670609652996063,
0.030700359493494034,
0.030001403763890266,
0.048783645033836365,
-0.0000528208511241246,
-0.003311086678877473,
0.04996649548411369,
-0.01596848852932453,
0.025287920609116554,
0.03717019781470299,
0.011667212471365929,
-0.007236001547425985,
-0.013047205284237862,
0.040826283395290375,
0.020807424560189247,
-0.0038980317767709494,
0.005587178748100996,
-0.0074331434443593025,
0.01252746768295765,
0.0063578239642083645,
0.04985896125435829,
-0.030861658975481987,
0.023316502571105957,
0.04763663560152054,
-0.004153420217335224,
0.007993205450475216,
-0.00943592470139265,
-0.022277027368545532,
0.04423145949840546,
-0.025449218228459358,
-0.014113563112914562,
0.027474403381347656,
0.06738666445016861,
0.01025137584656477,
-0.09082861989736557,
0.038711488246917725,
-0.01065461989492178,
-0.0880327895283699,
0.027528168633580208,
-0.011461109854280949,
-0.010475399903953075,
-0.04233172908425331,
-0.024463510140776634,
0.0022413681726902723,
0.03713435307145119,
0.03172191232442856,
-0.005941138137131929,
-0.020413141697645187,
0.02423052303493023,
0.02600480057299137,
0.06989574432373047,
-0.006281655747443438,
-0.031542692333459854,
0.025001168251037598,
0.00700749596580863,
0.05914255231618881,
0.06484173983335495,
-0.034894105046987534,
-0.028693098574876785,
0.05527140200138092,
0.0021528785582631826,
0.03561098501086235,
0.005502049345523119,
0.0035664751194417477,
-0.058031387627124786,
-0.005775359459221363,
-0.017491856589913368,
-0.013020321726799011,
0.009964623488485813,
-0.03014477901160717,
-0.02553882822394371,
0.004014524631202221,
-0.02294014021754265,
-0.04942883551120758,
-0.03889070823788643,
-0.021237552165985107,
0.02132716216146946,
0.015484594739973545,
0.01405083667486906,
-0.047457415610551834,
-0.04312029480934143,
0.014489924535155296,
0.016721211373806,
-0.05641840770840645,
-0.06000280752778053,
0.008692163042724133,
-0.008589111268520355,
0.06591705977916718,
0.009185017086565495,
-0.011649290099740028,
-0.010332024656236172,
0.016846666112542152,
-0.019445354118943214,
-0.009010277688503265,
0.02426636777818203,
-0.02930244617164135,
0.059608522802591324,
-0.0036964095197618008,
-0.006823795847594738,
0.03292268514633179,
-0.009391119703650475,
-0.016721211373806,
0.029015693813562393,
-0.02715180814266205,
-0.0046686772257089615,
0.004258711822330952,
-0.02559259533882141,
-0.017850296571850777,
0.019803794100880623,
-0.038747332990169525,
-0.007052300963550806,
-0.023657020181417465,
0.024929480627179146,
-0.02224118262529373,
-0.017312638461589813,
-0.0029481665696948767,
0.031148409470915794,
-0.049213770776987076,
0.04304860904812813,
0.0019445354118943214,
-0.05351504683494568,
-0.05566568672657013,
-0.010726308450102806,
0.06985989958047867,
-0.016497187316417694,
0.03684760257601738,
-0.000823291193228215,
-0.006201006937772036,
0.005761918146163225,
0.08308631926774979,
0.005676788743585348,
0.017429130151867867,
0.04846104606986046,
-0.015834074467420578,
0.022796764969825745,
0.06387395411729813,
-0.04982312023639679,
0.05742204189300537,
-0.0075361947529017925,
-0.0033693332225084305,
0.011720978654921055,
0.044625744223594666,
0.0002532880462240428,
-0.047493260353803635,
0.0459519699215889,
-0.017384326085448265,
0.04272601380944252,
0.005667827557772398,
0.06459083408117294,
-0.0034477419685572386,
0.006783471442759037,
0.005475166253745556,
0.006438473239541054,
0.04939299076795578,
0.054196082055568695,
0.01799367368221283,
0.055844906717538834,
0.011604485101997852,
0.033316969871520996,
-0.012052535079419613,
0.014857325702905655,
-0.015798229724168777,
0.04996649548411369,
0.052081286907196045,
0.03127386420965195,
-0.03559306263923645,
0.05688438192009926,
0.0061965263448655605,
0.03148892894387245,
-0.011971886269748211,
0.00860255304723978,
0.00960618443787098,
0.024069225415587425,
0.04702728986740112,
-0.021864822134375572,
0.04932130128145218,
-0.02012638933956623,
-0.017464974895119667,
0.010780073702335358,
-0.017868218943476677,
-0.031578537076711655,
-0.013262269087135792,
0.04738572984933853,
-0.003288684180006385,
0.05362258106470108,
-0.0005813444149680436,
-0.02767154574394226,
-0.04053952917456627,
0.008459176868200302,
0.003855467075482011,
0.02632739581167698,
-0.01045747846364975,
-0.07462714612483978,
-0.06459083408117294,
-0.03975096344947815,
-0.02808375097811222,
0.06796016544103622,
-0.009310470893979073,
-0.014373431913554668,
0.019839636981487274,
0.03684760257601738,
0.015135115943849087,
0.03096918947994709,
-0.00048613385297358036,
0.0019658177625387907,
-0.003479105420410633,
-0.07412532716989517,
-0.05154363065958023,
0.014140445739030838,
-0.0585690476000309,
-0.039571743458509445,
-0.015601088292896748,
0.0030064128804951906,
0.017447052523493767,
0.04362211003899574,
0.014785638079047203,
-0.019911324605345726,
-0.029965559020638466,
0.02424844540655613,
-0.0017854777397587895,
0.002184242010116577,
-0.03595150262117386,
0.06738666445016861,
-0.012572272680699825,
0.05828229710459709,
-0.016237318515777588,
0.03396216034889221,
0.02681129053235054,
-0.027474403381347656,
0.011559680104255676,
0.01423005573451519,
0.02254585735499859,
0.00608451385051012,
-0.07254819571971893,
0.04523508995771408,
-0.060934748500585556,
-0.004641794133931398,
-0.03978680819272995,
0.027546091005206108,
-0.01273357030004263,
0.025305842980742455,
0.008203788660466671,
0.005071921739727259,
-0.007943919859826565,
-0.0007958481437526643,
0.07770972698926926,
0.0034163782838732004,
0.0019523762166500092,
-0.017850296571850777,
0.03942836821079254,
-0.0010501162614673376,
0.010977216064929962,
-0.0025807658676058054,
0.028209203854203224,
-0.03485826030373573,
-0.011694095097482204,
0.0048971823416650295,
0.012124222703278065,
-0.009507613256573677,
-0.009982545860111713,
-0.012303442694246769,
-0.04018108919262886,
0.047959230840206146,
-0.03444605693221092,
-0.05681269243359566,
-0.017671076580882072,
0.0006916766287758946,
0.04430314525961876,
-0.04215250909328461,
-0.014911091886460781,
0.042869389057159424,
0.011828510090708733,
-0.05312076210975647,
0.025718048214912415,
-0.00981228705495596,
-0.060898903757333755,
0.012903829105198383,
-0.04147147387266159,
0.015592127107083797,
-0.013226425275206566,
-0.009462808258831501,
-0.017886141315102577,
0.019033148884773254,
0.016936276108026505,
0.01808328367769718,
0.083659827709198,
0.05699191242456436,
-0.03516293317079544,
-0.019463276490569115,
0.02589726820588112,
0.05788801237940788,
-0.001969178207218647,
-0.034069694578647614,
0.0029212834779173136,
-0.02299390733242035,
-0.08638396859169006,
0.013557981699705124,
-0.09943117201328278,
-0.012455780059099197,
-0.06168747320771217,
0.01837003417313099,
0.03303021937608719,
0.0419015996158123,
0.007693012244999409,
-0.052117131650447845,
0.0074689872562885284,
-0.011694095097482204,
-0.015108233317732811,
-0.016541991382837296,
0.028746863827109337,
-0.08072061836719513,
0.012590194121003151,
0.008956512436270714,
0.043335359543561935,
-0.009090926498174667,
0.0036247214302420616,
0.032420869916677475,
0.03849642351269722,
0.007706453558057547,
-0.08215437829494476,
0.012563311494886875,
0.02213365212082863,
0.0293741337954998,
-0.019068991765379906,
0.026918821036815643,
-0.03093334659934044,
0.06376641988754272,
0.03503748029470444,
-0.01631796732544899,
-0.010636698454618454,
0.019337821751832962,
-0.030216466635465622,
-0.0837315171957016,
0.010269297286868095,
0.03503748029470444,
0.001985979964956641,
-0.0417223796248436,
-0.023943772539496422,
0.0208791121840477,
0.027474403381347656,
0.004717962350696325,
0.016613680869340897,
-0.07663440704345703,
0.013199541717767715,
-0.00816346425563097,
0.0046462747268378735,
0.09355276077985764,
-0.027062198147177696,
0.06591705977916718,
-0.08459176868200302,
0.03290476277470589,
0.00007406820077449083,
0.016076020896434784,
0.016129786148667336,
-0.008020088076591492,
0.051364410668611526,
-0.021864822134375572,
-0.07706453651189804,
0.05226050689816475,
-0.06229681894183159,
0.0048120529390871525,
-0.006666978355497122,
0.06018202751874924,
0.05304907634854317,
0.04344289004802704,
0.007186715956777334,
0.008270995691418648,
0.07763803750276566,
0.02512662298977375,
-0.008073854260146618,
-0.0038980317767709494,
-0.07362351566553116,
-0.029911793768405914,
-0.014982779510319233,
-0.04265432432293892,
0.025718048214912415,
-0.04053952917456627,
-0.03691928833723068,
0.03322736173868179,
-0.00025916870799846947,
0.043693799525499344,
-0.03130970895290375,
0.03428475558757782,
-0.02557467296719551,
0.01379992812871933,
0.043263670057058334,
0.012715647928416729,
-0.019517041742801666,
-0.023531565442681313,
0.019839636981487274,
-0.001351989689283073,
-0.00943592470139265,
-0.052941542118787766,
-0.028621410951018333,
0.02804790623486042,
0.010367868468165398,
0.014785638079047203,
0.023603254929184914,
0.020699892193078995,
-0.032868921756744385,
0.06333629786968231,
-0.02763570100069046,
0.04770832508802414,
0.043693799525499344,
0.0009605063823983073,
0.012115261517465115,
0.01718718372285366,
0.042116664350032806,
-0.016407577320933342,
-0.02381831780076027,
-0.023943772539496422,
-0.03906992822885513,
0.04724235087633133,
0.003277482930570841,
-0.07835491746664047,
0.0037277729716151953,
-0.06509265303611755,
-0.05724282190203667,
-0.012778375297784805,
-0.03313774988055229,
-0.00816346425563097,
0.06469836831092834,
0.01339668408036232,
0.011676173657178879,
-0.011837471276521683,
-0.017276793718338013,
0.04412392899394035,
0.009090926498174667,
-0.03229541704058647,
-0.03441021218895912,
-0.04774416983127594,
-0.01885392889380455,
0.013629669323563576,
0.01713341847062111,
-0.02222326211631298,
-0.008270995691418648,
0.05390933156013489,
0.04817429557442665,
0.03050321899354458,
0.042905233800411224,
0.011873315088450909,
0.0031184253748506308,
0.045844439417123795,
-0.010591893456876278,
-0.017025886103510857,
0.06140071898698807,
0.034463975578546524,
-0.007975283078849316,
0.07821154594421387,
0.060934748500585556,
0.05150778591632843,
-0.01316369790583849,
0.004346081521362066,
-0.048425205051898956,
0.039535898715257645,
-0.05652594193816185,
-0.036614615470170975,
0.04222419857978821,
0.03096918947994709,
-0.0035507932770997286,
-0.004910624120384455,
0.0008708964451216161,
-0.005793281830847263,
0.012393052689731121,
-0.009292549453675747,
-0.0014595217071473598,
-0.060898903757333755,
0.0037680973764508963,
0.04476911947131157,
-0.04111303389072418,
-0.030628671869635582,
0.025001168251037598,
0.05494880676269531,
0.04821014031767845,
-0.024929480627179146,
-0.0072852871380746365,
0.019051069393754005,
0.030628671869635582,
-0.019821714609861374,
-0.008615993894636631,
0.012007730081677437,
0.0272055733948946,
-0.04652547463774681,
0.007083664648234844,
0.08466345816850662,
0.0015256089391186833,
0.028764786198735237,
0.06627549976110458,
-0.01795782893896103,
0.10760359466075897,
0.046597160398960114,
-0.0018605260411277413,
-0.007831907831132412,
-0.03853226825594902,
-0.008736968040466309,
0.004523060750216246,
-0.04656131565570831,
-0.07477052509784698,
-0.012643960304558277,
-0.05322829633951187,
-0.014794598333537579,
0.007840868085622787,
0.066813163459301,
-0.054554522037506104,
-0.021470537409186363,
0.021649757400155067,
-0.037887077778577805,
-0.024588963016867638,
-0.011156436055898666,
-0.025664282962679863,
0.005273544229567051,
-0.022492092102766037,
-0.01878223940730095,
-0.01844172179698944,
0.015009662136435509,
-0.009776443243026733,
-0.015412907116115093,
-0.03392631933093071,
0.037492793053388596,
0.02046690694987774,
-0.03586189076304436,
-0.03304814174771309,
0.009337354451417923,
-0.0020923917181789875,
0.06491342931985855,
0.026703758165240288,
-0.006035228259861469,
0.023280657827854156,
-0.03441021218895912,
-0.0036135201808065176,
0.011640328913927078,
-0.03016270138323307,
-0.02294014021754265,
0.06355135887861252,
-0.09921611100435257,
0.04864026606082916,
0.05114934593439102,
0.020717814564704895,
-0.004982311744242907,
0.04351457953453064,
-0.030449451878666878,
-0.028262970969080925,
0.026201942935585976,
0.0048927017487585545,
0.006684900261461735,
0.021542226895689964,
-0.045808594673871994,
-0.010116960853338242,
-0.062117598950862885,
-0.060074493288993835,
0.033693332225084305,
0.04971558600664139,
-0.014794598333537579,
0.00021786412980873138,
-0.015027584508061409,
0.016031214967370033,
-0.048281826078891754,
0.027295183390378952,
0.00959722325205803,
0.04089796915650368,
0.008481579832732677,
-0.06147240847349167,
-0.051328565925359726,
-0.01795782893896103,
0.08308631926774979,
0.020233921706676483,
-0.07993205636739731,
-0.03405177220702171,
-0.03435644507408142,
-0.008911707438528538,
0.04405223950743675,
-0.04139978438615799,
-0.045414309948682785,
0.0039585186168551445,
0.03634578734636307,
-0.0797169879078865,
-0.0010025110095739365,
-0.021470537409186363,
-0.040790438652038574,
-0.01883600652217865,
-0.0625477284193039,
-0.04724235087633133,
-0.011263967491686344,
-0.01634485088288784,
0.02043106220662594,
0.03677591308951378,
-0.08896473050117493,
-0.01840587891638279,
-0.0419015996158123,
-0.018638864159584045,
0.005605100654065609,
-0.017339520156383514,
0.08136580884456635,
-0.039141613990068436,
-0.03485826030373573,
0.022097807377576828,
-0.0015278492355719209,
-0.047457415610551834,
-0.03177567943930626,
0.029893871396780014,
-0.02136300690472126,
0.019732104614377022,
0.030252311378717422,
0.0029660884756594896,
0.028603488579392433,
-0.011048903688788414,
-0.029069459065794945,
-0.026632070541381836,
-0.036650460213422775,
0.056310877203941345,
0.037887077778577805,
-0.012769414111971855,
0.00046625162940472364,
0.013755123130977154,
-0.09312263131141663,
-0.016031214967370033,
0.02765362337231636,
-0.000322315696394071,
-0.009561379440128803,
0.011774743907153606,
-0.03639955073595047,
-0.01361174788326025,
0.0136027866974473,
-0.04466158524155617,
0.02340611256659031,
-0.002520279260352254,
0.017312638461589813,
-0.02222326211631298,
-0.005130168050527573,
0.03889070823788643,
0.07057677954435349,
0.0019501360366120934,
-0.00043544822256080806,
-0.013790967874228954,
-0.0076123629696667194,
0.0629061684012413,
-0.012554350309073925,
-0.021452616900205612,
0.013486294075846672,
-0.07179547101259232,
-0.08538033813238144,
0.003322287928313017,
0.04813845083117485,
0.015197843313217163,
-0.013217464089393616,
-0.057565417140722275,
-0.007141910959035158,
-0.055378932505846024,
0.04107718914747238,
0.055092182010412216,
-0.014570574276149273,
0.02136300690472126,
-0.009740598499774933,
0.03924914821982384,
0.007809504866600037,
-0.03928499296307564,
0.007339052855968475,
-0.02299390733242035,
-0.016452381387352943,
-0.03699097782373428,
-0.03139931708574295,
0.028603488579392433,
-0.03607695549726486,
-0.017473936080932617,
-0.0271876510232687,
0.01878223940730095,
0.024786105379462242,
-0.04652547463774681,
0.031686071306467056,
-0.02428429014980793,
-0.06122150272130966,
-0.04143562912940979,
-0.02763570100069046,
-0.03193697705864906,
-0.014194211922585964,
0.007312169764190912,
-0.032456714659929276,
0.05304907634854317,
-0.03652500733733177,
-0.04684806987643242,
-0.04405223950743675,
-0.0022167256101965904,
-0.07763803750276566,
-0.005954579450190067,
0.02222326211631298,
-0.016945237293839455,
0.014758754521608353,
-0.057099442929029465,
0.0017552344361320138,
-0.06018202751874924,
-0.011335655115544796,
-0.049213770776987076,
-0.02132716216146946,
-0.04018108919262886,
0.0024844352155923843,
-0.06803185492753983,
0.06416070461273193,
-0.03613072261214256,
-0.003909233026206493,
0.009713715873658657,
-0.0005665027420036495,
-0.0377436988055706,
0.0459161251783371,
-0.050504155457019806,
0.0420091338455677,
-0.026596225798130035,
0.030772048979997635,
0.038317203521728516,
-0.01107578631490469,
0.03738526254892349,
0.05559399724006653,
0.021022489294409752,
0.007652687840163708,
-0.05534309148788452,
0.049608055502176285,
0.009704754687845707,
0.031686071306467056,
0.004767247941344976,
-0.007141910959035158,
0.007276325952261686,
0.023567410185933113,
-0.029535431414842606,
0.008831057697534561,
-0.0037456948775798082,
-0.07835491746664047,
0.02057443931698799,
0.044159770011901855,
-0.01713341847062111,
0.0334065817296505,
0.03190113231539726,
-0.034553587436676025,
-0.02182897739112377,
0.011013059876859188,
-0.03132763132452965,
0.01086072251200676,
0.001356470282189548,
-0.042044978588819504,
-0.07369520515203476,
0.018262503668665886,
0.02428429014980793,
0.019965091720223427,
0.013020321726799011,
0.1087506040930748,
0.0000682225581840612,
0.04885533079504967,
0.04405223950743675,
0.03012685663998127,
-0.0230835173279047,
-0.016237318515777588,
0.05971605330705643,
-0.05570152774453163,
0.002990731270983815,
0.07577415555715561,
-0.024122992530465126,
0.02294014021754265,
0.06315707415342331,
-0.043299514800310135,
0.009382159449160099,
-0.05573737248778343,
0.03096918947994709,
0.004218387417495251,
-0.013118892908096313,
0.026524538174271584,
0.033442422747612,
-0.0009969103848561645,
0.06484173983335495
]
|
29,293 | markupsafe | format | null | def format(self, *args: t.Any, **kwargs: t.Any) -> "te.Self":
formatter = EscapeFormatter(self.escape)
return self.__class__(formatter.vformat(self, args, kwargs))
| (self, *args: Any, **kwargs: Any) -> 'te.Self' | [
0.030510930344462395,
-0.10407966375350952,
0.05934428423643112,
0.012319705449044704,
-0.031122546643018723,
-0.03687174245715141,
0.0064394487999379635,
-0.0213716309517622,
0.026369411498308182,
0.018016476184129715,
0.006089953705668449,
0.019676579162478447,
0.0032197243999689817,
0.001969187054783106,
-0.032468102872371674,
0.06532064825296402,
-0.02619466371834278,
-0.030406082049012184,
0.005622503813356161,
0.005395331885665655,
-0.004261657129973173,
0.009244147688150406,
0.04983801394701004,
-0.026928603649139404,
0.07115721702575684,
0.03458254784345627,
-0.029829414561390877,
-0.0042092325165867805,
-0.031646788120269775,
-0.032433152198791504,
0.003466555383056402,
0.006308387964963913,
-0.011646927334368229,
0.031017698347568512,
0.053228117525577545,
-0.03059830330312252,
-0.11281704902648926,
-0.02247253991663456,
-0.020812438800930977,
-0.0026212139055132866,
0.042219020426273346,
-0.03232830390334129,
0.026316987350583076,
-0.0325554758310318,
-0.01593698002398014,
-0.01114889606833458,
0.10100410878658295,
0.03690669313073158,
-0.02556557208299637,
-0.05399700626730919,
0.020358094945549965,
0.039947301149368286,
0.008103919215500355,
-0.0307381022721529,
-0.041904471814632416,
0.030004162341356277,
0.031506992876529694,
0.06483135372400284,
0.03610285371541977,
-0.006465660873800516,
-0.02484910748898983,
0.05029235780239105,
0.06525075435638428,
0.04211416840553284,
-0.031017698347568512,
-0.028728503733873367,
-0.027749918401241302,
0.012808999046683311,
-0.0364173986017704,
0.033813659101724625,
0.03662709519267082,
-0.04078608751296997,
-0.018051426857709885,
0.04676245525479317,
-0.008108288049697876,
-0.012310967780649662,
-0.08821258693933487,
0.021721126511693,
-0.01655733399093151,
0.04302285611629486,
0.04131033271551132,
0.008099551312625408,
-0.05801619961857796,
-0.029829414561390877,
0.04015699774026871,
-0.05675802007317543,
-0.09303561598062515,
-0.006535559892654419,
-0.021843450143933296,
-0.0005815818440169096,
-0.012144957669079304,
-0.013184705749154091,
-0.06262953579425812,
0.02960224263370037,
0.0008491640910506248,
-0.031192446127533913,
0.034442752599716187,
-0.035438813269138336,
0.02853628247976303,
0.01590203121304512,
0.02278708666563034,
0.010554755106568336,
-0.030178910121321678,
-0.03865416720509529,
0.0038597374223172665,
-0.012782786041498184,
-0.01762329414486885,
0.017151476815342903,
-0.006369549781084061,
0.004774977918714285,
0.007868010550737381,
0.053158219903707504,
0.02574031986296177,
-0.012861423194408417,
-0.015395263209939003,
-0.02481415867805481,
-0.03542133793234825,
0.033569011837244034,
0.03645234927535057,
-0.015447687357664108,
0.01948435604572296,
0.022053146734833717,
0.016050565987825394,
0.007492302916944027,
-0.03617275133728981,
0.0024901533033698797,
-0.05263397470116615,
-0.06402751803398132,
0.034565072506666183,
-0.028309110552072525,
0.026858706027269363,
0.06567014753818512,
-0.0122672813013196,
-0.032642848789691925,
0.059938423335552216,
0.02332880347967148,
0.015858344733715057,
-0.009829551912844181,
-0.053053367882966995,
0.09834794700145721,
0.03879396617412567,
-0.01089551206678152,
0.03423305228352547,
-0.006959322839975357,
-0.05186508595943451,
0.005220584571361542,
0.050816599279642105,
0.043826695531606674,
0.013691473752260208,
0.015622435137629509,
0.03426800295710564,
0.026386886835098267,
0.07374348491430283,
0.07105237245559692,
0.02839648351073265,
0.005146316718310118,
0.0020751277916133404,
-0.0034840302541851997,
0.018400922417640686,
0.05612892657518387,
0.007942277938127518,
-0.026509210467338562,
0.001969187054783106,
0.008872808888554573,
0.03224093094468117,
0.06829135864973068,
0.009130561724305153,
0.0009256161865778267,
0.0052555338479578495,
0.014276877976953983,
0.02374819852411747,
-0.03774547949433327,
-0.014049706980586052,
0.057352159172296524,
-0.03426800295710564,
0.05259902402758598,
-0.01676703244447708,
0.0587850920855999,
0.0010239116381853819,
-0.031611841171979904,
0.03599800541996956,
-0.04033174365758896,
0.00044669854105450213,
-0.050571952015161514,
0.05703761428594589,
-0.04361699894070625,
0.01948435604572296,
0.011585765518248081,
-0.004661391954869032,
-0.03687174245715141,
0.024080218747258186,
0.01371768582612276,
0.03199628368020058,
-0.014075919054448605,
-0.043861646205186844,
-0.04012204706668854,
-0.028728503733873367,
-0.039842452853918076,
0.04969821497797966,
0.0019593574106693268,
-0.024185067042708397,
0.027645070105791092,
-0.021808499470353127,
-0.03844447061419487,
0.02588011883199215,
-0.0164524856954813,
0.03638244792819023,
-0.022123046219348907,
-0.028745979070663452,
-0.03785032778978348,
-0.039353158324956894,
-0.03900366276502609,
-0.03816487267613411,
0.03045850619673729,
0.011987685225903988,
-0.020253246650099754,
0.04602851718664169,
0.01120132114738226,
0.013359453529119492,
0.050781652331352234,
0.06965439021587372,
-0.0038488158024847507,
-0.07395318150520325,
-0.02595001831650734,
0.0009714874322526157,
-0.027714967727661133,
0.022070620208978653,
0.007221444509923458,
0.0025775269605219364,
-0.04152002930641174,
0.0014132711803540587,
-0.04903417453169823,
-0.046692557632923126,
0.03673194348812103,
-0.03535143658518791,
0.0430927574634552,
0.020323144271969795,
-0.00214721099473536,
-0.06322368234395981,
0.004139333497732878,
0.023241430521011353,
0.00252073397859931,
0.012258543632924557,
-0.007977227680385113,
0.05371741205453873,
-0.05256407707929611,
0.01741359755396843,
0.05364751070737839,
0.03620770201086998,
0.02563547156751156,
-0.02836153469979763,
0.06109175831079483,
-0.018872739747166634,
0.016400061547756195,
-0.048230335116386414,
-0.019292134791612625,
-0.006435079965740442,
-0.0025709739420562983,
0.03066820278763771,
0.04012204706668854,
-0.012450765818357468,
-0.007570939604192972,
0.019711527973413467,
0.0035495604388415813,
0.029270222410559654,
0.02726062387228012,
-0.04924387112259865,
-0.04948851838707924,
0.0008098458638414741,
0.02076001465320587,
-0.05190003663301468,
-0.055849332362413406,
-0.0037177549675107002,
0.04365194961428642,
-0.0808032900094986,
-0.039842452853918076,
-0.023014258593320847,
-0.021214358508586884,
-0.031052647158503532,
-0.03552618622779846,
0.02395789511501789,
-0.0009081413736566901,
-0.005054573994129896,
-0.041869524866342545,
0.05742206051945686,
-0.0013848746893927455,
0.010939199477434158,
0.0039034243673086166,
0.016085516661405563,
-0.006605458911508322,
0.009628592059016228,
0.008077707141637802,
0.01614667847752571,
0.012022634036839008,
0.03479224443435669,
-0.028763454407453537,
-0.02460446208715439,
-0.00961985532194376,
0.017562132328748703,
-0.05902973562479019,
-0.030685678124427795,
-0.05462609604001045,
0.04089093580842018,
0.046378012746572495,
-0.008243718184530735,
0.01166440173983574,
-0.027732443064451218,
0.02243759110569954,
0.026928603649139404,
-0.01948435604572296,
-0.01762329414486885,
0.05902973562479019,
-0.01455647498369217,
-0.013106069527566433,
-0.02296183444559574,
0.031017698347568512,
-0.02691113017499447,
0.007134070619940758,
0.02182597480714321,
0.010222733952105045,
-0.017431072890758514,
-0.006116165779531002,
0.012249805964529514,
0.009576167911291122,
0.05895983800292015,
-0.01052854210138321,
-0.05815599858760834,
0.016496172174811363,
0.013805059716105461,
0.0307381022721529,
0.009375208057463169,
-0.021703651174902916,
0.048789527267217636,
-0.011017835699021816,
-0.053018420934677124,
-0.025932542979717255,
0.02278708666563034,
0.02970709092915058,
-0.03662709519267082,
-0.046692557632923126,
0.055464886128902435,
0.04113558307290077,
0.0013269894989207387,
-0.004967200569808483,
-0.05413680523633957,
0.0038488158024847507,
0.019292134791612625,
0.007942277938127518,
0.07346388697624207,
0.003171668853610754,
-0.03199628368020058,
-0.06783701479434967,
0.04459558427333832,
0.011445967480540276,
-0.02299678325653076,
-0.064411960542202,
-0.004045406822115183,
0.010633391328155994,
-0.06570509821176529,
-0.011314907111227512,
0.043861646205186844,
-0.00045680112089030445,
-0.019798902794718742,
-0.013272079639136791,
-0.024831632152199745,
-0.016679657623171806,
0.02684123069047928,
-0.003877212293446064,
-0.030982747673988342,
0.04756629467010498,
0.009715965948998928,
0.0059370496310293674,
0.04340730234980583,
-0.0587850920855999,
-0.02491900697350502,
0.0367668941617012,
-0.013735161162912846,
0.02719072625041008,
-0.02364335022866726,
-0.07723843306303024,
0.039423055946826935,
0.014739959500730038,
0.009383945725858212,
-0.02829163521528244,
0.07304449379444122,
0.016531122848391533,
0.023363754153251648,
0.0172738004475832,
0.0658099427819252,
0.012136220000684261,
-0.08576612174510956,
-0.019222235307097435,
0.03785032778978348,
-0.02158132754266262,
-0.0447353832423687,
0.021459003910422325,
0.006981166545301676,
0.02939254604279995,
-0.014914707280695438,
0.01113142166286707,
-0.01817375048995018,
-0.003650040365755558,
0.018435871228575706,
-0.026998503133654594,
-0.020567791536450386,
-0.03666204586625099,
0.06975924223661423,
0.02168617583811283,
-0.000582673994358629,
0.025687895715236664,
-0.0075447275303304195,
-0.03479224443435669,
-0.08576612174510956,
0.04602851718664169,
0.04760124534368515,
-0.01783299259841442,
0.00803402066230774,
-0.021214358508586884,
-0.06975924223661423,
0.005207478068768978,
-0.0710873231291771,
0.05190003663301468,
-0.010406219400465488,
0.004469169769436121,
0.059973374009132385,
0.025076279416680336,
-0.07549095898866653,
-0.01006546150892973,
0.07570065557956696,
-0.014338039793074131,
-0.037395983934402466,
-0.03127982094883919,
-0.0010102594969794154,
0.03648729622364044,
0.025687895715236664,
0.0014656954444944859,
0.003202249761670828,
-0.024586986750364304,
0.0517602376639843,
0.041694775223731995,
-0.0054040695540606976,
-0.044350940734148026,
0.016426274552941322,
0.025827694684267044,
-0.001993214711546898,
-0.05462609604001045,
-0.010912987403571606,
0.011638189665973186,
-0.01944940723478794,
-0.033883556723594666,
0.07374348491430283,
0.09701986610889435,
-0.02691113017499447,
-0.046273164451122284,
-0.004652654752135277,
-0.06808166205883026,
0.05053700506687164,
-0.02240264229476452,
0.02346860244870186,
0.015666121616959572,
-0.012197381816804409,
0.015613697469234467,
-0.0022826404310762882,
0.013473039492964745,
-0.04242871701717377,
-0.08737380057573318,
0.05396205559372902,
-0.041799623519182205,
-0.06399256736040115,
-0.05689781531691551,
0.01824364811182022,
-0.005779776722192764,
-0.05951903015375137,
0.019431931897997856,
-0.008112656883895397,
0.03882891684770584,
-0.003497136291116476,
-0.09107844531536102,
-0.041764676570892334,
-0.033202044665813446,
-0.025722846388816833,
-0.027732443064451218,
0.026439310982823372,
0.020777488127350807,
-0.003947111312299967,
0.04295295849442482,
0.08898147195577621,
0.010607179254293442,
0.027837291359901428,
0.023416178300976753,
-0.0009086874779313803,
0.09457340091466904,
-0.05207478255033493,
0.05707256495952606,
-0.01149839162826538,
0.003964586183428764,
-0.027889715507626534,
-0.04480528458952904,
-0.059484079480171204,
-0.037570733577013016,
0.053053367882966995,
-0.0360679030418396,
0.0005651992396451533,
-0.003346416400745511,
0.02226284332573414,
-0.0521097332239151,
0.04242871701717377,
0.05144569277763367,
0.031157495453953743,
-0.006788943894207478,
-0.0016175074269995093,
-0.037221238017082214,
-0.013874959200620651,
-0.006522453855723143,
-0.016120465472340584,
-0.011070259846746922,
-0.06098691001534462,
-0.011166371405124664,
-0.0014067181618884206,
0.00429442198947072,
0.0006148930988274515,
0.021738599985837936,
-0.052878621965646744,
-0.04599356651306152,
-0.028745979070663452,
0.03538638725876808,
0.04470043629407883,
0.04791579023003578,
0.027872242033481598,
0.014049706980586052,
-0.02020082250237465,
-0.0270509272813797,
-0.004346846602857113,
-0.00858447514474392,
-0.041834574192762375,
0.04029679670929909,
-0.06940974295139313,
0.06682348251342773,
-0.017719406634569168,
-0.02484910748898983,
0.030074061825871468,
0.014914707280695438,
-0.05190003663301468,
-0.05682791769504547,
-0.0050676800310611725,
-0.048474982380867004,
0.03166426345705986,
-0.019536780193448067,
-0.016338899731636047,
0.013272079639136791,
-0.007902960292994976,
-0.08905137330293655,
0.0077718994580209255,
0.09254632890224457,
-0.017439810559153557,
0.05682791769504547,
0.003171668853610754,
0.03432042896747589,
0.010021774098277092,
0.020113447681069374,
-0.004169914405792952,
0.04700710251927376,
0.07702873647212982,
-0.0010927185649052262,
-0.07465217262506485,
-0.003088663797825575,
0.04001719877123833,
0.059484079480171204,
-0.05249417573213577,
0.055080439895391464,
-0.006063741631805897,
-0.01185662392526865,
0.04120548442006111,
-0.01247697789222002,
-0.01300995796918869,
0.016234051436185837,
-0.02027072012424469,
0.03900366276502609,
0.007929172366857529,
0.0011587949702516198,
-0.03334183990955353,
-0.017649507150053978,
-0.06126650795340538,
-0.06731276959180832,
-0.016504909843206406,
0.004353399388492107,
-0.011777987703680992,
0.010388744063675404,
0.016050565987825394,
0.03785032778978348,
0.004204864148050547,
-0.011183845810592175,
0.02151142805814743,
0.022664763033390045,
0.05819094926118851,
-0.027697494253516197,
-0.02158132754266262,
-0.012249805964529514,
0.011358593590557575,
-0.003877212293446064,
-0.02612476609647274,
0.025792744010686874,
-0.010546017438173294,
0.04141518101096153,
0.030126485973596573,
-0.0035495604388415813,
0.07563076168298721,
-0.002975077833980322,
-0.02694607898592949,
-0.021773550659418106,
0.016094252467155457,
0.057841453701257706,
0.0020347172394394875,
-0.009296571835875511,
-0.011620715260505676,
0.02743537165224552,
-0.07549095898866653,
-0.009820815175771713,
-0.025146178901195526,
0.03479224443435669,
-0.009847027249634266,
0.02719072625041008,
-0.08450793474912643,
0.0015377788804471493,
0.007103489711880684,
-0.02044546790421009,
0.01599814184010029,
0.009916925802826881,
0.015412737615406513,
-0.013490513898432255,
0.02467435970902443,
0.01951930671930313,
-0.03556113690137863,
-0.006369549781084061,
-0.06343337893486023,
0.0018676149193197489,
-0.04920892417430878,
0.027540219947695732,
-0.02608981542289257,
0.029060523957014084,
0.012005159631371498,
-0.03566598519682884,
-0.07542106509208679,
0.039562854915857315,
-0.053437814116477966,
-0.041659824550151825,
-0.044036392122507095,
-0.06406246870756149,
-0.022018196061253548,
0.012922585010528564,
0.04498003050684929,
0.03620770201086998,
-0.00561813497915864,
0.003665330819785595,
-0.02509375475347042,
0.006269069854170084,
0.01682819239795208,
-0.002330695977434516,
0.017771830782294273,
0.019641630351543427,
-0.020672639831900597,
0.023486075922846794,
-0.019589204341173172,
-0.007190863601863384,
0.015736021101474762,
-0.014049706980586052,
-0.035368911921978,
0.04532952606678009,
0.02168617583811283,
-0.0020106895826756954,
-0.014102131128311157,
-0.027872242033481598,
-0.09583158046007156,
0.024359814822673798,
-0.07003883272409439,
-0.012171169742941856,
0.023940419778227806,
-0.003580141346901655,
0.05868024379014969,
-0.01070328988134861,
0.031891435384750366,
-0.019816376268863678,
-0.0430927574634552,
0.001438391162082553,
-0.023258903995156288,
0.009235410019755363,
-0.005377857014536858,
0.043861646205186844,
0.01927465945482254,
-0.10841340571641922,
-0.009244147688150406,
-0.04288306087255478,
-0.012083795852959156,
-0.014975869096815586,
-0.009750915691256523,
0.0166272334754467,
0.030074061825871468,
-0.11002108454704285,
-0.007789373863488436,
0.0015738204820081592,
-0.0029466813430190086,
0.010519805364310741,
0.02385304681956768,
-0.03252052888274193,
0.0430927574634552,
0.019903751090168953,
0.059658829122781754,
0.019327083602547646,
0.025600522756576538,
-0.02292688377201557,
0.030406082049012184,
0.0714368149638176,
0.06668367981910706,
0.05483579635620117,
0.024394763633608818,
0.022035671398043633,
0.03879396617412567,
0.022070620208978653,
0.023014258593320847,
-0.02719072625041008,
-0.027819816023111343,
0.03087789937853813,
0.0025382088497281075,
-0.0178592037409544,
0.00499778101220727,
0.055604685097932816,
-0.08136247843503952,
0.002959787379950285,
0.020393043756484985,
-0.037500832229852676,
0.0019069331465288997,
0.034704871475696564,
-0.026631534099578857,
-0.05651337280869484,
0.02278708666563034,
-0.036941640079021454,
-0.006596721708774567,
0.008549526333808899,
-0.001192652271129191,
0.014032231643795967,
-0.04281315952539444,
0.05955398082733154,
-0.00020355364540591836,
0.014075919054448605,
0.02953234314918518,
0.05361256003379822,
0.0025840799789875746,
0.03760568052530289,
-0.0021668700501322746,
-0.0016557334456592798,
0.003964586183428764,
0.030231334269046783,
-0.012808999046683311,
0.019921226426959038,
0.09583158046007156,
-0.015674859285354614,
-0.01631268858909607,
0.008772329427301884,
-0.007920434698462486,
-0.013822535052895546,
-0.034984469413757324,
-0.006068110000342131,
0.010677077807486057,
0.0815022811293602,
-0.016120465472340584,
0.020725063979625702,
0.018086375668644905,
0.037186287343502045
]
|
29,294 | markupsafe | format_map | null | def format_map( # type: ignore[override]
self, map: t.Mapping[str, t.Any]
) -> "te.Self":
formatter = EscapeFormatter(self.escape)
return self.__class__(formatter.vformat(self, (), map))
| (self, map: Mapping[str, Any]) -> 'te.Self' | [
0.06403546035289764,
-0.05942576751112938,
0.0402723029255867,
0.014579502865672112,
-0.03762798011302948,
-0.05192160978913307,
-0.016553809866309166,
-0.010898892767727375,
0.02810484915971756,
-0.0034170709550380707,
-0.004330523312091827,
0.03085637278854847,
0.033929504454135895,
0.05638837069272995,
0.01055941917002201,
0.011434904299676418,
-0.026889890432357788,
0.004399757832288742,
0.007120014168322086,
-0.014123893342912197,
0.03328629210591316,
0.023316483944654465,
0.10198505222797394,
-0.04573961719870567,
0.0071244812570512295,
0.0067716073244810104,
-0.04456039145588875,
0.008674446493387222,
0.003073130501434207,
-0.060140445828437805,
-0.04366704076528549,
-0.019635874778032303,
-0.010988228023052216,
0.034090306609869,
0.036395154893398285,
-0.038414131850004196,
-0.07654238492250443,
0.0016002164920791984,
-0.01635727286338806,
-0.021368976682424545,
0.04959889501333237,
-0.012408656999468803,
-0.03090997412800789,
-0.022047923877835274,
0.000480176619021222,
0.006307064089924097,
0.053315240889787674,
0.011461704038083553,
0.032321471720933914,
-0.035412468016147614,
-0.0032629675697535276,
0.01881399005651474,
0.0027850244659930468,
0.024049032479524612,
-0.04670443385839462,
0.022583935409784317,
0.017134489491581917,
0.013739751651883125,
0.035144463181495667,
-0.02685415744781494,
-0.048383936285972595,
0.0033992037642747164,
-0.012882133945822716,
0.0036649759858846664,
0.041380058974027634,
-0.043738506734371185,
-0.022691138088703156,
-0.018331579864025116,
0.016205402091145515,
0.013802286237478256,
0.054637398570775986,
-0.0398077592253685,
-0.03650235757231712,
0.024477841332554817,
-0.028533658012747765,
0.008839717134833336,
-0.05156426876783371,
0.020904432982206345,
0.03712770342826843,
0.012229987420141697,
0.015151247382164001,
-0.0398077592253685,
-0.024352772161364555,
-0.02501385286450386,
-0.002235613064840436,
-0.03705623373389244,
-0.00211501051671803,
-0.018170777708292007,
-0.04652576521039009,
0.018742522224783897,
-0.01951080560684204,
0.038914408534765244,
-0.04988476634025574,
0.04709751158952713,
-0.05363684520125389,
-0.032786011695861816,
0.043845709413290024,
-0.021529780700802803,
-0.020690029487013817,
0.009192590601742268,
0.08504709601402283,
-0.02506745420396328,
-0.0011535405647009611,
-0.03489432483911514,
-0.016911150887608528,
-0.05295789986848831,
-0.012882133945822716,
-0.01139023620635271,
-0.026711219921708107,
0.02236953005194664,
-0.031856928020715714,
0.031981997191905975,
0.019207065925002098,
-0.01732209324836731,
-0.005900589283555746,
0.02226232923567295,
-0.024620776996016502,
-0.005659384187310934,
0.03503726050257683,
0.014749239198863506,
-0.0024946851190179586,
0.045167870819568634,
-0.008495775982737541,
-0.056817177683115005,
-0.04859834164381027,
0.00018495175754651427,
-0.029409144073724747,
-0.01721489056944847,
0.02174418419599533,
-0.030016623437404633,
0.042595017701387405,
0.026943491771817207,
0.005882721859961748,
0.011961981654167175,
0.08033020049333572,
-0.0014427632559090853,
-0.030320363119244576,
-0.01645554043352604,
-0.02070789597928524,
0.0881916955113411,
0.05295789986848831,
-0.03291108086705208,
-0.0009765452705323696,
0.02581786923110485,
-0.01749182865023613,
-0.05703158304095268,
0.03510872647166252,
0.05903268977999687,
0.022119391709566116,
-0.02226232923567295,
0.02747950330376625,
0.009451663121581078,
0.025621332228183746,
0.08483269065618515,
-0.011595707386732101,
0.008951385505497456,
0.07682826370000839,
-0.013203740119934082,
0.0459897555410862,
0.0019988748244941235,
0.051707204431295395,
-0.013614682480692863,
0.009844737127423286,
-0.024924516677856445,
-0.0005929623148404062,
0.026085874065756798,
0.04509640112519264,
-0.02413836680352688,
0.0806160718202591,
-0.00975540280342102,
0.018081441521644592,
-0.07075347006320953,
0.001142373657785356,
0.049634627997875214,
0.08897784352302551,
0.06528615206480026,
-0.04663296788930893,
0.027604572474956512,
-0.02989155426621437,
-0.0046811639331281185,
0.04427452012896538,
0.011774377897381783,
-0.012783865444362164,
0.021351110190153122,
0.015848062932491302,
-0.03991496190428734,
0.024513574317097664,
0.02242313139140606,
-0.00483303377404809,
-0.018054641783237457,
0.03568047285079956,
-0.00880844984203577,
-0.0028408588841557503,
-0.006476800888776779,
0.005954190157353878,
-0.03680609539151192,
-0.02002894878387451,
-0.043166760355234146,
0.02213726006448269,
0.019064128398895264,
-0.07625651359558105,
0.015919530764222145,
-0.058996956795454025,
-0.0004994395421817899,
-0.003428237745538354,
-0.005404778756201267,
0.05281496047973633,
-0.019010527059435844,
0.019546538591384888,
-0.03085637278854847,
0.007057479582726955,
-0.04188033565878868,
-0.05528061464428902,
-0.011863713152706623,
0.046668700873851776,
-0.0596759058535099,
0.053315240889787674,
0.034376177936792374,
-0.05878255143761635,
0.05760332942008972,
0.04473906010389328,
0.02397756464779377,
0.001251809298992157,
-0.01164930872619152,
0.005958656780421734,
-0.014677771367132664,
0.012238920666277409,
-0.00854937732219696,
0.014731371775269508,
0.02587147057056427,
-0.014642037451267242,
-0.0353231318295002,
-0.06460721045732498,
0.015812328085303307,
0.028319254517555237,
-0.024174101650714874,
0.043917179107666016,
-0.07547036558389664,
-0.0031758658587932587,
-0.00883078295737505,
0.034447647631168365,
0.01951080560684204,
-0.03291108086705208,
0.02662188559770584,
0.016768215224146843,
-0.04802659526467323,
-0.020261220633983612,
0.06596510112285614,
0.020850831642746925,
0.06550055742263794,
0.024066898971796036,
0.017884904518723488,
-0.039664823561906815,
0.051314130425453186,
-0.014990444295108318,
0.007231683470308781,
-0.010479017160832882,
-0.01313227228820324,
-0.018001040443778038,
0.031981997191905975,
-0.02690775878727436,
-0.010193144902586937,
0.0023897162172943354,
-0.04702604189515114,
0.08497563004493713,
0.016714613884687424,
-0.02058282680809498,
-0.011711843311786652,
0.01402562391012907,
-0.007405886892229319,
0.03342922776937485,
0.010309280827641487,
-0.03412603959441185,
0.06460721045732498,
-0.06407119333744049,
-0.010577285662293434,
0.025424793362617493,
-0.04398864507675171,
-0.008187569677829742,
-0.024978118017315865,
-0.003731977427378297,
-0.019760943949222565,
-0.04273795336484909,
-0.014231095090508461,
0.03884293884038925,
0.008348372764885426,
0.007740893866866827,
0.0648573487997055,
0.057853467762470245,
-0.028837397694587708,
0.011032895185053349,
0.03505512699484825,
-0.02828351967036724,
0.003280834760516882,
-0.013945222832262516,
-0.08661939948797226,
0.02270900458097458,
-0.01842091605067253,
-0.024013297632336617,
-0.05670997500419617,
-0.02031482197344303,
-0.04927728697657585,
0.09919779002666473,
0.058425210416316986,
0.0008777182083576918,
0.015794461593031883,
-0.019528672099113464,
0.02104737050831318,
0.05345817655324936,
0.0075398897752165794,
-0.01232825592160225,
0.07840055972337723,
-0.048777010291814804,
0.035537537187337875,
-0.027032827958464622,
0.05195734277367592,
-0.03945041820406914,
0.0029212606605142355,
0.029391275718808174,
0.029230473563075066,
-0.05431579425930977,
-0.00954993162304163,
0.017929572612047195,
-0.011542106047272682,
0.03476925566792488,
-0.04595401883125305,
0.00961246620863676,
-0.04341690242290497,
0.09448089450597763,
-0.057853467762470245,
0.017411427572369576,
-0.024585044011473656,
0.038056790828704834,
-0.03103504329919815,
-0.046775903552770615,
0.01310547161847353,
-0.005409245379269123,
0.05442299693822861,
-0.07940111309289932,
-0.011488504707813263,
0.02799764834344387,
0.04291662201285362,
-0.01817971095442772,
0.011819045059382915,
-0.06993158161640167,
0.01909986324608326,
-0.03752077743411064,
0.02220872789621353,
0.000048750491259852424,
-0.018456649035215378,
-0.017366759479045868,
-0.046668700873851776,
0.05713878571987152,
0.005650450475513935,
-0.00021510238002520055,
-0.042702220380306244,
0.021083103492856026,
0.014034558087587357,
-0.06496454775333405,
0.04059390723705292,
0.08311745524406433,
-0.04852687194943428,
-0.021368976682424545,
-0.03930748254060745,
-0.006825208198279142,
-0.006043525412678719,
0.022065790370106697,
-0.0187067873775959,
-0.012765998020768166,
0.030874241143465042,
0.01645554043352604,
-0.009415928274393082,
0.02712216228246689,
-0.05788920074701309,
-0.028247786685824394,
0.053136568516492844,
0.006673338357359171,
0.042130474001169205,
-0.055673688650131226,
-0.05399418622255325,
0.02706856094300747,
0.00563705014064908,
0.025567730888724327,
0.027890445664525032,
0.017634766176342964,
-0.011720776557922363,
0.07504155486822128,
0.002869892865419388,
0.04330969974398613,
-0.002590720308944583,
-0.06378532201051712,
0.017107687890529633,
0.023191414773464203,
0.0006175294984132051,
-0.03621648624539375,
0.03228573501110077,
-0.025746401399374008,
-0.02329861745238304,
0.026550417765975,
0.001714118872769177,
0.00762922503054142,
-0.03407244011759758,
0.002673355396836996,
-0.0459897555410862,
0.01411495916545391,
-0.04709751158952713,
0.012944668531417847,
0.013436011970043182,
0.017366759479045868,
-0.0023115479853004217,
0.020672162994742393,
-0.02603227272629738,
-0.05327950417995453,
0.0010401966283097863,
0.01520484872162342,
-0.03930748254060745,
-0.017232757061719894,
-0.027854710817337036,
-0.06224875897169113,
-0.02615734189748764,
-0.020564960315823555,
0.02013615146279335,
-0.025389060378074646,
0.006043525412678719,
0.06603656709194183,
-0.057210251688957214,
-0.02329861745238304,
-0.034394048154354095,
0.06803768128156662,
0.03884293884038925,
-0.02747950330376625,
-0.057960670441389084,
-0.005431579425930977,
-0.03669889271259308,
0.06503601372241974,
0.022119391709566116,
-0.0002829412987921387,
-0.01899266056716442,
0.038342662155628204,
0.01824224554002285,
-0.0023316482547670603,
-0.012873200699687004,
0.020064683631062508,
0.013587881810963154,
0.08097341656684875,
-0.018331579864025116,
-0.047347649931907654,
0.010505817830562592,
0.041380058974027634,
-0.019975347444415092,
0.022851940244436264,
0.04852687194943428,
-0.05849668011069298,
-0.026925625279545784,
0.07518449425697327,
-0.01227465458214283,
0.0019262899877503514,
-0.02896246686577797,
0.015821261331439018,
0.05306510254740715,
-0.030391830950975418,
-0.015990998595952988,
0.001663867849856615,
0.04613269120454788,
-0.009943006560206413,
-0.013150139711797237,
0.0459897555410862,
0.008594044484198093,
-0.04102271795272827,
-0.04463185742497444,
0.025907203555107117,
0.005297576542943716,
-0.017929572612047195,
-0.0047928327694535255,
-0.032732412219047546,
0.019189197570085526,
0.018206510692834854,
-0.01664314605295658,
-0.035198062658309937,
0.007423753850162029,
-0.00832157302647829,
0.0089469188824296,
0.004766032099723816,
0.006070326082408428,
-0.005882721859961748,
0.01967160776257515,
0.0806160718202591,
0.000172947344253771,
0.028926733881235123,
0.046847373247146606,
-0.017232757061719894,
0.06189141795039177,
-0.025800002738833427,
0.036734629422426224,
-0.03952188789844513,
0.00487770140171051,
0.012801731936633587,
-0.03705623373389244,
-0.03430471196770668,
-0.07982992380857468,
0.046490032225847244,
-0.04663296788930893,
-0.026532551273703575,
0.0015566656365990639,
0.002333881799131632,
-0.03512659668922424,
-0.007249550428241491,
0.036734629422426224,
0.025317592546343803,
0.0038726802449673414,
-0.0032294669654220343,
-0.07639945298433304,
0.009143455885350704,
-0.006668871734291315,
0.0005214941338635981,
-0.027979779988527298,
-0.06696565449237823,
-0.04581108316779137,
-0.015910597518086433,
-0.007084280252456665,
-0.006445533595979214,
0.015472854487597942,
-0.06371385604143143,
-0.044024378061294556,
-0.039664823561906815,
-0.037020500749349594,
0.07511302828788757,
0.04338116571307182,
0.016339406371116638,
-0.008902251720428467,
-0.06046205386519432,
-0.04502493515610695,
-0.0006002208101563156,
-0.0248887836933136,
-0.03310761973261833,
0.0682520791888237,
0.00718701584264636,
-0.029444877058267593,
-0.059390030801296234,
0.00825457088649273,
0.01686648279428482,
-0.0014014457119628787,
0.016303671523928642,
-0.07911524176597595,
0.047990862280130386,
-0.010398616082966328,
0.007955298759043217,
-0.03819972649216652,
0.012757064774632454,
-0.008424308151006699,
-0.00012144001811975613,
-0.024299170821905136,
0.03201773017644882,
0.05352964252233505,
-0.03301828354597092,
0.03389377146959305,
0.019367868080735207,
-0.02094016782939434,
-0.024620776996016502,
0.019582273438572884,
0.009045187383890152,
0.050956789404153824,
0.069717176258564,
-0.009701801463961601,
-0.037485044449567795,
0.01951080560684204,
-0.024406373500823975,
0.06653684377670288,
-0.043166760355234146,
0.05517341196537018,
-0.0003972623962908983,
-0.022047923877835274,
0.02156551368534565,
-0.018778257071971893,
-0.03476925566792488,
0.011881579644978046,
-0.007910630665719509,
0.04255928099155426,
0.035412468016147614,
-0.011193699203431606,
-0.08161662518978119,
0.06868088990449905,
-0.02524612285196781,
0.015070846304297447,
0.022012189030647278,
0.012962535955011845,
-0.048098064959049225,
0.013587881810963154,
0.029230473563075066,
0.014070292003452778,
-0.029051803052425385,
-0.06106953322887421,
-0.0012350589968264103,
0.0181261096149683,
0.03627008572220802,
-0.054923273622989655,
0.03080277144908905,
0.007950831204652786,
-0.03403670713305473,
0.029051803052425385,
0.006695672404021025,
0.01348068006336689,
-0.0037610114086419344,
0.034554850310087204,
0.028605125844478607,
-0.019010527059435844,
0.07747147232294083,
0.023709557950496674,
-0.0333934910595417,
0.016276871785521507,
-0.048669811338186264,
0.024995984509587288,
0.030213160440325737,
-0.04091551527380943,
0.013346676714718342,
-0.05138560011982918,
-0.06317784637212753,
0.013811219483613968,
0.012578394263982773,
-0.011542106047272682,
0.00851364340633154,
0.005029570776969194,
-0.09462382644414902,
-0.026943491771817207,
0.015696192160248756,
-0.01767049916088581,
0.03827119246125221,
0.019403602927923203,
0.00425682170316577,
-0.02706856094300747,
-0.006793940905481577,
0.026514682918787003,
-0.04802659526467323,
-0.02397756464779377,
-0.039664823561906815,
0.04409584775567055,
0.015624724328517914,
0.031124379485845566,
-0.023959696292877197,
0.054280057549476624,
-0.005940789822489023,
-0.0710393413901329,
-0.03759224712848663,
0.032786011695861816,
0.00003685076444526203,
0.006173061206936836,
-0.019207065925002098,
-0.02031482197344303,
0.001314343884587288,
-0.005806786939501762,
0.015517521649599075,
0.033768702298402786,
-0.007852562703192234,
0.04130858927965164,
0.028426457196474075,
0.0056906514801084995,
-0.03510872647166252,
-0.029159005731344223,
-0.04423878341913223,
0.022798338904976845,
-0.06364239007234573,
0.01153317280113697,
-0.08704820275306702,
-0.06507174670696259,
-0.025674931704998016,
-0.02029695361852646,
-0.016017798334360123,
0.06131967157125473,
0.031017176806926727,
-0.006418732926249504,
0.029355542734265327,
-0.05177867412567139,
-0.06553629040718079,
-0.03844986483454704,
-0.03987922891974449,
-0.012095984071493149,
0.037878118455410004,
0.023012744262814522,
0.05931856483221054,
-0.01411495916545391,
0.04105845093727112,
0.015213781967759132,
-0.04874127730727196,
0.05224321782588959,
-0.0035577737726271152,
0.016893284395337105,
-0.02937340922653675,
0.02403116598725319,
0.04623989388346672,
-0.01405242457985878,
0.023495154455304146,
-0.08740554749965668,
-0.005806786939501762,
0.01499937754124403,
-0.02203005738556385,
0.04145152494311333,
0.020725762471556664,
-0.12271080911159515,
0.0063383313827216625,
0.02535332553088665,
-0.015356718562543392,
0.00018523092148825526,
0.014132826589047909,
-0.047919392585754395,
0.01577659323811531,
-0.011917313560843468,
0.039664823561906815,
0.014463366940617561,
0.052564822137355804,
-0.00042825055425055325,
0.043452635407447815,
0.07411246746778488,
0.07468421757221222,
0.0521002821624279,
-0.015928464010357857,
-0.03228573501110077,
0.02712216228246689,
0.006695672404021025,
0.030874241143465042,
-0.04938448965549469,
-0.015320984646677971,
-0.0021418111864477396,
-0.001239525736309588,
0.030784904956817627,
0.02317354641854763,
0.0701102539896965,
-0.11291967332363129,
-0.04766925424337387,
-0.011434904299676418,
0.005905055906623602,
-0.019653741270303726,
0.014123893342912197,
-0.08940665423870087,
-0.06857369095087051,
-0.03537673503160477,
-0.017875971272587776,
-0.033411361277103424,
0.012167452834546566,
-0.03895014151930809,
-0.013319876044988632,
-0.024191968142986298,
0.0319998636841774,
0.019975347444415092,
0.03655595704913139,
0.01938573457300663,
0.02122604101896286,
0.027390168979763985,
0.0639282613992691,
-0.01029141340404749,
0.04874127730727196,
0.012399723753333092,
0.05960443615913391,
-0.05631690099835396,
0.010157410986721516,
0.07229003310203552,
-0.003247333923354745,
-0.015294183976948261,
-0.006324931047856808,
0.008585111238062382,
0.021261774003505707,
0.002963694743812084,
0.050456512719392776,
-0.027747508138418198,
0.01611606776714325,
0.04062964394688606,
0.01767049916088581,
-0.011819045059382915,
0.006776073947548866
]
|
29,295 | markupsafe | join | Concatenate any number of strings.
The string whose method is called is inserted in between each given string.
The result is returned as a new string.
Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs' | def join(self, seq: t.Iterable[t.Union[str, "HasHTML"]]) -> "te.Self":
return self.__class__(super().join(map(self.escape, seq)))
| (self, seq: Iterable[Union[str, ForwardRef('HasHTML')]]) -> 'te.Self' | [
-0.027402343228459358,
-0.04768994078040123,
0.010927476920187473,
0.013630728237330914,
-0.042512375861406326,
-0.018139082938432693,
-0.0035903938114643097,
-0.007788358721882105,
0.04307591915130615,
0.009694723412394524,
0.0247783400118351,
0.026627469807863235,
0.04828870669007301,
0.07791000604629517,
-0.027120571583509445,
0.015735214576125145,
-0.012565277516841888,
0.0022960028145462275,
-0.002921184990555048,
0.021397074684500694,
-0.019459890201687813,
0.0740356370806694,
0.07586715370416641,
-0.020446093752980232,
-0.0002988326014019549,
0.04279414936900139,
-0.0419488325715065,
-0.023158149793744087,
-0.04113873839378357,
0.010029328055679798,
0.03559134528040886,
-0.03111821413040161,
0.026257643476128578,
-0.07234500348567963,
0.07600804418325424,
0.015779241919517517,
-0.06438493728637695,
0.000636188720818609,
0.10115620493888855,
0.003246983978897333,
-0.009782777167856693,
0.0014495857758447528,
0.009201622568070889,
-0.08058684319257736,
-0.008999099023640156,
-0.025782153010368347,
0.07945974916219711,
0.04159661754965782,
-0.019917769357562065,
-0.02409152127802372,
0.03895500302314758,
0.06829453259706497,
-0.0022244590800255537,
-0.07410608232021332,
-0.06311696767807007,
0.06181376799941063,
-0.03030811809003353,
0.029427580535411835,
0.028106773272156715,
0.008065728470683098,
-0.0003800072008743882,
0.004105508327484131,
0.04698551073670387,
0.04145573079586029,
0.05307883396744728,
-0.0011920284014195204,
-0.023668862879276276,
-0.0027648895047605038,
0.028265271335840225,
0.03282645717263222,
0.03176981210708618,
-0.006837377790361643,
-0.028441378846764565,
0.031540870666503906,
-0.01584087871015072,
-0.004926610272377729,
-0.049908895045518875,
-0.00852360762655735,
0.0166509747505188,
-0.041561394929885864,
0.08967399597167969,
0.01596415415406227,
-0.011790404096245766,
-0.01230111625045538,
0.034041598439216614,
-0.053853705525398254,
-0.10122665017843246,
-0.04945101588964462,
-0.02756083942949772,
-0.012433197349309921,
0.003152326215058565,
0.023334257304668427,
-0.05804506689310074,
-0.003150124801322818,
0.004041669424623251,
0.007057512179017067,
-0.0018315190682187676,
-0.000052729094022652134,
-0.0005451080505736172,
-0.028934478759765625,
0.024531789124011993,
0.034323371946811676,
0.020586978644132614,
-0.0011843236861750484,
0.004008649382740259,
-0.004466529004275799,
-0.032527074217796326,
-0.009465783834457397,
0.0002036244113696739,
-0.008299071341753006,
-0.009633085690438747,
0.05441724881529808,
0.002249774755910039,
-0.05455813556909561,
-0.014898703433573246,
-0.006907820701599121,
-0.017082437872886658,
-0.010311100631952286,
0.04864092171192169,
-0.03178742155432701,
0.02474311925470829,
0.00536247668787837,
-0.05075421184301376,
0.0017423646058887243,
-0.004741697106510401,
0.03127671033143997,
-0.03807446360588074,
-0.0291634202003479,
0.03513346612453461,
-0.09432323276996613,
0.019266171380877495,
0.05145864188671112,
0.025658877566456795,
-0.009087152779102325,
0.04427345097064972,
-0.007312868256121874,
-0.10207197070121765,
0.012336337938904762,
-0.014432018622756004,
0.03226291388273239,
-0.016175484284758568,
-0.033161062747240067,
0.060757122933864594,
0.04945101588964462,
-0.04381557181477547,
-0.003812729613855481,
0.000392664922401309,
0.0022916002199053764,
0.018420854583382607,
-0.000887692382093519,
0.026151979342103004,
-0.023404700681567192,
0.03360133245587349,
0.06815364211797714,
-0.019952991977334023,
0.011948901228606701,
0.02361602894961834,
0.01285585481673479,
0.026416141539812088,
0.011526242829859257,
0.02278832346200943,
-0.05716452747583389,
-0.053677599877119064,
0.07523316890001297,
0.011323719285428524,
0.03617250174283981,
0.012160230427980423,
0.010874644853174686,
0.04152617231011391,
0.012987935915589333,
0.04800693318247795,
0.0025029294192790985,
0.036982595920562744,
0.020868750289082527,
-0.058080289512872696,
0.04289981350302696,
-0.040222976356744766,
0.08107994496822357,
-0.028547042980790138,
-0.04790126904845238,
0.02474311925470829,
-0.0033988768700510263,
0.023809747770428658,
-0.05001455917954445,
0.03485169634222984,
-0.006846182979643345,
-0.016105040907859802,
-0.0062914444133639336,
0.02706773951649666,
-0.033513277769088745,
-0.004499549511820078,
-0.005133536644279957,
-0.01492511946707964,
-0.005917215719819069,
-0.054839909076690674,
-0.027419954538345337,
-0.033037785440683365,
-0.03381266072392464,
0.01850890927016735,
0.01268855296075344,
-0.06184899061918259,
0.04388601332902908,
-0.005468141287565231,
0.0008106453460641205,
0.016386812552809715,
-0.016025792807340622,
-0.0023576405365020037,
0.026838799938559532,
-0.016342785209417343,
-0.05082465335726738,
0.008017298765480518,
-0.004219978582113981,
-0.05413547903299332,
0.001527733518742025,
0.051564306020736694,
-0.02210150472819805,
-0.04342813417315483,
-0.004288220312446356,
-0.034517090767621994,
0.00009857898112386465,
0.008950669318437576,
-0.020903972908854485,
0.020903972908854485,
-0.018473688513040543,
-0.02622242271900177,
-0.009210427291691303,
0.008686508052051067,
0.0005291483248583972,
0.02685640938580036,
0.03758136183023453,
0.04751383140683174,
-0.01154385320842266,
0.016025792807340622,
0.02506011165678501,
-0.008963877335190773,
0.02292921021580696,
-0.016025792807340622,
0.007365700788795948,
-0.017117658630013466,
0.016272341832518578,
-0.017672399058938026,
0.025024890899658203,
-0.011191638186573982,
-0.012107397429645061,
0.08918089419603348,
0.027490397915244102,
-0.020023435354232788,
0.03527435287833214,
0.018156694248318672,
0.014115024358034134,
-0.0017885928973555565,
0.024514177814126015,
-0.01570879854261875,
-0.017496289685368538,
-0.005089509766548872,
0.023968245834112167,
0.03758136183023453,
-0.03372460603713989,
0.002956406446173787,
0.02953324466943741,
0.023862579837441444,
-0.03125910088419914,
-0.015066005289554596,
-0.008219822309911251,
-0.05737585946917534,
0.030713167041540146,
-0.07523316890001297,
-0.0056222351267933846,
-0.031893085688352585,
0.028159605339169502,
-0.05667142570018768,
-0.017073633149266243,
-0.0034539103507995605,
0.001225048559717834,
-0.033971156924963,
0.045964084565639496,
-0.045013103634119034,
0.01154385320842266,
-0.04381557181477547,
-0.03673604503273964,
0.010857033543288708,
0.0036784475669264793,
-0.01641322858631611,
-0.05522734671831131,
0.022841155529022217,
-0.024390902370214462,
0.026697913184762,
0.01285585481673479,
0.03231574594974518,
0.0021661235950887203,
0.02097441628575325,
0.01574401929974556,
0.02507772296667099,
-0.02671552449464798,
0.03522152081131935,
-0.01742584817111492,
0.02900492213666439,
-0.0031171045266091824,
0.06322263181209564,
-0.0576576292514801,
-0.017390625551342964,
-0.0589960478246212,
0.01776045188307762,
0.025517992675304413,
-0.07054870575666428,
-0.06322263181209564,
-0.024003466591238976,
0.02278832346200943,
0.013058379292488098,
-0.006410317029803991,
-0.03895500302314758,
-0.002714258385822177,
-0.022559383884072304,
0.02965652011334896,
0.003427494317293167,
0.05526256561279297,
-0.014044581912457943,
0.015955349430441856,
-0.013375372625887394,
0.02407390996813774,
-0.03839145973324776,
-0.012987935915589333,
0.015682382509112358,
0.03034334070980549,
0.04075130075216293,
-0.02685640938580036,
0.00787200964987278,
0.012406780384480953,
0.009923663921654224,
0.027331899851560593,
0.0354328490793705,
-0.033178672194480896,
0.039588987827301025,
-0.01156146451830864,
-0.047478608787059784,
0.04818304255604744,
0.038778893649578094,
-0.0072952574118971825,
-0.018456077203154564,
-0.08107994496822357,
0.0029387956019490957,
0.030449004843831062,
0.018262358382344246,
0.029427580535411835,
-0.009562643244862556,
-0.017408236861228943,
-0.021714067086577415,
0.0616728849709034,
0.040716078132390976,
-0.030713167041540146,
0.013886084780097008,
-0.011121194809675217,
0.08833557367324829,
-0.028441378846764565,
0.003608004655689001,
0.0010087663540616632,
-0.04518921300768852,
0.06737876683473587,
-0.03655993938446045,
0.002775896107777953,
0.09354835748672485,
-0.05357193201780319,
-0.0019999220967292786,
0.017672399058938026,
0.03492213785648346,
0.009043125435709953,
-0.01886112429201603,
0.037299592047929764,
-0.0346403643488884,
0.06949206441640854,
0.009448173455893993,
0.00029745674692094326,
-0.005855577997863293,
-0.05307883396744728,
-0.006626048590987921,
0.008475178852677345,
-0.009448173455893993,
0.03782791271805763,
-0.018720237538218498,
-0.049591902643442154,
-0.04258281737565994,
-0.0054021007381379604,
0.03495736047625542,
-0.0009405246819369495,
0.0223128329962492,
0.005864383187144995,
0.0816434845328331,
-0.0015068206703290343,
0.0383562371134758,
0.009967690333724022,
0.01673022285103798,
-0.020111488178372383,
0.008422345854341984,
0.000903101812582463,
-0.10207197070121765,
-0.02328142523765564,
0.0056046247482299805,
-0.005745510570704937,
0.027314290404319763,
0.013912500813603401,
-0.00028369834762997925,
0.005322852171957493,
0.047091174870729446,
0.025447549298405647,
-0.028406156226992607,
0.029216252267360687,
0.016131456941366196,
-0.038285791873931885,
-0.023439921438694,
0.007356895133852959,
-0.05561478063464165,
-0.0540650337934494,
-0.07572627067565918,
0.0011469008168205619,
0.026328086853027344,
-0.03240380063652992,
0.009553837589919567,
-0.002630607457831502,
-0.007572627160698175,
0.04201927408576012,
-0.056777093559503555,
-0.006797753740102053,
0.00010869141260627657,
0.05554433912038803,
-0.012397975660860538,
-0.03375982865691185,
-0.004052676260471344,
-0.014520072378218174,
0.049591902643442154,
-0.028547042980790138,
-0.0223128329962492,
-0.03772224858403206,
-0.06385661661624908,
-0.01781328395009041,
0.06068668141961098,
0.026416141539812088,
-0.026504194363951683,
-0.018808292225003242,
0.05920737609267235,
-0.018773071467876434,
0.015471053309738636,
-0.001735760597512126,
-0.025799764320254326,
0.04476655274629593,
0.051705192774534225,
-0.0681888610124588,
-0.008211016654968262,
-0.004052676260471344,
-0.03737003356218338,
0.04540054127573967,
0.04835914820432663,
0.054628580808639526,
-0.010064549744129181,
-0.0013086996041238308,
0.013208070769906044,
-0.02705012820661068,
0.12940387427806854,
-0.061708103865385056,
0.006388303358107805,
0.052691396325826645,
0.004228783771395683,
0.038919780403375626,
0.023210981860756874,
0.03814490884542465,
-0.009703529067337513,
-0.026962073519825935,
-0.02784261293709278,
-0.010214241221547127,
-0.06505414843559265,
-0.01803341880440712,
0.030695555731654167,
-0.017399432137608528,
0.01949511095881462,
-0.00483855651691556,
-0.004140730015933514,
0.032210081815719604,
-0.0173201821744442,
-0.05202218517661095,
-0.016448451206088066,
-0.022876378148794174,
-0.02867031842470169,
-0.0861518383026123,
0.006582021713256836,
-0.01631636917591095,
-0.039905983954668045,
0.010196629911661148,
0.07727601379156113,
0.02620481140911579,
0.020076267421245575,
0.04610497131943703,
0.009782777167856693,
0.07016126811504364,
-0.05216307193040848,
0.007308465428650379,
-0.01041676476597786,
0.02604631520807743,
-0.0024522983003407717,
-0.03789835795760155,
-0.08643361181020737,
-0.03333716839551926,
0.036454275250434875,
-0.024179574102163315,
0.009888442233204842,
0.012574083171784878,
0.0681888610124588,
0.011033141054213047,
0.019301394000649452,
0.026187200099229813,
-0.019125286489725113,
-0.02146751619875431,
0.028458988294005394,
-0.05145864188671112,
0.00205715699121356,
-0.06547680497169495,
-0.022524163126945496,
-0.04018775373697281,
-0.018878735601902008,
0.008933058008551598,
0.026363307610154152,
0.007480170577764511,
-0.009685918688774109,
0.04850003495812416,
-0.09714095294475555,
-0.021256187930703163,
-0.039271995425224304,
-0.01965360902249813,
0.03134715184569359,
0.05325493961572647,
-0.003004835918545723,
-0.0056046247482299805,
-0.04212493821978569,
0.03147042915225029,
0.015224502421915531,
-0.01679185964167118,
-0.003621212672442198,
0.0861518383026123,
-0.0720280110836029,
0.02062220126390457,
0.09263259917497635,
0.00483855651691556,
0.006287041585892439,
0.02132663130760193,
-0.0061109340749681,
-0.04346335679292679,
-0.02262982726097107,
-0.0054241144098341465,
0.012987935915589333,
0.03652471676468849,
0.028811203315854073,
0.07452873885631561,
-0.06336351484060287,
-0.033161062747240067,
-0.025359494611620903,
0.07474006712436676,
0.02079830877482891,
-0.004175951704382896,
-0.029392359778285027,
0.023844970390200615,
-0.008078936487436295,
0.04656285047531128,
0.027102960273623466,
0.0012745787389576435,
-0.010460792109370232,
-0.009492199867963791,
0.017513900995254517,
0.023017264902591705,
0.013419399969279766,
0.011306107975542545,
0.019142895936965942,
-0.001770982053130865,
-0.007013485301285982,
0.006775740068405867,
-0.06449060142040253,
-0.025306662544608116,
-0.0034781252034008503,
-0.02472550794482231,
-0.04339291527867317,
0.030695555731654167,
-0.008941863663494587,
0.02720862440764904,
-0.056319210678339005,
0.05455813556909561,
-0.004464327823370695,
-0.0065644108690321445,
0.045470982789993286,
-0.02953324466943741,
-0.03705304116010666,
0.009456978179514408,
-0.03390071541070938,
0.0003145171795040369,
0.019706441089510918,
-0.029885459691286087,
-0.013762809336185455,
0.010945087298750877,
0.08622228354215622,
-0.04370990768074989,
0.0016201899852603674,
0.005807148292660713,
-0.06864674389362335,
-0.014484850689768791,
0.05438202992081642,
0.03374221548438072,
0.014079802669584751,
0.03997642546892166,
0.04469611123204231,
0.030695555731654167,
-0.005952436942607164,
0.013313734903931618,
-0.03150565177202225,
0.025517992675304413,
-0.019459890201687813,
0.06906940042972565,
0.0163780078291893,
-0.013146433047950268,
-0.046457186341285706,
-0.033161062747240067,
-0.10446703433990479,
-0.000765517761465162,
0.008946266025304794,
-0.003612407250329852,
0.019248561933636665,
-0.027243847027420998,
-0.0807277262210846,
0.0038479510694742203,
-0.017038410529494286,
-0.01866740547120571,
-0.022171948105096817,
-0.017249740660190582,
0.07188712805509567,
0.00663485424593091,
0.02032281830906868,
-0.019565554335713387,
0.010804201476275921,
-0.018720237538218498,
-0.04216016083955765,
0.029568467289209366,
-0.00541090639308095,
0.0010698536643758416,
-0.017011994495987892,
0.017399432137608528,
-0.02210150472819805,
0.0023884593974798918,
-0.11947140097618103,
-0.02572932094335556,
-0.02259460650384426,
-0.03310823068022728,
-0.03529196232557297,
-0.015814462676644325,
-0.07572627067565918,
-0.04046952724456787,
0.028300492092967033,
0.058925606310367584,
0.023985855281352997,
0.005754316225647926,
-0.005582611076533794,
0.03030811809003353,
0.03673604503273964,
-0.030554668977856636,
0.01696796715259552,
0.043674685060977936,
0.019741661846637726,
0.013595507480204105,
0.03182264417409897,
-0.040399085730314255,
-0.017152881249785423,
0.008360708132386208,
0.026134368032217026,
0.016369201242923737,
0.017962975427508354,
-0.0019735058303922415,
-0.03569701313972473,
-0.009553837589919567,
-0.08453164994716644,
-0.0504724383354187,
-0.018896346911787987,
-0.006573216523975134,
0.03638383001089096,
-0.03446425870060921,
0.019142895936965942,
-0.010134993121027946,
0.018561741337180138,
-0.017011994495987892,
-0.060404907912015915,
-0.02472550794482231,
-0.025834985077381134,
0.01793655939400196,
0.008136170916259289,
0.037123482674360275,
0.021027248352766037,
-0.11010247468948364,
0.011279691942036152,
-0.02065742202103138,
-0.02690924145281315,
0.007484573405236006,
0.03856756538152695,
0.04948623850941658,
0.037264369428157806,
-0.1251068413257599,
0.005353671032935381,
0.002740674652159214,
0.02918102964758873,
0.02180212177336216,
0.00888022594153881,
-0.04230104759335518,
0.023968245834112167,
0.0036630381364375353,
0.0335485003888607,
0.04113873839378357,
0.021714067086577415,
0.023475144058465958,
0.03587311878800392,
0.08368633687496185,
0.026645081117749214,
0.03393593430519104,
0.025482770055532455,
-0.08065728098154068,
0.07572627067565918,
-0.0023378285113722086,
0.003211762523278594,
0.010267073288559914,
-0.010742563754320145,
-0.01931900344789028,
0.023439921438694,
-0.05424114316701889,
-0.0076782917603850365,
0.05082465335726738,
-0.08629272878170013,
0.03231574594974518,
0.010601677931845188,
0.04159661754965782,
-0.06195465475320816,
0.023792138323187828,
0.018808292225003242,
-0.008043714798986912,
-0.000910806527826935,
-0.06498370319604874,
-0.03495736047625542,
0.0021705261897295713,
-0.040399085730314255,
-0.04265326261520386,
-0.04117395728826523,
-0.019072454422712326,
0.05392414703965187,
-0.011711155995726585,
-0.023210981860756874,
-0.04835914820432663,
0.009800388477742672,
0.022700270637869835,
-0.004944221116602421,
-0.00578073225915432,
-0.00643233023583889,
0.06533592194318771,
-0.029216252267360687,
0.005437322426587343,
0.09453456103801727,
0.0308364424854517,
-0.0008469675085507333,
0.01779567264020443,
-0.03814490884542465,
-0.005252409260720015,
-0.02018193155527115,
0.054839909076690674,
0.021890174597501755,
0.04469611123204231,
0.017742840573191643,
0.022048672661185265,
-0.003969025332480669,
0.021097691729664803
]
|
29,296 | markupsafe | ljust | Return a left-justified string of length width.
Padding is done using the specified fill character (default is a space). | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, width, fillchar=' ', /) | [
0.0061517213471233845,
-0.09842754155397415,
0.07670609652996063,
0.030700359493494034,
0.030001403763890266,
0.048783645033836365,
-0.0000528208511241246,
-0.003311086678877473,
0.04996649548411369,
-0.01596848852932453,
0.025287920609116554,
0.03717019781470299,
0.011667212471365929,
-0.007236001547425985,
-0.013047205284237862,
0.040826283395290375,
0.020807424560189247,
-0.0038980317767709494,
0.005587178748100996,
-0.0074331434443593025,
0.01252746768295765,
0.0063578239642083645,
0.04985896125435829,
-0.030861658975481987,
0.023316502571105957,
0.04763663560152054,
-0.004153420217335224,
0.007993205450475216,
-0.00943592470139265,
-0.022277027368545532,
0.04423145949840546,
-0.025449218228459358,
-0.014113563112914562,
0.027474403381347656,
0.06738666445016861,
0.01025137584656477,
-0.09082861989736557,
0.038711488246917725,
-0.01065461989492178,
-0.0880327895283699,
0.027528168633580208,
-0.011461109854280949,
-0.010475399903953075,
-0.04233172908425331,
-0.024463510140776634,
0.0022413681726902723,
0.03713435307145119,
0.03172191232442856,
-0.005941138137131929,
-0.020413141697645187,
0.02423052303493023,
0.02600480057299137,
0.06989574432373047,
-0.006281655747443438,
-0.031542692333459854,
0.025001168251037598,
0.00700749596580863,
0.05914255231618881,
0.06484173983335495,
-0.034894105046987534,
-0.028693098574876785,
0.05527140200138092,
0.0021528785582631826,
0.03561098501086235,
0.005502049345523119,
0.0035664751194417477,
-0.058031387627124786,
-0.005775359459221363,
-0.017491856589913368,
-0.013020321726799011,
0.009964623488485813,
-0.03014477901160717,
-0.02553882822394371,
0.004014524631202221,
-0.02294014021754265,
-0.04942883551120758,
-0.03889070823788643,
-0.021237552165985107,
0.02132716216146946,
0.015484594739973545,
0.01405083667486906,
-0.047457415610551834,
-0.04312029480934143,
0.014489924535155296,
0.016721211373806,
-0.05641840770840645,
-0.06000280752778053,
0.008692163042724133,
-0.008589111268520355,
0.06591705977916718,
0.009185017086565495,
-0.011649290099740028,
-0.010332024656236172,
0.016846666112542152,
-0.019445354118943214,
-0.009010277688503265,
0.02426636777818203,
-0.02930244617164135,
0.059608522802591324,
-0.0036964095197618008,
-0.006823795847594738,
0.03292268514633179,
-0.009391119703650475,
-0.016721211373806,
0.029015693813562393,
-0.02715180814266205,
-0.0046686772257089615,
0.004258711822330952,
-0.02559259533882141,
-0.017850296571850777,
0.019803794100880623,
-0.038747332990169525,
-0.007052300963550806,
-0.023657020181417465,
0.024929480627179146,
-0.02224118262529373,
-0.017312638461589813,
-0.0029481665696948767,
0.031148409470915794,
-0.049213770776987076,
0.04304860904812813,
0.0019445354118943214,
-0.05351504683494568,
-0.05566568672657013,
-0.010726308450102806,
0.06985989958047867,
-0.016497187316417694,
0.03684760257601738,
-0.000823291193228215,
-0.006201006937772036,
0.005761918146163225,
0.08308631926774979,
0.005676788743585348,
0.017429130151867867,
0.04846104606986046,
-0.015834074467420578,
0.022796764969825745,
0.06387395411729813,
-0.04982312023639679,
0.05742204189300537,
-0.0075361947529017925,
-0.0033693332225084305,
0.011720978654921055,
0.044625744223594666,
0.0002532880462240428,
-0.047493260353803635,
0.0459519699215889,
-0.017384326085448265,
0.04272601380944252,
0.005667827557772398,
0.06459083408117294,
-0.0034477419685572386,
0.006783471442759037,
0.005475166253745556,
0.006438473239541054,
0.04939299076795578,
0.054196082055568695,
0.01799367368221283,
0.055844906717538834,
0.011604485101997852,
0.033316969871520996,
-0.012052535079419613,
0.014857325702905655,
-0.015798229724168777,
0.04996649548411369,
0.052081286907196045,
0.03127386420965195,
-0.03559306263923645,
0.05688438192009926,
0.0061965263448655605,
0.03148892894387245,
-0.011971886269748211,
0.00860255304723978,
0.00960618443787098,
0.024069225415587425,
0.04702728986740112,
-0.021864822134375572,
0.04932130128145218,
-0.02012638933956623,
-0.017464974895119667,
0.010780073702335358,
-0.017868218943476677,
-0.031578537076711655,
-0.013262269087135792,
0.04738572984933853,
-0.003288684180006385,
0.05362258106470108,
-0.0005813444149680436,
-0.02767154574394226,
-0.04053952917456627,
0.008459176868200302,
0.003855467075482011,
0.02632739581167698,
-0.01045747846364975,
-0.07462714612483978,
-0.06459083408117294,
-0.03975096344947815,
-0.02808375097811222,
0.06796016544103622,
-0.009310470893979073,
-0.014373431913554668,
0.019839636981487274,
0.03684760257601738,
0.015135115943849087,
0.03096918947994709,
-0.00048613385297358036,
0.0019658177625387907,
-0.003479105420410633,
-0.07412532716989517,
-0.05154363065958023,
0.014140445739030838,
-0.0585690476000309,
-0.039571743458509445,
-0.015601088292896748,
0.0030064128804951906,
0.017447052523493767,
0.04362211003899574,
0.014785638079047203,
-0.019911324605345726,
-0.029965559020638466,
0.02424844540655613,
-0.0017854777397587895,
0.002184242010116577,
-0.03595150262117386,
0.06738666445016861,
-0.012572272680699825,
0.05828229710459709,
-0.016237318515777588,
0.03396216034889221,
0.02681129053235054,
-0.027474403381347656,
0.011559680104255676,
0.01423005573451519,
0.02254585735499859,
0.00608451385051012,
-0.07254819571971893,
0.04523508995771408,
-0.060934748500585556,
-0.004641794133931398,
-0.03978680819272995,
0.027546091005206108,
-0.01273357030004263,
0.025305842980742455,
0.008203788660466671,
0.005071921739727259,
-0.007943919859826565,
-0.0007958481437526643,
0.07770972698926926,
0.0034163782838732004,
0.0019523762166500092,
-0.017850296571850777,
0.03942836821079254,
-0.0010501162614673376,
0.010977216064929962,
-0.0025807658676058054,
0.028209203854203224,
-0.03485826030373573,
-0.011694095097482204,
0.0048971823416650295,
0.012124222703278065,
-0.009507613256573677,
-0.009982545860111713,
-0.012303442694246769,
-0.04018108919262886,
0.047959230840206146,
-0.03444605693221092,
-0.05681269243359566,
-0.017671076580882072,
0.0006916766287758946,
0.04430314525961876,
-0.04215250909328461,
-0.014911091886460781,
0.042869389057159424,
0.011828510090708733,
-0.05312076210975647,
0.025718048214912415,
-0.00981228705495596,
-0.060898903757333755,
0.012903829105198383,
-0.04147147387266159,
0.015592127107083797,
-0.013226425275206566,
-0.009462808258831501,
-0.017886141315102577,
0.019033148884773254,
0.016936276108026505,
0.01808328367769718,
0.083659827709198,
0.05699191242456436,
-0.03516293317079544,
-0.019463276490569115,
0.02589726820588112,
0.05788801237940788,
-0.001969178207218647,
-0.034069694578647614,
0.0029212834779173136,
-0.02299390733242035,
-0.08638396859169006,
0.013557981699705124,
-0.09943117201328278,
-0.012455780059099197,
-0.06168747320771217,
0.01837003417313099,
0.03303021937608719,
0.0419015996158123,
0.007693012244999409,
-0.052117131650447845,
0.0074689872562885284,
-0.011694095097482204,
-0.015108233317732811,
-0.016541991382837296,
0.028746863827109337,
-0.08072061836719513,
0.012590194121003151,
0.008956512436270714,
0.043335359543561935,
-0.009090926498174667,
0.0036247214302420616,
0.032420869916677475,
0.03849642351269722,
0.007706453558057547,
-0.08215437829494476,
0.012563311494886875,
0.02213365212082863,
0.0293741337954998,
-0.019068991765379906,
0.026918821036815643,
-0.03093334659934044,
0.06376641988754272,
0.03503748029470444,
-0.01631796732544899,
-0.010636698454618454,
0.019337821751832962,
-0.030216466635465622,
-0.0837315171957016,
0.010269297286868095,
0.03503748029470444,
0.001985979964956641,
-0.0417223796248436,
-0.023943772539496422,
0.0208791121840477,
0.027474403381347656,
0.004717962350696325,
0.016613680869340897,
-0.07663440704345703,
0.013199541717767715,
-0.00816346425563097,
0.0046462747268378735,
0.09355276077985764,
-0.027062198147177696,
0.06591705977916718,
-0.08459176868200302,
0.03290476277470589,
0.00007406820077449083,
0.016076020896434784,
0.016129786148667336,
-0.008020088076591492,
0.051364410668611526,
-0.021864822134375572,
-0.07706453651189804,
0.05226050689816475,
-0.06229681894183159,
0.0048120529390871525,
-0.006666978355497122,
0.06018202751874924,
0.05304907634854317,
0.04344289004802704,
0.007186715956777334,
0.008270995691418648,
0.07763803750276566,
0.02512662298977375,
-0.008073854260146618,
-0.0038980317767709494,
-0.07362351566553116,
-0.029911793768405914,
-0.014982779510319233,
-0.04265432432293892,
0.025718048214912415,
-0.04053952917456627,
-0.03691928833723068,
0.03322736173868179,
-0.00025916870799846947,
0.043693799525499344,
-0.03130970895290375,
0.03428475558757782,
-0.02557467296719551,
0.01379992812871933,
0.043263670057058334,
0.012715647928416729,
-0.019517041742801666,
-0.023531565442681313,
0.019839636981487274,
-0.001351989689283073,
-0.00943592470139265,
-0.052941542118787766,
-0.028621410951018333,
0.02804790623486042,
0.010367868468165398,
0.014785638079047203,
0.023603254929184914,
0.020699892193078995,
-0.032868921756744385,
0.06333629786968231,
-0.02763570100069046,
0.04770832508802414,
0.043693799525499344,
0.0009605063823983073,
0.012115261517465115,
0.01718718372285366,
0.042116664350032806,
-0.016407577320933342,
-0.02381831780076027,
-0.023943772539496422,
-0.03906992822885513,
0.04724235087633133,
0.003277482930570841,
-0.07835491746664047,
0.0037277729716151953,
-0.06509265303611755,
-0.05724282190203667,
-0.012778375297784805,
-0.03313774988055229,
-0.00816346425563097,
0.06469836831092834,
0.01339668408036232,
0.011676173657178879,
-0.011837471276521683,
-0.017276793718338013,
0.04412392899394035,
0.009090926498174667,
-0.03229541704058647,
-0.03441021218895912,
-0.04774416983127594,
-0.01885392889380455,
0.013629669323563576,
0.01713341847062111,
-0.02222326211631298,
-0.008270995691418648,
0.05390933156013489,
0.04817429557442665,
0.03050321899354458,
0.042905233800411224,
0.011873315088450909,
0.0031184253748506308,
0.045844439417123795,
-0.010591893456876278,
-0.017025886103510857,
0.06140071898698807,
0.034463975578546524,
-0.007975283078849316,
0.07821154594421387,
0.060934748500585556,
0.05150778591632843,
-0.01316369790583849,
0.004346081521362066,
-0.048425205051898956,
0.039535898715257645,
-0.05652594193816185,
-0.036614615470170975,
0.04222419857978821,
0.03096918947994709,
-0.0035507932770997286,
-0.004910624120384455,
0.0008708964451216161,
-0.005793281830847263,
0.012393052689731121,
-0.009292549453675747,
-0.0014595217071473598,
-0.060898903757333755,
0.0037680973764508963,
0.04476911947131157,
-0.04111303389072418,
-0.030628671869635582,
0.025001168251037598,
0.05494880676269531,
0.04821014031767845,
-0.024929480627179146,
-0.0072852871380746365,
0.019051069393754005,
0.030628671869635582,
-0.019821714609861374,
-0.008615993894636631,
0.012007730081677437,
0.0272055733948946,
-0.04652547463774681,
0.007083664648234844,
0.08466345816850662,
0.0015256089391186833,
0.028764786198735237,
0.06627549976110458,
-0.01795782893896103,
0.10760359466075897,
0.046597160398960114,
-0.0018605260411277413,
-0.007831907831132412,
-0.03853226825594902,
-0.008736968040466309,
0.004523060750216246,
-0.04656131565570831,
-0.07477052509784698,
-0.012643960304558277,
-0.05322829633951187,
-0.014794598333537579,
0.007840868085622787,
0.066813163459301,
-0.054554522037506104,
-0.021470537409186363,
0.021649757400155067,
-0.037887077778577805,
-0.024588963016867638,
-0.011156436055898666,
-0.025664282962679863,
0.005273544229567051,
-0.022492092102766037,
-0.01878223940730095,
-0.01844172179698944,
0.015009662136435509,
-0.009776443243026733,
-0.015412907116115093,
-0.03392631933093071,
0.037492793053388596,
0.02046690694987774,
-0.03586189076304436,
-0.03304814174771309,
0.009337354451417923,
-0.0020923917181789875,
0.06491342931985855,
0.026703758165240288,
-0.006035228259861469,
0.023280657827854156,
-0.03441021218895912,
-0.0036135201808065176,
0.011640328913927078,
-0.03016270138323307,
-0.02294014021754265,
0.06355135887861252,
-0.09921611100435257,
0.04864026606082916,
0.05114934593439102,
0.020717814564704895,
-0.004982311744242907,
0.04351457953453064,
-0.030449451878666878,
-0.028262970969080925,
0.026201942935585976,
0.0048927017487585545,
0.006684900261461735,
0.021542226895689964,
-0.045808594673871994,
-0.010116960853338242,
-0.062117598950862885,
-0.060074493288993835,
0.033693332225084305,
0.04971558600664139,
-0.014794598333537579,
0.00021786412980873138,
-0.015027584508061409,
0.016031214967370033,
-0.048281826078891754,
0.027295183390378952,
0.00959722325205803,
0.04089796915650368,
0.008481579832732677,
-0.06147240847349167,
-0.051328565925359726,
-0.01795782893896103,
0.08308631926774979,
0.020233921706676483,
-0.07993205636739731,
-0.03405177220702171,
-0.03435644507408142,
-0.008911707438528538,
0.04405223950743675,
-0.04139978438615799,
-0.045414309948682785,
0.0039585186168551445,
0.03634578734636307,
-0.0797169879078865,
-0.0010025110095739365,
-0.021470537409186363,
-0.040790438652038574,
-0.01883600652217865,
-0.0625477284193039,
-0.04724235087633133,
-0.011263967491686344,
-0.01634485088288784,
0.02043106220662594,
0.03677591308951378,
-0.08896473050117493,
-0.01840587891638279,
-0.0419015996158123,
-0.018638864159584045,
0.005605100654065609,
-0.017339520156383514,
0.08136580884456635,
-0.039141613990068436,
-0.03485826030373573,
0.022097807377576828,
-0.0015278492355719209,
-0.047457415610551834,
-0.03177567943930626,
0.029893871396780014,
-0.02136300690472126,
0.019732104614377022,
0.030252311378717422,
0.0029660884756594896,
0.028603488579392433,
-0.011048903688788414,
-0.029069459065794945,
-0.026632070541381836,
-0.036650460213422775,
0.056310877203941345,
0.037887077778577805,
-0.012769414111971855,
0.00046625162940472364,
0.013755123130977154,
-0.09312263131141663,
-0.016031214967370033,
0.02765362337231636,
-0.000322315696394071,
-0.009561379440128803,
0.011774743907153606,
-0.03639955073595047,
-0.01361174788326025,
0.0136027866974473,
-0.04466158524155617,
0.02340611256659031,
-0.002520279260352254,
0.017312638461589813,
-0.02222326211631298,
-0.005130168050527573,
0.03889070823788643,
0.07057677954435349,
0.0019501360366120934,
-0.00043544822256080806,
-0.013790967874228954,
-0.0076123629696667194,
0.0629061684012413,
-0.012554350309073925,
-0.021452616900205612,
0.013486294075846672,
-0.07179547101259232,
-0.08538033813238144,
0.003322287928313017,
0.04813845083117485,
0.015197843313217163,
-0.013217464089393616,
-0.057565417140722275,
-0.007141910959035158,
-0.055378932505846024,
0.04107718914747238,
0.055092182010412216,
-0.014570574276149273,
0.02136300690472126,
-0.009740598499774933,
0.03924914821982384,
0.007809504866600037,
-0.03928499296307564,
0.007339052855968475,
-0.02299390733242035,
-0.016452381387352943,
-0.03699097782373428,
-0.03139931708574295,
0.028603488579392433,
-0.03607695549726486,
-0.017473936080932617,
-0.0271876510232687,
0.01878223940730095,
0.024786105379462242,
-0.04652547463774681,
0.031686071306467056,
-0.02428429014980793,
-0.06122150272130966,
-0.04143562912940979,
-0.02763570100069046,
-0.03193697705864906,
-0.014194211922585964,
0.007312169764190912,
-0.032456714659929276,
0.05304907634854317,
-0.03652500733733177,
-0.04684806987643242,
-0.04405223950743675,
-0.0022167256101965904,
-0.07763803750276566,
-0.005954579450190067,
0.02222326211631298,
-0.016945237293839455,
0.014758754521608353,
-0.057099442929029465,
0.0017552344361320138,
-0.06018202751874924,
-0.011335655115544796,
-0.049213770776987076,
-0.02132716216146946,
-0.04018108919262886,
0.0024844352155923843,
-0.06803185492753983,
0.06416070461273193,
-0.03613072261214256,
-0.003909233026206493,
0.009713715873658657,
-0.0005665027420036495,
-0.0377436988055706,
0.0459161251783371,
-0.050504155457019806,
0.0420091338455677,
-0.026596225798130035,
0.030772048979997635,
0.038317203521728516,
-0.01107578631490469,
0.03738526254892349,
0.05559399724006653,
0.021022489294409752,
0.007652687840163708,
-0.05534309148788452,
0.049608055502176285,
0.009704754687845707,
0.031686071306467056,
0.004767247941344976,
-0.007141910959035158,
0.007276325952261686,
0.023567410185933113,
-0.029535431414842606,
0.008831057697534561,
-0.0037456948775798082,
-0.07835491746664047,
0.02057443931698799,
0.044159770011901855,
-0.01713341847062111,
0.0334065817296505,
0.03190113231539726,
-0.034553587436676025,
-0.02182897739112377,
0.011013059876859188,
-0.03132763132452965,
0.01086072251200676,
0.001356470282189548,
-0.042044978588819504,
-0.07369520515203476,
0.018262503668665886,
0.02428429014980793,
0.019965091720223427,
0.013020321726799011,
0.1087506040930748,
0.0000682225581840612,
0.04885533079504967,
0.04405223950743675,
0.03012685663998127,
-0.0230835173279047,
-0.016237318515777588,
0.05971605330705643,
-0.05570152774453163,
0.002990731270983815,
0.07577415555715561,
-0.024122992530465126,
0.02294014021754265,
0.06315707415342331,
-0.043299514800310135,
0.009382159449160099,
-0.05573737248778343,
0.03096918947994709,
0.004218387417495251,
-0.013118892908096313,
0.026524538174271584,
0.033442422747612,
-0.0009969103848561645,
0.06484173983335495
]
|
29,297 | markupsafe | lower | Return a copy of the string converted to lowercase. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.0061517213471233845,
-0.09842754155397415,
0.07670609652996063,
0.030700359493494034,
0.030001403763890266,
0.048783645033836365,
-0.0000528208511241246,
-0.003311086678877473,
0.04996649548411369,
-0.01596848852932453,
0.025287920609116554,
0.03717019781470299,
0.011667212471365929,
-0.007236001547425985,
-0.013047205284237862,
0.040826283395290375,
0.020807424560189247,
-0.0038980317767709494,
0.005587178748100996,
-0.0074331434443593025,
0.01252746768295765,
0.0063578239642083645,
0.04985896125435829,
-0.030861658975481987,
0.023316502571105957,
0.04763663560152054,
-0.004153420217335224,
0.007993205450475216,
-0.00943592470139265,
-0.022277027368545532,
0.04423145949840546,
-0.025449218228459358,
-0.014113563112914562,
0.027474403381347656,
0.06738666445016861,
0.01025137584656477,
-0.09082861989736557,
0.038711488246917725,
-0.01065461989492178,
-0.0880327895283699,
0.027528168633580208,
-0.011461109854280949,
-0.010475399903953075,
-0.04233172908425331,
-0.024463510140776634,
0.0022413681726902723,
0.03713435307145119,
0.03172191232442856,
-0.005941138137131929,
-0.020413141697645187,
0.02423052303493023,
0.02600480057299137,
0.06989574432373047,
-0.006281655747443438,
-0.031542692333459854,
0.025001168251037598,
0.00700749596580863,
0.05914255231618881,
0.06484173983335495,
-0.034894105046987534,
-0.028693098574876785,
0.05527140200138092,
0.0021528785582631826,
0.03561098501086235,
0.005502049345523119,
0.0035664751194417477,
-0.058031387627124786,
-0.005775359459221363,
-0.017491856589913368,
-0.013020321726799011,
0.009964623488485813,
-0.03014477901160717,
-0.02553882822394371,
0.004014524631202221,
-0.02294014021754265,
-0.04942883551120758,
-0.03889070823788643,
-0.021237552165985107,
0.02132716216146946,
0.015484594739973545,
0.01405083667486906,
-0.047457415610551834,
-0.04312029480934143,
0.014489924535155296,
0.016721211373806,
-0.05641840770840645,
-0.06000280752778053,
0.008692163042724133,
-0.008589111268520355,
0.06591705977916718,
0.009185017086565495,
-0.011649290099740028,
-0.010332024656236172,
0.016846666112542152,
-0.019445354118943214,
-0.009010277688503265,
0.02426636777818203,
-0.02930244617164135,
0.059608522802591324,
-0.0036964095197618008,
-0.006823795847594738,
0.03292268514633179,
-0.009391119703650475,
-0.016721211373806,
0.029015693813562393,
-0.02715180814266205,
-0.0046686772257089615,
0.004258711822330952,
-0.02559259533882141,
-0.017850296571850777,
0.019803794100880623,
-0.038747332990169525,
-0.007052300963550806,
-0.023657020181417465,
0.024929480627179146,
-0.02224118262529373,
-0.017312638461589813,
-0.0029481665696948767,
0.031148409470915794,
-0.049213770776987076,
0.04304860904812813,
0.0019445354118943214,
-0.05351504683494568,
-0.05566568672657013,
-0.010726308450102806,
0.06985989958047867,
-0.016497187316417694,
0.03684760257601738,
-0.000823291193228215,
-0.006201006937772036,
0.005761918146163225,
0.08308631926774979,
0.005676788743585348,
0.017429130151867867,
0.04846104606986046,
-0.015834074467420578,
0.022796764969825745,
0.06387395411729813,
-0.04982312023639679,
0.05742204189300537,
-0.0075361947529017925,
-0.0033693332225084305,
0.011720978654921055,
0.044625744223594666,
0.0002532880462240428,
-0.047493260353803635,
0.0459519699215889,
-0.017384326085448265,
0.04272601380944252,
0.005667827557772398,
0.06459083408117294,
-0.0034477419685572386,
0.006783471442759037,
0.005475166253745556,
0.006438473239541054,
0.04939299076795578,
0.054196082055568695,
0.01799367368221283,
0.055844906717538834,
0.011604485101997852,
0.033316969871520996,
-0.012052535079419613,
0.014857325702905655,
-0.015798229724168777,
0.04996649548411369,
0.052081286907196045,
0.03127386420965195,
-0.03559306263923645,
0.05688438192009926,
0.0061965263448655605,
0.03148892894387245,
-0.011971886269748211,
0.00860255304723978,
0.00960618443787098,
0.024069225415587425,
0.04702728986740112,
-0.021864822134375572,
0.04932130128145218,
-0.02012638933956623,
-0.017464974895119667,
0.010780073702335358,
-0.017868218943476677,
-0.031578537076711655,
-0.013262269087135792,
0.04738572984933853,
-0.003288684180006385,
0.05362258106470108,
-0.0005813444149680436,
-0.02767154574394226,
-0.04053952917456627,
0.008459176868200302,
0.003855467075482011,
0.02632739581167698,
-0.01045747846364975,
-0.07462714612483978,
-0.06459083408117294,
-0.03975096344947815,
-0.02808375097811222,
0.06796016544103622,
-0.009310470893979073,
-0.014373431913554668,
0.019839636981487274,
0.03684760257601738,
0.015135115943849087,
0.03096918947994709,
-0.00048613385297358036,
0.0019658177625387907,
-0.003479105420410633,
-0.07412532716989517,
-0.05154363065958023,
0.014140445739030838,
-0.0585690476000309,
-0.039571743458509445,
-0.015601088292896748,
0.0030064128804951906,
0.017447052523493767,
0.04362211003899574,
0.014785638079047203,
-0.019911324605345726,
-0.029965559020638466,
0.02424844540655613,
-0.0017854777397587895,
0.002184242010116577,
-0.03595150262117386,
0.06738666445016861,
-0.012572272680699825,
0.05828229710459709,
-0.016237318515777588,
0.03396216034889221,
0.02681129053235054,
-0.027474403381347656,
0.011559680104255676,
0.01423005573451519,
0.02254585735499859,
0.00608451385051012,
-0.07254819571971893,
0.04523508995771408,
-0.060934748500585556,
-0.004641794133931398,
-0.03978680819272995,
0.027546091005206108,
-0.01273357030004263,
0.025305842980742455,
0.008203788660466671,
0.005071921739727259,
-0.007943919859826565,
-0.0007958481437526643,
0.07770972698926926,
0.0034163782838732004,
0.0019523762166500092,
-0.017850296571850777,
0.03942836821079254,
-0.0010501162614673376,
0.010977216064929962,
-0.0025807658676058054,
0.028209203854203224,
-0.03485826030373573,
-0.011694095097482204,
0.0048971823416650295,
0.012124222703278065,
-0.009507613256573677,
-0.009982545860111713,
-0.012303442694246769,
-0.04018108919262886,
0.047959230840206146,
-0.03444605693221092,
-0.05681269243359566,
-0.017671076580882072,
0.0006916766287758946,
0.04430314525961876,
-0.04215250909328461,
-0.014911091886460781,
0.042869389057159424,
0.011828510090708733,
-0.05312076210975647,
0.025718048214912415,
-0.00981228705495596,
-0.060898903757333755,
0.012903829105198383,
-0.04147147387266159,
0.015592127107083797,
-0.013226425275206566,
-0.009462808258831501,
-0.017886141315102577,
0.019033148884773254,
0.016936276108026505,
0.01808328367769718,
0.083659827709198,
0.05699191242456436,
-0.03516293317079544,
-0.019463276490569115,
0.02589726820588112,
0.05788801237940788,
-0.001969178207218647,
-0.034069694578647614,
0.0029212834779173136,
-0.02299390733242035,
-0.08638396859169006,
0.013557981699705124,
-0.09943117201328278,
-0.012455780059099197,
-0.06168747320771217,
0.01837003417313099,
0.03303021937608719,
0.0419015996158123,
0.007693012244999409,
-0.052117131650447845,
0.0074689872562885284,
-0.011694095097482204,
-0.015108233317732811,
-0.016541991382837296,
0.028746863827109337,
-0.08072061836719513,
0.012590194121003151,
0.008956512436270714,
0.043335359543561935,
-0.009090926498174667,
0.0036247214302420616,
0.032420869916677475,
0.03849642351269722,
0.007706453558057547,
-0.08215437829494476,
0.012563311494886875,
0.02213365212082863,
0.0293741337954998,
-0.019068991765379906,
0.026918821036815643,
-0.03093334659934044,
0.06376641988754272,
0.03503748029470444,
-0.01631796732544899,
-0.010636698454618454,
0.019337821751832962,
-0.030216466635465622,
-0.0837315171957016,
0.010269297286868095,
0.03503748029470444,
0.001985979964956641,
-0.0417223796248436,
-0.023943772539496422,
0.0208791121840477,
0.027474403381347656,
0.004717962350696325,
0.016613680869340897,
-0.07663440704345703,
0.013199541717767715,
-0.00816346425563097,
0.0046462747268378735,
0.09355276077985764,
-0.027062198147177696,
0.06591705977916718,
-0.08459176868200302,
0.03290476277470589,
0.00007406820077449083,
0.016076020896434784,
0.016129786148667336,
-0.008020088076591492,
0.051364410668611526,
-0.021864822134375572,
-0.07706453651189804,
0.05226050689816475,
-0.06229681894183159,
0.0048120529390871525,
-0.006666978355497122,
0.06018202751874924,
0.05304907634854317,
0.04344289004802704,
0.007186715956777334,
0.008270995691418648,
0.07763803750276566,
0.02512662298977375,
-0.008073854260146618,
-0.0038980317767709494,
-0.07362351566553116,
-0.029911793768405914,
-0.014982779510319233,
-0.04265432432293892,
0.025718048214912415,
-0.04053952917456627,
-0.03691928833723068,
0.03322736173868179,
-0.00025916870799846947,
0.043693799525499344,
-0.03130970895290375,
0.03428475558757782,
-0.02557467296719551,
0.01379992812871933,
0.043263670057058334,
0.012715647928416729,
-0.019517041742801666,
-0.023531565442681313,
0.019839636981487274,
-0.001351989689283073,
-0.00943592470139265,
-0.052941542118787766,
-0.028621410951018333,
0.02804790623486042,
0.010367868468165398,
0.014785638079047203,
0.023603254929184914,
0.020699892193078995,
-0.032868921756744385,
0.06333629786968231,
-0.02763570100069046,
0.04770832508802414,
0.043693799525499344,
0.0009605063823983073,
0.012115261517465115,
0.01718718372285366,
0.042116664350032806,
-0.016407577320933342,
-0.02381831780076027,
-0.023943772539496422,
-0.03906992822885513,
0.04724235087633133,
0.003277482930570841,
-0.07835491746664047,
0.0037277729716151953,
-0.06509265303611755,
-0.05724282190203667,
-0.012778375297784805,
-0.03313774988055229,
-0.00816346425563097,
0.06469836831092834,
0.01339668408036232,
0.011676173657178879,
-0.011837471276521683,
-0.017276793718338013,
0.04412392899394035,
0.009090926498174667,
-0.03229541704058647,
-0.03441021218895912,
-0.04774416983127594,
-0.01885392889380455,
0.013629669323563576,
0.01713341847062111,
-0.02222326211631298,
-0.008270995691418648,
0.05390933156013489,
0.04817429557442665,
0.03050321899354458,
0.042905233800411224,
0.011873315088450909,
0.0031184253748506308,
0.045844439417123795,
-0.010591893456876278,
-0.017025886103510857,
0.06140071898698807,
0.034463975578546524,
-0.007975283078849316,
0.07821154594421387,
0.060934748500585556,
0.05150778591632843,
-0.01316369790583849,
0.004346081521362066,
-0.048425205051898956,
0.039535898715257645,
-0.05652594193816185,
-0.036614615470170975,
0.04222419857978821,
0.03096918947994709,
-0.0035507932770997286,
-0.004910624120384455,
0.0008708964451216161,
-0.005793281830847263,
0.012393052689731121,
-0.009292549453675747,
-0.0014595217071473598,
-0.060898903757333755,
0.0037680973764508963,
0.04476911947131157,
-0.04111303389072418,
-0.030628671869635582,
0.025001168251037598,
0.05494880676269531,
0.04821014031767845,
-0.024929480627179146,
-0.0072852871380746365,
0.019051069393754005,
0.030628671869635582,
-0.019821714609861374,
-0.008615993894636631,
0.012007730081677437,
0.0272055733948946,
-0.04652547463774681,
0.007083664648234844,
0.08466345816850662,
0.0015256089391186833,
0.028764786198735237,
0.06627549976110458,
-0.01795782893896103,
0.10760359466075897,
0.046597160398960114,
-0.0018605260411277413,
-0.007831907831132412,
-0.03853226825594902,
-0.008736968040466309,
0.004523060750216246,
-0.04656131565570831,
-0.07477052509784698,
-0.012643960304558277,
-0.05322829633951187,
-0.014794598333537579,
0.007840868085622787,
0.066813163459301,
-0.054554522037506104,
-0.021470537409186363,
0.021649757400155067,
-0.037887077778577805,
-0.024588963016867638,
-0.011156436055898666,
-0.025664282962679863,
0.005273544229567051,
-0.022492092102766037,
-0.01878223940730095,
-0.01844172179698944,
0.015009662136435509,
-0.009776443243026733,
-0.015412907116115093,
-0.03392631933093071,
0.037492793053388596,
0.02046690694987774,
-0.03586189076304436,
-0.03304814174771309,
0.009337354451417923,
-0.0020923917181789875,
0.06491342931985855,
0.026703758165240288,
-0.006035228259861469,
0.023280657827854156,
-0.03441021218895912,
-0.0036135201808065176,
0.011640328913927078,
-0.03016270138323307,
-0.02294014021754265,
0.06355135887861252,
-0.09921611100435257,
0.04864026606082916,
0.05114934593439102,
0.020717814564704895,
-0.004982311744242907,
0.04351457953453064,
-0.030449451878666878,
-0.028262970969080925,
0.026201942935585976,
0.0048927017487585545,
0.006684900261461735,
0.021542226895689964,
-0.045808594673871994,
-0.010116960853338242,
-0.062117598950862885,
-0.060074493288993835,
0.033693332225084305,
0.04971558600664139,
-0.014794598333537579,
0.00021786412980873138,
-0.015027584508061409,
0.016031214967370033,
-0.048281826078891754,
0.027295183390378952,
0.00959722325205803,
0.04089796915650368,
0.008481579832732677,
-0.06147240847349167,
-0.051328565925359726,
-0.01795782893896103,
0.08308631926774979,
0.020233921706676483,
-0.07993205636739731,
-0.03405177220702171,
-0.03435644507408142,
-0.008911707438528538,
0.04405223950743675,
-0.04139978438615799,
-0.045414309948682785,
0.0039585186168551445,
0.03634578734636307,
-0.0797169879078865,
-0.0010025110095739365,
-0.021470537409186363,
-0.040790438652038574,
-0.01883600652217865,
-0.0625477284193039,
-0.04724235087633133,
-0.011263967491686344,
-0.01634485088288784,
0.02043106220662594,
0.03677591308951378,
-0.08896473050117493,
-0.01840587891638279,
-0.0419015996158123,
-0.018638864159584045,
0.005605100654065609,
-0.017339520156383514,
0.08136580884456635,
-0.039141613990068436,
-0.03485826030373573,
0.022097807377576828,
-0.0015278492355719209,
-0.047457415610551834,
-0.03177567943930626,
0.029893871396780014,
-0.02136300690472126,
0.019732104614377022,
0.030252311378717422,
0.0029660884756594896,
0.028603488579392433,
-0.011048903688788414,
-0.029069459065794945,
-0.026632070541381836,
-0.036650460213422775,
0.056310877203941345,
0.037887077778577805,
-0.012769414111971855,
0.00046625162940472364,
0.013755123130977154,
-0.09312263131141663,
-0.016031214967370033,
0.02765362337231636,
-0.000322315696394071,
-0.009561379440128803,
0.011774743907153606,
-0.03639955073595047,
-0.01361174788326025,
0.0136027866974473,
-0.04466158524155617,
0.02340611256659031,
-0.002520279260352254,
0.017312638461589813,
-0.02222326211631298,
-0.005130168050527573,
0.03889070823788643,
0.07057677954435349,
0.0019501360366120934,
-0.00043544822256080806,
-0.013790967874228954,
-0.0076123629696667194,
0.0629061684012413,
-0.012554350309073925,
-0.021452616900205612,
0.013486294075846672,
-0.07179547101259232,
-0.08538033813238144,
0.003322287928313017,
0.04813845083117485,
0.015197843313217163,
-0.013217464089393616,
-0.057565417140722275,
-0.007141910959035158,
-0.055378932505846024,
0.04107718914747238,
0.055092182010412216,
-0.014570574276149273,
0.02136300690472126,
-0.009740598499774933,
0.03924914821982384,
0.007809504866600037,
-0.03928499296307564,
0.007339052855968475,
-0.02299390733242035,
-0.016452381387352943,
-0.03699097782373428,
-0.03139931708574295,
0.028603488579392433,
-0.03607695549726486,
-0.017473936080932617,
-0.0271876510232687,
0.01878223940730095,
0.024786105379462242,
-0.04652547463774681,
0.031686071306467056,
-0.02428429014980793,
-0.06122150272130966,
-0.04143562912940979,
-0.02763570100069046,
-0.03193697705864906,
-0.014194211922585964,
0.007312169764190912,
-0.032456714659929276,
0.05304907634854317,
-0.03652500733733177,
-0.04684806987643242,
-0.04405223950743675,
-0.0022167256101965904,
-0.07763803750276566,
-0.005954579450190067,
0.02222326211631298,
-0.016945237293839455,
0.014758754521608353,
-0.057099442929029465,
0.0017552344361320138,
-0.06018202751874924,
-0.011335655115544796,
-0.049213770776987076,
-0.02132716216146946,
-0.04018108919262886,
0.0024844352155923843,
-0.06803185492753983,
0.06416070461273193,
-0.03613072261214256,
-0.003909233026206493,
0.009713715873658657,
-0.0005665027420036495,
-0.0377436988055706,
0.0459161251783371,
-0.050504155457019806,
0.0420091338455677,
-0.026596225798130035,
0.030772048979997635,
0.038317203521728516,
-0.01107578631490469,
0.03738526254892349,
0.05559399724006653,
0.021022489294409752,
0.007652687840163708,
-0.05534309148788452,
0.049608055502176285,
0.009704754687845707,
0.031686071306467056,
0.004767247941344976,
-0.007141910959035158,
0.007276325952261686,
0.023567410185933113,
-0.029535431414842606,
0.008831057697534561,
-0.0037456948775798082,
-0.07835491746664047,
0.02057443931698799,
0.044159770011901855,
-0.01713341847062111,
0.0334065817296505,
0.03190113231539726,
-0.034553587436676025,
-0.02182897739112377,
0.011013059876859188,
-0.03132763132452965,
0.01086072251200676,
0.001356470282189548,
-0.042044978588819504,
-0.07369520515203476,
0.018262503668665886,
0.02428429014980793,
0.019965091720223427,
0.013020321726799011,
0.1087506040930748,
0.0000682225581840612,
0.04885533079504967,
0.04405223950743675,
0.03012685663998127,
-0.0230835173279047,
-0.016237318515777588,
0.05971605330705643,
-0.05570152774453163,
0.002990731270983815,
0.07577415555715561,
-0.024122992530465126,
0.02294014021754265,
0.06315707415342331,
-0.043299514800310135,
0.009382159449160099,
-0.05573737248778343,
0.03096918947994709,
0.004218387417495251,
-0.013118892908096313,
0.026524538174271584,
0.033442422747612,
-0.0009969103848561645,
0.06484173983335495
]
|
29,298 | markupsafe | lstrip | Return a copy of the string with leading whitespace removed.
If chars is given and not None, remove characters in chars instead. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, chars=None, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,299 | markupsafe | partition | null | def partition(self, sep: str) -> t.Tuple["te.Self", "te.Self", "te.Self"]:
l, s, r = super().partition(self.escape(sep))
cls = self.__class__
return cls(l), cls(s), cls(r)
| (self, sep: str) -> Tuple[ForwardRef('te.Self'), ForwardRef('te.Self'), ForwardRef('te.Self')] | [
-0.014401696622371674,
-0.006453872192651033,
-0.06358259171247482,
-0.005642869975417852,
-0.026088669896125793,
-0.04616738483309746,
0.0445965975522995,
0.04326484724879265,
-0.015665153041481972,
0.005472132470458746,
0.05388471111655235,
0.02339101955294609,
0.04562102258205414,
0.02335687167942524,
-0.03728903830051422,
-0.015033424831926823,
0.0027766164857894182,
0.012361384928226471,
-0.06761199235916138,
0.0550798736512661,
-0.015127330087125301,
0.031057126820087433,
0.052074894309043884,
-0.036571942269802094,
0.019276248291134834,
0.06225084140896797,
0.013146776705980301,
-0.008494183421134949,
0.0020200363360345364,
-0.006436798721551895,
0.006727051921188831,
0.0393720343708992,
-0.03074979968369007,
-0.009578365832567215,
0.05490913614630699,
0.009347870945930481,
-0.035069454461336136,
0.04801134765148163,
0.052655402570962906,
0.023151986300945282,
-0.004780645947903395,
-0.029264384880661964,
0.024825213477015495,
-0.02964000590145588,
-0.010432053357362747,
0.013419956900179386,
0.10688158869743347,
-0.04114770516753197,
0.00012325104034971446,
0.012241869233548641,
0.01193454209715128,
0.017910350114107132,
-0.013940705917775631,
-0.03964521735906601,
-0.0017180447466671467,
-0.011200371198356152,
0.06498263776302338,
-0.0196860171854496,
-0.05046996474266052,
0.04169406369328499,
0.04114770516753197,
0.015690764412283897,
0.05460180714726448,
0.07177798449993134,
0.022434890270233154,
-0.04405023902654648,
-0.0011044573038816452,
-0.03595728799700737,
-0.06013369932770729,
0.06634853780269623,
0.059211716055870056,
-0.052074894309043884,
-0.032457172870635986,
0.043435584753751755,
-0.0056044538505375385,
0.00537822674959898,
0.02673747017979622,
0.02735212631523609,
0.08837366104125977,
-0.017415210604667664,
0.012011373415589333,
0.019890902563929558,
-0.0893980860710144,
-0.024091042578220367,
0.023749567568302155,
0.006654488854110241,
-0.03249131888151169,
-0.06774858385324478,
-0.06897789239883423,
0.047908905893564224,
-0.041864801198244095,
0.022434890270233154,
-0.02205926738679409,
0.008827121928334236,
0.006769736297428608,
-0.0183884147554636,
-0.016091996803879738,
-0.033720627427101135,
-0.025405719876289368,
-0.02444959059357643,
-0.008242346346378326,
0.055011577904224396,
-0.0418989472091198,
-0.025064244866371155,
0.034779202193021774,
-0.03174007683992386,
-0.016074921935796738,
0.010662548243999481,
-0.06979743391275406,
-0.016570061445236206,
-0.01942991279065609,
0.07396342605352402,
-0.06122642010450363,
0.06149959936738014,
-0.03524019196629524,
-0.0035193238873034716,
-0.0004959387006238103,
-0.023766640573740005,
0.024330073967576027,
-0.050538260489702225,
-0.03168885409832001,
0.018217677250504494,
-0.03387429192662239,
0.03513775020837784,
-0.04261604696512222,
-0.00904054380953312,
0.05074314400553703,
0.001400046399794519,
-0.05480669438838959,
-0.0015088914660736918,
0.008267956785857677,
0.03810857981443405,
-0.04121600091457367,
-0.048421114683151245,
-0.029554637148976326,
0.056036002933979034,
0.010944264940917492,
0.036845121532678604,
-0.054499365389347076,
-0.005566038191318512,
0.016151754185557365,
-0.025883784517645836,
0.0302034392952919,
0.056548215448856354,
-0.06419724971055984,
0.01471756026148796,
-0.011055244132876396,
0.02100069634616375,
0.05542134866118431,
0.0472259558737278,
-0.06337770819664001,
0.03445480018854141,
0.0891249030828476,
0.024722769856452942,
-0.027437495067715645,
-0.013044334948062897,
-0.03209862485527992,
0.017176179215312004,
0.036879271268844604,
0.025815488770604134,
-0.02600330114364624,
-0.09090057015419006,
0.030271735042333603,
0.045586876571178436,
0.005805070511996746,
0.07703670114278793,
0.019993344321846962,
-0.020573852583765984,
0.021444613113999367,
-0.02858143486082554,
0.09793495386838913,
0.03194496035575867,
0.01022716797888279,
0.025815488770604134,
-0.09643246233463287,
-0.01299311313778162,
0.011815025471150875,
0.03354989364743233,
0.03732318803668022,
-0.0472601018846035,
0.0604410283267498,
-0.018985994160175323,
0.027471641078591347,
-0.03435235843062401,
0.0328669436275959,
-0.015554173849523067,
0.02706187218427658,
0.03206447511911392,
0.021171433851122856,
0.027642378583550453,
-0.03049369342625141,
0.015946868807077408,
-0.023186134174466133,
0.05350909009575844,
-0.03694756701588631,
0.009279576130211353,
0.028308255597949028,
0.01942991279065609,
-0.016091996803879738,
0.04046475514769554,
-0.02438129484653473,
0.040054984390735626,
-0.03329378738999367,
0.0074569545686244965,
0.03653779625892639,
0.021154358983039856,
-0.0004492526932153851,
0.013197998516261578,
-0.05559208616614342,
0.012643101625144482,
-0.02282758615911007,
-0.009962525218725204,
0.03517189621925354,
0.03807443380355835,
0.030647356063127518,
-0.043708764016628265,
0.012182110920548439,
0.025405719876289368,
0.083934485912323,
-0.013197998516261578,
0.065529003739357,
0.010978412814438343,
0.005497742909938097,
0.024364221841096878,
0.025252055376768112,
-0.055250611156225204,
-0.039986688643693924,
-0.07198287546634674,
-0.02964000590145588,
0.00452027190476656,
-0.02491058222949505,
-0.07273411750793457,
-0.04271848872303963,
-0.01349678821861744,
0.028035074472427368,
0.04538198933005333,
0.003956838510930538,
-0.04681618511676788,
-0.036913417279720306,
-0.009535681456327438,
-0.040294017642736435,
0.0025482552591711283,
-0.014026074670255184,
-0.0367426797747612,
0.05169927328824997,
-0.015409046784043312,
-0.0006882849847897887,
-0.001811950234696269,
0.0497870147228241,
0.010551569052040577,
-0.009177133440971375,
0.04903576895594597,
0.0012549195671454072,
0.005958734080195427,
0.0011780877830460668,
0.017227400094270706,
-0.03257668763399124,
0.0037839668802917004,
-0.0007299022399820387,
0.025030096992850304,
-0.010022283531725407,
0.013838263228535652,
0.02438129484653473,
-0.005758117418736219,
0.023493461310863495,
0.029571712017059326,
0.00024210024275816977,
-0.0011183297028765082,
0.002107539214193821,
-0.0144187705591321,
-0.019054289907217026,
-0.0018076818669214845,
-0.07307559251785278,
0.051323652267456055,
-0.046099089086055756,
-0.009262502193450928,
-0.07068526744842529,
0.0010847158264368773,
-0.044220976531505585,
-0.04900162294507027,
0.015545637346804142,
-0.021205579861998558,
-0.052860286086797714,
-0.04329899698495865,
0.023783715441823006,
0.011277202516794205,
0.03551337122917175,
-0.0891249030828476,
-0.014333401806652546,
0.004473318811506033,
-0.04066963866353035,
-0.005467864219099283,
-0.014913909137248993,
-0.008413083851337433,
0.07246093451976776,
0.02595207840204239,
-0.03068150393664837,
-0.015246846713125706,
0.036879271268844604,
-0.04121600091457367,
-0.004080622922629118,
-0.034266989678144455,
-0.023493461310863495,
0.03827931731939316,
-0.004827599041163921,
-0.006359966937452555,
0.033430375158786774,
0.030544914305210114,
0.038484200835227966,
-0.021717792376875877,
-0.030783945694565773,
0.0010868500685319304,
0.025149613618850708,
0.02258855290710926,
-0.004648324567824602,
0.00479771988466382,
-0.02885461412370205,
0.04671374335885048,
-0.047635722905397415,
0.05064070224761963,
-0.01142232958227396,
0.010244241915643215,
-0.05480669438838959,
0.06709978729486465,
0.022742217406630516,
0.012788228690624237,
-0.09124204516410828,
0.019634796306490898,
-0.030647356063127518,
0.05094802752137184,
-0.0367426797747612,
0.004665398504585028,
-0.035001158714294434,
0.04418683052062988,
0.0053953006863594055,
0.017176179215312004,
0.015059035271406174,
0.020642146468162537,
0.03752807155251503,
-0.04524540156126022,
0.06228499114513397,
-0.04497222229838371,
-0.0019826877396553755,
0.030391249805688858,
0.042103834450244904,
0.017099346965551376,
0.0367085337638855,
0.05060655623674393,
0.057367753237485886,
0.06645098328590393,
0.009074690751731396,
-0.022212931886315346,
-0.011977226473391056,
-0.04258189722895622,
0.07717328518629074,
-0.0314839705824852,
-0.09342748671770096,
0.0035705449990928173,
-0.024210557341575623,
-0.003865067148581147,
0.10155458003282547,
-0.02989611215889454,
0.06098738685250282,
0.039201296865940094,
-0.014410233125090599,
-0.073348768055439,
-0.045552726835012436,
0.05139194801449776,
-0.08338812738656998,
0.0025760000571608543,
-0.025661826133728027,
0.004784914664924145,
0.04094281792640686,
-0.06528996676206589,
-0.0003817580873146653,
0.048147935420274734,
0.0394061841070652,
0.023305650800466537,
0.021973898634314537,
-0.02077873796224594,
-0.0030903462320566177,
-0.010304000228643417,
0.0868028774857521,
0.03725489228963852,
-0.007892334833741188,
0.04770401865243912,
0.05272369831800461,
-0.012233331799507141,
0.06382162868976593,
0.04169406369328499,
-0.043435584753751755,
0.029042424634099007,
-0.02441544272005558,
-0.02574719488620758,
-0.03810857981443405,
-0.0019517415203154087,
-0.0025760000571608543,
-0.07423660904169083,
-0.027727747336030006,
0.0014256569556891918,
0.014427307061851025,
-0.019498206675052643,
-0.02281051129102707,
0.04128429293632507,
0.012241869233548641,
-0.03889397159218788,
0.02653258666396141,
0.023817861452698708,
-0.02627648040652275,
0.008442962542176247,
-0.030852241441607475,
-0.05193830654025078,
0.00512638920918107,
0.014990740455687046,
0.03351574391126633,
-0.0262594074010849,
0.024739844724535942,
0.054226186126470566,
0.0037114033475518227,
0.010551569052040577,
-0.0788123682141304,
-0.03049369342625141,
0.01835426688194275,
0.029196089133620262,
0.003265351988375187,
0.018285971134901047,
-0.030408324673771858,
-0.003606826765462756,
0.026378922164440155,
-0.0654948502779007,
0.009510071016848087,
-0.013539472594857216,
-0.04883088544011116,
-0.0010756454430520535,
0.04862600192427635,
-0.016663966700434685,
0.03629876300692558,
0.025593530386686325,
0.04271848872303963,
-0.02123972773551941,
-0.03810857981443405,
-0.004550150595605373,
-0.005446522030979395,
0.0011183297028765082,
0.06979743391275406,
-0.028274107724428177,
-0.02706187218427658,
-0.005109315738081932,
-0.03711830452084541,
0.00354066607542336,
0.025542309507727623,
0.012105278670787811,
-0.011277202516794205,
-0.010039356537163258,
0.025013023987412453,
-0.009646660648286343,
0.06935351341962814,
-0.05620674043893814,
0.013573620468378067,
0.02938389964401722,
0.04691862687468529,
0.05224563181400299,
0.011618677526712418,
0.01104670763015747,
-0.025013023987412453,
-0.020403115078806877,
0.03807443380355835,
-0.044494155794382095,
0.008357593789696693,
-0.033225491642951965,
0.006739857606589794,
-0.017790833488106728,
0.001926130848005414,
0.02856435999274254,
-0.02786433696746826,
0.003976046573370695,
0.03776710480451584,
-0.041352588683366776,
-0.032405950129032135,
-0.038450054824352264,
0.0034446262288838625,
-0.026959430426359177,
-0.01814938150346279,
-0.007196580059826374,
-0.0019026545342057943,
-0.028154591098427773,
0.008605163544416428,
0.06651927530765533,
-0.02917901612818241,
-0.01816645637154579,
0.007892334833741188,
0.026925282552838326,
-0.06395821273326874,
-0.008596626110374928,
-0.026191111654043198,
0.022247077897191048,
0.016185902059078217,
0.001962412614375353,
-0.03575240448117256,
-0.06167033687233925,
0.02912779338657856,
-0.02332272380590439,
0.016681039705872536,
-0.010423515923321247,
0.00023583098663948476,
0.030305882915854454,
0.0036004241555929184,
-0.0012207721592858434,
-0.03906470909714699,
-0.002426604740321636,
0.005450790282338858,
-0.06385577470064163,
-0.020420188084244728,
-0.010218631476163864,
-0.05094802752137184,
-0.005540427286177874,
-0.03390844166278839,
0.0051861475221812725,
-0.021854382008314133,
-0.006133739836513996,
0.01994212344288826,
-0.04521125555038452,
0.00036921954597346485,
-0.003077541012316942,
-0.04483563080430031,
0.01104670763015747,
-0.013761431910097599,
0.012933354824781418,
0.024244705215096474,
-0.0236129779368639,
-0.046338118612766266,
0.01048327423632145,
0.007072795182466507,
-0.01482000295072794,
0.003493713214993477,
0.07191457599401474,
-0.05166512727737427,
0.08099780231714249,
0.059758078306913376,
0.02043726295232773,
0.002821434987708926,
-0.010312536731362343,
-0.03561581298708916,
-0.027164313942193985,
-0.04015742614865303,
0.017159104347229004,
-0.0023753836285322905,
0.008139903657138348,
-0.03175714984536171,
0.02415933646261692,
0.04036231338977814,
-0.06170448288321495,
-0.008506989106535912,
0.01336873508989811,
0.03471090644598007,
-0.025935005396604538,
-0.020334819331765175,
-0.04801134765148163,
-0.021717792376875877,
0.025815488770604134,
-0.005570306442677975,
0.020078713074326515,
0.04254775121808052,
0.039269592612981796,
0.039508625864982605,
-0.03547922521829605,
0.0053013949654996395,
-0.02444959059357643,
0.004759304225444794,
0.03483042120933533,
0.03232058137655258,
0.053406648337841034,
0.005267247557640076,
0.012233331799507141,
-0.006727051921188831,
-0.0035428002011030912,
-0.024005673825740814,
-0.0005439585656858981,
-0.057879965752363205,
-0.012933354824781418,
-0.03773295879364014,
0.07259752601385117,
-0.009578365832567215,
0.0183713398873806,
-0.04446000978350639,
-0.013437030836939812,
-0.04756743088364601,
-0.03127908334136009,
-0.008895416744053364,
0.022708069533109665,
0.036845121532678604,
0.02494472824037075,
0.0013530936557799578,
0.004185199737548828,
0.012643101625144482,
-0.06122642010450363,
-0.010423515923321247,
-0.0419672429561615,
-0.04118185117840767,
-0.05757264047861099,
0.022503184154629707,
0.03831346333026886,
0.02726675756275654,
0.06542655825614929,
0.0812709853053093,
-0.0473283976316452,
-0.0235959030687809,
-0.0023049544543027878,
-0.0078112343326210976,
0.010082040913403034,
0.030544914305210114,
0.005523353815078735,
0.03732318803668022,
-0.030920537188649178,
0.006735588889569044,
0.02156412973999977,
-0.009732029400765896,
-0.0683973878622055,
-0.00802465621381998,
-0.036879271268844604,
-0.039747659116983414,
-0.008387473411858082,
-0.03467675670981407,
0.07157310098409653,
-0.04302581399679184,
-0.0222812257707119,
-0.013087019324302673,
-0.07819771021604538,
0.08454914391040802,
-0.04879673942923546,
0.005984344519674778,
-0.04271848872303963,
0.03957692161202431,
-0.07512444257736206,
-0.04777231439948082,
0.04644056409597397,
-0.026139890775084496,
-0.01912258379161358,
-0.019805533811450005,
-0.02018115669488907,
-0.0004124374536331743,
0.05214319005608559,
-0.04043060913681984,
-0.0013541607186198235,
-0.057914115488529205,
-0.10319366306066513,
-0.004507466219365597,
-0.0019442717311903834,
0.001806614687666297,
0.022742217406630516,
-0.008434426039457321,
0.055796969681978226,
0.005318468902260065,
0.005156268365681171,
-0.05651406571269035,
-0.0001272526860702783,
0.025132540613412857,
-0.014871224761009216,
-0.0020915328059345484,
-0.012113816104829311,
-0.005352616310119629,
-0.011746730655431747,
-0.007025842554867268,
0.0314839705824852,
0.017176179215312004,
0.03223521262407303,
-0.014794392511248589,
0.01431632786989212,
0.0026506974827498198,
-0.011601603589951992,
0.008451499044895172,
0.007136821746826172,
-0.024517884477972984,
-0.013590694405138493,
-0.05098217725753784,
-0.051870010793209076,
0.018695741891860962,
-0.03471090644598007,
-0.002137418370693922,
-0.0183884147554636,
0.02784726396203041,
-0.05330420657992363,
-0.0368109755218029,
-0.0603727325797081,
0.010295462794601917,
0.020659221336245537,
-0.0013819055166095495,
0.000347877386957407,
0.00947592407464981,
-0.0393037423491478,
0.030254660174250603,
0.018422560766339302,
0.019890902563929558,
0.013821189291775227,
-0.060509320348501205,
0.05531890690326691,
0.021700719371438026,
-0.10934020578861237,
0.012608954682946205,
0.0014694083947688341,
-0.00997959915548563,
0.00997959915548563,
-0.0018108831718564034,
-0.03728903830051422,
0.018268898129463196,
0.009544218890368938,
0.019225027412176132,
0.006415456533432007,
0.013795578852295876,
0.02392030507326126,
-0.02489350736141205,
0.021086065098643303,
-0.029725374653935432,
-0.05531890690326691,
0.04118185117840767,
-0.009305186569690704,
0.07696840167045593,
-0.001561179757118225,
0.02516668662428856,
0.051323652267456055,
-0.04282093048095703,
-0.04271848872303963,
0.06272890418767929,
0.028308255597949028,
-0.04562102258205414,
0.03592314198613167,
0.020898252725601196,
0.022417815402150154,
-0.028000928461551666,
0.020351894199848175,
-0.042137980461120605,
0.042889226227998734,
-0.013983390294015408,
0.01246382761746645,
0.06505093723535538,
-0.04432341828942299,
0.04521125555038452,
-0.00892956368625164,
0.006381309125572443,
0.03524019196629524,
0.010466200299561024,
-0.010713769122958183,
0.04620153084397316,
0.0033144389744848013,
-0.08291006088256836,
0.012566270306706429,
0.01010765228420496,
0.04387950152158737,
0.005502011626958847,
0.006675831042230129,
0.012404069304466248,
-0.016954220831394196,
0.03435235843062401,
-0.04015742614865303,
-0.04572346433997154,
-0.02596915327012539,
0.02287880703806877,
-0.025610605254769325,
-0.06802176684141159,
-0.006146545056253672,
-0.020147008821368217,
0.0472259558737278,
0.02731797844171524,
0.053406648337841034,
0.04176235944032669,
-0.0072734118439257145,
0.07143650949001312,
0.026908207684755325
]
|
29,300 | markupsafe | removeprefix | Return a str with the given prefix string removed if present.
If the string starts with the prefix string, return string[len(prefix):].
Otherwise, return a copy of the original string. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, prefix, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,301 | markupsafe | removesuffix | Return a str with the given suffix string removed if present.
If the string ends with the suffix string and that suffix is not empty,
return string[:-len(suffix)]. Otherwise, return a copy of the original
string. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, suffix, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,302 | markupsafe | replace | Return a copy with all occurrences of substring old replaced by new.
count
Maximum number of occurrences to replace.
-1 (the default value) means replace all occurrences.
If the optional argument count is given, only the first count occurrences are
replaced. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, old, new, count=-1, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,303 | markupsafe | rjust | Return a right-justified string of length width.
Padding is done using the specified fill character (default is a space). | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, width, fillchar=' ', /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,304 | markupsafe | rpartition | null | def rpartition(self, sep: str) -> t.Tuple["te.Self", "te.Self", "te.Self"]:
l, s, r = super().rpartition(self.escape(sep))
cls = self.__class__
return cls(l), cls(s), cls(r)
| (self, sep: str) -> Tuple[ForwardRef('te.Self'), ForwardRef('te.Self'), ForwardRef('te.Self')] | [
-0.02289385162293911,
-0.0010359595762565732,
-0.05852743610739708,
0.010214047506451607,
-0.04181509464979172,
-0.06664387881755829,
0.04476030543446541,
0.05705483257770538,
0.0006897479179315269,
0.002893837634474039,
0.05339044705033302,
0.019794533029198647,
0.03636988624930382,
0.04369866102933884,
-0.03366440534591675,
0.0022474329452961683,
-0.009486307390034199,
0.024160975590348244,
-0.07794525474309921,
0.03907536715269089,
-0.014777407050132751,
0.050958938896656036,
0.04496578499674797,
-0.023390427231788635,
0.017405834048986435,
0.04859592393040657,
0.013895557262003422,
-0.01367295440286398,
0.0005150367505848408,
0.00027303636306896806,
0.010410965420305729,
0.03726029768586159,
-0.03654111921787262,
-0.014931516721844673,
0.04856167733669281,
0.0010075991740450263,
-0.0440753735601902,
0.04400688037276268,
0.06126716360449791,
0.023595906794071198,
-0.013193502090871334,
-0.02474316768348217,
0.029503444209694862,
-0.03582194074988365,
0.005012845620512962,
0.010291102342307568,
0.09856171160936356,
-0.04109591618180275,
-0.007410107646137476,
0.020359601825475693,
0.020325355231761932,
0.03388701006770134,
-0.028715772554278374,
-0.02476029098033905,
0.0034653276670724154,
-0.009195211343467236,
0.047089073807001114,
-0.00010026494419435039,
-0.030599335208535194,
0.02109590359032154,
0.0457192100584507,
0.0018846330931410193,
0.03462330996990204,
0.07568497955799103,
0.043458934873342514,
-0.048047978430986404,
0.00003712277612066828,
-0.03503426909446716,
-0.055445242673158646,
0.05554798245429993,
0.033407557755708694,
-0.028561662882566452,
-0.03671235218644142,
0.03011988289654255,
0.017773984000086784,
0.014760283753275871,
0.02851029299199581,
0.023287687450647354,
0.08027402311563492,
-0.013287680223584175,
0.034315090626478195,
0.0273116622120142,
-0.06688360869884491,
-0.023202070966362953,
0.00809503998607397,
-0.01692638173699379,
-0.022551385685801506,
-0.08397265523672104,
-0.07239730656147003,
0.02188357710838318,
-0.043595921248197556,
0.009383567608892918,
-0.029674677178263664,
-0.003951201215386391,
0.0007732239901088178,
-0.018099326640367508,
-0.024948647245764732,
-0.035137008875608444,
-0.03484591469168663,
-0.051780857145786285,
-0.007204628083854914,
0.06530826538801193,
-0.06267127394676208,
-0.030410978943109512,
0.048047978430986404,
-0.014118160121142864,
-0.014460626058280468,
0.0018867735052481294,
-0.0673288106918335,
-0.0037285983562469482,
-0.01929795742034912,
0.06962333619594574,
-0.07198634743690491,
0.06845895200967789,
-0.0440753735601902,
-0.0008502788259647787,
-0.02299659140408039,
-0.02123289182782173,
0.030839061364531517,
-0.041643861681222916,
-0.02852741628885269,
0.015402407385408878,
-0.03962331265211105,
0.03818495571613312,
-0.04421235993504524,
-0.006558223627507687,
0.04921236261725426,
0.01045377366244793,
-0.04304797574877739,
-0.013904118910431862,
0.0011376291513442993,
0.03815070912241936,
-0.056335654109716415,
-0.058972641825675964,
-0.013347611762583256,
0.07369867712259293,
0.019452067092061043,
0.035102762281894684,
-0.05136989802122116,
-0.007127573247998953,
0.027123305946588516,
-0.01904110796749592,
0.03678084537386894,
0.06674662232398987,
-0.053493186831474304,
0.012679803185164928,
-0.011660967022180557,
0.049109622836112976,
0.048904143273830414,
0.05613017454743385,
-0.058904148638248444,
0.020410971716046333,
0.10691788047552109,
0.027739744633436203,
-0.018750011920928955,
-0.01706336811184883,
-0.03654111921787262,
0.018013710156083107,
0.013998297043144703,
0.007016271818429232,
-0.02373289316892624,
-0.09431513398885727,
0.03405824303627014,
0.03212330862879753,
0.004914386663585901,
0.06191784888505936,
0.04469181224703789,
-0.0340924896299839,
0.006190072745084763,
-0.014563365839421749,
0.0937671884894371,
0.02821919694542885,
0.006250004284083843,
0.016660969704389572,
-0.10547952353954315,
-0.0043921261094510555,
-0.005595038179308176,
0.034383583813905716,
0.02640412747859955,
-0.03369865193963051,
0.07780826836824417,
-0.02090754732489586,
0.03476029634475708,
-0.044383592903614044,
0.034246597439050674,
-0.0075556556694209576,
0.010102746076881886,
0.024109605699777603,
0.027859607711434364,
0.02291097491979599,
-0.01660959981381893,
0.0030393856577575207,
-0.016395559534430504,
0.0399315319955349,
-0.03633563965559006,
-0.0009380357223562896,
0.023099331185221672,
0.028133580461144447,
0.003696492174640298,
0.03203769400715828,
-0.04308222234249115,
0.03815070912241936,
-0.036198653280735016,
0.01044521201401949,
0.012919529341161251,
0.018732888624072075,
-0.001754067954607308,
0.011095898225903511,
-0.04565071687102318,
0.014922955073416233,
-0.014760283753275871,
-0.0020055663771927357,
0.054520584642887115,
0.017285970970988274,
0.02476029098033905,
-0.04791099205613136,
-0.0018086484633386135,
0.027654128149151802,
0.09095896780490875,
-0.007898122072219849,
0.04592468962073326,
0.013527406379580498,
-0.0007967685232870281,
0.0013184939743950963,
0.011241446249186993,
-0.05791099742054939,
-0.05472606420516968,
-0.06681511551141739,
-0.015710627660155296,
0.006579627748578787,
-0.016952065750956535,
-0.07157538831233978,
-0.027637004852294922,
-0.027482895180583,
0.021780837327241898,
0.018852751702070236,
-0.008737163618206978,
-0.03321919962763786,
-0.0191438477486372,
0.001079302979633212,
-0.05787675082683563,
0.009400690905749798,
-0.02369864657521248,
-0.03626714646816254,
0.04308222234249115,
-0.0077782585285604,
-0.00012588300160132349,
0.007238874677568674,
0.057260312139987946,
0.016669532284140587,
-0.000597710139118135,
0.04763701930642128,
-0.00807791668921709,
0.027962347492575645,
0.009263704530894756,
0.02469179779291153,
-0.03352741897106171,
-0.00009277350181946531,
0.0001725707552395761,
0.025907551869750023,
0.012371583841741085,
0.0069178128615021706,
0.022517139092087746,
-0.015265421010553837,
0.020428095012903214,
0.021335631608963013,
-0.0004521621158346534,
-0.002221748000010848,
0.018732888624072075,
-0.010642130859196186,
-0.0017080490943044424,
-0.008103601634502411,
-0.07678087055683136,
0.05311647430062294,
-0.040547970682382584,
0.008163533173501492,
-0.06893840432167053,
-0.007011990994215012,
-0.02090754732489586,
-0.05397263914346695,
0.014914393424987793,
-0.01694350503385067,
-0.03212330862879753,
-0.03268837928771973,
0.016284257173538208,
0.01685788854956627,
0.03231166675686836,
-0.08068498224020004,
-0.020770560950040817,
0.021643850952386856,
-0.015890421345829964,
-0.016215763986110687,
-0.02371576987206936,
0.0031378446146845818,
0.07773977518081665,
0.017705490812659264,
-0.03397262468934059,
-0.015333914197981358,
0.03592468053102493,
-0.02472604438662529,
-0.013107885606586933,
-0.03321919962763786,
-0.027243169024586678,
0.0337500236928463,
0.00193814339581877,
-0.023099331185221672,
0.034469202160835266,
0.026815086603164673,
0.025291113182902336,
-0.014066790230572224,
-0.03684933856129646,
-0.0006458694115281105,
-0.002572775585576892,
0.006374148186296225,
0.0014693931443616748,
0.0008138918201439083,
-0.018938368186354637,
0.0511644184589386,
-0.03503426909446716,
0.037876736372709274,
-0.017842477187514305,
-0.011267131194472313,
-0.04739729315042496,
0.05582195520401001,
0.025256866589188576,
0.009417814202606678,
-0.10335623472929001,
0.028664402663707733,
-0.037945229560136795,
0.04849318414926529,
-0.03352741897106171,
-0.0021093764808028936,
-0.03770550340414047,
0.03561646118760109,
0.01998288929462433,
0.001579624367877841,
0.03196920081973076,
0.0191438477486372,
0.042671263217926025,
-0.03412673622369766,
0.0680137425661087,
-0.033476050943136215,
0.00808647833764553,
0.024246592074632645,
0.038835640996694565,
0.03397262468934059,
0.03296235203742981,
0.05058222636580467,
0.0681849792599678,
0.05873291566967964,
0.005000003147870302,
-0.0382876954972744,
-0.016755148768424988,
-0.041506875306367874,
0.05948634073138237,
-0.027123305946588516,
-0.09136992692947388,
0.025205496698617935,
-0.01830480620265007,
-0.015308229252696037,
0.08273977786302567,
-0.021541111171245575,
0.04941784217953682,
0.043630167841911316,
-0.013005145825445652,
-0.06787675619125366,
-0.0709589496254921,
0.04339044168591499,
-0.08397265523672104,
-0.0005886133876629174,
-0.03592468053102493,
0.0025214056950062513,
0.045445237308740616,
-0.06263703107833862,
-0.006155826151371002,
0.05750003829598427,
0.05058222636580467,
0.02000001259148121,
0.026027414947748184,
-0.03268837928771973,
-0.012936652638018131,
-0.009452060796320438,
0.08321923017501831,
0.01839042268693447,
-0.01052226684987545,
0.06424661725759506,
0.029075361788272858,
0.0004684827581513673,
0.0564383938908577,
0.037089064717292786,
-0.050000034272670746,
0.027482895180583,
-0.020821930840611458,
-0.03114728070795536,
-0.06356168538331985,
0.0034888722002506256,
-0.014203776605427265,
-0.07061648368835449,
-0.01280822791159153,
-0.009443499147891998,
0.011660967022180557,
-0.010017129592597485,
-0.033476050943136215,
0.03917810693383217,
0.01709761470556259,
-0.03356166556477547,
0.039657559245824814,
0.03030823916196823,
-0.02647262066602707,
-0.013227748684585094,
-0.023595906794071198,
-0.05328770726919174,
0.0016074497252702713,
0.006284250877797604,
0.04119865596294403,
-0.01694350503385067,
0.03900687396526337,
0.0640411376953125,
0.014494872651994228,
0.025924675166606903,
-0.07910963892936707,
-0.016044531017541885,
0.020393848419189453,
0.031934954226017,
-0.004910105839371681,
0.032654132694005966,
-0.027671251446008682,
-0.00954623892903328,
0.013287680223584175,
-0.05386989936232567,
0.013955488801002502,
-0.017217477783560753,
-0.043595921248197556,
0.005423805210739374,
0.04311646893620491,
-0.017945216968655586,
0.03719180449843407,
0.04681510105729103,
0.02934933453798294,
-0.01191781647503376,
-0.031472623348236084,
0.005000003147870302,
-0.004304369445890188,
-0.0053638736717402935,
0.07479456812143326,
-0.03671235218644142,
-0.0209589172154665,
-0.006228600163012743,
-0.045410990715026855,
0.009708910249173641,
0.024075359106063843,
0.01593323051929474,
-0.019948642700910568,
0.004593324847519398,
0.012029117904603481,
-0.022260289639234543,
0.06849319487810135,
-0.048219211399555206,
0.02565070241689682,
0.008377574384212494,
0.0513356514275074,
0.04845893755555153,
0.010239732451736927,
0.020376725122332573,
-0.023082207888364792,
-0.009469184093177319,
0.043458934873342514,
-0.05414387211203575,
-0.002904539695009589,
-0.03856166824698448,
0.00387842720374465,
-0.028099333867430687,
0.008227745071053505,
0.02943495102226734,
-0.02375001646578312,
0.01917809434235096,
0.04119865596294403,
-0.04089043661952019,
-0.029075361788272858,
-0.03404111787676811,
0.0007550304871983826,
-0.02381850965321064,
-0.034503448754549026,
-0.00014755467418581247,
0.0028424677439033985,
-0.03306509181857109,
0.0003261453239247203,
0.06476031988859177,
-0.0257534421980381,
-0.013476036489009857,
0.008236306719481945,
0.036198653280735016,
-0.07438360899686813,
0.007829628884792328,
-0.02761988155543804,
0.01640412025153637,
0.006926374509930611,
-0.01753425784409046,
-0.01917809434235096,
-0.06123291701078415,
0.03404111787676811,
-0.047294553369283676,
0.006344182416796684,
-0.012208912521600723,
0.0010578988585621119,
0.029486320912837982,
-0.000440657400758937,
0.010864733718335629,
-0.02847604639828205,
-0.005008564796298742,
-0.004499146714806557,
-0.05681510642170906,
-0.014203776605427265,
-0.005530825816094875,
-0.05342469364404678,
-0.011455487459897995,
-0.020273985341191292,
0.014006858691573143,
-0.02474316768348217,
0.0013217047089710832,
0.012482885271310806,
-0.04034249112010002,
-0.007602744735777378,
-0.003343324176967144,
-0.04339044168591499,
-0.0010006427764892578,
-0.0256678257137537,
0.022465769201517105,
0.030616458505392075,
-0.0363013930618763,
-0.04958907514810562,
0.0011782969813793898,
0.012508570216596127,
-0.030770568177103996,
0.018921244889497757,
0.07541100680828094,
-0.04664386808872223,
0.06267127394676208,
0.0569520927965641,
0.013116447255015373,
-0.003075772663578391,
0.0012574922293424606,
-0.03852742165327072,
-0.025222619995474815,
-0.06630141288042068,
0.02486303076148033,
0.010085622780025005,
0.015770558267831802,
-0.043664414435625076,
0.03008563630282879,
0.02109590359032154,
-0.060958944261074066,
-0.004469180945307016,
0.02736303210258484,
0.029571937397122383,
-0.027071936056017876,
-0.027003442868590355,
-0.03636988624930382,
-0.016378436237573624,
0.01929795742034912,
0.002874573925510049,
0.023424673825502396,
0.06119867041707039,
0.044417839497327805,
0.047157566994428635,
-0.0173287782818079,
0.007500004954636097,
-0.014178091660141945,
-0.0037778278347104788,
0.049109622836112976,
0.030616458505392075,
0.04239729046821594,
0.003251286456361413,
0.01598460040986538,
-0.005423805210739374,
-0.010599322617053986,
-0.000533230253495276,
-0.004524831660091877,
-0.05037674680352211,
-0.016643846407532692,
-0.02851029299199581,
0.0698288157582283,
-0.004601886495947838,
0.006378429010510445,
-0.053527433425188065,
-0.012251720763742924,
-0.04657537490129471,
-0.009948636405169964,
0.00011511405318742618,
0.024246592074632645,
0.04085619002580643,
0.033339064568281174,
0.004372862633317709,
-0.015873298048973083,
0.012388707138597965,
-0.05027400702238083,
0.000931079383008182,
-0.031592488288879395,
-0.050958938896656036,
-0.036986324936151505,
0.03412673622369766,
0.023476043716073036,
0.047157566994428635,
0.0698288157582283,
0.05979456007480621,
-0.05102743208408356,
-0.03294522687792778,
0.006327059119939804,
-0.005659250542521477,
0.021643850952386856,
0.03544522821903229,
0.000007980561349540949,
0.03948632627725601,
-0.03106166422367096,
0.004038958344608545,
0.013005145825445652,
-0.025445222854614258,
-0.06780826300382614,
-0.015034256502985954,
-0.03294522687792778,
-0.04280824959278107,
-0.016669532284140587,
-0.03773974999785423,
0.07712333649396896,
-0.05856168270111084,
-0.001284247380681336,
-0.02003425918519497,
-0.06681511551141739,
0.0732877179980278,
-0.05743154510855675,
-0.0016962768277153373,
-0.057089079171419144,
0.03729454427957535,
-0.06849319487810135,
-0.05013702064752579,
0.04404112696647644,
-0.028732895851135254,
-0.007692642044275999,
-0.019708916544914246,
-0.02390412613749504,
0.02107878029346466,
0.036027420312166214,
-0.049143869429826736,
-0.003441783133894205,
-0.06719182431697845,
-0.0901370495557785,
-0.0007063361117616296,
-0.004559078253805637,
-0.008561649359762669,
0.031609609723091125,
-0.005226886831223965,
0.06311648339033127,
0.010145554319024086,
0.0006678086938336492,
-0.05157537758350372,
0.009880143217742443,
0.030530842021107674,
-0.014289393089711666,
-0.008711478672921658,
-0.008801375515758991,
-0.0030201219487935305,
-0.028767142444849014,
-0.0005112910293973982,
0.034315090626478195,
0.020667821168899536,
0.03306509181857109,
-0.01561644859611988,
0.04102742299437523,
0.017928093671798706,
-0.023647276684641838,
-0.0015014993259683251,
0.005089900456368923,
-0.03126714378595352,
0.004250858910381794,
-0.04650688171386719,
-0.059006888419389725,
0.007722607813775539,
-0.04832195118069649,
0.005834764335304499,
-0.014948640018701553,
0.020273985341191292,
-0.044383592903614044,
-0.044246606528759,
-0.0661986768245697,
0.02025686204433441,
0.02210617996752262,
-0.011772268451750278,
0.016986312344670296,
0.01835617609322071,
-0.03760276362299919,
0.03852742165327072,
0.023270564153790474,
0.012200350873172283,
0.0015303948894143105,
-0.06613018363714218,
0.05020551383495331,
0.020359601825475693,
-0.11452062427997589,
0.022431522607803345,
0.009888704866170883,
-0.004379283636808395,
0.0035723482724279165,
0.00241438508965075,
-0.0493493489921093,
0.016395559534430504,
0.02828769013285637,
0.025873305276036263,
0.0011536822421476245,
-0.0009995725704357028,
0.02215754985809326,
-0.020410971716046333,
0.026215771213173866,
-0.027140429243445396,
-0.0511644184589386,
0.052534282207489014,
-0.018116449937224388,
0.08157539367675781,
-0.012645556591451168,
0.00869007408618927,
0.044520579278469086,
-0.05424661189317703,
-0.039760299026966095,
0.059931546449661255,
0.027003442868590355,
-0.0366438589990139,
0.03296235203742981,
0.02667810022830963,
0.015359599143266678,
-0.032602760940790176,
0.024109605699777603,
-0.042774002999067307,
0.04280824959278107,
-0.00806935504078865,
-0.005081338807940483,
0.07732881605625153,
-0.03924660012125969,
0.033441804349422455,
-0.013561652973294258,
0.01467466726899147,
0.04479455202817917,
0.0062799700535833836,
-0.003786389483138919,
0.04671236127614975,
0.0005570423090830445,
-0.08458910137414932,
0.023150701075792313,
0.010881857015192509,
0.05424661189317703,
0.0006035962724126875,
-0.00003347738675074652,
0.0340924896299839,
-0.021643850952386856,
0.030924677848815918,
-0.04198632761836052,
-0.05500003695487976,
-0.028801389038562775,
0.017722614109516144,
-0.008116443641483784,
-0.06739730387926102,
0.006553942803293467,
-0.005612161476165056,
0.03948632627725601,
0.026198647916316986,
0.05291099473834038,
0.03280824050307274,
-0.005616442300379276,
0.05578770861029625,
0.016113024204969406
]
|
29,305 | markupsafe | rsplit | Return a list of the substrings in the string, using sep as the separator string.
sep
The separator used to split the string.
When set to None (the default value), will split on any whitespace
character (including \\n \\r \\t \\f and spaces) and will discard
empty strings from the result.
maxsplit
Maximum number of splits (starting from the left).
-1 (the default value) means no limit.
Splitting starts at the end of the string and works to the front. | def rsplit( # type: ignore[override]
self, sep: t.Optional[str] = None, maxsplit: int = -1
) -> t.List["te.Self"]:
return [self.__class__(v) for v in super().rsplit(sep, maxsplit)]
| (self, sep: Optional[str] = None, maxsplit: int = -1) -> List[ForwardRef('te.Self')] | [
-0.015248242765665054,
-0.01442834921181202,
-0.059460125863552094,
-0.03202933073043823,
-0.046341825276613235,
-0.0008354896563105285,
0.04110163450241089,
0.04958575218915939,
0.011754781939089298,
-0.008822770789265633,
0.04420297220349312,
0.0235986839979887,
0.019124915823340416,
-0.012592500075697899,
-0.005307030398398638,
-0.006576974410563707,
0.005382781382650137,
0.00322164804674685,
-0.035201963037252426,
0.04855197295546532,
-0.01132701151072979,
0.05208108201622963,
0.006746300496160984,
-0.02154894918203354,
0.010364527814090252,
0.058782823383808136,
0.04448815435171127,
-0.002620095619931817,
0.01573839783668518,
0.009936756454408169,
-0.03946184739470482,
0.03586144372820854,
-0.05978095531463623,
-0.00008709979738341644,
0.033544354140758514,
-0.030799491330981255,
-0.04110163450241089,
0.07111687958240509,
0.04074515774846077,
0.03158373758196831,
0.027181264013051987,
-0.01462441124022007,
0.017297977581620216,
-0.032457102090120316,
-0.0004458729817997664,
-0.0027983332984149456,
0.06252581626176834,
-0.004344546236097813,
0.0019049163674935699,
-0.02996177226305008,
0.007468163501471281,
0.008947537280619144,
-0.06470032036304474,
0.005765992682427168,
0.01006152294576168,
0.04256318509578705,
0.049051038920879364,
0.005993245635181665,
-0.002346054883673787,
-0.0006149203982204199,
0.01188846118748188,
-0.04684089124202728,
0.03636050969362259,
0.03167285397648811,
0.06687481701374054,
-0.052223674952983856,
-0.0064343842677772045,
-0.017494039610028267,
-0.01880408637225628,
0.019463567063212395,
0.034079067409038544,
-0.009999140165746212,
-0.022743143141269684,
0.029658768326044083,
0.04217106103897095,
0.01992698572576046,
0.040317390114068985,
0.026967378333210945,
0.03363347053527832,
-0.024917643517255783,
0.025808831676840782,
0.02285008504986763,
-0.046341825276613235,
-0.011095302179455757,
-0.02465028688311577,
-0.045807112008333206,
-0.015631454065442085,
-0.0799931213259697,
-0.06548456847667694,
0.036093153059482574,
-0.05614490434527397,
-0.002713670488446951,
-0.02538106217980385,
0.014437261037528515,
-0.06904932111501694,
-0.05190284550189972,
-0.039568789303302765,
-0.02340262196958065,
-0.017280153930187225,
-0.0592462420463562,
0.000059493824664969,
0.07806815207004547,
-0.05960271880030632,
-0.009731783531606197,
0.03543367236852646,
-0.00868018064647913,
-0.03857065737247467,
0.004101697355508804,
-0.06502114981412888,
0.042884014546871185,
-0.017681188881397247,
0.09154292941093445,
-0.013670838437974453,
0.03689522296190262,
-0.04915798455476761,
0.036093153059482574,
-0.05446946993470192,
0.004482680466026068,
0.04840938374400139,
-0.0471973679959774,
-0.021245945245027542,
-0.00447822455316782,
-0.037750765681266785,
0.03147679567337036,
-0.010738827288150787,
0.028090275824069977,
0.008332616649568081,
0.015221507288515568,
-0.038321126252412796,
0.013198508881032467,
0.011255716904997826,
0.06416560709476471,
-0.040887750685214996,
-0.07785426825284958,
-0.006483399774879217,
0.05122554302215576,
0.00116522959433496,
0.01472244132310152,
-0.061135563999414444,
-0.05978095531463623,
0.02908840775489807,
-0.016522644087672234,
0.04003220796585083,
0.05792728066444397,
-0.06648269295692444,
0.029284469783306122,
0.042135413736104965,
0.07571541517972946,
0.03725169971585274,
0.03796464949846268,
-0.043846495449543,
0.04038868471980095,
0.0655558630824089,
0.010836857371032238,
-0.012556852772831917,
-0.01178151834756136,
-0.0471973679959774,
0.04274142161011696,
0.013751045800745487,
-0.012307319790124893,
-0.029872654005885124,
-0.05464770644903183,
-0.011086390353739262,
-0.00950898602604866,
0.033722590655088425,
0.05104730278253555,
0.049443162977695465,
-0.026789139956235886,
-0.03906972333788872,
0.057499513030052185,
0.06509244441986084,
-0.015845339745283127,
0.007027024868875742,
0.009607017040252686,
-0.05111859738826752,
0.012378614395856857,
-0.03368694335222244,
0.03368694335222244,
0.014054049737751484,
0.03935490548610687,
0.046163588762283325,
-0.03603968024253845,
0.021245945245027542,
-0.09296882897615433,
0.03906972333788872,
0.0051599838770926,
-0.009794166311621666,
0.014989797957241535,
0.011113126762211323,
0.0075216349214315414,
-0.005044129677116871,
-0.017476215958595276,
-0.0011312529677525163,
-0.03233233466744423,
-0.039568789303302765,
-0.03349088132381439,
-0.018679320812225342,
0.03267098590731621,
0.001011499436572194,
0.0006500109448097646,
-0.054932888597249985,
0.0314054973423481,
-0.04619923606514931,
-0.058925412595272064,
-0.014909591525793076,
0.018153518438339233,
-0.0043779658153653145,
-0.02010522224009037,
0.01702171005308628,
0.005881847348064184,
-0.0006282881950028241,
0.009678312577307224,
0.0446307435631752,
0.0270564965903759,
0.02211930975317955,
-0.03796464949846268,
-0.002359422855079174,
0.008283601142466068,
0.09396696090698242,
-0.0001271336805075407,
0.04070951044559479,
0.02555929869413376,
-0.009696136228740215,
0.02356303669512272,
0.0005776018369942904,
-0.04316919296979904,
-0.02377692237496376,
-0.06388042122125626,
0.007619665469974279,
-0.009936756454408169,
-0.03400776907801628,
-0.04099469259381294,
-0.02908840775489807,
-0.023456092923879623,
0.009910020977258682,
0.05247320607304573,
0.02762685716152191,
-0.027537738904356956,
-0.0007786763599142432,
0.015640366822481155,
-0.05938883125782013,
0.019820041954517365,
-0.0596383661031723,
-0.024917643517255783,
0.032635338604450226,
0.05757080763578415,
-0.015827516093850136,
0.02415122091770172,
0.06152768433094025,
0.02502458542585373,
0.03224321827292442,
0.03315223008394241,
-0.026539606973528862,
0.030211305245757103,
0.01720885932445526,
0.021263768896460533,
-0.05536065995693207,
-0.003546932013705373,
0.011469601653516293,
0.011719134636223316,
0.01096162386238575,
-0.02122812159359455,
0.004799052607268095,
0.010810121893882751,
-0.0033219067845493555,
0.016415700316429138,
0.007022568956017494,
-0.017128651961684227,
0.012637059204280376,
0.020942941308021545,
0.017280153930187225,
-0.023723449558019638,
-0.09275494515895844,
0.03853501006960869,
-0.06345265358686447,
0.03710910677909851,
-0.08840594440698624,
0.0004567343567032367,
-0.019855689257383347,
-0.047054778784513474,
0.01370648667216301,
0.0052892062813043594,
-0.01937444880604744,
-0.06088602915406227,
-0.013831252232193947,
0.044702038168907166,
0.0052089993841946125,
-0.04801725968718529,
-0.07379044592380524,
0.0170306209474802,
0.010925976559519768,
-0.021245945245027542,
0.0011006183922290802,
0.0028651724569499493,
0.10794080793857574,
-0.011897373013198376,
-0.010400175116956234,
0.0025376605335623026,
0.024062102660536766,
-0.02921317331492901,
0.002484189113602042,
-0.04224235564470291,
-0.05029870569705963,
0.009482250548899174,
-0.010890329256653786,
-0.08341528475284576,
0.006229410879313946,
-0.012209288775920868,
0.018946677446365356,
-0.004264339338988066,
-0.027912037447094917,
0.0332769975066185,
-0.0010800096206367016,
-0.04844503104686737,
0.02010522224009037,
0.003232788061723113,
-0.01433923002332449,
0.04712607339024544,
-0.02067558467388153,
0.022065838798880577,
-0.022529257461428642,
-0.018153518438339233,
-0.04420297220349312,
0.010890329256653786,
0.0011674575507640839,
0.05974530801177025,
-0.048872802406549454,
0.030656900256872177,
-0.06815813481807709,
-0.0150076225399971,
-0.01957050897181034,
-0.021174650639295578,
-0.027751624584197998,
0.002530976664274931,
0.04427426680922508,
-0.011291364207863808,
0.06751647591590881,
0.0028117012698203325,
0.010925976559519768,
-0.04855197295546532,
0.02798333391547203,
-0.019998280331492424,
0.019481390714645386,
0.03657439351081848,
-0.014668970368802547,
0.07550153136253357,
0.07436081022024155,
0.07471728324890137,
0.0588541179895401,
0.04737560451030731,
0.007307749707251787,
-0.06730259209871292,
-0.0037964649964123964,
-0.010462558828294277,
0.032457102090120316,
-0.035362377762794495,
-0.06519938260316849,
0.05625184625387192,
-0.005520915612578392,
-0.024917643517255783,
0.04947881028056145,
-0.03106684796512127,
0.050904713571071625,
0.026272250339388847,
0.011941932141780853,
-0.07043957710266113,
-0.03529108315706253,
0.020033927634358406,
-0.032813578844070435,
-0.013100477866828442,
-0.04117292910814285,
0.005868479143828154,
0.03860630467534065,
-0.06634010374546051,
-0.021317239850759506,
0.02211930975317955,
0.05928188934922218,
0.011077478528022766,
0.014829384163022041,
0.01070317905396223,
-0.03434642404317856,
-0.027466444298624992,
0.09888632595539093,
-0.03678828105330467,
-0.012547940947115421,
0.059852249920368195,
0.01124680507928133,
-0.004215323831886053,
0.04691218584775925,
0.018786262720823288,
-0.027519915252923965,
0.0038142886478453875,
-0.06505679339170456,
0.0034734089858829975,
-0.09018832445144653,
-0.005765992682427168,
-0.00025733080110512674,
-0.04972834512591362,
0.006732932757586241,
0.002882996341213584,
0.004152940586209297,
0.0045161000452935696,
-0.022885732352733612,
0.0416719950735569,
0.007272101938724518,
-0.018037663772702217,
0.05168895795941353,
-0.003388745943084359,
-0.046484414488077164,
-0.0592462420463562,
-0.0010967194102704525,
-0.04017479717731476,
0.0051733520813286304,
-0.012770737521350384,
0.04826679453253746,
0.0008299197070300579,
0.006064540706574917,
0.08127643167972565,
0.021655891090631485,
0.02450769580900669,
-0.056750912219285965,
-0.00877375528216362,
-0.011193333193659782,
0.04185023531317711,
-0.011719134636223316,
0.05482594668865204,
-0.007512723095715046,
-0.022547081112861633,
-0.028660636395215988,
-0.0673382356762886,
0.020782526582479477,
0.006487855687737465,
-0.08063478022813797,
-0.031120318919420242,
0.02065776102244854,
-0.04181458428502083,
0.004852524027228355,
0.03315223008394241,
-0.01646026037633419,
-0.011024007573723793,
-0.023616507649421692,
0.022796614095568657,
-0.016674146056175232,
0.013572807423770428,
0.13560330867767334,
-0.020550817251205444,
0.015551247633993626,
0.019998280331492424,
-0.035219788551330566,
-0.017663365229964256,
-0.035023726522922516,
0.003174860728904605,
-0.02099641226232052,
0.053293101489543915,
-0.006523502990603447,
0.015640366822481155,
0.05190284550189972,
0.00212102965451777,
0.022885732352733612,
-0.006701740901917219,
0.05561019107699394,
0.06580539047718048,
0.031904563307762146,
-0.005471900105476379,
-0.047054778784513474,
0.02391951158642769,
0.04769643396139145,
-0.04630617797374725,
0.011683487333357334,
-0.03197586163878441,
0.003910091705620289,
-0.011594368144869804,
0.007432515732944012,
-0.02176283486187458,
-0.012726178392767906,
0.04972834512591362,
0.05208108201622963,
-0.03422165662050247,
-0.029872654005885124,
-0.03532673045992851,
-0.019820041954517365,
-0.03322352468967438,
-0.03821418434381485,
-0.008074171841144562,
-0.00959810521453619,
-0.04591405391693115,
-0.019481390714645386,
0.0026000437792390585,
-0.014036226086318493,
-0.007133967708796263,
0.018322845920920372,
0.026646550744771957,
-0.07421821355819702,
0.04024609178304672,
0.017297977581620216,
0.0501561164855957,
0.041422463953495026,
-0.0011279110331088305,
0.022065838798880577,
0.001274400157853961,
0.0235986839979887,
-0.028981465846300125,
-0.013002446852624416,
0.0242938119918108,
-0.02687825821340084,
0.016674146056175232,
0.00932183675467968,
0.014606586657464504,
-0.06623316556215286,
-0.030781665816903114,
-0.03274228423833847,
-0.025737537071108818,
-0.005921950563788414,
-0.000936862372327596,
-0.04017479717731476,
-0.04619923606514931,
-0.009214893914759159,
-0.010819033719599247,
-0.030959904193878174,
0.055681485682725906,
0.013644102960824966,
-0.047625139355659485,
-0.04170764237642288,
-0.016905855387449265,
-0.006380912847816944,
-0.01864367350935936,
-0.07100993394851685,
0.03124508447945118,
0.03914101794362068,
0.0035357922315597534,
0.010917064733803272,
0.0058105518110096455,
0.0019394499249756336,
0.007254278287291527,
0.009829814545810223,
0.084128238260746,
-0.03579014912247658,
0.03472072258591652,
0.059460125863552094,
0.012583588249981403,
-0.041208576411008835,
0.02504240907728672,
-0.03420383110642433,
-0.002963203238323331,
-0.06826507300138474,
0.005347133614122868,
0.016709793359041214,
0.020960764959454536,
-0.0030278144404292107,
0.012031051330268383,
0.056750912219285965,
0.00205641845241189,
-0.014401613734662533,
0.006412104703485966,
0.0317976213991642,
-0.05917494744062424,
0.012298407964408398,
-0.05486159399151802,
-0.03268881142139435,
0.009330748580396175,
0.023669978603720665,
0.04733995720744133,
0.03552279248833656,
0.018501082435250282,
0.04630617797374725,
0.02612966112792492,
0.015408657491207123,
0.030246952548623085,
-0.01261032372713089,
0.04548628628253937,
0.011745870113372803,
0.025452356785535812,
-0.005868479143828154,
-0.0015729485312476754,
0.04024609178304672,
0.02263619937002659,
0.019285328686237335,
-0.01917838677763939,
-0.0464131198823452,
-0.03220756724476814,
-0.012191465124487877,
0.05881847068667412,
-0.009152510203421116,
0.013759957626461983,
-0.04299095645546913,
-0.004678742028772831,
-0.05685785412788391,
0.002314863260835409,
-0.022244077175855637,
0.022814437747001648,
0.05211672931909561,
0.07749779522418976,
0.01939227245748043,
-0.01789507456123829,
-0.012574676424264908,
-0.03418600931763649,
-0.046484414488077164,
-0.0009162536589428782,
-0.04095904529094696,
-0.0032884872052818537,
0.049977876245975494,
-0.014009490609169006,
0.03874889761209488,
0.0618128664791584,
0.026575254276394844,
-0.07628577202558517,
-0.009473338723182678,
0.0014348141849040985,
-0.0046698302030563354,
0.057285625487565994,
-0.0010187403531745076,
0.012672707438468933,
0.06826507300138474,
-0.043953441083431244,
-0.02008739858865738,
0.03896278142929077,
-0.033348292112350464,
-0.00840836763381958,
0.04748254641890526,
-0.03071037121117115,
-0.005516459699720144,
-0.006768580060452223,
-0.018340669572353363,
0.0705108717083931,
-0.05300791934132576,
0.016317669302225113,
-0.06587668508291245,
-0.054576411843299866,
0.036645691841840744,
-0.051617663353681564,
-0.00949116237461567,
-0.06534197181463242,
0.03160155937075615,
-0.05069082975387573,
-0.037536878138780594,
0.032617516815662384,
-0.04060256853699684,
-0.018411964178085327,
-0.011763694696128368,
-0.046163588762283325,
-0.007686504628509283,
0.005685785785317421,
-0.045949701219797134,
-0.02800115756690502,
-0.05340004339814186,
-0.08091995865106583,
-0.011852812953293324,
0.0460209995508194,
0.021317239850759506,
0.031049024313688278,
0.006594798527657986,
0.07628577202558517,
-0.007713240571320057,
0.017244506627321243,
-0.012601411901414394,
-0.04274142161011696,
0.040139149874448776,
0.016023578122258186,
0.03636050969362259,
-0.001502767438068986,
-0.01756533421576023,
-0.03782206028699875,
0.03620009496808052,
0.025808831676840782,
-0.04491592198610306,
-0.010204114019870758,
0.00006676954944850877,
0.025470180436968803,
0.02926664613187313,
-0.011282452382147312,
0.0060734529979527,
-0.013483689166605473,
-0.02703867293894291,
0.01826937310397625,
-0.021620243787765503,
-0.026094011962413788,
-0.01882191002368927,
-0.015649277716875076,
0.03539802506566048,
-0.024899819865822792,
0.027109967544674873,
-0.03202933073043823,
-0.04894409701228142,
-0.02104988321661949,
0.06979791820049286,
0.03603968024253845,
-0.00822567380964756,
0.05300791934132576,
0.05429122969508171,
0.006777491886168718,
0.056572675704956055,
0.029034936800599098,
0.027181264013051987,
0.009624840691685677,
-0.03224321827292442,
0.11264628171920776,
0.011514161713421345,
-0.07371915131807327,
-0.006978009361773729,
0.02629007399082184,
0.001118442160077393,
0.023135265335440636,
-0.028393279761075974,
-0.02579100802540779,
0.032439276576042175,
0.015809692442417145,
0.016014665365219116,
0.00278942147269845,
-0.012966799549758434,
0.010186289437115192,
-0.002620095619931817,
0.03906972333788872,
-0.011335923336446285,
-0.04356131702661514,
0.017226682975888252,
-0.07885240018367767,
0.08127643167972565,
0.0012833120999857783,
-0.006394280586391687,
0.052936624735593796,
-0.03906972333788872,
-0.02342044562101364,
0.07842462509870529,
0.0332769975066185,
-0.03365129604935646,
0.020229989662766457,
0.02119247429072857,
0.07471728324890137,
-0.03434642404317856,
0.02101423591375351,
-0.035897091031074524,
0.01051602978259325,
-0.03126290813088417,
-0.03600403293967247,
0.05393475666642189,
-0.04584275931119919,
0.031049024313688278,
-0.015105652622878551,
-0.00007547256245743483,
0.015319538302719593,
-0.000536941341124475,
-0.050548236817121506,
0.03231451287865639,
0.016023578122258186,
-0.04862327128648758,
0.02981918305158615,
0.025897951796650887,
0.04894409701228142,
-0.014615499414503574,
-0.01957050897181034,
0.0007341168820858002,
-0.024258162826299667,
0.026557430624961853,
-0.047054778784513474,
-0.036610040813684464,
0.0031860005110502243,
-0.013973843306303024,
-0.030942080542445183,
-0.06601928174495697,
0.019606156274676323,
0.01007043570280075,
0.02523847110569477,
-0.007895934395492077,
0.016380053013563156,
0.01645134761929512,
0.0006566948723047972,
0.03853501006960869,
-0.03341958671808243
]
|
29,306 | markupsafe | rstrip | Return a copy of the string with trailing whitespace removed.
If chars is given and not None, remove characters in chars instead. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, chars=None, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,307 | markupsafe | split | Return a list of the substrings in the string, using sep as the separator string.
sep
The separator used to split the string.
When set to None (the default value), will split on any whitespace
character (including \\n \\r \\t \\f and spaces) and will discard
empty strings from the result.
maxsplit
Maximum number of splits (starting from the left).
-1 (the default value) means no limit.
Note, str.split() is mainly useful for data that has been intentionally
delimited. With natural text that includes punctuation, consider using
the regular expression module. | def split( # type: ignore[override]
self, sep: t.Optional[str] = None, maxsplit: int = -1
) -> t.List["te.Self"]:
return [self.__class__(v) for v in super().split(sep, maxsplit)]
| (self, sep: Optional[str] = None, maxsplit: int = -1) -> List[ForwardRef('te.Self')] | [
-0.00506102479994297,
-0.020137080922722816,
-0.054899852722883224,
-0.045196954160928726,
-0.05104723200201988,
0.011655963025987148,
0.04894255846738815,
0.02445344440639019,
0.004104557912796736,
-0.0031703864224255085,
0.037349022924900055,
0.011664881370961666,
0.017666766420006752,
-0.05611271783709526,
-0.002252936363220215,
-0.01724761538207531,
0.023864848539233208,
-0.009988277219235897,
-0.008677315898239613,
0.05992966517806053,
-0.01128140278160572,
0.033692602068185806,
0.005226009525358677,
-0.04341333359479904,
0.01793430931866169,
0.06695713102817535,
0.03806247189640999,
0.000016756283002905548,
0.02509554661810398,
-0.003531569615006447,
-0.05243845656514168,
0.047943733632564545,
-0.06142790615558624,
0.0022351001389324665,
0.04830045625567436,
-0.021439123898744583,
-0.030874479562044144,
0.07045303285121918,
0.02341894432902336,
0.037919782102108,
0.035458385944366455,
-0.02912653051316738,
0.016061507165431976,
-0.013600110076367855,
-0.017604339867830276,
-0.008142230100929737,
0.07312846183776855,
0.014268968254327774,
-0.005734341684728861,
-0.04109462723135948,
-0.0018995563732460141,
-0.0037344563752412796,
-0.05308056250214577,
-0.007321764249354601,
0.005221550352871418,
0.05240278318524361,
0.08183252811431885,
-0.007794423960149288,
-0.0114954374730587,
0.025077711790800095,
0.007080975454300642,
-0.030838806182146072,
0.05022676661610603,
0.004401084966957569,
0.054721493273973465,
-0.054293423891067505,
0.00012269361468497664,
-0.014893235638737679,
-0.02106456458568573,
0.02753910794854164,
0.05222442373633385,
-0.04312795400619507,
-0.015535338781774044,
0.06264077126979828,
0.027949340641498566,
0.010318247601389885,
0.04002445563673973,
0.0329434797167778,
0.05076185241341591,
-0.025202564895153046,
-0.0005963982548564672,
0.012449674308300018,
-0.06963256001472473,
-0.010826579295098782,
-0.0039640977047383785,
-0.025327417999505997,
-0.026629460975527763,
-0.0667787715792656,
-0.06317585706710815,
0.0701676532626152,
-0.05522090569138527,
0.007647274993360043,
-0.022241754457354546,
0.03809814527630806,
-0.07462669909000397,
-0.044519178569316864,
-0.03297915309667587,
-0.02659378945827484,
-0.013698209077119827,
-0.015811800956726074,
0.006973958108574152,
0.07555418461561203,
-0.033960144966840744,
-0.006871399935334921,
0.02942974679172039,
-0.032247867435216904,
-0.03157009184360504,
0.004314133431762457,
-0.05436476692557335,
0.03256892040371895,
-0.019298778846859932,
0.0829027071595192,
-0.010862251743674278,
0.020315442234277725,
-0.031052840873599052,
0.028306065127253532,
-0.04505426809191704,
0.004240558948367834,
0.029715126380324364,
-0.05525657907128334,
-0.03916831687092781,
0.0033286826219409704,
-0.03638586774468422,
0.027663961052894592,
-0.003507044864818454,
0.020440297201275826,
0.009256993420422077,
-0.002532741753384471,
-0.03681393712759018,
0.012815317139029503,
0.019405797123908997,
0.05486418306827545,
-0.03563674911856651,
-0.06906180828809738,
-0.022794676944613457,
0.03663557395339012,
-0.005903785582631826,
0.005564897321164608,
-0.07505477219820023,
-0.06082147732377052,
0.006737628486007452,
-0.026629460975527763,
0.03579727187752724,
0.044340819120407104,
-0.08097639679908752,
0.0412016436457634,
0.045625023543834686,
0.04480455815792084,
0.030571263283491135,
0.027360746636986732,
-0.04651683568954468,
0.041344333440065384,
0.038419194519519806,
-0.01072848029434681,
-0.022883856669068336,
-0.0016219803364947438,
-0.04294959455728531,
0.04152269661426544,
0.035065989941358566,
0.006528052967041731,
-0.027860159054398537,
-0.04640981927514076,
-0.016801709309220314,
0.01228914875537157,
0.04790806025266647,
0.0578249916434288,
0.03795545548200607,
-0.00473105488345027,
-0.02579115889966488,
0.04066655784845352,
0.0594659224152565,
-0.002996483352035284,
0.016703611239790916,
0.04173672944307327,
-0.03440604731440544,
0.012378329411149025,
-0.023062219843268394,
0.0329434797167778,
0.033318039029836655,
0.03437037765979767,
0.03635019436478615,
-0.025042038410902023,
0.008405313827097416,
-0.0791214257478714,
0.041594043374061584,
-0.009872342459857464,
0.003752292599529028,
0.031124185770750046,
-0.008730825036764145,
0.006817891262471676,
-0.006733169313520193,
-0.014019261114299297,
0.00631847744807601,
-0.030696116387844086,
-0.03535136952996254,
-0.012021605856716633,
-0.021688831970095634,
0.025131219998002052,
-0.025256073102355003,
-0.003727767849341035,
-0.028734134510159492,
0.031980324536561966,
-0.04512561112642288,
-0.08168984204530716,
0.003698783926665783,
0.0286627896130085,
-0.0030009422916918993,
-0.02423940971493721,
0.0014135196106508374,
-0.0031503206118941307,
-0.0014268967788666487,
-0.0036809479352086782,
0.026326246559619904,
0.045375317335128784,
0.02918003872036934,
-0.0452326275408268,
0.021011054515838623,
0.0012630266137421131,
0.08903835713863373,
0.010291493497788906,
0.061071183532476425,
0.016980072483420372,
-0.00430075591430068,
0.054721493273973465,
0.02505987510085106,
-0.03016103059053421,
0.003536028554663062,
-0.07084542512893677,
0.0036274392623454332,
-0.018389131873846054,
-0.053009215742349625,
-0.044982921332120895,
-0.05325892195105553,
-0.007040843833237886,
0.01938796043395996,
0.07327114790678024,
0.039061300456523895,
-0.05547061190009117,
-0.031302548944950104,
0.0007948261336423457,
-0.03852621465921402,
0.005034270230680704,
-0.05208173394203186,
-0.012084032408893108,
0.03165927156805992,
0.05918054282665253,
-0.030482083559036255,
0.0090563353151083,
0.061285216361284256,
0.029322728514671326,
0.02805635891854763,
0.03135605528950691,
-0.019245270639657974,
0.014268968254327774,
-0.0016665708972141147,
0.010184476152062416,
-0.058966509997844696,
-0.007972786203026772,
0.009542372077703476,
0.011397338472306728,
-0.023401107639074326,
-0.02363297902047634,
0.008503412827849388,
0.0376700758934021,
0.003937343135476112,
0.02063649520277977,
0.019976554438471794,
-0.023115728050470352,
-0.009301583282649517,
0.027949340641498566,
0.020832693204283714,
-0.030517755076289177,
-0.07441266626119614,
0.02784232422709465,
-0.07023899257183075,
0.023401107639074326,
-0.09759973734617233,
0.0015216516330838203,
-0.03399581462144852,
-0.034816280007362366,
0.027985014021396637,
0.003299698932096362,
-0.042878247797489166,
-0.08696936070919037,
-0.0034802905283868313,
0.0478723868727684,
0.0020400164648890495,
-0.05800335481762886,
-0.07876469939947128,
0.01048769149929285,
-0.01721194200217724,
-0.01220888551324606,
0.020440297201275826,
-0.00958696287125349,
0.08475767076015472,
0.003371043596416712,
-0.007847932167351246,
0.01689980924129486,
0.020529476925730705,
-0.05051214620471001,
0.012253476306796074,
-0.03667124733328819,
-0.054721493273973465,
0.006545889191329479,
-0.010906842537224293,
-0.06685011833906174,
-0.0028337277472019196,
-0.00574771873652935,
0.02818121202290058,
-0.018389131873846054,
-0.025470107793807983,
0.04377005994319916,
0.020690003409981728,
-0.03478061035275459,
0.025719814002513885,
0.018692348152399063,
-0.028734134510159492,
0.03727767989039421,
-0.02621922828257084,
0.03702797368168831,
-0.013582274317741394,
-0.008967154659330845,
-0.04558935388922691,
0.01819293387234211,
0.0073083871975541115,
0.0632472038269043,
-0.029037348926067352,
0.019530650228261948,
-0.04808642342686653,
-0.017657848075032234,
-0.02741425484418869,
-0.015909899026155472,
-0.030660444870591164,
-0.005827981512993574,
0.0314987450838089,
-0.006559266243129969,
0.050476472824811935,
0.004748891107738018,
0.026950513944029808,
-0.05336593836545944,
0.017577584832906723,
-0.031159859150648117,
0.009002827107906342,
0.039275333285331726,
-0.0239361934363842,
0.05079752579331398,
0.05825306102633476,
0.08318808674812317,
0.05315190553665161,
0.05268816277384758,
-0.00024232163559645414,
-0.06121387332677841,
0.007767669390887022,
-0.011058449745178223,
0.04480455815792084,
-0.05118992179632187,
-0.06007235497236252,
0.029073022305965424,
-0.007972786203026772,
-0.026023030281066895,
0.06995361298322678,
-0.034602247178554535,
0.06207001209259033,
0.01218213140964508,
0.023847011849284172,
-0.08283136039972305,
0.004104557912796736,
-0.00010583282710285857,
-0.04362737014889717,
-0.018817201256752014,
-0.0376700758934021,
0.010318247601389885,
0.03624317795038223,
-0.07905007898807526,
-0.012592364102602005,
0.011745144613087177,
0.05539926886558533,
0.021813685074448586,
0.00922132097184658,
0.02835957333445549,
-0.02878764271736145,
-0.027342909947037697,
0.09053660184144974,
-0.020904038101434708,
-0.006238214205950499,
0.04216479882597923,
0.031998161226511,
-0.004722136538475752,
0.05361564829945564,
0.026736479252576828,
-0.013894408009946346,
-0.009658307768404484,
-0.08482901751995087,
0.007410945370793343,
-0.05614838749170303,
-0.005016434006392956,
0.008102098479866982,
-0.0556846484541893,
0.002028868766501546,
0.016587674617767334,
0.008200197480618954,
-0.018674511462450027,
-0.0018493919633328915,
0.049192268401384354,
0.001205058884806931,
-0.020779184997081757,
0.03579727187752724,
-0.01261020079255104,
-0.04715893790125847,
-0.03419201448559761,
0.0019519502529874444,
-0.04020281881093979,
0.0007758751162327826,
-0.016373639926314354,
0.04423379898071289,
-0.002679890487343073,
-0.011638127267360687,
0.07555418461561203,
0.012931251898407936,
-0.001747948583215475,
-0.049013905227184296,
-0.018852874636650085,
-0.0077275377698242664,
0.02857360802590847,
-0.009970441460609436,
0.04184374958276749,
-0.030321557074785233,
-0.03437037765979767,
-0.005163582973182201,
-0.08868163824081421,
0.020315442234277725,
0.009426437318325043,
-0.08796818554401398,
-0.040131472051143646,
0.01862100325524807,
-0.034691426903009415,
0.006889236159622669,
0.023276254534721375,
0.0007106614648364484,
-0.0002077639801427722,
-0.034388214349746704,
0.03110635094344616,
-0.016498494893312454,
0.03462008386850357,
0.1419762372970581,
-0.007633897941559553,
0.006817891262471676,
0.027574781328439713,
-0.022901693359017372,
-0.02613004669547081,
-0.0329434797167778,
0.02127859927713871,
-0.014126278460025787,
0.03504815325140953,
0.009560208767652512,
0.037812765687704086,
0.054507456719875336,
-0.005489093717187643,
0.019191762432456017,
0.031819798052310944,
0.04908524826169014,
0.07355652749538422,
0.030000505968928337,
-0.015321304090321064,
-0.0473729744553566,
0.017069252207875252,
0.0433419905602932,
-0.03205166757106781,
0.021724503487348557,
-0.025969522073864937,
0.004323051311075687,
-0.00894931796938181,
0.00870852917432785,
-0.022687658667564392,
-0.020886201411485672,
0.036189671605825424,
0.049227938055992126,
-0.04166538640856743,
-0.01239616610109806,
-0.03586861863732338,
-0.007223665248602629,
-0.031891144812107086,
-0.028466591611504555,
-0.024257246404886246,
-0.014340313151478767,
-0.03763440251350403,
-0.011932424269616604,
-0.004534856416285038,
-0.015981243923306465,
-0.005234927404671907,
0.019316615536808968,
0.016284460201859474,
-0.0594659224152565,
0.009578044526278973,
0.022937366738915443,
0.0592162162065506,
0.0519033707678318,
0.0005545946769416332,
0.01207511406391859,
-0.002003229223191738,
0.01491107139736414,
-0.005364240147173405,
-0.011762980371713638,
0.015294549986720085,
-0.024524789303541183,
0.006273886654525995,
0.016703611239790916,
0.01355551928281784,
-0.07833663374185562,
-0.03474493697285652,
-0.03642154112458229,
-0.024007538333535194,
-0.007946031168103218,
-0.007170156575739384,
-0.0362253412604332,
-0.04109462723135948,
-0.02350812405347824,
-0.019405797123908997,
-0.01613285206258297,
0.05418640747666359,
0.018264278769493103,
-0.046873558312654495,
-0.04444783553481102,
-0.019245270639657974,
-0.0044791181571781635,
-0.015419403091073036,
-0.08425825834274292,
0.019887374714016914,
0.03813381865620613,
-0.00463295541703701,
0.020261934027075768,
-0.0005194796249270439,
-0.003306387457996607,
0.028769806027412415,
0.002615234348922968,
0.07826528698205948,
-0.03681393712759018,
0.0414513535797596,
0.054293423891067505,
0.02711103856563568,
-0.03221219405531883,
0.016409313306212425,
-0.03934668004512787,
0.005658537615090609,
-0.03909697383642197,
0.0030031718779355288,
-0.015499666333198547,
0.031463075429201126,
0.00031659271917305887,
0.025238236412405968,
0.07027466595172882,
0.006710873916745186,
-0.02643326297402382,
-0.00024106752243824303,
0.05079752579331398,
-0.058752477169036865,
0.021314270794391632,
-0.05522090569138527,
-0.04651683568954468,
0.0219207014888525,
0.010353920049965382,
0.04508993774652481,
0.01376955397427082,
0.01512510608881712,
0.03285429999232292,
0.00565407844260335,
0.023882685229182243,
0.03638586774468422,
-0.002410117769613862,
0.04487590491771698,
0.02454262413084507,
0.025291746482253075,
-0.007277173455804586,
-0.0017356862081214786,
0.036189671605825424,
0.040916264057159424,
-0.00902958121150732,
-0.0005598897696472704,
-0.052616819739341736,
-0.028555771335959435,
-0.022919530048966408,
0.0540437176823616,
-0.027485599741339684,
0.04080924764275551,
-0.03390663489699364,
-0.010523363947868347,
-0.05992966517806053,
-0.03308616951107979,
-0.019851701334118843,
0.022063391283154488,
0.04020281881093979,
0.0801202580332756,
0.033228859305381775,
0.012333739548921585,
-0.02509554661810398,
-0.03845486789941788,
-0.054293423891067505,
-0.008267083205282688,
-0.03677826374769211,
-0.02570197917521,
0.039489369839429855,
0.0014848645078018308,
0.03019670397043228,
0.07138051092624664,
0.05778932198882103,
-0.06845537573099136,
-0.007299468852579594,
-0.0004757251590490341,
-0.005176960024982691,
0.042200472205877304,
-0.009560208767652512,
0.024168064817786217,
0.0675278902053833,
-0.0473729744553566,
-0.0255771242082119,
0.04248585179448128,
-0.020101409405469894,
-0.008565839380025864,
0.055149562656879425,
-0.02637975476682186,
0.003177074948325753,
-0.007723079062998295,
-0.018959891051054,
0.07045303285121918,
-0.036528557538986206,
-0.019405797123908997,
-0.05679049342870712,
-0.06816999614238739,
0.03071395307779312,
-0.05208173394203186,
-0.00032857642509043217,
-0.04651683568954468,
0.01715843379497528,
-0.058930836617946625,
-0.045803386718034744,
0.03397798165678978,
-0.04423379898071289,
-0.030785297974944115,
-0.01005962211638689,
-0.03324669599533081,
-0.027699634432792664,
0.01631121337413788,
-0.029875651001930237,
-0.01981602981686592,
-0.051296938210725784,
-0.1016663983464241,
-0.0296081081032753,
0.05079752579331398,
0.03809814527630806,
0.026272736489772797,
0.012173213064670563,
0.06378228962421417,
-0.009560208767652512,
0.01879936456680298,
-0.018692348152399063,
-0.06542322039604187,
0.028930332511663437,
0.018692348152399063,
0.04655250906944275,
-0.005881490185856819,
-0.01085333339869976,
-0.0133236488327384,
0.03590429201722145,
0.034120671451091766,
-0.03296131640672684,
-0.01784512773156166,
0.004013147205114365,
-0.005127910524606705,
0.017479484900832176,
-0.007018548436462879,
0.012003769166767597,
-0.005819063633680344,
-0.03849054127931595,
0.0048692855052649975,
-0.029875651001930237,
-0.02179584838449955,
0.002708874410018325,
0.002341002458706498,
0.03239055722951889,
-0.024346426129341125,
0.04341333359479904,
-0.04294959455728531,
-0.036706920713186264,
-0.01844264194369316,
0.05222442373633385,
0.0317484550178051,
0.005226009525358677,
0.02720022015273571,
0.05878814682364464,
-0.0016810627421364188,
0.04783671349287033,
0.03171278163790703,
0.03264026343822479,
0.024132391437888145,
-0.018567495048046112,
0.11607805639505386,
0.008418691344559193,
-0.08119042962789536,
-0.02882331609725952,
0.0255771242082119,
-0.004298526793718338,
0.02085052989423275,
-0.03941802307963371,
-0.011120877228677273,
0.037919782102108,
0.008463281206786633,
0.01591881737112999,
0.0019463764037936926,
0.007357436697930098,
0.012235639616847038,
-0.009488863870501518,
0.024917185306549072,
-0.017238697037100792,
-0.049192268401384354,
0.01579396426677704,
-0.07305711507797241,
0.07569687813520432,
0.012280230410397053,
0.00724150100722909,
0.05696885287761688,
-0.01582963578402996,
-0.024596134200692177,
0.08140446245670319,
0.03453090414404869,
-0.03536920249462128,
0.025042038410902023,
0.021296434104442596,
0.064888134598732,
-0.02020842581987381,
0.0119680967181921,
-0.033264532685279846,
0.005038729403167963,
-0.045196954160928726,
-0.027663961052894592,
0.04016714543104172,
-0.047694023698568344,
0.026789987459778786,
-0.011004941537976265,
-0.009364009834825993,
-0.008084261789917946,
-0.003580619115382433,
-0.0556846484541893,
0.0412016436457634,
0.026290573179721832,
-0.05529225245118141,
0.019584158435463905,
0.031070677563548088,
0.04259286820888519,
-0.01566019281744957,
-0.013546601869165897,
-0.02921571210026741,
-0.015241041779518127,
0.02646893635392189,
-0.04530397430062294,
-0.011013859882950783,
0.01254777330905199,
-0.00327071500942111,
-0.0414513535797596,
-0.06956122070550919,
0.0033376007340848446,
-0.014286804012954235,
0.04166538640856743,
0.010291493497788906,
0.013038269244134426,
0.03579727187752724,
-0.0081110168248415,
0.05604137107729912,
-0.01831778697669506
]
|
29,308 | markupsafe | splitlines | Return a list of the lines in the string, breaking at line boundaries.
Line breaks are not included in the resulting list unless keepends is given and
true. | def splitlines( # type: ignore[override]
self, keepends: bool = False
) -> t.List["te.Self"]:
return [self.__class__(v) for v in super().splitlines(keepends)]
| (self, keepends: bool = False) -> List[ForwardRef('te.Self')] | [
-0.037916164845228195,
-0.02601020596921444,
-0.028964713215827942,
-0.021648792549967766,
-0.07393300533294678,
-0.020822234451770782,
0.027118146419525146,
0.037916164845228195,
0.04885487258434296,
0.01909877173602581,
0.014051491394639015,
-0.0055792685598134995,
0.0032776554580777884,
-0.018096350133419037,
-0.03781064599752426,
-0.022035691887140274,
-0.020030848681926727,
-0.05149282142519951,
-0.03267543390393257,
-0.0001988081494346261,
-0.034574758261442184,
0.06317015737295151,
0.05588940903544426,
-0.03348440304398537,
0.033150263130664825,
0.03445165231823921,
0.034750621765851974,
-0.03450441360473633,
0.03587614744901657,
-0.0036337790079414845,
-0.06985297054052353,
0.02724125050008297,
-0.03242922201752663,
-0.008287565782666206,
0.02761056460440159,
-0.026133311912417412,
-0.03232370689511299,
0.04276999458670616,
0.025887101888656616,
0.058808743953704834,
0.020910166203975677,
-0.005029695108532906,
0.04509139433503151,
-0.0023367858957499266,
-0.022405005991458893,
-0.02228190191090107,
0.07548060268163681,
0.01238078810274601,
-0.008850328624248505,
-0.05803494527935982,
0.018500836566090584,
0.009945078752934933,
-0.010428703390061855,
0.003310629865154624,
0.013013896532356739,
0.0032842501532286406,
0.047307271510362625,
0.003530459012836218,
-0.035840973258018494,
0.04843279719352722,
-0.01909877173602581,
-0.03480337932705879,
0.02507813088595867,
-0.01820186898112297,
0.04452862963080406,
-0.05089488625526428,
-0.03469786047935486,
-0.01027042604982853,
0.0009535097633488476,
0.03564752638339996,
0.02349535934627056,
-0.024321917444467545,
-0.00014096556697040796,
0.05339214950799942,
-0.00009988495730794966,
0.028788849711418152,
-0.0035348557867109776,
0.038092028349637985,
0.05110592395067215,
-0.02386467158794403,
-0.009848354384303093,
0.08673585951328278,
-0.041820332407951355,
0.0006386042223311961,
0.0039437380619347095,
-0.05103557929396629,
-0.023266736418008804,
-0.02105085738003254,
-0.03026610240340233,
0.044458284974098206,
-0.061622560024261475,
0.047623828053474426,
-0.02810298278927803,
0.004634002223610878,
-0.019872572273015976,
-0.0033392074983567,
-0.02226431481540203,
-0.037072017788887024,
-0.007465403992682695,
-0.006375050637871027,
0.026924697682261467,
0.10340771824121475,
-0.015036326833069324,
0.012794067151844501,
0.020646370947360992,
-0.009945078752934933,
-0.060215651988983154,
-0.010859569534659386,
-0.006889451295137405,
0.05307559296488762,
-0.023038113489747047,
0.05114109814167023,
-0.02316121943295002,
0.03093438409268856,
-0.0025676065124571323,
-0.01804359257221222,
-0.07175229489803314,
0.010182494297623634,
0.013875627890229225,
-0.031708184629678726,
-0.01748962141573429,
-0.004779089707881212,
-0.045689329504966736,
0.03499682992696762,
-0.01734013855457306,
-0.009320763871073723,
0.004326241090893745,
0.00552211282774806,
0.00865248218178749,
-0.07414403557777405,
0.022528110072016716,
0.017753416672348976,
-0.018817391246557236,
-0.043403103947639465,
-0.039147209376096725,
0.03956928104162216,
0.011466298252344131,
0.003398561617359519,
-0.016671856865286827,
-0.027997463941574097,
0.030635416507720947,
-0.011343193240463734,
0.03424061834812164,
0.06035634130239487,
-0.10896500200033188,
-0.009883526712656021,
0.038478925824165344,
0.03383613005280495,
-0.02991437539458275,
0.011985095217823982,
-0.023196391761302948,
0.00918886624276638,
0.0364740826189518,
0.014640633948147297,
-0.024656057357788086,
0.006942210253328085,
-0.061974287033081055,
0.03249957039952278,
0.00042014880455099046,
0.01396355964243412,
-0.06141152232885361,
-0.026309175416827202,
0.035788215696811676,
-0.00539900828152895,
0.03114541992545128,
0.06278325617313385,
-0.006656432058662176,
-0.06243152916431427,
-0.04171481356024742,
0.035260625183582306,
0.04421207681298256,
-0.011360780335962772,
0.028876781463623047,
0.02810298278927803,
-0.018711872398853302,
0.0030688175465911627,
0.003847013460472226,
0.05195006728172302,
-0.002572003286331892,
0.044810011982917786,
0.0160739216953516,
-0.05993426963686943,
-0.004761503543704748,
-0.03425820171833038,
0.0587032251060009,
0.001368437660858035,
0.012169752269983292,
-0.013207346200942993,
0.010076976381242275,
-0.016179438680410385,
0.0067531573586165905,
-0.004638398997485638,
0.0028050222899764776,
-0.03323819488286972,
-0.021349824965000153,
0.0018179885810241103,
-0.04769417271018028,
0.03313267603516579,
-0.053462494164705276,
-0.0037436934653669596,
-0.046779680997133255,
0.018623940646648407,
-0.017568759620189667,
-0.06281843036413193,
0.010551808401942253,
0.05395491048693657,
-0.039147209376096725,
-0.02669607475399971,
-0.006581690162420273,
0.02690711058676243,
0.0038294270634651184,
-0.009751629084348679,
-0.018342560157179832,
0.028525054454803467,
0.04579484835267067,
-0.06791847199201584,
0.000029694134354940616,
0.026133311912417412,
0.03061782941222191,
0.013629418797791004,
0.05360318347811699,
-0.001665207208134234,
-0.0505431592464447,
0.01406907755881548,
-0.00778635498136282,
-0.01114974357187748,
0.02122672088444233,
-0.05026178061962128,
0.02525399439036846,
-0.015159430913627148,
-0.0470258928835392,
-0.04857349023222923,
-0.04649830237030983,
-0.013945972546935081,
0.031391628086566925,
0.0700640082359314,
0.016328923404216766,
-0.028683330863714218,
-0.032446809113025665,
0.024884680286049843,
-0.08575102686882019,
0.013655798509716988,
-0.007803941145539284,
0.01227527018636465,
0.02331949584186077,
0.050121087580919266,
-0.003429337637498975,
0.02493743970990181,
0.03220060095191002,
0.051914896816015244,
0.03904169052839279,
0.01493080798536539,
0.02437467686831951,
0.018131524324417114,
0.003871194552630186,
-0.002657736651599407,
-0.021859828382730484,
-0.04685002937912941,
-0.0011716902954503894,
0.02210603840649128,
0.047131408005952835,
0.0023455789778381586,
-0.005706769414246082,
0.02138499729335308,
0.02177189663052559,
0.03591132164001465,
-0.013286485336720943,
-0.004809865728020668,
-0.015862883999943733,
0.05673355609178543,
0.05511561036109924,
-0.010384737513959408,
-0.027663324028253555,
0.03272819146513939,
-0.06063772365450859,
0.038619618862867355,
-0.07562129199504852,
-0.007984201423823833,
-0.06081358715891838,
-0.04688519984483719,
0.03893617168068886,
0.04681485518813133,
-0.007623681332916021,
-0.08582137525081635,
-0.0017960056429728866,
-0.04072997719049454,
-0.0139547660946846,
-0.04192585125565529,
-0.08047512173652649,
-0.004572450183331966,
-0.006462982390075922,
-0.008001787588000298,
0.027645736932754517,
-0.02792711928486824,
0.12549616396427155,
-0.015071499161422253,
-0.031180592253804207,
0.016918065026402473,
-0.014974773861467838,
-0.037212710827589035,
0.004968143068253994,
-0.04065963253378868,
-0.023442599922418594,
0.012978724204003811,
-0.00929438415914774,
-0.06732053309679031,
0.0065948800183832645,
-0.03242922201752663,
0.013233725912868977,
-0.048679009079933167,
-0.003976712469011545,
0.05282938480377197,
0.021349824965000153,
-0.05483422800898552,
-0.02263362891972065,
0.012073026970028877,
-0.017023583874106407,
0.08047512173652649,
-0.0007996291969902813,
0.029457131400704384,
-0.04048376902937889,
-0.01799962669610977,
-0.008955847471952438,
0.031901631504297256,
0.053743876516819,
0.05233696848154068,
0.0018289800500497222,
0.0043570175766944885,
-0.032956812530756,
0.006783933378756046,
0.02476157620549202,
-0.019942916929721832,
-0.04284033924341202,
0.014790117740631104,
-0.02013636752963066,
0.003888780949637294,
0.059512197971343994,
0.003240284277126193,
0.012415960431098938,
-0.10017183423042297,
0.02386467158794403,
-0.029580235481262207,
0.01227527018636465,
0.005355042405426502,
-0.016689443960785866,
0.057718388736248016,
0.03267543390393257,
0.056698381900787354,
0.07927925139665604,
0.09489592909812927,
0.00007625330181326717,
-0.04291068762540817,
-0.007038935087621212,
-0.0013101828517392278,
0.04227757826447487,
-0.04927694424986839,
-0.06422533839941025,
0.02017153985798359,
-0.02171913906931877,
-0.019380154088139534,
0.03346681967377663,
-0.00756212929263711,
0.03517269343137741,
-0.0006138734170235693,
0.015379260294139385,
-0.04530242830514908,
0.028577813878655434,
-0.01714668795466423,
-0.0039041689597070217,
0.013664591126143932,
-0.060919106006622314,
0.02472640387713909,
0.00477029662579298,
-0.07315920293331146,
-0.0068498821929097176,
-0.029246093705296516,
0.06348671019077301,
0.008806362748146057,
-0.012187338434159756,
0.055432163178920746,
-0.02456812560558319,
-0.026608143001794815,
0.04945280775427818,
-0.033519577234983444,
-0.025412270799279213,
0.061833593994379044,
0.029756098985671997,
-0.010859569534659386,
0.0622204951941967,
0.006542121060192585,
-0.011510264128446579,
-0.02140258438885212,
-0.04699071869254112,
0.01748962141573429,
-0.07002883404493332,
-0.026379520073533058,
0.008296359330415726,
-0.03436372056603432,
-0.01732255145907402,
-0.028894368559122086,
-0.012143372558057308,
-0.005856253672391176,
-0.009250418283045292,
0.01698841154575348,
-0.01960877701640129,
0.0004729078500531614,
0.01024404726922512,
-0.00429546507075429,
-0.007311523426324129,
-0.05251283198595047,
0.0006638845661655068,
-0.019169118255376816,
-0.0274347010999918,
-0.038830652832984924,
0.04167964309453964,
0.017243413254618645,
0.012011474929749966,
0.04583001881837845,
0.019239462912082672,
-0.010499048978090286,
-0.045196909457445145,
0.02544744312763214,
-0.014438390731811523,
0.017568759620189667,
-0.012987516820430756,
0.03181369975209236,
-0.060919106006622314,
-0.01361183263361454,
0.009865940548479557,
-0.0770985409617424,
0.04280516877770424,
-0.008014977909624577,
-0.08729862421751022,
0.0016201421385630965,
-0.002327992580831051,
-0.05318111181259155,
0.0007584111881442368,
-0.002431312343105674,
-0.0016937850741669536,
0.017208240926265717,
-0.019925331696867943,
0.010982673615217209,
-0.009241625666618347,
0.00947024766355753,
0.10727671533823013,
-0.016381682828068733,
-0.021103616803884506,
0.0019685716833919287,
-0.04273482412099838,
-0.02106844261288643,
-0.04417690262198448,
0.057577699422836304,
0.0005655109416693449,
0.006084876134991646,
-0.06788329780101776,
0.031409215182065964,
0.029035057872533798,
-0.06063772365450859,
-0.005355042405426502,
0.024638472124934196,
0.07963097840547562,
0.07843510806560516,
0.025763997808098793,
0.04343827813863754,
0.01237199455499649,
-0.032816123217344284,
0.013312864117324352,
-0.02616848424077034,
-0.017049962654709816,
-0.018184281885623932,
0.04825693368911743,
-0.042347922921180725,
-0.007236781530082226,
-0.04125756770372391,
0.0063398778438568115,
0.08307790011167526,
0.05497492104768753,
-0.06549155712127686,
-0.02546503022313118,
-0.03200715035200119,
-0.02050567977130413,
-0.048538316041231155,
-0.040765151381492615,
-0.02653779648244381,
-0.0011595997493714094,
-0.029844030737876892,
-0.012750101275742054,
-0.04667416587471962,
-0.017102722078561783,
-0.008028167299926281,
0.02507813088595867,
0.021824656054377556,
-0.07329989224672318,
0.029035057872533798,
0.028507467359304428,
0.07463645190000534,
0.051739033311605453,
-0.018536008894443512,
0.030301274731755257,
-0.037951335310935974,
-0.0016267370665445924,
-0.012073026970028877,
0.01493080798536539,
0.03612235561013222,
0.016003575176000595,
0.037775471806526184,
0.04579484835267067,
0.030019894242286682,
-0.0679888129234314,
-0.02864815853536129,
-0.002212582156062126,
0.006990572903305292,
-0.018448077142238617,
0.005355042405426502,
-0.038443755358457565,
-0.04769417271018028,
-0.05163351446390152,
0.02597503364086151,
-0.015511157922446728,
0.03234129026532173,
0.016918065026402473,
-0.00570237310603261,
-0.008177651092410088,
-0.02632676064968109,
-0.009136106818914413,
0.03038920648396015,
-0.05972323194146156,
0.040554117411375046,
0.05356801301240921,
0.005803494248539209,
0.04090584069490433,
-0.026133311912417412,
-0.006964193191379309,
-0.01892290823161602,
0.001758634694851935,
0.060743242502212524,
-0.03682580962777138,
0.032464396208524704,
0.06841088831424713,
0.0166366845369339,
0.0074258348904550076,
-0.014183389022946358,
-0.02703021466732025,
0.017911694943904877,
-0.04917142540216446,
0.029122989624738693,
0.03608718514442444,
0.012187338434159756,
-0.045689329504966736,
0.0325523279607296,
0.06327567249536514,
-0.03075852058827877,
-0.038971345871686935,
-0.005777115002274513,
0.05891426280140877,
-0.0548694021999836,
0.030195757746696472,
-0.03060024417936802,
-0.04136308655142784,
0.01457908097654581,
0.03213025629520416,
0.047447964549064636,
-0.015133051201701164,
-0.01273251511156559,
0.0073774722404778,
0.009241625666618347,
0.029984721913933754,
0.09285590797662735,
-0.015845298767089844,
0.059688061475753784,
0.02986161597073078,
0.053462494164705276,
-0.00640143034979701,
-0.005240731406956911,
0.032270945608615875,
0.03459234535694122,
-0.012240096926689148,
0.009127314202487469,
-0.07477714866399765,
-0.07723923772573471,
-0.03837340697646141,
-0.003040239680558443,
-0.0077291992492973804,
0.01712030917406082,
-0.04663899168372154,
-0.03763478249311447,
-0.05859770625829697,
-0.00645418930798769,
0.012178544886410236,
0.04291068762540817,
0.04097618907690048,
0.0980614721775055,
0.017243413254618645,
-0.0020630983635783195,
-0.0069773830473423,
-0.05814046412706375,
0.023249151185154915,
-0.01610909402370453,
-0.07143574208021164,
0.014113043434917927,
0.02191258780658245,
0.0020070418249815702,
0.017603933811187744,
0.048362452536821365,
0.034557171165943146,
-0.0735812783241272,
0.01185319758951664,
-0.04115205258131027,
-0.009408695623278618,
0.07087297737598419,
0.00838429108262062,
0.04210171476006508,
0.08849449455738068,
-0.07498817890882492,
-0.03329095616936684,
0.039885833859443665,
-0.027346769347786903,
-0.009030588902533054,
0.04150377959012985,
-0.01227527018636465,
0.04808107018470764,
-0.024181226268410683,
0.00832273904234171,
0.043754830956459045,
-0.03322060778737068,
0.006546517368406057,
-0.053849395364522934,
-0.045689329504966736,
0.043227240443229675,
-0.03060024417936802,
0.0010837586596608162,
-0.018799804151058197,
0.011914749629795551,
-0.03406475484371185,
-0.014280113391578197,
0.03573545813560486,
-0.05061350762844086,
-0.052231449633836746,
0.010736464522778988,
-0.050824541598558426,
-0.02085740678012371,
-0.031075075268745422,
-0.03213025629520416,
-0.01681254804134369,
-0.06774260848760605,
-0.09236349165439606,
-0.02725883759558201,
0.029070232063531876,
0.05286455899477005,
-0.005377025343477726,
0.010393531061708927,
0.10228219628334045,
0.0012244493700563908,
0.03374819830060005,
0.004497708287090063,
-0.003526062471792102,
0.0007705017924308777,
0.006181600969284773,
0.02812056802213192,
-0.01493080798536539,
0.011510264128446579,
-0.005812287796288729,
0.022422591224312782,
0.03429337590932846,
0.0006001340807415545,
-0.02036498859524727,
0.006335481535643339,
0.03752926364541054,
0.0414334312081337,
-0.032939229160547256,
-0.003809642279520631,
0.019714294001460075,
-0.04315689578652382,
0.0027390734758228064,
-0.037740301340818405,
-0.024321917444467545,
-0.03424061834812164,
-0.013154587708413601,
0.026819178834557533,
-0.031725767999887466,
0.0032908450812101364,
-0.009127314202487469,
-0.05142247676849365,
-0.0438251756131649,
0.019046014174818993,
0.04628726467490196,
-0.014130629599094391,
0.029808858409523964,
0.028261259198188782,
-0.019749468192458153,
0.036333393305540085,
0.02724125050008297,
0.036685120314359665,
0.039182379841804504,
0.03373061120510101,
0.1092463880777359,
-0.005284697283059359,
-0.09855388849973679,
-0.019714294001460075,
0.03661477565765381,
0.0006408024928532541,
-0.0012365400325506926,
-0.026731247082352638,
-0.00547375064343214,
0.032411638647317886,
-0.008867915719747543,
-0.003706322517246008,
0.02154327556490898,
-0.04125756770372391,
0.03130369633436203,
0.0025126494001597166,
0.031409215182065964,
0.027329182252287865,
-0.03643891215324402,
0.02208845131099224,
-0.07337024062871933,
0.07892752438783646,
-0.017225826159119606,
0.022018106654286385,
0.018676700070500374,
-0.029668167233467102,
0.02405812218785286,
0.061446696519851685,
0.022193970158696175,
-0.01782376319169998,
0.04969901591539383,
-0.023196391761302948,
0.0018718467326834798,
-0.03693132847547531,
0.007641267497092485,
0.002214780542999506,
0.002323596039786935,
-0.057014934718608856,
-0.021173961460590363,
0.03591132164001465,
-0.024673644453287125,
-0.0235129464417696,
0.004510898143053055,
-0.009215245954692364,
0.010859569534659386,
0.007087297737598419,
-0.054025258868932724,
0.04396586865186691,
0.02669607475399971,
-0.05001556873321533,
-0.0010079174535349011,
0.04315689578652382,
0.0689384788274765,
-0.012670963071286678,
-0.004222921561449766,
-0.005495733581483364,
-0.012160958722233772,
-0.0023829499259591103,
-0.03413509950041771,
0.022756733000278473,
0.029668167233467102,
0.03075852058827877,
-0.011730093508958817,
-0.024357089772820473,
-0.0038272286765277386,
0.024532953277230263,
0.01406907755881548,
-0.0010744158644229174,
0.06387361139059067,
0.008296359330415726,
-0.008182047866284847,
0.008419463410973549,
0.02938678488135338
]
|
29,309 | markupsafe | strip | Return a copy of the string with leading and trailing whitespace removed.
If chars is given and not None, remove characters in chars instead. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, chars=None, /) | [
0.0062062921933829784,
-0.09836860746145248,
0.07671604305505753,
0.03072226606309414,
0.03002321720123291,
0.04878997057676315,
-0.00002590622716525104,
-0.003313756547868252,
0.05000882223248482,
-0.015952635556459427,
0.0252732764929533,
0.0371750183403492,
0.011713535524904728,
-0.007272788323462009,
-0.013057858683168888,
0.04083157703280449,
0.020792199298739433,
-0.003916461486369371,
0.00555653590708971,
-0.007380334194749594,
0.012502205558121204,
0.006345205474644899,
0.04986542835831642,
-0.030865659937262535,
0.02331952564418316,
0.047714509069919586,
-0.0040688179433345795,
0.007985279895365238,
-0.009392337873578072,
-0.02229784056544304,
0.04412964731454849,
-0.025362897664308548,
-0.01416916586458683,
0.027495890855789185,
0.0673954039812088,
0.010252704843878746,
-0.0908403992652893,
0.038680657744407654,
-0.010682888329029083,
-0.08811590075492859,
0.027460040524601936,
-0.011471557430922985,
-0.010530531406402588,
-0.042337216436862946,
-0.024430833756923676,
0.0022808683570474386,
0.037103321403265,
0.03167225420475006,
-0.0059195030480623245,
-0.020433712750673294,
0.024215741083025932,
0.02600817196071148,
0.06997650116682053,
-0.006269027013331652,
-0.031493011862039566,
0.02498648688197136,
0.007048734463751316,
0.059186067432165146,
0.06470675766468048,
-0.034862782806158066,
-0.0287326667457819,
0.05527856945991516,
0.0021150684915483,
0.035615600645542145,
0.005466914270073175,
0.0035669375211000443,
-0.05803891271352768,
-0.005776108708232641,
-0.01751204952597618,
-0.013022010214626789,
0.00996591616421938,
-0.030148686841130257,
-0.025577988475561142,
0.004010564181953669,
-0.02288934215903282,
-0.049471091479063034,
-0.03885990008711815,
-0.021312003955245018,
0.021312003955245018,
0.015441792085766792,
0.014097468927502632,
-0.047427721321582794,
-0.04316173493862152,
0.01447387970983982,
0.016741303727030754,
-0.05642572417855263,
-0.06004643440246582,
0.008747062645852566,
-0.008612630888819695,
0.06592560559511185,
0.009186208248138428,
-0.011614952236413956,
-0.010342326015233994,
0.016938472166657448,
-0.019465800374746323,
-0.008980078622698784,
0.02426951378583908,
-0.02930624596774578,
0.05961625277996063,
-0.00374618056230247,
-0.006815718486905098,
0.03296280279755592,
-0.009374413639307022,
-0.016705455258488655,
0.028929835185408592,
-0.027137404307723045,
-0.0046244715340435505,
0.0043175178579986095,
-0.02559591270983219,
-0.017807800322771072,
0.01986013352870941,
-0.03878820315003395,
-0.0070532155223190784,
-0.02362423948943615,
0.024896865710616112,
-0.02222614362835884,
-0.017323844134807587,
-0.0028970164712518454,
0.031098676845431328,
-0.04914845526218414,
0.042982492595911026,
0.001960471272468567,
-0.053486138582229614,
-0.05570875108242035,
-0.010736661031842232,
0.06986895948648453,
-0.016454515978693962,
0.036959923803806305,
-0.0008312398567795753,
-0.00614803796634078,
0.005785070825368166,
0.08295369893312454,
0.005682006012648344,
0.017467239871621132,
0.048467330634593964,
-0.01588093861937523,
0.02288934215903282,
0.0638822391629219,
-0.049793731421232224,
0.0573577880859375,
-0.007581982761621475,
-0.003358567366376519,
0.01165976282209158,
0.04463152959942818,
0.00023441635130438954,
-0.04749941825866699,
0.04599377512931824,
-0.017377616837620735,
0.042695704847574234,
0.0056192707270383835,
0.06459920853376389,
-0.0034235429484397173,
0.0067977942526340485,
0.005453471094369888,
0.006479637697339058,
0.04936354607343674,
0.05420311167836189,
0.01791534759104252,
0.05588799715042114,
0.011614952236413956,
0.033267516642808914,
-0.01200032513588667,
0.014904063194990158,
-0.01584508828818798,
0.05000882223248482,
0.05201634392142296,
0.03127792105078697,
-0.035615600645542145,
0.056855909526348114,
0.006224216427654028,
0.031493011862039566,
-0.011991363018751144,
0.008567819371819496,
0.00962535385042429,
0.024126119911670685,
0.047033388167619705,
-0.0218676570802927,
0.04932769760489464,
-0.020128998905420303,
-0.017449315637350082,
0.010745623148977757,
-0.017798839136958122,
-0.031582631170749664,
-0.013219177722930908,
0.047356024384498596,
-0.003282389137893915,
0.05359368398785591,
-0.0005971035570837557,
-0.02762136049568653,
-0.0405089370906353,
0.008428906090557575,
0.003943347837775946,
0.02633081004023552,
-0.010521569289267063,
-0.07456512749195099,
-0.06459920853376389,
-0.03979196771979332,
-0.02805154398083687,
0.06796897947788239,
-0.009374413639307022,
-0.014384257607161999,
0.019842209294438362,
0.03681652992963791,
0.01516396552324295,
0.030883584171533585,
-0.0004999201628379524,
0.001870849751867354,
-0.003356326837092638,
-0.0741349384188652,
-0.05155031383037567,
0.014061620458960533,
-0.058540794998407364,
-0.03954102471470833,
-0.015603111125528812,
0.0030292081646621227,
0.017467239871621132,
0.04359192028641701,
0.014715857803821564,
-0.01993183232843876,
-0.029879823327064514,
0.02432328648865223,
-0.0018428430194035172,
0.0021677210461348295,
-0.035956162959337234,
0.0673954039812088,
-0.012609750963747501,
0.05828985199332237,
-0.016320083290338516,
0.03402033820748329,
0.026760993525385857,
-0.027477966621518135,
0.011516368947923183,
0.01415124163031578,
0.02260255441069603,
0.006098746322095394,
-0.07255760580301285,
0.04527680575847626,
-0.060942649841308594,
-0.004615509416908026,
-0.03982781618833542,
0.027567587792873383,
-0.012735221534967422,
0.02532704919576645,
0.008272068575024605,
0.005099466070532799,
-0.00792254414409399,
-0.0007780270534567535,
0.07779150456190109,
0.003436986356973648,
0.0019963199738413095,
-0.01787053607404232,
0.039325933903455734,
-0.0010648160241544247,
0.011014487594366074,
-0.002592303091660142,
0.028248710557818413,
-0.034862782806158066,
-0.011731460690498352,
0.004911260679364204,
0.01213475689291954,
-0.009517808444797993,
-0.010001764632761478,
-0.012260227464139462,
-0.04018630087375641,
0.04796545207500458,
-0.03445052355527878,
-0.056820061057806015,
-0.017673369497060776,
0.0007573020411655307,
0.04427304491400719,
-0.04222967103123665,
-0.014895101077854633,
0.04291079565882683,
0.01180315762758255,
-0.05316350236535072,
0.025703459978103638,
-0.009795635007321835,
-0.060870952904224396,
0.012905502691864967,
-0.04144100099802017,
0.015621035359799862,
-0.013192291371524334,
-0.009490921162068844,
-0.017933271825313568,
0.01894599385559559,
0.0168757364153862,
0.018067702651023865,
0.08359897881746292,
0.05689175799489021,
-0.035257115960121155,
-0.01951957307755947,
0.02591855078935623,
0.05793136730790138,
-0.001971673918887973,
-0.03398448973894119,
0.0029418272897601128,
-0.02297896333038807,
-0.08639516681432724,
0.013577664270997047,
-0.09930067509412766,
-0.012484281323850155,
-0.06165962293744087,
0.018282795324921608,
0.03299865126609802,
0.04187118634581566,
0.007698490750044584,
-0.05219558626413345,
0.007438588421791792,
-0.011731460690498352,
-0.01503849495202303,
-0.01657102443277836,
0.028804363682866096,
-0.08058769255876541,
0.012645600363612175,
0.009033851325511932,
0.043340981006622314,
-0.009020408615469933,
0.0036744833923876286,
0.03238922730088234,
0.03857311233878136,
0.007734339218586683,
-0.08223672956228256,
0.012564940378069878,
0.022136522457003593,
0.02934209443628788,
-0.019071465358138084,
0.026886463165283203,
-0.03100905381143093,
0.06381054222583771,
0.03502409905195236,
-0.016364894807338715,
-0.010673926211893559,
0.019412025809288025,
-0.030238309875130653,
-0.08374237269163132,
0.010243742726743221,
0.03502409905195236,
0.0020164847373962402,
-0.04172779247164726,
-0.02394687756896019,
0.02088182047009468,
0.027477966621518135,
0.004758904222398996,
0.016615834087133408,
-0.07664434611797333,
0.013156442902982235,
-0.008137635886669159,
0.004615509416908026,
0.09356489032506943,
-0.027083631604909897,
0.06585390865802765,
-0.0845310389995575,
0.032873183488845825,
0.00010712575021898374,
0.016104992479085922,
0.01623942330479622,
-0.008007684722542763,
0.05133521929383278,
-0.021813884377479553,
-0.07707452774047852,
0.05233898386359215,
-0.06230489909648895,
0.004839563276618719,
-0.0067305779084563255,
0.06015397980809212,
0.05305595323443413,
0.04348437488079071,
0.007165242452174425,
0.008339284919202328,
0.0775764063000679,
0.025129880756139755,
-0.008039052598178387,
-0.0039097401313483715,
-0.07363305985927582,
-0.02996944449841976,
-0.01498472224920988,
-0.042695704847574234,
0.025739308446645737,
-0.0404730886220932,
-0.03688822686672211,
0.033267516642808914,
-0.00025878220913000405,
0.043699465692043304,
-0.03133169189095497,
0.03428920358419418,
-0.025560064241290092,
0.013712096028029919,
0.04330512881278992,
0.012663524597883224,
-0.01950164884328842,
-0.02358839102089405,
0.019842209294438362,
-0.001336481305770576,
-0.009508846327662468,
-0.05287671089172363,
-0.028607197105884552,
0.028069468215107918,
0.01044091023504734,
0.014733782038092613,
0.02362423948943615,
0.020666727796196938,
-0.032837335020303726,
0.06338035315275192,
-0.02763928472995758,
0.047714509069919586,
0.043627768754959106,
0.0009292634204030037,
0.012125794775784016,
0.01720733754336834,
0.04215797409415245,
-0.016373855993151665,
-0.023839330300688744,
-0.02394687756896019,
-0.03911084309220314,
0.0471767820417881,
0.003262224141508341,
-0.07836508005857468,
0.003721534740179777,
-0.06510108709335327,
-0.0573219396173954,
-0.012788994237780571,
-0.03314204886555672,
-0.008227257989346981,
0.06477845460176468,
0.01332672405987978,
0.011677687056362629,
-0.011847968213260174,
-0.017270071431994438,
0.04416549578309059,
0.009047294966876507,
-0.03229960426688194,
-0.03441467508673668,
-0.047714509069919586,
-0.01887429691851139,
0.013604550622403622,
0.01714460179209709,
-0.02226199209690094,
-0.008294474333524704,
0.0539521686732769,
0.04821639135479927,
0.030507173389196396,
0.04291079565882683,
0.011874854564666748,
0.0030807405710220337,
0.04585038125514984,
-0.010602228343486786,
-0.017028093338012695,
0.06144453212618828,
0.03445052355527878,
-0.008007684722542763,
0.07822168618440628,
0.060942649841308594,
0.05151446536183357,
-0.013219177722930908,
0.0043690502643585205,
-0.048395633697509766,
0.03946932777762413,
-0.05646157264709473,
-0.036583513021469116,
0.04215797409415245,
0.030937356874346733,
-0.0036095078103244305,
-0.0049605523236095905,
0.0008480438846163452,
-0.005771627649664879,
0.012466357089579105,
-0.009347527287900448,
-0.001407058211043477,
-0.060906801372766495,
0.003793231910094619,
0.044703226536512375,
-0.04119006171822548,
-0.030614720657467842,
0.02495063841342926,
0.05499178171157837,
0.04825223982334137,
-0.02491478994488716,
-0.00725486408919096,
0.019017692655324936,
0.03065056912600994,
-0.019842209294438362,
-0.008648479357361794,
0.012018249370157719,
0.02728079818189144,
-0.04653150588274002,
0.007039772346615791,
0.0845310389995575,
0.0014731541741639376,
0.028750590980052948,
0.06628409773111343,
-0.017978081479668617,
0.10761754959821701,
0.04663905128836632,
-0.0018293998437002301,
-0.007752263452857733,
-0.03857311233878136,
-0.008657441474497318,
0.004494520369917154,
-0.04656735435128212,
-0.07470852136611938,
-0.01267248671501875,
-0.05323519930243492,
-0.014796516858041286,
0.007810517679899931,
0.06678597629070282,
-0.054525747895240784,
-0.021473322063684464,
0.02159879170358181,
-0.037963684648275375,
-0.024556303396821022,
-0.011193730868399143,
-0.02561383694410324,
0.005336963105946779,
-0.022512931376695633,
-0.018802599981427193,
-0.018408264964818954,
0.015047457069158554,
-0.009697050787508488,
-0.015450754202902317,
-0.033930715173482895,
0.03749765455722809,
0.020433712750673294,
-0.035866543650627136,
-0.03305242583155632,
0.0092937545850873,
-0.0020288077648729086,
0.06485015153884888,
0.02668929658830166,
-0.006040492095053196,
0.02331952564418316,
-0.03441467508673668,
-0.0036744833923876286,
0.01165976282209158,
-0.030130762606859207,
-0.02296103909611702,
0.06355959922075272,
-0.09915727376937866,
0.04857487604022026,
0.051084280014038086,
0.020792199298739433,
-0.004947109147906303,
0.04352022334933281,
-0.030471324920654297,
-0.028248710557818413,
0.026205340400338173,
0.004973995964974165,
0.0066588809713721275,
0.021527094766497612,
-0.04588622972369194,
-0.0101182721555233,
-0.06212565675377846,
-0.06008228287100792,
0.0336977019906044,
0.049722034484148026,
-0.014697933569550514,
0.0002363768289797008,
-0.014939911663532257,
0.016042256727814674,
-0.04825223982334137,
0.02729872241616249,
0.00964327808469534,
0.04090327396988869,
0.008415463380515575,
-0.06148038059473038,
-0.051442768424749374,
-0.017996005713939667,
0.08309710025787354,
0.02025446854531765,
-0.07994242012500763,
-0.03402033820748329,
-0.03437882289290428,
-0.008877013809978962,
0.04409379884600639,
-0.04140515252947807,
-0.04545604810118675,
0.003985918127000332,
0.03635049983859062,
-0.07972732931375504,
-0.0010603348491713405,
-0.021491246297955513,
-0.04083157703280449,
-0.01887429691851139,
-0.06248414143919945,
-0.0472843274474144,
-0.011229579336941242,
-0.016373855993151665,
0.020415788516402245,
0.03670898452401161,
-0.08904796838760376,
-0.018426189199090004,
-0.04190703481435776,
-0.018677130341529846,
0.005507243797183037,
-0.017341768369078636,
0.08130466192960739,
-0.03918254002928734,
-0.03480900824069977,
0.022100672125816345,
-0.0015515730483457446,
-0.04746356979012489,
-0.03177979961037636,
0.029879823327064514,
-0.021365776658058167,
0.019824285060167313,
0.03031000681221485,
0.002946308348327875,
0.0286251213401556,
-0.011068261228501797,
-0.02905530482530594,
-0.02665344811975956,
-0.03667313605546951,
0.05628233030438423,
0.037963684648275375,
-0.012797956354916096,
0.0004786350764334202,
0.013828604482114315,
-0.09306301176548004,
-0.016060180962085724,
0.02762136049568653,
-0.00026844453532248735,
-0.009562619030475616,
0.011767309159040451,
-0.03640427067875862,
-0.013667285442352295,
0.01364039909094572,
-0.04463152959942818,
0.023391222581267357,
-0.00253853015601635,
0.017341768369078636,
-0.02222614362835884,
-0.005112909246236086,
0.03900329768657684,
0.07058592885732651,
0.0018417227547615767,
-0.0003940547176171094,
-0.013792756013572216,
-0.007622312288731337,
0.06298602372407913,
-0.012555978260934353,
-0.021455397829413414,
0.013488042168319225,
-0.07180478423833847,
-0.08531971275806427,
0.0032958323135972023,
0.04818054288625717,
0.015128117054700851,
-0.013156442902982235,
-0.057537030428647995,
-0.00707562081515789,
-0.05535026639699936,
0.041010819375514984,
0.055135175585746765,
-0.014608311466872692,
0.021401625126600266,
-0.009679126553237438,
0.039254236966371536,
0.007819480262696743,
-0.039290085434913635,
0.007331042550504208,
-0.023086510598659515,
-0.01648140139877796,
-0.036995772272348404,
-0.03142131492495537,
0.028607197105884552,
-0.03604578599333763,
-0.017476201057434082,
-0.027191177010536194,
0.018766751512885094,
0.024807244539260864,
-0.04656735435128212,
0.03169017657637596,
-0.02426951378583908,
-0.06115774065256119,
-0.04144100099802017,
-0.02760343626141548,
-0.03194111958146095,
-0.014205015264451504,
0.0073534478433430195,
-0.03246092423796654,
0.05309180170297623,
-0.036565590649843216,
-0.04685414209961891,
-0.044057950377464294,
-0.0021755630150437355,
-0.0775764063000679,
-0.006009124685078859,
0.02220821939408779,
-0.016983283683657646,
0.014742744155228138,
-0.05707100033760071,
0.0018058741698041558,
-0.060261525213718414,
-0.011301277205348015,
-0.04925600066781044,
-0.021365776658058167,
-0.04015045240521431,
0.0024690735153853893,
-0.06796897947788239,
0.0642407238483429,
-0.03613540530204773,
-0.0038828535471111536,
0.009688088670372963,
-0.000566016067750752,
-0.03767689689993858,
0.04595792666077614,
-0.0505107045173645,
0.04194288328289986,
-0.026563825085759163,
0.030811887234449387,
0.038322173058986664,
-0.011068261228501797,
0.03739010915160179,
0.05556535720825195,
0.021007290109992027,
0.007568539585918188,
-0.05542196333408356,
0.04954278841614723,
0.009706012904644012,
0.03176187723875046,
0.004736498463898897,
-0.007084582932293415,
0.007299674674868584,
0.023570466786623,
-0.029503412544727325,
0.00879187323153019,
-0.003741699503734708,
-0.07836508005857468,
0.02057710662484169,
0.04412964731454849,
-0.017099790275096893,
0.03348260745406151,
0.031905271112918854,
-0.034540142863988876,
-0.021760111674666405,
0.011032411828637123,
-0.03131376951932907,
0.010862131603062153,
0.0014249825617298484,
-0.04212212562561035,
-0.07370475679636002,
0.018336568027734756,
0.02428743802011013,
0.020021453499794006,
0.013022010214626789,
0.10876470804214478,
0.00001843193058448378,
0.04886166751384735,
0.04409379884600639,
0.030148686841130257,
-0.023158207535743713,
-0.016320083290338516,
0.05975964665412903,
-0.05570875108242035,
0.0029888786375522614,
0.07571227848529816,
-0.024090271443128586,
0.02292519062757492,
0.06316526234149933,
-0.04330512881278992,
0.009356489405035973,
-0.05574459955096245,
0.030973205342888832,
0.0042301369830966,
-0.013102670200169086,
0.026527976617217064,
0.03344675898551941,
-0.0009903180180117488,
0.06485015153884888
]
|
29,310 | markupsafe | striptags | :meth:`unescape` the markup, remove tags, and normalize
whitespace to single spaces.
>>> Markup("Main » <em>About</em>").striptags()
'Main » About'
| def striptags(self) -> str:
""":meth:`unescape` the markup, remove tags, and normalize
whitespace to single spaces.
>>> Markup("Main »\t<em>About</em>").striptags()
'Main » About'
"""
value = str(self)
# Look for comments then tags separately. Otherwise, a comment that
# contains a tag would end early, leaving some of the comment behind.
while True:
# keep finding comment start marks
start = value.find("<!--")
if start == -1:
break
# find a comment end mark beyond the start, otherwise stop
end = value.find("-->", start)
if end == -1:
break
value = f"{value[:start]}{value[end + 3:]}"
# remove tags using the same method
while True:
start = value.find("<")
if start == -1:
break
end = value.find(">", start)
if end == -1:
break
value = f"{value[:start]}{value[end + 1:]}"
# collapse spaces
value = " ".join(value.split())
return self.__class__(value).unescape()
| (self) -> str | [
0.009379645809531212,
-0.07419446855783463,
0.08654189109802246,
-0.04297783225774765,
-0.01053378265351057,
-0.037921614944934845,
-0.011358165182173252,
-0.06536440551280975,
0.06151728704571724,
0.01862189546227455,
-0.0067233010195195675,
0.002615125849843025,
-0.043600697070360184,
0.05389632657170296,
-0.019931748509407043,
0.0032357031013816595,
-0.018603576347231865,
-0.014738135039806366,
-0.003013577777892351,
-0.0073782275430858135,
-0.02738783322274685,
0.026966482400894165,
0.04008333012461662,
-0.05081862956285477,
0.034587446600198746,
-0.01026814803481102,
-0.050049204379320145,
-0.04982937127351761,
-0.01755019649863243,
-0.01653345860540867,
-0.011156649328768253,
0.002718173898756504,
0.0591723769903183,
-0.048437077552080154,
0.033176835626363754,
-0.03500879555940628,
-0.021965226158499718,
0.007643862161785364,
0.062176793813705444,
-0.02694816328585148,
-0.03575989976525307,
-0.03444088622927666,
0.034697361290454865,
-0.001912110485136509,
0.016212865710258484,
-0.014362582936882973,
0.049169864505529404,
-0.009965874254703522,
-0.015077047981321812,
-0.025739068165421486,
0.08478320389986038,
0.09694743901491165,
-0.03378138318657875,
-0.010011672973632812,
-0.01088185515254736,
-0.013867952860891819,
0.013345844112336636,
0.026764966547489166,
0.03814145177602768,
0.04543266072869301,
0.0036272851284593344,
0.02396206371486187,
0.04096267372369766,
-0.04352742061018944,
-0.004623414482921362,
0.041292425245046616,
-0.00890333577990532,
0.006975195836275816,
-0.007602642755955458,
0.01588311232626438,
-0.039973415434360504,
-0.003487597918137908,
0.009590322151780128,
0.05089190974831581,
0.03832464665174484,
-0.04235496371984482,
0.023943744599819183,
-0.011605479754507542,
-0.06606055796146393,
-0.052101001143455505,
0.04971945285797119,
0.00938880629837513,
0.024768127128481865,
-0.027021441608667374,
0.0734250396490097,
-0.06492473930120468,
-0.04048636183142662,
-0.04675167426466942,
-0.020866049453616142,
0.008294208906590939,
0.0451761856675148,
0.015571678057312965,
-0.025757387280464172,
-0.0378483384847641,
0.02463989146053791,
0.007904917001724243,
-0.010158229619264603,
-0.014481660909950733,
0.0050607952289283276,
-0.015196125954389572,
0.05206436291337013,
0.07533027976751328,
-0.06847874075174332,
-0.03781169652938843,
-0.015461760573089123,
0.005834799259901047,
0.0104605033993721,
-0.0037372028455138206,
0.02322928048670292,
-0.06305613368749619,
-0.008459084667265415,
-0.030447211116552353,
0.03145479038357735,
-0.006622543092817068,
0.029329713433980942,
-0.0874212309718132,
-0.04656847566366196,
0.023046083748340607,
0.06181040406227112,
-0.028596928343176842,
-0.0319860577583313,
-0.008074373006820679,
-0.06899169087409973,
0.001312142820097506,
-0.04283127561211586,
0.05221091955900192,
0.02200186438858509,
0.014609898440539837,
-0.04572577401995659,
-0.013593158684670925,
-0.017183804884552956,
-0.021232441067695618,
0.02493300475180149,
-0.0127596165984869,
0.042318325489759445,
-0.07547684013843536,
0.005028735846281052,
0.01584647223353386,
0.01715632528066635,
0.061444010585546494,
0.01376719493418932,
-0.0015308333095163107,
-0.0012422993313521147,
0.07005423307418823,
-0.07664929330348969,
-0.012365744449198246,
0.03372642397880554,
0.028615249320864677,
0.05638779327273369,
-0.00990175548940897,
0.0056745028123259544,
-0.011504721827805042,
0.002338041551411152,
0.058659426867961884,
0.008866696618497372,
0.01363895833492279,
0.01706472784280777,
0.05012248456478119,
0.02625201642513275,
0.0495728962123394,
-0.013235926628112793,
0.026178738102316856,
-0.011578001081943512,
0.02044469676911831,
-0.008710979484021664,
-0.04601888731122017,
0.05521534010767937,
0.0030433470383286476,
0.030722005292773247,
0.024859726428985596,
-0.013849633745849133,
-0.0075614238157868385,
-0.04825388267636299,
0.05235747620463371,
0.0617004856467247,
0.006782840006053448,
-0.007391967345029116,
0.10911166667938232,
-0.015461760573089123,
-0.015150327235460281,
0.005211932118982077,
-0.04869355261325836,
-0.013382483273744583,
-0.033121876418590546,
0.002557877218350768,
-0.026710007339715958,
0.020609574392437935,
-0.01989510841667652,
0.01892416924238205,
-0.03759186342358589,
0.057670168578624725,
-0.03227917104959488,
-0.040999311953783035,
-0.011623799800872803,
-0.03233413025736809,
-0.011477243155241013,
-0.013098529540002346,
-0.02396206371486187,
0.021891947835683823,
-0.06371564418077469,
-0.004380679223686457,
0.02390710636973381,
0.03475232049822807,
0.018511977046728134,
0.011596320196986198,
0.009764358401298523,
-0.017385320737957954,
-0.028981640934944153,
-0.059575408697128296,
0.013245086185634136,
0.020499655976891518,
-0.025757387280464172,
-0.033268433064222336,
-0.03367146477103233,
0.03544846549630165,
-0.07914076745510101,
0.02004166506230831,
0.057816725224256516,
-0.0642285943031311,
0.0002473148924764246,
0.026728328317403793,
-0.0702374279499054,
0.0007001530029810965,
0.01410610880702734,
-0.00823924969881773,
0.005111174192279577,
0.021012606099247932,
0.04993928596377373,
0.06554760783910751,
0.029348032549023628,
0.046641755849123,
-0.047594375908374786,
0.05843959376215935,
0.0070896935649216175,
0.027552710846066475,
0.005001256708055735,
0.008207190781831741,
-0.08163223415613174,
0.006256150547415018,
-0.037958256900310516,
-0.012970292009413242,
-0.009196450002491474,
0.02449333295226097,
0.030740324407815933,
0.031088396906852722,
-0.008500304073095322,
0.029018281027674675,
0.00344179873354733,
-0.013245086185634136,
-0.006077534519135952,
0.025024602189660072,
0.0249879639595747,
-0.009210189804434776,
0.02191026695072651,
0.011632959358394146,
0.02654513157904148,
0.07159308344125748,
0.017467759549617767,
-0.0008976614335551858,
0.02474980801343918,
0.031857822090387344,
-0.09123171120882034,
-0.03975357860326767,
0.009700239636003971,
0.044663235545158386,
0.04312438890337944,
-0.03456912562251091,
-0.008037733845412731,
-0.045102909207344055,
0.0017644085455685854,
0.059575408697128296,
-0.06704981625080109,
0.013135168701410294,
-0.06507129222154617,
-0.04444340243935585,
0.01637774147093296,
-0.029109878465533257,
-0.001902950694784522,
-0.0009932669345289469,
-0.030428890138864517,
-0.030044179409742355,
-0.04909658432006836,
0.004790580831468105,
0.0009583451901562512,
0.08485648781061172,
-0.02791910246014595,
0.02121412195265293,
-0.024878045544028282,
0.0629095807671547,
0.025684108957648277,
0.0223865769803524,
-0.0029952579643577337,
-0.04066956043243408,
-0.015855632722377777,
0.06880849599838257,
-0.016359422355890274,
0.05778008699417114,
-0.0021628602407872677,
0.02894500084221363,
-0.05580156669020653,
0.006567584350705147,
-0.010854375548660755,
-0.009562842547893524,
0.016652535647153854,
-0.016194544732570648,
0.014582418836653233,
-0.026636729016900063,
0.02147059701383114,
0.01488469261676073,
-0.004891338758170605,
-0.02048133686184883,
-0.029842663556337357,
0.0030502169393002987,
0.026032181456685066,
0.007098853122442961,
0.04338086396455765,
-0.003840250661596656,
-0.026178738102316856,
0.01868601329624653,
0.028175577521324158,
0.005605804268270731,
-0.04642191901803017,
0.0007511044968850911,
0.0002435937203699723,
0.032297492027282715,
-0.042904552072286606,
-0.0361812524497509,
-0.03773842006921768,
0.09064548462629318,
0.028725165873765945,
0.012548940256237984,
-0.025684108957648277,
0.035869818180799484,
0.003146394854411483,
-0.024145260453224182,
-0.02669168822467327,
0.03594309836626053,
0.014820573851466179,
-0.07598979026079178,
-0.059428852051496506,
0.03416609391570091,
-0.006237830966711044,
0.016542617231607437,
0.026764966547489166,
-0.002983808284625411,
0.019235601648688316,
-0.038214728236198425,
-0.0038654401432722807,
0.04825388267636299,
0.02264305204153061,
0.029201475903391838,
0.023852147161960602,
0.08881352096796036,
-0.029512910172343254,
0.016451019793748856,
-0.013529039919376373,
-0.029311394318938255,
0.11050395667552948,
-0.023577352985739708,
-0.031857822090387344,
0.04913322255015373,
-0.0205912534147501,
0.032004378736019135,
-0.009301788173615932,
0.07056718319654465,
-0.011852795258164406,
0.011752037331461906,
0.04733790084719658,
-0.004309691023081541,
0.0533100962638855,
0.006448506843298674,
0.012439022772014141,
-0.07686913013458252,
-0.0558382049202919,
-0.00796903483569622,
0.02048133686184883,
0.023504074662923813,
0.013446602039039135,
-0.02997090108692646,
-0.008147651329636574,
-0.0016773903043940663,
0.06331261247396469,
0.00804231408983469,
-0.013867952860891819,
-0.00019206978322472423,
0.041145868599414825,
0.02117748185992241,
0.004992096684873104,
0.05045223608613014,
-0.0031647146679461002,
0.03275548294186592,
-0.047594375908374786,
0.015058728866279125,
0.017376160249114037,
-0.07221594452857971,
-0.04154890030622482,
0.02317432127892971,
-0.00471730250865221,
0.02522611804306507,
0.02366895042359829,
0.00926514808088541,
0.037481945008039474,
0.0823650136590004,
-0.03075864352285862,
0.0029059499502182007,
0.04235496371984482,
-0.029604507610201836,
-0.01951039582490921,
-0.021195800974965096,
0.04121914878487587,
0.01471981592476368,
-0.023485753685235977,
-0.06661014258861542,
-0.030795283615589142,
0.03847120329737663,
-0.020426377654075623,
0.011284886859357357,
0.013794674538075924,
-0.026563450694084167,
-0.019492076709866524,
-0.066500224173069,
-0.016780773177742958,
-0.05206436291337013,
-0.02147059701383114,
-0.1051546260714531,
-0.016487659886479378,
0.01711968518793583,
0.03237077221274376,
-0.01341912243515253,
0.07752864062786102,
0.04033980518579483,
-0.009865116328001022,
-0.031564708799123764,
-0.034843917936086655,
0.055874843150377274,
0.002015158301219344,
-0.017128845676779747,
-0.002631155541166663,
0.032150935381650925,
-0.02376054972410202,
0.01337332371622324,
0.05217428132891655,
0.025097880512475967,
0.04015661031007767,
0.050928547978401184,
-0.017421958968043327,
-0.065694160759449,
0.058256395161151886,
-0.023833828046917915,
0.02288120612502098,
0.02443837560713291,
0.06818562746047974,
-0.0349171981215477,
-0.008518624119460583,
0.012356584891676903,
-0.030667046085000038,
0.08309780061244965,
-0.033085234463214874,
-0.051807887852191925,
0.050928547978401184,
-0.005679082591086626,
0.03550342470407486,
-0.03350658714771271,
0.04418692737817764,
-0.00037011358654126525,
-0.039240628480911255,
-0.0035540065728127956,
-0.05745033174753189,
-0.04909658432006836,
-0.011211608536541462,
0.03942382335662842,
-0.03161966800689697,
0.0009944119956344366,
0.02209346368908882,
-0.04110923036932945,
0.015901431441307068,
-0.055178698152303696,
-0.02914651669561863,
0.031802862882614136,
-0.02147059701383114,
-0.0004485444806050509,
-0.05499550327658653,
-0.02566578984260559,
0.018979128450155258,
-0.04206185042858124,
0.010542942211031914,
0.07108013331890106,
0.0034509587567299604,
0.012722977437078953,
0.011550521478056908,
-0.01274129655212164,
-0.042611438781023026,
-0.03682243824005127,
-0.002000273671001196,
-0.020811090245842934,
-0.008372066542506218,
0.00034120294731110334,
-0.03530190885066986,
-0.04927978292107582,
-0.02029814012348652,
-0.008381227031350136,
-0.057377055287361145,
-0.004941717721521854,
0.0038288007490336895,
0.07144652307033539,
0.0389108769595623,
0.05191780626773834,
0.0378483384847641,
-0.011431443504989147,
-0.0441136471927166,
0.01868601329624653,
-0.06049139052629471,
0.0017403640085831285,
-0.03414777293801308,
0.02370559051632881,
-0.05363985151052475,
0.025702428072690964,
0.039240628480911255,
-0.0065859039314091206,
0.009507883340120316,
-0.03563166409730911,
0.0018617315217852592,
-0.09159810841083527,
0.03251732885837555,
-0.04462659731507301,
-0.053566571325063705,
-0.009498723782598972,
0.03211429715156555,
-0.014893852174282074,
0.008372066542506218,
-0.013703077100217342,
-0.02489636465907097,
-0.041292425245046616,
-0.07987354695796967,
0.01000251341611147,
-0.01082689594477415,
-0.05569164827466011,
-0.03343331068754196,
0.039094071835279465,
0.015077047981321812,
0.01164211891591549,
0.007579743396490812,
-0.03110671602189541,
-0.002393000526353717,
0.026783285662531853,
-0.0006171422428451478,
-0.044919710606336594,
0.07965371012687683,
-0.011339845135807991,
0.054885584861040115,
-0.07426774501800537,
-0.000991549459286034,
-0.027259595692157745,
-0.020371418446302414,
0.06672006100416183,
-0.058952540159225464,
-0.03632780909538269,
0.07518372684717178,
-0.007469825446605682,
0.06726965308189392,
-0.03306691721081734,
0.010552101768553257,
0.00843618530780077,
0.008207190781831741,
-0.029751064255833626,
0.03427601233124733,
0.005056215450167656,
-0.024914685636758804,
-0.0328470803797245,
-0.007030154578387737,
0.0017884530825540423,
-0.0027250435668975115,
0.05975860357284546,
0.007108013145625591,
0.005834799259901047,
0.008885016664862633,
0.011935233138501644,
0.016789933666586876,
0.04052300378680229,
0.05279714986681938,
-0.0029311394318938255,
0.02106756530702114,
0.009123171679675579,
0.009617800824344158,
-0.016002189368009567,
0.013922912068665028,
-0.028871722519397736,
0.01749523915350437,
0.023595672100782394,
0.03843456506729126,
0.02103092521429062,
-0.030520489439368248,
-0.005921817384660244,
-0.02009662427008152,
0.032297492027282715,
-0.05891590192914009,
0.05118502303957939,
0.0111932884901762,
-0.02782750502228737,
0.006283630151301622,
0.04121914878487587,
-0.007144652307033539,
0.019547035917639732,
0.009228508919477463,
0.0035562964621931314,
0.0013819864252582192,
0.04268471896648407,
0.008958294987678528,
-0.009352166205644608,
0.036346130073070526,
-0.00334333092905581,
0.030099138617515564,
0.028138937428593636,
0.03204101696610451,
-0.018997447565197945,
0.033323392271995544,
-0.04088939353823662,
-0.013803835026919842,
-0.003272342262789607,
-0.013226766139268875,
0.018740972504019737,
-0.020169902592897415,
-0.07184955477714539,
0.005724881775677204,
0.04455331712961197,
-0.009865116328001022,
0.016075467690825462,
-0.0021330909803509712,
-0.014655697159469128,
-0.012301625683903694,
0.028432052582502365,
-0.0372437909245491,
0.02586730569601059,
-0.01814558543264866,
-0.020408058539032936,
0.09599481523036957,
-0.04268471896648407,
0.05056215450167656,
-0.05111174285411835,
0.006746200378984213,
0.07672257721424103,
0.0015812122728675604,
-0.04766765609383583,
0.016808252781629562,
-0.02753438986837864,
-0.03773842006921768,
-0.020371418446302414,
-0.015461760573089123,
-0.03447752818465233,
-0.04462659731507301,
0.02680160664021969,
0.012924492359161377,
0.040413085371255875,
-0.04458995908498764,
-0.04473651573061943,
0.0738280713558197,
-0.016047988086938858,
-0.00834000762552023,
-0.0020575225353240967,
-0.009654439985752106,
0.023504074662923813,
-0.02586730569601059,
-0.008514043875038624,
0.01584647223353386,
0.04059628024697304,
-0.014591578394174576,
-0.024456694722175598,
0.06115089729428291,
0.015406801365315914,
-0.02015158347785473,
0.0009663600358180702,
0.07020078599452972,
-0.0778217539191246,
-0.029567869380116463,
-0.04642191901803017,
-0.025830665603280067,
0.05935557186603546,
0.00287847057916224,
-0.05832967534661293,
0.004463117569684982,
0.007126332726329565,
0.009480403736233711,
-0.010955133475363255,
-0.029787704348564148,
-0.01759599708020687,
-0.026929844170808792,
-0.06858865916728973,
-0.0027960322331637144,
-0.0012651988072320819,
0.0010768502252176404,
-0.06294621527194977,
-0.050195761024951935,
-0.027516070753335953,
-0.022130101919174194,
0.06763604283332825,
-0.0382513701915741,
0.008747619576752186,
-0.033763062208890915,
0.06518121063709259,
-0.06367900222539902,
0.004712722729891539,
0.028432052582502365,
0.008257569745182991,
-0.034587446600198746,
0.046971507370471954,
0.008509463630616665,
0.023778868839144707,
0.006764519959688187,
-0.023101042956113815,
0.03729875013232231,
-0.004325720481574535,
0.020866049453616142,
-0.013950391672551632,
0.041878655552864075,
0.043783895671367645,
-0.056204598397016525,
-0.024859726428985596,
-0.030795283615589142,
0.045542579144239426,
0.008472824469208717,
-0.03740866482257843,
0.0012766486033797264,
-0.02782750502228737,
-0.021232441067695618,
0.01227414608001709,
0.02068285271525383,
0.024291817098855972,
0.03964366018772125,
-0.010185709223151207,
-0.013235926628112793,
-0.05671754851937294,
0.02709471993148327,
-0.015864791348576546,
-0.010542942211031914,
-0.024071982130408287,
-0.07221594452857971,
-0.022276658564805984,
-0.013016090728342533,
-0.0007963310345076025,
0.008779678493738174,
0.05653434991836548,
-0.017128845676779747,
-0.030831921845674515,
0.005477566737681627,
0.07474405318498611,
-0.08558926731348038,
0.01274129655212164,
-0.022991124540567398,
-0.033469948917627335,
-0.03193109855055809,
0.007955295965075493,
0.07899420708417892,
-0.04272135719656944,
-0.05554509162902832,
0.04898666590452194,
0.03314019367098808,
0.04777757078409195,
0.022185061126947403,
-0.0617004856467247,
0.006494305562227964,
0.03535686805844307,
-0.0018995157442986965,
0.0447731539607048,
-0.007341588381677866,
-0.008775098249316216,
0.028615249320864677,
-0.023998703807592392,
0.00018734675541054457
]
|
29,311 | markupsafe | swapcase | Convert uppercase characters to lowercase and lowercase characters to uppercase. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.006143601145595312,
-0.09844101220369339,
0.0767165943980217,
0.030740411952137947,
0.03000550903379917,
0.04868277534842491,
-0.00006221040530363098,
-0.0033518699929118156,
0.04997333511710167,
-0.016015484929084778,
0.025255532935261726,
0.03717528656125069,
0.011731544509530067,
-0.007277322001755238,
-0.0130489906296134,
0.04086771979928017,
0.020792348310351372,
-0.003914249129593372,
0.00560138700529933,
-0.0073759062215685844,
0.012529182247817516,
0.006363175809383392,
0.049865785986185074,
-0.030883807688951492,
0.02328384481370449,
0.04771485552191734,
-0.004104696214199066,
0.008030148223042488,
-0.00948202796280384,
-0.022298000752925873,
0.04416581615805626,
-0.025363080203533173,
-0.014196154661476612,
0.027496088296175003,
0.0673958882689476,
0.01025277841836214,
-0.09084105491638184,
0.03868093714118004,
-0.010674002580344677,
-0.08804483711719513,
0.027478164061903954,
-0.011471640318632126,
-0.010458909906446934,
-0.04237337037920952,
-0.024431008845567703,
0.0022674414794892073,
0.03717528656125069,
0.031726256012916565,
-0.005924026947468519,
-0.020415935665369034,
0.02421591617166996,
0.02600836008787155,
0.06990531086921692,
-0.006318364292383194,
-0.03149323910474777,
0.025004591792821884,
0.007008455228060484,
0.059043098241090775,
0.06485062092542648,
-0.03495265543460846,
-0.028732875362038612,
0.055243119597435,
0.0021778191439807415,
0.03565170615911484,
0.005484878085553646,
0.003580406541004777,
-0.05803932994604111,
-0.005771669093519449,
-0.01751217618584633,
-0.01303106639534235,
0.00997494999319315,
-0.030148904770612717,
-0.025631947442889214,
0.00397698488086462,
-0.02297912910580635,
-0.04943560063838959,
-0.03889603167772293,
-0.021276308223605156,
0.021276308223605156,
0.015459828078746796,
0.014070684090256691,
-0.04746391251683235,
-0.04312619939446449,
0.014509832486510277,
0.016723500564694405,
-0.05642613023519516,
-0.06001101806759834,
0.00874712597578764,
-0.00857236236333847,
0.06592608243227005,
0.009204198606312275,
-0.011704658158123493,
-0.010351362638175488,
0.01690274477005005,
-0.019448015838861465,
-0.008998068049550056,
0.02423384040594101,
-0.029342304915189743,
0.05954498425126076,
-0.003759650979191065,
-0.006833692081272602,
0.032909270375967026,
-0.009320707991719246,
-0.016678689047694206,
0.028930043801665306,
-0.027137599885463715,
-0.004606580827385187,
0.004357879050076008,
-0.025614023208618164,
-0.01779896765947342,
0.019824428483843803,
-0.03871678560972214,
-0.007066709920763969,
-0.023660259321331978,
0.02486119605600834,
-0.022208379581570625,
-0.017252271994948387,
-0.0029127211309969425,
0.031116824597120285,
-0.049184657633304596,
0.0429828017950058,
0.00193359877448529,
-0.05345067381858826,
-0.05574500188231468,
-0.010772587731480598,
0.06986945867538452,
-0.01652633212506771,
0.0368526466190815,
-0.0008424486150033772,
-0.006170487962663174,
0.005749263800680637,
0.0829543024301529,
0.005682046990841627,
0.01751217618584633,
0.04853937774896622,
-0.015845203772187233,
0.022889507934451103,
0.06388270109891891,
-0.049794089049100876,
0.05739405006170273,
-0.007599961943924427,
-0.0034123649820685387,
0.011677771806716919,
0.044667698442935944,
0.00029855393222533166,
-0.04749976098537445,
0.0459941104054451,
-0.017386704683303833,
0.042731862515211105,
0.005659641232341528,
0.06459967792034149,
-0.00341460551135242,
0.006770956330001354,
0.005480397026985884,
0.0065289768390357494,
0.04936390370130539,
0.05423935130238533,
0.017951324582099915,
0.05581670254468918,
0.011659846641123295,
0.033267758786678314,
-0.012036260217428207,
0.014841434545814991,
-0.015836240723729134,
0.05000918358564377,
0.0520167201757431,
0.03127814456820488,
-0.03559793531894684,
0.05692801624536514,
0.0062242611311376095,
0.03149323910474777,
-0.01197352446615696,
0.00859476812183857,
0.009598536416888237,
0.024090444669127464,
0.047069575637578964,
-0.021921588107943535,
0.04932805523276329,
-0.020129144191741943,
-0.01751217618584633,
0.010656078346073627,
-0.01780792884528637,
-0.03154700994491577,
-0.013264084234833717,
0.047392215579748154,
-0.003266728948801756,
0.05362991988658905,
-0.0005987882614135742,
-0.027657408267259598,
-0.04050923138856888,
0.008384156040847301,
0.0039433762431144714,
0.02633100003004074,
-0.010485796257853508,
-0.07449396699666977,
-0.06459967792034149,
-0.0397922545671463,
-0.028051745146512985,
0.06811286509037018,
-0.009338632225990295,
-0.01439332403242588,
0.019860276952385902,
0.0368526466190815,
0.015137188136577606,
0.03093758039176464,
-0.00047135670320130885,
0.0019089527195319533,
-0.0033765160478651524,
-0.07406377792358398,
-0.05155068263411522,
0.014070684090256691,
-0.05846951901912689,
-0.03957716003060341,
-0.01563907228410244,
0.003029230050742626,
0.01751217618584633,
0.04359223321080208,
0.014689077623188496,
-0.0199140515178442,
-0.029897963628172874,
0.02426968887448311,
-0.0018137290608137846,
0.002162135438993573,
-0.035992272198200226,
0.0673958882689476,
-0.012573993764817715,
0.0582902729511261,
-0.01627538911998272,
0.03402058407664299,
0.026814959943294525,
-0.027478164061903954,
0.011534376069903374,
0.014124457724392414,
0.022602716460824013,
0.006045016925781965,
-0.07252227514982224,
0.045205432921648026,
-0.06094308942556381,
-0.0046110618859529495,
-0.0398281030356884,
0.027496088296175003,
-0.012744275853037834,
0.025309307500720024,
0.008231798186898232,
0.0051039839163422585,
-0.007998780347406864,
-0.0007438641623593867,
0.07779206335544586,
0.0034706194419413805,
0.0019929734990000725,
-0.017843779176473618,
0.03932621702551842,
-0.0010743460152298212,
0.010978718288242817,
-0.0026147274766117334,
0.02821306511759758,
-0.03486303240060806,
-0.011668809689581394,
0.0049202581867575645,
0.01210795808583498,
-0.009508914314210415,
-0.009983912110328674,
-0.0122782401740551,
-0.04018659144639969,
0.04792994633316994,
-0.03441492095589638,
-0.05678461864590645,
-0.01773623190820217,
0.0007690704078413546,
0.044273361563682556,
-0.04233752191066742,
-0.01488624606281519,
0.0429111048579216,
0.011874940246343613,
-0.053199734538793564,
0.02573949284851551,
-0.00980466790497303,
-0.060835544019937515,
0.012842860072851181,
-0.041548848152160645,
0.015594261698424816,
-0.01320134848356247,
-0.009473065845668316,
-0.017915476113557816,
0.01901782862842083,
0.0168937835842371,
0.01809472031891346,
0.08359958231449127,
0.05696386471390724,
-0.03516774624586105,
-0.019483864307403564,
0.025936661288142204,
0.05793178454041481,
-0.0019940936472266912,
-0.03405643254518509,
0.002872391138225794,
-0.02297912910580635,
-0.08632409572601318,
0.013541912660002708,
-0.09930139034986496,
-0.012484371662139893,
-0.06158836930990219,
0.018327737227082253,
0.032927192747592926,
0.041871488094329834,
0.007685102988034487,
-0.0521601140499115,
0.007438641972839832,
-0.011695696040987968,
-0.015074452385306358,
-0.016606992110610008,
0.028750799596309662,
-0.08065997064113617,
0.012690502218902111,
0.009020473808050156,
0.04334129020571709,
-0.00906528439372778,
0.0036812315229326487,
0.03242531046271324,
0.03853754326701164,
0.007729914039373398,
-0.08216562867164612,
0.01256503164768219,
0.022154605016112328,
0.029324380680918694,
-0.01905367709696293,
0.026886656880378723,
-0.03093758039176464,
0.06381099671125412,
0.03498850390315056,
-0.01628435216844082,
-0.010691927745938301,
0.01935839280486107,
-0.030202679336071014,
-0.08367127925157547,
0.010225892066955566,
0.03502435237169266,
0.0020400250796228647,
-0.04172809049487114,
-0.02396497316658497,
0.02084612101316452,
0.027531936764717102,
0.004767900798469782,
0.016606992110610008,
-0.0766448974609375,
0.013138613663613796,
-0.008088402450084686,
0.004682759288698435,
0.09356556832790375,
-0.027047976851463318,
0.06592608243227005,
-0.08453164994716644,
0.032909270375967026,
0.0001055861430359073,
0.016123032197356224,
0.01625746488571167,
-0.008030148223042488,
0.05140728875994682,
-0.02181404083967209,
-0.07707508653402328,
0.05237520858645439,
-0.062377046793699265,
0.004812711849808693,
-0.006690296810120344,
0.06011856719851494,
0.05305633693933487,
0.04341299086809158,
0.007116002030670643,
0.008339344523847103,
0.07764866948127747,
0.02509421296417713,
-0.008065997622907162,
-0.0038716786075383425,
-0.0736335888504982,
-0.029969660565257072,
-0.014913132414221764,
-0.04266016185283661,
0.02573949284851551,
-0.04043753445148468,
-0.036960192024707794,
0.03330360725522041,
-0.0002761483774520457,
0.043699782341718674,
-0.03133191913366318,
0.03432529792189598,
-0.025578172877430916,
0.013774930499494076,
0.04334129020571709,
0.01273531373590231,
-0.019555561244487762,
-0.02360648475587368,
0.019860276952385902,
-0.0013152057072147727,
-0.00948202796280384,
-0.052877094596624374,
-0.028607403859496117,
0.028033820912241936,
0.01040513627231121,
0.014671152457594872,
0.023660259321331978,
0.020666876807808876,
-0.03287341818213463,
0.06338081508874893,
-0.027675332501530647,
0.04771485552191734,
0.04362808167934418,
0.0009186274837702513,
0.012063146568834782,
0.017234347760677338,
0.042158279567956924,
-0.016365012153983116,
-0.023839503526687622,
-0.02392912469804287,
-0.03903942555189133,
0.04717712104320526,
0.00326224765740335,
-0.07843734323978424,
0.0036969154607504606,
-0.06502985954284668,
-0.05725065618753433,
-0.012815973721444607,
-0.03312436118721962,
-0.008263166062533855,
0.06485062092542648,
0.01333578210324049,
0.011668809689581394,
-0.011857016012072563,
-0.017270196229219437,
0.04423751309514046,
0.009069765917956829,
-0.032335687428712845,
-0.03432529792189598,
-0.04771485552191734,
-0.018856508657336235,
0.013631535694003105,
0.01711783930659294,
-0.022226303815841675,
-0.008281090296804905,
0.05395255982875824,
0.04825258627533913,
0.030489468947052956,
0.0428752563893795,
0.011874940246343613,
0.0030762816313654184,
0.045850712805986404,
-0.010611267760396004,
-0.017028216272592545,
0.061409126967191696,
0.034504543989896774,
-0.007976374588906765,
0.07822224497795105,
0.06094308942556381,
0.05151483416557312,
-0.013210310600697994,
0.00437356298789382,
-0.04843183234333992,
0.03950546309351921,
-0.05642613023519516,
-0.03653000667691231,
0.042158279567956924,
0.03100927732884884,
-0.0035692036617547274,
-0.004906815011054277,
0.0008648541406728327,
-0.0057627069763839245,
0.012457484379410744,
-0.009293821640312672,
-0.0013947453116998076,
-0.06090724095702171,
0.0037574104499071836,
0.04477524757385254,
-0.04115451127290726,
-0.03065078891813755,
0.025004591792821884,
0.05495632812380791,
0.048288438469171524,
-0.024950817227363586,
-0.007277322001755238,
0.01901782862842083,
0.0306328646838665,
-0.019770655781030655,
-0.008711276575922966,
0.012072109617292881,
0.027209296822547913,
-0.04653184115886688,
0.0070039741694927216,
0.08460334688425064,
0.00149669055826962,
0.028732875362038612,
0.06624872237443924,
-0.017933400347828865,
0.10761832445859909,
0.04656768962740898,
-0.0018260522047057748,
-0.007788168266415596,
-0.03857339173555374,
-0.008756088092923164,
0.004487831145524979,
-0.04663938656449318,
-0.07478075474500656,
-0.012645691633224487,
-0.05323558300733566,
-0.014724926091730595,
0.007810574024915695,
0.06678646057844162,
-0.05449029058218002,
-0.02143762819468975,
0.021652720868587494,
-0.03792811185121536,
-0.0245564803481102,
-0.011140038259327412,
-0.025685720145702362,
0.005341482814401388,
-0.022566867992281914,
-0.018820660188794136,
-0.01840839721262455,
0.015047566033899784,
-0.009715045802295208,
-0.015450865961611271,
-0.033895112574100494,
0.037497926503419876,
0.020415935665369034,
-0.03586680069565773,
-0.032963041216135025,
0.00932967010885477,
-0.002109482418745756,
0.06485062092542648,
0.026743261143565178,
-0.006067422218620777,
0.023373467847704887,
-0.03441492095589638,
-0.00359833100810647,
0.011695696040987968,
-0.030184753239154816,
-0.022925356402993202,
0.06363175809383392,
-0.09915798902511597,
0.048611078411340714,
0.05112049728631973,
0.020792348310351372,
-0.004933701828122139,
0.04359223321080208,
-0.030471544712781906,
-0.028320612385869026,
0.02608005702495575,
0.004888890311121941,
0.00674406997859478,
0.021527251228690147,
-0.045779015868902206,
-0.010145232081413269,
-0.062054406851530075,
-0.06004686653614044,
0.0337517186999321,
0.049794089049100876,
-0.01473388820886612,
0.00020921180839650333,
-0.014966906048357487,
0.016042372211813927,
-0.048288438469171524,
0.02728099562227726,
0.009562687948346138,
0.04086771979928017,
0.00844689179211855,
-0.061480823904275894,
-0.05144313722848892,
-0.018005099147558212,
0.08302599936723709,
0.02027253992855549,
-0.0798712968826294,
-0.03402058407664299,
-0.03437907248735428,
-0.00891292653977871,
0.04405827075242996,
-0.04136960208415985,
-0.045492224395275116,
0.003970263060182333,
0.036350760608911514,
-0.079727903008461,
-0.0009964867495000362,
-0.0214555524289608,
-0.04079602286219597,
-0.018874432891607285,
-0.06255628913640976,
-0.04724881798028946,
-0.011256547644734383,
-0.016365012153983116,
0.02050555683672428,
0.036655474454164505,
-0.0890486091375351,
-0.018480096012353897,
-0.041835639625787735,
-0.018748963251709938,
0.005484878085553646,
-0.017377743497490883,
0.08130525052547455,
-0.039111122488975525,
-0.03486303240060806,
0.02210083231329918,
-0.0015381408156827092,
-0.047392215579748154,
-0.031762104481458664,
0.029897963628172874,
-0.021312156692147255,
0.019716881215572357,
0.03031022474169731,
0.0029463295359164476,
0.028625328093767166,
-0.011068340390920639,
-0.029037589207291603,
-0.026581941172480583,
-0.036673400551080704,
0.056282736361026764,
0.03796396031975746,
-0.01273531373590231,
0.00041590299224480987,
0.013837666250765324,
-0.09306368231773376,
-0.016033409163355827,
0.027657408267259598,
-0.0002782488882075995,
-0.00967023428529501,
0.01180324237793684,
-0.03644038364291191,
-0.013685308396816254,
0.013631535694003105,
-0.044667698442935944,
0.023427240550518036,
-0.0025273459032177925,
0.017315007746219635,
-0.022226303815841675,
-0.0051487949676811695,
0.03903942555189133,
0.0705147385597229,
0.001902231015264988,
-0.0004537123313639313,
-0.013846628367900848,
-0.007626848295331001,
0.06298647820949554,
-0.012636728584766388,
-0.021365931257605553,
0.013452290557324886,
-0.07180529832839966,
-0.08539202064275742,
0.0033608321100473404,
0.04814504086971283,
0.015280583873391151,
-0.01316550001502037,
-0.05757329612970352,
-0.007174256257712841,
-0.055350665003061295,
0.04104696214199066,
0.055063873529434204,
-0.014617379754781723,
0.021365931257605553,
-0.009706083685159683,
0.03929036855697632,
0.007841941900551319,
-0.03932621702551842,
0.007322133053094149,
-0.02303290367126465,
-0.016463596373796463,
-0.03706773743033409,
-0.031421538442373276,
0.028589479625225067,
-0.036046046763658524,
-0.01746736466884613,
-0.027191372588276863,
0.018802735954523087,
0.02486119605600834,
-0.04653184115886688,
0.031726256012916565,
-0.024323463439941406,
-0.061158183962106705,
-0.04140545055270195,
-0.0275857113301754,
-0.03194135054945946,
-0.014205117709934711,
0.007398311980068684,
-0.03251492977142334,
0.05305633693933487,
-0.03653000667691231,
-0.04685448110103607,
-0.04405827075242996,
-0.002231592545285821,
-0.07750526815652847,
-0.005955394823104143,
0.022244228050112724,
-0.016947556287050247,
0.014724926091730595,
-0.057143110781908035,
0.0017554747173562646,
-0.060226112604141235,
-0.011390980333089828,
-0.049220506101846695,
-0.021348005160689354,
-0.04015074297785759,
0.0024690914433449507,
-0.06804116815328598,
0.0642411857843399,
-0.03613566607236862,
-0.0039209709502756596,
0.009679196402430534,
-0.0005279307370074093,
-0.03767716884613037,
0.0459941104054451,
-0.050439368933439255,
0.04197903349995613,
-0.026564016938209534,
0.030830033123493195,
0.03832244873046875,
-0.011086264625191689,
0.03739037737250328,
0.05552991107106209,
0.021007440984249115,
0.007546188309788704,
-0.055350665003061295,
0.04961484670639038,
0.00967023428529501,
0.031690407544374466,
0.004785825032740831,
-0.007075672037899494,
0.007326614111661911,
0.02357063628733158,
-0.029593247920274734,
0.008814342319965363,
-0.0037372454535216093,
-0.07836564630270004,
0.02054140716791153,
0.04416581615805626,
-0.01713576354086399,
0.03348284959793091,
0.03188757598400116,
-0.03445076942443848,
-0.02179611660540104,
0.01105041615664959,
-0.03133191913366318,
0.010871171951293945,
0.0013824222842231393,
-0.04205073043704033,
-0.073705293238163,
0.018282927572727203,
0.02426968887448311,
0.019985748454928398,
0.012977293692529202,
0.10876549035310745,
0.00006154523725854233,
0.048862017691135406,
0.04405827075242996,
0.030184753239154816,
-0.023176299408078194,
-0.01628435216844082,
0.05972422659397125,
-0.055637456476688385,
0.003029230050742626,
0.07571282982826233,
-0.024108368903398514,
0.022889507934451103,
0.06320156902074814,
-0.04334129020571709,
0.009320707991719246,
-0.05574500188231468,
0.03100927732884884,
0.004218964837491512,
-0.013111726380884647,
0.026528168469667435,
0.03348284959793091,
-0.0009858440607786179,
0.06485062092542648
]
|
29,312 | markupsafe | title | Return a version of the string where each word is titlecased.
More specifically, words start with uppercased characters and all remaining
cased characters have lower case. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.006143601145595312,
-0.09844101220369339,
0.0767165943980217,
0.030740411952137947,
0.03000550903379917,
0.04868277534842491,
-0.00006221040530363098,
-0.0033518699929118156,
0.04997333511710167,
-0.016015484929084778,
0.025255532935261726,
0.03717528656125069,
0.011731544509530067,
-0.007277322001755238,
-0.0130489906296134,
0.04086771979928017,
0.020792348310351372,
-0.003914249129593372,
0.00560138700529933,
-0.0073759062215685844,
0.012529182247817516,
0.006363175809383392,
0.049865785986185074,
-0.030883807688951492,
0.02328384481370449,
0.04771485552191734,
-0.004104696214199066,
0.008030148223042488,
-0.00948202796280384,
-0.022298000752925873,
0.04416581615805626,
-0.025363080203533173,
-0.014196154661476612,
0.027496088296175003,
0.0673958882689476,
0.01025277841836214,
-0.09084105491638184,
0.03868093714118004,
-0.010674002580344677,
-0.08804483711719513,
0.027478164061903954,
-0.011471640318632126,
-0.010458909906446934,
-0.04237337037920952,
-0.024431008845567703,
0.0022674414794892073,
0.03717528656125069,
0.031726256012916565,
-0.005924026947468519,
-0.020415935665369034,
0.02421591617166996,
0.02600836008787155,
0.06990531086921692,
-0.006318364292383194,
-0.03149323910474777,
0.025004591792821884,
0.007008455228060484,
0.059043098241090775,
0.06485062092542648,
-0.03495265543460846,
-0.028732875362038612,
0.055243119597435,
0.0021778191439807415,
0.03565170615911484,
0.005484878085553646,
0.003580406541004777,
-0.05803932994604111,
-0.005771669093519449,
-0.01751217618584633,
-0.01303106639534235,
0.00997494999319315,
-0.030148904770612717,
-0.025631947442889214,
0.00397698488086462,
-0.02297912910580635,
-0.04943560063838959,
-0.03889603167772293,
-0.021276308223605156,
0.021276308223605156,
0.015459828078746796,
0.014070684090256691,
-0.04746391251683235,
-0.04312619939446449,
0.014509832486510277,
0.016723500564694405,
-0.05642613023519516,
-0.06001101806759834,
0.00874712597578764,
-0.00857236236333847,
0.06592608243227005,
0.009204198606312275,
-0.011704658158123493,
-0.010351362638175488,
0.01690274477005005,
-0.019448015838861465,
-0.008998068049550056,
0.02423384040594101,
-0.029342304915189743,
0.05954498425126076,
-0.003759650979191065,
-0.006833692081272602,
0.032909270375967026,
-0.009320707991719246,
-0.016678689047694206,
0.028930043801665306,
-0.027137599885463715,
-0.004606580827385187,
0.004357879050076008,
-0.025614023208618164,
-0.01779896765947342,
0.019824428483843803,
-0.03871678560972214,
-0.007066709920763969,
-0.023660259321331978,
0.02486119605600834,
-0.022208379581570625,
-0.017252271994948387,
-0.0029127211309969425,
0.031116824597120285,
-0.049184657633304596,
0.0429828017950058,
0.00193359877448529,
-0.05345067381858826,
-0.05574500188231468,
-0.010772587731480598,
0.06986945867538452,
-0.01652633212506771,
0.0368526466190815,
-0.0008424486150033772,
-0.006170487962663174,
0.005749263800680637,
0.0829543024301529,
0.005682046990841627,
0.01751217618584633,
0.04853937774896622,
-0.015845203772187233,
0.022889507934451103,
0.06388270109891891,
-0.049794089049100876,
0.05739405006170273,
-0.007599961943924427,
-0.0034123649820685387,
0.011677771806716919,
0.044667698442935944,
0.00029855393222533166,
-0.04749976098537445,
0.0459941104054451,
-0.017386704683303833,
0.042731862515211105,
0.005659641232341528,
0.06459967792034149,
-0.00341460551135242,
0.006770956330001354,
0.005480397026985884,
0.0065289768390357494,
0.04936390370130539,
0.05423935130238533,
0.017951324582099915,
0.05581670254468918,
0.011659846641123295,
0.033267758786678314,
-0.012036260217428207,
0.014841434545814991,
-0.015836240723729134,
0.05000918358564377,
0.0520167201757431,
0.03127814456820488,
-0.03559793531894684,
0.05692801624536514,
0.0062242611311376095,
0.03149323910474777,
-0.01197352446615696,
0.00859476812183857,
0.009598536416888237,
0.024090444669127464,
0.047069575637578964,
-0.021921588107943535,
0.04932805523276329,
-0.020129144191741943,
-0.01751217618584633,
0.010656078346073627,
-0.01780792884528637,
-0.03154700994491577,
-0.013264084234833717,
0.047392215579748154,
-0.003266728948801756,
0.05362991988658905,
-0.0005987882614135742,
-0.027657408267259598,
-0.04050923138856888,
0.008384156040847301,
0.0039433762431144714,
0.02633100003004074,
-0.010485796257853508,
-0.07449396699666977,
-0.06459967792034149,
-0.0397922545671463,
-0.028051745146512985,
0.06811286509037018,
-0.009338632225990295,
-0.01439332403242588,
0.019860276952385902,
0.0368526466190815,
0.015137188136577606,
0.03093758039176464,
-0.00047135670320130885,
0.0019089527195319533,
-0.0033765160478651524,
-0.07406377792358398,
-0.05155068263411522,
0.014070684090256691,
-0.05846951901912689,
-0.03957716003060341,
-0.01563907228410244,
0.003029230050742626,
0.01751217618584633,
0.04359223321080208,
0.014689077623188496,
-0.0199140515178442,
-0.029897963628172874,
0.02426968887448311,
-0.0018137290608137846,
0.002162135438993573,
-0.035992272198200226,
0.0673958882689476,
-0.012573993764817715,
0.0582902729511261,
-0.01627538911998272,
0.03402058407664299,
0.026814959943294525,
-0.027478164061903954,
0.011534376069903374,
0.014124457724392414,
0.022602716460824013,
0.006045016925781965,
-0.07252227514982224,
0.045205432921648026,
-0.06094308942556381,
-0.0046110618859529495,
-0.0398281030356884,
0.027496088296175003,
-0.012744275853037834,
0.025309307500720024,
0.008231798186898232,
0.0051039839163422585,
-0.007998780347406864,
-0.0007438641623593867,
0.07779206335544586,
0.0034706194419413805,
0.0019929734990000725,
-0.017843779176473618,
0.03932621702551842,
-0.0010743460152298212,
0.010978718288242817,
-0.0026147274766117334,
0.02821306511759758,
-0.03486303240060806,
-0.011668809689581394,
0.0049202581867575645,
0.01210795808583498,
-0.009508914314210415,
-0.009983912110328674,
-0.0122782401740551,
-0.04018659144639969,
0.04792994633316994,
-0.03441492095589638,
-0.05678461864590645,
-0.01773623190820217,
0.0007690704078413546,
0.044273361563682556,
-0.04233752191066742,
-0.01488624606281519,
0.0429111048579216,
0.011874940246343613,
-0.053199734538793564,
0.02573949284851551,
-0.00980466790497303,
-0.060835544019937515,
0.012842860072851181,
-0.041548848152160645,
0.015594261698424816,
-0.01320134848356247,
-0.009473065845668316,
-0.017915476113557816,
0.01901782862842083,
0.0168937835842371,
0.01809472031891346,
0.08359958231449127,
0.05696386471390724,
-0.03516774624586105,
-0.019483864307403564,
0.025936661288142204,
0.05793178454041481,
-0.0019940936472266912,
-0.03405643254518509,
0.002872391138225794,
-0.02297912910580635,
-0.08632409572601318,
0.013541912660002708,
-0.09930139034986496,
-0.012484371662139893,
-0.06158836930990219,
0.018327737227082253,
0.032927192747592926,
0.041871488094329834,
0.007685102988034487,
-0.0521601140499115,
0.007438641972839832,
-0.011695696040987968,
-0.015074452385306358,
-0.016606992110610008,
0.028750799596309662,
-0.08065997064113617,
0.012690502218902111,
0.009020473808050156,
0.04334129020571709,
-0.00906528439372778,
0.0036812315229326487,
0.03242531046271324,
0.03853754326701164,
0.007729914039373398,
-0.08216562867164612,
0.01256503164768219,
0.022154605016112328,
0.029324380680918694,
-0.01905367709696293,
0.026886656880378723,
-0.03093758039176464,
0.06381099671125412,
0.03498850390315056,
-0.01628435216844082,
-0.010691927745938301,
0.01935839280486107,
-0.030202679336071014,
-0.08367127925157547,
0.010225892066955566,
0.03502435237169266,
0.0020400250796228647,
-0.04172809049487114,
-0.02396497316658497,
0.02084612101316452,
0.027531936764717102,
0.004767900798469782,
0.016606992110610008,
-0.0766448974609375,
0.013138613663613796,
-0.008088402450084686,
0.004682759288698435,
0.09356556832790375,
-0.027047976851463318,
0.06592608243227005,
-0.08453164994716644,
0.032909270375967026,
0.0001055861430359073,
0.016123032197356224,
0.01625746488571167,
-0.008030148223042488,
0.05140728875994682,
-0.02181404083967209,
-0.07707508653402328,
0.05237520858645439,
-0.062377046793699265,
0.004812711849808693,
-0.006690296810120344,
0.06011856719851494,
0.05305633693933487,
0.04341299086809158,
0.007116002030670643,
0.008339344523847103,
0.07764866948127747,
0.02509421296417713,
-0.008065997622907162,
-0.0038716786075383425,
-0.0736335888504982,
-0.029969660565257072,
-0.014913132414221764,
-0.04266016185283661,
0.02573949284851551,
-0.04043753445148468,
-0.036960192024707794,
0.03330360725522041,
-0.0002761483774520457,
0.043699782341718674,
-0.03133191913366318,
0.03432529792189598,
-0.025578172877430916,
0.013774930499494076,
0.04334129020571709,
0.01273531373590231,
-0.019555561244487762,
-0.02360648475587368,
0.019860276952385902,
-0.0013152057072147727,
-0.00948202796280384,
-0.052877094596624374,
-0.028607403859496117,
0.028033820912241936,
0.01040513627231121,
0.014671152457594872,
0.023660259321331978,
0.020666876807808876,
-0.03287341818213463,
0.06338081508874893,
-0.027675332501530647,
0.04771485552191734,
0.04362808167934418,
0.0009186274837702513,
0.012063146568834782,
0.017234347760677338,
0.042158279567956924,
-0.016365012153983116,
-0.023839503526687622,
-0.02392912469804287,
-0.03903942555189133,
0.04717712104320526,
0.00326224765740335,
-0.07843734323978424,
0.0036969154607504606,
-0.06502985954284668,
-0.05725065618753433,
-0.012815973721444607,
-0.03312436118721962,
-0.008263166062533855,
0.06485062092542648,
0.01333578210324049,
0.011668809689581394,
-0.011857016012072563,
-0.017270196229219437,
0.04423751309514046,
0.009069765917956829,
-0.032335687428712845,
-0.03432529792189598,
-0.04771485552191734,
-0.018856508657336235,
0.013631535694003105,
0.01711783930659294,
-0.022226303815841675,
-0.008281090296804905,
0.05395255982875824,
0.04825258627533913,
0.030489468947052956,
0.0428752563893795,
0.011874940246343613,
0.0030762816313654184,
0.045850712805986404,
-0.010611267760396004,
-0.017028216272592545,
0.061409126967191696,
0.034504543989896774,
-0.007976374588906765,
0.07822224497795105,
0.06094308942556381,
0.05151483416557312,
-0.013210310600697994,
0.00437356298789382,
-0.04843183234333992,
0.03950546309351921,
-0.05642613023519516,
-0.03653000667691231,
0.042158279567956924,
0.03100927732884884,
-0.0035692036617547274,
-0.004906815011054277,
0.0008648541406728327,
-0.0057627069763839245,
0.012457484379410744,
-0.009293821640312672,
-0.0013947453116998076,
-0.06090724095702171,
0.0037574104499071836,
0.04477524757385254,
-0.04115451127290726,
-0.03065078891813755,
0.025004591792821884,
0.05495632812380791,
0.048288438469171524,
-0.024950817227363586,
-0.007277322001755238,
0.01901782862842083,
0.0306328646838665,
-0.019770655781030655,
-0.008711276575922966,
0.012072109617292881,
0.027209296822547913,
-0.04653184115886688,
0.0070039741694927216,
0.08460334688425064,
0.00149669055826962,
0.028732875362038612,
0.06624872237443924,
-0.017933400347828865,
0.10761832445859909,
0.04656768962740898,
-0.0018260522047057748,
-0.007788168266415596,
-0.03857339173555374,
-0.008756088092923164,
0.004487831145524979,
-0.04663938656449318,
-0.07478075474500656,
-0.012645691633224487,
-0.05323558300733566,
-0.014724926091730595,
0.007810574024915695,
0.06678646057844162,
-0.05449029058218002,
-0.02143762819468975,
0.021652720868587494,
-0.03792811185121536,
-0.0245564803481102,
-0.011140038259327412,
-0.025685720145702362,
0.005341482814401388,
-0.022566867992281914,
-0.018820660188794136,
-0.01840839721262455,
0.015047566033899784,
-0.009715045802295208,
-0.015450865961611271,
-0.033895112574100494,
0.037497926503419876,
0.020415935665369034,
-0.03586680069565773,
-0.032963041216135025,
0.00932967010885477,
-0.002109482418745756,
0.06485062092542648,
0.026743261143565178,
-0.006067422218620777,
0.023373467847704887,
-0.03441492095589638,
-0.00359833100810647,
0.011695696040987968,
-0.030184753239154816,
-0.022925356402993202,
0.06363175809383392,
-0.09915798902511597,
0.048611078411340714,
0.05112049728631973,
0.020792348310351372,
-0.004933701828122139,
0.04359223321080208,
-0.030471544712781906,
-0.028320612385869026,
0.02608005702495575,
0.004888890311121941,
0.00674406997859478,
0.021527251228690147,
-0.045779015868902206,
-0.010145232081413269,
-0.062054406851530075,
-0.06004686653614044,
0.0337517186999321,
0.049794089049100876,
-0.01473388820886612,
0.00020921180839650333,
-0.014966906048357487,
0.016042372211813927,
-0.048288438469171524,
0.02728099562227726,
0.009562687948346138,
0.04086771979928017,
0.00844689179211855,
-0.061480823904275894,
-0.05144313722848892,
-0.018005099147558212,
0.08302599936723709,
0.02027253992855549,
-0.0798712968826294,
-0.03402058407664299,
-0.03437907248735428,
-0.00891292653977871,
0.04405827075242996,
-0.04136960208415985,
-0.045492224395275116,
0.003970263060182333,
0.036350760608911514,
-0.079727903008461,
-0.0009964867495000362,
-0.0214555524289608,
-0.04079602286219597,
-0.018874432891607285,
-0.06255628913640976,
-0.04724881798028946,
-0.011256547644734383,
-0.016365012153983116,
0.02050555683672428,
0.036655474454164505,
-0.0890486091375351,
-0.018480096012353897,
-0.041835639625787735,
-0.018748963251709938,
0.005484878085553646,
-0.017377743497490883,
0.08130525052547455,
-0.039111122488975525,
-0.03486303240060806,
0.02210083231329918,
-0.0015381408156827092,
-0.047392215579748154,
-0.031762104481458664,
0.029897963628172874,
-0.021312156692147255,
0.019716881215572357,
0.03031022474169731,
0.0029463295359164476,
0.028625328093767166,
-0.011068340390920639,
-0.029037589207291603,
-0.026581941172480583,
-0.036673400551080704,
0.056282736361026764,
0.03796396031975746,
-0.01273531373590231,
0.00041590299224480987,
0.013837666250765324,
-0.09306368231773376,
-0.016033409163355827,
0.027657408267259598,
-0.0002782488882075995,
-0.00967023428529501,
0.01180324237793684,
-0.03644038364291191,
-0.013685308396816254,
0.013631535694003105,
-0.044667698442935944,
0.023427240550518036,
-0.0025273459032177925,
0.017315007746219635,
-0.022226303815841675,
-0.0051487949676811695,
0.03903942555189133,
0.0705147385597229,
0.001902231015264988,
-0.0004537123313639313,
-0.013846628367900848,
-0.007626848295331001,
0.06298647820949554,
-0.012636728584766388,
-0.021365931257605553,
0.013452290557324886,
-0.07180529832839966,
-0.08539202064275742,
0.0033608321100473404,
0.04814504086971283,
0.015280583873391151,
-0.01316550001502037,
-0.05757329612970352,
-0.007174256257712841,
-0.055350665003061295,
0.04104696214199066,
0.055063873529434204,
-0.014617379754781723,
0.021365931257605553,
-0.009706083685159683,
0.03929036855697632,
0.007841941900551319,
-0.03932621702551842,
0.007322133053094149,
-0.02303290367126465,
-0.016463596373796463,
-0.03706773743033409,
-0.031421538442373276,
0.028589479625225067,
-0.036046046763658524,
-0.01746736466884613,
-0.027191372588276863,
0.018802735954523087,
0.02486119605600834,
-0.04653184115886688,
0.031726256012916565,
-0.024323463439941406,
-0.061158183962106705,
-0.04140545055270195,
-0.0275857113301754,
-0.03194135054945946,
-0.014205117709934711,
0.007398311980068684,
-0.03251492977142334,
0.05305633693933487,
-0.03653000667691231,
-0.04685448110103607,
-0.04405827075242996,
-0.002231592545285821,
-0.07750526815652847,
-0.005955394823104143,
0.022244228050112724,
-0.016947556287050247,
0.014724926091730595,
-0.057143110781908035,
0.0017554747173562646,
-0.060226112604141235,
-0.011390980333089828,
-0.049220506101846695,
-0.021348005160689354,
-0.04015074297785759,
0.0024690914433449507,
-0.06804116815328598,
0.0642411857843399,
-0.03613566607236862,
-0.0039209709502756596,
0.009679196402430534,
-0.0005279307370074093,
-0.03767716884613037,
0.0459941104054451,
-0.050439368933439255,
0.04197903349995613,
-0.026564016938209534,
0.030830033123493195,
0.03832244873046875,
-0.011086264625191689,
0.03739037737250328,
0.05552991107106209,
0.021007440984249115,
0.007546188309788704,
-0.055350665003061295,
0.04961484670639038,
0.00967023428529501,
0.031690407544374466,
0.004785825032740831,
-0.007075672037899494,
0.007326614111661911,
0.02357063628733158,
-0.029593247920274734,
0.008814342319965363,
-0.0037372454535216093,
-0.07836564630270004,
0.02054140716791153,
0.04416581615805626,
-0.01713576354086399,
0.03348284959793091,
0.03188757598400116,
-0.03445076942443848,
-0.02179611660540104,
0.01105041615664959,
-0.03133191913366318,
0.010871171951293945,
0.0013824222842231393,
-0.04205073043704033,
-0.073705293238163,
0.018282927572727203,
0.02426968887448311,
0.019985748454928398,
0.012977293692529202,
0.10876549035310745,
0.00006154523725854233,
0.048862017691135406,
0.04405827075242996,
0.030184753239154816,
-0.023176299408078194,
-0.01628435216844082,
0.05972422659397125,
-0.055637456476688385,
0.003029230050742626,
0.07571282982826233,
-0.024108368903398514,
0.022889507934451103,
0.06320156902074814,
-0.04334129020571709,
0.009320707991719246,
-0.05574500188231468,
0.03100927732884884,
0.004218964837491512,
-0.013111726380884647,
0.026528168469667435,
0.03348284959793091,
-0.0009858440607786179,
0.06485062092542648
]
|
29,313 | markupsafe | translate | Replace each character in the string using the given translation table.
table
Translation table, which must be a mapping of Unicode ordinals to
Unicode ordinals, strings, or None.
The table must implement lookup/indexing via __getitem__, for instance a
dictionary or list. If this operation raises LookupError, the character is
left untouched. Characters mapped to None are deleted. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, table, /) | [
0.006143601145595312,
-0.09844101220369339,
0.0767165943980217,
0.030740411952137947,
0.03000550903379917,
0.04868277534842491,
-0.00006221040530363098,
-0.0033518699929118156,
0.04997333511710167,
-0.016015484929084778,
0.025255532935261726,
0.03717528656125069,
0.011731544509530067,
-0.007277322001755238,
-0.0130489906296134,
0.04086771979928017,
0.020792348310351372,
-0.003914249129593372,
0.00560138700529933,
-0.0073759062215685844,
0.012529182247817516,
0.006363175809383392,
0.049865785986185074,
-0.030883807688951492,
0.02328384481370449,
0.04771485552191734,
-0.004104696214199066,
0.008030148223042488,
-0.00948202796280384,
-0.022298000752925873,
0.04416581615805626,
-0.025363080203533173,
-0.014196154661476612,
0.027496088296175003,
0.0673958882689476,
0.01025277841836214,
-0.09084105491638184,
0.03868093714118004,
-0.010674002580344677,
-0.08804483711719513,
0.027478164061903954,
-0.011471640318632126,
-0.010458909906446934,
-0.04237337037920952,
-0.024431008845567703,
0.0022674414794892073,
0.03717528656125069,
0.031726256012916565,
-0.005924026947468519,
-0.020415935665369034,
0.02421591617166996,
0.02600836008787155,
0.06990531086921692,
-0.006318364292383194,
-0.03149323910474777,
0.025004591792821884,
0.007008455228060484,
0.059043098241090775,
0.06485062092542648,
-0.03495265543460846,
-0.028732875362038612,
0.055243119597435,
0.0021778191439807415,
0.03565170615911484,
0.005484878085553646,
0.003580406541004777,
-0.05803932994604111,
-0.005771669093519449,
-0.01751217618584633,
-0.01303106639534235,
0.00997494999319315,
-0.030148904770612717,
-0.025631947442889214,
0.00397698488086462,
-0.02297912910580635,
-0.04943560063838959,
-0.03889603167772293,
-0.021276308223605156,
0.021276308223605156,
0.015459828078746796,
0.014070684090256691,
-0.04746391251683235,
-0.04312619939446449,
0.014509832486510277,
0.016723500564694405,
-0.05642613023519516,
-0.06001101806759834,
0.00874712597578764,
-0.00857236236333847,
0.06592608243227005,
0.009204198606312275,
-0.011704658158123493,
-0.010351362638175488,
0.01690274477005005,
-0.019448015838861465,
-0.008998068049550056,
0.02423384040594101,
-0.029342304915189743,
0.05954498425126076,
-0.003759650979191065,
-0.006833692081272602,
0.032909270375967026,
-0.009320707991719246,
-0.016678689047694206,
0.028930043801665306,
-0.027137599885463715,
-0.004606580827385187,
0.004357879050076008,
-0.025614023208618164,
-0.01779896765947342,
0.019824428483843803,
-0.03871678560972214,
-0.007066709920763969,
-0.023660259321331978,
0.02486119605600834,
-0.022208379581570625,
-0.017252271994948387,
-0.0029127211309969425,
0.031116824597120285,
-0.049184657633304596,
0.0429828017950058,
0.00193359877448529,
-0.05345067381858826,
-0.05574500188231468,
-0.010772587731480598,
0.06986945867538452,
-0.01652633212506771,
0.0368526466190815,
-0.0008424486150033772,
-0.006170487962663174,
0.005749263800680637,
0.0829543024301529,
0.005682046990841627,
0.01751217618584633,
0.04853937774896622,
-0.015845203772187233,
0.022889507934451103,
0.06388270109891891,
-0.049794089049100876,
0.05739405006170273,
-0.007599961943924427,
-0.0034123649820685387,
0.011677771806716919,
0.044667698442935944,
0.00029855393222533166,
-0.04749976098537445,
0.0459941104054451,
-0.017386704683303833,
0.042731862515211105,
0.005659641232341528,
0.06459967792034149,
-0.00341460551135242,
0.006770956330001354,
0.005480397026985884,
0.0065289768390357494,
0.04936390370130539,
0.05423935130238533,
0.017951324582099915,
0.05581670254468918,
0.011659846641123295,
0.033267758786678314,
-0.012036260217428207,
0.014841434545814991,
-0.015836240723729134,
0.05000918358564377,
0.0520167201757431,
0.03127814456820488,
-0.03559793531894684,
0.05692801624536514,
0.0062242611311376095,
0.03149323910474777,
-0.01197352446615696,
0.00859476812183857,
0.009598536416888237,
0.024090444669127464,
0.047069575637578964,
-0.021921588107943535,
0.04932805523276329,
-0.020129144191741943,
-0.01751217618584633,
0.010656078346073627,
-0.01780792884528637,
-0.03154700994491577,
-0.013264084234833717,
0.047392215579748154,
-0.003266728948801756,
0.05362991988658905,
-0.0005987882614135742,
-0.027657408267259598,
-0.04050923138856888,
0.008384156040847301,
0.0039433762431144714,
0.02633100003004074,
-0.010485796257853508,
-0.07449396699666977,
-0.06459967792034149,
-0.0397922545671463,
-0.028051745146512985,
0.06811286509037018,
-0.009338632225990295,
-0.01439332403242588,
0.019860276952385902,
0.0368526466190815,
0.015137188136577606,
0.03093758039176464,
-0.00047135670320130885,
0.0019089527195319533,
-0.0033765160478651524,
-0.07406377792358398,
-0.05155068263411522,
0.014070684090256691,
-0.05846951901912689,
-0.03957716003060341,
-0.01563907228410244,
0.003029230050742626,
0.01751217618584633,
0.04359223321080208,
0.014689077623188496,
-0.0199140515178442,
-0.029897963628172874,
0.02426968887448311,
-0.0018137290608137846,
0.002162135438993573,
-0.035992272198200226,
0.0673958882689476,
-0.012573993764817715,
0.0582902729511261,
-0.01627538911998272,
0.03402058407664299,
0.026814959943294525,
-0.027478164061903954,
0.011534376069903374,
0.014124457724392414,
0.022602716460824013,
0.006045016925781965,
-0.07252227514982224,
0.045205432921648026,
-0.06094308942556381,
-0.0046110618859529495,
-0.0398281030356884,
0.027496088296175003,
-0.012744275853037834,
0.025309307500720024,
0.008231798186898232,
0.0051039839163422585,
-0.007998780347406864,
-0.0007438641623593867,
0.07779206335544586,
0.0034706194419413805,
0.0019929734990000725,
-0.017843779176473618,
0.03932621702551842,
-0.0010743460152298212,
0.010978718288242817,
-0.0026147274766117334,
0.02821306511759758,
-0.03486303240060806,
-0.011668809689581394,
0.0049202581867575645,
0.01210795808583498,
-0.009508914314210415,
-0.009983912110328674,
-0.0122782401740551,
-0.04018659144639969,
0.04792994633316994,
-0.03441492095589638,
-0.05678461864590645,
-0.01773623190820217,
0.0007690704078413546,
0.044273361563682556,
-0.04233752191066742,
-0.01488624606281519,
0.0429111048579216,
0.011874940246343613,
-0.053199734538793564,
0.02573949284851551,
-0.00980466790497303,
-0.060835544019937515,
0.012842860072851181,
-0.041548848152160645,
0.015594261698424816,
-0.01320134848356247,
-0.009473065845668316,
-0.017915476113557816,
0.01901782862842083,
0.0168937835842371,
0.01809472031891346,
0.08359958231449127,
0.05696386471390724,
-0.03516774624586105,
-0.019483864307403564,
0.025936661288142204,
0.05793178454041481,
-0.0019940936472266912,
-0.03405643254518509,
0.002872391138225794,
-0.02297912910580635,
-0.08632409572601318,
0.013541912660002708,
-0.09930139034986496,
-0.012484371662139893,
-0.06158836930990219,
0.018327737227082253,
0.032927192747592926,
0.041871488094329834,
0.007685102988034487,
-0.0521601140499115,
0.007438641972839832,
-0.011695696040987968,
-0.015074452385306358,
-0.016606992110610008,
0.028750799596309662,
-0.08065997064113617,
0.012690502218902111,
0.009020473808050156,
0.04334129020571709,
-0.00906528439372778,
0.0036812315229326487,
0.03242531046271324,
0.03853754326701164,
0.007729914039373398,
-0.08216562867164612,
0.01256503164768219,
0.022154605016112328,
0.029324380680918694,
-0.01905367709696293,
0.026886656880378723,
-0.03093758039176464,
0.06381099671125412,
0.03498850390315056,
-0.01628435216844082,
-0.010691927745938301,
0.01935839280486107,
-0.030202679336071014,
-0.08367127925157547,
0.010225892066955566,
0.03502435237169266,
0.0020400250796228647,
-0.04172809049487114,
-0.02396497316658497,
0.02084612101316452,
0.027531936764717102,
0.004767900798469782,
0.016606992110610008,
-0.0766448974609375,
0.013138613663613796,
-0.008088402450084686,
0.004682759288698435,
0.09356556832790375,
-0.027047976851463318,
0.06592608243227005,
-0.08453164994716644,
0.032909270375967026,
0.0001055861430359073,
0.016123032197356224,
0.01625746488571167,
-0.008030148223042488,
0.05140728875994682,
-0.02181404083967209,
-0.07707508653402328,
0.05237520858645439,
-0.062377046793699265,
0.004812711849808693,
-0.006690296810120344,
0.06011856719851494,
0.05305633693933487,
0.04341299086809158,
0.007116002030670643,
0.008339344523847103,
0.07764866948127747,
0.02509421296417713,
-0.008065997622907162,
-0.0038716786075383425,
-0.0736335888504982,
-0.029969660565257072,
-0.014913132414221764,
-0.04266016185283661,
0.02573949284851551,
-0.04043753445148468,
-0.036960192024707794,
0.03330360725522041,
-0.0002761483774520457,
0.043699782341718674,
-0.03133191913366318,
0.03432529792189598,
-0.025578172877430916,
0.013774930499494076,
0.04334129020571709,
0.01273531373590231,
-0.019555561244487762,
-0.02360648475587368,
0.019860276952385902,
-0.0013152057072147727,
-0.00948202796280384,
-0.052877094596624374,
-0.028607403859496117,
0.028033820912241936,
0.01040513627231121,
0.014671152457594872,
0.023660259321331978,
0.020666876807808876,
-0.03287341818213463,
0.06338081508874893,
-0.027675332501530647,
0.04771485552191734,
0.04362808167934418,
0.0009186274837702513,
0.012063146568834782,
0.017234347760677338,
0.042158279567956924,
-0.016365012153983116,
-0.023839503526687622,
-0.02392912469804287,
-0.03903942555189133,
0.04717712104320526,
0.00326224765740335,
-0.07843734323978424,
0.0036969154607504606,
-0.06502985954284668,
-0.05725065618753433,
-0.012815973721444607,
-0.03312436118721962,
-0.008263166062533855,
0.06485062092542648,
0.01333578210324049,
0.011668809689581394,
-0.011857016012072563,
-0.017270196229219437,
0.04423751309514046,
0.009069765917956829,
-0.032335687428712845,
-0.03432529792189598,
-0.04771485552191734,
-0.018856508657336235,
0.013631535694003105,
0.01711783930659294,
-0.022226303815841675,
-0.008281090296804905,
0.05395255982875824,
0.04825258627533913,
0.030489468947052956,
0.0428752563893795,
0.011874940246343613,
0.0030762816313654184,
0.045850712805986404,
-0.010611267760396004,
-0.017028216272592545,
0.061409126967191696,
0.034504543989896774,
-0.007976374588906765,
0.07822224497795105,
0.06094308942556381,
0.05151483416557312,
-0.013210310600697994,
0.00437356298789382,
-0.04843183234333992,
0.03950546309351921,
-0.05642613023519516,
-0.03653000667691231,
0.042158279567956924,
0.03100927732884884,
-0.0035692036617547274,
-0.004906815011054277,
0.0008648541406728327,
-0.0057627069763839245,
0.012457484379410744,
-0.009293821640312672,
-0.0013947453116998076,
-0.06090724095702171,
0.0037574104499071836,
0.04477524757385254,
-0.04115451127290726,
-0.03065078891813755,
0.025004591792821884,
0.05495632812380791,
0.048288438469171524,
-0.024950817227363586,
-0.007277322001755238,
0.01901782862842083,
0.0306328646838665,
-0.019770655781030655,
-0.008711276575922966,
0.012072109617292881,
0.027209296822547913,
-0.04653184115886688,
0.0070039741694927216,
0.08460334688425064,
0.00149669055826962,
0.028732875362038612,
0.06624872237443924,
-0.017933400347828865,
0.10761832445859909,
0.04656768962740898,
-0.0018260522047057748,
-0.007788168266415596,
-0.03857339173555374,
-0.008756088092923164,
0.004487831145524979,
-0.04663938656449318,
-0.07478075474500656,
-0.012645691633224487,
-0.05323558300733566,
-0.014724926091730595,
0.007810574024915695,
0.06678646057844162,
-0.05449029058218002,
-0.02143762819468975,
0.021652720868587494,
-0.03792811185121536,
-0.0245564803481102,
-0.011140038259327412,
-0.025685720145702362,
0.005341482814401388,
-0.022566867992281914,
-0.018820660188794136,
-0.01840839721262455,
0.015047566033899784,
-0.009715045802295208,
-0.015450865961611271,
-0.033895112574100494,
0.037497926503419876,
0.020415935665369034,
-0.03586680069565773,
-0.032963041216135025,
0.00932967010885477,
-0.002109482418745756,
0.06485062092542648,
0.026743261143565178,
-0.006067422218620777,
0.023373467847704887,
-0.03441492095589638,
-0.00359833100810647,
0.011695696040987968,
-0.030184753239154816,
-0.022925356402993202,
0.06363175809383392,
-0.09915798902511597,
0.048611078411340714,
0.05112049728631973,
0.020792348310351372,
-0.004933701828122139,
0.04359223321080208,
-0.030471544712781906,
-0.028320612385869026,
0.02608005702495575,
0.004888890311121941,
0.00674406997859478,
0.021527251228690147,
-0.045779015868902206,
-0.010145232081413269,
-0.062054406851530075,
-0.06004686653614044,
0.0337517186999321,
0.049794089049100876,
-0.01473388820886612,
0.00020921180839650333,
-0.014966906048357487,
0.016042372211813927,
-0.048288438469171524,
0.02728099562227726,
0.009562687948346138,
0.04086771979928017,
0.00844689179211855,
-0.061480823904275894,
-0.05144313722848892,
-0.018005099147558212,
0.08302599936723709,
0.02027253992855549,
-0.0798712968826294,
-0.03402058407664299,
-0.03437907248735428,
-0.00891292653977871,
0.04405827075242996,
-0.04136960208415985,
-0.045492224395275116,
0.003970263060182333,
0.036350760608911514,
-0.079727903008461,
-0.0009964867495000362,
-0.0214555524289608,
-0.04079602286219597,
-0.018874432891607285,
-0.06255628913640976,
-0.04724881798028946,
-0.011256547644734383,
-0.016365012153983116,
0.02050555683672428,
0.036655474454164505,
-0.0890486091375351,
-0.018480096012353897,
-0.041835639625787735,
-0.018748963251709938,
0.005484878085553646,
-0.017377743497490883,
0.08130525052547455,
-0.039111122488975525,
-0.03486303240060806,
0.02210083231329918,
-0.0015381408156827092,
-0.047392215579748154,
-0.031762104481458664,
0.029897963628172874,
-0.021312156692147255,
0.019716881215572357,
0.03031022474169731,
0.0029463295359164476,
0.028625328093767166,
-0.011068340390920639,
-0.029037589207291603,
-0.026581941172480583,
-0.036673400551080704,
0.056282736361026764,
0.03796396031975746,
-0.01273531373590231,
0.00041590299224480987,
0.013837666250765324,
-0.09306368231773376,
-0.016033409163355827,
0.027657408267259598,
-0.0002782488882075995,
-0.00967023428529501,
0.01180324237793684,
-0.03644038364291191,
-0.013685308396816254,
0.013631535694003105,
-0.044667698442935944,
0.023427240550518036,
-0.0025273459032177925,
0.017315007746219635,
-0.022226303815841675,
-0.0051487949676811695,
0.03903942555189133,
0.0705147385597229,
0.001902231015264988,
-0.0004537123313639313,
-0.013846628367900848,
-0.007626848295331001,
0.06298647820949554,
-0.012636728584766388,
-0.021365931257605553,
0.013452290557324886,
-0.07180529832839966,
-0.08539202064275742,
0.0033608321100473404,
0.04814504086971283,
0.015280583873391151,
-0.01316550001502037,
-0.05757329612970352,
-0.007174256257712841,
-0.055350665003061295,
0.04104696214199066,
0.055063873529434204,
-0.014617379754781723,
0.021365931257605553,
-0.009706083685159683,
0.03929036855697632,
0.007841941900551319,
-0.03932621702551842,
0.007322133053094149,
-0.02303290367126465,
-0.016463596373796463,
-0.03706773743033409,
-0.031421538442373276,
0.028589479625225067,
-0.036046046763658524,
-0.01746736466884613,
-0.027191372588276863,
0.018802735954523087,
0.02486119605600834,
-0.04653184115886688,
0.031726256012916565,
-0.024323463439941406,
-0.061158183962106705,
-0.04140545055270195,
-0.0275857113301754,
-0.03194135054945946,
-0.014205117709934711,
0.007398311980068684,
-0.03251492977142334,
0.05305633693933487,
-0.03653000667691231,
-0.04685448110103607,
-0.04405827075242996,
-0.002231592545285821,
-0.07750526815652847,
-0.005955394823104143,
0.022244228050112724,
-0.016947556287050247,
0.014724926091730595,
-0.057143110781908035,
0.0017554747173562646,
-0.060226112604141235,
-0.011390980333089828,
-0.049220506101846695,
-0.021348005160689354,
-0.04015074297785759,
0.0024690914433449507,
-0.06804116815328598,
0.0642411857843399,
-0.03613566607236862,
-0.0039209709502756596,
0.009679196402430534,
-0.0005279307370074093,
-0.03767716884613037,
0.0459941104054451,
-0.050439368933439255,
0.04197903349995613,
-0.026564016938209534,
0.030830033123493195,
0.03832244873046875,
-0.011086264625191689,
0.03739037737250328,
0.05552991107106209,
0.021007440984249115,
0.007546188309788704,
-0.055350665003061295,
0.04961484670639038,
0.00967023428529501,
0.031690407544374466,
0.004785825032740831,
-0.007075672037899494,
0.007326614111661911,
0.02357063628733158,
-0.029593247920274734,
0.008814342319965363,
-0.0037372454535216093,
-0.07836564630270004,
0.02054140716791153,
0.04416581615805626,
-0.01713576354086399,
0.03348284959793091,
0.03188757598400116,
-0.03445076942443848,
-0.02179611660540104,
0.01105041615664959,
-0.03133191913366318,
0.010871171951293945,
0.0013824222842231393,
-0.04205073043704033,
-0.073705293238163,
0.018282927572727203,
0.02426968887448311,
0.019985748454928398,
0.012977293692529202,
0.10876549035310745,
0.00006154523725854233,
0.048862017691135406,
0.04405827075242996,
0.030184753239154816,
-0.023176299408078194,
-0.01628435216844082,
0.05972422659397125,
-0.055637456476688385,
0.003029230050742626,
0.07571282982826233,
-0.024108368903398514,
0.022889507934451103,
0.06320156902074814,
-0.04334129020571709,
0.009320707991719246,
-0.05574500188231468,
0.03100927732884884,
0.004218964837491512,
-0.013111726380884647,
0.026528168469667435,
0.03348284959793091,
-0.0009858440607786179,
0.06485062092542648
]
|
29,314 | markupsafe | unescape | Convert escaped markup back into a text string. This replaces
HTML entities with the characters they represent.
>>> Markup("Main » <em>About</em>").unescape()
'Main » <em>About</em>'
| def unescape(self) -> str:
"""Convert escaped markup back into a text string. This replaces
HTML entities with the characters they represent.
>>> Markup("Main » <em>About</em>").unescape()
'Main » <em>About</em>'
"""
from html import unescape
return unescape(str(self))
| (self) -> str | [
0.02762644924223423,
-0.07873538136482239,
0.09029486775398254,
0.028171708807349205,
-0.03449670970439911,
-0.036168839782476425,
-0.006942962761968374,
-0.013931363821029663,
0.06655792891979218,
0.04049455747008324,
0.01197751984000206,
-0.03164318948984146,
0.002206026576459408,
0.08266124129295349,
-0.019702021032571793,
0.036823149770498276,
-0.024191318079829216,
-0.00473012076690793,
0.02330072969198227,
-0.004689226392656565,
-0.04409326612949371,
0.011632189154624939,
0.04271194338798523,
-0.0563797652721405,
0.006411335431039333,
0.03642329201102257,
-0.060741838067770004,
-0.022573716938495636,
0.010914265178143978,
-0.035423651337623596,
-0.022446490824222565,
0.004191677551716566,
0.043293554335832596,
-0.020828887820243835,
0.04965490847826004,
-0.0007491629803553224,
-0.040639959275722504,
0.005429869517683983,
0.038931481540203094,
0.02037450671195984,
-0.02582709491252899,
-0.04874614253640175,
0.05270835757255554,
0.009442065842449665,
0.01975654624402523,
-0.01919311285018921,
0.026608632877469063,
-0.04249384254217148,
-0.026590457186102867,
-0.03095252811908722,
0.053399018943309784,
0.08346095681190491,
0.0005378751666285098,
0.011841204948723316,
-0.03589620813727379,
-0.007283749524503946,
0.003419227432459593,
0.02828075923025608,
0.015812506899237633,
0.01928398758172989,
-0.030825302004814148,
0.0049073295667767525,
0.004421140532940626,
-0.012768144719302654,
0.018038980662822723,
0.04805548116564751,
-0.016466816887259483,
-0.014349395409226418,
-0.01626688987016678,
0.005870620254427195,
-0.0625230148434639,
0.020047351717948914,
-0.011059666983783245,
0.022101160138845444,
0.05263565480709076,
-0.075173020362854,
-0.01012363936752081,
-0.001188209978863597,
-0.018702378496527672,
-0.011250508017838001,
0.030316391959786415,
-0.00136314716655761,
-0.0014040415408089757,
-0.012168359942734241,
0.03998564928770065,
-0.0655764639377594,
0.005884252022951841,
-0.03795001655817032,
-0.02880784310400486,
0.03860432654619217,
0.05412603169679642,
-0.04187588021159172,
-0.0550711452960968,
0.009283032268285751,
0.002755829133093357,
-0.004025828093290329,
-0.0028762405272573233,
-0.005679779686033726,
-0.0028171706944704056,
-0.035169195383787155,
0.023627884685993195,
0.09451153874397278,
-0.043075449764728546,
-0.037695564329624176,
-0.0008014169288799167,
-0.034769341349601746,
0.005098170600831509,
-0.05285375937819481,
0.013095300644636154,
-0.059651318937540054,
-0.035696279257535934,
-0.015976084396243095,
-0.033678822219371796,
0.009542030282318592,
0.028916895389556885,
-0.036695919930934906,
-0.020301805809140205,
-0.00806528702378273,
0.06652158498764038,
-0.01731196977198124,
0.014649287797510624,
0.009496591985225677,
-0.07917159050703049,
-0.02133779600262642,
-0.004902786109596491,
0.025754394009709358,
0.006811191793531179,
0.0009422754519619048,
-0.010496233589947224,
-0.031188806518912315,
0.004607437178492546,
0.027026664465665817,
-0.010750687681138515,
-0.021519549190998077,
0.07411885261535645,
0.01687576249241829,
-0.012113834731280804,
0.015267248265445232,
-0.01603969745337963,
0.08244314044713974,
-0.018475187942385674,
0.01020542811602354,
0.04431137070059776,
0.08098911494016647,
-0.07400980591773987,
-0.006620351225137711,
0.027044840157032013,
0.017248354852199554,
0.02233743853867054,
-0.008710510097444057,
0.0018675116589292884,
-0.014131291769444942,
0.019247638061642647,
0.026899436488747597,
-0.026590457186102867,
0.0194475669413805,
0.013776874169707298,
0.06066913530230522,
0.01836613565683365,
0.02715389057993889,
0.012322850525379181,
0.025899795815348625,
-0.00627502053976059,
0.045038383454084396,
-0.02906229719519615,
-0.036296065896749496,
0.09727418422698975,
-0.045838095247745514,
0.03664139658212662,
0.011386822909116745,
0.010705249384045601,
-0.020665310323238373,
-0.047146715223789215,
0.03795001655817032,
-0.028317110612988472,
0.039404042065143585,
0.007360994815826416,
0.06881166994571686,
-0.0019992825109511614,
-0.010632547549903393,
0.0277536753565073,
-0.020029176026582718,
-0.022791819646954536,
-0.07444600760936737,
0.03396962583065033,
-0.03415137901902199,
0.0011456116335466504,
0.031134281307458878,
0.03947674110531807,
-0.030807126313447952,
0.04961855709552765,
-0.05761568620800972,
-0.027917254716157913,
-0.01626688987016678,
-0.0367322713136673,
-0.04514743387699127,
0.0069066123105585575,
-0.0008440152741968632,
0.020574433729052544,
-0.027117541059851646,
-0.04362070932984352,
0.02759009785950184,
0.030825302004814148,
-0.002090158872306347,
0.014849216677248478,
-0.0034305870067328215,
-0.002198074711486697,
-0.034732989966869354,
-0.08186153322458267,
-0.029134998098015785,
0.000630455557256937,
-0.014458447694778442,
-0.01622145064175129,
-0.018211646005511284,
0.0446021743118763,
-0.01455841213464737,
-0.012977160513401031,
0.008451512083411217,
0.002669496461749077,
0.03431495651602745,
-0.002295766957104206,
-0.03965849429368973,
-0.020447207614779472,
-0.011595838703215122,
-0.028517039492726326,
-0.01997464895248413,
-0.050636373460292816,
0.03900418430566788,
0.05739758163690567,
0.012977160513401031,
0.005770656280219555,
-0.04921869933605194,
0.021919406950473785,
-0.012059308588504791,
0.043039098381996155,
0.012995336204767227,
-0.017711825668811798,
-0.05310821160674095,
-0.02330072969198227,
0.008524213917553425,
0.00039616465801373124,
-0.025209134444594383,
0.02277364581823349,
0.021846706047654152,
0.01928398758172989,
-0.0011995695531368256,
0.020047351717948914,
0.04507473111152649,
-0.01731196977198124,
-0.04311180114746094,
0.029825659468770027,
0.009064928628504276,
0.00669759651646018,
0.024154968559741974,
0.015930647030472755,
0.0033192632254213095,
0.013640559278428555,
0.008815018460154533,
-0.005361712072044611,
0.06110534444451332,
0.035914383828639984,
-0.09283941239118576,
-0.0008173203095793724,
-0.008210689760744572,
-0.00043166326940990984,
0.00416441448032856,
-0.04518378525972366,
0.04376611113548279,
0.010659811086952686,
0.007624536287039518,
0.09349372237920761,
-0.07208321988582611,
-0.005398062523454428,
-0.04231208935379982,
-0.05616166442632675,
0.034732989966869354,
-0.02700848877429962,
-0.05267200618982315,
-0.0446021743118763,
-0.025863446295261383,
-0.0013949539279565215,
-0.030716249719262123,
0.007570010609924793,
0.0063431779853999615,
0.05438048392534256,
-0.052781056612730026,
0.014476622454822063,
0.015567140653729439,
0.10432619601488113,
0.04518378525972366,
0.05590720847249031,
0.006229582708328962,
-0.025372711941599846,
-0.009823746979236603,
-0.010505320504307747,
-0.024409422650933266,
0.004925505258142948,
-0.052308499813079834,
0.013813224621117115,
-0.03415137901902199,
-0.03231567516922951,
-0.05423508211970329,
-0.030316391959786415,
0.0275355726480484,
-0.021628601476550102,
-0.008142532780766487,
0.0032988160382956266,
0.05848810076713562,
0.03511467203497887,
0.03384239971637726,
-0.007174697704613209,
-0.007479134015738964,
-0.034769341349601746,
0.05263565480709076,
-0.0629228726029396,
0.013676909729838371,
-0.0020299532916396856,
-0.020356331020593643,
0.02684491127729416,
0.014449359849095345,
0.007933516055345535,
-0.03260647878050804,
0.014194905757904053,
0.020319979637861252,
0.0327882319688797,
-0.022501016035676003,
-0.04711036756634712,
0.021755829453468323,
0.08949515223503113,
0.040712662041187286,
-0.017212005332112312,
-0.04685591161251068,
0.04656510800123215,
-0.03882243111729622,
-0.012804496102035046,
-0.04209398478269577,
0.01648499257862568,
0.006570369470864534,
-0.01639411598443985,
-0.01272270642220974,
0.027880903333425522,
0.02028363011777401,
0.004396149422973394,
-0.018375223502516747,
0.005370799917727709,
0.04870979115366936,
-0.04769197478890419,
0.014322132803499699,
0.045002032071352005,
0.00526629202067852,
-0.005502570886164904,
-0.014994618482887745,
0.06568551808595657,
-0.03489656746387482,
-0.043911512941122055,
-0.01718474179506302,
-0.018938658758997917,
0.04485663026571274,
-0.02373693510890007,
-0.014721989631652832,
0.045619990676641464,
-0.04751022160053253,
-0.04518378525972366,
-0.024427596479654312,
-0.0019174936460331082,
-0.034460362046957016,
-0.03226114809513092,
0.08396986871957779,
0.004766471218317747,
0.059687670320272446,
0.028262583538889885,
0.012095659039914608,
-0.020265454426407814,
-0.016239626333117485,
0.008197057992219925,
0.0489642471075058,
0.002848977455869317,
0.038531627506017685,
-0.022573716938495636,
-0.03226114809513092,
-0.0021583163179457188,
0.04380246251821518,
-0.04213033616542816,
-0.02155590057373047,
0.05787014216184616,
0.018547888845205307,
0.02420949377119541,
-0.0007497309125028551,
0.03705942630767822,
-0.013722348026931286,
0.0023673323448747396,
-0.04114886745810509,
0.0025877077132463455,
-0.013931363821029663,
-0.056198012083768845,
-0.004203036893159151,
0.037477459758520126,
-0.006079636514186859,
0.008251584134995937,
0.015612578950822353,
0.006238670088350773,
0.08702331781387329,
0.046928614377975464,
-0.01625780202448368,
0.017775438725948334,
0.07728135585784912,
-0.02784455195069313,
0.01099605392664671,
-0.03204304724931717,
0.015612578950822353,
-0.00931483879685402,
-0.04420232027769089,
-0.09247590601444244,
-0.009532942436635494,
0.05238120257854462,
-0.00946024153381586,
-0.002712662797421217,
-0.03842257335782051,
0.002376419957727194,
-0.033151738345623016,
-0.06357718259096146,
0.022228386253118515,
-0.04598349705338478,
-0.025990672409534454,
-0.07888077944517136,
-0.0032170272897928953,
0.02015640214085579,
-0.016948463395237923,
0.007747219875454903,
0.06583092361688614,
0.019120410084724426,
-0.07800836861133575,
-0.03824082016944885,
-0.05129068344831467,
0.04540188983082771,
0.015503526665270329,
-0.026863086968660355,
-0.010305392555892467,
-0.028099006041884422,
-0.002483199816197157,
0.01608513668179512,
0.036605045199394226,
0.04187588021159172,
0.03282458335161209,
0.05656151846051216,
-0.04794643074274063,
-0.04558363929390907,
0.05590720847249031,
-0.01385866291821003,
0.01975654624402523,
0.03375152498483658,
0.05136338621377945,
-0.019120410084724426,
-0.054743990302085876,
0.035423651337623596,
-0.07135620713233948,
0.06652158498764038,
-0.03266100585460663,
-0.02290087193250656,
0.08695061504840851,
-0.05274470895528793,
0.01822073385119438,
-0.03384239971637726,
0.015285423025488853,
0.019393039867281914,
-0.0009752181940712035,
-0.016457730904221535,
-0.003092072205618024,
-0.05368982255458832,
0.006170512642711401,
-0.01704842783510685,
-0.026463231071829796,
-0.01261365506798029,
0.03776826336979866,
-0.02295539900660515,
0.01501279417425394,
-0.05688867345452309,
-0.01217744778841734,
0.012968073599040508,
-0.03117063082754612,
-0.029625732451677322,
-0.021628601476550102,
-0.00018104298214893788,
-0.01744828373193741,
-0.02924405038356781,
-0.013922275975346565,
0.08142532408237457,
0.0032261149026453495,
0.00850603822618723,
0.03175223991274834,
-0.015358124859631062,
0.04791007936000824,
-0.03736840933561325,
0.012304674834012985,
-0.006679421290755272,
-0.034115031361579895,
-0.013449718244373798,
0.0011456116335466504,
-0.00626138923689723,
-0.04947315528988838,
0.04034915566444397,
-0.06990218907594681,
-0.0060387421399354935,
-0.03284275904297829,
0.028226234018802643,
0.05398062616586685,
0.03406050428748131,
0.03653234243392944,
0.05347171798348427,
-0.01919311285018921,
0.010578022338449955,
-0.003959942609071732,
0.0255726408213377,
0.014458447694778442,
0.01634867861866951,
-0.013349754735827446,
0.004509745165705681,
0.036877673119306564,
0.05983307212591171,
0.02893507108092308,
-0.018375223502516747,
0.02221021056175232,
-0.08884084224700928,
-0.018084419891238213,
-0.015149109065532684,
-0.018811430782079697,
-0.03576898202300072,
0.08011670410633087,
0.0003845210885629058,
0.011986607685685158,
-0.0887681394815445,
-0.038059066981077194,
-0.014858303591609001,
-0.04612889885902405,
-0.02491833083331585,
0.023882338777184486,
-0.053835224360227585,
-0.010705249384045601,
0.0371684804558754,
0.04870979115366936,
-0.005575271788984537,
-0.030061937868595123,
-0.05648881942033768,
-0.05154513940215111,
0.01387683767825365,
-0.011550400406122208,
-0.05194499343633652,
0.06241396442055702,
-0.02439124695956707,
0.07270117849111557,
-0.09073107689619064,
-0.010178165510296822,
-0.015676192939281464,
0.00435071112588048,
0.07059285044670105,
-0.0058115506544709206,
-0.04300275072455406,
0.07662704586982727,
-0.00493004871532321,
0.039585795253515244,
-0.03095252811908722,
-0.002210570266470313,
0.03207939490675926,
0.039840247482061386,
0.010750687681138515,
0.02482745423913002,
0.0016039698384702206,
0.018938658758997917,
-0.03567810356616974,
-0.042421139776706696,
0.007124715950340033,
0.001733468845486641,
0.06070548668503761,
-0.011686715297400951,
-0.027353819459676743,
0.02709936536848545,
0.04903694614768028,
0.011595838703215122,
0.05616166442632675,
0.04293004795908928,
0.013513332232832909,
-0.012977160513401031,
-0.035914383828639984,
-0.01892048306763172,
-0.014067678712308407,
-0.025027381256222725,
-0.02924405038356781,
0.04009470343589783,
0.016839411109685898,
0.011877555400133133,
-0.024245843291282654,
-0.07121080905199051,
-0.005361712072044611,
0.019302163273096085,
0.07539112865924835,
-0.07084730267524719,
0.020992467179894447,
0.0034601218067109585,
-0.01530359871685505,
-0.027771851047873497,
0.09073107689619064,
0.00005115351814310998,
0.036823149770498276,
0.03776826336979866,
-0.004739208146929741,
0.027262942865490913,
0.004273466300219297,
0.02264641784131527,
-0.041766829788684845,
0.024718401953577995,
-0.017630036920309067,
0.027026664465665817,
0.00707018980756402,
0.03173406422138214,
0.009196699596941471,
-0.008396986871957779,
-0.020556259900331497,
-0.05692502483725548,
-0.05587085708975792,
0.06099629029631615,
-0.009042209945619106,
0.017630036920309067,
-0.083897165954113,
0.035732630640268326,
0.0026740403845906258,
-0.035823509097099304,
0.028771493583917618,
0.020174577832221985,
0.022755470126867294,
0.011877555400133133,
0.03073442541062832,
-0.037877317517995834,
-0.014276694506406784,
0.016639482229948044,
-0.013449718244373798,
0.048855192959308624,
-0.01547626405954361,
0.051908642053604126,
0.0021401410922408104,
-0.002521822229027748,
0.0555073507130146,
0.014658375643193722,
-0.08055291324853897,
0.02846251241862774,
-0.06917517632246017,
-0.01385866291821003,
-0.020047351717948914,
-0.058379050344228745,
-0.04114886745810509,
-0.024445772171020508,
0.00023627883638255298,
0.020792538300156593,
0.0717197135090828,
-0.002462752629071474,
-0.040240105241537094,
0.021192394196987152,
0.028044480830430984,
0.02093794010579586,
-0.028298934921622276,
0.031715892255306244,
-0.015848858281970024,
-0.004462034907191992,
-0.006806648336350918,
-0.017684562131762505,
0.08600550144910812,
0.012041132897138596,
-0.02128327079117298,
0.08164342492818832,
-0.02828075923025608,
-0.0340968556702137,
0.06026928126811981,
0.03269735723733902,
-0.06866626441478729,
-0.05129068344831467,
-0.048891544342041016,
-0.033587947487831116,
0.029825659468770027,
-0.0638316348195076,
0.02871696650981903,
0.04776467755436897,
0.004500657320022583,
0.017293794080615044,
-0.06354083120822906,
-0.0077154128812253475,
-0.02500920742750168,
0.00017649916117079556,
-0.011132368817925453,
0.04143967479467392,
0.02915317378938198,
-0.04660145938396454,
-0.01993829943239689,
-0.052344851195812225,
-0.06150519847869873,
-0.01665765792131424,
0.01143226120620966,
-0.026917612180113792,
0.011386822909116745,
-0.0966198742389679,
0.06586726754903793,
0.01910223625600338,
0.04114886745810509,
0.02591797150671482,
0.008683247491717339,
-0.04289369657635689,
0.041548725217580795,
0.006465861573815346,
0.019211286678910255,
0.012295586988329887,
-0.015739805996418,
0.01731196977198124,
0.023809637874364853,
0.07033839076757431,
0.0037804613821208477,
0.023464307188987732,
0.08266124129295349,
-0.03135238587856293,
-0.0035964366979897022,
-0.001891366671770811,
-0.031061580404639244,
0.027790026739239693,
-0.019592968747019768,
-0.017602773383259773,
0.014958268031477928,
-0.017475547268986702,
-0.019211286678910255,
0.010305392555892467,
-0.039367690682411194,
0.0022253377828747034,
0.014149467460811138,
0.014449359849095345,
-0.0721559226512909,
0.03798636794090271,
0.005361712072044611,
0.018502451479434967,
-0.04452947527170181,
-0.08396986871957779,
-0.025190958753228188,
-0.01972019486129284,
0.028298934921622276,
-0.0030057395342737436,
0.026699509471654892,
0.0035146477166563272,
-0.0393313392996788,
0.02902594767510891,
0.019465740770101547,
-0.0380227193236351,
-0.022082984447479248,
0.0016448642127215862,
-0.006511299405246973,
-0.015767069533467293,
0.015885207802057266,
0.06266842037439346,
-0.04830993711948395,
0.00723376777023077,
0.08237043768167496,
0.021828530356287956,
0.016285065561532974,
0.007874446921050549,
-0.04376611113548279,
0.015258160419762135,
0.04696496203541756,
0.036041609942913055,
0.015939734876155853,
-0.011532224714756012,
-0.044347722083330154,
0.02330072969198227,
-0.020610785111784935,
-0.018438836559653282
]
|
29,315 | markupsafe | upper | Return a copy of the string converted to uppercase. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, /) | [
0.006143601145595312,
-0.09844101220369339,
0.0767165943980217,
0.030740411952137947,
0.03000550903379917,
0.04868277534842491,
-0.00006221040530363098,
-0.0033518699929118156,
0.04997333511710167,
-0.016015484929084778,
0.025255532935261726,
0.03717528656125069,
0.011731544509530067,
-0.007277322001755238,
-0.0130489906296134,
0.04086771979928017,
0.020792348310351372,
-0.003914249129593372,
0.00560138700529933,
-0.0073759062215685844,
0.012529182247817516,
0.006363175809383392,
0.049865785986185074,
-0.030883807688951492,
0.02328384481370449,
0.04771485552191734,
-0.004104696214199066,
0.008030148223042488,
-0.00948202796280384,
-0.022298000752925873,
0.04416581615805626,
-0.025363080203533173,
-0.014196154661476612,
0.027496088296175003,
0.0673958882689476,
0.01025277841836214,
-0.09084105491638184,
0.03868093714118004,
-0.010674002580344677,
-0.08804483711719513,
0.027478164061903954,
-0.011471640318632126,
-0.010458909906446934,
-0.04237337037920952,
-0.024431008845567703,
0.0022674414794892073,
0.03717528656125069,
0.031726256012916565,
-0.005924026947468519,
-0.020415935665369034,
0.02421591617166996,
0.02600836008787155,
0.06990531086921692,
-0.006318364292383194,
-0.03149323910474777,
0.025004591792821884,
0.007008455228060484,
0.059043098241090775,
0.06485062092542648,
-0.03495265543460846,
-0.028732875362038612,
0.055243119597435,
0.0021778191439807415,
0.03565170615911484,
0.005484878085553646,
0.003580406541004777,
-0.05803932994604111,
-0.005771669093519449,
-0.01751217618584633,
-0.01303106639534235,
0.00997494999319315,
-0.030148904770612717,
-0.025631947442889214,
0.00397698488086462,
-0.02297912910580635,
-0.04943560063838959,
-0.03889603167772293,
-0.021276308223605156,
0.021276308223605156,
0.015459828078746796,
0.014070684090256691,
-0.04746391251683235,
-0.04312619939446449,
0.014509832486510277,
0.016723500564694405,
-0.05642613023519516,
-0.06001101806759834,
0.00874712597578764,
-0.00857236236333847,
0.06592608243227005,
0.009204198606312275,
-0.011704658158123493,
-0.010351362638175488,
0.01690274477005005,
-0.019448015838861465,
-0.008998068049550056,
0.02423384040594101,
-0.029342304915189743,
0.05954498425126076,
-0.003759650979191065,
-0.006833692081272602,
0.032909270375967026,
-0.009320707991719246,
-0.016678689047694206,
0.028930043801665306,
-0.027137599885463715,
-0.004606580827385187,
0.004357879050076008,
-0.025614023208618164,
-0.01779896765947342,
0.019824428483843803,
-0.03871678560972214,
-0.007066709920763969,
-0.023660259321331978,
0.02486119605600834,
-0.022208379581570625,
-0.017252271994948387,
-0.0029127211309969425,
0.031116824597120285,
-0.049184657633304596,
0.0429828017950058,
0.00193359877448529,
-0.05345067381858826,
-0.05574500188231468,
-0.010772587731480598,
0.06986945867538452,
-0.01652633212506771,
0.0368526466190815,
-0.0008424486150033772,
-0.006170487962663174,
0.005749263800680637,
0.0829543024301529,
0.005682046990841627,
0.01751217618584633,
0.04853937774896622,
-0.015845203772187233,
0.022889507934451103,
0.06388270109891891,
-0.049794089049100876,
0.05739405006170273,
-0.007599961943924427,
-0.0034123649820685387,
0.011677771806716919,
0.044667698442935944,
0.00029855393222533166,
-0.04749976098537445,
0.0459941104054451,
-0.017386704683303833,
0.042731862515211105,
0.005659641232341528,
0.06459967792034149,
-0.00341460551135242,
0.006770956330001354,
0.005480397026985884,
0.0065289768390357494,
0.04936390370130539,
0.05423935130238533,
0.017951324582099915,
0.05581670254468918,
0.011659846641123295,
0.033267758786678314,
-0.012036260217428207,
0.014841434545814991,
-0.015836240723729134,
0.05000918358564377,
0.0520167201757431,
0.03127814456820488,
-0.03559793531894684,
0.05692801624536514,
0.0062242611311376095,
0.03149323910474777,
-0.01197352446615696,
0.00859476812183857,
0.009598536416888237,
0.024090444669127464,
0.047069575637578964,
-0.021921588107943535,
0.04932805523276329,
-0.020129144191741943,
-0.01751217618584633,
0.010656078346073627,
-0.01780792884528637,
-0.03154700994491577,
-0.013264084234833717,
0.047392215579748154,
-0.003266728948801756,
0.05362991988658905,
-0.0005987882614135742,
-0.027657408267259598,
-0.04050923138856888,
0.008384156040847301,
0.0039433762431144714,
0.02633100003004074,
-0.010485796257853508,
-0.07449396699666977,
-0.06459967792034149,
-0.0397922545671463,
-0.028051745146512985,
0.06811286509037018,
-0.009338632225990295,
-0.01439332403242588,
0.019860276952385902,
0.0368526466190815,
0.015137188136577606,
0.03093758039176464,
-0.00047135670320130885,
0.0019089527195319533,
-0.0033765160478651524,
-0.07406377792358398,
-0.05155068263411522,
0.014070684090256691,
-0.05846951901912689,
-0.03957716003060341,
-0.01563907228410244,
0.003029230050742626,
0.01751217618584633,
0.04359223321080208,
0.014689077623188496,
-0.0199140515178442,
-0.029897963628172874,
0.02426968887448311,
-0.0018137290608137846,
0.002162135438993573,
-0.035992272198200226,
0.0673958882689476,
-0.012573993764817715,
0.0582902729511261,
-0.01627538911998272,
0.03402058407664299,
0.026814959943294525,
-0.027478164061903954,
0.011534376069903374,
0.014124457724392414,
0.022602716460824013,
0.006045016925781965,
-0.07252227514982224,
0.045205432921648026,
-0.06094308942556381,
-0.0046110618859529495,
-0.0398281030356884,
0.027496088296175003,
-0.012744275853037834,
0.025309307500720024,
0.008231798186898232,
0.0051039839163422585,
-0.007998780347406864,
-0.0007438641623593867,
0.07779206335544586,
0.0034706194419413805,
0.0019929734990000725,
-0.017843779176473618,
0.03932621702551842,
-0.0010743460152298212,
0.010978718288242817,
-0.0026147274766117334,
0.02821306511759758,
-0.03486303240060806,
-0.011668809689581394,
0.0049202581867575645,
0.01210795808583498,
-0.009508914314210415,
-0.009983912110328674,
-0.0122782401740551,
-0.04018659144639969,
0.04792994633316994,
-0.03441492095589638,
-0.05678461864590645,
-0.01773623190820217,
0.0007690704078413546,
0.044273361563682556,
-0.04233752191066742,
-0.01488624606281519,
0.0429111048579216,
0.011874940246343613,
-0.053199734538793564,
0.02573949284851551,
-0.00980466790497303,
-0.060835544019937515,
0.012842860072851181,
-0.041548848152160645,
0.015594261698424816,
-0.01320134848356247,
-0.009473065845668316,
-0.017915476113557816,
0.01901782862842083,
0.0168937835842371,
0.01809472031891346,
0.08359958231449127,
0.05696386471390724,
-0.03516774624586105,
-0.019483864307403564,
0.025936661288142204,
0.05793178454041481,
-0.0019940936472266912,
-0.03405643254518509,
0.002872391138225794,
-0.02297912910580635,
-0.08632409572601318,
0.013541912660002708,
-0.09930139034986496,
-0.012484371662139893,
-0.06158836930990219,
0.018327737227082253,
0.032927192747592926,
0.041871488094329834,
0.007685102988034487,
-0.0521601140499115,
0.007438641972839832,
-0.011695696040987968,
-0.015074452385306358,
-0.016606992110610008,
0.028750799596309662,
-0.08065997064113617,
0.012690502218902111,
0.009020473808050156,
0.04334129020571709,
-0.00906528439372778,
0.0036812315229326487,
0.03242531046271324,
0.03853754326701164,
0.007729914039373398,
-0.08216562867164612,
0.01256503164768219,
0.022154605016112328,
0.029324380680918694,
-0.01905367709696293,
0.026886656880378723,
-0.03093758039176464,
0.06381099671125412,
0.03498850390315056,
-0.01628435216844082,
-0.010691927745938301,
0.01935839280486107,
-0.030202679336071014,
-0.08367127925157547,
0.010225892066955566,
0.03502435237169266,
0.0020400250796228647,
-0.04172809049487114,
-0.02396497316658497,
0.02084612101316452,
0.027531936764717102,
0.004767900798469782,
0.016606992110610008,
-0.0766448974609375,
0.013138613663613796,
-0.008088402450084686,
0.004682759288698435,
0.09356556832790375,
-0.027047976851463318,
0.06592608243227005,
-0.08453164994716644,
0.032909270375967026,
0.0001055861430359073,
0.016123032197356224,
0.01625746488571167,
-0.008030148223042488,
0.05140728875994682,
-0.02181404083967209,
-0.07707508653402328,
0.05237520858645439,
-0.062377046793699265,
0.004812711849808693,
-0.006690296810120344,
0.06011856719851494,
0.05305633693933487,
0.04341299086809158,
0.007116002030670643,
0.008339344523847103,
0.07764866948127747,
0.02509421296417713,
-0.008065997622907162,
-0.0038716786075383425,
-0.0736335888504982,
-0.029969660565257072,
-0.014913132414221764,
-0.04266016185283661,
0.02573949284851551,
-0.04043753445148468,
-0.036960192024707794,
0.03330360725522041,
-0.0002761483774520457,
0.043699782341718674,
-0.03133191913366318,
0.03432529792189598,
-0.025578172877430916,
0.013774930499494076,
0.04334129020571709,
0.01273531373590231,
-0.019555561244487762,
-0.02360648475587368,
0.019860276952385902,
-0.0013152057072147727,
-0.00948202796280384,
-0.052877094596624374,
-0.028607403859496117,
0.028033820912241936,
0.01040513627231121,
0.014671152457594872,
0.023660259321331978,
0.020666876807808876,
-0.03287341818213463,
0.06338081508874893,
-0.027675332501530647,
0.04771485552191734,
0.04362808167934418,
0.0009186274837702513,
0.012063146568834782,
0.017234347760677338,
0.042158279567956924,
-0.016365012153983116,
-0.023839503526687622,
-0.02392912469804287,
-0.03903942555189133,
0.04717712104320526,
0.00326224765740335,
-0.07843734323978424,
0.0036969154607504606,
-0.06502985954284668,
-0.05725065618753433,
-0.012815973721444607,
-0.03312436118721962,
-0.008263166062533855,
0.06485062092542648,
0.01333578210324049,
0.011668809689581394,
-0.011857016012072563,
-0.017270196229219437,
0.04423751309514046,
0.009069765917956829,
-0.032335687428712845,
-0.03432529792189598,
-0.04771485552191734,
-0.018856508657336235,
0.013631535694003105,
0.01711783930659294,
-0.022226303815841675,
-0.008281090296804905,
0.05395255982875824,
0.04825258627533913,
0.030489468947052956,
0.0428752563893795,
0.011874940246343613,
0.0030762816313654184,
0.045850712805986404,
-0.010611267760396004,
-0.017028216272592545,
0.061409126967191696,
0.034504543989896774,
-0.007976374588906765,
0.07822224497795105,
0.06094308942556381,
0.05151483416557312,
-0.013210310600697994,
0.00437356298789382,
-0.04843183234333992,
0.03950546309351921,
-0.05642613023519516,
-0.03653000667691231,
0.042158279567956924,
0.03100927732884884,
-0.0035692036617547274,
-0.004906815011054277,
0.0008648541406728327,
-0.0057627069763839245,
0.012457484379410744,
-0.009293821640312672,
-0.0013947453116998076,
-0.06090724095702171,
0.0037574104499071836,
0.04477524757385254,
-0.04115451127290726,
-0.03065078891813755,
0.025004591792821884,
0.05495632812380791,
0.048288438469171524,
-0.024950817227363586,
-0.007277322001755238,
0.01901782862842083,
0.0306328646838665,
-0.019770655781030655,
-0.008711276575922966,
0.012072109617292881,
0.027209296822547913,
-0.04653184115886688,
0.0070039741694927216,
0.08460334688425064,
0.00149669055826962,
0.028732875362038612,
0.06624872237443924,
-0.017933400347828865,
0.10761832445859909,
0.04656768962740898,
-0.0018260522047057748,
-0.007788168266415596,
-0.03857339173555374,
-0.008756088092923164,
0.004487831145524979,
-0.04663938656449318,
-0.07478075474500656,
-0.012645691633224487,
-0.05323558300733566,
-0.014724926091730595,
0.007810574024915695,
0.06678646057844162,
-0.05449029058218002,
-0.02143762819468975,
0.021652720868587494,
-0.03792811185121536,
-0.0245564803481102,
-0.011140038259327412,
-0.025685720145702362,
0.005341482814401388,
-0.022566867992281914,
-0.018820660188794136,
-0.01840839721262455,
0.015047566033899784,
-0.009715045802295208,
-0.015450865961611271,
-0.033895112574100494,
0.037497926503419876,
0.020415935665369034,
-0.03586680069565773,
-0.032963041216135025,
0.00932967010885477,
-0.002109482418745756,
0.06485062092542648,
0.026743261143565178,
-0.006067422218620777,
0.023373467847704887,
-0.03441492095589638,
-0.00359833100810647,
0.011695696040987968,
-0.030184753239154816,
-0.022925356402993202,
0.06363175809383392,
-0.09915798902511597,
0.048611078411340714,
0.05112049728631973,
0.020792348310351372,
-0.004933701828122139,
0.04359223321080208,
-0.030471544712781906,
-0.028320612385869026,
0.02608005702495575,
0.004888890311121941,
0.00674406997859478,
0.021527251228690147,
-0.045779015868902206,
-0.010145232081413269,
-0.062054406851530075,
-0.06004686653614044,
0.0337517186999321,
0.049794089049100876,
-0.01473388820886612,
0.00020921180839650333,
-0.014966906048357487,
0.016042372211813927,
-0.048288438469171524,
0.02728099562227726,
0.009562687948346138,
0.04086771979928017,
0.00844689179211855,
-0.061480823904275894,
-0.05144313722848892,
-0.018005099147558212,
0.08302599936723709,
0.02027253992855549,
-0.0798712968826294,
-0.03402058407664299,
-0.03437907248735428,
-0.00891292653977871,
0.04405827075242996,
-0.04136960208415985,
-0.045492224395275116,
0.003970263060182333,
0.036350760608911514,
-0.079727903008461,
-0.0009964867495000362,
-0.0214555524289608,
-0.04079602286219597,
-0.018874432891607285,
-0.06255628913640976,
-0.04724881798028946,
-0.011256547644734383,
-0.016365012153983116,
0.02050555683672428,
0.036655474454164505,
-0.0890486091375351,
-0.018480096012353897,
-0.041835639625787735,
-0.018748963251709938,
0.005484878085553646,
-0.017377743497490883,
0.08130525052547455,
-0.039111122488975525,
-0.03486303240060806,
0.02210083231329918,
-0.0015381408156827092,
-0.047392215579748154,
-0.031762104481458664,
0.029897963628172874,
-0.021312156692147255,
0.019716881215572357,
0.03031022474169731,
0.0029463295359164476,
0.028625328093767166,
-0.011068340390920639,
-0.029037589207291603,
-0.026581941172480583,
-0.036673400551080704,
0.056282736361026764,
0.03796396031975746,
-0.01273531373590231,
0.00041590299224480987,
0.013837666250765324,
-0.09306368231773376,
-0.016033409163355827,
0.027657408267259598,
-0.0002782488882075995,
-0.00967023428529501,
0.01180324237793684,
-0.03644038364291191,
-0.013685308396816254,
0.013631535694003105,
-0.044667698442935944,
0.023427240550518036,
-0.0025273459032177925,
0.017315007746219635,
-0.022226303815841675,
-0.0051487949676811695,
0.03903942555189133,
0.0705147385597229,
0.001902231015264988,
-0.0004537123313639313,
-0.013846628367900848,
-0.007626848295331001,
0.06298647820949554,
-0.012636728584766388,
-0.021365931257605553,
0.013452290557324886,
-0.07180529832839966,
-0.08539202064275742,
0.0033608321100473404,
0.04814504086971283,
0.015280583873391151,
-0.01316550001502037,
-0.05757329612970352,
-0.007174256257712841,
-0.055350665003061295,
0.04104696214199066,
0.055063873529434204,
-0.014617379754781723,
0.021365931257605553,
-0.009706083685159683,
0.03929036855697632,
0.007841941900551319,
-0.03932621702551842,
0.007322133053094149,
-0.02303290367126465,
-0.016463596373796463,
-0.03706773743033409,
-0.031421538442373276,
0.028589479625225067,
-0.036046046763658524,
-0.01746736466884613,
-0.027191372588276863,
0.018802735954523087,
0.02486119605600834,
-0.04653184115886688,
0.031726256012916565,
-0.024323463439941406,
-0.061158183962106705,
-0.04140545055270195,
-0.0275857113301754,
-0.03194135054945946,
-0.014205117709934711,
0.007398311980068684,
-0.03251492977142334,
0.05305633693933487,
-0.03653000667691231,
-0.04685448110103607,
-0.04405827075242996,
-0.002231592545285821,
-0.07750526815652847,
-0.005955394823104143,
0.022244228050112724,
-0.016947556287050247,
0.014724926091730595,
-0.057143110781908035,
0.0017554747173562646,
-0.060226112604141235,
-0.011390980333089828,
-0.049220506101846695,
-0.021348005160689354,
-0.04015074297785759,
0.0024690914433449507,
-0.06804116815328598,
0.0642411857843399,
-0.03613566607236862,
-0.0039209709502756596,
0.009679196402430534,
-0.0005279307370074093,
-0.03767716884613037,
0.0459941104054451,
-0.050439368933439255,
0.04197903349995613,
-0.026564016938209534,
0.030830033123493195,
0.03832244873046875,
-0.011086264625191689,
0.03739037737250328,
0.05552991107106209,
0.021007440984249115,
0.007546188309788704,
-0.055350665003061295,
0.04961484670639038,
0.00967023428529501,
0.031690407544374466,
0.004785825032740831,
-0.007075672037899494,
0.007326614111661911,
0.02357063628733158,
-0.029593247920274734,
0.008814342319965363,
-0.0037372454535216093,
-0.07836564630270004,
0.02054140716791153,
0.04416581615805626,
-0.01713576354086399,
0.03348284959793091,
0.03188757598400116,
-0.03445076942443848,
-0.02179611660540104,
0.01105041615664959,
-0.03133191913366318,
0.010871171951293945,
0.0013824222842231393,
-0.04205073043704033,
-0.073705293238163,
0.018282927572727203,
0.02426968887448311,
0.019985748454928398,
0.012977293692529202,
0.10876549035310745,
0.00006154523725854233,
0.048862017691135406,
0.04405827075242996,
0.030184753239154816,
-0.023176299408078194,
-0.01628435216844082,
0.05972422659397125,
-0.055637456476688385,
0.003029230050742626,
0.07571282982826233,
-0.024108368903398514,
0.022889507934451103,
0.06320156902074814,
-0.04334129020571709,
0.009320707991719246,
-0.05574500188231468,
0.03100927732884884,
0.004218964837491512,
-0.013111726380884647,
0.026528168469667435,
0.03348284959793091,
-0.0009858440607786179,
0.06485062092542648
]
|
29,316 | markupsafe | zfill | Pad a numeric string with zeros on the left, to fill a field of the given width.
The string is never truncated. | def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
@functools.wraps(func)
def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
arg_list = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, kwargs.items(), self.escape)
return self.__class__(func(self, *arg_list, **kwargs)) # type: ignore[arg-type]
return wrapped # type: ignore[return-value]
| (self, width, /) | [
0.006143601145595312,
-0.09844101220369339,
0.0767165943980217,
0.030740411952137947,
0.03000550903379917,
0.04868277534842491,
-0.00006221040530363098,
-0.0033518699929118156,
0.04997333511710167,
-0.016015484929084778,
0.025255532935261726,
0.03717528656125069,
0.011731544509530067,
-0.007277322001755238,
-0.0130489906296134,
0.04086771979928017,
0.020792348310351372,
-0.003914249129593372,
0.00560138700529933,
-0.0073759062215685844,
0.012529182247817516,
0.006363175809383392,
0.049865785986185074,
-0.030883807688951492,
0.02328384481370449,
0.04771485552191734,
-0.004104696214199066,
0.008030148223042488,
-0.00948202796280384,
-0.022298000752925873,
0.04416581615805626,
-0.025363080203533173,
-0.014196154661476612,
0.027496088296175003,
0.0673958882689476,
0.01025277841836214,
-0.09084105491638184,
0.03868093714118004,
-0.010674002580344677,
-0.08804483711719513,
0.027478164061903954,
-0.011471640318632126,
-0.010458909906446934,
-0.04237337037920952,
-0.024431008845567703,
0.0022674414794892073,
0.03717528656125069,
0.031726256012916565,
-0.005924026947468519,
-0.020415935665369034,
0.02421591617166996,
0.02600836008787155,
0.06990531086921692,
-0.006318364292383194,
-0.03149323910474777,
0.025004591792821884,
0.007008455228060484,
0.059043098241090775,
0.06485062092542648,
-0.03495265543460846,
-0.028732875362038612,
0.055243119597435,
0.0021778191439807415,
0.03565170615911484,
0.005484878085553646,
0.003580406541004777,
-0.05803932994604111,
-0.005771669093519449,
-0.01751217618584633,
-0.01303106639534235,
0.00997494999319315,
-0.030148904770612717,
-0.025631947442889214,
0.00397698488086462,
-0.02297912910580635,
-0.04943560063838959,
-0.03889603167772293,
-0.021276308223605156,
0.021276308223605156,
0.015459828078746796,
0.014070684090256691,
-0.04746391251683235,
-0.04312619939446449,
0.014509832486510277,
0.016723500564694405,
-0.05642613023519516,
-0.06001101806759834,
0.00874712597578764,
-0.00857236236333847,
0.06592608243227005,
0.009204198606312275,
-0.011704658158123493,
-0.010351362638175488,
0.01690274477005005,
-0.019448015838861465,
-0.008998068049550056,
0.02423384040594101,
-0.029342304915189743,
0.05954498425126076,
-0.003759650979191065,
-0.006833692081272602,
0.032909270375967026,
-0.009320707991719246,
-0.016678689047694206,
0.028930043801665306,
-0.027137599885463715,
-0.004606580827385187,
0.004357879050076008,
-0.025614023208618164,
-0.01779896765947342,
0.019824428483843803,
-0.03871678560972214,
-0.007066709920763969,
-0.023660259321331978,
0.02486119605600834,
-0.022208379581570625,
-0.017252271994948387,
-0.0029127211309969425,
0.031116824597120285,
-0.049184657633304596,
0.0429828017950058,
0.00193359877448529,
-0.05345067381858826,
-0.05574500188231468,
-0.010772587731480598,
0.06986945867538452,
-0.01652633212506771,
0.0368526466190815,
-0.0008424486150033772,
-0.006170487962663174,
0.005749263800680637,
0.0829543024301529,
0.005682046990841627,
0.01751217618584633,
0.04853937774896622,
-0.015845203772187233,
0.022889507934451103,
0.06388270109891891,
-0.049794089049100876,
0.05739405006170273,
-0.007599961943924427,
-0.0034123649820685387,
0.011677771806716919,
0.044667698442935944,
0.00029855393222533166,
-0.04749976098537445,
0.0459941104054451,
-0.017386704683303833,
0.042731862515211105,
0.005659641232341528,
0.06459967792034149,
-0.00341460551135242,
0.006770956330001354,
0.005480397026985884,
0.0065289768390357494,
0.04936390370130539,
0.05423935130238533,
0.017951324582099915,
0.05581670254468918,
0.011659846641123295,
0.033267758786678314,
-0.012036260217428207,
0.014841434545814991,
-0.015836240723729134,
0.05000918358564377,
0.0520167201757431,
0.03127814456820488,
-0.03559793531894684,
0.05692801624536514,
0.0062242611311376095,
0.03149323910474777,
-0.01197352446615696,
0.00859476812183857,
0.009598536416888237,
0.024090444669127464,
0.047069575637578964,
-0.021921588107943535,
0.04932805523276329,
-0.020129144191741943,
-0.01751217618584633,
0.010656078346073627,
-0.01780792884528637,
-0.03154700994491577,
-0.013264084234833717,
0.047392215579748154,
-0.003266728948801756,
0.05362991988658905,
-0.0005987882614135742,
-0.027657408267259598,
-0.04050923138856888,
0.008384156040847301,
0.0039433762431144714,
0.02633100003004074,
-0.010485796257853508,
-0.07449396699666977,
-0.06459967792034149,
-0.0397922545671463,
-0.028051745146512985,
0.06811286509037018,
-0.009338632225990295,
-0.01439332403242588,
0.019860276952385902,
0.0368526466190815,
0.015137188136577606,
0.03093758039176464,
-0.00047135670320130885,
0.0019089527195319533,
-0.0033765160478651524,
-0.07406377792358398,
-0.05155068263411522,
0.014070684090256691,
-0.05846951901912689,
-0.03957716003060341,
-0.01563907228410244,
0.003029230050742626,
0.01751217618584633,
0.04359223321080208,
0.014689077623188496,
-0.0199140515178442,
-0.029897963628172874,
0.02426968887448311,
-0.0018137290608137846,
0.002162135438993573,
-0.035992272198200226,
0.0673958882689476,
-0.012573993764817715,
0.0582902729511261,
-0.01627538911998272,
0.03402058407664299,
0.026814959943294525,
-0.027478164061903954,
0.011534376069903374,
0.014124457724392414,
0.022602716460824013,
0.006045016925781965,
-0.07252227514982224,
0.045205432921648026,
-0.06094308942556381,
-0.0046110618859529495,
-0.0398281030356884,
0.027496088296175003,
-0.012744275853037834,
0.025309307500720024,
0.008231798186898232,
0.0051039839163422585,
-0.007998780347406864,
-0.0007438641623593867,
0.07779206335544586,
0.0034706194419413805,
0.0019929734990000725,
-0.017843779176473618,
0.03932621702551842,
-0.0010743460152298212,
0.010978718288242817,
-0.0026147274766117334,
0.02821306511759758,
-0.03486303240060806,
-0.011668809689581394,
0.0049202581867575645,
0.01210795808583498,
-0.009508914314210415,
-0.009983912110328674,
-0.0122782401740551,
-0.04018659144639969,
0.04792994633316994,
-0.03441492095589638,
-0.05678461864590645,
-0.01773623190820217,
0.0007690704078413546,
0.044273361563682556,
-0.04233752191066742,
-0.01488624606281519,
0.0429111048579216,
0.011874940246343613,
-0.053199734538793564,
0.02573949284851551,
-0.00980466790497303,
-0.060835544019937515,
0.012842860072851181,
-0.041548848152160645,
0.015594261698424816,
-0.01320134848356247,
-0.009473065845668316,
-0.017915476113557816,
0.01901782862842083,
0.0168937835842371,
0.01809472031891346,
0.08359958231449127,
0.05696386471390724,
-0.03516774624586105,
-0.019483864307403564,
0.025936661288142204,
0.05793178454041481,
-0.0019940936472266912,
-0.03405643254518509,
0.002872391138225794,
-0.02297912910580635,
-0.08632409572601318,
0.013541912660002708,
-0.09930139034986496,
-0.012484371662139893,
-0.06158836930990219,
0.018327737227082253,
0.032927192747592926,
0.041871488094329834,
0.007685102988034487,
-0.0521601140499115,
0.007438641972839832,
-0.011695696040987968,
-0.015074452385306358,
-0.016606992110610008,
0.028750799596309662,
-0.08065997064113617,
0.012690502218902111,
0.009020473808050156,
0.04334129020571709,
-0.00906528439372778,
0.0036812315229326487,
0.03242531046271324,
0.03853754326701164,
0.007729914039373398,
-0.08216562867164612,
0.01256503164768219,
0.022154605016112328,
0.029324380680918694,
-0.01905367709696293,
0.026886656880378723,
-0.03093758039176464,
0.06381099671125412,
0.03498850390315056,
-0.01628435216844082,
-0.010691927745938301,
0.01935839280486107,
-0.030202679336071014,
-0.08367127925157547,
0.010225892066955566,
0.03502435237169266,
0.0020400250796228647,
-0.04172809049487114,
-0.02396497316658497,
0.02084612101316452,
0.027531936764717102,
0.004767900798469782,
0.016606992110610008,
-0.0766448974609375,
0.013138613663613796,
-0.008088402450084686,
0.004682759288698435,
0.09356556832790375,
-0.027047976851463318,
0.06592608243227005,
-0.08453164994716644,
0.032909270375967026,
0.0001055861430359073,
0.016123032197356224,
0.01625746488571167,
-0.008030148223042488,
0.05140728875994682,
-0.02181404083967209,
-0.07707508653402328,
0.05237520858645439,
-0.062377046793699265,
0.004812711849808693,
-0.006690296810120344,
0.06011856719851494,
0.05305633693933487,
0.04341299086809158,
0.007116002030670643,
0.008339344523847103,
0.07764866948127747,
0.02509421296417713,
-0.008065997622907162,
-0.0038716786075383425,
-0.0736335888504982,
-0.029969660565257072,
-0.014913132414221764,
-0.04266016185283661,
0.02573949284851551,
-0.04043753445148468,
-0.036960192024707794,
0.03330360725522041,
-0.0002761483774520457,
0.043699782341718674,
-0.03133191913366318,
0.03432529792189598,
-0.025578172877430916,
0.013774930499494076,
0.04334129020571709,
0.01273531373590231,
-0.019555561244487762,
-0.02360648475587368,
0.019860276952385902,
-0.0013152057072147727,
-0.00948202796280384,
-0.052877094596624374,
-0.028607403859496117,
0.028033820912241936,
0.01040513627231121,
0.014671152457594872,
0.023660259321331978,
0.020666876807808876,
-0.03287341818213463,
0.06338081508874893,
-0.027675332501530647,
0.04771485552191734,
0.04362808167934418,
0.0009186274837702513,
0.012063146568834782,
0.017234347760677338,
0.042158279567956924,
-0.016365012153983116,
-0.023839503526687622,
-0.02392912469804287,
-0.03903942555189133,
0.04717712104320526,
0.00326224765740335,
-0.07843734323978424,
0.0036969154607504606,
-0.06502985954284668,
-0.05725065618753433,
-0.012815973721444607,
-0.03312436118721962,
-0.008263166062533855,
0.06485062092542648,
0.01333578210324049,
0.011668809689581394,
-0.011857016012072563,
-0.017270196229219437,
0.04423751309514046,
0.009069765917956829,
-0.032335687428712845,
-0.03432529792189598,
-0.04771485552191734,
-0.018856508657336235,
0.013631535694003105,
0.01711783930659294,
-0.022226303815841675,
-0.008281090296804905,
0.05395255982875824,
0.04825258627533913,
0.030489468947052956,
0.0428752563893795,
0.011874940246343613,
0.0030762816313654184,
0.045850712805986404,
-0.010611267760396004,
-0.017028216272592545,
0.061409126967191696,
0.034504543989896774,
-0.007976374588906765,
0.07822224497795105,
0.06094308942556381,
0.05151483416557312,
-0.013210310600697994,
0.00437356298789382,
-0.04843183234333992,
0.03950546309351921,
-0.05642613023519516,
-0.03653000667691231,
0.042158279567956924,
0.03100927732884884,
-0.0035692036617547274,
-0.004906815011054277,
0.0008648541406728327,
-0.0057627069763839245,
0.012457484379410744,
-0.009293821640312672,
-0.0013947453116998076,
-0.06090724095702171,
0.0037574104499071836,
0.04477524757385254,
-0.04115451127290726,
-0.03065078891813755,
0.025004591792821884,
0.05495632812380791,
0.048288438469171524,
-0.024950817227363586,
-0.007277322001755238,
0.01901782862842083,
0.0306328646838665,
-0.019770655781030655,
-0.008711276575922966,
0.012072109617292881,
0.027209296822547913,
-0.04653184115886688,
0.0070039741694927216,
0.08460334688425064,
0.00149669055826962,
0.028732875362038612,
0.06624872237443924,
-0.017933400347828865,
0.10761832445859909,
0.04656768962740898,
-0.0018260522047057748,
-0.007788168266415596,
-0.03857339173555374,
-0.008756088092923164,
0.004487831145524979,
-0.04663938656449318,
-0.07478075474500656,
-0.012645691633224487,
-0.05323558300733566,
-0.014724926091730595,
0.007810574024915695,
0.06678646057844162,
-0.05449029058218002,
-0.02143762819468975,
0.021652720868587494,
-0.03792811185121536,
-0.0245564803481102,
-0.011140038259327412,
-0.025685720145702362,
0.005341482814401388,
-0.022566867992281914,
-0.018820660188794136,
-0.01840839721262455,
0.015047566033899784,
-0.009715045802295208,
-0.015450865961611271,
-0.033895112574100494,
0.037497926503419876,
0.020415935665369034,
-0.03586680069565773,
-0.032963041216135025,
0.00932967010885477,
-0.002109482418745756,
0.06485062092542648,
0.026743261143565178,
-0.006067422218620777,
0.023373467847704887,
-0.03441492095589638,
-0.00359833100810647,
0.011695696040987968,
-0.030184753239154816,
-0.022925356402993202,
0.06363175809383392,
-0.09915798902511597,
0.048611078411340714,
0.05112049728631973,
0.020792348310351372,
-0.004933701828122139,
0.04359223321080208,
-0.030471544712781906,
-0.028320612385869026,
0.02608005702495575,
0.004888890311121941,
0.00674406997859478,
0.021527251228690147,
-0.045779015868902206,
-0.010145232081413269,
-0.062054406851530075,
-0.06004686653614044,
0.0337517186999321,
0.049794089049100876,
-0.01473388820886612,
0.00020921180839650333,
-0.014966906048357487,
0.016042372211813927,
-0.048288438469171524,
0.02728099562227726,
0.009562687948346138,
0.04086771979928017,
0.00844689179211855,
-0.061480823904275894,
-0.05144313722848892,
-0.018005099147558212,
0.08302599936723709,
0.02027253992855549,
-0.0798712968826294,
-0.03402058407664299,
-0.03437907248735428,
-0.00891292653977871,
0.04405827075242996,
-0.04136960208415985,
-0.045492224395275116,
0.003970263060182333,
0.036350760608911514,
-0.079727903008461,
-0.0009964867495000362,
-0.0214555524289608,
-0.04079602286219597,
-0.018874432891607285,
-0.06255628913640976,
-0.04724881798028946,
-0.011256547644734383,
-0.016365012153983116,
0.02050555683672428,
0.036655474454164505,
-0.0890486091375351,
-0.018480096012353897,
-0.041835639625787735,
-0.018748963251709938,
0.005484878085553646,
-0.017377743497490883,
0.08130525052547455,
-0.039111122488975525,
-0.03486303240060806,
0.02210083231329918,
-0.0015381408156827092,
-0.047392215579748154,
-0.031762104481458664,
0.029897963628172874,
-0.021312156692147255,
0.019716881215572357,
0.03031022474169731,
0.0029463295359164476,
0.028625328093767166,
-0.011068340390920639,
-0.029037589207291603,
-0.026581941172480583,
-0.036673400551080704,
0.056282736361026764,
0.03796396031975746,
-0.01273531373590231,
0.00041590299224480987,
0.013837666250765324,
-0.09306368231773376,
-0.016033409163355827,
0.027657408267259598,
-0.0002782488882075995,
-0.00967023428529501,
0.01180324237793684,
-0.03644038364291191,
-0.013685308396816254,
0.013631535694003105,
-0.044667698442935944,
0.023427240550518036,
-0.0025273459032177925,
0.017315007746219635,
-0.022226303815841675,
-0.0051487949676811695,
0.03903942555189133,
0.0705147385597229,
0.001902231015264988,
-0.0004537123313639313,
-0.013846628367900848,
-0.007626848295331001,
0.06298647820949554,
-0.012636728584766388,
-0.021365931257605553,
0.013452290557324886,
-0.07180529832839966,
-0.08539202064275742,
0.0033608321100473404,
0.04814504086971283,
0.015280583873391151,
-0.01316550001502037,
-0.05757329612970352,
-0.007174256257712841,
-0.055350665003061295,
0.04104696214199066,
0.055063873529434204,
-0.014617379754781723,
0.021365931257605553,
-0.009706083685159683,
0.03929036855697632,
0.007841941900551319,
-0.03932621702551842,
0.007322133053094149,
-0.02303290367126465,
-0.016463596373796463,
-0.03706773743033409,
-0.031421538442373276,
0.028589479625225067,
-0.036046046763658524,
-0.01746736466884613,
-0.027191372588276863,
0.018802735954523087,
0.02486119605600834,
-0.04653184115886688,
0.031726256012916565,
-0.024323463439941406,
-0.061158183962106705,
-0.04140545055270195,
-0.0275857113301754,
-0.03194135054945946,
-0.014205117709934711,
0.007398311980068684,
-0.03251492977142334,
0.05305633693933487,
-0.03653000667691231,
-0.04685448110103607,
-0.04405827075242996,
-0.002231592545285821,
-0.07750526815652847,
-0.005955394823104143,
0.022244228050112724,
-0.016947556287050247,
0.014724926091730595,
-0.057143110781908035,
0.0017554747173562646,
-0.060226112604141235,
-0.011390980333089828,
-0.049220506101846695,
-0.021348005160689354,
-0.04015074297785759,
0.0024690914433449507,
-0.06804116815328598,
0.0642411857843399,
-0.03613566607236862,
-0.0039209709502756596,
0.009679196402430534,
-0.0005279307370074093,
-0.03767716884613037,
0.0459941104054451,
-0.050439368933439255,
0.04197903349995613,
-0.026564016938209534,
0.030830033123493195,
0.03832244873046875,
-0.011086264625191689,
0.03739037737250328,
0.05552991107106209,
0.021007440984249115,
0.007546188309788704,
-0.055350665003061295,
0.04961484670639038,
0.00967023428529501,
0.031690407544374466,
0.004785825032740831,
-0.007075672037899494,
0.007326614111661911,
0.02357063628733158,
-0.029593247920274734,
0.008814342319965363,
-0.0037372454535216093,
-0.07836564630270004,
0.02054140716791153,
0.04416581615805626,
-0.01713576354086399,
0.03348284959793091,
0.03188757598400116,
-0.03445076942443848,
-0.02179611660540104,
0.01105041615664959,
-0.03133191913366318,
0.010871171951293945,
0.0013824222842231393,
-0.04205073043704033,
-0.073705293238163,
0.018282927572727203,
0.02426968887448311,
0.019985748454928398,
0.012977293692529202,
0.10876549035310745,
0.00006154523725854233,
0.048862017691135406,
0.04405827075242996,
0.030184753239154816,
-0.023176299408078194,
-0.01628435216844082,
0.05972422659397125,
-0.055637456476688385,
0.003029230050742626,
0.07571282982826233,
-0.024108368903398514,
0.022889507934451103,
0.06320156902074814,
-0.04334129020571709,
0.009320707991719246,
-0.05574500188231468,
0.03100927732884884,
0.004218964837491512,
-0.013111726380884647,
0.026528168469667435,
0.03348284959793091,
-0.0009858440607786179,
0.06485062092542648
]
|
29,317 | quart.app | Quart | The web framework class, handles requests and returns responses.
The primary method from a serving viewpoint is
:meth:`~quart.app.Quart.handle_request`, from an application
viewpoint all the other methods are vital.
This can be extended in many ways, with most methods designed with
this in mind. Additionally any of the classes listed as attributes
can be replaced.
Attributes:
aborter_class: The class to use to raise HTTP error via the abort
helper function.
app_ctx_globals_class: The class to use for the ``g`` object
asgi_http_class: The class to use to handle the ASGI HTTP
protocol.
asgi_lifespan_class: The class to use to handle the ASGI
lifespan protocol.
asgi_websocket_class: The class to use to handle the ASGI
websocket protocol.
config_class: The class to use for the configuration.
env: The name of the environment the app is running on.
event_class: The class to use to signal an event in an async
manner.
debug: Wrapper around configuration DEBUG value, in many places
this will result in more output if True. If unset, debug
mode will be activated if environ is set to 'development'.
jinja_environment: The class to use for the jinja environment.
jinja_options: The default options to set when creating the jinja
environment.
permanent_session_lifetime: Wrapper around configuration
PERMANENT_SESSION_LIFETIME value. Specifies how long the session
data should survive.
request_class: The class to use for requests.
response_class: The class to user for responses.
secret_key: Warpper around configuration SECRET_KEY value. The app
secret for signing sessions.
session_interface: The class to use as the session interface.
shutdown_event: This event is set when the app starts to
shutdown allowing waiting tasks to know when to stop.
url_map_class: The class to map rules to endpoints.
url_rule_class: The class to use for URL rules.
websocket_class: The class to use for websockets.
| class Quart(App):
"""The web framework class, handles requests and returns responses.
The primary method from a serving viewpoint is
:meth:`~quart.app.Quart.handle_request`, from an application
viewpoint all the other methods are vital.
This can be extended in many ways, with most methods designed with
this in mind. Additionally any of the classes listed as attributes
can be replaced.
Attributes:
aborter_class: The class to use to raise HTTP error via the abort
helper function.
app_ctx_globals_class: The class to use for the ``g`` object
asgi_http_class: The class to use to handle the ASGI HTTP
protocol.
asgi_lifespan_class: The class to use to handle the ASGI
lifespan protocol.
asgi_websocket_class: The class to use to handle the ASGI
websocket protocol.
config_class: The class to use for the configuration.
env: The name of the environment the app is running on.
event_class: The class to use to signal an event in an async
manner.
debug: Wrapper around configuration DEBUG value, in many places
this will result in more output if True. If unset, debug
mode will be activated if environ is set to 'development'.
jinja_environment: The class to use for the jinja environment.
jinja_options: The default options to set when creating the jinja
environment.
permanent_session_lifetime: Wrapper around configuration
PERMANENT_SESSION_LIFETIME value. Specifies how long the session
data should survive.
request_class: The class to use for requests.
response_class: The class to user for responses.
secret_key: Warpper around configuration SECRET_KEY value. The app
secret for signing sessions.
session_interface: The class to use as the session interface.
shutdown_event: This event is set when the app starts to
shutdown allowing waiting tasks to know when to stop.
url_map_class: The class to map rules to endpoints.
url_rule_class: The class to use for URL rules.
websocket_class: The class to use for websockets.
"""
asgi_http_class: type[ASGIHTTPProtocol]
asgi_lifespan_class: type[ASGILifespanProtocol]
asgi_websocket_class: type[ASGIWebsocketProtocol]
shutdown_event: Event
test_app_class: type[TestAppProtocol]
test_client_class: type[TestClientProtocol] # type: ignore[assignment]
aborter_class = Aborter
app_ctx_globals_class = _AppCtxGlobals
asgi_http_class = ASGIHTTPConnection
asgi_lifespan_class = ASGILifespan
asgi_websocket_class = ASGIWebsocketConnection
config_class = Config
event_class = asyncio.Event
jinja_environment = Environment # type: ignore[assignment]
lock_class = asyncio.Lock
request_class = Request
response_class = Response
session_interface = SecureCookieSessionInterface()
test_app_class = TestApp
test_client_class = QuartClient # type: ignore[assignment]
test_cli_runner_class = QuartCliRunner # type: ignore
url_map_class = QuartMap
url_rule_class = QuartRule # type: ignore[assignment]
websocket_class = Websocket
default_config = ImmutableDict(
{
"APPLICATION_ROOT": "/",
"BACKGROUND_TASK_SHUTDOWN_TIMEOUT": 5, # Second
"BODY_TIMEOUT": 60, # Second
"DEBUG": None,
"ENV": None,
"EXPLAIN_TEMPLATE_LOADING": False,
"MAX_CONTENT_LENGTH": 16 * 1024 * 1024, # 16 MB Limit
"MAX_COOKIE_SIZE": 4093,
"PERMANENT_SESSION_LIFETIME": timedelta(days=31),
# Replaces PREFERRED_URL_SCHEME to allow for WebSocket scheme
"PREFER_SECURE_URLS": False,
"PRESERVE_CONTEXT_ON_EXCEPTION": None,
"PROPAGATE_EXCEPTIONS": None,
"RESPONSE_TIMEOUT": 60, # Second
"SECRET_KEY": None,
"SEND_FILE_MAX_AGE_DEFAULT": timedelta(hours=12),
"SERVER_NAME": None,
"SESSION_COOKIE_DOMAIN": None,
"SESSION_COOKIE_HTTPONLY": True,
"SESSION_COOKIE_NAME": "session",
"SESSION_COOKIE_PATH": None,
"SESSION_COOKIE_SAMESITE": None,
"SESSION_COOKIE_SECURE": False,
"SESSION_REFRESH_EACH_REQUEST": True,
"TEMPLATES_AUTO_RELOAD": None,
"TESTING": False,
"TRAP_BAD_REQUEST_ERRORS": None,
"TRAP_HTTP_EXCEPTIONS": False,
}
)
def __init__(
self,
import_name: str,
static_url_path: str | None = None,
static_folder: str | None = "static",
static_host: str | None = None,
host_matching: bool = False,
subdomain_matching: bool = False,
template_folder: str | None = "templates",
instance_path: str | None = None,
instance_relative_config: bool = False,
root_path: str | None = None,
) -> None:
"""Construct a Quart web application.
Use to create a new web application to which requests should
be handled, as specified by the various attached url
rules. See also :class:`~quart.static.PackageStatic` for
additional constructor arguments.
Arguments:
import_name: The name at import of the application, use
``__name__`` unless there is a specific issue.
host_matching: Optionally choose to match the host to the
configured host on request (404 if no match).
instance_path: Optional path to an instance folder, for
deployment specific settings and files.
instance_relative_config: If True load the config from a
path relative to the instance path.
Attributes:
after_request_funcs: The functions to execute after a
request has been handled.
after_websocket_funcs: The functions to execute after a
websocket has been handled.
before_request_funcs: The functions to execute before handling
a request.
before_websocket_funcs: The functions to execute before handling
a websocket.
"""
super().__init__(
import_name,
static_url_path,
static_folder,
static_host,
host_matching,
subdomain_matching,
template_folder,
instance_path,
instance_relative_config,
root_path,
)
self.after_serving_funcs: list[Callable[[], Awaitable[None]]] = []
self.after_websocket_funcs: dict[AppOrBlueprintKey, list[AfterWebsocketCallable]] = (
defaultdict(list)
)
self.background_tasks: WeakSet[asyncio.Task] = WeakSet()
self.before_serving_funcs: list[Callable[[], Awaitable[None]]] = []
self.before_websocket_funcs: dict[AppOrBlueprintKey, list[BeforeWebsocketCallable]] = (
defaultdict(list)
)
self.teardown_websocket_funcs: dict[AppOrBlueprintKey, list[TeardownCallable]] = (
defaultdict(list)
)
self.while_serving_gens: list[AsyncGenerator[None, None]] = []
self.template_context_processors[None] = [_default_template_ctx_processor]
self.cli = AppGroup()
self.cli.name = self.name
if self.has_static_folder:
assert (
bool(static_host) == host_matching
), "Invalid static_host/host_matching combination"
self.add_url_rule(
f"{self.static_url_path}/<path:filename>",
"static",
self.send_static_file,
host=static_host,
)
def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configur | (import_name: 'str', static_url_path: 'str | None' = None, static_folder: 'str | None' = 'static', static_host: 'str | None' = None, host_matching: 'bool' = False, subdomain_matching: 'bool' = False, template_folder: 'str | None' = 'templates', instance_path: 'str | None' = None, instance_relative_config: 'bool' = False, root_path: 'str | None' = None) -> 'None' | [
0.04277261719107628,
-0.04005524888634682,
-0.11848554015159607,
-0.04073977470397949,
0.031986117362976074,
0.013545352965593338,
-0.03530504181981087,
0.030202196910977364,
-0.06737413257360458,
-0.005839229561388493,
0.05372506007552147,
-0.0018046642653644085,
0.03182017058134079,
0.0457596480846405,
0.00940188579261303,
0.0017929961904883385,
0.06496791541576385,
-0.03213132172822952,
0.059242770075798035,
-0.101890929043293,
-0.0243940819054842,
0.016459781676530838,
0.0011421761009842157,
0.0018980088643729687,
-0.017880696803331375,
-0.003181498497724533,
-0.028729423880577087,
0.022444214671850204,
0.026613611727952957,
-0.020940328016877174,
0.009666362777352333,
-0.008561783470213413,
0.05239749327301979,
0.008349165320396423,
0.04965938255190849,
-0.045510727912187576,
-0.005719956010580063,
-0.0466308631002903,
-0.048622217029333115,
-0.0017813279991969466,
0.02034914493560791,
0.002792562358081341,
0.0222367811948061,
-0.02796192467212677,
0.030948953703045845,
0.057790741324424744,
-0.012394102290272713,
0.08197738975286484,
-0.02885388396680355,
0.027982667088508606,
0.008675871416926384,
0.02547273226082325,
-0.004509067628532648,
0.07650116831064224,
-0.0070008523762226105,
0.06621250510215759,
-0.03445456549525261,
0.06434561312198639,
-0.035927336663007736,
-0.03339666128158569,
-0.018036270514130592,
0.050115734338760376,
0.028791654855012894,
0.018783027306199074,
0.03304402530193329,
0.007379417307674885,
-0.033956728875637054,
0.026260975748300552,
-0.016200492158532143,
-0.033915240317583084,
0.031052671372890472,
0.007835769094526768,
-0.03059631958603859,
-0.02062917873263359,
0.008261006325483322,
-0.039412207901477814,
-0.001869486877694726,
-0.029434695839881897,
-0.06588061898946762,
0.03773200139403343,
0.05260492488741875,
-0.002675881376489997,
-0.02655138075351715,
-0.03885214030742645,
0.09824011474847794,
-0.015526335686445236,
-0.013296433724462986,
-0.02250644378364086,
-0.07899036258459091,
-0.01203109510242939,
-0.03200685977935791,
0.020463231950998306,
0.01522555761039257,
0.030471859499812126,
0.009479672648012638,
-0.05849601328372955,
-0.020743267610669136,
-0.060694798827171326,
-0.0063733686693012714,
-0.04982532560825348,
-0.01819184422492981,
0.05915979668498039,
-0.058827903121709824,
-0.03524281084537506,
0.03157125040888786,
-0.03314774110913277,
-0.012331872247159481,
-0.03173719719052315,
0.011999979615211487,
-0.023937730118632317,
0.0018448543269187212,
-0.006503014359623194,
-0.018067386001348495,
0.017372485250234604,
-0.03883139416575432,
0.012912683188915253,
-0.047294650226831436,
0.03862396255135536,
0.05866196006536484,
-0.05032316595315933,
-0.037483084946870804,
0.02532752975821495,
-0.013991333544254303,
0.012228155508637428,
0.07724792510271072,
0.036072541028261185,
0.008395837619900703,
-0.009225567802786827,
-0.0013534981990233064,
-0.0241036769002676,
0.011087276041507721,
0.041610993444919586,
0.0008413987816311419,
0.0013249762123450637,
0.012923055328428745,
0.03327219933271408,
-0.02339840494096279,
0.017216911539435387,
-0.031882401555776596,
0.09060659259557724,
-0.009515973739326,
0.026012057438492775,
-0.021282590925693512,
-0.007260143291205168,
-0.008302493020892143,
-0.02621948905289173,
-0.04965938255190849,
-0.04750208184123039,
-0.039412207901477814,
-0.012632649391889572,
0.0536835752427578,
-0.00016067929391283542,
-0.012248898856341839,
0.023668067529797554,
-0.01973721757531166,
0.013638697564601898,
-0.026758814230561256,
0.029289493337273598,
0.011014674790203571,
-0.04078126326203346,
-0.050447624176740646,
-0.032774362713098526,
0.011709574609994888,
-0.03493165969848633,
-0.011688831262290478,
0.022340498864650726,
0.02773374877870083,
0.022900566458702087,
0.03393598645925522,
0.08795145153999329,
-0.016615357249975204,
0.009344841353595257,
-0.027567801997065544,
-0.00688676442950964,
-0.0007914853049442172,
0.05177519470453262,
0.006114077754318714,
-0.027235910296440125,
0.0077476100996136665,
-0.04179768264293671,
-0.009987883269786835,
-0.072393998503685,
-0.03702673316001892,
0.015661166980862617,
0.022817593067884445,
0.05015721917152405,
-0.022216038778424263,
0.038561731576919556,
0.037151191383600235,
0.020764010027050972,
-0.06575615704059601,
-0.023336175829172134,
0.03897659853100777,
-0.024477055296301842,
0.017227282747626305,
0.01861708238720894,
0.012487446889281273,
-0.014240252785384655,
0.039744097739458084,
-0.027132192626595497,
-0.03924626111984253,
0.005839229561388493,
0.03262915834784508,
-0.07139832526445389,
0.004610191099345684,
0.00975452084094286,
0.0009626172250136733,
-0.017030222341418266,
0.018077757209539413,
-0.0035004261881113052,
-0.08662388473749161,
0.000004157769126322819,
-0.002106738043949008,
-0.0012919165892526507,
0.043353427201509476,
-0.029413951560854912,
0.00825063418596983,
0.0014209137298166752,
0.00734311668202281,
0.022257525473833084,
0.05725141614675522,
0.004677606746554375,
-0.05335168167948723,
0.0032489141449332237,
-0.042274776846170425,
0.007104569114744663,
0.00344338221475482,
0.04766802862286568,
-0.02063954994082451,
-0.005089879035949707,
-0.005214338656514883,
0.04397572576999664,
0.08911307156085968,
0.02487117610871792,
0.014987010508775711,
0.027609288692474365,
0.0007532399031333625,
0.08811739832162857,
0.030865980312228203,
-0.011222107335925102,
0.010910958051681519,
-0.004879853688180447,
-0.0028833141550421715,
-0.025348272174596786,
-0.005616239737719297,
0.018067386001348495,
0.008261006325483322,
0.02852199226617813,
-0.006176307797431946,
-0.03675707057118416,
-0.03192388638854027,
-0.023253202438354492,
-0.0331684835255146,
-0.03356260433793068,
-0.028210842981934547,
0.010983560234308243,
0.007669822778552771,
0.031322333961725235,
-0.01372167095541954,
0.012912683188915253,
0.0313015915453434,
0.01673981547355652,
-0.028542734682559967,
0.0653412938117981,
0.0027458900585770607,
-0.002691438887268305,
0.016978364437818527,
-0.02339840494096279,
-0.07193765044212341,
-0.0018215181771665812,
0.07372157275676727,
0.060985203832387924,
-0.013960218988358974,
0.020691407844424248,
-0.04675532504916191,
-0.057126957923173904,
-0.026012057438492775,
0.0060414765030145645,
-0.05405695363879204,
-0.05048911273479462,
-0.008940348401665688,
-0.042378492653369904,
0.07500765472650528,
0.024643000215291977,
0.011885891668498516,
-0.048995595425367355,
-0.017165053635835648,
0.05650465935468674,
0.030388886108994484,
-0.009873795323073864,
-0.020743267610669136,
-0.01851336658000946,
-0.00380120356567204,
-0.020857354626059532,
-0.01351423840969801,
0.0034796830732375383,
-0.038789909332990646,
0.0515262745320797,
0.021407051011919975,
-0.03756605461239815,
0.05156776309013367,
0.031467534601688385,
0.02792043797671795,
0.03155050799250603,
-0.010537579655647278,
0.03916328772902489,
0.035740647464990616,
0.007156427018344402,
0.027982667088508606,
-0.009464115835726261,
0.028687939047813416,
-0.04459802433848381,
0.032400984317064285,
0.037420853972435,
-0.024311108514666557,
0.031986117362976074,
0.011564371176064014,
-0.005146923009306192,
0.00972859188914299,
0.02153151109814644,
-0.017372485250234604,
0.055550467222929,
0.06052885204553604,
0.04092646390199661,
0.031840912997722626,
-0.011170249432325363,
0.043311942368745804,
-0.02599131315946579,
-0.005948131904006004,
-0.009619690477848053,
-0.0777042806148529,
0.051484789699316025,
-0.05766628310084343,
-0.022589417174458504,
-0.012487446889281273,
-0.004579076077789068,
-0.0291442908346653,
-0.018575595691800117,
-0.010044926777482033,
-0.07359711080789566,
0.03406044468283653,
0.010869472287595272,
-0.011149506084620953,
0.046547889709472656,
-0.04356085881590843,
-0.07322373241186142,
0.02312874235212803,
-0.010511650703847408,
0.025597190484404564,
-0.032027605921030045,
0.03627997264266014,
-0.03430936485528946,
0.01639755256474018,
0.06023844704031944,
0.042606670409440994,
-0.11475175619125366,
-0.00850473903119564,
-0.049078568816185,
-0.016812417656183243,
0.01865856908261776,
-0.03457902744412422,
0.03175794333219528,
-0.04750208184123039,
0.0337492935359478,
-0.045427754521369934,
-0.03632146120071411,
0.047170188277959824,
-0.05936722829937935,
-0.002823677146807313,
0.022444214671850204,
0.018534108996391296,
-0.03078300878405571,
-0.006352625321596861,
-0.023668067529797554,
0.0011771804420277476,
-0.018222959712147713,
-0.023709554225206375,
-0.015630051493644714,
-0.06438709795475006,
0.02499563619494438,
0.03621774539351463,
0.058205608278512955,
-0.01390836015343666,
0.0038375044241547585,
-0.0036352574825286865,
-0.049037083983421326,
-0.00535694882273674,
-0.008758844807744026,
-0.0046127839013934135,
0.027609288692474365,
0.0411546416580677,
-0.0025332714430987835,
-0.0006342902197502553,
0.020805496722459793,
-0.031052671372890472,
-0.04609153792262077,
-0.05198262631893158,
0.08011049777269363,
0.03854098916053772,
-0.008006901480257511,
0.04480545595288277,
-0.014841807074844837,
0.050115734338760376,
0.032587673515081406,
0.03970261290669441,
-0.003855654736980796,
0.07608630508184433,
0.03082449547946453,
0.03397747129201889,
0.07314076274633408,
-0.04088497906923294,
-0.031177129596471786,
-0.11226256191730499,
0.006015547551214695,
-0.03445456549525261,
-0.030139965936541557,
0.012580791488289833,
0.003531541209667921,
0.03547098487615585,
0.04737761989235878,
-0.029725100845098495,
0.02829381637275219,
0.08911307156085968,
0.005719956010580063,
-0.01728951372206211,
0.031052671372890472,
-0.01927049458026886,
0.024933407083153725,
-0.0598650686442852,
-0.005281754303723574,
0.041009437292814255,
0.018243703991174698,
-0.07811914384365082,
-0.01997576653957367,
0.02721516601741314,
-0.010278289206326008,
-0.009012949652969837,
0.00020694649720098823,
-0.008432137779891491,
-0.011522884480655193,
-0.023253202438354492,
-0.0268417876213789,
0.023979216814041138,
0.04775100201368332,
0.037151191383600235,
0.016148632392287254,
-0.07226954400539398,
-0.005206559784710407,
0.07002926617860794,
-0.03866545110940933,
-0.07015372812747955,
-0.006560058332979679,
-0.033728551119565964,
0.028563478961586952,
-0.024373339489102364,
-0.04571815952658653,
0.03406044468283653,
-0.012653392739593983,
-0.04912005737423897,
-0.044390592724084854,
0.013669813051819801,
0.003539319848641753,
0.01988242194056511,
-0.01889711618423462,
0.008100246079266071,
0.07334819436073303,
0.07961265742778778,
-0.011108019389212132,
-0.03082449547946453,
-0.009163337759673595,
0.0023854756727814674,
0.045095860958099365,
-0.011035418137907982,
-0.019052689895033836,
0.004757986869663,
0.003228170797228813,
-0.011263594031333923,
-0.015308531001210213,
-0.032235037535429,
-0.029455438256263733,
0.03553321585059166,
0.0015777847729623318,
0.004221254959702492,
0.051111411303281784,
-0.04011747986078262,
-0.07546400278806686,
0.06774751096963882,
-0.026986990123987198,
0.045510727912187576,
-0.041942887008190155,
-0.030139965936541557,
0.0033967099152505398,
0.011854777112603188,
-0.0047372435219585896,
-0.0164079237729311,
0.01728951372206211,
-0.0051935953088104725,
0.009360399097204208,
0.02250644378364086,
-0.027982667088508606,
0.007477947510778904,
-0.01875191368162632,
0.004060494713485241,
0.07463427633047104,
0.017496945336461067,
-0.0149662671610713,
-0.05849601328372955,
0.018077757209539413,
0.0018046642653644085,
-0.009510788135230541,
-0.019000831991434097,
0.026095028966665268,
-0.001958942273631692,
-0.023854756727814674,
0.0558408759534359,
0.0005561788566410542,
-0.026260975748300552,
-0.007322373334318399,
0.02406219020485878,
-0.040490858256816864,
0.02617800235748291,
0.022340498864650726,
0.08421766012907028,
0.022029349580407143,
-0.022527188062667847,
0.009593760594725609,
0.05704398453235626,
-0.004669827874749899,
0.0030907467007637024,
0.09658065438270569,
0.0029533226042985916,
0.01368018426001072,
0.023896243423223495,
-0.0004223199503030628,
0.021127017214894295,
0.03916328772902489,
-0.03225577995181084,
-0.048248838633298874,
-0.010568694211542606,
0.010942073538899422,
-0.0032618786208331585,
0.04225403442978859,
-0.006653402931988239,
-0.07015372812747955,
-0.0628935843706131,
-0.06973886489868164,
0.026634354144334793,
0.025783881545066833,
-0.004493510350584984,
-0.06019696220755577,
-0.010127900168299675,
0.025534961372613907,
0.0745512992143631,
0.000004142576472077053,
-0.03661186620593071,
-0.07015372812747955,
0.026862530037760735,
0.02250644378364086,
-0.008779588155448437,
0.00037694405182264745,
-0.0057873716577887535,
-0.031094156205654144,
-0.08359536528587341,
-0.04094721004366875,
0.0162627212703228,
0.03356260433793068,
0.0024438160471618176,
-0.0011843108804896474,
-0.03827132657170296,
-0.025078609585762024,
-0.027194423601031303,
0.015464105643332005,
0.05098694935441017,
0.0012005165917798877,
-0.012331872247159481,
0.013431265018880367,
0.018036270514130592,
0.022381985560059547,
0.05579938739538193,
-0.05057208612561226,
0.04978384077548981,
0.013752785511314869,
-0.05422290042042732,
-0.04013822227716446,
-0.021738944575190544,
-0.026157259941101074,
0.10769904404878616,
0.07206211239099503,
0.006430412642657757,
-0.031052671372890472,
-0.037483084946870804,
0.02387550100684166,
0.005082100164145231,
-0.005167666357010603,
0.043892752379179,
0.05870344489812851,
-0.016511639580130577,
0.007457204628735781,
0.005045799538493156,
0.03808463737368584,
-0.005263603758066893,
0.07139832526445389,
0.03725490719079971,
-0.061690475791692734,
0.03387375548481941,
0.011626601219177246,
0.002193600405007601,
-0.007675008848309517,
0.01865856908261776,
-0.03435084968805313,
-0.00793948583304882,
-0.0377734899520874,
-0.04468099772930145,
0.0042160688899457455,
-0.026572125032544136,
-0.031695712357759476,
-0.06899210810661316,
0.06816237419843674,
0.023004282265901566,
-0.025825366377830505,
0.029683614149689674,
-0.020784754306077957,
0.004817623645067215,
0.011087276041507721,
-0.022547930479049683,
0.00794467143714428,
0.031052671372890472,
-0.015775253996253014,
-0.11533256620168686,
-0.01372167095541954,
0.041341330856084824,
-0.00535694882273674,
0.012643021531403065,
-0.041610993444919586,
0.04430761933326721,
-0.008541040122509003,
-0.00914259534329176,
0.006959366146475077,
0.005652540363371372,
0.0008446399006061256,
0.047543566673994064,
-0.034330107271671295,
0.003134826198220253,
-0.0022571266163140535,
0.021220361813902855,
0.005528080742806196,
0.04217106103897095,
-0.08023495972156525,
0.010662038810551167,
-0.04078126326203346,
-0.011688831262290478,
0.055716414004564285,
-0.02443556860089302,
0.011699202470481396,
-0.08571118116378784,
0.06538277864456177,
-0.037151191383600235,
-0.04592559114098549,
0.0016439039027318358,
0.019343096762895584,
0.014914409257471561,
-0.01828519068658352,
0.009676733985543251,
-0.03671558201313019,
0.020701780915260315,
0.013244575820863247,
0.029621385037899017,
-0.00746239023283124,
0.04167322441935539,
0.013140860013663769,
0.041382815688848495,
0.02480894699692726,
0.011813290417194366,
-0.027339626103639603,
-0.023253202438354492,
0.03449605405330658,
-0.016511639580130577,
-0.0241036769002676,
-0.009552274830639362,
-0.03225577995181084,
-0.006186679471284151,
0.06812088936567307,
-0.029642129316926003,
0.025680163875222206,
0.00014641830057371408,
-0.01893860287964344,
0.008483996614813805,
-0.04488842934370041,
0.03582362085580826,
-0.03881065174937248,
-0.00045473131467588246,
0.023377662524580956,
-0.02532752975821495,
0.0072445860132575035,
-0.004081237595528364,
-0.0813136026263237,
-0.001243947772309184,
-0.05903533846139908,
-0.016833161935210228,
-0.0030207382515072823,
0.015484848991036415,
-0.06198088079690933,
0.030202196910977364,
-0.006923065520823002,
0.008395837619900703,
0.05015721917152405,
-0.017797723412513733,
-0.049078568816185,
-0.0007415717700496316,
0.012259270995855331,
0.002351767849177122,
0.007358673959970474,
0.07106643170118332,
-0.01960238814353943,
-0.015723396092653275,
-0.0007538881036452949,
0.0012815449154004455,
-0.011450283229351044,
-0.008971462957561016,
0.022900566458702087,
-0.053559113293886185,
0.031467534601688385,
0.03271213173866272,
-0.017776979133486748,
0.059242770075798035,
-0.0482073538005352,
-0.01351423840969801,
-0.0319446325302124,
0.012757109478116035,
0.01457214541733265,
-0.00038990858593024313,
-0.005201374180614948,
-0.06164899095892906,
0.05696101114153862,
0.02584611065685749,
-0.03350037708878517,
0.028044896200299263,
-0.05567492917180061,
-0.08052536100149155,
-0.006399297621101141,
-0.0007759278523735702,
-0.06654439866542816,
-0.0677889958024025,
-0.03810537979006767,
0.020805496722459793,
0.008987020701169968,
0.028916114941239357,
0.006482271011918783,
0.006031104829162359,
0.038416530936956406,
0.03924626111984253,
-0.010309403762221336,
-0.06467750668525696,
0.04306302219629288,
-0.008017272688448429,
0.034330107271671295,
-0.008608455769717693,
0.009593760594725609,
-0.02617800235748291,
-0.026468409225344658,
-0.019301610067486763,
0.026240233331918716,
0.013783900998532772,
0.02062917873263359,
0.08023495972156525,
0.02881239727139473,
0.016013802960515022,
0.02373029664158821
]
|
29,318 | quart.app | __call__ | Called by ASGI servers.
The related :meth:`~quart.app.Quart.asgi_app` is called,
allowing for middleware usage whilst keeping the top level app
a :class:`~quart.app.Quart` instance.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, scope: Union[hypercorn.typing.HTTPScope, hypercorn.typing.WebsocketScope, hypercorn.typing.LifespanScope], receive: Callable[[], Awaitable[Union[hypercorn.typing.HTTPRequestEvent, hypercorn.typing.HTTPDisconnectEvent, hypercorn.typing.WebsocketConnectEvent, hypercorn.typing.WebsocketReceiveEvent, hypercorn.typing.WebsocketDisconnectEvent, hypercorn.typing.LifespanStartupEvent, hypercorn.typing.LifespanShutdownEvent]]], send: Callable[[Union[hypercorn.typing.HTTPResponseStartEvent, hypercorn.typing.HTTPResponseBodyEvent, hypercorn.typing.HTTPServerPushEvent, hypercorn.typing.HTTPEarlyHintEvent, hypercorn.typing.HTTPDisconnectEvent, hypercorn.typing.WebsocketAcceptEvent, hypercorn.typing.WebsocketSendEvent, hypercorn.typing.WebsocketResponseStartEvent, hypercorn.typing.WebsocketResponseBodyEvent, hypercorn.typing.WebsocketCloseEvent, hypercorn.typing.LifespanStartupCompleteEvent, hypercorn.typing.LifespanStartupFailedEvent, hypercorn.typing.LifespanShutdownCompleteEvent, hypercorn.typing.LifespanShutdownFailedEvent]], Awaitable[NoneType]]) -> NoneType | [
-0.029107777401804924,
0.010433414950966835,
-0.04886557534337044,
0.05633873492479324,
-0.024569284170866013,
-0.042927999049425125,
-0.025012897327542305,
0.08510527014732361,
-0.019911358132958412,
-0.03647856414318085,
0.031308773905038834,
0.011994588188827038,
0.06411901116371155,
-0.031001659110188484,
-0.010552848689258099,
0.03241780400276184,
0.02598543092608452,
0.048797328025102615,
0.04272325709462166,
-0.07418558746576309,
-0.030063249170780182,
-0.024927586317062378,
0.025780687108635902,
-0.033117346465587616,
-0.0677020251750946,
0.05132250487804413,
-0.049479808658361435,
0.03362920880317688,
0.037741150707006454,
-0.05575862526893616,
-0.032434869557619095,
-0.06777027249336243,
0.029449017718434334,
0.042586758732795715,
0.03658093512058258,
0.014340613968670368,
-0.06166207790374756,
-0.013470451347529888,
-0.06299291551113129,
-0.029892629012465477,
-0.025695376098155975,
0.014988970011472702,
-0.04726174846291542,
-0.006057010963559151,
0.06872574985027313,
-0.007925300858914852,
-0.04333748668432236,
0.0829213336110115,
-0.02723095752298832,
0.041187673807144165,
-0.03934497758746147,
0.0055878059938549995,
0.026906779035925865,
-0.016004158183932304,
0.036342065781354904,
0.03954972326755524,
-0.03388513624668121,
0.030916349962353706,
0.037775274366140366,
-0.05064002424478531,
-0.004248438868671656,
0.05251684412360191,
-0.02912483923137188,
0.03589845448732376,
0.07077319175004959,
-0.0027768409345299006,
-0.0002315367164555937,
-0.029244273900985718,
-0.0049991668201982975,
0.013743443414568901,
0.0732983648777008,
0.028493545949459076,
-0.037775274366140366,
0.007955159060657024,
0.03422637656331062,
0.014988970011472702,
0.03257136419415474,
-0.012207862921059132,
0.032434869557619095,
0.015287554822862148,
0.04685226082801819,
0.0015291820745915174,
-0.010569910518825054,
0.006411047652363777,
0.019945481792092323,
-0.005749895237386227,
-0.006432374939322472,
-0.03623969480395317,
-0.051902614533901215,
-0.028339987620711327,
-0.042893875390291214,
-0.03362920880317688,
-0.0683162584900856,
-0.05408655107021332,
0.027162708342075348,
0.018188094720244408,
0.0552808903157711,
-0.04070993885397911,
0.016797542572021484,
-0.08619724214076996,
0.012728254310786724,
0.07152391970157623,
-0.04872908070683479,
0.03542071953415871,
0.04630627483129501,
-0.062242187559604645,
0.04855846241116524,
-0.05678234621882439,
-0.01847814954817295,
0.011730127036571503,
-0.008509674109518528,
0.031121093779802322,
0.002424937207251787,
0.010382228530943394,
-0.07159216701984406,
0.0073622544296085835,
0.013095087371766567,
0.02272658795118332,
0.02863004058599472,
-0.004901060368865728,
0.07261588424444199,
-0.002661672420799732,
-0.025627128779888153,
-0.06336827576160431,
0.04869495704770088,
0.01643924042582512,
-0.05934164673089981,
-0.02927839756011963,
0.018461087718605995,
0.02340906858444214,
-0.05524676665663719,
0.009256136603653431,
-0.07288887351751328,
-0.0025656986981630325,
-0.06166207790374756,
0.06906698644161224,
0.02378443256020546,
0.0024014769587665796,
-0.002403609687462449,
-0.02745276317000389,
-0.005451309960335493,
0.019484806805849075,
0.008761338889598846,
-0.030506862327456474,
0.06108197197318077,
0.014630667865276337,
-0.021412814036011696,
0.02207823283970356,
0.024449849501252174,
-0.010680814273655415,
0.01977486163377762,
0.04070993885397911,
-0.019757799804210663,
0.0015174519503489137,
-0.052619218826293945,
0.038116514682769775,
-0.01791510358452797,
0.04576029255986214,
-0.006206303834915161,
-0.006688305176794529,
0.011883685365319252,
-0.0073579889722168446,
0.04886557534337044,
-0.04401996731758118,
-0.0016678108368068933,
-0.0065603400580585,
0.004952246323227882,
0.031905945390462875,
0.024057423695921898,
-0.04303037002682686,
-0.09622969478368759,
-0.0006590198609046638,
-0.08647023141384125,
-0.06009237468242645,
0.008420098572969437,
-0.00677788071334362,
-0.02946607954800129,
0.019979605451226234,
-0.04070993885397911,
-0.006261755246669054,
0.05166374519467354,
-0.06814564019441605,
-0.014280896633863449,
-0.03419225290417671,
0.04026632755994797,
0.0590004064142704,
-0.014477109536528587,
-0.009273198433220387,
-0.003506241599097848,
0.03954972326755524,
0.023340819403529167,
0.005843736231327057,
0.037775274366140366,
0.018836451694369316,
0.012114021927118301,
0.005737098399549723,
0.006108196917921305,
0.017880979925394058,
0.03480648621916771,
0.06002412736415863,
0.03135996311903,
0.020508527755737305,
-0.04732999578118324,
0.02639491856098175,
-0.0054214512929320335,
-0.009290260262787342,
0.0270091500133276,
-0.06275404989719391,
0.03763877972960472,
0.006457968149334192,
-0.03763877972960472,
-0.0014790623681619763,
0.07104618102312088,
-0.01437473762780428,
0.00019927886023651809,
0.032810233533382416,
-0.08872241526842117,
-0.03253724053502083,
0.06452849507331848,
0.024586346000432968,
-0.017258215695619583,
0.023733247071504593,
0.0014257436851039529,
-0.07336661219596863,
0.04552142322063446,
-0.014681853353977203,
-0.025473570451140404,
-0.05207323282957077,
-0.057089462876319885,
-0.0008200425072573125,
0.023852679878473282,
0.00840730220079422,
-0.0058565326035022736,
0.003135143080726266,
0.09008737653493881,
-0.00982771348208189,
0.0017243287293240428,
-0.015560546889901161,
-0.003826154163107276,
0.025610066950321198,
0.010655220597982407,
0.022982517257332802,
-0.034601740539073944,
-0.0030413020867854357,
0.05064002424478531,
0.012549103237688541,
-0.029551388695836067,
0.03045567497611046,
-0.0014811950968578458,
-0.022487720474600792,
-0.01677194982767105,
0.015236368402838707,
-0.04862670972943306,
-0.06456261873245239,
-0.009742403402924538,
-0.06289054453372955,
-0.050913017243146896,
0.008428629487752914,
0.03378276526927948,
0.01380316074937582,
-0.05104951187968254,
0.06128671392798424,
-0.015918849036097527,
-0.008906365372240543,
-0.0036235428415238857,
-0.011192673817276955,
-0.06289054453372955,
0.060194745659828186,
0.022504782304167747,
0.01659279875457287,
0.0017083330312743783,
0.0016528815031051636,
0.00451716547831893,
0.06135496124625206,
0.033612146973609924,
-0.002917602425441146,
0.021600496023893356,
0.05835204944014549,
-0.029551388695836067,
0.03521597385406494,
0.02154931053519249,
0.030080311000347137,
0.0014065488940104842,
0.022334162145853043,
-0.0677020251750946,
0.041904278099536896,
0.018119847401976585,
-0.012907405383884907,
-0.04251851141452789,
-0.04610153287649155,
0.042893875390291214,
-0.022163541987538338,
-0.014775694347918034,
0.01594444178044796,
-0.01946774497628212,
-0.0051015387289226055,
0.017147313803434372,
0.013538699597120285,
0.049479808658361435,
0.05272158980369568,
0.06705367565155029,
0.05865916609764099,
-0.02173699252307415,
-0.03832126036286354,
-0.007033810950815678,
-0.020969200879335403,
0.049172692000865936,
0.06565459072589874,
-0.012412607669830322,
-0.01465626060962677,
-0.03407282009720802,
0.008356115780770779,
-0.013444858603179455,
-0.029414894059300423,
0.029227212071418762,
0.06377776712179184,
0.01859758421778679,
0.011474196799099445,
-0.018512273207306862,
0.06937410682439804,
-0.02514939196407795,
0.08954139053821564,
-0.021532248705625534,
0.017411774024367332,
-0.0013670929474756122,
0.021276317536830902,
0.025456508621573448,
-0.025473570451140404,
-0.034021634608507156,
-0.006479295436292887,
0.028544731438159943,
-0.049104444682598114,
-0.05493964999914169,
-0.0673607885837555,
-0.03217893838882446,
-0.0023716185241937637,
0.015406988561153412,
-0.02446691319346428,
-0.01122679840773344,
0.013035370036959648,
0.015236368402838707,
0.036000825464725494,
0.038082391023635864,
0.03033624216914177,
-0.0028792130760848522,
-0.01965542696416378,
-0.0471935011446476,
-0.0053190793842077255,
-0.027316266670823097,
-0.013137741945683956,
-0.021532248705625534,
0.013845815323293209,
-0.024262167513370514,
0.03403869643807411,
0.026975026354193687,
0.021617557853460312,
-0.017966289073228836,
-0.010100705549120903,
0.0200307909399271,
0.04412233829498291,
0.006321472115814686,
0.0031223464757204056,
-0.017360588535666466,
0.004913856741040945,
-0.05456428602337837,
-0.020747395232319832,
0.014579481445252895,
0.005502495914697647,
-0.006236162036657333,
-0.02067914791405201,
-0.051902614533901215,
-0.023886803537607193,
-0.010774655267596245,
0.026616724207997322,
0.03269079700112343,
0.029431955888867378,
0.018529335036873817,
-0.02113982103765011,
0.01613212376832962,
0.03873074799776077,
0.03117227926850319,
0.032281309366226196,
0.00812577921897173,
-0.020423216745257378,
0.040198080241680145,
-0.05412067472934723,
0.03340740129351616,
0.01658426783978939,
0.012165208347141743,
0.011977526359260082,
0.0200307909399271,
-0.05575862526893616,
0.017352057620882988,
0.02651435323059559,
-0.02431335486471653,
-0.02912483923137188,
-0.0031223464757204056,
-0.002476123161613941,
-0.02154931053519249,
0.0011922074481844902,
0.025729499757289886,
0.027674568817019463,
-0.13806572556495667,
0.027691630646586418,
0.04142654314637184,
-0.025593005120754242,
0.014613606035709381,
0.028954219073057175,
0.04599916189908981,
-0.058113183826208115,
-0.07602828741073608,
-0.009247605688869953,
-0.015935910865664482,
-0.011090301908552647,
0.010279856622219086,
-0.03378276526927948,
0.07903119921684265,
0.04442945495247841,
-0.035727836191654205,
-0.0008483014535158873,
0.04415646567940712,
-0.017642110586166382,
0.08449103683233261,
-0.018614646047353745,
0.04487306624650955,
-0.04579441621899605,
-0.03129171207547188,
-0.005779753439128399,
-0.00203997571952641,
0.004692050628364086,
-0.014613606035709381,
-0.03593257814645767,
0.011533914133906364,
-0.047398243099451065,
0.022931331768631935,
0.01564585603773594,
-0.04282562807202339,
0.00718736881390214,
0.022214727476239204,
0.003753640688955784,
0.06292466819286346,
-0.030250931158661842,
-0.004301757551729679,
0.0013521637301892042,
0.07336661219596863,
-0.03204244002699852,
0.014946314506232738,
-0.009341446682810783,
0.03893548995256424,
-0.03647856414318085,
-0.0025763625744730234,
-0.05562213063240051,
0.022555967792868614,
-0.012984184548258781,
-0.03627381846308708,
-0.03146233409643173,
-0.02241947129368782,
0.006671243347227573,
-0.011431542225182056,
0.004926653578877449,
0.006308675743639469,
0.03763877972960472,
-0.055315013974905014,
-0.06947647780179977,
0.0058565326035022736,
0.05435954034328461,
-0.00391999538987875,
0.007276944350451231,
0.048080723732709885,
-0.02673615887761116,
0.00426976615563035,
-0.014622136950492859,
-0.03630794212222099,
-0.05036703124642372,
0.0316670760512352,
-0.029773196205496788,
0.017590925097465515,
0.05094714090228081,
0.04995754361152649,
0.023357883095741272,
0.025780687108635902,
-0.0527898371219635,
0.012975653633475304,
-0.013888470828533173,
-0.03219600021839142,
-0.0403686985373497,
-0.039106111973524094,
-0.0228289607912302,
-0.011994588188827038,
0.0008371045114472508,
0.013205990195274353,
-0.02719683200120926,
-0.02617311291396618,
0.06446024775505066,
0.04483894258737564,
0.03907198831439018,
-0.062276311218738556,
0.011900747194886208,
0.0013180397218093276,
-0.01440886128693819,
-0.019791923463344574,
-0.030438613146543503,
-0.0006195639725774527,
0.016908444464206696,
-0.00950353592634201,
-0.01221639383584261,
-0.011917809024453163,
0.02968788519501686,
0.06640531867742538,
-0.005250831600278616,
0.006295878905802965,
0.04135829582810402,
0.05678234621882439,
0.04855846241116524,
-0.012062836438417435,
-0.024756966158747673,
-0.021003326401114464,
-0.03086516261100769,
0.006266020704060793,
0.04442945495247841,
0.07268413156270981,
0.020918015390634537,
0.05507614463567734,
-0.019143568351864815,
0.014946314506232738,
-0.02450103685259819,
0.007805866189301014,
-0.030540985986590385,
0.01678048074245453,
0.06759965419769287,
0.008897834457457066,
0.06435787677764893,
0.025661252439022064,
-0.01953599415719509,
0.05285808444023132,
0.03832126036286354,
-0.037434034049510956,
-0.004122606478631496,
-0.09465999156236649,
0.01912650465965271,
-0.031001659110188484,
-0.0047730952501297,
-0.04163128882646561,
-0.042211394757032394,
-0.038833118975162506,
-0.05026466026902199,
-0.025012897327542305,
0.01437473762780428,
-0.056065741926431656,
-0.04231376573443413,
0.0026638051494956017,
0.041494790464639664,
0.047466494143009186,
0.010723468847572803,
0.015952972695231438,
-0.026002492755651474,
-0.013982311822474003,
0.03644443675875664,
0.01045047678053379,
0.04576029255986214,
-0.004568351432681084,
-0.0003660332877188921,
0.027657506987452507,
-0.00043561425991356373,
-0.06920348107814789,
0.029414894059300423,
-0.0029410626739263535,
-0.04961630329489708,
-0.022999580949544907,
0.049513932317495346,
-0.06074073165655136,
-0.04831959307193756,
-0.013496044091880322,
-0.022402409464120865,
0.012387013994157314,
0.022334162145853043,
-0.02272658795118332,
-0.0014417392667382956,
-0.011192673817276955,
-0.04828546941280365,
0.048797328025102615,
-0.036000825464725494,
-0.037775274366140366,
-0.04009570553898811,
0.0028749476186931133,
-0.01616624742746353,
0.024398664012551308,
0.0007949827122502029,
-0.031411148607730865,
-0.005336141679435968,
-0.02900540456175804,
-0.04436120763421059,
0.01881938986480236,
-0.031104031950235367,
-0.0021626087836921215,
0.06951060146093369,
-0.008189761079847813,
-0.009930085390806198,
-0.002644610358402133,
0.05319932475686073,
0.0070380764082074165,
0.053915929049253464,
0.08442278951406479,
-0.020610900595784187,
0.06981771439313889,
0.013291300274431705,
0.010100705549120903,
-0.0065518091432750225,
-0.019604241475462914,
-0.04180190712213516,
0.021122759208083153,
0.008390240371227264,
-0.027691630646586418,
0.006001559551805258,
-0.07848521322011948,
-0.01431502029299736,
-0.040914684534072876,
0.04579441621899605,
0.010646689683198929,
0.034328751266002655,
0.025081144645810127,
-0.04207490012049675,
-0.04849021136760712,
-0.0028685491997748613,
-0.01212255284190178,
0.09042861312627792,
0.0562022365629673,
0.0004358808510005474,
-0.055315013974905014,
0.024637531489133835,
-0.02677028253674507,
-0.01399084273725748,
-0.02378443256020546,
-0.0200307909399271,
-0.04726174846291542,
0.002486787037923932,
0.03583020716905594,
-0.007353723514825106,
-0.023767370730638504,
0.04043694585561752,
-0.0035510293673723936,
0.026036616414785385,
-0.035727836191654205,
0.007613918744027615,
-0.00568164698779583,
0.05627048760652542,
0.010126299224793911,
-0.04518018290400505,
-0.020252598449587822,
-0.02021847292780876,
0.02170286700129509,
0.04958217963576317,
-0.06889636814594269,
-0.018358714878559113,
-0.00863763876259327,
0.012984184548258781,
-0.026975026354193687,
-0.02462046965956688,
-0.02670203521847725,
-0.002454795641824603,
0.024944648146629333,
0.0026339467149227858,
0.005596336908638477,
-0.07145567238330841,
0.006048480048775673,
0.04801247641444206,
0.040880560874938965,
-0.05384768173098564,
-0.008569391444325447,
-0.01170453429222107,
-0.010373697616159916,
-0.06817976385354996,
0.014613606035709381,
0.03405575826764107,
0.0406758151948452,
0.0026424776297062635,
-0.017147313803434372,
-0.050162289291620255,
-0.029858505353331566,
-0.028868909925222397,
-0.027435701340436935,
0.013171866536140442,
-0.041870154440402985,
0.00277897366322577,
0.018682893365621567,
0.050162289291620255,
-0.0046280683018267155,
0.010646689683198929,
0.04234789311885834,
-0.002828027121722698,
0.021805239841341972,
-0.042211394757032394,
-0.045384928584098816,
0.07254763692617416,
-0.027862250804901123,
0.021498123183846474,
-0.03699042275547981,
-0.07411734014749527,
-0.0035126397851854563,
0.05575862526893616,
0.019450683146715164,
0.005779753439128399,
0.01240407582372427,
0.02912483923137188,
0.009273198433220387,
-0.04487306624650955,
0.03934497758746147,
-0.029039530083537102,
-0.020235534757375717,
-0.008744276128709316,
-0.046374525874853134,
-0.058386173099279404,
0.038491878658533096,
-0.014835411682724953,
-0.04958217963576317,
-0.012165208347141743,
0.007106324192136526,
0.026309609413146973,
-0.017710359767079353,
0.004636599216610193,
-0.0558951236307621,
-0.018802328035235405,
0.008795462548732758,
-0.03825300931930542,
0.03275904431939125,
-0.05852267146110535,
-0.006457968149334192,
-0.030745729804039,
-0.009025800041854382,
0.014528295956552029,
0.013547230511903763,
-0.019945481792092323,
-0.020918015390634537,
0.07616478204727173,
0.08305782824754715,
0.008390240371227264,
-0.0316670760512352,
0.039106111973524094,
-0.026821468025445938,
0.0689304918050766,
0.030063249170780182,
-0.020986264571547508,
-0.0630270391702652,
-0.06357302516698837,
0.03542071953415871,
0.051834363490343094,
-0.02113982103765011,
0.05828380212187767,
0.0012700528604909778,
0.055724501609802246,
0.02142987586557865,
-0.020593836903572083,
0.051834363490343094,
-0.00019661292026285082,
-0.0667465552687645,
-0.004346545320004225,
-0.0016710099298506975,
0.029056591913104057,
-0.0012860484421253204,
0.018990010023117065,
-0.005835204850882292,
0.05893215909600258,
-0.024415725842118263,
0.024791089817881584,
0.012941529043018818,
0.03954972326755524,
0.05374531075358391,
0.03890136629343033
]
|
29,319 | quart.app | __init__ | Construct a Quart web application.
Use to create a new web application to which requests should
be handled, as specified by the various attached url
rules. See also :class:`~quart.static.PackageStatic` for
additional constructor arguments.
Arguments:
import_name: The name at import of the application, use
``__name__`` unless there is a specific issue.
host_matching: Optionally choose to match the host to the
configured host on request (404 if no match).
instance_path: Optional path to an instance folder, for
deployment specific settings and files.
instance_relative_config: If True load the config from a
path relative to the instance path.
Attributes:
after_request_funcs: The functions to execute after a
request has been handled.
after_websocket_funcs: The functions to execute after a
websocket has been handled.
before_request_funcs: The functions to execute before handling
a request.
before_websocket_funcs: The functions to execute before handling
a websocket.
| def __init__(
self,
import_name: str,
static_url_path: str | None = None,
static_folder: str | None = "static",
static_host: str | None = None,
host_matching: bool = False,
subdomain_matching: bool = False,
template_folder: str | None = "templates",
instance_path: str | None = None,
instance_relative_config: bool = False,
root_path: str | None = None,
) -> None:
"""Construct a Quart web application.
Use to create a new web application to which requests should
be handled, as specified by the various attached url
rules. See also :class:`~quart.static.PackageStatic` for
additional constructor arguments.
Arguments:
import_name: The name at import of the application, use
``__name__`` unless there is a specific issue.
host_matching: Optionally choose to match the host to the
configured host on request (404 if no match).
instance_path: Optional path to an instance folder, for
deployment specific settings and files.
instance_relative_config: If True load the config from a
path relative to the instance path.
Attributes:
after_request_funcs: The functions to execute after a
request has been handled.
after_websocket_funcs: The functions to execute after a
websocket has been handled.
before_request_funcs: The functions to execute before handling
a request.
before_websocket_funcs: The functions to execute before handling
a websocket.
"""
super().__init__(
import_name,
static_url_path,
static_folder,
static_host,
host_matching,
subdomain_matching,
template_folder,
instance_path,
instance_relative_config,
root_path,
)
self.after_serving_funcs: list[Callable[[], Awaitable[None]]] = []
self.after_websocket_funcs: dict[AppOrBlueprintKey, list[AfterWebsocketCallable]] = (
defaultdict(list)
)
self.background_tasks: WeakSet[asyncio.Task] = WeakSet()
self.before_serving_funcs: list[Callable[[], Awaitable[None]]] = []
self.before_websocket_funcs: dict[AppOrBlueprintKey, list[BeforeWebsocketCallable]] = (
defaultdict(list)
)
self.teardown_websocket_funcs: dict[AppOrBlueprintKey, list[TeardownCallable]] = (
defaultdict(list)
)
self.while_serving_gens: list[AsyncGenerator[None, None]] = []
self.template_context_processors[None] = [_default_template_ctx_processor]
self.cli = AppGroup()
self.cli.name = self.name
if self.has_static_folder:
assert (
bool(static_host) == host_matching
), "Invalid static_host/host_matching combination"
self.add_url_rule(
f"{self.static_url_path}/<path:filename>",
"static",
self.send_static_file,
host=static_host,
)
| (self, import_name: str, static_url_path: Optional[str] = None, static_folder: str | None = 'static', static_host: Optional[str] = None, host_matching: bool = False, subdomain_matching: bool = False, template_folder: str | None = 'templates', instance_path: Optional[str] = None, instance_relative_config: bool = False, root_path: Optional[str] = None) -> NoneType | [
0.023204367607831955,
-0.05374067276716232,
-0.10369452089071274,
-0.0428636260330677,
0.017101136967539787,
0.021834665909409523,
-0.003665967844426632,
0.02981116808950901,
-0.09571801871061325,
0.04016450420022011,
0.04552245885133743,
0.017876628786325455,
0.005166597664356232,
0.019931182265281677,
-0.014573229476809502,
-0.009371382184326649,
0.0734805017709732,
-0.013153170235455036,
0.05225011333823204,
-0.08741923421621323,
-0.011853967793285847,
0.019911039620637894,
0.024735212326049805,
0.014039448462426662,
0.0071154022589325905,
-0.008404533378779888,
-0.047013018280267715,
0.03712296113371849,
-0.001624003634788096,
-0.010433908551931381,
0.03255057334899902,
0.011904324404895306,
0.0636911541223526,
0.024453215301036835,
0.04761729761958122,
-0.028743606060743332,
-0.006541335489600897,
-0.072755366563797,
-0.03806966543197632,
-0.0037163246888667345,
0.07412506639957428,
-0.007201008498668671,
0.048987001180648804,
-0.032329004257917404,
0.04777843877673149,
0.05108183994889259,
0.020424678921699524,
0.05688293278217316,
-0.06602770835161209,
0.023949647322297096,
-0.005196811631321907,
0.058454059064388275,
0.006344944704324007,
0.06437601149082184,
-0.031019728630781174,
0.07339993119239807,
-0.02997230924665928,
0.06373143941164017,
-0.02533949352800846,
-0.03400084376335144,
-0.039237942546606064,
0.04107092693448067,
0.0030868658795952797,
0.04074864462018013,
0.04572388529777527,
0.00005889373642276041,
-0.030173735693097115,
0.012901387177407742,
-0.026709195226430893,
-0.013465382158756256,
0.038170378655195236,
0.037203531712293625,
-0.02096853032708168,
-0.05015527456998825,
0.026568196713924408,
-0.030012594535946846,
0.038512807339429855,
-0.02799832634627819,
-0.0669945552945137,
0.034705840051174164,
0.032107435166835785,
0.01621485874056816,
-0.02896517515182495,
-0.031583722680807114,
0.09708772599697113,
-0.004955099429935217,
-0.0019160725641995668,
-0.03549140319228172,
-0.043105337768793106,
-0.018108271062374115,
-0.03202686458826065,
0.005050777457654476,
0.005161562003195286,
0.025762489065527916,
0.022962655872106552,
-0.052451539784669876,
-0.009054135531187057,
-0.05019555985927582,
0.006516157183796167,
-0.03690139204263687,
-0.019639113917946815,
0.028642892837524414,
-0.033013854175806046,
-0.041292496025562286,
0.03263114392757416,
-0.027837185189127922,
-0.007946287281811237,
-0.00855560414493084,
-0.030475877225399017,
-0.03581368550658226,
-0.0054687377996742725,
0.022982798516750336,
-0.004773815628141165,
0.030798159539699554,
-0.05909862741827965,
0.020323965698480606,
-0.0699353888630867,
0.036236684769392014,
0.0965237244963646,
-0.07452791929244995,
-0.05225011333823204,
0.056923218071460724,
0.009094420820474625,
0.0039001265540719032,
0.04306505247950554,
0.05797063559293747,
0.014402016997337341,
-0.024856068193912506,
0.030616875737905502,
-0.013556024059653282,
0.025178350508213043,
0.052169542759656906,
-0.024070503190159798,
-0.01706085167825222,
0.007689468562602997,
0.008570711128413677,
0.013052457012236118,
0.005715485662221909,
-0.030959300696849823,
0.09402603656053543,
-0.02203609235584736,
0.012196393683552742,
0.00018301514501217753,
0.02896517515182495,
-0.023264797404408455,
-0.022579945623874664,
-0.05361981689929962,
-0.0423802025616169,
-0.04600588232278824,
-0.006722619757056236,
0.03877466171979904,
0.003318506758660078,
-0.012740246020257473,
0.00614855345338583,
-0.01306252833455801,
0.011088545434176922,
0.0011141420109197497,
0.01587243191897869,
0.029146458953619003,
-0.03375913202762604,
-0.03537054732441902,
0.0033310959115624428,
0.010096519254148006,
-0.018893834203481674,
-0.04987327754497528,
0.016506927087903023,
0.05378095805644989,
0.001438942737877369,
0.0204548928886652,
0.08725809305906296,
-0.002998741576448083,
0.023446081206202507,
-0.024634499102830887,
0.0189844761043787,
-0.006571549456566572,
0.027011334896087646,
-0.0044313897378742695,
-0.009280740283429623,
0.024674784392118454,
-0.03128158301115036,
-0.010323124006390572,
-0.05096098408102989,
-0.02153252623975277,
0.012941672466695309,
0.027958041056990623,
0.057769209146499634,
-0.03106001392006874,
0.07561562210321426,
0.03126144036650658,
0.028078896924853325,
-0.07855645567178726,
-0.01729249209165573,
0.053015537559986115,
-0.009824592620134354,
0.019347045570611954,
0.009990769438445568,
0.002150231273844838,
-0.0011028117733076215,
-0.001849349937401712,
-0.04677130654454231,
-0.013535881415009499,
-0.0077952174469828606,
0.04034579172730446,
-0.05055812746286392,
0.031543437391519547,
-0.005695343017578125,
-0.0173327773809433,
-0.004851868376135826,
0.021230386570096016,
0.0021464545279741287,
-0.039701223373413086,
-0.018007555976510048,
-0.008822494186460972,
0.002250944497063756,
0.031543437391519547,
-0.03522954881191254,
-0.015771718695759773,
-0.013616451993584633,
0.02362736500799656,
0.026084771379828453,
0.03740495815873146,
0.05212925747036934,
-0.01676878146827221,
0.02743433229625225,
-0.06908939778804779,
0.033356279134750366,
0.006203945726156235,
0.024856068193912506,
-0.04443475604057312,
0.013948806561529636,
-0.01289131585508585,
0.0009876207914203405,
0.10200253874063492,
-0.0015031475340947509,
-0.012327320873737335,
0.00938145350664854,
0.008122536353766918,
0.08935293555259705,
0.040144361555576324,
-0.009190098382532597,
0.029710454866290092,
0.004177088383585215,
0.020807389169931412,
-0.042742770165205,
0.002618548460304737,
0.026225769892334938,
-0.02000168152153492,
-0.01655728369951248,
-0.0027318510692566633,
-0.017886700108647346,
-0.046892162412405014,
-0.002998741576448083,
-0.039801936596632004,
-0.02143181301653385,
-0.05716492980718613,
-0.011058331467211246,
-0.016456570476293564,
-0.02233823388814926,
-0.005232061259448528,
0.013143098913133144,
0.032389432191848755,
0.006496014539152384,
-0.011823753826320171,
0.07807303220033646,
-0.011189259588718414,
-0.03496769443154335,
-0.004373479634523392,
-0.023667650297284126,
-0.06212002784013748,
0.007830467075109482,
0.08282670378684998,
0.058051206171512604,
0.02396978996694088,
0.03408141806721687,
-0.056641217321157455,
-0.06630970537662506,
-0.041010499000549316,
-0.015600506216287613,
-0.03537054732441902,
-0.056641217321157455,
0.010433908551931381,
-0.020323965698480606,
0.055795226246118546,
0.009159884415566921,
0.049832992255687714,
-0.048302147537469864,
-0.009577845223248005,
0.00843978300690651,
0.014200590550899506,
-0.03996307775378227,
-0.016124216839671135,
-0.008147714659571648,
-0.011712969280779362,
-0.030355019494891167,
-0.02658833935856819,
0.0018757871584966779,
-0.026507768779993057,
0.04362904652953148,
0.005148972850292921,
-0.02147209830582142,
0.03059673309326172,
0.028542179614305496,
0.0009561479091644287,
0.05938062444329262,
-0.007291650399565697,
0.029368028044700623,
0.016023503616452217,
0.01790684275329113,
0.0383315235376358,
-0.021109528839588165,
0.03921779990196228,
-0.04459589719772339,
0.0383315235376358,
0.04930928349494934,
-0.012800673954188824,
0.0547478087246418,
0.023083511739969254,
-0.0034595055039972067,
-0.004154427908360958,
0.01150147058069706,
-0.009431810118258,
0.046610165387392044,
0.018380196765065193,
0.04810072109103203,
0.01921611838042736,
-0.0019790183287113905,
0.03738481551408768,
-0.028199752792716026,
-0.0032908106222748756,
0.008782208897173405,
-0.05821234732866287,
0.07952330261468887,
-0.04290391132235527,
-0.02193537913262844,
-0.012458248063921928,
-0.003363827709108591,
-0.021411670371890068,
-0.0204548928886652,
-0.003368863370269537,
-0.06739740818738937,
0.055392373353242874,
0.04834243282675743,
-0.012367606163024902,
0.02143181301653385,
-0.043830472975969315,
-0.05583551153540611,
0.0057255569845438,
-0.015076796524226665,
0.018501052632927895,
-0.04725473001599312,
0.03722367435693741,
-0.03230886161327362,
-0.011944609694182873,
0.04266219958662987,
0.04878557473421097,
-0.08516325801610947,
-0.03265128657221794,
-0.01621485874056816,
0.0001635019143577665,
-0.0030113307293504477,
-0.010031054727733135,
0.0010342007735744119,
-0.05676207318902016,
0.02628619782626629,
-0.05917919799685478,
-0.042702484875917435,
0.03994293510913849,
-0.04612673819065094,
-0.031080156564712524,
0.014704156666994095,
0.034141846001148224,
-0.008595889434218407,
0.012981957755982876,
-0.05100126937031746,
0.02262023091316223,
-0.04471675306558609,
-0.031966432929039,
-0.03891566023230553,
-0.05946119502186775,
0.011823753826320171,
-0.0013168277218937874,
0.08516325801610947,
-0.00866638869047165,
-0.013928663916885853,
-0.005760806612670422,
-0.04721444472670555,
-0.023224512115120888,
0.008323962800204754,
-0.012528747320175171,
0.02487621083855629,
0.07549476623535156,
0.011833825148642063,
-0.005740663968026638,
0.014865298755466938,
0.008646246045827866,
-0.05615779384970665,
-0.06296601891517639,
0.06203945726156235,
0.05519094690680504,
0.015117081813514233,
0.03474612534046173,
-0.011088545434176922,
0.05289468169212341,
0.005901805590838194,
0.049792706966400146,
-0.025540919974446297,
0.04342762008309364,
0.0023201850708574057,
0.01648678444325924,
0.05184726044535637,
-0.02975074015557766,
-0.03653882443904877,
-0.1094956174492836,
-0.004650441464036703,
-0.039237942546606064,
-0.025359636172652245,
0.02368779294192791,
-0.005866555962711573,
0.014794799499213696,
0.03746538609266281,
-0.03446412831544876,
0.02634662762284279,
0.0970071479678154,
-0.023325225338339806,
-0.007765003480017185,
0.04443475604057312,
-0.01390852127224207,
0.001832983922213316,
-0.030757874250411987,
-0.024352502077817917,
0.012851030565798283,
0.002273605205118656,
-0.07489048689603806,
-0.0020142681896686554,
0.01563072018325329,
0.0018103234469890594,
0.009557702578604221,
0.002870331984013319,
0.008203106932342052,
-0.011904324404895306,
-0.045361317694187164,
-0.062361739575862885,
0.031483009457588196,
0.05297525227069855,
-0.007583719212561846,
0.01621485874056816,
-0.05382124334573746,
0.001832983922213316,
0.04914814233779907,
-0.02753504551947117,
-0.04894671589136124,
0.020323965698480606,
-0.029086031019687653,
0.016406213864684105,
-0.011179188266396523,
-0.027394047006964684,
0.028260180726647377,
-0.018118342384696007,
-0.054828379303216934,
-0.02828032337129116,
0.016023503616452217,
-0.010308017022907734,
0.01266974676400423,
-0.0336785614490509,
-0.009900127537548542,
0.03597482666373253,
0.08685524016618729,
-0.016083931550383568,
-0.017131350934505463,
-0.028481751680374146,
0.007442720700055361,
0.022116662934422493,
0.02781704254448414,
0.014019305817782879,
0.00473352987319231,
0.002374318428337574,
-0.0015849772607907653,
-0.025641633197665215,
-0.023546794429421425,
-0.024050360545516014,
0.015499792993068695,
0.02969031222164631,
-0.016124216839671135,
0.048987001180648804,
-0.06800168752670288,
-0.0669945552945137,
0.047295015305280685,
-0.03337642177939415,
0.04006379097700119,
-0.031080156564712524,
-0.014532944187521935,
0.013878307305276394,
0.021290814504027367,
-0.024110788479447365,
-0.022177090868353844,
-0.010454051196575165,
0.011843896470963955,
0.05946119502186775,
0.042823340743780136,
-0.013777594082057476,
-0.002955938456580043,
-0.006198910064995289,
-0.004413764923810959,
0.09144777059555054,
0.00034211084130220115,
0.0068082259967923164,
-0.05591608211398125,
0.004172052722424269,
-0.006974403280764818,
-0.033174995332956314,
-0.016063788905739784,
-0.000477129768114537,
-0.01615443080663681,
-0.006299623288214207,
0.049107857048511505,
-0.0024032737128436565,
-0.05297525227069855,
-0.006289551965892315,
0.01729249209165573,
-0.03569282963871956,
0.02568191848695278,
0.018047841265797615,
0.05950148031115532,
0.03283257037401199,
-0.03178514912724495,
-0.034141846001148224,
0.06268402189016342,
-0.016295429319143295,
0.006360051687806845,
0.09587915986776352,
-0.004489299841225147,
0.0317247211933136,
0.01926647499203682,
-0.025762489065527916,
0.011612256057560444,
0.04705330356955528,
-0.06361058354377747,
-0.020162824541330338,
-0.04455561190843582,
0.011269830167293549,
-0.006153589114546776,
0.03265128657221794,
0.017030637711286545,
-0.10248596221208572,
-0.052451539784669876,
-0.07102309167385101,
0.00989005621522665,
0.040386077016592026,
0.008978599682450294,
-0.028602607548236847,
0.004285355564206839,
0.01414016168564558,
0.051202695816755295,
0.043548475950956345,
-0.03806966543197632,
-0.05055812746286392,
0.024856068193912506,
0.039862364530563354,
-0.029488885775208473,
0.008228285238146782,
-0.00623415969312191,
-0.03218800574541092,
-0.08226270973682404,
-0.007034831214696169,
-0.01116911694407463,
0.03464541211724281,
-0.01931683160364628,
-0.019357116892933846,
-0.017030637711286545,
-0.014532944187521935,
-0.03827109560370445,
-0.008399497717618942,
0.03178514912724495,
-0.015660934150218964,
-0.025702061131596565,
0.013505667448043823,
0.03309442475438118,
0.019709613174200058,
0.052854396402835846,
-0.05164583399891853,
0.030334876850247383,
0.013827950693666935,
-0.024634499102830887,
-0.013576166704297066,
-0.03452455624938011,
-0.025923630222678185,
0.09628201276063919,
0.05015527456998825,
0.014945869334042072,
-0.04834243282675743,
-0.018279483541846275,
0.012981957755982876,
0.006697441451251507,
0.015439365059137344,
0.04064793139696121,
0.01150147058069706,
-0.0346655547618866,
0.014724300242960453,
0.03853294998407364,
0.025540919974446297,
-0.028602607548236847,
0.06852540373802185,
0.03947965428233147,
-0.053861528635025024,
0.029791025444865227,
0.003915233537554741,
-0.006974403280764818,
-0.027011334896087646,
0.01762484572827816,
-0.023889219388365746,
0.006440622266381979,
-0.055392373353242874,
-0.045562744140625,
0.0003490349045023322,
-0.004642887972295284,
-0.023869076743721962,
-0.0667528435587883,
0.03575325757265091,
0.029327742755413055,
-0.025802774354815483,
0.03643811121582985,
-0.010308017022907734,
0.004685691092163324,
0.011481327936053276,
-0.009139741770923138,
0.017131350934505463,
0.0519278310239315,
0.003917751368135214,
-0.08967521786689758,
0.019508186727762222,
0.057044073939323425,
-0.005841377656906843,
-0.011602183803915977,
-0.020988672971725464,
0.03819052502512932,
-0.015993287786841393,
-0.008490139618515968,
0.018208984285593033,
0.03524969145655632,
-0.010584979318082333,
0.06868654489517212,
-0.0129517437890172,
0.020726818591356277,
-0.030073022469878197,
0.03474612534046173,
0.01139068603515625,
0.029851453378796577,
-0.0791204497218132,
0.009532523341476917,
-0.04074864462018013,
-0.02928745746612549,
0.024392787367105484,
-0.040386077016592026,
0.02634662762284279,
-0.06864625960588455,
0.07118423283100128,
-0.03275199979543686,
-0.072755366563797,
-0.0063701230101287365,
0.041614778339862823,
0.002646244829520583,
-0.01156189851462841,
0.001683172769844532,
-0.020142681896686554,
-0.001600084244273603,
0.004358372651040554,
0.06888797134160995,
-0.04665045067667961,
0.0009083090117201209,
-0.002136383205652237,
0.027897613123059273,
0.03387998789548874,
-0.028078896924853325,
-0.015852289274334908,
-0.009920270182192326,
0.052330683916807175,
-0.0488661453127861,
-0.04459589719772339,
-0.012911458499729633,
-0.03257071599364281,
-0.00870163831859827,
0.04612673819065094,
-0.0182492695748806,
0.01096768956631422,
-0.016849352046847343,
-0.01615443080663681,
-0.01235753484070301,
-0.023446081206202507,
0.048020150512456894,
-0.027333617210388184,
-0.013878307305276394,
0.0693311095237732,
-0.03831138089299202,
-0.015499792993068695,
-0.004101553466171026,
-0.045079320669174194,
0.000766680808737874,
-0.08467983454465866,
-0.017594631761312485,
0.012790602631866932,
0.002739404560998082,
-0.045925311744213104,
0.005002938210964203,
0.01359630934894085,
-0.023224512115120888,
0.04487789422273636,
-0.008137643337249756,
-0.0257826317101717,
-0.01938733085989952,
0.022861942648887634,
0.009200169704854488,
0.0073621501214802265,
0.056359220296144485,
-0.028481751680374146,
-0.03976165130734444,
-0.02805875428020954,
0.0014880405506119132,
0.01204532291740179,
0.00714058056473732,
-0.006878725718706846,
-0.044515326619148254,
0.031483009457588196,
0.02193537913262844,
-0.03994293510913849,
0.08814436942338943,
-0.04777843877673149,
-0.024493500590324402,
-0.032389432191848755,
0.02958959899842739,
0.007488041650503874,
-0.005473773460835218,
-0.02715233340859413,
-0.02119010128080845,
0.08246413618326187,
0.06526228785514832,
-0.010816619731485844,
0.03458498418331146,
-0.06473857909440994,
-0.08238356560468674,
-0.012176251038908958,
0.02934788540005684,
-0.04922871291637421,
-0.06562485545873642,
-0.024151073768734932,
0.028542179614305496,
0.027071762830018997,
0.019709613174200058,
-0.0038371807895600796,
0.027474617585539818,
0.04046664759516716,
0.0016063788207247853,
0.013354597613215446,
-0.051766689866781235,
0.04681159183382988,
-0.03303399682044983,
0.008399497717618942,
0.022076377645134926,
-0.0021326064597815275,
-0.04858414828777313,
-0.03128158301115036,
-0.004504406824707985,
0.008288713172078133,
0.01915569044649601,
0.006450693588703871,
0.08725809305906296,
0.03559211641550064,
0.037727240473032,
0.014160304330289364
]
|
29,322 | flask.sansio.app | _find_error_handler | Return a registered error handler for an exception in this order:
blueprint handler for a specific code, app handler for a specific code,
blueprint handler for an exception class, app handler for an exception
class, or ``None`` if a suitable handler is not found.
| def _find_error_handler(
self, e: Exception, blueprints: list[str]
) -> ft.ErrorHandlerCallable | None:
"""Return a registered error handler for an exception in this order:
blueprint handler for a specific code, app handler for a specific code,
blueprint handler for an exception class, app handler for an exception
class, or ``None`` if a suitable handler is not found.
"""
exc_class, code = self._get_exc_class_and_code(type(e))
names = (*blueprints, None)
for c in (code, None) if code is not None else (None,):
for name in names:
handler_map = self.error_handler_spec[name][c]
if not handler_map:
continue
for cls in exc_class.__mro__:
handler = handler_map.get(cls)
if handler is not None:
return handler
return None
| (self, e: 'Exception', blueprints: 'list[str]') -> 'ft.ErrorHandlerCallable | None' | [
-0.0008453644695691764,
-0.05861193686723709,
-0.010858236812055111,
0.01644703559577465,
-0.024139853194355965,
-0.005198991391807795,
0.06041538342833519,
0.004766916390508413,
-0.029155682772397995,
-0.014220909215509892,
0.023576276376843452,
0.021228041499853134,
0.029512614011764526,
-0.01658792980015278,
0.02205462008714676,
0.02367020584642887,
0.02235519513487816,
0.04365837946534157,
0.0331946462392807,
-0.056432776153087616,
-0.0021051925141364336,
0.03118455596268177,
0.056733351200819016,
-0.02235519513487816,
-0.04305723309516907,
0.056132201105356216,
0.06405984610319138,
0.02340720407664776,
0.07003375142812729,
-0.02782188542187214,
0.0036773355677723885,
-0.03869890794157982,
0.0060960170812904835,
-0.0003877522540278733,
-0.019124023616313934,
0.041742220520973206,
-0.0035129589959979057,
0.08175613731145859,
-0.027483738958835602,
-0.009510350413620472,
-0.04673926159739494,
0.008979649282991886,
0.009693512693047523,
-0.03975091502070427,
0.055230479687452316,
0.04583754017949104,
-0.03610645607113838,
0.02737102285027504,
-0.015930423513054848,
0.012126283720135689,
-0.023501133546233177,
-0.009571404196321964,
0.006758219562470913,
-0.019424596801400185,
0.047603413462638855,
0.055117763578891754,
-0.012455036863684654,
-0.03323221579194069,
-0.0015380936674773693,
0.020927468314766884,
0.015432598069310188,
0.0012492608511820436,
-0.0035834060981869698,
0.0672910138964653,
-0.02150982990860939,
-0.009965907782316208,
0.026938948780298233,
-0.02261819690465927,
-0.06142982095479965,
0.01925552450120449,
-0.0016484607476741076,
0.001879761926829815,
-0.05485476180911064,
-0.05158602073788643,
0.039224911481142044,
-0.05338946357369423,
0.04963228851556778,
-0.02517307549715042,
0.021284399554133415,
0.012896505184471607,
0.0609789602458477,
-0.007772656623274088,
-0.03124091401696205,
-0.012351714074611664,
0.05260045826435089,
-0.05365246534347534,
0.03152270242571831,
0.030564622953534126,
-0.06774187088012695,
-0.035373806953430176,
-0.05372760817408562,
-0.11579614877700806,
0.005490172654390335,
0.03157905861735344,
-0.04358323663473129,
-0.020833538845181465,
-0.013384937308728695,
0.004262045957148075,
0.01556409988552332,
-0.042531225830316544,
0.057484786957502365,
0.042193081229925156,
0.02526700496673584,
0.013610368594527245,
0.017376936972141266,
-0.026037225499749184,
-0.017414508387446404,
0.04782884567975998,
0.004419377539306879,
0.011694208718836308,
0.00944929663091898,
-0.04538667947053909,
0.06593842804431915,
0.020326320081949234,
-0.0033157074358314276,
-0.019030094146728516,
0.029963474720716476,
0.031560275703668594,
0.027108021080493927,
-0.004964168183505535,
-0.012314142659306526,
-0.016822753474116325,
0.015921032056212425,
-0.03377700597047806,
0.030170118436217308,
-0.0003965581418015063,
-0.029437469318509102,
-0.014033050276339054,
0.02592451125383377,
-0.029850758612155914,
0.05504262074828148,
0.024628285318613052,
-0.0027380415704101324,
-0.01476569939404726,
-0.040990784764289856,
0.052863460034132004,
-0.040690209716558456,
0.03347643464803696,
-0.03593738377094269,
-0.006213428918272257,
-0.011919639073312283,
0.02502278797328472,
-0.054779618978500366,
-0.03184206411242485,
-0.04065264016389847,
-0.002364672254770994,
0.0006604410009458661,
0.026882590726017952,
0.044146813452243805,
0.02280605584383011,
-0.03400243818759918,
-0.015225953422486782,
0.06544999778270721,
0.029794402420520782,
-0.0609789602458477,
0.010999131016433239,
0.02025117538869381,
0.039525486528873444,
-0.056432776153087616,
-0.03449087217450142,
0.04929414391517639,
-0.002770917024463415,
-0.04651383310556412,
-0.11061124503612518,
-0.056320060044527054,
0.006485824007540941,
-0.002860149834305048,
0.028197601437568665,
0.009749870747327805,
0.014277267269790173,
-0.08092956244945526,
0.04362080618739128,
-0.036876678466796875,
0.03298800066113472,
0.004440511576831341,
0.058874938637018204,
-0.002053531352430582,
-0.07228805869817734,
-0.0016484607476741076,
-0.028310317546129227,
0.055681340396404266,
0.04876813665032387,
0.008556967601180077,
0.010191338136792183,
0.00003357241803314537,
0.02692016214132309,
-0.046701692044734955,
0.02808488719165325,
0.002180335810407996,
0.019030094146728516,
-0.013995478861033916,
0.031917206943035126,
0.027803098782896996,
0.00022293553047347814,
0.014549662359058857,
0.07495564967393875,
-0.00029044729308225214,
0.03670760616660118,
0.006161767989397049,
-0.038022615015506744,
0.014192730188369751,
0.06300783157348633,
-0.004358323756605387,
0.08528788387775421,
-0.02291877008974552,
-0.011694208718836308,
0.048505134880542755,
-0.008481823839247227,
-0.04756584018468857,
-0.005739085376262665,
-0.02616872824728489,
-0.026713518425822258,
-0.04437224194407463,
0.011863281950354576,
0.04162950441241264,
0.06082867085933685,
0.040126632899045944,
-0.020025745034217834,
-0.021434687077999115,
0.0073452782817184925,
-0.018175335600972176,
0.05207445099949837,
0.07581980526447296,
0.016428250819444656,
0.022674554958939552,
-0.02742738090455532,
-0.039675772190093994,
-0.03460358828306198,
0.042944516986608505,
0.008580449968576431,
-0.01609949767589569,
-0.005123848095536232,
-0.02361384779214859,
0.007401635870337486,
0.07927640527486801,
-0.027709169313311577,
0.029099324718117714,
-0.01222960650920868,
0.00874482560902834,
0.0034166814293712378,
0.04501096159219742,
0.019030094146728516,
-0.06011480838060379,
0.052112024277448654,
0.03661367669701576,
-0.006124196108430624,
0.017733868211507797,
-0.02391442283987999,
-0.07025918364524841,
-0.006049052346497774,
-0.011440599337220192,
0.043245088309049606,
0.050609152764081955,
-0.051811449229717255,
-0.023181773722171783,
-0.09077335894107819,
-0.02571786567568779,
0.01544199138879776,
0.01278379000723362,
0.021040182560682297,
0.03930005431175232,
-0.01755540259182453,
0.07442964613437653,
-0.0028460605535656214,
-0.04005149006843567,
-0.031503915786743164,
0.030414335429668427,
0.012990434654057026,
0.04335780441761017,
0.02321934513747692,
0.09069821983575821,
0.06443555653095245,
-0.008129588328301907,
0.023144200444221497,
0.03345764800906181,
-0.007044704165309668,
-0.019424596801400185,
0.03845469281077385,
0.010520091280341148,
-0.034115154296159744,
-0.010830058716237545,
-0.025379721075296402,
-0.026243871077895164,
0.03565559536218643,
0.0037031660322099924,
0.04193007946014404,
-0.051661163568496704,
-0.037571754306554794,
0.03430301323533058,
0.019593670964241028,
0.02908053807914257,
-0.0362003855407238,
-0.04711497947573662,
-0.010642199777066708,
-0.045950256288051605,
0.05996452271938324,
-0.009505653753876686,
-0.008420770056545734,
0.012962255626916885,
-0.04568725451827049,
0.004541486036032438,
-0.011309098452329636,
0.112339548766613,
-0.022392766550183296,
-0.03475387394428253,
-0.05229988321661949,
0.06860602647066116,
-0.048054274171590805,
0.01218264177441597,
-0.02115289866924286,
-0.01659732311964035,
0.04422195628285408,
-0.04632597416639328,
-0.038924336433410645,
-0.00747208297252655,
0.0002327687689103186,
-0.022993914783000946,
0.013986085541546345,
0.002862498164176941,
0.025191862136125565,
-0.014606019482016563,
0.04407166689634323,
0.009458689019083977,
-0.03700817748904228,
0.04275665804743767,
0.005302313715219498,
-0.017076361924409866,
-0.035016875714063644,
-0.03152270242571831,
-0.022937556728720665,
-0.03413394093513489,
-0.06823030859231949,
0.010219517163932323,
0.02977561578154564,
0.04809184744954109,
-0.028253959491848946,
0.02536093443632126,
-0.023745348677039146,
-0.017010612413287163,
-0.03332614526152611,
0.0265820175409317,
0.016879111528396606,
0.01609010435640812,
0.041779790073633194,
-0.009608976542949677,
-0.02096503973007202,
0.04328266158699989,
-0.03603131324052811,
-0.05481719225645065,
-0.007326492108404636,
0.05538076534867287,
-0.09069821983575821,
-0.06469856202602386,
-0.025454863905906677,
-0.004067142494022846,
-0.012727431952953339,
-0.030846411362290382,
0.029493827372789383,
0.03368308022618294,
0.01779022626578808,
0.033664293587207794,
-0.006523395888507366,
-0.08618960529565811,
-0.03565559536218643,
-0.03554287925362587,
0.05650791898369789,
-0.03960062935948372,
0.01436180341988802,
-0.0006657245103269815,
-0.014934772625565529,
0.047152552753686905,
0.06507427990436554,
0.021321970969438553,
-0.009538529440760612,
-0.02631901390850544,
0.0071668121963739395,
0.04628840088844299,
0.004440511576831341,
0.01320647168904543,
0.023181773722171783,
0.0181001927703619,
-0.011468778364360332,
-0.008279875852167606,
-0.04666411876678467,
-0.004092973191291094,
-0.06560028344392776,
-0.057334497570991516,
0.017818404361605644,
-0.03790990263223648,
-0.006269786506891251,
-0.011590886861085892,
-0.07612037658691406,
-0.009543226100504398,
0.011806923896074295,
0.028554534539580345,
-0.02166011743247509,
0.001135958475060761,
0.016832146793603897,
-0.0657881423830986,
0.011853888630867004,
-0.03223656490445137,
-0.00603965949267149,
0.04591268301010132,
0.016766395419836044,
0.003658549627289176,
0.015225953422486782,
0.017339365556836128,
0.06841816753149033,
0.00024788553128018975,
-0.002327100606635213,
-0.042080365121364594,
0.012577145360410213,
-0.0170481838285923,
-0.06823030859231949,
-0.03945034369826317,
-0.00693198898807168,
-0.015817709267139435,
0.04726526886224747,
-0.029550185427069664,
-0.012342321686446667,
-0.007829014211893082,
-0.007190294563770294,
-0.03218020871281624,
-0.029662901535630226,
-0.01703879050910473,
-0.004884328227490187,
-0.008730736561119556,
0.057635072618722916,
-0.03941277042031288,
0.047002267092466354,
-0.03744025528430939,
-0.020476605743169785,
-0.014831450767815113,
-0.07442964613437653,
-0.01925552450120449,
-0.03163541853427887,
-0.021265612915158272,
-0.00657975347712636,
-0.00020913964544888586,
-0.014446339569985867,
0.03896190971136093,
-0.01779961958527565,
-0.05891251191496849,
0.04448495805263519,
0.043996524065732956,
-0.024083495140075684,
0.020176032558083534,
0.028366675600409508,
0.016879111528396606,
-0.02175404690206051,
-0.03704575076699257,
-0.03661367669701576,
0.028761178255081177,
-0.0010009350953623652,
0.05019586533308029,
-0.003092625178396702,
-0.04636354744434357,
0.004445208236575127,
0.05139816179871559,
-0.008669682778418064,
-0.01850408874452114,
-0.00738284969702363,
0.08919534832239151,
-0.06522456556558609,
-0.05665820837020874,
0.02430892549455166,
0.06330841034650803,
-0.029061753302812576,
0.03332614526152611,
-0.007054097019135952,
0.017658725380897522,
-0.034021224826574326,
0.023501133546233177,
-0.03233049437403679,
-0.030996697023510933,
0.015733173117041588,
0.03497930243611336,
-0.03037676401436329,
0.06120438873767853,
0.01371369045227766,
0.034472085535526276,
-0.028291530907154083,
0.043545663356781006,
-0.007223169784992933,
0.010463734157383442,
-0.019819101318717003,
-0.003231171052902937,
-0.05233745649456978,
-0.028385460376739502,
-0.008885719813406467,
0.003867542603984475,
-0.006734737195074558,
0.013244044035673141,
-0.025492435321211815,
0.05560619756579399,
-0.024590713903307915,
0.06041538342833519,
0.035073231905698776,
0.007162116002291441,
0.005321099888533354,
0.044447384774684906,
-0.01700121909379959,
0.016230998560786247,
-0.058236218988895416,
-0.022524267435073853,
-0.12631623446941376,
-0.01729240082204342,
0.004809184465557337,
0.007378153502941132,
0.01914280839264393,
0.021265612915158272,
0.04587511345744133,
-0.018025049939751625,
-0.01170360203832388,
-0.04839241877198219,
0.003484780201688409,
0.05489233508706093,
-0.03713968023657799,
0.015977388247847557,
0.04422195628285408,
0.04422195628285408,
-0.0030362673569470644,
0.02070203796029091,
0.04666411876678467,
-0.04993286356329918,
0.039525486528873444,
0.0663892924785614,
0.040126632899045944,
-0.0030761873349547386,
-0.02367020584642887,
0.011309098452329636,
0.08889476954936981,
-0.034227870404720306,
0.003024526173248887,
-0.039638202637434006,
0.01326282974332571,
0.0030808839946985245,
0.0033415379002690315,
-0.02010088972747326,
0.013384937308728695,
0.015479562804102898,
0.07935154438018799,
-0.019988173618912697,
0.016832146793603897,
-0.06868116557598114,
-0.08461159467697144,
-0.06868116557598114,
-0.03725239634513855,
-0.029343539848923683,
-0.05203688144683838,
0.051060013473033905,
0.028385460376739502,
0.08153070509433746,
-0.04568725451827049,
0.032668642699718475,
-0.0002812010934576392,
0.031203342601656914,
0.02475978620350361,
-0.0029399897903203964,
0.0050815800204873085,
-0.010116195306181908,
-0.0184007678180933,
-0.005053400993347168,
0.0037853543180972338,
0.018438339233398438,
-0.02862967737019062,
0.004459297750145197,
0.021998262032866478,
-0.024741001427173615,
-0.029437469318509102,
-0.027615239843726158,
0.032461997121572495,
0.0031208039727061987,
-0.061692822724580765,
0.009947122074663639,
-0.01764933206140995,
0.025943296030163765,
-0.05083458498120308,
0.009416420944035053,
-0.026845019310712814,
0.0013866325607523322,
-0.07007132470607758,
-0.0028202298562973738,
0.020119674503803253,
-0.022843627259135246,
-0.024252567440271378,
-0.0067629157565534115,
0.03845469281077385,
-0.09340338408946991,
-0.0065374854020774364,
-0.027615239843726158,
-0.02211097814142704,
-0.041779790073633194,
-0.04749069735407829,
0.04636354744434357,
0.07243834435939789,
-0.022543052211403847,
0.028385460376739502,
-0.027990957722067833,
0.035073231905698776,
-0.03214263543486595,
-0.013018612749874592,
0.014728127978742123,
-0.05639520287513733,
0.0702967569231987,
-0.021265612915158272,
0.04215550795197487,
-0.03914976865053177,
-0.0015909289941191673,
-0.03424665331840515,
0.0030104368925094604,
0.008110802620649338,
0.03334493190050125,
0.07657123357057571,
-0.07844982296228409,
0.005537137389183044,
0.020589321851730347,
0.026243871077895164,
-0.007739781402051449,
0.03157905861735344,
-0.02442164160311222,
0.056282490491867065,
0.04407166689634323,
0.013826405629515648,
0.0011635503033176064,
0.004992346744984388,
-0.009303705766797066,
-0.008505306206643581,
-0.02646930143237114,
0.041892506182193756,
-0.005349278450012207,
0.03343886137008667,
0.025398505851626396,
-0.09520682692527771,
-0.08295843750238419,
0.03548652306199074,
0.024384068325161934,
0.009637155570089817,
-0.03608766943216324,
0.01048251986503601,
0.01160967256873846,
0.016982432454824448,
-0.06672743707895279,
0.02742738090455532,
0.06045295298099518,
0.04673926159739494,
0.012840147130191326,
-0.04380866512656212,
0.06210611015558243,
-0.001978387823328376,
-0.007091668900102377,
0.0004728757485281676,
-0.05072186887264252,
0.013807619921863079,
0.00745799345895648,
0.005781353916972876,
0.0016860325122252107,
-0.03941277042031288,
-0.024834930896759033,
0.04673926159739494,
-0.018269265070557594,
-0.03295042738318443,
0.006485824007540941,
-0.008758915588259697,
-0.004893721081316471,
-0.02457192726433277,
0.03956305980682373,
-0.024196209385991096,
0.02472221478819847,
-0.013779440894722939,
0.01779022626578808,
-0.029155682772397995,
0.003719603642821312,
-0.054779618978500366,
-0.0031818579882383347,
0.03419029712677002,
-0.03407758101820946,
0.0010913420701399446,
0.03725239634513855,
-0.04230579733848572,
0.03187963366508484,
0.010106801986694336,
-0.04688955098390579,
0.06379684060811996,
0.008946774527430534,
0.0309403408318758,
0.03806018829345703,
0.007434511091560125,
0.031353630125522614,
-0.04456010088324547,
-0.006852149032056332,
-0.031203342601656914,
0.008016873151063919,
0.04301965981721878,
-0.09490625560283661,
0.05538076534867287,
0.021021397784352303,
-0.020645679906010628,
0.008829362690448761,
0.0690944567322731,
0.036576103419065475,
0.0149441659450531,
-0.008510002866387367,
-0.039638202637434006,
-0.014493304304778576,
-0.01949974149465561,
0.026149941608309746,
0.01658792980015278,
-0.027164379134774208,
0.020927468314766884,
-0.03862376511096954,
-0.06176796555519104,
0.07499322295188904,
0.007279527373611927,
-0.02105896919965744,
-0.009918943047523499,
-0.04854270815849304,
0.005809532478451729,
-0.04358323663473129,
0.02265576831996441,
-0.032912857830524445,
-0.02060810849070549,
0.029719257727265358,
0.008852845057845116,
0.018184728920459747,
0.003393199061974883,
-0.01894555799663067,
-0.012877719476819038,
-0.01098034530878067,
0.009275526739656925,
-0.021246828138828278,
-0.012727431952953339,
-0.03340129181742668,
0.028949037194252014,
0.00796990841627121,
-0.03914976865053177,
0.026657160371541977,
-0.022092191502451897,
-0.009909550659358501,
-0.005443207919597626,
0.021847976371645927,
0.023087844252586365,
-0.0044499048963189125,
0.006523395888507366,
0.06259454041719437,
0.012971648015081882,
-0.04392138123512268,
0.028986608609557152,
0.040126632899045944,
0.04726526886224747,
0.018560446798801422,
0.014446339569985867,
0.010416769422590733,
0.04557453840970993,
-0.08679075539112091,
-0.04906871169805527,
0.0053774574771523476,
0.0007725692121312022,
0.013046791777014732,
0.033063143491744995,
-0.026356585323810577,
0.02842303179204464,
-0.037271179258823395,
-0.008674378506839275,
0.05902522802352905,
-0.004398243501782417,
-0.05139816179871559,
-0.05338946357369423
]
|
29,325 | quart.app | add_background_task | null | def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, func: Callable, *args: Any, **kwargs: Any) -> NoneType | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,326 | flask.sansio.app | add_template_filter | Register a custom template filter. Works exactly like the
:meth:`template_filter` decorator.
:param name: the optional name of the filter, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: Callable[..., Any], name: str | None = None) -> NoneType | [
0.053565289825201035,
-0.0548790842294693,
-0.036467187106609344,
-0.052514251321554184,
0.053978193551301956,
0.003962498623877764,
-0.010707426816225052,
0.037518225610256195,
-0.04782212898135185,
-0.054804008454084396,
-0.005015880800783634,
0.002090341178700328,
-0.007859308272600174,
0.010735579766333103,
0.023685842752456665,
0.03577275574207306,
0.0649389997124672,
0.0356413759291172,
0.0753367468714714,
-0.06749151647090912,
0.040577489882707596,
0.0011501569533720613,
0.00030205550137907267,
0.02197790890932083,
-0.02950407564640045,
0.0011419457150623202,
-0.02278495393693447,
-0.008849346078932285,
0.06568973511457443,
-0.04800981283187866,
-0.0071226442232728004,
-0.04831010848283768,
0.028753336519002914,
0.04729660972952843,
0.06062224134802818,
-0.023291703313589096,
-0.012405975721776485,
-0.00010095398465637118,
-0.005081570241600275,
-0.02400490641593933,
0.019613077864050865,
0.016122138127684593,
-0.02254096418619156,
-0.05442864075303078,
0.03697393834590912,
0.027965059503912926,
-0.03372698649764061,
0.04031473025679588,
-0.01811159960925579,
0.035491228103637695,
0.0031038401648402214,
-0.03327654302120209,
0.02665126509964466,
0.047671981155872345,
0.01350393332540989,
0.02742077223956585,
-0.01757669635117054,
0.026069441810250282,
-0.004832888022065163,
-0.04650833457708359,
-0.012340286746621132,
0.059083227068185806,
-0.011739694513380527,
0.015080486424267292,
0.038306500762701035,
-0.010012992657721043,
-0.061936039477586746,
0.01170215755701065,
0.01189922634512186,
-0.025055943056941032,
0.010988954454660416,
0.006986572872847319,
-0.020401354879140854,
0.013457011431455612,
0.04755936935544014,
-0.04973651468753815,
0.01951923593878746,
-0.09316681325435638,
0.03787482529878616,
-0.05754420906305313,
0.029597919434309006,
-0.03269471973180771,
-0.05300223454833031,
0.010313288308680058,
0.0689929947257042,
0.034440189599990845,
0.03982675075531006,
0.012640582397580147,
-0.03725546598434448,
0.04620803892612457,
-0.05367789790034294,
0.0006017648847773671,
-0.011110950261354446,
0.029147474095225334,
0.02483072131872177,
-0.03338915482163429,
0.017858223989605904,
-0.004061033483594656,
-0.0020504582207649946,
-0.02909117005765438,
0.03111816756427288,
0.03397097811102867,
-0.0035026706755161285,
0.024342739954590797,
0.007873384281992912,
0.0335393026471138,
-0.005522630177438259,
0.02582545019686222,
0.009825307875871658,
-0.017013641074299812,
-0.0356413759291172,
-0.03269471973180771,
-0.018580811098217964,
-0.05919583886861801,
-0.02499963715672493,
0.00791092123836279,
0.01289395708590746,
-0.007174257654696703,
0.07740128040313721,
-0.04226665198802948,
0.009412401355803013,
-0.03177506476640701,
0.028302893042564392,
-0.0589706152677536,
0.04913592338562012,
0.07668807357549667,
-0.03498447686433792,
0.028096439316868782,
0.023892296478152275,
0.00817837193608284,
-0.033013783395290375,
0.06865516304969788,
-0.05506676807999611,
0.05003681033849716,
0.009346711449325085,
0.01788637787103653,
-0.06032194569706917,
0.029241317883133888,
-0.02194037288427353,
0.09219085425138474,
-0.0018334474880248308,
-0.018721574917435646,
-0.03821265697479248,
-0.013109794817864895,
-0.00047976968926377594,
-0.018862338736653328,
0.005170720629394054,
0.00332436989992857,
-0.028509346768260002,
0.07195841521024704,
0.03922615572810173,
-0.0041126469150185585,
-0.04354291036725044,
0.03903847187757492,
0.0005689200479537249,
0.03990182280540466,
-0.02255973219871521,
-0.0015108640072867274,
0.01995091140270233,
-0.08580956608057022,
-0.042379263788461685,
-0.03960152715444565,
-0.022034214809536934,
-0.08565941452980042,
-0.010210062377154827,
0.03310762718319893,
-0.003185952315106988,
0.01106402836740017,
0.016488123685121536,
0.05544213950634003,
-0.04658340662717819,
-0.0024797876831144094,
-0.0003522025654092431,
0.001459250575862825,
0.05401573330163956,
0.04174113646149635,
0.006803580094128847,
-0.029804371297359467,
-0.002007056027650833,
-0.028753336519002914,
-0.020082291215658188,
-0.06324983388185501,
-0.06531436741352081,
0.013560238294303417,
0.014911570586264133,
0.05022449791431427,
-0.04038980230689049,
0.04155345261096954,
0.03087417595088482,
0.040765173733234406,
-0.06482638418674469,
0.04155345261096954,
0.07372265309095383,
0.01817728951573372,
-0.02498086914420128,
-0.00018841811106540263,
-0.02926008589565754,
-0.003256334224715829,
0.0045771668665111065,
-0.04294231906533241,
-0.055554747581481934,
0.04305493086576462,
0.012368438765406609,
-0.03519093245267868,
0.016947953030467033,
-0.001623474876396358,
0.009567241184413433,
0.0072587160393595695,
-0.04489424452185631,
-0.03744314983487129,
-0.036711178719997406,
0.002295621670782566,
0.024061212316155434,
-0.017980219796299934,
0.00640005711466074,
-0.0772511288523674,
0.032638415694236755,
-0.005147260148078203,
0.004098570439964533,
0.006461055018007755,
0.04556990787386894,
0.055216915905475616,
0.018411895260214806,
-0.006512668449431658,
-0.015202482230961323,
-0.0067472741939127445,
0.029973288998007774,
-0.0072587160393595695,
-0.01555908378213644,
-0.018618348985910416,
-0.04346783831715584,
-0.024511655792593956,
0.058670319616794586,
0.03089294582605362,
0.044819168746471405,
-0.0447065569460392,
0.04966144263744354,
0.03260087966918945,
-0.017586080357432365,
0.005616472568362951,
0.035866595804691315,
0.02725185640156269,
0.022841259837150574,
-0.034421421587467194,
0.003148415358737111,
0.011692773550748825,
0.0013771384255960584,
-0.008741427212953568,
-0.0213773176074028,
-0.03169998899102211,
0.003488594200462103,
-0.026069441810250282,
0.004736699163913727,
-0.004912653937935829,
-0.05116292089223862,
-0.028321661055088043,
-0.008816501125693321,
-0.03554753214120865,
-0.013344400562345982,
0.012068143114447594,
-0.008919727988541126,
-0.0025431313551962376,
-0.03654226288199425,
0.07353496551513672,
-0.007333789952099323,
-0.0243990458548069,
0.0033689450938254595,
-0.023535694926977158,
-0.032000284641981125,
-0.015427703969180584,
0.04797227680683136,
0.06332490593194962,
-0.02013859711587429,
0.013175484724342823,
-0.05469139665365219,
-0.014001298695802689,
-0.024455349892377853,
0.0106886588037014,
-0.018862338736653328,
-0.01372915506362915,
0.013635312207043171,
-0.05093769729137421,
0.04324261471629143,
0.04782212898135185,
-0.008530281484127045,
-0.009693928062915802,
-0.04335522651672363,
0.058032192289829254,
-0.007071030791848898,
-0.003676279215142131,
0.023085249587893486,
0.01735147461295128,
0.03006713092327118,
-0.012931494042277336,
-0.011983685195446014,
0.038963399827480316,
-0.075111523270607,
-0.013353785499930382,
0.02077672630548477,
-0.07646285742521286,
0.028715798631310463,
-0.01310041081160307,
0.03269471973180771,
0.032431960105895996,
0.0006956073921173811,
0.008422362618148327,
0.03562260419130325,
-0.025938061997294426,
-0.019556773826479912,
0.011580162681639194,
0.009890997782349586,
-0.012255827896296978,
-0.01025698333978653,
-0.011627083644270897,
0.005053417757153511,
0.01795206591486931,
-0.035059552639722824,
-0.04894823953509331,
0.004370713606476784,
0.06238648295402527,
-0.04733414947986603,
0.02865949459373951,
0.040952857583761215,
0.008061069063842297,
0.030630186200141907,
0.00025777355767786503,
0.06313721835613251,
-0.008492744527757168,
0.0017055871430784464,
0.022409584373235703,
-0.05228903144598007,
0.03164368495345116,
0.004917345941066742,
0.005058109760284424,
-0.009994224645197392,
0.00445517199113965,
-0.029973288998007774,
-0.06035948544740677,
-0.0569436177611351,
-0.06197357550263405,
0.057806968688964844,
-0.00789684522897005,
-0.003333754139021039,
-0.006024687085300684,
-0.01332563254982233,
-0.011833537369966507,
0.007868692278862,
0.02299140766263008,
0.049473755061626434,
-0.026670033112168312,
0.06760412454605103,
-0.03489063307642937,
0.014986644499003887,
0.06223633512854576,
0.017220094799995422,
-0.08235616236925125,
-0.01972568966448307,
-0.01974445767700672,
0.017069946974515915,
0.003946076147258282,
-0.008694506250321865,
0.021414853632450104,
-0.05123799666762352,
0.016281669959425926,
0.03049880638718605,
-0.025694072246551514,
0.012218290939927101,
-0.02584422007203102,
0.010998338460922241,
0.021414853632450104,
0.03847541660070419,
-0.03594167158007622,
0.007798310369253159,
-0.025131016969680786,
-0.015286940149962902,
-0.03718039020895958,
0.010913880541920662,
-0.04215404391288757,
-0.08250630646944046,
0.09083952009677887,
0.014789574779570103,
0.046658482402563095,
-0.000370971072698012,
0.0039015011861920357,
-0.0015835919184610248,
-0.1036771759390831,
-0.020589040592312813,
-0.012678119353950024,
-0.02299140766263008,
-0.011758462525904179,
0.018974950537085533,
-0.050299569964408875,
0.0042721787467598915,
0.06959358602762222,
0.031793832778930664,
-0.04511946439743042,
-0.019181402400135994,
0.034684181213378906,
0.02783367969095707,
0.03888832405209541,
0.07451093196868896,
-0.005358405876904726,
0.0629120022058487,
0.019462930038571358,
0.05870785564184189,
-0.01687287911772728,
0.06035948544740677,
0.010801269672811031,
0.011983685195446014,
0.08408286422491074,
0.01896556466817856,
-0.012640582397580147,
-0.07402294874191284,
-0.04699631407856941,
-0.03888832405209541,
-0.03612935543060303,
0.00007961947994772345,
0.07011910527944565,
0.03207536041736603,
0.012227674946188927,
0.0468086302280426,
-0.00040469568921253085,
0.053940657526254654,
0.03654226288199425,
0.01208691205829382,
0.042979855090379715,
-0.026932792738080025,
0.035434920340776443,
-0.039976898580789566,
0.020044753327965736,
0.006235832814127207,
-0.016779035329818726,
-0.0447816327214241,
-0.03145600110292435,
0.014048219658434391,
-0.015183713287115097,
-0.010069298557937145,
0.002843427238985896,
0.004607665818184614,
0.040352266281843185,
0.003085071686655283,
-0.000324049819028005,
0.03948891535401344,
0.017426548525691032,
0.02582545019686222,
0.010238214395940304,
-0.06392549723386765,
0.031230777502059937,
0.09031400084495544,
-0.014639426954090595,
-0.012631198391318321,
-0.05750667303800583,
0.0024094057735055685,
-0.0034088280517607927,
-0.055404599756002426,
-0.04181620851159096,
0.013128562830388546,
0.010181909427046776,
-0.043392762541770935,
0.03169998899102211,
0.02336677722632885,
-0.0253750067204237,
0.021452391520142555,
-0.02539377473294735,
0.0034862481988966465,
0.017051178961992264,
0.022109288722276688,
0.023704610764980316,
-0.05210134759545326,
0.0006117356824688613,
0.010031761601567268,
-0.0020786109380424023,
0.006775427144020796,
-0.004286255221813917,
0.02154623344540596,
0.0406901016831398,
0.03295747935771942,
-0.012377823702991009,
-0.03960152715444565,
0.027796143665909767,
0.01292211003601551,
-0.03352053463459015,
-0.023911064490675926,
0.055216915905475616,
-0.059646282345056534,
-0.05957120656967163,
0.03903847187757492,
0.023254167288541794,
0.012678119353950024,
0.004992419853806496,
-0.012424744665622711,
0.03091171383857727,
0.001975384308025241,
0.01658196561038494,
0.026707570999860764,
0.017464086413383484,
0.02483072131872177,
0.03256333991885185,
0.02015736512839794,
-0.032450731843709946,
-0.012828267179429531,
-0.011232945136725903,
0.007713851984590292,
0.05018695816397667,
0.007268100045621395,
-0.04102793335914612,
-0.018702806904911995,
-0.03288240730762482,
-0.022616038098931313,
-0.031624916940927505,
0.0014580775750800967,
0.030742796137928963,
0.008671045303344727,
-0.0031014939304441214,
-0.015971990302205086,
0.001507344888523221,
0.0018240632489323616,
-0.029222548007965088,
0.012124449014663696,
-0.00791092123836279,
0.01759546622633934,
-0.0003677452332340181,
0.05142568051815033,
-0.03781852126121521,
0.013757308013737202,
-0.012969030998647213,
0.10405254364013672,
0.040952857583761215,
0.036298271268606186,
0.09662021696567535,
0.013335016556084156,
0.05431602895259857,
0.04080270975828171,
-0.014883417636156082,
0.026876486837863922,
0.03389590606093407,
-0.05003681033849716,
-0.06741643697023392,
-0.014104524627327919,
-0.0609976127743721,
0.030423732474446297,
0.019556773826479912,
-0.02700786665081978,
0.004138453397899866,
-0.04328015074133873,
-0.05168844014406204,
0.0003522025654092431,
-0.034252505749464035,
0.009032338857650757,
-0.08190571516752243,
-0.06576481461524963,
0.02177145518362522,
0.042191579937934875,
0.035078320652246475,
-0.08978848904371262,
-0.017342090606689453,
0.048460256308317184,
0.016506891697645187,
0.00701003335416317,
0.023047713562846184,
-0.026369737461209297,
0.01707933098077774,
-0.02111455798149109,
-0.024887025356292725,
0.019631847739219666,
0.041365765035152435,
-0.010669889859855175,
0.02117086388170719,
-0.03432758152484894,
-0.05502923205494881,
-0.026914022862911224,
-0.021846529096364975,
0.04770951718091965,
0.004302677698433399,
-0.031230777502059937,
0.027570921927690506,
0.011645851656794548,
0.013485164381563663,
0.048685479909181595,
-0.03661733493208885,
0.030986787751317024,
-0.005804157350212336,
-0.040352266281843185,
-0.06366273760795593,
-0.04406842961907387,
-0.01555908378213644,
0.07563704252243042,
0.05994657799601555,
-0.027383236214518547,
-0.05382804572582245,
-0.08280660212039948,
0.008750811219215393,
-0.008919727988541126,
-0.058032192289829254,
0.002742546610534191,
0.027383236214518547,
-0.012152601033449173,
0.024286434054374695,
0.009548472240567207,
0.026782644912600517,
-0.0468086302280426,
0.03783728927373886,
0.036467187106609344,
-0.018036525696516037,
0.03462787717580795,
-0.021039484068751335,
-0.008206524886190891,
0.019988449290394783,
-0.029785603284835815,
0.010491589084267616,
-0.017717460170388222,
-0.04102793335914612,
0.020495198667049408,
0.0366361066699028,
-0.019096944481134415,
-0.051125384867191315,
-0.06332490593194962,
0.025938061997294426,
0.056230414658784866,
-0.05634302645921707,
-0.021396085619926453,
0.006794195622205734,
0.008821193128824234,
0.003317331662401557,
-0.005076878238469362,
0.04313000291585922,
0.01036959420889616,
-0.030461270362138748,
-0.045832667499780655,
-0.02702663466334343,
0.022240668535232544,
-0.012875188142061234,
0.02441781386733055,
-0.01828051544725895,
0.03520970046520233,
0.0055413986556231976,
0.03757452964782715,
-0.010341441258788109,
-0.012518586590886116,
0.03960152715444565,
0.032431960105895996,
-0.06970619410276413,
-0.014798959717154503,
-0.01433913130313158,
-0.007629393599927425,
-0.0038968089502304792,
0.02685771882534027,
-0.0731595978140831,
0.04973651468753815,
-0.010651121847331524,
-0.007892152294516563,
0.0671912133693695,
-0.03171875700354576,
0.00907925982028246,
-0.02319786138832569,
0.010698042809963226,
-0.014733269810676575,
-0.03111816756427288,
-0.004598281811922789,
0.026782644912600517,
0.005461632274091244,
-0.023835990577936172,
0.024718109518289566,
-0.044030893594026566,
-0.00791092123836279,
-0.028152745217084885,
0.0873110443353653,
-0.04373059794306755,
0.0548790842294693,
0.023498157039284706,
0.05461632460355759,
-0.029916983097791672,
0.011505087837576866,
-0.03907600790262222,
-0.021001948043704033,
0.004727315157651901,
-0.048873163759708405,
0.04215404391288757,
0.040990397334098816,
-0.02259727008640766,
-0.039976898580789566,
0.036467187106609344,
-0.04917345941066742,
0.05240164324641228,
0.00955316424369812,
-0.03397097811102867,
0.03113693557679653,
-0.019650615751743317,
0.007512090727686882,
-0.040990397334098816,
0.013400706462562084,
-0.03515339270234108,
0.011073412373661995,
0.043205078691244125,
-0.0893380418419838,
-0.05615534260869026,
-0.015042949467897415,
-0.08250630646944046,
-0.01625351794064045,
-0.0028997326735407114,
0.045457299798727036,
0.008619432337582111,
0.054391101002693176,
-0.0013384283520281315,
-0.011317403055727482,
0.038700640201568604,
-0.02218436263501644,
-0.04778459295630455,
-0.020213671028614044,
0.009515627287328243,
0.04162852466106415,
0.010538510978221893,
0.1015750989317894,
-0.025956830009818077,
-0.011711541563272476,
-0.03579152375459671,
-0.08085468411445618,
0.028828410431742668,
-0.0010275752283632755,
0.0006023514433763921,
-0.051725976169109344,
0.04027719423174858,
0.03410235792398453,
-0.0064845154993236065,
0.07252147048711777,
-0.031249545514583588,
-0.05063740164041519,
-0.012405975721776485,
0.04658340662717819,
-0.01766115427017212,
0.02499963715672493,
-0.03986428678035736,
-0.04812242463231087,
0.025243626907467842,
0.057806968688964844,
-0.04406842961907387,
-0.008966648951172829,
-0.054804008454084396,
-0.0427170991897583,
-0.04853533208370209,
-0.0034862481988966465,
0.015746768563985825,
-0.09324189275503159,
-0.019350320100784302,
0.022691112011671066,
0.054165881127119064,
0.020645346492528915,
-0.02299140766263008,
0.014010682702064514,
-0.008168987929821014,
0.05975889042019844,
0.015211866237223148,
-0.0752241313457489,
0.019256476312875748,
0.002561899833381176,
-0.03885078802704811,
0.018496353179216385,
0.003312639659270644,
-0.03290117532014847,
-0.02721432037651539,
-0.029241317883133888,
-0.02357323095202446,
-0.02479318343102932,
0.010538510978221893,
0.12957769632339478,
0.059683818370103836,
-0.028697030618786812,
0.0025572075974196196
]
|
29,327 | flask.sansio.app | add_template_global | Register a custom template global function. Works exactly like the
:meth:`template_global` decorator.
.. versionadded:: 0.10
:param name: the optional name of the global function, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: Callable[..., Any], name: str | None = None) -> NoneType | [
0.05360015109181404,
-0.05487634241580963,
-0.0365029014647007,
-0.052511632442474365,
0.05397550016641617,
0.003955263178795576,
-0.010763195343315601,
0.03755388781428337,
-0.04785727709531784,
-0.054801274091005325,
-0.005015630275011063,
0.0021371557377278805,
-0.007863607257604599,
0.010706892237067223,
0.023665891960263252,
0.035752199590206146,
0.06497328728437424,
0.03565836325287819,
0.07533298432826996,
-0.06745060533285141,
0.040612999349832535,
0.0011800102656707168,
0.0003260863304603845,
0.02193927764892578,
-0.02952137030661106,
0.0011583103332668543,
-0.02278381772339344,
-0.008806677535176277,
0.06568645685911179,
-0.04800741747021675,
-0.007117596920579672,
-0.04830769822001457,
0.028751900419592857,
0.0472942478954792,
0.06061921641230583,
-0.023290541023015976,
-0.01245227549225092,
-0.00007015841401880607,
-0.005095392465591431,
-0.024003708735108376,
0.019687170162796974,
0.016140101477503777,
-0.022577373310923576,
-0.0544259212911129,
0.03691579028964043,
0.0279073603451252,
-0.033725302666425705,
0.04027518257498741,
-0.018082544207572937,
0.035433150827884674,
0.0031271446496248245,
-0.03327488154172897,
0.02664993330836296,
0.047632064670324326,
0.013512643054127693,
0.027456939220428467,
-0.017585203051567078,
0.026105675846338272,
-0.0048279548063874245,
-0.04654354602098465,
-0.012349054217338562,
0.05904274061322212,
-0.011767259798943996,
0.015107885003089905,
0.03837965801358223,
-0.010050027631223202,
-0.06189541146159172,
0.011701573617756367,
0.011889249086380005,
-0.025017157196998596,
0.010997789911925793,
0.0069627645425498486,
-0.02036280184984207,
0.013475107960402966,
0.04751946032047272,
-0.049771565943956375,
0.019537029787898064,
-0.0931621640920639,
0.0379292368888855,
-0.05754133686423302,
0.029615208506584167,
-0.03269308805465698,
-0.0530371218919754,
0.010303390212357044,
0.06898954510688782,
0.0344197042286396,
0.03982476145029068,
0.012649334967136383,
-0.03725360706448555,
0.04616819694638252,
-0.05375029146671295,
0.0006087726796977222,
-0.011119779199361801,
0.029146019369363785,
0.02477317862212658,
-0.03334995359182358,
0.017829181626439095,
-0.004058484919369221,
-0.002057393779978156,
-0.02908971719443798,
0.031154148280620575,
0.03395051509141922,
-0.003528301138430834,
0.02434152364730835,
0.00790583435446024,
0.03355639427900314,
-0.005527046043425798,
0.025824161246418953,
0.00981543306261301,
-0.017012791708111763,
-0.03563959524035454,
-0.03263678401708603,
-0.018579883500933647,
-0.05919288098812103,
-0.02505469135940075,
0.007976212538778782,
0.012874545529484749,
-0.0072348942048847675,
0.07747248560190201,
-0.04222700744867325,
0.00940723903477192,
-0.03175470978021622,
0.028301479294896126,
-0.05900520831346512,
0.04913346841931343,
0.07668424397706985,
-0.035039033740758896,
0.02807626873254776,
0.023891102522611618,
0.008201423101127148,
-0.03304967284202576,
0.06861419975757599,
-0.055101554840803146,
0.05003431439399719,
0.00929932575672865,
0.0178854838013649,
-0.06028139963746071,
0.02923985756933689,
-0.02193927764892578,
0.09218624979257584,
-0.0018626803066581488,
-0.018730023875832558,
-0.03821074962615967,
-0.01310914009809494,
-0.0004779862647410482,
-0.018908316269516945,
0.005198613740503788,
0.003385198535397649,
-0.02848915569484234,
0.07195482403039932,
0.03922419995069504,
-0.004110095556825399,
-0.04350320249795914,
0.039036523550748825,
0.0005460186512209475,
0.04001243785023689,
-0.022577373310923576,
-0.0015330750029534101,
0.01991238072514534,
-0.0858803540468216,
-0.04237714782357216,
-0.03963708505034447,
-0.02205188199877739,
-0.08565513789653778,
-0.010228320024907589,
0.03308720886707306,
-0.0031271446496248245,
0.011110395193099976,
0.01654360443353653,
0.05547690391540527,
-0.046618618071079254,
-0.002491393592208624,
-0.00031318364199250937,
0.0014415831537917256,
0.05397550016641617,
0.04177658632397652,
0.0067891646176576614,
-0.029821651056408882,
-0.00198701536282897,
-0.028751900419592857,
-0.0200812891125679,
-0.06324667483568192,
-0.06531110405921936,
0.013568945229053497,
0.014910825528204441,
0.05022198706865311,
-0.04038778692483902,
0.0415513776242733,
0.030835099518299103,
0.04080067574977875,
-0.06486068665981293,
0.041588909924030304,
0.07375650852918625,
0.018129462376236916,
-0.024979621171951294,
-0.00016949452401604503,
-0.02923985756933689,
-0.003246787702664733,
0.0045558251440525055,
-0.0430152453482151,
-0.05555197596549988,
0.043052781373262405,
0.012339670211076736,
-0.0351141020655632,
0.01695648953318596,
-0.0015928966458886862,
0.009604298509657383,
0.007291196845471859,
-0.04485446587204933,
-0.037478815764188766,
-0.036746881902217865,
0.0023412529844790697,
0.024022476747632027,
-0.017979322001338005,
0.006385662127286196,
-0.07724727690219879,
0.03265555202960968,
-0.005132927559316158,
0.00415232265368104,
0.006465424317866564,
0.04556763544678688,
0.055214159190654755,
0.01840159110724926,
-0.006535802502185106,
-0.015229874290525913,
-0.006728169973939657,
0.030009327456355095,
-0.007244277745485306,
-0.01553953904658556,
-0.018561115488409996,
-0.04350320249795914,
-0.024566734209656715,
0.058667391538619995,
0.030985239893198013,
0.04485446587204933,
-0.04470432549715042,
0.04965896159410477,
0.032580483704805374,
-0.01760397106409073,
0.005639651790261269,
0.03582727164030075,
0.027288030833005905,
0.022840119898319244,
-0.0344197042286396,
0.003188139060512185,
0.011682805605232716,
0.0013981831725686789,
-0.008764450438320637,
-0.021395018324255943,
-0.031735941767692566,
0.0035165713634341955,
-0.02606813982129097,
0.004781035706400871,
-0.004898332990705967,
-0.05116036534309387,
-0.028320247307419777,
-0.008787909522652626,
-0.035564523190259933,
-0.013371885754168034,
0.012076924555003643,
-0.008914590813219547,
-0.0025289286859333515,
-0.0365779735147953,
0.07341869175434113,
-0.007295888848602772,
-0.024397827684879303,
0.0033288958948105574,
-0.023515751585364342,
-0.03203622251749039,
-0.015408165752887726,
0.04800741747021675,
0.06328421086072922,
-0.020156359300017357,
0.013202978298068047,
-0.05468866601586342,
-0.014009983278810978,
-0.024397827684879303,
0.0107350442558527,
-0.018861396238207817,
-0.013756620697677135,
0.013625248335301876,
-0.05089762061834335,
0.043165385723114014,
0.04785727709531784,
-0.008534547872841358,
-0.009712211787700653,
-0.043353062123060226,
0.05802929401397705,
-0.0070894453674554825,
-0.0036690577398985624,
0.023140400648117065,
0.017350608482956886,
0.0300656296312809,
-0.01295899972319603,
-0.011983086355030537,
0.03899898752570152,
-0.07503270357847214,
-0.01332496665418148,
0.020756920799613,
-0.07645903527736664,
0.028714366257190704,
-0.013099756091833115,
0.032749392092227936,
0.03239280730485916,
0.0006750456523150206,
0.008468860760331154,
0.03565836325287819,
-0.02593676745891571,
-0.019537029787898064,
0.011570200324058533,
0.009937422350049019,
-0.012273984029889107,
-0.010237704031169415,
-0.011645270511507988,
0.00501093827188015,
0.017960553988814354,
-0.035039033740758896,
-0.048945795744657516,
0.004382225219160318,
0.06242090091109276,
-0.047331783920526505,
0.028695598244667053,
0.040913280099630356,
0.008074742741882801,
0.03064742498099804,
0.00025688097230158746,
0.06317160278558731,
-0.00849701277911663,
0.001754766795784235,
0.022389698773622513,
-0.05228642001748085,
0.03162333741784096,
0.004884257446974516,
0.0050625489093363285,
-0.009974957443773746,
0.00445964140817523,
-0.030009327456355095,
-0.06028139963746071,
-0.056940775364637375,
-0.06200801581144333,
0.057804081588983536,
-0.007858915254473686,
-0.0033429714385420084,
-0.005977467633783817,
-0.01332496665418148,
-0.011851713992655277,
0.00784953124821186,
0.023027794435620308,
0.04943375289440155,
-0.026668701320886612,
0.06763828545808792,
-0.034870125353336334,
0.014985895715653896,
0.062233228236436844,
0.01725677028298378,
-0.08242712169885635,
-0.019724704325199127,
-0.01974347233772278,
0.01705971173942089,
0.0039974902756512165,
-0.008703455328941345,
0.021376250311732292,
-0.05123543739318848,
0.01626208983361721,
0.030572354793548584,
-0.025711556896567345,
0.012217680923640728,
-0.025861697271466255,
0.01101655699312687,
0.021395018324255943,
0.038473498076200485,
-0.03597741201519966,
0.007802612613886595,
-0.025110993534326553,
-0.015276793390512466,
-0.03714099898934364,
0.010979021899402142,
-0.04215193912386894,
-0.08250219374895096,
0.09083499014377594,
0.01475130207836628,
0.046656154096126556,
-0.0003445606562308967,
0.003929457627236843,
-0.0015694370958954096,
-0.10367199778556824,
-0.020588012412190437,
-0.012696254067122936,
-0.022971492260694504,
-0.011776643805205822,
0.01896461844444275,
-0.05029705911874771,
0.004246160387992859,
0.06955257803201675,
0.03179224580526352,
-0.04515474662184715,
-0.01918044500052929,
0.034738752990961075,
0.02779475599527359,
0.03881131112575531,
0.0745072141289711,
-0.005362830124795437,
0.06290885806083679,
0.01946195960044861,
0.058704923838377,
-0.016900187358260155,
0.06035647168755531,
0.010819497518241405,
0.01196431927382946,
0.08407866209745407,
0.019011538475751877,
-0.012696254067122936,
-0.07401925325393677,
-0.04699396714568138,
-0.03881131112575531,
-0.03612755239009857,
0.00012668102863244712,
0.07007806748151779,
0.03203622251749039,
0.012198913842439651,
0.04680629447102547,
-0.0004181646800134331,
0.05397550016641617,
0.03652166947722435,
0.012105075642466545,
0.0429777093231678,
-0.02695021592080593,
0.035433150827884674,
-0.03997490182518959,
0.02006252110004425,
0.006202678196132183,
-0.016796965152025223,
-0.04481692984700203,
-0.031416893005371094,
0.014056902378797531,
-0.015173572115600109,
-0.0100218765437603,
0.002897242084145546,
0.004572246689349413,
0.040312718600034714,
0.003084917552769184,
-0.0003325376892462373,
0.03952448070049286,
0.017416294664144516,
0.025842929258942604,
0.010294006206095219,
-0.06399738043546677,
0.03124798648059368,
0.0902344286441803,
-0.014657463878393173,
-0.012639950960874557,
-0.05754133686423302,
0.0024444744922220707,
-0.0034438471775501966,
-0.05540183559060097,
-0.04177658632397652,
0.013099756091833115,
0.010125097818672657,
-0.04339059814810753,
0.03167964145541191,
0.023384379222989082,
-0.025392508134245872,
0.0214700885117054,
-0.02537374012172222,
0.0034485389478504658,
0.017031559720635414,
0.02205188199877739,
0.023703427985310555,
-0.05209874361753464,
0.0006257807835936546,
0.010012492537498474,
-0.0020749883260577917,
0.0067985481582582,
-0.0043095010332763195,
0.021545158699154854,
0.04068806767463684,
0.0329933688044548,
-0.012405356392264366,
-0.039599549025297165,
0.027813522145152092,
0.012883929535746574,
-0.03350009396672249,
-0.02390987053513527,
0.05525169521570206,
-0.059643302112817764,
-0.059530697762966156,
0.03899898752570152,
0.02321547083556652,
0.012677486054599285,
0.005039089825004339,
-0.012442891485989094,
0.030910169705748558,
0.0019858423620462418,
0.016590522602200508,
0.026743771508336067,
0.017481980845332146,
0.024810712784528732,
0.03256171569228172,
0.02017512544989586,
-0.03248664364218712,
-0.012837010435760021,
-0.011232384480535984,
0.007736926432698965,
0.0501844547688961,
0.007291196845471859,
-0.041025884449481964,
-0.01868310570716858,
-0.0329183004796505,
-0.02263367734849453,
-0.031585801392793655,
0.0014685614733025432,
0.030722495168447495,
0.008708147332072258,
-0.0030778797809034586,
-0.01599934510886669,
0.0014720804756507277,
0.0017911288887262344,
-0.02922108955681324,
0.012170761823654175,
-0.007901142351329327,
0.01760397106409073,
-0.00036567417555488646,
0.05138557776808739,
-0.03783540055155754,
0.013766004703938961,
-0.012977766804397106,
0.10404735058546066,
0.040913280099630356,
0.036315228790044785,
0.09654032438993454,
0.013353118672966957,
0.054350852966308594,
0.04080067574977875,
-0.01490144245326519,
0.026875145733356476,
0.03396928310394287,
-0.05003431439399719,
-0.06741306930780411,
-0.014150739647448063,
-0.060957033187150955,
0.030440980568528175,
0.019574563950300217,
-0.027025286108255386,
0.004117133095860481,
-0.04324045777320862,
-0.051648322492837906,
0.0003307782462798059,
-0.03426956385374069,
0.009045963175594807,
-0.08182656019926071,
-0.06576152890920639,
0.021807903423905373,
0.042189475148916245,
0.0350765697658062,
-0.08978400379419327,
-0.017303690314292908,
0.04842030256986618,
0.016506068408489227,
0.006990915630012751,
0.02306533046066761,
-0.026387188583612442,
0.01705971173942089,
-0.021113503724336624,
-0.024960853159427643,
0.019574563950300217,
0.04136370122432709,
-0.01067874114960432,
0.02118857391178608,
-0.03432586416602135,
-0.05498895049095154,
-0.026893911883234978,
-0.021864207461476326,
0.04770713672041893,
0.004293079022318125,
-0.03121045045554638,
0.027532009407877922,
0.011701573617756367,
0.013503259047865868,
0.048720583319664,
-0.036596741527318954,
0.031004007905721664,
-0.005775716155767441,
-0.04035025089979172,
-0.06365956366062164,
-0.04406622797250748,
-0.015548923052847385,
0.07567080110311508,
0.05998111888766289,
-0.02738186903297901,
-0.05386289581656456,
-0.08280247449874878,
0.008825444616377354,
-0.008952125906944275,
-0.05799175798892975,
0.0027025286108255386,
0.02734433300793171,
-0.012142610736191273,
0.024266453459858894,
0.009505769237875938,
0.026837609708309174,
-0.046768758445978165,
0.03783540055155754,
0.036465369164943695,
-0.017998090013861656,
0.03464491292834282,
-0.02103843353688717,
-0.008192040026187897,
0.019987450912594795,
-0.02978411689400673,
0.010434762574732304,
-0.017725959420204163,
-0.041063420474529266,
0.02049417421221733,
0.03669057786464691,
-0.019124142825603485,
-0.05112283304333687,
-0.06335928291082382,
0.025955533608794212,
0.05619007349014282,
-0.05634021386504173,
-0.021413784474134445,
0.0068032401613891125,
0.0087785255163908,
0.003326549893245101,
-0.005071932915598154,
0.04312784969806671,
0.010340925306081772,
-0.03036591038107872,
-0.0457928441464901,
-0.026987750083208084,
0.022239558398723602,
-0.0128933135420084,
0.024416593834757805,
-0.01828898675739765,
0.035189174115657806,
0.005564581137150526,
0.03751635178923607,
-0.010387844406068325,
-0.012517961673438549,
0.03963708505034447,
0.03241157531738281,
-0.06970271468162537,
-0.014770069159567356,
-0.014347799122333527,
-0.007619629148393869,
-0.0038919225335121155,
0.026856377720832825,
-0.0731184110045433,
0.04969649761915207,
-0.010650590062141418,
-0.007863607257604599,
0.06718786060810089,
-0.031717173755168915,
0.009125725366175175,
-0.02319670282304287,
0.010725660249590874,
-0.01475130207836628,
-0.031191684305667877,
-0.0046097817830741405,
0.026743771508336067,
0.005451975855976343,
-0.023834800347685814,
0.024716876447200775,
-0.04402869567275047,
-0.00790583435446024,
-0.028188874945044518,
0.0873066857457161,
-0.04369087889790535,
0.05487634241580963,
0.023459449410438538,
0.05461359769105911,
-0.030009327456355095,
0.011495130136609077,
-0.03911159187555313,
-0.021000899374485016,
0.00472473306581378,
-0.04887072369456291,
0.04215193912386894,
0.041025884449481964,
-0.02265244349837303,
-0.03997490182518959,
0.03642783313989639,
-0.04917100444436073,
0.05239902436733246,
0.00951515231281519,
-0.03391297906637192,
0.031116614118218422,
-0.019649634137749672,
0.007511715404689312,
-0.04095081612467766,
0.013437572866678238,
-0.035151638090610504,
0.011082244105637074,
0.04324045777320862,
-0.08925851434469223,
-0.05619007349014282,
-0.015089117921888828,
-0.08242712169885635,
-0.016271473839879036,
-0.0029136636294424534,
0.045455027371644974,
0.008576774969696999,
0.0543883852660656,
-0.001304345321841538,
-0.011344989761710167,
0.0386987067759037,
-0.02222079038619995,
-0.04781974107027054,
-0.02021266147494316,
0.00955737940967083,
0.04166398197412491,
0.01052860077470541,
0.1016451045870781,
-0.025955533608794212,
-0.011682805605232716,
-0.0358460396528244,
-0.08085064589977264,
0.028845738619565964,
-0.001024005003273487,
0.0006040807929821312,
-0.05172339454293251,
0.04027518257498741,
0.03410065546631813,
-0.006465424317866564,
0.07255538552999496,
-0.03124798648059368,
-0.050634875893592834,
-0.01245227549225092,
0.046618618071079254,
-0.017679041251540184,
0.024979621171951294,
-0.03986229747533798,
-0.04808248579502106,
0.02518606372177601,
0.057804081588983536,
-0.04402869567275047,
-0.008975584991276264,
-0.05483881011605263,
-0.04279003664851189,
-0.04853290691971779,
-0.0034485389478504658,
0.01569906249642372,
-0.09331230819225311,
-0.01934935338795185,
0.022689979523420334,
0.05416317656636238,
0.02060678042471409,
-0.022990260273218155,
0.014047518372535706,
-0.008159196004271507,
0.05983097851276398,
0.01518295519053936,
-0.07522037625312805,
0.019255515187978745,
0.0025781935546547174,
-0.038886383175849915,
0.018523581326007843,
0.0033195121213793755,
-0.0329183004796505,
-0.02721296064555645,
-0.02923985756933689,
-0.023534519597887993,
-0.024829480797052383,
0.010547368787229061,
0.12957122921943665,
0.059643302112817764,
-0.028695598244667053,
0.0025195449125021696
]
|
29,328 | flask.sansio.app | add_template_test | Register a custom template test. Works exactly like the
:meth:`template_test` decorator.
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: Callable[..., bool], name: str | None = None) -> NoneType | [
0.053565289825201035,
-0.0548790842294693,
-0.036467187106609344,
-0.052514251321554184,
0.053978193551301956,
0.003962498623877764,
-0.010707426816225052,
0.037518225610256195,
-0.04782212898135185,
-0.054804008454084396,
-0.005015880800783634,
0.002090341178700328,
-0.007859308272600174,
0.010735579766333103,
0.023685842752456665,
0.03577275574207306,
0.0649389997124672,
0.0356413759291172,
0.0753367468714714,
-0.06749151647090912,
0.040577489882707596,
0.0011501569533720613,
0.00030205550137907267,
0.02197790890932083,
-0.02950407564640045,
0.0011419457150623202,
-0.02278495393693447,
-0.008849346078932285,
0.06568973511457443,
-0.04800981283187866,
-0.0071226442232728004,
-0.04831010848283768,
0.028753336519002914,
0.04729660972952843,
0.06062224134802818,
-0.023291703313589096,
-0.012405975721776485,
-0.00010095398465637118,
-0.005081570241600275,
-0.02400490641593933,
0.019613077864050865,
0.016122138127684593,
-0.02254096418619156,
-0.05442864075303078,
0.03697393834590912,
0.027965059503912926,
-0.03372698649764061,
0.04031473025679588,
-0.01811159960925579,
0.035491228103637695,
0.0031038401648402214,
-0.03327654302120209,
0.02665126509964466,
0.047671981155872345,
0.01350393332540989,
0.02742077223956585,
-0.01757669635117054,
0.026069441810250282,
-0.004832888022065163,
-0.04650833457708359,
-0.012340286746621132,
0.059083227068185806,
-0.011739694513380527,
0.015080486424267292,
0.038306500762701035,
-0.010012992657721043,
-0.061936039477586746,
0.01170215755701065,
0.01189922634512186,
-0.025055943056941032,
0.010988954454660416,
0.006986572872847319,
-0.020401354879140854,
0.013457011431455612,
0.04755936935544014,
-0.04973651468753815,
0.01951923593878746,
-0.09316681325435638,
0.03787482529878616,
-0.05754420906305313,
0.029597919434309006,
-0.03269471973180771,
-0.05300223454833031,
0.010313288308680058,
0.0689929947257042,
0.034440189599990845,
0.03982675075531006,
0.012640582397580147,
-0.03725546598434448,
0.04620803892612457,
-0.05367789790034294,
0.0006017648847773671,
-0.011110950261354446,
0.029147474095225334,
0.02483072131872177,
-0.03338915482163429,
0.017858223989605904,
-0.004061033483594656,
-0.0020504582207649946,
-0.02909117005765438,
0.03111816756427288,
0.03397097811102867,
-0.0035026706755161285,
0.024342739954590797,
0.007873384281992912,
0.0335393026471138,
-0.005522630177438259,
0.02582545019686222,
0.009825307875871658,
-0.017013641074299812,
-0.0356413759291172,
-0.03269471973180771,
-0.018580811098217964,
-0.05919583886861801,
-0.02499963715672493,
0.00791092123836279,
0.01289395708590746,
-0.007174257654696703,
0.07740128040313721,
-0.04226665198802948,
0.009412401355803013,
-0.03177506476640701,
0.028302893042564392,
-0.0589706152677536,
0.04913592338562012,
0.07668807357549667,
-0.03498447686433792,
0.028096439316868782,
0.023892296478152275,
0.00817837193608284,
-0.033013783395290375,
0.06865516304969788,
-0.05506676807999611,
0.05003681033849716,
0.009346711449325085,
0.01788637787103653,
-0.06032194569706917,
0.029241317883133888,
-0.02194037288427353,
0.09219085425138474,
-0.0018334474880248308,
-0.018721574917435646,
-0.03821265697479248,
-0.013109794817864895,
-0.00047976968926377594,
-0.018862338736653328,
0.005170720629394054,
0.00332436989992857,
-0.028509346768260002,
0.07195841521024704,
0.03922615572810173,
-0.0041126469150185585,
-0.04354291036725044,
0.03903847187757492,
0.0005689200479537249,
0.03990182280540466,
-0.02255973219871521,
-0.0015108640072867274,
0.01995091140270233,
-0.08580956608057022,
-0.042379263788461685,
-0.03960152715444565,
-0.022034214809536934,
-0.08565941452980042,
-0.010210062377154827,
0.03310762718319893,
-0.003185952315106988,
0.01106402836740017,
0.016488123685121536,
0.05544213950634003,
-0.04658340662717819,
-0.0024797876831144094,
-0.0003522025654092431,
0.001459250575862825,
0.05401573330163956,
0.04174113646149635,
0.006803580094128847,
-0.029804371297359467,
-0.002007056027650833,
-0.028753336519002914,
-0.020082291215658188,
-0.06324983388185501,
-0.06531436741352081,
0.013560238294303417,
0.014911570586264133,
0.05022449791431427,
-0.04038980230689049,
0.04155345261096954,
0.03087417595088482,
0.040765173733234406,
-0.06482638418674469,
0.04155345261096954,
0.07372265309095383,
0.01817728951573372,
-0.02498086914420128,
-0.00018841811106540263,
-0.02926008589565754,
-0.003256334224715829,
0.0045771668665111065,
-0.04294231906533241,
-0.055554747581481934,
0.04305493086576462,
0.012368438765406609,
-0.03519093245267868,
0.016947953030467033,
-0.001623474876396358,
0.009567241184413433,
0.0072587160393595695,
-0.04489424452185631,
-0.03744314983487129,
-0.036711178719997406,
0.002295621670782566,
0.024061212316155434,
-0.017980219796299934,
0.00640005711466074,
-0.0772511288523674,
0.032638415694236755,
-0.005147260148078203,
0.004098570439964533,
0.006461055018007755,
0.04556990787386894,
0.055216915905475616,
0.018411895260214806,
-0.006512668449431658,
-0.015202482230961323,
-0.0067472741939127445,
0.029973288998007774,
-0.0072587160393595695,
-0.01555908378213644,
-0.018618348985910416,
-0.04346783831715584,
-0.024511655792593956,
0.058670319616794586,
0.03089294582605362,
0.044819168746471405,
-0.0447065569460392,
0.04966144263744354,
0.03260087966918945,
-0.017586080357432365,
0.005616472568362951,
0.035866595804691315,
0.02725185640156269,
0.022841259837150574,
-0.034421421587467194,
0.003148415358737111,
0.011692773550748825,
0.0013771384255960584,
-0.008741427212953568,
-0.0213773176074028,
-0.03169998899102211,
0.003488594200462103,
-0.026069441810250282,
0.004736699163913727,
-0.004912653937935829,
-0.05116292089223862,
-0.028321661055088043,
-0.008816501125693321,
-0.03554753214120865,
-0.013344400562345982,
0.012068143114447594,
-0.008919727988541126,
-0.0025431313551962376,
-0.03654226288199425,
0.07353496551513672,
-0.007333789952099323,
-0.0243990458548069,
0.0033689450938254595,
-0.023535694926977158,
-0.032000284641981125,
-0.015427703969180584,
0.04797227680683136,
0.06332490593194962,
-0.02013859711587429,
0.013175484724342823,
-0.05469139665365219,
-0.014001298695802689,
-0.024455349892377853,
0.0106886588037014,
-0.018862338736653328,
-0.01372915506362915,
0.013635312207043171,
-0.05093769729137421,
0.04324261471629143,
0.04782212898135185,
-0.008530281484127045,
-0.009693928062915802,
-0.04335522651672363,
0.058032192289829254,
-0.007071030791848898,
-0.003676279215142131,
0.023085249587893486,
0.01735147461295128,
0.03006713092327118,
-0.012931494042277336,
-0.011983685195446014,
0.038963399827480316,
-0.075111523270607,
-0.013353785499930382,
0.02077672630548477,
-0.07646285742521286,
0.028715798631310463,
-0.01310041081160307,
0.03269471973180771,
0.032431960105895996,
0.0006956073921173811,
0.008422362618148327,
0.03562260419130325,
-0.025938061997294426,
-0.019556773826479912,
0.011580162681639194,
0.009890997782349586,
-0.012255827896296978,
-0.01025698333978653,
-0.011627083644270897,
0.005053417757153511,
0.01795206591486931,
-0.035059552639722824,
-0.04894823953509331,
0.004370713606476784,
0.06238648295402527,
-0.04733414947986603,
0.02865949459373951,
0.040952857583761215,
0.008061069063842297,
0.030630186200141907,
0.00025777355767786503,
0.06313721835613251,
-0.008492744527757168,
0.0017055871430784464,
0.022409584373235703,
-0.05228903144598007,
0.03164368495345116,
0.004917345941066742,
0.005058109760284424,
-0.009994224645197392,
0.00445517199113965,
-0.029973288998007774,
-0.06035948544740677,
-0.0569436177611351,
-0.06197357550263405,
0.057806968688964844,
-0.00789684522897005,
-0.003333754139021039,
-0.006024687085300684,
-0.01332563254982233,
-0.011833537369966507,
0.007868692278862,
0.02299140766263008,
0.049473755061626434,
-0.026670033112168312,
0.06760412454605103,
-0.03489063307642937,
0.014986644499003887,
0.06223633512854576,
0.017220094799995422,
-0.08235616236925125,
-0.01972568966448307,
-0.01974445767700672,
0.017069946974515915,
0.003946076147258282,
-0.008694506250321865,
0.021414853632450104,
-0.05123799666762352,
0.016281669959425926,
0.03049880638718605,
-0.025694072246551514,
0.012218290939927101,
-0.02584422007203102,
0.010998338460922241,
0.021414853632450104,
0.03847541660070419,
-0.03594167158007622,
0.007798310369253159,
-0.025131016969680786,
-0.015286940149962902,
-0.03718039020895958,
0.010913880541920662,
-0.04215404391288757,
-0.08250630646944046,
0.09083952009677887,
0.014789574779570103,
0.046658482402563095,
-0.000370971072698012,
0.0039015011861920357,
-0.0015835919184610248,
-0.1036771759390831,
-0.020589040592312813,
-0.012678119353950024,
-0.02299140766263008,
-0.011758462525904179,
0.018974950537085533,
-0.050299569964408875,
0.0042721787467598915,
0.06959358602762222,
0.031793832778930664,
-0.04511946439743042,
-0.019181402400135994,
0.034684181213378906,
0.02783367969095707,
0.03888832405209541,
0.07451093196868896,
-0.005358405876904726,
0.0629120022058487,
0.019462930038571358,
0.05870785564184189,
-0.01687287911772728,
0.06035948544740677,
0.010801269672811031,
0.011983685195446014,
0.08408286422491074,
0.01896556466817856,
-0.012640582397580147,
-0.07402294874191284,
-0.04699631407856941,
-0.03888832405209541,
-0.03612935543060303,
0.00007961947994772345,
0.07011910527944565,
0.03207536041736603,
0.012227674946188927,
0.0468086302280426,
-0.00040469568921253085,
0.053940657526254654,
0.03654226288199425,
0.01208691205829382,
0.042979855090379715,
-0.026932792738080025,
0.035434920340776443,
-0.039976898580789566,
0.020044753327965736,
0.006235832814127207,
-0.016779035329818726,
-0.0447816327214241,
-0.03145600110292435,
0.014048219658434391,
-0.015183713287115097,
-0.010069298557937145,
0.002843427238985896,
0.004607665818184614,
0.040352266281843185,
0.003085071686655283,
-0.000324049819028005,
0.03948891535401344,
0.017426548525691032,
0.02582545019686222,
0.010238214395940304,
-0.06392549723386765,
0.031230777502059937,
0.09031400084495544,
-0.014639426954090595,
-0.012631198391318321,
-0.05750667303800583,
0.0024094057735055685,
-0.0034088280517607927,
-0.055404599756002426,
-0.04181620851159096,
0.013128562830388546,
0.010181909427046776,
-0.043392762541770935,
0.03169998899102211,
0.02336677722632885,
-0.0253750067204237,
0.021452391520142555,
-0.02539377473294735,
0.0034862481988966465,
0.017051178961992264,
0.022109288722276688,
0.023704610764980316,
-0.05210134759545326,
0.0006117356824688613,
0.010031761601567268,
-0.0020786109380424023,
0.006775427144020796,
-0.004286255221813917,
0.02154623344540596,
0.0406901016831398,
0.03295747935771942,
-0.012377823702991009,
-0.03960152715444565,
0.027796143665909767,
0.01292211003601551,
-0.03352053463459015,
-0.023911064490675926,
0.055216915905475616,
-0.059646282345056534,
-0.05957120656967163,
0.03903847187757492,
0.023254167288541794,
0.012678119353950024,
0.004992419853806496,
-0.012424744665622711,
0.03091171383857727,
0.001975384308025241,
0.01658196561038494,
0.026707570999860764,
0.017464086413383484,
0.02483072131872177,
0.03256333991885185,
0.02015736512839794,
-0.032450731843709946,
-0.012828267179429531,
-0.011232945136725903,
0.007713851984590292,
0.05018695816397667,
0.007268100045621395,
-0.04102793335914612,
-0.018702806904911995,
-0.03288240730762482,
-0.022616038098931313,
-0.031624916940927505,
0.0014580775750800967,
0.030742796137928963,
0.008671045303344727,
-0.0031014939304441214,
-0.015971990302205086,
0.001507344888523221,
0.0018240632489323616,
-0.029222548007965088,
0.012124449014663696,
-0.00791092123836279,
0.01759546622633934,
-0.0003677452332340181,
0.05142568051815033,
-0.03781852126121521,
0.013757308013737202,
-0.012969030998647213,
0.10405254364013672,
0.040952857583761215,
0.036298271268606186,
0.09662021696567535,
0.013335016556084156,
0.05431602895259857,
0.04080270975828171,
-0.014883417636156082,
0.026876486837863922,
0.03389590606093407,
-0.05003681033849716,
-0.06741643697023392,
-0.014104524627327919,
-0.0609976127743721,
0.030423732474446297,
0.019556773826479912,
-0.02700786665081978,
0.004138453397899866,
-0.04328015074133873,
-0.05168844014406204,
0.0003522025654092431,
-0.034252505749464035,
0.009032338857650757,
-0.08190571516752243,
-0.06576481461524963,
0.02177145518362522,
0.042191579937934875,
0.035078320652246475,
-0.08978848904371262,
-0.017342090606689453,
0.048460256308317184,
0.016506891697645187,
0.00701003335416317,
0.023047713562846184,
-0.026369737461209297,
0.01707933098077774,
-0.02111455798149109,
-0.024887025356292725,
0.019631847739219666,
0.041365765035152435,
-0.010669889859855175,
0.02117086388170719,
-0.03432758152484894,
-0.05502923205494881,
-0.026914022862911224,
-0.021846529096364975,
0.04770951718091965,
0.004302677698433399,
-0.031230777502059937,
0.027570921927690506,
0.011645851656794548,
0.013485164381563663,
0.048685479909181595,
-0.03661733493208885,
0.030986787751317024,
-0.005804157350212336,
-0.040352266281843185,
-0.06366273760795593,
-0.04406842961907387,
-0.01555908378213644,
0.07563704252243042,
0.05994657799601555,
-0.027383236214518547,
-0.05382804572582245,
-0.08280660212039948,
0.008750811219215393,
-0.008919727988541126,
-0.058032192289829254,
0.002742546610534191,
0.027383236214518547,
-0.012152601033449173,
0.024286434054374695,
0.009548472240567207,
0.026782644912600517,
-0.0468086302280426,
0.03783728927373886,
0.036467187106609344,
-0.018036525696516037,
0.03462787717580795,
-0.021039484068751335,
-0.008206524886190891,
0.019988449290394783,
-0.029785603284835815,
0.010491589084267616,
-0.017717460170388222,
-0.04102793335914612,
0.020495198667049408,
0.0366361066699028,
-0.019096944481134415,
-0.051125384867191315,
-0.06332490593194962,
0.025938061997294426,
0.056230414658784866,
-0.05634302645921707,
-0.021396085619926453,
0.006794195622205734,
0.008821193128824234,
0.003317331662401557,
-0.005076878238469362,
0.04313000291585922,
0.01036959420889616,
-0.030461270362138748,
-0.045832667499780655,
-0.02702663466334343,
0.022240668535232544,
-0.012875188142061234,
0.02441781386733055,
-0.01828051544725895,
0.03520970046520233,
0.0055413986556231976,
0.03757452964782715,
-0.010341441258788109,
-0.012518586590886116,
0.03960152715444565,
0.032431960105895996,
-0.06970619410276413,
-0.014798959717154503,
-0.01433913130313158,
-0.007629393599927425,
-0.0038968089502304792,
0.02685771882534027,
-0.0731595978140831,
0.04973651468753815,
-0.010651121847331524,
-0.007892152294516563,
0.0671912133693695,
-0.03171875700354576,
0.00907925982028246,
-0.02319786138832569,
0.010698042809963226,
-0.014733269810676575,
-0.03111816756427288,
-0.004598281811922789,
0.026782644912600517,
0.005461632274091244,
-0.023835990577936172,
0.024718109518289566,
-0.044030893594026566,
-0.00791092123836279,
-0.028152745217084885,
0.0873110443353653,
-0.04373059794306755,
0.0548790842294693,
0.023498157039284706,
0.05461632460355759,
-0.029916983097791672,
0.011505087837576866,
-0.03907600790262222,
-0.021001948043704033,
0.004727315157651901,
-0.048873163759708405,
0.04215404391288757,
0.040990397334098816,
-0.02259727008640766,
-0.039976898580789566,
0.036467187106609344,
-0.04917345941066742,
0.05240164324641228,
0.00955316424369812,
-0.03397097811102867,
0.03113693557679653,
-0.019650615751743317,
0.007512090727686882,
-0.040990397334098816,
0.013400706462562084,
-0.03515339270234108,
0.011073412373661995,
0.043205078691244125,
-0.0893380418419838,
-0.05615534260869026,
-0.015042949467897415,
-0.08250630646944046,
-0.01625351794064045,
-0.0028997326735407114,
0.045457299798727036,
0.008619432337582111,
0.054391101002693176,
-0.0013384283520281315,
-0.011317403055727482,
0.038700640201568604,
-0.02218436263501644,
-0.04778459295630455,
-0.020213671028614044,
0.009515627287328243,
0.04162852466106415,
0.010538510978221893,
0.1015750989317894,
-0.025956830009818077,
-0.011711541563272476,
-0.03579152375459671,
-0.08085468411445618,
0.028828410431742668,
-0.0010275752283632755,
0.0006023514433763921,
-0.051725976169109344,
0.04027719423174858,
0.03410235792398453,
-0.0064845154993236065,
0.07252147048711777,
-0.031249545514583588,
-0.05063740164041519,
-0.012405975721776485,
0.04658340662717819,
-0.01766115427017212,
0.02499963715672493,
-0.03986428678035736,
-0.04812242463231087,
0.025243626907467842,
0.057806968688964844,
-0.04406842961907387,
-0.008966648951172829,
-0.054804008454084396,
-0.0427170991897583,
-0.04853533208370209,
-0.0034862481988966465,
0.015746768563985825,
-0.09324189275503159,
-0.019350320100784302,
0.022691112011671066,
0.054165881127119064,
0.020645346492528915,
-0.02299140766263008,
0.014010682702064514,
-0.008168987929821014,
0.05975889042019844,
0.015211866237223148,
-0.0752241313457489,
0.019256476312875748,
0.002561899833381176,
-0.03885078802704811,
0.018496353179216385,
0.003312639659270644,
-0.03290117532014847,
-0.02721432037651539,
-0.029241317883133888,
-0.02357323095202446,
-0.02479318343102932,
0.010538510978221893,
0.12957769632339478,
0.059683818370103836,
-0.028697030618786812,
0.0025572075974196196
]
|
29,329 | flask.sansio.app | add_url_rule | null | from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, rule: 'str', endpoint: 'str | None' = None, view_func: 'ft.RouteCallable | None' = None, provide_automatic_options: 'bool | None' = None, **options: 't.Any') -> 'None' | [
0.05360015109181404,
-0.05487634241580963,
-0.0365029014647007,
-0.052511632442474365,
0.05397550016641617,
0.003955263178795576,
-0.010763195343315601,
0.03755388781428337,
-0.04785727709531784,
-0.054801274091005325,
-0.005015630275011063,
0.0021371557377278805,
-0.007863607257604599,
0.010706892237067223,
0.023665891960263252,
0.035752199590206146,
0.06497328728437424,
0.03565836325287819,
0.07533298432826996,
-0.06745060533285141,
0.040612999349832535,
0.0011800102656707168,
0.0003260863304603845,
0.02193927764892578,
-0.02952137030661106,
0.0011583103332668543,
-0.02278381772339344,
-0.008806677535176277,
0.06568645685911179,
-0.04800741747021675,
-0.007117596920579672,
-0.04830769822001457,
0.028751900419592857,
0.0472942478954792,
0.06061921641230583,
-0.023290541023015976,
-0.01245227549225092,
-0.00007015841401880607,
-0.005095392465591431,
-0.024003708735108376,
0.019687170162796974,
0.016140101477503777,
-0.022577373310923576,
-0.0544259212911129,
0.03691579028964043,
0.0279073603451252,
-0.033725302666425705,
0.04027518257498741,
-0.018082544207572937,
0.035433150827884674,
0.0031271446496248245,
-0.03327488154172897,
0.02664993330836296,
0.047632064670324326,
0.013512643054127693,
0.027456939220428467,
-0.017585203051567078,
0.026105675846338272,
-0.0048279548063874245,
-0.04654354602098465,
-0.012349054217338562,
0.05904274061322212,
-0.011767259798943996,
0.015107885003089905,
0.03837965801358223,
-0.010050027631223202,
-0.06189541146159172,
0.011701573617756367,
0.011889249086380005,
-0.025017157196998596,
0.010997789911925793,
0.0069627645425498486,
-0.02036280184984207,
0.013475107960402966,
0.04751946032047272,
-0.049771565943956375,
0.019537029787898064,
-0.0931621640920639,
0.0379292368888855,
-0.05754133686423302,
0.029615208506584167,
-0.03269308805465698,
-0.0530371218919754,
0.010303390212357044,
0.06898954510688782,
0.0344197042286396,
0.03982476145029068,
0.012649334967136383,
-0.03725360706448555,
0.04616819694638252,
-0.05375029146671295,
0.0006087726796977222,
-0.011119779199361801,
0.029146019369363785,
0.02477317862212658,
-0.03334995359182358,
0.017829181626439095,
-0.004058484919369221,
-0.002057393779978156,
-0.02908971719443798,
0.031154148280620575,
0.03395051509141922,
-0.003528301138430834,
0.02434152364730835,
0.00790583435446024,
0.03355639427900314,
-0.005527046043425798,
0.025824161246418953,
0.00981543306261301,
-0.017012791708111763,
-0.03563959524035454,
-0.03263678401708603,
-0.018579883500933647,
-0.05919288098812103,
-0.02505469135940075,
0.007976212538778782,
0.012874545529484749,
-0.0072348942048847675,
0.07747248560190201,
-0.04222700744867325,
0.00940723903477192,
-0.03175470978021622,
0.028301479294896126,
-0.05900520831346512,
0.04913346841931343,
0.07668424397706985,
-0.035039033740758896,
0.02807626873254776,
0.023891102522611618,
0.008201423101127148,
-0.03304967284202576,
0.06861419975757599,
-0.055101554840803146,
0.05003431439399719,
0.00929932575672865,
0.0178854838013649,
-0.06028139963746071,
0.02923985756933689,
-0.02193927764892578,
0.09218624979257584,
-0.0018626803066581488,
-0.018730023875832558,
-0.03821074962615967,
-0.01310914009809494,
-0.0004779862647410482,
-0.018908316269516945,
0.005198613740503788,
0.003385198535397649,
-0.02848915569484234,
0.07195482403039932,
0.03922419995069504,
-0.004110095556825399,
-0.04350320249795914,
0.039036523550748825,
0.0005460186512209475,
0.04001243785023689,
-0.022577373310923576,
-0.0015330750029534101,
0.01991238072514534,
-0.0858803540468216,
-0.04237714782357216,
-0.03963708505034447,
-0.02205188199877739,
-0.08565513789653778,
-0.010228320024907589,
0.03308720886707306,
-0.0031271446496248245,
0.011110395193099976,
0.01654360443353653,
0.05547690391540527,
-0.046618618071079254,
-0.002491393592208624,
-0.00031318364199250937,
0.0014415831537917256,
0.05397550016641617,
0.04177658632397652,
0.0067891646176576614,
-0.029821651056408882,
-0.00198701536282897,
-0.028751900419592857,
-0.0200812891125679,
-0.06324667483568192,
-0.06531110405921936,
0.013568945229053497,
0.014910825528204441,
0.05022198706865311,
-0.04038778692483902,
0.0415513776242733,
0.030835099518299103,
0.04080067574977875,
-0.06486068665981293,
0.041588909924030304,
0.07375650852918625,
0.018129462376236916,
-0.024979621171951294,
-0.00016949452401604503,
-0.02923985756933689,
-0.003246787702664733,
0.0045558251440525055,
-0.0430152453482151,
-0.05555197596549988,
0.043052781373262405,
0.012339670211076736,
-0.0351141020655632,
0.01695648953318596,
-0.0015928966458886862,
0.009604298509657383,
0.007291196845471859,
-0.04485446587204933,
-0.037478815764188766,
-0.036746881902217865,
0.0023412529844790697,
0.024022476747632027,
-0.017979322001338005,
0.006385662127286196,
-0.07724727690219879,
0.03265555202960968,
-0.005132927559316158,
0.00415232265368104,
0.006465424317866564,
0.04556763544678688,
0.055214159190654755,
0.01840159110724926,
-0.006535802502185106,
-0.015229874290525913,
-0.006728169973939657,
0.030009327456355095,
-0.007244277745485306,
-0.01553953904658556,
-0.018561115488409996,
-0.04350320249795914,
-0.024566734209656715,
0.058667391538619995,
0.030985239893198013,
0.04485446587204933,
-0.04470432549715042,
0.04965896159410477,
0.032580483704805374,
-0.01760397106409073,
0.005639651790261269,
0.03582727164030075,
0.027288030833005905,
0.022840119898319244,
-0.0344197042286396,
0.003188139060512185,
0.011682805605232716,
0.0013981831725686789,
-0.008764450438320637,
-0.021395018324255943,
-0.031735941767692566,
0.0035165713634341955,
-0.02606813982129097,
0.004781035706400871,
-0.004898332990705967,
-0.05116036534309387,
-0.028320247307419777,
-0.008787909522652626,
-0.035564523190259933,
-0.013371885754168034,
0.012076924555003643,
-0.008914590813219547,
-0.0025289286859333515,
-0.0365779735147953,
0.07341869175434113,
-0.007295888848602772,
-0.024397827684879303,
0.0033288958948105574,
-0.023515751585364342,
-0.03203622251749039,
-0.015408165752887726,
0.04800741747021675,
0.06328421086072922,
-0.020156359300017357,
0.013202978298068047,
-0.05468866601586342,
-0.014009983278810978,
-0.024397827684879303,
0.0107350442558527,
-0.018861396238207817,
-0.013756620697677135,
0.013625248335301876,
-0.05089762061834335,
0.043165385723114014,
0.04785727709531784,
-0.008534547872841358,
-0.009712211787700653,
-0.043353062123060226,
0.05802929401397705,
-0.0070894453674554825,
-0.0036690577398985624,
0.023140400648117065,
0.017350608482956886,
0.0300656296312809,
-0.01295899972319603,
-0.011983086355030537,
0.03899898752570152,
-0.07503270357847214,
-0.01332496665418148,
0.020756920799613,
-0.07645903527736664,
0.028714366257190704,
-0.013099756091833115,
0.032749392092227936,
0.03239280730485916,
0.0006750456523150206,
0.008468860760331154,
0.03565836325287819,
-0.02593676745891571,
-0.019537029787898064,
0.011570200324058533,
0.009937422350049019,
-0.012273984029889107,
-0.010237704031169415,
-0.011645270511507988,
0.00501093827188015,
0.017960553988814354,
-0.035039033740758896,
-0.048945795744657516,
0.004382225219160318,
0.06242090091109276,
-0.047331783920526505,
0.028695598244667053,
0.040913280099630356,
0.008074742741882801,
0.03064742498099804,
0.00025688097230158746,
0.06317160278558731,
-0.00849701277911663,
0.001754766795784235,
0.022389698773622513,
-0.05228642001748085,
0.03162333741784096,
0.004884257446974516,
0.0050625489093363285,
-0.009974957443773746,
0.00445964140817523,
-0.030009327456355095,
-0.06028139963746071,
-0.056940775364637375,
-0.06200801581144333,
0.057804081588983536,
-0.007858915254473686,
-0.0033429714385420084,
-0.005977467633783817,
-0.01332496665418148,
-0.011851713992655277,
0.00784953124821186,
0.023027794435620308,
0.04943375289440155,
-0.026668701320886612,
0.06763828545808792,
-0.034870125353336334,
0.014985895715653896,
0.062233228236436844,
0.01725677028298378,
-0.08242712169885635,
-0.019724704325199127,
-0.01974347233772278,
0.01705971173942089,
0.0039974902756512165,
-0.008703455328941345,
0.021376250311732292,
-0.05123543739318848,
0.01626208983361721,
0.030572354793548584,
-0.025711556896567345,
0.012217680923640728,
-0.025861697271466255,
0.01101655699312687,
0.021395018324255943,
0.038473498076200485,
-0.03597741201519966,
0.007802612613886595,
-0.025110993534326553,
-0.015276793390512466,
-0.03714099898934364,
0.010979021899402142,
-0.04215193912386894,
-0.08250219374895096,
0.09083499014377594,
0.01475130207836628,
0.046656154096126556,
-0.0003445606562308967,
0.003929457627236843,
-0.0015694370958954096,
-0.10367199778556824,
-0.020588012412190437,
-0.012696254067122936,
-0.022971492260694504,
-0.011776643805205822,
0.01896461844444275,
-0.05029705911874771,
0.004246160387992859,
0.06955257803201675,
0.03179224580526352,
-0.04515474662184715,
-0.01918044500052929,
0.034738752990961075,
0.02779475599527359,
0.03881131112575531,
0.0745072141289711,
-0.005362830124795437,
0.06290885806083679,
0.01946195960044861,
0.058704923838377,
-0.016900187358260155,
0.06035647168755531,
0.010819497518241405,
0.01196431927382946,
0.08407866209745407,
0.019011538475751877,
-0.012696254067122936,
-0.07401925325393677,
-0.04699396714568138,
-0.03881131112575531,
-0.03612755239009857,
0.00012668102863244712,
0.07007806748151779,
0.03203622251749039,
0.012198913842439651,
0.04680629447102547,
-0.0004181646800134331,
0.05397550016641617,
0.03652166947722435,
0.012105075642466545,
0.0429777093231678,
-0.02695021592080593,
0.035433150827884674,
-0.03997490182518959,
0.02006252110004425,
0.006202678196132183,
-0.016796965152025223,
-0.04481692984700203,
-0.031416893005371094,
0.014056902378797531,
-0.015173572115600109,
-0.0100218765437603,
0.002897242084145546,
0.004572246689349413,
0.040312718600034714,
0.003084917552769184,
-0.0003325376892462373,
0.03952448070049286,
0.017416294664144516,
0.025842929258942604,
0.010294006206095219,
-0.06399738043546677,
0.03124798648059368,
0.0902344286441803,
-0.014657463878393173,
-0.012639950960874557,
-0.05754133686423302,
0.0024444744922220707,
-0.0034438471775501966,
-0.05540183559060097,
-0.04177658632397652,
0.013099756091833115,
0.010125097818672657,
-0.04339059814810753,
0.03167964145541191,
0.023384379222989082,
-0.025392508134245872,
0.0214700885117054,
-0.02537374012172222,
0.0034485389478504658,
0.017031559720635414,
0.02205188199877739,
0.023703427985310555,
-0.05209874361753464,
0.0006257807835936546,
0.010012492537498474,
-0.0020749883260577917,
0.0067985481582582,
-0.0043095010332763195,
0.021545158699154854,
0.04068806767463684,
0.0329933688044548,
-0.012405356392264366,
-0.039599549025297165,
0.027813522145152092,
0.012883929535746574,
-0.03350009396672249,
-0.02390987053513527,
0.05525169521570206,
-0.059643302112817764,
-0.059530697762966156,
0.03899898752570152,
0.02321547083556652,
0.012677486054599285,
0.005039089825004339,
-0.012442891485989094,
0.030910169705748558,
0.0019858423620462418,
0.016590522602200508,
0.026743771508336067,
0.017481980845332146,
0.024810712784528732,
0.03256171569228172,
0.02017512544989586,
-0.03248664364218712,
-0.012837010435760021,
-0.011232384480535984,
0.007736926432698965,
0.0501844547688961,
0.007291196845471859,
-0.041025884449481964,
-0.01868310570716858,
-0.0329183004796505,
-0.02263367734849453,
-0.031585801392793655,
0.0014685614733025432,
0.030722495168447495,
0.008708147332072258,
-0.0030778797809034586,
-0.01599934510886669,
0.0014720804756507277,
0.0017911288887262344,
-0.02922108955681324,
0.012170761823654175,
-0.007901142351329327,
0.01760397106409073,
-0.00036567417555488646,
0.05138557776808739,
-0.03783540055155754,
0.013766004703938961,
-0.012977766804397106,
0.10404735058546066,
0.040913280099630356,
0.036315228790044785,
0.09654032438993454,
0.013353118672966957,
0.054350852966308594,
0.04080067574977875,
-0.01490144245326519,
0.026875145733356476,
0.03396928310394287,
-0.05003431439399719,
-0.06741306930780411,
-0.014150739647448063,
-0.060957033187150955,
0.030440980568528175,
0.019574563950300217,
-0.027025286108255386,
0.004117133095860481,
-0.04324045777320862,
-0.051648322492837906,
0.0003307782462798059,
-0.03426956385374069,
0.009045963175594807,
-0.08182656019926071,
-0.06576152890920639,
0.021807903423905373,
0.042189475148916245,
0.0350765697658062,
-0.08978400379419327,
-0.017303690314292908,
0.04842030256986618,
0.016506068408489227,
0.006990915630012751,
0.02306533046066761,
-0.026387188583612442,
0.01705971173942089,
-0.021113503724336624,
-0.024960853159427643,
0.019574563950300217,
0.04136370122432709,
-0.01067874114960432,
0.02118857391178608,
-0.03432586416602135,
-0.05498895049095154,
-0.026893911883234978,
-0.021864207461476326,
0.04770713672041893,
0.004293079022318125,
-0.03121045045554638,
0.027532009407877922,
0.011701573617756367,
0.013503259047865868,
0.048720583319664,
-0.036596741527318954,
0.031004007905721664,
-0.005775716155767441,
-0.04035025089979172,
-0.06365956366062164,
-0.04406622797250748,
-0.015548923052847385,
0.07567080110311508,
0.05998111888766289,
-0.02738186903297901,
-0.05386289581656456,
-0.08280247449874878,
0.008825444616377354,
-0.008952125906944275,
-0.05799175798892975,
0.0027025286108255386,
0.02734433300793171,
-0.012142610736191273,
0.024266453459858894,
0.009505769237875938,
0.026837609708309174,
-0.046768758445978165,
0.03783540055155754,
0.036465369164943695,
-0.017998090013861656,
0.03464491292834282,
-0.02103843353688717,
-0.008192040026187897,
0.019987450912594795,
-0.02978411689400673,
0.010434762574732304,
-0.017725959420204163,
-0.041063420474529266,
0.02049417421221733,
0.03669057786464691,
-0.019124142825603485,
-0.05112283304333687,
-0.06335928291082382,
0.025955533608794212,
0.05619007349014282,
-0.05634021386504173,
-0.021413784474134445,
0.0068032401613891125,
0.0087785255163908,
0.003326549893245101,
-0.005071932915598154,
0.04312784969806671,
0.010340925306081772,
-0.03036591038107872,
-0.0457928441464901,
-0.026987750083208084,
0.022239558398723602,
-0.0128933135420084,
0.024416593834757805,
-0.01828898675739765,
0.035189174115657806,
0.005564581137150526,
0.03751635178923607,
-0.010387844406068325,
-0.012517961673438549,
0.03963708505034447,
0.03241157531738281,
-0.06970271468162537,
-0.014770069159567356,
-0.014347799122333527,
-0.007619629148393869,
-0.0038919225335121155,
0.026856377720832825,
-0.0731184110045433,
0.04969649761915207,
-0.010650590062141418,
-0.007863607257604599,
0.06718786060810089,
-0.031717173755168915,
0.009125725366175175,
-0.02319670282304287,
0.010725660249590874,
-0.01475130207836628,
-0.031191684305667877,
-0.0046097817830741405,
0.026743771508336067,
0.005451975855976343,
-0.023834800347685814,
0.024716876447200775,
-0.04402869567275047,
-0.00790583435446024,
-0.028188874945044518,
0.0873066857457161,
-0.04369087889790535,
0.05487634241580963,
0.023459449410438538,
0.05461359769105911,
-0.030009327456355095,
0.011495130136609077,
-0.03911159187555313,
-0.021000899374485016,
0.00472473306581378,
-0.04887072369456291,
0.04215193912386894,
0.041025884449481964,
-0.02265244349837303,
-0.03997490182518959,
0.03642783313989639,
-0.04917100444436073,
0.05239902436733246,
0.00951515231281519,
-0.03391297906637192,
0.031116614118218422,
-0.019649634137749672,
0.007511715404689312,
-0.04095081612467766,
0.013437572866678238,
-0.035151638090610504,
0.011082244105637074,
0.04324045777320862,
-0.08925851434469223,
-0.05619007349014282,
-0.015089117921888828,
-0.08242712169885635,
-0.016271473839879036,
-0.0029136636294424534,
0.045455027371644974,
0.008576774969696999,
0.0543883852660656,
-0.001304345321841538,
-0.011344989761710167,
0.0386987067759037,
-0.02222079038619995,
-0.04781974107027054,
-0.02021266147494316,
0.00955737940967083,
0.04166398197412491,
0.01052860077470541,
0.1016451045870781,
-0.025955533608794212,
-0.011682805605232716,
-0.0358460396528244,
-0.08085064589977264,
0.028845738619565964,
-0.001024005003273487,
0.0006040807929821312,
-0.05172339454293251,
0.04027518257498741,
0.03410065546631813,
-0.006465424317866564,
0.07255538552999496,
-0.03124798648059368,
-0.050634875893592834,
-0.01245227549225092,
0.046618618071079254,
-0.017679041251540184,
0.024979621171951294,
-0.03986229747533798,
-0.04808248579502106,
0.02518606372177601,
0.057804081588983536,
-0.04402869567275047,
-0.008975584991276264,
-0.05483881011605263,
-0.04279003664851189,
-0.04853290691971779,
-0.0034485389478504658,
0.01569906249642372,
-0.09331230819225311,
-0.01934935338795185,
0.022689979523420334,
0.05416317656636238,
0.02060678042471409,
-0.022990260273218155,
0.014047518372535706,
-0.008159196004271507,
0.05983097851276398,
0.01518295519053936,
-0.07522037625312805,
0.019255515187978745,
0.0025781935546547174,
-0.038886383175849915,
0.018523581326007843,
0.0033195121213793755,
-0.0329183004796505,
-0.02721296064555645,
-0.02923985756933689,
-0.023534519597887993,
-0.024829480797052383,
0.010547368787229061,
0.12957122921943665,
0.059643302112817764,
-0.028695598244667053,
0.0025195449125021696
]
|
29,330 | quart.app | add_websocket | Add a websocket url rule to the application.
This is designed to be used on the application directly. An
example usage,
.. code-block:: python
def websocket_route():
...
app.add_websocket('/', websocket_route)
Arguments:
rule: The path to route on, should start with a ``/``.
endpoint: Optional endpoint name, if not present the
function name is used.
view_func: Callable that returns a response.
defaults: A dictionary of variables to provide automatically, use
to provide a simpler default path for a route, e.g. to allow
for ``/book`` rather than ``/book/0``,
.. code-block:: python
@app.websocket('/book', defaults={'page': 0})
@app.websocket('/book/<int:page>')
def book(page):
...
host: The full host name for this route (should include subdomain
if needed) - cannot be used with subdomain.
subdomain: A subdomain for this specific route.
strict_slashes: Strictly match the trailing slash present in the
path. Will redirect a leaf (no slash) to a branch (with slash).
| def add_websocket(
self,
rule: str,
endpoint: str | None = None,
view_func: WebsocketCallable | None = None,
**options: Any,
) -> None:
"""Add a websocket url rule to the application.
This is designed to be used on the application directly. An
example usage,
.. code-block:: python
def websocket_route():
...
app.add_websocket('/', websocket_route)
Arguments:
rule: The path to route on, should start with a ``/``.
endpoint: Optional endpoint name, if not present the
function name is used.
view_func: Callable that returns a response.
defaults: A dictionary of variables to provide automatically, use
to provide a simpler default path for a route, e.g. to allow
for ``/book`` rather than ``/book/0``,
.. code-block:: python
@app.websocket('/book', defaults={'page': 0})
@app.websocket('/book/<int:page>')
def book(page):
...
host: The full host name for this route (should include subdomain
if needed) - cannot be used with subdomain.
subdomain: A subdomain for this specific route.
strict_slashes: Strictly match the trailing slash present in the
path. Will redirect a leaf (no slash) to a branch (with slash).
"""
return self.add_url_rule(
rule,
endpoint,
view_func,
methods={"GET"},
websocket=True,
**options,
)
| (self, rule: str, endpoint: Optional[str] = None, view_func: Union[Callable[..., Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], NoneType]], Callable[..., Awaitable[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], NoneType]]], NoneType] = None, **options: Any) -> NoneType | [
-0.02908141165971756,
-0.00023743144993204623,
-0.05161375179886818,
-0.016009820625185966,
-0.0016549676656723022,
0.024992667138576508,
-0.010354611091315746,
0.033417958766222,
-0.07186277210712433,
-0.023311149328947067,
0.010947567410767078,
0.004969328176230192,
0.05880003049969673,
0.01409820094704628,
0.00757568096742034,
0.02678038738667965,
0.06372068077325821,
-0.04495847970247269,
0.029807118698954582,
0.008535915985703468,
0.028054799884557724,
-0.012735286727547646,
0.04109983891248703,
0.027948599308729172,
-0.027169790118932724,
0.017824091017246246,
-0.0327630490064621,
0.04630369693040848,
0.007637631613761187,
-0.04322386160492897,
-0.00620834156870842,
-0.0705883577466011,
0.02538207173347473,
-0.012752986513078213,
0.0036263263318687677,
0.010115657933056355,
-0.007624356541782618,
-0.025488272309303284,
-0.04931272938847542,
-0.008938595652580261,
0.07207517325878143,
0.04163084551692009,
0.022036736831068993,
0.02120482735335827,
0.059614237397909164,
0.005579984746873379,
-0.04920652508735657,
0.05065794289112091,
-0.04796751216053963,
-0.03869261592626572,
-0.00918639823794365,
0.029931019991636276,
0.03577208146452904,
0.03313475474715233,
0.0026373283471912146,
0.010947567410767078,
-0.026231680065393448,
0.015328364446759224,
0.03154173865914345,
0.004849852062761784,
-0.03023192286491394,
-0.015231013298034668,
-0.010558162815868855,
0.025311270728707314,
0.03393126279115677,
-0.031789541244506836,
-0.0144964549690485,
0.004712675232440233,
0.02432006038725376,
-0.016363825649023056,
0.03030272386968136,
0.04672849923372269,
0.04973753169178963,
-0.0473657064139843,
-0.0005664060590788722,
-0.0009099003509618342,
0.06145505607128143,
-0.00918639823794365,
-0.026621084660291672,
0.025045767426490784,
0.031223135069012642,
0.02325804904103279,
-0.004383009392768145,
0.042020250111818314,
0.05402097851037979,
0.02095702476799488,
-0.024019157513976097,
-0.03869261592626572,
-0.08085446804761887,
0.019824212417006493,
-0.012699886225163937,
-0.04386106878519058,
-0.027364492416381836,
-0.06432248651981354,
0.03869261592626572,
-0.05610959976911545,
-0.013505244627594948,
0.015478815883398056,
0.06180906295776367,
-0.04368406906723976,
-0.028107900172472,
0.028107900172472,
-0.055472392588853836,
0.030603626742959023,
0.04109983891248703,
-0.08418209850788116,
0.022319938987493515,
-0.018673699349164963,
-0.07575681060552597,
0.031683340668678284,
0.03511717543005943,
-0.009221798740327358,
0.006836698390543461,
0.037701401859521866,
-0.013708796352148056,
0.09303219616413116,
-0.0171514842659235,
0.003285597776994109,
0.06467649340629578,
-0.04941892996430397,
-0.03233824670314789,
-0.006814572960138321,
0.017877191305160522,
-0.03465697169303894,
0.04046263173222542,
0.03207274153828621,
0.009381100535392761,
-0.0039028918836265802,
0.04039183259010315,
0.0075978063978254795,
-0.01971801184117794,
0.06400388479232788,
-0.02210753597319126,
-0.011690975166857243,
-0.018248895183205605,
-0.009239498525857925,
0.03421446681022644,
0.000284309295238927,
0.0024559013545513153,
0.01934630796313286,
0.006124265491962433,
0.03361266106367111,
0.001568679348565638,
0.011151119135320187,
-0.027028189972043037,
-0.007319028489291668,
-0.07327878475189209,
0.06039304658770561,
0.05628660321235657,
0.04789671301841736,
0.0035931384190917015,
0.015717769041657448,
-0.026727285236120224,
-0.016496576368808746,
0.030904531478881836,
0.015062861144542694,
-0.029187612235546112,
0.030621327459812164,
0.040887437760829926,
-0.02290404587984085,
0.0188153013586998,
-0.012549434788525105,
-0.0043321214616298676,
-0.04170164465904236,
0.018673699349164963,
-0.0069827246479690075,
0.044852279126644135,
0.028161002323031425,
0.009022671729326248,
0.048215314745903015,
-0.02421385981142521,
-0.01576201803982258,
0.03642699122428894,
0.04651609808206558,
0.0626232698559761,
-0.0032966602593660355,
0.009266049601137638,
0.002535552252084017,
-0.0072792028076946735,
-0.008991695940494537,
0.025682974606752396,
0.0041086566634476185,
0.013779597356915474,
0.014753107912838459,
-0.008071286603808403,
0.023010246455669403,
-0.015443415381014347,
0.0255590733140707,
-0.016514277085661888,
0.02465636469423771,
-0.024089958518743515,
-0.018142694607377052,
0.02281554415822029,
-0.0004145716375205666,
-0.04640989750623703,
-0.021859733387827873,
0.015177912078797817,
0.049100324511528015,
0.00999175664037466,
-0.019576409831643105,
-0.0015642542857676744,
0.03748900070786476,
0.0003252409806009382,
0.0008827969431877136,
0.012797237373888493,
-0.07285398244857788,
-0.032214343547821045,
-0.01883300207555294,
-0.04474607855081558,
-0.06177366152405739,
0.029240712523460388,
-0.016116023063659668,
0.02051451988518238,
0.008164212107658386,
0.015328364446759224,
-0.002964781830087304,
-0.061030253767967224,
0.006726072169840336,
-0.028745107352733612,
0.01149627286940813,
0.009168698452413082,
0.015169062651693821,
-0.04633909463882446,
0.013310542330145836,
0.021541129797697067,
-0.011699825525283813,
0.03727659955620766,
-0.06768552213907242,
-0.030550526455044746,
0.06467649340629578,
-0.04046263173222542,
-0.008717343211174011,
0.11236080527305603,
0.012832636944949627,
-0.004015730693936348,
0.055118389427661896,
-0.04042723402380943,
0.04191404953598976,
0.04056883603334427,
-0.01193877775222063,
0.019824212417006493,
-0.03545347973704338,
0.031948842108249664,
0.034798573702573776,
0.04499388113617897,
0.07950925081968307,
0.005562284495681524,
0.012071529403328896,
-0.024974968284368515,
-0.011292721144855022,
-0.045560289174318314,
0.05331297218799591,
-0.01638152450323105,
-0.007509305607527494,
-0.046020492911338806,
0.015018611215054989,
-0.08439450711011887,
-0.013788447715342045,
-0.047436509281396866,
-0.016947930678725243,
0.021629631519317627,
0.04931272938847542,
0.03138243779540062,
0.0015122599434107542,
-0.013053889386355877,
-0.06435789167881012,
-0.047436509281396866,
0.018071893602609634,
-0.03286925330758095,
0.03617918863892555,
-0.005633085500448942,
0.003298872848972678,
0.056003399193286896,
0.020302116870880127,
0.008407589979469776,
-0.07632321864366531,
0.001482390915043652,
0.018063044175505638,
0.022921744734048843,
-0.07469479739665985,
-0.034444570541381836,
-0.021346429362893105,
-0.024461662396788597,
0.01819579489529133,
-0.03242674842476845,
-0.02157653123140335,
0.019133904948830605,
0.02518736943602562,
0.016682429239153862,
-0.05770261958241463,
0.016213374212384224,
-0.038409411907196045,
-0.014823908917605877,
0.054481182247400284,
-0.030355824157595634,
0.05664060637354851,
0.027470694854855537,
0.01989501342177391,
0.08354489505290985,
-0.03329405561089516,
0.021611930802464485,
0.04616209492087364,
0.02626708149909973,
-0.002535552252084017,
-0.05816282331943512,
-0.014938959851861,
-0.024160759523510933,
-0.0015609355177730322,
0.013009639456868172,
-0.02607237920165062,
-0.005739286541938782,
-0.028426503762602806,
-0.03724119812250137,
0.004761350806802511,
0.005903013050556183,
0.09012936800718307,
-0.029063710942864418,
-0.011124568991363049,
-0.0004886911483481526,
0.06177366152405739,
0.00305107026360929,
-0.010195309296250343,
-0.00855361670255661,
0.022337639704346657,
0.0032546224538236856,
-0.046197496354579926,
0.0737035870552063,
-0.05161375179886818,
0.04081663861870766,
-0.034957874566316605,
-0.023718254640698433,
0.0046020494773983955,
0.011991878040134907,
-0.03216124325990677,
-0.05632200464606285,
-0.04612669348716736,
-0.031046131625771523,
0.006022489629685879,
-0.03724119812250137,
0.031683340668678284,
0.056215800344944,
0.025771476328372955,
0.050587140023708344,
0.010133358649909496,
0.03890501707792282,
-0.05012693628668785,
-0.07596921175718307,
-0.0029846944380551577,
0.006495969370007515,
-0.08616451919078827,
0.06474729627370834,
-0.0422680526971817,
-0.03485167399048805,
0.008327939547598362,
0.045560289174318314,
0.0002901171683333814,
-0.05214475840330124,
-0.011903377249836922,
0.03543578088283539,
-0.03184264153242111,
-0.056003399193286896,
0.004907377529889345,
-0.03809080645442009,
0.021771233528852463,
-0.013868098147213459,
0.02288634516298771,
0.07554440945386887,
-0.023665152490139008,
-0.027983998879790306,
0.017824091017246246,
0.02175353281199932,
0.00027767173014581203,
0.06871213763952255,
0.015850519761443138,
0.01127502042800188,
-0.019027704373002052,
0.027983998879790306,
-0.015045161359012127,
-0.0076951575465500355,
0.013239741325378418,
-0.012735286727547646,
0.04166624695062637,
0.029010610654950142,
0.03228514641523361,
0.027895499020814896,
-0.04400267079472542,
-0.02554137259721756,
0.0205853208899498,
-0.03414366394281387,
0.022302238270640373,
0.04198484867811203,
0.026231680065393448,
0.0016239923425018787,
0.008898770436644554,
-0.04665770009160042,
-0.03901121765375137,
-0.009469601325690746,
0.04276365786790848,
0.01092101726680994,
-0.00374580267816782,
0.07979245483875275,
-0.047507308423519135,
0.01662047766149044,
0.03538268059492111,
-0.0016560739604756236,
0.05632200464606285,
-0.04506468400359154,
0.06694211810827255,
-0.02564757503569126,
0.0001597165537532419,
-0.0039759050123393536,
-0.05083494260907173,
-0.06811033189296722,
0.006562345195561647,
-0.011213069781661034,
-0.0029138936661183834,
0.026939688250422478,
0.028585806488990784,
-0.04386106878519058,
0.009566952474415302,
0.007752683013677597,
-0.032532949000597,
0.09395260363817215,
0.09572262316942215,
-0.05062254145741463,
-0.011859127320349216,
0.016160273924469948,
-0.02272704243659973,
-0.03561278060078621,
0.029488515108823776,
0.013708796352148056,
-0.0564282052218914,
-0.012850337661802769,
-0.040958236902952194,
0.0046020494773983955,
-0.012797237373888493,
0.00786773394793272,
0.0017301935004070401,
-0.007000424899160862,
0.013974299654364586,
0.005761411506682634,
-0.04364866763353348,
-0.00468169990926981,
0.02538207173347473,
-0.004042280837893486,
-0.015195612795650959,
-0.04740110784769058,
-0.048038315027952194,
0.022249137982726097,
-0.022125236690044403,
0.0517907552421093,
-0.015328364446759224,
-0.006889798678457737,
0.05203855782747269,
0.006243742071092129,
-0.06432248651981354,
-0.010221859440207481,
-0.04860471934080124,
0.005827787332236767,
-0.009319149889051914,
0.04881712421774864,
0.0018961328314617276,
0.024001456797122955,
-0.03975462540984154,
-0.08340328931808472,
0.0007478329935111105,
0.017434686422348022,
-0.012929988093674183,
0.010195309296250343,
0.0005597684648819268,
0.011336971074342728,
-0.0023209373466670513,
0.0008473965572193265,
-0.02201903611421585,
0.04793211445212364,
0.01989501342177391,
0.005487058777362108,
-0.029400015249848366,
-0.02166503109037876,
0.0032479846850037575,
-0.046091292053461075,
0.016593927517533302,
-0.039719223976135254,
0.018709100782871246,
-0.008058011531829834,
0.03281615301966667,
0.01657622680068016,
-0.00447151018306613,
0.006066740024834871,
0.0162664745002985,
-0.04304686188697815,
0.021629631519317627,
-0.009646602906286716,
-0.04350706562399864,
0.02270934358239174,
0.016337275505065918,
0.02846190519630909,
0.00468169990926981,
-0.006172941066324711,
0.006863248534500599,
-0.018408197909593582,
-0.05469358712434769,
-0.015708917751908302,
0.05490598827600479,
-0.020992424339056015,
0.020974723622202873,
-0.08198727667331696,
0.011885677464306355,
-0.023541251197457314,
-0.0242315586656332,
-0.013947749510407448,
0.05685300752520561,
-0.013089289888739586,
0.050445541739463806,
0.013673396781086922,
-0.020036615431308746,
0.011770625598728657,
0.0031727589666843414,
-0.030621327459812164,
-0.03879881650209427,
0.03890501707792282,
0.014346003532409668,
0.03623228892683983,
0.027346793562173843,
0.008925320580601692,
0.002978056902065873,
-0.009575802832841873,
-0.03879881650209427,
0.01934630796313286,
0.0277715977281332,
0.007779233157634735,
0.09579342603683472,
-0.022072136402130127,
0.009646602906286716,
-0.01215117983520031,
0.012752986513078213,
-0.03869261592626572,
-0.02837340347468853,
-0.04665770009160042,
-0.011460872367024422,
-0.021859733387827873,
0.041418444365262985,
-0.012965388596057892,
-0.07257077842950821,
-0.07575681060552597,
0.013505244627594948,
-0.004721525590866804,
-0.0012533946428447962,
-0.03242674842476845,
-0.06457029283046722,
-0.030904531478881836,
0.052640363574028015,
0.013319392688572407,
0.06920774281024933,
-0.02111632563173771,
-0.03954222425818443,
0.015195612795650959,
0.01746123656630516,
-0.029931019991636276,
0.006110990419983864,
-0.061561260372400284,
-0.03067442774772644,
-0.05118894949555397,
0.03596678376197815,
0.0071553015150129795,
0.03189574182033539,
0.05306516960263252,
-0.026408683508634567,
-0.05780882015824318,
0.00831023883074522,
-0.03816160932183266,
0.018142694607377052,
-0.013151240535080433,
-0.09444820880889893,
-0.026638785377144814,
-0.03635618835687637,
0.03649779036641121,
-0.023718254640698433,
0.05171995237469673,
-0.012248530983924866,
-0.04439207538962364,
0.014177851378917694,
-0.04014403000473976,
-0.0037657152861356735,
0.01219543069601059,
0.012460933066904545,
0.05426878109574318,
0.07175657153129578,
-0.04977293312549591,
-0.07377438992261887,
0.003188246628269553,
-0.030656728893518448,
-0.015310663729906082,
-0.029453115537762642,
0.004274595528841019,
0.0031860340386629105,
-0.011859127320349216,
0.023488150909543037,
0.031329333782196045,
0.10662594437599182,
-0.03545347973704338,
0.06318967789411545,
0.029718618839979172,
-0.011027217842638493,
0.012452083639800549,
0.02200133539736271,
-0.005827787332236767,
-0.002287749433889985,
-0.026355581358075142,
-0.0260015781968832,
-0.01493010949343443,
0.02439086139202118,
-0.016054071485996246,
0.005619809962809086,
-0.0006189534906297922,
-0.0153814647346735,
-0.05026853829622269,
0.009876705706119537,
0.030391225591301918,
-0.014425654895603657,
0.04694090411067009,
-0.0015509790973737836,
-0.006836698390543461,
0.03437376767396927,
-0.005827787332236767,
0.023364249616861343,
0.049029525369405746,
0.018142694607377052,
-0.06425169110298157,
-0.02607237920165062,
0.0010354610858485103,
-0.0030355826020240784,
0.030338125303387642,
-0.05929563567042351,
0.01978881098330021,
-0.016726678237318993,
-0.01856749877333641,
-0.004756926093250513,
0.02387755550444126,
-0.030249623581767082,
0.010221859440207481,
0.03255064785480499,
0.06842893362045288,
-0.05048093944787979,
0.06088865175843239,
0.08828854560852051,
0.060499247163534164,
-0.05136594921350479,
-0.022302238270640373,
-0.05005613714456558,
0.022160638123750687,
0.007075650617480278,
-0.01092101726680994,
0.06733152270317078,
0.0564282052218914,
0.10464352369308472,
0.03660399094223976,
-0.06357908248901367,
0.03111693263053894,
0.025930777192115784,
-0.03508177399635315,
-0.030462026596069336,
0.04920652508735657,
-0.03609068691730499,
-0.05302976816892624,
0.009646602906286716,
0.07490719854831696,
-0.040604233741760254,
0.0016295237001031637,
-0.01788604073226452,
-0.002088622422888875,
0.04495847970247269,
-0.03623228892683983,
0.07143796235322952,
0.03216124325990677,
-0.01608947291970253,
-0.044073473662137985,
-0.021700432524085045,
-0.04170164465904236,
-0.07476560026407242,
-0.07688962668180466,
0.03833860903978348,
-0.030568227171897888,
-0.03325865790247917,
-0.017301935702562332,
0.02609007991850376,
0.01392119936645031,
0.01555846631526947,
0.04099363833665848,
-0.021417228505015373,
0.009867855347692966,
-0.004535673651844263,
-0.05416258051991463,
-0.02049681916832924,
-0.02290404587984085,
-0.023718254640698433,
-0.03986082598567009,
-0.02270934358239174,
0.052357159554958344,
-0.022585442289710045,
-0.006018064450472593,
0.047436509281396866,
0.014956660568714142,
0.03432066738605499,
0.030886830762028694,
-0.04616209492087364,
0.0009486195049248636,
-0.07752683013677597,
0.02890441007912159,
-0.001084689749404788,
-0.08375729620456696,
-0.02007201500236988,
0.044427476823329926,
-0.029276113957166672,
-0.04120603948831558,
-0.05756101757287979,
0.010283810086548328,
0.026019278913736343,
-0.02182433381676674,
-0.011177669279277325,
-0.01576201803982258,
-0.0004718206764664501,
0.04895872250199318,
-0.054587382823228836,
0.07660642266273499,
-0.053702373057603836,
-0.016700128093361855,
0.01961180940270424,
-0.050445541739463806,
-0.05274656414985657,
-0.02403685823082924,
-0.041418444365262985,
0.02447936125099659,
0.11533443629741669,
0.07625241577625275,
0.02288634516298771,
-0.03954222425818443,
-0.0340905636548996,
-0.03748900070786476,
-0.00025775900576263666,
0.025240469723939896,
-0.023824455216526985,
-0.016496576368808746,
-0.050445541739463806,
0.016815179958939552,
-0.017222285270690918,
0.03023192286491394,
0.01176177617162466,
-0.015098261646926403,
0.04793211445212364,
-0.005562284495681524,
-0.01569121889770031,
-0.030550526455044746,
0.0402856320142746,
-0.023364249616861343,
-0.010505062527954578,
-0.012646785005927086,
-0.009469601325690746,
-0.02341734990477562,
-0.027683096006512642,
-0.027417592704296112,
0.07108396291732788,
0.03922361880540848,
0.009443051181733608,
0.045135483145713806,
0.05295896530151367,
0.028833609074354172,
0.006257017143070698
]
|
29,332 | quart.app | after_serving | Add a after serving function.
This will allow the function provided to be called once after
anything is served (after last byte is sent).
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.after_serving
async def func():
...
Arguments:
func: The function itself.
| from __future__ import annotations
import asyncio
import os
import signal
import sys
import warnings
from collections import defaultdict
from datetime import timedelta
from inspect import isasyncgen, isgenerator
from types import TracebackType
from typing import (
Any,
AnyStr,
AsyncGenerator,
Awaitable,
Callable,
cast,
Coroutine,
NoReturn,
Optional,
overload,
TypeVar,
Union,
)
from urllib.parse import quote
from weakref import WeakSet
from aiofiles import open as async_open
from aiofiles.base import AiofilesContextManager
from aiofiles.threadpool.binary import AsyncBufferedReader
from flask.sansio.app import App
from flask.sansio.scaffold import setupmethod
from hypercorn.asyncio import serve
from hypercorn.config import Config as HyperConfig
from hypercorn.typing import ASGIReceiveCallable, ASGISendCallable, Scope
from werkzeug.datastructures import Authorization, Headers, ImmutableDict
from werkzeug.exceptions import Aborter, BadRequestKeyError, HTTPException, InternalServerError
from werkzeug.routing import BuildError, MapAdapter, RoutingException
from werkzeug.wrappers import Response as WerkzeugResponse
from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
has_request_context,
has_websocket_context,
RequestContext,
WebsocketContext,
)
from .globals import (
_cv_app,
_cv_request,
_cv_websocket,
g,
request,
request_ctx,
session,
websocket,
websocket_ctx,
)
from .helpers import get_debug_flag, get_flashed_messages, send_from_directory
from .routing import QuartMap, QuartRule
from .sessions import SecureCookieSessionInterface
from .signals import (
appcontext_tearing_down,
got_background_exception,
got_request_exception,
got_serving_exception,
got_websocket_exception,
request_finished,
request_started,
request_tearing_down,
websocket_finished,
websocket_started,
websocket_tearing_down,
)
from .templating import _default_template_ctx_processor, Environment
from .testing import (
make_test_body_with_headers,
make_test_headers_path_and_query_string,
make_test_scope,
no_op_push,
QuartClient,
QuartCliRunner,
sentinel,
TestApp,
)
from .typing import (
AfterServingCallable,
AfterWebsocketCallable,
ASGIHTTPProtocol,
ASGILifespanProtocol,
ASGIWebsocketProtocol,
BeforeServingCallable,
BeforeWebsocketCallable,
Event,
FilePath,
HeadersValue,
ResponseReturnValue,
ResponseTypes,
ShellContextProcessorCallable,
StatusCode,
TeardownCallable,
TemplateFilterCallable,
TemplateGlobalCallable,
TemplateTestCallable,
TestAppProtocol,
TestClientProtocol,
WebsocketCallable,
WhileServingCallable,
)
from .utils import (
cancel_tasks,
file_path_to_path,
MustReloadError,
observe_changes,
restart,
run_sync,
)
from .wrappers import BaseRequestWebsocket, Request, Response, Websocket
try:
from typing import ParamSpec
except ImportError:
from typing_extensions import ParamSpec # type: ignore
AppOrBlueprintKey = Optional[str] # The App key is None, whereas blueprints are named
T_after_serving = TypeVar("T_after_serving", bound=AfterServingCallable)
T_after_websocket = TypeVar("T_after_websocket", bound=AfterWebsocketCallable)
T_before_serving = TypeVar("T_before_serving", bound=BeforeServingCallable)
T_before_websocket = TypeVar("T_before_websocket", bound=BeforeWebsocketCallable)
T_shell_context_processor = TypeVar(
"T_shell_context_processor", bound=ShellContextProcessorCallable
)
T_teardown = TypeVar("T_teardown", bound=TeardownCallable)
T_template_filter = TypeVar("T_template_filter", bound=TemplateFilterCallable)
T_template_global = TypeVar("T_template_global", bound=TemplateGlobalCallable)
T_template_test = TypeVar("T_template_test", bound=TemplateTestCallable)
T_websocket = TypeVar("T_websocket", bound=WebsocketCallable)
T_while_serving = TypeVar("T_while_serving", bound=WhileServingCallable)
T = TypeVar("T")
P = ParamSpec("P")
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, func: ~T_after_serving) -> ~T_after_serving | [
0.02036147750914097,
-0.048047810792922974,
-0.1006406843662262,
-0.040398307144641876,
0.034148845821619034,
0.025302205234766006,
-0.036948930472135544,
0.024957267567515373,
-0.0725586861371994,
-0.03650254011154175,
0.03944465517997742,
0.009348830208182335,
0.005090369377285242,
0.03274880349636078,
0.02572830393910408,
0.033844489604234695,
0.054784245789051056,
-0.008237927220761776,
0.040540341287851334,
-0.08708666265010834,
-0.009343757294118404,
0.022157182916998863,
-0.004557744599878788,
-0.02349635399878025,
-0.030963243916630745,
0.001223768456839025,
-0.06509179621934891,
-0.01130178663879633,
0.015572928823530674,
-0.039586689323186874,
0.02118324115872383,
-0.043989717960357666,
0.044314365833997726,
0.012113405391573906,
0.057016197592020035,
-0.007152387406677008,
-0.022562993690371513,
-0.015522202476859093,
-0.04971162974834442,
-0.03573150187730789,
0.0035051770973950624,
-0.03364158421754837,
-0.006964700762182474,
0.0005189919611439109,
0.007710375357419252,
0.03792287036776543,
-0.03700980171561241,
0.07101661711931229,
0.027108056470751762,
0.045978184789419174,
-0.008456049486994743,
0.006705997511744499,
-0.0013201481197029352,
0.07515586912631989,
0.0206151083111763,
0.0808371976017952,
-0.023232577368617058,
0.03563005104660988,
-0.00571176502853632,
-0.03968814015388489,
-0.0061936634592711926,
0.05746258422732353,
0.03189660608768463,
0.022786187008023262,
0.02236008830368519,
-0.0335807129740715,
-0.030090752989053726,
0.03354013338685036,
-0.007558196783065796,
-0.0194889884442091,
0.01862664334475994,
-0.010490168817341328,
-0.020249880850315094,
0.01837301254272461,
0.05048266798257828,
-0.03548801690340042,
0.013756932690739632,
-0.02909652143716812,
-0.026032662019133568,
0.013269961811602116,
0.05827420577406883,
-0.006066848058253527,
-0.02390216290950775,
0.014964215457439423,
0.10453645884990692,
0.019996250048279762,
0.03293141722679138,
-0.009896672330796719,
-0.10437413305044174,
-0.026012370362877846,
-0.05247113108634949,
0.027615318074822426,
0.009485790506005287,
0.005044715944677591,
0.014294629916548729,
-0.04898117482662201,
-0.03140963241457939,
-0.03307345137000084,
-0.014588841237127781,
-0.06529470533132553,
-0.008679244667291641,
0.06728316843509674,
-0.027047185227274895,
-0.007385727949440479,
0.02526162378489971,
0.0007298224954865873,
0.006290042772889137,
0.018900563940405846,
0.0013442430645227432,
-0.031429924070835114,
-0.008405323140323162,
0.004030192736536264,
-0.0028533460572361946,
-0.007284275721758604,
-0.03826780989766121,
0.006137864664196968,
-0.00879084225744009,
0.0027011677157133818,
0.0498739518225193,
-0.039992500096559525,
-0.03116614744067192,
0.008237927220761776,
-0.006756723392754793,
-0.03043569251894951,
0.03849100321531296,
0.08367785811424255,
0.009125635027885437,
0.0013594608753919601,
-0.014913489110767841,
-0.01758168451488018,
-0.03347926214337349,
0.04626225307583809,
0.01695268042385578,
0.06675561517477036,
-0.0014850081643089652,
0.0461810901761055,
-0.04321868345141411,
0.013198944739997387,
-0.009840874001383781,
0.0474390983581543,
-0.00489000091329217,
-0.008045167662203312,
-0.030699467286467552,
-0.0332154855132103,
0.01701355166733265,
0.003515322459861636,
-0.04427378624677658,
-0.05210590362548828,
-0.023780420422554016,
-0.012711973860859871,
0.034006811678409576,
-0.00915099773555994,
-0.06423959881067276,
0.06249462068080902,
-0.019925232976675034,
0.030232787132263184,
-0.02284706011414528,
0.038085196167230606,
-0.020635398104786873,
-0.054540760815143585,
-0.07633271813392639,
-0.055961091071367264,
0.019397681578993797,
-0.07974151521921158,
-0.00958724319934845,
0.0222789254039526,
0.005171531345695257,
0.03149079531431198,
0.03662428259849548,
0.06963685899972916,
-0.017936768010258675,
0.0548248253762722,
-0.029705235734581947,
-0.021061498671770096,
0.03662428259849548,
0.010997429490089417,
0.0005564024904742837,
-0.017845461145043373,
-0.0321400910615921,
-0.040235985070466995,
-0.01710485853254795,
-0.07604864984750748,
-0.03644166886806488,
-0.0009454086539335549,
0.005706692114472389,
0.05263345688581467,
-0.007984296418726444,
0.028244322165846825,
0.05928872898221016,
-0.023699259385466576,
-0.07836176455020905,
0.02349635399878025,
0.07105719298124313,
0.016404837369918823,
0.017480231821537018,
0.01972232758998871,
0.001781756174750626,
0.019793344661593437,
0.013016331009566784,
-0.059410471469163895,
-0.039363496005535126,
0.029664654284715652,
0.010713363066315651,
-0.06050615385174751,
-0.037841711193323135,
-0.022197764366865158,
0.02085859328508377,
-0.0009213137673214078,
-0.004278751090168953,
-0.0032946637365967035,
-0.04147370159626007,
-0.004205198027193546,
0.034311167895793915,
0.009034328162670135,
0.06379321217536926,
-0.040459178388118744,
0.015167119912803173,
0.022887639701366425,
0.037740256637334824,
0.013990272767841816,
0.06249462068080902,
0.040459178388118744,
-0.029705235734581947,
-0.006284970324486494,
-0.008547356352210045,
-0.003822215599939227,
0.004139253869652748,
0.02205573208630085,
-0.01131193246692419,
0.0066958521492779255,
0.0135033018887043,
0.03313432261347771,
0.045653536915779114,
0.026884861290454865,
0.005366826895624399,
-0.0007006549858488142,
0.001173676340840757,
0.03889681398868561,
-0.008988674730062485,
-0.01370620634406805,
0.002152057131752372,
-0.010069141164422035,
0.00998797919601202,
-0.038085196167230606,
0.007116879336535931,
0.0031653118785470724,
0.027047185227274895,
0.001743711531162262,
-0.004195052664726973,
0.008329234085977077,
-0.00457549886777997,
-0.03826780989766121,
-0.03453436493873596,
-0.036888059228658676,
-0.0391605906188488,
-0.020574526861310005,
-0.004522236529737711,
-0.01741936057806015,
0.005838579963892698,
0.015126538462936878,
-0.005034570582211018,
0.02518046274781227,
-0.07304566353559494,
0.07612980902194977,
-0.018332431092858315,
-0.052146486937999725,
0.0021824927534908056,
-0.019955668598413467,
-0.043908558785915375,
-0.02629643678665161,
0.052146486937999725,
0.028508098796010017,
0.00811111181974411,
0.013919256627559662,
-0.06809478998184204,
-0.03116614744067192,
-0.013290251605212688,
-0.001481203711591661,
-0.03230241313576698,
-0.03153137490153313,
-0.012894587591290474,
-0.00012142572813900188,
0.056285738945007324,
0.02126440405845642,
-0.009161143563687801,
-0.004250851459801197,
-0.012630811892449856,
0.011048155836760998,
0.01732805371284485,
-0.026194985955953598,
-0.019225211814045906,
-0.002632687333971262,
0.007086443714797497,
-0.016729485243558884,
0.008836495690047741,
0.020229589194059372,
-0.08266333490610123,
0.020960045978426933,
0.049914535135030746,
-0.07442541420459747,
0.03149079531431198,
0.03341839089989662,
0.02708776481449604,
0.013239526189863682,
0.008491558022797108,
0.019539713859558105,
0.007304565981030464,
-0.004938190802931786,
-0.010936558246612549,
-0.016820792108774185,
-0.003492495510727167,
-0.03976930305361748,
0.04183892905712128,
-0.008374887518584728,
0.02605295181274414,
0.056448061019182205,
-0.0072944206185638905,
-0.02054409123957157,
0.03885623440146446,
0.07844292372465134,
-0.029218263924121857,
0.04338100552558899,
0.06622806191444397,
0.008724898099899292,
0.01062205620110035,
-0.014751165173947811,
0.0424882248044014,
-0.02132527530193329,
-0.03794316202402115,
0.007806755136698484,
-0.08335321396589279,
0.03636050596833229,
-0.04484191909432411,
-0.02684427984058857,
-0.0556364431977272,
0.02747328393161297,
-0.028264611959457397,
-0.00625453470274806,
0.0008407859713770449,
-0.05847710743546486,
0.0325864814221859,
0.008055313490331173,
0.011180044151842594,
0.042082417756319046,
-0.028711002320051193,
-0.057422004640102386,
0.013726497069001198,
0.016557015478610992,
0.05575818568468094,
-0.0360967293381691,
0.08343437314033508,
-0.013685915619134903,
0.0011552880750969052,
0.09528400748968124,
0.05523063614964485,
-0.04196067526936531,
0.012417762540280819,
-0.01470043882727623,
0.007837190292775631,
0.004481655545532703,
-0.01933681033551693,
0.059491630643606186,
-0.0036066295579075813,
0.01218442153185606,
-0.006929192692041397,
-0.033844489604234695,
0.07142242044210434,
-0.014730874449014664,
-0.0004295871185604483,
0.021365854889154434,
-0.0017462477553635836,
-0.03076033852994442,
-0.004410638939589262,
0.0025908383540809155,
-0.03554888814687729,
0.0001930764119606465,
-0.026194985955953598,
-0.04427378624677658,
-0.07612980902194977,
0.057259682565927505,
0.033296648412942886,
0.06809478998184204,
-0.0030131335370242596,
-0.001471058465540409,
0.008506775833666325,
-0.0548248253762722,
-0.014923634007573128,
-0.009379265829920769,
-0.004184907767921686,
0.015796123072504997,
0.03516336902976036,
0.002162202261388302,
0.006087138317525387,
0.021467307582497597,
0.012367036193609238,
-0.030232787132263184,
-0.04585644230246544,
0.08156765252351761,
0.01959044113755226,
-0.010287263430655003,
0.06683678179979324,
-0.023070253431797028,
0.049021754413843155,
0.0556364431977272,
0.01884983852505684,
-0.011717741377651691,
0.0874113067984581,
-0.012925024144351482,
0.034148845821619034,
0.06882524490356445,
-0.03524453192949295,
-0.019042598083615303,
-0.09504052251577377,
-0.002211660146713257,
-0.021913697943091393,
-0.04232590273022652,
-0.018738240003585815,
0.004324404522776604,
0.03542714565992355,
0.03682718798518181,
-0.007958933711051941,
0.014730874449014664,
0.043908558785915375,
0.043259263038635254,
0.030861791223287582,
0.029461748898029327,
-0.019154194742441177,
0.029583491384983063,
-0.06326565891504288,
0.008846640586853027,
0.03715183585882187,
0.01806865632534027,
-0.043340425938367844,
-0.033743035048246384,
0.030151626095175743,
0.02956320159137249,
-0.02244124934077263,
0.02029046043753624,
0.02771677076816559,
0.01582656055688858,
-0.03717212378978729,
0.018870128318667412,
0.006016121711581945,
0.027432704344391823,
0.07604864984750748,
-0.0013505838578566909,
-0.08538226038217545,
0.029542911797761917,
0.08749246597290039,
-0.009034328162670135,
-0.06939337402582169,
-0.03587353602051735,
-0.014406227506697178,
0.010693073272705078,
-0.04009395092725754,
-0.013919256627559662,
0.03867362067103386,
0.04545063152909279,
-0.08416483551263809,
-0.06833827495574951,
0.03013133443892002,
-0.005716837476938963,
0.028183450922369957,
-0.017277328297495842,
0.03987075760960579,
0.04096643999218941,
0.07138184458017349,
-0.016972970217466354,
-0.04484191909432411,
0.005945105105638504,
0.02507901005446911,
0.04451727122068405,
-0.006868320982903242,
-0.007720520254224539,
0.03875477984547615,
-0.011555417440831661,
-0.013878675177693367,
-0.015217846259474754,
-0.026337018236517906,
-0.015867140144109726,
0.03076033852994442,
-0.029299424961209297,
-0.00023809587582945824,
0.0685005933046341,
-0.053810302168130875,
-0.05153777077794075,
0.04459843412041664,
-0.009232159703969955,
0.04634341225028038,
-0.03293141722679138,
-0.03684747591614723,
-0.0001341865281574428,
-0.009531443938612938,
0.010195956565439701,
0.04873768612742424,
0.014487389475107193,
-0.013838094659149647,
0.027858803048729897,
0.004539990797638893,
-0.04938698187470436,
0.012235147878527641,
-0.01862664334475994,
0.0022661909461021423,
0.046059347689151764,
0.006457439158111811,
-0.0206151083111763,
-0.06837885081768036,
-0.043502748012542725,
-0.02796025574207306,
-0.0012846398167312145,
0.02229921706020832,
0.023557225242257118,
-0.012843862175941467,
-0.04739851877093315,
0.03171399235725403,
-0.00622917152941227,
0.014984505251049995,
-0.03157195821404457,
-0.008212564513087273,
-0.06269752234220505,
0.021365854889154434,
0.002545184688642621,
0.046870965510606766,
0.013685915619134903,
0.004169689957052469,
-0.009688694961369038,
0.036319926381111145,
0.024145647883415222,
0.018332431092858315,
0.054621919989585876,
0.021041208878159523,
0.03968814015388489,
0.02925884537398815,
-0.005884233862161636,
0.02925884537398815,
-0.02091946452856064,
-0.013554028235375881,
-0.07406018674373627,
-0.03443291410803795,
-0.02611382305622101,
0.003515322459861636,
0.06143951788544655,
-0.02692544274032116,
-0.053972627967596054,
-0.05498715117573738,
-0.03315461426973343,
0.03380391001701355,
0.01972232758998871,
0.01045973226428032,
-0.0577060729265213,
-0.06383378803730011,
0.010363353416323662,
0.06176416203379631,
0.007380655035376549,
-0.09374193102121353,
-0.08018790185451508,
0.027351541444659233,
-0.020117992535233498,
-0.018038220703601837,
0.02532249502837658,
-0.029542911797761917,
0.009287958964705467,
-0.08700549602508545,
-0.0222789254039526,
0.003588875290006399,
0.04938698187470436,
0.019306372851133347,
0.010520604439079762,
-0.023110834881663322,
-0.02036147750914097,
-0.009607532992959023,
0.005493642296642065,
0.061398934572935104,
-0.01838315837085247,
-0.039911337196826935,
0.013929401524364948,
0.00947057269513607,
0.006345841567963362,
0.05778723210096359,
-0.013361268676817417,
0.060222089290618896,
0.010439442470669746,
-0.04228531941771507,
-0.06894698739051819,
0.0021482526790350676,
-0.01513668429106474,
0.09739421308040619,
0.0762515515089035,
-0.011494546197354794,
-0.01661788858473301,
-0.05912640318274498,
0.01814981736242771,
-0.007542978972196579,
-0.0340271033346653,
0.009115489199757576,
0.04260996729135513,
0.0009352634660899639,
0.05425669252872467,
0.01058147568255663,
0.03187631443142891,
-0.02363838627934456,
0.06160183995962143,
0.02836606465280056,
-0.05624515935778618,
0.04634341225028038,
-0.026337018236517906,
-0.008324162103235722,
0.037760548293590546,
0.02629643678665161,
0.010500313714146614,
-0.0058893063105642796,
-0.004879856016486883,
0.008359669707715511,
0.006305260583758354,
0.007380655035376549,
-0.005125877913087606,
-0.06728316843509674,
0.04196067526936531,
0.059572793543338776,
-0.02716892771422863,
0.023354319855570793,
-0.024490587413311005,
-0.03579237312078476,
-0.014071434736251831,
-0.03802432492375374,
0.0046744151040911674,
0.01758168451488018,
-0.035041626542806625,
-0.07974151521921158,
-0.05466250330209732,
0.01988465152680874,
-0.0202092994004488,
0.018271559849381447,
-0.013838094659149647,
0.048534784466028214,
-0.01604975387454033,
-0.007400945760309696,
0.004413175396621227,
-0.011393093504011631,
0.01181919313967228,
0.0519435815513134,
-0.043259263038635254,
0.010079286992549896,
-0.045653536915779114,
0.0015649017877876759,
0.010429296642541885,
0.04076353460550308,
-0.058761175721883774,
0.02725008875131607,
-0.005250156857073307,
-0.0007380655151791871,
0.06939337402582169,
-0.018281705677509308,
0.01749037764966488,
-0.05794955790042877,
0.04072295501828194,
-0.019083179533481598,
-0.04192009195685387,
0.018809257075190544,
0.012062679044902325,
0.03976930305361748,
-0.00413671787828207,
0.015887431800365448,
0.0105104586109519,
-0.014923634007573128,
-0.004481655545532703,
0.04642457515001297,
-0.017997639253735542,
0.05531179532408714,
0.007776319049298763,
0.062048230320215225,
0.019925232976675034,
-0.018646933138370514,
-0.03293141722679138,
-0.014943924732506275,
0.034006811678409576,
-0.01805851049721241,
-0.007700229994952679,
-0.007076298352330923,
-0.01751066744327545,
-0.03713154420256615,
0.04776374623179436,
-0.03845042362809181,
0.0012782990233972669,
0.004671878647059202,
-0.027351541444659233,
0.047114450484514236,
-0.04650573804974556,
0.01589757576584816,
-0.07458773255348206,
0.024754362180829048,
0.006538601126521826,
-0.028244322165846825,
0.02036147750914097,
-0.04508540406823158,
-0.05612341687083244,
-0.031693700700998306,
-0.06375262886285782,
-0.01845417357981205,
-0.02948204055428505,
0.04212299734354019,
-0.04378681629896164,
0.04090556874871254,
-0.0449230819940567,
-0.0011185116600245237,
0.06062789633870125,
-0.026235565543174744,
-0.025363076478242874,
0.00942491926252842,
0.03394594043493271,
-0.006589327473193407,
-0.02485581487417221,
0.05145660787820816,
-0.0102619007229805,
-0.034879304468631744,
0.0013188800076022744,
-0.06338740140199661,
0.027310959994792938,
0.004377666860818863,
0.03282996639609337,
-0.06042499467730522,
0.026012370362877846,
0.053810302168130875,
-0.0005776440375484526,
0.0630221739411354,
-0.05328275263309479,
-0.0028533460572361946,
0.0039794668555259705,
0.04593760520219803,
-0.0023828609846532345,
0.035609759390354156,
-0.03242415562272072,
-0.06334681808948517,
0.04788548871874809,
0.03285025805234909,
-0.03228212520480156,
0.02373983897268772,
-0.05567702651023865,
-0.06951511651277542,
-0.01695268042385578,
-0.003928740508854389,
-0.04236648231744766,
-0.07641387730836868,
-0.008374887518584728,
0.008841568604111671,
0.018444029614329338,
0.032403867691755295,
-0.028163159266114235,
0.02477465383708477,
0.011951081454753876,
0.06452366709709167,
-0.013807659037411213,
-0.08643736690282822,
0.02956320159137249,
-0.05417552962899208,
0.0020708951633423567,
0.016191788017749786,
-0.005311028100550175,
-0.061317771673202515,
-0.016252659261226654,
-0.030395111069083214,
0.020270170643925667,
0.021933987736701965,
0.0071473149582743645,
0.03755764290690422,
0.02883274480700493,
-0.016841081902384758,
0.009835801087319851
]
|
29,333 | quart.app | after_websocket | Add an after websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.after_websocket
async def func(response):
return response
Arguments:
func: The after websocket function itself.
| from __future__ import annotations
import asyncio
import os
import signal
import sys
import warnings
from collections import defaultdict
from datetime import timedelta
from inspect import isasyncgen, isgenerator
from types import TracebackType
from typing import (
Any,
AnyStr,
AsyncGenerator,
Awaitable,
Callable,
cast,
Coroutine,
NoReturn,
Optional,
overload,
TypeVar,
Union,
)
from urllib.parse import quote
from weakref import WeakSet
from aiofiles import open as async_open
from aiofiles.base import AiofilesContextManager
from aiofiles.threadpool.binary import AsyncBufferedReader
from flask.sansio.app import App
from flask.sansio.scaffold import setupmethod
from hypercorn.asyncio import serve
from hypercorn.config import Config as HyperConfig
from hypercorn.typing import ASGIReceiveCallable, ASGISendCallable, Scope
from werkzeug.datastructures import Authorization, Headers, ImmutableDict
from werkzeug.exceptions import Aborter, BadRequestKeyError, HTTPException, InternalServerError
from werkzeug.routing import BuildError, MapAdapter, RoutingException
from werkzeug.wrappers import Response as WerkzeugResponse
from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
has_request_context,
has_websocket_context,
RequestContext,
WebsocketContext,
)
from .globals import (
_cv_app,
_cv_request,
_cv_websocket,
g,
request,
request_ctx,
session,
websocket,
websocket_ctx,
)
from .helpers import get_debug_flag, get_flashed_messages, send_from_directory
from .routing import QuartMap, QuartRule
from .sessions import SecureCookieSessionInterface
from .signals import (
appcontext_tearing_down,
got_background_exception,
got_request_exception,
got_serving_exception,
got_websocket_exception,
request_finished,
request_started,
request_tearing_down,
websocket_finished,
websocket_started,
websocket_tearing_down,
)
from .templating import _default_template_ctx_processor, Environment
from .testing import (
make_test_body_with_headers,
make_test_headers_path_and_query_string,
make_test_scope,
no_op_push,
QuartClient,
QuartCliRunner,
sentinel,
TestApp,
)
from .typing import (
AfterServingCallable,
AfterWebsocketCallable,
ASGIHTTPProtocol,
ASGILifespanProtocol,
ASGIWebsocketProtocol,
BeforeServingCallable,
BeforeWebsocketCallable,
Event,
FilePath,
HeadersValue,
ResponseReturnValue,
ResponseTypes,
ShellContextProcessorCallable,
StatusCode,
TeardownCallable,
TemplateFilterCallable,
TemplateGlobalCallable,
TemplateTestCallable,
TestAppProtocol,
TestClientProtocol,
WebsocketCallable,
WhileServingCallable,
)
from .utils import (
cancel_tasks,
file_path_to_path,
MustReloadError,
observe_changes,
restart,
run_sync,
)
from .wrappers import BaseRequestWebsocket, Request, Response, Websocket
try:
from typing import ParamSpec
except ImportError:
from typing_extensions import ParamSpec # type: ignore
AppOrBlueprintKey = Optional[str] # The App key is None, whereas blueprints are named
T_after_serving = TypeVar("T_after_serving", bound=AfterServingCallable)
T_after_websocket = TypeVar("T_after_websocket", bound=AfterWebsocketCallable)
T_before_serving = TypeVar("T_before_serving", bound=BeforeServingCallable)
T_before_websocket = TypeVar("T_before_websocket", bound=BeforeWebsocketCallable)
T_shell_context_processor = TypeVar(
"T_shell_context_processor", bound=ShellContextProcessorCallable
)
T_teardown = TypeVar("T_teardown", bound=TeardownCallable)
T_template_filter = TypeVar("T_template_filter", bound=TemplateFilterCallable)
T_template_global = TypeVar("T_template_global", bound=TemplateGlobalCallable)
T_template_test = TypeVar("T_template_test", bound=TemplateTestCallable)
T_websocket = TypeVar("T_websocket", bound=WebsocketCallable)
T_while_serving = TypeVar("T_while_serving", bound=WhileServingCallable)
T = TypeVar("T")
P = ParamSpec("P")
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, func: ~T_after_websocket) -> ~T_after_websocket | [
0.020360464230179787,
-0.048004843294620514,
-0.10063567757606506,
-0.04035571962594986,
0.03410656750202179,
0.025300946086645126,
-0.03698766976594925,
0.024996604770421982,
-0.07255508005619049,
-0.0365007221698761,
0.03948327153921127,
0.0093686543405056,
0.005090116057544947,
0.032767463475465775,
0.02572702430188656,
0.033863093703985214,
0.054740939289331436,
-0.008222300559282303,
0.04049774631857872,
-0.08716348558664322,
-0.009358509443700314,
0.02215608023107052,
-0.004590488504618406,
-0.023515474051237106,
-0.030981991440057755,
0.0012858440168201923,
-0.06508856266736984,
-0.011270790360867977,
0.01558229885995388,
-0.03958471864461899,
0.021182186901569366,
-0.04398753121495247,
0.04427158087491989,
0.01208236813545227,
0.05705393850803375,
-0.007202755194157362,
-0.022541580721735954,
-0.01544027216732502,
-0.049790311604738235,
-0.0357094332575798,
0.0034365258179605007,
-0.03363991156220436,
-0.006999860517680645,
0.0005132597289048135,
0.007699846755713224,
0.03794127330183983,
-0.03700795769691467,
0.07101307809352875,
0.02716757543385029,
0.04593531787395477,
-0.00840490497648716,
0.006680301856249571,
-0.0012566779041662812,
0.07511154562234879,
0.020634371787309647,
0.08091433346271515,
-0.023211132735013962,
0.03562827780842781,
-0.0057064080610871315,
-0.03966587781906128,
-0.00615784851834178,
0.05745972692966461,
0.03189501911401749,
0.022805342450737953,
0.022358974441885948,
-0.03357904031872749,
-0.030089255422353745,
0.033518172800540924,
-0.007578109856694937,
-0.019467728212475777,
0.01860542595386505,
-0.01053022500127554,
-0.020269161090254784,
0.01838224194943905,
0.05052073299884796,
-0.03548625111579895,
0.013685234822332859,
-0.02909507229924202,
-0.02601107582449913,
0.013259156607091427,
0.058230724185705185,
-0.006147703621536493,
-0.023921262472867966,
0.015014193952083588,
0.10453125089406967,
0.0199749656021595,
0.03295006975531578,
-0.00988603476434946,
-0.1042877808213234,
-0.02601107582449913,
-0.05250909924507141,
0.027613943442702293,
0.009480246342718601,
0.005097724497318268,
0.014263484627008438,
-0.04893815517425537,
-0.031387779861688614,
-0.03307180479168892,
-0.014598259702324867,
-0.06533203274011612,
-0.008633161894977093,
0.06732039898633957,
-0.027045838534832,
-0.007349853869527578,
0.02526036649942398,
0.0007545139524154365,
0.0062897298485040665,
0.01887933351099491,
0.0013492484577000141,
-0.03144865110516548,
-0.008420121856033802,
0.0039843409322202206,
-0.0028709573671221733,
-0.007233189418911934,
-0.03824561461806297,
0.00607669074088335,
-0.008785332553088665,
0.002706105588003993,
0.04983089119195938,
-0.03999050706624985,
-0.03116459771990776,
0.008252734318375587,
-0.006812183186411858,
-0.030413886532187462,
0.038529668003320694,
0.08367369323968887,
0.009150542318820953,
0.0013479804620146751,
-0.014912746846675873,
-0.017601098865270615,
-0.0334978848695755,
0.046219371259212494,
0.016941692680120468,
0.06679287552833557,
-0.0015381940174847841,
0.04617879167199135,
-0.04317595064640045,
0.01320843305438757,
-0.009840384125709534,
0.04743673652410507,
-0.004897366277873516,
-0.008039695210754871,
-0.030718229711055756,
-0.033254411071538925,
0.017002560198307037,
0.0035202198196202517,
-0.04427158087491989,
-0.05210331082344055,
-0.023840105161070824,
-0.012751920148730278,
0.03404569998383522,
-0.009165759198367596,
-0.06423640251159668,
0.06245093047618866,
-0.019934386014938354,
0.030251571908593178,
-0.02286621183156967,
0.03808329999446869,
-0.020685095340013504,
-0.05449746549129486,
-0.07632891833782196,
-0.05591772869229317,
0.01935613714158535,
-0.07981870323419571,
-0.009576620534062386,
0.022277817130088806,
0.005209316499531269,
0.031468939036130905,
0.036622460931539536,
0.06963339447975159,
-0.01798659935593605,
0.054862674325704575,
-0.02972404658794403,
-0.021040160208940506,
0.036602169275283813,
0.010996882803738117,
0.0006020260625518858,
-0.01784457266330719,
-0.03217906877398491,
-0.040213692933321,
-0.01709386333823204,
-0.07612602412700653,
-0.03643985465168953,
-0.0009371190099045634,
0.00574698718264699,
0.05263083800673485,
-0.007948392070829868,
0.028222626075148582,
0.059326354414224625,
-0.023698078468441963,
-0.07831728458404541,
0.023495184257626534,
0.07101307809352875,
0.016383731737732887,
0.017459072172641754,
0.019721345975995064,
0.001789276022464037,
0.019792359322309494,
0.012995393946766853,
-0.05936693400144577,
-0.03940211609005928,
0.029683467000722885,
0.010662106797099113,
-0.0605437234044075,
-0.037839826196432114,
-0.02217637002468109,
0.02085755579173565,
-0.000901612511370331,
-0.004301363602280617,
-0.003281818702816963,
-0.04151221737265587,
-0.004207524936646223,
0.03430946171283722,
0.009069385007023811,
0.06374945491552353,
-0.04049774631857872,
0.015186654403805733,
0.022947369143366814,
0.0377383790910244,
0.01399972103536129,
0.06253208965063095,
0.04041658714413643,
-0.02972404658794403,
-0.006345525849610567,
-0.00854185875505209,
-0.0038194891531020403,
0.0041517289355397224,
0.022074922919273376,
-0.011321513913571835,
0.006619433406740427,
0.013522919267416,
0.03315296396613121,
0.04565126448869705,
0.02690381184220314,
0.005376704502850771,
-0.0006987179513089359,
0.0012141967890784144,
0.03885429725050926,
-0.00902373343706131,
-0.013705524615943432,
0.0021139071322977543,
-0.010078785009682178,
0.010012844577431679,
-0.038063012063503265,
0.007091163191944361,
0.003185443812981248,
0.027086418122053146,
0.0017829355783760548,
-0.004225278273224831,
0.008313602767884731,
-0.0045397644862532616,
-0.038265906274318695,
-0.03453264757990837,
-0.03684564307332039,
-0.039158642292022705,
-0.0205937922000885,
-0.00447636004537344,
-0.017377914860844612,
0.005894085392355919,
0.015075062401592731,
-0.004983596503734589,
0.025158919394016266,
-0.07304202765226364,
0.07604486495256424,
-0.01833151839673519,
-0.05210331082344055,
0.002184920245781541,
-0.0199749656021595,
-0.04386579245328903,
-0.026315419003367424,
0.05202215164899826,
0.028506679460406303,
0.008075201883912086,
0.013898273929953575,
-0.06809139996767044,
-0.03116459771990776,
-0.013269301503896713,
-0.0014773256843909621,
-0.03232109546661377,
-0.031529806554317474,
-0.012883801944553852,
-0.00009249136201106012,
0.05628293752670288,
0.021303923800587654,
-0.00922662764787674,
-0.004225278273224831,
-0.012680906802415848,
0.011057751253247261,
0.017317047342658043,
-0.026173392310738564,
-0.019244544208049774,
-0.0026097306981682777,
0.007101308088749647,
-0.016718508675694466,
0.008871562778949738,
0.020198149606585503,
-0.08265922218561172,
0.02093871310353279,
0.04991205036640167,
-0.0744217038154602,
0.03148922696709633,
0.03343701735138893,
0.027086418122053146,
0.013228721916675568,
0.008455628529191017,
0.019518451765179634,
0.007344781421124935,
-0.004960770718753338,
-0.01094615925103426,
-0.016830099746584892,
-0.003494858043268323,
-0.03972674533724785,
0.04183684661984444,
-0.008374471217393875,
0.02609223499894142,
0.056445252150297165,
-0.007258551195263863,
-0.020573504269123077,
0.03889487683773041,
0.07860133051872253,
-0.029257388785481453,
0.04337884485721588,
0.06626534461975098,
0.008704174309968948,
0.01064181700348854,
-0.014780865050852299,
0.04248611256480217,
-0.02128363400697708,
-0.03794127330183983,
0.007796221412718296,
-0.0833490639925003,
0.03631811589002609,
-0.04483968764543533,
-0.02684294432401657,
-0.055755410343408585,
0.027492206543684006,
-0.028263205662369728,
-0.0062592956237494946,
0.0008464505663141608,
-0.058514777570962906,
0.032564569264650345,
0.008049840107560158,
0.011169343255460262,
0.04208032041788101,
-0.028770441189408302,
-0.05750030651688576,
0.01375624816864729,
0.01653590239584446,
0.05579598993062973,
-0.03609493374824524,
0.0834302231669426,
-0.013624366372823715,
0.0011793243465945125,
0.0953604206442833,
0.05522788688540459,
-0.041958585381507874,
0.01242728903889656,
-0.014709851704537868,
0.007836800068616867,
0.004440853837877512,
-0.019305413588881493,
0.05948867276310921,
-0.0036039138212800026,
0.012163526378571987,
-0.006837544962763786,
-0.033883385360240936,
0.0714188665151596,
-0.014730141498148441,
-0.00039310811553150415,
0.0213445033878088,
-0.0017575736856088042,
-0.030758807435631752,
-0.004418028052896261,
0.0026427009142935276,
-0.03554711863398552,
0.00021272221056278795,
-0.02615310251712799,
-0.044231005012989044,
-0.07612602412700653,
0.05725683271884918,
0.03329499065876007,
0.06809139996767044,
-0.003025664482265711,
-0.0014494276838377118,
0.008511424995958805,
-0.05482209846377373,
-0.014902601949870586,
-0.009348364546895027,
-0.004164409823715687,
0.015775049105286598,
0.03514133021235466,
0.002122783800587058,
0.006096980068832636,
0.02148652821779251,
0.012376565486192703,
-0.030251571908593178,
-0.04585415869951248,
0.08156359195709229,
0.019538741558790207,
-0.010317185893654823,
0.06687403470277786,
-0.023109685629606247,
0.04897873476147652,
0.055633675307035446,
0.018848899751901627,
-0.011778026819229126,
0.0874069556593895,
-0.01290409080684185,
0.034147147089242935,
0.06882181763648987,
-0.035242777317762375,
-0.019061939790844917,
-0.09503579139709473,
-0.0022508609108626842,
-0.021912606433033943,
-0.04232379421591759,
-0.0187373086810112,
0.004347014706581831,
0.03540509194135666,
0.036825355142354965,
-0.007933175191283226,
0.014699707739055157,
0.04386579245328903,
0.04325710982084274,
0.030860254541039467,
0.02943999320268631,
-0.019193820655345917,
0.02958201989531517,
-0.06326250731945038,
0.008851272985339165,
0.03714998438954353,
0.01811848022043705,
-0.04329768940806389,
-0.033721067011356354,
0.030170414596796036,
0.02958201989531517,
-0.022460423409938812,
0.020289450883865356,
0.027695100754499435,
0.01584606058895588,
-0.037170276045799255,
0.0188691895455122,
0.005980315618216991,
0.027431337162852287,
0.07612602412700653,
-0.001372074126265943,
-0.0853780135512352,
0.029541440308094025,
0.08748811483383179,
-0.00902373343706131,
-0.06938992440700531,
-0.03589203953742981,
-0.014364931732416153,
0.010662106797099113,
-0.04009195417165756,
-0.013908418826758862,
0.0387122742831707,
0.04544837027788162,
-0.08416064083576202,
-0.06837545335292816,
0.030150124803185463,
-0.005691191181540489,
0.028222626075148582,
-0.017266323789954185,
0.039909351617097855,
0.04096440225839615,
0.07133770734071732,
-0.016931546851992607,
-0.04488026723265648,
0.005980315618216991,
0.025098051875829697,
0.04451505467295647,
-0.006903485860675573,
-0.0077759320847690105,
0.03879342973232269,
-0.011564986780285835,
-0.01386784017086029,
-0.01523737795650959,
-0.02635599672794342,
-0.015876496210694313,
0.030779097229242325,
-0.029358835890889168,
-0.00020067534933332354,
0.06857834756374359,
-0.053767044097185135,
-0.05153520777821541,
0.04459621384739876,
-0.009267207235097885,
0.04634110629558563,
-0.03292977809906006,
-0.03686593100428581,
-0.00012031010555801913,
-0.009520824998617172,
0.010225883685052395,
0.04877584055066109,
0.014517102390527725,
-0.013847550377249718,
0.02779654785990715,
0.004524547606706619,
-0.04942510277032852,
0.012234538793563843,
-0.01860542595386505,
0.0022762229200452566,
0.046016477048397064,
0.006467262748628855,
-0.020614081993699074,
-0.06833487004041672,
-0.04350058361887932,
-0.02799944207072258,
-0.0012509714579209685,
0.022318396717309952,
0.023576341569423676,
-0.01283307746052742,
-0.047396156936883926,
0.03169212117791176,
-0.00621364451944828,
0.014993904158473015,
-0.03157038614153862,
-0.008232444524765015,
-0.06265382468700409,
0.021385081112384796,
0.0025513984728604555,
0.04686863347887993,
0.013705524615943432,
0.004194844048470259,
-0.00964256189763546,
0.036277540028095245,
0.02416473627090454,
0.018372097983956337,
0.0546192042529583,
0.02106045000255108,
0.03966587781906128,
0.029216809198260307,
-0.005873796064406633,
0.029257388785481453,
-0.02091842330992222,
-0.013573642820119858,
-0.07409707456827164,
-0.034410908818244934,
-0.026112522929906845,
0.0035227560438215733,
0.06147703900933266,
-0.02696468122303486,
-0.05392936244606972,
-0.05498441308736801,
-0.033173251897096634,
0.03378193452954292,
0.019680768251419067,
0.010469356551766396,
-0.05770320072770119,
-0.06383061408996582,
0.010362837463617325,
0.06176108866930008,
0.0073599983006715775,
-0.09365610778331757,
-0.08018390834331512,
0.027329890057444572,
-0.02011699043214321,
-0.018037322908639908,
0.0253212358802557,
-0.029561730101704597,
0.009267207235097885,
-0.08700116723775864,
-0.022318396717309952,
0.003570943372324109,
0.04934394359588623,
0.019376425072550774,
0.010560659691691399,
-0.023089395835995674,
-0.020360464230179787,
-0.009652706794440746,
0.0055288756266236305,
0.061395879834890366,
-0.018341664224863052,
-0.03999050706624985,
0.013948997482657433,
0.009449811652302742,
0.006325236521661282,
0.05778435617685318,
-0.013380893506109715,
0.06025967001914978,
0.010388199239969254,
-0.04228321462869644,
-0.068943552672863,
0.0021139071322977543,
-0.015135930851101875,
0.09738936275243759,
0.07624775916337967,
-0.011544697917997837,
-0.016586625948548317,
-0.05916403979063034,
0.018148913979530334,
-0.00758318230509758,
-0.0340254083275795,
0.009099818766117096,
0.042648427188396454,
0.0009650170104578137,
0.05421341210603714,
0.010540369898080826,
0.031874727457761765,
-0.02367778867483139,
0.06155819445848465,
0.028364652767777443,
-0.05620177835226059,
0.04634110629558563,
-0.026335706934332848,
-0.008298385888338089,
0.03775866702198982,
0.02629512920975685,
0.010489646345376968,
-0.005878868512809277,
-0.004866932053118944,
0.008364326320588589,
0.006325236521661282,
0.007375215645879507,
-0.005107869394123554,
-0.06732039898633957,
0.041958585381507874,
0.0595698282122612,
-0.027147285640239716,
0.02333286963403225,
-0.02442849986255169,
-0.03581088036298752,
-0.014060589484870434,
-0.03802243247628212,
0.004658965393900871,
0.017590954899787903,
-0.035039883106946945,
-0.07973754405975342,
-0.054659780114889145,
0.019883662462234497,
-0.020208293572068214,
0.018311230465769768,
-0.013877985067665577,
0.04857294633984566,
-0.016018521040678024,
-0.007370143197476864,
0.004407883156090975,
-0.011402671225368977,
0.011818605475127697,
0.05190041661262512,
-0.04329768940806389,
0.010088929906487465,
-0.04565126448869705,
0.0015255131293088198,
0.010449067689478397,
0.04076150804758072,
-0.05875825136899948,
0.02724873274564743,
-0.005239750724285841,
-0.0007158371736295521,
0.06943050026893616,
-0.01826050691306591,
0.017448928207159042,
-0.05794667452573776,
0.04063976928591728,
-0.01908222958445549,
-0.04191800579428673,
0.018828609958291054,
0.012001210823655128,
0.039767324924468994,
-0.004133975598961115,
0.01592721976339817,
0.010520080104470253,
-0.014872168190777302,
-0.004511866718530655,
0.04638168588280678,
-0.017956163734197617,
0.055349621921777725,
0.007801293861120939,
0.062004562467336655,
0.01990395225584507,
-0.01860542595386505,
-0.032909490168094635,
-0.014902601949870586,
0.034005120396614075,
-0.018017033115029335,
-0.0077353534288704395,
-0.007055656518787146,
-0.0174996517598629,
-0.03712969645857811,
0.04776136949658394,
-0.0384485088288784,
0.001221171347424388,
0.004646284505724907,
-0.027329890057444572,
0.04715268313884735,
-0.046503420919179916,
0.01585620641708374,
-0.07458402216434479,
0.024753130972385406,
0.006497696973383427,
-0.0282834954559803,
0.020360464230179787,
-0.045123741030693054,
-0.05608004331588745,
-0.03169212117791176,
-0.06374945491552353,
-0.018443111330270767,
-0.0295211523771286,
0.0421614795923233,
-0.04378463700413704,
0.040923822671175,
-0.044920846819877625,
-0.0011076772352680564,
0.06058430299162865,
-0.02621397189795971,
-0.02538210339844227,
0.009470101445913315,
0.033944252878427505,
-0.00656870985403657,
-0.02483428828418255,
0.05145404860377312,
-0.01023095566779375,
-0.03479640930891037,
0.0013048653490841389,
-0.06338424235582352,
0.027350179851055145,
0.004390129819512367,
0.03286891058087349,
-0.060421984642744064,
0.025990787893533707,
0.05380762368440628,
-0.0005715918960049748,
0.06297845393419266,
-0.05328010022640228,
-0.002881102031096816,
0.003974196035414934,
0.04597589746117592,
-0.002396691357716918,
0.03560798615217209,
-0.03240225464105606,
-0.06338424235582352,
0.04788310453295708,
0.032848622649908066,
-0.032300807535648346,
0.023698078468441963,
-0.055633675307035446,
-0.0695522353053093,
-0.016911257058382034,
-0.003941225819289684,
-0.04240495339035988,
-0.07641007006168365,
-0.008354181423783302,
0.008871562778949738,
0.01845325529575348,
0.03238196298480034,
-0.028161758556962013,
0.024793708696961403,
0.011950486339628696,
0.06447987258434296,
-0.013847550377249718,
-0.0864330604672432,
0.029561730101704597,
-0.05417283624410629,
0.002046698471531272,
0.016180837526917458,
-0.005295546725392342,
-0.061314720660448074,
-0.016241705045104027,
-0.030413886532187462,
0.02024887315928936,
0.021932896226644516,
0.0071520316414535046,
0.037515196949243546,
0.02883131057024002,
-0.016830099746584892,
0.009815022349357605
]
|
29,334 | quart.app | app_context | Create and return an app context.
This is best used within a context, i.e.
.. code-block:: python
async with app.app_context():
...
| def app_context(self) -> AppContext:
"""Create and return an app context.
This is best used within a context, i.e.
.. code-block:: python
async with app.app_context():
...
"""
return AppContext(self)
| (self) -> quart.ctx.AppContext | [
0.020899636670947075,
-0.07134134322404861,
-0.01773441582918167,
-0.04312041029334068,
0.07787362486124039,
-0.0151838893070817,
0.01957850158214569,
0.025725452229380608,
0.028954897075891495,
-0.03594590723514557,
0.019633548334240913,
-0.045872777700424194,
0.02633097395300865,
0.04723060876131058,
0.02416577935218811,
-0.008614907041192055,
0.0159270279109478,
-0.03014758788049221,
0.044661734253168106,
-0.029817303642630577,
0.021945536136627197,
0.023450162261724472,
-0.020147323608398438,
-0.03055126965045929,
-0.006848805584013462,
0.047891177237033844,
-0.02550526335835457,
0.004013868048787117,
0.0318540558218956,
-0.02578050084412098,
0.011293877847492695,
-0.042276348918676376,
0.04532230272889137,
0.006087317597121,
0.016679340973496437,
-0.04631315544247627,
-0.018569299951195717,
0.015073793940246105,
-0.027468618005514145,
-0.06345122307538986,
0.0015860511921346188,
-0.010137883946299553,
-0.019064726307988167,
0.02132166549563408,
-0.004266167990863323,
-0.011715906672179699,
0.01333980355411768,
-0.025945642963051796,
0.033230237662792206,
0.017661018297076225,
0.03123018518090248,
-0.02618418075144291,
-0.003305133432149887,
0.05574459582567215,
-0.01502792164683342,
0.0725523829460144,
-0.031340282410383224,
0.004117081873118877,
0.00902317464351654,
0.016771087422966957,
-0.004977195989340544,
0.012119587510824203,
0.048258159309625626,
-0.0016456858720630407,
0.005435924045741558,
0.04653334245085716,
-0.041285499930381775,
0.035652320832014084,
-0.0011691823601722717,
0.01606464572250843,
0.0013979728100821376,
-0.007871768437325954,
0.004490944556891918,
0.027376873418688774,
0.021119825541973114,
-0.0536528006196022,
-0.05097382888197899,
0.008825922384858131,
0.021982233971357346,
0.04535900056362152,
0.002431257162243128,
-0.008445178158581257,
-0.020752843469381332,
0.015945376828312874,
0.0497627891600132,
0.009532363153994083,
-0.01115625910460949,
-0.02209232933819294,
-0.0536528006196022,
0.04139559343457222,
-0.005091878119856119,
0.06301084160804749,
-0.017807811498641968,
0.012789330445230007,
0.025835547596216202,
-0.049652691930532455,
-0.01736743375658989,
0.011027815751731396,
-0.035652320832014084,
0.034312836825847626,
-0.024514412507414818,
0.07060737907886505,
-0.002090651774778962,
-0.0002236297877971083,
0.015000397339463234,
-0.0328449085354805,
-0.006890091113746166,
-0.01732156053185463,
0.09247951954603195,
-0.03513854742050171,
-0.016165565699338913,
-0.033358681946992874,
-0.026294276118278503,
0.036606475710868835,
-0.07060737907886505,
0.02066109888255596,
0.009853472001850605,
0.02978060580790043,
0.048294857144355774,
-0.015468300320208073,
-0.02866131067276001,
-0.0026720892637968063,
0.002481717150658369,
-0.0193950105458498,
0.04513881355524063,
0.021706998348236084,
0.00828003603965044,
-0.04080842062830925,
-0.011275527998805046,
-0.032863255590200424,
0.0377991683781147,
0.022440962493419647,
0.02623922750353813,
-0.05706573277711868,
0.019193168729543686,
0.02902829274535179,
0.05339591205120087,
0.029762256890535355,
0.004523055627942085,
0.10084670782089233,
-0.0777268335223198,
0.04036804288625717,
-0.04253323748707771,
0.010293850675225258,
0.012670060619711876,
-0.008289210498332977,
-0.0775800421833992,
0.016670167446136475,
0.044661734253168106,
0.023945588618516922,
0.08785554021596909,
0.008422241546213627,
0.0527353435754776,
0.08044250309467316,
-0.026294276118278503,
0.0218721404671669,
0.015312332659959793,
-0.013266406953334808,
0.08271779119968414,
-0.07581852376461029,
-0.0043280962854623795,
0.01149571780115366,
0.013963673263788223,
-0.011587463319301605,
0.01674356311559677,
0.03864322602748871,
-0.024863043799996376,
-0.015303158201277256,
-0.015128841623663902,
-0.016899529844522476,
-0.027193382382392883,
-0.005844191648066044,
-0.007908466272056103,
-0.03378071263432503,
-0.006101079285144806,
0.05530421808362007,
-0.008821334689855576,
0.03724869340658188,
0.021248269826173782,
0.02460615709424019,
-0.009780076332390308,
-0.015376554802060127,
-0.04279012605547905,
0.021725347265601158,
0.02633097395300865,
0.04601956903934479,
0.0018956924322992563,
0.08235080540180206,
0.05269864574074745,
0.0030941187869757414,
-0.055707897990942,
-0.01656007207930088,
0.03697345778346062,
-0.023560257628560066,
-0.02568875439465046,
0.023743748664855957,
-0.05361609905958176,
-0.0026606209576129913,
-0.02456945925951004,
-0.017477527260780334,
-0.029615463688969612,
0.011587463319301605,
0.00861949473619461,
-0.0036721157375723124,
0.04113870486617088,
0.03768907114863396,
0.005247845780104399,
0.028459470719099045,
-0.0797085389494896,
-0.006413014139980078,
-0.04301031306385994,
-0.007711213547736406,
-0.0032248562201857567,
0.046276457607746124,
0.020037228241562843,
0.028863150626420975,
0.01516553945839405,
-0.002844112226739526,
-0.008504812605679035,
0.04014785215258598,
0.05211147293448448,
-0.007605706341564655,
-0.01880783773958683,
-0.02156020514667034,
0.02429422177374363,
-0.015385729260742664,
0.021523507311940193,
-0.053249116986989975,
-0.034312836825847626,
-0.005665287841111422,
-0.025945642963051796,
0.010926894843578339,
0.033542174845933914,
-0.013881102204322815,
-0.032055895775556564,
-0.058790549635887146,
0.017211465165019035,
0.039487287402153015,
-0.05405648052692413,
-0.045102111995220184,
0.04135889559984207,
0.03845973685383797,
0.023321719840168953,
-0.004720308817923069,
-0.01809222251176834,
0.0009707826538942754,
0.008954365737736225,
-0.008463527075946331,
0.03823954612016678,
0.024863043799996376,
-0.04062493145465851,
-0.037725772708654404,
-0.008605732582509518,
-0.006013920996338129,
-0.044845227152109146,
-0.0283860731869936,
-0.013963673263788223,
0.03675326704978943,
-0.012862726114690304,
0.011780128814280033,
0.057616207748651505,
0.025028185918927193,
-0.022789595648646355,
0.08528666198253632,
-0.03189075365662575,
-0.008330496028065681,
0.014771034009754658,
-0.04121210053563118,
-0.04719391092658043,
0.006729536224156618,
0.14011380076408386,
0.055634502321481705,
0.03488165885210037,
0.013174661435186863,
-0.028184233233332634,
-0.05846026539802551,
-0.05530421808362007,
0.04693702608346939,
-0.11090202629566193,
0.0030620077159255743,
0.030808156356215477,
-0.03176230937242508,
0.03418439254164696,
0.05346930772066116,
-0.0015275634359568357,
-0.060001589357852936,
0.0030482460279017687,
0.04616636037826538,
0.014349004253745079,
-0.031432025134563446,
-0.0073992786929011345,
0.02339511550962925,
0.006390077527612448,
0.021743696182966232,
0.024679552763700485,
-0.007050645537674427,
-0.044845227152109146,
0.03678996488451958,
-0.02875305525958538,
-0.004385437350720167,
0.06524943560361862,
0.0323861800134182,
-0.016128867864608765,
0.05247845500707626,
0.06227688118815422,
0.058386869728565216,
-0.015303158201277256,
0.002656033728271723,
0.0010722761508077383,
-0.007871768437325954,
-0.05090043321251869,
0.0029198022093623877,
0.03992766514420509,
0.01149571780115366,
-0.056038182228803635,
0.030312729999423027,
-0.0076469918712973595,
-0.0418359711766243,
0.002119322307407856,
0.020624401047825813,
-0.06176310405135155,
-0.0061056665144860744,
0.03820284828543663,
0.0030964124016463757,
-0.0028785166796296835,
0.03262471780180931,
0.035211943089962006,
-0.009660806506872177,
0.009844297543168068,
0.0024656616151332855,
-0.04117540270090103,
0.027119984850287437,
-0.0124406972900033,
-0.02286299131810665,
-0.06932293623685837,
-0.015560045838356018,
0.02308318018913269,
0.002188131446018815,
-0.009431443177163601,
-0.07589191943407059,
0.04594617336988449,
-0.0233584176748991,
-0.0069405511021614075,
0.018147271126508713,
-0.034808263182640076,
-0.03996436297893524,
0.011394797824323177,
-0.03845973685383797,
0.014101291075348854,
-0.04319380596280098,
0.011293877847492695,
-0.030661363154649734,
-0.016679340973496437,
0.007610293570905924,
0.009908519685268402,
-0.03163386508822441,
-0.02633097395300865,
0.01412881538271904,
-0.000927203509490937,
-0.01329393032938242,
-0.024422666057944298,
0.021615251898765564,
0.005481796804815531,
0.030624665319919586,
-0.027615411207079887,
0.026973191648721695,
0.00805067177861929,
0.014780208468437195,
-0.03266141563653946,
-0.018101397901773453,
-0.0020344576332718134,
-0.03478991240262985,
0.0333036370575428,
0.03776247054338455,
0.015963725745677948,
-0.023340068757534027,
-0.06602010130882263,
-0.0169178806245327,
-0.09614934027194977,
0.10598446428775787,
-0.006183650344610214,
0.04301031306385994,
0.05438676476478577,
-0.0011170021025463939,
0.004885450471192598,
-0.060772255063056946,
-0.038312941789627075,
-0.023596955463290215,
-0.03374401479959488,
0.02627592533826828,
-0.02596399188041687,
-0.03359721973538399,
-0.06003829091787338,
0.012422347441315651,
0.008183702826499939,
-0.045248907059431076,
-0.06943303346633911,
0.013312279246747494,
0.04301031306385994,
-0.015110492706298828,
0.06961652636528015,
0.0033005462028086185,
0.11479203402996063,
-0.06319433450698853,
0.008513987064361572,
0.03967077657580376,
0.023725399747490883,
-0.03398255258798599,
0.01773441582918167,
0.013495770283043385,
-0.061175934970378876,
-0.03653308004140854,
-0.05530421808362007,
-0.032110944390296936,
0.014147164300084114,
-0.0756717324256897,
0.05321241915225983,
0.026697956025600433,
0.03001914545893669,
0.028312677517533302,
0.013624214567244053,
0.02794569544494152,
0.056184977293014526,
0.030312729999423027,
-0.01250491850078106,
0.010018614120781422,
0.010725054889917374,
0.028110837563872337,
-0.028899848461151123,
-0.04279012605547905,
-0.03077145852148533,
0.010321374982595444,
-0.03823954612016678,
0.0032432053703814745,
-0.012413172982633114,
-0.02475295029580593,
0.013688436709344387,
-0.03600095584988594,
-0.019174819812178612,
0.05134081095457077,
-0.014881128445267677,
-0.024018986150622368,
0.05515742674469948,
-0.005344178527593613,
0.02100973203778267,
-0.05611158162355423,
-0.08124986290931702,
0.0193950105458498,
0.05409317836165428,
-0.036331240087747574,
0.027872297912836075,
0.02150515653192997,
0.0012420053826645017,
0.009614934213459492,
-0.0547170490026474,
-0.019872086122632027,
-0.047634292393922806,
0.0021135881543159485,
-0.03563397377729416,
0.036826666444540024,
-0.015275634825229645,
-0.009133270010352135,
-0.00901858787983656,
-0.05636846646666527,
0.0293769259005785,
0.004775356035679579,
0.024918092414736748,
-0.016275661066174507,
-0.06638707965612411,
-0.017073847353458405,
-0.0028005330823361874,
-0.020275767892599106,
0.03517524525523186,
-0.03671656921505928,
0.014046244323253632,
0.008211227133870125,
-0.02466120384633541,
-0.034844961017370224,
0.01853260211646557,
-0.02330337092280388,
-0.01759679615497589,
0.018725266680121422,
-0.004344151820987463,
0.08124986290931702,
-0.03690006211400032,
-0.02029411680996418,
0.046056266874074936,
-0.048074670135974884,
0.03433118388056755,
-0.055817995220422745,
-0.028312677517533302,
0.06524943560361862,
0.01803717575967312,
-0.02100973203778267,
0.005720335058867931,
-0.012358126230537891,
0.023285022005438805,
0.03801935538649559,
-0.000030121927920845337,
-0.01115625910460949,
0.0151838893070817,
-0.006495585199445486,
0.03743218630552292,
-0.008541511371731758,
0.04440484568476677,
-0.04730400815606117,
-0.07846079766750336,
-0.05886394530534744,
-0.030092541128396988,
-0.02677135169506073,
-0.02893654629588127,
0.007908466272056103,
0.01078010257333517,
-0.0576896034181118,
0.04792787507176399,
-0.014303131960332394,
-0.07471758127212524,
-0.004142311867326498,
0.05512072890996933,
0.000696119386702776,
-0.021229920908808708,
-0.009302998892962933,
0.09570895880460739,
0.005605653394013643,
0.010303025133907795,
-0.02754201553761959,
0.09247951954603195,
0.049872882664203644,
-0.00819287821650505,
0.052074775099754333,
-0.010110359638929367,
-0.01849590241909027,
0.038716621696949005,
-0.011578288860619068,
0.0027408984024077654,
0.007247898727655411,
-0.0697266161441803,
-0.045102111995220184,
0.016211438924074173,
0.01340402476489544,
0.026386020705103874,
0.010862673632800579,
0.021358365193009377,
0.0009100012248381972,
-0.06928624212741852,
-0.03447797894477844,
-0.027413571253418922,
0.01908307522535324,
-0.008041497319936752,
-0.022789595648646355,
0.0057524461299180984,
-0.0193950105458498,
0.014000371098518372,
0.016633467748761177,
-0.05908413603901863,
-0.02519332803785801,
0.002433550776913762,
0.03656977787613869,
0.0065965051762759686,
-0.015257284976541996,
-0.01575271040201187,
0.038092754781246185,
-0.06679075956344604,
-0.030092541128396988,
0.02875305525958538,
0.0438176766037941,
-0.021945536136627197,
0.0030551268719136715,
-0.05357940122485161,
-0.027505315840244293,
0.005532256793230772,
-0.06546962261199951,
0.08117646723985672,
0.004263874609023333,
-0.048037972301244736,
0.04590947553515434,
-0.026697956025600433,
0.05156100168824196,
0.031927451491355896,
-0.04712051525712013,
-0.045285604894161224,
-0.000008045654794841539,
-0.009981916286051273,
-0.03334033489227295,
-0.04913891851902008,
-0.0656164214015007,
0.0179454293102026,
0.05431336537003517,
0.0646255686879158,
0.008046085014939308,
-0.031560469418764114,
-0.014367353171110153,
0.05214817076921463,
-0.03860652819275856,
0.04723060876131058,
0.0008853445760905743,
-0.07589191943407059,
-0.0293769259005785,
0.02425752393901348,
-0.015000397339463234,
0.0039978125132620335,
0.1015072762966156,
-0.021927187219262123,
-0.023817146196961403,
0.021982233971357346,
0.016660992056131363,
-0.027340173721313477,
-0.01569766364991665,
-0.07713966071605682,
0.024844694882631302,
-0.04025794938206673,
-0.03827624395489693,
0.024679552763700485,
0.011330575682222843,
-0.007027709390968084,
0.0011473927879706025,
-0.07912136614322662,
0.028184233233332634,
0.013697611168026924,
-0.030386127531528473,
0.011991143226623535,
-0.010954419150948524,
0.007844245061278343,
-0.002305106958374381,
0.01536738034337759,
0.015596743673086166,
0.06323103606700897,
-0.05790979415178299,
-0.09534198045730591,
-0.013982022181153297,
0.03537708520889282,
-0.006353379692882299,
0.005481796804815531,
-0.07002020627260208,
0.12315922975540161,
-0.018028000369668007,
0.008702065795660019,
0.0000723213015589863,
0.022257471457123756,
0.00435332627967,
0.0008864913834258914,
-0.0428268238902092,
-0.05306562781333923,
-0.02321162447333336,
0.036459680646657944,
-0.012899424880743027,
-0.01839498244225979,
-0.04121210053563118,
0.03157882019877434,
-0.021670298650860786,
-0.0035666082985699177,
0.008871794678270817,
-0.008825922384858131,
0.003002373268827796,
-0.035432133823633194,
0.013486595824360847,
-0.023835495114326477,
-0.012605838477611542,
0.007995625026524067,
-0.01656007207930088,
-0.005362527444958687,
0.013394850306212902,
-0.04851504787802696,
0.02280794456601143,
0.014202211052179337,
0.04033134505152702,
0.010339723899960518,
-0.016459152102470398,
0.04616636037826538,
0.02196388505399227,
0.07603871077299118,
0.06491915136575699,
-0.007821308448910713,
0.010165407322347164,
0.01849590241909027,
0.010229629464447498,
-0.04979948699474335,
-0.011752605438232422,
0.024936441332101822,
-0.004316628444939852,
-0.04730400815606117,
0.011312226764857769,
0.002326896646991372,
-0.010092010721564293,
-0.03904690593481064,
-0.005463447421789169,
0.02429422177374363,
-0.010110359638929367,
0.033450428396463394,
-0.07581852376461029,
-0.04172587767243385,
0.012826028279960155,
-0.01952345296740532,
0.06337782740592957,
-0.014615066349506378,
-0.024184128269553185,
-0.06583660840988159,
-0.07515795528888702,
0.015156364999711514,
0.00922501552850008,
0.022661151364445686,
-0.019780341535806656,
0.04517551138997078,
-0.051854584366083145,
-0.0018716092454269528,
0.01902802847325802,
0.04040474072098732,
-0.013936148956418037,
-0.04517551138997078,
0.027560364454984665,
0.005738684441894293,
0.006124015431851149,
0.0268997959792614,
0.001451873336918652,
0.022110678255558014,
-0.027597062289714813,
-0.025266725569963455,
-0.004330390132963657,
-0.01167920883744955,
-0.02556031011044979,
-0.048661839216947556,
0.019817039370536804,
0.001579170348122716,
-0.06579990684986115,
0.03735879063606262,
-0.00904152449220419,
-0.03392750397324562,
-0.010504866018891335,
0.04161578416824341,
0.009385569952428341,
0.014972873963415623,
-0.05857035890221596,
-0.034661468118429184,
0.08411232382059097,
0.06451547145843506,
0.012853551656007767,
0.010926894843578339,
-0.014725160785019398,
-0.03456972539424896,
-0.05956121161580086,
0.03823954612016678,
0.030698060989379883,
-0.05552440881729126,
0.012110413052141666,
0.015826107934117317,
0.009165381081402302,
0.0233584176748991,
-0.027743855491280556,
-0.00672494899481535,
0.021982233971357346,
0.027743855491280556,
0.07049728184938431,
-0.00828003603965044,
0.048441652208566666,
-0.011706732213497162,
0.03275316208600998,
0.024532761424779892,
-0.05321241915225983,
-0.034844961017370224,
0.0037340440321713686,
-0.017358258366584778,
-0.00014098710380494595,
0.012514092959463596,
-0.005546018481254578,
0.03945058584213257,
-0.0020229893270879984,
0.04561588913202286,
0.07816720753908157
]
|
29,335 | quart.app | asgi_app | This handles ASGI calls, it can be wrapped in middleware.
When using middleware with Quart it is preferable to wrap this
method rather than the app itself. This is to ensure that the
app is an instance of this class - which allows the quart cli
to work correctly. To use this feature simply do,
.. code-block:: python
app.asgi_app = middleware(app.asgi_app)
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, scope: Union[hypercorn.typing.HTTPScope, hypercorn.typing.WebsocketScope, hypercorn.typing.LifespanScope], receive: Callable[[], Awaitable[Union[hypercorn.typing.HTTPRequestEvent, hypercorn.typing.HTTPDisconnectEvent, hypercorn.typing.WebsocketConnectEvent, hypercorn.typing.WebsocketReceiveEvent, hypercorn.typing.WebsocketDisconnectEvent, hypercorn.typing.LifespanStartupEvent, hypercorn.typing.LifespanShutdownEvent]]], send: Callable[[Union[hypercorn.typing.HTTPResponseStartEvent, hypercorn.typing.HTTPResponseBodyEvent, hypercorn.typing.HTTPServerPushEvent, hypercorn.typing.HTTPEarlyHintEvent, hypercorn.typing.HTTPDisconnectEvent, hypercorn.typing.WebsocketAcceptEvent, hypercorn.typing.WebsocketSendEvent, hypercorn.typing.WebsocketResponseStartEvent, hypercorn.typing.WebsocketResponseBodyEvent, hypercorn.typing.WebsocketCloseEvent, hypercorn.typing.LifespanStartupCompleteEvent, hypercorn.typing.LifespanStartupFailedEvent, hypercorn.typing.LifespanShutdownCompleteEvent, hypercorn.typing.LifespanShutdownFailedEvent]], Awaitable[NoneType]]) -> NoneType | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,338 | quart.app | before_serving | Add a before serving function.
This will allow the function provided to be called once before
anything is served (before any byte is received).
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.before_serving
async def func():
...
Arguments:
func: The function itself.
| from __future__ import annotations
import asyncio
import os
import signal
import sys
import warnings
from collections import defaultdict
from datetime import timedelta
from inspect import isasyncgen, isgenerator
from types import TracebackType
from typing import (
Any,
AnyStr,
AsyncGenerator,
Awaitable,
Callable,
cast,
Coroutine,
NoReturn,
Optional,
overload,
TypeVar,
Union,
)
from urllib.parse import quote
from weakref import WeakSet
from aiofiles import open as async_open
from aiofiles.base import AiofilesContextManager
from aiofiles.threadpool.binary import AsyncBufferedReader
from flask.sansio.app import App
from flask.sansio.scaffold import setupmethod
from hypercorn.asyncio import serve
from hypercorn.config import Config as HyperConfig
from hypercorn.typing import ASGIReceiveCallable, ASGISendCallable, Scope
from werkzeug.datastructures import Authorization, Headers, ImmutableDict
from werkzeug.exceptions import Aborter, BadRequestKeyError, HTTPException, InternalServerError
from werkzeug.routing import BuildError, MapAdapter, RoutingException
from werkzeug.wrappers import Response as WerkzeugResponse
from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
has_request_context,
has_websocket_context,
RequestContext,
WebsocketContext,
)
from .globals import (
_cv_app,
_cv_request,
_cv_websocket,
g,
request,
request_ctx,
session,
websocket,
websocket_ctx,
)
from .helpers import get_debug_flag, get_flashed_messages, send_from_directory
from .routing import QuartMap, QuartRule
from .sessions import SecureCookieSessionInterface
from .signals import (
appcontext_tearing_down,
got_background_exception,
got_request_exception,
got_serving_exception,
got_websocket_exception,
request_finished,
request_started,
request_tearing_down,
websocket_finished,
websocket_started,
websocket_tearing_down,
)
from .templating import _default_template_ctx_processor, Environment
from .testing import (
make_test_body_with_headers,
make_test_headers_path_and_query_string,
make_test_scope,
no_op_push,
QuartClient,
QuartCliRunner,
sentinel,
TestApp,
)
from .typing import (
AfterServingCallable,
AfterWebsocketCallable,
ASGIHTTPProtocol,
ASGILifespanProtocol,
ASGIWebsocketProtocol,
BeforeServingCallable,
BeforeWebsocketCallable,
Event,
FilePath,
HeadersValue,
ResponseReturnValue,
ResponseTypes,
ShellContextProcessorCallable,
StatusCode,
TeardownCallable,
TemplateFilterCallable,
TemplateGlobalCallable,
TemplateTestCallable,
TestAppProtocol,
TestClientProtocol,
WebsocketCallable,
WhileServingCallable,
)
from .utils import (
cancel_tasks,
file_path_to_path,
MustReloadError,
observe_changes,
restart,
run_sync,
)
from .wrappers import BaseRequestWebsocket, Request, Response, Websocket
try:
from typing import ParamSpec
except ImportError:
from typing_extensions import ParamSpec # type: ignore
AppOrBlueprintKey = Optional[str] # The App key is None, whereas blueprints are named
T_after_serving = TypeVar("T_after_serving", bound=AfterServingCallable)
T_after_websocket = TypeVar("T_after_websocket", bound=AfterWebsocketCallable)
T_before_serving = TypeVar("T_before_serving", bound=BeforeServingCallable)
T_before_websocket = TypeVar("T_before_websocket", bound=BeforeWebsocketCallable)
T_shell_context_processor = TypeVar(
"T_shell_context_processor", bound=ShellContextProcessorCallable
)
T_teardown = TypeVar("T_teardown", bound=TeardownCallable)
T_template_filter = TypeVar("T_template_filter", bound=TemplateFilterCallable)
T_template_global = TypeVar("T_template_global", bound=TemplateGlobalCallable)
T_template_test = TypeVar("T_template_test", bound=TemplateTestCallable)
T_websocket = TypeVar("T_websocket", bound=WebsocketCallable)
T_while_serving = TypeVar("T_while_serving", bound=WhileServingCallable)
T = TypeVar("T")
P = ParamSpec("P")
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, func: ~T_before_serving) -> ~T_before_serving | [
0.020360231399536133,
-0.04808545112609863,
-0.10071568936109543,
-0.04035525768995285,
0.0341467559337616,
0.025300657376646996,
-0.036926381289958954,
0.024976029992103577,
-0.07255425304174423,
-0.03650030493736267,
0.039442241191864014,
0.009388836100697517,
0.005079913418740034,
0.032746799290180206,
0.02578759752213955,
0.033862706273794174,
0.054740313440561295,
-0.008227278478443623,
0.04053786024451256,
-0.08708132803440094,
-0.00934318546205759,
0.022176116704940796,
-0.004567610565572977,
-0.023515205830335617,
-0.0309816375374794,
0.001273782574571669,
-0.06508781760931015,
-0.011280805803835392,
0.015571976080536842,
-0.03954368829727173,
0.021181944757699966,
-0.043987028300762177,
0.0442710779607296,
0.012102519161999226,
0.057012706995010376,
-0.007167167030274868,
-0.022581901401281357,
-0.015450241044163704,
-0.049749165773391724,
-0.03574960678815842,
0.003444095142185688,
-0.03363952785730362,
-0.006989635992795229,
0.0005040602991357446,
0.007689614314585924,
0.03794084116816521,
-0.03702782467007637,
0.07101226598024368,
0.027167264372110367,
0.04593479260802269,
-0.00844031572341919,
0.006725876126438379,
-0.0012687102425843477,
0.07511068880558014,
0.020634137094020844,
0.08083225041627884,
-0.023210866376757622,
0.0356481596827507,
-0.005741849076002836,
-0.03966542333364487,
-0.0062186457216739655,
0.05749964714050293,
0.031874362379312515,
0.02280508354306221,
0.02233843132853508,
-0.03355836868286133,
-0.030129490420222282,
0.03351778909564018,
-0.007567878812551498,
-0.019447216764092445,
0.018635647371411324,
-0.010519959963858128,
-0.020248640328645706,
0.018361743539571762,
0.05047957971692085,
-0.03550613299012184,
0.013715512119233608,
-0.029094740748405457,
-0.026010779663920403,
0.013248860836029053,
0.05823006108403206,
-0.006101982668042183,
-0.0239412784576416,
0.014983588829636574,
0.10461121797561646,
0.01993415877223015,
0.03290911391377449,
-0.00987070519477129,
-0.10428658872842789,
-0.026010779663920403,
-0.05250849947333336,
0.027613628655672073,
0.009459848515689373,
0.005079913418740034,
0.014283610507845879,
-0.0489375963807106,
-0.03138742223381996,
-0.033071428537368774,
-0.0145879490301013,
-0.06533128768205643,
-0.00867871381342411,
0.06727905571460724,
-0.027004951611161232,
-0.00734469760209322,
0.02526007778942585,
0.0007380203460343182,
0.006289658136665821,
0.01886897347867489,
0.0013378204312175512,
-0.03146858140826225,
-0.00841495394706726,
0.0039919037371873856,
-0.0028506354428827763,
-0.007258468307554722,
-0.03826546669006348,
0.006107055116444826,
-0.00878015998750925,
0.002680713078007102,
0.049830324947834015,
-0.03994947299361229,
-0.03118452988564968,
0.008242495357990265,
-0.006761382333934307,
-0.030352672562003136,
0.03848864883184433,
0.08367273956537247,
0.009125076234340668,
0.0013593777548521757,
-0.01489228755235672,
-0.01762118749320507,
-0.03349750116467476,
0.04625942185521126,
0.016931353136897087,
0.06679210811853409,
-0.0014861853560432792,
0.04621884226799011,
-0.0432160384953022,
0.013208282180130482,
-0.00987070519477129,
0.04747677221894264,
-0.004920135717839003,
-0.008059892803430557,
-0.03071787767112255,
-0.033213451504707336,
0.017002366483211517,
0.0035024264361709356,
-0.04423049837350845,
-0.0521027147769928,
-0.023819543421268463,
-0.012731485068798065,
0.03404530882835388,
-0.009180871769785881,
-0.06423567235469818,
0.06245021894574165,
-0.01993415877223015,
0.030271515250205994,
-0.022825371474027634,
0.03808286413550377,
-0.020664570853114128,
-0.05449684336781502,
-0.07632804661989212,
-0.05591708794236183,
0.019376205280423164,
-0.0797366350889206,
-0.009561294689774513,
0.02227756381034851,
0.005224474240094423,
0.03144828975200653,
0.036662619560956955,
0.06967318058013916,
-0.017935670912265778,
0.05486204847693443,
-0.0296628400683403,
-0.021060209721326828,
0.036540884524583817,
0.011037335731089115,
0.0005804618704132736,
-0.017854513600468636,
-0.03215841203927994,
-0.04021323472261429,
-0.01709366776049137,
-0.07612515240907669,
-0.03650030493736267,
-0.000948521017562598,
0.005736776627600193,
0.05267081409692764,
-0.007993952371180058,
0.028222303837537766,
0.0593256801366806,
-0.023677518591284752,
-0.07835696637630463,
0.023515205830335617,
0.07105284929275513,
0.01636325567960739,
0.01741829514503479,
0.019721120595932007,
0.0017702344339340925,
0.019771844148635864,
0.013045968487858772,
-0.059406835585832596,
-0.03936108574271202,
0.0296628400683403,
0.010692418552935123,
-0.060461875051259995,
-0.03783939406275749,
-0.022176116704940796,
0.020857317373156548,
-0.0009149169782176614,
-0.0043013147078454494,
-0.0032944621052592993,
-0.04155232012271881,
-0.004210012964904308,
0.034268490970134735,
0.0090439198538661,
0.06374872475862503,
-0.04053786024451256,
0.015176336281001568,
0.022886238992214203,
0.03773794695734978,
0.013989416882395744,
0.06253137439489365,
0.04041612520813942,
-0.0296628400683403,
-0.0063150194473564625,
-0.008531617000699043,
-0.0038067647255957127,
0.00413900101557374,
0.022034091874957085,
-0.011321384459733963,
0.006695442367345095,
0.0135329095646739,
0.03311200812458992,
0.04565074294805527,
0.026903504505753517,
0.005391859915107489,
-0.0006885653710924089,
0.0012015022803097963,
0.03889443352818489,
-0.00900334119796753,
-0.013685078360140324,
0.002172214677557349,
-0.010088814422488213,
0.010007658042013645,
-0.03808286413550377,
0.007121515925973654,
0.003160045947879553,
0.027086108922958374,
0.0017372644506394863,
-0.004212549421936274,
0.008328724652528763,
-0.0045473212376236916,
-0.03826546669006348,
-0.034532252699136734,
-0.036865513771772385,
-0.03915819525718689,
-0.020593557506799698,
-0.004499134607613087,
-0.01741829514503479,
0.005873729009181261,
0.015085035003721714,
-0.0049657863564789295,
0.025178922340273857,
-0.07304119318723679,
0.07612515240907669,
-0.018361743539571762,
-0.0521027147769928,
0.0022140610963106155,
-0.02001531608402729,
-0.04386529326438904,
-0.02631511725485325,
0.052021559327840805,
0.028506353497505188,
0.008105543442070484,
0.013908260501921177,
-0.06809061765670776,
-0.03118452988564968,
-0.013269149698317051,
-0.0014988661278039217,
-0.03232072666287422,
-0.03152944892644882,
-0.01286336500197649,
-0.00012181456986581907,
0.056282296776771545,
0.02128339186310768,
-0.009201161563396454,
-0.00420747697353363,
-0.012680762447416782,
0.011047479696571827,
0.017326993867754936,
-0.02619338221848011,
-0.01922403648495674,
-0.0026046286802738905,
0.007141805253922939,
-0.016718316823244095,
0.008846099488437176,
0.020228352397680283,
-0.08265828341245651,
0.020958764478564262,
0.04991148039698601,
-0.07442085444927216,
0.031488869339227676,
0.033416345715522766,
0.027086108922958374,
0.013248860836029053,
0.008501183241605759,
0.019518230110406876,
0.007359914481639862,
-0.004948033485561609,
-0.010956178419291973,
-0.01675889454782009,
-0.003489745780825615,
-0.03976687043905258,
0.041836369782686234,
-0.008364230394363403,
0.026091936975717545,
0.05636345222592354,
-0.007253395859152079,
-0.0205529797822237,
0.0388132780790329,
0.07851927727460861,
-0.029216475784778595,
0.043378353118896484,
0.06622401624917984,
0.008719292469322681,
0.01064169593155384,
-0.014760407619178295,
0.04252620413899422,
-0.021303679794073105,
-0.03792055323719978,
0.007821493782103062,
-0.08342926949262619,
0.036277126520872116,
-0.0447985976934433,
-0.02678176946938038,
-0.05563304200768471,
0.027491891756653786,
-0.02826288342475891,
-0.006264296360313892,
0.0008470749016851187,
-0.05851411074399948,
0.032543908804655075,
0.008029459044337273,
0.01110834814608097,
0.04207983985543251,
-0.02870924584567547,
-0.05749964714050293,
0.01379666943103075,
0.0165458582341671,
0.05579535290598869,
-0.03609452024102211,
0.08342926949262619,
-0.013664789497852325,
0.0011666301870718598,
0.09535933285951614,
0.05522725731134415,
-0.04199868440628052,
0.012406857684254646,
-0.014709684066474438,
0.00784685555845499,
0.004468700848519802,
-0.019315337762236595,
0.05948799103498459,
-0.0036013363860547543,
0.012203965336084366,
-0.006872972939163446,
-0.033862706273794174,
0.07141805440187454,
-0.01472997386008501,
-0.00038644621963612735,
0.02134425938129425,
-0.0017207794589921832,
-0.030738167464733124,
-0.0044509475119411945,
0.002583071356639266,
-0.03556700050830841,
0.00017927426961250603,
-0.02619338221848011,
-0.04423049837350845,
-0.07612515240907669,
0.05725617706775665,
0.03329461067914963,
0.06813120096921921,
-0.0030230937991291285,
-0.0014506791485473514,
0.008501183241605759,
-0.054821472615003586,
-0.014902431517839432,
-0.009388836100697517,
-0.004154217895120382,
0.015795158222317696,
0.035140927881002426,
0.0021455849055200815,
0.006086765788495541,
0.021506572142243385,
0.012386568821966648,
-0.03025122731924057,
-0.0458536371588707,
0.08156266063451767,
0.019589241594076157,
-0.010286634787917137,
0.06687326729297638,
-0.023048553615808487,
0.04901875555515289,
0.055673617869615555,
0.01886897347867489,
-0.011727169156074524,
0.08740595728158951,
-0.012873509898781776,
0.03416704759001732,
0.06882103532552719,
-0.03524237498641014,
-0.019061721861362457,
-0.09503470361232758,
-0.002243226859718561,
-0.021912356838583946,
-0.04236388951539993,
-0.01875738427042961,
0.004341892898082733,
0.03542497754096985,
0.036804646253585815,
-0.007963518612086773,
0.014699540100991726,
0.043905872851610184,
0.043256618082523346,
0.030799034982919693,
0.029480235651135445,
-0.01915302313864231,
0.029601970687508583,
-0.06326178461313248,
0.008856244385242462,
0.03708869218826294,
0.018118273466825485,
-0.04329719394445419,
-0.033740971237421036,
0.03019035793840885,
0.029561392962932587,
-0.02246016636490822,
0.020319653674960136,
0.027674496173858643,
0.01581544615328312,
-0.03716985136270523,
0.01886897347867489,
0.006005608942359686,
0.027431024238467216,
0.0760439932346344,
-0.0013378204312175512,
-0.085377037525177,
0.029561392962932587,
0.08756827563047409,
-0.009023630060255527,
-0.06938913464546204,
-0.0359119176864624,
-0.014374911785125732,
0.010651839897036552,
-0.040132075548172,
-0.01389811560511589,
0.03867125138640404,
0.04548843204975128,
-0.08415967971086502,
-0.06837467104196548,
0.030149780213832855,
-0.0057570659555494785,
0.02818172611296177,
-0.01727627031505108,
0.0398683175444603,
0.04096393287181854,
0.07141805440187454,
-0.016992220655083656,
-0.04487975314259529,
0.005954885855317116,
0.025097765028476715,
0.044514548033475876,
-0.00687804538756609,
-0.007750481832772493,
0.038792986422777176,
-0.01153442170470953,
-0.013847392052412033,
-0.01522705890238285,
-0.026355696842074394,
-0.01589660346508026,
0.03077874705195427,
-0.029338210821151733,
-0.00019908796821255237,
0.06849640607833862,
-0.05376643314957619,
-0.05153461918234825,
0.04459570348262787,
-0.009201161563396454,
0.046381156891584396,
-0.03290911391377449,
-0.03684522211551666,
-0.00010509181447559968,
-0.009541005827486515,
0.010149681940674782,
0.048775285482406616,
0.014476357959210873,
-0.01385753694921732,
0.027836808934807777,
0.004570146556943655,
-0.04934338107705116,
0.012224255129694939,
-0.018595069646835327,
0.0023002903908491135,
0.04605652764439583,
0.00646211626008153,
-0.020634137094020844,
-0.06837467104196548,
-0.04350008815526962,
-0.02797883376479149,
-0.0012845612363889813,
0.022318141534924507,
0.023616651073098183,
-0.012832931242883205,
-0.047355037182569504,
0.03169175982475281,
-0.0062186457216739655,
0.014963299036026001,
-0.03152944892644882,
-0.008237423375248909,
-0.06269368529319763,
0.021384837105870247,
0.0026122371200472116,
0.046908676624298096,
0.013705368153750896,
0.004169434774667025,
-0.009677957743406296,
0.03629741445183754,
0.024144170805811882,
0.018331309780478477,
0.054618578404188156,
0.021039919927716255,
0.03968571498990059,
0.029216475784778595,
-0.00584836769849062,
0.02925705537199974,
-0.020958764478564262,
-0.013563343323767185,
-0.07405564934015274,
-0.034471385180950165,
-0.026091936975717545,
0.003550613531842828,
0.0614357553422451,
-0.026944084092974663,
-0.05396932363510132,
-0.05502436310052872,
-0.03317287564277649,
0.033801838755607605,
0.01975155621767044,
0.010469237342476845,
-0.05770254135131836,
-0.06387045979499817,
0.010362719185650349,
0.061719805002212524,
0.007359914481639862,
-0.0937361940741539,
-0.0801829993724823,
0.027349868789315224,
-0.020116761326789856,
-0.01801682636141777,
0.025300657376646996,
-0.029541103169322014,
0.009256956167519093,
-0.08708132803440094,
-0.022297851741313934,
0.0035632941871881485,
0.04934338107705116,
0.01928490400314331,
0.010519959963858128,
-0.023109421133995056,
-0.020360231399536133,
-0.009652595967054367,
0.005503450985997915,
0.061395179480314255,
-0.018382033333182335,
-0.03994947299361229,
0.013969128020107746,
0.009449703618884087,
0.0063555981032550335,
0.05778369680047035,
-0.013360450975596905,
0.060258980840444565,
0.010362719185650349,
-0.042242154479026794,
-0.06902392208576202,
0.002159533789381385,
-0.015145902521908283,
0.09738825261592865,
0.07624688744544983,
-0.01153442170470953,
-0.016596581786870956,
-0.05912278592586517,
0.018168997019529343,
-0.007572951260954142,
-0.034004732966423035,
0.00910478737205267,
0.04260735958814621,
0.0009415465756319463,
0.054212793707847595,
0.010590972378849983,
0.03189465403556824,
-0.023636940866708755,
0.06155749410390854,
0.028364328667521477,
-0.056201137602329254,
0.046299997717142105,
-0.026355696842074394,
-0.008303362876176834,
0.0377582386136055,
0.02633540704846382,
0.010428658686578274,
-0.005888945888727903,
-0.0049125272780656815,
0.008359158411622047,
0.006360670551657677,
0.0073852757923305035,
-0.005112883169203997,
-0.06727905571460724,
0.04195810481905937,
0.059528570622205734,
-0.027167264372110367,
0.023352891206741333,
-0.024448510259389877,
-0.035790182650089264,
-0.014080718159675598,
-0.0380219966173172,
0.004641158971935511,
0.0175603199750185,
-0.03505977243185043,
-0.07969605177640915,
-0.054618578404188156,
0.019903725013136864,
-0.020197918638586998,
0.01829073205590248,
-0.013887970708310604,
0.048572391271591187,
-0.016008194535970688,
-0.007354842033237219,
0.004400224424898624,
-0.011392396874725819,
0.011828615330159664,
0.05189982429146767,
-0.043256618082523346,
0.010058380663394928,
-0.04565074294805527,
0.0015204234514385462,
0.010448948480188847,
0.04076104238629341,
-0.05875758081674576,
0.02724842168390751,
-0.005259979981929064,
-0.0007576755597256124,
0.06938913464546204,
-0.01828058622777462,
0.017448728904128075,
-0.057946011424064636,
0.04063930734992027,
-0.019061721861362457,
-0.041917528957128525,
0.018848685547709465,
0.012001072987914085,
0.03976687043905258,
-0.004128856118768454,
0.01594732701778412,
0.01049967110157013,
-0.014912576414644718,
-0.004476309288293123,
0.046381156891584396,
-0.01800668239593506,
0.055348992347717285,
0.007811349350959063,
0.06204443424940109,
0.019832711666822433,
-0.0186153594404459,
-0.03290911391377449,
-0.014943010173738003,
0.03402502089738846,
-0.018047260120511055,
-0.007679469417780638,
-0.0070505039766430855,
-0.01748930662870407,
-0.037129271775484085,
0.047760821878910065,
-0.03844807296991348,
0.0013099227799102664,
0.004671592731028795,
-0.02739044651389122,
0.04711156710982323,
-0.04646231234073639,
0.01589660346508026,
-0.0745425894856453,
0.024773137643933296,
0.006507767364382744,
-0.028283171355724335,
0.020360231399536133,
-0.04512322321534157,
-0.05611998215317726,
-0.03171205148100853,
-0.06378930807113647,
-0.01842261105775833,
-0.02952081523835659,
0.042120419442653656,
-0.043784137815237045,
0.040923357009887695,
-0.04492033272981644,
-0.001135562313720584,
0.06058361008763313,
-0.026213672012090683,
-0.025341235101222992,
0.009414197877049446,
0.033943865448236465,
-0.006558490451425314,
-0.024834005162119865,
0.051494039595127106,
-0.010261273011565208,
-0.03483659029006958,
0.001331479987129569,
-0.06338351964950562,
0.027309289202094078,
0.004374863114207983,
0.032868534326553345,
-0.06042129546403885,
0.026010779663920403,
0.053807009011507034,
-0.0005833150935359299,
0.0630183145403862,
-0.05332006886601448,
-0.002863316098228097,
0.0039817593060433865,
0.045975372195243835,
-0.0023915916681289673,
0.03562786802649498,
-0.032401882112026215,
-0.06334294378757477,
0.0478825569152832,
0.032868534326553345,
-0.032341014593839645,
0.02373838610947132,
-0.05563304200768471,
-0.06955144554376602,
-0.016911065205931664,
-0.003961469978094101,
-0.04240446910262108,
-0.07640919834375381,
-0.008349013514816761,
0.00887653324753046,
0.018432756885886192,
0.03238159418106079,
-0.028202015906572342,
0.024773137643933296,
0.011950350366532803,
0.06447914242744446,
-0.013816958293318748,
-0.0864320769906044,
0.029561392962932587,
-0.05417221784591675,
0.0020390665158629417,
0.01616036333143711,
-0.005310703068971634,
-0.061314020305871964,
-0.016251664608716965,
-0.030413540080189705,
0.020228352397680283,
0.02193264663219452,
0.007157022133469582,
0.03755534440279007,
0.02885127067565918,
-0.016850197687745094,
0.009814909659326077
]
|
29,339 | quart.app | before_websocket | Add a before websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.before_websocket
async def func():
...
Arguments:
func: The before websocket function itself.
| from __future__ import annotations
import asyncio
import os
import signal
import sys
import warnings
from collections import defaultdict
from datetime import timedelta
from inspect import isasyncgen, isgenerator
from types import TracebackType
from typing import (
Any,
AnyStr,
AsyncGenerator,
Awaitable,
Callable,
cast,
Coroutine,
NoReturn,
Optional,
overload,
TypeVar,
Union,
)
from urllib.parse import quote
from weakref import WeakSet
from aiofiles import open as async_open
from aiofiles.base import AiofilesContextManager
from aiofiles.threadpool.binary import AsyncBufferedReader
from flask.sansio.app import App
from flask.sansio.scaffold import setupmethod
from hypercorn.asyncio import serve
from hypercorn.config import Config as HyperConfig
from hypercorn.typing import ASGIReceiveCallable, ASGISendCallable, Scope
from werkzeug.datastructures import Authorization, Headers, ImmutableDict
from werkzeug.exceptions import Aborter, BadRequestKeyError, HTTPException, InternalServerError
from werkzeug.routing import BuildError, MapAdapter, RoutingException
from werkzeug.wrappers import Response as WerkzeugResponse
from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
has_request_context,
has_websocket_context,
RequestContext,
WebsocketContext,
)
from .globals import (
_cv_app,
_cv_request,
_cv_websocket,
g,
request,
request_ctx,
session,
websocket,
websocket_ctx,
)
from .helpers import get_debug_flag, get_flashed_messages, send_from_directory
from .routing import QuartMap, QuartRule
from .sessions import SecureCookieSessionInterface
from .signals import (
appcontext_tearing_down,
got_background_exception,
got_request_exception,
got_serving_exception,
got_websocket_exception,
request_finished,
request_started,
request_tearing_down,
websocket_finished,
websocket_started,
websocket_tearing_down,
)
from .templating import _default_template_ctx_processor, Environment
from .testing import (
make_test_body_with_headers,
make_test_headers_path_and_query_string,
make_test_scope,
no_op_push,
QuartClient,
QuartCliRunner,
sentinel,
TestApp,
)
from .typing import (
AfterServingCallable,
AfterWebsocketCallable,
ASGIHTTPProtocol,
ASGILifespanProtocol,
ASGIWebsocketProtocol,
BeforeServingCallable,
BeforeWebsocketCallable,
Event,
FilePath,
HeadersValue,
ResponseReturnValue,
ResponseTypes,
ShellContextProcessorCallable,
StatusCode,
TeardownCallable,
TemplateFilterCallable,
TemplateGlobalCallable,
TemplateTestCallable,
TestAppProtocol,
TestClientProtocol,
WebsocketCallable,
WhileServingCallable,
)
from .utils import (
cancel_tasks,
file_path_to_path,
MustReloadError,
observe_changes,
restart,
run_sync,
)
from .wrappers import BaseRequestWebsocket, Request, Response, Websocket
try:
from typing import ParamSpec
except ImportError:
from typing_extensions import ParamSpec # type: ignore
AppOrBlueprintKey = Optional[str] # The App key is None, whereas blueprints are named
T_after_serving = TypeVar("T_after_serving", bound=AfterServingCallable)
T_after_websocket = TypeVar("T_after_websocket", bound=AfterWebsocketCallable)
T_before_serving = TypeVar("T_before_serving", bound=BeforeServingCallable)
T_before_websocket = TypeVar("T_before_websocket", bound=BeforeWebsocketCallable)
T_shell_context_processor = TypeVar(
"T_shell_context_processor", bound=ShellContextProcessorCallable
)
T_teardown = TypeVar("T_teardown", bound=TeardownCallable)
T_template_filter = TypeVar("T_template_filter", bound=TemplateFilterCallable)
T_template_global = TypeVar("T_template_global", bound=TemplateGlobalCallable)
T_template_test = TypeVar("T_template_test", bound=TemplateTestCallable)
T_websocket = TypeVar("T_websocket", bound=WebsocketCallable)
T_while_serving = TypeVar("T_while_serving", bound=WhileServingCallable)
T = TypeVar("T")
P = ParamSpec("P")
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, func: ~T_before_websocket) -> ~T_before_websocket | [
0.020379086956381798,
-0.04808206483721733,
-0.10062744468450546,
-0.04039299488067627,
0.03410377725958824,
0.02529887668788433,
-0.036964356899261475,
0.024994559586048126,
-0.0725085660815239,
-0.03647745028138161,
0.03948004171252251,
0.00935774389654398,
0.005051660351455212,
0.03276478499174118,
0.025724919512867928,
0.03381974995136261,
0.054736461490392685,
-0.008236843161284924,
0.04049443081021309,
-0.08715635538101196,
-0.009367887862026691,
0.022194843739271164,
-0.004569825250655413,
-0.02345268800854683,
-0.030959170311689377,
0.0012686209520325065,
-0.06508323550224304,
-0.011249580420553684,
0.015621599741280079,
-0.039581481367349625,
0.021160166710615158,
-0.043983932584524155,
0.044267963618040085,
0.012050948105752468,
0.05700869485735893,
-0.007181878201663494,
-0.022580312564969063,
-0.015439009293913841,
-0.04974566400051117,
-0.035747088491916656,
0.0034286368172615767,
-0.0336371585726738,
-0.006994216237217188,
0.0005309695261530578,
0.0076890732161700726,
0.03793817013502121,
-0.037025220692157745,
0.07104784995317459,
0.02718564122915268,
0.04597213491797447,
-0.008454937487840652,
0.006710187066346407,
-0.001266718958504498,
0.07510540634393692,
0.020592108368873596,
0.08082656562328339,
-0.02322952076792717,
0.03564564883708954,
-0.005705941468477249,
-0.03968292102217674,
-0.006218208000063896,
0.0574956014752388,
0.031892407685518265,
0.022823765873908997,
0.022357147186994553,
-0.03357629477977753,
-0.030127370730042458,
0.033515430986881256,
-0.007552130613476038,
-0.019466135650873184,
0.01860390603542328,
-0.010519220493733883,
-0.020267503336071968,
0.01838073879480362,
0.05047602578997612,
-0.03548334911465645,
0.01367397140711546,
-0.02909269370138645,
-0.026029236614704132,
0.013268215581774712,
0.0582665391266346,
-0.0060863373801112175,
-0.02395988255739212,
0.01499267853796482,
0.1046038568019867,
0.0199530441313982,
0.032947372645139694,
-0.009885226376354694,
-0.10427924990653992,
-0.025988660752773285,
-0.052504803985357285,
0.0276319719851017,
0.009459182620048523,
0.0050896997563540936,
0.014302893541753292,
-0.04893415421247482,
-0.031385213136672974,
-0.033069100230932236,
-0.01456663478165865,
-0.06532669067382812,
-0.008688246831297874,
0.06731489300727844,
-0.027043625712394714,
-0.007359396666288376,
0.025258300825953484,
0.0007430403493344784,
0.006314575206488371,
0.01882707141339779,
0.001358014065772295,
-0.031446076929569244,
-0.008414361625909805,
0.003981478977948427,
-0.0028529707342386246,
-0.007252885494381189,
-0.038242489099502563,
0.006091409362852573,
-0.008820117451250553,
0.0026855964679270983,
0.049826815724372864,
-0.03994666039943695,
-0.031162047758698463,
0.008246987126767635,
-0.0067659784108400345,
-0.03037082403898239,
0.038526516407728195,
0.0836668536067009,
0.009165010415017605,
0.001354210078716278,
-0.014901382848620415,
-0.017619946971535683,
-0.03349514305591583,
0.0462561659514904,
0.01694030687212944,
0.06678741425275803,
-0.0015279243234544992,
0.04617501422762871,
-0.04321299493312836,
0.013207352720201015,
-0.00983450748026371,
0.04743285849690437,
-0.004907109774649143,
-0.008033965714275837,
-0.030715717002749443,
-0.03327197954058647,
0.017001168802380562,
0.00350218010134995,
-0.04422738775610924,
-0.05209904909133911,
-0.023858442902565002,
-0.012740733101963997,
0.034063201397657394,
-0.009185297414660454,
-0.06431230157613754,
0.06244582310318947,
-0.0199530441313982,
0.030269386246800423,
-0.022864341735839844,
0.038080185651779175,
-0.02061239629983902,
-0.05453358590602875,
-0.07632267475128174,
-0.055913154035806656,
0.019354553893208504,
-0.0798121765255928,
-0.009520046412944794,
0.02227599546313286,
0.005203818436712027,
0.0314055010676384,
0.03659917786717415,
0.06966827809810638,
-0.017974983900785446,
0.054858189076185226,
-0.029660752043128014,
-0.021038440987467766,
0.036578889936208725,
0.011036559008061886,
0.0006048298091627657,
-0.01782282441854477,
-0.03215615078806877,
-0.04016982764005661,
-0.017092464491724968,
-0.0761197954416275,
-0.03649773821234703,
-0.000917388591915369,
0.005766804795712233,
0.05266710743308067,
-0.007973101921379566,
0.028260894119739532,
0.05932150408625603,
-0.023696141317486763,
-0.07831087708473206,
0.023493263870477676,
0.07108842581510544,
0.016341816633939743,
0.01743735745549202,
0.019740020856261253,
0.0017663058824837208,
0.019750164821743965,
0.01298418641090393,
-0.05940265581011772,
-0.03939888998866081,
0.029681039974093437,
0.010701810009777546,
-0.06049819663167,
-0.03787730634212494,
-0.02217455580830574,
0.020855849608778954,
-0.000922460516449064,
-0.004308620002120733,
-0.003296766197308898,
-0.04150882363319397,
-0.004224932752549648,
0.034286368638277054,
0.009053426794707775,
0.06374423950910568,
-0.04057558253407478,
0.015144836157560349,
0.02290491759777069,
0.0377555787563324,
0.0140087204053998,
0.06252697110176086,
0.04045385867357254,
-0.029721615836024284,
-0.006360222585499287,
-0.008556376211345196,
-0.003796353004872799,
0.004164069425314665,
0.022052830085158348,
-0.011340875178575516,
0.006634107790887356,
0.01354210078716278,
0.03310967609286308,
0.04564753174781799,
0.026881324127316475,
0.005310329608619213,
-0.0006973928539082408,
0.0011957117822021246,
0.03889169543981552,
-0.008977347984910011,
-0.01373483520001173,
0.0021809376776218414,
-0.010088104754686356,
0.010067816823720932,
-0.038080185651779175,
0.007136230822652578,
0.003172503551468253,
0.02708420157432556,
0.001735874218866229,
-0.004207180812954903,
0.00832813885062933,
-0.004539393354207277,
-0.03826277703046799,
-0.03452982008457184,
-0.03686291724443436,
-0.03915543854236603,
-0.02061239629983902,
-0.00448360200971365,
-0.017406925559043884,
0.005913891363888979,
0.015053541399538517,
-0.004993332549929619,
0.025197437033057213,
-0.07303605228662491,
0.0761197954416275,
-0.018370594829320908,
-0.05209904909133911,
0.0021733297035098076,
-0.0199530441313982,
-0.04390278086066246,
-0.026313265785574913,
0.05201789736747742,
0.02852463535964489,
0.008059325627982616,
0.013937712647020817,
-0.06812640279531479,
-0.031162047758698463,
-0.013268215581774712,
-0.0014772048452869058,
-0.03237931430339813,
-0.031506940722465515,
-0.012832028791308403,
-0.00012402498396113515,
0.05627833306789398,
0.021261606365442276,
-0.009236017242074013,
-0.004230004735291004,
-0.012690014205873013,
0.011066990904510021,
0.017315629869699478,
-0.026211826130747795,
-0.01922268234193325,
-0.0026019092183560133,
0.0071260868571698666,
-0.016676565632224083,
0.008840405382215977,
0.02017620950937271,
-0.08265246450901031,
0.02095728926360607,
0.049948543310165405,
-0.07441562414169312,
0.03148665279150009,
0.03339370712637901,
0.02712477743625641,
0.013217496685683727,
0.008475225418806076,
0.019537143409252167,
0.007344180718064308,
-0.004947685170918703,
-0.01094526331871748,
-0.016808435320854187,
-0.0034641404636204243,
-0.03976407274603844,
0.04183342680335045,
-0.008404217660427094,
0.026110388338565826,
0.056359484791755676,
-0.007257957477122545,
-0.020592108368873596,
0.038810547441244125,
0.07859490811824799,
-0.029234707355499268,
0.0433347225189209,
0.06621935218572617,
0.00871867872774601,
0.010681522078812122,
-0.014769512228667736,
0.0425637885928154,
-0.021363044157624245,
-0.037917882204055786,
0.007815871387720108,
-0.08334224671125412,
0.036294858902692795,
-0.04483601823449135,
-0.026840748265385628,
-0.055629126727581024,
0.027489958330988884,
-0.028260894119739532,
-0.0062537118792533875,
0.0008533552172593772,
-0.058469414710998535,
0.032561905682086945,
0.008033965714275837,
0.011158285662531853,
0.04207688197493553,
-0.028727512806653976,
-0.0574956014752388,
0.013744979165494442,
0.01659541390836239,
0.055791426450014114,
-0.03609198331832886,
0.08342339843511581,
-0.013653683476150036,
0.0011792279547080398,
0.09535261988639832,
0.0552639439702034,
-0.042036306113004684,
0.012375553138554096,
-0.014698505401611328,
0.007876735180616379,
0.004465850070118904,
-0.019313978031277657,
0.059524379670619965,
-0.003618834773078561,
0.01220310665667057,
-0.006872489582747221,
-0.03386032581329346,
0.07145360112190247,
-0.014749224297702312,
-0.00041272977250628173,
0.021302182227373123,
-0.0017219263827428222,
-0.03075629286468029,
-0.004445562604814768,
0.0025879614986479282,
-0.035523924976587296,
0.00019526999676600099,
-0.02619154006242752,
-0.04422738775610924,
-0.07616037130355835,
0.05729272589087486,
0.03331255540251732,
0.06812640279531479,
-0.003002593293786049,
-0.0014366292161867023,
0.00852594431489706,
-0.05481761321425438,
-0.01493181474506855,
-0.009393247775733471,
-0.004143781494349241,
0.015834622085094452,
0.03515874221920967,
0.002130218083038926,
0.006081265397369862,
0.021484771743416786,
0.012385697104036808,
-0.030228810384869576,
-0.04585041105747223,
0.08155692368745804,
0.019587863236665726,
-0.010285910218954086,
0.06686855852603912,
-0.023026643320918083,
0.04897473007440567,
0.05566970258951187,
0.018867647275328636,
-0.011675624176859856,
0.08739981055259705,
-0.0128928916528821,
0.034124065190553665,
0.06877561658620834,
-0.035239893943071365,
-0.019040092825889587,
-0.09502802044153214,
-0.0022468729875981808,
-0.021931102499365807,
-0.04227975755929947,
-0.018735775724053383,
0.004394842777401209,
0.03542248532176018,
0.03678176552057266,
-0.007952813990414143,
0.014728937298059464,
0.04390278086066246,
0.043253570795059204,
0.030796868726611137,
0.0294781606644392,
-0.01917196251451969,
0.029559312388300896,
-0.06325733661651611,
0.008850549347698689,
0.03710637241601944,
0.01810685358941555,
-0.04329414665699005,
-0.03371831029653549,
0.03018823452293873,
0.029559312388300896,
-0.02249916084110737,
0.020267503336071968,
0.02769283577799797,
0.0158751979470253,
-0.03720781207084656,
0.0188777893781662,
0.00598997063934803,
0.027449382469058037,
0.07603864371776581,
-0.001359282061457634,
-0.08537102490663528,
0.029559312388300896,
0.08748095482587814,
-0.00902806781232357,
-0.0693436712026596,
-0.03588910400867462,
-0.0143739003688097,
0.010681522078812122,
-0.040088675916194916,
-0.013927568681538105,
0.03862795606255531,
0.04544465243816376,
-0.08415376394987106,
-0.06836985796689987,
0.030167946591973305,
-0.005721157416701317,
0.028179742395877838,
-0.01726491004228592,
0.039865512400865555,
0.040920477360486984,
0.07137244939804077,
-0.016960594803094864,
-0.0447954460978508,
0.00598997063934803,
0.025095999240875244,
0.04451141506433487,
-0.006882633548229933,
-0.007739792577922344,
0.0387902595102787,
-0.011574185453355312,
-0.01387684978544712,
-0.015256419777870178,
-0.026374129578471184,
-0.015915771946310997,
0.03075629286468029,
-0.029315859079360962,
-0.00019590399460867047,
0.06853216141462326,
-0.0538032241165638,
-0.05153099074959755,
0.044592566788196564,
-0.009230945259332657,
0.0463373176753521,
-0.03290679678320885,
-0.03684262931346893,
-0.00005678204252035357,
-0.009530190378427505,
0.010169255547225475,
0.048771850764751434,
0.014505770988762379,
-0.013886993750929832,
0.027814563363790512,
0.004557145293802023,
-0.04938048496842384,
0.012223394587635994,
-0.018644480034708977,
0.002262088702991605,
0.046053286641836166,
0.0064870212227106094,
-0.02061239629983902,
-0.06836985796689987,
-0.04349702596664429,
-0.02797686494886875,
-0.0013009546091780066,
0.02227599546313286,
0.023533837869763374,
-0.012832028791308403,
-0.04735170677304268,
0.03168953210115433,
-0.006228351965546608,
0.014962246641516685,
-0.03152722865343094,
-0.008236843161284924,
-0.0626486986875534,
0.021403620019555092,
0.0025854255072772503,
0.04686480015516281,
0.013704403303563595,
0.004202108830213547,
-0.00966713298112154,
0.036294858902692795,
0.024162760004401207,
0.018370594829320908,
0.05465530976653099,
0.021018153056502342,
0.03966263309121132,
0.029214419424533844,
-0.00584795605391264,
0.029315859079360962,
-0.020937001332640648,
-0.013552244752645493,
-0.07409101724624634,
-0.034468960016965866,
-0.026110388338565826,
0.0035250037908554077,
0.061431434005498886,
-0.027003051713109016,
-0.05400610342621803,
-0.055020492523908615,
-0.0332111157476902,
0.03381974995136261,
0.019750164821743965,
0.010438068769872189,
-0.057698480784893036,
-0.06386596709489822,
0.010361989960074425,
0.06171546131372452,
0.007374612148851156,
-0.09372960031032562,
-0.08017735183238983,
0.02734794281423092,
-0.020084913820028305,
-0.018025703728199005,
0.025319164618849754,
-0.029559312388300896,
0.009246161207556725,
-0.08707520365715027,
-0.022316571325063705,
0.0035655794199556112,
0.049339909106492996,
0.019313978031277657,
0.010539507493376732,
-0.023148370906710625,
-0.020379086956381798,
-0.00964177306741476,
0.005503063555806875,
0.061431434005498886,
-0.018411170691251755,
-0.03994666039943695,
0.013947856612503529,
0.0094388946890831,
0.006385582499206066,
0.05777963250875473,
-0.013339223340153694,
0.06021416559815407,
0.010397492907941341,
-0.04227975755929947,
-0.06897849589586258,
0.002156845759600401,
-0.015134693123400211,
0.09738139808177948,
0.07624152302742004,
-0.011523465625941753,
-0.016646133735775948,
-0.05915920063853264,
0.018177861347794533,
-0.007572418078780174,
-0.034002337604761124,
0.00910921860486269,
0.042604364454746246,
0.0009288004948757589,
0.05420897901058197,
0.010569939389824867,
0.03187211975455284,
-0.023635277524590492,
0.061593737453222275,
0.02836233377456665,
-0.056197185069322586,
0.04629674181342125,
-0.02635384164750576,
-0.008312922902405262,
0.0377555787563324,
0.02629297785460949,
0.010458356700837612,
-0.005883459467440844,
-0.004902037791907787,
0.00835856981575489,
0.0063703665509819984,
0.007379684131592512,
-0.005112523678690195,
-0.0672743171453476,
0.04199573025107384,
0.05956495553255081,
-0.027205929160118103,
0.023330960422754288,
-0.024446789175271988,
-0.035787664353847504,
-0.014089871197938919,
-0.03797874599695206,
0.0046661919914186,
0.017589515075087547,
-0.03505730256438255,
-0.07973102480173111,
-0.05465530976653099,
0.019922612234950066,
-0.020196497440338135,
0.018309732899069786,
-0.013897137716412544,
0.048609551042318344,
-0.01599692367017269,
-0.007344180718064308,
0.004382162820547819,
-0.011381451040506363,
0.011817638762295246,
0.05193674564361572,
-0.043253570795059204,
0.010103320702910423,
-0.04564753174781799,
0.0015329963061958551,
0.010488788597285748,
0.04077846184372902,
-0.05879402160644531,
0.02724650502204895,
-0.0052545382641255856,
-0.0007462103385478258,
0.0694248229265213,
-0.018248869106173515,
0.017477933317422867,
-0.05790135636925697,
0.040636446326971054,
-0.019100956618785858,
-0.041874002665281296,
0.018867647275328636,
0.011990085244178772,
0.03972349688410759,
-0.004128565546125174,
0.01593605987727642,
0.010488788597285748,
-0.014901382848620415,
-0.004475994035601616,
0.04641846939921379,
-0.01800541579723358,
0.055345095694065094,
0.007795583922415972,
0.062040068209171295,
0.019861748442053795,
-0.01861404813826084,
-0.03290679678320885,
-0.014921670779585838,
0.034002337604761124,
-0.01804599165916443,
-0.007714432664215565,
-0.007085511460900307,
-0.01753879524767399,
-0.03716723620891571,
0.04775746166706085,
-0.0384453646838665,
0.0012343853013589978,
0.004658584017306566,
-0.027368230745196342,
0.047108251601457596,
-0.04645904153585434,
0.015905627980828285,
-0.07453734427690506,
0.024710530415177345,
0.006522525101900101,
-0.028220318257808685,
0.02038923092186451,
-0.04512004926800728,
-0.05611603334546089,
-0.03168953210115433,
-0.06378481537103653,
-0.018482178449630737,
-0.02951873652637005,
0.04215802997350693,
-0.04378105327486992,
0.04090018942952156,
-0.04491716995835304,
-0.0010822268668562174,
0.06061992049217224,
-0.026211826130747795,
-0.0253597404807806,
0.009469326585531235,
0.033961761742830276,
-0.00654788501560688,
-0.02485254406929016,
0.051449839025735855,
-0.010260550305247307,
-0.03483413904905319,
0.0013275824021548033,
-0.06333848834037781,
0.027327654883265495,
0.004369483329355717,
0.032845936715602875,
-0.060417044907808304,
0.026029236614704132,
0.0538032241165638,
-0.0005946859018877149,
0.06305445730686188,
-0.05327574163675308,
-0.0028301470447331667,
0.003976406995207071,
0.04597213491797447,
-0.0024028352927416563,
0.03560507297515869,
-0.03241989016532898,
-0.06337906420230865,
0.04791976511478424,
0.032866220921278,
-0.032338738441467285,
0.023716429248452187,
-0.055629126727581024,
-0.06954655051231384,
-0.016899731010198593,
-0.003940903581678867,
-0.04240148514509201,
-0.07640382647514343,
-0.008373785763978958,
0.008850549347698689,
0.01844160258769989,
0.032399602234363556,
-0.028159454464912415,
0.02479168213903904,
0.01191907748579979,
0.06447460502386093,
-0.013805842027068138,
-0.08642598986625671,
0.029559312388300896,
-0.05416840314865112,
0.002046531066298485,
0.016169369220733643,
-0.005300185643136501,
-0.0612691305577755,
-0.016230233013629913,
-0.03041139990091324,
0.02022692933678627,
0.021931102499365807,
0.00714637478813529,
0.03755270317196846,
0.028849240392446518,
-0.016838867217302322,
0.009849722497165203
]
|
29,342 | quart.app | create_jinja_environment | Create and return the jinja environment.
This will create the environment based on the
:attr:`jinja_options` and configuration settings. The
environment will include the Quart globals by default.
| def create_jinja_environment(self) -> Environment: # type: ignore
"""Create and return the jinja environment.
This will create the environment based on the
:attr:`jinja_options` and configuration settings. The
environment will include the Quart globals by default.
"""
options = dict(self.jinja_options)
if "autoescape" not in options:
options["autoescape"] = self.select_jinja_autoescape
if "auto_reload" not in options:
options["auto_reload"] = self.config["TEMPLATES_AUTO_RELOAD"]
jinja_env = self.jinja_environment(self, **options) # type: ignore
jinja_env.globals.update(
{
"config": self.config,
"g": g,
"get_flashed_messages": get_flashed_messages,
"request": request,
"session": session,
"url_for": self.url_for,
}
)
jinja_env.policies["json.dumps_function"] = self.json.dumps
return jinja_env
| (self) -> quart.templating.Environment | [
0.04487764835357666,
-0.05945265665650368,
-0.004324632231146097,
-0.07492001354694366,
0.006780912168323994,
0.04093644395470619,
-0.040862083435058594,
0.002398184034973383,
-0.010949848219752312,
0.003992326091974974,
0.033779073506593704,
0.005335494875907898,
-0.020728491246700287,
0.052834413945674896,
0.005795611534267664,
-0.039374835789203644,
0.07770860195159912,
0.008519130758941174,
0.06291050463914871,
-0.011358841322362423,
0.011238002218306065,
-0.026119757443666458,
0.0008929285104386508,
0.02994941547513008,
-0.021620837971568108,
-0.017884133383631706,
-0.03710678592324257,
0.019111109897494316,
0.04751750826835632,
-0.02303372137248516,
-0.03948637843132019,
-0.025896670296788216,
0.025171637535095215,
0.011777129024267197,
0.08172416687011719,
-0.0158205796033144,
-0.027625594288110733,
0.0376645028591156,
-0.008300691843032837,
-0.048930391669273376,
0.035693902522325516,
0.04283268377184868,
-0.013599005527794361,
-0.015430176630616188,
-0.0009463764145039022,
0.008570254780352116,
-0.009760051965713501,
-0.013961520977318287,
0.0324033722281456,
0.057965412735939026,
0.05696152150630951,
0.021472113206982613,
0.03855685144662857,
0.05751923844218254,
-0.052239514887332916,
-0.006511348765343428,
-0.013822091743350029,
0.004982274025678635,
-0.07298659533262253,
-0.016852356493473053,
-0.0316411592066288,
0.07529182732105255,
0.023647211492061615,
0.027885861694812775,
0.004884673282504082,
0.04409684240818024,
-0.06845049560070038,
0.015114136971533298,
0.008542369119822979,
-0.03985819220542908,
0.016647858545184135,
-0.01909252069890499,
-0.032514914870262146,
-0.016973193734884262,
-0.018544098362326622,
-0.021490704268217087,
-0.05856030806899071,
-0.05517682433128357,
-0.017995676025748253,
-0.021862516179680824,
0.003976059146225452,
-0.016991784796118736,
-0.061609163880348206,
0.00472897756844759,
0.0755520910024643,
0.038147859275341034,
-0.02429788000881672,
0.05447038263082504,
0.0647323802113533,
-0.018757889047265053,
-0.01815369538962841,
0.03143666312098503,
0.004013240337371826,
0.06566190719604492,
0.01972460001707077,
-0.008876998908817768,
0.0012804258149117231,
-0.0072084954008460045,
-0.019408559426665306,
0.004410613793879747,
0.019315605983138084,
0.04097362607717514,
-0.026454387232661247,
-0.03071162849664688,
-0.02459532953798771,
0.0436134859919548,
0.021360570564866066,
0.026956332847476006,
0.0362144373357296,
-0.04286986589431763,
-0.04372503235936165,
0.06607089936733246,
-0.0466623418033123,
-0.02400043234229088,
-0.025524858385324478,
0.026491569355130196,
-0.024613920599222183,
-0.010578037239611149,
0.04840985685586929,
-0.023052312433719635,
-0.030600085854530334,
0.013413099572062492,
0.011777129024267197,
-0.010048205964267254,
0.07157371193170547,
-0.011665585450828075,
0.0032998269889503717,
-0.019185472279787064,
0.030841762199997902,
-0.026361433789134026,
-0.004168936517089605,
0.039300475269556046,
-0.03881711885333061,
-0.014956117607653141,
0.016341114416718483,
0.012734543532133102,
-0.07577518373727798,
0.022215737029910088,
0.018804365769028664,
0.11935149133205414,
-0.0059210979379713535,
-0.0557345412671566,
-0.03634457290172577,
0.011340250261127949,
-0.041122350841760635,
-0.034671422094106674,
-0.00607447000220418,
-0.001129958312958479,
-0.025766536593437195,
0.020338088274002075,
0.04194033518433571,
0.04060181602835655,
0.021565066650509834,
-0.008937418460845947,
0.008788693696260452,
0.029893644154071808,
-0.0017684283666312695,
0.04532381892204285,
0.058300040662288666,
-0.02171379141509533,
0.016424773260951042,
0.02651015855371952,
-0.05792823061347008,
0.013199307955801487,
0.0027281667571514845,
0.07659316807985306,
0.017949199303984642,
-0.02888975292444229,
0.023777345195412636,
0.01946433074772358,
0.014667963609099388,
-0.02299654111266136,
0.00948119256645441,
0.0315667949616909,
-0.030098140239715576,
0.05205360800027847,
0.012799610383808613,
0.03236619010567665,
0.0048800259828567505,
-0.03541504591703415,
-0.06108862906694412,
-0.02400043234229088,
-0.03779463842511177,
0.03630739077925682,
0.02256895788013935,
-0.029968006536364555,
0.01946433074772358,
0.030971897765994072,
0.04603026062250137,
0.04736878350377083,
-0.07157371193170547,
-0.020338088274002075,
-0.005307609215378761,
-0.012167531065642834,
-0.029205791652202606,
0.006483462639153004,
0.03837094455957413,
-0.058932121843099594,
-0.0722057893872261,
0.03320276737213135,
-0.06391439586877823,
-0.012362731620669365,
-0.009657802991569042,
0.006864569615572691,
0.002718871459364891,
0.051049716770648956,
-0.01933419704437256,
-0.01760527491569519,
0.03457846865057945,
-0.022884996607899666,
-0.0571846067905426,
-0.03177129104733467,
-0.006325442809611559,
0.06309641152620316,
-0.020728491246700287,
0.018469735980033875,
-0.00742228701710701,
0.008268157951533794,
-0.020431041717529297,
0.02353566698729992,
0.045063551515340805,
-0.030079549178481102,
0.02095157653093338,
-0.01075464766472578,
-0.026621703058481216,
-0.0063300905749201775,
0.0270678773522377,
-0.0010991677409037948,
-0.03833376616239548,
-0.03184565529227257,
-0.008872351609170437,
0.04606744274497032,
0.07741115242242813,
0.004161964636296034,
0.023089492693543434,
-0.06502982974052429,
0.024335062131285667,
-0.0018520859302952886,
-0.012595114298164845,
-0.008598140440881252,
0.01972460001707077,
0.025171637535095215,
0.035861216485500336,
0.0028838629368692636,
0.02310808375477791,
0.005572524853050709,
0.0195572841912508,
0.05476783215999603,
0.02281063422560692,
-0.03402075171470642,
-0.03837094455957413,
-0.004094574134796858,
0.0010695389937609434,
-0.004008592572063208,
-0.02145352214574814,
0.02829485386610031,
0.10618936270475388,
0.05149589106440544,
-0.01554172020405531,
0.0028954818844795227,
0.05190488323569298,
0.00007850160909583792,
-0.04629053175449371,
0.04034154489636421,
0.00029803015058860183,
-0.017279939725995064,
-0.005182122811675072,
0.025673583149909973,
-0.05060354247689247,
-0.004120136145502329,
0.08068308979272842,
0.08871421962976456,
0.016015779227018356,
-0.01959446631371975,
-0.029168611392378807,
-0.011777129024267197,
-0.017038261517882347,
0.04632771015167236,
-0.06454647332429886,
-0.027625594288110733,
-0.009853004477918148,
-0.04569563269615173,
0.07451102137565613,
0.07755987346172333,
-0.02866666577756405,
-0.04729442298412323,
-0.06406311690807343,
0.046848248690366745,
0.05398702993988991,
-0.00473827263340354,
-0.03253350406885147,
0.04454301670193672,
0.0044710333459079266,
0.035991352051496506,
0.007784802932292223,
-0.04454301670193672,
-0.020468221977353096,
0.006762321572750807,
0.043873757123947144,
0.012994811870157719,
0.042051877826452255,
0.01075464766472578,
0.01909252069890499,
0.06413748115301132,
-0.041159532964229584,
0.02281063422560692,
0.05030609294772148,
-0.02624989114701748,
0.02396325021982193,
-0.021955467760562897,
0.005470276344567537,
-0.0021762591786682606,
0.06692606955766678,
0.06395157426595688,
-0.03799913451075554,
-0.03323994576931,
-0.017075441777706146,
-0.06688888370990753,
-0.020932987332344055,
-0.009313877671957016,
-0.03307263180613518,
-0.01386856846511364,
0.07592390477657318,
-0.03169693052768707,
-0.01835819147527218,
0.009657802991569042,
0.027476869523525238,
-0.032849546521902084,
0.06283614039421082,
0.05365239828824997,
-0.06387721747159958,
0.03229182958602905,
0.01002961490303278,
0.03521054983139038,
-0.008974599651992321,
0.012483570724725723,
-0.002057744190096855,
-0.007217790465801954,
-0.04190315306186676,
-0.10574318468570709,
0.004157317336648703,
-0.05082663148641586,
-0.03762732446193695,
0.0012095492566004395,
-0.013896454125642776,
-0.028685256838798523,
0.023312579840421677,
-0.012799610383808613,
0.03550799563527107,
-0.015392995439469814,
0.00004139307566219941,
0.013031993061304092,
0.054210115224123,
0.03948637843132019,
-0.027495458722114563,
-0.07979074865579605,
-0.043539125472307205,
0.011572632938623428,
-0.04800086468458176,
0.04629053175449371,
-0.041791610419750214,
0.05967574566602707,
-0.01102421060204506,
0.03571249172091484,
0.039040207862854004,
-0.017121918499469757,
0.03455987945199013,
-0.015913531184196472,
-0.018144400790333748,
0.0012385969748720527,
0.05781668797135353,
-0.0045663099735975266,
0.013654776848852634,
0.013710549101233482,
-0.02942887879908085,
-0.028741028159856796,
-0.005242541898041964,
-0.024651100859045982,
-0.03855685144662857,
0.013357327319681644,
0.020895805209875107,
-0.020877216011285782,
-0.015420881099998951,
-0.016090141609311104,
-0.026305662468075752,
-0.03363034874200821,
-0.013338737189769745,
-0.014509943313896656,
-0.003364894073456526,
-0.009685689583420753,
-0.03381625562906265,
-0.06384003162384033,
0.03270082175731659,
0.11317941546440125,
-0.01174924336373806,
-0.025357544422149658,
-0.055251188576221466,
0.020840033888816833,
0.007268914487212896,
0.08068308979272842,
0.04186597466468811,
-0.01866493746638298,
0.03435538336634636,
-0.028387807309627533,
0.028239082545042038,
-0.037181150168180466,
0.058002591133117676,
0.01815369538962841,
0.052611324936151505,
0.04283268377184868,
-0.007366515230387449,
-0.036623433232307434,
-0.12500302493572235,
-0.016731517389416695,
-0.04919065907597542,
-0.02879679948091507,
-0.004066688008606434,
-0.025989623740315437,
0.02303372137248516,
0.030191093683242798,
-0.02511586621403694,
-0.012306960299611092,
0.003890077816322446,
0.002036829711869359,
-0.012846087105572224,
0.049227841198444366,
-0.036363162100315094,
0.049599651247262955,
-0.034466926008462906,
0.014733030460774899,
-0.02472546324133873,
-0.01735430210828781,
-0.011172935366630554,
-0.03167833760380745,
0.028908343985676765,
0.0071387807838618755,
0.028053177520632744,
-0.022234326228499413,
-0.014240380376577377,
0.02204842120409012,
0.03948637843132019,
-0.01590423658490181,
0.02677042782306671,
0.04491482675075531,
-0.014156722463667393,
0.052834413945674896,
-0.07462256401777267,
0.02346130460500717,
-0.006906398572027683,
-0.008217033930122852,
0.051718976348638535,
0.04945092648267746,
0.011786424554884434,
-0.05086381360888481,
0.016564201563596725,
-0.03956074267625809,
0.02816472016274929,
-0.032087329775094986,
0.025524858385324478,
0.0315667949616909,
0.033109813928604126,
-0.022252917289733887,
0.034634239971637726,
-0.007687202654778957,
-0.0017858570208773017,
-0.02429788000881672,
-0.01798638142645359,
0.03294249624013901,
-0.041196711361408234,
-0.009025723673403263,
0.005177475046366453,
0.051979247480630875,
-0.059229571372270584,
-0.009453306905925274,
-0.016768697649240494,
0.010447902604937553,
0.000050688362534856424,
0.00241677463054657,
0.022494595497846603,
-0.005275075323879719,
-0.04160570725798607,
-0.015281451866030693,
-0.019984867423772812,
0.05551145598292351,
-0.028555123135447502,
-0.058002591133117676,
0.02994941547513008,
-0.04647643491625786,
0.0012141969054937363,
0.035600949078798294,
-0.04710851609706879,
0.02281063422560692,
0.016852356493473053,
-0.009471897967159748,
-0.026324253529310226,
0.03623303025960922,
0.06830176711082458,
0.014686553739011288,
0.004598843399435282,
-0.02812753990292549,
0.051979247480630875,
0.008021832443773746,
0.006302204914391041,
0.09012710303068161,
0.003871487220749259,
-0.06685170531272888,
0.03024686500430107,
0.013747729361057281,
-0.03515477478504181,
-0.015337224118411541,
0.01989191398024559,
0.030841762199997902,
0.008468006737530231,
-0.041717249900102615,
0.025562040507793427,
-0.01701037585735321,
-0.06253869086503983,
-0.03561954200267792,
0.011646995320916176,
0.03547081723809242,
-0.014073064550757408,
0.005284370854496956,
0.05272286757826805,
-0.024074794724583626,
-0.030358407646417618,
0.01691742241382599,
0.09414266794919968,
0.0736558586359024,
-0.01287397276610136,
0.09704279899597168,
-0.014073064550757408,
-0.061646346002817154,
0.006590358447283506,
0.0075198872946202755,
-0.02005922980606556,
0.09072200208902359,
-0.01214894000440836,
0.021862516179680824,
0.014565715566277504,
-0.02532036229968071,
0.020672718062996864,
-0.0218067429959774,
0.018683526664972305,
-0.0278672706335783,
-0.042646776884794235,
-0.0020821443758904934,
-0.017103329300880432,
-0.009309230372309685,
-0.0011990920174866915,
-0.03729269281029701,
0.010215520858764648,
-0.008388997055590153,
0.014770211651921272,
0.007691850420087576,
-0.008323929272592068,
-0.08893730491399765,
0.041122350841760635,
0.037515778094530106,
0.015634672716259956,
0.022513186559081078,
0.02111889235675335,
0.04736878350377083,
-0.05052918195724487,
0.011842195875942707,
0.037051014602184296,
0.0002943991858046502,
-0.04569563269615173,
0.034336790442466736,
-0.021137483417987823,
-0.0263428445905447,
0.01206528302282095,
0.02281063422560692,
0.049525290727615356,
-0.0014349599368870258,
-0.04391093552112579,
-0.04610462486743927,
0.012102464213967323,
0.042051877826452255,
0.00879798922687769,
-0.011349545791745186,
-0.03368612006306648,
0.02519022859632969,
-0.07216861099004745,
0.0026096520014107227,
-0.03435538336634636,
-0.0248555988073349,
0.05696152150630951,
0.040267184376716614,
0.05056636407971382,
-0.029373107478022575,
-0.010503674857318401,
0.03214310482144356,
0.024149157106876373,
-0.03368612006306648,
0.05997319146990776,
0.03312840312719345,
0.003948173485696316,
-0.030674448236823082,
-0.03455987945199013,
-0.05417293310165405,
-0.005911802873015404,
0.03770168498158455,
-0.022457413375377655,
-0.030432770028710365,
-0.003864515572786331,
-0.06952875107526779,
-0.020747080445289612,
0.00705047557130456,
-0.02240164205431938,
-0.017484435811638832,
-0.009378944523632526,
-0.06001037359237671,
0.001817228621803224,
0.0004702834412455559,
-0.03597276285290718,
-0.016396887600421906,
-0.04870730638504028,
0.036790747195482254,
-0.007659316528588533,
-0.02286640740931034,
-0.02429788000881672,
0.03703242540359497,
0.006172070745378733,
0.015067660249769688,
0.030079549178481102,
-0.06172070652246475,
0.07993946969509125,
-0.07964202016592026,
-0.054396022111177444,
0.020207954570651054,
0.019538693130016327,
-0.025264590978622437,
0.0481124073266983,
-0.05755641683936119,
0.027458278462290764,
0.05064072459936142,
0.013645481318235397,
0.01675010845065117,
0.03731128200888634,
0.02439083345234394,
-0.020765671506524086,
-0.05157025530934334,
-0.01608084701001644,
0.031622566282749176,
0.015262861736118793,
-0.0285923033952713,
0.03656765818595886,
-0.025264590978622437,
-0.014258970506489277,
-0.017410073429346085,
-0.016015779227018356,
0.024967141449451447,
-0.018293125554919243,
0.0008429663721472025,
-0.07867531478404999,
0.057742323726415634,
-0.05052918195724487,
-0.017698226496577263,
0.017465844750404358,
0.00392493512481451,
0.003416018094867468,
-0.008760808035731316,
-0.06990055739879608,
-0.021304799243807793,
0.05513964220881462,
-0.01848832704126835,
-0.015011888928711414,
0.0014035883359611034,
0.035396452993154526,
0.040230002254247665,
0.02595244161784649,
-0.002642185427248478,
0.034169476479291916,
-0.08603718131780624,
-0.06056809052824974,
0.02015218324959278,
-0.02816472016274929,
-0.004101545549929142,
0.04855858162045479,
-0.036493297666311264,
-0.037051014602184296,
0.02069130912423134,
-0.020877216011285782,
0.039003025740385056,
-0.015532424673438072,
-0.0019090196583420038,
0.020412450656294823,
-0.01499329786747694,
0.018739299848675728,
0.0017753998981788754,
-0.02756982110440731,
0.019966276362538338,
-0.021955467760562897,
0.05837440490722656,
-0.016722220927476883,
-0.09719152003526688,
0.012706657871603966,
-0.07038391381502151,
-0.038779936730861664,
-0.012911153957247734,
0.011795719154179096,
-0.008472654037177563,
0.03448551520705223,
-0.03796195238828659,
-0.016424773260951042,
0.01874859444797039,
-0.013050583191215992,
-0.002141401870176196,
-0.032645050436258316,
-0.018348896875977516,
0.027198011055588722,
0.012464980594813824,
0.05696152150630951,
-0.04138261824846268,
-0.005061283707618713,
0.0028397103305906057,
-0.021193254739046097,
0.03054431453347206,
0.007254971656948328,
-0.0034276372753083706,
0.001904372009448707,
0.026156937703490257,
-0.010884781368076801,
-0.014760916121304035,
0.031585387885570526,
0.02680760808289051,
-0.06670298427343369,
-0.08046000450849533,
0.0037948009558022022,
-0.06146043911576271,
-0.03643752634525299,
0.008932771161198616,
-0.0542844757437706,
-0.023610029369592667,
0.014035883359611034,
-0.07272632420063019,
-0.024651100859045982,
-0.03071162849664688,
-0.05989883095026016,
-0.011870081536471844,
0.03346303477883339,
-0.0014396075857803226,
-0.03312840312719345,
-0.003025616053491831,
0.045063551515340805,
0.00762213533744216,
0.02684479020535946,
-0.029019886627793312,
-0.020970167592167854,
0.010652399621903896,
0.014119541272521019,
0.06268741935491562,
-0.02981928177177906,
-0.021620837971568108,
0.026324253529310226,
0.00234938389621675,
0.010819714516401291,
0.030841762199997902,
-0.07763423770666122,
-0.020468221977353096,
-0.07912148535251617,
0.0007331657689064741,
-0.01849762164056301,
0.005330847110599279,
0.0256178118288517,
0.005521400831639767,
0.03379766270518303,
-0.01942715048789978
]
|
29,343 | quart.app | create_url_adapter | Create and return a URL adapter.
This will create the adapter based on the request if present
otherwise the app configuration.
| def create_url_adapter(self, request: BaseRequestWebsocket | None) -> MapAdapter | None:
"""Create and return a URL adapter.
This will create the adapter based on the request if present
otherwise the app configuration.
"""
if request is not None:
subdomain = (
(self.url_map.default_subdomain or None) if not self.subdomain_matching else None
)
return self.url_map.bind_to_request( # type: ignore[attr-defined]
request, subdomain, self.config["SERVER_NAME"]
)
if self.config["SERVER_NAME"] is not None:
scheme = "https" if self.config["PREFER_SECURE_URLS"] else "http"
return self.url_map.bind(self.config["SERVER_NAME"], url_scheme=scheme)
return None
| (self, request: quart.wrappers.base.BaseRequestWebsocket | None) -> werkzeug.routing.map.MapAdapter | None | [
0.016898807138204575,
-0.05651283636689186,
-0.03141232952475548,
0.0008526236633770168,
-0.038861751556396484,
0.014284170232713223,
-0.013045658357441425,
0.05009092390537262,
-0.057320162653923035,
0.0064265006221830845,
0.027320655062794685,
0.04355892166495323,
0.037981029599905014,
0.033650826662778854,
0.022513393312692642,
0.01637587882578373,
0.01729329489171505,
0.008215461857616901,
0.018183188512921333,
-0.05867794156074524,
-0.006243017036467791,
-0.01875198632478714,
0.03205452114343643,
0.028806868940591812,
-0.0460909903049469,
0.09555806964635849,
-0.022935405373573303,
0.023192280903458595,
0.02346750721335411,
-0.017742829397320747,
-0.03497190400958061,
0.013825462199747562,
0.0584210641682148,
0.020274898037314415,
0.03304533287882805,
0.029816025868058205,
-0.007031995337456465,
0.03409118577837944,
-0.05955865979194641,
-0.052989959716796875,
0.04260480776429176,
-0.0399259515106678,
0.035063646733760834,
0.008486099541187286,
0.09467735141515732,
0.06987041980028152,
-0.08785177767276764,
0.03667829930782318,
0.013522714376449585,
0.004738454706966877,
-0.01946757175028324,
0.025430776178836823,
0.011293393559753895,
0.04363231360912323,
-0.046604741364717484,
0.05170557647943497,
-0.017146509140729904,
0.09585164487361908,
-0.0015527269570156932,
0.04818269982933998,
-0.04091676324605942,
0.015816254541277885,
0.013082355260848999,
0.030439870432019234,
-0.0011112203355878592,
-0.006467784289270639,
-0.05570551007986069,
-0.0015768090961501002,
-0.0006708605797030032,
0.024953721091151237,
0.08689766377210617,
0.019192347303032875,
-0.0614301897585392,
-0.020495077595114708,
0.025412429124116898,
0.005114595405757427,
0.057026591151952744,
-0.016430923715233803,
-0.030953623354434967,
-0.018238233402371407,
0.04968726262450218,
0.0037568192929029465,
0.008701692335307598,
-0.012421815656125546,
0.05838436633348465,
-0.020476728677749634,
-0.030861880630254745,
-0.0284215547144413,
-0.00914663914591074,
0.05045789107680321,
-0.07192543148994446,
-0.035192087292671204,
0.013256664387881756,
0.001435756334103644,
-0.02458675391972065,
-0.04201766103506088,
-0.05009092390537262,
-0.01767861098051071,
0.028641734272241592,
-0.03328385949134827,
0.030439870432019234,
-0.00016284137382172048,
-0.11273210495710373,
0.021614326164126396,
-0.016018087044358253,
-0.03432971239089966,
0.07328320294618607,
-0.01654101349413395,
-0.06557691097259521,
0.006408152170479298,
-0.0009489523945376277,
0.03271506354212761,
0.011330090463161469,
0.06898970156908035,
-0.07027407735586166,
0.03959568217396736,
-0.024201439693570137,
-0.0064265006221830845,
0.02908209338784218,
0.00937599316239357,
-0.10260383039712906,
0.08513621985912323,
-0.027871103957295418,
-0.03355908393859863,
0.03937550261616707,
-0.026568373665213585,
0.04337543621659279,
-0.01406399067491293,
0.012476860545575619,
-0.04359561949968338,
0.03539391607046127,
-0.011467702686786652,
-0.05302665755152702,
0.034237973392009735,
-0.023137236014008522,
0.017724480479955673,
0.0028921545017510653,
0.027357351034879684,
-0.049613866955041885,
0.07442080229520798,
-0.05651283636689186,
0.0009093888220377266,
0.012541079893708229,
0.008765911683440208,
0.025228945538401604,
-0.045283664017915726,
0.016513491049408913,
0.024311529472470284,
0.0025687653105705976,
-0.008330139331519604,
-0.024861978366971016,
0.006018250249326229,
-0.021063875406980515,
0.018247408792376518,
-0.025779394432902336,
-0.02704542875289917,
-0.030568307265639305,
0.03660490736365318,
0.03517373651266098,
-0.014256647787988186,
0.0009088154183700681,
0.009476909413933754,
-0.027283957228064537,
-0.042568109929561615,
-0.026274800300598145,
-0.022733572870492935,
0.0322563536465168,
-0.006568700075149536,
0.045613933354616165,
-0.017247425392270088,
-0.043155256658792496,
0.013926377519965172,
0.0037132420111447573,
-0.009596173651516438,
0.040659885853528976,
0.005421929527074099,
0.004999918397516012,
0.00571091566234827,
0.00793564971536398,
-0.008412706665694714,
0.0858701542019844,
0.014119035564363003,
-0.0005831326707266271,
0.01830245368182659,
0.002770596882328391,
0.02288036048412323,
0.002065333304926753,
0.02763257548213005,
-0.022201472893357277,
0.07298963516950607,
-0.023577596992254257,
-0.02212807908654213,
0.021394146606326103,
-0.07845743000507355,
-0.012293376959860325,
0.00563752232119441,
0.01888042502105236,
0.030054554343223572,
-0.05251290276646614,
0.034898512065410614,
-0.04385249316692352,
0.017605217173695564,
-0.025265641510486603,
0.037907637655735016,
0.0017098344396799803,
0.006174210924655199,
-0.016311660408973694,
-0.036990221589803696,
0.01866941899061203,
-0.0028921545017510653,
0.01466948539018631,
0.013440147042274475,
-0.028935307636857033,
-0.03724709898233414,
-0.02599957585334778,
0.003036647569388151,
-0.047522157430648804,
0.03166920691728592,
0.009476909413933754,
0.004080208484083414,
0.023265674710273743,
0.00966956652700901,
0.05295326188206673,
-0.01663275621831417,
0.03543061390519142,
-0.03480676934123039,
0.0160914808511734,
-0.0430084727704525,
-0.027559183537960052,
0.038237906992435455,
-0.008756737224757671,
-0.0029540802352130413,
0.054200947284698486,
0.0032637082040309906,
0.07177864015102386,
-0.004050392657518387,
0.010302583687007427,
-0.006568700075149536,
0.014467653818428516,
-0.009541128762066364,
0.016898807138204575,
0.07020068913698196,
-0.00935305841267109,
-0.00944021251052618,
-0.014027293771505356,
0.029944464564323425,
-0.052366115152835846,
0.01566946879029274,
-0.016394227743148804,
-0.028513295575976372,
0.017972182482481003,
0.0008715454023331404,
-0.010137449018657207,
-0.035944364964962006,
-0.025889486074447632,
-0.031100409105420113,
-0.03062335215508938,
0.05346701666712761,
-0.029577497392892838,
-0.009206271730363369,
-0.010174145922064781,
0.03563244640827179,
-0.018788684159517288,
-0.03108206018805504,
-0.05963205173611641,
-0.01608230546116829,
0.004690290428698063,
0.012963091023266315,
-0.0075411610305309296,
0.048696450889110565,
0.0982002317905426,
0.07254927605390549,
0.008123720064759254,
0.04018282890319824,
0.030054554343223572,
-0.0013658034149557352,
-0.013430973514914513,
-0.016953852027654648,
0.023192280903458595,
-0.06726495921611786,
-0.013513540849089622,
-0.028201373293995857,
0.00775216706097126,
0.025779394432902336,
-0.006559525616466999,
-0.05409085750579834,
-0.007880604825913906,
0.033577434718608856,
0.0050136796198785305,
-0.03735718876123428,
-0.034825120121240616,
-0.014825445599853992,
-0.041320424526929855,
0.08102619647979736,
-0.04704510420560837,
-0.006894382648169994,
0.04168739169836044,
0.04297177493572235,
0.04568732529878616,
0.027559183537960052,
-0.04792582243680954,
0.03860487416386604,
0.017201554030179977,
0.06748513877391815,
0.02750413678586483,
-0.03642142191529274,
-0.019889583811163902,
-0.002360053127631545,
0.004729280713945627,
0.008944807574152946,
-0.00009754714119480923,
0.013467669486999512,
-0.0018864370649680495,
0.004360020626336336,
0.0012889697682112455,
0.014137383550405502,
-0.0058255926705896854,
0.04987074434757233,
-0.013018135912716389,
0.07071444392204285,
-0.04829278960824013,
0.05354040861129761,
-0.0460175983607769,
0.0011972280917689204,
0.02671515941619873,
0.052989959716796875,
0.09555806964635849,
-0.007976934313774109,
-0.0030435281805694103,
0.011256696656346321,
-0.017816223204135895,
0.05739355832338333,
-0.05867794156074524,
-0.005559542216360569,
-0.046237777918577194,
-0.016100654378533363,
-0.04018282890319824,
-0.0001371823891531676,
-0.036109503358602524,
-0.018449239432811737,
-0.007004472892731428,
-0.01042184792459011,
-0.07335659861564636,
-0.001853180699981749,
-0.00975213386118412,
-0.06509985029697418,
-0.04671483114361763,
-0.006022837478667498,
-0.010541112162172794,
-0.00456414557993412,
-0.011724579147994518,
-0.04814600199460983,
-0.018201537430286407,
-0.008646647445857525,
0.05478809401392937,
-0.012430989183485508,
-0.035742536187171936,
-0.03513703867793083,
-0.007320981472730637,
0.016935503110289574,
0.017724480479955673,
0.00548156164586544,
0.0037086550146341324,
-0.0071558463387191296,
0.0014437837526202202,
-0.005018266849219799,
0.03278845548629761,
-0.01884372904896736,
0.034861814230680466,
-0.03539391607046127,
-0.02154093235731125,
0.012660343199968338,
0.029650891199707985,
0.026164710521697998,
0.0292105320841074,
-0.04476990923285484,
0.04363231360912323,
-0.013871332630515099,
-0.005926508456468582,
0.04062318801879883,
-0.009467734955251217,
0.04095345735549927,
0.027265610173344612,
0.030806835740804672,
-0.0006903556641191244,
-0.07001720368862152,
-0.0002646172360982746,
0.024348225444555283,
0.019687751308083534,
-0.015623598359525204,
-0.011825494468212128,
0.004550384357571602,
-0.034733377397060394,
0.03900853544473648,
-0.035650793462991714,
-0.03524713218212128,
-0.06726495921611786,
0.008926459588110447,
-0.005931095685809851,
0.021320752799510956,
0.044696517288684845,
-0.022274864837527275,
0.023742731660604477,
0.03258662298321724,
0.022513393312692642,
0.0010487213730812073,
0.046531349420547485,
0.09592504054307938,
0.02416474185883999,
-0.0430084727704525,
-0.023228978738188744,
-0.03113710507750511,
-0.0919618010520935,
-0.04521027207374573,
-0.051485396921634674,
-0.012476860545575619,
-0.016476795077323914,
0.03776085004210472,
-0.00933929719030857,
0.023228978738188744,
0.019229043275117874,
-0.003736177459359169,
-0.014788748696446419,
-0.004061860032379627,
0.00814665574580431,
-0.01360528264194727,
0.012430989183485508,
0.001569928484968841,
-0.039485592395067215,
-0.0014414902543649077,
0.019192347303032875,
-0.035026948899030685,
0.008417293429374695,
-0.09012696892023087,
0.041026853024959564,
0.02792614884674549,
0.04818269982933998,
0.028641734272241592,
0.002660506870597601,
-0.030238037928938866,
-0.03295359015464783,
-0.07515473663806915,
0.003215543692931533,
0.0005148998461663723,
0.03711865842342377,
0.004263691604137421,
-0.06788879632949829,
-0.04117364063858986,
-0.018485937267541885,
-0.053907375782728195,
-0.03201782703399658,
0.0004452335415408015,
0.03511869162321091,
0.002908209338784218,
-0.03480676934123039,
-0.06132009997963905,
0.029724285006523132,
-0.024238135665655136,
-0.021687718108296394,
0.026641765609383583,
0.05442113056778908,
-0.0160914808511734,
0.04851296916604042,
-0.03864157199859619,
-0.0059494441375136375,
0.09042054414749146,
0.037063613533973694,
-0.0020917088259011507,
0.0476689450442791,
-0.0027063777670264244,
-0.025082159787416458,
0.026439934968948364,
0.006183385383337736,
-0.008366835303604603,
-0.004770564381033182,
-0.002692616544663906,
0.010201668366789818,
0.036825086921453476,
0.038311298936605453,
0.02796284668147564,
-0.03403614088892937,
0.011440180242061615,
0.008242984302341938,
0.025100506842136383,
-0.018430892378091812,
-0.03258662298321724,
-0.02950410544872284,
-0.015972215682268143,
-0.024861978366971016,
0.0506780706346035,
-0.03563244640827179,
0.07816386222839355,
-0.0011060598772019148,
-0.0008870267774909735,
-0.029779329895973206,
0.03772415593266487,
0.01746760495007038,
0.006949427537620068,
0.055155061185359955,
-0.02759587951004505,
0.047448765486478806,
0.0006685670814476907,
-0.021192314103245735,
-0.010247538797557354,
-0.03711865842342377,
0.03937550261616707,
-0.057283468544483185,
0.04880654066801071,
-0.07581527531147003,
0.0035159976687282324,
-0.03908193111419678,
0.04297177493572235,
-0.02209138125181198,
0.0354122668504715,
-0.0013875920558348298,
0.003204076085239649,
-0.05262299254536629,
-0.013641978614032269,
-0.028164677321910858,
-0.04355892166495323,
0.04913681000471115,
0.06047607585787773,
0.05647614225745201,
-0.007527399808168411,
-0.012403466738760471,
0.0030320605728775263,
0.0004475270980037749,
0.027412395924329758,
0.0014070870820432901,
0.03603610768914223,
0.03172425180673599,
0.0000241359302890487,
-0.0026536262594163418,
0.02442161925137043,
0.06726495921611786,
0.026164710521697998,
-0.06374207884073257,
-0.018596027046442032,
-0.06209072843194008,
0.041357122361660004,
0.01725659891963005,
-0.007839321158826351,
-0.02900869958102703,
-0.07853082567453384,
-0.09262233972549438,
-0.017146509140729904,
-0.000621549494098872,
0.04649465158581734,
0.0041902982629835606,
-0.06730165332555771,
0.018568504601716995,
0.06333841383457184,
0.057540345937013626,
0.018953818827867508,
-0.01452269870787859,
-0.07618223875761032,
-0.031944431364536285,
0.003240772755816579,
-0.03258662298321724,
0.0018176308367401361,
-0.07610885053873062,
-0.017440082505345345,
-0.060072414577007294,
0.058824725449085236,
-0.05097164586186409,
0.031192149966955185,
-0.010183319449424744,
0.013972248882055283,
-0.013963074423372746,
0.0329352430999279,
0.020898740738630295,
-0.06319162994623184,
-0.023779427632689476,
0.021852854639291763,
-0.04708179831504822,
-0.013385102152824402,
0.013752068392932415,
-0.03009125217795372,
0.061870548874139786,
0.015623598359525204,
-0.03155911713838577,
0.08205370604991913,
-0.027118822559714317,
0.01142183132469654,
0.0018371259793639183,
-0.09350305795669556,
0.06686129420995712,
0.003706361399963498,
-0.02546747401356697,
-0.04029291868209839,
-0.05955865979194641,
-0.023559248074889183,
-0.05864124372601509,
0.028898609802126884,
0.005458626430481672,
-0.044696517288684845,
-0.04770564287900925,
-0.026898643001914024,
-0.02088039182126522,
0.01709146425127983,
-0.006467784289270639,
0.07012729346752167,
-0.011972281150519848,
-0.03504529967904091,
0.032898545265197754,
-0.01779787428677082,
-0.05310004949569702,
-0.008986091241240501,
-0.05464131012558937,
-0.05500827357172966,
0.0015286447014659643,
0.025614259764552116,
0.003933421801775694,
0.002807293552905321,
-0.027944497764110565,
-0.04385249316692352,
-0.051412004977464676,
0.06139349192380905,
0.007243000902235508,
-0.012082370929419994,
0.027705969288945198,
0.0009116823202930391,
0.01809144765138626,
0.04080667346715927,
-0.06054946780204773,
-0.008298029191792011,
0.044366247951984406,
0.007128323893994093,
-0.026623418554663658,
0.02596287801861763,
0.0460909903049469,
0.008224636316299438,
-0.002228174591436982,
-0.03871496394276619,
-0.007316394243389368,
0.03379761427640915,
0.02438492327928543,
-0.01096312329173088,
0.04205435886979103,
0.07860422134399414,
0.017183205112814903,
-0.004054979421198368,
0.08381514251232147,
-0.03196278214454651,
0.03838469460606575,
0.02212807908654213,
0.03478842228651047,
-0.018862077966332436,
-0.04245802015066147,
-0.01816484145820141,
-0.005986140575259924,
0.021449191495776176,
0.03988925740122795,
0.03462328761816025,
0.0429350771009922,
0.08139316737651825,
-0.03603610768914223,
0.014155731536448002,
-0.0003411641519051045,
-0.029816025868058205,
0.01999967359006405,
-0.002843990223482251,
0.019779494032263756,
-0.054200947284698486,
-0.00012127095396863297,
0.046274472028017044,
0.032109566032886505,
-0.011467702686786652,
0.003543520113453269,
-0.039155323058366776,
0.012440163642168045,
-0.017825396731495857,
-0.05122851952910423,
0.021027179434895515,
0.010229190811514854,
-0.06557691097259521,
-0.04421946033835411,
-0.03697187453508377,
-0.007866843603551388,
-0.029394015669822693,
-0.01512819342315197,
-0.02809128351509571,
0.013247489929199219,
0.04862305894494057,
0.011256696656346321,
-0.02550416998565197,
0.0429350771009922,
-0.04080667346715927,
-0.000331989984260872,
0.01746760495007038,
0.053577106446027756,
0.01671532355248928,
0.006532003171741962,
0.02409134991466999,
0.04231123626232147,
-0.03179764375090599,
-0.04341213405132294,
-0.07372356951236725,
0.0019105192041024566,
0.013174097053706646,
0.05680641159415245,
-0.044953394681215286,
-0.002727019600570202,
-0.013926377519965172,
0.015412592329084873,
-0.003947183024138212,
-0.011687882244586945,
-0.040696583688259125,
0.03521043434739113,
0.016063958406448364,
-0.03651316463947296,
-0.03555905073881149,
0.05809079483151436,
-0.030054554343223572,
-0.024439968168735504,
-0.007472354918718338,
-0.012073197402060032,
0.01655018888413906,
-0.01406399067491293,
0.0315040722489357,
0.0016203863779082894,
-0.06326501816511154,
0.056402746587991714,
-0.0008807195699773729,
0.033577434718608856,
-0.014082338660955429,
-0.0584210641682148,
-0.04954047501087189,
-0.05409085750579834,
-0.05001753196120262,
-0.048035912215709686,
0.005885224789381027,
-0.05295326188206673,
0.054567914456129074,
0.028861913830041885,
-0.004894415382295847,
-0.025192249566316605,
-0.024017956107854843,
-0.008509035222232342,
0.014926361851394176,
0.017660262063145638,
-0.048035912215709686,
0.0018038696143776178,
0.05680641159415245,
0.019412526860833168,
-0.00009511025564279407,
0.024953721091151237,
0.01692632958292961,
-0.00011517873645061627,
0.03587097302079201,
0.039192020893096924,
-0.009788830764591694,
-0.03247653320431709,
0.04664143919944763,
-0.07115480303764343,
-0.08220048993825912,
-0.004476991016417742,
0.011697056703269482,
-0.000336290366249159,
0.006660441402345896,
-0.030806835740804672,
0.08704444766044617,
0.05401746556162834,
-0.036274638026952744,
0.0058760507963597775,
0.03113710507750511,
0.023118888959288597,
-0.008820956572890282
]
|
29,345 | quart.app | dispatch_request | Dispatch the request to the view function.
Arguments:
request_context: The request context, optional as Flask
omits this argument.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, request_context: Optional[quart.ctx.RequestContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]]] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,346 | quart.app | dispatch_websocket | Dispatch the websocket to the view function.
Arguments:
websocket_context: The websocket context, optional to match
the Flask convention.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, websocket_context: Optional[quart.ctx.WebsocketContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], NoneType] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,347 | quart.app | do_teardown_appcontext | Teardown the app (context), calling the teardown functions. | def sync_to_async(self, func: Callable[P, T]) -> Callable[P, Awaitable[T]]:
"""Return a async function that will run the synchronous function *func*.
This can be used as so,::
result = await app.sync_to_async(func)(*args, **kwargs)
Override this method to change how the app converts sync code
to be asynchronously callable.
"""
return run_sync(func)
| (self, exc: BaseException | None) -> NoneType | [
0.0354452058672905,
-0.02815142646431923,
-0.040581926703453064,
0.052975863218307495,
0.0240018330514431,
0.006393481511622667,
-0.012622441165149212,
0.020364083349704742,
0.036359213292598724,
-0.06547948718070984,
0.009624497033655643,
-0.028827792033553123,
-0.02069312520325184,
-0.011233150027692318,
0.02520832233130932,
0.021954456344246864,
0.007951864041388035,
-0.03590220957994461,
-0.008957271464169025,
-0.02142433263361454,
0.03783990442752838,
0.029485875740647316,
0.0247147586196661,
-0.024093233048915863,
0.022831903770565987,
0.054328594356775284,
0.023544829338788986,
-0.028060024604201317,
-0.004270699340850115,
0.007599970791488886,
0.0838693156838417,
0.003955366555601358,
0.03451291844248772,
0.015995128080248833,
0.023800751194357872,
0.030271923169493675,
0.009158353321254253,
0.0623353011906147,
-0.10149137675762177,
-0.1189671978354454,
-0.01604996807873249,
-0.046321891248226166,
-0.0037428599316626787,
0.010291722603142262,
0.05527916178107262,
-0.011790694668889046,
0.00270546181127429,
-0.005346942692995071,
0.022612541913986206,
0.031697776168584824,
0.031076248735189438,
0.018051644787192345,
0.025464244186878204,
0.04149593412876129,
-0.020382363349199295,
0.04964887723326683,
-0.01612308993935585,
0.007714221719652414,
0.004921929445117712,
-0.0031373300589621067,
0.017411839216947556,
0.005237262230366468,
-0.013783230446279049,
-0.0008454567869193852,
0.008715059608221054,
0.01570264622569084,
-0.047967106103897095,
-0.0034298126120120287,
-0.0016989110736176372,
0.0063797710463404655,
-0.04559068754315376,
0.014130553230643272,
0.011105189099907875,
-0.034366674721241,
0.04526164382696152,
-0.011580472812056541,
0.007046996615827084,
0.023179225623607635,
-0.009816438890993595,
-0.006722523830831051,
-0.00528296222910285,
-0.003251580987125635,
0.041240010410547256,
-0.014779498800635338,
-0.03838830813765526,
-0.049246713519096375,
-0.03546348586678505,
-0.0333247072994709,
-0.07677661627531052,
-0.04317770525813103,
0.007951864041388035,
-0.02199101634323597,
-0.0030436443630605936,
0.013317086733877659,
-0.007956434041261673,
-0.018517788499593735,
0.002979663899168372,
-0.0386807918548584,
-0.03732806071639061,
-0.009153783321380615,
0.011955215595662594,
0.029467595741152763,
-0.030326763167977333,
-0.07202377915382385,
0.010328282602131367,
-0.060178242623806,
0.010501944459974766,
0.013874631375074387,
-0.054840441793203354,
0.014249374158680439,
-0.013024604879319668,
0.037291500717401505,
-0.036999017000198364,
0.021077008917927742,
0.01386549137532711,
0.030564405024051666,
-0.016790315508842468,
0.009798158891499043,
0.05209841951727867,
-0.0034640878438949585,
-0.04328738898038864,
0.050270404666662216,
-0.020364083349704742,
-0.034275274723768234,
-0.0026346261147409678,
0.07853151112794876,
0.033562351018190384,
0.039156075567007065,
-0.032063376158475876,
-0.01877371035516262,
0.012631581164896488,
0.016424711793661118,
0.017603781074285507,
0.014742937870323658,
0.04504228010773659,
-0.001273897709324956,
0.026469651609659195,
0.004627162124961615,
-0.00352806830778718,
0.07333994656801224,
-0.0322461798787117,
0.0218447744846344,
0.042227137833833694,
-0.0003847399493679404,
0.06719782203435898,
-0.006462031975388527,
-0.07502172142267227,
0.0016395006095990539,
-0.01992535963654518,
-0.022886743769049644,
0.05041664466261864,
-0.0008283191709779203,
0.012284258380532265,
0.026689013466238976,
-0.04665093496441841,
0.05615660920739174,
0.03222789987921715,
-0.03290426358580589,
0.07765406370162964,
-0.04683373495936394,
-0.07714221626520157,
0.01913931407034397,
0.05765558406710625,
-0.017923682928085327,
0.03765710070729256,
0.005296672694385052,
0.04749182239174843,
-0.03654201328754425,
-0.04292178526520729,
0.006608272902667522,
0.004592886660248041,
0.008418007753789425,
0.015419303439557552,
-0.025482524186372757,
0.09037704765796661,
-0.012905783951282501,
0.00528296222910285,
0.04127657040953636,
-0.028608430176973343,
0.02422119490802288,
0.034567758440971375,
-0.00287455297075212,
0.007668521720916033,
-0.004304974339902401,
0.004889939446002245,
0.054767318069934845,
0.0032721462193876505,
0.02142433263361454,
0.007855893112719059,
-0.05242745950818062,
-0.025884687900543213,
0.014752078801393509,
0.05970295891165733,
-0.015446724370121956,
-0.00439409026876092,
-0.052464019507169724,
-0.01754894107580185,
0.04167873412370682,
0.06346867233514786,
-0.029138553887605667,
0.048405829817056656,
-0.06412675231695175,
0.07611852884292603,
0.03853454813361168,
-0.04164217412471771,
-0.029504157602787018,
-0.014377335086464882,
-0.007668521720916033,
0.004677432589232922,
0.011489071883261204,
-0.007019576150923967,
-0.05001448094844818,
-0.022813623771071434,
-0.014761218801140785,
0.04507884010672569,
-0.02550080418586731,
0.04950263723731041,
0.03173433616757393,
0.05052632465958595,
0.038936711847782135,
0.016726333647966385,
0.006512302439659834,
-0.005040750373154879,
-0.019285554066300392,
0.017247319221496582,
-0.0006740803946740925,
-0.041093770414590836,
-0.03974103927612305,
-0.011872955597937107,
-0.019669437780976295,
-0.0035623435396701097,
-0.0018211596179753542,
0.03403763473033905,
0.0035006480757147074,
-0.012339099310338497,
-0.010273442603647709,
0.036925897002220154,
0.015766626223921776,
-0.0058862073346972466,
-0.017265599220991135,
0.018252726644277573,
0.02228349819779396,
0.033909671008586884,
0.032282739877700806,
-0.03383655101060867,
-0.0018737150821834803,
0.05816742777824402,
-0.0038456858601421118,
-0.0037725651636719704,
0.010437963530421257,
-0.052756503224372864,
0.005634855013340712,
-0.013655269518494606,
-0.012293398380279541,
-0.013874631375074387,
0.013454187661409378,
-0.021661974489688873,
-0.01776830293238163,
0.01479777880012989,
0.07604540884494781,
-0.00796557404100895,
-0.011187450028955936,
-0.030838606879115105,
0.02701805718243122,
0.003930231556296349,
-0.0558641292154789,
-0.04500572010874748,
0.004186153411865234,
0.018124764785170555,
0.05933735519647598,
0.0794820785522461,
0.0037405749317258596,
0.039229195564985275,
-0.039009831845760345,
-0.03502476215362549,
-0.02915683388710022,
-0.03515272215008736,
-0.03805926442146301,
0.007037856616079807,
-0.055498525500297546,
-0.030765486881136894,
-0.02178993448615074,
-0.03023536317050457,
-0.02520832233130932,
0.0013253106735646725,
-0.03734634071588516,
0.021954456344246864,
-0.04979512095451355,
0.012732122093439102,
0.008893291465938091,
0.04683373495936394,
-0.021095288917422295,
-0.01941351592540741,
-0.018609188497066498,
0.0013847211375832558,
0.010639045387506485,
-0.007778202183544636,
-0.03124077059328556,
0.02012644149363041,
-0.0680752694606781,
0.01680859550833702,
-0.020583445206284523,
-0.017969384789466858,
0.03376343101263046,
0.08613605052232742,
0.014678957872092724,
-0.07198721915483475,
-0.015172521583735943,
-0.07257217913866043,
0.0023832740262150764,
-0.06387083232402802,
-0.05253714323043823,
0.013326226733624935,
-0.009236044250428677,
-0.003247010987251997,
0.10492803901433945,
-0.02873639017343521,
0.034841958433389664,
0.03239241987466812,
0.02012644149363041,
-0.051623135805130005,
-0.00941427517682314,
0.050965048372745514,
0.028425628319382668,
-0.014541856944561005,
-0.06906239688396454,
0.0006380913546308875,
0.025135202333331108,
-0.027767542749643326,
0.08986520022153854,
-0.030838606879115105,
0.009281744249165058,
0.021460892632603645,
-0.0061147091910243034,
-0.036011889576911926,
0.040362562984228134,
0.018682310357689857,
-0.02630513161420822,
0.05396299436688423,
-0.000022207521396921948,
0.05553508549928665,
0.0035029330756515265,
0.04127657040953636,
0.02191789634525776,
-0.04292178526520729,
0.03109452873468399,
0.04880798980593681,
0.0019891085103154182,
0.025555644184350967,
-0.07962831854820251,
0.053122106939554214,
-0.006155839189887047,
-0.0837961956858635,
0.031990256160497665,
-0.018536068499088287,
0.07264530658721924,
0.036633413285017014,
-0.03387311100959778,
0.005223551765084267,
-0.10251506417989731,
0.00031590377329848707,
-0.014651537872850895,
0.05750934034585953,
-0.02299642376601696,
-0.02464163862168789,
0.04778430238366127,
-0.016287609934806824,
-0.017283879220485687,
-0.0012533325934782624,
0.047967106103897095,
-0.022118978202342987,
0.020290963351726532,
0.006306650582700968,
0.00916749332100153,
-0.026469651609659195,
0.006599132902920246,
-0.035774245858192444,
-0.012147157453000546,
-0.04935639724135399,
0.03193541616201401,
0.016086529940366745,
-0.010776146315038204,
0.051111288368701935,
-0.02529972232878208,
0.038497988134622574,
-0.01625104993581772,
0.029175113886594772,
-0.027913784608244896,
-0.06273746490478516,
0.0035372083075344563,
-0.019614597782492638,
0.02785894274711609,
-0.039667919278144836,
0.006868765223771334,
-0.008829310536384583,
-0.03487851843237877,
-0.021661974489688873,
0.025135202333331108,
0.047747742384672165,
-0.05962983891367912,
-0.02279534377157688,
-0.017219897359609604,
0.13527308404445648,
0.02981491945683956,
0.018289286643266678,
0.003813695628196001,
-0.004599742125719786,
-0.05268338322639465,
0.0102094616740942,
0.04219057783484459,
-0.03626780956983566,
-0.061567533761262894,
-0.021113568916916847,
-0.03423871472477913,
0.03765710070729256,
0.03802270442247391,
-0.04189809784293175,
-0.030418163165450096,
-0.008641939610242844,
-0.010410543531179428,
0.014834338799118996,
0.03167949244379997,
-0.013371927663683891,
0.03933887556195259,
0.036633413285017014,
0.002744307043030858,
0.0966654121875763,
0.03074720688164234,
-0.05988575890660286,
0.02162541262805462,
0.06438267976045609,
-0.004432935733348131,
0.008550538681447506,
0.016534391790628433,
0.005333232693374157,
0.024806158617138863,
0.04240994155406952,
0.032648343592882156,
0.03685277700424194,
0.03023536317050457,
-0.005520604085177183,
0.04456699639558792,
-0.0458466075360775,
-0.03846142813563347,
0.0652235597372055,
-0.0523177795112133,
-0.033982791006565094,
0.03202681615948677,
0.07677661627531052,
0.01999847963452339,
-0.015739206224679947,
0.06105569005012512,
-0.00008561678259866312,
0.039156075567007065,
0.004867088980972767,
0.01578490622341633,
0.02599436789751053,
-0.036505453288555145,
-0.0759722888469696,
-0.0023489987943321466,
0.0007454872247762978,
-0.020035041496157646,
-0.0096701979637146,
-0.036925897002220154,
-0.00814837496727705,
0.05008760094642639,
0.02922995388507843,
0.012403079308569431,
-0.05078224837779999,
-0.023800751194357872,
0.02007160149514675,
-0.05495012179017067,
0.00974331796169281,
0.0018737150821834803,
0.024824438616633415,
0.03634093329310417,
-0.013883771374821663,
0.01482519879937172,
-0.0045426166616380215,
0.0054017831571400166,
-0.06504075974225998,
0.03325158730149269,
-0.03458603844046593,
0.09929775446653366,
-0.011525632813572884,
0.009158353321254253,
0.05765558406710625,
-0.014030012302100658,
0.02078452706336975,
-0.06412675231695175,
-0.017137637361884117,
0.03747430071234703,
0.07008608430624008,
-0.010547644458711147,
-0.0045723216608166695,
-0.014276794157922268,
-0.03411075472831726,
0.008829310536384583,
0.014487016014754772,
0.02372763119637966,
0.04957575723528862,
0.02751162089407444,
-0.003761140163987875,
0.038571108132600784,
-0.0006443751626648009,
-0.012174577452242374,
-0.0903039276599884,
-0.037437740713357925,
-0.05217153951525688,
0.013710110448300838,
-0.016351591795682907,
0.014806918799877167,
-0.057326540350914,
-0.0329773835837841,
0.01661665365099907,
0.011772414669394493,
-0.009108083322644234,
-0.07425395399332047,
-0.013052024878561497,
-0.054986681789159775,
-0.006082718726247549,
-0.0064300415106117725,
-0.026561053469777107,
0.03645061329007149,
0.0005626857746392488,
-0.0372549407184124,
0.02056516520678997,
-0.027475060895085335,
-0.04204433783888817,
-0.030765486881136894,
0.016726333647966385,
0.024330874904990196,
0.03469571843743324,
-0.018124764785170555,
0.03619468957185745,
0.011982636526226997,
-0.07249905914068222,
0.005991318263113499,
-0.017210757359862328,
-0.0023627090267837048,
-0.04690685495734215,
0.031277332454919815,
0.020528605207800865,
0.03732806071639061,
-0.009469116106629372,
0.001489831949584186,
-0.00044614981743507087,
0.007942724041640759,
-0.05268338322639465,
0.0032150207553058863,
-0.04884455353021622,
-0.0063797710463404655,
0.06679565459489822,
-0.0026094908826053143,
-0.04635845124721527,
-0.047309018671512604,
0.0008426005369983613,
-0.019651157781481743,
-0.010840127244591713,
-0.026963217183947563,
0.004220428876578808,
0.024477116763591766,
-0.060946010053157806,
0.014413896016776562,
-0.016708053648471832,
0.04398203268647194,
0.06968391686677933,
0.04895423352718353,
-0.04193465784192085,
-0.05593724921345711,
0.0193403959274292,
-0.005031610373407602,
0.02621372975409031,
0.00011425091361161321,
-0.0020633714739233255,
0.046175651252269745,
0.09520300477743149,
-0.05487700179219246,
0.005004190374165773,
-0.0623353011906147,
-0.06789246201515198,
-0.013189125806093216,
0.031003128737211227,
-0.009158353321254253,
-0.028242826461791992,
-0.01963287778198719,
0.017978524789214134,
0.040801286697387695,
-0.019797399640083313,
-0.05761902406811714,
-0.024056673049926758,
0.019578037783503532,
0.007083556614816189,
-0.030271923169493675,
0.05546196550130844,
-0.03604844957590103,
-0.03827862814068794,
0.04548100382089615,
0.01912103407084942,
-0.026963217183947563,
-0.0240018330514431,
0.025811567902565002,
-0.021387770771980286,
0.0020530889742076397,
0.03409247472882271,
-0.0006809354526922107,
-0.06131161376833916,
-0.08401555567979813,
0.016040828078985214,
0.019815679639577866,
-0.00952395610511303,
0.0594835989177227,
-0.0060644387267529964,
-0.03383655101060867,
0.07611852884292603,
-0.00938685517758131,
-0.09966336190700531,
-0.005040750373154879,
-0.0021204969380050898,
0.028827792033553123,
0.016644073650240898,
0.009240614250302315,
0.023032985627651215,
0.006219820119440556,
-0.012622441165149212,
0.03381827101111412,
-0.03685277700424194,
-0.03524412214756012,
-0.0024403994902968407,
-0.08394243568181992,
-0.028480468317866325,
0.012695562094449997,
0.06105569005012512,
0.026981497183442116,
0.07692285627126694,
-0.10799910873174667,
-0.05129409208893776,
0.04621221125125885,
0.0027260268107056618,
-0.02763958089053631,
0.020729687064886093,
-0.020309243351221085,
0.00787874311208725,
-0.020400643348693848,
0.03963135927915573,
-0.021077008917927742,
0.003203595755621791,
-0.006009598262608051,
0.01164445374161005,
-0.05034352466464043,
-0.04021632298827171,
0.051184412091970444,
0.009615357033908367,
0.02314266562461853,
-0.040728166699409485,
0.02091248705983162,
-0.024202914908528328,
-0.06931831687688828,
0.03875391185283661,
-0.02699977718293667,
-0.03451291844248772,
-0.024733038619160652,
-0.04902735352516174,
-0.002833422739058733,
-0.0009071522508747876,
0.039229195564985275,
-0.05209841951727867,
-0.001136796665377915,
-0.014669817872345448,
-0.04687029495835304,
0.04763806238770485,
0.03411075472831726,
-0.006781934294849634,
-0.009290884248912334,
-0.0105659244582057,
0.026396531611680984,
-0.0157574862241745,
-0.012988043949007988,
-0.03144185245037079,
0.033288147300481796,
-0.03762054070830345,
-0.00785132311284542,
-0.04522508382797241,
0.002415264490991831,
-0.07421739399433136,
0.03072892688214779,
0.011242290027439594,
-0.06262778490781784,
0.024385714903473854,
-0.021387770771980286,
0.028389068320393562,
0.008582528680562973,
-0.02915683388710022,
-0.012914923951029778,
0.0023946992587298155,
0.017466681078076363,
-0.020546885207295418,
-0.00900754239410162,
0.0250803604722023,
0.03709041699767113,
0.02621372975409031,
-0.039082951843738556,
-0.023745911195874214,
0.01666235364973545,
0.03365375101566315,
0.022246938198804855,
-0.02414807304739952,
0.01830756664276123,
-0.03515272215008736,
0.06796558201313019,
-0.008189505897462368,
-0.021406052634119987,
0.0094965361058712,
-0.02873639017343521,
0.013499888591468334,
-0.019961919635534286,
0.0035509185399860144,
-0.02785894274711609,
0.009071522392332554,
-0.0032904264517128468,
-0.088841512799263,
-0.04387235268950462,
0.031917136162519455,
-0.054547958076000214,
0.05845990777015686,
0.005378933157771826,
-0.01877371035516262,
0.03559144586324692,
-0.03518928214907646,
0.028480468317866325,
0.01762206107378006,
0.025098640471696854,
-0.004067332483828068,
0.028242826461791992,
0.028553588315844536,
0.026268571615219116,
-0.0136187095195055,
-0.006512302439659834,
-0.1354193240404129,
-0.03222789987921715,
0.007472009863704443,
-0.022959863767027855,
0.021899616345763206,
0.023197505623102188,
0.08057888597249985,
-0.041093770414590836,
0.029851479455828667,
0.014368195086717606,
0.023544829338788986,
-0.022959863767027855,
0.05937391519546509,
0.05601036921143532,
-0.051184412091970444,
0.04134969040751457,
0.007037856616079807,
0.004227283876389265,
0.011763274669647217,
0.023270627483725548,
-0.02442227676510811,
-0.001485261949710548,
-0.04741869866847992,
-0.003767995163798332,
0.004432935733348131,
-0.038790471851825714,
-0.016177929937839508,
-0.0059867482632398605,
-0.008084394969046116,
0.018901672214269638
]
|
29,348 | quart.app | do_teardown_request | Teardown the request, calling the teardown functions.
Arguments:
exc: Any exception not handled that has caused the request
to teardown.
request_context: The request context, optional as Flask
omits this argument.
| def sync_to_async(self, func: Callable[P, T]) -> Callable[P, Awaitable[T]]:
"""Return a async function that will run the synchronous function *func*.
This can be used as so,::
result = await app.sync_to_async(func)(*args, **kwargs)
Override this method to change how the app converts sync code
to be asynchronously callable.
"""
return run_sync(func)
| (self, exc: BaseException | None, request_context: Optional[quart.ctx.RequestContext] = None) -> NoneType | [
0.0354452058672905,
-0.02815142646431923,
-0.040581926703453064,
0.052975863218307495,
0.0240018330514431,
0.006393481511622667,
-0.012622441165149212,
0.020364083349704742,
0.036359213292598724,
-0.06547948718070984,
0.009624497033655643,
-0.028827792033553123,
-0.02069312520325184,
-0.011233150027692318,
0.02520832233130932,
0.021954456344246864,
0.007951864041388035,
-0.03590220957994461,
-0.008957271464169025,
-0.02142433263361454,
0.03783990442752838,
0.029485875740647316,
0.0247147586196661,
-0.024093233048915863,
0.022831903770565987,
0.054328594356775284,
0.023544829338788986,
-0.028060024604201317,
-0.004270699340850115,
0.007599970791488886,
0.0838693156838417,
0.003955366555601358,
0.03451291844248772,
0.015995128080248833,
0.023800751194357872,
0.030271923169493675,
0.009158353321254253,
0.0623353011906147,
-0.10149137675762177,
-0.1189671978354454,
-0.01604996807873249,
-0.046321891248226166,
-0.0037428599316626787,
0.010291722603142262,
0.05527916178107262,
-0.011790694668889046,
0.00270546181127429,
-0.005346942692995071,
0.022612541913986206,
0.031697776168584824,
0.031076248735189438,
0.018051644787192345,
0.025464244186878204,
0.04149593412876129,
-0.020382363349199295,
0.04964887723326683,
-0.01612308993935585,
0.007714221719652414,
0.004921929445117712,
-0.0031373300589621067,
0.017411839216947556,
0.005237262230366468,
-0.013783230446279049,
-0.0008454567869193852,
0.008715059608221054,
0.01570264622569084,
-0.047967106103897095,
-0.0034298126120120287,
-0.0016989110736176372,
0.0063797710463404655,
-0.04559068754315376,
0.014130553230643272,
0.011105189099907875,
-0.034366674721241,
0.04526164382696152,
-0.011580472812056541,
0.007046996615827084,
0.023179225623607635,
-0.009816438890993595,
-0.006722523830831051,
-0.00528296222910285,
-0.003251580987125635,
0.041240010410547256,
-0.014779498800635338,
-0.03838830813765526,
-0.049246713519096375,
-0.03546348586678505,
-0.0333247072994709,
-0.07677661627531052,
-0.04317770525813103,
0.007951864041388035,
-0.02199101634323597,
-0.0030436443630605936,
0.013317086733877659,
-0.007956434041261673,
-0.018517788499593735,
0.002979663899168372,
-0.0386807918548584,
-0.03732806071639061,
-0.009153783321380615,
0.011955215595662594,
0.029467595741152763,
-0.030326763167977333,
-0.07202377915382385,
0.010328282602131367,
-0.060178242623806,
0.010501944459974766,
0.013874631375074387,
-0.054840441793203354,
0.014249374158680439,
-0.013024604879319668,
0.037291500717401505,
-0.036999017000198364,
0.021077008917927742,
0.01386549137532711,
0.030564405024051666,
-0.016790315508842468,
0.009798158891499043,
0.05209841951727867,
-0.0034640878438949585,
-0.04328738898038864,
0.050270404666662216,
-0.020364083349704742,
-0.034275274723768234,
-0.0026346261147409678,
0.07853151112794876,
0.033562351018190384,
0.039156075567007065,
-0.032063376158475876,
-0.01877371035516262,
0.012631581164896488,
0.016424711793661118,
0.017603781074285507,
0.014742937870323658,
0.04504228010773659,
-0.001273897709324956,
0.026469651609659195,
0.004627162124961615,
-0.00352806830778718,
0.07333994656801224,
-0.0322461798787117,
0.0218447744846344,
0.042227137833833694,
-0.0003847399493679404,
0.06719782203435898,
-0.006462031975388527,
-0.07502172142267227,
0.0016395006095990539,
-0.01992535963654518,
-0.022886743769049644,
0.05041664466261864,
-0.0008283191709779203,
0.012284258380532265,
0.026689013466238976,
-0.04665093496441841,
0.05615660920739174,
0.03222789987921715,
-0.03290426358580589,
0.07765406370162964,
-0.04683373495936394,
-0.07714221626520157,
0.01913931407034397,
0.05765558406710625,
-0.017923682928085327,
0.03765710070729256,
0.005296672694385052,
0.04749182239174843,
-0.03654201328754425,
-0.04292178526520729,
0.006608272902667522,
0.004592886660248041,
0.008418007753789425,
0.015419303439557552,
-0.025482524186372757,
0.09037704765796661,
-0.012905783951282501,
0.00528296222910285,
0.04127657040953636,
-0.028608430176973343,
0.02422119490802288,
0.034567758440971375,
-0.00287455297075212,
0.007668521720916033,
-0.004304974339902401,
0.004889939446002245,
0.054767318069934845,
0.0032721462193876505,
0.02142433263361454,
0.007855893112719059,
-0.05242745950818062,
-0.025884687900543213,
0.014752078801393509,
0.05970295891165733,
-0.015446724370121956,
-0.00439409026876092,
-0.052464019507169724,
-0.01754894107580185,
0.04167873412370682,
0.06346867233514786,
-0.029138553887605667,
0.048405829817056656,
-0.06412675231695175,
0.07611852884292603,
0.03853454813361168,
-0.04164217412471771,
-0.029504157602787018,
-0.014377335086464882,
-0.007668521720916033,
0.004677432589232922,
0.011489071883261204,
-0.007019576150923967,
-0.05001448094844818,
-0.022813623771071434,
-0.014761218801140785,
0.04507884010672569,
-0.02550080418586731,
0.04950263723731041,
0.03173433616757393,
0.05052632465958595,
0.038936711847782135,
0.016726333647966385,
0.006512302439659834,
-0.005040750373154879,
-0.019285554066300392,
0.017247319221496582,
-0.0006740803946740925,
-0.041093770414590836,
-0.03974103927612305,
-0.011872955597937107,
-0.019669437780976295,
-0.0035623435396701097,
-0.0018211596179753542,
0.03403763473033905,
0.0035006480757147074,
-0.012339099310338497,
-0.010273442603647709,
0.036925897002220154,
0.015766626223921776,
-0.0058862073346972466,
-0.017265599220991135,
0.018252726644277573,
0.02228349819779396,
0.033909671008586884,
0.032282739877700806,
-0.03383655101060867,
-0.0018737150821834803,
0.05816742777824402,
-0.0038456858601421118,
-0.0037725651636719704,
0.010437963530421257,
-0.052756503224372864,
0.005634855013340712,
-0.013655269518494606,
-0.012293398380279541,
-0.013874631375074387,
0.013454187661409378,
-0.021661974489688873,
-0.01776830293238163,
0.01479777880012989,
0.07604540884494781,
-0.00796557404100895,
-0.011187450028955936,
-0.030838606879115105,
0.02701805718243122,
0.003930231556296349,
-0.0558641292154789,
-0.04500572010874748,
0.004186153411865234,
0.018124764785170555,
0.05933735519647598,
0.0794820785522461,
0.0037405749317258596,
0.039229195564985275,
-0.039009831845760345,
-0.03502476215362549,
-0.02915683388710022,
-0.03515272215008736,
-0.03805926442146301,
0.007037856616079807,
-0.055498525500297546,
-0.030765486881136894,
-0.02178993448615074,
-0.03023536317050457,
-0.02520832233130932,
0.0013253106735646725,
-0.03734634071588516,
0.021954456344246864,
-0.04979512095451355,
0.012732122093439102,
0.008893291465938091,
0.04683373495936394,
-0.021095288917422295,
-0.01941351592540741,
-0.018609188497066498,
0.0013847211375832558,
0.010639045387506485,
-0.007778202183544636,
-0.03124077059328556,
0.02012644149363041,
-0.0680752694606781,
0.01680859550833702,
-0.020583445206284523,
-0.017969384789466858,
0.03376343101263046,
0.08613605052232742,
0.014678957872092724,
-0.07198721915483475,
-0.015172521583735943,
-0.07257217913866043,
0.0023832740262150764,
-0.06387083232402802,
-0.05253714323043823,
0.013326226733624935,
-0.009236044250428677,
-0.003247010987251997,
0.10492803901433945,
-0.02873639017343521,
0.034841958433389664,
0.03239241987466812,
0.02012644149363041,
-0.051623135805130005,
-0.00941427517682314,
0.050965048372745514,
0.028425628319382668,
-0.014541856944561005,
-0.06906239688396454,
0.0006380913546308875,
0.025135202333331108,
-0.027767542749643326,
0.08986520022153854,
-0.030838606879115105,
0.009281744249165058,
0.021460892632603645,
-0.0061147091910243034,
-0.036011889576911926,
0.040362562984228134,
0.018682310357689857,
-0.02630513161420822,
0.05396299436688423,
-0.000022207521396921948,
0.05553508549928665,
0.0035029330756515265,
0.04127657040953636,
0.02191789634525776,
-0.04292178526520729,
0.03109452873468399,
0.04880798980593681,
0.0019891085103154182,
0.025555644184350967,
-0.07962831854820251,
0.053122106939554214,
-0.006155839189887047,
-0.0837961956858635,
0.031990256160497665,
-0.018536068499088287,
0.07264530658721924,
0.036633413285017014,
-0.03387311100959778,
0.005223551765084267,
-0.10251506417989731,
0.00031590377329848707,
-0.014651537872850895,
0.05750934034585953,
-0.02299642376601696,
-0.02464163862168789,
0.04778430238366127,
-0.016287609934806824,
-0.017283879220485687,
-0.0012533325934782624,
0.047967106103897095,
-0.022118978202342987,
0.020290963351726532,
0.006306650582700968,
0.00916749332100153,
-0.026469651609659195,
0.006599132902920246,
-0.035774245858192444,
-0.012147157453000546,
-0.04935639724135399,
0.03193541616201401,
0.016086529940366745,
-0.010776146315038204,
0.051111288368701935,
-0.02529972232878208,
0.038497988134622574,
-0.01625104993581772,
0.029175113886594772,
-0.027913784608244896,
-0.06273746490478516,
0.0035372083075344563,
-0.019614597782492638,
0.02785894274711609,
-0.039667919278144836,
0.006868765223771334,
-0.008829310536384583,
-0.03487851843237877,
-0.021661974489688873,
0.025135202333331108,
0.047747742384672165,
-0.05962983891367912,
-0.02279534377157688,
-0.017219897359609604,
0.13527308404445648,
0.02981491945683956,
0.018289286643266678,
0.003813695628196001,
-0.004599742125719786,
-0.05268338322639465,
0.0102094616740942,
0.04219057783484459,
-0.03626780956983566,
-0.061567533761262894,
-0.021113568916916847,
-0.03423871472477913,
0.03765710070729256,
0.03802270442247391,
-0.04189809784293175,
-0.030418163165450096,
-0.008641939610242844,
-0.010410543531179428,
0.014834338799118996,
0.03167949244379997,
-0.013371927663683891,
0.03933887556195259,
0.036633413285017014,
0.002744307043030858,
0.0966654121875763,
0.03074720688164234,
-0.05988575890660286,
0.02162541262805462,
0.06438267976045609,
-0.004432935733348131,
0.008550538681447506,
0.016534391790628433,
0.005333232693374157,
0.024806158617138863,
0.04240994155406952,
0.032648343592882156,
0.03685277700424194,
0.03023536317050457,
-0.005520604085177183,
0.04456699639558792,
-0.0458466075360775,
-0.03846142813563347,
0.0652235597372055,
-0.0523177795112133,
-0.033982791006565094,
0.03202681615948677,
0.07677661627531052,
0.01999847963452339,
-0.015739206224679947,
0.06105569005012512,
-0.00008561678259866312,
0.039156075567007065,
0.004867088980972767,
0.01578490622341633,
0.02599436789751053,
-0.036505453288555145,
-0.0759722888469696,
-0.0023489987943321466,
0.0007454872247762978,
-0.020035041496157646,
-0.0096701979637146,
-0.036925897002220154,
-0.00814837496727705,
0.05008760094642639,
0.02922995388507843,
0.012403079308569431,
-0.05078224837779999,
-0.023800751194357872,
0.02007160149514675,
-0.05495012179017067,
0.00974331796169281,
0.0018737150821834803,
0.024824438616633415,
0.03634093329310417,
-0.013883771374821663,
0.01482519879937172,
-0.0045426166616380215,
0.0054017831571400166,
-0.06504075974225998,
0.03325158730149269,
-0.03458603844046593,
0.09929775446653366,
-0.011525632813572884,
0.009158353321254253,
0.05765558406710625,
-0.014030012302100658,
0.02078452706336975,
-0.06412675231695175,
-0.017137637361884117,
0.03747430071234703,
0.07008608430624008,
-0.010547644458711147,
-0.0045723216608166695,
-0.014276794157922268,
-0.03411075472831726,
0.008829310536384583,
0.014487016014754772,
0.02372763119637966,
0.04957575723528862,
0.02751162089407444,
-0.003761140163987875,
0.038571108132600784,
-0.0006443751626648009,
-0.012174577452242374,
-0.0903039276599884,
-0.037437740713357925,
-0.05217153951525688,
0.013710110448300838,
-0.016351591795682907,
0.014806918799877167,
-0.057326540350914,
-0.0329773835837841,
0.01661665365099907,
0.011772414669394493,
-0.009108083322644234,
-0.07425395399332047,
-0.013052024878561497,
-0.054986681789159775,
-0.006082718726247549,
-0.0064300415106117725,
-0.026561053469777107,
0.03645061329007149,
0.0005626857746392488,
-0.0372549407184124,
0.02056516520678997,
-0.027475060895085335,
-0.04204433783888817,
-0.030765486881136894,
0.016726333647966385,
0.024330874904990196,
0.03469571843743324,
-0.018124764785170555,
0.03619468957185745,
0.011982636526226997,
-0.07249905914068222,
0.005991318263113499,
-0.017210757359862328,
-0.0023627090267837048,
-0.04690685495734215,
0.031277332454919815,
0.020528605207800865,
0.03732806071639061,
-0.009469116106629372,
0.001489831949584186,
-0.00044614981743507087,
0.007942724041640759,
-0.05268338322639465,
0.0032150207553058863,
-0.04884455353021622,
-0.0063797710463404655,
0.06679565459489822,
-0.0026094908826053143,
-0.04635845124721527,
-0.047309018671512604,
0.0008426005369983613,
-0.019651157781481743,
-0.010840127244591713,
-0.026963217183947563,
0.004220428876578808,
0.024477116763591766,
-0.060946010053157806,
0.014413896016776562,
-0.016708053648471832,
0.04398203268647194,
0.06968391686677933,
0.04895423352718353,
-0.04193465784192085,
-0.05593724921345711,
0.0193403959274292,
-0.005031610373407602,
0.02621372975409031,
0.00011425091361161321,
-0.0020633714739233255,
0.046175651252269745,
0.09520300477743149,
-0.05487700179219246,
0.005004190374165773,
-0.0623353011906147,
-0.06789246201515198,
-0.013189125806093216,
0.031003128737211227,
-0.009158353321254253,
-0.028242826461791992,
-0.01963287778198719,
0.017978524789214134,
0.040801286697387695,
-0.019797399640083313,
-0.05761902406811714,
-0.024056673049926758,
0.019578037783503532,
0.007083556614816189,
-0.030271923169493675,
0.05546196550130844,
-0.03604844957590103,
-0.03827862814068794,
0.04548100382089615,
0.01912103407084942,
-0.026963217183947563,
-0.0240018330514431,
0.025811567902565002,
-0.021387770771980286,
0.0020530889742076397,
0.03409247472882271,
-0.0006809354526922107,
-0.06131161376833916,
-0.08401555567979813,
0.016040828078985214,
0.019815679639577866,
-0.00952395610511303,
0.0594835989177227,
-0.0060644387267529964,
-0.03383655101060867,
0.07611852884292603,
-0.00938685517758131,
-0.09966336190700531,
-0.005040750373154879,
-0.0021204969380050898,
0.028827792033553123,
0.016644073650240898,
0.009240614250302315,
0.023032985627651215,
0.006219820119440556,
-0.012622441165149212,
0.03381827101111412,
-0.03685277700424194,
-0.03524412214756012,
-0.0024403994902968407,
-0.08394243568181992,
-0.028480468317866325,
0.012695562094449997,
0.06105569005012512,
0.026981497183442116,
0.07692285627126694,
-0.10799910873174667,
-0.05129409208893776,
0.04621221125125885,
0.0027260268107056618,
-0.02763958089053631,
0.020729687064886093,
-0.020309243351221085,
0.00787874311208725,
-0.020400643348693848,
0.03963135927915573,
-0.021077008917927742,
0.003203595755621791,
-0.006009598262608051,
0.01164445374161005,
-0.05034352466464043,
-0.04021632298827171,
0.051184412091970444,
0.009615357033908367,
0.02314266562461853,
-0.040728166699409485,
0.02091248705983162,
-0.024202914908528328,
-0.06931831687688828,
0.03875391185283661,
-0.02699977718293667,
-0.03451291844248772,
-0.024733038619160652,
-0.04902735352516174,
-0.002833422739058733,
-0.0009071522508747876,
0.039229195564985275,
-0.05209841951727867,
-0.001136796665377915,
-0.014669817872345448,
-0.04687029495835304,
0.04763806238770485,
0.03411075472831726,
-0.006781934294849634,
-0.009290884248912334,
-0.0105659244582057,
0.026396531611680984,
-0.0157574862241745,
-0.012988043949007988,
-0.03144185245037079,
0.033288147300481796,
-0.03762054070830345,
-0.00785132311284542,
-0.04522508382797241,
0.002415264490991831,
-0.07421739399433136,
0.03072892688214779,
0.011242290027439594,
-0.06262778490781784,
0.024385714903473854,
-0.021387770771980286,
0.028389068320393562,
0.008582528680562973,
-0.02915683388710022,
-0.012914923951029778,
0.0023946992587298155,
0.017466681078076363,
-0.020546885207295418,
-0.00900754239410162,
0.0250803604722023,
0.03709041699767113,
0.02621372975409031,
-0.039082951843738556,
-0.023745911195874214,
0.01666235364973545,
0.03365375101566315,
0.022246938198804855,
-0.02414807304739952,
0.01830756664276123,
-0.03515272215008736,
0.06796558201313019,
-0.008189505897462368,
-0.021406052634119987,
0.0094965361058712,
-0.02873639017343521,
0.013499888591468334,
-0.019961919635534286,
0.0035509185399860144,
-0.02785894274711609,
0.009071522392332554,
-0.0032904264517128468,
-0.088841512799263,
-0.04387235268950462,
0.031917136162519455,
-0.054547958076000214,
0.05845990777015686,
0.005378933157771826,
-0.01877371035516262,
0.03559144586324692,
-0.03518928214907646,
0.028480468317866325,
0.01762206107378006,
0.025098640471696854,
-0.004067332483828068,
0.028242826461791992,
0.028553588315844536,
0.026268571615219116,
-0.0136187095195055,
-0.006512302439659834,
-0.1354193240404129,
-0.03222789987921715,
0.007472009863704443,
-0.022959863767027855,
0.021899616345763206,
0.023197505623102188,
0.08057888597249985,
-0.041093770414590836,
0.029851479455828667,
0.014368195086717606,
0.023544829338788986,
-0.022959863767027855,
0.05937391519546509,
0.05601036921143532,
-0.051184412091970444,
0.04134969040751457,
0.007037856616079807,
0.004227283876389265,
0.011763274669647217,
0.023270627483725548,
-0.02442227676510811,
-0.001485261949710548,
-0.04741869866847992,
-0.003767995163798332,
0.004432935733348131,
-0.038790471851825714,
-0.016177929937839508,
-0.0059867482632398605,
-0.008084394969046116,
0.018901672214269638
]
|
29,349 | quart.app | do_teardown_websocket | Teardown the websocket, calling the teardown functions.
Arguments:
exc: Any exception not handled that has caused the websocket
to teardown.
websocket_context: The websocket context, optional as Flask
omits this argument.
| def sync_to_async(self, func: Callable[P, T]) -> Callable[P, Awaitable[T]]:
"""Return a async function that will run the synchronous function *func*.
This can be used as so,::
result = await app.sync_to_async(func)(*args, **kwargs)
Override this method to change how the app converts sync code
to be asynchronously callable.
"""
return run_sync(func)
| (self, exc: BaseException | None, websocket_context: Optional[quart.ctx.WebsocketContext] = None) -> NoneType | [
0.0354452058672905,
-0.02815142646431923,
-0.040581926703453064,
0.052975863218307495,
0.0240018330514431,
0.006393481511622667,
-0.012622441165149212,
0.020364083349704742,
0.036359213292598724,
-0.06547948718070984,
0.009624497033655643,
-0.028827792033553123,
-0.02069312520325184,
-0.011233150027692318,
0.02520832233130932,
0.021954456344246864,
0.007951864041388035,
-0.03590220957994461,
-0.008957271464169025,
-0.02142433263361454,
0.03783990442752838,
0.029485875740647316,
0.0247147586196661,
-0.024093233048915863,
0.022831903770565987,
0.054328594356775284,
0.023544829338788986,
-0.028060024604201317,
-0.004270699340850115,
0.007599970791488886,
0.0838693156838417,
0.003955366555601358,
0.03451291844248772,
0.015995128080248833,
0.023800751194357872,
0.030271923169493675,
0.009158353321254253,
0.0623353011906147,
-0.10149137675762177,
-0.1189671978354454,
-0.01604996807873249,
-0.046321891248226166,
-0.0037428599316626787,
0.010291722603142262,
0.05527916178107262,
-0.011790694668889046,
0.00270546181127429,
-0.005346942692995071,
0.022612541913986206,
0.031697776168584824,
0.031076248735189438,
0.018051644787192345,
0.025464244186878204,
0.04149593412876129,
-0.020382363349199295,
0.04964887723326683,
-0.01612308993935585,
0.007714221719652414,
0.004921929445117712,
-0.0031373300589621067,
0.017411839216947556,
0.005237262230366468,
-0.013783230446279049,
-0.0008454567869193852,
0.008715059608221054,
0.01570264622569084,
-0.047967106103897095,
-0.0034298126120120287,
-0.0016989110736176372,
0.0063797710463404655,
-0.04559068754315376,
0.014130553230643272,
0.011105189099907875,
-0.034366674721241,
0.04526164382696152,
-0.011580472812056541,
0.007046996615827084,
0.023179225623607635,
-0.009816438890993595,
-0.006722523830831051,
-0.00528296222910285,
-0.003251580987125635,
0.041240010410547256,
-0.014779498800635338,
-0.03838830813765526,
-0.049246713519096375,
-0.03546348586678505,
-0.0333247072994709,
-0.07677661627531052,
-0.04317770525813103,
0.007951864041388035,
-0.02199101634323597,
-0.0030436443630605936,
0.013317086733877659,
-0.007956434041261673,
-0.018517788499593735,
0.002979663899168372,
-0.0386807918548584,
-0.03732806071639061,
-0.009153783321380615,
0.011955215595662594,
0.029467595741152763,
-0.030326763167977333,
-0.07202377915382385,
0.010328282602131367,
-0.060178242623806,
0.010501944459974766,
0.013874631375074387,
-0.054840441793203354,
0.014249374158680439,
-0.013024604879319668,
0.037291500717401505,
-0.036999017000198364,
0.021077008917927742,
0.01386549137532711,
0.030564405024051666,
-0.016790315508842468,
0.009798158891499043,
0.05209841951727867,
-0.0034640878438949585,
-0.04328738898038864,
0.050270404666662216,
-0.020364083349704742,
-0.034275274723768234,
-0.0026346261147409678,
0.07853151112794876,
0.033562351018190384,
0.039156075567007065,
-0.032063376158475876,
-0.01877371035516262,
0.012631581164896488,
0.016424711793661118,
0.017603781074285507,
0.014742937870323658,
0.04504228010773659,
-0.001273897709324956,
0.026469651609659195,
0.004627162124961615,
-0.00352806830778718,
0.07333994656801224,
-0.0322461798787117,
0.0218447744846344,
0.042227137833833694,
-0.0003847399493679404,
0.06719782203435898,
-0.006462031975388527,
-0.07502172142267227,
0.0016395006095990539,
-0.01992535963654518,
-0.022886743769049644,
0.05041664466261864,
-0.0008283191709779203,
0.012284258380532265,
0.026689013466238976,
-0.04665093496441841,
0.05615660920739174,
0.03222789987921715,
-0.03290426358580589,
0.07765406370162964,
-0.04683373495936394,
-0.07714221626520157,
0.01913931407034397,
0.05765558406710625,
-0.017923682928085327,
0.03765710070729256,
0.005296672694385052,
0.04749182239174843,
-0.03654201328754425,
-0.04292178526520729,
0.006608272902667522,
0.004592886660248041,
0.008418007753789425,
0.015419303439557552,
-0.025482524186372757,
0.09037704765796661,
-0.012905783951282501,
0.00528296222910285,
0.04127657040953636,
-0.028608430176973343,
0.02422119490802288,
0.034567758440971375,
-0.00287455297075212,
0.007668521720916033,
-0.004304974339902401,
0.004889939446002245,
0.054767318069934845,
0.0032721462193876505,
0.02142433263361454,
0.007855893112719059,
-0.05242745950818062,
-0.025884687900543213,
0.014752078801393509,
0.05970295891165733,
-0.015446724370121956,
-0.00439409026876092,
-0.052464019507169724,
-0.01754894107580185,
0.04167873412370682,
0.06346867233514786,
-0.029138553887605667,
0.048405829817056656,
-0.06412675231695175,
0.07611852884292603,
0.03853454813361168,
-0.04164217412471771,
-0.029504157602787018,
-0.014377335086464882,
-0.007668521720916033,
0.004677432589232922,
0.011489071883261204,
-0.007019576150923967,
-0.05001448094844818,
-0.022813623771071434,
-0.014761218801140785,
0.04507884010672569,
-0.02550080418586731,
0.04950263723731041,
0.03173433616757393,
0.05052632465958595,
0.038936711847782135,
0.016726333647966385,
0.006512302439659834,
-0.005040750373154879,
-0.019285554066300392,
0.017247319221496582,
-0.0006740803946740925,
-0.041093770414590836,
-0.03974103927612305,
-0.011872955597937107,
-0.019669437780976295,
-0.0035623435396701097,
-0.0018211596179753542,
0.03403763473033905,
0.0035006480757147074,
-0.012339099310338497,
-0.010273442603647709,
0.036925897002220154,
0.015766626223921776,
-0.0058862073346972466,
-0.017265599220991135,
0.018252726644277573,
0.02228349819779396,
0.033909671008586884,
0.032282739877700806,
-0.03383655101060867,
-0.0018737150821834803,
0.05816742777824402,
-0.0038456858601421118,
-0.0037725651636719704,
0.010437963530421257,
-0.052756503224372864,
0.005634855013340712,
-0.013655269518494606,
-0.012293398380279541,
-0.013874631375074387,
0.013454187661409378,
-0.021661974489688873,
-0.01776830293238163,
0.01479777880012989,
0.07604540884494781,
-0.00796557404100895,
-0.011187450028955936,
-0.030838606879115105,
0.02701805718243122,
0.003930231556296349,
-0.0558641292154789,
-0.04500572010874748,
0.004186153411865234,
0.018124764785170555,
0.05933735519647598,
0.0794820785522461,
0.0037405749317258596,
0.039229195564985275,
-0.039009831845760345,
-0.03502476215362549,
-0.02915683388710022,
-0.03515272215008736,
-0.03805926442146301,
0.007037856616079807,
-0.055498525500297546,
-0.030765486881136894,
-0.02178993448615074,
-0.03023536317050457,
-0.02520832233130932,
0.0013253106735646725,
-0.03734634071588516,
0.021954456344246864,
-0.04979512095451355,
0.012732122093439102,
0.008893291465938091,
0.04683373495936394,
-0.021095288917422295,
-0.01941351592540741,
-0.018609188497066498,
0.0013847211375832558,
0.010639045387506485,
-0.007778202183544636,
-0.03124077059328556,
0.02012644149363041,
-0.0680752694606781,
0.01680859550833702,
-0.020583445206284523,
-0.017969384789466858,
0.03376343101263046,
0.08613605052232742,
0.014678957872092724,
-0.07198721915483475,
-0.015172521583735943,
-0.07257217913866043,
0.0023832740262150764,
-0.06387083232402802,
-0.05253714323043823,
0.013326226733624935,
-0.009236044250428677,
-0.003247010987251997,
0.10492803901433945,
-0.02873639017343521,
0.034841958433389664,
0.03239241987466812,
0.02012644149363041,
-0.051623135805130005,
-0.00941427517682314,
0.050965048372745514,
0.028425628319382668,
-0.014541856944561005,
-0.06906239688396454,
0.0006380913546308875,
0.025135202333331108,
-0.027767542749643326,
0.08986520022153854,
-0.030838606879115105,
0.009281744249165058,
0.021460892632603645,
-0.0061147091910243034,
-0.036011889576911926,
0.040362562984228134,
0.018682310357689857,
-0.02630513161420822,
0.05396299436688423,
-0.000022207521396921948,
0.05553508549928665,
0.0035029330756515265,
0.04127657040953636,
0.02191789634525776,
-0.04292178526520729,
0.03109452873468399,
0.04880798980593681,
0.0019891085103154182,
0.025555644184350967,
-0.07962831854820251,
0.053122106939554214,
-0.006155839189887047,
-0.0837961956858635,
0.031990256160497665,
-0.018536068499088287,
0.07264530658721924,
0.036633413285017014,
-0.03387311100959778,
0.005223551765084267,
-0.10251506417989731,
0.00031590377329848707,
-0.014651537872850895,
0.05750934034585953,
-0.02299642376601696,
-0.02464163862168789,
0.04778430238366127,
-0.016287609934806824,
-0.017283879220485687,
-0.0012533325934782624,
0.047967106103897095,
-0.022118978202342987,
0.020290963351726532,
0.006306650582700968,
0.00916749332100153,
-0.026469651609659195,
0.006599132902920246,
-0.035774245858192444,
-0.012147157453000546,
-0.04935639724135399,
0.03193541616201401,
0.016086529940366745,
-0.010776146315038204,
0.051111288368701935,
-0.02529972232878208,
0.038497988134622574,
-0.01625104993581772,
0.029175113886594772,
-0.027913784608244896,
-0.06273746490478516,
0.0035372083075344563,
-0.019614597782492638,
0.02785894274711609,
-0.039667919278144836,
0.006868765223771334,
-0.008829310536384583,
-0.03487851843237877,
-0.021661974489688873,
0.025135202333331108,
0.047747742384672165,
-0.05962983891367912,
-0.02279534377157688,
-0.017219897359609604,
0.13527308404445648,
0.02981491945683956,
0.018289286643266678,
0.003813695628196001,
-0.004599742125719786,
-0.05268338322639465,
0.0102094616740942,
0.04219057783484459,
-0.03626780956983566,
-0.061567533761262894,
-0.021113568916916847,
-0.03423871472477913,
0.03765710070729256,
0.03802270442247391,
-0.04189809784293175,
-0.030418163165450096,
-0.008641939610242844,
-0.010410543531179428,
0.014834338799118996,
0.03167949244379997,
-0.013371927663683891,
0.03933887556195259,
0.036633413285017014,
0.002744307043030858,
0.0966654121875763,
0.03074720688164234,
-0.05988575890660286,
0.02162541262805462,
0.06438267976045609,
-0.004432935733348131,
0.008550538681447506,
0.016534391790628433,
0.005333232693374157,
0.024806158617138863,
0.04240994155406952,
0.032648343592882156,
0.03685277700424194,
0.03023536317050457,
-0.005520604085177183,
0.04456699639558792,
-0.0458466075360775,
-0.03846142813563347,
0.0652235597372055,
-0.0523177795112133,
-0.033982791006565094,
0.03202681615948677,
0.07677661627531052,
0.01999847963452339,
-0.015739206224679947,
0.06105569005012512,
-0.00008561678259866312,
0.039156075567007065,
0.004867088980972767,
0.01578490622341633,
0.02599436789751053,
-0.036505453288555145,
-0.0759722888469696,
-0.0023489987943321466,
0.0007454872247762978,
-0.020035041496157646,
-0.0096701979637146,
-0.036925897002220154,
-0.00814837496727705,
0.05008760094642639,
0.02922995388507843,
0.012403079308569431,
-0.05078224837779999,
-0.023800751194357872,
0.02007160149514675,
-0.05495012179017067,
0.00974331796169281,
0.0018737150821834803,
0.024824438616633415,
0.03634093329310417,
-0.013883771374821663,
0.01482519879937172,
-0.0045426166616380215,
0.0054017831571400166,
-0.06504075974225998,
0.03325158730149269,
-0.03458603844046593,
0.09929775446653366,
-0.011525632813572884,
0.009158353321254253,
0.05765558406710625,
-0.014030012302100658,
0.02078452706336975,
-0.06412675231695175,
-0.017137637361884117,
0.03747430071234703,
0.07008608430624008,
-0.010547644458711147,
-0.0045723216608166695,
-0.014276794157922268,
-0.03411075472831726,
0.008829310536384583,
0.014487016014754772,
0.02372763119637966,
0.04957575723528862,
0.02751162089407444,
-0.003761140163987875,
0.038571108132600784,
-0.0006443751626648009,
-0.012174577452242374,
-0.0903039276599884,
-0.037437740713357925,
-0.05217153951525688,
0.013710110448300838,
-0.016351591795682907,
0.014806918799877167,
-0.057326540350914,
-0.0329773835837841,
0.01661665365099907,
0.011772414669394493,
-0.009108083322644234,
-0.07425395399332047,
-0.013052024878561497,
-0.054986681789159775,
-0.006082718726247549,
-0.0064300415106117725,
-0.026561053469777107,
0.03645061329007149,
0.0005626857746392488,
-0.0372549407184124,
0.02056516520678997,
-0.027475060895085335,
-0.04204433783888817,
-0.030765486881136894,
0.016726333647966385,
0.024330874904990196,
0.03469571843743324,
-0.018124764785170555,
0.03619468957185745,
0.011982636526226997,
-0.07249905914068222,
0.005991318263113499,
-0.017210757359862328,
-0.0023627090267837048,
-0.04690685495734215,
0.031277332454919815,
0.020528605207800865,
0.03732806071639061,
-0.009469116106629372,
0.001489831949584186,
-0.00044614981743507087,
0.007942724041640759,
-0.05268338322639465,
0.0032150207553058863,
-0.04884455353021622,
-0.0063797710463404655,
0.06679565459489822,
-0.0026094908826053143,
-0.04635845124721527,
-0.047309018671512604,
0.0008426005369983613,
-0.019651157781481743,
-0.010840127244591713,
-0.026963217183947563,
0.004220428876578808,
0.024477116763591766,
-0.060946010053157806,
0.014413896016776562,
-0.016708053648471832,
0.04398203268647194,
0.06968391686677933,
0.04895423352718353,
-0.04193465784192085,
-0.05593724921345711,
0.0193403959274292,
-0.005031610373407602,
0.02621372975409031,
0.00011425091361161321,
-0.0020633714739233255,
0.046175651252269745,
0.09520300477743149,
-0.05487700179219246,
0.005004190374165773,
-0.0623353011906147,
-0.06789246201515198,
-0.013189125806093216,
0.031003128737211227,
-0.009158353321254253,
-0.028242826461791992,
-0.01963287778198719,
0.017978524789214134,
0.040801286697387695,
-0.019797399640083313,
-0.05761902406811714,
-0.024056673049926758,
0.019578037783503532,
0.007083556614816189,
-0.030271923169493675,
0.05546196550130844,
-0.03604844957590103,
-0.03827862814068794,
0.04548100382089615,
0.01912103407084942,
-0.026963217183947563,
-0.0240018330514431,
0.025811567902565002,
-0.021387770771980286,
0.0020530889742076397,
0.03409247472882271,
-0.0006809354526922107,
-0.06131161376833916,
-0.08401555567979813,
0.016040828078985214,
0.019815679639577866,
-0.00952395610511303,
0.0594835989177227,
-0.0060644387267529964,
-0.03383655101060867,
0.07611852884292603,
-0.00938685517758131,
-0.09966336190700531,
-0.005040750373154879,
-0.0021204969380050898,
0.028827792033553123,
0.016644073650240898,
0.009240614250302315,
0.023032985627651215,
0.006219820119440556,
-0.012622441165149212,
0.03381827101111412,
-0.03685277700424194,
-0.03524412214756012,
-0.0024403994902968407,
-0.08394243568181992,
-0.028480468317866325,
0.012695562094449997,
0.06105569005012512,
0.026981497183442116,
0.07692285627126694,
-0.10799910873174667,
-0.05129409208893776,
0.04621221125125885,
0.0027260268107056618,
-0.02763958089053631,
0.020729687064886093,
-0.020309243351221085,
0.00787874311208725,
-0.020400643348693848,
0.03963135927915573,
-0.021077008917927742,
0.003203595755621791,
-0.006009598262608051,
0.01164445374161005,
-0.05034352466464043,
-0.04021632298827171,
0.051184412091970444,
0.009615357033908367,
0.02314266562461853,
-0.040728166699409485,
0.02091248705983162,
-0.024202914908528328,
-0.06931831687688828,
0.03875391185283661,
-0.02699977718293667,
-0.03451291844248772,
-0.024733038619160652,
-0.04902735352516174,
-0.002833422739058733,
-0.0009071522508747876,
0.039229195564985275,
-0.05209841951727867,
-0.001136796665377915,
-0.014669817872345448,
-0.04687029495835304,
0.04763806238770485,
0.03411075472831726,
-0.006781934294849634,
-0.009290884248912334,
-0.0105659244582057,
0.026396531611680984,
-0.0157574862241745,
-0.012988043949007988,
-0.03144185245037079,
0.033288147300481796,
-0.03762054070830345,
-0.00785132311284542,
-0.04522508382797241,
0.002415264490991831,
-0.07421739399433136,
0.03072892688214779,
0.011242290027439594,
-0.06262778490781784,
0.024385714903473854,
-0.021387770771980286,
0.028389068320393562,
0.008582528680562973,
-0.02915683388710022,
-0.012914923951029778,
0.0023946992587298155,
0.017466681078076363,
-0.020546885207295418,
-0.00900754239410162,
0.0250803604722023,
0.03709041699767113,
0.02621372975409031,
-0.039082951843738556,
-0.023745911195874214,
0.01666235364973545,
0.03365375101566315,
0.022246938198804855,
-0.02414807304739952,
0.01830756664276123,
-0.03515272215008736,
0.06796558201313019,
-0.008189505897462368,
-0.021406052634119987,
0.0094965361058712,
-0.02873639017343521,
0.013499888591468334,
-0.019961919635534286,
0.0035509185399860144,
-0.02785894274711609,
0.009071522392332554,
-0.0032904264517128468,
-0.088841512799263,
-0.04387235268950462,
0.031917136162519455,
-0.054547958076000214,
0.05845990777015686,
0.005378933157771826,
-0.01877371035516262,
0.03559144586324692,
-0.03518928214907646,
0.028480468317866325,
0.01762206107378006,
0.025098640471696854,
-0.004067332483828068,
0.028242826461791992,
0.028553588315844536,
0.026268571615219116,
-0.0136187095195055,
-0.006512302439659834,
-0.1354193240404129,
-0.03222789987921715,
0.007472009863704443,
-0.022959863767027855,
0.021899616345763206,
0.023197505623102188,
0.08057888597249985,
-0.041093770414590836,
0.029851479455828667,
0.014368195086717606,
0.023544829338788986,
-0.022959863767027855,
0.05937391519546509,
0.05601036921143532,
-0.051184412091970444,
0.04134969040751457,
0.007037856616079807,
0.004227283876389265,
0.011763274669647217,
0.023270627483725548,
-0.02442227676510811,
-0.001485261949710548,
-0.04741869866847992,
-0.003767995163798332,
0.004432935733348131,
-0.038790471851825714,
-0.016177929937839508,
-0.0059867482632398605,
-0.008084394969046116,
0.018901672214269638
]
|
29,351 | quart.app | ensure_async | Ensure that the returned func is async and calls the func.
.. versionadded:: 0.11
Override if you wish to change how synchronous functions are
run. Before Quart 0.11 this did not run the synchronous code
in an executor.
| def ensure_async(
self, func: Union[Callable[P, Awaitable[T]], Callable[P, T]]
) -> Callable[P, Awaitable[T]]:
"""Ensure that the returned func is async and calls the func.
.. versionadded:: 0.11
Override if you wish to change how synchronous functions are
run. Before Quart 0.11 this did not run the synchronous code
in an executor.
"""
if asyncio.iscoroutinefunction(func):
return func
else:
return self.sync_to_async(cast(Callable[P, T], func))
| (self, func: Union[Callable[~P, Awaitable[~T]], Callable[~P, ~T]]) -> Callable[~P, Awaitable[~T]] | [
0.025598367676138878,
-0.027994731441140175,
-0.025431178510189056,
0.014461777172982693,
-0.0032810678239911795,
0.03278745710849762,
0.01959816925227642,
-0.007342347409576178,
-0.0007227405440062284,
-0.046701230108737946,
0.017749810591340065,
0.02221745066344738,
-0.006543559487909079,
-0.024669544771313667,
0.014164553955197334,
0.04462066665291786,
0.02232890948653221,
-0.036056917160749435,
-0.0010147393913939595,
-0.036038339138031006,
0.008744870312511921,
0.03568538650870323,
0.018622905015945435,
-0.04350607842206955,
0.017916999757289886,
0.07921004295349121,
0.024335168302059174,
0.005846941843628883,
0.01836283504962921,
0.02754889614880085,
0.06992180645465851,
0.032397352159023285,
0.021530121564865112,
0.04016231372952461,
0.0412025973200798,
0.05498633161187172,
0.0016718817641958594,
0.04365469142794609,
-0.08872119337320328,
-0.09473996609449387,
-0.028644906356930733,
-0.026805836707353592,
0.003666529431939125,
-0.023647839203476906,
0.0424286425113678,
-0.02208741568028927,
0.010969402268528938,
-0.004665014334022999,
-0.0037594118621200323,
0.017294688150286674,
0.05223701521754265,
0.010848654434084892,
0.05387174338102341,
0.05056513473391533,
-0.018715787678956985,
0.048484571278095245,
-0.011693883687257767,
0.014053095132112503,
0.01794486492872238,
0.010830078274011612,
0.00796930305659771,
0.02310912124812603,
-0.051902640610933304,
-0.028923554345965385,
0.0018274596659466624,
-0.015492770820856094,
-0.04190850257873535,
-0.022886203601956367,
0.0005276876618154347,
0.030465399846434593,
-0.04469497129321098,
0.05145680531859398,
0.004674302879720926,
-0.044732123613357544,
0.05238562822341919,
-0.03934495151042938,
-0.021845921874046326,
0.014276012778282166,
-0.013477224856615067,
-0.01161957811564207,
0.004488538019359112,
0.02847771905362606,
0.03373485803604126,
-0.030391095206141472,
-0.03557392954826355,
-0.0390477254986763,
-0.03286176547408104,
-0.009882679209113121,
-0.05532070994377136,
-0.06386588513851166,
0.014536082744598389,
-0.05060228705406189,
0.02312769740819931,
-0.018678633496165276,
0.0067107477225363255,
0.008340831845998764,
-0.007885708473622799,
-0.05944468453526497,
-0.041351206600666046,
-0.005298936273902655,
-0.014712559059262276,
0.05658390745520592,
0.013923059217631817,
-0.044137679040431976,
0.03938210383057594,
-0.03750587999820709,
-0.00189131626393646,
0.04343177378177643,
-0.019226640462875366,
-0.026155661791563034,
-0.0062649124301970005,
-0.013235730119049549,
-0.0069290208630263805,
0.03555535152554512,
0.029759494587779045,
-0.024520931765437126,
-0.048410262912511826,
-0.014313165098428726,
0.018390698358416557,
0.010625737719237804,
-0.03800744563341141,
0.015223411843180656,
-0.012697013095021248,
-0.028960706666111946,
0.034180693328380585,
0.05179117992520332,
0.009919831529259682,
0.028143342584371567,
-0.05621238052845001,
-0.020619874820113182,
0.0276417788118124,
0.03295464813709259,
0.017434012144804,
0.008591614663600922,
0.02675010822713375,
0.015102664940059185,
0.03845328092575073,
0.05089950934052467,
-0.031412798911333084,
0.020898520946502686,
-0.020099733024835587,
0.008944567292928696,
0.009826949797570705,
-0.03223016485571861,
0.05342590808868408,
0.014675406739115715,
-0.07055340707302094,
-0.0258584376424551,
-0.027920424938201904,
-0.049562007188797,
0.04528941959142685,
-0.0285334475338459,
-0.00706834439188242,
0.011638154275715351,
-0.007300550118088722,
0.0114988312125206,
0.0185393113642931,
-0.006418168079108,
0.05075090005993843,
-0.020991403609514236,
-0.03555535152554512,
0.023759298026561737,
0.040496692061424255,
-0.009622608311474323,
0.029722342267632484,
0.009650472551584244,
0.01948671042919159,
-0.05275715887546539,
-0.0064367447048425674,
0.01603148877620697,
0.0034482560586184263,
0.02212456800043583,
0.03384631872177124,
0.0061302329413592815,
0.042131420224905014,
-0.04060814902186394,
-0.0032717797439545393,
0.04443490132689476,
-0.022050263360142708,
-0.012204736471176147,
0.045809559524059296,
-0.00641352403908968,
0.012186160311102867,
-0.0023325071670114994,
0.01586429961025715,
0.0638287290930748,
0.0034668324515223503,
0.007644214667379856,
-0.022793320938944817,
-0.054577652364969254,
-0.07883851230144501,
0.03464510664343834,
0.05959329754114151,
-0.02936938963830471,
0.03393919765949249,
-0.04443490132689476,
-0.01334718894213438,
0.057215508073568344,
0.049227628856897354,
0.010458549484610558,
0.06925305724143982,
-0.06275129318237305,
0.0830739438533783,
0.036930009722709656,
-0.04172273725271225,
-0.02030407451093197,
-0.01779625192284584,
-0.0043561807833611965,
-0.019133757799863815,
0.018752939999103546,
-0.02565409615635872,
-0.03011244721710682,
-0.06468324363231659,
-0.008247950114309788,
0.019895393401384354,
-0.010969402268528938,
0.0392334908246994,
0.029796648770570755,
0.014043807052075863,
0.06862145662307739,
0.042242877185344696,
0.01821422204375267,
0.014601100236177444,
-0.035072363913059235,
0.051048122346401215,
0.01151740737259388,
-0.023592108860611916,
-0.004665014334022999,
-0.0032880341168493032,
0.004233111627399921,
-0.0018727397546172142,
0.0356668122112751,
0.02942511811852455,
0.0056797536090016365,
-0.03735726699233055,
0.010328513570129871,
0.04339461773633957,
0.025115378201007843,
-0.022756168618798256,
-0.01331932470202446,
-0.021975956857204437,
0.013597971759736538,
0.008912058547139168,
0.05405750870704651,
-0.03797029331326485,
-0.0016010589897632599,
0.03273173049092293,
-0.012789895758032799,
-0.009938407689332962,
0.011861071921885014,
-0.061005108058452606,
0.01601291261613369,
-0.022440368309617043,
-0.025505485013127327,
-0.03284318745136261,
0.015827147290110588,
-0.010579296387732029,
-0.06687527149915695,
0.02039695717394352,
0.07029333710670471,
-0.004811304155737162,
-0.015232699923217297,
-0.02496676705777645,
0.05944468453526497,
-0.003675817744806409,
-0.05773564800620079,
-0.014015941880643368,
-0.01722967065870762,
-0.021845921874046326,
0.05702974274754524,
0.004017160274088383,
-0.02048983983695507,
0.05855301395058632,
-0.036762822419404984,
0.002407974097877741,
-0.0024590594694018364,
-0.04540087655186653,
-0.03494232892990112,
0.02580270729959011,
-0.055395014584064484,
-0.0169417355209589,
0.017517605796456337,
-0.01330074854195118,
-0.02938796579837799,
-0.02212456800043583,
-0.028161918744444847,
-0.028607754036784172,
-0.05933322384953499,
0.016170810908079147,
0.0077278087846934795,
0.014015941880643368,
-0.0477786660194397,
-0.02496676705777645,
-0.0014419980579987168,
0.021511545404791832,
0.008354764431715012,
0.013040677644312382,
-0.02847771905362606,
0.031598564237356186,
-0.07523468136787415,
-0.005122459959238768,
-0.03410638868808746,
-0.01735970564186573,
0.04339461773633957,
0.1123504564166069,
0.004969203844666481,
-0.08649201691150665,
-0.01239050179719925,
-0.07928434759378433,
0.001902926480397582,
-0.05227416753768921,
-0.026973025873303413,
-0.005828365683555603,
0.016951022669672966,
0.03659563511610031,
0.11145878583192825,
-0.029945259913802147,
0.025356873869895935,
0.016858140006661415,
-0.013142848387360573,
-0.056472450494766235,
-0.005470768548548222,
0.07516036927700043,
0.000013687443242815789,
-0.05966760218143463,
-0.05357452109456062,
-0.022050263360142708,
0.019115181639790535,
-0.027121637016534805,
0.12349633127450943,
-0.07638642191886902,
0.012102565728127956,
0.026285696774721146,
0.003000098979100585,
-0.046552617102861404,
0.056472450494766235,
-0.0022814220283180475,
-0.01204683631658554,
0.07854128628969193,
-0.003993939608335495,
0.04945054650306702,
0.020805640146136284,
0.04677553474903107,
0.003304288489744067,
-0.02127005159854889,
0.0038848030380904675,
0.05253424122929573,
-0.010412108153104782,
0.045921020209789276,
-0.06962458789348602,
0.03750587999820709,
-0.014378182590007782,
-0.06535200029611588,
0.004983136430382729,
-0.04629254713654518,
0.04239149019122124,
0.0535002164542675,
-0.0019656221847981215,
0.0029234709218144417,
-0.08448575437068939,
0.01941240392625332,
-0.03315898776054382,
0.038527585566043854,
0.002816656371578574,
-0.021753039211034775,
0.05420612171292305,
0.025356873869895935,
-0.019208064302802086,
-0.02472527325153351,
0.05138250067830086,
0.011833207681775093,
0.029165048152208328,
0.009436843916773796,
-0.032601695507764816,
-0.043914761394262314,
0.030502554029226303,
-0.04536372423171997,
-0.01474042423069477,
-0.0057494156062603,
0.009260367602109909,
0.04112829267978668,
-0.030929813161492348,
-0.004829880781471729,
-0.06308566778898239,
0.04915332421660423,
-0.022384637966752052,
-0.011145878583192825,
0.0016858141170814633,
-0.06891868263483047,
0.013430783525109291,
-0.01830710470676422,
0.06122802570462227,
-0.009947696700692177,
0.0035295281559228897,
0.00009070539090316743,
-0.009158196859061718,
-0.02387075684964657,
0.013142848387360573,
0.04528941959142685,
-0.03797029331326485,
-0.025245415046811104,
0.020136887207627296,
0.13887764513492584,
0.0392334908246994,
0.015743553638458252,
0.02834768407046795,
-0.022514674812555313,
-0.0445835143327713,
0.036930009722709656,
0.025375450029969215,
-0.030038142576813698,
-0.04090537503361702,
0.0014094891957938671,
-0.03371628001332283,
0.008568393997848034,
0.028719212859869003,
-0.020898520946502686,
-0.014118112623691559,
-0.008995652198791504,
-0.010152037255465984,
-0.01857646368443966,
0.0335119403898716,
-0.045029349625110626,
0.024223709478974342,
0.04554948955774307,
0.017675505951046944,
0.04789012297987938,
0.03293607011437416,
-0.03629840910434723,
0.000476602406706661,
0.06557491421699524,
0.024149402976036072,
-0.0031394222751259804,
0.030000988394021988,
0.012139718979597092,
0.016272982582449913,
0.0022883880883455276,
0.06490616500377655,
0.03470083326101303,
0.04517795890569687,
0.011749613098800182,
0.0044142319820821285,
-0.10781779885292053,
0.0023127696476876736,
0.05873877927660942,
-0.032471660524606705,
0.005257139448076487,
0.0426144078373909,
0.051939792931079865,
0.034923750907182693,
-0.004997068550437689,
0.11755186319351196,
-0.014006653800606728,
0.04681268706917763,
-0.02316484972834587,
0.0390477254986763,
0.05691828578710556,
-0.013180000707507133,
-0.057401273399591446,
-0.017972728237509727,
0.013876618817448616,
-0.017424723133444786,
-0.02128862775862217,
-0.025951320305466652,
-0.031561411917209625,
0.037041470408439636,
0.05164257064461708,
0.004692879039794207,
-0.009023517370223999,
0.004579098429530859,
0.028700636699795723,
-0.06769263744354248,
0.0029792003333568573,
0.005336089059710503,
0.017294688150286674,
0.014935476705431938,
0.027010178193449974,
0.017090346664190292,
0.014294588938355446,
0.014006653800606728,
0.003002420999109745,
0.029016437008976936,
-0.019821086898446083,
0.05093666538596153,
-0.0010605999268591404,
0.015604229643940926,
0.011758901178836823,
-0.01556707639247179,
0.006738612428307533,
-0.011433813720941544,
-0.05264569818973541,
0.0003390204510651529,
0.04335746541619301,
0.0071983798407018185,
-0.02673153206706047,
-0.041314054280519485,
0.019375251606106758,
-0.004260976333171129,
-0.005893383175134659,
0.002584450412541628,
0.07066486775875092,
0.04919047653675079,
-0.003664207411929965,
0.035202398896217346,
0.01815849356353283,
-0.015381311997771263,
-0.034143541008234024,
-0.04149981960654259,
-0.023796450346708298,
0.005545074585825205,
0.00353649421595037,
0.04447205364704132,
-0.06156240031123161,
-0.057252660393714905,
0.014954053796827793,
0.029536576941609383,
-0.0014803119702264667,
-0.042317185550928116,
-0.015789994969964027,
-0.0531286858022213,
-0.012167584151029587,
0.005419683177024126,
-0.021715886890888214,
0.018752939999103546,
-0.025245415046811104,
-0.034236423671245575,
0.01939382776618004,
-0.012353348545730114,
-0.04332031309604645,
-0.07675794512033463,
-0.006692171096801758,
0.0024149403907358646,
0.0046882349997758865,
-0.03562965616583824,
0.028124766424298286,
0.027010178193449974,
-0.06594644486904144,
0.06865861266851425,
-0.03815605491399765,
-0.0221988745033741,
-0.012204736471176147,
0.04781581833958626,
-0.008647344075143337,
0.0673954114317894,
-0.00575870368629694,
0.0017020684899762273,
-0.01673739403486252,
0.006506406236439943,
-0.04989638179540634,
0.021140016615390778,
-0.048521723598241806,
-0.005322156939655542,
0.05985336750745773,
0.00345522235147655,
0.00004328461363911629,
-0.03633556142449379,
0.03574111685156822,
-0.029796648770570755,
0.0074120089411735535,
-0.02593274414539337,
0.006627153605222702,
-0.004411910194903612,
-0.03650275245308876,
0.015604229643940926,
0.001269004656933248,
-0.006511050742119551,
0.07571766525506973,
0.058998849242925644,
-0.007263397332280874,
-0.042354337871074677,
0.01857646368443966,
-0.01825137622654438,
-0.020118311047554016,
-0.052831463515758514,
-0.0029002504888921976,
-0.0018379088724032044,
0.05402035638689995,
-0.06698673218488693,
0.0005056281224824488,
-0.02845914289355278,
-0.04959915950894356,
-0.02576555497944355,
0.029592307284474373,
-0.016115082427859306,
-0.01815849356353283,
-0.02050841599702835,
0.03258311748504639,
0.051233887672424316,
-0.017629064619541168,
-0.04339461773633957,
-0.024223709478974342,
0.03178432956337929,
0.006836138665676117,
-0.034180693328380585,
0.05981621518731117,
-0.04287447780370712,
-0.0022825829219073057,
0.05335160344839096,
-0.0029559799004346132,
-0.051976945251226425,
0.00012335933570284396,
0.019133757799863815,
-0.019913969561457634,
0.008424426428973675,
0.026192814111709595,
0.016588782891631126,
-0.04361753538250923,
-0.06479470431804657,
0.03841612860560417,
-0.03135707229375839,
0.01584572345018387,
0.06572353094816208,
-0.0023487615399062634,
-0.0319143645465374,
0.018734363839030266,
-0.011647442355751991,
-0.1369456946849823,
-0.008090049959719181,
-0.0014698626473546028,
-0.0003668851568363607,
-0.002598382765427232,
-0.0138208894059062,
0.03176575154066086,
-0.0035295281559228897,
-0.0042168572545051575,
0.01952386274933815,
-0.030465399846434593,
-0.06798985600471497,
0.012501959688961506,
-0.029796648770570755,
-0.008503376506268978,
-0.012130430899560452,
0.07233674824237823,
0.022050263360142708,
0.025115378201007843,
-0.07742670178413391,
-0.04179704189300537,
0.05565508455038071,
0.03837897256016731,
-0.023443497717380524,
0.008438359014689922,
-0.010523566976189613,
0.01850215718150139,
0.009432199411094189,
0.06724680215120316,
-0.02234748564660549,
-0.018790092319250107,
-0.0064785415306687355,
0.0029490136075764894,
-0.06665235012769699,
-0.016570204868912697,
0.05164257064461708,
-0.005837653763592243,
-0.029146471992135048,
-0.030614012852311134,
-0.0133286127820611,
-0.015455617569386959,
-0.08151352405548096,
0.04294878616929054,
-0.014777576550841331,
0.0003799467231146991,
-0.026007048785686493,
-0.029759494587779045,
0.07449162006378174,
0.017424723133444786,
0.030576858669519424,
-0.04343177378177643,
-0.01059787254780531,
-0.03997654840350151,
-0.07854128628969193,
0.052051249891519547,
0.005424327217042446,
-0.04057099670171738,
-0.02942511811852455,
0.008433714509010315,
0.03919633850455284,
-0.010421396233141422,
0.0006704942206852138,
-0.03927064314484596,
0.0352952815592289,
-0.0033878826070576906,
0.0274560134857893,
-0.07486315071582794,
0.00288167386315763,
-0.026285696774721146,
0.02673153206706047,
0.0114988312125206,
-0.039642173796892166,
0.0022860660683363676,
-0.05966760218143463,
0.03834182024002075,
-0.00575405964627862,
-0.03655847907066345,
0.009260367602109909,
0.02297908626496792,
0.016514476388692856,
-0.006334573961794376,
-0.021994533017277718,
0.017276111990213394,
0.030651165172457695,
0.009826949797570705,
-0.0588502362370491,
-0.03728296235203743,
0.025431178510189056,
0.01610579341650009,
-0.0028886401560157537,
-0.039567869156599045,
0.0624169185757637,
-0.01019847858697176,
0.03033536486327648,
-0.02483673207461834,
-0.040459539741277695,
-0.006065215449780226,
-0.046515464782714844,
0.025356873869895935,
-0.027901848778128624,
0.015390600077807903,
-0.03523955121636391,
-0.02119574509561062,
-0.03221158683300018,
-0.061711013317108154,
0.005675109568983316,
0.005656533408910036,
-0.08909272402524948,
0.07163084298372269,
0.012984948232769966,
-0.02481815591454506,
0.03557392954826355,
-0.00903280545026064,
0.05985336750745773,
0.04692414775490761,
0.05242278054356575,
0.0027818253729492426,
-0.028106190264225006,
0.004175060428678989,
0.008902770467102528,
-0.017238957807421684,
0.02583986148238182,
-0.0994955375790596,
-0.044806431978940964,
-0.0008318772888742387,
-0.012994236312806606,
0.039530716836452484,
0.010792925022542477,
0.10781779885292053,
-0.05610091984272003,
-0.02221745066344738,
0.05078805238008499,
0.04276302084326744,
-0.02946227230131626,
0.01948671042919159,
0.04146266728639603,
-0.01563209481537342,
0.044917888939380646,
-0.005196765530854464,
-0.022756168618798256,
0.013542242348194122,
0.02403794415295124,
-0.002061987528577447,
-0.011545272544026375,
-0.0715193822979927,
0.013114983215928078,
0.018465004861354828,
-0.03739442303776741,
-0.047518596053123474,
-0.012483383528888226,
-0.0266572255641222,
0.037691645324230194
]
|
29,353 | quart.app | finalize_request | Turns the view response return value into a response.
Arguments:
result: The result of the request to finalize into a response.
request_context: The request context, optional as Flask
omits this argument.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, result: Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], werkzeug.exceptions.HTTPException], request_context: Optional[quart.ctx.RequestContext] = None, from_error_handler: bool = False) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,354 | quart.app | finalize_websocket | Turns the view response return value into a response.
Arguments:
result: The result of the websocket to finalize into a response.
websocket_context: The websocket context, optional as Flask
omits this argument.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, result: Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], werkzeug.exceptions.HTTPException], websocket_context: Optional[quart.ctx.WebsocketContext] = None, from_error_handler: bool = False) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, NoneType] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,355 | quart.app | full_dispatch_request | Adds pre and post processing to the request dispatching.
Arguments:
request_context: The request context, optional as Flask
omits this argument.
| def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, request_context: Optional[quart.ctx.RequestContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,356 | quart.app | full_dispatch_websocket | Adds pre and post processing to the websocket dispatching.
Arguments:
websocket_context: The websocket context, optional to match
the Flask convention.
| def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, websocket_context: Optional[quart.ctx.WebsocketContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, NoneType] | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,358 | quart.app | get_send_file_max_age | Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Quart
class.
| def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Quart
class.
"""
value = self.config["SEND_FILE_MAX_AGE_DEFAULT"]
if value is None:
return None
if isinstance(value, timedelta):
return int(value.total_seconds())
return value
return None
| (self, filename: str | None) -> int | None | [
0.06741893291473389,
-0.009896685369312763,
-0.037371598184108734,
0.01993628218770027,
0.04155178740620613,
0.021276086568832397,
-0.020150650292634964,
0.0009356297669000924,
-0.009869889356195927,
-0.03833625838160515,
-0.00741804763674736,
-0.009825228713452816,
-0.051055461168289185,
-0.006895524449646473,
0.06959834694862366,
0.021954920142889023,
0.0410158634185791,
-0.036389075219631195,
0.037121500819921494,
-0.05573584511876106,
0.05702205374836922,
-0.045839156955480576,
-0.0561288520693779,
-0.04151605814695358,
-0.0017718906747177243,
0.027689281851053238,
0.027921514585614204,
0.007252805400639772,
0.007016106508672237,
0.018560750409960747,
-0.01522910501807928,
-0.015130852349102497,
0.020597252994775772,
0.015157648362219334,
-0.00009783360292203724,
0.020150650292634964,
-0.064274862408638,
-0.024259382858872414,
-0.11954624205827713,
-0.029975879937410355,
0.009092803113162518,
0.040908679366111755,
0.031333547085523605,
0.0027957241982221603,
-0.04598207026720047,
0.02268734574317932,
-0.03905081748962402,
0.016613569110631943,
-0.015157648362219334,
-0.002240822184830904,
0.048554494976997375,
0.03119063563644886,
-0.03694286197423935,
0.010646975599229336,
-0.016917258501052856,
0.03880072012543678,
-0.026528118178248405,
0.058951374143362045,
-0.028868308290839195,
0.0041913534514606,
0.0002939194964710623,
-0.04351683333516121,
0.02913627028465271,
-0.08317502588033676,
0.013746388256549835,
0.05337778851389885,
0.00481882831081748,
0.015112988650798798,
-0.0018377644009888172,
0.014157261699438095,
0.05366361513733864,
-0.027314135804772377,
-0.024312974885106087,
0.03387024253606796,
0.00826212391257286,
-0.03908654674887657,
-0.03533509746193886,
0.029064813628792763,
-0.037585966289043427,
0.04412420839071274,
0.0560573972761631,
-0.04705391451716423,
0.04412420839071274,
-0.0410873219370842,
0.03208383917808533,
-0.004166790284216404,
0.0423378050327301,
-0.03319140896201134,
-0.05409235134720802,
0.03890790790319443,
-0.011951050721108913,
0.04616071283817291,
0.03208383917808533,
0.02029356360435486,
0.020650845021009445,
-0.06731174886226654,
-0.032816264778375626,
0.02745704911649227,
0.028260931372642517,
-0.03522790968418121,
0.005537856370210648,
0.033798787742853165,
0.05026944354176521,
-0.06398903578519821,
0.035853154957294464,
-0.0018600944895297289,
-0.004046207759529352,
-0.0397653803229332,
0.05012653023004532,
-0.0232232678681612,
-0.010602314956486225,
-0.023312589153647423,
-0.013335514813661575,
0.028939764946699142,
0.02063298039138317,
0.05355643108487129,
-0.04787566140294075,
0.015622113831341267,
0.06616844981908798,
-0.016961917281150818,
-0.030994130298495293,
0.023116083815693855,
-0.016649296507239342,
-0.027510641142725945,
0.00986095704138279,
0.02806442603468895,
0.0030078599229454994,
-0.08660492300987244,
0.06331019848585129,
0.04133741557598114,
0.03460266813635826,
0.004126596264541149,
0.06377466768026352,
0.00887843407690525,
-0.016050850972533226,
0.0018824245780706406,
0.05252031609416008,
0.11847439408302307,
-0.013826776295900345,
0.037907518446445465,
-0.012361924163997173,
0.033923834562301636,
0.05041235685348511,
-0.052377402782440186,
0.0314764603972435,
0.0009668918210081756,
0.027349865064024925,
0.012763865292072296,
-0.04633935168385506,
-0.017685411497950554,
0.0423378050327301,
-0.0174621120095253,
-0.041480328887701035,
0.020114922896027565,
0.06159525364637375,
0.007185814902186394,
-0.037657421082258224,
0.06459641456604004,
-0.06902670115232468,
-0.062023989856243134,
-0.02215142548084259,
0.03526363894343376,
-0.009950277395546436,
-0.08624764531850815,
0.03249471262097359,
-0.05337778851389885,
-0.028278794139623642,
0.09825228899717331,
0.022294336929917336,
0.10232529044151306,
-0.01873939111828804,
0.004041742067784071,
0.005569118540734053,
0.008579211309552193,
0.00461339158937335,
0.03311995416879654,
0.029743647202849388,
-0.00903921015560627,
0.04562478885054588,
0.07824455201625824,
-0.011558041907846928,
-0.0671331062912941,
-0.02499181032180786,
0.04819721356034279,
0.06152379512786865,
0.02313394844532013,
-0.006618631538003683,
0.011647362262010574,
-0.005386011675000191,
0.045017413794994354,
0.035888880491256714,
-0.000885387125890702,
0.013040758669376373,
-0.052949052304029465,
-0.0057120309211313725,
0.01981123350560665,
-0.006529311183840036,
-0.020329291000962257,
0.025617051869630814,
0.03106558695435524,
-0.013969688676297665,
0.023116083815693855,
-0.002201744355261326,
-0.07695833593606949,
0.007779794745147228,
-0.03997974842786789,
0.02206210419535637,
-0.02835025079548359,
-0.032887719571590424,
0.06098787486553192,
-0.07910202443599701,
-0.020740164443850517,
-0.025742098689079285,
-0.005966593511402607,
-0.022097833454608917,
-0.0023267928045243025,
-0.03317354619503021,
0.04441003501415253,
-0.037085771560668945,
0.03278053551912308,
0.07070592045783997,
-0.016247356310486794,
-0.060094673186540604,
0.009173191152513027,
0.05991603061556816,
-0.019239583984017372,
0.03390597179532051,
0.014255513437092304,
-0.0170601699501276,
0.03387024253606796,
-0.026278020814061165,
0.0491618737578392,
0.045303236693143845,
0.009459015913307667,
0.087748222053051,
0.012754933908581734,
0.017926577478647232,
0.034245386719703674,
-0.021954920142889023,
-0.0026930058375000954,
0.038229070603847504,
0.03644266724586487,
0.01286211796104908,
0.059558749198913574,
0.010655906982719898,
-0.06702592223882675,
-0.0018098518485203385,
0.06752611696720123,
-0.047732748091220856,
-0.0012683477252721786,
0.08396104723215103,
-0.00150504638440907,
-0.06277427822351456,
0.015291629359126091,
-0.010763091966509819,
0.06495369225740433,
-0.048018574714660645,
-0.013674932532012463,
-0.027689281851053238,
0.04001547768712044,
0.06184535101056099,
-0.05491409823298454,
-0.02704617567360401,
-0.02851102687418461,
-0.005448536016047001,
0.021276086568832397,
-0.007212611380964518,
-0.028243066743016243,
-0.060630593448877335,
0.003479024162515998,
0.02951141446828842,
-0.016417063772678375,
-0.029636463150382042,
-0.07313542813062668,
-0.03933664411306381,
-0.06584689766168594,
0.01265668123960495,
-0.007869115099310875,
-0.04558906331658363,
-0.011352605186402798,
-0.05091254785656929,
-0.025938604027032852,
0.06020185723900795,
-0.03413820266723633,
-0.06238127127289772,
0.05148419737815857,
-0.035067133605480194,
0.028260931372642517,
-0.03138713911175728,
0.037085771560668945,
-0.024473750963807106,
-0.022633753716945648,
-0.01565784215927124,
-0.05284186825156212,
-0.00615416606888175,
-0.04809002950787544,
-0.004488343372941017,
-0.0315479151904583,
0.07910202443599701,
0.045017413794994354,
-0.03908654674887657,
-0.005542322061955929,
0.018828710541129112,
0.004251644480973482,
-0.012138623744249344,
0.027992969378829002,
-0.029565006494522095,
-0.045303236693143845,
0.04901896044611931,
0.020597252994775772,
0.019043080508708954,
-0.00748950382694602,
-0.008936491794884205,
-0.01253163255751133,
0.059201471507549286,
0.05037662759423256,
0.011915323324501514,
0.017167354002594948,
-0.0184535663574934,
0.0002847083378583193,
0.010914935730397701,
0.05177002400159836,
0.008137076161801815,
-0.011826002970337868,
0.04537469148635864,
-0.02411647140979767,
0.021151037886738777,
0.050483811646699905,
0.019293176010251045,
0.014335902407765388,
-0.037585966289043427,
0.04180188104510307,
0.020275698974728584,
-0.02711763232946396,
-0.009610860608518124,
0.01832851767539978,
0.00370902381837368,
-0.005484263878315687,
0.03933664411306381,
0.0010796586284413934,
-0.022705210372805595,
-0.0848185196518898,
0.005417273845523596,
0.03658558055758476,
0.0020376185420900583,
-0.014103669673204422,
0.07817309349775314,
0.004001547582447529,
0.040622856467962265,
-0.06445350497961044,
-0.02050793170928955,
-0.01821240223944187,
-0.028689667582511902,
0.02174055203795433,
-0.005319021642208099,
-0.056807685643434525,
0.016202695667743683,
0.014916484244167805,
-0.012585224583745003,
0.03413820266723633,
-0.0670616552233696,
0.009691248647868633,
-0.0028560154605656862,
0.009726976975798607,
0.008681929670274258,
0.02851102687418461,
0.03751451149582863,
-0.016792209818959236,
0.00034109174157492816,
-0.02436656691133976,
-0.06238127127289772,
-0.009061540476977825,
0.040372759103775024,
-0.026081517338752747,
0.02338404394686222,
-0.029850831255316734,
-0.04741119593381882,
0.01627415232360363,
0.014192990027368069,
0.033298593014478683,
-0.006448923144489527,
0.014067941345274448,
0.008253192529082298,
-0.000243816408328712,
-0.007962901145219803,
0.018918031826615334,
-0.01294250600039959,
-0.06666864454746246,
0.007529698312282562,
-0.0025456275325268507,
0.029064813628792763,
0.018507158383727074,
-0.00029838550835847855,
0.011745614930987358,
-0.03192306309938431,
0.007239407394081354,
-0.03274480998516083,
0.05477118492126465,
0.04344537481665611,
-0.0019371331436559558,
-0.008413968607783318,
0.03883644938468933,
-0.028385980054736137,
0.0307797621935606,
-0.0068196021020412445,
0.012486972846090794,
0.034048885107040405,
0.018417838960886,
-0.021561911329627037,
-0.008288919925689697,
-0.013308718800544739,
-0.04548187926411629,
-0.028582483530044556,
0.0030435880180448294,
0.015809686854481697,
0.021401135250926018,
-0.020275698974728584,
-0.05005507543683052,
0.028528891503810883,
-0.026278020814061165,
-0.004515139386057854,
-0.014130465686321259,
-0.015934735536575317,
-0.03126209229230881,
-0.02186560072004795,
0.027796465903520584,
0.005095720756798983,
0.009280375204980373,
-0.07838746160268784,
0.039015091955661774,
0.004463780205696821,
0.01898948848247528,
-0.049947891384363174,
-0.0024808703456074,
0.09725189954042435,
-0.01943608932197094,
-0.0025835884734988213,
-0.04787566140294075,
-0.04619643837213516,
-0.018382109701633453,
0.016827937215566635,
-0.021954920142889023,
0.000825095921754837,
0.014845027588307858,
0.033262867480516434,
-0.04926905781030655,
-0.03972965106368065,
0.012763865292072296,
0.01321046706289053,
-0.04026557505130768,
-0.020525796338915825,
-0.010343286208808422,
0.006422126665711403,
-0.016015123575925827,
0.008391638286411762,
0.025366954505443573,
-0.07020572572946548,
-0.0012270370498299599,
-0.011986779049038887,
-0.029064813628792763,
-0.04787566140294075,
0.050483811646699905,
0.07724416255950928,
-0.06688301265239716,
-0.050519540905952454,
0.04673236235976219,
0.006984844338148832,
-0.027153359726071358,
-0.046124983578920364,
-0.002150385407730937,
0.005006400868296623,
-0.02370559796690941,
-0.07027718424797058,
-0.03833625838160515,
-0.058987099677324295,
-0.03619256988167763,
0.02186560072004795,
0.03278053551912308,
0.021240359172225,
-0.010173577815294266,
0.04351683333516121,
0.05552147328853607,
0.0032959177624434233,
0.01816774159669876,
0.004867954179644585,
-0.04430285096168518,
-0.04676808789372444,
-0.0052698953077197075,
-0.013505223207175732,
-0.025813555344939232,
-0.05498555302619934,
0.001716065569780767,
-0.009664452634751797,
-0.0019282011780887842,
-0.012486972846090794,
0.037371598184108734,
0.08539017289876938,
0.032405391335487366,
0.023526957258582115,
0.01755143143236637,
-0.055128466337919235,
-0.02667102962732315,
0.005051061045378447,
0.05830826610326767,
-0.02851102687418461,
0.010182510130107403,
-0.03801470249891281,
-0.010995324701070786,
-0.0014704348286613822,
-0.0021715988405048847,
0.029600735753774643,
0.012996098026633263,
-0.017033373937010765,
0.039229460060596466,
-0.009012414142489433,
0.010262898169457912,
0.029439957812428474,
-0.03270908072590828,
0.00873552169650793,
-0.02629588544368744,
0.001944948686286807,
-0.028618212789297104,
0.018265994265675545,
-0.02370559796690941,
-0.014362698420882225,
-0.01700657792389393,
0.04026557505130768,
-0.010897072032094002,
0.026224428787827492,
0.04458867385983467,
0.017069101333618164,
-0.015086192637681961,
0.023616276681423187,
0.02313394844532013,
0.032065972685813904,
0.032887719571590424,
-0.05716496706008911,
-0.024009287357330322,
-0.10696994513273239,
-0.03349509835243225,
-0.03726441413164139,
-0.03665703535079956,
0.03826479986310005,
0.02926131710410118,
-0.03494208678603172,
-0.04809002950787544,
-0.013523087836802006,
0.046124983578920364,
0.1066841185092926,
-0.0362461619079113,
-0.006609699223190546,
0.022544434294104576,
0.04730401188135147,
-0.08796259760856628,
0.03283412754535675,
0.004495042376220226,
0.052448857575654984,
-0.02793937735259533,
0.006471253000199795,
-0.04973352327942848,
0.0068106697872281075,
-0.011915323324501514,
0.020239971578121185,
-0.0018344148993492126,
-0.04816148430109024,
-0.020043466240167618,
0.04323100671172142,
0.02247297763824463,
-0.03249471262097359,
-0.014648523181676865,
-0.003367373952642083,
0.06520379334688187,
0.04487450048327446,
-0.03333432227373123,
0.04098013788461685,
0.010245034471154213,
-0.02275880239903927,
0.04809002950787544,
0.03342364355921745,
0.02951141446828842,
0.033673737198114395,
-0.01738172397017479,
0.03780033439397812,
0.012317264452576637,
-0.0726352408528328,
-0.042837996035814285,
0.02572423592209816,
0.005944263655692339,
-0.016899393871426582,
0.04158751294016838,
-0.036228299140930176,
0.011227557435631752,
-0.005064459051936865,
0.00867299735546112,
0.001739512081257999,
0.0349242240190506,
-0.023455500602722168,
-0.00887396838515997,
-0.02502753771841526,
0.06173816695809364,
0.0252776350826025,
0.0050108665600419044,
-0.02411647140979767,
0.08331794291734695,
-0.0246523916721344,
-0.0160687156021595,
-0.016988713294267654,
0.02663530223071575,
-0.0010578868677839637,
0.005091255065053701,
-0.03687140345573425,
-0.021686960011720657,
-0.003052519867196679,
0.03451335057616234,
-0.005131449084728956,
0.0396939255297184,
-0.02667102962732315,
0.031994517892599106,
-0.04298090934753418,
-0.06602554023265839,
-0.05902282893657684,
0.023562684655189514,
0.03494208678603172,
-0.005216303281486034,
0.03510286286473274,
-0.02091880515217781,
0.00953047163784504,
0.014139397069811821,
-0.07209931313991547,
0.020329291000962257,
-0.010825615376234055,
-0.04408848285675049,
0.06255991011857986,
-0.02518831379711628,
-0.02711763232946396,
0.009325035847723484,
-0.009753772988915443,
0.040337029844522476,
-0.016783276572823524,
-0.004035043064504862,
0.04194479435682297,
-0.03890790790319443,
-0.026152972131967545,
-0.025384819135069847,
-0.003376305801793933,
-0.0061988262459635735,
0.005725428927689791,
0.03662130609154701,
0.029064813628792763,
-0.02452734485268593,
-0.020490068942308426,
-0.08031678199768066,
0.058415450155735016,
0.006855329964309931,
-0.07238513976335526,
-0.03769315034151077,
0.011307945474982262,
0.02366986870765686,
0.024402296170592308,
-0.06548961997032166,
-0.005327953491359949,
-0.05966593697667122,
-0.013969688676297665,
-0.03994402289390564,
-0.027224816381931305,
-0.08996336907148361,
-0.01253163255751133,
-0.05009080469608307,
-0.013639204204082489,
0.0074091157875955105,
0.016488520428538322,
-0.0005917467642575502,
0.02363414131104946,
0.003798344172537327,
0.04126596078276634,
0.0022787831258028746,
-0.01981123350560665,
0.06891951709985733,
-0.00636853463947773,
0.003695625811815262,
0.0239556934684515,
0.02654598280787468,
-0.03383451700210571,
0.008110280148684978,
0.025867147371172905,
0.008172803558409214,
0.02363414131104946,
0.002672908827662468,
0.006274748593568802,
0.040872953832149506,
-0.01483609527349472,
-0.03783606365323067,
-0.04491022974252701,
0.001643492840230465,
-0.045839156955480576,
-0.062274087220430374,
0.013406971469521523,
0.10111054033041,
-0.02559918724000454,
-0.0161044429987669,
-0.050197988748550415,
0.031744420528411865,
0.03483490273356438,
-0.02038288302719593,
-0.04258790239691734,
-0.0642034038901329,
-0.048304397612810135,
0.011629498563706875,
-0.046625178307294846,
-0.021383270621299744,
-0.03387024253606796,
0.0033852378837764263,
0.0658111721277237,
0.05009080469608307,
-0.035478007048368454,
0.04487450048327446,
-0.01020930614322424,
0.028332388028502464,
0.0017205316107720137,
0.009566199965775013,
-0.037621695548295975,
0.06652573496103287,
0.011057848110795021,
0.009744840674102306,
-0.04433857649564743,
-0.009441151283681393,
0.02818947471678257,
-0.011388333514332771,
0.014541339129209518,
0.026492388918995857,
0.009396491572260857,
-0.006891058292239904,
0.04891177639365196,
-0.06277427822351456,
-0.017238810658454895,
0.02411647140979767,
-0.004671449773013592,
-0.0336022824048996,
-0.02806442603468895,
0.056521862745285034,
0.002643879735842347,
0.02199064940214157,
-0.06209544464945793,
0.011370469816029072,
0.017024442553520203,
-0.059558749198913574,
-0.02070443704724312,
0.03535296022891998,
0.024920353665947914,
0.0018087353091686964,
0.0034410632215440273,
-0.03467412665486336,
0.0253133624792099,
0.026081517338752747,
0.009333967231214046,
0.018792983144521713,
-0.05309196561574936,
-0.0022609191946685314,
0.035978201776742935,
0.05637894943356514,
-0.0019315506797283888,
0.0491618737578392,
-0.005073390901088715,
0.023026764392852783,
0.014085805043578148,
-0.01532735675573349,
0.004495042376220226,
0.024152198806405067
]
|
29,360 | quart.app | handle_exception | Handle an uncaught exception.
By default this switches the error response to a 500 internal
server error.
| @setupmethod
def teardown_websocket(
self,
func: T_teardown,
) -> T_teardown:
"""Add a teardown websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.teardown_websocket
async def func():
...
Arguments:
func: The teardown websocket function itself.
"""
self.teardown_websocket_funcs[None].append(func)
return func
| (self, error: Exception) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
0.010567807592451572,
-0.007269160356372595,
-0.017347155138850212,
-0.029700828716158867,
0.0046423799358308315,
0.037035007029771805,
-0.034711651504039764,
0.046085696667432785,
-0.03422617167234421,
0.01202424056828022,
0.021933184936642647,
-0.018257426097989082,
0.04296477138996124,
0.0072864992544054985,
0.007598591968417168,
0.01771126501262188,
0.04369298741221428,
-0.011651462875306606,
0.03348061814904213,
-0.0746942013502121,
-0.009804914705455303,
0.03713903948664665,
0.04202849045395851,
0.0047507453709840775,
-0.03320320323109627,
0.009423467330634594,
-0.05621137470006943,
-0.0008013632032088935,
0.013012534007430077,
-0.02312954142689705,
-0.042860738933086395,
-0.023979127407073975,
0.006566951982676983,
0.0400519035756588,
0.033931419253349304,
0.013021203689277172,
-0.011720816604793072,
0.04202849045395851,
-0.04275670647621155,
-0.01798001118004322,
0.01654091663658619,
-0.008322473615407944,
0.08183765411376953,
0.026042407378554344,
0.07393130660057068,
0.03772854804992676,
0.008617227897047997,
-0.024221865460276604,
-0.03765919432044029,
0.008322473615407944,
0.017633240669965744,
0.06151695176959038,
0.03908094763755798,
0.08821821957826614,
0.02612909860908985,
0.027117393910884857,
0.009371452033519745,
-0.006168166641145945,
0.02170778624713421,
-0.018326779827475548,
-0.0075249033980071545,
0.043242186307907104,
-0.01954047381877899,
0.05895085632801056,
0.024863390251994133,
-0.01926305890083313,
-0.04306880012154579,
0.03939304128289223,
0.036930978298187256,
-0.002951877424493432,
0.0037191053852438927,
0.0436583086848259,
-0.01834411919116974,
-0.012483710423111916,
0.04941468685865402,
-0.017927994951605797,
-0.01461634412407875,
-0.03953174874186516,
-0.018656210973858833,
-0.009900275617837906,
-0.008010380901396275,
0.08058928698301315,
0.01286515686661005,
0.07240551710128784,
0.046501822769641876,
-0.0013599875383079052,
0.0293367188423872,
-0.0069483984261751175,
-0.04046802967786789,
-0.004016026854515076,
-0.014824406243860722,
-0.0100129758939147,
-0.0022821782622486353,
-0.03386206552386284,
0.014911098405718803,
-0.04469861835241318,
-0.02911132015287876,
0.011035947129130363,
-0.025383545085787773,
-0.07483290880918503,
0.003558724420145154,
0.000766686222050339,
0.017771948128938675,
-0.0071087796241045,
0.04261799901723862,
-0.01158210914582014,
-0.010290391743183136,
-0.01708707958459854,
-0.06189839914441109,
-0.003979182802140713,
0.04629375785589218,
0.003192448988556862,
-0.0028391771484166384,
0.03353263437747955,
0.021915847435593605,
-0.033047154545784,
-0.03261369466781616,
0.00930209830403328,
0.018534842878580093,
-0.06141291931271553,
0.009770236909389496,
0.009917614050209522,
-0.02264406345784664,
-0.04771551489830017,
0.029250027611851692,
0.03280441835522652,
0.04046802967786789,
0.07164262980222702,
-0.02044207602739334,
-0.026562562212347984,
-0.038075316697359085,
0.04896388575434685,
-0.0025509248953312635,
0.028885919600725174,
0.02791496366262436,
-0.007758972700685263,
0.06914588809013367,
-0.005023826379328966,
0.011261346749961376,
0.01886427402496338,
-0.021031584590673447,
0.06817492842674255,
0.0018292103195562959,
0.015717338770627975,
0.007698288187384605,
0.024724682793021202,
-0.1241435632109642,
-0.01860419660806656,
0.009371452033519745,
-0.001543125370517373,
-0.02238398604094982,
0.014581667259335518,
-0.031347982585430145,
-0.03401811048388481,
-0.0010955756297335029,
0.00043237852514721453,
-0.024360574781894684,
0.0943213701248169,
0.0778844803571701,
-0.06033793464303017,
-0.0007043760269880295,
0.008747266605496407,
-0.006306874565780163,
-0.036410823464393616,
0.014772390946745872,
0.04795825481414795,
0.03686162456870079,
0.013064549304544926,
-0.007910684682428837,
0.07753771543502808,
-0.034954387694597244,
0.007624599616974592,
0.03465963527560234,
0.028018994256854057,
0.06179436668753624,
-0.005947100929915905,
0.025106128305196762,
0.04209784418344498,
-0.04521877318620682,
-0.0059427665546536446,
0.0036064053419977427,
-0.04618972912430763,
-0.017615903168916702,
-0.02264406345784664,
0.021759800612926483,
0.028209717944264412,
-0.0014694368001073599,
0.029302041977643967,
-0.003133931430056691,
-0.014590336941182613,
-0.015500606968998909,
0.012041579000651836,
0.03365400433540344,
0.046363115310668945,
0.052951738238334656,
-0.010767200030386448,
0.014919768087565899,
0.05638475716114044,
0.05402672290802002,
-0.0504549965262413,
0.025400882586836815,
0.034572944045066833,
0.06616366654634476,
-0.03852611780166626,
0.01654958538711071,
-0.0073818606324493885,
-0.01678365468978882,
-0.003430853132158518,
-0.07816189527511597,
-0.024221865460276604,
0.060580670833587646,
-0.018812257796525955,
0.025504913181066513,
0.00723881833255291,
0.06956201046705246,
-0.007980038411915302,
0.027585532516241074,
0.02469000592827797,
0.020892877131700516,
0.02975284308195114,
0.03630679100751877,
0.0113133629783988,
-0.016367532312870026,
0.00318161235190928,
0.01092324685305357,
0.0124663719907403,
-0.02316421829164028,
-0.06820960342884064,
-0.007715626619756222,
-0.017113085836172104,
-0.015032468363642693,
0.05697426572442055,
0.07559580355882645,
0.009137382730841637,
-0.06033793464303017,
0.01990458369255066,
-0.03810999542474747,
0.023771066218614578,
0.008552208542823792,
-0.02805367112159729,
-0.013489342294633389,
0.005470292642712593,
0.03453826531767845,
0.02793230302631855,
0.02755085565149784,
0.06255725771188736,
0.02999558299779892,
0.04293009266257286,
0.0005288238171488047,
0.015439921990036964,
-0.06914588809013367,
-0.00995229184627533,
0.005665350705385208,
-0.018690887838602066,
0.010836553759872913,
-0.01950579695403576,
0.009934952482581139,
-0.029908889904618263,
-0.007455549202859402,
0.01706974022090435,
0.022297294810414314,
-0.06023390218615532,
-0.02004329115152359,
0.1029212549328804,
-0.009648867882788181,
-0.04587763547897339,
-0.002329859184101224,
0.004859110806137323,
-0.06377095729112625,
-0.014954444952309132,
-0.04192446172237396,
-0.044386524707078934,
0.027498839423060417,
-0.03422617167234421,
-0.0010869064135476947,
0.003383172210305929,
-0.03842208534479141,
-0.08703920245170593,
-0.00004551352685666643,
-0.06276532262563705,
0.030983876436948776,
-0.04723003879189491,
0.049206625670194626,
0.03410480171442032,
0.011816178448498249,
0.0025487574748694897,
-0.001472687697969377,
-0.007182468194514513,
0.031347982585430145,
-0.0416470468044281,
-0.024759359657764435,
-0.05218884348869324,
-0.018465489149093628,
0.04098818451166153,
0.03720839321613312,
-0.0000018371346186540904,
-0.036376144737005234,
0.01732981763780117,
0.04227123036980629,
-0.04747277498245239,
-0.012076255865395069,
0.0008615060360170901,
-0.03828337788581848,
0.04459458962082863,
0.020320706069469452,
-0.0009834172669798136,
0.008582551032304764,
0.006857371423393488,
-0.04327686131000519,
-0.04178575426340103,
-0.009770236909389496,
0.016627607867121696,
-0.08079735189676285,
0.009276090189814568,
0.02481137402355671,
0.05388801544904709,
-0.05031628906726837,
-0.03011695109307766,
0.002815336687490344,
0.04913727194070816,
-0.018032025545835495,
-0.07261358201503754,
0.05222352221608162,
0.0017652746755629778,
0.03051573596894741,
-0.0354398675262928,
0.008010380901396275,
-0.04393572360277176,
0.005890750791877508,
0.022470679134130478,
-0.08592954277992249,
0.008162092417478561,
0.006302539724856615,
-0.0331338495016098,
-0.018725566565990448,
-0.010550469160079956,
-0.002598605817183852,
0.007030756212770939,
0.008253119885921478,
-0.0023623688612133265,
-0.0020426905248314142,
-0.02935405820608139,
0.012700441293418407,
0.02354566566646099,
-0.021378353238105774,
-0.006762010045349598,
-0.051009826362133026,
-0.005860408302396536,
0.11741623282432556,
0.02727343887090683,
0.12851285934448242,
-0.01150408573448658,
-0.021881170570850372,
0.07566515356302261,
0.028383102267980576,
-0.0012017738772556186,
-0.029388735070824623,
0.01505847554653883,
0.019297735765576363,
-0.06744671612977982,
-0.041681721806526184,
0.004833103157579899,
0.027637548744678497,
0.01966184377670288,
-0.018517503514885902,
-0.005830066278576851,
0.022678740322589874,
-0.02496742084622383,
-0.017494533210992813,
0.042479291558265686,
-0.01330728828907013,
-0.0005269274697639048,
0.026961347088217735,
0.014833074994385242,
-0.010862561874091625,
-0.02054610662162304,
-0.011382716707885265,
-0.00833981204777956,
-0.01900298148393631,
0.03672291338443756,
0.015361899510025978,
0.014304251410067081,
0.0030450718477368355,
-0.01978321373462677,
0.018049364909529686,
-0.025158144533634186,
-0.03731242194771767,
-0.010385753586888313,
-0.06918056309223175,
-0.0019429941894486547,
0.02678796276450157,
0.025643622502684593,
-0.04154301434755325,
0.0006577788153663278,
-0.015699999406933784,
-0.0292326882481575,
-0.07524903118610382,
0.03301247954368591,
0.058118607848882675,
0.016237493604421616,
0.04029464349150658,
-0.0054442849941551685,
0.08225378394126892,
0.026701269671320915,
0.054893650114536285,
0.03616808354854584,
-0.029371395707130432,
0.010264384560286999,
0.026198454201221466,
-0.0020004278048872948,
-0.014191551133990288,
-0.053471893072128296,
-0.05891617760062218,
-0.00859555508941412,
0.007295168470591307,
-0.03259635344147682,
-0.004486333578824997,
0.026597239077091217,
0.04511474072933197,
0.026666592806577682,
0.0016731639625504613,
0.015752015635371208,
0.0178239643573761,
0.02819237858057022,
-0.012977857142686844,
0.0016699129482731223,
0.01928039640188217,
0.01460767537355423,
-0.044421203434467316,
0.034694310277700424,
0.001706757233478129,
-0.011417393572628498,
-0.0178239643573761,
-0.008777609094977379,
-0.0033376587089151144,
0.010212368331849575,
-0.01682700216770172,
0.010108337737619877,
0.016055438667535782,
0.03772854804992676,
-0.027100054547190666,
-0.002509746002033353,
-0.03023832105100155,
-0.02120496891438961,
0.022037217393517494,
-0.047784868627786636,
-0.0356479287147522,
0.01964450627565384,
0.07084506005048752,
-0.005023826379328966,
-0.011859524995088577,
0.04931065812706947,
-0.04407443478703499,
0.018153395503759384,
0.018829597160220146,
-0.015856046229600906,
0.07719094306230545,
-0.009813583455979824,
-0.03325521573424339,
-0.0550670325756073,
0.03417415916919708,
0.012292986735701561,
-0.05198078230023384,
-0.03377537056803703,
0.007212810683995485,
0.04667520523071289,
0.005348923150449991,
-0.03880353271961212,
-0.0055093043483793736,
0.01928039640188217,
0.01758989505469799,
-0.007403533905744553,
-0.006970071699470282,
0.003302981611341238,
0.06481126695871353,
0.007611595559865236,
-0.025158144533634186,
0.026597239077091217,
-0.026198454201221466,
-0.01048111543059349,
-0.017251795157790184,
-0.007715626619756222,
0.008825290016829967,
0.0014304252108559012,
-0.03682694584131241,
-0.021534400060772896,
0.027221424505114555,
-0.06089276447892189,
0.029683489352464676,
-0.00807106588035822,
-0.04553086683154106,
0.007702622562646866,
0.046363115310668945,
-0.04469861835241318,
0.025279514491558075,
-0.031191937625408173,
0.014269574545323849,
-0.004278271459043026,
-0.011087962426245213,
-0.024984760209918022,
0.0452534519135952,
0.01978321373462677,
0.011876863427460194,
0.014651020988821983,
0.008764605037868023,
-0.056315403431653976,
-0.036514852195978165,
-0.012492380104959011,
-0.039601102471351624,
-0.018066702410578728,
0.006155162584036589,
0.04081479832530022,
-0.03956642746925354,
0.004089715424925089,
0.06384030729532242,
-0.022314632311463356,
-0.017945334315299988,
-0.016263499855995178,
0.05059370398521423,
0.0006875793915241957,
-0.015994753688573837,
0.05080176517367363,
0.052292875945568085,
0.04781954735517502,
-0.004276104271411896,
-0.04032931849360466,
0.00828346237540245,
0.044525232166051865,
0.016523577272892,
0.04348492622375488,
0.01390546653419733,
0.021014245226979256,
-0.019713860005140305,
-0.01614213176071644,
0.02082352340221405,
0.026198454201221466,
-0.10944052785634995,
-0.036514852195978165,
0.004399640951305628,
-0.01087123155593872,
-0.0008235780987888575,
0.018916288390755653,
-0.005197211634367704,
-0.028781887143850327,
-0.09889873117208481,
-0.012691772542893887,
-0.013081888668239117,
0.015153837390244007,
-0.010385753586888313,
-0.017130425199866295,
-0.07226680964231491,
0.016098784282803535,
0.03994787484407425,
-0.04008658230304718,
-0.03398343548178673,
-0.059783101081848145,
0.00011947300663450733,
0.026285145431756973,
-0.012691772542893887,
0.021118277683854103,
-0.07698287814855576,
0.020580783486366272,
-0.015465930104255676,
0.021430369466543198,
0.05832666903734207,
0.07483290880918503,
0.05534445121884346,
-0.04161236807703972,
-0.053471893072128296,
-0.07843931764364243,
-0.03953174874186516,
-0.040780119597911835,
0.02340695634484291,
-0.03557857498526573,
-0.08502794057130814,
0.011798840016126633,
0.04889453202486038,
-0.09314235299825668,
0.03710436075925827,
-0.06456852704286575,
-0.04050270467996597,
0.031070567667484283,
0.0007807737565599382,
-0.03731242194771767,
-0.05635008215904236,
-0.018812257796525955,
0.08204571902751923,
0.05784119293093681,
-0.0362374372780323,
-0.05680088326334953,
-0.006207178346812725,
-0.03308183327317238,
-0.0048027606680989265,
-0.051148537546396255,
0.04393572360277176,
-0.010905908420681953,
0.0035760628525167704,
0.05558718740940094,
-0.002267007250338793,
0.020892877131700516,
0.021100938320159912,
0.08814886957406998,
0.036896299570798874,
-0.030446382239460945,
0.01705240085721016,
0.003370168386027217,
-0.05534445121884346,
-0.011556101031601429,
-0.037555161863565445,
0.005899420008063316,
-0.01784130372107029,
0.011218001134693623,
0.023944450542330742,
-0.017659248784184456,
0.05094047263264656,
-0.02148238569498062,
-0.056454114615917206,
-0.000012741416867356747,
-0.010637161321938038,
-0.01976587437093258,
0.02496742084622383,
-0.013099227100610733,
0.021933184936642647,
-0.02276543341577053,
-0.018534842878580093,
0.04348492622375488,
-0.00860422383993864,
-0.028261734172701836,
-0.05250093713402748,
-0.038040641695261,
-0.03139999881386757,
-0.03946239501237869,
0.07587321847677231,
-0.05194610729813576,
0.04459458962082863,
-0.05402672290802002,
-0.040641412138938904,
0.009596852585673332,
0.01118332426995039,
-0.07836996018886566,
0.052154168486595154,
0.023944450542330742,
0.04740342125296593,
0.010706515982747078,
-0.0014976117527112365,
0.021777139976620674,
0.03297780081629753,
-0.04487200453877449,
-0.0068183597177267075,
-0.06512335687875748,
-0.019037658348679543,
0.036133404821157455,
0.02016465924680233,
0.03994787484407425,
-0.015379237942397594,
0.018292102962732315,
-0.023250911384820938,
-0.025678299367427826,
0.05853473022580147,
0.0027373135089874268,
-0.011018608696758747,
-0.016445554792881012,
-0.021291662007570267,
0.05808392912149429,
0.012093594297766685,
0.034711651504039764,
0.028781887143850327,
-0.00917205959558487,
0.014373605139553547,
-0.07275228947401047,
0.06730800867080688,
0.06664914637804031,
-0.009484152309596539,
-0.021915847435593605,
-0.011139977723360062,
0.01694837026298046,
-0.05985245481133461,
-0.06522738933563232,
-0.02975284308195114,
0.01395748183131218,
-0.0832940936088562,
0.03876885771751404,
-0.050108227878808975,
-0.01577802374958992,
0.018586857244372368,
0.06553947925567627,
0.007880342192947865,
-0.014677029103040695,
-0.017555218189954758,
-0.059158917516469955,
-0.01837879605591297,
-0.012553064152598381,
-0.038456764072179794,
-0.005639342591166496,
-0.026337161660194397,
-0.031001213937997818,
-0.011798840016126633,
-0.08586018532514572,
0.031868137419223785,
-0.025140805169939995,
-0.013619381003081799,
-0.01591673120856285,
0.027620209380984306,
0.02004329115152359,
0.05409608036279678,
0.01926305890083313,
0.006332882214337587,
-0.03980916738510132,
0.0046857260167598724,
0.030307674780488014,
-0.018933627754449844,
-0.04653649777173996,
0.0007011250709183514,
-0.04667520523071289,
-0.004919795785099268,
-0.032110877335071564,
0.00009258480713469908,
-0.017347155138850212,
0.0018097045831382275,
0.022713417187333107,
-0.03152136877179146,
0.01769392564892769,
0.008998674340546131,
-0.06914588809013367,
0.0504549965262413,
-0.020754167810082436,
-0.0014813569141551852,
0.05364527925848961,
-0.0165669247508049,
-0.032769739627838135,
-0.03297780081629753,
-0.03786725550889969,
-0.01874290406703949,
0.13121767342090607,
0.0002993598172906786,
-0.03374069556593895,
-0.02469000592827797,
0.025296851992607117,
-0.06397901475429535,
-0.04213252291083336,
-0.021430369466543198,
-0.023094864562153816,
0.003439522348344326,
0.02652788534760475,
0.06245322898030281,
-0.028209717944264412,
0.0027849944308400154,
0.03713903948664665,
0.033810049295425415,
-0.026944007724523544,
0.025435559451580048,
0.011998232454061508,
-0.048686470836400986,
0.0351451113820076,
-0.02260938659310341,
-0.01479839812964201,
0.03752048686146736,
-0.02104892209172249,
-0.04882517829537392,
-0.03105323016643524,
-0.03991319611668587,
0.05069773644208908,
0.01455566007643938,
-0.030862506479024887,
0.051009826362133026,
0.06755074113607407,
0.049726780503988266,
0.05298641696572304
]
|
29,361 | quart.app | handle_http_exception | Handle a HTTPException subclass error.
This will attempt to find a handler for the error and if fails
will fall back to the error response.
| @setupmethod
def teardown_websocket(
self,
func: T_teardown,
) -> T_teardown:
"""Add a teardown websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.teardown_websocket
async def func():
...
Arguments:
func: The teardown websocket function itself.
"""
self.teardown_websocket_funcs[None].append(func)
return func
| (self, error: werkzeug.exceptions.HTTPException) -> Union[werkzeug.exceptions.HTTPException, quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]]] | [
0.010567807592451572,
-0.007269160356372595,
-0.017347155138850212,
-0.029700828716158867,
0.0046423799358308315,
0.037035007029771805,
-0.034711651504039764,
0.046085696667432785,
-0.03422617167234421,
0.01202424056828022,
0.021933184936642647,
-0.018257426097989082,
0.04296477138996124,
0.0072864992544054985,
0.007598591968417168,
0.01771126501262188,
0.04369298741221428,
-0.011651462875306606,
0.03348061814904213,
-0.0746942013502121,
-0.009804914705455303,
0.03713903948664665,
0.04202849045395851,
0.0047507453709840775,
-0.03320320323109627,
0.009423467330634594,
-0.05621137470006943,
-0.0008013632032088935,
0.013012534007430077,
-0.02312954142689705,
-0.042860738933086395,
-0.023979127407073975,
0.006566951982676983,
0.0400519035756588,
0.033931419253349304,
0.013021203689277172,
-0.011720816604793072,
0.04202849045395851,
-0.04275670647621155,
-0.01798001118004322,
0.01654091663658619,
-0.008322473615407944,
0.08183765411376953,
0.026042407378554344,
0.07393130660057068,
0.03772854804992676,
0.008617227897047997,
-0.024221865460276604,
-0.03765919432044029,
0.008322473615407944,
0.017633240669965744,
0.06151695176959038,
0.03908094763755798,
0.08821821957826614,
0.02612909860908985,
0.027117393910884857,
0.009371452033519745,
-0.006168166641145945,
0.02170778624713421,
-0.018326779827475548,
-0.0075249033980071545,
0.043242186307907104,
-0.01954047381877899,
0.05895085632801056,
0.024863390251994133,
-0.01926305890083313,
-0.04306880012154579,
0.03939304128289223,
0.036930978298187256,
-0.002951877424493432,
0.0037191053852438927,
0.0436583086848259,
-0.01834411919116974,
-0.012483710423111916,
0.04941468685865402,
-0.017927994951605797,
-0.01461634412407875,
-0.03953174874186516,
-0.018656210973858833,
-0.009900275617837906,
-0.008010380901396275,
0.08058928698301315,
0.01286515686661005,
0.07240551710128784,
0.046501822769641876,
-0.0013599875383079052,
0.0293367188423872,
-0.0069483984261751175,
-0.04046802967786789,
-0.004016026854515076,
-0.014824406243860722,
-0.0100129758939147,
-0.0022821782622486353,
-0.03386206552386284,
0.014911098405718803,
-0.04469861835241318,
-0.02911132015287876,
0.011035947129130363,
-0.025383545085787773,
-0.07483290880918503,
0.003558724420145154,
0.000766686222050339,
0.017771948128938675,
-0.0071087796241045,
0.04261799901723862,
-0.01158210914582014,
-0.010290391743183136,
-0.01708707958459854,
-0.06189839914441109,
-0.003979182802140713,
0.04629375785589218,
0.003192448988556862,
-0.0028391771484166384,
0.03353263437747955,
0.021915847435593605,
-0.033047154545784,
-0.03261369466781616,
0.00930209830403328,
0.018534842878580093,
-0.06141291931271553,
0.009770236909389496,
0.009917614050209522,
-0.02264406345784664,
-0.04771551489830017,
0.029250027611851692,
0.03280441835522652,
0.04046802967786789,
0.07164262980222702,
-0.02044207602739334,
-0.026562562212347984,
-0.038075316697359085,
0.04896388575434685,
-0.0025509248953312635,
0.028885919600725174,
0.02791496366262436,
-0.007758972700685263,
0.06914588809013367,
-0.005023826379328966,
0.011261346749961376,
0.01886427402496338,
-0.021031584590673447,
0.06817492842674255,
0.0018292103195562959,
0.015717338770627975,
0.007698288187384605,
0.024724682793021202,
-0.1241435632109642,
-0.01860419660806656,
0.009371452033519745,
-0.001543125370517373,
-0.02238398604094982,
0.014581667259335518,
-0.031347982585430145,
-0.03401811048388481,
-0.0010955756297335029,
0.00043237852514721453,
-0.024360574781894684,
0.0943213701248169,
0.0778844803571701,
-0.06033793464303017,
-0.0007043760269880295,
0.008747266605496407,
-0.006306874565780163,
-0.036410823464393616,
0.014772390946745872,
0.04795825481414795,
0.03686162456870079,
0.013064549304544926,
-0.007910684682428837,
0.07753771543502808,
-0.034954387694597244,
0.007624599616974592,
0.03465963527560234,
0.028018994256854057,
0.06179436668753624,
-0.005947100929915905,
0.025106128305196762,
0.04209784418344498,
-0.04521877318620682,
-0.0059427665546536446,
0.0036064053419977427,
-0.04618972912430763,
-0.017615903168916702,
-0.02264406345784664,
0.021759800612926483,
0.028209717944264412,
-0.0014694368001073599,
0.029302041977643967,
-0.003133931430056691,
-0.014590336941182613,
-0.015500606968998909,
0.012041579000651836,
0.03365400433540344,
0.046363115310668945,
0.052951738238334656,
-0.010767200030386448,
0.014919768087565899,
0.05638475716114044,
0.05402672290802002,
-0.0504549965262413,
0.025400882586836815,
0.034572944045066833,
0.06616366654634476,
-0.03852611780166626,
0.01654958538711071,
-0.0073818606324493885,
-0.01678365468978882,
-0.003430853132158518,
-0.07816189527511597,
-0.024221865460276604,
0.060580670833587646,
-0.018812257796525955,
0.025504913181066513,
0.00723881833255291,
0.06956201046705246,
-0.007980038411915302,
0.027585532516241074,
0.02469000592827797,
0.020892877131700516,
0.02975284308195114,
0.03630679100751877,
0.0113133629783988,
-0.016367532312870026,
0.00318161235190928,
0.01092324685305357,
0.0124663719907403,
-0.02316421829164028,
-0.06820960342884064,
-0.007715626619756222,
-0.017113085836172104,
-0.015032468363642693,
0.05697426572442055,
0.07559580355882645,
0.009137382730841637,
-0.06033793464303017,
0.01990458369255066,
-0.03810999542474747,
0.023771066218614578,
0.008552208542823792,
-0.02805367112159729,
-0.013489342294633389,
0.005470292642712593,
0.03453826531767845,
0.02793230302631855,
0.02755085565149784,
0.06255725771188736,
0.02999558299779892,
0.04293009266257286,
0.0005288238171488047,
0.015439921990036964,
-0.06914588809013367,
-0.00995229184627533,
0.005665350705385208,
-0.018690887838602066,
0.010836553759872913,
-0.01950579695403576,
0.009934952482581139,
-0.029908889904618263,
-0.007455549202859402,
0.01706974022090435,
0.022297294810414314,
-0.06023390218615532,
-0.02004329115152359,
0.1029212549328804,
-0.009648867882788181,
-0.04587763547897339,
-0.002329859184101224,
0.004859110806137323,
-0.06377095729112625,
-0.014954444952309132,
-0.04192446172237396,
-0.044386524707078934,
0.027498839423060417,
-0.03422617167234421,
-0.0010869064135476947,
0.003383172210305929,
-0.03842208534479141,
-0.08703920245170593,
-0.00004551352685666643,
-0.06276532262563705,
0.030983876436948776,
-0.04723003879189491,
0.049206625670194626,
0.03410480171442032,
0.011816178448498249,
0.0025487574748694897,
-0.001472687697969377,
-0.007182468194514513,
0.031347982585430145,
-0.0416470468044281,
-0.024759359657764435,
-0.05218884348869324,
-0.018465489149093628,
0.04098818451166153,
0.03720839321613312,
-0.0000018371346186540904,
-0.036376144737005234,
0.01732981763780117,
0.04227123036980629,
-0.04747277498245239,
-0.012076255865395069,
0.0008615060360170901,
-0.03828337788581848,
0.04459458962082863,
0.020320706069469452,
-0.0009834172669798136,
0.008582551032304764,
0.006857371423393488,
-0.04327686131000519,
-0.04178575426340103,
-0.009770236909389496,
0.016627607867121696,
-0.08079735189676285,
0.009276090189814568,
0.02481137402355671,
0.05388801544904709,
-0.05031628906726837,
-0.03011695109307766,
0.002815336687490344,
0.04913727194070816,
-0.018032025545835495,
-0.07261358201503754,
0.05222352221608162,
0.0017652746755629778,
0.03051573596894741,
-0.0354398675262928,
0.008010380901396275,
-0.04393572360277176,
0.005890750791877508,
0.022470679134130478,
-0.08592954277992249,
0.008162092417478561,
0.006302539724856615,
-0.0331338495016098,
-0.018725566565990448,
-0.010550469160079956,
-0.002598605817183852,
0.007030756212770939,
0.008253119885921478,
-0.0023623688612133265,
-0.0020426905248314142,
-0.02935405820608139,
0.012700441293418407,
0.02354566566646099,
-0.021378353238105774,
-0.006762010045349598,
-0.051009826362133026,
-0.005860408302396536,
0.11741623282432556,
0.02727343887090683,
0.12851285934448242,
-0.01150408573448658,
-0.021881170570850372,
0.07566515356302261,
0.028383102267980576,
-0.0012017738772556186,
-0.029388735070824623,
0.01505847554653883,
0.019297735765576363,
-0.06744671612977982,
-0.041681721806526184,
0.004833103157579899,
0.027637548744678497,
0.01966184377670288,
-0.018517503514885902,
-0.005830066278576851,
0.022678740322589874,
-0.02496742084622383,
-0.017494533210992813,
0.042479291558265686,
-0.01330728828907013,
-0.0005269274697639048,
0.026961347088217735,
0.014833074994385242,
-0.010862561874091625,
-0.02054610662162304,
-0.011382716707885265,
-0.00833981204777956,
-0.01900298148393631,
0.03672291338443756,
0.015361899510025978,
0.014304251410067081,
0.0030450718477368355,
-0.01978321373462677,
0.018049364909529686,
-0.025158144533634186,
-0.03731242194771767,
-0.010385753586888313,
-0.06918056309223175,
-0.0019429941894486547,
0.02678796276450157,
0.025643622502684593,
-0.04154301434755325,
0.0006577788153663278,
-0.015699999406933784,
-0.0292326882481575,
-0.07524903118610382,
0.03301247954368591,
0.058118607848882675,
0.016237493604421616,
0.04029464349150658,
-0.0054442849941551685,
0.08225378394126892,
0.026701269671320915,
0.054893650114536285,
0.03616808354854584,
-0.029371395707130432,
0.010264384560286999,
0.026198454201221466,
-0.0020004278048872948,
-0.014191551133990288,
-0.053471893072128296,
-0.05891617760062218,
-0.00859555508941412,
0.007295168470591307,
-0.03259635344147682,
-0.004486333578824997,
0.026597239077091217,
0.04511474072933197,
0.026666592806577682,
0.0016731639625504613,
0.015752015635371208,
0.0178239643573761,
0.02819237858057022,
-0.012977857142686844,
0.0016699129482731223,
0.01928039640188217,
0.01460767537355423,
-0.044421203434467316,
0.034694310277700424,
0.001706757233478129,
-0.011417393572628498,
-0.0178239643573761,
-0.008777609094977379,
-0.0033376587089151144,
0.010212368331849575,
-0.01682700216770172,
0.010108337737619877,
0.016055438667535782,
0.03772854804992676,
-0.027100054547190666,
-0.002509746002033353,
-0.03023832105100155,
-0.02120496891438961,
0.022037217393517494,
-0.047784868627786636,
-0.0356479287147522,
0.01964450627565384,
0.07084506005048752,
-0.005023826379328966,
-0.011859524995088577,
0.04931065812706947,
-0.04407443478703499,
0.018153395503759384,
0.018829597160220146,
-0.015856046229600906,
0.07719094306230545,
-0.009813583455979824,
-0.03325521573424339,
-0.0550670325756073,
0.03417415916919708,
0.012292986735701561,
-0.05198078230023384,
-0.03377537056803703,
0.007212810683995485,
0.04667520523071289,
0.005348923150449991,
-0.03880353271961212,
-0.0055093043483793736,
0.01928039640188217,
0.01758989505469799,
-0.007403533905744553,
-0.006970071699470282,
0.003302981611341238,
0.06481126695871353,
0.007611595559865236,
-0.025158144533634186,
0.026597239077091217,
-0.026198454201221466,
-0.01048111543059349,
-0.017251795157790184,
-0.007715626619756222,
0.008825290016829967,
0.0014304252108559012,
-0.03682694584131241,
-0.021534400060772896,
0.027221424505114555,
-0.06089276447892189,
0.029683489352464676,
-0.00807106588035822,
-0.04553086683154106,
0.007702622562646866,
0.046363115310668945,
-0.04469861835241318,
0.025279514491558075,
-0.031191937625408173,
0.014269574545323849,
-0.004278271459043026,
-0.011087962426245213,
-0.024984760209918022,
0.0452534519135952,
0.01978321373462677,
0.011876863427460194,
0.014651020988821983,
0.008764605037868023,
-0.056315403431653976,
-0.036514852195978165,
-0.012492380104959011,
-0.039601102471351624,
-0.018066702410578728,
0.006155162584036589,
0.04081479832530022,
-0.03956642746925354,
0.004089715424925089,
0.06384030729532242,
-0.022314632311463356,
-0.017945334315299988,
-0.016263499855995178,
0.05059370398521423,
0.0006875793915241957,
-0.015994753688573837,
0.05080176517367363,
0.052292875945568085,
0.04781954735517502,
-0.004276104271411896,
-0.04032931849360466,
0.00828346237540245,
0.044525232166051865,
0.016523577272892,
0.04348492622375488,
0.01390546653419733,
0.021014245226979256,
-0.019713860005140305,
-0.01614213176071644,
0.02082352340221405,
0.026198454201221466,
-0.10944052785634995,
-0.036514852195978165,
0.004399640951305628,
-0.01087123155593872,
-0.0008235780987888575,
0.018916288390755653,
-0.005197211634367704,
-0.028781887143850327,
-0.09889873117208481,
-0.012691772542893887,
-0.013081888668239117,
0.015153837390244007,
-0.010385753586888313,
-0.017130425199866295,
-0.07226680964231491,
0.016098784282803535,
0.03994787484407425,
-0.04008658230304718,
-0.03398343548178673,
-0.059783101081848145,
0.00011947300663450733,
0.026285145431756973,
-0.012691772542893887,
0.021118277683854103,
-0.07698287814855576,
0.020580783486366272,
-0.015465930104255676,
0.021430369466543198,
0.05832666903734207,
0.07483290880918503,
0.05534445121884346,
-0.04161236807703972,
-0.053471893072128296,
-0.07843931764364243,
-0.03953174874186516,
-0.040780119597911835,
0.02340695634484291,
-0.03557857498526573,
-0.08502794057130814,
0.011798840016126633,
0.04889453202486038,
-0.09314235299825668,
0.03710436075925827,
-0.06456852704286575,
-0.04050270467996597,
0.031070567667484283,
0.0007807737565599382,
-0.03731242194771767,
-0.05635008215904236,
-0.018812257796525955,
0.08204571902751923,
0.05784119293093681,
-0.0362374372780323,
-0.05680088326334953,
-0.006207178346812725,
-0.03308183327317238,
-0.0048027606680989265,
-0.051148537546396255,
0.04393572360277176,
-0.010905908420681953,
0.0035760628525167704,
0.05558718740940094,
-0.002267007250338793,
0.020892877131700516,
0.021100938320159912,
0.08814886957406998,
0.036896299570798874,
-0.030446382239460945,
0.01705240085721016,
0.003370168386027217,
-0.05534445121884346,
-0.011556101031601429,
-0.037555161863565445,
0.005899420008063316,
-0.01784130372107029,
0.011218001134693623,
0.023944450542330742,
-0.017659248784184456,
0.05094047263264656,
-0.02148238569498062,
-0.056454114615917206,
-0.000012741416867356747,
-0.010637161321938038,
-0.01976587437093258,
0.02496742084622383,
-0.013099227100610733,
0.021933184936642647,
-0.02276543341577053,
-0.018534842878580093,
0.04348492622375488,
-0.00860422383993864,
-0.028261734172701836,
-0.05250093713402748,
-0.038040641695261,
-0.03139999881386757,
-0.03946239501237869,
0.07587321847677231,
-0.05194610729813576,
0.04459458962082863,
-0.05402672290802002,
-0.040641412138938904,
0.009596852585673332,
0.01118332426995039,
-0.07836996018886566,
0.052154168486595154,
0.023944450542330742,
0.04740342125296593,
0.010706515982747078,
-0.0014976117527112365,
0.021777139976620674,
0.03297780081629753,
-0.04487200453877449,
-0.0068183597177267075,
-0.06512335687875748,
-0.019037658348679543,
0.036133404821157455,
0.02016465924680233,
0.03994787484407425,
-0.015379237942397594,
0.018292102962732315,
-0.023250911384820938,
-0.025678299367427826,
0.05853473022580147,
0.0027373135089874268,
-0.011018608696758747,
-0.016445554792881012,
-0.021291662007570267,
0.05808392912149429,
0.012093594297766685,
0.034711651504039764,
0.028781887143850327,
-0.00917205959558487,
0.014373605139553547,
-0.07275228947401047,
0.06730800867080688,
0.06664914637804031,
-0.009484152309596539,
-0.021915847435593605,
-0.011139977723360062,
0.01694837026298046,
-0.05985245481133461,
-0.06522738933563232,
-0.02975284308195114,
0.01395748183131218,
-0.0832940936088562,
0.03876885771751404,
-0.050108227878808975,
-0.01577802374958992,
0.018586857244372368,
0.06553947925567627,
0.007880342192947865,
-0.014677029103040695,
-0.017555218189954758,
-0.059158917516469955,
-0.01837879605591297,
-0.012553064152598381,
-0.038456764072179794,
-0.005639342591166496,
-0.026337161660194397,
-0.031001213937997818,
-0.011798840016126633,
-0.08586018532514572,
0.031868137419223785,
-0.025140805169939995,
-0.013619381003081799,
-0.01591673120856285,
0.027620209380984306,
0.02004329115152359,
0.05409608036279678,
0.01926305890083313,
0.006332882214337587,
-0.03980916738510132,
0.0046857260167598724,
0.030307674780488014,
-0.018933627754449844,
-0.04653649777173996,
0.0007011250709183514,
-0.04667520523071289,
-0.004919795785099268,
-0.032110877335071564,
0.00009258480713469908,
-0.017347155138850212,
0.0018097045831382275,
0.022713417187333107,
-0.03152136877179146,
0.01769392564892769,
0.008998674340546131,
-0.06914588809013367,
0.0504549965262413,
-0.020754167810082436,
-0.0014813569141551852,
0.05364527925848961,
-0.0165669247508049,
-0.032769739627838135,
-0.03297780081629753,
-0.03786725550889969,
-0.01874290406703949,
0.13121767342090607,
0.0002993598172906786,
-0.03374069556593895,
-0.02469000592827797,
0.025296851992607117,
-0.06397901475429535,
-0.04213252291083336,
-0.021430369466543198,
-0.023094864562153816,
0.003439522348344326,
0.02652788534760475,
0.06245322898030281,
-0.028209717944264412,
0.0027849944308400154,
0.03713903948664665,
0.033810049295425415,
-0.026944007724523544,
0.025435559451580048,
0.011998232454061508,
-0.048686470836400986,
0.0351451113820076,
-0.02260938659310341,
-0.01479839812964201,
0.03752048686146736,
-0.02104892209172249,
-0.04882517829537392,
-0.03105323016643524,
-0.03991319611668587,
0.05069773644208908,
0.01455566007643938,
-0.030862506479024887,
0.051009826362133026,
0.06755074113607407,
0.049726780503988266,
0.05298641696572304
]
|
29,364 | quart.app | handle_user_exception | Handle an exception that has been raised.
This should forward :class:`~quart.exception.HTTPException` to
:meth:`handle_http_exception`, then attempt to handle the
error. If it cannot it should reraise the error.
| @setupmethod
def teardown_websocket(
self,
func: T_teardown,
) -> T_teardown:
"""Add a teardown websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.teardown_websocket
async def func():
...
Arguments:
func: The teardown websocket function itself.
"""
self.teardown_websocket_funcs[None].append(func)
return func
| (self, error: Exception) -> Union[werkzeug.exceptions.HTTPException, quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]]] | [
0.010567807592451572,
-0.007269160356372595,
-0.017347155138850212,
-0.029700828716158867,
0.0046423799358308315,
0.037035007029771805,
-0.034711651504039764,
0.046085696667432785,
-0.03422617167234421,
0.01202424056828022,
0.021933184936642647,
-0.018257426097989082,
0.04296477138996124,
0.0072864992544054985,
0.007598591968417168,
0.01771126501262188,
0.04369298741221428,
-0.011651462875306606,
0.03348061814904213,
-0.0746942013502121,
-0.009804914705455303,
0.03713903948664665,
0.04202849045395851,
0.0047507453709840775,
-0.03320320323109627,
0.009423467330634594,
-0.05621137470006943,
-0.0008013632032088935,
0.013012534007430077,
-0.02312954142689705,
-0.042860738933086395,
-0.023979127407073975,
0.006566951982676983,
0.0400519035756588,
0.033931419253349304,
0.013021203689277172,
-0.011720816604793072,
0.04202849045395851,
-0.04275670647621155,
-0.01798001118004322,
0.01654091663658619,
-0.008322473615407944,
0.08183765411376953,
0.026042407378554344,
0.07393130660057068,
0.03772854804992676,
0.008617227897047997,
-0.024221865460276604,
-0.03765919432044029,
0.008322473615407944,
0.017633240669965744,
0.06151695176959038,
0.03908094763755798,
0.08821821957826614,
0.02612909860908985,
0.027117393910884857,
0.009371452033519745,
-0.006168166641145945,
0.02170778624713421,
-0.018326779827475548,
-0.0075249033980071545,
0.043242186307907104,
-0.01954047381877899,
0.05895085632801056,
0.024863390251994133,
-0.01926305890083313,
-0.04306880012154579,
0.03939304128289223,
0.036930978298187256,
-0.002951877424493432,
0.0037191053852438927,
0.0436583086848259,
-0.01834411919116974,
-0.012483710423111916,
0.04941468685865402,
-0.017927994951605797,
-0.01461634412407875,
-0.03953174874186516,
-0.018656210973858833,
-0.009900275617837906,
-0.008010380901396275,
0.08058928698301315,
0.01286515686661005,
0.07240551710128784,
0.046501822769641876,
-0.0013599875383079052,
0.0293367188423872,
-0.0069483984261751175,
-0.04046802967786789,
-0.004016026854515076,
-0.014824406243860722,
-0.0100129758939147,
-0.0022821782622486353,
-0.03386206552386284,
0.014911098405718803,
-0.04469861835241318,
-0.02911132015287876,
0.011035947129130363,
-0.025383545085787773,
-0.07483290880918503,
0.003558724420145154,
0.000766686222050339,
0.017771948128938675,
-0.0071087796241045,
0.04261799901723862,
-0.01158210914582014,
-0.010290391743183136,
-0.01708707958459854,
-0.06189839914441109,
-0.003979182802140713,
0.04629375785589218,
0.003192448988556862,
-0.0028391771484166384,
0.03353263437747955,
0.021915847435593605,
-0.033047154545784,
-0.03261369466781616,
0.00930209830403328,
0.018534842878580093,
-0.06141291931271553,
0.009770236909389496,
0.009917614050209522,
-0.02264406345784664,
-0.04771551489830017,
0.029250027611851692,
0.03280441835522652,
0.04046802967786789,
0.07164262980222702,
-0.02044207602739334,
-0.026562562212347984,
-0.038075316697359085,
0.04896388575434685,
-0.0025509248953312635,
0.028885919600725174,
0.02791496366262436,
-0.007758972700685263,
0.06914588809013367,
-0.005023826379328966,
0.011261346749961376,
0.01886427402496338,
-0.021031584590673447,
0.06817492842674255,
0.0018292103195562959,
0.015717338770627975,
0.007698288187384605,
0.024724682793021202,
-0.1241435632109642,
-0.01860419660806656,
0.009371452033519745,
-0.001543125370517373,
-0.02238398604094982,
0.014581667259335518,
-0.031347982585430145,
-0.03401811048388481,
-0.0010955756297335029,
0.00043237852514721453,
-0.024360574781894684,
0.0943213701248169,
0.0778844803571701,
-0.06033793464303017,
-0.0007043760269880295,
0.008747266605496407,
-0.006306874565780163,
-0.036410823464393616,
0.014772390946745872,
0.04795825481414795,
0.03686162456870079,
0.013064549304544926,
-0.007910684682428837,
0.07753771543502808,
-0.034954387694597244,
0.007624599616974592,
0.03465963527560234,
0.028018994256854057,
0.06179436668753624,
-0.005947100929915905,
0.025106128305196762,
0.04209784418344498,
-0.04521877318620682,
-0.0059427665546536446,
0.0036064053419977427,
-0.04618972912430763,
-0.017615903168916702,
-0.02264406345784664,
0.021759800612926483,
0.028209717944264412,
-0.0014694368001073599,
0.029302041977643967,
-0.003133931430056691,
-0.014590336941182613,
-0.015500606968998909,
0.012041579000651836,
0.03365400433540344,
0.046363115310668945,
0.052951738238334656,
-0.010767200030386448,
0.014919768087565899,
0.05638475716114044,
0.05402672290802002,
-0.0504549965262413,
0.025400882586836815,
0.034572944045066833,
0.06616366654634476,
-0.03852611780166626,
0.01654958538711071,
-0.0073818606324493885,
-0.01678365468978882,
-0.003430853132158518,
-0.07816189527511597,
-0.024221865460276604,
0.060580670833587646,
-0.018812257796525955,
0.025504913181066513,
0.00723881833255291,
0.06956201046705246,
-0.007980038411915302,
0.027585532516241074,
0.02469000592827797,
0.020892877131700516,
0.02975284308195114,
0.03630679100751877,
0.0113133629783988,
-0.016367532312870026,
0.00318161235190928,
0.01092324685305357,
0.0124663719907403,
-0.02316421829164028,
-0.06820960342884064,
-0.007715626619756222,
-0.017113085836172104,
-0.015032468363642693,
0.05697426572442055,
0.07559580355882645,
0.009137382730841637,
-0.06033793464303017,
0.01990458369255066,
-0.03810999542474747,
0.023771066218614578,
0.008552208542823792,
-0.02805367112159729,
-0.013489342294633389,
0.005470292642712593,
0.03453826531767845,
0.02793230302631855,
0.02755085565149784,
0.06255725771188736,
0.02999558299779892,
0.04293009266257286,
0.0005288238171488047,
0.015439921990036964,
-0.06914588809013367,
-0.00995229184627533,
0.005665350705385208,
-0.018690887838602066,
0.010836553759872913,
-0.01950579695403576,
0.009934952482581139,
-0.029908889904618263,
-0.007455549202859402,
0.01706974022090435,
0.022297294810414314,
-0.06023390218615532,
-0.02004329115152359,
0.1029212549328804,
-0.009648867882788181,
-0.04587763547897339,
-0.002329859184101224,
0.004859110806137323,
-0.06377095729112625,
-0.014954444952309132,
-0.04192446172237396,
-0.044386524707078934,
0.027498839423060417,
-0.03422617167234421,
-0.0010869064135476947,
0.003383172210305929,
-0.03842208534479141,
-0.08703920245170593,
-0.00004551352685666643,
-0.06276532262563705,
0.030983876436948776,
-0.04723003879189491,
0.049206625670194626,
0.03410480171442032,
0.011816178448498249,
0.0025487574748694897,
-0.001472687697969377,
-0.007182468194514513,
0.031347982585430145,
-0.0416470468044281,
-0.024759359657764435,
-0.05218884348869324,
-0.018465489149093628,
0.04098818451166153,
0.03720839321613312,
-0.0000018371346186540904,
-0.036376144737005234,
0.01732981763780117,
0.04227123036980629,
-0.04747277498245239,
-0.012076255865395069,
0.0008615060360170901,
-0.03828337788581848,
0.04459458962082863,
0.020320706069469452,
-0.0009834172669798136,
0.008582551032304764,
0.006857371423393488,
-0.04327686131000519,
-0.04178575426340103,
-0.009770236909389496,
0.016627607867121696,
-0.08079735189676285,
0.009276090189814568,
0.02481137402355671,
0.05388801544904709,
-0.05031628906726837,
-0.03011695109307766,
0.002815336687490344,
0.04913727194070816,
-0.018032025545835495,
-0.07261358201503754,
0.05222352221608162,
0.0017652746755629778,
0.03051573596894741,
-0.0354398675262928,
0.008010380901396275,
-0.04393572360277176,
0.005890750791877508,
0.022470679134130478,
-0.08592954277992249,
0.008162092417478561,
0.006302539724856615,
-0.0331338495016098,
-0.018725566565990448,
-0.010550469160079956,
-0.002598605817183852,
0.007030756212770939,
0.008253119885921478,
-0.0023623688612133265,
-0.0020426905248314142,
-0.02935405820608139,
0.012700441293418407,
0.02354566566646099,
-0.021378353238105774,
-0.006762010045349598,
-0.051009826362133026,
-0.005860408302396536,
0.11741623282432556,
0.02727343887090683,
0.12851285934448242,
-0.01150408573448658,
-0.021881170570850372,
0.07566515356302261,
0.028383102267980576,
-0.0012017738772556186,
-0.029388735070824623,
0.01505847554653883,
0.019297735765576363,
-0.06744671612977982,
-0.041681721806526184,
0.004833103157579899,
0.027637548744678497,
0.01966184377670288,
-0.018517503514885902,
-0.005830066278576851,
0.022678740322589874,
-0.02496742084622383,
-0.017494533210992813,
0.042479291558265686,
-0.01330728828907013,
-0.0005269274697639048,
0.026961347088217735,
0.014833074994385242,
-0.010862561874091625,
-0.02054610662162304,
-0.011382716707885265,
-0.00833981204777956,
-0.01900298148393631,
0.03672291338443756,
0.015361899510025978,
0.014304251410067081,
0.0030450718477368355,
-0.01978321373462677,
0.018049364909529686,
-0.025158144533634186,
-0.03731242194771767,
-0.010385753586888313,
-0.06918056309223175,
-0.0019429941894486547,
0.02678796276450157,
0.025643622502684593,
-0.04154301434755325,
0.0006577788153663278,
-0.015699999406933784,
-0.0292326882481575,
-0.07524903118610382,
0.03301247954368591,
0.058118607848882675,
0.016237493604421616,
0.04029464349150658,
-0.0054442849941551685,
0.08225378394126892,
0.026701269671320915,
0.054893650114536285,
0.03616808354854584,
-0.029371395707130432,
0.010264384560286999,
0.026198454201221466,
-0.0020004278048872948,
-0.014191551133990288,
-0.053471893072128296,
-0.05891617760062218,
-0.00859555508941412,
0.007295168470591307,
-0.03259635344147682,
-0.004486333578824997,
0.026597239077091217,
0.04511474072933197,
0.026666592806577682,
0.0016731639625504613,
0.015752015635371208,
0.0178239643573761,
0.02819237858057022,
-0.012977857142686844,
0.0016699129482731223,
0.01928039640188217,
0.01460767537355423,
-0.044421203434467316,
0.034694310277700424,
0.001706757233478129,
-0.011417393572628498,
-0.0178239643573761,
-0.008777609094977379,
-0.0033376587089151144,
0.010212368331849575,
-0.01682700216770172,
0.010108337737619877,
0.016055438667535782,
0.03772854804992676,
-0.027100054547190666,
-0.002509746002033353,
-0.03023832105100155,
-0.02120496891438961,
0.022037217393517494,
-0.047784868627786636,
-0.0356479287147522,
0.01964450627565384,
0.07084506005048752,
-0.005023826379328966,
-0.011859524995088577,
0.04931065812706947,
-0.04407443478703499,
0.018153395503759384,
0.018829597160220146,
-0.015856046229600906,
0.07719094306230545,
-0.009813583455979824,
-0.03325521573424339,
-0.0550670325756073,
0.03417415916919708,
0.012292986735701561,
-0.05198078230023384,
-0.03377537056803703,
0.007212810683995485,
0.04667520523071289,
0.005348923150449991,
-0.03880353271961212,
-0.0055093043483793736,
0.01928039640188217,
0.01758989505469799,
-0.007403533905744553,
-0.006970071699470282,
0.003302981611341238,
0.06481126695871353,
0.007611595559865236,
-0.025158144533634186,
0.026597239077091217,
-0.026198454201221466,
-0.01048111543059349,
-0.017251795157790184,
-0.007715626619756222,
0.008825290016829967,
0.0014304252108559012,
-0.03682694584131241,
-0.021534400060772896,
0.027221424505114555,
-0.06089276447892189,
0.029683489352464676,
-0.00807106588035822,
-0.04553086683154106,
0.007702622562646866,
0.046363115310668945,
-0.04469861835241318,
0.025279514491558075,
-0.031191937625408173,
0.014269574545323849,
-0.004278271459043026,
-0.011087962426245213,
-0.024984760209918022,
0.0452534519135952,
0.01978321373462677,
0.011876863427460194,
0.014651020988821983,
0.008764605037868023,
-0.056315403431653976,
-0.036514852195978165,
-0.012492380104959011,
-0.039601102471351624,
-0.018066702410578728,
0.006155162584036589,
0.04081479832530022,
-0.03956642746925354,
0.004089715424925089,
0.06384030729532242,
-0.022314632311463356,
-0.017945334315299988,
-0.016263499855995178,
0.05059370398521423,
0.0006875793915241957,
-0.015994753688573837,
0.05080176517367363,
0.052292875945568085,
0.04781954735517502,
-0.004276104271411896,
-0.04032931849360466,
0.00828346237540245,
0.044525232166051865,
0.016523577272892,
0.04348492622375488,
0.01390546653419733,
0.021014245226979256,
-0.019713860005140305,
-0.01614213176071644,
0.02082352340221405,
0.026198454201221466,
-0.10944052785634995,
-0.036514852195978165,
0.004399640951305628,
-0.01087123155593872,
-0.0008235780987888575,
0.018916288390755653,
-0.005197211634367704,
-0.028781887143850327,
-0.09889873117208481,
-0.012691772542893887,
-0.013081888668239117,
0.015153837390244007,
-0.010385753586888313,
-0.017130425199866295,
-0.07226680964231491,
0.016098784282803535,
0.03994787484407425,
-0.04008658230304718,
-0.03398343548178673,
-0.059783101081848145,
0.00011947300663450733,
0.026285145431756973,
-0.012691772542893887,
0.021118277683854103,
-0.07698287814855576,
0.020580783486366272,
-0.015465930104255676,
0.021430369466543198,
0.05832666903734207,
0.07483290880918503,
0.05534445121884346,
-0.04161236807703972,
-0.053471893072128296,
-0.07843931764364243,
-0.03953174874186516,
-0.040780119597911835,
0.02340695634484291,
-0.03557857498526573,
-0.08502794057130814,
0.011798840016126633,
0.04889453202486038,
-0.09314235299825668,
0.03710436075925827,
-0.06456852704286575,
-0.04050270467996597,
0.031070567667484283,
0.0007807737565599382,
-0.03731242194771767,
-0.05635008215904236,
-0.018812257796525955,
0.08204571902751923,
0.05784119293093681,
-0.0362374372780323,
-0.05680088326334953,
-0.006207178346812725,
-0.03308183327317238,
-0.0048027606680989265,
-0.051148537546396255,
0.04393572360277176,
-0.010905908420681953,
0.0035760628525167704,
0.05558718740940094,
-0.002267007250338793,
0.020892877131700516,
0.021100938320159912,
0.08814886957406998,
0.036896299570798874,
-0.030446382239460945,
0.01705240085721016,
0.003370168386027217,
-0.05534445121884346,
-0.011556101031601429,
-0.037555161863565445,
0.005899420008063316,
-0.01784130372107029,
0.011218001134693623,
0.023944450542330742,
-0.017659248784184456,
0.05094047263264656,
-0.02148238569498062,
-0.056454114615917206,
-0.000012741416867356747,
-0.010637161321938038,
-0.01976587437093258,
0.02496742084622383,
-0.013099227100610733,
0.021933184936642647,
-0.02276543341577053,
-0.018534842878580093,
0.04348492622375488,
-0.00860422383993864,
-0.028261734172701836,
-0.05250093713402748,
-0.038040641695261,
-0.03139999881386757,
-0.03946239501237869,
0.07587321847677231,
-0.05194610729813576,
0.04459458962082863,
-0.05402672290802002,
-0.040641412138938904,
0.009596852585673332,
0.01118332426995039,
-0.07836996018886566,
0.052154168486595154,
0.023944450542330742,
0.04740342125296593,
0.010706515982747078,
-0.0014976117527112365,
0.021777139976620674,
0.03297780081629753,
-0.04487200453877449,
-0.0068183597177267075,
-0.06512335687875748,
-0.019037658348679543,
0.036133404821157455,
0.02016465924680233,
0.03994787484407425,
-0.015379237942397594,
0.018292102962732315,
-0.023250911384820938,
-0.025678299367427826,
0.05853473022580147,
0.0027373135089874268,
-0.011018608696758747,
-0.016445554792881012,
-0.021291662007570267,
0.05808392912149429,
0.012093594297766685,
0.034711651504039764,
0.028781887143850327,
-0.00917205959558487,
0.014373605139553547,
-0.07275228947401047,
0.06730800867080688,
0.06664914637804031,
-0.009484152309596539,
-0.021915847435593605,
-0.011139977723360062,
0.01694837026298046,
-0.05985245481133461,
-0.06522738933563232,
-0.02975284308195114,
0.01395748183131218,
-0.0832940936088562,
0.03876885771751404,
-0.050108227878808975,
-0.01577802374958992,
0.018586857244372368,
0.06553947925567627,
0.007880342192947865,
-0.014677029103040695,
-0.017555218189954758,
-0.059158917516469955,
-0.01837879605591297,
-0.012553064152598381,
-0.038456764072179794,
-0.005639342591166496,
-0.026337161660194397,
-0.031001213937997818,
-0.011798840016126633,
-0.08586018532514572,
0.031868137419223785,
-0.025140805169939995,
-0.013619381003081799,
-0.01591673120856285,
0.027620209380984306,
0.02004329115152359,
0.05409608036279678,
0.01926305890083313,
0.006332882214337587,
-0.03980916738510132,
0.0046857260167598724,
0.030307674780488014,
-0.018933627754449844,
-0.04653649777173996,
0.0007011250709183514,
-0.04667520523071289,
-0.004919795785099268,
-0.032110877335071564,
0.00009258480713469908,
-0.017347155138850212,
0.0018097045831382275,
0.022713417187333107,
-0.03152136877179146,
0.01769392564892769,
0.008998674340546131,
-0.06914588809013367,
0.0504549965262413,
-0.020754167810082436,
-0.0014813569141551852,
0.05364527925848961,
-0.0165669247508049,
-0.032769739627838135,
-0.03297780081629753,
-0.03786725550889969,
-0.01874290406703949,
0.13121767342090607,
0.0002993598172906786,
-0.03374069556593895,
-0.02469000592827797,
0.025296851992607117,
-0.06397901475429535,
-0.04213252291083336,
-0.021430369466543198,
-0.023094864562153816,
0.003439522348344326,
0.02652788534760475,
0.06245322898030281,
-0.028209717944264412,
0.0027849944308400154,
0.03713903948664665,
0.033810049295425415,
-0.026944007724523544,
0.025435559451580048,
0.011998232454061508,
-0.048686470836400986,
0.0351451113820076,
-0.02260938659310341,
-0.01479839812964201,
0.03752048686146736,
-0.02104892209172249,
-0.04882517829537392,
-0.03105323016643524,
-0.03991319611668587,
0.05069773644208908,
0.01455566007643938,
-0.030862506479024887,
0.051009826362133026,
0.06755074113607407,
0.049726780503988266,
0.05298641696572304
]
|
29,366 | quart.app | handle_websocket_exception | Handle an uncaught exception.
By default this logs the exception and then re-raises it.
| @setupmethod
def teardown_websocket(
self,
func: T_teardown,
) -> T_teardown:
"""Add a teardown websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.teardown_websocket
async def func():
...
Arguments:
func: The teardown websocket function itself.
"""
self.teardown_websocket_funcs[None].append(func)
return func
| (self, error: Exception) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, NoneType] | [
0.010567807592451572,
-0.007269160356372595,
-0.017347155138850212,
-0.029700828716158867,
0.0046423799358308315,
0.037035007029771805,
-0.034711651504039764,
0.046085696667432785,
-0.03422617167234421,
0.01202424056828022,
0.021933184936642647,
-0.018257426097989082,
0.04296477138996124,
0.0072864992544054985,
0.007598591968417168,
0.01771126501262188,
0.04369298741221428,
-0.011651462875306606,
0.03348061814904213,
-0.0746942013502121,
-0.009804914705455303,
0.03713903948664665,
0.04202849045395851,
0.0047507453709840775,
-0.03320320323109627,
0.009423467330634594,
-0.05621137470006943,
-0.0008013632032088935,
0.013012534007430077,
-0.02312954142689705,
-0.042860738933086395,
-0.023979127407073975,
0.006566951982676983,
0.0400519035756588,
0.033931419253349304,
0.013021203689277172,
-0.011720816604793072,
0.04202849045395851,
-0.04275670647621155,
-0.01798001118004322,
0.01654091663658619,
-0.008322473615407944,
0.08183765411376953,
0.026042407378554344,
0.07393130660057068,
0.03772854804992676,
0.008617227897047997,
-0.024221865460276604,
-0.03765919432044029,
0.008322473615407944,
0.017633240669965744,
0.06151695176959038,
0.03908094763755798,
0.08821821957826614,
0.02612909860908985,
0.027117393910884857,
0.009371452033519745,
-0.006168166641145945,
0.02170778624713421,
-0.018326779827475548,
-0.0075249033980071545,
0.043242186307907104,
-0.01954047381877899,
0.05895085632801056,
0.024863390251994133,
-0.01926305890083313,
-0.04306880012154579,
0.03939304128289223,
0.036930978298187256,
-0.002951877424493432,
0.0037191053852438927,
0.0436583086848259,
-0.01834411919116974,
-0.012483710423111916,
0.04941468685865402,
-0.017927994951605797,
-0.01461634412407875,
-0.03953174874186516,
-0.018656210973858833,
-0.009900275617837906,
-0.008010380901396275,
0.08058928698301315,
0.01286515686661005,
0.07240551710128784,
0.046501822769641876,
-0.0013599875383079052,
0.0293367188423872,
-0.0069483984261751175,
-0.04046802967786789,
-0.004016026854515076,
-0.014824406243860722,
-0.0100129758939147,
-0.0022821782622486353,
-0.03386206552386284,
0.014911098405718803,
-0.04469861835241318,
-0.02911132015287876,
0.011035947129130363,
-0.025383545085787773,
-0.07483290880918503,
0.003558724420145154,
0.000766686222050339,
0.017771948128938675,
-0.0071087796241045,
0.04261799901723862,
-0.01158210914582014,
-0.010290391743183136,
-0.01708707958459854,
-0.06189839914441109,
-0.003979182802140713,
0.04629375785589218,
0.003192448988556862,
-0.0028391771484166384,
0.03353263437747955,
0.021915847435593605,
-0.033047154545784,
-0.03261369466781616,
0.00930209830403328,
0.018534842878580093,
-0.06141291931271553,
0.009770236909389496,
0.009917614050209522,
-0.02264406345784664,
-0.04771551489830017,
0.029250027611851692,
0.03280441835522652,
0.04046802967786789,
0.07164262980222702,
-0.02044207602739334,
-0.026562562212347984,
-0.038075316697359085,
0.04896388575434685,
-0.0025509248953312635,
0.028885919600725174,
0.02791496366262436,
-0.007758972700685263,
0.06914588809013367,
-0.005023826379328966,
0.011261346749961376,
0.01886427402496338,
-0.021031584590673447,
0.06817492842674255,
0.0018292103195562959,
0.015717338770627975,
0.007698288187384605,
0.024724682793021202,
-0.1241435632109642,
-0.01860419660806656,
0.009371452033519745,
-0.001543125370517373,
-0.02238398604094982,
0.014581667259335518,
-0.031347982585430145,
-0.03401811048388481,
-0.0010955756297335029,
0.00043237852514721453,
-0.024360574781894684,
0.0943213701248169,
0.0778844803571701,
-0.06033793464303017,
-0.0007043760269880295,
0.008747266605496407,
-0.006306874565780163,
-0.036410823464393616,
0.014772390946745872,
0.04795825481414795,
0.03686162456870079,
0.013064549304544926,
-0.007910684682428837,
0.07753771543502808,
-0.034954387694597244,
0.007624599616974592,
0.03465963527560234,
0.028018994256854057,
0.06179436668753624,
-0.005947100929915905,
0.025106128305196762,
0.04209784418344498,
-0.04521877318620682,
-0.0059427665546536446,
0.0036064053419977427,
-0.04618972912430763,
-0.017615903168916702,
-0.02264406345784664,
0.021759800612926483,
0.028209717944264412,
-0.0014694368001073599,
0.029302041977643967,
-0.003133931430056691,
-0.014590336941182613,
-0.015500606968998909,
0.012041579000651836,
0.03365400433540344,
0.046363115310668945,
0.052951738238334656,
-0.010767200030386448,
0.014919768087565899,
0.05638475716114044,
0.05402672290802002,
-0.0504549965262413,
0.025400882586836815,
0.034572944045066833,
0.06616366654634476,
-0.03852611780166626,
0.01654958538711071,
-0.0073818606324493885,
-0.01678365468978882,
-0.003430853132158518,
-0.07816189527511597,
-0.024221865460276604,
0.060580670833587646,
-0.018812257796525955,
0.025504913181066513,
0.00723881833255291,
0.06956201046705246,
-0.007980038411915302,
0.027585532516241074,
0.02469000592827797,
0.020892877131700516,
0.02975284308195114,
0.03630679100751877,
0.0113133629783988,
-0.016367532312870026,
0.00318161235190928,
0.01092324685305357,
0.0124663719907403,
-0.02316421829164028,
-0.06820960342884064,
-0.007715626619756222,
-0.017113085836172104,
-0.015032468363642693,
0.05697426572442055,
0.07559580355882645,
0.009137382730841637,
-0.06033793464303017,
0.01990458369255066,
-0.03810999542474747,
0.023771066218614578,
0.008552208542823792,
-0.02805367112159729,
-0.013489342294633389,
0.005470292642712593,
0.03453826531767845,
0.02793230302631855,
0.02755085565149784,
0.06255725771188736,
0.02999558299779892,
0.04293009266257286,
0.0005288238171488047,
0.015439921990036964,
-0.06914588809013367,
-0.00995229184627533,
0.005665350705385208,
-0.018690887838602066,
0.010836553759872913,
-0.01950579695403576,
0.009934952482581139,
-0.029908889904618263,
-0.007455549202859402,
0.01706974022090435,
0.022297294810414314,
-0.06023390218615532,
-0.02004329115152359,
0.1029212549328804,
-0.009648867882788181,
-0.04587763547897339,
-0.002329859184101224,
0.004859110806137323,
-0.06377095729112625,
-0.014954444952309132,
-0.04192446172237396,
-0.044386524707078934,
0.027498839423060417,
-0.03422617167234421,
-0.0010869064135476947,
0.003383172210305929,
-0.03842208534479141,
-0.08703920245170593,
-0.00004551352685666643,
-0.06276532262563705,
0.030983876436948776,
-0.04723003879189491,
0.049206625670194626,
0.03410480171442032,
0.011816178448498249,
0.0025487574748694897,
-0.001472687697969377,
-0.007182468194514513,
0.031347982585430145,
-0.0416470468044281,
-0.024759359657764435,
-0.05218884348869324,
-0.018465489149093628,
0.04098818451166153,
0.03720839321613312,
-0.0000018371346186540904,
-0.036376144737005234,
0.01732981763780117,
0.04227123036980629,
-0.04747277498245239,
-0.012076255865395069,
0.0008615060360170901,
-0.03828337788581848,
0.04459458962082863,
0.020320706069469452,
-0.0009834172669798136,
0.008582551032304764,
0.006857371423393488,
-0.04327686131000519,
-0.04178575426340103,
-0.009770236909389496,
0.016627607867121696,
-0.08079735189676285,
0.009276090189814568,
0.02481137402355671,
0.05388801544904709,
-0.05031628906726837,
-0.03011695109307766,
0.002815336687490344,
0.04913727194070816,
-0.018032025545835495,
-0.07261358201503754,
0.05222352221608162,
0.0017652746755629778,
0.03051573596894741,
-0.0354398675262928,
0.008010380901396275,
-0.04393572360277176,
0.005890750791877508,
0.022470679134130478,
-0.08592954277992249,
0.008162092417478561,
0.006302539724856615,
-0.0331338495016098,
-0.018725566565990448,
-0.010550469160079956,
-0.002598605817183852,
0.007030756212770939,
0.008253119885921478,
-0.0023623688612133265,
-0.0020426905248314142,
-0.02935405820608139,
0.012700441293418407,
0.02354566566646099,
-0.021378353238105774,
-0.006762010045349598,
-0.051009826362133026,
-0.005860408302396536,
0.11741623282432556,
0.02727343887090683,
0.12851285934448242,
-0.01150408573448658,
-0.021881170570850372,
0.07566515356302261,
0.028383102267980576,
-0.0012017738772556186,
-0.029388735070824623,
0.01505847554653883,
0.019297735765576363,
-0.06744671612977982,
-0.041681721806526184,
0.004833103157579899,
0.027637548744678497,
0.01966184377670288,
-0.018517503514885902,
-0.005830066278576851,
0.022678740322589874,
-0.02496742084622383,
-0.017494533210992813,
0.042479291558265686,
-0.01330728828907013,
-0.0005269274697639048,
0.026961347088217735,
0.014833074994385242,
-0.010862561874091625,
-0.02054610662162304,
-0.011382716707885265,
-0.00833981204777956,
-0.01900298148393631,
0.03672291338443756,
0.015361899510025978,
0.014304251410067081,
0.0030450718477368355,
-0.01978321373462677,
0.018049364909529686,
-0.025158144533634186,
-0.03731242194771767,
-0.010385753586888313,
-0.06918056309223175,
-0.0019429941894486547,
0.02678796276450157,
0.025643622502684593,
-0.04154301434755325,
0.0006577788153663278,
-0.015699999406933784,
-0.0292326882481575,
-0.07524903118610382,
0.03301247954368591,
0.058118607848882675,
0.016237493604421616,
0.04029464349150658,
-0.0054442849941551685,
0.08225378394126892,
0.026701269671320915,
0.054893650114536285,
0.03616808354854584,
-0.029371395707130432,
0.010264384560286999,
0.026198454201221466,
-0.0020004278048872948,
-0.014191551133990288,
-0.053471893072128296,
-0.05891617760062218,
-0.00859555508941412,
0.007295168470591307,
-0.03259635344147682,
-0.004486333578824997,
0.026597239077091217,
0.04511474072933197,
0.026666592806577682,
0.0016731639625504613,
0.015752015635371208,
0.0178239643573761,
0.02819237858057022,
-0.012977857142686844,
0.0016699129482731223,
0.01928039640188217,
0.01460767537355423,
-0.044421203434467316,
0.034694310277700424,
0.001706757233478129,
-0.011417393572628498,
-0.0178239643573761,
-0.008777609094977379,
-0.0033376587089151144,
0.010212368331849575,
-0.01682700216770172,
0.010108337737619877,
0.016055438667535782,
0.03772854804992676,
-0.027100054547190666,
-0.002509746002033353,
-0.03023832105100155,
-0.02120496891438961,
0.022037217393517494,
-0.047784868627786636,
-0.0356479287147522,
0.01964450627565384,
0.07084506005048752,
-0.005023826379328966,
-0.011859524995088577,
0.04931065812706947,
-0.04407443478703499,
0.018153395503759384,
0.018829597160220146,
-0.015856046229600906,
0.07719094306230545,
-0.009813583455979824,
-0.03325521573424339,
-0.0550670325756073,
0.03417415916919708,
0.012292986735701561,
-0.05198078230023384,
-0.03377537056803703,
0.007212810683995485,
0.04667520523071289,
0.005348923150449991,
-0.03880353271961212,
-0.0055093043483793736,
0.01928039640188217,
0.01758989505469799,
-0.007403533905744553,
-0.006970071699470282,
0.003302981611341238,
0.06481126695871353,
0.007611595559865236,
-0.025158144533634186,
0.026597239077091217,
-0.026198454201221466,
-0.01048111543059349,
-0.017251795157790184,
-0.007715626619756222,
0.008825290016829967,
0.0014304252108559012,
-0.03682694584131241,
-0.021534400060772896,
0.027221424505114555,
-0.06089276447892189,
0.029683489352464676,
-0.00807106588035822,
-0.04553086683154106,
0.007702622562646866,
0.046363115310668945,
-0.04469861835241318,
0.025279514491558075,
-0.031191937625408173,
0.014269574545323849,
-0.004278271459043026,
-0.011087962426245213,
-0.024984760209918022,
0.0452534519135952,
0.01978321373462677,
0.011876863427460194,
0.014651020988821983,
0.008764605037868023,
-0.056315403431653976,
-0.036514852195978165,
-0.012492380104959011,
-0.039601102471351624,
-0.018066702410578728,
0.006155162584036589,
0.04081479832530022,
-0.03956642746925354,
0.004089715424925089,
0.06384030729532242,
-0.022314632311463356,
-0.017945334315299988,
-0.016263499855995178,
0.05059370398521423,
0.0006875793915241957,
-0.015994753688573837,
0.05080176517367363,
0.052292875945568085,
0.04781954735517502,
-0.004276104271411896,
-0.04032931849360466,
0.00828346237540245,
0.044525232166051865,
0.016523577272892,
0.04348492622375488,
0.01390546653419733,
0.021014245226979256,
-0.019713860005140305,
-0.01614213176071644,
0.02082352340221405,
0.026198454201221466,
-0.10944052785634995,
-0.036514852195978165,
0.004399640951305628,
-0.01087123155593872,
-0.0008235780987888575,
0.018916288390755653,
-0.005197211634367704,
-0.028781887143850327,
-0.09889873117208481,
-0.012691772542893887,
-0.013081888668239117,
0.015153837390244007,
-0.010385753586888313,
-0.017130425199866295,
-0.07226680964231491,
0.016098784282803535,
0.03994787484407425,
-0.04008658230304718,
-0.03398343548178673,
-0.059783101081848145,
0.00011947300663450733,
0.026285145431756973,
-0.012691772542893887,
0.021118277683854103,
-0.07698287814855576,
0.020580783486366272,
-0.015465930104255676,
0.021430369466543198,
0.05832666903734207,
0.07483290880918503,
0.05534445121884346,
-0.04161236807703972,
-0.053471893072128296,
-0.07843931764364243,
-0.03953174874186516,
-0.040780119597911835,
0.02340695634484291,
-0.03557857498526573,
-0.08502794057130814,
0.011798840016126633,
0.04889453202486038,
-0.09314235299825668,
0.03710436075925827,
-0.06456852704286575,
-0.04050270467996597,
0.031070567667484283,
0.0007807737565599382,
-0.03731242194771767,
-0.05635008215904236,
-0.018812257796525955,
0.08204571902751923,
0.05784119293093681,
-0.0362374372780323,
-0.05680088326334953,
-0.006207178346812725,
-0.03308183327317238,
-0.0048027606680989265,
-0.051148537546396255,
0.04393572360277176,
-0.010905908420681953,
0.0035760628525167704,
0.05558718740940094,
-0.002267007250338793,
0.020892877131700516,
0.021100938320159912,
0.08814886957406998,
0.036896299570798874,
-0.030446382239460945,
0.01705240085721016,
0.003370168386027217,
-0.05534445121884346,
-0.011556101031601429,
-0.037555161863565445,
0.005899420008063316,
-0.01784130372107029,
0.011218001134693623,
0.023944450542330742,
-0.017659248784184456,
0.05094047263264656,
-0.02148238569498062,
-0.056454114615917206,
-0.000012741416867356747,
-0.010637161321938038,
-0.01976587437093258,
0.02496742084622383,
-0.013099227100610733,
0.021933184936642647,
-0.02276543341577053,
-0.018534842878580093,
0.04348492622375488,
-0.00860422383993864,
-0.028261734172701836,
-0.05250093713402748,
-0.038040641695261,
-0.03139999881386757,
-0.03946239501237869,
0.07587321847677231,
-0.05194610729813576,
0.04459458962082863,
-0.05402672290802002,
-0.040641412138938904,
0.009596852585673332,
0.01118332426995039,
-0.07836996018886566,
0.052154168486595154,
0.023944450542330742,
0.04740342125296593,
0.010706515982747078,
-0.0014976117527112365,
0.021777139976620674,
0.03297780081629753,
-0.04487200453877449,
-0.0068183597177267075,
-0.06512335687875748,
-0.019037658348679543,
0.036133404821157455,
0.02016465924680233,
0.03994787484407425,
-0.015379237942397594,
0.018292102962732315,
-0.023250911384820938,
-0.025678299367427826,
0.05853473022580147,
0.0027373135089874268,
-0.011018608696758747,
-0.016445554792881012,
-0.021291662007570267,
0.05808392912149429,
0.012093594297766685,
0.034711651504039764,
0.028781887143850327,
-0.00917205959558487,
0.014373605139553547,
-0.07275228947401047,
0.06730800867080688,
0.06664914637804031,
-0.009484152309596539,
-0.021915847435593605,
-0.011139977723360062,
0.01694837026298046,
-0.05985245481133461,
-0.06522738933563232,
-0.02975284308195114,
0.01395748183131218,
-0.0832940936088562,
0.03876885771751404,
-0.050108227878808975,
-0.01577802374958992,
0.018586857244372368,
0.06553947925567627,
0.007880342192947865,
-0.014677029103040695,
-0.017555218189954758,
-0.059158917516469955,
-0.01837879605591297,
-0.012553064152598381,
-0.038456764072179794,
-0.005639342591166496,
-0.026337161660194397,
-0.031001213937997818,
-0.011798840016126633,
-0.08586018532514572,
0.031868137419223785,
-0.025140805169939995,
-0.013619381003081799,
-0.01591673120856285,
0.027620209380984306,
0.02004329115152359,
0.05409608036279678,
0.01926305890083313,
0.006332882214337587,
-0.03980916738510132,
0.0046857260167598724,
0.030307674780488014,
-0.018933627754449844,
-0.04653649777173996,
0.0007011250709183514,
-0.04667520523071289,
-0.004919795785099268,
-0.032110877335071564,
0.00009258480713469908,
-0.017347155138850212,
0.0018097045831382275,
0.022713417187333107,
-0.03152136877179146,
0.01769392564892769,
0.008998674340546131,
-0.06914588809013367,
0.0504549965262413,
-0.020754167810082436,
-0.0014813569141551852,
0.05364527925848961,
-0.0165669247508049,
-0.032769739627838135,
-0.03297780081629753,
-0.03786725550889969,
-0.01874290406703949,
0.13121767342090607,
0.0002993598172906786,
-0.03374069556593895,
-0.02469000592827797,
0.025296851992607117,
-0.06397901475429535,
-0.04213252291083336,
-0.021430369466543198,
-0.023094864562153816,
0.003439522348344326,
0.02652788534760475,
0.06245322898030281,
-0.028209717944264412,
0.0027849944308400154,
0.03713903948664665,
0.033810049295425415,
-0.026944007724523544,
0.025435559451580048,
0.011998232454061508,
-0.048686470836400986,
0.0351451113820076,
-0.02260938659310341,
-0.01479839812964201,
0.03752048686146736,
-0.02104892209172249,
-0.04882517829537392,
-0.03105323016643524,
-0.03991319611668587,
0.05069773644208908,
0.01455566007643938,
-0.030862506479024887,
0.051009826362133026,
0.06755074113607407,
0.049726780503988266,
0.05298641696572304
]
|
29,367 | flask.sansio.app | inject_url_defaults | Injects the URL defaults for the given endpoint directly into
the values dictionary passed. This is used internally and
automatically called on URL building.
.. versionadded:: 0.7
| def inject_url_defaults(self, endpoint: str, values: dict[str, t.Any]) -> None:
"""Injects the URL defaults for the given endpoint directly into
the values dictionary passed. This is used internally and
automatically called on URL building.
.. versionadded:: 0.7
"""
names: t.Iterable[str | None] = (None,)
# url_for may be called outside a request context, parse the
# passed endpoint instead of using request.blueprints.
if "." in endpoint:
names = chain(
names, reversed(_split_blueprint_path(endpoint.rpartition(".")[0]))
)
for name in names:
if name in self.url_default_functions:
for func in self.url_default_functions[name]:
func(endpoint, values)
| (self, endpoint: str, values: dict[str, typing.Any]) -> NoneType | [
-0.0028315591625869274,
-0.05384692922234535,
-0.005140507593750954,
-0.0429622083902359,
-0.04627808555960655,
0.0717238187789917,
-0.0019507798133417964,
0.026689190417528152,
-0.00847890879958868,
0.020544009283185005,
-0.010839668102562428,
0.03346510976552963,
-0.022364135831594467,
-0.00611814996227622,
0.013443711213767529,
0.03730359673500061,
0.04717913642525673,
0.043863262981176376,
0.05200878158211708,
-0.04818831756711006,
0.0399346724152565,
-0.029284223914146423,
-0.02153516747057438,
-0.014083459042012691,
-0.036024101078510284,
0.033717405050992966,
-0.02002139948308468,
-0.007780592888593674,
0.07334572076797485,
-0.019678998738527298,
0.018777946010231972,
-0.036366499960422516,
0.0014292954001575708,
0.017570534721016884,
0.08030184358358383,
-0.054856110364198685,
0.01777777634561062,
0.1379692405462265,
-0.07576054334640503,
-0.011623584665358067,
0.024724895134568214,
0.012389479205012321,
0.0013628427404910326,
-0.044656187295913696,
0.054856110364198685,
0.10740552097558975,
-0.03256405517458916,
0.07431885600090027,
0.023139042779803276,
-0.03249197453260422,
-0.006681308150291443,
-0.0009821478743106127,
0.022057779133319855,
0.021012557670474052,
-0.015732385218143463,
0.03665483742952347,
-0.002192937768995762,
0.0322757214307785,
-0.02750013954937458,
0.06343413144350052,
0.024328432977199554,
-0.043935347348451614,
-0.00063467922154814,
-0.04375513643026352,
0.011668636463582516,
0.04631412774324417,
0.00869966670870781,
-0.005104465410113335,
0.005311707500368357,
0.01337162684649229,
0.030347466468811035,
-0.04836852848529816,
-0.055252574384212494,
-0.03018527664244175,
-0.0021242324728518724,
0.0005946949822828174,
0.09457452595233917,
-0.04252970218658447,
0.023859884589910507,
-0.05806385725736618,
-0.036240354180336,
-0.038637153804302216,
-0.0401148796081543,
-0.03211352974176407,
0.017228133976459503,
0.003764149034395814,
-0.02454468421638012,
-0.009325899183750153,
0.06422705948352814,
0.04379117861390114,
-0.04213324189186096,
0.0006870529614388943,
0.0074517084285616875,
-0.03737568110227585,
0.016669481992721558,
-0.013632932677865028,
-0.008046403527259827,
0.0052576446905732155,
0.037844229489564896,
-0.02755420282483101,
0.017894912511110306,
-0.08924029022455215,
0.03961029276251793,
-0.021300893276929855,
-0.017426365986466408,
-0.11288392543792725,
0.05045897141098976,
-0.00963225681334734,
-0.05575716122984886,
0.002430590568110347,
-0.003047812031581998,
-0.02906797081232071,
0.04310637712478638,
-0.026166580617427826,
-0.02151714637875557,
0.04105197638273239,
-0.009749393910169601,
0.029662666842341423,
0.056369878351688385,
0.0016004954231902957,
-0.06534436345100403,
-0.019751083105802536,
-0.048116233199834824,
-0.0009466688497923315,
0.048909157514572144,
-0.020868388935923576,
-0.035303257405757904,
0.03892549127340317,
0.0512879379093647,
-0.04454806074500084,
0.031104350462555885,
0.050350844860076904,
-0.059000954031944275,
0.0045030126348137856,
0.023553526028990746,
-0.015993691980838776,
-0.02636481262743473,
0.06581291556358337,
0.011407331563532352,
0.043178461492061615,
-0.048801030963659286,
-0.018579714000225067,
0.009677309542894363,
-0.023968011140823364,
0.0020465166307985783,
0.017083965241909027,
0.06174015626311302,
0.02679731696844101,
0.024959169328212738,
0.03694317489862442,
0.023121021687984467,
0.10207128524780273,
0.008632088080048561,
-0.00038998702075332403,
-0.018597735092043877,
-0.02795066498219967,
0.016903754323720932,
0.03589795157313347,
-0.00198006397113204,
-0.0207242202013731,
0.04660246521234512,
-0.005068423226475716,
0.033302921801805496,
-0.04476431384682655,
0.014029395766556263,
0.03517711162567139,
0.06721855700016022,
0.0010868952376767993,
0.06995775550603867,
0.042457617819309235,
-0.003230275120586157,
-0.006194739602506161,
0.02562594786286354,
0.024040095508098602,
0.10726135224103928,
-0.003975896630436182,
0.023139042779803276,
-0.07958100736141205,
0.005550486966967583,
-0.020544009283185005,
-0.005248634144663811,
0.01577743887901306,
-0.015362954698503017,
0.008523961529135704,
0.03726755455136299,
0.015732385218143463,
-0.02679731696844101,
0.01284901611506939,
-0.06891253590583801,
0.0049197496846318245,
-0.03503294289112091,
-0.0012637268519029021,
0.016804639250040054,
0.029932981356978416,
0.020237650722265244,
-0.016092807054519653,
0.04083572328090668,
-0.017948975786566734,
0.02863546647131443,
0.020093481987714767,
-0.016867712140083313,
-0.0573430173099041,
-0.008163540624082088,
-0.036078162491321564,
0.04436785355210304,
0.017525481060147285,
0.03310468792915344,
-0.016390154138207436,
-0.052621498703956604,
-0.036024101078510284,
-0.06880441308021545,
0.004550317768007517,
-0.07403051853179932,
-0.037447765469551086,
-0.06916483491659164,
0.03283437341451645,
-0.0005589344655163586,
0.008947456255555153,
-0.05795573070645332,
0.050639182329177856,
0.054135266691446304,
-0.003511854214593768,
0.062100574374198914,
-0.038240689784288406,
0.06069493293762207,
0.03171706572175026,
0.03629441559314728,
-0.08823111653327942,
-0.03697921708226204,
0.012659795582294464,
-0.05287379398941994,
-0.01542602851986885,
-0.010632425546646118,
0.0317891500890255,
0.08332938700914383,
-0.03240186721086502,
0.007370613981038332,
-0.02604043297469616,
0.05514444783329964,
0.0611274391412735,
0.060478679835796356,
0.00945204682648182,
-0.04797206446528435,
-0.01957087218761444,
-0.009713351726531982,
0.05781156197190285,
-0.04678267240524292,
0.003710085991770029,
-0.021589230746030807,
-0.05132398009300232,
0.04375513643026352,
0.002698653843253851,
-0.030095171183347702,
0.010299036279320717,
-0.018615756183862686,
0.002374274656176567,
0.02524750679731369,
0.021931631490588188,
0.01661541871726513,
-0.03211352974176407,
-0.014813312329351902,
-0.024454578757286072,
0.031933318823575974,
0.020598072558641434,
-0.0025680011603981256,
0.013065269216895103,
-0.0001490961149102077,
-0.05085543543100357,
-0.008059919811785221,
0.030816014856100082,
0.050350844860076904,
0.022346114739775658,
-0.01928253471851349,
0.002138874726369977,
0.05038688704371452,
0.041664693504571915,
0.01695781759917736,
0.017237145453691483,
-0.015200764872133732,
-0.05420735105872154,
0.07341780513525009,
-0.05402714014053345,
0.021409019827842712,
0.00415610708296299,
0.04173677787184715,
0.014903416857123375,
-0.019697019830346107,
0.017651628702878952,
0.015299880877137184,
-0.05402714014053345,
0.07705805450677872,
0.036078162491321564,
-0.016074785962700844,
0.03589795157313347,
-0.07734639197587967,
-0.02416624315083027,
0.05200878158211708,
-0.03950216621160507,
0.035303257405757904,
0.005009855143725872,
-0.03360927850008011,
-0.05536069720983505,
0.00885284598916769,
0.04400743171572685,
0.012731879949569702,
-0.06754293292760849,
0.04188094660639763,
-0.0222379881888628,
0.025139380246400833,
-0.02342737838625908,
0.018940135836601257,
0.028166918084025383,
-0.054099224507808685,
-0.02560792677104473,
0.03705130144953728,
-0.026256686076521873,
0.0002872106560971588,
-0.03892549127340317,
0.0003539448953233659,
0.017489438876509666,
-0.02755420282483101,
0.06433518975973129,
-0.08657317608594894,
-0.008415834978222847,
0.013272511772811413,
0.03240186721086502,
0.0345463752746582,
0.029248181730508804,
-0.01620093360543251,
0.00792025588452816,
-0.013029227033257484,
-0.003910570405423641,
0.015516133047640324,
0.00463141268119216,
0.008023877628147602,
-0.02180548384785652,
-0.04591766372323036,
0.003741622669622302,
-0.011371289379894733,
-0.00888888817280531,
-0.03137466683983803,
0.003196485573425889,
-0.025157401338219643,
0.009087120182812214,
-0.006037055514752865,
-0.00963225681334734,
0.052621498703956604,
-0.03688910976052284,
0.022165905684232712,
-0.08268062770366669,
-0.03705130144953728,
-0.00002050247712759301,
0.005140507593750954,
0.003279833123087883,
0.038240689784288406,
-0.006496592424809933,
-0.014966490678489208,
-0.04343075677752495,
0.010686488822102547,
-0.017426365986466408,
0.014515964314341545,
-0.03950216621160507,
-0.03597003594040871,
0.014993522316217422,
0.06804752349853516,
0.02414822205901146,
0.039718419313430786,
0.00041138703818432987,
-0.011046910658478737,
-0.03205946832895279,
0.03272624686360359,
0.011182067915797234,
0.07309342175722122,
-0.017435375601053238,
-0.01589457504451275,
-0.029680687934160233,
-0.0193005558103323,
0.031212477013468742,
0.016669481992721558,
0.014461901038885117,
0.008303203620016575,
0.0042957705445587635,
0.03141070902347565,
0.079869344830513,
0.02973475120961666,
-0.057847604155540466,
0.019372640177607536,
0.03279833123087883,
-0.009069099090993404,
0.00961423572152853,
0.02005743980407715,
-0.043142419308423996,
-0.04970208555459976,
0.013434700667858124,
-0.012191248126327991,
-0.06884045153856277,
-0.011569521389901638,
0.004480486270040274,
-0.02607647515833378,
-0.003257306758314371,
0.05345046520233154,
-0.04292616620659828,
0.04516077786684036,
0.037952352315187454,
0.03730359673500061,
-0.04116010293364525,
0.019336597993969917,
0.058208025991916656,
0.02414822205901146,
0.04411555826663971,
-0.0422053262591362,
-0.04916145280003548,
-0.050639182329177856,
-0.007875203154981136,
0.020525988191366196,
-0.031807173043489456,
0.006082108244299889,
0.03418595343828201,
-0.021427040919661522,
-0.03478064760565758,
0.018705861642956734,
-0.058964911848306656,
0.04400743171572685,
0.04310637712478638,
-0.007866192609071732,
0.022057779133319855,
-0.023877905681729317,
-0.05651404708623886,
-0.021300893276929855,
-0.016417186707258224,
-0.01090274192392826,
0.0013527058763429523,
-0.049593959003686905,
-0.0020487692672759295,
0.07849974185228348,
0.004120064899325371,
0.06213661655783653,
-0.0014112743083387613,
-0.023121021687984467,
-0.052909836173057556,
-0.04851269721984863,
-0.031843215227127075,
-0.013939290307462215,
0.010262994095683098,
-0.022922789677977562,
0.019733062013983727,
-0.011749731376767159,
-0.03759193420410156,
0.005361265502870083,
-0.016092807054519653,
-0.019498787820339203,
-0.04916145280003548,
0.04912541061639786,
0.022562367841601372,
-0.022346114739775658,
-0.02490510605275631,
-0.028743591159582138,
0.04004279896616936,
0.025121359154582024,
0.043935347348451614,
0.055252574384212494,
-0.049630001187324524,
-0.023661652579903603,
-0.011993016116321087,
-0.03433012217283249,
0.045413073152303696,
0.035591594874858856,
0.009132172912359238,
-0.04213324189186096,
0.0026040433440357447,
0.008168045431375504,
-0.02376977913081646,
-0.029969023540616035,
-0.024004053324460983,
-0.05644196271896362,
0.030365487560629845,
0.051828570663928986,
0.020273692905902863,
-0.005735202692449093,
-0.0009483583271503448,
-0.024022074416279793,
0.011335247196257114,
-0.03683504834771156,
0.027373991906642914,
0.0019361376762390137,
0.0007749056094326079,
-0.01579545997083187,
0.021751420572400093,
0.04379117861390114,
0.029626624658703804,
-0.0015148954698815942,
-0.02258038893342018,
0.008681645616889,
-0.01036211010068655,
-0.031536854803562164,
0.029680687934160233,
0.08066226541996002,
-0.02492312714457512,
0.06422705948352814,
-0.0017874640179798007,
0.028743591159582138,
-0.039430081844329834,
0.010073772631585598,
0.001731148106046021,
-0.024598747491836548,
-0.04116010293364525,
-0.05889282748103142,
0.06080305948853493,
-0.05719884857535362,
0.0008869740995578468,
0.034095846116542816,
0.023968011140823364,
0.024959169328212738,
0.01850762963294983,
0.021607251837849617,
-0.031050287187099457,
0.02564396895468235,
-0.005591033957898617,
0.011641605757176876,
-0.03360927850008011,
0.026454918086528778,
0.013524806126952171,
-0.02638283371925354,
0.02831108681857586,
-0.016903754323720932,
0.02294081076979637,
0.016903754323720932,
-0.001610632287338376,
-0.019769104197621346,
-0.0016173901967704296,
0.001431548036634922,
0.05020667612552643,
0.015110659413039684,
0.007266992703080177,
0.021931631490588188,
0.07294925302267075,
0.006190234329551458,
-0.07489553093910217,
-0.04685475677251816,
0.041304271668195724,
0.008555498905479908,
0.03961029276251793,
-0.03654671087861061,
-0.030996223911643028,
-0.031536854803562164,
-0.07554429024457932,
-0.049774169921875,
0.00509545486420393,
0.05986596271395683,
-0.057883646339178085,
0.04137635603547096,
0.007933772169053555,
0.020832346752285957,
-0.0016004954231902957,
-0.049197494983673096,
-0.050314802676439285,
-0.024959169328212738,
0.03535732254385948,
-0.01776876673102379,
0.04029509052634239,
0.00846539344638586,
0.00885735172778368,
-0.017525481060147285,
0.02825702354311943,
0.019841188564896584,
0.013831163756549358,
-0.011578531935811043,
-0.023175084963440895,
-0.057847604155540466,
-0.00888888817280531,
-0.049017284065485,
-0.0032640646677464247,
-0.009253814816474915,
-0.024815000593662262,
0.019156387075781822,
0.01203806884586811,
0.026635127142071724,
-0.06948921084403992,
0.02636481262743473,
-0.006609224248677492,
-0.05309004709124565,
0.02829306572675705,
-0.004717012867331505,
-0.049197494983673096,
0.050531055778265,
0.018390493467450142,
-0.012821984477341175,
0.05009854957461357,
0.00595145532861352,
-0.003232527757063508,
-0.08073434978723526,
0.011263162828981876,
-0.05557695031166077,
-0.006875034887343645,
-0.06336204707622528,
0.0459897480905056,
-0.037123385816812515,
-0.03780818730592728,
0.023607589304447174,
0.023517483845353127,
-0.05460381507873535,
0.04112406075000763,
0.005798276513814926,
0.016687503084540367,
-0.014561017043888569,
-0.028130875900387764,
0.0017762008355930448,
-0.021751420572400093,
-0.005906402599066496,
-0.0252655278891325,
0.025085316970944405,
0.032618120312690735,
0.019030239433050156,
0.052225034683942795,
-0.04155656695365906,
-0.026454918086528778,
-0.013056258670985699,
0.02303091622889042,
0.0010790110100060701,
-0.02452666312456131,
-0.03584389016032219,
0.007969814352691174,
-0.04631412774324417,
0.05463985726237297,
-0.0004463028453756124,
-0.038312774151563644,
-0.030689867213368416,
-0.00847890879958868,
-0.027247844263911247,
0.04602579027414322,
0.010695499368011951,
0.004205665085464716,
-0.007154361344873905,
-0.004694486502557993,
-0.008677140809595585,
-0.017056934535503387,
0.06098327040672302,
-0.026671169325709343,
-0.019877230748534203,
-0.01284901611506939,
0.008933940902352333,
-0.054856110364198685,
0.057523224502801895,
0.016867712140083313,
0.03442022576928139,
0.04339471459388733,
-0.045016609132289886,
-0.044728271663188934,
0.005978486966341734,
-0.001633158652111888,
0.025139380246400833,
0.013317563571035862,
0.017174070701003075,
0.010992847383022308,
-0.006730866152793169,
0.019408682361245155,
-0.03773610293865204,
-0.028040770441293716,
0.05539673939347267,
-0.024292390793561935,
-0.027013570070266724,
-0.055649034678936005,
0.0015374217182397842,
-0.003210001392289996,
-0.06822773814201355,
-0.005239623598754406,
0.008560003712773323,
-0.022832684218883514,
-0.017120007425546646,
-0.004640423227101564,
-0.013723038136959076,
-0.015245817601680756,
-0.000408289663027972,
-0.011839836835861206,
0.029608603566884995,
-0.04097989201545715,
-0.015335923060774803,
0.037447765469551086,
0.018264345824718475,
0.004270991310477257,
0.02144506201148033,
-0.02600439079105854,
0.006519118789583445,
0.04346679896116257,
-0.031104350462555885,
0.007001182064414024,
0.0020037167705595493,
-0.03582586720585823,
-0.006401981692761183,
0.041664693504571915,
0.07233653962612152,
-0.054892152547836304,
-0.005117981228977442,
-0.006793939974159002,
-0.05799177289009094,
0.01493044849485159,
-0.046169959008693695,
-0.11648813635110855,
0.03133862465620041,
0.02710367552936077,
0.014434869401156902,
0.0686962828040123,
-0.009857520461082458,
0.009731372818350792,
0.0322757214307785,
-0.010109814815223217,
0.03467252105474472,
0.008208593353629112,
-0.041628651320934296,
-0.015146701596677303,
-0.004879202228039503,
0.018615756183862686,
-0.00008623359462944791,
-0.076841801404953,
-0.04274595528841019,
0.0009584951912984252,
-0.024220306426286697,
-0.0018077376298606396,
-0.0874381884932518,
0.031158413738012314,
0.006001013331115246,
-0.02418426424264908,
0.029230160638689995,
-0.08556399494409561,
0.022075800225138664,
-0.02339133620262146,
-0.030293403193354607,
-0.002444106386974454,
0.02333727292716503,
-0.0038565071299672127,
-0.03278030827641487,
0.04000675678253174,
0.018354451283812523,
0.048476655036211014,
-0.019372640177607536,
-0.06620937585830688,
0.022003715857863426,
-0.015263838693499565,
-0.012578700669109821,
-0.042385533452034,
-0.015957649797201157,
-0.03290645778179169,
0.011596553027629852,
0.03798839449882507,
0.03885340690612793,
0.016417186707258224,
0.013254490680992603,
-0.017246155068278313,
-0.010794615373015404,
0.08830320090055466,
-0.016858702525496483,
0.0550723634660244,
-0.035663679242134094,
0.0027414539363235235,
0.01626400649547577,
-0.05211690813302994,
0.011245141737163067,
-0.005613560322672129,
-0.02220194786787033,
0.012335415929555893,
-0.07943683862686157,
0.021607251837849617,
0.027373991906642914,
-0.007433687802404165,
0.08116685599088669,
0.07713013887405396,
0.01928253471851349,
-0.0064109922386705875
]
|
29,369 | quart.app | log_exception | Log a exception to the :attr:`logger`.
By default this is only invoked for unhandled exceptions.
| def log_exception(
self,
exception_info: tuple[type, BaseException, TracebackType] | tuple[None, None, None],
) -> None:
"""Log a exception to the :attr:`logger`.
By default this is only invoked for unhandled exceptions.
"""
if has_request_context():
request_ = request_ctx.request
self.logger.error(
f"Exception on request {request_.method} {request_.path}", exc_info=exception_info
)
elif has_websocket_context():
websocket_ = websocket_ctx.websocket
self.logger.error(f"Exception on websocket {websocket_.path}", exc_info=exception_info)
else:
self.logger.error("Exception", exc_info=exception_info)
| (self, exception_info: tuple[type, BaseException, traceback] | tuple[None, None, None]) -> NoneType | [
-0.00826713815331459,
-0.025346074253320694,
-0.00605446333065629,
0.05275407060980797,
0.011447555385529995,
-0.0700664296746254,
-0.001102690352126956,
0.035675134509801865,
-0.038048289716243744,
0.000970780907664448,
0.059134356677532196,
-0.02410113997757435,
0.03721185028553009,
-0.022408809512853622,
0.043922822922468185,
0.036103080958127975,
-0.04796885699033737,
-0.02600744552910328,
0.06158531829714775,
-0.031064989045262337,
-0.004717132076621056,
0.00955583993345499,
-0.031064989045262337,
-0.015474137850105762,
-0.0009488973300904036,
0.04271678999066353,
-0.012011665850877762,
0.022992370650172234,
0.06520340591669083,
-0.0072167254984378815,
-0.05504941567778587,
-0.03369102254509926,
-0.015192083083093166,
0.027213474735617638,
-0.021358394995331764,
-0.027155118063092232,
-0.03384663909673691,
-0.0009106009965762496,
-0.04800776019692421,
-0.011467007920145988,
-0.03514992818236351,
0.0011513206409290433,
0.014472355134785175,
-0.014112492091953754,
0.018450308591127396,
-0.00724104093387723,
-0.018246062099933624,
0.016796881332993507,
-0.052948590368032455,
0.010144265368580818,
-0.06177984178066254,
0.04995296895503998,
0.001945209107361734,
-0.031376224011182785,
-0.014880849048495293,
0.04361158609390259,
0.0026819570921361446,
-0.05065324530005455,
-0.019549351185560226,
-0.06710971146821976,
0.024898676201701164,
0.0424833670258522,
-0.033904995769262314,
0.04621816799044609,
0.028263887390494347,
-0.013081531040370464,
-0.024451278150081635,
0.04209432378411293,
-0.007576589472591877,
0.006122545804828405,
0.04116062447428703,
-0.017215101048350334,
0.012828653678297997,
0.024451278150081635,
-0.016281399875879288,
-0.05800613388419151,
0.003567027160897851,
0.024704154580831528,
0.039818428456783295,
0.0060933674685657024,
-0.023225797340273857,
-0.03398280218243599,
-0.03266005963087082,
0.0012887009652331471,
0.08092069625854492,
-0.01513372641056776,
-0.05625544488430023,
-0.004724426660686731,
0.001855243113823235,
0.015065643936395645,
-0.07617438584566116,
-0.04119952768087387,
-0.055749692022800446,
0.017730580642819405,
-0.03555842116475105,
-0.009808716364204884,
0.03474143519997597,
-0.0466461144387722,
0.03219320997595787,
0.00140176631975919,
0.01300372276455164,
-0.0026090117171406746,
0.021183326840400696,
-0.05329873040318489,
0.0019342672312632203,
-0.058278463780879974,
0.007469602860510349,
-0.015474137850105762,
0.011612898670136929,
-0.012497968040406704,
0.02213647961616516,
-0.033729925751686096,
0.014939205721020699,
0.009730908088386059,
-0.04065487161278725,
0.0340995155274868,
0.010572211816906929,
0.03697842359542847,
-0.01617441326379776,
-0.02260332927107811,
0.037892673164606094,
-0.06415299326181412,
-0.01837250031530857,
0.008592961356043816,
-0.017302634194493294,
-0.012925914488732815,
-0.00824282318353653,
-0.01581455022096634,
-0.06551463901996613,
0.01283838041126728,
-0.027155118063092232,
0.03499431163072586,
0.01209920085966587,
0.006171175744384527,
-0.02865293063223362,
0.04859132319688797,
-0.10620841383934021,
0.016339756548404694,
-0.04442857578396797,
-0.0036788766738027334,
-0.08457769453525543,
0.005203434266149998,
0.01935482956469059,
0.014559890143573284,
-0.023225797340273857,
0.013314955867826939,
-0.03703678026795387,
-0.0152796171605587,
-0.0006698813522234559,
-0.038340069353580475,
0.061235181987285614,
0.050147488713264465,
0.003126923693343997,
-0.015182357281446457,
-0.047774333506822586,
-0.045712415128946304,
0.015464412048459053,
0.023673195391893387,
0.03608362749218941,
-0.013188517652451992,
-0.04590693488717079,
-0.014365369454026222,
0.038768015801906586,
-0.03553897142410278,
-0.005038091447204351,
-0.060612715780735016,
0.011943583376705647,
-0.00790727511048317,
0.04975844919681549,
0.003576753195375204,
-0.013772080652415752,
0.013120435178279877,
-0.02731073461472988,
-0.008563783019781113,
0.0024582580663263798,
0.01608687825500965,
0.014404273591935635,
-0.0575781874358654,
0.007688438985496759,
0.005164530128240585,
0.07022204995155334,
-0.08309933543205261,
0.0037712741177529097,
0.053999003022909164,
0.0019221097463741899,
0.016864962875843048,
-0.0028691834304481745,
0.027252379804849625,
0.032134853303432465,
0.05462146922945976,
0.004106822889298201,
-0.02172798477113247,
-0.04831899330019951,
-0.03336033597588539,
0.02437346987426281,
0.054310236126184464,
-0.012060296721756458,
-0.025151552632451057,
0.061390798538923264,
-0.002257658401504159,
0.03820390626788139,
0.08060946315526962,
-0.00561679108068347,
0.006531039718538523,
0.01432646531611681,
-0.012643858790397644,
0.05598311871290207,
-0.013120435178279877,
-0.08053165674209595,
0.0004005914961453527,
0.07901439070701599,
0.01837250031530857,
0.015775645151734352,
0.019072774797677994,
0.05322092026472092,
0.05862860009074211,
-0.0254044309258461,
-0.03349649906158447,
0.03162910044193268,
0.04894145950675011,
0.040188018232584,
0.0011032982729375362,
-0.010552759282290936,
0.012595228850841522,
0.03828171640634537,
0.002174986992031336,
0.020016200840473175,
0.00025956385070458055,
-0.01617441326379776,
-0.056488871574401855,
-0.02554059587419033,
0.028088819235563278,
-0.04824118688702583,
0.012021392583847046,
-0.059017643332481384,
-0.01180741935968399,
0.012332625687122345,
-0.045284468680620193,
-0.008461659774184227,
-0.059873536229133606,
0.012459063902497292,
0.033613212406635284,
-0.020094009116292,
0.02616306208074093,
0.0092543326318264,
-0.06314148753881454,
-0.013091256842017174,
0.11601226776838303,
-0.04357268288731575,
-0.040693774819374084,
0.018207157030701637,
0.033729925751686096,
-0.07193382829427719,
-0.06026257574558258,
0.002474062843248248,
-0.031862523406744,
-0.029858959838747978,
0.01715674437582493,
-0.017487429082393646,
-0.00763980858027935,
0.012352077290415764,
0.014384821057319641,
0.00926405843347311,
-0.013528929091989994,
0.021047161892056465,
-0.0729842483997345,
-0.026201967149972916,
0.0019063048530369997,
0.059134356677532196,
0.033010199666023254,
0.05660558491945267,
0.04617926478385925,
0.04824118688702583,
0.0755908265709877,
-0.038048289716243744,
-0.013616463169455528,
-0.018177978694438934,
0.027096763253211975,
-0.017059484496712685,
0.0666428655385971,
0.029197588562965393,
-0.010173443704843521,
0.012867557816207409,
0.02865293063223362,
-0.020327435806393623,
-0.027232926338911057,
0.062402307987213135,
0.019753597676753998,
0.028302792459726334,
0.035655681043863297,
-0.00838871393352747,
0.07349000126123428,
-0.03514992818236351,
0.022525520995259285,
-0.07780836522579193,
-0.007605767343193293,
0.0026795254088938236,
0.03555842116475105,
0.06539792567491531,
0.024295661598443985,
0.02690224163234234,
0.0617409348487854,
0.026532651856541634,
0.0025457923766225576,
0.00819905661046505,
-0.02999512478709221,
0.01153508946299553,
0.0287890937179327,
-0.031045537441968918,
0.013314955867826939,
0.016971949487924576,
0.01269248966127634,
-0.030695399269461632,
0.040966104716062546,
-0.010669471696019173,
0.008578372187912464,
0.02320634387433529,
0.03328252583742142,
-0.0703776627779007,
0.10278484970331192,
0.0013142318930476904,
0.021455656737089157,
-0.015036466531455517,
-0.002820553258061409,
0.014122217893600464,
0.0092543326318264,
-0.012070022523403168,
-0.03332143276929855,
-0.0043013435788452625,
0.062402307987213135,
-0.06212997809052467,
0.038165003061294556,
-0.04933050274848938,
0.0032752458937466145,
0.03485814854502678,
-0.015561672858893871,
-0.053687769919633865,
-0.04065487161278725,
0.031862523406744,
-0.014754410833120346,
-0.10278484970331192,
0.020735928788781166,
0.005855079274624586,
0.042444463819265366,
-0.032115403562784195,
-0.00037961971247568727,
0.02242826111614704,
-0.040071308612823486,
-0.010222073644399643,
0.07640781253576279,
0.01048467680811882,
-0.023828811943531036,
-0.06022367253899574,
-0.020055105909705162,
-0.04446747899055481,
-0.04590693488717079,
-0.033301979303359985,
-0.013577559031546116,
0.028925258666276932,
0.04913598299026489,
0.006385148968547583,
0.028458409011363983,
0.01888797990977764,
0.006462957244366407,
-0.011428103782236576,
-0.014404273591935635,
0.028283340856432915,
0.009161935187876225,
-0.019792502745985985,
-0.006482409313321114,
0.004053329583257437,
-0.01870318502187729,
0.026707720011472702,
0.054426949471235275,
-0.03830116614699364,
0.05598311871290207,
0.0006814310327172279,
-0.03627815097570419,
-0.032874032855033875,
0.03559732437133789,
0.06570916622877121,
0.020113462582230568,
0.03734801337122917,
-0.057694900780916214,
-0.014725232496857643,
-0.007625219412147999,
-0.01917976140975952,
-0.011885227635502815,
0.019520172849297523,
0.006015559192746878,
-0.007143780589103699,
-0.026941146701574326,
-0.018177978694438934,
-0.020055105909705162,
0.004583398811519146,
-0.01448208186775446,
0.014978109858930111,
0.002954286290332675,
-0.056916818022727966,
0.0369589738547802,
-0.04419514909386635,
-0.010543033480644226,
0.009487757459282875,
-0.010105361230671406,
0.04905817285180092,
0.014277834445238113,
-0.017837567254900932,
0.04890255630016327,
0.028847450390458107,
-0.03479979187250137,
-0.009896251372992992,
-0.012021392583847046,
0.025034841150045395,
-0.001428512972779572,
-0.027524707838892937,
-0.000014123661458143033,
0.03734801337122917,
0.055010512471199036,
-0.02719402313232422,
0.025598950684070587,
0.017438799142837524,
-0.024723608046770096,
0.01866428181529045,
0.014501533471047878,
-0.010387416929006577,
-0.02764142118394375,
-0.027407996356487274,
0.03553897142410278,
0.01915058307349682,
-0.0015610302798449993,
0.0046441867016255856,
0.011573993600904942,
-0.003090451005846262,
-0.002241853391751647,
0.060651618987321854,
0.023303605616092682,
-0.042600080370903015,
0.03999349847435951,
-0.001985328970476985,
0.013110709376633167,
0.03205704689025879,
-0.04123843088746071,
0.011389199644327164,
-0.01269248966127634,
-0.024762511253356934,
-0.02982005476951599,
0.033185265958309174,
0.007484192028641701,
-0.042172133922576904,
0.009852483868598938,
0.06321929395198822,
0.022661685943603516,
0.015493590384721756,
-0.02168908156454563,
0.007703028153628111,
-0.0424833670258522,
-0.05248174071311951,
-0.003547575091943145,
0.04765762388706207,
-0.015804823487997055,
-0.01034851185977459,
0.007688438985496759,
0.06886040419340134,
-0.07247848808765411,
0.024042785167694092,
-0.00664775213226676,
0.08239905536174774,
-0.0321737565100193,
0.03851513937115669,
-0.056800104677677155,
0.06971629709005356,
0.051197901368141174,
-0.01121413055807352,
-0.014657150022685528,
0.029878411442041397,
0.030987180769443512,
0.023439768701791763,
-0.0188198983669281,
0.046607211232185364,
-0.01166152860969305,
0.017983457073569298,
-0.01522126141935587,
0.021455656737089157,
-0.0431058332324028,
0.013849888928234577,
-0.042911313474178314,
0.0007312770467251539,
-0.020094009116292,
-0.0032314786221832037,
0.06026257574558258,
-0.013373312540352345,
0.0327962264418602,
-0.035811297595500946,
-0.02849731221795082,
-0.0034892188850790262,
-0.013032901100814342,
-0.038165003061294556,
-0.04625707119703293,
-0.005164530128240585,
0.037153493613004684,
-0.005655695218592882,
-0.07605767250061035,
0.03898198902606964,
-0.036550477147102356,
0.005038091447204351,
-0.02896416373550892,
0.023420317098498344,
0.061351895332336426,
-0.0016740955179557204,
0.0019099521450698376,
0.007527959067374468,
0.017020579427480698,
0.00411654869094491,
-0.011340568773448467,
0.020774833858013153,
-0.07430698722600937,
-0.057655997574329376,
-0.032874032855033875,
0.034488558769226074,
0.005976655054837465,
0.061663128435611725,
0.028030462563037872,
0.08022042363882065,
0.00212514097802341,
0.051197901368141174,
-0.025910185649991035,
0.07306205481290817,
0.024140045046806335,
-0.02307017892599106,
0.06893821060657501,
-0.07411246746778488,
0.022934015840291977,
0.005135351791977882,
-0.03711459040641785,
0.028730738908052444,
0.015785371884703636,
-0.015036466531455517,
-0.014618245884776115,
0.02497648447751999,
-0.04034363478422165,
-0.0427946001291275,
0.03013128787279129,
0.011116869747638702,
-0.059717919677495956,
-0.06411409378051758,
-0.10659746080636978,
-0.03765924647450447,
0.007994809187948704,
-0.0472685806453228,
0.030248001217842102,
0.060768332332372665,
-0.0008735204464755952,
0.04034363478422165,
0.04944721609354019,
0.0028497313614934683,
0.020171817392110825,
0.027874846011400223,
0.03736746683716774,
0.0015768350567668676,
0.0032728142105042934,
0.008155289106070995,
0.001368940924294293,
0.013392764143645763,
-0.012770297937095165,
0.01662181131541729,
-0.006730423308908939,
0.036394860595464706,
0.023517576977610588,
-0.024879224598407745,
0.005947476718574762,
-0.0466461144387722,
0.055321745574474335,
0.0006285457056947052,
-0.036842260509729385,
-0.007688438985496759,
0.008111521601676941,
0.029800603166222572,
0.010883444920182228,
0.013635915704071522,
0.0046004196628928185,
-0.058122847229242325,
-0.033729925751686096,
0.016281399875879288,
-0.04030473157763481,
0.013237147592008114,
-0.008836111985147,
0.05660558491945267,
-0.00984762143343687,
0.007605767343193293,
0.054154619574546814,
-0.031551290303468704,
-0.10115087032318115,
0.06450313329696655,
-0.017954280599951744,
-0.00742097245529294,
0.04769652709364891,
-0.002531203208491206,
-0.08582262694835663,
0.024295661598443985,
0.018421130254864693,
-0.01226454321295023,
0.01811962202191353,
0.012468790635466576,
-0.05586640536785126,
0.006462957244366407,
-0.03608362749218941,
0.028030462563037872,
0.0478910468518734,
-0.049991872161626816,
-0.02289511077105999,
0.014793314971029758,
-0.015211534686386585,
0.00014490287867374718,
0.004984598141163588,
-0.018421130254864693,
0.023887166753411293,
-0.010465225204825401,
0.10013936460018158,
0.09056893736124039,
0.01911167986690998,
0.016660716384649277,
-0.008651317097246647,
-0.05318201705813408,
0.04470090568065643,
0.008996591903269291,
0.0434170663356781,
0.021903054788708687,
-0.067576564848423,
-0.10309608280658722,
-0.008169878274202347,
0.023731550201773643,
0.02375100366771221,
-0.034041158854961395,
-0.08411084115505219,
-0.031045537441968918,
0.04979735240340233,
0.053687769919633865,
-0.021144423633813858,
-0.04396172612905502,
-0.027680324390530586,
0.05360996350646019,
0.004160315729677677,
-0.015522768720984459,
0.0024558263830840588,
0.034041158854961395,
0.019393734633922577,
0.07010533660650253,
-0.09243633598089218,
0.02513210102915764,
-0.0230118241161108,
-0.041277337819337845,
0.0029153821524232626,
-0.0185086652636528,
0.00826713815331459,
-0.063725046813488,
0.009147346019744873,
-0.04754091054201126,
-0.01985085941851139,
-0.030170192942023277,
0.02585182897746563,
0.027213474735617638,
0.044817619025707245,
-0.005373639985918999,
0.004785214550793171,
0.056916818022727966,
-0.0334186926484108,
0.016660716384649277,
-0.03913760557770729,
0.08364398777484894,
-0.020910996943712234,
0.019072774797677994,
0.009137619286775589,
-0.029003066942095757,
0.0010248820763081312,
0.08706755936145782,
0.04964173585176468,
-0.03882637247443199,
0.00008988993795355782,
-0.015308795496821404,
-0.044350765645504,
0.03454691171646118,
0.023867715150117874,
-0.037425823509693146,
0.01749715581536293,
0.00879234541207552,
0.005500078666955233,
0.008203919045627117,
0.04073267802596092,
0.022486617788672447,
0.005577886942774057,
-0.03479979187250137,
-0.0006230747676454484,
-0.11118815094232559,
-0.019053323194384575,
-0.042172133922576904,
-0.06333600729703903,
0.005276379641145468,
-0.06271354109048843,
0.06769327819347382,
0.004456960130482912,
-0.06835464388132095,
0.010543033480644226,
-0.025657307356595993,
-0.004172473680227995,
0.026532651856541634,
-0.04995296895503998,
0.010367964394390583,
-0.027874846011400223,
0.04388391599059105,
-0.03429403528571129,
-0.011797692626714706,
-0.04691844433546066,
0.0218641497194767,
-0.03188197687268257,
-0.0629858672618866,
0.04287240654230118,
0.0292559452354908,
-0.008447070606052876,
-0.020930450409650803,
-0.010611115954816341,
-0.03550006449222565,
-0.02303127571940422,
0.020619215443730354,
-0.05213160440325737,
0.015464412048459053,
-0.009667688980698586,
0.0003425391623750329,
-0.06644834578037262,
0.04746310040354729,
-0.010017827153205872,
-0.019325653091073036,
-0.002221185714006424,
-0.01935482956469059,
0.0752795934677124,
0.02567676082253456,
-0.019996749237179756,
-0.03131786733865738,
-0.03865130618214607,
-0.023595385253429413,
-0.013908244669437408,
-0.009025770239531994,
0.0015610302798449993,
-0.05936777964234352,
-0.010153991170227528,
0.037153493613004684,
0.02320634387433529,
0.002257658401504159,
0.018518390133976936,
-0.02923649176955223,
0.016835784539580345,
0.03977952525019646,
-0.009341866709291935,
-0.010747279971837997,
0.0057529560290277,
-0.017127566039562225,
-0.03913760557770729,
0.07703027874231339,
-0.03518883138895035,
0.008748577907681465,
0.006929807364940643,
0.02923649176955223,
0.013062079437077045,
0.018333595246076584,
-0.005577886942774057,
0.013810984790325165,
0.0681990310549736,
0.0033676433376967907,
0.02762196958065033
]
|
29,372 | quart.app | make_default_options_response | This is the default route function for OPTIONS requests. | def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self) -> quart.wrappers.response.Response | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,373 | quart.app | make_response | Make a Response from the result of the route handler.
The result itself can either be:
- A Response object (or subclass).
- A tuple of a ResponseValue and a header dictionary.
- A tuple of a ResponseValue, status code and a header dictionary.
A ResponseValue is either a Response object (or subclass) or a str.
| def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, result: Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], werkzeug.exceptions.HTTPException]) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,374 | quart.app | make_shell_context | Create a context for interactive shell usage.
The :attr:`shell_context_processors` can be used to add
additional context.
| def make_shell_context(self) -> dict:
"""Create a context for interactive shell usage.
The :attr:`shell_context_processors` can be used to add
additional context.
"""
context = {"app": self, "g": g}
for processor in self.shell_context_processors:
context.update(processor())
return context
| (self) -> dict | [
0.01829678937792778,
-0.07844942808151245,
0.01422025728970766,
-0.06242026761174202,
0.0922975242137909,
0.04774129018187523,
0.03351237624883652,
0.03247377276420593,
0.026380611583590508,
-0.01223824918270111,
0.019300775602459908,
-0.006560532841831446,
-0.003420911030843854,
0.03603965416550636,
-0.025134284049272537,
-0.04230591654777527,
0.018591061234474182,
-0.02792121097445488,
0.052484262734651566,
-0.05473457649350166,
0.05217267945408821,
-0.0246322900056839,
0.028578996658325195,
-0.06636697053909302,
-0.015345415100455284,
0.034637536853551865,
0.011840117163956165,
0.022053083404898643,
0.010109106078743935,
-0.024666910991072655,
-0.020754825323820114,
-0.045283254235982895,
-0.010472618043422699,
-0.015890683978796005,
0.008806520141661167,
-0.03365086019039154,
-0.059892989695072174,
0.04424464702606201,
-0.01679946482181549,
-0.020685585215687752,
-0.007460658438503742,
0.0036957089323550463,
-0.044383127242326736,
0.018608370795845985,
-0.02814624272286892,
-0.019577737897634506,
0.007486623711884022,
-0.023610994219779968,
0.06768254190683365,
0.013562473468482494,
0.0002508613979443908,
-0.08073436468839645,
-0.02425146847963333,
0.05262274295091629,
-0.040194083005189896,
0.023697543889284134,
-0.007992944680154324,
-0.01070630457252264,
-0.02589592896401882,
0.02554972656071186,
-0.037078261375427246,
0.03328734636306763,
0.008438680320978165,
0.014324118383228779,
0.02712494693696499,
-0.0042128488421440125,
-0.03249108046293259,
0.0246322900056839,
-0.018279479816555977,
-0.012722932733595371,
-0.03153902664780617,
-0.037874527275562286,
0.008192011155188084,
-0.012818138115108013,
0.014306807890534401,
-0.02402643673121929,
-0.0560847632586956,
-0.0045482320711016655,
0.04684116318821907,
0.013138375245034695,
0.007387090474367142,
0.005392100196331739,
-0.0288905780762434,
0.07561057060956955,
0.02724611759185791,
0.05771191418170929,
0.013484577648341656,
0.02797314152121544,
-0.002916753990575671,
0.005400754977017641,
0.0024061056319624186,
0.053903691470623016,
-0.010576479136943817,
0.04542173445224762,
0.015622376464307308,
-0.0140211908146739,
-0.03195446729660034,
0.04320603981614113,
-0.01246328093111515,
0.01645326241850853,
-0.0076943449676036835,
0.059512168169021606,
0.005102155730128288,
-0.03138323500752449,
0.01435873843729496,
-0.001835953793488443,
0.03268149122595787,
0.03475870564579964,
0.02672681398689747,
-0.01795058697462082,
-0.014661665074527264,
-0.0065562049858272076,
-0.011692981235682964,
-0.013268201611936092,
-0.013233581557869911,
-0.0025056388694792986,
-0.00888874288648367,
0.02837127447128296,
0.05594628304243088,
-0.023420581594109535,
-0.09354384988546371,
0.005457012914121151,
0.04299832135438919,
-0.010212966240942478,
0.024441879242658615,
0.07851867377758026,
-0.006551877595484257,
-0.030552348122000694,
0.0012246904661878943,
-0.0003388995537534356,
0.021222198382019997,
-0.0031764055602252483,
0.002393122995272279,
-0.08163449168205261,
0.02587861754000187,
-0.03970939666032791,
-0.012852758169174194,
0.017630349844694138,
0.04486781358718872,
0.08786613494157791,
-0.0407826267182827,
-0.022970519959926605,
-0.07491816580295563,
0.03183329850435257,
-0.0498531237244606,
-0.030725449323654175,
0.02390526607632637,
0.06508602201938629,
0.03347775712609291,
0.02921947091817856,
0.04382920637726784,
0.08191145211458206,
0.0657438114285469,
0.026882605627179146,
0.016245540231466293,
0.07443348318338394,
-0.02792121097445488,
-0.010836130939424038,
0.030206145718693733,
-0.02016628161072731,
0.026951845735311508,
-0.032716114073991776,
-0.011268883012235165,
0.004955019801855087,
-0.003098510205745697,
0.018591061234474182,
0.013882710598409176,
-0.020304761826992035,
0.029098298400640488,
0.007754930295050144,
0.019110364839434624,
-0.060516152530908585,
-0.01306048035621643,
-0.03181598708033562,
0.015916649252176285,
0.05646558851003647,
-0.011649705469608307,
0.009953314438462257,
0.020304761826992035,
0.03216218948364258,
-0.03529531881213188,
-0.02780004031956196,
-0.04618338122963905,
0.03046579845249653,
0.0206682737916708,
-0.021326059475541115,
0.08426562696695328,
0.01795058697462082,
0.05206881836056709,
0.01268831267952919,
-0.0628703311085701,
-0.008880088105797768,
0.007590484339743853,
-0.024268778041005135,
-0.03998636081814766,
0.022018462419509888,
-0.054457616060972214,
-0.019906628876924515,
-0.04372534528374672,
0.01396060548722744,
-0.06705937534570694,
0.011814151890575886,
0.03711288049817085,
-0.028007762506604195,
0.027384597808122635,
0.04504091292619705,
-0.03178136795759201,
0.01789865642786026,
-0.02061634324491024,
-0.030275387689471245,
-0.02759231999516487,
-0.03981325775384903,
0.00540941022336483,
0.05075325071811676,
0.04746432974934578,
0.014852076768875122,
0.040124841034412384,
-0.005201688967645168,
-0.03572807088494301,
-0.018729541450738907,
-0.017881346866488457,
-0.019387325271964073,
-0.029271399602293968,
-0.021274128928780556,
0.006036901846528053,
-0.04372534528374672,
0.03257763013243675,
-0.061485521495342255,
-0.03216218948364258,
0.011225608177483082,
0.02323017083108425,
-0.04504091292619705,
0.013207616284489632,
0.012143043801188469,
-0.05251888185739517,
-0.03693978115916252,
0.01914498396217823,
0.01299989502876997,
-0.03131399303674698,
-0.0029037713538855314,
-0.00014767689572181553,
0.05636172741651535,
0.053834449499845505,
-0.01461839023977518,
0.010628408752381802,
0.011320813558995724,
0.01073226984590292,
0.0008216894348151982,
0.01687736064195633,
0.009304185397922993,
0.00900991354137659,
-0.03392782062292099,
-0.010109106078743935,
-0.024441879242658615,
-0.07187158614397049,
0.006802874151617289,
-0.03811686858534813,
0.04005559906363487,
-0.01834871992468834,
-0.036558959633111954,
0.009624422527849674,
0.05857742205262184,
-0.055357739329338074,
0.07034830003976822,
-0.00131340476218611,
0.004812211263924837,
0.0024407259188592434,
-0.0043015629053115845,
-0.04036718234419823,
-0.027488458901643753,
0.06055077537894249,
0.10663029551506042,
-0.021551089361310005,
0.012056493200361729,
-0.04060952365398407,
0.000024900191419874318,
-0.014947282150387764,
0.040194083005189896,
-0.07734158635139465,
-0.05639634653925896,
0.053903691470623016,
0.005058880429714918,
-0.021931912750005722,
0.02271086722612381,
-0.019300775602459908,
-0.024389948695898056,
0.013856745325028896,
-0.01645326241850853,
0.0006237049819901586,
-0.03597041219472885,
-0.0015146348159760237,
0.0662631094455719,
0.01246328093111515,
0.025065043941140175,
0.04971464350819588,
0.036905158311128616,
-0.09167435765266418,
0.011623740196228027,
-0.03301038593053818,
0.004236650187522173,
0.06615924835205078,
0.023939885199069977,
-0.042617496103048325,
0.050545528531074524,
-0.04372534528374672,
0.04299832135438919,
0.034516364336013794,
-0.010282207280397415,
-0.030258076265454292,
-0.03257763013243675,
0.027159566059708595,
0.011519880034029484,
0.0640127956867218,
0.005201688967645168,
-0.09839068353176117,
-0.001566565246321261,
0.02447649836540222,
-0.027401907369494438,
-0.008105460554361343,
0.05636172741651535,
-0.047325849533081055,
0.01919691450893879,
0.019006503745913506,
0.01600319892168045,
0.041094206273555756,
0.06678241491317749,
0.021152958273887634,
-0.025567036122083664,
0.03687053918838501,
0.021603019908070564,
-0.05781577527523041,
0.058715902268886566,
-0.016435952857136726,
-0.0027501441072672606,
-0.024788081645965576,
0.0037130191922187805,
0.004264778923243284,
0.03058696910738945,
-0.04784515127539635,
-0.11390054225921631,
0.03669743984937668,
0.024718841537833214,
-0.032092947512865067,
-0.008685348555445671,
-0.00515408581122756,
-0.030794691294431686,
0.019906628876924515,
-0.021793432533740997,
-0.013458612374961376,
-0.11708559840917587,
-0.0036134859547019005,
0.00906184408813715,
0.009304185397922993,
-0.000966120685916394,
0.021620331332087517,
-0.027661560103297234,
-0.03621275722980499,
0.0254804864525795,
-0.0008795700850896537,
-0.0031288028694689274,
0.04459084942936897,
0.03635123744606972,
0.0007432529819197953,
0.03290652483701706,
-0.037528324872255325,
-0.009650387801229954,
0.05109945312142372,
0.019837388768792152,
-0.002802074421197176,
-0.02622481994330883,
0.03475870564579964,
0.02231273427605629,
0.042963698506355286,
0.0252035241574049,
-0.024147607386112213,
-0.03759756311774254,
-0.025965169072151184,
-0.033391207456588745,
-0.06079311668872833,
0.08717373013496399,
0.05539236217737198,
0.05217267945408821,
0.06719785928726196,
-0.0249265618622303,
-0.0345509834587574,
-0.05386907234787941,
-0.05611938610672951,
0.02672681398689747,
0.009710973128676414,
-0.027263427153229713,
-0.05753881484270096,
-0.02033938281238079,
-0.028059693053364754,
0.05885438248515129,
0.03385857865214348,
-0.06667855381965637,
-0.010472618043422699,
0.014583770185709,
-0.036558959633111954,
0.017517834901809692,
0.06013533100485802,
-0.01106981746852398,
0.07228703051805496,
-0.078172467648983,
0.0441754087805748,
-0.04704888537526131,
0.005348824895918369,
0.024286087602376938,
0.019127674400806427,
-0.0010862095514312387,
-0.0464603416621685,
-0.03205832839012146,
-0.028855957090854645,
-0.009728283621370792,
-0.024216847494244576,
-0.07651069760322571,
0.0001167756417999044,
0.04843369498848915,
-0.006499947514384985,
0.026432542130351067,
-0.01226421445608139,
0.013700953684747219,
-0.00009763985144672915,
0.03352968767285347,
-0.01999318040907383,
0.048295214772224426,
-0.035208769142627716,
-0.005275256931781769,
-0.0068504768423736095,
-0.0362473763525486,
-0.05103021115064621,
-0.002267624717205763,
0.0011359761701896787,
0.00007762503810226917,
-0.01438470371067524,
-0.049645401537418365,
0.032092947512865067,
-0.0249265618622303,
-0.006244623102247715,
0.06224716454744339,
0.0030963465105742216,
-0.02316093072295189,
0.05923520401120186,
0.04621800035238266,
0.012324799783527851,
0.008096804842352867,
-0.041267309337854385,
0.03489718586206436,
-0.0356934517621994,
-0.006127779837697744,
0.05272660404443741,
0.008507920429110527,
0.03031000681221485,
-0.007495278958231211,
0.02129143849015236,
-0.013605748303234577,
-0.04909148067235947,
0.016834083944559097,
-0.05452685430645943,
0.058335080742836,
0.003148276824504137,
-0.0008952573989517987,
-0.017465904355049133,
-0.0031352941878139973,
-0.0007178287487477064,
-0.014990557916462421,
-0.00004946229455526918,
0.04275598004460335,
-0.06875576823949814,
0.016314780339598656,
-0.019906628876924515,
0.03981325775384903,
-0.013034515082836151,
-0.02425146847963333,
-0.024441879242658615,
0.031348612159490585,
-0.0011705963406711817,
-0.04808749258518219,
-0.012454626150429249,
-0.01657443307340145,
-0.03153902664780617,
-0.01730145700275898,
-0.018989194184541702,
0.05220729857683182,
-0.05518463999032974,
0.01857375167310238,
0.06487829983234406,
-0.043240662664175034,
0.01909305341541767,
-0.021343369036912918,
-0.005855145398527384,
0.02799045294523239,
-0.03863617032766342,
-0.011987253092229366,
0.012982584536075592,
0.023368652909994125,
0.03552035242319107,
0.010827475227415562,
0.042167432606220245,
-0.034464433789253235,
-0.02452842891216278,
0.018989194184541702,
0.017742864787578583,
0.037978388369083405,
0.04957616329193115,
0.019698908552527428,
-0.012835448607802391,
0.009589802473783493,
-0.049195341765880585,
0.02049517259001732,
0.006145089864730835,
-0.034239403903484344,
0.05109945312142372,
-0.0646013393998146,
0.0020804591476917267,
-0.06120855733752251,
-0.03572807088494301,
0.014003881253302097,
0.02792121097445488,
0.03773604705929756,
0.013051824644207954,
-0.01692928932607174,
0.012065148912370205,
-0.018106378614902496,
-0.0021334714256227016,
0.02951374277472496,
0.034516364336013794,
0.038947753608226776,
0.006396086420863867,
0.052484262734651566,
0.004223667550832033,
0.0029686843045055866,
0.002936227945610881,
0.012792172841727734,
-0.017613040283322334,
0.02485732175409794,
-0.01679946482181549,
-0.0447293296456337,
0.020685585215687752,
-0.013302821666002274,
0.019508497789502144,
-0.014678975567221642,
0.01630612649023533,
0.04310217872262001,
-0.019785458222031593,
-0.013380717486143112,
0.033321965485811234,
-0.03352968767285347,
-0.029427191242575645,
-0.04452161118388176,
-0.012792172841727734,
-0.049541544169187546,
-0.047152746468782425,
0.05272660404443741,
-0.063424251973629,
-0.042617496103048325,
0.03183329850435257,
0.03915547579526901,
0.011147712357342243,
0.004243141505867243,
0.03957091644406319,
0.03614351525902748,
-0.07623373717069626,
-0.058196596801280975,
0.05414603278040886,
0.0021529451478272676,
-0.05078786984086037,
0.0441754087805748,
-0.070798359811306,
0.00026397922192700207,
0.0023238826543092728,
-0.04372534528374672,
0.07007133960723877,
0.021083716303110123,
-0.030967790633440018,
0.022918589413166046,
0.0475681908428669,
0.07401803880929947,
0.028475135564804077,
-0.03475870564579964,
-0.03496642783284187,
-0.006344156339764595,
-0.05407679080963135,
-0.010611099191009998,
-0.03839382901787758,
-0.027851970866322517,
0.03811686858534813,
0.015440620481967926,
0.04130192846059799,
-0.016617707908153534,
0.0042020296677947044,
0.06498216092586517,
0.05109945312142372,
-0.0223819762468338,
0.02570551633834839,
-0.05075325071811676,
-0.019006503745913506,
-0.013700953684747219,
-0.04202895238995552,
0.005781577434390783,
-0.037459082901477814,
0.03262956067919731,
-0.0008990439819172025,
-0.0033819633536040783,
0.03545111045241356,
-0.05023394525051117,
-0.00001795247953850776,
-0.01886802352964878,
-0.11203105002641678,
-0.007850135676562786,
-0.02231273427605629,
-0.04182123392820358,
0.03470677509903908,
0.05103021115064621,
-0.04704888537526131,
0.0492645800113678,
-0.010299516841769218,
-0.011390053667128086,
0.055080778896808624,
-0.016470571979880333,
-0.008365112356841564,
0.020997166633605957,
-0.05064938962459564,
0.02298782952129841,
0.040297940373420715,
-0.0012463281163945794,
0.04711812734603882,
0.009918694384396076,
-0.07934955507516861,
0.020702894777059555,
0.03167750686407089,
-0.046010278165340424,
0.04784515127539635,
-0.027453837916254997,
0.08904322236776352,
-0.0243553277105093,
0.02089330554008484,
0.004747298546135426,
-0.03403168171644211,
-0.0012549831299111247,
-0.028527066111564636,
-0.06522450596094131,
0.009183014743030071,
-0.03148709610104561,
0.018608370795845985,
-0.0402287021279335,
0.001885720412246883,
0.02871747687458992,
0.024718841537833214,
-0.008603125810623169,
0.02589592896401882,
0.02231273427605629,
-0.02033938281238079,
0.04684116318821907,
-0.06439361721277237,
0.02089330554008484,
-0.037978388369083405,
-0.043136801570653915,
-0.006482637021690607,
-0.0209625456482172,
-0.0027285064570605755,
0.052138060331344604,
-0.020754825323820114,
0.032941143959760666,
-0.010117760859429836,
-0.011788186617195606,
-0.0015773840714246035,
-0.032248739153146744,
0.05047629028558731,
0.03614351525902748,
0.05193033814430237,
-0.026917224749922752,
-0.006491292268037796,
-0.007966979406774044,
-0.054353754967451096,
-0.03957091644406319,
0.007356797810643911,
0.012394040822982788,
0.04933382198214531,
-0.028007762506604195,
-0.08191145211458206,
-0.0025467502418905497,
0.008109787479043007,
-0.026951845735311508,
-0.023887954652309418,
-0.028059693053364754,
0.009157049469649792,
0.002458035945892334,
0.006686030887067318,
-0.05573856085538864,
-0.04469471052289009,
0.05193033814430237,
0.021793432533740997,
-0.004825193900614977,
-0.05688102915883064,
-0.03150440379977226,
-0.04157888889312744,
-0.09596726298332214,
0.02146453969180584,
-0.02407836727797985,
0.009183014743030071,
-0.0027068688068538904,
0.0492645800113678,
-0.03617813438177109,
0.0010148053988814354,
-0.01435873843729496,
0.0006615708698518574,
-0.019075743854045868,
-0.018158307299017906,
0.001932241371832788,
0.008430024608969688,
-0.03301038593053818,
0.03202370926737785,
0.023472512140870094,
0.026605643332004547,
-0.05314204469323158,
-0.019439255818724632,
0.054180651903152466,
0.02572282776236534,
-0.022624317556619644,
0.013017204590141773,
0.047429706901311874,
0.07201007008552551,
0.03614351525902748,
0.06657469272613525,
0.005863800644874573,
-0.03804762661457062,
-0.05674254894256592,
0.05262274295091629,
-0.018210237845778465,
-0.03541649132966995,
-0.040817245841026306,
-0.04275598004460335,
0.063424251973629,
0.043240662664175034,
-0.008131425827741623,
0.009918694384396076,
-0.03432595357298851,
-0.04850293695926666,
-0.018989194184541702,
0.0498531237244606,
-0.02554972656071186,
-0.03749370574951172,
-0.0019149312283843756,
0.037874527275562286,
0.0029600292909890413,
0.05584242194890976,
-0.035658832639455795,
-0.01697256602346897,
0.0526573620736599,
0.01772555522620678,
0.033789340406656265,
-0.02819817326962948,
0.010524548590183258,
0.005171396303921938,
0.040921106934547424,
0.014947282150387764,
-0.006054211873561144,
0.0031720781698822975,
0.03728598356246948,
-0.032248739153146744,
-0.049645401537418365,
-0.01251521147787571,
-0.023351341485977173,
0.09451321512460709,
-0.018158307299017906,
0.04123268648982048,
-0.0020653128158301115
]
|
29,375 | quart.app | open_instance_resource | Open a file for reading.
Use as
.. code-block:: python
async with await app.open_instance_resource(path) as file_:
await file_.read()
| def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Quart
class.
"""
value = self.config["SEND_FILE_MAX_AGE_DEFAULT"]
if value is None:
return None
if isinstance(value, timedelta):
return int(value.total_seconds())
return value
return None
| (self, path: Union[bytes, str, os.PathLike], mode: str = 'rb') -> aiofiles.base.AiofilesContextManager[None, None, aiofiles.threadpool.binary.AsyncBufferedReader] | [
0.06742579489946365,
-0.009888758882880211,
-0.037375401705503464,
0.02002764120697975,
0.04152028262615204,
0.02131398394703865,
-0.020134836435317993,
0.0009937890572473407,
-0.009897692129015923,
-0.03834015876054764,
-0.007369671482592821,
-0.009844094514846802,
-0.05102492496371269,
-0.006914091762155294,
0.06967689096927643,
0.021992886438965797,
0.04098430648446083,
-0.036339178681373596,
0.03716101124882698,
-0.05581297725439072,
0.05702785775065422,
-0.04584382101893425,
-0.056063100695610046,
-0.04148454964160919,
-0.001826785271987319,
0.027692098170518875,
0.02792435511946678,
0.007235677447170019,
0.007025753613561392,
0.01858050562441349,
-0.015132391825318336,
-0.015212788246572018,
0.02056361734867096,
0.015230654738843441,
-0.00012959734885953367,
0.020277762785553932,
-0.0642814040184021,
-0.024083193391561508,
-0.11955840140581131,
-0.030014662072062492,
0.009062462486326694,
0.040912844240665436,
0.03135460242629051,
0.0028049417305737734,
-0.04591528698801994,
0.022725386545062065,
-0.03909052535891533,
0.016525929793715477,
-0.01517705712467432,
-0.00227789836935699,
0.048559434711933136,
0.031265273690223694,
-0.036982350051403046,
0.01055872905999422,
-0.0168832466006279,
0.03873320668935776,
-0.026548683643341064,
0.058885909616947174,
-0.02881764806807041,
0.0042096455581486225,
0.00029367025126703084,
-0.04352125898003578,
0.02901417389512062,
-0.08318348973989487,
0.01378351915627718,
0.053418952971696854,
0.004814852029085159,
0.015060928650200367,
-0.0017787707038223743,
0.014087238349020481,
0.053669072687625885,
-0.027281183749437332,
-0.024279717355966568,
0.033855825662612915,
0.00831656251102686,
-0.03905479237437248,
-0.03526722639799118,
0.028996307402849197,
-0.0375540591776371,
0.044092968106269836,
0.05599163845181465,
-0.04702296853065491,
0.044092968106269836,
-0.04109150171279907,
0.0321049690246582,
-0.004225278273224831,
0.04237784445285797,
-0.033301983028650284,
-0.05420504882931709,
0.03894759714603424,
-0.01202373020350933,
0.04605821147561073,
0.03208710253238678,
0.02025989629328251,
0.0206708125770092,
-0.06728287041187286,
-0.03283746913075447,
0.027495574206113815,
0.028281671926379204,
-0.03526722639799118,
0.005529487039893866,
0.03378435969352722,
0.050238825380802155,
-0.06392408162355423,
0.035892535001039505,
-0.0018803828861564398,
-0.004071185365319252,
-0.03976942598819733,
0.050095900893211365,
-0.023261362686753273,
-0.010656991973519325,
-0.023404289036989212,
-0.013345804996788502,
0.028889112174510956,
0.020635079592466354,
0.053526148200035095,
-0.04788053035736084,
0.01569516770541668,
0.06610371917486191,
-0.017008308321237564,
-0.03110448084771633,
0.023118436336517334,
-0.016659924760460854,
-0.027584902942180634,
0.009897692129015923,
0.027995819225907326,
0.002963501261547208,
-0.08647081255912781,
0.06324517726898193,
0.04127015918493271,
0.03458832576870918,
0.004104683641344309,
0.06378115713596344,
0.008946334943175316,
-0.016106082126498222,
0.001952962949872017,
0.05245419591665268,
0.1184864491224289,
-0.013846049085259438,
0.03791137784719467,
-0.012354249134659767,
0.033855825662612915,
0.05038175359368324,
-0.052382729947566986,
0.031408198177814484,
0.0009580572950653732,
0.02737051248550415,
0.012738365679979324,
-0.04630833491683006,
-0.01767827942967415,
0.04237784445285797,
-0.017419222742319107,
-0.0414130873978138,
0.020045505836606026,
0.061565790325403214,
0.007191012613475323,
-0.03769698739051819,
0.06467445194721222,
-0.06903371959924698,
-0.06210176646709442,
-0.02220727689564228,
0.035285092890262604,
-0.009942356497049332,
-0.08632788807153702,
0.032515883445739746,
-0.05334748700261116,
-0.02826380729675293,
0.09833374619483948,
0.022368069738149643,
0.10219277441501617,
-0.018759163096547127,
0.00406225211918354,
0.005654547829180956,
0.008548818528652191,
0.004707656800746918,
0.03317692130804062,
0.029764540493488312,
-0.009026731364428997,
0.045522235333919525,
0.07832397520542145,
-0.011496687307953835,
-0.06717567145824432,
-0.025047950446605682,
0.04823784902691841,
0.061565790325403214,
0.023118436336517334,
-0.00660590548068285,
0.011621748097240925,
-0.005449090618640184,
0.04505772516131401,
0.035892535001039505,
-0.000879335799254477,
0.013059951364994049,
-0.052882976830005646,
-0.005672413855791092,
0.019795384258031845,
-0.006556774489581585,
-0.020349226891994476,
0.025601791217923164,
0.031015150249004364,
-0.013988976366817951,
0.023118436336517334,
-0.0022019685711711645,
-0.07682324200868607,
0.00770018994808197,
-0.03998381644487381,
0.022046484053134918,
-0.02831740491092205,
-0.03298039734363556,
0.060922618955373764,
-0.07911007106304169,
-0.02076014131307602,
-0.025798317044973373,
-0.005976133514195681,
-0.022117948159575462,
-0.0023113968782126904,
-0.033159054815769196,
0.04441455379128456,
-0.03708954527974129,
0.03281960263848305,
0.07067738473415375,
-0.016302606090903282,
-0.06010078638792038,
0.00919198989868164,
0.05992212891578674,
-0.01917007938027382,
0.03383795917034149,
0.014256964437663555,
-0.017106570303440094,
0.03392728790640831,
-0.02628069557249546,
0.04913114383816719,
0.045415040105581284,
0.009415313601493835,
0.0877571552991867,
0.012720499187707901,
0.01789266988635063,
0.03428460657596588,
-0.02190355770289898,
-0.0026731807738542557,
0.03819723054766655,
0.03646424040198326,
0.012908090837299824,
0.05956481024622917,
0.010674857534468174,
-0.06699701398611069,
-0.0017888202564790845,
0.0675329864025116,
-0.047809068113565445,
-0.0012740598758682609,
0.08389812707901001,
-0.0014951500343158841,
-0.06270920485258102,
0.015257453545928001,
-0.010746320709586143,
0.06499603390693665,
-0.048059191554784775,
-0.013649525120854378,
-0.027638500556349754,
0.04009101167321205,
0.06185164302587509,
-0.05488395318388939,
-0.02703106217086315,
-0.028549659997224808,
-0.0055116210132837296,
0.021278250962495804,
-0.007186546456068754,
-0.028245940804481506,
-0.06063676252961159,
0.0034927777014672756,
0.029514417052268982,
-0.016409801319241524,
-0.02955015003681183,
-0.073142871260643,
-0.03923344984650612,
-0.06581786274909973,
0.012702633626759052,
-0.007905647158622742,
-0.04555796831846237,
-0.011300163343548775,
-0.050881996750831604,
-0.02586977928876877,
0.06020798161625862,
-0.03417741134762764,
-0.06249481439590454,
0.051489438861608505,
-0.03501710668206215,
0.028353136032819748,
-0.031408198177814484,
0.03708954527974129,
-0.02444051019847393,
-0.022636057808995247,
-0.015713032335042953,
-0.0528472438454628,
-0.006190523970872164,
-0.04809492081403732,
-0.0044776336289942265,
-0.03158685937523842,
0.07911007106304169,
0.045021992176771164,
-0.03905479237437248,
-0.005569685250520706,
0.018794896081089973,
0.004249843768775463,
-0.012157724238932133,
0.027942221611738205,
-0.02955015003681183,
-0.04530784487724304,
0.0489882156252861,
0.020599348470568657,
0.01902715116739273,
-0.007494732737541199,
-0.008964200504124165,
-0.01256863959133625,
0.059136029332876205,
0.05038175359368324,
0.01197013258934021,
0.01724056527018547,
-0.018455443903803825,
0.0002889246097765863,
0.010907113552093506,
0.05177529156208038,
0.008222767151892185,
-0.011764675378799438,
0.045379310846328735,
-0.024118924513459206,
0.021081726998090744,
0.05041748657822609,
0.019313005730509758,
0.014364159666001797,
-0.037625521421432495,
0.04180613532662392,
0.020242031663656235,
-0.02712039090692997,
-0.009701167233288288,
0.01828571781516075,
0.0037362000439316034,
-0.005466956179589033,
0.03930491581559181,
0.0010585527634248137,
-0.022778984159231186,
-0.08497007936239243,
0.005417825188487768,
0.03662503510713577,
0.002076907316222787,
-0.014096171595156193,
0.07825250923633575,
0.003977389540523291,
0.04059125855565071,
-0.06446006149053574,
-0.020456422120332718,
-0.018214253708720207,
-0.028674721717834473,
0.021689167246222496,
-0.00527936452999711,
-0.056706272065639496,
0.016222210600972176,
0.014944800175726414,
-0.012532907538115978,
0.03414167836308479,
-0.06706847995519638,
0.009656502865254879,
-0.0028607724234461784,
0.009727966040372849,
0.008705145679414272,
0.02846033126115799,
0.03758979216217995,
-0.01679391786456108,
0.0003042781027033925,
-0.02438691258430481,
-0.062423352152109146,
-0.009084794670343399,
0.04037686809897423,
-0.026119902729988098,
0.023404289036989212,
-0.02990746684372425,
-0.04734455421566963,
0.016213277354836464,
0.014176568016409874,
0.033301983028650284,
-0.006467444822192192,
0.014105104841291904,
0.008178101852536201,
-0.00019484965014271438,
-0.008039641194045544,
0.01888422481715679,
-0.012979554943740368,
-0.06663969904184341,
0.007485799491405487,
-0.0025146212428808212,
0.029085636138916016,
0.01852690801024437,
-0.00024272459268104285,
0.011737876571714878,
-0.0318727120757103,
0.007222278043627739,
-0.03274814039468765,
0.0547410249710083,
0.04352125898003578,
-0.0019149979343637824,
-0.008361226879060268,
0.03880466893315315,
-0.028388867154717445,
0.030782895162701607,
-0.006842628121376038,
0.012532907538115978,
0.03398088365793228,
0.01838397979736328,
-0.021546239033341408,
-0.008329962380230427,
-0.01333687175065279,
-0.04548650607466698,
-0.028549659997224808,
0.0030103991739451885,
0.015775563195347786,
0.021421179175376892,
-0.02036709152162075,
-0.049952972680330276,
0.02851392887532711,
-0.026262829080224037,
-0.004531231243163347,
-0.014176568016409874,
-0.01594528928399086,
-0.03119380958378315,
-0.021832093596458435,
0.027781428769230843,
0.005145370494574308,
0.009290252812206745,
-0.07839544117450714,
0.039019059389829636,
0.004421802703291178,
0.018955688923597336,
-0.04988151043653488,
-0.0025146212428808212,
0.09726179391145706,
-0.019438067451119423,
-0.002568218857049942,
-0.04784480109810829,
-0.04620113968849182,
-0.018366115167737007,
0.016927912831306458,
-0.02190355770289898,
0.0007894481532275677,
0.014819739386439323,
0.033248383551836014,
-0.04923833906650543,
-0.03976942598819733,
0.012756231240928173,
0.0132118109613657,
-0.040305402129888535,
-0.020527884364128113,
-0.0103354062885046,
0.006498710252344608,
-0.015927422791719437,
0.008392492309212685,
0.025369536131620407,
-0.07021287083625793,
-0.001205946202389896,
-0.01202373020350933,
-0.02901417389512062,
-0.04788053035736084,
0.050488948822021484,
0.07725202292203903,
-0.066925548017025,
-0.05052468180656433,
0.04673711583018303,
0.007061485201120377,
-0.027156122028827667,
-0.046165406703948975,
-0.0021919189020991325,
0.005006910301744938,
-0.023725874722003937,
-0.07028433680534363,
-0.03834015876054764,
-0.059028834104537964,
-0.03617838770151138,
0.021832093596458435,
0.03274814039468765,
0.02136758156120777,
-0.010138881392776966,
0.04352125898003578,
0.05552712455391884,
0.003296253038570285,
0.018169589340686798,
0.0048952484503388405,
-0.04427162557840347,
-0.04673711583018303,
-0.00527936452999711,
-0.013479799032211304,
-0.02588764578104019,
-0.054919686168432236,
0.0017709543462842703,
-0.009620770812034607,
-0.002013260265812278,
-0.012559706345200539,
0.037375401705503464,
0.08547032624483109,
0.03237295523285866,
0.02360081486403942,
0.01758894883096218,
-0.05513407662510872,
-0.02662014588713646,
0.005091772880405188,
0.05831420049071312,
-0.028531795367598534,
0.010129948146641254,
-0.03805430233478546,
-0.01097857765853405,
-0.001481750630773604,
-0.0021852192003279924,
0.029639478772878647,
0.013042084872722626,
-0.016954710707068443,
0.03923344984650612,
-0.009075862355530262,
0.01028180867433548,
0.029442954808473587,
-0.03269454091787338,
0.008772142231464386,
-0.02622709795832634,
0.0019317471887916327,
-0.028585392981767654,
0.018312517553567886,
-0.023654412478208542,
-0.014337360858917236,
-0.017008308321237564,
0.04023393988609314,
-0.010871382430195808,
0.026209231466054916,
0.04455748200416565,
0.01704403944313526,
-0.0151234595105052,
0.023565081879496574,
0.023136300966143608,
0.03203350678086281,
0.03289106860756874,
-0.05717078596353531,
-0.024029595777392387,
-0.10705229640007019,
-0.03351637348532677,
-0.03719674050807953,
-0.03666076436638832,
0.038268692791461945,
0.029228564351797104,
-0.03492777794599533,
-0.04813065379858017,
-0.013560195453464985,
0.046129677444696426,
0.10669497400522232,
-0.036196254193782806,
-0.006583573296666145,
0.022475264966487885,
0.04727309197187424,
-0.0879000797867775,
0.03281960263848305,
0.004504432436078787,
0.052382729947566986,
-0.02790648862719536,
0.006449579261243343,
-0.04973858222365379,
0.006793497130274773,
-0.011952267028391361,
0.020242031663656235,
-0.0018948988290503621,
-0.048166386783123016,
-0.020045505836606026,
0.04319967329502106,
0.022475264966487885,
-0.03242655470967293,
-0.014712544158101082,
-0.003305186051875353,
0.06524615734815598,
0.04491479694843292,
-0.03333771228790283,
0.040912844240665436,
0.01025500986725092,
-0.02274325303733349,
0.04802345857024193,
0.033498506993055344,
0.029514417052268982,
0.03364143520593643,
-0.017410291358828545,
0.03783991187810898,
0.012282785959541798,
-0.07264262437820435,
-0.04287808761000633,
0.025691121816635132,
0.005958267487585545,
-0.01689217984676361,
0.041591744869947433,
-0.03624984994530678,
0.011219766922295094,
-0.005033709108829498,
0.008673880249261856,
0.0016738086706027389,
0.03492777794599533,
-0.02344002202153206,
-0.008906136266887188,
-0.025101548060774803,
0.06185164302587509,
0.02528020553290844,
0.0050292424857616425,
-0.024083193391561508,
0.08332642167806625,
-0.024672767147421837,
-0.016007820144295692,
-0.017026174813508987,
0.026638012379407883,
-0.0011088005267083645,
0.0049801114946603775,
-0.036875154823064804,
-0.02170703187584877,
-0.003057297086343169,
0.03451685979962349,
-0.00514090433716774,
0.03969796374440193,
-0.026691609993577003,
0.03199777379631996,
-0.042985282838344574,
-0.06603225320577621,
-0.059028834104537964,
0.023529350757598877,
0.03492777794599533,
-0.005190035328269005,
0.035088568925857544,
-0.020974531769752502,
0.009602905251085758,
0.014167634770274162,
-0.07207091897726059,
0.02036709152162075,
-0.010844583623111248,
-0.04405723512172699,
0.06253054738044739,
-0.025208743289113045,
-0.027048926800489426,
0.009299185127019882,
-0.00973689928650856,
0.040305402129888535,
-0.016802851110696793,
-0.004042153246700764,
0.04191333055496216,
-0.038876134902238846,
-0.026137767359614372,
-0.025440998375415802,
-0.0033342179376631975,
-0.00619499059394002,
0.005690279416739941,
0.03669649735093117,
0.02915710024535656,
-0.02458343654870987,
-0.020599348470568657,
-0.08032495528459549,
0.05842139571905136,
0.006789030507206917,
-0.07239250838756561,
-0.03769698739051819,
0.011219766922295094,
0.023654412478208542,
0.024351181462407112,
-0.06542481482028961,
-0.005328495986759663,
-0.05967200547456741,
-0.013899646699428558,
-0.039912354201078415,
-0.027299050241708755,
-0.08990105986595154,
-0.01256863959133625,
-0.05013163015246391,
-0.013613793067634106,
0.0073786042630672455,
0.016427667811512947,
-0.0005650081438943744,
0.02363654598593712,
0.003829995868727565,
0.04127015918493271,
0.002315863501280546,
-0.019831115379929543,
0.06892652809619904,
-0.006404914427548647,
0.003711634548380971,
0.024011729285120964,
0.026495086029171944,
-0.03383795917034149,
0.008120037615299225,
0.02586977928876877,
0.008151303045451641,
0.02363654598593712,
0.0025972509756684303,
0.0063111186027526855,
0.040948573499917984,
-0.014846538193523884,
-0.03776844963431358,
-0.04491479694843292,
0.0017050739843398333,
-0.04584382101893425,
-0.06224469095468521,
0.01328327413648367,
0.10112082213163376,
-0.025548193603754044,
-0.016016753390431404,
-0.050203096121549606,
0.03169405460357666,
0.03482058271765709,
-0.020331360399723053,
-0.0426279678940773,
-0.0642814040184021,
-0.04834504425525665,
0.011612815782427788,
-0.04662992060184479,
-0.021349715068936348,
-0.03394515439867973,
0.003369949758052826,
0.06585359573364258,
0.05013163015246391,
-0.03549948334693909,
0.04484333470463753,
-0.010219277814030647,
0.028335269540548325,
0.0017329894471913576,
0.009531442075967789,
-0.03758979216217995,
0.06653250008821487,
0.011139370501041412,
0.00973689928650856,
-0.044343091547489166,
-0.009459977969527245,
0.028192343190312386,
-0.011460955254733562,
0.01457855012267828,
0.02653081715106964,
0.009334917180240154,
-0.006896225735545158,
0.04891675338149071,
-0.06281639635562897,
-0.01724056527018547,
0.024083193391561508,
-0.004698724020272493,
-0.03364143520593643,
-0.02812087908387184,
0.05649188160896301,
0.002630749484524131,
0.021975019946694374,
-0.06203030049800873,
0.011389492079615593,
0.0170351080596447,
-0.059529080986976624,
-0.020652946084737778,
0.035285092890262604,
0.02494075521826744,
0.0018870825879275799,
0.0034637455828487873,
-0.03473125025629997,
0.02538740076124668,
0.026119902729988098,
0.009352782741189003,
0.01883062720298767,
-0.05313309654593468,
-0.002168470062315464,
0.036035459488630295,
0.05642041936516762,
-0.0019909278489649296,
0.049202606081962585,
-0.005123038310557604,
0.023011241108179092,
0.014140835963189602,
-0.015328916721045971,
0.004486566875129938,
0.02413679100573063
]
|
29,376 | quart.app | open_resource | Open a file for reading.
Use as
.. code-block:: python
async with await app.open_resource(path) as file_:
await file_.read()
| def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Quart
class.
"""
value = self.config["SEND_FILE_MAX_AGE_DEFAULT"]
if value is None:
return None
if isinstance(value, timedelta):
return int(value.total_seconds())
return value
return None
| (self, path: Union[bytes, str, os.PathLike], mode: str = 'rb') -> aiofiles.base.AiofilesContextManager[None, None, aiofiles.threadpool.binary.AsyncBufferedReader] | [
0.06741893291473389,
-0.009896685369312763,
-0.037371598184108734,
0.01993628218770027,
0.04155178740620613,
0.021276086568832397,
-0.020150650292634964,
0.0009356297669000924,
-0.009869889356195927,
-0.03833625838160515,
-0.00741804763674736,
-0.009825228713452816,
-0.051055461168289185,
-0.006895524449646473,
0.06959834694862366,
0.021954920142889023,
0.0410158634185791,
-0.036389075219631195,
0.037121500819921494,
-0.05573584511876106,
0.05702205374836922,
-0.045839156955480576,
-0.0561288520693779,
-0.04151605814695358,
-0.0017718906747177243,
0.027689281851053238,
0.027921514585614204,
0.007252805400639772,
0.007016106508672237,
0.018560750409960747,
-0.01522910501807928,
-0.015130852349102497,
0.020597252994775772,
0.015157648362219334,
-0.00009783360292203724,
0.020150650292634964,
-0.064274862408638,
-0.024259382858872414,
-0.11954624205827713,
-0.029975879937410355,
0.009092803113162518,
0.040908679366111755,
0.031333547085523605,
0.0027957241982221603,
-0.04598207026720047,
0.02268734574317932,
-0.03905081748962402,
0.016613569110631943,
-0.015157648362219334,
-0.002240822184830904,
0.048554494976997375,
0.03119063563644886,
-0.03694286197423935,
0.010646975599229336,
-0.016917258501052856,
0.03880072012543678,
-0.026528118178248405,
0.058951374143362045,
-0.028868308290839195,
0.0041913534514606,
0.0002939194964710623,
-0.04351683333516121,
0.02913627028465271,
-0.08317502588033676,
0.013746388256549835,
0.05337778851389885,
0.00481882831081748,
0.015112988650798798,
-0.0018377644009888172,
0.014157261699438095,
0.05366361513733864,
-0.027314135804772377,
-0.024312974885106087,
0.03387024253606796,
0.00826212391257286,
-0.03908654674887657,
-0.03533509746193886,
0.029064813628792763,
-0.037585966289043427,
0.04412420839071274,
0.0560573972761631,
-0.04705391451716423,
0.04412420839071274,
-0.0410873219370842,
0.03208383917808533,
-0.004166790284216404,
0.0423378050327301,
-0.03319140896201134,
-0.05409235134720802,
0.03890790790319443,
-0.011951050721108913,
0.04616071283817291,
0.03208383917808533,
0.02029356360435486,
0.020650845021009445,
-0.06731174886226654,
-0.032816264778375626,
0.02745704911649227,
0.028260931372642517,
-0.03522790968418121,
0.005537856370210648,
0.033798787742853165,
0.05026944354176521,
-0.06398903578519821,
0.035853154957294464,
-0.0018600944895297289,
-0.004046207759529352,
-0.0397653803229332,
0.05012653023004532,
-0.0232232678681612,
-0.010602314956486225,
-0.023312589153647423,
-0.013335514813661575,
0.028939764946699142,
0.02063298039138317,
0.05355643108487129,
-0.04787566140294075,
0.015622113831341267,
0.06616844981908798,
-0.016961917281150818,
-0.030994130298495293,
0.023116083815693855,
-0.016649296507239342,
-0.027510641142725945,
0.00986095704138279,
0.02806442603468895,
0.0030078599229454994,
-0.08660492300987244,
0.06331019848585129,
0.04133741557598114,
0.03460266813635826,
0.004126596264541149,
0.06377466768026352,
0.00887843407690525,
-0.016050850972533226,
0.0018824245780706406,
0.05252031609416008,
0.11847439408302307,
-0.013826776295900345,
0.037907518446445465,
-0.012361924163997173,
0.033923834562301636,
0.05041235685348511,
-0.052377402782440186,
0.0314764603972435,
0.0009668918210081756,
0.027349865064024925,
0.012763865292072296,
-0.04633935168385506,
-0.017685411497950554,
0.0423378050327301,
-0.0174621120095253,
-0.041480328887701035,
0.020114922896027565,
0.06159525364637375,
0.007185814902186394,
-0.037657421082258224,
0.06459641456604004,
-0.06902670115232468,
-0.062023989856243134,
-0.02215142548084259,
0.03526363894343376,
-0.009950277395546436,
-0.08624764531850815,
0.03249471262097359,
-0.05337778851389885,
-0.028278794139623642,
0.09825228899717331,
0.022294336929917336,
0.10232529044151306,
-0.01873939111828804,
0.004041742067784071,
0.005569118540734053,
0.008579211309552193,
0.00461339158937335,
0.03311995416879654,
0.029743647202849388,
-0.00903921015560627,
0.04562478885054588,
0.07824455201625824,
-0.011558041907846928,
-0.0671331062912941,
-0.02499181032180786,
0.04819721356034279,
0.06152379512786865,
0.02313394844532013,
-0.006618631538003683,
0.011647362262010574,
-0.005386011675000191,
0.045017413794994354,
0.035888880491256714,
-0.000885387125890702,
0.013040758669376373,
-0.052949052304029465,
-0.0057120309211313725,
0.01981123350560665,
-0.006529311183840036,
-0.020329291000962257,
0.025617051869630814,
0.03106558695435524,
-0.013969688676297665,
0.023116083815693855,
-0.002201744355261326,
-0.07695833593606949,
0.007779794745147228,
-0.03997974842786789,
0.02206210419535637,
-0.02835025079548359,
-0.032887719571590424,
0.06098787486553192,
-0.07910202443599701,
-0.020740164443850517,
-0.025742098689079285,
-0.005966593511402607,
-0.022097833454608917,
-0.0023267928045243025,
-0.03317354619503021,
0.04441003501415253,
-0.037085771560668945,
0.03278053551912308,
0.07070592045783997,
-0.016247356310486794,
-0.060094673186540604,
0.009173191152513027,
0.05991603061556816,
-0.019239583984017372,
0.03390597179532051,
0.014255513437092304,
-0.0170601699501276,
0.03387024253606796,
-0.026278020814061165,
0.0491618737578392,
0.045303236693143845,
0.009459015913307667,
0.087748222053051,
0.012754933908581734,
0.017926577478647232,
0.034245386719703674,
-0.021954920142889023,
-0.0026930058375000954,
0.038229070603847504,
0.03644266724586487,
0.01286211796104908,
0.059558749198913574,
0.010655906982719898,
-0.06702592223882675,
-0.0018098518485203385,
0.06752611696720123,
-0.047732748091220856,
-0.0012683477252721786,
0.08396104723215103,
-0.00150504638440907,
-0.06277427822351456,
0.015291629359126091,
-0.010763091966509819,
0.06495369225740433,
-0.048018574714660645,
-0.013674932532012463,
-0.027689281851053238,
0.04001547768712044,
0.06184535101056099,
-0.05491409823298454,
-0.02704617567360401,
-0.02851102687418461,
-0.005448536016047001,
0.021276086568832397,
-0.007212611380964518,
-0.028243066743016243,
-0.060630593448877335,
0.003479024162515998,
0.02951141446828842,
-0.016417063772678375,
-0.029636463150382042,
-0.07313542813062668,
-0.03933664411306381,
-0.06584689766168594,
0.01265668123960495,
-0.007869115099310875,
-0.04558906331658363,
-0.011352605186402798,
-0.05091254785656929,
-0.025938604027032852,
0.06020185723900795,
-0.03413820266723633,
-0.06238127127289772,
0.05148419737815857,
-0.035067133605480194,
0.028260931372642517,
-0.03138713911175728,
0.037085771560668945,
-0.024473750963807106,
-0.022633753716945648,
-0.01565784215927124,
-0.05284186825156212,
-0.00615416606888175,
-0.04809002950787544,
-0.004488343372941017,
-0.0315479151904583,
0.07910202443599701,
0.045017413794994354,
-0.03908654674887657,
-0.005542322061955929,
0.018828710541129112,
0.004251644480973482,
-0.012138623744249344,
0.027992969378829002,
-0.029565006494522095,
-0.045303236693143845,
0.04901896044611931,
0.020597252994775772,
0.019043080508708954,
-0.00748950382694602,
-0.008936491794884205,
-0.01253163255751133,
0.059201471507549286,
0.05037662759423256,
0.011915323324501514,
0.017167354002594948,
-0.0184535663574934,
0.0002847083378583193,
0.010914935730397701,
0.05177002400159836,
0.008137076161801815,
-0.011826002970337868,
0.04537469148635864,
-0.02411647140979767,
0.021151037886738777,
0.050483811646699905,
0.019293176010251045,
0.014335902407765388,
-0.037585966289043427,
0.04180188104510307,
0.020275698974728584,
-0.02711763232946396,
-0.009610860608518124,
0.01832851767539978,
0.00370902381837368,
-0.005484263878315687,
0.03933664411306381,
0.0010796586284413934,
-0.022705210372805595,
-0.0848185196518898,
0.005417273845523596,
0.03658558055758476,
0.0020376185420900583,
-0.014103669673204422,
0.07817309349775314,
0.004001547582447529,
0.040622856467962265,
-0.06445350497961044,
-0.02050793170928955,
-0.01821240223944187,
-0.028689667582511902,
0.02174055203795433,
-0.005319021642208099,
-0.056807685643434525,
0.016202695667743683,
0.014916484244167805,
-0.012585224583745003,
0.03413820266723633,
-0.0670616552233696,
0.009691248647868633,
-0.0028560154605656862,
0.009726976975798607,
0.008681929670274258,
0.02851102687418461,
0.03751451149582863,
-0.016792209818959236,
0.00034109174157492816,
-0.02436656691133976,
-0.06238127127289772,
-0.009061540476977825,
0.040372759103775024,
-0.026081517338752747,
0.02338404394686222,
-0.029850831255316734,
-0.04741119593381882,
0.01627415232360363,
0.014192990027368069,
0.033298593014478683,
-0.006448923144489527,
0.014067941345274448,
0.008253192529082298,
-0.000243816408328712,
-0.007962901145219803,
0.018918031826615334,
-0.01294250600039959,
-0.06666864454746246,
0.007529698312282562,
-0.0025456275325268507,
0.029064813628792763,
0.018507158383727074,
-0.00029838550835847855,
0.011745614930987358,
-0.03192306309938431,
0.007239407394081354,
-0.03274480998516083,
0.05477118492126465,
0.04344537481665611,
-0.0019371331436559558,
-0.008413968607783318,
0.03883644938468933,
-0.028385980054736137,
0.0307797621935606,
-0.0068196021020412445,
0.012486972846090794,
0.034048885107040405,
0.018417838960886,
-0.021561911329627037,
-0.008288919925689697,
-0.013308718800544739,
-0.04548187926411629,
-0.028582483530044556,
0.0030435880180448294,
0.015809686854481697,
0.021401135250926018,
-0.020275698974728584,
-0.05005507543683052,
0.028528891503810883,
-0.026278020814061165,
-0.004515139386057854,
-0.014130465686321259,
-0.015934735536575317,
-0.03126209229230881,
-0.02186560072004795,
0.027796465903520584,
0.005095720756798983,
0.009280375204980373,
-0.07838746160268784,
0.039015091955661774,
0.004463780205696821,
0.01898948848247528,
-0.049947891384363174,
-0.0024808703456074,
0.09725189954042435,
-0.01943608932197094,
-0.0025835884734988213,
-0.04787566140294075,
-0.04619643837213516,
-0.018382109701633453,
0.016827937215566635,
-0.021954920142889023,
0.000825095921754837,
0.014845027588307858,
0.033262867480516434,
-0.04926905781030655,
-0.03972965106368065,
0.012763865292072296,
0.01321046706289053,
-0.04026557505130768,
-0.020525796338915825,
-0.010343286208808422,
0.006422126665711403,
-0.016015123575925827,
0.008391638286411762,
0.025366954505443573,
-0.07020572572946548,
-0.0012270370498299599,
-0.011986779049038887,
-0.029064813628792763,
-0.04787566140294075,
0.050483811646699905,
0.07724416255950928,
-0.06688301265239716,
-0.050519540905952454,
0.04673236235976219,
0.006984844338148832,
-0.027153359726071358,
-0.046124983578920364,
-0.002150385407730937,
0.005006400868296623,
-0.02370559796690941,
-0.07027718424797058,
-0.03833625838160515,
-0.058987099677324295,
-0.03619256988167763,
0.02186560072004795,
0.03278053551912308,
0.021240359172225,
-0.010173577815294266,
0.04351683333516121,
0.05552147328853607,
0.0032959177624434233,
0.01816774159669876,
0.004867954179644585,
-0.04430285096168518,
-0.04676808789372444,
-0.0052698953077197075,
-0.013505223207175732,
-0.025813555344939232,
-0.05498555302619934,
0.001716065569780767,
-0.009664452634751797,
-0.0019282011780887842,
-0.012486972846090794,
0.037371598184108734,
0.08539017289876938,
0.032405391335487366,
0.023526957258582115,
0.01755143143236637,
-0.055128466337919235,
-0.02667102962732315,
0.005051061045378447,
0.05830826610326767,
-0.02851102687418461,
0.010182510130107403,
-0.03801470249891281,
-0.010995324701070786,
-0.0014704348286613822,
-0.0021715988405048847,
0.029600735753774643,
0.012996098026633263,
-0.017033373937010765,
0.039229460060596466,
-0.009012414142489433,
0.010262898169457912,
0.029439957812428474,
-0.03270908072590828,
0.00873552169650793,
-0.02629588544368744,
0.001944948686286807,
-0.028618212789297104,
0.018265994265675545,
-0.02370559796690941,
-0.014362698420882225,
-0.01700657792389393,
0.04026557505130768,
-0.010897072032094002,
0.026224428787827492,
0.04458867385983467,
0.017069101333618164,
-0.015086192637681961,
0.023616276681423187,
0.02313394844532013,
0.032065972685813904,
0.032887719571590424,
-0.05716496706008911,
-0.024009287357330322,
-0.10696994513273239,
-0.03349509835243225,
-0.03726441413164139,
-0.03665703535079956,
0.03826479986310005,
0.02926131710410118,
-0.03494208678603172,
-0.04809002950787544,
-0.013523087836802006,
0.046124983578920364,
0.1066841185092926,
-0.0362461619079113,
-0.006609699223190546,
0.022544434294104576,
0.04730401188135147,
-0.08796259760856628,
0.03283412754535675,
0.004495042376220226,
0.052448857575654984,
-0.02793937735259533,
0.006471253000199795,
-0.04973352327942848,
0.0068106697872281075,
-0.011915323324501514,
0.020239971578121185,
-0.0018344148993492126,
-0.04816148430109024,
-0.020043466240167618,
0.04323100671172142,
0.02247297763824463,
-0.03249471262097359,
-0.014648523181676865,
-0.003367373952642083,
0.06520379334688187,
0.04487450048327446,
-0.03333432227373123,
0.04098013788461685,
0.010245034471154213,
-0.02275880239903927,
0.04809002950787544,
0.03342364355921745,
0.02951141446828842,
0.033673737198114395,
-0.01738172397017479,
0.03780033439397812,
0.012317264452576637,
-0.0726352408528328,
-0.042837996035814285,
0.02572423592209816,
0.005944263655692339,
-0.016899393871426582,
0.04158751294016838,
-0.036228299140930176,
0.011227557435631752,
-0.005064459051936865,
0.00867299735546112,
0.001739512081257999,
0.0349242240190506,
-0.023455500602722168,
-0.00887396838515997,
-0.02502753771841526,
0.06173816695809364,
0.0252776350826025,
0.0050108665600419044,
-0.02411647140979767,
0.08331794291734695,
-0.0246523916721344,
-0.0160687156021595,
-0.016988713294267654,
0.02663530223071575,
-0.0010578868677839637,
0.005091255065053701,
-0.03687140345573425,
-0.021686960011720657,
-0.003052519867196679,
0.03451335057616234,
-0.005131449084728956,
0.0396939255297184,
-0.02667102962732315,
0.031994517892599106,
-0.04298090934753418,
-0.06602554023265839,
-0.05902282893657684,
0.023562684655189514,
0.03494208678603172,
-0.005216303281486034,
0.03510286286473274,
-0.02091880515217781,
0.00953047163784504,
0.014139397069811821,
-0.07209931313991547,
0.020329291000962257,
-0.010825615376234055,
-0.04408848285675049,
0.06255991011857986,
-0.02518831379711628,
-0.02711763232946396,
0.009325035847723484,
-0.009753772988915443,
0.040337029844522476,
-0.016783276572823524,
-0.004035043064504862,
0.04194479435682297,
-0.03890790790319443,
-0.026152972131967545,
-0.025384819135069847,
-0.003376305801793933,
-0.0061988262459635735,
0.005725428927689791,
0.03662130609154701,
0.029064813628792763,
-0.02452734485268593,
-0.020490068942308426,
-0.08031678199768066,
0.058415450155735016,
0.006855329964309931,
-0.07238513976335526,
-0.03769315034151077,
0.011307945474982262,
0.02366986870765686,
0.024402296170592308,
-0.06548961997032166,
-0.005327953491359949,
-0.05966593697667122,
-0.013969688676297665,
-0.03994402289390564,
-0.027224816381931305,
-0.08996336907148361,
-0.01253163255751133,
-0.05009080469608307,
-0.013639204204082489,
0.0074091157875955105,
0.016488520428538322,
-0.0005917467642575502,
0.02363414131104946,
0.003798344172537327,
0.04126596078276634,
0.0022787831258028746,
-0.01981123350560665,
0.06891951709985733,
-0.00636853463947773,
0.003695625811815262,
0.0239556934684515,
0.02654598280787468,
-0.03383451700210571,
0.008110280148684978,
0.025867147371172905,
0.008172803558409214,
0.02363414131104946,
0.002672908827662468,
0.006274748593568802,
0.040872953832149506,
-0.01483609527349472,
-0.03783606365323067,
-0.04491022974252701,
0.001643492840230465,
-0.045839156955480576,
-0.062274087220430374,
0.013406971469521523,
0.10111054033041,
-0.02559918724000454,
-0.0161044429987669,
-0.050197988748550415,
0.031744420528411865,
0.03483490273356438,
-0.02038288302719593,
-0.04258790239691734,
-0.0642034038901329,
-0.048304397612810135,
0.011629498563706875,
-0.046625178307294846,
-0.021383270621299744,
-0.03387024253606796,
0.0033852378837764263,
0.0658111721277237,
0.05009080469608307,
-0.035478007048368454,
0.04487450048327446,
-0.01020930614322424,
0.028332388028502464,
0.0017205316107720137,
0.009566199965775013,
-0.037621695548295975,
0.06652573496103287,
0.011057848110795021,
0.009744840674102306,
-0.04433857649564743,
-0.009441151283681393,
0.02818947471678257,
-0.011388333514332771,
0.014541339129209518,
0.026492388918995857,
0.009396491572260857,
-0.006891058292239904,
0.04891177639365196,
-0.06277427822351456,
-0.017238810658454895,
0.02411647140979767,
-0.004671449773013592,
-0.0336022824048996,
-0.02806442603468895,
0.056521862745285034,
0.002643879735842347,
0.02199064940214157,
-0.06209544464945793,
0.011370469816029072,
0.017024442553520203,
-0.059558749198913574,
-0.02070443704724312,
0.03535296022891998,
0.024920353665947914,
0.0018087353091686964,
0.0034410632215440273,
-0.03467412665486336,
0.0253133624792099,
0.026081517338752747,
0.009333967231214046,
0.018792983144521713,
-0.05309196561574936,
-0.0022609191946685314,
0.035978201776742935,
0.05637894943356514,
-0.0019315506797283888,
0.0491618737578392,
-0.005073390901088715,
0.023026764392852783,
0.014085805043578148,
-0.01532735675573349,
0.004495042376220226,
0.024152198806405067
]
|
29,379 | quart.app | postprocess_websocket | Postprocess the websocket acting on the response.
Arguments:
response: The response after the websocket is finalized.
websocket_context: The websocket context, optional as Flask
omits this argument.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, response: Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, NoneType], websocket_context: Optional[quart.ctx.WebsocketContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,380 | quart.app | preprocess_request | Preprocess the request i.e. call before_request functions.
Arguments:
request_context: The request context, optional as Flask
omits this argument.
| def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, request_context: Optional[quart.ctx.RequestContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], NoneType] | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,381 | quart.app | preprocess_websocket | Preprocess the websocket i.e. call before_websocket functions.
Arguments:
websocket_context: The websocket context, optional as Flask
omits this argument.
| def add_background_task(self, func: Callable, *args: Any, **kwargs: Any) -> None:
async def _wrapper() -> None:
try:
async with self.app_context():
await self.ensure_async(func)(*args, **kwargs)
except Exception as error:
await self.handle_background_exception(error)
task = asyncio.get_event_loop().create_task(_wrapper())
self.background_tasks.add(task)
| (self, websocket_context: Optional[quart.ctx.WebsocketContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int], Tuple[Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response, bytes, str, Mapping[str, Any], List[Any], Iterator[bytes], Iterator[str]], int, Union[werkzeug.datastructures.headers.Headers, Mapping[str, Union[str, List[str], Tuple[str, ...]]], Sequence[Tuple[str, Union[str, List[str], Tuple[str, ...]]]]]], NoneType] | [
0.02431321330368519,
-0.009782199747860432,
-0.03030703403055668,
0.04901771619915962,
0.04229467734694481,
0.012699074111878872,
-0.017021028324961662,
0.01413972582668066,
-0.004944457672536373,
-0.059191204607486725,
0.03937780112028122,
0.036852214485406876,
-0.012192178517580032,
-0.07519844174385071,
0.0018941896269097924,
0.023174921050667763,
0.026234082877635956,
-0.03411319851875305,
-0.026145152747631073,
-0.0524325929582119,
0.015633733943104744,
0.02095169387757778,
0.041512101888656616,
-0.0005605311598628759,
0.035891782492399216,
0.07341986149549484,
-0.005829302128404379,
0.004330846946686506,
0.03873751312494278,
0.02095169387757778,
0.05371317267417908,
-0.02196548506617546,
-0.011267315596342087,
0.03301047906279564,
0.022943705320358276,
0.01480669341981411,
-0.01629181019961834,
0.019066397100687027,
-0.039662376046180725,
-0.04101409763097763,
0.05467360466718674,
-0.001741898595355451,
0.007923582568764687,
0.019066397100687027,
0.03365076705813408,
-0.04474911838769913,
0.00870615802705288,
-0.05488703399896622,
0.007714598905295134,
-0.02680322900414467,
-0.035038061439991,
-0.06456252187490463,
0.015286911278963089,
0.008070315234363079,
-0.040302664041519165,
0.08316648751497269,
0.0032125634606927633,
-0.013721758499741554,
0.020097974687814713,
0.001008233637548983,
0.003917326685041189,
0.011000528931617737,
-0.019386542961001396,
0.0409429557621479,
0.01751013845205307,
0.010573669336736202,
-0.07612330466508865,
0.02047147788107395,
-0.002974678063765168,
0.007394453976303339,
0.00566478306427598,
-0.003123634262010455,
0.03507363423705101,
-0.05474475026130676,
0.04233024641871452,
-0.00005113422957947478,
-0.032868191599845886,
-0.02127183973789215,
-0.02923988550901413,
0.025078004226088524,
-0.016460774466395378,
0.03418434411287308,
0.07000498473644257,
0.034895773977041245,
0.07299299538135529,
-0.023370565846562386,
-0.013766223564743996,
-0.03735021874308586,
-0.051863446831703186,
-0.0044731334783136845,
0.04346853867173195,
-0.01602502167224884,
0.005055618938058615,
-0.04282825067639351,
0.041618816554546356,
-0.04809285327792168,
0.03710121661424637,
-0.011000528931617737,
0.011258423328399658,
-0.021093981340527534,
-0.009266410954296589,
-0.017794711515307426,
0.0011683059856295586,
-0.08807536959648132,
0.03512699156999588,
-0.08594107627868652,
0.0034815738908946514,
-0.05307288095355034,
-0.0446779765188694,
-0.0045709554105997086,
0.031071824952960014,
0.008892909623682499,
-0.00581151619553566,
0.03253026306629181,
-0.03827508166432381,
0.010093452408909798,
-0.015375840477645397,
0.01968890056014061,
0.03405984118580818,
-0.02431321330368519,
-0.0374569334089756,
-0.014024117961525917,
0.024704501032829285,
0.01092938520014286,
0.0007181024411693215,
0.07192584872245789,
-0.02875966764986515,
0.04727470502257347,
0.007994725368916988,
-0.05894220247864723,
0.03135639801621437,
0.01746567338705063,
0.03119632601737976,
-0.01851503737270832,
0.0037150129210203886,
0.0021454142406582832,
0.04695456102490425,
-0.01032466720789671,
-0.004962243139743805,
-0.0012550117680802941,
-0.024704501032829285,
0.01750124618411064,
0.029008669778704643,
-0.01947547122836113,
0.03763479366898537,
0.026518655940890312,
-0.09291311353445053,
0.02000904642045498,
0.02461557276546955,
-0.03596292436122894,
0.05517160892486572,
0.01936875656247139,
-0.034522272646427155,
0.034148771315813065,
-0.02605622448027134,
0.032014474272727966,
0.02022247575223446,
0.03969794511795044,
0.06797739863395691,
-0.010538097470998764,
-0.015215767547488213,
0.023815210908651352,
0.025504862889647484,
-0.024704501032829285,
0.013828474096953869,
0.01082267053425312,
0.04606527090072632,
0.014459870755672455,
-0.006442912854254246,
0.046563271433115005,
0.036318641155958176,
-0.012414501048624516,
0.042685963213443756,
0.023228278383612633,
0.017438994720578194,
-0.017812497913837433,
0.015891628339886665,
0.03519813343882561,
0.010022308677434921,
0.04684784635901451,
0.012201071716845036,
0.025593793019652367,
0.012885825708508492,
-0.029631173238158226,
0.04229467734694481,
0.03235240280628204,
0.037172362208366394,
0.0540333166718483,
-0.013997439295053482,
-0.02600286714732647,
-0.035464923828840256,
0.0369233600795269,
0.11432724446058273,
-0.011409602127969265,
0.009702163748443127,
-0.03338398039340973,
-0.00814590509980917,
0.04001809284090996,
0.00005763021908933297,
0.0012105472851544619,
0.02977346070110798,
-0.0334373377263546,
0.1139715239405632,
0.017056599259376526,
0.03923551365733147,
-0.02584279328584671,
-0.07726159691810608,
-0.035785067826509476,
-0.07583872973918915,
-0.0013372711837291718,
-0.04144095629453659,
-0.049907006323337555,
-0.06274836510419846,
0.0101645952090621,
0.07505615055561066,
0.021983271464705467,
-0.04037380963563919,
0.056060899049043655,
0.008946266956627369,
0.007910242304205894,
0.015491447411477566,
0.04136981442570686,
-0.029008669778704643,
-0.057128049433231354,
0.03381083905696869,
-0.005553621798753738,
0.03391755744814873,
-0.02520250529050827,
0.027834806591272354,
0.0401248075067997,
-0.002807936165481806,
0.022250058129429817,
0.012565680779516697,
-0.022303415462374687,
-0.017314493656158447,
0.013179291039705276,
0.010689277201890945,
-0.01915532723069191,
0.05108087137341499,
-0.04535383731126785,
0.052717164158821106,
0.00007079589704517275,
0.042899392545223236,
-0.011711961589753628,
-0.0025500417686998844,
0.01725224405527115,
-0.0027679179329425097,
0.030858395621180534,
-0.02680322900414467,
-0.008861783891916275,
-0.043859828263521194,
0.011445173993706703,
0.015366947278380394,
-0.00870615802705288,
-0.06381551921367645,
0.021609770134091377,
-0.032974906265735626,
-0.045496124774217606,
0.046776700764894485,
0.0414765290915966,
0.007928028702735901,
0.0468122735619545,
0.016594167798757553,
0.024170927703380585,
-0.04578069597482681,
-0.01082267053425312,
-0.01968890056014061,
0.0008431589812971652,
-0.012583466246724129,
0.05360645800828934,
0.01575823500752449,
0.023868568241596222,
0.06637667119503021,
-0.06086307018995285,
-0.017687996849417686,
-0.022908134385943413,
-0.04770156368613243,
-0.002518916502594948,
-0.0385240837931633,
-0.03423770144581795,
0.016745347529649734,
-0.004713241942226887,
-0.018070392310619354,
0.02175205573439598,
0.02509579062461853,
-0.04453568905591965,
0.03087618015706539,
0.029648959636688232,
-0.028617382049560547,
-0.03427327051758766,
-0.04001809284090996,
-0.006980933714658022,
0.03205004334449768,
0.03919994458556175,
0.003654985688626766,
0.003385975258424878,
0.02600286714732647,
0.0018341625109314919,
0.023690709844231606,
-0.0037528076209127903,
0.06783511489629745,
0.027052229270339012,
-0.023761853575706482,
0.0038083884865045547,
0.029222099110484123,
-0.0011116137029603124,
-0.05613204464316368,
0.004542053211480379,
-0.08565650135278702,
-0.01856839470565319,
-0.02758580446243286,
-0.04610083997249603,
0.014059689827263355,
-0.00981777161359787,
-0.02271248959004879,
0.08081875741481781,
-0.010538097470998764,
0.03156982734799385,
0.0040885149501264095,
-0.013864045031368732,
-0.023228278383612633,
0.026714298874139786,
-0.03039596416056156,
0.019528828561306,
0.03720793128013611,
-0.01750124618411064,
0.032921548932790756,
0.025166932493448257,
-0.01494008768349886,
0.08359334617853165,
-0.0035749494563788176,
0.006683021318167448,
-0.0029680083971470594,
-0.05317959561944008,
-0.04076509550213814,
0.009066320955753326,
-0.015571484342217445,
0.003961791284382343,
-0.016949884593486786,
-0.04144095629453659,
0.021520840004086494,
0.013552793301641941,
0.007412239909172058,
0.047310277819633484,
0.01835496537387371,
-0.04510483518242836,
0.04350411146879196,
-0.005700354930013418,
0.0030146962963044643,
-0.10073887556791306,
0.06566524505615234,
-0.049053288996219635,
-0.058657627552747726,
0.006807521916925907,
-0.003463788190856576,
0.04005366191267967,
0.011507424525916576,
-0.009746628813445568,
0.04378868639469147,
-0.09063652902841568,
-0.02747908979654312,
-0.04492697864770889,
0.022427916526794434,
0.022516846656799316,
-0.03210340067744255,
0.03838179633021355,
0.03603406995534897,
0.0024611125700175762,
-0.02881302498281002,
0.006136107258498669,
0.07160570472478867,
0.022587988525629044,
0.047310277819633484,
0.022303415462374687,
0.014397620223462582,
-0.0334373377263546,
-0.04378868639469147,
-0.023441709578037262,
-0.031712114810943604,
0.08394906669855118,
-0.004041827283799648,
0.005166780203580856,
0.02429542876780033,
-0.05211244896054268,
0.01809707097709179,
-0.03887980058789253,
-0.006442912854254246,
-0.02022247575223446,
0.0066696819849312305,
0.003241465426981449,
0.02961338683962822,
0.028581811115145683,
0.0042908284813165665,
0.0006013829843141139,
0.03528706356883049,
-0.08885794878005981,
-0.009773307479918003,
0.009853343479335308,
0.0770481675863266,
0.0031792151276022196,
-0.014735550619661808,
-0.007078755646944046,
0.07391785830259323,
-0.010760420002043247,
0.03445113077759743,
0.03969794511795044,
-0.06619881838560104,
-0.04026709124445915,
0.04883985593914986,
0.04891100153326988,
-0.015366947278380394,
-0.08074761927127838,
-0.0044731334783136845,
-0.006567413453012705,
-0.02589615248143673,
0.020293619483709335,
-0.060258351266384125,
-0.027141159400343895,
-0.06719481945037842,
-0.015278018079698086,
0.002369960304349661,
0.03381083905696869,
-0.0005585858598351479,
0.061574503779411316,
-0.01480669341981411,
0.0052557094022631645,
0.02054261974990368,
-0.002850177465006709,
-0.03895094245672226,
-0.03962680324912071,
-0.01936875656247139,
-0.009382018819451332,
0.028795240446925163,
0.03827508166432381,
-0.0034749042242765427,
-0.0015673752641305327,
0.03980466350913048,
0.05968920513987541,
-0.003268144093453884,
0.0055980863980948925,
-0.055634040385484695,
-0.019813401624560356,
-0.015482555143535137,
-0.003686110954731703,
0.013446078635752201,
-0.030467107892036438,
0.002981347730383277,
0.03018253482878208,
0.028564024716615677,
-0.00854608602821827,
0.0007998060318641365,
0.04563840851187706,
0.03530484810471535,
0.10450947284698486,
0.0002485846052877605,
-0.015749342739582062,
-0.006549627520143986,
-0.051650017499923706,
-0.05353531241416931,
0.017910318449139595,
-0.03188997134566307,
0.02361956611275673,
-0.014744443818926811,
-0.010093452408909798,
-0.010671490803360939,
-0.03923551365733147,
0.05748376622796059,
0.01092938520014286,
0.0022121111396700144,
-0.004348632413893938,
0.020720478147268295,
-0.0004710462817456573,
0.03930665925145149,
-0.05549175292253494,
0.031605400145053864,
0.013277113437652588,
0.007710152305662632,
0.0067763966508209705,
0.05488703399896622,
-0.004944457672536373,
0.051436588168144226,
0.0207382645457983,
-0.023441709578037262,
0.024757858365774155,
-0.028830811381340027,
0.07210370898246765,
0.023797424510121346,
-0.0011771988356485963,
0.03841736912727356,
-0.005540282465517521,
-0.010644812136888504,
-0.013579471968114376,
0.02669651433825493,
0.04272153601050377,
-0.006803075782954693,
-0.07192584872245789,
-0.04485583305358887,
0.025327006354928017,
0.008732836693525314,
0.03788379207253456,
0.01681649126112461,
0.018746253103017807,
-0.046136412769556046,
0.044073257595300674,
-0.0039906930178403854,
0.0011505201691761613,
-0.059191204607486725,
0.012512323446571827,
-0.03699450194835663,
0.0009826665045693517,
-0.037279076874256134,
-0.01718999445438385,
-0.04745256528258324,
-0.062001362442970276,
0.013205970637500286,
-0.008248173631727695,
-0.03516256436705589,
-0.05435346066951752,
0.04378868639469147,
-0.026767656207084656,
0.015927201136946678,
0.0478794239461422,
0.01313482690602541,
0.031907759606838226,
0.031160753220319748,
0.022801419720053673,
0.024170927703380585,
-0.022623561322689056,
-0.04706127569079399,
0.05481589213013649,
-0.024686716496944427,
-0.006660788785666227,
0.015473661944270134,
-0.04432225972414017,
0.008119226433336735,
0.03703007474541664,
-0.04165438562631607,
-0.03884422779083252,
-0.04517597705125809,
-0.062321506440639496,
-0.042792677879333496,
-0.007425579242408276,
0.0065985387191176414,
-0.025273647159337997,
-0.05008486658334732,
-0.0063628763891756535,
0.008328209631145,
0.030378177762031555,
-0.04684784635901451,
-0.01222775038331747,
0.006989826448261738,
-0.003319278359413147,
0.028101593255996704,
0.03841736912727356,
-0.03656764328479767,
-0.00566478306427598,
0.004384204279631376,
-0.03158761188387871,
-0.025878366082906723,
0.008688372559845448,
-0.006233929190784693,
-0.008581656962633133,
-0.05414003133773804,
-0.003588288789615035,
-0.055740755051374435,
-0.009092999622225761,
-0.03720793128013611,
0.06840425729751587,
-0.055313896387815475,
-0.005500264465808868,
-0.03859522566199303,
-0.033508483320474625,
-0.003961791284382343,
-0.08700822293758392,
-0.052183590829372406,
-0.016638632863759995,
0.02653644047677517,
-0.015829378738999367,
0.04563840851187706,
-0.042259104549884796,
-0.09696828573942184,
-0.014815586619079113,
-0.07000498473644257,
0.004248587414622307,
-0.0231393501162529,
0.003510475857183337,
0.03416655585169792,
0.03887980058789253,
-0.02790594846010208,
-0.03494913503527641,
-0.008061422035098076,
0.0858699306845665,
0.03670993074774742,
-0.014948979951441288,
0.030378177762031555,
-0.025540435686707497,
-0.037279076874256134,
0.0018252696609124541,
-0.009248625487089157,
-0.014104153960943222,
-0.027728090062737465,
0.04129866883158684,
-0.03507363423705101,
0.008479389362037182,
0.016967670992016792,
0.05108087137341499,
-0.029577815905213356,
-0.12563902139663696,
-0.010093452408909798,
-0.05901334434747696,
-0.021787628531455994,
0.01851503737270832,
-0.012352250516414642,
0.03558942303061485,
-0.017527924850583076,
-0.011196172796189785,
-0.11539439111948013,
0.014148619025945663,
0.04755927994847298,
-0.04357525706291199,
0.006438466254621744,
-0.03941337391734123,
0.022783633321523666,
0.031765472143888474,
0.019066397100687027,
0.0012438957346603274,
-0.007341096643358469,
-0.03912879899144173,
-0.05111644044518471,
0.00110438815318048,
0.005553621798753738,
0.05481589213013649,
0.03898651525378227,
0.017341172322630882,
0.06548738479614258,
-0.05727033689618111,
-0.037172362208366394,
0.05460246279835701,
0.0323701910674572,
-0.06363765895366669,
-0.032174546271562576,
-0.0048955464735627174,
-0.05463803559541702,
-0.047737136483192444,
0.08850223571062088,
-0.011943177320063114,
-0.009506519883871078,
-0.05453132092952728,
0.013766223564743996,
-0.055740755051374435,
-0.02191212773323059,
0.014842265285551548,
-0.0048421891406178474,
0.04371754080057144,
-0.0746292918920517,
0.05086744204163551,
-0.0569857619702816,
-0.04037380963563919,
-0.002585613401606679,
-0.015260232612490654,
0.008594997227191925,
-0.02185877040028572,
-0.051329873502254486,
0.023850781843066216,
-0.007278846111148596,
0.02664315514266491,
-0.0021787628065794706,
-0.035838425159454346,
-0.02292592078447342,
0.0010037871543318033,
0.04243696108460426,
-0.043753113597631454,
-0.07153455913066864,
0.022623561322689056,
0.0036727716214954853,
0.013161505572497845,
-0.06520280987024307,
-0.018799610435962677,
0.007999171502888203,
0.01622955873608589,
-0.03172989934682846,
0.00035571635817177594,
0.0019119754433631897,
0.0174567811191082,
-0.006807521916925907,
0.029008669778704643,
0.01815042831003666,
-0.04453568905591965,
0.028421737253665924,
0.019884545356035233,
0.018061498180031776,
0.06317522376775742,
-0.001880850293673575,
0.012512323446571827,
-0.01087602786719799,
0.02552264928817749,
-0.03608742728829384,
0.00546469260007143,
0.055100467056035995,
-0.020097974687814713,
-0.006158339790999889,
-0.028297238051891327,
-0.052823882550001144,
0.008323763497173786,
0.03820393979549408,
0.00566478306427598,
-0.009933379478752613,
0.016736455261707306,
-0.0020520389080047607,
0.04912443086504936,
-0.005482478532940149,
-0.019066397100687027,
0.014931194484233856,
-0.009346447885036469,
-0.04154767096042633,
-0.01888853870332241,
0.043077252805233,
-0.05474475026130676,
-0.007527847774326801,
-0.03060939349234104,
-0.03240576013922691,
0.03020031936466694,
0.05463803559541702,
-0.057448193430900574,
0.05058286711573601,
-0.04108523949980736,
-0.0008314870065078139,
-0.015233553946018219,
-0.01212992798537016,
-0.007158792112022638,
0.022410131990909576,
0.018159320577979088,
0.011027207598090172,
0.0749138668179512,
0.00011984584853053093,
0.0379905067384243,
-0.012147714383900166,
0.013837366364896297,
-0.11631925404071808,
-0.03379305452108383,
-0.00041657721158117056,
-0.059938207268714905,
0.018603965640068054,
0.006949808448553085,
0.0904230996966362,
-0.0001502067898400128,
0.018426107242703438,
0.0484129972755909,
-0.01741231605410576,
0.02605622448027134,
0.01151631772518158,
0.08081875741481781,
-0.03612299636006355,
0.07690587639808655,
0.005442460533231497,
-0.0036460927221924067,
0.055634040385484695,
-0.018746253103017807,
0.000975996779743582,
-0.00032264585024677217,
-0.040516093373298645,
-0.06410008668899536,
0.011320673860609531,
-0.013161505572497845,
0.02057819254696369,
0.0276925191283226,
0.020773835480213165,
0.07370442897081375
]
|
29,382 | quart.app | process_response | Postprocess the request acting on the response.
Arguments:
response: The response after the request is finalized.
request_context: The request context, optional as Flask
omits this argument.
| def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, response: Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response], request_context: Optional[quart.ctx.RequestContext] = None) -> Union[quart.wrappers.response.Response, werkzeug.wrappers.response.Response] | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,384 | quart.app | raise_routing_exception | null | def raise_routing_exception(self, request: BaseRequestWebsocket) -> NoReturn:
raise request.routing_exception
| (self, request: quart.wrappers.base.BaseRequestWebsocket) -> NoReturn | [
-0.029124030843377113,
0.010381940752267838,
-0.048830099403858185,
0.05633717030286789,
-0.024568602442741394,
-0.042926810681819916,
-0.024995140731334686,
0.08510290831327438,
-0.019944928586483,
-0.036477550864219666,
0.031290847808122635,
0.012045440264046192,
0.0641513541340828,
-0.030966676771640778,
-0.010595209896564484,
0.03241690620779991,
0.025916464626789093,
0.048795975744724274,
0.042687948793172836,
-0.07418353110551834,
-0.030096538364887238,
-0.024909833446145058,
0.025831157341599464,
-0.03309936821460724,
-0.06773427128791809,
0.051286958158016205,
-0.0494784377515316,
0.03361121565103531,
0.03780835121870041,
-0.055757079273462296,
-0.032519277185201645,
-0.067768394947052,
0.029465261846780777,
0.0425855778157711,
0.03664816543459892,
0.014297561720013618,
-0.06162624806165695,
-0.013470077887177467,
-0.0629570484161377,
-0.02996004745364189,
-0.025677602738142014,
0.01496296189725399,
-0.04722631350159645,
-0.006052577868103981,
0.06875796616077423,
-0.007925081066787243,
-0.04330216348171234,
0.08298727869987488,
-0.0272813867777586,
0.041152410209178925,
-0.03937800973653793,
0.005583385471254587,
0.02695721760392189,
-0.015986653044819832,
0.03630693629384041,
0.03954862803220749,
-0.03379889205098152,
0.03088136948645115,
0.03774010390043259,
-0.050570376217365265,
-0.004337893798947334,
0.052549511194229126,
-0.02908990904688835,
0.03586333617568016,
0.070771224796772,
-0.0027661004569381475,
-0.0002713849535211921,
-0.02929464727640152,
-0.005020355340093374,
0.013811308890581131,
0.07329633086919785,
0.02842450886964798,
-0.03787659481167793,
0.007993326522409916,
0.03424249216914177,
0.014997084625065327,
0.032604582607746124,
-0.01217340212315321,
0.032365720719099045,
0.015235946513712406,
0.046850960701704025,
0.0014790213899686933,
-0.01061227172613144,
0.006406604312360287,
0.019961990416049957,
-0.005826512351632118,
-0.006453523878008127,
-0.03617044538259506,
-0.051832929253578186,
-0.02833920158445835,
-0.04296093434095383,
-0.03356003016233444,
-0.06831436604261398,
-0.05408504977822304,
0.027179017663002014,
0.018238775432109833,
0.05527935549616814,
-0.04070881009101868,
0.016797076910734177,
-0.08612660318613052,
0.012770554982125759,
0.07159017771482468,
-0.04876185208559036,
0.035385612398386,
0.04620262235403061,
-0.06224046275019646,
0.048557113856077194,
-0.05678077042102814,
-0.01852882094681263,
0.01167861744761467,
-0.008539295755326748,
0.03115435317158699,
0.0023822160437703133,
0.010399002581834793,
-0.07159017771482468,
0.007370580919086933,
0.01308619324117899,
0.022708896547555923,
0.028612185269594193,
-0.004811351653188467,
0.07261387258768082,
-0.00259335245937109,
-0.025592295452952385,
-0.06340064853429794,
0.04872772842645645,
0.01643025316298008,
-0.0593741238117218,
-0.02926052361726761,
0.018460575491189957,
0.023408418521285057,
-0.05521111190319061,
0.0092217568308115,
-0.07288685441017151,
-0.0025570967700332403,
-0.06162624806165695,
0.06909919530153275,
0.023800835013389587,
0.002473921747878194,
-0.002386481501162052,
-0.0274349395185709,
-0.005378647241741419,
0.01943308301270008,
0.008744033984839916,
-0.030454831197857857,
0.06101202964782715,
0.014621730893850327,
-0.021446343511343002,
0.022043496370315552,
0.024432111531496048,
-0.010637863539159298,
0.01975725218653679,
0.040674686431884766,
-0.01979137398302555,
0.001509945373982191,
-0.05268600583076477,
0.03814958035945892,
-0.01796579174697399,
0.04572489857673645,
-0.006240254733711481,
-0.006636935286223888,
0.011900417506694794,
-0.007387642282992601,
0.04900071397423744,
-0.04401874914765358,
-0.0017061530379578471,
-0.006487646605819464,
0.0049265166744589806,
0.03187093883752823,
0.024125004187226295,
-0.04302917793393135,
-0.09615878015756607,
-0.0006248785648494959,
-0.08639958500862122,
-0.06012483313679695,
0.008458253927528858,
-0.0068246121518313885,
-0.029482323676347733,
0.019961990416049957,
-0.04074293375015259,
-0.0062786429189145565,
0.05166231468319893,
-0.06814374774694443,
-0.014203723520040512,
-0.034140121191740036,
0.04029933363199234,
0.058930523693561554,
-0.014442585408687592,
-0.009298534132540226,
-0.0034976135939359665,
0.03961687162518501,
0.023374296724796295,
0.005830777809023857,
0.037705980241298676,
0.018835928291082382,
0.01213074754923582,
0.005758266430348158,
0.006108027882874012,
0.017880482599139214,
0.03482258319854736,
0.05998833850026131,
0.03135909140110016,
0.02050795964896679,
-0.04729456081986427,
0.02636006474494934,
-0.005387178156524897,
-0.009290003217756748,
0.02704252488911152,
-0.06275230646133423,
0.03763773664832115,
0.0064407275058329105,
-0.03760361298918724,
-0.0014832867309451103,
0.07104421406984329,
-0.01434874627739191,
0.00019767381309065968,
0.03277520090341568,
-0.08871995657682419,
-0.032553400844335556,
0.0644584596157074,
0.024568602442741394,
-0.017189491540193558,
0.023783773183822632,
0.0014779550256207585,
-0.07336457818746567,
0.04552016034722328,
-0.014664385467767715,
-0.025438740849494934,
-0.052071791142225266,
-0.05701963230967522,
-0.0008253515115939081,
0.02383495680987835,
0.008377211168408394,
-0.005899024195969105,
0.0031542503274977207,
0.09008488059043884,
-0.009887157008051872,
0.0017552048666402698,
-0.015619831159710884,
-0.0038345789071172476,
0.025541109964251518,
0.010646394453942776,
0.023050127550959587,
-0.03456665948033333,
-0.00306254462338984,
0.05074099078774452,
0.012463447637856007,
-0.029584692791104317,
0.030506014823913574,
-0.0015259406063705683,
-0.02240178920328617,
-0.016797076910734177,
0.015227415598928928,
-0.04852299019694328,
-0.06462907791137695,
-0.00971654150635004,
-0.06292292475700378,
-0.05087748169898987,
0.00847531482577324,
0.0337306447327137,
0.013751593418419361,
-0.051048096269369125,
0.06125089153647423,
-0.015901345759630203,
-0.008863464929163456,
-0.003636238630861044,
-0.011209425516426563,
-0.06285467743873596,
0.060193076729774475,
0.022538281977176666,
0.01666058413684368,
0.0016869588289409876,
0.0016272434731945395,
0.004585286136716604,
0.06135326251387596,
0.03359415382146835,
-0.0028897966258227825,
0.021548712626099586,
0.05835043266415596,
-0.029550569131970406,
0.035249121487140656,
0.02161695808172226,
0.030062416568398476,
0.0013798512518405914,
0.02236766554415226,
-0.06770014762878418,
0.04183487221598625,
0.01808522269129753,
-0.012907047756016254,
-0.04255145415663719,
-0.046100255101919174,
0.042926810681819916,
-0.02209468185901642,
-0.014800877310335636,
0.015986653044819832,
-0.019467204809188843,
-0.005109928082674742,
0.017189491540193558,
0.013615100644528866,
0.04951256141066551,
0.05268600583076477,
0.06705181300640106,
0.05855517089366913,
-0.021838758140802383,
-0.03832019492983818,
-0.006995227187871933,
-0.0209856815636158,
0.04920545220375061,
0.06572101265192032,
-0.012412263080477715,
-0.014638792723417282,
-0.03405481204390526,
0.0083558838814497,
-0.013470077887177467,
-0.029431140050292015,
0.029226401820778847,
0.06384424865245819,
0.018614130094647408,
0.011490940116345882,
-0.018597068265080452,
0.06937218457460403,
-0.025148695334792137,
0.08960715681314468,
-0.02165108174085617,
0.01741982251405716,
-0.0013894482981413603,
0.021275727078318596,
0.025506988167762756,
-0.02545580267906189,
-0.0340377539396286,
-0.006453523878008127,
0.028629247099161148,
-0.049103084951639175,
-0.05490400269627571,
-0.06742716580629349,
-0.0322292298078537,
-0.0023971449118107557,
0.015380969271063805,
-0.024449173361063004,
-0.011226486414670944,
0.01300088595598936,
0.015295661985874176,
0.03589745983481407,
0.03804721310734749,
0.030335400253534317,
-0.002827948657795787,
-0.01967194490134716,
-0.047089822590351105,
-0.005250685848295689,
-0.02731551043689251,
-0.01302647776901722,
-0.021514588966965675,
0.013939269818365574,
-0.02422737330198288,
0.034020692110061646,
0.026974279433488846,
0.021599896252155304,
-0.01801697537302971,
-0.010194264352321625,
0.020013174042105675,
0.044121116399765015,
0.006338358391076326,
0.0031585157848894596,
-0.01730039156973362,
0.004913720767945051,
-0.0545627735555172,
-0.020798005163669586,
0.014630261808633804,
0.00549381272867322,
-0.006180539261549711,
-0.020712697878479958,
-0.05190117284655571,
-0.02395438775420189,
-0.010851132683455944,
0.02659892477095127,
0.0326898917555809,
0.02941407822072506,
0.018580006435513496,
-0.02110511250793934,
0.016123145818710327,
0.03883204236626625,
0.031171415001153946,
0.032246291637420654,
0.008108492009341717,
-0.020456774160265923,
0.040162842720746994,
-0.05408504977822304,
0.03349178284406662,
0.01658380776643753,
0.012164871208369732,
0.0119942557066679,
0.020013174042105675,
-0.055757079273462296,
0.017308922484517097,
0.02656480297446251,
-0.024415049701929092,
-0.029124030843377113,
-0.003092402359470725,
-0.0025208410806953907,
-0.02161695808172226,
0.0012039041612297297,
0.02581409551203251,
0.02770792506635189,
-0.13806189596652985,
0.027690863236784935,
0.041459519416093826,
-0.025558171793818474,
0.014579077251255512,
0.028919292613863945,
0.04606613144278526,
-0.058009203523397446,
-0.07602617889642715,
-0.009255880489945412,
-0.015978122130036354,
-0.011158240959048271,
0.010296633467078209,
-0.03379889205098152,
0.07902900874614716,
0.044428225606679916,
-0.035726845264434814,
-0.0008189534419216216,
0.044121116399765015,
-0.017675744369626045,
0.08448869735002518,
-0.018545882776379585,
0.044871825724840164,
-0.04579314589500427,
-0.031290847808122635,
-0.005856370087713003,
-0.0020463173277676105,
0.004649267066270113,
-0.014596139080822468,
-0.03589745983481407,
0.011550655588507652,
-0.04743105173110962,
0.02296482026576996,
0.01563689298927784,
-0.042858563363552094,
0.007153046317398548,
0.022145865485072136,
0.003730077063664794,
0.06285467743873596,
-0.030267154797911644,
-0.004239790141582489,
0.0013542589731514454,
0.07343282550573349,
-0.031973306089639664,
0.014945900067687035,
-0.009324125945568085,
0.03886616602540016,
-0.036443427205085754,
-0.0025890872348099947,
-0.05568883568048477,
0.022589465603232384,
-0.013017947785556316,
-0.03630693629384041,
-0.03151264414191246,
-0.022435912862420082,
0.006641200743615627,
-0.011345917358994484,
0.004964905325323343,
0.006317031569778919,
0.03760361298918724,
-0.05534760281443596,
-0.069542795419693,
0.005856370087713003,
0.05432391166687012,
-0.003945478703826666,
0.007251150440424681,
0.048113513737916946,
-0.026701293885707855,
0.004280311521142721,
-0.01458760816603899,
-0.0362728126347065,
-0.0503656379878521,
0.031615015119314194,
-0.029789431020617485,
0.017624560743570328,
0.05091160535812378,
0.050024405121803284,
0.02335723489522934,
0.025797033682465553,
-0.052754249423742294,
0.01300088595598936,
-0.01389661617577076,
-0.032160982489585876,
-0.040401704609394073,
-0.039173271507024765,
-0.022811265662312508,
-0.011908947490155697,
0.0008642731118015945,
0.013188562355935574,
-0.02723020128905773,
-0.02617238648235798,
0.0644584596157074,
0.04480357840657234,
0.03900265693664551,
-0.06227458268404007,
0.011926009319722652,
0.0013041406637057662,
-0.014442585408687592,
-0.01975725218653679,
-0.030420707538723946,
-0.0006355419754981995,
0.016925036907196045,
-0.009503272362053394,
-0.012233116663992405,
-0.011900417506694794,
0.029704123735427856,
0.06640347838401794,
-0.005276278126984835,
0.0062786429189145565,
0.04135714843869209,
0.05684901773929596,
0.048557113856077194,
-0.012036909349262714,
-0.024790402501821518,
-0.021088050678372383,
-0.03088136948645115,
0.00631276611238718,
0.044394101947546005,
0.07275036722421646,
0.020951559767127037,
0.05507461726665497,
-0.019143037497997284,
0.014894715510308743,
-0.024534480646252632,
0.007780057843774557,
-0.030540138483047485,
0.01674589142203331,
0.06763190776109695,
0.008880526758730412,
0.06432196497917175,
0.025643479079008102,
-0.019586635753512383,
0.05285662040114403,
0.038422565907239914,
-0.03743299841880798,
-0.004090501926839352,
-0.09465736895799637,
0.019091852009296417,
-0.030966676771640778,
-0.004768697544932365,
-0.04159601032733917,
-0.04221022501587868,
-0.03890028968453407,
-0.05022914335131645,
-0.025080449879169464,
0.014485239051282406,
-0.0560641884803772,
-0.04234671592712402,
0.0026466697454452515,
0.04149363934993744,
0.04746517539024353,
0.01074876356869936,
0.0160378385335207,
-0.026104141026735306,
-0.01395633164793253,
0.036443427205085754,
0.010484309867024422,
0.045827269554138184,
-0.004555428400635719,
-0.0003220363869331777,
0.02767380140721798,
-0.00035242721787653863,
-0.06916744261980057,
0.02941407822072506,
-0.002947379369288683,
-0.04961492866277695,
-0.022981880232691765,
0.04951256141066551,
-0.060704924166202545,
-0.048318251967430115,
-0.013504200614988804,
-0.02228235825896263,
0.012386670336127281,
0.022350603714585304,
-0.022777142003178596,
-0.001411841600202024,
-0.0112435482442379,
-0.048318251967430115,
0.04872772842645645,
-0.035965703427791595,
-0.03780835121870041,
-0.040162842720746994,
0.0029025927651673555,
-0.016191391274333,
0.024312680587172508,
0.0007672357023693621,
-0.0313420295715332,
-0.005297604948282242,
-0.029106970876455307,
-0.044394101947546005,
0.018784744665026665,
-0.031103169545531273,
-0.002203070092946291,
0.06947454810142517,
-0.00821512658149004,
-0.0099724642932415,
-0.0026829256676137447,
0.05319784954190254,
0.007003758102655411,
0.05391443520784378,
0.08435220271348953,
-0.020576205104589462,
0.06981577724218369,
0.01334211602807045,
0.010066302493214607,
-0.006479116156697273,
-0.019620759412646294,
-0.04180074855685234,
0.02110511250793934,
0.008407069370150566,
-0.027656739577651024,
0.005992862395942211,
-0.07848303765058517,
-0.014357277192175388,
-0.040879424661397934,
0.04579314589500427,
0.010671987198293209,
0.03432779759168625,
0.02509750984609127,
-0.042176101356744766,
-0.04848886653780937,
-0.0028642043471336365,
-0.012181932106614113,
0.09042610973119736,
0.056268926709890366,
0.00045319690252654254,
-0.05531347915530205,
0.024636849761009216,
-0.026752479374408722,
-0.013990454375743866,
-0.023800835013389587,
-0.020013174042105675,
-0.04726043716073036,
0.002578423824161291,
0.03589745983481407,
-0.007374846376478672,
-0.023732587695121765,
0.04050407186150551,
-0.0034805522300302982,
0.02596764825284481,
-0.03565859794616699,
0.007566788699477911,
-0.005698550958186388,
0.056268926709890366,
0.01015161070972681,
-0.04521305486559868,
-0.020217912271618843,
-0.0202349741011858,
0.021702265366911888,
0.049546681344509125,
-0.06886033713817596,
-0.018426451832056046,
-0.008599011227488518,
0.012992355041205883,
-0.0269913412630558,
-0.024568602442741394,
-0.0266842320561409,
-0.002471789252012968,
0.02494395710527897,
0.0026338736061006784,
0.005668693222105503,
-0.07145369052886963,
0.006103762425482273,
0.04801114648580551,
0.040913548320531845,
-0.05384618788957596,
-0.008599011227488518,
-0.011670086532831192,
-0.010399002581834793,
-0.06814374774694443,
0.014596139080822468,
0.034071873873472214,
0.04070881009101868,
0.002580556320026517,
-0.017163898795843124,
-0.05022914335131645,
-0.029823554679751396,
-0.028868108987808228,
-0.02746906317770481,
0.013128846883773804,
-0.041903119534254074,
0.0028002236504107714,
0.01871649920940399,
0.05012677609920502,
-0.0046577975153923035,
0.010595209896564484,
0.04234671592712402,
-0.002815152518451214,
0.021804634481668472,
-0.04221022501587868,
-0.045383669435977936,
0.072545625269413,
-0.027861477807164192,
0.021514588966965675,
-0.03702352195978165,
-0.07418353110551834,
-0.0035274713300168514,
0.05579120293259621,
0.01951839029788971,
0.005822246894240379,
0.012395201250910759,
0.029158154502511024,
0.009290003217756748,
-0.04490594565868378,
0.03930976614356041,
-0.029072847217321396,
-0.020166728645563126,
-0.008744033984839916,
-0.046339116990566254,
-0.05831630900502205,
0.038422565907239914,
-0.014886184595525265,
-0.049546681344509125,
-0.01213074754923582,
0.007114658132195473,
0.026257693767547607,
-0.017675744369626045,
0.0046577975153923035,
-0.05589357390999794,
-0.018784744665026665,
0.008752564899623394,
-0.038183704018592834,
0.03272401541471481,
-0.05858929455280304,
-0.006534566171467304,
-0.030830183997750282,
-0.009017018601298332,
0.01458760816603899,
0.013555385172367096,
-0.01987668313086033,
-0.02093449793756008,
0.0761626735329628,
0.08298727869987488,
0.008381476625800133,
-0.03171738609671593,
0.039173271507024765,
-0.026786603033542633,
0.06892858445644379,
0.030028292909264565,
-0.021122174337506294,
-0.0629570484161377,
-0.0635712593793869,
0.03541973605751991,
0.051764681935310364,
-0.02113923616707325,
0.058452803641557693,
0.0012593541759997606,
0.05579120293259621,
0.021429281681776047,
-0.02054208144545555,
0.051764681935310364,
-0.0002544567105360329,
-0.06671058386564255,
-0.004380547907203436,
-0.0016784280305728316,
0.028987539932131767,
-0.0012817474780604243,
0.018972421064972878,
-0.005796654615551233,
0.058930523693561554,
-0.024363864213228226,
0.024790402501821518,
0.012941170483827591,
0.03954862803220749,
0.05381206423044205,
0.038934409618377686
]
|
29,385 | flask.sansio.app | redirect | Create a redirect response object.
This is called by :func:`flask.redirect`, and can be called
directly as well.
:param location: The URL to redirect to.
:param code: The status code for the redirect.
.. versionadded:: 2.2
Moved from ``flask.redirect``, which calls this method.
| def redirect(self, location: str, code: int = 302) -> BaseResponse:
"""Create a redirect response object.
This is called by :func:`flask.redirect`, and can be called
directly as well.
:param location: The URL to redirect to.
:param code: The status code for the redirect.
.. versionadded:: 2.2
Moved from ``flask.redirect``, which calls this method.
"""
return _wz_redirect(
location,
code=code,
Response=self.response_class, # type: ignore[arg-type]
)
| (self, location: 'str', code: 'int' = 302) -> 'BaseResponse' | [
0.003937574103474617,
-0.033833298832178116,
-0.0343577079474926,
0.0053299651481211185,
0.005112969316542149,
-0.043037548661231995,
-0.04875177890062332,
0.10741304606199265,
-0.003150963457301259,
-0.03490019589662552,
-0.0022615056950598955,
-0.00747732212767005,
0.02584061212837696,
0.025714032351970673,
0.04705197736620903,
-0.013589377515017986,
0.0019314908422529697,
-0.01777559332549572,
-0.014077618718147278,
-0.05960157886147499,
0.060216404497623444,
-0.0026107337325811386,
0.018426580354571342,
-0.01613003946840763,
-0.04929426684975624,
0.05377885326743126,
-0.05291086807847023,
0.03395988047122955,
-0.011762994341552258,
-0.010958299972116947,
-0.014149950817227364,
-0.03971027582883835,
0.05978241190314293,
0.0023620922584086657,
0.03692549467086792,
0.006600296590477228,
-0.07905889302492142,
-0.03603942692279816,
-0.023797232657670975,
0.006107534747570753,
-0.04444802179932594,
0.004588562063872814,
-0.05605731159448624,
-0.009638241492211819,
0.06079505756497383,
0.07178952544927597,
-0.05862509831786156,
-0.028245652094483376,
0.02276650257408619,
0.01938498020172119,
-0.017043231055140495,
-0.021880434826016426,
0.015415760688483715,
-0.04849861562252045,
0.035533104091882706,
-0.001851247507147491,
0.002067113295197487,
0.02620227262377739,
-0.028155237436294556,
-0.008187079802155495,
0.03399604558944702,
-0.004669935908168554,
-0.04050592705607414,
-0.007942959666252136,
0.05645513907074928,
-0.0016127779381349683,
0.007924876175820827,
-0.011148171499371529,
0.05150039494037628,
0.028607312589883804,
-0.009055064059793949,
-0.013101136311888695,
-0.01159120537340641,
0.016184289008378983,
0.08571343868970871,
-0.015325346030294895,
0.020741205662488937,
-0.013670750893652439,
0.08397746831178665,
-0.02602144330739975,
0.011545998044312,
-0.043905533850193024,
0.03710632398724556,
-0.005574085749685764,
-0.027522331103682518,
0.030270949006080627,
-0.025804447010159492,
-0.049185771495103836,
-0.0413377471268177,
0.0352618582546711,
-0.02721492014825344,
0.012359732761979103,
-0.010840760543942451,
-0.021410277113318443,
0.055587153881788254,
-0.01938498020172119,
-0.016003457829356194,
0.027431916445493698,
0.04965592920780182,
0.030542192980647087,
0.03009011782705784,
0.06813675910234451,
-0.016654446721076965,
-0.005745874252170324,
0.03999960422515869,
-0.018535079434514046,
0.0032707632053643465,
-0.030270949006080627,
-0.006830854807049036,
0.005881497170776129,
0.017106521874666214,
-0.043399207293987274,
0.029294466599822044,
0.0058272480964660645,
-0.06517114490270615,
0.01646457426249981,
0.02500879392027855,
-0.03119318187236786,
0.0022355113178491592,
-0.003444812260568142,
-0.021012449637055397,
-0.054683003574609756,
-0.0023914773482829332,
-0.005461066961288452,
-0.005809165071696043,
0.06025256961584091,
0.018110128119587898,
-0.0431460477411747,
0.007314574904739857,
-0.016175247728824615,
0.0172059778124094,
0.020578458905220032,
0.00028989315615035594,
0.0033837819937616587,
-0.004050592891871929,
0.06524347513914108,
-0.022296342998743057,
0.0588059276342392,
-0.03743181750178337,
0.06694328039884567,
-0.0002021623367909342,
0.03585859760642052,
0.04914960265159607,
0.04072292521595955,
0.01860741153359413,
0.05273003876209259,
-0.004972826223820448,
0.0384083017706871,
0.007124703377485275,
0.013960079289972782,
0.057286955416202545,
-0.010072233155369759,
0.14061343669891357,
0.020144466310739517,
-0.0421333983540535,
-0.0055379197001457214,
-0.02088586986064911,
-0.08332648128271103,
-0.00028551366995088756,
-0.012694268487393856,
0.016889525577425957,
-0.09359762817621231,
0.05631047487258911,
-0.010289229452610016,
0.035533104091882706,
-0.021952766925096512,
0.00170093250926584,
0.04614782705903053,
0.021319860592484474,
-0.03320039436221123,
0.029656127095222473,
-0.010244022123515606,
0.07204268872737885,
-0.004475543275475502,
0.00793391838669777,
0.03325464576482773,
0.04947509989142418,
-0.05942074954509735,
-0.030668774619698524,
0.006577692460268736,
0.08072252571582794,
-0.011347085237503052,
-0.031265512108802795,
0.001993651269003749,
0.004950222093611956,
-0.01998171955347061,
-0.04137391224503517,
0.034285373985767365,
0.04231422767043114,
0.04622015729546547,
-0.0068715414963662624,
0.012857016175985336,
0.04752213507890701,
0.014882312156260014,
-0.032911065965890884,
0.005958349909633398,
0.02350790426135063,
-0.0295114628970623,
0.08093952387571335,
0.025460869073867798,
-0.027865909039974213,
0.02954762801527977,
0.0384083017706871,
0.002058071782812476,
0.01702514849603176,
0.05150039494037628,
-0.008838067762553692,
-0.005022554192692041,
-0.05157272517681122,
-0.019131818786263466,
-0.019674308598041534,
0.0005306231323629618,
-0.05442984029650688,
-0.056925296783447266,
-0.008928483352065086,
-0.05942074954509735,
0.008340785279870033,
-0.05612964555621147,
0.00717895245179534,
-0.00002972040601889603,
0.05424901098012924,
-0.04397786408662796,
-0.006487277802079916,
-0.037901975214481354,
0.017974505200982094,
-0.007974605076014996,
-0.0014907176373526454,
-0.09685257077217102,
-0.0117991603910923,
0.0235983207821846,
-0.06057806313037872,
-0.02294733189046383,
0.04470118507742882,
-0.00445972103625536,
0.060939721763134,
-0.06994505971670151,
-0.020488044247031212,
0.006451111752539873,
-0.06216936558485031,
0.014032411389052868,
-0.01741393283009529,
-0.005913142114877701,
0.002323665888980031,
0.07674426585435867,
0.01184436772018671,
0.008146393112838268,
-0.024864129722118378,
0.026238437741994858,
0.01163641270250082,
-0.03609367460012436,
-0.03654574975371361,
-0.01486422959715128,
-0.010542390868067741,
0.008657238446176052,
0.03164525702595711,
0.07623794674873352,
-0.018055878579616547,
-0.02500879392027855,
-0.034068379551172256,
0.06976422667503357,
0.018987154588103294,
0.025804447010159492,
0.03721482306718826,
-0.04408636316657066,
-0.03797430917620659,
-0.05909525603055954,
-0.027016008272767067,
0.02043379470705986,
0.01342663075774908,
0.061916206032037735,
0.14379604160785675,
0.015108349733054638,
-0.05605731159448624,
0.018092045560479164,
0.01493656076490879,
-0.021319860592484474,
0.04101225361227989,
-0.05634663999080658,
0.02725108712911606,
-0.06911323964595795,
0.013417588546872139,
-0.01706131361424923,
-0.03386946767568588,
0.009285622276365757,
-0.02808290533721447,
0.026961758732795715,
-0.03587668016552925,
0.08571343868970871,
-0.000048739344492787495,
-0.06412233412265778,
0.010551433078944683,
-0.012820850126445293,
0.011482707224786282,
-0.004706101957708597,
0.014484485611319542,
0.008114747703075409,
-0.06831758469343185,
-0.011446541175246239,
-0.0014748950488865376,
-0.04169940575957298,
-0.004651852883398533,
-0.024158893153071404,
0.09670790284872055,
0.059890907257795334,
-0.01998171955347061,
-0.020686956122517586,
0.012649061158299446,
-0.009602075442671776,
-0.035026777535676956,
-0.01565084047615528,
-0.015976333990693092,
0.03999960422515869,
-0.04484584927558899,
-0.008706966415047646,
-0.02249525673687458,
-0.0421333983540535,
-0.01825479231774807,
-0.0028910201508551836,
-0.007658151909708977,
0.026545848697423935,
0.00408449862152338,
-0.03971027582883835,
0.010687055066227913,
0.03696165978908539,
0.035298023372888565,
-0.04864327982068062,
0.058154940605163574,
0.0031916501466184855,
0.04072292521595955,
0.003137401072308421,
-0.02867964468896389,
0.024520553648471832,
0.02629268728196621,
-0.022025099024176598,
0.004391909576952457,
-0.06994505971670151,
-0.0016172986943274736,
-0.05005375295877457,
0.0005235594580881298,
-0.021645355969667435,
-0.0540681816637516,
-0.01197998970746994,
0.04860711470246315,
0.03193458542227745,
0.0020558114629238844,
0.02784782648086548,
-0.04755830019712448,
-0.0393124520778656,
0.016573073342442513,
-0.08159051090478897,
-0.0323324091732502,
-0.02960187755525112,
-0.0559849813580513,
-0.018679743632674217,
-0.031591009348630905,
0.008173517882823944,
0.04141007736325264,
0.015289179980754852,
-0.0290051382035017,
-0.025912944227457047,
-0.005357089918106794,
0.004009906202554703,
-0.029059387743473053,
-0.009511659853160381,
0.0017461400711908937,
0.006301926914602518,
-0.009118354879319668,
-0.04477351903915405,
-0.05258537456393242,
0.06712411344051361,
0.023833399638533592,
-0.0061256177723407745,
0.009683448821306229,
0.005424900911748409,
0.024791797623038292,
-0.019710473716259003,
0.011464624665677547,
-0.0010380774037912488,
0.008743132464587688,
0.023091996088624,
-0.003286585910245776,
0.00658673420548439,
-0.005700666923075914,
0.007545133121311665,
0.030994268134236336,
-0.026654347777366638,
0.040071938186883926,
-0.008521615527570248,
-0.0715363621711731,
0.011907657608389854,
-0.02918596751987934,
-0.06647311896085739,
-0.011193379759788513,
-0.009999901056289673,
0.010072233155369759,
-0.05858893319964409,
-0.06835375726222992,
0.017730385065078735,
0.02748616598546505,
-0.002701148623600602,
0.02231442742049694,
0.012007114477455616,
-0.018842490389943123,
0.006039723288267851,
0.030017785727977753,
-0.026039525866508484,
0.01830904185771942,
-0.02213359624147415,
0.0005619858275167644,
-0.04036126285791397,
0.0022196886129677296,
0.022368675097823143,
-0.015913043171167374,
0.04075909033417702,
0.04260355606675148,
0.03779347613453865,
-0.004328619223088026,
0.0381913036108017,
-0.0015133214183151722,
-0.0018568984232842922,
0.013001679442822933,
-0.008693404495716095,
0.08477312326431274,
-0.0030831522308290005,
-0.037901975214481354,
0.02327282540500164,
0.029945453628897667,
-0.0058588930405676365,
-0.04502667859196663,
-0.011573122814297676,
0.039059288799762726,
-0.06922173500061035,
-0.07544229179620743,
0.029981620609760284,
0.05030691623687744,
0.04083142429590225,
0.016781028360128403,
0.025316204875707626,
-0.00829105731099844,
0.021934684365987778,
0.06531581282615662,
-0.06647311896085739,
-0.006347134243696928,
0.04943893104791641,
0.024791797623038292,
-0.027739327400922775,
-0.04343537613749504,
-0.10220513492822647,
-0.00036505062598735094,
0.0008499011746607721,
0.0826754942536354,
-0.025081126019358635,
0.009430286474525928,
0.021645355969667435,
-0.0619523711502552,
0.030343281105160713,
-0.06929407268762589,
-0.05291086807847023,
-0.018806323409080505,
-0.005881497170776129,
0.026744762435555458,
-0.020813537761569023,
0.009692490100860596,
-0.03743181750178337,
-0.012956472113728523,
0.038552965968847275,
-0.023290909826755524,
-0.012866057455539703,
-0.01878824084997177,
-0.032965317368507385,
0.007183473091572523,
-0.006772085092961788,
-0.016898566856980324,
0.0077530876733362675,
0.0093217883259058,
0.049185771495103836,
-0.01729639247059822,
-0.015379594638943672,
-0.0033069292549043894,
0.031952667981386185,
-0.04791995882987976,
0.02679901197552681,
0.010153606534004211,
-0.010804594494402409,
-0.010361561551690102,
0.01942114531993866,
0.05826343968510628,
0.016003457829356194,
0.06647311896085739,
0.0716448575258255,
0.035804346203804016,
0.05895059183239937,
0.003566872561350465,
-0.015072183683514595,
-0.03184416890144348,
0.0669071152806282,
-0.02381531521677971,
-0.08325415104627609,
-0.044231027364730835,
-0.03551501780748367,
0.0422418974339962,
-0.045279841870069504,
-0.04101225361227989,
0.012549604289233685,
0.009864278137683868,
-0.050415415316820145,
-0.0182186271995306,
-0.01792025752365589,
-0.034014131873846054,
0.020723123103380203,
0.009032460860908031,
0.05150039494037628,
0.037901975214481354,
-0.050560079514980316,
-0.04231422767043114,
0.003266242565587163,
-0.0095749506726861,
0.025478951632976532,
-0.004577260464429855,
0.0009001945145428181,
-0.021048616617918015,
0.01214273739606142,
0.0294029638171196,
0.00525763351470232,
0.006202470511198044,
-0.008354348130524158,
0.059167589992284775,
-0.000004463358436623821,
0.05605731159448624,
-0.0019043663050979376,
-0.08086719363927841,
0.03826363757252693,
0.00323007651604712,
0.009294663555920124,
0.06802826374769211,
0.028390316292643547,
-0.061771541833877563,
-0.014439278282225132,
-0.01051526702940464,
-0.014629149809479713,
0.0067313979379832745,
-0.013363339938223362,
-0.03482786566019058,
0.049402765929698944,
-0.045243676751852036,
-0.05594881251454353,
-0.03596709296107292,
-0.06817292422056198,
-0.06943873316049576,
0.00680373003706336,
-0.005949308164417744,
-0.03482786566019058,
0.017856966704130173,
0.02034338004887104,
-0.04723280668258667,
0.057612448930740356,
0.0442671924829483,
-0.0031328804325312376,
0.007739525754004717,
-0.007115662097930908,
-0.048209287226200104,
0.022748418152332306,
0.004170392639935017,
-0.019764723256230354,
0.00014367511903401464,
0.03372480347752571,
0.06256719678640366,
-0.046654149889945984,
-0.050560079514980316,
-0.015614673495292664,
0.05898675695061684,
0.018146295100450516,
-0.020451877266168594,
0.005696146283298731,
0.015036017633974552,
0.03412262722849846,
0.04744980111718178,
-0.02121136337518692,
0.030469860881567,
0.009846195578575134,
-0.022838834673166275,
0.05222371593117714,
-0.03032519668340683,
-0.06748577207326889,
-0.032278161495923996,
-0.020650791004300117,
-0.034882113337516785,
0.014819021336734295,
-0.014466403052210808,
-0.07139170169830322,
-0.030885770916938782,
0.032458990812301636,
-0.022874999791383743,
-0.07811857759952545,
0.01607578992843628,
-0.03019861690700054,
-0.030759189277887344,
-0.045930828899145126,
-0.005112969316542149,
0.0794205516576767,
0.023290909826755524,
0.025912944227457047,
-0.002780261915177107,
0.029149802401661873,
0.037721145898103714,
-0.006392342038452625,
-0.033562056720256805,
-0.026762844994664192,
-0.07522529363632202,
-0.014629149809479713,
-0.022784585133194923,
-0.01780271716415882,
0.008856151252985,
0.033598221838474274,
-0.04430335760116577,
-0.01896907016634941,
-0.06307351589202881,
0.01708843931555748,
-0.023308992385864258,
0.03283873572945595,
0.03265790641307831,
-0.08904071152210236,
-0.01768517680466175,
0.08571343868970871,
0.01223315205425024,
0.018236709758639336,
0.04014426842331886,
0.04039743170142174,
0.019258398562669754,
0.03665424883365631,
-0.028155237436294556,
0.03985494002699852,
0.05432134494185448,
-0.05638280510902405,
-0.022187845781445503,
-0.0031600049696862698,
-0.04151857644319534,
0.015017935074865818,
0.04155474156141281,
-0.009773863479495049,
0.012911264784634113,
0.01538863591849804,
-0.010786511935293674,
0.016265662387013435,
-0.009990859776735306,
0.015153557062149048,
0.03381521627306938,
-0.01905948668718338,
0.020144466310739517,
-0.06755810230970383,
-0.014484485611319542,
0.0696195662021637,
0.016148122027516365,
0.024990711361169815,
-0.01947539485991001,
-0.007965562865138054,
-0.03312806412577629,
0.02043379470705986,
0.007838982157409191,
0.029746541753411293,
0.054212845861911774,
-0.022874999791383743,
0.08014387637376785,
-0.03576818108558655,
-0.009737697429955006,
0.0091093135997653,
0.041844069957733154,
-0.0046202074736356735,
0.022658003494143486,
-0.03775731101632118,
0.01685336045920849,
-0.03707015886902809,
0.0068805827759206295,
0.036129843443632126,
-0.009556867182254791,
-0.031175099313259125,
-0.0052757165394723415,
-0.028733892366290092,
0.0008318181498907506,
-0.014638192020356655,
-0.04600316286087036,
0.004918577149510384,
-0.04567766934633255,
0.018498912453651428,
0.024068478494882584,
0.06513497978448868,
0.008752173744142056,
-0.027648912742733955,
-0.03587668016552925,
-0.018001630902290344,
0.08115652203559875,
-0.029204051941633224,
0.0006103013874962926,
0.007716922089457512,
-0.04669031500816345,
0.06339900940656662,
-0.0028209486044943333,
-0.07016205787658691,
0.0016885005170479417,
0.023091996088624,
0.03858913108706474,
0.0010635067010298371,
-0.0005509665352292359,
0.014466403052210808,
0.004990909248590469,
-0.055044662207365036,
0.03985494002699852,
-0.024303557351231575,
-0.013978161849081516,
0.00991852767765522,
-0.0009482275345362723,
0.031771838665008545,
0.05631047487258911,
0.01679006963968277,
-0.002881978638470173,
-0.020488044247031212,
-0.013978161849081516,
-0.003322751959785819,
-0.017947381362318993,
-0.04777529463171959,
-0.040433596819639206,
-0.034068379551172256,
0.04282055422663689,
-0.009502618573606014,
0.04101225361227989,
-0.02354407124221325,
-0.005198863800615072,
-0.04705197736620903,
-0.047160472720861435,
-0.012332608923316002,
-0.024430138990283012,
-0.011989031918346882,
-0.03495444729924202,
-0.004009906202554703,
0.022477174177765846,
0.007983646355569363,
-0.03256748989224434,
0.032549407333135605,
-0.030614525079727173,
-0.005216946825385094,
0.041988734155893326,
0.04448419064283371,
-0.042675890028476715,
-0.059167589992284775,
0.009064105339348316,
-0.011817242950201035,
0.018770158290863037,
-0.03490019589662552,
0.002045639790594578,
0.04462885484099388,
0.07117470353841782,
-0.01840849779546261,
0.009791946969926357,
0.013752124272286892,
0.0018275135662406683,
-0.01660923846065998,
-0.01690760813653469,
0.04329071193933487,
0.03336314111948013,
0.029258299618959427,
-0.0077214427292346954,
0.016627322882413864,
0.010958299972116947,
0.01873399131000042,
0.013797331601381302,
0.08600276708602905,
-0.011555039323866367,
0.018444664776325226
]
|
29,386 | flask.sansio.app | register_blueprint | Register a :class:`~flask.Blueprint` on the application. Keyword
arguments passed to this method will override the defaults set on the
blueprint.
Calls the blueprint's :meth:`~flask.Blueprint.register` method after
recording the blueprint in the application's :attr:`blueprints`.
:param blueprint: The blueprint to register.
:param url_prefix: Blueprint routes will be prefixed with this.
:param subdomain: Blueprint routes will match on this subdomain.
:param url_defaults: Blueprint routes will use these default values for
view arguments.
:param options: Additional keyword arguments are passed to
:class:`~flask.blueprints.BlueprintSetupState`. They can be
accessed in :meth:`~flask.Blueprint.record` callbacks.
.. versionchanged:: 2.0.1
The ``name`` option can be used to change the (pre-dotted)
name the blueprint is registered with. This allows the same
blueprint to be registered multiple times with unique names
for ``url_for``.
.. versionadded:: 0.7
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, blueprint: 'Blueprint', **options: 't.Any') -> 'None' | [
0.05359918996691704,
-0.054875362664461136,
-0.036464717239141464,
-0.052510689944028854,
0.053936999291181564,
0.003920003771781921,
-0.010753619484603405,
0.03759074956178665,
-0.047856420278549194,
-0.05476275831460953,
-0.0050389994867146015,
0.00211483146995306,
-0.007830624468624592,
0.010734851472079754,
0.02368423528969288,
0.03575156256556511,
0.06497212499380112,
0.0356014221906662,
0.07529409974813461,
-0.06744939833879471,
0.040612272918224335,
0.0011840944644063711,
0.00034396801493130624,
0.021957650780677795,
-0.02952084317803383,
0.0011201687157154083,
-0.02282094396650791,
-0.008792444132268429,
0.06572281569242477,
-0.048006556928157806,
-0.0071174693293869495,
-0.04830683395266533,
0.02875138632953167,
0.04729340225458145,
0.06061813235282898,
-0.023271357640624046,
-0.01243328582495451,
-0.00016304025484714657,
-0.0050389994867146015,
-0.024003278464078903,
0.01970558427274227,
0.0161961130797863,
-0.02255820296704769,
-0.054462481290102005,
0.036971431225538254,
0.02796316333115101,
-0.033743467181921005,
0.040349531918764114,
-0.018100986257195473,
0.03548882156610489,
0.0031528936233371496,
-0.03327428922057152,
0.026649458333849907,
0.04766874760389328,
0.013521784916520119,
0.027362611144781113,
-0.017613038420677185,
0.02603013999760151,
-0.004783296026289463,
-0.04654271528124809,
-0.012292531318962574,
0.05907921865582466,
-0.011748282238841057,
0.015098231844604015,
0.03836020454764366,
-0.010021697729825974,
-0.06193183735013008,
0.01171074714511633,
0.011907803826034069,
-0.025054244324564934,
0.011025743559002876,
0.00696263974532485,
-0.020362436771392822,
0.01347486674785614,
0.047481074929237366,
-0.04969560727477074,
0.019536679610610008,
-0.09316049516201019,
0.03785349056124687,
-0.05754030868411064,
0.029595911502838135,
-0.032711271196603775,
-0.053036175668239594,
0.010293821804225445,
0.06895077973604202,
0.03443785384297371,
0.039824049919843674,
0.012677259743213654,
-0.037252940237522125,
0.046167369931936264,
-0.053674258291721344,
0.0006052429671399295,
-0.011110196821391582,
0.029145497828722,
0.024791501462459564,
-0.03340565785765648,
0.017810095101594925,
-0.003990381024777889,
-0.0020550109911710024,
-0.029145497828722,
0.031134823337197304,
0.03394990786910057,
-0.0035141627304255962,
0.02435985580086708,
0.007877541705965996,
0.03351826220750809,
-0.0055644819512963295,
0.025842467322945595,
0.00977772381156683,
-0.017040638253092766,
-0.035695258527994156,
-0.03261743485927582,
-0.01858893409371376,
-0.05915428698062897,
-0.025035476312041283,
0.007985454052686691,
0.012968151830136776,
-0.007197230122983456,
0.07739602774381638,
-0.04226378723978996,
0.009402379393577576,
-0.031772907823324203,
0.02835727483034134,
-0.05904168635606766,
0.04913259297609329,
0.07668287307024002,
-0.03500087186694145,
0.028075765818357468,
0.02394697815179825,
0.008154358714818954,
-0.0330490805208683,
0.0686505064368248,
-0.055100567638874054,
0.050070952624082565,
0.009327310137450695,
0.017857013270258904,
-0.06028032302856445,
0.02927686832845211,
-0.021957650780677795,
0.09225966781377792,
-0.0018051723018288612,
-0.018729688599705696,
-0.0381912998855114,
-0.013071371242403984,
-0.0004495336615946144,
-0.018907977268099785,
0.005156294908374548,
0.003368716686964035,
-0.02848864533007145,
0.07199107110500336,
0.039185963571071625,
-0.004095946438610554,
-0.04350242391228676,
0.039073359221220016,
0.0005451291799545288,
0.03989911824464798,
-0.02253943495452404,
-0.0014779188204556704,
0.01993079110980034,
-0.08580374717712402,
-0.04233885556459427,
-0.03956130892038345,
-0.022051487118005753,
-0.08565361052751541,
-0.010218753479421139,
0.033105380833148956,
-0.003181044477969408,
0.01108204573392868,
0.016533924266695976,
0.05543837696313858,
-0.0466177836060524,
-0.002463198034092784,
-0.00031786985346116126,
0.0014966861344873905,
0.054087139666080475,
0.04170076921582222,
0.006789043080061674,
-0.029821118339896202,
-0.0019424076890572906,
-0.028826454654335976,
-0.020099695771932602,
-0.06317047774791718,
-0.06534747034311295,
0.013578086160123348,
0.014854257926344872,
0.05025862529873848,
-0.04042460024356842,
0.04158816859126091,
0.03083454817533493,
0.04079994559288025,
-0.0648219883441925,
0.04158816859126091,
0.07371765375137329,
0.01819482259452343,
-0.02499794214963913,
-0.00011861472012242302,
-0.02927686832845211,
-0.0032608050387352705,
0.004583894275128841,
-0.04297694191336632,
-0.05555098131299019,
0.043052010238170624,
0.012376983650028706,
-0.035151008516550064,
0.016974953934550285,
-0.0016808394575491548,
0.009566592052578926,
0.0072535318322479725,
-0.044891197234392166,
-0.037496913224458694,
-0.036727458238601685,
0.0023271357640624046,
0.024040812626481056,
-0.017969615757465363,
0.00641369866207242,
-0.07724589109420776,
0.03265497088432312,
-0.005146910902112722,
0.0041381726041436195,
0.006427774205803871,
0.04556681960821152,
0.055250708013772964,
0.01841064542531967,
-0.006470000371336937,
-0.015229602344334126,
-0.006713974289596081,
0.030008791014552116,
-0.007258223835378885,
-0.015558028593659401,
-0.01858893409371376,
-0.04353995993733406,
-0.0246038306504488,
0.05866634100675583,
0.030909616500139236,
0.04481612890958786,
-0.04466599225997925,
0.04965807497501373,
0.032579898834228516,
-0.017594272270798683,
0.0056160916574299335,
0.035826630890369415,
0.027268776670098305,
0.022858478128910065,
-0.03443785384297371,
0.0031833902467042208,
0.011635678820312023,
0.0014028499135747552,
-0.008754909969866276,
-0.0213946346193552,
-0.0317353755235672,
0.003500087186694145,
-0.026011371985077858,
0.0047997175715863705,
-0.004870094358921051,
-0.05115945264697075,
-0.028282206505537033,
-0.008806519210338593,
-0.035545121878385544,
-0.01339979749172926,
0.012104859575629234,
-0.008895663544535637,
-0.002564071910455823,
-0.036577317863702774,
0.07352998107671738,
-0.007276990916579962,
-0.02435985580086708,
0.0033429116010665894,
-0.023515330627560616,
-0.032054416835308075,
-0.015454808250069618,
0.04804409295320511,
0.06324554234743118,
-0.020174765959382057,
0.013155823573470116,
-0.054612621665000916,
-0.014037882909178734,
-0.024434925988316536,
0.010678550228476524,
-0.018861059099435806,
-0.013775141909718513,
0.013596853241324425,
-0.05093424394726753,
0.04316461458802223,
0.047856420278549194,
-0.008478092961013317,
-0.009674503467977047,
-0.04338981956243515,
0.05806579068303108,
-0.0070658596232533455,
-0.0036713380832225084,
0.02306491695344448,
0.017303379252552986,
0.03004632517695427,
-0.01295876782387495,
-0.012011023238301277,
0.038923222571611404,
-0.0751064270734787,
-0.013305961154401302,
0.020756550133228302,
-0.0764952003955841,
0.028695084154605865,
-0.013071371242403984,
0.03274880349636078,
0.032429762184619904,
0.0006679958896711469,
0.008412407711148262,
0.03562019020318985,
-0.025955069810152054,
-0.019536679610610008,
0.011579376645386219,
0.00991847738623619,
-0.012292531318962574,
-0.010218753479421139,
-0.011663829907774925,
0.0049873897805809975,
0.01795084960758686,
-0.03509470820426941,
-0.04894492030143738,
0.004365725442767143,
0.062382251024246216,
-0.04729340225458145,
0.028657549992203712,
0.040875013917684555,
0.008093365468084812,
0.030665643513202667,
0.0002095184609061107,
0.06320800632238388,
-0.008543778210878372,
0.001734795281663537,
0.02242683246731758,
-0.052285484969615936,
0.03162277117371559,
0.004912320990115404,
0.005067150574177504,
-0.009974779561161995,
0.004452523775398731,
-0.03002755716443062,
-0.06028032302856445,
-0.056939754635095596,
-0.06200690567493439,
0.05780304968357086,
-0.007844699546694756,
-0.0033311822917312384,
-0.006010203156620264,
-0.01334349624812603,
-0.011832734569907188,
0.00785877462476492,
0.023083684965968132,
0.049432866275310516,
-0.02668699249625206,
0.06763707101345062,
-0.034907035529613495,
0.014976244419813156,
0.0621945783495903,
0.017200160771608353,
-0.08242564648389816,
-0.01970558427274227,
-0.019743118435144424,
0.017087556421756744,
0.003952846396714449,
-0.008684532716870308,
0.021413402631878853,
-0.05119698494672775,
0.01624303124845028,
0.030534273013472557,
-0.025711096823215485,
0.012198694981634617,
-0.025861233472824097,
0.0110069764778018,
0.021413402631878853,
0.038510341197252274,
-0.035939231514930725,
0.007797781378030777,
-0.02512931264936924,
-0.015238985419273376,
-0.03719663619995117,
0.010978825390338898,
-0.04218871891498566,
-0.08250071853399277,
0.09090843051671982,
0.014760421589016914,
0.0466177836060524,
-0.00032871964504010975,
0.0039481548592448235,
-0.0015705820405855775,
-0.1036701425909996,
-0.020531343296170235,
-0.012705410830676556,
-0.023008616641163826,
-0.01178581640124321,
0.01893612928688526,
-0.05029615759849548,
0.004224971402436495,
0.06962639838457108,
0.03175414353609085,
-0.04519147425889969,
-0.01918010227382183,
0.03471936285495758,
0.0278505589812994,
0.0388481542468071,
0.07450588047504425,
-0.005320508033037186,
0.06287019699811935,
0.019405309110879898,
0.05870387703180313,
-0.016852967441082,
0.06031785532832146,
0.01081930473446846,
0.011935953982174397,
0.08407716453075409,
0.018973663449287415,
-0.012686642818152905,
-0.07401792705059052,
-0.04699312895536423,
-0.0388481542468071,
-0.036089371889829636,
0.00008657848229631782,
0.07011434435844421,
0.03203565254807472,
0.012217462994158268,
0.04680545628070831,
-0.0004037885519210249,
0.05397453531622887,
0.03648348152637482,
0.012095475569367409,
0.04297694191336632,
-0.026912199333310127,
0.03539498522877693,
-0.039974186569452286,
0.020043395459651947,
0.006207259371876717,
-0.0168154314160347,
-0.04485366493463516,
-0.031416330486536026,
0.014066033996641636,
-0.015201451256871223,
-0.010002929717302322,
0.002878422848880291,
0.00455339765176177,
0.04031199589371681,
0.0030684410594403744,
-0.0003504192573018372,
0.03952377289533615,
0.017415983602404594,
0.025804933160543442,
0.010237520560622215,
-0.06395869702100754,
0.03122865967452526,
0.09038294851779938,
-0.014591515995562077,
-0.012611574493348598,
-0.05754030868411064,
0.0023998587857931852,
-0.0033921757712960243,
-0.05540084466338158,
-0.041775841265916824,
0.013174590654671192,
0.01009676605463028,
-0.04338981956243515,
0.031679075211286545,
0.023402728140354156,
-0.02537328563630581,
0.021450936794281006,
-0.025354519486427307,
0.003429710166528821,
0.017003104090690613,
0.022070255130529404,
0.023665469139814377,
-0.052135348320007324,
0.0006240101647563279,
0.01004046481102705,
-0.0020690863020718098,
0.006850036792457104,
-0.004318807274103165,
0.021582307294011116,
0.040724873542785645,
0.032955244183540344,
-0.012405134737491608,
-0.03959884122014046,
0.027794258669018745,
0.012921233661472797,
-0.03353703022003174,
-0.02394697815179825,
0.05517563596367836,
-0.059642236679792404,
-0.0595671683549881,
0.03899829089641571,
0.023252589628100395,
0.01269602682441473,
0.004959238693118095,
-0.012423901818692684,
0.030909616500139236,
0.002004574052989483,
0.016608992591500282,
0.02666822448372841,
0.017462901771068573,
0.024810269474983215,
0.03256113454699516,
0.020155997946858406,
-0.03248606249690056,
-0.01282739732414484,
-0.011166498064994812,
0.007746171671897173,
0.05025862529873848,
0.007258223835378885,
-0.04102515056729317,
-0.01872030645608902,
-0.03291771188378334,
-0.022614505141973495,
-0.031660307198762894,
0.0014661893947049975,
0.030740711838006973,
0.008707991801202297,
-0.003101283684372902,
-0.016008442267775536,
0.001524836872704327,
0.0017922698752954602,
-0.029201800003647804,
0.012208078987896442,
-0.007924459874629974,
0.017594272270798683,
-0.0003967508382629603,
0.05142219364643097,
-0.037759654223918915,
0.013709456659853458,
-0.01295876782387495,
0.10404548794031143,
0.040875013917684555,
0.0362582765519619,
0.09661366790533066,
0.013352879323065281,
0.054349880665540695,
0.04079994559288025,
-0.014882408082485199,
0.02681836299598217,
0.03396867588162422,
-0.05003341659903526,
-0.067411869764328,
-0.014150486327707767,
-0.06099347770214081,
0.0304404366761446,
0.01955544762313366,
-0.026987267658114433,
0.0041381726041436195,
-0.043314751237630844,
-0.05164739862084389,
0.00035804344224743545,
-0.03425018489360809,
0.009050493128597736,
-0.08182509243488312,
-0.06576035171747208,
0.021826280280947685,
0.042151182889938354,
0.03507594019174576,
-0.08978239446878433,
-0.017331531271338463,
0.04841943830251694,
0.016496390104293823,
0.006934489123523235,
0.023027382791042328,
-0.026367949321866035,
0.01709694042801857,
-0.021075591444969177,
-0.024904105812311172,
0.019611747935414314,
0.041400495916604996,
-0.01068793423473835,
0.02113189361989498,
-0.0343252532184124,
-0.054987963289022446,
-0.026912199333310127,
-0.021807514131069183,
0.047743815928697586,
0.004293002188205719,
-0.03120989352464676,
0.027531517669558525,
0.0116544459015131,
0.013521784916520119,
0.04868217930197716,
-0.03663362190127373,
0.031003452837467194,
-0.005770921241492033,
-0.040349531918764114,
-0.06362088769674301,
-0.0440279059112072,
-0.015558028593659401,
0.07563190907239914,
0.05998004600405693,
-0.027418913319706917,
-0.05386193096637726,
-0.08280099183320999,
0.008764293044805527,
-0.008919122628867626,
-0.057990722358226776,
0.002749398350715637,
0.027362611144781113,
-0.01217054482549429,
0.024284787476062775,
0.009519673883914948,
0.026855897158384323,
-0.04676792025566101,
0.03783472254872322,
0.036464717239141464,
-0.01801653392612934,
0.03460675850510597,
-0.021038057282567024,
-0.00816374272108078,
0.019987093284726143,
-0.029764816164970398,
0.010453343391418457,
-0.017725642770528793,
-0.04102515056729317,
0.02047504112124443,
0.03663362190127373,
-0.019086265936493874,
-0.05115945264697075,
-0.06335815042257309,
0.0259175356477499,
0.05618906766176224,
-0.05645180866122246,
-0.021432168781757355,
0.006746816914528608,
0.008759601972997189,
0.003328836290165782,
-0.005043691489845514,
0.04312707856297493,
0.010340739972889423,
-0.030365368351340294,
-0.04586709290742874,
-0.027043569833040237,
0.022257927805185318,
-0.01288369856774807,
0.024378623813390732,
-0.018251124769449234,
0.03522607684135437,
0.005583249032497406,
0.037496913224458694,
-0.010378275066614151,
-0.012517738156020641,
0.03967390954494476,
0.0323922261595726,
-0.06970147043466568,
-0.014760421589016914,
-0.014347542077302933,
-0.007619492709636688,
-0.003915312234312296,
0.026893431320786476,
-0.07315463572740555,
0.04973314329981804,
-0.010650399141013622,
-0.007924459874629974,
0.06714912503957748,
-0.03171660751104355,
0.009102103300392628,
-0.023233823478221893,
0.0106973173096776,
-0.014760421589016914,
-0.031172357499599457,
-0.004605007357895374,
0.026762060821056366,
0.0054284194484353065,
-0.023871907964348793,
0.024697666987776756,
-0.0440279059112072,
-0.007896309718489647,
-0.028150836005806923,
0.08730512112379074,
-0.04369009658694267,
0.054875362664461136,
0.023477796465158463,
0.054612621665000916,
-0.029990023002028465,
0.011476157233119011,
-0.03911089524626732,
-0.02098175510764122,
0.004773912485688925,
-0.04886985197663307,
0.042151182889938354,
0.04106268659234047,
-0.022595737129449844,
-0.039974186569452286,
0.03648348152637482,
-0.049170125275850296,
0.05243562161922455,
0.009571284055709839,
-0.03396867588162422,
0.031153591349720955,
-0.01966805011034012,
0.007506889291107655,
-0.04095008224248886,
0.013427948579192162,
-0.03511347621679306,
0.011053894646465778,
0.04327721893787384,
-0.0893319845199585,
-0.056151531636714935,
-0.015041929669678211,
-0.08242564648389816,
-0.01628056727349758,
-0.0029206492472440004,
0.045416682958602905,
0.008661073632538319,
0.0543874129652977,
-0.001301976153627038,
-0.011279101483523846,
0.03869801387190819,
-0.022201625630259514,
-0.04778135195374489,
-0.020155997946858406,
0.009575976058840752,
0.041625700891017914,
0.010537795722484589,
0.10156821459531784,
-0.025955069810152054,
-0.01172951515763998,
-0.035845398902893066,
-0.08077412843704224,
0.028826454654335976,
-0.001035129651427269,
0.0006163860089145601,
-0.05172246694564819,
0.04027446359395981,
0.034118812531232834,
-0.006498150993138552,
0.0725165531039238,
-0.031266193836927414,
-0.050596434623003006,
-0.012423901818692684,
0.046580247581005096,
-0.017697492614388466,
0.02497917413711548,
-0.03986158221960068,
-0.048119161278009415,
0.025223148986697197,
0.05780304968357086,
-0.0440654419362545,
-0.009017650969326496,
-0.054837826639413834,
-0.0427892692387104,
-0.04856957495212555,
-0.0034484772477298975,
0.015745701268315315,
-0.0932355672121048,
-0.019367774948477745,
0.022614505141973495,
0.05416220799088478,
0.02058764360845089,
-0.022989848628640175,
0.014075418002903461,
-0.008135591633617878,
0.059792373329401016,
0.015182684175670147,
-0.07525656372308731,
0.019208252429962158,
0.0025969145353883505,
-0.0388481542468071,
0.018485715612769127,
0.0032701888121664524,
-0.03291771188378334,
-0.027250008657574654,
-0.029239334166049957,
-0.02355286478996277,
-0.024697666987776756,
0.010584713891148567,
0.1295689046382904,
0.059679772704839706,
-0.028732620179653168,
0.002573455451056361
]
|
29,388 | quart.app | request_context | Create and return a request context.
Use the :meth:`test_request_context` whilst testing. This is
best used within a context, i.e.
.. code-block:: python
async with app.request_context(request):
...
Arguments:
request: A request to build a context around.
| def request_context(self, request: Request) -> RequestContext:
"""Create and return a request context.
Use the :meth:`test_request_context` whilst testing. This is
best used within a context, i.e.
.. code-block:: python
async with app.request_context(request):
...
Arguments:
request: A request to build a context around.
"""
return RequestContext(self, request)
| (self, request: quart.wrappers.request.Request) -> quart.ctx.RequestContext | [
0.0199388787150383,
-0.007729014847427607,
-0.014774205163121223,
-0.02416779287159443,
0.023304015398025513,
-0.014027397148311138,
-0.02567940391600132,
0.05546175688505173,
-0.01292967889457941,
-0.039013978093862534,
0.03131195902824402,
0.00037171703297644854,
0.033597372472286224,
0.04747180640697479,
0.06924621760845184,
-0.019704939797520638,
0.040921490639448166,
-0.04826360568404198,
0.04545632377266884,
-0.05884488672018051,
0.019632957875728607,
0.01844526268541813,
-0.026345234364271164,
0.007121670991182327,
-0.027712881565093994,
0.060680415481328964,
-0.0431889072060585,
-0.027748873457312584,
0.08724159002304077,
0.005808008369058371,
0.024851616472005844,
-0.008160904049873352,
0.028324725106358528,
0.030916059389710426,
0.027784863486886024,
-0.033615365624427795,
-0.03563084825873375,
-0.014072385616600513,
-0.05992460995912552,
-0.057945117354393005,
-0.0513228178024292,
0.00088795943884179,
-0.059564702212810516,
0.029170507565140724,
0.015530011616647243,
-0.005232156254351139,
-0.029116522520780563,
0.012641753070056438,
0.03714245930314064,
0.03521695360541344,
0.03962582349777222,
-0.03588278219103813,
0.024887608364224434,
0.005578567273914814,
-0.04567227140069008,
0.03593676909804344,
0.0002741483331192285,
0.013793457299470901,
0.003878003917634487,
0.04610415920615196,
-0.005601061508059502,
0.09559144824743271,
0.04678798466920853,
0.003976978361606598,
-0.044988445937633514,
0.030484169721603394,
-0.06161617487668991,
0.03019624389708042,
0.010995175689458847,
0.010437319055199623,
-0.003209925489500165,
-0.01368548534810543,
0.010851212777197361,
0.0022775400429964066,
0.017644468694925308,
-0.025103552266955376,
-0.033345434814691544,
-0.025967329740524292,
-0.0008699640748091042,
0.019165078178048134,
0.02706504799425602,
-0.00533113069832325,
-0.029710369184613228,
-0.0022989094723016024,
0.04977521672844887,
-0.03440716117620468,
-0.0006871984805911779,
-0.013487535528838634,
0.007868479005992413,
0.03807821869850159,
-0.03253564238548279,
0.010869208723306656,
-0.015916911885142326,
-0.037898264825344086,
0.020424753427505493,
-0.032229721546173096,
-0.007778502069413662,
-0.005583066027611494,
-0.04304494336247444,
0.007396100554615259,
0.007639037910848856,
0.11905742436647415,
-0.0054301051422953606,
0.030682120472192764,
-0.008169901557266712,
0.009546548128128052,
0.024671662598848343,
-0.028324725106358528,
0.0631277859210968,
-0.027622904628515244,
-0.004084950778633356,
-0.027802858501672745,
-0.039481859654188156,
0.05765719339251518,
-0.06125626713037491,
-0.0017320550978183746,
-0.0006157793686725199,
0.02416779287159443,
0.0028275237418711185,
-0.017248569056391716,
-0.04693194478750229,
0.003819518955424428,
0.022062333300709724,
-0.029602397233247757,
0.044988445937633514,
-0.0022179302759468555,
0.006518825888633728,
-0.043620795011520386,
-0.0128307044506073,
-0.03327345475554466,
0.04182126000523567,
-0.006167915649712086,
0.02423977479338646,
0.01583593338727951,
-0.0003188556001987308,
0.06435146927833557,
0.006626797839999199,
0.03611672297120094,
0.03597275912761688,
0.07187353819608688,
-0.050567012280225754,
0.0396978035569191,
-0.04862351343035698,
-0.027964817360043526,
-0.007211647927761078,
-0.026093298569321632,
-0.040921490639448166,
-0.005538077559322119,
0.003808271838352084,
0.007288128137588501,
0.0681305006146431,
-0.017671462148427963,
0.05693737789988518,
0.03021424077451229,
-0.00926761981099844,
-0.00041276897536590695,
-0.014216348528862,
-0.040669552981853485,
0.09386388957500458,
-0.07687625288963318,
0.02148648165166378,
0.04020167514681816,
-0.008538806810975075,
-0.0244557186961174,
0.039193931967020035,
0.009132654406130314,
-0.030898064374923706,
-0.020838648080825806,
0.0045325858518481255,
-0.05596562474966049,
-0.04527636989951134,
0.02695707604289055,
0.026525188237428665,
-0.022584199905395508,
-0.012290842831134796,
0.011373079381883144,
0.004782271571457386,
-0.011490048840641975,
-0.026543183252215385,
0.013424552045762539,
0.0005010588211007416,
-0.010275361128151417,
-0.008421837352216244,
0.04952327907085419,
0.004831759259104729,
0.011373079381883144,
-0.023627931252121925,
0.038006238639354706,
0.006892229896038771,
0.03158188983798027,
-0.032049767673015594,
-0.0230700746178627,
0.016861669719219208,
-0.05751322954893112,
-0.05715332180261612,
0.04333287104964256,
-0.001155078294686973,
-0.0114450603723526,
-0.02864864282310009,
0.03395728021860123,
-0.02145049162209034,
0.0033561380114406347,
0.014171360060572624,
0.001633080537430942,
0.023717908188700676,
0.05870092287659645,
0.013019655831158161,
0.008660275489091873,
-0.07889173924922943,
0.016906658187508583,
-0.017869411036372185,
0.029620392248034477,
0.00855680275708437,
0.043656788766384125,
-0.01718558557331562,
0.053518254309892654,
-0.028936568647623062,
0.007054188288748264,
-0.00925862230360508,
-0.004696793854236603,
0.04138936847448349,
0.03163587301969528,
0.006725772749632597,
-0.026669150218367577,
0.048011668026447296,
0.0016218334203585982,
0.05294240266084671,
-0.002042475389316678,
-0.06413552910089493,
-0.04002172127366066,
-0.01842726767063141,
0.006491832435131073,
0.03836614638566971,
-0.028378712013363838,
-0.062479954212903976,
-0.05967267230153084,
0.013982408680021763,
0.026291247457265854,
-0.04725586250424385,
-0.05873691290616989,
0.05301438271999359,
0.03462310880422592,
0.04739982634782791,
-0.047939687967300415,
-0.04279300943017006,
-0.02693908102810383,
-0.03438916802406311,
0.019488994032144547,
0.05333830043673515,
-0.0041096946224570274,
-0.013847443275153637,
-0.010347342118620872,
-0.03384930640459061,
-0.032103754580020905,
-0.0395178496837616,
0.021126573905348778,
0.020514730364084244,
0.05625355243682861,
-0.0037250432651489973,
-0.006847241427749395,
0.02594933472573757,
0.01811234839260578,
-0.041929230093955994,
0.04038162901997566,
-0.022170305252075195,
0.01224585436284542,
0.02008284255862236,
-0.009582539089024067,
-0.056613460183143616,
-0.0032346693333238363,
0.12136083096265793,
0.05873691290616989,
0.05873691290616989,
0.016114860773086548,
0.026345234364271164,
-0.06003258004784584,
-0.04898341745138168,
0.07075782865285873,
-0.08385846018791199,
0.01563798449933529,
0.04178526625037193,
-0.01696964167058468,
0.02557143196463585,
0.021126573905348778,
-0.023232033476233482,
-0.07298925518989563,
-0.015026140958070755,
0.09595135599374771,
0.00640635471791029,
-0.028864586725831032,
-0.03680054843425751,
0.039301905781030655,
0.004737283103168011,
-0.0039702304638922215,
-0.04135337844491005,
-0.012002917006611824,
-0.07165759801864624,
0.05182668939232826,
0.013766463845968246,
0.06363165378570557,
0.03555886819958687,
0.03833015635609627,
-0.0675906389951706,
0.062048062682151794,
0.08191496133804321,
0.0398777574300766,
0.04268503561615944,
-0.0007434340659528971,
-0.032193731516599655,
0.007886474020779133,
-0.03435317799448967,
0.06420750916004181,
-0.009222631342709064,
-0.03253564238548279,
-0.059528712183237076,
0.014936164021492004,
0.0031064520590007305,
-0.019470999017357826,
-0.05031507834792137,
0.020928625017404556,
-0.02413180284202099,
0.013019655831158161,
0.011643009260296822,
0.016861669719219208,
-0.03955383971333504,
0.07464482635259628,
0.03980577737092972,
0.00041979842353612185,
0.0035068492870777845,
0.026021316647529602,
-0.037826284766197205,
0.03176184371113777,
-0.04027365520596504,
-0.025517446920275688,
-0.07946758717298508,
0.029188502579927444,
0.021936366334557533,
-0.00013138032227288932,
-0.028972558677196503,
-0.07572454959154129,
-0.009402585215866566,
-0.03998573124408722,
-0.05290641263127327,
-0.006608802825212479,
-0.050674986094236374,
-0.042145173996686935,
0.04012969508767128,
0.008912211284041405,
0.04322489723563194,
-0.0331294909119606,
0.023771895095705986,
-0.03807821869850159,
0.013271591626107693,
-0.009456571191549301,
-0.0018647710094228387,
-0.008408340625464916,
-0.009798482991755009,
0.004534835461527109,
0.00926761981099844,
0.03287755697965622,
-0.011382076889276505,
0.06244396045804024,
0.03818619251251221,
0.007827989757061005,
-0.010923194698989391,
-0.016321808099746704,
0.008723259903490543,
0.006532322149723768,
-0.017104607075452805,
0.013343572616577148,
0.02441972866654396,
-0.017536496743559837,
0.000014858488611935172,
0.05592963472008705,
0.015566001646220684,
-0.0454203337430954,
-0.06183211877942085,
-0.05812507122755051,
-0.06363165378570557,
0.08709762990474701,
-0.017563488334417343,
0.012569772079586983,
-0.00042626552749425173,
0.004998216405510902,
-0.02166643552482128,
-0.05837700515985489,
-0.0037542858626693487,
-0.007211647927761078,
-0.016042878851294518,
0.0049397312104702,
-0.01882316544651985,
-0.060572441667318344,
-0.02695707604289055,
0.0400577113032341,
0.04423264041543007,
-0.03887001797556877,
-0.04725586250424385,
-0.016132855787873268,
-0.009753494523465633,
0.012659748084843159,
0.09587937593460083,
0.0007962954696267843,
-0.011741984635591507,
-0.023573946207761765,
0.00995144434273243,
0.05423806980252266,
-0.010500303469598293,
-0.011777974665164948,
0.03402926027774811,
0.016132855787873268,
-0.08349855244159698,
-0.02980034612119198,
-0.010320349596440792,
-0.039013978093862534,
-0.025013575330376625,
-0.06176013872027397,
0.008660275489091873,
0.05852096900343895,
0.04466452822089195,
0.033345434814691544,
0.05002715066075325,
-0.0026700643356889486,
0.023537954315543175,
-0.004210918676108122,
0.04703991860151291,
0.0037295420188456774,
0.018166333436965942,
0.00829137023538351,
-0.0024631174746900797,
-0.006230899598449469,
-0.0030299718491733074,
0.020874638110399246,
-0.020406758412718773,
-0.00007085680408636108,
0.026525188237428665,
-0.021810397505760193,
-0.012983664870262146,
0.02413180284202099,
-0.03419121727347374,
0.037898264825344086,
-0.018256310373544693,
-0.036422643810510635,
0.03257163614034653,
-0.028990553691983223,
-0.008430834859609604,
-0.04703991860151291,
-0.053734198212623596,
-0.010536293499171734,
0.019399017095565796,
-0.04678798466920853,
0.0487314835190773,
0.024977585300803185,
-0.013217605650424957,
0.0215044766664505,
-0.04534835368394852,
-0.03005228191614151,
-0.04178526625037193,
0.004899241495877504,
-0.037826284766197205,
0.0098794624209404,
0.03460511192679405,
-0.012461799196898937,
-0.014459285885095596,
-0.04826360568404198,
0.013109632767736912,
0.06323575973510742,
0.01073424331843853,
0.030538156628608704,
-0.008619786240160465,
-0.025139544159173965,
-0.020406758412718773,
0.005911481566727161,
-0.014747212640941143,
-0.036314673721790314,
0.023322010412812233,
0.003680054796859622,
-0.07334916293621063,
-0.02711903490126133,
0.02873861975967884,
0.02983633615076542,
0.011382076889276505,
-0.010338344611227512,
0.06546718627214432,
0.0723414197564125,
-0.003529343521222472,
-0.08472224324941635,
-0.002370891161262989,
-0.0106622613966465,
-0.000027994763513561338,
-0.018157336860895157,
-0.015053133480250835,
0.09659919142723083,
0.005115186329931021,
-0.015736958011984825,
-0.05834101513028145,
0.01878717541694641,
0.013568514958024025,
0.007976450957357883,
-0.0002478582027833909,
0.01871519349515438,
0.005380617920309305,
0.0010352965909987688,
0.04689595475792885,
0.0005781015497632325,
0.035072993487119675,
0.007679527625441551,
-0.035036999732255936,
-0.05765719339251518,
-0.05049503222107887,
0.0038645074237138033,
-0.030916059389710426,
0.04851553961634636,
0.021090583875775337,
-0.03750236704945564,
0.030394192785024643,
-0.04829959571361542,
-0.10401328653097153,
-0.006275888066738844,
0.03163587301969528,
-0.014540265314280987,
0.00300972699187696,
0.0518626794219017,
0.13446146249771118,
-0.02841470204293728,
0.018913142383098602,
-0.0165647454559803,
0.07399699836969376,
0.07007399946451187,
0.03406525030732155,
0.05567770078778267,
0.02145049162209034,
-0.03291354700922966,
-0.0070676845498383045,
0.01804036647081375,
0.051934659481048584,
0.01875118352472782,
-0.03566683828830719,
-0.05423806980252266,
0.04012969508767128,
0.011013171635568142,
0.05053102225065231,
0.009092165157198906,
-0.006874234415590763,
0.03696250542998314,
-0.0719815120100975,
-0.022242287173867226,
0.0015824685106053948,
0.027874840423464775,
-0.026687145233154297,
-0.07104575634002686,
-0.03552287817001343,
-0.01804036647081375,
-0.011022169142961502,
-0.029098525643348694,
-0.04754379019141197,
-0.02877460978925228,
0.028990553691983223,
0.03437117114663124,
-0.01220086682587862,
-0.0030479670967906713,
-0.008232885040342808,
0.003326895646750927,
-0.07280930131673813,
0.03388529643416405,
0.002730798674747348,
0.03582879900932312,
-0.0028657640796154737,
0.018076356500387192,
-0.013190612196922302,
-0.017302555963397026,
0.02159445360302925,
-0.043836742639541626,
0.0398777574300766,
0.029602397233247757,
-0.06467539072036743,
0.06111230328679085,
-0.05812507122755051,
0.026435211300849915,
0.0398777574300766,
-0.03717845305800438,
-0.032301705330610275,
-0.028090786188840866,
-0.009069670923054218,
-0.043476834893226624,
-0.05308636650443077,
-0.07043390721082687,
0.03420921415090561,
0.06161617487668991,
0.013775462284684181,
0.024815626442432404,
-0.014486279338598251,
-0.025013575330376625,
-0.0015577248996123672,
-0.005830502603203058,
-0.0040624565444886684,
-0.020496735349297523,
-0.08911311626434326,
-0.020334776490926743,
-0.005987962242215872,
-0.009393587708473206,
-0.011508043855428696,
0.08623385429382324,
-0.045168399810791016,
0.01787840761244297,
-0.011247111484408379,
0.000170112558407709,
-0.046284113079309464,
-0.017689457163214684,
-0.0716216042637825,
-0.027694886550307274,
-0.009087665937840939,
-0.023789890110492706,
0.024005834013223648,
-0.011139139533042908,
0.0029354961588978767,
-0.04160531610250473,
-0.07730814814567566,
0.023987838998436928,
-0.002115581650286913,
-0.09897457808256149,
0.023519959300756454,
-0.013469540514051914,
0.013109632767736912,
0.05625355243682861,
0.0006579559994861484,
0.0016004639910534024,
0.07500473409891129,
-0.037862274795770645,
-0.06924621760845184,
-0.0034236207138746977,
0.029602397233247757,
-0.023897862061858177,
-0.05319433659315109,
-0.04714789241552353,
0.1092679351568222,
-0.02139650471508503,
0.03532492741942406,
-0.0256614089012146,
0.023429982364177704,
0.03275159001350403,
-0.0013552769087255,
-0.00885822530835867,
-0.0033021518029272556,
-0.0062264008447527885,
-0.013964413665235043,
-0.013217605650424957,
0.0201188325881958,
-0.07270132750272751,
0.05423806980252266,
-0.029278479516506195,
-0.012182870879769325,
0.06341571360826492,
0.011229115538299084,
-0.016168847680091858,
-0.022080328315496445,
-0.009141651913523674,
-0.016123859211802483,
0.020370768383145332,
0.007742511574178934,
-0.03001629002392292,
0.032157741487026215,
0.05301438271999359,
0.047939687967300415,
-0.011768977157771587,
0.05819705128669739,
0.07399699836969376,
0.028990553691983223,
-0.00934859924018383,
0.05276244878768921,
0.02146848663687706,
0.023322010412812233,
0.052222587168216705,
-0.016753697767853737,
0.01007741130888462,
0.01880517043173313,
0.0005080882692709565,
-0.03962582349777222,
-0.017194584012031555,
-0.005178170278668404,
0.00004013812940684147,
-0.0371064692735672,
0.020406758412718773,
0.011013171635568142,
0.0019659949466586113,
-0.008039435371756554,
-0.01709560863673687,
0.017194584012031555,
-0.04574425145983696,
0.025247516110539436,
-0.008151906542479992,
0.008907712064683437,
-0.028144771233201027,
-0.004921735730022192,
0.05988861992955208,
-0.03163587301969528,
-0.005101689603179693,
-0.05344627425074577,
-0.07392501085996628,
0.02994430996477604,
0.05564171075820923,
0.003821768332272768,
-0.016150852665305138,
0.06129225715994835,
-0.021954361349344254,
-0.030988041311502457,
-0.000341631006449461,
0.008453329093754292,
-0.018328292295336723,
-0.011813965626060963,
-0.023393992334604263,
0.013721475377678871,
-0.04862351343035698,
0.009861467406153679,
-0.013811452314257622,
0.031995780766010284,
0.05470595136284828,
-0.03185182064771652,
-0.00028722311253659427,
0.023879867047071457,
-0.013316580094397068,
-0.007400599308311939,
0.004044461064040661,
-0.007549060974270105,
-0.03593676909804344,
-0.019381022080779076,
-0.026525188237428665,
-0.040669552981853485,
-0.033435411751270294,
0.01515210885554552,
-0.031167995184659958,
0.014531267806887627,
-0.0024923598393797874,
-0.03183382377028465,
0.017518499866127968,
0.05287042260169983,
-0.022206297144293785,
-0.02996230497956276,
-0.04322489723563194,
-0.009240626357495785,
-0.03836614638566971,
0.0028275237418711185,
0.008898714557290077,
-0.043836742639541626,
0.02575138583779335,
-0.011984921991825104,
0.016411785036325455,
0.03489303961396217,
-0.011723988689482212,
0.013793457299470901,
0.015485023148357868,
0.031132003292441368,
0.0005516707897186279,
-0.010986178182065487,
-0.005196165293455124,
-0.012848700396716595,
-0.001565597951412201,
0.027838850393891335,
-0.03158188983798027,
0.04315291717648506,
0.014675230719149113,
-0.04174927622079849,
-0.0339752733707428,
0.04038162901997566,
-0.013649494387209415,
0.019291045144200325,
-0.03453313186764717,
0.06438746303319931,
0.06140023097395897
]
|
29,390 | quart.app | run | Run this application.
This is best used for development only, see Hypercorn for
production servers.
Arguments:
host: Hostname to listen on. By default this is loopback
only, use 0.0.0.0 to have the server listen externally.
port: Port number to listen on.
debug: If set enable (or disable) debug mode and debug output.
use_reloader: Automatically reload on code changes.
loop: Asyncio loop to create the server in, if None, take default one.
If specified it is the caller's responsibility to close and cleanup the
loop.
ca_certs: Path to the SSL CA certificate file.
certfile: Path to the SSL certificate file.
keyfile: Path to the SSL key file.
| def run(
self,
host: str | None = None,
port: int | None = None,
debug: bool | None = None,
use_reloader: bool = True,
loop: asyncio.AbstractEventLoop | None = None,
ca_certs: str | None = None,
certfile: str | None = None,
keyfile: str | None = None,
**kwargs: Any,
) -> None:
"""Run this application.
This is best used for development only, see Hypercorn for
production servers.
Arguments:
host: Hostname to listen on. By default this is loopback
only, use 0.0.0.0 to have the server listen externally.
port: Port number to listen on.
debug: If set enable (or disable) debug mode and debug output.
use_reloader: Automatically reload on code changes.
loop: Asyncio loop to create the server in, if None, take default one.
If specified it is the caller's responsibility to close and cleanup the
loop.
ca_certs: Path to the SSL CA certificate file.
certfile: Path to the SSL certificate file.
keyfile: Path to the SSL key file.
"""
if kwargs:
warnings.warn(
f"Additional arguments, {','.join(kwargs.keys())}, are not supported.\n"
"They may be supported by Hypercorn, which is the ASGI server Quart "
"uses by default. This method is meant for development and debugging.",
stacklevel=2,
)
if loop is None:
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
if "QUART_DEBUG" in os.environ:
self.debug = get_debug_flag()
if debug is not None:
self.debug = debug
loop.set_debug(self.debug)
shutdown_event = asyncio.Event()
def _signal_handler(*_: Any) -> None:
shutdown_event.set()
for signal_name in {"SIGINT", "SIGTERM", "SIGBREAK"}:
if hasattr(signal, signal_name):
try:
loop.add_signal_handler(getattr(signal, signal_name), _signal_handler)
except NotImplementedError:
# Add signal handler may not be implemented on Windows
signal.signal(getattr(signal, signal_name), _signal_handler)
server_name = self.config.get("SERVER_NAME")
sn_host = None
sn_port = None
if server_name is not None:
sn_host, _, sn_port = server_name.partition(":")
if host is None:
host = sn_host or "127.0.0.1"
if port is None:
port = int(sn_port or "5000")
task = self.run_task(
host,
port,
debug,
ca_certs,
certfile,
keyfile,
shutdown_trigger=shutdown_event.wait, # type: ignore
)
print(f" * Serving Quart app '{self.name}'") # noqa: T201
print(f" * Debug mode: {self.debug or False}") # noqa: T201
print(" * Please use an ASGI server (e.g. Hypercorn) directly in production") # noqa: T201
scheme = "https" if certfile is not None and keyfile is not None else "http"
print(f" * Running on {scheme}://{host}:{port} (CTRL + C to quit)") # noqa: T201
tasks = [loop.create_task(task)]
if use_reloader:
tasks.append(loop.create_task(observe_changes(asyncio.sleep, shutdown_event)))
reload_ = False
try:
loop.run_until_complete(asyncio.gather(*tasks))
except MustReloadError:
reload_ = True
finally:
try:
_cancel_all_tasks(loop)
loop.run_until_complete(loop.shutdown_asyncgens())
finally:
asyncio.set_event_loop(None)
loop.close()
if reload_:
restart()
| (self, host: Optional[str] = None, port: Optional[int] = None, debug: Optional[bool] = None, use_reloader: bool = True, loop: Optional[asyncio.events.AbstractEventLoop] = None, ca_certs: Optional[str] = None, certfile: Optional[str] = None, keyfile: Optional[str] = None, **kwargs: Any) -> NoneType | [
0.04527942091226578,
-0.039042361080646515,
-0.08545579016208649,
-0.025413986295461655,
0.004951171111315489,
0.01680765673518181,
-0.03304830566048622,
-0.00005549026172957383,
-0.028836267068982124,
-0.02677074819803238,
0.01749616302549839,
0.004946108441799879,
0.024421727284789085,
0.03359506279230118,
0.06933664530515671,
-0.0022262551356106997,
0.01314237155020237,
-0.0284110140055418,
-0.029038770124316216,
-0.08812882006168365,
0.0013276529498398304,
0.05621452257037163,
0.03404056653380394,
-0.04106738045811653,
-0.005097984801977873,
0.0073811933398246765,
-0.0015592644922435284,
0.02606199122965336,
-0.010773099958896637,
0.013911878690123558,
0.011329980567097664,
0.031468793749809265,
0.028269262984395027,
0.025899989530444145,
0.03693634271621704,
-0.0247659794986248,
-0.03622758761048317,
-0.049450960010290146,
-0.004257602151483297,
0.00958340149372816,
0.012180487625300884,
-0.01974393241107464,
0.03363556042313576,
0.015876147896051407,
-0.012585491873323917,
0.02191070280969143,
0.04600842669606209,
0.007639383431524038,
-0.019814809784293175,
0.011400856077671051,
-0.012352614663541317,
0.04236339405179024,
-0.016858281567692757,
0.024138223379850388,
0.0011150259524583817,
0.07022765278816223,
-0.011178103275597095,
0.06496260315179825,
-0.030517032369971275,
-0.058968547731637955,
-0.04078387841582298,
0.019399680197238922,
-0.023206714540719986,
0.047790441662073135,
0.010190906934440136,
-0.014792762696743011,
-0.03651108965277672,
0.02436097525060177,
0.03035503253340721,
-0.05090897157788277,
0.03286605328321457,
0.03715909644961357,
-0.01361825130879879,
-0.048964954912662506,
0.060669563710689545,
-0.0073204427026212215,
-0.03861710801720619,
-0.011704608798027039,
-0.08249926567077637,
0.023935722187161446,
0.019490806385874748,
0.06463859975337982,
0.026608746498823166,
-0.04471241310238838,
0.07136166095733643,
0.006768625229597092,
0.008965770713984966,
-0.031975045800209045,
-0.04288989678025246,
-0.06350459158420563,
0.014306757599115372,
0.04207989200949669,
-0.003098278772085905,
0.03450632095336914,
0.0036754091270267963,
-0.03819185495376587,
-0.005396674852818251,
-0.0491674579679966,
-0.031975045800209045,
-0.04183688759803772,
0.018184669315814972,
0.06309958547353745,
0.008277264423668385,
-0.030253781005740166,
0.023429468274116516,
0.014539634808897972,
0.011370480060577393,
0.023226965218782425,
-0.020057810470461845,
-0.0344860702753067,
-0.01919717900454998,
0.04868145287036896,
0.025089982897043228,
-0.009173335507512093,
-0.10821700096130371,
0.0019237678498029709,
-0.0373818464577198,
0.013061371631920338,
0.034931574016809464,
-0.028573015704751015,
-0.08772381395101547,
0.037361595779657364,
0.014023255556821823,
0.0024591321125626564,
0.005897867027670145,
0.060912564396858215,
-0.03177254647016525,
0.04787144437432289,
-0.00157951470464468,
-0.08079825341701508,
0.06427409499883652,
0.027580756694078445,
0.03013227880001068,
0.04495541751384735,
0.021829701960086823,
0.04884345456957817,
0.003376718843355775,
0.01917692832648754,
-0.01969330757856369,
0.06362608820199966,
-0.012646242044866085,
0.013314498588442802,
-0.0027160565368831158,
0.027803508564829826,
-0.002574305050075054,
-0.02361171878874302,
-0.07168566435575485,
-0.04746644198894501,
-0.02314596436917782,
-0.008854394778609276,
0.053662996739149094,
0.023692719638347626,
0.03329131007194519,
0.015369893051683903,
-0.051880981773138046,
-0.021222196519374847,
0.008520266972482204,
-0.003181810723617673,
-0.0049233268946409225,
0.02314596436917782,
-0.0689721405506134,
-0.010661724023520947,
0.03717934340238571,
-0.026426495984196663,
-0.049005456268787384,
-0.002413569251075387,
-0.0037842539604753256,
0.027803508564829826,
0.055323515087366104,
0.09946892410516739,
0.013557501137256622,
0.037827350199222565,
-0.05135447531938553,
-0.001679499982856214,
0.015035764314234257,
0.025677237659692764,
0.010039030574262142,
-0.021708201617002487,
-0.03424306958913803,
-0.04908645525574684,
-0.05204298347234726,
-0.05184048041701317,
-0.01303099561482668,
-0.055809516459703445,
0.016979781910777092,
0.06010255590081215,
-0.03067903406918049,
0.03408106788992882,
0.0637475922703743,
-0.005467550829052925,
-0.0573890320956707,
0.01094522699713707,
0.028026260435581207,
-0.010732599534094334,
0.059454552829265594,
-0.02257896028459072,
-0.006135806906968355,
-0.0005885210703127086,
0.03525557741522789,
-0.060750562697649,
-0.009922591969370842,
0.0330888070166111,
0.05880654603242874,
-0.005062547046691179,
-0.002835026243701577,
-0.0000833738231449388,
-0.017212659120559692,
0.0015972335822880268,
0.056781526654958725,
-0.0024338194634765387,
-0.010600972920656204,
-0.031489040702581406,
-0.01701015792787075,
0.004252539481967688,
0.05941405147314072,
0.024279974400997162,
-0.0020389407873153687,
-0.014539634808897972,
0.020594440400600433,
0.051435478031635284,
0.04738543927669525,
0.02553548663854599,
-0.004647417925298214,
0.036551591008901596,
-0.06002155691385269,
0.015461018308997154,
0.004331008996814489,
0.023915471509099007,
0.001313730957917869,
0.01777966506779194,
-0.0014276382280513644,
0.028795767575502396,
0.025879740715026855,
0.01600777357816696,
-0.008155763149261475,
0.04698043689131737,
-0.0005249228561297059,
0.091611847281456,
-0.0025603831745684147,
-0.009993467479944229,
-0.008095012977719307,
0.009816278703510761,
-0.012960120104253292,
-0.07512819766998291,
-0.026811249554157257,
0.005816866643726826,
-0.0032855928875505924,
0.014762386679649353,
-0.0041943201795220375,
0.0329875573515892,
-0.032481301575899124,
-0.06071006506681442,
0.0034197503700852394,
-0.007133128587156534,
-0.0303752813488245,
-0.004629699047654867,
0.011026226915419102,
-0.023976221680641174,
0.016331776976585388,
0.057065028697252274,
-0.004591729957610369,
-0.009644151665270329,
-0.053581997752189636,
0.07018715143203735,
-0.011674233712255955,
-0.015714146196842194,
0.01992618478834629,
-0.04256589338183403,
-0.02622399292886257,
-0.03521507605910301,
0.08351177722215652,
0.03519482538104057,
0.012008361518383026,
-0.0006707874708808959,
-0.050949472934007645,
0.017141783609986305,
-0.015764771029353142,
-0.017931541427969933,
-0.06156057119369507,
-0.019126301631331444,
0.01945030502974987,
-0.0003423547314014286,
0.059981055557727814,
-0.004751200322061777,
0.005751053337007761,
-0.054837509989738464,
-0.005502988584339619,
0.04912695661187172,
0.004799294751137495,
-0.015278766863048077,
0.0069053140468895435,
-0.019845183938741684,
-0.0157951470464468,
-0.04151288419961929,
0.01398275513201952,
0.008216513320803642,
-0.06471960246562958,
0.03823235630989075,
-0.0007182488334365189,
-0.04685893654823303,
0.016109025105834007,
-0.008940458297729492,
-0.006768625229597092,
0.017374660819768906,
0.03849560767412186,
0.014195381663739681,
0.006814188323915005,
0.001223870785906911,
-0.02091844379901886,
-0.0022072705905884504,
0.009406212717294693,
-0.07569520175457001,
0.032967306673526764,
-0.023874972015619278,
-0.022740960121154785,
0.05184048041701317,
0.02381422184407711,
0.028107261285185814,
0.013415749184787273,
-0.029261521995067596,
-0.04345690459012985,
0.027054250240325928,
0.036146584898233414,
0.028552765026688576,
-0.0004511995066422969,
0.02460397779941559,
0.012443740852177143,
0.03258255124092102,
-0.015248391777276993,
0.008353202603757381,
-0.009406212717294693,
0.05840154364705086,
-0.04345690459012985,
-0.021829701960086823,
-0.010312408208847046,
-0.062411077320575714,
0.0023199121933430433,
0.0040753502398729324,
-0.018903549760580063,
-0.08407878130674362,
-0.0017832821467891335,
0.03576183319091797,
-0.011714734137058258,
0.043902408331632614,
0.024178724735975266,
0.009765652939677238,
-0.00777100957930088,
-0.015349642373621464,
0.02091844379901886,
-0.03013227880001068,
0.004895483143627644,
-0.02652774564921856,
-0.003771597519516945,
0.01754678785800934,
0.011826110072433949,
-0.0689721405506134,
0.01773916371166706,
-0.030942287296056747,
-0.010914850980043411,
-0.049693960696458817,
-0.05913054943084717,
0.004012068267911673,
-0.005609301850199699,
0.017405036836862564,
-0.06625861674547195,
-0.05001796409487724,
0.01203873660415411,
-0.0359845831990242,
0.028309762477874756,
0.03788810223340988,
-0.00876833125948906,
-0.012727242894470692,
-0.008500016294419765,
-0.002829963807016611,
-0.026406245306134224,
-0.02970702573657036,
-0.024867231026291847,
-0.03823235630989075,
-0.020503316074609756,
0.049045953899621964,
0.012686742469668388,
0.04133063182234764,
-0.006854688748717308,
-0.06058856099843979,
-0.02966652438044548,
-0.0583205409348011,
-0.006399059202522039,
-0.017364535480737686,
0.01518764067441225,
-0.012089362367987633,
0.011522357352077961,
0.012919619679450989,
0.01629127562046051,
-0.006540810689330101,
-0.01897442527115345,
-0.025899989530444145,
-0.060750562697649,
0.04596792533993721,
0.001679499982856214,
0.021323448047041893,
0.007598883006721735,
0.02118169702589512,
0.07520920038223267,
0.03335205838084221,
0.0661776140332222,
0.004472760483622551,
0.09460888057947159,
-0.06941764056682587,
0.07071365416049957,
0.05759153515100479,
-0.041674885898828506,
-0.055364012718200684,
-0.13486625254154205,
0.01826567016541958,
-0.051921483129262924,
-0.008783519268035889,
0.020533690229058266,
-0.0452389195561409,
0.049936965107917786,
0.06293758749961853,
-0.034627821296453476,
0.03501257672905922,
0.029545024037361145,
0.05058496817946434,
0.021991703659296036,
0.03231929987668991,
0.023672468960285187,
0.03798935189843178,
-0.0214044488966465,
-0.030800536274909973,
0.021789202466607094,
0.04835744947195053,
-0.052366986870765686,
0.011613482609391212,
0.020108437165617943,
0.00349568878300488,
-0.011026226915419102,
0.04015612229704857,
0.030496783554553986,
-0.041431885212659836,
-0.06419309228658676,
-0.036551591008901596,
0.004908139351755381,
-0.0299095269292593,
0.062370579689741135,
0.018306169658899307,
-0.004900545347481966,
-0.022518208250403404,
0.043375901877880096,
-0.02239670790731907,
-0.0643145963549614,
0.01900480128824711,
-0.050463467836380005,
0.004723356105387211,
0.021991703659296036,
-0.028876768425107002,
0.008702518418431282,
0.026669496670365334,
-0.07824672758579254,
-0.06629911810159683,
0.006783812772482634,
-0.005077734589576721,
0.02087794430553913,
-0.008191200904548168,
0.03286605328321457,
0.00528529891744256,
0.08367377519607544,
0.001789610367268324,
-0.045117419213056564,
-0.0452389195561409,
0.009654277004301548,
-0.010611098259687424,
0.05078747123479843,
0.037543848156929016,
-0.0021541137248277664,
0.015683770179748535,
-0.0016617809887975454,
-0.017911290749907494,
-0.01874154806137085,
-0.03187379613518715,
0.02018943801522255,
0.013699252158403397,
-0.015906522050499916,
0.08249926567077637,
-0.0329875573515892,
-0.06123656779527664,
0.043942905962467194,
-0.0238344706594944,
0.03472907096147537,
-0.03250155225396156,
0.034668322652578354,
-0.02044256404042244,
0.0017225316260010004,
-0.004386696964502335,
-0.003688065567985177,
-0.031266290694475174,
-0.017445536330342293,
0.0026173368096351624,
-0.0032197798136621714,
0.01326387282460928,
0.017931541427969933,
0.0006600295891985297,
0.041674885898828506,
0.10602998733520508,
0.02330796606838703,
0.01104647759348154,
-0.05755103379487991,
0.03067903406918049,
-0.022477708756923676,
-0.003908286336809397,
-0.02867426536977291,
-0.014742136932909489,
0.03677434101700783,
-0.08545579016208649,
0.043861906975507736,
0.012463990598917007,
-0.058482542634010315,
0.0011067993473261595,
-0.00540680019184947,
-0.028390763327479362,
-0.003024871926754713,
0.032258547842502594,
0.05321749299764633,
0.0704706534743309,
-0.03665284067392349,
-0.012737368233501911,
0.08901982754468918,
0.008662017993628979,
0.010155469179153442,
0.08545579016208649,
-0.010752850212156773,
0.00016880429757293314,
0.023409217596054077,
-0.06034556031227112,
0.04410490766167641,
0.03306855633854866,
-0.03387856483459473,
-0.027054250240325928,
-0.0437404066324234,
-0.0012245035031810403,
0.004487948026508093,
0.06301858276128769,
0.006181370001286268,
-0.07824672758579254,
-0.07703171670436859,
-0.03651108965277672,
0.03726034611463547,
0.027337754145264626,
0.053662996739149094,
-0.02865401655435562,
0.006161119788885117,
0.023247215896844864,
0.08756181597709656,
0.03847535699605942,
-0.059900056570768356,
-0.05544501543045044,
0.04052062705159187,
0.0037488159723579884,
-0.020817192271351814,
0.008474703878164291,
-0.021465199068188667,
0.004814482294023037,
-0.07662671059370041,
-0.006880001164972782,
-0.009725152514874935,
0.05977855622768402,
-0.016463402658700943,
-0.009877028875052929,
0.03590358421206474,
-0.020796943455934525,
-0.007750759366899729,
0.0008093746728263795,
0.06309958547353745,
0.02144494839012623,
-0.0598190538585186,
0.0344860702753067,
0.0135068753734231,
0.002111082198098302,
0.036085836589336395,
-0.017455661669373512,
0.0034703759010881186,
0.00016358355060219765,
-0.039265114814043045,
-0.013334748335182667,
-0.05374399945139885,
0.016139399260282516,
0.06613711267709732,
0.04110788181424141,
0.048964954912662506,
-0.059171050786972046,
-0.013679001480340958,
-0.01997680962085724,
0.01995656080543995,
-0.03647058829665184,
0.016615279018878937,
-0.013284123502671719,
-0.03092203661799431,
0.008170951157808304,
0.06228957697749138,
0.029788026586174965,
-0.0029793088324368,
0.04104712978005409,
0.04807394742965698,
-0.08658980578184128,
-0.01044909656047821,
0.007082503288984299,
-0.03264330327510834,
0.003766534850001335,
0.0270137507468462,
-0.011188228614628315,
-0.03284580633044243,
-0.029362771660089493,
-0.02361171878874302,
-0.018093543127179146,
-0.013294247910380363,
-0.011360355652868748,
-0.020057810470461845,
0.06629911810159683,
0.022801712155342102,
-0.01608877442777157,
0.039001863449811935,
-0.025110233575105667,
-0.017678413540124893,
-0.00946696288883686,
-0.04888395220041275,
0.0010302283335477114,
0.0037817226257175207,
-0.02988927811384201,
-0.09396087378263474,
-0.021080445498228073,
0.03835385665297508,
0.0006574983126483858,
-0.03061828389763832,
-0.009456837549805641,
0.023712970316410065,
-0.050463467836380005,
0.013233497738838196,
0.043659403920173645,
0.019126301631331444,
0.016453277319669724,
0.04212038964033127,
-0.023247215896844864,
0.012717117555439472,
-0.015744520351290703,
0.011340104974806309,
-0.017648039385676384,
0.02359146811068058,
-0.06176307424902916,
0.04714243859052658,
-0.041431885212659836,
-0.021039946004748344,
0.0414116345345974,
-0.006692687049508095,
0.058482542634010315,
-0.03185354545712471,
0.026082241907715797,
-0.025231733918190002,
-0.06816213577985764,
-0.04232289269566536,
0.02745925448834896,
0.016716530546545982,
-0.005513113457709551,
-0.018366919830441475,
-0.030253781005740166,
0.01584577187895775,
-0.01059084851294756,
0.03424306958913803,
-0.0223359577357769,
0.03839435800909996,
0.04179638624191284,
0.03474932163953781,
-0.01748603768646717,
-0.02500898204743862,
0.005973805207759142,
-0.02014893665909767,
0.037847600877285004,
-0.029788026586174965,
-0.042687397450208664,
0.003485563676804304,
-0.03116503916680813,
-0.007340692915022373,
0.001233995775692165,
-0.01994643546640873,
0.003984224516898394,
0.029362771660089493,
0.001268800813704729,
0.003766534850001335,
-0.06010255590081215,
0.020108437165617943,
-0.03187379613518715,
-0.011107227765023708,
0.056538525968790054,
-0.03744259849190712,
-0.004763856530189514,
0.027135251089930534,
-0.023672468960285187,
-0.033433061093091965,
-0.06933664530515671,
-0.048276446759700775,
0.023166215047240257,
0.04698043689131737,
-0.048559948801994324,
0.022963713854551315,
0.024016723036766052,
0.010884475894272327,
0.07691021263599396,
-0.048519451171159744,
0.021039946004748344,
-0.03930561617016792,
0.030213279649615288,
0.0303752813488245,
-0.012423490174114704,
0.03533657640218735,
0.00911764707416296,
-0.06727112084627151,
-0.032744552940130234,
-0.02776300720870495,
-0.018670672550797462,
-0.0009815013036131859,
0.01919717900454998,
-0.05900904908776283,
0.027398504316806793,
0.0160280242562294,
-0.055080510675907135,
0.10764999687671661,
-0.028532514348626137,
-0.012706993147730827,
-0.036612339317798615,
0.046818435192108154,
0.035113826394081116,
-0.007340692915022373,
-0.016929157078266144,
0.01093510165810585,
0.03357481211423874,
-0.05131397768855095,
-0.02966652438044548,
0.03227879852056503,
-0.06293758749961853,
-0.07286017388105392,
-0.035660579800605774,
0.020027436316013336,
-0.05937355011701584,
-0.021303197368979454,
-0.03410131484270096,
0.028370512649416924,
0.003103341208770871,
-0.013081621378660202,
0.0000931825052248314,
0.014539634808897972,
0.01240324042737484,
0.00517392298206687,
0.06265407800674438,
-0.049045953899621964,
0.08569879829883575,
-0.009851716458797455,
-0.017141783609986305,
0.008120325393974781,
0.011309729889035225,
-0.00028397724963724613,
-0.017455661669373512,
-0.0021275354083627462,
0.012727242894470692,
0.022214455530047417,
0.016220400109887123,
0.032197799533605576,
0.002100957091897726,
0.03130679205060005,
-0.013213247992098331
]
|
29,391 | quart.app | run_task | Return a task that when awaited runs this application.
This is best used for development only, see Hypercorn for
production servers.
Arguments:
host: Hostname to listen on. By default this is loopback
only, use 0.0.0.0 to have the server listen externally.
port: Port number to listen on.
debug: If set enable (or disable) debug mode and debug output.
ca_certs: Path to the SSL CA certificate file.
certfile: Path to the SSL certificate file.
keyfile: Path to the SSL key file.
| def run_task(
self,
host: str = "127.0.0.1",
port: int = 5000,
debug: bool | None = None,
ca_certs: str | None = None,
certfile: str | None = None,
keyfile: str | None = None,
shutdown_trigger: Callable[..., Awaitable[None]] | None = None,
) -> Coroutine[None, None, None]:
"""Return a task that when awaited runs this application.
This is best used for development only, see Hypercorn for
production servers.
Arguments:
host: Hostname to listen on. By default this is loopback
only, use 0.0.0.0 to have the server listen externally.
port: Port number to listen on.
debug: If set enable (or disable) debug mode and debug output.
ca_certs: Path to the SSL CA certificate file.
certfile: Path to the SSL certificate file.
keyfile: Path to the SSL key file.
"""
config = HyperConfig()
config.access_log_format = "%(h)s %(r)s %(s)s %(b)s %(D)s"
config.accesslog = "-"
config.bind = [f"{host}:{port}"]
config.ca_certs = ca_certs
config.certfile = certfile
if debug is not None:
self.debug = debug
config.errorlog = config.accesslog
config.keyfile = keyfile
return serve(self, config, shutdown_trigger=shutdown_trigger)
| (self, host: str = '127.0.0.1', port: int = 5000, debug: Optional[bool] = None, ca_certs: Optional[str] = None, certfile: Optional[str] = None, keyfile: Optional[str] = None, shutdown_trigger: Optional[Callable[..., Awaitable[NoneType]]] = None) -> Coroutine[NoneType, NoneType, NoneType] | [
0.08203431218862534,
-0.05890602618455887,
-0.027263686060905457,
0.01741170883178711,
0.0073632532730698586,
-0.004104990512132645,
-0.03182946518063545,
0.013313734903931618,
-0.04161594808101654,
-0.04139140248298645,
0.05422797426581383,
0.02718883752822876,
0.02520534209907055,
-0.009767771698534489,
0.06399574875831604,
0.00046283475239761174,
0.039969272911548615,
-0.005618340335786343,
-0.012845929712057114,
-0.056061770766973495,
0.04071776196360588,
0.033457424491643906,
0.04131655395030975,
-0.01747720129787922,
-0.027338534593582153,
0.0491756796836853,
0.016466742381453514,
-0.014099648222327232,
0.021855857223272324,
-0.025317616760730743,
-0.009487088769674301,
0.007218233775347471,
0.008135131560266018,
0.025355041027069092,
0.03981957584619522,
-0.008200624957680702,
-0.018450235947966576,
0.0005710147088393569,
-0.016532234847545624,
0.00687673594802618,
0.0031600238289684057,
-0.03611455857753754,
0.03023892641067505,
0.015849240124225616,
0.005945803597569466,
0.007938654161989689,
0.049811895936727524,
-0.009014605544507504,
-0.024662688374519348,
-0.021088657900691032,
-0.028461266309022903,
0.0028980530332773924,
0.02632807567715645,
-0.024905947968363762,
0.0032465679105371237,
0.04764127731323242,
0.005515423137694597,
0.04767870157957077,
0.011985168792307377,
-0.02382063865661621,
-0.056286320090293884,
-0.008233371190726757,
-0.026852017268538475,
0.04805294796824455,
0.0006607748218812048,
0.03248438984155655,
-0.06519332528114319,
0.014548741281032562,
0.02430715598165989,
-0.02062085270881653,
0.06350923329591751,
0.02956528775393963,
-0.03763024881482124,
-0.009926825761795044,
0.050485532730817795,
-0.0013566350098699331,
-0.060103610157966614,
-0.0167661365121603,
-0.06182513013482094,
-0.03661978989839554,
0.020770549774169922,
0.018955465406179428,
0.03650751709938049,
-0.047978099435567856,
0.05512616038322449,
-0.028461266309022903,
0.03487955406308174,
-0.08398038148880005,
-0.08555220812559128,
0.00953854713588953,
0.017692390829324722,
0.030594458803534508,
-0.04457247629761696,
0.029677560552954674,
0.00865907408297062,
-0.02382063865661621,
0.008696498349308968,
0.013266954571008682,
-0.037368278950452805,
-0.023614805191755295,
0.03618940711021423,
0.051570843905210495,
-0.0033097215928137302,
-0.0019951891154050827,
0.034711144864559174,
-0.019095806404948235,
-0.012284563854336739,
0.01626090705394745,
-0.02808702178299427,
-0.007541019469499588,
-0.019834939390420914,
0.08749827742576599,
0.001581181539222598,
-0.021893281489610672,
-0.07784277945756912,
0.0120413051918149,
-0.017683034762740135,
0.01994721218943596,
-0.02503693290054798,
-0.011115050874650478,
-0.034580159932374954,
0.019198725000023842,
0.01786080189049244,
0.012060017324984074,
-0.03626425564289093,
0.09303709119558334,
-0.036151982843875885,
0.003985700197517872,
0.023203136399388313,
-0.05890602618455887,
0.05894345045089722,
0.0201717596501112,
0.07192972302436829,
0.09243830293416977,
-0.025355041027069092,
0.04524611681699753,
-0.0008911688346415758,
0.012031949125230312,
0.013500857166945934,
0.06182513013482094,
-0.021537750959396362,
-0.02170616015791893,
-0.025355041027069092,
0.029509149491786957,
0.07286533713340759,
-0.039707303047180176,
-0.04853946343064308,
-0.0425141341984272,
0.02494337223470211,
0.03055703453719616,
0.029733696952462196,
-0.005300232674926519,
0.024643976241350174,
-0.0034009437076747417,
-0.0201717596501112,
0.03181075304746628,
0.048202645033597946,
0.02632807567715645,
0.004954056814312935,
-0.028966495767235756,
-0.03777994588017464,
0.004846461582928896,
0.017589474096894264,
0.007063858211040497,
-0.04210246726870537,
-0.03574031591415405,
0.027843764051795006,
0.06859894841909409,
0.03355098515748978,
0.029322028160095215,
0.0033284337259829044,
0.02606610395014286,
-0.07799247652292252,
0.03572160378098488,
0.05666056275367737,
-0.007700073067098856,
0.025635723024606705,
0.004088617395609617,
-0.031342945992946625,
-0.013229530304670334,
-0.06414544582366943,
-0.010235576890408993,
-0.023577380925416946,
0.0106285335496068,
0.042663831263780594,
0.06639090925455093,
-0.014932340942323208,
0.037274714559316635,
0.026852017268538475,
-0.008977181278169155,
-0.058082688599824905,
0.0014127716422080994,
0.019123874604701996,
-0.037499263882637024,
0.027151411399245262,
-0.037723809480667114,
-0.06410802155733109,
-0.008836839348077774,
0.03564675524830818,
-0.06044042855501175,
-0.006128247827291489,
-0.029228467494249344,
0.045283541083335876,
0.03495440259575844,
-0.011423802003264427,
-0.010142016224563122,
-0.01977880299091339,
0.016981327906250954,
0.03482341766357422,
0.05879375338554382,
0.004561100620776415,
-0.04651854559779167,
-0.02372707799077034,
-0.014492603950202465,
0.05303039401769638,
-0.025860270485281944,
-0.029696272686123848,
0.011582856066524982,
-0.021781008690595627,
0.030819004401564598,
0.07144320756196976,
0.011985168792307377,
0.07297760993242264,
0.02206169255077839,
0.008275473490357399,
-0.014305482618510723,
0.015138175338506699,
-0.06942228972911835,
-0.05733420327305794,
0.00135897402651608,
-0.006217130925506353,
0.017177805304527283,
-0.0034477240405976772,
0.0106285335496068,
-0.04094230756163597,
0.0274508073925972,
0.012883354909718037,
0.024681400507688522,
0.015755677595734596,
-0.03340128809213638,
0.028199296444654465,
0.012789793312549591,
0.001088816556148231,
-0.07275305688381195,
-0.02138805203139782,
-0.02385806292295456,
-0.016504166647791862,
0.02718883752822876,
-0.04835234209895134,
0.030444759875535965,
-0.036245543509721756,
-0.07731883972883224,
0.00040699049714021385,
0.00428041722625494,
-0.006942228879779577,
0.031567491590976715,
-0.015727609395980835,
-0.05972936376929283,
0.0024255698081105947,
0.05913057550787926,
-0.0014408399583771825,
-0.028816798701882362,
-0.02413874678313732,
0.07761823385953903,
0.034898266196250916,
-0.028012173250317574,
-0.005421862006187439,
-0.0341123528778553,
0.005393793806433678,
-0.02619708888232708,
0.06567984819412231,
0.04696764051914215,
0.01715909317135811,
-0.021013807505369186,
-0.05579980090260506,
0.014052866958081722,
-0.025598298758268356,
-0.013959306292235851,
-0.060552701354026794,
0.013351159170269966,
-0.0004488005943130702,
-0.015755677595734596,
-0.0044885906390845776,
-0.009463698603212833,
-0.008107063360512257,
-0.016943903639912605,
-0.02295987866818905,
0.08570190519094467,
-0.006231165025383234,
0.007124672643840313,
0.041990190744400024,
0.013004983775317669,
0.014969765208661556,
-0.05011129006743431,
0.021313203498721123,
-0.016139278188347816,
-0.06152573600411415,
0.051832813769578934,
-0.00040318959509022534,
-0.04790325090289116,
0.05014871433377266,
-0.02062085270881653,
-0.01872156374156475,
-0.007971400395035744,
0.020415017381310463,
0.05643601715564728,
-0.035384781658649445,
0.02062085270881653,
-0.03068801946938038,
0.006380862556397915,
0.007003043312579393,
-0.06844925135374069,
0.028685813769698143,
-0.061001796275377274,
-0.010862436145544052,
0.03542220592498779,
0.011760622262954712,
0.03966987878084183,
-0.021593887358903885,
0.006240521091967821,
-0.06579212099313736,
0.018281826749444008,
0.031043551862239838,
0.015634048730134964,
0.02952786162495613,
-0.004603202920407057,
0.02539246529340744,
0.018515728414058685,
-0.016148634254932404,
0.06384605169296265,
-0.0015753338811919093,
0.08981859683990479,
-0.0036301680374890566,
-0.02453170344233513,
-0.0325218141078949,
-0.0762709528207779,
0.02700171433389187,
0.029322028160095215,
-0.04812779650092125,
-0.05703480541706085,
-0.00010130905866390094,
0.0031530067790299654,
-0.02093895897269249,
0.0436742901802063,
0.031342945992946625,
-0.0010274171363562346,
-0.034486595541238785,
-0.014810712076723576,
0.019441982731223106,
-0.03888396546244621,
0.035702891647815704,
-0.041952766478061676,
-0.011695128865540028,
0.014904272742569447,
0.023932913318276405,
0.004846461582928896,
-0.0027717456687241793,
-0.035665467381477356,
0.021331915631890297,
-0.08106128126382828,
-0.06691484898328781,
0.019703954458236694,
-0.019647818058729172,
0.0016419962048530579,
-0.022716619074344635,
-0.05056038126349449,
0.00033974350662902,
-0.007269692607223988,
0.049774471670389175,
0.050672657787799835,
0.02449427917599678,
-0.001377686276100576,
-0.018899329006671906,
0.010506903752684593,
0.0021472256630659103,
-0.07230396568775177,
-0.03774252161383629,
-0.03671335056424141,
-0.013959306292235851,
0.06197483092546463,
-0.009019283577799797,
0.05119659751653671,
0.062087103724479675,
-0.034898266196250916,
-0.05007386580109596,
-0.07570958882570267,
-0.02700171433389187,
-0.015727609395980835,
0.030631883069872856,
0.018515728414058685,
0.00428743427619338,
0.013472788967192173,
-0.019348422065377235,
0.017009396106004715,
-0.017739173024892807,
-0.04116685688495636,
-0.005894345231354237,
0.01936713419854641,
0.008925722911953926,
-0.0066849361173808575,
0.004642966203391552,
0.0010905708186328411,
0.005407827906310558,
0.05321751534938812,
0.03796706721186638,
-0.001574164372868836,
0.0760464072227478,
-0.07121866196393967,
0.08143552392721176,
0.013089188374578953,
0.007802990265190601,
-0.03888396546244621,
-0.0826331079006195,
0.0008151505026035011,
-0.07013335078954697,
0.006600731052458286,
-0.029228467494249344,
-0.008027536794543266,
0.03446788340806961,
0.009285932406783104,
0.005983228329569101,
0.019348422065377235,
0.02202426828444004,
0.00820998102426529,
0.0024185527581721544,
0.014333550818264484,
0.052244480699300766,
0.009360781870782375,
-0.03355098515748978,
-0.040418367832899094,
0.0022396172862499952,
0.021724872291088104,
-0.025860270485281944,
0.026047391816973686,
0.06070239841938019,
-0.018038567155599594,
0.009150269441306591,
0.026309363543987274,
0.0614883117377758,
-0.036601077765226364,
-0.06291043758392334,
-0.0002629942318890244,
0.02417617104947567,
-0.0737260952591896,
0.06953456252813339,
-0.0006935211713425815,
0.02295987866818905,
-0.002472350373864174,
0.07252851128578186,
-0.058082688599824905,
-0.000005249102741800016,
0.010815655812621117,
-0.032334692776203156,
-0.0009671871666796505,
0.026028679683804512,
-0.007185487542301416,
-0.0018735596677288413,
0.05160826817154884,
-0.06710197031497955,
0.014726506546139717,
0.020059484988451004,
-0.012088085524737835,
0.010067167691886425,
-0.05321751534938812,
0.004242992959916592,
-0.03933306038379669,
0.05666056275367737,
0.03139908239245415,
-0.0032091434113681316,
-0.06844925135374069,
0.002177633112296462,
-0.01753333769738674,
-0.01029171422123909,
0.04490929841995239,
-0.0029682237654924393,
0.04004412144422531,
0.02580413408577442,
-0.0069188387133181095,
-0.018833836540579796,
-0.042401861399412155,
-0.013912525959312916,
0.030631883069872856,
0.008074317127466202,
0.07312730699777603,
-0.015315941534936428,
-0.00803221482783556,
0.04603203013539314,
0.01824440248310566,
0.0336071252822876,
-0.04726703464984894,
0.031155824661254883,
-0.008556156419217587,
0.012387480586767197,
-0.01471715047955513,
-0.0481652207672596,
-0.005711901001632214,
-0.032690227031707764,
0.023446395993232727,
0.01413707248866558,
0.04315035045146942,
-0.009225117973983288,
0.0195916797965765,
0.04221474006772041,
0.0659043937921524,
-0.00011665891361190006,
0.03055703453719616,
-0.03613327071070671,
0.03933306038379669,
-0.03091256506741047,
-0.007555053569376469,
-0.007199521642178297,
-0.01683163084089756,
0.005870955064892769,
-0.07073213905096054,
0.016943903639912605,
0.014099648222327232,
-0.06553015112876892,
-0.002364755142480135,
-0.018094703555107117,
-0.0021027843467891216,
0.01368797942996025,
0.07099411636590958,
0.031155824661254883,
0.06657803058624268,
-0.022623058408498764,
-0.004081600345671177,
0.0682247057557106,
-0.004315502941608429,
-0.007091926410794258,
0.08862101286649704,
-0.01359441876411438,
-0.0291161946952343,
0.015755677595734596,
-0.03358841314911842,
0.068374402821064,
0.027076562866568565,
-0.05681025981903076,
-0.01757076196372509,
-0.11399476230144501,
-0.033363863825798035,
-0.004827749449759722,
0.04326262325048447,
-0.006376184523105621,
-0.08862101286649704,
-0.08704918622970581,
-0.01824440248310566,
0.009889401495456696,
0.032241132110357285,
0.018777700141072273,
-0.02286631613969803,
-0.01242490578442812,
0.018487660214304924,
0.06788788735866547,
0.012256495654582977,
-0.05748390033841133,
-0.014305482618510723,
0.005304910708218813,
-0.021088657900691032,
-0.027226261794567108,
-0.005459286272525787,
-0.0019577646162360907,
-0.002279380802065134,
-0.0938604325056076,
-0.00233317818492651,
-0.023165712133049965,
0.04236443713307381,
-0.01413707248866558,
-0.0034032827243208885,
0.0128552857786417,
-0.058307237923145294,
0.0014958070823922753,
0.04569520801305771,
0.03766767308115959,
0.023989049717783928,
-0.04404853656888008,
0.07484883069992065,
0.012050661258399487,
0.019385846331715584,
0.04023124650120735,
-0.008565512485802174,
-0.039520181715488434,
-0.003985700197517872,
-0.026721032336354256,
0.024325868114829063,
-0.11781205236911774,
-0.022042980417609215,
-0.007896550931036472,
-0.015381434001028538,
0.0005432387697510421,
-0.048876285552978516,
-0.005230061709880829,
-0.040830034762620926,
-0.00414475379511714,
-0.002423230791464448,
-0.0025471991393715143,
-0.03783608227968216,
-0.04206504300236702,
0.017589474096894264,
0.05467706918716431,
0.018899329006671906,
-0.041279129683971405,
0.002151903696358204,
0.04348716884851456,
-0.08854616433382034,
-0.014932340942323208,
0.013800252228975296,
-0.027937324717640877,
-0.05097205191850662,
0.006596053019165993,
-0.012471686117351055,
-0.027244973927736282,
-0.047079913318157196,
-0.03832260146737099,
0.052730999886989594,
-0.02718883752822876,
0.019741378724575043,
-0.03046347200870514,
0.06425771862268448,
0.012153577990829945,
-0.03796706721186638,
0.05774587020277977,
-0.009580650366842747,
-0.014193208888173103,
0.03317674249410629,
-0.015119463205337524,
0.03087514080107212,
0.04273867979645729,
-0.022230101749300957,
-0.06526818126440048,
0.004331876058131456,
0.016148634254932404,
0.013809608295559883,
-0.01833796314895153,
0.028030885383486748,
0.0137254036962986,
-0.04610687866806984,
0.037012744694948196,
0.04389883577823639,
0.009416918270289898,
-0.0025963187217712402,
0.034580159932374954,
-0.026590045541524887,
-0.01029171422123909,
-0.041279129683971405,
0.01866542547941208,
-0.03405621647834778,
0.03721857815980911,
-0.02045244164764881,
0.0514211431145668,
-0.04146625101566315,
-0.02687072940170765,
0.03742441534996033,
-0.006937550846487284,
0.04386141151189804,
-0.019292285665869713,
-0.011788690462708473,
-0.00023989634064491838,
-0.03514152392745018,
-0.052955545485019684,
0.029583999887108803,
0.013248242437839508,
-0.014661014080047607,
-0.015699541196227074,
-0.08405523002147675,
0.016326401382684708,
0.002811509184539318,
0.053142666816711426,
-0.0391085110604763,
-0.031043551862239838,
0.07121866196393967,
0.03888396546244621,
-0.05935512110590935,
-0.009767771698534489,
0.008443883620202541,
0.003489826573058963,
0.025149205699563026,
-0.036563653498888016,
-0.039183359593153,
-0.05377888306975365,
-0.03132423385977745,
0.019572967663407326,
-0.03877169266343117,
0.019572967663407326,
0.05198251083493233,
0.0014326534001156688,
0.0063855405896902084,
-0.0012256494956091046,
-0.08173491805791855,
0.015297229401767254,
0.0034594193566590548,
-0.0040511926636099815,
0.0037471193354576826,
-0.020826686173677444,
0.0307441558688879,
-0.0106285335496068,
0.0335322730243206,
-0.03424333781003952,
-0.0706198662519455,
-0.0011490464676171541,
0.028161872178316116,
0.036432668566703796,
-0.05774587020277977,
0.010675313882529736,
0.039520181715488434,
0.008677786216139793,
0.011517363600432873,
-0.012705588713288307,
0.024831099435687065,
-0.021331915631890297,
0.024026473984122276,
0.034224625676870346,
-0.0167661365121603,
0.0274508073925972,
0.04071776196360588,
-0.06579212099313736,
-0.004982125014066696,
-0.04865173622965813,
-0.01114311907440424,
-0.014604877680540085,
0.005281520541757345,
-0.03854714706540108,
-0.030033092945814133,
0.025729283690452576,
-0.038397450000047684,
0.08862101286649704,
-0.015736965462565422,
-0.028872935101389885,
-0.0374431274831295,
0.05419054999947548,
0.033232878893613815,
-0.001153139746747911,
-0.011171187274158001,
0.03276507556438446,
0.031979162245988846,
-0.05688510835170746,
0.006614765152335167,
0.01159221213310957,
-0.06160058453679085,
-0.05579980090260506,
0.017271367833018303,
0.03981957584619522,
-0.034486595541238785,
0.021107370033860207,
-0.06410802155733109,
0.05100947618484497,
0.02000334858894348,
-0.0051926374435424805,
0.016017649322748184,
0.011751266196370125,
-0.004598524887114763,
-0.013295022770762444,
0.0874234288930893,
-0.03132423385977745,
0.07589671015739441,
0.028386417776346207,
-0.004935344681143761,
0.009304644539952278,
-0.005866277031600475,
-0.0014045850839465857,
-0.014698438346385956,
-0.0006449864013120532,
-0.003896817099303007,
-0.026758456602692604,
-0.009206405840814114,
0.033775534480810165,
0.036020997911691666,
0.05527585744857788,
0.01381896436214447
]
|
29,393 | quart.app | send_static_file | null | def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Quart
class.
"""
value = self.config["SEND_FILE_MAX_AGE_DEFAULT"]
if value is None:
return None
if isinstance(value, timedelta):
return int(value.total_seconds())
return value
return None
| (self, filename: str) -> quart.wrappers.response.Response | [
0.0674249678850174,
-0.009924369864165783,
-0.03737494349479675,
0.019955933094024658,
0.04162696748971939,
0.021331587806344032,
-0.020134590566158295,
0.0009362717973999679,
-0.009835041128098965,
-0.03841115161776543,
-0.0074723088182508945,
-0.009808243252336979,
-0.0510600320994854,
-0.006909540854394436,
0.06964030861854553,
0.021992618218064308,
0.04098380729556084,
-0.03633873537182808,
0.03708909451961517,
-0.0557408332824707,
0.057062894105911255,
-0.04580753296613693,
-0.056098148226737976,
-0.0414840430021286,
-0.0017753991996869445,
0.027691761031746864,
0.027941878885030746,
0.0072400555945932865,
0.0070167346857488155,
0.018580278381705284,
-0.015176871791481972,
-0.015176871791481972,
0.020563365891575813,
0.015185804106295109,
-0.00015255592006724328,
0.02020605280995369,
-0.06428061425685883,
-0.024154361337423325,
-0.11941401660442352,
-0.030014295130968094,
0.009115949273109436,
0.04091234132647514,
0.03133635222911835,
0.0028406386263668537,
-0.045914724469184875,
0.02272510901093483,
-0.03905431553721428,
0.01652572862803936,
-0.015159005299210548,
-0.0022935031447559595,
0.04859457165002823,
0.031247025355696678,
-0.03698189929127693,
0.010594331659376621,
-0.016900906339287758,
0.0387684665620327,
-0.02660195529460907,
0.058956652879714966,
-0.028817296028137207,
0.004189495462924242,
0.0002704971411731094,
-0.0435207299888134,
0.029085282236337662,
-0.08311101049184799,
0.013783350586891174,
0.053382568061351776,
0.004792461171746254,
0.015150072984397411,
-0.001757533522322774,
0.014087066985666752,
0.05363268777728081,
-0.027316581457853317,
-0.024190092459321022,
0.03387327492237091,
0.008271796628832817,
-0.03909004479646683,
-0.03517746925354004,
0.02903168462216854,
-0.03758933022618294,
0.04409242793917656,
0.055990952998399734,
-0.046986665576696396,
0.04409242793917656,
-0.04105526953935623,
0.03206884488463402,
-0.00419172877445817,
0.04234159365296364,
-0.03324797749519348,
-0.05431158095598221,
0.03887565806508064,
-0.012005718424916267,
0.04609338194131851,
0.03206884488463402,
0.020331112667918205,
0.020670559257268906,
-0.06731777638196945,
-0.03281920403242111,
0.027459507808089256,
0.028281327337026596,
-0.03517746925354004,
0.005498154554516077,
0.03373035043478012,
0.05034540593624115,
-0.06392329931259155,
0.035927824676036835,
-0.0018044308526441455,
-0.004064435604959726,
-0.03969747945666313,
0.050131019204854965,
-0.02320748195052147,
-0.010594331659376621,
-0.023332541808485985,
-0.013336708769202232,
0.028870893642306328,
0.020670559257268906,
0.05356122553348541,
-0.04787994548678398,
0.015668176114559174,
0.06617437303066254,
-0.01696343719959259,
-0.031050503253936768,
0.023100288584828377,
-0.01661505550146103,
-0.02756670117378235,
0.009906504303216934,
0.028066938742995262,
0.0029545321594923735,
-0.08661267906427383,
0.06324440985918045,
0.041269656270742416,
0.034534305334091187,
0.004113566596060991,
0.06378037482500076,
0.008959624916315079,
-0.016114817932248116,
0.001937306602485478,
0.05256074666976929,
0.11848500370979309,
-0.013899477198719978,
0.037910912185907364,
-0.012327299453318119,
0.03390900790691376,
0.050416868180036545,
-0.05238209292292595,
0.031425680965185165,
0.0008625760092400014,
0.027370179072022438,
0.012729276902973652,
-0.0463077686727047,
-0.017722725868225098,
0.04234159365296364,
-0.017517272382974625,
-0.041412580758333206,
0.020098857581615448,
0.06160076707601547,
0.007235588971525431,
-0.03766079619526863,
0.06467366218566895,
-0.06903287768363953,
-0.062101006507873535,
-0.02224273607134819,
0.035302527248859406,
-0.010022630915045738,
-0.08625536412000656,
0.03251548483967781,
-0.053382568061351776,
-0.0282455962151289,
0.09833254665136337,
0.02233206480741501,
0.10219153016805649,
-0.018723202869296074,
0.003986273426562548,
0.005636613350361586,
0.00862910971045494,
0.004627204034477472,
0.03315864875912666,
0.02971057966351509,
-0.008995356038212776,
0.045628875494003296,
0.07825155556201935,
-0.011576942168176174,
-0.06713911890983582,
-0.024994047358632088,
0.04816579818725586,
0.06152930483222008,
0.023100288584828377,
-0.006565627176314592,
0.011648405343294144,
-0.005413292441517115,
0.04505717381834984,
0.03590996190905571,
-0.0008916077204048634,
0.013041925616562366,
-0.05288232862949371,
-0.005757206119596958,
0.019795142114162445,
-0.0066192238591611385,
-0.02034897729754448,
0.025655075907707214,
0.031050503253936768,
-0.013970939442515373,
0.023100288584828377,
-0.00218072603456676,
-0.07682230323553085,
0.0076956297270953655,
-0.04001906141638756,
0.02204621396958828,
-0.028281327337026596,
-0.03289066627621651,
0.06092187389731407,
-0.07910910993814468,
-0.0207420215010643,
-0.02578013576567173,
-0.005984993185847998,
-0.022081945091485977,
-0.0023180684074759483,
-0.03323011100292206,
0.044414009898900986,
-0.03701763227581978,
0.03276560455560684,
0.07071225345134735,
-0.016248811036348343,
-0.06010005250573158,
0.009218676015734673,
0.059921395033597946,
-0.01918770931661129,
0.033855412155389786,
0.014238924719393253,
-0.01709742844104767,
0.033944737166166306,
-0.026280373334884644,
0.04920200631022453,
0.045343026518821716,
0.009433064609766006,
0.08782754838466644,
0.012756075710058212,
0.017910316586494446,
0.03424845635890961,
-0.02190328948199749,
-0.0026597490068525076,
0.03826822713017464,
0.03644593060016632,
0.012872202321887016,
0.059528350830078125,
0.010701525956392288,
-0.06692473590373993,
-0.0018267629202455282,
0.06753216683864594,
-0.04777275398373604,
-0.0012673446908593178,
0.08389709889888763,
-0.0014716830337420106,
-0.06270843744277954,
0.015284065157175064,
-0.01080871932208538,
0.06495951116085052,
-0.04802287369966507,
-0.013685089536011219,
-0.027691761031746864,
0.040054790675640106,
0.061850886791944504,
-0.055026207119226456,
-0.026977134868502617,
-0.0285493116825819,
-0.0054758223704993725,
0.021295856684446335,
-0.007253454532474279,
-0.0282098650932312,
-0.06052882969379425,
0.0034815690014511347,
0.029549788683652878,
-0.016409602016210556,
-0.029567653313279152,
-0.07317771017551422,
-0.039268702268600464,
-0.06578133255243301,
0.012639949098229408,
-0.007878752425312996,
-0.0455574132502079,
-0.011353622190654278,
-0.05088137835264206,
-0.025887329131364822,
0.06017151474952698,
-0.03424845635890961,
-0.062386855483055115,
0.051488809287548065,
-0.03503454476594925,
0.028281327337026596,
-0.03135421872138977,
0.03708909451961517,
-0.024440212175250053,
-0.022617915645241737,
-0.01569497585296631,
-0.05288232862949371,
-0.0061368513852357864,
-0.048094335943460464,
-0.00455574132502079,
-0.03155074268579483,
0.07910910993814468,
0.04502144455909729,
-0.03905431553721428,
-0.005569616798311472,
0.018776800483465195,
0.004260958172380924,
-0.012175441719591618,
0.027977611869573593,
-0.02960338443517685,
-0.04527156054973602,
0.0489518865942955,
0.020581230521202087,
0.019062651321291924,
-0.007423178292810917,
-0.008959624916315079,
-0.012559553608298302,
0.0592067688703537,
0.05034540593624115,
0.011934255249798298,
0.01720462366938591,
-0.01850881613790989,
0.0002917126112151891,
0.010915913619101048,
0.051774658262729645,
0.00819140113890171,
-0.011800263077020645,
0.04541448876261711,
-0.024118630215525627,
0.021117201074957848,
0.050416868180036545,
0.019366366788744926,
0.014346118085086346,
-0.03758933022618294,
0.04180562496185303,
0.020241783931851387,
-0.027120059356093407,
-0.009638519026339054,
0.01831229403614998,
0.0036892571952193975,
-0.005471355747431517,
0.03934016451239586,
0.0010557483183220029,
-0.022760840132832527,
-0.08496904373168945,
0.005395426880568266,
0.03662458807229996,
0.0020433838944882154,
-0.0141049325466156,
0.07825155556201935,
0.003984040580689907,
0.040626492351293564,
-0.06453073769807816,
-0.02054549939930439,
-0.018258696421980858,
-0.028656505048274994,
0.02170676738023758,
-0.005292699206620455,
-0.05670557916164398,
0.016222011297941208,
0.0149535508826375,
-0.012595284730196,
0.034141261130571365,
-0.06706766039133072,
0.009647452272474766,
-0.0028897691518068314,
0.00973678007721901,
0.008664840832352638,
0.028477849438786507,
0.03758933022618294,
-0.016802646219730377,
0.00031376551487483084,
-0.024404481053352356,
-0.06242258846759796,
-0.009093617089092731,
0.040340643376111984,
-0.026083851233124733,
0.023439735174179077,
-0.0299428328871727,
-0.04737970978021622,
0.016248811036348343,
0.014221059158444405,
0.033319439738988876,
-0.006453966721892357,
0.01412279810756445,
0.008213733322918415,
-0.00021103801555000246,
-0.008008278906345367,
0.018937591463327408,
-0.013006194494664669,
-0.06663887947797775,
0.0074723088182508945,
-0.0025369226932525635,
0.029013818129897118,
0.018544547259807587,
-0.00032325665233656764,
0.01170200202614069,
-0.03189018741250038,
0.007253454532474279,
-0.03276560455560684,
0.054776087403297424,
0.04344926401972771,
-0.0019239074317738414,
-0.00835665874183178,
0.03880419582128525,
-0.028317058458924294,
0.030782518908381462,
-0.006824679207056761,
0.012497023679316044,
0.034016203135252,
0.01841948740184307,
-0.021581707522273064,
-0.008329859934747219,
-0.01327417977154255,
-0.04545021802186966,
-0.028531447052955627,
0.00304162735119462,
0.0158021692186594,
0.021385185420513153,
-0.020366843789815903,
-0.04995236173272133,
0.028459982946515083,
-0.02620891109108925,
-0.004531175829470158,
-0.014194260351359844,
-0.016016557812690735,
-0.03126488998532295,
-0.02190328948199749,
0.02776322327554226,
0.005091710947453976,
0.009263340383768082,
-0.07846594601869583,
0.03905431553721428,
0.004412815906107426,
0.01899118721485138,
-0.049845170229673386,
-0.002519056899473071,
0.09726060926914215,
-0.019455695524811745,
-0.0025659543462097645,
-0.04787994548678398,
-0.046200577169656754,
-0.018330158665776253,
0.016900906339287758,
-0.021921154111623764,
0.000788880221080035,
0.014891020953655243,
0.03323011100292206,
-0.04927346855401993,
-0.03973320871591568,
0.012756075710058212,
0.013211649842560291,
-0.04030491039156914,
-0.020474037155508995,
-0.010317414067685604,
0.00650756387040019,
-0.015971893444657326,
0.008343259803950787,
0.025333493947982788,
-0.07028347253799438,
-0.0012271469458937645,
-0.012005718424916267,
-0.028995953500270844,
-0.047951411455869675,
0.050416868180036545,
0.07725107669830322,
-0.06692473590373993,
-0.050524063408374786,
0.046736545860767365,
0.006998869124799967,
-0.027120059356093407,
-0.046200577169656754,
-0.002147227991372347,
0.00496665108948946,
-0.023761317133903503,
-0.07028347253799438,
-0.03833968937397003,
-0.058992382138967514,
-0.036177944391965866,
0.02190328948199749,
0.03276560455560684,
0.021349454298615456,
-0.01012982428073883,
0.0435207299888134,
0.05559790879487991,
0.003276113886386156,
0.01816936768591404,
0.004895188845694065,
-0.04423535242676735,
-0.046736545860767365,
-0.005248035304248333,
-0.0134439030662179,
-0.025815866887569427,
-0.055026207119226456,
0.0017675829585641623,
-0.009629586711525917,
-0.00200541946105659,
-0.01255062036216259,
0.03737494349479675,
0.08546927571296692,
0.03237256035208702,
0.02360052615404129,
0.01758873462677002,
-0.0551334023475647,
-0.026673417538404465,
0.005064912140369415,
0.05831348896026611,
-0.0285493116825819,
0.010165556333959103,
-0.038089569658041,
-0.010987375862896442,
-0.001422552508302033,
-0.0021405285224318504,
0.02960338443517685,
0.013068724423646927,
-0.016927706077694893,
0.039232973009347916,
-0.009066818282008171,
0.010281682945787907,
0.029442595317959785,
-0.032676275819540024,
0.00867377407848835,
-0.026226777583360672,
0.0019239074317738414,
-0.028602909296751022,
0.018294427543878555,
-0.02368985489010811,
-0.014372916892170906,
-0.01695450395345688,
0.04026918113231659,
-0.010915913619101048,
0.02620891109108925,
0.04448547214269638,
0.017070630565285683,
-0.015132207423448563,
0.023618392646312714,
0.023136019706726074,
0.03203311562538147,
0.03285493329167366,
-0.0571700856089592,
-0.024011436849832535,
-0.10705098509788513,
-0.03353383019566536,
-0.03723201900720596,
-0.036660317331552505,
0.03826822713017464,
0.029281804338097572,
-0.034963082522153854,
-0.04813006520271301,
-0.013551097363233566,
0.04612911492586136,
0.10655074566602707,
-0.036231543868780136,
-0.0065924255177378654,
0.0224392581731081,
0.047272514551877975,
-0.08789900690317154,
0.03283706679940224,
0.004486511927098036,
0.052453555166721344,
-0.027941878885030746,
0.006471832282841206,
-0.049737975001335144,
0.0067978803999722,
-0.011880658566951752,
0.02020605280995369,
-0.001851328182965517,
-0.04820152744650841,
-0.020080992951989174,
0.04323487728834152,
0.022510722279548645,
-0.03251548483967781,
-0.014667700044810772,
-0.0032872799783945084,
0.0652453601360321,
0.0448785163462162,
-0.0333373062312603,
0.04098380729556084,
0.01024595182389021,
-0.02272510901093483,
0.04802287369966507,
0.033515963703393936,
0.029567653313279152,
0.03367675468325615,
-0.017410077154636383,
0.037767987698316574,
0.012282636016607285,
-0.07264173775911331,
-0.0428418330848217,
0.025655075907707214,
0.005967127624899149,
-0.016829444095492363,
0.04151977598667145,
-0.036231543868780136,
0.011300024576485157,
-0.005029181018471718,
0.008691639639437199,
0.0017776323948055506,
0.03489161655306816,
-0.02340400405228138,
-0.00887029618024826,
-0.025029778480529785,
0.061815157532691956,
0.025279898196458817,
0.004971117712557316,
-0.024118630215525627,
0.08332540094852448,
-0.024654598906636238,
-0.016079086810350418,
-0.017043832689523697,
0.026566224172711372,
-0.0010713808005675673,
0.0050202482379972935,
-0.03691043704748154,
-0.021724632009863853,
-0.003066192613914609,
0.03446284309029579,
-0.005073845386505127,
0.03969747945666313,
-0.02674488164484501,
0.03203311562538147,
-0.04294902831315994,
-0.06603144854307175,
-0.058956652879714966,
0.02360052615404129,
0.03492734953761101,
-0.005185505375266075,
0.035159602761268616,
-0.02102787233889103,
0.009558123536407948,
0.01412279810756445,
-0.07207003980875015,
0.0204025749117136,
-0.010790853761136532,
-0.04405669867992401,
0.06256551295518875,
-0.025190569460392,
-0.027120059356093407,
0.009316937066614628,
-0.00979037769138813,
0.04037637263536453,
-0.016784779727458954,
-0.004028704483062029,
0.04187708720564842,
-0.03891139104962349,
-0.026155315339565277,
-0.025404956191778183,
-0.0032962127588689327,
-0.006226179655641317,
0.005712542217224836,
0.03662458807229996,
0.029103146865963936,
-0.02456527203321457,
-0.020563365891575813,
-0.0803239718079567,
0.05838495120406151,
0.00685594417154789,
-0.07239162176847458,
-0.037767987698316574,
0.0112374946475029,
0.023707719519734383,
0.024386614561080933,
-0.06542401760816574,
-0.005306098610162735,
-0.05963554605841637,
-0.013926276005804539,
-0.03994759917259216,
-0.027298716828227043,
-0.08997142314910889,
-0.012523822486400604,
-0.050131019204854965,
-0.013622559607028961,
0.007427644915878773,
0.01642746664583683,
-0.0005663969786837697,
0.023636257275938988,
0.0038634473457932472,
0.041305385529994965,
0.0022644714917987585,
-0.019848739728331566,
0.06892568618059158,
-0.006364638451486826,
0.003720521926879883,
0.023975705727934837,
0.026476895436644554,
-0.03383754566311836,
0.008119938895106316,
0.02586946450173855,
0.008111005648970604,
0.023707719519734383,
0.002574887126684189,
0.006261911243200302,
0.04091234132647514,
-0.014846356585621834,
-0.037767987698316574,
-0.04491424933075905,
0.0016481063794344664,
-0.04584326222538948,
-0.062243930995464325,
0.013354575261473656,
0.10104812681674957,
-0.025601480156183243,
-0.016052288934588432,
-0.05023821443319321,
0.03169366717338562,
0.034820154309272766,
-0.020420439541339874,
-0.042627446353435516,
-0.06420915573835373,
-0.048344455659389496,
0.011666270904242992,
-0.04666508361697197,
-0.02136731892824173,
-0.033944737166166306,
0.0034212723840028048,
0.06585279107093811,
0.050131019204854965,
-0.03548118472099304,
0.044842787086963654,
-0.010228085331618786,
0.02838852070271969,
0.0016905373195186257,
0.009558123536407948,
-0.037625063210725784,
0.0666031539440155,
0.011085636913776398,
0.009772511199116707,
-0.04430681839585304,
-0.009406265802681446,
0.028191998600959778,
-0.011425084434449673,
0.01453370787203312,
0.026530493050813675,
0.009334803558886051,
-0.006864876952022314,
0.0489518865942955,
-0.06281562894582748,
-0.017240354791283607,
0.024118630215525627,
-0.00467633455991745,
-0.033605292439460754,
-0.02810266986489296,
0.0564911924302578,
0.002704413142055273,
0.022010482847690582,
-0.06202954426407814,
0.011371487751603127,
0.01706169731914997,
-0.059528350830078125,
-0.0207420215010643,
0.03528466448187828,
0.02490471862256527,
0.0018122470937669277,
0.003457003738731146,
-0.03465936332941055,
0.025333493947982788,
0.02611958235502243,
0.009379466995596886,
0.018812531605362892,
-0.053132448345422745,
-0.0021974751725792885,
0.03599928691983223,
0.056383997201919556,
-0.002027751412242651,
0.04923773556947708,
-0.005131908692419529,
0.022993093356490135,
0.014095999300479889,
-0.015301930718123913,
0.004515543580055237,
0.024118630215525627
]
|
29,394 | flask.sansio.app | shell_context_processor | Registers a shell context processor function.
.. versionadded:: 0.11
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: ~T_shell_context_processor) -> ~T_shell_context_processor | [
0.05359918996691704,
-0.054875362664461136,
-0.036464717239141464,
-0.052510689944028854,
0.053936999291181564,
0.003920003771781921,
-0.010753619484603405,
0.03759074956178665,
-0.047856420278549194,
-0.05476275831460953,
-0.0050389994867146015,
0.00211483146995306,
-0.007830624468624592,
0.010734851472079754,
0.02368423528969288,
0.03575156256556511,
0.06497212499380112,
0.0356014221906662,
0.07529409974813461,
-0.06744939833879471,
0.040612272918224335,
0.0011840944644063711,
0.00034396801493130624,
0.021957650780677795,
-0.02952084317803383,
0.0011201687157154083,
-0.02282094396650791,
-0.008792444132268429,
0.06572281569242477,
-0.048006556928157806,
-0.0071174693293869495,
-0.04830683395266533,
0.02875138632953167,
0.04729340225458145,
0.06061813235282898,
-0.023271357640624046,
-0.01243328582495451,
-0.00016304025484714657,
-0.0050389994867146015,
-0.024003278464078903,
0.01970558427274227,
0.0161961130797863,
-0.02255820296704769,
-0.054462481290102005,
0.036971431225538254,
0.02796316333115101,
-0.033743467181921005,
0.040349531918764114,
-0.018100986257195473,
0.03548882156610489,
0.0031528936233371496,
-0.03327428922057152,
0.026649458333849907,
0.04766874760389328,
0.013521784916520119,
0.027362611144781113,
-0.017613038420677185,
0.02603013999760151,
-0.004783296026289463,
-0.04654271528124809,
-0.012292531318962574,
0.05907921865582466,
-0.011748282238841057,
0.015098231844604015,
0.03836020454764366,
-0.010021697729825974,
-0.06193183735013008,
0.01171074714511633,
0.011907803826034069,
-0.025054244324564934,
0.011025743559002876,
0.00696263974532485,
-0.020362436771392822,
0.01347486674785614,
0.047481074929237366,
-0.04969560727477074,
0.019536679610610008,
-0.09316049516201019,
0.03785349056124687,
-0.05754030868411064,
0.029595911502838135,
-0.032711271196603775,
-0.053036175668239594,
0.010293821804225445,
0.06895077973604202,
0.03443785384297371,
0.039824049919843674,
0.012677259743213654,
-0.037252940237522125,
0.046167369931936264,
-0.053674258291721344,
0.0006052429671399295,
-0.011110196821391582,
0.029145497828722,
0.024791501462459564,
-0.03340565785765648,
0.017810095101594925,
-0.003990381024777889,
-0.0020550109911710024,
-0.029145497828722,
0.031134823337197304,
0.03394990786910057,
-0.0035141627304255962,
0.02435985580086708,
0.007877541705965996,
0.03351826220750809,
-0.0055644819512963295,
0.025842467322945595,
0.00977772381156683,
-0.017040638253092766,
-0.035695258527994156,
-0.03261743485927582,
-0.01858893409371376,
-0.05915428698062897,
-0.025035476312041283,
0.007985454052686691,
0.012968151830136776,
-0.007197230122983456,
0.07739602774381638,
-0.04226378723978996,
0.009402379393577576,
-0.031772907823324203,
0.02835727483034134,
-0.05904168635606766,
0.04913259297609329,
0.07668287307024002,
-0.03500087186694145,
0.028075765818357468,
0.02394697815179825,
0.008154358714818954,
-0.0330490805208683,
0.0686505064368248,
-0.055100567638874054,
0.050070952624082565,
0.009327310137450695,
0.017857013270258904,
-0.06028032302856445,
0.02927686832845211,
-0.021957650780677795,
0.09225966781377792,
-0.0018051723018288612,
-0.018729688599705696,
-0.0381912998855114,
-0.013071371242403984,
-0.0004495336615946144,
-0.018907977268099785,
0.005156294908374548,
0.003368716686964035,
-0.02848864533007145,
0.07199107110500336,
0.039185963571071625,
-0.004095946438610554,
-0.04350242391228676,
0.039073359221220016,
0.0005451291799545288,
0.03989911824464798,
-0.02253943495452404,
-0.0014779188204556704,
0.01993079110980034,
-0.08580374717712402,
-0.04233885556459427,
-0.03956130892038345,
-0.022051487118005753,
-0.08565361052751541,
-0.010218753479421139,
0.033105380833148956,
-0.003181044477969408,
0.01108204573392868,
0.016533924266695976,
0.05543837696313858,
-0.0466177836060524,
-0.002463198034092784,
-0.00031786985346116126,
0.0014966861344873905,
0.054087139666080475,
0.04170076921582222,
0.006789043080061674,
-0.029821118339896202,
-0.0019424076890572906,
-0.028826454654335976,
-0.020099695771932602,
-0.06317047774791718,
-0.06534747034311295,
0.013578086160123348,
0.014854257926344872,
0.05025862529873848,
-0.04042460024356842,
0.04158816859126091,
0.03083454817533493,
0.04079994559288025,
-0.0648219883441925,
0.04158816859126091,
0.07371765375137329,
0.01819482259452343,
-0.02499794214963913,
-0.00011861472012242302,
-0.02927686832845211,
-0.0032608050387352705,
0.004583894275128841,
-0.04297694191336632,
-0.05555098131299019,
0.043052010238170624,
0.012376983650028706,
-0.035151008516550064,
0.016974953934550285,
-0.0016808394575491548,
0.009566592052578926,
0.0072535318322479725,
-0.044891197234392166,
-0.037496913224458694,
-0.036727458238601685,
0.0023271357640624046,
0.024040812626481056,
-0.017969615757465363,
0.00641369866207242,
-0.07724589109420776,
0.03265497088432312,
-0.005146910902112722,
0.0041381726041436195,
0.006427774205803871,
0.04556681960821152,
0.055250708013772964,
0.01841064542531967,
-0.006470000371336937,
-0.015229602344334126,
-0.006713974289596081,
0.030008791014552116,
-0.007258223835378885,
-0.015558028593659401,
-0.01858893409371376,
-0.04353995993733406,
-0.0246038306504488,
0.05866634100675583,
0.030909616500139236,
0.04481612890958786,
-0.04466599225997925,
0.04965807497501373,
0.032579898834228516,
-0.017594272270798683,
0.0056160916574299335,
0.035826630890369415,
0.027268776670098305,
0.022858478128910065,
-0.03443785384297371,
0.0031833902467042208,
0.011635678820312023,
0.0014028499135747552,
-0.008754909969866276,
-0.0213946346193552,
-0.0317353755235672,
0.003500087186694145,
-0.026011371985077858,
0.0047997175715863705,
-0.004870094358921051,
-0.05115945264697075,
-0.028282206505537033,
-0.008806519210338593,
-0.035545121878385544,
-0.01339979749172926,
0.012104859575629234,
-0.008895663544535637,
-0.002564071910455823,
-0.036577317863702774,
0.07352998107671738,
-0.007276990916579962,
-0.02435985580086708,
0.0033429116010665894,
-0.023515330627560616,
-0.032054416835308075,
-0.015454808250069618,
0.04804409295320511,
0.06324554234743118,
-0.020174765959382057,
0.013155823573470116,
-0.054612621665000916,
-0.014037882909178734,
-0.024434925988316536,
0.010678550228476524,
-0.018861059099435806,
-0.013775141909718513,
0.013596853241324425,
-0.05093424394726753,
0.04316461458802223,
0.047856420278549194,
-0.008478092961013317,
-0.009674503467977047,
-0.04338981956243515,
0.05806579068303108,
-0.0070658596232533455,
-0.0036713380832225084,
0.02306491695344448,
0.017303379252552986,
0.03004632517695427,
-0.01295876782387495,
-0.012011023238301277,
0.038923222571611404,
-0.0751064270734787,
-0.013305961154401302,
0.020756550133228302,
-0.0764952003955841,
0.028695084154605865,
-0.013071371242403984,
0.03274880349636078,
0.032429762184619904,
0.0006679958896711469,
0.008412407711148262,
0.03562019020318985,
-0.025955069810152054,
-0.019536679610610008,
0.011579376645386219,
0.00991847738623619,
-0.012292531318962574,
-0.010218753479421139,
-0.011663829907774925,
0.0049873897805809975,
0.01795084960758686,
-0.03509470820426941,
-0.04894492030143738,
0.004365725442767143,
0.062382251024246216,
-0.04729340225458145,
0.028657549992203712,
0.040875013917684555,
0.008093365468084812,
0.030665643513202667,
0.0002095184609061107,
0.06320800632238388,
-0.008543778210878372,
0.001734795281663537,
0.02242683246731758,
-0.052285484969615936,
0.03162277117371559,
0.004912320990115404,
0.005067150574177504,
-0.009974779561161995,
0.004452523775398731,
-0.03002755716443062,
-0.06028032302856445,
-0.056939754635095596,
-0.06200690567493439,
0.05780304968357086,
-0.007844699546694756,
-0.0033311822917312384,
-0.006010203156620264,
-0.01334349624812603,
-0.011832734569907188,
0.00785877462476492,
0.023083684965968132,
0.049432866275310516,
-0.02668699249625206,
0.06763707101345062,
-0.034907035529613495,
0.014976244419813156,
0.0621945783495903,
0.017200160771608353,
-0.08242564648389816,
-0.01970558427274227,
-0.019743118435144424,
0.017087556421756744,
0.003952846396714449,
-0.008684532716870308,
0.021413402631878853,
-0.05119698494672775,
0.01624303124845028,
0.030534273013472557,
-0.025711096823215485,
0.012198694981634617,
-0.025861233472824097,
0.0110069764778018,
0.021413402631878853,
0.038510341197252274,
-0.035939231514930725,
0.007797781378030777,
-0.02512931264936924,
-0.015238985419273376,
-0.03719663619995117,
0.010978825390338898,
-0.04218871891498566,
-0.08250071853399277,
0.09090843051671982,
0.014760421589016914,
0.0466177836060524,
-0.00032871964504010975,
0.0039481548592448235,
-0.0015705820405855775,
-0.1036701425909996,
-0.020531343296170235,
-0.012705410830676556,
-0.023008616641163826,
-0.01178581640124321,
0.01893612928688526,
-0.05029615759849548,
0.004224971402436495,
0.06962639838457108,
0.03175414353609085,
-0.04519147425889969,
-0.01918010227382183,
0.03471936285495758,
0.0278505589812994,
0.0388481542468071,
0.07450588047504425,
-0.005320508033037186,
0.06287019699811935,
0.019405309110879898,
0.05870387703180313,
-0.016852967441082,
0.06031785532832146,
0.01081930473446846,
0.011935953982174397,
0.08407716453075409,
0.018973663449287415,
-0.012686642818152905,
-0.07401792705059052,
-0.04699312895536423,
-0.0388481542468071,
-0.036089371889829636,
0.00008657848229631782,
0.07011434435844421,
0.03203565254807472,
0.012217462994158268,
0.04680545628070831,
-0.0004037885519210249,
0.05397453531622887,
0.03648348152637482,
0.012095475569367409,
0.04297694191336632,
-0.026912199333310127,
0.03539498522877693,
-0.039974186569452286,
0.020043395459651947,
0.006207259371876717,
-0.0168154314160347,
-0.04485366493463516,
-0.031416330486536026,
0.014066033996641636,
-0.015201451256871223,
-0.010002929717302322,
0.002878422848880291,
0.00455339765176177,
0.04031199589371681,
0.0030684410594403744,
-0.0003504192573018372,
0.03952377289533615,
0.017415983602404594,
0.025804933160543442,
0.010237520560622215,
-0.06395869702100754,
0.03122865967452526,
0.09038294851779938,
-0.014591515995562077,
-0.012611574493348598,
-0.05754030868411064,
0.0023998587857931852,
-0.0033921757712960243,
-0.05540084466338158,
-0.041775841265916824,
0.013174590654671192,
0.01009676605463028,
-0.04338981956243515,
0.031679075211286545,
0.023402728140354156,
-0.02537328563630581,
0.021450936794281006,
-0.025354519486427307,
0.003429710166528821,
0.017003104090690613,
0.022070255130529404,
0.023665469139814377,
-0.052135348320007324,
0.0006240101647563279,
0.01004046481102705,
-0.0020690863020718098,
0.006850036792457104,
-0.004318807274103165,
0.021582307294011116,
0.040724873542785645,
0.032955244183540344,
-0.012405134737491608,
-0.03959884122014046,
0.027794258669018745,
0.012921233661472797,
-0.03353703022003174,
-0.02394697815179825,
0.05517563596367836,
-0.059642236679792404,
-0.0595671683549881,
0.03899829089641571,
0.023252589628100395,
0.01269602682441473,
0.004959238693118095,
-0.012423901818692684,
0.030909616500139236,
0.002004574052989483,
0.016608992591500282,
0.02666822448372841,
0.017462901771068573,
0.024810269474983215,
0.03256113454699516,
0.020155997946858406,
-0.03248606249690056,
-0.01282739732414484,
-0.011166498064994812,
0.007746171671897173,
0.05025862529873848,
0.007258223835378885,
-0.04102515056729317,
-0.01872030645608902,
-0.03291771188378334,
-0.022614505141973495,
-0.031660307198762894,
0.0014661893947049975,
0.030740711838006973,
0.008707991801202297,
-0.003101283684372902,
-0.016008442267775536,
0.001524836872704327,
0.0017922698752954602,
-0.029201800003647804,
0.012208078987896442,
-0.007924459874629974,
0.017594272270798683,
-0.0003967508382629603,
0.05142219364643097,
-0.037759654223918915,
0.013709456659853458,
-0.01295876782387495,
0.10404548794031143,
0.040875013917684555,
0.0362582765519619,
0.09661366790533066,
0.013352879323065281,
0.054349880665540695,
0.04079994559288025,
-0.014882408082485199,
0.02681836299598217,
0.03396867588162422,
-0.05003341659903526,
-0.067411869764328,
-0.014150486327707767,
-0.06099347770214081,
0.0304404366761446,
0.01955544762313366,
-0.026987267658114433,
0.0041381726041436195,
-0.043314751237630844,
-0.05164739862084389,
0.00035804344224743545,
-0.03425018489360809,
0.009050493128597736,
-0.08182509243488312,
-0.06576035171747208,
0.021826280280947685,
0.042151182889938354,
0.03507594019174576,
-0.08978239446878433,
-0.017331531271338463,
0.04841943830251694,
0.016496390104293823,
0.006934489123523235,
0.023027382791042328,
-0.026367949321866035,
0.01709694042801857,
-0.021075591444969177,
-0.024904105812311172,
0.019611747935414314,
0.041400495916604996,
-0.01068793423473835,
0.02113189361989498,
-0.0343252532184124,
-0.054987963289022446,
-0.026912199333310127,
-0.021807514131069183,
0.047743815928697586,
0.004293002188205719,
-0.03120989352464676,
0.027531517669558525,
0.0116544459015131,
0.013521784916520119,
0.04868217930197716,
-0.03663362190127373,
0.031003452837467194,
-0.005770921241492033,
-0.040349531918764114,
-0.06362088769674301,
-0.0440279059112072,
-0.015558028593659401,
0.07563190907239914,
0.05998004600405693,
-0.027418913319706917,
-0.05386193096637726,
-0.08280099183320999,
0.008764293044805527,
-0.008919122628867626,
-0.057990722358226776,
0.002749398350715637,
0.027362611144781113,
-0.01217054482549429,
0.024284787476062775,
0.009519673883914948,
0.026855897158384323,
-0.04676792025566101,
0.03783472254872322,
0.036464717239141464,
-0.01801653392612934,
0.03460675850510597,
-0.021038057282567024,
-0.00816374272108078,
0.019987093284726143,
-0.029764816164970398,
0.010453343391418457,
-0.017725642770528793,
-0.04102515056729317,
0.02047504112124443,
0.03663362190127373,
-0.019086265936493874,
-0.05115945264697075,
-0.06335815042257309,
0.0259175356477499,
0.05618906766176224,
-0.05645180866122246,
-0.021432168781757355,
0.006746816914528608,
0.008759601972997189,
0.003328836290165782,
-0.005043691489845514,
0.04312707856297493,
0.010340739972889423,
-0.030365368351340294,
-0.04586709290742874,
-0.027043569833040237,
0.022257927805185318,
-0.01288369856774807,
0.024378623813390732,
-0.018251124769449234,
0.03522607684135437,
0.005583249032497406,
0.037496913224458694,
-0.010378275066614151,
-0.012517738156020641,
0.03967390954494476,
0.0323922261595726,
-0.06970147043466568,
-0.014760421589016914,
-0.014347542077302933,
-0.007619492709636688,
-0.003915312234312296,
0.026893431320786476,
-0.07315463572740555,
0.04973314329981804,
-0.010650399141013622,
-0.007924459874629974,
0.06714912503957748,
-0.03171660751104355,
0.009102103300392628,
-0.023233823478221893,
0.0106973173096776,
-0.014760421589016914,
-0.031172357499599457,
-0.004605007357895374,
0.026762060821056366,
0.0054284194484353065,
-0.023871907964348793,
0.024697666987776756,
-0.0440279059112072,
-0.007896309718489647,
-0.028150836005806923,
0.08730512112379074,
-0.04369009658694267,
0.054875362664461136,
0.023477796465158463,
0.054612621665000916,
-0.029990023002028465,
0.011476157233119011,
-0.03911089524626732,
-0.02098175510764122,
0.004773912485688925,
-0.04886985197663307,
0.042151182889938354,
0.04106268659234047,
-0.022595737129449844,
-0.039974186569452286,
0.03648348152637482,
-0.049170125275850296,
0.05243562161922455,
0.009571284055709839,
-0.03396867588162422,
0.031153591349720955,
-0.01966805011034012,
0.007506889291107655,
-0.04095008224248886,
0.013427948579192162,
-0.03511347621679306,
0.011053894646465778,
0.04327721893787384,
-0.0893319845199585,
-0.056151531636714935,
-0.015041929669678211,
-0.08242564648389816,
-0.01628056727349758,
-0.0029206492472440004,
0.045416682958602905,
0.008661073632538319,
0.0543874129652977,
-0.001301976153627038,
-0.011279101483523846,
0.03869801387190819,
-0.022201625630259514,
-0.04778135195374489,
-0.020155997946858406,
0.009575976058840752,
0.041625700891017914,
0.010537795722484589,
0.10156821459531784,
-0.025955069810152054,
-0.01172951515763998,
-0.035845398902893066,
-0.08077412843704224,
0.028826454654335976,
-0.001035129651427269,
0.0006163860089145601,
-0.05172246694564819,
0.04027446359395981,
0.034118812531232834,
-0.006498150993138552,
0.0725165531039238,
-0.031266193836927414,
-0.050596434623003006,
-0.012423901818692684,
0.046580247581005096,
-0.017697492614388466,
0.02497917413711548,
-0.03986158221960068,
-0.048119161278009415,
0.025223148986697197,
0.05780304968357086,
-0.0440654419362545,
-0.009017650969326496,
-0.054837826639413834,
-0.0427892692387104,
-0.04856957495212555,
-0.0034484772477298975,
0.015745701268315315,
-0.0932355672121048,
-0.019367774948477745,
0.022614505141973495,
0.05416220799088478,
0.02058764360845089,
-0.022989848628640175,
0.014075418002903461,
-0.008135591633617878,
0.059792373329401016,
0.015182684175670147,
-0.07525656372308731,
0.019208252429962158,
0.0025969145353883505,
-0.0388481542468071,
0.018485715612769127,
0.0032701888121664524,
-0.03291771188378334,
-0.027250008657574654,
-0.029239334166049957,
-0.02355286478996277,
-0.024697666987776756,
0.010584713891148567,
0.1295689046382904,
0.059679772704839706,
-0.028732620179653168,
0.002573455451056361
]
|
29,398 | quart.app | sync_to_async | Return a async function that will run the synchronous function *func*.
This can be used as so,::
result = await app.sync_to_async(func)(*args, **kwargs)
Override this method to change how the app converts sync code
to be asynchronously callable.
| def sync_to_async(self, func: Callable[P, T]) -> Callable[P, Awaitable[T]]:
"""Return a async function that will run the synchronous function *func*.
This can be used as so,::
result = await app.sync_to_async(func)(*args, **kwargs)
Override this method to change how the app converts sync code
to be asynchronously callable.
"""
return run_sync(func)
| (self, func: Callable[~P, ~T]) -> Callable[~P, Awaitable[~T]] | [
0.03544522076845169,
-0.02818799950182438,
-0.040581945329904556,
0.05293933302164078,
0.024056684225797653,
0.006306653842329979,
-0.012668147683143616,
0.020492054522037506,
0.03637751191854477,
-0.06551607698202133,
0.009688482619822025,
-0.028882646933197975,
-0.02067485637962818,
-0.011141754686832428,
0.02524489536881447,
0.021991027519106865,
0.008029558695852757,
-0.0358656644821167,
-0.008925286121666431,
-0.02144262194633484,
0.03787648305296898,
0.029522452503442764,
0.024586809799075127,
-0.024093246087431908,
0.022795354947447777,
0.05443830415606499,
0.023508280515670776,
-0.028005199506878853,
-0.004357532132416964,
0.007540564052760601,
0.08386935293674469,
0.003957653883844614,
0.034604333341121674,
0.015931155532598495,
0.023855604231357574,
0.03014397621154785,
0.009167497977614403,
0.062445010989904404,
-0.10163766890764236,
-0.11889412999153137,
-0.016086537390947342,
-0.04632191359996796,
-0.0037748522590845823,
0.010383128188550472,
0.055206071585416794,
-0.011644459329545498,
0.00271003320813179,
-0.005333235487341881,
0.022575993090867996,
0.03169779106974602,
0.031094545498490334,
0.018060794100165367,
0.02539113722741604,
0.041569072753190994,
-0.020400654524564743,
0.049685463309288025,
-0.01611395739018917,
0.007837616838514805,
0.004912791773676872,
-0.003183032153174281,
0.01746668852865696,
0.005241834558546543,
-0.013664416037499905,
-0.0008957276586443186,
0.008710494264960289,
0.015739213675260544,
-0.04793056845664978,
-0.0034069640096277,
-0.0016989120049402118,
0.006306653842329979,
-0.045663829892873764,
0.01420368067920208,
0.011077774688601494,
-0.03429357334971428,
0.04529822617769241,
-0.011617039330303669,
0.007088130339980125,
0.023270638659596443,
-0.00983472354710102,
-0.006644836626946926,
-0.005237264558672905,
-0.0032401576172560453,
0.04120347276329994,
-0.014797786250710487,
-0.03846144676208496,
-0.04917361959815025,
-0.03546350076794624,
-0.03326988220214844,
-0.07684977352619171,
-0.04314116761088371,
0.007869606837630272,
-0.021972747519612312,
-0.003080206224694848,
0.013371934182941914,
-0.007915307767689228,
-0.018481237813830376,
0.0029453900642693043,
-0.0387539304792881,
-0.03736463934183121,
-0.009121797978878021,
0.011918661184608936,
0.02948589064180851,
-0.030235378071665764,
-0.07206037640571594,
0.010300868190824986,
-0.06021483242511749,
0.010556790046393871,
0.013819797895848751,
-0.05487702786922455,
0.014276801608502865,
-0.013006330467760563,
0.037291519343853,
-0.03710871562361717,
0.021077020093798637,
0.013838077895343304,
0.030527859926223755,
-0.01679946295917034,
0.009807303547859192,
0.052135005593299866,
-0.0034435242414474487,
-0.04332396760582924,
0.05027042701840401,
-0.02036409266293049,
-0.034257013350725174,
-0.0026117772795259953,
0.07845842838287354,
0.03352580592036247,
0.03908297419548035,
-0.03199027106165886,
-0.018828559666872025,
0.012576746754348278,
0.016379019245505333,
0.017521528527140617,
0.014761226251721382,
0.04500574246048927,
-0.0011522211134433746,
0.02648794651031494,
0.004512913525104523,
-0.0034343842417001724,
0.07337654381990433,
-0.032319314777851105,
0.021753385663032532,
0.042300280183553696,
-0.0003853114030789584,
0.06723441183567047,
-0.006494025234133005,
-0.07502175867557526,
0.0016680642729625106,
-0.01994365081191063,
-0.022831914946436882,
0.05045323073863983,
-0.000710069783963263,
0.012448785826563835,
0.026743868365883827,
-0.0466509573161602,
0.05612007901072502,
0.03215479478240013,
-0.03292256221175194,
0.07772722095251083,
-0.04687032103538513,
-0.07706913352012634,
0.019139323383569717,
0.057655610144138336,
-0.017887132242321968,
0.03758399933576584,
0.005282965023070574,
0.04763808473944664,
-0.03654203191399574,
-0.04284868389368057,
0.006681397091597319,
0.004567753989249468,
0.008413441479206085,
0.015291349962353706,
-0.025427697226405144,
0.0903770923614502,
-0.012786968611180782,
0.005383505951613188,
0.04120347276329994,
-0.02855360321700573,
0.02423948608338833,
0.0344398133456707,
-0.0029202548321336508,
0.007659385446459055,
-0.004400947596877813,
0.00493564223870635,
0.05469422787427902,
0.0031944571528583765,
0.021497463807463646,
0.007951867766678333,
-0.05231780558824539,
-0.025793299078941345,
0.01470638532191515,
0.05970298871397972,
-0.015428451821208,
-0.004259276203811169,
-0.05246404558420181,
-0.017548950389027596,
0.04175187647342682,
0.06339558213949203,
-0.029229968786239624,
0.048259612172842026,
-0.06416334956884384,
0.0760454460978508,
0.038498006761074066,
-0.0416421964764595,
-0.029467610642313957,
-0.014304221607744694,
-0.007622824981808662,
0.004693429917097092,
0.011434237472712994,
-0.007124690804630518,
-0.049977947026491165,
-0.022905034944415092,
-0.014779506251215935,
0.045078862458467484,
-0.025500817224383354,
0.04964890331029892,
0.03173435106873512,
0.05052635073661804,
0.039009854197502136,
0.016644081100821495,
0.0065260156989097595,
-0.0051230136305093765,
-0.019285565242171288,
0.01724732667207718,
-0.0007243511499837041,
-0.04120347276329994,
-0.039777617901563644,
-0.011854681186378002,
-0.019815688952803612,
-0.003603475634008646,
-0.0018177330493927002,
0.03400108963251114,
0.0035737704019993544,
-0.012339104898273945,
-0.010346568189561367,
0.03679795190691948,
0.015757493674755096,
-0.005931910593062639,
-0.017183346673846245,
0.018261875957250595,
0.02230178937315941,
0.03385484963655472,
0.03226447477936745,
-0.033909689635038376,
-0.001967401709407568,
0.058167457580566406,
-0.003809127490967512,
-0.0036948765628039837,
0.010492809116840363,
-0.05282964929938316,
0.005570877343416214,
-0.013700976967811584,
-0.012320824898779392,
-0.014030019752681255,
0.013408494181931019,
-0.021570583805441856,
-0.01764035038650036,
0.014788646250963211,
0.0760454460978508,
-0.007892456836998463,
-0.011233155615627766,
-0.030856903642416,
0.026999790221452713,
0.0038525427225977182,
-0.0559372752904892,
-0.045078862458467484,
0.004209005739539862,
0.018097354099154472,
0.05933738499879837,
0.0796283558011055,
0.003653746098279953,
0.03919265419244766,
-0.03904641419649124,
-0.035116180777549744,
-0.029175128787755966,
-0.03515274077653885,
-0.037986163049936295,
0.006928178947418928,
-0.055498551577329636,
-0.030655821785330772,
-0.021844785660505295,
-0.030180538073182106,
-0.025153493508696556,
0.0014052869519218802,
-0.03738291934132576,
0.021991027519106865,
-0.049685463309288025,
0.012704708613455296,
0.008916146121919155,
0.04690688103437424,
-0.021113580092787743,
-0.01945008523762226,
-0.0186457596719265,
0.0013573016040027142,
0.010593350045382977,
-0.007878746837377548,
-0.031259067356586456,
0.02016301266849041,
-0.06807529926300049,
0.016845162957906723,
-0.02058345451951027,
-0.017923692241311073,
0.03378172963857651,
0.0860629752278328,
0.01467896532267332,
-0.07198725640773773,
-0.015135969035327435,
-0.07268189638853073,
0.002358140191063285,
-0.0638708621263504,
-0.05253716930747032,
0.013335373252630234,
-0.009336589835584164,
-0.0033132783137261868,
0.10485497117042542,
-0.028663285076618195,
0.034768857061862946,
0.03244727477431297,
0.020181292667984962,
-0.0516597218811512,
-0.009487400762736797,
0.0509650744497776,
0.028498763218522072,
-0.014551004394888878,
-0.06902586668729782,
0.0005278395256027579,
0.025208335369825363,
-0.02784067764878273,
0.08979212492704391,
-0.03078378178179264,
0.009341159835457802,
0.02144262194633484,
-0.006059871520847082,
-0.035993628203868866,
0.04032602533698082,
0.01871887966990471,
-0.02626858465373516,
0.05396302044391632,
-0.00007201381959021091,
0.055498551577329636,
0.0035829106345772743,
0.04127659276127815,
0.021917907521128654,
-0.04288524389266968,
0.03107626549899578,
0.0487714558839798,
0.0019057062454521656,
0.025647059082984924,
-0.0796283558011055,
0.05301245301961899,
-0.006128422450274229,
-0.0839424729347229,
0.03206339478492737,
-0.0184720978140831,
0.07268189638853073,
0.0365968719124794,
-0.033982809633016586,
0.005177854094654322,
-0.10251511633396149,
0.00029876630287617445,
-0.01456928439438343,
0.05747281014919281,
-0.022996436804533005,
-0.024787891656160355,
0.047674644738435745,
-0.01633331924676895,
-0.01724732667207718,
-0.0012361955596134067,
0.04793056845664978,
-0.022210389375686646,
0.02030925266444683,
0.006306653842329979,
0.009231478907167912,
-0.02648794651031494,
0.006672257091850042,
-0.03566458448767662,
-0.012119743041694164,
-0.04942953959107399,
0.0319354310631752,
0.016059117391705513,
-0.010712170973420143,
0.051038194447755814,
-0.02524489536881447,
0.038424886763095856,
-0.016196217387914658,
0.029156848788261414,
-0.0279686376452446,
-0.06281061470508575,
0.0034892247058451176,
-0.019614607095718384,
0.027676155790686607,
-0.039704497903585434,
0.006818498019129038,
-0.008861305192112923,
-0.03487853705883026,
-0.021643703803420067,
0.025153493508696556,
0.047601524740457535,
-0.0595567487180233,
-0.02266739308834076,
-0.017347868531942368,
0.13512691855430603,
0.029723532497882843,
0.01825273595750332,
0.0038639679551124573,
-0.0044580730609595776,
-0.05264684930443764,
0.010182046331465244,
0.042227160185575485,
-0.03615814819931984,
-0.06164068356156349,
-0.02136950194835663,
-0.034202173352241516,
0.03769368305802345,
0.037986163049936295,
-0.04182499647140503,
-0.030436459928750992,
-0.008614523336291313,
-0.010392268188297749,
0.014861766248941422,
0.03173435106873512,
-0.013426774181425571,
0.03933889418840408,
0.03666999191045761,
0.0028197141364216805,
0.09666546434164047,
0.030728941783308983,
-0.059958912432193756,
0.021625423803925514,
0.06434614956378937,
-0.004398662596940994,
0.008459142409265041,
0.01650698110461235,
0.005383505951613188,
0.024879291653633118,
0.042519643902778625,
0.03252039849758148,
0.03679795190691948,
0.03019881807267666,
-0.005685128271579742,
0.04456701874732971,
-0.045810069888830185,
-0.038498006761074066,
0.0652967169880867,
-0.05242748558521271,
-0.03400108963251114,
0.031953711062669754,
0.07684977352619171,
0.01994365081191063,
-0.015803195536136627,
0.061019159853458405,
-0.0000828319534775801,
0.03908297419548035,
0.0047894008457660675,
0.01574835367500782,
0.025957820937037468,
-0.03643235191702843,
-0.07582608610391617,
-0.0024312606547027826,
0.0007397750741802156,
-0.020035050809383392,
-0.009642782621085644,
-0.03701731562614441,
-0.008015848696231842,
0.05008762702345848,
0.029248248785734177,
0.012339104898273945,
-0.05085539445281029,
-0.023873884230852127,
0.020071610808372498,
-0.05502326786518097,
0.009825583547353745,
0.0018577207811176777,
0.024806171655654907,
0.036340948194265366,
-0.013929478824138641,
0.014779506251215935,
-0.004576893988996744,
0.0053743659518659115,
-0.06518703699111938,
0.033324722200632095,
-0.034622613340616226,
0.09937092661857605,
-0.011516498401761055,
0.009071527048945427,
0.05769217014312744,
-0.014167120680212975,
0.020839378237724304,
-0.06419990956783295,
-0.01707366481423378,
0.03758399933576584,
0.07015924155712128,
-0.010556790046393871,
-0.0045060585252940655,
-0.014221961610019207,
-0.03416560962796211,
0.00886587519198656,
0.01456928439438343,
0.023764202371239662,
0.04957578331232071,
0.027511633932590485,
-0.0036423210985958576,
0.038498006761074066,
-0.0006238103378564119,
-0.012229423969984055,
-0.09015772491693497,
-0.03747431933879852,
-0.05217156559228897,
0.013755816966295242,
-0.016296759247779846,
0.014834346249699593,
-0.05732657015323639,
-0.03292256221175194,
0.01670806296169758,
0.011790700256824493,
-0.009213198907673359,
-0.07421743124723434,
-0.013006330467760563,
-0.05495014786720276,
-0.006073581986129284,
-0.006471175234764814,
-0.026433104649186134,
0.03654203191399574,
0.0005381220835261047,
-0.037200115621089935,
0.020693136379122734,
-0.02740195393562317,
-0.042007796466350555,
-0.03078378178179264,
0.01675376296043396,
0.02433088794350624,
0.03467745706439018,
-0.018133914098143578,
0.0362129881978035,
0.012000922113656998,
-0.072425976395607,
0.0059410505928099155,
-0.017256466671824455,
-0.0022998719941824675,
-0.04694344103336334,
0.03133218735456467,
0.020473774522542953,
0.03721839562058449,
-0.00961536169052124,
0.001461269916035235,
-0.00043700996320694685,
0.007938157767057419,
-0.05268340930342674,
0.0031373316887766123,
-0.04891769587993622,
-0.006411764770746231,
0.06679569184780121,
-0.0025820720475167036,
-0.04643159732222557,
-0.0473821647465229,
0.0008740199264138937,
-0.019614607095718384,
-0.01086755283176899,
-0.026963230222463608,
0.00414502527564764,
0.02440400794148445,
-0.060946039855480194,
0.014377342537045479,
-0.01678118295967579,
0.044018615037202835,
0.06968395411968231,
0.048954255878925323,
-0.04197123646736145,
-0.055864155292510986,
0.019358685240149498,
-0.004967632237821817,
0.02626858465373516,
0.00023849890567362309,
-0.002151345834136009,
0.04621223360300064,
0.09520304948091507,
-0.05480390787124634,
0.004999622702598572,
-0.06237189099192619,
-0.06781937927007675,
-0.013280533254146576,
0.030948303639888763,
-0.009135507978498936,
-0.02833424136042595,
-0.01966944709420204,
0.01793283224105835,
0.04083786904811859,
-0.019833968952298164,
-0.05754593014717102,
-0.023928724229335785,
0.019486645236611366,
0.007138400804251432,
-0.03034505806863308,
0.055352311581373215,
-0.03601190820336342,
-0.038351766765117645,
0.045371346175670624,
0.019194163382053375,
-0.026853548362851143,
-0.023873884230852127,
0.025921260938048363,
-0.021296381950378418,
0.00207251263782382,
0.034110769629478455,
-0.0006992159760557115,
-0.06134820356965065,
-0.08401559293270111,
0.015949435532093048,
0.01979740895330906,
-0.009560521692037582,
0.059520188719034195,
-0.006009601056575775,
-0.03378172963857651,
0.07611856609582901,
-0.009377719834446907,
-0.09966340661048889,
-0.0050727431662380695,
-0.0021673410665243864,
0.028900926932692528,
0.01668064296245575,
0.00934572983533144,
0.023014716804027557,
0.006210682913661003,
-0.012604167684912682,
0.033836569637060165,
-0.03687107563018799,
-0.03528070077300072,
-0.0025363715831190348,
-0.0839424729347229,
-0.028443923220038414,
0.012585887685418129,
0.061019159853458405,
0.026926670223474503,
0.07692289352416992,
-0.10799916088581085,
-0.051330678164958954,
0.046175673604011536,
0.0026848979759961367,
-0.027639595791697502,
0.02072969637811184,
-0.020418934524059296,
0.00791073776781559,
-0.02036409266293049,
0.03955825790762901,
-0.021113580092787743,
0.0032561528496444225,
-0.006087291985750198,
0.011571338400244713,
-0.05030698701739311,
-0.040289461612701416,
0.05125755816698074,
0.009642782621085644,
0.023215798661112785,
-0.04072818532586098,
0.021003898233175278,
-0.024166366085410118,
-0.06931835412979126,
0.0387539304792881,
-0.026999790221452713,
-0.03456777334213257,
-0.024623369798064232,
-0.04910049960017204,
-0.0027671586722135544,
-0.0007894742302596569,
0.03930233418941498,
-0.05202532187104225,
-0.0011133757652714849,
-0.014633264392614365,
-0.04676063731312752,
0.047601524740457535,
0.03436669334769249,
-0.006685967091470957,
-0.009254328906536102,
-0.010565930046141148,
0.02639654465019703,
-0.015757493674755096,
-0.012978910468518734,
-0.031259067356586456,
0.03326988220214844,
-0.03758399933576584,
-0.007951867766678333,
-0.0452251061797142,
0.00240384042263031,
-0.07421743124723434,
0.030728941783308983,
0.01122401561588049,
-0.06262781471014023,
0.024349167943000793,
-0.02146090380847454,
0.028425641357898712,
0.008609953336417675,
-0.02919340878725052,
-0.01287836953997612,
0.002458680886775255,
0.01746668852865696,
-0.02058345451951027,
-0.009103517979383469,
0.025208335369825363,
0.03718183562159538,
0.02634170465171337,
-0.03908297419548035,
-0.02374592237174511,
0.01658010110259056,
0.033617205917835236,
0.02232006937265396,
-0.024074966087937355,
0.018353275954723358,
-0.03509790077805519,
0.06789249926805496,
-0.008230640552937984,
-0.021296381950378418,
0.009450840763747692,
-0.028663285076618195,
0.013445054180920124,
-0.019907088950276375,
0.0034709444735199213,
-0.027895517647266388,
0.009048677049577236,
-0.0031944571528583765,
-0.08891467750072479,
-0.04390893504023552,
0.03200855106115341,
-0.0545114241540432,
0.05845993757247925,
0.00540178595110774,
-0.01879199966788292,
0.03560974448919296,
-0.03515274077653885,
0.028443923220038414,
0.017622070387005806,
0.025062093511223793,
-0.004117605276405811,
0.028389081358909607,
0.028718125075101852,
0.02626858465373516,
-0.013636996038258076,
-0.006521445699036121,
-0.13541939854621887,
-0.032118234783411026,
0.007462873589247465,
-0.022996436804533005,
0.021826505661010742,
0.023124396800994873,
0.08057892322540283,
-0.04105722904205322,
0.029814934358000755,
0.014331642538309097,
0.02347172051668167,
-0.022941594943404198,
0.05933738499879837,
0.05604695901274681,
-0.051184434443712234,
0.04134971275925636,
0.007106410339474678,
0.0042135757394135,
0.011754140257835388,
0.02325235866010189,
-0.02440400794148445,
-0.001540103112347424,
-0.04741872474551201,
-0.003701731562614441,
0.004460358060896397,
-0.0387539304792881,
-0.016223637387156487,
-0.005986751057207584,
-0.008002137765288353,
0.018919961526989937
]
|
29,399 | flask.sansio.app | teardown_appcontext | Registers a function to be called when the application
context is popped. The application context is typically popped
after the request context for each request, at the end of CLI
commands, or after a manually pushed context ends.
.. code-block:: python
with app.app_context():
...
When the ``with`` block exits (or ``ctx.pop()`` is called), the
teardown functions are called just before the app context is
made inactive. Since a request context typically also manages an
application context it would also be called when you pop a
request context.
When a teardown function was called because of an unhandled
exception it will be passed an error object. If an
:meth:`errorhandler` is registered, it will handle the exception
and the teardown will not receive it.
Teardown functions must avoid raising exceptions. If they
execute code that might fail they must surround that code with a
``try``/``except`` block and log any errors.
The return values of teardown functions are ignored.
.. versionadded:: 0.9
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: ~T_teardown) -> ~T_teardown | [
0.05359918996691704,
-0.054875362664461136,
-0.036464717239141464,
-0.052510689944028854,
0.053936999291181564,
0.003920003771781921,
-0.010753619484603405,
0.03759074956178665,
-0.047856420278549194,
-0.05476275831460953,
-0.0050389994867146015,
0.00211483146995306,
-0.007830624468624592,
0.010734851472079754,
0.02368423528969288,
0.03575156256556511,
0.06497212499380112,
0.0356014221906662,
0.07529409974813461,
-0.06744939833879471,
0.040612272918224335,
0.0011840944644063711,
0.00034396801493130624,
0.021957650780677795,
-0.02952084317803383,
0.0011201687157154083,
-0.02282094396650791,
-0.008792444132268429,
0.06572281569242477,
-0.048006556928157806,
-0.0071174693293869495,
-0.04830683395266533,
0.02875138632953167,
0.04729340225458145,
0.06061813235282898,
-0.023271357640624046,
-0.01243328582495451,
-0.00016304025484714657,
-0.0050389994867146015,
-0.024003278464078903,
0.01970558427274227,
0.0161961130797863,
-0.02255820296704769,
-0.054462481290102005,
0.036971431225538254,
0.02796316333115101,
-0.033743467181921005,
0.040349531918764114,
-0.018100986257195473,
0.03548882156610489,
0.0031528936233371496,
-0.03327428922057152,
0.026649458333849907,
0.04766874760389328,
0.013521784916520119,
0.027362611144781113,
-0.017613038420677185,
0.02603013999760151,
-0.004783296026289463,
-0.04654271528124809,
-0.012292531318962574,
0.05907921865582466,
-0.011748282238841057,
0.015098231844604015,
0.03836020454764366,
-0.010021697729825974,
-0.06193183735013008,
0.01171074714511633,
0.011907803826034069,
-0.025054244324564934,
0.011025743559002876,
0.00696263974532485,
-0.020362436771392822,
0.01347486674785614,
0.047481074929237366,
-0.04969560727477074,
0.019536679610610008,
-0.09316049516201019,
0.03785349056124687,
-0.05754030868411064,
0.029595911502838135,
-0.032711271196603775,
-0.053036175668239594,
0.010293821804225445,
0.06895077973604202,
0.03443785384297371,
0.039824049919843674,
0.012677259743213654,
-0.037252940237522125,
0.046167369931936264,
-0.053674258291721344,
0.0006052429671399295,
-0.011110196821391582,
0.029145497828722,
0.024791501462459564,
-0.03340565785765648,
0.017810095101594925,
-0.003990381024777889,
-0.0020550109911710024,
-0.029145497828722,
0.031134823337197304,
0.03394990786910057,
-0.0035141627304255962,
0.02435985580086708,
0.007877541705965996,
0.03351826220750809,
-0.0055644819512963295,
0.025842467322945595,
0.00977772381156683,
-0.017040638253092766,
-0.035695258527994156,
-0.03261743485927582,
-0.01858893409371376,
-0.05915428698062897,
-0.025035476312041283,
0.007985454052686691,
0.012968151830136776,
-0.007197230122983456,
0.07739602774381638,
-0.04226378723978996,
0.009402379393577576,
-0.031772907823324203,
0.02835727483034134,
-0.05904168635606766,
0.04913259297609329,
0.07668287307024002,
-0.03500087186694145,
0.028075765818357468,
0.02394697815179825,
0.008154358714818954,
-0.0330490805208683,
0.0686505064368248,
-0.055100567638874054,
0.050070952624082565,
0.009327310137450695,
0.017857013270258904,
-0.06028032302856445,
0.02927686832845211,
-0.021957650780677795,
0.09225966781377792,
-0.0018051723018288612,
-0.018729688599705696,
-0.0381912998855114,
-0.013071371242403984,
-0.0004495336615946144,
-0.018907977268099785,
0.005156294908374548,
0.003368716686964035,
-0.02848864533007145,
0.07199107110500336,
0.039185963571071625,
-0.004095946438610554,
-0.04350242391228676,
0.039073359221220016,
0.0005451291799545288,
0.03989911824464798,
-0.02253943495452404,
-0.0014779188204556704,
0.01993079110980034,
-0.08580374717712402,
-0.04233885556459427,
-0.03956130892038345,
-0.022051487118005753,
-0.08565361052751541,
-0.010218753479421139,
0.033105380833148956,
-0.003181044477969408,
0.01108204573392868,
0.016533924266695976,
0.05543837696313858,
-0.0466177836060524,
-0.002463198034092784,
-0.00031786985346116126,
0.0014966861344873905,
0.054087139666080475,
0.04170076921582222,
0.006789043080061674,
-0.029821118339896202,
-0.0019424076890572906,
-0.028826454654335976,
-0.020099695771932602,
-0.06317047774791718,
-0.06534747034311295,
0.013578086160123348,
0.014854257926344872,
0.05025862529873848,
-0.04042460024356842,
0.04158816859126091,
0.03083454817533493,
0.04079994559288025,
-0.0648219883441925,
0.04158816859126091,
0.07371765375137329,
0.01819482259452343,
-0.02499794214963913,
-0.00011861472012242302,
-0.02927686832845211,
-0.0032608050387352705,
0.004583894275128841,
-0.04297694191336632,
-0.05555098131299019,
0.043052010238170624,
0.012376983650028706,
-0.035151008516550064,
0.016974953934550285,
-0.0016808394575491548,
0.009566592052578926,
0.0072535318322479725,
-0.044891197234392166,
-0.037496913224458694,
-0.036727458238601685,
0.0023271357640624046,
0.024040812626481056,
-0.017969615757465363,
0.00641369866207242,
-0.07724589109420776,
0.03265497088432312,
-0.005146910902112722,
0.0041381726041436195,
0.006427774205803871,
0.04556681960821152,
0.055250708013772964,
0.01841064542531967,
-0.006470000371336937,
-0.015229602344334126,
-0.006713974289596081,
0.030008791014552116,
-0.007258223835378885,
-0.015558028593659401,
-0.01858893409371376,
-0.04353995993733406,
-0.0246038306504488,
0.05866634100675583,
0.030909616500139236,
0.04481612890958786,
-0.04466599225997925,
0.04965807497501373,
0.032579898834228516,
-0.017594272270798683,
0.0056160916574299335,
0.035826630890369415,
0.027268776670098305,
0.022858478128910065,
-0.03443785384297371,
0.0031833902467042208,
0.011635678820312023,
0.0014028499135747552,
-0.008754909969866276,
-0.0213946346193552,
-0.0317353755235672,
0.003500087186694145,
-0.026011371985077858,
0.0047997175715863705,
-0.004870094358921051,
-0.05115945264697075,
-0.028282206505537033,
-0.008806519210338593,
-0.035545121878385544,
-0.01339979749172926,
0.012104859575629234,
-0.008895663544535637,
-0.002564071910455823,
-0.036577317863702774,
0.07352998107671738,
-0.007276990916579962,
-0.02435985580086708,
0.0033429116010665894,
-0.023515330627560616,
-0.032054416835308075,
-0.015454808250069618,
0.04804409295320511,
0.06324554234743118,
-0.020174765959382057,
0.013155823573470116,
-0.054612621665000916,
-0.014037882909178734,
-0.024434925988316536,
0.010678550228476524,
-0.018861059099435806,
-0.013775141909718513,
0.013596853241324425,
-0.05093424394726753,
0.04316461458802223,
0.047856420278549194,
-0.008478092961013317,
-0.009674503467977047,
-0.04338981956243515,
0.05806579068303108,
-0.0070658596232533455,
-0.0036713380832225084,
0.02306491695344448,
0.017303379252552986,
0.03004632517695427,
-0.01295876782387495,
-0.012011023238301277,
0.038923222571611404,
-0.0751064270734787,
-0.013305961154401302,
0.020756550133228302,
-0.0764952003955841,
0.028695084154605865,
-0.013071371242403984,
0.03274880349636078,
0.032429762184619904,
0.0006679958896711469,
0.008412407711148262,
0.03562019020318985,
-0.025955069810152054,
-0.019536679610610008,
0.011579376645386219,
0.00991847738623619,
-0.012292531318962574,
-0.010218753479421139,
-0.011663829907774925,
0.0049873897805809975,
0.01795084960758686,
-0.03509470820426941,
-0.04894492030143738,
0.004365725442767143,
0.062382251024246216,
-0.04729340225458145,
0.028657549992203712,
0.040875013917684555,
0.008093365468084812,
0.030665643513202667,
0.0002095184609061107,
0.06320800632238388,
-0.008543778210878372,
0.001734795281663537,
0.02242683246731758,
-0.052285484969615936,
0.03162277117371559,
0.004912320990115404,
0.005067150574177504,
-0.009974779561161995,
0.004452523775398731,
-0.03002755716443062,
-0.06028032302856445,
-0.056939754635095596,
-0.06200690567493439,
0.05780304968357086,
-0.007844699546694756,
-0.0033311822917312384,
-0.006010203156620264,
-0.01334349624812603,
-0.011832734569907188,
0.00785877462476492,
0.023083684965968132,
0.049432866275310516,
-0.02668699249625206,
0.06763707101345062,
-0.034907035529613495,
0.014976244419813156,
0.0621945783495903,
0.017200160771608353,
-0.08242564648389816,
-0.01970558427274227,
-0.019743118435144424,
0.017087556421756744,
0.003952846396714449,
-0.008684532716870308,
0.021413402631878853,
-0.05119698494672775,
0.01624303124845028,
0.030534273013472557,
-0.025711096823215485,
0.012198694981634617,
-0.025861233472824097,
0.0110069764778018,
0.021413402631878853,
0.038510341197252274,
-0.035939231514930725,
0.007797781378030777,
-0.02512931264936924,
-0.015238985419273376,
-0.03719663619995117,
0.010978825390338898,
-0.04218871891498566,
-0.08250071853399277,
0.09090843051671982,
0.014760421589016914,
0.0466177836060524,
-0.00032871964504010975,
0.0039481548592448235,
-0.0015705820405855775,
-0.1036701425909996,
-0.020531343296170235,
-0.012705410830676556,
-0.023008616641163826,
-0.01178581640124321,
0.01893612928688526,
-0.05029615759849548,
0.004224971402436495,
0.06962639838457108,
0.03175414353609085,
-0.04519147425889969,
-0.01918010227382183,
0.03471936285495758,
0.0278505589812994,
0.0388481542468071,
0.07450588047504425,
-0.005320508033037186,
0.06287019699811935,
0.019405309110879898,
0.05870387703180313,
-0.016852967441082,
0.06031785532832146,
0.01081930473446846,
0.011935953982174397,
0.08407716453075409,
0.018973663449287415,
-0.012686642818152905,
-0.07401792705059052,
-0.04699312895536423,
-0.0388481542468071,
-0.036089371889829636,
0.00008657848229631782,
0.07011434435844421,
0.03203565254807472,
0.012217462994158268,
0.04680545628070831,
-0.0004037885519210249,
0.05397453531622887,
0.03648348152637482,
0.012095475569367409,
0.04297694191336632,
-0.026912199333310127,
0.03539498522877693,
-0.039974186569452286,
0.020043395459651947,
0.006207259371876717,
-0.0168154314160347,
-0.04485366493463516,
-0.031416330486536026,
0.014066033996641636,
-0.015201451256871223,
-0.010002929717302322,
0.002878422848880291,
0.00455339765176177,
0.04031199589371681,
0.0030684410594403744,
-0.0003504192573018372,
0.03952377289533615,
0.017415983602404594,
0.025804933160543442,
0.010237520560622215,
-0.06395869702100754,
0.03122865967452526,
0.09038294851779938,
-0.014591515995562077,
-0.012611574493348598,
-0.05754030868411064,
0.0023998587857931852,
-0.0033921757712960243,
-0.05540084466338158,
-0.041775841265916824,
0.013174590654671192,
0.01009676605463028,
-0.04338981956243515,
0.031679075211286545,
0.023402728140354156,
-0.02537328563630581,
0.021450936794281006,
-0.025354519486427307,
0.003429710166528821,
0.017003104090690613,
0.022070255130529404,
0.023665469139814377,
-0.052135348320007324,
0.0006240101647563279,
0.01004046481102705,
-0.0020690863020718098,
0.006850036792457104,
-0.004318807274103165,
0.021582307294011116,
0.040724873542785645,
0.032955244183540344,
-0.012405134737491608,
-0.03959884122014046,
0.027794258669018745,
0.012921233661472797,
-0.03353703022003174,
-0.02394697815179825,
0.05517563596367836,
-0.059642236679792404,
-0.0595671683549881,
0.03899829089641571,
0.023252589628100395,
0.01269602682441473,
0.004959238693118095,
-0.012423901818692684,
0.030909616500139236,
0.002004574052989483,
0.016608992591500282,
0.02666822448372841,
0.017462901771068573,
0.024810269474983215,
0.03256113454699516,
0.020155997946858406,
-0.03248606249690056,
-0.01282739732414484,
-0.011166498064994812,
0.007746171671897173,
0.05025862529873848,
0.007258223835378885,
-0.04102515056729317,
-0.01872030645608902,
-0.03291771188378334,
-0.022614505141973495,
-0.031660307198762894,
0.0014661893947049975,
0.030740711838006973,
0.008707991801202297,
-0.003101283684372902,
-0.016008442267775536,
0.001524836872704327,
0.0017922698752954602,
-0.029201800003647804,
0.012208078987896442,
-0.007924459874629974,
0.017594272270798683,
-0.0003967508382629603,
0.05142219364643097,
-0.037759654223918915,
0.013709456659853458,
-0.01295876782387495,
0.10404548794031143,
0.040875013917684555,
0.0362582765519619,
0.09661366790533066,
0.013352879323065281,
0.054349880665540695,
0.04079994559288025,
-0.014882408082485199,
0.02681836299598217,
0.03396867588162422,
-0.05003341659903526,
-0.067411869764328,
-0.014150486327707767,
-0.06099347770214081,
0.0304404366761446,
0.01955544762313366,
-0.026987267658114433,
0.0041381726041436195,
-0.043314751237630844,
-0.05164739862084389,
0.00035804344224743545,
-0.03425018489360809,
0.009050493128597736,
-0.08182509243488312,
-0.06576035171747208,
0.021826280280947685,
0.042151182889938354,
0.03507594019174576,
-0.08978239446878433,
-0.017331531271338463,
0.04841943830251694,
0.016496390104293823,
0.006934489123523235,
0.023027382791042328,
-0.026367949321866035,
0.01709694042801857,
-0.021075591444969177,
-0.024904105812311172,
0.019611747935414314,
0.041400495916604996,
-0.01068793423473835,
0.02113189361989498,
-0.0343252532184124,
-0.054987963289022446,
-0.026912199333310127,
-0.021807514131069183,
0.047743815928697586,
0.004293002188205719,
-0.03120989352464676,
0.027531517669558525,
0.0116544459015131,
0.013521784916520119,
0.04868217930197716,
-0.03663362190127373,
0.031003452837467194,
-0.005770921241492033,
-0.040349531918764114,
-0.06362088769674301,
-0.0440279059112072,
-0.015558028593659401,
0.07563190907239914,
0.05998004600405693,
-0.027418913319706917,
-0.05386193096637726,
-0.08280099183320999,
0.008764293044805527,
-0.008919122628867626,
-0.057990722358226776,
0.002749398350715637,
0.027362611144781113,
-0.01217054482549429,
0.024284787476062775,
0.009519673883914948,
0.026855897158384323,
-0.04676792025566101,
0.03783472254872322,
0.036464717239141464,
-0.01801653392612934,
0.03460675850510597,
-0.021038057282567024,
-0.00816374272108078,
0.019987093284726143,
-0.029764816164970398,
0.010453343391418457,
-0.017725642770528793,
-0.04102515056729317,
0.02047504112124443,
0.03663362190127373,
-0.019086265936493874,
-0.05115945264697075,
-0.06335815042257309,
0.0259175356477499,
0.05618906766176224,
-0.05645180866122246,
-0.021432168781757355,
0.006746816914528608,
0.008759601972997189,
0.003328836290165782,
-0.005043691489845514,
0.04312707856297493,
0.010340739972889423,
-0.030365368351340294,
-0.04586709290742874,
-0.027043569833040237,
0.022257927805185318,
-0.01288369856774807,
0.024378623813390732,
-0.018251124769449234,
0.03522607684135437,
0.005583249032497406,
0.037496913224458694,
-0.010378275066614151,
-0.012517738156020641,
0.03967390954494476,
0.0323922261595726,
-0.06970147043466568,
-0.014760421589016914,
-0.014347542077302933,
-0.007619492709636688,
-0.003915312234312296,
0.026893431320786476,
-0.07315463572740555,
0.04973314329981804,
-0.010650399141013622,
-0.007924459874629974,
0.06714912503957748,
-0.03171660751104355,
0.009102103300392628,
-0.023233823478221893,
0.0106973173096776,
-0.014760421589016914,
-0.031172357499599457,
-0.004605007357895374,
0.026762060821056366,
0.0054284194484353065,
-0.023871907964348793,
0.024697666987776756,
-0.0440279059112072,
-0.007896309718489647,
-0.028150836005806923,
0.08730512112379074,
-0.04369009658694267,
0.054875362664461136,
0.023477796465158463,
0.054612621665000916,
-0.029990023002028465,
0.011476157233119011,
-0.03911089524626732,
-0.02098175510764122,
0.004773912485688925,
-0.04886985197663307,
0.042151182889938354,
0.04106268659234047,
-0.022595737129449844,
-0.039974186569452286,
0.03648348152637482,
-0.049170125275850296,
0.05243562161922455,
0.009571284055709839,
-0.03396867588162422,
0.031153591349720955,
-0.01966805011034012,
0.007506889291107655,
-0.04095008224248886,
0.013427948579192162,
-0.03511347621679306,
0.011053894646465778,
0.04327721893787384,
-0.0893319845199585,
-0.056151531636714935,
-0.015041929669678211,
-0.08242564648389816,
-0.01628056727349758,
-0.0029206492472440004,
0.045416682958602905,
0.008661073632538319,
0.0543874129652977,
-0.001301976153627038,
-0.011279101483523846,
0.03869801387190819,
-0.022201625630259514,
-0.04778135195374489,
-0.020155997946858406,
0.009575976058840752,
0.041625700891017914,
0.010537795722484589,
0.10156821459531784,
-0.025955069810152054,
-0.01172951515763998,
-0.035845398902893066,
-0.08077412843704224,
0.028826454654335976,
-0.001035129651427269,
0.0006163860089145601,
-0.05172246694564819,
0.04027446359395981,
0.034118812531232834,
-0.006498150993138552,
0.0725165531039238,
-0.031266193836927414,
-0.050596434623003006,
-0.012423901818692684,
0.046580247581005096,
-0.017697492614388466,
0.02497917413711548,
-0.03986158221960068,
-0.048119161278009415,
0.025223148986697197,
0.05780304968357086,
-0.0440654419362545,
-0.009017650969326496,
-0.054837826639413834,
-0.0427892692387104,
-0.04856957495212555,
-0.0034484772477298975,
0.015745701268315315,
-0.0932355672121048,
-0.019367774948477745,
0.022614505141973495,
0.05416220799088478,
0.02058764360845089,
-0.022989848628640175,
0.014075418002903461,
-0.008135591633617878,
0.059792373329401016,
0.015182684175670147,
-0.07525656372308731,
0.019208252429962158,
0.0025969145353883505,
-0.0388481542468071,
0.018485715612769127,
0.0032701888121664524,
-0.03291771188378334,
-0.027250008657574654,
-0.029239334166049957,
-0.02355286478996277,
-0.024697666987776756,
0.010584713891148567,
0.1295689046382904,
0.059679772704839706,
-0.028732620179653168,
0.002573455451056361
]
|
29,401 | quart.app | teardown_websocket | Add a teardown websocket function.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.teardown_websocket
async def func():
...
Arguments:
func: The teardown websocket function itself.
| from __future__ import annotations
import asyncio
import os
import signal
import sys
import warnings
from collections import defaultdict
from datetime import timedelta
from inspect import isasyncgen, isgenerator
from types import TracebackType
from typing import (
Any,
AnyStr,
AsyncGenerator,
Awaitable,
Callable,
cast,
Coroutine,
NoReturn,
Optional,
overload,
TypeVar,
Union,
)
from urllib.parse import quote
from weakref import WeakSet
from aiofiles import open as async_open
from aiofiles.base import AiofilesContextManager
from aiofiles.threadpool.binary import AsyncBufferedReader
from flask.sansio.app import App
from flask.sansio.scaffold import setupmethod
from hypercorn.asyncio import serve
from hypercorn.config import Config as HyperConfig
from hypercorn.typing import ASGIReceiveCallable, ASGISendCallable, Scope
from werkzeug.datastructures import Authorization, Headers, ImmutableDict
from werkzeug.exceptions import Aborter, BadRequestKeyError, HTTPException, InternalServerError
from werkzeug.routing import BuildError, MapAdapter, RoutingException
from werkzeug.wrappers import Response as WerkzeugResponse
from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
has_request_context,
has_websocket_context,
RequestContext,
WebsocketContext,
)
from .globals import (
_cv_app,
_cv_request,
_cv_websocket,
g,
request,
request_ctx,
session,
websocket,
websocket_ctx,
)
from .helpers import get_debug_flag, get_flashed_messages, send_from_directory
from .routing import QuartMap, QuartRule
from .sessions import SecureCookieSessionInterface
from .signals import (
appcontext_tearing_down,
got_background_exception,
got_request_exception,
got_serving_exception,
got_websocket_exception,
request_finished,
request_started,
request_tearing_down,
websocket_finished,
websocket_started,
websocket_tearing_down,
)
from .templating import _default_template_ctx_processor, Environment
from .testing import (
make_test_body_with_headers,
make_test_headers_path_and_query_string,
make_test_scope,
no_op_push,
QuartClient,
QuartCliRunner,
sentinel,
TestApp,
)
from .typing import (
AfterServingCallable,
AfterWebsocketCallable,
ASGIHTTPProtocol,
ASGILifespanProtocol,
ASGIWebsocketProtocol,
BeforeServingCallable,
BeforeWebsocketCallable,
Event,
FilePath,
HeadersValue,
ResponseReturnValue,
ResponseTypes,
ShellContextProcessorCallable,
StatusCode,
TeardownCallable,
TemplateFilterCallable,
TemplateGlobalCallable,
TemplateTestCallable,
TestAppProtocol,
TestClientProtocol,
WebsocketCallable,
WhileServingCallable,
)
from .utils import (
cancel_tasks,
file_path_to_path,
MustReloadError,
observe_changes,
restart,
run_sync,
)
from .wrappers import BaseRequestWebsocket, Request, Response, Websocket
try:
from typing import ParamSpec
except ImportError:
from typing_extensions import ParamSpec # type: ignore
AppOrBlueprintKey = Optional[str] # The App key is None, whereas blueprints are named
T_after_serving = TypeVar("T_after_serving", bound=AfterServingCallable)
T_after_websocket = TypeVar("T_after_websocket", bound=AfterWebsocketCallable)
T_before_serving = TypeVar("T_before_serving", bound=BeforeServingCallable)
T_before_websocket = TypeVar("T_before_websocket", bound=BeforeWebsocketCallable)
T_shell_context_processor = TypeVar(
"T_shell_context_processor", bound=ShellContextProcessorCallable
)
T_teardown = TypeVar("T_teardown", bound=TeardownCallable)
T_template_filter = TypeVar("T_template_filter", bound=TemplateFilterCallable)
T_template_global = TypeVar("T_template_global", bound=TemplateGlobalCallable)
T_template_test = TypeVar("T_template_test", bound=TemplateTestCallable)
T_websocket = TypeVar("T_websocket", bound=WebsocketCallable)
T_while_serving = TypeVar("T_while_serving", bound=WhileServingCallable)
T = TypeVar("T")
P = ParamSpec("P")
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, func: ~T_teardown) -> ~T_teardown | [
0.020391108468174934,
-0.04800533503293991,
-0.10063671320676804,
-0.040396712720394135,
0.03414749726653099,
0.025280917063355446,
-0.03692718222737312,
0.024976572021842003,
-0.07251524925231934,
-0.03650109842419624,
0.039483677595853806,
0.009343388490378857,
0.005097777117043734,
0.032767802476882935,
0.02572728879749775,
0.03386344388127327,
0.05478208139538765,
-0.008252819068729877,
0.040538739413022995,
-0.08708322048187256,
-0.009378895163536072,
0.022156309336423874,
-0.004544883966445923,
-0.02347513660788536,
-0.030982311815023422,
0.001273810281418264,
-0.06512980908155441,
-0.01127090584486723,
0.01563318260014057,
-0.03958512842655182,
0.021222984418272972,
-0.04402856156229973,
0.04431261867284775,
0.01212307158857584,
0.057013943791389465,
-0.007141960319131613,
-0.022602681070566177,
-0.01540999673306942,
-0.04970966652035713,
-0.03570980206131935,
0.0034695318900048733,
-0.03366054594516754,
-0.006974570918828249,
0.0005443335394375026,
0.0076948534697294235,
0.03792137652635574,
-0.03702862933278084,
0.0709732323884964,
0.027127275243401527,
0.04597637057304382,
-0.008404991589486599,
0.006726022344082594,
-0.0012826869497075677,
0.07515290379524231,
0.020594004541635513,
0.080915167927742,
-0.023211371153593063,
0.03564893454313278,
-0.005665887612849474,
-0.03966628760099411,
-0.00618327409029007,
0.05750089883804321,
0.03187505528330803,
0.02276499941945076,
0.022318625822663307,
-0.033619966357946396,
-0.03013014607131481,
0.033538807183504105,
-0.007537608966231346,
-0.019427349790930748,
0.018605617806315422,
-0.010489754378795624,
-0.0202287919819355,
0.01837228797376156,
0.0504806749522686,
-0.035446036607027054,
0.013725955039262772,
-0.0290547925978899,
-0.02601134404540062,
0.013239003717899323,
0.05823132395744324,
-0.006071680691093206,
-0.02390122041106224,
0.015004203654825687,
0.10461349040269852,
0.019954880699515343,
0.03293011710047722,
-0.009886137209832668,
-0.10428885370492935,
-0.02601134404540062,
-0.05246905982494354,
0.027614228427410126,
0.009495561011135578,
0.005052125547081232,
0.01427377574145794,
-0.04897924140095711,
-0.0314083956182003,
-0.0330924354493618,
-0.014598410576581955,
-0.065292127430439,
-0.008719481527805328,
0.06732109189033508,
-0.027046117931604385,
-0.007370219100266695,
0.025280917063355446,
0.0007462790817953646,
0.006310084369033575,
0.018899818882346153,
0.0013340451987460256,
-0.0314083956182003,
-0.008394846692681313,
0.003966628573834896,
-0.002853233367204666,
-0.007238336373120546,
-0.03824600949883461,
0.006086898036301136,
-0.008800639770925045,
0.002695988630875945,
0.04983140528202057,
-0.03999092057347298,
-0.031124338507652283,
0.00827310886234045,
-0.006802108604460955,
-0.030353331938385963,
0.03853006660938263,
0.08367455750703812,
0.009165854193270206,
0.0013606753200292587,
-0.014902755618095398,
-0.01760127954185009,
-0.03349822759628296,
0.04630100354552269,
0.016931721940636635,
0.06683414429426193,
-0.0015407460741698742,
0.0462198443710804,
-0.04321697726845741,
0.013239003717899323,
-0.00982526782900095,
0.047396644949913025,
-0.0048745907843112946,
-0.008044850081205368,
-0.03067796677350998,
-0.03323446214199066,
0.017012879252433777,
0.0035101112443953753,
-0.04431261867284775,
-0.052063267678022385,
-0.023779481649398804,
-0.01269118208438158,
0.034025758504867554,
-0.009181071072816849,
-0.0642370656132698,
0.062451574951410294,
-0.019904157146811485,
0.030231593176722527,
-0.02282586693763733,
0.03812427073717117,
-0.020614294335246086,
-0.054538607597351074,
-0.07632970064878464,
-0.05591830238699913,
0.01937662623822689,
-0.07973836362361908,
-0.009551357477903366,
0.022298336029052734,
0.005176399368792772,
0.03146926313638687,
0.03660254552960396,
0.06959353387355804,
-0.017976639792323112,
0.05486324056982994,
-0.02968377247452736,
-0.021040378138422966,
0.03656196594238281,
0.010996995493769646,
0.0005906193400733173,
-0.017854901030659676,
-0.03217940032482147,
-0.04017352685332298,
-0.017094038426876068,
-0.07604564726352692,
-0.03648081049323082,
-0.0009460053988732398,
0.0057622636668384075,
0.05267195776104927,
-0.008004271425306797,
0.028243206441402435,
0.05928638577461243,
-0.023698322474956512,
-0.07831808924674988,
0.023515716195106506,
0.07105439156293869,
0.01640419103205204,
0.01744910702109337,
0.019741838797926903,
0.001772809075191617,
0.01979256421327591,
0.013015816919505596,
-0.059408124536275864,
-0.03936194255948067,
0.029602615162730217,
0.010712940245866776,
-0.06046318635344505,
-0.03784021735191345,
-0.022217178717255592,
0.02085776999592781,
-0.000913668773137033,
-0.004316625185310841,
-0.003302142256870866,
-0.04151264578104019,
-0.004192350897938013,
0.03428952768445015,
0.009044116362929344,
0.0637906938791275,
-0.040538739413022995,
0.015146231278777122,
0.022927315905690193,
0.03775905817747116,
0.014020155183970928,
0.06249215453863144,
0.040457583963871,
-0.029704062268137932,
-0.006330374162644148,
-0.008496295660734177,
-0.0038271371740847826,
0.0041466993279755116,
0.022034570574760437,
-0.011331775225698948,
0.006700660102069378,
0.013543347828090191,
0.03311272710561752,
0.04565173387527466,
0.026883799582719803,
0.005310818552970886,
-0.0007221850682981312,
0.0011799705680459738,
0.038854699581861496,
-0.00901875365525484,
-0.013715810142457485,
0.002148167695850134,
-0.010099178180098534,
0.010023091919720173,
-0.03812427073717117,
0.007106453645974398,
0.0031474335119128227,
0.027086695656180382,
0.0017284253844991326,
-0.004184742458164692,
0.008318760432302952,
-0.00453981151804328,
-0.03824600949883461,
-0.0345127135515213,
-0.03688660264015198,
-0.03917933255434036,
-0.020553424954414368,
-0.00447133369743824,
-0.01744910702109337,
0.00588400149717927,
0.015075217932462692,
-0.004993792623281479,
0.025179468095302582,
-0.07308335602283478,
0.07612680643796921,
-0.01839257776737213,
-0.052144426852464676,
0.0021824066061526537,
-0.01993459090590477,
-0.04390682652592659,
-0.026315689086914062,
0.052144426852464676,
0.028506971895694733,
0.00809050165116787,
0.013908562250435352,
-0.06809210032224655,
-0.03116491809487343,
-0.013269437476992607,
-0.0015001667197793722,
-0.03232142701745033,
-0.03153013065457344,
-0.012853499501943588,
-0.00009146198135567829,
0.05628351867198944,
0.021243274211883545,
-0.009181071072816849,
-0.004238002933561802,
-0.012670893222093582,
0.011007140390574932,
0.017286790534853935,
-0.026193952187895775,
-0.019214307889342308,
-0.0026579455006867647,
0.00712167052552104,
-0.01667810045182705,
0.008795567788183689,
0.020198356360197067,
-0.08266007900238037,
0.02091863937675953,
0.04991256445646286,
-0.07446305453777313,
0.03146926313638687,
0.033417072147130966,
0.027106985449790955,
0.01321871392428875,
0.008455716073513031,
0.01951865293085575,
0.007304277736693621,
-0.004965894389897585,
-0.010966561734676361,
-0.01683027297258377,
-0.0034948938991874456,
-0.039767734706401825,
0.04183727875351906,
-0.008404991589486599,
0.02609250321984291,
0.05636467784643173,
-0.0072738430462777615,
-0.02057371474802494,
0.03881411999464035,
0.07852098345756531,
-0.029217110946774483,
0.0433792918920517,
0.06622545421123505,
0.008724553510546684,
0.010631782002747059,
-0.014781017787754536,
0.04248654842376709,
-0.021324433386325836,
-0.03794166445732117,
0.007836881093680859,
-0.08343107998371124,
0.03627791255712509,
-0.0447995699942112,
-0.026843219995498657,
-0.055674828588962555,
0.02751277945935726,
-0.02828378602862358,
-0.006249215453863144,
0.0008711873088032007,
-0.058434221893548965,
0.03258519619703293,
0.00799412652850151,
0.01116945780813694,
0.04208075627684593,
-0.028730159625411034,
-0.05750089883804321,
0.01375638972967863,
0.01655636355280876,
0.05579656735062599,
-0.03613588586449623,
0.08351223915815353,
-0.013624507002532482,
0.0011159313144162297,
0.0952802449464798,
0.05522845685482025,
-0.042040176689624786,
0.012376693077385426,
-0.014689713716506958,
0.007872387766838074,
0.004484015051275492,
-0.019356336444616318,
0.059489283710718155,
-0.0036115595139563084,
0.012143361382186413,
-0.006878194864839315,
-0.03386344388127327,
0.07146017998456955,
-0.014689713716506958,
-0.0004730026994366199,
0.021324433386325836,
-0.0017423746176064014,
-0.030738836154341698,
-0.004418073687702417,
0.0026173661462962627,
-0.03554748371243477,
0.00019354434334672987,
-0.026193952187895775,
-0.0442720390856266,
-0.07612680643796921,
0.057298000901937485,
0.03329533338546753,
0.0681326761841774,
-0.0030256956815719604,
-0.0014215443516150117,
0.008496295660734177,
-0.054822660982608795,
-0.014933190308511257,
-0.009389040060341358,
-0.0042303940281271935,
0.015815790742635727,
0.03514169156551361,
0.0021316823549568653,
0.0060412464663386345,
0.021507039666175842,
0.012417271733283997,
-0.030211303383111954,
-0.045854631811380386,
0.08164559304714203,
0.01958966627717018,
-0.010307147167623043,
0.06687472015619278,
-0.02304905466735363,
0.04893866181373596,
0.055674828588962555,
0.01886938326060772,
-0.011676699854433537,
0.08740785717964172,
-0.01290422398597002,
0.03412720933556557,
0.06882252544164658,
-0.03526343032717705,
-0.019041845574975014,
-0.09495560824871063,
-0.0022584928665310144,
-0.021933123469352722,
-0.04228365048766136,
-0.01873750053346157,
0.004418073687702417,
0.03542574867606163,
0.03676486387848854,
-0.007933257147669792,
0.01474043820053339,
0.04390682652592659,
0.04321697726845741,
0.030880862846970558,
0.029379427433013916,
-0.01915343850851059,
0.029582325369119644,
-0.06326316297054291,
0.008881798945367336,
0.037150368094444275,
0.01803750731050968,
-0.04333871603012085,
-0.03374170511960983,
0.030170725658535957,
0.02956203557550907,
-0.022460654377937317,
0.020269369706511497,
0.02771567553281784,
0.015866514295339584,
-0.037211235612630844,
0.01887952908873558,
0.0060158842243254185,
0.02743162028491497,
0.07604564726352692,
-0.001398718450218439,
-0.08529773354530334,
0.02956203557550907,
0.08748901635408401,
-0.009008608758449554,
-0.06939063966274261,
-0.03589240834116936,
-0.014365079812705517,
0.010672361589968204,
-0.04009236767888069,
-0.013908562250435352,
0.03867209330201149,
0.04544883966445923,
-0.08416151255369186,
-0.06837615370750427,
0.030170725658535957,
-0.0057115391828119755,
0.028182338923215866,
-0.017307080328464508,
0.03986918181180954,
0.040964823216199875,
0.07133844494819641,
-0.01696215569972992,
-0.0447995699942112,
0.006046318914741278,
0.02509830892086029,
0.04447493702173233,
-0.006883267313241959,
-0.007715143263339996,
0.03879383206367493,
-0.011585395783185959,
-0.013847692869603634,
-0.015237534418702126,
-0.026356268674135208,
-0.015886804088950157,
0.030779413878917694,
-0.02933884784579277,
-0.00021224886586423963,
0.06853847205638885,
-0.05380817875266075,
-0.051495157182216644,
0.04459667205810547,
-0.009211505763232708,
0.046341583132743835,
-0.03293011710047722,
-0.03684602305293083,
-0.00011087982420576736,
-0.009531067684292793,
0.010205699130892754,
0.048735763877630234,
0.01442594826221466,
-0.01385783776640892,
0.027837414294481277,
0.00452459417283535,
-0.04934445396065712,
0.012265099212527275,
-0.018636053428053856,
0.0023117531090974808,
0.04601695016026497,
0.00646732933819294,
-0.020614294335246086,
-0.06837615370750427,
-0.043501030653715134,
-0.027979440987110138,
-0.0013023425126448274,
0.02227804623544216,
0.023637454956769943,
-0.012873789295554161,
-0.04735606536269188,
0.031712740659713745,
-0.006223853211849928,
0.014983913861215115,
-0.03153013065457344,
-0.00817166082561016,
-0.06269504874944687,
0.02134472317993641,
0.002567910123616457,
0.04686911404132843,
0.013705665245652199,
0.004177134018391371,
-0.009678168222308159,
0.03627791255712509,
0.02418527565896511,
0.018351998180150986,
0.05457918718457222,
0.021040378138422966,
0.03966628760099411,
0.029217110946774483,
-0.005878929048776627,
0.02925769053399563,
-0.020938929170370102,
-0.013533202931284904,
-0.07405725866556168,
-0.034472133964300156,
-0.026112793013453484,
0.0035430819261819124,
0.061477672308683395,
-0.026964958757162094,
-0.05401107668876648,
-0.05502555891871452,
-0.03315330669283867,
0.0338025726377964,
0.019741838797926903,
0.010408596135675907,
-0.05770379304885864,
-0.0638718530535698,
0.010352798737585545,
0.061761725693941116,
0.007370219100266695,
-0.09365706890821457,
-0.08026589453220367,
0.027370750904083252,
-0.020107053220272064,
-0.018007073551416397,
0.02532149665057659,
-0.02956203557550907,
0.009267302230000496,
-0.08708322048187256,
-0.02227804623544216,
0.0036242406349629164,
0.049385033547878265,
0.019315756857395172,
0.010520189069211483,
-0.023130211979150772,
-0.020380964502692223,
-0.009652805514633656,
0.005478208418935537,
0.06135593354701996,
-0.018423011526465416,
-0.03999092057347298,
0.013928852044045925,
0.009414402768015862,
0.006340519059449434,
0.057784952223300934,
-0.013370886445045471,
0.06021971255540848,
0.010408596135675907,
-0.042243070900440216,
-0.06898484379053116,
0.0021354868076741695,
-0.015156376175582409,
0.09739036858081818,
0.07624854147434235,
-0.011585395783185959,
-0.016637520864605904,
-0.05912407115101814,
0.018149100244045258,
-0.0075528258457779884,
-0.034025758504867554,
0.009099912829697132,
0.04260828718543053,
0.00092761788982898,
0.05421397089958191,
0.010611492209136486,
0.03187505528330803,
-0.02361716516315937,
0.06155882775783539,
0.028385234996676445,
-0.056242939084768295,
0.046341583132743835,
-0.026315689086914062,
-0.008318760432302952,
0.03773876652121544,
0.026275109499692917,
0.010479609481990337,
-0.005899218842387199,
-0.004879663232713938,
0.008369484916329384,
0.006310084369033575,
0.007400653790682554,
-0.005143428687006235,
-0.06732109189033508,
0.041959017515182495,
0.059570442885160446,
-0.027167854830622673,
0.0233331099152565,
-0.024408461526036263,
-0.03577066957950592,
-0.01407087966799736,
-0.03802282363176346,
0.0047021289356052876,
0.01754041202366352,
-0.03508082404732704,
-0.07969778776168823,
-0.05470092222094536,
0.019904157146811485,
-0.020269369706511497,
0.018331708386540413,
-0.013878127560019493,
0.0486140251159668,
-0.016089700162410736,
-0.007344856858253479,
0.004392711445689201,
-0.011331775225698948,
0.011788292787969112,
0.0519009493291378,
-0.043298136442899704,
0.01007888838648796,
-0.04565173387527466,
0.0015369417378678918,
0.010469464585185051,
0.04078221693634987,
-0.05879943445324898,
0.027249014005064964,
-0.0052347322925925255,
-0.0007399385212920606,
0.06943121552467346,
-0.018291128799319267,
0.01746939681470394,
-0.05790669098496437,
0.040680769830942154,
-0.019041845574975014,
-0.041877858340740204,
0.01886938326060772,
0.012031768448650837,
0.039767734706401825,
-0.004118801094591618,
0.015927383676171303,
0.01053033396601677,
-0.014872320927679539,
-0.004456116817891598,
0.04642274230718613,
-0.017996927723288536,
0.05535019189119339,
0.007791229523718357,
0.062045782804489136,
0.019904157146811485,
-0.018605617806315422,
-0.03293011710047722,
-0.014882465824484825,
0.034025758504867554,
-0.018047653138637543,
-0.0077202157117426395,
-0.007096308749169111,
-0.01753026619553566,
-0.037150368094444275,
0.047761861234903336,
-0.038489487022161484,
0.0011825067922472954,
0.004689447581768036,
-0.027309883385896683,
0.04707201197743416,
-0.04650390148162842,
0.015927383676171303,
-0.07458478957414627,
0.024773675948381424,
0.006487618666142225,
-0.028222916647791862,
0.020380964502692223,
-0.04516478255391121,
-0.05608062073588371,
-0.0316721610724926,
-0.0637906938791275,
-0.018504170700907707,
-0.02956203557550907,
0.04212133586406708,
-0.04378508776426315,
0.040903955698013306,
-0.04488072916865349,
-0.001089935190975666,
0.06058492511510849,
-0.026275109499692917,
-0.025341786444187164,
0.009480344131588936,
0.03388373181223869,
-0.006594139616936445,
-0.024854833260178566,
0.05141399800777435,
-0.01028685737401247,
-0.03483734652400017,
0.0013403856428340077,
-0.0633443221449852,
0.02728959359228611,
0.004339450970292091,
0.032848961651325226,
-0.06046318635344505,
0.02601134404540062,
0.05380817875266075,
-0.0005814255564473569,
0.06301968544721603,
-0.05328064784407616,
-0.0028405524790287018,
0.003961556125432253,
0.04597637057304382,
-0.0023967160377651453,
0.035608354955911636,
-0.032402586191892624,
-0.0633443221449852,
0.04792417585849762,
0.032848961651325226,
-0.03230113908648491,
0.023698322474956512,
-0.05563424900174141,
-0.06951237469911575,
-0.016931721940636635,
-0.003933657892048359,
-0.04236480966210365,
-0.07641085982322693,
-0.008344123139977455,
0.008805712684988976,
0.0184534452855587,
0.0323822982609272,
-0.02814175933599472,
0.024773675948381424,
0.011930320411920547,
0.06448054313659668,
-0.013847692869603634,
-0.08643395453691483,
0.02956203557550907,
-0.054173391312360764,
0.0020758858881890774,
0.016201293095946312,
-0.0053412532433867455,
-0.06131535395979881,
-0.01625201851129532,
-0.030414201319217682,
0.020249081775546074,
0.02199399098753929,
0.007147032767534256,
0.03755616024136543,
0.02885189652442932,
-0.016850562766194344,
0.009875992313027382
]
|
29,402 | flask.sansio.app | template_filter | A decorator that is used to register custom template filter.
You can specify a name for the filter, otherwise the function
name will be used. Example::
@app.template_filter()
def reverse(s):
return s[::-1]
:param name: the optional name of the filter, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_filter], ~T_template_filter] | [
0.05359918996691704,
-0.054875362664461136,
-0.036464717239141464,
-0.052510689944028854,
0.053936999291181564,
0.003920003771781921,
-0.010753619484603405,
0.03759074956178665,
-0.047856420278549194,
-0.05476275831460953,
-0.0050389994867146015,
0.00211483146995306,
-0.007830624468624592,
0.010734851472079754,
0.02368423528969288,
0.03575156256556511,
0.06497212499380112,
0.0356014221906662,
0.07529409974813461,
-0.06744939833879471,
0.040612272918224335,
0.0011840944644063711,
0.00034396801493130624,
0.021957650780677795,
-0.02952084317803383,
0.0011201687157154083,
-0.02282094396650791,
-0.008792444132268429,
0.06572281569242477,
-0.048006556928157806,
-0.0071174693293869495,
-0.04830683395266533,
0.02875138632953167,
0.04729340225458145,
0.06061813235282898,
-0.023271357640624046,
-0.01243328582495451,
-0.00016304025484714657,
-0.0050389994867146015,
-0.024003278464078903,
0.01970558427274227,
0.0161961130797863,
-0.02255820296704769,
-0.054462481290102005,
0.036971431225538254,
0.02796316333115101,
-0.033743467181921005,
0.040349531918764114,
-0.018100986257195473,
0.03548882156610489,
0.0031528936233371496,
-0.03327428922057152,
0.026649458333849907,
0.04766874760389328,
0.013521784916520119,
0.027362611144781113,
-0.017613038420677185,
0.02603013999760151,
-0.004783296026289463,
-0.04654271528124809,
-0.012292531318962574,
0.05907921865582466,
-0.011748282238841057,
0.015098231844604015,
0.03836020454764366,
-0.010021697729825974,
-0.06193183735013008,
0.01171074714511633,
0.011907803826034069,
-0.025054244324564934,
0.011025743559002876,
0.00696263974532485,
-0.020362436771392822,
0.01347486674785614,
0.047481074929237366,
-0.04969560727477074,
0.019536679610610008,
-0.09316049516201019,
0.03785349056124687,
-0.05754030868411064,
0.029595911502838135,
-0.032711271196603775,
-0.053036175668239594,
0.010293821804225445,
0.06895077973604202,
0.03443785384297371,
0.039824049919843674,
0.012677259743213654,
-0.037252940237522125,
0.046167369931936264,
-0.053674258291721344,
0.0006052429671399295,
-0.011110196821391582,
0.029145497828722,
0.024791501462459564,
-0.03340565785765648,
0.017810095101594925,
-0.003990381024777889,
-0.0020550109911710024,
-0.029145497828722,
0.031134823337197304,
0.03394990786910057,
-0.0035141627304255962,
0.02435985580086708,
0.007877541705965996,
0.03351826220750809,
-0.0055644819512963295,
0.025842467322945595,
0.00977772381156683,
-0.017040638253092766,
-0.035695258527994156,
-0.03261743485927582,
-0.01858893409371376,
-0.05915428698062897,
-0.025035476312041283,
0.007985454052686691,
0.012968151830136776,
-0.007197230122983456,
0.07739602774381638,
-0.04226378723978996,
0.009402379393577576,
-0.031772907823324203,
0.02835727483034134,
-0.05904168635606766,
0.04913259297609329,
0.07668287307024002,
-0.03500087186694145,
0.028075765818357468,
0.02394697815179825,
0.008154358714818954,
-0.0330490805208683,
0.0686505064368248,
-0.055100567638874054,
0.050070952624082565,
0.009327310137450695,
0.017857013270258904,
-0.06028032302856445,
0.02927686832845211,
-0.021957650780677795,
0.09225966781377792,
-0.0018051723018288612,
-0.018729688599705696,
-0.0381912998855114,
-0.013071371242403984,
-0.0004495336615946144,
-0.018907977268099785,
0.005156294908374548,
0.003368716686964035,
-0.02848864533007145,
0.07199107110500336,
0.039185963571071625,
-0.004095946438610554,
-0.04350242391228676,
0.039073359221220016,
0.0005451291799545288,
0.03989911824464798,
-0.02253943495452404,
-0.0014779188204556704,
0.01993079110980034,
-0.08580374717712402,
-0.04233885556459427,
-0.03956130892038345,
-0.022051487118005753,
-0.08565361052751541,
-0.010218753479421139,
0.033105380833148956,
-0.003181044477969408,
0.01108204573392868,
0.016533924266695976,
0.05543837696313858,
-0.0466177836060524,
-0.002463198034092784,
-0.00031786985346116126,
0.0014966861344873905,
0.054087139666080475,
0.04170076921582222,
0.006789043080061674,
-0.029821118339896202,
-0.0019424076890572906,
-0.028826454654335976,
-0.020099695771932602,
-0.06317047774791718,
-0.06534747034311295,
0.013578086160123348,
0.014854257926344872,
0.05025862529873848,
-0.04042460024356842,
0.04158816859126091,
0.03083454817533493,
0.04079994559288025,
-0.0648219883441925,
0.04158816859126091,
0.07371765375137329,
0.01819482259452343,
-0.02499794214963913,
-0.00011861472012242302,
-0.02927686832845211,
-0.0032608050387352705,
0.004583894275128841,
-0.04297694191336632,
-0.05555098131299019,
0.043052010238170624,
0.012376983650028706,
-0.035151008516550064,
0.016974953934550285,
-0.0016808394575491548,
0.009566592052578926,
0.0072535318322479725,
-0.044891197234392166,
-0.037496913224458694,
-0.036727458238601685,
0.0023271357640624046,
0.024040812626481056,
-0.017969615757465363,
0.00641369866207242,
-0.07724589109420776,
0.03265497088432312,
-0.005146910902112722,
0.0041381726041436195,
0.006427774205803871,
0.04556681960821152,
0.055250708013772964,
0.01841064542531967,
-0.006470000371336937,
-0.015229602344334126,
-0.006713974289596081,
0.030008791014552116,
-0.007258223835378885,
-0.015558028593659401,
-0.01858893409371376,
-0.04353995993733406,
-0.0246038306504488,
0.05866634100675583,
0.030909616500139236,
0.04481612890958786,
-0.04466599225997925,
0.04965807497501373,
0.032579898834228516,
-0.017594272270798683,
0.0056160916574299335,
0.035826630890369415,
0.027268776670098305,
0.022858478128910065,
-0.03443785384297371,
0.0031833902467042208,
0.011635678820312023,
0.0014028499135747552,
-0.008754909969866276,
-0.0213946346193552,
-0.0317353755235672,
0.003500087186694145,
-0.026011371985077858,
0.0047997175715863705,
-0.004870094358921051,
-0.05115945264697075,
-0.028282206505537033,
-0.008806519210338593,
-0.035545121878385544,
-0.01339979749172926,
0.012104859575629234,
-0.008895663544535637,
-0.002564071910455823,
-0.036577317863702774,
0.07352998107671738,
-0.007276990916579962,
-0.02435985580086708,
0.0033429116010665894,
-0.023515330627560616,
-0.032054416835308075,
-0.015454808250069618,
0.04804409295320511,
0.06324554234743118,
-0.020174765959382057,
0.013155823573470116,
-0.054612621665000916,
-0.014037882909178734,
-0.024434925988316536,
0.010678550228476524,
-0.018861059099435806,
-0.013775141909718513,
0.013596853241324425,
-0.05093424394726753,
0.04316461458802223,
0.047856420278549194,
-0.008478092961013317,
-0.009674503467977047,
-0.04338981956243515,
0.05806579068303108,
-0.0070658596232533455,
-0.0036713380832225084,
0.02306491695344448,
0.017303379252552986,
0.03004632517695427,
-0.01295876782387495,
-0.012011023238301277,
0.038923222571611404,
-0.0751064270734787,
-0.013305961154401302,
0.020756550133228302,
-0.0764952003955841,
0.028695084154605865,
-0.013071371242403984,
0.03274880349636078,
0.032429762184619904,
0.0006679958896711469,
0.008412407711148262,
0.03562019020318985,
-0.025955069810152054,
-0.019536679610610008,
0.011579376645386219,
0.00991847738623619,
-0.012292531318962574,
-0.010218753479421139,
-0.011663829907774925,
0.0049873897805809975,
0.01795084960758686,
-0.03509470820426941,
-0.04894492030143738,
0.004365725442767143,
0.062382251024246216,
-0.04729340225458145,
0.028657549992203712,
0.040875013917684555,
0.008093365468084812,
0.030665643513202667,
0.0002095184609061107,
0.06320800632238388,
-0.008543778210878372,
0.001734795281663537,
0.02242683246731758,
-0.052285484969615936,
0.03162277117371559,
0.004912320990115404,
0.005067150574177504,
-0.009974779561161995,
0.004452523775398731,
-0.03002755716443062,
-0.06028032302856445,
-0.056939754635095596,
-0.06200690567493439,
0.05780304968357086,
-0.007844699546694756,
-0.0033311822917312384,
-0.006010203156620264,
-0.01334349624812603,
-0.011832734569907188,
0.00785877462476492,
0.023083684965968132,
0.049432866275310516,
-0.02668699249625206,
0.06763707101345062,
-0.034907035529613495,
0.014976244419813156,
0.0621945783495903,
0.017200160771608353,
-0.08242564648389816,
-0.01970558427274227,
-0.019743118435144424,
0.017087556421756744,
0.003952846396714449,
-0.008684532716870308,
0.021413402631878853,
-0.05119698494672775,
0.01624303124845028,
0.030534273013472557,
-0.025711096823215485,
0.012198694981634617,
-0.025861233472824097,
0.0110069764778018,
0.021413402631878853,
0.038510341197252274,
-0.035939231514930725,
0.007797781378030777,
-0.02512931264936924,
-0.015238985419273376,
-0.03719663619995117,
0.010978825390338898,
-0.04218871891498566,
-0.08250071853399277,
0.09090843051671982,
0.014760421589016914,
0.0466177836060524,
-0.00032871964504010975,
0.0039481548592448235,
-0.0015705820405855775,
-0.1036701425909996,
-0.020531343296170235,
-0.012705410830676556,
-0.023008616641163826,
-0.01178581640124321,
0.01893612928688526,
-0.05029615759849548,
0.004224971402436495,
0.06962639838457108,
0.03175414353609085,
-0.04519147425889969,
-0.01918010227382183,
0.03471936285495758,
0.0278505589812994,
0.0388481542468071,
0.07450588047504425,
-0.005320508033037186,
0.06287019699811935,
0.019405309110879898,
0.05870387703180313,
-0.016852967441082,
0.06031785532832146,
0.01081930473446846,
0.011935953982174397,
0.08407716453075409,
0.018973663449287415,
-0.012686642818152905,
-0.07401792705059052,
-0.04699312895536423,
-0.0388481542468071,
-0.036089371889829636,
0.00008657848229631782,
0.07011434435844421,
0.03203565254807472,
0.012217462994158268,
0.04680545628070831,
-0.0004037885519210249,
0.05397453531622887,
0.03648348152637482,
0.012095475569367409,
0.04297694191336632,
-0.026912199333310127,
0.03539498522877693,
-0.039974186569452286,
0.020043395459651947,
0.006207259371876717,
-0.0168154314160347,
-0.04485366493463516,
-0.031416330486536026,
0.014066033996641636,
-0.015201451256871223,
-0.010002929717302322,
0.002878422848880291,
0.00455339765176177,
0.04031199589371681,
0.0030684410594403744,
-0.0003504192573018372,
0.03952377289533615,
0.017415983602404594,
0.025804933160543442,
0.010237520560622215,
-0.06395869702100754,
0.03122865967452526,
0.09038294851779938,
-0.014591515995562077,
-0.012611574493348598,
-0.05754030868411064,
0.0023998587857931852,
-0.0033921757712960243,
-0.05540084466338158,
-0.041775841265916824,
0.013174590654671192,
0.01009676605463028,
-0.04338981956243515,
0.031679075211286545,
0.023402728140354156,
-0.02537328563630581,
0.021450936794281006,
-0.025354519486427307,
0.003429710166528821,
0.017003104090690613,
0.022070255130529404,
0.023665469139814377,
-0.052135348320007324,
0.0006240101647563279,
0.01004046481102705,
-0.0020690863020718098,
0.006850036792457104,
-0.004318807274103165,
0.021582307294011116,
0.040724873542785645,
0.032955244183540344,
-0.012405134737491608,
-0.03959884122014046,
0.027794258669018745,
0.012921233661472797,
-0.03353703022003174,
-0.02394697815179825,
0.05517563596367836,
-0.059642236679792404,
-0.0595671683549881,
0.03899829089641571,
0.023252589628100395,
0.01269602682441473,
0.004959238693118095,
-0.012423901818692684,
0.030909616500139236,
0.002004574052989483,
0.016608992591500282,
0.02666822448372841,
0.017462901771068573,
0.024810269474983215,
0.03256113454699516,
0.020155997946858406,
-0.03248606249690056,
-0.01282739732414484,
-0.011166498064994812,
0.007746171671897173,
0.05025862529873848,
0.007258223835378885,
-0.04102515056729317,
-0.01872030645608902,
-0.03291771188378334,
-0.022614505141973495,
-0.031660307198762894,
0.0014661893947049975,
0.030740711838006973,
0.008707991801202297,
-0.003101283684372902,
-0.016008442267775536,
0.001524836872704327,
0.0017922698752954602,
-0.029201800003647804,
0.012208078987896442,
-0.007924459874629974,
0.017594272270798683,
-0.0003967508382629603,
0.05142219364643097,
-0.037759654223918915,
0.013709456659853458,
-0.01295876782387495,
0.10404548794031143,
0.040875013917684555,
0.0362582765519619,
0.09661366790533066,
0.013352879323065281,
0.054349880665540695,
0.04079994559288025,
-0.014882408082485199,
0.02681836299598217,
0.03396867588162422,
-0.05003341659903526,
-0.067411869764328,
-0.014150486327707767,
-0.06099347770214081,
0.0304404366761446,
0.01955544762313366,
-0.026987267658114433,
0.0041381726041436195,
-0.043314751237630844,
-0.05164739862084389,
0.00035804344224743545,
-0.03425018489360809,
0.009050493128597736,
-0.08182509243488312,
-0.06576035171747208,
0.021826280280947685,
0.042151182889938354,
0.03507594019174576,
-0.08978239446878433,
-0.017331531271338463,
0.04841943830251694,
0.016496390104293823,
0.006934489123523235,
0.023027382791042328,
-0.026367949321866035,
0.01709694042801857,
-0.021075591444969177,
-0.024904105812311172,
0.019611747935414314,
0.041400495916604996,
-0.01068793423473835,
0.02113189361989498,
-0.0343252532184124,
-0.054987963289022446,
-0.026912199333310127,
-0.021807514131069183,
0.047743815928697586,
0.004293002188205719,
-0.03120989352464676,
0.027531517669558525,
0.0116544459015131,
0.013521784916520119,
0.04868217930197716,
-0.03663362190127373,
0.031003452837467194,
-0.005770921241492033,
-0.040349531918764114,
-0.06362088769674301,
-0.0440279059112072,
-0.015558028593659401,
0.07563190907239914,
0.05998004600405693,
-0.027418913319706917,
-0.05386193096637726,
-0.08280099183320999,
0.008764293044805527,
-0.008919122628867626,
-0.057990722358226776,
0.002749398350715637,
0.027362611144781113,
-0.01217054482549429,
0.024284787476062775,
0.009519673883914948,
0.026855897158384323,
-0.04676792025566101,
0.03783472254872322,
0.036464717239141464,
-0.01801653392612934,
0.03460675850510597,
-0.021038057282567024,
-0.00816374272108078,
0.019987093284726143,
-0.029764816164970398,
0.010453343391418457,
-0.017725642770528793,
-0.04102515056729317,
0.02047504112124443,
0.03663362190127373,
-0.019086265936493874,
-0.05115945264697075,
-0.06335815042257309,
0.0259175356477499,
0.05618906766176224,
-0.05645180866122246,
-0.021432168781757355,
0.006746816914528608,
0.008759601972997189,
0.003328836290165782,
-0.005043691489845514,
0.04312707856297493,
0.010340739972889423,
-0.030365368351340294,
-0.04586709290742874,
-0.027043569833040237,
0.022257927805185318,
-0.01288369856774807,
0.024378623813390732,
-0.018251124769449234,
0.03522607684135437,
0.005583249032497406,
0.037496913224458694,
-0.010378275066614151,
-0.012517738156020641,
0.03967390954494476,
0.0323922261595726,
-0.06970147043466568,
-0.014760421589016914,
-0.014347542077302933,
-0.007619492709636688,
-0.003915312234312296,
0.026893431320786476,
-0.07315463572740555,
0.04973314329981804,
-0.010650399141013622,
-0.007924459874629974,
0.06714912503957748,
-0.03171660751104355,
0.009102103300392628,
-0.023233823478221893,
0.0106973173096776,
-0.014760421589016914,
-0.031172357499599457,
-0.004605007357895374,
0.026762060821056366,
0.0054284194484353065,
-0.023871907964348793,
0.024697666987776756,
-0.0440279059112072,
-0.007896309718489647,
-0.028150836005806923,
0.08730512112379074,
-0.04369009658694267,
0.054875362664461136,
0.023477796465158463,
0.054612621665000916,
-0.029990023002028465,
0.011476157233119011,
-0.03911089524626732,
-0.02098175510764122,
0.004773912485688925,
-0.04886985197663307,
0.042151182889938354,
0.04106268659234047,
-0.022595737129449844,
-0.039974186569452286,
0.03648348152637482,
-0.049170125275850296,
0.05243562161922455,
0.009571284055709839,
-0.03396867588162422,
0.031153591349720955,
-0.01966805011034012,
0.007506889291107655,
-0.04095008224248886,
0.013427948579192162,
-0.03511347621679306,
0.011053894646465778,
0.04327721893787384,
-0.0893319845199585,
-0.056151531636714935,
-0.015041929669678211,
-0.08242564648389816,
-0.01628056727349758,
-0.0029206492472440004,
0.045416682958602905,
0.008661073632538319,
0.0543874129652977,
-0.001301976153627038,
-0.011279101483523846,
0.03869801387190819,
-0.022201625630259514,
-0.04778135195374489,
-0.020155997946858406,
0.009575976058840752,
0.041625700891017914,
0.010537795722484589,
0.10156821459531784,
-0.025955069810152054,
-0.01172951515763998,
-0.035845398902893066,
-0.08077412843704224,
0.028826454654335976,
-0.001035129651427269,
0.0006163860089145601,
-0.05172246694564819,
0.04027446359395981,
0.034118812531232834,
-0.006498150993138552,
0.0725165531039238,
-0.031266193836927414,
-0.050596434623003006,
-0.012423901818692684,
0.046580247581005096,
-0.017697492614388466,
0.02497917413711548,
-0.03986158221960068,
-0.048119161278009415,
0.025223148986697197,
0.05780304968357086,
-0.0440654419362545,
-0.009017650969326496,
-0.054837826639413834,
-0.0427892692387104,
-0.04856957495212555,
-0.0034484772477298975,
0.015745701268315315,
-0.0932355672121048,
-0.019367774948477745,
0.022614505141973495,
0.05416220799088478,
0.02058764360845089,
-0.022989848628640175,
0.014075418002903461,
-0.008135591633617878,
0.059792373329401016,
0.015182684175670147,
-0.07525656372308731,
0.019208252429962158,
0.0025969145353883505,
-0.0388481542468071,
0.018485715612769127,
0.0032701888121664524,
-0.03291771188378334,
-0.027250008657574654,
-0.029239334166049957,
-0.02355286478996277,
-0.024697666987776756,
0.010584713891148567,
0.1295689046382904,
0.059679772704839706,
-0.028732620179653168,
0.002573455451056361
]
|
29,403 | flask.sansio.app | template_global | A decorator that is used to register a custom template global function.
You can specify a name for the global function, otherwise the function
name will be used. Example::
@app.template_global()
def double(n):
return 2 * n
.. versionadded:: 0.10
:param name: the optional name of the global function, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_global], ~T_template_global] | [
0.05359918996691704,
-0.054875362664461136,
-0.036464717239141464,
-0.052510689944028854,
0.053936999291181564,
0.003920003771781921,
-0.010753619484603405,
0.03759074956178665,
-0.047856420278549194,
-0.05476275831460953,
-0.0050389994867146015,
0.00211483146995306,
-0.007830624468624592,
0.010734851472079754,
0.02368423528969288,
0.03575156256556511,
0.06497212499380112,
0.0356014221906662,
0.07529409974813461,
-0.06744939833879471,
0.040612272918224335,
0.0011840944644063711,
0.00034396801493130624,
0.021957650780677795,
-0.02952084317803383,
0.0011201687157154083,
-0.02282094396650791,
-0.008792444132268429,
0.06572281569242477,
-0.048006556928157806,
-0.0071174693293869495,
-0.04830683395266533,
0.02875138632953167,
0.04729340225458145,
0.06061813235282898,
-0.023271357640624046,
-0.01243328582495451,
-0.00016304025484714657,
-0.0050389994867146015,
-0.024003278464078903,
0.01970558427274227,
0.0161961130797863,
-0.02255820296704769,
-0.054462481290102005,
0.036971431225538254,
0.02796316333115101,
-0.033743467181921005,
0.040349531918764114,
-0.018100986257195473,
0.03548882156610489,
0.0031528936233371496,
-0.03327428922057152,
0.026649458333849907,
0.04766874760389328,
0.013521784916520119,
0.027362611144781113,
-0.017613038420677185,
0.02603013999760151,
-0.004783296026289463,
-0.04654271528124809,
-0.012292531318962574,
0.05907921865582466,
-0.011748282238841057,
0.015098231844604015,
0.03836020454764366,
-0.010021697729825974,
-0.06193183735013008,
0.01171074714511633,
0.011907803826034069,
-0.025054244324564934,
0.011025743559002876,
0.00696263974532485,
-0.020362436771392822,
0.01347486674785614,
0.047481074929237366,
-0.04969560727477074,
0.019536679610610008,
-0.09316049516201019,
0.03785349056124687,
-0.05754030868411064,
0.029595911502838135,
-0.032711271196603775,
-0.053036175668239594,
0.010293821804225445,
0.06895077973604202,
0.03443785384297371,
0.039824049919843674,
0.012677259743213654,
-0.037252940237522125,
0.046167369931936264,
-0.053674258291721344,
0.0006052429671399295,
-0.011110196821391582,
0.029145497828722,
0.024791501462459564,
-0.03340565785765648,
0.017810095101594925,
-0.003990381024777889,
-0.0020550109911710024,
-0.029145497828722,
0.031134823337197304,
0.03394990786910057,
-0.0035141627304255962,
0.02435985580086708,
0.007877541705965996,
0.03351826220750809,
-0.0055644819512963295,
0.025842467322945595,
0.00977772381156683,
-0.017040638253092766,
-0.035695258527994156,
-0.03261743485927582,
-0.01858893409371376,
-0.05915428698062897,
-0.025035476312041283,
0.007985454052686691,
0.012968151830136776,
-0.007197230122983456,
0.07739602774381638,
-0.04226378723978996,
0.009402379393577576,
-0.031772907823324203,
0.02835727483034134,
-0.05904168635606766,
0.04913259297609329,
0.07668287307024002,
-0.03500087186694145,
0.028075765818357468,
0.02394697815179825,
0.008154358714818954,
-0.0330490805208683,
0.0686505064368248,
-0.055100567638874054,
0.050070952624082565,
0.009327310137450695,
0.017857013270258904,
-0.06028032302856445,
0.02927686832845211,
-0.021957650780677795,
0.09225966781377792,
-0.0018051723018288612,
-0.018729688599705696,
-0.0381912998855114,
-0.013071371242403984,
-0.0004495336615946144,
-0.018907977268099785,
0.005156294908374548,
0.003368716686964035,
-0.02848864533007145,
0.07199107110500336,
0.039185963571071625,
-0.004095946438610554,
-0.04350242391228676,
0.039073359221220016,
0.0005451291799545288,
0.03989911824464798,
-0.02253943495452404,
-0.0014779188204556704,
0.01993079110980034,
-0.08580374717712402,
-0.04233885556459427,
-0.03956130892038345,
-0.022051487118005753,
-0.08565361052751541,
-0.010218753479421139,
0.033105380833148956,
-0.003181044477969408,
0.01108204573392868,
0.016533924266695976,
0.05543837696313858,
-0.0466177836060524,
-0.002463198034092784,
-0.00031786985346116126,
0.0014966861344873905,
0.054087139666080475,
0.04170076921582222,
0.006789043080061674,
-0.029821118339896202,
-0.0019424076890572906,
-0.028826454654335976,
-0.020099695771932602,
-0.06317047774791718,
-0.06534747034311295,
0.013578086160123348,
0.014854257926344872,
0.05025862529873848,
-0.04042460024356842,
0.04158816859126091,
0.03083454817533493,
0.04079994559288025,
-0.0648219883441925,
0.04158816859126091,
0.07371765375137329,
0.01819482259452343,
-0.02499794214963913,
-0.00011861472012242302,
-0.02927686832845211,
-0.0032608050387352705,
0.004583894275128841,
-0.04297694191336632,
-0.05555098131299019,
0.043052010238170624,
0.012376983650028706,
-0.035151008516550064,
0.016974953934550285,
-0.0016808394575491548,
0.009566592052578926,
0.0072535318322479725,
-0.044891197234392166,
-0.037496913224458694,
-0.036727458238601685,
0.0023271357640624046,
0.024040812626481056,
-0.017969615757465363,
0.00641369866207242,
-0.07724589109420776,
0.03265497088432312,
-0.005146910902112722,
0.0041381726041436195,
0.006427774205803871,
0.04556681960821152,
0.055250708013772964,
0.01841064542531967,
-0.006470000371336937,
-0.015229602344334126,
-0.006713974289596081,
0.030008791014552116,
-0.007258223835378885,
-0.015558028593659401,
-0.01858893409371376,
-0.04353995993733406,
-0.0246038306504488,
0.05866634100675583,
0.030909616500139236,
0.04481612890958786,
-0.04466599225997925,
0.04965807497501373,
0.032579898834228516,
-0.017594272270798683,
0.0056160916574299335,
0.035826630890369415,
0.027268776670098305,
0.022858478128910065,
-0.03443785384297371,
0.0031833902467042208,
0.011635678820312023,
0.0014028499135747552,
-0.008754909969866276,
-0.0213946346193552,
-0.0317353755235672,
0.003500087186694145,
-0.026011371985077858,
0.0047997175715863705,
-0.004870094358921051,
-0.05115945264697075,
-0.028282206505537033,
-0.008806519210338593,
-0.035545121878385544,
-0.01339979749172926,
0.012104859575629234,
-0.008895663544535637,
-0.002564071910455823,
-0.036577317863702774,
0.07352998107671738,
-0.007276990916579962,
-0.02435985580086708,
0.0033429116010665894,
-0.023515330627560616,
-0.032054416835308075,
-0.015454808250069618,
0.04804409295320511,
0.06324554234743118,
-0.020174765959382057,
0.013155823573470116,
-0.054612621665000916,
-0.014037882909178734,
-0.024434925988316536,
0.010678550228476524,
-0.018861059099435806,
-0.013775141909718513,
0.013596853241324425,
-0.05093424394726753,
0.04316461458802223,
0.047856420278549194,
-0.008478092961013317,
-0.009674503467977047,
-0.04338981956243515,
0.05806579068303108,
-0.0070658596232533455,
-0.0036713380832225084,
0.02306491695344448,
0.017303379252552986,
0.03004632517695427,
-0.01295876782387495,
-0.012011023238301277,
0.038923222571611404,
-0.0751064270734787,
-0.013305961154401302,
0.020756550133228302,
-0.0764952003955841,
0.028695084154605865,
-0.013071371242403984,
0.03274880349636078,
0.032429762184619904,
0.0006679958896711469,
0.008412407711148262,
0.03562019020318985,
-0.025955069810152054,
-0.019536679610610008,
0.011579376645386219,
0.00991847738623619,
-0.012292531318962574,
-0.010218753479421139,
-0.011663829907774925,
0.0049873897805809975,
0.01795084960758686,
-0.03509470820426941,
-0.04894492030143738,
0.004365725442767143,
0.062382251024246216,
-0.04729340225458145,
0.028657549992203712,
0.040875013917684555,
0.008093365468084812,
0.030665643513202667,
0.0002095184609061107,
0.06320800632238388,
-0.008543778210878372,
0.001734795281663537,
0.02242683246731758,
-0.052285484969615936,
0.03162277117371559,
0.004912320990115404,
0.005067150574177504,
-0.009974779561161995,
0.004452523775398731,
-0.03002755716443062,
-0.06028032302856445,
-0.056939754635095596,
-0.06200690567493439,
0.05780304968357086,
-0.007844699546694756,
-0.0033311822917312384,
-0.006010203156620264,
-0.01334349624812603,
-0.011832734569907188,
0.00785877462476492,
0.023083684965968132,
0.049432866275310516,
-0.02668699249625206,
0.06763707101345062,
-0.034907035529613495,
0.014976244419813156,
0.0621945783495903,
0.017200160771608353,
-0.08242564648389816,
-0.01970558427274227,
-0.019743118435144424,
0.017087556421756744,
0.003952846396714449,
-0.008684532716870308,
0.021413402631878853,
-0.05119698494672775,
0.01624303124845028,
0.030534273013472557,
-0.025711096823215485,
0.012198694981634617,
-0.025861233472824097,
0.0110069764778018,
0.021413402631878853,
0.038510341197252274,
-0.035939231514930725,
0.007797781378030777,
-0.02512931264936924,
-0.015238985419273376,
-0.03719663619995117,
0.010978825390338898,
-0.04218871891498566,
-0.08250071853399277,
0.09090843051671982,
0.014760421589016914,
0.0466177836060524,
-0.00032871964504010975,
0.0039481548592448235,
-0.0015705820405855775,
-0.1036701425909996,
-0.020531343296170235,
-0.012705410830676556,
-0.023008616641163826,
-0.01178581640124321,
0.01893612928688526,
-0.05029615759849548,
0.004224971402436495,
0.06962639838457108,
0.03175414353609085,
-0.04519147425889969,
-0.01918010227382183,
0.03471936285495758,
0.0278505589812994,
0.0388481542468071,
0.07450588047504425,
-0.005320508033037186,
0.06287019699811935,
0.019405309110879898,
0.05870387703180313,
-0.016852967441082,
0.06031785532832146,
0.01081930473446846,
0.011935953982174397,
0.08407716453075409,
0.018973663449287415,
-0.012686642818152905,
-0.07401792705059052,
-0.04699312895536423,
-0.0388481542468071,
-0.036089371889829636,
0.00008657848229631782,
0.07011434435844421,
0.03203565254807472,
0.012217462994158268,
0.04680545628070831,
-0.0004037885519210249,
0.05397453531622887,
0.03648348152637482,
0.012095475569367409,
0.04297694191336632,
-0.026912199333310127,
0.03539498522877693,
-0.039974186569452286,
0.020043395459651947,
0.006207259371876717,
-0.0168154314160347,
-0.04485366493463516,
-0.031416330486536026,
0.014066033996641636,
-0.015201451256871223,
-0.010002929717302322,
0.002878422848880291,
0.00455339765176177,
0.04031199589371681,
0.0030684410594403744,
-0.0003504192573018372,
0.03952377289533615,
0.017415983602404594,
0.025804933160543442,
0.010237520560622215,
-0.06395869702100754,
0.03122865967452526,
0.09038294851779938,
-0.014591515995562077,
-0.012611574493348598,
-0.05754030868411064,
0.0023998587857931852,
-0.0033921757712960243,
-0.05540084466338158,
-0.041775841265916824,
0.013174590654671192,
0.01009676605463028,
-0.04338981956243515,
0.031679075211286545,
0.023402728140354156,
-0.02537328563630581,
0.021450936794281006,
-0.025354519486427307,
0.003429710166528821,
0.017003104090690613,
0.022070255130529404,
0.023665469139814377,
-0.052135348320007324,
0.0006240101647563279,
0.01004046481102705,
-0.0020690863020718098,
0.006850036792457104,
-0.004318807274103165,
0.021582307294011116,
0.040724873542785645,
0.032955244183540344,
-0.012405134737491608,
-0.03959884122014046,
0.027794258669018745,
0.012921233661472797,
-0.03353703022003174,
-0.02394697815179825,
0.05517563596367836,
-0.059642236679792404,
-0.0595671683549881,
0.03899829089641571,
0.023252589628100395,
0.01269602682441473,
0.004959238693118095,
-0.012423901818692684,
0.030909616500139236,
0.002004574052989483,
0.016608992591500282,
0.02666822448372841,
0.017462901771068573,
0.024810269474983215,
0.03256113454699516,
0.020155997946858406,
-0.03248606249690056,
-0.01282739732414484,
-0.011166498064994812,
0.007746171671897173,
0.05025862529873848,
0.007258223835378885,
-0.04102515056729317,
-0.01872030645608902,
-0.03291771188378334,
-0.022614505141973495,
-0.031660307198762894,
0.0014661893947049975,
0.030740711838006973,
0.008707991801202297,
-0.003101283684372902,
-0.016008442267775536,
0.001524836872704327,
0.0017922698752954602,
-0.029201800003647804,
0.012208078987896442,
-0.007924459874629974,
0.017594272270798683,
-0.0003967508382629603,
0.05142219364643097,
-0.037759654223918915,
0.013709456659853458,
-0.01295876782387495,
0.10404548794031143,
0.040875013917684555,
0.0362582765519619,
0.09661366790533066,
0.013352879323065281,
0.054349880665540695,
0.04079994559288025,
-0.014882408082485199,
0.02681836299598217,
0.03396867588162422,
-0.05003341659903526,
-0.067411869764328,
-0.014150486327707767,
-0.06099347770214081,
0.0304404366761446,
0.01955544762313366,
-0.026987267658114433,
0.0041381726041436195,
-0.043314751237630844,
-0.05164739862084389,
0.00035804344224743545,
-0.03425018489360809,
0.009050493128597736,
-0.08182509243488312,
-0.06576035171747208,
0.021826280280947685,
0.042151182889938354,
0.03507594019174576,
-0.08978239446878433,
-0.017331531271338463,
0.04841943830251694,
0.016496390104293823,
0.006934489123523235,
0.023027382791042328,
-0.026367949321866035,
0.01709694042801857,
-0.021075591444969177,
-0.024904105812311172,
0.019611747935414314,
0.041400495916604996,
-0.01068793423473835,
0.02113189361989498,
-0.0343252532184124,
-0.054987963289022446,
-0.026912199333310127,
-0.021807514131069183,
0.047743815928697586,
0.004293002188205719,
-0.03120989352464676,
0.027531517669558525,
0.0116544459015131,
0.013521784916520119,
0.04868217930197716,
-0.03663362190127373,
0.031003452837467194,
-0.005770921241492033,
-0.040349531918764114,
-0.06362088769674301,
-0.0440279059112072,
-0.015558028593659401,
0.07563190907239914,
0.05998004600405693,
-0.027418913319706917,
-0.05386193096637726,
-0.08280099183320999,
0.008764293044805527,
-0.008919122628867626,
-0.057990722358226776,
0.002749398350715637,
0.027362611144781113,
-0.01217054482549429,
0.024284787476062775,
0.009519673883914948,
0.026855897158384323,
-0.04676792025566101,
0.03783472254872322,
0.036464717239141464,
-0.01801653392612934,
0.03460675850510597,
-0.021038057282567024,
-0.00816374272108078,
0.019987093284726143,
-0.029764816164970398,
0.010453343391418457,
-0.017725642770528793,
-0.04102515056729317,
0.02047504112124443,
0.03663362190127373,
-0.019086265936493874,
-0.05115945264697075,
-0.06335815042257309,
0.0259175356477499,
0.05618906766176224,
-0.05645180866122246,
-0.021432168781757355,
0.006746816914528608,
0.008759601972997189,
0.003328836290165782,
-0.005043691489845514,
0.04312707856297493,
0.010340739972889423,
-0.030365368351340294,
-0.04586709290742874,
-0.027043569833040237,
0.022257927805185318,
-0.01288369856774807,
0.024378623813390732,
-0.018251124769449234,
0.03522607684135437,
0.005583249032497406,
0.037496913224458694,
-0.010378275066614151,
-0.012517738156020641,
0.03967390954494476,
0.0323922261595726,
-0.06970147043466568,
-0.014760421589016914,
-0.014347542077302933,
-0.007619492709636688,
-0.003915312234312296,
0.026893431320786476,
-0.07315463572740555,
0.04973314329981804,
-0.010650399141013622,
-0.007924459874629974,
0.06714912503957748,
-0.03171660751104355,
0.009102103300392628,
-0.023233823478221893,
0.0106973173096776,
-0.014760421589016914,
-0.031172357499599457,
-0.004605007357895374,
0.026762060821056366,
0.0054284194484353065,
-0.023871907964348793,
0.024697666987776756,
-0.0440279059112072,
-0.007896309718489647,
-0.028150836005806923,
0.08730512112379074,
-0.04369009658694267,
0.054875362664461136,
0.023477796465158463,
0.054612621665000916,
-0.029990023002028465,
0.011476157233119011,
-0.03911089524626732,
-0.02098175510764122,
0.004773912485688925,
-0.04886985197663307,
0.042151182889938354,
0.04106268659234047,
-0.022595737129449844,
-0.039974186569452286,
0.03648348152637482,
-0.049170125275850296,
0.05243562161922455,
0.009571284055709839,
-0.03396867588162422,
0.031153591349720955,
-0.01966805011034012,
0.007506889291107655,
-0.04095008224248886,
0.013427948579192162,
-0.03511347621679306,
0.011053894646465778,
0.04327721893787384,
-0.0893319845199585,
-0.056151531636714935,
-0.015041929669678211,
-0.08242564648389816,
-0.01628056727349758,
-0.0029206492472440004,
0.045416682958602905,
0.008661073632538319,
0.0543874129652977,
-0.001301976153627038,
-0.011279101483523846,
0.03869801387190819,
-0.022201625630259514,
-0.04778135195374489,
-0.020155997946858406,
0.009575976058840752,
0.041625700891017914,
0.010537795722484589,
0.10156821459531784,
-0.025955069810152054,
-0.01172951515763998,
-0.035845398902893066,
-0.08077412843704224,
0.028826454654335976,
-0.001035129651427269,
0.0006163860089145601,
-0.05172246694564819,
0.04027446359395981,
0.034118812531232834,
-0.006498150993138552,
0.0725165531039238,
-0.031266193836927414,
-0.050596434623003006,
-0.012423901818692684,
0.046580247581005096,
-0.017697492614388466,
0.02497917413711548,
-0.03986158221960068,
-0.048119161278009415,
0.025223148986697197,
0.05780304968357086,
-0.0440654419362545,
-0.009017650969326496,
-0.054837826639413834,
-0.0427892692387104,
-0.04856957495212555,
-0.0034484772477298975,
0.015745701268315315,
-0.0932355672121048,
-0.019367774948477745,
0.022614505141973495,
0.05416220799088478,
0.02058764360845089,
-0.022989848628640175,
0.014075418002903461,
-0.008135591633617878,
0.059792373329401016,
0.015182684175670147,
-0.07525656372308731,
0.019208252429962158,
0.0025969145353883505,
-0.0388481542468071,
0.018485715612769127,
0.0032701888121664524,
-0.03291771188378334,
-0.027250008657574654,
-0.029239334166049957,
-0.02355286478996277,
-0.024697666987776756,
0.010584713891148567,
0.1295689046382904,
0.059679772704839706,
-0.028732620179653168,
0.002573455451056361
]
|
29,404 | flask.sansio.app | template_test | A decorator that is used to register custom template test.
You can specify a name for the test, otherwise the function
name will be used. Example::
@app.template_test()
def is_prime(n):
if n == 2:
return True
for i in range(2, int(math.ceil(math.sqrt(n))) + 1):
if n % i == 0:
return False
return True
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
from datetime import timedelta
from itertools import chain
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import Rule
from werkzeug.sansio.response import Response
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from .. import typing as ft
from ..config import Config
from ..config import ConfigAttribute
from ..ctx import _AppCtxGlobals
from ..helpers import _split_blueprint_path
from ..helpers import get_debug_flag
from ..json.provider import DefaultJSONProvider
from ..json.provider import JSONProvider
from ..logging import create_logger
from ..templating import DispatchingJinjaLoader
from ..templating import Environment
from .scaffold import _endpoint_from_view_func
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
if t.TYPE_CHECKING: # pragma: no cover
from werkzeug.wrappers import Response as BaseResponse
from ..testing import FlaskClient
from ..testing import FlaskCliRunner
from .blueprints import Blueprint
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_test], ~T_template_test] | [
0.05356428027153015,
-0.054840512573719025,
-0.03650403767824173,
-0.052550800144672394,
0.053939640522003174,
0.003953040111809969,
-0.010791681706905365,
0.03755505383014679,
-0.04785876348614693,
-0.05480297654867172,
-0.005034554284065962,
0.002134876325726509,
-0.0077934712171554565,
0.010754145681858063,
0.0236666277050972,
0.03579084947705269,
0.064975306391716,
0.03564070165157318,
0.07529778778553009,
-0.06752777844667435,
0.040651798248291016,
0.0011413376778364182,
0.0002923724823631346,
0.021977495402097702,
-0.02950352057814598,
0.001165384310297668,
-0.0228032935410738,
-0.00877410639077425,
0.06572603434324265,
-0.048008907586336136,
-0.007136586122214794,
-0.04827166348695755,
0.028696490451693535,
0.047295719385147095,
0.060621101409196854,
-0.023310033604502678,
-0.01247143093496561,
-0.00010344472684664652,
-0.005123702809214592,
-0.023985685780644417,
0.01966901309788227,
0.016168754547834396,
-0.022578075528144836,
-0.0544276125729084,
0.03691693767905235,
0.02788946032524109,
-0.03376388922333717,
0.0403515063226223,
-0.01809248887002468,
0.03543425351381302,
0.003120203735306859,
-0.033257149159908295,
0.02665076218545437,
0.04763354733586311,
0.01352244708687067,
0.027439024299383163,
-0.017585748806595802,
0.026068950071930885,
-0.004790568258613348,
-0.04654499515891075,
-0.012274364940822124,
0.05911964923143387,
-0.011730088852345943,
0.015145891346037388,
0.038362082093954086,
-0.0100972605869174,
-0.06189733371138573,
0.011730088852345943,
0.01192715484648943,
-0.024999165907502174,
0.011045051738619804,
0.006972365081310272,
-0.02036343514919281,
0.013475526124238968,
0.04752093553543091,
-0.04969804361462593,
0.01948133297264576,
-0.09316506236791611,
0.03789288178086281,
-0.057505588978528976,
0.029578592628240585,
-0.03267533704638481,
-0.05300123617053032,
0.010322478599846363,
0.06899169087409973,
0.034458309412002563,
0.03978846222162247,
0.012668495997786522,
-0.037292297929525375,
0.04613209515810013,
-0.05371442437171936,
0.0005838652141392231,
-0.01114827673882246,
0.029071852564811707,
0.024811483919620514,
-0.03338852524757385,
0.01782035082578659,
-0.004056264646351337,
-0.0020844368264079094,
-0.02914692647755146,
0.031155116856098175,
0.03389526531100273,
-0.0035002585500478745,
0.024342281743884087,
0.007915464229881763,
0.03353866934776306,
-0.005569446366280317,
0.02580619603395462,
0.009806354530155659,
-0.017032088711857796,
-0.03564070165157318,
-0.03261903300881386,
-0.018552308902144432,
-0.05919472128152847,
-0.025017933920025826,
0.007953000254929066,
0.012931250035762787,
-0.007230427116155624,
0.07739982008934021,
-0.04230339452624321,
0.009440375491976738,
-0.03177446499466896,
0.028302358463406563,
-0.05900704115629196,
0.0491349957883358,
0.07672416418790817,
-0.03504012152552605,
0.02805837243795395,
0.023910613730549812,
0.008159450255334377,
-0.033088237047195435,
0.06861633062362671,
-0.05506573244929314,
0.05003586784005165,
0.009323074482381344,
0.017848502844572067,
-0.06024573743343353,
0.029259534552693367,
-0.02195872738957405,
0.09218911826610565,
-0.001826374907977879,
-0.018711838871240616,
-0.038193169981241226,
-0.013137700036168098,
-0.00047125632409006357,
-0.018908903002738953,
0.005123702809214592,
0.003394687781110406,
-0.028490040451288223,
0.0719945952296257,
0.03918788209557533,
-0.0041430676355957985,
-0.04350455477833748,
0.039075274020433426,
0.0005343055818229914,
0.039938606321811676,
-0.022559307515621185,
-0.0015190464910119772,
0.019931767135858536,
-0.08580794930458069,
-0.042378466576337814,
-0.039600782096385956,
-0.022033799439668655,
-0.08573287725448608,
-0.010209869593381882,
0.033107005059719086,
-0.003157739993184805,
0.011091972701251507,
0.01651596464216709,
0.05544109269976616,
-0.046620067209005356,
-0.0024820868857204914,
-0.00028709392063319683,
0.0015037974808365107,
0.05401471629738808,
0.04177788645029068,
0.006812835577875376,
-0.02984134666621685,
-0.0019507138058543205,
-0.028827866539359093,
-0.020081913098692894,
-0.0632486417889595,
-0.06531313806772232,
0.013541215099394321,
0.0149112893268466,
0.05026108771562576,
-0.040426578372716904,
0.04159020259976387,
0.030798522755503654,
0.04083947837352753,
-0.0648251622915268,
0.04155266657471657,
0.0737212672829628,
0.01815817877650261,
-0.02494286186993122,
-0.0001246321917278692,
-0.029240766540169716,
-0.003235158510506153,
0.004626347217708826,
-0.042903974652290344,
-0.055516164749860764,
0.043091654777526855,
0.012368205934762955,
-0.035190269351005554,
0.01702270470559597,
-0.0016574616311118007,
0.009581136517226696,
0.007230427116155624,
-0.04493093490600586,
-0.037479981780052185,
-0.03671048581600189,
0.0023483638651669025,
0.02402322180569172,
-0.01797049678862095,
0.0063717844896018505,
-0.077249675989151,
0.03267533704638481,
-0.005147163290530443,
0.004145413637161255,
0.006428088992834091,
0.0456065870821476,
0.055215876549482346,
0.01841154880821705,
-0.006559466011822224,
-0.015174043364822865,
-0.0067471470683813095,
0.03001026064157486,
-0.007291423622518778,
-0.01553063839673996,
-0.018627380952239037,
-0.043467018753290176,
-0.0245674978941679,
0.05859414115548134,
0.030967434868216515,
0.044855862855911255,
-0.04470571503043175,
0.04966050386428833,
0.032562728971242905,
-0.017623286694288254,
0.005621058866381645,
0.03580961748957634,
0.027270112186670303,
0.022859597578644753,
-0.03438323736190796,
0.0031765082385390997,
0.011617480777204037,
0.0014146487228572369,
-0.008736570365726948,
-0.021451987326145172,
-0.03175569698214531,
0.0035190267954021692,
-0.026068950071930885,
0.004785876255482435,
-0.00487033324316144,
-0.051161956042051315,
-0.028339896351099014,
-0.008788182400166988,
-0.035528093576431274,
-0.01333476509898901,
0.01201161090284586,
-0.008882023394107819,
-0.0025853116530925035,
-0.036597877740859985,
0.07349604368209839,
-0.007300807628780603,
-0.02437981776893139,
0.003324307268485427,
-0.02351648360490799,
-0.032055988907814026,
-0.015418029390275478,
0.047971371561288834,
0.0632486417889595,
-0.02017575316131115,
0.0131752360612154,
-0.054690368473529816,
-0.014019802212715149,
-0.02441735379397869,
0.010688457638025284,
-0.0188901349902153,
-0.01379458513110876,
0.013635056093335152,
-0.050974275916814804,
0.04320426285266876,
0.04785876348614693,
-0.00852073635905981,
-0.009674977511167526,
-0.04339194670319557,
0.058031097054481506,
-0.007047437597066164,
-0.0036597878206521273,
0.023047279566526413,
0.017322996631264687,
0.03002902865409851,
-0.012959402985870838,
-0.011936538852751255,
0.03896266594529152,
-0.07511010766029358,
-0.013297229073941708,
0.020795101299881935,
-0.07642387598752975,
0.028715258464217186,
-0.013090779073536396,
0.032712873071432114,
0.0324125811457634,
0.0006516064750030637,
0.008412820287048817,
0.03567823767662048,
-0.025937573984265327,
-0.01950010098516941,
0.011542407795786858,
0.009928347542881966,
-0.012246212922036648,
-0.01025678962469101,
-0.011636248789727688,
0.005043938290327787,
0.017979880794882774,
-0.03507765755057335,
-0.04898485168814659,
0.004380015190690756,
0.06246037781238556,
-0.0473332554101944,
0.028696490451693535,
0.04091455042362213,
0.008065609261393547,
0.03070468083024025,
0.00018929431098513305,
0.0631735697388649,
-0.008506660349667072,
0.0017254961421713233,
0.022409161552786827,
-0.05232558026909828,
0.03162432089447975,
0.004936021752655506,
0.005043938290327787,
-0.009994035586714745,
0.0044480497017502785,
-0.03002902865409851,
-0.06024573743343353,
-0.05690500885248184,
-0.062009941786527634,
0.05776834487915039,
-0.00785916019231081,
-0.003331345273181796,
-0.006033957935869694,
-0.013269077055156231,
-0.011842697858810425,
0.00784977525472641,
0.023084815591573715,
0.04951035976409912,
-0.026744604110717773,
0.06767792254686356,
-0.03488997742533684,
0.014967593364417553,
0.06227269768714905,
0.017238538712263107,
-0.0824296846985817,
-0.019706549122929573,
-0.019781623035669327,
0.017069626599550247,
0.003938964102417231,
-0.008684958331286907,
0.02139568328857422,
-0.05119949206709862,
0.016271980479359627,
0.03055453673005104,
-0.025693587958812714,
0.01219929289072752,
-0.025862500071525574,
0.010998131707310677,
0.02139568328857422,
0.03847469389438629,
-0.0359785296022892,
0.007845083251595497,
-0.02509300597012043,
-0.015230347402393818,
-0.03716092184185982,
0.010979363694787025,
-0.0421532467007637,
-0.0825047567486763,
0.09083781391382217,
0.01483621634542942,
0.046620067209005356,
-0.0003586474631447345,
0.003934272099286318,
-0.0015342956176027656,
-0.1036752238869667,
-0.02053234726190567,
-0.012706032954156399,
-0.02297220751643181,
-0.01176762580871582,
0.018946440890431404,
-0.050298623740673065,
0.004220486152917147,
0.06951720267534256,
0.03177446499466896,
-0.04515615105628967,
-0.01919042505323887,
0.03472106531262398,
0.027776850387454033,
0.03881251811981201,
0.07450952380895615,
-0.0053254603408277035,
0.06287328153848648,
0.01946256309747696,
0.058706749230623245,
-0.016900712624192238,
0.06032080948352814,
0.010847986675798893,
0.01194592285901308,
0.08408127725124359,
0.019002744928002357,
-0.012696648947894573,
-0.07405909150838852,
-0.046957891434431076,
-0.03881251811981201,
-0.03612867370247841,
0.00010359135194448754,
0.0700802430510521,
0.03199968487024307,
0.012255596928298473,
0.046770211309194565,
-0.00042198997107334435,
0.053939640522003174,
0.03654157370328903,
0.012142987921833992,
0.04301658272743225,
-0.026969820261001587,
0.03549055755138397,
-0.03997614234685898,
0.02002560906112194,
0.0062028709799051285,
-0.01675056666135788,
-0.044855862855911255,
-0.03138033300638199,
0.014057339169085026,
-0.015192811377346516,
-0.010040956549346447,
0.0028856019489467144,
0.004570042714476585,
0.0403515063226223,
0.0030592072289437056,
-0.0003563014615792781,
0.03952571004629135,
0.017435604706406593,
0.025862500071525574,
0.010228637605905533,
-0.06399936974048615,
0.03121142089366913,
0.09023723006248474,
-0.014629767276346684,
-0.012659111991524696,
-0.057468052953481674,
0.00243516662158072,
-0.0034251860342919827,
-0.05540355667471886,
-0.04177788645029068,
0.013100164011120796,
0.0100972605869174,
-0.04339194670319557,
0.031680624932050705,
0.023385105654597282,
-0.025393297895789146,
0.02141445130109787,
-0.025355760008096695,
0.003439262043684721,
0.01700393669307232,
0.022052567452192307,
0.02368539571762085,
-0.05213790014386177,
0.0006269732839427888,
0.01001280453056097,
-0.0020586305763572454,
0.006808143574744463,
-0.0042955586686730385,
0.021545827388763428,
0.04068933427333832,
0.03293808922171593,
-0.01245266292244196,
-0.039600782096385956,
0.027814388275146484,
0.012959402985870838,
-0.03351990133523941,
-0.02385430969297886,
0.05517834052443504,
-0.0596451573073864,
-0.05953254923224449,
0.039037737995386124,
0.023234961554408073,
0.012696648947894573,
0.005025170277804136,
-0.01247143093496561,
0.03087359480559826,
0.002004672307521105,
0.01660042256116867,
0.02666953019797802,
0.017435604706406593,
0.02477394789457321,
0.032581496983766556,
0.0201569851487875,
-0.03246888518333435,
-0.012828025966882706,
-0.01122334972023964,
0.007760627195239067,
0.05022355169057846,
0.007310191635042429,
-0.04102715849876404,
-0.018693070858716965,
-0.032881785184144974,
-0.022596843540668488,
-0.03162432089447975,
0.0014709532260894775,
0.03070468083024025,
0.008708418346941471,
-0.0030920514836907387,
-0.015999842435121536,
0.001428724848665297,
0.0017900116508826613,
-0.029221998527646065,
0.012227444909512997,
-0.007920156233012676,
0.017604518681764603,
-0.00034046583459712565,
0.05146224796772003,
-0.037817806005477905,
0.013728896155953407,
-0.012940634042024612,
0.10405058413743973,
0.04091455042362213,
0.03629758954048157,
0.0965433269739151,
0.013400454074144363,
0.054315004497766495,
0.04076440632343292,
-0.014892521314322948,
0.02685721218585968,
0.03398910537362099,
-0.05007340386509895,
-0.06745270639657974,
-0.014160563237965107,
-0.060996465384960175,
0.030441926792263985,
0.019537637010216713,
-0.02704489417374134,
0.004152451641857624,
-0.04331687465310097,
-0.05172500014305115,
0.00034867689828388393,
-0.0342143252491951,
0.009041552431881428,
-0.08182910084724426,
-0.06576357036828995,
0.021827349439263344,
0.0421532467007637,
0.03504012152552605,
-0.08978679776191711,
-0.017332380637526512,
0.04842180758714676,
0.016469044610857964,
0.007014593109488487,
0.023066047579050064,
-0.026406776160001755,
0.01702270470559597,
-0.021114161238074303,
-0.02494286186993122,
0.019612709060311317,
0.04136498644948006,
-0.01062276866286993,
0.021189233288168907,
-0.03438323736190796,
-0.054990656673908234,
-0.026913516223430634,
-0.021808581426739693,
0.04770861938595772,
0.004276790656149387,
-0.03121142089366913,
0.02753286622464657,
0.011664400808513165,
0.01350367907434702,
0.04868456348776817,
-0.03663541376590729,
0.031023740768432617,
-0.005785279907286167,
-0.0403515063226223,
-0.06366153806447983,
-0.04406759887933731,
-0.015540022403001785,
0.07563561201095581,
0.06002052128314972,
-0.02740148827433586,
-0.05386456847190857,
-0.08295518904924393,
0.008839795365929604,
-0.008957096375524998,
-0.057993561029434204,
0.002735456684604287,
0.02736395224928856,
-0.012152371928095818,
0.024248439818620682,
0.00946852844208479,
0.02685721218585968,
-0.04680774733424187,
0.037836574018001556,
0.03646650165319443,
-0.017951728776097298,
0.034627221524715424,
-0.0210578553378582,
-0.008154758252203465,
0.02000683918595314,
-0.029766274616122246,
0.010435087606310844,
-0.017707742750644684,
-0.04106469452381134,
0.02053234726190567,
0.03667294979095459,
-0.019096584990620613,
-0.051161956042051315,
-0.06336124986410141,
0.02597511000931263,
0.0561918206512928,
-0.05637950077652931,
-0.021451987326145172,
0.006779991555958986,
0.008750646375119686,
0.0033477675169706345,
-0.005104934796690941,
0.04312919080257416,
0.010331862606108189,
-0.03038562275469303,
-0.045869339257478714,
-0.02704489417374134,
0.022240249440073967,
-0.01290309801697731,
0.02437981776893139,
-0.018355242908000946,
0.035209037363529205,
0.005592906381934881,
0.03757382184267044,
-0.010369398631155491,
-0.012480814941227436,
0.03967585414648056,
0.03243134915828705,
-0.06966734677553177,
-0.014742376282811165,
-0.01432009320706129,
-0.007657402195036411,
-0.0038615453522652388,
0.02687598019838333,
-0.07315821945667267,
0.04969804361462593,
-0.010650920681655407,
-0.007863852195441723,
0.06715241819620132,
-0.031699392944574356,
0.009102549403905869,
-0.023216191679239273,
0.01069784164428711,
-0.014798680320382118,
-0.031173884868621826,
-0.004602887202054262,
0.026707066223025322,
0.0054849898442626,
-0.023835541680455208,
0.02471764385700226,
-0.043954990804195404,
-0.00784977525472641,
-0.028170982375741005,
0.08730939775705338,
-0.043617162853479385,
0.05487804859876633,
0.023460177704691887,
0.05461529642343521,
-0.030047796666622162,
0.01149548776447773,
-0.039037737995386124,
-0.020964015275239944,
0.004710803739726543,
-0.048872243613004684,
0.0421532467007637,
0.04106469452381134,
-0.02263437956571579,
-0.039938606321811676,
0.03648526966571808,
-0.0491725355386734,
0.052363116294145584,
0.009529524482786655,
-0.03389526531100273,
0.031117580831050873,
-0.01965024508535862,
0.007516641169786453,
-0.040952086448669434,
0.013409838080406189,
-0.035096425563097,
0.011045051738619804,
0.043279338628053665,
-0.08933635801076889,
-0.0562293566763401,
-0.015070818364620209,
-0.0825047567486763,
-0.016281364485621452,
-0.002953636460006237,
0.04545644298195839,
0.008609885349869728,
0.0543900765478611,
-0.0012914828257635236,
-0.011298421770334244,
0.038699910044670105,
-0.022183945402503014,
-0.04778369143605232,
-0.0201569851487875,
0.009529524482786655,
0.04166527837514877,
0.010538311675190926,
0.10157319158315659,
-0.025937573984265327,
-0.011692552827298641,
-0.03580961748957634,
-0.0807780846953392,
0.028827866539359093,
-0.0010738896671682596,
0.0006433954113163054,
-0.051687464118003845,
0.04020136222243309,
0.034139253199100494,
-0.006475009024143219,
0.07252010703086853,
-0.03124895691871643,
-0.05056137591600418,
-0.012424510903656483,
0.046620067209005356,
-0.01769835874438286,
0.024980397894978523,
-0.03986353427171707,
-0.04812151938676834,
0.025224383920431137,
0.057843416929244995,
-0.04403006285429001,
-0.008999324403703213,
-0.05476544052362442,
-0.042753830552101135,
-0.048496879637241364,
-0.003465068293735385,
0.01571832038462162,
-0.09324013441801071,
-0.019368723034858704,
0.022690683603286743,
0.054164860397577286,
0.020607421174645424,
-0.02299097552895546,
0.014066723175346851,
-0.008140682242810726,
0.05979530140757561,
0.015174043364822865,
-0.07522271573543549,
0.019256114959716797,
0.0025853116530925035,
-0.03892512619495392,
0.01851477287709713,
0.0032703487668186426,
-0.032919321209192276,
-0.0272138062864542,
-0.029203230515122414,
-0.023554019629955292,
-0.02473641186952591,
0.010594616644084454,
0.12957525253295898,
0.0596826933324337,
-0.028677722439169884,
0.002594695659354329
]
|
29,405 | quart.app | test_app | null | def test_app(self) -> TestAppProtocol:
return self.test_app_class(self)
| (self) -> quart.typing.TestAppProtocol | [
0.043100032955408096,
-0.0682101845741272,
-0.044200751930475235,
-0.03680529445409775,
0.013879380188882351,
-0.0429968386888504,
-0.0004372241091914475,
0.041173774749040604,
-0.02026011049747467,
0.029341043904423714,
0.03188645467162132,
-0.04409755766391754,
0.016020622104406357,
0.030527755618095398,
-0.0007970539154484868,
-0.021034054458141327,
0.05847570300102234,
-0.017121341079473495,
0.05902606248855591,
-0.04464791715145111,
0.004370628856122494,
0.03348593786358833,
0.020191315561532974,
-0.004357729572802782,
0.0161324143409729,
0.05077066645026207,
-0.034019097685813904,
-0.016381796449422836,
0.07147794216871262,
-0.028033940121531487,
-0.08227875083684921,
-0.04863802343606949,
0.05847570300102234,
0.07147794216871262,
0.01737932302057743,
-0.016777366399765015,
-0.031456489115953445,
0.027174003422260284,
-0.07766949385404587,
-0.00275394762866199,
-0.04251527413725853,
-0.04172413423657417,
0.033262353390455246,
-0.0037106273230165243,
0.04289364814758301,
-0.0015016646357253194,
-0.00914112851023674,
0.03673649951815605,
-0.024095429107546806,
0.03341714292764664,
-0.031301699578762054,
-0.06514880806207657,
0.021446824073791504,
0.07244107872247696,
-0.031112512573599815,
0.08172839134931564,
0.03656451404094696,
0.013208628632128239,
-0.007459951564669609,
0.04406316205859184,
-0.09562496840953827,
0.014042767696082592,
0.04344400763511658,
-0.027328791096806526,
-0.01614961214363575,
0.010654617100954056,
-0.04936037212610245,
0.02369985729455948,
0.032901182770729065,
0.029100261628627777,
0.026331264525651932,
-0.010078459046781063,
-0.003590236185118556,
0.0519745796918869,
0.054967161267995834,
-0.018368249759078026,
0.003026977414265275,
-0.035979755222797394,
0.01292484998703003,
0.011643543839454651,
0.021395226940512657,
0.024473801255226135,
-0.05630866065621376,
0.00529291108250618,
0.02275392785668373,
0.007150374352931976,
0.047090139240026474,
-0.032196033746004105,
-0.013165632262825966,
0.006337733939290047,
-0.007705033756792545,
-0.02008812315762043,
-0.02007092535495758,
0.014300748705863953,
0.0010915822349488735,
-0.02208317629992962,
-0.021464021876454353,
0.0023841748479753733,
-0.03869715705513954,
0.0041513447649776936,
-0.020500892773270607,
0.09954628348350525,
-0.08331067860126495,
0.01720733568072319,
0.035033825784921646,
0.007743730675429106,
-0.0340362973511219,
-0.013380615971982479,
-0.029358241707086563,
0.038662757724523544,
-0.0034612456802278757,
0.04881001263856888,
-0.028807882219552994,
0.04072660580277443,
0.007696434389799833,
0.02455979399383068,
0.04554225131869316,
-0.020879264920949936,
0.029719416052103043,
0.005366005469113588,
-0.030166583135724068,
0.061812255531549454,
0.010740610770881176,
-0.03642692416906357,
0.08227875083684921,
0.08853909373283386,
0.02364826202392578,
-0.02368265949189663,
0.010095657780766487,
-0.04674616456031799,
0.0753304660320282,
0.016055019572377205,
-0.015685247257351875,
0.005211216863244772,
0.004359879530966282,
0.052456144243478775,
0.0051381224766373634,
0.022100375965237617,
0.019933335483074188,
0.04031383618712425,
-0.04729652404785156,
0.06717826426029205,
-0.009743084199726582,
0.04774368926882744,
-0.030613750219345093,
-0.007713633123785257,
-0.06377290934324265,
-0.0003893901302944869,
0.027311593294143677,
0.08172839134931564,
0.06735024601221085,
-0.003592385910451412,
-0.017284728586673737,
0.025402532890439034,
-0.044372737407684326,
0.012813057750463486,
0.019847340881824493,
-0.037183668464422226,
0.042068108916282654,
-0.06876054406166077,
-0.018368249759078026,
-0.04433834180235863,
0.023975037038326263,
-0.0022422850597649813,
-0.0073524597100913525,
0.022719530388712883,
-0.035429395735263824,
-0.0069396900944411755,
-0.024061031639575958,
-0.0037514741998165846,
-0.03725246340036392,
-0.015676647424697876,
-0.03173166885972023,
-0.054416801780462265,
0.053006503731012344,
0.015281076543033123,
-0.001718798652291298,
-0.02473178133368492,
0.014068566262722015,
0.02956462651491165,
-0.005688481964170933,
-0.005731478799134493,
-0.06250020861625671,
0.029461434110999107,
0.03976347669959068,
0.05816612392663956,
-0.033451542258262634,
0.0680725947022438,
0.007292264141142368,
-0.0034870437812060118,
-0.08131562173366547,
-0.0011845629196614027,
0.06556157767772675,
0.04093299061059952,
-0.004226589109748602,
-0.007434153463691473,
-0.02134363166987896,
0.0897774025797844,
-0.03639252483844757,
0.0023605264723300934,
-0.02442220412194729,
0.04072660580277443,
-0.012804458849132061,
-0.010198850184679031,
0.0005933563807047904,
-0.011376963928341866,
0.04014185070991516,
-0.0024035233072936535,
-0.010886799544095993,
-0.08310429006814957,
0.008590768091380596,
-0.024645788595080376,
-0.020844867452979088,
-0.023407479748129845,
0.050461091101169586,
-0.06415128707885742,
0.026795629411935806,
-0.03262600302696228,
-0.0013522505760192871,
0.020122520625591278,
0.02548852562904358,
0.04361599311232567,
-0.005271412432193756,
-0.006028156727552414,
-0.012030515819787979,
0.014042767696082592,
0.007907118648290634,
-0.056755829602479935,
-0.041861724108457565,
-0.011617746204137802,
-0.017430918291211128,
0.03910992667078972,
0.04894760251045227,
-0.022633535787463188,
-0.021773599088191986,
0.007610440719872713,
0.020655682310461998,
-0.003867565654218197,
-0.03601415082812309,
-0.00832418818026781,
0.06762542575597763,
0.00933891348540783,
0.023080702871084213,
0.02259913831949234,
-0.003175316611304879,
-0.0019875289872288704,
0.010293443687260151,
-0.0573749840259552,
0.05785654857754707,
0.04076100513339043,
-0.02885947935283184,
-0.06872614473104477,
0.0187982190400362,
-0.019933335483074188,
-0.017800690606236458,
0.007206270471215248,
-0.04918838292360306,
-0.003095772350206971,
0.03639252483844757,
0.019159391522407532,
0.007150374352931976,
0.03391590714454651,
0.0278103556483984,
0.0627753883600235,
-0.06298176944255829,
-0.04107058048248291,
0.006922491360455751,
0.03618614003062248,
-0.0002824355033226311,
0.030940525233745575,
0.08819511532783508,
-0.010534225963056087,
-0.021429624408483505,
0.02743198350071907,
-0.04003865644335747,
-0.053522463887929916,
-0.051389820873737335,
0.02956462651491165,
-0.03125010430812836,
-0.0751928761601448,
0.0014661921886727214,
-0.007541645783931017,
0.042068108916282654,
0.014816710725426674,
-0.043340813368558884,
-0.018333852291107178,
0.01220250315964222,
0.04316882789134979,
0.03176606446504593,
-0.06786621361970901,
0.010164452716708183,
-0.01271846517920494,
-0.0051553212106227875,
-0.00037299757241271436,
-0.025574520230293274,
0.0024852172937244177,
-0.0610211156308651,
0.03190365433692932,
0.021292034536600113,
-0.07849503308534622,
0.02617647498846054,
-0.015177884139120579,
-0.021429624408483505,
0.02836071513593197,
0.031800463795661926,
0.04516388103365898,
-0.038972336798906326,
0.01549606118351221,
-0.0003060837625525892,
0.008255393244326115,
-0.058028534054756165,
0.005168220028281212,
-0.012881852686405182,
0.021206041797995567,
-0.0011942372657358646,
0.039557091891765594,
0.0034655453637242317,
-0.006922491360455751,
0.02832631766796112,
0.031800463795661926,
-0.01776629313826561,
0.061605870723724365,
0.002532513812184334,
0.05527673661708832,
-0.0031172707676887512,
0.015289676375687122,
0.015547657385468483,
-0.03360632807016373,
-0.04444153234362602,
-0.059645216912031174,
-0.008663862943649292,
0.05651504546403885,
0.035842165350914,
-0.045095086097717285,
-0.04031383618712425,
-0.004686655476689339,
0.04695254936814308,
-0.01991613581776619,
-0.015874432399868965,
-0.029323844239115715,
0.04929157719016075,
-0.045095086097717285,
-0.0034483466297388077,
-0.013208628632128239,
0.006423727609217167,
0.007012784481048584,
-0.08929583430290222,
0.01881541684269905,
0.0004412550770211965,
-0.04808766394853592,
0.0644264668226242,
-0.04678056016564369,
0.006131349131464958,
-0.018247859552502632,
0.006032456643879414,
-0.02493816614151001,
-0.04712453484535217,
0.004357729572802782,
0.00408899923786521,
-0.0064194281585514545,
-0.00601095799356699,
0.008375784382224083,
-0.02024291269481182,
0.0010120380902662873,
-0.027517978101968765,
-0.02364826202392578,
0.05974840745329857,
-0.0033365546260029078,
0.011815531179308891,
-0.03448346629738808,
-0.00027061134460382164,
-0.07512407749891281,
-0.010379437357187271,
-0.024336211383342743,
0.028911074623465538,
0.025161750614643097,
-0.013544004410505295,
-0.003048475831747055,
-0.07237228006124496,
0.05826931819319725,
0.008109203539788723,
0.046711765229701996,
0.004048152361065149,
-0.011007190681993961,
0.02046649530529976,
-0.08468657732009888,
-0.01721593365073204,
0.05056428164243698,
-0.02203158102929592,
0.013578401878476143,
0.03245401382446289,
-0.03173166885972023,
-0.07608720660209656,
0.011927323415875435,
-0.01633879914879799,
-0.04058901593089104,
-0.10443072021007538,
0.030716942623257637,
-0.009166926145553589,
-0.007679235655814409,
0.05465758219361305,
-0.00174889643676579,
0.07491769641637802,
-0.0069568888284265995,
0.020518092438578606,
0.04640218988060951,
0.01688055880367756,
-0.00443297391757369,
-0.026606444269418716,
-0.006677409168332815,
-0.026107680052518845,
0.06470164656639099,
-0.07684395462274551,
-0.02657204680144787,
0.0009491552482359111,
0.010327841155230999,
0.03099212236702442,
0.07643118500709534,
0.043994367122650146,
0.01739652082324028,
0.03783721849322319,
0.022994710132479668,
0.06325694918632507,
0.011411361396312714,
0.029513031244277954,
0.049394767731428146,
-0.003532190341502428,
0.051596205681562424,
-0.02743198350071907,
0.007834023796021938,
0.02512735314667225,
-0.005327308550477028,
-0.07092758268117905,
-0.016889158636331558,
-0.01938297599554062,
-0.0011243673507124186,
-0.03993546590209007,
-0.058200523257255554,
0.0020735226571559906,
0.054416801780462265,
-0.024250216782093048,
-0.03855956718325615,
0.010267645120620728,
0.042033709585666656,
0.04193051904439926,
-0.06490802764892578,
-0.03336554765701294,
-0.02240995317697525,
0.01900460384786129,
-0.009915071539580822,
-0.007683535106480122,
-0.02689882181584835,
0.04285924881696701,
-0.014446938410401344,
-0.028412312269210815,
-0.04065781086683273,
-0.019124994054436684,
0.0068321977742016315,
-0.016768766567111015,
0.008362885564565659,
0.030269775539636612,
-0.026984816417098045,
-0.01489410549402237,
-0.0788390040397644,
0.0036654805298894644,
0.03155967965722084,
-0.0028872378170490265,
-0.02046649530529976,
-0.00904653500765562,
0.015100490301847458,
0.009072333574295044,
0.0014618925051763654,
0.043134428560733795,
0.0025389634538441896,
-0.005034930072724819,
0.050323501229286194,
0.001810166984796524,
-0.024129826575517654,
-0.01594322733581066,
-0.023201094940304756,
-0.03085453249514103,
0.04285924881696701,
0.008534872904419899,
0.06755663454532623,
-0.07471130788326263,
-0.021825196221470833,
0.03367512300610542,
-0.008431680500507355,
0.013862181454896927,
-0.044200751930475235,
0.020122520625591278,
0.0376308336853981,
-0.019606558606028557,
0.015874432399868965,
0.024834973737597466,
-0.017525510862469673,
0.022822722792625427,
0.017800690606236458,
-0.020019328221678734,
-0.00618294533342123,
0.020896464586257935,
0.035223010927438736,
0.02653764933347702,
-0.01902180165052414,
0.025024160742759705,
-0.07127156108617783,
-0.053900837898254395,
-0.06146828085184097,
-0.02923785150051117,
0.0010926572140306234,
-0.03694288432598114,
0.053556863218545914,
-0.033090367913246155,
-0.020690079778432846,
0.03976347669959068,
-0.007438453380018473,
-0.013587001711130142,
-0.0376996286213398,
0.023011907935142517,
0.017138540744781494,
0.031800463795661926,
-0.03284958377480507,
0.06002358719706535,
0.014111562632024288,
0.01702674850821495,
-0.04626460000872612,
0.012159505859017372,
0.06655910611152649,
0.04038263112306595,
0.04550785571336746,
-0.02062128484249115,
0.04031383618712425,
0.023596664890646935,
0.054623186588287354,
0.033124763518571854,
-0.004923138301819563,
-0.06322254985570908,
0.015177884139120579,
0.01498009916394949,
0.020156918093562126,
0.017921082675457,
0.033829912543296814,
-0.031060917302966118,
-0.02079327218234539,
-0.0644608587026596,
-0.01867782697081566,
-0.02440500631928444,
0.04371918737888336,
-0.023355882614850998,
-0.039866670966148376,
-0.006737604737281799,
0.002091796137392521,
0.03673649951815605,
0.022478748112916946,
-0.012890452519059181,
-0.048500433564186096,
0.0574093796312809,
0.0296162236481905,
0.011101784184575081,
-0.0233042873442173,
-0.0519745796918869,
-0.0006712881731800735,
-0.07636238634586334,
0.01883261650800705,
0.014309348538517952,
0.04860362783074379,
-0.000054115553211886436,
0.01688055880367756,
-0.03064814768731594,
-0.018247859552502632,
0.036495719105005264,
-0.05427921190857887,
0.050839461386203766,
0.010861001908779144,
0.03749324381351471,
0.03419108688831329,
-0.03910992667078972,
0.053728848695755005,
0.014593127183616161,
-0.04014185070991516,
-0.03460385650396347,
0.0003799845580942929,
0.005933563690632582,
-0.035257406532764435,
-0.05785654857754707,
-0.06480483710765839,
0.019331378862261772,
-0.0121079096570611,
-0.0014489934546872973,
-0.046023815870285034,
-0.04251527413725853,
0.030906127765774727,
-0.020019328221678734,
-0.03496503084897995,
0.01809307001531124,
-0.046195805072784424,
-0.09239161014556885,
0.0022379853762686253,
0.003085023257881403,
-0.014042767696082592,
0.029151856899261475,
0.07821985334157944,
0.044579122215509415,
-0.07512407749891281,
0.05992039665579796,
-0.003912712447345257,
-0.07237228006124496,
0.03673649951815605,
-0.012555076740682125,
0.007064380683004856,
-0.010198850184679031,
-0.017645902931690216,
0.012254099361598492,
-0.05297210440039635,
0.021842394024133682,
-0.006552718114107847,
-0.06497682631015778,
0.04261846840381622,
0.027689965441823006,
-0.027896350249648094,
0.0322304293513298,
0.017989877611398697,
0.05259373411536217,
0.01594322733581066,
-0.03138769418001175,
0.021378029137849808,
0.0170525461435318,
-0.0033150562085211277,
-0.0358765609562397,
-0.049050793051719666,
0.05851009860634804,
0.01969255320727825,
0.009433506987988949,
-0.0806964710354805,
0.07099638134241104,
-0.09899592399597168,
-0.004097598604857922,
-0.016588181257247925,
0.04970434680581093,
0.027552375569939613,
-0.0031774663366377354,
-0.036495719105005264,
-0.005598188377916813,
-0.045817431062459946,
-0.011746736243367195,
0.019124994054436684,
0.017835088074207306,
-0.030888929963111877,
0.03138769418001175,
-0.054416801780462265,
-0.009751683101058006,
0.025884097442030907,
-0.035068221390247345,
0.015040294267237186,
-0.0015468113124370575,
0.0015876583056524396,
0.03835318237543106,
0.04354719817638397,
-0.0064194281585514545,
-0.010069860145449638,
-0.034861836582422256,
0.03102651983499527,
0.0028915375005453825,
-0.00712457625195384,
0.02796514518558979,
0.03570457547903061,
0.06934530287981033,
-0.06294737011194229,
0.013363417237997055,
-0.017319126054644585,
0.04860362783074379,
0.05974840745329857,
-0.018007075414061546,
0.013750389218330383,
0.007283664774149656,
-0.003512841882184148,
-0.0322132334113121,
-0.004807046614587307,
0.008577869273722172,
-0.03438027203083038,
-0.036667704582214355,
-0.0031258701346814632,
-0.06604314595460892,
-0.03842197731137276,
0.009037936106324196,
0.0028592897579073906,
0.0077652293257415295,
0.0197269506752491,
-0.00018636442837305367,
-0.09899592399597168,
-0.0502203069627285,
-0.007115976884961128,
0.04034823551774025,
0.022547543048858643,
-0.011144780553877354,
0.05169939994812012,
-0.035033825784921646,
-0.09294196963310242,
-0.03353753313422203,
0.03694288432598114,
0.02920345403254032,
-0.028601497411727905,
-0.010198850184679031,
-0.04076100513339043,
0.03069974295794964,
0.02153281681239605,
0.004454472567886114,
-0.02332148514688015,
-0.03849077224731445,
-0.038318783044815063,
-0.013561203144490719,
-0.006023857276886702,
0.011428560130298138,
-0.05992039665579796,
0.027483580633997917,
-0.0029474333859980106,
-0.057822149246931076,
0.01147155649960041,
-0.02208317629992962,
0.00797591358423233,
-0.06845096498727798,
0.00844027940183878,
0.0170525461435318,
-0.031112512573599815,
0.04767489433288574,
-0.02191118896007538,
-0.039866670966148376,
-0.040451426059007645,
0.009657090529799461,
0.06862295418977737,
-0.006544118747115135,
-0.03931631147861481,
-0.027208400890231133,
0.07127156108617783,
0.01236589066684246,
0.005473497789353132,
-0.0014661921886727214,
-0.045473456382751465,
0.03353753313422203,
-0.02615927718579769,
0.03460385650396347,
0.032024044543504715,
-0.014816710725426674,
-0.02512735314667225,
-0.008711159229278564,
0.014274951070547104,
0.012993644922971725,
0.012297095730900764,
0.020174117758870125,
-0.03138769418001175,
-0.0002714175498113036,
0.030458960682153702,
-0.00017978053074330091,
0.007459951564669609,
-0.016631176695227623,
0.045817431062459946,
0.02294311299920082,
-0.038284387439489365,
0.001266256906092167,
0.021670406684279442,
-0.003042026422917843,
0.045473456382751465,
0.010706213302910328,
-0.021223239600658417,
0.01058582216501236,
0.010431033559143543,
0.02081046998500824,
0.021842394024133682
]
|
29,406 | quart.app | test_cli_runner | Creates and returns a CLI test runner. | def test_cli_runner(self, **kwargs: Any) -> QuartCliRunner:
"""Creates and returns a CLI test runner."""
return self.test_cli_runner_class(self, **kwargs) # type: ignore
| (self, **kwargs: Any) -> quart.testing.QuartCliRunner | [
-0.01527547650039196,
-0.04020049795508385,
0.008950752206146717,
-0.04450896382331848,
0.006863282062113285,
0.01837329939007759,
0.010699954815208912,
0.0699680894613266,
-0.03752995654940605,
0.012720662169158459,
0.02066996321082115,
0.0646626204252243,
-0.03619468957185745,
0.045968856662511826,
0.015818485990166664,
-0.014162752777338028,
0.059713225811719894,
-0.011981813237071037,
0.015035128220915794,
-0.02586860954761505,
0.0002660801401361823,
0.020919213071465492,
0.02277078665792942,
0.0440460704267025,
0.007246059365570545,
0.04486503452062607,
0.02385680377483368,
-0.04048535227775574,
-0.008465604856610298,
0.003251379821449518,
-0.07196209579706192,
-0.005474602337926626,
-0.059179119765758514,
0.08353442698717117,
0.007081376388669014,
-0.019245676696300507,
-0.057648010551929474,
0.03293663263320923,
-0.023732179775834084,
0.02177378535270691,
-0.04507867991924286,
0.0013731014914810658,
0.06014051288366318,
0.009542722254991531,
-0.020385105162858963,
-0.027257289737462997,
0.04849696531891823,
-0.06922034174203873,
-0.07427655905485153,
-0.006947849411517382,
0.029144469648599625,
-0.007731207180768251,
0.04458017647266388,
0.07854942232370377,
-0.004348525777459145,
0.057612404227256775,
0.0440460704267025,
0.022628357633948326,
-0.029411522671580315,
0.032812006771564484,
-0.1087443009018898,
0.04974321648478508,
0.013842287473380566,
0.026473931968212128,
0.004299565684050322,
-0.02437310852110386,
-0.03418288379907608,
0.016503924503922462,
0.05825333297252655,
0.0174386128783226,
0.03106725588440895,
0.028129665181040764,
0.01138539332896471,
-0.06298908591270447,
0.088092140853405,
-0.035874225199222565,
-0.08424656838178635,
-0.019761979579925537,
0.026580752804875374,
0.029393719509243965,
0.02278858982026577,
0.050597790628671646,
-0.05483504384756088,
0.05568961426615715,
0.02152453549206257,
-0.004482052754610777,
-0.006956750992685556,
-0.03763677924871445,
0.015204261988401413,
0.017367398366332054,
-0.014349689707159996,
-0.034271903336048126,
-0.022147661074995995,
0.0032780852634459734,
-0.022432517260313034,
-0.029856612905859947,
-0.01940590888261795,
-0.0023589751217514277,
-0.027648968622088432,
0.028325505554676056,
-0.011607937514781952,
0.08745121210813522,
0.005536915268748999,
0.008523466996848583,
-0.0023033388424664736,
0.014661252498626709,
-0.008937399834394455,
0.0017892603063955903,
-0.012266670353710651,
0.018960818648338318,
-0.028129665181040764,
0.04892425239086151,
-0.06580205261707306,
0.02043851651251316,
-0.04586203768849373,
-0.008136238902807236,
-0.056935865432024,
-0.05148797109723091,
0.02930470183491707,
-0.005857379641383886,
-0.045185498893260956,
0.09151042997837067,
0.01892521232366562,
0.015702761709690094,
0.03525109961628914,
-0.015506923198699951,
-0.039452746510505676,
0.05793286859989166,
0.01424286887049675,
0.01009463332593441,
0.10311836749315262,
-0.018836192786693573,
-0.03396924212574959,
-0.017411906272172928,
0.01888960413634777,
0.06776044517755508,
0.06601569801568985,
0.06854380667209625,
0.034271903336048126,
0.05419411510229111,
-0.01992221176624298,
0.06259740889072418,
-0.0246223583817482,
0.013067832216620445,
-0.04458017647266388,
0.004226126242429018,
-0.07562962919473648,
-0.03179720416665077,
0.006689697504043579,
0.061814047396183014,
0.05202207714319229,
-0.0059285941533744335,
-0.025993235409259796,
0.01584519073367119,
0.0388118177652359,
-0.03831331431865692,
-0.013343787752091885,
-0.019530532881617546,
0.06444898247718811,
-0.013913501985371113,
-0.01969076506793499,
0.0129699120298028,
0.030657773837447166,
-0.0035050809383392334,
0.007121434435248375,
0.0672619491815567,
-0.03261616826057434,
0.0002678883320186287,
-0.014928306452929974,
0.04084142670035362,
0.007749010808765888,
0.008550171740353107,
-0.07089387625455856,
-0.02718607522547245,
-0.02640271745622158,
-0.008554622530937195,
-0.021168462932109833,
0.02230789326131344,
0.011171749792993069,
-0.05198647081851959,
-0.024248482659459114,
-0.030675576999783516,
0.007659992668777704,
-0.012320080772042274,
0.08666785806417465,
-0.042336925864219666,
0.026758790016174316,
0.01588970050215721,
0.003264732426032424,
-0.03827770799398422,
-0.07018173485994339,
0.035856422036886215,
0.037209492176771164,
0.03236692026257515,
0.009151043370366096,
-0.03710267320275307,
-0.019850997254252434,
0.02640271745622158,
0.0038967598229646683,
-0.03288322314620018,
-0.024978430941700935,
0.08403292298316956,
0.05999808385968208,
-0.04532792791724205,
0.01892521232366562,
-0.03553595766425133,
-0.027666771784424782,
-0.015684958547353745,
0.01812404952943325,
-0.005594776943325996,
0.028645969927310944,
-0.016254672780632973,
-0.01787479966878891,
0.0168777983635664,
0.02099042758345604,
-0.007967104203999043,
0.036105670034885406,
0.006164491642266512,
0.004083697218447924,
0.022076446563005447,
0.07605691999197006,
0.04383242875337601,
0.0074730548076331615,
0.012480313889682293,
0.008973007090389729,
-0.022681767120957375,
0.05544036626815796,
0.009622838348150253,
-0.02798723615705967,
-0.011839384213089943,
-0.009409194812178612,
0.006600679364055395,
0.015035128220915794,
-0.008180747739970684,
-0.06857941299676895,
-0.02850354090332985,
-0.022984428331255913,
0.02487160824239254,
-0.0284857377409935,
-0.037672385573387146,
0.01842671073973179,
0.05408729240298271,
0.02850354090332985,
0.018444513902068138,
-0.010673249140381813,
0.023376107215881348,
-0.04632493108510971,
-0.002690566936507821,
0.022432517260313034,
0.06395047903060913,
0.0492091104388237,
-0.05668661743402481,
-0.0014932757476344705,
0.007063572760671377,
-0.03763677924871445,
0.047535572201013565,
0.018800586462020874,
-0.05828893929719925,
0.014020323753356934,
-0.016361495479941368,
0.01345951110124588,
-0.026758790016174316,
0.02123967744410038,
0.0826798528432846,
-0.01997562311589718,
-0.024693572893738747,
0.024017037823796272,
-0.0034360920544713736,
0.010130240581929684,
-0.03339952602982521,
0.08873306959867477,
0.05084703862667084,
0.031494542956352234,
0.005750558339059353,
-0.08830578625202179,
-0.029073255136609077,
-0.05159479007124901,
0.02586860954761505,
-0.022129856050014496,
-0.014946109615266323,
-0.008550171740353107,
0.013610840775072575,
0.019281283020973206,
0.017429709434509277,
-0.00491824047639966,
-0.04091263934969902,
0.01777688041329384,
0.009409194812178612,
-0.029322504997253418,
0.0020941467955708504,
-0.008683699183166027,
0.00015536410501226783,
-0.027097057551145554,
-0.03409386798739433,
0.04475821554660797,
0.05155918374657631,
-0.1036168709397316,
-0.004457572940737009,
0.015159753151237965,
-0.01112724095582962,
-0.0011071604676544666,
-0.06452019512653351,
-0.08239499479532242,
0.020385105162858963,
-0.023465124890208244,
0.05561840161681175,
-0.03153014928102493,
-0.03706706687808037,
-0.011331981979310513,
-0.05850258097052574,
0.02097262442111969,
0.00575500912964344,
-0.009026417508721352,
0.02586860954761505,
-0.009142140857875347,
0.014598940499126911,
-0.0023100152611732483,
-0.019815390929579735,
-0.00458887405693531,
-0.020634355023503304,
-0.05341075733304024,
0.006778715178370476,
0.024426519870758057,
0.030960435047745705,
0.01516865473240614,
0.05672222375869751,
-0.06031854823231697,
-0.009364685975015163,
-0.012097536586225033,
0.02175598219037056,
0.030639970675110817,
0.026865610852837563,
-0.0015945336781442165,
-0.01451882440596819,
-0.00017469767772126943,
0.010432900860905647,
0.0492447167634964,
0.012400197796523571,
-0.008176296949386597,
-0.01865815743803978,
0.08367685228586197,
0.030657773837447166,
0.002726173959672451,
0.022379107773303986,
-0.012070830911397934,
-0.0013196907239034772,
0.0011728111421689391,
0.000422278797486797,
0.059713225811719894,
-0.03179720416665077,
0.06063901260495186,
-0.015257672406733036,
-0.01734069176018238,
-0.020260481163859367,
0.022379107773303986,
-0.02515646629035473,
-0.027542147785425186,
-0.023198071867227554,
-0.032812006771564484,
-0.055013079196214676,
-0.02099042758345604,
-0.04952957481145859,
0.03282980993390083,
0.044117286801338196,
-0.07797970622777939,
-0.029073255136609077,
0.05316150560975075,
-0.03462797403335571,
0.020349498838186264,
0.04742875322699547,
0.0030332859605550766,
-0.01256933156400919,
0.005002807360142469,
-0.017812486737966537,
-0.025031840428709984,
-0.004855928011238575,
-0.01023706141859293,
-0.008808324113488197,
-0.05978443846106529,
0.041055068373680115,
-0.015782877802848816,
0.009364685975015163,
-0.01021925825625658,
-0.03478820621967316,
-0.014946109615266323,
-0.037387531250715256,
-0.06035415455698967,
0.027114860713481903,
-0.0011794875608757138,
-0.05536914989352226,
-0.009213355369865894,
-0.03788603097200394,
-0.0028085156809538603,
0.00027178286109119654,
0.004275085870176554,
-0.05825333297252655,
-0.07110752165317535,
0.027577754110097885,
-0.017429709434509277,
0.03167257830500603,
0.008594680577516556,
0.003694243961945176,
0.06761801987886429,
-0.0003869498032145202,
0.03598104789853096,
-0.0013797779101878405,
0.028913022950291634,
-0.0009753026533871889,
0.015800682827830315,
-0.01115394663065672,
-0.007272764574736357,
-0.011964009143412113,
-0.06765362620353699,
0.014536627568304539,
-0.03478820621967316,
-0.004533237777650356,
0.029464934021234512,
0.008127336390316486,
0.017278380692005157,
0.01514194905757904,
0.013744368217885494,
-0.015649352222681046,
-0.019245676696300507,
0.04073460400104523,
0.09343321621417999,
0.042550571262836456,
0.011358687654137611,
0.044402141124010086,
0.054229721426963806,
-0.04326271265745163,
-0.03112066723406315,
-0.00030794640770182014,
-0.06434215605258942,
-0.0038344471249729395,
-0.03363097459077835,
0.01151001825928688,
-0.04012928158044815,
-0.027114860713481903,
0.059179119765758514,
0.047535572201013565,
-0.037209492176771164,
-0.04945836216211319,
0.01630808413028717,
-0.023091251030564308,
-0.011358687654137611,
-0.014225064776837826,
-0.0039279162883758545,
0.010780070908367634,
0.005572522059082985,
-0.034040454775094986,
-0.009533819742500782,
0.06815212219953537,
-0.013165751472115517,
-0.03731631487607956,
0.033577561378479004,
-0.07377805560827255,
-0.06654980033636093,
0.03496624156832695,
-0.0009652881417423487,
-0.03078239969909191,
0.030194880440831184,
0.016112245619297028,
-0.03567838668823242,
-0.04486503452062607,
0.016014324501156807,
0.03834892436861992,
0.002873053541406989,
0.011857188306748867,
-0.013112341053783894,
0.003378230379894376,
0.014812583103775978,
-0.010334981605410576,
-0.008243059739470482,
0.021043838933110237,
0.04714389517903328,
0.03988002985715866,
-0.01023706141859293,
-0.04372560605406761,
-0.02666977047920227,
0.02257494628429413,
-0.032740794122219086,
0.029642969369888306,
0.013272573240101337,
0.05515550822019577,
-0.06790287792682648,
-0.038989853113889694,
-0.019726373255252838,
-0.00998781155794859,
0.007228255737572908,
-0.013308180496096611,
0.009827579371631145,
0.021666964516043663,
-0.01115394663065672,
0.004241704475134611,
0.009400293231010437,
0.007740108761936426,
0.06284666061401367,
0.04084142670035362,
-0.022663963958621025,
-0.005746107082813978,
0.08196771144866943,
0.043369535356760025,
0.002073005074635148,
0.007246059365570545,
0.04450896382331848,
-0.04710828885436058,
-0.013308180496096611,
0.01269395649433136,
-0.07278105616569519,
-0.02875279076397419,
-0.004811419174075127,
0.03674659878015518,
0.003048863960430026,
-0.037992849946022034,
0.044936250895261765,
-0.021577944979071617,
-0.013904600404202938,
0.003972425125539303,
-0.005808420013636351,
0.03236692026257515,
0.0028062902856618166,
0.04247935488820076,
0.0022810844238847494,
-0.03135211393237114,
0.004001355729997158,
0.013121242634952068,
0.03603445738554001,
0.04735753685235977,
0.09749243408441544,
0.05992686748504639,
0.02179158851504326,
-0.011501116678118706,
0.0011939529795199633,
0.01799052394926548,
0.017082540318369865,
0.043903641402721405,
-0.06195647642016411,
0.040307316929101944,
0.11337323486804962,
-0.0413399264216423,
0.041304320096969604,
0.011723660863935947,
0.01864035427570343,
-0.0021575719583779573,
-0.04368999972939491,
0.00524760689586401,
0.013575234450399876,
0.05027732625603676,
0.020865801721811295,
0.010521919466555119,
0.01657513901591301,
-0.037992849946022034,
0.004290664102882147,
0.004324045963585377,
-0.04685903713107109,
-0.005901888478547335,
0.02385680377483368,
-0.002565941773355007,
0.0388118177652359,
0.019299086183309555,
-0.01802613027393818,
-0.005915241315960884,
-0.03788603097200394,
0.041019462049007416,
0.01023706141859293,
-0.0048292228020727634,
0.027898218482732773,
0.025067448616027832,
-0.009863186627626419,
-0.05921472609043121,
-0.005492405965924263,
-0.06868623197078705,
0.03516208007931709,
0.0324559360742569,
-0.10454265773296356,
0.031441133469343185,
-0.016067735850811005,
-0.02152453549206257,
0.0015021775616332889,
0.012747366912662983,
-0.07491748780012131,
0.029144469648599625,
0.012070830911397934,
-0.0699680894613266,
-0.09649543464183807,
-0.05020610988140106,
0.01634369231760502,
-0.04251496121287346,
0.004593324847519398,
-0.016699763014912605,
0.03462797403335571,
0.035642776638269424,
-0.029162272810935974,
-0.04600446671247482,
0.011616840027272701,
-0.06954080611467361,
-0.02358975075185299,
-0.001529995584860444,
0.03007025644183159,
-0.028022844344377518,
-0.006182295270264149,
0.054514579474925995,
0.012257768772542477,
-0.004753557499498129,
0.028147468343377113,
0.01140319649130106,
-0.03623029589653015,
-0.04447335749864578,
-0.05405168607831001,
0.018515728414058685,
-0.015284378081560135,
-0.029838809743523598,
0.024230679497122765,
0.012248867191374302,
-0.0047001466155052185,
-0.013922403566539288,
-0.02095481939613819,
-0.01114504411816597,
0.0324559360742569,
-0.003088922007009387,
0.025726180523633957,
0.03530450910329819,
0.03158356249332428,
-0.023162465542554855,
-0.0388830304145813,
-0.03261616826057434,
0.010922499932348728,
-0.05102507770061493,
-0.00035801896592602134,
-0.008056122809648514,
0.01745641604065895,
-0.039452746510505676,
0.037423137575387955,
-0.08745121210813522,
0.041304320096969604,
-0.10902915894985199,
0.021844999864697456,
0.003907886799424887,
0.050633396953344345,
-0.013753269799053669,
0.008323175832629204,
0.007237157318741083,
0.005260959733277559,
0.018586942926049232,
-0.004248380661010742,
-0.03927471116185188,
-0.017536532133817673,
-0.00795375183224678,
0.04012928158044815,
-0.028272094205021858,
0.0001507741108071059,
0.05832454562187195,
-0.02202303521335125,
0.0349840447306633,
-0.056935865432024,
0.011839384213089943,
0.002539236331358552,
0.0259042177349329,
0.03347074240446091,
0.002381229540333152,
0.00132525444496423,
0.04532792791724205,
-0.030622167512774467,
0.04554157331585884,
-0.021382106468081474,
-0.026082253083586693,
0.04739314317703247,
-0.026865610852837563,
-0.022592749446630478,
-0.019334694370627403,
0.028076253831386566,
0.032794203609228134,
-0.0036074514500796795,
-0.027542147785425186,
0.004059217404574156,
-0.014118243008852005,
-0.07278105616569519,
-0.009115436114370823,
0.016868896782398224,
-0.035589367151260376,
-0.08994371443986893,
0.0032447034027427435,
-0.06936276704072952,
-0.043333929032087326,
0.03970199450850487,
0.0414111390709877,
-0.04507867991924286,
-0.0006431545480154455,
-0.022325696423649788,
-0.07456141710281372,
-0.038954246789216995,
0.017794683575630188,
0.015818485990166664,
-0.010860187001526356,
0.008750461973249912,
-0.03192183002829552,
-0.0414111390709877,
-0.047820430248975754,
-0.05301907658576965,
0.04230131953954697,
0.036924637854099274,
-0.04166039079427719,
-0.029073255136609077,
0.01917446218430996,
-0.008220805786550045,
0.014207261614501476,
-0.024657966569066048,
0.0009191100834868848,
0.02670537866652012,
-0.0804009959101677,
0.043939247727394104,
0.006671893876045942,
0.026100056245923042,
-0.0037587820552289486,
-0.007085827179253101,
-0.011830482631921768,
-0.026847807690501213,
-0.005986455827951431,
-0.01990440860390663,
-0.04582642763853073,
-0.004435318056493998,
0.024729181081056595,
-0.004895986057817936,
-0.0032313507981598377,
0.04372560605406761,
0.01804393343627453,
-0.09371807426214218,
-0.021097248420119286,
0.03548254445195198,
0.007838028483092785,
-0.03261616826057434,
-0.030924828723073006,
0.02148892730474472,
-0.0022421390749514103,
0.019494926556944847,
-0.011109437793493271,
0.018337693065404892,
-0.0751311331987381,
0.021577944979071617,
-0.053731221705675125,
-0.013922403566539288,
-0.0030332859605550766,
-0.0038900834042578936,
-0.02955395169556141,
-0.009569426998496056,
0.0258864127099514,
0.023696571588516235,
0.07107191532850266,
0.045185498893260956,
-0.05497747287154198,
-0.013210260309278965,
0.022414714097976685,
-0.025993235409259796,
0.09250742942094803,
-0.05511990189552307,
-0.0077445595525205135,
0.06156479939818382,
0.00817184615880251,
0.004446445498615503,
0.0004662314022425562,
-0.005105178337544203,
0.003912338055670261,
-0.008746011182665825,
-0.02382119745016098,
0.06288226693868637,
-0.011812679469585419,
0.04351196438074112,
0.015569235198199749
]
|
29,407 | quart.app | test_client | Creates and returns a test client. | def test_client(self, use_cookies: bool = True, **kwargs: Any) -> TestClientProtocol:
"""Creates and returns a test client."""
return self.test_client_class(self, use_cookies=use_cookies, **kwargs)
| (self, use_cookies: bool = True, **kwargs: Any) -> quart.typing.TestClientProtocol | [
-0.030530301854014397,
-0.0705573558807373,
0.01144007034599781,
-0.043614719063043594,
-0.03533143922686577,
0.01807900331914425,
-0.04463474079966545,
0.06791937351226807,
-0.0002679205499589443,
-0.00399215379729867,
0.008608630858361721,
0.025869859382510185,
-0.028912337496876717,
0.011545590125024319,
0.03904220834374428,
-0.023003246635198593,
0.036333873867988586,
-0.05574945732951164,
0.023636363446712494,
-0.05546807125210762,
-0.027839556336402893,
0.03865530341863632,
0.04227813705801964,
0.018290042877197266,
0.052794914692640305,
0.03770562633872032,
-0.04414231702685356,
0.002651176881045103,
0.09398268163204193,
-0.0028028611559420824,
-0.03675595298409462,
0.015915853902697563,
-0.023143939673900604,
0.08195346593856812,
0.016214827075600624,
-0.017525026574730873,
-0.03438176214694977,
0.01691829040646553,
-0.08265692740678787,
0.05757846310734749,
-0.028824403882026672,
-0.010437634773552418,
0.03840909153223038,
0.002158752642571926,
-0.003695380175486207,
0.012635957449674606,
0.014245130121707916,
0.06317099183797836,
-0.0007463304791599512,
0.0036140421871095896,
0.023091180250048637,
-0.05163419991731644,
0.0341707244515419,
0.029404761269688606,
-0.054553572088479996,
0.0072148945182561874,
0.0735822468996048,
0.023777056485414505,
-0.06904491037130356,
0.06700486689805984,
-0.09982142597436905,
0.02305600605905056,
0.03063582256436348,
-0.00523640401661396,
-0.033643126487731934,
-0.012618371285498142,
-0.04590097442269325,
0.016689663752913475,
0.06394480168819427,
-0.03422348573803902,
0.04319263994693756,
0.008182155899703503,
0.03696699067950249,
-0.008960362523794174,
0.058774348348379135,
-0.00293915718793869,
-0.044423699378967285,
-0.04322781413793564,
-0.032939665019512177,
0.009136227890849113,
-0.0033656316809356213,
-0.001967498566955328,
-0.04220779240131378,
0.021086309105157852,
0.02674918808043003,
-0.0002923768770415336,
0.018448323011398315,
-0.017481060698628426,
0.04720238223671913,
0.04396644979715347,
0.0006083857733756304,
-0.0027303164824843407,
-0.014719967730343342,
-0.01855384185910225,
-0.025183983147144318,
-0.02968614734709263,
-0.0042405640706419945,
0.027522997930645943,
0.0030073050875216722,
0.0188704002648592,
-0.007812838070094585,
0.08350107818841934,
-0.05420183762907982,
0.008081033825874329,
0.020259739831089973,
-0.022334955632686615,
0.002717126626521349,
-0.043790582567453384,
0.03791666775941849,
0.02484983764588833,
0.030882034450769424,
0.030688581988215446,
0.0285430196672678,
0.07731060683727264,
0.007104978431016207,
-0.014157196506857872,
0.03380140662193298,
-0.02643262967467308,
0.0038822374772280455,
0.004332893528044224,
-0.056030843406915665,
0.05107142776250839,
-0.006383928470313549,
0.036826297640800476,
0.058915041387081146,
0.038127705454826355,
0.025219155475497246,
0.01658414490520954,
0.034733496606349945,
-0.020857684314250946,
0.1110064908862114,
-0.0023500067181885242,
0.02161390706896782,
0.053428031504154205,
-0.007702921982854605,
0.07006493210792542,
0.007848011329770088,
0.036826297640800476,
0.04129328951239586,
0.026028137654066086,
-0.021525973454117775,
0.062150973826646805,
-0.030196158215403557,
0.056347403675317764,
-0.02724161185324192,
-0.01999594084918499,
-0.05462391674518585,
-0.08666666597127914,
-0.04417748749256134,
0.03497970849275589,
0.06904491037130356,
-0.02064664475619793,
-0.04277056083083153,
-0.019151786342263222,
-0.046498917043209076,
-0.04945346340537071,
-0.014060470275580883,
-0.06591450423002243,
0.037318721413612366,
0.02627434954047203,
0.030688581988215446,
0.014772727154195309,
0.050895560532808304,
0.026555735617876053,
-0.00451095774769783,
0.0355248898267746,
-0.04948863759636879,
-0.08082792162895203,
0.000541611691005528,
0.0018608799437060952,
-0.01999594084918499,
0.024955356493592262,
-0.046217530965805054,
-0.014086850918829441,
0.016082927584648132,
-0.038936689496040344,
0.02479707822203636,
-0.040202923119068146,
-0.014253922738134861,
0.005293560680001974,
0.013831845484673977,
-0.03703733906149864,
-0.01920454576611519,
0.033097945153713226,
0.04758928343653679,
0.017780032008886337,
0.017991071566939354,
0.021332520991563797,
0.031356871128082275,
-0.007804044988006353,
-0.07541125267744064,
0.046217530965805054,
0.050719697028398514,
0.026643669232726097,
0.004293323960155249,
-0.051528677344322205,
0.0357535183429718,
0.004469189792871475,
-0.055362552404403687,
0.03497970849275589,
-0.05430736020207405,
0.0629599541425705,
0.0096726194024086,
-0.03510281443595886,
0.06032196804881096,
0.010877300053834915,
0.014974973164498806,
-0.027821969240903854,
-0.029703732579946518,
-0.025342261418700218,
0.007500676438212395,
-0.014623241499066353,
-0.0393235944211483,
0.0027369114104658365,
0.024761904031038284,
-0.05599566921591759,
-0.019116612151265144,
-0.0038712460082024336,
0.009153814986348152,
0.030600648373365402,
0.04547889530658722,
0.05268939211964607,
-0.011783008463680744,
-0.038268398493528366,
0.012301812879741192,
-0.021860118955373764,
0.01999594084918499,
-0.020242152735590935,
-0.06633657962083817,
-0.046991340816020966,
-0.018923159688711166,
0.05863365903496742,
0.06869318336248398,
-0.006379531696438789,
-0.020769750699400902,
-0.005596929229795933,
-0.016162067651748657,
0.008815272711217403,
-0.05501082167029381,
0.013181141577661037,
0.0627840906381607,
0.0028995873872190714,
0.08652597665786743,
-0.00998917780816555,
-0.025271914899349213,
0.03339691460132599,
-0.012011634185910225,
-0.03081168793141842,
0.03935876488685608,
0.05177489295601845,
-0.03816287964582443,
-0.060392316430807114,
0.026502976194024086,
-0.0011200453154742718,
-0.020998375490307808,
0.06204545497894287,
0.02096320316195488,
-0.016522591933608055,
-0.04097673296928406,
0.005267180502414703,
-0.02931682951748371,
0.006674107164144516,
-0.022370129823684692,
0.07555194944143295,
-0.013893398456275463,
-0.029228895902633667,
0.022827381268143654,
0.04502164572477341,
-0.001603676239028573,
-0.005632102023810148,
0.07935065031051636,
-0.0100683169439435,
0.04407196864485741,
-0.006511431187391281,
-0.02080492489039898,
-0.11951839923858643,
-0.044388528913259506,
0.006709280423820019,
-0.05525703355669975,
-0.027012987062335014,
-0.07316017150878906,
0.030829275026917458,
0.05979437008500099,
-0.009830898605287075,
-0.04815205559134483,
-0.03696699067950249,
-0.0027325148694217205,
0.05824675410985947,
0.0142715098336339,
-0.03897185996174812,
-0.027839556336402893,
-0.04737824574112892,
0.017797619104385376,
-0.0291761364787817,
-0.05388528108596802,
-0.009241747669875622,
-0.0699242427945137,
-0.011501623317599297,
-0.011545590125024319,
-0.014869453385472298,
-0.030196158215403557,
-0.03211309388279915,
0.0100683169439435,
0.014737553894519806,
0.05353355035185814,
-0.02291531302034855,
-0.024920184165239334,
-0.011862148530781269,
0.003631628816947341,
0.006638933904469013,
-0.053603895008563995,
-0.01820211112499237,
-0.03158549591898918,
-0.01694466918706894,
-0.02143804170191288,
-0.013365800492465496,
0.0035107210278511047,
-0.05015692487359047,
0.059090908616781235,
-0.0009084567427635193,
-0.026661254465579987,
-0.010041937232017517,
-0.010789366438984871,
0.04396644979715347,
-0.024920184165239334,
0.05268939211964607,
-0.018325217068195343,
-0.0003171080315951258,
-0.017507439479231834,
0.033625539392232895,
-0.04509199038147926,
0.04533820226788521,
-0.015432223677635193,
-0.0409063845872879,
-0.0589853897690773,
-0.03675595298409462,
0.06204545497894287,
-0.010015557520091534,
-0.03529626503586769,
-0.01362080592662096,
0.003937195520848036,
-0.05402597412467003,
-0.038620129227638245,
0.009004329331219196,
-0.016821563243865967,
0.014130816794931889,
-0.024955356493592262,
0.01932765170931816,
0.056030843406915665,
-0.023988094180822372,
0.0483630932867527,
-0.02660849504172802,
0.055045995861291885,
0.0054078735411167145,
0.026379870250821114,
-0.012205086648464203,
-0.009619859047234058,
-0.00617288937792182,
-0.0007463304791599512,
-0.01161593571305275,
-0.033273808658123016,
-0.008533887565135956,
0.040097400546073914,
0.032816559076309204,
-0.052161794155836105,
-0.004058103542774916,
0.05807088688015938,
-0.0321834422647953,
0.012627164833247662,
-0.0017333772266283631,
-0.014869453385472298,
-0.0496293269097805,
-0.011466450057923794,
0.009153814986348152,
0.02579951286315918,
-0.0027017383836209774,
-0.034768667072057724,
-0.03047754243016243,
-0.006775229703634977,
0.035366613417863846,
-0.021332520991563797,
0.007364380173385143,
-0.007153341546654701,
0.002190628321841359,
-0.03257034718990326,
-0.008318452164530754,
0.003972368780523539,
0.016047753393650055,
0.0002665465872269124,
-0.015748782083392143,
-0.01330424752086401,
-0.035067640244960785,
0.0032315340358763933,
-0.028965096920728683,
0.0006913724355399609,
-0.054412879049777985,
-0.038936689496040344,
0.009329680353403091,
0.00983969122171402,
-0.014535307884216309,
0.049558982253074646,
0.029475107789039612,
0.005144074559211731,
0.020892856642603874,
-0.01952110417187214,
0.06074404716491699,
0.010877300053834915,
-0.03381899371743202,
0.0661255419254303,
-0.031497564166784286,
-0.05272456631064415,
0.010551948100328445,
-0.09904761612415314,
0.03077651560306549,
0.007359983865171671,
0.04044913500547409,
-0.031075486913323402,
0.05061417818069458,
0.04558441415429115,
0.015441017225384712,
0.03081168793141842,
-0.011404897086322308,
-0.020119046792387962,
-0.0010876200394704938,
0.07766233384609222,
0.04305194690823555,
-0.0100683169439435,
0.06900973618030548,
0.025201568379998207,
0.025518126785755157,
0.04670995473861694,
-0.04041396081447601,
-0.028156114742159843,
-0.010121076367795467,
0.02724161185324192,
0.041047077625989914,
-0.05937229469418526,
0.0036909834016114473,
0.028595779091119766,
0.006353151984512806,
-0.04016774892807007,
-0.04048430547118187,
-0.019274892285466194,
-0.02840232662856579,
0.03341450169682503,
-0.020892856642603874,
0.002972132060676813,
-0.0033832183107733727,
0.019397998228669167,
-0.010543154552578926,
0.01791193149983883,
0.0319548174738884,
-0.006740056909620762,
-0.0332210510969162,
-0.030899621546268463,
-0.03130411356687546,
-0.0008622920140624046,
0.021578732877969742,
0.015344290994107723,
-0.022123917937278748,
0.09890692681074142,
-0.04593614488840103,
-0.0007276447722688317,
-0.00903070904314518,
0.0012387547176331282,
-0.010868506506085396,
-0.0094352001324296,
0.01563446968793869,
0.015273944474756718,
-0.00503415847197175,
0.024709144607186317,
0.007636972237378359,
-0.0238649882376194,
-0.018131764605641365,
0.024920184165239334,
0.05578463152050972,
-0.017454680055379868,
-0.01676001027226448,
-0.024287067353725433,
0.009971590712666512,
-0.04220779240131378,
0.04850378632545471,
0.025254329666495323,
0.0009106550714932382,
-0.049066558480262756,
-0.037002164870500565,
0.006155302748084068,
0.002426947932690382,
0.026837121695280075,
-0.021385280415415764,
0.04270021617412567,
0.04934794455766678,
-0.03851461037993431,
-0.0019894817378371954,
0.0004943477688357234,
0.020523538812994957,
0.0017784428782761097,
-0.02222943678498268,
-0.016803978011012077,
0.02887716330587864,
0.011589556001126766,
0.030706169083714485,
0.025834685191512108,
0.03374864533543587,
0.04737824574112892,
-0.08969155699014664,
-0.025395020842552185,
-0.021244589239358902,
-0.029862012714147568,
-0.025377435609698296,
-0.03760010749101639,
0.07059253007173538,
-0.009866070933640003,
0.005069331731647253,
0.030917206779122353,
-0.02256358228623867,
-0.07843614369630814,
0.024146374315023422,
-0.007751285098493099,
-0.010956439189612865,
0.04688582196831703,
0.03752976283431053,
0.0121699133887887,
-0.004563717637211084,
-0.010762986727058887,
-0.021525973454117775,
0.014420995488762856,
0.03401244431734085,
0.08469697088003159,
0.07604437321424484,
-0.010789366438984871,
-0.04751893877983093,
-0.03626352921128273,
0.0710497796535492,
-0.008261295966804028,
-0.05191558226943016,
-0.06471861153841019,
0.001239853911101818,
0.06725107878446579,
-0.055890150368213654,
0.05451839789748192,
0.059090908616781235,
-0.04051947966217995,
-0.030741341412067413,
-0.030741341412067413,
0.04252434894442558,
0.054061148315668106,
0.036650434136390686,
-0.027839556336402893,
-0.02159631997346878,
0.06018127501010895,
-0.01627638004720211,
0.021086309105157852,
-0.04755411297082901,
-0.015344290994107723,
-0.03031926415860653,
0.03496212139725685,
-0.04080086573958397,
0.0013783482136204839,
-0.04787066951394081,
0.0014937601517885923,
-0.017656926065683365,
-0.06711038947105408,
0.03661525994539261,
-0.024568451568484306,
-0.035401783883571625,
0.0648593083024025,
0.018149349838495255,
-0.023003246635198593,
-0.01249526534229517,
0.04414231702685356,
-0.04066017270088196,
0.051845237612724304,
0.10664501786231995,
-0.03640422224998474,
0.0455140694975853,
-0.030231330543756485,
0.004238365683704615,
0.04111742228269577,
0.045056816190481186,
-0.04561958834528923,
0.012055600062012672,
-0.013752705417573452,
-0.04561958834528923,
-0.008507507853209972,
0.0035744723863899708,
0.037494588643312454,
-0.020101461559534073,
0.028173701837658882,
-0.06081439182162285,
-0.010464015416800976,
-0.0005858529475517571,
-0.03077651560306549,
-0.0316382572054863,
-0.03096996806561947,
-0.041504327207803726,
-0.026362283155322075,
0.031005140393972397,
0.016232414171099663,
-0.004455999471247196,
0.021525973454117775,
0.07625541090965271,
0.035876624286174774,
-0.02288014069199562,
0.0032886904664337635,
0.019239718094468117,
-0.06211579963564873,
-0.004823119379580021,
0.022633928805589676,
-0.04319263994693756,
-0.023337392136454582,
0.0140340905636549,
-0.033607956022024155,
-0.06545724719762802,
-0.008195346221327782,
0.01080695353448391,
-0.050403136759996414,
0.004016335122287273,
-0.03858495503664017,
-0.05138798803091049,
0.04857413470745087,
-0.04101190343499184,
0.035560064017772675,
0.003534902585670352,
-0.04815205559134483,
-0.04628787934780121,
0.030108224600553513,
-0.03533143922686577,
-0.01820211112499237,
0.006186079699546099,
0.008780100382864475,
0.0016861133044585586,
0.006252028979361057,
-0.0355248898267746,
0.054448049515485764,
-0.04340367764234543,
0.0873701274394989,
-0.021508386358618736,
0.08624459058046341,
0.014148403890430927,
-0.028173701837658882,
0.019433170557022095,
0.01676001027226448,
-0.0008012885227799416,
-0.07020562887191772,
0.016557764261960983,
0.007812838070094585,
-0.06932629644870758,
0.04846861585974693,
-0.059231601655483246,
-0.006511431187391281,
0.1054491326212883,
0.008340435102581978,
-0.009224161505699158,
-0.022528408095240593,
0.0063047888688743114,
0.03337932750582695,
0.04755411297082901,
0.061799243092536926,
-0.02484983764588833,
0.01563446968793869,
0.04818722978234291,
0.04590097442269325,
0.018993506208062172,
0.008270089514553547,
-0.001863078330643475,
0.04080086573958397,
-0.024726731702685356,
0.04115259647369385,
-0.03160308301448822,
0.011563176289200783,
0.0567694790661335,
-0.062150973826646805,
0.013867017813026905,
0.004264745395630598,
-0.0011035578791052103,
-0.03304518386721611,
-0.003343648510053754,
0.026643669232726097,
-0.040695346891880035,
-0.019767316058278084,
0.04076569154858589,
-0.055714286863803864,
-0.022440476343035698,
-0.008815272711217403,
-0.016847943887114525,
-0.02098079025745392,
0.02275703474879265,
-0.04284090921282768,
-0.03242965415120125,
-0.0012585396179929376,
-0.0061113364063203335,
0.028437498956918716,
0.011466450057923794,
-0.012196293100714684,
0.04452922195196152,
0.023407738655805588,
-0.062150973826646805,
-0.06299512833356857,
0.05043831095099449,
-0.00483191292732954,
-0.008722943253815174,
-0.028754057362675667,
0.03675595298409462,
-0.014218749478459358,
0.02564123272895813,
0.018307629972696304,
-0.03921807184815407,
0.019573863595724106,
-0.0818127691745758,
0.0032689054496586323,
-0.010279355570673943,
0.029281655326485634,
0.0041108629666268826,
-0.010947645641863346,
0.023495670408010483,
-0.024568451568484306,
-0.007364380173385143,
-0.027997834607958794,
0.004462594632059336,
-0.01855384185910225,
0.01966179721057415,
-0.009373647160828114,
-0.02275703474879265,
0.03981601819396019,
-0.02289772778749466,
-0.04688582196831703,
-0.019591450691223145,
-0.040238093584775925,
0.0032623105216771364,
-0.0036404221318662167,
-0.01883522793650627,
-0.039112553000450134,
-0.004682426806539297,
-0.025236742570996284,
-0.03431141749024391,
0.04966450110077858,
-0.022317370399832726,
0.028789231553673744,
-0.0024511294905096292,
-0.03438176214694977,
-0.0013464725343510509,
0.011492829769849777,
-0.0010222200071439147,
-0.046006493270397186,
-0.005007778760045767,
0.041363634169101715,
0.006159699521958828,
0.03577110171318054,
-0.02094561606645584,
-0.057789500802755356,
0.008015084080398083,
0.00004719523712992668,
0.010138663463294506,
-0.009074674919247627,
0.0037679248489439487,
-0.03497970849275589,
-0.016399485990405083,
0.010762986727058887,
-0.0037877096328884363,
-0.02949269488453865,
0.04934794455766678,
0.0386904776096344,
-0.0166105255484581,
-0.03065340965986252,
-0.0043592737056314945,
0.033484846353530884,
0.023917749524116516
]
|
29,408 | quart.app | test_request_context | Create a request context for testing purposes.
This is best used for testing code within request contexts. It
is a simplified wrapper of :meth:`request_context`. It is best
used in a with block, i.e.
.. code-block:: python
async with app.test_request_context("/", method="GET"):
...
Arguments:
path: Request path.
method: HTTP verb
headers: Headers to include in the request.
query_string: To send as a dictionary, alternatively the
query_string can be determined from the path.
scheme: Scheme for the request, default http.
| def test_request_context(
self,
path: str,
*,
method: str = "GET",
headers: dict | Headers | None = None,
query_string: dict | None = None,
scheme: str = "http",
send_push_promise: Callable[[str, Headers], Awaitable[None]] = no_op_push,
data: AnyStr | None = None,
form: dict | None = None,
json: Any = sentinel,
root_path: str = "",
http_version: str = "1.1",
scope_base: dict | None = None,
auth: Authorization | tuple[str, str] | None = None,
subdomain: str | None = None,
) -> RequestContext:
"""Create a request context for testing purposes.
This is best used for testing code within request contexts. It
is a simplified wrapper of :meth:`request_context`. It is best
used in a with block, i.e.
.. code-block:: python
async with app.test_request_context("/", method="GET"):
...
Arguments:
path: Request path.
method: HTTP verb
headers: Headers to include in the request.
query_string: To send as a dictionary, alternatively the
query_string can be determined from the path.
scheme: Scheme for the request, default http.
"""
headers, path, query_string_bytes = make_test_headers_path_and_query_string(
self,
path,
headers,
query_string,
auth,
subdomain,
)
request_body, body_headers = make_test_body_with_headers(data=data, form=form, json=json)
headers.update(**body_headers)
scope = make_test_scope(
"http",
path,
method,
headers,
query_string_bytes,
scheme,
root_path,
http_version,
scope_base,
)
request = self.request_class(
method,
scheme,
path,
query_string_bytes,
headers,
root_path,
http_version,
send_push_promise=send_push_promise,
scope=scope,
)
request.body.set_result(request_body)
return self.request_context(request)
| (self, path: str, *, method: str = 'GET', headers: Union[dict, werkzeug.datastructures.headers.Headers, NoneType] = None, query_string: Optional[dict] = None, scheme: str = 'http', send_push_promise: Callable[[str, werkzeug.datastructures.headers.Headers], Awaitable[NoneType]] = <function no_op_push at 0x7fa5940672e0>, data: Optional[~AnyStr] = None, form: Optional[dict] = None, json: Any = <object object at 0x7fa59615ab20>, root_path: str = '', http_version: str = '1.1', scope_base: Optional[dict] = None, auth: Union[werkzeug.datastructures.auth.Authorization, tuple[str, str], NoneType] = None, subdomain: Optional[str] = None) -> quart.ctx.RequestContext | [
0.011241081170737743,
-0.01182684488594532,
-0.03990630432963371,
-0.035759471356868744,
0.00626209145411849,
-0.0005517683457583189,
-0.03890213742852211,
0.012672947719693184,
0.0017863464308902621,
-0.05128685384988785,
0.03916247561573982,
0.007554490119218826,
0.026889335364103317,
0.03908809274435043,
0.02936255931854248,
-0.005392743740230799,
0.09944963455200195,
-0.054596882313489914,
0.04626602306962013,
-0.059989627450704575,
0.008010083809494972,
0.03769341856241226,
-0.004177052062004805,
0.021496592089533806,
-0.01084127463400364,
0.018948985263705254,
-0.051175277680158615,
-0.036577679216861725,
0.08524253964424133,
0.0021292041055858135,
0.010385680943727493,
-0.02439751662313938,
0.011352655477821827,
0.05214225500822067,
0.04909256473183632,
-0.05251416563987732,
-0.05132404342293739,
-0.037061166018247604,
-0.050840556621551514,
-0.028674520552158356,
-0.06445258855819702,
-0.013351690024137497,
-0.041468340903520584,
0.012486991472542286,
0.032672587782144547,
0.00283351493999362,
-0.037321507930755615,
0.054448116570711136,
0.028098054230213165,
0.03073863871395588,
0.06876678019762039,
-0.0032821353524923325,
0.03557351231575012,
0.0029055732302367687,
-0.03133369982242584,
0.034866876900196075,
-0.0023511897306889296,
-0.008730665780603886,
0.03376973420381546,
0.04184025526046753,
0.010869167745113373,
0.09610241651535034,
0.029381155967712402,
-0.03259820491075516,
-0.0662749633193016,
-0.026945123448967934,
-0.05310922861099243,
0.025308704003691673,
0.02551325596868992,
-0.008465677499771118,
-0.02078995667397976,
-0.00011832946620415896,
-0.030943192541599274,
-0.012012802064418793,
0.02454628236591816,
-0.01736835390329361,
-0.061960767954587936,
-0.001014626119285822,
0.005392743740230799,
0.005020830314606428,
0.01333309430629015,
-0.01146422978490591,
-0.024769430980086327,
-0.013760794885456562,
0.026033936068415642,
-0.0018723513931035995,
0.02863732911646366,
-0.025159938260912895,
0.009111877530813217,
0.003793516429141164,
-0.025922361761331558,
-0.014792853966355324,
-0.01312854140996933,
-0.048237163573503494,
0.04741895571351051,
-0.04760491102933884,
0.02820962853729725,
-0.021310634911060333,
-0.017108013853430748,
-0.0038121119141578674,
-0.0052811698988080025,
0.06891554594039917,
-0.014486025087535381,
0.040241025388240814,
0.019785791635513306,
0.02170114405453205,
0.03295152261853218,
-0.04500151798129082,
0.035592108964920044,
-0.0015260070795193315,
-0.02633146569132805,
-0.025178534910082817,
-0.009042143821716309,
0.0026986964512616396,
-0.01456040795892477,
0.013956049457192421,
0.003363491501659155,
0.0075637879781425,
-0.034625135362148285,
-0.03057127818465233,
-0.0005686206859536469,
0.029399750754237175,
0.028172437101602554,
-0.012291736900806427,
0.04883222654461861,
0.045968491584062576,
0.00022648942831438035,
-0.009967277757823467,
-0.010311298072338104,
-0.04797682538628578,
0.060473114252090454,
0.01647576130926609,
0.007782286964356899,
0.08591198921203613,
0.019116347655653954,
0.07096107304096222,
-0.048720650374889374,
0.03696819022297859,
0.035759471356868744,
0.06616339087486267,
-0.006489888299256563,
-0.019134942442178726,
-0.040724512189626694,
-0.025755001232028008,
-0.018028499558568,
-0.02339334972202778,
-0.00685250386595726,
-0.0464891716837883,
-0.01333309430629015,
0.01231963001191616,
0.09878019243478775,
-0.01146422978490591,
0.016001572832465172,
0.01251488458365202,
0.01157580316066742,
-0.02869311533868313,
-0.014430238865315914,
-0.02863732911646366,
0.054931603372097015,
-0.06913869082927704,
-0.013119244016706944,
0.009255994111299515,
-0.008419188670814037,
-0.017275376245379448,
0.02731703594326973,
0.004779086913913488,
-0.025736404582858086,
-0.025978147983551025,
-0.030236557126045227,
-0.033899903297424316,
-0.029715877026319504,
0.041393958032131195,
0.00909328181296587,
-0.011752462014555931,
0.010329893790185452,
-0.008474975824356079,
-0.02945553883910179,
-0.017740268260240555,
-0.05203067883849144,
-0.050282686948776245,
-0.005123106762766838,
-0.06132851541042328,
-0.003135694656521082,
0.04154272377490997,
0.011194592341780663,
0.02039944753050804,
-0.04697265848517418,
-0.006396909710019827,
0.0030310938600450754,
0.02861873246729374,
-0.0895567387342453,
-0.01231963001191616,
0.0389765202999115,
0.004572209902107716,
-0.023133011534810066,
0.031854379922151566,
0.002276807092130184,
0.018539881333708763,
0.009874300099909306,
-0.013184328563511372,
-0.003970175050199032,
-0.011966312304139137,
0.04656355455517769,
-0.023467732593417168,
-0.01170597318559885,
0.025569044053554535,
0.030236557126045227,
0.016010871157050133,
-0.04005507007241249,
0.033955689519643784,
-0.031091956421732903,
0.022296207025647163,
-0.007852020673453808,
-0.0003899279108736664,
0.010125340893864632,
0.016261911019682884,
-0.015704041346907616,
-0.0007746258052065969,
0.03220769762992859,
-0.005174244754016399,
0.07464301586151123,
0.026814954355359077,
0.0328027568757534,
-0.023356160148978233,
0.05552666634321213,
0.008186742663383484,
0.07006847858428955,
0.010729700326919556,
-0.08040767163038254,
-0.02088293619453907,
0.009865001775324345,
0.015304234810173512,
0.0827135294675827,
-0.06675844639539719,
-0.08457309752702713,
-0.04485275223851204,
0.03979472815990448,
0.02209165319800377,
0.0018491067457944155,
-0.030069194734096527,
0.047828059643507004,
0.025327300652861595,
0.03174280747771263,
-0.0403154082596302,
-0.05935737118124962,
-0.03678223118185997,
-0.009321078658103943,
0.007977541536092758,
0.057125892490148544,
-0.02568061836063862,
-0.045224666595458984,
-0.011622292920947075,
-0.0646013543009758,
-0.040984854102134705,
-0.04169148951768875,
0.021738335490226746,
0.049947965890169144,
0.002856759587302804,
0.007503352127969265,
-0.004521071910858154,
0.009595364332199097,
0.02895345538854599,
-0.06534517556428909,
0.07676291465759277,
-0.03960877284407616,
-0.02683354914188385,
0.018074989318847656,
0.000937337928917259,
-0.02765175886452198,
-0.025178534910082817,
0.009734832681715488,
0.0193208996206522,
0.05009673163294792,
0.010859870351850986,
0.015425106510519981,
0.0009541902109049261,
-0.040650129318237305,
0.035275980830192566,
-0.039348434656858444,
-0.01737765222787857,
0.0017561283893883228,
-0.014179197140038013,
0.025829382240772247,
-0.03492266312241554,
-0.026312870904803276,
-0.0270009096711874,
-0.015081087127327919,
0.07192804664373398,
0.037470269948244095,
-0.02039944753050804,
-0.002137339673936367,
0.04299318417906761,
0.006392261013388634,
0.008182094432413578,
-0.012310332618653774,
-0.01672680303454399,
-0.08182094246149063,
0.010478658601641655,
0.050766173750162125,
0.023467732593417168,
0.02242637611925602,
0.03553632274270058,
-0.00009029068314703181,
0.022203227505087852,
0.08040767163038254,
0.0029915780760347843,
0.04403454065322876,
0.00319148157723248,
-0.05987805128097534,
0.010785487480461597,
-0.02993902564048767,
0.05772095546126366,
-0.00485346931964159,
-0.071109838783741,
0.016587335616350174,
0.011324762366712093,
0.007582383695989847,
-0.00294508901424706,
-0.023263180628418922,
0.015294937416911125,
-0.052476976066827774,
0.009688342921435833,
0.013509753160178661,
0.026052530854940414,
-0.0247880257666111,
0.041951827704906464,
0.02886047773063183,
0.027912098914384842,
0.0009977738372981548,
0.03191016614437103,
-0.028098054230213165,
0.03324905410408974,
-0.03310028836131096,
-0.041877444833517075,
-0.03133369982242584,
0.017916927114129066,
0.002510415157303214,
-0.004311870783567429,
-0.01859566755592823,
-0.03432760387659073,
0.005402041599154472,
-0.062258295714855194,
-0.004714001901447773,
-0.00889337807893753,
-0.014253580011427402,
-0.04403454065322876,
0.061700426042079926,
0.04983638972043991,
0.06917588412761688,
-0.04325352609157562,
0.002147799590602517,
-0.05262574180960655,
0.04369981959462166,
0.01948826014995575,
0.008428486995398998,
-0.0021826664451509714,
-0.02078995667397976,
-0.03337922319769859,
0.010292702354490757,
0.04626602306962013,
0.04879503324627876,
0.0584275908768177,
0.00026963718119077384,
0.030924595892429352,
-0.007173278834670782,
-0.0357222780585289,
0.030162174254655838,
0.031928762793540955,
-0.028098054230213165,
0.017637990415096283,
0.031928762793540955,
-0.0323006771504879,
-0.014030431397259235,
0.026071127504110336,
-0.0017538039246574044,
-0.020362256094813347,
-0.06024996563792229,
-0.06385752558708191,
-0.06765104085206985,
0.0738619938492775,
0.024527685716748238,
0.016652420163154602,
-0.009135122410953045,
-0.007842723280191422,
-0.005950613878667355,
-0.06281616538763046,
0.037470269948244095,
-0.012347524054348469,
-0.00978132151067257,
0.008981707505881786,
-0.02080855332314968,
-0.03642891347408295,
0.0017944819992408156,
0.035443343222141266,
0.0069361841306090355,
-0.044332072138786316,
-0.02495538629591465,
-0.040650129318237305,
0.0022570493165403605,
-0.005267222877591848,
0.08725087344646454,
0.029715877026319504,
-0.0029427644331008196,
0.01858637109398842,
0.02315160632133484,
0.038864947855472565,
0.014383749105036259,
-0.04198901727795601,
0.03577806428074837,
0.028098054230213165,
-0.05102651193737984,
-0.014913725666701794,
-0.025643426924943924,
-0.0010686698369681835,
-0.028748903423547745,
-0.03808392956852913,
0.006276038009673357,
0.07025443762540817,
0.05772095546126366,
0.06370875984430313,
0.03577806428074837,
-0.03293292969465256,
0.006248144432902336,
0.005155649036169052,
0.06270459294319153,
0.0015469271456822753,
-0.03371394798159599,
0.0025406330823898315,
0.005044075194746256,
-0.001043681870214641,
0.019692812114953995,
-0.01475566253066063,
-0.05545228347182274,
0.02822822518646717,
-0.005453179590404034,
0.008024031296372414,
-0.052402593195438385,
0.045224666595458984,
0.02348632924258709,
0.03051549196243286,
-0.03319326788187027,
-0.006717685144394636,
-0.024248750880360603,
-0.03293292969465256,
-0.012868202291429043,
-0.061365704983472824,
-0.031779997050762177,
0.023709477856755257,
0.050840556621551514,
-0.010757594369351864,
0.01909775100648403,
0.0329701192677021,
-0.01312854140996933,
0.02813524566590786,
-0.07787866145372391,
-0.013156435452401638,
0.021738335490226746,
0.04422049969434738,
-0.05928299203515053,
-0.001986249815672636,
0.06884116679430008,
-0.012449800036847591,
-0.00926064234226942,
-0.0016596633940935135,
0.03758184611797333,
0.04663793742656708,
0.03644751012325287,
0.023746667429804802,
-0.02105029672384262,
-0.04998515546321869,
-0.01157580316066742,
0.01646646484732628,
-0.05932018160820007,
0.011687377467751503,
0.05251416563987732,
0.001170945935882628,
-0.04087327793240547,
0.007112842984497547,
-0.016206124797463417,
0.009493088349699974,
0.012049992568790913,
-0.017256779596209526,
0.07218838483095169,
0.05307203531265259,
-0.026963718235492706,
-0.10577215999364853,
0.0353875569999218,
0.027670353651046753,
-0.0026754518039524555,
-0.0070105670019984245,
0.020176300778985023,
0.046861082315444946,
-0.023188797757029533,
-0.017489226534962654,
-0.018484095111489296,
-0.002856759587302804,
-0.010943550616502762,
-0.028525754809379578,
0.000023625942048965953,
-0.00791245698928833,
-0.007456862833350897,
0.01399323996156454,
0.06199795752763748,
0.018967581912875175,
0.03464372828602791,
0.0314638689160347,
-0.032337866723537445,
-0.03990630432963371,
-0.03629874438047409,
-0.03890213742852211,
-0.049390096217393875,
0.061849191784858704,
0.012347524054348469,
-0.05389024689793587,
0.024099985137581825,
-0.02439751662313938,
-0.03819550201296806,
0.024490494281053543,
-0.0016596633940935135,
-0.018400413915514946,
0.03159404173493385,
0.05612172558903694,
0.10212741047143936,
-0.01194771658629179,
0.019395282492041588,
-0.0350528359413147,
0.0625186339020729,
0.040426984429359436,
0.04894379898905754,
0.0533323772251606,
0.011529314331710339,
0.005945964716374874,
0.05407620221376419,
0.04396016150712967,
0.07523807138204575,
0.024806620553135872,
-0.008484273217618465,
-0.04998515546321869,
0.0420634001493454,
-0.01735905557870865,
0.0595061369240284,
0.038864947855472565,
-0.045373428612947464,
-0.0015411160420626402,
-0.06705597788095474,
-0.0420634001493454,
0.027614567428827286,
0.026684783399105072,
0.028674520552158356,
-0.08643266558647156,
-0.020008938387036324,
-0.029585707932710648,
0.03953438997268677,
-0.007963594980537891,
-0.07456862926483154,
-0.07349008321762085,
0.059840861707925797,
0.016596633940935135,
-0.0033913850784301758,
-0.02741001546382904,
-0.024323133751749992,
0.01524844765663147,
-0.079291932284832,
0.028172437101602554,
-0.022891268134117126,
0.02233339659869671,
0.006043592002242804,
0.04585691913962364,
0.010952848941087723,
-0.016856973990797997,
0.004012015648186207,
-0.014114112593233585,
0.009511684067547321,
0.013807283714413643,
-0.04886941611766815,
0.0611797496676445,
-0.0646013543009758,
-0.0008920109830796719,
0.07579594105482101,
0.0034518209286034107,
0.02162676304578781,
-0.024973982945084572,
-0.010590232908725739,
-0.07300659269094467,
-0.04414611682295799,
-0.03427181765437126,
0.01867934875190258,
0.050840556621551514,
0.013546944595873356,
0.012496288865804672,
-0.04764210060238838,
-0.01950685679912567,
0.007791584823280573,
-0.05935737118124962,
0.0060854326002299786,
0.016540847718715668,
-0.06910150498151779,
0.012738032266497612,
0.001880486961454153,
-0.01468127965927124,
-0.00026571465423330665,
0.07334131747484207,
-0.01900477334856987,
-0.008372699841856956,
-0.01941387727856636,
0.003586639417335391,
-0.037321507930755615,
-0.00022503663785755634,
-0.03849303349852562,
-0.02618269994854927,
0.004702379461377859,
-0.018874602392315865,
0.03066425770521164,
-0.021831315010786057,
-0.008628389798104763,
-0.04280722886323929,
-0.10473079979419708,
0.0437370128929615,
0.017414843663573265,
-0.09424284845590591,
0.01125967688858509,
-0.03161263465881348,
-0.034364793449640274,
0.04314194992184639,
-0.022575141862034798,
0.0038562766276299953,
0.04585691913962364,
-0.021794123575091362,
-0.11402864009141922,
-0.05292327329516411,
0.01646646484732628,
-0.031761400401592255,
-0.02731703594326973,
-0.05050583556294441,
0.10316877067089081,
-0.06341122835874557,
0.038455840200185776,
-0.014802152290940285,
0.027298441156744957,
0.057088702917099,
0.009358270093798637,
-0.03042251244187355,
-0.030943192541599274,
-0.003258890938013792,
-0.06597743183374405,
0.01720099337399006,
0.03685661405324936,
-0.09409408271312714,
0.0536670982837677,
-0.04038979113101959,
-0.011557207442820072,
0.07047758251428604,
0.008051924407482147,
-0.020008938387036324,
-0.008363401517271996,
0.022389184683561325,
0.006197006441652775,
0.029864642769098282,
0.023876838386058807,
-0.006475941278040409,
0.036670658737421036,
0.05203067883849144,
0.059729285538196564,
-0.004009691067039967,
0.019785791635513306,
0.022035866975784302,
0.04894379898905754,
-0.017256779596209526,
0.0902261808514595,
0.0012400986161082983,
0.04046417400240898,
0.03391849994659424,
-0.043922968208789825,
0.005169595591723919,
-0.0012470720103010535,
0.01655014418065548,
-0.04061293974518776,
-0.04886941611766815,
-0.015629658475518227,
0.0070105670019984245,
-0.0031612636521458626,
0.011668781749904156,
-0.022816885262727737,
0.00675022741779685,
-0.007535894401371479,
0.0179448202252388,
0.037247125059366226,
-0.05422496795654297,
-0.005797199439257383,
-0.02227761037647724,
0.01835392415523529,
-0.0696965679526329,
0.000485230702906847,
0.029548516497015953,
-0.06434100866317749,
0.004765139892697334,
-0.061700426042079926,
-0.08330859243869781,
-0.008953814394772053,
0.043588247150182724,
0.00021675575408153236,
-0.0007618413073942065,
0.05995243415236473,
-0.032914333045482635,
0.0032891088631004095,
-0.00011033914051949978,
0.00021878966072108597,
0.0032007794361561537,
-0.006499186158180237,
-0.019432473927736282,
-0.013156435452401638,
-0.014448834583163261,
-0.0051463511772453785,
-0.04741895571351051,
0.007852020673453808,
0.05270012468099594,
-0.08695334196090698,
0.004304897040128708,
0.004679135046899319,
0.0051788934506475925,
-0.004904607310891151,
0.012896096333861351,
0.009883597493171692,
-0.05853916332125664,
-0.014327961951494217,
-0.03916247561573982,
0.007168630138039589,
-0.009837108664214611,
0.040984854102134705,
-0.04831154644489288,
-0.008144902996718884,
0.01770307682454586,
-0.011064422316849232,
0.008577251806855202,
0.03709835931658745,
-0.051584385335445404,
-0.017833245918154716,
-0.047493334859609604,
0.022463567554950714,
-0.009995171800255775,
-0.021068891510367393,
0.037061166018247604,
-0.0063736652955412865,
-0.01670820824801922,
0.023709477856755257,
0.008628389798104763,
0.041468340903520584,
0.0030729342252016068,
0.019544046372175217,
-0.002728914376348257,
0.030868809670209885,
0.007112842984497547,
-0.015973679721355438,
-0.014848641119897366,
-0.006885046139359474,
-0.004025962203741074,
-0.00613657059147954,
-0.01997174695134163,
0.0312965102493763,
0.009046792984008789,
-0.04805120825767517,
0.012747330591082573,
0.057944100350141525,
0.016447868198156357,
-0.010023064911365509,
0.015304234810173512,
0.04396016150712967,
0.07047758251428604
]
|
29,410 | quart.app | update_template_context | Update the provided template context.
This adds additional context from the various template context
processors.
Arguments:
context: The context to update (mutate).
| def create_jinja_environment(self) -> Environment: # type: ignore
"""Create and return the jinja environment.
This will create the environment based on the
:attr:`jinja_options` and configuration settings. The
environment will include the Quart globals by default.
"""
options = dict(self.jinja_options)
if "autoescape" not in options:
options["autoescape"] = self.select_jinja_autoescape
if "auto_reload" not in options:
options["auto_reload"] = self.config["TEMPLATES_AUTO_RELOAD"]
jinja_env = self.jinja_environment(self, **options) # type: ignore
jinja_env.globals.update(
{
"config": self.config,
"g": g,
"get_flashed_messages": get_flashed_messages,
"request": request,
"session": session,
"url_for": self.url_for,
}
)
jinja_env.policies["json.dumps_function"] = self.json.dumps
return jinja_env
| (self, context: dict) -> NoneType | [
0.04495568200945854,
-0.05960625037550926,
-0.004352873656898737,
-0.07496332377195358,
0.006804706063121557,
0.040865421295166016,
-0.04082823544740677,
0.00243788817897439,
-0.010969335213303566,
0.004006596282124519,
0.03370746597647667,
0.005256914533674717,
-0.020767368376255035,
0.05280154570937157,
0.005740308668464422,
-0.03948960453271866,
0.0776405856013298,
0.00856630690395832,
0.06295283138751984,
-0.011378360912203789,
0.011369065381586552,
-0.026066115126013756,
0.000767504854593426,
0.029970454052090645,
-0.021641196683049202,
-0.017894890159368515,
-0.037202779203653336,
0.019094079732894897,
0.047595757991075516,
-0.022998418658971786,
-0.03945242241024971,
-0.02593597024679184,
0.025229470804333687,
0.011740907095372677,
0.08173084259033203,
-0.01579398289322853,
-0.02762784995138645,
0.03776054084300995,
-0.00824559386819601,
-0.04897157475352287,
0.035566676408052444,
0.042798999696969986,
-0.013507155701518059,
-0.015403549186885357,
-0.0009423867450095713,
0.008598843589425087,
-0.00979803316295147,
-0.01398125384002924,
0.03246179595589638,
0.05797014757990837,
0.05707772821187973,
0.021418090909719467,
0.03859718516469002,
0.0575239360332489,
-0.0522809661924839,
-0.006432864349335432,
-0.013860405422747135,
0.004982681013643742,
-0.07295537739992142,
-0.01693739742040634,
-0.031606558710336685,
0.07522360980510712,
0.023630550131201744,
0.027888139709830284,
0.004936200566589832,
0.044026076793670654,
-0.06853045523166656,
0.01506889145821333,
0.008477994240820408,
-0.03986144810914993,
0.01663992367684841,
-0.019094079732894897,
-0.03253616392612457,
-0.01702106185257435,
-0.018601389601826668,
-0.02152964472770691,
-0.05856509506702423,
-0.05518133193254471,
-0.01791348122060299,
-0.021901486441493034,
0.003948495723307133,
-0.01703035831451416,
-0.061502646654844284,
0.004833944141864777,
0.07559545338153839,
0.0381137914955616,
-0.024337049573659897,
0.054474834352731705,
0.06481203436851501,
-0.01876871846616268,
-0.018052922561764717,
0.03143922984600067,
0.004029836039990187,
0.06566727161407471,
0.019763395190238953,
-0.008798708207905293,
0.001337468740530312,
-0.007139363791793585,
-0.019391553476452827,
0.004387733992189169,
0.019280001521110535,
0.04093978926539421,
-0.02638217993080616,
-0.03073273040354252,
-0.02465311624109745,
0.04365423694252968,
0.021473867818713188,
0.026902759447693825,
0.0362359918653965,
-0.042836181819438934,
-0.043728604912757874,
0.06607630103826523,
-0.04666615277528763,
-0.02405816875398159,
-0.025433983653783798,
0.026419363915920258,
-0.024671707302331924,
-0.01059749349951744,
0.04837662726640701,
-0.023091379553079605,
-0.030583994463086128,
0.013451379723846912,
0.011768795549869537,
-0.009956065565347672,
0.0716167464852333,
-0.01162935420870781,
0.003304744604974985,
-0.019242817535996437,
0.030900059267878532,
-0.026252035051584244,
-0.004162305034697056,
0.03930368646979332,
-0.0388202928006649,
-0.014957339502871037,
0.016351746395230293,
0.012800656259059906,
-0.07570700347423553,
0.02221755124628544,
0.018880270421504974,
0.11921250075101852,
-0.005889045540243387,
-0.05570191144943237,
-0.03638472780585289,
0.0113876573741436,
-0.04105134308338165,
-0.03469284623861313,
-0.006079614628106356,
-0.0011718828463926911,
-0.025731457397341728,
0.020414117723703384,
0.04201813042163849,
0.040567949414253235,
0.021511051803827286,
-0.008924204856157303,
0.008775467984378338,
0.029877493157982826,
-0.0017883270047605038,
0.045364707708358765,
0.0583048053085804,
-0.02173415757715702,
0.01649118773639202,
0.026605285704135895,
-0.058044515550136566,
0.01323757041245699,
0.0027748700231313705,
0.07652505487203598,
0.01796925812959671,
-0.028780560940504074,
0.023797878995537758,
0.019391553476452827,
0.014622681774199009,
-0.02292405068874359,
0.009519151411950588,
0.03155078366398811,
-0.03010059893131256,
0.05216941237449646,
0.012837840244174004,
0.032350242137908936,
0.004824648145586252,
-0.03530638664960861,
-0.061056435108184814,
-0.02400239184498787,
-0.03777913376688957,
0.03627317398786545,
0.02266376093029976,
-0.029989046975970268,
0.019465921446681023,
0.030955836176872253,
0.04603402316570282,
0.04737265408039093,
-0.07154237478971481,
-0.02033974975347519,
-0.005326634738594294,
-0.012094156816601753,
-0.0291524026542902,
0.006465400569140911,
0.038336895406246185,
-0.05904848873615265,
-0.07224887609481812,
0.03316829353570938,
-0.06391961872577667,
-0.012456702999770641,
-0.009658592753112316,
0.006846538279205561,
0.002753953915089369,
0.05101670324802399,
-0.019224224612116814,
-0.017690377309918404,
0.03459988534450531,
-0.022886866703629494,
-0.05726364627480507,
-0.03179248049855232,
-0.006339903920888901,
0.06299000978469849,
-0.020730184391140938,
0.018489837646484375,
-0.007432189304381609,
0.008278129622340202,
-0.02039552666246891,
0.023593366146087646,
0.04510441794991493,
-0.03010059893131256,
0.021009065210819244,
-0.010755525901913643,
-0.026493733748793602,
-0.0063584959134459496,
0.02707008831202984,
-0.0011184306349605322,
-0.038336895406246185,
-0.03173670172691345,
-0.008798708207905293,
0.04607120901346207,
0.07741747796535492,
0.0040832883678376675,
0.023147156462073326,
-0.06510951370000839,
0.024281274527311325,
-0.0018870974890887737,
-0.012531070969998837,
-0.008557011373341084,
0.019819172099232674,
0.02524806372821331,
0.03588274121284485,
0.0029398747719824314,
0.023091379553079605,
0.005614812020212412,
0.01955888234078884,
0.05480949208140373,
0.022793905809521675,
-0.03400493785738945,
-0.03837408125400543,
-0.004122796934098005,
0.0011062296107411385,
-0.003997300285845995,
-0.02152964472770691,
0.02840871922671795,
0.10627240687608719,
0.051500096917152405,
-0.015505805611610413,
0.0029096626676619053,
0.051909126341342926,
0.00012840164708904922,
-0.04629431292414665,
0.04034484177827835,
0.0003483112377580255,
-0.01732783019542694,
-0.005191842094063759,
0.02563849650323391,
-0.050607677549123764,
-0.0040832883678376675,
0.0806153193116188,
0.08872146904468536,
0.016072865575551987,
-0.019633250311017036,
-0.0291524026542902,
-0.011731610633432865,
-0.01702106185257435,
0.04629431292414665,
-0.06451456248760223,
-0.027590665966272354,
-0.009844513610005379,
-0.04573655128479004,
0.07451710850000381,
0.07749184221029282,
-0.028669007122516632,
-0.04733546823263168,
-0.06410554051399231,
0.04681489244103432,
0.05399144068360329,
-0.004768872167915106,
-0.032498978078365326,
0.04450947046279907,
0.004536470863968134,
0.035957109183073044,
0.00769712682813406,
-0.04458383843302727,
-0.020321158692240715,
0.006707097869366407,
0.04384015500545502,
0.013033057563006878,
0.04212968423962593,
0.010690453462302685,
0.01911267265677452,
0.06421709060668945,
-0.0410885252058506,
0.022849682718515396,
0.05034738779067993,
-0.026270627975463867,
0.02400239184498787,
-0.021957261487841606,
0.0054428353905677795,
-0.0021985149942338467,
0.06681998074054718,
0.06399398297071457,
-0.03802083060145378,
-0.03329844027757645,
-0.017086133360862732,
-0.06704308837652206,
-0.021009065210819244,
-0.009291398338973522,
-0.033093925565481186,
-0.013869701884686947,
0.07589292526245117,
-0.031699519604444504,
-0.018387580290436745,
0.009705073200166225,
0.027534890919923782,
-0.03281504660844803,
0.06287845969200134,
0.05365678295493126,
-0.06384524703025818,
0.03218291327357292,
0.01007691491395235,
0.03521342575550079,
-0.008859132416546345,
0.012484590522944927,
-0.0020323481876403093,
-0.0071951402351260185,
-0.0417950265109539,
-0.10567745566368103,
0.0041158245876431465,
-0.05083078518509865,
-0.03757461905479431,
0.0011991900391876698,
-0.013906885869801044,
-0.028687600046396255,
0.023240117356181145,
-0.012819248251616955,
0.0355294905602932,
-0.015403549186885357,
0.00005403327304520644,
0.013079538010060787,
0.054177358746528625,
0.03941523656249046,
-0.027590665966272354,
-0.07987163215875626,
-0.043542683124542236,
0.011722315102815628,
-0.04796760156750679,
0.04629431292414665,
-0.04183220863342285,
0.059717804193496704,
-0.010950743220746517,
0.03567822650074959,
0.039080578833818436,
-0.017114022746682167,
0.03445114940404892,
-0.015849759802222252,
-0.018155179917812347,
0.0012433462543413043,
0.05785859376192093,
-0.004503934644162655,
0.013693076558411121,
0.013730260543525219,
-0.02941269241273403,
-0.028687600046396255,
-0.005326634738594294,
-0.02465311624109745,
-0.038485635071992874,
0.013395603746175766,
0.020878920331597328,
-0.020878920331597328,
-0.015310589224100113,
-0.016054272651672363,
-0.02628922089934349,
-0.03372605890035629,
-0.013330531306564808,
-0.01455760933458805,
-0.0033651688136160374,
-0.009714368730783463,
-0.03380042687058449,
-0.06391961872577667,
0.03268489986658096,
0.11318866163492203,
-0.011796683073043823,
-0.025303838774561882,
-0.0552556999027729,
0.02084173634648323,
0.007292748428881168,
0.0807640552520752,
0.0418693944811821,
-0.01866646111011505,
0.03426522761583328,
-0.02840871922671795,
0.02831575833261013,
-0.03718418627977371,
0.05797014757990837,
0.018136586993932724,
0.05261562392115593,
0.04287336766719818,
-0.007474021520465612,
-0.0366264246404171,
-0.12493886798620224,
-0.01672358810901642,
-0.04919467866420746,
-0.02885492891073227,
-0.0040344842709600925,
-0.025917377322912216,
0.023091379553079605,
0.030174966901540756,
-0.02509932592511177,
-0.012298669666051865,
0.0038880715146660805,
0.0020009740255773067,
-0.012809952720999718,
0.04919467866420746,
-0.03636613488197327,
0.04949215427041054,
-0.03448833152651787,
0.014743530191481113,
-0.024783261120319366,
-0.017383607104420662,
-0.011155256070196629,
-0.031699519604444504,
0.029022257775068283,
0.007181196007877588,
0.027981100603938103,
-0.02221755124628544,
-0.014185767620801926,
0.022087406367063522,
0.039526790380477905,
-0.015905536711215973,
0.026716837659478188,
0.04488131403923035,
-0.014176471158862114,
0.05280154570937157,
-0.07455429434776306,
0.023388853296637535,
-0.006888370495289564,
-0.008175873197615147,
0.05183475464582443,
0.049417782574892044,
0.011787387542426586,
-0.05094233527779579,
0.01652837172150612,
-0.039526790380477905,
0.02816702239215374,
-0.031959809362888336,
0.02548976056277752,
0.03164374455809593,
0.033093925565481186,
-0.02232910506427288,
0.03465566039085388,
-0.007752902805805206,
-0.001840617274865508,
-0.0242998655885458,
-0.01796925812959671,
0.03298237547278404,
-0.04123726487159729,
-0.009017165750265121,
0.0051453616470098495,
0.05187194049358368,
-0.059234410524368286,
-0.00940295122563839,
-0.016807252541184425,
0.010448756627738476,
0.00008402754610870034,
0.0024611284025013447,
0.022459248080849648,
-0.005252266302704811,
-0.04164629057049751,
-0.015180444344878197,
-0.019986500963568687,
0.05555317550897598,
-0.02855745516717434,
-0.058044515550136566,
0.030082007870078087,
-0.04644304886460304,
0.0012015140382573009,
0.035622451454401016,
-0.04707518219947815,
0.022793905809521675,
0.01683514006435871,
-0.009491263888776302,
-0.026363588869571686,
0.03619880601763725,
0.06827016919851303,
0.014697049744427204,
0.0046433755196630955,
-0.028148429468274117,
0.05202067643404007,
0.007962063886225224,
0.006381736136972904,
0.09013447165489197,
0.0038648315239697695,
-0.06681998074054718,
0.030267927795648575,
0.013748853467404842,
-0.03519483283162117,
-0.015338476747274399,
0.019819172099232674,
0.03084428235888481,
0.00844081025570631,
-0.04172065854072571,
0.02554553560912609,
-0.017039652913808823,
-0.06254380196332932,
-0.03567822650074959,
0.011601466685533524,
0.035455122590065,
-0.014064918272197247,
0.005280154291540384,
0.05261562392115593,
-0.02405816875398159,
-0.030323704704642296,
0.01683514006435871,
0.0941503643989563,
0.07366187125444412,
-0.012828544713556767,
0.09697636216878891,
-0.01408351119607687,
-0.061651382595300674,
0.006576952990144491,
0.007460077293217182,
-0.019930724054574966,
0.09065504372119904,
-0.012159229256212711,
0.021789932623505592,
0.014473944902420044,
-0.02534102275967598,
0.020674407482147217,
-0.021808525547385216,
0.018685054033994675,
-0.027850955724716187,
-0.042650263756513596,
-0.002152034780010581,
-0.01712331734597683,
-0.00930534303188324,
-0.0012073240941390395,
-0.03727714717388153,
0.010169874876737595,
-0.008431514725089073,
0.014771418645977974,
0.007752902805805206,
-0.008529122918844223,
-0.08901894092559814,
0.0410885252058506,
0.037593211978673935,
0.015598766505718231,
0.022533617913722992,
0.021102026104927063,
0.04733546823263168,
-0.050607677549123764,
0.011871051974594593,
0.03697967529296875,
0.00023922795662656426,
-0.045662179589271545,
0.03441396355628967,
-0.02113921009004116,
-0.026326404884457588,
0.012038380838930607,
0.022738130763173103,
0.04949215427041054,
-0.001474585384130478,
-0.04391452297568321,
-0.046108391135931015,
0.01210345234721899,
0.04212968423962593,
0.008849836885929108,
-0.011257512494921684,
-0.03376324102282524,
0.025136509910225868,
-0.07213732600212097,
0.0026540213730186224,
-0.0343581885099411,
-0.024820445105433464,
0.05696617439389229,
0.040270473808050156,
0.05053330957889557,
-0.029468467459082603,
-0.010532421059906483,
0.03207135945558548,
0.024169720709323883,
-0.03372605890035629,
0.05990372598171234,
0.033093925565481186,
0.003990327939391136,
-0.030621178448200226,
-0.03456270322203636,
-0.05421454459428787,
-0.005930877756327391,
0.037741947919130325,
-0.022403473034501076,
-0.030379479750990868,
-0.003915959503501654,
-0.0695716142654419,
-0.020730184391140938,
0.0070138671435415745,
-0.022384880110621452,
-0.017560232430696487,
-0.009454079903662205,
-0.059978093951940536,
0.0018441032152622938,
0.0005368466954678297,
-0.035957109183073044,
-0.01638893038034439,
-0.048785652965307236,
0.036905303597450256,
-0.0077017745934426785,
-0.022905459627509117,
-0.0242998655885458,
0.0370168574154377,
0.00608891062438488,
0.015059595927596092,
0.03010059893131256,
-0.06161419674754143,
0.07994600385427475,
-0.07964852452278137,
-0.05440046638250351,
0.020172420889139175,
0.01950310543179512,
-0.02524806372821331,
0.048079151660203934,
-0.0575239360332489,
0.027460521087050438,
0.050607677549123764,
0.013702373020350933,
0.016760772094130516,
0.037295740097761154,
0.02435564249753952,
-0.020674407482147217,
-0.05161165073513985,
-0.01612864062190056,
0.03164374455809593,
0.015301292762160301,
-0.02852027118206024,
0.036496277898550034,
-0.025266654789447784,
-0.014213655143976212,
-0.017411494627594948,
-0.015914831310510635,
0.024969181045889854,
-0.018285322934389114,
0.0008279291796498001,
-0.07868173718452454,
0.05782141163945198,
-0.05049612745642662,
-0.017681080847978592,
0.017495159059762955,
0.003953143954277039,
0.003355872817337513,
-0.00871039554476738,
-0.06998063623905182,
-0.021269354969263077,
0.055218517780303955,
-0.018480541184544563,
-0.015087483450770378,
0.0013595467898994684,
0.035455122590065,
0.040158919990062714,
0.025954563170671463,
-0.002619161270558834,
0.03415367379784584,
-0.08596984297037125,
-0.0604986734688282,
0.020135236904025078,
-0.02816702239215374,
-0.004173925146460533,
0.04856254905462265,
-0.036496277898550034,
-0.037054043263196945,
0.02069300040602684,
-0.020823145285248756,
0.038931842893362045,
-0.015580174513161182,
-0.0020091081969439983,
0.020376933738589287,
-0.014966635033488274,
0.018740830942988396,
0.0018150531686842442,
-0.027609258890151978,
0.01989354006946087,
-0.021938670426607132,
0.05845354124903679,
-0.016751475632190704,
-0.0971994623541832,
0.01272628828883171,
-0.07042685151100159,
-0.038783106952905655,
-0.012856432236731052,
0.01170372311025858,
-0.008491938933730125,
0.03448833152651787,
-0.037946462631225586,
-0.0164354108273983,
0.01871294155716896,
-0.01299587357789278,
-0.0021055545657873154,
-0.03266630694270134,
-0.018341099843382835,
0.02718164026737213,
0.01247529499232769,
0.05700335651636124,
-0.041348814964294434,
-0.005019864998757839,
0.0028608583379536867,
-0.02123217098414898,
0.030472440645098686,
0.0071951402351260185,
-0.0034302412532269955,
0.0017860030056908727,
0.026159076020121574,
-0.010932151228189468,
-0.014780714176595211,
0.03155078366398811,
0.026809798553586006,
-0.06670843064785004,
-0.08039221167564392,
0.0037974349688738585,
-0.06146546080708504,
-0.036459095776081085,
0.008924204856157303,
-0.05425172671675682,
-0.02355618216097355,
0.013944069854915142,
-0.07273226976394653,
-0.024727484211325645,
-0.03078850731253624,
-0.05994090810418129,
-0.011796683073043823,
0.033391401171684265,
-0.001410675118677318,
-0.033242661505937576,
-0.0030235392041504383,
0.04495568200945854,
0.007604166399687529,
0.026902759447693825,
-0.02900366485118866,
-0.020916104316711426,
0.010588197037577629,
0.01408351119607687,
0.0627669095993042,
-0.029784534126520157,
-0.021604012697935104,
0.026363588869571686,
0.002369329798966646,
0.010820598341524601,
0.030825691297650337,
-0.0776405856013298,
-0.020414117723703384,
-0.0791279524564743,
0.0007413597195409238,
-0.01856420561671257,
0.005345226731151342,
0.025564128533005714,
0.005507907830178738,
0.03381901606917381,
-0.019391553476452827
]
|
29,412 | quart.app | url_for | Return the url for a specific endpoint.
This is most useful in templates and redirects to create a URL
that can be used in the browser.
Arguments:
endpoint: The endpoint to build a url for, if prefixed with
``.`` it targets endpoint's in the current blueprint.
_anchor: Additional anchor text to append (i.e. #text).
_external: Return an absolute url for external (to app) usage.
_method: The method to consider alongside the endpoint.
_scheme: A specific scheme to use.
values: The values to build into the URL, as specified in
the endpoint rule.
| def url_for(
self,
endpoint: str,
*,
_anchor: str | None = None,
_external: bool | None = None,
_method: str | None = None,
_scheme: str | None = None,
**values: Any,
) -> str:
"""Return the url for a specific endpoint.
This is most useful in templates and redirects to create a URL
that can be used in the browser.
Arguments:
endpoint: The endpoint to build a url for, if prefixed with
``.`` it targets endpoint's in the current blueprint.
_anchor: Additional anchor text to append (i.e. #text).
_external: Return an absolute url for external (to app) usage.
_method: The method to consider alongside the endpoint.
_scheme: A specific scheme to use.
values: The values to build into the URL, as specified in
the endpoint rule.
"""
app_context = _cv_app.get(None)
request_context = _cv_request.get(None)
websocket_context = _cv_websocket.get(None)
if request_context is not None:
url_adapter = request_context.url_adapter
if endpoint.startswith("."):
if request.blueprint is not None:
endpoint = request.blueprint + endpoint
else:
endpoint = endpoint[1:]
if _external is None:
_external = _scheme is not None
elif websocket_context is not None:
url_adapter = websocket_context.url_adapter
if endpoint.startswith("."):
if websocket.blueprint is not None:
endpoint = websocket.blueprint + endpoint
else:
endpoint = endpoint[1:]
if _external is None:
_external = _scheme is not None
elif app_context is not None:
url_adapter = app_context.url_adapter
if _external is None:
_external = True
else:
url_adapter = self.create_url_adapter(None)
if _external is None:
_external = True
if url_adapter is None:
raise RuntimeError(
"Unable to create a url adapter, try setting the SERVER_NAME config variable."
)
if _scheme is not None and not _external:
raise ValueError("External must be True for scheme usage")
self.inject_url_defaults(endpoint, values)
old_scheme = None
if _scheme is not None:
old_scheme = url_adapter.url_scheme
url_adapter.url_scheme = _scheme
try:
url = url_adapter.build(endpoint, values, method=_method, force_external=_external)
except BuildError as error:
return self.handle_url_build_error(error, endpoint, values)
finally:
if old_scheme is not None:
url_adapter.url_scheme = old_scheme
if _anchor is not None:
quoted_anchor = quote(_anchor, safe="%!#$&'()*+,/:;=?@")
url = f"{url}#{quoted_anchor}"
return url
| (self, endpoint: str, *, _anchor: Optional[str] = None, _external: Optional[bool] = None, _method: Optional[str] = None, _scheme: Optional[str] = None, **values: Any) -> str | [
0.020404182374477386,
-0.06903959810733795,
-0.05057775601744652,
-0.018529150635004044,
-0.023404231294989586,
0.006793381180614233,
-0.00011531139170983806,
0.02815430983901024,
-0.04542382434010506,
0.003365440061315894,
0.004389495123177767,
0.017846448346972466,
0.042962245643138885,
0.03171205893158913,
0.02784661203622818,
0.02775045670568943,
0.0677703469991684,
-0.012221354991197586,
0.06561646610498428,
-0.04480842873454094,
0.031923603266477585,
-0.004177953116595745,
0.008158788084983826,
0.001967580523341894,
-0.014298312366008759,
0.05646246671676636,
-0.028769703581929207,
0.02548118866980076,
0.0380583181977272,
-0.06096254289150238,
-0.005456820596009493,
-0.022884991019964218,
0.0683472752571106,
0.04219300299882889,
0.08969378471374512,
-0.0055866301991045475,
0.017865678295493126,
0.040692977607250214,
-0.04507766291499138,
0.005250086542218924,
-0.003783716121688485,
-0.0000016902321249290253,
0.04703923687338829,
-0.007403967902064323,
0.06284718960523605,
0.07830897718667984,
-0.0387314073741436,
0.07380890846252441,
-0.048923883587121964,
-0.03338516503572464,
-0.0004942989908158779,
-0.0253658015280962,
0.01526948157697916,
0.02253883145749569,
-0.03811601176857948,
0.027135061100125313,
-0.02750045247375965,
0.06261641532182693,
-0.00210099620744586,
0.0648856833577156,
-0.009322268888354301,
-0.03907756507396698,
0.011702115647494793,
0.0053991274908185005,
-0.0061539472080767155,
0.014654086902737617,
-0.008572256192564964,
0.018673384562134743,
-0.009004956111311913,
0.03257745876908302,
0.09269383549690247,
0.037289075553417206,
-0.03036588430404663,
-0.025673499330878258,
0.03867371380329132,
-0.046116143465042114,
0.07642433792352676,
0.0017656540730968118,
-0.00496642803773284,
-0.040192969143390656,
0.040577590465545654,
-0.029635103419423103,
-0.007437622174620628,
-0.07353967428207397,
0.031173590570688248,
0.015154095366597176,
-0.026808133348822594,
-0.04450073093175888,
-0.015884876251220703,
0.037596773356199265,
-0.008923224173486233,
-0.01963493786752224,
-0.014836782589554787,
-0.024231167510151863,
0.04761616885662079,
-0.029000477865338326,
-0.03607751801609993,
-0.011269415728747845,
0.07388582825660706,
-0.05061621591448784,
0.02221190370619297,
-0.005879904609173536,
-0.0830782875418663,
0.03261592239141464,
0.002476002322509885,
-0.06730879843235016,
0.031942833214998245,
-0.00816840399056673,
-0.02494271844625473,
-0.013442528434097767,
-0.007466468960046768,
-0.0030409153550863266,
-0.009033802896738052,
-0.040462203323841095,
-0.031481288373470306,
0.022750373929739,
-0.013375219888985157,
0.01526948157697916,
0.0010625175200402737,
-0.02242344617843628,
-0.07503969967365265,
-0.004401514772325754,
-0.042846858501434326,
-0.05011620745062828,
0.032231301069259644,
-0.0022668642923235893,
-0.032404378056526184,
-0.002355807926505804,
0.029615871608257294,
-0.08284751325845718,
-0.0030913969967514277,
0.07623202353715897,
-0.04676999896764755,
0.017461825162172318,
-0.01625026762485504,
0.0139906145632267,
-0.05592399835586548,
0.05084699019789696,
-0.04392379894852638,
0.13830997049808502,
-0.0167983528226614,
0.01978878676891327,
-0.01939455047249794,
0.021538816392421722,
-0.001894261920824647,
0.006601070053875446,
0.03832755237817764,
-0.0005117271794006228,
0.013346373103559017,
0.04438534379005432,
0.044731505215168,
0.05003928393125534,
0.04426996037364006,
0.026135046035051346,
0.0013221371918916702,
-0.04257762432098389,
-0.01245212834328413,
-0.009629965759813786,
0.002431530272588134,
-0.03325054794549942,
0.028308158740401268,
-0.020634954795241356,
-0.00007707458280492574,
-0.011077105067670345,
0.014981015585362911,
0.006062599830329418,
0.02476963773369789,
0.008230905048549175,
0.04003911837935448,
0.009413616731762886,
-0.03682753071188927,
0.03151974827051163,
-0.012596361339092255,
0.023365769535303116,
0.051770083606243134,
0.008745335973799229,
0.03984680771827698,
-0.043000709265470505,
0.01901954412460327,
-0.043193019926548004,
0.031808216124773026,
-0.0030120688024908304,
-0.025961965322494507,
-0.017673367634415627,
0.026058120653033257,
0.03580828011035919,
-0.04476996883749962,
0.006812612060457468,
-0.020654186606407166,
-0.002596196485683322,
-0.06500107049942017,
-0.006557800341397524,
0.032346684485673904,
0.029385099187493324,
-0.00020613320521079004,
-0.03976988419890404,
0.020211871713399887,
0.016048340126872063,
0.007793397642672062,
0.004151510540395975,
0.00420199241489172,
0.004004873801022768,
-0.015250250697135925,
-0.002335374942049384,
0.026711978018283844,
-0.014577162452042103,
0.013038676232099533,
-0.03880833089351654,
0.005346241872757673,
0.0004323989269323647,
-0.03592366725206375,
-0.014952168799936771,
-0.05103930085897446,
-0.005971251986920834,
-0.014432929456233978,
0.008283790200948715,
-0.0036106363404542208,
0.023000378161668777,
-0.04500073939561844,
0.0380583181977272,
0.044731505215168,
-0.04796232655644417,
0.08377061039209366,
-0.02221190370619297,
0.03650059923529625,
-0.023211920633912086,
0.048654645681381226,
-0.04265454784035683,
-0.040385279804468155,
0.00308178155682981,
-0.020865727216005325,
-0.03405825421214104,
0.07953976839780807,
0.04403918609023094,
0.054039351642131805,
0.0077693588100373745,
-0.02525041624903679,
0.03823139891028404,
0.028846628963947296,
0.032462071627378464,
0.00981746893376112,
0.03396209701895714,
0.016029110178351402,
0.0386352501809597,
0.018875310197472572,
0.043962262570858,
-0.01982724852859974,
0.032462071627378464,
-0.03932756930589676,
-0.07573201507329941,
-0.032115913927555084,
0.009615542367100716,
-0.03309669718146324,
-0.03659675642848015,
-0.03538519889116287,
-0.024500403553247452,
-0.032385148108005524,
-0.001277665258385241,
0.015846414491534233,
0.02767353132367134,
-0.017952218651771545,
0.04211607575416565,
0.03361593931913376,
0.0395006500184536,
-0.03851986303925514,
-0.05580861121416092,
-0.003918333910405636,
0.0126829007640481,
-0.01545217726379633,
0.054693207144737244,
0.005101045593619347,
0.006173178553581238,
-0.014384851790964603,
0.04253916069865227,
0.027346603572368622,
-0.01986571215093136,
-0.01637526974081993,
0.0020421009976416826,
-0.0008197250426746905,
-0.062347181141376495,
-0.018221452832221985,
-0.04150068387389183,
0.013471375219523907,
0.008918415755033493,
0.002879854990169406,
-0.031808216124773026,
-0.01998109742999077,
0.013605993241071701,
0.04161607101559639,
-0.05546244978904724,
0.037404462695121765,
-0.02500041201710701,
-0.026423512026667595,
0.03875063732266426,
-0.054500896483659744,
0.011269415728747845,
0.01942339725792408,
-0.002270470140501857,
0.06573185324668884,
-0.056962475180625916,
-0.023769622668623924,
0.0275966078042984,
-0.011404033750295639,
0.03690445423126221,
-0.02819277159869671,
-0.02507733553647995,
0.017346439883112907,
-0.04507766291499138,
0.0384429395198822,
-0.022365752607584,
0.010836716741323471,
-0.01506755594164133,
-0.007163579575717449,
-0.015538717620074749,
0.029038939625024796,
0.015336791053414345,
-0.01646181009709835,
-0.01267328578978777,
0.017346439883112907,
0.051308535039424896,
-0.010827100835740566,
0.0766935721039772,
-0.043000709265470505,
0.03678906708955765,
-0.01978878676891327,
-0.0003527702356223017,
0.03896217793226242,
0.03592366725206375,
-0.03365439921617508,
0.005389511585235596,
-0.02257729507982731,
0.048770032823085785,
0.018192607909440994,
-0.01930801011621952,
-0.0671934112906456,
-0.06996268779039383,
-0.014317543245851994,
0.005629900377243757,
-0.000510825717356056,
-0.008216481655836105,
0.03307746723294258,
-0.0044471886940300465,
-0.0017115665832534432,
0.009235728532075882,
-0.024192705750465393,
-0.004437572788447142,
-0.01937531866133213,
-0.04115452244877815,
0.04488535225391388,
-0.09800161421298981,
-0.05473167076706886,
-0.03423133119940758,
-0.001170692383311689,
0.025808116421103477,
0.020923420786857605,
-0.005331818480044603,
-0.03336593508720398,
-0.05311625823378563,
0.00966842845082283,
0.003596212947741151,
-0.0037019839510321617,
-0.040346816182136536,
-0.03803908824920654,
-0.015586795285344124,
0.011904042214155197,
0.0027163908816874027,
0.06457798182964325,
-0.013154062442481518,
0.012269432656466961,
-0.008043401874601841,
0.009629965759813786,
0.007274158298969269,
0.07000115513801575,
-0.028981246054172516,
0.001695941318757832,
-0.05238547548651695,
0.00207214942201972,
0.017500288784503937,
0.016000263392925262,
0.02828892692923546,
0.014096385799348354,
0.04777001589536667,
0.05265471339225769,
0.040577590465545654,
0.032385148108005524,
-0.08438600599765778,
0.015884876251220703,
0.015904108062386513,
-0.009961701929569244,
0.03636598214507103,
0.030019724741578102,
-0.023808084428310394,
-0.005288548767566681,
0.02530810795724392,
0.011625191196799278,
-0.0726165771484375,
-0.05315472185611725,
-0.008240520022809505,
0.0026514858473092318,
0.020346488803625107,
0.06592416018247604,
0.008846299722790718,
0.05900096893310547,
0.03667367994785309,
0.014375236816704273,
-0.0040409318171441555,
0.07577047497034073,
0.06465490907430649,
0.011654037982225418,
0.009726121090352535,
-0.03538519889116287,
-0.012759825214743614,
-0.12261740118265152,
-0.020269563421607018,
0.014298312366008759,
-0.017404131591320038,
0.007129924837499857,
0.025711961090564728,
-0.003384671173989773,
0.028769703581929207,
0.007855898700654507,
-0.03342362493276596,
0.07042423635721207,
0.048693109303712845,
-0.03673137351870537,
0.03644290566444397,
-0.01648104004561901,
-0.018971465528011322,
-0.011673268862068653,
0.017269514501094818,
0.03850063309073448,
-0.04942388832569122,
-0.0509239137172699,
-0.03344285860657692,
0.020500337705016136,
0.011730962432920933,
0.0274042971432209,
0.020904190838336945,
0.02832738868892193,
-0.06134716421365738,
-0.015567563474178314,
-0.057077862322330475,
-0.04419303312897682,
0.01265405397862196,
-0.004322186578065157,
-0.014682933688163757,
-0.02492348663508892,
-0.07115501910448074,
-0.026519667357206345,
-0.0197503250092268,
0.014731011353433132,
0.0022476331796497107,
-0.01923108473420143,
-0.0030577427241951227,
-0.06123177707195282,
-0.06338565796613693,
0.027154292911291122,
0.02784661203622818,
-0.03298131003975868,
0.04761616885662079,
0.06130870059132576,
-0.00840398482978344,
0.004596229642629623,
-0.03682753071188927,
-0.017817601561546326,
0.008923224173486233,
0.040000658482313156,
-0.023288844153285027,
-0.043693024665117264,
0.002831777324900031,
-0.012961751781404018,
-0.02790430560708046,
0.00824532750993967,
0.03142359480261803,
-0.010057858191430569,
0.053923964500427246,
0.010807869955897331,
0.01943301223218441,
-0.00766358757391572,
-0.014634856022894382,
-0.0633087307214737,
0.003697176231071353,
-0.02200036123394966,
0.038000624626874924,
0.0034087100066244602,
-0.0005096237873658538,
-0.006514530163258314,
0.037519849836826324,
-0.0019207047298550606,
0.0192214697599411,
-0.04223146289587021,
0.04765462875366211,
-0.018538765609264374,
0.008918415755033493,
-0.02509656734764576,
0.040192969143390656,
0.020461875945329666,
-0.03696214780211449,
-0.018933003768324852,
0.01134634017944336,
0.05869327485561371,
-0.0658472403883934,
0.04176991805434227,
0.032385148108005524,
0.00634145038202405,
-0.004649114795029163,
-0.04403918609023094,
0.07527046650648117,
-0.03965449705719948,
-0.021769588813185692,
0.01271174754947424,
0.030192803591489792,
0.060077913105487823,
0.014509853906929493,
0.0021755164489150047,
-0.015856029465794563,
-0.025904271751642227,
-0.0064039514400064945,
0.0017151724314317107,
-0.018846463412046432,
0.04465458169579506,
0.023019609972834587,
0.0390198715031147,
0.023577310144901276,
-0.009226113557815552,
0.020596493035554886,
0.020827265456318855,
-0.0076203178614377975,
-0.003632271196693182,
0.03400056064128876,
-0.014211772009730339,
0.04450073093175888,
0.0283658504486084,
0.03296208009123802,
0.021442661061882973,
0.05861634761095047,
-0.06500107049942017,
-0.07215503603219986,
-0.031981296837329865,
0.04380841180682182,
0.019000312313437462,
0.03100050985813141,
-0.0954631119966507,
-0.08592449128627777,
-0.08023209124803543,
-0.08584756404161453,
0.009428040124475956,
-0.025654267519712448,
0.05242393910884857,
-0.07703972607851028,
-0.004221223294734955,
0.03823139891028404,
0.05042390525341034,
0.023885007947683334,
-0.03534673526883125,
-0.01674065925180912,
0.027269680052995682,
0.04715462028980255,
-0.005158738698810339,
0.010798254981637001,
-0.07411660254001617,
0.0007313822279684246,
-0.054385509341955185,
0.0095145795494318,
0.000947731954511255,
0.06280872225761414,
0.05638554319739342,
-0.05388550087809563,
-0.03976988419890404,
-0.03621213510632515,
-0.020808035507798195,
-0.002932740608230233,
-0.00548085942864418,
-0.04146222025156021,
0.005980867426842451,
-0.002569753909483552,
0.013557915575802326,
-0.08930916339159012,
0.08777067810297012,
0.008937646634876728,
-0.045769982039928436,
0.0169425867497921,
-0.0338851734995842,
-0.043193019926548004,
0.0029183172155171633,
-0.023038839921355247,
0.008187634870409966,
0.020615722984075546,
-0.016115650534629822,
-0.06442413479089737,
-0.06730879843235016,
-0.06503953039646149,
-0.023134995251893997,
-0.012250201776623726,
-0.028712010011076927,
0.032212067395448685,
-0.032212067395448685,
-0.01385599747300148,
0.03798139467835426,
0.03280823305249214,
-0.021673433482646942,
0.05807787925004959,
0.03128897771239281,
0.0003446571063250303,
0.02213498018682003,
-0.0011761010391637683,
-0.029615871608257294,
-0.007033769506961107,
-0.06523184478282928,
-0.028385082259774208,
0.03090435452759266,
0.01969263143837452,
-0.00009337593655800447,
0.01709643565118313,
-0.03653906285762787,
-0.037308305501937866,
-0.04657768830657005,
0.059847138822078705,
0.002711583161726594,
0.013057907111942768,
0.01930801011621952,
-0.003976027015596628,
-0.04153914377093315,
0.05546244978904724,
-0.04688538610935211,
0.020981114357709885,
0.02190420590341091,
-0.014500238932669163,
-0.08092440664768219,
0.026192737743258476,
0.03309669718146324,
0.013057907111942768,
0.008254943415522575,
-0.035096731036901474,
-0.006947229616343975,
-0.037346769124269485,
0.03725061193108559,
0.03671214357018471,
-0.014644471928477287,
0.03082743100821972,
0.008187634870409966,
0.011750193312764168,
0.025846578180789948,
-0.02259652502834797,
0.020038791000843048,
0.03025049716234207,
0.011182876303792,
-0.07792435586452484,
-0.003968815319240093,
-0.005187585484236479,
0.012202124111354351,
0.03590443730354309,
0.031173590570688248,
0.0023594137746840715,
0.0002818556095007807,
0.048500798642635345,
0.0062693338841199875,
-0.020461875945329666,
0.029000477865338326,
0.016163727268576622,
0.011471342295408249,
-0.03338516503572464,
0.04992389678955078,
-0.04942388832569122,
-0.04442380741238594,
0.03084666095674038,
0.07123193889856339,
-0.03130820766091347,
-0.020519567653536797,
-0.017346439883112907,
-0.005976059939712286,
0.014817551709711552,
-0.01650988683104515,
-0.01122133806347847,
0.00842802319675684,
-0.03061588853597641,
-0.021846512332558632,
0.0015204576775431633,
-0.011182876303792,
-0.032115913927555084,
0.040539126843214035,
0.006644340232014656,
-0.04680846258997917,
0.05784710496664047,
0.016163727268576622,
-0.03586597368121147,
0.052000854164361954,
-0.0384429395198822,
-0.009774199686944485,
-0.037019841372966766,
0.02225036546587944,
-0.02526964619755745,
-0.023346537724137306,
0.011779040098190308,
-0.01666373573243618,
0.0033606321085244417,
-0.03555827587842941,
-0.09769391268491745,
0.04827002435922623,
0.017154129222035408,
0.06688571721315384,
0.020327256992459297,
0.025827348232269287,
0.023365769535303116,
0.037462156265974045,
0.04280839487910271,
0.05834711343050003,
-0.05103930085897446,
-0.01940416544675827,
-0.013509837910532951,
-0.004430361557751894,
-0.013115600682795048,
0.03411594405770302,
-0.045693058520555496,
0.011452111415565014,
-0.03171205893158913,
-0.06838574260473251,
0.01953878253698349,
-0.034250564873218536,
0.04142375662922859,
0.012923289090394974,
-0.04273147135972977,
0.05523167923092842,
-0.08246289193630219,
0.04803925007581711,
-0.0009831892093643546,
-0.028308158740401268,
0.02788507379591465,
0.018221452832221985,
-0.03580828011035919,
-0.03875063732266426,
0.014644471928477287,
-0.023981163278222084,
0.06780880689620972,
0.034577492624521255,
-0.04969312623143196,
0.0024098954163491726,
-0.054077811539173126,
-0.020442644134163857,
-0.01923108473420143,
0.014067539013922215,
0.014269465580582619,
-0.0557701475918293,
-0.031769752502441406,
0.06280872225761414,
0.023481154814362526,
0.042962245643138885,
-0.019000312313437462,
0.00020538199169095606,
0.02792353555560112,
0.002519272267818451,
0.017125282436609268,
-0.05769325792789459,
0.009923240169882774,
0.010798254981637001,
-0.09415539354085922,
-0.01112518273293972,
0.0017981064738705754,
-0.031192820519208908,
-0.02211574837565422,
-0.04761616885662079,
0.07450122386217117,
0.059731751680374146,
0.005360665265470743,
0.002752449130639434,
0.09246306121349335,
0.010971334762871265,
0.008519371040165424
]
|
29,414 | quart.app | websocket | Add a websocket to the application.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.websocket('/')
async def websocket_route():
...
Arguments:
rule: The path to route on, should start with a ``/``.
endpoint: Optional endpoint name, if not present the
function name is used.
defaults: A dictionary of variables to provide automatically, use
to provide a simpler default path for a route, e.g. to allow
for ``/book`` rather than ``/book/0``,
.. code-block:: python
@app.websocket('/book', defaults={'page': 0})
@app.websocket('/book/<int:page>')
def book(page):
...
host: The full host name for this route (should include subdomain
if needed) - cannot be used with subdomain.
subdomain: A subdomain for this specific route.
strict_slashes: Strictly match the trailing slash present in the
path. Will redirect a leaf (no slash) to a branch (with slash).
| def websocket(
self,
rule: str,
**options: Any,
) -> Callable[[T_websocket], T_websocket]:
"""Add a websocket to the application.
This is designed to be used as a decorator, if used to
decorate a synchronous function, the function will be wrapped
in :func:`~quart.utils.run_sync` and run in a thread executor
(with the wrapped function returned). An example usage,
.. code-block:: python
@app.websocket('/')
async def websocket_route():
...
Arguments:
rule: The path to route on, should start with a ``/``.
endpoint: Optional endpoint name, if not present the
function name is used.
defaults: A dictionary of variables to provide automatically, use
to provide a simpler default path for a route, e.g. to allow
for ``/book`` rather than ``/book/0``,
.. code-block:: python
@app.websocket('/book', defaults={'page': 0})
@app.websocket('/book/<int:page>')
def book(page):
...
host: The full host name for this route (should include subdomain
if needed) - cannot be used with subdomain.
subdomain: A subdomain for this specific route.
strict_slashes: Strictly match the trailing slash present in the
path. Will redirect a leaf (no slash) to a branch (with slash).
"""
def decorator(func: T_websocket) -> T_websocket:
endpoint = options.pop("endpoint", None)
self.add_websocket(
rule,
endpoint,
func,
**options,
)
return func
return decorator
| (self, rule: str, **options: Any) -> Callable[[~T_websocket], ~T_websocket] | [
-0.004173755180090666,
-0.004100410733371973,
-0.03533366695046425,
-0.044776760041713715,
0.012679414823651314,
0.03529699519276619,
-0.05247792229056358,
0.02495543472468853,
-0.05266128480434418,
-0.023451874032616615,
0.03625047206878662,
0.0036259640473872423,
0.045436859130859375,
-0.0034586472902446985,
0.0030873410869389772,
0.013119480572640896,
0.06538654118776321,
-0.0412195585668087,
0.012706918641924858,
0.0012800891418009996,
0.04250308498740196,
0.008269581943750381,
0.015704872086644173,
0.012514389120042324,
-0.03093300387263298,
0.04620697721838951,
-0.04220970720052719,
0.03920258581638336,
-0.026110609993338585,
-0.03835912421345711,
0.0239102765917778,
-0.052734628319740295,
0.04466674476861954,
-0.01960129290819168,
0.022535068914294243,
-0.013266169466078281,
-0.018867848441004753,
-0.016539163887500763,
-0.07418786734342575,
-0.03326169028878212,
0.04664704203605652,
0.029722820967435837,
0.027137430384755135,
0.018482791259884834,
0.03650717809796333,
0.015273972414433956,
-0.01963796466588974,
0.04859067127108574,
-0.03702059015631676,
-0.0313180610537529,
0.02667902782559395,
0.0336834192276001,
0.032051507383584976,
0.012587733566761017,
-0.0020719794556498528,
0.027449144050478935,
-0.011652592569589615,
0.03529699519276619,
0.03650717809796333,
-0.024882089346647263,
-0.011019997298717499,
0.005560422781854868,
0.012441044673323631,
0.04551020637154579,
0.01934458687901497,
-0.03128138929605484,
0.0018989325035363436,
-0.0019940510392189026,
0.016905885189771652,
-0.010378234088420868,
0.013917101547122002,
0.03901922330260277,
0.03650717809796333,
-0.06582660228013992,
-0.011533408425748348,
-0.03689223527908325,
0.0465736985206604,
-0.017199262976646423,
-0.012101827189326286,
0.03197816014289856,
0.0045817336067557335,
0.03696558251976967,
-0.011790113523602486,
0.05189116671681404,
0.04367659613490105,
0.021398231387138367,
-0.020188048481941223,
-0.021159861236810684,
-0.08669309318065643,
0.0033417546655982733,
-0.037497326731681824,
-0.02924608252942562,
-0.009479764848947525,
-0.047417160123586655,
0.017006734386086464,
-0.041732966899871826,
-0.01250522118061781,
0.010460746474564075,
0.0336834192276001,
-0.023360194638371468,
-0.05365143343806267,
0.0679902657866478,
-0.0210131723433733,
0.014733057469129562,
0.04888404905796051,
-0.06993389129638672,
0.00019467783567961305,
-0.024387015029788017,
-0.0564751923084259,
0.008778409101068974,
0.02629397064447403,
-0.004659662023186684,
-0.0015528385993093252,
0.039459291845560074,
-0.008906761184334755,
0.07286766916513443,
-0.05013090372085571,
0.0021521998569369316,
0.04562022164463997,
-0.05046095326542854,
-0.012908616103231907,
-0.004182923119515181,
0.01333034597337246,
-0.047453831881284714,
0.022865118458867073,
0.05196451395750046,
0.017052574083209038,
0.026403985917568207,
0.04224637895822525,
-0.00010722321894718334,
-0.016566667705774307,
0.06025243178009987,
0.019142890349030495,
0.014182974584400654,
0.011909298598766327,
0.020188048481941223,
0.03758900985121727,
-0.006316787097603083,
0.0023768171668052673,
0.025212140753865242,
-0.0019791529048234224,
0.04591359943151474,
-0.02862265519797802,
0.005670439451932907,
-0.006344291381537914,
-0.012037650682032108,
-0.08478613197803497,
0.020866483449935913,
0.03846914321184158,
0.00980064645409584,
0.025358829647302628,
0.011047501116991043,
-0.0011213672114536166,
0.0038872535806149244,
0.016988398507237434,
0.029851173982024193,
-0.03128138929605484,
0.04385995492339134,
0.05255126953125,
-0.03516864404082298,
0.0037474408745765686,
-0.013266169466078281,
0.004955331329256296,
-0.01800605282187462,
0.021728280931711197,
0.012725254520773888,
0.040706146508455276,
0.015026435256004333,
0.01608992926776409,
0.08295252174139023,
0.004336487967520952,
0.020829811692237854,
0.05889555811882019,
0.052367907017469406,
0.030089544132351875,
0.015338148921728134,
0.01544816605746746,
0.011900129728019238,
-0.015383989550173283,
-0.024203654378652573,
0.004645909648388624,
-0.010937484912574291,
0.01095582079142332,
-0.010222377255558968,
-0.010515754111111164,
0.03291330114006996,
-0.005565006751567125,
-0.0005993613158352673,
0.003703892696648836,
0.003513655625283718,
-0.034783586859703064,
-0.004652786068618298,
0.06168264523148537,
0.015173124149441719,
-0.030107880011200905,
-0.027174102142453194,
0.013697068206965923,
0.05764870345592499,
0.032821621745824814,
-0.0379190593957901,
0.01996801421046257,
0.04030275344848633,
0.03813909366726875,
0.0033807188738137484,
0.011377551592886448,
-0.0513044148683548,
-0.018446117639541626,
-0.007430705241858959,
-0.06982387602329254,
-0.05893222987651825,
0.012541893869638443,
-0.014861410483717918,
0.0076736584305763245,
0.01616327464580536,
0.0385424867272377,
0.013477034866809845,
-0.02893436886370182,
0.019179562106728554,
-0.0032684102188795805,
0.020884819328784943,
0.03390345349907875,
0.01150590367615223,
-0.03802907466888428,
0.016401642933487892,
0.026789044961333275,
-0.02501044236123562,
0.03504028916358948,
-0.07213422656059265,
-0.012991128489375114,
0.04620697721838951,
-0.0243136715143919,
0.00817790161818266,
0.08940683305263519,
0.029337763786315918,
-0.035737063735723495,
0.02898937650024891,
-0.06373628973960876,
0.0630761906504631,
0.06025243178009987,
-0.0009827004978433251,
0.02125154249370098,
-0.0246253851801157,
0.03766235336661339,
0.048370636999607086,
0.03658052161335945,
0.06087585911154747,
0.008448358625173569,
0.016731692478060722,
0.010552426800131798,
-0.00774241890758276,
-0.1005551815032959,
0.03335336968302727,
-0.01894119381904602,
-0.017061742022633553,
-0.05225789174437523,
0.028054235503077507,
-0.04679373279213905,
-0.013632891699671745,
-0.0418429858982563,
-0.0038368292152881622,
0.012441044673323631,
0.022535068914294243,
0.012413540855050087,
0.006715597119182348,
-0.0073023526929318905,
-0.0778917595744133,
-0.04723379760980606,
0.0015963868936523795,
-0.0391659140586853,
0.036122120916843414,
-0.03254657983779907,
0.016539163887500763,
0.04936078563332558,
0.00666517298668623,
0.0019424807978793979,
-0.07268431037664413,
0.005060764029622078,
-0.01515478827059269,
0.02128821425139904,
-0.06938380748033524,
-0.05291799083352089,
-0.01597074419260025,
0.0018210040871053934,
-0.005354141816496849,
-0.03401346877217293,
-0.020444754511117935,
0.012780263088643551,
0.01647498831152916,
0.031153036281466484,
-0.04961749166250229,
0.008929681964218616,
-0.047747209668159485,
-0.015695704147219658,
0.033133335411548615,
0.006092169787734747,
0.039092570543289185,
-0.003818493103608489,
-0.0035709559451788664,
0.07598480582237244,
-0.06329622119665146,
0.031189709901809692,
0.029062721878290176,
0.01546650193631649,
0.019381260499358177,
-0.02501044236123562,
-0.0067706056870520115,
-0.01115751825273037,
-0.0005767277325503528,
-0.013788748532533646,
-0.036452170461416245,
-0.014788066036999226,
-0.006752269342541695,
-0.04363992065191269,
-0.004730714485049248,
0.00820998940616846,
0.07561808079481125,
-0.016832541674375534,
-0.023873604834079742,
0.02398362196981907,
0.0673668384552002,
-0.0013683316064998507,
-0.002610602416098118,
0.017492640763521194,
0.015081443823873997,
-0.03982601314783096,
-0.034141819924116135,
0.06164597347378731,
-0.03887253627181053,
0.03722228854894638,
-0.0246253851801157,
-0.05427486076951027,
0.024753738194704056,
0.0024455776438117027,
-0.03228987380862236,
-0.06630334258079529,
-0.010286552831530571,
-0.011918466538190842,
0.01198264304548502,
-0.014531360939145088,
0.025358829647302628,
0.05416484549641609,
0.026110609993338585,
0.05060764029622078,
0.030162887647747993,
-0.009223058819770813,
-0.03953263536095619,
-0.056035127490758896,
0.011240030638873577,
0.03685556352138519,
-0.04030275344848633,
0.0849328264594078,
-0.02623896114528179,
-0.04426335170865059,
0.04349323362112045,
0.043456561863422394,
-0.01346786692738533,
-0.030107880011200905,
-0.01734595187008381,
0.023818597197532654,
-0.05189116671681404,
-0.0694204792380333,
0.023066816851496696,
-0.002672486938536167,
0.059702347964048386,
-0.0129819605499506,
0.02867766283452511,
0.07767172902822495,
-0.015108947642147541,
-0.02264508605003357,
0.029154401272535324,
0.011872625909745693,
0.004020190332084894,
0.05761203169822693,
0.03267493471503258,
-0.0034448951482772827,
-0.005152444820851088,
0.002628938527777791,
-0.023671908304095268,
-0.025450509041547775,
0.008961769752204418,
-0.005134108476340771,
0.03223486617207527,
0.05596178397536278,
-0.004895739257335663,
0.04096285253763199,
-0.022388380020856857,
-0.018748663365840912,
0.008874673396348953,
-0.051084380596876144,
0.005331221502274275,
0.027064086869359016,
-0.002727495040744543,
-0.01758432202041149,
-0.008012876845896244,
-0.08280583471059799,
-0.028402620926499367,
-0.012532725930213928,
0.05695193260908127,
-0.005395398009568453,
-0.024387015029788017,
0.07275765389204025,
-0.06149928644299507,
0.06193935126066208,
0.04279646277427673,
0.01767600141465664,
0.044373366981744766,
-0.00564751960337162,
0.032748278230428696,
0.004437336698174477,
0.004572565201669931,
-0.025505518540740013,
-0.07554473727941513,
-0.06472644209861755,
0.025743886828422546,
0.009608116932213306,
-0.040779490023851395,
0.03788238763809204,
0.013926269486546516,
-0.02798089198768139,
0.01333034597337246,
-0.002589974319562316,
-0.03527865931391716,
0.07987205684185028,
0.09571444988250732,
-0.01651166006922722,
0.010359897278249264,
0.016410810872912407,
-0.022553404793143272,
-0.06017908826470375,
0.03458188846707344,
0.0011780945351347327,
-0.04661037027835846,
-0.055044978857040405,
-0.009140546433627605,
-0.006156346295028925,
-0.02095816470682621,
0.004501513205468655,
0.030547944828867912,
0.029337763786315918,
0.021563256159424782,
-0.015108947642147541,
-0.04063280299305916,
-0.013146985322237015,
0.005454990081489086,
-0.014210479333996773,
-0.027192439883947372,
-0.046060286462306976,
-0.04587692767381668,
0.05255126953125,
-0.022516733035445213,
0.04426335170865059,
0.005473326425999403,
0.005968401208519936,
0.054678257554769516,
0.0023974452633410692,
-0.0492507703602314,
-0.0012124747736379504,
-0.05196451395750046,
-0.004428168758749962,
-0.039459291845560074,
0.06685342639684677,
-0.0038276612758636475,
0.014430511742830276,
-0.050057556480169296,
-0.06296617537736893,
0.0012296647764742374,
0.030089544132351875,
-0.024808745831251144,
-0.01281693484634161,
-0.01550317369401455,
0.03753400221467018,
-0.02200332283973694,
0.007462793495506048,
-0.005037844181060791,
0.05581509321928024,
0.01928957924246788,
-0.019454604014754295,
-0.01781352236866951,
-0.02964947745203972,
-0.018042724579572678,
-0.0546049103140831,
-0.006408467423170805,
-0.027192439883947372,
0.04499679431319237,
-0.021508246660232544,
0.008370430208742619,
0.01993134245276451,
-0.03502195328474045,
0.046060286462306976,
0.009108458645641804,
-0.04419000446796417,
0.03355506807565689,
0.0265873484313488,
-0.03927592933177948,
0.0546049103140831,
0.027889210730791092,
0.01744680106639862,
0.0012159127509221435,
-0.022388380020856857,
0.0024868338368833065,
-0.012725254520773888,
-0.05258794128894806,
0.0039308019913733006,
0.05233123525977135,
0.007247344125062227,
-0.012569397687911987,
-0.07899192720651627,
-0.009113042615354061,
-0.03846914321184158,
-0.024350343272089958,
-0.024882089346647263,
0.05720863863825798,
-0.008104557171463966,
0.058052100241184235,
0.00622510677203536,
-0.04286980628967285,
-0.024533703923225403,
0.028182588517665863,
-0.016731692478060722,
-0.06887039542198181,
0.024570375680923462,
0.020848147571086884,
0.047710537910461426,
0.0256522074341774,
0.006830197758972645,
-0.026550674811005592,
0.040119390934705734,
-0.05086434632539749,
0.026202289387583733,
0.02530382014811039,
0.022150011733174324,
0.07906527072191238,
-0.013715404085814953,
0.010873308405280113,
0.008842584677040577,
0.002860431792214513,
-0.04668371379375458,
-0.02862265519797802,
-0.025212140753865242,
0.0021567840594798326,
-0.020224720239639282,
0.04994754120707512,
-0.005079100374132395,
-0.07085070013999939,
-0.07943199574947357,
-0.00404081866145134,
-0.0022014782298356295,
-0.016227450221776962,
-0.04096285253763199,
-0.0612059086561203,
-0.05566840618848801,
0.023360194638371468,
0.010084856301546097,
0.044703416526317596,
-0.04950747638940811,
-0.031409744173288345,
0.011680097319185734,
0.01781352236866951,
-0.025193804875016212,
0.00021587894298136234,
-0.06355293095111847,
-0.019509611651301384,
-0.06446973234415054,
0.015420661307871342,
0.004622989799827337,
0.03758900985121727,
0.09681461751461029,
-0.02867766283452511,
-0.07554473727941513,
-0.0072702644392848015,
-0.0459502711892128,
0.020573105663061142,
0.019509611651301384,
-0.0665600523352623,
-0.03835912421345711,
0.006889790296554565,
0.05929895490407944,
-0.04851732403039932,
0.023891940712928772,
-0.033408377319574356,
-0.03023623116314411,
0.009113042615354061,
-0.05357808992266655,
-0.02963114157319069,
0.016209114342927933,
0.019766317680478096,
0.05093768984079361,
0.09006693214178085,
-0.05992238223552704,
-0.06670673936605453,
0.014604705385863781,
-0.033151671290397644,
-0.000591339310631156,
-0.044776760041713715,
0.029667813330888748,
0.01641997881233692,
-0.02900771237909794,
0.02427699975669384,
0.03857915848493576,
0.08676643669605255,
-0.030052870512008667,
0.07092404365539551,
0.015732375904917717,
-0.03122638165950775,
-0.004338779952377081,
0.00387120945379138,
-0.018381942063570023,
-0.018363606184720993,
-0.004320444073528051,
-0.03758900985121727,
-0.0343068465590477,
0.010167368687689304,
-0.013367018662393093,
0.0023699412122368813,
0.00891592912375927,
0.008691312745213509,
-0.07228091359138489,
0.0013385354541242123,
0.040779490023851395,
-0.01734595187008381,
0.0531746968626976,
-0.0013477035099640489,
-0.003153809579089284,
-0.0066193328239023685,
0.000302545668091625,
0.025688879191875458,
0.015218964777886868,
-0.02192997746169567,
-0.07250094413757324,
-0.029136065393686295,
0.010836636647582054,
0.0022014782298356295,
0.05196451395750046,
-0.03993602842092514,
0.017731010913848877,
-0.033408377319574356,
-0.025432173162698746,
0.007595730014145374,
0.004849899094551802,
-0.07059399038553238,
0.005505414679646492,
0.02957613207399845,
0.06692676991224289,
-0.0369839183986187,
0.04367659613490105,
0.05024091899394989,
0.07162081450223923,
-0.06608331203460693,
-0.011725937016308308,
-0.04716045409440994,
0.00025856768479570746,
0.05064431205391884,
-0.015594854950904846,
0.06681675463914871,
0.04195300117135048,
0.10238879173994064,
0.04191632941365242,
-0.08317255973815918,
0.049067407846450806,
0.020243056118488312,
-0.00699063902720809,
-0.025523854419589043,
0.018574470654129982,
-0.00230920291505754,
-0.06567991524934769,
0.014989763498306274,
0.052074529230594635,
-0.0459502711892128,
0.0114875677973032,
-0.04793057218194008,
0.009062618017196655,
0.06399299204349518,
-0.044520054012537,
0.03450854495167732,
0.02090315707027912,
0.020389745011925697,
-0.0453268438577652,
-0.04602361470460892,
-0.0405961312353611,
-0.03566371649503708,
-0.08441941440105438,
0.04261310026049614,
-0.01579655148088932,
-0.0256522074341774,
-0.031061356887221336,
0.0328766293823719,
0.023781923577189445,
-0.0009729593875817955,
0.016291625797748566,
-0.04158627986907959,
0.03953263536095619,
0.00950726866722107,
-0.05167113617062569,
-0.014531360939145088,
0.009993175975978374,
-0.03023623116314411,
-0.03887253627181053,
-0.04558354988694191,
0.056731898337602615,
-0.029191074892878532,
0.00020785690867342055,
0.018345270305871964,
0.02292012795805931,
0.021196532994508743,
0.04664704203605652,
-0.03735063970088959,
0.00706856744363904,
-0.0836859717965126,
0.03516864404082298,
0.028402620926499367,
-0.04257642850279808,
-0.005972985178232193,
0.0659366250038147,
-0.01229435671120882,
-0.02695406973361969,
-0.06384630501270294,
-0.009278067387640476,
0.004648201633244753,
-0.0028260517865419388,
0.013990445993840694,
-0.027889210730791092,
-0.0025441341567784548,
0.04422667622566223,
-0.06645002961158752,
0.06626667082309723,
-0.048737358301877975,
-0.014769730158150196,
0.033151671290397644,
-0.025780558586120605,
-0.054091501981019974,
-0.017896035686135292,
-0.04261310026049614,
-0.004086658824235201,
0.10678945481777191,
0.09197388589382172,
0.006115090101957321,
-0.029521124437451363,
-0.020499762147665024,
-0.046757061034440994,
-0.014237983152270317,
0.013477034866809845,
-0.018482791259884834,
-0.04129290208220482,
-0.04224637895822525,
0.03364674746990204,
-0.029851173982024193,
0.013110312633216381,
0.029136065393686295,
0.020793139934539795,
0.025047115981578827,
0.009846487082540989,
-0.015411493368446827,
-0.05046095326542854,
0.05013090372085571,
-0.004345656372606754,
-0.010139863938093185,
0.0013247833121567965,
-0.01145089603960514,
-0.040486112236976624,
-0.040486112236976624,
-0.02598225697875023,
0.07136411219835281,
0.049067407846450806,
0.002491417806595564,
0.008136644959449768,
0.022406715899705887,
0.01661250740289688,
0.036048777401447296
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.