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
sequencelengths 768
768
|
---|---|---|---|---|---|---|
725,553 | syne_tune.tuner | _init_callbacks | null | def _init_callbacks(self, callbacks: Optional[List[TunerCallback]]):
if callbacks is None:
callbacks = [self._default_callback()]
else:
if not any(
isinstance(callback, StoreResultsCallback) for callback in callbacks
):
logger.warning(
"None of the callbacks provided are of type StoreResultsCallback. "
"This means no tuning results will be written."
)
self.callbacks: List[TunerCallback] = callbacks
| (self, callbacks: Optional[List[syne_tune.tuner_callback.TunerCallback]]) | [
-0.03314942121505737,
0.015446735545992851,
-0.0196137186139822,
0.011587382294237614,
-0.015735721215605736,
0.035834189504384995,
-0.03644944727420807,
0.05265127494931221,
0.014439946971833706,
0.03376467898488045,
0.024479858577251434,
0.05198008194565773,
0.023678157478570938,
-0.04485798999667168,
0.004954701289534569,
0.0433664508163929,
-0.01197891030460596,
0.028320567682385445,
0.007453026250004768,
-0.027593443170189857,
-0.015381480567157269,
0.013237395323812962,
-0.03452909365296364,
0.0358901210129261,
-0.0023701463360339403,
0.027015473693609238,
0.011270429939031601,
-0.0525394082069397,
0.03915286064147949,
0.06465815007686615,
-0.011867045424878597,
0.005420806352049112,
-0.0015101816970854998,
0.02636292576789856,
0.028768029063940048,
0.033839255571365356,
0.01993067003786564,
0.08964139968156815,
-0.003418883541598916,
0.000885600398760289,
0.021645937114953995,
-0.0425461083650589,
-0.011867045424878597,
0.014160283841192722,
-0.01026364229619503,
0.060183536261320114,
-0.057200461626052856,
0.019091680645942688,
0.06913276016712189,
-0.053769927471876144,
-0.018756084144115448,
0.00046785335871391,
0.003584350924938917,
0.05701402202248573,
-0.04620037227869034,
0.011661958880722523,
0.026829030364751816,
0.03176974877715111,
0.020378131419420242,
0.0054487730376422405,
0.028600230813026428,
0.012454338371753693,
0.05466485023498535,
-0.030166346579790115,
0.04452239349484444,
0.0029178201220929623,
-0.013451803475618362,
0.006348356604576111,
0.024834100157022476,
0.061115749180316925,
0.025300204753875732,
0.0014262826880440116,
-0.038332514464855194,
-0.030986690893769264,
0.04679698869585991,
0.0558953657746315,
-0.04180033877491951,
-0.03631893917918205,
-0.026232415810227394,
0.022652724757790565,
0.011699247173964977,
0.04213593527674675,
-0.01942727528512478,
0.06305474787950516,
0.04206135869026184,
-0.05104786902666092,
-0.03236636519432068,
-0.03695284202694893,
0.01113992091268301,
0.00918227806687355,
-0.08553967624902725,
-0.03061380609869957,
0.04247153177857399,
-0.015204360708594322,
-0.03771725296974182,
-0.033988408744335175,
-0.040495242923498154,
-0.09985843300819397,
-0.02069508284330368,
0.00517377071082592,
-0.0021044660825282335,
-0.057536058127880096,
0.05690215528011322,
-0.05850555747747421,
0.04858683422207832,
-0.051010582596063614,
-0.02996126003563404,
-0.052502118051052094,
0.006702596787363291,
0.04332916438579559,
0.011643314734101295,
-0.04895971715450287,
0.029084980487823486,
0.017721330747008324,
-0.009499229490756989,
0.022000178694725037,
-0.003637953195720911,
-0.020378131419420242,
-0.013032308779656887,
0.022242553532123566,
-0.030054479837417603,
-0.004134355578571558,
-0.012678069062530994,
0.014384014531970024,
-0.0017560523701831698,
-0.011568737216293812,
0.0550377331674099,
0.05831911414861679,
0.043105434626340866,
-0.014598423615098,
0.0875532478094101,
-0.050339389592409134,
-0.05705130845308304,
-0.035256218165159225,
-0.015008595772087574,
0.0016907976241782308,
0.0010784515179693699,
0.04314272105693817,
-0.009862791746854782,
-0.05682757869362831,
-0.002899175975471735,
0.00129344267770648,
-0.008026336319744587,
0.022801879793405533,
0.02429341711103916,
0.0550377331674099,
-0.035405371338129044,
-0.021496783941984177,
0.003164856228977442,
0.014859442599117756,
0.01058991625905037,
-0.022167975082993507,
-0.035759612917900085,
-0.0013517058687284589,
-0.05746148154139519,
0.0012363448040559888,
-0.011009410955011845,
0.007620824500918388,
0.008958547376096249,
0.0024237483739852905,
0.011820434592664242,
-0.004353424999862909,
-0.01751624420285225,
-0.0442240871489048,
-0.009214905090630054,
0.015856908634305,
-0.060780152678489685,
0.05078685283660889,
-0.01318146288394928,
0.058207251131534576,
0.034827399998903275,
-0.03907828405499458,
0.011932299472391605,
0.03907828405499458,
-0.005187754053622484,
-0.008916597813367844,
-0.0030669739935547113,
-0.04370204731822014,
-0.022540859878063202,
0.0196137186139822,
0.0044256714172661304,
-0.006544120609760284,
-0.06551578640937805,
-0.0002583972236607224,
-0.032068055123090744,
0.023062897846102715,
0.019576430320739746,
0.019893381744623184,
-0.01577300950884819,
0.00606869300827384,
0.011242464184761047,
-0.03643080219626427,
0.004912751726806164,
-0.018299300223588943,
0.030725672841072083,
0.02970024012029171,
0.0659632459282875,
0.024722233414649963,
-0.027761241421103477,
-0.009359397925436497,
-0.024554435163736343,
-0.013489091768860817,
0.03137822076678276,
-0.05574621260166168,
-0.0048521580174565315,
0.03637487068772316,
0.007024209480732679,
0.03037143126130104,
-0.0028012937400490046,
-0.011167886666953564,
0.04981735348701477,
-0.0051644486375153065,
-0.058281827718019485,
0.011270429939031601,
-0.008049641735851765,
0.0021883652079850435,
0.034901976585388184,
0.0002264981303596869,
0.01497130747884512,
0.016211148351430893,
0.033671457320451736,
0.01051533967256546,
-0.03229178488254547,
-0.028096837922930717,
0.041688472032547,
0.07140735536813736,
0.017143359407782555,
-0.07312262803316116,
-0.02679174207150936,
0.01994931325316429,
0.01497130747884512,
0.02645614556968212,
-0.06096659600734711,
-0.02953244186937809,
-0.013256039470434189,
-0.05679028853774071,
0.02735106833279133,
-0.01560521125793457,
0.0039013028144836426,
-0.007942437194287777,
0.060780152678489685,
0.02026626653969288,
-0.02802226133644581,
-0.021067967638373375,
0.02395782060921192,
0.02168322540819645,
-0.013078919611871243,
-0.0073411609046161175,
-0.04097999259829521,
0.03803420439362526,
0.04597664251923561,
-0.005229703150689602,
0.010944155976176262,
-0.040159646421670914,
0.017917094752192497,
0.0517190620303154,
0.004912751726806164,
0.0024190873373299837,
0.03911557048559189,
-0.03945116698741913,
0.011354329064488411,
0.057200461626052856,
-0.037922341376543045,
0.08203456550836563,
-0.03311213105916977,
-0.021590005606412888,
0.04813937097787857,
-0.008795410394668579,
-0.0441867969930172,
0.0683869943022728,
0.10023131966590881,
0.053173311054706573,
-0.0442240871489048,
-0.030762961134314537,
0.008622950874269009,
0.018504386767745018,
0.018830660730600357,
-0.05623096227645874,
-0.023827310651540756,
0.042769838124513626,
0.08993971347808838,
-0.0067864954471588135,
0.03814607113599777,
-0.013461126014590263,
0.06473273038864136,
-0.007075481116771698,
-0.008916597813367844,
-0.0034351972863078117,
-0.05138346552848816,
-0.022876456379890442,
0.043590184301137924,
0.02276459150016308,
0.010067878291010857,
0.031564660370349884,
-0.006161914207041264,
-0.016397589817643166,
-0.01568911038339138,
0.0246290136128664,
0.048363104462623596,
-0.02520698308944702,
-0.04627494886517525,
-0.08583798259496689,
0.048176661133766174,
0.030557874590158463,
0.02679174207150936,
-0.032571449875831604,
-0.011913655325770378,
-0.0392274372279644,
0.019837448373436928,
0.018056925386190414,
0.011988232843577862,
-0.0036705804523080587,
0.0013610279420390725,
0.041502032428979874,
0.07271245121955872,
0.014663677662611008,
0.03579689934849739,
-0.05541061609983444,
-0.011345007456839085,
0.0508987158536911,
-0.028749385848641396,
0.0010755383409559727,
-0.0037544795777648687,
-0.03877997398376465,
-0.0358714759349823,
-0.0033046877942979336,
-0.010235675610601902,
-0.039339300245046616,
-0.007681418210268021,
-0.02227984182536602,
-0.06857343763113022,
-0.06033269315958023,
0.035685036331415176,
-0.018000993877649307,
-0.02720191515982151,
0.011913655325770378,
-0.005108515731990337,
0.024386638775467873,
0.04970548674464226,
0.028488365933299065,
-0.02067643776535988,
-0.04724444821476936,
-0.03620707243680954,
0.04463426023721695,
-0.011494160629808903,
0.020956100896000862,
-0.017078103497624397,
0.014113673940300941,
0.020042534917593002,
-0.034156206995248795,
-0.020993391051888466,
-0.034174852073192596,
-0.02067643776535988,
0.08300406485795975,
0.07371924072504044,
-0.05041396617889404,
0.03137822076678276,
-0.010739070363342762,
0.011242464184761047,
-0.05265127494931221,
-0.018821338191628456,
0.04996650665998459,
-0.019073035567998886,
0.03219856694340706,
0.029159557074308395,
0.03989862650632858,
0.06447170674800873,
-0.033335864543914795,
-0.027462933212518692,
-0.06711918860673904,
0.014719611033797264,
-0.08106506615877151,
-0.01050601713359356,
0.013489091768860817,
0.028991760686039925,
-0.021981533616781235,
0.00813820119947195,
0.011438228189945221,
0.001201386796310544,
-0.026512078940868378,
-0.016481488943099976,
-0.008292016573250294,
-0.003696216270327568,
-0.0031904918141663074,
-0.009135667234659195,
-0.004866140894591808,
-0.09292278438806534,
0.04247153177857399,
0.027257848531007767,
0.030986690893769264,
0.03355959430336952,
-0.01222128514200449,
-0.08143794536590576,
-0.026400214061141014,
0.007858538068830967,
0.11977045983076096,
-0.007536925375461578,
0.032757893204689026,
-0.0246290136128664,
-0.040420666337013245,
-0.013834009878337383,
-0.08874648064374924,
-0.03615114092826843,
0.08732952177524567,
0.0038220647256821394,
0.057349614799022675,
0.014906052500009537,
0.07241414487361908,
0.0008506424492225051,
0.008893292397260666,
-0.0010347540955990553,
0.010459406301379204,
0.015316225588321686,
-0.05291229113936424,
-0.05779707804322243,
0.0006339034298434854,
-0.0692073404788971,
0.042173221707344055,
0.02453579194843769,
0.0015066858613863587,
0.008189473301172256,
0.027649376541376114,
0.06208524852991104,
0.04265797138214111,
0.0917295590043068,
0.029327355325222015,
0.03385790064930916,
-0.01181111205369234,
-0.01876540668308735,
-0.020900169387459755,
0.005005972925573587,
0.05074956268072128,
0.0022361408919095993,
-0.06547849625349045,
0.0038896501064300537,
0.07785825431346893,
-0.013386549428105354,
0.00506656663492322,
-0.015828941017389297,
-0.000047411664127139375,
0.015707753598690033,
-0.0021837041713297367,
-0.027761241421103477,
0.017152681946754456,
-0.004474612418562174,
0.002614851575344801,
-0.07271245121955872,
0.0016756491968408227,
-0.075136199593544,
-0.022876456379890442,
-0.06898360699415207,
-0.019045069813728333,
0.017553532496094704,
0.01994931325316429,
0.07219041138887405,
0.009741604328155518,
-0.08964139968156815,
0.034081630408763885,
-0.02328662946820259,
-0.03027821145951748,
0.018234046176075935,
-0.01743234507739544,
-0.025057829916477203,
-0.04112914577126503,
-0.02578495442867279,
0.08017013967037201,
0.004637749399989843,
0.003726513125002384,
0.016649287194013596,
-0.004749614745378494,
0.01953914202749729,
0.029215490445494652,
-0.003183500375598669,
-0.013330616056919098,
-0.005756402388215065,
-0.004782242234796286,
0.024162907153367996,
-0.03462231531739235,
-0.0041133807972073555,
-0.00909371767193079,
0.024256128817796707,
0.026586655527353287,
-0.014989951625466347,
-0.02009846828877926,
-0.004770589526742697,
-0.03320535272359848,
-0.04780377820134163,
-0.07140735536813736,
0.025076474994421005,
-0.018317945301532745,
-0.04638681560754776,
-0.0391901470720768,
0.028078192844986916,
0.005807674024254084,
-0.020639149472117424,
-0.02520698308944702,
0.05104786902666092,
0.019464563578367233,
0.038668110966682434,
0.015045884065330029,
0.055112309753894806,
-0.01268739067018032,
-0.018495064228773117,
0.003290704684332013,
0.009928046725690365,
-0.0625699982047081,
-0.03370874747633934,
0.005840301513671875,
-0.08099048584699631,
0.012202640995383263,
-0.0006589565891772509,
0.016798440366983414,
-0.022130686789751053,
-0.006721240933984518,
-0.009438635781407356,
-0.09165497869253159,
-0.0002884027489926666,
-0.013591635040938854,
-0.006436916533857584,
0.011913655325770378,
-0.014710288494825363,
0.056119099259376526,
-0.014328082092106342,
0.007998369634151459,
0.029420576989650726,
-0.04414951056241989,
-0.08233287185430527,
-0.016304370015859604,
0.022317130118608475,
-0.04411222040653229,
0.006795817520469427,
-0.02011711150407791,
-0.0229323897510767,
0.005192414857447147,
-0.020900169387459755,
0.012640779837965965,
0.07047514617443085,
0.002367815701290965,
-0.019240833818912506,
-0.04564104601740837,
0.028935827314853668,
0.02820870280265808,
0.009583128616213799,
-0.05280042812228203,
0.015828941017389297,
-0.027481578290462494,
-0.04623766243457794,
0.02602732926607132,
0.016835728660225868,
0.011801790446043015,
-0.0246290136128664,
-0.028973115608096123,
0.03764267638325691,
0.006348356604576111,
-0.0035517236683517694,
-0.06342763453722,
0.02052728459239006,
-0.010105166584253311,
0.07047514617443085,
0.047505468130111694,
0.02520698308944702,
0.009331431239843369,
-0.05742419511079788,
0.012817900627851486,
0.04519358649849892,
-0.013078919611871243,
0.027239203453063965,
-0.028245991095900536,
-0.0017735313158482313,
0.0002384420804446563,
0.039413876831531525,
0.01903574727475643,
-0.024256128817796707,
-0.008245405741035938,
-0.02811548113822937,
0.0032091361936181784,
0.005108515731990337,
-0.009438635781407356,
-0.017646752297878265,
-0.09187871217727661,
0.00027427394525147974,
0.035181641578674316,
-0.005332246422767639,
-0.0625699982047081,
0.04694614186882973,
-0.014840798452496529,
0.0009392024949193001,
0.014486557804048061,
-0.019501851871609688,
0.03986134007573128,
-0.030520586296916008,
0.06055642291903496,
-0.08278033137321472,
0.02602732926607132,
0.021757803857326508,
0.010617882944643497,
0.005900895223021507,
0.00615259213373065,
-0.04970548674464226,
0.013572990894317627,
-0.03713928535580635,
0.04288170114159584,
-0.00989075843244791,
-0.028227347880601883,
0.03203076869249344,
-0.046685121953487396,
-0.06641070544719696,
0.07293618470430374,
-0.033335864543914795,
0.034510448575019836,
-0.006669969297945499,
0.031415507197380066,
0.06969209015369415,
-0.01827133446931839,
0.025990040972828865,
-0.03197483345866203,
-0.012948409654200077,
0.022745946422219276,
0.028078192844986916,
0.04198678210377693,
-0.03342908248305321,
-0.016472166404128075,
0.02261543646454811,
0.03359688073396683,
-0.06156320869922638,
-0.0834515243768692,
-0.004292831290513277,
-0.08568882942199707,
-0.010366185568273067,
-0.03605791926383972,
0.02636292576789856,
-0.021217120811343193,
0.04247153177857399,
-0.04795293137431145,
0.031564660370349884,
0.004208932165056467,
0.03678504377603531,
-0.01498063001781702,
0.0492207370698452,
-0.045752912759780884,
-0.0002549014170654118,
0.019706938415765762,
0.09419059008359909,
-0.03870539739727974,
0.05664113536477089,
-0.019296767190098763,
-0.058430980890989304,
0.07882775366306305,
0.04221051186323166,
0.028078192844986916,
-0.03219856694340706,
-0.004880124237388372,
-0.024554435163736343,
0.04895971715450287,
-0.010244998149573803,
0.038593534380197525,
-0.009401347488164902,
-0.026549367234110832,
0.05596994608640671,
-0.04482069984078407,
-0.07502433657646179,
0.01197891030460596,
-0.01869083009660244,
0.03615114092826843,
0.023678157478570938,
0.01096280012279749,
-0.016378946602344513,
0.014300115406513214,
-0.06055642291903496,
-0.01668657548725605,
-0.012258573435246944,
-0.0271086934953928,
0.0484003908932209,
0.01051533967256546,
0.018150147050619125,
0.0018317945068702102,
-0.030893471091985703,
0.0028129464481025934,
0.017749296501278877,
-0.030483298003673553,
-0.0208628810942173,
-0.004761267453432083,
-0.031154489144682884,
-0.018914559856057167,
-0.01636030152440071,
0.06398695707321167,
-0.04933260381221771,
0.03393247723579407,
0.013088241219520569,
-0.0036565973423421383,
-0.005928861442953348,
0.007192007265985012,
0.018961170688271523,
0.02069508284330368,
-0.026884963735938072,
-0.049183446913957596,
-0.05574621260166168,
-0.11320769786834717,
0.03318670764565468,
-0.01718064770102501,
0.05112244933843613,
-0.02518833987414837,
-0.0659632459282875,
-0.016994204372167587,
-0.015875551849603653,
0.006842428352683783,
-0.029588375240564346,
-0.03915286064147949,
-0.00800303090363741,
-0.019837448373436928,
-0.0014391005970537663,
-0.009993300773203373,
0.011372973211109638,
-0.034491803497076035,
-0.05183092877268791,
-0.03577825427055359,
0.0500410832464695,
-0.010599237866699696,
0.004754275549203157,
0.004479273688048124,
0.029401931911706924,
-0.004987328313291073,
-0.0098068593069911,
0.008576340973377228,
0.03430536389350891,
-0.028823962435126305,
0.03721386194229126,
-0.05123431235551834,
0.036412160843610764,
-0.013759433291852474,
0.030557874590158463,
-0.03771725296974182,
-0.01735776662826538,
0.003011041320860386,
-0.02744428999722004,
-0.04381391406059265,
0.06719376146793365,
-0.0045515201054513454,
0.00411105016246438,
-0.006017421372234821,
-0.040159646421670914,
-0.02569173276424408,
0.04262068495154381,
0.05205465853214264,
-0.023566292598843575,
-0.03848166763782501,
0.045939356088638306,
-0.03777318820357323,
0.02151542901992798,
0.023473070934414864,
0.009611094370484352,
0.008371254429221153,
0.016267079859972,
0.06741749495267868,
0.047095295041799545,
0.015493345446884632,
-0.001612724969163537,
-0.0012246920960024,
-0.05123431235551834,
-0.07099718600511551,
-0.006674630101770163,
-0.02067643776535988,
0.01769336313009262,
-0.04023422300815582,
0.07957352697849274,
0.008278032764792442,
0.0246290136128664,
0.009648383595049381
] |
725,554 | syne_tune.tuner | _initialize_early_checkpoint_removal |
If the scheduler supports early checkpoint removal, the specific callback
for this is created here and appended to ``self.callbacks``.
| def _initialize_early_checkpoint_removal(self):
"""
If the scheduler supports early checkpoint removal, the specific callback
for this is created here and appended to ``self.callbacks``.
"""
if self.trial_backend.delete_checkpoints:
callback = (
self.scheduler.callback_for_checkpoint_removal(self.stop_criterion)
if isinstance(self.scheduler, RemoveCheckpointsSchedulerMixin)
else None
)
if callback is not None:
self.callbacks.append(callback)
| (self) | [
-0.0231862124055624,
0.042490728199481964,
-0.025438984856009483,
0.03188537433743477,
-0.04082714393734932,
-0.0009357664384879172,
0.012424899265170097,
0.1084795892238617,
-0.00043620364158414304,
-0.011549783870577812,
0.022181130945682526,
0.00824427604675293,
0.05160578712821007,
-0.06470651924610138,
-0.03736134245991707,
0.02684263326227665,
-0.0016354251420125365,
0.01745031215250492,
-0.02410465106368065,
-0.07735669612884521,
-0.032266613095998764,
-0.03874766081571579,
-0.033323682844638824,
0.025179049000144005,
-0.008668836206197739,
0.02150529995560646,
-0.0251963771879673,
0.009608934633433819,
0.014478386379778385,
0.03545515239238739,
-0.011653757654130459,
-0.0007792638498358428,
-0.03209332376718521,
0.020500216633081436,
0.005177041050046682,
0.04023795574903488,
0.03555912524461746,
0.03795052692294121,
-0.040515221655368805,
0.04172825068235397,
0.021418653428554535,
-0.023134225979447365,
0.008790139108896255,
0.022874290123581886,
-0.00606948509812355,
0.05521022155880928,
-0.03320237994194031,
0.014045161195099354,
0.021661261096596718,
-0.012754149734973907,
-0.026652013882994652,
-0.039891377091407776,
0.04779340326786041,
0.07784190773963928,
-0.02084679715335369,
0.011437145061790943,
0.0489371195435524,
-0.01576939783990383,
0.00824427604675293,
0.002653504488989711,
0.045921873301267624,
0.012450892478227615,
0.01998034678399563,
0.019564449787139893,
0.04949164763092995,
-0.04304525628685951,
-0.025317680090665817,
0.01708640158176422,
-0.023602109402418137,
0.019737740978598595,
-0.008330920711159706,
0.009357664734125137,
-0.019633766263723373,
-0.02420862391591072,
0.0420055165886879,
-0.019304515793919563,
-0.06113674119114876,
-0.05094728246331215,
-0.029268695041537285,
0.029771236702799797,
0.05195236578583717,
0.04373841732740402,
0.016020668670535088,
0.07555447518825531,
0.07059837877750397,
-0.04401567950844765,
0.07791122049093246,
-0.02881813980638981,
0.023307515308260918,
0.04952630400657654,
-0.02439924329519272,
-0.003613098291680217,
-0.00115021294914186,
-0.04813998565077782,
0.06851889938116074,
-0.007035577204078436,
-0.028315600007772446,
0.008408901281654835,
0.031174885109066963,
-0.059438496828079224,
0.04647640138864517,
-0.03656420856714249,
-0.009912192821502686,
0.01119453925639391,
0.031712085008621216,
-0.03864368796348572,
-0.024381915107369423,
-0.04841724783182144,
-0.016566531732678413,
-0.025976182892918587,
-0.007871702313423157,
-0.01629793271422386,
-0.0180741548538208,
0.04439691826701164,
-0.018490051850676537,
-0.02932068146765232,
0.011783725582063198,
-0.010743984952569008,
-0.013707245700061321,
-0.05354663357138634,
-0.00030406995210796595,
-0.006650006864219904,
-0.07298978418111801,
-0.01599467545747757,
-0.012936105020344257,
-0.04363444447517395,
0.05458637699484825,
0.11451008915901184,
0.08442692458629608,
-0.08442692458629608,
0.06338950991630554,
-0.04020329937338829,
-0.05742833390831947,
-0.08352582156658173,
-0.04810532554984093,
-0.09260621666908264,
0.06813766062259674,
0.023394161835312843,
-0.04363444447517395,
-0.03892095386981964,
-0.010631346143782139,
0.0025906867813318968,
-0.02077748067677021,
0.024260612204670906,
0.021574614569544792,
0.03555912524461746,
-0.07091030478477478,
0.028246283531188965,
0.019599108025431633,
0.021851878613233566,
0.0033293357118964195,
0.013178710825741291,
-0.0456446073949337,
-0.027050582692027092,
0.012459556572139263,
-0.031902704387903214,
-0.04973425343632698,
0.028696836903691292,
0.043322522193193436,
-0.0028094653971493244,
0.016635848209261894,
0.03587104752659798,
-0.02282230369746685,
-0.05153647065162659,
-0.028939444571733475,
0.047412168234586716,
-0.02238907851278782,
0.02450321801006794,
-0.04720421880483627,
0.05354663357138634,
0.004834793508052826,
0.04013398289680481,
0.004340916406363249,
-0.004093978088349104,
-0.030689673498272896,
0.059542473405599594,
0.04474350064992905,
-0.0032253616955131292,
-0.02070816420018673,
0.037188053131103516,
-0.0013343336759135127,
0.01378522627055645,
-0.0013494965387508273,
-0.0251963771879673,
0.012884117662906647,
0.007876033894717693,
-0.002759644528850913,
0.0332370363175869,
0.0039835055358707905,
0.02278764545917511,
-0.04366910085082054,
-0.0005897278315387666,
0.02344614826142788,
0.04450089484453201,
0.023030251264572144,
0.022562367841601372,
0.0021390493493527174,
0.06723655015230179,
-0.045194052159786224,
-0.022215789183974266,
-0.02216380089521408,
0.005909191910177469,
0.0551409050822258,
-0.08103044331073761,
0.0041373008862137794,
0.03552446514368057,
-0.019945688545703888,
0.03971808776259422,
-0.06221114099025726,
0.037049420177936554,
0.011012584902346134,
-0.003262185724452138,
-0.028540875762701035,
0.037742581218481064,
0.023359503597021103,
-0.03999534994363785,
0.0387130044400692,
0.04065385460853577,
0.004382072947919369,
0.017294351011514664,
-0.04405033960938454,
0.01520620472729206,
0.008599520660936832,
-0.032110653817653656,
0.020465558394789696,
0.03235325962305069,
0.014348418451845646,
-0.03261319175362587,
0.0379851870238781,
-0.012468221597373486,
0.020465558394789696,
0.010328088887035847,
-0.04744682461023331,
-0.07527720928192139,
0.08733820170164108,
-0.010951933450996876,
0.010137469507753849,
-0.011827047914266586,
-0.010562030598521233,
0.010873952880501747,
0.014045161195099354,
-0.000852370576467365,
0.00760310236364603,
-0.012892781756818295,
0.05701243877410889,
0.04720421880483627,
0.04287196695804596,
-0.016843795776367188,
-0.05566077306866646,
0.005510624498128891,
0.0015780228422954679,
-0.018247446045279503,
0.033756908029317856,
-0.025508299469947815,
-0.006190788000822067,
-0.05378924310207367,
0.04983822628855705,
0.008374243043363094,
0.02734517492353916,
0.03148680925369263,
0.022250447422266006,
0.07250457257032394,
-0.03881697729229927,
0.04443157836794853,
-0.04775874689221382,
-0.021054744720458984,
0.06418664753437042,
-0.0015087068313732743,
-0.013412652537226677,
0.019148554652929306,
0.03512590005993843,
-0.03812381625175476,
0.000006358764494507341,
-0.004377740900963545,
0.014478386379778385,
-0.03836642578244209,
-0.054725006222724915,
-0.050115492194890976,
0.02450321801006794,
0.03964877128601074,
0.07687147706747055,
-0.01020678598433733,
-0.01170574501156807,
0.05233360454440117,
-0.021886536851525307,
-0.047169558703899384,
-0.03330635279417038,
-0.013178710825741291,
-0.022770317271351814,
-0.060270290821790695,
-0.03432876616716385,
-0.01259818859398365,
0.03590570390224457,
0.04481281340122223,
0.055522143840789795,
-0.012988091446459293,
-0.017658259719610214,
0.002120637334883213,
0.021990511566400528,
0.037014760076999664,
0.05098194256424904,
-0.023238200694322586,
-0.04366910085082054,
0.009089064784348011,
0.008816133253276348,
-0.03505658358335495,
-0.02803833596408367,
0.02077748067677021,
0.029892539605498314,
-0.009297013282775879,
0.01413180585950613,
-0.07361362874507904,
0.0376039482653141,
-0.0056969113647937775,
0.03360094875097275,
-0.003652088576927781,
0.020534874871373177,
-0.020604191347956657,
0.04422362893819809,
0.029927197843790054,
-0.02677331678569317,
0.020916113629937172,
-0.018022168427705765,
0.05711641162633896,
-0.05313073843717575,
-0.047412168234586716,
0.019269857555627823,
0.009574277326464653,
-0.04228277876973152,
0.01024144422262907,
-0.03992603346705437,
-0.058190811425447464,
0.0022527710534632206,
0.011315842159092426,
-0.02819429710507393,
0.015656758099794388,
0.022181130945682526,
-0.0090370774269104,
-0.014443728141486645,
-0.0038405414670705795,
-0.003034742549061775,
0.03143481910228729,
-0.03552446514368057,
0.07728737592697144,
-0.005848540458828211,
0.016020668670535088,
0.032769154757261276,
0.002824628259986639,
0.0361483097076416,
-0.003985671792179346,
-0.019269857555627823,
-0.0037452320102602243,
-0.08006002008914948,
0.07506926357746124,
0.051467154175043106,
-0.03611365333199501,
-0.0024347256403416395,
-0.03964877128601074,
0.054135821759700775,
-0.05236826464533806,
0.02037891373038292,
0.010466720908880234,
-0.0325092189013958,
0.003652088576927781,
0.010293430648744106,
-0.03070700168609619,
0.020222952589392662,
-0.009245025925338268,
-0.018056826665997505,
-0.06668202579021454,
-0.04373841732740402,
-0.02377539873123169,
0.05046207085251808,
0.00803199503570795,
0.027258530259132385,
-0.04567926749587059,
0.005419647321105003,
0.03607899695634842,
0.01652320846915245,
0.06040892377495766,
-0.030429737642407417,
-0.0054153152741491795,
-0.03937150537967682,
-0.018975263461470604,
-0.029112733900547028,
-0.004067984875291586,
-0.07694079726934433,
0.01810881309211254,
0.08678366988897324,
-0.02684263326227665,
0.09038810431957245,
-0.00606948509812355,
-0.009799554012715816,
-0.039787404239177704,
0.045263368636369705,
0.0482093021273613,
0.014634347520768642,
0.005138050764799118,
0.03432876616716385,
-0.019841713830828667,
0.006810300052165985,
0.02030959725379944,
-0.007971343584358692,
0.027293188497424126,
0.025386996567249298,
0.009920856915414333,
-0.010795972310006618,
0.027986347675323486,
0.03280381113290787,
0.04034193232655525,
0.03458870202302933,
-0.025144390761852264,
0.02183455042541027,
-0.04848656430840492,
0.0015487801283597946,
0.0031820391304790974,
-0.03971808776259422,
0.03867834806442261,
0.0161592997610569,
-0.018212787806987762,
-0.02001500502228737,
0.060928791761398315,
0.022597026079893112,
-0.0029762571211904287,
0.023012923076748848,
0.035368505865335464,
-0.035663098096847534,
0.03337566927075386,
-0.052056342363357544,
0.006572026293724775,
-0.018975263461470604,
-0.01771024614572525,
-0.01876731589436531,
-0.0023394161835312843,
-0.04848656430840492,
0.08796204626560211,
0.0038968606386333704,
0.013343336060643196,
-0.018715329468250275,
-0.006615349091589451,
-0.01738099567592144,
0.022250447422266006,
0.029476642608642578,
-0.019997674971818924,
0.009721573442220688,
0.013828548602759838,
-0.05396253243088722,
-0.003268684260547161,
-0.013300013728439808,
0.004761144984513521,
-0.027709083631634712,
-0.02377539873123169,
-0.01629793271422386,
0.04276799410581589,
-0.01803949847817421,
-0.013022749684751034,
0.00304990541189909,
0.016644513234496117,
-0.032006677240133286,
-0.004947431851178408,
-0.01276281476020813,
0.056042011827230453,
-0.04852122440934181,
-0.0577055960893631,
0.03957945480942726,
0.05451706051826477,
0.013871870934963226,
0.01793552376329899,
-0.027189213782548904,
0.0016895782900974154,
0.03826244920492172,
-0.027986347675323486,
0.008469552733004093,
-0.041936200112104416,
0.004882447887212038,
0.013681251555681229,
0.0035329514648765326,
-0.01902725175023079,
0.05129386484622955,
0.0020177464466542006,
0.022649014368653297,
-0.016635848209261894,
-0.0028008008375763893,
-0.019581779837608337,
-0.019044579938054085,
-0.04505542293190956,
-0.09974577277898788,
-0.05947315692901611,
-0.01902725175023079,
-0.0045315357856452465,
-0.07250457257032394,
-0.035368505865335464,
0.012442227452993393,
0.015370829962193966,
0.06678599864244461,
-0.037014760076999664,
0.03822779282927513,
0.05049673095345497,
0.11984742432832718,
-0.030793648213148117,
0.0067193228751420975,
0.03666818141937256,
-0.020725494250655174,
0.02964993380010128,
-0.029788564890623093,
-0.02625344693660736,
-0.03327169641852379,
0.003387821139767766,
-0.08740751445293427,
0.03162543848156929,
0.06491446495056152,
0.00029594695661216974,
0.014253109693527222,
0.007434144616127014,
-0.022146472707390785,
-0.021817222237586975,
0.010596688836812973,
-0.004080981481820345,
0.0635628029704094,
0.06314690411090851,
0.0003384572046343237,
0.03526453301310539,
0.022683672606945038,
-0.016497215256094933,
0.007096228655427694,
-0.038539715111255646,
-0.03680681437253952,
-0.015076236799359322,
0.017900865525007248,
0.0180741548538208,
0.02684263326227665,
-0.02387937344610691,
0.0346926748752594,
-0.010726655833423138,
-0.011237861588597298,
0.020569533109664917,
-0.00215204618871212,
-0.04335717856884003,
-0.0010706078028306365,
-0.031313516199588776,
0.03308107703924179,
-0.010345418006181717,
0.02836758643388748,
0.01068333350121975,
-0.023619437590241432,
-0.005740234162658453,
-0.004122138023376465,
0.045887213200330734,
-0.04311457276344299,
0.02789970301091671,
0.011281183920800686,
-0.006056488491594791,
0.04065385460853577,
-0.017484968528151512,
-0.014001838862895966,
-0.03100159578025341,
0.010743984952569008,
-0.02183455042541027,
0.05188304930925369,
0.013395323418080807,
-0.06740984320640564,
0.0014978761319071054,
-0.015258192084729671,
-0.012823466211557388,
0.021955853328108788,
0.00228309677913785,
0.013152717612683773,
-0.0014177295379340649,
0.014270437881350517,
0.01946047693490982,
0.05309608206152916,
-0.032041337341070175,
-0.015977345407009125,
-0.025179049000144005,
-0.0799906998872757,
-0.01998034678399563,
-0.00001482442530686967,
-0.03205866366624832,
-0.0018087152857333422,
-0.043183889240026474,
0.03103625401854515,
-0.02694660797715187,
0.03829710930585861,
-0.04914506897330284,
-0.02545631304383278,
-0.01688711903989315,
0.04172825068235397,
0.04703092947602272,
-0.05524487793445587,
-0.0051727090030908585,
-0.01652320846915245,
0.06581557542085648,
-0.012147635221481323,
-0.030291106551885605,
-0.0025343673769384623,
-0.004778474103659391,
0.027778400108218193,
0.02582022175192833,
-0.07583174109458923,
0.02110673114657402,
-0.02855820581316948,
0.050115492194890976,
0.02282230369746685,
-0.01119453925639391,
0.026045499369502068,
-0.04581789672374725,
-0.048694513738155365,
-0.011151216924190521,
-0.031937360763549805,
-0.0029156056698411703,
0.007195870857685804,
0.02420862391591072,
0.0898335799574852,
-0.02486712671816349,
0.029788564890623093,
-0.04283730685710907,
0.014980928041040897,
-0.07728737592697144,
0.02110673114657402,
0.025023087859153748,
-0.016012003645300865,
-0.023238200694322586,
0.007551115471869707,
0.0031170553993433714,
-0.058294784277677536,
-0.0456446073949337,
0.036876130849123,
-0.05999302491545677,
0.011411151848733425,
-0.006026162765920162,
-0.004626845009624958,
-0.010284766554832458,
-0.02015363611280918,
-0.09246759116649628,
0.03805450350046158,
-0.011350500397384167,
-0.009063071571290493,
0.010648675262928009,
0.042352095246315,
-0.09884466230869293,
0.005896194837987423,
0.010397405363619328,
0.02015363611280918,
-0.03628694266080856,
-0.016601189970970154,
-0.023758070543408394,
-0.017303014174103737,
0.02899143099784851,
0.07957480847835541,
0.029476642608642578,
-0.024347256869077682,
0.01071799173951149,
-0.04477815702557564,
0.04786271974444389,
-0.09974577277898788,
0.042594701051712036,
-0.0031257199589163065,
-0.02077748067677021,
0.049214381724596024,
-0.06328553706407547,
-0.016661841422319412,
-0.00029161470592953265,
-0.054066505283117294,
0.05787888914346695,
0.04477815702557564,
0.0004581356479320675,
0.0006000169087201357,
0.04450089484453201,
-0.04619913548231125,
-0.032041337341070175,
-0.06307759135961533,
-0.03008315898478031,
0.011220532469451427,
-0.005194370169192553,
-0.01701708696782589,
-0.05929986760020256,
-0.055348850786685944,
0.0003644507087301463,
0.015682753175497055,
0.023463476449251175,
0.00509472843259573,
0.022666342556476593,
-0.049422331154346466,
-0.04172825068235397,
-0.00812730472534895,
0.06273101270198822,
-0.027379833161830902,
0.004596519283950329,
0.04540200158953667,
0.001076564658433199,
-0.015067572705447674,
0.04779340326786041,
0.04626845195889473,
0.021661261096596718,
-0.005956846754997969,
-0.04405033960938454,
-0.0785350650548935,
-0.021539956331253052,
-0.009998837485909462,
-0.025404326617717743,
0.053511977195739746,
-0.005081731826066971,
-0.08643709123134613,
-0.007126554846763611,
-0.024676507338881493,
0.02713722735643387,
-0.07971344143152237,
-0.02935533970594406,
-0.046025846153497696,
0.014565031044185162,
0.002958928234875202,
-0.010475385002791882,
0.02235442027449608,
-0.04283730685710907,
-0.029372669756412506,
-0.001671166275627911,
-0.03086296282708645,
-0.07590105384588242,
0.018282104283571243,
0.0016754984389990568,
0.037153393030166626,
-0.002343748463317752,
0.004191454034298658,
0.02691194973886013,
-0.02282230369746685,
0.018542038276791573,
0.035732414573431015,
-0.0613446906208992,
-0.01998034678399563,
-0.026963936164975166,
0.03888629376888275,
-0.01985904388129711,
-0.0153361726552248,
0.0646371990442276,
0.06470651924610138,
-0.02249305322766304,
0.024347256869077682,
0.021054744720458984,
0.009920856915414333,
-0.006862287409603596,
-0.010769978165626526,
-0.0558687224984169,
-0.013516626320779324,
0.05812149494886398,
0.012312260456383228,
0.00914971623569727,
0.033912867307662964,
-0.003444140311330557,
0.03971808776259422,
0.02585487999022007,
-0.029459314420819283,
0.024087321013212204,
0.028644850477576256,
0.018576696515083313,
-0.0690387710928917,
-0.007005251478403807,
-0.0038232123479247093,
0.05157112702727318,
-0.05115523189306259,
-0.03427677974104881,
-0.001673332299105823,
-0.01122919749468565,
0.013646594248712063,
-0.0013473303988575935,
0.10002303868532181,
-0.007234861142933369,
0.039198216050863266,
0.042594701051712036
] |
725,555 | syne_tune.tuner | _process_new_results | Communicates new results from the backend to the scheduler
Returns dictionary of trials which are not running, along with their
status, in ``done_trials_statuses``, and list of new results (tuples
``(trial_id, result)``), observed since the previous call, in
``new_results``.
:param running_trials_ids: Trials currently running
:return: ``(done_trials_statuses, new_results)``
| def _process_new_results(
self, running_trials_ids: Set[int]
) -> (TrialAndStatusInformation, TrialIdAndResultList):
"""Communicates new results from the backend to the scheduler
Returns dictionary of trials which are not running, along with their
status, in ``done_trials_statuses``, and list of new results (tuples
``(trial_id, result)``), observed since the previous call, in
``new_results``.
:param running_trials_ids: Trials currently running
:return: ``(done_trials_statuses, new_results)``
"""
# fetch new results
trial_status_dict, new_results = self.trial_backend.fetch_status_results(
trial_ids=list(running_trials_ids)
)
for callback in self.callbacks:
callback.on_fetch_status_results(
trial_status_dict=trial_status_dict, new_results=new_results
)
assert len(running_trials_ids) <= self.n_workers
# Gets list of trials that are done with the new results.
# The trials can be finished for different reasons:
# - they completed,
# - they were stopped independently of the scheduler, e.g. due to a
# timeout argument or a manual interruption
# - scheduler decided to interrupt them.
# Note: ``done_trials`` includes trials which are paused.
done_trials_statuses = self._update_running_trials(
trial_status_dict, new_results
)
trial_status_dict.update(done_trials_statuses)
# update status with new results and all done trials
self.tuning_status.update(
trial_status_dict=trial_status_dict, new_results=new_results
)
return done_trials_statuses, new_results
| (self, running_trials_ids: Set[int]) -> (typing.Dict[int, typing.Tuple[syne_tune.backend.trial_status.Trial, str]], typing.List[typing.Tuple[int, dict]]) | [
-0.0014536987291648984,
0.01371835544705391,
-0.09157732129096985,
0.00036370972520671785,
-0.031796667724847794,
-0.02665228396654129,
-0.046846725046634674,
-0.01667363941669464,
0.033128369599580765,
0.02176329493522644,
-0.03280000388622284,
0.029206233099102974,
0.029169747605919838,
0.008792881853878498,
-0.010133705101907253,
0.02004850097000599,
0.007000557146966457,
0.027856288477778435,
-0.024189546704292297,
-0.02234705537557602,
-0.028841383755207062,
0.012943049892783165,
0.02493749000132084,
0.11864917725324631,
0.017667856067419052,
-0.018753284588456154,
0.004535540007054806,
-0.07172948867082596,
-0.018507009372115135,
0.024955730885267258,
0.03597419708967209,
0.02128899097442627,
-0.007073527202010155,
0.0010694662341848016,
0.006658510304987431,
0.0272178016602993,
-0.02167208306491375,
0.016947276890277863,
-0.014256509020924568,
0.03050144948065281,
0.005896886344999075,
-0.0544356033205986,
0.013088989071547985,
-0.00944049097597599,
0.006051947362720966,
0.003851446555927396,
-0.03349321708083153,
-0.009476975537836552,
0.012760624289512634,
-0.01279710978269577,
-0.012432259507477283,
-0.01204004604369402,
-0.020176198333501816,
0.06468788534402847,
0.03965918347239494,
0.0429428294301033,
-0.03301891312003136,
-0.020960625261068344,
0.0028549502603709698,
-0.08267498016357422,
0.010425585322082043,
-0.014603116549551487,
0.0024490547366440296,
0.04571568965911865,
0.038783542811870575,
-0.010024250485002995,
0.02606852352619171,
-0.00882024597376585,
-0.04436574503779411,
0.03641201928257942,
0.014922359958291054,
0.010608009994029999,
-0.012085651978850365,
-0.04246852546930313,
0.008386986330151558,
0.048488549888134,
-0.007365406956523657,
-0.046664297580718994,
0.005103337578475475,
0.00008123610314214602,
0.03137708827853203,
0.026433372870087624,
-0.009048276580870152,
-0.017002005130052567,
0.006594661623239517,
0.04640890285372734,
-0.00453325966373086,
-0.022748390212655067,
-0.06446897238492966,
-0.030519692227244377,
-0.020157955586910248,
-0.0006470384541898966,
0.01773170381784439,
-0.008076864294707775,
0.0022860125172883272,
-0.03690456598997116,
-0.043781984597444534,
-0.07997509092092514,
-0.05625985190272331,
-0.045496780425310135,
-0.0026839268393814564,
-0.04276040568947792,
-0.012049167416989803,
-0.026013797149062157,
0.07078087329864502,
-0.07815084606409073,
-0.05673415586352348,
-0.015843605622649193,
0.014119690284132957,
0.007958288304507732,
-0.0031992774456739426,
0.03635729104280472,
-0.0739915519952774,
-0.0037055066786706448,
-0.016810458153486252,
-0.023441605269908905,
-0.013736598193645477,
0.003566407598555088,
-0.06757019460201263,
0.028111683204770088,
0.01165695395320654,
-0.010370858013629913,
0.02858598716557026,
0.030428480356931686,
-0.06494327634572983,
0.014466297812759876,
0.011328589171171188,
0.009331035427749157,
0.05151680111885071,
-0.03252636641263962,
-0.012678532861173153,
0.0037488325033336878,
-0.006681313272565603,
0.034460071474313736,
0.033602673560380936,
0.01207653060555458,
-0.006024583708494902,
0.06264472752809525,
0.0026907678693532944,
-0.013773082755506039,
0.030373752117156982,
-0.001527808839455247,
0.034861404448747635,
-0.020978868007659912,
0.011857621371746063,
-0.014639601111412048,
0.009714128449559212,
0.04035239666700363,
-0.03537219390273094,
-0.008022136986255646,
-0.020012015476822853,
-0.023934151977300644,
0.0009377782116644084,
0.0204133503139019,
-0.02674349583685398,
-0.008190879598259926,
0.04987498000264168,
-0.005472748074680567,
0.042030707001686096,
-0.04071724787354469,
0.013262293301522732,
-0.055384211242198944,
0.03128587827086449,
-0.04381847009062767,
0.01797797717154026,
0.05304917320609093,
-0.016910791397094727,
0.032471638172864914,
-0.07125518471002579,
-0.0293339304625988,
0.048269640654325485,
0.04772236570715904,
0.0065718586556613445,
-0.0073061189614236355,
-0.09398532658815384,
-0.02743671089410782,
0.017175307497382164,
-0.009622915647923946,
0.06676752865314484,
0.006147720385342836,
-0.04173882678151131,
-0.010133705101907253,
-0.06344739347696304,
0.015624696388840675,
0.024846276268363,
0.03787141665816307,
-0.01165695395320654,
0.048962853848934174,
0.0235875453799963,
0.012632926926016808,
-0.02138020284473896,
-0.05199110880494118,
0.021015353500843048,
0.01673748902976513,
-0.03593771159648895,
0.00939488410949707,
-0.02360578626394272,
0.0027454954106360674,
-0.012432259507477283,
-0.0063529484905302525,
-0.005103337578475475,
-0.026013797149062157,
0.023368634283542633,
-0.024791549891233444,
0.014128811657428741,
0.006430479232221842,
-0.07238621264696121,
-0.03407697752118111,
0.010480312630534172,
0.00982358306646347,
0.018771525472402573,
0.002026056870818138,
0.003710067132487893,
0.06435951590538025,
-0.006585540249943733,
-0.002528865821659565,
0.06202447786927223,
0.004920912906527519,
0.0373971126973629,
-0.05129789188504219,
0.005039488896727562,
-0.08625051379203796,
0.007730256766080856,
-0.028020471334457397,
-0.0017683818005025387,
0.04323470965027809,
0.03965918347239494,
0.016171971336007118,
-0.011565741151571274,
-0.010845162905752659,
0.0318513959646225,
-0.037050504237413406,
0.025174641981720924,
-0.05385184288024902,
-0.04907231032848358,
-0.022274084389209747,
-0.021033596247434616,
-0.006266296841204166,
0.028731927275657654,
0.06819044053554535,
-0.01899043656885624,
-0.020176198333501816,
0.021325474604964256,
-0.027582651004195213,
-0.01773170381784439,
-0.03617486357688904,
-0.0072103459388017654,
0.0437454991042614,
0.012249834835529327,
0.0031992774456739426,
0.02552124857902527,
-0.006749722640961409,
-0.009613794274628162,
-0.013782204128801823,
0.03057442046701908,
-0.026232706382870674,
-0.0360836535692215,
-0.0475764237344265,
0.07355373352766037,
-0.04863448813557625,
0.06395818293094635,
0.07304294407367706,
-0.07300645858049393,
0.01112792082130909,
-0.05790167674422264,
0.0026611238718032837,
0.001482202671468258,
0.015606453642249107,
0.005262959282845259,
0.04403737932443619,
0.053559962660074234,
0.015013572759926319,
-0.04316174238920212,
-0.010316130705177784,
-0.02904205024242401,
0.020395107567310333,
-0.0015597331803292036,
0.015068300068378448,
-0.029388656839728355,
-0.041264522820711136,
0.020395107567310333,
0.03433237224817276,
-0.05093304440379143,
-0.04392792657017708,
0.034478314220905304,
0.00005020248863729648,
-0.010608009994029999,
0.04604405537247658,
-0.010051614604890347,
-0.01710233837366104,
-0.0036462184507399797,
-0.004553782753646374,
0.033037155866622925,
-0.05016685649752617,
0.016591548919677734,
0.02185450680553913,
-0.05753682553768158,
-0.05348699167370796,
-0.008405229076743126,
0.026141494512557983,
-0.03537219390273094,
0.004793215077370405,
0.01822425052523613,
-0.024371972307562828,
-0.05319511145353317,
0.029680537059903145,
0.03411346301436424,
-0.017147943377494812,
0.01682870090007782,
-0.0348796471953392,
-0.00003840900171780959,
-0.01919110305607319,
0.0197566207498312,
-0.01318020187318325,
0.03940378502011299,
-0.035737045109272,
-0.03575528785586357,
-0.0176404919475317,
0.0071875425055623055,
0.04834260791540146,
-0.05553015321493149,
0.04144694656133652,
0.071474090218544,
0.012824472971260548,
0.031395331025123596,
-0.05213704705238342,
-0.009650278836488724,
0.029279202222824097,
-0.02176329493522644,
0.023514574393630028,
-0.022292327135801315,
-0.019519468769431114,
0.0429428294301033,
0.007666408084332943,
0.026524586603045464,
0.02194572053849697,
0.03546340763568878,
0.016409123316407204,
0.057208459824323654,
-0.024390215054154396,
0.02079644240438938,
-0.0429428294301033,
-0.02254772186279297,
0.056515246629714966,
-0.034478314220905304,
0.02052280493080616,
0.005098776891827583,
0.025174641981720924,
0.0717659741640091,
-0.09157732129096985,
-0.07238621264696121,
-0.009549945592880249,
-0.03491613268852234,
0.10339845716953278,
0.03710523247718811,
-0.019592437893152237,
0.015569968149065971,
-0.037433598190546036,
0.0314500592648983,
-0.0798291563987732,
-0.10164717584848404,
0.05158977210521698,
-0.009668521583080292,
0.06778910756111145,
-0.014302114956080914,
-0.029115019366145134,
-0.010525918565690517,
-0.04812369868159294,
-0.02676173858344555,
-0.03599243983626366,
0.02444494143128395,
-0.0004688891058322042,
0.01017019059509039,
0.010671858675777912,
0.032343942672014236,
0.011666074395179749,
-0.027345499023795128,
-0.0010797276627272367,
-0.057390887290239334,
0.022128144279122353,
0.004214016254991293,
-0.005304004997014999,
-0.06191502511501312,
0.01797797717154026,
0.045971084386110306,
0.0023624028544873,
-0.030556177720427513,
-0.02692592144012451,
0.006047386676073074,
0.017403339967131615,
0.001921162591315806,
0.013389990665018559,
0.021234262734651566,
0.014575752429664135,
0.02568543143570423,
-0.0045720250345766544,
0.0022552283480763435,
-0.020358623936772346,
-0.0048707458190619946,
-0.06238932907581329,
-0.011419801041483879,
-0.032362185418605804,
-0.00138414918910712,
0.048561517149209976,
0.013125474564731121,
-0.049729038029909134,
0.03626607730984688,
-0.016518577933311462,
-0.040899671614170074,
-0.040790215134620667,
0.01935528591275215,
-0.012514350935816765,
0.014885875396430492,
-0.03765250742435455,
-0.10566052794456482,
0.08231013268232346,
-0.12441381067037582,
0.0387105718255043,
0.0769103541970253,
0.06607431173324585,
0.02665228396654129,
0.028020471334457397,
0.08727209270000458,
0.0197566207498312,
-0.011967075988650322,
0.02090589888393879,
0.0416293703019619,
0.010662737302482128,
-0.0269624050706625,
-0.06359333544969559,
0.05104249715805054,
-0.051918137818574905,
0.024973973631858826,
-0.02887786738574505,
0.003365740180015564,
0.015004451386630535,
-0.007734817452728748,
0.04276040568947792,
-0.0016110402066260576,
0.031504787504673004,
-0.015807120129466057,
0.016126364469528198,
0.021909235045313835,
-0.017184428870677948,
0.010288766585290432,
-0.0544356033205986,
-0.016929034143686295,
-0.06910257041454315,
-0.04998443275690079,
-0.002133231610059738,
-0.02849477529525757,
0.020577533170580864,
0.01633615419268608,
0.03644850105047226,
0.04458465427160263,
0.03809032589197159,
-0.043015800416469574,
-0.0065672979690134525,
-0.02915150485932827,
0.028111683204770088,
0.02798398584127426,
0.00014095177175477147,
-0.031103452667593956,
0.07501313835382462,
-0.025575976818799973,
-0.07457531243562698,
-0.010379979386925697,
-0.0172117929905653,
-0.05494639277458191,
0.01804182678461075,
0.05082358792424202,
0.015360180288553238,
0.024426698684692383,
0.029388656839728355,
0.010352615267038345,
0.011282982304692268,
-0.05301268771290779,
-0.062279872596263885,
-0.013116353191435337,
-0.012915685772895813,
0.04746697098016739,
0.01712058112025261,
0.028750170022249222,
0.005381535738706589,
-0.006881980691105127,
-0.07428343594074249,
0.036503229290246964,
0.016162849962711334,
0.0005800543003715575,
0.0007918382761999965,
-0.0016646275762468576,
-0.07880757004022598,
0.05275729298591614,
0.04111858084797859,
-0.06822692602872849,
-0.020924139767885208,
0.05341402068734169,
0.041191551834344864,
0.054326146841049194,
0.008076864294707775,
0.07603471726179123,
-0.07129166275262833,
-0.013216686435043812,
0.04053482040762901,
0.06578243523836136,
0.00047915050527080894,
0.00882024597376585,
0.017585763707756996,
-0.07198487967252731,
0.004626752343028784,
-0.045204900205135345,
-0.04100912809371948,
0.013025140389800072,
-0.05936107411980629,
-0.020358623936772346,
-0.020157955586910248,
-0.012021803297102451,
-0.01429299358278513,
-0.04870745912194252,
0.017175307497382164,
-0.009559066966176033,
0.04509544372558594,
0.004738487768918276,
0.05210056155920029,
-0.026871193200349808,
0.037433598190546036,
-0.0675337091088295,
-0.0029370414558798075,
-0.010279645211994648,
0.020778199657797813,
-0.05169922858476639,
-0.012377532199025154,
0.02741846814751625,
-0.025101670995354652,
0.03020956926047802,
-0.010379979386925697,
-0.05859488993883133,
-0.05589500069618225,
0.00395406037569046,
-0.016974641010165215,
0.04283337667584419,
0.04100912809371948,
-0.03491613268852234,
-0.01558821089565754,
0.009905674494802952,
0.0010734567185863853,
-0.04286986216902733,
0.03097575530409813,
0.03059266321361065,
-0.009476975537836552,
-0.0046883211471140385,
-0.003513960400596261,
0.047029148787260056,
0.04629945009946823,
-0.06195151060819626,
0.013709234073758125,
0.01917286030948162,
-0.016272304579615593,
0.02088765613734722,
0.033237822353839874,
0.03000890277326107,
-0.03440534323453903,
0.008633260615170002,
-0.015177754685282707,
-0.00846907775849104,
0.00474760914221406,
0.025849614292383194,
0.044073864817619324,
-0.03929433226585388,
-0.03586474433541298,
0.017585763707756996,
0.021252505481243134,
-0.056442275643348694,
-0.03489788994193077,
-0.04622647911310196,
-0.04257798194885254,
0.020942382514476776,
-0.042432039976119995,
0.004706563428044319,
-0.011775529943406582,
0.00026451615849509835,
0.026889435946941376,
0.0005028087180107832,
-0.05293971672654152,
0.014302114956080914,
-0.012222470715641975,
-0.08566675335168839,
0.0018595942528918386,
0.06155017390847206,
0.06300957500934601,
0.02196396328508854,
0.09887431561946869,
-0.01691991277039051,
0.009057397954165936,
0.01505005732178688,
0.03575528785586357,
-0.02117953635752201,
0.004825139418244362,
-0.03856463357806206,
-0.01318020187318325,
-0.06800802052021027,
0.009841825813055038,
0.009166853502392769,
-0.030720360577106476,
0.04746697098016739,
-0.05976241081953049,
-0.007529589347541332,
0.0028435487765818834,
-0.03661268576979637,
0.017357733100652695,
0.03549989312887192,
-0.017403339967131615,
0.11594928801059723,
0.009153171442449093,
0.10244984924793243,
-0.012067410163581371,
-0.022565964609384537,
-0.01599866710603237,
0.02453615516424179,
-0.02760089375078678,
-0.006526252254843712,
0.007625362370163202,
-0.011511013843119144,
0.028129925951361656,
-0.03194260597229004,
-0.020577533170580864,
0.04276040568947792,
-0.04053482040762901,
0.0033999448642134666,
-0.017941493541002274,
-0.04575217515230179,
0.023551059886813164,
0.07712926715612411,
-0.031778424978256226,
0.028531260788440704,
0.0005848999717272818,
0.022091660648584366,
-0.0008100807317532599,
0.05323159694671631,
-0.07888054102659225,
0.035718802362680435,
0.017047610133886337,
-0.00031724837026558816,
-0.027199558913707733,
0.022420024499297142,
-0.0425414964556694,
-0.06136775016784668,
-0.014420691877603531,
0.05600445717573166,
0.07453882694244385,
-0.04538732394576073,
0.03124939277768135,
-0.08063182234764099,
0.038017358630895615,
-0.05399778112769127,
0.030720360577106476,
-0.031486544758081436,
0.007324361242353916,
-0.007242270279675722,
0.02646985836327076,
-0.02117953635752201,
-0.006106674671173096,
-0.0009377782116644084,
-0.029698779806494713,
-0.011666074395179749,
0.07129166275262833,
0.003769355360418558,
0.054326146841049194,
0.03535395488142967,
-0.025575976818799973,
0.07012414932250977,
-0.03885651379823685,
0.06950390338897705,
0.032179757952690125,
-0.03882002830505371,
0.031687211245298386,
-0.045606233179569244,
0.0022335653193295,
-0.01669188216328621,
-0.014803783968091011,
-0.0235875453799963,
-0.010370858013629913,
-0.03588298708200455,
-0.005668854806572199,
0.03593771159648895,
-0.019245831295847893,
0.03259933739900589,
-0.02128899097442627,
0.017968855798244476,
0.003361179493367672,
-0.02951635606586933,
0.05133437737822533,
-0.016281425952911377,
0.011018466204404831,
-0.025539491325616837,
0.021434931084513664,
-0.04881691187620163,
-0.06771613657474518,
0.032471638172864914,
-0.01453014649450779,
0.006430479232221842,
-0.014247387647628784,
0.018306342884898186,
0.009289990179240704,
0.022511238232254982,
0.03238042816519737,
-0.029607567936182022,
-0.011392437852919102,
0.03117642179131508,
-0.05129789188504219,
0.01231368351727724,
0.041373975574970245,
-0.0009349278407171369,
-0.006909344345331192,
-0.045971084386110306,
0.0014172137016430497,
0.051918137818574905,
0.006106674671173096,
0.05213704705238342,
0.0172117929905653,
0.025721916928887367,
0.019063405692577362,
0.05323159694671631,
0.015022694133222103,
-0.020084986463189125,
0.01337174791842699,
0.050860073417425156,
-0.05760979652404785,
0.022456509992480278,
0.0082775317132473,
0.023514574393630028,
0.018196888267993927,
-0.05542069673538208,
-0.02023092657327652,
-0.0002873192715924233,
-0.012724139727652073,
0.05830300971865654,
0.006179644726216793,
-0.002366963541135192,
0.060747504234313965,
-0.01606251671910286,
-0.01802358403801918,
0.025065187364816666,
-0.014119690284132957,
-0.08486407995223999,
0.003516240743920207,
0.03684983775019646,
-0.021745052188634872,
-0.01732124760746956,
-0.04068076238036156,
0.07059845328330994,
-0.0045651840046048164,
-0.016682760789990425,
-0.012204227969050407,
0.007762181106954813,
0.06030968576669693,
0.05137086287140846,
-0.01356329396367073,
-0.011200890876352787,
0.00997864454984665,
0.02367875725030899,
0.03604716807603836,
-0.014703449793159962,
0.047029148787260056,
0.030446723103523254,
0.016792215406894684,
0.01577063649892807,
0.05983538180589676
] |
725,556 | syne_tune.tuner | _save_metadata | null | def _save_metadata(self):
dump_json_with_numpy(self.metadata, self.tuner_path / ST_METADATA_FILENAME)
| (self) | [
-0.005965528544038534,
0.0015318579971790314,
-0.03805982321500778,
0.013807479292154312,
0.04775743931531906,
-0.010029726661741734,
-0.05825211852788925,
0.03410771116614342,
0.023280920460820198,
0.022234775125980377,
-0.028926793485879898,
-0.005176766775548458,
0.0101210568100214,
-0.015816746279597282,
0.028212757781147957,
0.027864040806889534,
-0.016879498958587646,
0.030720189213752747,
-0.0069078910164535046,
0.03324422612786293,
-0.006891285534948111,
-0.037528447806835175,
-0.025854775682091713,
-0.0174855999648571,
0.023696059361100197,
-0.006600689142942429,
0.05695689097046852,
-0.039155784994363785,
0.010893212631344795,
0.0396539531648159,
-0.06625597178936005,
-0.09053322672843933,
0.056093402206897736,
0.07346276193857193,
-0.011939359828829765,
-0.002449312247335911,
0.008626560680568218,
0.03400807827711105,
-0.10833433270454407,
-0.0002588123898021877,
-0.035934317857027054,
-0.010461469180881977,
-0.030371472239494324,
0.0037486932706087828,
0.04340679571032524,
0.005699840374290943,
-0.013408946804702282,
0.01676326058804989,
0.06346625089645386,
-0.009539864026010036,
-0.04842165857553482,
0.021354682743549347,
-0.05363578721880913,
0.043838538229465485,
-0.04828881472349167,
-0.013458764180541039,
0.05891634151339531,
0.03374239057302475,
-0.020839910954236984,
0.033559732139110565,
0.025788353756070137,
0.011324956081807613,
0.035934317857027054,
-0.03231431916356087,
0.010312019847333431,
0.017950553447008133,
-0.012769634835422039,
-0.005994588136672974,
-0.025456242263317108,
0.00785855669528246,
-0.00842729490250349,
-0.11949323117733002,
0.05586092546582222,
0.029043031856417656,
-0.035934317857027054,
-0.01801697537302971,
-0.06808257848024368,
-0.07957359403371811,
-0.011432891711592674,
-0.018498534336686134,
-0.04098239168524742,
-0.02250046283006668,
-0.006098372396081686,
-0.01902991160750389,
-0.03203202411532402,
0.011507616378366947,
0.016945920884609222,
0.01851513981819153,
-0.010644130408763885,
-0.021354682743549347,
0.018996700644493103,
0.04692716524004936,
0.0072732120752334595,
0.06163964420557022,
0.018498534336686134,
-0.05968019366264343,
-0.04842165857553482,
-0.00743096461519599,
0.004778234753757715,
-0.002725378843024373,
-0.06310092657804489,
-0.03879046440124512,
0.02162037044763565,
0.03148404136300087,
-0.0009335408685728908,
-0.010436560958623886,
0.007933281362056732,
0.03337706997990608,
-0.04257652163505554,
0.021969085559248924,
-0.03136780485510826,
0.05380184203386307,
-0.020873121917247772,
-0.02914266474545002,
0.07572111487388611,
-0.030089179053902626,
0.0884077176451683,
-0.021636975929141045,
0.018050186336040497,
-0.018681196495890617,
-0.02542303130030632,
0.030072573572397232,
-0.01721991039812565,
0.026867710053920746,
-0.032463766634464264,
0.011640460230410099,
0.05390147864818573,
0.06814900040626526,
-0.01726972684264183,
-0.06183890998363495,
-0.02776440791785717,
-0.013782571069896221,
0.005579450633376837,
0.0413145013153553,
0.0421447791159153,
-0.03339367359876633,
0.050613585859537125,
-0.039155784994363785,
-0.03161688521504402,
-0.001564031234011054,
-0.05589413642883301,
-0.01718669943511486,
-0.002947477623820305,
-0.025854775682091713,
0.049617256969213486,
-0.02459275722503662,
-0.034140922129154205,
-0.014729085378348827,
0.006330849602818489,
-0.08780992031097412,
0.027664775028824806,
-0.028063306584954262,
-0.0550970733165741,
-0.03261321783065796,
-0.01944504864513874,
-0.042676154524087906,
0.02107238955795765,
0.007812891155481339,
-0.010901515372097492,
0.03879046440124512,
-0.004016457125544548,
-0.02693413384258747,
-0.002708773361518979,
0.017867526039481163,
-0.039155784994363785,
0.007729863747954369,
0.012960598804056644,
0.023596426472067833,
-0.014521515928208828,
0.016032617539167404,
0.025024499744176865,
-0.028113124892115593,
-0.04387174919247627,
0.011632157489657402,
-0.015559360384941101,
0.04500092566013336,
0.05572808161377907,
-0.002912190742790699,
0.00613573519513011,
0.04549909010529518,
-0.001983320340514183,
0.003952110651880503,
-0.04373890534043312,
0.021803030744194984,
0.003013899549841881,
-0.035602208226919174,
-0.0019376551499590278,
0.0037466175854206085,
0.02930872142314911,
0.07392771542072296,
0.11305029690265656,
0.04596404358744621,
-0.02153734304010868,
-0.005679083522409201,
0.07246643304824829,
-0.04344000667333603,
0.05267266929149628,
-0.038026612251996994,
-0.007439267355948687,
0.03106890432536602,
0.012346195057034492,
-0.032463766634464264,
0.02261670120060444,
-0.02090633288025856,
0.021969085559248924,
-0.028495050966739655,
-0.0015744096599519253,
-0.026103857904672623,
-0.050281476229429245,
-0.00011111419735243544,
0.0032858147751539946,
-0.005679083522409201,
0.00036661847843788564,
-0.025140738114714622,
0.05908239632844925,
-0.05828532949090004,
-0.008327662013471127,
0.0331944078207016,
0.021587159484624863,
-0.02930872142314911,
-0.0036864227149635553,
0.009913488291203976,
-0.019162755459547043,
0.02980688586831093,
-0.031118720769882202,
0.00010274657688569278,
0.010436560958623886,
-0.0735291838645935,
0.019926609471440315,
-0.03258000686764717,
-0.00874279998242855,
0.05875028669834137,
-0.05340331047773361,
-0.015559360384941101,
-0.043971382081508636,
0.05240698158740997,
-0.0025572481099516153,
-0.018133213743567467,
0.02459275722503662,
-0.013666332699358463,
0.016065828502178192,
-0.016987433657050133,
-0.03935505077242851,
-0.023945141583681107,
-0.02754853665828705,
-0.05323725566267967,
0.04473523795604706,
-0.011366469785571098,
0.030587345361709595,
-0.0177678931504488,
0.0977732241153717,
0.002602913184091449,
0.026585416868329048,
0.059779826551675797,
0.025954408571124077,
-0.06794973462820053,
0.01090981811285019,
0.02572193183004856,
0.050779640674591064,
-0.0550970733165741,
-0.00517261540517211,
-0.029341932386159897,
0.009838762693107128,
0.020673856139183044,
-0.04822239279747009,
0.007310574408620596,
0.057886797934770584,
0.003952110651880503,
-0.03922220692038536,
-0.00627273041754961,
0.027581747621297836,
0.0886734127998352,
-0.09345579892396927,
-0.08694643527269363,
-0.009631194174289703,
-0.031882572919130325,
0.0015162903582677245,
-0.0553627610206604,
0.0019604878034442663,
0.02663523331284523,
0.05087927356362343,
-0.03729597106575966,
0.08608295023441315,
0.0019698282703757286,
0.07578753679990768,
-0.014629451557993889,
-0.012396011501550674,
0.02459275722503662,
0.014621148817241192,
-0.037063490599393845,
-0.027648169547319412,
0.025705324485898018,
-0.009465139359235764,
0.005890803877264261,
0.017170093953609467,
0.009108120575547218,
-0.06250312924385071,
0.013575002551078796,
0.03060395084321499,
-0.0013626894215121865,
-0.02098936215043068,
0.023762481287121773,
0.04632936418056488,
0.030305050313472748,
-0.03392505273222923,
0.011158901266753674,
0.007758923340588808,
-0.028461840003728867,
0.005023166071623564,
-0.013184772804379463,
0.008859038352966309,
-0.021769819781184196,
0.051908817142248154,
0.1101941466331482,
0.017967158928513527,
-0.0017549945041537285,
0.006247822195291519,
0.0075555057264864445,
0.0029350235126912594,
0.045598722994327545,
0.0077713774517178535,
-0.018332479521632195,
-0.0026153672952204943,
-0.044967714697122574,
0.08820845186710358,
-0.08355890959501266,
0.004998257849365473,
0.02225138060748577,
-0.007019978016614914,
-0.0385579876601696,
-0.010403349995613098,
-0.049783311784267426,
0.07445909827947617,
0.06074294447898865,
0.06778368353843689,
0.03935505077242851,
-0.05001578852534294,
-0.051078539341688156,
0.01575862616300583,
0.024509727954864502,
-0.02718321606516838,
-0.03385863080620766,
0.00322977127507329,
0.03327743709087372,
0.010054634883999825,
0.021753214299678802,
0.012952296063303947,
-0.06376514583826065,
-0.024692390114068985,
-0.005280551500618458,
-0.018764223903417587,
0.07000882178544998,
-0.008024611510336399,
0.08063634485006332,
0.005957225803285837,
-0.025854775682091713,
-0.008061973378062248,
0.0143222501501441,
-0.061108268797397614,
-0.03297853842377663,
-0.0174855999648571,
0.007871010340750217,
0.01122532319277525,
-0.00514355581253767,
0.01028711162507534,
0.011632157489657402,
-0.01542651653289795,
0.0377277135848999,
0.05569487065076828,
-0.05928166210651398,
0.003331479849293828,
-0.04662826284766197,
0.011607249267399311,
0.02404477447271347,
0.006517661735415459,
0.02103917859494686,
-0.011881240643560886,
-0.01718669943511486,
-0.053370099514722824,
-0.05665799230337143,
-0.004396308213472366,
-0.005658326670527458,
-0.020873121917247772,
-0.05483138561248779,
0.07485762983560562,
0.010129359550774097,
0.03312798589468002,
-0.0011343637015670538,
-0.02881055511534214,
-0.004280069377273321,
-0.0037466175854206085,
0.006662959698587656,
-0.041580189019441605,
0.031085509806871414,
0.031085509806871414,
0.019544681534171104,
-0.03613358363509178,
0.023945141583681107,
-0.0010601578978821635,
0.04088275879621506,
-0.042045146226882935,
-0.12719818949699402,
-0.046694688498973846,
0.02195248007774353,
-0.005961377173662186,
-0.05679083615541458,
-0.014122984372079372,
0.010718855075538158,
0.015559360384941101,
-0.021271655336022377,
-0.003530746093019843,
-0.02927550859749317,
0.03523688763380051,
0.03407450020313263,
0.02479202300310135,
0.09119744598865509,
-0.021686792373657227,
-0.023978352546691895,
0.0239617470651865,
0.04676111042499542,
-0.0066837165504693985,
0.050447531044483185,
0.002675562398508191,
0.04616330936551094,
0.018332479521632195,
-0.0018515140982344747,
-0.061905331909656525,
0.002127580577507615,
-0.008560138754546642,
0.04500092566013336,
0.010644130408763885,
0.013832387514412403,
-0.03166670352220535,
-0.03231431916356087,
-0.0057787164114415646,
0.012005781754851341,
0.02095615118741989,
-0.08196478337049484,
-0.03885688632726669,
0.06260276585817337,
0.06296808272600174,
-0.014745690859854221,
-0.0249248668551445,
-0.010536194778978825,
0.023895325139164925,
0.013060231693089008,
-0.026568811386823654,
0.03928862884640694,
0.04128129035234451,
0.003356388071551919,
-0.0029869156423956156,
0.0030969271901994944,
0.04456918314099312,
-0.07970643788576126,
0.041713032871484756,
-0.023363949730992317,
0.0396539531648159,
-0.0768502876162529,
-0.007638533599674702,
-0.06675413995981216,
-0.038325510919094086,
-0.019461654126644135,
0.007443418726325035,
-0.032463766634464264,
0.059314873069524765,
-0.06230386346578598,
-0.03357633575797081,
-0.015194038860499859,
-0.04563193395733833,
-0.01291908510029316,
0.0031654248014092445,
0.022234775125980377,
0.03988642990589142,
0.006804106757044792,
-0.022716334089636803,
0.013301011174917221,
-0.018249452114105225,
0.0038400236517190933,
-0.021753214299678802,
-0.023812297731637955,
0.003717557992786169,
-0.03258000686764717,
-0.02905963733792305,
0.037063490599393845,
0.05934808403253555,
0.05160991847515106,
-0.03379220888018608,
-0.037362392991781235,
0.028378812596201897,
-0.01689610444009304,
0.0006870528450235724,
0.022517068311572075,
-0.008817524649202824,
0.009423625655472279,
0.005899106618016958,
0.026834499090909958,
0.013857295736670494,
0.050945695489645004,
0.03417413309216499,
0.010386744514107704,
-0.008701286278665066,
-0.020723672583699226,
-0.039454683661460876,
-0.02098936215043068,
-0.013765965588390827,
-0.00028903959901072085,
-0.0009070758242160082,
-0.02969064749777317,
-0.048521291464567184,
0.03352652117609978,
-0.047358907759189606,
0.0013139108195900917,
-0.03294532746076584,
0.02002624236047268,
-0.04294184222817421,
0.029757069423794746,
-0.032795876264572144,
0.01886385679244995,
-0.02186945267021656,
0.036565326154232025,
-0.055429182946681976,
-0.004064198117703199,
0.027332665398716927,
-0.07764735072851181,
-0.020142480731010437,
0.01413128711283207,
-0.06834826618432999,
0.008709589019417763,
-0.021055784076452255,
0.038026612251996994,
0.00924096442759037,
-0.015376700088381767,
0.008008006028831005,
-0.0026631082873791456,
0.03729597106575966,
0.035934317857027054,
0.09644478559494019,
-0.021105600520968437,
0.08794276416301727,
-0.051709551364183426,
-0.012744726613163948,
-0.082097627222538,
-0.01243752520531416,
-0.044901292771101,
0.03375899791717529,
0.030786611139774323,
0.006853923201560974,
-0.025522664189338684,
0.04207835718989372,
-0.0029703101608902216,
0.03184936195611954,
-0.01886385679244995,
0.023297525942325592,
-0.04646220803260803,
-0.007302271667867899,
-0.0018764223204925656,
0.04307468608021736,
-0.044635605067014694,
0.025937803089618683,
0.0013979761861264706,
0.021836241707205772,
-0.004583119880408049,
0.00001803254235710483,
0.05240698158740997,
-0.0003941213362850249,
0.05532955005764961,
-0.04632936418056488,
0.032430555671453476,
-0.0749240517616272,
-0.012371103279292583,
0.08242973685264587,
0.043174318969249725,
0.03583468496799469,
-0.048986244946718216,
0.000606101006269455,
-0.01319307554513216,
0.0374620258808136,
0.04201193526387215,
0.0060859182849526405,
-0.03550257533788681,
0.00972252432256937,
0.03869083151221275,
0.042510099709033966,
0.03490477800369263,
-0.005870047025382519,
-0.009764038026332855,
0.042676154524087906,
0.03420734405517578,
-0.005749656818807125,
0.045598722994327545,
-0.03392505273222923,
0.04938478022813797,
0.04812275990843773,
-0.055628448724746704,
0.031035693362355232,
-0.046096887439489365,
0.007086400408297777,
-0.059480927884578705,
0.014687571674585342,
-0.026917528361082077,
-0.02605404146015644,
-0.016074130311608315,
-0.06007872521877289,
-0.020839910954236984,
-0.03629963845014572,
-0.04725927487015724,
-0.026834499090909958,
0.0732634961605072,
-0.0004177322844043374,
-0.001462322543375194,
-0.06359909474849701,
-0.0016885725781321526,
0.007327180355787277,
-0.05330367758870125,
0.023480188101530075,
0.008734497241675854,
0.031118720769882202,
0.03796019032597542,
0.008751102723181248,
0.003304495941847563,
0.022184958681464195,
-0.012753029353916645,
0.005986285395920277,
0.006538418587297201,
-0.0661231279373169,
-0.04211156815290451,
-0.014870231971144676,
-0.018714407458901405,
0.0006937988800927997,
-0.09637836366891861,
-0.03649890422821045,
-0.05516349524259567,
0.04549909010529518,
-0.009348900988698006,
0.0036594385746866465,
-0.005243189167231321,
-0.020557617768645287,
-0.017535416409373283,
0.01601601205766201,
0.016198672354221344,
0.013865598477423191,
0.03546936437487602,
0.011383075267076492,
0.019494865089654922,
-0.028328996151685715,
0.03649890422821045,
-0.028960004448890686,
0.013973534107208252,
-0.00030849920585751534,
-0.031085509806871414,
-0.008373327553272247,
0.024194223806262016,
-0.030072573572397232,
0.004039289895445108,
0.04264294356107712,
-0.00630179001018405,
0.03312798589468002,
0.012836056761443615,
-0.03716312721371651,
-0.03018881194293499,
-0.03115193173289299,
-0.015094405971467495,
-0.017070461064577103,
-0.004178360570222139,
0.07359560579061508,
-0.01392371766269207,
-0.059646982699632645,
0.0014000518713146448,
0.004197041969746351,
-0.0029454019386321306,
0.007954037748277187,
-0.01643945276737213,
0.05423358827829361,
0.004475184250622988,
0.018050186336040497,
-0.03712991625070572,
0.013475369662046432,
0.008609955199062824,
0.057853586971759796,
0.03206523507833481,
-0.03191578388214111,
0.016671929508447647,
0.058517806231975555,
0.004408762324601412,
-0.01974394917488098,
0.03862440958619118,
0.020059453323483467,
0.0443367063999176,
-0.02638615109026432,
0.03483835607767105,
-0.01563408598303795,
-0.04038459435105324,
0.01601601205766201,
0.013151561841368675,
0.00573720270767808,
-0.023114865645766258,
0.08502019941806793,
0.0031052299309521914,
0.03762808069586754,
-0.06419689208269119,
-0.011441194452345371,
0.0034394157119095325,
-0.029707252979278564,
-0.021553948521614075,
0.03302835300564766,
-0.0088839465752244,
-0.009788946248590946,
0.009589680470526218,
-0.04606367647647858,
-0.03703027963638306,
0.037661291658878326,
0.03629963845014572,
0.027282848954200745,
-0.027365876361727715,
-0.004035138059407473,
0.015102708712220192,
0.00969761610031128,
0.01939523220062256,
0.04692716524004936,
-0.03453945368528366,
-0.006662959698587656,
-0.012246561236679554,
0.005072982516139746,
0.05393468961119652,
-0.012479038909077644,
-0.0008510322659276426,
-0.01627339795231819,
0.014621148817241192,
0.04340679571032524,
-0.015526149421930313,
-0.03093606047332287,
-0.019494865089654922,
-0.016945920884609222,
0.026535600423812866,
-0.03523688763380051,
0.01068564411252737,
0.04370569437742233,
-0.0031924087088555098,
0.002692167880013585,
0.01947825960814953,
0.022600095719099045,
0.06901248544454575,
0.002102672355249524,
0.026867710053920746,
0.013956928625702858,
0.001461284700781107,
0.04779065027832985,
-0.03889009729027748,
-0.036731380969285965,
0.008634863421320915,
0.06486111134290695,
0.05277230218052864,
-0.04782386124134064,
0.03566863015294075,
0.01740257255733013,
-0.00821557454764843,
0.08913836628198624,
0.025655508041381836,
0.038026612251996994,
-0.02382890321314335,
-0.02655220590531826,
-0.07831156998872757,
-0.004371399991214275,
-0.005728899966925383,
0.0020632343366742134,
0.056126613169908524,
-0.03407450020313263,
-0.04789028316736221
] |
725,557 | syne_tune.tuner | _schedule_new_task | Schedules a new task according to scheduler suggestion.
:return: Information for the trial suggested, ``None`` if the scheduler does
not suggest a new configuration (this can happen if its configuration
space is exhausted)
| def _schedule_new_task(self) -> Optional[TrialResult]:
"""Schedules a new task according to scheduler suggestion.
:return: Information for the trial suggested, ``None`` if the scheduler does
not suggest a new configuration (this can happen if its configuration
space is exhausted)
"""
suggestion = self.scheduler.suggest(trial_id=self.trial_backend.new_trial_id())
if suggestion is None:
logger.info("Searcher ran out of candidates, tuning job is stopping.")
raise StopIteration
elif suggestion.spawn_new_trial_id:
# we schedule a new trial, possibly using the checkpoint of ``checkpoint_trial_id``
# if given.
trial = self.trial_backend.start_trial(
config=suggestion.config.copy(),
checkpoint_trial_id=suggestion.checkpoint_trial_id,
)
self.scheduler.on_trial_add(trial=trial)
for callback in self.callbacks:
callback.on_start_trial(trial)
logger.info(f"(trial {trial.trial_id}) - scheduled {suggestion}")
return trial
else:
# suggestion is a trial_id to resume, with possibly a new configuration
log_msg = f"Resuming trial {suggestion.checkpoint_trial_id}"
if suggestion.config is not None:
log_msg += f" with new_config = {suggestion.config}"
logger.info(log_msg)
trial = self.trial_backend.resume_trial(
trial_id=suggestion.checkpoint_trial_id, new_config=suggestion.config
)
for callback in self.callbacks:
callback.on_resume_trial(trial)
return trial
| (self) -> Optional[syne_tune.backend.trial_status.TrialResult] | [
0.08116833120584488,
-0.0012286575511097908,
-0.02619325928390026,
-0.06045990809798241,
-0.019314587116241455,
-0.031497079879045486,
0.016780341044068336,
0.0017185367178171873,
0.04072898253798485,
-0.028564592823386192,
-0.01535935141146183,
0.011992421932518482,
0.014354703016579151,
0.02329697646200657,
-0.012164388783276081,
0.03801371529698372,
0.03942565247416496,
0.043082211166620255,
-0.05180726200342178,
-0.002488993341103196,
0.03167809545993805,
-0.007236182224005461,
0.008209152147173882,
0.06053231656551361,
0.0015431757783517241,
0.07345698028802872,
0.030067039653658867,
-0.029705002903938293,
-0.03582340106368065,
0.02262721210718155,
0.040366943925619125,
-0.024455489590764046,
0.0036429811734706163,
0.0460146963596344,
0.007905947975814342,
0.02277202531695366,
-0.04105481132864952,
0.03019375167787075,
-0.03549756854772568,
-0.020545508712530136,
-0.015133079141378403,
-0.01707901991903782,
0.0017241935711354017,
-0.007073266431689262,
-0.05090217664837837,
-0.023441791534423828,
-0.01661742478609085,
0.02476322092115879,
0.004527705255895853,
-0.020183471962809563,
0.005285716615617275,
-0.03520794212818146,
-0.06292174756526947,
0.006616196595132351,
-0.04818690940737724,
0.026935432106256485,
0.00039682473288848996,
-0.008756730705499649,
0.06017028167843819,
-0.03837575018405914,
0.06379063427448273,
-0.007996456697583199,
0.003950711339712143,
0.0452544242143631,
0.0324021652340889,
-0.023496096953749657,
-0.020183471962809563,
-0.02181263267993927,
-0.00513185141608119,
0.05843251198530197,
0.01211913488805294,
-0.0010629132157191634,
-0.03296332061290741,
-0.05416049435734749,
0.03232976049184799,
-0.00035072179161943495,
-0.056839555501937866,
-0.08109592646360397,
0.023496096953749657,
-0.005199733190238476,
0.029994631186127663,
0.03086351603269577,
0.018002210184931755,
-0.08862626552581787,
-0.015305045992136002,
0.054993174970149994,
0.023749521002173424,
-0.051517635583877563,
-0.06386303901672363,
-0.06455090641975403,
0.01702471449971199,
0.018753433600068092,
0.026555296033620834,
-0.006634298246353865,
0.05111939460039139,
-0.03996870666742325,
-0.005054919049143791,
-0.060894351452589035,
-0.00007042719516903162,
-0.017450105398893356,
-0.020165370777249336,
0.06324758380651474,
0.002909859409555793,
-0.04275637865066528,
0.04768006131052971,
-0.05249512940645218,
-0.037941306829452515,
0.04253915697336197,
-0.0041023134253919125,
-0.0004270886129233986,
-0.04554405063390732,
0.040511760860681534,
-0.07421725243330002,
0.04272017627954483,
0.0035479466896504164,
0.010625738650560379,
-0.005136377178132534,
0.02881801687180996,
-0.0014922645641490817,
0.02295304276049137,
0.015802845358848572,
0.005579870194196701,
-0.02496233955025673,
-0.0038828295655548573,
-0.04590608552098274,
0.006598094943910837,
-0.022790128365159035,
0.03535275533795357,
0.040511760860681534,
-0.04847653955221176,
0.017613021656870842,
0.009467225521802902,
-0.007847117260098457,
0.02347799390554428,
-0.035171736031770706,
0.0498160682618618,
0.035226043313741684,
0.042792581021785736,
-0.036131132394075394,
-0.013703038915991783,
0.01877153478562832,
-0.017975056543946266,
0.04539923742413521,
-0.04011351987719536,
0.05358123779296875,
-0.018590517342090607,
-0.0664696991443634,
0.06849709153175354,
0.061075370758771896,
0.020780831575393677,
0.015386504121124744,
-0.0328185074031353,
0.008105067536234856,
0.04040315002202988,
-0.013277648016810417,
0.024165861308574677,
0.03191341832280159,
0.017585868015885353,
0.002103199250996113,
-0.043987300246953964,
0.01850905828177929,
-0.05535520985722542,
0.03366928920149803,
0.024980440735816956,
0.00375159177929163,
0.03019375167787075,
-0.06096675992012024,
0.06683173030614853,
0.0005784080713056028,
0.0018429863266646862,
0.02534247748553753,
0.02852838858962059,
-0.03589580953121185,
-0.0014164634048938751,
-0.03319864347577095,
0.05720159038901329,
0.020708424970507622,
-0.008331338874995708,
0.06009787321090698,
-0.004887477494776249,
-2.209688609866589e-8,
-0.0077294553630054,
-0.029505884274840355,
-0.03967907652258873,
0.02590363100171089,
0.03538895770907402,
-0.01002837996929884,
0.0814579650759697,
-0.04329943284392357,
0.07360179722309113,
-0.01840044930577278,
-0.032746098935604095,
0.01842760108411312,
0.028944728896021843,
-0.042502954602241516,
-0.018590517342090607,
-0.040801387280225754,
0.0536174401640892,
-0.03866538032889366,
0.035461366176605225,
0.01880773901939392,
-0.003038834547623992,
0.050467733293771744,
-0.014372805133461952,
0.005833295173943043,
-0.03957046940922737,
-0.01790264993906021,
-0.034791599959135056,
-0.019966252148151398,
0.04362526535987854,
-0.034266650676727295,
-0.021179070696234703,
-0.012725544162094593,
0.0016551804728806019,
0.018002210184931755,
-0.0275327917188406,
0.03978768736124039,
0.0065935696475207806,
-0.020563609898090363,
-0.020111065357923508,
0.027025941759347916,
-0.043697670102119446,
0.035443264991045,
0.007150198798626661,
0.05716538801789284,
-0.027496587485074997,
0.022120362147688866,
-0.0407651849091053,
-0.021613512188196182,
-0.019893843680620193,
0.0031745978631079197,
-0.048367928713560104,
0.03714483231306076,
-0.05995306000113487,
-0.01109638437628746,
-0.016345897689461708,
0.011042078956961632,
0.0009616565075702965,
-0.030501481145620346,
0.04351665452122688,
-0.016771288588643074,
0.042177122086286545,
-0.010354212485253811,
-0.04402350261807442,
-0.03786890208721161,
-0.008937748149037361,
-0.0007093630847521126,
0.02496233955025673,
0.018554313108325005,
-0.006828892510384321,
0.03062819316983223,
-0.028980933129787445,
-0.04072898253798485,
0.0058559225872159,
-0.04253915697336197,
-0.02219276875257492,
-0.02429257519543171,
-0.008856290951371193,
0.03048337996006012,
0.024274472147226334,
-0.03381410613656044,
0.07135717570781708,
-0.02695353515446186,
0.00710946973413229,
-0.07675150036811829,
0.01774878427386284,
-0.045942291617393494,
0.023840030655264854,
0.020418794825673103,
0.01895255222916603,
0.027949132025241852,
0.04004111513495445,
-0.005371700040996075,
0.0030184700153768063,
0.009476276114583015,
-0.025885529816150665,
-0.03830334544181824,
0.034031327813863754,
-0.030972126871347427,
-0.04539923742413521,
0.0010923286899924278,
0.04424072429537773,
0.01971282623708248,
0.024708915501832962,
-0.04644913971424103,
0.0031157671473920345,
-0.025451088324189186,
0.08616442233324051,
0.03587770834565163,
0.014544771984219551,
-0.07421725243330002,
0.005715633742511272,
0.031895317137241364,
-0.012073880061507225,
0.11802353709936142,
0.015377452597022057,
-0.024328777566552162,
-0.030067039653658867,
0.02496233955025673,
0.012245846912264824,
0.07371040433645248,
-0.014046972617506981,
-0.0724794864654541,
0.00017026976274792105,
-0.019314587116241455,
0.05253133550286293,
-0.027786215767264366,
-0.007068741135299206,
0.029596392065286636,
-0.02709834836423397,
-0.017613021656870842,
-0.06295794993638992,
0.06277693808078766,
-0.04992467910051346,
0.013159986585378647,
-0.025270069018006325,
-0.034501973539590836,
0.012444966472685337,
0.00015966326463967562,
0.004507340490818024,
-0.07928574830293655,
0.08544035255908966,
0.02119717188179493,
-0.02043689787387848,
-0.000019127064661006443,
-0.07331216335296631,
-0.04348044842481613,
0.04391489177942276,
-0.08167517930269241,
0.05586206167936325,
-0.008168423548340797,
-0.011078283190727234,
0.022265175357460976,
0.002889494877308607,
-0.0438062809407711,
0.028112048283219337,
0.041561663150787354,
0.020038658753037453,
0.005597972311079502,
-0.009729701094329357,
0.04391489177942276,
0.00940386950969696,
0.024256370961666107,
0.048367928713560104,
0.04224953055381775,
0.00667955307289958,
-0.01369398832321167,
-0.021559206768870354,
0.07313115149736404,
-0.0949980840086937,
-0.0063899243250489235,
-0.07356558740139008,
-0.029831714928150177,
0.010625738650560379,
0.03801371529698372,
-0.03535275533795357,
0.016970409080386162,
-0.02566830813884735,
0.002002508146688342,
-0.07269670814275742,
-0.1041937842965126,
0.011938116513192654,
-0.025324374437332153,
0.033651188015937805,
-0.049128200858831406,
0.007222605869174004,
-0.04847653955221176,
0.011159740388393402,
-0.004828646779060364,
-0.03671038895845413,
-0.01093346904963255,
-0.013114731758832932,
0.01845475286245346,
0.024600304663181305,
0.05473975092172623,
-0.03354257717728615,
-0.0271888580173254,
0.004996088333427906,
-0.0686781108379364,
0.008010032586753368,
0.018038412556052208,
0.05445012077689171,
-0.00836754310876131,
0.026410480961203575,
-0.02814825065433979,
-0.049707457423210144,
-0.022790128365159035,
0.010408516973257065,
0.04735422879457474,
-0.0026383327785879374,
0.00492820655927062,
-0.013684937730431557,
0.01918787509202957,
0.011295503936707973,
0.018753433600068092,
-0.010779603384435177,
-0.05177105963230133,
-0.014852501451969147,
-0.045507848262786865,
0.006471382454037666,
0.015784742310643196,
-0.010354212485253811,
-0.015947658568620682,
0.020219676196575165,
0.04253915697336197,
0.0026858500204980373,
0.08804700523614883,
-0.024491693824529648,
-0.023315079510211945,
0.016870848834514618,
-0.030266158282756805,
-0.041851289570331573,
0.014580975286662579,
-0.011322656646370888,
-0.09854603558778763,
0.03761547803878784,
-0.09007440507411957,
0.06520257145166397,
0.0063899243250489235,
0.042792581021785736,
0.0006279051303863525,
-0.005480310879647732,
0.029216255992650986,
0.018934451043605804,
0.038882602006196976,
0.039606671780347824,
0.026084650307893753,
0.019549909979104996,
-0.047607652842998505,
-0.05343642458319664,
-0.007539386861026287,
0.007263334933668375,
0.06661450862884521,
0.03334346041083336,
0.008964900858700275,
-0.007218080572783947,
0.0011901913676410913,
0.030302362516522408,
-0.004050270654261112,
-0.02729746885597706,
0.010499026626348495,
-0.05177105963230133,
-0.0005973583902232349,
-0.0020070336759090424,
0.007444352842867374,
-0.017232883721590042,
-0.004982511978596449,
-0.020744627341628075,
-0.005009664688259363,
-0.01074340008199215,
0.016391152516007423,
0.01609247364103794,
0.013232393190264702,
0.09087087959051132,
0.013295749202370644,
-0.005041342694312334,
-0.029560189694166183,
0.003943922929465771,
-0.06751959770917892,
0.0039620245806872845,
-0.002152979141101241,
0.04463896155357361,
0.041416849941015244,
0.02843787893652916,
-0.00478791818022728,
0.006774587091058493,
0.004299170337617397,
0.013621581718325615,
-0.056079279631376266,
-0.034176141023635864,
0.0034936415031552315,
-0.01588430255651474,
0.02400294691324234,
-0.01576664112508297,
-0.027750011533498764,
-0.0021190382540225983,
-0.014635280705988407,
0.03830334544181824,
0.07371040433645248,
0.012209643609821796,
0.10310767590999603,
0.023966742679476738,
0.04977986589074135,
0.0438062809407711,
-0.01602911576628685,
-0.04014972597360611,
-0.047028396278619766,
0.0013983616372570395,
-0.044457945972681046,
0.024419287219643593,
-0.017821192741394043,
-0.013277648016810417,
0.04663015902042389,
0.039606671780347824,
-0.052458927035331726,
-0.0007563145481981337,
0.010372313670814037,
0.04869375750422478,
0.04952644184231758,
0.05872213840484619,
0.03949806094169617,
-0.041706476360559464,
-0.04934542253613472,
0.050757359713315964,
0.04786107689142227,
-0.04224953055381775,
-0.06125638633966446,
0.041706476360559464,
-0.06697654724121094,
0.05477595329284668,
0.017975056543946266,
-0.013313851319253445,
0.018753433600068092,
-0.048657555133104324,
0.0175496656447649,
-0.000013381873941398226,
0.007566539570689201,
-0.03278230503201485,
-0.0006929583614692092,
0.0017162739532068372,
-0.02552349492907524,
0.04666636139154434,
-0.005208784248679876,
0.0006635430036112666,
0.013431512750685215,
-0.0038760413881391287,
0.0437338761985302,
-0.023369384929537773,
-0.009322411380708218,
0.03309003263711929,
0.009946921840310097,
-0.035787198692560196,
0.02919815294444561,
-0.01880773901939392,
0.02105235680937767,
0.06306656450033188,
-0.05206068977713585,
-0.014508567750453949,
0.037941306829452515,
-0.03352447599172592,
0.015341249294579029,
-0.04438553750514984,
-0.021269578486680984,
-0.013159986585378647,
0.009539632126688957,
-0.012616933323442936,
-0.019024958834052086,
0.02181263267993927,
-0.033452071249485016,
-0.012951815500855446,
0.008611916564404964,
0.0019414147827774286,
0.04496479406952858,
0.045326828956604004,
-0.04510960727930069,
0.018065566197037697,
0.024926137179136276,
0.007960253395140171,
0.06730237603187561,
0.0520244836807251,
-0.04728182032704353,
-0.039932504296302795,
-0.0013214291539043188,
-0.02420206554234028,
0.04014972597360611,
-0.04568886384367943,
-0.021885039284825325,
0.041851289570331573,
-0.0018248845590278506,
0.005000613629817963,
0.04934542253613472,
-0.0027311043813824654,
-0.004068372771143913,
0.00045310991117730737,
-0.08840904384851456,
-0.02009296417236328,
-0.010634789243340492,
-0.02181263267993927,
-0.03837575018405914,
-0.03386840969324112,
-0.007028012070804834,
0.026935432106256485,
0.034646786749362946,
-0.017504410818219185,
-0.07899612188339233,
-0.03404942899942398,
-0.034465767443180084,
0.014961112290620804,
-0.08254406601190567,
-0.0070868427865207195,
-0.010634789243340492,
0.10194916278123856,
0.007743031717836857,
0.020418794825673103,
0.03310813754796982,
0.007571064867079258,
0.014037922024726868,
-0.04782487452030182,
0.027822420001029968,
-0.04043935239315033,
-0.07356558740139008,
0.02639237977564335,
-0.007652522996068001,
0.010951570235192776,
0.06853330135345459,
0.01274364534765482,
-0.05705677717924118,
-0.08029945194721222,
0.0017196680419147015,
-0.051228005439043045,
0.019604215398430824,
0.0011234410339966416,
0.04699219390749931,
0.022301379591226578,
-0.010951570235192776,
-0.018699128180742264,
-0.03182290866971016,
-0.0030320463702082634,
0.0014866078272461891,
-0.048367928713560104,
-0.03808612376451492,
0.028636999428272247,
0.020780831575393677,
0.008344915695488453,
-0.05405188351869583,
-0.04757145047187805,
0.012779848650097847,
-0.0648043304681778,
-0.012870358303189278,
-0.06379063427448273,
-0.018735330551862717,
-0.04224953055381775,
-0.00688319792971015,
-0.025306273251771927,
-0.02505284920334816,
0.026754414662718773,
-0.0003733490011654794,
0.04985227435827255,
0.017124272882938385,
-0.044276926666498184,
-0.008096016012132168,
0.07436206936836243,
0.017006611451506615,
0.01021844893693924,
0.011630387045443058,
-0.028492184355854988,
-0.04105481132864952,
-0.012481169775128365,
0.0008077914826571941,
0.05857732519507408,
-0.04992467910051346,
0.05448632687330246,
-0.024075353518128395,
0.05702057480812073,
-0.03877399116754532,
-0.01002837996929884,
-0.01836424507200718,
-0.053798459470272064,
-0.012915612198412418,
-0.014689586125314236,
0.04083758965134621,
0.04268397018313408,
-0.020165370777249336,
-0.0701986625790596,
-0.018735330551862717,
0.06697654724121094,
-0.02823876030743122,
0.00638087373226881,
-0.03366928920149803,
0.028872322291135788,
-0.003774218959733844,
-0.06831607967615128,
0.002323814667761326,
0.03687330335378647,
0.015114977024495602,
-0.02123337611556053,
-0.05358123779296875,
-0.0041023134253919125,
-0.03761547803878784,
-0.06914875656366348,
0.012553577311336994,
-0.06270452588796616,
0.00874315481632948,
0.003932609222829342,
-0.004882952198386192,
0.0460146963596344,
0.03138846904039383,
-0.08391980081796646,
0.03873778507113457,
-0.00805981270968914,
0.006697654724121094,
0.024889932945370674,
-0.021179070696234703,
0.041561663150787354,
0.03356068208813667,
-0.012924663722515106,
-0.06987282633781433,
-0.029650697484612465,
-0.0012750433525070548,
-0.0753757655620575,
0.055174194276332855,
-0.005362648982554674,
0.0037583799567073584,
-0.029306763783097267,
-0.020400693640112877,
0.030845414847135544,
-0.05528280511498451,
0.0077294553630054,
0.015096875838935375,
-0.024781322106719017,
0.05785325542092323,
0.024636508896946907,
0.0036995490081608295,
0.013721141032874584,
-0.05010569840669632,
-0.046231918036937714,
0.0016721509164199233,
-0.024980440735816956,
0.012463068589568138,
0.0016947780968621373,
0.018436651676893234,
-0.02934296801686287,
0.016282541677355766,
0.0008660565363243222,
0.041561663150787354,
0.040982406586408615,
-0.018255634233355522,
-0.04290119186043739,
-0.01904306188225746,
0.01557657215744257,
-0.006353721022605896,
-0.003466488793492317,
-0.019441301003098488,
-0.005294767674058676,
0.06552840769290924,
0.03310813754796982,
0.04072898253798485,
0.03296332061290741,
0.037506867200136185,
0.03671038895845413,
-0.008838188834488392,
0.07356558740139008,
-0.0019945886451750994,
0.01600196398794651,
-0.012616933323442936,
0.028166353702545166,
-0.006602620240300894,
-0.026736313477158546,
0.03225735202431679,
-0.003441598964855075,
0.04224953055381775,
-0.008829138241708279,
0.04876616597175598,
0.04116342216730118,
-0.038882602006196976,
-0.008598340675234795,
0.028709406033158302,
0.052169300615787506,
0.004457560833543539,
0.058179087936878204,
-0.0033443018328398466,
-0.03133416175842285,
0.05763603374361992,
0.022735822945833206,
-0.006647874601185322,
-0.02885422110557556,
0.018210379406809807,
0.06324758380651474
] |
725,558 | syne_tune.tuner | _schedule_new_tasks | Schedules new tasks if resources are available or sleep.
Note: If ``start_jobs_without_delay`` is False, we ask the backend for
the number of busy workers, instead of trusting ``running_trials_ids``.
The latter does not contain trials which have been stopped or completed,
but the underlying job is still not completely done.
:param running_trials_ids: set if trial-ids currently running, gets
updated if new trials are scheduled.
| def _schedule_new_tasks(self, running_trials_ids: Set[int]):
"""Schedules new tasks if resources are available or sleep.
Note: If ``start_jobs_without_delay`` is False, we ask the backend for
the number of busy workers, instead of trusting ``running_trials_ids``.
The latter does not contain trials which have been stopped or completed,
but the underlying job is still not completely done.
:param running_trials_ids: set if trial-ids currently running, gets
updated if new trials are scheduled.
"""
running_trials_threshold = self.n_workers if self.asynchronous_scheduling else 1
if self.start_jobs_without_delay:
# Assume that only the trials in ``running_trial_ids`` are busy (which
# is an underestimate for certain backends)
busy_trial_ids = None
num_busy_workers = len(running_trials_ids)
else:
# Ask backend how many workers are really busy
busy_trial_ids = self.trial_backend.busy_trial_ids()
num_busy_workers = len(busy_trial_ids)
if num_busy_workers >= running_trials_threshold:
# Note: For synchronous scheduling, we need to sleep here if at
# least one worker is busy
logger.debug(
f"{num_busy_workers} of {self.n_workers} workers are "
f"busy, wait for {self.sleep_time} seconds"
)
self._sleep()
else:
if not self.start_jobs_without_delay and num_busy_workers < len(
running_trials_ids
):
# In this case, the information from the backend is more recent
running_trials_ids = set(x[0] for x in busy_trial_ids)
# Schedule as many trials as we have free workers
for _ in range(self.n_workers - num_busy_workers):
trial = self._schedule_new_task()
trial_id = trial.trial_id
running_trials_ids.add(trial_id)
# Update tuning status
self.tuning_status.update(
trial_status_dict={trial_id: (trial, Status.in_progress)},
new_results=[],
)
| (self, running_trials_ids: Set[int]) | [
0.03203677386045456,
-0.0051055168733000755,
-0.049981772899627686,
-0.006701851263642311,
-0.040330372750759125,
-0.004743130877614021,
-0.0459083691239357,
-0.00919727049767971,
-0.04484414681792259,
-0.012477094307541847,
-0.04638543352484703,
0.03284411504864693,
0.05996344983577728,
0.02682575397193432,
-0.006045886315405369,
0.018027566373348236,
0.07269742339849472,
-0.0017178941052407026,
0.0004919736529700458,
-0.05064232647418976,
0.015082605183124542,
-0.00249771261587739,
0.06645888090133667,
0.10649567097425461,
-0.011357826180756092,
0.03196338191628456,
0.009614702314138412,
-0.0347890742123127,
-0.0055275363847613335,
0.0198532585054636,
0.012073423713445663,
0.05434875562787056,
0.025651438161730766,
0.007669743616133928,
0.05262397974729538,
0.010513787157833576,
0.004839461296796799,
0.015174348838627338,
-0.006018363405019045,
0.014761503785848618,
0.0508992075920105,
-0.03816523030400276,
0.026495477184653282,
-0.047229472547769547,
-0.03952303156256676,
-0.010027547366917133,
0.011000026948750019,
0.0409909263253212,
0.022990882396697998,
0.012880764901638031,
-0.005619279574602842,
-0.05086250975728035,
-0.048000115901231766,
0.03467898443341255,
-0.017192702740430832,
0.06627538800239563,
0.010935806669294834,
0.02001839689910412,
0.03152301162481308,
-0.08631213754415512,
0.033743202686309814,
-0.007683504838496447,
0.008720205165445805,
0.0039357892237603664,
0.022807395085692406,
-0.0053165266290307045,
-0.01166975311934948,
-0.01040369551628828,
-0.019412891939282417,
0.02653217501938343,
0.023192716762423515,
0.0033784485422074795,
-0.018578026443719864,
-0.02653217501938343,
-0.0022912900894880295,
0.03190833330154419,
-0.03765146806836128,
-0.05130287632346153,
-0.03365145996212959,
-0.0003024663310497999,
0.03662394359707832,
0.008642222732305527,
0.034385405480861664,
-0.007467908319085836,
0.0235963873565197,
0.05354141443967819,
-0.011522963643074036,
-0.009889932349324226,
-0.04660561680793762,
-0.08638553321361542,
0.012724801898002625,
0.053761597722768784,
0.04315606877207756,
-0.0010246584424749017,
0.03897257149219513,
-0.040807437151670456,
-0.03577990457415581,
-0.06763318926095963,
-0.01831197179853916,
-0.014605539850890636,
-0.015944993123412132,
-0.06363318115472794,
-0.010055070742964745,
-0.07743138074874878,
0.02489914372563362,
-0.06987173110246658,
-0.058972619473934174,
0.002853218000382185,
-0.05577995255589485,
-0.052697375416755676,
-0.0044013867154717445,
0.07633046060800552,
-0.07100934535264969,
0.010311951860785484,
-0.02266060560941696,
0.016376186162233353,
-0.011183513328433037,
0.002279822016134858,
0.000088876360678114,
0.004658268298953772,
-0.026128504425287247,
-0.008876168169081211,
0.012348653748631477,
-0.007807358633726835,
-0.010385346598923206,
0.055486373603343964,
-0.03506430611014366,
0.030605578795075417,
0.05757812038064003,
-0.05009186640381813,
-0.015183523297309875,
-0.007977083325386047,
-0.012678929604589939,
0.034183569252491,
0.022385375574231148,
0.019798213616013527,
-0.016467930749058723,
0.07166989892721176,
0.013917464762926102,
-0.023412901908159256,
0.03897257149219513,
-0.04910103604197502,
0.05827537178993225,
-0.00716974213719368,
0.04557809233665466,
0.0025573456659913063,
0.012954159639775753,
0.0033509256318211555,
-0.008403690531849861,
0.04286248981952667,
0.028477134183049202,
0.005559646524488926,
0.040587253868579865,
0.020055094733834267,
-0.01345874834805727,
0.02088078483939171,
0.04003679379820824,
-0.00227179448120296,
0.03805513679981232,
-0.02148629166185856,
-0.006275244522839785,
0.0012167460517957807,
-0.008550480008125305,
0.00512386579066515,
-0.015348661690950394,
0.06609190255403519,
-0.03739458695054054,
0.051229484379291534,
-0.022458771243691444,
0.0017522978596389294,
0.06737630814313889,
0.021027574315667152,
0.006779833231121302,
0.007183503825217485,
-0.05398178473114967,
-0.013816547580063343,
-0.01246791984885931,
-0.022422073408961296,
0.02730281837284565,
0.012284433469176292,
-0.02218354120850563,
0.052954256534576416,
-0.023357855156064034,
-0.03669733554124832,
0.05236709862947464,
0.04381662234663963,
-0.01580737717449665,
0.05258728563785553,
-0.0023922077380120754,
0.019963352009654045,
0.010477089323103428,
-0.006568823475390673,
0.04190835729241371,
0.028367040678858757,
-0.03376154974102974,
-0.011688102036714554,
0.014293612912297249,
-0.023064276203513145,
-0.007559651508927345,
0.04381662234663963,
-0.00039420966641046107,
-0.011871588416397572,
0.07574330270290375,
-0.05680747702717781,
0.053211137652397156,
-0.0409175306558609,
-0.07655064761638641,
-0.07867909222841263,
0.01654132455587387,
0.005935794208198786,
0.003034410998225212,
-0.025504648685455322,
-0.049504708498716354,
0.035467974841594696,
0.028458785265684128,
0.04638543352484703,
0.03700926527380943,
0.01873399131000042,
-0.0006513777188956738,
-0.043302856385707855,
0.01462388876825571,
0.009224792942404747,
-0.00999085046350956,
-0.026550523936748505,
0.017201876267790794,
0.03132117539644241,
0.07640385627746582,
-0.005311939399689436,
0.033834945410490036,
0.020000047981739044,
0.024605564773082733,
-0.010715622454881668,
0.02588997222483158,
-0.017495455220341682,
-0.017633071169257164,
-0.03500926122069359,
-0.020293626934289932,
-0.04609185457229614,
0.052440494298934937,
0.027100984007120132,
-0.02752300351858139,
0.00008221063762903214,
-0.01190828625112772,
-0.0844038724899292,
-0.015229394659399986,
-0.013660583645105362,
-0.021761521697044373,
0.05526619032025337,
0.017807383090257645,
-0.013614712283015251,
0.015394533053040504,
-0.03440375253558159,
-0.020000047981739044,
-0.021981704980134964,
-0.05996344983577728,
-0.018541330471634865,
-0.027614746242761612,
-0.046275343745946884,
0.044623963534832,
-0.027284469455480576,
-0.004844048526138067,
0.06623869389295578,
-0.10554154217243195,
-0.010412869043648243,
-0.035376232117414474,
0.03864229470491409,
-0.007720202207565308,
0.03515604883432388,
-0.00474771810695529,
0.06381666660308838,
0.030990900471806526,
0.02433033473789692,
-0.030385395511984825,
0.0017328023677691817,
-0.02656887285411358,
0.01843123696744442,
-0.019669773057103157,
0.009706445969641209,
0.028917500749230385,
-0.07365155220031738,
0.024825748056173325,
0.05328453332185745,
-0.038605596870183945,
0.0069082737900316715,
0.022201888263225555,
-0.04638543352484703,
-0.0315413624048233,
0.05732123926281929,
-0.02992667816579342,
0.0015951873501762748,
-0.0470459870994091,
0.0031100993510335684,
0.04139459505677223,
-0.05985335633158684,
0.024734005331993103,
-0.016458755359053612,
-0.024311985820531845,
-0.05860564857721329,
-0.0022568863350898027,
0.014321135357022285,
0.011128467507660389,
-0.004678910598158836,
-0.029651448130607605,
0.004582580178976059,
-0.020385371521115303,
-0.008344057016074657,
-0.01822022721171379,
-0.02390831522643566,
0.02979823760688305,
-0.038091834634542465,
0.0013394528068602085,
-0.048513878136873245,
0.06774328649044037,
-0.016779856756329536,
0.06895429641008377,
-0.005486251786351204,
-0.03715605288743973,
0.0032935859635472298,
0.002722483593970537,
0.028752364218235016,
-0.05288086459040642,
0.05181663855910301,
-0.007270659785717726,
0.03117438778281212,
-0.020036745816469193,
-0.009091765619814396,
0.02794502303004265,
0.050752416253089905,
-0.06601850688457489,
0.030550533905625343,
0.03165145218372345,
-0.007302769925445318,
0.048000115901231766,
-0.045724883675575256,
-0.02803676575422287,
0.02855052798986435,
0.046275343745946884,
0.017981695011258125,
0.014275263994932175,
-0.02023858204483986,
0.05078911408782005,
0.0009392224601469934,
-0.0018486283952370286,
0.07255063205957413,
-0.05137627199292183,
-0.0007568825967609882,
0.040844134986400604,
0.02132115326821804,
0.03948633372783661,
-0.09255068749189377,
0.007706440985202789,
-0.021889962255954742,
-0.04965149611234665,
0.05812858045101166,
-0.007266072556376457,
-0.018330320715904236,
0.038568902760744095,
0.01614682748913765,
0.01787160336971283,
-0.07012861222028732,
-0.10077089071273804,
0.004603222012519836,
0.011183513328433037,
0.05042213946580887,
-0.028532179072499275,
-0.0071559809148311615,
0.015834901481866837,
-0.05706435814499855,
-0.008018367923796177,
-0.09034884721040726,
0.0483303926885128,
-0.011605532839894295,
-0.00002358090569032356,
0.03319274261593819,
0.030935855582356453,
0.01486242190003395,
-0.05566985905170441,
-0.0072202011942863464,
-0.025761529803276062,
0.011605532839894295,
-0.008995435200631618,
-0.012311956845223904,
-0.013266087509691715,
0.010715622454881668,
-0.03493586555123329,
-0.019394543021917343,
0.0024334921035915613,
-0.03354136645793915,
0.011238559149205685,
-0.017761511728167534,
0.04187166318297386,
-0.0124220484867692,
0.027724837884306908,
0.036110181361436844,
0.018578026443719864,
-0.023614736273884773,
0.027504654601216316,
-0.027486305683851242,
0.01950463466346264,
-0.02209179662168026,
0.022807395085692406,
-0.04473405331373215,
-0.01817435584962368,
0.00474771810695529,
0.03541292995214462,
0.016522975638508797,
0.08330295234918594,
-0.02480739913880825,
-0.026972543448209763,
0.05423866584897041,
-0.004103220999240875,
-0.007500018458813429,
-0.015302789397537708,
-0.052000127732753754,
-0.07170660048723221,
0.035761553794145584,
-0.12484434247016907,
0.002738538896664977,
0.05985335633158684,
-0.0067339614033699036,
-0.007500018458813429,
-0.02321106567978859,
0.07985340803861618,
0.0028555116150528193,
0.008715617470443249,
0.017908301204442978,
0.03075236827135086,
-0.024440426379442215,
-0.01488076988607645,
-0.02403675578534603,
0.029394567012786865,
-0.026734009385108948,
0.01588994637131691,
-0.004724781960248947,
0.03937624394893646,
-0.0030665211379528046,
0.040293674916028976,
0.03754137456417084,
0.0005401389207690954,
-0.021596383303403854,
-0.01902756839990616,
-0.032238610088825226,
-0.0010504613164812326,
-0.020275278016924858,
-0.004011477809399366,
-0.0583120696246624,
0.028440436348319054,
-0.015348661690950394,
-0.05427535995841026,
0.02669731341302395,
-0.01192663423717022,
0.02579822763800621,
0.030715670436620712,
0.024697307497262955,
-0.0044013867154717445,
-0.00470643350854516,
0.004112395457923412,
-0.01042204350233078,
-0.06234877556562424,
0.0019334909738972783,
0.021394547075033188,
0.023321157321333885,
-0.032789070159196854,
0.06748640537261963,
0.0012316544307395816,
-0.03381659463047981,
-0.029596403241157532,
-0.007444972172379494,
-0.007522954139858484,
0.0016651416663080454,
0.04297258332371712,
0.030220257118344307,
0.05530288815498352,
-0.007316531613469124,
-0.013688107021152973,
-0.004222487565129995,
-0.06245886906981468,
-0.0030596405267715454,
0.016073433682322502,
-0.04737626388669014,
0.08139469474554062,
0.03715605288743973,
0.028477134183049202,
0.00854589231312275,
-0.004311936907470226,
-0.061651527881622314,
-0.027963370084762573,
0.032146867364645004,
-0.007582587189972401,
-0.010238557122647762,
0.01511930301785469,
-0.048256997019052505,
0.06939466297626495,
0.08337634801864624,
-0.07809193432331085,
-0.004522946663200855,
-0.0055367108434438705,
0.007954147644340992,
0.03502760827541351,
0.04638543352484703,
0.09622041881084442,
-0.039082664996385574,
-0.040807437151670456,
0.05335792899131775,
0.018449585884809494,
-0.02170647494494915,
-0.0008807361009530723,
0.006573410704731941,
-0.06862401962280273,
0.005642215721309185,
0.0036330362781882286,
-0.03203677386045456,
0.015311963856220245,
-0.08587177097797394,
0.01037617214024067,
-0.022880788892507553,
-0.012394526042044163,
-0.005289003718644381,
0.009050481021404266,
-0.016743160784244537,
0.016091782599687576,
0.01921105571091175,
-0.029559705406427383,
0.06833044439554214,
-0.00022419779270421714,
0.043523043394088745,
-0.042312029749155045,
-0.019743166863918304,
-0.029743190854787827,
0.07343137264251709,
-0.031064296141266823,
-0.006091758143156767,
0.014541319571435452,
-0.027357865124940872,
0.01500921044498682,
0.03245879337191582,
-0.07082585990428925,
-0.05258728563785553,
0.03948633372783661,
-0.022110145539045334,
-0.003057346912100911,
-0.004279826767742634,
0.032238610088825226,
-0.025853274390101433,
-0.03838541358709335,
0.03317439183592796,
-0.028477134183049202,
0.00837616715580225,
0.02084408700466156,
-0.008848645724356174,
0.021431244909763336,
0.013403702527284622,
0.039339546114206314,
0.06366988271474838,
-0.03091750666499138,
-0.044513870030641556,
0.02260555885732174,
-0.006711025722324848,
-0.019100964069366455,
0.07978001236915588,
0.0017694997368380427,
-0.0471193790435791,
0.004635332617908716,
-0.04642213135957718,
-0.017201876267790794,
0.006068821996450424,
-0.0035183571744710207,
0.03776156157255173,
0.005256893578916788,
-0.020825738087296486,
-0.006371574942022562,
0.032403748482465744,
-0.026458779349923134,
-0.03200007975101471,
-0.057908397167921066,
-0.031192736700177193,
-0.011128467507660389,
-0.016458755359053612,
-0.041578084230422974,
-0.035688161849975586,
-0.025981714949011803,
0.041541386395692825,
-0.05904601514339447,
-0.004497717600315809,
0.001300461939536035,
-0.015880772843956947,
-0.04836709052324295,
0.003339457791298628,
-0.004194964189082384,
0.00779359694570303,
0.016000039875507355,
0.09255068749189377,
0.03405512869358063,
-0.007633046247065067,
-0.009440390393137932,
0.027100984007120132,
-0.042312029749155045,
-0.025394557043910027,
0.002056197728961706,
-0.01382572203874588,
-0.005133040249347687,
0.032532189041376114,
0.015431229956448078,
0.010366997681558132,
0.06722952425479889,
0.01483489852398634,
-0.005114691331982613,
-0.04436708241701126,
-0.004724781960248947,
-0.021761521697044373,
-0.006353226490318775,
0.017293620854616165,
0.07662404328584671,
-0.019266102463006973,
0.024532169103622437,
-0.01946793682873249,
-0.07823872566223145,
0.006137629505246878,
0.04069734737277031,
-0.10040391236543655,
-0.04271570220589638,
-0.0013933520531281829,
-0.0054633161053061485,
0.03974321484565735,
-0.01998170092701912,
-0.025504648685455322,
0.014266089536249638,
-0.04234872758388519,
-0.045724883675575256,
-0.03005511872470379,
-0.016293616965413094,
-0.02170647494494915,
0.040073491632938385,
-0.0005963317235000432,
0.019743166863918304,
-0.007454146631062031,
0.008192680776119232,
0.03616522625088692,
0.05812858045101166,
-0.04888085275888443,
0.05262397974729538,
-0.016568847000598907,
-0.0145963653922081,
-0.016614720225334167,
0.02899089641869068,
-0.04759644716978073,
-0.0434863455593586,
-0.024660609662532806,
0.005188086070120335,
0.03867899253964424,
-0.07581669837236404,
0.03023860603570938,
-0.05600013583898544,
0.029871633276343346,
-0.08521121740341187,
0.06711942702531815,
-0.0397065170109272,
-0.05354141443967819,
-0.018376192077994347,
-0.038825783878564835,
0.03436705470085144,
-0.005646802950650454,
-0.013642234727740288,
0.0013990859733894467,
-0.010706447996199131,
0.05636711046099663,
0.00421101925894618,
0.006917448248714209,
0.01304590329527855,
0.0068348790518939495,
0.04686249792575836,
-0.05005516856908798,
0.01611013151705265,
-0.0009157132590189576,
-0.05053223296999931,
0.04407350346446037,
-0.06099097430706024,
-0.014532145112752914,
-0.017889952287077904,
-0.036715686321258545,
-0.0010613558115437627,
-0.048770759254693985,
-0.05563316494226456,
0.011789019219577312,
0.04796341806650162,
0.02467895857989788,
0.01462388876825571,
-0.05922950059175491,
0.02730281837284565,
0.003266063053160906,
0.02596336603164673,
0.08506442606449127,
0.005119278561323881,
0.06198180094361305,
0.005018360912799835,
0.005651389714330435,
-0.020917482674121857,
-0.011229385621845722,
0.04337625205516815,
-0.0372844934463501,
0.0012947279028594494,
-0.013990859501063824,
-0.012018377892673016,
-0.030165210366249084,
0.02084408700466156,
0.048293694853782654,
-0.05284416675567627,
0.023889966309070587,
0.06095427647233009,
-0.04664231464266777,
0.008793598972260952,
0.06095427647233009,
-0.00833488255739212,
-0.035504672676324844,
-0.0705689787864685,
-0.07332128286361694,
0.0595964752137661,
-0.04796341806650162,
0.02368813194334507,
0.024660609662532806,
0.03897257149219513,
0.052734073251485825,
0.05464233458042145,
-0.03363310918211937,
-0.02097252756357193,
0.027926674112677574,
0.01869729347527027,
-0.07038549333810806,
-0.017990870401263237,
-0.01446792483329773,
0.0570276603102684,
0.01545875333249569,
-0.013651409186422825,
0.020660601556301117,
0.010238557122647762,
0.013678932562470436,
0.0705689787864685,
-0.023871617391705513,
-0.04223863407969475,
0.04836709052324295,
0.020990876480937004,
0.006958732381463051,
0.0018899128772318363,
-0.01628444343805313,
-0.07633046060800552,
0.03590834513306618,
0.016091782599687576,
0.008270662277936935,
0.019284451380372047,
-0.003651384962722659,
0.02394501306116581,
0.013568839989602566,
-0.041541386395692825,
-0.0038027616683393717,
-0.004447258543223143,
0.027357865124940872,
0.022458771243691444,
0.015302789397537708,
-0.0459083691239357,
-0.017559675499796867,
-0.01462388876825571,
-0.0005501733394339681,
-0.024752354249358177,
0.0707157701253891,
0.02477070316672325,
-0.008091762661933899,
0.036972567439079285,
0.07603688538074493
] |
725,559 | syne_tune.tuner | _set_metadata | null | @staticmethod
def _set_metadata(metadata: Dict[str, Any], name: str, value):
if name in metadata:
logger.warning(
f"Entry {name} in metadata is used, but will be overwritten:\n"
f"Old value: {metadata[name]}\n"
f"Overwrite: {value}\n"
)
metadata[name] = value
| (metadata: Dict[str, Any], name: str, value) | [
0.014765416271984577,
-0.03037162870168686,
-0.05401688441634178,
0.030423104763031006,
-0.011359332129359245,
-0.033751972019672394,
-0.023593779653310776,
0.023971280083060265,
0.06877372413873672,
-0.039191409945487976,
-0.03761277347803116,
0.00038098590448498726,
0.038745276629924774,
-0.022512754425406456,
0.0036720498465001583,
-0.016850247979164124,
-0.020539456978440285,
0.10165058076381683,
0.020848320797085762,
-0.021122867241501808,
0.06129234656691551,
-0.03761277347803116,
-0.019784456118941307,
0.007931799627840519,
-0.0015797107480466366,
-0.008845522068440914,
0.05432574823498726,
0.022735822945833206,
0.057517342269420624,
0.039225731045007706,
-0.04324096068739891,
-0.07975555211305618,
0.05789484456181526,
0.029496513307094574,
0.024074234068393707,
-0.05614461377263069,
-0.05055074393749237,
0.043824370950460434,
-0.0790005549788475,
-0.013478482142090797,
-0.008781175129115582,
0.040426868945360184,
-0.03416379168629646,
-0.010561433620750904,
0.03939732164144516,
0.04396164417266846,
0.009154385887086391,
0.07309781759977341,
-0.002702560042962432,
0.004015231970697641,
0.00874685775488615,
0.01701325923204422,
0.0024151450488716364,
0.0336490198969841,
-0.014405074529349804,
0.03720095381140709,
0.04660414904356003,
0.03201890364289284,
-0.02675105631351471,
0.025755826383829117,
0.029084695503115654,
0.00044854992302134633,
0.0016408400842919946,
-0.06444962322711945,
-0.042554598301649094,
-0.01630115695297718,
0.024726280942559242,
-0.021551843732595444,
-0.01589791662991047,
-0.0013394831912592053,
0.0018574738642200828,
-0.06427803635597229,
0.036205727607011795,
-0.004002362955361605,
-0.012311662547290325,
0.03129822015762329,
-0.057997796684503555,
0.028381170704960823,
0.02615048736333847,
-0.020659571513533592,
-0.001829590299166739,
-0.023079006001353264,
0.014353597536683083,
-0.0031272482592612505,
-0.051957789808511734,
0.04536869376897812,
-0.0009593016002327204,
0.0025953156873583794,
0.05597302317619324,
0.040392547845840454,
0.0001270176435355097,
0.013581437058746815,
-0.000821492460090667,
0.0349874310195446,
0.012191548943519592,
-0.013667232356965542,
0.015589052811264992,
-0.05899302661418915,
-0.0050962562672793865,
0.04622664675116539,
0.021054230630397797,
-0.06468985229730606,
0.06348871439695358,
-0.0039787692949175835,
0.03158992528915405,
-0.0713132694363594,
0.027437420561909676,
-0.014576666057109833,
0.027437420561909676,
0.0024923610035330057,
-0.008931317366659641,
-0.08963920176029205,
-0.05569847673177719,
-0.006756400223821402,
0.02637355588376522,
0.008862681686878204,
0.0031358276028186083,
-0.08943329006433487,
0.01999036595225334,
0.006031427998095751,
0.0033310125581920147,
-0.004838869441300631,
-0.0048560285940766335,
0.017150532454252243,
0.030955037102103233,
-0.025138098746538162,
0.027711965143680573,
0.025532757863402367,
0.036205727607011795,
-0.004607221577316523,
-0.02230684645473957,
-0.025309689342975616,
0.028998898342251778,
0.026579463854432106,
0.0560416579246521,
-0.0011003280524164438,
0.006451826076954603,
0.012080014683306217,
-0.007262594066560268,
0.01399325579404831,
-0.04420187324285507,
-0.016807349398732185,
0.00017333384312223643,
-0.008540947921574116,
0.060949165374040604,
-0.06458690017461777,
-0.033220041543245316,
0.044682327657938004,
-0.013229675590991974,
-0.0316414013504982,
0.016584280878305435,
-0.020196273922920227,
-0.0763237327337265,
0.04783960431814194,
-0.024709120392799377,
-0.0025996053591370583,
0.02148320898413658,
-0.02783207967877388,
-0.008030463941395283,
0.0257386676967144,
0.01944127306342125,
-0.06619985401630402,
0.020882640033960342,
-0.01087887678295374,
-0.01738218031823635,
-0.002850557444617152,
0.04413323476910591,
-0.00016502240032423288,
0.01887502335011959,
0.019973205402493477,
-0.017588090151548386,
-0.02338786981999874,
0.0424516424536705,
0.04763369634747505,
0.04269187152385712,
0.02592741884291172,
0.02354230172932148,
-0.052403926849365234,
0.01458524540066719,
0.02839832939207554,
-0.025275371968746185,
-0.0038307716604322195,
-0.03637731820344925,
0.02465764433145523,
0.008854101411998272,
0.006859355140477419,
-0.014542347751557827,
-0.0008558107074350119,
0.01969866082072258,
0.07577463984489441,
0.09197284281253815,
-0.04499119147658348,
-0.015297348611056805,
0.004847449250519276,
0.03104083426296711,
-0.03040594607591629,
-0.019595704972743988,
-0.055458251386880875,
0.026064690202474594,
0.05267847329378128,
-0.02059093490242958,
-0.028998898342251778,
0.022100936621427536,
0.05089392513036728,
0.07024940103292465,
0.028449807316064835,
0.07241145521402359,
-0.010775921866297722,
-0.07749055325984955,
0.005006170831620693,
0.0009780693799257278,
-0.008871261030435562,
0.016996100544929504,
0.004808841273188591,
0.015202973037958145,
-0.033443108201026917,
-0.0057096946984529495,
-0.004218996502459049,
-0.04375573620200157,
0.04358414560556412,
0.05092824250459671,
0.03025151416659355,
0.06036575511097908,
0.03037162870168686,
0.07508827745914459,
-0.020625252276659012,
0.011702514253556728,
-0.07824555039405823,
0.018600476905703545,
0.03284253925085068,
0.002874151337891817,
0.0727546364068985,
-0.05950779840350151,
-0.003787874011322856,
0.01906377263367176,
-0.004903216380625963,
0.01801706664264202,
-0.08696237951517105,
-0.0033074188977479935,
0.009969444014132023,
-0.012225867249071598,
0.02208377793431282,
0.01518581435084343,
0.09018829464912415,
-0.027780601754784584,
-0.05864984542131424,
-0.03819618374109268,
0.046466875821352005,
-0.001680520479567349,
-0.003210898721590638,
0.03502174839377403,
0.028707195073366165,
-0.013152459636330605,
0.034747201949357986,
0.02455468848347664,
-0.01326399389654398,
0.0167129747569561,
0.01791411265730858,
0.05624756962060928,
-0.034867316484451294,
-0.029976967722177505,
-0.0275746937841177,
0.009463250637054443,
0.003410373581573367,
0.004253314808011055,
-0.028158102184534073,
0.04252028092741966,
0.028329694643616676,
-0.07158781588077545,
0.009720636531710625,
0.02592741884291172,
0.029204808175563812,
0.0015679138014093041,
-0.03040594607591629,
0.0004271010111551732,
-0.029307764023542404,
0.060194164514541626,
0.006468985229730606,
-0.013324050232768059,
0.021122867241501808,
0.07522554695606232,
-0.05535529553890228,
0.032327767461538315,
0.03517618030309677,
0.013324050232768059,
-0.03805891051888466,
-0.02252991311252117,
0.032173335552215576,
-0.01884070411324501,
-0.006919411942362785,
-0.019132409244775772,
-0.016035189852118492,
-0.02436593919992447,
0.0014070471515879035,
-0.06263075768947601,
0.011367911472916603,
-0.07474508881568909,
-0.00566250691190362,
0.008193476125597954,
0.007121031638234854,
0.03651459142565727,
0.020453661680221558,
-0.025601394474506378,
0.03713231906294823,
0.03853936493396759,
-0.029050376266241074,
0.0295823086053133,
-0.014722517691552639,
-0.02134593576192856,
0.012508993037045002,
0.02223820984363556,
0.02827821671962738,
-0.040907323360443115,
0.0510311983525753,
0.052060745656490326,
-0.017399339005351067,
0.010364104062318802,
-0.0033717656042426825,
-0.031692881137132645,
0.05556120350956917,
0.0035712402313947678,
-0.04976142570376396,
-0.08188328146934509,
-0.024039916694164276,
0.02541264519095421,
-0.06757258623838425,
0.054565977305173874,
0.04104459658265114,
0.030200036242604256,
-0.03943163901567459,
-0.08298146724700928,
-0.05950779840350151,
0.039603229612112045,
0.04660414904356003,
-0.04190254956483841,
0.009943705052137375,
-0.06942576915025711,
-0.08078509569168091,
0.059267573058605194,
-0.015863599255681038,
-0.022924574092030525,
-0.009660580195486546,
-0.05360506474971771,
-0.0059413425624370575,
0.02488071285188198,
0.017210589721798897,
0.03447265550494194,
-0.014816893264651299,
0.07193099707365036,
-0.0031358276028186083,
0.0002465281868353486,
0.01682450994849205,
-0.011393650434911251,
-0.005405120085924864,
0.08243237435817719,
-0.017399339005351067,
-0.008073362521827221,
-0.052472565323114395,
-0.05906166508793831,
-0.037544138729572296,
0.01266342494636774,
-0.024726280942559242,
0.05861552804708481,
0.01479115430265665,
-0.005121994763612747,
0.020985594019293785,
-0.05449733883142471,
0.04447641968727112,
0.023439347743988037,
-0.06537621468305588,
0.000583946006372571,
-0.06029712036252022,
0.03131537884473801,
0.010870297439396381,
0.035313453525304794,
0.00003981450208812021,
0.011222058907151222,
0.040049366652965546,
-0.077765092253685,
-0.005460887216031551,
0.00533648394048214,
0.023216279223561287,
-0.01634405367076397,
0.021105708554387093,
0.009145806543529034,
-0.0019636459182947874,
0.054154157638549805,
-0.02096843533217907,
0.015683427453041077,
0.02678537368774414,
0.015460359863936901,
-0.007661543320864439,
0.015734905377030373,
-0.002932063303887844,
-0.01745939627289772,
-0.01348706241697073,
-0.049418240785598755,
-0.026476509869098663,
-0.03447265550494194,
0.0015797107480466366,
0.0030671912245452404,
-0.08833511173725128,
-0.02148320898413658,
0.012002798728644848,
-0.00780739588662982,
-0.013461323454976082,
-0.009120067581534386,
0.040838684886693954,
0.005370802246034145,
0.016172463074326515,
-0.021654799580574036,
-0.08407964557409286,
0.021929344162344933,
-0.06410644203424454,
0.03953459486365318,
0.03603413328528404,
0.02798651158809662,
-0.08003009855747223,
0.008480890654027462,
0.0017641711747273803,
0.020899798721075058,
-0.00887984037399292,
-0.03895118460059166,
0.07550009340047836,
-0.0038843939546495676,
-0.06544484943151474,
-0.022341163828969002,
-0.032550834119319916,
-0.03998073190450668,
-0.006263075862079859,
-0.0000762105846661143,
-0.05000165104866028,
0.010844558477401733,
-0.007682992145419121,
0.030869241803884506,
-0.03558799996972084,
0.005615319591015577,
-0.03466140478849411,
-0.043858688324689865,
0.027403101325035095,
-0.01304092537611723,
-0.02570435032248497,
-0.007567168213427067,
-0.0361027717590332,
-0.03260231390595436,
-0.024829234927892685,
-0.04718755930662155,
0.03037162870168686,
0.05257551744580269,
-0.019715819507837296,
0.03100651502609253,
0.05854688957333565,
-0.019784456118941307,
-0.03805891051888466,
0.03244788199663162,
-0.05260983854532242,
-0.050688017159700394,
-0.05611029639840126,
0.017965590581297874,
0.006709212902933359,
-0.028261058032512665,
0.007052395027130842,
-0.0523696094751358,
-0.02354230172932148,
0.038367774337530136,
0.009712057188153267,
-0.0017738231690600514,
-0.023748211562633514,
-0.033374473452568054,
-0.015915077179670334,
0.02026491053402424,
-0.028175262734293938,
0.04756505787372589,
0.037475500255823135,
-0.07392145693302155,
-0.04845733195543289,
-0.01443939283490181,
0.03224197030067444,
-0.04718755930662155,
0.043824370950460434,
0.015915077179670334,
0.018377408385276794,
0.03327151760458946,
0.03062901459634304,
0.053261883556842804,
-0.018909340724349022,
0.040873005986213684,
-0.02678537368774414,
0.028381170704960823,
0.05391392856836319,
-0.0011142698349431157,
-0.02446889318525791,
0.023370711132884026,
-0.03682345524430275,
-0.0275746937841177,
-0.012569049373269081,
0.017931271344423294,
0.04608937352895737,
0.006456115748733282,
-0.0011893409537151456,
-0.02887878566980362,
-0.06602825969457626,
0.0042554596439003944,
-0.0340951569378376,
0.049898698925971985,
-0.010089557617902756,
0.006160121411085129,
0.012937970459461212,
-0.01124779786914587,
-0.004675858188420534,
-0.023181959986686707,
0.022701505571603775,
0.016996100544929504,
0.030697651207447052,
0.03239640220999718,
-0.030526060611009598,
-0.10185648500919342,
-0.00011448345321696252,
-0.04588346555829048,
-0.03696072846651077,
0.003706368152052164,
-0.006280235014855862,
0.07350963354110718,
-0.040392547845840454,
0.008034754544496536,
-0.05137437954545021,
0.009720636531710625,
-0.017021838575601578,
-0.011273536831140518,
0.008510919287800789,
-0.0442361906170845,
-0.0072711738757789135,
-0.014242063276469707,
-0.03256799280643463,
0.05257551744580269,
0.02615048736333847,
0.01426780130714178,
-0.013118141330778599,
0.026802532374858856,
-0.02138025313615799,
0.0012569049140438437,
0.005516654346138239,
0.019647182896733284,
-0.01296370942145586,
0.013341209851205349,
-0.01191700343042612,
-0.041696641594171524,
0.016249679028987885,
0.02790071628987789,
-0.0510311983525753,
-0.03761277347803116,
-0.01488552987575531,
0.02156900428235531,
-0.03212185576558113,
-0.08140283077955246,
-0.046913012862205505,
0.0239541195333004,
-0.037029363214969635,
0.029719581827521324,
0.03014856018126011,
0.012474674731492996,
-0.006160121411085129,
0.04111323133111,
0.0397748202085495,
0.02268434688448906,
-0.0008531296043656766,
-0.04807983338832855,
-0.00932597741484642,
-0.029153332114219666,
-0.019458433613181114,
0.01723632775247097,
0.009514727629721165,
0.025687189772725105,
-0.0064003486186265945,
-0.014765416271984577,
0.028381170704960823,
0.07845146209001541,
0.029153332114219666,
0.01794843189418316,
-0.046398237347602844,
-0.04591778293251991,
0.038710955530405045,
0.023679574951529503,
-0.018308771774172783,
0.02167195826768875,
-0.007798816543072462,
0.0090256929397583,
0.07254872471094131,
0.024503212422132492,
0.07296054065227509,
-0.08140283077955246,
-0.01712479442358017,
-0.005100545939058065,
-0.057139843702316284,
0.03145265206694603,
-0.021105708554387093,
0.013015186414122581,
-0.07831418514251709,
0.03764709085226059,
-0.0016998245846480131,
-0.060605984181165695,
-0.041696641594171524,
-0.051202788949012756,
0.02220389060676098,
-0.042657554149627686,
-0.03812754526734352,
-0.009986602701246738,
-0.006559070665389299,
-0.00008934803190641105,
-0.0054565975442528725,
-0.030680492520332336,
0.01553757581859827,
0.01458524540066719,
0.015760643407702446,
0.08298146724700928,
0.008141998201608658,
-0.0060571664944291115,
0.017219169065356255,
0.003989493474364281,
-0.043069370090961456,
-0.010484217666089535,
0.004770233295857906,
-0.04845733195543289,
-0.021586162969470024,
-0.051168471574783325,
-0.028072306886315346,
-0.0007491025025956333,
-0.0343182235956192,
-0.030526060611009598,
-0.10721012949943542,
-0.04252028092741966,
0.0046243807300925255,
0.008292140439152718,
-0.023181959986686707,
0.040392547845840454,
0.03599981591105461,
0.01902945525944233,
-0.028329694643616676,
-0.018754908815026283,
0.014859790913760662,
0.03974050283432007,
-0.013950358144938946,
0.005576711613684893,
0.03279106318950653,
-0.048182785511016846,
0.06743530929088593,
-0.002745457924902439,
-0.06300825625658035,
0.04121618717908859,
-0.013143879361450672,
-0.02443457581102848,
0.05919893458485603,
-0.008330748416483402,
0.03795595467090607,
0.09087465703487396,
0.04351550713181496,
-0.017407918348908424,
0.019269682466983795,
0.0011925583239644766,
-0.03081776574254036,
-0.011779730208218098,
-0.03301412984728813,
-0.01059575192630291,
-0.011659616604447365,
0.10494513064622879,
0.01348706241697073,
-0.0596107542514801,
-0.012088594026863575,
0.03433538228273392,
-0.002171700121834874,
-0.011179161258041859,
-0.008643902838230133,
0.03339163213968277,
0.010175353847444057,
0.026099009439349174,
-0.09698329865932465,
0.030731968581676483,
0.030097082257270813,
0.021397411823272705,
0.020470820367336273,
-0.0235079824924469,
0.00046410036156885326,
0.032104697078466415,
0.028827307745814323,
-0.0031315379310399294,
0.08524646610021591,
0.014851211570203304,
-0.008425123989582062,
0.0008338256157003343,
0.03279106318950653,
0.018600476905703545,
-0.08208919316530228,
-0.019561387598514557,
0.043790053576231,
-0.027059920132160187,
-0.008069072850048542,
-0.009162966161966324,
0.004167519509792328,
0.020059002563357353,
0.010784502141177654,
-0.017999907955527306,
0.07639236748218536,
-0.007918930612504482,
-0.0542571134865284,
-0.007897481322288513,
-0.06750394403934479,
-0.031281061470508575,
-0.008030463941395283,
0.013126720674335957,
-0.03641163557767868,
-0.0008917375816963613,
0.05487484112381935,
0.03891686722636223,
-0.015245870687067509,
0.011711093597114086,
-0.024829234927892685,
-0.025275371968746185,
-0.042245734483003616,
0.04203982278704643,
0.006653445772826672,
0.021963663399219513,
0.03730390965938568,
-0.00603571766987443,
-0.013212515972554684,
-0.05061937868595123,
-0.01633547432720661,
-0.00418896833434701,
-0.05466892942786217,
0.00932597741484642,
0.012792117893695831,
0.0085237892344594,
0.03637731820344925,
-0.0379902720451355,
0.07165645062923431,
0.01634405367076397,
-0.002128802239894867,
-0.012337401509284973,
0.0033353024628013372,
0.02170627750456333,
0.04910937696695328,
0.01244035642594099,
0.041319143027067184,
-0.02820958010852337,
-0.007326941005885601,
-0.020247751846909523,
-0.029273444786667824,
0.03119526617228985,
0.02853560261428356,
-0.022632868960499763,
0.07694146037101746,
0.041319143027067184,
0.03122958354651928,
-0.07460781931877136,
0.04955551400780678,
0.05919893458485603,
-0.06338576227426529,
0.04080436751246452,
0.01973297819495201,
0.06702349334955215,
0.02697412483394146,
-0.045608919113874435,
0.032327767461538315,
0.003817902412265539,
-0.01369297131896019,
0.018909340724349022,
0.025978894904255867,
-0.012654844671487808,
0.013855982571840286
] |
725,560 | syne_tune.tuner | _sleep | null | def _sleep(self):
time.sleep(self.sleep_time)
for callback in self.callbacks:
callback.on_tuning_sleep(self.sleep_time)
| (self) | [
0.0133846839889884,
-0.00011295823787804693,
-0.07959804683923721,
0.015719015151262283,
-0.012452727183699608,
0.011005973443388939,
-0.0016808519139885902,
-0.0057115680538117886,
-0.04704166203737259,
0.05329021438956261,
-0.08918388932943344,
-0.015949785709381104,
0.051195528358221054,
-0.002762588206678629,
-0.04026056081056595,
-0.025775281712412834,
0.051018014550209045,
0.01665097288787365,
-0.013473441824316978,
-0.056414492428302765,
0.012852136977016926,
0.039053454995155334,
-0.0003944177005905658,
0.041751693934202194,
-0.038414400070905685,
0.013065156526863575,
-0.038627419620752335,
-0.03216584771871567,
0.02637883462011814,
0.00839205551892519,
-0.02007702738046646,
-0.019917262718081474,
0.013943858444690704,
0.010846209712326527,
-0.04097062721848488,
0.020148033276200294,
-0.011369881220161915,
-0.023716097697615623,
-0.013136162422597408,
0.02004152350127697,
0.04665112867951393,
-0.02162141352891922,
-0.015124338679015636,
0.01642020232975483,
-0.03063921071588993,
0.0672074481844902,
0.0004363003245089203,
0.05332572013139725,
0.028509022668004036,
0.01640245132148266,
-0.025722026824951172,
0.00033561562304385006,
-0.03605344146490097,
0.03742031008005142,
0.00020164674788247794,
0.03465106710791588,
0.0022855147253721952,
-0.04640260711312294,
0.033674728125333786,
-0.029840391129255295,
0.03536112979054451,
0.00804589968174696,
0.01451190933585167,
0.06695892661809921,
0.03241436928510666,
-0.015949785709381104,
-0.02185218408703804,
0.03752681985497475,
0.00968348141759634,
-0.02025454305112362,
0.07981105893850327,
0.004926060792058706,
-0.028651034459471703,
-0.0003408856282476336,
-0.015825524926185608,
-0.004473395645618439,
-0.05495886132121086,
-0.0630180761218071,
-0.065148264169693,
0.028775297105312347,
0.0180178452283144,
0.02160366252064705,
-0.007242640946060419,
0.005689378362149,
0.01917169615626335,
-0.028864054009318352,
-0.019704243168234825,
-0.05556241795420647,
-0.0333019457757473,
0.024727938696742058,
-0.016579966992139816,
0.02815399132668972,
0.02767469920217991,
0.018159857019782066,
0.06156244874000549,
0.02408888190984726,
-0.03237886354327202,
-0.03133152425289154,
-0.03303567320108414,
-0.01872790791094303,
-0.002298828447237611,
0.0035946930292993784,
0.06031983718276024,
-0.027177654206752777,
0.06355062127113342,
-0.03876943141222,
-0.0272841639816761,
0.011449763551354408,
-0.012967522256076336,
0.009204189293086529,
0.030017906799912453,
-0.01982850395143032,
-0.028722042217850685,
-0.0022011948749423027,
-0.01318941731005907,
0.006825478747487068,
0.0514085479080677,
0.03759782761335373,
-0.00032535300124436617,
0.023094793781638145,
0.009816618636250496,
-0.00016683702415321022,
0.014866940677165985,
-0.05453282594680786,
-0.043810877948999405,
0.0021601442713290453,
-0.0008775932947173715,
0.09592948853969574,
0.04842628538608551,
0.005365412216633558,
-0.04970439895987511,
0.0180178452283144,
-0.02723090909421444,
0.0006495965644717216,
0.021674668416380882,
-0.04068659991025925,
-0.04239075258374214,
0.021923189982771873,
0.038201380521059036,
-0.010366917587816715,
-0.041290152817964554,
-0.03699427470564842,
0.013704212382435799,
-0.029325595125555992,
0.0716453418135643,
0.02542024850845337,
-0.00876927562057972,
-0.01647345721721649,
0.019633237272500992,
0.002429746324196458,
0.00040218402864411473,
0.01342018786817789,
-0.008214538916945457,
0.008671642281115055,
0.010455675423145294,
-0.027639195322990417,
-0.026432089507579803,
0.023609589785337448,
-0.026929132640361786,
-0.049917418509721756,
-0.009497090242803097,
-0.040438078343868256,
-0.027514934539794922,
-0.02680487185716629,
-0.016118425875902176,
0.07704181969165802,
-0.07917200773954391,
0.06493524461984634,
0.010402420535683632,
0.004105050582438707,
0.04072210192680359,
-0.03788185119628906,
-0.028491271659731865,
0.01691724732518196,
0.004029606468975544,
0.03891144320368767,
-0.0009780005784705281,
0.0020591821521520615,
0.009958631359040737,
-0.03763332962989807,
-0.04395288974046707,
0.00893347803503275,
-0.03671024739742279,
-0.06266304850578308,
-0.04707716405391693,
-0.026698362082242966,
0.0003275719645898789,
0.03308892622590065,
-0.04626059532165527,
0.04317181929945946,
0.016233811154961586,
0.010686445981264114,
0.04618958756327629,
0.02181668020784855,
0.0360356904566288,
0.03742031008005142,
0.039976537227630615,
-0.0005203429027460515,
0.04800024628639221,
0.04668663069605827,
0.007358026225119829,
-0.0344557985663414,
0.019881758838891983,
-0.018781162798404694,
0.049881912767887115,
-0.02025454305112362,
0.017085887491703033,
0.011378756724298,
-0.0005633350228890777,
-0.07043823599815369,
-0.010420172475278378,
-0.0035303435288369656,
0.03805936872959137,
0.026432089507579803,
0.007912762463092804,
-0.0059467763639986515,
0.0074645355343818665,
-0.025757528841495514,
0.03127826750278473,
-0.03710078448057175,
-0.023503080010414124,
-0.021443897858262062,
-0.057728108018636703,
-0.015603630803525448,
-0.009434959851205349,
0.04082861170172691,
0.012434975244104862,
-0.06692342460155487,
0.052793171256780624,
0.021443897858262062,
0.03752681985497475,
0.020645076408982277,
-0.03218359872698784,
-0.008454185910522938,
0.004979315679520369,
0.02568652294576168,
-0.047858234494924545,
-0.01800009235739708,
-0.0427812859416008,
-0.04434342309832573,
0.05297068879008293,
-0.002731523010879755,
-0.03246762230992317,
-0.030727969482541084,
0.025810783728957176,
-0.024195391684770584,
0.05339672416448593,
-0.019224951043725014,
0.0018073318060487509,
0.010757451876997948,
0.06539678573608398,
-0.03678125515580177,
0.020414305850863457,
-0.01849713735282421,
-0.05804763734340668,
0.008250042796134949,
0.011547396890819073,
0.05272216349840164,
-0.007903886958956718,
0.03308892622590065,
-0.01341131143271923,
0.0213906429708004,
-0.12063967436552048,
0.044485434889793396,
-0.0027825587894767523,
0.01474267989397049,
0.04231974482536316,
-0.004810675512999296,
-0.010180525481700897,
-0.005662750918418169,
0.10160999000072479,
-0.016579966992139816,
-0.05794112756848335,
-0.0006290712626650929,
-0.03262738883495331,
0.047148171812295914,
-0.011822545900940895,
-0.03314218297600746,
-0.016775233671069145,
-0.03685225918889046,
0.1344859004020691,
-0.0024741252418607473,
0.007744122762233019,
0.008937915787100792,
0.00003536445728968829,
-0.033213190734386444,
-0.007819566875696182,
0.07682880014181137,
0.007642051205039024,
-0.017068134620785713,
-0.027301914989948273,
-0.0019327022600919008,
0.09031999111175537,
-0.031029745936393738,
0.02115987241268158,
-0.016908371821045876,
0.0002425585698802024,
-0.0026449840515851974,
0.009674605913460255,
-0.003608006751164794,
0.04959788918495178,
-0.11850948631763458,
-0.06355062127113342,
0.05364524573087692,
-0.01842612959444523,
-0.0007389091188088059,
-0.0015244161477312446,
0.010153898037970066,
-0.006971929222345352,
-0.016579966992139816,
-0.044911473989486694,
-0.013198292814195156,
0.04640260711312294,
0.0373138003051281,
0.01146751455962658,
-0.022810768336057663,
-0.015230847522616386,
0.01892317458987236,
0.008924602530896664,
0.036106694489717484,
-0.023254558444023132,
0.03019542247056961,
0.03083447925746441,
0.047396693378686905,
-0.004983753431588411,
-0.01115686260163784,
0.05744408443570137,
0.021461648866534233,
-0.04097062721848488,
-0.09259219467639923,
-0.05833166092634201,
-0.05854468047618866,
0.05719556286931038,
-0.053716253489255905,
-0.043136317282915115,
0.0636216327548027,
0.004739669617265463,
0.011210116557776928,
0.05691153556108475,
0.011787042953073978,
0.023822607472538948,
0.004284785594791174,
-0.00213684537447989,
0.03575166314840317,
0.0491008460521698,
0.04846178740262985,
-0.011973434127867222,
0.024852199479937553,
0.05265115946531296,
-0.04654461890459061,
0.03756232559680939,
-0.058260656893253326,
-0.018568143248558044,
0.09848571568727493,
0.027976475656032562,
-0.012940894812345505,
0.0315977968275547,
-0.015319605357944965,
-0.007784063927829266,
-0.06823703646659851,
0.016003040596842766,
0.04665112867951393,
0.03280490264296532,
0.012399472296237946,
0.08492351323366165,
0.03427828475832939,
0.0009064395562745631,
-0.006097664590924978,
0.0602843351662159,
-0.04263927415013313,
-0.03671024739742279,
0.003199720522388816,
0.004970439709722996,
0.04689965024590492,
0.0011460857931524515,
-0.07782288640737534,
-0.044946976006031036,
0.021674668416380882,
0.039514996111392975,
0.039301976561546326,
0.06589382886886597,
-0.041077133268117905,
-0.006119853816926479,
-0.01957998238503933,
0.008485251106321812,
-0.0333019457757473,
-0.01103260088711977,
-0.029840391129255295,
0.03134927526116371,
-0.016349196434020996,
0.055491410195827484,
0.011689409613609314,
-0.08485250920057297,
0.044023893773555756,
-0.012053316459059715,
0.03285815566778183,
0.00692311255261302,
-0.044272419065237045,
-0.027301914989948273,
-0.009159810841083527,
-0.0015244161477312446,
-0.0373138003051281,
-0.11005973815917969,
0.009248568676412106,
0.024230893701314926,
-0.00839205551892519,
0.03040844015777111,
0.042923297733068466,
0.016659848392009735,
0.07782288640737534,
-0.031154006719589233,
0.01304740458726883,
-0.012692373245954514,
-0.026201318949460983,
0.010056264698505402,
-0.06639087200164795,
-0.08485250920057297,
0.012994149699807167,
0.00906661432236433,
-0.025065217167139053,
0.0037367057520896196,
0.021781178191304207,
0.018550392240285873,
0.03532562404870987,
0.02609480917453766,
0.008352113887667656,
-0.02474568970501423,
0.011192365549504757,
-0.021035611629486084,
-0.011591775342822075,
-0.012683497741818428,
0.036159951239824295,
-0.05762159824371338,
-0.003525905776768923,
0.0344557985663414,
0.07168084383010864,
-0.005338784772902727,
-0.029219085350632668,
0.022899527102708817,
-0.06482873857021332,
-0.004544402007013559,
0.02973388135433197,
-0.04008304700255394,
-0.03738480806350708,
0.04555052891373634,
-0.03880493342876434,
-0.024230893701314926,
0.01361545454710722,
-0.016003040596842766,
-0.036390721797943115,
-0.06241452321410179,
0.016429077833890915,
0.03600018471479416,
0.014103623107075691,
0.003945286385715008,
-0.011432011611759663,
-0.0006190860294736922,
0.03915996477007866,
0.011627279222011566,
-0.012763379141688347,
-0.025810783728957176,
-0.021674668416380882,
-0.0566985160112381,
-0.025988299399614334,
0.056201472878456116,
0.08577559143304825,
0.056165970861911774,
0.03110075183212757,
0.009026673622429371,
0.046473611146211624,
0.026077058166265488,
0.007020746357738972,
0.014582915231585503,
-0.029165830463171005,
0.0009258553618565202,
-0.05091150477528572,
-0.027177654206752777,
0.012719000689685345,
0.022207215428352356,
0.03489958867430687,
0.014387648552656174,
-0.057515088468790054,
0.02570427395403385,
0.008005958050489426,
-0.012026689015328884,
-0.021266382187604904,
-0.02408888190984726,
-0.025846287608146667,
0.00007835654105292633,
-0.07604772597551346,
-0.08946792036294937,
-0.026946883648633957,
0.08563357591629028,
0.05787011981010437,
-0.02948535978794098,
-0.03331969678401947,
-0.033479463309049606,
0.033195436000823975,
0.06560980528593063,
0.0050059431232512,
0.02678712084889412,
0.03427828475832939,
-0.03450905531644821,
-0.003909783437848091,
-0.006510388571768999,
-0.04849729314446449,
-0.03678125515580177,
-0.005263340659439564,
-0.04196471348404884,
0.03427828475832939,
0.07441458106040955,
-0.007149445358663797,
-0.044485434889793396,
-0.004178275819867849,
-0.000698968127835542,
-0.07952703535556793,
0.02362734079360962,
0.02453267015516758,
0.047219179570674896,
-0.017511924728751183,
0.021710170432925224,
0.002940103877335787,
0.003472651122137904,
-0.0036612614057958126,
0.005751508753746748,
-0.008245605044066906,
-0.036142196506261826,
0.03685225918889046,
-0.0180178452283144,
0.04640260711312294,
0.012363969348371029,
-0.0009596942691132426,
0.002551788231357932,
-0.015905408188700676,
0.02973388135433197,
0.04572804644703865,
-0.007331398781388998,
-0.050769492983818054,
-0.06323109567165375,
0.03229010850191116,
-0.005019256845116615,
-0.09351527690887451,
0.05538490042090416,
-0.01865690015256405,
-0.00014617308625020087,
0.007011870387941599,
-0.0661778524518013,
0.04168068990111351,
-0.03855641186237335,
0.006541453767567873,
0.046757638454437256,
-0.012035565450787544,
-0.010588811710476875,
0.023094793781638145,
-0.02407113090157509,
-0.05723106488585472,
0.04572804644703865,
-0.017875831574201584,
0.028509022668004036,
0.029219085350632668,
-0.01601191610097885,
-0.009426084347069263,
0.035254620015621185,
-0.016038544476032257,
0.028881805017590523,
-0.002935666125267744,
0.012204204685986042,
0.07217788696289062,
-0.005014818627387285,
-0.024674683809280396,
0.028668787330389023,
0.02181668020784855,
-0.029804887250065804,
-0.03191732242703438,
-0.04817776381969452,
0.014813685789704323,
0.04555052891373634,
-0.01826636679470539,
-0.037952858954668045,
-0.05005943030118942,
0.019047435373067856,
0.01768944039940834,
-0.023751601576805115,
-0.04263927415013313,
0.005516300443559885,
-0.02502971515059471,
0.050343453884124756,
-0.03019542247056961,
-0.012328465469181538,
0.018834415823221207,
-0.04217773303389549,
0.024177638813853264,
-0.04746770113706589,
-0.008085840381681919,
0.013597703538835049,
0.012790006585419178,
0.01849713735282421,
0.03653273358941078,
-0.01956223137676716,
0.06855656951665878,
-0.0010845100041478872,
0.03083447925746441,
0.04437892511487007,
0.03720729053020477,
0.017068134620785713,
0.019757498055696487,
-0.02861553244292736,
0.02430189959704876,
0.03742031008005142,
0.03848540410399437,
-0.024869950488209724,
0.03205933794379234,
0.03337295353412628,
-0.000011172741324116942,
0.028455767780542374,
-0.011600651778280735,
-0.05091150477528572,
-0.01793796196579933,
0.06220150366425514,
0.026946883648633957,
-0.011964558623731136,
0.03891144320368767,
-0.004557715728878975,
0.019224951043725014,
-0.03873392567038536,
-0.06287606060504913,
-0.005995593033730984,
-0.08194125443696976,
0.017680564895272255,
-0.07938502728939056,
-0.01281663402915001,
-0.038875941187143326,
0.004122802522033453,
-0.07125480473041534,
0.0029622933361679316,
0.016775233671069145,
-0.025739777833223343,
-0.012781131081283092,
-0.024639179930090904,
-0.04711266979575157,
0.06458021700382233,
-0.015266350470483303,
0.01849713735282421,
-0.06198848411440849,
0.02096460573375225,
-0.024461664259433746,
-0.09713659435510635,
0.02231372520327568,
0.020165784284472466,
0.03303567320108414,
-0.05637899041175842,
0.029911397024989128,
-0.041787195950746536,
0.06845005601644516,
-0.07118380069732666,
-0.02250899188220501,
0.025935044512152672,
0.016082923859357834,
0.043810877948999405,
-0.021443897858262062,
-0.020627325400710106,
0.007291457615792751,
-0.005822515115141869,
-0.03037293814122677,
0.041290152817964554,
0.00893347803503275,
-0.02969837747514248,
0.03608894348144531,
-0.01239059679210186,
-0.019508976489305496,
0.004164962098002434,
-0.04434342309832573,
-0.001462285639718175,
0.000010089272109325975,
0.010526681318879128,
0.004207122139632702,
-0.023006035014986992,
-0.04533751308917999,
0.0023365505039691925,
0.006337310653179884,
0.002121312776580453,
-0.014378772117197514,
-0.033887747675180435,
-0.05133754387497902,
0.0073757776990532875,
0.04097062721848488,
0.008866909891366959,
-0.02046756073832512,
-0.04753870517015457,
-0.0003766661393456161,
-0.023929117247462273,
-0.04352685064077377,
-0.020148033276200294,
0.04498248174786568,
-0.02140839397907257,
-0.04349134862422943,
0.05321921035647392,
-0.1158822551369667,
0.023343315348029137,
-0.022402482107281685,
0.0383433923125267,
-0.06145593896508217,
-0.03177531063556671,
-0.03418952599167824,
0.021053362637758255,
0.06053285673260689,
0.023609589785337448,
0.01602966897189617,
0.0344557985663414,
-0.004369105212390423,
0.00816128496080637,
-0.01609179936349392,
0.012035565450787544,
0.024461664259433746,
-0.008986732922494411,
-0.05520738661289215,
-0.05524288862943649,
-0.039195466786623,
-0.008649452589452267,
0.05332572013139725,
-0.03626645728945732,
0.029343346133828163,
0.01352669671177864,
0.025313740596175194,
-0.02836701087653637,
0.023041538894176483,
0.0018261928344145417,
0.042426254600286484,
0.043810877948999405,
0.010970470495522022,
-0.013216044753789902,
-0.05027244985103607,
-0.0400475449860096,
0.00978111568838358,
0.007047373801469803,
-0.048319775611162186,
0.030568204820156097,
-0.01714801788330078,
0.030568204820156097,
-0.028296003118157387,
-0.021958693861961365,
-0.04970439895987511,
-0.008724897168576717,
0.007473411504179239,
-0.03264513984322548,
-0.0009702342795208097,
0.01342018786817789,
-0.04345584660768509,
0.0558464415371418,
-0.003217472229152918,
0.024000123143196106,
0.033479463309049606,
-0.01849713735282421,
0.014866940677165985,
0.03516586124897003,
0.003892031963914633,
0.010615439154207706,
0.022207215428352356,
-0.05023694410920143,
-0.055491410195827484,
0.044449932873249054,
0.021337388083338737,
0.06063936650753021,
0.027301914989948273,
0.0195977333933115,
0.014902443625032902,
0.01126337144523859,
0.023148048669099808
] |
725,561 | syne_tune.tuner | _stop_condition | null | def _stop_condition(self) -> bool:
return (
self.stop_criterion(self.tuning_status)
or self.tuning_status.num_trials_failed > self.max_failures
)
| (self) -> bool | [
0.0429629385471344,
0.04690244793891907,
-0.005904616788029671,
0.06388693302869797,
-0.031460318714380264,
-0.034823764115571976,
-0.00647138524800539,
0.017579125240445137,
-0.023339727893471718,
0.0007328507490456104,
-0.004738559480756521,
0.03125590831041336,
0.03432203456759453,
-0.04634496942162514,
-0.011864980682730675,
0.019381636753678322,
-0.008204211480915546,
-0.0012775528011843562,
0.04693961143493652,
-0.03300267085433006,
-0.049169521778821945,
0.02965780720114708,
-0.027613721787929535,
-0.010443412698805332,
0.022986657917499542,
0.05794050171971321,
0.0016062322538346052,
-0.004387813154608011,
-0.03006662428379059,
0.024900665506720543,
-0.05035880580544472,
0.002443609992042184,
0.024621926248073578,
0.025123655796051025,
0.06489039212465286,
0.05355501174926758,
-0.0097001101821661,
-0.0010487546678632498,
-0.01570228487253189,
-0.02796679176390171,
-0.010527035221457481,
-0.036198876798152924,
-0.00020556985691655427,
0.06663715094327927,
-0.051027778536081314,
-0.049652669578790665,
-0.014605912379920483,
-0.005899970885366201,
0.041327670216560364,
-0.035399824380874634,
0.001578358351252973,
-0.004738559480756521,
0.024343186989426613,
0.043966397643089294,
-0.0048128897324204445,
-0.00601146649569273,
0.013555996119976044,
0.006318079307675362,
-0.006880202330648899,
-0.04809173196554184,
-0.03140456974506378,
0.023451223969459534,
0.009532866068184376,
-0.017597708851099014,
0.06373827159404755,
0.037313833832740784,
-0.026721758767962456,
0.03606879711151123,
0.02034793049097061,
0.07265791296958923,
-0.022745084017515182,
-0.0026364042423665524,
-0.04426372051239014,
-0.012366711162030697,
-0.04047287255525589,
-0.0692758783698082,
-0.021611547097563744,
-0.013128596358001232,
-0.016928736120462418,
-0.051176439970731735,
-0.02211327664554119,
0.014578038826584816,
-0.009783731773495674,
-0.003170653712004423,
0.03348581865429878,
-0.009802313521504402,
-0.005365721415728331,
-0.01743975654244423,
0.007135713007301092,
-0.0009198379702866077,
-0.024231690913438797,
0.07009351253509521,
-0.010146091692149639,
-0.05979876220226288,
0.03748107701539993,
0.01691015250980854,
-0.014791738241910934,
0.002520263195037842,
-0.05556192994117737,
-0.08362163603305817,
0.05032164230942726,
0.04824039340019226,
0.08436493575572968,
-0.016222598031163216,
0.0886761024594307,
0.034024715423583984,
-0.04898369684815407,
-0.013732531107962132,
-0.014838194474577904,
-0.03660769388079643,
-0.0035887619014829397,
0.023376893252134323,
-0.04998715594410896,
0.03173905611038208,
-0.05905545875430107,
-0.01870337314903736,
-0.00829712487757206,
-0.003110260237008333,
-0.06425858289003372,
0.008320352993905544,
0.022782249376177788,
-0.0036584464833140373,
-0.025067908689379692,
-0.039952557533979416,
0.0010830162791535258,
0.006657211109995842,
-0.009895226918160915,
0.06730612367391586,
0.010647821240127087,
0.018331721425056458,
-0.0402127169072628,
0.00973727460950613,
0.030977170914411545,
0.00455505633726716,
0.02477058582007885,
-0.027056245133280754,
0.03510250523686409,
0.06581951677799225,
0.02854285202920437,
0.0021311903838068247,
-0.007679253350943327,
0.05121360719203949,
-0.011446872726082802,
-0.040361374616622925,
0.025123655796051025,
0.03865177929401398,
-0.0447097010910511,
-0.02523515187203884,
0.0004854700528085232,
0.0161111019551754,
-0.03662627562880516,
-0.03684926778078079,
-0.023525552824139595,
-0.04864921048283577,
-0.010759317316114902,
0.023674214258790016,
-0.04489552602171898,
0.017848573625087738,
0.06351527571678162,
-0.05203124135732651,
0.015219138003885746,
-0.010294752195477486,
-0.03980389982461929,
-0.03653336316347122,
0.0074376799166202545,
0.029546311125159264,
-0.055190280079841614,
0.027632305398583412,
0.025699716061353683,
0.04582465812563896,
0.020236436277627945,
0.07005634903907776,
0.044189389795064926,
0.014670951291918755,
-0.07879016548395157,
0.03525116667151451,
0.02709341049194336,
0.046605125069618225,
-0.02346980571746826,
0.005760601721704006,
-0.013676783069968224,
-0.02900741621851921,
-0.06700880080461502,
0.0054586343467235565,
0.03460077568888664,
-0.030809927731752396,
-0.03229653462767601,
0.015730159357190132,
-0.028598599135875702,
0.0012926511699333787,
-0.029750719666481018,
-0.05567342787981033,
0.04240546002984047,
-0.01855471171438694,
-0.04013838618993759,
0.020478010177612305,
0.0724349170923233,
0.011651281267404556,
0.10792765766382217,
-0.0012566474033519626,
0.02244776301085949,
-0.014076308347284794,
0.006332016084343195,
-0.0047478508204221725,
-0.00973727460950613,
0.004924385342746973,
-0.04136483743786812,
0.029639223590493202,
0.007939409464597702,
0.012292380444705486,
-0.048612043261528015,
-0.020626669749617577,
0.021611547097563744,
0.09172364324331284,
0.08228369057178497,
0.00016971127479337156,
0.014457251876592636,
0.0358458086848259,
-0.04199664294719696,
0.02661026269197464,
-0.030401110649108887,
-0.07804685831069946,
0.04760858416557312,
-0.010183257050812244,
-0.026331523433327675,
0.05322052538394928,
0.035938721150159836,
0.0706881582736969,
0.018517546355724335,
0.006880202330648899,
-0.02092399075627327,
0.008139172568917274,
0.0026433728635311127,
0.0065039051696658134,
-0.02372996136546135,
0.02750222757458687,
-0.027911042794585228,
0.04378057271242142,
-0.019455967471003532,
-0.008501533418893814,
0.05017298087477684,
-0.025309482589364052,
-0.02700049616396427,
-0.03192488104104996,
0.0044900174252688885,
-0.0030405756551772356,
0.05842364951968193,
0.048054564744234085,
0.05530177429318428,
0.035864390432834625,
0.024083031341433525,
0.00256439670920372,
-0.004708362743258476,
0.0057791839353740215,
0.00782791431993246,
-0.01606464572250843,
-0.00026494701160117984,
-0.051176439970731735,
0.022800832986831665,
-0.024343186989426613,
0.05667688697576523,
0.03367164358496666,
-0.028561433777213097,
0.059352777898311615,
-0.01150262076407671,
0.005528319161385298,
0.038205794990062714,
-0.017095979303121567,
0.04430088400840759,
-0.01662212237715721,
0.130895733833313,
-0.032649602741003036,
-0.0405472032725811,
-0.027613721787929535,
-0.031460318714380264,
0.0422939658164978,
0.013686073943972588,
-0.045490168035030365,
-0.013751113787293434,
0.015832362696528435,
0.06288346648216248,
0.03422912210226059,
-0.03521399945020676,
0.0026178217958658934,
-0.024027282372117043,
0.013249383307993412,
-0.03268676996231079,
-0.02491924725472927,
0.0030103789176791906,
0.01872195489704609,
-0.047311265021562576,
-0.03248235955834389,
0.08124306797981262,
0.004701394122093916,
0.03406187891960144,
-0.0644444078207016,
0.062065836042165756,
-0.07362420111894608,
-0.007014926057308912,
-0.02261500619351864,
0.038577448576688766,
-0.024621926248073578,
-0.03382030501961708,
-0.007563112303614616,
-0.01567441038787365,
0.06173134967684746,
0.030735597014427185,
-0.019920531660318375,
0.06113670766353607,
-0.03383888676762581,
-0.013165761716663837,
-0.0026433728635311127,
-0.00863625667989254,
-0.01162340771406889,
0.012060098350048065,
0.032649602741003036,
0.009774439968168736,
-0.07678324729204178,
-0.04734842851758003,
0.03729524835944176,
-0.013007810339331627,
-0.005760601721704006,
0.02075674757361412,
-0.018294556066393852,
0.04125333949923515,
-0.03443353250622749,
0.049727000296115875,
-0.03227795287966728,
-0.04273994639515877,
-0.06076505407691002,
-0.00005023105040891096,
-0.08131739497184753,
0.05697420611977577,
0.012803401798009872,
0.009542157873511314,
-0.03248235955834389,
0.012775527313351631,
-0.009007908403873444,
0.03357873111963272,
-0.011930019594728947,
-0.006931304465979338,
-0.029713554307818413,
-0.004320451058447361,
-0.010629238560795784,
0.08503390848636627,
0.001049916143529117,
-0.011725611984729767,
-0.007275082170963287,
0.07945913821458817,
-0.005825640633702278,
-0.01840605027973652,
0.014317882247269154,
0.0013902096543461084,
0.05217989906668663,
-0.027465062215924263,
-0.011521203443408012,
-0.026108533143997192,
0.01947454921901226,
0.011586242355406284,
-0.012636158615350723,
-0.009597905911505222,
0.0554504357278347,
-0.002731640124693513,
0.0748506560921669,
-0.017161017283797264,
-0.013574578799307346,
-0.013751113787293434,
-0.0100531792268157,
-0.05522744357585907,
0.00665256567299366,
-0.00903578195720911,
-0.03623604029417038,
0.06399842351675034,
0.013314422219991684,
0.03519541770219803,
-0.028003957122564316,
-0.01166057214140892,
-0.042108140885829926,
0.04582465812563896,
0.047794409096241,
-0.0010667565511539578,
-0.01906573213636875,
-0.024621926248073578,
-0.04998715594410896,
0.024175943806767464,
0.0035562424454838037,
-0.042033810168504715,
-0.05834931880235672,
0.007646733894944191,
-0.04742275923490524,
0.047497089952230453,
-0.016687162220478058,
-0.04199664294719696,
0.02532806433737278,
-0.009895226918160915,
-0.0027130574453622103,
-0.044189389795064926,
-0.04080735892057419,
0.01434575580060482,
0.009830188006162643,
-0.043966397643089294,
0.0519569106400013,
-0.04158782586455345,
0.049652669578790665,
0.037964221090078354,
-0.008134527131915092,
-0.009514284320175648,
0.009885936044156551,
-0.0014320205664262176,
0.02692616730928421,
-0.03391321748495102,
-0.0246033426374197,
-0.06496471911668777,
-0.0011172780068591237,
-0.03147890046238899,
0.04378057271242142,
0.012310963124036789,
0.014717407524585724,
0.06384976208209991,
-0.006671148352324963,
0.004150885157287121,
0.010304044000804424,
0.08726382255554199,
-0.055784922093153,
-0.035065338015556335,
0.03660769388079643,
-0.032909758388996124,
-0.012840567156672478,
-0.022076111286878586,
-0.03229653462767601,
-0.09856203198432922,
0.02452901378273964,
-0.007944055832922459,
0.032593853771686554,
0.013853318057954311,
0.03660769388079643,
-0.05084195360541344,
-0.011595533229410648,
-0.0013054265873506665,
-0.04478403180837631,
-0.008232085034251213,
0.013555996119976044,
-0.045713160187006,
0.05292320251464844,
0.04326025769114494,
0.004085846245288849,
-0.0020022736862301826,
-0.04753425344824791,
0.03606879711151123,
0.006373826880007982,
-0.0880071222782135,
0.01627834513783455,
-0.019140062853693962,
-0.018694080412387848,
0.0012543245684355497,
0.04233112931251526,
-0.07503648102283478,
-0.041885148733854294,
0.03902342915534973,
-0.013853318057954311,
-0.01980903558433056,
0.014494417235255241,
-0.06124820187687874,
-0.019195811823010445,
-0.004826826509088278,
0.0467909500002861,
0.01078719086945057,
-0.01522842887789011,
0.02934190258383751,
0.06254898011684418,
-0.029397649690508842,
-0.010898686945438385,
0.00346797495149076,
0.0041717905551195145,
0.05177108198404312,
0.005584067199379206,
-0.015033312141895294,
0.07039083540439606,
0.04441237822175026,
0.027613721787929535,
0.007302956189960241,
0.007367995101958513,
-0.005825640633702278,
-0.007047445513308048,
-0.008157755248248577,
-0.013221509754657745,
-0.08748681098222733,
0.017458340153098106,
0.017616290599107742,
-0.029992293566465378,
-0.035065338015556335,
-0.052625883370637894,
0.053740836679935455,
0.06693447381258011,
0.02324681542813778,
-0.02924899011850357,
0.0265173502266407,
0.03824296221137047,
0.08072274923324585,
0.026015620678663254,
0.03012237139046192,
0.06738045811653137,
-0.043892066925764084,
-0.00893822405487299,
0.007990512065589428,
-0.062325991690158844,
-0.036013051867485046,
-0.020162105560302734,
-0.06214016675949097,
0.026182863861322403,
0.056305233389139175,
0.011326085776090622,
0.013444500975310802,
-0.017867155373096466,
0.01724463887512684,
-0.049095191061496735,
-0.014076308347284794,
-0.04939251393079758,
0.06399842351675034,
-0.00811594445258379,
0.009477118961513042,
0.004701394122093916,
-0.005765247158706188,
0.0064109922386705875,
-0.02549530752003193,
0.0090961754322052,
-0.020533757284283638,
0.033931802958250046,
0.017932195216417313,
0.025829793885350227,
0.0050730458460748196,
0.011168134398758411,
0.03183196857571602,
0.00665256567299366,
-0.022559259086847305,
-0.02861718274652958,
-0.04129050672054291,
-0.00933774933218956,
-0.07139429450035095,
-0.03292834013700485,
-0.002671246649697423,
-0.02372996136546135,
0.06262331455945969,
-0.05348068103194237,
-0.032816845923662186,
0.06474173069000244,
0.009333103895187378,
0.03980389982461929,
0.004243798088282347,
0.01389977429062128,
0.07195176929235458,
0.06262331455945969,
-0.00390698853880167,
-0.0551159493625164,
0.01956746354699135,
0.022317685186862946,
0.029546311125159264,
0.048463381826877594,
0.031032918021082878,
0.02508649043738842,
-0.009560740552842617,
-0.053740836679935455,
0.08503390848636627,
-0.04110467806458473,
-0.010489869862794876,
-0.028803007677197456,
-0.006903430446982384,
-0.049095191061496735,
-0.02242918126285076,
-0.000047871933929855004,
-0.01318434439599514,
-0.05459563806653023,
-0.017235348001122475,
0.02051517367362976,
-0.0068244547583162785,
0.01522842887789011,
0.034842349588871,
0.008947514928877354,
-0.06812375783920288,
0.006717604584991932,
0.016046062111854553,
-0.0035492738243192434,
0.00993239227682352,
-0.03816863149404526,
-0.028914503753185272,
-0.031125830486416817,
0.005003361031413078,
-0.03558565303683281,
-0.00390698853880167,
-0.01190214604139328,
0.005551547277718782,
0.12249640375375748,
-0.021834537386894226,
-0.0851825699210167,
0.016315510496497154,
0.03753682225942612,
0.030401110649108887,
0.028877338394522667,
0.038986265659332275,
0.09655511379241943,
-0.0021021550055593252,
-0.03588297218084335,
0.007205397821962833,
-0.021035486832261086,
-0.02564396895468235,
-0.018740538507699966,
-0.022559259086847305,
0.010592074133455753,
-0.012310963124036789,
-0.010935851372778416,
0.01370465662330389,
-0.043892066925764084,
0.026591680943965912,
-0.00373742263764143,
0.030271032825112343,
-0.02661026269197464,
0.008343581110239029,
-0.01826668158173561,
0.0716916173696518,
-0.03159039467573166,
-0.005286745727062225,
0.043557580560445786,
0.035381242632865906,
0.021611547097563744,
-0.007042800076305866,
-0.037629734724760056,
0.04024988040328026,
-0.0634409487247467,
-0.03175763785839081,
-0.043074432760477066,
-0.014280716888606548,
-0.023060988634824753,
0.012989227660000324,
-0.020385095849633217,
-0.019827619194984436,
0.011242464184761047,
0.025681134313344955,
0.008961452171206474,
0.038911934942007065,
-0.0381314642727375,
-0.023822875693440437,
0.014215677976608276,
0.006406346336007118,
-0.005379658658057451,
-0.03185055032372475,
-0.06347811222076416,
-0.0015319018857553601,
0.051027778536081314,
0.03311416879296303,
-0.0029174659866839647,
-0.020886825397610664,
0.06043056771159172,
0.011939311400055885,
-0.05816349387168884,
-0.03902342915534973,
-0.013119305483996868,
0.04221963509917259,
0.04385490342974663,
0.0530347004532814,
-0.04448670893907547,
0.002436641603708267,
-0.0034842349123209715,
-0.032668184489011765,
-0.056305233389139175,
0.014698824845254421,
-0.03285401314496994,
-0.021295642480254173,
-0.013509539887309074,
-0.0192329753190279,
-0.02019927091896534,
0.03558565303683281,
-0.026238610967993736,
-0.017021648585796356,
0.002142804441973567,
0.0053703673183918,
0.01823880709707737,
-0.03928358480334282,
-0.05634240061044693,
-0.01932588964700699,
-0.03303983807563782,
-0.012292380444705486,
0.04233112931251526,
-0.03510250523686409,
-0.0100531792268157,
0.05764318257570267,
0.08049976080656052,
-0.05017298087477684,
0.053740836679935455,
-0.0177556611597538,
-0.013918356969952583,
-0.08466225862503052,
-0.022726502269506454,
-0.05794050171971321,
0.073847196996212,
-0.0030336070340126753,
-0.04649363085627556,
-0.008789562620222569,
-0.0051055653020739555,
0.04485836252570152,
-0.039952557533979416,
-0.03196204826235771,
-0.04136483743786812,
-0.02293091081082821,
0.009212316945195198,
0.00693594990298152,
0.02700049616396427,
0.009430661797523499,
-0.05559909716248512,
0.04523001238703728,
-0.062400322407484055,
0.019047150388360023,
0.012979935854673386,
0.02244776301085949,
-0.04073302820324898,
0.016055354848504066,
-0.022800832986831665,
-0.054372645914554596,
-0.029620641842484474,
0.048128895461559296,
-0.01664070598781109,
0.006517841946333647,
0.014076308347284794,
-0.014215677976608276,
-0.003142779693007469,
-0.06043056771159172,
-0.030586935579776764,
-0.04786873981356621,
-0.01522842887789011,
0.04942967742681503,
-0.043631911277770996,
-0.05585925281047821,
-0.0372580848634243,
-0.03216645494103432,
0.012821984477341175,
-0.018443215638399124,
-0.0005429598968476057,
-0.02571829780936241,
-0.01848038099706173,
-0.022057529538869858,
0.04024988040328026,
0.038577448576688766,
-0.023674214258790016,
0.020738165825605392,
-0.017895029857754707,
-0.0238972045481205,
0.04898369684815407,
-0.024027282372117043,
0.007985866628587246,
0.046456463634967804,
-0.06749194860458374,
0.0322222039103508,
-0.04415222257375717,
0.021815955638885498,
-0.03500959277153015,
0.029620641842484474,
0.03606879711151123,
0.0030800634995102882,
0.04010121896862984,
-0.03110724873840809,
0.024231690913438797,
0.018879907205700874,
0.008510824292898178,
0.03190629929304123,
0.048054564744234085,
-0.025588219985365868,
0.016464170068502426,
-0.012394584715366364,
0.04322309419512749
] |
725,562 | syne_tune.tuner | _update_running_trials |
Updates schedulers with new results and sends decision to stop/pause
trials to the backend. Trials can be finished because:
* the scheduler decided to stop or pause.
* the trial failed.
* the trial was stopped independently of the scheduler, e.g. due to a
timeout argument or a manual interruption.
* the trial completed.
:param trial_status_dict: Information on trials from
``trial_backend.fetch_status_results``
:param new_results: New results from ``trial_backend.fetch_status_results``
:return: Dictionary mapping trial-ids that are finished to status
| def _update_running_trials(
self,
trial_status_dict: TrialAndStatusInformation,
new_results: TrialIdAndResultList,
) -> TrialAndStatusInformation:
"""
Updates schedulers with new results and sends decision to stop/pause
trials to the backend. Trials can be finished because:
* the scheduler decided to stop or pause.
* the trial failed.
* the trial was stopped independently of the scheduler, e.g. due to a
timeout argument or a manual interruption.
* the trial completed.
:param trial_status_dict: Information on trials from
``trial_backend.fetch_status_results``
:param new_results: New results from ``trial_backend.fetch_status_results``
:return: Dictionary mapping trial-ids that are finished to status
"""
# gets the list of jobs from running_jobs that are done
done_trials = dict()
for trial_id, result in new_results:
if trial_id not in done_trials:
trial, status = trial_status_dict[trial_id]
# communicate new result to the searcher and the scheduler
self.last_seen_result_per_trial[trial_id] = result
decision = self.scheduler.on_trial_result(trial=trial, result=result)
for callback in self.callbacks:
callback.on_trial_result(
trial=trial,
status=status,
result=result,
decision=decision,
)
if decision == SchedulerDecision.STOP:
if status != Status.completed:
# we override the status immediately, this avoids calling the backend status another time to
# update after the change which may be expensive
status = Status.stopped
self.trial_backend.stop_trial(trial_id=trial_id, result=result)
self.scheduler.on_trial_remove(trial=trial)
done_trials[trial_id] = (trial, status)
self.trials_scheduler_stopped.add(trial_id)
elif decision == SchedulerDecision.PAUSE:
status = Status.paused
self.trial_backend.pause_trial(trial_id=trial_id, result=result)
self.scheduler.on_trial_remove(trial=trial)
done_trials[trial_id] = (trial, status)
for trial_id, (trial, status) in trial_status_dict.items():
# Status "completed", "stopped" and "failed" are signaled to scheduler.
# Status "in_progress" and "stopping" are not signaled, although the first one could be added
# to notify the scheduler of pending runtimes (even in the absence of new results).
if status == Status.completed:
# since the code above updates ``trial_status_dict[trial_id]`` after a pause/stop scheduling decision
# this callback is never called after a pause/stop scheduler decision.
if (
trial_id not in done_trials
or done_trials[trial_id][1] != Status.paused
):
logger.info(f"Trial trial_id {trial_id} completed.")
# If scheduler marks trial as ``Status.paused``, this overrides
# ``Status.completed`` (which was assigned because the job
# completed)
done_trial = done_trials.get(trial_id)
if done_trial is not None and done_trial[1] == Status.paused:
status = Status.paused
if trial_id not in self.last_seen_result_per_trial:
logger.error(
f"trial {trial_id} completed and no metrics got observed, corresponding log:"
)
stdout = "".join(self.trial_backend.stdout(trial_id))
stderr = "".join(self.trial_backend.stderr(trial_id))
logger.error(stdout)
logger.error(stderr)
raise ValueError(
f"trial {trial_id} completed and no metrics got observed"
)
last_result = self.last_seen_result_per_trial[trial_id]
if trial_id not in done_trials:
self.scheduler.on_trial_complete(trial, last_result)
if status == Status.completed:
for callback in self.callbacks:
callback.on_trial_complete(trial, last_result)
done_trials[trial_id] = (trial, status)
if status == Status.failed:
logger.info(f"Trial trial_id {trial_id} failed.")
self.scheduler.on_trial_error(trial)
done_trials[trial_id] = (trial, status)
# For the case when the trial is stopped independently of the scheduler, we choose to use
# scheduler.on_trial_error(...) since it was not the scheduler's decision to stop the trial.
if (
status == Status.stopped
and trial_id not in self.trials_scheduler_stopped
):
logger.info(
f"Trial trial_id {trial_id} was stopped independently of the scheduler."
)
self.scheduler.on_trial_error(trial)
done_trials[trial_id] = (trial, status)
return done_trials
| (self, trial_status_dict: Dict[int, Tuple[syne_tune.backend.trial_status.Trial, str]], new_results: List[Tuple[int, dict]]) -> Dict[int, Tuple[syne_tune.backend.trial_status.Trial, str]] | [
0.04006898030638695,
0.024697689339518547,
-0.09971188753843307,
0.017539773136377335,
-0.01054497342556715,
-0.03707531839609146,
-0.05265770107507706,
-0.0013493056176230311,
0.01811547763645649,
0.016302010044455528,
-0.016762573271989822,
0.0335635282099247,
0.04989432170987129,
0.014056766405701637,
-0.021070756018161774,
0.013020499609410763,
0.0531182624399662,
0.02535015344619751,
-0.006879659369587898,
-0.018221022561192513,
-0.008702721446752548,
0.01282859779894352,
0.05860663950443268,
0.11798088252544403,
-0.002044947585090995,
-0.019602712243795395,
0.00465120654553175,
-0.07795028388500214,
-0.018134666606783867,
0.03081933967769146,
0.007234676741063595,
-0.005733049474656582,
0.018863892182707787,
-0.003389455610886216,
0.013269971124827862,
0.012013018131256104,
-0.04006898030638695,
0.013020499609410763,
-0.028593285009264946,
0.04359996318817139,
-0.006121649872511625,
-0.04244855418801308,
0.018883083015680313,
-0.014853156171739101,
-0.017069615423679352,
0.011859497055411339,
-0.04544221609830856,
0.03068500943481922,
0.05699466913938522,
-0.04812883213162422,
-0.008208575658500195,
-0.04874291643500328,
-0.02414117567241192,
0.0651312842965126,
-0.011705975979566574,
0.01926688477396965,
-0.01763572357594967,
-0.012655886821448803,
0.02989821322262287,
-0.08059852570295334,
0.01919971965253353,
-0.033045392483472824,
-0.03523306921124458,
0.04528869315981865,
0.05269608274102211,
-0.03730560094118118,
0.016302010044455528,
-0.0013457074528560042,
-0.030435537919402122,
0.011562050320208073,
0.0012317660730332136,
0.023546282202005386,
0.007105143740773201,
-0.08297809958457947,
-0.02406441606581211,
0.0007634071516804397,
-0.033889759331941605,
-0.08144288510084152,
0.005613111425191164,
-0.027000505477190018,
0.0672038123011589,
0.04187285155057907,
-0.0011586036998778582,
-0.032604020088911057,
0.015112223103642464,
0.05423128977417946,
0.008424464613199234,
-0.0395316556096077,
-0.07380522042512894,
-0.02327761985361576,
0.0013313149102032185,
0.007196296472102404,
0.040567923337221146,
-0.01611010916531086,
0.024601738899946213,
-0.037209652364254,
-0.05093058943748474,
-0.053578827530145645,
-0.05561298131942749,
-0.04667038097977638,
0.013577013276517391,
-0.039109472185373306,
0.01282859779894352,
-0.00659660529345274,
0.05964290723204613,
-0.0630587488412857,
-0.08182668685913086,
-0.0059777237474918365,
0.008659543469548225,
-0.0032383333891630173,
-0.04928023740649223,
0.042755596339702606,
-0.07073479890823364,
-0.02784487046301365,
0.004219428636133671,
0.003917184192687273,
-0.035712819546461105,
-0.013202805072069168,
-0.06294360756874084,
0.01403757557272911,
0.03999222069978714,
0.02249082550406456,
0.03435032069683075,
0.02243325486779213,
-0.04801369085907936,
0.0037348780315369368,
-0.010535378009080887,
0.08789076656103134,
0.042333412915468216,
-0.02911141887307167,
-0.01249277126044035,
-0.013807293958961964,
0.005430805031210184,
0.030531488358974457,
0.06344255059957504,
0.015093033201992512,
0.00877948198467493,
0.07227000594139099,
-0.03087691031396389,
-0.004857500083744526,
0.05020136386156082,
-0.0039051903877407312,
0.013356326147913933,
-0.04363834112882614,
0.06743409484624863,
-0.004941456951200962,
-0.016129299998283386,
0.0385337695479393,
-0.030493106693029404,
-0.014632469974458218,
-0.013577013276517391,
-0.03667232766747475,
-0.006395108997821808,
0.005018217489123344,
-0.050546787679195404,
-0.0025426915381103754,
0.029092228040099144,
0.005473983008414507,
0.04624820128083229,
-0.02740349806845188,
0.000011806424481619615,
-0.05112249031662941,
0.004197839647531509,
-0.02437145821750164,
0.004492887761443853,
0.087506964802742,
-0.0723467692732811,
0.0473996065557003,
-0.05292636156082153,
-0.027307547628879547,
0.037708595395088196,
0.0210899468511343,
0.015831852331757545,
0.012569531798362732,
-0.0926499217748642,
0.016743384301662445,
0.01805790700018406,
-0.022337304428219795,
0.043676722794771194,
-0.03623095527291298,
-0.032066699117422104,
0.0017367062391713262,
-0.07752810418605804,
0.012224108912050724,
-0.007666454650461674,
0.019650686532258987,
0.005267689004540443,
0.048474252223968506,
0.019286075606942177,
0.009825343266129494,
-0.024812830612063408,
-0.04444432631134987,
0.018806321546435356,
0.00222605443559587,
-0.022337304428219795,
0.006054484285414219,
0.01871996559202671,
0.0008779481868259609,
0.011350958608090878,
-0.010189956054091454,
-0.013548227958381176,
-0.03216264769434929,
0.041182007640600204,
-0.011533265002071857,
-0.007575301453471184,
-0.036269333213567734,
-0.04402214661240578,
-0.011043916456401348,
0.02400684542953968,
0.014565303921699524,
-0.009566277265548706,
-0.014296642504632473,
-0.034062471240758896,
0.053463686257600784,
0.024524979293346405,
-0.031279902905225754,
0.042755596339702606,
0.02041829191148281,
0.03933975473046303,
-0.030109304934740067,
-0.005200523883104324,
-0.05611192435026169,
0.032181836664676666,
-0.04521193355321884,
0.009431946091353893,
0.03839943930506706,
0.05645734444260597,
0.009019358083605766,
0.017971551045775414,
0.0063375383615493774,
0.04156580939888954,
-0.027998391538858414,
0.04874291643500328,
-0.040260881185531616,
-0.012022612616419792,
-0.009168081916868687,
-0.031874798238277435,
0.02047586254775524,
0.017040830105543137,
0.04548059403896332,
0.0027369915042072535,
-0.016321200877428055,
0.017971551045775414,
-0.04175771027803421,
-0.037209652364254,
-0.021972691640257835,
0.026232900097966194,
0.021588889881968498,
-0.014603684656322002,
-0.006543832365423441,
0.027077265083789825,
0.011053511872887611,
-0.010957560501992702,
-0.007685644552111626,
-0.010199551470577717,
-0.040683064609766006,
0.014229477383196354,
-0.03884081169962883,
0.07595451176166534,
-0.020092060789465904,
0.024467408657073975,
0.056687626987695694,
-0.08382246643304825,
0.009590264409780502,
-0.05572812259197235,
-0.0019262087298557162,
0.012627101503312588,
0.02728835679590702,
0.03824591636657715,
0.043983764946460724,
0.04467460885643959,
0.009499111212790012,
-0.04812883213162422,
0.01130298338830471,
-0.03264240175485611,
0.04759150743484497,
-0.004488090518862009,
-0.00036251344135962427,
-0.002037751255556941,
-0.06536156684160233,
0.02024558186531067,
0.04644010215997696,
-0.02820948325097561,
-0.039301373064517975,
-0.00016401559696532786,
-0.02930331975221634,
-0.009431946091353893,
0.04072144255042076,
-0.01781802996993065,
0.0008665540372021496,
-0.007690442260354757,
-0.012665482237935066,
0.05426967144012451,
-0.03933975473046303,
0.05891368165612221,
0.010122790932655334,
-0.04444432631134987,
-0.05192847549915314,
0.012262489646673203,
0.03193236514925957,
0.02613694965839386,
0.023623043671250343,
0.02997497469186783,
-0.03603905439376831,
-0.05208199843764305,
0.023411951959133148,
0.029149798676371574,
-0.015438455156981945,
0.040452782064676285,
-0.039416514337062836,
0.013759318739175797,
-0.03847619891166687,
0.03648042678833008,
-0.0006194812012836337,
0.03308377414941788,
-0.04977918416261673,
-0.04517355188727379,
-0.037708595395088196,
0.00746016064658761,
0.025369344279170036,
-0.04141228646039963,
0.053578827530145645,
0.04521193355321884,
0.018998222425580025,
0.02072533406317234,
-0.060448892414569855,
0.022586775943636894,
0.04340806230902672,
-0.043791864067316055,
-0.001839853124693036,
-0.00454326206818223,
-0.014853156171739101,
0.03507954627275467,
0.013577013276517391,
0.010660113766789436,
0.016810549423098564,
0.0333140566945076,
0.03767021372914314,
0.028650855645537376,
0.002419155091047287,
0.03423518314957619,
-0.0205526240170002,
-0.010132385417819023,
0.046286579221487045,
-0.02297057956457138,
-0.013164425268769264,
-0.004521673079580069,
0.033352434635162354,
0.07679887861013412,
-0.06332740932703018,
-0.05530593916773796,
0.021301038563251495,
-0.02510068193078041,
0.08482035249471664,
0.021838361397385597,
-0.034369513392448425,
0.024217937141656876,
-0.08113584667444229,
0.028554905205965042,
-0.05860663950443268,
-0.10485483705997467,
0.06474748253822327,
-0.028842756524682045,
0.07123374193906784,
-0.01421988196671009,
-0.022318115457892418,
-0.016206059604883194,
-0.06186896190047264,
-0.006711746100336313,
-0.054192911833524704,
0.029149798676371574,
0.005593921057879925,
0.013932030647993088,
0.01319321058690548,
0.03968517854809761,
-0.0036677124444395304,
0.00568027701228857,
-0.006303955800831318,
-0.06524642556905746,
-0.012329654768109322,
0.03486845642328262,
0.014862751588225365,
-0.06167706102132797,
0.026655083522200584,
-0.011168652214109898,
-0.0265591312199831,
-0.03561687096953392,
-0.045672494918107986,
-0.002366382163017988,
-0.019602712243795395,
0.031203141435980797,
0.007618479430675507,
0.02734592743217945,
0.014171906746923923,
0.035405781120061874,
0.005800215061753988,
-0.03410084918141365,
-0.023680612444877625,
-0.0051765358075499535,
-0.045135173946619034,
-0.01901741325855255,
-0.024908781051635742,
-0.0016179673839360476,
0.023411951959133148,
0.04770664870738983,
-0.019669877365231514,
0.07388197630643845,
-0.023507902398705482,
-0.041911233216524124,
0.014210287481546402,
0.0016587463906034827,
-0.008141410537064075,
-0.026060188189148903,
-0.013106854632496834,
-0.09717878699302673,
0.03162532299757004,
-0.11337525397539139,
0.02650156244635582,
0.07714430242776871,
0.07752810418605804,
0.00921125989407301,
0.022318115457892418,
0.0812126025557518,
0.027729729190468788,
-0.0018494481919333339,
0.03486845642328262,
0.03172127529978752,
0.032853491604328156,
-0.025753146037459373,
-0.03707531839609146,
0.05073868855834007,
-0.05269608274102211,
-0.0037852521054446697,
-0.031088002026081085,
-0.018950248137116432,
0.0385337695479393,
-0.02515825256705284,
0.030358776450157166,
0.0053156642243266106,
0.013615393079817295,
-0.017702890560030937,
-0.002650636015459895,
0.02304733917117119,
0.02120508812367916,
0.019602712243795395,
0.005123763345181942,
-0.027825679630041122,
-0.04812883213162422,
-0.037535883486270905,
0.03204750642180443,
-0.05542108044028282,
0.018815916031599045,
-0.00445210887119174,
0.043177779763936996,
0.038265109062194824,
0.022644346579909325,
-0.0447513684630394,
-0.005541148595511913,
-0.05142953246831894,
-0.026290470734238625,
0.008745899423956871,
0.020341532304883003,
-0.03314134478569031,
0.048973198980093,
-0.009657430462539196,
-0.03269997239112854,
0.010132385417819023,
-0.00659660529345274,
-0.03289187327027321,
0.025119872763752937,
0.0210899468511343,
0.009777368046343327,
0.03444627299904823,
0.010257121175527573,
0.009019358083605766,
0.010986345820128918,
-0.04198799282312393,
-0.02383413352072239,
-0.009724595583975315,
-0.009854128584265709,
0.06889254599809647,
0.028977086767554283,
0.039915457367897034,
0.01458449475467205,
0.01018036063760519,
-0.06137001886963844,
-0.003823632374405861,
0.008837052620947361,
-0.010295501910150051,
0.04571087658405304,
-0.029456840828061104,
-0.05810769647359848,
0.04667038097977638,
0.04644010215997696,
-0.07468796521425247,
-0.02450578846037388,
0.03968517854809761,
0.04832073301076889,
0.055766500532627106,
0.025849096477031708,
0.09418512880802155,
-0.05672600865364075,
-0.035712819546461105,
0.08113584667444229,
0.052043616771698,
-0.025119872763752937,
-0.016858523711562157,
0.030608247965574265,
-0.07514853030443192,
0.000054609397921012715,
-0.02989821322262287,
-0.009057738818228245,
0.04241017624735832,
-0.08412950485944748,
-0.02698131464421749,
-0.052734460681676865,
-0.022471634671092033,
-0.03949327394366264,
-0.01792357675731182,
-0.015400074422359467,
-0.01288616843521595,
0.021588889881968498,
0.0130109041929245,
0.0655534639954567,
-0.024467408657073975,
0.013663368299603462,
-0.024217937141656876,
-0.01811547763645649,
-0.018499279394745827,
0.03348676860332489,
-0.040145739912986755,
-0.004795132204890251,
0.029015468433499336,
-0.01611970365047455,
0.03229697793722153,
0.018931057304143906,
-0.03866809979081154,
-0.07760486006736755,
0.03440789133310318,
-0.01163880992680788,
0.05641896650195122,
0.021166706457734108,
0.008304526098072529,
-0.05396262928843498,
-0.0011813919991254807,
0.01173476129770279,
-0.009278425015509129,
0.004085097927600145,
0.024716880172491074,
0.01725192181766033,
-0.015188983641564846,
-0.012339250184595585,
0.03600067272782326,
0.025561245158314705,
-0.06854712218046188,
0.02018801122903824,
0.03348676860332489,
0.007623276673257351,
0.0356360599398613,
0.03208588808774948,
0.008736304007470608,
-0.04467460885643959,
-0.012051397934556007,
-0.020821284502744675,
0.017184756696224213,
-0.009815748780965805,
0.008587580174207687,
0.03160613402724266,
-0.017050424590706825,
-0.004171453416347504,
0.024601738899946213,
-0.003089610021561384,
-0.06432529538869858,
-0.05603516474366188,
-0.056073542684316635,
-0.0442524254322052,
0.022337304428219795,
-0.052427418529987335,
-0.008861039765179157,
0.0017175161046907306,
0.0024359463714063168,
0.037228841334581375,
0.013413896784186363,
-0.039915457367897034,
-0.009033750742673874,
0.0010620534885674715,
-0.04287073761224747,
0.005637099035084248,
0.004989432170987129,
0.014699635095894337,
-0.023987654596567154,
0.11606187373399734,
-0.020341532304883003,
-0.014114336110651493,
0.029456840828061104,
0.042525313794612885,
-0.012051397934556007,
-0.009225652553141117,
-0.01725192181766033,
0.008669138886034489,
-0.016676217317581177,
0.0023040142841637135,
0.01009400561451912,
-0.01664743199944496,
0.03385137766599655,
-0.047553129494190216,
0.01465165987610817,
0.0030800148379057646,
-0.016791358590126038,
0.0018302580574527383,
0.010113195516169071,
0.0014932315098121762,
0.08873513340950012,
-0.028593285009264946,
0.08835133165121078,
-0.04928023740649223,
-0.03813077509403229,
-0.022356495261192322,
0.034369513392448425,
-0.04824397340416908,
-0.01781802996993065,
0.009988459758460522,
-0.0317404642701149,
0.02984064258635044,
-0.06079431250691414,
-0.042832355946302414,
0.05119924992322922,
-0.044405948370695114,
0.0003334284119773656,
-0.07223162800073624,
-0.03866809979081154,
0.023603852838277817,
0.0294184610247612,
-0.03786211460828781,
0.03797725588083267,
-0.01951635628938675,
0.00798788946121931,
0.0015723907854408026,
0.026290470734238625,
-0.06171543896198273,
0.04924185946583748,
0.0325656421482563,
0.036614757031202316,
0.006783708930015564,
0.012233704328536987,
-0.019554736092686653,
-0.05925910547375679,
0.000702238583471626,
0.05730171129107475,
0.05484537407755852,
-0.06359606981277466,
0.039109472185373306,
-0.07353655993938446,
0.04340806230902672,
-0.05538269877433777,
0.053770728409290314,
-0.003914785571396351,
-0.025369344279170036,
0.00524370139464736,
0.03811158612370491,
-0.011859497055411339,
0.011207032948732376,
-0.009244842454791069,
-0.03152937442064285,
-0.015035462565720081,
0.03586634248495102,
0.027499448508024216,
0.03500278666615486,
0.026520751416683197,
-0.02089804597198963,
0.053885869681835175,
-0.03598148375749588,
0.04152742773294449,
0.008837052620947361,
-0.02918817847967148,
0.051391154527664185,
-0.04206475242972374,
-0.026021808385849,
-0.010506592690944672,
-0.04225665330886841,
-0.005382829811424017,
-0.011034321039915085,
-0.040683064609766006,
-0.010573758743703365,
0.03793887421488762,
0.00581940496340394,
0.037113700062036514,
-0.06344255059957504,
0.004408930893987417,
0.0063375383615493774,
-0.0551907978951931,
0.04478975012898445,
-0.02759539894759655,
0.008736304007470608,
-0.012694267556071281,
-0.024160366505384445,
-0.06121649593114853,
-0.034369513392448425,
0.009201664477586746,
-0.03222021833062172,
0.006241587921977043,
-0.02492797188460827,
0.012483175843954086,
0.010026839561760426,
0.030377967283129692,
0.06570698320865631,
-0.025561245158314705,
-0.037401553243398666,
0.04812883213162422,
-0.04417566582560539,
0.06777951866388321,
0.0577622726559639,
-0.019785018637776375,
-0.013980005867779255,
-0.045864395797252655,
-0.021473748609423637,
0.005445197690278292,
-0.030358776450157166,
0.03880243003368378,
0.012041803449392319,
0.018249807879328728,
0.003451823489740491,
0.021972691640257835,
0.00021888736227992922,
-0.014613280072808266,
0.028478143736720085,
0.02644399181008339,
-0.04006898030638695,
0.011274198070168495,
0.022586775943636894,
-0.0049270642921328545,
-0.000895339238923043,
-0.05810769647359848,
-0.007407388184219599,
0.004696783144026995,
0.007843962870538235,
0.07280733436346054,
-0.017606938257813454,
0.003538179211318493,
0.059834808111190796,
0.003526185406371951,
0.01611010916531086,
0.04801369085907936,
-0.019708257168531418,
-0.05768551304936409,
0.03813077509403229,
-0.0014968296745792031,
-0.042026370763778687,
0.019103769212961197,
-0.03897514194250107,
0.08482035249471664,
-0.017223136499524117,
-0.022951388731598854,
-0.003933975473046303,
0.0038092397153377533,
0.04855101555585861,
0.024352267384529114,
0.016800953075289726,
-0.017885195091366768,
0.02304733917117119,
0.013797699473798275,
0.015611166134476662,
0.016186870634555817,
0.059412624686956406,
0.039915457367897034,
0.0056562889367341995,
-0.008784279227256775,
0.043254539370536804
] |
725,563 | syne_tune.tuner | best_config |
:param metric: Indicates which metric to use, can be the index or a name of the metric.
default to 0 - first metric defined in the Scheduler
:return: the best configuration found while tuning for the metric given and the associated trial-id
| def best_config(
self, metric: Optional[Union[str, int]] = 0
) -> Tuple[int, Dict[str, Any]]:
"""
:param metric: Indicates which metric to use, can be the index or a name of the metric.
default to 0 - first metric defined in the Scheduler
:return: the best configuration found while tuning for the metric given and the associated trial-id
"""
metric_name, metric_mode = metric_name_mode(
metric_names=self.scheduler.metric_names(),
metric_mode=self.scheduler.metric_mode(),
metric=metric,
)
trial_id, best_metric = print_best_metric_found(
self.tuning_status, metric_names=[metric_name], mode=metric_mode
)
config = self.trial_backend._trial_dict[trial_id].config
logger.info(
f"If you want to retrain the best configuration found, you can run: \n"
f"```tuner.trial_backend.start_trial(config={config})``` to start training from scratch\n"
f"or\n"
f"```tuner.trial_backend.start_trial(config={config}, checkpoint_trial_id={trial_id})``` to start from "
f"last checkpoint (your script should have stored a checkpoint)"
)
return trial_id, config
| (self, metric: Union[str, int, NoneType] = 0) -> Tuple[int, Dict[str, Any]] | [
0.04792306199669838,
-0.027753867208957672,
-0.003384330542758107,
0.0024433215148746967,
-0.03422536700963974,
-0.016546662896871567,
0.018395664170384407,
-0.015773102641105652,
0.001818340620957315,
-0.027999144047498703,
-0.06135661527514458,
-0.031999021768569946,
-0.05705485865473747,
-0.023150235414505005,
0.02892364375293255,
0.04747024551033974,
0.006311127915978432,
0.022603081539273262,
0.02590486779808998,
0.012367546558380127,
0.03709320351481438,
-0.06301694363355637,
-0.018282460048794746,
0.03792336955666542,
0.01915035769343376,
0.013310913927853107,
0.04109308123588562,
-0.03965916484594345,
0.005117767956107855,
-0.028470827266573906,
-0.035338543355464935,
-0.03728187829256058,
0.0011408849386498332,
0.03094244934618473,
-0.018914515152573586,
-0.009961959905922413,
0.003256975905969739,
0.048828694969415665,
-0.09426126629114151,
0.012565653771162033,
-0.0477721244096756,
-0.09139343351125717,
0.03843278810381889,
-0.0036791327875107527,
0.008358234539628029,
0.036904532462358475,
-0.005301724653691053,
0.04324395954608917,
-0.013754296116530895,
-0.04754571616649628,
0.013876933604478836,
-0.05358326807618141,
-0.06524328887462616,
0.07863910496234894,
-0.05297951027750969,
-0.04939471557736397,
0.0036178138107061386,
-0.033489540219306946,
0.045281633734703064,
-0.024848297238349915,
0.017405128106474876,
-0.05090410262346268,
0.007084689103066921,
0.047507982701063156,
0.006160188931971788,
-0.05796049162745476,
-0.05211161449551582,
0.04826267436146736,
-0.04962112382054329,
0.015188214369118214,
0.022904960438609123,
-0.014292015694081783,
0.026904838159680367,
-0.06769604235887527,
-0.014103341847658157,
-0.05463983863592148,
-0.023414378985762596,
-0.04618726670742035,
-0.015848571434617043,
-0.0068582808598876,
0.0221125315874815,
0.0440363883972168,
0.0027381237596273422,
-0.028753837570548058,
-0.05358326807618141,
0.008655395358800888,
0.024867163971066475,
-0.0011025606654584408,
-0.012593954801559448,
-0.029772674664855003,
-0.005419645458459854,
0.00561775267124176,
0.031791482120752335,
0.05626242980360985,
0.03562155365943909,
0.01614101603627205,
-0.05101730674505234,
-0.010546847246587276,
0.0005256325239315629,
-0.10354400426149368,
-0.0256595928221941,
-0.014924071729183197,
0.005292290821671486,
-0.05456436797976494,
0.0444137342274189,
-0.0852804109454155,
-0.023320041596889496,
0.06407351046800613,
0.021320102736353874,
0.026376551017165184,
-0.0903368592262268,
-0.035376276820898056,
-0.08188428729772568,
0.03373481705784798,
0.052224818617105484,
0.026640694588422775,
-0.020886152982711792,
0.019471103325486183,
0.0172636229544878,
0.025470919907093048,
-0.019122056663036346,
-0.000771792430896312,
-0.004667310044169426,
-0.014254281297326088,
-0.04962112382054329,
-0.00508946692571044,
0.005174370016902685,
0.032074492424726486,
0.007160158362239599,
-0.012235474772751331,
0.053771939128637314,
0.015150479972362518,
-0.01808435283601284,
0.013678827323019505,
0.00935820396989584,
-0.02203706093132496,
0.012990168295800686,
0.07377132773399353,
-0.027829337865114212,
0.00048082254943437874,
0.0554322674870491,
0.02928212285041809,
0.0009551594848744571,
-0.03292351961135864,
0.060828328132629395,
-0.017791908234357834,
-0.047357041388750076,
0.0012169439578428864,
0.042300593107938766,
0.013273178599774837,
0.0023112499620765448,
0.004697969648987055,
-0.011858128011226654,
-0.045583512634038925,
-0.012376979924738407,
-0.025301113724708557,
-0.0009351128828711808,
0.010990229435265064,
0.007127140648663044,
-0.06788471341133118,
0.017650403082370758,
-0.024621888995170593,
0.04799853265285492,
-0.02777273580431938,
0.008867653086781502,
0.03605550155043602,
-0.06535649299621582,
0.07516751438379288,
-0.01649949513375759,
0.001781785162165761,
-0.05011167377233505,
-0.04060253128409386,
-0.047281574457883835,
0.0041673253290355206,
-0.017697572708129883,
0.033697083592414856,
-0.016584398224949837,
-0.03626304119825363,
0.055998288094997406,
0.03401782736182213,
-0.027074644342064857,
0.015405189245939255,
0.001077207620255649,
-0.042262859642505646,
-0.033602744340896606,
0.018329627811908722,
0.02575392834842205,
0.02401813305914402,
-0.01655609719455242,
-0.015867440029978752,
0.057319000363349915,
0.002406765939667821,
-0.01207510195672512,
0.0025871850084513426,
-0.02913118526339531,
-0.009726117365062237,
0.038508255034685135,
0.04448920488357544,
0.03988557308912277,
0.05165879800915718,
0.006471500266343355,
-0.03724414482712746,
0.040262918919324875,
0.024527551606297493,
0.030621705576777458,
-0.03781016543507576,
-0.02039560303092003,
0.006080002523958683,
-0.050489023327827454,
0.06041324511170387,
-0.028734970837831497,
-0.02384832687675953,
-0.005924347322434187,
0.02243327535688877,
0.03762149065732956,
0.007910135202109814,
0.043847713619470596,
0.041810043156147,
-0.03277258202433586,
-0.024603020399808884,
0.02377285808324814,
-0.05958308279514313,
0.07886551320552826,
0.04090441018342972,
0.052262552082538605,
-0.029961347579956055,
0.016678735613822937,
-0.08075224608182907,
0.0009062222670763731,
0.028376489877700806,
0.03924408182501793,
-0.08633698523044586,
0.07984661310911179,
-0.008895954117178917,
0.071280837059021,
0.036640387028455734,
-0.010443076491355896,
-0.014084475114941597,
-0.040187448263168335,
0.031470734626054764,
0.005179086700081825,
-0.009504426270723343,
-0.01361279096454382,
-0.04248926788568497,
-0.02590486779808998,
0.008046924136579037,
0.008480872958898544,
-0.016574963927268982,
-0.007627125363796949,
0.01907488889992237,
0.0004654928343370557,
0.06777150928974152,
-0.015065576881170273,
0.012593954801559448,
-0.02571619488298893,
-0.07328077405691147,
-0.06901675462722778,
-0.03418763354420662,
-0.012556219473481178,
0.015018408186733723,
0.0014987748581916094,
0.0382629819214344,
0.00045546956243924797,
0.04407412186264992,
-0.07592220604419708,
0.06339428573846817,
-0.025112438946962357,
0.014876903034746647,
0.03481025621294975,
-0.0071177068166434765,
0.11229845136404037,
0.05022487789392471,
-0.003766394220292568,
0.005787558853626251,
-0.0065281023271381855,
-0.03292351961135864,
-0.028433091938495636,
0.04486655071377754,
0.029867010191082954,
-0.04297981783747673,
-0.015895741060376167,
-0.004235719330608845,
-0.008867653086781502,
-0.011339276097714901,
-0.033697083592414856,
0.025244511663913727,
-0.05026261508464813,
-0.008867653086781502,
0.029791541397571564,
0.041960980743169785,
-0.0018206990789622068,
-0.05686618387699127,
0.0035800791811197996,
-0.027074644342064857,
0.021433306857943535,
0.005664920900017023,
-0.010311005637049675,
-0.016678735613822937,
0.05875292047858238,
0.03198015317320824,
0.005603602156043053,
-0.03992330655455589,
-0.054262492805719376,
-0.01190529577434063,
0.034961193799972534,
0.053922880440950394,
0.04158363491296768,
-0.04754571616649628,
0.0518852062523365,
-0.04120628535747528,
-0.0026838802732527256,
-0.03611210361123085,
0.05645110458135605,
-0.008504456840455532,
-0.024923766031861305,
-0.021565377712249756,
0.0027617078740149736,
-0.016839107498526573,
0.047394778579473495,
-0.008263898082077503,
-0.031885817646980286,
0.0864124521613121,
-0.006018683779984713,
-0.038545992225408554,
0.00851860735565424,
-0.046904224902391434,
-0.021244633942842484,
0.02067861333489418,
-0.041960980743169785,
0.0028607614804059267,
-0.02899911254644394,
-0.03214995935559273,
0.016037246212363243,
0.02054654061794281,
0.019244695082306862,
0.02754632756114006,
0.006179056130349636,
0.05871518701314926,
0.0018089069053530693,
0.011433612555265427,
0.09161984175443649,
-0.02720671519637108,
0.04131948947906494,
0.038451652973890305,
0.021320102736353874,
0.02233893983066082,
0.004990413319319487,
0.01783907786011696,
0.0003396122483536601,
-0.02241440862417221,
-0.045357104390859604,
0.0002816836058627814,
-0.005660204216837883,
0.023584185168147087,
0.043998654931783676,
0.03403669595718384,
-0.005221538245677948,
-0.02573506161570549,
0.02771613374352455,
-0.04773438721895218,
-0.05965855345129967,
0.0034480076283216476,
-0.07622408121824265,
0.04290434718132019,
0.028414225205779076,
0.04856455326080322,
-0.038508255034685135,
-0.02218800038099289,
0.010612882673740387,
-0.03324426710605621,
-0.03416876494884491,
0.012348678894340992,
0.05882839113473892,
0.003563570324331522,
0.05177200213074684,
0.012358112260699272,
-0.08558228611946106,
0.02903684787452221,
-0.00909877847880125,
-0.007084689103066921,
0.04320622608065605,
0.027942541986703873,
0.00508946692571044,
0.037187542766332626,
-0.01365052629262209,
-0.031640540808439255,
-0.07075255364179611,
-0.04060253128409386,
-0.0034456492867320776,
-0.0036437564995139837,
-0.022999295964837074,
0.010858158580958843,
0.004990413319319487,
0.01615988276898861,
0.007811082061380148,
0.021508775651454926,
0.008131826296448708,
0.011084566824138165,
-0.03820637986063957,
-0.03737621381878853,
-0.028772704303264618,
-0.07177139073610306,
-0.013301479630172253,
0.013235444203019142,
0.018537169322371483,
0.01282979641109705,
0.055620938539505005,
0.04128175601363182,
-0.047130633145570755,
-0.04475334659218788,
-0.031810346990823746,
-0.013358081690967083,
0.004502221010625362,
0.07962020486593246,
-0.057356737554073334,
0.02937646023929119,
0.007103556301444769,
0.11244939267635345,
0.03292351961135864,
0.014216545969247818,
0.01190529577434063,
-0.028772704303264618,
0.038791265338659286,
-0.029848143458366394,
0.013424118049442768,
0.01123550534248352,
-0.03105565346777439,
-0.022961562499403954,
-0.052413489669561386,
-0.042262859642505646,
-0.015942908823490143,
-0.024621888995170593,
0.0416213683784008,
-0.01737682707607746,
-0.027018042281270027,
-0.012414714321494102,
-0.004351282026618719,
-0.021206898614764214,
0.032470703125,
-0.053960613906383514,
0.046979695558547974,
-0.02748972550034523,
0.004714478272944689,
0.05973402038216591,
-0.030980184674263,
-0.017235321924090385,
-0.038338448852300644,
0.03426310420036316,
-0.025376582518219948,
0.003747526789084077,
-0.015876872465014458,
-0.06445086002349854,
-0.014725964516401291,
0.017688138410449028,
0.05320591852068901,
-0.03231976553797722,
-0.05203614383935928,
0.014225980266928673,
0.025263378396630287,
0.019046587869524956,
0.017235321924090385,
0.017735306173563004,
0.03981010243296623,
-0.03465931862592697,
-0.04822494089603424,
-0.025338847190141678,
0.03248957172036171,
-0.010782688856124878,
-0.012395847588777542,
-0.0019409783417358994,
-0.015574995428323746,
-0.014244846999645233,
-0.023169102147221565,
-0.03292351961135864,
-0.011103433556854725,
0.022923827171325684,
0.018348494544625282,
0.0039031824562698603,
0.05973402038216591,
0.000598448677919805,
0.043621309101581573,
-0.012433581985533237,
0.006957334466278553,
-0.003193298587575555,
0.027150113135576248,
-0.017423994839191437,
-0.09343110769987106,
-0.016263652592897415,
-0.06856393814086914,
0.042262859642505646,
-0.07048840820789337,
0.01686740852892399,
0.029527397826313972,
-0.03437630832195282,
-0.004209776874631643,
0.05645110458135605,
0.050941839814186096,
0.04618726670742035,
0.023452112451195717,
0.04656461253762245,
0.06697908043861389,
-0.060866061598062515,
-0.04652687907218933,
0.018131520599126816,
-0.008674263022840023,
-0.06445086002349854,
-0.09305375814437866,
0.013405250385403633,
-0.019084321334958076,
0.0554322674870491,
0.03714980557560921,
0.019603174179792404,
0.038583725690841675,
0.03611210361123085,
0.003096603322774172,
-0.05652657151222229,
0.017405128106474876,
0.0001588984450791031,
0.052224818617105484,
-0.025131307542324066,
0.0020022972021251917,
-0.028093479573726654,
0.028584031388163567,
0.018395664170384407,
0.01802775077521801,
0.014254281297326088,
0.048715490847826004,
-0.02564072608947754,
-0.03950822725892067,
0.008542191237211227,
-0.01129210740327835,
0.0477721244096756,
0.005452663637697697,
0.05037581920623779,
-0.0051366351544857025,
-0.027150113135576248,
-0.007754480000585318,
0.001856075250543654,
0.021206898614764214,
-0.05316818505525589,
0.008796900510787964,
-0.03499893099069595,
0.045470308512449265,
0.01565989851951599,
0.01128267403692007,
0.02564072608947754,
-0.032470703125,
0.059318941086530685,
-0.05501718446612358,
-0.03237636759877205,
0.015188214369118214,
0.014895770698785782,
0.027150113135576248,
-0.008811051025986671,
-0.024527551606297493,
-0.014641061425209045,
0.01365995965898037,
0.025036970153450966,
0.05184746906161308,
0.02401813305914402,
-0.00680639548227191,
0.015103311277925968,
0.021772919222712517,
0.04320622608065605,
0.05724353343248367,
-0.06260185688734055,
-0.023527583107352257,
0.0345272459089756,
-0.06633759289979935,
-0.009164813905954361,
0.018857913091778755,
-0.05535679683089256,
0.023433245718479156,
-0.05705485865473747,
-0.08633698523044586,
0.009589329361915588,
0.015065576881170273,
0.024904899299144745,
-0.055658675730228424,
0.02575392834842205,
-0.009490275755524635,
0.049243777990341187,
0.07690330594778061,
0.023640787228941917,
0.00891953893005848,
0.048715490847826004,
0.012037367559969425,
-0.018489999696612358,
-0.08429931104183197,
-0.011518515646457672,
0.01782020926475525,
0.07456375658512115,
-0.00003032778658962343,
-0.013339214958250523,
0.007575239986181259,
0.042111918330192566,
0.004247511737048626,
-0.023395510390400887,
0.059054795652627945,
0.010103464126586914,
-0.04637594148516655,
-0.04482881724834442,
0.054224755614995956,
-0.02420680597424507,
0.018518300727009773,
0.007768630515784025,
-0.008358234539628029,
-0.04822494089603424,
-0.01655609719455242,
-0.023621918633580208,
0.03401782736182213,
-0.00816484447568655,
0.04988526552915573,
-0.026810500770807266,
0.00254709180444479,
0.008655395358800888,
-0.010980796068906784,
-0.02086728624999523,
-0.008188428357243538,
-0.043923184275627136,
-0.00602811761200428,
0.07573353499174118,
0.018857913091778755,
0.01705608144402504,
-0.03450837731361389,
-0.009466691873967648,
-0.028489693999290466,
-0.06207357347011566,
-0.00851860735565424,
-0.02428227663040161,
-0.014301449060440063,
-0.0410553477704525,
0.0781862884759903,
-0.006367729976773262,
-0.05362100154161453,
-0.0481494702398777,
0.0647527351975441,
0.004761646967381239,
-0.036602653563022614,
-0.04331943020224571,
0.01365052629262209,
0.09131795912981033,
0.05701712518930435,
0.04679102078080177,
0.03301785886287689,
-0.04252700135111809,
-0.043470367789268494,
0.040262918919324875,
0.03801770508289337,
0.029640601947903633,
-0.007829949259757996,
0.0112449387088418,
-0.03084811381995678,
0.012546786107122898,
-0.023678520694375038,
-0.026791634038090706,
0.06033777818083763,
-0.008023339323699474,
-0.007834666408598423,
-0.0012098687002435327,
-0.028206683695316315,
0.033206529915332794,
-0.013414683751761913,
-0.031470734626054764,
-0.012527918443083763,
0.0005884253769181669,
-0.03486685827374458,
-0.0003289993619546294,
0.009112928993999958,
-0.02916891872882843,
0.004509296268224716,
-0.04841361194849014,
0.016508929431438446,
0.019791847094893456,
-0.0127826277166605,
0.009372354485094547,
-0.027753867208957672,
-0.022810623049736023,
-0.0446024090051651,
-0.06769604235887527,
0.07879004627466202,
0.0291123166680336,
-0.0005884253769181669,
-0.004834757652133703,
0.0038229962810873985,
0.026829367503523827,
-0.00031219562515616417,
-0.021716317161917686,
0.0007759196450933814,
0.008495023474097252,
-0.030150020495057106,
-0.0033701800275593996,
-0.020037122070789337,
-0.0036225307267159224,
-0.011518515646457672,
-0.04116855189204216,
-0.049055103212594986,
0.05701712518930435,
-0.038338448852300644,
-0.06007363274693489,
-0.0007051671273075044,
-0.0033418789971619844,
-0.027791602537035942,
0.015065576881170273,
0.01722588762640953,
0.02558412402868271,
-0.03145186975598335,
-0.004844191484153271,
-0.031942419707775116,
-0.045621246099472046,
0.04116855189204216,
0.018857913091778755,
0.013376949355006218,
-0.0062639592215418816,
-0.024320010095834732,
0.05675297975540161,
-0.011443045921623707,
-0.057394471019506454,
-0.023320041596889496,
0.01890508271753788,
-0.050526756793260574,
-0.026659561321139336,
-0.002681521698832512,
-0.011914730072021484,
0.019376765936613083,
0.06988465785980225,
0.060828328132629395,
-0.029602868482470512,
-0.007098839618265629,
-0.004358357284218073,
-0.006844130344688892,
-0.01542405690997839,
-0.031697142869234085,
0.0582246333360672,
0.04060253128409386,
0.04652687907218933,
0.043470367789268494,
-0.009320469573140144,
0.060903798788785934,
0.026753898710012436,
0.005815859884023666,
0.07743159681558609,
-0.008443137630820274,
0.0449797548353672,
-0.04467787966132164,
-0.03571588918566704,
-0.028433091938495636,
-0.006745076738297939,
0.006009249947965145,
0.023225704208016396,
0.01559386309236288,
-0.008419553749263287,
0.06826206296682358,
0.033300869166851044,
0.004570615012198687,
-0.000704577483702451,
-0.010141199454665184,
0.02235780656337738,
0.03843278810381889,
0.0017971148481592536,
-0.009150663390755653,
0.003905541030690074,
0.03413103148341179,
0.05837557464838028,
-0.040376123040914536,
-0.016669301316142082,
0.008334650658071041,
-0.012141138315200806
] |
725,564 | syne_tune.tuner | load | null | @staticmethod
def load(tuner_path: Optional[str]):
with open(Path(tuner_path) / ST_TUNER_DILL_FILENAME, "rb") as f:
tuner = dill.load(f)
tuner.tuner_path = Path(experiment_path(tuner_name=tuner.name))
return tuner
| (tuner_path: Optional[str]) | [
0.07174260169267654,
-0.03328645974397659,
-0.04955163225531578,
0.05327943339943886,
-0.0493406243622303,
-0.014550737105309963,
0.011271325871348381,
-0.007930370979011059,
-0.03376122564077377,
0.042518045753240585,
-0.009521720930933952,
0.001341876806691289,
-0.055600520223379135,
0.08419205993413925,
-0.03372605890035629,
-0.02583085559308529,
-0.03815721720457077,
0.07729914039373398,
-0.03935292735695839,
-0.003686040174216032,
-0.017680684104561806,
0.006585197523236275,
0.015306847169995308,
0.07947955280542374,
-0.0026090217288583517,
0.06759278476238251,
0.007244596257805824,
-0.0004753167449962348,
-0.08292601257562637,
-0.013038515113294125,
0.056655555963516235,
-0.03493935242295265,
-0.031387388706207275,
0.08447340130805969,
-0.026921061798930168,
0.0075830877758562565,
0.017751019448041916,
0.02595394290983677,
-0.11373312771320343,
-0.02410762570798397,
0.0063873776234686375,
-0.015588191337883472,
0.08827153593301773,
-0.04026729613542557,
-0.0066950973123312,
-0.001858406001701951,
-0.018621426075696945,
-0.08707582950592041,
-0.004143223166465759,
0.02602427825331688,
0.06615090370178223,
0.002721119672060013,
-0.042236700654029846,
0.031651150435209274,
-0.05029015988111496,
0.019078608602285385,
-0.005143311806023121,
0.09488311409950256,
0.02690347656607628,
0.02503957599401474,
-0.020080896094441414,
-0.05939865857362747,
0.04849659278988838,
0.018973106518387794,
0.006418149918317795,
0.03784070909023285,
-0.04262354597449303,
0.02706173248589039,
-0.008545810356736183,
0.010137159377336502,
0.021171102300286293,
-0.032161083072423935,
-0.03293478116393089,
-0.005349923390895128,
0.06242309883236885,
0.0030552151147276163,
-0.0770881325006485,
-0.043326906859874725,
-0.009574472904205322,
-0.008462286554276943,
0.014814496040344238,
0.008950241841375828,
-0.012423075735569,
-0.014374896883964539,
-0.015561815351247787,
-0.05352561175823212,
0.05992617458105087,
-0.05433447286486626,
0.0015331025933846831,
-0.05120452493429184,
0.0015331025933846831,
-0.014058385975658894,
-0.04016179218888283,
0.028837714344263077,
0.0027980494778603315,
-0.03668016567826271,
0.043995097279548645,
-0.004769652150571346,
-0.020467743277549744,
-0.00024136749561876059,
-0.03453492000699043,
0.007794095668941736,
-0.03903641924262047,
-0.0010088804410770535,
-0.002362846164032817,
0.010014072060585022,
0.015429935418069363,
-0.002474944107234478,
-0.003727802075445652,
-0.028046434745192528,
-0.11978201568126678,
0.003595922142267227,
-0.045296311378479004,
0.057112742215394974,
-0.016203630715608597,
0.01367153786122799,
0.03928259387612343,
0.030807118862867355,
0.012809923849999905,
-0.007037984672933817,
-0.032758940011262894,
0.06632674485445023,
-0.11113069951534271,
0.030982958152890205,
0.05349044129252434,
0.009627224877476692,
0.011447166092693806,
0.03305786848068237,
-0.015122216194868088,
-0.01229119673371315,
0.08573944866657257,
0.043010395020246506,
-0.044522617012262344,
-0.03949360176920891,
0.04118166118860245,
0.01263408362865448,
0.018428003415465355,
0.02549675852060318,
0.004101461265236139,
0.056233543902635574,
-0.010101991705596447,
-0.004954284057021141,
0.04065414145588875,
-0.020995263010263443,
0.013486906886100769,
0.05370144918560982,
-0.04737121984362602,
-0.017249876633286476,
-0.03875507414340973,
0.05380695313215256,
-0.028275026008486748,
0.004501496907323599,
0.014005634002387524,
0.028046434745192528,
0.015781614929437637,
-0.057569924741983414,
-0.0547916553914547,
0.031000541523098946,
0.015087047591805458,
-0.0465271882712841,
-0.0026661697775125504,
-0.0056664347648620605,
-0.007649027742445469,
0.0009671184816397727,
-0.056268710643053055,
-0.004905927926301956,
-0.054299306124448776,
0.04789873957633972,
-0.0018946729833260179,
0.03731318935751915,
0.032864443957805634,
-0.043573081493377686,
-0.11584320664405823,
0.009029369801282883,
-0.02572535164654255,
0.06421666592359543,
-0.016106918454170227,
0.015051879920065403,
0.07044139504432678,
-0.011025150306522846,
-0.018621426075696945,
0.054932329803705215,
0.0009495344711467624,
0.03604714199900627,
0.02489890344440937,
-0.004668544512242079,
0.0029716913122683764,
-0.005305963568389416,
0.015843158587813377,
0.06231759488582611,
0.07117991894483566,
0.03646915778517723,
-0.005156499799340963,
-0.0036662581842392683,
0.0010770183289423585,
-0.02340426668524742,
0.04181468486785889,
-0.028486033901572227,
-0.06759278476238251,
0.06354847550392151,
0.06710043549537659,
0.019729215651750565,
0.02331634610891342,
-0.004809216130524874,
-0.02711448445916176,
-0.011042734608054161,
0.004730088636279106,
0.0231756754219532,
-0.029593825340270996,
0.05282225087285042,
0.0001327727222815156,
-0.02451205626130104,
-0.0010077813640236855,
0.01136803813278675,
0.05134519934654236,
-0.08391071110963821,
-0.014612280763685703,
0.058062274008989334,
0.02563743107020855,
0.0015660724602639675,
0.0481097474694252,
0.032284174114465714,
-0.031070878729224205,
0.031281884759664536,
-0.02331634610891342,
-0.014840872026979923,
-0.010919646359980106,
-0.022489899769425392,
-0.041990526020526886,
-0.021294189617037773,
0.015693694353103638,
-0.07701779901981354,
0.017680684104561806,
-0.054967496544122696,
0.03893091529607773,
0.03393706679344177,
-0.007187448441982269,
0.011728509329259396,
-0.010611927136778831,
-0.057007238268852234,
0.02342185005545616,
0.003362934570759535,
0.004699316341429949,
-0.011552669107913971,
0.0062730819918215275,
-0.02335151471197605,
0.005336735397577286,
-0.030051007866859436,
-0.03483384847640991,
-0.03952876850962639,
0.07244596630334854,
-0.00655882153660059,
0.0038157219532877207,
0.0767364501953125,
-0.003404696471989155,
0.013996841385960579,
0.008427118882536888,
-0.019781967625021935,
0.00689291674643755,
-0.045964501798152924,
-0.011605421081185341,
-0.027589252218604088,
-0.022190973162651062,
0.03402498736977577,
-0.07258663326501846,
0.011236158199608326,
0.003998155705630779,
-0.0239669531583786,
0.045858997851610184,
-0.0763847753405571,
0.057464420795440674,
0.09523478895425797,
-0.03611747920513153,
-0.017979610711336136,
-0.016036583110690117,
-0.0062730819918215275,
0.02349218726158142,
-0.00035030569415539503,
0.011526293121278286,
0.031211549416184425,
-0.03836822509765625,
-0.008493058383464813,
0.04111132770776749,
0.02459997683763504,
-0.02600669488310814,
-0.005499387159943581,
-0.019641296938061714,
-0.03822755441069603,
-0.021048014983534813,
-0.004297083243727684,
0.030525775626301765,
0.02514507994055748,
0.045753493905067444,
0.0115438774228096,
0.04874277114868164,
0.003057413036003709,
-0.06379465013742447,
-0.006985232699662447,
0.03780553862452507,
-0.022771243005990982,
-0.00312774907797575,
-0.06147356703877449,
0.013029723428189754,
0.07926854491233826,
-0.05134519934654236,
-0.0236152745783329,
-0.029593825340270996,
-0.042588379234075546,
0.0017968621104955673,
0.0120713971555233,
-0.016572892665863037,
0.010251455940306187,
0.03907158598303795,
0.044557783752679825,
0.0820116475224495,
-0.020203983411192894,
-0.015948662534356117,
0.03959910571575165,
0.004593812860548496,
-0.0044971005991101265,
0.01171092502772808,
0.08777918666601181,
-0.05225956439971924,
0.018902769312262535,
-0.018234578892588615,
-0.031985245645046234,
0.044557783752679825,
0.028960801661014557,
-0.000790179765317589,
-0.006976441014558077,
-0.055670853704214096,
0.0009753609192557633,
0.018428003415465355,
-0.020678751170635223,
0.044592954218387604,
0.008743629790842533,
0.02574293501675129,
-0.019887471571564674,
0.014937584288418293,
0.014471609145402908,
0.08946724981069565,
-0.04698437452316284,
-0.057534754276275635,
0.002074908697977662,
0.0670652687549591,
0.03629331663250923,
0.008277654647827148,
-0.030156511813402176,
0.02301741950213909,
0.009838231839239597,
-0.019711632281541824,
0.002565061906352639,
-0.028327777981758118,
0.031774237751960754,
0.008246882818639278,
-0.029787248000502586,
-0.021821709349751472,
0.07336033135652542,
-0.02688589319586754,
-0.018814850598573685,
-0.055495016276836395,
-0.021329358220100403,
-0.045050136744976044,
0.016212422400712967,
0.0509231835603714,
-0.042377371340990067,
-0.008972221985459328,
-0.043924760073423386,
0.002252946374937892,
0.03724285215139389,
-0.008101815357804298,
-0.02382628247141838,
-0.021768957376480103,
-0.007099528796970844,
0.05897664278745651,
-0.02447688952088356,
0.0038728697691112757,
-0.0008401841623708606,
0.006879729218780994,
0.07455603778362274,
-0.008440306410193443,
0.06094604730606079,
0.05190788581967354,
0.004620188381522894,
0.031686317175626755,
-0.044487450271844864,
-0.016036583110690117,
0.043432410806417465,
0.011324077844619751,
-0.045120470225811005,
0.05240023508667946,
-0.008506246842443943,
0.007596275769174099,
0.06467384845018387,
-0.022261308506131172,
0.010436086915433407,
-0.08348869532346725,
0.0120274368673563,
0.005987342447042465,
0.03703184425830841,
0.004585020709782839,
-0.031809404492378235,
-0.03398981690406799,
0.07786183059215546,
-0.004316865000873804,
-0.011236158199608326,
0.045296311378479004,
0.06266927719116211,
-0.019395120441913605,
-0.017399340867996216,
0.009908568114042282,
0.03427116200327873,
0.0263407900929451,
-0.0017023482359945774,
-0.03643399104475975,
0.02416037768125534,
0.016792692244052887,
-0.00666432548314333,
0.006501673720777035,
0.03717251494526863,
-0.01170213334262371,
0.0025123099330812693,
0.004165203310549259,
0.019359953701496124,
0.004426764789968729,
0.032776523381471634,
0.04737121984362602,
0.03928259387612343,
-0.01310885138809681,
0.000911069568246603,
-0.019272033125162125,
0.03910675272345543,
0.006796204950660467,
-0.06421666592359543,
0.0272199884057045,
-0.0033497465774416924,
-0.03522069752216339,
-0.03738352283835411,
0.021610701456665993,
-0.03370847553014755,
0.005262003745883703,
-0.015922285616397858,
0.028661875054240227,
-0.02359768934547901,
-0.0074687921442091465,
-0.033901896327733994,
-0.07293831557035446,
0.057112742215394974,
0.013152810744941235,
-0.06164940446615219,
-0.029875168576836586,
-0.0514507032930851,
0.04146300628781319,
0.015491479076445103,
0.009776688180863857,
0.0038508898578584194,
0.014181473292410374,
-0.033585384488105774,
0.014629865065217018,
-0.008211715146899223,
-0.018621426075696945,
0.0025936358142644167,
0.05932832136750221,
-0.03984528034925461,
0.03455250337719917,
0.08552844077348709,
-0.011271325871348381,
0.0009874498937278986,
-0.0029453153256326914,
-0.03515036031603813,
0.0023144902661442757,
-0.0073852683417499065,
0.014040801674127579,
-0.022472316399216652,
0.019570961594581604,
0.018445586785674095,
-0.009864607825875282,
0.03787587583065033,
0.012915427796542645,
-0.031774237751960754,
0.02514507994055748,
-0.06977319717407227,
0.00025606658891774714,
0.05820294842123985,
-0.0028617915231734514,
0.0030925809405744076,
-0.03682083636522293,
0.06182524561882019,
-0.018181826919317245,
-0.027096901088953018,
-0.03970460966229439,
0.07001937925815582,
-0.04768773168325424,
-0.056690726429224014,
-0.015051879920065403,
0.009873400442302227,
0.018586257472634315,
0.03497451916337013,
0.06520136445760727,
-0.019711632281541824,
0.022700907662510872,
-0.05088801309466362,
-0.045858997851610184,
-0.01180763728916645,
0.029875168576836586,
0.008484266698360443,
-0.06499035656452179,
0.03601197525858879,
-0.02530333586037159,
0.03791104257106781,
-0.032635852694511414,
-0.016766317188739777,
-0.013522074557840824,
0.007653423584997654,
0.010576759465038776,
0.019377537071704865,
-0.02600669488310814,
0.041322335600852966,
-0.03871990740299225,
0.04026729613542557,
-0.02544400654733181,
0.008818361908197403,
0.03706701099872589,
-0.054404810070991516,
0.0027496935799717903,
-0.06949185580015182,
-0.015500270761549473,
-0.018568674102425575,
0.015922285616397858,
0.06414633244276047,
0.05095835030078888,
-0.01279233954846859,
0.03479868173599243,
0.010576759465038776,
0.04628101363778114,
0.03889574483036995,
0.0119834765791893,
-0.03493935242295265,
-0.03928259387612343,
-0.055530183017253876,
-0.0015561814652755857,
-0.06407599151134491,
0.03886057808995247,
-0.007152280770242214,
0.032899610698223114,
-0.031897325068712234,
-0.06569372117519379,
0.043748922646045685,
0.04902411252260208,
0.015034295618534088,
0.021927213296294212,
-0.019869888201355934,
-0.02263057231903076,
-0.029470736160874367,
-0.009222793392837048,
-0.0830666795372963,
-0.013434154912829399,
-0.007156676612794399,
0.04701954126358032,
-0.014075969345867634,
-0.02658696472644806,
-0.04033763334155083,
0.012159316800534725,
0.05173204466700554,
0.046316180378198624,
-0.02530333586037159,
-0.04737121984362602,
-0.021909628063440323,
-0.01262529194355011,
-0.03984528034925461,
0.057710595428943634,
-0.02614736557006836,
0.03355021774768829,
0.028169522061944008,
-0.06871816515922546,
0.06534203886985779,
0.012212068773806095,
0.008906281553208828,
-0.002644189866259694,
-0.04927029088139534,
0.019483041018247604,
0.04578866437077522,
0.002736505586653948,
-0.0076402355916798115,
-0.02707931585609913,
-0.043467577546834946,
0.016669604927301407,
0.0049894521944224834,
-0.03935292735695839,
0.005332339555025101,
0.01310885138809681,
0.0029870772268623114,
-0.029927920550107956,
0.0076402355916798115,
0.027536500245332718,
0.0034574484452605247,
-0.008471078239381313,
-0.03402498736977577,
0.057288579642772675,
-0.0004200920811854303,
-0.043713755905628204,
-0.015623359009623528,
-0.03889574483036995,
-0.004558644723147154,
-0.020960094407200813,
-0.02602427825331688,
-0.008352386765182018,
0.00047256925608962774,
-0.0014803506201133132,
-0.02547917515039444,
0.018199410289525986,
-0.02602427825331688,
0.015561815351247787,
0.018146658316254616,
0.03296994790434837,
-0.011016358621418476,
0.028204690665006638,
-0.04832075536251068,
0.019184112548828125,
0.032987531274557114,
-0.0479339063167572,
0.016273966059088707,
0.008255674503743649,
-0.005684019066393375,
-0.021628284826874733,
-0.045085303485393524,
0.005165291950106621,
0.0235273540019989,
0.011139445938169956,
-0.046105172485113144,
0.03942326456308365,
-0.04698437452316284,
0.03738352283835411,
-0.019518209621310234,
-0.01142958179116249,
-0.02525058388710022,
0.042869724333286285,
-0.02328117936849594,
-0.0025562699884176254,
0.02547917515039444,
-0.019131360575556755,
0.053947627544403076,
-0.009495344944298267,
0.010154743678867817,
-0.02333393134176731,
-0.017698267474770546,
-0.03745386004447937,
0.009345880709588528,
-0.007653423584997654,
0.04979780688881874,
-0.02695622853934765,
-0.029013553634285927,
-0.007723759859800339,
-0.016704773530364037,
0.00005543072256841697,
-0.0005233979318290949,
0.08482508361339569,
0.0017243282636627555,
0.01307368278503418,
-0.003042027121409774,
-0.04149817302823067,
0.028661875054240227,
0.011148238554596901,
-0.02621770277619362,
0.010295415297150612,
-0.0241427943110466,
-0.010348167270421982,
-0.015948662534356117,
0.0038684739265590906,
-0.002641991712152958,
-0.030473023653030396,
-0.03668016567826271,
-0.0231756754219532,
-0.030332351103425026,
-0.03418324142694473,
-0.057147908955812454,
-0.0033343606628477573,
-0.0516265407204628,
0.05345527455210686,
-0.0006319239619188011,
-0.031299468129873276,
0.03608230873942375,
0.012062604539096355,
-0.022929498925805092,
-0.016300341114401817,
0.04061897471547127,
-0.017399340867996216,
0.007649027742445469,
0.0841217190027237,
0.03618781268596649,
-0.09024094045162201,
0.004541060887277126,
-0.000679180899169296,
-0.007736947853118181,
0.0066731171682477,
-0.07940921932458878,
0.042869724333286285,
-0.044241271913051605,
-0.032776523381471634,
-0.013372610323131084,
0.044311609119176865,
-0.03349746763706207,
-0.027993682771921158,
-0.011297701857984066,
0.006435733754187822,
-0.014471609145402908,
-0.030824702233076096,
0.012220860458910465,
-0.055389512330293655,
-0.019711632281541824,
0.057042405009269714,
-0.005292775575071573,
0.017900483682751656,
0.006901708897203207,
0.07117991894483566,
0.005807106848806143,
-0.0697028636932373,
-0.000810511177405715,
-0.005873046815395355,
-0.019623711705207825,
-0.00285519752651453,
-0.03780553862452507,
0.014744160696864128,
0.04100582376122475,
0.009855816140770912,
0.028468450531363487,
-0.055424679070711136,
-0.011719717644155025,
0.022560235112905502,
0.04628101363778114,
-0.03388431295752525,
-0.002362846164032817,
-0.03826272115111351,
-0.019395120441913605,
-0.010831726714968681,
-0.05169687792658806,
0.022173387929797173,
0.042975228279829025,
0.05278708413243294,
0.03409532085061073,
-0.002148541621863842,
0.00004207102756481618,
-0.006114826072007418,
0.016555309295654297,
0.029681744053959846,
0.003927819896489382,
0.0777914896607399,
-0.02452964149415493,
-0.031387388706207275,
0.032424844801425934,
0.058378785848617554,
-0.011051526293158531,
0.020344655960798264,
0.05922281742095947,
0.02349218726158142,
-0.05971516668796539,
0.03653949499130249,
-0.032372090965509415,
-0.004442150704562664,
-0.044381946325302124,
0.02593635767698288,
-0.0791982114315033,
0.054861992597579956,
-0.032037995755672455,
0.004589416552335024,
0.002202392555773258,
-0.007139092776924372,
-0.02312292344868183
] |
725,565 | syne_tune.tuner | run | Launches the tuning. | def run(self):
"""Launches the tuning."""
done_trials_statuses = OrderedDict()
try:
logger.info(f"results of trials will be saved on {self.tuner_path}")
if self.tuning_status is None:
self.tuning_status = TuningStatus(
metric_names=self.scheduler.metric_names()
)
# prints the status every ``print_update_interval`` seconds
self.status_printer = RegularCallback(
callback=lambda tuning_status: logger.info(
"tuning status (last metric is reported)\n" + str(tuning_status)
),
call_seconds_frequency=self.print_update_interval,
)
# saves the tuner every ``results_update_interval`` seconds
if self.save_tuner:
self.tuner_saver = RegularCallback(
callback=lambda tuner: tuner.save(),
call_seconds_frequency=self.results_update_interval,
)
self.metadata[ST_TUNER_START_TIMESTAMP] = time.time()
for callback in self.callbacks:
callback.on_tuning_start(self)
self.tuner_path.mkdir(exist_ok=True, parents=True)
self._save_metadata()
# ``running_trial_ids`` contains the ids of all trials currently running,
# whether they were started from scratch or were resumed from a pausing
# state
running_trials_ids = set()
config_space_exhausted = False
stop_condition_reached = self._stop_condition()
while (
# we stop when either the stop condition is reached
not stop_condition_reached
# or when all trials are done if the wait_trial_completion is activated
or self.wait_trial_completion_when_stopping
and len(running_trials_ids) > 0
):
for callback in self.callbacks:
callback.on_loop_start()
new_done_trial_statuses, new_results = self._process_new_results(
running_trials_ids=running_trials_ids,
)
if new_results and self.save_tuner:
# Save tuner state only if there have been new results
self.tuner_saver(tuner=self)
# update the list of done trials and remove those from ``running_trials_ids``
# Note: It is important to update ``running_trials_ids`` before
# calling ``_schedule_new_tasks``.
# Otherwise, a trial can be registered as paused in
# ``_process_new_results``, and immediately be resumed in
# ``_schedule_new_tasks``. If ``new_done_trial_statuses`` is subtracted from
# ``running_trials_ids`` afterwards only, this trial is removed from
# ``running_trials_ids`` even though it is running. Also, its status remains
# paused, because the next call of ``_process_new_results`` only considers
# trials in ``running_trials_ids``.
done_trials_statuses.update(new_done_trial_statuses)
running_trials_ids.difference_update(new_done_trial_statuses.keys())
if (
config_space_exhausted
or self.wait_trial_completion_when_stopping
and stop_condition_reached
):
# if the search space is exhausted, we loop until the running trials are done or until the
# stop condition is reached
if len(running_trials_ids) > 0:
if config_space_exhausted:
logger.debug(
f"Configuration space exhausted, waiting for completion of running trials "
f"{running_trials_ids}"
)
else:
logger.debug(
f"Stopping criterion reached, waiting for completion of running trials "
f"{running_trials_ids}"
)
self._sleep()
else:
break
else:
try:
self._schedule_new_tasks(running_trials_ids=running_trials_ids)
except StopIteration:
logger.info(
"Tuning is finishing as the whole configuration space got exhausted."
)
config_space_exhausted = True
print(
"Tuning is finishing as the whole configuration space got exhausted."
)
self.status_printer(self.tuning_status)
for callback in self.callbacks:
callback.on_loop_end()
stop_condition_reached = self._stop_condition()
except Exception as e:
logger.error(
"An error happened during the tuning, cleaning up resources and logging final resources "
"before throwing the exception."
)
raise e
finally:
# graceful termination block called when the tuner reached its stop condition, when an error happened or
# when the job got interrupted (can happen in spot-instances or when sending a SIGINT signal with ctrl+C).
# the block displays the best configuration found and stops trials that may still be running.
print_best_metric_found(
tuning_status=self.tuning_status,
metric_names=self.scheduler.metric_names(),
mode=self.scheduler.metric_mode(),
)
# Callbacks (typically includes writing final results)
for callback in self.callbacks:
callback.on_tuning_end()
# Serialize Tuner object
if self.save_tuner:
self.save()
logger.info("Stopping trials that may still be running.")
self.trial_backend.stop_all()
# notify tuning status that jobs were stopped without having to query their status in the backend since
# we know that all trials were stopped
self.tuning_status.mark_running_job_as_stopped()
# in case too many errors were triggered, show log of last failed job and terminates with an error
if self.tuning_status.num_trials_failed > self.max_failures:
self._handle_failure(done_trials_statuses=done_trials_statuses)
logger.info(
f"Tuning finished, results of trials can be found on {self.tuner_path}"
)
| (self) | [
0.06209607422351837,
0.0023885841947048903,
-0.09551491588354111,
0.016519755125045776,
-0.011000526137650013,
0.0037316440138965845,
-0.05936490744352341,
-0.04616427794098854,
-0.031977392733097076,
-0.012669571675360203,
-0.03594137355685234,
0.008757746778428555,
0.009815124794840813,
0.01580851525068283,
-0.02186828851699829,
0.04157440364360809,
0.013902389444410801,
0.016974950209259987,
0.0032811914570629597,
-0.010507399216294289,
-0.011247090063989162,
-0.006804205011576414,
0.011948847211897373,
0.07336213439702988,
0.016955982893705368,
-0.013067866675555706,
-0.0066904062405228615,
-0.05265079438686371,
-0.04627807438373566,
0.02545294165611267,
-0.013143732212483883,
-0.015647299587726593,
0.007482254412025213,
0.0007663621217943728,
0.007776234298944473,
-0.011237606406211853,
-0.0002785693504847586,
0.010962593369185925,
-0.005486038513481617,
0.02285454235970974,
-0.0008511182968504727,
-0.07260347157716751,
0.019364720210433006,
-0.015182622708380222,
-0.020426839590072632,
0.031010104343295097,
-0.02947382442653179,
0.002899492159485817,
0.04502629116177559,
-0.03309641033411026,
-0.030611809343099594,
-0.042977917939424515,
-0.03192049264907837,
0.06505483388900757,
-0.029189327731728554,
0.006097705569118261,
-0.005339048337191343,
-0.009473728947341442,
0.06076842546463013,
-0.08307293802499771,
0.005452847108244896,
-0.02355629950761795,
0.01342822890728712,
0.062247805297374725,
0.03857770934700966,
-0.0044310311786830425,
-0.030649742111563683,
0.03550514578819275,
-0.0030891564674675465,
0.012460941448807716,
0.029132427647709846,
-0.010213419795036316,
-0.0019120527431368828,
-0.03451889380812645,
0.010583264753222466,
-0.000899127044249326,
-0.050640352070331573,
-0.08967325836420059,
-0.03719316050410271,
-0.018634513020515442,
0.054888833314180374,
0.08261774480342865,
-0.0003325051220599562,
-0.045784950256347656,
0.04586081579327583,
0.018406914547085762,
0.00042496644891798496,
-0.025092579424381256,
-0.017695674672722816,
-0.05872005224227905,
-0.015675749629735947,
0.025149479508399963,
0.054357774555683136,
0.03004281595349312,
0.0047202687710523605,
-0.029872119426727295,
-0.04923683777451515,
-0.10234282910823822,
-0.046733271330595016,
-0.07290693372488022,
0.0019381315214559436,
0.01823621802031994,
0.0254339762032032,
-0.01953541673719883,
0.04946443438529968,
-0.035315483808517456,
-0.07798993587493896,
0.019421618431806564,
-0.016747353598475456,
-0.004544829484075308,
-0.041308872401714325,
0.014585180208086967,
-0.051550742238759995,
-0.0026387039106339216,
-0.00815082062035799,
0.01955438405275345,
-0.02471325173974037,
0.018350016325712204,
-0.01723099686205387,
0.023726997897028923,
0.03355160355567932,
0.0004726788611151278,
-0.027690980583429337,
0.008677138946950436,
-0.06099602207541466,
0.012973034754395485,
-0.009132333099842072,
0.10203936696052551,
0.011351404711604118,
-0.027425449341535568,
-0.002489343285560608,
-0.0016963096568360925,
-0.02856343612074852,
-0.0030559650622308254,
0.040360551327466965,
0.009189233183860779,
-0.013020450249314308,
0.047226399183273315,
-0.019649216905236244,
0.0043741315603256226,
0.04646774008870125,
0.005528712645173073,
-0.0034993053413927555,
-0.05712687224149704,
0.03072560764849186,
0.0016263709403574467,
-0.026780592277646065,
-0.035599980503320694,
0.03328607603907585,
-0.012147994711995125,
-0.022247616201639175,
-0.026704726740717888,
0.032242920249700546,
0.014291200786828995,
-0.013551510870456696,
-0.003734014928340912,
-0.031522199511528015,
0.030820440500974655,
0.014964508824050426,
-0.028696199879050255,
-0.01883365958929062,
-0.057695865631103516,
-0.0036131038796156645,
-0.02810824103653431,
-0.017771540209650993,
0.042257193475961685,
-0.05504056438803673,
0.08633516728878021,
-0.01621629297733307,
0.025775371119379997,
0.07317246496677399,
-0.018492264673113823,
-0.06304439902305603,
0.013285980559885502,
-0.09399759769439697,
0.06334786117076874,
0.02477014996111393,
-0.0032811914570629597,
0.03286881372332573,
0.0012304468546062708,
-0.024580486118793488,
0.013987738639116287,
-0.0642961785197258,
-0.015960246324539185,
0.0007628058665432036,
-0.01178763248026371,
0.03377920389175415,
0.016017146408557892,
0.005334306973963976,
0.03544824942946434,
-0.007292590104043484,
-0.06532036513090134,
0.01427223440259695,
0.004267445765435696,
-0.010725513100624084,
0.03277398273348808,
0.0814797580242157,
0.030592843890190125,
0.022570045664906502,
-0.003072560764849186,
0.01549556851387024,
-0.008146079257130623,
0.05287839099764824,
-0.04168820008635521,
-0.013598926365375519,
-0.04495042562484741,
-0.02145102620124817,
-0.02715991996228695,
0.03163599595427513,
0.032944679260253906,
-0.0027525024488568306,
-0.03072560764849186,
0.011228123679757118,
0.059175245463848114,
0.042029596865177155,
-0.0485919788479805,
0.052347332239151,
0.02899966388940811,
0.027008188888430595,
-0.0049265287816524506,
-0.030384212732315063,
-0.03956396132707596,
-0.014869676902890205,
-0.01669045351445675,
-0.014936059713363647,
0.014300684444606304,
0.03019454888999462,
-0.0014201110461726785,
0.02213381789624691,
-0.01916557177901268,
0.040588147938251495,
-0.032944679260253906,
0.02258901111781597,
-0.01155055221170187,
-0.026590926572680473,
0.005832175724208355,
-0.024466687813401222,
-0.001674972358159721,
0.021583791822195053,
-0.02953072264790535,
0.02736855112016201,
-0.021792421117424965,
0.004864887800067663,
-0.07135169208049774,
-0.049843765795230865,
-0.011854015290737152,
0.038463909178972244,
0.024390822276473045,
0.02052167057991028,
-0.015666266903281212,
0.044609032571315765,
-0.01440499909222126,
-0.016842184588313103,
0.023954594507813454,
-0.022532112896442413,
-0.025130512192845345,
0.022892475128173828,
0.007638727314770222,
0.051550742238759995,
-0.013020450249314308,
0.03377920389175415,
0.04479869455099106,
-0.06816533207893372,
0.03872944042086601,
-0.05090588331222534,
0.024637386202812195,
0.03019454888999462,
-0.023214904591441154,
-0.003250370966270566,
0.005884333048015833,
0.029132427647709846,
0.06551003456115723,
-0.08216255158185959,
0.01498347520828247,
-0.055875085294246674,
0.08550064265727997,
-0.007908998988568783,
-0.008686622604727745,
-0.04024675488471985,
-0.034367162734270096,
0.023518366739153862,
0.0319015271961689,
0.004231883678585291,
-0.00559035362675786,
-0.00033161608735099435,
-0.006216245703399181,
-0.03379816934466362,
0.023044206202030182,
-0.015903346240520477,
0.016206810250878334,
-0.03021351434290409,
-0.013162698596715927,
0.07188274711370468,
0.01319114863872528,
0.1043912023305893,
0.01094362698495388,
-0.04517802223563194,
-0.032015323638916016,
0.011882465332746506,
-0.03431026265025139,
0.020863067358732224,
-0.041536469012498856,
-0.009089658968150616,
0.03761041909456253,
-0.0351637527346611,
0.04813678562641144,
0.020369939506053925,
-0.0319015271961689,
0.05686134099960327,
-0.04544355347752571,
-0.01560936775058508,
-0.05902351438999176,
0.06998610496520996,
0.017382727935910225,
0.019032808020710945,
-0.0314083993434906,
-0.019336270168423653,
-0.036756932735443115,
-0.042219262570142746,
0.03377920389175415,
-0.04047435149550438,
0.06327199190855026,
0.02930312603712082,
-0.021507926285266876,
0.03021351434290409,
-0.05925111100077629,
0.020749269053339958,
0.04168820008635521,
-0.04950236901640892,
-0.05337151885032654,
-0.004936011973768473,
-0.012584222480654716,
0.025813303887844086,
-0.006159346550703049,
0.007382680661976337,
-0.0011433197651058435,
0.03730695694684982,
0.027994442731142044,
0.015675749629735947,
-0.010583264753222466,
0.08125216513872147,
0.010725513100624084,
-0.04165026918053627,
0.04312964901328087,
0.00702231889590621,
0.015533502213656902,
-0.0018551533576101065,
-0.007363714277744293,
0.061754677444696426,
-0.040550217032432556,
0.007937449030578136,
0.018539680168032646,
-0.048667844384908676,
0.10939833521842957,
0.01512572355568409,
-0.08580410480499268,
0.014613630250096321,
-0.03926049917936325,
0.009483212605118752,
-0.05230939760804176,
-0.08466611802577972,
0.04495042562484741,
-0.055078499019145966,
0.08762488514184952,
0.03641553595662117,
-0.024466687813401222,
-0.015637816861271858,
-0.04718846455216408,
0.003174505429342389,
-0.04616427794098854,
0.029815219342708588,
-0.047491926699876785,
0.025547774508595467,
-0.003470855765044689,
0.022228648886084557,
-0.02073030173778534,
-0.033001579344272614,
0.004402581136673689,
-0.013001483865082264,
0.02526327781379223,
0.06156501546502113,
0.035144783556461334,
-0.025377076119184494,
-0.027956509962677956,
0.0019132380839437246,
-0.04419177025556564,
-0.05409224331378937,
-0.019687149673700333,
0.04551941901445389,
-0.011778149753808975,
0.029094494879245758,
0.024580486118793488,
-0.018084485083818436,
0.05754413083195686,
0.039184633642435074,
0.04813678562641144,
-0.03907083347439766,
-0.00612141378223896,
-0.026059867814183235,
0.004393097944557667,
-0.028904831036925316,
-0.05731653422117233,
-0.021052731201052666,
0.057923462241888046,
0.06293059885501862,
-0.024599453434348106,
0.11539173126220703,
0.02808927558362484,
0.004623066168278456,
0.044836629182100296,
-0.012688538059592247,
0.015732649713754654,
-0.008776713162660599,
0.022001052275300026,
-0.09854954481124878,
0.014850710518658161,
-0.0965011715888977,
0.03150323033332825,
0.05003342777490616,
0.048212651163339615,
0.020616503432393074,
0.04635394364595413,
0.08239015191793442,
0.03186359256505966,
-0.0082219447940588,
0.06414444744586945,
0.014964508824050426,
0.011095358058810234,
-0.045329753309488297,
-0.07009990513324738,
0.014092053286731243,
0.024447720497846603,
0.02071133628487587,
-0.02258901111781597,
-0.015637816861271858,
0.05098174884915352,
-0.02334766834974289,
-0.01332391332834959,
0.01714564859867096,
-0.04445729777216911,
0.02048373781144619,
-0.03673796355724335,
-0.02905656211078167,
0.005059293936938047,
0.023992527276277542,
-0.006974902469664812,
-0.03800871595740318,
-0.03025144711136818,
-0.06634455174207687,
0.022532112896442413,
-0.04927477240562439,
0.0028734132647514343,
0.01786637119948864,
0.032034292817115784,
0.014442932792007923,
0.027084054425358772,
-0.056975141167640686,
0.013523060828447342,
-0.04210546240210533,
-0.03624483942985535,
0.0039047126192599535,
0.002631591400131583,
-0.00850170012563467,
0.027425449341535568,
0.013741174712777138,
0.03857770934700966,
0.015590401366353035,
0.004701302386820316,
-0.03457579389214516,
0.011114324443042278,
-0.008847837336361408,
0.014879160560667515,
0.0006490073283202946,
0.011019492521882057,
0.007890032604336739,
0.011455720290541649,
-0.04331931471824646,
-0.0035490922164171934,
0.011303989216685295,
-0.01999061182141304,
0.07499324530363083,
-0.03049801103770733,
0.013883423060178757,
0.04790918901562691,
0.008719814009964466,
-0.014196368865668774,
-0.003565687919035554,
0.004464222118258476,
-0.022702809423208237,
-0.011199673637747765,
-0.05014722794294357,
-0.06027529761195183,
0.040815744549036026,
0.07681401818990707,
-0.043471045792102814,
-0.014964508824050426,
-0.0014058862579986453,
0.013115283101797104,
0.07533463835716248,
0.012783369980752468,
0.08041764050722122,
-0.0336274728178978,
-0.04529182240366936,
0.025832271203398705,
0.05124728009104729,
-0.001219778205268085,
-0.06145121529698372,
0.03783801570534706,
-0.08914219588041306,
0.03004281595349312,
0.008037022314965725,
-0.04134680703282356,
0.03258431702852249,
-0.06494104117155075,
-0.0053912061266601086,
-0.048705779016017914,
-0.009198715910315514,
-0.02355629950761795,
-0.009729775600135326,
0.008008573204278946,
-0.04696086794137955,
0.04077781364321709,
0.005182575434446335,
0.0254339762032032,
0.03218602389097214,
0.03548618033528328,
-0.004222400486469269,
0.0008629723452031612,
0.0027525024488568306,
0.0461263433098793,
-0.012347142212092876,
-0.018283633515238762,
0.02619263157248497,
-0.006481775548309088,
0.05689927563071251,
0.01883365958929062,
-0.02693232335150242,
-0.05458537116646767,
0.02805134281516075,
-0.037041425704956055,
0.02213381789624691,
-0.006145121529698372,
0.0319015271961689,
-0.07370352745056152,
-0.023158004507422447,
0.0055002630688250065,
-0.004741606302559376,
0.02120446227490902,
-0.0027667272370308638,
-0.0032574834767729044,
0.021014798432588577,
0.02784271165728569,
0.05261286348104477,
0.036567267030477524,
-0.034651659429073334,
-0.029170360416173935,
0.0341205969452858,
0.01953541673719883,
0.07165515422821045,
0.03967776149511337,
-0.013504094444215298,
-0.016377508640289307,
-0.030365245416760445,
-0.03167393058538437,
0.06425824761390686,
0.016519755125045776,
-0.027235785499215126,
0.03874840587377548,
-0.022304516285657883,
-0.005135159473866224,
0.03948809579014778,
-0.007890032604336739,
-0.04312964901328087,
-0.023670097813010216,
-0.09035604447126389,
-0.010374634526669979,
0.019440585747361183,
0.009928923100233078,
-0.054168108850717545,
-0.046543605625629425,
0.020787201821804047,
0.026363329961895943,
0.004300636705011129,
-0.024599453434348106,
-0.029872119426727295,
0.01817931793630123,
-0.0034210688900202513,
0.00678523862734437,
-0.039601895958185196,
0.014243785291910172,
-0.0027667272370308638,
0.1076534241437912,
-0.04278825223445892,
-0.03167393058538437,
0.0049170455895364285,
0.05644407868385315,
-0.006401168182492256,
-0.017999136820435524,
0.0428641214966774,
0.042939987033605576,
-0.06361338496208191,
-0.02118549682199955,
0.004751089494675398,
-0.014423966407775879,
0.011493653059005737,
-0.016415441408753395,
0.007961156778037548,
0.027027154341340065,
-0.005400689318776131,
-0.011455720290541649,
-0.0037838018033653498,
-0.025547774508595467,
0.05894764885306358,
-0.03311537578701973,
-0.0006999796023592353,
-0.02423909120261669,
-0.0012766774743795395,
0.004864887800067663,
0.08117629587650299,
-0.013200631365180016,
-0.0133333969861269,
0.0238028634339571,
0.0039971740916371346,
0.04100541025400162,
-0.04290205240249634,
-0.0557992197573185,
0.012688538059592247,
-0.026078833267092705,
0.0032219213899224997,
-0.04502629116177559,
0.008331001736223698,
-0.03542928025126457,
0.046050477772951126,
-0.016377508640289307,
-0.0023150891065597534,
0.01603611186146736,
0.011948847211897373,
0.004551941994577646,
-0.005410172510892153,
-0.05454743653535843,
0.05219560116529465,
0.033437807112932205,
0.04900924116373062,
0.006742564029991627,
0.04430556669831276,
-0.03135149925947189,
-0.03121873550117016,
0.0341205969452858,
0.012821302749216557,
0.07362765818834305,
-0.05401637777686119,
0.025415008887648582,
-0.048933375626802444,
0.005808467511087656,
-0.06486517190933228,
0.005476555321365595,
0.005476555321365595,
-0.005448105279356241,
-0.011863498948514462,
0.007961156778037548,
-0.03385506942868233,
0.026609893888235092,
-0.007591311354190111,
-0.05371291562914848,
0.0064296177588403225,
0.011702284216880798,
0.003819363657385111,
0.036529332399368286,
0.012100579217076302,
0.022456247359514236,
0.03377920389175415,
-0.0650927722454071,
-0.004535346291959286,
0.034594759345054626,
-0.03002385050058365,
0.024409787729382515,
-0.026249531656503677,
-0.059175245463848114,
-0.01916557177901268,
-0.06213400885462761,
-0.032982613891363144,
-0.007321040146052837,
-0.03135149925947189,
0.004307749215513468,
0.05215766653418541,
0.026970256119966507,
-0.024125292897224426,
-0.026723692193627357,
0.028942763805389404,
0.017183581367135048,
-0.0837557315826416,
0.0341205969452858,
-0.03258431702852249,
0.020768234506249428,
-0.003710306715220213,
-0.0657755583524704,
-0.013200631365180016,
-0.08527304232120514,
0.036756932735443115,
-0.08542477339506149,
0.057506199926137924,
-0.04919890686869621,
-0.01704133301973343,
-0.015580917708575726,
0.025889169424772263,
0.06793773174285889,
-0.01475587859749794,
-0.023916661739349365,
0.009260356426239014,
-0.030896306037902832,
0.0814797580242157,
0.0366431325674057,
-0.0014639708679169416,
-0.012423007749021053,
-0.016728386282920837,
-0.00570889376103878,
-0.017809472978115082,
-0.042712386697530746,
0.040322620421648026,
0.019032808020710945,
0.007150342222303152,
0.01920350454747677,
0.0110858753323555,
0.005704152397811413,
-0.008615498431026936,
0.030365245416760445,
-0.020806167274713516,
-0.03220498934388161,
0.032261889427900314,
0.018681928515434265,
-0.003698452841490507,
-0.02664782665669918,
-0.04123300686478615,
0.0018598950700834394,
-0.006799463182687759,
-0.012394558638334274,
0.0870179533958435,
0.014092053286731243,
0.01669045351445675,
0.04627807438373566,
0.014879160560667515,
-0.0070697348564863205,
-0.02736855112016201,
0.002345909597352147,
0.0041370512917637825,
0.029397958889603615,
0.02164069004356861,
-0.01949748396873474,
0.019933711737394333,
-0.011948847211897373,
0.061754677444696426,
-0.02524431049823761,
0.010621197521686554,
0.023897694423794746,
-0.00037992119905538857,
0.024466687813401222,
0.044115904718637466,
0.0025746922474354506,
-0.029113462194800377,
-0.03503098711371422,
0.04752986133098602,
-0.06907571852207184,
0.036510366946458817,
0.014566213823854923,
0.03542928025126457,
0.016832701861858368,
0.0015007182955741882,
0.010621197521686554
] |
725,566 | syne_tune.tuner | save | null | def save(self, folder: Optional[str] = None):
if folder is None:
tuner_serialized_path = self.tuner_path / ST_TUNER_DILL_FILENAME
else:
tuner_serialized_path = Path(folder) / ST_TUNER_DILL_FILENAME
with open(tuner_serialized_path, "wb") as f:
logger.debug(f"saving tuner in {tuner_serialized_path}")
dill.dump(self, f)
self.trial_backend.on_tuner_save() # callback
| (self, folder: Optional[str] = None) | [
0.04855712503194809,
0.027054259553551674,
-0.054389603435993195,
0.03480161726474762,
-0.010171699337661266,
-0.047678738832473755,
-0.04662467911839485,
0.0015042343875393271,
-0.022240709513425827,
0.04785441607236862,
-0.025174515321850777,
-0.007909857667982578,
-0.01619742065668106,
0.03076104447245598,
0.04044084623456001,
-0.006153087131679058,
-0.055232852697372437,
-0.003445465350523591,
-0.00905614998191595,
0.030146174132823944,
-0.027423180639743805,
0.0019148794235661626,
0.0325002484023571,
0.041600316762924194,
0.02303125523030758,
0.04824090749025345,
0.007672693580389023,
0.006939242128282785,
-0.07107891887426376,
0.035521890968084335,
0.027616426348686218,
-0.0693221464753151,
0.003673845436424017,
0.05091119930148125,
-0.0327637605369091,
-0.017075804993510246,
-0.03590838238596916,
0.04001922160387039,
-0.12459013611078262,
-0.014115647412836552,
-0.011216976679861546,
-0.003838542615994811,
0.030146174132823944,
0.0025012013502418995,
-0.0006999630713835359,
0.003968104254454374,
-0.008893649093806744,
-0.026773177087306976,
0.03907056525349617,
0.019956909120082855,
-0.03611919283866882,
0.004396317061036825,
-0.08643309026956558,
0.030181311070919037,
-0.06176803633570671,
-0.0004098215140402317,
0.02947860211133957,
0.030497528612613678,
-0.0005089143523946404,
0.005296661984175444,
-0.011796711012721062,
-0.04683548957109451,
0.07107891887426376,
0.00784837082028389,
-0.0068865385837852955,
0.002971137408167124,
-0.06844376027584076,
0.04082733765244484,
-0.00917034037411213,
0.04462195932865143,
0.010233186185359955,
-0.09535747766494751,
0.03575026988983154,
0.03885975480079651,
-0.002376031596213579,
0.005314229521900415,
-0.020009610801935196,
-0.062330204993486404,
-0.027844805270433426,
0.01137508638203144,
0.014827139675617218,
-0.01417713426053524,
0.017541348934173584,
-0.015863634645938873,
-0.04405979439616203,
-0.03566243126988411,
0.05126255005598068,
0.004993618931621313,
-0.060678839683532715,
-0.041811127215623856,
0.017831215634942055,
-0.0037221566308289766,
0.008520334959030151,
0.04827604070305824,
-0.06510590016841888,
-0.07153567671775818,
-0.021397460252046585,
-0.008665268309414387,
-0.05751665309071541,
-0.005542609840631485,
-0.03318538889288902,
0.0038012112490832806,
-0.006917282473295927,
-0.024067750200629234,
0.021783949807286263,
-0.00020669498189818114,
-0.005806125234812498,
-0.01489741075783968,
-0.04557061567902565,
0.01983393356204033,
-0.03587324544787407,
0.03364214673638344,
-0.013166991993784904,
0.028898868709802628,
0.006926066242158413,
0.013052801601588726,
-0.011041300371289253,
0.028178593143820763,
-0.018410950899124146,
-0.009987237863242626,
-0.013491994701325893,
0.06640590727329254,
-0.07652490586042404,
0.05730583891272545,
-0.011954820714890957,
0.01396632194519043,
0.0858006551861763,
0.09971427172422409,
-0.017172427847981453,
0.007360866758972406,
0.05147336423397064,
0.054811228066682816,
-0.01816500350832939,
0.008876080624759197,
0.03826245293021202,
0.021239349618554115,
0.0181122999638319,
-0.009793993085622787,
-0.025982629507780075,
0.017365671694278717,
0.0012912260135635734,
-0.017189996317029,
0.05783287063241005,
-0.025279922410845757,
0.06141668185591698,
0.056357186287641525,
-0.06085451692342758,
0.0033949583303183317,
-0.0075014084577560425,
-0.032219164073467255,
0.007294987794011831,
-0.004468783736228943,
0.018410950899124146,
0.003919793292880058,
-0.02809075452387333,
-0.020870428532361984,
-0.03488945588469505,
0.0596950463950634,
-0.04226788878440857,
-0.03380025550723076,
0.010593323968350887,
-0.0027076220139861107,
0.00469057634472847,
0.037173256278038025,
-0.030234012752771378,
-0.007154446095228195,
-0.035732705146074295,
0.07079783827066422,
0.007167621981352568,
0.00808553397655487,
0.06809240579605103,
-0.034573234617710114,
-0.1097629964351654,
0.03153402358293533,
-0.08390334248542786,
0.05526798591017723,
0.041389502584934235,
-0.035047564655542374,
0.06591401249170303,
0.047503065317869186,
0.007062215823680162,
0.0242434274405241,
-0.006438562646508217,
0.05688421428203583,
0.01700553484261036,
-0.05031389743089676,
-0.044376011937856674,
0.02104610577225685,
-0.013843348249793053,
0.02484072931110859,
0.06204912066459656,
0.04753819853067398,
-0.0035025603137910366,
-0.049540918320417404,
-0.016021743416786194,
-0.016258906573057175,
0.057692330330610275,
-0.06904106587171555,
-0.049435511231422424,
0.03005833551287651,
0.0452895313501358,
0.025929925963282585,
0.03459080308675766,
-0.00372435268945992,
-0.010391294956207275,
-0.027212368324398994,
-0.0003960967587772757,
-0.0250515416264534,
0.023839369416236877,
0.027792103588581085,
0.053757164627313614,
0.024770459160208702,
-0.033167820423841476,
0.01300009898841381,
0.06032748520374298,
-0.09887102246284485,
0.015222412534058094,
0.05786800757050514,
0.019851502031087875,
0.004554426297545433,
-0.040967877954244614,
0.013491994701325893,
-0.051157146692276,
0.01950014755129814,
-0.04391925409436226,
-0.02914481610059738,
0.04142463952302933,
-0.07870329916477203,
-0.021889355033636093,
-0.053054455667734146,
-0.005397676024585962,
-0.04177599400281906,
-0.02628128044307232,
-0.03508269786834717,
-0.01988663710653782,
0.06798700243234634,
-0.03348403796553612,
-0.08081142604351044,
-0.028740758076310158,
-0.04307600110769272,
0.03815704584121704,
-0.06134641170501709,
-0.041811127215623856,
0.007106135133653879,
0.02803805097937584,
0.01244671642780304,
0.014739301055669785,
-0.03390566259622574,
0.0008608173229731619,
0.005366932600736618,
0.06464914232492447,
-0.02643938921391964,
-0.005068281665444374,
0.0794060081243515,
0.019271768629550934,
-0.026193441823124886,
-0.03425701707601547,
0.024805594235658646,
0.029865091666579247,
-0.006592279765754938,
-0.03343133628368378,
-0.0197285283356905,
-0.0359610840678215,
0.01596025563776493,
-0.011392653919756413,
0.02654479630291462,
0.014774436131119728,
-0.03618946298956871,
0.06735456734895706,
-0.03529351204633713,
0.03787596523761749,
0.08397360891103745,
-0.06731943041086197,
-0.007721004541963339,
-0.021836651489138603,
0.005186863709241152,
0.016452152281999588,
0.03682190179824829,
-0.02851237915456295,
-0.048311177641153336,
0.03488945588469505,
0.004848685581237078,
0.055092308670282364,
-0.0017666519852355123,
0.007264244370162487,
0.01993934065103531,
-0.0029250222723931074,
-0.006750389002263546,
0.026351550593972206,
-0.006113559938967228,
0.01036494318395853,
0.016443368047475815,
0.04564088582992554,
0.04658954218029976,
0.04251383617520332,
0.013123072683811188,
-0.0719573050737381,
-0.016179852187633514,
0.051192279905080795,
-0.03699757903814316,
-0.037700287997722626,
-0.019324470311403275,
0.03553945943713188,
0.046554408967494965,
-0.020554210990667343,
0.02707182802259922,
-0.012692663818597794,
-0.016996750608086586,
0.00425138371065259,
0.018779871985316277,
-0.002220118185505271,
-0.02355828694999218,
0.030497528612613678,
0.04673008620738983,
0.045535482466220856,
-0.038367860019207,
0.012218335643410683,
-0.008577429689466953,
-0.024278562515974045,
-0.0008943057619035244,
0.019816366955637932,
0.04971659556031227,
-0.04219761863350868,
-0.007409177720546722,
0.015889985486865044,
-0.037594880908727646,
0.010101428255438805,
0.027844805270433426,
0.00009284804400522262,
-0.05431933328509331,
-0.01647850312292576,
-0.02382180280983448,
0.04434087872505188,
-0.008353441953659058,
0.03176240250468254,
0.019710959866642952,
0.04465709626674652,
-0.003570635337382555,
0.05751665309071541,
0.04374357685446739,
0.045535482466220856,
-0.006271669175475836,
-0.029566440731287003,
0.01913122646510601,
0.016891345381736755,
0.08053033798933029,
-0.06166262924671173,
-0.014783220365643501,
-0.008546686731278896,
0.03246511146426201,
-0.04430574178695679,
-0.008261211216449738,
-0.023119093850255013,
0.03439755737781525,
0.014914978295564651,
-0.06939242035150528,
0.03225429728627205,
0.029812388122081757,
-0.03692730888724327,
-0.05003281310200691,
-0.06598428636789322,
0.024015046656131744,
-0.009100069291889668,
0.010935894213616848,
0.0810222402215004,
-0.036962442100048065,
-0.032324571162462234,
-0.01667174883186817,
0.05034903064370155,
-0.029338059946894646,
0.04300573095679283,
-0.024612348526716232,
-0.013491994701325893,
0.010048724710941315,
0.042338158935308456,
0.0005676563596352935,
0.01523998100310564,
0.011550763621926308,
-0.010997381061315536,
0.030146174132823944,
0.014221053570508957,
0.011585898697376251,
0.02787994220852852,
0.00017375554307363927,
0.09929264336824417,
-0.004358985926955938,
0.00503753824159503,
0.013632535934448242,
-0.0091966912150383,
-0.026263713836669922,
0.014721733517944813,
0.04395438730716705,
-0.027809670194983482,
0.0314461849629879,
-0.014958897605538368,
0.036751631647348404,
-0.07427623867988586,
0.008300738409161568,
-0.022715037688612938,
0.050173353403806686,
-0.008186548948287964,
-0.10329808294773102,
-0.0714302733540535,
0.04950578138232231,
0.02872319146990776,
-0.02030826173722744,
0.02909211255609989,
0.018621763214468956,
0.025332624092698097,
-0.04237329587340355,
-0.006245317868888378,
0.05003281310200691,
0.030936721712350845,
0.015582551248371601,
0.00459834560751915,
0.04420033469796181,
-0.05474095791578293,
0.022732604295015335,
0.01667174883186817,
0.03847326338291168,
-0.03633000701665878,
0.060046400874853134,
0.03430971875786781,
0.02600019797682762,
0.01787513494491577,
0.012921043671667576,
0.03724352642893791,
0.01572309248149395,
-0.005722678732126951,
0.04023003578186035,
0.04669494926929474,
-0.007136878557503223,
-0.05456528067588806,
-0.013500778004527092,
0.03534621372818947,
0.0044446284882724285,
-0.03213132545351982,
-0.07961682230234146,
-0.04599224030971527,
-0.021977193653583527,
0.02062448114156723,
-0.04739765822887421,
0.022767741233110428,
-0.00932844914495945,
0.028688056394457817,
-0.03151645511388779,
-0.032746195793151855,
0.0047432794235646725,
0.023628557100892067,
-0.03160429373383522,
-0.02169611118733883,
-0.029917795211076736,
0.02072988636791706,
0.0004789943341165781,
0.027458317577838898,
0.008428104221820831,
-0.026474526152014732,
-0.06257615238428116,
0.004721319768577814,
-0.052738238126039505,
-0.00959196500480175,
-0.028529945760965347,
0.029004273936152458,
0.024260995909571648,
0.043040867894887924,
-0.005011186935007572,
-0.02995293028652668,
0.007760531734675169,
-0.005195647478103638,
-0.001493254560045898,
-0.006851403508335352,
0.015283900313079357,
0.011225760914385319,
-0.016733234748244286,
0.004088882356882095,
0.043357085436582565,
-0.044376011937856674,
-0.01928933523595333,
-0.03724352642893791,
-0.0038978336378932,
0.03987868130207062,
-0.02248665690422058,
-0.014950113371014595,
0.03791109845042229,
-0.00041915435576811433,
0.0447625033557415,
-0.05301932245492935,
0.046659812331199646,
0.020765023306012154,
0.017418375238776207,
-0.03315025195479393,
0.0005415792693383992,
-0.060468025505542755,
-0.056146372109651566,
-0.019166361540555954,
0.008520334959030151,
-0.026527227833867073,
0.034467827528715134,
-0.00837100949138403,
-0.021450163796544075,
0.013641320168972015,
-0.05853557959198952,
-0.039140839129686356,
-0.02159070409834385,
0.00102990644518286,
-0.03202591836452484,
-0.05368689447641373,
0.024594781920313835,
-0.03780569136142731,
0.07933573424816132,
-0.026825878769159317,
-0.0066142394207417965,
-0.02132718823850155,
0.015073087066411972,
0.019254200160503387,
0.016654180362820625,
-0.011348734609782696,
0.017550133168697357,
-0.03657595440745354,
0.04342735558748245,
-0.05793827772140503,
-0.010962245054543018,
0.059554506093263626,
-0.0037419202271848917,
-0.014748085290193558,
-0.020817724987864494,
-0.016777154058218002,
-0.026667769998311996,
-0.004038375336676836,
0.01348321046680212,
0.026896150782704353,
0.028635352849960327,
0.07062216103076935,
0.013386588543653488,
0.04413006454706192,
0.019148794934153557,
0.04339222237467766,
-0.01763797178864479,
-0.015600118786096573,
-0.02942589856684208,
-0.010259537026286125,
-0.06802213937044144,
-0.008129453286528587,
-0.05990586057305336,
0.010883190669119358,
-0.010268321260809898,
-0.03309755027294159,
-0.03650568425655365,
0.063946433365345,
0.02643938921391964,
0.029461035504937172,
0.004260167479515076,
0.014141999185085297,
-0.008520334959030151,
0.017567701637744904,
-0.05403824895620346,
0.00823925156146288,
0.033817823976278305,
0.06103019416332245,
0.0036255342420190573,
-0.08713579922914505,
-0.013992673717439175,
0.01217441726475954,
0.03896516188979149,
0.08910337835550308,
-0.008941959589719772,
-0.0036299261264503,
-0.014748085290193558,
-0.03357187658548355,
0.0020971442572772503,
0.05684908106923103,
0.009258178062736988,
0.03668136149644852,
-0.04258410632610321,
-0.010470349341630936,
0.02824886329472065,
-0.014985249377787113,
0.02201232872903347,
-0.055724747478961945,
-0.03878948464989662,
-0.01095346175134182,
0.05389770492911339,
0.007189581636339426,
0.01321969460695982,
0.0004089980502612889,
0.0009102264884859324,
0.040159765630960464,
-0.01726905070245266,
-0.08762769401073456,
0.045113857835531235,
0.01054940465837717,
0.062330204993486404,
-0.008313914760947227,
-0.0314461849629879,
0.03854353725910187,
-0.01518727745860815,
0.010022373870015144,
-0.06429778784513474,
0.04588683322072029,
-0.0019818563014268875,
-0.008133845403790474,
0.01300009898841381,
-0.03532864525914192,
-0.0002408696454949677,
0.012885908596217632,
-0.015635253861546516,
-0.03608405962586403,
0.055303122848272324,
-0.017444727942347527,
-0.025069110095500946,
-0.05783287063241005,
-0.004699360113590956,
0.01582849770784378,
-0.004826725926250219,
0.0226447656750679,
0.013667671009898186,
0.03162186220288277,
-0.03102456033229828,
-0.016214987263083458,
0.043462492525577545,
-0.0035772230476140976,
0.016258906573057175,
-0.007734180428087711,
0.00008783850353211164,
-0.0186568982899189,
-0.07589247077703476,
-0.022767741233110428,
0.021678542718291283,
0.031463753432035446,
-0.08390334248542786,
-0.015310251154005527,
-0.012789286673069,
0.02132718823850155,
-0.0463787317276001,
-0.006868971046060324,
-0.039035432040691376,
-0.02259206399321556,
-0.04430574178695679,
-0.008577429689466953,
-0.02717723324894905,
-0.014264972880482674,
0.09577910602092743,
0.04595710709691048,
-0.01609201356768608,
-0.005634840112179518,
-0.0013702806318178773,
-0.02953130565583706,
0.011313599534332752,
-0.030128607526421547,
-0.0006357312086038291,
-0.06436805427074432,
-0.017857568338513374,
-0.005402068141847849,
0.020554210990667343,
0.02942589856684208,
0.012631176970899105,
0.09064933657646179,
0.00986426416784525,
-0.0012319349916651845,
0.00490578031167388,
-0.027581291273236275,
0.01647850312292576,
-0.00994331855326891,
-0.060573432594537735,
-0.031217804178595543,
0.05899234116077423,
-0.03745433688163757,
0.030181311070919037,
0.006860187277197838,
-0.03443269431591034,
-0.039035432040691376,
-0.022451521828770638,
0.0008114082156680524,
-0.034502964466810226,
-0.0078000593930482864,
-0.01818257011473179,
0.01116427406668663,
-0.05695448815822601,
0.05681394413113594,
-0.053054455667734146,
-0.07617355138063431,
-0.007273028139024973,
0.028055619448423386,
-0.049330104142427444,
-0.010321024805307388,
0.0410381481051445,
-0.027528587728738785,
0.026158306747674942,
0.04574629291892052,
0.007584854960441589,
-0.043778710067272186,
-0.007079783361405134,
-0.022293413057923317,
-0.04497331380844116,
0.018885279074311256,
-0.020712319761514664,
0.08811958879232407,
-0.0010436312295496464,
-0.03564486652612686,
-0.0863628163933754,
0.005595312919467688,
-0.0415651798248291,
0.0069612013176083565,
0.012710231356322765,
0.020958267152309418,
0.020273126661777496,
-0.012209552340209484,
-0.013860915787518024,
-0.03592594712972641,
-0.04251383617520332,
0.046449001878499985,
0.007018296513706446,
-0.00608720863237977,
0.014625110663473606,
-0.007584854960441589,
-0.04184626415371895,
-0.029865091666579247,
-0.008458848111331463,
0.01640823297202587,
-0.02675560861825943,
-0.0426543764770031,
-0.029496170580387115,
0.017857568338513374,
0.030743476003408432,
0.02148529887199402,
0.003366410732269287,
0.004033983219414949,
-0.00880581047385931,
0.043146274983882904,
0.01761162094771862,
-0.014317676424980164,
0.03257051855325699,
-0.02046637237071991,
0.01156833115965128,
-0.010136563330888748,
0.023488016799092293,
0.044376011937856674,
0.022715037688612938,
0.04300573095679283,
0.01033859234303236,
0.0426192432641983,
0.02770426496863365,
0.053054455667734146,
-0.004495135508477688,
0.041811127215623856,
0.04360303282737732,
0.024717755615711212,
-0.004385337233543396,
-0.035732705146074295,
-0.0025648842565715313,
0.04268951341509819,
0.0028020483441650867,
0.02159070409834385,
0.06837349385023117,
0.03425701707601547,
-0.0012396208476275206,
0.07933573424816132,
-0.030884018167853355,
0.0378408282995224,
0.001076570712029934,
-0.0022135302424430847,
-0.07680598646402359,
0.051824718713760376,
-0.043673302978277206,
-0.01374672632664442,
0.05308959260582924,
-0.006675726268440485,
-0.06528157740831375
] |
725,573 | syne_tune | read_version | null | def read_version():
with open(Path(__file__).parent / "version", "r") as f:
return f.readline().strip().replace('"', "")
| () | [
0.0448104552924633,
-0.008738039061427116,
0.011547310277819633,
0.01949254795908928,
0.0497051365673542,
-0.04429341107606888,
0.02812717854976654,
0.021560722962021828,
0.026817334815859795,
-0.027230968698859215,
0.025317907333374023,
-0.0051101152785122395,
-0.0686289370059967,
0.04153584688901901,
0.03998471423983574,
-0.007686716970056295,
0.042087361216545105,
0.029057856649160385,
0.015692276880145073,
0.009401578456163406,
-0.01321046706289053,
-0.034366171807050705,
-0.059839192777872086,
0.009841065853834152,
0.00627346383407712,
0.024783629924058914,
0.04294909909367561,
0.0025464403443038464,
-0.01650231145322323,
-0.07093840092420578,
-0.01219361461699009,
-0.021060913801193237,
0.035951774567365646,
0.02845463901758194,
0.003867056220769882,
0.014977033250033855,
0.02397359348833561,
-0.07307551056146622,
-0.07190354913473129,
-0.00662677688524127,
0.03657222539186478,
0.023301437497138977,
0.026145176962018013,
-0.04953278973698616,
-0.023249732330441475,
-0.028075475245714188,
-0.007316168863326311,
-0.040501758456230164,
-0.00962563045322895,
0.031177736818790436,
0.07100734114646912,
0.014865007251501083,
-0.014615102671086788,
0.004580145701766014,
-0.02137114107608795,
-0.022284584119915962,
0.032746102660894394,
-0.015907712280750275,
-0.036813512444496155,
0.09217166155576706,
-0.0017267105868086219,
-0.017941417172551155,
-0.01344313658773899,
-0.028437405824661255,
0.01250384096056223,
0.035158973187208176,
0.05584072321653366,
-0.041466906666755676,
0.007217068690806627,
-0.02276715822517872,
0.038605932146310806,
0.016950417309999466,
-0.0644925907254219,
-0.01489085890352726,
0.011676570400595665,
-0.023094620555639267,
-0.04911915585398674,
0.0062346854247152805,
0.005653011612594128,
-0.016571251675486565,
-0.0020250878296792507,
-0.029178500175476074,
0.02219841070473194,
-0.05377254635095596,
-0.003925223834812641,
-0.02647263929247856,
0.06855999678373337,
0.00670002494007349,
-0.04994642361998558,
0.05408277362585068,
-0.02924744039773941,
0.024163177236914635,
-0.05539261922240257,
0.06490622460842133,
0.03147072717547417,
-0.05746079236268997,
0.06280358135700226,
-0.01828611269593239,
0.007686716970056295,
0.012038501910865307,
-0.011754127219319344,
0.04811953753232956,
-0.058839574456214905,
-0.0021952814422547817,
-0.040294941514730453,
0.01551131159067154,
-0.022887801751494408,
0.025938360020518303,
0.026059003546833992,
-0.07666034996509552,
-0.032746102660894394,
-0.055771782994270325,
-0.04877445846796036,
0.017993122339248657,
0.04811953753232956,
0.01234011072665453,
-0.046982038766145706,
0.02538684755563736,
0.034538522362709045,
0.024318290874361992,
0.02933361381292343,
0.04143243655562401,
-0.03736502677202225,
0.018648043274879456,
0.021560722962021828,
0.019802775233983994,
-0.060666464269161224,
-0.0024020990822464228,
-0.010090970434248447,
-0.01680392026901245,
0.08300275355577469,
-0.011142292059957981,
0.026351995766162872,
-0.05708162859082222,
-0.017700130119919777,
-0.03626200184226036,
-0.008893151767551899,
0.026162412017583847,
-0.017346816137433052,
0.030557284131646156,
0.007204142399132252,
-0.02128496766090393,
0.0016706975875422359,
-0.08176184445619583,
-0.05029112100601196,
0.006807742174714804,
0.002835123101249337,
-0.0321945883333683,
-0.014356580562889576,
-0.02214670553803444,
0.09589437395334244,
-0.01234011072665453,
-0.00142294738907367,
-0.050670284777879715,
0.0015942181926220655,
-0.034486815333366394,
-0.015020119957625866,
-0.07852170616388321,
-0.010478752665221691,
-0.06693992763757706,
0.014959798194468021,
0.030298762023448944,
0.046154771000146866,
-0.047223325818777084,
-0.017579486593604088,
0.0413290299475193,
-0.002820042660459876,
-0.046189241111278534,
0.018079295754432678,
-0.0020153934601694345,
-0.02792036160826683,
0.022543106228113174,
-0.011986796744167805,
0.02131943590939045,
-0.010151292197406292,
0.02252587117254734,
0.0010868690442293882,
0.012133292853832245,
0.09251635521650314,
-0.006312242243438959,
-0.02854081429541111,
-0.025869421660900116,
0.005424650385975838,
0.038226764649152756,
0.03788207098841667,
0.0385025218129158,
0.016200702637434006,
-0.035158973187208176,
0.07900428026914597,
0.0008208068902604282,
0.0014014039188623428,
0.004172973800450563,
0.010323639959096909,
0.012167762033641338,
0.0026907818391919136,
-0.05139414593577385,
0.008259773254394531,
-0.011297405697405338,
0.02621411718428135,
-0.07562626153230667,
0.038433585315942764,
0.017243407666683197,
-0.007419577334076166,
-0.010142674669623375,
-0.017208939418196678,
-0.02700691670179367,
0.030798571184277534,
-0.0011547310277819633,
-0.04239758476614952,
0.0511183887720108,
0.007510059978812933,
-0.03300462290644646,
0.002290072850883007,
0.012004031799733639,
-0.02128496766090393,
-0.03943319991230965,
-0.020940270274877548,
-0.004315160680562258,
0.00692838616669178,
0.040915392339229584,
0.09086181968450546,
-0.003462038701400161,
0.038019947707653046,
0.03953661024570465,
0.014382433146238327,
-0.025335142388939857,
0.027368847280740738,
0.042087361216545105,
0.00887591764330864,
-0.016545400023460388,
0.01907891407608986,
-0.03571048751473427,
0.07259293645620346,
0.03305632993578911,
0.011745509691536427,
0.019061679020524025,
-0.07335127145051956,
0.013744745403528214,
0.05029112100601196,
-0.04667181521654129,
-0.02007853053510189,
-0.023663368076086044,
0.006286390125751495,
0.07431641966104507,
0.02119879238307476,
-0.04487939551472664,
-0.004937767516821623,
-0.0004766497004311532,
0.013494840823113918,
-0.04450023174285889,
0.03853699192404747,
-0.0010260086273774505,
0.02402529865503311,
0.03605518117547035,
0.03650328889489174,
0.0033263147342950106,
0.021836480125784874,
-0.07431641966104507,
0.011004414409399033,
0.017183085903525352,
0.01055630948394537,
-0.03376295417547226,
-0.037192679941654205,
-0.02671392634510994,
-0.010573544539511204,
-0.008315786719322205,
0.02874763123691082,
0.020854096859693527,
0.03798547759652138,
-0.024628516286611557,
0.02231905423104763,
0.028592517599463463,
-0.08693228662014008,
-0.06101116165518761,
-0.008432121016085148,
-0.10389132052659988,
0.0008143438608385623,
-0.006105424836277962,
0.048808928579092026,
0.008005560375750065,
-0.07204142957925797,
0.045568786561489105,
0.023301437497138977,
0.05294527858495712,
0.004269919358193874,
-0.014339346438646317,
-0.00017881095118355006,
-0.10885494202375412,
-0.0241459421813488,
0.030850276350975037,
0.023215264081954956,
-0.040915392339229584,
-0.0018592030974105,
-0.049670666456222534,
0.013348345644772053,
0.01273651048541069,
-0.016200702637434006,
0.004774037282913923,
0.023921890184283257,
-0.039640020579099655,
-0.005553911440074444,
-0.011228466406464577,
-0.07996942847967148,
0.010358109138906002,
-0.03605518117547035,
0.0009958477457985282,
0.023111853748559952,
-0.06507857143878937,
-0.023491019383072853,
-0.013115676119923592,
-0.04077751561999321,
0.024214880540966988,
0.03877827897667885,
0.02500768192112446,
-0.06780166923999786,
0.018320582807064056,
-0.03767525404691696,
0.008699260652065277,
0.042294178158044815,
-0.020923037081956863,
-0.019027208909392357,
0.09492922574281693,
0.07741867750883102,
0.00407387362793088,
-0.01692456379532814,
-0.02326696738600731,
-0.007501442916691303,
-0.018561869859695435,
0.016821155324578285,
0.04001918435096741,
0.010564927011728287,
0.013279406353831291,
0.008539838716387749,
0.038433585315942764,
0.05260058119893074,
-0.014572015963494778,
-0.000983998877927661,
-0.01254692766815424,
-0.0349176861345768,
-0.004280691035091877,
0.05990813300013542,
-0.05029112100601196,
-0.00028949062107130885,
-0.013615484349429607,
-0.03019535355269909,
0.034366171807050705,
0.08383002132177353,
-0.025731543079018593,
-0.012124675326049328,
-0.07252400368452072,
-0.014623720198869705,
-0.03166031092405319,
-0.041053272783756256,
-0.025369612500071526,
-0.05573731288313866,
-0.024662986397743225,
-0.019268495962023735,
-0.0006915460107848048,
0.0033241603523492813,
0.02630029059946537,
-0.10230571776628494,
-0.014468606561422348,
-0.020509401336312294,
0.015140763483941555,
-0.06259676069021225,
-0.03178095445036888,
-0.00042306026443839073,
0.02597283013164997,
0.024128707125782967,
0.045775603502988815,
-0.03140179067850113,
0.028816569596529007,
0.044775985181331635,
-0.05542708933353424,
-0.02131943590939045,
-0.045568786561489105,
-0.03265992924571037,
-0.016528164967894554,
-0.014132528565824032,
-0.0511183887720108,
-0.05790889635682106,
0.051876720041036606,
-0.040846455842256546,
-0.01863080821931362,
-0.04422447457909584,
-0.01990618370473385,
-0.05890851467847824,
-0.06263122707605362,
0.0007534835021942854,
0.008005560375750065,
-0.034693632274866104,
0.03953661024570465,
-0.0007028563413769007,
0.03198777139186859,
-0.018510164692997932,
0.040915392339229584,
0.014787450432777405,
-0.026731161400675774,
0.012452136725187302,
-0.014744363725185394,
-0.024404464289546013,
0.06059752404689789,
0.0011471908073872328,
-0.019389139488339424,
-0.007850447669625282,
-0.0336078405380249,
0.03028152696788311,
-0.005433267913758755,
-0.027903126552700996,
-0.043569549918174744,
-0.02857528254389763,
-0.004756802227348089,
0.024128707125782967,
-0.022077767178416252,
0.04539643973112106,
0.0009398346883244812,
0.03571048751473427,
-0.015614720992743969,
0.01705382578074932,
-0.008893151767551899,
0.00276402966119349,
0.059666845947504044,
-0.019440844655036926,
0.04398318752646446,
0.01234011072665453,
0.03166031092405319,
-0.007342020981013775,
0.038433585315942764,
0.034693632274866104,
0.038605932146310806,
0.03224629536271095,
-0.035813894122838974,
0.023284202441573143,
-0.00207356084138155,
-0.034159354865550995,
-0.044121064245700836,
0.01966489665210247,
0.008040029555559158,
-0.02535237744450569,
-0.0033155428245663643,
-0.030005771666765213,
0.03210841491818428,
0.048808928579092026,
0.02219841070473194,
0.024249350652098656,
0.03376295417547226,
-0.008841447532176971,
0.021353906020522118,
-0.005950311664491892,
-0.09258529543876648,
-0.09217166155576706,
-0.002600298961624503,
-0.05235929414629936,
-0.058805108070373535,
-0.00030699471244588494,
-0.023611662909388542,
-0.007350638508796692,
0.0181654691696167,
-0.00007304589234990999,
-0.01140943169593811,
-0.05239376425743103,
0.08127927035093307,
0.04439682140946388,
-0.01857910491526127,
0.03998471423983574,
-0.07590202242136002,
0.02671392634510994,
0.013942945748567581,
-0.034452345222234726,
0.0293680839240551,
0.026110708713531494,
-0.008987943641841412,
0.004774037282913923,
0.003186282003298402,
-0.011892005801200867,
0.03777866065502167,
-0.012650336138904095,
0.012159145437180996,
-0.016062825918197632,
-0.008858682587742805,
-0.055358149111270905,
0.018062060698866844,
-0.011805831454694271,
0.03322867676615715,
0.009953091852366924,
-0.015106294304132462,
-0.05439300090074539,
-0.028799336403608322,
0.003929532133042812,
-0.006238994188606739,
0.04256993532180786,
0.08065882325172424,
-0.024042533710598946,
-0.028851039707660675,
0.036399878561496735,
0.032418642193078995,
0.0044638109393417835,
0.04491386562585831,
0.05277292802929878,
0.022008828818798065,
-0.0286614578217268,
0.00346419308334589,
0.027196500450372696,
-0.035158973187208176,
-0.01969936676323414,
-0.030626224353909492,
-0.004289308562874794,
-0.01987171359360218,
0.07410959899425507,
-0.0033607841469347477,
0.0127795971930027,
-0.030798571184277534,
0.014287641271948814,
0.028178883716464043,
0.01472712866961956,
0.01173689216375351,
-0.02535237744450569,
0.0903792455792427,
0.0321945883333683,
0.030626224353909492,
-0.04032941162586212,
-0.0370892696082592,
0.01618346944451332,
-0.036158591508865356,
-0.04711991921067238,
-0.054737694561481476,
-0.011047501116991043,
-0.02854081429541111,
0.0015468224883079529,
0.024525107815861702,
0.005700407084077597,
0.01609729416668415,
0.0047395676374435425,
-0.0016987040871754289,
-0.01795865222811699,
-0.01792418211698532,
-0.030712397769093513,
0.02326696738600731,
-0.021922653540968895,
-0.030764101073145866,
0.015063207596540451,
-0.05056687816977501,
0.010711422190070152,
0.009866917505860329,
-0.03326314687728882,
0.044741518795490265,
0.021147089079022408,
0.0013378506992012262,
-0.0035719103179872036,
0.0007454046863131225,
-0.027144795283675194,
0.0020897183567285538,
0.030833041295409203,
-0.08741486072540283,
0.03016088344156742,
-0.007604851387441158,
-0.03422829508781433,
-0.002302998909726739,
-0.025490256026387215,
-0.022301819175481796,
0.017906947061419487,
0.02152625471353531,
0.029350848868489265,
0.04581007361412048,
-0.03622753173112869,
0.013761980459094048,
-0.03550367057323456,
-0.00736356433480978,
0.030833041295409203,
0.028730396181344986,
0.048429761081933975,
0.018872095271945,
0.12629655003547668,
-0.020061297342181206,
-0.017700130119919777,
-0.0012721429811790586,
0.05056687816977501,
0.05418618395924568,
0.044362351298332214,
0.04219076782464981,
0.029919596388936043,
-0.05528920888900757,
0.011607632040977478,
0.022250115871429443,
-0.006062337663024664,
0.03770972415804863,
0.022077767178416252,
0.07024900615215302,
0.0655956119298935,
-0.019027208909392357,
-0.029505962505936623,
-0.05956343561410904,
0.0476369634270668,
0.004687862936407328,
0.01750192977488041,
-0.04060516878962517,
0.01086653582751751,
-0.03684798255562782,
0.013839537277817726,
0.01680392026901245,
-0.005627159029245377,
0.0072946250438690186,
0.05773654952645302,
-0.019354669377207756,
-0.027437787503004074,
0.0030096254777163267,
-0.019820010289549828,
-0.024507872760295868,
-0.024042533710598946,
0.04691310226917267,
0.01352069340646267,
-0.00852691289037466,
-0.07086946070194244,
-0.0670088678598404,
0.019182322546839714,
0.07928004115819931,
0.019837243482470512,
-0.07976261526346207,
0.003044094890356064,
-0.003102262271568179,
0.04729226604104042,
0.03833017498254776,
0.01421008538454771,
-0.0017170161008834839,
0.002789881778880954,
0.05442747101187706,
-0.023870185017585754,
0.03322867676615715,
-0.03236693888902664,
0.0024279511999338865,
0.035400260239839554,
-0.049670666456222534,
0.046982038766145706,
0.006570763885974884,
0.004752493463456631,
-0.020681748166680336,
0.003709788667038083,
-0.020974740386009216,
0.030384935438632965,
0.03384912759065628,
0.03512450307607651,
-0.006256229244172573,
0.0001072461818694137,
-0.014778832904994488,
-0.0019227563170716166,
0.008970708586275578,
-0.01580430381000042,
0.029523197561502457,
0.03722715005278587,
-0.02049216628074646,
0.0008396574412472546,
-0.001999235711991787,
0.03995024412870407,
0.03957108035683632,
-0.02488703839480877,
-0.0798315480351448,
0.04143243655562401,
0.03231523185968399,
-0.039260853081941605,
-0.003356475615873933,
0.006984399165958166,
0.009763509035110474,
-0.024869803339242935,
-0.0003780882398132235,
0.03767525404691696,
-0.03932979330420494,
-0.0012839919654652476,
0.0447070486843586,
0.021957123652100563,
-0.01771736517548561,
0.006419959478080273,
0.035951774567365646,
0.03410765156149864,
-0.011831684038043022,
-0.03939873352646828,
-0.05163543298840523,
0.044775985181331635,
0.058425940573215485,
0.04288015887141228,
0.027610134333372116,
0.051290739327669144,
0.019630426540970802,
-0.005958928726613522,
0.0010739428689703345,
-0.02393912523984909,
0.01344313658773899,
-0.031763721257448196,
0.10113375633955002,
0.027851421386003494,
-0.0007868758984841406,
-0.08658759295940399,
-0.005493589676916599,
-0.013994649983942509,
-0.03722715005278587,
0.009496369399130344,
-0.05904639512300491,
0.03888168931007385,
0.08638077229261398,
0.003214288502931595,
-0.005437576677650213,
0.06142479553818703,
-0.021147089079022408,
0.032625459134578705,
0.0321945883333683,
0.0007260155398398638,
0.0021737380884587765,
-0.08162397146224976,
-0.003912297543138266,
-0.10058224201202393,
0.024369994178414345,
0.017398521304130554,
-0.011986796744167805,
-0.008492442779242992,
-0.031057093292474747,
0.09699740260839462,
0.05846041068434715,
-0.08700122684240341,
0.03172925114631653,
-0.014865007251501083,
-0.012064353562891483,
-0.11306022852659225,
0.004998089279979467,
0.020061297342181206,
0.035572607070207596,
0.02049216628074646,
0.07521262764930725,
-0.025231733918190002,
-0.008177908137440681,
-0.008104660548269749,
0.04791271686553955,
-0.016398902982473373,
-0.04663734510540962,
-0.030591754242777824,
-0.01609729416668415,
0.006717259529978037,
0.023111853748559952,
0.015614720992743969,
0.000980767305009067,
0.06590583920478821,
-0.06049411743879318,
-0.006540603004395962,
0.05508239194750786,
-0.01990618370473385,
0.018975505605340004,
0.033866364508867264,
0.014908093959093094,
-0.015097676776349545,
0.017312347888946533,
-0.02202606201171875,
0.0023784011136740446,
0.005092880688607693,
0.004295771475881338,
-0.02674839459359646,
0.008259773254394531,
-0.020337052643299103,
-0.05139414593577385,
0.025317907333374023,
-0.0057348767295479774,
0.015778450295329094,
-0.015528546646237373,
0.03753737360239029,
0.005540985148400068,
-0.030126415193080902,
0.016459224745631218,
0.014658189378678799,
-0.02617964707314968,
-0.0587361678481102,
-0.027110325172543526
] |
725,582 | awpy.parser.demoparser | DemoParser | DemoParser can parse, load and clean data from a CSGO demofile. Can be instantiated without a specified demofile.
Attributes:
demofile (string): A string denoting the path to the demo file, which ends in .dem
Defaults to ''
outpath (string): Path where to save the outputfile to. Default is current directory
demo_id (string): A unique demo name/game id. Default is inferred from demofile name
output_file (str): The output file name. Default is 'demoid'+".json"
log (bool): A boolean indicating if the log should print to stdout. Default is False
parse_rate (int, optional): One of 128, 64, 32, 16, 8, 4, 2, or 1.
The lower the value, the more frames are collected. Indicates spacing between parsed demo frames in ticks. Default is 128.
parse_frames (bool): Flag if you want to parse frames (trajectory data) or not. Default is True
parse_kill_frames (bool): Flag if you want to parse frames on kills. Default is False
trade_time (int, optional): Length of the window for a trade (in seconds). Default is 5.
dmg_rolled (bool): Boolean if you want damages rolled up
(since multiple damages for a player can happen in 1 tick from the same weapon.)
Default is False
parse_chat (bool): Flag if you want to parse chat messages. Default is False
buy_style (string): Buy style string, one of "hltv" or "csgo"
Default is "hltv"
json_indentation (bool): Whether the json file should be pretty printed
with indentation (larger, more readable) or not (smaller, less human readable)
Default is False
json (dict): Dictionary containing the parsed json file
Raises:
ValueError: Raises a ValueError if the Golang version is lower than 1.18
| class DemoParser:
"""DemoParser can parse, load and clean data from a CSGO demofile. Can be instantiated without a specified demofile.
Attributes:
demofile (string): A string denoting the path to the demo file, which ends in .dem
Defaults to ''
outpath (string): Path where to save the outputfile to. Default is current directory
demo_id (string): A unique demo name/game id. Default is inferred from demofile name
output_file (str): The output file name. Default is 'demoid'+".json"
log (bool): A boolean indicating if the log should print to stdout. Default is False
parse_rate (int, optional): One of 128, 64, 32, 16, 8, 4, 2, or 1.
The lower the value, the more frames are collected. Indicates spacing between parsed demo frames in ticks. Default is 128.
parse_frames (bool): Flag if you want to parse frames (trajectory data) or not. Default is True
parse_kill_frames (bool): Flag if you want to parse frames on kills. Default is False
trade_time (int, optional): Length of the window for a trade (in seconds). Default is 5.
dmg_rolled (bool): Boolean if you want damages rolled up
(since multiple damages for a player can happen in 1 tick from the same weapon.)
Default is False
parse_chat (bool): Flag if you want to parse chat messages. Default is False
buy_style (string): Buy style string, one of "hltv" or "csgo"
Default is "hltv"
json_indentation (bool): Whether the json file should be pretty printed
with indentation (larger, more readable) or not (smaller, less human readable)
Default is False
json (dict): Dictionary containing the parsed json file
Raises:
ValueError: Raises a ValueError if the Golang version is lower than 1.18
"""
def __init__(
self,
demofile: str = "",
outpath: Optional[str] = None,
demo_id: Optional[str] = None,
log: bool = False,
parse_rate: int = 128,
parse_frames: bool = True,
parse_kill_frames: bool = False,
trade_time: int = 5,
dmg_rolled: bool = False,
parse_chat: bool = False,
buy_style: str = "hltv",
json_indentation: bool = False,
):
# Set up logger
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt="%H:%M:%S",
)
self.logger = logging.getLogger("awpy")
self.logger.propagate = log
# Handle demofile and demo_id name. Only take the file name and remove the last extension.
self.demofile = os.path.abspath(demofile)
self.logger.info("Initialized awpy DemoParser with demofile %s", self.demofile)
if not demo_id: # (demo_id is None) | (demo_id == "")
self.demo_id = os.path.splitext(
os.path.basename(demofile.replace("\\", "/"))
)[0]
else:
self.demo_id = demo_id
self.logger.info("Setting demo id to %s", self.demo_id)
self.output_file = self.demo_id + ".json"
if outpath is None:
self.outpath = os.path.abspath(os.getcwd())
else:
self.outpath = os.path.abspath(outpath)
# Handle parse rate. If the parse rate is less than 64, likely to be slow
if parse_rate < 1 or not isinstance(parse_rate, int):
self.logger.warning(
"Parse rate of %s not acceptable! Parse rate must be an integer greater than 0.",
str(parse_rate),
)
parse_rate = 128
self.parse_rate = parse_rate
if parse_rate < 64 and parse_rate > 1:
self.logger.warning(
"A parse rate lower than 64 may be slow depending on the tickrate of the demo, which is usually 64 for MM and 128 for pro demos."
)
self.parse_rate = parse_rate
elif parse_rate >= 256:
self.logger.warning(
"A high parse rate means very few frames. Only use for testing purposes."
)
self.parse_rate = parse_rate
else:
self.parse_rate = parse_rate
self.logger.info("Setting parse rate to %s", str(self.parse_rate))
# Handle trade time
self.trade_time = trade_time
if trade_time <= 0:
self.logger.warning(
"Trade time can't be negative, setting to default value of 5 seconds."
)
self.trade_time = 5
elif trade_time > 7:
self.logger.warning(
"Trade time of %s is rather long. Consider a value between 4-7.",
str(trade_time),
)
self.logger.info("Setting trade time to %s", str(self.trade_time))
# Handle buy style
if buy_style not in ["hltv", "csgo"]:
self.logger.warning(
"Buy style specified is not one of hltv, csgo, will be set to hltv by default"
)
self.buy_style = "hltv"
else:
self.buy_style = buy_style
self.logger.info("Setting buy style to %s", str(self.buy_style))
self.dmg_rolled = dmg_rolled
self.parse_chat = parse_chat
self.parse_frames = parse_frames
self.parse_kill_frames = parse_kill_frames
self.json_indentation = json_indentation
self.logger.info("Rollup damages set to %s", str(self.dmg_rolled))
self.logger.info("Parse chat set to %s", str(self.parse_chat))
self.logger.info("Parse frames set to %s", str(self.parse_frames))
self.logger.info("Parse kill frames set to %s", str(self.parse_kill_frames))
self.logger.info(
"Output json indentation set to %s", str(self.json_indentation)
)
# Set parse error to False
self.parse_error = False
# Initialize json attribute as None
self.json: Optional[Game] = None
def parse_demo(self) -> None:
"""Parse a demofile using the Go script parse_demo.go -- this function needs the .demofile to be set in the class, and the file needs to exist.
Returns:
Outputs a JSON file to current working directory.
Raises:
ValueError: Raises a ValueError if the Golang version is lower than 1.18
FileNotFoundError: Raises a FileNotFoundError if the demofile path does not exist.
"""
# Check if Golang version is compatible
acceptable_go = check_go_version()
if not acceptable_go:
error_message = "Error calling Go. Check if Go is installed using 'go version'. Need at least v1.18.0."
self.logger.error(
error_message
)
raise ValueError(
error_message
)
else:
self.logger.info("Go version>=1.18.0")
# Check if demofile exists
if not os.path.exists(os.path.abspath(self.demofile)):
self.logger.error("Demofile path does not exist!")
raise FileNotFoundError("Demofile path does not exist!")
path = os.path.join(os.path.dirname(__file__), "")
self.logger.info("Running Golang parser from %s", path)
self.logger.info("Looking for file at %s", self.demofile)
self.parser_cmd = [
"go",
"run",
"parse_demo.go",
"-demo",
self.demofile,
"-parserate",
str(self.parse_rate),
"-tradetime",
str(self.trade_time),
"-buystyle",
str(self.buy_style),
"-demoid",
str(self.demo_id),
"-out",
self.outpath,
]
if self.dmg_rolled:
self.parser_cmd.append("--dmgrolled")
if self.parse_frames:
self.parser_cmd.append("--parseframes")
if self.parse_kill_frames:
self.parser_cmd.append("--parsekillframes")
if self.json_indentation:
self.parser_cmd.append("--jsonindentation")
if self.parse_chat: | (demofile: str = '', outpath: Optional[str] = None, demo_id: Optional[str] = None, log: bool = False, parse_rate: int = 128, parse_frames: bool = True, parse_kill_frames: bool = False, trade_time: int = 5, dmg_rolled: bool = False, parse_chat: bool = False, buy_style: str = 'hltv', json_indentation: bool = False) | [
0.027178192511200905,
-0.03182605654001236,
-0.0923270732164383,
0.015804709866642952,
0.011068220250308514,
-0.042933665215969086,
-0.04639986902475357,
0.0851583331823349,
-0.0460059829056263,
-0.0213683620095253,
-0.0070111858658492565,
0.031274616718292236,
-0.026547973975539207,
0.05703481659293175,
-0.035272568464279175,
0.0062234122306108475,
0.044548600912094116,
0.01943831518292427,
-0.01420946791768074,
-0.009689616039395332,
-0.030447453260421753,
0.015105560421943665,
-0.00952713843435049,
0.0677485391497612,
-0.005859066732227802,
0.025543561205267906,
0.022648492828011513,
0.016917439177632332,
0.01281116995960474,
-0.029502125456929207,
-0.027178192511200905,
-0.04636048153042793,
-0.015400975942611694,
0.031747281551361084,
-0.03671025484800339,
-0.03990073874592781,
-0.037340473383665085,
0.00007785419438732788,
-0.11036709696054459,
-0.008557192049920559,
-0.0014869228471070528,
-0.005824601743370295,
0.019546635448932648,
0.0030009252950549126,
-0.030152037739753723,
0.043524496257305145,
-0.05226878449320793,
0.049590352922677994,
-0.008330706506967545,
-0.08846698701381683,
0.027591774240136147,
-0.006169252563267946,
-0.012722545303404331,
0.06983613967895508,
-0.015922876074910164,
0.009797935374081135,
0.0010942668886855245,
0.06199778988957405,
0.0315503366291523,
-0.030900422483682632,
-0.06396722048521042,
0.016149360686540604,
0.03003387153148651,
0.00278182583861053,
-0.036158811300992966,
0.02048211544752121,
-0.053686775267124176,
0.02282574214041233,
-0.0038477820344269276,
0.008852606639266014,
0.02325901761651039,
0.013973135501146317,
0.03710414096713066,
0.009118480607867241,
-0.008783676661550999,
-0.02048211544752121,
-0.07125412672758102,
-0.019920827820897102,
-0.029718762263655663,
-0.020423032343387604,
0.026035919785499573,
0.0189164150506258,
0.017449187114834785,
-0.020363949239253998,
0.0509689562022686,
-0.016356151551008224,
0.05447455123066902,
0.0065040565095841885,
-0.05092956870794296,
0.032633524388074875,
-0.04687253385782242,
0.015903180465102196,
0.0004720487631857395,
0.014012524858117104,
-0.021998580545186996,
-0.038955409079790115,
-0.01302780769765377,
-0.062391676008701324,
0.018089253455400467,
0.01761658862233162,
-0.046754367649555206,
0.04419410228729248,
-0.07739876210689545,
0.0044706156477332115,
-0.0294430423527956,
-0.01209232583642006,
-0.033657632768154144,
0.03178666904568672,
0.038246411830186844,
0.0075429328717291355,
-0.08287379145622253,
-0.06420355290174484,
0.016494011506438255,
-0.037498027086257935,
0.03974318131804466,
-0.011816604994237423,
-0.026114698499441147,
0.022412162274122238,
-0.0073607605881989,
-0.0015336968936026096,
0.0014426105190068483,
0.021289583295583725,
-0.013382305391132832,
0.027611467987298965,
0.02930518053472042,
-0.06471560895442963,
-0.010782652534544468,
0.014967700466513634,
0.05278083682060242,
-0.007700487971305847,
0.005716282874345779,
0.02355443313717842,
0.016681108623743057,
-0.014465494081377983,
0.03050653636455536,
-0.006272647995501757,
-0.016986370086669922,
0.0228454377502203,
-0.06357333809137344,
0.04584842920303345,
0.052505116909742355,
-0.03627697750926018,
0.011215928010642529,
-0.08854576200246811,
-0.0641641691327095,
0.006691152695566416,
-0.017203008756041527,
-0.05451393872499466,
-0.07621710747480392,
0.024539150297641754,
0.017626436427235603,
-0.032023001462221146,
-0.015785016119480133,
0.024046791717410088,
0.05025996267795563,
-0.03399243578314781,
-0.05880730599164963,
-0.005332243163138628,
-0.01570623740553856,
0.044824324548244476,
-0.019113359972834587,
-0.018108947202563286,
0.036316368728876114,
-0.022353079169988632,
0.000042581323214108124,
0.027197886258363724,
-0.00399056589230895,
0.019467856734991074,
-0.014455647207796574,
0.044981878250837326,
0.02077753096818924,
0.04163384065032005,
-0.059870801866054535,
0.011846146546304226,
-0.006021545268595219,
0.057665035128593445,
0.011215928010642529,
0.01428824570029974,
-0.0036434533540159464,
-0.001955894287675619,
-0.050732627511024475,
0.0007853119168430567,
-0.02830076962709427,
0.04450921341776848,
0.017902156338095665,
-0.03962501510977745,
0.05955569073557854,
0.0013072119327262044,
0.021328972652554512,
0.030979201197624207,
-0.026252558454871178,
-0.005578422453254461,
0.025858670473098755,
-0.02666614018380642,
0.04565148428082466,
0.027611467987298965,
0.015597919002175331,
-0.00019955907191615552,
0.046911925077438354,
-0.02694186009466648,
-0.036296673119068146,
0.00998010765761137,
0.0018463445594534278,
-0.06609421223402023,
-0.024637622758746147,
0.003687765682116151,
-0.017193160951137543,
0.004047187510877848,
-0.037182919681072235,
0.024401290342211723,
-0.05108712241053581,
-0.03858121484518051,
0.036296673119068146,
0.014268551021814346,
0.06999368965625763,
-0.05916180461645126,
0.05356861278414726,
0.05805892124772072,
-0.018217267468571663,
0.02562233991920948,
0.03444540500640869,
-0.00673546502366662,
-0.0693240836262703,
-0.01921183057129383,
-0.021998580545186996,
0.007198282051831484,
0.02753269113600254,
0.049866072833538055,
-0.013726956211030483,
-0.04616353660821915,
-0.001451226882636547,
-0.0680636465549469,
-0.003407121170312166,
0.04592720791697502,
0.009482826106250286,
-0.04033401235938072,
0.031018588691949844,
0.021328972652554512,
-0.014642743393778801,
-0.06739404052495956,
0.030152037739753723,
-0.024086181074380875,
0.010506931692361832,
-0.03267291560769081,
-0.047345198690891266,
-0.005145146977156401,
0.06727587431669235,
-0.015135101974010468,
-0.03227902576327324,
0.038659993559122086,
0.063730888068676,
0.016100125387310982,
0.0011428872821852565,
0.0532928891479969,
-0.04856624826788902,
-0.022313689813017845,
0.014268551021814346,
-0.010841735638678074,
0.025248147547245026,
-0.03375610336661339,
0.025858670473098755,
-0.06684260070323944,
-0.01163935661315918,
0.0421065054833889,
0.008453796617686749,
0.01632660999894142,
0.06956041604280472,
-0.07448400557041168,
0.0004148120933678001,
-0.024105874821543694,
0.01400267705321312,
0.013677720911800861,
-0.03503623604774475,
-0.005814754404127598,
-0.05526232346892357,
0.006016621366143227,
0.007478926330804825,
-0.04198833927512169,
-0.00975362304598093,
0.01862100139260292,
0.030270203948020935,
-0.014770756475627422,
0.036592088639736176,
0.005214076954871416,
0.012614225968718529,
-0.04699070006608963,
-0.0269615538418293,
0.03241688758134842,
-0.014120843261480331,
0.01199385430663824,
0.0014352252474054694,
0.025543561205267906,
-0.0012050475925207138,
0.008783676661550999,
0.03990073874592781,
0.015272962860763073,
-0.021013863384723663,
-0.015194185078144073,
0.019605718553066254,
-0.04817236214876175,
-0.004889120347797871,
-0.0264888908714056,
0.07952575385570526,
-0.01934969052672386,
-0.06546399742364883,
0.03663147613406181,
0.0044976952485740185,
-0.06668504327535629,
0.054120052605867386,
0.0013699877308681607,
0.030841339379549026,
0.00392655935138464,
0.03932960331439972,
0.04446982592344284,
-0.01950724609196186,
0.014563966542482376,
0.01725224405527115,
0.01666141301393509,
0.05991018936038017,
0.06109185144305229,
-0.03300771862268448,
0.010309988632798195,
0.00878860056400299,
0.013077042996883392,
0.07243578881025314,
-0.056365206837654114,
0.023160547018051147,
0.03229872137308121,
0.015292656607925892,
-0.019359538331627846,
-0.0450606569647789,
-0.018236961215734482,
-0.0029689220245927572,
0.01155073195695877,
0.0562470406293869,
-0.018069559708237648,
-0.048093583434820175,
-0.05022057145833969,
0.02282574214041233,
-0.023081768304109573,
0.05506538227200508,
-0.010713722556829453,
-0.031018588691949844,
0.009226799011230469,
0.0575074777007103,
-0.0690089762210846,
0.11359696835279465,
-0.008763981983065605,
0.026449501514434814,
0.05136284604668617,
-0.009276035241782665,
0.04230344668030739,
0.03635575622320175,
0.0660548210144043,
0.031471557915210724,
-0.08054985851049423,
-0.024263430386781693,
-0.07613832503557205,
-0.0009170178091153502,
-0.009364659897983074,
-0.05140223354101181,
0.014278397895395756,
-0.036592088639736176,
0.044981878250837326,
-0.030998894944787025,
-0.07117535173892975,
0.03669055923819542,
-0.07625649124383926,
0.05849219486117363,
0.003200330538675189,
0.01016228087246418,
-0.023692293092608452,
-0.016129666939377785,
-0.05734992399811745,
-0.030998894944787025,
0.03066409006714821,
0.022648492828011513,
0.017271937802433968,
-0.0240074023604393,
-0.01737041026353836,
0.03942807391285896,
0.07436583936214447,
-0.03503623604774475,
0.041318729519844055,
0.05628643184900284,
-0.04962974414229393,
-0.008099297992885113,
-0.025996532291173935,
-0.011018984951078892,
-0.00604616291821003,
0.0037690047174692154,
0.024933036416769028,
0.009871789254248142,
0.011196233332157135,
-0.016828816384077072,
-0.012761933729052544,
-0.02875373885035515,
0.04289427772164345,
-0.031747281551361084,
0.013490624725818634,
0.005982156377285719,
-0.050141796469688416,
0.04155506193637848,
0.01959587074816227,
-0.03257444128394127,
-0.014268551021814346,
0.09878682345151901,
0.06440050154924393,
-0.02725696936249733,
0.10272569209337234,
0.0002289467229275033,
0.0004175816138740629,
-0.08807309716939926,
0.010526626370847225,
-0.04541515186429024,
0.006961950100958347,
0.0177544504404068,
0.018335431814193726,
-0.009620686061680317,
0.0391523540019989,
-0.015213879756629467,
0.07078146934509277,
0.026843387633562088,
0.046754367649555206,
0.00899046752601862,
-0.010073656216263771,
-0.025228451937437057,
-0.019014887511730194,
-0.019172443076968193,
-0.012476366013288498,
0.007134275510907173,
0.038502439856529236,
-0.033834878355264664,
-0.06581848859786987,
0.023948321118950844,
0.021900108084082603,
-0.028615878894925117,
-0.07255395501852036,
0.015696391463279724,
0.00976346991956234,
0.029246097430586815,
0.003727154340595007,
0.03269260749220848,
0.04435165971517563,
0.011156844906508923,
0.00924156978726387,
-0.03869938105344772,
0.024342207238078117,
0.008645816706120968,
-0.022037969902157784,
-0.01862100139260292,
0.04978729784488678,
-0.0009994878200814128,
-0.021841024979948997,
-0.027493301779031754,
-0.04671498015522957,
0.043248776346445084,
0.053529221564531326,
0.009359735995531082,
-0.037655580788850784,
-0.009783164598047733,
0.020403338596224785,
0.052820224314928055,
0.04880258068442345,
-0.04431226849555969,
0.06337639689445496,
0.06156451255083084,
0.0011238084407523274,
-0.07625649124383926,
0.007848195731639862,
0.021466832607984543,
-0.018492987379431725,
-0.03194422274827957,
0.000607755093369633,
0.035134706646203995,
-0.012988418340682983,
0.030092954635620117,
-0.053686775267124176,
-0.02960059605538845,
-0.021742554381489754,
-0.0003480359446257353,
-0.06113123893737793,
-0.013835275545716286,
0.021762248128652573,
-0.0015312350587919354,
-0.009522214531898499,
0.03170789033174515,
-0.06703954190015793,
0.020541198551654816,
-0.05640459805727005,
-0.05238695070147514,
-0.014199621044099331,
0.011718133464455605,
-0.036454226821660995,
-0.03373640775680542,
-0.004315522965043783,
0.03229872137308121,
0.017882462590932846,
-0.01016228087246418,
-0.07349928468465805,
0.015627460554242134,
0.00860642734915018,
-0.02473609335720539,
-0.03728139027953148,
0.013086890801787376,
0.0011933540226891637,
-0.023968014866113663,
-0.001468459377065301,
-0.06333700567483902,
0.006523750722408295,
-0.02639041841030121,
0.040117375552654266,
0.008507955819368362,
-0.01334291696548462,
0.013835275545716286,
0.012998266145586967,
0.0014549195766448975,
0.03611942380666733,
-0.00028372163069434464,
-0.047778476029634476,
0.009325271472334862,
-0.012210492044687271,
0.04037339985370636,
-0.02739482931792736,
-0.0153812812641263,
0.04226405918598175,
-0.009221876040101051,
0.03936899080872536,
0.019842049106955528,
0.0029836928006261587,
0.00566704710945487,
-0.0087984474375844,
0.0029812310822308064,
0.013579249382019043,
0.02532692439854145,
0.0032372574787586927,
0.07082085311412811,
-0.028990071266889572,
-0.05025996267795563,
0.009280959144234657,
0.057980142533779144,
-0.008340554311871529,
-0.049117688089609146,
-0.09083030372858047,
-0.011284857988357544,
0.009482826106250286,
0.021407749503850937,
0.04982668533921242,
0.024677010253071785,
-0.011609815061092377,
0.01539112813770771,
0.003924097865819931,
0.03539073467254639,
0.02178194187581539,
0.0571923702955246,
-0.0355089008808136,
-0.0008400867809541523,
-0.015696391463279724,
0.06006774306297302,
0.000053736319387098774,
-0.024243734776973724,
0.0013022883795201778,
-0.1339215338230133,
-0.017518118023872375,
-0.0010813424596562982,
0.030309593304991722,
-0.012358199805021286,
0.0806286409497261,
-0.018877027556300163,
-0.0030969353392720222,
0.03249566629528999,
0.04840869456529617,
0.043524496257305145,
-0.02355443313717842,
-0.04214589297771454,
0.009399124421179295,
-0.03377579525113106,
0.08287379145622253,
0.023968014866113663,
-0.001653093844652176,
0.06042224168777466,
0.01273239217698574,
-0.006568063050508499,
-0.05025996267795563,
-0.026981249451637268,
-0.03407121077179909,
0.02123050019145012,
0.006139711011201143,
0.07747754454612732,
0.032200250774621964,
-0.041909560561180115,
-0.0017897234065458179,
-0.03249566629528999,
-0.028478018939495087,
-0.027493301779031754,
0.09240585565567017,
0.04344571754336357,
-0.008640892803668976,
0.0456908755004406,
0.011186386458575726,
-0.04998423904180527,
0.032318416982889175,
-0.03832519054412842,
-0.01348077692091465,
0.02668583393096924,
0.02280604839324951,
0.0139829833060503,
0.009571450762450695,
0.010694027878344059,
0.003143709385767579,
0.002218075329437852,
-0.02757207863032818,
-0.009098785929381847,
-0.05037812888622284,
-0.0007816192228347063,
-0.02180163748562336,
0.040570344775915146,
0.0013022883795201778,
0.05565620958805084,
-0.004889120347797871,
0.044548600912094116,
0.019359538331627846,
-0.028044743463397026,
-0.0073213716968894005,
-0.03889632597565651,
-0.05778320133686066,
-0.007227823603898287,
-0.022057663649320602,
-0.008744288235902786,
-0.03899479657411575,
0.036434534937143326,
-0.030723173171281815,
0.03653300553560257,
-0.062234122306108475,
0.020265478640794754,
0.04419410228729248,
0.018768707290291786,
-0.014140537939965725,
0.008621198125183582,
0.027316052466630936,
0.04892074689269066,
-0.04466676712036133,
-0.008040214888751507,
-0.010497084818780422,
-0.035745229572057724,
0.006917637772858143,
0.0015238497871905565,
0.046911925077438354,
0.06172206997871399,
0.01333307009190321,
-0.014701826497912407,
0.0022020735777914524,
-0.0417913943529129,
-0.003426815615966916,
-0.03401212766766548,
0.0080599095672369,
0.0018992731347680092,
0.019556481391191483,
0.040609732270240784,
0.006779777351766825,
-0.052662670612335205,
0.03539073467254639,
0.06054040789604187,
-0.0014266088837757707,
-0.004913738463073969,
-0.03281077370047569,
0.012693003751337528,
0.008448872715234756,
0.08807309716939926,
0.03655269742012024,
-0.015932722017169,
0.002540570218116045,
0.0351937897503376,
-0.0019965139217674732,
-0.01600165292620659,
-0.0072327470406889915,
0.05171734094619751,
0.01230896357446909,
0.0421065054833889,
-0.027060026302933693,
0.01716361939907074,
0.08886086940765381,
-0.01376634556800127,
-0.0536080002784729,
0.019586022943258286,
0.04974791035056114,
0.011206081137061119,
-0.015558530576527119,
0.038679689168930054,
-0.0067600831389427185,
-0.060737352818250656,
-0.012889946810901165,
-0.020836614072322845,
-0.02325901761651039,
-0.008104221895337105,
-0.07405072450637817,
-0.043957773596048355,
-0.011403024196624756,
-0.04561209678649902,
-0.02061997726559639,
0.036907196044921875,
-0.014918464235961437,
0.011225774884223938,
0.022786354646086693,
0.01745903491973877,
0.005019595380872488,
-0.0345635712146759,
0.0036065264139324427,
0.01745903491973877,
-0.04458799213171005,
0.009541909210383892,
0.052505116909742355,
0.02430281788110733,
0.026410112157464027,
0.030585313215851784,
0.010575861670076847,
-0.049866072833538055,
0.03671025484800339,
0.005745824426412582,
0.012131715193390846,
-0.048960134387016296,
0.03576492518186569,
0.0037320777773857117,
0.009664998389780521,
-0.009064321406185627,
-0.027887187898159027,
-0.052505116909742355,
-0.050299350172281265,
0.03678902983665466,
-0.01030014082789421,
-0.044430434703826904,
0.019201984629034996,
-0.02975815162062645,
-0.04380021616816521,
-0.02329840697348118,
-0.08720654994249344,
0.030683785676956177,
-0.029383959248661995,
0.056207653135061264,
0.02343626692891121,
-0.05124467983841896,
-0.03253505378961563,
-0.061485737562179565,
-0.0018869641935452819,
-0.008749211207032204,
0.014199621044099331,
0.046911925077438354,
0.01848313957452774,
-0.04974791035056114,
0.003035390516743064,
0.016690954566001892,
-0.05581376701593399,
-0.0025184140540659428,
0.05305655673146248,
0.007016109302639961,
0.022884825244545937,
-0.023948321118950844,
0.03657239302992821,
0.034248460084199905,
-0.04403654858469963,
0.0034514334984123707,
-0.015519142150878906,
0.04817236214876175,
0.010743264108896255,
0.056522760540246964,
0.04746336489915848,
-0.020265478640794754,
0.0307625625282526
] |
725,583 | awpy.parser.demoparser | __init__ | null | def __init__(
self,
demofile: str = "",
outpath: Optional[str] = None,
demo_id: Optional[str] = None,
log: bool = False,
parse_rate: int = 128,
parse_frames: bool = True,
parse_kill_frames: bool = False,
trade_time: int = 5,
dmg_rolled: bool = False,
parse_chat: bool = False,
buy_style: str = "hltv",
json_indentation: bool = False,
):
# Set up logger
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt="%H:%M:%S",
)
self.logger = logging.getLogger("awpy")
self.logger.propagate = log
# Handle demofile and demo_id name. Only take the file name and remove the last extension.
self.demofile = os.path.abspath(demofile)
self.logger.info("Initialized awpy DemoParser with demofile %s", self.demofile)
if not demo_id: # (demo_id is None) | (demo_id == "")
self.demo_id = os.path.splitext(
os.path.basename(demofile.replace("\\", "/"))
)[0]
else:
self.demo_id = demo_id
self.logger.info("Setting demo id to %s", self.demo_id)
self.output_file = self.demo_id + ".json"
if outpath is None:
self.outpath = os.path.abspath(os.getcwd())
else:
self.outpath = os.path.abspath(outpath)
# Handle parse rate. If the parse rate is less than 64, likely to be slow
if parse_rate < 1 or not isinstance(parse_rate, int):
self.logger.warning(
"Parse rate of %s not acceptable! Parse rate must be an integer greater than 0.",
str(parse_rate),
)
parse_rate = 128
self.parse_rate = parse_rate
if parse_rate < 64 and parse_rate > 1:
self.logger.warning(
"A parse rate lower than 64 may be slow depending on the tickrate of the demo, which is usually 64 for MM and 128 for pro demos."
)
self.parse_rate = parse_rate
elif parse_rate >= 256:
self.logger.warning(
"A high parse rate means very few frames. Only use for testing purposes."
)
self.parse_rate = parse_rate
else:
self.parse_rate = parse_rate
self.logger.info("Setting parse rate to %s", str(self.parse_rate))
# Handle trade time
self.trade_time = trade_time
if trade_time <= 0:
self.logger.warning(
"Trade time can't be negative, setting to default value of 5 seconds."
)
self.trade_time = 5
elif trade_time > 7:
self.logger.warning(
"Trade time of %s is rather long. Consider a value between 4-7.",
str(trade_time),
)
self.logger.info("Setting trade time to %s", str(self.trade_time))
# Handle buy style
if buy_style not in ["hltv", "csgo"]:
self.logger.warning(
"Buy style specified is not one of hltv, csgo, will be set to hltv by default"
)
self.buy_style = "hltv"
else:
self.buy_style = buy_style
self.logger.info("Setting buy style to %s", str(self.buy_style))
self.dmg_rolled = dmg_rolled
self.parse_chat = parse_chat
self.parse_frames = parse_frames
self.parse_kill_frames = parse_kill_frames
self.json_indentation = json_indentation
self.logger.info("Rollup damages set to %s", str(self.dmg_rolled))
self.logger.info("Parse chat set to %s", str(self.parse_chat))
self.logger.info("Parse frames set to %s", str(self.parse_frames))
self.logger.info("Parse kill frames set to %s", str(self.parse_kill_frames))
self.logger.info(
"Output json indentation set to %s", str(self.json_indentation)
)
# Set parse error to False
self.parse_error = False
# Initialize json attribute as None
self.json: Optional[Game] = None
| (self, demofile: str = '', outpath: Optional[str] = None, demo_id: Optional[str] = None, log: bool = False, parse_rate: int = 128, parse_frames: bool = True, parse_kill_frames: bool = False, trade_time: int = 5, dmg_rolled: bool = False, parse_chat: bool = False, buy_style: str = 'hltv', json_indentation: bool = False) | [
0.0024582943879067898,
-0.02707964926958084,
-0.07225080579519272,
0.0041291662491858006,
-0.010687818750739098,
-0.04609302058815956,
-0.06468386948108673,
0.07651441544294357,
-0.07889588922262192,
0.003060864517465234,
-0.005852853413671255,
0.045900966972112656,
-0.006726700346916914,
0.059075888246297836,
-0.0389678068459034,
0.007614951115101576,
0.06664282828569412,
0.019291849806904793,
-0.002580729080364108,
-0.007533328142017126,
-0.018273962661623955,
-0.0006331788608804345,
-0.02669554017484188,
0.07286538183689117,
0.0003958118031732738,
0.028231974691152573,
-0.0017644984181970358,
0.02114517241716385,
0.0004834365681745112,
-0.03072868101298809,
-0.016353419050574303,
-0.03937112167477608,
-0.008104689419269562,
0.03464658558368683,
-0.012320280075073242,
-0.03176577389240265,
-0.04908906668424606,
-0.03476181998848915,
-0.09979138523340225,
-0.0053006974048912525,
0.052853330969810486,
-0.02379552088677883,
0.03142007440328598,
-0.002686358755454421,
-0.04705329239368439,
0.04601619765162468,
-0.04060027003288269,
0.0663355365395546,
-0.01881171390414238,
-0.08657805621623993,
0.02010807953774929,
0.01020768377929926,
0.0024102807510644197,
0.07785879075527191,
-0.014125590212643147,
0.0015220299828797579,
0.007706176955252886,
0.042636044323444366,
0.03535718843340874,
-0.0315353088080883,
-0.07209716737270355,
0.037834689021110535,
0.021049145609140396,
0.027886277064681053,
-0.029422711580991745,
-0.0063041807152330875,
-0.0549275167286396,
0.02078026905655861,
-0.006433817557990551,
0.006313783582299948,
0.07486274838447571,
0.011974582448601723,
-0.008416777476668358,
0.012473923154175282,
-0.018542837351560593,
-0.0366823635995388,
-0.06844813376665115,
-0.0014968228060752153,
-0.0570785216987133,
-0.012502731755375862,
0.03264922276139259,
0.037066470831632614,
-0.0025831295643001795,
-0.0075957453809678555,
0.06322425603866577,
-0.017486538738012314,
0.041867826133966446,
0.00448446674272418,
-0.055734142661094666,
0.03391677886247635,
-0.044057246297597885,
-0.012416306883096695,
0.00232385634444654,
0.02012728527188301,
-0.007192431483417749,
-0.020953118801116943,
0.007403691299259663,
-0.07355678081512451,
0.019330259412527084,
0.003802674124017358,
-0.06184146925806999,
0.034838639199733734,
-0.0751316249370575,
-0.011993788182735443,
-0.03370552137494087,
-0.013155716471374035,
-0.023469028994441032,
0.021682925522327423,
0.05269968509674072,
-0.009247411973774433,
-0.030114106833934784,
-0.05446658656001091,
-0.0016144560649991035,
-0.01771700382232666,
0.014029563404619694,
-0.005185464862734079,
-0.0040187351405620575,
0.02552400901913643,
0.01694878749549389,
-0.005319902673363686,
0.01407757680863142,
0.023507440462708473,
0.004998211748898029,
0.0091225765645504,
0.030786296352744102,
-0.049434762448072433,
-0.015057053416967392,
0.017870647832751274,
0.06099642813205719,
0.018859727308154106,
-0.0020825883839279413,
0.02078026905655861,
0.008637639693915844,
-0.019666355103254318,
0.005055828019976616,
-0.01002523209899664,
-0.008815290406346321,
0.029038602486252785,
-0.058960653841495514,
0.035626064985990524,
0.06168782711029053,
-0.02698362246155739,
0.02748296409845352,
-0.09679534286260605,
-0.06710375845432281,
0.023276975378394127,
-0.027559785172343254,
-0.045132748782634735,
-0.06126530468463898,
0.019570328295230865,
0.009823574684560299,
-0.022758428007364273,
-0.027329320088028908,
0.040024105459451675,
0.050279803574085236,
-0.05066391080617905,
-0.05984410271048546,
0.022566374391317368,
-0.006961966399103403,
0.03650951385498047,
-0.014701752923429012,
-0.021452460438013077,
0.05884542316198349,
-0.028654493391513824,
-0.00677471375092864,
0.03253398835659027,
-0.020665036514401436,
0.03750819340348244,
0.0011775325983762741,
0.01676633581519127,
-0.0012093415716663003,
0.03443532809615135,
-0.07559255510568619,
0.02558162622153759,
-0.013222935609519482,
0.04666918143630028,
0.0011967380996793509,
0.003802674124017358,
-0.008940125815570354,
-0.02562003768980503,
-0.05727057904005051,
-0.001970956800505519,
-0.0076773688197135925,
0.03351346775889397,
-0.004028338007628918,
-0.05784673988819122,
0.0489354245364666,
0.0023214558605104685,
0.0007700175046920776,
0.046630773693323135,
-0.010610997676849365,
0.0032577202655375004,
0.00356020568870008,
-0.03643269091844559,
0.047744687646627426,
0.0373353473842144,
0.029729997739195824,
0.002038175705820322,
0.04225193336606026,
-0.03205385431647301,
-0.012934853322803974,
0.02412201464176178,
-0.007879025302827358,
-0.05769309774041176,
0.019819999113678932,
-0.018053099513053894,
-0.02450612187385559,
-0.006961966399103403,
-0.05992092564702034,
0.02631143294274807,
-0.036739978939294815,
-0.02815515361726284,
0.050279803574085236,
0.014019960537552834,
0.042597632855176926,
-0.0067987204529345036,
0.0562334842979908,
0.058230847120285034,
-0.0009500683518126607,
0.02406439743936062,
0.044787053018808365,
0.0073076640255749226,
-0.0695236399769783,
0.002645547268912196,
-0.0007484114030376077,
0.025504805147647858,
0.03983205184340477,
0.045171160250902176,
-0.037066470831632614,
-0.031170405447483063,
-0.008095086552202702,
-0.047706276178359985,
0.0007538129575550556,
0.035318776965141296,
-0.022470347583293915,
-0.030037283897399902,
0.024352479726076126,
0.021682925522327423,
-0.058307670056819916,
-0.07294220477342606,
0.036298252642154694,
-0.015076258219778538,
0.010044436901807785,
-0.038622111082077026,
-0.04897383227944374,
-0.016007721424102783,
0.06453023105859756,
-0.0035938152577728033,
-0.04832084849476814,
0.025159107521176338,
0.043673135340213776,
0.046899646520614624,
0.005454340483993292,
0.052776508033275604,
-0.047283757477998734,
-0.011014311574399471,
0.02698362246155739,
-0.021682925522327423,
0.007643759250640869,
-0.03800753504037857,
0.03833402693271637,
-0.08742309361696243,
-0.02233590930700302,
0.0069955759681761265,
0.013395784422755241,
0.014173603616654873,
0.06403088569641113,
-0.06741104274988174,
-0.010927886702120304,
-0.014644136652350426,
0.004119563847780228,
-0.018129920586943626,
-0.020933913066983223,
0.0048061576671898365,
-0.05930635333061218,
-0.0022710415069013834,
0.02406439743936062,
-0.0325147844851017,
-0.016833554953336716,
0.03263001888990402,
0.03264922276139259,
-0.011062324978411198,
0.05784673988819122,
0.030575037002563477,
0.005435135215520859,
-0.03869893029332161,
-0.02010807953774929,
0.057961974292993546,
-0.002619139850139618,
0.005713614169508219,
-0.0185044277459383,
0.022892866283655167,
0.008234325796365738,
0.002933628624305129,
0.0519314706325531,
0.012704388238489628,
0.004628507420420647,
0.0006493834080174565,
0.02300809882581234,
-0.030594242736697197,
0.00421078922227025,
-0.0247942041605711,
0.065682552754879,
-0.014317644760012627,
-0.036336664110422134,
0.03324459120631218,
0.005622388329356909,
-0.05631030723452568,
0.06890906393527985,
0.0016732726944610476,
0.02634984254837036,
0.03983205184340477,
0.03975522890686989,
0.0394863523542881,
-0.00702438410371542,
0.02227829396724701,
0.014653739519417286,
0.02408360317349434,
0.04321220517158508,
0.05769309774041176,
-0.027963098138570786,
-0.011926569044589996,
0.01692958176136017,
0.00027277704793959856,
0.04812879487872124,
-0.057923562824726105,
0.007062795106321573,
0.025159107521176338,
-0.008037470281124115,
-0.03983205184340477,
-0.07225080579519272,
0.003934711683541536,
-0.008844098076224327,
-0.01425042562186718,
0.030421392992138863,
-0.027329320088028908,
-0.05884542316198349,
-0.041483718901872635,
0.016372624784708023,
-0.019349465146660805,
0.05181623622775078,
-0.004810959100723267,
-0.009381850250065327,
0.03464658558368683,
0.036394279450178146,
-0.06380042433738708,
0.07958728075027466,
-0.002640745835378766,
0.031631335616111755,
0.061611004173755646,
-0.000734007335267961,
0.031631335616111755,
0.05189305916428566,
0.09902317076921463,
0.050318215042352676,
-0.06629712879657745,
-0.050241392105817795,
-0.067372627556324,
-0.016122953966259956,
-0.0015256309416145086,
-0.049895692616701126,
-0.013789495453238487,
-0.02554321475327015,
0.05565732344985008,
-0.03140087053179741,
-0.0570785216987133,
0.022835250943899155,
-0.06414611637592316,
0.055311623960733414,
0.022508759051561356,
0.004470062907785177,
-0.032994918525218964,
-0.016228584572672844,
-0.057961974292993546,
-0.03241875767707825,
0.050625499337911606,
0.00783581379801035,
0.009261815808713436,
-0.024025985971093178,
-0.055350035429000854,
0.04305856302380562,
0.06172623485326767,
-0.024237247183918953,
0.020569009706377983,
0.05162418261170387,
-0.051662594079971313,
0.0012507532956078649,
-0.028942575678229332,
-0.0010947092669084668,
0.0021414048969745636,
0.02444850653409958,
0.026426665484905243,
0.013453400693833828,
-0.015364340506494045,
-0.037796277552843094,
-0.003106477437540889,
-0.036701567471027374,
0.04451817646622658,
-0.03793071582913399,
0.008901714347302914,
-0.003356148023158312,
-0.05730898678302765,
0.03952476382255554,
0.007864621467888355,
-0.03207305818796158,
-0.03330220654606819,
0.08373565226793289,
0.07390247285366058,
-0.02308492176234722,
0.07301902770996094,
-0.005089437589049339,
-0.013856714591383934,
-0.07770515233278275,
-0.0008000259986147285,
-0.04205987975001335,
0.001578445895574987,
0.03393598645925522,
-0.004460460040718317,
-0.03178497776389122,
0.02880813740193844,
-0.01832197606563568,
0.062379222363233566,
0.03983205184340477,
0.03804594650864601,
0.02195180021226406,
-0.00878648180514574,
-0.032726045697927475,
-0.004184382036328316,
0.0023274575360119343,
-0.008992940187454224,
0.010370929725468159,
0.029883641749620438,
-0.03833402693271637,
-0.053890421986579895,
0.03445453196763992,
0.017092827707529068,
-0.026906801387667656,
-0.04981887340545654,
0.015469970181584358,
-0.004352429416030645,
0.03940953314304352,
-0.013760686852037907,
0.028270386159420013,
0.027540579438209534,
0.018840521574020386,
0.01640143245458603,
-0.03908304125070572,
0.03683600574731827,
-0.00475814426317811,
-0.016190173104405403,
-0.006405009422451258,
0.048397671431303024,
-0.005065430887043476,
-0.04559367895126343,
-0.0009614715818315744,
-0.035587653517723083,
0.05162418261170387,
0.037777069956064224,
0.02151007577776909,
-0.04209829121828079,
-0.01627659797668457,
0.015508380718529224,
0.04209829121828079,
0.03625984117388725,
-0.027636606246232986,
0.07874224334955215,
0.06130371615290642,
-0.01603652909398079,
-0.0695236399769783,
0.014384862966835499,
0.008253531530499458,
-0.02158689685165882,
-0.02193259634077549,
0.018907740712165833,
0.03320617973804474,
-0.03214988112449646,
0.02369949407875538,
-0.05016456916928291,
-0.03357108309864998,
-0.008407174609601498,
-0.008320750668644905,
-0.06552890688180923,
-0.012137828394770622,
0.02999887429177761,
0.007758991792798042,
-0.00695236399769783,
0.026503486558794975,
-0.07935681939125061,
0.023257769644260406,
-0.05074073374271393,
-0.06506797671318054,
-0.018926946446299553,
0.011119941249489784,
-0.026080967858433723,
-0.05008774995803833,
-0.019311055541038513,
0.04428771138191223,
0.018926946446299553,
-0.013155716471374035,
-0.060458678752183914,
0.022585580125451088,
-0.003941913601011038,
-0.030805502086877823,
-0.0291922464966774,
0.013511016964912415,
-0.0011607279302552342,
-0.022028623148798943,
-0.017217664048075676,
-0.05300697311758995,
0.0058096409775316715,
-0.020569009706377983,
0.043673135340213776,
-0.015431558713316917,
-0.005535963922739029,
-0.007614951115101576,
0.010966298170387745,
-0.0033777542412281036,
0.0351843386888504,
0.020722653716802597,
-0.04855131357908249,
0.025504805147647858,
0.0018665272509679198,
0.03355187922716141,
-0.014653739519417286,
-0.005358313675969839,
0.03549162670969963,
0.01716965064406395,
0.04759104177355766,
0.010831859894096851,
0.007941443473100662,
-0.006553851068019867,
-0.015604407526552677,
-0.020223312079906464,
0.007432499434798956,
0.017419319599866867,
0.018312372267246246,
0.03810356184840202,
-0.02596573531627655,
-0.07132894545793533,
-0.0022578376810997725,
0.05481228232383728,
-0.010390134528279305,
-0.03829561918973923,
-0.10778084397315979,
-0.004801356233656406,
0.025427982211112976,
-0.02227829396724701,
0.06910111755132675,
0.018350783735513687,
-0.020300135016441345,
0.024602148681879044,
0.00180170894600451,
0.03829561918973923,
0.03579891100525856,
0.053852010518312454,
-0.053160615265369415,
0.014346452429890633,
-0.007014781702309847,
0.05377519130706787,
0.014816985465586185,
-0.021663719788193703,
-0.010466956533491611,
-0.11338882893323898,
-0.012589155696332455,
-0.0033297406043857336,
0.014471287839114666,
-0.002578328363597393,
0.06575937569141388,
-0.015383545309305191,
-0.00009130078979069367,
0.01371267344802618,
0.027271702885627747,
0.034896258264780045,
-0.019896820187568665,
-0.05346790328621864,
-0.008551215752959251,
-0.03445453196763992,
0.08189193159341812,
0.01371267344802618,
0.005511957220733166,
0.07301902770996094,
0.018984561786055565,
-0.024640560150146484,
-0.051662594079971313,
-0.017467334866523743,
-0.038929395377635956,
0.019243836402893066,
-0.0006409810739569366,
0.08204557746648788,
0.03917906805872917,
-0.04789832979440689,
-0.025101490318775177,
-0.01868687942624092,
-0.01317492127418518,
-0.01789945550262928,
0.10201922059059143,
0.04386519268155098,
-0.014548109844326973,
0.03184259310364723,
0.009228207170963287,
-0.040139339864254,
0.0495884083211422,
-0.027905482798814774,
-0.004364432767033577,
0.014384862966835499,
0.017448129132390022,
0.021990211680531502,
0.019330259412527084,
0.00685153529047966,
0.002370669739320874,
0.014394465833902359,
-0.025370366871356964,
0.004088354762643576,
-0.06211034581065178,
0.009184994734823704,
-0.03506910428404808,
0.03987046331167221,
-0.0017248872900381684,
0.0517394132912159,
-0.005430333781987429,
0.04021615907549858,
0.01682395301759243,
-0.04486387223005295,
0.011916966177523136,
-0.03789230436086655,
-0.036759182810783386,
0.009309830144047737,
-0.04924270883202553,
0.0014200011501088738,
-0.041829414665699005,
0.0577315092086792,
-0.03472340852022171,
0.02852005697786808,
-0.09671851992607117,
0.010274901986122131,
0.06817925721406937,
0.02343061938881874,
0.0014812183799222112,
0.016727924346923828,
0.008834495209157467,
0.0935688316822052,
-0.024275656789541245,
0.011753720231354237,
-0.025504805147647858,
-0.008186312392354012,
0.0011013110633939505,
-0.016910376027226448,
0.030210133641958237,
0.02853926084935665,
0.027329320088028908,
-0.020588215440511703,
-0.03720090910792351,
-0.04086914286017418,
0.014999437145888805,
-0.04102278873324394,
0.015585202723741531,
0.012637170031666756,
0.025043874979019165,
0.0562334842979908,
0.0032817269675433636,
-0.05431294068694115,
0.02700282819569111,
0.03389757499098778,
0.015335531905293465,
0.009127378463745117,
-0.03720090910792351,
-0.0021798156667500734,
0.0065010362304747105,
0.06744945049285889,
0.01647825539112091,
-0.014394465833902359,
-0.00352179491892457,
0.02412201464176178,
0.018878933042287827,
-0.006356995552778244,
0.005977688357234001,
0.041522130370140076,
-0.019090192392468452,
0.048397671431303024,
-0.03328300267457962,
0.023987576365470886,
0.07063755393028259,
-0.015594805590808392,
-0.08181510865688324,
0.024640560150146484,
0.029307479038834572,
0.00702438410371542,
-0.0062897768802940845,
0.03800753504037857,
-0.025658447295427322,
-0.05673282593488693,
-0.02996046282351017,
-0.06445340812206268,
-0.013799098320305347,
0.00018050098151434213,
-0.07079119980335236,
-0.04544003680348396,
-0.024602148681879044,
-0.02487102523446083,
-0.011417625471949577,
0.04759104177355766,
0.004246799740940332,
0.013078894466161728,
0.03480023145675659,
0.003320137970149517,
0.01828356459736824,
-0.03001808002591133,
-0.000879248371347785,
0.01788025163114071,
-0.049165889620780945,
-0.006212954875081778,
0.04355790466070175,
0.014471287839114666,
0.02014649100601673,
0.027252499014139175,
0.012685183435678482,
-0.05266127735376358,
0.047629453241825104,
0.007624553516507149,
0.025466393679380417,
-0.0525844544172287,
0.04601619765162468,
-0.018331578001379967,
0.019551122561097145,
-0.017851442098617554,
-0.03731613978743553,
-0.08442705124616623,
-0.025043874979019165,
0.053583137691020966,
-0.02521672286093235,
-0.034953873604536057,
0.029326684772968292,
-0.024410095065832138,
-0.0416373610496521,
0.008637639693915844,
-0.06141895055770874,
0.013270949013531208,
-0.014759369194507599,
0.09449069201946259,
0.006611467804759741,
-0.03253398835659027,
-0.02848164550960064,
-0.061188485473394394,
0.0026791568379849195,
-0.01968556083738804,
0.022489553317427635,
0.030075695365667343,
0.01595010608434677,
-0.0277902502566576,
0.007014781702309847,
0.003228912129998207,
-0.05450499802827835,
0.0001312120584771037,
0.04905065521597862,
0.01804349757730961,
-0.004347627982497215,
-0.019368670880794525,
0.02817435935139656,
0.012483526021242142,
-0.04785991832613945,
0.02967238239943981,
0.003108878154307604,
0.057193756103515625,
0.023622673004865646,
0.06030503287911415,
0.04213670268654823,
0.000434222660260275,
0.019387876614928246
] |
725,584 | awpy.parser.demoparser | _parse_bomb_events | Returns bomb events as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a bomb event (defuse, plant, etc.)
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_bomb_events(self) -> pd.DataFrame:
"""Returns bomb events as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a bomb event (defuse, plant, etc.)
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
bomb_events = []
for r in self.json["gameRounds"] or []:
if r["bombEvents"] is not None:
for b in r["bombEvents"]:
new_b: dict[str, Any] = dict(b)
new_b["roundNum"] = r["roundNum"]
new_b["matchID"] = self.json["matchID"]
new_b["mapName"] = self.json["mapName"]
bomb_events.append(new_b)
return pd.DataFrame(bomb_events)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.024096939712762833,
-0.03525880351662636,
-0.06585127860307693,
-0.03664004057645798,
-0.06749382615089417,
-0.027699347585439682,
-0.02917390875518322,
0.08645780384540558,
0.03749864548444748,
-0.025160862132906914,
-0.029472554102540016,
0.02058785781264305,
-0.006556196603924036,
0.0105832414701581,
-0.004311691038310528,
-0.013980330899357796,
0.02646743506193161,
0.03718133270740509,
0.03518414497375488,
-0.009864626452326775,
-0.007498795632272959,
-0.04991108924150467,
-0.008520722389221191,
0.06312613934278488,
-0.025702157989144325,
0.04938845708966255,
-0.039122529327869415,
0.010163270868360996,
0.0455060712993145,
-0.0012540767202153802,
0.02047586441040039,
-0.06417139619588852,
-0.012468439526855946,
-0.00625755125656724,
-0.06790446490049362,
-0.009565981104969978,
-0.036565378308296204,
-0.0717121884226799,
-0.1155010536313057,
0.028408629819750786,
-0.038861215114593506,
-0.04472212865948677,
-0.011721826158463955,
-0.010032613761723042,
0.020494529977440834,
-0.03496016189455986,
0.02195042558014393,
0.023051680997014046,
0.022473055869340897,
-0.03818926215171814,
-0.04237029701471329,
0.032179027795791626,
-0.01627616584300995,
0.056406620889902115,
0.004178700502961874,
0.03098444454371929,
-0.04561806097626686,
0.05506271868944168,
0.018767988309264183,
0.0001273033703910187,
-0.03288830816745758,
0.06405940651893616,
-0.004293025471270084,
0.005044305231422186,
0.05371881648898125,
0.001532890135422349,
0.028445960953831673,
-0.036845359951257706,
-0.03787195309996605,
-0.03919718787074089,
0.01352303009480238,
0.050359055399894714,
-0.007172152400016785,
0.09384927153587341,
-0.0843672826886177,
-0.03587476164102554,
-0.06641124188899994,
-0.017993375658988953,
-0.010228600353002548,
-0.004218364134430885,
0.030032513663172722,
0.014036326669156551,
-0.040877070277929306,
0.0010720897698774934,
-0.0030937781557440758,
-0.01909463107585907,
0.039010535925626755,
0.09608910977840424,
-0.08780170232057571,
-0.002225840464234352,
0.015230908058583736,
-0.06241685897111893,
-0.053606823086738586,
-0.007876768708229065,
-0.008198745548725128,
0.005450275726616383,
-0.0455060712993145,
0.0567425973713398,
-0.05166563019156456,
-0.004615002311766148,
-0.03294430300593376,
0.03594942390918732,
-0.05480140447616577,
0.05454009026288986,
-0.034344203770160675,
0.02148379385471344,
0.021670445799827576,
-0.04561806097626686,
-0.02180110290646553,
0.015240240842103958,
-0.0987769141793251,
0.02137180045247078,
-0.009957952424883842,
-0.04879117012023926,
0.0455060712993145,
0.01750807836651802,
0.018068037927150726,
0.015230908058583736,
-0.010247264988720417,
-0.022137079387903214,
0.08018624782562256,
-0.018366683274507523,
0.0512549914419651,
0.0055062719620764256,
0.041138384491205215,
0.007312142290174961,
-0.024040943011641502,
-0.07398936152458191,
0.05188961327075958,
0.01241244375705719,
0.02796066179871559,
0.005104967392981052,
0.020979829132556915,
0.022883692756295204,
-0.005772253032773733,
0.010004616342484951,
0.014297641813755035,
-0.01886131428182125,
0.026243451982736588,
-0.03706934303045273,
0.02896858938038349,
-0.04684997349977493,
0.02445157989859581,
-0.058795783668756485,
-0.021651780232787132,
-0.009985950775444508,
-0.01857200264930725,
0.02366763725876808,
-0.004661665763705969,
-0.021819768473505974,
0.005641595460474491,
-0.021241143345832825,
-0.05334550887346268,
-0.03300030156970024,
0.03294430300593376,
-0.027307376265525818,
0.01601485162973404,
0.01832002028822899,
0.01275775209069252,
0.020438535138964653,
0.02174510806798935,
-0.036994680762290955,
-0.02588880993425846,
-0.015034922398626804,
-0.05722789838910103,
0.03242167457938194,
0.04961244389414787,
-0.0345681868493557,
-0.006164224818348885,
-0.006369543261826038,
0.02361164055764675,
0.11647164821624756,
0.0046196687035262585,
0.024787556380033493,
-0.014801605604588985,
0.05566000938415527,
-0.0018875313689932227,
0.01644415408372879,
-0.0006731183966621757,
-0.0391598604619503,
-0.04461013525724411,
-0.004661665763705969,
0.007120822556316853,
-0.043938182294368744,
-0.0029677872080355883,
-0.019075965508818626,
0.01015393901616335,
0.004955644719302654,
0.002116181654855609,
0.06002769619226456,
-0.015454892069101334,
-0.011264525353908539,
0.013625689782202244,
0.008838033303618431,
0.025272855535149574,
-0.014820271171629429,
-0.03729332610964775,
0.050620369613170624,
-0.06831510365009308,
-0.04106372222304344,
-0.05435343459248543,
0.010284596122801304,
-0.025366181507706642,
-0.02689673751592636,
-0.02796066179871559,
-0.022939689457416534,
-0.049948420375585556,
0.021241143345832825,
-0.010303261689841747,
-0.08287405967712402,
-0.06159558519721031,
-0.030200501903891563,
0.005772253032773733,
-0.0005762919900007546,
0.034344203770160675,
-0.02036387287080288,
0.025534169748425484,
-0.023518314585089684,
-0.015324234962463379,
-0.025179527699947357,
0.004894982557743788,
-0.03994380310177803,
-0.059057097882032394,
-0.030088508501648903,
-0.0371440052986145,
0.043415553867816925,
0.0018828649772331119,
0.031376417726278305,
0.0596170574426651,
-0.014409633353352547,
-0.032179027795791626,
-0.015706874430179596,
-0.029136577621102333,
-0.06779247522354126,
0.015548218972980976,
0.012300451286137104,
0.045058101415634155,
-0.054390765726566315,
0.04494611173868179,
-0.04979909583926201,
0.06458203494548798,
-0.06264084577560425,
-0.0016577144851908088,
0.02099849469959736,
0.02021455019712448,
-0.055772002786397934,
0.02960321120917797,
0.010648570023477077,
-0.03171239420771599,
0.01693878509104252,
-0.005468941293656826,
0.03815193101763725,
0.06872574239969254,
0.03706934303045273,
-0.022137079387903214,
-0.13872072100639343,
-0.019001305103302002,
0.053980130702257156,
0.018133366480469704,
-0.019953235983848572,
0.053494829684495926,
-0.04132503643631935,
0.03178705275058746,
0.0153335677459836,
-0.03154440596699715,
0.02572082169353962,
-0.03113376721739769,
-0.008665379136800766,
0.030144505202770233,
-0.004687330685555935,
-0.01952393352985382,
-0.07719980180263519,
0.01376567967236042,
-0.03173105791211128,
-0.019187957048416138,
0.021353134885430336,
-0.007718113251030445,
-0.012907074764370918,
-0.0251981932669878,
-0.018469342961907387,
-0.00591690931469202,
-0.03580009937286377,
0.03165639564394951,
0.03565077856183052,
0.004071374889463186,
-0.05218825861811638,
-0.021838434040546417,
0.036677371710538864,
0.0567425973713398,
-0.021670445799827576,
-0.003826392348855734,
0.00019846494251396507,
-0.010331259109079838,
0.00629954831674695,
-0.05536136403679848,
0.02366763725876808,
0.008203411474823952,
-0.03363492339849472,
-0.0032454340253025293,
-0.01684545911848545,
0.03029382787644863,
-0.0016005518846213818,
0.09773165732622147,
0.022193076089024544,
-0.09422257542610168,
0.027326039969921112,
0.01647215150296688,
-0.00879603624343872,
-0.013457701541483402,
-0.06704585999250412,
0.006957501173019409,
0.016201505437493324,
0.053121525794267654,
-0.007181485183537006,
0.02260371297597885,
-0.0164161566644907,
-0.0325523316860199,
0.02928590029478073,
0.0377226285636425,
-0.0009157676831819117,
-0.002027521375566721,
-0.024432914331555367,
0.07167486101388931,
0.012561766430735588,
0.09138544648885727,
0.02036387287080288,
0.035986751317977905,
-0.01052724476903677,
0.007312142290174961,
0.011208529584109783,
0.012683090753853321,
-0.06465669721364975,
0.011768489144742489,
0.026448769494891167,
0.025683492422103882,
-0.023219669237732887,
-0.07335474342107773,
-0.0030237832106649876,
0.024264926090836525,
-0.026878073811531067,
-0.009094681590795517,
0.00028260474209673703,
0.08115684986114502,
0.009439989924430847,
0.08959357440471649,
-0.04737260192632675,
0.06196888908743858,
-0.011441846378147602,
-0.020923832431435585,
0.026336777955293655,
0.004554340150207281,
0.03550145402550697,
0.032962970435619354,
0.05498805642127991,
0.044162165373563766,
-0.011964475736021996,
-0.007130155339837074,
-0.017984043806791306,
-0.016612142324447632,
0.01811470091342926,
0.073728047311306,
0.002673808252438903,
-0.021185148507356644,
-0.031432412564754486,
0.010471248999238014,
0.008273406885564327,
-0.003826392348855734,
-0.012039137072861195,
-0.02689673751592636,
0.01519357692450285,
-0.0008976856479421258,
0.012608429417014122,
0.002673808252438903,
0.026280783116817474,
0.01034059189260006,
0.039271850138902664,
0.07697581499814987,
0.01418564934283495,
-0.020233215764164925,
-0.007881434634327888,
0.0036374058108776808,
-0.019318614155054092,
-0.06734450161457062,
-0.004829653538763523,
0.07727445662021637,
-0.0007425301009789109,
-0.004880983382463455,
-0.03001384809613228,
0.002510486636310816,
-0.05468941107392311,
-0.037685297429561615,
-0.033074960112571716,
0.0011140868300572038,
0.04524475708603859,
-0.05431610718369484,
-0.036621373146772385,
0.04408750683069229,
0.010751228779554367,
0.02906191721558571,
0.011917811818420887,
0.012048469856381416,
-0.012393778190016747,
-0.015744203701615334,
-0.019486602395772934,
-0.030163170769810677,
-0.04158635064959526,
-0.006784847006201744,
-0.01840401440858841,
-0.00999528355896473,
0.007778775412589312,
0.042668942362070084,
0.016229502856731415,
-0.041399698704481125,
0.017704064026474953,
-0.04296758770942688,
0.029771199449896812,
-0.021969091147184372,
0.016201505437493324,
-0.01524957362562418,
0.010760561563074589,
-0.003357426030561328,
0.025478173047304153,
-0.01551088783890009,
0.021633116528391838,
-0.019971901550889015,
0.013933667913079262,
-0.010667235590517521,
0.0022550050634890795,
-0.01344836875796318,
0.019187957048416138,
0.0223237331956625,
-0.016658805310726166,
-0.06614992022514343,
-0.05775052681565285,
0.0532708466053009,
-0.020867837592959404,
-0.014484294690191746,
-0.04748459532856941,
0.012123131193220615,
0.09123612195253372,
-0.008147415705025196,
0.07145087420940399,
0.09698504954576492,
0.015221575275063515,
0.03574410453438759,
-0.04714861884713173,
0.007055494002997875,
0.01898263953626156,
0.048977822065353394,
-0.023163672536611557,
0.006126894149929285,
0.010825890116393566,
0.07021896541118622,
-0.06096096336841583,
-0.006556196603924036,
0.01209513284265995,
0.019971901550889015,
0.04662599042057991,
0.023518314585089684,
0.007690115366131067,
-0.04244495555758476,
-0.018879979848861694,
-0.013859006576240063,
-0.010993878357112408,
-0.027326039969921112,
0.058907777070999146,
0.0004059709026478231,
-0.035034820437431335,
-0.044796787202358246,
0.07466131448745728,
0.016369493678212166,
0.00004115850606467575,
0.017004113644361496,
-0.034773506224155426,
0.019542599096894264,
-0.038599900901317596,
-0.011479176580905914,
-0.06383541971445084,
0.07174952328205109,
0.019915904849767685,
-0.01559488195925951,
-0.03406422585248947,
0.009827295318245888,
0.005888910964131355,
-0.024526242166757584,
0.0008801869116723537,
-0.002130180597305298,
-0.06256618350744247,
0.0022468389943242073,
-0.06331279128789902,
-0.02934189699590206,
0.012207124382257462,
0.030835121870040894,
-0.01350436545908451,
-0.012739086523652077,
0.04169834405183792,
0.0515536367893219,
0.04095172882080078,
0.05252423509955406,
-0.0342695415019989,
0.040279779583215714,
0.05573467165231705,
-0.052225589752197266,
-0.04565539211034775,
-0.02327566407620907,
-0.074288010597229,
0.0223237331956625,
0.00645820377394557,
-0.037050675600767136,
-0.03257099911570549,
-0.01652814820408821,
0.05427877604961395,
0.005646261852234602,
0.007106823846697807,
-0.0527108870446682,
0.03652804717421532,
0.007391470018774271,
0.03432554006576538,
-0.009584645740687847,
0.02094249799847603,
0.060289010405540466,
-0.011955142952501774,
0.04610336199402809,
-0.011124535463750362,
-0.028557952493429184,
0.034026894718408585,
0.06159558519721031,
0.06891239434480667,
-0.020513195544481277,
-0.05831048637628555,
-0.04651399701833725,
0.006196889095008373,
0.013700351119041443,
0.03443752974271774,
0.0015737204812467098,
0.003954716492444277,
0.08347135037183762,
-0.012067134492099285,
-0.013233717530965805,
0.04199698939919472,
0.0011140868300572038,
-0.019281284883618355,
0.03326161578297615,
-0.02180110290646553,
-0.044796787202358246,
-0.02842729538679123,
-0.010237932205200195,
0.05957973003387451,
0.026224786415696144,
0.010396587662398815,
0.011535173282027245,
0.0008551053470000625,
0.03660270944237709,
0.007620120421051979,
-0.004838986322283745,
-0.039906471967697144,
0.021465128287672997,
0.013961665332317352,
0.03173105791211128,
-0.00848339218646288,
-0.008012092672288418,
-0.021763773635029793,
0.0014873933978378773,
-0.0012039137072861195,
-0.044050175696611404,
0.03482950106263161,
-0.010135273449122906,
0.12849211692810059,
-0.05498805642127991,
0.004206698387861252,
0.004447014536708593,
0.01961725950241089,
0.029659206047654152,
-0.07253346592187881,
0.02779267355799675,
-0.044796787202358246,
-0.04629001393914223,
0.03245900571346283,
-0.0035930757876485586,
-0.011357852257788181,
0.020886503159999847,
-0.02312634140253067,
-0.002089350251480937,
-0.022585047408938408,
-0.06096096336841583,
-0.005828248802572489,
-0.03692001849412918,
0.005930908024311066,
0.08630847930908203,
0.019393276423215866,
-0.0018373682396486402,
-0.028184646740555763,
0.03229101747274399,
-0.0009425990865565836,
0.06189423054456711,
0.08153015375137329,
-0.00007076055044308305,
-0.012580431066453457,
-0.07817039638757706,
-0.03994380310177803,
0.0032967636361718178,
0.04737260192632675,
0.012160461395978928,
-0.042780932039022446,
0.013205720111727715,
-0.03216036036610603,
0.027382036671042442,
0.03133908659219742,
-0.016509482637047768,
0.0014850602019578218,
0.011199196800589561,
0.0028744605369865894,
-0.013551028445363045,
0.03475484251976013,
0.02200642228126526,
-0.02127847447991371,
-0.010732564143836498,
0.008604716509580612,
-0.0010166771244257689,
-0.03775995969772339,
0.0303871538490057,
-0.007242147345095873,
-0.04475945606827736,
0.03113376721739769,
-0.021819768473505974,
-0.10788559913635254,
0.041026391088962555,
-0.00517029594630003,
-0.05166563019156456,
-0.07081625610589981,
0.03499748930335045,
-0.026224786415696144,
0.0008533555082976818,
-0.07667716592550278,
-0.05390546843409538,
0.05140431597828865,
0.00591690931469202,
-0.03395223245024681,
0.013980330899357796,
0.06447004526853561,
0.01817069761455059,
-0.0527108870446682,
-0.041138384491205215,
0.0116658303886652,
-0.01961725950241089,
0.018842648714780807,
-0.03154440596699715,
0.015380230732262135,
0.00905735045671463,
0.0021710109431296587,
0.022155744954943657,
0.01814269833266735,
-0.025328850373625755,
0.03957049548625946,
0.002774134511128068,
0.03223502263426781,
-0.02859528362751007,
-0.006294881924986839,
-0.011096538044512272,
0.009481986984610558,
0.011488509364426136,
-0.005235624499619007,
-0.025907475501298904,
-0.01941194199025631,
0.060662318021059036,
-0.0013100727228447795,
-0.0003345176810398698,
0.026859408244490623,
0.013541695661842823,
0.07876768708229065,
0.02148379385471344,
-0.0003724316193256527,
0.013961665332317352,
-0.01286041084676981,
0.010667235590517521,
0.01719076745212078,
-0.010312593542039394,
0.0653659775853157,
0.03878655284643173,
-0.008651379495859146,
-0.003415754996240139,
0.07637852430343628,
-0.021297140046954155,
-0.00026102294214069843,
-0.0015620546182617545,
0.016854790970683098,
0.026168789714574814,
-0.034773506224155426,
0.007349472958594561,
-0.014306974597275257,
0.06241685897111893,
-0.011497842147946358,
-0.0045706722885370255,
0.08981756120920181,
-0.035520121455192566,
-0.029155243188142776,
-0.013597691431641579,
-0.0013065730454400182,
-0.04576738551259041,
0.055510684847831726,
0.01941194199025631,
0.008642046712338924,
0.018366683274507523,
-0.014036326669156551,
0.04255694895982742,
-0.026654088869690895,
-0.0015282237436622381,
0.04599136859178543,
0.008259408175945282,
-0.009976617991924286,
-0.01395233254879713,
0.06264084577560425,
0.012991068884730339,
0.06469402462244034,
0.017676066607236862,
0.018310686573386192,
-0.007573456969112158,
0.015240240842103958,
-0.0263554435223341,
0.004633667878806591,
-0.020961163565516472,
0.009430657140910625,
-0.002783467061817646,
0.0886976420879364,
0.0060149021446704865,
0.004379352554678917,
0.008254741318523884,
-0.00835273414850235,
-0.017545409500598907,
0.0066961864940822124,
-0.015202909708023071,
0.02657942846417427,
0.009883291088044643,
-0.018478674814105034,
0.02312634140253067,
-0.05554801598191261,
-0.00809141993522644,
0.01725609600543976,
0.05371881648898125,
0.020139889791607857,
-0.034773506224155426,
-0.03749864548444748,
-0.0027671349234879017,
-0.036472052335739136,
-0.018077369779348373,
0.010125940665602684,
0.0125990966334939,
0.006117561366409063,
-0.016686802729964256,
0.016985448077321053,
0.018329352140426636,
0.006280883215367794,
-0.019187957048416138,
0.02896858938038349,
-0.010508580133318901,
0.04587937891483307,
-0.03565077856183052,
0.0607743076980114,
-0.012076467275619507,
-0.012113798409700394,
-0.03314962238073349,
0.041511692106723785,
-0.040018465369939804,
0.024992873892188072,
-0.023723632097244263,
0.024414248764514923,
0.007648118305951357,
0.01837601512670517
] |
725,585 | awpy.parser.demoparser | _parse_damages | Returns damages as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a damage event.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_damages(self) -> pd.DataFrame:
"""Returns damages as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a damage event.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
damages = []
for r in self.json["gameRounds"] or []:
if r["damages"] is not None:
for d in r["damages"]:
new_d: dict[str, Any] = dict(d)
new_d["roundNum"] = r["roundNum"]
new_d["matchID"] = self.json["matchID"]
new_d["mapName"] = self.json["mapName"]
damages.append(new_d)
return pd.DataFrame(damages)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.018613753840327263,
-0.056456129997968674,
-0.015446247532963753,
-0.04166201502084732,
-0.03972424566745758,
-0.016415132209658623,
-0.02232159860432148,
0.051350854337215424,
0.05869201570749283,
0.008733930997550488,
-0.022563818842172623,
0.02153903804719448,
-0.0295695960521698,
-0.002267328556627035,
-0.00675889803096652,
-0.00964225921779871,
0.0035145338624715805,
0.06297746300697327,
0.046171050518751144,
-0.013834546320140362,
0.017179058864712715,
-0.009921745397150517,
-0.026774737983942032,
0.03310975059866905,
-0.030557112768292427,
0.03938886523246765,
-0.0007918764022178948,
0.024222102016210556,
0.06264208257198334,
-0.008952861651778221,
-0.02153903804719448,
-0.0238121896982193,
-0.022563818842172623,
0.023644497618079185,
-0.11313584446907043,
-0.014225826598703861,
-0.036649901419878006,
-0.07460407167673111,
-0.12714740633964539,
0.04289175197482109,
-0.06696479767560959,
-0.02828396111726761,
-0.004220235161483288,
-0.021818524226546288,
-0.02619713358581066,
-0.048220615833997726,
-0.020327933132648468,
-0.018064098432660103,
0.028414389118552208,
-0.05466742068529129,
-0.03132104128599167,
0.039053481072187424,
-0.018427429720759392,
0.061747726052999496,
0.025377308949828148,
0.03543879836797714,
-0.028172167018055916,
0.05999628081917763,
0.05932551622390747,
-0.014738216996192932,
-0.01074157003313303,
0.03098565712571144,
-0.014132664538919926,
-0.02923421375453472,
-0.005347494501620531,
-0.012856346555054188,
0.01630333811044693,
-0.02983045019209385,
-0.03998510167002678,
-0.041773807257413864,
-0.017654186114668846,
0.07706354558467865,
0.01426309160888195,
0.10888766497373581,
-0.028321227058768272,
-0.0028740453999489546,
-0.016685301437973976,
-0.04374884068965912,
0.0332401767373085,
0.0025526368990540504,
0.023010997101664543,
-0.005245016422122717,
-0.020849639549851418,
0.012558228336274624,
-0.006106764543801546,
-0.002704025013372302,
0.02666294388473034,
0.03465623781085014,
-0.056716982275247574,
-0.0017293182900175452,
-0.0044997213408350945,
-0.0035215208772569895,
-0.049077704548835754,
-0.02349543757736683,
0.0028624003753066063,
0.030967025086283684,
-0.04404696077108383,
0.03228992596268654,
-0.017020683735609055,
0.014440098777413368,
-0.020719213411211967,
0.08041737973690033,
-0.01458915788680315,
0.0476243793964386,
-0.029793184250593185,
-0.026253031566739082,
0.015520777553319931,
-0.02718465030193329,
0.005212409887462854,
0.029066521674394608,
-0.08973357081413269,
-0.003814981086179614,
0.012055153958499432,
-0.041177570819854736,
0.07199554145336151,
-0.0046883742325007915,
0.00395239470526576,
0.012483698315918446,
-0.003272312693297863,
-0.01426309160888195,
0.03953792154788971,
-0.022917835041880608,
0.052431534975767136,
0.040395013988018036,
0.00436929427087307,
0.006791504565626383,
-0.0355878584086895,
-0.07698901742696762,
0.06431899219751358,
0.05906466394662857,
0.0030068012420088053,
-0.004099125042557716,
-0.0016280047129839659,
0.016582822427153587,
0.02619713358581066,
-0.0077743628062307835,
0.032699838280677795,
-0.011943358927965164,
0.0900316908955574,
-0.03603503480553627,
0.003328209975734353,
-0.023700395599007607,
0.0072852629236876965,
-0.04781070351600647,
-0.009931061416864395,
0.020532889291644096,
-0.0009508339571766555,
0.05500280112028122,
-0.0076253036968410015,
-0.04568661004304886,
0.0002461512922309339,
0.005929756909608841,
-0.027520034462213516,
-0.026625679805874825,
0.042742691934108734,
-0.015707101672887802,
-0.019638534635305405,
-0.023961247876286507,
0.011691821739077568,
0.012856346555054188,
-0.006418856792151928,
-0.032569412142038345,
-0.007406373508274555,
-0.01821315661072731,
-0.03385504335165024,
-0.027221916243433952,
0.0379355363547802,
-0.04844420403242111,
-0.020402463153004646,
0.04598472639918327,
0.0230296291410923,
0.07788337022066116,
-0.0007027902756817639,
-0.00130659609567374,
-0.0011260948376730084,
0.03856903687119484,
0.01973169669508934,
0.007005777209997177,
-0.02569405920803547,
-0.028060372918844223,
-0.008887647651135921,
-0.027669092640280724,
-0.010639091953635216,
-0.02561953105032444,
-0.008869015611708164,
-0.03499162197113037,
0.003386436030268669,
-0.006232533138245344,
-0.013676171191036701,
0.05422024428844452,
0.012343955226242542,
-0.009558414109051228,
0.00818893313407898,
0.0012961153406649828,
0.06390908360481262,
-0.02826532907783985,
-0.026178501546382904,
0.04989752918481827,
-0.051015473902225494,
-0.0484069399535656,
-0.05310229957103729,
0.002538662636652589,
-0.032569412142038345,
-0.024538852274417877,
-0.06469164043664932,
-0.025340044870972633,
-0.0452766977250576,
0.008985468186438084,
-0.02323458530008793,
-0.07497671991586685,
-0.05220794677734375,
-0.0058226203545928,
0.02666294388473034,
0.001467300346121192,
0.03391094133257866,
-0.00225335406139493,
0.036258623003959656,
-0.03486119210720062,
-0.010685672983527184,
-0.026178501546382904,
-0.02004844695329666,
-0.055934421718120575,
-0.09726105630397797,
-0.00640488276258111,
-0.04509037360548973,
0.03676169738173485,
-0.031227879226207733,
0.03407863527536392,
0.05149991437792778,
-0.009455936029553413,
-0.026961062103509903,
-0.014207194559276104,
-0.00837525725364685,
-0.06946153193712234,
0.00904136523604393,
0.0035844051744788885,
0.033817779272794724,
-0.03547606244683266,
0.07493945211172104,
-0.019452210515737534,
0.04419602081179619,
-0.07084032893180847,
0.012576860375702381,
0.04035774618387222,
0.013079934753477573,
-0.04386063665151596,
0.011943358927965164,
-0.023588599637150764,
0.002985839731991291,
0.03938886523246765,
0.011375071480870247,
0.0005153019446879625,
0.05045650154352188,
0.057685866951942444,
-0.038345448672771454,
-0.1319172978401184,
-0.03255077823996544,
0.05984722450375557,
0.028898829594254494,
-0.0329793244600296,
0.029718656092882156,
-0.0609651654958725,
0.01672256551682949,
0.017756663262844086,
-0.06036892905831337,
0.02006707899272442,
-0.009800635278224945,
-0.005766723304986954,
0.023402277380228043,
-0.018101362511515617,
-0.03359419107437134,
-0.020458359271287918,
0.012073785997927189,
-0.05466742068529129,
-0.01703931763768196,
0.04218371957540512,
0.049524880945682526,
-0.03357556089758873,
-0.01112353429198265,
0.03176821768283844,
0.028712507337331772,
-0.038345448672771454,
0.01991802081465721,
0.032122232019901276,
0.0037497675511986017,
-0.027333710342645645,
-0.01813862845301628,
0.027836784720420837,
0.020737845450639725,
-0.004313397221267223,
0.022936467081308365,
0.030165832489728928,
-0.00316284759901464,
0.008440470322966576,
-0.024613382294774055,
0.03543879836797714,
0.007513509597629309,
-0.03182411566376686,
0.009339483454823494,
-0.003358487505465746,
0.009623627178370953,
-0.015865476801991463,
0.121930330991745,
0.018064098432660103,
-0.09196945279836655,
-0.0012017888948321342,
-0.006078816018998623,
-0.021986214444041252,
-0.031022923067212105,
-0.0465809628367424,
0.013583009131252766,
0.025973545387387276,
0.05958636850118637,
0.0021799891255795956,
0.03223402798175812,
-0.021781258285045624,
-0.017225639894604683,
0.015073600225150585,
0.04963667690753937,
0.01841811276972294,
-0.0013380382442846894,
0.0009141514310613275,
0.05604621767997742,
0.022228436544537544,
0.0947270467877388,
0.028097636997699738,
0.039761509746313095,
0.001300773466937244,
0.03799143433570862,
0.02109185978770256,
-0.011179431341588497,
-0.08392026275396347,
0.022601084783673286,
-0.008314701728522778,
0.04848146811127663,
-0.014896592125296593,
-0.03033352456986904,
-0.03407863527536392,
0.019359048455953598,
0.015893425792455673,
-0.013732068240642548,
0.002538662636652589,
0.07520031183958054,
-0.0183156356215477,
0.10262718051671982,
-0.04080492630600929,
0.07151109725236893,
-0.04043227806687355,
-0.030501214787364006,
0.0324389822781086,
-0.02355133555829525,
0.03148873150348663,
0.026812003925442696,
0.07102665305137634,
0.03201043978333473,
-0.03119061328470707,
-0.005510528106242418,
-0.00782560184597969,
-0.010145334526896477,
-0.001102222129702568,
0.04904044046998024,
0.004585896153002977,
-0.01608906500041485,
-0.02219117060303688,
0.012306691147387028,
-0.03247625008225441,
0.004255170933902264,
-0.0289174634963274,
-0.03389231115579605,
0.03281163051724434,
-0.03240171819925308,
0.02237749472260475,
-0.022526554763317108,
0.03912800922989845,
0.0016396499704569578,
0.017551707103848457,
0.06372275948524475,
0.011961991898715496,
0.0030277627520263195,
-0.0113191744312644,
-0.03404136747121811,
0.00219862163066864,
-0.05899013206362724,
0.031097451224923134,
0.10083847492933273,
-0.02090553753077984,
-0.008361282758414745,
-0.0486677922308445,
-0.01206446997821331,
-0.048220615833997726,
-0.01719769276678562,
-0.051462650299072266,
0.007145519834011793,
0.03456307575106621,
-0.054965537041425705,
-0.02716601826250553,
0.021650832146406174,
0.014356253668665886,
-0.002322060987353325,
0.017179058864712715,
-0.012316007167100906,
-0.040991250425577164,
-0.012055153958499432,
-0.03705981373786926,
-0.06223217025399208,
-0.0044158753007650375,
0.0031838088762015104,
-0.006409540772438049,
-0.01223216112703085,
0.011263277381658554,
0.012316007167100906,
0.03655673936009407,
-0.04173654317855835,
0.006609838921576738,
0.0013170767342671752,
0.032699838280677795,
0.025023294612765312,
0.040655866265296936,
-0.02716601826250553,
0.018781444057822227,
0.039053481072187424,
-0.01461710687726736,
-0.03666853532195091,
0.026048075407743454,
-0.01721632480621338,
-0.006232533138245344,
-0.016191544011235237,
0.014328304678201675,
-0.015902740880846977,
0.026998326182365417,
0.019713064655661583,
0.02412893995642662,
-0.022563818842172623,
-0.07713807374238968,
0.06476617604494095,
-0.006456121802330017,
-0.011430968530476093,
-0.03450717777013779,
-0.0002800680522341281,
0.08690144866704941,
-0.013834546320140362,
0.05012111738324165,
0.08615615218877792,
0.017989568412303925,
0.013350103981792927,
-0.07229365408420563,
0.011253961361944675,
0.002177660120651126,
0.022284332662820816,
-0.04304081201553345,
0.016210176050662994,
0.0006940563907846808,
0.07952301949262619,
-0.03623998910188675,
-0.021259551867842674,
0.02043972723186016,
-0.014607790857553482,
0.06100242957472801,
0.010303709656000137,
0.02006707899272442,
-0.03618409484624863,
-0.027277812361717224,
0.009106578305363655,
0.0089621776714921,
-0.05157444253563881,
0.0499720573425293,
0.015129497274756432,
-0.058580219745635986,
-0.05060556158423424,
0.0321781300008297,
0.031786851584911346,
0.009632943198084831,
0.02847028523683548,
-0.03396683931350708,
-0.010592510923743248,
-0.04359978437423706,
0.00034353460068814456,
-0.04702814295887947,
0.01991802081465721,
0.01841811276972294,
-0.015446247532963753,
-0.04136389493942261,
-0.0005930339102633297,
0.011421652510762215,
-0.04277995601296425,
-0.016033168882131577,
-0.023439541459083557,
-0.05109000205993652,
-0.015744365751743317,
-0.07281536608934402,
-0.029513699933886528,
-0.021371345967054367,
0.014477363787591457,
-0.016107697039842606,
0.01223216112703085,
0.058207571506500244,
0.04740079119801521,
0.006866034120321274,
0.039575185626745224,
-0.03215949609875679,
0.03569965064525604,
0.01100242417305708,
-0.03396683931350708,
-0.05280417948961258,
-0.017309486865997314,
-0.007271288428455591,
0.04572387412190437,
0.018166575580835342,
-0.006348985247313976,
-0.030613010749220848,
-0.03571828454732895,
0.052319739013910294,
-0.02431526407599449,
0.02166946418583393,
-0.03517794609069824,
0.032513514161109924,
0.006428173277527094,
0.037097081542015076,
-0.03564375266432762,
0.0017316474113613367,
0.044084224849939346,
-0.019135460257530212,
0.007070990279316902,
-0.010499349795281887,
-0.008011925965547562,
0.030240362510085106,
0.04754984751343727,
0.05850569158792496,
0.01419787760823965,
-0.09189492464065552,
-0.026029443368315697,
0.01894913613796234,
-0.007466928567737341,
-0.002343022497370839,
0.009539781138300896,
-0.020942801609635353,
0.0803428441286087,
-0.03331470489501953,
-0.04207192733883858,
0.043115340173244476,
0.0232904814183712,
-0.014682319946587086,
-0.009558414109051228,
-0.030035406351089478,
-0.03597913682460785,
-0.0675237625837326,
-0.027575930580496788,
0.030203096568584442,
0.026122605428099632,
-0.003083659801632166,
-0.009791318327188492,
0.013480531051754951,
0.007546116132289171,
-0.020980065688490868,
0.043450724333524704,
0.030072670429944992,
0.004248184151947498,
0.0037125027738511562,
0.02006707899272442,
-0.009381406009197235,
0.017281537875533104,
-0.06603317707777023,
0.014384201727807522,
-0.02297373116016388,
-0.06290293484926224,
0.004746600054204464,
0.023122791200876236,
0.1596422791481018,
-0.08593256026506424,
-0.01980622671544552,
-0.011011740192770958,
0.03351966291666031,
0.05597168579697609,
-0.019191358238458633,
-0.00009141514601651579,
-0.05381033197045326,
-0.012129683047533035,
0.01536240242421627,
0.007983976975083351,
-0.010629775933921337,
0.0183156356215477,
-0.017151111736893654,
-0.020029814913868904,
-0.02226570062339306,
-0.06867897510528564,
0.008025900460779667,
-0.03501025214791298,
0.0335010290145874,
0.08645427227020264,
0.05027017742395401,
-0.002722657285630703,
-0.06055525317788124,
0.014095399528741837,
-0.0037614128086715937,
0.039053481072187424,
0.07840508222579956,
0.00047832829295657575,
-0.001506894244812429,
-0.03789827227592468,
-0.015483512543141842,
-0.016051800921559334,
0.04799702763557434,
-0.005529160611331463,
-0.016256757080554962,
0.022153906524181366,
-0.010163966566324234,
0.055226393043994904,
0.018045466393232346,
-0.011934042908251286,
-0.022396128624677658,
0.002129914704710245,
0.03009130246937275,
-0.005594373680651188,
0.030948393046855927,
0.03493572399020195,
0.0035681019071489573,
0.005310229957103729,
0.0017898735823109746,
0.0022125958930701017,
-0.011151483282446861,
0.01080678403377533,
-0.018855974078178406,
-0.043711576610803604,
-0.004380939528346062,
0.017831193283200264,
-0.10121112316846848,
0.011831564828753471,
0.003684554249048233,
-0.07628098875284195,
-0.09010621905326843,
0.02153903804719448,
-0.039947833865880966,
0.012092418037354946,
-0.037115711718797684,
-0.0573132187128067,
0.05977269262075424,
0.0003586734237615019,
-0.04348798841238022,
-0.00011783528316300362,
0.033799149096012115,
0.031730953603982925,
-0.03398547321557999,
-0.03085523098707199,
0.022042112424969673,
-0.03799143433570862,
-0.00255496590398252,
-0.041960131376981735,
0.03174958378076553,
0.011076953262090683,
0.0003598379553295672,
0.004725638777017593,
0.028563447296619415,
-0.01860443688929081,
0.01580957882106304,
-0.004984163213521242,
0.028041740879416466,
-0.03368735313415527,
-0.012539595365524292,
-0.016238125041127205,
0.006516676861792803,
-0.02776225470006466,
0.02988634631037712,
0.018781444057822227,
0.006269797682762146,
0.09502516686916351,
-0.024669278413057327,
0.011617292650043964,
-0.012884294614195824,
0.0324389822781086,
0.0803428441286087,
0.018800077959895134,
0.05183529853820801,
0.01258617639541626,
0.0287870354950428,
0.020886903628706932,
0.024240734055638313,
0.028768403455615044,
0.061114225536584854,
0.0450158454477787,
0.024240734055638313,
-0.041624750941991806,
0.09219304472208023,
-0.01390907634049654,
-0.015250607393682003,
-0.0236817616969347,
0.04386063665151596,
0.0019435907015576959,
-0.022209804505109787,
-0.014169929549098015,
0.004117757081985474,
0.036128196865320206,
-0.03860630467534065,
0.0002505182637833059,
0.05340041592717171,
-0.020737845450639725,
-0.057164158672094345,
-0.008282095193862915,
0.015641888603568077,
-0.02828396111726761,
0.043897900730371475,
0.023439541459083557,
0.012465066276490688,
0.01223216112703085,
-0.005948388949036598,
0.038792628794908524,
-0.04989752918481827,
0.022731510922312737,
0.047847967594861984,
0.005487237591296434,
-0.024669278413057327,
-0.017700767144560814,
0.06685300171375275,
0.025377308949828148,
0.0803428441286087,
0.016601456329226494,
0.02425936609506607,
-0.01771939918398857,
0.0034400043077766895,
-0.051201798021793365,
-0.018539223819971085,
-0.010396871715784073,
0.0291783157736063,
0.027445504441857338,
0.04691634699702263,
-0.04471772536635399,
0.010490032844245434,
0.024017145857214928,
0.01335942093282938,
-0.008864357136189938,
0.018511274829506874,
-0.00664710346609354,
0.02289920300245285,
0.034842561930418015,
-0.061375077813863754,
-0.01384386233985424,
-0.05429477244615555,
-0.007406373508274555,
0.034786663949489594,
0.08011925965547562,
0.056716982275247574,
-0.03676169738173485,
-0.0038173100911080837,
-0.031283777207136154,
-0.032643940299749374,
-0.026346193626523018,
0.0008850383455865085,
0.002778554568067193,
0.034917090088129044,
-0.022470656782388687,
0.0044904048554599285,
0.04263089969754219,
-0.001375303021632135,
-0.007727781776338816,
0.028321227058768272,
0.022433392703533173,
0.044419609010219574,
-0.014141980558633804,
0.013946340419352055,
0.021781258285045624,
-0.003358487505465746,
0.013247625902295113,
0.04050680622458458,
-0.019694432616233826,
0.006866034120321274,
-0.04613378643989563,
0.00316284759901464,
0.002727315528318286,
-0.008226198144257069
] |
725,586 | awpy.parser.demoparser | _parse_flashes | Returns flashes as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a flash event.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_flashes(self) -> pd.DataFrame:
"""Returns flashes as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a flash event.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
flashes = []
for r in self.json["gameRounds"] or []:
if r["flashes"] is not None:
for f in r["flashes"]:
new_f: dict[str, Any] = dict(f)
new_f["roundNum"] = r["roundNum"]
new_f["matchId"] = self.json["matchID"]
new_f["mapName"] = self.json["mapName"]
flashes.append(new_f)
return pd.DataFrame(flashes)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.011691665276885033,
-0.03829681873321533,
-0.04691269248723984,
0.01118968054652214,
-0.03285713866353035,
-0.003831051057204604,
-0.02845793217420578,
0.07608252763748169,
0.04512380436062813,
0.02639523334801197,
0.012202776037156582,
0.011116664856672287,
0.0018744540866464376,
0.0007056298782117665,
0.019203171133995056,
-0.02059047296643257,
0.015789680182933807,
0.07086189091205597,
0.04154602438211441,
0.0038127971347421408,
0.030173804610967636,
-0.04574443772435188,
-0.028257139027118683,
0.06786824017763138,
-0.01905713975429535,
0.01987856812775135,
-0.03156110644340515,
0.030867455527186394,
0.04154602438211441,
0.009268450550734997,
0.020024599507451057,
-0.04457618296146393,
-0.008013490587472916,
0.024971425533294678,
-0.07922220975160599,
0.0027882931753993034,
-0.058522213250398636,
-0.07761586457490921,
-0.1218634694814682,
-0.005946229211986065,
-0.04815395921468735,
-0.004330753348767757,
-0.03822380304336548,
-0.04110793024301529,
-0.012905553914606571,
-0.010687696747481823,
0.026650790125131607,
0.03942856565117836,
0.03351427987217903,
-0.026869837194681168,
-0.018372615799307823,
0.02895078994333744,
-0.03953808918595314,
0.06082221120595932,
0.02117460034787655,
-0.008296427316963673,
-0.06713808327913284,
0.003497916040942073,
-0.0004503595409914851,
-0.05490792915225029,
0.004009027034044266,
0.008583927527070045,
0.010313490405678749,
0.06173491105437279,
0.040049199014902115,
0.022799203172326088,
0.05421427637338638,
-0.0381142795085907,
-0.04187459498643875,
-0.07338093966245651,
-0.014630553312599659,
0.05366665869951248,
-0.015378965996205807,
0.05969046801328659,
-0.0603841170668602,
-0.022634917870163918,
-0.013042458333075047,
-0.033477772027254105,
-0.010605554096400738,
-0.009104165248572826,
0.027180153876543045,
0.02276269532740116,
-0.06140634045004845,
0.04121745377779007,
-0.003431745572015643,
0.022908726707100868,
0.03774920105934143,
0.0763745903968811,
-0.10236823558807373,
0.022507138550281525,
-0.002692459849640727,
-0.042933326214551926,
-0.03455475717782974,
-0.03287539258599281,
0.0031875986605882645,
0.005581149831414223,
-0.038369834423065186,
0.039136502891778946,
-0.03167062997817993,
0.008383133448660374,
-0.020061107352375984,
0.06334125995635986,
-0.05311904102563858,
0.03763967752456665,
-0.020188886672258377,
-0.04296983405947685,
-0.007534324191510677,
-0.04851904138922691,
0.004022717475891113,
0.025774599984288216,
-0.07381903380155563,
0.002525892574340105,
-0.01563452184200287,
-0.016802774742245674,
0.05622221529483795,
0.012257537804543972,
0.020225394517183304,
0.01026785559952259,
0.027654757723212242,
-0.029626185074448586,
0.0806095078587532,
-0.02095555141568184,
0.03376983478665352,
0.002150545362383127,
0.023584123700857162,
0.00966547429561615,
-0.025172218680381775,
-0.05600316449999809,
0.08447935432195663,
0.043261896818876266,
0.0013758926652371883,
0.011582140810787678,
-0.0035321423783898354,
0.000691939378157258,
0.011509125120937824,
0.005243451800197363,
0.0021722218953073025,
-0.014730949886143208,
0.02460634522140026,
-0.01894761621952057,
0.001891567138954997,
-0.045379359275102615,
-0.0051567452028393745,
-0.03895396366715431,
-0.018710315227508545,
-0.002264632610604167,
-0.013562696054577827,
0.0196047592908144,
-0.00844245869666338,
-0.004574900027364492,
0.002877281280234456,
0.018856346607208252,
-0.03617936000227928,
-0.04275078698992729,
0.03389761224389076,
-0.01694880612194538,
-0.003276586765423417,
-0.00527995964512229,
0.042823802679777145,
-0.003915475681424141,
0.007607339881360531,
-0.06673649698495865,
-0.03013729676604271,
-0.009875395335257053,
-0.026048408821225166,
0.021758725866675377,
0.022306345403194427,
-0.022890472784638405,
-0.0021174598950892687,
0.03707380220293999,
0.0314880907535553,
0.08739998936653137,
0.047058723866939545,
-0.010888490825891495,
-0.0338793583214283,
0.034737296402454376,
-0.00752063374966383,
-0.019148409366607666,
0.02801983617246151,
-0.046292055398225784,
-0.060968246310949326,
-0.017669837921857834,
0.00505178514868021,
-0.013498807325959206,
0.004800792783498764,
-0.011098410934209824,
-0.01167341135442257,
0.007548014633357525,
0.01295118872076273,
0.06907300651073456,
-0.01869206130504608,
-0.0029639876447618008,
0.014347616583108902,
0.023547615855932236,
0.030757931992411613,
-0.03198094666004181,
0.006959324236959219,
0.02026190236210823,
-0.04903015121817589,
-0.05947142094373703,
-0.05622221529483795,
0.013325395062565804,
-0.022196821868419647,
-0.04329840466380119,
-0.05147618427872658,
-0.024149997159838676,
-0.04307935759425163,
0.030995232984423637,
-0.06272062659263611,
-0.06841586530208588,
-0.06889046728610992,
-0.006512102205306292,
0.01747817173600197,
-0.009875395335257053,
0.028640471398830414,
-0.019294440746307373,
0.03840634226799011,
-0.0064573404379189014,
0.01336190290749073,
-0.012239283882081509,
-0.0035047612618654966,
-0.03884444013237953,
-0.10667617619037628,
-0.009382538497447968,
-0.06918253004550934,
0.04552539065480232,
0.002400396391749382,
0.024022217839956284,
0.036745231598615646,
-0.038479357957839966,
-0.04001269116997719,
-0.012266664765775204,
-0.00538948317989707,
-0.05282697454094887,
0.0592888779938221,
0.011089283972978592,
0.04691269248723984,
-0.026267455890774727,
0.07659363746643066,
-0.030429359525442123,
0.07327141612768173,
-0.09119681268930435,
0.015305950306355953,
0.051184117794036865,
0.039830151945352554,
-0.037603169679641724,
0.028549201786518097,
-0.01927618682384491,
-0.005562895908951759,
0.004390078596770763,
-0.012859918177127838,
0.04935872182250023,
0.06717459112405777,
0.039026979357004166,
-0.000558742496650666,
-0.10353649407625198,
-0.01528769638389349,
0.0423492006957531,
0.030484123155474663,
-0.017012694850564003,
0.03318570926785469,
-0.021923013031482697,
0.03654443845152855,
0.002132291439920664,
-0.05125713348388672,
0.002929761540144682,
-0.0677587166428566,
-0.0029936502687633038,
0.021758725866675377,
-0.0023148308973759413,
-0.02216031402349472,
-0.04833650216460228,
0.019732536748051643,
-0.03502935916185379,
-0.017989283427596092,
-0.006726586259901524,
0.013407537713646889,
0.006662697531282902,
-0.004809919744729996,
0.007739681284874678,
-0.010486903600394726,
-0.045160312205553055,
0.014886109158396721,
0.03274761512875557,
0.008748212829232216,
-0.02714364603161812,
-0.015059521421790123,
0.04457618296146393,
0.04457618296146393,
-0.03428094834089279,
0.022342853248119354,
0.004618253093212843,
0.012978569604456425,
-0.0027289679273962975,
-0.0708983987569809,
0.04202063009142876,
-0.015214679762721062,
-0.03873491287231445,
0.022744441404938698,
-0.041253961622714996,
0.04264126345515251,
-0.0036667652893811464,
0.14997458457946777,
0.03426269441843033,
-0.08323808014392853,
-0.008054561913013458,
-0.026103170588612556,
0.010861109010875225,
-0.016008727252483368,
-0.04187459498643875,
0.008771030232310295,
0.011089283972978592,
0.03232777118682861,
-0.01759682223200798,
0.02394920215010643,
-0.012312299571931362,
-0.03767618536949158,
0.010934125632047653,
0.04585396125912666,
0.012923807837069035,
0.040158722549676895,
-0.019915075972676277,
0.05739046633243561,
0.0546523742377758,
0.08331109583377838,
-0.026742059737443924,
0.06859840452671051,
-0.021795235574245453,
0.029772218316793442,
0.02964443899691105,
0.0005792781594209373,
-0.042495232075452805,
0.005015276838093996,
0.009327776730060577,
0.021302377805113792,
-0.00678591150790453,
-0.06998570263385773,
-0.02427777461707592,
0.034463487565517426,
0.008880553767085075,
-0.0038789676036685705,
-0.02655952051281929,
0.05812062695622444,
0.00431706290692091,
0.07739681005477905,
-0.03334999457001686,
0.04935872182250023,
-0.0012640871573239565,
-0.030173804610967636,
0.013653966598212719,
0.01289642695337534,
-0.020444441586732864,
0.015269442461431026,
0.06140634045004845,
0.04709523171186447,
-0.026157932355999947,
-0.02688809111714363,
-0.017176982015371323,
-0.010149205103516579,
0.015324204228818417,
0.06794125586748123,
0.02292698062956333,
-0.024533329531550407,
-0.006676387973129749,
0.020499203354120255,
0.006694641895592213,
-0.005804760847240686,
-0.015077775344252586,
-0.05260792747139931,
0.04056031256914139,
-0.0056541659869253635,
0.007182935252785683,
0.027307933196425438,
-0.017770234495401382,
-0.0001838231401052326,
0.061296816915273666,
0.08192379772663116,
0.01998809166252613,
-0.008027181029319763,
-0.008465276099741459,
-0.0075571415945887566,
-0.024697614833712578,
-0.06699205189943314,
0.014831346459686756,
0.07980633527040482,
-0.012832537293434143,
-0.045817453414201736,
-0.05844919756054878,
0.006366070359945297,
-0.010185712948441505,
-0.010486903600394726,
-0.04530634358525276,
0.050271421670913696,
0.014539283700287342,
-0.04983332380652428,
0.0018162695923820138,
0.01515079103410244,
0.03444523364305496,
0.02785555087029934,
-0.0027244044467806816,
-0.007694046478718519,
-0.05706189572811127,
0.004198411945253611,
-0.027526980265975,
-0.04391904175281525,
-0.0048555550165474415,
-0.0013644839636981487,
-0.0058321417309343815,
-0.04366348683834076,
0.01159126777201891,
0.05344761162996292,
-0.013279760256409645,
-0.03667221590876579,
0.0344269797205925,
0.0002874999481718987,
0.04129046946763992,
-0.01347142644226551,
0.034408725798130035,
-0.036033328622579575,
0.052534911781549454,
0.0016462794737890363,
-0.011983728036284447,
-0.004205257166177034,
0.06060316413640976,
-0.042896818369627,
0.01575317233800888,
-0.02672380581498146,
0.04501427710056305,
-0.011874204501509666,
0.022689679637551308,
0.022616663947701454,
-0.013288887217640877,
-0.025756346061825752,
-0.06633491069078445,
0.05165872350335121,
-0.015543251298367977,
0.006010117940604687,
-0.04625554755330086,
-0.004285118542611599,
0.07060633599758148,
0.010167459025979042,
0.03362380340695381,
0.0931682363152504,
0.012321426533162594,
0.017076585441827774,
-0.052644435316324234,
-0.02942539192736149,
0.039355549961328506,
0.015625394880771637,
-0.003543551079928875,
0.0011226189089938998,
-0.02090078964829445,
0.04691269248723984,
-0.03990316763520241,
0.0028909717220813036,
0.04384602606296539,
0.008638689294457436,
0.034518249332904816,
0.04245872423052788,
0.012978569604456425,
-0.021594440564513206,
0.004123114515095949,
-0.019896822050213814,
-0.03041110560297966,
-0.04245872423052788,
0.02971745654940605,
0.00784464180469513,
-0.04296983405947685,
-0.04158253222703934,
0.004552082624286413,
0.030976979061961174,
0.00934603065252304,
0.004809919744729996,
-0.057974595576524734,
0.035376183688640594,
-0.009884522296488285,
-0.004584026988595724,
-0.03840634226799011,
0.024350790306925774,
0.035759519785642624,
-0.0653126910328865,
-0.07192062586545944,
-0.03997618332505226,
-0.016629362478852272,
-0.02210555225610733,
-0.034627772867679596,
-0.004568054806441069,
-0.04943173751235008,
0.023876186460256577,
-0.0541047528386116,
-0.009022022597491741,
-0.011956347152590752,
0.015114283189177513,
-0.00655773701146245,
0.0011357389157637954,
0.0375666618347168,
0.0541047528386116,
0.029261106625199318,
0.03774920105934143,
-0.03491983562707901,
0.0314880907535553,
0.0012732141185551882,
-0.07819999009370804,
-0.005243451800197363,
-0.021904759109020233,
-0.061880942434072495,
0.05242538824677467,
0.018646426498889923,
0.004029562696814537,
-0.017231743782758713,
-0.024040471762418747,
0.05603967234492302,
-0.025373011827468872,
0.00015045260079205036,
-0.0725412592291832,
-0.009528569877147675,
0.0020090769976377487,
0.003434027312323451,
-0.018399996683001518,
0.004321626387536526,
0.012074998579919338,
0.007694046478718519,
0.03240078687667847,
-0.0005995286628603935,
-0.02519047260284424,
0.013681347481906414,
0.06158887967467308,
0.06308570504188538,
-0.009327776730060577,
-0.0741841122508049,
-0.05917935445904732,
0.030611900612711906,
0.01798015646636486,
-0.001945188152603805,
-0.0005778520717285573,
0.0011288936948403716,
0.04574443772435188,
-0.026139678433537483,
-0.02020714059472084,
0.005352975334972143,
0.016090869903564453,
0.0023798607289791107,
-0.016319045796990395,
-0.044174596667289734,
-0.034518249332904816,
-0.06356030702590942,
-0.04413808882236481,
0.014374997466802597,
0.022507138550281525,
0.011956347152590752,
-0.01520555280148983,
0.006347816437482834,
0.014721822924911976,
-0.01341666467487812,
-0.007680356036871672,
-0.0014523310819640756,
0.04322538897395134,
0.0166658703237772,
-0.004638788755983114,
-0.03073967806994915,
0.026103170588612556,
-0.057646021246910095,
0.02340158447623253,
-0.03398888185620308,
-0.0546523742377758,
-0.034792058169841766,
0.02791031263768673,
0.11332061886787415,
-0.08039046078920364,
-0.004819046705961227,
0.005047221668064594,
0.04881110414862633,
0.05695237219333649,
-0.021630948409438133,
0.017149601131677628,
-0.07111744582653046,
-0.005736308638006449,
0.023273805156350136,
0.03156110644340515,
-0.007707736920565367,
0.023474600166082382,
0.0098023796454072,
-0.012869046069681644,
-0.02026190236210823,
-0.028275392949581146,
0.0030780748929828405,
-0.0027152772527188063,
0.036142852157354355,
0.05713491141796112,
0.018317854031920433,
-0.01498650573194027,
-0.0241134874522686,
0.032181739807128906,
0.0025167653802782297,
0.034573011100292206,
0.08791109919548035,
0.032729361206293106,
0.016109123826026917,
-0.05249840393662453,
-0.007908530533313751,
-0.044831737875938416,
0.04457618296146393,
-0.005813887808471918,
-0.06983967125415802,
0.008917062543332577,
-0.052169833332300186,
0.03482856601476669,
0.0661158636212349,
-0.022251583635807037,
-0.006954760756343603,
0.014594045467674732,
0.014959124848246574,
-0.013827378861606121,
0.03659920021891594,
0.05702538788318634,
0.0032720232848078012,
-0.011235315352678299,
0.00699126860126853,
-0.00974761787801981,
-0.006338689476251602,
0.015707537531852722,
-0.026596028357744217,
-0.06359681487083435,
0.029242852702736855,
0.015707537531852722,
-0.06856189668178558,
0.022342853248119354,
0.007319840136915445,
-0.07279681414365768,
-0.08104760944843292,
0.023109519854187965,
-0.00009618984040571377,
0.005854959599673748,
-0.03767618536949158,
-0.07907617837190628,
0.06016506999731064,
-0.0035640867426991463,
-0.0614793561398983,
0.010386506095528603,
0.03486507385969162,
0.02584761567413807,
-0.025975393131375313,
-0.03395237401127815,
0.00020065100397914648,
0.0014580354327335954,
-0.02389444038271904,
-0.02719840779900551,
-0.023711901158094406,
0.0135261882096529,
0.02498967945575714,
-0.01677539385855198,
0.025592058897018433,
-0.03143332898616791,
0.03334999457001686,
0.030484123155474663,
0.051074594259262085,
-0.008825791999697685,
-0.015424600802361965,
-0.009081347845494747,
0.027782535180449486,
-0.013653966598212719,
0.010112697258591652,
-0.03721983730792999,
0.016309918835759163,
0.060092054307460785,
-0.020553965121507645,
0.0062702372670173645,
0.005836705677211285,
0.04446665942668915,
0.04421110451221466,
-0.00314880907535553,
0.03659920021891594,
0.030666662380099297,
0.028476186096668243,
0.008926189504563808,
0.020626980811357498,
0.007456745021045208,
0.06224602088332176,
0.05706189572811127,
-0.003068947931751609,
-0.03035634383559227,
0.059325385838747025,
-0.019787298515439034,
0.006283927708864212,
-0.022634917870163918,
0.03154285252094269,
0.04329840466380119,
-0.02270793356001377,
-0.019476981833577156,
0.006452776957303286,
0.010751585476100445,
-0.03488332778215408,
-0.013407537713646889,
0.0795142725110054,
-0.039501581341028214,
-0.06633491069078445,
-0.02122936211526394,
0.02628570981323719,
-0.011235315352678299,
0.0673571303486824,
-0.0071281734853982925,
0.03665396198630333,
0.00812301505357027,
-0.022087298333644867,
0.04410158097743988,
-0.04034126177430153,
0.0028932534623891115,
0.03084920160472393,
-0.03198094666004181,
-0.025080949068069458,
-0.014539283700287342,
0.06958411633968353,
0.034189678728580475,
0.0662618950009346,
-0.0320357084274292,
0.013827378861606121,
-0.0006092261173762381,
-0.02774602733552456,
-0.025537297129631042,
0.012275791727006435,
-0.003303967649117112,
0.04698570817708969,
0.02351110801100731,
0.06808729469776154,
-0.02405872568488121,
0.03030158206820488,
-0.005749999079853296,
0.015981346368789673,
-0.011865077540278435,
-0.007018649484962225,
-0.005028967279940844,
0.04056031256914139,
-0.012713886797428131,
-0.0038515867199748755,
0.023328566923737526,
-0.07356347888708115,
0.012750394642353058,
0.0069730146788060665,
0.028038090094923973,
0.020006345584988594,
-0.028603963553905487,
-0.03506586700677872,
-0.032181739807128906,
-0.014384124428033829,
-0.04121745377779007,
0.010751585476100445,
0.022634917870163918,
-0.011262696236371994,
-0.047058723866939545,
0.04866507276892662,
0.04337142035365105,
-0.013489680364727974,
-0.029662692919373512,
0.02884126454591751,
0.028220631182193756,
0.06903649866580963,
-0.025865869596600533,
0.03968412056565285,
-0.006165276747196913,
-0.009647220373153687,
-0.03181666135787964,
0.059544436633586884,
-0.02769126556813717,
0.05622221529483795,
-0.020827773958444595,
0.008018054068088531,
0.003723809029906988,
0.005836705677211285
] |
725,587 | awpy.parser.demoparser | _parse_frames | Returns frames as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a frame (game state) in the demo, which is a discrete point of time.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_frames(self) -> pd.DataFrame:
"""Returns frames as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a frame (game state) in the demo, which is a discrete point of time.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
frames_dataframes = []
for r in self.json["gameRounds"] or []:
for frame in r["frames"] or []:
frame_item: dict[str, Any] = {}
frame_item["roundNum"] = r["roundNum"]
for k in ("tick", "seconds"):
# Currently there is no better way:
# https://github.com/python/mypy/issues/9230
k = cast(Literal["tick", "seconds"], k)
frame_item[k] = frame[k]
frame_item["ctTeamName"] = frame["ct"]["teamName"]
frame_item["ctEqVal"] = frame["ct"]["teamEqVal"]
frame_item["ctAlivePlayers"] = frame["ct"]["alivePlayers"]
frame_item["ctUtility"] = frame["ct"]["totalUtility"]
frame_item["tTeamName"] = frame["t"]["teamName"]
frame_item["tEqVal"] = frame["t"]["teamEqVal"]
frame_item["tAlivePlayers"] = frame["t"]["alivePlayers"]
frame_item["tUtility"] = frame["t"]["totalUtility"]
frames_dataframes.append(frame_item)
frames_df = pd.DataFrame(frames_dataframes)
frames_df["matchID"] = self.json["matchID"]
frames_df["mapName"] = self.json["mapName"]
return pd.DataFrame(frames_dataframes)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.026841172948479652,
-0.045806460082530975,
-0.0953279584646225,
0.022271672263741493,
-0.04138556122779846,
0.002955779666081071,
-0.044543344527482986,
0.10677028447389603,
0.01492517814040184,
-0.001963167218491435,
0.0047459653578698635,
0.058288998901844025,
-0.01821298897266388,
0.052902188152074814,
0.011981007643043995,
-0.008080214262008667,
0.04900139570236206,
0.06479031592607498,
-0.0028118218760937452,
-0.02191874384880066,
0.015064491890370846,
0.0056097120977938175,
-0.0034619539510458708,
0.08745206892490387,
-0.00943620502948761,
0.027491305023431778,
-0.029423126950860023,
-0.007597259245812893,
0.024816475808620453,
0.0026887611020356417,
-0.021510088816285133,
0.00714681064710021,
-0.041236959397792816,
0.011052248068153858,
-0.07942758500576019,
-0.0252065546810627,
-0.05308793857693672,
-0.03187505528330803,
-0.1485273540019989,
-0.03900793194770813,
-0.03360254690051079,
-0.06241269409656525,
0.009371191263198853,
-0.01466512493789196,
-0.02630249224603176,
-0.04361458495259285,
-0.010002748109400272,
0.00436285138130188,
0.039676640182733536,
-0.07779296487569809,
0.012436100281774998,
-0.023906290531158447,
-0.0216401144862175,
0.10327814519405365,
-0.008609607815742493,
0.02037700079381466,
-0.05962641164660454,
0.06490176916122437,
0.03492138907313347,
-0.023088980466127396,
-0.0556141659617424,
0.011423751711845398,
-0.013643489219248295,
0.0449148491024971,
0.005507548805326223,
-0.017637157812714577,
0.007030715700238943,
-0.026135314255952835,
-0.04420899227261543,
-0.063230000436306,
0.018287289887666702,
0.05743453651666641,
0.04747822880744934,
0.06973132491111755,
-0.04888994246721268,
0.005897628143429756,
-0.07233185321092606,
-0.031262073665857315,
-0.004191030748188496,
-0.0027700276114046574,
0.0065524037927389145,
0.031002018600702286,
-0.028680117800831795,
-0.011730242520570755,
-0.01594681479036808,
-0.017860060557723045,
0.07563824206590652,
0.05944066122174263,
-0.0852973461151123,
-0.012621852569282055,
-0.010792194865643978,
-0.022624600678682327,
-0.0158075001090765,
-0.009779846295714378,
-0.01590966433286667,
-0.015138792805373669,
-0.030760541558265686,
0.02580096200108528,
-0.0689140185713768,
-0.028958747163414955,
-0.0377819687128067,
0.021101433783769608,
-0.06887686252593994,
0.043986089527606964,
-0.03960233926773071,
0.01838945411145687,
-0.008526019752025604,
-0.04179421439766884,
-0.04060539975762367,
0.004996730480343103,
-0.10870210826396942,
0.031484972685575485,
-0.003582692937925458,
-0.008512088097631931,
0.06051802262663841,
0.022754628211259842,
-0.010634305886924267,
-0.000016942620277404785,
-0.015259532257914543,
-0.01311409566551447,
0.02700834907591343,
0.03975094109773636,
0.041422709822654724,
-0.016439057886600494,
0.005526124034076929,
-0.014014992862939835,
0.006724224425852299,
-0.0479983314871788,
0.0026028507854789495,
0.01159092877060175,
0.003243695478886366,
0.006143749225884676,
0.004722746089100838,
0.023088980466127396,
0.03129922226071358,
0.023627663031220436,
0.027937110513448715,
-0.01837087981402874,
-0.0037800543941557407,
0.004290872719138861,
0.03248803690075874,
-0.017339954152703285,
0.026878323405981064,
-0.04513775184750557,
-0.016736261546611786,
0.0037266507279127836,
-0.01887241005897522,
0.01987547054886818,
-0.029014471918344498,
0.014535099267959595,
-0.008953249081969261,
-0.042202867567539215,
-0.040679700672626495,
-0.0009572036215104163,
0.009064700454473495,
-0.035330042243003845,
0.004678630270063877,
0.01757214590907097,
0.03949088975787163,
0.0015905019827187061,
-0.023126130923628807,
-0.035571519285440445,
-0.029757481068372726,
-0.013857103884220123,
-0.02349763549864292,
0.03882218152284622,
-0.001397784217260778,
-0.04699527099728584,
-0.0363888293504715,
0.02167726494371891,
0.04257437214255333,
0.10974232107400894,
0.016699111089110374,
-0.012361799366772175,
-0.00290701980702579,
-0.019318213686347008,
-0.006496678572148085,
-0.0073372065089643,
0.011191561818122864,
-0.03822777420282364,
-0.009464067406952381,
-0.02604243904352188,
-0.04287157580256462,
-0.0137828029692173,
-0.02141721360385418,
0.007286124862730503,
0.02477932535111904,
0.009473355486989021,
0.016141854226589203,
0.05892055481672287,
-0.021584389731287956,
-0.00290701980702579,
0.016197578981518745,
-0.022364547476172447,
0.03856212645769119,
-0.010290664620697498,
0.0038079172372817993,
0.0423143208026886,
-0.0007900267373770475,
-0.025057952851057053,
-0.039676640182733536,
0.002732877153903246,
0.006436308845877647,
-0.06044372171163559,
-0.06642493605613708,
-0.03978809341788292,
-0.07574968785047531,
0.021584389731287956,
-0.040159594267606735,
-0.029441701248288155,
-0.047329626977443695,
-0.0736321210861206,
0.04640086367726326,
-0.001346702454611659,
0.03841352462768555,
-0.05004160478711128,
-0.013949980027973652,
-0.010151349939405918,
0.03215368092060089,
-0.022123070433735847,
0.06341575086116791,
-0.03178217634558678,
-0.08938389271497726,
-0.03191220387816429,
-0.01755356974899769,
0.005461110733449459,
0.011451615020632744,
0.06293279677629471,
-0.012454675510525703,
-0.04918714612722397,
-0.0004899210762232542,
-0.03956519067287445,
0.0010953566525131464,
-0.06947126984596252,
0.003770766779780388,
-0.005122113041579723,
0.06427021324634552,
-0.024147767573595047,
0.0255409087985754,
-0.04617796093225479,
0.016494782641530037,
-0.030686240643262863,
0.02067420445382595,
0.005479685962200165,
-0.022494575008749962,
-0.032042231410741806,
0.041942816227674484,
-0.029144499450922012,
-0.035850148648023605,
0.053942397236824036,
0.02806713618338108,
0.018064387142658234,
0.017516419291496277,
0.046586617827415466,
-0.009073988534510136,
-0.11724670231342316,
-0.007796942722052336,
0.005386809818446636,
0.022308822721242905,
-0.01965256780385971,
0.03523716703057289,
-0.037391889840364456,
0.0024217425379902124,
0.02067420445382595,
-0.043465983122587204,
0.027324128895998,
-0.03217225894331932,
0.004123695660382509,
0.013355573639273643,
-0.012278211303055286,
-0.030797692015767097,
-0.053942397236824036,
-0.0025633785407990217,
-0.030927717685699463,
-0.030946293845772743,
-0.000034375014365650713,
-0.006877470295876265,
-0.02678544819355011,
-0.021602964028716087,
-0.001696148538030684,
-0.0030602652113884687,
-0.06861681491136551,
0.00392169039696455,
0.0005996308755129576,
0.02682259865105152,
-0.036611732095479965,
-0.0375404916703701,
0.04287157580256462,
0.023887714371085167,
-0.005442535504698753,
-0.0028861225582659245,
-0.023107556626200676,
-0.010522854514420033,
0.026116739958524704,
-0.02832718938589096,
0.04027104750275612,
0.004704170860350132,
-0.02216022089123726,
0.01682913675904274,
0.0038613209035247564,
-0.009751982986927032,
0.0022615313064306974,
0.12987783551216125,
0.05483400821685791,
-0.04699527099728584,
0.02325615845620632,
-0.03183790296316147,
-0.016374044120311737,
0.002746808575466275,
-0.04903854429721832,
0.01184169389307499,
0.03213510662317276,
0.041682761162519455,
-0.021788716316223145,
0.026432517915964127,
0.00612981803715229,
-0.039416588842868805,
-0.0008591032819822431,
0.047069571912288666,
0.027138376608490944,
-0.031243497505784035,
-0.04484054818749428,
0.025150829926133156,
0.030519064515829086,
0.09919159859418869,
-0.015101642347872257,
0.05553986504673958,
-0.017534995451569557,
0.021510088816285133,
0.011804543435573578,
0.004506809636950493,
-0.02169584110379219,
0.0267482977360487,
0.008591032586991787,
0.06943412125110626,
-0.028772994875907898,
-0.0781644657254219,
0.018584493547677994,
0.06118673086166382,
0.005902271717786789,
0.0525306835770607,
-0.03960233926773071,
0.030259011313319206,
-0.021584389731287956,
0.09829998761415482,
-0.055242665112018585,
0.03089056722819805,
0.02193731814622879,
-0.000428971165092662,
0.034048352390527725,
-0.00765298493206501,
0.03945373743772507,
0.008563170209527016,
0.09250452369451523,
0.002512296661734581,
0.02604243904352188,
-0.005869765300303698,
-0.05379379540681839,
-0.0054193162359297276,
-0.003968128468841314,
0.053199391812086105,
0.015101642347872257,
0.0029697110876441,
-0.008461005985736847,
0.0042955162934958935,
-0.03564582020044327,
0.008298473432660103,
-0.03718756139278412,
-0.023534785956144333,
0.027918534353375435,
-0.017516419291496277,
-0.010977947153151035,
0.00835419911891222,
0.008330980315804482,
-0.01965256780385971,
0.05074746161699295,
0.03131779655814171,
0.03412265330553055,
-0.026841172948479652,
-0.05000445619225502,
0.04313162714242935,
-0.012371087446808815,
-0.022903230041265488,
0.016634097322821617,
0.0810621976852417,
-0.0356643944978714,
0.0020177317783236504,
-0.06575623154640198,
-0.0026423230301588774,
-0.037874843925237656,
-0.01648549549281597,
-0.01172095537185669,
0.0029093415942043066,
0.0018807395827025175,
-0.054202452301979065,
-0.018138688057661057,
0.0036616374272853136,
0.046066511422395706,
0.03449415788054466,
0.005586493294686079,
0.014488660730421543,
-0.06270989775657654,
0.03334249556064606,
0.006041585933417082,
-0.05505691096186638,
0.024667873978614807,
0.04818408563733101,
0.028141437098383904,
-0.05386809632182121,
0.000009586910891812295,
0.009501217864453793,
0.021472938358783722,
-0.06772520393133163,
0.025949563831090927,
-0.03168930113315582,
0.012724015861749649,
0.01608612947165966,
0.019448241218924522,
0.006413090042769909,
0.06683359295129776,
0.03259948641061783,
0.0068078129552304745,
0.021584389731287956,
0.03986239433288574,
0.002830397104844451,
0.007197892293334007,
-0.017042752355337143,
0.017720745876431465,
-0.008934673853218555,
0.022123070433735847,
0.005526124034076929,
-0.02981320582330227,
-0.030407613143324852,
-0.0504131093621254,
0.05201057717204094,
0.0011574674863368273,
-0.01615114137530327,
-0.04747822880744934,
0.01161879114806652,
0.07110588997602463,
0.010875782929360867,
0.031466398388147354,
0.07407791912555695,
0.02193731814622879,
0.03365827351808548,
-0.03871072828769684,
-0.04216571897268295,
0.008451718837022781,
-0.013392724096775055,
0.011934570036828518,
-0.026116739958524704,
0.044506195932626724,
0.05765743926167488,
-0.047069571912288666,
0.011154411360621452,
0.009129714220762253,
-0.0024844338186085224,
0.06765089929103851,
0.023367609828710556,
-0.014080006629228592,
0.0010030611883848906,
0.011646654456853867,
0.03438270837068558,
-0.0002493140927981585,
-0.03178217634558678,
0.02193731814622879,
0.03904508426785469,
-0.06393586099147797,
-0.06668499112129211,
0.012454675510525703,
0.0018354625208303332,
0.029924657195806503,
0.018565919250249863,
-0.04866703972220421,
0.05208487808704376,
-0.015250244177877903,
-0.022327397018671036,
-0.051379021257162094,
0.00006519461749121547,
-0.010095624253153801,
-0.039416588842868805,
-0.03321246802806854,
0.02171441540122032,
0.0019724546000361443,
-0.022067345678806305,
0.004411611706018448,
-0.031763602048158646,
-0.027658481150865555,
0.01963399350643158,
-0.08708056807518005,
-0.05071031302213669,
0.027082649990916252,
0.016819849610328674,
0.003306386759504676,
-0.06263559311628342,
0.023274732753634453,
0.046363715082407,
0.011832406744360924,
0.028364339843392372,
-0.0458807609975338,
0.04610366001725197,
0.037354741245508194,
-0.03664888069033623,
-0.019801169633865356,
0.007351137697696686,
0.003917046822607517,
0.030760541558265686,
-0.010522854514420033,
-0.0370575375854969,
-0.026172464713454247,
-0.03908223286271095,
0.03362112492322922,
-0.0063109262846410275,
-0.0330081433057785,
-0.010383539833128452,
0.02219737134873867,
-0.002976676682010293,
0.0006309765158221126,
0.00404707295820117,
-0.034847088158130646,
0.011423751711845398,
-0.030221860855817795,
0.06174398586153984,
0.01800866238772869,
0.008084858767688274,
0.042722973972558975,
0.026673996821045876,
0.08812078088521957,
0.004759896546602249,
-0.04784972965717316,
0.010894358158111572,
0.010309239849448204,
0.006236625369638205,
0.026469668373465538,
0.0380234457552433,
-0.014405072666704655,
0.06482747197151184,
-0.05123041942715645,
-0.009631244465708733,
0.04335452988743782,
0.035330042243003845,
-0.009705545380711555,
0.00803377665579319,
-0.0582146979868412,
-0.036091625690460205,
-0.03562724590301514,
-0.02321900799870491,
0.06519897282123566,
0.061558231711387634,
0.04647516459226608,
0.012826180085539818,
0.011665229685604572,
0.012111034244298935,
-0.01564961113035679,
0.001706597045995295,
0.0193739403039217,
-0.005614356137812138,
-0.0008457523654215038,
0.02494650147855282,
-0.015538159757852554,
0.039676640182733536,
-0.03321246802806854,
0.018287289887666702,
-0.014052143320441246,
-0.05594852194190025,
0.020507028326392174,
0.007411507423967123,
0.10372395068407059,
-0.05160192400217056,
0.010522854514420033,
0.03653743118047714,
0.04027104750275612,
0.053199391812086105,
-0.06653638929128647,
0.021491514518857002,
-0.04621511325240135,
-0.05375664681196213,
0.03155927360057831,
0.016801273450255394,
0.01365277636796236,
0.02808571234345436,
0.027472730726003647,
0.04900139570236206,
-0.004848128650337458,
-0.03767051920294762,
0.007118947803974152,
-0.033565398305654526,
0.020339850336313248,
0.07950188219547272,
0.012436100281774998,
-0.029200224205851555,
0.01018850039690733,
0.033231042325496674,
0.019429665058851242,
0.041942816227674484,
0.07831306755542755,
-0.027974260970950127,
-0.005846546031534672,
-0.01750713214278221,
-0.009872722439467907,
-0.03168930113315582,
0.04762682691216469,
-0.027602756395936012,
-0.01667124778032303,
0.016197578981518745,
-0.05386809632182121,
0.051564771682024,
0.042202867567539215,
-0.021008558571338654,
0.008669977076351643,
0.043205928057432175,
0.009454780258238316,
0.010402115061879158,
-0.04547210410237312,
0.06854251027107239,
-0.05970071256160736,
-0.007820161990821362,
0.033788301050662994,
0.017237791791558266,
-0.08314262330532074,
-0.00071050162659958,
-0.002937204437330365,
-0.0692112147808075,
0.014154307544231415,
0.005377522204071283,
-0.054425355046987534,
0.019949771463871002,
0.00012131931725889444,
-0.03644455596804619,
-0.06965702027082443,
0.06375011056661606,
-0.02806713618338108,
-0.013643489219248295,
-0.07244330644607544,
-0.01941109076142311,
0.009826283901929855,
0.010132774710655212,
-0.02804856188595295,
0.005437891464680433,
0.06943412125110626,
0.049335747957229614,
-0.049112845212221146,
0.003243695478886366,
0.012463963590562344,
-0.031039169058203697,
-0.02089710719883442,
-0.028271464630961418,
0.013494887389242649,
0.03443843126296997,
0.025968138128519058,
-0.007281480822712183,
-0.00810343399643898,
0.0004492877924349159,
-0.007058578543365002,
0.021565813571214676,
0.008191665634512901,
-0.019503965973854065,
-0.00335050281137228,
0.028104286640882492,
-0.012398949824273586,
-0.009900584816932678,
0.004216571804136038,
-0.018621644005179405,
0.002584275556728244,
0.05383094772696495,
-0.012166759930551052,
0.03575727343559265,
0.03668603301048279,
0.07058578729629517,
0.0520477294921875,
0.00695641478523612,
0.0006530345999635756,
-0.0038125610444694757,
0.028772994875907898,
-0.0017344598891213536,
0.04201711714267731,
-0.031224921345710754,
0.019708294421434402,
0.03293384239077568,
-0.02500222809612751,
-0.009882009588181973,
0.0901269018650055,
-0.07311201095581055,
0.008298473432660103,
-0.017163490876555443,
0.03415980562567711,
0.049855854362249374,
-0.028903020545840263,
0.04027104750275612,
-0.028680117800831795,
-0.016002539545297623,
0.008502800948917866,
-0.01375494059175253,
0.06304425001144409,
-0.043465983122587204,
-0.044023238122463226,
-0.0363888293504715,
-0.033788301050662994,
-0.026711147278547287,
0.040679700672626495,
-0.01603040285408497,
0.012928343378007412,
0.016039690002799034,
-0.00872570276260376,
0.061112429946660995,
0.019225338473916054,
0.004323379136621952,
0.05784319341182709,
0.022364547476172447,
-0.04023389518260956,
-0.016680534929037094,
0.05788034200668335,
0.0033783656544983387,
0.059292059391736984,
-0.010402115061879158,
0.005670081824064255,
0.011563065461814404,
0.026153890416026115,
-0.02832718938589096,
0.02700834907591343,
-0.011758105829358101,
0.035311467945575714,
0.005526124034076929,
0.06259844452142715,
-0.04506345093250275,
0.01724707894027233,
-0.0009734568884596229,
0.00848422572016716,
0.0005029817693866789,
0.00423746882006526,
-0.028903020545840263,
0.03878502920269966,
-0.0019202119437977672,
-0.015742486342787743,
-0.007239686790853739,
-0.05175052583217621,
0.02453784830868244,
0.005758313927799463,
0.06397300958633423,
0.00955694355070591,
-0.06267274916172028,
-0.019596843048930168,
-0.0009554621647112072,
-0.006849607452750206,
-0.051156118512153625,
0.021472938358783722,
0.009320110082626343,
-0.005600424483418465,
-0.006352720316499472,
0.016736261546611786,
0.0656447783112526,
-0.037596218287944794,
-0.03573869541287422,
0.027881383895874023,
0.010912933386862278,
0.07073438167572021,
-0.04955865070223808,
0.0015138792805373669,
-0.009292246773838997,
-0.042945876717567444,
-0.02015409804880619,
0.037893421947956085,
0.04227716848254204,
0.031522125005722046,
-0.04305732622742653,
0.00886501744389534,
-0.025336582213640213,
0.02704549953341484
] |
725,588 | awpy.parser.demoparser | _parse_grenades | Returns grenades as a Pandas dataframe
Returns:
A list or Pandas dataframe where each row is a grenade throw
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_grenades(self) -> pd.DataFrame:
"""Returns grenades as a Pandas dataframe
Returns:
A list or Pandas dataframe where each row is a grenade throw
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
grenades = []
for r in self.json["gameRounds"] or []:
if r["grenades"] is not None:
for g in r["grenades"]:
new_g: dict[str, Any] = dict(g)
new_g["roundNum"] = r["roundNum"]
new_g["matchID"] = self.json["matchID"]
new_g["mapName"] = self.json["mapName"]
grenades.append(new_g)
return pd.DataFrame(grenades)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.010291054844856262,
-0.03874716907739639,
-0.039862729609012604,
-0.022069524973630905,
-0.03699945658445358,
0.0005926420562900603,
-0.04142451658844948,
0.09578954428434372,
0.08909618109464645,
-0.021009741351008415,
0.00042385526467114687,
0.03491707518696785,
-0.028316669166088104,
0.031979430466890335,
-0.007158186286687851,
-0.06749147176742554,
-0.020953962579369545,
0.06209959089756012,
0.0246353168040514,
-0.009519457817077637,
0.00690253684297204,
-0.029748305678367615,
-0.010449092835187912,
0.06310359388589859,
-0.02145596593618393,
0.019522326067090034,
0.010774464346468449,
0.04261444881558418,
0.034415073692798615,
0.031124165281653404,
0.016091974452137947,
-0.05012589693069458,
-0.036906491965055466,
0.02972971461713314,
-0.06745428591966629,
-0.011508876457810402,
-0.04588676244020462,
-0.07704811543226242,
-0.11698521673679352,
0.019856994971632957,
-0.07801493257284164,
-0.038970280438661575,
0.0022450676187872887,
-0.043953124433755875,
-0.041721999645233154,
-0.04216822609305382,
0.001195742515847087,
-0.00177792611066252,
-0.00892913993448019,
-0.03480551764369011,
-0.005326806101948023,
0.02193937636911869,
-0.04525461047887802,
0.06552064418792725,
-0.0033699253108352423,
0.00985412672162056,
-0.03482411056756973,
0.06607842445373535,
0.030770905315876007,
-0.013470404781401157,
-0.009273105300962925,
-0.014139741659164429,
-0.032072391360998154,
0.01647312566637993,
0.04439934715628624,
0.019856994971632957,
0.01224328763782978,
-0.042093854397535324,
-0.01396311167627573,
-0.049828413873910904,
0.007474261801689863,
0.08574949204921722,
0.015264599584043026,
0.07407328486442566,
-0.048192255198955536,
0.015180932357907295,
-0.033838700503110886,
-0.05633585527539253,
0.0005028742016293108,
-0.02575087733566761,
0.017449241131544113,
0.014372150413691998,
0.00012077987048542127,
-0.0014909014571458101,
0.007162834517657757,
0.012512881308794022,
0.04030895605683327,
0.05228265002369881,
-0.06299203634262085,
-0.01727261021733284,
0.0027261534705758095,
-0.025936804711818695,
-0.020377589389681816,
-0.05410473421216011,
-0.027052367106080055,
0.022924788296222687,
-0.030454829335212708,
0.024337833747267723,
-0.024356426671147346,
-0.0230549369007349,
-0.019410770386457443,
0.07965108752250671,
-0.020228847861289978,
0.040829550474882126,
-0.028279483318328857,
-0.018025614321231842,
-0.00010654483776306733,
-0.03396884724497795,
0.00799950584769249,
0.0240031648427248,
-0.0935584232211113,
-0.0016303466400131583,
0.041721999645233154,
-0.024728279560804367,
0.054290659725666046,
-0.0008790856809355319,
0.0022996836341917515,
-0.007748504169285297,
0.00784146785736084,
-0.00645166402682662,
0.04722543805837631,
0.01944795623421669,
0.03627434000372887,
0.041573259979486465,
0.00534075079485774,
-0.0034954259172081947,
-0.016575384885072708,
-0.059682540595531464,
0.07530040293931961,
0.03982554376125336,
0.06046343222260475,
0.030138753354549408,
-0.012113138101994991,
0.00034716041409410536,
0.01939217746257782,
0.02660614252090454,
0.018694952130317688,
-0.0027308014687150717,
0.0666733905673027,
-0.004899174440652132,
0.001933639869093895,
-0.041982296854257584,
-0.00416011456400156,
-0.022720269858837128,
-0.01721683330833912,
0.0014502299018204212,
-0.0399371013045311,
0.05533184856176376,
-0.011629728600382805,
-0.02850259654223919,
-0.0007977426867000759,
0.005326806101948023,
0.021976562216877937,
-0.0230549369007349,
0.023724274709820747,
-0.05559214949607849,
-0.030287494882941246,
0.017765317112207413,
0.040457695722579956,
0.002458883449435234,
0.0011051030596718192,
-0.04741136357188225,
-0.01414903812110424,
0.012048063799738884,
-0.031142758205533028,
-0.0041275774128735065,
0.042391337454319,
-0.023538347333669662,
-0.004690006375312805,
0.015645749866962433,
0.03692508488893509,
0.0573398619890213,
-0.022738860920071602,
-0.022720269858837128,
-0.027145329862833023,
0.02803777903318405,
0.02787044458091259,
0.007613707333803177,
-0.022813232615590096,
-0.020117292180657387,
-0.025416210293769836,
-0.030343271791934967,
0.004139197990298271,
-0.02982267737388611,
0.014790486544370651,
-0.04663047194480896,
0.02208811789751053,
-0.02755436860024929,
0.020786629989743233,
0.02586243487894535,
-0.014390743337571621,
-0.006544627249240875,
-0.007581170182675123,
0.03170054033398628,
0.05514592304825783,
-0.038226574659347534,
-0.007553280796855688,
0.04399030655622482,
-0.08753439038991928,
-0.030826682224869728,
-0.05469970032572746,
0.0024867726024240255,
-0.022608712315559387,
-0.04878722131252289,
-0.05596400052309036,
-0.029227711260318756,
-0.08084101974964142,
-0.00860841665416956,
0.00438555097207427,
-0.049828413873910904,
-0.02532324567437172,
-0.009287049062550068,
0.03248143196105957,
0.006163477431982756,
0.030120160430669785,
-0.0393049493432045,
0.015218118205666542,
-0.008222618140280247,
0.015961825847625732,
-0.039713989943265915,
-0.011927211657166481,
-0.07191652804613113,
-0.04514305666089058,
-0.027889037504792213,
-0.044324975460767746,
-0.012494288384914398,
-0.0280749648809433,
0.03318795561790466,
0.025453394278883934,
-0.030529199168086052,
-0.04291193187236786,
-0.04848973825573921,
-0.01470681931823492,
-0.06685931980609894,
0.008747861720621586,
-0.02543480135500431,
0.05503436550498009,
-0.0005778259946964681,
0.07868427038192749,
-0.0071210009045898914,
0.02389160916209221,
-0.05559214949607849,
-0.02485842816531658,
0.05139020085334778,
0.004782970063388348,
0.0023496514186263084,
0.010467685759067535,
-0.016194233670830727,
-0.010653612203896046,
0.03458240628242493,
-0.009338179603219032,
0.0038835485465824604,
0.05414191633462906,
0.05771171301603317,
-0.024969985708594322,
-0.08069228380918503,
-0.0511670857667923,
0.06585531681776047,
0.020526330918073654,
-0.039230577647686005,
0.047448549419641495,
-0.059310685843229294,
0.0036371953319758177,
-0.03170054033398628,
-0.03454522043466568,
0.03302061930298805,
-0.01175987720489502,
-0.00042269323603250086,
0.03711101412773132,
-0.02167907916009426,
0.030826682224869728,
-0.005192009266465902,
0.0013816694263368845,
-0.03168194741010666,
0.010253868997097015,
0.048824407160282135,
0.0062889778055250645,
-0.000044992859329795465,
-0.028781486675143242,
0.016919350251555443,
-0.0027400979306548834,
-0.025973990559577942,
0.033727142959833145,
0.01465104054659605,
-0.008947732858359814,
-0.021270038560032845,
-0.024914206936955452,
0.05191079527139664,
0.01599901169538498,
-0.007032685447484255,
0.011044058948755264,
-0.010421203449368477,
-0.0007878653123043478,
0.012280472554266453,
0.009008158929646015,
0.04752292111515999,
0.028911635279655457,
-0.04068081080913544,
-0.010532760061323643,
-0.013637739233672619,
0.05388161912560463,
-0.03417336568236351,
0.12323235720396042,
0.040234584361314774,
-0.08664194494485855,
0.007850764319300652,
-0.006084458436816931,
-0.009254512377083302,
-0.0012898680288344622,
-0.02803777903318405,
-0.023240864276885986,
0.019689660519361496,
0.05856698006391525,
-0.02136300317943096,
0.01855550706386566,
-0.03157038986682892,
-0.04216822609305382,
-0.01486485730856657,
0.047820404171943665,
-0.012336251325905323,
0.0028772191144526005,
0.015599268488585949,
0.06470256298780441,
0.04878722131252289,
0.08076665550470352,
0.05135301500558853,
0.023092122748494148,
0.03047342225909233,
0.007920486852526665,
0.030547792091965675,
-0.014744004234671593,
-0.04997715353965759,
0.000903488602489233,
0.015803787857294083,
0.04796914383769035,
0.021474558860063553,
-0.01175987720489502,
-0.022385600954294205,
0.01701231300830841,
-0.012624437920749187,
0.007576521951705217,
-0.016361568123102188,
0.050795234739780426,
-0.022590119391679764,
0.08909618109464645,
-0.01226187963038683,
0.023166494444012642,
-0.04399030655622482,
-0.011508876457810402,
0.05856698006391525,
-0.024672502651810646,
0.036906491965055466,
0.022329822182655334,
0.07243712991476059,
0.034898482263088226,
-0.017077386379241943,
0.002131187357008457,
0.019169064238667488,
-0.008399248123168945,
0.024988576769828796,
0.045328982174396515,
0.003407110692933202,
-0.0012445482425391674,
0.013786480762064457,
-0.0031863225158303976,
-0.03528892993927002,
-0.014688226394355297,
-0.03698086366057396,
-0.028000593185424805,
0.03051060624420643,
0.008798991329967976,
-0.0017384166130796075,
-0.00466444157063961,
0.0012457103002816439,
0.0154412304982543,
0.03549344837665558,
0.06890451163053513,
-0.010718686506152153,
0.014576669782400131,
-0.02013588510453701,
-0.022552935406565666,
-0.008338822051882744,
-0.03313217684626579,
0.0393049493432045,
0.08574949204921722,
-0.0355120413005352,
-0.0006449340144172311,
-0.03099401667714119,
-0.015664342790842056,
-0.06868140399456024,
-0.03354121744632721,
-0.06020313501358032,
0.04592394828796387,
0.05060930550098419,
-0.03852405771613121,
-0.04573802277445793,
0.003063146024942398,
-0.006837462540715933,
-0.0033350640442222357,
0.005345399025827646,
-0.006456312257796526,
-0.07808930426836014,
0.003851011162623763,
-0.01465104054659605,
-0.0649256780743599,
-0.03763160854578018,
0.03502863273024559,
-0.01380507368594408,
-0.011211393401026726,
-0.03348543867468834,
0.022497156634926796,
0.023296643048524857,
-0.018676359206438065,
0.018574098125100136,
-0.021790634840726852,
0.07689937204122543,
0.01727261021733284,
0.054179102182388306,
-0.016984423622488976,
0.052914801985025406,
0.01754220388829708,
-0.015320377424359322,
-0.017030905932188034,
0.06403323262929916,
-0.011332245543599129,
0.019726846367120743,
-0.02417049929499626,
-0.007762448862195015,
-0.035902488976716995,
0.000014888678379065823,
0.02549058012664318,
-0.034098997712135315,
-0.0006896726554259658,
-0.06972259283065796,
0.06235988810658455,
-0.010523463599383831,
-0.019949957728385925,
-0.0205635167658329,
-0.019354991614818573,
0.06804925203323364,
0.010086535476148129,
-0.00277495919726789,
0.052171092480421066,
0.022106710821390152,
0.032741729170084,
-0.07273460924625397,
0.011062651872634888,
0.0010440958430990577,
0.008422489278018475,
-0.025397617369890213,
0.010960391722619534,
-0.008882658556103706,
0.07630440592765808,
-0.03062216378748417,
-0.014539484865963459,
0.0461098738014698,
-0.023612719029188156,
0.05949661135673523,
0.005763734225183725,
0.04090392217040062,
0.022441377863287926,
0.0007344112964347005,
0.005075804889202118,
0.02245997078716755,
-0.056670524179935455,
0.0748913586139679,
0.014204815961420536,
-0.03660900890827179,
-0.078609898686409,
0.005452306941151619,
0.0006652697338722646,
-0.016724126413464546,
0.0028725708834826946,
-0.07139593362808228,
0.015087969601154327,
0.009528754279017448,
-0.003179350169375539,
-0.025732284411787987,
-0.0038091777823865414,
0.022385600954294205,
-0.06596686691045761,
-0.02978549152612686,
-0.02606695331633091,
0.028205113485455513,
-0.009152252227067947,
0.006735202390700579,
-0.04425060749053955,
-0.036423083394765854,
-0.012884735129773617,
-0.06038906052708626,
-0.012884735129773617,
-0.022906195372343063,
-0.006042624823749065,
0.019689660519361496,
0.006433071102946997,
0.07831241935491562,
0.06183929368853569,
0.014995005913078785,
0.018202245235443115,
-0.03168194741010666,
0.03941650688648224,
0.02019166387617588,
-0.048935964703559875,
-0.005271028261631727,
0.00868743471801281,
-0.07061504572629929,
0.014995005913078785,
0.03975117579102516,
-0.01489274576306343,
-0.024914206936955452,
-0.05112990364432335,
0.06615279614925385,
0.019373584538698196,
0.009375364519655704,
-0.06340108066797256,
0.03878435492515564,
0.0032746377401053905,
0.0002321181382285431,
-0.055294666439294815,
-0.007125649135559797,
0.037743162363767624,
-0.0003765019937418401,
0.024728279560804367,
0.013823666609823704,
-0.031142758205533028,
0.07831241935491562,
0.07128437608480453,
0.06425634026527405,
0.004736488219350576,
-0.07366424053907394,
-0.03670197352766991,
0.031923651695251465,
-0.007125649135559797,
0.002547198673710227,
0.01706809177994728,
-0.02881867252290249,
0.09340967983007431,
-0.031347278505563736,
0.02268308401107788,
0.041461702436208725,
0.03543766960501671,
-0.008022746071219444,
0.001016206806525588,
-0.01827661506831646,
-0.042465709149837494,
-0.04075517877936363,
-0.00842713750898838,
0.0333738811314106,
0.026085546240210533,
-0.0019638531375676394,
0.014269891194999218,
0.02500716969370842,
0.03184927999973297,
-0.015153043903410435,
0.02489561401307583,
0.021418780088424683,
0.004922415129840374,
-0.004964248742908239,
0.014455817639827728,
-0.035902488976716995,
0.03893309459090233,
-0.08091539144515991,
0.013684220612049103,
-0.01732838898897171,
-0.034043218940496445,
0.012643029913306236,
0.01599901169538498,
0.10664767771959305,
-0.07890738546848297,
-0.01224328763782978,
-0.0010609454475343227,
-0.0007820550817996264,
0.016296494752168655,
-0.009798348881304264,
-0.002235771156847477,
-0.047448549419641495,
-0.03382010757923126,
0.010374722070991993,
0.0006751471082679927,
-0.03391306847333908,
0.024653909727931023,
0.0031119517516344786,
-0.01486485730856657,
-0.010569944977760315,
-0.052357017993927,
0.03426633030176163,
-0.040941108018159866,
0.05112990364432335,
0.07846115529537201,
0.036423083394765854,
0.015273896045982838,
0.002066112821921706,
0.03240706026554108,
-0.029227711260318756,
0.0271267369389534,
0.07846115529537201,
0.02861415222287178,
-0.005075804889202118,
-0.04354408383369446,
-0.014046778902411461,
-0.03354121744632721,
0.035158779472112656,
-0.0010022622300311923,
-0.023965978994965553,
0.01711457222700119,
-0.038709983229637146,
0.047597289085388184,
0.053323838859796524,
-0.0035209909547120333,
-0.046927955001592636,
0.0008302798960357904,
0.0054337140172719955,
-0.045440539717674255,
-0.028223706409335136,
0.010030756704509258,
-0.02549058012664318,
-0.01308925449848175,
0.00929634552448988,
-0.011852840892970562,
-0.02766592428088188,
0.007083815522491932,
-0.03982554376125336,
-0.04425060749053955,
0.02818652056157589,
0.019782623276114464,
-0.078609898686409,
0.014418632723391056,
0.016826385632157326,
-0.04354408383369446,
-0.09816940873861313,
0.040346141904592514,
-0.041573259979486465,
0.01001216471195221,
-0.04030895605683327,
-0.07329238951206207,
0.026457400992512703,
0.013953815214335918,
-0.02723829261958599,
-0.010411906987428665,
0.010142313316464424,
0.030138753354549408,
-0.02554635889828205,
-0.03443366661667824,
0.04599831998348236,
-0.03629293292760849,
-0.040085844695568085,
-0.006856054998934269,
0.009008158929646015,
0.00871997233480215,
-0.01976403035223484,
0.0016164021799340844,
0.07087533921003342,
-0.015487711876630783,
-0.021158482879400253,
-0.009686792269349098,
0.023798644542694092,
-0.008817584253847599,
-0.0008785046520642936,
-0.028484003618359566,
0.01902032271027565,
0.03417336568236351,
0.011025466024875641,
-0.0028981356881558895,
-0.009017455391585827,
0.06834673136472702,
0.007748504169285297,
0.0336899571120739,
0.005968254059553146,
0.06771457940340042,
0.049939971417188644,
-0.014362853951752186,
0.03454522043466568,
0.01091391034424305,
0.0014967116294428706,
0.012810364365577698,
0.02071225829422474,
-0.012326954863965511,
0.035995449870824814,
0.05789764225482941,
0.02002432942390442,
-0.05700519308447838,
0.11044058948755264,
-0.02945082262158394,
-0.007348761428147554,
-0.02511872723698616,
0.037538643926382065,
0.0048108589835464954,
-0.045217424631118774,
0.007581170182675123,
-0.003007367951795459,
0.026252880692481995,
-0.04127577692270279,
0.014260594733059406,
0.07623003423213959,
0.008836176246404648,
-0.03248143196105957,
-0.009714681655168533,
-0.008310933597385883,
-0.06819799542427063,
0.06749147176742554,
-0.010291054844856262,
0.008431785739958286,
-0.0036604362539947033,
0.017151758074760437,
0.04592394828796387,
-0.0579720139503479,
0.028688523918390274,
0.05183642357587814,
-0.021009741351008415,
-0.03285328671336174,
-0.01247569639235735,
0.06782613694667816,
0.011276467703282833,
0.06109558418393135,
-0.013702813535928726,
0.016287198290228844,
0.010774464346468449,
-0.0174399446696043,
-0.06109558418393135,
-0.024877021089196205,
-0.018945952877402306,
0.03350403159856796,
0.016408050432801247,
0.08292340487241745,
-0.015320377424359322,
0.013117143884301186,
0.012457103468477726,
-0.0104397963732481,
-0.05165049806237221,
-0.007836819626390934,
-0.006995500065386295,
0.04454809054732323,
0.028093557804822922,
-0.05336102470755577,
-0.007794986013323069,
-0.05622429773211479,
0.011239281855523586,
0.04767166078090668,
0.04573802277445793,
0.0333738811314106,
-0.04651891440153122,
-0.008905899710953236,
-0.0430234894156456,
-0.05220827832818031,
-0.04402749240398407,
0.03374573588371277,
0.013842258602380753,
0.0013642387930303812,
-0.04967967048287392,
0.0449199415743351,
0.05633585527539253,
0.0020405477844178677,
-0.008417841047048569,
0.05562933161854744,
-0.002521633869037032,
0.04540335386991501,
-0.030529199168086052,
0.033782921731472015,
-0.005001434125006199,
-0.025713693350553513,
-0.013628442771732807,
0.05752578750252724,
-0.01568293571472168,
-0.011583247222006321,
-0.04477120190858841,
-0.013340256176888943,
0.013935222290456295,
-0.02050773799419403
] |
725,589 | awpy.parser.demoparser | _parse_kills | Returns kills as either a Pandas dataframe
Returns:
A Pandas dataframe where each row is a kill
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_kills(self) -> pd.DataFrame:
"""Returns kills as either a Pandas dataframe
Returns:
A Pandas dataframe where each row is a kill
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
kills = []
for r in self.json["gameRounds"] or []:
if r["kills"] is not None:
for k in r["kills"]:
new_k: dict[str, Any] = dict(k)
new_k["roundNum"] = r["roundNum"]
new_k["matchID"] = self.json["matchID"]
new_k["mapName"] = self.json["mapName"]
kills.append(new_k)
return pd.DataFrame(kills)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.018531037494540215,
-0.03247308358550072,
-0.03617744892835617,
-0.056173644959926605,
-0.05355663225054741,
-0.0008195445407181978,
-0.012716474942862988,
0.10217411071062088,
0.064614437520504,
0.0026607841718941927,
-0.019498594105243683,
0.020917680114507675,
-0.01277176383882761,
0.010329832322895527,
-0.008933784440159798,
-0.04721682518720627,
0.04791714996099472,
0.06671541929244995,
0.02347940392792225,
-0.00995202362537384,
0.024271881207823753,
-0.007758892606943846,
0.0063305930234491825,
0.07276035100221634,
-0.03803884610533714,
0.02058594487607479,
0.007528521586209536,
0.015609933994710445,
0.02668616734445095,
0.0016736447578296065,
-0.006339807994663715,
0.009191799908876419,
-0.026723027229309082,
0.04832260310649872,
-0.07821553200483322,
-0.00622001476585865,
-0.05101333558559418,
-0.06815293431282043,
-0.07246547937393188,
-0.005450576078146696,
-0.048764917999506,
-0.04452609270811081,
0.010938011109828949,
-0.061186518520116806,
-0.03188333660364151,
-0.03726480156183243,
0.01924057863652706,
0.018512606620788574,
0.04566873237490654,
-0.07478761672973633,
-0.016448484733700752,
0.03505323827266693,
-0.0415404848754406,
0.06848466396331787,
-0.024345599114894867,
-0.02012520283460617,
-0.04301485791802406,
0.03133044391870499,
0.026944182813167572,
-0.04861747846007347,
-0.03051953949034214,
0.038960330188274384,
-0.030593259260058403,
0.02440088801085949,
0.02757079154253006,
-0.006385881919413805,
0.01391440350562334,
-0.026317574083805084,
-0.02937689982354641,
-0.06616252660751343,
0.012486103922128677,
0.047585416585206985,
0.0012889252975583076,
0.08234377950429916,
-0.043936342000961304,
-0.015213695354759693,
-0.01922214962542057,
-0.07029077410697937,
-0.004662707448005676,
-0.014559442177414894,
-0.010136320255696774,
0.021783873438835144,
-0.02213403768837452,
0.0047364262863993645,
-0.019811898469924927,
-0.004722604062408209,
0.06818979233503342,
0.055952489376068115,
-0.07198630273342133,
-0.013822255656123161,
-0.012255732901394367,
-0.016402410343289375,
-0.02530394122004509,
-0.021378422155976295,
-0.004093691240996122,
0.024732621386647224,
-0.03376316279172897,
0.02917417325079441,
-0.04673765227198601,
-0.036509182304143906,
-0.0337078720331192,
0.0628083273768425,
-0.05609992519021034,
0.04257254675030708,
-0.049612682312726974,
-0.008141308091580868,
0.006528711877763271,
-0.01569286733865738,
-0.01536113303154707,
0.023350397124886513,
-0.14338286221027374,
0.012559822760522366,
-0.024050723761320114,
-0.04408377781510353,
0.07106482237577438,
-0.0008322149515151978,
-0.009122688323259354,
0.006187763065099716,
-0.026612449437379837,
-0.01785835437476635,
0.008053767494857311,
0.002291038865223527,
0.060228172689676285,
-0.01572972722351551,
0.002722984179854393,
0.02279750630259514,
-0.03667505085468292,
-0.04117188975214958,
0.06011759489774704,
0.03995553404092789,
0.010394335724413395,
0.01051412895321846,
0.0011639490257948637,
0.01787678338587284,
0.0214705690741539,
0.020512226969003677,
0.027183769270777702,
0.003734312718734145,
0.06693657487630844,
0.0026423544622957706,
0.05447811633348465,
-0.05462555214762688,
-0.006049540359526873,
-0.057316284626722336,
-0.02893458865582943,
-0.019166860729455948,
-0.017968932166695595,
0.032454654574394226,
-0.01703823357820511,
-0.012043791823089123,
-0.031699039041996,
0.0004313695535529405,
0.008007693104445934,
-0.03737537935376167,
0.04994441568851471,
-0.013518165796995163,
0.013951263390481472,
-0.0059021031484007835,
0.04120875149965286,
-0.028658142313361168,
0.015416421927511692,
-0.036748770624399185,
-0.012716474942862988,
-0.03862859681248665,
-0.049833837896585464,
0.03239936754107475,
0.03984495624899864,
-0.04721682518720627,
-0.010624706745147705,
0.04559501260519028,
0.025856832042336464,
0.09966767579317093,
0.04183536022901535,
-0.003312733955681324,
-0.03168061003088951,
0.0041628023609519005,
-0.011389538645744324,
0.002347479807212949,
0.01379461120814085,
-0.026096418499946594,
-0.03555084019899368,
-0.013776181265711784,
-0.028123682364821434,
-0.019406447187066078,
-0.006897305604070425,
-0.03009565733373165,
0.0018637008033692837,
-0.0011386083206161857,
-0.040102969855070114,
0.07556166499853134,
-0.010818218812346458,
-0.010799788869917393,
0.034481920301914215,
0.0039001796394586563,
0.05023929104208946,
-0.017452901229262352,
0.004641973879188299,
0.05554703623056412,
-0.0744558796286583,
-0.023368826135993004,
-0.026778316125273705,
0.007021705619990826,
-0.022447342053055763,
-0.023608412593603134,
-0.011730487458407879,
-0.04430493712425232,
-0.09856189787387848,
0.008781739510595798,
-0.022908084094524384,
-0.04832260310649872,
-0.04570559039711952,
-0.010034956969320774,
0.004266469273716211,
0.044452372938394547,
0.04500526189804077,
0.0017024411354213953,
0.039402641355991364,
-0.018595540896058083,
0.014402789995074272,
-0.05514158308506012,
-0.011509330943226814,
-0.04224081337451935,
-0.04430493712425232,
0.019590742886066437,
-0.0772571936249733,
0.03007722832262516,
0.011675198562443256,
0.057795457541942596,
0.04791714996099472,
-0.013582669198513031,
-0.03144102171063423,
-0.08337584137916565,
-0.009201014414429665,
-0.05812719091773033,
0.005639479961246252,
-0.008086019195616245,
0.029266322031617165,
-0.03682248666882515,
0.07172828912734985,
-0.02731277607381344,
0.01356424018740654,
-0.05993329733610153,
0.034242331981658936,
0.010550987906754017,
-0.008141308091580868,
-0.009353059343993664,
0.021341562271118164,
-0.03361572325229645,
0.016301047056913376,
0.019166860729455948,
0.03396588936448097,
0.017130382359027863,
0.06929557025432587,
0.044452372938394547,
-0.010449624620378017,
-0.09885676950216293,
-0.016420839354395866,
0.011481686495244503,
-0.000499904912430793,
-0.02644658088684082,
0.04378890618681908,
-0.020622804760932922,
0.019701320677995682,
0.003918609581887722,
-0.047585416585206985,
0.02578311413526535,
-0.020917680114507675,
-0.005667124874889851,
0.029487477615475655,
-0.035348113626241684,
-0.02462204359471798,
-0.04633219912648201,
-0.004195054527372122,
-0.03284167870879173,
-0.019130000844597816,
0.04290428012609482,
-0.006312163081020117,
0.012467673979699612,
-0.043272875249385834,
0.011278959922492504,
-0.005137271713465452,
-0.03610372915863991,
0.013195645995438099,
-0.022871224209666252,
-0.00036427401937544346,
-0.02464047446846962,
-0.02285279519855976,
0.044599808752536774,
0.01818087324500084,
-0.005883673205971718,
-0.00870802067220211,
0.004466892220079899,
-0.023460974916815758,
0.010477269068360329,
-0.03415018692612648,
0.027404924854636192,
-0.021562717854976654,
-0.041724782437086105,
0.004383958410471678,
-0.001366099575534463,
0.0022933424916118383,
-0.0353112556040287,
0.11013572663068771,
0.014181633479893208,
-0.07519306987524033,
0.009998098015785217,
-0.0006646201363764703,
-0.0047364262863993645,
-0.0008068741299211979,
-0.027865666896104813,
0.03125672787427902,
0.006749867927283049,
0.03955008089542389,
-0.027515502646565437,
0.01719488576054573,
-0.019480165094137192,
-0.033357709646224976,
-0.010320616886019707,
0.04275684431195259,
0.012486103922128677,
-0.0063628447242081165,
-0.03367101401090622,
0.03796512633562088,
0.022465772926807404,
0.07607769221067429,
-0.00012202459765831009,
0.026041129603981972,
-0.003195244586095214,
0.012255732901394367,
0.02913731336593628,
0.008113663643598557,
-0.050497304648160934,
0.01467923540621996,
-0.012605897150933743,
0.057758595794439316,
-0.03726480156183243,
-0.03610372915863991,
-0.001497410936281085,
-0.0010948377894237638,
0.03075912594795227,
-0.0002143889432772994,
-0.02080710232257843,
0.06387724727392197,
-0.0027091619558632374,
0.09288555383682251,
-0.015748156234622,
0.07836297154426575,
0.002391250105574727,
0.004943760111927986,
0.05831148847937584,
-0.020438509061932564,
0.05938040837645531,
0.030390532687306404,
0.043088577687740326,
0.04526327922940254,
-0.03888661041855812,
-0.0022749127820134163,
-0.0013338476419448853,
-0.015499355271458626,
-0.028842439875006676,
0.04482096806168556,
-0.021544288843870163,
-0.005229420028626919,
0.004453069996088743,
0.011785776354372501,
-0.030353672802448273,
0.016559062525629997,
-0.05831148847937584,
-0.03488737344741821,
0.029985079541802406,
-0.015545429661870003,
-0.007436373271048069,
-0.004049920942634344,
0.025672536343336105,
0.00571319879963994,
0.08890474587678909,
0.07416100800037384,
-0.016402410343289375,
0.008012300357222557,
-0.005496650002896786,
-0.013029779307544231,
-0.03162531927227974,
-0.028676573187112808,
0.007754285354167223,
0.05252457037568092,
-0.031053999438881874,
-0.043752044439315796,
-0.057353146374225616,
-0.022263046354055405,
-0.0505710244178772,
0.009237874299287796,
-0.03477679565548897,
0.04603732377290726,
0.04813830927014351,
-0.04050842300057411,
-0.01287312712520361,
0.015296629630029202,
-0.02913731336593628,
0.004582077730447054,
0.013398372568190098,
0.0036905421875417233,
-0.03645389527082443,
0.018254591152071953,
-0.01775699108839035,
-0.06431955844163895,
0.011122307740151882,
0.003847194369882345,
0.008178167976439,
-0.05138193070888519,
-0.007924759760499,
0.027718229219317436,
0.03162531927227974,
-0.009201014414429665,
0.002522561699151993,
-0.022078748792409897,
0.04721682518720627,
0.047364261001348495,
0.07821553200483322,
-0.009666363708674908,
0.031514741480350494,
0.016181252896785736,
-0.028086822479963303,
0.011675198562443256,
0.047143105417490005,
-0.005717806052416563,
0.008104449138045311,
-0.0018084117909893394,
-0.01918528974056244,
0.004155891481786966,
-0.008726450614631176,
0.02349783480167389,
-0.01830066554248333,
-0.01901942305266857,
-0.04681137204170227,
0.06678913533687592,
-0.007265898864716291,
0.003759653540328145,
-0.02891615778207779,
-0.0010648895986378193,
0.07264977693557739,
-0.007229039445519447,
0.03004036843776703,
0.08875730633735657,
0.039476361125707626,
0.05359349027276039,
-0.03621431067585945,
0.03477679565548897,
0.007146106101572514,
-0.0032205854076892138,
-0.005151093937456608,
0.00023541029077023268,
-0.010910366661846638,
0.08234377950429916,
-0.045300137251615524,
-0.0036997569259256124,
0.018088724464178085,
-0.009758512489497662,
0.04636906087398529,
0.027920955792069435,
0.022650068625807762,
0.026170136407017708,
0.009445208124816418,
0.03029838390648365,
0.027294347062706947,
-0.07312894612550735,
0.08978936821222305,
0.0025041319895535707,
-0.062034282833337784,
-0.023147670552134514,
0.02441931702196598,
0.019811898469924927,
0.010210039094090462,
0.023331966251134872,
-0.039034049957990646,
-0.010302187874913216,
-0.009666363708674908,
0.030243095010519028,
-0.013868329115211964,
0.03206763043999672,
0.0298007819801569,
-0.0373200885951519,
-0.057279426604509354,
0.009113473817706108,
0.0027460213750600815,
-0.03636174649000168,
-0.020843960344791412,
-0.030814414843916893,
-0.03577199578285217,
0.005828384310007095,
-0.07051192969083786,
-0.01139875315129757,
-0.01152776088565588,
0.02893458865582943,
-0.028971446678042412,
-0.011140737682580948,
0.04566873237490654,
0.0628083273768425,
0.04050842300057411,
0.031312014907598495,
-0.050054993480443954,
0.03826000168919563,
0.039402641355991364,
-0.03477679565548897,
-0.012569037266075611,
-0.0025709394831210375,
-0.03462935611605644,
0.04681137204170227,
0.02100982889533043,
-0.039255205541849136,
-0.04183536022901535,
-0.05469927191734314,
0.04596360772848129,
0.00022648341837339103,
-0.000937609642278403,
-0.06413526087999344,
0.04832260310649872,
-0.023608412593603134,
0.016337905079126358,
-0.03278638795018196,
-0.006229229737073183,
0.06096535921096802,
-0.020843960344791412,
0.03750438615679741,
-0.014209278859198093,
-0.023921716958284378,
0.04588988795876503,
0.045742448419332504,
0.08602971583604813,
0.004777892958372831,
-0.032454654574394226,
-0.010855077765882015,
0.01641162484884262,
-0.007348832208663225,
0.012025361880660057,
0.005579583812505007,
-0.006994061172008514,
0.049833837896585464,
-0.03027995303273201,
-0.00942217092961073,
0.05584191158413887,
0.02873186208307743,
-0.011002515442669392,
-0.009666363708674908,
-0.05046044662594795,
-0.05079218000173569,
0.004593596328049898,
-0.036767199635505676,
0.06671541929244995,
0.0018141709733754396,
0.027239058166742325,
0.002000771462917328,
0.021304702386260033,
0.02510121650993824,
0.007247469387948513,
0.02285279519855976,
0.0011777713662013412,
0.01773856021463871,
-0.0031307407189160585,
0.022023459896445274,
-0.011149952188134193,
0.04817516729235649,
-0.07486133277416229,
0.056431662291288376,
-0.020733382552862167,
-0.04526327922940254,
-0.007602240424603224,
-0.04518955945968628,
0.127607062458992,
-0.05915925279259682,
-0.023368826135993004,
0.0056256577372550964,
-0.018263807520270348,
0.0742347240447998,
-0.02981921285390854,
0.007924759760499,
-0.05624736472964287,
-0.014172418974339962,
0.03728323057293892,
-0.021396851167082787,
0.022908084094524384,
0.02325824834406376,
0.047548558562994,
-0.0008604353643022478,
-0.022484201937913895,
-0.053482912480831146,
-0.01490039099007845,
-0.043973200023174286,
0.018171658739447594,
0.10151064395904541,
0.032436225563287735,
-0.006049540359526873,
0.007620669901371002,
0.011140737682580948,
0.006795942317694426,
0.03647232428193092,
0.07681488245725632,
-0.002575546968728304,
-0.023921716958284378,
-0.018908845260739326,
-0.006971023976802826,
-0.0017657930729910731,
0.03208606317639351,
-0.014835887588560581,
-0.008998287841677666,
0.013582669198513031,
-0.011905569583177567,
0.037412237375974655,
0.022189326584339142,
-0.011896354146301746,
-0.026151707395911217,
0.015425637364387512,
-0.03486894443631172,
0.004176624584943056,
0.020456938073039055,
0.024271881207823753,
-0.024069154635071754,
0.023829568177461624,
-0.021876022219657898,
0.007081602234393358,
-0.06586765497922897,
0.01737918145954609,
-0.04998127371072769,
-0.009703223593533039,
0.00265156920067966,
0.01988561823964119,
-0.07998478412628174,
-0.011325034312903881,
0.03254680335521698,
-0.06929557025432587,
-0.09657149016857147,
0.026612449437379837,
-0.037209510803222656,
0.004883863497525454,
-0.030243095010519028,
-0.09966767579317093,
0.06936929374933243,
0.022207757458090782,
-0.06446699798107147,
0.01583109050989151,
0.031772758811712265,
0.010919582098722458,
-0.034905802458524704,
-0.013481305912137032,
0.021101975813508034,
-0.01765562780201435,
-0.04246196895837784,
-0.029929790645837784,
0.040766436606645584,
0.013177216984331608,
0.024253450334072113,
-0.009555785916745663,
-0.004381654784083366,
-0.04028726741671562,
-0.012172799557447433,
0.01874297857284546,
0.039881814271211624,
-0.021138835698366165,
-0.006427348591387272,
-0.008929177187383175,
-0.000619121827185154,
-0.03486894443631172,
0.01060627680271864,
-0.036546044051647186,
-0.009242481552064419,
0.08234377950429916,
-0.003215978154912591,
-0.0017058966914191842,
-0.008652731776237488,
0.04651649668812752,
0.0393289253115654,
0.018125584349036217,
0.020438509061932564,
0.015656007453799248,
0.012393955141305923,
-0.015250555239617825,
0.028787150979042053,
-0.014725308865308762,
0.04047156497836113,
0.03818628564476967,
-0.030150946229696274,
-0.01028375793248415,
0.06284518539905548,
-0.03217821195721626,
-0.0005566337495110929,
-0.006685364060103893,
0.037172652781009674,
0.012836268171668053,
-0.022650068625807762,
-0.009786156937479973,
-0.003996935673058033,
0.027699800208210945,
-0.013757751323282719,
0.014780598692595959,
0.10018370300531387,
-0.043494030833244324,
-0.04987069591879845,
-0.03733851760625839,
0.0282895490527153,
-0.023221388459205627,
0.07165457308292389,
-0.012135940603911877,
0.013628743588924408,
0.01677100360393524,
-0.028584424406290054,
0.05315117910504341,
-0.028879297897219658,
-0.025248652324080467,
0.05219283699989319,
0.024364028126001358,
-0.03999239206314087,
-0.005915925372391939,
0.07968991249799728,
0.03077755495905876,
0.03684091940522194,
0.005634872708469629,
0.014255352318286896,
-0.005418323911726475,
-0.028160542249679565,
-0.03678562864661217,
-0.0009330022148787975,
0.016651209443807602,
0.02668616734445095,
0.015121547505259514,
0.054146382957696915,
-0.034058038145303726,
0.023331966251134872,
-0.01601538620889187,
-0.0064411708153784275,
-0.013591884635388851,
0.014052626676857471,
-0.03234407678246498,
0.043973200023174286,
0.008514509536325932,
-0.08359699696302414,
-0.0028842438478022814,
-0.07353439927101135,
0.015526999719440937,
0.0031699039973318577,
0.09435992687940598,
0.05060788244009018,
-0.05252457037568092,
-0.028160542249679565,
-0.0002794687170535326,
-0.020475367084145546,
-0.0019927085377275944,
-0.005270886700600386,
0.019332727417349815,
0.011684413067996502,
0.004563647788017988,
0.025819972157478333,
0.05407266318798065,
-0.022336764261126518,
-0.002566331997513771,
0.006445778533816338,
0.02124941349029541,
0.0672314465045929,
-0.030666977167129517,
0.04559501260519028,
0.007984655909240246,
-0.005298531148582697,
0.002672302769497037,
0.03466621786355972,
-0.031975485384464264,
0.04050842300057411,
-0.030851274728775024,
-0.01669728383421898,
0.02941375970840454,
-0.01343523245304823
] |
725,590 | awpy.parser.demoparser | _parse_player_frames | Returns player frames as a Pandas dataframe.
Returns:
A Pandas dataframe where each row is a player's attributes at a given frame (game state).
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_player_frames(self) -> pd.DataFrame:
"""Returns player frames as a Pandas dataframe.
Returns:
A Pandas dataframe where each row is a player's attributes at a given frame (game state).
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
player_frames = []
for r in self.json["gameRounds"] or []:
for frame in r["frames"] or []:
for side in ["ct", "t"]:
# Currently there is no better way:
# https://github.com/python/mypy/issues/9230
side = cast(Literal["ct", "t"], side)
if frame[side]["players"] is not None and (
# The or [] should be unneccesary but mypy can not handle this
len(frame[side]["players"] or [])
> 0 # Used to be == 5, to ensure the sides were equal.
):
# Same here
for player in frame[side]["players"] or []:
player_item: dict[str, Any] = {}
player_item["roundNum"] = r["roundNum"]
player_item["tick"] = frame["tick"]
player_item["seconds"] = frame["seconds"]
player_item["side"] = side
player_item["teamName"] = frame[side]["teamName"]
for col, val in player.items():
if col != "inventory":
player_item[col] = val
player_frames.append(player_item)
player_frames_df = pd.DataFrame(player_frames)
player_frames_df["matchID"] = self.json["matchID"]
player_frames_df["mapName"] = self.json["mapName"]
return pd.DataFrame(player_frames_df)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.013576286844909191,
-0.029366811737418175,
-0.09404885768890381,
0.020416032522916794,
-0.040944654494524,
-0.008749058470129967,
-0.02229250781238079,
0.09359850734472275,
0.032631877809762955,
-0.002894460689276457,
0.02199227176606655,
0.03756700083613396,
-0.013125932775437832,
0.055280912667512894,
-0.0007763909525237978,
-0.007360467687249184,
0.05205338075757027,
0.06586422771215439,
0.003856153227388859,
-0.023606037721037865,
0.01698208600282669,
0.012760020792484283,
0.010527017526328564,
0.09254767745733261,
-0.003218152327463031,
0.02426280453801155,
-0.010508252307772636,
0.006797525566071272,
0.031937580555677414,
0.007247879635542631,
-0.014045405201613903,
0.011981284245848656,
-0.010433193296194077,
0.023587273433804512,
-0.07156870514154434,
-0.023324567824602127,
-0.05640679597854614,
-0.024731922894716263,
-0.15206941962242126,
-0.03775465115904808,
-0.04056936129927635,
-0.050739847123622894,
0.022705331444740295,
-0.03499623388051987,
-0.031787462532520294,
-0.03797982633113861,
0.008383145555853844,
-0.003513696836307645,
0.04420971870422363,
-0.06680246442556381,
0.03002357855439186,
0.016869498416781425,
-0.00598595105111599,
0.10215522348880768,
-0.008505117148160934,
0.0162877906113863,
-0.049764081835746765,
0.057720329612493515,
0.014946112409234047,
-0.03488364443182945,
-0.06334975361824036,
0.0012994579738005996,
-0.01738552749156952,
0.03227534517645836,
0.012835079804062843,
-0.02364356815814972,
0.006675554905086756,
-0.04357171803712845,
-0.06244904175400734,
-0.05877115577459335,
0.012028195895254612,
0.05858350545167923,
0.040043946355581284,
0.05411750078201294,
-0.0576077401638031,
-0.0010127093410119414,
-0.04736219346523285,
-0.032481759786605835,
0.023211978375911713,
-0.026645924896001816,
0.012985197827219963,
0.028297223150730133,
-0.03159981593489647,
-0.01600632071495056,
-0.0030305050313472748,
0.005019566975533962,
0.06811599433422089,
0.054755501449108124,
-0.07179388403892517,
-0.0011235385900363326,
-0.020716268569231033,
-0.0066896285861730576,
-0.008467587642371655,
0.010405045934021473,
-0.013726404868066311,
0.005812377203255892,
-0.015921879559755325,
0.022930508479475975,
-0.0598970390856266,
-0.018849177286028862,
-0.03396417200565338,
0.02773427963256836,
-0.06094786524772644,
0.050739847123622894,
-0.03201264142990112,
0.019440267235040665,
-0.01675690896809101,
-0.03306346386671066,
-0.03599076345562935,
0.0019245583098381758,
-0.10208016633987427,
-0.0008672826807014644,
0.010742811486124992,
-0.0025426216889172792,
0.07175635546445847,
0.004193918779492378,
-0.030492696911096573,
-0.004250213038176298,
0.004027381539344788,
-0.021466858685016632,
0.04297124594449997,
0.0329696424305439,
0.04026912525296211,
-0.020828858017921448,
0.014674023725092411,
-0.024656863883137703,
0.003417527535930276,
-0.06548892706632614,
-0.0045739044435322285,
0.02448798157274723,
0.004468352999538183,
0.002730269217863679,
-0.012243990786373615,
0.01932767778635025,
0.02630816027522087,
0.009265088476240635,
0.02600792422890663,
-0.015058700926601887,
0.01615643873810768,
-0.012947668321430683,
0.04113230109214783,
-0.022555213421583176,
0.0238687451928854,
-0.06038492172956467,
-0.021954741328954697,
-0.003086799057200551,
-0.015931261703372,
0.014326876029372215,
-0.01583743840456009,
-0.023624803870916367,
-0.011108724400401115,
-0.04972655326128006,
-0.04841301962733269,
0.007327629718929529,
0.004822537302970886,
-0.026439514011144638,
-0.004522301256656647,
-0.016869498416781425,
0.05212843790650368,
-0.017817117273807526,
-0.022386331111192703,
-0.05295408517122269,
-0.046423956751823425,
-0.006370628252625465,
-0.012431638315320015,
0.030154932290315628,
0.012441020458936691,
-0.053929854184389114,
-0.021635740995407104,
0.013238521292805672,
0.0530666746199131,
0.09112156182527542,
0.01501178927719593,
-0.021785859018564224,
-0.006473834160715342,
-0.022855449467897415,
0.003987506497651339,
-0.04342160001397133,
-0.0126943439245224,
-0.04083206504583359,
-0.004508228041231632,
-0.03781094402074814,
-0.004665382672101259,
-0.014908582903444767,
0.012591138482093811,
0.006938261445611715,
0.049163609743118286,
0.022029800340533257,
0.012497314251959324,
0.05768280103802681,
-0.03054899163544178,
-0.019036825746297836,
0.0008983617299236357,
-0.00506178755313158,
0.02735898643732071,
-0.002704467624425888,
0.022630272433161736,
0.0704803466796875,
-0.034602172672748566,
-0.03606582432985306,
-0.04349666088819504,
-0.006319025065749884,
-0.010470722801983356,
-0.04417219012975693,
-0.0750214159488678,
-0.03435823321342468,
-0.07010505348443985,
0.020941445603966713,
-0.02129797637462616,
-0.05539350211620331,
-0.030286284163594246,
-0.05257879197597504,
0.05212843790650368,
-0.004210337530821562,
0.022086095064878464,
-0.04068194702267647,
-0.0007148191798478365,
-0.013660728000104427,
0.04653654620051384,
-0.007970321923494339,
0.0644756332039833,
-0.03730429708957672,
-0.08616767078638077,
-0.029366811737418175,
-0.0006163042853586376,
-0.015724848955869675,
-0.020115798339247704,
0.06349986791610718,
-0.004271323326975107,
-0.0200970321893692,
-0.012506696395576,
-0.031412169337272644,
0.008129822090268135,
-0.05314173549413681,
-0.01840820722281933,
0.011043047532439232,
0.06376257538795471,
-0.02259274199604988,
0.011699813418090343,
-0.04668666422367096,
-0.0011417169589549303,
-0.028991518542170525,
0.0073557766154408455,
0.01019863411784172,
-0.037022825330495834,
-0.03645988181233406,
0.046499017626047134,
-0.023925038054585457,
-0.01800476387143135,
0.04638642817735672,
0.03531523421406746,
0.029047811403870583,
0.01675690896809101,
0.056594446301460266,
-0.016447290778160095,
-0.11799266189336777,
-0.022029800340533257,
-0.001155204139649868,
0.017742058262228966,
-0.019946914166212082,
0.024431686848402023,
-0.029498165473341942,
0.003084453521296382,
-0.0022095476742833853,
-0.025369923561811447,
0.01710405759513378,
-0.014814759604632854,
0.0074918209575116634,
-0.007867115549743176,
-0.01170919556170702,
-0.032181523740291595,
-0.0352214090526104,
0.007665394805371761,
-0.007585644721984863,
-0.026195572689175606,
-0.008856955915689468,
-0.002526202704757452,
-0.012347196228802204,
-0.02955446019768715,
-0.014383170753717422,
-0.003171240445226431,
-0.05092749372124672,
-0.006389392539858818,
0.002016036305576563,
0.038993123918771744,
-0.039518535137176514,
-0.026777278631925583,
0.027340220287442207,
0.014598964713513851,
0.007186893839389086,
-0.007360467687249184,
-0.02797822281718254,
-0.0040625655092298985,
0.02448798157274723,
-0.011033665388822556,
0.03227534517645836,
0.006229892373085022,
-0.017066527158021927,
0.02653333730995655,
-0.022686567157506943,
-0.013172845356166363,
0.0022857794538140297,
0.12692467868328094,
0.054755501449108124,
-0.04383442550897598,
0.03216275945305824,
-0.01728232204914093,
-0.0023373824078589678,
-0.015818672254681587,
-0.04739972576498985,
0.025201041251420975,
0.024825746193528175,
0.038467708975076675,
-0.008908558636903763,
0.04402207210659981,
-0.002814710373058915,
-0.034452054649591446,
0.01258175540715456,
0.04754984378814697,
0.018098589032888412,
-0.027227632701396942,
-0.04357171803712845,
0.0394059456884861,
0.03537152707576752,
0.08624272793531418,
-0.021035268902778625,
0.054455265402793884,
-0.001279520452953875,
0.00519314082339406,
0.0015433995286002755,
0.00045387205318547785,
-0.005376096814870834,
0.018961766734719276,
0.01027369312942028,
0.07063046842813492,
0.0009007073240354657,
-0.07753589004278183,
0.01792970485985279,
0.06950458139181137,
0.014392552897334099,
0.03820500522851944,
-0.038692887872457504,
0.05982197821140289,
-0.019815562292933464,
0.08579237759113312,
-0.06462575495243073,
0.03287581726908684,
0.029235459864139557,
-0.0126943439245224,
0.04026912525296211,
0.009710751473903656,
0.042633481323719025,
0.021785859018564224,
0.07025517523288727,
0.002753725042566657,
0.008763131685554981,
-0.017319852486252785,
-0.028860164806246758,
-0.004111822694540024,
0.02039726823568344,
0.05524338409304619,
-0.007233805954456329,
0.019215090200304985,
-0.01523696631193161,
0.003053960856050253,
-0.034226879477500916,
0.01883041299879551,
-0.04199548065662384,
-0.02257397770881653,
0.017019616439938545,
-0.025876572355628014,
-0.022799154743552208,
0.018361294642090797,
-0.019834326580166817,
-0.02615804225206375,
0.07055541127920151,
0.03432070463895798,
0.03405799716711044,
-0.03811118006706238,
-0.06781575828790665,
0.04274607077240944,
-0.01185931358486414,
-0.02176709473133087,
0.021654505282640457,
0.07299482822418213,
-0.03235040605068207,
0.015471525490283966,
-0.06935446709394455,
-0.015724848955869675,
-0.02743404544889927,
-0.021616976708173752,
-0.007960939779877663,
0.013679493218660355,
0.008303395472466946,
-0.03698529675602913,
-0.021035268902778625,
0.0010654851794242859,
0.01690702699124813,
0.015396466478705406,
-0.0035793734714388847,
0.013257286511361599,
-0.09179709106683731,
0.05486809089779854,
0.00536202359944582,
-0.05614409223198891,
0.02364356815814972,
0.05955927446484566,
0.042708538472652435,
-0.061585865914821625,
0.008659926243126392,
-0.012065725401043892,
0.03253805264830589,
-0.05693221092224121,
0.02775304578244686,
-0.028372282162308693,
0.021110327914357185,
0.031731169670820236,
0.026326924562454224,
0.007444909308105707,
0.052879028022289276,
0.02446921542286873,
-0.019290149211883545,
0.003037541639059782,
0.042258188128471375,
-0.014195523224771023,
-0.006938261445611715,
-0.007477747276425362,
0.004785007797181606,
-0.0012326085707172751,
0.019196325913071632,
0.005423008929938078,
-0.030792932957410812,
-0.005244744010269642,
-0.06834117323160172,
0.06729034334421158,
0.0017662307946011424,
-0.013200991787016392,
-0.06477586925029755,
-0.003309630323201418,
0.08841943740844727,
0.011605989187955856,
0.03274446353316307,
0.054905619472265244,
0.03250052407383919,
0.03152475878596306,
-0.02743404544889927,
-0.04743725433945656,
0.023474685847759247,
-0.020021973177790642,
0.019721737131476402,
-0.011240077205002308,
0.04041924327611923,
0.0689791738986969,
-0.046724192798137665,
-0.00042103376472368836,
0.0212229173630476,
-0.005695097614079714,
0.06837870180606842,
0.006731849163770676,
-0.03719170764088631,
0.002233003731817007,
0.02022838592529297,
0.07216917723417282,
0.014795994386076927,
-0.03448958694934845,
0.050214435905218124,
0.01690702699124813,
-0.07220670580863953,
-0.06541386991739273,
0.028972752392292023,
0.004545757547020912,
0.019196325913071632,
0.01204696111381054,
-0.038392651826143265,
0.058696094900369644,
-0.026627160608768463,
-0.009626309387385845,
-0.050064317882061005,
-0.02341839112341404,
-0.029047811403870583,
-0.061135511845350266,
-0.01280693244189024,
0.02334333211183548,
0.0008332715951837599,
-0.009110279381275177,
-0.0037412194069474936,
-0.027002455666661263,
-0.030886756256222725,
0.004311198368668556,
-0.06957964599132538,
-0.035427823662757874,
0.03811118006706238,
0.023399626836180687,
-0.0023913311306387186,
-0.06267421692609787,
0.025951631367206573,
0.053404439240694046,
0.023174449801445007,
0.04199548065662384,
-0.043609246611595154,
0.04818784445524216,
0.058320801705121994,
-0.029667047783732414,
-0.03144969791173935,
0.009917163290083408,
-0.002948409179225564,
0.029591988772153854,
-0.005254126153886318,
-0.046123720705509186,
-0.01598755456507206,
-0.03197510913014412,
0.030755402520298958,
0.00029187960899434984,
-0.042483363300561905,
-0.00902583822607994,
0.040043946355581284,
-0.00002032235533988569,
0.004972655326128006,
0.006595804821699858,
-0.0508149079978466,
0.02441292256116867,
-0.04199548065662384,
0.05959680303931236,
0.004616125021129847,
0.00526819983497262,
0.056894682347774506,
0.028015751391649246,
0.08932014554738998,
-0.0038256605621427298,
-0.05858350545167923,
-0.002582496963441372,
0.02242385968565941,
-0.029160400852560997,
-0.001260755700059235,
0.037341825664043427,
0.004100095015019178,
0.05224102735519409,
-0.029892224818468094,
0.01394219882786274,
0.0576077401638031,
0.046198781579732895,
0.008111056871712208,
0.010376899503171444,
-0.07096823304891586,
-0.033982936292886734,
-0.046123720705509186,
-0.06338728219270706,
0.0522785559296608,
0.027171337977051735,
0.03251928836107254,
0.0007846005610190332,
0.011071194894611835,
0.0052212877199053764,
-0.016597408801317215,
0.010179869830608368,
0.0003524252097122371,
-0.014157993718981743,
-0.012178313918411732,
0.012234607711434364,
0.015893731266260147,
0.059146448969841,
-0.05359208583831787,
-0.01049887016415596,
-0.0326131135225296,
-0.05197831988334656,
0.014120464213192463,
0.013257286511361599,
0.09735145419836044,
-0.037848472595214844,
0.008125131018459797,
0.009851486422121525,
0.04860066622495651,
0.025651395320892334,
-0.061585865914821625,
-0.00045533807133324444,
-0.07321999967098236,
-0.05130279064178467,
0.032857052981853485,
0.014720935374498367,
0.005146229173988104,
0.034301936626434326,
0.024300333112478256,
0.07119341194629669,
0.006370628252625465,
-0.05216596648097038,
0.0010983234969899058,
-0.017291704192757607,
0.03394540771842003,
0.0803130716085434,
0.031862523406744,
-0.01573423109948635,
0.00402034493163228,
0.030117401853203773,
0.017901558429002762,
0.057645268738269806,
0.06852881610393524,
-0.03981877118349075,
0.015996938571333885,
-0.015968790277838707,
-0.030436402186751366,
-0.029291752725839615,
0.04008147865533829,
-0.024394158273935318,
-0.011455871164798737,
0.0276779867708683,
-0.05775785818696022,
0.03569052740931511,
0.04811278358101845,
-0.024375392124056816,
0.013932816684246063,
0.0280345156788826,
0.006075083278119564,
0.008237719535827637,
-0.06395021826028824,
0.06939199566841125,
-0.04368430748581886,
-0.012966432608664036,
0.03265064209699631,
0.028935223817825317,
-0.08909496665000916,
-0.018943000584840775,
0.0008449995657429099,
-0.06349986791610718,
0.0303238146007061,
-0.010292458347976208,
-0.058696094900369644,
0.009851486422121525,
0.013538757339119911,
-0.037998590618371964,
-0.05745762214064598,
0.0530666746199131,
-0.045373134315013885,
0.002821747213602066,
-0.049839138984680176,
-0.038467708975076675,
0.0038420797791332006,
0.025107217952609062,
-0.05336691066622734,
-0.0016970358556136489,
0.04912608116865158,
0.05494314804673195,
-0.05700726807117462,
-0.0016043849755078554,
0.032031405717134476,
-0.02752786874771118,
-0.015433995984494686,
-0.029141636565327644,
0.008894485421478748,
0.029272988438606262,
0.00031724132713861763,
-0.010949223302304745,
-0.003018776886165142,
0.0011153289815410972,
-0.01258175540715456,
0.02341839112341404,
-0.0008279940229840577,
-0.018295617774128914,
0.007641938980668783,
0.020828858017921448,
-0.002746688202023506,
-0.015555966645479202,
-0.002055911347270012,
0.0004837783635593951,
0.024206509813666344,
0.05978444963693619,
-0.0034597483463585377,
0.02568892389535904,
0.004611433949321508,
0.06871646642684937,
0.03782970830798149,
0.002985938685014844,
0.030154932290315628,
-0.008251792751252651,
0.026739750057458878,
-0.02007826790213585,
0.033007171005010605,
-0.032181523740291595,
0.019721737131476402,
0.019496561959385872,
-0.01640976220369339,
-0.00935422070324421,
0.07033023238182068,
-0.054004911333322525,
-0.002929644426330924,
-0.0060610100626945496,
0.03499623388051987,
0.053254321217536926,
-0.02030344493687153,
0.03903065249323845,
-0.034602172672748566,
-0.007074305787682533,
-0.017995381727814674,
-0.00627211295068264,
0.0704428181052208,
-0.04038171470165253,
-0.06638963520526886,
-0.020284680649638176,
-0.028559928759932518,
-0.02818463370203972,
0.06920434534549713,
-0.036872707307338715,
0.017047762870788574,
0.005441773682832718,
-0.02169203571975231,
0.05250373110175133,
0.003269755281507969,
0.007970321923494339,
0.049989257007837296,
0.0238687451928854,
-0.04041924327611923,
-0.030061107128858566,
0.05745762214064598,
-0.003689616220071912,
0.0303050484508276,
-0.004369838163256645,
0.04413466155529022,
0.020528621971607208,
0.023249508813023567,
-0.019796796143054962,
0.03047393262386322,
-0.01204696111381054,
0.02281791903078556,
0.02197350561618805,
0.057645268738269806,
-0.05250373110175133,
0.017244793474674225,
-0.01534955482929945,
-0.010433193296194077,
-0.0019984443206340075,
0.019158795475959778,
-0.017197880893945694,
0.046649135649204254,
-0.0033213584683835506,
-0.010057899169623852,
-0.005179067142307758,
-0.056594446301460266,
0.025557570159435272,
0.005235361400991678,
0.045898545533418655,
0.02045356296002865,
-0.0553559735417366,
-0.005277581978589296,
0.008415983989834785,
-0.020735032856464386,
-0.04792513698339462,
0.03238793462514877,
0.013998493552207947,
-0.01397972833365202,
-0.00955125130712986,
0.015433995984494686,
0.07130599766969681,
-0.02129797637462616,
-0.030811697244644165,
0.019346443936228752,
0.015865584835410118,
0.07269459217786789,
-0.05025196447968483,
0.02591410093009472,
-0.022011036053299904,
-0.02600792422890663,
-0.03788600116968155,
0.05576879531145096,
0.028972752392292023,
0.036047060042619705,
-0.04466007277369499,
-0.013022727333009243,
-0.018117353320121765,
0.027115043252706528
] |
725,591 | awpy.parser.demoparser | _parse_rounds | Returns rounds as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a round
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_rounds(self) -> pd.DataFrame:
"""Returns rounds as a Pandas dataframe
Returns:
A Pandas dataframe where each row is a round
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
rounds = []
# There is currently no better way than this monstrosity...
# https://github.com/python/mypy/issues/9230
# https://stackoverflow.com/a/64522240/7895542
cols_type = Literal[
"roundNum",
"startTick",
"freezeTimeEndTick",
"endTick",
"endOfficialTick",
"tScore",
"ctScore",
"endTScore",
"endCTScore",
"tTeam",
"ctTeam",
"winningSide",
"winningTeam",
"losingTeam",
"roundEndReason",
"ctFreezeTimeEndEqVal",
"ctRoundStartEqVal",
"ctRoundSpendMoney",
"ctBuyType",
"tFreezeTimeEndEqVal",
"tRoundStartEqVal",
"tRoundSpendMoney",
"tBuyType",
]
cols: list[cols_type] = list(get_args(cols_type))
for r in self.json["gameRounds"] or []:
round_item: dict[str, Any] = {}
for k in cols:
round_item[k] = r[k]
round_item["matchID"] = self.json["matchID"]
round_item["mapName"] = self.json["mapName"]
rounds.append(round_item)
return pd.DataFrame(rounds)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.019614778459072113,
-0.038464102894067764,
-0.062308020889759064,
0.005874865688383579,
-0.046998925507068634,
-0.01807430200278759,
-0.03953573852777481,
0.09966221451759338,
0.03450287505984306,
-0.021107416599988937,
0.021547552198171616,
0.07068975269794464,
-0.026944007724523544,
0.03237873688340187,
-0.013165822252631187,
-0.005496922414749861,
0.04902737960219383,
0.03894251212477684,
0.011079957708716393,
-0.01530909538269043,
0.028666282072663307,
-0.003879898926243186,
0.019566938281059265,
0.10433148592710495,
0.009960480034351349,
0.014046095311641693,
0.009816957637667656,
-0.004425285384058952,
0.01672518625855446,
0.001662472146563232,
-0.005678717512637377,
-0.0016074550803750753,
-0.019806142896413803,
0.042635831981897354,
-0.05545720085501671,
-0.03538314625620842,
-0.03040769137442112,
-0.04118146747350693,
-0.10111657530069351,
-0.020150598138570786,
-0.017203595489263535,
-0.049371834844350815,
0.021298779174685478,
-0.028073053807020187,
-0.07107247412204742,
-0.06299693137407303,
-0.008109036833047867,
-0.007133082021027803,
0.025298280641436577,
-0.07861220836639404,
-0.019509529694914818,
0.008482195436954498,
-0.020609870553016663,
0.10165239870548248,
-0.03425410017371178,
-0.01729927770793438,
-0.062269747257232666,
0.04466428607702255,
0.020169733092188835,
-0.016773028299212456,
-0.05798320099711418,
0.01281179953366518,
-0.03205341845750809,
0.02460937201976776,
0.023882189765572548,
-0.009477287530899048,
-0.02043764293193817,
-0.018772779032588005,
-0.02049505151808262,
-0.05645228922367096,
0.016820868477225304,
0.09078294038772583,
0.04803228750824928,
0.06422165781259537,
-0.05698810890316963,
0.03345037251710892,
-0.040416013449430466,
-0.035670194774866104,
0.014486231841146946,
-0.01151052676141262,
0.01310841366648674,
0.04485565051436424,
-0.024130962789058685,
-0.01969132386147976,
-0.03276146575808525,
-0.0317472368478775,
0.08328147977590561,
0.08986439555883408,
-0.0517064705491066,
-0.017404528334736824,
-0.007888968102633953,
-0.00815687794238329,
-0.017959482967853546,
-0.013663368299603462,
-0.006047092843800783,
-0.01865795999765396,
-0.03257010132074356,
0.04294201359152794,
-0.07482320815324783,
-0.037488147616386414,
-0.041640739887952805,
0.034043602645397186,
-0.0616191104054451,
0.041449375450611115,
-0.023939598351716995,
-0.014964641071856022,
-0.013950413092970848,
-0.054500382393598557,
-0.04504701495170593,
0.013385890983045101,
-0.11856894940137863,
0.03691405802965164,
-0.02763291820883751,
-0.02684832736849785,
0.05924620106816292,
0.0178638007491827,
-0.01667734608054161,
0.0109364353120327,
-0.00506156962364912,
0.0004562828107737005,
0.034062739461660385,
0.02579582668840885,
0.06219319999217987,
0.012773526832461357,
-0.02242782525718212,
-0.014505368657410145,
-0.004403756931424141,
-0.021911142393946648,
0.030560782179236412,
0.00680297939106822,
0.05783011019229889,
-0.02403528057038784,
0.012735254131257534,
0.013672935776412487,
0.004071262665092945,
0.03291455656290054,
0.03532573953270912,
0.011204344220459461,
0.05178301781415939,
0.006429820321500301,
0.058289382606744766,
-0.042635831981897354,
-0.02545137144625187,
-0.05300774425268173,
-0.009874367155134678,
-0.014897664077579975,
-0.04864465072751045,
0.049601469188928604,
-0.021604960784316063,
-0.0038440183270722628,
-0.03193860128521919,
-0.03257010132074356,
-0.0019650659523904324,
0.006831684149801731,
0.02064814232289791,
-0.02619769051671028,
0.01053457148373127,
0.0069560701958835125,
0.029355190694332123,
-0.02543223462998867,
-0.022389551624655724,
-0.025968054309487343,
0.0036861433181911707,
-0.023001916706562042,
-0.03301023691892624,
0.04990765079855919,
-0.004032989963889122,
-0.10961312800645828,
-0.01925118826329708,
0.00507113803178072,
0.04156419634819031,
0.0736367478966713,
-0.009472503326833248,
-0.030139781534671783,
-0.026714371517300606,
-0.02700141817331314,
0.02323155291378498,
-0.0036670067347586155,
-0.02024627849459648,
-0.04409019649028778,
-0.007826775312423706,
-0.04830019548535347,
-0.019212914630770683,
-0.027173645794391632,
-0.01909809745848179,
-0.010218821465969086,
0.021911142393946648,
-0.034655965864658356,
-0.008166445419192314,
0.02302105352282524,
-0.026178553700447083,
-0.020590733736753464,
0.00803727563470602,
0.0015297135105356574,
0.03394791856408119,
-0.035670194774866104,
0.011749731376767159,
0.087338387966156,
-0.046386558562517166,
-0.03132623806595802,
-0.04673101380467415,
-0.0013012731214985251,
0.010611116886138916,
-0.021413598209619522,
-0.05825110897421837,
-0.08756802976131439,
-0.10609203577041626,
-0.010955571196973324,
-0.001624199328944087,
-0.043056830763816833,
-0.02401614375412464,
-0.04236792400479317,
0.03364173695445061,
0.05285465344786644,
0.03542141988873482,
-0.014390549622476101,
0.02744155377149582,
-0.030694736167788506,
0.01825609616935253,
-0.03291455656290054,
0.04068392142653465,
-0.06839338690042496,
-0.03758383169770241,
-0.04026292264461517,
0.0007331621600314975,
-0.008812298066914082,
-0.017624596133828163,
0.05913138389587402,
0.023729098960757256,
-0.018514437600970268,
-0.008740536868572235,
-0.08113820850849152,
0.012850072234869003,
-0.04925701394677162,
-0.03146019205451012,
-0.038215331733226776,
0.017557619139552116,
-0.011500958353281021,
0.06410683691501617,
-0.024800734594464302,
0.01332848146557808,
-0.017615027725696564,
-0.011759298853576183,
0.013481572270393372,
-0.04611865058541298,
-0.031689826399087906,
0.01731841452419758,
-0.027384145185351372,
-0.016256345435976982,
0.02049505151808262,
0.04294201359152794,
0.02424577996134758,
0.07114902138710022,
0.058098018169403076,
0.011816708371043205,
-0.08404693752527237,
-0.04298028722405434,
0.03559364750981331,
0.014361845329403877,
-0.02026541531085968,
0.06433647125959396,
-0.013883436098694801,
0.016591232270002365,
-0.013385890983045101,
-0.04160246625542641,
0.002337029203772545,
-0.05407937988638878,
0.017165323719382286,
0.01850486919283867,
-0.0018000147538259625,
-0.0674748420715332,
-0.049639742821455,
0.013701641000807285,
-0.008922331966459751,
-0.0037435523699969053,
0.034655965864658356,
0.009692571125924587,
0.001306057209149003,
-0.043439559638500214,
-0.010907731018960476,
-0.006750354543328285,
-0.030331145972013474,
0.015031618066132069,
-0.006731218192726374,
0.02681005373597145,
-0.024360598996281624,
-0.02845578081905842,
0.04550628736615181,
0.012964890338480473,
-0.007247900124639273,
-0.0071043772622942924,
-0.034273236989974976,
0.009185457602143288,
0.03392878174781799,
-0.005281637888401747,
0.03232133015990257,
-0.014993345364928246,
-0.05312256142497063,
0.03469423949718475,
-0.023346370086073875,
-0.0138930045068264,
0.0045185755006968975,
0.1251518577337265,
0.049639742821455,
-0.05381147190928459,
0.034464601427316666,
-0.02977619133889675,
-0.02803478203713894,
-0.01253432221710682,
-0.04014810174703598,
0.0109364353120327,
0.025719281286001205,
0.06138947233557701,
-0.026676099747419357,
0.034866467118263245,
-0.006391547620296478,
-0.07229720801115036,
-0.009089775383472443,
0.04554456099867821,
-0.01321366336196661,
-0.03396705538034439,
-0.020973460748791695,
0.05407937988638878,
0.004355916287750006,
0.10065730661153793,
0.0043989731930196285,
0.005037649534642696,
0.002014102879911661,
-0.015940595418214798,
0.04298028722405434,
0.014342709444463253,
-0.01984441466629505,
0.05185956135392189,
0.03201514482498169,
0.06709211319684982,
-0.0051381150260567665,
-0.023997006937861443,
0.021566689014434814,
0.019145937636494637,
0.012218572199344635,
0.03909560292959213,
-0.023920461535453796,
0.06789583712816238,
-0.03017805516719818,
0.06613529473543167,
-0.02147100679576397,
0.017615027725696564,
0.016409436240792274,
0.0006051876698620617,
0.01361552719026804,
0.005118978675454855,
0.008912764489650726,
0.019978370517492294,
0.06318829208612442,
0.009175889194011688,
0.013940845616161823,
-0.005535195115953684,
-0.029642237350344658,
0.006750354543328285,
-0.016763459891080856,
0.05905483663082123,
-0.009893503040075302,
0.02028455212712288,
0.021183962002396584,
0.0005827622371725738,
-0.020743824541568756,
0.004855853971093893,
-0.0377751924097538,
-0.013969549909234047,
0.03919128328561783,
-0.019528664648532867,
-0.02920209988951683,
0.01905982382595539,
0.0007875812007114291,
0.0025044723879545927,
0.07283302396535873,
0.017969051375985146,
0.012591730803251266,
-0.018370915204286575,
-0.06540811061859131,
0.02922123670578003,
-0.009903071448206902,
-0.0077789342030882835,
0.021834596991539,
0.07206756621599197,
-0.041449375450611115,
-0.010974708013236523,
-0.03758383169770241,
0.019442550837993622,
-0.05779183655977249,
-0.048568107187747955,
0.0012163554783910513,
0.01807430200278759,
0.05679674446582794,
-0.034273236989974976,
-0.0357084646821022,
0.03119228221476078,
0.004719506949186325,
-0.002813046332448721,
-0.01053457148373127,
-0.016619937494397163,
-0.0855012983083725,
0.053352199494838715,
-0.01569182239472866,
-0.0834345743060112,
-0.009400741197168827,
0.03102005459368229,
0.0030546430498361588,
-0.025145189836621284,
-0.029642237350344658,
-0.00546343345195055,
0.036244284361600876,
-0.0288002360612154,
0.006281513255089521,
-0.045621104538440704,
0.053543563932180405,
0.04118146747350693,
0.04627174139022827,
0.01729927770793438,
0.03754555806517601,
0.06341792643070221,
-0.013242367655038834,
0.0005764831439591944,
0.062499381601810455,
0.008750105276703835,
0.0178542323410511,
0.01412264071404934,
-0.00973562803119421,
-0.014180050231516361,
0.0007331621600314975,
0.016753891482949257,
-0.04213828593492508,
-0.03390964865684509,
-0.021566689014434814,
0.05526583641767502,
0.004985024221241474,
-0.017595892772078514,
-0.04213828593492508,
0.01082161720842123,
0.048185378313064575,
0.010170980356633663,
0.029355190694332123,
0.056528836488723755,
0.007558865938335657,
0.03450287505984306,
-0.058136291801929474,
-0.016026709228754044,
-0.010879025794565678,
-0.04650137946009636,
0.0037507284432649612,
-0.01253432221710682,
0.01607455126941204,
0.08580747991800308,
-0.038081374019384384,
-0.020188869908452034,
0.0005890413885936141,
-0.018724936991930008,
0.04653964936733246,
0.005817456170916557,
0.010285798460245132,
0.03829187527298927,
0.00665467232465744,
0.042061738669872284,
0.02681005373597145,
-0.04485565051436424,
0.04294201359152794,
0.010745071806013584,
-0.05725601688027382,
-0.06525502353906631,
0.03475164622068405,
0.01725143752992153,
0.023403780534863472,
0.012840503826737404,
-0.05205092579126358,
0.04347783327102661,
0.01930859684944153,
-0.009520343504846096,
-0.03670355677604675,
-0.02740328200161457,
0.00022410483506973833,
-0.04516183212399483,
-0.03021632693707943,
-0.00045747883268631995,
0.008089900016784668,
-0.004365484230220318,
0.012075048871338367,
-0.04018637537956238,
-0.02127964235842228,
0.0020045347046107054,
-0.08266911655664444,
-0.02619769051671028,
0.028360100463032722,
0.03500042110681534,
0.031479328870773315,
-0.026714371517300606,
0.04948665201663971,
0.04477910324931145,
0.015261255204677582,
0.0288385096937418,
-0.03614860400557518,
0.030752146616578102,
0.04891256242990494,
-0.018954575061798096,
0.005889217834919691,
0.03021632693707943,
-0.01850486919283867,
0.00600882014259696,
0.031881190836429596,
-0.0476878322660923,
-0.04784092307090759,
-0.055342379957437515,
0.02401614375412464,
-0.0023501852992922068,
-0.0248581450432539,
-0.01173059456050396,
0.04033946618437767,
0.01769157312810421,
-0.020514188334345818,
-0.035880692303180695,
-0.029336053878068924,
0.0317855104804039,
-0.020418506115674973,
0.02503037080168724,
0.006769490893930197,
-0.00041860807687044144,
0.08619020879268646,
0.036435648798942566,
0.07960730046033859,
0.016371164470911026,
-0.045391470193862915,
0.02996755577623844,
0.023403780534863472,
-0.012553458102047443,
0.009065855294466019,
0.017337551340460777,
0.013797322288155556,
0.06383892893791199,
-0.036072056740522385,
0.04409019649028778,
0.04948665201663971,
0.033469509333372116,
0.02700141817331314,
0.005846160929650068,
-0.04451119527220726,
-0.039229556918144226,
-0.005836592521518469,
-0.006099717691540718,
0.05067310854792595,
0.01908852905035019,
0.008109036833047867,
0.02719278074800968,
0.03232133015990257,
0.04229137673974037,
-0.016983527690172195,
0.006539854221045971,
-0.003530660178512335,
-0.015471754595637321,
-0.01848573237657547,
0.023709962144494057,
-0.03080955520272255,
0.04745819792151451,
-0.047955743968486786,
0.029297782108187675,
0.014275731518864632,
-0.049754559993743896,
0.010687662288546562,
0.002487728139385581,
0.10838839411735535,
-0.07329229265451431,
0.0027077964041382074,
0.015433481894433498,
0.009381605312228203,
0.04336301237344742,
-0.03899992257356644,
0.021834596991539,
-0.07493802160024643,
-0.05691156163811684,
0.0028728474862873554,
-0.020820369943976402,
-0.008821866475045681,
0.0144096864387393,
0.023748233914375305,
0.011099094524979591,
-0.04489392414689064,
-0.06142774596810341,
0.008228639140725136,
-0.051553379744291306,
0.02805391699075699,
0.06797238439321518,
0.010448457673192024,
0.00007437768363161013,
0.02901073731482029,
0.03040769137442112,
0.017643732950091362,
0.03754555806517601,
0.06445129215717316,
-0.05243365466594696,
-0.0006619988125748932,
-0.012256844900548458,
-0.03159414604306221,
-0.03699060156941414,
0.04129628464579582,
-0.024953825399279594,
-0.0065063657239079475,
0.028494054451584816,
-0.04229137673974037,
0.01969132386147976,
0.04523837938904762,
-0.030847826972603798,
0.00253317691385746,
0.040416013449430466,
0.003210125956684351,
-2.8498988058345276e-7,
-0.02606373466551304,
0.06491056829690933,
-0.061504293233156204,
-0.022006824612617493,
0.008960604667663574,
0.008577877655625343,
-0.0795307531952858,
-0.004181296564638615,
-0.010764207690954208,
-0.0396888293325901,
0.020188869908452034,
-0.008874491788446903,
-0.02977619133889675,
0.0028321826830506325,
0.0109364353120327,
-0.037449873983860016,
-0.10371912270784378,
0.03216823562979698,
-0.03599550947546959,
0.061925292015075684,
-0.036473918706178665,
-0.04290373995900154,
-0.0048080128617584705,
0.04030119627714157,
-0.03316332772374153,
0.0045807682909071445,
0.009960480034351349,
0.0675131157040596,
-0.03632082790136337,
-0.007707173004746437,
0.04014810174703598,
-0.016801731660962105,
-0.029068145900964737,
-0.025585325434803963,
0.011185208335518837,
0.03813878446817398,
0.019031120464205742,
-0.022293871268630028,
0.018571846187114716,
-0.0002852515026461333,
-0.019184211269021034,
0.010371912270784378,
0.016591232270002365,
-0.021968552842736244,
-0.021183962002396584,
0.018629256635904312,
-0.0027054043021053076,
-0.028551463037729263,
0.013003163039684296,
-0.03396705538034439,
-0.00943901389837265,
0.038043104112148285,
0.005152467638254166,
0.023308098316192627,
0.03691405802965164,
0.04902737960219383,
0.04611865058541298,
0.016256345435976982,
0.02564273588359356,
0.009582537226378918,
0.008841002359986305,
-0.023997006937861443,
0.03710542246699333,
-0.03551710024476051,
0.02937432751059532,
0.018772779032588005,
-0.003958836663514376,
-0.03017805516719818,
0.05936101824045181,
-0.07650720328092575,
0.022121643647551537,
-0.008367377333343029,
0.047190286219120026,
0.002526000840589404,
-0.017940346151590347,
0.015510027296841145,
-0.030254600569605827,
0.006133206654340029,
-0.02265746146440506,
-0.004456382244825363,
0.06628838181495667,
-0.019729597494006157,
-0.06326483935117722,
-0.039612285792827606,
-0.00387272285297513,
-0.007893752306699753,
0.06387720257043839,
-0.0025570974685251713,
0.0005758851184509695,
0.018983278423547745,
0.0016122391680255532,
0.06778102368116379,
-0.013232799246907234,
-0.011701890267431736,
0.05618438124656677,
0.06020301952958107,
-0.035651057958602905,
-0.0104293217882514,
0.05943756550550461,
0.012763958424329758,
0.03611033037304878,
0.01671561971306801,
0.03789001330733299,
0.012094185687601566,
0.024111825972795486,
-0.057715289294719696,
-0.01013270765542984,
-0.0007851891568861902,
0.021911142393946648,
0.01945211924612522,
0.0337565578520298,
-0.019366005435585976,
0.027479827404022217,
0.011912389658391476,
-0.019614778459072113,
0.01609368622303009,
0.021298779174685478,
-0.012055912986397743,
0.031268827617168427,
0.03155587241053581,
-0.024188371375203133,
0.008405650034546852,
-0.04014810174703598,
0.05205092579126358,
0.011395707726478577,
0.05985856428742409,
0.018332641571760178,
-0.08580747991800308,
-0.02164323441684246,
0.010812048800289631,
-0.02543223462998867,
-0.03616773709654808,
0.029871873557567596,
0.025355689227581024,
-0.015835346654057503,
-0.005339046940207481,
0.01884932443499565,
0.05622265487909317,
-0.01710791513323784,
-0.01611282303929329,
0.039420921355485916,
0.004166944418102503,
0.09108912199735641,
-0.02501123584806919,
0.009659082628786564,
-0.015156004577875137,
-0.04133455827832222,
0.004150200169533491,
0.0556868351995945,
0.002179154194891453,
0.02007405087351799,
-0.03364173695445061,
-0.028857644647359848,
0.008893627673387527,
0.018839756026864052
] |
725,592 | awpy.parser.demoparser | _parse_weapon_fires | Returns weapon fires as either a list or Pandas dataframe
Returns:
A Pandas dataframe where each row is a weapon fire event
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def _parse_weapon_fires(self) -> pd.DataFrame:
"""Returns weapon fires as either a list or Pandas dataframe
Returns:
A Pandas dataframe where each row is a weapon fire event
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
shots = []
for r in self.json["gameRounds"] or []:
if r["weaponFires"] is not None:
for wf in r["weaponFires"]:
new_wf: dict[str, Any] = dict(wf)
new_wf["roundNum"] = r["roundNum"]
new_wf["matchID"] = self.json["matchID"]
new_wf["mapName"] = self.json["mapName"]
shots.append(new_wf)
return pd.DataFrame(shots)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> pandas.core.frame.DataFrame | [
0.0249027106910944,
-0.027918418869376183,
-0.03023107722401619,
-0.026197800412774086,
-0.03513391315937042,
-0.022682558745145798,
-0.03215520828962326,
0.07881541550159454,
0.02902849391102791,
0.04558713361620903,
-0.013755694963037968,
0.04436604678630829,
-0.013690941035747528,
0.01800173707306385,
-0.0002809880534186959,
-0.02418116107583046,
-0.027067359536886215,
0.06138721853494644,
0.018233003094792366,
0.0030758364591747522,
0.013663188554346561,
-0.02815893478691578,
-0.0026873096358031034,
0.05394970625638962,
-0.006669708527624607,
0.022793566808104515,
-0.0067575895227491856,
0.019555844366550446,
0.03537442907691002,
0.0005663123447448015,
0.004995343275368214,
-0.05665089190006256,
0.0013737194240093231,
-0.0027867539320141077,
-0.03937070444226265,
-0.010656732134521008,
-0.06601253896951675,
-0.07041583955287933,
-0.111451655626297,
0.0286029651761055,
-0.06468044221401215,
-0.045365117490291595,
0.01120251975953579,
-0.015420809388160706,
-0.035485439002513885,
-0.021794497966766357,
0.01454199943691492,
0.005851027090102434,
0.025568757206201553,
-0.04995343089103699,
-0.023367105051875114,
0.038704659789800644,
-0.017733467742800713,
0.07041583955287933,
-0.006396814715117216,
0.03685453161597252,
-0.05387570336461067,
0.04540212079882622,
0.02993505634367466,
-0.012553112581372261,
-0.004410240333527327,
0.027344878762960434,
0.0026109919417649508,
-0.014208976179361343,
0.053024642169475555,
-0.004139659460633993,
0.032229214906692505,
-0.018917549401521683,
-0.03911168873310089,
-0.011831562966108322,
0.018806541338562965,
0.07385707646608353,
-0.01070298533886671,
0.06660457700490952,
-0.03922269493341446,
0.0028977615293115377,
-0.032691746950149536,
-0.047141239047050476,
0.03903768211603165,
-0.02259005233645439,
0.024236666038632393,
0.0302495788782835,
-0.05295063927769661,
0.020758425816893578,
-0.01231259573251009,
0.040369775146245956,
0.02771490439772606,
0.05202557519078255,
-0.06486545503139496,
0.0056058852933347225,
-0.0044472431764006615,
-0.001387595315463841,
-0.02595728449523449,
-0.03646600618958473,
-0.017742719501256943,
-0.0024259791243821383,
-0.049324389547109604,
0.02980554848909378,
-0.040184762328863144,
0.006688209716230631,
-0.02845495566725731,
0.03258073702454567,
-0.05409771576523781,
0.06926876306533813,
-0.016743650659918785,
0.009768671356141567,
0.01452349778264761,
-0.04743725806474686,
-0.009324640966951847,
0.012238590978085995,
-0.09783472120761871,
0.0045721265487372875,
0.004109594970941544,
-0.01920432038605213,
0.024736199527978897,
0.014939776621758938,
0.005786272697150707,
0.009620660915970802,
0.016456881538033485,
-0.011378281749784946,
0.055244795978069305,
0.0035661200527101755,
0.04055478796362877,
0.028232939541339874,
0.02921350672841072,
-0.018806541338562965,
-0.05783497542142868,
-0.08369974792003632,
0.07903742790222168,
0.040369775146245956,
0.007543893530964851,
0.02110994979739189,
-0.007747407536953688,
0.009759420529007912,
0.008894486352801323,
-0.007802911102771759,
0.0054948776960372925,
-0.0053977458737790585,
0.0498054213821888,
-0.03424585238099098,
-0.005147978663444519,
-0.03718755394220352,
0.018233003094792366,
-0.04407002776861191,
-0.03818662464618683,
0.032062701880931854,
-0.028658468276262283,
0.0613132119178772,
-0.02122095786035061,
-0.03374631702899933,
-0.0062904320657253265,
-0.02107294835150242,
-0.038704659789800644,
-0.047696277499198914,
0.05117451772093773,
-0.05254361033439636,
-0.03145216032862663,
0.01505078375339508,
0.058649029582738876,
0.0014234415721148252,
0.015855589881539345,
-0.04643819108605385,
-0.041220832616090775,
-0.005342242307960987,
-0.04943539574742317,
0.027622397989034653,
0.020277393981814384,
0.006073042284697294,
0.01639212667942047,
0.018621530383825302,
0.035799961537122726,
0.10863946378231049,
0.006507822312414646,
-0.005272862501442432,
-0.03733556717634201,
0.039592720568180084,
-0.015143290162086487,
-0.014486495405435562,
0.017224684357643127,
-0.0013667814200744033,
-0.057908978313207626,
-0.03306177258491516,
-0.0010701828869059682,
-0.03903768211603165,
0.012460606172680855,
-0.014153472147881985,
-0.004521248396486044,
0.0209619402885437,
-0.01195182092487812,
0.09110026061534882,
-0.017733467742800713,
-0.017437448725104332,
-0.010147946886718273,
0.006392189301550388,
0.0354299359023571,
-0.008098931051790714,
-0.01962984912097454,
0.025920281186699867,
-0.0839957743883133,
-0.05269161984324455,
-0.062349285930395126,
0.003325603436678648,
-0.02623480185866356,
-0.017631711438298225,
-0.0710078775882721,
-0.01901930756866932,
-0.01916731707751751,
0.009028620086610317,
-0.029435522854328156,
-0.07008281350135803,
-0.04051778465509415,
-0.013542930595576763,
-0.003420422552153468,
0.005083224270492792,
0.032377224415540695,
-0.0519515685737133,
0.011794560588896275,
-0.010305208154022694,
-0.009583658538758755,
-0.03818662464618683,
-0.014486495405435562,
-0.058649029582738876,
-0.07082286477088928,
-0.007539268117398024,
-0.045957159250974655,
0.045661136507987976,
0.012442104518413544,
0.019796360284090042,
0.01872328668832779,
-0.0017368068220093846,
-0.04481007903814316,
-0.03511541336774826,
0.016873158514499664,
-0.0519515685737133,
-0.024754701182246208,
0.017224684357643127,
0.0368175283074379,
-0.00995368417352438,
0.07740931957960129,
-0.02771490439772606,
0.06775165349245071,
-0.06912074983119965,
-0.008686346933245659,
0.01667889580130577,
-0.011332028545439243,
-0.017474450170993805,
0.02168348990380764,
-0.008205314166843891,
-0.028880484402179718,
0.01946333795785904,
0.03892667591571808,
0.04747426137328148,
0.055392805486917496,
0.07226596772670746,
-0.014255229383707047,
-0.0996108427643776,
-0.002051328541710973,
-0.006147047504782677,
0.024828705936670303,
-0.06431041657924652,
0.041109826415777206,
-0.027381882071495056,
0.046549197286367416,
0.028491957113146782,
-0.061609234660863876,
-0.019851863384246826,
-0.00519885728135705,
-0.011517041362822056,
0.003300164360553026,
0.007224746514111757,
-0.029435522854328156,
-0.04325597360730171,
0.01694716513156891,
-0.05106350779533386,
-0.024551186710596085,
0.03456037491559982,
0.023533616214990616,
-0.012460606172680855,
0.005245110485702753,
0.013515179045498371,
-0.015883341431617737,
-0.020721424371004105,
0.02110994979739189,
0.03833463415503502,
0.019241321831941605,
-0.033394794911146164,
-0.00950965378433466,
0.06001812219619751,
0.03158167004585266,
-0.01682690531015396,
0.022053515538573265,
0.02493971399962902,
0.01194257102906704,
0.006697460077702999,
-0.02741888351738453,
0.03493040055036545,
0.006877847481518984,
-0.03999974951148033,
0.05887104570865631,
-0.020721424371004105,
0.05295063927769661,
0.0008614654652774334,
0.10072091966867447,
0.010813993401825428,
-0.09073023498058319,
0.011711305007338524,
-0.0011910193134099245,
-0.03272875025868416,
-0.022016512230038643,
-0.06408840417861938,
-0.0009059841395355761,
0.01186856534332037,
0.012377350591123104,
-0.00796942226588726,
0.019648350775241852,
-0.02125796116888523,
-0.06482845544815063,
0.011489289812743664,
0.04584614932537079,
0.02377413399517536,
0.016900911927223206,
0.014273731037974358,
0.10449518263339996,
0.029232008382678032,
0.10678933560848236,
0.006188675295561552,
0.03198869898915291,
-0.00950965378433466,
-0.0009198600891977549,
0.019537342712283134,
0.014643756672739983,
-0.05054547265172005,
0.045365117490291595,
0.003709504846483469,
0.048769351094961166,
0.028528960421681404,
-0.03406083956360817,
0.026641830801963806,
0.02403315156698227,
0.004185912664979696,
-0.02419966273009777,
0.011137764900922775,
0.07056384533643723,
0.013672439381480217,
0.08821406215429306,
-0.044773075729608536,
0.05402371287345886,
-0.009491152130067348,
0.009000868536531925,
0.000402113568270579,
-0.01593884453177452,
-0.013422672636806965,
0.017733467742800713,
0.0534316711127758,
0.037409570068120956,
-0.03554094210267067,
-0.024884209036827087,
-0.006632705684751272,
-0.02240503951907158,
0.01639212667942047,
0.036336496472358704,
0.0006348248571157455,
-0.0401107557117939,
0.014782515354454517,
0.013552181422710419,
-0.02048090659081936,
0.023644624277949333,
-0.02950952760875225,
-0.048436328768730164,
0.01407946739345789,
0.0021403657738119364,
0.014727012254297733,
-0.0031244021374732256,
0.017770471051335335,
0.006285807117819786,
0.048769351094961166,
0.09679865092039108,
-0.009333891794085503,
0.0018408765317872167,
-0.032839756458997726,
-0.026752838864922523,
0.004777953494340181,
-0.06149822473526001,
0.023663125932216644,
0.13209907710552216,
-0.014986029826104641,
-0.037372566759586334,
-0.05890804901719093,
-0.014292231760919094,
-0.05058247596025467,
-0.017798222601413727,
-0.021146953105926514,
-0.006512447260320187,
0.036503009498119354,
-0.043588995933532715,
-0.02921350672841072,
0.0025300488341599703,
-0.004609129391610622,
0.01889904774725437,
0.018704785034060478,
-0.0029393895529210567,
-0.05635487288236618,
0.0000987938983598724,
-0.012858383357524872,
-0.06123920902609825,
-0.012562363408505917,
-0.006461569108068943,
-0.02331160195171833,
-0.03037908673286438,
-0.013163654133677483,
0.05339466780424118,
0.03598497435450554,
-0.07770533859729767,
0.0015702954260632396,
-0.019259823486208916,
0.030582601204514503,
0.01903780736029148,
0.06764064729213715,
-0.008112807758152485,
0.061276208609342575,
-0.006211801897734404,
0.0004888382973149419,
-0.01098050456494093,
0.056576889008283615,
-0.022053515538573265,
0.008922237902879715,
-0.021128451451659203,
0.007021232508122921,
0.023126589134335518,
0.018686283379793167,
0.01224784180521965,
-0.0027451261412352324,
-0.040924813598394394,
-0.06079517677426338,
0.05731693655252457,
-0.03999974951148033,
-0.01607760414481163,
-0.03639199957251549,
-0.023663125932216644,
0.057871975004673004,
-0.010092443786561489,
0.03137815743684769,
0.08599390834569931,
0.0345233716070652,
0.0030180199537426233,
-0.06775165349245071,
-0.020684421062469482,
0.013912956230342388,
0.00950965378433466,
-0.028787977993488312,
-0.00132746621966362,
0.01605910435318947,
0.1009429395198822,
-0.01683615706861019,
0.010860246606171131,
0.028417952358722687,
-0.0018119682790711522,
0.04103581979870796,
0.044625066220760345,
-0.004218289628624916,
-0.012238590978085995,
0.0002799762587528676,
0.0014777890173718333,
-0.013459675014019012,
-0.049361392855644226,
0.041960883885622025,
0.0019576656632125378,
-0.043440986424684525,
-0.029121000319719315,
0.048880357295274734,
0.05894504860043526,
0.011970322579145432,
0.018334759399294853,
-0.044773075729608536,
0.04081380367279053,
-0.01623486541211605,
0.0035545567516237497,
-0.026752838864922523,
0.05975910648703575,
-0.021146953105926514,
-0.03840864077210426,
-0.04747426137328148,
-0.03833463415503502,
0.008838982321321964,
-0.014690008945763111,
-0.01903780736029148,
-0.0475112646818161,
-0.058353010565042496,
-0.013256160542368889,
-0.010647481307387352,
-0.011933320201933384,
-0.01770571619272232,
0.02064741961658001,
0.012849132530391216,
-0.020573412999510765,
0.05517078936100006,
0.09317240118980408,
0.04229390621185303,
0.04199788719415665,
-0.005328366067260504,
0.05306164547801018,
0.02862146683037281,
-0.052728623151779175,
-0.013968460261821747,
-0.0057677715085446835,
-0.04251592233777046,
0.037409570068120956,
0.017761221155524254,
-0.04440305009484291,
-0.04281194135546684,
-0.039148688316345215,
0.013034145347774029,
0.018677033483982086,
-0.014865771867334843,
-0.045957159250974655,
0.006133171264082193,
0.015467062592506409,
0.0445510596036911,
-0.016743650659918785,
0.025439247488975525,
0.05043446645140648,
-0.004685447085648775,
0.0022479044273495674,
-0.01946333795785904,
-0.019518841058015823,
0.004121158272027969,
0.0654204934835434,
0.07977747917175293,
0.020295893773436546,
-0.06560550630092621,
-0.02094343863427639,
0.017881479114294052,
-0.007150741294026375,
-0.005596634466201067,
0.031637173146009445,
-0.0051109762862324715,
0.03348730131983757,
-0.02390364184975624,
-0.01565207540988922,
0.020980441942811012,
0.025124726817011833,
-0.010887998156249523,
-0.005504128057509661,
-0.05328366160392761,
-0.01814049668610096,
-0.06749263405799866,
-0.05502277985215187,
0.018945300951600075,
0.058316007256507874,
0.010850995779037476,
0.005860277451574802,
0.0008337135659530759,
0.005467125680297613,
-0.0022756564430892467,
-0.004010150674730539,
0.009888929314911366,
0.0169749166816473,
0.0035846212413161993,
-0.015837088227272034,
0.0016269555781036615,
-0.007733531296253204,
-0.07970348000526428,
0.011988824233412743,
0.008515209890902042,
-0.06064716726541519,
0.007705779280513525,
0.033376295119524,
0.13520729541778564,
-0.08125758171081543,
-0.02727087400853634,
0.00013478465552907437,
0.04810330644249916,
0.019796360284090042,
-0.046993229538202286,
0.022941576316952705,
-0.042996954172849655,
-0.01959284581243992,
-0.007909293286502361,
-0.001719461870379746,
-0.015901843085885048,
0.005305239465087652,
0.022756563499569893,
-0.014810267835855484,
-0.0008603091118857265,
-0.04451406002044678,
-0.011322777718305588,
-0.03374631702899933,
0.029916556552052498,
0.04765927419066429,
0.032654743641614914,
0.024680696427822113,
-0.02919500693678856,
0.01423672866076231,
0.016845406964421272,
0.04118382930755615,
0.07426410168409348,
0.0175484549254179,
0.0035106162540614605,
-0.05121151730418205,
-0.019000805914402008,
-0.02492121234536171,
0.04118382930755615,
0.002712748944759369,
-0.06101719290018082,
0.02815893478691578,
-0.06135021522641182,
0.0512855239212513,
0.060721173882484436,
-0.03226621821522713,
-0.017816724255681038,
0.024551186710596085,
0.003767321351915598,
0.008427329361438751,
0.03589246794581413,
0.047844287008047104,
-0.008496709167957306,
-0.010564225725829601,
-0.002923200838267803,
0.025272736325860023,
-0.05801998823881149,
-0.003154466859996319,
-0.04691922292113304,
-0.050249453634023666,
0.015448561869561672,
0.009648413397371769,
-0.11700204014778137,
0.037816599011421204,
0.005633637309074402,
-0.0365770123898983,
-0.07696528732776642,
0.030157072469592094,
-0.06412540376186371,
0.040628790855407715,
-0.05550381541252136,
-0.04332997649908066,
0.05461575463414192,
0.005615135654807091,
-0.03439386188983917,
0.01576308347284794,
0.03420884907245636,
0.014727012254297733,
-0.004437992349267006,
-0.003036521142348647,
-0.007585521321743727,
-0.010508721694350243,
-0.01564282551407814,
-0.04884335771203041,
0.02197951078414917,
0.017918480560183525,
0.014245978556573391,
0.011489289812743664,
-0.002280281623825431,
-0.04096181318163872,
0.039740730077028275,
0.004262230359017849,
0.0471782423555851,
0.0017934669740498066,
-0.0419238805770874,
-0.013977710157632828,
0.023570619523525238,
-0.024107156321406364,
0.022312533110380173,
0.011609547771513462,
0.0026225552428513765,
0.06912074983119965,
-0.030730610713362694,
0.009130377322435379,
0.007858415134251118,
0.026345809921622276,
0.06105419620871544,
0.01619786210358143,
0.030138570815324783,
0.010795491747558117,
0.0027821287512779236,
0.001435004873201251,
0.02950952760875225,
-0.010120195336639881,
0.06253429502248764,
0.027770407497882843,
0.00920900795608759,
-0.026142295449972153,
0.06645656377077103,
-0.04022176191210747,
-0.000008564064955862705,
-0.0020640480797737837,
0.030138570815324783,
0.017058171331882477,
-0.01371869258582592,
-0.03367231413722038,
-0.006059166509658098,
0.026179298758506775,
-0.04469907283782959,
-0.03467138111591339,
0.07592921704053879,
-0.010915749706327915,
-0.10160898417234421,
0.003924582153558731,
-0.004713198635727167,
-0.028732474893331528,
0.06046215444803238,
-0.00363549985922873,
0.03098963014781475,
0.020295893773436546,
0.0011152797378599644,
0.0501384437084198,
-0.040480781346559525,
-0.01246985699981451,
0.03583696112036705,
-0.005920406896620989,
-0.040480781346559525,
-0.0023276912979781628,
0.054504744708538055,
0.009463400579988956,
0.06826969236135483,
0.0009626442915759981,
-0.01172980573028326,
-0.042108893394470215,
0.010471719317138195,
-0.03539293259382248,
-0.027048857882618904,
0.032099705189466476,
0.015994349494576454,
0.009255261160433292,
0.06005512550473213,
-0.0012314908672124147,
0.009190506301820278,
0.016160860657691956,
0.017816724255681038,
0.009403270669281483,
0.007007356267422438,
-0.030064566060900688,
-0.0035568694584071636,
0.006988855078816414,
-0.04647519439458847,
0.019685352221131325,
-0.06368137896060944,
0.006137796677649021,
0.026308808475732803,
0.045476123690605164,
0.016734400764107704,
-0.030712110921740532,
-0.015994349494576454,
-0.01992587000131607,
-0.03039758838713169,
-0.045661136507987976,
0.012987892143428326,
0.015735331922769547,
-0.006110044661909342,
-0.03818662464618683,
-0.004724761936813593,
0.031322650611400604,
-0.006993480492383242,
-0.021276462823152542,
0.02316359244287014,
0.030619604513049126,
0.06308933347463608,
-0.015578070655465126,
0.02153548039495945,
-0.021294962614774704,
-0.024680696427822113,
-0.00644769286736846,
0.05483776703476906,
-0.030009061098098755,
0.032969266176223755,
-0.048473332077264786,
0.017502201721072197,
0.013570682145655155,
0.005457874853163958
] |
725,593 | awpy.parser.demoparser | clean_rounds | Cleans a parsed demofile JSON.
Args:
remove_no_frames (bool, optional): Remove rounds where there are no frames. Default to True.
remove_warmups (bool, optional): Remove warmup rounds. Defaults to True.
remove_knifes (bool, optional): Remove knife rounds. Defaults to True.
remove_bad_timings (bool, optional): Remove bad timings. Defaults to True.
remove_excess_players (bool, optional): Remove rounds with more than 5 players. Defaults to True.
remove_excess_kills (bool, optional): Remove rounds with more than 10 kills. Defaults to True.
remove_bad_endings (bool, optional): Remove rounds with bad round end reasons. Defaults to True.
remove_bad_scoring (bool, optional): Remove rounds where the scoring is off (like scores going below the previous round's). Defaults to False.
return_type (str, optional): Return JSON or DataFrame. Defaults to "json".
save_to_json (bool, optional): Whether to write the JSON to a file. Defaults to True.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
ValueError: Raises a ValueError if the return type is neither 'json' nor 'df'
Returns:
dict: A dictionary of the cleaned demo.
| def clean_rounds(
self,
remove_no_frames: bool = True,
remove_warmups: bool = True,
remove_knifes: bool = True,
remove_bad_timings: bool = True,
remove_excess_players: bool = True,
remove_excess_kills: bool = True,
remove_bad_endings: bool = True,
remove_bad_scoring: bool = True,
return_type: str = "json",
save_to_json: bool = True,
) -> Union[Game, dict[str, Any]]:
"""Cleans a parsed demofile JSON.
Args:
remove_no_frames (bool, optional): Remove rounds where there are no frames. Default to True.
remove_warmups (bool, optional): Remove warmup rounds. Defaults to True.
remove_knifes (bool, optional): Remove knife rounds. Defaults to True.
remove_bad_timings (bool, optional): Remove bad timings. Defaults to True.
remove_excess_players (bool, optional): Remove rounds with more than 5 players. Defaults to True.
remove_excess_kills (bool, optional): Remove rounds with more than 10 kills. Defaults to True.
remove_bad_endings (bool, optional): Remove rounds with bad round end reasons. Defaults to True.
remove_bad_scoring (bool, optional): Remove rounds where the scoring is off (like scores going below the previous round's). Defaults to False.
return_type (str, optional): Return JSON or DataFrame. Defaults to "json".
save_to_json (bool, optional): Whether to write the JSON to a file. Defaults to True.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
ValueError: Raises a ValueError if the return type is neither 'json' nor 'df'
Returns:
dict: A dictionary of the cleaned demo.
"""
if self.json:
if remove_no_frames:
self.remove_rounds_with_no_frames()
if remove_warmups:
self.remove_warmups()
if remove_knifes:
self.remove_knife_rounds()
if remove_bad_timings:
self.remove_time_rounds()
if remove_excess_players:
self.remove_excess_players()
if remove_excess_kills:
self.remove_excess_kill_rounds()
if remove_bad_endings:
self.remove_end_round()
if remove_bad_scoring:
self.remove_bad_scoring()
self.renumber_rounds()
# self.rescore_rounds() -- Need to edit to take into account half switches
if save_to_json:
self.write_json()
if return_type == "json":
return self.json
elif return_type == "df":
demo_data = self.parse_json_to_df()
self.logger.info("Returned cleaned dataframe output")
return demo_data
raise ValueError(
f"Invalid return_type of {return_type}. Use 'json' or 'df' instead!"
)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self, remove_no_frames: bool = True, remove_warmups: bool = True, remove_knifes: bool = True, remove_bad_timings: bool = True, remove_excess_players: bool = True, remove_excess_kills: bool = True, remove_bad_endings: bool = True, remove_bad_scoring: bool = True, return_type: str = 'json', save_to_json: bool = True) -> Union[awpy.types.Game, dict[str, Any]] | [
-0.012673835270106792,
-0.004982354585081339,
-0.03730907291173935,
-0.04525833949446678,
-0.03267824649810791,
-0.02572263590991497,
-0.05740722641348839,
0.1085900217294693,
0.0566197969019413,
-0.009927213191986084,
0.004455059301108122,
0.06171932816505432,
-0.048708025366067886,
0.04420843720436096,
0.009036669507622719,
-0.014651778154075146,
0.044883374124765396,
0.04094623774290085,
0.02679128758609295,
-0.06295671314001083,
0.007925834506750107,
0.03807774931192398,
-0.0017646815394982696,
0.08369231224060059,
0.015223600901663303,
0.004649572540074587,
0.041096221655607224,
0.01953570544719696,
0.011511442251503468,
0.010339674539864063,
0.022179212421178818,
0.0020587951876223087,
-0.01234574057161808,
0.06044444441795349,
-0.052082713693380356,
-0.0145580368116498,
-0.044358424842357635,
0.02315412275493145,
-0.10754011571407318,
-0.028891095891594887,
-0.0436834841966629,
-0.013958092778921127,
0.03059718757867813,
-0.007443066220730543,
-0.03110339120030403,
-0.0019545077811926603,
-0.02319161966443062,
0.03162834420800209,
-0.0027138132136315107,
-0.04274607077240944,
0.0099084647372365,
-0.0029481665696948767,
-0.007119658403098583,
0.11676426976919174,
-0.01518610492348671,
-0.08159250020980835,
-0.06966859847307205,
0.04762062430381775,
0.07731789350509644,
-0.06119437515735626,
-0.03207830339670181,
0.005315136630088091,
-0.024503998458385468,
0.008675765246152878,
0.028103668242692947,
0.006463468540459871,
-0.029734767973423004,
0.0344780832529068,
-0.002479459624737501,
-0.021729253232479095,
-0.010274055413901806,
0.047470636665821075,
0.05050785839557648,
0.041058726608753204,
-0.030672181397676468,
-0.005985387600958347,
-0.035602979362010956,
-0.06299421191215515,
-0.016620347276329994,
-0.05275765061378479,
0.04402095451951027,
0.06438158452510834,
-0.0203231330960989,
-0.014501792378723621,
-0.008703887462615967,
-0.037159085273742676,
0.06910614669322968,
0.03065343387424946,
-0.0195169560611248,
-0.04859553277492523,
-0.009092914871871471,
0.0047222222201526165,
-0.001181141473352909,
-0.06096939742565155,
-0.019460711628198624,
-0.010236559435725212,
-0.032022058963775635,
-0.002812241669744253,
0.0031965812668204308,
-0.0873669683933258,
-0.002395092509686947,
0.05586986616253853,
-0.028178660199046135,
0.030559692531824112,
0.009683485142886639,
0.01598290540277958,
-0.012570720165967941,
-0.03753405064344406,
-0.03369065374135971,
0.03505927696824074,
-0.11556438356637955,
-0.034609317779541016,
-0.03929638862609863,
-0.043608494102954865,
0.08466722071170807,
-0.0296222772449255,
-0.06846870481967926,
-0.0010417011799290776,
-0.03625916689634323,
-0.03753405064344406,
-0.005685415118932724,
0.038696445524692535,
0.01801709458231926,
-0.029528535902500153,
0.01624538190662861,
0.003583264537155628,
-0.008188310079276562,
0.04484587907791138,
0.059019576758146286,
0.006182244513183832,
-0.01438930258154869,
0.0015068927314132452,
-0.0012866004835814238,
0.013255031779408455,
-0.01532671693712473,
0.00965536292642355,
0.04450840875506401,
0.009927213191986084,
0.049270473420619965,
-0.0059057073667645454,
0.027972429990768433,
-0.010902123525738716,
0.006796250585466623,
-0.029997242614626884,
-0.013986214995384216,
-0.034065619111061096,
-0.017389027401804924,
-0.01752963848412037,
-0.046720705926418304,
0.023754067718982697,
0.01389247365295887,
-0.0007973876781761646,
0.024878963828086853,
-0.0239602979272604,
0.002218155423179269,
-0.050582852214574814,
-0.003166115377098322,
0.008530465885996819,
-0.012073890306055546,
0.0052073341794312,
0.02159801498055458,
0.026810036972165108,
0.03089716099202633,
-0.02444775402545929,
-0.0017588227055966854,
0.013555004261434078,
0.032003309577703476,
-0.013433140702545643,
-0.0017740557668730617,
0.031778328120708466,
0.02187923900783062,
0.07941770553588867,
-0.011427074670791626,
0.024803970009088516,
-0.030728425830602646,
0.03993383049964905,
-0.005629170220345259,
-0.045408327132463455,
-0.03785277158021927,
-0.02030438371002674,
-0.03747780621051788,
-0.023529088124632835,
-0.018832644447684288,
0.01775461807847023,
-0.007705541793256998,
-0.017107803374528885,
0.02187923900783062,
-0.011792666278779507,
-0.016385994851589203,
-0.01596415787935257,
-0.020735595375299454,
0.018176455050706863,
0.003920733463019133,
-0.015814172104001045,
0.06479404866695404,
-0.003927764017134905,
-0.01209263876080513,
0.025310173630714417,
0.0005926213343627751,
-0.0833173468708992,
-0.08646705746650696,
0.0026528812013566494,
0.017295286059379578,
-0.05976950749754906,
-0.06475654989480972,
-0.06786876171827316,
-0.06756879389286041,
-0.009833470918238163,
-0.0051838988438248634,
0.04057127237319946,
0.004935483913868666,
-0.017154673114418983,
0.03404686972498894,
0.0025263302959501743,
0.08076757937669754,
-0.04882051423192024,
0.08346732705831528,
0.040046319365501404,
-0.01403308566659689,
-0.0026833470910787582,
-0.07514309138059616,
-0.02392280101776123,
-0.05579487234354019,
0.0010821270989254117,
-0.051332782953977585,
0.01669534109532833,
-0.017913978546857834,
0.06629391014575958,
0.02877860516309738,
-0.07090598344802856,
-0.024016542360186577,
-0.07911773025989532,
0.0060603804886341095,
-0.008408602327108383,
-0.00032106423168443143,
-0.0489330030977726,
0.00940694846212864,
-0.011239591985940933,
0.07225585728883743,
-0.055419906973838806,
0.03314695507287979,
-0.05733223259449005,
-0.008328922092914581,
-0.007897711358964443,
-0.009242900647222996,
-0.01824207417666912,
0.03340943157672882,
-0.023604080080986023,
-0.008881996385753155,
0.0390339121222496,
0.08976674824953079,
0.03159084543585777,
0.05586986616253853,
0.05935704708099365,
-0.013667494058609009,
-0.01649848371744156,
-0.035359252244234085,
-0.029659774154424667,
0.009617866016924381,
-0.05043286457657814,
0.07548056542873383,
-0.0766429603099823,
0.015542321838438511,
0.035940445959568024,
-0.01932947337627411,
0.005258891731500626,
0.0016322719166055322,
-0.024110283702611923,
0.022572925314307213,
-0.027709953486919403,
-0.05534491315484047,
-0.030784670263528824,
-0.008741384372115135,
-0.022441687062382698,
-0.011961400508880615,
0.061119385063648224,
0.012430108152329922,
-0.007953956723213196,
0.016807829961180687,
0.02133553847670555,
0.019441964104771614,
-0.032528262585401535,
0.06764378398656845,
-0.032547008246183395,
0.07071850448846817,
0.012317618355154991,
-0.051032811403274536,
0.02009815350174904,
0.01874827779829502,
0.01285194419324398,
0.038771435618400574,
-0.024522745981812477,
-0.024335263296961784,
0.01105210930109024,
-0.0072790184058249,
-0.007222773972898722,
-0.05710725113749504,
-0.08264240622520447,
0.004926109686493874,
-0.016535980626940727,
-0.030278468504548073,
-0.010424042120575905,
0.07465563714504242,
0.012223877012729645,
-0.015167356468737125,
0.05189523100852966,
-0.017145300284028053,
-0.09246650338172913,
0.027691205963492393,
-0.023472843691706657,
0.013273780234158039,
-0.0280099269002676,
0.04837055504322052,
0.0007774676196277142,
0.042596086859703064,
-0.012027019634842873,
0.009889716282486916,
0.0054557486437261105,
0.01929197646677494,
-0.0024044665042310953,
-0.026941273361444473,
-0.04173366352915764,
0.004412875510752201,
0.01907637156546116,
0.07394320517778397,
-0.08039261400699615,
-0.03504053130745888,
-0.014089330099523067,
0.011764544062316418,
-0.004066032823175192,
-0.041321203112602234,
-0.04169616848230362,
0.02602260932326317,
0.013283153995871544,
0.05523242428898811,
-0.017370278015732765,
0.012926937080919743,
0.015392335131764412,
0.03755280002951622,
0.02339784987270832,
0.036371659487485886,
-0.0038387097883969545,
0.038471464067697525,
-0.00033834780333563685,
0.016282878816127777,
0.007152467500418425,
0.046158257871866226,
-0.012355114333331585,
0.043608494102954865,
0.01055528037250042,
0.009125723503530025,
0.03892142325639725,
0.02679128758609295,
0.05448249354958534,
0.0426710769534111,
-0.0195169560611248,
-0.009608492255210876,
-0.011295837350189686,
0.0077196029014885426,
-0.06663137674331665,
-0.020998070016503334,
0.002100978745147586,
-0.03288447856903076,
0.03567797318100929,
0.014839261770248413,
-0.021241797134280205,
-0.0012350426986813545,
-0.08616708219051361,
-0.015298593789339066,
0.0004587469156831503,
-0.02058560773730278,
0.0048886132426559925,
0.0023388476110994816,
-0.05999448522925377,
0.03865894675254822,
0.03481554985046387,
0.04473339021205902,
0.010377171449363232,
-0.002068169414997101,
0.018673283979296684,
0.01528922002762556,
0.03453432768583298,
-0.046458229422569275,
0.00444568507373333,
0.055682383477687836,
-0.030147230252623558,
-0.042333610355854034,
-0.008141439408063889,
-0.02832864597439766,
-0.06880617886781693,
-0.03187207132577896,
0.023735318332910538,
0.035865455865859985,
0.026435071602463722,
-0.007302453741431236,
0.03967135399580002,
-0.07375571876764297,
0.042371105402708054,
-0.056957267224788666,
0.02782244235277176,
-0.0021665978711098433,
-0.045708298683166504,
0.039483871310949326,
0.0015139234019443393,
-0.048258066177368164,
-0.020435621961951256,
0.0229478906840086,
0.01080838218331337,
0.015561070293188095,
0.012833195738494396,
0.03475930541753769,
0.01479239109903574,
-0.06438158452510834,
0.026847532019019127,
-0.003906672354787588,
0.05275765061378479,
0.0313471183180809,
0.05481996387243271,
-0.01531734224408865,
0.01959194988012314,
0.04458340257406235,
0.05504494160413742,
0.01750151626765728,
0.06348166614770889,
0.01644223928451538,
0.015889164060354233,
0.03663413226604462,
-0.006829060148447752,
0.0012080920860171318,
0.03880893439054489,
-0.023997794836759567,
-0.045708298683166504,
-0.03985883668065071,
-0.021429281681776047,
0.012177006341516972,
0.00796801783144474,
-0.022554177790880203,
-0.07941770553588867,
-0.031028399243950844,
0.054182521998882294,
0.010770885273814201,
0.009870967827737331,
0.017314033582806587,
0.03865894675254822,
0.03997132554650307,
0.01159580983221531,
0.0014424455584958196,
0.0390339121222496,
0.015148608013987541,
0.010424042120575905,
0.00430507306009531,
0.014492418617010117,
-0.007157154846936464,
-0.023041632026433945,
0.03648414835333824,
-0.018213951960206032,
-0.04293355345726013,
0.07956768572330475,
-0.020923078060150146,
-0.03309071063995361,
0.03955886512994766,
0.022779157385230064,
0.008160187862813473,
0.044358424842357635,
-0.037402812391519547,
0.07904273271560669,
0.0006643920787610114,
-0.041771162301301956,
-0.0602569617331028,
0.02131679095327854,
0.01618913747370243,
-0.06363165378570557,
0.014717397280037403,
0.0017107803141698241,
0.05631982535123825,
0.019170112907886505,
-0.002406810177490115,
-0.026960022747516632,
0.01389247365295887,
0.021991729736328125,
0.026435071602463722,
-0.006740005686879158,
-0.05976950749754906,
-0.0035949822049587965,
-0.003405155846849084,
-0.00333953695371747,
-0.04184615612030029,
-0.02907857857644558,
0.037177834659814835,
-0.05294513329863548,
-0.028909843415021896,
-0.029772264882922173,
0.010499035008251667,
-0.007593052461743355,
-0.058757100254297256,
-0.011314584873616695,
0.040496278554201126,
0.025928867980837822,
0.024785222485661507,
-0.06299421191215515,
0.05332009866833687,
0.029228564351797104,
-0.017857734113931656,
0.014079956337809563,
0.005807278677821159,
-0.025853874161839485,
-0.025385167449712753,
0.005488558206707239,
-0.043083541095256805,
-0.022722911089658737,
-0.06453157216310501,
0.039483871310949326,
0.05523242428898811,
-0.006140060722827911,
0.019216984510421753,
0.026566307991743088,
0.01503611821681261,
0.01029280386865139,
-0.006205679848790169,
-0.010752136819064617,
-0.015139234252274036,
-0.01120209600776434,
-0.00009476668492425233,
0.04717066511511803,
-0.0172390416264534,
0.03325944393873215,
0.05088282376527786,
0.07529307901859283,
0.06273173540830612,
-0.0612693689763546,
0.009964709170162678,
0.012167631648480892,
0.0048792390152812,
0.025272676721215248,
0.011661428026854992,
-0.03005348891019821,
0.042596086859703064,
-0.07529307901859283,
0.03211579844355583,
0.027466226369142532,
0.07195588946342468,
0.004469120409339666,
0.01172704715281725,
-0.06475654989480972,
-0.0318533219397068,
0.03427185118198395,
0.07570554316043854,
0.05204521864652634,
-0.000589691917411983,
0.022760407999157906,
-0.03391563519835472,
-0.005282327067106962,
0.05553239583969116,
-0.01438930258154869,
0.05504494160413742,
-0.050807829946279526,
0.0024536808487027884,
0.034590572118759155,
0.012223877012729645,
-0.015392335131764412,
-0.019760683178901672,
-0.049045491963624954,
-0.0067540667951107025,
-0.02135428786277771,
-0.02679128758609295,
0.05403253436088562,
-0.02240419201552868,
0.07608050853013992,
-0.04188365116715431,
0.011858285404741764,
0.021410532295703888,
0.022272953763604164,
0.07589302957057953,
-0.04983292147517204,
-0.03933388367295265,
-0.020773090422153473,
-0.029434794560074806,
0.03196581080555916,
-0.01848580129444599,
-0.029697271063923836,
0.005896333139389753,
-0.0004233009531162679,
0.033334437757730484,
-0.04218362271785736,
-0.0328657291829586,
-0.05249517783522606,
-0.0051323408260941505,
0.03159084543585777,
0.04657072201371193,
0.04657072201371193,
0.029959747567772865,
0.0689561665058136,
0.026547560468316078,
-0.029678523540496826,
0.023285361006855965,
0.07105597108602524,
0.0193107258528471,
-0.0074758753180503845,
-0.023304108530282974,
0.03702784702181816,
-0.04807058349251747,
0.02392280101776123,
0.0017799146007746458,
-0.020398125052452087,
-0.0038785499054938555,
-0.01069589238613844,
0.011239591985940933,
0.022722911089658737,
-0.004469120409339666,
-0.01403308566659689,
0.027616212144494057,
0.017098428681492805,
0.0010815411806106567,
-0.06741880625486374,
0.04739564284682274,
-0.04405844956636429,
0.04829556122422218,
-0.031215881928801537,
-0.0035504549741744995,
-0.0701560527086258,
0.021766750141978264,
0.003273917827755213,
-0.021822994574904442,
-0.026378825306892395,
-0.0011026330757886171,
-0.03804025426506996,
-0.023735318332910538,
0.037665288895368576,
-0.060856908559799194,
-0.08616708219051361,
-0.0033465675078332424,
-0.06614392250776291,
0.03207830339670181,
-0.02859112247824669,
-0.04319602996110916,
0.033071961253881454,
0.024785222485661507,
0.006065067835152149,
-0.006946236826479435,
-0.015017369762063026,
0.09831596165895462,
-0.02703501470386982,
0.024054039269685745,
0.0371028408408165,
-0.05324510857462883,
-0.010105321183800697,
0.02266666665673256,
0.03057844005525112,
0.03421560674905777,
-0.016376620158553123,
-0.03580920770764351,
0.018935760483145714,
-0.032547008246183395,
-0.039483871310949326,
0.02262916974723339,
0.02161676436662674,
0.03839647024869919,
-0.020979322493076324,
0.01848580129444599,
-0.02259167470037937,
-0.030034739524126053,
0.019498208537697792,
-0.029922250658273697,
0.01573917828500271,
0.004394127521663904,
-0.005980700254440308,
0.03550923615694046,
0.05635732039809227,
0.0632941871881485,
-0.00979597494006157,
-0.032265786081552505,
0.008586711250245571,
0.009224152192473412,
0.006158809177577496,
-0.008853874169290066,
0.029003584757447243,
-0.04844554886221886,
0.060594432055950165,
0.003370002843439579,
-0.036446649581193924,
-0.02808491885662079,
0.0693686231970787,
-0.0503578707575798,
-0.03157209977507591,
0.0004514233733061701,
0.04087124392390251,
-0.047958094626665115,
-0.018907638266682625,
0.0030653432477265596,
0.03704659640789032,
-0.04199614003300667,
-0.019741935655474663,
-0.016554728150367737,
0.0030981528107076883,
-0.009294458664953709,
-0.07030604034662247,
-0.01668596640229225,
0.008422663435339928,
-0.037159085273742676,
0.036446649581193924,
-0.007044665049761534,
0.024372760206460953,
0.0004886269452981651,
0.0026435069739818573,
0.0350780263543129,
0.018579542636871338,
-0.023772815242409706,
0.05114530026912689,
-0.013620623387396336,
-0.03444058448076248,
-0.010367797687649727,
0.04814557731151581,
-0.004619106650352478,
0.052607666701078415,
-0.03985883668065071,
-0.0004578680673148483,
0.024560242891311646,
0.009702233597636223,
-0.007663358468562365,
-0.02956603281199932,
-0.02960352972149849,
0.04814557731151581,
-0.020941825583577156,
0.013311277143657207,
-0.004708161111921072,
-0.00194747734349221,
-0.03110339120030403,
-0.034590572118759155,
0.02264791913330555,
-0.0057885306887328625,
-0.004012131132185459,
0.01904824934899807,
0.0010856423759832978,
-0.03764653950929642,
0.0020541080739349127,
-0.04229611158370972,
0.032003309577703476,
-0.010386545211076736,
0.02159801498055458,
-0.05065784603357315,
-0.04169616848230362,
0.012636338360607624,
0.008305487222969532,
-0.016161015257239342,
-0.01258946768939495,
0.044095948338508606,
0.0355842299759388,
0.008122690953314304,
-0.012111387215554714,
-0.0028708300087600946,
0.039633858948946,
-0.021748000755906105,
0.03005348891019821,
0.054932452738285065,
0.025891371071338654,
0.09764102846384048,
-0.04214612767100334,
0.013198787346482277,
0.04270857572555542,
-0.013367521576583385,
0.018063964322209358,
-0.007494623772799969,
-0.005605734884738922,
0.03057844005525112,
0.009364764206111431,
0.011295837350189686,
-0.011642680503427982,
-0.011258340440690517
] |
725,594 | awpy.parser.demoparser | parse | Wrapper for parse_demo() and read_json(). Use to parse a demo.
Args:
return_type (string, optional): Either "json" or "df". Default is "json"
clean (bool, optional): True to run clean_rounds, otherwise, uncleaned data is returned. Defaults to True.
Returns:
A dictionary of output (which is parsed to a JSON file in the working directory)
Raises:
ValueError: Raises a ValueError if the return_type is not "json" or "df"
AttributeError: Raises an AttributeError if the .json attribute is None
| def parse(
self, return_type: str = "json", clean: bool = True
) -> Union[Game, dict[str, Any]]:
"""Wrapper for parse_demo() and read_json(). Use to parse a demo.
Args:
return_type (string, optional): Either "json" or "df". Default is "json"
clean (bool, optional): True to run clean_rounds, otherwise, uncleaned data is returned. Defaults to True.
Returns:
A dictionary of output (which is parsed to a JSON file in the working directory)
Raises:
ValueError: Raises a ValueError if the return_type is not "json" or "df"
AttributeError: Raises an AttributeError if the .json attribute is None
"""
self.parse_demo()
self.read_json(json_path=self.outpath + "/" + self.output_file)
if clean:
clean_data = self.clean_rounds()
if self.json:
self.logger.info("JSON output found")
if return_type == "json":
return self.json
elif return_type == "df":
demo_data = self.parse_json_to_df()
self.logger.info("Returned dataframe output")
return demo_data
else:
self.logger.error("Parse return_type must be either 'json' or 'df'")
raise ValueError("return_type must be either 'json' or 'df'")
else:
self.logger.error("JSON couldn't be returned")
raise AttributeError("No JSON parsed! Error in producing JSON.")
| (self, return_type: str = 'json', clean: bool = True) -> Union[awpy.types.Game, dict[str, Any]] | [
-0.009858689270913601,
-0.018793126568198204,
-0.05846347659826279,
-0.02790878899395466,
0.006854869890958071,
0.013591942377388477,
-0.04816984385251999,
0.09575976431369781,
0.014180926606059074,
-0.01776919886469841,
0.022961322218179703,
0.04701000079512596,
-0.03680698201060295,
0.05027206614613533,
0.00701344246044755,
-0.01843973621726036,
0.03113461099565029,
0.035194069147109985,
-0.016817763447761536,
0.005948740057647228,
-0.006986258551478386,
0.028633693233132362,
0.00214526173658669,
0.051975589245557785,
-0.004600872751325369,
0.007117647211998701,
0.025299135595560074,
-0.00438566692173481,
0.007289811968803406,
-0.02312442474067211,
0.02819875068962574,
-0.006533193867653608,
-0.030445951968431473,
0.07836207747459412,
-0.05059827119112015,
0.015920694917440414,
-0.07379518449306488,
0.028706183657050133,
-0.09293264150619507,
0.011951847933232784,
-0.04867727681994438,
-0.05342539772391319,
0.002015005564317107,
0.033454302698373795,
-0.032258208841085434,
-0.018258510157465935,
-0.017488298937678337,
-0.016228780150413513,
-0.00975901447236538,
-0.0781446099281311,
0.03559276834130287,
-0.01421717181801796,
-0.010212079621851444,
0.060674432665109634,
0.0029154717922210693,
-0.09184528887271881,
-0.04345797002315521,
0.043131764978170395,
0.03637203946709633,
-0.004079848062247038,
-0.029594190418720245,
0.008001123555004597,
0.004605403169989586,
0.0483873151242733,
0.017026172950863838,
0.024284271523356438,
-0.027491969987750053,
-0.0021894355304539204,
-0.0050199576653540134,
0.010384243912994862,
0.03091713972389698,
0.0464300774037838,
0.04276931285858154,
0.03637203946709633,
0.026966413483023643,
-0.006057475693523884,
-0.027781931683421135,
-0.058101024478673935,
-0.008481372147798538,
-0.006986258551478386,
0.01470648217946291,
0.08321893215179443,
-0.05799228698015213,
-0.01944553852081299,
-0.016754334792494774,
-0.012432096526026726,
0.03213135153055191,
-0.0014418786158785224,
-0.05429527908563614,
-0.023649979382753372,
-0.04566892609000206,
-0.0229069534689188,
-0.006746134255081415,
-0.010792002081871033,
-0.043131764978170395,
-0.019753623753786087,
-0.001957239815965295,
0.004492137115448713,
-0.010420489124953747,
-0.05088823288679123,
-0.04084831848740578,
0.07770966738462448,
-0.016301270574331284,
0.014960198663175106,
0.009722769260406494,
-0.04628509655594826,
-0.016899315640330315,
0.004000561777502298,
-0.028071891516447067,
0.024393007159233093,
-0.10503853112459183,
-0.04472655430436134,
-0.03184138983488083,
-0.004716404248028994,
0.07995686680078506,
-0.013827536255121231,
-0.047444939613342285,
0.01390908844769001,
-0.07122177630662918,
-0.02004358544945717,
-0.027256375178694725,
0.06078316643834114,
0.03329119831323624,
-0.004406054969877005,
0.021275920793414116,
-0.010628899559378624,
-0.01337447203695774,
-0.002462406875565648,
0.06034822389483452,
0.0297029260545969,
-0.0067551955580711365,
0.03399797901511192,
-0.01838536746799946,
0.005382409319281578,
-0.024229902774095535,
0.048423562198877335,
-0.009623095393180847,
-0.0022120887879282236,
-0.006397274322807789,
-0.0032598008401691914,
0.021076573058962822,
-0.01100041251629591,
0.020985959097743034,
-0.06926453858613968,
-0.03765874356031418,
-0.03823866695165634,
0.022109560668468475,
-0.029231738299131393,
-0.020134197548031807,
0.021040327847003937,
0.025734078139066696,
-0.03153330832719803,
0.03990594297647476,
-0.016817763447761536,
-0.010067098774015903,
-0.03925352916121483,
-0.018775003030896187,
0.011861234903335571,
-0.008336391299962997,
0.015186730772256851,
-0.019554274156689644,
0.020097952336072922,
0.018041038885712624,
-0.00339118973352015,
0.010193957015872002,
0.0271295178681612,
0.05512892082333565,
-0.018793126568198204,
0.011344741098582745,
-0.011806868016719818,
-0.003042329801246524,
0.07085932791233063,
-0.009532482363283634,
0.022852586582303047,
-0.03573774918913841,
0.04450908303260803,
0.02085910178720951,
-0.02624151110649109,
0.007303403690457344,
-0.011154454201459885,
0.0075797731988132,
-0.025462239980697632,
-0.059152133762836456,
0.044110383838415146,
-0.009885872714221478,
-0.022018946707248688,
0.03477725014090538,
0.014615869149565697,
-0.001695594866760075,
0.03445104509592056,
-0.012975774705410004,
0.030862770974636078,
-0.0030106152407824993,
-0.055527616292238235,
0.039869699627161026,
0.010121466591954231,
-0.008522148244082928,
0.060674432665109634,
-0.029068633913993835,
-0.027709441259503365,
-0.05019957572221756,
-0.010375183075666428,
-0.02767319604754448,
-0.02848871238529682,
-0.05661497265100479,
-0.04023215174674988,
-0.024320516735315323,
0.01655498705804348,
-0.018403491005301476,
-0.0030355339404195547,
-0.03341805562376976,
-0.042624332010746,
0.004605403169989586,
0.019336802884936333,
0.05027206614613533,
-0.04574141651391983,
-0.0008126848842948675,
0.026821434497833252,
-0.004032276105135679,
0.008639944717288017,
-0.031188977882266045,
-0.044472835958004,
-0.03812992945313454,
0.007942224852740765,
-0.022544503211975098,
-0.0025892651174217463,
-0.031098365783691406,
0.01670902781188488,
-0.03015599027276039,
-0.0721641555428505,
-0.008436066098511219,
-0.09445494413375854,
-0.012323361821472645,
0.0058898418210446835,
0.02147527039051056,
-0.019753623753786087,
0.0418994277715683,
0.025009173899888992,
0.05117819458246231,
-0.019101209938526154,
0.07430262118577957,
-0.07538997381925583,
-0.025353504344820976,
-0.0438566692173481,
-0.07111304253339767,
-0.00964121799916029,
0.04226187989115715,
-0.043131764978170395,
-0.002630040980875492,
0.03350866958498955,
0.051069460809230804,
0.018231326714158058,
0.05349788814783096,
0.08785831928253174,
-0.032548170536756516,
-0.012432096526026726,
-0.001119636232033372,
-0.028108136728405952,
0.020079830661416054,
-0.05646999180316925,
0.07375894486904144,
-0.050308309495449066,
0.02336001954972744,
0.01746111549437046,
-0.03218572214245796,
-0.01935492642223835,
0.011471599340438843,
-0.021728985011577606,
0.04309551790356636,
-0.03100775182247162,
-0.007244505453854799,
0.009541544131934643,
-0.01852128654718399,
-0.05752110108733177,
-0.01383659802377224,
0.04809735342860222,
0.00884382426738739,
-0.02533538080751896,
0.0019108005799353123,
0.007425731513649225,
-0.011054780334234238,
-0.033001236617565155,
0.02819875068962574,
-0.04440034553408623,
0.02790878899395466,
-0.043059274554252625,
-0.04015966132283211,
0.07194668054580688,
0.01346508413553238,
0.012268994003534317,
0.04595888778567314,
-0.02109469473361969,
-0.0541502982378006,
-0.0006801634444855154,
-0.016672782599925995,
0.0143621526658535,
-0.052048079669475555,
-0.06473389267921448,
0.027618827298283577,
-0.037694986909627914,
-0.03671636804938316,
-0.0477711483836174,
0.09097540378570557,
0.04084831848740578,
-0.019010597839951515,
0.07930445671081543,
-0.0002429559826850891,
-0.10859055817127228,
0.016591232270002365,
-0.02040603570640087,
0.012703935615718365,
0.016582170501351357,
0.06437144428491592,
0.048641033470630646,
-0.042624332010746,
0.019155578687787056,
0.0060484143905341625,
-0.01655498705804348,
0.05639750137925148,
0.015630733221769333,
-0.0451977401971817,
0.012042460963129997,
0.0523017942905426,
0.023015689104795456,
0.09909432381391525,
-0.022816341370344162,
-0.0535341314971447,
0.034505411982536316,
0.0606381855905056,
0.0036471711937338114,
-0.04545145481824875,
-0.0335630364716053,
0.02963043563067913,
0.03845613822340965,
0.03287437930703163,
0.00922439806163311,
-0.023233160376548767,
-0.014942076057195663,
0.05509267374873161,
0.004897629842162132,
0.05215681344270706,
-0.02486419305205345,
0.010076160542666912,
-0.015603549778461456,
0.05958707630634308,
0.0019470457918941975,
0.0695907473564148,
-0.0019311885116621852,
0.061725541949272156,
0.014615869149565697,
-0.025643466040492058,
0.04813360050320625,
0.020007340237498283,
0.05349788814783096,
0.010456734336912632,
-0.05436776950955391,
-0.014498071745038033,
-0.05164938047528267,
-0.000010627553820086177,
-0.041029542684555054,
0.002302701584994793,
0.019681133329868317,
-0.020097952336072922,
0.039579737931489944,
-0.012921406887471676,
-0.03196825087070465,
0.0016140431398525834,
-0.05987703800201416,
0.018095405772328377,
0.024827947840094566,
-0.003783090738579631,
0.03385299816727638,
-0.020007340237498283,
-0.03211323171854019,
0.015358895063400269,
0.04302302747964859,
0.016373760998249054,
-0.0006308926967903972,
-0.015549182891845703,
0.005898903124034405,
0.02955794520676136,
0.031261466443538666,
-0.058028534054756165,
0.033218707889318466,
0.08851072937250137,
-0.059297114610672,
-0.01024832483381033,
-0.003089901525527239,
-0.047589920461177826,
-0.023704348132014275,
-0.04218938946723938,
0.032711274921894073,
0.012259932234883308,
0.0032733927946537733,
-0.02314254827797413,
-0.007915041409432888,
-0.04436410218477249,
0.02374059334397316,
-0.0703156515955925,
0.0135647589340806,
-0.008195941336452961,
-0.04113828018307686,
0.034904107451438904,
-0.01523203682154417,
-0.05404156446456909,
-0.027781931683421135,
0.044944025576114655,
-0.023414386436343193,
-0.01023926306515932,
-0.004204440861940384,
0.030047254636883736,
0.015893511474132538,
-0.09184528887271881,
0.009478114545345306,
-0.007452915422618389,
0.0515768900513649,
0.05813726782798767,
0.0696994811296463,
-0.002301568863913417,
0.050996970385313034,
0.02154775895178318,
0.049184709787368774,
0.02848871238529682,
0.050996970385313034,
0.007249035872519016,
0.03205886110663414,
0.027419479563832283,
0.010502041317522526,
-0.010157711803913116,
-0.0009236857877112925,
-0.007566181477159262,
-0.015141423791646957,
-0.026404613628983498,
-0.029920397326350212,
0.050163328647613525,
0.00013344173203222454,
-0.005577227100729942,
-0.08619103580713272,
0.008667129091918468,
0.06763350963592529,
-0.009065825492143631,
0.034741006791591644,
0.00004912920849164948,
0.06944576650857925,
0.04193567484617233,
-0.03892732411623001,
-0.03733253479003906,
0.006397274322807789,
-0.02026105672121048,
-0.014797095209360123,
-0.024356761947274208,
0.04450908303260803,
0.04450908303260803,
-0.03445104509592056,
0.06636492908000946,
-0.020134197548031807,
-0.06400898844003677,
0.05708615854382515,
0.02419365756213665,
0.003706069663167,
0.03229445591568947,
0.013927211053669453,
0.023613736033439636,
-0.004304115194827318,
-0.05179436132311821,
0.03305560350418091,
0.01942741684615612,
-0.050235819071531296,
-0.07075059413909912,
0.010647022165358067,
-0.008558393456041813,
-0.043747931718826294,
-0.02450174279510975,
0.003146534785628319,
0.04443659260869026,
-0.024755457416176796,
0.00919268373399973,
-0.02986602857708931,
-0.028108136728405952,
-0.03606395423412323,
-0.02307005785405636,
-0.0180682223290205,
-0.019934849813580513,
0.025208523496985435,
-0.020985959097743034,
-0.0036267833784222603,
0.013546636328101158,
0.003044595243409276,
-0.017886996269226074,
-0.028778674080967903,
-0.024066800251603127,
0.01769671030342579,
0.019844235852360725,
-0.021366534754633904,
-0.051069460809230804,
0.00563159491866827,
0.08002936094999313,
0.0418994277715683,
-0.02509978786110878,
-0.062486689537763596,
0.07843457162380219,
0.008975212462246418,
-0.017950424924492836,
-0.005491144955158234,
-0.015685101971030235,
-0.025969671085476875,
-0.010882615111768246,
-0.025371626019477844,
-0.031025875359773636,
0.009704646654427052,
-0.07133051753044128,
0.08901816606521606,
0.05193934217095375,
-0.035103458911180496,
-0.009047702886164188,
0.0400509238243103,
0.047517430037260056,
0.028633693233132362,
-0.02200082503259182,
-0.05063451826572418,
-0.009695585817098618,
-0.025009173899888992,
0.03834740072488785,
0.05012708529829979,
-0.02796315588057041,
0.08169663697481155,
0.07303404062986374,
0.07995686680078506,
0.009459991939365864,
-0.06132684648036957,
0.0011400241637602448,
0.030210357159376144,
-0.03921728581190109,
0.013546636328101158,
-0.008680720813572407,
-0.057557348161935806,
0.04273306950926781,
0.011725315824151039,
-0.03532093018293381,
0.034668516367673874,
0.04874976724386215,
0.014063130132853985,
-0.03017411194741726,
-0.07560744881629944,
0.018938107416033745,
-0.023269405588507652,
0.06375527381896973,
0.045777663588523865,
0.016002247110009193,
0.021801475435495377,
-0.01424435619264841,
-0.03827491030097008,
0.042588088661432266,
0.007883327081799507,
0.028524957597255707,
0.012241809628903866,
0.010782941244542599,
-0.0006863931193947792,
0.015259221196174622,
-0.02479170262813568,
-0.02607840672135353,
-0.023178793489933014,
-0.06727105379104614,
0.01783262938261032,
-0.043349236249923706,
-0.00007978187204571441,
0.0005895505310036242,
0.09844191372394562,
-0.06045696139335632,
0.005645186640322208,
0.041536975651979446,
0.04073958471417427,
0.05070700868964195,
-0.06266791373491287,
0.011707193218171597,
0.009333133697509766,
-0.02238139882683754,
0.05936960503458977,
0.0026730820536613464,
-0.009867750108242035,
-0.003042329801246524,
0.010792002081871033,
0.043421726673841476,
0.009749953635036945,
-0.05012708529829979,
-0.018811248242855072,
-0.058246005326509476,
0.005921556148678064,
0.07901449501514435,
0.018158836290240288,
0.03939851000905037,
0.0374775156378746,
0.0029970232862979174,
-0.014470888301730156,
0.03318246454000473,
0.028543079271912575,
-0.00670988904312253,
-0.021674618124961853,
0.003966582007706165,
-0.025897180661559105,
-0.051431912928819656,
0.030445951968431473,
-0.01470648217946291,
-0.06252293288707733,
-0.008259370923042297,
-0.035955220460891724,
0.026332123205065727,
0.0432404987514019,
0.03773123398423195,
-0.01957239769399166,
0.03153330832719803,
-0.031025875359773636,
-0.020768487825989723,
-0.06509634107351303,
0.04498026892542839,
-0.034976597875356674,
0.02767319604754448,
-0.02760070562362671,
0.02433863840997219,
-0.08140667527914047,
0.03323683142662048,
0.015213914215564728,
0.012024338357150555,
-0.0060438839718699455,
0.027256375178694725,
-0.07053311914205551,
-0.017334258183836937,
-0.008667129091918468,
0.025154154747724533,
-0.034668516367673874,
0.014407459646463394,
-0.032783765345811844,
0.036462653428316116,
-0.05694117769598961,
-0.001315020490437746,
-0.006361029110848904,
0.06205175071954727,
-0.008476841263473034,
0.02865181490778923,
-0.009478114545345306,
0.055237654596567154,
-0.0013331430964171886,
0.027419479563832283,
0.024755457416176796,
-0.03637203946709633,
-0.027491969987750053,
0.034215450286865234,
0.06665488332509995,
0.060746923089027405,
-0.028941776603460312,
0.005033549387007952,
0.03115273267030716,
-0.013111693784594536,
-0.011299435049295425,
-0.010882615111768246,
0.0016038492321968079,
0.06183427944779396,
0.025208523496985435,
0.001950443722307682,
0.014489010907709599,
-0.06806845217943192,
0.04472655430436134,
-0.03928977623581886,
0.013745984993875027,
0.014271539635956287,
-0.01489676907658577,
-0.020623506978154182,
0.017714831978082657,
0.0297029260545969,
0.009749953635036945,
-0.003146534785628319,
0.043747931718826294,
0.04287805035710335,
0.02669457532465458,
0.0017533606151118875,
0.0068458085879683495,
-0.013918149285018444,
0.03827491030097008,
0.01175250019878149,
-0.027999401092529297,
0.0132294911891222,
0.06520508229732513,
-0.0568324439227581,
0.011018535122275352,
-0.0045283823274075985,
0.07075059413909912,
-0.02274385094642639,
-0.03184138983488083,
0.018421612679958344,
-0.00046382503933273256,
-0.026114651933312416,
-0.013365410268306732,
-0.02138465642929077,
-0.02886928617954254,
-0.015449508093297482,
-0.05048953741788864,
-0.03408859297633171,
-0.012722058221697807,
-0.05708615854382515,
0.04331298917531967,
0.023613736033439636,
-0.0038216011598706245,
0.004820608999580145,
0.02593342587351799,
0.054766468703746796,
-0.016274085268378258,
-0.03350866958498955,
0.06342906504869461,
0.016681844368577003,
-0.018204141408205032,
-0.015422324649989605,
0.050960723310709,
-0.003126146737486124,
0.034287940710783005,
-0.010538286529481411,
-0.00929688848555088,
-0.011417231522500515,
0.04624884948134422,
-0.017977610230445862,
0.01746111549437046,
-0.06621994823217392,
0.006524132564663887,
0.001798667130060494,
0.030337216332554817,
-0.00354296644218266,
0.0158028993755579,
-0.024374883621931076,
-0.036172691732645035,
0.025915304198861122,
0.0026821433566510677,
-0.04081207141280174,
0.0022517319303005934,
-0.020170442759990692,
-0.052591755986213684,
-0.01911933347582817,
-0.06574875861406326,
0.027564460411667824,
0.003089901525527239,
0.05592631176114082,
-0.03997843340039253,
-0.06437144428491592,
0.016962744295597076,
-0.0023083649575710297,
-0.024284271523356438,
-0.013546636328101158,
0.007538997568190098,
-0.003783090738579631,
0.009459991939365864,
-0.014063130132853985,
0.027256375178694725,
0.011362863704562187,
-0.0306271780282259,
0.03827491030097008,
0.05186685174703598,
0.03711506351828575,
0.0884382426738739,
-0.028144381940364838,
0.020224811509251595,
0.02390369586646557,
-0.01959051936864853,
-0.0015302262036129832,
0.0043131764978170395,
0.012459280900657177,
0.00708593288436532,
-0.035266559571027756,
-0.015222975984215736,
-0.022055191919207573,
-0.012649567797780037
] |
725,595 | awpy.parser.demoparser | parse_demo | Parse a demofile using the Go script parse_demo.go -- this function needs the .demofile to be set in the class, and the file needs to exist.
Returns:
Outputs a JSON file to current working directory.
Raises:
ValueError: Raises a ValueError if the Golang version is lower than 1.18
FileNotFoundError: Raises a FileNotFoundError if the demofile path does not exist.
| def parse_demo(self) -> None:
"""Parse a demofile using the Go script parse_demo.go -- this function needs the .demofile to be set in the class, and the file needs to exist.
Returns:
Outputs a JSON file to current working directory.
Raises:
ValueError: Raises a ValueError if the Golang version is lower than 1.18
FileNotFoundError: Raises a FileNotFoundError if the demofile path does not exist.
"""
# Check if Golang version is compatible
acceptable_go = check_go_version()
if not acceptable_go:
error_message = "Error calling Go. Check if Go is installed using 'go version'. Need at least v1.18.0."
self.logger.error(
error_message
)
raise ValueError(
error_message
)
else:
self.logger.info("Go version>=1.18.0")
# Check if demofile exists
if not os.path.exists(os.path.abspath(self.demofile)):
self.logger.error("Demofile path does not exist!")
raise FileNotFoundError("Demofile path does not exist!")
path = os.path.join(os.path.dirname(__file__), "")
self.logger.info("Running Golang parser from %s", path)
self.logger.info("Looking for file at %s", self.demofile)
self.parser_cmd = [
"go",
"run",
"parse_demo.go",
"-demo",
self.demofile,
"-parserate",
str(self.parse_rate),
"-tradetime",
str(self.trade_time),
"-buystyle",
str(self.buy_style),
"-demoid",
str(self.demo_id),
"-out",
self.outpath,
]
if self.dmg_rolled:
self.parser_cmd.append("--dmgrolled")
if self.parse_frames:
self.parser_cmd.append("--parseframes")
if self.parse_kill_frames:
self.parser_cmd.append("--parsekillframes")
if self.json_indentation:
self.parser_cmd.append("--jsonindentation")
if self.parse_chat:
self.parser_cmd.append("--parsechat")
proc = subprocess.Popen(
self.parser_cmd,
stdout=subprocess.PIPE,
cwd=path,
)
stdout = proc.stdout.read().splitlines() if proc.stdout is not None else None
self.output_file = self.demo_id + ".json"
if os.path.isfile(self.outpath + "/" + self.output_file):
self.logger.info("Wrote demo parse output to %s", self.output_file)
self.parse_error = False
else:
self.parse_error = True
self.logger.error("No file produced, error in calling Golang")
self.logger.error(stdout)
| (self) -> NoneType | [
0.05005928501486778,
-0.03910177946090698,
-0.07054831832647324,
0.012955748476088047,
0.03609972447156906,
-0.020864291116595268,
-0.006440348457545042,
0.08660931885242462,
-0.04469311237335205,
0.00031779578421264887,
0.028500771149992943,
0.03958961367607117,
-0.03396075963973999,
0.04075291380286217,
-0.019419550895690918,
-0.017824707552790642,
0.05471247434616089,
0.004165352787822485,
-0.018096769228577614,
0.01496337354183197,
-0.03504900634288788,
0.019475840032100677,
-0.011285854503512383,
0.06049143150448799,
-0.0032436279579997063,
0.035255398601293564,
0.025611290708184242,
0.004559372551739216,
0.004831434227526188,
-0.04837062954902649,
-0.027769019827246666,
-0.044655583798885345,
-0.025048406794667244,
0.052836187183856964,
-0.01510409452021122,
-0.009803589433431625,
-0.05159784108400345,
0.016905328258872032,
-0.11085092276334763,
0.0005432431935332716,
0.011886266060173512,
-0.02110820636153221,
0.023772532120347023,
0.0007634134963154793,
-0.019569654017686844,
0.02369748055934906,
-0.07598954439163208,
0.02962654083967209,
-0.03696281462907791,
-0.07790336012840271,
0.05339907482266426,
0.0025447115767747164,
-0.020901815965771675,
0.03696281462907791,
-0.027262423187494278,
0.017956048250198364,
0.021839957684278488,
0.05253598093986511,
0.03405457362532616,
-0.017149245366454124,
-0.08083035796880722,
0.005642927251756191,
0.021896246820688248,
0.00755204726010561,
-0.015901515260338783,
0.04566878080368042,
-0.0319906622171402,
0.0003878633142448962,
0.0062151942402124405,
0.020864291116595268,
0.026568196713924408,
0.008466736413538456,
0.011332761496305466,
0.003079453017562628,
0.0354430265724659,
-0.014344199560582638,
-0.07426336407661438,
-0.024860776960849762,
-0.009583125822246075,
-0.004503084346652031,
-0.014306673780083656,
0.0012676650658249855,
0.024898303672671318,
-0.009859878569841385,
0.04176610708236694,
0.008302561938762665,
0.06311822682619095,
-0.014803889207541943,
-0.03150282800197601,
0.04585640877485275,
-0.023716242983937263,
0.0221964530646801,
-0.011126370169222355,
0.0276752058416605,
-0.0006695992196910083,
-0.043792493641376495,
-0.0011568469926714897,
-0.03630611672997475,
-0.00003807539542322047,
0.012749357149004936,
-0.05032196640968323,
0.06127947196364403,
-0.08158087730407715,
-0.002758139045909047,
-0.015235435217618942,
0.005605401936918497,
-0.025667579844594002,
0.030696023255586624,
0.009569053538143635,
-0.0052629797719419,
-0.10904969274997711,
-0.06585760414600372,
0.020451506599783897,
-0.06214256212115288,
0.041878681629896164,
-0.017824707552790642,
-0.01635182462632656,
0.02352861501276493,
-0.021783670410513878,
-0.015920279547572136,
0.016811514273285866,
0.04285435006022453,
-0.023434801027178764,
0.01343420147895813,
0.005746122915297747,
-0.05287371203303337,
0.0010389928938820958,
0.036287352442741394,
0.04330465942621231,
0.022871915251016617,
0.019851095974445343,
0.034167151898145676,
0.025442425161600113,
-0.01610790751874447,
0.034448593854904175,
0.002575201215222478,
-0.04987165704369545,
0.033866945654153824,
-0.05339907482266426,
0.056476179510354996,
0.05167289078235626,
-0.06368111819028854,
0.03559312969446182,
-0.07186172157526016,
-0.0570765919983387,
0.04394259676337242,
-0.013396675698459148,
-0.009831734001636505,
-0.05869019776582718,
0.042404044419527054,
0.012092657387256622,
-0.013124614022672176,
0.0029973655473440886,
-0.04247909411787987,
0.06443163007497787,
-0.04514341801404953,
-0.03872652351856232,
0.010413382202386856,
-0.01994490996003151,
0.015301104635000229,
-0.0135467778891325,
0.016764607280492783,
0.04270424693822861,
-0.027693968266248703,
0.003046617843210697,
0.043154556304216385,
-0.003382003866136074,
0.025705106556415558,
-0.02150222659111023,
0.04191621020436287,
0.03685024008154869,
0.07460109889507294,
-0.024016449227929115,
-0.010788639076054096,
-0.00507535133510828,
0.0547875240445137,
0.022346556186676025,
0.03157787770032883,
0.04716980829834938,
0.026774588972330093,
-0.08923611789941788,
0.015835845842957497,
-0.023885108530521393,
0.04022755101323128,
0.044768162071704865,
-0.04214136302471161,
0.06116689369082451,
-0.0009997081942856312,
0.018650274723768234,
0.014447394758462906,
-0.0582398883998394,
0.022740574553608894,
0.03090241551399231,
-0.014578735455870628,
0.04645681753754616,
0.027956647798419,
0.009728537872433662,
0.010404000990092754,
0.013612448237836361,
-0.054337214678525925,
0.005610092543065548,
0.017083575949072838,
0.00009080926975002512,
-0.043792493641376495,
-0.023022018373012543,
0.007875707000494003,
-0.033247772604227066,
0.019475840032100677,
-0.03298509120941162,
0.01913810707628727,
-0.021783670410513878,
-0.05204814672470093,
0.00755204726010561,
-0.0037877506110817194,
0.05955328792333603,
-0.05662628263235092,
0.06304317712783813,
0.0668708011507988,
-0.018922334536910057,
0.015075950883328915,
0.03559312969446182,
-0.01303080003708601,
-0.050884850323200226,
0.01847202703356743,
-0.03309766948223114,
0.004709475673735142,
0.057564426213502884,
0.011886266060173512,
-0.03771333023905754,
-0.04544362425804138,
-0.003321024589240551,
-0.11910657584667206,
0.012815027497708797,
0.01977604441344738,
-0.01799357309937477,
-0.028331905603408813,
0.03084612637758255,
-0.000867195543833077,
0.006646739784628153,
-0.03913930803537369,
-0.005084732547402382,
-0.029832933098077774,
0.04026507958769798,
-0.007645861711353064,
-0.02773149311542511,
-0.0064872559159994125,
0.06139204651117325,
-0.032778698951005936,
-0.017092958092689514,
0.04191621020436287,
0.08007984608411789,
0.004892413504421711,
-0.00719086267054081,
0.058202363550662994,
-0.027525102719664574,
0.010394619777798653,
0.0013603066327050328,
-0.04822052642703056,
0.02347232587635517,
-0.01772151328623295,
0.03771333023905754,
-0.07790336012840271,
-0.005051897373050451,
0.011529771611094475,
-0.013875128701329231,
-0.015348011627793312,
0.07992974668741226,
-0.07084852457046509,
0.015723269432783127,
-0.034561172127723694,
-0.03302261605858803,
0.04409269988536835,
-0.03559312969446182,
-0.03782590851187706,
-0.05715164542198181,
0.028444482013583183,
0.012195853516459465,
-0.06844688206911087,
-0.004083265550434589,
0.006055709905922413,
0.013556160032749176,
-0.0062902458012104034,
0.038538895547389984,
0.01977604441344738,
-0.0015303450636565685,
-0.02069542370736599,
0.0034171841107308865,
0.004034013021737337,
-0.022590473294258118,
0.005126948934048414,
0.015648217871785164,
0.034786324948072433,
0.006379369180649519,
-0.0020615682005882263,
0.012045750394463539,
0.024260366335511208,
-0.026830876246094704,
-0.016361206769943237,
0.004754037130624056,
-0.05662628263235092,
-0.02197129838168621,
-0.01799357309937477,
0.022271504625678062,
-0.019513364881277084,
-0.06660812348127365,
0.01225214172154665,
-0.007289367727935314,
-0.0951651781797409,
0.04022755101323128,
-0.008494880981743336,
0.0015162728959694505,
0.009325137361884117,
0.04214136302471161,
0.03700034320354462,
-0.04656939581036568,
0.01164234895259142,
0.02283439040184021,
0.01855645887553692,
0.06597018241882324,
0.052723612636327744,
-0.018537696450948715,
0.026361806318163872,
0.01107008196413517,
0.03533044829964638,
0.0720493495464325,
-0.027431288734078407,
-0.0005620060255751014,
0.04236651584506035,
0.02750634029507637,
0.0005382592789828777,
-0.014860178343951702,
0.00406684773042798,
0.004299038089811802,
0.01323719136416912,
0.06000359728932381,
-0.03484261408448219,
-0.03337911143898964,
-0.08022995293140411,
0.02328469790518284,
-0.003644683863967657,
0.04747001454234123,
-0.03150282800197601,
-0.03932693600654602,
-0.0008613321115262806,
0.06420647352933884,
-0.0247857253998518,
0.11572926491498947,
0.010169465094804764,
0.012646161951124668,
-0.02519850805401802,
-0.017712131142616272,
0.08007984608411789,
-0.0005238939775153995,
0.05208567529916763,
0.012130183167755604,
-0.06082916259765625,
-0.008813849650323391,
-0.047545064240694046,
-0.0006338325329124928,
-0.0023301115725189447,
-0.07392562925815582,
-0.007861634716391563,
-0.04247909411787987,
0.0256488174200058,
-0.03696281462907791,
-0.09899280220270157,
0.04139084741473198,
-0.06214256212115288,
0.056588757783174515,
0.03850137069821358,
0.01472883764654398,
0.007228388451039791,
-0.01652069017291069,
-0.07171161472797394,
-0.0443929061293602,
0.0383325032889843,
0.00449135759845376,
-0.022646760568022728,
-0.015319867990911007,
-0.018640892580151558,
0.012786882929503918,
0.06356853991746902,
-0.018837902694940567,
0.009737920016050339,
0.04480568692088127,
-0.06930997222661972,
-0.015591928735375404,
-0.03229086473584175,
-0.038538895547389984,
-0.02589273452758789,
0.0005664035561494529,
0.03857642039656639,
0.001013193977996707,
0.01888480968773365,
0.008222819305956364,
-0.030545921996235847,
-0.03510529547929764,
0.022233977913856506,
-0.024992117658257484,
0.03118385747075081,
0.005999421700835228,
-0.03602467477321625,
0.00971915666013956,
0.015075950883328915,
-0.026549434289336205,
-0.03788219764828682,
0.0651821419596672,
0.03718797117471695,
-0.02416655234992504,
0.07520150393247604,
-0.00195016385987401,
-0.0031498135067522526,
-0.049496401101350784,
0.029551489278674126,
-0.041090644896030426,
0.043679915368556976,
-0.008274417370557785,
0.009062456898391247,
0.014672549441456795,
0.03821992874145508,
-0.01421285979449749,
0.061091843992471695,
0.032778698951005936,
0.06870955973863602,
0.01259925402700901,
-0.006435657851397991,
-0.0072565325535833836,
-0.01622048392891884,
0.011867503635585308,
-0.025329848751425743,
0.05456237122416496,
0.0547875240445137,
-0.04375496879220009,
-0.043679915368556976,
0.01637996919453144,
0.0053708660416305065,
-0.02202758751809597,
-0.06379369646310806,
0.027975410223007202,
0.013528015464544296,
0.0062902458012104034,
-0.0036657920572906733,
0.023397274315357208,
0.055838245898485184,
0.01418471522629261,
0.019382024183869362,
-0.014813270419836044,
-0.005338030867278576,
0.005685143638402224,
-0.03711291775107384,
-0.026361806318163872,
0.03647498041391373,
-0.0016464401269331574,
-0.03392323479056358,
-0.020170064643025398,
-0.04908361658453941,
0.03332282230257988,
0.02940138801932335,
0.019907385110855103,
-0.02260923571884632,
-0.0005007335566915572,
0.02987045794725418,
0.04893351346254349,
0.04735743626952171,
-0.031615402549505234,
0.03412962704896927,
0.07835366576910019,
0.008241582661867142,
-0.08503323793411255,
-0.012533584609627724,
0.05103495344519615,
-0.03593086078763008,
-0.033698081970214844,
-0.002011143136769533,
0.004709475673735142,
0.011192040517926216,
0.026962216943502426,
-0.04450548067688942,
-0.004233368206769228,
-0.016680173575878143,
-0.03379189595580101,
-0.02525479719042778,
-0.023622428998351097,
0.05058464780449867,
-0.03673766180872917,
-0.004557027481496334,
0.034673746675252914,
-0.05985349416732788,
0.0003201411454938352,
-0.05148526281118393,
-0.0004907658440060914,
0.007922613993287086,
-0.024016449227929115,
-0.04030260443687439,
-0.021652329713106155,
-0.029157470911741257,
0.03988981992006302,
0.0348801389336586,
0.014372344128787518,
-0.07662748545408249,
0.03304138034582138,
0.01899738609790802,
-0.023190883919596672,
-0.021408412605524063,
0.012186471372842789,
0.03701910376548767,
0.0015385537408292294,
0.0018270326545462012,
-0.09096229821443558,
0.016333062201738358,
-0.02957025356590748,
0.043905071914196014,
-0.015376156195998192,
-0.00799766555428505,
0.0015338630182668567,
0.016164196655154228,
0.008354159072041512,
0.04803289845585823,
0.02328469790518284,
-0.025855207815766335,
-0.017505740746855736,
-0.013631211593747139,
0.031390249729156494,
0.0030747621785849333,
-0.033529214560985565,
0.026849640533328056,
-0.011858121491968632,
0.047319911420345306,
0.012589872814714909,
0.02962654083967209,
0.0041888062842190266,
-0.015873372554779053,
0.014803889207541943,
-0.0031310508493334055,
0.015207290649414062,
-0.02433541789650917,
0.06326833367347717,
-0.005905607249587774,
-0.04998423531651497,
0.011370287276804447,
0.05396195873618126,
-0.03996487334370613,
-0.06409389525651932,
-0.07279986143112183,
-0.013396675698459148,
0.015047806315124035,
0.0354805514216423,
0.036287352442741394,
0.0467194989323616,
0.021520990878343582,
0.009981837123632431,
0.004571099765598774,
0.02185872197151184,
0.06278049945831299,
0.03452364727854729,
-0.00263148988597095,
-0.010788639076054096,
-0.014663168229162693,
0.04822052642703056,
-0.024766962975263596,
-0.022384081035852432,
0.00780065543949604,
-0.09906785190105438,
-0.008166531100869179,
-0.016849040985107422,
0.04270424693822861,
-0.025761393830180168,
0.06968522816896439,
-0.03396075963973999,
-0.019288210198283195,
0.04908361658453941,
0.029607778415083885,
0.04064033553004265,
-0.045293521136045456,
-0.03581828251481056,
0.022496657446026802,
-0.0060885450802743435,
0.0680340975522995,
0.03187808394432068,
0.027937885373830795,
0.011389050632715225,
-0.009348590858280659,
0.012805645354092121,
-0.03221581503748894,
-0.041315797716379166,
-0.017449451610445976,
-0.006904729176312685,
-0.03707539290189743,
0.07508892565965652,
0.029832933098077774,
-0.03608096390962601,
-0.00877632386982441,
-0.03694405406713486,
-0.04052775725722313,
-0.01758079044520855,
0.07478872686624527,
0.044993314892053604,
-0.03679395094513893,
0.04750753939151764,
0.01752450317144394,
-0.049721553921699524,
0.02600531093776226,
-0.013162139803171158,
-0.027956647798419,
0.004807980731129646,
0.026680773124098778,
0.03827621415257454,
-0.021370887756347656,
-0.02242160774767399,
0.025667579844594002,
-0.021839957684278488,
-0.03943951427936554,
-0.008011736907064915,
-0.015751414000988007,
-0.004688367247581482,
0.019475840032100677,
0.02495459094643593,
-0.04176610708236694,
0.056025873869657516,
0.02099562995135784,
0.05902792885899544,
0.023491090163588524,
-0.014944611117243767,
-0.020714187994599342,
-0.026943454518914223,
-0.03244096785783768,
-0.005600710865110159,
0.00602756580337882,
0.012702450156211853,
-0.005422464106231928,
0.04180363193154335,
-0.028331905603408813,
0.05407453700900078,
-0.05782710760831833,
0.05966586619615555,
-0.010338330641388893,
0.007350347004830837,
-0.03337911143898964,
0.021652329713106155,
0.002657288685441017,
0.02803169935941696,
-0.07317511737346649,
-0.0036751735024154186,
-0.027825307101011276,
-0.035199109464883804,
-0.005966586526483297,
0.00507535133510828,
0.06728358566761017,
0.06214256212115288,
0.01741192489862442,
-0.007350347004830837,
-0.010038125328719616,
-0.0247857253998518,
0.008663746528327465,
-0.025329848751425743,
-0.011454720050096512,
0.015807701274752617,
0.019044293090701103,
0.027937885373830795,
0.035255398601293564,
-0.05396195873618126,
0.030583446845412254,
0.029157470911741257,
-0.0018059243448078632,
-0.01072296965867281,
-0.04398012161254883,
0.02634304203093052,
0.006004112306982279,
0.09126250445842743,
0.028125513345003128,
0.020564084872603416,
0.0037619515787810087,
0.03435477986931801,
0.005145711824297905,
-0.029026130214333534,
-0.018697181716561317,
0.054637420922517776,
0.007251841947436333,
0.020601609721779823,
-0.02116449549794197,
0.005849318578839302,
0.0680340975522995,
-0.028744688257575035,
-0.04146590083837509,
0.028782213106751442,
0.03032076731324196,
0.03195313364267349,
-0.01475698221474886,
0.04743248596787453,
0.008391684852540493,
-0.08773509413003922,
-0.01966346800327301,
-0.033641792833805084,
-0.07370048016309738,
-0.010844928212463856,
-0.05490010231733322,
-0.04521847143769264,
-0.013753170147538185,
-0.06191740930080414,
-0.04127827286720276,
0.04912114515900612,
-0.0187440887093544,
0.013940798118710518,
0.05966586619615555,
0.01810615137219429,
0.0026080363895744085,
-0.04236651584506035,
0.0040011778473854065,
-0.014944611117243767,
-0.03476756438612938,
0.01760893501341343,
0.03167169168591499,
0.02185872197151184,
0.02519850805401802,
0.022928204387426376,
-0.013246572576463223,
-0.08278169482946396,
0.0328725129365921,
0.03441106900572777,
-0.0256488174200058,
-0.06019122526049614,
0.024579335004091263,
0.020601609721779823,
0.005596020258963108,
0.014241003431379795,
-0.02155851572751999,
-0.047995373606681824,
-0.06424400210380554,
0.03247849643230438,
-0.018237490206956863,
-0.061729781329631805,
0.0006496637361124158,
-0.019794806838035583,
-0.04086548835039139,
-0.009625342674553394,
-0.06469430774450302,
-0.0019009113311767578,
-0.030808601528406143,
0.0507347472012043,
0.009175034239888191,
-0.052273303270339966,
-0.025160983204841614,
-0.038538895547389984,
-0.005187928210943937,
0.026024073362350464,
0.0034406378399580717,
0.037281785160303116,
0.00968163087964058,
-0.04458053410053253,
-0.01774027571082115,
-0.005525659769773483,
-0.08255654573440552,
-0.01026327908039093,
0.05242340639233589,
-0.010253897868096828,
0.02456057257950306,
-0.000528291508089751,
0.0256488174200058,
0.035649415105581284,
-0.02439170703291893,
0.02369748055934906,
-0.0012664924142882228,
0.0224778950214386,
0.0040738838724792,
0.05962834134697914,
0.06368111819028854,
-0.011454720050096512,
0.014531828463077545
] |
725,596 | awpy.parser.demoparser | parse_json_to_df | Returns JSON into dictionary where keys correspond to data frames
Returns:
A dictionary of output
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def parse_json_to_df(self) -> dict[str, Any]:
"""Returns JSON into dictionary where keys correspond to data frames
Returns:
A dictionary of output
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
demo_data: dict[str, Any] = {}
demo_data["matchID"] = self.json["matchID"]
demo_data["clientName"] = self.json["clientName"]
demo_data["mapName"] = self.json["mapName"]
demo_data["tickRate"] = self.json["tickRate"]
demo_data["playbackTicks"] = self.json["playbackTicks"]
# Rounds
demo_data["rounds"] = self._parse_rounds()
# Kills
demo_data["kills"] = self._parse_kills()
demo_data["kills"]["attackerSteamID"] = demo_data["kills"][
"attackerSteamID"
].astype(pd.Int64Dtype())
demo_data["kills"]["victimSteamID"] = demo_data["kills"][
"victimSteamID"
].astype(pd.Int64Dtype())
demo_data["kills"]["assisterSteamID"] = demo_data["kills"][
"assisterSteamID"
].astype(pd.Int64Dtype())
demo_data["kills"]["flashThrowerSteamID"] = demo_data["kills"][
"flashThrowerSteamID"
].astype(pd.Int64Dtype())
# Damages
demo_data["damages"] = self._parse_damages()
demo_data["damages"]["attackerSteamID"] = demo_data["damages"][
"attackerSteamID"
].astype(pd.Int64Dtype())
demo_data["damages"]["victimSteamID"] = demo_data["damages"][
"victimSteamID"
].astype(pd.Int64Dtype())
# Grenades
demo_data["grenades"] = self._parse_grenades()
demo_data["grenades"]["throwerSteamID"] = demo_data["grenades"][
"throwerSteamID"
].astype(pd.Int64Dtype())
# Flashes
demo_data["flashes"] = self._parse_flashes()
demo_data["flashes"]["attackerSteamID"] = demo_data["flashes"][
"attackerSteamID"
].astype(pd.Int64Dtype())
demo_data["flashes"]["playerSteamID"] = demo_data["flashes"][
"playerSteamID"
].astype(pd.Int64Dtype())
# Weapon Fires
demo_data["weaponFires"] = self._parse_weapon_fires()
demo_data["weaponFires"]["playerSteamID"] = demo_data["weaponFires"][
"playerSteamID"
].astype(pd.Int64Dtype())
# Bomb Events
demo_data["bombEvents"] = self._parse_bomb_events()
demo_data["bombEvents"]["playerSteamID"] = demo_data["bombEvents"][
"playerSteamID"
].astype(pd.Int64Dtype())
# Frames
demo_data["frames"] = self._parse_frames()
# Player Frames
demo_data["playerFrames"] = self._parse_player_frames()
demo_data["playerFrames"]["steamID"] = demo_data["playerFrames"][
"steamID"
].astype(pd.Int64Dtype())
self.logger.info("Returned dataframe output")
return demo_data
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> dict[str, typing.Any] | [
0.03694697469472885,
-0.05303023383021355,
-0.04377897083759308,
-0.0034788993652909994,
-0.0535721480846405,
-0.0038079190999269485,
-0.03292132169008255,
0.08949335664510727,
-0.00215677241794765,
-0.014331710524857044,
-0.0247732475399971,
0.03297938406467438,
-0.02007020078599453,
0.045404717326164246,
-0.010644754394888878,
-0.032534241676330566,
0.004983680788427591,
0.08082272112369537,
0.03452771157026291,
-0.004066780209541321,
-0.011815677396953106,
0.00467401510104537,
-0.014592991210520267,
0.06108153611421585,
-0.02949564717710018,
0.041146814823150635,
0.008980302140116692,
0.008830307982861996,
0.06355886161327362,
0.007475520949810743,
0.009846397675573826,
-0.02367006428539753,
-0.03770178556442261,
0.0431983508169651,
-0.05612688884139061,
-0.029708541929721832,
-0.05620430409908295,
-0.03793403506278992,
-0.08964818716049194,
0.016586463898420334,
-0.07675835490226746,
-0.048114292323589325,
0.004797397181391716,
-0.029592417180538177,
-0.061158955097198486,
-0.005167544353753328,
-0.05055290833115578,
-0.02159917540848255,
0.02819892205297947,
-0.08918368816375732,
-0.00970608089119196,
-0.01555101852864027,
-0.011583428829908371,
0.10482180118560791,
-0.006343306042253971,
0.01839607208967209,
-0.04780462384223938,
0.04555954784154892,
-0.00552075682207942,
-0.0414951890707016,
-0.03679214417934418,
0.017225148156285286,
-0.03379225730895996,
0.025624826550483704,
-0.0069626374170184135,
0.0051868986338377,
0.005936869885772467,
0.0045675672590732574,
-0.03313421830534935,
-0.032321345061063766,
0.01591874659061432,
0.044746678322553635,
0.00648846197873354,
0.053765688091516495,
-0.05732684209942818,
0.009957684203982353,
-0.06630714237689972,
-0.04312093183398247,
0.007935180328786373,
-0.005898161791265011,
0.031218161806464195,
-0.009401253424584866,
-0.01825091615319252,
-0.0004889934207312763,
0.026302220299839973,
0.023534584790468216,
0.04691433534026146,
0.08430645614862442,
-0.08074530214071274,
0.0025547409895807505,
-0.004182904493063688,
-0.00208056578412652,
-0.007170693948864937,
0.004877232946455479,
0.00948350876569748,
-0.013973659835755825,
-0.027831194922327995,
0.006580393761396408,
-0.03739212080836296,
-0.00883998442441225,
-0.019576670601963997,
0.04199839383363724,
-0.02504420466721058,
0.0486949123442173,
-0.042501602321863174,
-0.02955370955169201,
0.00778034795075655,
-0.00839484017342329,
-0.017796093598008156,
0.0033918058034032583,
-0.13942693173885345,
0.00259344931691885,
-0.00733520369976759,
-0.05047548934817314,
0.06170086935162544,
0.010044777765870094,
0.001793883042410016,
0.004889329429715872,
-0.03648247569799423,
0.005656235385686159,
0.01828962378203869,
0.06990700960159302,
0.05090128257870674,
-0.00035895805922336876,
0.03023110330104828,
-0.01655743271112442,
0.007475520949810743,
-0.03650183230638504,
0.045675672590732574,
0.019170235842466354,
0.021947547793388367,
0.019228298217058182,
-0.0051530287601053715,
0.070294089615345,
0.018937986344099045,
0.00928512867540121,
0.008801276795566082,
0.03892109543085098,
0.007867441512644291,
-0.022005610167980194,
0.036424413323402405,
-0.03899851068854332,
0.014186554588377476,
-0.07161016762256622,
-0.0042554824613034725,
0.006232019979506731,
-0.0035756698343902826,
0.011535042896866798,
-0.06913284212350845,
-0.013867212459445,
0.010170578956604004,
-0.01532844640314579,
-0.05032065883278847,
-0.0338696725666523,
0.008123883046209812,
-0.04482409358024597,
0.009822205640375614,
-0.020360512658953667,
0.03694697469472885,
0.02479260042309761,
-0.022431401535868645,
-0.05024324357509613,
-0.006483623292297125,
-0.01510587427765131,
-0.043856389820575714,
0.04579179733991623,
0.01746707409620285,
-0.04238547757267952,
-0.005786875728517771,
0.023960374295711517,
0.05407535284757614,
0.12541456520557404,
0.020360512658953667,
-0.007291656918823719,
-0.037759847939014435,
0.030153686180710793,
0.00794969592243433,
-0.02409585379064083,
0.007664223201572895,
-0.010528629645705223,
-0.03179878368973732,
-0.006957798730581999,
-0.05546884983778,
-0.00013268142356537282,
0.01653807796537876,
-0.01916055753827095,
0.018492842093110085,
0.018618643283843994,
0.010518953204154968,
0.04648854583501816,
-0.026089325547218323,
-0.003002304583787918,
0.02070888690650463,
0.007238433230668306,
0.06193311884999275,
-0.01793157309293747,
0.01981859840452671,
0.009986715391278267,
-0.05326247960329056,
-0.027657007798552513,
-0.027173155918717384,
0.013567223213613033,
0.008835146203637123,
-0.04435959458351135,
-0.05930095911026001,
-0.058526795357465744,
-0.05748167634010315,
0.022373339161276817,
-0.02612803317606449,
-0.026728011667728424,
-0.061429910361766815,
-0.0637136921286583,
0.03230199217796326,
0.016963867470622063,
0.04029523581266403,
-0.0463724210858345,
0.048269122838974,
-0.010625400580465794,
0.006217504385858774,
-0.033656779676675797,
0.04939166083931923,
-0.05028194934129715,
-0.06766193360090256,
-0.020805656909942627,
-0.005757844541221857,
-0.007344880606979132,
-0.005090128164738417,
0.06259115785360336,
0.024870017543435097,
-0.04393380507826805,
-0.0114866578951478,
-0.048269122838974,
-0.01837671734392643,
-0.03021174855530262,
0.015173614025115967,
-0.031469766050577164,
0.046991754323244095,
-0.04389509558677673,
0.053107649087905884,
-0.04962391033768654,
0.0385340116918087,
-0.03315357118844986,
0.04284997656941414,
0.004303867928683758,
-0.03174072131514549,
-0.02388295903801918,
0.05411406233906746,
0.008196461014449596,
-0.05183027684688568,
0.011835032142698765,
0.0423467680811882,
-0.0014055914944037795,
0.03090849705040455,
0.06293953210115433,
-0.020166970789432526,
-0.08980301767587662,
0.020921781659126282,
0.03990815207362175,
0.0207475945353508,
-0.0383211150765419,
0.028953732922673225,
-0.027192508801817894,
0.0019450869876891375,
0.03762437030673027,
-0.03803080692887306,
0.018763799220323563,
-0.009120618924498558,
-0.02769571542739868,
0.0017128378385677934,
-0.027579590678215027,
-0.05446243658661842,
0.012057604268193245,
0.011428595520555973,
-0.029244044795632362,
-0.009498024359345436,
0.021037906408309937,
0.000762067676987499,
-0.055546265095472336,
-0.021734653040766716,
0.014805885963141918,
0.011747938580811024,
-0.05953320860862732,
0.009159327484667301,
-0.0053417314775288105,
0.008070659823715687,
-0.037314701825380325,
-0.01914120465517044,
0.015367154963314533,
0.03739212080836296,
-0.02754088304936886,
-0.039133988320827484,
-0.0027119931764900684,
-0.00552075682207942,
0.034585773944854736,
-0.0599202923476696,
0.026069970801472664,
0.007136824075132608,
-0.049004580825567245,
0.01935409940779209,
0.001947506214492023,
-0.037508245557546616,
-0.009498024359345436,
0.13176271319389343,
0.03406321629881859,
-0.04962391033768654,
0.006672325544059277,
0.005380439572036266,
-0.04668208584189415,
-0.00885933917015791,
-0.036637309938669205,
0.01780577190220356,
0.03363742306828499,
0.03137299418449402,
-0.01960570178925991,
0.01825091615319252,
-0.03330840542912483,
-0.01340271346271038,
0.03468254581093788,
0.04896587133407593,
0.0522947758436203,
-0.013867212459445,
-0.018473487347364426,
0.03088914230465889,
0.013518838211894035,
0.12084699422121048,
-0.022024964913725853,
0.06421690434217453,
-0.00951737817376852,
0.01960570178925991,
0.034856732934713364,
0.00817226804792881,
-0.041379064321517944,
0.035534124821424484,
0.01170923002064228,
0.07757122814655304,
-0.0006314275087788701,
-0.07021667063236237,
-0.014128492213785648,
0.025779660791158676,
0.03816628456115723,
-0.0004015975573565811,
-0.026050617918372154,
0.05817842110991478,
-0.023979729041457176,
0.06274598836898804,
-0.055546265095472336,
0.077493816614151,
-0.013799472711980343,
-0.02612803317606449,
0.042269352823495865,
-0.02187013253569603,
0.06878446787595749,
0.002811182988807559,
0.07350686937570572,
0.030289165675640106,
-0.015231676399707794,
0.005322377197444439,
-0.04199839383363724,
-0.00969640351831913,
-0.0005815302138216794,
0.033037446439266205,
-0.009710919111967087,
-0.01080926414579153,
-0.016712265089154243,
-0.0017043703701347113,
-0.02028309553861618,
0.0021531435195356607,
-0.040450066328048706,
0.008888370357453823,
0.02003149315714836,
-0.004260321147739887,
-0.015831653028726578,
-0.0020612115040421486,
-0.009464154951274395,
0.0015313931507989764,
0.08972560614347458,
0.01833800971508026,
0.020186325535178185,
-0.026321575045585632,
-0.01862831972539425,
0.018560580909252167,
-0.019237974658608437,
-0.03555348142981529,
0.041611313819885254,
0.10249930620193481,
-0.048772331327199936,
-0.017796093598008156,
-0.05140448734164238,
-0.011012482456862926,
-0.02798602730035782,
-0.025411931797862053,
0.006275566760450602,
0.059184834361076355,
0.0012930957600474358,
0.0030748825520277023,
-0.007054569199681282,
-0.01091571245342493,
0.044940218329429626,
0.008699667640030384,
0.005999770946800709,
-0.03834047168493271,
-0.04300480708479881,
0.03892109543085098,
0.006469107698649168,
-0.038650136440992355,
0.010267349891364574,
0.04393380507826805,
-0.016847742721438408,
-0.03963719680905342,
0.015183290466666222,
0.005525595508515835,
0.021483050659298897,
-0.037043746560811996,
0.030521415174007416,
-0.020863719284534454,
0.04246289283037186,
0.012376946397125721,
0.049507785588502884,
0.029650479555130005,
0.04644984006881714,
0.033501945436000824,
-0.0012834187364205718,
-0.00969640351831913,
0.05395922809839249,
-0.0025523218791931868,
0.012764028273522854,
-0.024444228038191795,
0.00907223392277956,
0.009265774860978127,
0.03313421830534935,
0.006720711011439562,
0.007983566261827946,
-0.01985730603337288,
-0.053068939596414566,
0.04641113057732582,
0.022644296288490295,
0.0018519454170018435,
-0.020166970789432526,
0.016838066279888153,
0.06781676411628723,
0.01916055753827095,
0.02276042103767395,
0.057597801089286804,
0.013673671521246433,
0.022915253415703773,
-0.020418575033545494,
-0.022024964913725853,
0.021773362532258034,
-0.006967475637793541,
-0.010470567271113396,
0.012851121835410595,
0.01769932359457016,
0.03946300968527794,
-0.05608817934989929,
-0.02746346779167652,
0.018657350912690163,
0.02206367254257202,
0.05004969984292984,
0.024250686168670654,
0.011999541893601418,
-0.006198150105774403,
-0.00991897564381361,
-0.02252817153930664,
0.035030920058488846,
-0.04238547757267952,
0.06204924359917641,
0.025837723165750504,
-0.060539621859788895,
-0.06201053410768509,
0.03950171545147896,
0.028237631544470787,
-0.01059636939316988,
0.02279912866652012,
-0.02887631580233574,
0.03692762181162834,
-0.004366768524050713,
-0.009052880108356476,
-0.04401122033596039,
0.005898161791265011,
0.01082861889153719,
-0.024753892794251442,
-0.015696175396442413,
0.028586003929376602,
0.001873718691058457,
-0.01229953020811081,
-0.005346569698303938,
-0.036424413323402405,
-0.021560465916991234,
-0.011196346022188663,
-0.044669259339571,
-0.030366580933332443,
0.005796552635729313,
0.03870819881558418,
0.020205680280923843,
-0.028218276798725128,
0.040450066328048706,
0.058255840092897415,
0.014341387897729874,
0.028915023431181908,
-0.04335318133234978,
0.02972789667546749,
0.05663009360432625,
-0.07137791812419891,
-0.03179878368973732,
0.009410930797457695,
0.0048433635383844376,
0.004763527773320675,
0.02030245028436184,
-0.06417819112539291,
-0.02386360429227352,
-0.05055290833115578,
0.02639899216592312,
0.003875658381730318,
-0.0006507816142402589,
-0.028934378176927567,
0.023070085793733597,
0.029224690049886703,
0.014796208590269089,
-0.02163788303732872,
-0.011854385957121849,
0.03263100981712341,
-0.005753005854785442,
0.023360397666692734,
-0.02792796492576599,
-0.010925388894975185,
0.06545556336641312,
0.03671472519636154,
0.05473339185118675,
0.012618872337043285,
-0.04579179733991623,
-0.07037150859832764,
0.0015882457373663783,
0.009057718329131603,
0.017321918159723282,
0.036172810941934586,
-0.03491479530930519,
0.08569995313882828,
-0.031682658940553665,
-0.015163936652243137,
0.0275215283036232,
0.028798900544643402,
-0.005327215883880854,
-0.026050617918372154,
-0.08686120063066483,
0.01680903509259224,
-0.0635201558470726,
0.004361930303275585,
0.06917154788970947,
0.040488775819540024,
0.035069629549980164,
-0.003270842833444476,
0.00957060232758522,
0.06154603511095047,
0.01803802140057087,
-0.004509505350142717,
0.01825091615319252,
0.013780118897557259,
0.013034985400736332,
0.026437699794769287,
-0.0114866578951478,
0.005423986352980137,
-0.0410693995654583,
-0.002966015599668026,
-0.05148190259933472,
-0.048772331327199936,
-0.006643294356763363,
-0.013460775837302208,
0.12866605818271637,
-0.0844612866640091,
-0.030018208548426628,
-0.006348144728690386,
0.05202382057905197,
0.04846266284584999,
-0.053107649087905884,
-0.011757615022361279,
-0.05326247960329056,
-0.08368712663650513,
0.010460890829563141,
0.01917991228401661,
-0.010664109140634537,
0.014399450272321701,
0.05639784410595894,
-0.0007983566028997302,
-0.012435008771717548,
-0.037043746560811996,
-0.025392578914761543,
-0.041804853826761246,
-0.0023769254330545664,
0.08995785564184189,
-0.0053417314775288105,
-0.048772331327199936,
-0.0028402141761034727,
0.003253907896578312,
0.02163788303732872,
0.030250458046793938,
0.10427988320589066,
-0.0035708313807845116,
0.01575423590838909,
0.02502484992146492,
-0.025547411292791367,
-0.061429910361766815,
0.03986944630742073,
-0.03719857707619667,
-0.04896587133407593,
0.040682315826416016,
-0.026689302176237106,
0.0647975280880928,
0.047417543828487396,
-0.006251374259591103,
-0.02723121829330921,
0.03561154380440712,
0.006294920574873686,
-0.002559579676017165,
-0.03700503706932068,
0.046565961092710495,
-0.04335318133234978,
-0.01641227677464485,
-0.023631354793906212,
-0.0019087980035692453,
-0.07130049914121628,
-0.008022273890674114,
-0.007262625731527805,
-0.0378953255712986,
-0.0014926849398761988,
-0.00778034795075655,
-0.04346930608153343,
0.01814446784555912,
0.009938330389559269,
-0.019383130595088005,
-0.07164887338876724,
0.022837836295366287,
-0.03876626119017601,
0.06293953210115433,
-0.04962391033768654,
0.0037909841630607843,
0.035282522439956665,
0.00710295420140028,
-0.01081894151866436,
0.021037906408309937,
0.034159984439611435,
0.05024324357509613,
-0.033889029175043106,
-0.02028309553861618,
0.0009592375718057156,
-0.0015096197603270411,
-0.01941216178238392,
-0.010973773896694183,
0.005249799229204655,
0.042966101318597794,
0.008927077986299992,
-0.016857421025633812,
0.0010614513885229826,
-0.02303137816488743,
-0.018212206661701202,
0.00654652388766408,
-0.009633502922952175,
-0.0586429201066494,
-0.014496220275759697,
0.026708656921982765,
-0.030773017555475235,
-0.02773442491889,
0.025508703663945198,
-0.017225148156285286,
-0.0207475945353508,
0.07521002739667892,
-0.02415391616523266,
0.01946054771542549,
0.011476980522274971,
0.074513278901577,
0.024850662797689438,
-0.008999655954539776,
0.0012066070921719074,
0.010683462955057621,
0.01734127290546894,
0.023108795285224915,
0.012241467833518982,
-0.01049959845840931,
0.04432088881731033,
0.00704489229246974,
-0.026476407423615456,
-0.004824009258300066,
0.07656481862068176,
-0.035708311945199966,
0.008341616950929165,
-0.01027702633291483,
-0.018405748531222343,
0.02208302728831768,
-0.0637136921286583,
0.00817226804792881,
0.007983566261827946,
0.024502290412783623,
-0.029244044795632362,
-0.021695945411920547,
0.029360167682170868,
-0.06460398435592651,
-0.09212551265954971,
-0.03714051470160484,
0.016334859654307365,
-0.05581722408533096,
0.043391890823841095,
-0.032998740673065186,
-0.01113828457891941,
0.019934723153710365,
0.00839484017342329,
0.05411406233906746,
0.00460385624319315,
-0.021695945411920547,
0.05337860435247421,
0.019634732976555824,
-0.04482409358024597,
0.0018241239013150334,
0.03857272118330002,
0.00402323342859745,
0.06704259663820267,
-0.018367040902376175,
0.042927391827106476,
-0.04165002331137657,
0.04331447556614876,
-0.02212173491716385,
-0.0048070745542645454,
0.01884121634066105,
0.03019239567220211,
0.00402323342859745,
0.0853128731250763,
-0.03884367644786835,
0.01837671734392643,
-0.009788335300981998,
0.0009779868414625525,
0.02525709941983223,
0.009802850894629955,
-0.018870247527956963,
0.04823041707277298,
-0.006043317727744579,
-0.04122423008084297,
-0.004100649617612362,
-0.06472010910511017,
0.028256984427571297,
0.010218963958323002,
0.040217816829681396,
0.028044089674949646,
-0.047920748591423035,
-0.03172136843204498,
-0.05790746584534645,
-0.02003149315714836,
-0.026689302176237106,
0.03404385969042778,
0.04188226908445358,
-0.008380324579775333,
0.007475520949810743,
-0.014254294335842133,
0.022431401535868645,
-0.016315504908561707,
-0.04122423008084297,
0.0120672807097435,
0.026689302176237106,
0.06305565685033798,
-0.025586118921637535,
0.04749495908617973,
-0.009522216394543648,
-0.028218276798725128,
-0.0031668145675212145,
0.03648247569799423,
0.0007814217824488878,
0.020360512658953667,
-0.022005610167980194,
0.0156671442091465,
0.007291656918823719,
0.029205335304141045
] |
725,597 | awpy.parser.demoparser | read_json | Reads the JSON file given a JSON path. Can be used to read in already processed demofiles.
Args:
json_path (string): Path to JSON file
Returns:
JSON in Python dictionary form
Raises:
FileNotFoundError: Raises a FileNotFoundError if the JSON path doesn't exist
| def read_json(self, json_path: str):
"""Reads the JSON file given a JSON path. Can be used to read in already processed demofiles.
Args:
json_path (string): Path to JSON file
Returns:
JSON in Python dictionary form
Raises:
FileNotFoundError: Raises a FileNotFoundError if the JSON path doesn't exist
"""
# Check if JSON exists
if not os.path.exists(json_path):
self.logger.error("JSON path does not exist!")
raise FileNotFoundError("JSON path does not exist!")
# Read in json to .json attribute
with open(json_path, encoding="utf8") as f:
demo_data: Game = json.load(f)
self.json = demo_data
self.logger.info(
"JSON data loaded, available in the `json` attribute to parser"
)
return demo_data
| (self, json_path: str) | [
0.012911306694149971,
-0.042398061603307724,
-0.0697375014424324,
0.01805572770535946,
0.02436061203479767,
0.022112783044576645,
0.013011819683015347,
0.09861204773187637,
0.05201072618365288,
0.017416100949048996,
0.028892818838357925,
0.025987088680267334,
-0.02710186503827572,
0.022185882553458214,
-0.026078464463353157,
-0.0011381915537640452,
0.05073147639632225,
0.05690843611955643,
-0.054276831448078156,
-0.042946312576532364,
-0.022551383823156357,
-0.0272297915071249,
0.011385342106223106,
0.06867755204439163,
-0.013761095702648163,
-0.0019485747907310724,
0.048867423087358475,
0.03305952623486519,
0.05668913573026657,
-0.02267930842936039,
-0.02808871679008007,
-0.037317607551813126,
-0.018823277205228806,
0.09232544153928757,
-0.04587031900882721,
0.01118431705981493,
-0.05036597698926926,
0.04627237096428871,
-0.1456885188817978,
0.006990198045969009,
-0.020230455324053764,
0.034174300730228424,
-0.0054231141693890095,
0.0022638191003352404,
0.003499667625874281,
0.006172390654683113,
-0.04141121357679367,
-0.0024945412296801805,
-0.026919115334749222,
-0.0374089814722538,
0.026261214166879654,
-0.03682418167591095,
-0.029861394315958023,
0.04729577153921127,
-0.02213105745613575,
-0.028783168643712997,
-0.021710732951760292,
0.03364432603120804,
-0.014327621087431908,
0.0029856825713068247,
-0.08611192554235458,
-0.0626467913389206,
0.026973940432071686,
-0.016831299290060997,
-0.023410309106111526,
0.003291789209470153,
-0.020029429346323013,
-0.0027823729906231165,
0.07463521510362625,
-0.03627593070268631,
-0.007926792837679386,
0.08720842748880386,
0.049379125237464905,
0.02922176942229271,
0.00032638057018630207,
0.018275028094649315,
-0.0752200111746788,
-0.017891252413392067,
-0.0074333674274384975,
-0.016082024201750755,
0.0037440962623804808,
-0.04323871433734894,
-0.008703481405973434,
-0.0073648360557854176,
-0.04755162075161934,
-0.023337209597229958,
0.07306355983018875,
-0.04824607074260712,
-0.012801656499505043,
0.023519959300756454,
0.008369962684810162,
0.04532206803560257,
-0.04356766492128372,
-0.033351924270391464,
0.005916540045291185,
-0.047807469964027405,
0.01873190328478813,
0.0024602755438536406,
0.012326505966484547,
0.05511748418211937,
-0.02041320502758026,
0.051096975803375244,
-0.015076897107064724,
0.02436061203479767,
-0.0020011155866086483,
-0.020303554832935333,
0.010864503681659698,
0.016155123710632324,
-0.012481844052672386,
0.0280156172811985,
-0.09612664580345154,
-0.04539516940712929,
0.0033763113897293806,
0.01145844254642725,
0.07342906296253204,
-0.03274884819984436,
0.01740696281194687,
0.01671251282095909,
0.023008259013295174,
-0.01740696281194687,
0.017443513497710228,
0.066594198346138,
0.022898608818650246,
0.05906488746404648,
0.05533678084611893,
-0.008867956697940826,
-0.033315375447273254,
-0.009155788458883762,
0.036367304623126984,
0.007410523481667042,
0.02949589490890503,
0.02024872973561287,
0.01900602877140045,
-0.0004999933298677206,
0.04641856998205185,
0.03284022584557533,
-0.010837091132998466,
0.011622916907072067,
0.0011421892559155822,
0.04689371958374977,
0.04378696531057358,
-0.02394028566777706,
0.010389353148639202,
-0.05530023202300072,
-0.01904257759451866,
-0.005742927547544241,
-0.0019896936137229204,
-0.02891109324991703,
-0.045833770185709,
0.0303548201918602,
0.0374089814722538,
0.016484074294567108,
0.003981671761721373,
-0.024378886446356773,
0.034411877393722534,
-0.054276831448078156,
-0.04762472212314606,
-0.0021587375085800886,
-0.019517729058861732,
0.019755303859710693,
0.0011576088145375252,
0.059284187853336334,
-0.004009084310382605,
0.017498338595032692,
-0.036531779915094376,
0.027686666697263718,
-0.01637442409992218,
-0.03675108030438423,
-0.023355484008789062,
0.0008315137238241732,
-0.005231226794421673,
0.02746736630797386,
-0.034996677190065384,
-0.006949079222977161,
0.0016116289189085364,
-0.014501234516501427,
0.0028120698407292366,
0.0315244235098362,
0.051096975803375244,
-0.016045473515987396,
-0.04002230986952782,
0.0015168272657319903,
-0.029897945001721382,
0.026736365631222725,
0.044591065496206284,
0.007689217571169138,
0.02377581037580967,
0.011339654214680195,
0.06761760264635086,
0.05117007717490196,
-0.05233967676758766,
0.03695210441946983,
-0.007835417985916138,
-0.04089951142668724,
0.0430925153195858,
-0.03216404840350151,
0.04524896666407585,
-0.036221105605363846,
-0.03669625520706177,
0.007986187003552914,
-0.05138937756419182,
-0.01887810230255127,
-0.013678858056664467,
-0.02510988712310791,
-0.05668913573026657,
0.016283050179481506,
-0.0019577122293412685,
0.019408078864216805,
-0.027723215520381927,
0.02205795794725418,
-0.04864812269806862,
-0.05062182620167732,
0.05910144001245499,
0.025548487901687622,
0.08823183178901672,
-0.06538804620504379,
-0.003942837007343769,
0.012682869099080563,
-0.01753488928079605,
0.012445293366909027,
0.024104760959744453,
0.03234679996967316,
-0.07244221121072769,
-0.02733944170176983,
-0.03709830716252327,
-0.015935823321342468,
-0.004168990533798933,
-0.004383722320199013,
-0.07609721273183823,
0.00873546302318573,
-0.0011113501386716962,
-0.02531091310083866,
0.023757535964250565,
-0.020979732275009155,
0.03415602445602417,
0.0006270618760026991,
0.007593273650854826,
-0.03340674936771393,
0.04298286512494087,
-0.04312906414270401,
0.05233967676758766,
-0.054313380271196365,
0.0007418518653139472,
-0.04250771179795265,
-0.016813024878501892,
-0.020303554832935333,
0.024159586057066917,
-0.013706270605325699,
-0.004861157387495041,
-0.007346561178565025,
0.09576114267110825,
0.05581193417310715,
0.012509256601333618,
0.05500783398747444,
-0.04714956879615784,
-0.060855839401483536,
0.02569468878209591,
-0.046710968017578125,
-0.016401836648583412,
-0.0033420457039028406,
-0.0008669216185808182,
-0.02384890988469124,
0.02476266212761402,
0.05127972736954689,
-0.04568756744265556,
-0.0022763831075280905,
0.04086296260356903,
-0.02021218091249466,
0.02542056329548359,
-0.05888213962316513,
0.04649166762828827,
0.0419229120016098,
0.05339962989091873,
-0.06056344136595726,
-0.015360160730779171,
0.0013215128565207124,
0.0012072939425706863,
-0.017863839864730835,
0.019992880523204803,
0.07609721273183823,
-0.014190558344125748,
-0.024196136742830276,
0.030665496364235878,
0.01157722994685173,
0.009868514724075794,
-0.03841410577297211,
0.0005022776895202696,
0.030665496364235878,
-0.04594342038035393,
-0.0021278983913362026,
0.11469407379627228,
0.004408850334584713,
-0.032182324677705765,
-0.0016207664739340544,
-0.03333364799618721,
-0.010435041040182114,
-0.08918213099241257,
-0.016264773905277252,
0.04875777289271355,
0.0014894147170707583,
0.018476052209734917,
-0.005331739317625761,
0.023081360384821892,
-0.016913536936044693,
-0.06710589677095413,
-0.024378886446356773,
-0.05665258318185806,
-0.04689371958374977,
-0.044956568628549576,
0.03154269605875015,
0.02213105745613575,
-0.052230026572942734,
0.055958133190870285,
0.06546115130186081,
-0.03693383187055588,
0.019261877983808517,
0.04042436182498932,
0.02969691902399063,
0.05676223337650299,
0.01387074589729309,
-0.015223097987473011,
0.05416718125343323,
-0.01075485348701477,
-0.010599515400826931,
0.07079745829105377,
-0.02342858538031578,
0.008232899941504002,
0.04327526316046715,
0.020632505416870117,
0.05716428533196449,
-0.0026955665089190006,
-0.033479850739240646,
2.587772485185269e-7,
0.006583578418940306,
0.03251127526164055,
0.02412303537130356,
-0.0053819953463971615,
-0.022386908531188965,
0.031981296837329865,
-0.005747496150434017,
0.039072006940841675,
-0.06334124505519867,
-0.028509043157100677,
-0.0374089814722538,
0.013020956888794899,
-0.00771663011983037,
0.10394835472106934,
-0.0077211991883814335,
0.02264275960624218,
-0.04082641005516052,
-0.009014157578349113,
0.034484975039958954,
0.03651350364089012,
-0.005400270689278841,
-0.07514691352844238,
-0.05657948553562164,
-0.019919779151678085,
-0.06849480420351028,
0.009923339821398258,
-0.02298998460173607,
-0.056469835340976715,
-0.003394586266949773,
-0.04824607074260712,
0.005391133017838001,
-0.03137822076678276,
-0.005797752644866705,
0.03474082797765732,
-0.04824607074260712,
0.01144016720354557,
0.0029514168854802847,
-0.02205795794725418,
0.016950087621808052,
-0.022039683535695076,
0.021491432562470436,
0.0063460031524300575,
-0.025365738198161125,
0.040168508887290955,
0.010736578144133091,
-0.011074666865170002,
0.0517183281481266,
-0.0021530266385525465,
0.04378696531057358,
-0.03528907895088196,
-0.0008977607358247042,
0.03925475850701332,
-0.04188636317849159,
-0.025475388392806053,
-0.026900840923190117,
-0.0399492084980011,
-0.034649450331926346,
0.0065378909930586815,
-0.01075485348701477,
0.0021119078155606985,
0.03556320443749428,
0.014729672111570835,
-0.025018513202667236,
0.007958774454891682,
0.05062182620167732,
0.004648710135370493,
0.08881663531064987,
-0.02189348265528679,
-0.019243603572249413,
0.0021381780970841646,
0.02079698070883751,
-0.01757143810391426,
0.040680211037397385,
0.04298286512494087,
0.038450658321380615,
-0.02001115493476391,
0.061440642923116684,
0.04923292249441147,
0.041191913187503815,
-0.04108226299285889,
0.019536003470420837,
-0.006240922026336193,
0.028234917670488358,
-0.020906630903482437,
-0.005473370663821697,
-0.004082184284925461,
0.06469359993934631,
0.006213509477674961,
0.05303413048386574,
-0.016155123710632324,
0.0022832362446933985,
0.0054916455410420895,
0.006789172533899546,
-0.005071320105344057,
0.026151563972234726,
-0.004947963636368513,
0.016255637630820274,
-0.006939941551536322,
-0.011065528728067875,
0.02503678761422634,
-0.08033701777458191,
0.0027206947561353445,
0.010060402564704418,
-0.033552948385477066,
-0.09100963920354843,
-0.029130393639206886,
0.01375195849686861,
0.02616983838379383,
0.05117007717490196,
0.02785114198923111,
0.03161579743027687,
-0.0025310912169516087,
-0.01048072800040245,
0.02216760814189911,
0.07138225436210632,
0.07317321002483368,
-0.043458014726638794,
-0.05690843611955643,
0.0517183281481266,
0.018338989466428757,
-0.06940855085849762,
0.004459106829017401,
-0.042836662381887436,
0.036531779915094376,
0.025201262906193733,
0.058735936880111694,
-0.0021324672270566225,
-0.004141577985137701,
-0.005656120833009481,
0.032767124474048615,
-0.0787288174033165,
-0.034064650535583496,
-0.009073550812900066,
0.003469970775768161,
0.02377581037580967,
-0.04747851938009262,
-0.011339654214680195,
0.05932074040174484,
0.021564532071352005,
-0.04254426434636116,
-0.0489770732820034,
0.020669056102633476,
0.004360878374427557,
0.030683770775794983,
-0.0014003239339217544,
0.025475388392806053,
0.021436607465147972,
0.01334077026695013,
-0.05957658961415291,
-0.02785114198923111,
0.0027823729906231165,
0.016246499493718147,
-0.024141311645507812,
-0.04956187307834625,
0.009640077129006386,
0.014172283932566643,
-0.05774908512830734,
0.019846679642796516,
0.011485855095088482,
-0.009530426934361458,
-0.015140860341489315,
-0.006748053710907698,
-0.03326055034995079,
0.040168508887290955,
0.03062894567847252,
0.028545591980218887,
0.003588758409023285,
-0.00955783948302269,
0.01819279044866562,
0.01805572770535946,
0.02452508732676506,
-0.04905017465353012,
0.014108320698142052,
0.006898822728544474,
-0.0022204157430678606,
-0.027558742091059685,
-0.0017795307794585824,
0.01396212074905634,
0.06685005128383636,
0.021948307752609253,
-0.05467888340353966,
0.055994682013988495,
0.0035430709831416607,
-0.011376204900443554,
0.06666729599237442,
-0.017772464081645012,
0.02001115493476391,
-0.012719418853521347,
-0.04963497444987297,
0.03227369859814644,
-0.0013866176595911384,
-0.04952532425522804,
-0.024707837030291557,
0.009311126545071602,
0.003972534090280533,
0.02216760814189911,
0.0358373299241066,
0.018010038882493973,
-0.01986495405435562,
-0.0011113501386716962,
0.042361512780189514,
0.0015328179579228163,
-0.017169388011097908,
0.07160155475139618,
-0.02977002039551735,
-0.04429866746068001,
0.03267575055360794,
0.021802106872200966,
-0.04470071569085121,
0.012472705915570259,
-0.04415246471762657,
0.00003976246080128476,
0.005473370663821697,
-0.016758199781179428,
-0.00981368962675333,
0.04689371958374977,
0.010170052759349346,
0.008045581169426441,
-0.05939383804798126,
-0.01455605961382389,
-0.020778706297278404,
0.056469835340976715,
-0.04481036588549614,
-0.02213105745613575,
-0.04141121357679367,
0.010160915553569794,
0.004440831486135721,
-0.003015379421412945,
0.02600536309182644,
-0.0979541465640068,
0.023099634796380997,
-0.0018560574389994144,
-0.0010925040114670992,
-0.04155741259455681,
0.11052736639976501,
-0.02503678761422634,
-0.016264773905277252,
0.061330992728471756,
0.06396259367465973,
0.053801681846380234,
-0.019810128957033157,
-0.02185693196952343,
0.026151563972234726,
0.0023414879105985165,
0.0229168850928545,
0.03737243264913559,
0.01955427974462509,
-0.008767444640398026,
-0.023373760282993317,
0.009603526443243027,
0.003769224276766181,
-0.07704751193523407,
-0.00010965016554109752,
0.017068875953555107,
0.01843036524951458,
0.04795367270708084,
-0.008698913268744946,
0.02107110619544983,
-0.00788110587745905,
0.010334528051316738,
-0.028253192082047462,
-0.0063871219754219055,
0.0681658536195755,
0.0358373299241066,
-0.06801965087652206,
0.019133953377604485,
-0.021418331190943718,
-0.07076090574264526,
0.010142640210688114,
-0.041155360639095306,
-0.029441069811582565,
-0.0027572447434067726,
0.02436061203479767,
0.007145535666495562,
0.012710281647741795,
-0.018540015444159508,
0.019024303182959557,
-0.0026316039729863405,
-0.04206911101937294,
-0.019371528178453445,
-0.022807234898209572,
0.03545355424284935,
0.022734133526682854,
0.0013386456994339824,
-0.05990554019808769,
0.019791854545474052,
-0.006240922026336193,
0.054386481642723083,
-0.00955783948302269,
0.022185882553458214,
0.018147101625800133,
-0.025128163397312164,
-0.07350216060876846,
0.0018766168504953384,
-0.01183308009058237,
-0.08523472398519516,
-0.0020742155611515045,
0.04323871433734894,
-0.05467888340353966,
0.03881615772843361,
-0.03231024742126465,
-0.00020459464576561004,
-0.023958560079336166,
-0.019060853868722916,
-0.016465799883008003,
0.02953244373202324,
0.0076800803653895855,
-0.021564532071352005,
-0.04305596277117729,
-0.07777851819992065,
0.007926792837679386,
-0.06703279912471771,
0.03675108030438423,
0.008433924987912178,
0.05087767541408539,
0.06553424894809723,
-0.01091019157320261,
-0.02264275960624218,
-0.0004168990708421916,
-0.05782218649983406,
0.03947405889630318,
0.03559975326061249,
-0.049963925033807755,
0.058589737862348557,
0.007250617258250713,
-0.005445958115160465,
0.006071877665817738,
-0.023136185482144356,
0.048319172114133835,
-0.0023529096506536007,
-0.010745716281235218,
0.02812526747584343,
-0.04320216551423073,
-0.0023917441722005606,
0.016365287825465202,
0.08874353021383286,
0.05003702640533447,
-0.01300268154591322,
0.02805216610431671,
0.044006265699863434,
-0.024854037910699844,
-0.0005705234943889081,
-0.0014757084427401423,
0.020833531394600868,
0.013094057328999043,
0.05394788086414337,
-0.018658803775906563,
-0.031981296837329865,
0.05628708377480507,
-0.022185882553458214,
0.008867956697940826,
-0.003782930551096797,
0.06297574192285538,
0.022587934508919716,
-0.013349907472729683,
0.023172734305262566,
0.0638529434800148,
-0.08026392012834549,
-0.006341434549540281,
-0.02710186503827572,
-0.0116503294557333,
-0.015743935480713844,
-0.09853895008563995,
0.019846679642796516,
0.02264275960624218,
-0.05303413048386574,
0.033900175243616104,
0.021253855898976326,
-0.030446195974946022,
0.046710968017578125,
-0.0015145428478717804,
-0.01515913475304842,
-0.017315588891506195,
-0.05899178981781006,
0.043348364531993866,
-0.01768108829855919,
-0.04952532425522804,
0.0016024914802983403,
0.0033717425540089607,
0.03556320443749428,
0.03415602445602417,
0.03665970638394356,
0.04627237096428871,
-0.03474082797765732,
0.009649214334785938,
0.0016710228519514203,
-0.01183308009058237,
-0.04875777289271355,
0.011522404849529266,
-0.045102767646312714,
0.0030268013942986727,
0.009594389237463474,
-0.030610671266913414,
-0.03284022584557533,
-0.05464233085513115,
0.012819931842386723,
-0.011686880141496658,
-0.045614469796419144,
-0.03404637426137924,
-0.026919115334749222,
-0.04254426434636116,
-0.02366616018116474,
-0.055921584367752075,
0.016209948807954788,
-0.01630132459104061,
0.040168508887290955,
0.024890586733818054,
-0.04378696531057358,
0.0076663740910589695,
-0.009375088848173618,
-0.006231784354895353,
0.004271787591278553,
-0.011275691911578178,
0.022807234898209572,
-0.014647434465587139,
-0.07741301506757736,
0.010572102852165699,
-0.0002604191249702126,
-0.0066612474620342255,
-0.0013420722680166364,
0.05745668709278107,
-0.028454218059778214,
0.03771965578198433,
-0.03983955830335617,
-0.025603312999010086,
0.03576422855257988,
-0.014245383441448212,
-0.03866995871067047,
-0.03728105500340462,
0.01566169783473015,
-0.023410309106111526,
0.05643328279256821,
0.021984858438372612,
-0.00983196496963501,
-0.0005511062918230891
] |
725,598 | awpy.parser.demoparser | remove_bad_scoring | Removes rounds where the scoring is bad.
We loop through the rounds:
If the round ahead has equal or less score, we do not add the current round.
If the round ahead has +1 score, we add the current round
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_bad_scoring(self) -> None:
"""Removes rounds where the scoring is bad.
We loop through the rounds:
If the round ahead has equal or less score, we do not add the current round.
If the round ahead has +1 score, we add the current round
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
cleaned_rounds = []
for i, r in enumerate(self.json["gameRounds"] or []):
current_round_total = (
r["tScore"] + r["endTScore"] + r["ctScore"] + r["endCTScore"]
)
if i < len(self.json["gameRounds"]) - 1: # type: ignore[arg-type]
# Non-OT rounds
lookahead_round = self.json["gameRounds"][i + 1] # type: ignore[index]
lookahead_round_total = (
lookahead_round["tScore"]
+ lookahead_round["endTScore"]
+ lookahead_round["ctScore"]
+ lookahead_round["endCTScore"]
)
if lookahead_round_total > current_round_total:
cleaned_rounds.append(r)
elif (r["endTScore"] == 16) & (r["endCTScore"] <= 14):
cleaned_rounds.append(r)
elif (r["endCTScore"] == 16) & (r["endTScore"] <= 14):
cleaned_rounds.append(r)
else:
# OT win scores are of the type:
# 15 + (4xN) with N a natural numbers (1, 2, 3, ...)
# So 19, 23, 27, ...
# So if you substract 15 from an OT winning round the number is divisible by 4
# OT_Scores = [19, 23, 27, 31, 35, 39, 43, 47]
if (
(r["endCTScore"] - 15) % 4 == 0
and r["endTScore"] < r["endCTScore"]
) or (
(r["endTScore"] - 15) % 4 == 0
and r["endCTScore"] < r["endTScore"]
):
cleaned_rounds.append(r)
# for s in OT_Scores:
# if (r["endCTScore"] == s) & (r["endTScore"] < s - 1):
# cleaned_rounds.append(r)
# elif (r["endTScore"] == s) & (r["endCTScore"] < s - 1):
# cleaned_rounds.append(r)
else:
lookback_round = self.json["gameRounds"][i - 1] # type: ignore[index]
lookback_round_total = (
lookback_round["tScore"]
+ lookback_round["endTScore"]
+ lookback_round["ctScore"]
+ lookback_round["endCTScore"]
)
if current_round_total > lookback_round_total:
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
-0.021374523639678955,
-0.007998015731573105,
-0.10302799195051193,
0.019780896604061127,
-0.025876520201563835,
-0.07490047067403793,
-0.06577695906162262,
0.07498015463352203,
0.07737059891223907,
-0.05737057700753212,
-0.0014317743480205536,
0.03288847953081131,
0.0006474110414274037,
-0.03808768838644028,
-0.027211183682084084,
0.0321713462471962,
0.03597613051533699,
0.042988091707229614,
0.03109564818441868,
-0.06745027005672455,
0.04147414490580559,
-0.019262967631220818,
-0.031035887077450752,
0.08589649945497513,
0.00011967765749432147,
0.00782869290560484,
0.06880485266447067,
0.006762954872101545,
-0.0049302838742733,
0.010099612176418304,
-0.027390465140342712,
-0.007016939576715231,
0.009297817945480347,
-0.005766937974840403,
-0.03203190490603447,
-0.03695222735404968,
-0.034840673208236694,
0.011314752511680126,
-0.08486064523458481,
-0.014701209962368011,
-0.020169343799352646,
0.013974118046462536,
-0.04633470997214317,
-0.008247020654380322,
-0.024362575262784958,
-0.0021289861761033535,
-0.009855587966740131,
0.09880488365888596,
0.03838649392127991,
-0.048685308545827866,
-0.0168924480676651,
-0.03756975755095482,
-0.03760959953069687,
0.09282878041267395,
-0.01774902269244194,
0.00011586478649405763,
-0.057729143649339676,
0.02310759387910366,
0.010308775119483471,
-0.05737057700753212,
-0.01873507909476757,
-0.0006928542861714959,
-0.00945220049470663,
0.029721146449446678,
0.040537890046834946,
-0.005099606700241566,
-0.027768952772021294,
-0.01018427312374115,
-0.010647420771420002,
-0.032988082617521286,
-0.013585670851171017,
0.05442236736416817,
0.05545822158455849,
0.020119542255997658,
-0.040537890046834946,
0.008994032628834248,
-0.007131481543183327,
-0.006782875396311283,
-0.0037151433061808348,
-0.029123535379767418,
0.07211162894964218,
0.03121517039835453,
0.036513980478048325,
0.002249753335490823,
-0.005747017916291952,
-0.00975100602954626,
0.08366542309522629,
0.015278900042176247,
-0.07617537677288055,
-0.0008036611834540963,
-0.015069736167788506,
0.009382479824125767,
-0.021414363756775856,
-0.06701201945543289,
0.008999013341963291,
0.019272927194833755,
-0.05737057700753212,
-0.04482076317071915,
-0.0507570244371891,
-0.07721123099327087,
0.018406393006443977,
0.06729090213775635,
-0.07163354009389877,
-0.0002432460169075057,
0.03683270514011383,
-0.004628988914191723,
-0.022011974826455116,
0.004551797639578581,
-0.004683769773691893,
0.05187256261706352,
-0.08749012649059296,
-0.0252988301217556,
-0.04490044340491295,
-0.029123535379767418,
0.04262952506542206,
-0.009631483815610409,
-0.04844626411795616,
0.01466136984527111,
0.013735073618590832,
-0.0029257996939122677,
0.053665392100811005,
-0.010328696109354496,
0.035657405853271484,
0.009282877668738365,
0.027151422575116158,
-0.024123530834913254,
0.00934761855751276,
0.04498012363910675,
0.0006860066787339747,
-0.015617545694112778,
0.0014666349161416292,
-0.005537854041904211,
0.007275903597474098,
-0.021892452612519264,
-0.012729096226394176,
0.017679300159215927,
-0.028067758306860924,
0.02615540474653244,
0.024920344352722168,
-0.052071765065193176,
0.051513995975255966,
-0.03697215020656586,
-0.003792334580793977,
-0.06661361455917358,
0.02294822968542576,
-0.019004004076123238,
-0.0676494687795639,
0.03095620684325695,
-0.011055788025259972,
0.0002337527257623151,
-0.0019061274360865355,
0.016693243756890297,
-0.0065239109098911285,
0.0042554824613034725,
0.0196812953799963,
-0.014511967077851295,
-0.006787855643779039,
-0.018496034666895866,
-0.033506009727716446,
-0.006942238193005323,
0.020388467237353325,
-0.01707172952592373,
0.07003991305828094,
-0.06247018277645111,
0.002928289817646146,
0.021494045853614807,
-0.006892437115311623,
0.006200205534696579,
-0.039083704352378845,
0.00945220049470663,
-0.011643437668681145,
0.01638447865843773,
-0.03511955589056015,
0.026255005970597267,
0.006922317668795586,
-0.012659375555813313,
-0.01736057549715042,
-0.004252992570400238,
-0.03768927976489067,
-0.011324713006615639,
-0.032011985778808594,
-0.031235091388225555,
-0.003483569249510765,
-0.02593628130853176,
-0.026314767077565193,
0.0016745534958317876,
0.05000004917383194,
-0.0337052121758461,
-0.04677295684814453,
0.0267928559333086,
-0.02764943055808544,
0.0006346495356410742,
-0.007166341878473759,
0.005921320524066687,
0.04649407044053078,
0.010617540217936039,
0.00952192209661007,
0.07318732142448425,
-0.0019509481498971581,
-0.04029884561896324,
-0.08223115652799606,
-0.010388456284999847,
0.031713180243968964,
-0.04338649660348892,
-0.041872553527355194,
-0.06812755763530731,
-0.0560956746339798,
-0.0035732106771320105,
0.016753004863858223,
-0.005836659111082554,
-0.03958171233534813,
-0.015019935555756092,
0.0392829068005085,
0.048605628311634064,
0.06258970499038696,
-0.010278894565999508,
0.0786454975605011,
0.007574708666652441,
-0.022051814943552017,
-0.0006866292096674442,
-0.05330682545900345,
-0.05693233013153076,
-0.05904388427734375,
-0.04537853226065636,
-0.004848112352192402,
0.04513948783278465,
0.005483073182404041,
0.06820724159479141,
0.04661359265446663,
-0.029422340914607048,
-0.0010862810304388404,
-0.03810760751366615,
0.02294822968542576,
-0.009277897886931896,
-0.04155382513999939,
-0.016484079882502556,
-0.004995024763047695,
-0.041872553527355194,
0.012041844427585602,
-0.028227120637893677,
0.02366536296904087,
-0.02619524486362934,
-0.02225101925432682,
0.03739047423005104,
-0.01508965715765953,
-0.015727108344435692,
0.024601617828011513,
-0.025139467790722847,
0.012559773400425911,
0.01774902269244194,
0.04944228008389473,
0.015438262373209,
0.039681315422058105,
-0.005498013459146023,
-0.024362575262784958,
-0.0700000673532486,
-0.06888452917337418,
0.003891936270520091,
0.026992058381438255,
-0.007883474230766296,
0.04091637581586838,
-0.015796829015016556,
0.006364548113197088,
0.012380491010844707,
-0.03687254711985588,
0.021115560084581375,
0.03159365803003311,
-0.00005116258762427606,
0.010836664587259293,
-0.00578685849905014,
-0.0050771962851285934,
-0.09434272348880768,
-0.0020891455933451653,
0.001919822650961578,
-0.027629509568214417,
0.07302796095609665,
0.010099612176418304,
0.04338649660348892,
0.005622515454888344,
0.011932282708585262,
0.056533921509981155,
0.003949207253754139,
0.03609565272927284,
-0.022091655060648918,
0.041952233761548996,
-0.005612555425614119,
0.005642435979098082,
-0.04613550379872322,
0.008954192511737347,
-0.012589653953909874,
0.017460176721215248,
-0.033386487513780594,
0.028286881744861603,
0.029521942138671875,
0.047569770365953445,
0.010776903480291367,
-0.024920344352722168,
-0.035996053367853165,
0.033127523958683014,
-0.01804782636463642,
0.024920344352722168,
0.0006281131645664573,
0.09330686926841736,
-0.043665383011102676,
-0.0225099828094244,
0.01894424296915531,
-0.013446228578686714,
-0.02272910624742508,
0.017559777945280075,
-0.01181276049464941,
0.0070966207422316074,
-0.027151422575116158,
0.08382478356361389,
-0.07139449566602707,
0.021972134709358215,
0.020169343799352646,
0.04326697438955307,
-0.028147438541054726,
0.0010862810304388404,
0.007808772847056389,
-0.016902407631278038,
-0.03163349628448486,
0.03649406135082245,
0.0023331698030233383,
0.06828691810369492,
-0.1184064969420433,
-0.020169343799352646,
-0.002426546299830079,
-0.019741056486964226,
-0.009746026247739792,
-0.009935269132256508,
-0.06310763210058212,
-0.010517938993871212,
-0.00868028774857521,
0.04772913083434105,
-0.003453688696026802,
-0.004467135760933161,
-0.030000030994415283,
0.017430296167731285,
0.0019335178658366203,
0.0006760464748367667,
-0.023944247514009476,
0.0647411048412323,
0.028665367513895035,
0.03894426301121712,
0.010986067354679108,
0.04069725051522255,
0.01800798624753952,
-0.0010333675891160965,
0.026513971388339996,
0.0016670833574607968,
0.011015946976840496,
0.04033868759870529,
0.057012010365724564,
-0.002582174027338624,
-0.008052797056734562,
0.03169325739145279,
-0.08326701819896698,
0.05673312395811081,
-0.052629534155130386,
-0.029920348897576332,
-0.010308775119483471,
-0.0007613304769620299,
0.06848612427711487,
0.0065836720168590546,
-0.012659375555813313,
0.010986067354679108,
-0.07171321660280228,
-0.03151397779583931,
-0.01791834458708763,
-0.04374506324529648,
-0.04342633858323097,
0.014223122037947178,
-0.033167365938425064,
0.02217133715748787,
0.03139445558190346,
0.055936310440301895,
0.03631477802991867,
0.0060906438156962395,
0.0041359602473676205,
0.048127539455890656,
0.03874506056308746,
-0.0644223764538765,
0.02191237360239029,
0.02105579897761345,
-0.010328696109354496,
-0.026095643639564514,
-0.04729088395833969,
0.01890440098941326,
-0.02370520308613777,
-0.009267937391996384,
0.00975100602954626,
0.061633527278900146,
0.011225110851228237,
-0.060438308864831924,
0.033984098583459854,
0.004798311740159988,
-0.015976112335920334,
-0.022788867354393005,
0.016613563522696495,
0.0009138455498032272,
-0.03478091210126877,
0.04021916538476944,
-0.017101610079407692,
-0.03330680727958679,
0.016065753996372223,
0.006065743044018745,
0.027888474985957146,
-0.028665367513895035,
0.014760971069335938,
-0.07406382262706757,
0.008904391899704933,
0.022410381585359573,
-0.0041832709684967995,
-0.03446218743920326,
0.01933268830180168,
0.017808783799409866,
0.07302796095609665,
-0.022908389568328857,
0.01955181173980236,
0.020956195890903473,
-0.021932292729616165,
0.014073719270527363,
0.042430322617292404,
-0.014173321425914764,
-0.03374505415558815,
0.011195230297744274,
-0.032011985778808594,
-0.06274906545877457,
0.023486079648137093,
0.003354087006300688,
-0.04597614333033562,
-0.03705183044075966,
-0.07505983859300613,
0.014272922649979591,
0.01908368431031704,
-0.045298852026462555,
-0.05338650941848755,
-0.007923314347863197,
0.05123511329293251,
0.03113549016416073,
0.04908371344208717,
0.06956182420253754,
0.02083667367696762,
0.07358573377132416,
0.0024701219517737627,
-0.008187259547412395,
0.013007981702685356,
-0.020229104906320572,
0.0023705202620476484,
-0.04270920529961586,
0.006628492847084999,
0.0012885968899354339,
0.01698208972811699,
-0.013735073618590832,
-0.022749027237296104,
-0.034243062138557434,
0.05605583265423775,
-0.007355585228651762,
0.010104591958224773,
0.00595120107755065,
0.049761004745960236,
0.006922317668795586,
0.03705183044075966,
-0.06454189866781235,
0.024163370952010155,
0.0008634221740067005,
-0.032828718423843384,
-0.048087697476148605,
0.05179288238286972,
0.007594629190862179,
-0.04334665834903717,
0.027031900361180305,
-0.018157389014959335,
0.01224104780703783,
0.040498048067092896,
0.01612551510334015,
-0.04605582356452942,
0.02537851221859455,
0.06131480261683464,
0.028107598423957825,
-0.02496018446981907,
-0.02663349360227585,
-0.029482102021574974,
0.003142433473840356,
0.018117548897862434,
-0.07633473724126816,
-0.026215165853500366,
0.03958171233534813,
-0.04952196404337883,
-0.03916338458657265,
-0.04653391242027283,
0.0027415365912020206,
0.039641473442316055,
-0.052549853920936584,
0.004937754012644291,
0.026255005970597267,
0.030498038977384567,
0.007714151404798031,
-0.021753009408712387,
0.012121526524424553,
0.05960165336728096,
-0.03221118822693825,
-0.020856594666838646,
0.03113549016416073,
-0.02611556462943554,
-0.014980094507336617,
0.03193230181932449,
-0.02868528850376606,
-0.025537874549627304,
-0.04605582356452942,
0.0010713407536968589,
0.08685267716646194,
-0.011284871958196163,
0.0016471630660817027,
-0.03159365803003311,
-0.0038944261614233255,
0.008311761543154716,
-0.001057022949680686,
-0.02139444462954998,
0.0060308827087283134,
-0.04394426941871643,
0.023187274113297462,
0.01114542968571186,
0.006444229744374752,
0.04685263708233833,
0.011494035832583904,
0.033506009727716446,
0.01382471527904272,
-0.05000004917383194,
0.015318740159273148,
0.028824729844927788,
-0.0036603622138500214,
-0.022888468578457832,
0.020099621266126633,
0.03627493605017662,
0.030000030994415283,
-0.06928294152021408,
0.04155382513999939,
0.07458174973726273,
0.024561777710914612,
-0.015607585199177265,
0.04069725051522255,
-0.024721140041947365,
-0.03854585438966751,
0.07059767842292786,
-0.028227120637893677,
0.0350000336766243,
-0.05577694997191429,
-0.008540845476090908,
0.016414359211921692,
0.041912391781806946,
0.0703984797000885,
-0.012360570020973682,
0.08940248191356659,
-0.01026893500238657,
-0.0020356096792966127,
0.010956186801195145,
0.07788852602243423,
-0.005826699081808329,
0.008819730021059513,
0.00578685849905014,
-0.03902394324541092,
-0.049681324511766434,
-0.053107623010873795,
0.019004004076123238,
-0.024123530834913254,
0.04932275786995888,
-0.03764944151043892,
0.04733072593808174,
0.03404385969042778,
0.025996042415499687,
0.019661374390125275,
-0.05474109202623367,
-0.022071735933423042,
-0.021474124863743782,
-0.05498013645410538,
-0.0029432300943881273,
-0.03382473438978195,
-0.0105079784989357,
0.032609593123197556,
-0.013476109132170677,
0.0253386702388525,
-0.06677297502756119,
0.02143428474664688,
-0.00438496470451355,
-0.007659370079636574,
0.034063778817653656,
0.05589647218585014,
0.030796844512224197,
0.007519927807152271,
0.07717139273881912,
0.04374506324529648,
-0.045776937156915665,
-0.007928295060992241,
0.07617537677288055,
0.004539347253739834,
-0.0028486084192991257,
-0.03494027256965637,
0.031235091388225555,
-0.01181276049464941,
0.019830698147416115,
-0.02440241537988186,
0.021753009408712387,
0.03926298767328262,
0.010069731622934341,
-0.040458209812641144,
-0.005981081631034613,
-0.0006374508375301957,
0.009960168972611427,
0.03687254711985588,
0.05187256261706352,
0.023784885182976723,
-0.025139467790722847,
0.046932317316532135,
0.004469626117497683,
0.021274922415614128,
0.02362552098929882,
0.01783866435289383,
-0.034701231867074966,
0.021673329174518585,
0.012739056721329689,
-0.03258967399597168,
0.03163349628448486,
-0.014422325417399406,
-0.029004013165831566,
0.0015923820901662111,
-0.010547819547355175,
-0.06936261802911758,
-0.08525905013084412,
0.0029631503857672215,
-0.09745030105113983,
0.03884465992450714,
-0.050876546651124954,
-0.11059772223234177,
0.04629486799240112,
0.04597614333033562,
-0.0406574122607708,
-0.03868529945611954,
0.021852612495422363,
0.03778888285160065,
-0.021075718104839325,
0.0175398588180542,
0.04681279510259628,
-0.03284863755106926,
-0.01711157150566578,
-0.03332672640681267,
0.03842633217573166,
0.0394422709941864,
0.02764943055808544,
-0.03464147076010704,
0.046972159296274185,
-0.024243053048849106,
-0.036553822457790375,
-0.019830698147416115,
0.022888468578457832,
0.04884467273950577,
-0.015896430239081383,
0.011464155279099941,
-0.03139445558190346,
-0.057091690599918365,
0.01707172952592373,
-0.02496018446981907,
0.009442240931093693,
0.01779882237315178,
-0.003891936270520091,
0.02764943055808544,
0.018884481862187386,
0.05685264617204666,
0.02794823609292507,
-0.03095620684325695,
0.00411604018881917,
0.015936270356178284,
0.02410360984504223,
-0.033087681978940964,
0.038525935262441635,
-0.018366552889347076,
0.08183275163173676,
0.011693239212036133,
-0.06864548474550247,
-0.022529903799295425,
0.06629488617181778,
-0.0648207813501358,
-0.015169338323175907,
0.012998021207749844,
0.07398413866758347,
-0.03013947233557701,
0.03245023265480995,
-0.026992058381438255,
0.003192234318703413,
-0.033804815262556076,
-0.02709166146814823,
-0.024980105459690094,
0.041912391781806946,
-0.024243053048849106,
-0.05402395874261856,
-0.03850601613521576,
0.06402397155761719,
-0.006942238193005323,
0.014213161543011665,
0.03191238269209862,
-0.012888459488749504,
0.004848112352192402,
0.007036859635263681,
0.013446228578686714,
0.00009975732245948166,
-0.041274942457675934,
-0.004452195949852467,
0.01564742624759674,
-0.024043848738074303,
-0.023266956210136414,
0.030537879094481468,
-0.015557784587144852,
0.017549818381667137,
-0.03900402411818504,
0.028824729844927788,
0.042948249727487564,
-0.003115043044090271,
-0.031015967950224876,
-0.026294847950339317,
-0.03065740130841732,
0.04729088395833969,
0.035657405853271484,
0.03854585438966751,
0.022569743916392326,
0.021633487194776535,
0.05968133360147476,
-0.05235065147280693,
-0.016095634549856186,
0.005224108695983887,
-0.011494035832583904,
0.010278894565999508,
0.01877491921186447,
-0.04115542024374008,
0.013286866247653961,
-0.021513966843485832,
0.0619124136865139,
-0.01488049328327179,
0.05960165336728096,
0.007350604981184006,
-0.013366547413170338,
-0.04633470997214317,
-0.01177292037755251,
-0.041872553527355194,
-0.05362555384635925,
0.014063759706914425,
0.03288847953081131,
-0.008102597668766975,
-0.017081690952181816,
0.015617545694112778,
0.06896421313285828,
-0.0012344385031610727,
0.04613550379872322,
0.020996037870645523,
0.02496018446981907,
0.11059772223234177,
-0.046932317316532135,
-0.006040842738002539,
0.025199228897690773,
0.01039841677993536,
0.019272927194833755,
0.009636463597416878,
-0.006230086088180542,
0.04880483075976372,
0.04119526222348213,
0.016822725534439087,
-0.023764964193105698,
0.004838152322918177
] |
725,599 | awpy.parser.demoparser | remove_end_round | Removes rounds with bad end reason.
Args:
bad_endings (list, optional): List of bad round end reasons. Defaults to ["Draw", "Unknown", ""].
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_end_round(self, bad_endings: Optional[list[str]] = None) -> None:
"""Removes rounds with bad end reason.
Args:
bad_endings (list, optional): List of bad round end reasons. Defaults to ["Draw", "Unknown", ""].
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if bad_endings is None:
bad_endings = ["Draw", "Unknown", ""]
if self.json:
cleaned_rounds = []
for r in self.json["gameRounds"] or []:
if r["roundEndReason"] not in bad_endings:
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self, bad_endings: Optional[list[str]] = None) -> NoneType | [
-0.03413407877087593,
0.015286440961062908,
-0.049037691205739975,
-0.005283927079290152,
-0.07692186534404755,
-0.05331112816929817,
-0.029735999181866646,
0.10726327449083328,
0.13810324668884277,
-0.0668792873620987,
-0.015553530305624008,
0.019052406772971153,
-0.01867848075926304,
-0.021189125254750252,
-0.0017883889377117157,
0.020494692027568817,
0.009891225956380367,
0.030038701370358467,
0.02670898102223873,
-0.08732056617736816,
-0.000022518313926411793,
-0.02352171018719673,
-0.04569016396999359,
0.0932321548461914,
0.0016826658975332975,
0.023254619911313057,
0.055946413427591324,
-0.013042885810136795,
0.013452423736453056,
-0.00851571373641491,
0.02978941798210144,
-0.012722378596663475,
0.0005798074998892844,
0.010621272027492523,
0.03140976279973984,
0.011832078918814659,
-0.004220019094645977,
0.02428736723959446,
-0.06730663776397705,
0.0159007478505373,
-0.005208251532167196,
0.023183396086096764,
0.02320120297372341,
0.03203297406435013,
0.0151083804666996,
0.006294416729360819,
0.029771611094474792,
0.07884491235017776,
0.027617087587714195,
0.031445372849702835,
-0.017093747854232788,
0.015170701779425144,
-0.02884569950401783,
0.04921574890613556,
-0.008026049472391605,
0.012784698978066444,
-0.07172252237796783,
0.0137818343937397,
0.02373538166284561,
-0.029112789779901505,
-0.03210419788956642,
-0.02936207316815853,
-0.010487726889550686,
-0.045334044843912125,
0.05818996950984001,
0.04814739152789116,
-0.0029402137733995914,
-0.018589451909065247,
-0.007482966408133507,
0.0063611892983317375,
-0.0054308264516294,
0.0487884059548378,
-0.0009899016004055738,
0.040134698152542114,
-0.03543391451239586,
0.002806668868288398,
-0.013301072642207146,
0.03657349944114685,
-0.006806338671594858,
-0.021349379792809486,
0.04643801599740982,
0.08817525207996368,
0.013924282975494862,
-0.013879767619073391,
-0.0111287422478199,
-0.019800258800387383,
0.008684870786964893,
0.03593248501420021,
-0.07485637068748474,
-0.09088176488876343,
0.016978008672595024,
-0.024038083851337433,
-0.02362854592502117,
-0.07175812870264053,
0.020067349076271057,
0.02544475719332695,
-0.04821861535310745,
-0.01962219923734665,
-0.05217154324054718,
-0.10035454481840134,
0.019568780437111855,
-0.032941076904535294,
-0.02353951521217823,
-0.016532860696315765,
0.05270572379231453,
-0.018838735297322273,
0.01490361150354147,
-0.0667724534869194,
-0.05427265167236328,
0.0700131431221962,
-0.0066950516775250435,
-0.06264146417379379,
-0.020209796726703644,
-0.042128968983888626,
0.047114644199609756,
0.04971431940793991,
-0.0238600242882967,
-0.032602764666080475,
0.038425322622060776,
-0.015660366043448448,
0.02373538166284561,
-0.058902207762002945,
-0.0031316280364990234,
0.011885496787726879,
0.04519159719347954,
-0.03527366369962692,
-0.0551273375749588,
0.015482306480407715,
0.0455833300948143,
-0.03757063299417496,
0.009365949779748917,
-0.007496321108192205,
-0.02567623369395733,
-0.035772230476140976,
-0.04305487871170044,
0.05480683222413063,
-0.02143840864300728,
-0.012927147559821606,
0.07507004588842392,
-0.004173278342932463,
0.05448632314801216,
-0.005924942437559366,
-0.0010327473282814026,
-0.014752261340618134,
-0.0019475299632176757,
0.020512498915195465,
-0.05081829056143761,
0.031659048050642014,
0.0159185528755188,
0.03878144174814224,
-0.0466516874730587,
0.025800876319408417,
0.03507779538631439,
0.015117283910512924,
0.027225354686379433,
-0.041737236082553864,
-0.01452968642115593,
0.0413811169564724,
-0.05861731246113777,
0.03265618160367012,
0.019568780437111855,
-0.04508475959300995,
0.035576362162828445,
-0.03192613646388054,
0.018411392346024513,
0.03660910949110985,
0.013042885810136795,
-0.005938297137618065,
0.03326158598065376,
0.00742064556106925,
-0.01876751147210598,
-0.00689091719686985,
-0.034418974071741104,
0.015695977956056595,
0.03796236589550972,
-0.0008674854761920869,
0.00612080842256546,
-0.0070244623348116875,
-0.017209487035870552,
-0.011475958861410618,
-0.016319187358021736,
-0.002519547240808606,
0.016871172934770584,
-0.018028562888503075,
0.002880118554458022,
0.025106443092226982,
-0.02882789447903633,
-0.03956490382552147,
-0.05555468052625656,
-0.025177666917443275,
-0.002365970751270652,
0.053061842918395996,
-0.016078807413578033,
0.05598202720284462,
0.0057824947871267796,
-0.014093439094722271,
0.02216845564544201,
0.09430050849914551,
0.004950064700096846,
-0.06018424034118652,
-0.05897343158721924,
-0.013950991444289684,
0.002029882511124015,
-0.02056591585278511,
0.009766584262251854,
-0.030929001048207283,
-0.06506308168172836,
-0.038425322622060776,
0.026744592934846878,
-0.0034499100875109434,
-0.03838970884680748,
0.01801965944468975,
0.01076371967792511,
0.005742431152611971,
0.05644498020410538,
0.022239679470658302,
0.015598045662045479,
0.012410773895680904,
-0.059222716838121414,
-0.011645115911960602,
-0.08810402452945709,
-0.06492063403129578,
0.019319497048854828,
-0.05537662282586098,
-0.028542999178171158,
0.019052406772971153,
0.022399932146072388,
0.05217154324054718,
0.024768128991127014,
0.004055313766002655,
-0.04579700157046318,
-0.04640240594744682,
0.010950682684779167,
-0.01320314034819603,
-0.006646085064858198,
0.012499803677201271,
-0.019266078248620033,
-0.040134698152542114,
0.038638994097709656,
0.029629163444042206,
-0.0015235248720273376,
-0.07033365219831467,
-0.06912284344434738,
-0.008101724088191986,
0.012152587063610554,
0.02405588887631893,
0.011832078918814659,
-0.0008023823029361665,
0.032300062477588654,
-0.002824474824592471,
0.01825113780796528,
0.08083918690681458,
0.059009045362472534,
0.0062766107730567455,
0.00448265764862299,
-0.020975453779101372,
-0.07535494118928909,
-0.033760152757167816,
0.03910195082426071,
-0.035149019211530685,
0.07364556938409805,
0.003819384379312396,
-0.009606330655515194,
0.016230158507823944,
-0.004113183356821537,
0.050853900611400604,
-0.00257296534255147,
0.012170393019914627,
0.008689322508871555,
-0.011484862305223942,
0.02238212712109089,
-0.12457069009542465,
0.017538897693157196,
-0.015464500524103642,
0.03689400851726532,
0.11623749136924744,
0.016354799270629883,
0.02882789447903633,
-0.00020935946668032557,
0.00308711314573884,
0.05234960466623306,
0.013692804612219334,
0.08197876811027527,
0.04868157207965851,
0.03538049757480621,
-0.020530303940176964,
-0.019568780437111855,
-0.009793293662369251,
0.0022557959891855717,
-0.0017327452078461647,
0.03454361483454704,
-0.03764185681939125,
-0.002023205393925309,
0.0413455031812191,
0.02184794656932354,
0.004117634613066912,
0.02332584373652935,
-0.06442206352949142,
-0.0016882302006706595,
-0.02841835655272007,
0.009294725954532623,
0.011413638480007648,
0.05014166235923767,
0.0007228118483908474,
-0.03920878469944,
-0.021402796730399132,
0.024732517078518867,
-0.051281243562698364,
0.03554075211286545,
-0.04106060788035393,
0.002771056955680251,
-0.050106048583984375,
0.036306411027908325,
-0.04091816022992134,
0.017369741573929787,
0.03422310948371887,
-0.0019330625655129552,
-0.02184794656932354,
0.000024535398551961407,
-0.02289850078523159,
-0.008039403706789017,
-0.03340403363108635,
0.044479358941316605,
0.0167109202593565,
0.05915149301290512,
-0.011894400231540203,
-0.038104813545942307,
0.05843925103545189,
-0.029878446832299232,
0.013283266685903072,
-0.014654328115284443,
-0.08895871788263321,
-0.0033564288169145584,
-0.000302423577522859,
0.056765489280223846,
-0.037250127643346786,
0.01605209894478321,
-0.019444139674305916,
0.040562041103839874,
-0.008493456058204174,
0.012615542858839035,
0.0006193144945427775,
0.05124563351273537,
0.027296580374240875,
0.05099634826183319,
0.05024849623441696,
0.010852749459445477,
-0.03222883865237236,
0.018108690157532692,
0.05705038458108902,
-0.024358591064810753,
0.027385609224438667,
0.04380273073911667,
0.01750328578054905,
0.009775487706065178,
-0.0006404591258615255,
-0.0073583247140049934,
0.015954164788126945,
0.013354490511119366,
-0.026210414245724678,
-0.013283266685903072,
-0.0005049667088314891,
0.006922077853232622,
0.03530927374958992,
0.013861961662769318,
0.03242470324039459,
0.00495451595634222,
-0.07044048607349396,
-0.05811874568462372,
0.03278082236647606,
-0.017627928406000137,
-0.04682974889874458,
0.006151968613266945,
0.00020935946668032557,
0.05491366609930992,
0.04408762603998184,
0.03374234586954117,
0.016773240640759468,
0.051993485540151596,
0.03137414902448654,
-0.03838970884680748,
-0.022026006132364273,
-0.060718417167663574,
0.03222883865237236,
0.004629557020962238,
0.0035389401018619537,
-0.02574745938181877,
-0.03838970884680748,
-0.024518845602869987,
-0.04942942410707474,
-0.01076371967792511,
-0.037677470594644547,
0.09173645079135895,
0.02681581862270832,
-0.08411549031734467,
-0.03194394335150719,
-0.02978941798210144,
-0.019123630598187447,
-0.004883292131125927,
0.0015591367846354842,
-0.02184794656932354,
-0.0108616529032588,
0.005524307955056429,
0.00604068161919713,
-0.0007773426477797329,
-0.013158624991774559,
-0.007932567968964577,
0.05747772753238678,
-0.0017472126055508852,
-0.029753806069493294,
-0.02809784933924675,
-0.03454361483454704,
0.007652123458683491,
0.012170393019914627,
0.002042124280706048,
0.06809009611606598,
0.023984665051102638,
-0.007652123458683491,
0.024518845602869987,
-0.012027944438159466,
-0.007282649166882038,
-0.004504914861172438,
0.04853912442922592,
0.05238521471619606,
-0.028703251853585243,
-0.01574939675629139,
0.029112789779901505,
-0.054237037897109985,
-0.043019264936447144,
-0.003227335400879383,
-0.01489470899105072,
-0.010888361372053623,
-0.054237037897109985,
-0.02131376788020134,
0.027118518948554993,
-0.017921727150678635,
-0.021758917719125748,
-0.06139504536986351,
-0.030590686947107315,
0.00959742721170187,
-0.05598202720284462,
0.026993878185749054,
0.00008061382686719298,
0.056979160755872726,
0.016043195500969887,
-0.0498211532831192,
-0.014467365108430386,
-0.013158624991774559,
0.04017030820250511,
0.006850854028016329,
-0.043945178389549255,
-0.04227141663432121,
0.013131916522979736,
-0.04811177775263786,
0.01679994910955429,
-0.024144919589161873,
-0.002597448416054249,
0.027723923325538635,
-0.028080042451620102,
0.021883558481931686,
0.011769757606089115,
0.03792675584554672,
-0.046473629772663116,
0.022417739033699036,
-0.04102499783039093,
0.029415491968393326,
-0.015455597080290318,
-0.04494231194257736,
-0.04369589313864708,
0.07656574994325638,
0.0035478430800139904,
-0.04939381033182144,
0.04423007369041443,
-0.019355108961462975,
0.01340790931135416,
0.031231703236699104,
0.024233950302004814,
-0.0025929969269782305,
0.015233023092150688,
0.038532156497240067,
0.02279166504740715,
-0.001130123739130795,
-0.06524114310741425,
0.022097231820225716,
0.007060074247419834,
-0.005141478963196278,
-0.037036456167697906,
-0.012936050072312355,
0.01509947795420885,
-0.04697219654917717,
0.02683362364768982,
-0.06919407099485397,
-0.004082022700458765,
0.0037615150213241577,
0.0061119054444134235,
0.02195478230714798,
0.036199573427438736,
-0.006922077853232622,
0.020939841866493225,
-0.03244251012802124,
0.02758147567510605,
-0.04398078843951225,
0.017307419329881668,
-0.02460787445306778,
0.027937594801187515,
-0.09529764950275421,
-0.05345357581973076,
0.046081896871328354,
-0.016880076378583908,
0.0001009933403111063,
0.007549738977104425,
0.06983508169651031,
0.08183632045984268,
-0.015509015880525112,
0.004883292131125927,
0.01834016665816307,
0.03326158598065376,
0.0011156564578413963,
0.014405043795704842,
0.016506150364875793,
-0.01785050332546234,
-0.005938297137618065,
0.023770993575453758,
0.03244251012802124,
0.005257218144834042,
0.037250127643346786,
0.0020065123680979013,
0.02660214528441429,
-0.0008691547554917634,
-0.03871021792292595,
0.0095351068302989,
0.05786946043372154,
0.0032295610290020704,
0.010790429078042507,
-0.024946188554167747,
-0.0010906168026849627,
0.04180845990777016,
-0.05580396577715874,
0.051601752638816833,
0.03742818534374237,
0.018589451909065247,
-0.020494692027568817,
0.05345357581973076,
0.024768128991127014,
-0.0700487568974495,
0.062178511172533035,
0.022239679470658302,
0.008787254802882671,
0.0010516662150621414,
-0.010879458859562874,
0.0008780577918514609,
0.028899118304252625,
0.048396676778793335,
-0.024572262540459633,
0.030804358422756195,
-0.06484940648078918,
0.011858788318932056,
0.05416581407189369,
-0.005929394159466028,
0.00040731197805143893,
-0.019889287650585175,
0.023877829313278198,
0.043838340789079666,
-0.021972589194774628,
-0.009570718742907047,
0.020298825576901436,
-0.058047521859407425,
0.019996125251054764,
-0.02790198288857937,
0.02989625371992588,
-0.03739257529377937,
-0.004244502168148756,
-0.005924942437559366,
-0.05256327614188194,
-0.009454979561269283,
-0.011475958861410618,
-0.006013972219079733,
0.015295343473553658,
-0.031659048050642014,
-0.05505611374974251,
0.0006309996824711561,
-0.026156995445489883,
-0.015357664786279202,
-0.07642330229282379,
-0.011217772029340267,
0.0037770951166749,
-0.019853675737977028,
0.03043043240904808,
0.022524574771523476,
0.033671122044324875,
0.05534100905060768,
0.06111015006899834,
0.05705038458108902,
-0.05925832688808441,
0.01684446446597576,
0.04857473447918892,
0.01346132718026638,
-0.0066950516775250435,
-0.07492759823799133,
0.047541987150907516,
0.017814891412854195,
0.03988541290163994,
0.037285737693309784,
0.06082525476813316,
0.028240296989679337,
0.022417739033699036,
-0.03956490382552147,
-0.03406285494565964,
-0.054450709372758865,
-0.01515289582312107,
0.0021255898755043745,
0.0721498653292656,
0.005301733035594225,
0.001265338039956987,
0.024305174127221107,
-0.02788417786359787,
0.03263837471604347,
0.02407369576394558,
-0.038532156497240067,
0.01745877042412758,
0.0038238358683884144,
-0.019764646887779236,
-0.023058753460645676,
0.00970426294952631,
-0.004224470816552639,
-0.029504522681236267,
-0.004727489780634642,
0.006294416729360819,
-0.0732182189822197,
-0.0752124935388565,
-0.011004100553691387,
-0.04889524355530739,
-0.025889907032251358,
-0.04497792571783066,
-0.0837593674659729,
0.01972903497517109,
0.04964309558272362,
-0.07232791930437088,
-0.013977700844407082,
0.024750323966145515,
0.04640240594744682,
-0.029237432405352592,
-0.023788800463080406,
0.06979947537183762,
-0.04127427935600281,
-0.004231147933751345,
-0.04504914954304695,
-0.002439420437440276,
-0.052741337567567825,
0.002617480233311653,
0.02302314154803753,
0.05548345670104027,
-0.0021790077444165945,
-0.029664775356650352,
-0.002501741284504533,
0.04148795083165169,
0.047150254249572754,
-0.023788800463080406,
0.010024771094322205,
0.00008930815965868533,
-0.0064101554453372955,
-0.003734805854037404,
-0.033546481281518936,
-0.0007790119852870703,
-0.03076874651014805,
0.035255856812000275,
-0.012072459794580936,
0.020654946565628052,
0.06880233436822891,
0.021865753456950188,
-0.0071624587289988995,
-0.04536965861916542,
0.017627928406000137,
0.009089956991374493,
-0.06538359075784683,
-0.0021890236530452967,
-0.0249105766415596,
0.04593944922089577,
0.0603979118168354,
-0.01362158078700304,
-0.04658046364784241,
0.015678172931075096,
-0.04960748180747032,
-0.010371987707912922,
0.007425096817314625,
0.10106679052114487,
-0.043410997837781906,
0.0020276568830013275,
-0.0011941140983253717,
0.012802504934370518,
-0.017084846273064613,
-0.0668080672621727,
-0.03459703549742699,
0.07984205335378647,
0.022560186684131622,
-0.07813267409801483,
-0.03527366369962692,
0.014983738772571087,
-0.008511262014508247,
0.036537885665893555,
0.039493680000305176,
0.017343033105134964,
0.012891535647213459,
-0.02811565436422825,
0.045975059270858765,
-0.016150031238794327,
-0.017859406769275665,
0.025640621781349182,
-0.011689631268382072,
-0.024091500788927078,
-0.03860338032245636,
0.04127427935600281,
-0.0092858225107193,
-0.022542379796504974,
0.0106123685836792,
-0.008595841005444527,
0.05904465541243553,
-0.05648059397935867,
-0.03963612765073776,
-0.024554457515478134,
-0.02492838352918625,
0.058154355734586716,
0.004985676612704992,
-0.027332192286849022,
0.017859406769275665,
0.004447045270353556,
0.005528759211301804,
-0.051815424114465714,
-0.022524574771523476,
0.010639077983796597,
-0.014761163853108883,
0.02628163807094097,
0.024233950302004814,
-0.03881705179810524,
-0.022399932146072388,
-0.027171937748789787,
0.0339382141828537,
0.030074313282966614,
0.055091727524995804,
-0.0159185528755188,
-0.05256327614188194,
-0.011787563562393188,
0.03764185681939125,
-0.042591921985149384,
-0.02681581862270832,
0.023806605488061905,
0.001313191605731845,
-0.042164579033851624,
-0.013933185487985611,
0.022773858159780502,
0.04747076332569122,
0.023343650624155998,
-0.0033052365761250257,
0.0561956986784935,
0.038425322622060776,
0.02895253710448742,
-0.03169465810060501,
0.03529146686196327,
0.00816404540091753,
-0.009143374860286713,
-0.013051789253950119,
0.033030107617378235,
0.014592006802558899,
0.01867848075926304,
0.007892504334449768,
0.06011301651597023,
-0.02426956221461296,
0.0009481688612140715
] |
725,600 | awpy.parser.demoparser | remove_excess_kill_rounds | Removes rounds with more than 10 kills.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_excess_kill_rounds(self) -> None:
"""Removes rounds with more than 10 kills.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
cleaned_rounds = []
for r in self.json["gameRounds"] or []:
if not r["isWarmup"]:
if len(r["kills"] or []) <= 10:
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
0.009418357163667679,
0.02011653035879135,
-0.04697462171316147,
0.0007075034081935883,
-0.02013455517590046,
-0.010707184672355652,
-0.017917411401867867,
0.03749317303299904,
0.08695532381534576,
-0.01603373885154724,
-0.014105004258453846,
0.03322111442685127,
0.0277593694627285,
-0.035762719810009,
-0.006209807004779577,
-0.006043070461601019,
0.07008339464664459,
0.04239612817764282,
0.02667783573269844,
-0.055338483303785324,
0.04744328558444977,
-0.0015028814086690545,
-0.032896652817726135,
0.08435963839292526,
-0.01874658651649952,
0.04920978844165802,
0.0451720654964447,
0.04690251871943474,
0.019918248057365417,
0.014898128807544708,
-0.05288700386881828,
0.038214195519685745,
0.030571356415748596,
0.04120643809437752,
-0.03433870151638985,
-0.019846146926283836,
-0.039512038230895996,
-0.041927460581064224,
-0.09005571901798248,
-0.004166158381849527,
-0.001285448088310659,
0.03933178260922432,
-0.015763355419039726,
-0.02721860259771347,
0.010662120766937733,
-0.01326681487262249,
0.05306725949048996,
0.10498088598251343,
0.023721642792224884,
-0.01896289363503456,
-0.007624813821166754,
0.02876880019903183,
-0.029363643378019333,
0.07069626450538635,
-0.01322175096720457,
-0.01480800099670887,
-0.05714103952050209,
0.007120097987353802,
0.0381060428917408,
-0.0940934419631958,
-0.03213958069682121,
0.020639270544052124,
-0.017178362235426903,
-0.04618149623274803,
0.02730873040854931,
-0.0015332995681092143,
-0.03487946838140488,
0.017079222947359085,
-0.009535523131489754,
-0.06435126066207886,
0.00752116646617651,
0.05162521451711655,
0.010544954799115658,
0.05721314251422882,
-0.039223626255989075,
-0.004655101802200079,
-0.011869833804666996,
-0.04899348318576813,
0.005425694864243269,
-0.032355885952711105,
0.06568515300750732,
0.017403682693839073,
0.02260405756533146,
0.020693346858024597,
-0.036123231053352356,
-0.02799370139837265,
0.06990313529968262,
-0.02691216766834259,
-0.03039110079407692,
-0.02105385810136795,
-0.028750775381922722,
0.05223808437585831,
-0.013086559250950813,
-0.08212447166442871,
0.020332835614681244,
0.05396853759884834,
-0.0208195261657238,
-0.014330323785543442,
-0.03994464874267578,
-0.06755981594324112,
0.023973999544978142,
0.03886311501264572,
-0.04621754586696625,
-0.002699328353628516,
0.01912512443959713,
0.032500091940164566,
-0.01392474863678217,
-0.01926932856440544,
-0.0045920126140117645,
0.0832781046628952,
-0.07426532357931137,
-0.0037380512803792953,
-0.03500564396381378,
-0.016331160441040993,
0.04513601213693619,
0.006399075500667095,
-0.02768726646900177,
-0.017223427072167397,
0.034050289541482925,
-0.031418558210134506,
0.034573033452034,
-0.05970066785812378,
0.031202251091599464,
-0.019701940938830376,
0.0277593694627285,
0.04419868439435959,
-0.05797021463513374,
0.033743854612112045,
0.06146717444062233,
0.004366693086922169,
0.0019952047150582075,
-0.031743019819259644,
0.0019321151776239276,
-0.035131823271512985,
0.002489781007170677,
-0.013194712810218334,
0.013843633234500885,
-0.005425694864243269,
0.07931248098611832,
-0.024046102538704872,
0.04066567122936249,
-0.004544695373624563,
-0.0008043908164836466,
-0.015637176111340523,
-0.02067532204091549,
-0.03525800257921219,
-0.05306725949048996,
0.041134338825941086,
-0.017610976472496986,
-0.02060321904718876,
-0.04556862637400627,
0.0493900440633297,
0.04354976490139961,
-0.04884927719831467,
0.053716182708740234,
0.019629839807748795,
0.0037132662255316973,
-0.026804013177752495,
-0.015411857515573502,
-0.06500018388032913,
0.011139798909425735,
-0.0016493391012772918,
0.023955974727869034,
-0.06618987023830414,
-0.021071884781122208,
-0.010004187934100628,
0.010418776422739029,
-0.018088653683662415,
-0.03839445114135742,
0.09748224914073944,
0.01674574986100197,
0.015429883264005184,
0.03331124410033226,
0.023541387170553207,
-0.005813244264572859,
0.017998525872826576,
-0.03390608727931976,
-0.021648703143000603,
-0.017836295068264008,
0.000646103813778609,
-0.07383271306753159,
-0.04953425005078316,
0.03354557603597641,
-0.037889737635850906,
-0.012419614009559155,
-0.046866465359926224,
-0.0008877590298652649,
0.0063044410198926926,
-0.045388370752334595,
0.03691635653376579,
0.0161148551851511,
0.010247533209621906,
0.02483922801911831,
0.0036344043910503387,
0.01550198532640934,
0.004758749157190323,
-0.0024852745700627565,
0.02507355995476246,
-0.01719638891518116,
-0.020296785980463028,
-0.10015003383159637,
0.0016290603671222925,
-0.003364020958542824,
-0.06312552839517593,
0.018449164927005768,
-0.03900732100009918,
-0.06878555566072464,
-0.014105004258453846,
0.017529862001538277,
-0.0017856574850156903,
-0.024280434474349022,
0.03314901143312454,
0.05944830924272537,
0.03839445114135742,
0.06312552839517593,
-0.024316485971212387,
0.06554095447063446,
-0.023775719106197357,
-0.02491132915019989,
-0.037889737635850906,
-0.06676668673753738,
-0.040701724588871,
-0.04899348318576813,
-0.01849422976374626,
-0.0903441309928894,
0.06572120636701584,
0.012635920196771622,
0.07015549391508102,
0.057501550763845444,
0.00057146669132635,
0.012392574921250343,
-0.022351698949933052,
-0.002570896176621318,
-0.024857252836227417,
-0.04665016010403633,
-0.016781799495220184,
-0.025668403133749962,
-0.05212993174791336,
0.0628010630607605,
-0.04203561693429947,
0.005313035100698471,
-0.0569247305393219,
-0.0020064706914126873,
0.018178781494498253,
0.007435545325279236,
0.0037403046153485775,
-0.007836613804101944,
-0.02173883095383644,
0.042756639420986176,
0.03206747770309448,
0.054184846580028534,
0.0034609083086252213,
0.026353374123573303,
0.02638942562043667,
-0.012834201566874981,
-0.049173738807439804,
-0.0550500713288784,
-0.01588953472673893,
-0.018088653683662415,
-0.012428626418113708,
0.059340156614780426,
-0.01797148771584034,
-0.012608882039785385,
0.0004297970444895327,
-0.018674485385417938,
0.04650595411658287,
0.0069263228215277195,
0.005398656707257032,
0.010391737334430218,
-0.018304960802197456,
-0.010842377319931984,
-0.08645060658454895,
0.01550198532640934,
-0.01881868951022625,
-0.028246060013771057,
0.06319762766361237,
0.007007438223809004,
0.053247515112161636,
-0.002969711786136031,
0.008183605968952179,
0.027867522090673447,
-0.025470122694969177,
0.059412259608507156,
-0.02089162915945053,
0.012419614009559155,
0.01734059303998947,
-0.004240513779222965,
0.030445177108049393,
-0.004414009861648083,
0.013627326115965843,
0.0013282587751746178,
-0.030337024480104446,
-0.007178680971264839,
-0.006169249303638935,
-0.0019377481658011675,
-0.04675831273198128,
-0.034573033452034,
-0.03886311501264572,
-0.0027962157037109137,
-0.004623557440936565,
0.02629929780960083,
-0.04650595411658287,
0.011707603931427002,
-0.016935016959905624,
-0.012473690323531628,
0.013987837359309196,
0.012653945945203304,
-0.02145042084157467,
-0.00172031472902745,
0.015096410177648067,
0.005587924737483263,
-0.02298259362578392,
0.051877573132514954,
-0.04650595411658287,
0.05429299920797348,
0.023000620305538177,
0.050940245389938354,
-0.013852645643055439,
-0.010283584706485271,
-0.004096309654414654,
0.007404000498354435,
-0.03850260376930237,
-0.0045920126140117645,
0.014582681469619274,
0.01804358884692192,
-0.0684610903263092,
0.002268967917189002,
0.02629929780960083,
-0.03213958069682121,
-0.011211900971829891,
-0.035582464188337326,
-0.041927460581064224,
-0.00004284592068870552,
-0.039439935237169266,
0.028047777712345123,
-0.008958705700933933,
0.03367175534367561,
-0.00917050614953041,
-0.012500728480517864,
0.024568844586610794,
0.004925485234707594,
-0.020531117916107178,
0.04203561693429947,
0.04203561693429947,
0.05075998976826668,
0.010517916642129421,
0.09229088574647903,
0.008490040898323059,
0.012347511015832424,
0.007029970176517963,
0.013014457188546658,
0.015673227608203888,
0.04412658140063286,
0.03594297543168068,
0.03994464874267578,
-0.03495156764984131,
0.0010680146515369415,
0.0182869341224432,
0.014645771123468876,
-0.034591056406497955,
0.0008297392632812262,
-0.023721642792224884,
-0.006637914106249809,
0.040449365973472595,
0.007097566034644842,
-0.002602440770715475,
0.021576600149273872,
-0.08565747737884521,
-0.04012490436434746,
0.02190105989575386,
-0.033978190273046494,
-0.054184846580028534,
-0.00809347815811634,
0.00003911406747647561,
0.05065183714032173,
0.06135902181267738,
0.028894979506731033,
0.021486472338438034,
-0.007102072238922119,
0.05407669395208359,
-0.0020628005731850863,
-0.018449164927005768,
-0.04344160854816437,
-0.03340137004852295,
0.021558575332164764,
-0.002314031822606921,
-0.08061031997203827,
-0.042540330439805984,
-0.009346255101263523,
-0.050868142396211624,
0.03322111442685127,
0.004267552401870489,
0.045929137617349625,
0.052021779119968414,
-0.07336404919624329,
0.05126470327377319,
-0.0001457535836379975,
-0.03731291741132736,
-0.014627745375037193,
0.05115655064582825,
-0.011049671098589897,
-0.009044326841831207,
-0.0012313713086768985,
-0.014591693878173828,
-0.043008994311094284,
-0.001046609366312623,
-0.02361348830163479,
0.013987837359309196,
-0.009742817841470242,
0.023847822099924088,
0.004857889376580715,
0.010797313414514065,
0.017764193937182426,
0.004080537240952253,
-0.010923491790890694,
-0.022658133879303932,
0.028119880706071854,
0.02660573273897171,
-0.02853446826338768,
-0.007390481419861317,
0.03199537470936775,
-0.013690415769815445,
-0.0014949952019378543,
0.050183169543743134,
-0.03278850018978119,
-0.019792068749666214,
0.011788719333708286,
-0.012518754228949547,
-0.019089072942733765,
0.01322175096720457,
-0.02613706886768341,
-0.026335349306464195,
-0.03260824456810951,
-0.028426315635442734,
0.01874658651649952,
-0.01596163772046566,
-0.03354557603597641,
-0.0524543933570385,
-0.039367832243442535,
0.031887222081422806,
0.0069984253495931625,
0.002205878496170044,
0.09495867043733597,
0.034573033452034,
0.07635629177093506,
-0.004436541814357042,
0.025343943387269974,
0.024821201339364052,
0.031112123280763626,
-0.0057231164537370205,
-0.013969812542200089,
-0.04830851033329964,
0.01091447938233614,
-0.01704317145049572,
0.037348970770835876,
-0.015934599563479424,
-0.03421252220869064,
0.04318925365805626,
0.0050246259197592735,
0.014943192712962627,
-0.0051057408563792706,
0.03839445114135742,
-0.024893304333090782,
0.027200575917959213,
-0.06687484681606293,
0.0914977639913559,
-0.0119960131123662,
-0.017538873478770256,
-0.0008956452365964651,
0.03246404230594635,
0.019467609003186226,
-0.012293434701859951,
0.028588544577360153,
-0.031743019819259644,
0.016232021152973175,
0.007714941632002592,
0.024334510788321495,
0.015321729704737663,
0.053788281977176666,
0.0625847578048706,
0.052418339997529984,
-0.036213357001543045,
0.006480190437287092,
-0.03540220856666565,
-0.030210845172405243,
-0.018908817321062088,
-0.07678890228271484,
-0.017610976472496986,
0.03668202459812164,
-0.039295729249715805,
-0.03231983631849289,
-0.06961473077535629,
0.015141474083065987,
-0.011896871961653233,
-0.008882096968591213,
-0.016141893342137337,
0.026948219165205956,
0.03385201096534729,
0.05007501691579819,
-0.02615509368479252,
-0.01392474863678217,
0.058871492743492126,
-0.02090965397655964,
-0.016385238617658615,
0.000665255996864289,
-0.019341429695487022,
0.02074742503464222,
0.036213357001543045,
-0.0015456920955330133,
-0.015619151294231415,
-0.016935016959905624,
0.015105422586202621,
0.032103531062603,
0.032734423875808716,
-0.009080378338694572,
-0.040521468967199326,
-0.012662959285080433,
0.022928517311811447,
0.0009829564951360226,
-0.0031477140728384256,
0.027975674718618393,
-0.0336357019841671,
-0.0013879684265702963,
-0.010346673429012299,
-0.004646089393645525,
-0.008165580220520496,
0.019792068749666214,
0.033130988478660583,
0.025127636268734932,
0.03278850018978119,
0.026263246312737465,
0.04722697660326958,
-0.012482703663408756,
-0.004979562014341354,
0.005051664542406797,
0.029363643378019333,
-0.0032153099309653044,
-0.0501110702753067,
0.026551656424999237,
0.040305159986019135,
0.01545692142099142,
-0.036213357001543045,
0.07098466902971268,
-0.019107097759842873,
-0.08320600539445877,
0.05706893652677536,
-0.02721860259771347,
0.05443720519542694,
-0.04982265830039978,
-0.012248370796442032,
-0.0017574925441294909,
0.03387003391981125,
0.029255490750074387,
-0.016367211937904358,
0.09344452619552612,
-0.03752922639250755,
0.02006245218217373,
-0.018097667023539543,
0.05847493186593056,
0.014032901264727116,
0.012428626418113708,
-0.03915152698755264,
0.05620370805263519,
-0.03893521800637245,
-0.019792068749666214,
0.004465833306312561,
-0.10368304699659348,
0.058583084493875504,
-0.026497580111026764,
0.006858726963400841,
0.014105004258453846,
0.000945215520914644,
0.005840282887220383,
-0.005862814839929342,
-0.04347766190767288,
-0.04455919563770294,
-0.008972224779427052,
0.02244182676076889,
-0.024316485971212387,
0.005060676950961351,
0.021107936277985573,
0.024622920900583267,
0.0009705639677122235,
-0.07350824773311615,
-0.004767761565744877,
-0.013600287958979607,
0.015601125545799732,
0.00643963273614645,
0.03825024887919426,
0.06507228314876556,
0.03803393989801407,
0.05732129514217377,
-0.0069263228215277195,
-0.05223808437585831,
0.010130367241799831,
0.06532464176416397,
0.00698039960116148,
-0.0425763837993145,
-0.053103312849998474,
0.06171953305602074,
0.01695304363965988,
0.021180037409067154,
-0.009400331415235996,
0.04466734826564789,
-0.017863333225250244,
0.025037508457899094,
-0.024568844586610794,
-0.01268999744206667,
-0.010752248577773571,
-0.00752116646617651,
0.003118422580882907,
-0.00798532459884882,
0.005664533469825983,
0.005015613045543432,
-0.006755080074071884,
-0.0057952189818024635,
0.03864680975675583,
-0.025506174191832542,
0.03359965234994888,
-0.047010671347379684,
0.01037371251732111,
-0.009400331415235996,
-0.015637176111340523,
0.0027781901881098747,
-0.00365468324162066,
-0.034807365387678146,
-0.016448326408863068,
0.033815957605838776,
-0.08998361974954605,
-0.07325589656829834,
-0.002199118724092841,
-0.08111503720283508,
0.020152579993009567,
-0.049930814653635025,
-0.15328939259052277,
0.054869815707206726,
0.0018881778232753277,
-0.02498343214392662,
-0.011617476120591164,
0.006529760546982288,
0.0590517483651638,
-0.04733513295650482,
-0.04549652338027954,
0.04520811513066292,
-0.062188196927309036,
0.001902823569253087,
-0.03962019085884094,
0.046397801488637924,
0.006295428145676851,
0.010247533209621906,
-0.011392156593501568,
-0.012717035599052906,
-0.040449365973472595,
-0.03987254947423935,
-0.001093363156542182,
0.006173755507916212,
0.040990132838487625,
-0.003231082344427705,
-0.026353374123573303,
-0.01179773174226284,
-0.022225521504878998,
0.010508904233574867,
-0.05090419203042984,
-0.009986162185668945,
0.04174720495939255,
-0.008850552141666412,
-0.017683077603578568,
-0.0275250356644392,
0.029742181301116943,
0.027741342782974243,
0.0004833104321733117,
-0.010337661020457745,
0.03453698009252548,
0.002532591810449958,
-0.032103531062603,
0.04888533055782318,
-0.05050763115286827,
0.09027202427387238,
0.018178781494498253,
-0.04726302996277809,
-0.011202888563275337,
0.024857252836227417,
-0.05678052827715874,
-0.025181712582707405,
0.012987419031560421,
0.05216598138213158,
-0.0639907494187355,
0.06626197695732117,
-0.04881322756409645,
0.05414879322052002,
-0.0182869341224432,
-0.023631514981389046,
-0.010535942390561104,
0.0731477364897728,
-0.04293689504265785,
-0.04542442038655281,
-0.02537999488413334,
0.09726594388484955,
0.029057210311293602,
0.024496741592884064,
0.009454408660531044,
0.02420833334326744,
-0.01442045159637928,
-0.03168894350528717,
0.007953779771924019,
-0.021774882450699806,
-0.03168894350528717,
0.014952205121517181,
0.012473690323531628,
-0.00435993354767561,
0.009256127290427685,
0.0978427603840828,
-0.0009097277070395648,
-0.014925166964530945,
-0.05577109381556511,
0.037132661789655685,
0.0583307258784771,
-0.014213157817721367,
-0.033978190273046494,
-0.03186919912695885,
-0.007850132882595062,
0.07084047049283981,
0.0015794900245964527,
0.008589181117713451,
-0.03318506479263306,
0.04333345592021942,
0.028894979506731033,
-0.04297294467687607,
-0.000477395806228742,
0.0013046001549810171,
-0.012762099504470825,
0.007327391766011715,
0.010653108358383179,
-0.05894359573721886,
0.03915152698755264,
-0.007246276829391718,
0.01387968473136425,
-0.010815338231623173,
0.07235461473464966,
0.01826890930533409,
-0.0011772946454584599,
-0.013365956023335457,
0.014014876447618008,
-0.05220203474164009,
0.020837552845478058,
-0.009553548879921436,
0.023811770603060722,
0.015231601893901825,
-0.002924647880718112,
0.015934599563479424,
0.06900186091661453,
0.01357324980199337,
0.04628964886069298,
0.010824351571500301,
0.04174720495939255,
0.0834944099187851,
-0.06900186091661453,
-0.002090965397655964,
0.043153200298547745,
0.012239358387887478,
0.000626951630692929,
-0.0060656024143099785,
-0.05515822768211365,
0.060277488082647324,
0.03500564396381378,
0.022640109062194824,
0.0170521829277277,
-0.024785149842500687
] |
725,601 | awpy.parser.demoparser | remove_excess_players | Removes rounds where there are more than 5 players on a side.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_excess_players(self) -> None:
"""Removes rounds where there are more than 5 players on a side.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
if not self.parse_frames:
self.logger.warning(
"parse_frames is set to False, must be true for remove_excess_players to work. Skipping remove_excess_players."
)
else:
cleaned_rounds = []
# Remove rounds where the number of players is too large
for r in self.json["gameRounds"] or []:
if len(r["frames"] or []) > 0:
f = r["frames"][0] # type: ignore[index]
if f["ct"]["players"] is None:
if f["t"]["players"] is None:
pass
elif len(f["t"]["players"]) <= 5:
cleaned_rounds.append(r)
elif len(f["ct"]["players"]) <= 5:
if (f["t"]["players"] is None) or (
len(f["t"]["players"]) <= 5
):
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
-0.013591228984296322,
0.02318830043077469,
-0.09881839901208878,
0.028994621708989143,
-0.044305555522441864,
-0.00810850877314806,
-0.028051557019352913,
0.03258196637034416,
0.07877365499734879,
-0.001890752580948174,
0.034264691174030304,
0.019453024491667747,
-0.0072347866371273994,
-0.0198783278465271,
0.006915808655321598,
-0.00008443955448456109,
0.08705782890319824,
0.04038536548614502,
0.05136929824948311,
-0.06124373897910118,
0.04064424708485603,
-0.0002122184814652428,
-0.009273471310734749,
0.11989867687225342,
-0.010466170497238636,
0.020691951736807823,
0.03738974779844284,
0.0524418018758297,
0.016022857278585434,
0.02022966556251049,
-0.04974204674363136,
0.04878048971295357,
0.016753269359469414,
0.03034449741244316,
-0.027089999988675117,
-0.003781505161896348,
-0.046857379376888275,
0.0035642303992062807,
-0.15163002908229828,
-0.013073467649519444,
-0.030455447733402252,
0.02117273025214672,
-0.003843913786113262,
-0.020932340994477272,
0.02727491408586502,
0.006402670405805111,
0.060910895466804504,
0.09083008766174316,
-0.005200725048780441,
0.0017832708545029163,
0.0291240606456995,
0.03766711801290512,
-0.006000481080263853,
0.08091866225004196,
0.0012551083927974105,
-0.006717025768011808,
-0.04397270828485489,
0.028550826013088226,
0.05203498899936676,
-0.08927680552005768,
-0.04707927629351616,
-0.003834668081253767,
0.006287098862230778,
-0.020969323813915253,
0.007049872074276209,
0.001775180920958519,
-0.007465930189937353,
-0.015264706686139107,
-0.043122101575136185,
-0.0478559173643589,
0.006647682748734951,
0.06475711613893509,
0.02357662096619606,
0.05096248537302017,
-0.03176834061741829,
-0.002057175850495696,
-0.012463249266147614,
-0.00011181559239048511,
0.027034524828195572,
-0.05270068347454071,
0.07518630474805832,
0.007886610925197601,
0.013766897842288017,
0.008066902868449688,
0.010244272649288177,
-0.007905102334916592,
0.05928364396095276,
-0.01544962078332901,
-0.04145786911249161,
0.01897224597632885,
-0.03263743966817856,
0.036982934921979904,
-0.021598033607006073,
-0.058987781405448914,
-0.0016145362751558423,
0.05373620614409447,
-0.02842138521373272,
-0.02570313960313797,
-0.0420495979487896,
-0.08010503649711609,
0.013350839726626873,
0.03931285813450813,
-0.05994933843612671,
-0.011501693166792393,
0.03019656613469124,
-0.004211431834846735,
-0.0180661641061306,
-0.026183918118476868,
-0.017881250008940697,
0.06342573463916779,
-0.07071137428283691,
-0.01802918128669262,
-0.038351304829120636,
-0.0002936965029221028,
0.07163594663143158,
0.015042808838188648,
-0.057804327458143234,
-0.02196786366403103,
0.04415762424468994,
-0.030159583315253258,
0.05403206869959831,
-0.01180680189281702,
0.0014411787269636989,
-0.008815807290375233,
0.02011871710419655,
0.01060485653579235,
-0.02424231357872486,
-0.0013094270834699273,
0.03073281981050968,
-0.03369145467877388,
0.0007997559732757509,
-0.009532351046800613,
-0.019453024491667747,
-0.0410880409181118,
0.00845984648913145,
-0.011575658805668354,
-0.0006362220738083124,
-0.00901459064334631,
0.0410880409181118,
-0.04175373539328575,
0.016817988827824593,
-0.00101991998963058,
0.02723793126642704,
-0.02326226606965065,
-0.004128220025449991,
-0.01509828306734562,
-0.025832580402493477,
0.02866177447140217,
-0.00010820397437782958,
-0.012167385779321194,
-0.02964182198047638,
0.03211968019604683,
0.027533795684576035,
-0.042604342103004456,
0.019711904227733612,
-0.0012886241311207414,
-0.006111430004239082,
-0.034542061388492584,
-0.0031481722835451365,
-0.048114798963069916,
0.0011117995018139482,
0.008016050793230534,
0.00632870476692915,
-0.024112872779369354,
-0.007211672142148018,
-0.019785869866609573,
0.014044269919395447,
-0.018334290012717247,
-0.05155421048402786,
0.048040833324193954,
0.043824777007102966,
0.03472697734832764,
0.009444517083466053,
0.016781006008386612,
-0.013905583880841732,
0.01536640990525484,
-0.009042327292263508,
-0.0501488596200943,
-0.04212356358766556,
-0.04412064328789711,
-0.05732354894280434,
-0.04223451018333435,
0.055363453924655914,
-0.034098267555236816,
0.0126574095338583,
0.003977976739406586,
0.05614009499549866,
0.017012150958180428,
-0.03073281981050968,
0.022337691858410835,
-0.01667005755007267,
-0.0012620426714420319,
-0.005676880478858948,
0.026812627911567688,
0.026738662272691727,
0.013961058109998703,
0.008381257764995098,
0.06227926164865494,
-0.03200872987508774,
-0.04974204674363136,
-0.0934188961982727,
-0.008912887424230576,
0.005052793305367231,
-0.09778288006782532,
-0.028088539838790894,
-0.03934984281659126,
-0.054623793810606,
-0.004278463311493397,
0.02542576752603054,
-0.0012782226549461484,
0.007442815694957972,
-0.007248655427247286,
0.0890549048781395,
0.021986354142427444,
0.040126483887434006,
-0.0501488596200943,
0.06483108550310135,
-0.016161542385816574,
0.02196786366403103,
-0.011936242692172527,
-0.034930381923913956,
-0.02692357636988163,
-0.06901015341281891,
-0.027311896905303,
-0.041864681988954544,
0.02821797877550125,
-0.019175652414560318,
0.04600677266716957,
0.03145398572087288,
-0.023761535063385963,
0.0032822354696691036,
-0.010198044590651989,
-0.013350839726626873,
-0.020765917375683784,
-0.04596978798508644,
0.004890993237495422,
0.008899019099771976,
-0.06956490129232407,
0.029826737940311432,
-0.050518687814474106,
-0.010262764059007168,
-0.06168753653764725,
-0.008570794947445393,
0.02542576752603054,
0.010946949012577534,
-0.007932839915156364,
-0.006009726785123348,
-0.007225540932267904,
0.03385787829756737,
0.04707927629351616,
0.05129533261060715,
0.01869487389922142,
0.005857172422111034,
0.011908505111932755,
-0.020636478438973427,
-0.05687975510954857,
-0.06856635957956314,
-0.02231920138001442,
-0.006143790204077959,
-0.014913368970155716,
0.0343756377696991,
-0.06656928360462189,
-0.013739160262048244,
-0.0039040111005306244,
0.0003790750924963504,
0.03030751459300518,
0.011289040558040142,
0.006915808655321598,
-0.005824812222272158,
-0.013387822546064854,
0.010373713448643684,
-0.05943157523870468,
0.04360288009047508,
-0.028550826013088226,
-0.03997855260968208,
0.01393332052975893,
-0.010919211432337761,
0.033635977655649185,
0.005593669135123491,
0.0066754198633134365,
0.04815177991986275,
-0.025444259867072105,
0.030252041295170784,
-0.01667005755007267,
0.04360288009047508,
0.01572699286043644,
0.01147395558655262,
0.004075057338923216,
-0.0016110690776258707,
0.017492927610874176,
-0.006684665568172932,
-0.04097709059715271,
-0.0027575402054935694,
-0.0037144734524190426,
-0.003268366912379861,
-0.029882211238145828,
-0.02409438230097294,
-0.021505577489733696,
0.021191222593188286,
-0.027663234621286392,
0.022134287282824516,
-0.03960872441530228,
0.03644668310880661,
-0.01629098318517208,
0.003707539290189743,
0.007022134959697723,
0.0017925166757777333,
-0.02231920138001442,
0.01485789380967617,
-0.02385399304330349,
0.009883689694106579,
-0.022578081116080284,
0.028236471116542816,
-0.06020822003483772,
0.08787145465612411,
0.028643283993005753,
0.05381017178297043,
0.008977607823908329,
-0.004826272837817669,
0.0015035874675959349,
0.011464709416031837,
-0.03526322916150093,
-0.005968121346086264,
0.03476395830512047,
0.020802900195121765,
-0.06897317618131638,
0.02392795868217945,
0.02999315969645977,
-0.03990458697080612,
-0.006846465636044741,
-0.05255275219678879,
-0.03200872987508774,
-0.024390244856476784,
-0.01765010505914688,
0.03689047694206238,
-0.024612143635749817,
0.014099744148552418,
-0.023465672507882118,
0.05133231356739998,
0.024741584435105324,
0.027848150581121445,
-0.038832083344459534,
0.06257512420415878,
0.018574679270386696,
0.03498585522174835,
-0.015514341183006763,
0.0551045723259449,
0.014635996893048286,
0.015079791657626629,
0.038166388869285583,
0.036465175449848175,
0.02905009500682354,
0.04027441516518593,
0.041272956877946854,
0.026942068710923195,
-0.021265188232064247,
-0.0060282181948423386,
-0.005852549336850643,
0.038166388869285583,
-0.020654968917369843,
-0.0038231108337640762,
-0.016346456483006477,
0.019471514970064163,
0.030473938211798668,
0.035207755863666534,
-0.002500971080735326,
0.023040369153022766,
-0.08875904232263565,
-0.029382942244410515,
0.006250116042792797,
-0.06386952847242355,
-0.06353668123483658,
0.01119658350944519,
-0.0370384082198143,
0.034338656812906265,
0.05466077849268913,
0.022300709038972855,
0.06834446638822556,
-0.03748220577836037,
0.01121507491916418,
0.004454132169485092,
-0.007599993143230677,
-0.030529413372278214,
-0.015745485201478004,
0.014219938777387142,
-0.0008500296389684081,
-0.03672405332326889,
-0.03916492685675621,
-0.014931860379874706,
-0.029974669218063354,
0.01708611659705639,
-0.004826272837817669,
0.04049631208181381,
0.023669078946113586,
-0.08276780694723129,
0.05188705772161484,
-0.024279296398162842,
-0.016753269359469414,
-0.026738662272691727,
0.03019656613469124,
0.011048652231693268,
-0.05018584430217743,
0.03334011510014534,
0.007267146836966276,
-0.03923889249563217,
-0.006342573557049036,
0.01897224597632885,
0.04715324193239212,
-0.016725532710552216,
0.021006306633353233,
-0.0011083323042839766,
-0.006823351606726646,
-0.002025971421971917,
0.015884170308709145,
-0.003987222909927368,
-0.005496588535606861,
0.01893526315689087,
0.016106069087982178,
-0.007359603885561228,
0.00220626313239336,
0.03472697734832764,
-0.007632353343069553,
-0.01053089089691639,
0.054143015295267105,
-0.025906546041369438,
-0.03483792394399643,
0.0075352732092142105,
-0.03149097040295601,
-0.02566615678369999,
0.037334274500608444,
-0.02294791117310524,
-0.052922580391168594,
-0.015717746689915657,
-0.08750162273645401,
0.02448270283639431,
0.013766897842288017,
-0.034893400967121124,
-0.06745687127113342,
-0.02849535085260868,
0.07126611471176147,
0.00809001736342907,
0.032692912966012955,
0.06919506937265396,
0.013091959059238434,
0.08165831863880157,
-0.004283086396753788,
-0.023669078946113586,
0.04090312495827675,
0.010401450097560883,
0.010752788744866848,
-0.01747443713247776,
-0.00031868889345787466,
0.0002337437035748735,
-0.03138002008199692,
0.01618003472685814,
-0.003300726879388094,
-0.03176834061741829,
0.06856635957956314,
0.0008818118367344141,
-0.016614584252238274,
0.0079004792496562,
0.034505076706409454,
0.025888053700327873,
0.028606301173567772,
-0.06431332230567932,
0.06908412277698517,
-0.0032614325173199177,
-0.034930381923913956,
-0.03199023753404617,
0.0329887792468071,
0.02444572001695633,
-0.03247101604938507,
0.0009523105691187084,
-0.013147433288395405,
0.0532924085855484,
-0.013813125900924206,
0.019859835505485535,
-0.02409438230097294,
0.038832083344459534,
0.024297788739204407,
-0.005621406249701977,
0.007997559383511543,
0.00810850877314806,
-0.04460141807794571,
-0.024815550073981285,
-0.01204719115048647,
-0.09489820897579193,
-0.04526711255311966,
0.021265188232064247,
-0.042530376464128494,
-0.040681228041648865,
-0.059098731726408005,
0.0010782836470752954,
-0.00025685803848318756,
-0.03679801896214485,
0.007808022201061249,
0.033081237226724625,
0.011131863109767437,
0.05399508401751518,
-0.02231920138001442,
0.006592208053916693,
0.07596294581890106,
-0.004803158808499575,
-0.04345494881272316,
0.008103885687887669,
-0.016300229355692863,
0.01631871983408928,
0.021302171051502228,
-0.03400580957531929,
-0.016614584252238274,
-0.025721631944179535,
0.01680874451994896,
0.045599959790706635,
0.03478245064616203,
0.00758612435311079,
-0.015403392724692822,
0.004932599142193794,
0.028902163729071617,
0.014423344284296036,
-0.0277926754206419,
0.0329887792468071,
-0.025333311408758163,
0.012555706314742565,
0.043824777007102966,
-0.010521644726395607,
0.018713364377617836,
0.023521145805716515,
0.028828198090195656,
0.00814549159258604,
-0.02026664838194847,
0.02577710524201393,
0.05070360377430916,
-0.02392795868217945,
-0.007521404419094324,
0.024908006191253662,
0.03019656613469124,
-0.01952699013054371,
-0.03938682749867439,
0.0519610233604908,
0.06812256574630737,
0.04271528869867325,
-0.028014574199914932,
0.061576586216688156,
-0.03864716738462448,
-0.10843396186828613,
0.03400580957531929,
-0.027367372065782547,
0.06712402403354645,
-0.030751310288906097,
-0.008270309306681156,
-0.023243775591254234,
0.013646703213453293,
0.031343039125204086,
-0.04426857456564903,
0.13646702468395233,
-0.03979363664984703,
0.000882389722391963,
-0.009513859637081623,
0.03003014251589775,
0.019194142892956734,
0.017271030694246292,
-0.0397566556930542,
-0.029382942244410515,
-0.033044252544641495,
-0.036779530346393585,
0.019896818324923515,
-0.023317741230130196,
0.05096248537302017,
0.0030418464448302984,
0.03838828578591347,
0.005584422964602709,
0.06353668123483658,
-0.01569001004099846,
-0.034653011709451675,
-0.048077814280986786,
-0.06246417760848999,
-0.03535568714141846,
0.016411177814006805,
-0.013110450468957424,
-0.00993916392326355,
0.02622090093791485,
-0.008815807290375233,
0.04970506578683853,
-0.05218292027711868,
-0.0198783278465271,
0.006185396108776331,
0.004211431834846735,
0.010262764059007168,
0.03396882489323616,
0.08875904232263565,
0.05262671783566475,
0.026627713814377785,
0.019711904227733612,
-0.0182788148522377,
0.008871281519532204,
0.07744226604700089,
0.0020409957505762577,
-0.019397549331188202,
-0.0592096783220768,
0.036982934921979904,
-0.025203870609402657,
0.03385787829756737,
-0.017594631761312485,
0.07097025215625763,
0.01115960069000721,
-0.02810703031718731,
-0.03744522109627724,
0.012638918124139309,
-0.014765436761081219,
0.014691471122205257,
0.019434532150626183,
0.04900239035487175,
0.003857782343402505,
-0.05129533261060715,
0.008580041117966175,
0.01876883953809738,
0.026553748175501823,
0.0075907474383711815,
0.011705098673701286,
-0.04752307012677193,
-0.008432108908891678,
0.024501195177435875,
-0.04352891445159912,
0.02196786366403103,
-0.027422847226262093,
-0.0532924085855484,
-0.004613621160387993,
0.01814012974500656,
-0.08254591375589371,
-0.05802622437477112,
0.02389097586274147,
-0.10614102333784103,
0.004951090551912785,
-0.05525250360369682,
-0.1340261548757553,
0.026239393278956413,
0.002186615951359272,
-0.03574400767683983,
-0.038166388869285583,
-0.0041883173398673534,
0.07304129749536514,
-0.04826273024082184,
-0.038869064301252365,
0.03483792394399643,
-0.05214593932032585,
-0.006869580131024122,
-0.03624327480792999,
0.03714935854077339,
0.018223341554403305,
-0.004969581961631775,
-0.00697590596973896,
0.007886610925197601,
0.00815935991704464,
-0.03920191153883934,
-0.018084654584527016,
-0.006744762882590294,
0.049261268228292465,
0.017566893249750137,
-0.005468851421028376,
-0.01757613942027092,
-0.025203870609402657,
0.004923353437334299,
0.008348898030817509,
0.018010688945651054,
0.051776107400655746,
-0.011584904044866562,
0.02011871710419655,
-0.021579543128609657,
0.029974669218063354,
0.036391209810972214,
-0.03443111106753349,
0.006915808655321598,
0.03236006945371628,
0.01629098318517208,
-0.02762625180184841,
0.03857320174574852,
-0.05747148022055626,
0.07877365499734879,
-0.026775645092129707,
-0.029419925063848495,
-0.03901699557900429,
0.0451931469142437,
-0.06420237571001053,
-0.049926962703466415,
0.014682224951684475,
0.04548900946974754,
-0.02790362387895584,
0.03920191153883934,
-0.008247194811701775,
0.047375138849020004,
-0.028513843193650246,
-0.01698441244661808,
-0.01450655609369278,
0.06531186401844025,
-0.04445348680019379,
-0.06423936039209366,
-0.010928457602858543,
0.057915277779102325,
-0.0022340004798024893,
0.04789290204644203,
0.019656429067254066,
0.02747832052409649,
-0.013729915022850037,
-0.018195604905486107,
0.010623347945511341,
-0.0022235990036278963,
-0.019434532150626183,
0.004222989082336426,
-0.0038207995239645243,
-0.0054596057161688805,
-0.03487490862607956,
0.0708223208785057,
-0.01487638521939516,
0.007424324285238981,
-0.07884761691093445,
0.08742766082286835,
0.06745687127113342,
0.0016538306372240186,
-0.02751530334353447,
0.005103644914925098,
-0.03439413011074066,
0.05998631939291954,
0.011326024308800697,
0.011677362024784088,
-0.045008230954408646,
0.035688530653715134,
0.028033064678311348,
-0.05954252555966377,
-0.008233325555920601,
-0.0015313246985897422,
-0.01395181193947792,
0.019767379388213158,
-0.008746463805437088,
-0.03171286731958389,
0.052367836236953735,
-0.029586348682641983,
0.03602137789130211,
-0.0018121638568118215,
0.03515227884054184,
-0.021671999245882034,
-0.0023900221567600965,
-0.02318830043077469,
0.01967492140829563,
-0.04959411546587944,
-0.027700217440724373,
0.0033654470462352037,
0.028957638889551163,
0.01544962078332901,
-0.030751310288906097,
0.00968028325587511,
0.06442427635192871,
0.02392795868217945,
0.04486029967665672,
0.003843913786113262,
0.0044888039119541645,
0.06246417760848999,
-0.07293035089969635,
-0.002142698736861348,
0.010447679087519646,
-0.0029401432257145643,
-0.02109876461327076,
0.04915032163262367,
0.0129902558401227,
0.05029679089784622,
0.04264132305979729,
0.025166887789964676,
0.012213613837957382,
-0.015070546418428421
] |
725,602 | awpy.parser.demoparser | remove_knife_rounds | Removes knife rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_knife_rounds(self) -> None:
"""Removes knife rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
cleaned_rounds = []
for r in self.json["gameRounds"] or []:
if not r["isWarmup"]:
total_kills = len(r["kills"] or [])
total_knife_kills = 0
if total_kills > 0:
# We know this is save because the len call gives 0
# and this if never gets enteres if r["kills"] is None
# but mypy does not know this
for k in r["kills"]: # type: ignore[union-attr]
if k["weapon"] == "Knife":
total_knife_kills += 1
if (total_knife_kills != total_kills) | (total_knife_kills == 0):
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
0.004144613165408373,
-0.013023944571614265,
-0.03521185740828514,
-0.01028401032090187,
-0.044246233999729156,
-0.051059044897556305,
-0.029769014567136765,
0.09797116369009018,
0.1481786072254181,
0.019475748762488365,
-0.04069172590970993,
0.02671435847878456,
-0.022641483694314957,
-0.01071906741708517,
-0.003468886250630021,
-0.005850129760801792,
0.036526285111904144,
0.017578158527612686,
0.009950774721801281,
-0.11056005209684372,
0.03010225109755993,
-0.007636641152203083,
0.0031981326173990965,
0.08582659065723419,
0.0003465415211394429,
0.014884507283568382,
0.08478985726833344,
0.033971481025218964,
0.05905669182538986,
0.016421092674136162,
-0.037951793521642685,
0.0072200968861579895,
0.01509740762412548,
0.018263142555952072,
-0.0026751384139060974,
-0.04606051743030548,
-0.03245341032743454,
-0.009270419366657734,
-0.08649305999279022,
-0.0016846893122419715,
0.0007625070284120739,
0.021530698984861374,
-0.005229942034929991,
-0.012838813476264477,
-0.01540287397801876,
0.003804435720667243,
0.034415796399116516,
0.07827325910329819,
0.022641483694314957,
-0.023159850388765335,
-0.0490226075053215,
0.060167476534843445,
-0.004635209683328867,
0.08501201122999191,
-0.027769604697823524,
-0.018540838733315468,
-0.03906257450580597,
0.014199524186551571,
0.02067909762263298,
-0.04606051743030548,
-0.040247414261102676,
-0.015162203460931778,
-0.011450333520770073,
-0.042246825993061066,
0.03469349071383476,
-0.005586318671703339,
-0.03876636549830437,
0.02958388440310955,
0.03173140063881874,
-0.0041770110838115215,
-0.017106076702475548,
0.05542812868952751,
0.03337906301021576,
0.07538522034883499,
-0.02303025871515274,
0.011237433180212975,
-0.01986452378332615,
-0.01484748162329197,
0.04672698676586151,
-0.03463795408606529,
0.0606117881834507,
0.028935927897691727,
-0.0038206346798688173,
-0.008636347018182278,
-0.04713427275419235,
-0.004498675931245089,
0.05342871695756912,
0.0015874956734478474,
-0.030824260786175728,
-0.05209577828645706,
-0.025733165442943573,
0.050799861550331116,
-0.03530442342162132,
-0.08901083469390869,
0.0075903586111962795,
0.04217277094721794,
-0.04750453680753708,
-0.0640922486782074,
-0.03747045248746872,
-0.06568437069654465,
0.023789294064044952,
0.07005345076322556,
-0.026547741144895554,
0.0031634208280593157,
0.015782391652464867,
0.03311987966299057,
-0.01394959818571806,
-0.04339463263750076,
-0.015828674659132957,
0.07397822290658951,
-0.060019370168447495,
-0.007525562774389982,
-0.020105192437767982,
-0.022715536877512932,
0.04805992916226387,
-0.012264908291399479,
-0.025066696107387543,
-0.012977661564946175,
0.0487263984978199,
-0.012431525625288486,
0.03332352638244629,
-0.04924476519227028,
0.019790470600128174,
-0.018040986731648445,
0.04483865574002266,
0.00704885134473443,
-0.044357314705848694,
0.04339463263750076,
0.06572139263153076,
-0.02041991613805294,
0.014791942201554775,
-0.028399048373103142,
-0.020290324464440346,
0.008594692684710026,
-0.014671607874333858,
-0.00023965747095644474,
0.020956793799996376,
-0.009950774721801281,
0.08752979338169098,
0.005239198449999094,
0.032934751361608505,
-0.01093196775764227,
0.013310897164046764,
0.007849541492760181,
-0.019105488434433937,
-0.01151512935757637,
-0.0724971815943718,
0.031009390950202942,
-0.01734674535691738,
-0.021734343841671944,
-0.01205200795084238,
0.020919768139719963,
0.04887450486421585,
0.0015724538825452328,
0.012875840067863464,
0.011246689595282078,
-0.021253002807497978,
-0.0358227901160717,
-0.023326467722654343,
-0.04387597367167473,
-0.0030870542395859957,
0.016235962510108948,
0.04606051743030548,
-0.026547741144895554,
-0.03589684143662453,
0.03167586028575897,
0.024289146065711975,
-0.03376783803105354,
-0.009969287551939487,
0.06238904222846031,
0.0007879625190980732,
0.01597677916288376,
-0.019846010953187943,
0.007460766937583685,
0.036267101764678955,
0.03711870312690735,
-0.015143690630793571,
-0.04661590978503227,
-0.021993527188897133,
-0.01223713904619217,
-0.07486685365438461,
-0.05635378137230873,
0.021567726507782936,
-0.04935584217309952,
0.005632601212710142,
-0.013033200986683369,
-0.00450561847537756,
-0.02630707062780857,
-0.015828674659132957,
0.00929356086999178,
-0.007942106574773788,
0.022049065679311752,
-0.0033161535393446684,
0.02584424428641796,
0.04280221462249756,
0.01158918160945177,
0.003258300246670842,
0.05472463369369507,
-0.05324358865618706,
-0.07738462835550308,
-0.10596881061792374,
-0.0018304797122254968,
-0.024400224909186363,
-0.01960534043610096,
-0.025825731456279755,
-0.05576136335730553,
-0.07109018415212631,
-0.011274458840489388,
0.025214800611138344,
-0.006248160731047392,
-0.009043633937835693,
0.049059633165597916,
0.04513486474752426,
0.02662179432809353,
0.09123240411281586,
-0.07120126485824585,
0.03323096036911011,
-0.004767115227878094,
-0.02882484905421734,
-0.01966087892651558,
-0.08182776719331741,
-0.03617453575134277,
-0.04187656193971634,
-0.02534439228475094,
-0.0896032527089119,
0.03489713743329048,
-0.012857326306402683,
0.058686431497335434,
0.052947379648685455,
0.00954348687082529,
-0.032064635306596756,
0.008067069575190544,
0.001936929882504046,
-0.013088740408420563,
-0.05901966616511345,
-0.016087858006358147,
-0.03460092842578888,
-0.03030589409172535,
0.03802584484219551,
-0.04587538540363312,
-0.0054382141679525375,
-0.06113015487790108,
-0.04372787103056908,
0.027362316846847534,
-0.001661547925323248,
0.01699499785900116,
0.03530442342162132,
-0.0006410150090232491,
0.0025455469731241465,
0.029139570891857147,
0.05913074314594269,
0.01969790644943714,
0.04598646238446236,
0.052688196301460266,
0.0036193050909787416,
-0.08530822396278381,
-0.05135525390505791,
0.01847604289650917,
0.0005310936830937862,
-0.022919179871678352,
0.05783483013510704,
-0.05083688721060753,
0.012172343209385872,
0.022697022184729576,
-0.03669290244579315,
0.030009685084223747,
0.03608197346329689,
0.03530442342162132,
-0.002145201899111271,
-0.01899440959095955,
0.003036143258213997,
-0.09034378081560135,
0.012126060202717781,
-0.039951205253601074,
-0.009969287551939487,
0.057464566081762314,
0.003341608913615346,
0.048763424158096313,
0.005526151042431593,
0.015634287148714066,
0.04587538540363312,
-0.01914251409471035,
0.07305257022380829,
0.02021627128124237,
0.02436319924890995,
-0.012635169550776482,
-0.003654017113149166,
0.004658351186662912,
0.005401188042014837,
0.001363024697639048,
0.04617159441113472,
-0.012699965387582779,
-0.0020433799363672733,
0.027528934180736542,
0.042357902973890305,
-0.014375397935509682,
-0.06087097153067589,
-0.008247571997344494,
0.01161695085465908,
-0.01744856871664524,
0.013653388246893883,
-0.015301051549613476,
0.023789294064044952,
-0.04295032098889351,
-0.024344686418771744,
-0.019327644258737564,
0.030639130622148514,
-0.015134434215724468,
0.0032444153912365437,
0.015226999297738075,
-0.002371987095102668,
-0.054687608033418655,
0.043431662023067474,
-0.03199058398604393,
0.05476165935397148,
-0.005993606057018042,
0.028399048373103142,
0.010580219328403473,
0.01059873215854168,
-0.00015562548651359975,
0.019068460911512375,
-0.030491024255752563,
0.01415324117988348,
0.07023858278989792,
0.05287332460284233,
-0.07849541306495667,
-0.00877982284873724,
0.028436074033379555,
-0.035693198442459106,
0.026788411661982536,
-0.038359079509973526,
-0.0591677688062191,
0.001234590308740735,
-0.002707536332309246,
0.013246101327240467,
-0.0024668665137141943,
0.04406110569834709,
0.012496321462094784,
-0.002154458547011018,
0.004635209683328867,
0.017337489873170853,
0.011302229017019272,
0.06183364987373352,
0.01867968775331974,
0.03469349071383476,
0.03730383515357971,
0.038618262857198715,
-0.007414484396576881,
0.00834476575255394,
0.051170121878385544,
0.006192621774971485,
-0.007821772247552872,
0.05698322877287865,
0.018494555726647377,
0.016161909326910973,
-0.022382300347089767,
0.006150967441499233,
-0.012635169550776482,
-0.0035498810466378927,
-0.04968907684087753,
-0.011274458840489388,
-0.014347628690302372,
-0.015504695475101471,
0.030379947274923325,
0.007840285077691078,
-0.01889258809387684,
0.012598143890500069,
-0.09997057169675827,
0.002142887795343995,
-0.004845795687288046,
-0.03250895068049431,
-0.04391299933195114,
-0.03965499624609947,
-0.014467963948845863,
0.058019958436489105,
0.035859815776348114,
0.05657593905925751,
0.036526285111904144,
-0.0018698200583457947,
0.004357513505965471,
-0.021937986835837364,
-0.006761898752301931,
-0.04606051743030548,
-0.013477514497935772,
0.02984306775033474,
0.014912277460098267,
-0.0556873120367527,
-0.04239492863416672,
0.0014960874104872346,
-0.03817394748330116,
-0.015476926229894161,
-0.026677332818508148,
0.048800449818372726,
0.03730383515357971,
-0.037951793521642685,
0.012866582721471786,
-0.029102545231580734,
-0.04095090925693512,
-0.006965542212128639,
0.03219422698020935,
-0.012227882631123066,
-0.023307954892516136,
0.023011745885014534,
-0.010228470899164677,
-0.0522068552672863,
0.009793413802981377,
-0.03163883462548256,
0.054132215678691864,
0.007053479552268982,
-0.034934163093566895,
0.007710693404078484,
0.030176302418112755,
-0.006970170419663191,
-0.020105192437767982,
0.015180717222392559,
0.0032282164320349693,
0.0449497327208519,
0.022178657352924347,
-0.0009106115903705359,
0.02569613978266716,
0.0019716417882591486,
0.037340860813856125,
0.019161026924848557,
0.05450247600674629,
-0.030416972935199738,
-0.001994783291593194,
0.02508520893752575,
-0.02369672805070877,
-0.025011155754327774,
0.024252120405435562,
-0.008034671656787395,
-0.015106664970517159,
-0.010459884069859982,
-0.0382850281894207,
-0.00529936607927084,
-0.00867337267845869,
-0.02093828096985817,
-0.07797704637050629,
-0.06546221673488617,
0.05368790030479431,
-0.017735520377755165,
0.005868643056601286,
0.028880387544631958,
0.046245645731687546,
0.04794884845614433,
0.005202172324061394,
-0.01592123880982399,
0.04606051743030548,
0.034064047038555145,
-0.009987801313400269,
-0.02067909762263298,
-0.021123412996530533,
-0.010589475743472576,
-0.02601086162030697,
0.02062355913221836,
-0.021419622004032135,
-0.05450247600674629,
0.04469054937362671,
-0.005470612086355686,
-0.01760592870414257,
-0.0007677138200961053,
0.037488967180252075,
0.002282892819494009,
0.028621206060051918,
-0.033193934708833694,
0.03589684143662453,
-0.021826907992362976,
-0.022585945203900337,
-0.025936810299754143,
0.03656331077218056,
0.027214212343096733,
-0.0326385423541069,
0.036470744758844376,
-0.034934163093566895,
0.016615480184555054,
0.02836202271282673,
0.035693198442459106,
-0.028324995189905167,
0.032434895634651184,
0.02047545462846756,
-0.0003717077197507024,
-0.00310325319878757,
-0.0361189991235733,
-0.02108638547360897,
-0.003450373187661171,
-0.009066775441169739,
-0.0797543004155159,
-0.045319993048906326,
0.060833945870399475,
-0.04672698676586151,
-0.025399930775165558,
-0.05068878456950188,
0.007826399989426136,
0.011894647032022476,
0.004565785638988018,
-0.004942989442497492,
0.010432114824652672,
0.013014688156545162,
0.03813692182302475,
-0.00972861796617508,
-0.0027237352915108204,
0.06594355404376984,
-0.009131571277976036,
-0.006174108479171991,
-0.011024532839655876,
-0.0452459417283535,
-0.009969287551939487,
0.029213624075055122,
-0.019642366096377373,
-0.028491614386439323,
-0.004602811764925718,
0.005567805375903845,
0.09249129146337509,
-0.005257711745798588,
-0.006636935286223888,
-0.00722935376688838,
-0.004079817794263363,
0.039136629551649094,
0.00685909204185009,
0.01354231033474207,
0.019623853266239166,
-0.039025548845529556,
0.01832793839275837,
0.0010754936374723911,
-0.0358227901160717,
0.029139570891857147,
0.022974718362092972,
0.03398999571800232,
0.03747045248746872,
-0.0041816397570073605,
0.017531877383589745,
0.01688391901552677,
-0.026066401973366737,
-0.020493967458605766,
-0.01438465528190136,
0.025881271809339523,
0.03128708899021149,
-0.08656711131334305,
0.0835309699177742,
0.03761855512857437,
0.03419363871216774,
-0.043431662023067474,
0.03556360676884651,
0.013153535313904285,
-0.09434260427951813,
0.059908293187618256,
-0.021327055990695953,
0.008738168515264988,
-0.050503652542829514,
-0.006447176449000835,
-0.01653217151761055,
0.03245341032743454,
0.04121009260416031,
-0.060426659882068634,
0.07930999249219894,
-0.0539470836520195,
0.01077460590749979,
-0.03004671074450016,
0.03428620472550392,
0.03039846010506153,
-0.0029667194467037916,
-0.03463795408606529,
0.05513191968202591,
-0.013625619001686573,
0.0036493889056146145,
0.027510421350598335,
-0.05031852424144745,
0.05831616744399071,
-0.010728323832154274,
0.013625619001686573,
0.024066990241408348,
0.016411835327744484,
0.04483865574002266,
-0.021567726507782936,
-0.06287038326263428,
-0.008756681345403194,
-0.018605634570121765,
-0.01847604289650917,
-0.005526151042431593,
-0.036822494119405746,
0.0017263437621295452,
-0.011329998262226582,
-0.000059118883655173704,
-0.07557035237550735,
-0.02621450647711754,
0.01592123880982399,
0.0007920122588984668,
0.049318816512823105,
0.006599909160286188,
0.08338286727666855,
0.03650777414441109,
0.06398116797208786,
0.01882779225707054,
-0.04724535346031189,
0.02865823172032833,
0.03650777414441109,
0.03711870312690735,
-0.02958388440310955,
-0.07023858278989792,
0.039136629551649094,
0.021419622004032135,
-0.016624735668301582,
0.0003881959128193557,
0.03393445536494255,
-0.0013688100734725595,
0.01714310236275196,
-0.06357388198375702,
0.003964110743254423,
-0.022697022184729576,
0.007849541492760181,
-0.0028996095061302185,
0.008682629093527794,
0.009691591374576092,
-0.01113561075180769,
0.02001262828707695,
0.004139984957873821,
0.05672404542565346,
0.0028972954023629427,
-0.00341566139832139,
-0.023622676730155945,
-0.0071553015150129795,
-0.02288215421140194,
-0.03158329799771309,
-0.015338078141212463,
-0.02886187471449375,
-0.07908783107995987,
-0.033453118056058884,
0.042357902973890305,
-0.07208989560604095,
-0.05739051476120949,
0.002531662117689848,
-0.09286155551671982,
0.03019481524825096,
-0.03541550040245056,
-0.06505492329597473,
0.044357314705848694,
0.017587415874004364,
-0.033601220697164536,
-0.0043297442607581615,
0.021419622004032135,
0.07856946438550949,
-0.05328061431646347,
-0.010543192736804485,
0.06257417798042297,
-0.0690167248249054,
0.001550469547510147,
-0.005276224575936794,
0.019031435251235962,
0.0024576098658144474,
-0.010015570558607578,
-0.027677038684487343,
0.002943577943369746,
-0.009506461210548878,
-0.018133550882339478,
0.004538015928119421,
0.014069932512938976,
0.04506080970168114,
-0.04132116958498955,
-0.020456941798329353,
-0.023067284375429153,
-0.03530442342162132,
0.01914251409471035,
-0.04269113764166832,
0.020605046302080154,
0.032990287989377975,
-0.017106076702475548,
0.0012577316956594586,
0.014708633534610271,
0.04809695482254028,
0.04043254256248474,
-0.011626207269728184,
-0.01770775020122528,
0.01653217151761055,
-0.0034249178133904934,
-0.06838727742433548,
0.008030043914914131,
-0.034730516374111176,
0.10678338259458542,
0.048911530524492264,
-0.01502335537225008,
-0.04161737859249115,
0.03456389904022217,
-0.04550512507557869,
-0.021771369501948357,
0.017430054023861885,
0.0838271751999855,
-0.04928179085254669,
0.045727282762527466,
-0.018392734229564667,
0.015699082985520363,
-0.03895149752497673,
-0.06794296205043793,
-0.006590652745217085,
0.08849246799945831,
0.008067069575190544,
-0.08316070586442947,
-0.0014984015142545104,
0.019327644258737564,
-0.020901255309581757,
0.060833945870399475,
0.040210384875535965,
0.012089034542441368,
-0.012089034542441368,
-0.040099307894706726,
-0.007812514901161194,
-0.010200701653957367,
-0.02882484905421734,
0.02082720212638378,
-0.007062735967338085,
0.0037095563020557165,
0.018568608909845352,
0.08019861578941345,
0.01847604289650917,
-0.006123197730630636,
0.005424329079687595,
0.05905669182538986,
0.024900078773498535,
-0.0588715597987175,
-0.05209577828645706,
-0.04598646238446236,
-0.00039513831143267453,
0.01795767806470394,
0.011959442868828773,
0.005822360515594482,
0.004841167479753494,
0.002795473439618945,
0.009372241795063019,
-0.053984109312295914,
-0.002834813669323921,
0.009029749780893326,
-0.003936341498047113,
-0.014134728349745274,
0.010987506248056889,
-0.06494385004043579,
0.04135819524526596,
-0.02778811752796173,
0.0501704178750515,
0.02691800333559513,
0.037137217819690704,
-0.011783568188548088,
-0.005877899471670389,
-0.003214331576600671,
0.014801198616623878,
-0.017476337030529976,
0.007840285077691078,
0.020845716819167137,
0.026344098150730133,
0.0008845775737427175,
-0.011394794099032879,
0.0061324541456997395,
0.07590358704328537,
0.03486010804772377,
0.03463795408606529,
0.031657349318265915,
0.057242412120103836,
0.04576430842280388,
-0.04994826018810272,
0.011700259521603584,
0.02758447267115116,
0.011996468529105186,
-0.0021382595878094435,
-0.01205200795084238,
-0.039803098887205124,
0.039136629551649094,
0.006511972285807133,
0.02523331344127655,
0.0043505714274942875,
-0.02810283936560154
] |
725,603 | awpy.parser.demoparser | remove_rounds_with_no_frames | Removes rounds with no frames
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_rounds_with_no_frames(self) -> None:
"""Removes rounds with no frames
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
if not self.parse_frames:
self.logger.warning(
"parse_frames is set to False, must be true for remove_no_frames to work. Skipping remove_no_frames."
)
else:
cleaned_rounds = []
for r in self.json["gameRounds"] or []:
if len(r["frames"] or []) > 0:
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
-0.017835160717368126,
0.01700541004538536,
-0.06741493940353394,
0.002772524254396558,
-0.05313967540860176,
-0.010403099469840527,
-0.07715781033039093,
0.09607253968715668,
0.10064062476158142,
0.00774433184415102,
0.0075926571153104305,
0.019093167036771774,
-0.014346642419695854,
-0.015185314230620861,
-0.007057334296405315,
0.016291646286845207,
0.055923353880643845,
0.02153780683875084,
0.02958548814058304,
-0.10870614647865295,
0.019218076020479202,
-0.011081174947321415,
-0.010269269347190857,
0.10870614647865295,
0.009323532693088055,
0.00034740197588689625,
0.046287547796964645,
0.010278191417455673,
0.016050752252340317,
0.0361342653632164,
-0.017469355836510658,
-0.0015368215972557664,
0.0032565449364483356,
-0.008355491794645786,
-0.029228607192635536,
-0.0014765978557989001,
-0.06869971752166748,
-0.007588196080178022,
-0.15645691752433777,
-0.03593797981739044,
0.0006697106873616576,
-0.007869239896535873,
-0.011143629439175129,
-0.0064774020574986935,
0.002558395266532898,
-0.011589731089770794,
0.03138773888349533,
0.0900055468082428,
-0.001526784268207848,
-0.008560698479413986,
0.02093110792338848,
0.0465373657643795,
-0.017835160717368126,
0.10734999924898148,
-0.034795958548784256,
-0.01934298500418663,
-0.043682314455509186,
0.03552756831049919,
0.039471108466386795,
-0.05164077505469322,
-0.023572033271193504,
0.006606771610677242,
-0.020770512521266937,
-0.025427816435694695,
0.04660874232649803,
-0.006053604651242495,
-0.005674418061971664,
0.027908144518733025,
0.00608929293230176,
-0.028175806626677513,
-0.018950415775179863,
0.07119788974523544,
0.02430363930761814,
0.08857802301645279,
-0.020145969465374947,
-0.03242269903421402,
-0.03708000108599663,
0.015890154987573624,
0.006945808883756399,
-0.021305834874510765,
0.0593494176864624,
0.05024893581867218,
-0.005919774062931538,
0.009849932976067066,
-0.03907854110002518,
-0.004813441075384617,
0.07366037368774414,
0.008716833777725697,
-0.047322504222393036,
-0.037758078426122665,
-0.0148373544216156,
0.00984101090580225,
-0.01900394819676876,
-0.07822845876216888,
0.0035844300873577595,
0.04543103277683258,
-0.03750826045870781,
-0.029924524948000908,
-0.04432469978928566,
-0.08158314228057861,
0.007788941729813814,
0.037615325301885605,
-0.06919935345649719,
-0.005023109260946512,
0.0273192897439003,
0.025838231667876244,
0.00365803693421185,
-0.054817020893096924,
-0.010849202051758766,
0.09828520566225052,
-0.012232118286192417,
-0.018120665103197098,
-0.0030647211242467165,
0.007539124693721533,
0.07765744626522064,
-0.024339327588677406,
-0.043468184769153595,
-0.0032498533837497234,
0.030049433931708336,
-0.027908144518733025,
0.043610937893390656,
-0.014980106614530087,
0.005402295850217342,
-0.03497439995408058,
0.027301445603370667,
0.008052142336964607,
-0.036580368876457214,
0.012125053443014622,
0.08693636953830719,
-0.02243001200258732,
0.026855343952775,
-0.027908144518733025,
-0.010233581066131592,
-0.006990419235080481,
-0.016104284673929214,
-0.005045414436608553,
0.014962262474000454,
-0.011714640073478222,
0.04753663390874863,
-0.004670688416808844,
0.016104284673929214,
-0.030406316742300987,
0.008859586901962757,
-0.0005598581046797335,
0.003762870794162154,
0.006084831897169352,
-0.05349655821919441,
0.03427848219871521,
-0.012562233954668045,
-0.007356222718954086,
-0.0062498897314071655,
0.022804737091064453,
0.025570569559931755,
-0.0192716084420681,
0.02091326378285885,
-0.01266929879784584,
0.007820169441401958,
0.016630684956908226,
-0.02059207111597061,
-0.01056369673460722,
0.02257276326417923,
0.025499192997813225,
0.03318999335169792,
-0.055637847632169724,
0.003791867522522807,
0.0018357099033892155,
-0.00037974436418153346,
0.007717565633356571,
-0.026248645037412643,
0.06484539806842804,
0.010385256260633469,
0.03167324513196945,
-0.009466285817325115,
0.01905748061835766,
0.033689625561237335,
-0.0006195242167450488,
-0.015381598845124245,
-0.022965334355831146,
-0.050748568028211594,
-0.019289452582597733,
-0.03502793237566948,
-0.05171215161681175,
0.004773291759192944,
-0.04193359240889549,
0.0015658182092010975,
-0.0009055871632881463,
-0.003936850465834141,
-0.02360772155225277,
-0.016050752252340317,
0.020681291818618774,
0.008681146427989006,
0.037758078426122665,
-0.00548705505207181,
-0.0034149112179875374,
0.059706300497055054,
0.020288720726966858,
-0.0025360900908708572,
0.056137483566999435,
-0.003521975828334689,
-0.04486002400517464,
-0.06159777194261551,
-0.03907854110002518,
0.0074231382459402084,
-0.06470264494419098,
-0.054817020893096924,
-0.056815557181835175,
-0.07601579278707504,
0.007217931095510721,
0.00538445170968771,
0.007713104598224163,
-0.023286527022719383,
0.009198624640703201,
0.07123357802629471,
-0.011009798385202885,
0.055923353880643845,
-0.011420212686061859,
0.027765391394495964,
-0.005919774062931538,
-0.00047537751379422843,
-0.01671990565955639,
-0.055245280265808105,
-0.03240485489368439,
-0.051462333649396896,
-0.04860727861523628,
-0.07465963810682297,
0.03388591110706329,
0.015577883459627628,
0.04014918580651283,
0.013418749906122684,
-0.026480618864297867,
0.0047286818735301495,
0.003965847194194794,
-0.041398271918296814,
-0.037829454988241196,
-0.04207634553313255,
-0.04268304631114006,
0.032315634191036224,
-0.022733360528945923,
0.04029193893074989,
-0.06563053280115128,
0.00671383598819375,
-0.04039900377392769,
-0.04996342957019806,
0.03181599825620651,
0.01905748061835766,
-0.017121396958827972,
0.023911070078611374,
-0.025142312049865723,
0.0002574845275375992,
0.035474035888910294,
0.05085563287138939,
0.05010618269443512,
0.011536198668181896,
0.038436152040958405,
-0.006513089872896671,
-0.10956266522407532,
-0.058671340346336365,
-0.027069471776485443,
0.0031963211949914694,
-0.008703450672328472,
0.03868597000837326,
-0.08458095043897629,
-0.004648383241146803,
0.02059207111597061,
-0.013757787644863129,
0.042219098657369614,
0.0015055944677442312,
0.016826968640089035,
-0.007463287562131882,
0.01497118454426527,
-0.002069913549348712,
-0.12483719736337662,
0.02319730632007122,
-0.028104430064558983,
0.00998376403003931,
0.0545315146446228,
0.015408365055918694,
0.010733215138316154,
0.039328355342149734,
0.035474035888910294,
0.06891384720802307,
-0.02064560353755951,
0.07358899712562561,
-0.006682608742266893,
0.07908497005701065,
0.0009195278398692608,
-0.02539212815463543,
0.04478864744305611,
-0.02002106048166752,
0.005785943474620581,
0.04175515100359917,
0.003620118135586381,
-0.0021914762910455465,
0.03124498762190342,
0.008886353112757206,
-0.014328798279166222,
-0.03815064951777458,
-0.02112739346921444,
0.03358256444334984,
-0.013400905765593052,
-0.005763638764619827,
0.006941347848623991,
0.05085563287138939,
0.012374871410429478,
-0.02078835666179657,
-0.019913995638489723,
-0.01802252233028412,
0.006985958199948072,
-0.0004940580110996962,
-0.033832378685474396,
0.005794865544885397,
-0.032101504504680634,
0.06973467022180557,
-0.045181214809417725,
0.04764369875192642,
0.04303992539644241,
0.039471108466386795,
-0.0034684434067457914,
0.006535395048558712,
-0.005192628130316734,
-0.007133171893656254,
-0.06327511370182037,
-0.0003694282495416701,
0.049106914550065994,
0.04871434345841408,
-0.04507414996623993,
-0.011384524405002594,
0.006303422152996063,
-0.061490707099437714,
0.03244054317474365,
-0.023304371163249016,
-0.020877575501799583,
0.006392642389982939,
-0.022287258878350258,
0.01380239799618721,
-0.02724791318178177,
-0.02009243704378605,
0.005464750342071056,
0.02291180193424225,
0.016487931832671165,
-0.013713177293539047,
-0.015863388776779175,
0.05046306550502777,
0.005870703142136335,
0.02464267797768116,
0.007583735045045614,
0.028889568522572517,
0.019396517425775528,
0.03270820155739784,
0.01575632393360138,
0.02375047281384468,
0.03076319769024849,
0.04425332322716713,
0.07722918689250946,
0.003869935404509306,
-0.01400760468095541,
0.017308760434389114,
-0.0035933521576225758,
0.031137922778725624,
-0.033689625561237335,
0.018986104056239128,
0.03138773888349533,
-0.040434692054986954,
0.0034684434067457914,
0.022394323721528053,
-0.0036022739950567484,
0.024392860010266304,
-0.05181921645998955,
-0.04928535595536232,
-0.009350298903882504,
-0.042575981467962265,
-0.03715137764811516,
-0.01273175235837698,
-0.042647358030080795,
0.011518355458974838,
0.04286148399114609,
0.06698668748140335,
0.020966796204447746,
-0.007342839613556862,
-0.04036331549286842,
-0.0005760292988270521,
-0.0010790093801915646,
-0.05670849233865738,
-0.019093167036771774,
0.04164808616042137,
0.005290770437568426,
-0.0593494176864624,
-0.04114845395088196,
-0.007017185445874929,
-0.06620154529809952,
0.004791135899722576,
-0.019842619076371193,
-0.0017252997495234013,
0.015577883459627628,
-0.07012724131345749,
0.010028374381363392,
0.000156693349708803,
0.022626295685768127,
-0.0034706739243119955,
0.01541728712618351,
0.0007695260574109852,
-0.030745353549718857,
-0.002698917407542467,
-0.00915401428937912,
-0.034992244094610214,
0.030370628461241722,
0.010929500684142113,
0.039613861590623856,
0.004333881661295891,
-0.032654669135808945,
0.037258442491292953,
-0.01948573812842369,
-0.048357464373111725,
0.008025376126170158,
0.025231532752513885,
0.024071667343378067,
0.038721658289432526,
0.020270876586437225,
-0.04432469978928566,
0.02457130141556263,
-0.0003599486080929637,
0.026730434969067574,
-0.003751718206331134,
0.05528096482157707,
0.010715370997786522,
0.014203889295458794,
0.006874432787299156,
-0.02360772155225277,
-0.013195699080824852,
0.0529969222843647,
-0.01118823979049921,
-0.0593494176864624,
-0.02876465953886509,
-0.03476027026772499,
0.007829091511666775,
-0.004391874652355909,
-0.024250106886029243,
-0.08772150427103043,
-0.0553523413836956,
0.07084100693464279,
0.008105674758553505,
-0.00006315132486633956,
0.037615325301885605,
0.046144794672727585,
0.035206373780965805,
-0.009698258712887764,
-0.012749596498906612,
0.03972092643380165,
0.01731768250465393,
0.02326868288218975,
-0.05371068790555,
0.008872970007359982,
0.016603918746113777,
-0.02919291891157627,
0.022358635440468788,
-0.028122274205088615,
-0.02098464034497738,
0.06959191709756851,
-0.003102639690041542,
-0.04314699023962021,
-0.015461897477507591,
0.03627701848745346,
0.0032431618310511112,
0.022608451545238495,
-0.029228607192635536,
0.06141933053731918,
0.02018165774643421,
-0.04528827965259552,
-0.07059118896722794,
0.010831357911229134,
-0.0013204620918259025,
-0.018843350932002068,
0.01857568882405758,
-0.04775076359510422,
0.046287547796964645,
0.019111011177301407,
0.013418749906122684,
-0.024053823202848434,
0.01074213720858097,
0.016229193657636642,
-0.009885621257126331,
-0.007708643563091755,
-0.052283160388469696,
-0.009573349729180336,
-0.0068521276116371155,
-0.0024178731255233288,
-0.070733942091465,
-0.04550240933895111,
0.05189058929681778,
-0.0545315146446228,
-0.03567032143473625,
-0.06852127611637115,
-0.017290916293859482,
0.001064511016011238,
-0.05388912931084633,
0.0005102292052470148,
0.020538538694381714,
0.004706376697868109,
0.018343716859817505,
-0.029906680807471275,
0.016273802146315575,
0.04168377444148064,
0.004755448084324598,
-0.003544280771166086,
-0.0008615346159785986,
-0.0529969222843647,
0.009930231608450413,
0.013204621151089668,
-0.019039636477828026,
-0.019860463216900826,
-0.03322568163275719,
0.05285417288541794,
0.039613861590623856,
0.00781570840626955,
0.016505775973200798,
-0.013748865574598312,
0.008145823143422604,
-0.01074213720858097,
0.02064560353755951,
-0.0017743709031492472,
0.008301959373056889,
-0.0410057008266449,
0.026337865740060806,
0.03133420646190643,
0.00040483762859366834,
0.02960333228111267,
0.00827519316226244,
0.06234722211956978,
0.02389322593808174,
-0.043539561331272125,
0.057029686868190765,
0.019111011177301407,
-0.024410704150795937,
0.004924966488033533,
0.0036602674517780542,
0.02044931799173355,
0.03729413077235222,
-0.08165451884269714,
0.023518500849604607,
0.03336843475699425,
0.035134997218847275,
-0.014435862191021442,
0.0689852237701416,
0.0008358837221749127,
-0.08872077614068985,
0.032083660364151,
-0.02291180193424225,
0.051997654139995575,
0.0017286454094573855,
0.015916921198368073,
-0.015408365055918694,
0.034671053290367126,
0.023090241476893425,
-0.04882140830159187,
0.09949859976768494,
-0.02676612325012684,
0.00707071740180254,
0.022144505754113197,
0.024803273379802704,
0.015408365055918694,
0.018700597807765007,
-0.02801520936191082,
0.0030312633607536554,
-0.04047037661075592,
-0.044289011508226395,
0.022287258878350258,
-0.010001608170568943,
0.051319580525159836,
-0.007677416317164898,
0.034849490970373154,
0.028621908277273178,
-0.00141525873914361,
0.01345443818718195,
-0.051105450838804245,
-0.022804737091064453,
-0.020485006272792816,
-0.016710983589291573,
0.039685238152742386,
-0.0385432168841362,
-0.009493052028119564,
0.0377223901450634,
-0.024678366258740425,
0.0216805599629879,
-0.06698668748140335,
-0.04685856029391289,
-0.025445660576224327,
-0.003049107501283288,
0.0025383206084370613,
0.023786161094903946,
0.03993505612015724,
0.044289011508226395,
0.06323942542076111,
0.0738031268119812,
-0.02526722103357315,
0.02428579516708851,
0.08022699505090714,
0.018914727494120598,
-0.03890009969472885,
-0.08529471606016159,
0.04639461264014244,
0.03704431280493736,
0.025570569559931755,
0.016434399411082268,
0.043396808207035065,
-0.007365144789218903,
-0.009145092219114304,
-0.04935673251748085,
0.017192773520946503,
-0.024553457275032997,
-0.00015766920114401728,
0.019842619076371193,
0.036169953644275665,
0.005188167095184326,
-0.03244054317474365,
0.01616673916578293,
-0.026337865740060806,
0.04328974336385727,
0.017362292855978012,
-0.001253546797670424,
-0.024178732186555862,
0.02023518830537796,
-0.006330188363790512,
-0.09107619524002075,
0.01585446670651436,
-0.030334940180182457,
-0.039685238152742386,
-0.010403099469840527,
0.024821117520332336,
-0.07494514435529709,
-0.04025625064969063,
0.03481380268931389,
-0.09792832285165787,
0.007115327753126621,
-0.06823576986789703,
-0.09849933534860611,
0.021109549328684807,
-0.001521207974292338,
-0.006829822435975075,
0.009207546710968018,
0.03269035741686821,
0.07787157595157623,
-0.09007692337036133,
-0.016086440533399582,
0.022608451545238495,
-0.07294660806655884,
-0.00608929293230176,
-0.027033785358071327,
0.022037440910935402,
0.008061064407229424,
-0.002174747409299016,
-0.02642708644270897,
-0.006419408600777388,
0.008908658288419247,
-0.030673976987600327,
0.008319803513586521,
-0.005308614578098059,
0.045181214809417725,
-0.01476597785949707,
-0.004336112178862095,
-0.024696210399270058,
-0.03069182112812996,
0.004512322135269642,
-0.03652683645486832,
0.045395344495773315,
0.0018122895853593946,
-0.02601667121052742,
0.02808658592402935,
0.027783235535025597,
0.05449582636356354,
0.011723562143743038,
-0.03481380268931389,
0.0030647211242467165,
0.006075909826904535,
0.018540000542998314,
-0.02141289785504341,
0.05920666456222534,
-0.05396050587296486,
0.05156939849257469,
0.03750826045870781,
-0.02601667121052742,
-0.042647358030080795,
0.052354536950588226,
-0.0836530551314354,
-0.03832908719778061,
-0.008159206248819828,
0.0723755955696106,
-0.023304371163249016,
0.003921236842870712,
0.005388912744820118,
0.007507897447794676,
-0.014890886843204498,
-0.020413629710674286,
-0.0018613608554005623,
0.08372443169355392,
-0.017406901344656944,
-0.05649436265230179,
-0.004893739707767963,
0.0212701465934515,
-0.015078249387443066,
0.034599676728248596,
0.02664121426641941,
0.013516892679035664,
-0.023554189130663872,
-0.01830802857875824,
0.01900394819676876,
0.023179462179541588,
0.006758446339517832,
0.0385432168841362,
-0.015015794895589352,
-0.01647900976240635,
-0.032654669135808945,
0.050284624099731445,
-0.02271551638841629,
0.032387010753154755,
-0.05549509450793266,
0.046287547796964645,
0.04507414996623993,
-0.008525010198354721,
-0.03401082009077072,
0.0014643300091847777,
-0.019717710092663765,
0.06448851525783539,
-0.022358635440468788,
0.025927450507879257,
-0.001036072033457458,
0.022626295685768127,
0.005772560369223356,
-0.05842152610421181,
-0.00834656972438097,
-0.0014252960681915283,
0.00671383598819375,
0.029710397124290466,
0.007748792879283428,
-0.01448939461261034,
0.03336843475699425,
-0.022180194035172462,
0.04482433572411537,
0.004523474723100662,
0.04068450629711151,
-0.00898449495434761,
-0.006575544364750385,
-0.012098288163542747,
0.0546385794878006,
-0.023661252111196518,
-0.032583292573690414,
-0.0010416483273729682,
0.009867777116596699,
-0.0008381142397411168,
-0.03904285281896591,
0.025624101981520653,
0.06666549295186996,
-0.0008319803164340556,
0.02560625784099102,
0.05363931134343147,
0.02141289785504341,
0.060812633484601974,
-0.09321748465299606,
0.03729413077235222,
0.02958548814058304,
-0.0008353260927833617,
-0.013766709715127945,
0.02698025293648243,
0.00857408158481121,
0.038864411413669586,
-0.0021412898786365986,
0.044003505259752274,
-0.026105891913175583,
-0.02100248448550701
] |
725,604 | awpy.parser.demoparser | remove_time_rounds | Remove rounds with odd round timings.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_time_rounds(self) -> None:
"""Remove rounds with odd round timings.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
cleaned_rounds = []
for r in self.json["gameRounds"] or []:
if (
(r["startTick"] <= r["endTick"])
and (r["startTick"] <= r["endOfficialTick"])
and (r["startTick"] <= r["freezeTimeEndTick"])
):
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
0.00411244248971343,
0.04639256373047829,
-0.06411474198102951,
0.014866124838590622,
-0.0557662770152092,
-0.05492410808801651,
-0.07110840827226639,
0.08084828406572342,
0.10003510862588882,
-0.004302388522773981,
0.01927836239337921,
0.016358230262994766,
0.0036272795405238867,
-0.02945762872695923,
-0.005414601415395737,
0.014536580070853233,
0.033302318304777145,
0.03526127710938454,
-0.009227249771356583,
-0.11138609051704407,
0.04357312619686127,
-0.02085285261273384,
-0.009648335166275501,
0.11958809196949005,
0.014646428637206554,
0.01623007282614708,
0.02542986162006855,
0.019552981480956078,
-0.0009731865138746798,
-0.0015710582956671715,
-0.011167901568114758,
0.013969031162559986,
0.004030056297779083,
0.009135710075497627,
-0.020065607503056526,
-0.010371502488851547,
-0.03515142947435379,
-0.00089995440794155,
-0.09673965722322464,
0.022830121219158173,
0.01803341507911682,
0.009382868185639381,
-0.04013121500611305,
-0.00008753529255045578,
-0.005217790137976408,
-0.027773290872573853,
0.03374170884490013,
0.07048593461513519,
0.015058359131217003,
-0.01680677756667137,
-0.006545122712850571,
0.0017804565140977502,
-0.014609812758862972,
0.10516135394573212,
-0.034327566623687744,
-0.012586774304509163,
-0.05082310736179352,
0.02332443743944168,
0.027425438165664673,
-0.044561758637428284,
-0.039801668375730515,
-0.010655276477336884,
-0.027681749314069748,
-0.008513236418366432,
0.037714552134275436,
0.0046960110776126385,
-0.031215200200676918,
0.008055536076426506,
-0.0031466935761272907,
-0.02965901792049408,
-0.018500270321965218,
0.07436724007129669,
0.02610725909471512,
0.05426501855254173,
-0.044232215732336044,
0.018591810017824173,
-0.0377877838909626,
-0.0038172253407537937,
0.00350598874501884,
-0.03830040991306305,
0.046685490757226944,
0.07429400831460953,
-0.0004651385243050754,
0.029402704909443855,
-0.06543292105197906,
-0.02138378657400608,
0.07564880698919296,
0.007277444005012512,
-0.06946069002151489,
-0.04522084817290306,
-0.02434968762099743,
0.008874820545315742,
-0.03994813561439514,
-0.07429400831460953,
0.017786256968975067,
0.03958197310566902,
-0.05452132970094681,
-0.0353345088660717,
-0.06656801700592041,
-0.07704021781682968,
0.042474642395973206,
0.01140590663999319,
-0.06114884093403816,
-0.007327791303396225,
0.04181555286049843,
-0.00909451674669981,
-0.020413460209965706,
-0.05972081422805786,
-0.03302769735455513,
0.06374858319759369,
-0.05353269726037979,
0.018481962382793427,
-0.04771074280142784,
-0.033814940601587296,
0.06371196359395981,
0.018665041774511337,
-0.008929744362831116,
-0.0014634985709562898,
0.05496072396636009,
-0.02669311687350273,
0.04924861714243889,
-0.037677936255931854,
0.0327896922826767,
0.026528343558311462,
0.007236251141875982,
0.006604623980820179,
-0.03127012401819229,
0.049871090799570084,
0.022152723744511604,
-0.018326343968510628,
0.020431768149137497,
-0.026949428021907806,
0.001132809673435986,
-0.01940651796758175,
-0.013813412748277187,
0.008536121807992458,
-0.0007237395620904863,
0.012669160962104797,
0.07143795490264893,
-0.0015744910342618823,
0.009250135160982609,
-0.013190940022468567,
-0.03269815072417259,
-0.0047417813912034035,
0.02403845079243183,
-0.017081396654248238,
-0.09520178288221359,
0.045477159321308136,
0.0010939051862806082,
0.02015714719891548,
-0.03244183957576752,
0.0392158143222332,
0.049358464777469635,
0.000643641862552613,
0.021273937076330185,
-0.027516977861523628,
-0.010435580275952816,
0.012431155890226364,
-0.050054170191287994,
-0.008682586252689362,
-0.017740486189723015,
-0.002439545700326562,
0.05876879394054413,
-0.08092151582241058,
-0.009117402136325836,
0.002110001165419817,
0.004506065510213375,
-0.03333893418312073,
-0.010536274872720242,
0.04972462356090546,
0.0037119542248547077,
0.015653369948267937,
-0.014106341637670994,
-0.0073186373338103294,
0.01750248298048973,
-0.02951255440711975,
0.005126249976456165,
0.002402929589152336,
-0.004796705208718777,
-0.026784656569361687,
-0.03800748288631439,
-0.050603412091732025,
-0.014380961656570435,
-0.0035265854094177485,
-0.022830121219158173,
-0.005034709814935923,
-0.003245099214836955,
-0.048662759363651276,
-0.039984751492738724,
0.023013200610876083,
0.0001328047801507637,
0.03712869808077812,
-0.02716912515461445,
0.009987033903598785,
0.07466016709804535,
0.01677931472659111,
-0.015223131515085697,
0.05778016149997711,
-0.020797928795218468,
-0.010325731709599495,
-0.08289878815412521,
-0.0073369452729821205,
-0.004400793928653002,
-0.04932184889912605,
-0.02028530277311802,
-0.08546190708875656,
-0.04199863225221634,
0.0009262721869163215,
0.021328860893845558,
0.016019530594348907,
-0.018784044310450554,
0.007401023525744677,
0.05928141996264458,
0.025722790509462357,
0.07367153465747833,
-0.022921660915017128,
0.013355712406337261,
-0.011881914921104908,
-0.01298039685934782,
-0.02738882228732109,
-0.06444428861141205,
-0.04295065253973007,
-0.04437867924571037,
-0.04815013334155083,
-0.04924861714243889,
0.04609963297843933,
-0.027095893397927284,
0.056425366550683975,
0.02592417784035206,
-0.011442522518336773,
0.01709970459342003,
0.002352582523599267,
-0.006828897166997194,
-0.05477764457464218,
-0.04533069580793381,
-0.025521401315927505,
-0.025008777156472206,
-0.04196201637387276,
0.05594935640692711,
-0.04119307920336723,
0.011250288225710392,
-0.03800748288631439,
-0.05294683948159218,
0.02015714719891548,
0.005538180936127901,
-0.03513311967253685,
0.0000719806193956174,
-0.00988633930683136,
0.008078420534729958,
0.012760700657963753,
0.047600891441106796,
0.025686174631118774,
0.054118555039167404,
0.03689069300889969,
0.009240981191396713,
-0.06173469498753548,
-0.050383713096380234,
-0.004375620745122433,
0.005698376335203648,
-0.004020902328193188,
0.052873607724905014,
-0.023965219035744667,
-0.008916012942790985,
0.006105729844421148,
-0.011598140932619572,
0.028011294081807137,
0.00057927769375965,
0.039618588984012604,
0.008014342747628689,
0.007680220995098352,
-0.03090396337211132,
-0.14097186923027039,
0.009126556105911732,
-0.01784118078649044,
0.010710201226174831,
0.08018919825553894,
0.037000540643930435,
0.00565718300640583,
-0.004128462169319391,
0.006503929849714041,
0.027809906750917435,
0.009611718356609344,
0.073525071144104,
-0.021054241806268692,
0.016898317262530327,
-0.02700435183942318,
0.005730415228754282,
0.030611036345362663,
0.005144557915627956,
0.015204823575913906,
0.015635062009096146,
-0.031123660504817963,
-0.005194905214011669,
0.033137544989585876,
0.03903273120522499,
0.004114731214940548,
-0.03599359840154648,
-0.04577009007334709,
0.02365398220717907,
-0.03581051900982857,
0.034162793308496475,
0.012605082243680954,
0.026436803862452507,
-0.0027645134832710028,
-0.020944392308592796,
0.013978185132145882,
-0.017365172505378723,
0.0004056374018546194,
0.0043275621719658375,
-0.012431155890226364,
0.0007243116851896048,
-0.05488749220967293,
0.03641468286514282,
-0.03657945618033409,
0.046172864735126495,
0.05477764457464218,
0.010618660598993301,
0.028468996286392212,
-0.012769854627549648,
0.013136015273630619,
-0.016138533130288124,
-0.04415898397564888,
0.02120070531964302,
0.02859715186059475,
0.0455503910779953,
-0.08948967605829239,
-0.03244183957576752,
0.015616754069924355,
-0.035224661231040955,
0.04932184889912605,
-0.03020825982093811,
-0.03562743589282036,
0.005460371728986502,
-0.003208483336493373,
0.058549098670482635,
-0.013520484790205956,
0.025136932730674744,
-0.012833933345973492,
0.02136547677218914,
0.006297964137047529,
0.007346099242568016,
-0.015241439454257488,
0.0645541325211525,
0.01644976995885372,
0.02647341974079609,
0.02207949198782444,
0.009437792003154755,
0.01502174325287342,
0.026034027338027954,
0.03991151601076126,
0.03496834635734558,
0.026253722608089447,
0.03641468286514282,
0.061551615595817566,
0.0061789620667696,
-0.005085057113319635,
0.022189339622855186,
-0.029970254749059677,
0.029897022992372513,
-0.034931730479002,
-0.0012277826899662614,
0.01850942336022854,
-0.010051111690700054,
0.009382868185639381,
0.033467087894678116,
-0.012476926669478416,
0.029970254749059677,
-0.06078267842531204,
-0.029237933456897736,
0.011964301578700542,
-0.07689374685287476,
-0.044268831610679626,
0.024587692692875862,
-0.03581051900982857,
0.05283699184656143,
0.04639256373047829,
0.059757430106401443,
0.04485468566417694,
-0.014298575930297375,
-0.010838356800377369,
0.011305212043225765,
-0.003590663429349661,
-0.04478145390748978,
0.0068243201822042465,
0.03020825982093811,
0.005927226506173611,
-0.02704096958041191,
-0.02579602226614952,
0.02738882228732109,
-0.050932954996824265,
-0.007259136065840721,
-0.028121143579483032,
0.04467160627245903,
0.032405223697423935,
-0.0639316588640213,
0.03123350813984871,
-0.02845068834722042,
0.002782821422442794,
-0.028285915032029152,
0.026949428021907806,
-0.017786256968975067,
-0.02098100818693638,
0.015058359131217003,
-0.013639486394822598,
-0.018665041774511337,
0.005391716491430998,
-0.01693493314087391,
0.0420718677341938,
0.00415134709328413,
-0.024111682549118996,
-0.01799679920077324,
-0.009167748503386974,
0.007909071631729603,
-0.022280879318714142,
0.02524678036570549,
0.006215577945113182,
0.018234804272651672,
0.033796634525060654,
-0.01049050409346819,
0.02947593666613102,
0.02669311687350273,
-0.00436417805030942,
-0.0014303153147920966,
0.029219625517725945,
0.0009617439936846495,
0.000019809865989373066,
0.042621105909347534,
0.02121901325881481,
-0.05067664384841919,
0.06166146323084831,
0.015955453738570213,
-0.03333893418312073,
-0.05225113406777382,
-0.03925243020057678,
0.029713941738009453,
0.018280573189258575,
-0.022171031683683395,
-0.08458312600851059,
-0.016294151544570923,
0.04020444676280022,
0.009950417093932629,
0.03844687342643738,
0.05283699184656143,
-0.007304906379431486,
0.05177512392401695,
-0.02116408944129944,
-0.01421618927270174,
0.029878715053200722,
0.05345946550369263,
-0.01298039685934782,
-0.030135026201605797,
-0.0035242969170212746,
0.014591504819691181,
-0.038593340665102005,
0.02559463307261467,
-0.047783974558115005,
-0.009840569458901882,
0.04152262583374977,
-0.01975437067449093,
-0.009520178660750389,
-0.018820660188794136,
0.038776420056819916,
0.002862919121980667,
0.009639181196689606,
-0.019992375746369362,
0.03852010890841484,
-0.02929285727441311,
-0.031361665576696396,
-0.04558701068162918,
0.03478526696562767,
0.016184303909540176,
-0.02451445907354355,
0.02099931612610817,
-0.031325049698352814,
0.010289115831255913,
0.026381880044937134,
0.01473796833306551,
0.00683805113658309,
0.027956370264291763,
0.02048669196665287,
0.027791598811745644,
-0.023086432367563248,
-0.04236479476094246,
-0.019314978271722794,
-0.0050759026780724525,
-0.0063391574658453465,
-0.07528264075517654,
-0.03388817235827446,
0.043023884296417236,
-0.07301244884729385,
-0.03672591969370842,
-0.07466016709804535,
-0.007268290035426617,
0.029713941738009453,
-0.007831262424588203,
-0.01977267861366272,
-0.004371043294668198,
0.008389657363295555,
0.049358464777469635,
0.00247158482670784,
-0.012257229536771774,
0.05334961786866188,
0.023214589804410934,
-0.0035975289065390825,
0.045843321830034256,
-0.010902435518801212,
-0.012513542547821999,
0.015140745788812637,
-0.027480361983180046,
-0.030940581113100052,
-0.017392633482813835,
0.00644900556653738,
0.05309330299496651,
0.008613931015133858,
0.015360441990196705,
-0.028560535982251167,
-0.004396216943860054,
-0.005130826961249113,
-0.00278053293004632,
0.003171867225319147,
-0.005025555845350027,
-0.031325049698352814,
0.0003870433138217777,
0.021457018330693245,
0.007153864949941635,
0.010701047256588936,
0.000533221522346139,
0.02771836519241333,
0.014014801010489464,
-0.034327566623687744,
0.05580289289355278,
0.023599058389663696,
-0.011158747598528862,
-0.009913801215589046,
0.0032359452452510595,
0.03513311967253685,
0.0068243201822042465,
-0.05646198242902756,
0.0714745745062828,
0.04573347419500351,
0.03848348930478096,
-0.019736062735319138,
0.0864139273762703,
0.017905259504914284,
-0.08546190708875656,
0.06275994330644608,
-0.00996872503310442,
0.05840263515710831,
-0.045989785343408585,
0.019479749724268913,
-0.02630864642560482,
0.028212683275341988,
0.04558701068162918,
-0.059391267597675323,
0.059427883476018906,
-0.05646198242902756,
-0.0072316741570830345,
-0.0005712679121643305,
0.03848348930478096,
-0.0029269971419125795,
0.01836295984685421,
-0.012934627011418343,
0.0071996352635324,
-0.008980091661214828,
-0.06056298315525055,
0.005487833637744188,
-0.031709518283605576,
0.0633091852068901,
-0.015049205161631107,
0.05177512392401695,
0.035755593329668045,
0.005437486805021763,
0.02575940638780594,
-0.04280418902635574,
-0.01590968295931816,
-0.015360441990196705,
-0.010755971074104309,
-0.0008713480783626437,
-0.03888626769185066,
-0.05133573338389397,
0.036652687937021255,
-0.00525440601631999,
0.007222520187497139,
-0.10098712146282196,
-0.01662369631230831,
-0.039984751492738724,
0.03624990954995155,
0.02048669196665287,
0.033814940601587296,
0.05100618675351143,
0.04020444676280022,
0.06799604743719101,
0.047600891441106796,
-0.02438630349934101,
0.009067054837942123,
0.05155542865395546,
0.037348393350839615,
-0.013007859699428082,
-0.10237853229045868,
0.05990389361977577,
0.010023649781942368,
0.02469754032790661,
0.0022587538696825504,
0.030958889052271843,
-0.0012312154285609722,
-0.010572890751063824,
-0.0416690893471241,
-0.021841486915946007,
-0.038593340665102005,
-0.014326037839055061,
0.049358464777469635,
0.040717072784900665,
0.014316883869469166,
0.004153635818511248,
0.06499352306127548,
-0.006073690950870514,
0.03438249230384827,
-0.00953848659992218,
0.00454039266332984,
-0.026418495923280716,
-0.009703258983790874,
0.013566254638135433,
-0.02169502153992653,
0.0035426048561930656,
-0.039618588984012604,
-0.05009078606963158,
0.0032977350056171417,
0.019186820834875107,
-0.06041651964187622,
-0.09615380316972733,
0.0143992705270648,
-0.09373714029788971,
-0.0013307653134688735,
-0.06092914193868637,
-0.12354262173175812,
0.03198413923382759,
-0.018765736371278763,
-0.018408730626106262,
-0.006856359541416168,
0.013438098132610321,
0.08040889352560043,
-0.045111000537872314,
-0.02191471867263317,
0.05990389361977577,
-0.06645817309617996,
-0.008311848156154156,
-0.023617366328835487,
0.01623922772705555,
-0.003588374936953187,
0.01272408477962017,
-0.040167830884456635,
0.025686174631118774,
-0.006243040319532156,
-0.028853464871644974,
-0.03685407713055611,
-0.007130980025976896,
0.04042414203286171,
-0.06323595345020294,
-0.0064032357186079025,
-0.01678846962749958,
-0.008659700863063335,
0.03229537606239319,
-0.06708063930273056,
-0.0016385691706091166,
0.008440004661679268,
-0.026711424812674522,
0.007474255748093128,
0.050932954996824265,
0.055033955723047256,
0.01804256998002529,
-0.017081396654248238,
-0.0242032241076231,
0.04357312619686127,
0.018298881128430367,
-0.04038752615451813,
0.03110535256564617,
-0.036268219351768494,
0.07652758806943893,
0.01993745006620884,
-0.008856512606143951,
-0.04873599112033844,
0.03130673989653587,
-0.0802624300122261,
-0.031361665576696396,
-0.013758488930761814,
0.07572203874588013,
-0.03722023591399193,
0.023910295218229294,
-0.010243345983326435,
0.026876196265220642,
-0.028359146788716316,
-0.02716912515461445,
-0.035920366644859314,
0.06744680553674698,
0.0283957626670599,
-0.08948967605829239,
-0.020614847540855408,
0.0586223304271698,
0.018930509686470032,
0.059574346989393234,
0.034327566623687744,
-0.00517202029004693,
0.011222826316952705,
-0.02403845079243183,
0.017786256968975067,
-0.013740180991590023,
-0.026217106729745865,
0.022537192329764366,
0.02863376773893833,
-0.015076667070388794,
-0.013804258778691292,
0.04185216873884201,
0.008600199595093727,
0.02491723746061325,
-0.014408424496650696,
0.02737051248550415,
0.03304600343108177,
-0.015662524849176407,
-0.03899611532688141,
-0.007401023525744677,
-0.02242734283208847,
0.0649569109082222,
0.0036318565253168344,
0.003705088747665286,
-0.004533527418971062,
0.055693045258522034,
0.01131436601281166,
-0.04467160627245903,
-0.019699446856975555,
0.01837211474776268,
-0.025722790509462357,
0.009419484063982964,
0.023434285074472427,
-0.041412778198719025,
0.03106873668730259,
-0.00048029987374320626,
0.026894504204392433,
0.01957128942012787,
0.07953010499477386,
0.01798764429986477,
-0.03987490013241768,
-0.017529943957924843,
0.047564275562763214,
-0.02804790996015072,
-0.0343092605471611,
-0.020541615784168243,
0.016495540738105774,
0.006000458728522062,
-0.015827296301722527,
0.0006041651940904558,
0.0755755677819252,
-0.0022587538696825504,
0.02065146341919899,
0.017978491261601448,
0.015598446130752563,
0.08648715913295746,
-0.06766650080680847,
0.018857276067137718,
0.023434285074472427,
0.010911589488387108,
0.02065146341919899,
0.03141658753156662,
-0.0036844920832663774,
0.039472125470638275,
0.03266153484582901,
0.023214589804410934,
-0.03357693925499916,
-0.0047417813912034035
] |
725,605 | awpy.parser.demoparser | remove_warmups | Removes warmup rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
| def remove_warmups(self) -> None:
"""Removes warmup rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute is None
"""
if self.json:
cleaned_rounds = []
# Remove warmups where the demo may have started recording in the middle of a warmup round
if "warmupChanged" in self.json["matchPhases"]:
if len(self.json["matchPhases"]["warmupChanged"] or []) > 1:
last_warmup_changed = self.json["matchPhases"]["warmupChanged"][1] # type: ignore[index]
for r in self.json["gameRounds"] or []:
if (r["startTick"] > last_warmup_changed) and (
not r["isWarmup"]
):
cleaned_rounds.append(r)
if r["startTick"] == last_warmup_changed:
cleaned_rounds.append(r)
else:
for r in self.json["gameRounds"] or []:
if not r["isWarmup"]:
cleaned_rounds.append(r)
self.json["gameRounds"] = cleaned_rounds
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
0.013815740123391151,
0.01262268703430891,
-0.06039946526288986,
0.010773909278213978,
-0.029525794088840485,
-0.023004982620477676,
-0.044953521341085434,
0.08327694982290268,
0.051292188465595245,
0.04174776002764702,
-0.046337828040122986,
0.06192948669195175,
0.0109105184674263,
0.031146889552474022,
0.007354126777499914,
-0.014717360958456993,
0.043897077441215515,
0.035463739186525345,
0.02876078337430954,
-0.10134578496217728,
0.026174316182732582,
0.013597165234386921,
-0.005550885573029518,
0.129323348402977,
-0.009990683756768703,
0.024097856134176254,
0.008560840971767902,
0.030509380623698235,
0.0022039611358195543,
0.00035859906347468495,
-0.017121681943535805,
0.0018123482586815953,
0.0031329034827649593,
-0.0006392170325852931,
-0.0020889819134026766,
-0.03857842832803726,
-0.008283069357275963,
-0.0022938954643905163,
-0.16873964667320251,
-0.05413365736603737,
0.0217299647629261,
0.001813486684113741,
-0.008096369914710522,
-0.0014150432543829083,
0.03590088710188866,
0.019981367513537407,
0.015099866315722466,
0.07373251765966415,
-0.0010570134036242962,
-0.05198433995246887,
0.00037169078132137656,
0.03948915749788284,
-0.012048928067088127,
0.1301247775554657,
-0.012012499384582043,
-0.019999582320451736,
-0.05646512284874916,
0.003886530641466379,
0.05894229933619499,
-0.056756552308797836,
-0.06477095931768417,
-0.008629145100712776,
-0.009061741642653942,
-0.0158284492790699,
0.04549995809793472,
-0.014453249983489513,
-0.041893478482961655,
0.026483964174985886,
0.0027230759151279926,
-0.04229419678449631,
-0.014981471933424473,
0.043387070298194885,
0.020163511857390404,
0.0650988221168518,
-0.02424357272684574,
-0.02125638537108898,
-0.04418851062655449,
-0.029452936723828316,
0.0033355404157191515,
-0.05712084472179413,
0.03752198442816734,
0.03471694141626358,
-0.021566033363342285,
-0.021147098392248154,
-0.040472742170095444,
-0.040472742170095444,
0.04721212759613991,
-0.013961456716060638,
-0.03861485794186592,
-0.05264006555080414,
-0.004162025637924671,
0.04706640914082527,
-0.038869861513376236,
-0.033988360315561295,
0.03074616938829422,
0.057302989065647125,
-0.05205719918012619,
-0.020473159849643707,
-0.025937527418136597,
-0.03630160912871361,
0.029452936723828316,
0.03985344618558884,
-0.05406079813838005,
0.007167427334934473,
0.012877690605819225,
0.030054016038775444,
-0.007604576647281647,
-0.027121473103761673,
-0.033988360315561295,
0.060217320919036865,
-0.04564567655324936,
-0.0366658978164196,
-0.04819571226835251,
-0.04229419678449631,
0.054388660937547684,
-0.019052425399422646,
-0.035372667014598846,
-0.00261151185259223,
0.03861485794186592,
-0.009926932863891125,
0.0326404832303524,
-0.01781383529305458,
0.0014412266900762916,
-0.025463948026299477,
0.03570052981376648,
-0.030345449224114418,
-0.003055491717532277,
0.05992588773369789,
0.017067037522792816,
-0.005714816506952047,
-0.04112846404314041,
0.008009850978851318,
-0.042330626398324966,
-0.020473159849643707,
-0.028596851974725723,
-0.01587398536503315,
0.05650154873728752,
-0.014517000876367092,
0.048414286226034164,
0.02619253098964691,
0.025482162833213806,
0.005131951067596674,
0.024662507697939873,
-0.008305837400257587,
-0.00304183061234653,
-0.03376978635787964,
-0.0633137971162796,
0.023478562012314796,
-0.02475357986986637,
0.023096056655049324,
-0.009289423003792763,
0.012067142874002457,
0.057703711092472076,
-0.04262205958366394,
0.02036387287080288,
-0.036957331001758575,
-0.02280462346971035,
0.02284105308353901,
-0.014526107348501682,
-0.026611465960741043,
0.027449334040284157,
0.02376999519765377,
0.044334229081869125,
-0.033532995730638504,
-0.041966333985328674,
0.03457122668623924,
-0.010801231488585472,
-0.0003210315480828285,
-0.021620677784085274,
0.04007202014327049,
0.013214659877121449,
0.03238547965884209,
0.005810443311929703,
0.021165313199162483,
0.0027822733391076326,
0.028870070353150368,
-0.03376978635787964,
-0.001756566227413714,
-0.012832154519855976,
-0.007021711207926273,
-0.07970689237117767,
-0.014298425987362862,
-0.012458755634725094,
-0.04029059782624245,
-0.02136567234992981,
-0.02335106022655964,
0.012221966870129108,
-0.028560422360897064,
-0.004744891542941332,
0.033478353172540665,
-0.002946204273030162,
0.018533309921622276,
0.016693640500307083,
-0.0061975023709237576,
0.07092747837305069,
0.0025409304071217775,
0.008287622593343258,
-0.007700203452259302,
0.021638890728354454,
-0.06575454771518707,
-0.10426011681556702,
-0.0237882100045681,
0.01678471267223358,
-0.04921572655439377,
-0.0018214555457234383,
-0.030418306589126587,
-0.053222931921482086,
-0.00038819771725684404,
-0.00472667720168829,
0.03916129469871521,
0.0037339837290346622,
0.00890236347913742,
0.06965246051549911,
0.00014201660815160722,
0.06316807866096497,
-0.07919688522815704,
0.05497152730822563,
0.025099657475948334,
0.013906813226640224,
-0.01440771296620369,
-0.08560840785503387,
-0.0507093220949173,
-0.06874173134565353,
-0.028651494532823563,
-0.0766468495130539,
0.053732939064502716,
-0.007964313961565495,
0.06684742122888565,
0.02325998619198799,
-0.05865086615085602,
0.014152709394693375,
-0.04360564425587654,
0.016547923907637596,
-0.03269512578845024,
-0.028633281588554382,
-0.011010698974132538,
-0.008255747146904469,
-0.026429319754242897,
0.06258521229028702,
-0.07671970874071121,
0.02274997904896736,
-0.04418851062655449,
0.00019239123503211886,
0.013469663448631763,
0.00395483523607254,
-0.00021188650862313807,
0.014252889901399612,
-0.029361862689256668,
0.018451344221830368,
0.01842402294278145,
0.0743153840303421,
0.04396993666887283,
0.06112804636359215,
0.03883343189954758,
0.015746483579277992,
-0.08087262511253357,
-0.009043526835739613,
-0.006088214926421642,
0.008324051275849342,
-0.03234905004501343,
0.036993760615587234,
-0.04903358221054077,
0.0017986873863264918,
0.03433443605899811,
-0.048305001109838486,
0.02876078337430954,
0.021201742812991142,
0.017139896750450134,
-0.031456537544727325,
-0.011693743988871574,
0.014753789640963078,
-0.08232978731393814,
-0.004690248053520918,
-0.0348808728158474,
-0.027631480246782303,
0.08699271827936172,
0.0011668698862195015,
-0.005350525490939617,
0.004191624466329813,
0.04477137699723244,
0.04848714545369148,
-0.04313206672668457,
0.07642827183008194,
0.012395004741847515,
0.03730341047048569,
-0.01778651401400566,
-0.0023587848991155624,
0.04666569083929062,
0.008187443017959595,
-0.008310390636324883,
0.0438242182135582,
-0.026921112090349197,
-0.0014867631252855062,
-0.011857675388455391,
0.01729471981525421,
-0.015072544105350971,
-0.005459812935441732,
-0.01836027204990387,
-0.019434930756688118,
-0.01044604741036892,
0.028050415217876434,
-0.02577359601855278,
0.024188930168747902,
0.022112470120191574,
-0.020054224878549576,
0.03486265987157822,
0.010236579924821854,
-0.02280462346971035,
-0.0028300865087658167,
-0.01561898086220026,
-0.04644711688160896,
-0.04105560854077339,
0.029616866260766983,
-0.021474961191415787,
-0.00006560085603268817,
-0.02677539549767971,
0.033423710614442825,
0.03575517237186432,
0.016994180157780647,
0.0033992913085967302,
-0.006325004156678915,
-0.04571853205561638,
0.0024453040678054094,
0.057266563177108765,
0.039452727884054184,
-0.08262122422456741,
0.0033446475863456726,
-0.005801335908472538,
-0.013706453144550323,
-0.006661973427981138,
-0.05952516570687294,
-0.07402395457029343,
-0.019179927185177803,
0.02528180181980133,
0.04036345332860947,
-0.02131102979183197,
0.02684825472533703,
0.00004703054946730845,
0.018132589757442474,
0.015081651508808136,
0.02471715211868286,
0.01512718852609396,
0.009763001464307308,
0.03223976120352745,
0.058796584606170654,
0.013824847526848316,
0.059160877019166946,
0.007035371847450733,
0.018706347793340683,
0.02289569564163685,
0.024443933740258217,
0.018742777407169342,
0.03861485794186592,
0.05693870037794113,
0.10324010252952576,
-0.014526107348501682,
-0.016265597194433212,
-0.0218210369348526,
0.0034425510093569756,
-0.028360063210129738,
-0.01890670880675316,
-0.015728268772363663,
-0.025154300034046173,
0.034024789929389954,
0.020418517291545868,
-0.03194832801818848,
-0.0053277574479579926,
-0.07832258939743042,
-0.016511494293808937,
-0.021693535149097443,
-0.04815928265452385,
-0.025372875854372978,
-0.017531508579850197,
-0.028997572138905525,
0.024480361491441727,
0.04251277074217796,
0.06936102360486984,
0.037922702729701996,
-0.02284105308353901,
0.06863244622945786,
0.010455154813826084,
0.051365043967962265,
-0.03956201300024986,
-0.010491583496332169,
0.04819571226835251,
0.00694885291159153,
-0.07151034474372864,
-0.05650154873728752,
-0.023460347205400467,
-0.048341430723667145,
0.03610124811530113,
-0.015546122565865517,
-0.006616437342017889,
0.04353278875350952,
-0.026156101375818253,
0.04826857149600983,
-0.03458943963050842,
0.009175581857562065,
-0.021493175998330116,
0.026538606733083725,
0.003904745215550065,
-0.03065509721636772,
0.005141058005392551,
0.0008646221831440926,
-0.035955533385276794,
-0.06291307508945465,
-0.020199941471219063,
0.04116489365696907,
0.016047023236751556,
0.01290501281619072,
0.026921112090349197,
-0.03879700228571892,
-0.030964743345975876,
0.009239332750439644,
-0.004177963826805353,
-0.03364228457212448,
0.023897496983408928,
0.007513504009693861,
-0.029962943866848946,
0.03934343904256821,
0.05271292105317116,
0.04171133041381836,
-0.002816425636410713,
0.03522694855928421,
0.010673729702830315,
-0.0213292445987463,
0.015700947493314743,
-0.021529603749513626,
-0.02872435376048088,
0.013934134505689144,
0.007859580218791962,
-0.031511180102825165,
-0.017677225172519684,
-0.03701197728514671,
0.00912549253553152,
0.0037317071110010147,
-0.028105059638619423,
-0.06316807866096497,
-0.046410687267780304,
0.0018317012581974268,
-0.002650217851623893,
-0.018505988642573357,
0.041383467614650726,
0.017240077257156372,
0.03274977207183838,
0.011620886623859406,
-0.016638996079564095,
0.0316568985581398,
0.04298635199666023,
-0.0024657954927533865,
-0.024225357919931412,
0.0037954580038785934,
-0.039452727884054184,
-0.02533644624054432,
0.05843229219317436,
-0.021201742812991142,
-0.011311238631606102,
0.059743739664554596,
-0.006133751478046179,
-0.036410894244909286,
-0.00014870477025397122,
0.00969925057142973,
-0.003907022066414356,
0.012231074273586273,
-0.0017816112376749516,
0.1218918040394783,
0.001012615393847227,
0.008232979103922844,
-0.04615568369626999,
0.012631794437766075,
0.031547609716653824,
-0.03520873561501503,
0.027995770797133446,
-0.03610124811530113,
0.055408675223588943,
-0.0039889877662062645,
-0.02672075293958187,
0.009717465378344059,
0.07584540545940399,
0.04925215616822243,
0.02479000948369503,
-0.01636577770113945,
-0.0074133239686489105,
-0.022567834705114365,
-0.0131691237911582,
-0.0033537549898028374,
-0.06426095217466354,
-0.08262122422456741,
0.050818607211112976,
-0.057266563177108765,
-0.03367871418595314,
-0.038469139486551285,
0.016465958207845688,
0.008533518761396408,
-0.054388660937547684,
-0.013251088559627533,
0.01888849399983883,
0.01979922130703926,
0.0810183435678482,
-0.02081923745572567,
0.01642042212188244,
0.04710283875465393,
-0.034917302429676056,
-0.008433339186012745,
0.00756359426304698,
-0.010573549196124077,
0.010327653028070927,
0.024443933740258217,
-0.033915501087903976,
0.003702108282595873,
-0.005081860814243555,
0.007836812175810337,
0.036028388887643814,
0.013305732980370522,
0.017230968922376633,
-0.010318545624613762,
0.0006682464736513793,
0.01644774340093136,
0.0009733402985148132,
0.002461241791024804,
-0.0010974269825965166,
0.0034220595844089985,
0.03280441462993622,
0.02528180181980133,
-0.01941671594977379,
0.00395483523607254,
-0.0006346633890643716,
0.031511180102825165,
0.013214659877121449,
0.013943241909146309,
0.025882882997393608,
-0.004162025637924671,
-0.021165313199162483,
0.025154300034046173,
0.037740558385849,
0.013442342169582844,
0.010737480595707893,
-0.09136421233415604,
0.044807806611061096,
0.044334229081869125,
0.047394271939992905,
-0.0654631108045578,
0.05096432566642761,
-0.042877063155174255,
-0.06637383997440338,
0.04600996524095535,
-0.018597060814499855,
0.0634959414601326,
-0.04273134469985962,
0.027012186124920845,
-0.03123796172440052,
-0.01114730816334486,
0.021201742812991142,
-0.012094465084373951,
0.07380537688732147,
-0.06240306794643402,
0.004136980976909399,
0.016620781272649765,
0.020728163421154022,
0.03364228457212448,
-0.02027280069887638,
-0.03458943963050842,
0.030163303017616272,
-0.012786617502570152,
-0.041383467614650726,
0.032950129359960556,
-0.07788544148206711,
0.08633699268102646,
-0.011857675388455391,
-0.011557135730981827,
0.051911480724811554,
-0.001969448756426573,
0.02967151068150997,
-0.030600452795624733,
-0.08619127422571182,
-0.007035371847450733,
0.0003144856891594827,
0.019489573314785957,
0.012322146445512772,
-0.03431622311472893,
0.029452936723828316,
0.012194644659757614,
0.02930722013115883,
-0.07183820754289627,
-0.024061426520347595,
-0.030910100787878036,
0.018451344221830368,
0.02923436090350151,
0.012531613931059837,
0.01512718852609396,
0.014025207608938217,
0.05766728147864342,
0.012768403626978397,
-0.024207143113017082,
-0.008346820250153542,
0.0636780858039856,
0.04506281018257141,
-0.04032702371478081,
-0.03411586210131645,
0.0735139474272728,
0.014334854669868946,
0.031984757632017136,
0.01876099221408367,
-0.011329453438520432,
-0.0012499738950282335,
0.0091664744541049,
-0.054242946207523346,
-0.0036224196664988995,
-0.019034210592508316,
-0.012240180745720863,
0.02032744325697422,
0.029106859117746353,
-0.01642042212188244,
-0.021019596606492996,
0.04396993666887283,
-0.025482162833213806,
0.03069152496755123,
-0.04553638771176338,
0.022039610892534256,
-0.02533644624054432,
0.0497257374227047,
-0.007345019374042749,
-0.02870613895356655,
-0.015573444776237011,
-0.008255747146904469,
-0.03777698799967766,
0.008123691193759441,
0.03358763828873634,
-0.05737584829330444,
-0.056282974779605865,
0.029653295874595642,
-0.06189305707812309,
0.014544322155416012,
-0.06987103074789047,
-0.07526253908872604,
0.05187505483627319,
-0.014034315012395382,
-0.019107067957520485,
0.005723923910409212,
-0.028086844831705093,
0.09449711441993713,
-0.055299390107393265,
0.025536807253956795,
0.010555334389209747,
-0.07081819325685501,
0.008119137957692146,
-0.025609664618968964,
0.02621074579656124,
0.0031329034827649593,
0.009444246999919415,
-0.02868792414665222,
-0.031401894986629486,
-0.03726698085665703,
0.0028187024872750044,
0.018132589757442474,
-0.011074449867010117,
0.005733031313866377,
-0.018724562600255013,
-0.006666527129709721,
-0.027412906289100647,
-0.04655640199780464,
0.02821434661746025,
-0.035919103771448135,
-0.005487134680151939,
0.06090947240591049,
-0.0014753789873793721,
0.010036219842731953,
0.02976258285343647,
0.04203919321298599,
0.03234905004501343,
-0.031055817380547523,
-0.02382463775575161,
0.03327799215912819,
-0.003237637225538492,
-0.021584248170256615,
0.02129281498491764,
-0.04116489365696907,
0.05963445454835892,
0.006060893181711435,
-0.04273134469985962,
-0.008324051275849342,
0.03471694141626358,
-0.035008374601602554,
-0.03586445748806,
-0.00890236347913742,
0.07671970874071121,
-0.050308600068092346,
0.0016859847819432616,
-0.01741311512887478,
0.07092747837305069,
-0.041347041726112366,
-0.049361445009708405,
-0.030509380623698235,
0.058760154992341995,
-0.012841260991990566,
-0.061237335205078125,
-0.006265806965529919,
0.010109078139066696,
-0.008879595436155796,
0.008014404214918613,
0.033988360315561295,
0.0436420738697052,
-0.02675718069076538,
-0.014416820369660854,
0.017959551885724068,
0.04699355363845825,
-0.0036907242611050606,
0.04214848205447197,
-0.007158320397138596,
-0.01190321147441864,
0.018578846007585526,
0.07854115962982178,
-0.01580112613737583,
0.019726363942027092,
0.029034001752734184,
-0.01835116371512413,
-0.0020184004679322243,
-0.018260091543197632,
-0.00840601697564125,
-0.006161073222756386,
-0.03570052981376648,
0.06309521943330765,
-0.03508123382925987,
-0.0014298425521701574,
-0.003588267369195819,
0.01532754860818386,
0.0009522797190584242,
-0.05959802493453026,
-0.004508102312684059,
-0.006461613345891237,
-0.037485554814338684,
0.01728561334311962,
0.0012533890549093485,
-0.0026843701489269733,
0.060836613178253174,
-0.0013080327771604061,
0.009908718056976795,
0.012076250277459621,
0.05617368966341019,
-0.015027008019387722,
-0.05143790319561958,
-0.034534797072410583,
0.00943513959646225,
-0.023642493411898613,
-0.01630202680826187,
0.014016100205481052,
0.04994431138038635,
-0.00048353950842283666,
-0.017467757686972618,
0.005414276383817196,
0.05788585543632507,
-0.005045431666076183,
0.037558414041996,
0.04120132327079773,
0.027922913432121277,
0.044953521341085434,
-0.047357842326164246,
0.004927037283778191,
0.03999916464090347,
-0.03701197728514671,
-0.013087158091366291,
-0.01515450980514288,
-0.02479000948369503,
0.0263382475823164,
0.03557302802801132,
0.04724855720996857,
0.015081651508808136,
-0.011092663742601871
] |
725,606 | awpy.parser.demoparser | renumber_rounds | Renumbers the rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute has a "gameRounds" key.
| def renumber_rounds(self) -> None:
"""Renumbers the rounds.
Raises:
AttributeError: Raises an AttributeError if the .json attribute has a "gameRounds" key.
"""
if self.json and self.json["gameRounds"]:
for i, r in enumerate(self.json["gameRounds"]):
self.json["gameRounds"][i]["roundNum"] = i + 1
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
-0.0019531205762177706,
0.003806422231718898,
-0.0666523203253746,
0.05057484284043312,
-0.02864133194088936,
-0.011632213369011879,
-0.04507371783256531,
0.07087576389312744,
0.09469030052423477,
0.00005354861059458926,
-0.009103471413254738,
-0.0020717938896268606,
0.017390647903084755,
0.005563232582062483,
-0.0010608516167849302,
-0.0001803669729270041,
0.0749572366476059,
0.06026391685009003,
-0.04535764828324318,
-0.06342262774705887,
0.02354835532605648,
0.0004322707245592028,
0.03829491510987282,
0.08801797032356262,
-0.00785684585571289,
0.008908269926905632,
0.05486926808953285,
0.02030091919004917,
0.06746861338615417,
-0.016441259533166885,
-0.03419569134712219,
-0.01814483292400837,
-0.012262181378901005,
0.0318000391125679,
-0.010531988926231861,
-0.02935115434229374,
-0.08191350102424622,
-0.006769930478185415,
-0.08801797032356262,
0.002684015780687332,
0.0364493764936924,
0.026121461763978004,
-0.03174680471420288,
-0.003482565749436617,
-0.010265805758535862,
0.003007872262969613,
0.009431764483451843,
0.011250684037804604,
0.034266673028469086,
-0.04638689011335373,
-0.025802042335271835,
-0.02956410124897957,
-0.02452436275780201,
0.061541598290205,
-0.0013164986157789826,
-0.022856280207633972,
-0.02984802983701229,
0.01576692797243595,
0.0005376349436119199,
-0.0692431703209877,
-0.028570348396897316,
-0.038436878472566605,
-0.05540163442492485,
-0.01495063304901123,
0.05511770397424698,
-0.0062508732080459595,
-0.0039860960096120834,
0.025003492832183838,
0.032527606934309006,
-0.06541012972593307,
0.02376130223274231,
0.08532064408063889,
0.03032715991139412,
-0.007803609129041433,
-0.03588151931762695,
0.08702421933412552,
-0.03705272451043129,
0.0012710256269201636,
0.022057728841900826,
-0.008198448456823826,
0.0446123331785202,
0.03211946040391922,
0.02322893589735031,
-0.005523304920643568,
-0.06501972675323486,
-0.04617394506931305,
0.06810745596885681,
-0.01109984703361988,
-0.040069472044706345,
-0.05046836659312248,
0.00995525810867548,
0.010869154706597328,
-0.006840912625193596,
-0.10803496092557907,
0.007972192019224167,
-0.009156708605587482,
-0.04102773219347,
-0.048267919570207596,
-0.029280170798301697,
-0.06235789135098457,
-0.028517112135887146,
0.0385078601539135,
-0.06835588812828064,
-0.03889826312661171,
-0.0003712703473865986,
-0.014134337194263935,
0.0002505173906683922,
-0.02241264097392559,
-0.027629833668470383,
0.07886125892400742,
-0.06406146287918091,
-0.030096467584371567,
-0.06423892080783844,
-0.012989749200642109,
0.04968756437301636,
0.004263370297849178,
0.02853485755622387,
0.015882274135947227,
0.08936662971973419,
0.0327937938272953,
0.0574956089258194,
-0.012279926799237728,
0.05082327872514725,
0.028304165229201317,
0.0004350434464868158,
0.01141926646232605,
-0.030753053724765778,
0.06775254011154175,
0.06956259161233902,
-0.04425742104649544,
0.054017480462789536,
-0.042234428226947784,
-0.012031489051878452,
0.006960695143789053,
0.02674255706369877,
0.04269581288099289,
-0.01207585260272026,
0.029013987630605698,
0.0441509485244751,
0.014098846353590488,
0.05107171833515167,
-0.007728190626949072,
-0.016104094684123993,
-0.01740839332342148,
0.02739914320409298,
0.010159332305192947,
-0.05593400076031685,
0.11009344458580017,
-0.03520718961954117,
-0.015917766839265823,
0.016805043444037437,
0.01991051621735096,
0.09887824952602386,
0.013016367331147194,
0.0010164877166971564,
-0.010070604272186756,
-0.022377150133252144,
0.013894772157073021,
-0.030912762507796288,
-0.014498121105134487,
0.017230937257409096,
0.008029865100979805,
0.059660568833351135,
-0.05199448764324188,
-0.017230937257409096,
0.016104094684123993,
-0.03847236931324005,
-0.06285476684570312,
-0.023015988990664482,
0.012812293134629726,
0.016645334661006927,
-0.01123293861746788,
-0.018473125994205475,
0.002013011835515499,
0.050645824521780014,
-0.029883520677685738,
-0.03135640174150467,
-0.00709378719329834,
-0.013495497405529022,
0.01888127438724041,
-0.029599592089653015,
-0.03733665496110916,
0.01608634926378727,
-0.02225293032824993,
-0.03733665496110916,
0.01074493583291769,
0.0008135229581966996,
-0.023512864485383034,
-0.02241264097392559,
-0.03680428862571716,
0.057815030217170715,
0.06232240051031113,
-0.0011002246756106615,
-0.018313417211174965,
0.047771044075489044,
-0.011676577851176262,
-0.020957505330443382,
0.014844159595668316,
0.009121216833591461,
0.0019309385679662228,
-0.08567555993795395,
0.007173642050474882,
0.008198448456823826,
0.0029479810036718845,
-0.025092219933867455,
-0.06640388071537018,
-0.04883577674627304,
-0.007457571104168892,
0.036875270307064056,
-0.02887202426791191,
-0.026014989241957664,
0.021418889984488487,
0.08503671735525131,
0.0348522774875164,
0.015154707245528698,
-0.03201298788189888,
0.059873513877391815,
-0.037585094571113586,
0.027044231072068214,
-0.036591339856386185,
-0.026352154091000557,
0.02127692475914955,
-0.04762908071279526,
-0.0903603807091713,
-0.07140813022851944,
0.0031986369285732508,
-0.025784296914935112,
0.023424137383699417,
0.0018200288759544492,
0.03701723366975784,
-0.013273677788674831,
-0.021241433918476105,
-0.028463875874876976,
-0.03378754481673241,
-0.05273979902267456,
-0.0851786807179451,
-0.03911121189594269,
-0.025589095428586006,
0.038614336401224136,
0.0014518084935843945,
0.007288988213986158,
-0.002227067481726408,
-0.034266673028469086,
0.018206942826509476,
-0.03368106856942177,
-0.03423118218779564,
-0.0026640519499778748,
-0.051036227494478226,
-0.0315338559448719,
0.015225688926875591,
0.06792999804019928,
0.01914745755493641,
0.008526740595698357,
0.056288912892341614,
-0.01164108607918024,
-0.03494100645184517,
-0.08894073963165283,
0.02945762686431408,
-0.005842725280672312,
0.012661456130445004,
0.05323667451739311,
-0.029386645182967186,
-0.01247512735426426,
-0.04691925644874573,
-0.03265182673931122,
0.03211946040391922,
-0.009431764483451843,
0.04021143540740013,
0.023317662999033928,
-0.021028487011790276,
0.030238430947065353,
-0.09575503319501877,
-0.020531611517071724,
-0.004312170669436455,
0.034053727984428406,
0.05348511412739754,
0.04915519803762436,
0.06839138269424438,
-0.004591663368046284,
-0.007532989606261253,
0.054123952984809875,
-0.002513214712962508,
0.05007796734571457,
-0.03628966584801674,
0.05327216535806656,
-0.004760246258229017,
0.008442449383437634,
0.08198448270559311,
-0.02723943255841732,
0.0070671685971319675,
0.07080477476119995,
-0.031924258917570114,
0.005035302136093378,
0.053414132446050644,
0.018792547285556793,
-0.04269581288099289,
-0.06622642278671265,
-0.00007313110836548731,
0.018056105822324753,
0.011703195981681347,
-0.023956503719091415,
-0.005248249042779207,
0.03423118218779564,
-0.014489248394966125,
-0.04219893738627434,
0.0031387456692755222,
0.01980404369533062,
-0.009564856067299843,
-0.02012346312403679,
-0.007488625589758158,
0.003941731993108988,
0.018313417211174965,
0.011073228903114796,
-0.033556852489709854,
0.05327216535806656,
-0.04716769605875015,
0.012936512008309364,
0.028126711025834084,
0.006135527044534683,
-0.019662078469991684,
-0.015287798829376698,
-0.008402521722018719,
0.004822355695068836,
0.02420494146645069,
0.061612579971551895,
-0.008287175558507442,
0.002655179239809513,
0.03928866609930992,
-0.04649336263537407,
0.02621019072830677,
-0.036768797785043716,
-0.06757508963346481,
-0.00358016649261117,
-0.004234533756971359,
0.01909422129392624,
-0.02805572748184204,
0.029067223891615868,
-0.009777802973985672,
-0.014631212688982487,
0.011303920298814774,
0.003245219122618437,
-0.049403633922338486,
0.033237431198358536,
-0.0006715584895573556,
0.017177700996398926,
0.050539351999759674,
0.05153310298919678,
0.012554982677102089,
-0.0022093220613896847,
0.014231937937438488,
-0.04688376560807228,
0.017807668074965477,
0.0543723925948143,
0.0351184606552124,
-0.014223065227270126,
-0.022501368075609207,
0.03476354852318764,
-0.08560457080602646,
0.03694625198841095,
-0.06132864952087402,
-0.050858769565820694,
-0.01109984703361988,
-0.002349068410694599,
0.01682278886437416,
0.013513242825865746,
0.0009643601952120662,
-0.0279492549598217,
-0.056501857936382294,
0.010292423889040947,
0.01872156374156475,
-0.02528742142021656,
-0.03928866609930992,
-0.036662325263023376,
0.01834890805184841,
0.02707972191274166,
0.05458533763885498,
0.06640388071537018,
0.021401142701506615,
0.018597345799207687,
-0.06047686189413071,
0.025482622906565666,
-0.01827792450785637,
-0.01845538057386875,
0.03543788194656372,
0.01840214431285858,
-0.0016070820856839418,
-0.02544713020324707,
-0.04727416858077049,
0.004600536078214645,
-0.05675029754638672,
-0.026281172409653664,
0.016547733917832375,
0.05671480670571327,
0.039750050753355026,
-0.052597835659980774,
0.022430386394262314,
-0.0001036312896758318,
-0.017293047159910202,
0.005838288925588131,
0.023069225251674652,
-0.02739914320409298,
-0.04095675051212311,
0.01367295254021883,
-0.005731815472245216,
-0.025109965354204178,
0.01264371071010828,
0.020425137132406235,
0.04801947996020317,
-0.007444261573255062,
-0.05529516190290451,
-0.05036189407110214,
0.03487002104520798,
0.012040361762046814,
-0.011694323271512985,
0.01256385538727045,
0.013664079830050468,
0.014533611945807934,
0.011845160275697708,
-0.011516867205500603,
0.00925430841743946,
0.0162992961704731,
0.04670631140470505,
0.03297124803066254,
0.09461931884288788,
0.004256715998053551,
-0.013726189732551575,
0.047061219811439514,
2.816067592448235e-7,
-0.06271280348300934,
0.06693624705076218,
-0.0013054076116532087,
-0.02397424913942814,
0.024400142952799797,
-0.01579354703426361,
0.052384886890649796,
-0.03612995892763138,
0.00006169354310259223,
-0.04429291561245918,
-0.0692431703209877,
0.0035668571945279837,
0.07737063616514206,
0.0310369823127985,
0.042731303721666336,
0.007781427353620529,
0.04936814308166504,
-0.01605973020195961,
0.02913820743560791,
-0.01877480000257492,
-0.012315417639911175,
-0.015784673392772675,
-0.05224292352795601,
-0.04166657105088234,
-0.007497498299926519,
-0.015695946291089058,
0.0015327726723626256,
-0.024329161271452904,
-0.06349360942840576,
0.050219930708408356,
0.038933753967285156,
-0.025695567950606346,
-0.005603160243481398,
0.006894149351865053,
-0.013823790475726128,
0.03337939456105232,
-0.04113420471549034,
0.032208189368247986,
-0.023299917578697205,
-0.005687451455742121,
-0.038933753967285156,
0.018703818321228027,
0.031161200255155563,
-0.013229314237833023,
0.0236015934497118,
-0.029049478471279144,
-0.017319664359092712,
0.015678200870752335,
0.010185950435698032,
-0.03224368020892143,
-0.0010952337179332972,
0.041489116847515106,
0.02755885198712349,
0.003653366817161441,
-0.018899019807577133,
-0.014152082614600658,
0.021578598767518997,
-0.004496281035244465,
-0.07222442328929901,
-0.0014274083077907562,
0.01592663861811161,
-0.08390100300312042,
-0.025961752980947495,
-0.03536689653992653,
0.008127465844154358,
0.037514109164476395,
-0.04525117576122284,
0.00990202184766531,
0.012368653900921345,
-0.008331540040671825,
-0.009697947651147842,
-0.023832285776734352,
0.009777802973985672,
0.015651581808924675,
0.03256310150027275,
0.013646334409713745,
-0.002068466739729047,
0.031658075749874115,
-0.008579977788031101,
0.03522493317723274,
0.0236015934497118,
-0.008646523579955101,
-0.031924258917570114,
0.0327937938272953,
0.054762791842222214,
0.016104094684123993,
-0.007413207087665796,
-0.0009327509324066341,
0.007963319309055805,
0.022323912009596825,
-0.04322817921638489,
0.015039361082017422,
0.022590095177292824,
-0.07751259952783585,
0.02235940285027027,
0.021791545674204826,
0.007635026704519987,
0.06395499408245087,
0.021667327731847763,
0.03256310150027275,
0.021170450374484062,
0.005527741275727749,
0.015376526862382889,
0.036112211644649506,
0.007985501550137997,
0.03167582303285599,
0.0041058785282075405,
0.023619338870048523,
0.053201183676719666,
-0.058134447783231735,
0.04372505471110344,
0.052278414368629456,
-0.011268429458141327,
0.01136603020131588,
-0.009138962253928185,
-0.02196900174021721,
-0.07041437923908234,
0.015971003100275993,
-0.017364028841257095,
-0.0068586585111916065,
-0.021241433918476105,
-0.03446187451481819,
-0.0251277107745409,
0.015678200870752335,
0.009848784655332565,
-0.05071680620312691,
0.04770006239414215,
-0.027221687138080597,
-0.025535859167575836,
-0.022767551243305206,
0.07637688517570496,
0.004165770020335913,
0.048800285905599594,
-0.008007682859897614,
0.03391176089644432,
-0.017656831070780754,
-0.0016492278082296252,
-0.00008075615187408403,
-0.03918219357728958,
0.04770006239414215,
-0.03554435446858406,
0.03282928466796875,
0.06523267179727554,
-0.035295914858579636,
0.03762058541178703,
-0.028943005949258804,
-0.030078722164034843,
-0.048693813383579254,
-0.01299862191081047,
-0.020904267206788063,
0.0045051537454128265,
-0.001903211115859449,
0.022181948646903038,
0.0028392893727868795,
-0.02180929109454155,
-0.08375903964042664,
-0.030504615977406502,
0.0016924826195463538,
-0.029102716594934464,
0.05071680620312691,
0.031711313873529434,
0.018189197406172752,
-0.07424741983413696,
0.02365482971072197,
-0.01212908886373043,
-0.036662325263023376,
0.004973192699253559,
0.06132864952087402,
0.01850861683487892,
-0.03476354852318764,
-0.050432875752449036,
0.016104094684123993,
0.01220894418656826,
0.024648580700159073,
-0.03124992921948433,
0.030415887013077736,
-0.006769930478185415,
0.014853032305836678,
-0.038330405950546265,
0.005434577353298664,
0.019182948395609856,
0.037088219076395035,
0.029315663501620293,
-0.0076261539943516254,
-0.020158953964710236,
-0.020425137132406235,
-0.005949198268353939,
-0.02030091919004917,
0.016973625868558884,
-0.006929640658199787,
0.0013675170484930277,
0.0025775423273444176,
-0.005013120360672474,
0.016281550750136375,
-0.04830341041088104,
0.01228879950940609,
-0.03364557772874832,
0.006144399754703045,
-0.015403144992887974,
0.014143209904432297,
-0.03066432476043701,
-0.09085725992918015,
0.027683071792125702,
-0.046422380954027176,
0.04450586065649986,
-0.06711370497941971,
-0.08539162576198578,
-0.003034490393474698,
-0.021347906440496445,
-0.013326914049685001,
0.007883463986217976,
-0.01388589944690466,
0.06342262774705887,
-0.02328217215836048,
-0.006650147959589958,
0.03229691460728645,
-0.02771856263279915,
-0.009156708605587482,
0.0013542079832404852,
-0.0015072633977979422,
-0.004190170206129551,
0.010540861636400223,
-0.026352154091000557,
0.02007022686302662,
-0.013903644867241383,
0.01380604412406683,
-0.0029124896973371506,
-0.004341007210314274,
0.05004247650504112,
-0.036591339856386185,
-0.03194200620055199,
-0.02235940285027027,
-0.04727416858077049,
0.03864982724189758,
-0.07765456289052963,
-0.02159634418785572,
0.01798512414097786,
0.010949010029435158,
-0.00025994470342993736,
0.01893451064825058,
0.04887126758694649,
-0.010141586884856224,
-0.026440883055329323,
-0.009644711390137672,
0.06711370497941971,
0.0033672198187559843,
-0.015314416959881783,
0.013841535896062851,
-0.017159955576062202,
0.07517018914222717,
0.03907572105526924,
-0.0007985501433722675,
-0.08943761140108109,
0.04400898516178131,
-0.06388401240110397,
0.0015959911979734898,
0.019218439236283302,
0.07850635051727295,
-0.021578598767518997,
0.03531366214156151,
-0.00533254025503993,
0.07992599904537201,
-0.00590039836242795,
-0.006046799011528492,
-0.010407770052552223,
0.0364493764936924,
-0.046528853476047516,
-0.07453134655952454,
-0.040282417088747025,
0.05944762006402016,
-0.043760545551776886,
0.005860470701009035,
0.05252685397863388,
-0.020158953964710236,
0.04347661882638931,
-0.03847236931324005,
-0.0012588255340233445,
-0.024755053222179413,
-0.031161200255155563,
0.015225688926875591,
-0.0017512647900730371,
-0.011090974323451519,
-0.0005955853266641498,
0.02267882414162159,
-0.019466876983642578,
0.01943138614296913,
-0.018437635153532028,
0.06523267179727554,
0.06892374902963638,
0.012173453345894814,
-0.08461081981658936,
-0.01066508051007986,
-0.04922617971897125,
0.05728266388177872,
0.0006832039798609912,
-0.0012355345534160733,
0.008127465844154358,
0.002013011835515499,
0.07044986635446548,
-0.021614089608192444,
-0.002431141445413232,
0.017026863992214203,
-0.00941401906311512,
-0.03022068552672863,
0.0105231162160635,
-0.08453983813524246,
0.01508372463285923,
0.0010159332305192947,
0.0564308762550354,
0.025695567950606346,
0.03520718961954117,
0.012892148457467556,
-0.004764682613313198,
-0.03217269852757454,
-0.007053859531879425,
-0.012838911265134811,
-0.021827036514878273,
0.004786864388734102,
0.03612995892763138,
-0.02159634418785572,
0.004041551146656275,
0.005647523794323206,
0.061506107449531555,
0.013770553283393383,
0.04383153095841408,
0.007466443814337254,
-0.004221224691718817,
0.049829527735710144,
-0.03879179060459137,
0.033237431198358536,
0.08162956684827805,
0.019005492329597473,
0.018153706565499306,
-0.03059334307909012,
-0.018127087503671646,
0.012847783975303173,
0.023583848029375076,
0.0351184606552124,
-0.011747559532523155,
-0.029280170798301697
] |
725,607 | awpy.parser.demoparser | rescore_rounds | Rescore the rounds based on round end reason.
Raises:
AttributeError: Raises an AttributeError if the .json attribute has a "gameRounds" key.
| def rescore_rounds(self) -> None:
"""Rescore the rounds based on round end reason.
Raises:
AttributeError: Raises an AttributeError if the .json attribute has a "gameRounds" key.
"""
if self.json and self.json["gameRounds"]:
for i, r in enumerate(self.json["gameRounds"]):
if i == 0:
self.json["gameRounds"][i]["tScore"] = 0
self.json["gameRounds"][i]["ctScore"] = 0
if self.json["gameRounds"][i]["winningSide"] == "ct":
self.json["gameRounds"][i]["endCTScore"] = 1
self.json["gameRounds"][i]["endTScore"] = 0
if self.json["gameRounds"][i]["winningSide"] == "t":
self.json["gameRounds"][i]["endCTScore"] = 0
self.json["gameRounds"][i]["endTScore"] = 1
elif i > 0:
self.json["gameRounds"][i]["tScore"] = self.json["gameRounds"][
i - 1
]["endTScore"]
self.json["gameRounds"][i]["ctScore"] = self.json["gameRounds"][
i - 1
]["endCTScore"]
if self.json["gameRounds"][i]["winningSide"] == "ct":
self.json["gameRounds"][i]["endCTScore"] = (
self.json["gameRounds"][i]["ctScore"] + 1
)
self.json["gameRounds"][i]["endTScore"] = self.json[
"gameRounds"
][i]["tScore"]
if self.json["gameRounds"][i]["winningSide"] == "t":
self.json["gameRounds"][i]["endCTScore"] = self.json[
"gameRounds"
][i]["ctScore"]
self.json["gameRounds"][i]["endTScore"] = (
self.json["gameRounds"][i]["tScore"] + 1
)
else:
self.logger.error(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
raise AttributeError(
"JSON not found. Run .parse() or .read_json() if JSON already exists"
)
| (self) -> NoneType | [
0.012456012889742851,
-0.011003119871020317,
-0.0888393223285675,
0.0390152670443058,
-0.006982215214520693,
-0.05134172365069389,
-0.046936776489019394,
0.07440292835235596,
0.09890777617692947,
-0.048528481274843216,
0.007528207264840603,
0.035961415618658066,
0.029261451214551926,
0.004742724355310202,
-0.004439652431756258,
0.02702195942401886,
0.055117394775152206,
0.04227270931005478,
-0.03533213958144188,
-0.04086608812212944,
0.054784249514341354,
-0.01148433331400156,
0.0075976126827299595,
0.09276305884122849,
0.0012273244792595506,
0.009661275893449783,
0.06977588683366776,
-0.00709789153188467,
0.0399036630988121,
-0.006510256323963404,
-0.03248187527060509,
0.011169693432748318,
-0.021673092618584633,
0.024671420454978943,
-0.021784141659736633,
-0.03709041699767113,
-0.07610568404197693,
0.017018282786011696,
-0.10905026644468307,
-0.0005219888407737017,
-0.022598503157496452,
0.013177832588553429,
-0.03986664488911629,
-0.005728285294026136,
-0.01269662007689476,
-0.0036252920981496572,
-0.0213769618421793,
0.043938446789979935,
0.04989808425307274,
-0.07177476584911346,
-0.01627795398235321,
-0.052119068801403046,
-0.04086608812212944,
0.07151565700769424,
-0.02618909254670143,
0.030445976182818413,
-0.055228445678949356,
0.040458906441926956,
-0.0015292393509298563,
-0.08313880115747452,
-0.009272604249417782,
-0.03279651701450348,
-0.023042699322104454,
0.02966863103210926,
0.01753651164472103,
0.0017941378755494952,
-0.037238482385873795,
0.005612609442323446,
0.006241887807846069,
-0.03523959591984749,
0.011465825140476227,
0.0762537494301796,
0.027743779122829437,
-0.02654074691236019,
-0.036424122750759125,
0.06640738993883133,
-0.051082611083984375,
-0.027854828163981438,
0.019248519092798233,
-0.009716800414025784,
0.05115664377808571,
0.02803991176187992,
0.04652959480881691,
-0.02852112427353859,
-0.040940120816230774,
-0.03697936609387398,
0.06481568515300751,
0.00814823154360056,
-0.06277978420257568,
-0.0373680405318737,
0.011845243163406849,
0.03511004149913788,
-0.00831017829477787,
-0.06270575523376465,
0.017453225329518318,
0.0012203839141875505,
-0.060669854283332825,
-0.07640181481838226,
-0.062039460986852646,
-0.07270018011331558,
-0.00103935063816607,
0.05585772171616554,
-0.049009691923856735,
-0.028095435351133347,
0.02896532043814659,
-0.025670861825346947,
-0.0011446160497143865,
-0.012900209985673428,
-0.015991078689694405,
0.048787593841552734,
-0.07817859947681427,
-0.029168911278247833,
-0.07943715900182724,
-0.020525585860013962,
0.027299582958221436,
-0.01091057900339365,
-0.014954619109630585,
0.04527103900909424,
0.05171188712120056,
0.022542977705597878,
0.04464175924658775,
-0.007366260513663292,
0.06333503127098083,
0.01915597915649414,
0.0021353827323764563,
-0.0001297742419410497,
-0.014371611177921295,
0.06622231006622314,
0.01275214459747076,
-0.022320879623293877,
0.021876683458685875,
-0.03646113723516464,
-0.008819153532385826,
0.013751586899161339,
0.01195629220455885,
0.031797073781490326,
0.01165090687572956,
0.03501749783754349,
0.05023123323917389,
-0.0179066751152277,
0.07558745890855789,
0.0032505011186003685,
-0.007944641634821892,
-0.055931754410266876,
0.033518336713314056,
0.001173535012640059,
-0.06059582158923149,
0.07066427916288376,
-0.027040468528866768,
0.023024190217256546,
0.02517114020884037,
0.008490633219480515,
0.035165563225746155,
0.032944582402706146,
0.018424905836582184,
-0.01766606979072094,
-0.023690486326813698,
-0.007630002219229937,
-0.033869992941617966,
-0.009596497751772404,
-0.011410300619900227,
-0.012779906392097473,
0.046011365950107574,
-0.07173775136470795,
0.00703774020075798,
0.0369238443672657,
-0.04630749672651291,
-0.0358133502304554,
-0.04482684284448624,
0.012363472022116184,
-0.006875793449580669,
-0.022950157523155212,
-0.0540069043636322,
-0.005344240460544825,
0.03997769579291344,
-0.0295390747487545,
-0.02585594356060028,
-0.008101960644125938,
-0.026263125240802765,
0.013288881629705429,
-0.02195071615278721,
-0.055598609149456024,
-0.006885047536343336,
-0.017342176288366318,
-0.023931091651320457,
0.024634404107928276,
0.03594290837645531,
-0.013131562620401382,
-0.004742724355310202,
0.011947037652134895,
0.009772324934601784,
0.02180265076458454,
-0.03061254881322384,
-0.0021874369122087955,
0.03337027132511139,
-0.019600175321102142,
0.016213176771998405,
0.04090310260653496,
0.015667185187339783,
-0.0002531862701289356,
-0.11067898571491241,
-0.0021087771747261286,
0.023949600756168365,
-0.026226108893752098,
-0.024782469496130943,
-0.07240404933691025,
-0.04471579194068909,
0.005705150309950113,
0.020988289266824722,
-0.030186861753463745,
-0.0711825042963028,
0.016083618625998497,
0.04512297362089157,
0.04164343327283859,
0.04719588905572891,
-0.020951272919774055,
0.05733837932348251,
-0.013261119835078716,
-0.004347111564129591,
-0.022357895970344543,
-0.04619644582271576,
-0.035739317536354065,
-0.04630749672651291,
-0.07377365231513977,
-0.03627605736255646,
-0.004606226459145546,
-0.024652911350131035,
0.05034228041768074,
0.012946479953825474,
0.009735308587551117,
-0.0165278147906065,
-0.015389561653137207,
0.010605193674564362,
-0.06555601954460144,
-0.03013133630156517,
-0.03771969676017761,
-0.006584289483726025,
-0.005450662691146135,
0.01824907772243023,
0.005982772912830114,
0.01800847053527832,
0.0022915455047041178,
-0.037238482385873795,
-0.004284646362066269,
-0.046825725585222244,
-0.043716348707675934,
0.0399036630988121,
-0.02239491231739521,
-0.02792886085808277,
0.03288905695080757,
0.0573013611137867,
0.012946479953825474,
0.0215990599244833,
0.00941604282706976,
-0.0013823305489495397,
-0.05322955921292305,
-0.06518585234880447,
0.022820601239800453,
0.033055629581213,
0.00853690318763256,
0.04464175924658775,
0.004416517447680235,
-0.006163227837532759,
0.0015512178651988506,
-0.07347752153873444,
0.02876172959804535,
0.0005283510545268655,
0.00759298587217927,
-0.001166594447568059,
-0.00946694053709507,
0.021191880106925964,
-0.07640181481838226,
-0.0007721386500634253,
0.007366260513663292,
-0.014454897493124008,
0.06914660334587097,
0.016796184703707695,
0.054191987961530685,
-0.0014158766716718674,
-0.010753259994089603,
0.048898644745349884,
0.0074402932077646255,
0.0429760217666626,
-0.032407842576503754,
0.05485828220844269,
-0.037016384303569794,
-0.004761232528835535,
0.03740505501627922,
-0.004386441316455603,
0.005089752841740847,
0.038274940103292465,
-0.01472326647490263,
0.018286094069480896,
0.05100857838988304,
0.08957964926958084,
-0.009818595834076405,
-0.045085955411195755,
-0.018193552270531654,
0.04730693995952606,
0.029002336785197258,
0.006861912086606026,
0.0048028756864368916,
0.0634830966591835,
-0.020007355138659477,
-0.0438644140958786,
0.02217281423509121,
0.016000332310795784,
-0.007879862561821938,
0.004182851407676935,
-0.005876351147890091,
0.013177832588553429,
-0.020951272919774055,
0.0443086102604866,
-0.03496197611093521,
0.03222276270389557,
-0.003963066730648279,
0.036202024668455124,
-0.014121750369668007,
0.017508748918771744,
-0.007232076022773981,
-0.021154863759875298,
-0.020044371485710144,
0.05041631683707237,
0.02966863103210926,
0.08898738771677017,
-0.0632610023021698,
-0.025319207459688187,
0.017721593379974365,
-0.020858732983469963,
0.011095660738646984,
-0.009726054966449738,
-0.08017748594284058,
-0.005015720147639513,
-0.006963707040995359,
0.04434562847018242,
0.0031209439039230347,
0.04675169289112091,
-0.0032134847715497017,
0.012354218401014805,
0.012317202053964138,
0.03459181264042854,
-0.022950157523155212,
0.03266695886850357,
0.008101960644125938,
0.03831195831298828,
0.03035343438386917,
0.03444374352693558,
-0.0027276447508484125,
0.01732366718351841,
0.01778637245297432,
-0.06440851092338562,
-0.0007455330924130976,
0.05537651106715202,
0.052489232271909714,
-0.022376403212547302,
-0.0008889716118574142,
0.019655700773000717,
-0.13481366634368896,
0.051674872636795044,
-0.06896152347326279,
-0.03577633574604988,
-0.013575758785009384,
-0.00825002696365118,
0.06015162542462349,
-0.0055709658190608025,
0.0009346636943519115,
-0.048787593841552734,
-0.05100857838988304,
-0.004601599182933569,
-0.0069914693012833595,
-0.054451100528240204,
-0.04142133519053459,
-0.016009585931897163,
0.008800645358860493,
0.03398104012012482,
0.04719588905572891,
0.02056260220706463,
0.023024190217256546,
0.030520008876919746,
-0.043716348707675934,
0.045678216964006424,
0.009397534653544426,
-0.058374837040901184,
0.02113635465502739,
0.04019979387521744,
-0.014686250127851963,
-0.00035917459172196686,
-0.06248365715146065,
0.011354776099324226,
-0.03151945024728775,
0.006218752358108759,
0.018859848380088806,
0.07654988020658493,
0.004430398344993591,
-0.06222454085946083,
0.03035343438386917,
0.023746009916067123,
-0.010235030204057693,
-0.01536179892718792,
0.01952614262700081,
-0.0191744863986969,
-0.02896532043814659,
0.020062880590558052,
-0.006681457161903381,
-0.018332364037632942,
0.009911136701703072,
0.047973234206438065,
0.054673198610544205,
-0.02124740369617939,
0.02724405936896801,
-0.07817859947681427,
0.019007913768291473,
-0.004640928935259581,
-0.005575592629611492,
-0.048195332288742065,
-0.007148789241909981,
0.0026374172884970903,
0.05556159093976021,
0.006584289483726025,
0.039089299738407135,
0.02968714013695717,
0.016000332310795784,
0.04060697183012962,
0.06122509762644768,
-0.013316644355654716,
-0.046122413128614426,
0.05104559287428856,
-0.01216913666576147,
-0.060891952365636826,
0.037479087710380554,
-0.011900767683982849,
-0.025596829131245613,
-0.0014864391414448619,
-0.06748086959123611,
0.044271595776081085,
-0.016314970329403877,
-0.0048028756864368916,
-0.04305005446076393,
-0.0360354483127594,
0.011660161428153515,
0.07062725722789764,
0.04641854390501976,
0.03864510357379913,
0.014575201086699963,
0.05045333132147789,
-0.03381446748971939,
-0.001820743433199823,
-0.02076619118452072,
-0.025911469012498856,
-0.014325340278446674,
-0.054784249514341354,
0.0070608751848340034,
0.01848042942583561,
0.03801582753658295,
-0.00963351409882307,
-0.0293169766664505,
-0.04316110536456108,
0.06685158610343933,
-0.0031949765980243683,
-0.0373680405318737,
-0.011252980679273605,
0.005908740218728781,
0.004344798158854246,
0.023857058957219124,
-0.055598609149456024,
0.026633288711309433,
-0.022376403212547302,
-0.005955010652542114,
-0.048195332288742065,
0.009429924190044403,
0.01160463597625494,
-0.031204812228679657,
0.028724713250994682,
-0.027632730081677437,
0.03566528484225273,
0.009494702331721783,
-0.010494144633412361,
-0.05145277455449104,
0.010706989094614983,
0.02748466469347477,
0.03775671124458313,
-0.004233749117702246,
-0.0009063230245374143,
-0.01824907772243023,
0.023412862792611122,
-0.020507076755166054,
-0.0738476887345314,
-0.005094379652291536,
0.01766606979072094,
-0.04986106976866722,
-0.028243500739336014,
-0.025245174765586853,
0.011512095108628273,
0.042790938168764114,
-0.08484154939651489,
0.011678669601678848,
0.01778637245297432,
0.00941604282706976,
-0.0002919378166552633,
-0.020858732983469963,
0.012918718159198761,
0.034684352576732635,
-0.01836938038468361,
0.015843011438846588,
-0.004627048037946224,
0.02803991176187992,
-0.043346185237169266,
0.030390450730919838,
0.01021652203053236,
-0.0008450146415270865,
-0.0367017462849617,
-0.00008147942571667954,
0.08017748594284058,
0.003026089398190379,
0.003026089398190379,
-0.011530603282153606,
0.02241342142224312,
0.026966435834765434,
-0.005723658483475447,
-0.01985928975045681,
0.017638307064771652,
-0.05071244761347771,
0.025004567578434944,
0.04282795637845993,
-0.008763629011809826,
0.0526743158698082,
0.006417715456336737,
0.01207659486681223,
0.003153333207592368,
-0.011910021305084229,
0.02089574933052063,
0.01120671071112156,
-0.00012261676602065563,
0.030334927141666412,
0.008060317486524582,
0.04908372461795807,
0.024171698838472366,
-0.07418083399534225,
0.029872221872210503,
0.050749462097883224,
0.029613107442855835,
0.007940014824271202,
0.003655367996543646,
-0.0264482069760561,
-0.05104559287428856,
0.019489126279950142,
-0.01402920950204134,
0.012391234748065472,
0.019118962809443474,
-0.02504158392548561,
-0.015898536890745163,
0.01858222484588623,
0.04656660929322243,
-0.017175601795315742,
0.05519142746925354,
-0.018637748435139656,
-0.010142489336431026,
-0.0164167657494545,
0.0798073261976242,
0.03002028726041317,
0.04042189195752144,
-0.0013626656727865338,
0.017184855416417122,
-0.04112520441412926,
-0.04038487374782562,
0.01148433331400156,
-0.026485223323106766,
0.08402719348669052,
-0.03194513916969299,
0.03164900839328766,
0.019433600828051567,
0.01684245467185974,
0.03440672904253006,
-0.021876683458685875,
-0.01402920950204134,
-0.029594598338007927,
-0.03288905695080757,
-0.05012018233537674,
-0.007953895255923271,
0.007852100767195225,
0.0034980482887476683,
-0.02008138783276081,
0.01391816046088934,
-0.06355713307857513,
-0.02713301032781601,
0.01627795398235321,
-0.00975381676107645,
0.057967659085989,
0.025800419971346855,
0.03662771359086037,
-0.0434202179312706,
0.04945388808846474,
-0.001869327388703823,
-0.0018253704765811563,
0.022931650280952454,
0.041273269802331924,
-0.0037641036324203014,
0.003611410968005657,
-0.025929976254701614,
0.004548388067632914,
-0.034332696348428726,
0.0067369816824793816,
-0.026374174281954765,
0.023597944527864456,
0.010586685501039028,
0.00975381676107645,
-0.023616453632712364,
0.008217637427151203,
-0.008541530929505825,
0.023246288299560547,
0.036072466522455215,
0.0010289398487657309,
0.014177274890244007,
-0.01802697964012623,
0.0394594669342041,
-0.027447648346424103,
-0.02089574933052063,
0.020729174837470055,
-0.016666626557707787,
-0.05452513322234154,
-0.009652022272348404,
0.015176717191934586,
-0.04664064571261406,
0.011049390770494938,
-0.04019979387521744,
-0.001759435050189495,
0.0051545314490795135,
-0.008009419776499271,
-0.06533391773700714,
-0.11719387024641037,
0.02032199501991272,
-0.04142133519053459,
0.05030526593327522,
-0.08587801456451416,
-0.061151064932346344,
0.008018674328923225,
0.027780795469880104,
-0.006079941056668758,
-0.023283304646611214,
-0.0051221419125795364,
0.053525689989328384,
0.012243169359862804,
-0.002475470770150423,
0.030075812712311745,
-0.04308707267045975,
-0.0028965319506824017,
-0.0440865121781826,
0.008560039103031158,
0.00820838287472725,
0.014954619109630585,
-0.027762288227677345,
0.037238482385873795,
-0.017980707809329033,
-0.009263349696993828,
0.008499886840581894,
0.019711224362254143,
0.051304709166288376,
-0.06525988131761551,
0.0044905501417815685,
-0.024171698838472366,
-0.07036814838647842,
0.04267989099025726,
-0.062409624457359314,
-0.042198676615953445,
0.02596699260175228,
0.005783809814602137,
-0.0015581584302708507,
0.012687365524470806,
0.05852290242910385,
0.0001508128480054438,
-0.025319207459688187,
0.0033337881322950125,
0.02596699260175228,
0.031001221388578415,
-0.024449322372674942,
0.019192995503544807,
-0.0289838295429945,
0.057671524584293365,
0.043938446789979935,
-0.034684352576732635,
-0.03107525408267975,
0.049824051558971405,
-0.06507480144500732,
0.009985169395804405,
0.027651239186525345,
0.042531825602054596,
-0.006371445022523403,
0.018073249608278275,
-0.03103823773562908,
0.01303902082145214,
-0.02955758199095726,
-0.012095103040337563,
-0.032981596887111664,
0.021895190700888634,
-0.04545611888170242,
-0.08950561285018921,
-0.06492673605680466,
0.04708484187722206,
-0.0379047766327858,
0.025226665660738945,
0.045419104397296906,
-0.0009074797853827477,
0.03542467951774597,
-0.02344987913966179,
0.009929644875228405,
0.011993308551609516,
-0.03466584533452988,
0.00007894900772953406,
0.009027370251715183,
-0.01722187176346779,
0.000843279471155256,
0.054562151432037354,
-0.03731251507997513,
0.010401603765785694,
-0.03244486078619957,
0.03518407419323921,
0.06670352071523666,
0.00946694053709507,
-0.059189196676015854,
0.00035917459172196686,
-0.044752806425094604,
0.053155526518821716,
0.024763960391283035,
-0.008823780342936516,
-0.002347070025280118,
0.005168412812054157,
0.09239289164543152,
-0.022080272436141968,
0.01073475182056427,
0.014797299169003963,
-0.04131028428673744,
-0.014501168392598629,
0.03449926897883415,
-0.08173217624425888,
0.01466774195432663,
-0.009707546792924404,
0.07632778584957123,
-0.00038028552080504596,
0.060077592730522156,
0.02668881230056286,
-0.015269258059561253,
-0.03938543424010277,
-0.00041527755092829466,
-0.03614649921655655,
-0.03453628718852997,
0.015167463570833206,
0.02411617338657379,
-0.01407548040151596,
0.008495260030031204,
0.003747908864170313,
0.08358299732208252,
0.015445086173713207,
0.0687764436006546,
0.010706989094614983,
0.01339993067085743,
0.07133056968450546,
-0.056635066866874695,
0.004654810298234224,
0.05459916591644287,
0.035831861197948456,
0.001301357289776206,
-0.02065514214336872,
-0.009388280101120472,
0.05256326496601105,
0.028724713250994682,
0.03235232084989548,
-0.007319990079849958,
0.009559481404721737
] |
725,608 | awpy.parser.demoparser | write_json | Rewrite the JSON file | def write_json(self) -> None:
"""Rewrite the JSON file"""
with open(self.outpath + "/" + self.output_file, "w", encoding="utf8") as fp:
json.dump(self.json, fp, indent=(1 if self.json_indentation else None))
| (self) -> NoneType | [
-0.056549541652202606,
-0.03281248360872269,
0.0008116105454973876,
-0.0029907659627497196,
0.016423430293798447,
-0.014713194221258163,
-0.07782866805791855,
0.04338329657912254,
0.020316584035754204,
-0.05991845205426216,
0.018769634887576103,
-0.06301234662532806,
0.010553622618317604,
0.004058589693158865,
0.00986609049141407,
0.020419713109731674,
0.03705799952149391,
0.016002317890524864,
0.029116997495293617,
0.0765223577618599,
-0.0050834426656365395,
-0.045136503875255585,
0.039223723113536835,
0.03781428188085556,
-0.007025721948593855,
-0.008233200758695602,
0.024476153776049614,
0.017738336697220802,
0.04661469906568527,
-0.03107646480202675,
-0.07239716500043869,
-0.06057160720229149,
0.05524323135614395,
0.03815804794430733,
0.02404644712805748,
0.006441319361329079,
-0.02091817371547222,
0.03274373337626457,
-0.05878402292728424,
0.010295798070728779,
-0.035579804331064224,
0.0405987910926342,
-0.08862292766571045,
0.008744552731513977,
0.040048763155937195,
0.022276051342487335,
-0.021210376173257828,
0.05349002406001091,
0.03437662124633789,
-0.0349438339471817,
-0.00842227227985859,
-0.06583122909069061,
-0.03561418130993843,
0.029821718111634254,
0.010751288384199142,
-0.036611102521419525,
0.04396769776940346,
-0.0493304505944252,
-0.02224167436361313,
-0.03284686058759689,
-0.051977451890707016,
-0.04039252921938896,
0.005569012835621834,
-0.04850541427731514,
0.023187031969428062,
0.03585481643676758,
-0.06820321828126907,
0.023393290117383003,
0.01993844099342823,
0.021726025268435478,
-0.017652394250035286,
-0.03664547950029373,
0.052080582827329636,
0.044311463832855225,
-0.0069956425577402115,
0.041698843240737915,
-0.05517447739839554,
-0.019439978525042534,
-0.014223326928913593,
-0.06775631755590439,
-0.022413557395339012,
-0.060502853244543076,
-0.010596593841910362,
0.009599671699106693,
-0.042627010494470596,
0.002556761261075735,
0.05854338780045509,
-0.005457288585603237,
-0.051358673721551895,
-0.022465122863650322,
0.0007804567576386034,
0.07439100742340088,
-0.03140304237604141,
-0.019079023972153664,
0.04252387955784798,
-0.01318343449383974,
-0.032399967312812805,
-0.018064914271235466,
-0.012238076888024807,
0.03743613883852959,
-0.009487947449088097,
0.06569372117519379,
-0.054074425250291824,
0.01088879443705082,
0.056137021631002426,
-0.043898943811655045,
0.0034011369571089745,
0.05871526896953583,
-0.059059035032987595,
0.03685173764824867,
-0.04774912819266319,
0.007906623184680939,
0.015452290885150433,
-0.08924170583486557,
0.10704880207777023,
-0.011842746287584305,
0.00909261591732502,
-0.02435583621263504,
0.09274812787771225,
0.0008282617200165987,
0.03643921762704849,
0.0008347073453478515,
0.0708845928311348,
0.005740895867347717,
-0.003985539544373751,
-0.020540030673146248,
-0.036507971584796906,
0.07569731771945953,
0.06655313819646835,
0.007975376211106777,
-0.04424270987510681,
0.0016425579087808728,
0.0055303387343883514,
-0.017489105463027954,
0.05108365789055824,
0.001149468240328133,
-0.06160290539264679,
-0.013956908136606216,
-0.02014469914138317,
0.056549541652202606,
0.030956147238612175,
-0.04599592089653015,
0.0038437359035015106,
-0.021399445831775665,
0.03200463578104973,
-0.0017929556779563427,
-0.03592357039451599,
0.01659531332552433,
-0.04403645172715187,
-0.025266816839575768,
0.02820601686835289,
0.038192424923181534,
-0.014799135737121105,
-0.0616716593503952,
-0.01087160687893629,
-0.005659251473844051,
-0.045961543917655945,
0.015581203624606133,
-0.0169562678784132,
0.006613202393054962,
0.02590278349816799,
-0.00764450104907155,
0.02394331619143486,
0.021726025268435478,
-0.012238076888024807,
-0.004670923575758934,
0.019354037940502167,
0.00906683411449194,
-0.009023862890899181,
-0.008619938045740128,
0.0018047726480290294,
-0.012126353569328785,
-0.01441239845007658,
0.03815804794430733,
-0.018941517919301987,
0.010338769294321537,
0.05173681676387787,
0.01492804754525423,
0.00684524467214942,
0.04743973910808563,
0.001333168358542025,
-0.028068510815501213,
0.017996160313487053,
0.041905101388692856,
0.04053003713488579,
-0.08353518694639206,
-0.007726145442575216,
0.027363790199160576,
0.03523603826761246,
0.0467522032558918,
0.011138025671243668,
0.033379700034856796,
-0.0014320011250674725,
-0.05170243978500366,
0.044105205684900284,
-0.060709111392498016,
0.020986927673220634,
-0.020574407652020454,
0.027570050209760666,
-0.025008991360664368,
-0.08030378818511963,
-0.009857496246695518,
0.01153335627168417,
-0.000837392988614738,
0.023083901032805443,
0.008843385614454746,
0.009212934412062168,
-0.06909701228141785,
0.005521744955331087,
-0.01074269413948059,
0.016157012432813644,
-0.007085881195962429,
0.027655992656946182,
-0.04307390749454498,
0.04407082870602608,
-0.0058955904096364975,
-0.000445284676970914,
0.03195307031273842,
-0.04561777785420418,
0.012642002664506435,
-0.04537713900208473,
0.027913816273212433,
-0.04506774991750717,
-0.009530918672680855,
-0.058577761054039,
-0.022722946479916573,
0.011180995963513851,
-0.04238637536764145,
0.02867010235786438,
-0.009900466538965702,
-0.01859775185585022,
-0.004067183937877417,
0.0036632586270570755,
-0.00767887756228447,
0.0008599526481702924,
-0.01629451848566532,
-0.05225246399641037,
-0.05888715386390686,
0.011318502947688103,
-0.026126231998205185,
0.007459726650267839,
-0.033121876418590546,
-0.005147899035364389,
-0.01957748644053936,
-0.013011551462113857,
0.0027329414151608944,
0.06284046173095703,
-0.041595712304115295,
0.06259983032941818,
0.031420230865478516,
0.04974297061562538,
-0.002898378996178508,
-0.04193947836756706,
0.06232481449842453,
0.007713254541158676,
-0.08573529124259949,
-0.008486728183925152,
-0.025060556828975677,
-0.02923731692135334,
0.034032855182886124,
0.011877122335135937,
0.005281108431518078,
0.013467041775584221,
-0.042730141431093216,
-0.007193307857960463,
0.005440100096166134,
0.017703959718346596,
-0.012487308122217655,
-0.03363752365112305,
0.025679336860775948,
0.002853259677067399,
0.008155853487551212,
-0.018408680334687233,
-0.014455369673669338,
-0.035012587904930115,
0.008877762593328953,
-0.02944357693195343,
-0.0022452231496572495,
-0.007928107865154743,
-0.0027286442928016186,
0.033121876418590546,
-0.014249109663069248,
0.0354422964155674,
0.012581842951476574,
0.019027460366487503,
-0.0390518419444561,
-0.007588638924062252,
0.05734020471572876,
-0.006780788768082857,
-0.03372346609830856,
0.05483071133494377,
0.03150617331266403,
-0.03148898482322693,
0.051977451890707016,
0.020694725215435028,
-0.016612501814961433,
0.001524388324469328,
-0.037539269775152206,
0.05091177672147751,
-0.007103069219738245,
-0.030818641185760498,
0.024888673797249794,
0.0683751031756401,
-0.009823119267821312,
-0.05177119001746178,
0.027054401114583015,
-0.06015908718109131,
-0.014799135737121105,
-0.01864931732416153,
0.05431506037712097,
-0.023754244670271873,
-0.0529056191444397,
0.007717551663517952,
0.07074708491563797,
-0.0005833283066749573,
0.0034376620315015316,
0.015538232401013374,
0.005384238436818123,
0.07445976138114929,
0.029271693900227547,
-0.06328736245632172,
-0.008912138640880585,
0.005246731918305159,
-0.04032377526164055,
0.07432225346565247,
-0.06263420730829239,
0.01859775185585022,
0.05070551484823227,
-0.0007014979491941631,
-0.014154573902487755,
0.028171641752123833,
-0.06143102049827576,
0.005156493280082941,
0.0416300892829895,
-0.011748210527002811,
-0.007790601812303066,
0.0285154078155756,
-0.031231161206960678,
-0.0031153813470155,
0.040770672261714935,
-0.0024794137571007013,
0.008525402285158634,
0.03410160914063454,
-0.020625973120331764,
-0.040048763155937195,
0.012444336898624897,
0.02229323796927929,
0.01823679730296135,
-0.011593515984714031,
-0.02126193977892399,
-0.007756225299090147,
0.09006674587726593,
0.09460446238517761,
0.04695846512913704,
-0.03482351824641228,
-0.04049566015601158,
0.0006993493880145252,
-0.08181636035442352,
0.001969135832041502,
-0.032142139971256256,
-0.0405987910926342,
-0.0073608942329883575,
-0.027295038104057312,
0.0018831943161785603,
0.022791700437664986,
0.01716252788901329,
0.03571730852127075,
-0.026641881093382835,
0.02358236163854599,
-0.05159930884838104,
0.006256544962525368,
-0.03454850614070892,
0.07219090312719345,
-0.018838388845324516,
0.00011716250446625054,
0.059265296906232834,
0.019250907003879547,
0.01973218098282814,
-0.042627010494470596,
-0.028996679931879044,
0.016019506379961967,
-0.004140234552323818,
-0.03104208968579769,
0.008005456067621708,
0.02867010235786438,
-0.02645280957221985,
0.0246652252972126,
-0.046270933002233505,
-0.020161887630820274,
-0.0014180355938151479,
-0.006578825879842043,
0.030285803601145744,
-0.0071374461986124516,
0.0003050925151910633,
-0.01828836277127266,
0.008460945449769497,
-0.018821200355887413,
0.026023102924227715,
-0.0038759640883654356,
0.059368424117565155,
-0.03365471214056015,
-0.051255542784929276,
0.006239356938749552,
0.012134946882724762,
-0.01332953479140997,
-0.011507573537528515,
0.03300155699253082,
0.035012587904930115,
0.0292888805270195,
0.04661469906568527,
-0.02995922602713108,
0.04235199838876724,
-0.02887636236846447,
0.08106007426977158,
0.020625973120331764,
0.05995282903313637,
-0.007876543328166008,
-0.03410160914063454,
-0.013518606312572956,
0.03181556239724159,
0.024699602276086807,
0.048574164509773254,
-0.00039533115341328084,
0.07679737359285355,
0.005942858289927244,
-0.10808009654283524,
0.0004976553027518094,
0.02148538827896118,
-0.03006235510110855,
0.040667541325092316,
0.041492581367492676,
-0.06380300968885422,
0.01761801913380623,
-0.03877682983875275,
0.04444897174835205,
0.027157530188560486,
0.046270933002233505,
-0.06851260364055634,
-0.02887636236846447,
0.035786062479019165,
0.08559778332710266,
0.015478073619306087,
-0.02409801073372364,
0.002851111115887761,
0.020368147641420364,
0.022121354937553406,
0.025043368339538574,
0.0524243488907814,
0.039120595902204514,
-0.0012096273712813854,
0.040873803198337555,
0.04802414029836655,
-0.01916496641933918,
-0.13166245818138123,
-0.021347882226109505,
-0.059162165969610214,
0.0606403611600399,
-0.06053723022341728,
0.029271693900227547,
0.0055131507106125355,
0.003560128854587674,
0.0142577039077878,
0.06820321828126907,
0.0030659649055451155,
-0.030337369069457054,
-0.053971294313669205,
-0.09309189021587372,
0.00364177324809134,
-0.0308358296751976,
0.01305452175438404,
0.0159249696880579,
0.05483071133494377,
-0.03643921762704849,
-0.0272262841463089,
0.008009753189980984,
0.04592716693878174,
-0.011481791734695435,
-0.02255106344819069,
0.008258983492851257,
0.04998360574245453,
-0.050430502742528915,
-0.01644061878323555,
-0.01338110025972128,
0.028532596305012703,
0.08264140039682388,
0.0043336027301847935,
-0.031368665397167206,
-0.035012587904930115,
0.02270575799047947,
-0.028498219326138496,
0.03437662124633789,
-0.03497821092605591,
-0.0236339271068573,
-0.03181556239724159,
-0.020986927673220634,
0.003308749757707119,
-0.0246652252972126,
0.030234238132834435,
-0.039533115923404694,
-0.03246871754527092,
-0.010845824144780636,
0.03977375105023384,
-0.04551464691758156,
-0.006076067686080933,
-0.04709596931934357,
0.054486945271492004,
0.03451412916183472,
-0.014584281481802464,
-0.04977734759449959,
0.029460763558745384,
-0.009591077454388142,
0.03667985647916794,
0.007506994530558586,
0.025988725945353508,
-0.013707677833735943,
0.02564495988190174,
-0.02311827801167965,
0.024682413786649704,
0.024957427754998207,
-0.014472557231783867,
-0.06394051760435104,
-0.027776310220360756,
0.03406723216176033,
-0.010433304123580456,
-0.028171641752123833,
0.04396769776940346,
0.0159249696880579,
0.018013348802924156,
0.019904064014554024,
0.019714992493391037,
-0.051977451890707016,
-0.0036568131763488054,
0.007575748022645712,
0.013879560865461826,
-0.019646238535642624,
0.015400726348161697,
0.07170963287353516,
0.0006241505034267902,
0.03602669760584831,
-0.020591596141457558,
-0.000595145276747644,
0.01045908685773611,
0.00512641342356801,
-0.07315345108509064,
-0.013432664796710014,
0.034445375204086304,
-0.008619938045740128,
-0.04816164821386337,
0.02050565369427204,
0.012057599611580372,
-0.04499899595975876,
0.034857895225286484,
0.06851260364055634,
0.03212495148181915,
0.02923731692135334,
-0.007472618017345667,
0.0006687326822429895,
0.027604427188634872,
0.02368549257516861,
0.016878921538591385,
-0.02208697982132435,
0.042008232325315475,
-0.01197165809571743,
-0.020007193088531494,
0.0038759640883654356,
0.05177119001746178,
-0.013424070551991463,
0.07968501001596451,
-0.017583642154932022,
0.014103008434176445,
0.07679737359285355,
0.06435303390026093,
0.04774912819266319,
-0.040048763155937195,
-0.03925810009241104,
-0.03709237277507782,
0.02060878463089466,
0.0616716593503952,
0.010416116565465927,
-0.04352080076932907,
-0.057512085884809494,
0.005457288585603237,
-0.04792100936174393,
-0.039842505007982254,
-0.022018225863575935,
-0.03540791943669319,
0.030853018164634705,
0.021554142236709595,
0.0678250715136528,
-0.009118398651480675,
-0.0457209050655365,
0.03176399692893028,
0.03657672554254532,
-0.06720629334449768,
0.0354422964155674,
0.05331813916563988,
-0.007691768929362297,
-0.06851260364055634,
0.03504696488380432,
0.0026534453500062227,
-0.06222168356180191,
0.0036976353731006384,
-0.04022064805030823,
-0.019302472472190857,
-0.0049631246365606785,
0.03736738860607147,
-0.04053003713488579,
0.010295798070728779,
-0.010957548394799232,
0.010751288384199142,
-0.04063316807150841,
-0.005547527223825455,
0.045239634811878204,
-0.05527760833501816,
-0.03664547950029373,
-0.0018960855668410659,
0.02311827801167965,
-0.02810288779437542,
-0.027604427188634872,
-0.03368908911943436,
0.05232121795415878,
-0.0016618947265669703,
0.0021668013650923967,
-0.012246671132743359,
-0.06036534532904625,
-0.045549023896455765,
-0.003639624686911702,
0.012238076888024807,
-0.03164368122816086,
-0.008929327130317688,
-0.04039252921938896,
-0.0729471892118454,
0.02014469914138317,
-0.011920093558728695,
-0.016122635453939438,
0.012074788101017475,
-0.08202261477708817,
-0.016062475740909576,
0.03454850614070892,
-0.028893550857901573,
0.027312224730849266,
-0.0007777710561640561,
0.012564655393362045,
-0.023926127701997757,
-0.0708845928311348,
0.024269893765449524,
0.008619938045740128,
0.0035558317322283983,
-0.037229880690574646,
-0.10147978365421295,
-0.060502853244543076,
0.04121756926178932,
-0.016157012432813644,
0.037951789796352386,
0.06851260364055634,
-0.043452050536870956,
0.024338647723197937,
0.0177211482077837,
0.0339125357568264,
0.001110794604755938,
0.032915614545345306,
0.028841985389590263,
-0.022413557395339012,
-0.030337369069457054,
0.029735777527093887,
-0.009032457135617733,
-0.013037333264946938,
-0.010312986560165882,
0.008383598178625107,
-0.008044129237532616,
0.007592936046421528,
0.011567733250558376,
0.014971018768846989,
-0.015684332698583603,
0.01045908685773611,
-0.05005235970020294,
0.028738854452967644,
0.021004116162657738,
0.06435303390026093,
-0.038192424923181534,
-0.04132070019841194,
0.005358455702662468,
0.04895230755209923,
-0.03602669760584831,
0.0029800233896821737,
0.05644641071557999,
-0.017334410920739174,
0.03520166128873825,
-0.025094933807849884,
0.028326336294412613,
-0.01325218752026558,
-0.05974656715989113,
-0.05964343622326851,
-0.006505775731056929,
0.0202993955463171,
-0.0073394086211919785,
0.013338129036128521,
0.032399967312812805,
-0.007085881195962429,
-0.0013815105194225907,
0.04853978753089905,
-0.0032829672563821077,
0.03726425766944885,
-0.009367628954350948,
0.009694207459688187,
0.00764450104907155,
0.026401245966553688,
-0.03757364675402641,
-0.0005822540260851383,
-0.05441819131374359,
-0.015486667864024639,
0.05314625799655914,
0.03068113513290882,
0.03262341395020485,
0.006432725116610527,
0.02652156352996826,
-0.037951789796352386,
-0.00050114665646106,
0.06349361687898636,
-0.03791741281747818,
-0.02588559500873089,
0.025094933807849884,
-0.05861213803291321,
-0.025215251371264458,
0.00010091418516822159,
-0.0339125357568264,
-0.04173321649432182,
-0.0011698793387040496,
-0.024751167744398117,
-0.0344109982252121,
-0.034703198820352554,
-0.019818121567368507,
0.023702681064605713,
-0.015512450598180294,
0.01968061551451683,
0.0339125357568264,
0.0004055367026012391,
-0.02985609509050846,
-0.027655992656946182,
0.03970499709248543,
-0.02091817371547222,
0.026934083551168442,
0.014498339965939522,
-0.026538752019405365,
0.004958827514201403,
0.015503856353461742,
0.02815445326268673,
0.021347882226109505,
-0.06394051760435104,
0.026624692603945732,
0.011868528090417385,
0.03551105037331581,
-0.014025661163032055,
0.0233761016279459,
0.03365471214056015,
0.0305780041962862,
0.005117819644510746,
0.06775631755590439,
0.014231921173632145,
0.01441239845007658,
-0.056033894419670105,
-0.008963704109191895,
-0.016105446964502335,
-0.0023956208024173975,
0.06875324249267578,
0.0636998787522316,
0.020265018567442894,
-0.01597653515636921
] |
725,612 | flask_redis.client | FlaskRedis | null | class FlaskRedis(object):
def __init__(self, app=None, strict=True, config_prefix="REDIS", **kwargs):
self._redis_client = None
self.provider_class = redis.StrictRedis if strict else redis.Redis
self.provider_kwargs = kwargs
self.config_prefix = config_prefix
if app is not None:
self.init_app(app)
@classmethod
def from_custom_provider(cls, provider, app=None, **kwargs):
assert provider is not None, "your custom provider is None, come on"
# We never pass the app parameter here, so we can call init_app
# ourselves later, after the provider class has been set
instance = cls(**kwargs)
instance.provider_class = provider
if app is not None:
instance.init_app(app)
return instance
def init_app(self, app, **kwargs):
redis_url = app.config.get(
"{0}_URL".format(self.config_prefix), "redis://localhost:6379/0"
)
self.provider_kwargs.update(kwargs)
self._redis_client = self.provider_class.from_url(
redis_url, **self.provider_kwargs
)
if not hasattr(app, "extensions"):
app.extensions = {}
app.extensions[self.config_prefix.lower()] = self
def __getattr__(self, name):
return getattr(self._redis_client, name)
def __getitem__(self, name):
return self._redis_client[name]
def __setitem__(self, name, value):
self._redis_client[name] = value
def __delitem__(self, name):
del self._redis_client[name]
| (app=None, strict=True, config_prefix='REDIS', **kwargs) | [
0.03829891234636307,
-0.048682648688554764,
-0.019238358363509178,
0.013726443983614445,
0.09572950005531311,
0.007965604774653912,
-0.02354120835661888,
0.03890344500541687,
0.09096436202526093,
-0.029799897223711014,
0.019949574023485184,
0.0290709026157856,
0.0209808349609375,
0.0312756672501564,
0.049642786383628845,
0.006307585630565882,
0.021407563239336014,
-0.007810026872903109,
0.08484791964292526,
-0.04857596755027771,
0.016695765778422356,
0.04893157258629799,
0.03972134366631508,
0.00042395066702738404,
-0.013922028243541718,
0.04249507933855057,
-0.007850032299757004,
0.043561901897192,
0.039614658802747726,
-0.02757735177874565,
0.00278707267716527,
0.0059164175763726234,
0.017078043892979622,
0.04925161972641945,
0.043170735239982605,
-0.05540362745523453,
-0.006934343837201595,
0.017807038500905037,
-0.0697346031665802,
0.0030026596505194902,
0.016340158879756927,
-0.0015079975128173828,
0.05956423282623291,
-0.06120002642273903,
0.03467171639204025,
0.05991984158754349,
0.027541790157556534,
0.06304918229579926,
0.049144938588142395,
-0.0358630046248436,
0.03684092313051224,
-0.01870494708418846,
0.012801865115761757,
0.037232089787721634,
-0.013886467553675175,
0.026510529220104218,
-0.02777293510735035,
0.04149938002228737,
-0.018776068463921547,
0.02645718865096569,
0.00754776643589139,
-0.03260919451713562,
0.034440573304891586,
0.014899948611855507,
0.03276921808719635,
0.02341674454510212,
-0.05810624361038208,
0.02841302938759327,
0.037018727511167526,
-0.03502732515335083,
0.031560152769088745,
0.0018624935764819384,
-0.008419004268944263,
-0.03132900968194008,
-0.0025181446690112352,
0.0076188878156244755,
-0.016686875373125076,
-0.06511171162128448,
0.009272461757063866,
0.0024581358302384615,
0.07368184626102448,
-0.004960722755640745,
0.002005847869440913,
0.036769799888134,
0.03648531436920166,
-0.006654303055256605,
-0.035294029861688614,
-0.030102163553237915,
-0.03337375074625015,
0.02275887131690979,
-0.037232089787721634,
0.05991984158754349,
0.013219703920185566,
0.01001923717558384,
-0.002864861860871315,
-0.08314099907875061,
0.022385483607649803,
0.011486117728054523,
0.025301463901996613,
-0.03291146084666252,
-0.005751949269324541,
0.04501989111304283,
-0.017727026715874672,
-0.02533702552318573,
-0.01858048513531685,
-0.04427311569452286,
-0.006045325193554163,
0.007001020014286041,
-0.03538293391466141,
-0.0025092544965445995,
-0.02211877889931202,
-0.008579027839004993,
-0.021692048758268356,
0.010881585069000721,
-0.0010573762701824307,
0.009236901067197323,
-0.037018727511167526,
-0.008178969845175743,
0.014099831692874432,
-0.022545507177710533,
-0.06272914260625839,
-0.013895357958972454,
0.03324928879737854,
0.036769799888134,
0.01614457368850708,
0.014055381529033184,
0.035400714725255966,
-0.01509553287178278,
0.04466428607702255,
-0.032022442668676376,
0.04733134061098099,
0.026688333600759506,
-0.030404429882764816,
0.00460511539131403,
0.05067405104637146,
0.009992566891014576,
0.015877868980169296,
0.07201049476861954,
-0.012224002741277218,
0.04402419179677963,
-0.017638124525547028,
0.022065436467528343,
-0.01664242520928383,
0.03522291034460068,
0.03758769854903221,
-0.057074982672929764,
-0.037872184067964554,
0.033462654799222946,
0.06806325167417526,
-0.03858339786529541,
0.020607447251677513,
0.021692048758268356,
0.027541790157556534,
0.04309961199760437,
-0.023967936635017395,
-0.0054407925345003605,
-0.04103709012269974,
0.010268162935972214,
0.02082081139087677,
-0.012286234647035599,
-0.039330173283815384,
0.03083115816116333,
-0.025230342522263527,
-0.058035120368003845,
0.012686292640864849,
0.019949574023485184,
0.009716970846056938,
-0.06550287455320358,
0.0027915178798139095,
0.053163301199674606,
-0.014588791877031326,
-0.06176900118589401,
-0.008619033731520176,
-0.003865007543936372,
-0.016384609043598175,
0.01776258833706379,
-0.06351147592067719,
-0.0024736938066780567,
0.007423303555697203,
-0.039792463183403015,
0.010552648454904556,
-0.003207133850082755,
-0.055119141936302185,
-0.046086713671684265,
0.003031552769243717,
0.037018727511167526,
0.04469984769821167,
0.05376783385872841,
0.06152007356286049,
0.01380645576864481,
0.027719594538211823,
-0.008352328091859818,
-0.007241054903715849,
0.02338118478655815,
-0.0007117703789845109,
-0.015015521086752415,
-0.025212561711668968,
-0.0159845519810915,
-0.03212912380695343,
0.026883916929364204,
-0.08143408596515656,
0.055794794112443924,
0.002809298224747181,
-0.02194097451865673,
-0.007738905493170023,
-0.034280549734830856,
0.002693725749850273,
0.039472416043281555,
-0.037872184067964554,
-0.01759367436170578,
-0.041712742298841476,
-0.0026870581787079573,
-0.009592508897185326,
0.0017835932085290551,
0.034156087785959244,
0.03502732515335083,
0.027470668777823448,
0.03861895948648453,
0.013539750128984451,
-0.004342854954302311,
0.028679734095931053,
0.015717845410108566,
-0.05259433016180992,
0.051740869879722595,
0.01065044105052948,
-0.009005756117403507,
0.01580674760043621,
-0.028679734095931053,
-0.03550739586353302,
0.021585367619991302,
0.020927494391798973,
0.037018727511167526,
0.06863222271203995,
-0.01257961057126522,
0.027328426018357277,
-0.02709728106856346,
0.05988427996635437,
0.049002695828676224,
0.027470668777823448,
0.0691300705075264,
0.050745170563459396,
0.054301243275403976,
0.03740989416837692,
-0.023985717445611954,
0.03081337735056877,
0.05259433016180992,
0.005943088326603174,
0.03869008272886276,
0.004694017115980387,
-0.007712234742939472,
-0.007867813110351562,
0.0130863506346941,
0.01904277503490448,
-0.0035027326084673405,
-0.007858922705054283,
-0.02080303058028221,
-0.05152750760316849,
0.015371127985417843,
-0.02773737534880638,
-0.00006848220073152333,
-0.000965696235653013,
0.013726443983614445,
0.025728192180395126,
0.019825110211968422,
-0.014606572687625885,
-0.012970779091119766,
0.00682321609929204,
0.028644172474741936,
0.01616235449910164,
0.022812211886048317,
0.04071704298257828,
0.014731035567820072,
0.04260176420211792,
-0.00209808349609375,
0.0060853310860693455,
-0.034973982721567154,
-0.04651344195008278,
0.018278218805789948,
-0.04309961199760437,
-0.025248123332858086,
-0.0691300705075264,
-0.04533993825316429,
0.05099409446120262,
-0.03748101741075516,
0.03308926522731781,
-0.014179843477904797,
-0.0005336888716556132,
0.02162092737853527,
0.04569554701447487,
0.021567586809396744,
0.025923777371644974,
-0.042530640959739685,
-0.017851490527391434,
-0.009885884821414948,
-0.049785032868385315,
-0.05163418874144554,
-0.045944470912218094,
0.020447423681616783,
0.05824848636984825,
0.01713138446211815,
-0.03518734872341156,
-0.017078043892979622,
-0.005765284411609173,
0.049962833523750305,
0.03404940664768219,
-0.011752823367714882,
0.022829992696642876,
0.007565546780824661,
-0.022065436467528343,
0.01727362722158432,
0.015557821840047836,
-0.00854791235178709,
-0.027488449588418007,
-0.009903664700686932,
-0.013815346173942089,
0.03292924165725708,
-0.022385483607649803,
0.015780076384544373,
0.026848355308175087,
0.041961669921875,
-0.022349923849105835,
0.04733134061098099,
-0.03419164940714836,
0.05956423282623291,
0.0348673015832901,
-0.004080594517290592,
-0.00992144551128149,
0.015620053745806217,
0.020891932770609856,
0.015735626220703125,
-0.019629526883363724,
0.005698608234524727,
-0.00300710485316813,
0.015575602650642395,
0.021407563239336014,
0.0023736790753901005,
-0.004116155207157135,
-0.027008378878235817,
-0.035614077001810074,
-0.03748101741075516,
0.01809152401983738,
-0.05878189578652382,
-0.017815928906202316,
-0.021905412897467613,
-0.07574436813592911,
-0.0051163011230528355,
0.014695473946630955,
-0.01954062469303608,
-0.030902279540896416,
-0.02649274840950966,
0.029604313895106316,
-0.043170735239982605,
0.030262187123298645,
0.033142607659101486,
0.03618304803967476,
-0.08420782536268234,
-0.012650731950998306,
-0.016820227727293968,
0.0026270493399351835,
-0.08555912971496582,
-0.001896943082101643,
0.0036916490644216537,
-0.03662755712866783,
0.018011512234807014,
-0.07037469744682312,
0.01954062469303608,
-0.021496465429663658,
-0.0069654593244194984,
0.045624423772096634,
-0.04925161972641945,
-0.023612329736351967,
-0.0016380164306610823,
0.010428185574710369,
0.012072870507836342,
0.04420199617743492,
-0.05728834494948387,
-0.023327842354774475,
0.004373970441520214,
-0.001928058685734868,
0.02661721222102642,
-0.03404940664768219,
0.02080303058028221,
0.029888799414038658,
0.0009612511494196951,
0.00164357281755656,
-0.0017224731855094433,
-0.013504189439117908,
0.022225460037589073,
0.02697281911969185,
0.002920425496995449,
-0.05895970016717911,
-0.0020947495941072702,
-0.039116811007261276,
0.007205494213849306,
-0.09366697818040848,
-0.018127085641026497,
-0.0060853310860693455,
0.023114478215575218,
-0.003196021309122443,
-0.020571885630488396,
0.058817457407712936,
-0.03159571439027786,
0.06436493247747421,
-0.012935217469930649,
0.045944470912218094,
0.06166231632232666,
0.04338409751653671,
-0.023630108684301376,
0.04132157564163208,
0.03748101741075516,
-0.029568752273917198,
-0.025390366092324257,
-0.028128542006015778,
-0.03922349214553833,
-0.028839757665991783,
-0.10483305156230927,
0.05248764529824257,
-0.0052941045723855495,
0.053554467856884,
0.052523206919431686,
-0.008330102078616619,
-0.006152007263153791,
0.012010638602077961,
0.007489980198442936,
-0.020074035972356796,
0.019113896414637566,
0.01662464439868927,
0.00012453203089535236,
-0.07119259238243103,
0.01874050870537758,
0.022669969126582146,
-0.020465204492211342,
0.010348174721002579,
-0.06568068265914917,
0.016757996752858162,
-0.031115643680095673,
0.03797886520624161,
-0.02194097451865673,
-0.05472797527909279,
-0.01614457368850708,
-0.02277665212750435,
-0.01614457368850708,
0.02549704723060131,
0.008005610667169094,
-0.005071850027889013,
0.006223129108548164,
-0.04907381534576416,
0.026243822649121284,
0.07545988261699677,
-0.004898491315543652,
-0.057359468191862106,
-0.039934705942869186,
-0.052380964159965515,
0.03116898611187935,
0.026528310030698776,
-0.028804196044802666,
-0.0022869999520480633,
0.010686001740396023,
0.023932375013828278,
0.019309479743242264,
0.03726765140891075,
-0.02083859220147133,
-0.050745170563459396,
-0.05508358031511307,
-0.03305370360612869,
0.05700385943055153,
0.043633025139570236,
0.02485695481300354,
-0.048362601548433304,
-0.01918501779437065,
0.053803395479917526,
0.0075299860909581184,
-0.009450266137719154,
-0.054621290415525436,
-0.04498433321714401,
0.04164162278175354,
0.03113342449069023,
-0.025550389662384987,
-0.055937036871910095,
-0.041748303920030594,
-0.010472636669874191,
0.04274400696158409,
-0.022865554317831993,
-0.008819062262773514,
-0.027239523828029633,
-0.0985032394528389,
0.04694017395377159,
-0.001902499352581799,
0.014624352566897869,
0.014811046421527863,
-0.057074982672929764,
0.060951102524995804,
-0.029924359172582626,
0.07375296950340271,
0.015726735815405846,
0.017006922513246536,
0.0013268599286675453,
0.015042191371321678,
0.023292282596230507,
-0.03602302446961403,
0.022083217278122902,
-0.010472636669874191,
-0.03563185781240463,
0.051100779324769974,
0.008450119756162167,
-0.06351147592067719,
-0.09288464486598969,
0.028324127197265625,
0.001391313853673637,
-0.03972134366631508,
0.0018213764997199178,
-0.009432485327124596,
0.009868104010820389,
-0.014855497516691685,
-0.005085185170173645,
-0.011441666632890701,
-0.026670552790164948,
0.025888215750455856,
-0.045588865876197815,
0.010312614031136036,
0.005280769430100918,
-0.000025837098291958682,
0.0717260092496872,
0.051385264843702316,
-0.04967834800481796,
-0.01412650290876627,
0.04871821030974388,
0.019309479743242264,
0.00244035548530519,
0.0645427331328392,
-0.012472928501665592,
0.047224659472703934,
-0.03620082885026932,
-0.017202505841851234,
-0.015522261150181293,
-0.013015229254961014,
-0.0439530685544014,
-0.0032960358075797558,
0.07403745502233505,
-0.07055249810218811,
0.020554104819893837,
0.073539599776268,
0.05476353317499161,
-0.054656852036714554,
-0.10056576132774353,
-0.07446417957544327,
0.035756319761276245,
0.04373970627784729,
-0.03890344500541687,
-0.06578736007213593,
-0.039010126143693924,
-0.009103548713028431,
0.073539599776268,
-0.058497410267591476,
0.0011229413794353604,
-0.03323150798678398,
-0.010766012594103813,
-0.02322116121649742,
0.024021277204155922,
0.025603730231523514,
0.012775194831192493,
0.06927231699228287,
-0.018313778564333916,
0.022385483607649803,
0.006943233776837587,
-0.014997740276157856,
0.009708081372082233,
-0.021816512569785118,
-0.033142607659101486,
-0.012188442051410675,
-0.013619761914014816,
-0.03239583224058151,
0.01745143160223961,
0.055616993457078934,
-0.05067405104637146,
0.05504801869392395,
0.02130088210105896,
-0.016651315614581108,
0.015219994820654392,
-0.023985717445611954,
-0.031400129199028015,
0.0024781387764960527,
-0.05145638436079025,
-0.04633564129471779,
-0.027808496728539467,
-0.025799313560128212,
0.0011812832672148943,
0.09466268122196198,
-0.08022502064704895,
0.032520294189453125,
-0.01356642134487629,
-0.014224294573068619,
-0.030244406312704086,
-0.040254753082990646,
0.050140637904405594,
-0.007747795432806015,
-0.006894337944686413,
0.025372585281729698,
-0.016740215942263603,
0.03369379788637161,
-0.008743495680391788,
0.02629716508090496,
0.0024536908604204655,
-0.12702295184135437,
0.03659199923276901,
-0.016197916120290756,
-0.039152372628450394,
-0.009814763441681862,
-0.030102163553237915,
0.006903227884322405,
-0.09636959433555603,
0.045268818736076355,
-0.01890053227543831,
0.04580222815275192,
0.07389520853757858,
0.006529840175062418,
-0.10312613844871521,
-0.013690883293747902,
0.015726735815405846,
-0.05760839208960533,
0.010837134905159473,
0.03618304803967476,
-0.000937914417590946,
0.0014635465340688825,
-0.017638124525547028,
0.002549260389059782,
0.010766012594103813,
-0.019576186314225197,
-0.06664081662893295,
-0.018038183450698853,
0.032662536948919296,
-0.004627340938895941,
0.057074982672929764,
0.01549559086561203,
0.0043250746093690395,
-0.015175544656813145,
0.01745143160223961,
0.03271587938070297,
-0.002498141722753644,
0.00600976450368762,
-0.002185873920097947,
-0.06742315739393234,
-0.023007797077298164,
0.006587626412510872,
0.008725715801119804,
-0.004453982226550579,
0.018331559374928474,
-0.029924359172582626,
0.037658821791410446,
-0.03465393930673599,
-0.009601399302482605,
-0.02387903444468975,
0.012046199291944504,
0.03191576153039932,
-0.03627195209264755,
0.00001599191273271572,
0.07716679573059082,
-0.0254792682826519,
0.013121911324560642,
0.0014113166835159063,
-0.03289368003606796,
0.0015513370744884014,
-0.025177001953125,
-0.008663484826683998,
0.01628681644797325,
-0.029799897223711014,
0.06870334595441818,
0.037232089787721634,
0.001928058685734868,
0.06436493247747421,
0.041214894503355026,
0.008765721693634987,
-0.014651023782789707,
-0.014491000212728977,
0.039970267564058304,
-0.02665277197957039,
-0.0358630046248436,
0.00754332123324275,
-0.02242104522883892,
0.030208846554160118,
-0.03840559720993042,
0.019078334793448448,
-0.027150621637701988,
0.11756379157304764,
-0.003376047359779477,
0.011912846937775612,
0.041534941643476486,
-0.03244917094707489,
-0.061911243945360184,
-0.055759236216545105,
0.047544706612825394,
0.03506288677453995,
0.03239583224058151,
-0.03680536150932312,
-0.08420782536268234,
-0.06066661700606346,
-0.03372935950756073,
-0.060311008244752884,
-0.01065044105052948,
0.005507469177246094,
0.007329956628382206,
0.022563287988305092,
0.057857319712638855,
-0.03744545578956604,
0.013539750128984451,
-0.003013772424310446,
-0.029995480552315712,
-0.013681993819773197,
-0.006961014121770859,
-0.005716388579457998,
-0.005889746826142073,
0.07297062873840332,
0.07268614321947098,
0.0028181883972138166,
-0.06326255202293396,
-0.0008956860401667655,
0.04021919146180153,
-0.024785833433270454,
-0.061946801841259,
0.04580222815275192,
-0.03003104217350483,
-0.038476716727018356,
0.01201952900737524,
-0.04921605810523033,
0.023345623165369034,
-0.012970779091119766,
-0.008201194927096367,
-0.007752240635454655,
-0.030564453452825546,
-0.00585418613627553,
-0.02002069540321827,
-0.023132259026169777,
-0.011388326063752174,
0.09188894182443619,
0.008441230282187462,
-0.09089324623346329,
0.004365080501884222,
-0.06297806650400162,
0.002618159167468548,
-0.007730015087872744,
-0.019914012402296066,
-0.008312322199344635,
-0.010205931030213833,
0.036734241992235184,
0.05856853350996971,
-0.008685709908604622,
0.014002040028572083,
0.027701813727617264,
-0.0034738394897431135,
0.04274400696158409,
-0.0012435144744813442,
0.03740989416837692,
-0.04893157258629799,
0.043633025139570236,
-0.003971689846366644,
-0.001302412012591958,
-0.08463454991579056,
-0.017807038500905037,
-0.0011512788478285074,
-0.03470727801322937,
-0.021745391190052032,
-0.002869306830689311,
-0.056114841252565384,
-0.014419878832995892,
0.04103709012269974,
0.004413976334035397,
0.044450920075178146,
0.015860088169574738
] |
725,613 | flask_redis.client | __delitem__ | null | def __delitem__(self, name):
del self._redis_client[name]
| (self, name) | [
0.01846068724989891,
0.0005913188797421753,
-0.04676707461476326,
-0.020870832726359367,
-0.009743140079081059,
-0.010102097876369953,
-0.07589393109083176,
0.05955280736088753,
0.07384274899959564,
0.007337268441915512,
-0.03938279673457146,
0.025075765326619148,
0.011965259909629822,
0.00070830067852512,
-0.015161694027483463,
-0.022238289937376976,
0.00870045367628336,
0.013059226796030998,
0.019520467147231102,
-0.05261295661330223,
-0.03196433559060097,
0.0621509775519371,
0.07985956221818924,
-0.006691998802125454,
-0.019879424944519997,
0.03941698372364044,
0.05032246559858322,
0.04406634345650673,
0.02994733676314354,
-0.051997601985931396,
-0.0723385438323021,
0.016204381361603737,
0.003087464487180114,
0.04129723832011223,
0.012486603111028671,
-0.0162300206720829,
-0.047587547451257706,
-0.006251848302781582,
-0.08266285061836243,
0.00942691508680582,
0.04628846421837807,
0.028990115970373154,
0.059347689151763916,
-0.03869906812906265,
0.06481752544641495,
0.06068095937371254,
0.02444331720471382,
0.02075118012726307,
-0.004392959643155336,
0.008982491679489613,
0.007461194414645433,
0.010640534572303295,
0.001790515729226172,
0.03934861347079277,
-0.026750901713967323,
0.018426500260829926,
0.013606210239231586,
0.04970710724592209,
0.009905525483191013,
0.03685300052165985,
-0.00006563532951986417,
0.025844961404800415,
0.006362954154610634,
-0.03794696554541588,
0.03647695109248161,
-0.01454633753746748,
0.009187609888613224,
0.008563707582652569,
0.013768595643341541,
-0.027212420478463173,
0.030819090083241463,
-0.000966301595326513,
-0.0047775572165846825,
-0.002587487455457449,
-0.008166289888322353,
-0.015247159637510777,
0.018238475546240807,
0.0013995080953463912,
0.04454495385289192,
-0.009640580974519253,
0.03907512128353119,
-0.017426546663045883,
-0.002049050759524107,
0.01858033984899521,
-0.02259724773466587,
-0.0004233244981151074,
0.03712649270892143,
-0.01943500153720379,
-0.03572484850883484,
-0.00007872233254602179,
0.013178879395127296,
0.027537191286683083,
-0.04998059943318367,
0.005521112587302923,
-0.008281669579446316,
-0.052305277436971664,
0.013896794989705086,
-0.03186177834868431,
0.027605563402175903,
-0.029537098482251167,
0.02804998867213726,
0.002279809443280101,
-0.022152824327349663,
-0.026562876999378204,
-0.005704864859580994,
-0.025725308805704117,
0.028203826397657394,
-0.061057012528181076,
-0.020853739231824875,
0.023725401610136032,
-0.017811143770813942,
0.0381179004907608,
-0.01647787168622017,
0.011153331957757473,
0.03657950833439827,
0.0162300206720829,
-0.05049339681863785,
-0.05141643062233925,
-0.009717500768601894,
0.009905525483191013,
-0.017306894063949585,
-0.005367273930460215,
-0.021195603534579277,
-0.000145559519296512,
0.07917583733797073,
0.03211817517876625,
-0.02017000876367092,
0.02804998867213726,
0.038459762930870056,
-0.017964983358979225,
0.007294535171240568,
0.01977686583995819,
-0.013520743697881699,
-0.018768364563584328,
0.03702393174171448,
0.030631065368652344,
0.0679284930229187,
-0.0105721615254879,
0.004918576683849096,
-0.008820106275379658,
-0.04536542668938637,
0.04447657987475395,
0.013084866106510162,
0.03066525235772133,
0.06803105026483536,
-0.040032342076301575,
-0.05469832941889763,
-0.011965259909629822,
-0.02469971589744091,
-0.013195971958339214,
-0.01805044896900654,
0.04263051226735115,
0.007234708871692419,
-0.0073629082180559635,
-0.04618590325117111,
0.03073362447321415,
-0.08307308703660965,
0.016700083389878273,
-0.07015060633420944,
-0.016930842772126198,
0.030169548466801643,
0.048168718814849854,
0.012725908309221268,
-0.05377529561519623,
-0.04526286944746971,
-0.0450577512383461,
0.02146909572184086,
-0.02639194391667843,
-0.03028920106589794,
0.032015617936849594,
-0.050937820225954056,
-0.014178832992911339,
-0.013469464145600796,
0.009973898530006409,
-0.021434908732771873,
0.0032968565355986357,
-0.03355400636792183,
0.00017119936819653958,
-0.0015074090333655477,
-0.0656379982829094,
-0.04215190187096596,
-0.028596971184015274,
-0.019999077543616295,
-0.022545969113707542,
0.014674536883831024,
0.005692045204341412,
0.027605563402175903,
0.043314240872859955,
0.06406541913747787,
0.030049895867705345,
-0.017460733652114868,
-0.01194816641509533,
-0.021041763946413994,
-0.0003482745378278196,
0.046801257878541946,
-0.003668634220957756,
0.0006126853986643255,
-0.0060168164782226086,
0.011238797567784786,
0.01303358655422926,
-0.0644756555557251,
0.032477132976055145,
-0.029571285471320152,
-0.0009817923419177532,
0.0003114172432105988,
-0.0328189991414547,
0.05288644880056381,
-0.013255798257887363,
0.003399415872991085,
0.029383258894085884,
-0.004160064272582531,
0.05527950078248978,
0.028853369876742363,
0.043963782489299774,
0.07179155945777893,
-0.06789430230855942,
-0.055689737200737,
0.006927030626684427,
0.04355354607105255,
0.02398180030286312,
-0.02155456133186817,
0.02435784973204136,
0.010879839770495892,
-0.032083988189697266,
-0.014785642735660076,
0.013905341736972332,
-0.004089554771780968,
0.02358865551650524,
0.0336223803460598,
-0.01185415405780077,
0.06009979173541069,
0.03986140713095665,
0.06406541913747787,
-0.006897117476910353,
-0.011401182971894741,
0.002307585906237364,
-0.06621916592121124,
-0.03416936472058296,
-0.002141995122656226,
-0.012298577465116978,
0.0009524133056402206,
0.0012969487579539418,
0.03801533952355385,
0.03999815508723259,
0.043382614850997925,
0.08061166852712631,
0.01274300180375576,
0.06392867118120193,
-0.021315256133675575,
-0.030528506264090538,
0.035177864134311676,
-0.03948535770177841,
0.021520374342799187,
0.0214861873537302,
0.043519359081983566,
-0.045673105865716934,
-0.03958791866898537,
-0.012110552750527859,
-0.03138316795229912,
-0.0002600040170364082,
-0.048955004662275314,
-0.0021516100969165564,
-0.025776589289307594,
0.05880070477724075,
0.03213527053594589,
0.008217569440603256,
0.03440866991877556,
0.09155133366584778,
-0.00011130629718536511,
0.004657904617488384,
0.07110782712697983,
-0.028682436794042587,
0.05695463716983795,
-0.05182666704058647,
-0.040032342076301575,
0.004845930263400078,
-0.03022082708775997,
0.005756144877523184,
-0.03907512128353119,
0.0003159576444886625,
0.043450985103845596,
-0.011734501458704472,
0.03312667831778526,
-0.002395188668742776,
-0.0034977018367499113,
-0.009657674469053745,
0.061774928122758865,
0.009726046584546566,
0.016606071963906288,
0.04885244742035866,
-0.0070765963755548,
-0.03822045773267746,
-0.010888386517763138,
0.00732017494738102,
-0.008649173192679882,
-0.02377668023109436,
-0.06721057742834091,
0.05787767097353935,
0.03900674730539322,
0.06898827105760574,
-0.02849441207945347,
-0.01818719506263733,
-0.0797228142619133,
-0.010555068962275982,
-0.004356636665761471,
-0.0066663590259850025,
0.05391204357147217,
0.06721057742834091,
-0.031827591359615326,
0.0441347174346447,
0.016136007383465767,
-0.015264253132045269,
-0.061843302100896835,
0.028340572491288185,
0.06133050471544266,
0.007555206771939993,
-0.007499653846025467,
0.03420355170965195,
0.005965536925941706,
0.0797228142619133,
-0.02081955224275589,
-0.0019026900408789515,
-0.051587361842393875,
0.020768271759152412,
0.04406634345650673,
0.0010571093298494816,
-0.05609997734427452,
0.026562876999378204,
0.02606717310845852,
0.0196401197463274,
-0.033007025718688965,
-0.01760602556169033,
-0.010879839770495892,
-0.047006379812955856,
0.014571976847946644,
-0.036750439554452896,
0.05517693981528282,
0.010879839770495892,
0.013572023250162601,
0.005606579128652811,
-0.0168111901730299,
0.006636445876210928,
0.017452185973525047,
-0.002209299709647894,
-0.06037328392267227,
0.000073447467002552,
0.005290354136377573,
-0.0028267926536500454,
0.04078444465994835,
-0.0021847281605005264,
0.07090271264314651,
0.03986140713095665,
0.04926268383860588,
0.04300656169652939,
0.0986621156334877,
-0.023622842505574226,
-0.006901390850543976,
0.022973299026489258,
-0.005563845857977867,
-0.04263051226735115,
-0.007012497168034315,
-0.028203826397657394,
-0.006948397494852543,
-0.008350041694939137,
-0.04054513946175575,
-0.04796360060572624,
-0.033519819378852844,
-0.060065604746341705,
0.04854476824402809,
-0.055997416377067566,
-0.06591148674488068,
-0.01590524986386299,
-0.027930336073040962,
0.0462200902402401,
0.010187564417719841,
0.0034677886869758368,
0.038904186338186264,
0.03640857711434364,
-0.018101729452610016,
-0.01720433495938778,
-0.01570867747068405,
-0.00939272902905941,
0.06970618665218353,
-0.011785781010985374,
0.007221889216452837,
0.025400537997484207,
-0.03722904995083809,
0.013990807346999645,
-0.0027455997187644243,
0.020084543153643608,
0.019469186663627625,
-0.014665990136563778,
-0.03218654915690422,
0.010461055673658848,
-0.10426869243383408,
-0.009632034227252007,
-0.00939272902905941,
-0.06167236715555191,
-0.08806431293487549,
-0.04557054862380028,
0.04543380066752434,
0.016460778191685677,
-0.03999815508723259,
-0.006914210971444845,
0.030887464061379433,
0.016315486282110214,
-0.004115194547921419,
0.03382749855518341,
0.02724660560488701,
-0.029331980273127556,
0.0041899774223566055,
0.00363658438436687,
0.0025255244690924883,
-0.035109490156173706,
-0.005243347957730293,
-0.05114293843507767,
0.012358403764665127,
-0.003181477077305317,
0.06666359305381775,
0.07015060633420944,
-0.015665944665670395,
0.03579321876168251,
0.003790423506870866,
-0.02095629833638668,
-0.048510581254959106,
-0.025246698409318924,
-0.004683544393628836,
-0.0042946734465658665,
-0.018563246354460716,
-0.009828606620430946,
-0.02962256409227848,
-0.062424469739198685,
0.020443500950932503,
-0.04098956286907196,
0.003476335434243083,
0.030887464061379433,
-0.01564030349254608,
-0.033861685544252396,
-0.03191305696964264,
0.02666543610394001,
-0.014948028139770031,
-0.01805044896900654,
0.0172727070748806,
-0.035041119903326035,
0.008905571885406971,
0.006230481900274754,
0.0021665666718035936,
0.019981984049081802,
0.07056085020303726,
-0.02548600360751152,
-0.0013450233964249492,
0.016238566488027573,
-0.023742495104670525,
-0.05148480460047722,
0.018494872376322746,
-0.07076596468687057,
0.0007136422791518271,
0.01595652848482132,
-0.009572207927703857,
-0.06266377866268158,
-0.012700268998742104,
0.03900674730539322,
-0.0157685037702322,
-0.045878224074840546,
0.0003878026327583939,
0.08717546612024307,
0.024084359407424927,
0.025451816618442535,
0.04263051226735115,
-0.01073454786092043,
-0.014178832992911339,
-0.0025468911044299603,
-0.039314426481723785,
-0.033519819378852844,
-0.04290400445461273,
0.004301083739846945,
-0.002459288341924548,
0.06256121397018433,
0.00018134847050532699,
-0.035041119903326035,
0.015913795679807663,
-0.04276725649833679,
0.05076688900589943,
-0.025246698409318924,
-0.01099949236959219,
-0.02299039252102375,
0.0022840825840830803,
-0.03273353353142738,
0.027092767879366875,
-0.0205631535500288,
-0.02647741138935089,
-0.040818627923727036,
-0.02528088539838791,
-0.0033054030500352383,
0.08505590260028839,
-0.049091752618551254,
-0.059005822986364365,
-0.0032989929895848036,
0.0077432324178516865,
-0.036818813532590866,
0.0013525016838684678,
0.01753765158355236,
-0.06485170871019363,
-0.01569158397614956,
0.0441347174346447,
-0.043211679905653,
0.031024210155010223,
0.027400445193052292,
-0.030237920582294464,
-0.07124457508325577,
-0.05497182160615921,
0.010683267377316952,
0.02528088539838791,
0.005277534481137991,
0.03613508492708206,
-0.026169732213020325,
-0.07268040627241135,
0.02370830811560154,
-0.018836738541722298,
0.003948535770177841,
0.04748499020934105,
0.023400628939270973,
-0.023827960714697838,
0.04741661623120308,
-0.06543287634849548,
-0.07295390218496323,
-0.04249376431107521,
0.019452093169093132,
0.04943361505866051,
0.07821861654520035,
0.0025340712163597345,
0.023007486015558243,
-0.03712649270892143,
-0.02398180030286312,
0.021178510040044785,
0.006875751074403524,
-0.07931257784366608,
-0.02304167114198208,
0.012153285555541515,
0.03528042510151863,
0.029930243268609047,
0.03480181470513344,
0.07097108662128448,
-0.07534695416688919,
-0.07664603739976883,
0.00438441289588809,
0.011341356672346592,
0.05548461899161339,
-0.025195417925715446,
0.017640212550759315,
-0.022426316514611244,
-0.04919430986046791,
0.02155456133186817,
-0.08785919100046158,
0.043519359081983566,
0.01636676676571369,
-0.0325796939432621,
-0.063552625477314,
0.022751087322831154,
0.009059411473572254,
-0.00599545007571578,
0.06635591387748718,
0.045809853821992874,
0.041878409683704376,
0.0797228142619133,
0.01601635478436947,
0.01251224335283041,
-0.058151163160800934,
0.06351843476295471,
0.003279763273894787,
-0.035759035497903824,
-0.08368844538927078,
0.0718599334359169,
0.027810683473944664,
-0.05975792557001114,
0.04392959550023079,
0.01740945316851139,
-0.09503834694623947,
-0.02273399382829666,
-0.058082789182662964,
0.0037541002966463566,
0.026221012696623802,
-0.025451816618442535,
-0.04293819144368172,
-0.004010498523712158,
0.038528136909008026,
0.038972560316324234,
0.014366858638823032,
-0.017323987558484077,
0.051074568182229996,
0.03073362447321415,
-0.02141781523823738,
-0.01753765158355236,
0.017460733652114868,
0.010888386517763138,
0.014341218397021294,
0.0605442151427269,
-0.0014678810257464647,
-0.06553544104099274,
0.07616742700338364,
0.0628347098827362,
-0.015024947933852673,
0.05531368777155876,
-0.011871247552335262,
0.0007323379977606237,
0.0845772922039032,
-0.08403030782938004,
-0.029331980273127556,
0.004730551037937403,
-0.03606671094894409,
-0.07534695416688919,
0.001830043736845255,
-0.03416936472058296,
0.05380948260426521,
0.04444239288568497,
-0.008196203038096428,
0.021708400920033455,
-0.03093874268233776,
-0.012922480702400208,
-0.02054606005549431,
-0.00007732015365036204,
-0.0008749596308916807,
-0.02213573083281517,
-0.026716716587543488,
-0.010102097876369953,
-0.03232329338788986,
0.0036301743239164352,
0.005273261107504368,
-0.032083988189697266,
0.02449459582567215,
-0.022682713344693184,
-0.05018571764230728,
0.014298485592007637,
0.022152824327349663,
0.01053797546774149,
0.007050956599414349,
-0.012358403764665127,
0.00958930142223835,
-0.03603252395987511,
-0.020802458748221397,
0.09209831804037094,
-0.0041280146688222885,
-0.03273353353142738,
0.030186641961336136,
-0.08697034418582916,
-0.009503834880888462,
0.016255659982562065,
-0.04734824225306511,
0.03469925373792648,
-0.013990807346999645,
-0.011631942354142666,
0.011144785210490227,
0.03370784595608711,
0.00299772503785789,
0.021127229556441307,
0.009768780320882797,
0.045809853821992874,
-0.020716993138194084,
-0.04615171626210213,
-0.027503004297614098,
-0.05240783840417862,
-0.0032925831619650126,
-0.037263236939907074,
0.01303358655422926,
0.015606117434799671,
-0.0656379982829094,
-0.004568165168166161,
0.02962256409227848,
-0.04170747846364975,
0.0381179004907608,
-0.0026900467928498983,
0.0027498730923980474,
-0.04721149802207947,
-0.02869953028857708,
-0.01136699691414833,
0.009614940732717514,
0.02141781523823738,
-0.0022669893223792315,
-0.01014483068138361,
0.032408762723207474,
-0.07035572826862335,
0.040237460285425186,
0.00684583792462945,
0.03869906812906265,
0.025451816618442535,
0.048442211002111435,
-0.012409684248268604,
0.0022755360696464777,
-0.04457914084196091,
-0.04741661623120308,
-0.01119606476277113,
-0.005726231727749109,
-0.0268021821975708,
-0.01846068724989891,
-0.07712464779615402,
-0.026853462681174278,
0.021298162639141083,
-0.07206504791975021,
-0.011879793368279934,
0.024323664605617523,
-0.0009604257647879422,
0.0010320036672055721,
0.06252703070640564,
-0.02666543610394001,
0.02338353730738163,
0.008217569440603256,
0.014341218397021294,
-0.02476808801293373,
-0.026289384812116623,
0.0004139766388107091,
0.054082974791526794,
0.033468540757894516,
0.024255290627479553,
0.03387877717614174,
0.02849441207945347,
0.014665990136563778,
-0.03869906812906265,
-0.01365748979151249,
-0.04642520844936371,
0.038323018699884415,
-0.02141781523823738,
0.01251224335283041,
0.023759586736559868,
-0.00438441289588809,
0.030186641961336136,
-0.03757091611623764,
0.005256167612969875,
-0.030579784885048866,
-0.012640442699193954,
0.07165481150150299,
-0.020135823637247086,
-0.03750254213809967,
-0.01640949957072735,
0.029041394591331482,
0.04611752927303314,
-0.03692137449979782,
0.07008223980665207,
-0.008794466033577919,
0.06994549185037613,
0.026494504883885384,
-0.04963873699307442,
0.009657674469053745,
0.004999769385904074,
-0.00029699484002776444,
-0.0006805241573601961,
-0.017520559951663017,
-0.016460778191685677,
0.09442299604415894,
-0.023554468527436256,
-0.009802966378629208,
0.04184422269463539,
0.021657120436429977,
-0.03013536147773266,
0.06074933335185051,
0.012349857948720455,
-0.07021898031234741,
-0.042049340903759,
-0.005145061761140823,
0.006277488078922033,
0.012349857948720455,
-0.005448466632515192,
0.044886816293001175,
-0.02770812250673771,
-0.019144415855407715,
-0.003901529358699918,
-0.033007025718688965,
0.03938279673457146,
-0.01846068724989891
] |
725,614 | flask_redis.client | __getattr__ | null | def __getattr__(self, name):
return getattr(self._redis_client, name)
| (self, name) | [
0.03561704233288765,
-0.04867333546280861,
-0.03357802331447601,
0.005652519874274731,
0.03163766860961914,
0.011091271415352821,
0.02527395822107792,
0.03808359429240227,
0.06524857878684998,
-0.00731744384393096,
-0.028743576258420944,
0.05248827114701271,
0.024385998025536537,
-0.0024727205745875835,
0.013936030678451061,
0.010400636121630669,
0.014396454207599163,
0.01336872298270464,
0.031111469492316246,
-0.019008910283446312,
-0.015226860530674458,
0.034235771745443344,
0.07333887368440628,
-0.02468198537826538,
0.029203999787569046,
0.09616272151470184,
0.018038732931017876,
0.03076615184545517,
0.0741281732916832,
-0.06258469820022583,
-0.05041636526584625,
0.011009053327143192,
-0.002988641383126378,
0.061038993299007416,
0.0010873392457142472,
0.01031841803342104,
-0.048804882913827896,
0.0039012664929032326,
-0.05696095526218414,
0.005956728011369705,
0.04406910017132759,
0.00797108095139265,
0.042490504682064056,
-0.06334111094474792,
0.041010573506355286,
0.00473989499732852,
0.01096794381737709,
0.04130655899643898,
0.044332198798656464,
-0.04489128291606903,
0.04045148566365242,
-0.005360644310712814,
-0.013319391757249832,
0.0136893754824996,
-0.03834669291973114,
-0.006824132986366749,
0.01549818180501461,
0.06432773172855377,
-0.01978176459670067,
0.0652814656496048,
-0.05880264937877655,
-0.016904117539525032,
0.006100610364228487,
0.021376801654696465,
0.017956513911485672,
-0.05459306389093399,
-0.019321341067552567,
0.025767268612980843,
0.009455123916268349,
-0.0050523248501122,
0.05462595075368881,
0.05577700957655907,
-0.009224912151694298,
-0.06324245035648346,
-0.020932823419570923,
-0.005516859237104654,
-0.04429931193590164,
-0.028529809787869453,
0.018910247832536697,
-0.013845589943230152,
0.00084890570724383,
0.0040307603776454926,
-0.021607013419270515,
0.008567164652049541,
-0.043345578014850616,
-0.03541971743106842,
-0.007658650632947683,
-0.05041636526584625,
-0.07129985839128494,
-0.007379107642918825,
-0.006022503133863211,
0.054066866636276245,
-0.053869541734457016,
0.03999106213450432,
-0.04870622232556343,
-0.07393084466457367,
0.022248318418860435,
-0.02571793831884861,
0.03558415547013283,
0.01033486146479845,
-0.011214599013328552,
0.0363076776266098,
0.014569113031029701,
-0.027872061356902122,
0.010449967347085476,
-0.05038347840309143,
-0.01830183155834675,
-0.031933654099702835,
0.007469547912478447,
0.021607013419270515,
0.04275360330939293,
0.03558415547013283,
-0.01234099268913269,
0.019008910283446312,
0.020686166360974312,
-0.013080958276987076,
-0.025569943711161613,
-0.04337846487760544,
-0.01917334645986557,
0.003913599066436291,
-0.03709697350859642,
0.011362592689692974,
0.038478244096040726,
0.018696479499340057,
0.028299598023295403,
0.06580766290426254,
-0.026096142828464508,
-0.004271249752491713,
0.08057410269975662,
-0.0311936866492033,
0.039333317428827286,
0.011107715778052807,
-0.016583465039730072,
0.0375245101749897,
0.0387413427233696,
0.05291580781340599,
0.07235225290060043,
0.05432996526360512,
0.010992609895765781,
0.027724068611860275,
0.0020513508934527636,
0.009989543817937374,
0.0006567200180143118,
-0.0039978730492293835,
0.01516108587384224,
-0.03305182605981827,
0.0215083509683609,
0.045022834092378616,
0.021409690380096436,
-0.038017820566892624,
0.021459020674228668,
0.04528593271970749,
0.026030367240309715,
0.0032291305251419544,
-0.04239184409379959,
0.003952653147280216,
-0.0759698674082756,
-0.006260936614125967,
-0.01599971391260624,
-0.04492417350411415,
-0.018499156460165977,
0.024616209790110588,
-0.056171659380197525,
-0.10563428699970245,
0.011222820729017258,
-0.011847681365907192,
0.022478530183434486,
-0.04127367213368416,
-0.004063647706061602,
0.0652814656496048,
-0.06291357427835464,
-0.017578309401869774,
-0.039267539978027344,
0.04722628742456436,
-0.015917494893074036,
-0.015531068667769432,
-0.06534723937511444,
0.025882374495267868,
0.00918380357325077,
-0.03331492468714714,
-0.02573438175022602,
-0.008086186833679676,
-0.055119261145591736,
-0.03245985135436058,
0.021393245086073875,
0.031522560864686966,
0.07287845015525818,
0.02382691204547882,
0.03611035272479057,
0.02256074734032154,
0.023563813418149948,
0.009224912151694298,
0.022511417046189308,
-0.008468502201139927,
-0.0033216262236237526,
-0.04281938076019287,
-0.010014209896326065,
-0.0008206430939026177,
-0.008020412176847458,
0.09057186543941498,
-0.023662475869059563,
0.06820844113826752,
-0.05860532447695732,
0.0430167019367218,
0.021952331066131592,
-0.04061592370271683,
0.07472014427185059,
0.00447268458083272,
-0.011633913964033127,
-0.02658945322036743,
-0.058901313692331314,
0.007535322569310665,
-0.0036751655861735344,
0.03689964860677719,
0.034663308411836624,
0.027082763612270355,
-0.008575386367738247,
-0.023432264104485512,
0.058703988790512085,
0.03329848125576973,
0.023498039692640305,
0.04495706036686897,
0.013015183620154858,
-0.033397141844034195,
-0.02568504959344864,
-0.03617612645030022,
-0.018614262342453003,
-0.008299954235553741,
-0.029351994395256042,
-0.05347489193081856,
0.07682494074106216,
0.016188817098736763,
0.04860755801200867,
0.0011685299687087536,
-0.01835116185247898,
0.009085141122341156,
-0.008468502201139927,
0.04091190919280052,
0.016287479549646378,
0.03650500252842903,
0.02404068037867546,
0.027460968121886253,
0.05031770467758179,
0.024122899398207664,
0.006750136613845825,
0.024139342829585075,
0.008534276857972145,
0.047555163502693176,
-0.02527395822107792,
0.010803506709635258,
0.0556783489882946,
-0.03482774272561073,
0.0014850711449980736,
-0.0023966683074831963,
-0.006445928011089563,
-0.036998312920331955,
-0.08004790544509888,
-0.007576432079076767,
-0.0010246477322652936,
-0.01703566685318947,
-0.08261311799287796,
0.01592571847140789,
-0.011650357395410538,
0.004587790463119745,
-0.010252643376588821,
0.005352422595024109,
0.018038732931017876,
0.06722182035446167,
-0.0286778025329113,
-0.0037306630983948708,
0.00605539046227932,
-0.008234179578721523,
0.011148824356496334,
0.009981322102248669,
-0.024320224300026894,
-0.0645250529050827,
-0.010581516660749912,
0.0030133069958537817,
-0.05021904036402702,
-0.025619275867938995,
-0.011864124797284603,
0.02637568488717079,
0.0008679187158122659,
-0.009109806269407272,
-0.03282161429524422,
-0.037820495665073395,
0.049265306442976,
0.01667390577495098,
-0.0016967837000265718,
0.007239336147904396,
0.050942562520504,
-0.03670232370495796,
-0.008871372789144516,
-0.05117277428507805,
-0.011379036121070385,
-0.03943197801709175,
-0.05748715251684189,
0.03923465311527252,
0.024714872241020203,
0.030503053218126297,
-0.023563813418149948,
-0.05492193624377251,
-0.0855729803442955,
0.023481594398617744,
-0.01317962072789669,
0.021376801654696465,
0.05778314173221588,
0.07518056780099869,
-0.05041636526584625,
0.03611035272479057,
0.004238361958414316,
-0.004641232546418905,
-0.030618159100413322,
0.006643252447247505,
0.03574858978390694,
0.008822041563689709,
-0.00989910401403904,
0.05515214800834656,
0.03745873644948006,
0.09918836504220963,
-0.04844312369823456,
0.03943197801709175,
-0.03459753096103668,
0.053442005068063736,
0.0318843238055706,
0.026063255965709686,
-0.07090520858764648,
0.009668892249464989,
-0.0009516787831671536,
0.00045528478221967816,
-0.05778314173221588,
-0.021113703027367592,
-0.007383218500763178,
-0.00010810443927766755,
0.011469476856291294,
-0.016756124794483185,
0.04107634723186493,
0.03870845586061478,
-0.02658945322036743,
-0.005011215806007385,
0.014519781805574894,
0.0018540264572948217,
-0.018038732931017876,
-0.005224983673542738,
-0.03247629478573799,
0.027740512043237686,
0.019321341067552567,
0.021968774497509003,
0.04258916899561882,
-0.05515214800834656,
0.012941187247633934,
-0.05564546212553978,
0.03749162331223488,
0.058703988790512085,
0.03601168841123581,
-0.035485491156578064,
-0.001744059263728559,
-0.02231409214437008,
-0.016057267785072327,
-0.015859942883253098,
-0.0018643038347363472,
-0.04597656801342964,
0.01729876548051834,
-0.0009665808756835759,
-0.09261088818311691,
-0.008353396318852901,
-0.03377534821629524,
-0.023925574496388435,
0.056829407811164856,
-0.05788180232048035,
-0.08017945289611816,
0.027460968121886253,
-0.027345864102244377,
0.02632635459303856,
-0.028513366356492043,
0.0066391415894031525,
-0.0053195348009467125,
-0.010688400827348232,
0.020406624302268028,
-0.0042136968113482,
0.01812095008790493,
-0.002850925549864769,
0.03495929390192032,
0.03443309664726257,
0.01581883430480957,
0.007116008549928665,
-0.038248032331466675,
-0.009660670533776283,
0.02339937724173069,
-0.011107715778052807,
-0.021853668615221977,
-0.013311170041561127,
-0.0489693209528923,
0.014766437001526356,
-0.07465437054634094,
-0.0392017662525177,
0.028365371748805046,
-0.05492193624377251,
-0.01651769131422043,
-0.03555126488208771,
0.015440628863871098,
0.020521730184555054,
0.008180737495422363,
0.02677033469080925,
0.00144807284232229,
0.01897602342069149,
0.05074524134397507,
0.04679875448346138,
0.0202092994004488,
-0.043707337230443954,
-0.03078259527683258,
-0.004271249752491713,
-0.060381244868040085,
-0.05146876350045204,
-0.034268658608198166,
-0.05600722134113312,
0.04551614448428154,
0.0014295736327767372,
0.0518634095788002,
0.05012037977576256,
-0.011436589062213898,
-0.01118171215057373,
-0.013294726610183716,
-0.028957344591617584,
-0.014051136560738087,
-0.0074613261967897415,
0.014149799011647701,
0.010556851513683796,
-0.004337024409323931,
0.017019223421812057,
-0.00949623342603445,
-0.01630392298102379,
0.020932823419570923,
-0.02002841979265213,
0.06860309094190598,
-0.0005297952448017895,
-0.007062566466629505,
-0.031045693904161453,
-0.04462818428874016,
0.0029269775841385126,
0.00250149704515934,
-0.010491076856851578,
-0.011543473228812218,
-0.0501861535012722,
-0.0010750064393505454,
-0.04364156350493431,
-0.022379867732524872,
0.045220158994197845,
0.08412593603134155,
-0.07820621132850647,
-0.03709697350859642,
0.007958747446537018,
0.004149977117776871,
-0.005229094531387091,
0.035945914685726166,
-0.030059073120355606,
-0.01705211028456688,
-0.002304172609001398,
0.07925860583782196,
-0.05189630016684532,
-0.021639902144670486,
0.010819951072335243,
-0.049659956246614456,
-0.026819664984941483,
-0.035090841352939606,
0.07583831995725632,
0.01787429489195347,
0.019847538322210312,
0.021820781752467155,
-0.025569943711161613,
0.044989947229623795,
-0.014569113031029701,
-0.04890354722738266,
-0.049857281148433685,
-0.006910462398082018,
-0.0025898818857967854,
-0.028102273121476173,
0.032772284001111984,
-0.057651590555906296,
-0.048147134482860565,
-0.041602544486522675,
-0.006277380045503378,
0.02530684508383274,
-0.026688115671277046,
-0.020554617047309875,
-0.040813248604536057,
0.01421557366847992,
0.0387413427233696,
0.03155544772744179,
-0.04906798154115677,
-0.00047840873594395816,
0.08859862387180328,
-0.0035271723754704,
0.027674736455082893,
0.032788727432489395,
0.005640186835080385,
-0.03811648115515709,
-0.013623600825667381,
0.016739681363105774,
0.03433443233370781,
-0.010079984553158283,
-0.00652814656496048,
-0.032525625079870224,
0.027954280376434326,
0.01423201709985733,
-0.037392958998680115,
-0.02024218812584877,
0.027312975376844406,
0.0375245101749897,
-0.04716051369905472,
0.026030367240309715,
0.021113703027367592,
-0.07018168270587921,
0.009594895876944065,
-0.00034917157609015703,
-0.037590283900499344,
-0.03877422958612442,
0.005767625756561756,
-0.06607076525688171,
0.011847681365907192,
0.07379929721355438,
0.02530684508383274,
-0.04429931193590164,
0.023021170869469643,
-0.06607076525688171,
-0.03749162331223488,
-0.02974664233624935,
0.009940212592482567,
-0.0017790021374821663,
0.06682717055082321,
0.00015929828805383295,
0.010203312151134014,
-0.06251892447471619,
0.04505572095513344,
0.01433890126645565,
0.02404068037867546,
-0.09997765719890594,
0.01547351572662592,
-0.03535394370555878,
0.010729510337114334,
0.0480484738945961,
0.007013235706835985,
0.02698410116136074,
-0.06265047192573547,
-0.05577700957655907,
-0.05880264937877655,
0.004698785487562418,
0.04489128291606903,
0.011938122101128101,
-0.048377346247434616,
0.006606254260987043,
-0.01751253381371498,
-0.010162202641367912,
-0.0889274999499321,
0.0315718911588192,
0.00236789183691144,
-0.02589881792664528,
-0.07879818230867386,
-0.012521873228251934,
0.05294869467616081,
0.04107634723186493,
0.019304897636175156,
0.03670232370495796,
0.0730757787823677,
0.0009845661697909236,
-0.00029855582397431135,
0.017808521166443825,
0.000520288769621402,
0.02862847037613392,
-0.04906798154115677,
-0.03558415547013283,
-0.044365085661411285,
0.054297078400850296,
0.06774801760911942,
-0.009430458769202232,
0.07281267642974854,
0.04653565585613251,
-0.04443086311221123,
0.01138725783675909,
-0.020192855969071388,
0.0019136349437758327,
-0.009964878670871258,
-0.02716498263180256,
-0.025882374495267868,
-0.03703119978308678,
-0.0027645961381495,
-0.0008324619848281145,
0.04005683958530426,
0.026309911161661148,
0.010713066905736923,
-0.0010935056488960981,
-0.050284817814826965,
-0.05104122683405876,
0.027691179886460304,
0.04022127389907837,
-0.010301974602043629,
0.027345864102244377,
0.03315048664808273,
-0.012332770973443985,
0.026408571749925613,
0.018696479499340057,
0.026671672239899635,
0.05061369016766548,
0.0011479754466563463,
-0.0013401610776782036,
0.039103105664253235,
-0.059131525456905365,
-0.011296818032860756,
-0.003979373723268509,
-0.021459020674228668,
-0.06774801760911942,
0.017430314794182777,
-0.033841121941804886,
0.05199496075510979,
0.06866886466741562,
0.006297934800386429,
-0.018647149205207825,
0.017348097637295723,
-0.00357855879701674,
-0.03433443233370781,
0.034860629588365555,
0.051962073892354965,
0.0032620178535580635,
-0.0026042701210826635,
-0.040122613310813904,
-0.023054059594869614,
0.04196430742740631,
-0.07176028192043304,
0.005504526663571596,
0.004018427804112434,
-0.007592875510454178,
-0.005903285928070545,
0.03913599252700806,
-0.018416937440633774,
-0.019091129302978516,
-0.019074685871601105,
0.05271848291158676,
-0.008073853328824043,
-0.060808781534433365,
-0.018860917538404465,
0.03476196900010109,
0.01665746234357357,
-0.01877869851887226,
0.025833044201135635,
-0.04482550919055939,
0.010507520288228989,
-0.004258916713297367,
-0.04706185311079025,
0.003428510157391429,
-0.009200247004628181,
-0.03726141154766083,
-0.011897012591362,
-0.006441817153245211,
0.0573556050658226,
0.031029250472784042,
-0.05492193624377251,
0.04002395272254944,
-0.006273269187659025,
-0.0061663854867219925,
-0.02800361067056656,
-0.05620454624295235,
0.0021972886752337217,
-0.05291580781340599,
-0.007181783206760883,
0.01000598818063736,
-0.034465983510017395,
-0.03321626037359238,
0.010466411709785461,
0.0019269953481853008,
0.025043746456503868,
0.06580766290426254,
0.021820781752467155,
-0.0331011563539505,
-0.03453175723552704,
-0.012916522100567818,
0.02190300077199936,
0.02719786949455738,
-0.034860629588365555,
0.048377346247434616,
-0.0017913349438458681,
-0.04400332644581795,
0.024747759103775024,
-0.011650357395410538,
0.08859862387180328,
0.016262812539935112,
-0.005463417153805494,
0.02129458449780941,
-0.025208182632923126,
-0.006984459236264229,
-0.08366551250219345,
-0.019288452342152596,
0.002166456775739789,
-0.024731315672397614,
0.015868164598941803,
-0.05156742408871651,
-0.0242544487118721,
0.008748045191168785,
-0.07162873446941376,
-0.0003987595846410841,
0.06090744212269783,
0.010384192690253258,
0.0067254710011184216,
0.044332198798656464,
-0.04275360330939293,
0.020127082243561745,
-0.009874437935650349,
0.024994414299726486,
-0.00521265110000968,
-0.0074078841134905815,
0.0049742176197469234,
0.039333317428827286,
0.038445357233285904,
0.032986048609018326,
0.0006772746564820409,
0.04887066036462784,
0.005146876443177462,
-0.01683834195137024,
0.031308792531490326,
-0.07005013525485992,
0.10550273954868317,
-0.049232419580221176,
-0.020094193518161774,
0.03453175723552704,
-0.006495259236544371,
0.043510016053915024,
0.0059526171535253525,
-0.018055176362395287,
0.002244564238935709,
-0.05607299506664276,
0.06958971172571182,
0.009890882298350334,
-0.01856493018567562,
-0.010400636121630669,
0.010153980925679207,
0.04508860781788826,
-0.054691728204488754,
0.03755739703774452,
-0.02361314371228218,
0.05041636526584625,
0.06136786565184593,
-0.05071235075592995,
-0.007798421662300825,
0.011189933866262436,
0.023251382634043694,
0.007699759677052498,
-0.0215083509683609,
0.002402834827080369,
0.06659696251153946,
0.0073009999468922615,
0.013845589943230152,
0.017594752833247185,
0.05600722134113312,
-0.010449967347085476,
0.035288166254758835,
-0.00126308121252805,
-0.07623296231031418,
-0.07129985839128494,
-0.0023021171800792217,
0.046667203307151794,
0.004945441149175167,
-0.01942000351846218,
0.03962930291891098,
-0.06495258957147598,
0.03979374095797539,
-0.025257514789700508,
-0.01212722435593605,
0.03410422056913376,
-0.02063683606684208
] |
725,615 | flask_redis.client | __getitem__ | null | def __getitem__(self, name):
return self._redis_client[name]
| (self, name) | [
0.025455210357904434,
-0.046717025339603424,
-0.08629217743873596,
-0.0021990747191011906,
0.04946894198656082,
0.032941073179244995,
-0.016445966437458992,
0.018591804429888725,
0.09900340437889099,
-0.043997872620821,
-0.03623354062438011,
0.026175949722528458,
0.012457327917218208,
-0.010983088053762913,
0.003992733079940081,
-0.003738836385309696,
0.023456795141100883,
0.020557457581162453,
-0.004963274579495192,
-0.004611094947904348,
-0.023587839677929878,
0.026503559201955795,
0.12160841375589371,
-0.03459549695253372,
0.005581636447459459,
0.05955929309129715,
0.05189324542880058,
0.011056799441576004,
0.06598042696714401,
-0.053301963955163956,
-0.06175427511334419,
-0.0015694512985646725,
-0.003024239558726549,
0.0757431760430336,
0.0010637050727382302,
0.009476087056100368,
-0.04281847923994064,
-0.017789162695407867,
-0.009901978075504303,
0.018280575051903725,
0.03528347611427307,
-0.006310565862804651,
0.03403856232762337,
-0.06401477754116058,
0.02337489277124405,
0.02765018865466118,
0.012105148285627365,
0.04832230880856514,
0.051663920283317566,
-0.027830373495817184,
0.0287476796656847,
-0.013087974861264229,
-0.030303820967674255,
0.0010995373595505953,
-0.03613526001572609,
-0.020590217784047127,
0.008927341550588608,
0.05379337817430496,
-0.007547289598733187,
0.06702877581119537,
-0.030582288280129433,
-0.03285916894674301,
0.013284539803862572,
0.03872336819767952,
0.022670535370707512,
-0.041114915162324905,
-0.0014363601803779602,
0.00440633948892355,
0.00983645673841238,
-0.01437383983284235,
0.08059178292751312,
0.02900976687669754,
-0.009410564787685871,
-0.0866197869181633,
-0.03357991203665733,
0.009328662417829037,
-0.02979602850973606,
-0.011646496132016182,
0.02368612214922905,
0.005978862289339304,
0.008591542951762676,
0.019918620586395264,
-0.006625889800488949,
0.023325752466917038,
-0.02822350524365902,
-0.022605013102293015,
0.0006777408416382968,
-0.030893517658114433,
-0.06028003245592117,
-0.014832491986453533,
0.027076873928308487,
0.049403417855501175,
-0.04078730568289757,
0.04894476756453514,
-0.03022191859781742,
-0.08314713090658188,
0.025078460574150085,
-0.05081213638186455,
0.028076080605387688,
0.01929616369307041,
-0.02073764242231846,
0.05005863681435585,
0.010933946818113327,
-0.03754397854208946,
-0.017314128577709198,
-0.046192850917577744,
-0.01292417012155056,
0.005774106364697218,
-0.0018294908804818988,
0.015487710013985634,
0.015856269747018814,
0.04842059314250946,
-0.021327337250113487,
0.02869853749871254,
-0.0032781362533569336,
0.0033968945499509573,
-0.026716504245996475,
-0.041114915162324905,
-0.0344972163438797,
0.012342664413154125,
-0.03901821747422218,
0.014021660201251507,
0.027830373495817184,
0.02722429856657982,
0.01941082626581192,
0.05110698565840721,
-0.02917357161641121,
-0.0006132428534328938,
0.05163116008043289,
-0.0338747575879097,
0.04783089831471443,
0.0046397605910897255,
-0.026913069188594818,
0.01898493431508541,
0.055627986788749695,
0.0406235009431839,
0.07063247263431549,
0.01587264984846115,
-0.01036882121115923,
0.03361267223954201,
-0.0021826941519975662,
0.028600255027413368,
0.00037419077125377953,
0.007612811401486397,
0.023538697510957718,
-0.05677461996674538,
0.0037470266688615084,
0.017002901062369347,
0.019443586468696594,
-0.03443169221282005,
0.015332095324993134,
0.04553763568401337,
0.014414791017770767,
0.021376479417085648,
-0.065620057284832,
0.0058682942762970924,
-0.06552177667617798,
-0.01978757604956627,
-0.028207125142216682,
-0.016855476424098015,
-0.02004966326057911,
0.003921068739145994,
-0.03307211771607399,
-0.06296642869710922,
-0.02932099439203739,
-0.007449007127434015,
-0.001957463100552559,
-0.02026260830461979,
-0.015176481567323208,
0.06748742610216141,
-0.05195876955986023,
-0.02114715240895748,
-0.054612401872873306,
0.023227469995617867,
-0.029779646545648575,
-0.0152501929551363,
-0.07744673639535904,
0.03279364854097366,
0.030565908178687096,
-0.0481257438659668,
-0.03076247312128544,
-0.007719284389168024,
-0.06620975583791733,
-0.02912442944943905,
0.004283485934138298,
0.03466102108359337,
0.06096801161766052,
0.043178848922252655,
0.06801160424947739,
0.05834714323282242,
0.011679256334900856,
-0.006625889800488949,
0.007088636979460716,
-0.021294577047228813,
0.0010058616753667593,
-0.013284539803862572,
-0.016486916691064835,
0.0018161816988140345,
-0.026814786717295647,
0.06919099390506744,
-0.014283747412264347,
0.02742086350917816,
-0.04589800536632538,
0.03184358403086662,
0.0018806797452270985,
-0.02136009931564331,
0.08412995934486389,
-0.003607792779803276,
-0.01929616369307041,
0.0065071312710642815,
-0.08183670043945312,
0.011859441176056862,
-0.001088275690563023,
0.04029589146375656,
0.05618492141366005,
-0.013063403777778149,
-0.02922271192073822,
-0.03223671391606331,
0.06984621286392212,
0.0320565290749073,
0.03941134735941887,
-0.0014558120165020227,
0.025651775300502777,
-0.025930242612957954,
-0.02896062470972538,
-0.033416107296943665,
-0.024718090891838074,
-0.015029056929051876,
-0.010778332129120827,
-0.02289986051619053,
0.08452308923006058,
0.017477933317422867,
0.0608697310090065,
-0.01036882121115923,
0.011990484781563282,
0.017527075484395027,
-0.015119149349629879,
0.027551906183362007,
0.0358731709420681,
0.05772468447685242,
0.020229848101735115,
0.05713498964905739,
0.055365901440382004,
0.02900976687669754,
-0.012801316566765308,
0.03960791230201721,
0.02263777330517769,
0.046717025339603424,
-0.02289986051619053,
0.01165468618273735,
0.03692151978611946,
-0.015749797224998474,
0.01398070901632309,
0.0028993384912610054,
0.004889562726020813,
-0.029976213350892067,
-0.06702877581119537,
-0.007842137478291988,
-0.004496431909501553,
-0.031008180230855942,
-0.09356509894132614,
0.03597145527601242,
0.0037470266688615084,
0.02088506519794464,
-0.04684806987643242,
0.01421822514384985,
0.02479999139904976,
0.07856061309576035,
-0.025127600878477097,
0.019476348534226418,
0.03266260400414467,
0.03803539276123047,
0.017117563635110855,
-0.009459706023335457,
-0.008960102684795856,
-0.05896959826350212,
0.012072387151420116,
0.03675771504640579,
-0.06358888000249863,
-0.0072319661267101765,
-0.021032489836215973,
0.03846128284931183,
-0.027568288147449493,
-0.01909959688782692,
-0.023489557206630707,
-0.05566074699163437,
0.05756087973713875,
0.015905411913990974,
-0.0016626151045784354,
0.009910169057548046,
0.01620025932788849,
-0.03836299851536751,
-0.014463932253420353,
-0.0594937726855278,
-0.0209997296333313,
-0.007985466159880161,
-0.06919099390506744,
0.05598835647106171,
0.04023037105798721,
0.052089810371398926,
-0.014660497196018696,
-0.04986207187175751,
-0.08032969385385513,
0.012825887650251389,
0.00027258082991465926,
0.01097489707171917,
0.048715438693761826,
0.06368716806173325,
-0.04504622146487236,
0.020754022523760796,
-0.012039626017212868,
-0.043277133256196976,
-0.01524200290441513,
0.039542391896247864,
0.012596561573445797,
-0.004279390908777714,
-0.03485758602619171,
0.051827725023031235,
0.02948479913175106,
0.10155875235795975,
-0.05022244155406952,
0.030631430447101593,
-0.030369343236088753,
0.01572522707283497,
0.05929720774292946,
0.0021253626327961683,
-0.060476597398519516,
0.008403168059885502,
0.010000261478126049,
0.02552073262631893,
-0.04894476756453514,
-0.04140976071357727,
-0.017133943736553192,
0.009107527323067188,
0.012457327917218208,
0.006486655678600073,
0.03416960686445236,
0.04763432964682579,
-0.013350062072277069,
-0.01537304650992155,
0.0031552829314023256,
-0.02131095714867115,
-0.02235930599272251,
0.0076988087967038155,
0.001993295270949602,
0.002391544869169593,
0.03285916894674301,
0.011327076703310013,
0.022392066195607185,
-0.05729879438877106,
-0.0010442533530294895,
-0.03623354062438011,
0.041016630828380585,
0.05965757742524147,
0.04239258915185928,
-0.02991069108247757,
0.003116379491984844,
-0.0479946993291378,
-0.018346097320318222,
-0.016224829480051994,
-0.015282954089343548,
-0.03659391030669212,
0.006838835310190916,
0.007580050267279148,
-0.10830749571323395,
-0.013202637434005737,
-0.021589424461126328,
-0.0033457058016210794,
0.04756880924105644,
-0.07109113037586212,
-0.08943722397089005,
0.0277484729886055,
-0.04393235221505165,
0.03140131011605263,
-0.02047555521130562,
-0.03577489033341408,
0.00944332592189312,
0.011286125518381596,
-0.003140950109809637,
-0.02848559245467186,
0.029845168814063072,
0.013890616595745087,
0.03184358403086662,
0.03629906475543976,
0.015307525172829628,
0.016577009111642838,
-0.04632389545440674,
-0.008145175874233246,
0.023292992264032364,
0.00466842669993639,
-0.033678192645311356,
-0.0035975549835711718,
-0.03244965896010399,
0.017527075484395027,
-0.09481000900268555,
-0.026306992396712303,
0.052876073867082596,
-0.05592283606529236,
-0.06231120973825455,
-0.028092460706830025,
0.030352963134646416,
0.02525864541530609,
-0.005151649471372366,
0.0274372436106205,
0.010041211731731892,
-0.007969086058437824,
0.04642217978835106,
0.03983724117279053,
0.0007227871101349592,
-0.020229848101735115,
-0.027076873928308487,
-0.028780439868569374,
-0.03413684666156769,
-0.05307263880968094,
-0.041278719902038574,
-0.04403063282370567,
0.020393652841448784,
0.007502243388444185,
0.027207916602492332,
0.0839989185333252,
-0.014652307145297527,
-0.03593869507312775,
-0.005397356115281582,
-0.018002107739448547,
-0.0093122823163867,
-0.011580973863601685,
0.027994178235530853,
0.01909959688782692,
-0.01398070901632309,
-0.012088767252862453,
-0.02452152408659458,
-0.055103812366724014,
0.03901821747422218,
-0.03140131011605263,
0.05739707499742508,
-0.00535230990499258,
-0.0015469281934201717,
-0.041180435568094254,
-0.02969774417579174,
0.022277403622865677,
0.04304780811071396,
0.008222983218729496,
-0.0052335518412292,
-0.01598731242120266,
0.006814264692366123,
-0.02765018865466118,
-0.046979114413261414,
0.017707260325551033,
0.07403960824012756,
-0.07600525766611099,
-0.038330238312482834,
-0.004148347303271294,
0.0199350006878376,
0.008698015473783016,
0.05582455173134804,
-0.024275818839669228,
-0.04904304817318916,
0.012416376732289791,
0.05644701048731804,
-0.06463722884654999,
-0.014431171119213104,
0.011155081912875175,
-0.033317822962999344,
-0.02611042745411396,
-0.008444119244813919,
0.05127079039812088,
0.0034071323461830616,
0.02268691547214985,
0.02489827573299408,
-0.02891148440539837,
0.00048578254063613713,
0.002952574985101819,
-0.05991966277360916,
-0.07240156084299088,
-0.012956931255757809,
-0.014431171119213104,
-0.01957463100552559,
0.0473722442984581,
-0.02231016382575035,
-0.03179444000124931,
-0.023505937308073044,
-0.03882165253162384,
0.03069695271551609,
-0.010622718371450901,
-0.02584834024310112,
-0.04930513724684715,
0.02922271192073822,
0.038428522646427155,
0.008104224689304829,
-0.01513553038239479,
0.0008681635372340679,
0.020901447162032127,
-0.02136009931564331,
0.040426936000585556,
0.03266260400414467,
-0.008112414740025997,
-0.029189951717853546,
-0.006306470837444067,
0.019771195948123932,
0.03810091316699982,
0.00838678702712059,
0.0004880860506091267,
-0.031139224767684937,
0.02425943687558174,
0.02104886993765831,
-0.05392442271113396,
-0.023817164823412895,
0.02796141803264618,
0.0243741013109684,
-0.05890407785773277,
0.0031204745173454285,
0.02458704635500908,
-0.03931306675076485,
-0.014726019464433193,
0.01666710153222084,
-0.022179121151566505,
-0.05267950892448425,
0.015946362167596817,
-0.061328381299972534,
0.00914847757667303,
0.06257329881191254,
0.027568288147449493,
-0.01767449826002121,
0.038166433572769165,
-0.038428522646427155,
-0.027994178235530853,
-0.0392475426197052,
-0.018493521958589554,
-0.011851251125335693,
0.09448239952325821,
-0.019689293578267097,
0.003294516820460558,
-0.04986207187175751,
0.03433341160416603,
0.012842267751693726,
-0.0009910168591886759,
-0.05297435447573662,
0.021491141989827156,
-0.046389415860176086,
0.015807127580046654,
0.04252363368868828,
0.011466310359537601,
0.04272019863128662,
-0.1016242727637291,
-0.0274372436106205,
-0.02879681997001171,
-0.0005518161924555898,
0.03154873475432396,
-0.0056758238933980465,
-0.040426936000585556,
0.01047529373317957,
-0.04645493999123573,
0.02848559245467186,
-0.08452308923006058,
0.03498862683773041,
0.00646208506077528,
-0.04514450207352638,
-0.07718465477228165,
-0.0069207376800477505,
0.03738017380237579,
0.05870751291513443,
0.021065251901745796,
0.011540022678673267,
0.08707843720912933,
0.0025266835000365973,
0.0012469612993299961,
-0.010262347757816315,
-0.026339754462242126,
0.03901821747422218,
-0.031679779291152954,
-0.02568453550338745,
-0.06060764193534851,
0.05205705016851425,
0.07954343408346176,
-0.01576617732644081,
0.06414581835269928,
0.03351438790559769,
-0.05326920375227928,
0.007469482254236937,
-0.03469378128647804,
0.003986590541899204,
0.0052622174844145775,
0.029091669246554375,
-0.01152364257723093,
0.022244643419981003,
0.025455210357904434,
0.008177937008440495,
0.03407132253050804,
0.01593817211687565,
0.03344886749982834,
0.02552073262631893,
-0.044391002506017685,
-0.03223671391606331,
0.04445652663707733,
0.04435824230313301,
-0.0152501929551363,
0.01746155321598053,
0.02114715240895748,
-0.010377011261880398,
0.01629035174846649,
-0.009230379946529865,
0.021065251901745796,
0.03240051865577698,
-0.049665506929159164,
-0.00522126629948616,
0.026994971558451653,
-0.03950963169336319,
-0.01411175262182951,
0.02932099439203739,
-0.04357198253273964,
-0.05929720774292946,
-0.004570143762975931,
-0.042916763573884964,
0.02853473275899887,
0.05782296881079674,
-0.00005896319999010302,
0.007186919916421175,
0.027355341240763664,
-0.004353102762252092,
-0.01524200290441513,
0.03741293400526047,
0.05828161910176277,
0.0047339485026896,
0.0010130280861631036,
-0.029353756457567215,
-0.06453894823789597,
0.04678254947066307,
-0.04281847923994064,
0.013784144073724747,
-0.007535004056990147,
-0.0005641015595756471,
0.008796298876404762,
0.04409615695476532,
-0.002459114184603095,
-0.01810039021074772,
0.0006398611003533006,
0.03228585422039032,
-0.0030058114789426327,
-0.05864198878407478,
0.0059501961804926395,
0.01474239956587553,
0.03323592245578766,
0.005696299485862255,
0.025831960141658783,
-0.026503559201955795,
0.010262347757816315,
0.00602800352498889,
-0.020803164690732956,
0.03515243157744408,
0.008419548161327839,
-0.01524200290441513,
0.002334213349968195,
-0.0034726541489362717,
0.05392442271113396,
0.015029056929051876,
-0.008198412135243416,
0.05051729083061218,
-0.015569612383842468,
-0.044128917157649994,
-0.02869853749871254,
-0.05864198878407478,
0.022179121151566505,
-0.08157461136579514,
-0.03351438790559769,
0.01361214928328991,
-0.0294356569647789,
-0.03872336819767952,
0.035840410739183426,
-0.007186919916421175,
0.04583248123526573,
0.04272019863128662,
-0.0055570658296346664,
-0.04363750293850899,
-0.02294900268316269,
0.01281769759953022,
0.0024632092099636793,
0.021917033940553665,
-0.02257225103676319,
0.021540284156799316,
-0.0012868886115029454,
-0.025094840675592422,
0.006269615143537521,
0.011679256334900856,
0.1002483144402504,
-0.002364926505833864,
0.03570936620235443,
-0.003353895852342248,
-0.04226154461503029,
-0.005888769403100014,
-0.055038291960954666,
0.0011650590458884835,
0.004320342093706131,
-0.007743855006992817,
-0.006892072036862373,
-0.0581178143620491,
-0.0018233482260257006,
0.0029116240330040455,
-0.0728602185845375,
-0.02088506519794464,
0.0323677584528923,
-0.006494846194982529,
0.005671728868037462,
0.051303550601005554,
-0.04766709357500076,
0.01661796122789383,
-0.016920998692512512,
-0.0037511216942220926,
-0.0042097740806639194,
-0.015348476357758045,
-0.00336822890676558,
0.02948479913175106,
0.028092460706830025,
0.03977171704173088,
0.015749797224998474,
0.034792061895132065,
0.009484277106821537,
-0.011187843047082424,
0.025078460574150085,
-0.0582488588988781,
0.11230432242155075,
-0.03819919377565384,
-0.015094579197466373,
0.030844375491142273,
0.022506730630993843,
0.0452427864074707,
-0.006924832705408335,
0.006232758983969688,
-0.02853473275899887,
-0.07135321199893951,
0.09572731703519821,
-0.0007273940718732774,
-0.04095111042261124,
-0.01102403923869133,
0.00047349720261991024,
0.038854412734508514,
-0.05844542384147644,
0.048551637679338455,
-0.025127600878477097,
0.043965112417936325,
0.03872336819767952,
-0.020803164690732956,
-0.013906996697187424,
-0.011327076703310013,
0.015070008113980293,
-0.016904618591070175,
-0.049403417855501175,
0.013669480569660664,
0.046717025339603424,
-0.01819867268204689,
0.03259708359837532,
0.03285916894674301,
0.06254053860902786,
-0.011580973863601685,
0.043277133256196976,
-0.014586785808205605,
-0.07338438928127289,
-0.048027463257312775,
-0.0049878451973199844,
0.040328651666641235,
0.028469212353229523,
-0.020082423463463783,
0.04183565452694893,
-0.05932996794581413,
0.03970619663596153,
-0.07109113037586212,
-0.04416167736053467,
0.021802371367812157,
-0.008698015473783016
] |
725,616 | flask_redis.client | __init__ | null | def __init__(self, app=None, strict=True, config_prefix="REDIS", **kwargs):
self._redis_client = None
self.provider_class = redis.StrictRedis if strict else redis.Redis
self.provider_kwargs = kwargs
self.config_prefix = config_prefix
if app is not None:
self.init_app(app)
| (self, app=None, strict=True, config_prefix='REDIS', **kwargs) | [
-0.039172157645225525,
-0.03702181205153465,
0.02634175308048725,
-0.014523803256452084,
0.05745010823011398,
0.022632405161857605,
-0.007217102684080601,
0.05074819549918175,
0.0827883705496788,
-0.04365205019712448,
0.003680229652673006,
0.05995884910225868,
0.015975287184119225,
0.020607493817806244,
0.031896818429231644,
-0.0037071090191602707,
-0.012337617576122284,
0.0017325974768027663,
0.08171319216489792,
-0.06422370672225952,
-0.010438144207000732,
0.022220253944396973,
0.0038907844573259354,
0.04849033057689667,
0.0206970926374197,
0.05354364588856697,
0.008323635905981064,
0.023886773735284805,
0.03132339194417,
-0.011172845959663391,
-0.017489491030573845,
0.05827441066503525,
0.019371043890714645,
0.08687403053045273,
0.061750803142786026,
-0.08981283754110336,
0.022793680429458618,
0.0003141522756777704,
-0.15023759007453918,
-0.007140944711863995,
0.018143555149435997,
-0.021718507632613182,
0.0576293058693409,
-0.03211185336112976,
0.004811401944607496,
0.057844340801239014,
0.07956285029649734,
0.04816777631640434,
0.018833458423614502,
-0.008220598101615906,
-0.023134151473641396,
0.025033624842762947,
-0.009891597554087639,
0.04472722113132477,
-0.013197756372392178,
0.047558512538671494,
0.012382416054606438,
0.06257510185241699,
-0.051106587052345276,
0.04841865226626396,
-0.047056764364242554,
0.006948309484869242,
0.04737931862473488,
0.011522277258336544,
0.011110126972198486,
-0.019353125244379044,
-0.07934781163930893,
0.028044112026691437,
0.04221848398447037,
-0.008798504248261452,
0.03431595861911774,
0.007597893476486206,
-0.007167824078351259,
-0.03623335063457489,
0.03709349036216736,
-0.008278836496174335,
-0.05085571110248566,
-0.024872349575161934,
-0.03687845543026924,
0.021270517259836197,
0.0463399812579155,
-0.001798675861209631,
-0.02519490197300911,
0.04336533695459366,
0.05200256407260895,
-0.016387438401579857,
-0.06712666898965836,
0.011567075736820698,
0.029405998066067696,
-0.006173288449645042,
-0.04225432127714157,
0.08135480433702469,
0.01603800617158413,
0.01717589795589447,
-0.007763649336993694,
-0.02408388815820217,
-0.025607051327824593,
0.0059358542785048485,
0.0275602824985981,
-0.013457589782774448,
-0.021539311856031418,
-0.01704150252044201,
-0.019586078822612762,
-0.0338321290910244,
-0.008668587543070316,
-0.05838192626833916,
-0.009237533435225487,
-0.0031426427885890007,
-0.0014279648894444108,
0.0009906156919896603,
0.025875844061374664,
0.0025333778467029333,
0.008753704838454723,
0.03225520998239517,
-0.03436971455812454,
-0.00029007287230342627,
-0.013206715695559978,
-0.036161672323942184,
0.03712932765483856,
-0.021234678104519844,
-0.05995884910225868,
-0.007741250097751617,
0.02082252874970436,
0.07511879503726959,
0.06336356699466705,
-0.010052872821688652,
0.02141387388110161,
-0.0275602824985981,
0.03006902150809765,
-0.042541034519672394,
0.10142470896244049,
0.013179836794734001,
-0.023600060492753983,
-0.054582979530096054,
0.018618423491716385,
0.0059358542785048485,
0.047558512538671494,
0.0740436241030693,
-0.02168266847729683,
0.02067917212843895,
-0.009801999665796757,
0.05064067617058754,
-0.047450996935367584,
0.01272288803011179,
0.023546302691102028,
-0.052325114607810974,
-0.03282863274216652,
0.011468518525362015,
0.046949248760938644,
-0.015724413096904755,
0.034154683351516724,
0.010393344797194004,
0.030911240726709366,
0.0526835061609745,
-0.04791690409183502,
-0.010393344797194004,
-0.03419052064418793,
0.0005165873444639146,
0.03777443245053291,
0.008888102136552334,
-0.01154019683599472,
0.019353125244379044,
0.023761335760354996,
-0.0639011487364769,
-0.011352041736245155,
0.0004169097519479692,
-0.029871907085180283,
-0.06067563220858574,
0.003404716495424509,
0.02845626138150692,
-0.014022056013345718,
-0.08321844041347504,
-0.04272023215889931,
-0.015894649550318718,
-0.03720100596547127,
0.02997942455112934,
-0.02919096313416958,
0.0019778714049607515,
-0.04053404554724693,
-0.031054597347974777,
0.02130635641515255,
0.015634816139936447,
-0.03196849673986435,
-0.03058868832886219,
0.0076471720822155476,
0.024012209847569466,
0.05426042899489403,
0.044691383838653564,
0.058489445596933365,
0.005581942852586508,
0.017776204273104668,
0.0021727466955780983,
-0.004556048195809126,
-0.005855216179043055,
0.02429892309010029,
-0.02546369470655918,
0.01744469255208969,
-0.018385468050837517,
-0.024890268221497536,
0.06422370672225952,
-0.07877438515424728,
0.028294986113905907,
0.010886132717132568,
-0.01694294437766075,
0.03272111713886261,
-0.007203663233667612,
0.00928233191370964,
0.0526835061609745,
-0.011477477848529816,
-0.009658643044531345,
0.0017404372338205576,
-0.03960222750902176,
-0.0012274899054318666,
0.0206970926374197,
0.02291911654174328,
0.03236272558569908,
0.05214592069387436,
0.033151187002658844,
0.016844386234879494,
0.008162359707057476,
0.032524000853300095,
0.008005563169717789,
-0.034925222396850586,
-0.006415202282369137,
-0.015195786952972412,
-0.0013462069910019636,
0.01122660469263792,
-0.016754789277911186,
-0.002481859177350998,
0.019209768623113632,
0.006831832230091095,
0.019388964399695396,
0.03522985428571701,
0.008350514806807041,
0.02006990648806095,
-0.06182248145341873,
0.0640086680650711,
0.044798899441957474,
-0.014004136435687542,
0.01678166724741459,
0.03444139286875725,
0.03435179591178894,
0.013314233161509037,
-0.002757372334599495,
0.035283613950014114,
0.035552408546209335,
-0.029549354687333107,
0.025481615215539932,
0.0363229475915432,
0.03110835701227188,
0.009810958988964558,
-0.006585438270121813,
-0.004573967773467302,
-0.020786689594388008,
-0.033796291798353195,
-0.026377592235803604,
0.01335903163999319,
0.016575593501329422,
-0.023546302691102028,
-0.039028801023960114,
-0.01654871366918087,
-0.0037451880052685738,
-0.009793039411306381,
0.007741250097751617,
0.004146138206124306,
0.01272288803011179,
0.04841865226626396,
-0.015822971239686012,
-0.00921961385756731,
0.014523803256452084,
0.07633732259273529,
0.0022186655551195145,
0.050963230431079865,
0.034674350172281265,
-0.022596566006541252,
-0.04999557137489319,
-0.035068579018116,
0.002569217002019286,
-0.03517609462141991,
0.010796534828841686,
-0.0002125147875631228,
-0.02243528887629509,
0.06357859820127487,
0.005057795904576778,
0.014523803256452084,
-0.039172157645225525,
0.010169350542128086,
0.012382416054606438,
0.010106631554663181,
-0.013959337025880814,
-0.016844386234879494,
-0.014980752021074295,
-0.03288239240646362,
0.0007733409875072539,
-0.009210653603076935,
-0.04985221475362778,
-0.0476301908493042,
0.058991190046072006,
0.01222113985568285,
0.010232068598270416,
-0.01992655172944069,
-0.06974292546510696,
-0.022148575633764267,
0.04472722113132477,
0.04103579372167587,
0.00903145782649517,
0.014407326467335224,
-0.008417713455855846,
0.009963275864720345,
-0.0010880533372983336,
0.032273128628730774,
0.010921971872448921,
-0.005564023274928331,
-0.012615370564162731,
-0.03659174218773842,
0.030749965459108353,
0.023223750293254852,
-0.016217201948165894,
0.0325956791639328,
0.033778369426727295,
-0.017695564776659012,
0.03734436258673668,
-0.03773859515786171,
0.04225432127714157,
0.02894008904695511,
0.05053316056728363,
-0.02204105816781521,
-0.007481416221708059,
-0.0039176638238132,
0.014102693647146225,
-0.0664098933339119,
0.052468471229076385,
-0.013950377702713013,
0.003158322535455227,
-0.020607493817806244,
-0.040175653994083405,
0.0021794664207845926,
-0.04601743072271347,
-0.06060395389795303,
-0.03824033960700035,
0.02295495569705963,
-0.045300647616386414,
-0.022757841274142265,
0.008211638778448105,
-0.032649438828229904,
-0.024746911600232124,
-0.014577561989426613,
-0.07468872517347336,
-0.0012062103487551212,
-0.025123223662376404,
-0.0033083988819271326,
-0.03311534598469734,
0.04046236723661423,
0.04906375706195831,
0.09253660589456558,
-0.03831201791763306,
-0.017955400049686432,
0.016011126339435577,
-0.01992655172944069,
-0.058095213025808334,
0.003487594425678253,
-0.0019845913629978895,
-0.007817408069968224,
0.03623335063457489,
-0.04354453086853027,
0.026771822944283485,
0.010079752653837204,
-0.02945975586771965,
0.00504883611574769,
-0.06153576821088791,
-0.025983361527323723,
-0.042935267090797424,
-0.016073845326900482,
-0.003200881415978074,
0.007463496644049883,
-0.028993848711252213,
-0.05486969277262688,
-0.018492985516786575,
-0.023922612890601158,
0.021539311856031418,
-0.020965885370969772,
0.038813766092061996,
0.04064156115055084,
-0.007311180699616671,
-0.0426127128303051,
0.002244425006210804,
-0.03444139286875725,
0.03436971455812454,
0.05705587938427925,
-0.013529268093407154,
-0.028760893270373344,
0.00312024331651628,
0.011083248071372509,
-0.013242554850876331,
-0.04175257682800293,
-0.013932458125054836,
-0.016127604991197586,
0.022166496142745018,
-0.029405998066067696,
-0.012059863656759262,
0.007037907373160124,
-0.0726458951830864,
0.08329011499881744,
0.0003553112910594791,
0.02419140562415123,
0.045945752412080765,
0.05612406134605408,
-0.012857284396886826,
0.06547807157039642,
0.025893764570355415,
-0.02542785555124283,
-0.020840449258685112,
-0.04522896930575371,
-0.01397725660353899,
-0.020786689594388008,
-0.0689903050661087,
0.054726336151361465,
-0.009972235187888145,
0.04497809708118439,
0.01360094640403986,
-0.017964359372854233,
0.022399449720978737,
0.03175346180796623,
-0.0238330140709877,
0.035283613950014114,
0.032774876803159714,
-0.005564023274928331,
-0.029388079419732094,
-0.02107340283691883,
-0.03085748292505741,
-0.013887658715248108,
0.060353077948093414,
0.006558558903634548,
-0.0413941852748394,
0.03293615207076073,
-0.010939891450107098,
0.0012879683636128902,
-0.014882194809615612,
-0.021915622055530548,
-0.018475066870450974,
-0.04666253551840782,
-0.06902614235877991,
0.0325956791639328,
0.005855216179043055,
-0.02881465293467045,
0.01593048870563507,
-0.02707645483314991,
0.014729877933859825,
0.02331334725022316,
-0.005075715482234955,
-0.029549354687333107,
-0.02107340283691883,
-0.0714273676276207,
-0.013690544292330742,
0.00046982846106402576,
-0.049601342529058456,
-0.028402503579854965,
0.03298991173505783,
-0.0017829962307587266,
-0.005680500529706478,
0.022274013608694077,
-0.013950377702713013,
-0.058991190046072006,
-0.046590857207775116,
-0.027112293988466263,
0.11712224781513214,
0.04684172943234444,
0.025768326595425606,
-0.025553293526172638,
-0.013376951217651367,
0.0076606119982898235,
0.015849851071834564,
-0.006227047182619572,
0.009237533435225487,
-0.05465465784072876,
0.021754346787929535,
-0.00422901613637805,
-0.03144882619380951,
-0.03745188191533089,
-0.00921961385756731,
-0.010375425219535828,
0.06422370672225952,
0.05350780487060547,
0.006988628301769495,
-0.036555901169776917,
-0.0865873172879219,
0.010590460151433945,
-0.04816777631640434,
0.014317728579044342,
0.009873677976429462,
-0.035928718745708466,
0.06350692361593246,
-0.026359673589468002,
0.08916772902011871,
0.03483562543988228,
0.045587360858917236,
0.006356963887810707,
0.043795403093099594,
0.005555063486099243,
0.006598878186196089,
0.005814897362142801,
0.01341279037296772,
-0.06727002561092377,
0.028044112026691437,
0.01278560608625412,
-0.07103313505649567,
-0.1090226024389267,
0.022972876206040382,
-0.003035125555470586,
-0.017274456098675728,
0.009640723466873169,
0.012498892843723297,
-0.02130635641515255,
0.007338060066103935,
0.018654262647032738,
-0.019478561356663704,
-0.06246758624911308,
0.014075814746320248,
-0.0765523612499237,
0.02270408347249031,
0.008825383149087429,
0.025893764570355415,
0.059242065995931625,
0.028044112026691437,
-0.02894008904695511,
-0.0401039756834507,
0.07669571787118912,
0.024764832109212875,
0.035032741725444794,
0.06737754493951797,
-0.05838192626833916,
0.0035794321447610855,
-0.06881111115217209,
0.012713927775621414,
-0.015769213438034058,
-0.0005907855229452252,
-0.058596961200237274,
0.0023429824505001307,
0.10565372556447983,
-0.029155123978853226,
0.02308039367198944,
0.02605503983795643,
0.055335599929094315,
-0.050067249685525894,
-0.08823591470718384,
-0.03236272558569908,
0.014926993288099766,
0.09002786874771118,
-0.06569311022758484,
-0.04465554282069206,
0.0020551495254039764,
-0.048454489558935165,
0.03162802383303642,
-0.02080461010336876,
0.018905136734247208,
-0.009945356287062168,
0.006213607266545296,
-0.03517609462141991,
0.021843943744897842,
0.04350869357585907,
-0.002640895079821348,
0.03874208778142929,
-0.028151629492640495,
0.04852616786956787,
-0.01605592668056488,
-0.04540816694498062,
0.02394053153693676,
-0.052862703800201416,
-0.03996061906218529,
0.015688573941588402,
-0.014729877933859825,
-0.08199990540742874,
-0.012776646763086319,
0.10472191125154495,
-0.08156983554363251,
0.027631960809230804,
0.00984679814428091,
0.01335007231682539,
0.008435633033514023,
-0.030552849173545837,
-0.003436075756326318,
0.014568602666258812,
-0.03162802383303642,
-0.01678166724741459,
-0.022632405161857605,
-0.002840250264853239,
0.025929603725671768,
0.055980704724788666,
-0.025786247104406357,
-0.001517562777735293,
0.006029931828379631,
-0.01792852021753788,
-0.022023139521479607,
-0.038168661296367645,
-0.000822619826067239,
-0.03044533170759678,
-0.029405998066067696,
-0.031126275658607483,
0.03173553943634033,
0.012516812421381474,
-0.028294986113905907,
0.07375691086053848,
0.019084330648183823,
-0.10056456923484802,
0.026628466323018074,
-0.02519490197300911,
-0.042433518916368484,
0.047200120985507965,
-0.02180810458958149,
0.010563580319285393,
-0.06716251373291016,
0.03863457217812538,
-0.001319327624514699,
0.01740885339677334,
0.046949248760938644,
0.004457490518689156,
-0.04866952449083328,
0.018403388559818268,
0.031377147883176804,
-0.05153665319085121,
-0.0019812313839793205,
0.021754346787929535,
0.019460642710328102,
0.027542363852262497,
-0.04182425141334534,
0.01603800617158413,
0.010814454406499863,
-0.07784257084131241,
-0.05820273235440254,
-0.029047606512904167,
0.042075127363204956,
-0.032147690653800964,
0.05099906772375107,
-0.006370403803884983,
-0.007002068217843771,
-0.039064642041921616,
0.035391129553318024,
0.038025304675102234,
-0.001998031046241522,
-0.011486438103020191,
0.023026634007692337,
-0.04791690409183502,
0.024657314643263817,
0.02782907709479332,
-0.013807021081447601,
0.011137006804347038,
0.006312164943665266,
-0.006298725493252277,
0.0035771920811384916,
-0.009954315610229969,
0.007324620150029659,
-0.001798675861209631,
-0.02831290476024151,
0.027488606050610542,
-0.05028228461742401,
0.04211096465587616,
0.04182425141334534,
0.0032524000853300095,
0.020159505307674408,
-0.029782308265566826,
-0.024872349575161934,
0.015330183319747448,
-0.0015422021970152855,
0.04361620917916298,
0.04863368719816208,
-0.018833458423614502,
0.04196760803461075,
-0.023223750293254852,
-0.008525230921804905,
0.06967125087976456,
-0.00003170921991113573,
0.014434205368161201,
-0.006558558903634548,
0.01743573136627674,
0.02981814742088318,
-0.016324719414114952,
0.0005630661617033184,
0.0008041402325034142,
-0.006630237214267254,
0.001195010612718761,
-0.05214592069387436,
0.013556146994233131,
0.01578713208436966,
0.03397548571228981,
-0.00664367713034153,
0.027524445205926895,
-0.04547984525561333,
0.019030572846531868,
-0.027667799964547157,
-0.04866952449083328,
0.020535815507173538,
0.06576478481292725,
0.02130635641515255,
-0.02116299979388714,
-0.04089243710041046,
-0.08128312230110168,
-0.05877615883946419,
-0.08608556538820267,
0.0027887315955013037,
-0.012651209719479084,
0.025374097749590874,
0.001987951109185815,
0.013251515105366707,
-0.03471018746495247,
0.004842760972678661,
-0.010617339052259922,
-0.018994733691215515,
-0.016396397724747658,
-0.012373455800116062,
-0.0071767838671803474,
0.006979668512940407,
0.06314852833747864,
0.06694747507572174,
-0.0009922956814989448,
-0.03048117086291313,
0.023904692381620407,
0.03988894075155258,
-0.038419537246227264,
-0.0727534145116806,
0.019138090312480927,
-0.034548912197351456,
-0.021019643172621727,
-0.013063359074294567,
-0.031269632279872894,
0.06913366168737411,
-0.03549864888191223,
-0.005689460318535566,
0.012194260954856873,
-0.013565107248723507,
-0.02420932613313198,
0.00865066796541214,
-0.03420843929052353,
-0.0100170336663723,
0.05243263393640518,
0.030875401571393013,
-0.06952789425849915,
0.05211007967591286,
-0.04816777631640434,
0.02831290476024151,
0.03148466721177101,
-0.02433476224541664,
-0.02030286192893982,
-0.03435179591178894,
0.032649438828229904,
0.007441097404807806,
-0.01323359552770853,
0.009354010224342346,
0.026019200682640076,
0.017131099477410316,
0.002430340275168419,
-0.035910800099372864,
0.051823366433382034,
0.016817506402730942,
0.031126275658607483,
-0.04064156115055084,
-0.033151187002658844,
-0.05945710092782974,
-0.0012554891873151064,
0.01309919822961092,
-0.04272023215889931,
-0.06003052741289139,
-0.042433518916368484,
-0.004515728913247585,
-0.02281159907579422,
0.05626741796731949,
-0.006836312357336283,
0.08816423267126083,
-0.0021861863788217306
] |
725,617 | flask_redis.client | __setitem__ | null | def __setitem__(self, name, value):
self._redis_client[name] = value
| (self, name, value) | [
0.012517714872956276,
-0.0234342310577631,
-0.08593107014894485,
0.016037018969655037,
0.013068127445876598,
0.03314150497317314,
-0.0527728870511055,
0.04480024427175522,
0.05103825032711029,
-0.043332476168870926,
-0.042198292911052704,
0.009907425381243229,
0.017054447904229164,
0.020848959684371948,
0.004415809642523527,
-0.018430480733513832,
0.049937427043914795,
0.016904335469007492,
0.0056875962764024734,
0.003765322035178542,
-0.023834530264139175,
0.006780081428587437,
0.09827365726232529,
-0.014352423138916492,
0.0017461003735661507,
0.022233329713344574,
0.023267438635230064,
0.04319904372096062,
0.05303975194692612,
-0.027970964089035988,
-0.04109746962785721,
-0.025335654616355896,
-0.02029854618012905,
0.0185138750821352,
0.06805100291967392,
-0.023917926475405693,
-0.0634809136390686,
-0.0002477116941008717,
-0.04790256917476654,
0.022933855652809143,
0.047402191907167435,
0.018964212387800217,
0.022199971601366997,
-0.055708419531583786,
0.060712169855833054,
0.0906679555773735,
0.030289368703961372,
0.08412972092628479,
0.08299553394317627,
-0.028337905183434486,
-0.03192392736673355,
-0.017129505053162575,
-0.011817189864814281,
-0.004941203165799379,
-0.04176463559269905,
0.03302475064992905,
0.045867711305618286,
0.03285795822739601,
-0.014285706914961338,
0.044733528047800064,
-0.010274367406964302,
-0.022016501054167747,
0.007096985820680857,
-0.03135683387517929,
0.005212239921092987,
0.002328828675672412,
-0.012726204469799995,
0.016554074361920357,
0.03154030442237854,
-0.011099985800683498,
0.08086059987545013,
-0.01420231070369482,
-0.0018096896819770336,
-0.08272866904735565,
-0.03384203091263771,
0.07278788834810257,
-0.042531877756118774,
0.026586592197418213,
-0.003254522569477558,
0.002651987597346306,
0.02948876842856407,
-0.0005368607235141098,
0.03459259495139122,
0.025602521374821663,
-0.03327493742108345,
0.02727043814957142,
-0.007705775089561939,
-0.012567752972245216,
-0.030205972492694855,
-0.014385782182216644,
0.04186471179127693,
0.031140005216002464,
-0.021482767537236214,
0.03435908630490303,
-0.029872389510273933,
-0.06608285754919052,
0.040196795016527176,
-0.08733212202787399,
0.027870887890458107,
0.04383285343647003,
-0.0224501583725214,
0.009857388213276863,
0.03786170855164528,
-0.0739220678806305,
-0.021899746730923653,
-0.08726540207862854,
0.011683756485581398,
-0.013234918937087059,
-0.04486696049571037,
0.00025162086240015924,
0.035226400941610336,
0.043232399970293045,
-0.03120672143995762,
0.012250848114490509,
-0.003423399059101939,
0.06204650178551674,
-0.016954373568296432,
-0.06838458776473999,
0.006096235476434231,
0.023067288100719452,
-0.035126324743032455,
0.010341083630919456,
0.0449003167450428,
0.05600864440202713,
0.005053787492215633,
0.02752062678337097,
-0.017880067229270935,
0.051805492490530014,
0.04593442752957344,
-0.05347340926527977,
0.014118915423750877,
-0.012392621487379074,
-0.0006666454719379544,
0.022650308907032013,
0.09186885505914688,
0.019231079146265984,
0.007372192107141018,
-0.010949873365461826,
-0.00010372357064625248,
-0.01523641962558031,
-0.018814099952578545,
0.007397210691124201,
0.01089983619749546,
-0.00007948665734147653,
0.05524140223860741,
-0.034892819821834564,
-0.038628950715065,
0.04016343504190445,
-0.009849048219621181,
-0.01321823988109827,
0.014727705158293247,
0.03762819990515709,
0.014135594479739666,
0.029772313311696053,
-0.06144605204463005,
0.026469837874174118,
-0.05273952707648277,
-0.003237843280658126,
0.006363102234899998,
0.01729629747569561,
-0.014952873811125755,
-0.00017500095418654382,
0.0035151345655322075,
-0.019464587792754173,
-0.04129761829972267,
0.013309975154697895,
0.012367602437734604,
-0.0068968357518315315,
-0.027053609490394592,
0.0788591057062149,
-0.0072387587279081345,
-0.05424065142869949,
-0.02928861789405346,
0.0334584079682827,
0.0013854133430868387,
-0.03846215829253197,
-0.04383285343647003,
-0.0000015392395198432496,
0.020832279697060585,
-0.030489517375826836,
-0.030939854681491852,
0.002800015266984701,
-0.027970964089035988,
-0.00040681532118469477,
-0.003204484935849905,
-0.005199730396270752,
0.04907010868191719,
0.06021179258823395,
0.09180213510990143,
0.06898503750562668,
0.04766906052827835,
-0.020832279697060585,
-0.013234918937087059,
-0.02732047624886036,
0.013818690553307533,
-0.02591942623257637,
0.007630718871951103,
-0.0350596085190773,
-0.03219079226255417,
0.0763905867934227,
-0.020832279697060585,
0.009331993758678436,
-0.0007985151605680585,
-0.004912014584988356,
0.05644230172038078,
-0.046801742166280746,
0.07585684955120087,
-0.013143183663487434,
0.0024997901637107134,
-0.004257357679307461,
-0.03656073659658432,
0.020115075632929802,
0.014585931785404682,
0.021165862679481506,
0.04616793617606163,
-0.05614207684993744,
-0.04316568374633789,
0.005662577226758003,
0.047602344304323196,
0.013485106639564037,
0.01506962813436985,
0.045200545340776443,
0.013793671503663063,
-0.04359934478998184,
-0.01363521907478571,
-0.03159034252166748,
-0.0077683222480118275,
-0.061279259622097015,
-0.010841459035873413,
0.011958963237702847,
0.04853637516498566,
0.059911567717790604,
0.03394210711121559,
-0.005754312966018915,
-0.011892246082425117,
-0.017054447904229164,
-0.007914264686405659,
-0.018263688310980797,
-0.015544983558356762,
0.05417393520474434,
0.022366764023900032,
0.04123090207576752,
0.057910069823265076,
0.031707096844911575,
-0.024785242974758148,
0.0492035448551178,
0.0005303454236127436,
0.0658159926533699,
-0.02441830188035965,
0.03619379177689552,
0.018196972087025642,
-0.036060359328985214,
-0.04129761829972267,
0.004753562621772289,
0.013526804745197296,
-0.00005065645382273942,
-0.03525976091623306,
0.012417640537023544,
-0.011892246082425117,
-0.032974712550640106,
-0.09106825292110443,
0.025719275698065758,
-0.008814940229058266,
0.010532894171774387,
-0.014560912735760212,
-0.0019723116420209408,
0.01804685965180397,
0.06945205479860306,
-0.040230151265859604,
0.015094646252691746,
0.04897003620862961,
0.015178042463958263,
0.0069343638606369495,
-0.010824779979884624,
-0.02136601321399212,
-0.05704275146126747,
-0.003686096053570509,
0.03966306149959564,
-0.05417393520474434,
-0.027537304908037186,
0.006909345276653767,
0.0003742388216778636,
-0.00743890879675746,
-0.02703692950308323,
-0.015945283696055412,
-0.02029854618012905,
0.04516718536615372,
0.06484860181808472,
-0.011400210671126842,
-0.000984592130407691,
-0.008260357193648815,
-0.005662577226758003,
-0.03555998578667641,
-0.0006833246443420649,
-0.013668577186763287,
-0.002670751651749015,
-0.06745055317878723,
0.06344754993915558,
0.0425652340054512,
0.07659073919057846,
-0.013726954348385334,
-0.035926926881074905,
-0.09520468860864639,
0.011158362962305546,
0.0165457334369421,
-0.0333416573703289,
0.04503375291824341,
0.07512296736240387,
-0.056775886565446854,
0.027170363813638687,
0.02076556347310543,
-0.007172042038291693,
-0.09567170590162277,
0.045767635107040405,
0.08886660635471344,
0.02099907211959362,
-0.03472602739930153,
-0.00031195254996418953,
0.006892665755003691,
0.06715032458305359,
-0.02268366701900959,
-0.043232399970293045,
-0.08646479994058609,
-0.006955212913453579,
0.0622466541826725,
0.005533313844352961,
-0.003348342841491103,
0.01657075248658657,
0.030439481139183044,
0.02024850994348526,
-0.08212821930646896,
-0.029372014105319977,
-0.0017784162191674113,
0.02555248513817787,
0.010207650251686573,
-0.0031190041918307543,
0.000800078792963177,
0.0004719683201983571,
0.004495035391300917,
0.005283126141875982,
-0.008126924745738506,
0.021582841873168945,
-0.05147191137075424,
-0.021165862679481506,
-0.003283711150288582,
-0.011049948632717133,
0.00043574324809014797,
0.01305144838988781,
0.0186973474919796,
-0.005399880465120077,
0.007839208468794823,
-0.005074636545032263,
0.0224501583725214,
0.02605285868048668,
0.05113832652568817,
-0.035359833389520645,
-0.005303975194692612,
-0.07572341710329056,
-0.032124076038599014,
-0.07545655220746994,
-0.012184131890535355,
-0.018263688310980797,
0.03726125881075859,
0.021549483761191368,
-0.09413722157478333,
0.007914264686405659,
-0.024735204875469208,
-0.0008522011921741068,
0.06361434608697891,
-0.06478188931941986,
-0.04176463559269905,
-0.017096146941184998,
0.008393790572881699,
0.06878488510847092,
0.011750473640859127,
0.0007547323475591838,
-0.004849467892199755,
0.013343334197998047,
-0.03244097903370857,
-0.05357348546385765,
0.022666988894343376,
-0.01228420715779066,
0.05760984495282173,
0.009665577672421932,
0.038028500974178314,
0.03167374059557915,
0.025202222168445587,
0.010549573227763176,
0.039529625326395035,
0.021816350519657135,
-0.009023429825901985,
0.01286797784268856,
-0.012592771090567112,
0.008464677259325981,
-0.09153527021408081,
-0.009457088075578213,
0.0226336307823658,
-0.04089731723070145,
-0.041831351816654205,
-0.03322490304708481,
0.038262009620666504,
-0.02089899592101574,
-0.0009653068264015019,
0.030906496569514275,
0.03982985019683838,
-0.005191390868276358,
0.009457088075578213,
0.053973786532878876,
0.01908096671104431,
-0.01579517126083374,
-0.0334584079682827,
-0.030856460332870483,
-0.015178042463958263,
-0.06931862235069275,
-0.02633640542626381,
-0.049470409750938416,
-0.004249017685651779,
-0.04516718536615372,
0.037094466388225555,
0.05684260278940201,
-0.022083217278122902,
0.007843377999961376,
-0.016370601952075958,
0.044399943202733994,
-0.013009750284254551,
-0.021065788343548775,
0.027153683826327324,
-0.009665577672421932,
-0.019948285073041916,
0.0024059698916971684,
0.01047451701015234,
-0.020915675908327103,
0.05384035035967827,
0.002893835538998246,
0.020265188068151474,
-0.015336493961513042,
0.028955034911632538,
-0.061045750975608826,
-0.04967056214809418,
0.005191390868276358,
-0.0011393956374377012,
-0.014769402332603931,
-0.012367602437734604,
-0.023067288100719452,
-0.009482106193900108,
-0.033158183097839355,
-0.06418143957853317,
0.00720540015026927,
0.06408136337995529,
-0.04456673562526703,
-0.0032024001702666283,
-0.0038195294328033924,
-0.010833119042217731,
0.03792842477560043,
0.04503375291824341,
-0.021215900778770447,
-0.04813607782125473,
-0.036060359328985214,
0.0670502558350563,
-0.07031936943531036,
0.0024434980005025864,
0.006963552441447973,
-0.03786170855164528,
0.0011237588478252292,
-0.01607871800661087,
0.0756567046046257,
0.02887163870036602,
0.012100735679268837,
0.046001143753528595,
-0.020848959684371948,
0.008806600235402584,
-0.020181791856884956,
-0.0350596085190773,
-0.03866231068968773,
-0.02465180866420269,
-0.02441830188035965,
-0.016370601952075958,
0.022616950795054436,
-0.05921104550361633,
-0.034058861434459686,
-0.01066632755100727,
-0.004532563500106335,
0.026219651103019714,
0.007409720215946436,
0.0051413532346487045,
-0.03816193342208862,
0.040463659912347794,
0.01047451701015234,
0.037561483681201935,
0.02296721376478672,
-0.017679916694760323,
-0.021866388618946075,
-0.027754133567214012,
0.009940783493220806,
0.03669416904449463,
-0.0068217795342206955,
-0.05090481787919998,
0.005858557764440775,
-0.0043991305865347385,
0.003617294365540147,
-0.031373511999845505,
-0.012267527170479298,
-0.058744028210639954,
-0.006659157574176788,
0.030823100358247757,
-0.023450909182429314,
-0.02164955995976925,
0.014177292585372925,
-0.02231672592461109,
-0.04179799184203148,
0.005791841074824333,
0.010149273090064526,
-0.01281793974339962,
-0.011408550664782524,
0.026703346520662308,
-0.02426818758249283,
-0.05764320120215416,
0.0034171442966908216,
-0.0810607522726059,
-0.02413475513458252,
0.04813607782125473,
0.0010617332300171256,
0.01879742182791233,
0.0186973474919796,
-0.039529625326395035,
-0.06414807587862015,
-0.029538804665207863,
-0.021766314283013344,
0.013810350559651852,
0.0692519024014473,
-0.03462595120072365,
0.01856391318142414,
-0.04099739342927933,
0.04123090207576752,
0.05727626010775566,
0.024384941905736923,
0.015328154899179935,
0.027737455442547798,
-0.0037632370367646217,
-0.021666238084435463,
-0.0018670243443921208,
0.0354265496134758,
0.03330829739570618,
-0.12222494184970856,
-0.05090481787919998,
-0.028571413829922676,
0.002145357895642519,
0.007217909675091505,
0.007810019887983799,
-0.07745805382728577,
-0.01898089237511158,
-0.039863210171461105,
0.0293386559933424,
-0.06111247092485428,
-0.00760570028796792,
-0.0178967472165823,
0.002581101143732667,
-0.06621629744768143,
0.015853548422455788,
0.054107218980789185,
0.02498539350926876,
0.0254023727029562,
0.04213157668709755,
0.09353677183389664,
0.06294717639684677,
0.0037069448735564947,
-0.03155698627233505,
-0.03819529339671135,
0.038128577172756195,
-0.02118254266679287,
0.002754147397354245,
-0.03932947665452957,
0.06448166072368622,
0.04143105074763298,
-0.04716868698596954,
0.04013007506728172,
0.04139769449830055,
-0.02900507114827633,
-0.010766402818262577,
-0.03946290910243988,
-0.046468161046504974,
0.05113832652568817,
-0.012192470952868462,
-0.01813025400042534,
0.036393944174051285,
0.03234090656042099,
0.034192293882369995,
0.07125340402126312,
-0.04343255236744881,
0.059644702821969986,
-0.023967962712049484,
-0.03622715175151825,
-0.044033002108335495,
0.02001500129699707,
0.023801172152161598,
-0.024735204875469208,
0.027754133567214012,
-0.012509375810623169,
-0.0075264740735292435,
0.03265780955553055,
-0.011266777291893959,
0.001934783416800201,
-0.009181881323456764,
-0.030589593574404716,
-0.02006503753364086,
-0.004084310960024595,
-0.06278038769960403,
0.009198560379445553,
0.007430569268763065,
-0.04376613348722458,
-0.05197228491306305,
0.02591942623257637,
-0.036060359328985214,
0.04840294271707535,
0.05787670984864235,
0.010007500648498535,
0.0017825859831646085,
0.016954373568296432,
-0.01983153074979782,
-0.033725276589393616,
0.020081717520952225,
0.03786170855164528,
-0.008122754283249378,
-0.03946290910243988,
-0.022666988894343376,
-0.07672417163848877,
0.004703524988144636,
-0.03225750848650932,
-0.018547233194112778,
-0.04943705350160599,
-0.016120415180921555,
-0.005729293916374445,
0.01263446919620037,
0.0019452079432085156,
0.02928861789405346,
-0.0065424032509326935,
0.012267527170479298,
0.026703346520662308,
-0.023500947281718254,
-0.008218660019338131,
0.03375863656401634,
0.02723708003759384,
0.03782835230231285,
-0.013018090277910233,
-0.03322490304708481,
0.04409971833229065,
0.013726954348385334,
-0.03922940045595169,
-0.010107574984431267,
0.001363521907478571,
-0.012592771090567112,
-0.01487781759351492,
0.0011560748098418117,
0.04063045233488083,
0.04283210262656212,
0.031423550099134445,
0.059878211468458176,
-0.004636808298528194,
-0.022433480247855186,
-0.020231829956173897,
-0.05807686224579811,
0.02625300921499729,
-0.054440803825855255,
-0.016120415180921555,
0.023134004324674606,
-0.03260777145624161,
-0.010991571471095085,
0.019898246973752975,
-0.01366023812443018,
0.06461509317159653,
0.02923857979476452,
-0.03532647714018822,
-0.06037858501076698,
0.002604034962132573,
0.034892819821834564,
-0.0567091703414917,
-0.020915675908327103,
0.00223292363807559,
0.003283711150288582,
0.03135683387517929,
-0.06131261959671974,
0.028471339493989944,
0.01747976802289486,
0.05821029469370842,
-0.0030835610814392567,
0.06711696833372116,
-0.004188555758446455,
-0.004695185460150242,
-0.006592440884560347,
-0.04967056214809418,
0.029705597087740898,
0.012059037573635578,
-0.027353834360837936,
-0.017212901264429092,
-0.0867316722869873,
-0.010758062824606895,
0.015536644496023655,
-0.06958548724651337,
-0.005203900393098593,
0.035126324743032455,
-0.023550983518362045,
0.06461509317159653,
0.045634202659130096,
-0.046468161046504974,
0.02928861789405346,
-0.023784492164850235,
-0.014677667059004307,
-0.026169613003730774,
0.011942284181714058,
-0.011750473640859127,
0.050070859491825104,
0.04279874265193939,
-0.000343747204169631,
0.013935443945229053,
-0.003625633893534541,
-0.0066716670989990234,
-0.014952873811125755,
-0.01828036829829216,
-0.04203150048851967,
0.10654652118682861,
-0.027170363813638687,
0.02094903402030468,
0.03562670201063156,
-0.053139828145504,
0.006421479396522045,
-0.05714282765984535,
0.01934783346951008,
-0.01425234880298376,
-0.017563162371516228,
0.038829103112220764,
-0.000541030487511307,
0.008068547584116459,
0.0033045599702745676,
0.014302385970950127,
0.031707096844911575,
-0.045067109167575836,
0.019381191581487656,
-0.03132347762584686,
0.029588842764496803,
0.046701669692993164,
-0.0015303136315196753,
-0.025252260267734528,
0.009482106193900108,
-0.0177132748067379,
-0.030205972492694855,
-0.031140005216002464,
0.003133598482236266,
0.07058623433113098,
-0.012059037573635578,
0.0708530992269516,
0.0035714267287403345,
0.038262009620666504,
-0.03809521719813347,
0.05700939521193504,
0.0357934944331646,
-0.08699853718280792,
-0.020231829956173897,
0.007797510828822851,
0.050170935690402985,
0.005733463913202286,
-0.021299296990036964,
0.02892167679965496,
-0.021499447524547577,
-0.016403961926698685,
-0.03452587500214577,
-0.011133343912661076,
0.024434980005025864,
0.00404052808880806
] |
725,618 | flask_redis.client | init_app | null | def init_app(self, app, **kwargs):
redis_url = app.config.get(
"{0}_URL".format(self.config_prefix), "redis://localhost:6379/0"
)
self.provider_kwargs.update(kwargs)
self._redis_client = self.provider_class.from_url(
redis_url, **self.provider_kwargs
)
if not hasattr(app, "extensions"):
app.extensions = {}
app.extensions[self.config_prefix.lower()] = self
| (self, app, **kwargs) | [
-0.013957136310636997,
-0.07001980394124985,
0.038359615951776505,
-0.0013596952194347978,
0.07005582004785538,
0.037171006202697754,
0.03749517351388931,
0.028940798714756966,
0.038107484579086304,
0.009760990738868713,
0.00704610301181674,
0.024618588387966156,
0.02202526293694973,
0.034109439700841904,
0.019179807975888252,
-0.01339885126799345,
-0.005956545937806368,
0.0006578988977707922,
0.06364454329013824,
-0.09119863063097,
-0.01704571582376957,
0.010526382364332676,
-0.008410300128161907,
-0.006848001386970282,
0.043005991727113724,
0.01977411098778248,
0.005254186689853668,
0.04844477027654648,
0.023069797083735466,
-0.010607424192130566,
0.0017063724808394909,
0.026743674650788307,
0.023970257490873337,
0.0413491427898407,
0.03290282562375069,
-0.05640484020113945,
0.029192926362156868,
-0.019882166758179665,
-0.09472844004631042,
0.013452879153192043,
0.04311404377222061,
-0.0413491427898407,
0.09797009825706482,
-0.024888725951313972,
0.012975635007023811,
0.04581542685627937,
0.02957111969590187,
0.04873291775584221,
0.0012797793606296182,
-0.010166198015213013,
-0.05557641759514809,
0.004094843752682209,
0.016262315213680267,
0.05698113515973091,
-0.04044868424534798,
0.06760656833648682,
0.006775964517146349,
0.05518021434545517,
-0.0027869250625371933,
0.03509994596242905,
-0.04624764621257782,
-0.026095343753695488,
0.0453471876680851,
-0.000755823974031955,
0.015893125906586647,
0.00027731366571970284,
-0.04264580458402634,
0.02454655058681965,
0.013750030659139156,
-0.007221692707389593,
0.07228896021842957,
0.01078751590102911,
-0.016343357041478157,
-0.03428953140974045,
0.03749517351388931,
0.01697367988526821,
-0.014290306717157364,
-0.015019680373370647,
-0.05258689075708389,
0.03825156018137932,
0.07099229842424393,
0.004549576435238123,
-0.01510972622781992,
0.04621163010597229,
0.04862486198544502,
-0.0024199874605983496,
-0.05726928263902664,
-0.01876559481024742,
0.020170314237475395,
-0.003840463701635599,
-0.008212199434638023,
0.060835108160972595,
0.040484700351953506,
-0.017955180257558823,
-0.02038642391562462,
-0.06901128590106964,
-0.004227661527693272,
0.017649024724960327,
0.049417268484830856,
-0.013299800455570221,
0.01899971440434456,
-0.0153348408639431,
-0.0013641975820064545,
-0.0512181892991066,
-0.017423909157514572,
-0.06544546782970428,
-0.004531566984951496,
0.010211220942437649,
-0.03430754318833351,
-0.007221692707389593,
0.021647069603204727,
0.007455812301486731,
0.022115308791399002,
0.014821578748524189,
-0.035135965794324875,
0.03886387124657631,
0.019305871799588203,
0.006893024779856205,
0.08464328199625015,
-0.011372814886271954,
-0.09523269534111023,
0.030525607988238335,
0.03306490555405617,
0.04383441433310509,
0.020116286352276802,
0.0005444971611723304,
0.04030460864305496,
-0.036846842616796494,
-0.001466624904423952,
-0.10229230672121048,
0.102940633893013,
0.023970257490873337,
-0.05636882409453392,
-0.061195291578769684,
0.002791427308693528,
-0.00736126396805048,
0.057449374347925186,
0.034109439700841904,
-0.015568960458040237,
0.024582570418715477,
-0.067714624106884,
0.05647687986493111,
-0.03646864742040634,
0.045455243438482285,
0.021232856437563896,
-0.03214643895626068,
-0.034361571073532104,
0.047292180359363556,
0.07607089728116989,
-0.01180503610521555,
0.018873650580644608,
0.02937301993370056,
0.026239417493343353,
0.03592837229371071,
-0.028670659288764,
-0.010778510943055153,
-0.011850059032440186,
0.02537497505545616,
0.028004318475723267,
0.03425351530313492,
0.0033767265267670155,
0.04776041954755783,
0.018243327736854553,
-0.01982813887298107,
-0.04714810848236084,
0.01782011240720749,
-0.025032799690961838,
-0.02044045180082321,
0.0033272013533860445,
0.07041600346565247,
0.02186317928135395,
-0.06839897483587265,
-0.030813755467534065,
-0.0645810216665268,
0.005263191182166338,
0.030291488394141197,
-0.039620257914066315,
-0.023790163919329643,
0.004713910166174173,
0.008599396795034409,
0.027806218713521957,
0.026527564972639084,
-0.05878205597400665,
0.017351873219013214,
-0.012390335090458393,
0.03367722034454346,
0.043258119374513626,
0.04837273433804512,
0.06267204880714417,
0.0027869250625371933,
-0.007397282402962446,
-0.018621521070599556,
0.007104632910341024,
-0.0073882779106497765,
-0.012408345006406307,
0.009941083379089832,
-0.025032799690961838,
0.015424886718392372,
-0.06713832914829254,
0.04675190523266792,
-0.06598573923110962,
0.030975839123129845,
-0.011552907526493073,
-0.011588925495743752,
0.020710589364171028,
-0.025807196274399757,
0.019305871799588203,
0.04034062847495079,
-0.024042293429374695,
-0.021719105541706085,
0.031498104333877563,
-0.050966061651706696,
0.006136637646704912,
0.0007727076299488544,
0.018162287771701813,
0.01697367988526821,
0.02206128090620041,
0.0256090946495533,
0.03699091449379921,
0.004894002340734005,
-0.0007001080084592104,
0.01782911643385887,
-0.04001646116375923,
0.02186317928135395,
0.0037684268318116665,
0.013218759559094906,
-0.0010203341953456402,
-0.020080268383026123,
-0.014461394399404526,
0.05557641759514809,
-0.000060745904193026945,
0.06717434525489807,
0.05554039776325226,
-0.030885793268680573,
0.012273275293409824,
-0.005330725573003292,
0.07902440428733826,
0.04621163010597229,
-0.04754431173205376,
0.020116286352276802,
0.056188732385635376,
0.054135680198669434,
-0.007491830736398697,
-0.05215466767549515,
0.003396986983716488,
0.053163181990385056,
-0.007572872098535299,
-0.0037346596363931894,
-0.009427820332348347,
0.033263009041547775,
0.028436539694666862,
-0.008509350940585136,
0.004261428955942392,
-0.021160820499062538,
-0.052550870925188065,
-0.0279863104224205,
0.00783400610089302,
0.03243458643555641,
-0.00864892266690731,
-0.009000102058053017,
0.008212199434638023,
-0.004252424463629723,
0.017279835417866707,
0.04502302035689354,
-0.035586196929216385,
0.023159842938184738,
0.03980034962296486,
-0.010724483989179134,
-0.006703928112983704,
0.0011593428207561374,
0.07340553402900696,
0.033136945217847824,
0.04354626685380936,
0.011066658422350883,
-0.001545415259897709,
-0.04588746279478073,
-0.04808458685874939,
-0.0075413561426103115,
-0.03086778335273266,
0.0018909669015556574,
0.004785947035998106,
-0.03063366375863552,
0.06659805029630661,
0.03405541181564331,
-0.00665890472009778,
-0.03428953140974045,
0.03592837229371071,
0.0026338468305766582,
0.017423909157514572,
-0.03699091449379921,
-0.008045613765716553,
-0.012084178626537323,
-0.030903801321983337,
0.03965627774596214,
-0.020566515624523163,
-0.028850752860307693,
0.006717434618622065,
0.08918160200119019,
-0.01986415684223175,
0.010283257812261581,
-0.003113341983407736,
-0.019666055217385292,
-0.010112171061336994,
0.045455243438482285,
0.06504926085472107,
-0.00684349937364459,
-0.011534898541867733,
0.0052676936611533165,
-0.012948621064424515,
0.014146232977509499,
0.02137693017721176,
-0.036036428064107895,
-0.013218759559094906,
-0.014281302690505981,
-0.039872389286756516,
0.03567624092102051,
0.023502016440033913,
0.0015352850314229727,
0.015514933504164219,
0.0034465123899281025,
0.008513852953910828,
0.03263268619775772,
-0.06018677353858948,
0.02206128090620041,
0.031209958717226982,
0.037459153681993484,
-0.0003886049671564251,
-0.01749594695866108,
0.0072802226059138775,
0.004448274616152048,
-0.06991174817085266,
0.054964106529951096,
0.006893024779856205,
0.0050065601244568825,
0.021052764728665352,
-0.0367928147315979,
-0.014101210050284863,
-0.02969718538224697,
-0.06811082363128662,
-0.040808867663145065,
-0.006231185980141163,
-0.032614678144454956,
-0.044806912541389465,
0.003982286434620619,
-0.01599217765033245,
-0.01777508854866028,
-0.02822043001651764,
-0.05730530247092247,
-0.03373124822974205,
-0.010850547812879086,
-0.008662429638206959,
-0.04988550767302513,
0.025483030825853348,
-0.00968895386904478,
0.035334065556526184,
-0.03034551627933979,
-0.04224960505962372,
-0.001975385006517172,
-0.009932078421115875,
-0.04354626685380936,
-0.016082223504781723,
0.0287967249751091,
-0.032164447009563446,
0.02389821968972683,
-0.08622808754444122,
-0.01176901813596487,
0.009706963784992695,
0.0007845261716283858,
0.010553396306931973,
-0.08752475678920746,
-0.012777533382177353,
-0.023429980501532555,
0.021358922123908997,
0.03270472213625908,
0.029661167412996292,
-0.03202037140727043,
-0.05492808669805527,
-0.027752190828323364,
-0.044266633689403534,
0.03596438840031624,
-0.04217756539583206,
0.03582031652331352,
0.04592348262667656,
-0.023429980501532555,
0.001978761749342084,
-0.013858086429536343,
-0.0498494878411293,
0.020116286352276802,
0.04369033873081207,
-0.011264760047197342,
-0.025014791637659073,
0.03553216904401779,
-0.02035040594637394,
0.018495457246899605,
-0.013290795497596264,
-0.013218759559094906,
-0.027878254652023315,
-0.008000590838491917,
0.0020069011952728033,
0.006186163052916527,
0.029030844569206238,
-0.03463170677423477,
0.1170598566532135,
-0.02141294814646244,
0.06620185077190399,
0.06231186166405678,
0.005771951284259558,
-0.0034847818315029144,
0.044194597750902176,
0.022241372615098953,
-0.07506237924098969,
0.01798219420015812,
-0.05849390849471092,
-0.03488383814692497,
-0.01590213179588318,
-0.0679667517542839,
0.02915690839290619,
0.0006894150283187628,
-0.0030773235484957695,
0.020890681073069572,
0.0015015177195891738,
0.03564022481441498,
0.02683372050523758,
-0.014830583706498146,
0.017558978870511055,
0.030417554080486298,
0.002649604808539152,
-0.03695489466190338,
-0.015145744197070599,
-0.027824226766824722,
-0.02002624049782753,
0.07027193158864975,
0.024114331230521202,
-0.018531475216150284,
0.0015960661694407463,
-0.004704905673861504,
0.038395632058382034,
-0.05950242653489113,
-0.05615271255373955,
-0.021106792613863945,
-0.0637165829539299,
-0.03600040823221207,
0.02850857749581337,
0.012741515412926674,
-0.02476266212761402,
-0.0012516400311142206,
-0.021358922123908997,
0.007122641894966364,
0.018621521070599556,
-0.0025775679387152195,
-0.01311070378869772,
-0.023880209773778915,
-0.06998378783464432,
-0.008000590838491917,
0.020818645134568214,
-0.02344799041748047,
-0.003273173701018095,
0.03659471124410629,
-0.024816690012812614,
0.014713522978127003,
-0.005110112950205803,
-0.013209754601120949,
-0.04642774164676666,
-0.06562555581331253,
-0.0046373712830245495,
0.08493142575025558,
0.05298309028148651,
0.0023659598082304,
-0.015505928546190262,
-0.00574943982064724,
0.009842032566666603,
0.032164447009563446,
0.03364120051264763,
-0.01777508854866028,
-0.03771128132939339,
0.027878254652023315,
0.01628032512962818,
-0.03214643895626068,
-0.025789186358451843,
-0.02447451464831829,
0.009373793378472328,
0.08680438250303268,
0.006681416183710098,
0.0007378147565759718,
-0.06836295872926712,
-0.060510940849781036,
-0.0009212835575453937,
-0.05989862605929375,
0.018549485132098198,
0.0015814335783943534,
-0.01598317176103592,
0.04340219125151634,
-0.02683372050523758,
0.08810105174779892,
0.02532094717025757,
0.021106792613863945,
0.031300004571676254,
0.025032799690961838,
0.04801255092024803,
0.016208287328481674,
-0.008329259231686592,
0.04311404377222061,
-0.007037098053842783,
0.022727621719241142,
-0.029949313029646873,
-0.0209267009049654,
-0.11367412656545639,
0.02912089042365551,
-0.012597441673278809,
-0.013858086429536343,
-0.00337447552010417,
-0.03673878684639931,
-0.0057584443129599094,
-0.0018707065610215068,
0.0299853328615427,
-0.024564560502767563,
-0.020872673019766808,
0.01168797630816698,
-0.05240679532289505,
0.018819622695446014,
0.022421464323997498,
-0.0026180886197835207,
0.04487894847989082,
0.018693558871746063,
-0.017234813421964645,
-0.0684710144996643,
0.04354626685380936,
0.015731044113636017,
-0.02854459546506405,
0.06522935628890991,
-0.050425782799720764,
0.027968300506472588,
-0.03283078595995903,
-0.023429980501532555,
-0.0196120273321867,
-0.04005248099565506,
-0.05489206686615944,
0.006370757706463337,
0.10502970218658447,
-0.01990017481148243,
0.005902518052607775,
0.0074107893742620945,
0.03369522839784622,
-0.06303223222494125,
-0.08464328199625015,
-0.06897526979446411,
0.023267896845936775,
0.05154235661029816,
-0.034649718552827835,
-0.036810822784900665,
0.0034735260996967554,
-0.014587459154427052,
0.05507215857505798,
0.03050759993493557,
-0.002109328517690301,
-0.02989528700709343,
-0.010652447119355202,
-0.024942753836512566,
0.0015240292996168137,
0.038647763431072235,
0.006487817503511906,
0.047328200191259384,
-0.04804856702685356,
0.032812777906656265,
-0.009355783462524414,
-0.011814041063189507,
-0.028148392215371132,
-0.0279863104224205,
-0.07318942248821259,
0.004803956486284733,
0.015677016228437424,
-0.07322543859481812,
-0.003691887715831399,
0.051038097590208054,
-0.0642208382487297,
0.015370859764516354,
-0.011318787932395935,
0.030039360746741295,
0.023952247574925423,
-0.028328485786914825,
-0.04098895937204361,
0.028580613434314728,
-0.02193521521985531,
0.007635904476046562,
0.007338752504438162,
0.0024154852144420147,
0.04902106523513794,
0.05168642848730087,
-0.018495457246899605,
0.022079288959503174,
-0.014155237935483456,
-0.011345801874995232,
-0.010040134191513062,
-0.028436539694666862,
0.03889989107847214,
-0.03396536782383919,
-0.028688669204711914,
0.00985103752464056,
0.002128463238477707,
-0.003414996201172471,
-0.009409811347723007,
0.05665697157382965,
0.007451310288161039,
-0.13831071555614471,
0.02215132676064968,
-0.02634747140109539,
-0.06681416183710098,
0.052514851093292236,
-0.027662144973874092,
0.019846148788928986,
-0.05017365515232086,
0.04531116783618927,
-0.014326325617730618,
0.009418816305696964,
0.03589235246181488,
0.031209958717226982,
-0.04469885677099228,
-0.015875117853283882,
0.055288270115852356,
-0.04599551856517792,
-0.027626125141978264,
0.026653628796339035,
0.028130384162068367,
0.005681905429810286,
-0.008293240331113338,
-0.008320254273712635,
0.014695513993501663,
-0.032236482948064804,
-0.05046180263161659,
-0.02886876091361046,
0.06043890491127968,
0.00874797347933054,
0.02838251367211342,
-0.001058603753335774,
0.04502302035689354,
-0.031390052288770676,
0.020368415862321854,
-0.0046373712830245495,
0.00765841593965888,
0.009589903987944126,
0.016577476635575294,
-0.05694511905312538,
-0.011922095902264118,
-0.04595949873328209,
0.02663561888039112,
0.06256399303674698,
0.0003250099252909422,
0.02586122415959835,
-0.018243327736854553,
-0.02557307668030262,
0.032074399292469025,
-0.06926341354846954,
-0.0004775254346895963,
0.04224960505962372,
-0.05273096263408661,
0.014272297732532024,
0.0392240546643734,
0.0009280370431952178,
0.023808173835277557,
-0.009914069436490536,
-0.03378527611494064,
0.007707941345870495,
-0.017108747735619545,
0.012930612079799175,
0.03936813026666641,
-0.03756720945239067,
0.04905708506703377,
-0.033461108803749084,
0.009878050535917282,
0.07585478574037552,
0.0009077766444534063,
-0.006938047707080841,
-0.013029662892222404,
0.033263009041547775,
0.025140855461359024,
-0.031426068395376205,
-0.04181738197803497,
0.007365766447037458,
-0.006006070878356695,
0.034937866032123566,
-0.07628700882196426,
-0.011039644479751587,
0.024042293429374695,
0.050137635320425034,
-0.025302937254309654,
-0.022241372615098953,
-0.025230901315808296,
0.038971927016973495,
-0.009409811347723007,
-0.018819622695446014,
0.006033084820955992,
0.0554683618247509,
0.017937172204256058,
-0.025681130588054657,
-0.03311893343925476,
-0.07765571027994156,
-0.046319685876369476,
-0.09566491842269897,
-0.04008849710226059,
0.00019331759540364146,
0.04008849710226059,
0.026329463347792625,
0.027392005547881126,
-0.036072444170713425,
-0.01986415684223175,
-0.023429980501532555,
-0.029877277091145515,
-0.005825979169458151,
-0.04505904018878937,
-0.015974167734384537,
-0.04214154928922653,
0.023844191804528236,
0.06544546782970428,
0.01644240692257881,
-0.03753118962049484,
-0.0161452554166317,
0.022853685542941093,
-0.015037689357995987,
-0.05028171092271805,
0.005938536487519741,
-0.051578372716903687,
-0.018621521070599556,
0.03727906197309494,
-0.034397587180137634,
0.05082198604941368,
-0.031948335468769073,
-0.02393423765897751,
-0.014335329644382,
-0.016586480662226677,
-0.026293445378541946,
-0.02018832229077816,
-0.0615914948284626,
0.0011998635018244386,
0.08788494020700455,
0.021593041718006134,
-0.0627080649137497,
0.023520026355981827,
-0.04228562116622925,
0.00043503494816832244,
-0.043906450271606445,
0.002001273212954402,
0.010211220942437649,
-0.02695978619158268,
0.033263009041547775,
0.053127165883779526,
0.019810128957033157,
-0.013632970862090588,
-0.028040338307619095,
-0.0033204478677362204,
0.027968300506472588,
-0.043330155313014984,
0.06342843174934387,
0.010832538828253746,
0.0479765310883522,
-0.04149321839213371,
0.010454345494508743,
-0.06000668182969093,
-0.017613006755709648,
-0.012534408830106258,
-0.03038153424859047,
-0.02838251367211342,
-0.02031438797712326,
0.018252333626151085,
-0.05305512994527817,
0.08277032524347305,
0.008414803072810173,
0.052550870925188065,
-0.010931589640676975
] |
725,620 | zep_python.exceptions | APIError |
Raised when the API response format is unexpected.
Inherits from ZepClientError.
| class APIError(ZepClientError):
"""
Raised when the API response format is unexpected.
Inherits from ZepClientError.
"""
def __init__(
self, response: Union[httpx.Response, None] = None, message: str = "API error"
) -> None:
if response:
response_data = {
"status_code": response.status_code,
"message": response.text,
}
else:
response_data = None
super().__init__(message=message, response_data=response_data)
| (response: 'Union[httpx.Response, None]' = None, message: 'str' = 'API error') -> 'None' | [
-0.043140675872564316,
-0.0291170384734869,
-0.0061657321639359,
0.009788342751562595,
-0.027249813079833984,
-0.05099857971072197,
-0.04065104201436043,
0.05687255784869194,
0.042129263281822205,
-0.025927195325493813,
0.07873465120792389,
0.020539473742246628,
0.033512797206640244,
0.0005987032782286406,
-0.019012628123164177,
0.023709867149591446,
0.045202404260635376,
0.012603768147528172,
0.015774160623550415,
-0.03127601742744446,
0.00744458707049489,
-0.00046802186989225447,
-0.026977509260177612,
0.07002093642950058,
0.019878165796399117,
0.09273883700370789,
0.0002273249119753018,
0.0054412102326750755,
0.025110285729169846,
-0.06508056819438934,
-0.04135125130414963,
-0.02534368820488453,
-0.035924628376960754,
0.08332490921020508,
-0.021920442581176758,
0.011193624697625637,
-0.03785020485520363,
-0.013342877849936485,
-0.16213735938072205,
0.05578334629535675,
-0.048081040382385254,
-0.0032263118773698807,
-0.05792287364602089,
-0.017077328637242317,
0.06558627635240555,
-0.0022221922408789396,
-0.017563585191965103,
0.011923009529709816,
-0.08379171788692474,
-0.02357371523976326,
-0.043179575353860855,
-0.008718579076230526,
0.03921172395348549,
-0.017271829769015312,
0.029039237648248672,
0.04882015287876129,
0.036644287407398224,
0.05558884143829346,
-0.04679732397198677,
0.01990734040737152,
-0.09553967416286469,
0.062629833817482,
-0.016435468569397926,
-0.01578388549387455,
0.013031673617661,
-0.006472073961049318,
-0.04228486493229866,
-0.013702708296477795,
-0.03012845292687416,
0.040378738194704056,
0.07002093642950058,
0.04714743047952652,
-0.06488606333732605,
0.023379212245345116,
0.10230836272239685,
0.0016386844217777252,
-0.06655878573656082,
0.02563544176518917,
0.004330113995820284,
-0.006321334280073643,
0.010979671962559223,
0.017223205417394638,
-0.007429999299347401,
0.0047920579090714455,
0.07021543383598328,
-0.06951522827148438,
0.010590665973722935,
-0.05364381521940231,
-0.008032957091927528,
0.06636428833007812,
-0.07519470155239105,
-0.03615803271532059,
-0.06581968069076538,
-0.022970756515860558,
0.013702708296477795,
0.017301006242632866,
0.020383872091770172,
-0.07231606543064117,
0.014986424706876278,
-0.020558925345540047,
-0.003199567785486579,
0.06862051784992218,
-0.005543324165046215,
-0.0246629286557436,
0.009608427993953228,
-0.016970351338386536,
0.023632066324353218,
-0.04788653925061226,
0.0301673524081707,
-0.022037144750356674,
-0.0014915918000042439,
-0.006613088306039572,
-0.026549603790044785,
0.0028081312775611877,
-0.009846693836152554,
0.0019122036173939705,
0.029000336304306984,
0.008387924171984196,
-0.01563800871372223,
-0.009054095484316349,
0.06492497026920319,
0.004011616110801697,
-0.018137367442250252,
0.013167825527489185,
0.026938609778881073,
0.003056121990084648,
-0.028261227533221245,
-0.01782616227865219,
0.0298172477632761,
-0.001828324398957193,
-0.009156209416687489,
0.02050057426095009,
-0.0505317747592926,
-0.05621125176548958,
-0.020267169922590256,
0.033843450248241425,
0.013177551329135895,
0.013527655974030495,
-0.03012845292687416,
0.015628283843398094,
0.020286621525883675,
0.07212156057357788,
0.03785020485520363,
-0.005066792480647564,
-0.03674153983592987,
0.016367392614483833,
-0.019459985196590424,
-0.04166245460510254,
-0.007230633869767189,
0.010191936045885086,
-0.008237184956669807,
0.015462956391274929,
0.01771918684244156,
0.0016362530877813697,
-0.02250394970178604,
-0.05434402450919151,
-0.02744431607425213,
-0.03427135571837425,
0.06445816159248352,
0.015161477029323578,
-0.015015600249171257,
-0.05749496817588806,
0.060140203684568405,
-0.02917538955807686,
-0.011271425522863865,
-0.006087931338697672,
-0.008742892183363438,
-0.06231863051652908,
-0.0026428040582686663,
0.017563585191965103,
-0.023690415546298027,
-0.008752617053687572,
-0.045941513031721115,
-0.013216451741755009,
-0.012224487960338593,
0.035535626113414764,
0.03246248513460159,
0.03893942013382912,
-0.005679475609213114,
-0.007220908999443054,
0.06869831681251526,
-0.03913392126560211,
-0.03466036170721054,
0.030653608962893486,
0.03082866221666336,
-0.015793610364198685,
0.027133112773299217,
0.04065104201436043,
0.01624096743762493,
0.03396015241742134,
0.009691092185676098,
-0.004074829630553722,
0.03333774581551552,
0.00823232252150774,
0.038317009806632996,
0.007838455028831959,
0.02530478872358799,
-0.04096224531531334,
0.08075747638940811,
0.0022878367453813553,
-0.06889282166957855,
0.0743388906121254,
0.021998243406414986,
-0.012885796837508678,
0.01438346691429615,
0.04496899992227554,
0.0267635565251112,
-0.06967083364725113,
-0.08495873212814331,
-0.022990206256508827,
-0.011310325935482979,
0.011903558857738972,
-0.023029107600450516,
0.017446883022785187,
0.0032481933012604713,
-0.02532423846423626,
0.03162612393498421,
-0.01784561388194561,
0.05924548953771591,
0.0016897412715479732,
0.055005334317684174,
-0.00615114439278841,
0.01436401717364788,
-0.03082866221666336,
0.025207536295056343,
0.04500789940357208,
0.02429337427020073,
-0.010143310762941837,
-0.04298507422208786,
0.002812993712723255,
-0.037616800516843796,
-0.007391098886728287,
-0.01666887290775776,
-0.009000607766211033,
-0.036897141486406326,
0.0022610926534980536,
0.02563544176518917,
-0.03199567645788193,
-0.02499358355998993,
-0.03962017968297005,
0.03773350268602371,
-0.027969473972916603,
-0.020733976736664772,
0.04617491737008095,
-0.017777537927031517,
-0.026510704308748245,
-0.021259134635329247,
0.06204632669687271,
-0.06632538884878159,
-0.000667387037537992,
0.023768218234181404,
-0.0470307283103466,
-0.015501856803894043,
-0.026180049404501915,
0.04057324305176735,
-0.0327153354883194,
-0.03396015241742134,
-0.06492497026920319,
0.028883635997772217,
0.007060444448143244,
-0.008047545328736305,
0.029992301017045975,
-0.04267387092113495,
0.035146620124578476,
-0.02983669750392437,
-0.027658268809318542,
-0.00022398190048988909,
0.0238654688000679,
0.0183610450476408,
0.07457229495048523,
0.15054501593112946,
0.010707368142902851,
-0.0066908891312778,
0.0128566212952137,
-0.03217072784900665,
0.01560883317142725,
-0.03923117369413376,
0.01607563905417919,
-0.024040520191192627,
-0.02878638356924057,
0.002533396240323782,
-0.018468022346496582,
0.031392719596624374,
0.022815154865384102,
0.022756803780794144,
-0.0242155734449625,
0.01418896485120058,
0.03187897428870201,
-0.0500260666012764,
-0.01161180529743433,
0.020947929471731186,
-0.004040791653096676,
-0.003673667786642909,
0.014325115829706192,
-0.004670493770390749,
0.0012332680635154247,
-0.019654488191008568,
0.0128566212952137,
0.014373742043972015,
-0.05870088189840317,
0.007313297595828772,
0.019421083852648735,
0.04306287318468094,
0.008198284544050694,
-0.016561895608901978,
-0.05434402450919151,
0.01963503658771515,
0.005261295475065708,
-0.00445167813450098,
-0.0409233458340168,
0.02083122730255127,
0.06605308502912521,
-0.08169109374284744,
-0.025149185210466385,
-0.03888107091188431,
0.07601161301136017,
0.05469413101673126,
-0.005397446919232607,
0.009039508178830147,
0.05691146105527878,
-0.03565232455730438,
-0.01143675297498703,
0.024176672101020813,
0.008285810239613056,
0.00042395488708280027,
0.017524683848023415,
0.012370364740490913,
0.01883757673203945,
-0.0006771121406927705,
-0.0008904571877792478,
-0.028941987082362175,
-0.015005875378847122,
-0.048042140901088715,
-0.037597350776195526,
-0.013634632341563702,
-0.038978319615125656,
0.03541892394423485,
-0.005951779428869486,
0.014490443281829357,
-0.003287093946710229,
-0.009015195071697235,
-0.009438238106667995,
-0.010221111588180065,
0.03250138461589813,
-0.003542378544807434,
-0.043101776391267776,
-0.00993422046303749,
-0.018448570743203163,
0.028689133003354073,
0.029622744768857956,
-0.06511946767568588,
0.01055176556110382,
0.013197001069784164,
0.035807929933071136,
0.08192449063062668,
-0.06550847738981247,
-0.05698926001787186,
-0.04426879063248634,
0.0027060173451900482,
0.022815154865384102,
0.006476936396211386,
-0.0654306709766388,
-0.037655703723430634,
0.037928007543087006,
-0.08161328732967377,
-0.02390436828136444,
0.04271277040243149,
-0.0318206250667572,
0.0015037482371553779,
0.0034281082917004824,
-0.022562300786376,
-0.04139015078544617,
-0.0388227179646492,
-0.04516350477933884,
0.025402039289474487,
0.020986830815672874,
-0.03714999556541443,
-0.0028348753694444895,
-0.05780617147684097,
0.02849463000893593,
0.06585858017206192,
-0.04053433984518051,
-0.03913392126560211,
-0.019216855987906456,
0.02188154123723507,
-0.0126815689727664,
-0.0013481461210176349,
0.009122171439230442,
0.02767772041261196,
0.03438805788755417,
0.003928952384740114,
-0.013303977437317371,
0.007906530983746052,
0.04061214253306389,
-0.038958869874477386,
-0.0339212529361248,
-0.06235753372311592,
-0.01560883317142725,
0.011407577432692051,
0.008237184956669807,
0.0133817782625556,
0.04636941850185394,
0.026919160038232803,
0.030575808137655258,
0.030614709481596947,
-0.0026987234596163034,
0.033746201545000076,
-0.017252380028367043,
0.0011518200626596808,
0.002688998356461525,
0.014519618824124336,
-0.035807929933071136,
-0.030284054577350616,
-0.0305174570530653,
-0.0015304923290386796,
0.05449962615966797,
-0.0069534676149487495,
0.0066908891312778,
-0.02629675157368183,
-0.03018680214881897,
0.03753900155425072,
0.03294873982667923,
0.06134611740708351,
0.03567177802324295,
0.013021948747336864,
0.03368784859776497,
-0.031703922897577286,
-0.013099749572575092,
0.04368528351187706,
-0.019810089841485023,
0.01712595298886299,
-0.004164787009358406,
-0.0631355419754982,
-0.0507262758910656,
0.01788451336324215,
-0.027502667158842087,
-0.03751955181360245,
-0.006686026696115732,
-0.03998973220586777,
0.053254809230566025,
0.01090187020599842,
-0.005543324165046215,
0.025421489030122757,
0.05446072667837143,
0.060179103165864944,
-0.009725130163133144,
-0.01212723646312952,
-0.01160207949578762,
0.008762341924011707,
-0.04461889714002609,
0.010289187543094158,
-0.0016046464443206787,
0.00043337608803994954,
0.0031412169337272644,
-0.04057324305176735,
-0.04201256111264229,
-0.059829000383615494,
0.01126170065253973,
-0.008796379901468754,
0.0059469169937074184,
0.024118322879076004,
0.0305174570530653,
-0.020733976736664772,
-0.041740257292985916,
-0.04065104201436043,
0.05936219170689583,
0.04601931571960449,
-0.009365299716591835,
0.013527655974030495,
0.02394326962530613,
-0.030109001323580742,
-0.012175862677395344,
-0.011514553800225258,
0.022601202130317688,
0.020714526996016502,
0.019139055162668228,
0.02499358355998993,
-0.038706015795469284,
-0.017028702422976494,
-0.02705531194806099,
0.028163975104689598,
0.005621124990284443,
0.023340310901403427,
-0.045591410249471664,
0.028669683262705803,
-0.05189329385757446,
-0.023126358166337013,
0.011524278670549393,
-0.01196190994232893,
-0.01506422646343708,
0.013148375786840916,
0.037247247993946075,
-0.05866198241710663,
0.020364422351121902,
-0.02732761576771736,
0.007235496770590544,
-0.035924628376960754,
0.026802457869052887,
0.0020799620542675257,
-0.05469413101673126,
0.02254285104572773,
-0.03129546716809273,
-0.009015195071697235,
-0.041429053992033005,
0.03991193324327469,
-0.01957668550312519,
-0.006890254560858011,
0.047653134912252426,
0.07465009391307831,
-0.0018696562619879842,
-0.039406225085258484,
0.03699439391493797,
0.023729316890239716,
0.008640778250992298,
-0.005436347797513008,
0.029350440949201584,
-0.028514081612229347,
0.05022057145833969,
0.03713054582476616,
0.03469926491379738,
0.038667116314172745,
0.026977509260177612,
0.053215909749269485,
-0.013313702307641506,
0.009671641513705254,
0.016221515834331512,
0.03915337100625038,
-0.0542273223400116,
0.030050652101635933,
0.05407172068953514,
-0.013479029759764671,
0.00890335626900196,
0.015385155566036701,
0.04679732397198677,
0.01336232852190733,
0.020986830815672874,
-0.08371391892433167,
0.05029837042093277,
-0.038336463272571564,
-0.005689200945198536,
0.027483217418193817,
0.06329114735126495,
0.0008102248539216816,
-0.04391868785023689,
-0.057378266006708145,
-0.08892659097909927,
-0.018098466098308563,
0.05383832007646561,
-0.0250130333006382,
-0.009049233049154282,
0.0019122036173939705,
-0.0673367977142334,
0.04065104201436043,
0.0026768420357257128,
-0.0668310895562172,
0.019528061151504517,
0.0036396298091858625,
0.027988923713564873,
0.045630309730768204,
-0.008951982483267784,
-0.02709421142935753,
0.012010535225272179,
0.030381305143237114,
-0.03302654251456261,
-0.022328898310661316,
0.03835591301321983,
-0.01580333523452282,
0.021064631640911102,
-0.04096224531531334,
-0.01161180529743433,
0.0022161139640957117,
0.011893833987414837,
-0.013868034817278385,
0.016989801079034805,
-0.008310123346745968,
0.031412169337272644,
0.03666374087333679,
0.051115281879901886,
0.06006240099668503,
-0.00427662581205368,
-0.005207806825637817,
-0.0249157827347517,
-0.0264134518802166,
-0.08488093316555023,
-0.020617274567484856,
-0.032131828367710114,
0.012175862677395344,
-0.028008373454213142,
0.048392247408628464,
-0.012905247509479523,
-0.02322361059486866,
-0.045202404260635376,
0.022017693147063255,
-0.04827554523944855,
0.01129087619483471,
0.05780617147684097,
-0.014655770733952522,
-0.06480826437473297,
-0.007045856676995754,
0.012905247509479523,
-0.006481798831373453,
0.12144742161035538,
-0.0020884715486317873,
-0.03781130537390709,
0.055627740919589996,
-0.02528533712029457,
-0.03115931525826454,
0.01712595298886299,
-0.03471871465444565,
-0.01885702647268772,
0.05271020531654358,
-0.02600499801337719,
-0.0666365921497345,
-0.041040048003196716,
-0.047264132648706436,
-0.0266663059592247,
-0.0033721886575222015,
0.03248193487524986,
0.010512865148484707,
-0.033045992255210876,
0.017651110887527466,
-0.04516350477933884,
-0.04325737804174423,
0.07149915397167206,
-0.049714863300323486,
0.06142392009496689,
0.04741973429918289,
0.017962314188480377,
-0.06305774301290512,
-0.02707476168870926,
0.054927531629800797,
0.05364381521940231,
0.0034767338074743748,
-0.06422475725412369,
-0.02837792970240116,
0.007245221640914679,
0.002408185275271535,
0.008762341924011707,
0.06947632879018784,
0.028864186257123947,
0.04671952500939369,
0.004563517402857542,
-0.03316269442439079,
0.03477706387639046,
-0.06648098677396774,
0.02948659285902977,
-0.019605861976742744,
-0.06570297479629517,
0.0229124054312706,
-0.05975119769573212,
0.016678597778081894,
0.02497413381934166,
-0.036936044692993164,
0.00518835661932826,
-0.04430769011378288,
0.023690415546298027,
-0.00945768877863884,
0.04547470808029175,
0.024079421535134315,
0.004916053265333176,
-0.013294252566993237,
-0.008451137691736221,
0.022931857034564018,
0.0031193355098366737,
0.013975011184811592,
0.029914500191807747,
0.035905178636312485,
-0.1031641736626625,
0.0159103125333786,
-0.02145363576710224,
0.01613399013876915,
0.008679678663611412,
0.0026987234596163034,
0.005869115702807903,
-0.009199973195791245,
-0.008300398476421833,
-0.04139015078544617,
-0.021375834941864014,
0.02878638356924057,
-0.0013007360976189375,
0.0343686081469059,
0.0477309376001358,
-0.06585858017206192,
-0.010279462672770023,
-0.021317483857274055,
0.017933139577507973,
-0.027172012254595757,
0.07570040971040726,
-0.02779442071914673,
-0.07422219216823578,
-0.02777497097849846,
0.0022805428598076105,
-0.06239643320441246,
0.02777497097849846,
-0.03539947420358658,
-0.04045654088258743,
-0.042790573090314865,
-0.05162099003791809,
0.006311609409749508,
0.03123711794614792,
0.022620651870965958,
-0.012701019644737244,
-0.040028635412454605,
0.042129263281822205,
0.023476462811231613,
0.006768690422177315,
-0.0073327478021383286,
-0.020539473742246628,
0.028708582744002342,
-0.013615181669592857,
0.032443031668663025,
0.03423245623707771,
0.01541433110833168,
-0.06399135291576385,
-0.004495441447943449,
0.0629410371184349,
0.06508056819438934,
0.023709867149591446,
-0.01839994639158249,
0.03578847646713257,
-0.047692038118839264,
0.037208348512649536,
-0.005178631749004126,
0.055238738656044006,
0.014947524294257164,
-0.0033576011192053556,
-0.013440129347145557,
-0.0249157827347517,
0.012234213761985302,
0.023320861160755157,
0.032384682446718216,
0.03267643600702286,
-0.06375794857740402,
0.006019855383783579,
0.02322361059486866,
-0.022426148876547813,
-0.024429526180028915,
0.02252340130507946,
0.053566016256809235,
0.04294617474079132,
0.0053536840714514256,
-0.03668319061398506,
-0.016620246693491936,
-0.06352455168962479,
-0.012555142864584923,
0.038686566054821014,
0.03129546716809273,
0.0472252294421196,
0.00060842843959108,
0.0498315654695034,
-0.006175457499921322,
-0.05236009880900383,
0.010512865148484707,
0.04679732397198677,
0.013167825527489185,
-0.0332210436463356,
-0.014081987552344799,
0.025538191199302673,
0.02734706550836563,
-0.005018167197704315,
-0.03685824200510979,
-0.0058399406261742115,
0.01961558684706688,
-0.011135273613035679,
-0.0013615181669592857,
0.040728844702243805,
-0.013624906539916992,
0.05107638239860535
] |
725,621 | zep_python.exceptions | __init__ | null | def __init__(
self, response: Union[httpx.Response, None] = None, message: str = "API error"
) -> None:
if response:
response_data = {
"status_code": response.status_code,
"message": response.text,
}
else:
response_data = None
super().__init__(message=message, response_data=response_data)
| (self, response: Optional[httpx.Response] = None, message: str = 'API error') -> NoneType | [
-0.030269615352153778,
-0.013533547520637512,
0.01424736250191927,
-0.016340576112270355,
-0.011777947656810284,
-0.012414594180881977,
-0.03248823061585426,
0.08164500445127487,
0.023092880845069885,
-0.017035098746418953,
0.08179934322834015,
0.05015997588634491,
0.027452940121293068,
-0.012395301833748817,
-0.01466214656829834,
0.01168148685246706,
0.05810840055346489,
-0.00492918211966753,
0.0007505909889005125,
-0.03422453626990318,
0.016379160806536674,
0.005416312720626593,
-0.025986725464463234,
0.1014774888753891,
0.004439640324562788,
0.06335590779781342,
-0.010610763914883137,
-0.005652643274515867,
0.04055241122841835,
-0.009954825975000858,
0.005141397472470999,
-0.01928265206515789,
-0.029401462525129318,
0.08264820277690887,
-0.02054629847407341,
0.026816293597221375,
-0.06134950742125511,
-0.02133728191256523,
-0.16066625714302063,
0.03906690329313278,
-0.020488420501351357,
-0.006231412291526794,
-0.05278372764587402,
-0.00731178093701601,
0.03704121336340904,
-0.0014469223096966743,
-0.029189247637987137,
0.030423954129219055,
-0.055446065962314606,
-0.020430544391274452,
-0.043677762150764465,
0.024636264890432358,
-0.0049436516128480434,
-0.01928265206515789,
-0.018009360879659653,
0.09291170537471771,
0.035304903984069824,
0.050391484051942825,
-0.034513920545578,
0.009110787883400917,
-0.08504045009613037,
0.044758133590221405,
-0.010658994317054749,
0.0018520606681704521,
0.005816627759486437,
-0.0027153908740729094,
-0.03536278381943703,
0.008498257026076317,
-0.020719928666949272,
0.044912468641996384,
0.09684734046459198,
0.044719547033309937,
-0.06104082986712456,
0.0242697112262249,
0.09622998535633087,
0.012790793552994728,
-0.06570956856012344,
0.0122602554038167,
0.008782818913459778,
0.015732869505882263,
0.035304903984069824,
0.027144264429807663,
-0.030269615352153778,
-0.0060047279112041,
0.025813095271587372,
-0.06945227086544037,
0.00883104931563139,
-0.050507236272096634,
-0.035517122596502304,
0.06605683267116547,
-0.0656323954463005,
-0.027221431955695152,
-0.02754940092563629,
-0.032121676951646805,
0.007355188485234976,
-0.0024657968897372484,
0.012626809068024158,
-0.06158101558685303,
0.02104789763689041,
0.00254658330231905,
-0.025215033441781998,
0.020160451531410217,
-0.0016169357113540173,
-0.011739363893866539,
0.028841985389590263,
-0.02108648233115673,
0.03210238367319107,
-0.060539230704307556,
0.051086004823446274,
-0.031504321843385696,
0.009245834313333035,
-0.00913972593843937,
-0.018771406263113022,
0.05297664925456047,
-0.03761998191475868,
0.007080273237079382,
-0.019851773977279663,
-0.025620171800255775,
0.0073021347634494305,
-0.018047945573925972,
0.037176258862018585,
-0.000018322030882700346,
-0.008097941987216473,
-0.008165465667843819,
0.0471503771841526,
0.0071574426256120205,
-0.03761998191475868,
-0.052667975425720215,
0.029401462525129318,
-0.024964233860373497,
0.01949486695230007,
-0.000029861614166293293,
-0.007249081041663885,
-0.027356479316949844,
-0.02783878706395626,
-0.003125352319329977,
-0.023710234090685844,
0.01704474538564682,
-0.000702963094227016,
0.020025406032800674,
0.02560088038444519,
0.031832292675971985,
0.008517549373209476,
-0.023806696757674217,
0.01453674677759409,
0.013765054754912853,
0.007866434752941132,
-0.0245205108076334,
-0.005464543588459492,
-0.0021908816415816545,
-0.010929087176918983,
-0.027356479316949844,
0.04151702672243118,
0.00018809990433510393,
-0.0364045649766922,
-0.03160078451037407,
-0.0037788788322359324,
-0.03951062634587288,
0.05710520222783089,
0.013909746892750263,
0.015211977064609528,
-0.06536230444908142,
0.0480378232896328,
-0.0505458228290081,
0.015684638172388077,
-0.011594670824706554,
0.00804971158504486,
-0.019234420731663704,
0.01895468309521675,
0.011922640725970268,
-0.027684448286890984,
-0.050970252603292465,
-0.05710520222783089,
-0.03480330482125282,
-0.01638880744576454,
0.04607000946998596,
0.040205150842666626,
0.0030915907118469477,
-0.015067284926772118,
0.01497082319110632,
0.04360059276223183,
-0.029420753940939903,
-0.02372952736914158,
0.0392984114587307,
0.016301991418004036,
0.0025610525626689196,
0.02430829592049122,
0.04417936131358147,
0.012723270803689957,
0.07508562505245209,
0.042057208716869354,
-0.019707081839442253,
0.01155608706176281,
-0.01903185248374939,
0.03898973390460014,
0.01585826836526394,
0.024713434278964996,
-0.06246846169233322,
0.06798605620861053,
-0.01151750236749649,
-0.011247409507632256,
0.041941456496715546,
0.014990115538239479,
0.01827945187687874,
0.005252328235656023,
0.04838508367538452,
-0.003595602000132203,
0.009130080230534077,
-0.0573367103934288,
-0.03347213566303253,
-0.03019244596362114,
0.004463755525648594,
-0.01642739214003086,
0.020700635388493538,
-0.019851773977279663,
0.006771596614271402,
-0.0028866101056337357,
-0.038082998245954514,
0.03478401526808739,
-0.01478754635900259,
0.08619798719882965,
-0.004683205392211676,
-0.011941932141780853,
-0.012964424677193165,
-0.007702450267970562,
0.06393467634916306,
0.027221431955695152,
-0.031099185347557068,
-0.04128551855683327,
0.016658900305628777,
-0.05695086345076561,
0.0019051145063713193,
0.0010001850314438343,
-0.02668124809861183,
-0.050468653440475464,
-0.03190946206450462,
0.030713338404893875,
-0.01718943752348423,
-0.07578014582395554,
-0.05814698711037636,
0.05737529322504997,
-0.0242697112262249,
-0.007249081041663885,
0.04178711771965027,
-0.011015902273356915,
-0.026025310158729553,
-0.051047421991825104,
0.07496987283229828,
-0.06817898154258728,
-0.020777804777026176,
-0.008826225996017456,
-0.03144644573330879,
-0.01809617504477501,
-0.043754931539297104,
0.04448803886771202,
-0.05235929787158966,
-0.005792512558400631,
-0.043716348707675934,
0.023594480007886887,
0.0074227117002010345,
0.02228260412812233,
0.01526020746678114,
-0.03225672245025635,
0.031755123287439346,
-0.031465739011764526,
-0.023227926343679428,
-0.020353375002741814,
0.011893701739609241,
-0.0053680818527936935,
0.05336249619722366,
0.15711647272109985,
-0.0026936870999634266,
0.03239176794886589,
0.022417649626731873,
-0.024173250421881676,
0.0006625698879361153,
-0.005773220211267471,
-0.0281667560338974,
-0.03706050664186478,
-0.019041499122977257,
0.02982589229941368,
-0.0441407784819603,
0.05652643367648125,
0.01222167070955038,
0.03246893733739853,
-0.035439953207969666,
0.014893653802573681,
0.04186428710818291,
-0.04344625398516655,
-0.020700635388493538,
0.013263454660773277,
0.04626293107867241,
0.005570651032030582,
0.056063417345285416,
-0.027433648705482483,
-0.006506327539682388,
-0.021838881075382233,
0.07172876596450806,
0.015221623703837395,
-0.04333050176501274,
0.011044840328395367,
-0.006858412176370621,
0.04352342337369919,
-0.0025779332499951124,
0.010485364124178886,
-0.050391484051942825,
0.02878410927951336,
0.03138856962323189,
-0.0035738982260227203,
-0.016263406723737717,
0.06335590779781342,
0.07558722794055939,
-0.04915677756071091,
-0.00804971158504486,
-0.044796716421842575,
0.06046206131577492,
0.05984470993280411,
-0.032584693282842636,
-0.01884857565164566,
0.03499623015522957,
-0.007104388903826475,
-0.062275540083646774,
0.015607469715178013,
0.020276205614209175,
0.019041499122977257,
0.005787689238786697,
0.04672594740986824,
0.0052475049160420895,
0.014382408000528812,
0.01609942317008972,
0.0023030180018395185,
-0.008604365400969982,
-0.03827591985464096,
-0.09013361483812332,
-0.012192732654511929,
-0.034861184656620026,
-0.016668545082211494,
0.006771596614271402,
0.016012607142329216,
-0.010446779429912567,
-0.04070675000548363,
-0.018298745155334473,
-0.013109116815030575,
0.03447533771395683,
0.005223389714956284,
-0.03430170565843582,
0.0062555274926126,
-0.03578721359372139,
0.019002914428710938,
-0.02232118882238865,
-0.07682193070650101,
0.011565732769668102,
0.024964233860373497,
0.028012417256832123,
0.05911160260438919,
-0.062198370695114136,
-0.05536889657378197,
0.0010803686454892159,
0.0028841986786574125,
0.029343586415052414,
-0.022803496569395065,
-0.010842271149158478,
-0.05795406550168991,
0.03914407268166542,
-0.05363258719444275,
-0.02178100496530533,
0.003125352319329977,
0.010012703016400337,
-0.007268373388797045,
-0.01227954775094986,
0.0028938446193933487,
-0.06497646123170853,
-0.04579991474747658,
-0.00431424006819725,
0.039491333067417145,
0.03289336711168289,
-0.0427517332136631,
-0.013157347217202187,
-0.06347166001796722,
-0.02419254183769226,
0.0519348680973053,
-0.051086004823446274,
-0.01426665484905243,
0.0017218375578522682,
0.00030807388247922063,
-0.003412325168028474,
0.0029710140079259872,
-0.0052957357838749886,
0.03491906076669693,
0.05255221948027611,
-0.002778091002255678,
-0.015318084508180618,
-0.006921112071722746,
0.03760068863630295,
-0.03567145764827728,
-0.018819637596607208,
-0.0146814389154315,
0.01258822437375784,
-0.006115658674389124,
-0.003605248173698783,
0.036964043974876404,
0.03339496999979019,
0.004237071145325899,
0.02249481901526451,
0.021877465769648552,
0.037542812526226044,
0.01439205463975668,
-0.006988634821027517,
0.0032893368043005466,
-0.013552839867770672,
0.013022301718592644,
-0.07207602262496948,
-0.02344014309346676,
-0.027356479316949844,
-0.011488563381135464,
0.06787030398845673,
0.008845518343150616,
0.03391585871577263,
-0.005913089495152235,
-0.025620171800255775,
0.016697484999895096,
0.03393515199422836,
0.04919536039233208,
0.01244353223592043,
-0.017141206189990044,
0.0456455759704113,
0.0022005278151482344,
-0.030790507793426514,
0.057799726724624634,
-0.044295117259025574,
-0.01855919137597084,
0.023343680426478386,
-0.07045547664165497,
-0.04240447282791138,
0.04151702672243118,
-0.012617163360118866,
-0.039491333067417145,
-0.008030419237911701,
-0.06447485834360123,
0.0427517332136631,
-0.007514350116252899,
-0.02203180454671383,
0.047073207795619965,
0.05517597123980522,
0.03275832161307335,
0.02535007894039154,
-0.04282890260219574,
-0.005589943379163742,
-0.014604269526898861,
-0.0621212013065815,
0.033240631222724915,
0.0010827801888808608,
0.024578388780355453,
-0.0016796357231214643,
-0.02903490886092186,
-0.06331732124090195,
-0.057259541004896164,
-0.000034986129321623594,
0.02033408172428608,
0.005811804905533791,
-0.01178759429603815,
-0.003901867428794503,
-0.014845423400402069,
-0.031832292675971985,
-0.039163365960121155,
0.061696771532297134,
0.04340767115354538,
0.0002804919204209,
-0.0254658330231905,
0.0048857745714485645,
-0.04892526939511299,
0.013861516490578651,
-0.004193663131445646,
0.03488047420978546,
0.011179886758327484,
-0.003202521475031972,
-0.013687885366380215,
-0.05737529322504997,
-0.020276205614209175,
-0.011449978686869144,
0.013282747007906437,
0.07261621206998825,
0.044256530702114105,
-0.010031995363533497,
0.009477341547608376,
-0.07018537819385529,
0.025253618136048317,
0.002196910558268428,
0.020565589889883995,
0.010466071777045727,
0.029420753940939903,
0.052629388868808746,
-0.0713043361902237,
-0.038121581077575684,
-0.05239788070321083,
0.012520701624453068,
-0.04495105519890785,
-0.002164354780688882,
-0.00034243828849866986,
-0.03738847374916077,
0.010832625441253185,
-0.05401843413710594,
0.015385608188807964,
-0.00912043359130621,
0.029266417026519775,
-0.0003614291490521282,
-0.04244305565953255,
0.04799923673272133,
0.02191605046391487,
-0.0017797144828364253,
-0.0466487780213356,
0.03655890375375748,
-0.029632970690727234,
0.007914665155112743,
0.017575284466147423,
0.03408949077129364,
-0.06269996613264084,
0.015607469715178013,
0.009241010993719101,
0.017527053132653236,
0.027896663174033165,
0.051626190543174744,
0.06814039498567581,
-0.009935533627867699,
0.011633255518972874,
0.0023729526437819004,
0.04298324137926102,
-0.013803639449179173,
0.013581777922809124,
0.03399302810430527,
-0.02737577073276043,
-0.040243733674287796,
-0.043060410767793655,
0.03347213566303253,
0.008734587579965591,
0.041362687945365906,
-0.074815534055233,
0.022456234320998192,
-0.024752018973231316,
-0.018192637711763382,
0.019658852368593216,
0.05363258719444275,
-0.00706098135560751,
-0.039086196571588516,
-0.0767061784863472,
-0.0845002681016922,
-0.03819875046610832,
0.08504045009613037,
0.004502340219914913,
0.010060933418571949,
-0.0240189116448164,
-0.07493128627538681,
0.005459720268845558,
0.006896996404975653,
-0.0855034664273262,
0.022764911875128746,
-0.008073827251791954,
-0.008884103037416935,
0.05984470993280411,
0.005107636097818613,
-0.005271620582789183,
0.025253618136048317,
0.0014770665438845754,
-0.03254610672593117,
-0.00010618299711495638,
0.03673253580927849,
0.01273291651159525,
0.01155608706176281,
-0.04379351809620857,
-0.0170061606913805,
0.004102024715393782,
0.005025643855333328,
-0.05255221948027611,
0.02982589229941368,
0.012173440307378769,
0.03260398283600807,
0.044796716421842575,
0.05131751298904419,
0.047034621238708496,
0.042635977268218994,
-0.01155608706176281,
-0.013263454660773277,
-0.021298697218298912,
-0.058841507881879807,
-0.0349576435983181,
-0.043098993599414825,
-0.0284175556153059,
-0.03430170565843582,
0.04672594740986824,
-0.0374077670276165,
-0.018771406263113022,
-0.02824392542243004,
0.012038393877446651,
-0.02278420329093933,
0.011459625326097012,
0.04441086947917938,
-0.030636169016361237,
-0.07354223728179932,
0.006559381261467934,
-0.017314838245511055,
0.03397373855113983,
0.09059663116931915,
-0.04834650084376335,
0.002662337152287364,
0.025079987943172455,
-0.017276253551244736,
-0.03951062634587288,
0.04842367023229599,
-0.052629388868808746,
-0.011285994201898575,
0.010938732884824276,
-0.02203180454671383,
-0.015935437753796577,
-0.029845185577869415,
-0.04444945603609085,
-0.019398406147956848,
-0.01841449923813343,
0.043639179319143295,
0.005406666547060013,
-0.03476472198963165,
0.012916193343698978,
-0.0422501340508461,
-0.033491428941488266,
0.09854505956172943,
-0.0441407784819603,
0.05849424749612808,
0.0456455759704113,
-0.012163793668150902,
-0.061195168644189835,
0.01671677641570568,
0.034359581768512726,
0.031002722680568695,
0.008691180497407913,
-0.044758133590221405,
0.010986964218318462,
0.034070197492837906,
0.007239434868097305,
0.0027033332735300064,
0.08372857421636581,
0.03848813474178314,
0.024211835116147995,
-0.0016422568587586284,
-0.005069051403552294,
0.0015108281513676047,
-0.0573367103934288,
0.02303500473499298,
-0.019292298704385757,
-0.016668545082211494,
0.02994164638221264,
-0.06192827597260475,
-0.005570651032030582,
0.016089776530861855,
-0.006839119829237461,
0.012597871012985706,
-0.0024887064937502146,
0.02318934164941311,
-0.022147558629512787,
0.05077732726931572,
0.016813237220048904,
0.006651019677519798,
-0.020642759278416634,
-0.025620171800255775,
0.05062299221754074,
0.024752018973231316,
0.020700635388493538,
0.014855070039629936,
0.022977126762270927,
-0.0932975560426712,
-0.0073021347634494305,
-0.013205578550696373,
0.022166850045323372,
0.03268115222454071,
0.0044758133590221405,
0.031292106956243515,
0.012028748169541359,
-0.015694284811615944,
-0.03466825932264328,
-0.03231459856033325,
0.031099185347557068,
0.03011527843773365,
0.03557499870657921,
0.03611518070101738,
-0.04209579527378082,
-0.015501361340284348,
-0.01903185248374939,
0.013003009371459484,
-0.009351941756904125,
0.057259541004896164,
-0.020102575421333313,
-0.053285326808691025,
-0.020719928666949272,
-0.036385275423526764,
-0.051549021154642105,
0.018192637711763382,
-0.024211835116147995,
-0.006303758360445499,
-0.05197345092892647,
-0.09105964750051498,
0.02318934164941311,
0.03123423084616661,
0.038218043744564056,
-0.015588177368044853,
-0.05926594138145447,
0.03549782931804657,
-0.034359581768512726,
-0.008662241511046886,
-0.018916098400950432,
-0.018154053017497063,
0.021838881075382233,
-0.014671793207526207,
0.024173250421881676,
0.04352342337369919,
0.013446731492877007,
-0.05081591382622719,
-0.020411251112818718,
0.05984470993280411,
0.04556840658187866,
0.016919344663619995,
-0.026565494015812874,
0.012896900996565819,
-0.015028700232505798,
0.031581491231918335,
0.011941932141780853,
0.06084790825843811,
0.031658660620450974,
-0.01878105290234089,
0.0015445896424353123,
-0.03023103065788746,
0.04217296466231346,
-0.007644573226571083,
0.01258822437375784,
0.02286137267947197,
-0.06810181587934494,
-0.013620362617075443,
0.004239482339471579,
-0.04796065390110016,
0.009048087522387505,
0.0446423776447773,
0.07246187329292297,
0.05741387978196144,
0.010215272195637226,
-0.06347166001796722,
0.026854878291487694,
-0.02203180454671383,
-0.018819637596607208,
0.037755027413368225,
0.023594480007886887,
-0.01852060668170452,
0.008011126890778542,
0.058802925050258636,
-0.004876128397881985,
-0.06393467634916306,
0.0019702259451150894,
0.07172876596450806,
0.02253340370953083,
-0.01393868587911129,
-0.04001222550868988,
0.027761617675423622,
0.031542908400297165,
0.016456330195069313,
-0.03632739931344986,
0.012617163360118866,
0.03599942848086357,
-0.027819493785500526,
0.010138102807104588,
0.07423676550388336,
0.029729431495070457,
0.04888668283820152
] |
725,622 | zep_python.exceptions | __str__ | null | def __str__(self):
return f"{self.message}: {self.response_data}"
| (self) | [
-0.0362754687666893,
0.002775908913463354,
0.012801521457731724,
-0.013583088293671608,
0.041360143572092056,
-0.05943499505519867,
-0.026573264971375465,
0.029016783460974693,
0.06798730790615082,
-0.031801674515008926,
0.016134409233927727,
-0.025944417342543602,
-0.01305306050926447,
-0.0107981963083148,
0.0376589335501194,
0.022530678659677505,
-0.0023738963063806295,
-0.08969150483608246,
0.03361634537577629,
0.030220575630664825,
0.0034429356455802917,
0.00030010586488060653,
-0.002899432322010398,
0.03205321356654167,
-0.009055391885340214,
0.03340074419975281,
-0.014921633526682854,
-0.03985091298818588,
0.028423869982361794,
0.030993157997727394,
-0.03719178959727287,
-0.08034864068031311,
-0.002816334832459688,
0.03507167845964432,
-0.046067509800195694,
0.05573378503322601,
-0.06399862468242645,
-0.03234068676829338,
-0.10830536484718323,
-0.006926297210156918,
-0.050235867500305176,
0.022656448185443878,
-0.0942910686135292,
-0.017122596502304077,
0.03773080185055733,
-0.014184984378516674,
-0.012055889703333378,
0.08868534862995148,
-0.007635995279997587,
0.004900512285530567,
-0.01753583922982216,
0.04412706941366196,
-0.052607517689466476,
-0.018703697249293327,
-0.02610612101852894,
0.033274974673986435,
0.04078520089387894,
0.007703371811658144,
-0.02032073214650154,
0.0005067269084975123,
-0.06238159164786339,
0.01453534234315157,
0.01242421381175518,
0.005039757117629051,
-0.04455827921628952,
0.004399680998176336,
0.004415402188897133,
0.03945563733577728,
0.0016237719682976604,
0.009194636717438698,
0.06619060784578323,
-0.034352995455265045,
-0.05124201998114586,
0.0323227196931839,
0.030220575630664825,
-0.01931457594037056,
-0.034838106483221054,
-0.0018842942081391811,
0.00793694332242012,
0.007703371811658144,
0.030220575630664825,
-0.02010512724518776,
-0.058500707149505615,
-0.02395007573068142,
-0.007716847117990255,
-0.10298711806535721,
-0.027256011962890625,
-0.033849917352199554,
-0.0792706161737442,
0.04524102807044983,
-0.015739133581519127,
-0.02966359630227089,
-0.04919377714395523,
0.03214304894208908,
-0.06198631599545479,
-0.019835621118545532,
0.013026109896600246,
-0.05127795413136482,
0.04427080601453781,
0.015909820795059204,
0.0016799189615994692,
0.08351083844900131,
-0.02987920120358467,
0.015011468902230263,
-0.00448727048933506,
-0.028046561405062675,
-0.009441684000194073,
-0.0372636578977108,
0.03162200376391411,
-0.004145896527916193,
0.016906991600990295,
-0.0007023992948234081,
-0.015487595461308956,
0.024812493473291397,
0.017526855692267418,
-0.044917620718479156,
-0.017526855692267418,
0.009944761171936989,
0.03834168240427971,
-0.028729310259222984,
0.04276157543063164,
-0.041036736220121384,
-0.05009213089942932,
-0.044019266963005066,
0.0075371768325567245,
0.06302840262651443,
-0.04053366184234619,
-0.05368553847074509,
0.04463014751672745,
-0.07445544749498367,
-0.00848044641315937,
-0.004810677375644445,
-0.01094193197786808,
-0.011157536879181862,
0.02386024035513401,
0.024614855647087097,
0.005484441295266151,
-0.004851102828979492,
0.07869566977024078,
0.12095417082309723,
0.0020235388074070215,
0.026573264971375465,
0.011049734428524971,
-0.00012176886230008677,
0.029645629227161407,
-0.028747277334332466,
0.047756414860486984,
0.04207882657647133,
-0.018757598474621773,
-0.03402958810329437,
0.046858061105012894,
0.00986390933394432,
0.049732789397239685,
-0.010465805418789387,
-0.02098551206290722,
0.018506059423089027,
-0.03349057957530022,
-0.02770518884062767,
0.008911656215786934,
-0.01596372202038765,
-0.014921633526682854,
-0.09601590782403946,
0.03557475656270981,
-0.014670094475150108,
0.05778202787041664,
0.024075845256447792,
0.03812607750296593,
0.002048243535682559,
0.007685404736548662,
0.028172330930829048,
-0.06277686357498169,
-0.023482931777834892,
-0.08056424558162689,
0.017185481265187263,
-0.017311250790953636,
0.02987920120358467,
0.042833443731069565,
0.04301311448216438,
-0.022530678659677505,
-0.039383769035339355,
-0.01222657598555088,
-0.02867540903389454,
-0.023698536679148674,
0.04955311864614487,
0.07481478899717331,
-0.04700179770588875,
0.019206775352358818,
0.02563897706568241,
-0.00539460638538003,
0.027327880263328552,
-0.010340035893023014,
-0.016520701348781586,
-0.013951413333415985,
0.004078519996255636,
-0.027974693104624748,
-0.005250869784504175,
0.020266830921173096,
-0.0908413976430893,
0.06705302000045776,
-0.05760235711932182,
-0.05914752185344696,
0.03253832459449768,
-0.03629343584179878,
0.012019955553114414,
0.014283803291618824,
0.04340839013457298,
0.02770518884062767,
0.027741122990846634,
-0.00008036042709136382,
-0.054655760526657104,
-0.026878703385591507,
0.03665277734398842,
-0.008619691245257854,
0.0017753689317032695,
0.03783860430121422,
-0.04542069882154465,
-0.0010785843478515744,
-0.02170419506728649,
-0.0031622005626559258,
0.007950418628752232,
0.04578004032373428,
-0.03419129177927971,
-0.016134409233927727,
-0.020751940086483955,
-0.06805917620658875,
0.04940938204526901,
0.022494744509458542,
-0.01960204914212227,
-0.0408211350440979,
-0.027938758954405785,
-0.031604036688804626,
0.002270585624501109,
0.01931457594037056,
0.0471455343067646,
-0.02032073214650154,
0.0321250818669796,
-0.029340188950300217,
-0.027076341211795807,
-0.0412164069712162,
-0.005798864644020796,
0.0348920077085495,
-0.04110860452055931,
0.009513552300632,
0.043803662061691284,
0.03931190073490143,
-0.05400894582271576,
0.02041056752204895,
0.06557972729206085,
-0.018101800233125687,
-0.012100807391107082,
0.006180664524435997,
-0.02129095233976841,
-0.046283114701509476,
-0.02544134110212326,
0.03539508581161499,
-0.08645743876695633,
0.016898008063435555,
0.017095645889639854,
0.05099048092961311,
0.016511717811226845,
-0.023806339129805565,
0.0006120025645941496,
-0.04286937788128853,
0.02186589688062668,
-0.00962135475128889,
-0.013394434005022049,
-0.06683742254972458,
0.005044248886406422,
0.03225085139274597,
0.05178103223443031,
0.15494781732559204,
0.0024974197149276733,
-0.01763465814292431,
0.006553480867296457,
-0.03992278128862381,
-0.03570052608847618,
0.009648304432630539,
0.008417561650276184,
-0.05824917182326317,
-0.046786192804574966,
-0.027669254690408707,
-0.05113421753048897,
0.028352001681923866,
0.01533487532287836,
0.03816201165318489,
-0.02355480007827282,
0.03697618469595909,
0.035448987036943436,
0.026878703385591507,
-0.01635001413524151,
0.03629343584179878,
0.007501242682337761,
-0.02761535346508026,
0.014777896925807,
0.002879219362512231,
0.014499408192932606,
0.02445315197110176,
0.02847777120769024,
0.003492344869300723,
-0.01078921277076006,
-0.00866910070180893,
0.013645973056554794,
0.06813104450702667,
-0.03074161894619465,
-0.019655950367450714,
-0.029501892626285553,
0.0029960053507238626,
0.03131656348705292,
-0.010519706644117832,
-0.027723155915737152,
0.01686207391321659,
0.038413550704717636,
-0.003871898865327239,
0.05224817618727684,
0.0017686312785372138,
0.1034901961684227,
0.016987843438982964,
0.0014351180288940668,
-0.008956573903560638,
0.07869566977024078,
-0.009468634612858295,
-0.037407394498586655,
0.018164684996008873,
0.037119921296834946,
0.04948125034570694,
-0.011148553341627121,
-0.007442849688231945,
0.02729194611310959,
0.022045567631721497,
0.02236897498369217,
0.014813831076025963,
-0.07423984259366989,
-0.02091364376246929,
-0.04258190467953682,
0.0006799404509365559,
0.002068456495180726,
0.021452656015753746,
-0.01972781866788864,
0.0008085171575658023,
-0.010133415460586548,
0.011094652116298676,
-0.020769907161593437,
0.006966723129153252,
0.034945908933877945,
-0.03566459193825722,
0.009522535838186741,
-0.03776673600077629,
0.009540502913296223,
0.0017495412612333894,
0.016619520261883736,
-0.038413550704717636,
-0.03054398111999035,
0.057027410715818405,
0.026070186868309975,
0.016520701348781586,
-0.04265377297997475,
-0.05124201998114586,
0.030526014044880867,
-0.001114518498070538,
0.056739937514066696,
0.016287129372358322,
-0.023698536679148674,
0.00014429785369429737,
0.029214419424533844,
-0.0400305837392807,
0.011418059468269348,
0.0017282054759562016,
0.0031622005626559258,
0.06238159164786339,
-0.020967544987797737,
-0.020356666296720505,
-0.01316086295992136,
-0.031226729974150658,
0.007635995279997587,
-0.022656448185443878,
0.07050269842147827,
-0.0030499063432216644,
0.00492746289819479,
-0.07068236917257309,
-0.010753278620541096,
0.05519477277994156,
-0.030328378081321716,
-0.027273979038000107,
0.04078520089387894,
0.018506059423089027,
0.03250239044427872,
-0.0007720215944573283,
-0.0048016938380897045,
0.0020201699808239937,
0.034065522253513336,
-0.0072856382466852665,
-0.06435796618461609,
-0.0030049888882786036,
0.0013744791503995657,
-0.06130356714129448,
-0.07388050109148026,
0.00030319392681121826,
0.01350223645567894,
-0.03649107366800308,
-0.015352842397987843,
0.04308498278260231,
0.0016181572573259473,
-0.009558469988405704,
-0.0076988800428807735,
-0.000053515133913606405,
0.027543485164642334,
-0.00017293283599428833,
0.044306740164756775,
-0.0037932931445538998,
0.022153370082378387,
0.04998432844877243,
-0.04721740260720253,
-0.029052717611193657,
-0.0646454393863678,
0.03399365395307541,
0.03419129177927971,
-0.056129056960344315,
0.03181964159011841,
-0.008116614073514938,
0.011175503954291344,
-0.01775144413113594,
0.054152682423591614,
0.05659620091319084,
0.03309530392289162,
-0.030975190922617912,
0.024273481220006943,
-0.009917810559272766,
0.020087160170078278,
0.09853129088878632,
-0.005628177896142006,
-0.01736515201628208,
-0.017320234328508377,
-0.053757406771183014,
-0.021057380363345146,
0.037694867700338364,
-0.03870102018117905,
-0.018362322822213173,
-0.02179402858018875,
-0.05336213484406471,
0.048151690512895584,
0.0038382105994969606,
-0.030579915270209312,
0.0239680428057909,
0.01542471069842577,
0.0186318289488554,
-0.034065522253513336,
-0.07154478877782822,
-0.048834435641765594,
0.016969876363873482,
-0.010897014290094376,
0.02581864781677723,
0.0021324639674276114,
-0.03137046471238136,
-0.009720172733068466,
0.017886197194457054,
-0.030975190922617912,
0.014122099615633488,
-0.044019266963005066,
-0.0033912803046405315,
-0.026878703385591507,
-0.05095454677939415,
0.025369472801685333,
-0.05868037790060043,
0.046570587903261185,
0.02849573828279972,
0.004597318358719349,
0.01405023131519556,
0.04118047282099724,
-0.05853664129972458,
-0.006104304455220699,
-0.02691463753581047,
-0.011768416501581669,
-0.053182464092969894,
-0.0038382105994969606,
-0.007887533865869045,
0.065435990691185,
-0.009585420601069927,
-0.008305268362164497,
-0.011193471029400826,
0.00832323543727398,
-0.03776673600077629,
-0.04466608166694641,
-0.015487595461308956,
0.0023626668844372034,
0.006279483437538147,
-0.029016783460974693,
0.06615467369556427,
0.028855079784989357,
0.001074092579074204,
0.005255361553281546,
0.049337513744831085,
0.03521541506052017,
-0.05106234923005104,
-0.04919377714395523,
-0.034155357629060745,
0.028352001681923866,
-0.03945563733577728,
-0.041647616773843765,
-0.05954279750585556,
-0.014256852678954601,
0.015011468902230263,
-0.04186322167515755,
0.005753946956247091,
0.0028859570156782866,
0.03185557574033737,
-0.028944915160536766,
0.06529225409030914,
0.03677854686975479,
0.023590734228491783,
-0.0071374098770320415,
-0.006297450512647629,
0.017877213656902313,
-0.021722162142395973,
-0.016996826976537704,
-0.010034596547484398,
0.004231239669024944,
-0.008417561650276184,
-0.005735980346798897,
-0.014759929850697517,
0.013196797110140324,
0.022117435932159424,
0.029214419424533844,
-0.013771742582321167,
0.0010246832389384508,
-0.00315546290948987,
0.033077336847782135,
-0.01158874575048685,
0.018559960648417473,
-0.03244848921895027,
0.07970182597637177,
-0.0038741447497159243,
0.0114899268373847,
0.03419129177927971,
0.03974311053752899,
-0.0025939925108104944,
0.07291027903556824,
-0.10399327427148819,
-0.005210443865507841,
-0.0376589335501194,
0.03093925677239895,
-0.0032363145146518946,
-0.0038966035936027765,
-0.054943233728408813,
-0.05048740655183792,
-0.05799763277173042,
-0.05433235317468643,
0.004446844570338726,
0.03816201165318489,
0.014957567676901817,
-0.0208058413118124,
-0.007105967495590448,
-0.03314920514822006,
0.01833537220954895,
-0.02495623007416725,
-0.056129056960344315,
0.03906036168336868,
-0.016700372099876404,
0.041432011872529984,
0.039563439786434174,
-0.006544497329741716,
-0.020051226019859314,
-0.006319909356534481,
0.03559272363781929,
0.014301770366728306,
-0.00823789183050394,
0.07003555446863174,
0.018955236300826073,
0.03645513951778412,
-0.05875224620103836,
-0.023680569604039192,
-0.013969379477202892,
-0.0160625409334898,
-0.00794143509119749,
0.05027180165052414,
0.012945258058607578,
0.031100960448384285,
0.06849038600921631,
0.012046906165778637,
0.03262815997004509,
0.07423984259366989,
-0.014184984378516674,
0.012046906165778637,
0.019979357719421387,
-0.05084674805402756,
-0.065435990691185,
-0.006180664524435997,
-0.006917313672602177,
-0.019853588193655014,
0.04689399525523186,
0.002805105410516262,
-0.04150388017296791,
-0.037515196949243546,
-0.016898008063435555,
0.005632669664919376,
0.07804885506629944,
0.002802859526127577,
0.003337379079312086,
-0.02227913960814476,
-0.02669903263449669,
0.0055248672142624855,
0.044917620718479156,
0.05490729957818985,
-0.019027104601264,
0.022548645734786987,
0.06133950129151344,
0.00793245155364275,
0.0006114410934969783,
0.05458389222621918,
-0.059794336557388306,
0.025944417342543602,
-0.018389273434877396,
-0.029843267053365707,
-0.02289002016186714,
-0.027040407061576843,
-0.01565828174352646,
-0.01733820140361786,
0.03381398320198059,
0.021524524316191673,
-0.03275392949581146,
0.013340533711016178,
0.06784357130527496,
-0.006661283317953348,
-0.05638059601187706,
0.09041018784046173,
-0.014158033765852451,
0.021272985264658928,
0.04258190467953682,
-0.034047555178403854,
-0.043803662061691284,
-0.05842883884906769,
-0.009270996786653996,
0.09041018784046173,
-0.011364158242940903,
-0.05548224598169327,
-0.012936274521052837,
0.019979357719421387,
0.008588248863816261,
0.01508333720266819,
0.009351848624646664,
-0.019368477165699005,
0.04463014751672745,
-0.013133912347257137,
-0.07503039389848709,
-0.03151420131325722,
-0.06270499527454376,
0.06119576469063759,
-0.04376772791147232,
-0.09421920031309128,
0.009005982428789139,
-0.060584887862205505,
-0.03036431223154068,
0.0443786084651947,
-0.005179001484066248,
0.04423487186431885,
0.005578768439590931,
0.028926948085427284,
0.007092492189258337,
0.04631904885172844,
-0.015802018344402313,
0.02493826299905777,
-0.001703500747680664,
-0.03708398714661598,
0.028172330930829048,
-0.06065675616264343,
0.005758438725024462,
0.04150388017296791,
0.003182413289323449,
-0.0400305837392807,
0.04265377297997475,
-0.0435880571603775,
0.0060414201579988,
0.053182464092969894,
0.012567950412631035,
0.00685442890971899,
0.005017298273742199,
0.023285293951630592,
0.005452998913824558,
0.002908415859565139,
0.021362820640206337,
-0.017221415415406227,
0.03541305288672447,
0.011570778675377369,
-0.021255018189549446,
-0.008597232401371002,
0.027148209512233734,
0.04851102828979492,
-0.0032744945492595434,
0.0160625409334898,
-0.013457318767905235,
-0.04035399109125137,
-0.05264345183968544,
-0.08710424602031708,
-0.06083642318844795,
0.006270499899983406,
0.03837761655449867,
0.008413069881498814,
-0.013322566635906696,
-0.06230972334742546,
0.006638824474066496,
0.0026523855049163103,
0.017697542905807495,
0.0063244011253118515,
0.008098646998405457,
-0.03999464958906174,
0.006423219572752714,
-0.01647578366100788,
0.02109331451356411,
-0.03501777723431587,
0.0029241370502859354,
-0.048439159989356995,
0.056236859411001205,
0.05932719260454178,
-0.006369318347424269,
-0.01617034338414669,
0.0044311233796179295,
-0.010519706644117832,
0.0066972170025110245,
0.03027447685599327,
0.01924270950257778,
0.03016667440533638,
-0.04930157959461212,
0.031029092147946358,
0.00962135475128889,
0.022943921387195587,
0.03372414782643318,
0.029519859701395035,
-0.01316086295992136,
-0.04710960015654564,
-0.01776042766869068,
-0.01488569937646389,
0.023734470829367638,
0.01607152447104454,
-0.05048740655183792,
0.0037124413065612316,
0.034550633281469345,
-0.0229798536747694,
0.005488933064043522,
0.02445315197110176,
0.07208379358053207,
0.06849038600921631,
0.03411942347884178,
-0.00965728797018528,
0.030705684795975685,
0.001551903784275055,
-0.019440345466136932,
0.008085171692073345,
0.04890630394220352,
0.015469628386199474,
-0.05724301561713219,
0.02880117855966091,
0.04840322956442833,
-0.015451661311089993,
-0.03591613098978996,
0.045887842774391174,
-0.009944761171936989,
-0.026339692994952202,
-0.021255018189549446,
0.032789863646030426,
0.019943423569202423,
0.029825299978256226,
-0.025405406951904297,
0.022548645734786987,
0.012244543060660362,
0.01664647087454796,
-0.03345464542508125,
0.09105700254440308,
0.003883128287270665,
0.04251003637909889
] |
725,623 | zep_python.memory.models | Memory |
Represents a memory object with messages, metadata, and other attributes.
Attributes
----------
messages : Optional[List[Dict[str, Any]]]
A list of message objects, where each message contains a role and content.
metadata : Optional[Dict[str, Any]]
A dictionary containing metadata associated with the memory.
summary : Optional[Summary]
A Summary object.
uuid : Optional[str]
A unique identifier for the memory.
created_at : Optional[str]
The timestamp when the memory was created.
token_count : Optional[int]
The token count of the memory.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the message.
| class Memory(BaseModel):
"""
Represents a memory object with messages, metadata, and other attributes.
Attributes
----------
messages : Optional[List[Dict[str, Any]]]
A list of message objects, where each message contains a role and content.
metadata : Optional[Dict[str, Any]]
A dictionary containing metadata associated with the memory.
summary : Optional[Summary]
A Summary object.
uuid : Optional[str]
A unique identifier for the memory.
created_at : Optional[str]
The timestamp when the memory was created.
token_count : Optional[int]
The token count of the memory.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the message.
"""
messages: List[Message] = Field(
default=[], description="A List of Messages or empty List is required"
)
metadata: Optional[Dict[str, Any]] = Field(optional=True, default=None)
summary: Optional[Summary] = Field(optional=True, default=None)
uuid: Optional[str] = Field(optional=True, default=None)
created_at: Optional[str] = Field(optional=True, default=None)
token_count: Optional[int] = Field(optional=True, default=None)
def to_dict(self) -> Dict[str, Any]:
return self.dict()
| (*, messages: List[zep_python.message.models.Message] = [], metadata: Optional[Dict[str, Any]] = None, summary: Optional[zep_python.memory.models.Summary] = None, uuid: Optional[str] = None, created_at: Optional[str] = None, token_count: Optional[int] = None) -> None | [
0.02053665928542614,
-0.0026137970853596926,
-0.03840390965342522,
-0.009111586026847363,
0.053032275289297104,
-0.05947445333003998,
-0.01751132868230343,
0.003290047636255622,
-0.008622193709015846,
-0.057979583740234375,
0.0036949082277715206,
0.023384030908346176,
0.0013558377977460623,
0.04029029235243797,
0.02295692451298237,
0.05139503628015518,
0.00379946012981236,
-0.05644911900162697,
0.030306700617074966,
-0.018935013562440872,
0.01577621139585972,
-0.011896669864654541,
0.03041347675025463,
0.01671050488948822,
-0.021746791899204254,
0.004947306122630835,
0.0011945609003305435,
-0.015286820009350777,
0.01847231574356556,
0.03822594881057739,
-0.013044516555964947,
-0.050398457795381546,
0.041998714208602905,
0.05769484490156174,
-0.01443260908126831,
-0.036909040063619614,
-0.022494226694107056,
0.023953504860401154,
-0.14991405606269836,
-0.029559265822172165,
0.025074657052755356,
0.0136228883638978,
-0.003881766926497221,
-0.002862942172214389,
0.015002083033323288,
-0.01907738298177719,
0.03231765702366829,
0.04114450514316559,
-0.005485637113451958,
-0.003910685423761606,
0.01605205051600933,
0.008871338330209255,
-0.014219056814908981,
0.05680504068732262,
-0.003301170188933611,
-0.04755108803510666,
-0.011852179653942585,
0.03797680512070656,
-0.0007502153748646379,
0.04167838767170906,
-0.036766670644283295,
0.02002057433128357,
0.02708561159670353,
-0.04808497056365013,
0.017377858981490135,
-0.006976057775318623,
-0.030271107330918312,
-0.010295024141669273,
0.049579840153455734,
0.017564717680215836,
0.0040708500891923904,
-0.05954563617706299,
0.038083579391241074,
0.09446151554584503,
0.04189193993806839,
-0.022031528875231743,
-0.03085837885737419,
0.043315622955560684,
0.024131465703248978,
-0.0368378572165966,
0.020892580971121788,
-0.003846174804493785,
-0.053637340664863586,
-0.005730333272367716,
0.008404191583395004,
0.0083686001598835,
0.06602340191602707,
0.02295692451298237,
-0.02931012026965618,
-0.03673107922077179,
-0.04306647926568985,
0.06235741451382637,
-0.03851068764925003,
0.05107470974326134,
-0.007932595908641815,
-0.05057641863822937,
-0.05139503628015518,
0.017244387418031693,
-0.03489808365702629,
0.0382971316576004,
-0.04755108803510666,
0.04036147519946098,
-0.05121707543730736,
0.02076800912618637,
-0.0397564098238945,
-0.018668072298169136,
-0.011229317635297775,
-0.02290353737771511,
0.02820676378905773,
0.010624251328408718,
-0.07944163680076599,
0.025875478982925415,
-0.05951004475355148,
0.004021910950541496,
0.010188248008489609,
-0.0036548669449985027,
0.003806133521720767,
-0.0053477175533771515,
-0.010686537250876427,
-0.035289596766233444,
0.02046547643840313,
-0.02105274610221386,
-0.019718041643500328,
-0.005472290329635143,
-0.01148736011236906,
0.05933208391070366,
0.03423963114619255,
-0.07154018431901932,
0.01966465264558792,
-0.01678168959915638,
-0.07331979274749756,
-0.018739257007837296,
0.026925448328256607,
0.03342100977897644,
0.033456604927778244,
-0.017876148223876953,
0.04306647926568985,
-0.03144564852118492,
-0.013142394833266735,
0.05235602706670761,
0.012288182973861694,
0.06435057520866394,
0.04527319222688675,
-0.05406444892287254,
-0.03100074641406536,
-0.04228345304727554,
-0.016550341621041298,
-0.022512022405862808,
-0.04680365324020386,
-0.05822872743010521,
-0.01133609376847744,
-0.029025383293628693,
0.021479850634932518,
0.0073319789953529835,
-0.0011656422866508365,
0.08264493197202682,
-0.025448374450206757,
-0.028811831027269363,
0.0029519223608076572,
-0.0390089750289917,
-0.038617461919784546,
0.019486691802740097,
-0.01616772636771202,
-0.04203430563211441,
-0.004251035396009684,
0.007852514274418354,
0.030804989859461784,
-0.08577703684568405,
-0.037798844277858734,
0.037798844277858734,
-0.05712537094950676,
-0.04915273189544678,
0.011042458936572075,
0.022583207115530968,
-0.04466812312602997,
0.020572252571582794,
-0.007808023598045111,
0.033456604927778244,
-0.014477099291980267,
-0.0036882346030324697,
0.047301944345235825,
-0.03665989637374878,
-0.03543196618556976,
0.01516224816441536,
0.01118482742458582,
0.0034680082462728024,
-0.0025982256047427654,
0.038617461919784546,
0.07089952379465103,
0.010811110027134418,
0.03472012281417847,
0.027334757149219513,
0.047301944345235825,
-0.03584127500653267,
-0.043173257261514664,
-0.004081972409039736,
-0.016327889636158943,
-0.02922113984823227,
-0.012661900371313095,
0.04011233150959015,
-0.03181936591863632,
-0.014930899254977703,
0.0025448373053222895,
-0.009707753546535969,
-0.031694792211055756,
-0.012564022094011307,
-0.030538048595190048,
0.020447678864002228,
-0.05769484490156174,
-0.031463444232940674,
-0.020269718021154404,
0.010846702381968498,
0.020287515595555305,
0.03370574861764908,
0.08136361092329025,
-0.08784137666225433,
0.041998714208602905,
0.010286126285791397,
-0.0020376495085656643,
-0.026516137644648552,
0.1597374826669693,
-0.01964685693383217,
-0.06741149723529816,
-0.036695487797260284,
-0.06463531404733658,
0.019984981045126915,
-0.0228145569562912,
-0.02480771578848362,
0.00037093673017807305,
-0.010161553509533405,
0.02407807670533657,
-0.002181130228564143,
-0.056128792464733124,
0.048049379140138626,
0.03797680512070656,
0.009974694810807705,
-0.03543196618556976,
-0.018970606848597527,
-0.002284569898620248,
-0.004311096854507923,
0.00945860892534256,
0.00756332790479064,
0.021924752742052078,
0.03584127500653267,
0.058940570801496506,
-0.04114450514316559,
0.01538469921797514,
-0.02450518310070038,
-0.017760474234819412,
-0.019629061222076416,
-0.023099293932318687,
-0.024718735367059708,
0.009876816533505917,
0.0095742829144001,
0.035342987626791,
-0.06043544039130211,
-0.0434224009513855,
-0.059082936495542526,
0.03502265736460686,
-0.02509245276451111,
0.01778716780245304,
-0.05559490993618965,
-0.002228957135230303,
0.06545393168926239,
0.04747990146279335,
0.00839084479957819,
-0.0405038446187973,
0.02553735487163067,
-0.009956899099051952,
0.016212215647101402,
0.07816032320261002,
0.0017106467857956886,
-0.002331284573301673,
-0.0426749661564827,
-0.028366928920149803,
-0.06153879687190056,
0.015660537406802177,
-0.009431914426386356,
-0.04772904887795448,
-0.011033561080694199,
-0.06153879687190056,
-0.057979583740234375,
0.0338481180369854,
-0.03925812244415283,
0.06484886258840561,
-0.002234518527984619,
-0.025661926716566086,
0.002074353862553835,
-0.03048466145992279,
-0.007323081139475107,
0.03996996209025383,
0.0017885046545416117,
-0.0382971316576004,
-0.020216330885887146,
-0.03100074641406536,
-0.030075350776314735,
-0.11033561080694199,
0.10577981173992157,
0.03712259232997894,
-0.045095231384038925,
-0.01512665580958128,
0.06346076726913452,
0.12307759374380112,
0.0132491709664464,
-0.03865305334329605,
0.028224559500813484,
0.011451768688857555,
0.014779632911086082,
0.018454520031809807,
0.0017662595491856337,
0.0246653463691473,
0.03210410103201866,
0.04093095287680626,
0.09930204600095749,
0.0006228623096831143,
0.05822872743010521,
-0.01920195482671261,
0.027637289837002754,
0.02738814428448677,
0.07517058402299881,
0.017902841791510582,
0.002353529678657651,
0.03539637476205826,
-0.005423351190984249,
0.023900115862488747,
-0.06719794124364853,
-0.02201373316347599,
-0.028099987655878067,
0.03415064886212349,
0.020945969969034195,
-0.026409361511468887,
-0.02628478966653347,
0.014049993827939034,
0.022494226694107056,
-0.034328609704971313,
0.0031854957342147827,
-0.029416896402835846,
-0.03621499240398407,
-0.0016027581878006458,
-0.00989461224526167,
0.02459416352212429,
-0.05748129263520241,
-0.006704667583107948,
-0.009440813213586807,
-0.00397742073982954,
-0.04769345745444298,
0.037442922592163086,
-0.029096568003296852,
-0.001414787257090211,
-0.010286126285791397,
-0.0114072784781456,
0.03233545273542404,
0.056662674993276596,
0.04338680952787399,
0.01640797220170498,
-0.08812611550092697,
-0.016203317791223526,
-0.02717459201812744,
-0.0478714182972908,
-0.0008519866387359798,
-0.031463444232940674,
0.05705418810248375,
-0.012225897051393986,
-0.015206738375127316,
-0.033527787774801254,
0.0009326250874437392,
-0.004544670227915049,
-0.0005552928778342903,
0.045308783650398254,
-0.016870670020580292,
-0.019629061222076416,
-0.01045518834143877,
-0.07114867120981216,
0.0397564098238945,
0.021106133237481117,
0.014646162278950214,
-0.06520478427410126,
0.06723353266716003,
-0.0758112370967865,
0.031997326761484146,
0.002511469880118966,
0.002221171511337161,
0.007007200736552477,
0.024487385526299477,
0.023010313510894775,
0.007727941498160362,
0.015660537406802177,
-0.015687232837080956,
-0.03815476596355438,
0.008653337135910988,
-0.0382971316576004,
-0.007145120296627283,
-0.0780179500579834,
0.024843307211995125,
-0.0404682531952858,
-0.004101993050426245,
-0.0029319017194211483,
0.023971300572156906,
-0.016737200319767,
-0.04890358820557594,
0.026089033111929893,
-0.06096932291984558,
0.0012501736637204885,
0.027655085548758507,
-0.046483322978019714,
-0.015411392785608768,
0.021088337525725365,
-0.00854211114346981,
0.004293300677090883,
0.062464188784360886,
0.06417261064052582,
-0.0338837094604969,
0.013800849206745625,
-0.00971665233373642,
0.045166414231061935,
-0.04338680952787399,
0.055844053626060486,
-0.026622913777828217,
0.017279980704188347,
0.03160581365227699,
0.02370435930788517,
0.04844089224934578,
0.0449172705411911,
-0.030573640018701553,
-0.016692709177732468,
-0.024131465703248978,
-0.027477124705910683,
0.010036980733275414,
0.011264909990131855,
0.007705696392804384,
0.01966465264558792,
-0.005067429505288601,
0.004257708787918091,
-0.044205427169799805,
0.029701633378863335,
-0.020999357104301453,
0.04235463589429855,
-0.08606177568435669,
-0.00952979363501072,
0.06577426195144653,
0.04993576183915138,
-0.001702861045487225,
0.056199975311756134,
0.029114363715052605,
-0.007305284962058067,
-0.004526874050498009,
-0.058050766587257385,
0.0320151224732399,
0.0522492490708828,
0.033154070377349854,
0.03224647045135498,
-0.01317798625677824,
0.052747540175914764,
-0.009734448045492172,
-0.006962710525840521,
-0.0655607059597969,
0.030502457171678543,
-0.034346405416727066,
0.021301889792084694,
-0.007634512148797512,
0.01067763939499855,
0.0040063392370939255,
-0.04797819256782532,
0.00039818696677684784,
-0.035289596766233444,
0.027299165725708008,
-0.0239179115742445,
0.014735142700374126,
-0.024416202679276466,
0.028313539922237396,
0.047586679458618164,
0.027334757149219513,
-0.02827794849872589,
-0.053708527237176895,
-0.01557155791670084,
0.012670799158513546,
0.050754379481077194,
-0.03472012281417847,
-0.0507899709045887,
-0.06445734947919846,
0.05111030116677284,
-0.04150042682886124,
0.013311456888914108,
-0.010793314315378666,
-0.010624251328408718,
0.0342574268579483,
0.05011372268199921,
-0.017609206959605217,
0.05096793174743652,
0.01582070253789425,
-0.07136222720146179,
0.029986370354890823,
-0.012928841635584831,
-0.01538469921797514,
0.003283374011516571,
0.02260100282728672,
-0.028651665896177292,
0.05609319731593132,
-0.01994938962161541,
-0.04477490112185478,
0.0040063392370939255,
-0.025448374450206757,
-0.0016461360501125455,
-0.041108909994363785,
-0.046198587864637375,
0.013889829628169537,
-0.029861798509955406,
-0.013569500297307968,
0.038332726806402206,
-0.002900758758187294,
-0.01769818738102913,
0.010152655653655529,
0.001994271529838443,
-0.011167030781507492,
-0.04755108803510666,
0.025128044188022614,
-0.03178377449512482,
0.005467841401696205,
-0.02708561159670353,
-0.03281594440340996,
-0.012047936208546162,
0.05854905769228935,
0.008760113269090652,
-0.009850122034549713,
-0.033687952905893326,
0.011674218811094761,
-0.06584544479846954,
-0.04836970567703247,
0.04349358379840851,
0.03208630532026291,
0.0456291139125824,
0.005801517516374588,
0.014485997147858143,
0.003988543059676886,
-0.016737200319767,
-0.016550341621041298,
0.03722937032580376,
0.009841224178671837,
-0.007247447967529297,
-0.014619467779994011,
0.012047936208546162,
0.00576147623360157,
-0.056662674993276596,
-0.016318991780281067,
-0.020803600549697876,
0.017191000282764435,
0.009102687239646912,
0.030644824728369713,
-0.017920637503266335,
-0.005018490366637707,
-0.06153879687190056,
0.007883656769990921,
0.007705696392804384,
-0.015251228585839272,
0.016247807070612907,
0.03391930088400841,
0.013676276430487633,
-0.044347796589136124,
0.08193308860063553,
0.0036504180170595646,
0.028455909341573715,
0.024095872417092323,
0.02121291123330593,
0.027494922280311584,
0.015108860097825527,
0.05242720991373062,
-0.029114363715052605,
0.005138613749295473,
-0.03811917454004288,
0.044134244322776794,
0.008920278400182724,
-0.030502457171678543,
0.04292410984635353,
0.035663314163684845,
0.05748129263520241,
-0.0004935627803206444,
-0.023615378886461258,
0.052391618490219116,
0.02422044612467289,
-0.01966465264558792,
0.01870366558432579,
0.05196451023221016,
0.02811778336763382,
-0.08264493197202682,
0.012421653605997562,
-0.004522425122559071,
-0.03406167030334473,
0.022138305008411407,
0.055844053626060486,
-0.006824791431427002,
0.010570863261818886,
0.03498706594109535,
-0.018196476623415947,
0.018739257007837296,
0.03940048813819885,
0.0180452112108469,
-0.008404191583395004,
-0.026516137644648552,
-0.03557433560490608,
0.015135553665459156,
-0.007336427923291922,
0.03843950107693672,
-0.002145538106560707,
-0.044347796589136124,
0.04249700531363487,
-0.002061006845906377,
-0.03593025729060173,
0.03722937032580376,
-0.00649556377902627,
0.010989070869982243,
-0.044134244322776794,
-0.012608512304723263,
-0.036037031561136246,
0.03443538770079613,
0.020572252571582794,
-0.06783860176801682,
-0.051501814275979996,
0.04676806181669235,
0.015037675388157368,
-0.03539637476205826,
0.04011233150959015,
0.008479825221002102,
0.00949420128017664,
0.002333509037271142,
-0.01647915691137314,
0.04872562736272812,
-0.020447678864002228,
-0.0485832579433918,
-0.02769067883491516,
-0.019023993983864784,
0.017680391669273376,
0.016043152660131454,
0.04801378399133682,
0.008506519719958305,
-0.008515417575836182,
-0.048690035939216614,
-0.00799043383449316,
-0.01093568280339241,
0.010971274226903915,
0.032566800713539124,
-0.03281594440340996,
-0.02989738993346691,
-0.04228345304727554,
0.003645968856289983,
-0.07310623675584793,
0.0648132711648941,
0.006046213209629059,
-0.033456604927778244,
0.05207128822803497,
0.010624251328408718,
-0.023615378886461258,
0.031410057097673416,
0.008564356714487076,
-0.04808497056365013,
0.04808497056365013,
0.030733805149793625,
-0.06007951870560646,
-0.005125266965478659,
-0.010624251328408718,
-0.008746766485273838,
0.0009404108277522027,
-0.029932983219623566,
-0.037798844277858734,
-0.04527319222688675,
-0.017920637503266335,
0.011202623136341572,
-0.022618800401687622,
0.030965154990553856,
0.014592774212360382,
0.05911853164434433,
0.036179400980472565,
0.025572946295142174,
0.05410004034638405,
-0.03488028794527054,
-0.014041095972061157,
0.033385418355464935,
0.026391565799713135,
0.014512691646814346,
-0.0008225119090639055,
0.0022489777766168118,
0.03630397468805313,
0.004813835956156254,
-0.012288182973861694,
0.07331979274749756,
-0.02774406597018242,
0.06072017550468445,
-0.012047936208546162,
0.04915273189544678,
-0.01751132868230343,
-0.06904873251914978,
0.02863387018442154,
-0.045985035598278046,
0.01966465264558792,
-0.007105079013854265,
-0.06146761029958725,
-0.017840556800365448,
-0.02914995513856411,
-0.0014470425667241216,
0.011247113347053528,
-0.01978922449052334,
-0.009761141613125801,
-0.0070605892688035965,
0.003714928636327386,
-0.022939128801226616,
0.0017951781628653407,
0.011656423099339008,
-0.04776464030146599,
0.029932983219623566,
0.05506102740764618,
-0.011611932888627052,
0.05858464911580086,
0.08421098440885544,
0.05634234473109245,
-0.07089952379465103,
0.025056861340999603,
0.021319687366485596,
0.05854905769228935,
0.08841085433959961,
-0.013569500297307968,
-0.0036637650337070227,
-0.015802906826138496,
0.04602062702178955,
0.04438338801264763,
-0.034933678805828094,
0.01696854829788208,
0.010508576408028603,
0.006041764281690121,
-0.027441533282399178,
-0.000034028023947030306,
-0.04484608396887779,
0.059225305914878845,
0.016488054767251015,
-0.00952979363501072,
0.017288878560066223,
-0.001955342711880803,
-0.02879403345286846,
-0.015847396105527878,
-0.05641352757811546,
0.02731696143746376,
0.06299807131290436,
-0.0006211939034983516,
0.05132385343313217,
0.02445179410278797,
0.06876400113105774,
-0.06819452345371246,
-0.03327864408493042,
0.06000833213329315,
0.018828237429261208,
-0.004853876773267984,
-0.017048630863428116,
0.0441698357462883,
0.010241636075079441,
-0.020429883152246475,
0.0390089750289917,
0.001405889168381691,
-0.0060373153537511826,
0.031321074813604355,
-0.025145841762423515,
0.008813501335680485,
-0.06178794056177139,
-0.03843950107693672,
-0.03936489671468735,
-0.0331362746655941,
0.017351163551211357,
-0.03210410103201866,
0.04961543157696724,
-0.025359394028782845,
0.0320151224732399
] |
725,645 | zep_python.memory.models | to_dict | null | def to_dict(self) -> Dict[str, Any]:
return self.dict()
| (self) -> Dict[str, Any] | [
-0.0007527309353463352,
-0.026187602430582047,
0.019273629412055016,
-0.06267181783914566,
-0.030016306787729263,
-0.0001218976904056035,
-0.017284933477640152,
0.04899256303906441,
0.010937831364572048,
-0.01914352737367153,
0.008888729847967625,
-0.017061900347471237,
0.017136244103312492,
0.03323167562484741,
0.0163277555257082,
-0.027209829539060593,
-0.0005517703830264509,
-0.0012499050935730338,
-0.035220373421907425,
0.01052893977612257,
0.019069183617830276,
-0.05070246756076813,
0.03999696299433708,
0.021541114896535873,
-0.03103853575885296,
0.013985926285386086,
-0.021243739873170853,
-0.027432860806584358,
0.02561143785715103,
0.024273250252008438,
-0.05319298803806305,
-0.04059171304106712,
0.04297071322798729,
0.06780154258012772,
-0.01606755331158638,
0.028269227594137192,
-0.034514106810092926,
0.0025532448198646307,
-0.056129567325115204,
-0.013939461670815945,
-0.042338792234659195,
0.010138635523617268,
-0.07218782603740692,
0.0000792080900282599,
0.044643450528383255,
-0.019422316923737526,
0.02466355450451374,
-0.0014868759317323565,
0.05638976767659187,
-0.01615118980407715,
0.0381011962890625,
-0.02577871084213257,
0.00168899807613343,
0.04497799649834633,
-0.002667083637788892,
-0.05055378004908562,
0.0010611414909362793,
0.008851557970046997,
-0.018409382551908493,
0.04126080870628357,
-0.024644969031214714,
-0.0003763654676731676,
0.0223031397908926,
-0.03730199858546257,
0.025630023330450058,
-0.0015925834886729717,
-0.02841791696846485,
-0.010789143852889538,
-0.0040006255730986595,
0.007387914694845676,
0.015175427310168743,
-0.06783871352672577,
0.01577017828822136,
0.039179179817438126,
0.009673986583948135,
0.00788508914411068,
-0.01810271479189396,
-0.020481714978814125,
-0.00475567951798439,
-0.02877104841172695,
-0.01834433153271675,
0.012805718928575516,
-0.06486496329307556,
0.016048967838287354,
-0.005854574032127857,
0.012870769947767258,
-0.0029017312917858362,
0.006086898501962423,
-0.04598163813352585,
-0.006165888626128435,
-0.018595242872834206,
0.03733917325735092,
-0.03003489412367344,
0.08675920963287354,
0.00955317821353674,
-0.06449324637651443,
-0.009474187158048153,
0.018204936757683754,
0.020574646070599556,
-0.010659041814506054,
-0.0481376089155674,
0.054865721613168716,
-0.030611058697104454,
0.0134841063991189,
-0.015612197108566761,
-0.05579501762986183,
0.003793856827542186,
-0.050516609102487564,
0.006876801140606403,
-0.014431989751756191,
-0.06813608855009079,
0.06140797585248947,
-0.028436502441763878,
0.010203685611486435,
0.031150050461292267,
-0.01709907315671444,
-0.00594285735860467,
-0.012657031416893005,
-0.010844901204109192,
-0.011755612678825855,
-0.045944467186927795,
0.09092245995998383,
0.012341069988906384,
0.054122284054756165,
0.015993209555745125,
0.04285919666290283,
-0.028194883838295937,
-0.016708768904209137,
0.08646183460950851,
0.03193065896630287,
0.02380860038101673,
-0.010194392874836922,
-0.00951135903596878,
-0.017108365893363953,
0.04516385495662689,
-0.008530950173735619,
0.05189197137951851,
0.04215293377637863,
0.039736758917570114,
0.08081170916557312,
0.05854573845863342,
0.01208086684346199,
0.02330677956342697,
-0.00246263830922544,
-0.004346788860857487,
-0.06304354220628738,
0.019979896023869514,
0.040628883987665176,
-0.07006902992725372,
-0.05564633011817932,
0.03663290664553642,
-0.0010199039243161678,
0.045089513063430786,
0.005236591212451458,
-0.04226444661617279,
-0.029217112809419632,
-0.009460248053073883,
-0.039179179817438126,
0.01466431375592947,
-0.04787740483880043,
-0.034123800694942474,
-0.014339059591293335,
0.02330677956342697,
-0.06802457571029663,
-0.00012690717994701117,
0.033008646219968796,
0.06553405523300171,
-0.030164996162056923,
0.028492260724306107,
-0.061742521822452545,
-0.05876877158880234,
-0.01654149405658245,
-0.029904792085289955,
0.01671806164085865,
-0.048955388367176056,
0.04297071322798729,
0.06308071315288544,
0.07962220907211304,
0.009074589237570763,
0.03936503827571869,
0.07880442589521408,
-0.05590653419494629,
-0.06348960101604462,
0.04323091730475426,
0.06661204248666763,
-0.054977238178253174,
0.015277650207281113,
0.06196555495262146,
0.01757301390171051,
0.01436693873256445,
0.0662403255701065,
0.007847917266190052,
-0.0233625378459692,
0.0007312409579753876,
-0.02386435866355896,
-0.04713396728038788,
-0.013391176238656044,
-0.029068423435091972,
-0.06408435106277466,
0.033306021243333817,
0.005120428744703531,
-0.013772188685834408,
-0.014580677263438702,
0.015872400254011154,
-0.03769230470061302,
-0.02471931278705597,
-0.0028529432602226734,
-0.0337892547249794,
0.058174021542072296,
-0.007183469366282225,
0.0036126438062638044,
-0.0524495467543602,
-0.027339931577444077,
-0.04126080870628357,
0.04326808825135231,
-0.07553330063819885,
0.04784023389220238,
-0.00013866860535927117,
0.013753602281212807,
-0.005868513602763414,
0.04137232154607773,
0.0204631295055151,
-0.02161545865237713,
-0.0395137295126915,
-0.020072825253009796,
-0.02702396921813488,
-0.0341423898935318,
-0.03325026109814644,
-0.02596457116305828,
-0.058843113481998444,
0.026689423248171806,
-0.06401000916957855,
-0.02808336913585663,
-0.020240098237991333,
0.055423300713300705,
0.013168144971132278,
-0.02111363783478737,
-0.024849412962794304,
0.023474054411053658,
-0.0269682127982378,
0.10876497626304626,
0.006031140685081482,
0.0018597565358504653,
0.054568346589803696,
-0.01388370431959629,
-0.00788508914411068,
0.057690784335136414,
0.06638900935649872,
0.03062964417040348,
-0.020537473261356354,
0.0740092471241951,
-0.0582483634352684,
-0.002773952903226018,
0.039588071405887604,
0.00008189433719962835,
0.0056454818695783615,
-0.01025015115737915,
0.03438400477170944,
0.013744309544563293,
-0.0194037314504385,
0.057727959007024765,
0.01825140230357647,
-0.033361777663230896,
0.01712695136666298,
0.017507964745163918,
0.010027119889855385,
-0.034774310886859894,
0.04386283829808235,
-0.047654371708631516,
0.019422316923737526,
0.14296312630176544,
-0.0395137295126915,
-0.005027499049901962,
-0.041037775576114655,
-0.021020708605647087,
-0.01197864394634962,
0.01669018156826496,
-0.05337884649634361,
-0.032711271196603775,
0.03676300868391991,
-0.01683886907994747,
-0.06066453829407692,
0.018595242872834206,
-0.0402943380177021,
0.043491121381521225,
0.02758154831826687,
-0.013047336600720882,
0.0330829881131649,
0.03129873797297478,
-0.00040017871651798487,
0.022581927478313446,
-0.027600133791565895,
-0.06887952983379364,
-0.0011285155778750777,
0.013056629337370396,
0.01789826899766922,
-0.06527385115623474,
-0.06735547631978989,
0.06657487154006958,
0.03771089017391205,
0.03062964417040348,
0.025592852383852005,
0.007699229288846254,
0.07374904304742813,
-0.02395728789269924,
0.04542405903339386,
0.012610566802322865,
0.023790014907717705,
-0.03884463384747505,
-0.012090159580111504,
-0.04200424626469612,
0.025053858757019043,
0.041781213134527206,
0.08110908418893814,
-0.058731600642204285,
-0.02431042119860649,
-0.021541114896535873,
-0.013521278277039528,
0.01615118980407715,
0.0776892676949501,
-0.05163176730275154,
0.017461499199271202,
0.015426337718963623,
-0.03533188998699188,
0.0834880843758583,
-0.051520250737667084,
0.03284137323498726,
0.02129949815571308,
0.1049734428524971,
0.037822406738996506,
-0.010547526180744171,
-0.05724472180008888,
0.04468062147498131,
0.03479289636015892,
-0.03358481079339981,
0.02752579003572464,
0.02321385033428669,
-0.012573394924402237,
-0.03447693586349487,
0.008117413148283958,
-0.021187981590628624,
-0.03217227756977081,
0.021745560690760612,
-0.012842890806496143,
-0.04969882592558861,
-0.020128583535552025,
-0.03269268572330475,
-0.01831645332276821,
0.01351198460906744,
-0.07962220907211304,
-0.01577017828822136,
0.02681952528655529,
0.03899332135915756,
0.07873007655143738,
-0.04308222979307175,
-0.05705886334180832,
0.0007608623127453029,
0.004565173760056496,
-0.035666435956954956,
-0.018149178475141525,
0.029867619276046753,
0.03443976491689682,
-0.0017470791935920715,
-0.0323023796081543,
0.020667575299739838,
0.03181914612650871,
-0.0020003127865493298,
-0.003001630771905184,
0.05204065889120102,
-0.029811862856149673,
0.0012650061398744583,
0.036261186003685,
-0.038324225693941116,
-0.016058260574936867,
0.00995277613401413,
0.04646487161517143,
-0.008359030820429325,
0.040034133940935135,
-0.05404793843626976,
0.025704367086291313,
0.007062660530209541,
-0.011476823128759861,
-0.00624023238196969,
0.04196707159280777,
0.05969806760549545,
-0.026131844148039818,
0.08519799262285233,
-0.04772871732711792,
-0.0006023009191267192,
-0.029718931764364243,
-0.06360112130641937,
-0.005292349029332399,
-0.06211424246430397,
0.06605446338653564,
-0.004832346923649311,
-0.047803059220314026,
-0.003524360479786992,
0.00022448341769631952,
-0.018623121082782745,
0.029793275520205498,
0.02120656706392765,
-0.042933542281389236,
0.035870879888534546,
-0.03417956084012985,
-0.015872400254011154,
-0.04375132545828819,
-0.0015658661723136902,
-0.008981660008430481,
0.025890227407217026,
-0.026484977453947067,
0.008461253717541695,
-0.02496092952787876,
-0.034569866955280304,
-0.02527689002454281,
0.03940221294760704,
0.0567614883184433,
0.018734635785222054,
0.014339059591293335,
-0.00035429466515779495,
0.007638825103640556,
0.009413783438503742,
0.00292031723074615,
0.008591354824602604,
0.023734256625175476,
0.02180131897330284,
0.024440523236989975,
-0.01704331487417221,
0.028064783662557602,
0.020072825253009796,
0.0014229867374524474,
0.005162247456610203,
-0.013121680356562138,
-0.0038658773992210627,
-0.062300100922584534,
0.03806402534246445,
0.03748786076903343,
0.030648229643702507,
-0.04438324645161629,
0.037171896547079086,
0.07947351783514023,
-0.027897508814930916,
0.009711158461868763,
0.002595063066110015,
0.011309550143778324,
0.0560552217066288,
-0.03655856102705002,
-0.061036255210638046,
0.024105975404381752,
0.061593834310770035,
-0.020388785749673843,
0.044643450528383255,
-0.01258268766105175,
0.06471627205610275,
-0.08668486773967743,
-0.00546426884829998,
0.03347329422831535,
-0.009455601684749126,
-0.04081474244594574,
0.023027990013360977,
0.015203306451439857,
0.008479839190840721,
-0.01905059814453125,
-0.023232435807585716,
0.002555568004027009,
-0.018976254388689995,
-0.003075974527746439,
-0.027488619089126587,
0.00868428498506546,
-0.044643450528383255,
0.02877104841172695,
0.05635259672999382,
0.025890227407217026,
-0.016680888831615448,
-0.05482855066657066,
-0.043491121381521225,
0.054865721613168716,
0.014125321060419083,
0.00018832793284673244,
-0.029514487832784653,
-0.016467150300741196,
-0.019626762717962265,
0.003993656020611525,
-0.03258116915822029,
0.0030504188034683466,
-0.007671350613236427,
0.00016872557171154767,
0.026392048224806786,
0.0007533117313869298,
-0.05579501762986183,
0.016206948086619377,
-0.030443783849477768,
0.018530191853642464,
-0.004827700089663267,
0.01777745969593525,
0.05624108016490936,
0.03877028822898865,
0.014924516901373863,
0.03906766325235367,
-0.0377480611205101,
-0.0036358763463795185,
0.018762515857815742,
-0.027395687997341156,
-0.031168635934591293,
0.0639728382229805,
-0.053564704954624176,
-0.011653389781713486,
-0.031800560653209686,
0.0070766001008450985,
-0.011393186636269093,
-0.0021850105840712786,
-0.03074115887284279,
0.032767027616500854,
0.025704367086291313,
-0.03328743577003479,
0.0009565955842845142,
0.024180319160223007,
-0.04185555875301361,
-0.0052133589051663876,
-0.07077529281377792,
-0.03839857131242752,
-0.025444164872169495,
0.06769002974033356,
0.023901529610157013,
0.015528560616075993,
-0.03700462356209755,
0.04516385495662689,
0.0116812689229846,
-0.010370959527790546,
0.030759746208786964,
0.014878052286803722,
0.02126232534646988,
-0.012257433496415615,
-0.0063749803230166435,
0.020370200276374817,
-0.018260695040225983,
-0.002969105262309313,
0.03222803398966789,
0.02180131897330284,
-0.07586784660816193,
0.007415793836116791,
0.03650280460715294,
-0.0008526304154656827,
-0.0024254664313048124,
-0.0014299564063549042,
0.050516609102487564,
0.02752579003572464,
0.008307918906211853,
0.030257925391197205,
-0.04546122997999191,
0.013707137666642666,
-0.029849033802747726,
-0.028956908732652664,
-0.007048720959573984,
-0.029254283756017685,
-0.04323091730475426,
-0.010975003242492676,
0.04445758834481239,
-0.056538455188274384,
0.005329520907253027,
-0.008247515186667442,
0.0030643583741039038,
-0.02306516282260418,
-0.04129797965288162,
-0.0044257789850234985,
-0.055869363248348236,
0.06125928834080696,
0.00621700007468462,
0.09121983498334885,
-0.08378545939922333,
-0.015435630455613136,
0.00725781312212348,
-0.005845280829817057,
0.02932862751185894,
0.011644097045063972,
0.03228379413485527,
0.03568502143025398,
0.0062216464430093765,
0.027841752395033836,
-0.0028111247811466455,
-0.0240688044577837,
0.020184339955449104,
0.04583295062184334,
0.018650999292731285,
0.035313304513692856,
-0.034421179443597794,
0.0035406232345849276,
-0.09069943428039551,
0.0181677658110857,
0.04051736742258072,
-0.01919928565621376,
-0.025945985689759254,
-0.009460248053073883,
0.007996604777872562,
-0.0031967831309884787,
0.04784023389220238,
-0.06705810129642487,
-0.007861856371164322,
-0.000741114723496139,
-0.028492260724306107,
-0.05575784668326378,
-0.00788508914411068,
0.015407751314342022,
-0.017786752432584763,
0.02667083777487278,
0.03962524235248566,
-0.0052133589051663876,
0.014236836694180965,
0.045089513063430786,
-0.0031991065479815006,
-0.016560081392526627,
-0.07077529281377792,
-0.054865721613168716,
-0.014896637760102749,
-0.07207631319761276,
0.02477506920695305,
-0.04077757149934769,
0.0019224841380491853,
-0.04843498393893242,
-0.032413896173238754,
-0.014571383595466614,
0.0654597133398056,
-0.03319450467824936,
0.011142276227474213,
0.046055980026721954,
-0.0025044565554708242,
-0.0366886630654335,
0.0005326035898178816,
0.013892997056245804,
-0.020890606567263603,
-0.06003261357545853,
-0.00429800059646368,
-0.02029585652053356,
0.037394929677248,
-0.04352829232811928,
-0.0157980564981699,
0.04010847955942154,
0.0194037314504385,
-0.003986686002463102,
0.04185555875301361,
0.022581927478313446,
0.04977317154407501,
-0.0009670501458458602,
-0.05969806760549545,
0.008851557970046997,
-0.05289560928940773,
-0.025648608803749084,
0.02442193776369095,
-0.01258268766105175,
0.028009025380015373,
-0.05984675511717796,
-0.0037822406738996506,
-0.012424706481397152,
-0.011439651250839233,
-0.024031631648540497,
-0.0538620799779892,
0.005478208418935537,
-0.048063263297080994,
0.021076466888189316,
-0.04858367145061493,
0.008977013640105724,
-0.06081322580575943,
0.042041417211294174,
-0.09686996787786484,
-0.06374980509281158,
0.06367546319961548,
0.020574646070599556,
-0.08096039295196533,
0.032005004584789276,
0.01792614720761776,
-0.02897549420595169,
0.04943862557411194,
0.05724472180008888,
0.03999696299433708,
0.0018446554895490408,
-0.04925276339054108,
0.013168144971132278,
0.002210566308349371,
0.00017569529882166535,
0.03219086304306984,
-0.02838074415922165,
-0.06386131793260574,
0.05795098841190338,
-0.05207782983779907,
0.07378622144460678,
-0.01970110647380352,
0.014747950248420238,
-0.0366886630654335,
-0.012805718928575516,
0.001163364271633327,
-0.015259063802659512,
0.01931080035865307,
-0.00924650952219963,
-0.048509325832128525,
0.01789826899766922,
0.039885446429252625,
0.00609154487028718,
0.010203685611486435,
-0.048509325832128525,
0.0291241817176342,
0.012099453248083591,
0.00951135903596878,
-0.02817629836499691,
0.05230085924267769,
-0.00869822409003973,
0.052561063319444656,
-0.03977392986416817,
-0.028306400403380394,
0.010370959527790546,
0.03384501487016678,
-0.012675616890192032,
-0.04412304237484932,
0.06676072627305984,
-0.00544103654101491,
-0.006960438098758459,
-0.008753982372581959,
0.021838489919900894,
0.044940825551748276,
0.00292031723074615,
-0.013075214810669422,
0.001209248322993517,
-0.012155210599303246,
0.01751725748181343,
-0.013140265829861164,
0.04222727566957474,
0.012341069988906384,
0.02992337755858898,
-0.00035865072277374566,
-0.027135485783219337,
-0.03895615041255951,
-0.007271752692759037,
-0.023102333769202232,
-0.02726558782160282,
-0.07999392598867416,
-0.006621244363486767,
-0.031057121232151985,
-0.04010847955942154,
0.01627199910581112,
-0.005849927663803101,
-0.0010925052920356393,
0.020779091864824295,
0.01822352223098278,
0.06051585078239441,
-0.010854193940758705,
0.03995979204773903,
0.013242488726973534,
-0.04282202571630478,
0.05568350479006767,
-0.01376289501786232,
0.014478454366326332,
-0.019180700182914734,
-0.002234960440546274,
0.06330373883247375,
-0.017461499199271202,
0.0014020774979144335,
-0.013892997056245804,
-0.008740042336285114,
0.021522529423236847,
0.027358517050743103,
0.03735775873064995,
0.0070766001008450985,
-0.030945604667067528,
-0.021429598331451416,
-0.022284552454948425,
-0.015082498081028461,
-0.027451446279883385,
0.00955317821353674,
0.07947351783514023,
-0.004170222207903862
] |
725,646 | zep_python.memory.models | MemorySearchPayload |
Represents a search payload for querying memory.
Attributes
----------
metadata : Dict[str, Any]
Metadata associated with the search query.
text : str
The text of the search query.
search_scope : Optional[str]
Search over messages or summaries. Defaults to "messages".
Must be one of "messages" or "summary".
search_type : Optional[str]
The type of search to perform. Defaults to "similarity".
Must be one of "similarity" or "mmr".
mmr_lambda : Optional[float]
The lambda parameter for the MMR Reranking Algorithm.
| class MemorySearchPayload(BaseModel):
"""
Represents a search payload for querying memory.
Attributes
----------
metadata : Dict[str, Any]
Metadata associated with the search query.
text : str
The text of the search query.
search_scope : Optional[str]
Search over messages or summaries. Defaults to "messages".
Must be one of "messages" or "summary".
search_type : Optional[str]
The type of search to perform. Defaults to "similarity".
Must be one of "similarity" or "mmr".
mmr_lambda : Optional[float]
The lambda parameter for the MMR Reranking Algorithm.
"""
text: Optional[str] = Field(default=None)
metadata: Optional[Dict[str, Any]] = Field(default=None)
search_scope: Optional[str] = Field(default="messages")
search_type: Optional[str] = Field(default="similarity")
mmr_lambda: Optional[float] = Field(default=None)
| (*, text: Optional[str] = None, metadata: Optional[Dict[str, Any]] = None, search_scope: Optional[str] = 'messages', search_type: Optional[str] = 'similarity', mmr_lambda: Optional[float] = None) -> None | [
0.030369305983185768,
-0.061938561499118805,
-0.053538914769887924,
0.02281668409705162,
0.028604675084352493,
-0.035222042351961136,
-0.05244484543800354,
-0.046198051422834396,
0.031392794102430344,
-0.05223308876156807,
0.012528883293271065,
0.019763872027397156,
0.023257842287421227,
0.04580983147025108,
0.021369686350226402,
0.0388924777507782,
-0.0026337122544646263,
-0.0030131081584841013,
0.06426787376403809,
0.001772351679392159,
-0.009546656161546707,
0.006052685901522636,
0.010340739972889423,
0.05110372602939606,
0.023046085610985756,
0.012502413243055344,
0.0056203510612249374,
-0.03677491843700409,
0.005413006991147995,
0.03273391351103783,
-0.007773201446980238,
-0.07806729525327682,
0.011620097793638706,
0.03051047772169113,
-0.04820973053574562,
-0.05763285979628563,
0.0018418340478092432,
0.01352589949965477,
-0.13220618665218353,
-0.01776101440191269,
-0.031692780554294586,
-0.0056600552052259445,
0.006255618296563625,
-0.0286752600222826,
0.004129237495362759,
-0.0077026160433888435,
0.002715326612815261,
0.021246161311864853,
0.012246541678905487,
0.01600520685315132,
-0.030775170773267746,
0.04542161151766777,
-0.0328221432864666,
0.04888029024004936,
-0.01815805770456791,
-0.01986975036561489,
-0.054209478199481964,
0.056044694036245346,
0.01537876296788454,
0.042986419051885605,
0.008337883278727531,
0.022093184292316437,
0.053750671446323395,
0.0065467823296785355,
-0.00846581906080246,
0.021228516474366188,
-0.01113482378423214,
0.004795385990291834,
0.003824838437139988,
-0.02738707885146141,
-0.015211123041808605,
-0.07722026854753494,
0.01683458313345909,
0.06843240559101105,
0.038398377597332,
-0.02419309690594673,
-0.002243287628516555,
0.015096421353518963,
0.03324565663933754,
-0.032310400158166885,
0.08046719431877136,
-0.008523169904947281,
-0.06151505187153816,
-0.04775092378258705,
0.0004869279800914228,
-0.01514936052262783,
0.04189234972000122,
0.015811096876859665,
0.008889330551028252,
-0.05787990987300873,
-0.04845677688717842,
0.061938561499118805,
-0.038786597549915314,
0.04633922129869461,
0.031639840453863144,
-0.012017140164971352,
-0.0017547053284943104,
-0.005267424508929253,
-0.03585730865597725,
0.048844996839761734,
-0.03492205590009689,
0.06730303913354874,
-0.03529262915253639,
0.013314143754541874,
-0.025569509714841843,
-0.019852103665471077,
-0.02796940691769123,
-0.045986294746398926,
0.02646947093307972,
0.03811603784561157,
-0.015449347905814648,
0.024634255096316338,
-0.04665685445070267,
0.033139776438474655,
-0.001700663473457098,
0.03603377193212509,
0.011734798550605774,
0.013552369549870491,
-0.024087218567728996,
-0.011478926986455917,
0.05565647408366203,
0.006679129786789417,
-0.03861013427376747,
0.022781390696763992,
0.02613419108092785,
0.04309229925274849,
0.060773905366659164,
-0.03645728528499603,
0.02168731950223446,
0.0019455060828477144,
-0.0889374241232872,
-0.00661736773326993,
0.00045797700295224786,
0.018175702542066574,
0.0444687120616436,
0.04965672641992569,
0.08611401170492172,
-0.025869496166706085,
-0.013781771063804626,
0.06680894643068314,
-0.0028035580180585384,
0.053291868418455124,
0.07524388283491135,
-0.07090289145708084,
-0.02052266336977482,
-0.04443341866135597,
-0.014011173509061337,
-0.03345740959048271,
-0.022181415930390358,
-0.03755135461688042,
-0.0048306784592568874,
-0.05893868952989578,
0.003685873933136463,
0.020046211779117584,
0.011487750336527824,
0.0743262767791748,
0.0058629876002669334,
-0.044327542185783386,
-0.012520059943199158,
-0.014134697616100311,
-0.006696776021271944,
-0.034763239324092865,
-0.013737655244767666,
-0.02747531048953533,
-0.017434557899832726,
0.0163493100553751,
0.044574588537216187,
-0.05459769442677498,
-0.06197385489940643,
0.053750671446323395,
-0.026116544380784035,
-0.018475690856575966,
-0.052797771990299225,
-0.020169736817479134,
-0.08145538717508316,
0.0459510013461113,
-0.003385886549949646,
0.03520439565181732,
-0.024210743606090546,
-0.0143376300111413,
0.013093564659357071,
-0.021052053198218346,
-0.036421991884708405,
-0.012961217202246189,
0.036386698484420776,
-0.010093691758811474,
-0.047680340707302094,
0.04640980437397957,
0.030228136107325554,
0.04478634521365166,
0.034675005823373795,
-0.03437501937150955,
0.042527616024017334,
-0.026416532695293427,
-0.08082012087106705,
-0.0374101847410202,
-0.0008459201781079173,
-0.004111591260880232,
-0.029928147792816162,
0.06744421273469925,
-0.03425149619579315,
-0.026698872447013855,
0.022957853972911835,
0.020628541707992554,
-0.08110246062278748,
-0.010446618311107159,
0.019005080685019493,
0.034269142895936966,
-0.05283306539058685,
-0.07069113105535507,
-0.06066802889108658,
0.022781390696763992,
0.01760219782590866,
-0.006657071877270937,
0.07118523120880127,
-0.043904028832912445,
-0.012334773316979408,
0.04101003333926201,
0.02646947093307972,
-0.03112809732556343,
0.12352419644594193,
-0.04139825329184532,
-0.04542161151766777,
-0.0374101847410202,
-0.002766059711575508,
-0.0034101500641554594,
0.015555225312709808,
-0.026204776018857956,
0.0010003254283219576,
-0.0585857629776001,
0.035310275852680206,
-0.006921766791492701,
0.0290458332747221,
0.03441031277179718,
0.03762194141745567,
-0.019587408751249313,
-0.02052266336977482,
0.007627619430422783,
0.03201041370630264,
-0.017319858074188232,
0.04609217122197151,
-0.004453488625586033,
-0.022710805758833885,
0.02913406491279602,
0.023504890501499176,
-0.03772781789302826,
0.055338840931653976,
-0.0063791424036026,
0.026945920661091805,
-0.036633748561143875,
-0.003132220823317766,
-0.03179865702986717,
-0.0020116798114031553,
0.021246161311864853,
0.06246795132756233,
-0.012458297424018383,
-0.008906977251172066,
-0.03677491843700409,
0.04231585934758186,
-0.05223308876156807,
-0.010967183858156204,
-0.03504557907581329,
0.026081252843141556,
0.03469265252351761,
0.0077687897719442844,
0.018722739070653915,
-0.017611021175980568,
0.04090415686368942,
0.02505776658654213,
0.01423175260424614,
0.05120960250496864,
0.018299227580428123,
0.0034608833957463503,
-0.010243684984743595,
-0.019393298774957657,
-0.05435064807534218,
-0.004396137781441212,
0.02306373231112957,
-0.02061089500784874,
-0.017708076164126396,
-0.04958614334464073,
-0.06860886514186859,
0.03659845516085625,
-0.023928401991724968,
0.09578419476747513,
-0.025587154552340508,
-0.013764125294983387,
-0.0015793450875207782,
-0.02572832629084587,
-0.05572706088423729,
0.001581550925038755,
0.0005180847365409136,
-0.01828158088028431,
-0.03352799639105797,
-0.035963188856840134,
-0.013058272190392017,
-0.0444687120616436,
0.02775765210390091,
0.06102095544338226,
-0.005783579312264919,
-0.025251874700188637,
0.029398759827017784,
0.11688918620347977,
-0.012061255984008312,
-0.06335026770830154,
0.05371537804603577,
0.027069445699453354,
0.017169862985610962,
0.009714296087622643,
-0.025322459638118744,
-0.03261038661003113,
0.041821762919425964,
-0.0007516226614825428,
0.0319574736058712,
-0.03412797302007675,
0.047398000955581665,
-0.016446365043520927,
0.04888029024004936,
0.0281811635941267,
0.05572706088423729,
0.0255165696144104,
-0.008483465760946274,
-0.034516189247369766,
-0.0062379720620810986,
0.020328553393483162,
-0.07510270923376083,
-0.022887269034981728,
-0.024122511968016624,
0.021757904440164566,
-0.018069826066493988,
0.034269142895936966,
-0.02385781705379486,
0.05555059760808945,
-0.00529830576851964,
-0.040163010358810425,
-0.017831599339842796,
-0.019728578627109528,
-0.0020679275039583445,
0.016296371817588806,
0.022887269034981728,
0.024546023458242416,
-0.06186797842383385,
0.007790847681462765,
0.026187129318714142,
0.023628413677215576,
-0.06571487337350845,
0.029204649850726128,
-0.05502120777964592,
0.037127844989299774,
-0.048597950488328934,
0.06553840637207031,
-0.012484767474234104,
0.04559807479381561,
0.03287508338689804,
0.06186797842383385,
-0.07005586475133896,
-0.028481150045990944,
-0.007402628660202026,
-0.04069240018725395,
-0.0048395018093287945,
-0.025869496166706085,
0.02069912664592266,
-0.05219779536128044,
0.0077026160433888435,
-0.01606696844100952,
0.006608544383198023,
-0.010402502492070198,
0.040163010358810425,
0.048068560659885406,
-0.026575349271297455,
0.0017811747966334224,
-0.053997721523046494,
-0.07496154308319092,
0.058868102729320526,
0.0019013903802260756,
0.025498922914266586,
-0.07587914913892746,
0.015484640374779701,
-0.09133732318878174,
0.024775424972176552,
-0.01304944884032011,
0.02999873459339142,
-0.019252128899097443,
0.018440397456288338,
0.04870382696390152,
0.032680973410606384,
-0.004874794278293848,
0.0008431629394181073,
0.010755428113043308,
0.034092679619789124,
-0.019763872027397156,
-0.026575349271297455,
-0.06970293819904327,
0.02833998017013073,
-0.03677491843700409,
-0.030528122559189796,
-0.026045959442853928,
0.02015209011733532,
-0.03515145927667618,
-0.037586648017168045,
0.013931765221059322,
-0.06080919876694679,
-0.03529262915253639,
0.02052266336977482,
-0.008209947496652603,
-0.0010394782293587923,
0.026998860761523247,
0.009837820194661617,
-0.005143900401890278,
0.08809039741754532,
0.04940968006849289,
-0.03677491843700409,
-0.019269775599241257,
-0.012952394783496857,
-0.026522409170866013,
-0.06200914829969406,
0.06991469860076904,
-0.013287674635648727,
-0.017284564673900604,
0.017381619662046432,
0.012590644881129265,
0.022287294268608093,
0.06938530504703522,
-0.040657106786966324,
0.01656106486916542,
0.007151168771088123,
0.0031939828768372536,
-0.010711312294006348,
0.02518128976225853,
0.027563542127609253,
-0.006176210008561611,
0.020540310069918633,
-0.06296204775571823,
-0.017734546214342117,
0.042527616024017334,
0.01782277785241604,
-0.0034741179551929235,
-0.08117304742336273,
-0.008346706628799438,
0.030369305983185768,
0.02609889768064022,
-0.019040372222661972,
0.04072769358754158,
0.01026133168488741,
-0.0217402596026659,
-0.027775298804044724,
-0.049303799867630005,
0.024210743606090546,
0.018722739070653915,
-0.016825759783387184,
0.05477415770292282,
-0.004940968006849289,
0.057738739997148514,
0.010128984227776527,
0.014240575022995472,
-0.07813787460327148,
0.0143376300111413,
-0.016234608367085457,
0.010393679141998291,
-0.04386873543262482,
-0.0029998733662068844,
-0.009917228482663631,
-0.04933909326791763,
-0.017655137926340103,
-0.017584551125764847,
0.05039787292480469,
-0.052091918885707855,
-0.0010869026882573962,
-0.031269267201423645,
0.020169736817479134,
0.024369560182094574,
0.011302463710308075,
-0.029769331216812134,
-0.04316288232803345,
0.01589050516486168,
0.004045417532324791,
-0.011558335274457932,
-0.04263349622488022,
-0.04616275802254677,
-0.020099151879549026,
0.04633922129869461,
-0.06102095544338226,
0.0013896472519263625,
0.03885718435049057,
-0.003101339563727379,
0.004632157273590565,
0.07157345116138458,
-0.022463757544755936,
0.042986419051885605,
0.0037741053383797407,
-0.05872693285346031,
0.09825467318296432,
0.05526825413107872,
0.024987179785966873,
0.011920085176825523,
0.023099025711417198,
-0.019728578627109528,
0.07609090209007263,
0.022093184292316437,
0.015228768810629845,
0.017990417778491974,
-0.05293894186615944,
-0.011973024345934391,
-0.03861013427376747,
-0.006674718111753464,
-0.043409932404756546,
-0.0190756656229496,
-0.02646947093307972,
0.03116339072585106,
0.008937858045101166,
-0.024051925167441368,
0.017496319487690926,
0.007062937133014202,
-0.021757904440164566,
-0.01840510591864586,
-0.005430653225630522,
-0.0020260175224393606,
0.02922229655086994,
-0.0374101847410202,
-0.006299734115600586,
0.007243812084197998,
0.04676273092627525,
-0.017372796311974525,
-0.07933782786130905,
-0.003626317484304309,
-0.00561152771115303,
-0.04729212075471878,
-0.041751179844141006,
0.03506322577595711,
0.034216202795505524,
0.009670180268585682,
-0.013649423606693745,
-0.001178994309157133,
-0.0013201648835092783,
0.009184906259179115,
0.03772781789302826,
0.024634255096316338,
0.01251123659312725,
0.024281328544020653,
0.013155327178537846,
-0.02256963588297367,
0.005999746732413769,
-0.07326749712228775,
-0.02871055342257023,
-0.017002223059535027,
0.04838619381189346,
-0.0011767885880544782,
0.046021588146686554,
-0.03485146909952164,
0.0061232708394527435,
-0.05135077238082886,
-0.033598583191633224,
0.005549765657633543,
-0.014708202332258224,
0.011673036962747574,
0.02634594589471817,
0.004279231186956167,
-0.03670433163642883,
0.08427879214286804,
0.0319574736058712,
0.03906893730163574,
-0.007707027718424797,
0.06282087415456772,
0.03998654708266258,
-0.021969661116600037,
0.025004826486110687,
-0.027281200513243675,
-0.027404725551605225,
-0.07376158982515335,
0.014690556563436985,
0.014311160892248154,
0.015846390277147293,
0.0011199894361197948,
0.06042097881436348,
0.045280441641807556,
-0.02294020727276802,
-0.004932144656777382,
0.01184067688882351,
-0.010790720582008362,
-0.02567538619041443,
0.00898638553917408,
0.04870382696390152,
0.034304432570934296,
-0.07884372770786285,
-0.03386327624320984,
-0.0035402916837483644,
-0.00500714173540473,
0.01423175260424614,
-0.010958360508084297,
0.00929078459739685,
0.03723372146487236,
0.04891558364033699,
-0.015740511938929558,
0.03681021183729172,
0.007843786850571632,
0.015502287074923515,
-0.02971639297902584,
-0.016058145090937614,
-0.00047121173702180386,
-0.04069240018725395,
-0.03458677604794502,
0.03762194141745567,
-0.004751270171254873,
-0.033598583191633224,
0.023946048691868782,
0.00006720764213241637,
-0.03130456060171127,
0.02659299597144127,
-0.0019322714069858193,
-0.010331916622817516,
-0.019005080685019493,
-0.017522789537906647,
-0.04824502393603325,
0.045774538069963455,
0.0393865741789341,
-0.05897398293018341,
-0.03557496890425682,
0.05156252905726433,
0.026081252843141556,
-0.05495062097907066,
0.0260106660425663,
0.021916721016168594,
0.009599594399333,
0.01579345017671585,
-0.025375399738550186,
0.041327666491270065,
-0.015872860327363014,
-0.05851517617702484,
0.004367462825030088,
-0.031216328963637352,
0.0040895333513617516,
0.014267045073211193,
0.08124362677335739,
-0.02315196394920349,
0.011443634517490864,
-0.027987053617835045,
0.010570142418146133,
-0.004122619982808828,
-0.007446744479238987,
0.012273011729121208,
-0.028039993718266487,
-0.005338009912520647,
-0.04093944653868675,
0.022640220820903778,
-0.05297423526644707,
0.06091507524251938,
-0.026116544380784035,
-0.05463298782706261,
0.01078189816325903,
0.04146883636713028,
-0.024704840034246445,
0.034269142895936966,
0.009987813420593739,
-0.03606906533241272,
0.06352672725915909,
0.03287508338689804,
-0.01990504190325737,
0.005488003604114056,
0.034763239324092865,
-0.03624552860856056,
-0.01861686073243618,
-0.0075879148207604885,
-0.004314523655921221,
-0.04238644614815712,
-0.00036809107405133545,
-0.004565983545035124,
0.017584551125764847,
0.011311287060379982,
0.0232225488871336,
0.044398125261068344,
0.027492957189679146,
0.022834330797195435,
0.050503749400377274,
-0.010084868408739567,
0.016146376729011536,
0.004570395220071077,
0.056291740387678146,
-0.00009450428478885442,
0.009484893642365932,
-0.02106969803571701,
0.015996383503079414,
-0.03352799639105797,
0.006895297206938267,
0.08703161776065826,
-0.01898743398487568,
0.03033401444554329,
-0.028516443446278572,
0.01886390894651413,
-0.009184906259179115,
-0.029681099578738213,
0.01219360250979662,
-0.05922102928161621,
0.019675640389323235,
-0.037339601665735245,
-0.05096255615353584,
-0.027810590341687202,
-0.028657613322138786,
-0.07376158982515335,
0.038010161370038986,
-0.02331078052520752,
0.017090454697608948,
0.024828363209962845,
-0.0018396282102912664,
-0.06755009293556213,
0.0009567610686644912,
0.027034152299165726,
-0.01941094547510147,
0.03730430826544762,
0.039210110902786255,
-0.038504257798194885,
0.06451492756605148,
0.05579764395952225,
0.030069319531321526,
-0.02772235870361328,
0.06670306622982025,
0.023257842287421227,
0.037833698093891144,
0.07199696451425552,
-0.02796940691769123,
0.020875589922070503,
-0.0015242003137245774,
0.03029872104525566,
0.013305320404469967,
0.023928401991724968,
-0.02668122760951519,
-0.009167260490357876,
-0.03321036323904991,
-0.014743495732545853,
0.025569509714841843,
-0.017099278047680855,
0.032769203186035156,
0.0444687120616436,
0.0035248512867838144,
0.001740367733873427,
-0.0003716755018103868,
-0.0568564236164093,
-0.015466994605958462,
-0.06458550691604614,
0.01886390894651413,
0.038963060826063156,
0.027951762080192566,
0.07326749712228775,
-0.013296497985720634,
0.012308304198086262,
-0.02901053987443447,
0.009220198728144169,
0.06278558820486069,
0.015140537172555923,
-0.02045207843184471,
-0.053538914769887924,
0.05336245521903038,
0.019146250560879707,
0.0013014156138524413,
0.01882861740887165,
-0.026169484481215477,
0.03545144572854042,
0.05360950157046318,
-0.01965799368917942,
-0.023840170353651047,
-0.016728704795241356,
-0.031763363629579544,
-0.07658500224351883,
-0.06409141421318054,
0.004389520734548569,
-0.023010794073343277,
0.03599848225712776,
-0.005854164715856314,
0.04168059304356575
] |
725,668 | zep_python.memory.models | MemorySearchResult |
Represents a search result from querying memory.
Attributes
----------
message : Optional[Dict[str, Any]]
The message matched by search.
summary : Optional[Summary]
The summary matched by search.
metadata : Optional[Dict[str, Any]]
Metadata associated with the search result.
dist : Optional[float]
The distance metric of the search result.
| class MemorySearchResult(BaseModel):
"""
Represents a search result from querying memory.
Attributes
----------
message : Optional[Dict[str, Any]]
The message matched by search.
summary : Optional[Summary]
The summary matched by search.
metadata : Optional[Dict[str, Any]]
Metadata associated with the search result.
dist : Optional[float]
The distance metric of the search result.
"""
# TODO: Legacy bug. message should be a Message object.
message: Optional[Dict[str, Any]] = None
summary: Optional[Summary] = None
metadata: Optional[Dict[str, Any]] = None
dist: Optional[float] = None
| (*, message: Optional[Dict[str, Any]] = None, summary: Optional[zep_python.memory.models.Summary] = None, metadata: Optional[Dict[str, Any]] = None, dist: Optional[float] = None) -> None | [
0.022576043382287025,
-0.02311689220368862,
-0.04243040084838867,
-0.010485473088920116,
0.046687398105859756,
-0.04522187262773514,
-0.031299397349357605,
-0.023744972422719002,
0.06277326494455338,
-0.04864142835140228,
0.0005626564379781485,
0.025838578119874,
0.009438670240342617,
0.027705376967787743,
0.02135477401316166,
0.07181066274642944,
-0.004289709962904453,
-0.006878365762531757,
0.027810057625174522,
0.03820829465985298,
-0.008378783240914345,
0.006939429324120283,
0.04379124566912651,
0.05314268171787262,
0.013425244018435478,
-0.0020663447212427855,
0.029973449185490608,
-0.062354542315006256,
0.008370059542357922,
0.028961539268493652,
-0.020377758890390396,
-0.058760520070791245,
0.026658574119210243,
0.0511537566781044,
-0.03726617246866226,
-0.011035044677555561,
0.033340662717819214,
0.04787377268075943,
-0.13510732352733612,
-0.006075817160308361,
-0.055620115250349045,
-0.0013891943963244557,
-0.015562466345727444,
-0.006101986858993769,
0.02913600765168667,
-0.03475384786725044,
0.002684612525627017,
0.036672987043857574,
-0.008548888377845287,
-0.008069103583693504,
-0.034422360360622406,
0.021476900205016136,
-0.048257600516080856,
0.04682696983218193,
-0.01484715100377798,
-0.022890085354447365,
-0.04030190035700798,
0.0965849906206131,
0.008073464967310429,
0.0443844310939312,
-0.006372411269694567,
0.015274595469236374,
0.04616399481892586,
-0.017629900947213173,
-0.004396571312099695,
-0.015126298181712627,
-0.0020336322486400604,
0.01078206766396761,
0.00045279666665010154,
0.007728892844170332,
-0.015998633578419685,
-0.043721456080675125,
0.013128649443387985,
0.065739206969738,
0.05300310626626015,
0.0025254113133996725,
-0.01769096404314041,
0.02531517669558525,
0.07523021847009659,
-0.021895622834563255,
0.05049078166484833,
-0.0006662462837994099,
-0.04947886988520622,
-0.07502085715532303,
-0.023744972422719002,
-0.0017228627111762762,
0.03355002403259277,
-0.002278976608067751,
0.02276795729994774,
-0.008889098651707172,
-0.05031631514430046,
0.05293332040309906,
-0.03953424468636513,
0.037405747920274734,
0.017403094097971916,
0.01722862757742405,
0.0026780699845403433,
-0.021337326616048813,
-0.03628915920853615,
0.035835545510053635,
-0.039185311645269394,
0.04417506977915764,
0.007837934419512749,
0.026030492037534714,
-0.04630357027053833,
-0.051398009061813354,
-0.016949478536844254,
-0.05240991711616516,
0.044768258929252625,
0.069926418364048,
-0.03799893707036972,
0.03313130512833595,
-0.0553409680724144,
0.027286656200885773,
-0.0017533943755552173,
0.0025319538544863462,
-0.01203822996467352,
-0.014297579415142536,
-0.020238185301423073,
0.016016080975532532,
0.044768258929252625,
-0.0020423554815351963,
-0.03876659274101257,
0.004531783051788807,
-0.0008499819086864591,
0.03079344518482685,
0.031822800636291504,
-0.057609040290117264,
0.0071444278582930565,
0.021965408697724342,
-0.05230524018406868,
-0.028071757405996323,
0.021023286506533623,
0.013355457223951817,
0.043407417833805084,
0.03262534737586975,
0.06608814001083374,
-0.0464431457221508,
-0.004898163955658674,
0.07167109102010727,
-0.00357657577842474,
0.07955700159072876,
0.07683531194925308,
-0.0730668231844902,
0.0008145432802848518,
-0.03841765597462654,
0.00018918776186183095,
-0.04553591459989548,
-0.01513502188026905,
-0.04693165048956871,
-0.02306455187499523,
-0.05924902856349945,
0.0177433043718338,
0.01863308623433113,
-0.031090037897229195,
0.0428142286837101,
0.02432071417570114,
-0.07711446285247803,
0.005268906708806753,
-0.015230978839099407,
-0.0033650342375040054,
-0.07746339589357376,
0.001008637947961688,
-0.04009254276752472,
-0.0015952836256474257,
0.006110710557550192,
0.008749525062739849,
-0.051502689719200134,
-0.0542941652238369,
0.04145338386297226,
-0.05111886188387871,
-0.009778881445527077,
-0.04023211449384689,
-0.013939921744167805,
-0.06033072620630264,
0.023744972422719002,
-0.010755897499620914,
0.033445343375205994,
-0.0025188687723129988,
-0.04864142835140228,
0.047943562269210815,
-0.049932487308979034,
-0.04208146780729294,
-0.005971136502921581,
0.01780436746776104,
0.021232647821307182,
-0.023151785135269165,
0.0594932846724987,
0.02407645992934704,
0.03639383986592293,
0.023832207545638084,
-0.04284911975264549,
0.040860194712877274,
-0.030130470171570778,
-0.049618445336818695,
-0.03817340359091759,
-0.015169914811849594,
-0.013713114894926548,
-0.02364029362797737,
0.07460213452577591,
-0.07069407403469086,
-0.0339338518679142,
0.0065904948860406876,
0.022419022396206856,
-0.048781003803014755,
0.01231737807393074,
-0.01496055442839861,
0.014786086976528168,
-0.04253508150577545,
-0.04239550605416298,
-0.0453963428735733,
0.02604793943464756,
0.009299096651375294,
0.008985055610537529,
0.055829472839832306,
-0.037510428577661514,
0.0001846897939685732,
0.044872939586639404,
0.015440339222550392,
-0.026327086612582207,
0.12282484024763107,
-0.07034514099359512,
-0.0022113705053925514,
-0.01758628524839878,
-0.023971781134605408,
0.020552225410938263,
0.0027282293885946274,
-0.027426229789853096,
0.014428429305553436,
-0.049618445336818695,
0.03330577164888382,
-0.010537813417613506,
0.018039898946881294,
0.0071705980226397514,
0.02004627138376236,
-0.04113934561610222,
-0.026815595105290413,
0.04274444282054901,
-0.0010806056670844555,
-0.0046102930791676044,
0.018493512645363808,
0.0021513975225389004,
-0.03241598978638649,
0.0401972196996212,
0.024809222668409348,
-0.08765227347612381,
0.016120759770274162,
-0.00710081122815609,
0.02829856425523758,
-0.03189258649945259,
-0.01780436746776104,
-0.019924143329262733,
0.01255290862172842,
0.0018286333652213216,
0.08074337989091873,
-0.06744898110628128,
-0.08255783468484879,
-0.06127284839749336,
0.04843206703662872,
-0.030252596363425255,
-0.022942423820495605,
-0.0016236344818025827,
0.032241519540548325,
0.06762345135211945,
0.001327040488831699,
0.019871803000569344,
-0.03621936962008476,
0.04546612873673439,
-0.005360501818358898,
0.049304403364658356,
0.0637153908610344,
0.01597246341407299,
-0.011139724403619766,
-0.014315025880932808,
-0.02411135472357273,
-0.014315025880932808,
0.006874003913253546,
0.0015440338756889105,
-0.06305241584777832,
0.0001626087905606255,
-0.04954865947365761,
-0.038243189454078674,
0.011139724403619766,
-0.0344572551548481,
0.07128725945949554,
-0.00639421958476305,
0.0059362431056797504,
0.019016914069652557,
-0.04473336786031723,
-0.039429567754268646,
0.020116057246923447,
-0.004575399681925774,
-0.02761814370751381,
-0.048048242926597595,
-0.03831297531723976,
-0.019487975165247917,
-0.08109231293201447,
0.02979898266494274,
0.05000227317214012,
-0.002534134779125452,
-0.02913600765168667,
0.02187817543745041,
0.11047257483005524,
0.01284077949821949,
-0.029851321130990982,
0.07481149584054947,
0.013268223032355309,
0.004793483763933182,
0.013503754511475563,
-0.013425244018435478,
-0.0015113212866708636,
0.029537281021475792,
-0.011131001636385918,
0.041104450821876526,
-0.014890767633914948,
0.0637153908610344,
-0.029467495158314705,
0.01779564470052719,
0.023779867216944695,
0.06399453431367874,
-0.026030492037534714,
-0.005569862201809883,
0.011593339033424854,
-0.027338996529579163,
0.011916103772819042,
-0.06388985365629196,
-0.029432600364089012,
0.0004819653695449233,
0.01978456974029541,
0.004706250037997961,
0.02416369505226612,
-0.026850488036870956,
0.02390199340879917,
-0.0058359247632324696,
-0.05778350681066513,
-0.023832207545638084,
-0.0018428087932989001,
-0.0044554537162184715,
0.03806872293353081,
0.03032238408923149,
0.04588484764099121,
-0.04065083712339401,
-0.008579419925808907,
0.016635438427329063,
0.0219305157661438,
-0.05544564500451088,
0.031124932691454887,
-0.06200560927391052,
0.018353939056396484,
-0.08367442339658737,
-0.0001369157835142687,
-0.0031862056348472834,
0.03180535510182381,
0.042046573013067245,
0.08681483566761017,
-0.02772282250225544,
-0.022262003272771835,
-0.019854357466101646,
-0.01889478787779808,
-0.01560608297586441,
-0.04787377268075943,
0.016460971906781197,
-0.04270954802632332,
-0.021075626835227013,
-0.06287794560194016,
0.011863763444125652,
0.006411666050553322,
0.02255859784781933,
0.03377683088183403,
-0.03180535510182381,
-0.0542941652238369,
-0.04448911175131798,
-0.06186603754758835,
0.031351737678050995,
0.04030190035700798,
0.012579078786075115,
-0.06825153529644012,
0.029205793514847755,
-0.09407266229391098,
0.00905484240502119,
-0.007406128570437431,
0.015065235085785389,
-0.014681407250463963,
0.007584957405924797,
0.04766441509127617,
0.031508758664131165,
-0.0024316352792084217,
0.044872939586639404,
-0.020325418561697006,
0.02892664633691311,
-0.045501019805669785,
-0.01603352651000023,
-0.050769928842782974,
0.013085032813251019,
-0.030915571376681328,
0.00598858343437314,
0.024128800258040428,
0.022070089355111122,
-0.06134263426065445,
-0.05565500631928444,
0.03283470869064331,
-0.06242433190345764,
-0.05659712851047516,
0.03737085312604904,
-0.04578017070889473,
-0.02067435160279274,
0.014009708538651466,
-0.007803041487932205,
-0.021529240533709526,
0.02407645992934704,
0.0354866087436676,
-0.06064476817846298,
0.001327040488831699,
0.010328453034162521,
-0.040860194712877274,
-0.01894712820649147,
0.030671317130327225,
-0.0067344303242862225,
-0.0031011528335511684,
0.02798452414572239,
0.032032161951065063,
-0.0020052813924849033,
0.05684138461947441,
-0.025856025516986847,
0.027338996529579163,
-0.01430630311369896,
0.013329287059605122,
-0.012832055799663067,
0.04557080939412117,
-0.0040192860178649426,
0.0117416363209486,
-0.005321246571838856,
-0.037196386605501175,
-0.05282863974571228,
0.014410982839763165,
-0.002627910813316703,
0.0032930667512118816,
-0.0803944393992424,
0.00025529443519189954,
0.019644996151328087,
0.006280815694481134,
0.0018297238275408745,
0.047489944845438004,
0.026065384969115257,
-0.003452267963439226,
-0.025123262777924538,
-0.020430097356438637,
-0.0020925148855894804,
0.03817340359091759,
-0.034370020031929016,
0.04780398681759834,
-0.028158990666270256,
0.07348554581403732,
0.01597246341407299,
0.013739285059273243,
-0.0736251175403595,
-0.03621936962008476,
-0.01513502188026905,
-0.01125312875956297,
0.00639421958476305,
-0.01837138645350933,
-0.005338693503290415,
-0.06144731491804123,
-0.012962905690073967,
-0.0422908253967762,
0.06874004006385803,
-0.025070922449231148,
-0.00027723913080990314,
-0.02641431987285614,
0.004470719490200281,
0.013529923744499683,
-0.007484639063477516,
-0.021738601848483086,
-0.03684745356440544,
0.01858074776828289,
0.009796327911317348,
-0.01197716686874628,
-0.04609420895576477,
-0.024704542011022568,
-0.024669649079442024,
0.03538192808628082,
-0.03534703701734543,
0.02130243368446827,
0.0020870626904070377,
0.002601740648970008,
0.003805563785135746,
0.07683531194925308,
-0.03325343132019043,
0.041837211698293686,
-0.01044185645878315,
-0.04379124566912651,
0.08765227347612381,
0.02369263395667076,
-0.02594325877726078,
0.02098839357495308,
0.05966775119304657,
-0.011314191855490208,
0.06755366176366806,
0.012596525251865387,
-0.00788155198097229,
0.025873471051454544,
-0.07941742986440659,
-0.007222938351333141,
-0.04626867547631264,
0.009072289802134037,
-0.020430097356438637,
-0.0055436925031244755,
0.0010037310421466827,
0.03534703701734543,
0.015396722592413425,
-0.03189258649945259,
0.014009708538651466,
0.02751346305012703,
-0.0023051465395838022,
-0.000008237778274633456,
0.0022037376184016466,
-0.03695213422179222,
-0.019383296370506287,
-0.03170067444443703,
-0.01349503081291914,
0.009255480021238327,
0.0840233564376831,
-0.01947052963078022,
-0.06270347535610199,
-0.007781233172863722,
-0.005931881722062826,
-0.039080630987882614,
-0.030496850609779358,
0.038871269673109055,
0.010415686294436455,
0.030706210061907768,
-0.02156413532793522,
-0.011192064732313156,
0.025821132585406303,
0.04117423668503761,
0.02714708261191845,
0.010450580157339573,
0.03325343132019043,
0.0020314513240009546,
0.007711445912718773,
0.0020925148855894804,
0.008710270747542381,
-0.050141844898462296,
-0.037405747920274734,
0.038347870111465454,
0.04717590659856796,
0.015946293249726295,
0.014315025880932808,
-0.017760751768946648,
-0.0024970604572445154,
-0.048676323145627975,
-0.029066219925880432,
0.014768640510737896,
-0.018179472535848618,
0.006372411269694567,
0.0642387866973877,
-0.030671317130327225,
-0.06559963524341583,
0.09197905659675598,
0.019139042124152184,
0.05398012325167656,
0.0018057345878332853,
0.052340131253004074,
0.035469163209199905,
-0.016713948920369148,
0.04106955602765083,
-0.014297579415142536,
-0.018702873960137367,
-0.05146779492497444,
0.019871803000569344,
0.011305468156933784,
0.008409314788877964,
-0.020761584863066673,
0.05806265398859978,
0.04106955602765083,
-0.02140711434185505,
0.02004627138376236,
-0.0051555028185248375,
0.020447544753551483,
-0.018092239275574684,
0.0010860577458515763,
0.02667602151632309,
0.036463625729084015,
-0.055829472839832306,
-0.02015095017850399,
-0.014864597469568253,
-0.03189258649945259,
0.005190396215766668,
0.02240157686173916,
-0.008653568103909492,
0.04180232062935829,
0.0037030642852187157,
0.014341196045279503,
0.04274444282054901,
0.01690586283802986,
0.0009688376449048519,
-0.04717590659856796,
-0.015702039003372192,
0.006219752132892609,
-0.04728058725595474,
-0.015335658565163612,
0.0428142286837101,
-0.007471553981304169,
-0.025507090613245964,
0.044035498052835464,
0.008762610144913197,
-0.039150420576334,
0.02541985735297203,
-0.036568306386470795,
0.0187901072204113,
-0.0161905474960804,
-0.00010897379252128303,
-0.02468709647655487,
0.0678677037358284,
0.015571189112961292,
-0.0600166842341423,
-0.025716451928019524,
0.042674653232097626,
-0.01708032935857773,
-0.019139042124152184,
0.03911552578210831,
0.017525220289826393,
0.034841082990169525,
0.017917772755026817,
-0.04054615646600723,
0.03180535510182381,
0.0024032844230532646,
-0.034631721675395966,
0.00271514430642128,
-0.023744972422719002,
-0.007244746666401625,
0.02261093631386757,
0.046652503311634064,
-0.0003053174295928329,
-0.04058104753494263,
-0.044977620244026184,
0.002743495162576437,
0.0018624364165589213,
0.001268157735466957,
0.036568306386470795,
-0.017141392454504967,
0.014838427305221558,
-0.0381036177277565,
0.031770460307598114,
-0.06050519272685051,
0.05516649782657623,
-0.02500113658607006,
-0.02620495855808258,
0.043721456080675125,
0.05052567273378372,
-0.02615262009203434,
0.056666918098926544,
0.005103162955492735,
-0.012657588347792625,
0.06915876269340515,
0.04780398681759834,
-0.05652734264731407,
-0.00662975013256073,
0.007174959871917963,
-0.016059696674346924,
-0.017403094097971916,
-0.008958886377513409,
-0.020273078233003616,
-0.07167109102010727,
-0.014768640510737896,
0.015850337222218513,
0.00010222681885352358,
0.005377948749810457,
-0.014271409250795841,
0.040371689945459366,
0.03220662847161293,
0.04989759251475334,
0.045919742435216904,
-0.007061555981636047,
-0.010651216842234135,
0.014978000894188881,
0.015527572482824326,
0.01244822796434164,
-0.0289789866656065,
-0.012779715470969677,
0.06116816774010658,
-0.024913903325796127,
0.003925509750843048,
0.06755366176366806,
-0.02025563083589077,
0.04536144807934761,
-0.02714708261191845,
0.021860728040337563,
-0.018982021138072014,
-0.062354542315006256,
0.011916103772819042,
-0.05464309826493263,
0.02015095017850399,
-0.03297428414225578,
-0.039324887096881866,
-0.00757187232375145,
-0.03325343132019043,
-0.057399678975343704,
0.044768258929252625,
-0.03726617246866226,
0.038347870111465454,
0.0344572551548481,
-0.014585450291633606,
-0.03712660074234009,
-0.01503034122288227,
0.03147386759519577,
-0.024181140586733818,
0.020342864096164703,
0.05111886188387871,
-0.028019417077302933,
0.053317148238420486,
0.05261927843093872,
0.04127891734242439,
-0.033393003046512604,
0.033445343375205994,
0.03407342731952667,
0.07397405058145523,
0.07802169024944305,
0.0034762572031468153,
0.003570033237338066,
0.017254797741770744,
0.01067738700658083,
0.024460287764668465,
0.01680118218064308,
-0.02468709647655487,
0.0009639307390898466,
-0.030374722555279732,
-0.027862396091222763,
0.018982021138072014,
-0.002769665326923132,
0.004422741010785103,
0.02458241581916809,
-0.023832207545638084,
0.02719942107796669,
-0.015588635578751564,
-0.013992262072861195,
-0.0036180117167532444,
-0.05589926242828369,
0.03768489509820938,
0.061098381876945496,
0.005486990325152874,
0.07390426844358444,
0.029310474172234535,
0.0008243570919148624,
-0.06549495458602905,
-0.015457785688340664,
0.06378517299890518,
0.04222103953361511,
-0.025489645078778267,
-0.04396571218967438,
0.08388378471136093,
0.000022694353901897557,
0.023762419819831848,
0.040999770164489746,
0.0047193351201713085,
0.010171432048082352,
0.04127891734242439,
-0.004344230983406305,
0.016016080975532532,
-0.023047104477882385,
-0.030374722555279732,
-0.06671622395515442,
-0.06926344335079193,
0.020342864096164703,
-0.055829472839832306,
0.032799817621707916,
-0.00843112263828516,
0.06552984565496445
] |
725,690 | zep_python.message.models | Message |
Represents a message in a conversation.
Attributes
----------
uuid : str, optional
The unique identifier of the message.
created_at : str, optional
The timestamp of when the message was created.
role : str
The role of the sender of the message (e.g., "user", "assistant").
content : str
The content of the message.
token_count : int, optional
The number of tokens in the message.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the message.
| class Message(BaseModel):
"""
Represents a message in a conversation.
Attributes
----------
uuid : str, optional
The unique identifier of the message.
created_at : str, optional
The timestamp of when the message was created.
role : str
The role of the sender of the message (e.g., "user", "assistant").
content : str
The content of the message.
token_count : int, optional
The number of tokens in the message.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the message.
"""
role: str = Field("A role is required")
content: str = Field("Content is required")
uuid: Optional[str] = Field(optional=True, default=None)
created_at: Optional[str] = Field(optional=True, default=None)
token_count: Optional[int] = Field(optional=True, default=None)
metadata: Optional[Dict[str, Any]] = Field(optional=True, default=None)
def to_dict(self) -> Dict[str, Any]:
"""
Returns a dictionary representation of the message.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the message.
"""
return self.dict()
| (*, role: str = 'A role is required', content: str = 'Content is required', uuid: Optional[str] = None, created_at: Optional[str] = None, token_count: Optional[int] = None, metadata: Optional[Dict[str, Any]] = None) -> None | [
-0.01041126623749733,
-0.04804081842303276,
-0.05828855559229851,
0.0029798389878124,
0.033123452216386795,
-0.0730060562491417,
0.014808345586061478,
-0.004472029861062765,
0.018714841455221176,
-0.02898075059056282,
0.002384779741987586,
0.022203434258699417,
0.011256160214543343,
0.06392118334770203,
-0.010965444147586823,
0.04636920243501663,
0.03190607950091362,
-0.04077291861176491,
0.020586326718330383,
-0.019023727625608444,
0.03092491440474987,
-0.024492822587490082,
0.005846117157489061,
0.050802621990442276,
0.013745415955781937,
0.01644362322986126,
-0.03443167731165886,
0.01662532053887844,
0.03363220766186714,
0.009311996400356293,
-0.025219611823558807,
-0.056943994015455246,
0.0417904257774353,
0.051384054124355316,
-0.06526573747396469,
-0.03624865040183067,
-0.040518540889024734,
0.010393097065389156,
-0.13198506832122803,
-0.03484958037734032,
-0.005410043057054281,
0.06475698947906494,
-0.03121563047170639,
-0.007890214212238789,
0.028181280940771103,
-0.03606695309281349,
0.024674519896507263,
0.060832321643829346,
-0.021222267299890518,
0.018042560666799545,
0.00793109554797411,
-0.00185445009265095,
-0.012673400342464447,
0.027200115844607353,
-0.023021072149276733,
-0.04869493097066879,
-0.024474652484059334,
0.051892805844545364,
-0.03023446351289749,
0.03590342402458191,
-0.03514029458165169,
0.03523114323616028,
0.0015319370431825519,
0.010184144601225853,
0.01396345254033804,
0.006568364333361387,
0.00030178818269632757,
-0.021149588748812675,
0.011510536074638367,
-0.016707085072994232,
0.008080996572971344,
-0.0544365718960762,
0.03712080046534538,
0.08874105662107468,
0.006373039912432432,
-0.03581257537007332,
-0.007703973911702633,
0.06450261175632477,
0.041281670331954956,
-0.013145813718438148,
0.04335302114486694,
-0.013772670179605484,
-0.0418267622590065,
-0.04015514627099037,
0.0257647056132555,
-0.002209895756095648,
0.029544012621045113,
-0.012191901914775372,
-0.034104619175195694,
-0.04298962652683258,
-0.04716867208480835,
0.012528042308986187,
-0.057634446769952774,
0.03753870353102684,
-0.014853770844638348,
-0.012419023551046848,
-0.03317796438932419,
0.002072487026453018,
-0.014881025068461895,
0.03541284054517746,
-0.054908983409404755,
0.09550020098686218,
-0.08321745693683624,
0.0027890566270798445,
-0.027836056426167488,
-0.04582411050796509,
-0.036030612885951996,
-0.038556210696697235,
0.04113631322979927,
-0.011492366902530193,
-0.03939201682806015,
0.06359412521123886,
-0.027454491704702377,
0.04716867208480835,
0.013699991628527641,
-0.03772040084004402,
0.01810615509748459,
0.0064911432564258575,
0.010202314704656601,
-0.01751563884317875,
0.035739898681640625,
-0.00466508325189352,
-0.04091827571392059,
-0.014081556349992752,
0.018142495304346085,
0.053237367421388626,
0.0015978023875504732,
-0.06759146600961685,
0.029344145208597183,
-0.04444320872426033,
-0.08517978340387344,
-0.020259270444512367,
0.0719158723950386,
-0.016607150435447693,
0.018224259838461876,
0.026091760024428368,
0.03397743031382561,
-0.022003566846251488,
0.016025720164179802,
0.09753521531820297,
0.02044096775352955,
0.06642860174179077,
0.05828855559229851,
-0.05847025290131569,
-0.0052283452823758125,
-0.045097317546606064,
0.007058947812765837,
-0.019496141001582146,
-0.01721583865582943,
-0.032632868736982346,
0.006595619022846222,
-0.032323986291885376,
0.039646394550800323,
0.032723721116781235,
-0.002052046125754714,
0.03899228200316429,
-0.028726374730467796,
-0.05498166382312775,
-0.019423462450504303,
-0.03488592058420181,
-0.0009595899027772248,
-0.014626648277044296,
0.022621339187026024,
-0.03343233838677406,
0.018460465595126152,
0.011310669593513012,
0.06969916075468063,
-0.07638562470674515,
-0.030870404094457626,
0.031360987573862076,
-0.06879067420959473,
-0.011465111747384071,
-0.0031547227408736944,
-0.008208184503018856,
-0.044297851622104645,
0.04335302114486694,
0.0011696775909513235,
0.047495726495981216,
-0.006173172499984503,
-0.0194598026573658,
0.03851987048983574,
-0.024783538654446602,
-0.004408435430377722,
0.013454699888825417,
0.046659916639328,
0.01953248120844364,
0.00962088257074356,
0.03568539023399353,
0.018987389281392097,
0.0016102941008284688,
0.02042279951274395,
-0.00859883427619934,
0.04237185791134834,
0.011347008869051933,
-0.061704471707344055,
0.04466124624013901,
-0.018124325200915337,
-0.03246934339404106,
-0.0296712014824152,
0.022803036496043205,
-0.0010390825336799026,
-0.03728432580828667,
-0.00393829308450222,
0.0024506449699401855,
-0.04698697105050087,
0.004969426430761814,
-0.01370907574892044,
-0.00054651201935485,
-0.02643698640167713,
-0.1060386598110199,
-0.06344876438379288,
-0.006959014106541872,
0.023184601217508316,
-0.0019225866999477148,
0.06363046169281006,
-0.07994689792394638,
0.05396415665745735,
0.0010226162848994136,
0.003334149019792676,
-0.006995353847742081,
0.13183970749378204,
0.007971977815032005,
-0.05301932990550995,
-0.04593312740325928,
-0.01177399791777134,
0.007058947812765837,
-0.032923586666584015,
-0.030561519786715508,
-0.0020543173886835575,
-0.043825436383485794,
0.008521612733602524,
-0.007849331945180893,
-0.0359942726790905,
0.04131801053881645,
-0.02558300830423832,
0.012482617981731892,
-0.014853770844638348,
0.004131346940994263,
0.015807682648301125,
-0.01953248120844364,
0.02694573812186718,
-0.0002484145516064018,
-0.012419023551046848,
0.07791188359260559,
0.04335302114486694,
-0.061813488602638245,
0.0418267622590065,
-0.04211748018860817,
-0.0018430940108373761,
-0.0051056998781859875,
-0.025746535509824753,
-0.03946469724178314,
-0.00943918526172638,
0.036321330815553665,
0.022639507427811623,
-0.056071847677230835,
-0.023693352937698364,
-0.02936231531202793,
0.02118592895567417,
0.00015600433107465506,
0.008607919327914715,
-0.023493485525250435,
-0.06435725092887878,
0.04338936135172844,
0.0369572713971138,
-0.029707541689276695,
-0.043898116797208786,
0.036920931190252304,
-0.019805027171969414,
0.011310669593513012,
0.11388798803091049,
-0.02839931845664978,
0.00851252768188715,
-0.02031378075480461,
-0.034086450934410095,
-0.05309201031923294,
-0.051892805844545364,
-0.01615290716290474,
-0.034686051309108734,
-0.012727909721434116,
-0.06835459917783737,
-0.060723304748535156,
0.05036654695868492,
0.000027183648853679188,
0.0728970393538475,
0.028435658663511276,
-0.010583879426121712,
0.003029805840924382,
-0.03910130262374878,
-0.0141088105738163,
0.018460465595126152,
-0.008049199357628822,
-0.00028872868278995156,
0.009802579879760742,
-0.013382020406425,
-0.0286900345236063,
-0.05269227549433708,
0.07718509435653687,
0.06137741357088089,
-0.07900207489728928,
0.023584336042404175,
0.07885671406984329,
0.09586360305547714,
0.004610573872923851,
-0.0437527559697628,
0.019405292347073555,
0.0008108250913210213,
0.030979422852396965,
0.02080436423420906,
-0.02750900201499462,
-0.03624865040183067,
0.04124533012509346,
0.03472239151597023,
0.08307209610939026,
-0.009557288140058517,
0.06853629648685455,
-0.00327055505476892,
-0.010202314704656601,
0.03121563047170639,
0.04219016060233116,
0.019805027171969414,
-0.005646249745041132,
0.01799713633954525,
0.02829029969871044,
0.006777316797524691,
-0.0632307305932045,
-0.009566373191773891,
-0.006700095254927874,
0.017043225467205048,
-0.0011549147311598063,
0.00816276017576456,
-0.013654567301273346,
0.0126461461186409,
0.005964220501482487,
-0.0758041962981224,
0.008607919327914715,
0.01055662427097559,
-0.014799261465668678,
0.006513855420053005,
0.009230232797563076,
0.018805690109729767,
-0.06784584373235703,
0.01561690028756857,
0.011001783423125744,
0.024547331035137177,
-0.03268738090991974,
0.036612045019865036,
-0.018823860213160515,
0.01759740337729454,
-0.050802621990442276,
0.026673192158341408,
0.011065377853810787,
0.04240819439291954,
0.010393097065389156,
-0.0012173731811344624,
-0.06406653672456741,
-0.02958035282790661,
-0.022003566846251488,
-0.01079283095896244,
0.020259270444512367,
-0.009775325655937195,
0.013382020406425,
0.032741889357566833,
-0.031833402812480927,
-0.056180864572525024,
0.058506593108177185,
-0.008998568169772625,
0.014117895625531673,
0.04462490603327751,
0.007776652928441763,
0.007027150597423315,
-0.011837592348456383,
-0.056253544986248016,
0.03426814824342728,
0.014581223949790001,
0.022039907053112984,
-0.053637102246284485,
0.07206122577190399,
-0.07631295174360275,
0.045097317546606064,
0.028635526075959206,
0.004042769316583872,
0.004462944809347391,
0.0388832651078701,
0.038083795458078384,
0.012400854378938675,
0.07943814247846603,
-0.014081556349992752,
-0.043316684663295746,
0.0011180074652656913,
-0.06759146600961685,
-0.01985953561961651,
-0.06286733597517014,
0.008839583024382591,
-0.06217688322067261,
-0.05109333619475365,
-0.02305741235613823,
0.020877042785286903,
0.020586326718330383,
-0.03997344896197319,
0.0359579361975193,
-0.03443167731165886,
0.05516336113214493,
0.008589749224483967,
-0.020350119099020958,
0.02100422978401184,
0.01177399791777134,
0.04309864714741707,
0.0138544337823987,
0.06879067420959473,
0.06377582252025604,
-0.022930223494768143,
-0.02432929538190365,
-0.006595619022846222,
0.02587372437119484,
-0.03862888738512993,
0.035649050027132034,
0.000953344046138227,
-0.008766904473304749,
0.02578287571668625,
-0.00953003391623497,
0.02585555426776409,
0.035558201372623444,
-0.021858209744095802,
-0.03628499060869217,
0.02111324854195118,
-0.0020122998394072056,
0.009720816276967525,
0.03670289367437363,
0.0030820437241345644,
0.005296482238918543,
-0.014581223949790001,
-0.030379822477698326,
-0.05029386654496193,
0.018060730770230293,
-0.01075649168342352,
0.021458474919199944,
-0.08372620493173599,
-0.034486185759305954,
0.055599432438611984,
-0.005078445188701153,
-0.004335756413638592,
0.03094308450818062,
-0.010983613319694996,
0.04073657840490341,
-0.036612045019865036,
-0.03975541144609451,
0.037793081253767014,
0.0826360210776329,
0.03862888738512993,
0.03615780174732208,
0.035267483443021774,
0.05116601660847664,
0.021912718191742897,
-0.05730739235877991,
-0.03804745525121689,
0.026800381019711494,
-0.008630631491541862,
0.007281527388840914,
-0.035358332097530365,
0.0033886583987623453,
-0.005364618729799986,
-0.05243789777159691,
0.011401518248021603,
-0.01652538776397705,
0.03045250102877617,
-0.022530490532517433,
-0.036612045019865036,
-0.07565883547067642,
0.013627312146127224,
0.04248087480664253,
-0.0064139217138290405,
-0.001286645419895649,
-0.01790628768503666,
-0.010565709322690964,
-0.01309130433946848,
0.04462490603327751,
-0.040809258818626404,
-0.05970579758286476,
-0.03203326836228371,
0.039355676621198654,
-0.050039492547512054,
-0.039864432066679,
-0.012855097651481628,
0.031560856848955154,
0.03577623888850212,
0.03288724645972252,
-0.013209408149123192,
0.026818551123142242,
-0.030397990718483925,
-0.02267584763467312,
0.04869493097066879,
0.01694329082965851,
-0.01858765445649624,
0.023184601217508316,
0.007685804273933172,
-0.04978511482477188,
0.04695063456892967,
-0.02692756988108158,
-0.06464797258377075,
0.015080892480909824,
-0.03159719333052635,
-0.02850833721458912,
-0.03721164911985397,
-0.010729237459599972,
-0.018333276733756065,
-0.00734512135386467,
-0.004224466625601053,
0.061922505497932434,
-0.024838047102093697,
-0.008249066770076752,
0.04622384160757065,
-0.026091760024428368,
-0.024547331035137177,
-0.013890773989260197,
0.005896084010601044,
-0.037502363324165344,
-0.00012229093408677727,
-0.008848668076097965,
-0.061813488602638245,
-0.00639575207605958,
0.0223851315677166,
0.004635557532310486,
0.04629652202129364,
-0.03157902508974075,
0.04589678719639778,
-0.02927146665751934,
-0.029216958209872246,
0.05585381016135216,
0.03539467230439186,
0.06399385631084442,
0.005796150304377079,
-0.004408435430377722,
0.04822251573204994,
-0.03552186116576195,
0.011619554832577705,
-0.010329502634704113,
0.023402636870741844,
-0.04844055324792862,
0.033032603561878204,
0.006223139353096485,
0.02149481326341629,
-0.07442329823970795,
-0.0006421870784834027,
-0.030397990718483925,
0.01956881955265999,
0.0039292084984481335,
0.04302596673369408,
-0.05232888087630272,
-0.018605824559926987,
-0.05785248428583145,
0.02665502205491066,
-0.01867850311100483,
-0.03675740212202072,
-0.012428108602762222,
0.0042108395136892796,
-0.032451171427965164,
-0.051892805844545364,
0.054400231689214706,
-0.017724590376019478,
-0.01425416860729456,
-0.013772670179605484,
0.010211399756371975,
0.01866033300757408,
-0.00039036571979522705,
0.07529544085264206,
-0.009684477001428604,
0.007063490338623524,
-0.05116601660847664,
0.042553555220365524,
-0.015489711426198483,
0.0023461689706891775,
0.019968554377555847,
0.035558201372623444,
0.055672112852334976,
0.012891437858343124,
-0.0320877768099308,
0.035739898681640625,
0.036612045019865036,
0.0003094535495620221,
0.0076585495844483376,
0.016579896211624146,
0.061922505497932434,
-0.0554177351295948,
-0.026309797540307045,
-0.018433211371302605,
-0.01729760132730007,
0.03539467230439186,
0.038665227591991425,
0.004778644070029259,
0.01810615509748459,
0.019477970898151398,
0.01318215299397707,
0.024638181552290916,
0.04298962652683258,
0.010602048598229885,
0.005419127643108368,
-0.0277088675647974,
-0.031833402812480927,
-0.025056084617972374,
-0.03628499060869217,
0.038774244487285614,
-0.04357105866074562,
-0.0072133904322981834,
0.026327967643737793,
0.0006898826686665416,
-0.023893220350146294,
0.05116601660847664,
0.019477970898151398,
0.0044356901198625565,
-0.034758731722831726,
-0.013000455684959888,
-0.053164687007665634,
-0.013554633595049381,
0.02236696146428585,
-0.05727105215191841,
-0.024783538654446602,
0.07631295174360275,
0.020695345476269722,
-0.04778644070029259,
0.0515657514333725,
-0.019605159759521484,
-0.0218763779848814,
0.01710681989789009,
-0.04320766404271126,
0.07078934460878372,
-0.020768024027347565,
-0.0418267622590065,
-0.0651567205786705,
-0.023329958319664,
0.030361652374267578,
0.0003949081583414227,
0.003913309890776873,
0.0004110905865672976,
0.011029037646949291,
-0.023984069004654884,
-0.013282086700201035,
-0.022003566846251488,
0.03557636961340904,
0.030107274651527405,
-0.009248402900993824,
-0.036030612885951996,
-0.056762296706438065,
0.02120409719645977,
-0.08438032120466232,
0.09571824222803116,
0.016107482835650444,
-0.06842727959156036,
0.010620218701660633,
-0.0013559175422415137,
0.011128971353173256,
0.054218534380197525,
0.02180369943380356,
-0.06464797258377075,
0.022058075293898582,
-0.00016665067232679576,
-0.048476893454790115,
0.019877705723047256,
0.030670536682009697,
0.004278976004570723,
0.014535799622535706,
-0.008694224990904331,
0.0257647056132555,
-0.03421363979578018,
-0.017533808946609497,
0.0535280816257,
-0.0080174021422863,
0.004331213887780905,
0.05599916726350784,
0.020404629409313202,
0.04237185791134834,
0.06457529217004776,
0.031851571053266525,
-0.004360740073025227,
-0.010656557977199554,
0.05327370762825012,
0.04222649708390236,
0.01332751102745533,
0.00471959263086319,
-0.027000248432159424,
0.02209441550076008,
0.022130755707621574,
-0.01828785240650177,
0.06835459917783737,
0.010129635222256184,
0.013918028213083744,
0.010202314704656601,
0.022130755707621574,
0.004235822707414627,
-0.07315140962600708,
0.01011146605014801,
-0.045569732785224915,
-0.04756840318441391,
-0.011292499490082264,
-0.0005348720005713403,
-0.020259270444512367,
-0.03841084986925125,
-0.028635526075959206,
-0.005001223646104336,
-0.027363643050193787,
0.02002306468784809,
-0.01632552035152912,
-0.0011446942808106542,
-0.02391139045357704,
0.002879905281588435,
0.01390894316136837,
-0.038265492767095566,
0.01644362322986126,
0.06962648034095764,
0.0034863208420574665,
0.02305741235613823,
0.07529544085264206,
0.014072471298277378,
-0.06184982880949974,
0.03541284054517746,
0.05007582902908325,
0.06751879304647446,
0.08736015856266022,
-0.028272131457924843,
0.014472206123173237,
-0.023275449872016907,
0.01195569522678852,
0.018033476546406746,
-0.018015306442975998,
0.01498095877468586,
-0.017851779237389565,
-0.009802579879760742,
0.002296202117577195,
-0.007240645121783018,
-0.030107274651527405,
0.03217862546443939,
0.0028776340186595917,
-0.05134771391749382,
0.03005276620388031,
0.021149588748812675,
-0.016607150435447693,
0.004669625777751207,
-0.03673923388123512,
0.02169468067586422,
0.040700238198041916,
-0.01128341443836689,
0.009375590831041336,
-0.00031030524405650795,
0.031451836228370667,
-0.06275831907987595,
-0.021222267299890518,
0.04233551770448685,
0.016416369006037712,
-0.01347286906093359,
-0.0024506449699401855,
0.0486585907638073,
0.013391105458140373,
-0.037575043737888336,
-0.03528565540909767,
-0.03615780174732208,
-0.011755827814340591,
0.0019521125359460711,
-0.025346800684928894,
0.0044447751715779305,
-0.020259270444512367,
-0.014535799622535706,
-0.022784866392612457,
0.015044553205370903,
0.0006995353614911437,
-0.03161536529660225,
0.050330206751823425,
-0.009775325655937195,
0.05065726116299629
] |
725,712 | zep_python.message.models | to_dict |
Returns a dictionary representation of the message.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the message.
| def to_dict(self) -> Dict[str, Any]:
"""
Returns a dictionary representation of the message.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the message.
"""
return self.dict()
| (self) -> Dict[str, Any] | [
-0.01563066802918911,
0.0017767383251339197,
0.011352606117725372,
-0.04633640870451927,
-0.0045350235886871815,
-0.06756003946065903,
0.00008225372585002333,
0.04381772503256798,
0.04096568375825882,
-0.03692837804555893,
-0.003771083662286401,
-0.024131232872605324,
0.005481845699250698,
0.0362616665661335,
-0.008000531233847141,
0.010121042840182781,
0.010306240059435368,
-0.043595489114522934,
-0.025779489427804947,
0.007583837024867535,
0.022038500756025314,
-0.03759508952498436,
0.025149818509817123,
0.04741055518388748,
-0.025020180270075798,
0.024557186290621758,
-0.013954630121588707,
-0.02161254547536373,
0.06022622063755989,
0.02248297445476055,
-0.06396721303462982,
-0.06848602741956711,
0.04274357855319977,
0.05189233645796776,
-0.0367802195250988,
0.04433627799153328,
-0.04585489630699158,
-0.010463657788932323,
-0.09259874373674393,
-0.015732526779174805,
-0.027298109605908394,
0.04581785574555397,
-0.05552220717072487,
-0.015538068488240242,
0.058114971965551376,
-0.01914941892027855,
0.02446458674967289,
0.04959588497877121,
0.007440309040248394,
0.004025730304419994,
0.025723930448293686,
-0.026575839146971703,
0.008028310723602772,
0.03863219544291496,
-0.030983539298176765,
-0.031539130955934525,
0.008357036858797073,
0.022538533434271812,
-0.028927847743034363,
0.030613144859671593,
-0.03992857784032822,
0.020168006420135498,
0.03135393559932709,
-0.02626100368797779,
-0.009871025569736958,
-0.02396455407142639,
-0.011556322686374187,
-0.01134334597736597,
-0.010019184090197086,
-0.027353668585419655,
0.04692904278635979,
-0.04133607819676399,
0.0029330651741474867,
0.053855426609516144,
-0.0011401219526305795,
-0.01041735801845789,
-0.021223630756139755,
0.013389778323471546,
0.016177000477910042,
-0.005616113543510437,
0.0017883131513372064,
-0.004548913333564997,
-0.05755937844514847,
0.013806472532451153,
0.02696475386619568,
-0.01926053874194622,
0.00884780939668417,
0.006694889161735773,
-0.07430122792720795,
-0.004011840559542179,
-0.02609432488679886,
0.03800252452492714,
-0.025927647948265076,
0.07600504904985428,
-0.020001327618956566,
-0.07270853221416473,
-0.02268669195473194,
0.01807527430355549,
0.02835373394191265,
0.015788085758686066,
-0.04881805554032326,
0.07741254568099976,
-0.03803956136107445,
0.007106953300535679,
-0.03131689503788948,
-0.05959654971957207,
-0.009287653490900993,
-0.07400491088628769,
0.04255838319659233,
-0.007926451973617077,
-0.03268735483288765,
0.024334948509931564,
-0.04626233130693436,
0.021834783256053925,
0.05296647921204567,
-0.036187589168548584,
0.013658314011991024,
-0.02850189246237278,
-0.0008889479213394225,
-0.023316362872719765,
-0.006518951617181301,
0.04981812462210655,
-0.003159932093694806,
0.004875323735177517,
-0.0009155700681731105,
0.04122496023774147,
-0.03453933075070381,
-0.03555791825056076,
0.10793309658765793,
-0.010537737049162388,
-0.01772339828312397,
-0.03500232473015785,
0.01427872572094202,
-0.0029238052666187286,
0.04203983023762703,
-0.007935712113976479,
0.06685629487037659,
0.0018959592562168837,
0.06785635650157928,
0.08585755527019501,
0.06778227537870407,
0.04407700151205063,
0.0232422836124897,
-0.02446458674967289,
0.00005042291013523936,
-0.09059860557317734,
0.027816662564873695,
-0.00663007004186511,
-0.059226155281066895,
-0.04566970095038414,
0.011898938566446304,
-0.0013438392197713256,
0.02742774784564972,
-0.012445271015167236,
0.00022961593640502542,
0.0042387074790894985,
-0.01931609772145748,
-0.0495588481426239,
-0.004664661828428507,
-0.06263379007577896,
-0.037724725902080536,
-0.01041735801845789,
0.032150283455848694,
-0.05426286160945892,
0.046299371868371964,
0.03440969064831734,
0.09741387516260147,
-0.027001792564988136,
0.012880484573543072,
-0.026798075065016747,
-0.10808125138282776,
-0.00882002990692854,
-0.06011510267853737,
0.0023138110991567373,
-0.03631722554564476,
0.039150748401880264,
0.026279522106051445,
0.072523333132267,
-0.004092864226549864,
0.013630534522235394,
0.059633590281009674,
-0.04652160778641701,
-0.03594683110713959,
0.057892732322216034,
0.06022622063755989,
-0.020149486139416695,
0.023686757311224937,
0.06011510267853737,
-0.0008929991163313389,
-0.010556256398558617,
0.024483107030391693,
-0.001959620974957943,
-0.010491437278687954,
0.017825257033109665,
-0.02396455407142639,
0.00023352245625574142,
-0.0063337539322674274,
-0.03115021623671055,
-0.04418811947107315,
0.015380650758743286,
0.0046091023832559586,
-0.025723930448293686,
-0.04003969579935074,
0.015760306268930435,
-0.0275759045034647,
-0.03285403177142143,
-0.016686292365193367,
-0.0049216230399906635,
0.023260803893208504,
-0.03509492427110672,
-0.03140949457883835,
-0.02666843682527542,
0.023001527413725853,
-0.023168204352259636,
0.06307826191186905,
-0.08333886414766312,
0.0551518090069294,
0.009296913631260395,
0.007088433485478163,
-0.006713408976793289,
0.06467095762491226,
0.02472386322915554,
-0.031390972435474396,
-0.062337473034858704,
-0.03535420075058937,
0.007181032560765743,
-0.025168338790535927,
-0.018843844532966614,
-0.030409427359700203,
-0.047077201306819916,
0.03689133748412132,
-0.025964686647057533,
-0.01545473001897335,
0.020445801317691803,
0.023260803893208504,
0.00699583487585187,
-0.038891471922397614,
-0.010917391628026962,
0.026186924427747726,
-0.021075474098324776,
0.09822874516248703,
-0.011973016895353794,
0.011324825696647167,
0.09282097965478897,
0.023538600653409958,
-0.043188054114580154,
0.061374444514513016,
0.03663206100463867,
0.007148623000830412,
0.004572062753140926,
-0.009982144460082054,
-0.053151678293943405,
-0.033835578709840775,
0.02483498305082321,
0.0012153584975749254,
-0.023168204352259636,
-0.009954364970326424,
0.015130634419620037,
0.012232293374836445,
-0.001857762224972248,
0.057485297322273254,
0.021186592057347298,
-0.038743313401937485,
0.04274357855319977,
0.05992990732192993,
0.02100139483809471,
-0.042632460594177246,
0.031390972435474396,
-0.03763213008642197,
0.03137245401740074,
0.16356641054153442,
-0.036298707127571106,
0.021890342235565186,
-0.021631065756082535,
-0.033335547894239426,
-0.04889213666319847,
-0.013093462213873863,
-0.03948410227894783,
-0.04837358370423317,
0.04222502559423447,
-0.030668703839182854,
-0.05137378349900246,
0.024279389530420303,
-0.0270758718252182,
0.0464845672249794,
0.03452081233263016,
-0.004208612721413374,
0.04381772503256798,
-0.0032895703334361315,
-0.014343544840812683,
0.029205642640590668,
-0.037872884422540665,
-0.04929957166314125,
-0.0044377949088811874,
0.019908729940652847,
0.003354389453306794,
-0.05552220717072487,
-0.00810701958835125,
0.06215227395296097,
0.004192408174276352,
0.046299371868371964,
0.06311529874801636,
0.01652887463569641,
0.02027912437915802,
-0.032428078353405,
0.0592631958425045,
0.000056137985666282475,
0.05552220717072487,
-0.04644753038883209,
-0.025020180270075798,
-0.023001527413725853,
0.031094657257199287,
0.05026259645819664,
0.0817091315984726,
-0.029076004400849342,
0.012880484573543072,
0.00854223407804966,
-0.01772339828312397,
0.025094259530305862,
0.08022754639387131,
-0.022612612694501877,
-0.015565848909318447,
0.041002724319696426,
-0.011704481206834316,
0.054522138088941574,
-0.05741121992468834,
0.010954431258141994,
0.021779224276542664,
0.09000597894191742,
0.02652028016746044,
0.006393942981958389,
-0.02876116894185543,
0.020316163077950478,
-0.029150083661079407,
-0.06141148507595062,
0.033076271414756775,
0.01031550019979477,
0.010250681079924107,
-0.03866923600435257,
-0.00931080337613821,
-0.0036715401802212,
-0.03253919631242752,
0.01591772399842739,
0.015093594789505005,
-0.036187589168548584,
-0.0212051123380661,
-0.018732724711298943,
0.006477281916886568,
0.012500829994678497,
-0.07237517833709717,
-0.015871424227952957,
0.02461274527013302,
0.041299037635326385,
0.08311662822961807,
-0.04181759059429169,
-0.053855426609516144,
-0.018547527492046356,
-0.01420464739203453,
0.0036854299250990152,
0.03407633677124977,
0.021945901215076447,
0.03561347723007202,
0.007704215124249458,
-0.04122496023774147,
-0.029131563380360603,
0.05215161293745041,
-0.009273763746023178,
0.016815930604934692,
0.060559578239917755,
-0.0026460089720785618,
0.00810701958835125,
0.02498313970863819,
-0.06493023782968521,
-0.006518951617181301,
-0.021131033077836037,
0.016686292365193367,
-0.03948410227894783,
0.05500365421175957,
-0.06737484782934189,
0.013417557813227177,
0.020168006420135498,
-0.02416827157139778,
-0.02196442149579525,
0.03485416620969772,
0.04618825390934944,
-0.00103884213604033,
0.07593096792697906,
-0.033020712435245514,
-0.027372188866138458,
0.014621341601014137,
-0.06448576599359512,
-0.03168728947639465,
-0.06367089599370956,
0.026335082948207855,
-0.02890932746231556,
-0.05096634849905968,
0.011241487227380276,
0.01757524162530899,
-0.03115021623671055,
-0.011260006576776505,
0.021779224276542664,
-0.04226206615567207,
0.010713674128055573,
-0.03229844197630882,
-0.020927315577864647,
0.014269466511905193,
-0.008028310723602772,
0.011843378655612469,
0.031853966414928436,
0.010824793018400669,
0.05144786089658737,
-0.0027339777443557978,
-0.04744759574532509,
-0.03722469508647919,
0.04207686707377434,
0.018936442211270332,
0.008741321042180061,
0.01763080060482025,
0.00822276808321476,
0.009574709460139275,
0.0007448411197401583,
-0.006491171661764383,
0.024483107030391693,
0.00284046633169055,
-0.007088433485478163,
0.027261069044470787,
-0.041447196155786514,
0.02161254547536373,
0.05481845512986183,
-0.0016876120353117585,
-0.011991537176072598,
-0.01746412180364132,
-0.014399104751646519,
-0.06826379150152206,
0.03742841258645058,
0.006366163492202759,
0.016899270936846733,
-0.05322575569152832,
0.01057477667927742,
0.07741254568099976,
-0.024557186290621758,
0.013158281333744526,
0.020982874557375908,
-0.008931148797273636,
0.053003519773483276,
-0.03774324804544449,
-0.06667109578847885,
-0.00242608692497015,
0.07770886272192001,
-0.00907930638641119,
0.044410355389118195,
-0.009245984256267548,
0.07493089884519577,
-0.057448260486125946,
-0.008806140162050724,
-0.002581189852207899,
-0.000961869431193918,
-0.032428078353405,
0.008787620812654495,
-0.02916860394179821,
0.008421855978667736,
-0.014121307991445065,
-0.06067069619894028,
0.0265573188662529,
-0.027853701263666153,
0.024797942489385605,
-0.03350222483277321,
-0.008421855978667736,
-0.04704016074538231,
0.036909859627485275,
0.07141214609146118,
0.002251307014375925,
-0.02865005098283291,
-0.05037371441721916,
-0.004400755278766155,
0.04163239523768425,
0.021890342235565186,
0.004465574398636818,
-0.04866989701986313,
-0.012352672405540943,
-0.0034307832829654217,
-0.020168006420135498,
-0.01827899180352688,
-0.003914611879736185,
0.014676900580525398,
-0.006264304742217064,
0.03907666727900505,
-0.014871357940137386,
-0.01926053874194622,
-0.013454597443342209,
-0.04233614355325699,
0.03524308279156685,
0.01830677129328251,
-0.007051394321024418,
0.06574510782957077,
0.011704481206834316,
-0.009435812011361122,
0.026853635907173157,
-0.056522272527217865,
-0.036650583148002625,
-0.0024330320302397013,
-0.036298707127571106,
-0.023612679913640022,
0.034039296209812164,
-0.04070640727877617,
-0.026927713304758072,
-0.007662545889616013,
0.02824261598289013,
0.04448443651199341,
0.001297539914958179,
-0.04029897227883339,
0.055596284568309784,
-0.00602817814797163,
-0.02626100368797779,
-0.016177000477910042,
-0.007583837024867535,
-0.04892917349934578,
0.0022188974544405937,
-0.042521342635154724,
-0.05322575569152832,
0.020556921139359474,
0.06018918380141258,
0.011556322686374187,
0.03892851248383522,
-0.025205377489328384,
0.03840995952486992,
-0.0006510848761536181,
-0.024705344811081886,
0.023168204352259636,
0.029761236160993576,
0.039150748401880264,
0.008810770697891712,
0.02013096585869789,
0.017510421574115753,
-0.031594689935445786,
0.008866329677402973,
-0.003933131694793701,
0.004389180336147547,
-0.12452679127454758,
0.01565844751894474,
0.05092930793762207,
-0.0016204779967665672,
-0.03329850733280182,
-0.02835373394191265,
-0.0163529384881258,
0.045891936868429184,
0.00748197827488184,
0.018491968512535095,
-0.06063365563750267,
-0.019797610118985176,
-0.03974337875843048,
-0.017482642084360123,
-0.033687423914670944,
-0.01871420629322529,
-0.0232422836124897,
-0.007931082509458065,
0.0009728655568324029,
-0.06185596063733101,
0.03181692585349083,
0.008995967917144299,
-0.018788285553455353,
-0.031742848455905914,
-0.05489253252744675,
-0.005495735444128513,
-0.054929573088884354,
0.06685629487037659,
0.0024862762074917555,
0.0760791227221489,
-0.09430255740880966,
-0.00038139105890877545,
-0.01826973259449005,
0.026501759886741638,
0.038335878401994705,
0.03366890177130699,
0.03803956136107445,
0.023983074352145195,
0.0074912384152412415,
0.03137245401740074,
0.022334815934300423,
-0.006583770737051964,
0.02053840085864067,
0.022945968434214592,
0.023668238893151283,
0.0035002324730157852,
-0.04689200222492218,
-0.011658181436359882,
-0.056522272527217865,
0.011880418285727501,
0.016788151115179062,
-0.006153186317533255,
-0.01595476269721985,
-0.024909062311053276,
0.03620610758662224,
-0.004805874545127153,
0.04611417278647423,
-0.028001859784126282,
0.03553939610719681,
0.005778161343187094,
-0.03463193029165268,
-0.02227925695478916,
-0.008912628516554832,
0.02742774784564972,
0.0023612678050994873,
0.027112912386655807,
0.03594683110713959,
-0.00874595157802105,
0.005653153173625469,
0.06352273374795914,
0.018371589481830597,
0.027705542743206024,
-0.06815267354249954,
-0.05659634992480278,
-0.02083471603691578,
-0.053966548293828964,
0.028613010421395302,
-0.04096568375825882,
0.001619320479221642,
-0.002184172859415412,
-0.011417425237596035,
-0.01471394021064043,
0.07137510925531387,
-0.04878101870417595,
-0.006287454627454281,
0.043595489114522934,
0.0005165273323655128,
-0.007898672483861446,
-0.01871420629322529,
-0.021279191598296165,
-0.048706937581300735,
-0.05041075497865677,
0.006829157005995512,
0.019908729940652847,
0.037817325443029404,
-0.054781414568424225,
-0.0029307501390576363,
0.027909260243177414,
0.02211258001625538,
-0.00884780939668417,
0.01228785328567028,
0.017825257033109665,
0.04611417278647423,
-0.015130634419620037,
-0.08141281455755234,
-0.03524308279156685,
-0.06044846028089523,
0.03844699636101723,
0.02789074182510376,
-0.07074543833732605,
0.034965284168720245,
-0.06241155043244362,
0.013315699063241482,
0.011121109127998352,
-0.02283485047519207,
-0.010963691398501396,
-0.036743178963661194,
0.031224295496940613,
-0.05507773160934448,
0.055448126047849655,
-0.04452147334814072,
0.011537803336977959,
-0.0510774664580822,
0.01256564911454916,
-0.04526226595044136,
-0.0567074678838253,
0.022760771214962006,
0.019223498180508614,
-0.04811430722475052,
0.040113773196935654,
0.0355023592710495,
-0.04541042447090149,
0.06348569691181183,
0.10119190812110901,
0.058152008801698685,
0.00605132756754756,
-0.03959522023797035,
0.027501827105879784,
0.0011522755958139896,
-0.01397315040230751,
0.0375395305454731,
-0.024186791852116585,
0.0033960589207708836,
0.059485431760549545,
-0.05455917865037918,
0.0362616665661335,
0.018908662721514702,
0.006120776757597923,
-0.00008775177411735058,
0.011945237405598164,
-0.020168006420135498,
-0.033687423914670944,
-0.00023641616280656308,
-0.05485549569129944,
-0.037576571106910706,
0.017010388895869255,
0.03640982508659363,
0.010074743069708347,
-0.01951981522142887,
-0.02844633348286152,
0.03587275370955467,
-0.02083471603691578,
0.005231828894466162,
-0.021538468077778816,
0.0349838063120842,
0.004898473620414734,
0.0293723214417696,
-0.014287985861301422,
-0.02696475386619568,
-0.0004951138980686665,
0.03796548396348953,
-0.0012153584975749254,
-0.029076004400849342,
0.056262996047735214,
0.010250681079924107,
-0.03457637131214142,
0.004403070081025362,
0.020168006420135498,
0.05481845512986183,
0.04066936671733856,
-0.018575306981801987,
0.011500763706862926,
-0.03863219544291496,
0.03268735483288765,
0.01348237693309784,
-0.0005440175882540643,
-0.006694889161735773,
0.007208812050521374,
-0.010685894638299942,
-0.0352616012096405,
-0.026112845167517662,
-0.015899203717708588,
0.007412529084831476,
-0.026483239606022835,
-0.07830149680376053,
0.014195387251675129,
-0.005866130348294973,
-0.018917923793196678,
0.02216813899576664,
-0.01836233027279377,
0.019797610118985176,
0.048299502581357956,
0.016871491447091103,
0.03952114284038544,
0.008435745723545551,
0.04285469651222229,
-0.027001792564988136,
-0.03907666727900505,
0.03216880187392235,
0.027816662564873695,
0.00637079356238246,
-0.027298109605908394,
0.026538798585534096,
0.04541042447090149,
-0.040336012840270996,
-0.024594224989414215,
-0.004122958984225988,
-0.02440902777016163,
0.008699651807546616,
0.0028335214592516422,
0.024760903790593147,
0.005250348709523678,
-0.02870560996234417,
-0.004215557593852282,
-0.010056223720312119,
0.00219343276694417,
-0.03309478983283043,
0.053855426609516144,
0.04200278967618942,
0.03837291896343231
] |
725,713 | zep_python.exceptions | NotFoundError |
Raised when the API response contains no results.
Inherits from ZepClientError.
| class NotFoundError(ZepClientError):
"""
Raised when the API response contains no results.
Inherits from ZepClientError.
"""
def __init__(self, message: str) -> None:
super().__init__(message)
| (message: 'str') -> 'None' | [
-0.030779467895627022,
-0.04267153516411781,
-0.021814396604895592,
0.009517335332930088,
-0.024999113753437996,
-0.04005749151110649,
-0.029619716107845306,
0.019605344161391258,
0.06391526013612747,
-0.03085310384631157,
0.04351833835244179,
0.02249552123248577,
0.020433738827705383,
-0.021777577698230743,
-0.0149111058562994,
0.03125809505581856,
0.0397261306643486,
0.032638754695653915,
0.008399002254009247,
-0.028699276968836784,
-0.023121418431401253,
0.004109758418053389,
0.013999871909618378,
0.04948278144001961,
0.017396289855241776,
0.07503415644168854,
-0.0041281674057245255,
-0.02093077450990677,
0.01858365722000599,
-0.05500541254878044,
-0.06365753710269928,
-0.01791173592209816,
-0.043960150331258774,
0.08725758641958237,
-0.03052174486219883,
0.030945148319005966,
-0.017792079597711563,
0.019752614200115204,
-0.13703490793704987,
0.046942371875047684,
-0.05161819979548454,
0.020801912993192673,
-0.05113957077264786,
-0.024630937725305557,
0.07886318117380142,
-0.018436385318636894,
0.008509455248713493,
-0.002352871233597398,
-0.06476206332445145,
0.008822404779493809,
-0.04664783179759979,
0.030687425285577774,
0.031681496649980545,
-0.009268817491829395,
0.009443700313568115,
0.031663089990615845,
0.028257466852664948,
0.05574176460504532,
-0.05544722452759743,
0.04414423927664757,
-0.08011498302221298,
0.03536325320601463,
-0.017000501975417137,
0.02383936010301113,
-0.0016038643661886454,
0.0021377187222242355,
0.006263584829866886,
-0.020746687427163124,
-0.007041355594992638,
0.0332278348505497,
0.09498926997184753,
0.03576824441552162,
-0.04377606138586998,
0.02186962217092514,
0.10227914154529572,
0.007161012850701809,
-0.031000373885035515,
0.008058439940214157,
0.032712388783693314,
0.0028303489089012146,
0.017460720613598824,
0.0015635951422154903,
-0.03256512060761452,
0.006199154071509838,
0.05714083090424538,
-0.03753548860549927,
0.02522001974284649,
-0.0696956142783165,
0.003258352866396308,
0.04112520068883896,
-0.08261857181787491,
-0.014055098406970501,
-0.07341418415307999,
-0.035657793283462524,
0.033688053488731384,
0.016043245792388916,
0.028018152341246605,
-0.06560886651277542,
0.003433236153796315,
-0.019384438171982765,
0.022992556914687157,
0.07503415644168854,
0.023710500448942184,
-0.021317359060049057,
0.017801282927393913,
-0.02457571215927601,
0.0005214860429987311,
-0.040941111743450165,
0.04738418012857437,
0.015039967373013496,
-0.005214285105466843,
0.0363941453397274,
-0.027392253279685974,
-0.016705961897969246,
-0.010631066747009754,
-0.01886899210512638,
0.03773798421025276,
0.008081451058387756,
0.0003690383746288717,
-0.0035666998010128736,
0.06038077548146248,
0.02321346290409565,
-0.04841507226228714,
-0.014662588015198708,
0.029730169102549553,
-0.0027682192157953978,
-0.03190240263938904,
0.0019651365000754595,
0.057803548872470856,
-0.006369435228407383,
0.006686986889690161,
0.011919680051505566,
-0.056478116661310196,
-0.07554960250854492,
-0.04355515539646149,
0.061485301703214645,
0.05397452414035797,
0.01125696487724781,
-0.031313322484493256,
0.028901774436235428,
-0.004528558347374201,
0.056220393627882004,
0.03184717893600464,
0.014791449531912804,
-0.021685535088181496,
0.017101749777793884,
-0.025753874331712723,
-0.05062412470579147,
0.027926107868552208,
0.005591664928942919,
0.03022720478475094,
0.0032675571274012327,
-0.0035620976705104113,
-0.0005749865085817873,
-0.010971629060804844,
-0.04101474583148956,
-0.007685662712901831,
-0.0463164746761322,
0.023084601387381554,
0.0066317603923380375,
-0.010723110288381577,
-0.0562572106719017,
0.05868716910481453,
-0.030761059373617172,
-0.03709367662668228,
0.006838859058916569,
-0.027263393625617027,
-0.048599161207675934,
-0.01953170821070671,
0.029932664707303047,
-0.031699907034635544,
0.0020318683236837387,
-0.07547596842050552,
-0.03348555788397789,
0.006392446346580982,
0.02253233827650547,
0.02450207620859146,
0.03817979618906975,
-0.026582268998026848,
-0.04605875164270401,
0.06825973093509674,
-0.05496859550476074,
-0.05136047676205635,
0.012950572185218334,
0.04495422542095184,
-0.009020298719406128,
0.02256915532052517,
0.028386328369379044,
0.010124824941158295,
0.02023124136030674,
-0.009195182472467422,
0.01009721215814352,
0.050255950540304184,
0.05331180617213249,
0.03179195150732994,
-0.007423337548971176,
0.03146059438586235,
-0.006489092484116554,
0.02649022452533245,
0.022090528160333633,
-0.058576714247465134,
0.10824358463287354,
0.02656385861337185,
-0.02452048473060131,
0.0016970587894320488,
0.05099230259656906,
0.025017522275447845,
-0.06527750939130783,
-0.0661979466676712,
-0.026784764602780342,
-0.025680238381028175,
0.015398938208818436,
-0.011174125596880913,
0.015141216106712818,
0.013567266054451466,
-0.009480518288910389,
0.0011563010048121214,
-0.012941366992890835,
0.04863597825169563,
0.0248334351927042,
0.023655273020267487,
-0.03146059438586235,
0.04469650238752365,
-0.029711758717894554,
0.0057205259799957275,
0.039947036653757095,
0.04105156287550926,
-0.02783406525850296,
-0.04211927205324173,
-0.029895847663283348,
-0.012886141426861286,
0.0057205259799957275,
-0.005849387496709824,
-0.006010464392602444,
-0.025054339319467545,
0.005771150346845388,
0.0061807455494999886,
0.003884250996634364,
-0.014377251267433167,
-0.026582268998026848,
0.02488866075873375,
-0.03374328091740608,
-0.035289619117975235,
0.05677265673875809,
0.027705203741788864,
-0.020967591553926468,
-0.011873658746480942,
0.04576420783996582,
-0.03742503374814987,
0.0057205259799957275,
0.03836388140916824,
-0.05401134118437767,
-0.014110324904322624,
-0.036633457988500595,
0.05765627697110176,
-0.08887755870819092,
-0.053090900182724,
-0.07131558656692505,
0.05102911964058876,
0.020654642954468727,
-0.06450434029102325,
0.02352641150355339,
-0.05710401386022568,
0.03770116716623306,
-0.031681496649980545,
-0.02185121364891529,
-0.026582268998026848,
0.04502785950899124,
0.009627788327634335,
0.07021106034517288,
0.12731507420539856,
0.019402846693992615,
0.006742212921380997,
0.005651493091136217,
-0.022348251193761826,
0.011477869935333729,
-0.043628793209791183,
0.041309285908937454,
-0.026342954486608505,
-0.0036311305593699217,
-0.012490352615714073,
-0.0016142192762345076,
0.0036472382489591837,
0.007699469104409218,
0.002632454503327608,
-0.008734962902963161,
0.013171477243304253,
0.008684339001774788,
-0.07820046693086624,
-0.02853359840810299,
0.026987262070178986,
-0.005379964131861925,
-0.024005040526390076,
-0.014819062314927578,
0.005734332837164402,
-0.0021032022777944803,
-0.02085714042186737,
0.004698839504271746,
0.034332361072301865,
-0.030282432213425636,
0.006719202268868685,
0.001763790613040328,
0.02685840055346489,
0.0013541954103857279,
-0.035252802073955536,
-0.019071489572525024,
0.029730169102549553,
0.019053079187870026,
-0.013024207204580307,
-0.042303360998630524,
-0.03668868541717529,
0.038658421486616135,
-0.04355515539646149,
0.005904613994061947,
-0.014837470836937428,
0.08902482688426971,
0.029766986146569252,
-0.012287856079638004,
0.024060266092419624,
0.0596076063811779,
-0.04661101475358009,
0.03876887634396553,
0.015840748324990273,
-0.00015244765381794423,
-0.024336397647857666,
-0.004404298961162567,
-0.015702683478593826,
0.033025339245796204,
-0.011781614273786545,
-0.00396939180791378,
0.0054720076732337475,
-0.047641903162002563,
-0.024630937725305557,
-0.031663089990615845,
-0.06498296558856964,
-0.017976166680455208,
0.05802445113658905,
-0.012941366992890835,
0.020470555871725082,
0.014699405059218407,
0.034682128578424454,
-0.0215014461427927,
-0.012959776446223259,
0.0497036874294281,
-0.025035930797457695,
-0.020047154277563095,
0.005665299948304892,
-0.0330989733338356,
0.010907198302447796,
0.013171477243304253,
-0.012352286837995052,
0.02582750841975212,
0.006010464392602444,
0.029932664707303047,
0.08158767968416214,
-0.043223798274993896,
-0.026655903086066246,
-0.03217853605747223,
-0.010041985660791397,
-0.017110954970121384,
-0.023710500448942184,
-0.07091059535741806,
-0.03506871312856674,
0.015656661242246628,
-0.0963883325457573,
-0.017000501975417137,
0.07194148749113083,
-0.031994447112083435,
-0.0037461852189153433,
-0.0054397922940552235,
-0.0396893136203289,
-0.05703037977218628,
-0.05147092789411545,
-0.041935183107852936,
0.028423145413398743,
-0.01727663353085518,
-0.018022188916802406,
-0.0010153588373214006,
-0.04870961233973503,
0.04742100089788437,
0.0365230068564415,
-0.0059000118635594845,
-0.07245693355798721,
-0.028294283896684647,
0.021280542016029358,
-0.0016027138335630298,
-0.0042409212328493595,
0.05791400000452995,
0.027668386697769165,
0.008702747523784637,
-0.0011321395868435502,
-0.040904294699430466,
0.01225103810429573,
0.018123436719179153,
-0.03788525611162186,
-0.03521598130464554,
-0.04373924434185028,
-0.029104270040988922,
-0.021004410460591316,
0.016162902116775513,
0.012812506407499313,
0.016521872952580452,
0.033982593566179276,
0.046279653906822205,
0.05401134118437767,
-0.02290051430463791,
0.039836585521698,
-0.042266543954610825,
0.014717813581228256,
-0.014809858053922653,
-0.010161642916500568,
-0.050255950540304184,
-0.04521194472908974,
-0.03560256585478783,
-0.03140536695718765,
0.02851518988609314,
-0.002630153438076377,
0.00736811151728034,
-0.013392382301390171,
-0.015398938208818436,
0.03484780713915825,
-0.028239058330655098,
0.08703667670488358,
0.0463164746761322,
0.025919552892446518,
0.0298774391412735,
-0.024999113753437996,
-0.0016314774984493852,
0.042634718120098114,
-0.01395384967327118,
0.011974906548857689,
-0.02282687835395336,
-0.04488058760762215,
-0.06122757866978645,
-0.008007816039025784,
-0.01787491887807846,
-0.03851115331053734,
-0.02385777048766613,
-0.04042566567659378,
0.07716957479715347,
0.029030634090304375,
-0.002549614990130067,
0.012766484171152115,
0.04112520068883896,
0.06829654425382614,
-0.0076948669739067554,
0.01657710038125515,
-0.0015635951422154903,
0.030742650851607323,
-0.039947036653757095,
-0.001661391812376678,
-0.02056260034441948,
0.01927398517727852,
0.014119529165327549,
-0.04348152130842209,
-0.02256915532052517,
-0.08195585757493973,
0.022771652787923813,
-0.010704701766371727,
0.0017891026800498366,
0.007009140215814114,
0.07267783582210541,
-0.05110275372862816,
-0.04344470426440239,
-0.020396919921040535,
0.03354078531265259,
0.01692686602473259,
-0.017341064289212227,
0.005587062798440456,
0.005582460202276707,
-0.003023640951141715,
-0.013088637962937355,
-0.028331100940704346,
-0.019402846693992615,
0.016052449122071266,
0.015988020226359367,
0.007579812314361334,
-0.03273079916834831,
0.015527799725532532,
0.006194551941007376,
0.02790769934654236,
-0.029067452996969223,
0.004553870297968388,
-0.04532239958643913,
0.021078044548630714,
-0.04101474583148956,
-0.0397997684776783,
0.01723061129450798,
0.016844026744365692,
-0.018657291308045387,
0.010170847177505493,
0.03718572109937668,
-0.04119883477687836,
0.024115493521094322,
0.021022818982601166,
0.019458072260022163,
-0.03285966068506241,
0.037664350122213364,
-0.0009118095622397959,
-0.050513673573732376,
0.026674311608076096,
-0.03293329477310181,
-0.01009721215814352,
-0.026619086042046547,
0.023784134536981583,
-0.06196393072605133,
0.013631696812808514,
0.05099230259656906,
0.09513653814792633,
-0.0019398244330659509,
0.007483166176825762,
0.06339981406927109,
0.03416668251156807,
-0.010824358090758324,
0.0047724745236337185,
0.022366659715771675,
-0.02884654700756073,
0.02290051430463791,
0.028938591480255127,
0.044659681618213654,
0.06045440956950188,
0.04009430855512619,
0.024999113753437996,
-0.021795988082885742,
-0.007892761379480362,
0.0007438294705934823,
0.013070228509604931,
-0.06829654425382614,
0.03374328091740608,
0.06590341031551361,
-0.01141343917697668,
0.009199784137308598,
0.01391703262925148,
0.044291507452726364,
0.026913626119494438,
0.021630307659506798,
-0.0696956142783165,
0.04366561025381088,
-0.015813136473298073,
0.013484425842761993,
0.03216012567281723,
0.06487251818180084,
0.02724498324096203,
-0.0430397130548954,
-0.017350267618894577,
-0.05927624925971031,
-0.027318619191646576,
0.049298692494630814,
-0.009370065294206142,
-0.002632454503327608,
0.0363573282957077,
-0.04189836606383324,
0.03250989317893982,
-0.04443877935409546,
-0.02026805840432644,
0.048230987042188644,
-0.018675699830055237,
0.006608749274164438,
0.044549230486154556,
0.016669144853949547,
-0.0012448932975530624,
0.016687553375959396,
0.04473331943154335,
-0.031294915825128555,
-0.008104462176561356,
0.015840748324990273,
-0.012168198823928833,
-0.0023229571525007486,
-0.033927369862794876,
-0.00875797402113676,
-0.012830914929509163,
-0.004054532386362553,
-0.008168892934918404,
0.03674390912055969,
-0.019366029649972916,
0.03114764392375946,
0.03282284364104271,
0.002540410729125142,
0.058171723037958145,
-0.039947036653757095,
-0.024060266092419624,
-0.033356696367263794,
-0.011174125596880913,
-0.08762575685977936,
-0.020102379843592644,
-0.0024851844646036625,
-0.006185347680002451,
-0.026968851685523987,
0.037590716034173965,
-0.005830978974699974,
-0.007004538085311651,
-0.034332361072301865,
0.020323285833001137,
-0.046905554831027985,
0.023692090064287186,
0.05007186159491539,
-0.0003325084690004587,
-0.05666220188140869,
0.0060518840327858925,
0.010658679530024529,
-0.04469650238752365,
0.10345730185508728,
0.012297060340642929,
-0.03438758850097656,
0.06413616240024567,
-0.0059644426219165325,
-0.04767872020602226,
0.023415958508849144,
-0.024373214691877365,
-0.02358163893222809,
0.04999822750687599,
-0.02290051430463791,
-0.06439388543367386,
-0.019126715138554573,
-0.04580102860927582,
-0.045543305575847626,
0.004763269796967506,
0.022348251193761826,
-0.009655401110649109,
0.001081515452824533,
0.019771022722125053,
-0.025256836786866188,
-0.02516479231417179,
0.04734736308455467,
-0.06435707211494446,
0.05194955691695213,
0.04499104246497154,
-0.004234017804265022,
-0.048930518329143524,
-0.004758667666465044,
0.02588273398578167,
0.06339981406927109,
-0.02093077450990677,
-0.06446751952171326,
-0.03803252428770065,
-0.022753244265913963,
0.013364769518375397,
-0.003661044640466571,
0.04940914735198021,
0.04443877935409546,
0.004141973797231913,
0.030061526224017143,
-0.05279636010527611,
0.04407060146331787,
-0.07650686055421829,
0.03459008410573006,
-0.02514638379216194,
-0.07797956466674805,
0.05342226102948189,
-0.03510553017258644,
0.01793014444410801,
0.04234017804265022,
-0.02652704156935215,
0.02387617900967598,
-0.028754502534866333,
0.01755276508629322,
-0.03289647772908211,
0.019329210743308067,
0.029951073229312897,
-0.008012418635189533,
0.017755260691046715,
-0.019329210743308067,
-0.0008375991601496935,
0.005481211934238672,
-0.003037447575479746,
0.027042487636208534,
0.05471087247133255,
-0.12054064869880676,
-0.0028901773039251566,
-0.015776317566633224,
0.019918292760849,
0.0047402591444551945,
0.004961164202541113,
-0.01375135313719511,
-0.025054339319467545,
0.012131381779909134,
-0.04407060146331787,
0.027042487636208534,
0.006272789556533098,
0.002883274108171463,
0.023949813097715378,
0.020028745755553246,
-0.053090900182724,
0.024612529203295708,
-0.021722352132201195,
0.05861353501677513,
-0.05574176460504532,
0.02722657471895218,
-0.024704573675990105,
-0.07599141448736191,
-0.02687680907547474,
-0.003946380689740181,
-0.05007186159491539,
0.06100667268037796,
-0.019016262143850327,
-0.04815734922885895,
-0.0431133471429348,
-0.055852215737104416,
-0.00843121763318777,
0.024317989125847816,
0.03709367662668228,
0.004171888343989849,
-0.014680996537208557,
0.016816414892673492,
0.011247760616242886,
0.03177354112267494,
-0.013521243818104267,
-0.018721722066402435,
0.001246043830178678,
-0.021685535088181496,
0.026674311608076096,
0.016181310638785362,
0.02120690606534481,
-0.0826922059059143,
-0.004461826290935278,
0.03223375976085663,
0.09108661115169525,
0.033209428191185,
-0.027760429307818413,
0.022753244265913963,
-0.014211572706699371,
0.0005088300094939768,
-0.03276761621236801,
0.03847433626651764,
0.03186558559536934,
0.006318811327219009,
-0.05603630468249321,
-0.06443070620298386,
0.010382547974586487,
0.06384162604808807,
0.037922073155641556,
0.013171477243304253,
-0.05073457956314087,
0.020967591553926468,
0.06108031049370766,
-0.030576972290873528,
-0.00159696105401963,
0.020636234432458878,
0.030724242329597473,
0.026416588574647903,
0.0021526759956032038,
-0.006935505196452141,
-0.024962296709418297,
-0.058834437280893326,
0.007262261118739843,
0.03442440554499626,
0.04016794264316559,
0.06770746409893036,
-0.011404234915971756,
0.04167746379971504,
0.007372713647782803,
-0.04016794264316559,
0.017654012888669968,
0.05467405542731285,
-0.04613238573074341,
-0.03913705050945282,
0.018786152824759483,
0.031976040452718735,
0.010336525738239288,
0.0038635411765426397,
-0.04149337485432625,
-0.029711758717894554,
-0.006249778438359499,
-0.0001865326485130936,
0.0030305441468954086,
0.034258726984262466,
0.007690264843404293,
0.04009430855512619
] |
725,716 | zep_python.memory.models | Session |
Represents a session object with a unique identifier, metadata,
and other attributes.
Attributes
----------
uuid : Optional[str]
A unique identifier for the session.
This is generated server-side and is not expected to be present on creation.
created_at : str
The timestamp when the session was created.
Generated by the server.
updated_at : str
The timestamp when the session was last updated.
Generated by the server.
deleted_at : Optional[datetime]
The timestamp when the session was deleted.
Generated by the server.
session_id : str
The unique identifier of the session.
metadata : Dict[str, Any]
The metadata associated with the session.
| class Session(BaseModel):
"""
Represents a session object with a unique identifier, metadata,
and other attributes.
Attributes
----------
uuid : Optional[str]
A unique identifier for the session.
This is generated server-side and is not expected to be present on creation.
created_at : str
The timestamp when the session was created.
Generated by the server.
updated_at : str
The timestamp when the session was last updated.
Generated by the server.
deleted_at : Optional[datetime]
The timestamp when the session was deleted.
Generated by the server.
session_id : str
The unique identifier of the session.
metadata : Dict[str, Any]
The metadata associated with the session.
"""
uuid: Optional[str] = None
id: Optional[int] = None
created_at: Optional[str] = None
updated_at: Optional[str] = None
deleted_at: Optional[str] = None
session_id: str
user_id: Optional[str] = None
metadata: Optional[Dict[str, Any]] = None
| (*, uuid: Optional[str] = None, id: Optional[int] = None, created_at: Optional[str] = None, updated_at: Optional[str] = None, deleted_at: Optional[str] = None, session_id: str, user_id: Optional[str] = None, metadata: Optional[Dict[str, Any]] = None) -> None | [
-0.006057030521333218,
-0.03740103915333748,
-0.05574262514710426,
0.0015737061621621251,
0.04396955296397209,
-0.06170094758272171,
-0.0393751822412014,
0.04210308939218521,
0.03190933167934418,
-0.019041508436203003,
-0.019418390467762947,
-0.0004057649348396808,
0.03578583151102066,
0.06618763506412506,
0.03470902517437935,
0.03052743338048458,
0.03490643948316574,
-0.023743558675050735,
0.02228987216949463,
-0.05279935896396637,
0.02778157964348793,
0.0012921664165332913,
-0.011844859458506107,
0.034583400934934616,
-0.00806706678122282,
0.01966964453458786,
-0.006963341496884823,
0.009682275354862213,
0.05107646808028221,
-0.0009231363073922694,
0.0355345793068409,
-0.015909800305962563,
0.07232543081045151,
0.049533046782016754,
-0.023007741197943687,
-0.03664727509021759,
-0.0390162467956543,
0.03327328711748123,
-0.14177937805652618,
-0.00935025978833437,
-0.03036591224372387,
0.03670111671090126,
-0.004159160889685154,
-0.012724250555038452,
0.005662201438099146,
0.019292762503027916,
0.03951875865459442,
0.024461429566144943,
0.016914818435907364,
0.016457175835967064,
-0.0010852179257199168,
0.05800391733646393,
-0.021087439730763435,
0.04641031101346016,
-0.008390109054744244,
-0.05649638921022415,
-0.039913587272167206,
0.01662766933441162,
-0.04199540987610817,
0.03052743338048458,
-0.0063935318030416965,
0.014608659781515598,
0.041564688086509705,
0.03248362988233566,
0.032698988914489746,
-0.007039615418761969,
-0.040703244507312775,
-0.0020874321926385164,
0.015182956121861935,
-0.029271159321069717,
0.007815812714397907,
-0.056783538311719894,
0.05972680449485779,
0.06783873587846756,
-0.006913987919688225,
-0.03338096663355827,
-0.04292863979935646,
-0.0021446372848004103,
0.007681211922317743,
-0.055778518319129944,
0.021015651524066925,
-0.027045762166380882,
-0.05742961913347244,
0.0014020903035998344,
0.022810326889157295,
0.015685465186834335,
0.0056352815590798855,
-0.01620592176914215,
-0.07846321910619736,
0.010606532916426659,
-0.019490176811814308,
0.04946126043796539,
-0.025735648348927498,
0.08147827535867691,
-0.004520339425653219,
-0.03050948679447174,
-0.02683040127158165,
-0.0014435922494158149,
-0.025251086801290512,
-0.053301867097616196,
-0.03750872239470482,
0.03237595036625862,
-0.08894412219524384,
0.04030841588973999,
-0.04895875230431557,
-0.0553119033575058,
-0.019418390467762947,
-0.0432157889008522,
0.019920900464057922,
-0.005953836254775524,
-0.022918008267879486,
0.08686230331659317,
-0.019956793636083603,
0.0360729806125164,
0.014402272179722786,
-0.07559173554182053,
0.011019308120012283,
0.01431253831833601,
-0.019238922744989395,
-0.049533046782016754,
-0.0120871402323246,
-0.021751469001173973,
-0.015156036242842674,
0.08162184804677963,
0.05574262514710426,
0.03338096663355827,
0.007640831638127565,
-0.047020502388477325,
-0.005760908592492342,
-0.025699755176901817,
-0.050573959946632385,
-0.044256702065467834,
0.07211006432771683,
0.020190101116895676,
0.01871846616268158,
0.01889793388545513,
0.06320847570896149,
0.00782927218824625,
-0.02062082290649414,
0.07645317912101746,
0.009386153891682625,
0.03567815199494362,
0.007618397939950228,
-0.04185183718800545,
0.010005316697061062,
-0.039662331342697144,
-0.06094718351960182,
-0.0498201958835125,
0.01889793388545513,
-0.08183720707893372,
0.02677656151354313,
-0.04802551865577698,
0.023976866155862808,
0.041672367602586746,
-0.062167562544345856,
0.0006079463637433946,
-0.018539000302553177,
-0.0120422737672925,
0.03318355232477188,
-0.016780218109488487,
-0.04005715996026993,
-0.04806141555309296,
0.0006062638713046908,
-0.0606241449713707,
-0.012858850881457329,
0.02514340542256832,
0.00399764021858573,
-0.06805410236120224,
-0.03309381753206253,
0.016107214614748955,
-0.023456411436200142,
-0.018485158681869507,
0.04903053864836693,
-0.011082122102379799,
-0.08463690429925919,
-0.00982584897428751,
0.04928179457783699,
0.004080643877387047,
-0.003829389112070203,
0.0026583631988614798,
0.04623084515333176,
-0.06615174561738968,
-0.057142473757267,
0.0360729806125164,
0.05208148807287216,
0.03948286548256874,
-0.00403353339061141,
0.059511445462703705,
0.06195220351219177,
0.026381732895970345,
0.03765229508280754,
0.01159360446035862,
0.017184019088745117,
-0.006083950400352478,
-0.04271328076720238,
0.005092392209917307,
-0.0036095413379371166,
-0.005608361214399338,
-0.060336995869874954,
0.025592073798179626,
-0.004080643877387047,
-0.012221741490066051,
-0.007340223528444767,
-0.03689853101968765,
-0.020836183801293373,
0.007546611130237579,
-0.012930638156831264,
-0.012275581248104572,
-0.008246534503996372,
-0.07530459016561508,
-0.0754481628537178,
0.010086077265441418,
0.04113396629691124,
0.01887998729944229,
0.0556708388030529,
-0.037042103707790375,
0.05294293165206909,
-0.009933529421687126,
0.024784469977021217,
-0.003145169001072645,
0.11844859272241592,
-0.019849112257361412,
-0.030922261998057365,
-0.04903053864836693,
-0.007304329890757799,
-0.05104057490825653,
-0.006671706680208445,
-0.04551297426223755,
-0.027925152331590652,
-0.048815175890922546,
0.02959420159459114,
-0.0036364614497870207,
0.008928511291742325,
0.03047359175980091,
-0.0018877744441851974,
0.05994216725230217,
-0.03488849475979805,
-0.015909800305962563,
0.00602113688364625,
-0.024658843874931335,
-0.019149189814925194,
-0.009520754218101501,
-0.003028515260666609,
0.02945062704384327,
0.002068363595753908,
0.01975937932729721,
0.02230781875550747,
0.008381134830415249,
0.0008934119832701981,
-0.07300740480422974,
-0.0001441348867956549,
-0.007021668367087841,
0.02412044070661068,
0.06485957652330399,
0.03481670841574669,
-0.03339891508221626,
-0.02946857362985611,
0.006191630847752094,
0.029199372977018356,
-0.008883644826710224,
-0.023958919569849968,
0.00314292567782104,
-0.06765927374362946,
0.039195716381073,
0.03826248645782471,
-0.018135197460651398,
-0.024371694773435593,
0.05294293165206909,
-0.029989030212163925,
-0.010525772348046303,
0.12275581061840057,
0.03521153703331947,
-0.02681245468556881,
-0.031083781272172928,
0.0090182451531291,
-0.08966199308633804,
-0.0428568534553051,
-0.022810326889157295,
-0.07975538820028305,
-0.07035128772258759,
-0.052296847105026245,
-0.06496725976467133,
0.05355312302708626,
0.02157200127840042,
0.048743389546871185,
-0.02586127631366253,
-0.041780050843954086,
-0.007151782512664795,
0.0013000181643292308,
0.0006780509138479829,
-0.004948818124830723,
-0.04192362353205681,
-0.0206028763204813,
0.013415200635790825,
-0.04109807312488556,
0.014393298886716366,
-0.09554853290319443,
0.055814411491155624,
0.04443616792559624,
-0.054163310676813126,
0.019938847050070763,
0.040631458163261414,
0.08944663405418396,
0.027332909405231476,
0.021715575829148293,
0.019256869331002235,
0.001589409657754004,
0.03422446548938751,
0.01434843149036169,
-0.04124164581298828,
0.006191630847752094,
-0.011315429583191872,
0.019400443881750107,
0.08872876316308975,
-0.04027252271771431,
0.017596794292330742,
-0.08284223079681396,
-0.0483485609292984,
0.037221573293209076,
0.08090397715568542,
-0.0010173567570745945,
0.01525474339723587,
0.04131343215703964,
0.01831466518342495,
0.017919836565852165,
-0.035355109721422195,
-0.0012618813198059797,
0.014025390148162842,
-0.0432157889008522,
0.043359365314245224,
-0.07954002171754837,
-0.0038697693962603807,
0.013442120514810085,
0.06353151798248291,
-0.05204559490084648,
-0.0011699041351675987,
-0.026399679481983185,
-0.01773139461874962,
0.037042103707790375,
0.006595433223992586,
0.0267406664788723,
-0.09619461745023727,
0.03819069638848305,
0.021751469001173973,
-0.00804014690220356,
-0.03732925280928612,
0.022702647373080254,
-0.03190933167934418,
0.03234005346894264,
-0.0161161869764328,
0.03040180541574955,
0.017614740878343582,
0.04091860353946686,
0.012455048970878124,
0.02948652021586895,
-0.07020770758390427,
-0.013917709700763226,
0.001540056080557406,
-0.04766658693552017,
-0.049712516367435455,
-0.006819767411798239,
0.02334873005747795,
0.02767389826476574,
-0.03483465313911438,
-0.006765927188098431,
0.04580012336373329,
-0.0031249788589775562,
-0.009260525926947594,
0.02772773802280426,
-0.012401208281517029,
-0.05007145181298256,
-0.019346604123711586,
0.0032887430861592293,
0.041672367602586746,
0.023007741197943687,
0.04565654695034027,
-0.0250895656645298,
0.02401275932788849,
-0.060336995869874954,
0.008156800642609596,
0.010705240070819855,
-0.014653526246547699,
0.023043634369969368,
0.04580012336373329,
0.03485260158777237,
0.006164710968732834,
0.0037194653414189816,
-0.04529761150479317,
-0.01796470396220684,
-0.01171923242509365,
-0.07336634397506714,
-0.01704941876232624,
-0.018628733232617378,
0.018117250874638557,
-0.01877230778336525,
-0.030742794275283813,
0.008578549139201641,
0.02413838729262352,
0.022612912580370903,
-0.027978993952274323,
0.007429957389831543,
-0.057644981890916824,
0.07630960643291473,
0.019902952015399933,
0.0073716300539672375,
0.003349313512444496,
0.05671175196766853,
-0.003943799529224634,
0.00580577552318573,
0.010229650884866714,
0.03237595036625862,
-0.05369669571518898,
-0.04630263149738312,
-0.0016107213450595737,
0.048671603202819824,
0.008138854056596756,
0.022684700787067413,
0.016690483316779137,
0.041780050843954086,
0.021069491282105446,
-0.00010052987636299804,
0.05918840318918228,
-0.011521817184984684,
-0.003169845789670944,
-0.04009305313229561,
0.013083185069262981,
0.040595561265945435,
0.023043634369969368,
0.018054436892271042,
0.03609092906117439,
0.03829837962985039,
-0.020943865180015564,
-0.035265374928712845,
0.0034525073133409023,
0.03761640191078186,
0.008116420358419418,
0.046051375567913055,
-0.045118145644664764,
-0.03300408646464348,
0.06769516319036484,
0.0044732289388775826,
-0.003961746580898762,
0.004172620829194784,
0.03415267914533615,
0.050466280430555344,
-0.031065834686160088,
-0.06905911862850189,
0.03646780923008919,
0.10552693158388138,
0.059475552290678024,
0.023025687783956528,
-0.02056698314845562,
0.008448435924947262,
0.02042340859770775,
-0.04386187344789505,
-0.06625942140817642,
0.013926682993769646,
-0.0019842381589114666,
0.017219912260770798,
-0.027943098917603493,
0.0005928038153797388,
0.00873558409512043,
-0.008053607307374477,
-0.011432084254920483,
-0.005231479648500681,
0.04407723248004913,
-0.013890789821743965,
-0.008946457877755165,
-0.03923160955309868,
0.01302037201821804,
0.026094583794474602,
0.012132007628679276,
-0.041672367602586746,
-0.02250523306429386,
-0.02228987216949463,
-0.030222337692975998,
0.012912691570818424,
-0.03027617745101452,
-0.06783873587846756,
-0.023043634369969368,
-0.010139917023479939,
0.01880820095539093,
-0.037257466465234756,
0.02058492973446846,
0.033524539321660995,
-0.0043094647116959095,
0.06475190073251724,
-0.018592840060591698,
0.001103164628148079,
-0.0007464729133062065,
0.00036033723154105246,
0.020046526566147804,
-0.028391769155859947,
-0.006128817331045866,
-0.007039615418761969,
0.0007100185612216592,
-0.021231012418866158,
0.04558476060628891,
-0.029217319563031197,
-0.03592940792441368,
0.019885005429387093,
0.01079497393220663,
0.019346604123711586,
-0.02406660094857216,
-0.009700221940875053,
-0.023079529404640198,
-0.06769516319036484,
-0.02876865118741989,
0.01820698380470276,
-0.0020762153435498476,
0.024856258183717728,
0.038980353623628616,
-0.02503572590649128,
-0.047020502388477325,
0.0036185148637741804,
0.030940208584070206,
-0.021930936723947525,
-0.021033598110079765,
-0.015721358358860016,
-0.011297482997179031,
0.014159990474581718,
0.018233904615044594,
0.046948716044425964,
0.029325000941753387,
-0.03300408646464348,
0.033416859805583954,
0.0045427726581692696,
-0.0025461961049586535,
0.038800887763500214,
0.044113125652074814,
0.0012674896279349923,
0.012203793972730637,
-0.05509654060006142,
0.05028681084513664,
-0.03054537996649742,
-0.02848150208592415,
-0.029001958668231964,
0.01255375612527132,
0.024551162496209145,
-0.0026336864102631807,
0.008448435924947262,
0.06112665310502052,
-0.05829106643795967,
0.007102428935468197,
-0.0466974601149559,
-0.030904315412044525,
0.0067569538950920105,
0.04414902254939079,
-0.0629931166768074,
0.0068960413336753845,
-0.04641031101346016,
0.022953901439905167,
0.053265973925590515,
-0.04045198857784271,
-0.048671603202819824,
0.012374288402497768,
-0.006595433223992586,
-0.023007741197943687,
-0.0017711204709485173,
0.008300375193357468,
0.02042340859770775,
-0.015775198116898537,
0.04142111539840698,
0.013908736407756805,
0.0346192941069603,
0.025286979973316193,
0.04005715996026993,
-0.0250895656645298,
-0.021769415587186813,
0.0758071020245552,
-0.035283323377370834,
-0.017282726243138313,
0.0120422737672925,
0.052476316690444946,
-0.0012573946733027697,
-0.02221808396279812,
-0.019490176811814308,
0.06999234855175018,
0.012194820679724216,
-0.006905014626681805,
0.024730630218982697,
0.02496393769979477,
0.046984609216451645,
-0.04838445410132408,
-0.020836183801293373,
-0.01435740478336811,
0.002299428218975663,
0.05527601018548012,
-0.010355278849601746,
-0.010669346898794174,
-0.003282013116404414,
0.010032236576080322,
-0.01643025502562523,
0.01743527315557003,
0.04181594401597977,
-0.021643787622451782,
-0.015900826081633568,
-0.03336302191019058,
-0.05089700222015381,
-0.03320150077342987,
-0.04849213734269142,
0.05642460286617279,
0.006160224322229624,
-0.0430363230407238,
0.02243344485759735,
-0.024748576804995537,
-0.036108873784542084,
0.035444844514131546,
-0.03321944549679756,
-0.03411678224802017,
-0.047810159623622894,
0.030024923384189606,
-0.03612682223320007,
0.02695602737367153,
0.03481670841574669,
-0.03729335963726044,
-0.03320150077342987,
0.07286383211612701,
0.0035983247216790915,
-0.06679783016443253,
0.0164840966463089,
0.014994515106081963,
-0.010929574258625507,
0.037831760942935944,
-0.04170826077461243,
0.06500314921140671,
0.009888662956655025,
-0.014106150716543198,
-0.028104620054364204,
-0.04300042986869812,
0.010660373605787754,
-0.019131243228912354,
0.0011098947143182158,
-0.00036874975194223225,
0.02329489029943943,
-0.04361061751842499,
-0.024335801601409912,
-0.0395546518266201,
0.02783541940152645,
0.020764397457242012,
-0.019956793636083603,
0.012149954214692116,
0.0011059688404202461,
0.07250489294528961,
-0.005433380603790283,
0.05125593766570091,
-0.011970486491918564,
-0.02236165851354599,
0.05462992563843727,
-0.009233606047928333,
-0.01155771128833294,
0.05100468173623085,
0.03307587280869484,
-0.03729335963726044,
0.016277708113193512,
0.01161155104637146,
-0.049640730023384094,
-0.007290869951248169,
0.042641494423151016,
-0.00980790238827467,
0.017686529085040092,
-0.03153245151042938,
0.0034368038177490234,
-0.0324118435382843,
0.032645151019096375,
0.05075342580676079,
-0.04224666580557823,
0.00933231320232153,
0.036360129714012146,
0.03128119558095932,
0.016690483316779137,
0.02221808396279812,
0.02778157964348793,
0.026112530380487442,
-0.03582172468304634,
-0.0017946755979210138,
0.030222337692975998,
-0.0413852222263813,
-0.028284087777137756,
-0.021697629243135452,
-0.030976101756095886,
-0.016340522095561028,
0.014617633074522018,
0.017955729737877846,
-0.016107214614748955,
0.01206919364631176,
0.022900061681866646,
-0.010615506209433079,
0.013666454702615738,
-0.10739339143037796,
0.017426300793886185,
-0.04773837327957153,
-0.023025687783956528,
0.03214263916015625,
-0.022666754201054573,
-0.0913848802447319,
0.0175788477063179,
0.05175844579935074,
0.028230248019099236,
0.0010840962640941143,
-0.01593671925365925,
0.01669945754110813,
0.01302037201821804,
-0.005814749281853437,
0.051471296697854996,
0.013675427995622158,
-0.016053372994065285,
-0.004989198409020901,
0.08549834787845612,
-0.01156668458133936,
0.02141048014163971,
0.06992056220769882,
0.05423509702086449,
-0.05545547604560852,
0.023097475990653038,
0.06105486676096916,
0.0395546518266201,
0.019885005429387093,
-0.04472331702709198,
0.052260953933000565,
-0.03844195231795311,
-0.014025390148162842,
-0.005253912881016731,
-0.015523944050073624,
-0.006223037838935852,
-0.003041975200176239,
-0.001575949601829052,
0.029719829559326172,
0.010480905883014202,
0.010445012710988522,
0.009538700804114342,
0.019220976158976555,
-0.0606241449713707,
0.009547674097120762,
-0.019867058843374252,
-0.03492438793182373,
-0.027225229889154434,
-0.061306118965148926,
-0.008829804137349129,
0.05624513328075409,
0.006187144201248884,
0.004868057556450367,
0.007959386333823204,
0.02853534184396267,
-0.04414902254939079,
-0.02604074403643608,
0.038908567279577255,
-0.025484394282102585,
0.028894277289509773,
0.00026850029826164246,
0.062131669372320175,
0.037113893777132034,
-0.028266141191124916,
0.013926682993769646,
-0.014079230837523937,
0.00980790238827467,
0.0015624894294887781,
0.015389343723654747,
0.044292595237493515,
0.0077888923697173595,
-0.07225364446640015,
0.003806955646723509,
-0.0017442003590986133,
-0.0018148657400161028,
-0.016816111281514168,
0.01893382892012596,
-0.02146431989967823,
0.01743527315557003
] |
725,738 | zep_python.memory.models | Summary |
Represents a summary of a conversation.
Attributes
----------
uuid : str
The unique identifier of the summary.
created_at : str
The timestamp of when the summary was created.
content : str
The content of the summary.
recent_message_uuid : str
The unique identifier of the most recent message in the conversation.
token_count : int
The number of tokens in the summary.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the summary.
| class Summary(BaseModel):
"""
Represents a summary of a conversation.
Attributes
----------
uuid : str
The unique identifier of the summary.
created_at : str
The timestamp of when the summary was created.
content : str
The content of the summary.
recent_message_uuid : str
The unique identifier of the most recent message in the conversation.
token_count : int
The number of tokens in the summary.
Methods
-------
to_dict() -> Dict[str, Any]:
Returns a dictionary representation of the summary.
"""
uuid: str = Field("A uuid is required")
created_at: str = Field("A created_at is required")
content: str = Field("Content is required")
recent_message_uuid: str = Field("A recent_message_uuid is required")
token_count: int = Field("A token_count is required")
def to_dict(self) -> Dict[str, Any]:
"""
Returns a dictionary representation of the summary.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the summary.
"""
return self.dict()
| (*, uuid: str = 'A uuid is required', created_at: str = 'A created_at is required', content: str = 'Content is required', recent_message_uuid: str = 'A recent_message_uuid is required', token_count: int = 'A token_count is required') -> None | [
-0.05148075148463249,
-0.06070064753293991,
-0.045130860060453415,
-0.004722058307379484,
0.0210945513099432,
-0.06794741749763489,
-0.013399345800280571,
-0.03508583456277847,
0.005829701665788889,
-0.00956071075052023,
-0.03939084708690643,
0.02339055761694908,
0.013515939004719257,
0.045274361968040466,
-0.0005891362088732421,
0.045668985694646835,
0.034996148198843,
-0.04990224912762642,
0.02629643864929676,
-0.008825271390378475,
0.026350252330303192,
-0.024753810837864876,
-0.0282695684581995,
0.07250355184078217,
0.011569716036319733,
-0.012403811328113079,
0.015103411860764027,
-0.026170875877141953,
0.0016816447023302317,
0.013372438959777355,
-0.020233549177646637,
-0.05277225375175476,
0.038816846907138824,
0.044951483607292175,
-0.0670146644115448,
-0.05424313247203827,
-0.037919968366622925,
0.013802940025925636,
-0.11451327800750732,
-0.004020252265036106,
0.009175053797662258,
0.05119375139474869,
-0.039211470633745193,
-0.01319306343793869,
0.030673200264573097,
-0.012484530918300152,
0.04265547916293144,
0.043875232338905334,
-0.003941775299608707,
-0.03069113753736019,
-0.03157007694244385,
0.03609033674001694,
-0.042081478983163834,
0.05004574730992317,
-0.025883875787258148,
-0.06181277707219124,
-0.021471239626407623,
0.060054898262023926,
-0.021668553352355957,
0.0661177858710289,
-0.03198264166712761,
0.06669178605079651,
0.02069992572069168,
-0.018601233139634132,
-0.000788130855653435,
-0.0003654774627648294,
-0.04380348324775696,
-0.0058969673700630665,
0.024843499064445496,
-0.017426323145627975,
0.01225134264677763,
-0.03273601830005646,
0.03788409382104874,
0.11221727728843689,
0.02136361412703991,
-0.06364240497350693,
0.005677232518792152,
0.018798546865582466,
0.043157730251550674,
-0.05137312784790993,
0.03982134908437729,
-0.010574182495474815,
-0.025363687425851822,
-0.04000072181224823,
0.007636909373104572,
-0.03456564620137215,
0.03521139919757843,
-0.013049563392996788,
-0.016977885738015175,
-0.00924680382013321,
-0.03431452065706253,
0.06138227507472038,
-0.051050249487161636,
0.03185707703232765,
-0.0015235701575875282,
-0.022601304575800896,
-0.05589338764548302,
-0.007394752465188503,
-0.03515758737921715,
-0.0034709146711975336,
-0.05237763002514839,
0.05262875556945801,
-0.09614523500204086,
0.020807551220059395,
-0.04645824059844017,
-0.043301232159137726,
-0.01395540963858366,
-0.039893098175525665,
0.0224398672580719,
0.036215901374816895,
-0.034691210836172104,
0.0520547516644001,
-0.04147160053253174,
0.018601233139634132,
0.02441299706697464,
-0.041328102350234985,
0.037202466279268265,
0.021399490535259247,
-0.039713721722364426,
-0.02893325872719288,
0.01756085641682148,
0.0065516880713403225,
-0.038996219635009766,
0.02132773958146572,
-0.0063812811858952045,
0.05381263047456741,
0.011139214970171452,
-0.0487542450428009,
0.05661088973283768,
-0.022296367213129997,
-0.07885344326496124,
-0.039211470633745193,
0.06375002861022949,
0.007300580386072397,
0.048538994044065475,
0.0023901776876300573,
0.05241350457072258,
0.00023220710863824934,
-0.011103339493274689,
0.11315003037452698,
0.02114836499094963,
0.05259287729859352,
0.04825199395418167,
-0.03454770892858505,
-0.0035404227674007416,
-0.03009919822216034,
-0.031875014305114746,
-0.005905936472117901,
-0.007242283318191767,
-0.051983002573251724,
-0.0012365694856271148,
-0.041148725897073746,
0.030673200264573097,
0.0538485087454319,
0.01063696388155222,
0.025058748200535774,
0.00965039897710085,
-0.04617123678326607,
-0.008246785961091518,
-0.02172236517071724,
0.010215431451797485,
-0.015103411860764027,
0.06507740914821625,
-0.047103989869356155,
-0.021309802308678627,
0.020897239446640015,
0.03128307685256004,
-0.07705968618392944,
-0.06529265642166138,
0.00843513011932373,
-0.06855729222297668,
-0.03148039057850838,
-0.006547203753143549,
0.026081189513206482,
-0.04850311949849129,
0.04380348324775696,
0.020951051265001297,
0.057184889912605286,
0.00037052237894386053,
-0.0064889066852629185,
0.029363758862018585,
-0.041184600442647934,
-0.055391136556863785,
-0.009713180363178253,
-0.00563238887116313,
-0.006125671323388815,
-0.02396455965936184,
0.011713216081261635,
0.024610310792922974,
0.01121993362903595,
0.054494258016347885,
0.020036237314343452,
0.02061023749411106,
0.0019361336017027497,
-0.03395577147603035,
0.006493391003459692,
-0.036628466099500656,
-0.013856752775609493,
-0.007157079875469208,
0.010699745267629623,
-0.0032982658594846725,
-0.028646258637309074,
0.014798473566770554,
0.01451147347688675,
-0.018081044778227806,
0.010439650155603886,
-0.01980304904282093,
0.014915067702531815,
-0.04541786015033722,
-0.06794741749763489,
-0.025722438469529152,
0.0034709146711975336,
-0.01591956987977028,
0.030744951218366623,
0.04792911931872368,
-0.08861146867275238,
0.05531938746571541,
-0.022027304396033287,
-0.0031256170477718115,
-0.04028772562742233,
0.11042352020740509,
-0.05639563873410225,
-0.01744426228106022,
-0.02539956197142601,
-0.025560999289155006,
0.014502503909170628,
0.017785074189305305,
-0.0403953492641449,
0.0044664484448730946,
-0.05496063455939293,
0.008399254642426968,
-0.05517588555812836,
-0.03759709373116493,
0.07171430438756943,
-0.03275395557284355,
0.016915103420615196,
-0.04581248760223389,
0.001780301216058433,
0.023013869300484657,
-0.035049960017204285,
0.0012074209516867995,
0.0029283040203154087,
0.001789269968867302,
0.06357065588235855,
0.005914905108511448,
-0.05406375601887703,
0.013237907551229,
-0.030852574855089188,
-0.017722293734550476,
-0.028502756729722023,
0.019408423453569412,
-0.02159680239856243,
0.0184039194136858,
0.04717573896050453,
0.0341172069311142,
-0.04681698977947235,
-0.036664340645074844,
-0.03763296827673912,
0.027839068323373795,
-0.0433729812502861,
0.0160092581063509,
-0.03655671328306198,
-0.041363976895809174,
0.08114945143461227,
0.012493499554693699,
-0.025381624698638916,
-0.014843317680060863,
0.026852503418922424,
-0.010340994223952293,
-0.0023273963015526533,
0.07849469035863876,
-0.02019767463207245,
0.0097221489995718,
-0.05707726627588272,
-0.0370948426425457,
-0.04703224077820778,
-0.026224689558148384,
-0.01588369533419609,
-0.044556859880685806,
-0.026673128828406334,
-0.026762815192341805,
-0.059373270720243454,
0.03284364193677902,
-0.007618971634656191,
0.10188525170087814,
0.020681988447904587,
0.0011547293979674578,
-0.0010762526653707027,
-0.0598396472632885,
-0.03691546618938446,
0.02997363545000553,
-0.005901452153921127,
0.010780463926494122,
-0.019336672499775887,
-0.033256206661462784,
-0.003114406019449234,
-0.05815351754426956,
0.06812679022550583,
0.023713432252407074,
-0.03752534091472626,
0.003302750177681446,
0.047821491956710815,
0.12018154561519623,
0.002408115193247795,
-0.04932824522256851,
0.008919443935155869,
0.010376868769526482,
0.0009181780042126775,
0.03655671328306198,
-0.03698721528053284,
-0.030224760994315147,
0.06109527498483658,
0.07070979475975037,
0.08631546050310135,
-0.03652083873748779,
0.04505911096930504,
-0.05065562576055527,
-0.01711241714656353,
0.04287073016166687,
0.0679115429520607,
-0.008161582052707672,
0.0027735927142202854,
0.022116992622613907,
0.012260311283171177,
0.03849396854639053,
-0.06758866459131241,
-0.01256524957716465,
-0.021381553262472153,
0.010179555974900723,
-0.0007948573911562562,
-0.010179555974900723,
-0.03831459581851959,
0.06593841314315796,
0.037381842732429504,
-0.08423470705747604,
0.001105401199311018,
0.01863710768520832,
-0.025291936472058296,
0.007237798999994993,
-0.0063812811858952045,
0.010645932517945766,
-0.055211760103702545,
0.025955626741051674,
0.02315736934542656,
0.016439758241176605,
-0.026493752375245094,
0.028018442913889885,
-0.02943550981581211,
0.03408133238554001,
-0.05783064290881157,
-0.007569643668830395,
0.005107715725898743,
0.062422651797533035,
0.043121855705976486,
0.04107697680592537,
-0.004244471434503794,
0.0020863604731857777,
-0.030852574855089188,
-0.014439722523093224,
-0.04050297290086746,
-0.004343127831816673,
-0.000423774472437799,
0.014170659705996513,
-0.030834637582302094,
-0.00008849655569065362,
0.06084414944052696,
-0.0020224580075591803,
0.0016244688304141164,
0.03856572136282921,
-0.00196640333160758,
-0.019282860681414604,
-0.013211000710725784,
-0.036180026829242706,
0.030081260949373245,
-0.007139142602682114,
0.01567741297185421,
-0.045489612966775894,
0.04828786849975586,
-0.0810777023434639,
0.007206408306956291,
0.024699997156858444,
0.01319306343793869,
-0.0006009077187627554,
0.053202755749225616,
0.031695641577243805,
-0.002432779408991337,
0.03418895974755287,
-0.029668698087334633,
-0.052664630115032196,
-0.012699780985713005,
-0.02312149479985237,
-0.02073580026626587,
-0.06866491585969925,
0.0225833673030138,
-0.05725663900375366,
-0.07576818764209747,
-0.005340903531759977,
0.012807406485080719,
0.017166228964924812,
-0.05524763464927673,
0.025973564013838768,
-0.07964269816875458,
0.056539136916399,
-0.02001829817891121,
-0.017668480053544044,
-0.0017511526821181178,
0.020897239446640015,
-0.028879445046186447,
0.013031626120209694,
0.01956986077129841,
0.06367827951908112,
-0.03957022354006767,
-0.02437712252140045,
-0.002690631663426757,
0.023946620523929596,
-0.008412708528339863,
0.04430573433637619,
-0.013991284184157848,
-0.012699780985713005,
0.018888233229517937,
0.03456564620137215,
0.058081768453121185,
0.04735511541366577,
0.008269207552075386,
-0.027175379917025566,
-0.011838778853416443,
-0.00940824206918478,
0.002704084850847721,
0.0451667346060276,
0.012529374100267887,
0.024807622656226158,
-0.008762490004301071,
-0.043121855705976486,
-0.025291936472058296,
0.01449353527277708,
-0.01962367258965969,
0.02168649062514305,
-0.0759834349155426,
-0.007058423478156328,
0.06945417076349258,
0.004717573989182711,
-0.00537677900865674,
0.04505911096930504,
-0.004748964682221413,
0.010888089425861835,
-0.027175379917025566,
-0.03239520266652107,
0.01594647578895092,
0.02803638204932213,
0.029489321634173393,
0.02809019386768341,
0.007363361772149801,
0.0415792278945446,
0.01621554046869278,
-0.03664640337228775,
-0.06827029585838318,
0.028323382139205933,
-0.03521139919757843,
0.007242283318191767,
0.005143590737134218,
0.00454716756939888,
-0.014906099066138268,
-0.0466734878718853,
0.026583440601825714,
-0.024574434384703636,
-0.012107842601835728,
-0.012628030963242054,
-0.044556859880685806,
-0.07343630492687225,
0.043875232338905334,
0.04774974286556244,
0.00951586663722992,
-0.0019540712237358093,
-0.022960055619478226,
-0.025991501286625862,
0.0024193262215703726,
0.045489612966775894,
-0.04412635788321495,
-0.07784894108772278,
-0.013569751754403114,
0.02530987374484539,
-0.05438663437962532,
-0.030583512037992477,
0.012699780985713005,
0.015776069834828377,
0.06464690715074539,
0.011471059173345566,
-0.017524980008602142,
0.034996148198843,
-0.009892555885016918,
-0.03377639502286911,
0.013345533050596714,
0.008296114392578602,
-0.008134676143527031,
-0.004479901399463415,
0.027426505461335182,
-0.012915031984448433,
0.0658307895064354,
-0.04032360017299652,
-0.03802759200334549,
0.02509462460875511,
-0.03027857467532158,
0.00630504684522748,
-0.01442178525030613,
0.023408494889736176,
-0.01672676019370556,
-0.02642200142145157,
-0.015578757040202618,
0.02853863313794136,
-0.04649411514401436,
-0.01314821932464838,
0.019964486360549927,
-0.0061077335849404335,
0.006798329297453165,
-0.007331971079111099,
-0.004910402465611696,
-0.022780681028962135,
0.003988861571997404,
-0.00895980279892683,
-0.0358930267393589,
0.004159267991781235,
0.03741771727800369,
-0.00558754475787282,
0.03461946174502373,
-0.02965076081454754,
0.042978353798389435,
-0.02055642567574978,
-0.005098747089505196,
0.02423362247645855,
0.027336817234754562,
0.05585751309990883,
0.013112344779074192,
-0.0028722493443638086,
0.03135482594370842,
-0.014278285205364227,
0.0296148844063282,
-0.018170731142163277,
-0.016170695424079895,
-0.04053885117173195,
0.017390448600053787,
0.00397989246994257,
0.005080809351056814,
-0.04509498551487923,
0.0022466774098575115,
0.004383487161248922,
0.05363325774669647,
0.009390303865075111,
0.048395492136478424,
-0.029812198132276535,
-0.015901632606983185,
-0.046924613416194916,
0.024538559839129448,
-0.005923873744904995,
-0.044951483607292175,
-0.015220005996525288,
0.05969614535570145,
-0.04893362149596214,
-0.025363687425851822,
0.07164254784584045,
-0.014054065570235252,
0.013112344779074192,
-0.0198927354067564,
0.05492476001381874,
0.05044037476181984,
-0.019336672499775887,
0.06504153460264206,
-0.0019137117778882384,
-0.007201923988759518,
-0.07203717529773712,
0.01165043469518423,
-0.03526521101593971,
-0.001243295962922275,
0.008013597689568996,
0.04412635788321495,
0.042045604437589645,
0.008116738870739937,
-0.023731371387839317,
0.03842221945524216,
0.001987704075872898,
0.005233278498053551,
-0.01093293260782957,
0.031516265124082565,
0.07002817094326019,
-0.06769628822803497,
-0.025919750332832336,
-0.001858777948655188,
-0.05090675130486488,
0.012000217102468014,
0.04452098533511162,
0.010645932517945766,
0.029937760904431343,
0.011587653309106827,
-0.007677268702536821,
0.01717519760131836,
0.03967784717679024,
0.008802849799394608,
-0.02943550981581211,
-0.06905954331159592,
-0.02701394073665142,
-0.01753394864499569,
-0.03372258320450783,
0.054637759923934937,
-0.04093347489833832,
0.013991284184157848,
0.04028772562742233,
0.004928340204060078,
-0.01992861181497574,
0.06249440461397171,
-0.007314033340662718,
0.0001007585451588966,
-0.031014014035463333,
0.026457877829670906,
-0.029507260769605637,
0.011713216081261635,
0.036843717098236084,
-0.07497893273830414,
-0.012089904397726059,
0.04251198098063469,
0.010018118657171726,
-0.055391136556863785,
0.056646764278411865,
0.002829647623002529,
-0.027892880141735077,
0.032359328120946884,
-0.04416223242878914,
0.08545445650815964,
-0.01956986077129841,
-0.04559723660349846,
-0.026942191645503044,
-0.05589338764548302,
0.019946549087762833,
-0.012045061215758324,
0.018179701641201973,
-0.003011265303939581,
0.025543062016367912,
-0.012000217102468014,
0.02145330235362053,
0.0015717772766947746,
0.013103376142680645,
0.034063395112752914,
-0.01509444322437048,
-0.031372763216495514,
-0.035910964012145996,
0.03668227791786194,
-0.03691546618938446,
0.05614451318979263,
-0.027785256505012512,
-0.04419810697436333,
0.026529626920819283,
0.010089868679642677,
-0.018655044957995415,
0.040610600262880325,
0.02764175459742546,
-0.05851226672530174,
0.03695134073495865,
0.03158801421523094,
-0.02803638204932213,
-0.0013273782096803188,
0.03705896437168121,
0.0005434515187516809,
-0.016771603375673294,
-0.01478053629398346,
0.03777646645903587,
-0.04021597281098366,
0.0005773646989837289,
0.05470950901508331,
-0.043301232159137726,
0.006439578253775835,
0.009013615548610687,
0.03278983011841774,
0.03748946636915207,
0.07160667330026627,
0.06019839644432068,
-0.0004632931377273053,
-0.021919678896665573,
0.07232417911291122,
0.046565864235162735,
0.04021597281098366,
-0.0033318987116217613,
-0.049830496311187744,
0.04520260915160179,
0.0001463030930608511,
-0.026135001331567764,
0.05506826192140579,
-0.007654847111552954,
0.013605627231299877,
-0.041866227984428406,
-0.008457551710307598,
-0.024000434204936028,
-0.059911396354436874,
0.006058405619114637,
-0.06428815424442291,
-0.031229263171553612,
-0.003452977165579796,
-0.0038408765103667974,
-0.0303682629019022,
-0.05417138338088989,
-0.0014506988227367401,
0.012574218213558197,
-0.03345352038741112,
0.022027304396033287,
-0.005444044712930918,
0.022152867168188095,
-0.001246659317985177,
0.02938169613480568,
0.039893098175525665,
-0.02172236517071724,
0.026188815012574196,
0.08265620470046997,
0.005233278498053551,
0.04595598950982094,
0.07279055565595627,
-0.003811728209257126,
-0.029327884316444397,
0.04922062158584595,
0.04290660470724106,
0.07228830456733704,
0.0691312924027443,
-0.024251559749245644,
-0.004887980874627829,
0.0005044934223406017,
0.01097777672111988,
0.023982496932148933,
-0.0043094949796795845,
0.02848481945693493,
0.014359003864228725,
0.01713932305574417,
0.013318626210093498,
-0.00019535106548573822,
-0.037740591913461685,
0.05517588555812836,
0.001651375088840723,
-0.0412922278046608,
-0.008260238915681839,
0.026099126785993576,
-0.0016603439580649137,
0.016412852331995964,
-0.022188741713762283,
0.03189295157790184,
0.017462199553847313,
-0.0018576568691059947,
-0.0010891451966017485,
0.010941902175545692,
0.032682206481695175,
-0.048538994044065475,
-0.03835047036409378,
0.05478125810623169,
0.002238829620182514,
-0.013426251709461212,
-0.02495112456381321,
0.06464690715074539,
0.02758794277906418,
-0.03512171283364296,
-0.012062998488545418,
0.017964450642466545,
-0.01162352878600359,
0.026224689558148384,
-0.018197638913989067,
0.03435039520263672,
-0.024179808795452118,
0.025202250108122826,
-0.06841379404067993,
0.02871800772845745,
0.01478053629398346,
-0.015695350244641304,
0.06418053060770035,
-0.007910456508398056,
0.036036524921655655
] |
725,760 | zep_python.memory.models | to_dict |
Returns a dictionary representation of the summary.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the summary.
| def to_dict(self) -> Dict[str, Any]:
"""
Returns a dictionary representation of the summary.
Returns
-------
Dict[str, Any]
A dictionary containing the attributes of the summary.
"""
return self.dict()
| (self) -> Dict[str, Any] | [
-0.028562597930431366,
-0.03259726241230965,
0.04692299664020538,
-0.03792942315340042,
0.01705402135848999,
-0.03302383795380592,
-0.006971797440201044,
-0.0020617679692804813,
0.0181826613843441,
-0.018102679401636124,
-0.03570768982172012,
-0.01137527171522379,
0.027105139568448067,
0.011926261708140373,
0.004785612691193819,
0.005376593209803104,
0.023497046902775764,
-0.044683489948511124,
-0.03209959715604782,
0.01390804722905159,
0.00841592438519001,
-0.03083765134215355,
-0.0037658370565623045,
0.03176189213991165,
-0.02568323165178299,
-0.007456135470420122,
0.03478344902396202,
-0.06419919431209564,
0.020137786865234375,
0.02511446736752987,
-0.0669008195400238,
-0.04304829612374306,
0.020368846133351326,
0.060502227395772934,
-0.027727225795388222,
0.017427273094654083,
-0.029415743425488472,
0.006376373115926981,
-0.07550337165594101,
0.012103999964892864,
-0.042124055325984955,
0.040453311055898666,
-0.08111990988254547,
-0.019480153918266296,
0.04798942804336548,
-0.0037502849008888006,
0.04674525931477547,
-0.008455915376543999,
0.035210020840168,
-0.06846491992473602,
0.009464581497013569,
0.01951570063829422,
-0.006216408219188452,
0.06501679122447968,
-0.03355705365538597,
-0.05136646330356598,
0.010797621682286263,
0.035281118005514145,
-0.004125758074223995,
0.06494569033384323,
-0.03732511028647423,
0.030766556039452553,
0.01486783567816019,
-0.055809929966926575,
-0.01726730726659298,
-0.006745181046426296,
-0.0655144602060318,
0.006554111838340759,
0.011010907590389252,
-0.027904964983463287,
0.04198186472058296,
-0.04692299664020538,
0.02166633866727352,
0.075787752866745,
0.006158643402159214,
-0.036276452243328094,
-0.032135143876075745,
-0.05563218891620636,
0.026109803467988968,
-0.036152034997940063,
-0.0303044356405735,
0.013374831527471542,
-0.02166633866727352,
-0.0017662775935605168,
0.0051766373217105865,
-0.035174474120140076,
0.009233521297574043,
0.0071406494826078415,
-0.027282878756523132,
0.03489009290933609,
-0.006860711146146059,
0.07141537964344025,
-0.02433241717517376,
0.05438802018761635,
0.0032570604234933853,
-0.05150865390896797,
-0.0325261689722538,
-0.009189086966216564,
0.009304617531597614,
-0.012486138381063938,
-0.03233065456151962,
0.03611648827791214,
-0.027407296001911163,
0.03480122238397598,
-0.03917359188199043,
-0.05037112534046173,
0.0181826613843441,
-0.05264618247747421,
0.026767436414957047,
0.03417913615703583,
-0.035210020840168,
0.020244428887963295,
-0.03378811106085777,
-0.006465242709964514,
0.056805264204740524,
-0.029877863824367523,
0.035387761890888214,
-0.017889393493533134,
-0.033041611313819885,
-0.024065809324383736,
-0.018031584098935127,
0.06124873086810112,
0.002519445028156042,
0.039777904748916626,
-0.0004985012928955257,
0.033130478113889694,
-0.028633693233132362,
-0.005767618305981159,
0.07607213407754898,
0.014761192724108696,
0.009624546393752098,
-0.05797833949327469,
0.004036888480186462,
0.023283759132027626,
0.06334604322910309,
-0.022146232426166534,
0.09142874926328659,
0.02939796820282936,
0.02490118145942688,
0.09668981283903122,
0.049766816198825836,
0.02164856530725956,
-0.0024594583082944155,
-0.002754948800429702,
0.009064669720828533,
-0.06291947513818741,
-0.0283848587423563,
0.032810550183057785,
-0.05865374580025673,
-0.06206632778048515,
0.024048035964369774,
-0.028900301083922386,
0.034161362797021866,
-0.021506372839212418,
0.015872059389948845,
-0.02143527753651142,
0.025843195617198944,
-0.045821018517017365,
-0.004243509843945503,
-0.03343263640999794,
-0.01985340379178524,
0.003694741753861308,
0.05627204850316048,
-0.04966017231345177,
0.00028007719083689153,
0.04770504683256149,
0.03828490152955055,
-0.03425023332238197,
-0.023710332810878754,
-0.05527671426534653,
-0.07230406999588013,
-0.055347807705402374,
-0.04475458711385727,
0.029238004237413406,
-0.04333267733454704,
0.058369364589452744,
0.053463779389858246,
0.09839610010385513,
0.0020584354642778635,
0.02648305520415306,
0.052326250821352005,
-0.05833381786942482,
-0.11026903986930847,
0.026340864598751068,
0.01323264092206955,
-0.04816716909408569,
0.006669641938060522,
0.01066431775689125,
0.008882488124072552,
0.019124675542116165,
0.06238625943660736,
0.01919577084481716,
-0.02658969908952713,
0.015552129596471786,
0.0007348381332121789,
-0.07137983292341232,
-0.022128459066152573,
-0.01294825877994299,
-0.01613866724073887,
0.02513224259018898,
0.019426831975579262,
-0.004227957688271999,
0.004081323277205229,
0.04670971259474754,
0.01228173915296793,
-0.006909589283168316,
-0.03917359188199043,
-0.011721862480044365,
-0.010637656785547733,
0.0024105801712721586,
0.004427913576364517,
-0.023265985772013664,
-0.016751864925026894,
-0.007131762336939573,
0.04240843653678894,
-0.0664386972784996,
0.04198186472058296,
-0.00858921930193901,
-0.009180200286209583,
-0.016974039375782013,
0.03309493139386177,
-0.0361342616379261,
0.00825595948845148,
-0.033361539244651794,
-0.019888952374458313,
-0.004065771121531725,
0.028207119554281235,
-0.03579656034708023,
-0.012939372099936008,
-0.04599875584244728,
0.017320629209280014,
-0.07145092636346817,
-0.01307267602533102,
0.024065809324383736,
0.010744299739599228,
0.01182850543409586,
-0.03531666472554207,
0.0028638136573135853,
-0.00036464189179241657,
-0.04027557373046875,
0.04777614399790764,
0.008891374804079533,
0.010690978728234768,
0.06615431606769562,
-0.0518641322851181,
-0.0417330302298069,
0.03499673679471016,
0.038071613758802414,
0.008402593433856964,
-0.03128199651837349,
0.05101098492741585,
-0.02994895912706852,
0.024652346968650818,
0.019018033519387245,
0.03679189458489418,
-0.019000258296728134,
-0.02557658776640892,
0.011917375028133392,
0.03254394233226776,
-0.03364592045545578,
0.07635651528835297,
0.00014344062947202474,
-0.011748523451387882,
0.05438802018761635,
0.022412840276956558,
0.016112007200717926,
-0.007371709682047367,
0.03499673679471016,
-0.03254394233226776,
0.0003143751819152385,
0.1153879165649414,
-0.02020888216793537,
0.015569903887808323,
-0.057160742580890656,
-0.025292206555604935,
-0.03558327257633209,
0.028633693233132362,
-0.030375530943274498,
-0.051224272698163986,
0.03489009290933609,
0.013517022132873535,
-0.037289563566446304,
0.004130201414227486,
-0.00847368873655796,
0.036969635635614395,
0.03016224503517151,
-0.0111619858071208,
0.0356721431016922,
-0.020955383777618408,
-0.011792957782745361,
0.03609871491789818,
-0.020724324509501457,
-0.038071613758802414,
-0.03478344902396202,
0.027300652116537094,
0.043688155710697174,
-0.04454129934310913,
-0.041555289179086685,
0.012130660936236382,
0.05285946652293205,
0.028633693233132362,
0.01939128339290619,
0.03700518235564232,
0.030979841947555542,
-0.03750285133719444,
0.049091409891843796,
0.024261321872472763,
-0.00008255126158474013,
-0.033699244260787964,
-0.0233193077147007,
-0.01751614175736904,
0.038995854556560516,
0.07820499688386917,
0.10344388335943222,
-0.08183086663484573,
-0.02255503088235855,
-0.04105762392282486,
-0.02895362302660942,
0.03407249599695206,
0.08311057835817337,
-0.03903140127658844,
-0.010575448162853718,
0.03531666472554207,
-0.0421951487660408,
0.08808726072311401,
-0.06103544309735298,
-0.0011236413847655058,
0.0018418164690956473,
0.0978984385728836,
0.027407296001911163,
-0.007682752329856157,
-0.09064669907093048,
0.07422365248203278,
0.030197791755199432,
-0.06149756535887718,
0.030020054429769516,
0.021897397935390472,
-0.011704088188707829,
-0.050300031900405884,
-0.018467042595148087,
-0.0032237344421446323,
-0.023034926503896713,
0.012024017982184887,
0.0055765495635569096,
-0.038320448249578476,
-0.018253756687045097,
-0.004701186437159777,
-0.04205295816063881,
0.04798942804336548,
-0.06387925893068314,
-0.03568991646170616,
0.03846263885498047,
0.03924468904733658,
0.10116882622241974,
0.003743619890883565,
0.00795824732631445,
0.012415043078362942,
-0.003728067735210061,
-0.02536330185830593,
-0.042906105518341064,
0.025185562670230865,
0.015401052311062813,
0.001267498591914773,
-0.02099093236029148,
0.026998497545719147,
0.046283137053251266,
-0.01661856099963188,
0.01782718487083912,
0.0630616620182991,
-0.01195292267948389,
-0.018156001344323158,
-0.0045989868231117725,
-0.04912695661187172,
-0.016334179788827896,
-0.011561897583305836,
0.014050238765776157,
-0.015329956077039242,
0.02020888216793537,
-0.0776362344622612,
-0.013650326058268547,
0.01740061119198799,
0.0016185323474928737,
-0.02120421826839447,
0.051224272698163986,
0.024652346968650818,
-0.029682351276278496,
0.02802938222885132,
-0.04631868749856949,
-0.04024002328515053,
-0.0038036066107451916,
-0.0421951487660408,
-0.018102679401636124,
-0.06067996844649315,
0.053001657128334045,
-0.013623666018247604,
-0.06921142339706421,
0.006496346555650234,
0.00026244219043292105,
-0.042337339371442795,
-0.005732070654630661,
0.012343947775661945,
-0.08481687307357788,
0.01580096408724785,
-0.05481459200382233,
-0.019497927278280258,
-0.025487719103693962,
0.0031748563051223755,
-0.04340377077460289,
0.026536377146840096,
-0.026962948963046074,
0.028331536799669266,
-0.015169992111623287,
-0.01930241473019123,
-0.01894693821668625,
0.03373479098081589,
0.043901439756155014,
0.009126878343522549,
0.004023557994514704,
0.004187966231256723,
-0.005341045558452606,
0.045821018517017365,
0.01502780057489872,
0.035725463181734085,
0.04724292829632759,
0.005549888592213392,
-0.007025119382888079,
-0.021168669685721397,
0.02491895481944084,
0.04162638634443283,
0.003823602106422186,
-0.002623866545036435,
0.012717198580503464,
-0.030802104622125626,
-0.06423474103212357,
0.029006943106651306,
-0.0076783085241913795,
0.002435019239783287,
-0.05541890487074852,
0.02589651755988598,
0.08488796651363373,
0.008793618530035019,
0.019800083711743355,
0.02513224259018898,
0.0009303506230935454,
0.010406596586108208,
-0.023425951600074768,
-0.051970772445201874,
-0.002446127822622657,
0.028740335255861282,
-0.023923618718981743,
0.04642532765865326,
-0.02163079008460045,
0.08318167924880981,
-0.06967353820800781,
0.0006204188684932888,
0.000109073196654208,
-0.00263719679787755,
-0.07155757397413254,
0.009802285581827164,
0.008793618530035019,
0.02445683442056179,
-0.02701627090573311,
-0.052681729197502136,
0.013223753310739994,
-0.008033785969018936,
-0.016227535903453827,
-0.025843195617198944,
-0.0037813892122358084,
-0.0538548044860363,
0.06288392841815948,
0.06682972609996796,
-0.004083544947206974,
-0.016858508810400963,
-0.04692299664020538,
-0.024990050122141838,
0.05157975107431412,
-0.014307959005236626,
-0.0050255595706403255,
-0.04329713061451912,
0.017365064471960068,
0.008260402828454971,
-0.027762772515416145,
-0.0012908268254250288,
0.010602109134197235,
0.003417025087401271,
0.033166028559207916,
0.0062875039875507355,
-0.018644781783223152,
-0.03570768982172012,
0.0037702806293964386,
-0.04439910873770714,
0.01964011788368225,
0.011819618754088879,
0.022839413955807686,
0.028207119554281235,
0.03732511028647423,
0.044576846063137054,
0.02827821485698223,
-0.060075655579566956,
0.016209762543439865,
0.01772054098546505,
-0.030979841947555542,
0.006500790361315012,
0.04500342160463333,
0.01703624799847603,
-0.005625427700579166,
-0.030020054429769516,
0.007469465956091881,
0.00703400606289506,
-0.007820499129593372,
-0.029451290145516396,
0.03524557128548622,
0.012743859551846981,
0.02187962457537651,
-0.00829595047980547,
-0.006180860567837954,
-0.03814271092414856,
0.007620543707162142,
-0.029238004237413406,
-0.02477676421403885,
0.0024083582684397697,
0.05481459200382233,
0.007247292436659336,
0.016680769622325897,
-0.03409026935696602,
0.04596320912241936,
-0.002570544835180044,
-0.010219970718026161,
0.002071765949949622,
0.03453461453318596,
0.02264390140771866,
-0.00029049156000837684,
-0.0077849519439041615,
0.012646103277802467,
-0.02420799992978573,
0.04240843653678894,
0.0046389782801270485,
-0.015436599962413311,
-0.0854567289352417,
0.01852036453783512,
0.05684081092476845,
-0.026305316016077995,
0.011926261708140373,
-0.0003985233197454363,
0.061426468193531036,
0.0865231603384018,
0.014121334068477154,
0.01572098210453987,
-0.026785211637616158,
-0.009446808136999607,
-0.019497927278280258,
-0.021790755912661552,
-0.012495025061070919,
-0.03828490152955055,
0.00454344367608428,
0.03960016742348671,
0.01930241473019123,
-0.03945797309279442,
0.05438802018761635,
0.003201517043635249,
0.01335705816745758,
-0.04205295816063881,
-0.004372370429337025,
0.0011886270949617028,
-0.0538548044860363,
0.04294165223836899,
-0.0018029361963272095,
0.04361705854535103,
-0.11225971579551697,
-0.06227961555123329,
-0.01837817393243313,
-0.004407918080687523,
0.03366369754076004,
0.010237745009362698,
0.008713636547327042,
0.02006669156253338,
-0.007371709682047367,
0.05090434104204178,
-0.012299512512981892,
-0.01070875208824873,
-0.01289493776857853,
0.03435687720775604,
0.04809607192873955,
-0.02749616466462612,
-0.04948243498802185,
0.00004058133708895184,
-0.0736548900604248,
-0.007878264412283897,
0.012086226604878902,
0.0049988990649580956,
-0.027887189760804176,
-0.036169812083244324,
0.00512775918468833,
-0.027780547738075256,
0.04838045313954353,
-0.03464125841856003,
-0.023585915565490723,
-0.03524557128548622,
-0.020137786865234375,
-0.00841592438519001,
-0.01996004767715931,
0.029877863824367523,
-0.01661856099963188,
0.03254394233226776,
0.021008705720305443,
0.019817857071757317,
0.022714996710419655,
0.06092879921197891,
-0.012983806431293488,
-0.0031748563051223755,
-0.06302611529827118,
-0.012024017982184887,
-0.0017051799222826958,
-0.04813161864876747,
0.03423245996236801,
-0.05325049161911011,
0.0025061145424842834,
-0.025043372064828873,
-0.03967126086354256,
-0.0066474247723817825,
0.06547891348600388,
-0.0204043947160244,
-0.0021139788441359997,
0.037751685827970505,
-0.02356814220547676,
0.0047056302428245544,
-0.008931365795433521,
-0.020919837057590485,
-0.0028660353273153305,
-0.08815836161375046,
-0.010504352860152721,
-0.01694737747311592,
0.058262720704078674,
-0.06661643832921982,
0.018875842913985252,
0.02278609201312065,
0.043901439756155014,
0.015792077407240868,
0.015569903887808323,
0.02456347830593586,
0.02511446736752987,
0.005225515458732843,
-0.054352473467588425,
0.0020328855607658625,
-0.01850259117782116,
0.009060226380825043,
-0.02163079008460045,
-0.04276391491293907,
0.05527671426534653,
-0.05449466407299042,
-0.02602093480527401,
0.008713636547327042,
-0.019018033519387245,
-0.013277075253427029,
-0.01194403599947691,
0.04159083962440491,
-0.0374317541718483,
0.023585915565490723,
-0.057374026626348495,
-0.009580112062394619,
-0.08026676625013351,
0.00510554201900959,
-0.056023214012384415,
-0.044683489948511124,
0.07358378916978836,
0.030037827789783478,
-0.08766069263219833,
0.03458793833851814,
-0.007704969495534897,
-0.041235361248254776,
0.057942792773246765,
0.10657207667827606,
0.08851383626461029,
0.01987117901444435,
-0.058511555194854736,
0.04809607192873955,
0.005780948791652918,
0.007371709682047367,
0.018004922196269035,
-0.03892475739121437,
0.0007342827157117426,
0.03924468904733658,
-0.039529070258140564,
0.02052881196141243,
-0.020902061834931374,
0.016689656302332878,
-0.05442356690764427,
-0.030339984223246574,
-0.05179303511977196,
-0.011570784263312817,
-0.01661856099963188,
-0.06707856059074402,
-0.0010070004500448704,
0.014663436450064182,
0.03668525069952011,
0.007949359714984894,
-0.01828930526971817,
0.002249504439532757,
0.0632038563489914,
-0.02479453757405281,
-0.0011058675590902567,
-0.006051999982446432,
0.04944688454270363,
0.033592600375413895,
0.0538548044860363,
0.00191402283962816,
-0.012583894655108452,
0.0026260882150381804,
0.03423245996236801,
-0.016734091565012932,
-0.00493669044226408,
0.06650979071855545,
-0.006278616841882467,
-0.010433257557451725,
0.017471706494688988,
0.020937610417604446,
0.06004010885953903,
0.008567001670598984,
-0.0084203677251935,
-0.011517463251948357,
-0.003097095526754856,
0.027638357132673264,
0.01772942766547203,
0.025487719103693962,
-0.024847859516739845,
0.05044222250580788,
0.002957126358523965,
-0.02593206614255905,
-0.01373919565230608,
-0.018875842913985252,
-0.0021739655639976263,
-0.00608310429379344,
-0.05108208209276199,
-0.006918475963175297,
-0.026998497545719147,
0.013703648000955582,
0.02532775327563286,
-0.0018096014391630888,
0.0194090586155653,
0.016236422583460808,
0.02559436298906803,
0.06714965403079987,
-0.014903383329510689,
0.03410804271697998,
-0.011855166405439377,
-0.05595212057232857,
0.037609491497278214,
0.017231760546565056,
0.00818041991442442,
-0.033930305391550064,
0.019000258296728134,
0.04024002328515053,
-0.019924499094486237,
0.013961369171738625,
0.024599025025963783,
-0.019817857071757317,
0.049411337822675705,
0.012041792273521423,
0.07063332945108414,
-0.008331498131155968,
-0.009069113060832024,
-0.06647424399852753,
-0.022466162219643593,
0.01402357779443264,
-0.016289744526147842,
0.0636659786105156,
0.03096206858754158,
0.008669201284646988
] |
725,761 | zep_python.zep_client | ZepClient |
ZepClient class implementation.
Attributes
----------
base_url : str
The base URL of the API.
memory : MemoryClient
The client used for making Memory API requests.
document : DocumentClient
The client used for making Document API requests.
Methods
-------
get_memory(session_id: str, lastn: Optional[int] = None) -> List[Memory]:
Retrieve memory for the specified session. (Deprecated)
add_memory(session_id: str, memory_messages: Memory) -> str:
Add memory to the specified session. (Deprecated)
delete_memory(session_id: str) -> str:
Delete memory for the specified session. (Deprecated)
search_memory(session_id: str, search_payload: SearchPayload,
limit: Optional[int] = None) -> List[SearchResult]:
Search memory for the specified session. (Deprecated)
close() -> None:
Close the HTTP client.
| class ZepClient:
"""
ZepClient class implementation.
Attributes
----------
base_url : str
The base URL of the API.
memory : MemoryClient
The client used for making Memory API requests.
document : DocumentClient
The client used for making Document API requests.
Methods
-------
get_memory(session_id: str, lastn: Optional[int] = None) -> List[Memory]:
Retrieve memory for the specified session. (Deprecated)
add_memory(session_id: str, memory_messages: Memory) -> str:
Add memory to the specified session. (Deprecated)
delete_memory(session_id: str) -> str:
Delete memory for the specified session. (Deprecated)
search_memory(session_id: str, search_payload: SearchPayload,
limit: Optional[int] = None) -> List[SearchResult]:
Search memory for the specified session. (Deprecated)
close() -> None:
Close the HTTP client.
"""
base_url: str
memory: MemoryClient
document: DocumentClient
user: UserClient
def __init__(self, base_url: str, api_key: Optional[str] = None) -> None:
"""
Initialize the ZepClient with the specified base URL.
Parameters
----------
base_url : str
The base URL of the API.
api_key : Optional[str]
The API key to use for authentication. (optional)
"""
headers: Dict[str, str] = {}
if api_key is not None:
headers["Authorization"] = f"Bearer {api_key}"
self.base_url = concat_url(base_url, API_BASE_PATH)
self.aclient = httpx.AsyncClient(
base_url=self.base_url, headers=headers, timeout=API_TIMEOUT
)
self.client = httpx.Client(
base_url=self.base_url, headers=headers, timeout=API_TIMEOUT
)
self._healthcheck(base_url)
self.memory = MemoryClient(self.aclient, self.client)
self.message = MessageClient(self.aclient, self.client)
self.document = DocumentClient(self.aclient, self.client)
self.user = UserClient(self.aclient, self.client)
def _healthcheck(self, base_url: str) -> None:
"""
Check that the Zep server is running, the API URL is correct,
and that the server version is compatible with this client.
Raises
------
ConnectionError
If the server is not running or the API URL is incorrect.
"""
url = concat_url(base_url, "/healthz")
error_msg = """Failed to connect to Zep server. Please check that:
- the server is running
- the API URL is correct
- No other process is using the same port
"""
try:
response = httpx.get(url)
if response.status_code != 200 or response.text != ".":
raise APIError(response, error_msg)
zep_server_version_str = response.headers.get("X-Zep-Version")
if zep_server_version_str:
if "dev" in zep_server_version_str:
return
zep_server_version = parse_version_string(zep_server_version_str)
else:
zep_server_version = Version("0.0.0")
if zep_server_version < Version(MINIMUM_SERVER_VERSION):
warnings.warn(
(
"You are using an incompatible Zep server version. Please"
f" upgrade to {MINIMUM_SERVER_VERSION} or later."
),
Warning,
stacklevel=2,
)
except (httpx.ConnectError, httpx.NetworkError, httpx.TimeoutException) as e:
raise APIError(None, error_msg) from e
async def __aenter__(self) -> "ZepClient":
"""Asynchronous context manager entry point"""
return self
async def __aexit__(
self,
exc_type: Type[Exception],
exc_val: Exception,
exc_tb: TracebackType,
) -> None:
"""Asynchronous context manager exit point"""
await self.aclose()
def __enter__(self) -> "ZepClient":
"""Sync context manager entry point"""
return self
def __exit__(
self,
exc_type: Type[Exception],
exc_val: Exception,
exc_tb: TracebackType,
) -> None:
"""Sync context manager exit point"""
self.close()
# Facade methods for Memory API
def get_session(self, session_id: str) -> Session:
deprecated_warning(self.get_session)
return self.memory.get_session(session_id)
async def aget_session(self, session_id: str) -> Session:
deprecated_warning(self.aget_session)
return await self.memory.aget_session(session_id)
def add_session(self, session: Session) -> Session:
deprecated_warning(self.add_session)
return self.memory.add_session(session)
async def aadd_session(self, session: Session) -> Session:
deprecated_warning(self.aadd_session)
return await self.memory.aadd_session(session)
def get_memory(self, session_id: str, lastn: Optional[int] = None) -> Memory:
deprecated_warning(self.get_memory)
return self.memory.get_memory(session_id, lastn)
async def aget_memory(self, session_id: str, lastn: Optional[int] = None) -> Memory:
deprecated_warning(self.aget_memory)
return await self.memory.aget_memory(session_id, lastn)
def add_memory(self, session_id: str, memory_messages: Memory) -> str:
deprecated_warning(self.add_memory)
return self.memory.add_memory(session_id, memory_messages)
async def aadd_memory(self, session_id: str, memory_messages: Memory) -> str:
deprecated_warning(self.aadd_memory)
return await self.memory.aadd_memory(session_id, memory_messages)
def delete_memory(self, session_id: str) -> str:
deprecated_warning(self.delete_memory)
return self.memory.delete_memory(session_id)
async def adelete_memory(self, session_id: str) -> str:
deprecated_warning(self.adelete_memory)
return await self.memory.adelete_memory(session_id)
def search_memory(
self,
session_id: str,
search_payload: MemorySearchPayload,
limit: Optional[int] = None,
) -> List[MemorySearchResult]:
deprecated_warning(self.search_memory)
return self.memory.search_memory(session_id, search_payload, limit)
async def asearch_memory(
self,
session_id: str,
search_payload: MemorySearchPayload,
limit: Optional[int] = None,
) -> List[MemorySearchResult]:
deprecated_warning(self.asearch_memory)
return await self.memory.asearch_memory(session_id, search_payload, limit)
# Close the HTTP client
async def aclose(self) -> None:
"""
Asynchronously close the HTTP client.
[Optional] This method may be called when the ZepClient is no longer needed to
release resources.
"""
await self.aclient.aclose()
def close(self) -> None:
"""
Close the HTTP client.
[Optional] This method may be called when the ZepClient is no longer needed to
release resources.
"""
self.client.close()
| (base_url: str, api_key: 'Optional[str]' = None) -> 'None' | [
-0.00015652990259695798,
-0.04050721600651741,
-0.08802489936351776,
0.010142359882593155,
0.023748470470309258,
-0.012589800171554089,
-0.06491939723491669,
0.04301687702536583,
-0.00497006718069315,
-0.07284247130155563,
0.008047516457736492,
0.006683794315904379,
0.002368365414440632,
0.04380503669381142,
0.005672669503837824,
0.027875933796167374,
0.014207599684596062,
-0.025304045528173447,
0.012164609506726265,
-0.043099842965602875,
-0.04824361577630043,
0.0220684465020895,
0.05770152062177658,
-0.006590459495782852,
-0.019112851470708847,
0.05645706132054329,
0.008462336845695972,
0.009711983613669872,
0.04811916872859001,
-0.021695109084248543,
-0.0020779911428689957,
-0.0036115304101258516,
0.0011213114485144615,
0.030655229464173317,
-0.011262374930083752,
0.00683935172855854,
0.003450787393376231,
-0.01940322481095791,
-0.11158669739961624,
0.023893656209111214,
-0.0002513228391762823,
-0.013792779296636581,
0.0294522512704134,
0.012195720337331295,
0.023292167112231255,
0.019019516184926033,
-0.03490713983774185,
0.04202130809426308,
0.022089188918471336,
-0.0007602880941703916,
-0.012724616564810276,
0.00471339700743556,
0.02658998966217041,
0.03279155492782593,
0.03640049323439598,
0.008348261006176472,
-0.01754690520465374,
0.02391439862549305,
-0.013989819213747978,
0.002131139859557152,
-0.04840954393148422,
0.0051904404535889626,
0.01660318858921528,
-0.006279344204813242,
0.002325586974620819,
0.0027870747726410627,
-0.04662581533193588,
0.009053455665707588,
0.06048081815242767,
0.020917320623993874,
0.06657867878675461,
0.021861037239432335,
0.022213634103536606,
-0.031858209520578384,
0.05633261427283287,
0.03824644535779953,
-0.04670878127217293,
0.028809279203414917,
-0.03496936336159706,
-0.020855097100138664,
-0.006243047304451466,
0.038516078144311905,
-0.007632696069777012,
0.0034352317452430725,
0.09756576269865036,
0.030178185552358627,
0.06645423173904419,
0.0019535450264811516,
-0.03331008180975914,
0.014166117645800114,
-0.04171019420027733,
0.025304045528173447,
-0.03204488009214401,
-0.002316512865945697,
0.021021025255322456,
-0.055461492389440536,
-0.02939002774655819,
-0.0265277661383152,
-0.01789950206875801,
0.010816442780196667,
-0.06280381232500076,
0.048160653561353683,
-0.0024241069331765175,
0.010961630381643772,
-0.00002323237458767835,
-0.06740832328796387,
-0.007399359252303839,
-0.0033522676676511765,
0.029659660533070564,
0.007077873684465885,
-0.06927501410245895,
-0.03758273273706436,
0.006134157069027424,
-0.001937989261932671,
0.023167721927165985,
0.021632885560393333,
-0.0027092958334833384,
-0.009826058521866798,
-0.025843312963843346,
-0.019423967227339745,
0.0051126619800925255,
-0.01897803507745266,
-0.008369002491235733,
0.0025200340896844864,
0.016986897215247154,
0.0417516753077507,
0.0028389273211359978,
0.01270387601107359,
0.03525973856449127,
-0.057203736156225204,
-0.023064015433192253,
0.014010559767484665,
0.028228530660271645,
0.04554728418588638,
0.005579334683716297,
0.04003017023205757,
-0.005781559739261866,
-0.013346847146749496,
-0.027730746194720268,
0.0070467619225382805,
-0.030053740367293358,
0.03341378644108772,
-0.0024422553833574057,
-0.03492787852883339,
-0.026672953739762306,
-0.052142929285764694,
-0.054756298661231995,
-0.08130480349063873,
-0.04409541189670563,
-0.04563024640083313,
0.032978225499391556,
-0.000803714559879154,
-0.012994250282645226,
-0.052018482238054276,
-0.023520318791270256,
-0.01862543821334839,
-0.041316114366054535,
-0.0055948905646800995,
0.03003299981355667,
0.01868765987455845,
-0.05056660994887352,
0.0036556050181388855,
-0.0049752527847886086,
-0.015161686576902866,
-0.017453569918870926,
0.0019691006746143103,
-0.02777222730219364,
-0.059817105531692505,
-0.0027041106950491667,
0.07881588488817215,
-0.012423872016370296,
0.023706987500190735,
-0.044053930789232254,
-0.015514284372329712,
-0.0382879264652729,
-0.00886678695678711,
0.023126238957047462,
0.007378618232905865,
-0.03206561878323555,
-0.021093618124723434,
-0.013865373097360134,
-0.050898466259241104,
-0.0615178719162941,
-0.0017357642063871026,
-0.01201942190527916,
0.02088620886206627,
0.06537570059299469,
0.016696522012352943,
0.07147356122732162,
0.006616386119276285,
-0.07408692687749863,
0.036255307495594025,
0.09175828099250793,
-0.005610446445643902,
0.022939570248126984,
-0.006761573255062103,
0.02582257241010666,
0.008358631283044815,
0.0430583618581295,
0.010349770076572895,
-0.07885736227035522,
0.04592062160372734,
0.06657867878675461,
-0.06251344084739685,
0.013035732321441174,
-0.03573678061366081,
-0.04409541189670563,
-0.04554728418588638,
-0.06886018812656403,
0.008068257011473179,
-0.023686246946454048,
0.024909967556595802,
0.004830065183341503,
0.023810692131519318,
0.07968700677156448,
-0.04496653378009796,
0.0687357485294342,
0.01636466570198536,
0.0608956404030323,
0.01790987141430378,
0.05359480157494545,
-0.010764590464532375,
-0.06355048716068268,
-0.057825967669487,
-0.028601868078112602,
0.026133686304092407,
-0.020658057183027267,
0.022794382646679878,
0.012610540725290775,
-0.01933063194155693,
0.04096351936459541,
0.026382580399513245,
0.016644669696688652,
0.017858019098639488,
-0.003945979289710522,
-0.030261149629950523,
-0.054465923458337784,
0.0545903705060482,
-0.006268973927944899,
-0.027046293020248413,
0.027938155457377434,
-0.03866126388311386,
0.04247761145234108,
-0.0022257708478718996,
-0.02432921901345253,
0.03355897217988968,
0.012683134526014328,
-0.010961630381643772,
0.002199844690039754,
-0.009670501574873924,
-0.02349957823753357,
-0.06931649148464203,
0.030115963891148567,
-0.043680589646101,
-0.030966345220804214,
-0.05235033854842186,
-0.02105213701725006,
-0.025387009605765343,
0.015804657712578773,
-0.007689733989536762,
-0.004850806202739477,
0.006891204509884119,
-0.06267936527729034,
0.08055812865495682,
-0.01856321468949318,
0.021570662036538124,
0.037271615117788315,
-0.00830159429460764,
-0.041253890842199326,
0.009385311976075172,
0.07993590086698532,
0.049156222492456436,
0.0005162570159882307,
-0.017868390306830406,
-0.03241821750998497,
-0.022109929472208023,
-0.02017064392566681,
-0.041129447519779205,
-0.10370510816574097,
-0.03511454910039902,
-0.023769211024045944,
0.00565192848443985,
0.024951448664069176,
-0.0013468700926750898,
-0.005843782797455788,
-0.06728387624025345,
-0.0005603316822089255,
-0.014580938033759594,
-0.024142548441886902,
-0.03604789450764656,
-0.021632885560393333,
-0.04753842204809189,
-0.016198737546801567,
-0.03646271675825119,
0.004801546689122915,
-0.012174979783594608,
-0.09515980631113052,
0.014892053790390491,
-0.0055534085258841515,
-0.047621384263038635,
-0.002180399838835001,
0.020212125033140182,
0.08292260766029358,
0.02200622484087944,
0.02200622484087944,
-0.004635618533939123,
0.019237296655774117,
0.006771943531930447,
-0.00600971095263958,
0.006932686548680067,
-0.019818047061562538,
-0.03592345118522644,
-0.006175639107823372,
0.0060356371104717255,
-0.007508249953389168,
0.02771000564098358,
0.0024668853729963303,
0.035964932292699814,
0.033289339393377304,
0.06500235944986343,
-0.03832940757274628,
0.04869991913437843,
0.04903177544474602,
0.027025550603866577,
0.03604789450764656,
0.0016579853836447,
0.010806072503328323,
-0.00044107079156674445,
0.024412183091044426,
-0.004036721307784319,
-0.09275384992361069,
-0.02296031080186367,
-0.04550580307841301,
0.020844725891947746,
-0.0025278120301663876,
-0.003046337515115738,
-0.0036556050181388855,
-0.03040633723139763,
0.015047610737383366,
-0.0011128854239359498,
0.01487131230533123,
0.016738004982471466,
-0.05185255408287048,
0.006476384121924639,
0.010142359882593155,
-0.05741114914417267,
0.039283495396375656,
-0.04471764340996742,
-0.015369096770882607,
0.03003299981355667,
0.0009579759207554162,
0.004215612541884184,
0.049280665814876556,
0.0682794451713562,
0.07018762081861496,
-0.06267936527729034,
-0.020502500236034393,
-0.04011313617229462,
-0.01124163344502449,
-0.028041861951351166,
-0.07877440005540848,
0.01394833717495203,
-0.031733762472867966,
0.04587914049625397,
-0.09623833745718002,
-0.0682794451713562,
0.05977562442421913,
-0.04865843802690506,
0.023188462480902672,
-0.014207599684596062,
-0.036607902497053146,
-0.04525690898299217,
-0.04032054543495178,
0.01612614467740059,
0.01879136636853218,
-0.0009877911070361733,
-0.021135101094841957,
0.013751297257840633,
-0.03123597800731659,
0.0798114538192749,
0.06097860261797905,
0.02789667434990406,
-0.014176487922668457,
-0.018065430223941803,
0.048036206513643265,
-0.05239181965589523,
-0.017090601846575737,
0.0007777882856316864,
0.0027144812047481537,
0.007886773906648159,
0.018905440345406532,
0.027149997651576996,
-0.017982466146349907,
0.016219478100538254,
-0.013357218354940414,
0.004140426404774189,
0.01341944094747305,
0.024702556431293488,
-0.031920433044433594,
-0.05662298947572708,
0.022524749860167503,
0.007098614703863859,
0.05110587552189827,
0.05944376811385155,
-0.0039848689921200275,
0.004498208872973919,
0.06438013166189194,
-0.026631472632288933,
0.033641938120126724,
0.04882436618208885,
-0.05011030659079552,
-0.06301122158765793,
-0.04811916872859001,
0.021383993327617645,
-0.029576696455478668,
-0.010816442780196667,
0.00590600585564971,
0.036441974341869354,
0.04563024640083313,
0.037499766796827316,
0.025138117372989655,
0.03378712385892868,
0.01694541424512863,
0.03111153282225132,
-0.012071274220943451,
-0.03642123565077782,
-0.03503158688545227,
0.00414820434525609,
-0.040237583220005035,
0.0012677949853241444,
0.04869991913437843,
-0.0024772558826953173,
-0.021508438512682915,
-0.05770152062177658,
0.017204677686095238,
0.020004715770483017,
-0.026382580399513245,
-0.01992175169289112,
0.02016027271747589,
0.03142264857888222,
0.0430583618581295,
0.005320072174072266,
0.005211181472986937,
0.019558783620595932,
0.04554728418588638,
-0.012828322127461433,
-0.022296598181128502,
-0.01921655610203743,
0.0650438442826271,
0.015452060848474503,
-0.039656832814216614,
0.0005826930864714086,
0.004306354559957981,
0.013357218354940414,
-0.03866126388311386,
-0.016271332278847694,
0.00886160135269165,
0.025387009605765343,
-0.03924201428890228,
-0.004658951889723539,
0.05882153660058975,
0.0007881587953306735,
-0.031132273375988007,
0.01201942190527916,
-0.0430583618581295,
0.09374941885471344,
0.0202224962413311,
0.04285094887018204,
0.009406053461134434,
0.0017215048428624868,
-0.0008756599854677916,
-0.009722353890538216,
-0.0556689016520977,
-0.030613748356699944,
0.02968040108680725,
-0.025843312963843346,
-0.0027144812047481537,
-0.025490716099739075,
-0.003953757230192423,
-0.04820213466882706,
0.02688036486506462,
-0.03075893595814705,
0.04608654975891113,
-0.03337230533361435,
-0.011905346065759659,
-0.02058546431362629,
0.062181584537029266,
-0.03044782020151615,
0.029058171436190605,
-0.06595645099878311,
-0.023229943588376045,
0.0218402948230505,
0.003245969768613577,
0.021985482424497604,
0.010235694237053394,
0.016271332278847694,
-0.04110870510339737,
-0.012610540725290775,
0.02314697951078415,
-0.07309135794639587,
0.003295229747891426,
0.03092486411333084,
0.00013886761735193431,
0.008768266998231411,
0.018169134855270386,
0.02617516927421093,
-0.06508532911539078,
-0.004093759227544069,
0.04100500047206879,
-0.01861506700515747,
-0.03808051720261574,
0.02076176181435585,
0.011614971794188023,
-0.02152918092906475,
-0.035073067992925644,
0.03575752303004265,
-0.04092203453183174,
0.034824173897504807,
-0.03474121168255806,
-0.032936740666627884,
0.06031488999724388,
0.07894033193588257,
0.03818422183394432,
-0.00830159429460764,
-0.03320637717843056,
0.043348733335733414,
-0.02789667434990406,
-0.033455267548561096,
0.03009522147476673,
0.05554445460438728,
-0.03384934738278389,
0.007461582310497761,
0.0036996796261519194,
0.014197229407727718,
0.023126238957047462,
-0.06006599962711334,
-0.022794382646679878,
-0.022981051355600357,
-0.005097106099128723,
-0.016613557934761047,
0.045837659388780594,
0.05496370792388916,
-0.05512963607907295,
-0.10270953923463821,
-0.05483926087617874,
-0.026984069496393204,
0.07334025204181671,
0.05235033854842186,
-0.017868390306830406,
-0.023706987500190735,
0.04200056940317154,
-0.04231168329715729,
0.07126615196466446,
-0.027315925806760788,
0.010494956746697426,
-0.019641747698187828,
0.0035700483713299036,
-0.04100500047206879,
0.036193083971738815,
-0.03034411370754242,
0.011438673362135887,
0.008192703127861023,
-0.08794192969799042,
-0.009302347898483276,
0.010609032586216927,
0.013502405025064945,
0.012423872016370296,
0.01434241607785225,
0.018957294523715973,
-0.016312813386321068,
0.015607618726789951,
-0.01487131230533123,
0.055710382759571075,
0.02200622484087944,
-0.05048364773392677,
0.00028810574440285563,
-0.016032809391617775,
0.0012645542155951262,
0.08819082379341125,
-0.014217969961464405,
0.06234751269221306,
0.023686246946454048,
-0.014280193485319614,
-0.10760442167520523,
0.03463750705122948,
0.03496936336159706,
0.04932215064764023,
0.022628454491496086,
0.09690205007791519,
-0.04438578709959984,
-0.02136325277388096,
0.0039382013492286205,
0.005791930481791496,
-0.023395871743559837,
-0.005828226916491985,
0.0745847150683403,
0.014072783291339874,
0.019724711775779724,
0.005895635578781366,
0.03712642937898636,
0.003951164428144693,
0.10362214595079422,
0.018656548112630844,
-0.11084002256393433,
0.03598567098379135,
0.04733101278543472,
-0.06342604756355286,
-0.0035726409405469894,
0.022794382646679878,
-0.01383426133543253,
-0.0027455927338451147,
-0.03003299981355667,
-0.04388800263404846,
-0.03015744499862194,
-0.03754124790430069,
-0.010152730159461498,
-0.047621384263038635,
0.05193551629781723,
0.0007700104033574462,
-0.008488263003528118,
0.0423739068210125,
-0.03243895620107651,
-0.006517866160720587,
0.0046459888108074665,
-0.028207790106534958,
0.022379562258720398,
0.0206476878374815,
-0.03308193013072014,
-0.03895163908600807,
0.02039879560470581,
0.046128030866384506,
0.0203365720808506,
0.04272650554776192,
0.016167625784873962,
0.02451588772237301,
-0.04770435020327568,
0.038453854620456696,
0.001286591519601643,
0.011397191323339939,
0.0043219104409217834,
-0.016105404123663902,
0.03654567897319794,
-0.0036141229793429375,
-0.021736590191721916,
-0.052018482238054276,
0.059402287006378174,
-0.00047056193579919636,
-0.0417516753077507,
0.08138776570558548,
-0.018604695796966553,
-0.027585558593273163,
0.059402287006378174,
-0.008768266998231411,
-0.003660790389403701,
-0.026901105418801308,
0.016820969060063362,
-0.056954845786094666,
0.021985482424497604,
0.012112756259739399,
-0.01701800897717476,
0.01249646581709385,
0.008006034418940544,
-0.013315736316144466,
-0.013097954913973808,
-0.02617516927421093,
0.015929104760289192,
0.020378053188323975,
-0.011853493750095367,
0.024246254935860634,
0.047496940940618515,
0.0499858632683754,
-0.0024655889719724655,
0.04372207447886467,
0.01192608755081892,
-0.008929009549319744,
0.020906949415802956,
0.0018718772334977984,
-0.03586122766137123,
-0.014850571751594543,
0.02789667434990406,
-0.005252663511782885,
0.07690770924091339,
-0.03438861295580864,
0.021798813715577126,
-0.035363443195819855,
0.0417516753077507,
-0.01939285546541214,
0.04807768762111664,
-0.024951448664069176,
-0.055461492389440536,
-0.01496464665979147,
0.01975582353770733,
0.014404639601707458,
0.01514094602316618,
-0.05264071375131607,
-0.014352787286043167,
-0.018303951248526573,
-0.045132461935281754,
-0.005952673032879829,
-0.01695578545331955,
0.004684878047555685,
-0.03133968263864517,
-0.0010532550513744354,
0.0198802687227726,
0.03355897217988968,
0.022441785782575607,
-0.0556689016520977,
0.013512775301933289,
0.013865373097360134,
0.008566041477024555,
0.06056378409266472,
0.007586028426885605,
0.08802489936351776,
-0.033289339393377304,
0.026735177263617516,
0.041606489568948746,
0.05185255408287048,
0.03731309622526169,
-0.026009241119027138,
0.052018482238054276,
-0.0493636317551136,
0.06081267446279526,
0.03818422183394432,
-0.04691619053483009,
0.05040068179368973,
0.007601584307849407,
-0.012454983778297901,
-0.042975395917892456,
0.0019522486254572868,
0.013377958908677101,
-0.0122268320992589,
0.0012114052660763264,
-0.03640049323439598,
0.041606489568948746,
-0.01544169057160616,
-0.08843971788883209,
0.04683322831988335,
-0.010028284043073654,
-0.0036685680970549583,
0.02546997368335724,
-0.019258039072155952,
-0.03716791048645973,
-0.04948807880282402,
0.0015905770706012845,
-0.04397096484899521,
-0.010214952751994133,
0.06790610402822495,
0.01517205685377121,
-0.010951259173452854,
0.01797209493815899,
0.027046293020248413,
-0.027232961729168892,
-0.005527482368052006,
0.08976714313030243,
-0.01831432245671749,
-0.008265296928584576,
-0.008063072338700294,
-0.0026328135281801224,
0.02075139246881008,
-0.04865843802690506,
-0.04579617455601692,
0.006222306285053492,
-0.025013672187924385,
0.03044782020151615,
-0.0043219104409217834,
0.02190251834690571,
-0.0076378812082111835,
0.06491939723491669
] |
725,762 | zep_python.zep_client | __aenter__ | Asynchronous context manager entry point | def _healthcheck(self, base_url: str) -> None:
"""
Check that the Zep server is running, the API URL is correct,
and that the server version is compatible with this client.
Raises
------
ConnectionError
If the server is not running or the API URL is incorrect.
"""
url = concat_url(base_url, "/healthz")
error_msg = """Failed to connect to Zep server. Please check that:
- the server is running
- the API URL is correct
- No other process is using the same port
"""
try:
response = httpx.get(url)
if response.status_code != 200 or response.text != ".":
raise APIError(response, error_msg)
zep_server_version_str = response.headers.get("X-Zep-Version")
if zep_server_version_str:
if "dev" in zep_server_version_str:
return
zep_server_version = parse_version_string(zep_server_version_str)
else:
zep_server_version = Version("0.0.0")
if zep_server_version < Version(MINIMUM_SERVER_VERSION):
warnings.warn(
(
"You are using an incompatible Zep server version. Please"
f" upgrade to {MINIMUM_SERVER_VERSION} or later."
),
Warning,
stacklevel=2,
)
except (httpx.ConnectError, httpx.NetworkError, httpx.TimeoutException) as e:
raise APIError(None, error_msg) from e
| (self) -> zep_python.zep_client.ZepClient | [
0.0004754902911372483,
-0.07580641657114029,
-0.065033920109272,
0.02259683981537819,
0.01750076375901699,
-0.017636779695749283,
-0.010137747973203659,
0.037975747138261795,
-0.05495058372616768,
-0.04671706259250641,
0.028799183666706085,
0.042944878339767456,
0.05360855534672737,
-0.047406211495399475,
0.00724966824054718,
-0.050851959735155106,
0.06158817559480667,
-0.008677839301526546,
0.039499130100011826,
-0.06626714020967484,
-0.023539885878562927,
0.041820477694272995,
0.040696073323488235,
0.03986184298992157,
-0.009838512167334557,
0.04998145252466202,
0.0002809586585499346,
0.0108994385227561,
0.04018827900290489,
-0.05223025754094124,
-0.05509566515684128,
0.02323158271610737,
-0.03012307547032833,
0.05110585317015648,
-0.008596229366958141,
0.025498520582914352,
0.020311767235398293,
-0.032952215522527695,
-0.1106991246342659,
0.03523728623986244,
0.001406635157763958,
-0.03224492818117142,
-0.025861231610178947,
0.028726641088724136,
0.05103331431746483,
-0.0006545783835463226,
-0.03257136791944504,
0.058106161653995514,
-0.022089045494794846,
-0.04776892066001892,
-0.05408007651567459,
0.022506162524223328,
0.08189994096755981,
-0.00393540458753705,
0.031247476115822792,
0.0008013626793399453,
0.037975747138261795,
0.0614793635904789,
0.01050045806914568,
0.006374630145728588,
-0.05516820773482323,
0.06332918256521225,
-0.05875903740525246,
-0.005748955067247152,
0.011162403970956802,
0.008029495365917683,
-0.07116372138261795,
-0.0393177755177021,
-0.006175139453262091,
0.0037336472887545824,
0.06626714020967484,
0.03505593165755272,
-0.04559266194701195,
-0.010346305556595325,
0.05582108721137047,
-0.002992358524352312,
-0.012159856967628002,
0.016784410923719406,
-0.019223636016249657,
-0.012132653035223484,
0.007938817143440247,
0.004241441376507282,
0.03536423668265343,
-0.027856137603521347,
0.09249107539653778,
-0.014064084738492966,
0.056111253798007965,
-0.03536423668265343,
0.006356494966894388,
0.09611818194389343,
-0.03986184298992157,
-0.016385428607463837,
-0.030612733215093613,
-0.028418337926268578,
0.07624166458845139,
-0.017682118341326714,
0.0023304123897105455,
-0.03208170831203461,
-0.02693122625350952,
-0.04290860518813133,
-0.04914722219109535,
0.08574467152357101,
-0.045810285955667496,
-0.0066375951282680035,
0.031755268573760986,
-0.03855608403682709,
-0.0045225415378808975,
-0.03895506635308266,
-0.015841364860534668,
-0.0113800298422575,
-0.05070687457919121,
-0.07529862225055695,
0.01916923001408577,
-0.047079771757125854,
0.03480203449726105,
-0.01766398176550865,
-0.008582628332078457,
0.007589709013700485,
-0.044939782470464706,
-0.02772918902337551,
0.05081568658351898,
0.01780906692147255,
0.02693122625350952,
-0.017228730022907257,
0.02899867296218872,
0.04834925755858421,
-0.02421090006828308,
0.010110544040799141,
0.02811003290116787,
0.023122768849134445,
0.0016106596449390054,
0.03746795654296875,
-0.04338013008236885,
0.029506467282772064,
-0.024029545485973358,
-0.005399846937507391,
0.008646102622151375,
0.0335506871342659,
-0.03393153101205826,
-0.004905654117465019,
0.010618338361382484,
-0.00930351484566927,
-0.01940499059855938,
-0.026060720905661583,
0.02555292658507824,
0.018198980018496513,
-0.044613342732191086,
-0.06536035984754562,
0.010409779846668243,
0.0001350245001958683,
0.0375404953956604,
-0.009811308234930038,
-0.006723738741129637,
-0.0793609693646431,
-0.0752260759472847,
-0.02780172973871231,
-0.037830665707588196,
-0.04577401652932167,
0.03913642093539238,
-0.004508940037339926,
-0.051795005798339844,
-0.005880437791347504,
-0.009512072429060936,
-0.054587870836257935,
-0.03986184298992157,
0.006528782192617655,
-0.04279979318380356,
-0.014109423384070396,
0.03746795654296875,
0.03986184298992157,
-0.02818257547914982,
0.040623534470796585,
-0.08393111824989319,
0.005581201985478401,
0.038628626614809036,
-0.016838816925883293,
0.010273763909935951,
0.01497085951268673,
-0.011452571488916874,
-0.03507406637072563,
-0.009793173521757126,
-0.035491183400154114,
-0.06260376423597336,
-0.03180967643857002,
-0.012232398614287376,
0.03601711243391037,
0.047333668917417526,
0.01342027448117733,
-0.023068362846970558,
0.06913254410028458,
-0.04878450930118561,
0.027058174833655357,
0.078345388174057,
0.04816790297627449,
0.06448985636234283,
-0.007213397417217493,
0.01033723820000887,
0.01257697306573391,
0.0666661188006401,
-0.030485784634947777,
-0.028001220896840096,
0.049219761043787,
0.025117674842476845,
-0.009956392459571362,
0.004352521151304245,
-0.005626540631055832,
-0.033514413982629776,
-0.03211798146367073,
-0.055313292890787125,
0.017718389630317688,
-0.02444666251540184,
0.00500993337482214,
-0.06927762925624847,
0.027747323736548424,
-0.014834843575954437,
-0.027493426576256752,
0.04664452001452446,
-0.015487722121179104,
0.03657931461930275,
0.022324807941913605,
0.019368719309568405,
-0.019187364727258682,
0.025299031287431717,
-0.011470707133412361,
0.019459398463368416,
0.05821497365832329,
0.03186408430337906,
0.03627100959420204,
-0.025534791871905327,
-0.025788689032197,
0.021907690912485123,
0.017745591700077057,
0.06187834590673447,
0.009566479362547398,
-0.01780906692147255,
-0.0164035651832819,
0.012132653035223484,
0.03971675783395767,
0.03264391049742699,
-0.028980538249015808,
0.03364136442542076,
-0.027348343282938004,
0.020402444526553154,
-0.0019178297370672226,
-0.013556290417909622,
-0.05074314400553703,
-0.012196127325296402,
0.028001220896840096,
-0.03538237139582634,
-0.023267854005098343,
-0.05183127522468567,
-0.046281810849905014,
0.026532243937253952,
-0.07783759385347366,
-0.011561384424567223,
-0.039499130100011826,
-0.012839937582612038,
-0.06351053714752197,
0.04454080015420914,
-0.009036015719175339,
0.0018350864993408322,
-0.002493632026016712,
-0.03349627926945686,
0.06478002667427063,
-0.06137055158615112,
-0.009063218720257282,
0.06390952318906784,
0.026169534772634506,
-0.01277646329253912,
-0.004001145716756582,
0.07036576420068741,
0.002910748589783907,
-0.0077211917378008366,
0.0021377226803451777,
-0.02923443540930748,
0.009249107912182808,
-0.0016163269756361842,
-0.04911094903945923,
-0.012758328579366207,
-0.006701069418340921,
0.01612246409058571,
0.021762607619166374,
0.01933244988322258,
0.03618033230304718,
-0.04279979318380356,
-0.020076004788279533,
-0.022342942655086517,
-0.005377177614718676,
-0.04000692442059517,
-0.03307916224002838,
-0.042364541441202164,
-0.02301395684480667,
-0.001157271908596158,
-0.04432317614555359,
-0.021853284910321236,
0.01947753317654133,
-0.005585735663771629,
-0.008954405784606934,
-0.0011385696707293391,
-0.025607334449887276,
0.01841660588979721,
-0.0005664511700160801,
-0.018362199887633324,
-0.009421395137906075,
0.019912784919142723,
-0.00774839473888278,
0.02829138934612274,
0.010400712490081787,
-0.01226866990327835,
-0.018099235370755196,
0.0018928934587165713,
-0.022723788395524025,
0.014172897674143314,
-0.021055322140455246,
0.0474424846470356,
0.026405295357108116,
0.027856137603521347,
0.026858683675527573,
-0.008174579590559006,
0.059230562299489975,
-0.04490351304411888,
0.0716715157032013,
0.05669159069657326,
0.07754742354154587,
-0.013656035996973515,
0.0022941415663808584,
0.05785226449370384,
-0.0011306353844702244,
0.011271216906607151,
-0.02043871395289898,
-0.0666661188006401,
-0.024700557813048363,
0.004837646149098873,
-0.013891797512769699,
0.022252265363931656,
-0.019749565050005913,
0.0237212423235178,
0.0034502800554037094,
0.0031397093553096056,
-0.004007946699857712,
0.014580946415662766,
0.030848495662212372,
-0.04552011936903,
0.016884155571460724,
0.018498215824365616,
-0.045882828533649445,
-0.010709015652537346,
-0.03608965501189232,
-0.003103438299149275,
0.023830054327845573,
-0.06478002667427063,
-0.005195822566747665,
-0.018788384273648262,
0.051396023482084274,
0.06401833146810532,
-0.017437288537621498,
-0.024736829102039337,
-0.04113132506608963,
0.01841660588979721,
0.005517727695405483,
-0.0021989301312714815,
-0.042291998863220215,
-0.06866102665662766,
0.03344187140464783,
-0.07885317504405975,
-0.07573387026786804,
0.07000305503606796,
-0.0032326539512723684,
0.016258480027318,
0.02156311646103859,
-0.006932297255843878,
-0.03552745655179024,
-0.0490746796131134,
-0.07413794845342636,
0.0118968915194273,
0.015596535056829453,
-0.002346280962228775,
-0.02078329026699066,
-0.015805093571543694,
0.054043807089328766,
0.0716715157032013,
0.06699255853891373,
-0.04486723989248276,
-0.044286902993917465,
0.03137442469596863,
-0.0614793635904789,
-0.012459092773497105,
0.010418848134577274,
0.01221426296979189,
0.018752112984657288,
0.04562893137335777,
0.005572134163230658,
-0.007666784804314375,
0.04718858748674393,
-0.007938817143440247,
0.01684788428246975,
0.010944778099656105,
-0.010047069750726223,
0.002196663059294224,
-0.018362199887633324,
0.03643422946333885,
0.033042892813682556,
0.0005826030974276364,
0.024410391226410866,
0.009620885364711285,
-0.011053591035306454,
0.03873743861913681,
-0.0038243248127400875,
0.021599387750029564,
0.03268017992377281,
-0.05632888153195381,
-0.04323504492640495,
-0.04410554841160774,
0.006061792839318514,
-0.06245868280529976,
0.03336932882666588,
-0.0025797756388783455,
0.050598062574863434,
0.0063020880334079266,
0.01748262718319893,
0.04769637808203697,
-0.04156658053398132,
0.03599897772073746,
0.049256034195423126,
-0.031682729721069336,
-0.0021456570830196142,
-0.04185674712061882,
-0.03376831114292145,
-0.030721547082066536,
-0.01987651363015175,
0.0514322929084301,
0.01533356960862875,
-0.028617827221751213,
-0.0753711611032486,
0.015052469447255135,
0.002532169921323657,
-0.04098624363541603,
0.0475875660777092,
-0.011815281584858894,
0.019513804465532303,
-0.008043096400797367,
0.04425063356757164,
0.027856137603521347,
0.011461639776825905,
0.08059418946504593,
0.046281810849905014,
-0.024138357490301132,
-0.03376831114292145,
0.04113132506608963,
-0.04298114776611328,
-0.0903148204088211,
-0.006805348675698042,
-0.008228985592722893,
-0.023684971034526825,
-0.04595537111163139,
0.022070910781621933,
-0.06224105507135391,
0.07290473580360413,
-0.007680386770516634,
0.05255669355392456,
0.005105144809931517,
0.013148241676390171,
-0.02500886283814907,
-0.02874477580189705,
-0.04755129665136337,
-0.001217345823533833,
0.053717367351055145,
0.021127864718437195,
0.040297094732522964,
0.013338664546608925,
-0.017700253054499626,
-0.015052469447255135,
0.009376056492328644,
0.05197636038064957,
0.0356181338429451,
-0.014689759351313114,
0.005934844259172678,
-0.0037653844337910414,
0.015805093571543694,
-0.0323718786239624,
-0.01221426296979189,
0.012531634420156479,
0.0471523143351078,
-0.013520019128918648,
-0.018733978271484375,
-0.07711216807365417,
-0.0013476947788149118,
-0.010609271004796028,
0.008990677073597908,
-0.07957860082387924,
-0.0076078446581959724,
0.005943912081420422,
0.008355934172868729,
0.018752112984657288,
0.007467294577509165,
-0.010273763909935951,
-0.03634355217218399,
-0.002314543817192316,
0.028781047090888023,
-0.03599897772073746,
0.016476107761263847,
0.018452877178788185,
0.021200405433773994,
0.03761303797364235,
0.0434526726603508,
0.024646151810884476,
-0.00982037652283907,
0.004189301747828722,
0.06764543801546097,
0.0002966855245176703,
-0.03703270107507706,
0.031664591282606125,
0.025589197874069214,
0.04298114776611328,
-0.020094139501452446,
0.03583575785160065,
-0.0017455423949286342,
0.04200183227658272,
-0.00009882434096653014,
0.010047069750726223,
0.0413852222263813,
0.06974915415048599,
0.07228812575340271,
-0.015596535056829453,
-0.025299031287431717,
-0.007022974546998739,
0.014372387900948524,
-0.04454080015420914,
-0.01684788428246975,
0.052991949021816254,
-0.019151093438267708,
0.007118185982108116,
0.01602271944284439,
-0.027493426576256752,
0.03226306289434433,
-0.012921547517180443,
-0.07820030301809311,
-0.03822964429855347,
-0.09793172776699066,
-0.02658665180206299,
0.06390952318906784,
-0.040623534470796585,
0.0008274324354715645,
-0.09176565706729889,
-0.07573387026786804,
-0.04998145252466202,
0.017038308084011078,
0.052193984389305115,
-0.017591441050171852,
-0.028400201350450516,
0.04192928969860077,
-0.029034944251179695,
0.049473658204078674,
-0.03608965501189232,
-0.006655730772763491,
-0.010981048457324505,
0.00933978520333767,
-0.011089861392974854,
0.024410391226410866,
0.003463881555944681,
-0.019368719309568405,
-0.036960162222385406,
0.0006534449639730155,
-0.021780742332339287,
-0.06837085634469986,
-0.010736219584941864,
-0.01696576550602913,
-0.0007832271512597799,
-0.00673280656337738,
-0.051069583743810654,
0.011452571488916874,
0.04134895280003548,
0.01750076375901699,
-0.015360773541033268,
-0.05154110863804817,
-0.0091266930103302,
0.002595644211396575,
0.029597144573926926,
0.07392032444477081,
0.02437411993741989,
0.006968568079173565,
-0.02203463949263096,
-0.029361383989453316,
-0.04051471874117851,
-0.010663677006959915,
0.01754610240459442,
0.04084115847945213,
0.015632806345820427,
0.05447905883193016,
0.01677534356713295,
-0.037903208285570145,
-0.03735914081335068,
0.04497605562210083,
-0.04127641022205353,
0.022887008264660835,
0.03530982881784439,
0.013719510287046432,
-0.031827811151742935,
0.035273559391498566,
0.043561484664678574,
-0.008904533460736275,
0.09981781989336014,
0.04874823987483978,
-0.0993100255727768,
0.019985327497124672,
0.012341211549937725,
-0.011615791358053684,
-0.005277432035654783,
-0.022578705102205276,
-0.05154110863804817,
0.023195311427116394,
-0.028418337926268578,
-0.06039123237133026,
0.0049600605852901936,
-0.00036044316948391497,
0.01162485871464014,
-0.04363402724266052,
0.04664452001452446,
-0.004431864246726036,
0.013610697351396084,
0.034076616168022156,
0.01748262718319893,
-0.013393070548772812,
0.024736829102039337,
-0.027185123413801193,
0.031193070113658905,
0.0571993850171566,
-0.008206316269934177,
-0.042944878339767456,
0.016340089961886406,
0.049727555364370346,
0.012975954450666904,
-0.009956392459571362,
-0.027656646445393562,
-0.004298114683479071,
-0.03906387835741043,
0.019187364727258682,
-0.00855089072138071,
0.021853284910321236,
0.0570542998611927,
0.026078857481479645,
-0.01230494026094675,
0.0018044827738776803,
-0.0016355959232896566,
0.0031691796611994505,
0.0472973994910717,
0.000226127085625194,
-0.027620375156402588,
0.060899026691913605,
-0.043887924402952194,
-0.0074808960780501366,
-0.005345440469682217,
-0.008111105300486088,
0.045483849942684174,
-0.059629540890455246,
-0.004887518938630819,
-0.02029363065958023,
0.02691308967769146,
-0.020094139501452446,
-0.03387712314724922,
-0.020311767235398293,
-0.013991542160511017,
-0.005145949777215719,
0.0020731149706989527,
0.016176871955394745,
0.04697095975279808,
0.05825124308466911,
-0.046535708010196686,
-0.010654609650373459,
0.0187702476978302,
0.08922668546438217,
-0.02442852593958378,
0.015052469447255135,
0.029977990314364433,
-0.022542433813214302,
-0.0029583543073385954,
-0.042944878339767456,
0.017954150214791298,
-0.03333305940032005,
0.0159592442214489,
0.04105878621339798,
0.02667732909321785,
-0.04185674712061882,
0.03474763035774231,
0.04824044555425644,
0.011044522747397423,
-0.004656291101127863,
0.005721752066165209,
-0.05585735663771629,
-0.008818389847874641,
-0.08588975667953491,
0.0008529354818165302,
-0.010436983779072762,
0.021780742332339287,
-0.048929594457149506,
-0.020728882402181625,
-0.04323504492640495,
-0.028400201350450516,
-0.00425277603790164,
-0.037177786231040955,
0.03300661966204643,
-0.04595537111163139,
-0.011642994359135628,
0.12078246474266052,
0.03866489976644516,
0.006646662950515747,
-0.03242628276348114,
-0.009475802071392536,
-0.009094956330955029,
0.010690880939364433,
0.018715841695666313,
-0.021508710458874702,
0.04689841717481613,
-0.032553233206272125,
0.020003462210297585,
0.03193662688136101,
0.03144696727395058,
-0.013873661868274212,
0.017183391377329826,
0.032934077084064484,
-0.05310076102614403,
0.007816403172910213,
0.02363056316971779,
-0.03520101681351662,
0.030177481472492218,
0.015587466768920422,
-0.006932297255843878,
-0.027058174833655357,
-0.003930870909243822,
0.010690880939364433,
-0.03728659823536873,
-0.014807640574872494,
-0.04591910168528557,
0.08763076364994049,
0.022252265363931656,
-0.034620679914951324,
-0.0013692306820303202,
0.047805193811655045,
0.009240040555596352,
0.01054579671472311,
0.04766010865569115,
-0.04961874336004257,
-0.05150483548641205,
-0.0947398841381073,
0.04254589602351189,
0.009639021009206772,
0.01445399783551693,
0.003243988612666726,
-0.0023553487844765186,
0.0040646200068295,
0.005676413420587778,
-0.03608965501189232,
0.005182220600545406,
0.044286902993917465,
0.041965559124946594,
-0.011044522747397423,
-0.03180967643857002,
0.02627834677696228,
0.014988995157182217,
-0.012722057290375233,
0.04192928969860077,
0.004719765391200781,
-0.019930921494960785,
0.023503614589571953,
0.03333305940032005,
0.05462414398789406,
0.026423431932926178,
0.05382617935538292
] |
725,763 | zep_python.zep_client | __aexit__ | Asynchronous context manager exit point | def _healthcheck(self, base_url: str) -> None:
"""
Check that the Zep server is running, the API URL is correct,
and that the server version is compatible with this client.
Raises
------
ConnectionError
If the server is not running or the API URL is incorrect.
"""
url = concat_url(base_url, "/healthz")
error_msg = """Failed to connect to Zep server. Please check that:
- the server is running
- the API URL is correct
- No other process is using the same port
"""
try:
response = httpx.get(url)
if response.status_code != 200 or response.text != ".":
raise APIError(response, error_msg)
zep_server_version_str = response.headers.get("X-Zep-Version")
if zep_server_version_str:
if "dev" in zep_server_version_str:
return
zep_server_version = parse_version_string(zep_server_version_str)
else:
zep_server_version = Version("0.0.0")
if zep_server_version < Version(MINIMUM_SERVER_VERSION):
warnings.warn(
(
"You are using an incompatible Zep server version. Please"
f" upgrade to {MINIMUM_SERVER_VERSION} or later."
),
Warning,
stacklevel=2,
)
except (httpx.ConnectError, httpx.NetworkError, httpx.TimeoutException) as e:
raise APIError(None, error_msg) from e
| (self, exc_type: Type[Exception], exc_val: Exception, exc_tb: traceback) -> NoneType | [
0.00046244222903624177,
-0.07580425590276718,
-0.06503207236528397,
0.022650601342320442,
0.017509331926703453,
-0.017681613564491272,
-0.010146526619791985,
0.037938397377729416,
-0.05498528853058815,
-0.04671573266386986,
0.028798362240195274,
0.04290738329291344,
0.053607027977705,
-0.04747740179300308,
0.007276664488017559,
-0.050850510597229004,
0.061586424708366394,
-0.008731997571885586,
0.039534278213977814,
-0.06622897833585739,
-0.02350294589996338,
0.04181928560137749,
0.04076745733618736,
0.039824437350034714,
-0.00985636655241251,
0.05001629889011383,
0.00028690119506791234,
0.010862858965992928,
0.040187135338783264,
-0.05219249799847603,
-0.055166635662317276,
0.02323092147707939,
-0.03015848621726036,
0.051140669733285904,
-0.008537046611309052,
0.025497794151306152,
0.02029305323958397,
-0.03293314203619957,
-0.11091359704732895,
0.035236284136772156,
0.0013442561030387878,
-0.03222587704658508,
-0.02593303471803665,
0.02868955209851265,
0.05103186145424843,
-0.0006670275470241904,
-0.03257044032216072,
0.05806823447346687,
-0.022088417783379555,
-0.04776756092905998,
-0.054078537970781326,
0.022505521774291992,
0.08189760893583298,
-0.003976096399128437,
0.031228451058268547,
0.0008330760756507516,
0.03804720565676689,
0.061441343277692795,
0.010454821400344372,
0.006338178645819426,
-0.0552029088139534,
0.06325484067201614,
-0.05872109532356262,
-0.005726122763007879,
0.011125816032290459,
0.008015665225684643,
-0.07116169482469559,
-0.039316657930612564,
-0.006152295041829348,
0.0037584765814244747,
0.06622897833585739,
0.035000529140233994,
-0.04562763124704361,
-0.010327876545488834,
0.055819496512413025,
-0.0029537363443523645,
-0.012204847298562527,
0.01679299958050251,
-0.019186818972229958,
-0.012114172801375389,
0.00793859176337719,
0.00420505041256547,
0.035381365567445755,
-0.027873478829860687,
0.09248844534158707,
-0.014054616913199425,
0.056182198226451874,
-0.035381365567445755,
0.0063563138246536255,
0.09611544013023376,
-0.03986070677638054,
-0.016375895589590073,
-0.030629996210336685,
-0.028435662388801575,
0.07631203532218933,
-0.017654411494731903,
0.002314477926120162,
-0.03206266090273857,
-0.02702113427221775,
-0.04287111386656761,
-0.04914582148194313,
0.08574222773313522,
-0.045736443251371384,
-0.006655541248619556,
0.031790636479854584,
-0.03855498880147934,
-0.0045700171031057835,
-0.03891768679022789,
-0.015868116170167923,
-0.01138877309858799,
-0.05066915974020958,
-0.07536901533603668,
0.019223088398575783,
-0.04707843065261841,
0.03481917828321457,
-0.017654411494731903,
-0.008559715002775192,
0.00757589191198349,
-0.044938504695892334,
-0.02774653397500515,
0.050850510597229004,
0.017817627638578415,
0.026912324130535126,
-0.01727357693016529,
0.0289797130972147,
0.04831160977482796,
-0.024192076176404953,
0.010137459263205528,
0.028091099113225937,
0.023158380761742592,
0.001638949615880847,
0.037430617958307266,
-0.04337889328598976,
0.02948749251663685,
-0.02401072531938553,
-0.005413294304162264,
0.008636788465082645,
0.03356786444783211,
-0.03394870087504387,
-0.004828440956771374,
0.010608968324959278,
-0.009339519776403904,
-0.019440708681941032,
-0.0260781142860651,
0.02555220015347004,
0.018252866342663765,
-0.044648341834545135,
-0.06535850465297699,
0.01048202347010374,
0.00016420666361227632,
0.03753942623734474,
-0.009865433908998966,
-0.006746216211467981,
-0.07928617298603058,
-0.07522393763065338,
-0.027837207540869713,
-0.03782958909869194,
-0.04577271267771721,
0.039099037647247314,
-0.004581351764500141,
-0.05182980000972748,
-0.005902939010411501,
-0.00952993705868721,
-0.05455004796385765,
-0.03986070677638054,
0.006537663750350475,
-0.04287111386656761,
-0.01409088633954525,
0.037430617958307266,
0.03986070677638054,
-0.028163637965917587,
0.04062237590551376,
-0.08385618776082993,
0.005594644229859114,
0.038591258227825165,
-0.016847405582666397,
0.010282538831233978,
0.014988568611443043,
-0.011506650596857071,
-0.035073067992925644,
-0.009865433908998966,
-0.035453904420137405,
-0.0626019835472107,
-0.031808771193027496,
-0.01219577994197607,
0.03605235740542412,
0.04729605093598366,
0.01340175699442625,
-0.02306770719587803,
0.06913057714700699,
-0.048746850341558456,
0.027057403698563576,
0.07834315299987793,
0.048166532069444656,
0.06448802351951599,
-0.007199590560048819,
0.010346011258661747,
0.01259475015103817,
0.06666421890258789,
-0.03044864721596241,
-0.028000423684716225,
0.04929089918732643,
0.025098824873566628,
-0.009956109337508678,
0.004377332981675863,
-0.005644515622407198,
-0.03349532559514046,
-0.03200825676321983,
-0.055311717092990875,
0.017690682783722878,
-0.024500370025634766,
0.005027925595641136,
-0.06934820115566254,
0.027800938114523888,
-0.014770948328077793,
-0.027583317831158638,
0.046606920659542084,
-0.015487280674278736,
0.03657827153801918,
0.022360442206263542,
0.019368167966604233,
-0.019223088398575783,
0.025298310443758965,
-0.011488515883684158,
0.019458843395113945,
0.05821331590414047,
0.031863175332546234,
0.036251842975616455,
-0.025515930727124214,
-0.025715414434671402,
0.02190706692636013,
0.017763221636414528,
0.061876583844423294,
0.009548071771860123,
-0.017872031778097153,
-0.016348693519830704,
0.012096038088202477,
0.03971562534570694,
0.032606709748506546,
-0.0289797130972147,
0.033622268587350845,
-0.027347562834620476,
0.020401863381266594,
-0.0018701708177104592,
-0.01346522942185402,
-0.05081424117088318,
-0.012159510515630245,
0.027982288971543312,
-0.035308822989463806,
-0.02323092147707939,
-0.05182980000972748,
-0.046316761523485184,
0.026531489565968513,
-0.07783537358045578,
-0.01157012302428484,
-0.03949800506234169,
-0.012866774573922157,
-0.06350873410701752,
0.044575802981853485,
-0.009022156707942486,
0.001831633853726089,
-0.00254796608351171,
-0.03349532559514046,
0.06477817893028259,
-0.06147761270403862,
-0.009085629135370255,
0.06390770524740219,
0.02620505914092064,
-0.012812369503080845,
-0.0039919642731547356,
0.07036375999450684,
0.0028834633994847536,
-0.0077799102291464806,
0.0021478626877069473,
-0.029233602806925774,
0.009235243313014507,
-0.0015335400821641088,
-0.04914582148194313,
-0.012767032720148563,
-0.00673261471092701,
0.016149207949638367,
0.021816391497850418,
0.019295629113912582,
0.036179304122924805,
-0.042762305587530136,
-0.020039163529872894,
-0.022306036204099655,
-0.005367956589907408,
-0.04000578448176384,
-0.03306008502840996,
-0.04236333444714546,
-0.023031435906887054,
-0.0011345702223479748,
-0.044358182698488235,
-0.021780122071504593,
0.019531384110450745,
-0.005576509051024914,
-0.008940549567341805,
-0.001164039596915245,
-0.02562473900616169,
0.01838887855410576,
-0.0005916540394537151,
-0.018416080623865128,
-0.009421126917004585,
0.019875947386026382,
-0.007743640337139368,
0.028236178681254387,
0.010427618399262428,
-0.012304590083658695,
-0.018062449991703033,
0.0017987642204388976,
-0.022723142057657242,
0.014154358766973019,
-0.021054722368717194,
0.04751367121934891,
0.026458948850631714,
0.027855344116687775,
0.02685791812837124,
-0.008183414116501808,
0.05922887474298477,
-0.04490223154425621,
0.07166947424411774,
0.05672624707221985,
0.07754521071910858,
-0.013655646704137325,
0.002234003972262144,
0.057850614190101624,
-0.0011436378117650747,
0.011316233314573765,
-0.020419998094439507,
-0.06666421890258789,
-0.024790531024336815,
0.004900980740785599,
-0.013900469057261944,
0.022306036204099655,
-0.01971273310482502,
0.023756835609674454,
0.0034297797828912735,
0.003128285752609372,
-0.0039919642731547356,
0.014616801403462887,
0.030847616493701935,
-0.045518822968006134,
0.016847405582666397,
0.018497688695788383,
-0.045881520956754684,
-0.010717778466641903,
-0.03607049211859703,
-0.003119218163192272,
0.023901915177702904,
-0.06474190950393677,
-0.005154870450496674,
-0.018805984407663345,
0.051430828869342804,
0.06401651352643967,
-0.01737331971526146,
-0.024717990309000015,
-0.04113015532493591,
0.01847955398261547,
0.005463165696710348,
-0.0022623399272561073,
-0.04229079559445381,
-0.06862279772758484,
0.03342278674244881,
-0.07877839356660843,
-0.07565917819738388,
0.07000105828046799,
-0.0032257612328976393,
0.01625801809132099,
0.02154436707496643,
-0.0069366334937512875,
-0.035526443272829056,
-0.049037009477615356,
-0.07417210936546326,
0.011878417804837227,
0.015596090815961361,
-0.002323545515537262,
-0.02080083265900612,
-0.01583184488117695,
0.05396972969174385,
0.07163320481777191,
0.06699065119028091,
-0.04482969269156456,
-0.04432191327214241,
0.03140980005264282,
-0.06147761270403862,
-0.012495007365942001,
0.010463888756930828,
0.012204847298562527,
0.018733443692326546,
0.04562763124704361,
0.005571975372731686,
-0.007689235266298056,
0.04718724265694618,
-0.007920456118881702,
0.016874607652425766,
0.010917263105511665,
-0.010019581764936447,
0.0021795989014208317,
-0.01838887855410576,
0.03637878969311714,
0.03300568088889122,
0.0006058219587430358,
0.024445965886116028,
0.009620611555874348,
-0.01106234360486269,
0.038736335933208466,
-0.0038242158479988575,
0.021598773077130318,
0.03269738703966141,
-0.056327275931835175,
-0.04323381558060646,
-0.04403175413608551,
0.006061620078980923,
-0.062456902116537094,
0.03336837887763977,
-0.002591036492958665,
0.05059662088751793,
0.006283773574978113,
0.017473062500357628,
0.04773129150271416,
-0.04156539589166641,
0.03601608797907829,
0.049254629760980606,
-0.03162742033600807,
-0.0021761986427009106,
-0.04181928560137749,
-0.03374921530485153,
-0.030756941065192223,
-0.019894083961844444,
0.051430828869342804,
0.01533313374966383,
-0.028598878532648087,
-0.07536901533603668,
0.015015770681202412,
0.0025706347078084946,
-0.040985073894262314,
0.04754994064569473,
-0.011814945377409458,
0.019513247534632683,
-0.008015665225684643,
0.04424937441945076,
0.027855344116687775,
0.011461312882602215,
0.08059189468622208,
0.04628049209713936,
-0.02410140074789524,
-0.03380361944437027,
0.04109388589859009,
-0.04301619529724121,
-0.09031224995851517,
-0.006818755995482206,
-0.00830129161477089,
-0.02366616018116474,
-0.04595406353473663,
0.022106552496552467,
-0.06227555125951767,
0.07290265709161758,
-0.0076847015880048275,
0.05248265713453293,
0.00509593216702342,
0.01313879992812872,
-0.025026286020874977,
-0.028743958100676537,
-0.04751367121934891,
-0.0011810411233454943,
0.05371583625674248,
0.021145397797226906,
0.04029594734311104,
0.013356419280171394,
-0.01775415427982807,
-0.01507924310863018,
0.00934858713299036,
0.051938608288764954,
0.03563525527715683,
-0.014680273830890656,
0.0058893379755318165,
-0.0038174153305590153,
0.015768373385071754,
-0.032316550612449646,
-0.012241117656230927,
0.012549412436783314,
0.04718724265694618,
-0.013519634492695332,
-0.018733443692326546,
-0.07710997760295868,
-0.0013850597897544503,
-0.010618036612868309,
0.008999488316476345,
-0.07957633584737778,
-0.007603094447404146,
0.00594827625900507,
0.008342094719409943,
0.018715308979153633,
0.007494284305721521,
-0.010300673544406891,
-0.036396924406290054,
-0.002300876658409834,
0.028780227527022362,
-0.03601608797907829,
0.016466571018099785,
0.018470486626029015,
0.021199801936745644,
0.03761196881532669,
0.043487705290317535,
0.024627314880490303,
-0.009801961481571198,
0.004173314198851585,
0.06771604716777802,
0.00032812997233122587,
-0.03695910796523094,
0.03168182447552681,
0.02555220015347004,
0.04301619529724121,
-0.02007543295621872,
0.03583473712205887,
-0.0017182902665808797,
0.04200063645839691,
-0.00008415768388658762,
0.010064918547868729,
0.04138404503464699,
0.06967462599277496,
0.07228606939315796,
-0.015596090815961361,
-0.02533457987010479,
-0.007027308456599712,
0.014326641336083412,
-0.044503264129161835,
-0.01683833822607994,
0.05299044027924538,
-0.019114278256893158,
0.00713611813262105,
0.01599506102502346,
-0.027492644265294075,
0.03226214647293091,
-0.012884910218417645,
-0.07819807529449463,
-0.038228556513786316,
-0.09792894124984741,
-0.026604028418660164,
0.06390770524740219,
-0.04065864533185959,
0.0008546113385818899,
-0.09176304191350937,
-0.07580425590276718,
-0.04994376003742218,
0.016992485150694847,
0.05219249799847603,
-0.017618142068386078,
-0.028363123536109924,
0.04192809388041496,
-0.029034117236733437,
0.04950851947069168,
-0.03612489998340607,
-0.006632872391492128,
-0.010944466106593609,
0.009339519776403904,
-0.011134883388876915,
0.024445965886116028,
0.003472850425168872,
-0.01935003325343132,
-0.03694097325205803,
0.0007044309750199318,
-0.021780122071504593,
-0.06836891174316406,
-0.010799386538565159,
-0.016947146505117416,
-0.0008240085444413126,
-0.006741682067513466,
-0.051068130880594254,
0.011443178169429302,
0.04134777560830116,
0.017436791211366653,
-0.015396606177091599,
-0.05153964087367058,
-0.009099231101572514,
0.002611438510939479,
0.029596302658319473,
0.07391821593046188,
0.02439155988395214,
0.006968369707465172,
-0.02205214649438858,
-0.02936054766178131,
-0.04051356762647629,
-0.010717778466641903,
0.017545601353049278,
0.04080372676253319,
0.01562329288572073,
0.054368697106838226,
0.01682020165026188,
-0.037865858525037766,
-0.03728553652763367,
0.044938504695892334,
-0.04127523675560951,
0.022904491052031517,
0.03525441884994507,
0.013719119131565094,
-0.031863175332546234,
0.035308822989463806,
0.04359651356935501,
-0.008895211853086948,
0.09981498122215271,
0.04871058091521263,
-0.09930720180273056,
0.02000289224088192,
0.012331793084740639,
-0.011615460738539696,
-0.00525914691388607,
-0.022596197202801704,
-0.05153964087367058,
0.023194652050733566,
-0.028417527675628662,
-0.06038951501250267,
0.004968986846506596,
-0.00033691409043967724,
0.011651730164885521,
-0.043632782995700836,
0.046606920659542084,
-0.004436271730810404,
0.01361030898988247,
0.03411191329360008,
0.017527466639876366,
-0.01336548663675785,
0.024736125022172928,
-0.02722061797976494,
0.03117404691874981,
0.05719775706529617,
-0.008160744793713093,
-0.04294365271925926,
0.016303354874253273,
0.04972613975405693,
0.013020922429859638,
-0.009947041980922222,
-0.02767399325966835,
-0.0043342625722289085,
-0.039171576499938965,
0.01913241297006607,
-0.00856424868106842,
0.021870797500014305,
0.05698013678193092,
0.026041844859719276,
-0.012322724796831608,
0.0017964973812922835,
-0.0016706858295947313,
0.0031554880551993847,
0.04733232036232948,
0.00023037103528622538,
-0.027655858546495438,
0.06089729443192482,
-0.04388667270541191,
-0.007485216949135065,
-0.0052682142704725266,
-0.008065536618232727,
0.045518822968006134,
-0.059627845883369446,
-0.004928183276206255,
-0.020256783813238144,
0.026912324130535126,
-0.02007543295621872,
-0.03387615829706192,
-0.02036559209227562,
-0.013991144485771656,
-0.005114066880196333,
0.0020809900015592575,
0.016176410019397736,
0.04704216122627258,
0.05832212418317795,
-0.04653438180685043,
-0.010654306039214134,
0.018733443692326546,
0.08922414481639862,
-0.02439155988395214,
0.015061108395457268,
0.029995271936058998,
-0.022541791200637817,
-0.0029356013983488083,
-0.04287111386656761,
0.017944572493433952,
-0.03329584002494812,
0.015958789736032486,
0.04105761647224426,
0.026676569133996964,
-0.04185555502772331,
0.034710370004177094,
0.04823907092213631,
0.011089545674622059,
-0.0046130879782140255,
0.005707988049834967,
-0.05585576593875885,
-0.008858942426741123,
-0.08588730543851852,
0.0007888720137998462,
-0.010427618399262428,
0.02183452621102333,
-0.048964470624923706,
-0.020710157230496407,
-0.043197546154260635,
-0.028363123536109924,
-0.0042413207702338696,
-0.03724926710128784,
0.03300568088889122,
-0.04595406353473663,
-0.011651730164885521,
0.12070649117231369,
0.038663797080516815,
0.0066374060697853565,
-0.03242535889148712,
-0.00949366670101881,
-0.009062960743904114,
0.010672440752387047,
0.018715308979153633,
-0.021508097648620605,
0.04693335294723511,
-0.03257044032216072,
0.02002102881669998,
0.03191757947206497,
0.03148234263062477,
-0.013891401700675488,
0.01722824014723301,
0.03293314203619957,
-0.0531717874109745,
0.00781618058681488,
0.023629890754818916,
-0.035236284136772156,
0.03015848621726036,
0.015550753101706505,
-0.006959301885217428,
-0.027057403698563576,
-0.003896755864843726,
0.010735913179814816,
-0.03728553652763367,
-0.014843489043414593,
-0.045881520956754684,
0.08762826770544052,
0.02226976677775383,
-0.034565288573503494,
-0.00135559041518718,
0.04780383035540581,
0.009257911704480648,
0.01058176625519991,
0.04773129150271416,
-0.04958106204867363,
-0.05146709829568863,
-0.09473718702793121,
0.042544685304164886,
0.009629678912460804,
0.014462653547525406,
0.0032597642857581377,
-0.0023439473006874323,
0.004016899969428778,
0.005721589084714651,
-0.03614303469657898,
0.005204741843044758,
0.04424937441945076,
0.04200063645839691,
-0.011053276248276234,
-0.03175436705350876,
0.02627759985625744,
0.014997635968029499,
-0.012649155221879482,
0.04200063645839691,
0.004678827244788408,
-0.019966622814536095,
0.02350294589996338,
0.033332109451293945,
0.05469512566924095,
0.026368273422122,
0.053788378834724426
] |
725,764 | zep_python.zep_client | __enter__ | Sync context manager entry point | def __enter__(self) -> "ZepClient":
"""Sync context manager entry point"""
return self
| (self) -> zep_python.zep_client.ZepClient | [
0.05029427632689476,
-0.04958968609571457,
-0.04911996051669121,
0.034390684217214584,
0.01490542571991682,
-0.019493645057082176,
-0.005963847506791353,
0.05291132256388664,
0.048214059323072433,
-0.03007926605641842,
-0.012841984629631042,
-0.05858159437775612,
-0.018050914630293846,
0.029357900843024254,
-0.034625545144081116,
0.024140581488609314,
-0.050462037324905396,
-0.028854621574282646,
0.010199773125350475,
-0.025398777797818184,
0.008429910987615585,
0.029978610575199127,
0.0498245507478714,
-0.03083418309688568,
-0.030347680673003197,
0.05220673605799675,
-0.03264598548412323,
-0.001277068629860878,
0.03321636840701103,
-0.04660356789827347,
-0.003806042019277811,
-0.014637010172009468,
-0.019007142633199692,
0.011013406328856945,
0.06307754665613174,
-0.011701220646500587,
-0.03677286580204964,
0.009788762778043747,
-0.03427325189113617,
-0.033870629966259,
0.013471081852912903,
-0.006274202838540077,
0.06321175396442413,
0.02263074740767479,
0.03875242918729782,
0.05126728117465973,
0.05509219691157341,
0.01322783064097166,
0.10575554519891739,
-0.021456431597471237,
0.0308845117688179,
0.005770924501121044,
0.03133746236562729,
0.018520640209317207,
-0.03892018646001816,
0.03366931900382042,
0.030649647116661072,
0.019661404192447662,
-0.026606645435094833,
0.005313779693096876,
-0.05680334195494652,
-0.011810263618826866,
0.0222113486379385,
0.03922215476632118,
-0.027126699686050415,
-0.030196696519851685,
-0.05056269094347954,
0.02113768830895424,
0.043147724121809006,
0.021255118772387505,
0.02942500449717045,
-0.00018558386364020407,
-0.03220980986952782,
0.0033342186361551285,
0.004844053648412228,
0.0033551885280758142,
-0.04801274836063385,
0.002793194493278861,
0.03616893291473389,
-0.011692832224071026,
-0.041235268115997314,
0.022932713851332664,
-0.04395297169685364,
0.03200849890708923,
0.07153262197971344,
0.0014637010172009468,
0.04234248027205467,
-0.025214241817593575,
-0.06314464658498764,
0.018520640209317207,
-0.028753966093063354,
0.0899861603975296,
-0.03251177817583084,
0.015224168077111244,
0.05780990049242973,
-0.020433098077774048,
-0.005980623885989189,
-0.0022773342207074165,
-0.021708069369196892,
0.03972543403506279,
-0.03754455968737602,
0.0648222416639328,
0.01097146701067686,
-0.007222043350338936,
0.01285037212073803,
-0.03590051829814911,
0.017665067687630653,
-0.05552837252616882,
-0.013429142534732819,
-0.015140288509428501,
-0.034994617104530334,
-0.0420069620013237,
-0.01557646319270134,
-0.003344703698530793,
-0.014687337912619114,
0.008924801833927631,
-0.01098824292421341,
0.0030993553809821606,
0.05844738334417343,
-0.019829165190458298,
-0.014469251036643982,
0.04851602762937546,
-0.020986704155802727,
-0.011432805098593235,
0.024408996105194092,
0.0438523143529892,
0.0010841452749446034,
-0.010879199020564556,
0.009419691748917103,
-0.0028351342771202326,
0.028301015496253967,
0.035229481756687164,
0.0011606855550780892,
-0.029827626422047615,
0.02402315102517605,
0.05170345678925514,
0.032897625118494034,
-0.013177502900362015,
0.004814695566892624,
0.07649829983711243,
-0.021691294386982918,
0.030616095289587975,
-0.0353972390294075,
-0.0073394752107560635,
-0.01029204111546278,
-0.010627559386193752,
-0.07710223644971848,
-0.011843815445899963,
0.01056884415447712,
-0.026992492377758026,
0.07139841467142105,
0.0067732869647443295,
0.050361379981040955,
0.04646936058998108,
-0.038718875497579575,
0.008106974884867668,
-0.06831163913011551,
0.0054605696350336075,
0.04512728750705719,
-0.03469264879822731,
-0.04066488519310951,
0.007800813298672438,
0.022244900465011597,
-0.011743159964680672,
0.004034614190459251,
0.004200276918709278,
-0.03616893291473389,
-0.037880077958106995,
-0.014418923296034336,
0.014393758960068226,
-0.019963372498750687,
-0.012724552303552628,
-0.050495587289333344,
0.006324530579149723,
-0.0255162101238966,
0.03757811337709427,
0.014536354690790176,
0.0195104219019413,
0.0007580629317089915,
-0.03333379700779915,
-0.01788315549492836,
-0.04787854105234146,
-0.020802170038223267,
-0.00013296245015226305,
0.020969929173588753,
0.0047685615718364716,
0.07629698514938354,
-0.0010395841673016548,
0.04979099705815315,
-0.03288084641098976,
-0.0533810518682003,
0.0197956133633852,
0.025130363181233406,
0.016062965616583824,
-0.008698326535522938,
0.009579063393175602,
-0.02039954625070095,
0.010417860932648182,
-0.02299981750547886,
0.01357173826545477,
-0.0510324202477932,
0.009839090518653393,
0.02234555594623089,
-0.05663558468222618,
0.06841229647397995,
0.01613006927073002,
0.0011680250754579902,
-0.04066488519310951,
-0.015199004672467709,
0.0336189903318882,
-0.03694062680006027,
-0.017346324399113655,
-0.018990367650985718,
0.04237603023648262,
0.03637024387717247,
-0.03912149742245674,
0.032344017177820206,
0.00433238735422492,
0.07582726329565048,
0.06891557574272156,
-0.0028582012746483088,
-0.01352979801595211,
-0.02924046851694584,
-0.03576631098985672,
-0.028770742937922478,
-0.03533013537526131,
-0.016977254301309586,
-0.008790594525635242,
-0.0303141288459301,
-0.07985348999500275,
-0.001626217970624566,
-0.008295703679323196,
-0.006370664108544588,
-0.03390417993068695,
-0.04019515961408615,
-0.057071756571531296,
-0.008740265853703022,
0.05931973457336426,
-0.07019054889678955,
0.012766492553055286,
0.041839201003313065,
0.007398190908133984,
0.05445471033453941,
-0.0021640965715050697,
-0.023956047371029854,
-0.0006039339350536466,
0.012640672735869884,
-0.004244313575327396,
0.06150060519576073,
0.05807831510901451,
-0.04583187773823738,
-0.04120171442627907,
-0.0012456137919798493,
-0.019711732864379883,
-0.0599907711148262,
-0.062238749116659164,
0.0023171771317720413,
-0.01984594017267227,
0.005057946778833866,
-0.005687044467777014,
-0.023721182718873024,
0.027311235666275024,
-0.037745870649814606,
0.061165086925029755,
0.023670855909585953,
0.01557646319270134,
0.00007280497084138915,
-0.03128713369369507,
0.016499139368534088,
0.009964910335838795,
0.02989473007619381,
0.020701512694358826,
0.05029427632689476,
0.0383833572268486,
-0.051669903099536896,
-0.033367350697517395,
-0.043986521661281586,
-0.007247207220643759,
-0.13165760040283203,
-0.013999524526298046,
0.014259551651775837,
0.05583033710718155,
-0.002505906391888857,
-0.005661880597472191,
-0.06438606977462769,
-0.03162265196442604,
0.004495952744036913,
-0.01180187612771988,
-0.030767079442739487,
-0.0671708732843399,
-0.03992674499750137,
0.035464342683553696,
0.00705428421497345,
-0.04697263985872269,
0.08616124093532562,
-0.022798506543040276,
-0.07844430953264236,
0.0035879549104720354,
0.011156002059578896,
-0.0017635710537433624,
0.04304707050323486,
-0.044221386313438416,
-0.04368455708026886,
0.07582726329565048,
0.026740852743387222,
0.031505219638347626,
0.03771232068538666,
0.05026072636246681,
-0.0479791983962059,
0.001445876550860703,
-0.010392696596682072,
0.03757811337709427,
-0.01633976772427559,
-0.038114942610263824,
-0.006639079190790653,
0.0020047251600772142,
-0.0013536089099943638,
0.006823614705353975,
-0.003707483410835266,
0.049992311745882034,
-0.08777173608541489,
0.018520640209317207,
0.04284575954079628,
0.045060183852910995,
0.006794257089495659,
0.0564342737197876,
0.0159203689545393,
0.05428695306181908,
-0.005582195241004229,
0.014964140951633453,
-0.0647551417350769,
0.002484936499968171,
-0.027311235666275024,
-0.00975521095097065,
-0.043382588773965836,
0.044355593621730804,
0.04167144373059273,
-0.024794843047857285,
0.0017551829805597663,
-0.05489088594913483,
0.06076246500015259,
0.03962477669119835,
-0.04120171442627907,
-0.03831625357270241,
-0.0828060507774353,
-0.027093147858977318,
0.030515439808368683,
-0.030800631269812584,
0.023083698004484177,
0.028250688686966896,
-0.029374675825238228,
0.03616893291473389,
0.008459269069135189,
0.07971928268671036,
0.04083264619112015,
-0.019359437748789787,
-0.021406102925539017,
-0.015408703126013279,
0.014142120257019997,
-0.003942346666008234,
-0.008882861584424973,
-0.0047685615718364716,
0.027160251513123512,
0.044959526509046555,
-0.10219904780387878,
-0.05294487625360489,
0.012540017254650593,
-0.011810263618826866,
0.004596608225256205,
0.006928464397788048,
-0.03175685927271843,
-0.024996155872941017,
0.009553899057209492,
0.025214241817593575,
-0.005313779693096876,
-0.014846709556877613,
-0.0414365790784359,
-0.00756595004349947,
-0.024107029661536217,
0.07106289267539978,
0.047241054475307465,
0.05891711264848709,
0.029676642268896103,
-0.005947071593254805,
-0.000996595830656588,
-0.03898729011416435,
0.04727460816502571,
-0.00411010580137372,
0.019527196884155273,
-0.009159664623439312,
0.011315373703837395,
-0.04093329980969429,
-0.0037871692329645157,
0.020651185885071754,
-0.030850959941744804,
-0.02766353078186512,
-0.0002154660178348422,
-0.015291271731257439,
-0.011667667888104916,
-0.03353511169552803,
0.06884846836328506,
0.022714626044034958,
0.06290978938341141,
-0.015593239106237888,
0.02029889076948166,
-0.05126728117465973,
0.04304707050323486,
-0.016004249453544617,
0.08072583377361298,
0.004007353447377682,
-0.09582418948411942,
-0.04093329980969429,
-0.04251023754477501,
-0.01408340409398079,
-0.032058827579021454,
-0.08361130207777023,
0.06136639788746834,
-0.0012445652391761541,
0.01992982067167759,
0.053951431065797806,
0.019812388345599174,
-0.01040947251021862,
0.0013651424087584019,
0.015333211980760098,
0.0038186239544302225,
-0.05341460183262825,
-0.028468774631619453,
-0.010518516413867474,
-0.024929050356149673,
-0.03529658541083336,
-0.014662174507975578,
0.016188785433769226,
0.05603164806962013,
0.014058239758014679,
0.027076371014118195,
0.02244621142745018,
-0.010040401481091976,
-0.017346324399113655,
0.01820189878344536,
0.056736238300800323,
-0.0034327772445976734,
-0.023486319929361343,
-0.011768324300646782,
-0.031740084290504456,
0.030985167250037193,
-0.0169353149831295,
-0.01843676157295704,
0.00878220610320568,
0.07965217530727386,
0.02207714132964611,
-0.005594776943325996,
-0.014955753460526466,
0.024140581488609314,
0.011156002059578896,
-0.06576169282197952,
-0.014175672084093094,
0.029827626422047615,
-0.009184828959405422,
-0.026623422279953957,
0.005234094336628914,
0.02137255109846592,
-0.0276132021099329,
-0.0035585968289524317,
0.006592945661395788,
-0.004122687969356775,
0.031924620270729065,
0.020198235288262367,
0.00455047469586134,
-0.00649648392572999,
-0.03938991576433182,
0.007943408563733101,
-0.006341306492686272,
-0.04928772151470184,
-0.011835427954792976,
0.04381876438856125,
-0.014720889739692211,
-0.013915644958615303,
-0.008731878362596035,
-0.032662760466337204,
-0.05012651905417442,
-0.03908794745802879,
-0.007062672171741724,
0.0587829053401947,
0.025365225970745087,
-0.03996029496192932,
-0.026992492377758026,
0.12521563470363617,
-0.05183766409754753,
0.04549635574221611,
-0.02318435348570347,
-0.013068459928035736,
0.0570046529173851,
-0.0021336902864277363,
0.02747899480164051,
0.04358389973640442,
0.027210580185055733,
-0.04405362531542778,
-0.050596244633197784,
0.050596244633197784,
-0.08421523123979568,
0.01751408353447914,
0.03536368906497955,
0.00025177019415423274,
-0.009570675902068615,
0.03502816706895828,
-0.010501740500330925,
-0.08750332146883011,
-0.027009267359972,
0.03610182926058769,
0.008748654276132584,
0.030230248346924782,
0.018990367650985718,
-0.0010081293294206262,
-0.024828394874930382,
0.024140581488609314,
0.012389034032821655,
-0.06639917939901352,
0.018185121938586235,
-0.008949965238571167,
-0.03398805856704712,
0.05572968348860741,
0.031186478212475777,
0.07938376069068909,
-0.021875830367207527,
-0.02155708707869053,
-0.0040094503201544285,
0.044120728969573975,
-0.005657686851918697,
0.03600117191672325,
0.059722356498241425,
-0.008341837674379349,
-0.01513190008699894,
-0.03710838407278061,
-0.009344200603663921,
0.02315080165863037,
-0.01615523360669613,
-0.08723490685224533,
-0.026254350319504738,
-0.04287930950522423,
-0.054085638374090195,
0.024710964411497116,
0.0009735289495438337,
0.03670576214790344,
-0.04251023754477501,
-0.03640379756689072,
-0.01565195433795452,
0.029978610575199127,
0.005515091121196747,
-0.06629852950572968,
-0.05304552987217903,
0.02118801511824131,
-0.059823013842105865,
0.02981085143983364,
0.019392989575862885,
-0.03284729644656181,
-0.0528106689453125,
-0.00635808240622282,
-0.00480630761012435,
0.02239588461816311,
0.01764829270541668,
0.014158896170556545,
0.0804574191570282,
-0.07844430953264236,
0.005561225116252899,
0.038819532841444016,
-0.003413904458284378,
0.034155819565057755,
0.02538200095295906,
-0.0023612140212208033,
0.031085822731256485,
0.002510100370272994,
-0.01914135180413723,
0.08119556307792664,
0.05019362270832062,
-0.02234555594623089,
0.036068275570869446,
-0.018151570111513138,
0.021909382194280624,
0.03647090122103691,
-0.07730354368686676,
0.0014217611169442534,
-0.05244159698486328,
-0.0011135032400488853,
-0.06777480989694595,
-0.048918649554252625,
-0.0082621518522501,
-0.016264276579022408,
0.06703666597604752,
0.018134795129299164,
0.044590454548597336,
-0.019896268844604492,
-0.01835288107395172,
0.021590638905763626,
-0.037175487726926804,
0.037880077958106995,
-0.04281220585107803,
-0.01946009323000908,
0.002327662194147706,
0.050596244633197784,
0.05489088594913483,
-0.016952089965343475,
0.062138091772794724,
0.00796018447726965,
-0.002094895811751485,
0.040161605924367905,
-0.018705176189541817,
-0.045563459396362305,
-0.034390684217214584,
-0.04053067788481712,
-0.027395114302635193,
-0.025600088760256767,
-0.02514713816344738,
-0.030062489211559296,
-0.01513190008699894,
-0.008375389501452446,
0.0020456165075302124,
-0.0588500089943409,
0.01641526073217392,
0.014175672084093094,
0.027009267359972,
0.0570046529173851,
-0.02989473007619381,
-0.02561686560511589,
-0.01315233949571848,
-0.0012141588376834989,
0.0023423410020768642,
0.07307600975036621,
-0.03246144950389862,
-0.03687352314591408,
-0.00029043349786661565,
0.005712208338081837,
-0.014662174507975578,
0.006999762263149023,
-0.010224937461316586,
0.07448519021272659,
-0.020416323095560074,
0.016188785433769226,
0.006169353146106005,
-0.034071940928697586,
-0.007628859952092171,
0.016297828406095505,
-0.02658987045288086,
0.039322808384895325,
-0.021305447444319725,
-0.06519131362438202,
-0.041000403463840485,
0.010124281980097294,
-0.06703666597604752,
0.011013406328856945,
-0.03777942433953285,
-0.01667528785765171,
0.05019362270832062,
-0.014276327565312386,
-0.006387440487742424,
-0.04224182292819023,
-0.020231787115335464,
-0.0013850637478753924,
0.012800044380128384,
-0.0007192685734480619,
-0.00396541366353631,
-0.008715102449059486,
0.0630439966917038,
-0.023318560793995857,
0.03771232068538666,
0.006689407397061586,
0.01464539859443903,
-0.024794843047857285,
0.0075701442547142506,
0.017379876226186752,
0.021255118772387505,
0.033132486045360565,
0.01793348230421543,
-0.07696802914142609,
0.03158910199999809,
-0.04106750711798668,
-0.030112817883491516,
-0.006462932098656893,
-0.026757629588246346,
0.003957025706768036,
0.016532691195607185,
-0.0245935320854187,
0.022647522389888763,
0.0033195395953953266,
0.03390417993068695,
-0.0009483650210313499,
0.010845647193491459,
-0.006962016224861145,
-0.010795319452881813,
0.017170177772641182,
-0.08897960186004639,
0.0025184883270412683,
-0.009159664623439312,
-0.010417860932648182,
0.005385077558457851,
-0.0576421394944191,
-0.019527196884155273,
-0.02981085143983364,
-0.10582264512777328,
0.003160168183967471,
0.015794550999999046,
0.03445778787136078,
-0.008731878362596035,
0.04214116930961609,
-0.024694187566637993,
0.04969034343957901,
0.015492583625018597,
0.0272944588214159,
0.005573806818574667,
-0.002778515452519059,
0.0308845117688179,
0.051200177520513535,
0.010141057893633842,
0.044221386313438416,
0.023033369332551956,
0.07750485837459564,
0.04512728750705719,
-0.014393758960068226,
-0.002885462250560522,
0.010166221298277378,
0.01932588592171669,
-0.07059317082166672,
0.015425479970872402,
0.009344200603663921,
-0.07965217530727386,
0.07891403883695602,
-0.011541849002242088,
-0.054924435913562775,
0.009251932613551617,
-0.003850078908726573,
0.04657001793384552,
-0.040262263268232346,
-0.05609875172376633,
-0.044422697275877,
0.08381260931491852,
0.07233786582946777,
-0.011936083436012268,
0.0303141288459301,
0.05291132256388664,
-0.03199172392487526,
0.009939745999872684,
0.010493352077901363,
-0.022379107773303986,
-0.029726970940828323,
0.013638841919600964,
0.04391941800713539,
0.02110413648188114,
0.016247501596808434,
0.0192252304404974,
-0.009704883210361004,
0.019543973729014397,
0.02444254793226719,
0.0069745983928442,
0.03861822187900543,
0.04727460816502571,
-0.0069745983928442,
-0.04006095230579376,
-0.0112482700496912,
0.009629391133785248,
-0.0043281931430101395,
0.009788762778043747,
-0.002411541761830449,
-0.036672212183475494,
0.005020200740545988,
0.031035494059324265,
0.009654555469751358,
0.004739203955978155,
0.06227229908108711,
0.06227229908108711
] |
725,765 | zep_python.zep_client | __exit__ | Sync context manager exit point | def __exit__(
self,
exc_type: Type[Exception],
exc_val: Exception,
exc_tb: TracebackType,
) -> None:
"""Sync context manager exit point"""
self.close()
| (self, exc_type: Type[Exception], exc_val: Exception, exc_tb: traceback) -> NoneType | [
0.045682668685913086,
-0.013311163522303104,
0.022944923490285873,
0.0413319393992424,
-0.024429697543382645,
-0.06926639378070831,
-0.020683234557509422,
0.04692573472857475,
0.03642873466014862,
-0.025620969012379646,
0.01301766186952591,
-0.05738820508122444,
0.028417866677045822,
0.007708734832704067,
-0.0166605357080698,
0.07990150898694992,
-0.07803691178560257,
-0.01375141553580761,
0.013941328972578049,
-0.0116019481793046,
-0.0021861556451767683,
0.04164270684123039,
0.008118773810565472,
-0.07054398953914642,
-0.024705933406949043,
0.01101494487375021,
-0.025482850149273872,
0.01317304465919733,
0.03953639790415764,
-0.030783144757151604,
-0.04526831582188606,
-0.03263047710061073,
-0.018076248466968536,
0.011593315750360489,
0.03449507802724838,
-0.027157535776495934,
-0.04996434226632118,
0.0421261191368103,
0.05338277295231819,
0.007069936953485012,
0.016574211418628693,
-0.005662855692207813,
0.019630081951618195,
-0.0012333544436842203,
0.028262482956051826,
0.015106703154742718,
-0.000514976738486439,
-0.02054511569440365,
0.024118930101394653,
-0.04692573472857475,
0.00047747971257194877,
0.012309804558753967,
0.04250594601035118,
-0.0014092396013438702,
0.008256891742348671,
0.06101381406188011,
0.030040757730603218,
-0.012516982853412628,
0.010376146994531155,
-0.06246405839920044,
-0.0008950721239671111,
0.04885939508676529,
-0.026777710765600204,
0.009435215033590794,
0.0026436729822307825,
-0.023048512637615204,
-0.01888769492506981,
0.019509227946400642,
0.031007586047053337,
0.013846372254192829,
-0.01009127777069807,
-0.029626403003931046,
-0.05852768197655678,
0.05642137676477432,
0.0030882416758686304,
-0.026794975623488426,
-0.04771991819143295,
-0.012715527787804604,
0.03263047710061073,
-0.04174629598855972,
-0.007303011603653431,
0.050275105983018875,
-0.030386053025722504,
0.04599343612790108,
0.06463942676782608,
-0.02261689305305481,
0.02624250017106533,
-0.02691582776606083,
-0.06847220659255981,
0.07555077970027924,
-0.012629203498363495,
0.03936375305056572,
-0.005585163831710815,
-0.016030369326472282,
0.061531759798526764,
-0.034011662006378174,
-0.004035647958517075,
0.01175733096897602,
-0.0181280430406332,
-0.015590117312967777,
0.033252011984586716,
-0.015590117312967777,
0.058389563113451004,
0.0034292214550077915,
0.03459866717457771,
-0.003828470129519701,
0.025016700848937035,
-0.05638684704899788,
-0.033027566969394684,
-0.025292936712503433,
-0.07672478258609772,
-0.06139364093542099,
-0.05006793141365051,
-0.052139706909656525,
-0.027451036497950554,
-0.0017955395160242915,
-0.0530720055103302,
0.02448149025440216,
0.02898760512471199,
-0.01871504634618759,
0.029401959851384163,
0.029401959851384163,
-0.057629913091659546,
0.01937110908329487,
0.028452396392822266,
0.06218782067298889,
-0.006936134770512581,
0.023721840232610703,
-0.01909487321972847,
0.0605304017663002,
-0.02341107279062271,
0.018818635493516922,
-0.03306209668517113,
-0.015011746436357498,
0.023859959095716476,
0.04892845079302788,
-0.001711373683065176,
0.00844680517911911,
-0.02643241360783577,
-0.007268482353538275,
-0.01968187652528286,
0.02909119427204132,
-0.04844503849744797,
-0.0029911270830780268,
0.017558304592967033,
0.015944045037031174,
-0.03306209668517113,
0.007069936953485012,
-0.03770633041858673,
-0.03428789973258972,
0.004236351232975721,
0.002783949486911297,
0.005826870910823345,
0.0656062513589859,
-0.035703614354133606,
0.035392846912145615,
-0.020907677710056305,
0.028849486261606216,
0.042747654020786285,
-0.03673950210213661,
-0.01478730421513319,
-0.01057469192892313,
0.023169366642832756,
-0.03408072143793106,
-0.010755972005426884,
0.01871504634618759,
-0.025534644722938538,
0.015236188657581806,
0.00781232351437211,
-0.054867543280124664,
-0.0794871523976326,
-0.01949196308851242,
0.005520421080291271,
-0.015831824392080307,
-0.06439771503210068,
0.056559495627880096,
0.007488608360290527,
0.012706895358860493,
-0.010997680015861988,
-0.014882260002195835,
0.03587626293301582,
-0.1130499318242073,
-0.03290671482682228,
0.030472377315163612,
0.006016783881932497,
0.002391175366938114,
-0.024118930101394653,
0.006444087717682123,
0.015193026512861252,
-0.029194781556725502,
-0.010954517871141434,
-0.013915431685745716,
-0.013242104090750217,
0.0003080688475165516,
0.04091758280992508,
0.008744622580707073,
-0.04343824461102486,
0.00023361436615232378,
0.016479255631566048,
-0.008900006301701069,
-0.044784899801015854,
0.05676667392253876,
0.025586439296603203,
-0.06722914427518845,
0.061842527240514755,
0.007531770505011082,
0.03915657475590706,
-0.026777710765600204,
-0.0464077927172184,
0.04923921823501587,
0.009435215033590794,
-0.007436814252287149,
-0.021891770884394646,
0.061151932924985886,
0.07803691178560257,
-0.03963998705148697,
-0.0019153141183778644,
-0.030299730598926544,
0.029401959851384163,
0.08653119206428528,
0.004093916621059179,
-0.03660138323903084,
0.009530171751976013,
0.022357920184731483,
0.001165374182164669,
-0.0040852841921150684,
-0.02330748364329338,
0.011722801253199577,
0.052623119205236435,
-0.025396525859832764,
-0.044197894632816315,
0.016859080642461777,
0.002384701045230031,
-0.07292652875185013,
-0.030696820467710495,
-0.014269360341131687,
0.005024057812988758,
0.04091758280992508,
-0.06467395275831223,
0.0029824948869645596,
0.01258604135364294,
0.0012538563460111618,
0.022254331037402153,
-0.0037291974294930696,
0.04046870023012161,
0.0029307003132998943,
0.04364542290568352,
0.05738820508122444,
0.03915657475590706,
0.004111181478947401,
0.018490605056285858,
-0.014321153983473778,
0.01771368831396103,
-0.04986075311899185,
-0.006034048739820719,
-0.07265029102563858,
0.000015915989934001118,
-0.04005434364080429,
0.036877620965242386,
0.009927261620759964,
0.043023888021707535,
0.042436886578798294,
0.00930572859942913,
0.05455677956342697,
0.0033795852214097977,
-0.02387722209095955,
0.015667809173464775,
-0.06329277157783508,
0.03468498960137367,
0.029868109151721,
0.01584908924996853,
-0.012629203498363495,
-0.029022134840488434,
0.014364316128194332,
-0.04941186681389809,
0.05959809944033623,
-0.03299303725361824,
-0.030869469046592712,
-0.10579871386289597,
0.02358372136950493,
0.06405241787433624,
0.05990886688232422,
0.030696820467710495,
-0.008416591212153435,
-0.042747654020786285,
0.01714394986629486,
-0.01082503143697977,
-0.04385260120034218,
-0.02114938385784626,
-0.007436814252287149,
-0.018266161903738976,
-0.0006792620988562703,
-0.01517576165497303,
0.03611796721816063,
0.0640178918838501,
-0.014795936644077301,
-0.05711197108030319,
-0.03456413745880127,
0.017989924177527428,
0.005641274619847536,
0.03368363156914711,
-0.010833663865923882,
-0.0010990126756951213,
0.05196705833077431,
0.027261124923825264,
0.015564220026135445,
0.07244311273097992,
0.004398208577185869,
-0.024895846843719482,
0.08618589490652084,
0.03908751532435417,
0.04789256304502487,
-0.018058983609080315,
-0.03351098299026489,
0.03269953653216362,
-0.017385656014084816,
0.03349371999502182,
-0.029401959851384163,
-0.061842527240514755,
0.03732650354504585,
-0.059667158871889114,
-0.07120005041360855,
0.07707007974386215,
-0.046545907855033875,
0.03798256814479828,
-0.014286625199019909,
0.0061937482096254826,
0.046753086149692535,
-0.000273404351901263,
-0.006172167137265205,
-0.0418844111263752,
-0.03991622477769852,
-0.023670045658946037,
-0.036877620965242386,
0.0035953952465206385,
0.010548794642090797,
0.01888769492506981,
-0.029626403003931046,
0.012370231561362743,
-0.0762413740158081,
-0.008088560774922371,
0.0010876825544983149,
-0.0029458070639520884,
-0.03798256814479828,
-0.08991509675979614,
0.010376146994531155,
0.032854922115802765,
-0.018818635493516922,
0.01781727746129036,
0.057319145649671555,
0.008740306831896305,
0.03587626293301582,
-0.025517379865050316,
0.01043657399713993,
-0.015382939949631691,
-0.024067135527729988,
-0.009288463741540909,
-0.020614175125956535,
0.04533737525343895,
-0.022668687626719475,
0.03926016390323639,
0.04364542290568352,
0.004708975087851286,
0.010246660560369492,
-0.01802445389330387,
-0.053797125816345215,
-0.05300294607877731,
0.01792086660861969,
-0.01165374182164669,
0.01821436733007431,
-0.013820474967360497,
-0.03389080986380577,
0.03670497238636017,
0.027140270918607712,
0.018231632187962532,
-0.009426582604646683,
0.0110667385160923,
0.02477499283850193,
-0.01400175504386425,
0.06256764382123947,
0.02311757206916809,
0.01066964864730835,
0.006400926038622856,
-0.03694668039679527,
-0.046649497002363205,
-0.0653645470738411,
0.050965700298547745,
-0.020320674404501915,
0.0022724797017872334,
0.044405072927474976,
0.022185271605849266,
-0.035807203501462936,
0.030127082020044327,
-0.004920469131320715,
-0.012948602437973022,
0.025966264307498932,
-0.017489245161414146,
-0.010971782729029655,
0.0003898068971466273,
0.017782747745513916,
-0.008416591212153435,
0.09019133448600769,
-0.02710574120283127,
-0.022496039047837257,
0.0421261191368103,
-0.030006228014826775,
-0.004318358842283487,
-0.06533001363277435,
0.07037133723497391,
-0.009676922112703323,
-0.09233216941356659,
-0.03287218511104584,
0.015831824392080307,
-0.046649497002363205,
0.025707291439175606,
-0.04844503849744797,
0.06239499896764755,
0.021373827010393143,
0.08010868728160858,
0.038327861577272415,
0.02643241360783577,
0.0026048272848129272,
0.0389493964612484,
-0.007777793798595667,
-0.03007528744637966,
-0.06229140982031822,
-0.06260217726230621,
0.01042794156819582,
-0.02888401597738266,
-0.026501473039388657,
-0.0362560860812664,
-0.019440168514847755,
0.031473737210035324,
0.029108459129929543,
0.0011934295762330294,
-0.007026774808764458,
-0.06284388154745102,
0.010954517871141434,
0.02202988974750042,
0.05983980745077133,
0.026000794023275375,
0.0038716320414096117,
0.010807766579091549,
0.002307009417563677,
0.019043078646063805,
-0.03212979808449745,
0.05542001873254776,
0.02114938385784626,
0.01888769492506981,
0.026311559602618217,
0.005231235176324844,
-0.0123357018455863,
-0.014700979925692081,
-0.02018255554139614,
0.00036256088060326874,
-0.04343824461102486,
-0.01615985669195652,
-0.028918545693159103,
-0.013250736519694328,
0.015141232870519161,
-0.012024935334920883,
0.038155216723680496,
0.03701573982834816,
-0.06039228290319443,
-0.017135316506028175,
-0.017031729221343994,
0.03342466056346893,
-0.02437790296971798,
0.035392846912145615,
-0.004417631775140762,
-0.028728632256388664,
0.027174800634384155,
-0.029022134840488434,
0.017748218029737473,
-0.004717607516795397,
-0.001497721648775041,
-0.017005831003189087,
0.012465188279747963,
0.015961309894919395,
-0.02926384098827839,
0.056559495627880096,
-0.009797776117920876,
0.06905921548604965,
-0.005589480046182871,
-0.0725812315940857,
0.003996802028268576,
0.10172422230243683,
-0.07927997410297394,
0.030213406309485435,
0.052243296056985855,
-0.014623288065195084,
0.011472461745142937,
-0.00856334250420332,
0.004396050702780485,
0.05269217863678932,
-0.02095947042107582,
-0.05711197108030319,
-0.049584515392780304,
0.019733671098947525,
-0.0970972552895546,
0.015840457752346992,
0.0015246979892253876,
-0.010928620584309101,
-0.03553096577525139,
0.031680915504693985,
-0.003852209309116006,
-0.021581003442406654,
-0.021201178431510925,
0.009271199814975262,
-0.035496436059474945,
-0.021287502720952034,
0.010557427071034908,
0.013690989464521408,
-0.024067135527729988,
0.008951800875365734,
-0.01376004796475172,
-0.04809974133968353,
-0.046649497002363205,
0.036774031817913055,
0.04951545596122742,
0.029799049720168114,
0.04316200688481331,
0.04885939508676529,
-0.008416591212153435,
0.010695545934140682,
-0.06643496453762054,
0.059874337166547775,
0.015141232870519161,
0.05265764892101288,
0.07651761174201965,
-0.0016682116547599435,
-0.028348807245492935,
-0.01607353240251541,
-0.05231235548853874,
0.032837655395269394,
-0.027865393087267876,
-0.042436886578798294,
-0.02104579471051693,
0.00800655223429203,
-0.04081399366259575,
-0.004188872873783112,
0.04471584036946297,
0.0173942893743515,
-0.01301766186952591,
-0.027243860065937042,
-0.011696903966367245,
0.005589480046182871,
-0.00020002893870696425,
-0.012068097479641438,
0.0026501473039388657,
0.015408837236464024,
-0.026984887197613716,
0.07824409008026123,
0.03225065395236015,
-0.053624477237463,
-0.014700979925692081,
0.03169817849993706,
0.05120740830898285,
0.03299303725361824,
0.016971301287412643,
-0.00651314714923501,
0.11374052613973618,
-0.0013682356802746654,
-0.044888488948345184,
0.028935810551047325,
0.009512906894087791,
0.016755491495132446,
0.004191031213849783,
0.03130108863115311,
0.004048596601933241,
-0.018473340198397636,
-0.03691215068101883,
0.06867938488721848,
-0.010350249707698822,
-0.009616495110094547,
0.024498755112290382,
-0.01695403642952442,
0.021701857447624207,
0.021805446594953537,
-0.06370712071657181,
-0.012387496419250965,
-0.020199820399284363,
-0.020924940705299377,
-0.06374165415763855,
-0.009452479891479015,
-0.009435215033590794,
0.00013069996202830225,
0.03142194077372551,
-0.03140467777848244,
0.055454548448324203,
-0.03378722071647644,
0.03850051015615463,
0.019215725362300873,
-0.09896185249090195,
0.06370712071657181,
-0.013673724606633186,
-0.02310030721127987,
0.014882260002195835,
0.008865476585924625,
0.03268227353692055,
-0.002067460212856531,
0.001538725569844246,
-0.017489245161414146,
0.01976819895207882,
-0.00007688233017688617,
-0.009616495110094547,
0.0023005350958555937,
0.019319314509630203,
-0.06726367026567459,
0.056835733354091644,
-0.025672761723399162,
-0.02387722209095955,
0.03622155636548996,
-0.0169367715716362,
-0.04278218373656273,
-0.015227556228637695,
-0.06129005178809166,
0.02429157868027687,
-0.005019741598516703,
0.03321748226881027,
-0.00692750234156847,
-0.02615617774426937,
-0.015382939949631691,
0.017592834308743477,
-0.007574932649731636,
0.03801709786057472,
0.015253453515470028,
0.027071211487054825,
-0.061842527240514755,
-0.02387722209095955,
-0.06208423152565956,
0.01708352379500866,
0.02760642021894455,
-0.04737462103366852,
0.026277029886841774,
0.04457772150635719,
0.0253447312861681,
0.03497849032282829,
0.008658299222588539,
-0.0012754373019561172,
0.04771991819143295,
-0.03193988651037216,
0.02594899944961071,
-0.006608103401958942,
-0.05925280600786209,
-0.0391911044716835,
0.06146270036697388,
-0.06429412961006165,
0.04789256304502487,
-0.07506736367940903,
0.011783228255808353,
0.05583437532186508,
-0.04806521162390709,
-0.07589607685804367,
-0.02221980132162571,
-0.04012340307235718,
-0.0027019416447728872,
0.001347733661532402,
-0.05296841636300087,
0.0656062513589859,
-0.015546955168247223,
-0.000004219255060888827,
-0.030955791473388672,
0.007674205116927624,
0.05749179422855377,
-0.014554229564964771,
-0.0009716846980154514,
0.0035241779405623674,
0.016531048342585564,
-0.01850786991417408,
0.023739105090498924,
0.00036094230017624795,
-0.04892845079302788,
0.017903601750731468,
-0.055558137595653534,
-0.013224839232861996,
-0.01767052710056305,
-0.010117175057530403,
-0.045682668685913086,
0.0055463179014623165,
0.0004289224452804774,
0.038051627576351166,
-0.02928110584616661,
0.021166648715734482,
0.055074721574783325,
0.06239499896764755,
-0.030282465741038322,
0.035202935338020325,
0.014407478272914886,
-0.07555077970027924,
0.015831824392080307,
-0.00822667870670557,
-0.035289257764816284,
-0.032354243099689484,
-0.11525982618331909,
0.018266161903738976,
-0.0354619063436985,
-0.07707007974386215,
0.006785067729651928,
0.007190790493041277,
0.00800655223429203,
-0.014269360341131687,
0.06522642821073532,
-0.019509227946400642,
0.021166648715734482,
-0.008174884133040905,
0.005075852386653423,
-0.005265764892101288,
0.016021737828850746,
0.018058983609080315,
0.017454715445637703,
0.025810880586504936,
0.009322993457317352,
0.013889534398913383,
0.030593231320381165,
0.005002476740628481,
-0.04758179932832718,
-0.010954517871141434,
0.01340611930936575,
-0.016617372632026672,
-0.009202140383422375,
0.031560059636831284,
0.006418190430849791,
-0.08646213263273239,
0.006798016373068094,
-0.0426785945892334,
-0.020786823704838753,
0.03371816128492355,
0.051759880036115646,
0.034719519317150116,
-0.04682214558124542,
-0.08349259197711945,
-0.031370148062705994,
0.07389336079359055,
-0.000029741320759058,
0.011662374250590801,
0.0013283108128234744,
0.035979848355054855,
0.0002721904020290822,
0.005731914658099413,
-0.008701460435986519,
0.0073289088904857635,
-0.030973056331276894,
0.00915034580975771,
0.06077210605144501,
0.007777793798595667,
-0.02427431382238865,
0.08542624861001968,
0.0005799894570372999,
-0.02632882446050644,
0.04544096067547798,
-0.018335221335291862,
0.05500566214323044,
0.057526323944330215,
0.03492669761180878,
-0.045682668685913086,
0.021097589284181595,
-0.028814956545829773,
-0.001728638424538076,
0.04081399366259575,
0.028435131534934044,
-0.00989273190498352,
-0.003973063081502914,
0.0023523294366896152,
0.05904562771320343,
0.01702309586107731,
0.024930376559495926,
0.056007020175457
] |
725,766 | zep_python.zep_client | __init__ |
Initialize the ZepClient with the specified base URL.
Parameters
----------
base_url : str
The base URL of the API.
api_key : Optional[str]
The API key to use for authentication. (optional)
| def __init__(self, base_url: str, api_key: Optional[str] = None) -> None:
"""
Initialize the ZepClient with the specified base URL.
Parameters
----------
base_url : str
The base URL of the API.
api_key : Optional[str]
The API key to use for authentication. (optional)
"""
headers: Dict[str, str] = {}
if api_key is not None:
headers["Authorization"] = f"Bearer {api_key}"
self.base_url = concat_url(base_url, API_BASE_PATH)
self.aclient = httpx.AsyncClient(
base_url=self.base_url, headers=headers, timeout=API_TIMEOUT
)
self.client = httpx.Client(
base_url=self.base_url, headers=headers, timeout=API_TIMEOUT
)
self._healthcheck(base_url)
self.memory = MemoryClient(self.aclient, self.client)
self.message = MessageClient(self.aclient, self.client)
self.document = DocumentClient(self.aclient, self.client)
self.user = UserClient(self.aclient, self.client)
| (self, base_url: str, api_key: Optional[str] = None) -> NoneType | [
-0.051197730004787445,
-0.036616791039705276,
-0.07652252167463303,
0.04122129827737808,
0.01226041279733181,
0.0012333500199019909,
-0.03665333613753319,
0.038297802209854126,
0.0016753004165366292,
-0.0036498026456683874,
0.04695866256952286,
0.018381483852863312,
-0.007418372202664614,
0.031665120273828506,
-0.019642241299152374,
-0.0001320426817983389,
0.027955934405326843,
0.0016330467769876122,
0.020226940512657166,
-0.04980906844139099,
-0.038480520248413086,
-0.00016087795665953308,
0.024484282359480858,
0.041659824550151825,
0.02806556597352028,
0.06680189073085785,
-0.014361675828695297,
0.024539098143577576,
0.04001535847783089,
-0.053499985486269,
-0.0076376344077289104,
0.00785689614713192,
-0.02143288217484951,
0.062270473688840866,
-0.001728974049910903,
0.011017926968634129,
0.0034967758692801,
-0.02910706028342247,
-0.13214203715324402,
0.0400518998503685,
0.03210364654660225,
0.0030879429541528225,
0.026676904410123825,
0.0028435569256544113,
0.054961733520030975,
0.029216691851615906,
-0.016472075134515762,
0.04754336178302765,
-0.01756838522851467,
-0.005924648139625788,
-0.036799509078264236,
0.01357598602771759,
0.057592879980802536,
-0.011100150644779205,
-0.0002452425251249224,
0.014389083720743656,
-0.004296169150620699,
0.05390196666121483,
-0.046702854335308075,
0.030897703021764755,
-0.0883626788854599,
0.017732832580804825,
0.019916318356990814,
0.01033273246139288,
0.013384131714701653,
-0.004606790840625763,
-0.08668167144060135,
0.0041682664304971695,
0.034935783594846725,
0.026896167546510696,
0.08975134044885635,
0.036762967705726624,
-0.01598787121474743,
-0.021505970507860184,
0.07111404836177826,
0.02629319578409195,
-0.07151602953672409,
0.02042793110013008,
-0.04480258375406265,
-0.02161560207605362,
-0.012708073481917381,
0.006705769803375006,
-0.009346053004264832,
0.003330045146867633,
0.11153138428926468,
0.0025466394145041704,
0.05371924489736557,
-0.035301219671964645,
0.015521938912570477,
0.08383125811815262,
-0.05671583116054535,
-0.013283636420965195,
-0.06866562366485596,
-0.03595900535583496,
0.029984109103679657,
-0.01461748220026493,
-0.012296956963837147,
-0.028175195679068565,
-0.01956915482878685,
0.02097608707845211,
-0.03972300887107849,
0.05956624075770378,
-0.03131795674562454,
-0.005344517063349485,
0.021396338939666748,
-0.028686808422207832,
0.004823768977075815,
-0.0322498194873333,
0.01594219170510769,
0.002425588434562087,
-0.01929507590830326,
-0.04809151589870453,
0.04275613650679588,
0.03513677045702934,
0.011977199465036392,
-0.008432460017502308,
0.016554297879338264,
0.01416982151567936,
0.008519250899553299,
-0.021962767466902733,
0.045387282967567444,
0.012406587600708008,
-0.012470539659261703,
0.04853003844618797,
0.0064271241426467896,
0.002708802232518792,
0.014407355338335037,
0.014992054551839828,
0.04414479434490204,
-0.041879087686538696,
-0.0007211671909317374,
0.017038501799106598,
-0.005700817797333002,
-0.0030925110913813114,
0.011483859270811081,
0.02470354363322258,
0.015202181413769722,
-0.0020635772962123156,
-0.06607101857662201,
0.023186981678009033,
0.0009153056307695806,
0.03250562399625778,
0.02693271078169346,
-0.003574431175366044,
-0.029271507635712624,
-0.00387591659091413,
-0.054377034306526184,
-0.068811796605587,
-0.010999655351042747,
-0.020044222474098206,
0.024557368829846382,
0.016152316704392433,
0.01680096797645092,
-0.044839125126600266,
-0.016335036605596542,
-0.06537669152021408,
-0.057592879980802536,
-0.009656674228608608,
0.05335380882024765,
0.010314460843801498,
-0.030842887237668037,
0.02088472805917263,
0.010771256871521473,
-0.04176945611834526,
-0.027864575386047363,
-0.01550366636365652,
-0.021816592663526535,
-0.06278208643198013,
0.001160262618213892,
0.05985859036445618,
-0.022766727954149246,
-0.004549691453576088,
-0.10290707647800446,
-0.009455683641135693,
-0.01570465788245201,
-0.038663238286972046,
0.01753184199333191,
0.03767656162381172,
-0.030130283907055855,
-0.0028092972934246063,
-0.012333500199019909,
-0.022547466680407524,
-0.018399754539132118,
0.0030970789957791567,
0.0021640725899487734,
0.0075645470060408115,
0.07761882990598679,
0.04377935826778412,
0.015421443618834019,
-0.00007315878610825166,
-0.08412361145019531,
0.039576832205057144,
0.06610756367444992,
0.005984031595289707,
0.022967718541622162,
0.0061393422074615955,
0.056277304887771606,
-0.01675528846681118,
0.01100879069417715,
0.0371466763317585,
-0.08310038596391678,
0.04535073786973953,
0.050064876675605774,
-0.03351057693362236,
0.010387548245489597,
-0.020501017570495605,
-0.029344595968723297,
-0.042244523763656616,
-0.05722744017839432,
-0.00017700856551527977,
0.03420490771532059,
0.007285901345312595,
-0.036123450845479965,
-0.01789727993309498,
0.017221221700310707,
-0.048566583544015884,
0.04469295218586922,
0.011840160004794598,
0.07959219068288803,
0.024813175201416016,
0.040161531418561935,
0.023954398930072784,
-0.004081475082784891,
-0.07732647657394409,
0.00897147972136736,
0.026987526565790176,
0.02605566196143627,
0.006943304091691971,
-0.06172231584787369,
-0.05053994432091713,
0.022218571975827217,
-0.013018694706261158,
0.019733600318431854,
0.01339326798915863,
-0.02179832011461258,
-0.0626724511384964,
-0.014178957790136337,
0.023534145206212997,
-0.01724862866103649,
-0.041659824550151825,
0.06914068758487701,
-0.030733255669474602,
0.02442946657538414,
-0.021103989332914352,
-0.05561951920390129,
0.023059077560901642,
0.015677249059081078,
-0.0022645676508545876,
-0.02210894227027893,
-0.011639170348644257,
0.019368164241313934,
-0.06840981543064117,
-0.010478907264769077,
-0.007692449726164341,
-0.00033089183853007853,
-0.04228106513619423,
0.0028618290089070797,
-0.0590180829167366,
0.006134774535894394,
-0.0006834814557805657,
-0.04451023414731026,
0.010296189226210117,
-0.07769192010164261,
0.08938590437173843,
-0.008592338301241398,
0.0036840622778981924,
0.04074623063206673,
0.006582434754818678,
-0.009455683641135693,
0.015558482147753239,
0.09523289650678635,
0.025799855589866638,
0.023954398930072784,
0.001782647566869855,
-0.05507136508822441,
-0.011127558536827564,
-0.055107906460762024,
-0.02506898157298565,
-0.05463283881545067,
-0.04929745942354202,
-0.01956915482878685,
-0.003994683735072613,
0.04418133944272995,
0.03672642260789871,
0.009784577414393425,
-0.0749145969748497,
-0.023899583145976067,
0.017038501799106598,
-0.051782429218292236,
-0.03546566516160965,
-0.01012260653078556,
-0.014434763230383396,
-0.004149994347244501,
-0.04264650493860245,
-0.014973782934248447,
-0.03572147339582443,
-0.050649575889110565,
-0.010515451431274414,
0.011355956085026264,
-0.04103858023881912,
-0.015476259402930737,
0.026183564215898514,
0.03533776104450226,
0.015174773521721363,
0.016956279054284096,
0.0015462555456906557,
-0.006308357231318951,
0.022218571975827217,
-0.00708491075783968,
-0.011757937259972095,
-0.007020959164947271,
-0.01638985238969326,
-0.0279742069542408,
0.00772899342700839,
-0.02960040047764778,
0.01706591062247753,
0.02360723353922367,
0.009912479668855667,
0.020829912275075912,
0.053646158427000046,
-0.05846992880105972,
0.04948017746210098,
0.04301194101572037,
0.0007365840720012784,
0.010661626234650612,
0.03124486841261387,
0.018966183066368103,
0.008432460017502308,
-0.02238301932811737,
0.011355956085026264,
-0.07359901815652847,
0.00958358682692051,
-0.049114737659692764,
0.018509386107325554,
-0.03729284927248955,
-0.005134390667080879,
0.027992477640509605,
-0.020044222474098206,
0.02388131059706211,
0.014562666416168213,
0.0013235673541203141,
0.00005420887464424595,
-0.06058946251869202,
0.017367396503686905,
-0.020811639726161957,
-0.05448666587471962,
-0.005540939047932625,
-0.054925188422203064,
0.01938643492758274,
0.008733945898711681,
-0.0073270127177238464,
-0.01423377264291048,
0.05375578999519348,
0.06892142444849014,
0.09165161103010178,
-0.050613030791282654,
-0.04191562905907631,
-0.025525778532028198,
0.011017926968634129,
0.0064271241426467896,
-0.00704836705699563,
-0.04827423393726349,
-0.04038079455494881,
0.04264650493860245,
-0.09245557337999344,
-0.05112464353442192,
0.07323358207941055,
-0.06139342486858368,
0.015512802638113499,
0.01230609230697155,
-0.01470884121954441,
-0.04567963257431984,
-0.04509493336081505,
-0.016490347683429718,
0.021999310702085495,
-0.01812567748129368,
-0.03899213299155235,
-0.016143182292580605,
-0.0021458007395267487,
0.05404813960194588,
0.05693509057164192,
0.04787225276231766,
0.020921271294355392,
0.005522667430341244,
0.009364324621856213,
-0.05313454568386078,
-0.016654793173074722,
0.020811639726161957,
0.050795748829841614,
0.008226901292800903,
0.05488864332437515,
0.008080726489424706,
-0.012863384559750557,
0.011675713583827019,
-0.003764001652598381,
-0.029253235086798668,
0.005536371376365423,
0.000021483701857505366,
-0.003636098699644208,
-0.049699436873197556,
0.041440561413764954,
0.01491896715015173,
0.048566583544015884,
0.06596139073371887,
0.031391043215990067,
-0.008350236341357231,
0.06307443231344223,
-0.014763657003641129,
0.0476895347237587,
0.04103858023881912,
-0.023771680891513824,
-0.05828721076250076,
-0.03129968419671059,
0.010679897852241993,
-0.03946720063686371,
-0.01203201524913311,
-0.04063659906387329,
0.025233428925275803,
0.02956385724246502,
0.015695521607995033,
0.015119957737624645,
0.03910176455974579,
0.0009455683757551014,
0.014297724701464176,
-0.00762849859893322,
-0.022182028740644455,
-0.024685272946953773,
-0.025617137551307678,
0.005490691866725683,
-0.008733945898711681,
0.038845960050821304,
0.0009061697055585682,
-0.02161560207605362,
-0.03140931576490402,
0.025635408237576485,
0.028851255774497986,
-0.0278280321508646,
0.017815055325627327,
0.016682201996445656,
0.022693641483783722,
-0.011273733340203762,
0.006468235980719328,
0.007893440313637257,
-0.004736977629363537,
0.047835711389780045,
0.008035046979784966,
-0.035356033593416214,
0.013320180587470531,
0.03968646377325058,
-0.006550459191203117,
-0.042244523763656616,
0.022273387759923935,
0.009757169522345066,
-0.016599977388978004,
-0.05971241369843483,
-0.0023890447337180376,
-0.0013315612450242043,
0.04491221159696579,
0.004099746700376272,
0.012589306570589542,
0.05894499644637108,
-0.022309930995106697,
0.000527885218616575,
-0.029892750084400177,
-0.06866562366485596,
0.07038317620754242,
0.02320525236427784,
0.052696023136377335,
0.021725231781601906,
-0.012223869562149048,
-0.004074622876942158,
-0.006751449313014746,
-0.049882158637046814,
0.01416982151567936,
0.015174773521721363,
0.0031930061522871256,
0.04060005769133568,
-0.01947779394686222,
-0.00444919615983963,
-0.06047983095049858,
-0.018783465027809143,
-0.02433810755610466,
0.024319835007190704,
-0.028796439990401268,
0.00582415284588933,
-0.030751528218388557,
-0.016956279054284096,
-0.01716640591621399,
0.009391732513904572,
-0.0767417773604393,
-0.00828628521412611,
0.08076158910989761,
-0.033620208501815796,
0.06248973682522774,
0.0011414197506383061,
0.013082646764814854,
-0.020373115316033363,
0.004910560324788094,
0.016289357095956802,
-0.07085824757814407,
0.015330084599554539,
0.037256307899951935,
-0.0017255480634048581,
-0.013356723822653294,
0.02393612638115883,
0.021688688546419144,
-0.06274554133415222,
0.005015623290091753,
0.05225749686360359,
-0.019879775121808052,
-0.017047638073563576,
0.02492280676960945,
-0.03387601301074028,
0.014425627887248993,
-0.02220030128955841,
0.02947249822318554,
-0.036982230842113495,
0.043925534933805466,
-0.03924793750047684,
0.003145042574033141,
0.07747265696525574,
0.0654497742652893,
0.042975395917892456,
0.0050064874812960625,
-0.026256652548909187,
0.06139342486858368,
-0.009848528541624546,
-0.018326668068766594,
0.04363318532705307,
0.08434287458658218,
-0.010095198638737202,
-0.021871406584978104,
-0.0002733640430960804,
0.022894632071256638,
0.005371924489736557,
-0.0522940419614315,
-0.06629028171300888,
-0.008775057271122932,
-0.03899213299155235,
-0.020281756296753883,
0.0581044927239418,
0.05518099293112755,
-0.010433227755129337,
-0.1067076176404953,
-0.035758014768362045,
-0.025178613141179085,
0.046702854335308075,
0.05149007961153984,
-0.022894632071256638,
-0.020939543843269348,
0.060954898595809937,
-0.05521753802895546,
0.054961733520030975,
-0.01580515317618847,
-0.030495721846818924,
-0.009140494279563427,
-0.029527314007282257,
-0.039613377302885056,
0.01916717365384102,
-0.02547096274793148,
-0.01766888052225113,
-0.008866416290402412,
-0.037749648094177246,
0.014608345925807953,
-0.0154397152364254,
0.008656290359795094,
0.012589306570589542,
0.007514299359172583,
0.01966051384806633,
-0.01334758847951889,
-0.003256957745179534,
-0.000047963610995793715,
-0.006408852059394121,
0.033072054386138916,
-0.04271959140896797,
0.03097078949213028,
-0.0191123578697443,
0.004814633168280125,
0.08697401732206345,
-0.02397266961634159,
0.049114737659692764,
0.006609842646867037,
0.02788284607231617,
-0.09881417453289032,
-0.0037799894344061613,
-0.003051399253308773,
0.07144294679164886,
0.00708491075783968,
0.06731350719928741,
-0.051197730004787445,
-0.028686808422207832,
-0.03928448259830475,
-0.02075682394206524,
0.005244021769613028,
0.0030925110913813114,
0.03818817064166069,
0.028869526460766792,
-0.02357069030404091,
0.00958358682692051,
0.011127558536827564,
-0.008701969869434834,
0.11430870741605759,
0.0015953611582517624,
-0.05985859036445618,
0.020811639726161957,
0.008464436046779156,
-0.06373222172260284,
0.01785160042345524,
0.006230701692402363,
-0.0032432537991553545,
0.032121915370225906,
-0.021140532568097115,
-0.07469533383846283,
-0.02938113920390606,
-0.04600852355360985,
-0.0038576447404921055,
-0.05828721076250076,
0.05499827489256859,
0.0011631175875663757,
-0.01857333816587925,
0.041075125336647034,
-0.03767656162381172,
-0.01947779394686222,
0.05072266235947609,
-0.07286814600229263,
0.02406403049826622,
0.08310038596391678,
-0.03636098653078079,
-0.019039269536733627,
0.03935756906867027,
0.07878822833299637,
0.021451154723763466,
0.013174005784094334,
-0.016380716115236282,
0.013128326274454594,
-0.019276805222034454,
0.0382247157394886,
0.010095198638737202,
0.031171780079603195,
0.007701586000621319,
0.011529538780450821,
0.016746152192354202,
-0.00024481426225975156,
0.015430578961968422,
-0.06621719151735306,
0.06661917269229889,
-0.014763657003641129,
-0.03345576301217079,
0.028394458815455437,
-0.02283981628715992,
-0.024667000398039818,
0.031756479293107986,
0.012753752991557121,
0.01938643492758274,
-0.0779842659831047,
0.006253541447222233,
-0.016718745231628418,
0.035538751631975174,
0.015576754696667194,
-0.023351427167654037,
0.02066546492278576,
-0.010469771921634674,
0.013338452205061913,
-0.005111550912261009,
-0.04136747494339943,
0.015777744352817535,
0.0366898812353611,
-0.0525863915681839,
0.011894975788891315,
0.035666655749082565,
0.05722744017839432,
0.014992054551839828,
0.005997735541313887,
0.015558482147753239,
0.006280949339270592,
-0.004586235154420137,
-0.015001190826296806,
-0.04078277572989464,
-0.0034214043989777565,
-0.009163334034383297,
-0.0021834864746779203,
0.0718449205160141,
-0.02611047774553299,
0.02134152315557003,
-0.03506368398666382,
0.01212337426841259,
0.003969559911638498,
0.06778857111930847,
-0.022693641483783722,
-0.05967586860060692,
-0.04191562905907631,
0.02702406980097294,
-0.02483144775032997,
-0.0008833298925310373,
-0.03681778162717819,
-0.048749301582574844,
-0.0024895397946238518,
-0.05053994432091713,
-0.008610610850155354,
-0.02642109803855419,
0.023369699716567993,
-0.03659852221608162,
-0.010369276627898216,
0.03404046222567558,
0.011492995545268059,
0.052878741174936295,
-0.009848528541624546,
-0.004832904785871506,
-0.005070439074188471,
-0.001868296880275011,
0.03928448259830475,
-0.0000214480151043972,
0.05485210195183754,
-0.0532076358795166,
0.03473479300737381,
0.0645361840724945,
0.04907819628715515,
0.05057648941874504,
-0.035027142614126205,
0.04103858023881912,
-0.04293885454535484,
0.04436405748128891,
-0.023132165893912315,
-0.004896856378763914,
0.08076158910989761,
-0.009638402611017227,
-0.029088789597153664,
-0.01351203490048647,
-0.039028678089380264,
-0.02015385404229164,
0.01550366636365652,
-0.01785160042345524,
-0.04516801983118057,
0.0025123797822743654,
0.010095198638737202,
-0.06402456760406494,
0.0409654937684536,
-0.00444919615983963,
0.017586657777428627,
0.031171780079603195,
-0.02411884441971779,
-0.05803140252828598,
-0.06745968014001846,
-0.020720280706882477,
-0.04133092984557152,
0.02024521306157112,
0.059273891150951385,
0.009565315209329128,
-0.007496027275919914,
0.027462594211101532,
-0.006655522156506777,
-0.012671529315412045,
0.006650954484939575,
0.04498530179262161,
-0.02642109803855419,
-0.03404046222567558,
-0.029070517048239708,
0.022035853937268257,
0.012571034952998161,
-0.03778618946671486,
-0.03559356927871704,
-0.04323120415210724,
-0.002363920910283923,
-0.011063606478273869,
0.04092894867062569,
0.05295182764530182,
0.027042342349886894,
0.05039376765489578
] |
725,767 | zep_python.zep_client | _healthcheck |
Check that the Zep server is running, the API URL is correct,
and that the server version is compatible with this client.
Raises
------
ConnectionError
If the server is not running or the API URL is incorrect.
| def _healthcheck(self, base_url: str) -> None:
"""
Check that the Zep server is running, the API URL is correct,
and that the server version is compatible with this client.
Raises
------
ConnectionError
If the server is not running or the API URL is incorrect.
"""
url = concat_url(base_url, "/healthz")
error_msg = """Failed to connect to Zep server. Please check that:
- the server is running
- the API URL is correct
- No other process is using the same port
"""
try:
response = httpx.get(url)
if response.status_code != 200 or response.text != ".":
raise APIError(response, error_msg)
zep_server_version_str = response.headers.get("X-Zep-Version")
if zep_server_version_str:
if "dev" in zep_server_version_str:
return
zep_server_version = parse_version_string(zep_server_version_str)
else:
zep_server_version = Version("0.0.0")
if zep_server_version < Version(MINIMUM_SERVER_VERSION):
warnings.warn(
(
"You are using an incompatible Zep server version. Please"
f" upgrade to {MINIMUM_SERVER_VERSION} or later."
),
Warning,
stacklevel=2,
)
except (httpx.ConnectError, httpx.NetworkError, httpx.TimeoutException) as e:
raise APIError(None, error_msg) from e
| (self, base_url: str) -> NoneType | [
0.0005035153008066118,
-0.0758746787905693,
-0.06503026187419891,
0.022595567628741264,
0.017536045983433723,
-0.01761765219271183,
-0.010155310854315758,
0.03793733939528465,
-0.05487494915723801,
-0.046714432537555695,
0.028797561302781105,
0.04290619120001793,
0.05356926843523979,
-0.047512348741292953,
0.007235659286379814,
-0.050885364413261414,
0.0615847073495388,
-0.008668283931910992,
0.039569444954395294,
-0.06622713804244995,
-0.02352042682468891,
0.041854389011859894,
0.04073005169630051,
0.0398595966398716,
-0.009828890673816204,
0.049942370504140854,
0.0003159367188345641,
0.010844421572983265,
0.040186017751693726,
-0.052227314561605453,
-0.05509256199002266,
0.023194005712866783,
-0.03017578274011612,
0.051102977246046066,
-0.008609346114099026,
0.02546081691980362,
0.02034689113497734,
-0.03295035660266876,
-0.11083796620368958,
0.03518090024590492,
0.001390688237734139,
-0.03218870982527733,
-0.025896044448018074,
0.028598081320524216,
0.051030438393354416,
-0.000619972706772387,
-0.03267833963036537,
0.05806661769747734,
-0.022124070674180984,
-0.04780250042676926,
-0.05404076352715492,
0.022523028776049614,
0.08189532905817032,
-0.003960118163377047,
0.03124571591615677,
0.0008279525791294873,
0.03804614767432213,
0.061475902795791626,
0.010508934035897255,
0.0063561368733644485,
-0.05516510084271431,
0.06332562118768692,
-0.05868319049477577,
-0.005703295115381479,
0.011125505901873112,
0.008033576421439648,
-0.07112345099449158,
-0.039315562695264816,
-0.006152123678475618,
0.003710768884047866,
0.06626340746879578,
0.034999553114175797,
-0.04559009522199631,
-0.010372924618422985,
0.055817943066358566,
-0.0029695217963308096,
-0.012186373583972454,
0.016819734126329422,
-0.01913188025355339,
-0.01208663359284401,
0.007924770005047321,
0.004189065657556057,
0.03536224365234375,
-0.027872702106833458,
0.09241332858800888,
-0.013999821618199348,
0.05618063360452652,
-0.035398513078689575,
0.0063561368733644485,
0.09618530422449112,
-0.0398595966398716,
-0.01637543924152851,
-0.030665412545204163,
-0.02848927490413189,
0.07638245075941086,
-0.017635786905884743,
0.0023892184253782034,
-0.03211617097258568,
-0.026965977624058723,
-0.042869921773672104,
-0.049144454300403595,
0.08573984354734421,
-0.045698899775743484,
-0.00661908695474267,
0.031753480434417725,
-0.038626451045274734,
-0.00452228682115674,
-0.03884406387805939,
-0.015840472653508186,
-0.011406590230762959,
-0.05066774785518646,
-0.0752943754196167,
0.01920441910624504,
-0.047113388776779175,
0.03489074856042862,
-0.017681121826171875,
-0.008568543940782547,
0.007557546254247427,
-0.044973522424697876,
-0.02774576097726822,
0.05084909498691559,
0.017753660678863525,
0.026965977624058723,
-0.01724589429795742,
0.028942637145519257,
0.04834653437137604,
-0.02419140189886093,
0.010119042359292507,
0.028054047375917435,
0.023157736286520958,
0.0015811003977432847,
0.03746584430336952,
-0.04337768629193306,
0.029559209942817688,
-0.024010056629776955,
-0.0054222107864916325,
0.008609346114099026,
0.03354879468679428,
-0.03389335051178932,
-0.00483284005895257,
0.010572404600679874,
-0.009339259006083012,
-0.01945830136537552,
-0.02605925314128399,
0.02560589276254177,
0.018170753493905067,
-0.04464710131287575,
-0.06535667926073074,
0.010499866679310799,
0.0001719942520139739,
0.03750211372971535,
-0.009828890673816204,
-0.006764162797480822,
-0.07928396761417389,
-0.07522184401750565,
-0.027836432680487633,
-0.03779226541519165,
-0.045771438628435135,
0.03906168043613434,
-0.004590291529893875,
-0.05179208889603615,
-0.005861971992999315,
-0.009529671631753445,
-0.05454852804541588,
-0.03989586606621742,
0.006537481676787138,
-0.042869921773672104,
-0.014090494252741337,
0.0374295748770237,
0.0398595966398716,
-0.028126584365963936,
0.04062124341726303,
-0.08385385572910309,
0.005603555589914322,
0.038553912192583084,
-0.016837868839502335,
0.010264118202030659,
0.015024419873952866,
-0.011424724943935871,
-0.035126496106386185,
-0.009856091812252998,
-0.03548918664455414,
-0.06263650953769684,
-0.03180788457393646,
-0.012231709435582161,
0.03605135530233383,
0.047331005334854126,
0.013383249752223492,
-0.023067064583301544,
0.06909238547086716,
-0.048745494335889816,
0.027111053466796875,
0.07848604768514633,
0.048201460391283035,
0.06452249735593796,
-0.007231125608086586,
0.010291320271790028,
0.01259439904242754,
0.06666236370801926,
-0.030411530286073685,
-0.027999643236398697,
0.04921698942780495,
0.025152530521154404,
-0.0099648991599679,
0.004390812013298273,
-0.005648891907185316,
-0.033439990133047104,
-0.03206176683306694,
-0.05531017854809761,
0.017662987112998962,
-0.02451782301068306,
0.005032319575548172,
-0.06927373260259628,
0.02774576097726822,
-0.014779604971408844,
-0.02749187871813774,
0.046641893684864044,
-0.01548684947192669,
0.03655911982059479,
0.022196609526872635,
0.019313225522637367,
-0.019113747403025627,
0.025225067511200905,
-0.011442859657108784,
0.019512705504894257,
0.058175425976514816,
0.031826019287109375,
0.03630523756146431,
-0.025515219196677208,
-0.025678429752588272,
0.021924590691924095,
0.01784433238208294,
0.06194739788770676,
0.009520604275166988,
-0.017853399738669395,
-0.016348237171769142,
0.01208663359284401,
0.03975078836083412,
0.03260580450296402,
-0.028978906571865082,
0.033639468252658844,
-0.02734680287539959,
0.020437564700841904,
-0.0018984538037329912,
-0.013482988812029362,
-0.05077655613422394,
-0.012177306227385998,
0.027981508523225784,
-0.03538037836551666,
-0.023284677416086197,
-0.05179208889603615,
-0.046315472573041916,
0.02653075009584427,
-0.07790574431419373,
-0.01162420492619276,
-0.03960571438074112,
-0.012848282232880592,
-0.06350696086883545,
0.04450202360749245,
-0.009017372503876686,
0.0018089148215949535,
-0.002511626109480858,
-0.033439990133047104,
0.06484891474246979,
-0.061475902795791626,
-0.00909444410353899,
0.06390592455863953,
0.026222463697195053,
-0.012821080163121223,
-0.003944250289350748,
0.07025299221277237,
0.0029128515161573887,
-0.007766093127429485,
0.0021342020481824875,
-0.029250923544168472,
0.009266721084713936,
-0.0015697663184255362,
-0.04918072000145912,
-0.012802946381270885,
-0.006714292801916599,
0.016112489625811577,
0.02176138199865818,
0.019313225522637367,
0.036196429282426834,
-0.042797382920980453,
-0.02007487416267395,
-0.02230541594326496,
-0.005363273900002241,
-0.0400046706199646,
-0.03305916488170624,
-0.0424346923828125,
-0.022994525730609894,
-0.0011101705022156239,
-0.04439321905374527,
-0.021797649562358856,
0.019512705504894257,
-0.005626223981380463,
-0.008976569399237633,
-0.0011334052542224526,
-0.02558775804936886,
0.01841556839644909,
-0.000579170067794621,
-0.01841556839644909,
-0.009448066353797913,
0.0199297983199358,
-0.007743424735963345,
0.02823539264500141,
0.01043639611452818,
-0.01229518000036478,
-0.018034745007753372,
0.001815715222619474,
-0.022722508758306503,
0.0141448974609375,
-0.02109040506184101,
0.047512348741292953,
0.026458213105797768,
0.027854567393660545,
0.026857171207666397,
-0.008110648021101952,
0.05922722443938255,
-0.044900983572006226,
0.07166748493909836,
0.056688398122787476,
0.07754305750131607,
-0.013673401437699795,
0.0022124070674180984,
0.05784900486469269,
-0.0011651406530290842,
0.011315918527543545,
-0.020437564700841904,
-0.06673490256071091,
-0.024735435843467712,
0.004873642697930336,
-0.013863813132047653,
0.022323550656437874,
-0.019657781347632408,
0.02370177023112774,
0.0034750206395983696,
0.0031032636761665344,
-0.00395105080679059,
0.014625461772084236,
0.030864892527461052,
-0.04551755636930466,
0.016837868839502335,
0.018469972535967827,
-0.045843977481126785,
-0.010699345730245113,
-0.036069490015506744,
-0.003128198441118002,
0.023955654352903366,
-0.06470383703708649,
-0.005240865983068943,
-0.018696652725338936,
0.05146566778421402,
0.06412353366613388,
-0.017381902784109116,
-0.02466289885342121,
-0.041129011660814285,
0.018469972535967827,
0.005440345499664545,
-0.002223741030320525,
-0.04232588782906532,
-0.06865715980529785,
0.033385585993528366,
-0.07884873449802399,
-0.07565706968307495,
0.07003537565469742,
-0.0032370055560022593,
0.016212228685617447,
0.021525632590055466,
-0.006963641848415136,
-0.03552545607089996,
-0.04910818487405777,
-0.07424257695674896,
0.01195969246327877,
0.015586589463055134,
-0.002382417907938361,
-0.02081838808953762,
-0.015813270583748817,
0.05396822467446327,
0.07166748493909836,
0.06698878854513168,
-0.044828444719314575,
-0.04439321905374527,
0.031427063047885895,
-0.061475902795791626,
-0.012539995834231377,
0.010463597252964973,
0.01225891150534153,
0.018678518012166023,
0.04566263034939766,
0.005626223981380463,
-0.007711689453572035,
0.047185927629470825,
-0.007883966900408268,
0.016837868839502335,
0.010953228920698166,
-0.009983033873140812,
0.0022271412890404463,
-0.01838836632668972,
0.03637777641415596,
0.03298662602901459,
0.0006539748283103108,
0.02444528415799141,
0.009638478048145771,
-0.011016699485480785,
0.03873525932431221,
-0.0037810399662703276,
0.021634439006447792,
0.03267833963036537,
-0.05632570758461952,
-0.04323261231184006,
-0.04406679794192314,
0.006034249439835548,
-0.06245516240596771,
0.033367451280355453,
-0.0025637627113610506,
0.05066774785518646,
0.006224661599844694,
0.01747257634997368,
0.04776623100042343,
-0.04156423732638359,
0.03596068173646927,
0.0492895282804966,
-0.0315721370279789,
-0.0021795383654534817,
-0.04181811958551407,
-0.03380268067121506,
-0.030737951397895813,
-0.019857259467244148,
0.051356859505176544,
0.015314572490751743,
-0.028598081320524216,
-0.075439453125,
0.014988151378929615,
0.002590964548289776,
-0.04094766452908516,
0.047512348741292953,
-0.011778347194194794,
0.019567107781767845,
-0.008060778491199017,
0.04424814134836197,
0.027800165116786957,
0.011470061726868153,
0.0805896520614624,
0.04627920314669609,
-0.024082595482468605,
-0.03380268067121506,
0.04123781621456146,
-0.043014995753765106,
-0.09038227051496506,
-0.006795898079872131,
-0.008291993290185928,
-0.023665502667427063,
-0.04595278203487396,
0.022051533684134483,
-0.062273818999528885,
0.07290063053369522,
-0.007734357379376888,
0.05248119682073593,
0.00510032381862402,
0.013056828640401363,
-0.025007454678416252,
-0.028725022450089455,
-0.047512348741292953,
-0.0011753413127735257,
0.053714342415332794,
0.02116294391453266,
0.0402948260307312,
0.013328845612704754,
-0.017699256539344788,
-0.01508789137005806,
0.009348326362669468,
0.051973432302474976,
0.03563426062464714,
-0.014743335545063019,
0.0059073083102703094,
-0.0038037081249058247,
0.015740731731057167,
-0.03235191851854324,
-0.012231709435582161,
0.012539995834231377,
0.047149658203125,
-0.013519258238375187,
-0.01873292215168476,
-0.07710782438516617,
-0.0013850212562829256,
-0.01064494252204895,
0.009003771468997002,
-0.07964665442705154,
-0.007657286245375872,
0.005929976236075163,
0.00838719867169857,
0.018769191578030586,
0.007507676724344492,
-0.010309454053640366,
-0.0364321805536747,
-0.0022736110258847475,
0.028743157163262367,
-0.03605135530233383,
0.016411708667874336,
0.01851530931890011,
0.021199211478233337,
0.03753838315606117,
0.04345022514462471,
0.02466289885342121,
-0.009783553890883923,
0.004123328253626823,
0.067714162170887,
0.00032160375849343836,
-0.03699434921145439,
0.031626541167497635,
0.02560589276254177,
0.04305126518011093,
-0.020056739449501038,
0.035870008170604706,
-0.0016865070210769773,
0.041999466717243195,
-0.00012155771401012316,
0.010064639151096344,
0.04141916334629059,
0.06963641941547394,
0.07235658913850784,
-0.015622857958078384,
-0.025297606363892555,
-0.007022579200565815,
0.014371578581631184,
-0.0445745624601841,
-0.016819734126329422,
0.052988965064287186,
-0.01913188025355339,
0.007140453439205885,
0.015967413783073425,
-0.027437474578619003,
0.032243113964796066,
-0.012948022224009037,
-0.07812336087226868,
-0.03819122537970543,
-0.09792621433734894,
-0.02660328894853592,
0.0638696551322937,
-0.04062124341726303,
0.0008273858693428338,
-0.09176049381494522,
-0.07580214738845825,
-0.04997863993048668,
0.017037348821759224,
0.052227314561605453,
-0.017653919756412506,
-0.02841673605144024,
0.04189065843820572,
-0.029087712988257408,
0.04950714111328125,
-0.036069490015506744,
-0.00665082223713398,
-0.010898824781179428,
0.009312057867646217,
-0.011170842684805393,
0.02444528415799141,
0.0034636864438652992,
-0.019295090809464455,
-0.036939945071935654,
0.0006732427282258868,
-0.02181578427553177,
-0.0682944655418396,
-0.010808153077960014,
-0.016910405829548836,
-0.0008160517900250852,
-0.006746028084307909,
-0.05106670781970024,
0.011470061726868153,
0.04138289391994476,
0.017481643706560135,
-0.0153961768373847,
-0.05161074176430702,
-0.00913071259856224,
0.0026567019522190094,
0.029559209942817688,
0.07391615957021713,
0.02439088188111782,
0.006990843918174505,
-0.022069666534662247,
-0.029414134100079536,
-0.04054870828986168,
-0.010672143660485744,
0.017563248053193092,
0.04083885997533798,
0.01563192531466484,
0.05436718463897705,
0.016783464699983597,
-0.0378648042678833,
-0.037284500896930695,
0.04493725299835205,
-0.04123781621456146,
0.022940123453736305,
0.03530783951282501,
0.013764074072241783,
-0.03178974986076355,
0.03530783951282501,
0.04355902969837189,
-0.00888136401772499,
0.09973966330289841,
0.04870922490954399,
-0.0993044376373291,
0.020056739449501038,
0.012349584139883518,
-0.011651406064629555,
-0.0053043365478515625,
-0.022541163489222527,
-0.05153820291161537,
0.02323027513921261,
-0.02841673605144024,
-0.060387831181287766,
0.00498244957998395,
-0.0003825242747552693,
0.011705809272825718,
-0.04363156855106354,
0.04660562425851822,
-0.0044542825780808926,
0.013609930872917175,
0.034110963344573975,
0.017508843913674355,
-0.013365115039050579,
0.024699168279767036,
-0.0271473228931427,
0.031173178926110268,
0.05712362751364708,
-0.008192253299057484,
-0.04290619120001793,
0.016348237171769142,
0.04983356222510338,
0.0130024254322052,
-0.009874226525425911,
-0.027600685134530067,
-0.004313740413635969,
-0.03913421556353569,
0.019113747403025627,
-0.00853680819272995,
0.021852053701877594,
0.05697854980826378,
0.025986716151237488,
-0.012304247356951237,
0.0016989745199680328,
-0.0016389039810746908,
0.00316446740180254,
0.047258466482162476,
0.0002391485177213326,
-0.02761881984770298,
0.060859329998493195,
-0.043885450810194016,
-0.007435138802975416,
-0.005249933339655399,
-0.008110648021101952,
0.04551755636930466,
-0.05962618440389633,
-0.004909911658614874,
-0.020310621708631516,
0.026857171207666397,
-0.020038604736328125,
-0.03389335051178932,
-0.02027435414493084,
-0.014017956331372261,
-0.005113924387842417,
0.002054863842204213,
0.016121556982398033,
0.047004584223032,
0.058356769382953644,
-0.046569354832172394,
-0.010672143660485744,
0.018769191578030586,
0.0891491249203682,
-0.024463418871164322,
0.015033487230539322,
0.029921898618340492,
-0.02255929820239544,
-0.0029740554746240377,
-0.04290619120001793,
0.017953138798475266,
-0.03333118185400963,
0.015967413783073425,
0.040983933955430984,
0.02667582593858242,
-0.04189065843820572,
0.03476380556821823,
0.048201460391283035,
0.011016699485480785,
-0.004619759973138571,
0.005730497185140848,
-0.05592675134539604,
-0.008904031477868557,
-0.08588492125272751,
0.0008347529801540077,
-0.010400126688182354,
0.02181578427553177,
-0.04896310716867447,
-0.020763983950018883,
-0.04312380403280258,
-0.02836233377456665,
-0.004225335083901882,
-0.03724823147058487,
0.033041030168533325,
-0.04595278203487396,
-0.011678608134388924,
0.12070313096046448,
0.038626451045274734,
0.006664422806352377,
-0.032370053231716156,
-0.009511536918580532,
-0.009062708355486393,
0.010717480443418026,
0.018678518012166023,
-0.02154376730322838,
0.04696831479668617,
-0.03255140036344528,
0.019966067746281624,
0.03195296227931976,
0.031481463462114334,
-0.01387288048863411,
0.017227759584784508,
0.03295035660266876,
-0.05317030847072601,
0.00781596265733242,
0.023629233241081238,
-0.03525343909859657,
0.03010324388742447,
0.015586589463055134,
-0.006904704961925745,
-0.026984112337231636,
-0.0038717123679816723,
0.010717480443418026,
-0.037284500896930695,
-0.014897478744387627,
-0.04588024690747261,
0.08762583136558533,
0.02230541594326496,
-0.03461873158812523,
-0.0012920820154249668,
0.04776623100042343,
0.009271254763007164,
0.010572404600679874,
0.04769369214773178,
-0.049543410539627075,
-0.05146566778421402,
-0.0947345495223999,
0.042616039514541626,
0.009593142196536064,
0.014489453285932541,
0.0032936756033450365,
-0.002317813690751791,
0.003962385002523661,
0.005707828793674707,
-0.036142028868198395,
0.005195529665797949,
0.044284410774707794,
0.04203573614358902,
-0.011098304763436317,
-0.03178974986076355,
0.02627686783671379,
0.01495188195258379,
-0.01270320639014244,
0.041926927864551544,
0.004724033176898956,
-0.0200023353099823,
0.023484157398343086,
0.03333118185400963,
0.05462106689810753,
0.026349404826760292,
0.053786881268024445
] |
725,768 | zep_python.zep_client | aadd_memory | null | def add_memory(self, session_id: str, memory_messages: Memory) -> str:
deprecated_warning(self.add_memory)
return self.memory.add_memory(session_id, memory_messages)
| (self, session_id: str, memory_messages: zep_python.memory.models.Memory) -> str | [
-0.004471245221793652,
-0.020079879090189934,
-0.00972270779311657,
-0.016727516427636147,
0.002304213121533394,
0.0035302690230309963,
-0.015544329769909382,
0.07318609952926636,
-0.013023626990616322,
-0.0566214844584465,
0.001016533118672669,
-0.0007705717580392957,
-0.005041404161602259,
0.03590714558959007,
0.00769071327522397,
-0.0024606853257864714,
0.026253025978803635,
-0.08580675721168518,
-0.005628710612654686,
0.016556039452552795,
-0.002797207562252879,
-0.008402340114116669,
0.020302798599004745,
-0.0414629764854908,
-0.042388949543237686,
0.05171726271510124,
0.02446967177093029,
-0.0152613939717412,
0.008522373624145985,
0.012080507352948189,
-0.04616142809391022,
-0.07291173934936523,
0.0007909346022643149,
-0.002402812009677291,
-0.024675443768501282,
0.03295775130391121,
-0.019273940473794937,
-0.03535842150449753,
-0.041051432490348816,
-0.029939766973257065,
0.0306942630559206,
0.037347543984651566,
0.03590714558959007,
-0.0005514035583473742,
-0.0028336464893072844,
-0.020165616646409035,
-0.05284900590777397,
0.06958509236574173,
0.010039939545094967,
0.002844363683834672,
0.01573295332491398,
-0.026150140911340714,
-0.00637034559622407,
0.06008530780673027,
0.006991947535425425,
0.04729317128658295,
-0.002977257827296853,
-0.04256042465567589,
0.025018397718667984,
0.03628439083695412,
0.0008488078601658344,
-0.0368674099445343,
0.05542115122079849,
-0.018005015328526497,
0.02090296521782875,
-0.0218803808093071,
0.04756753519177437,
-0.014746964909136295,
0.05164867267012596,
-0.002702895784750581,
0.004556983709335327,
-0.03306063637137413,
-0.010537220165133476,
-0.011180256493389606,
-0.014086781069636345,
0.0419774055480957,
-0.0181764904409647,
0.04386364668607712,
-0.01531283650547266,
0.053260549902915955,
-0.03203177824616432,
0.016504596918821335,
-0.011754702776670456,
0.01537285279482603,
0.00274147791787982,
0.03957673907279968,
0.05507819727063179,
-0.001796214608475566,
-0.06303469836711884,
-0.025344202294945717,
0.008865326642990112,
0.01954830251634121,
-0.0017319109756499529,
0.032460469752550125,
0.037519022822380066,
-0.08594393730163574,
-0.010880173183977604,
0.032511912286281586,
0.01826222985982895,
0.024709738790988922,
-0.045955657958984375,
-0.014506897889077663,
0.026647422462701797,
-0.02563571184873581,
-0.01819363795220852,
-0.056792959570884705,
0.014798407442867756,
-0.03264909237623215,
0.021777493879199028,
0.043349217623472214,
-0.00397825101390481,
-0.005431512836366892,
-0.04026264324784279,
-0.018793806433677673,
0.01701045222580433,
0.03906231001019478,
-0.002027707640081644,
-0.017627766355872154,
-0.014335420913994312,
-0.0066146994940936565,
-0.02702466957271099,
-0.04252612963318825,
0.024829773232340813,
-0.014464028179645538,
-0.038342107087373734,
0.07956501841545105,
0.027556246146559715,
-0.011428897269070148,
0.05007109045982361,
-0.05034545063972473,
-0.03892512619495392,
-0.04252612963318825,
0.05010538548231125,
0.0315002016723156,
-0.009594100527465343,
-0.020045584067702293,
0.021554574370384216,
-0.010657253675162792,
0.0562785305082798,
0.017353404313325882,
-0.01590443029999733,
0.03645586967468262,
-0.03393516689538956,
-0.006511813495308161,
0.02092011272907257,
-0.03906231001019478,
-0.019033873453736305,
0.030042653903365135,
-0.055661216378211975,
-0.03186030313372612,
-0.020217059180140495,
0.016444580629467964,
-0.02685319446027279,
-0.04286908358335495,
0.03429526463150978,
0.05061981454491615,
0.029133828356862068,
0.021263064816594124,
0.048253439366817474,
-0.021211622282862663,
0.01570723205804825,
-0.0068633402697741985,
-0.03522123768925667,
0.004659869242459536,
0.019976992160081863,
-0.013460892252624035,
-0.004972813650965691,
0.0208172257989645,
-0.03683311492204666,
0.04753324016928673,
-0.019033873453736305,
-0.013135086745023727,
0.08827601373195648,
0.027727723121643066,
-0.020525716245174408,
-0.01611877605319023,
0.006511813495308161,
0.04173734039068222,
0.02951107732951641,
0.0038817955646663904,
-0.008775301277637482,
0.028602251783013344,
-0.03919949010014534,
0.06406355649232864,
-0.023903800174593925,
-0.007613549008965492,
0.03222040459513664,
0.04770471528172493,
0.05885067582130432,
0.009765577502548695,
0.029013795778155327,
0.03230614215135574,
0.05490672215819359,
-0.007240588311105967,
-0.027796313166618347,
-0.03597573563456535,
-0.0071119810454547405,
-0.032529059797525406,
-0.02551567740738392,
0.055695511400699615,
-0.03817063197493553,
0.01160894799977541,
0.004419802688062191,
-0.0465729720890522,
0.0590907447040081,
-0.007562106475234032,
-0.07613549381494522,
-0.016221661120653152,
-0.0469159260392189,
0.006666142493486404,
0.011909031309187412,
0.03573566675186157,
0.016573186963796616,
0.03594144061207771,
0.015244245529174805,
0.014378290623426437,
0.005542972590774298,
0.024709738790988922,
-0.02076578326523304,
-0.037244658917188644,
0.12620657682418823,
-0.010014217346906662,
-0.05789041146636009,
-0.03813633695244789,
-0.0564500093460083,
-0.00043940808973275125,
0.039919689297676086,
-0.02554997429251671,
-0.014549766667187214,
0.0590907447040081,
0.06025678291916847,
0.029133828356862068,
0.010777287185192108,
-0.02062860317528248,
0.0233722236007452,
-0.007377769332379103,
-0.06324046850204468,
-0.00616028718650341,
0.092460036277771,
0.012106228619813919,
-0.02925386279821396,
-0.027556246146559715,
0.026527388021349907,
0.07675280421972275,
0.07236301153898239,
0.020457126200199127,
-0.04732746630907059,
0.01695900969207287,
0.010425761342048645,
0.011806145310401917,
0.005397217348217964,
-0.019325383007526398,
0.010605811141431332,
-0.02218903787434101,
0.00020014503388665617,
-0.019171053543686867,
-0.07291173934936523,
-0.025944368913769722,
0.038616470992565155,
-0.049419477581977844,
0.04550981894135475,
0.029991211369633675,
-0.05031115561723709,
0.010597237385809422,
-0.014978457242250443,
0.03659304976463318,
-0.05391215905547142,
0.042251769453287125,
-0.04684733226895332,
0.0366959348320961,
0.048527803272008896,
0.058130476623773575,
-0.05113424360752106,
0.0007277026888914406,
0.049488067626953125,
-0.03546130657196045,
0.021760346367955208,
0.011180256493389606,
-0.05466665327548981,
-0.02687034197151661,
-0.037176068872213364,
-0.01963404007256031,
0.014472602866590023,
-0.006250312086194754,
-0.0008472002809867263,
-0.00865098088979721,
-0.016770385205745697,
-0.0059888106770813465,
0.01826222985982895,
-0.05998242273926735,
-0.027659133076667786,
-0.004379076883196831,
-0.056930143386125565,
0.033729393035173416,
-0.06543536484241486,
0.013203677721321583,
-0.0804566964507103,
0.06975657492876053,
-0.01944541558623314,
-0.002878658939152956,
-0.04647008702158928,
0.030248425900936127,
0.05843913555145264,
0.04362357780337334,
-0.04506397992372513,
-0.014806981198489666,
-0.007150562945753336,
-0.009396903216838837,
0.014866998419165611,
-0.009216852486133575,
0.012509198859333992,
-0.00462128734216094,
-0.034398153424263,
0.02445252425968647,
0.04173734039068222,
0.055661216378211975,
-0.02213759534060955,
-0.013280841521918774,
0.009602674283087254,
0.021365951746702194,
0.017447717487812042,
-0.07030529528856277,
-0.022737761959433556,
-0.04043411836028099,
0.005542972590774298,
0.001323582953773439,
0.06382349133491516,
-0.0878644734621048,
0.09204849600791931,
-0.00793078076094389,
-0.02313215658068657,
-0.04647008702158928,
-0.012534920126199722,
-0.004323347005993128,
0.007806459907442331,
-0.03954244405031204,
-0.06965368241071701,
-0.014163944870233536,
-0.015218524262309074,
0.0314144641160965,
0.01699330471456051,
-0.015672937035560608,
-0.05065410956740379,
-0.002220618538558483,
0.043486397713422775,
-0.011128813959658146,
-0.022549137473106384,
-0.00853523425757885,
-0.04304055869579315,
-0.033489327877759933,
-0.047053106129169464,
0.013203677721321583,
0.01228627935051918,
0.024675443768501282,
0.02942533791065216,
-0.027213294059038162,
0.008578103967010975,
0.02825929969549179,
-0.025464234873652458,
-0.030917182564735413,
-0.09691842645406723,
0.06423503160476685,
-0.012714969925582409,
0.009636970236897469,
-0.04269760847091675,
0.006743306759744883,
0.006443222984671593,
-0.0220518559217453,
0.01855373941361904,
-0.011428897269070148,
0.009482640773057938,
0.015055621974170208,
0.03769049793481827,
0.09911332279443741,
-0.00009123076597461477,
0.029991211369633675,
-0.027316179126501083,
0.02927101030945778,
-0.054426588118076324,
0.011540357023477554,
-0.009791298769414425,
-0.022720614448189735,
-0.0037017452996224165,
0.013229398988187313,
0.04787619039416313,
0.04629860818386078,
-0.027744870632886887,
-0.01572437956929207,
0.014309699647128582,
0.017782095819711685,
0.01532141026109457,
0.013109365478157997,
-0.023835210129618645,
0.05905644968152046,
-0.07099120318889618,
0.004078993108123541,
0.014772686176002026,
0.022737761959433556,
-0.0315002016723156,
-0.01530426274985075,
0.019342530518770218,
-0.025412792339920998,
-0.08553239703178406,
0.03312922641634941,
-0.06543536484241486,
0.027847755700349808,
-0.03810204192996025,
0.02074863575398922,
-0.03429526463150978,
0.004188309423625469,
-0.00018085393821820617,
-0.03758761286735535,
0.008320889435708523,
0.009328312240540981,
-0.0018840961856767535,
-0.003695314982905984,
0.0015454303938895464,
-0.026253025978803635,
-0.023509405553340912,
0.020611455664038658,
0.007283457089215517,
0.017696358263492584,
-0.012054786086082458,
0.03810204192996025,
-0.024675443768501282,
-0.034929729998111725,
-0.04365787282586098,
-0.010837304405868053,
-0.0031037216540426016,
-0.03432956337928772,
0.008389479480683804,
-0.009345459751784801,
0.05624423548579216,
-0.008097969926893711,
0.0170704685151577,
-0.03283771872520447,
0.012131950818002224,
-0.0516829676926136,
-0.044823914766311646,
0.0608740970492363,
0.04763612523674965,
-0.06011960282921791,
0.017610618844628334,
0.06492093950510025,
-0.00398682476952672,
-0.04125720635056496,
-0.06217731907963753,
-0.04767042025923729,
0.016950435936450958,
0.008496652357280254,
0.06701295077800751,
-0.05861061066389084,
-0.005470095202326775,
0.018073605373501778,
0.0414629764854908,
-0.027762018144130707,
0.005928794387727976,
-0.02801923267543316,
0.017850685864686966,
0.008415200747549534,
-0.03528982773423195,
0.04050270840525627,
-0.05013968050479889,
0.061937250196933746,
-0.015698658302426338,
0.0391651950776577,
-0.01841655746102333,
0.025944368913769722,
0.04502968490123749,
0.03041990101337433,
0.03676452487707138,
0.05109994858503342,
-0.028756581246852875,
-0.07414636760950089,
0.005397217348217964,
0.007274883333593607,
-0.032391879707574844,
-0.005405791569501162,
-0.019291087985038757,
0.022257627919316292,
0.023972392082214355,
-0.017747800797224045,
0.022549137473106384,
-0.022823499515652657,
-0.05051692575216293,
0.08436635881662369,
0.1033659353852272,
0.00000682388736095163,
0.03762190788984299,
0.05600417032837868,
-0.04417230188846588,
0.014746964909136295,
-0.03065996803343296,
-0.023749472573399544,
-0.023715177550911903,
0.013906730338931084,
0.0033159235026687384,
-0.010674402117729187,
-0.020165616646409035,
-0.01939397305250168,
-0.033712245523929596,
-0.045818474143743515,
-0.004844206385314465,
0.016607481986284256,
-0.011574652045965195,
0.04883645847439766,
0.011360307224094868,
0.0315002016723156,
-0.0004016297170892358,
0.00484849326312542,
-0.037450432777404785,
0.010031365789473057,
-0.037450432777404785,
-0.010108529590070248,
0.008689562790095806,
-0.011523209512233734,
-0.019874107092618942,
-0.03393516689538956,
-0.03875365108251572,
-0.024178162217140198,
0.0022527703549712896,
0.06406355649232864,
0.017764948308467865,
-0.05271182581782341,
0.02083437517285347,
-0.006593265105038881,
-0.09129399806261063,
-0.030299868434667587,
-0.02222333289682865,
0.016650352627038956,
-0.015167081728577614,
0.05020827054977417,
0.02345796301960945,
0.0012646379182115197,
-0.005731596611440182,
0.00015352490299846977,
0.039748214185237885,
-0.029596814885735512,
0.007227727212011814,
-0.034843992441892624,
-0.017799243330955505,
-0.06618986278772354,
-0.03316352143883705,
-0.04153156653046608,
-0.07078543305397034,
0.023835210129618645,
0.01159180048853159,
0.018022162839770317,
0.03182600811123848,
-0.005658718757331371,
-0.03170597553253174,
0.021640313789248466,
-0.05483813211321831,
-0.006087409798055887,
0.023680880665779114,
-0.013203677721321583,
0.00735633447766304,
-0.018776658922433853,
-0.008698136545717716,
-0.0160501841455698,
0.032494764775037766,
0.02313215658068657,
0.002745764795690775,
0.012860724702477455,
0.03803345188498497,
0.007386343088001013,
-0.06965368241071701,
-0.01536427903920412,
-0.03319781646132469,
0.016204513609409332,
0.0516829676926136,
-0.07538099586963654,
0.016658926382660866,
-0.02952822484076023,
-0.03455248102545738,
-0.05960517376661301,
0.040982842445373535,
0.0589192695915699,
0.03055708296597004,
0.04650438204407692,
-0.0631718784570694,
0.0811425969004631,
-0.030351310968399048,
0.006709011271595955,
0.07394059747457504,
0.04564699903130531,
-0.0061131310649216175,
0.030214129015803337,
0.0441037118434906,
-0.04166875034570694,
-0.01947971060872078,
0.006464657839387655,
0.03515264764428139,
-0.007450646720826626,
0.007566393353044987,
0.02570430189371109,
0.0020823657978326082,
0.0008584533934481442,
-0.030059801414608955,
0.04424089193344116,
0.027641985565423965,
0.06248597428202629,
0.02306356653571129,
-0.01406963262706995,
0.03294060379266739,
0.04242324456572533,
-0.0465729720890522,
0.039816804230213165,
-0.02831074222922325,
0.024040982127189636,
-0.07229442149400711,
0.004106858279556036,
-0.0025549973361194134,
0.034809693694114685,
-0.024178162217140198,
-0.021417394280433655,
-0.024109572172164917,
-0.005221454426646233,
0.026664569973945618,
0.03340359032154083,
0.022909237071871758,
0.015467165037989616,
-0.025104135274887085,
0.019273940473794937,
0.034741103649139404,
-0.01035717036575079,
-0.01954830251634121,
0.0022484834771603346,
-0.019051020964980125,
0.006807610392570496,
-0.06159429997205734,
0.07421495765447617,
0.07716435194015503,
-0.03460392355918884,
-0.03441530093550682,
-0.03055708296597004,
-0.0006714370101690292,
0.007583540864288807,
0.025532826781272888,
-0.014901293441653252,
-0.048287734389305115,
0.011557504534721375,
-0.05487242713570595,
-0.06797321885824203,
-0.0063574849627912045,
0.04077707231044769,
-0.03294060379266739,
-0.027453361079096794,
0.06492093950510025,
-0.006653281860053539,
0.0219661183655262,
-0.02198326587677002,
0.007832181639969349,
0.019925549626350403,
0.10789290815591812,
0.059536583721637726,
-0.05295189097523689,
0.03926808014512062,
-0.020319946110248566,
-0.018776658922433853,
-0.00733061321079731,
-0.04815055429935455,
-0.0712655633687973,
-0.008003657683730125,
-0.018828101456165314,
0.010622958652675152,
0.016616055741906166,
0.001689041848294437,
-0.02098870277404785,
0.005435799714177847,
0.008899621665477753,
-0.01843370497226715,
0.019153906032443047,
-0.003457391634583473,
0.0010406470391899347,
-0.004634147975593805,
0.009945627301931381,
-0.013023626990616322,
-0.008612398989498615,
0.010082808323204517,
-0.05466665327548981,
0.0028722286224365234,
-0.0025592842139303684,
-0.02457255870103836,
-0.10247425734996796,
0.08244582265615463,
0.012071933597326279,
0.07743871212005615,
-0.04516686499118805,
-0.06101127713918686,
0.04389794170856476,
0.007780738640576601,
0.04132579639554024,
0.013177956454455853,
-0.04564699903130531,
0.07613549381494522,
-0.003888225881382823,
-0.019976992160081863,
0.02186323143541813,
-0.03793056309223175,
-0.026064403355121613,
0.05730738863348961,
-0.0153471315279603,
-0.032340437173843384,
0.015664363279938698,
-0.07009952515363693,
-0.013863861560821533,
0.009585526771843433,
-0.01593015156686306,
-0.01466980017721653,
0.012637806124985218,
-0.018125047907233238,
0.052231691777706146,
-0.00850951299071312,
-0.044515255838632584,
-0.04153156653046608,
0.04015975818037987,
0.011205978691577911,
-0.016470301896333694,
0.02803638018667698,
-0.008449496701359749,
0.07510663568973541,
0.055901285260915756,
-0.04050270840525627,
0.0026150140911340714,
0.019925549626350403,
0.05789041146636009,
-0.03817063197493553,
0.040845662355422974,
-0.055798400193452835,
0.00703052943572402,
0.02433249168097973,
0.0021445259917527437,
0.07997655868530273,
-0.04331492260098457,
0.004659869242459536,
-0.04924800246953964,
-0.04763612523674965,
0.03071141056716442,
0.03174027055501938,
0.0029601100832223892,
0.03153449669480324,
0.0765470340847969,
0.006340337451547384,
-0.017799243330955505,
-0.045955657958984375,
0.049693841487169266,
0.04681303724646568,
-0.03594144061207771,
0.052025917917490005,
0.027933495119214058,
0.0012089081574231386,
-0.023577995598316193,
0.1030229777097702,
-0.0021723906975239515,
-0.01162609551101923,
0.033660802990198135,
-0.020097026601433754,
0.045818474143743515,
-0.07668421417474747,
-0.07133415341377258,
-0.005054264795035124,
-0.012672101147472858,
-0.009559805504977703,
-0.024023834615945816,
0.04550981894135475,
-0.016761811450123787,
0.043349217623472214
] |
725,769 | zep_python.zep_client | aadd_session | null | def add_session(self, session: Session) -> Session:
deprecated_warning(self.add_session)
return self.memory.add_session(session)
| (self, session: zep_python.memory.models.Session) -> zep_python.memory.models.Session | [
-0.015940215438604355,
-0.05159778520464897,
-0.045394960790872574,
0.0016990624135360122,
-0.011903182603418827,
0.009001024067401886,
-0.010854939930140972,
0.11227456480264664,
-0.006185496691614389,
-0.03808325529098511,
0.003374301129952073,
-0.03059828281402588,
-0.005657043773680925,
0.03378632664680481,
0.02110345847904682,
0.019162911921739578,
0.030858177691698074,
-0.04917209967970848,
-0.03369969502091408,
-0.011435371823608875,
-0.004312088247388601,
-0.00029535964131355286,
-0.012379656545817852,
-0.042241569608449936,
-0.05135521665215492,
0.0819881483912468,
-0.0190589539706707,
0.026093440130352974,
0.026925103738904,
-0.020999500527977943,
0.011807887814939022,
-0.059775806963443756,
0.004361901432275772,
-0.010274508036673069,
-0.010941571556031704,
0.04123664274811745,
-0.05793921649456024,
-0.04165247455239296,
-0.04542961344122887,
0.027288956567645073,
-0.01636471040546894,
0.021657900884747505,
-0.0009318311931565404,
0.025088513270020485,
-0.00408468022942543,
0.026093440130352974,
-0.05488978698849678,
0.043489065021276474,
0.02796468324959278,
0.007337696850299835,
0.012258372269570827,
0.010508413426578045,
0.007454649545252323,
0.03846443444490433,
-0.046573150902986526,
-0.005007307045161724,
-0.003619035240262747,
-0.03117005154490471,
-0.017057763412594795,
0.050627510994672775,
0.03888026624917984,
-0.02125939540565014,
0.06202822923660278,
0.023407859727740288,
0.023806365206837654,
-0.030199777334928513,
-0.014519456773996353,
-0.014328867197036743,
0.06247871369123459,
-0.015368446707725525,
0.019526764750480652,
-0.01603551022708416,
0.02635333500802517,
-0.026717187836766243,
-0.04328114911913872,
0.013861057348549366,
-0.02967998757958412,
-0.0005371159641072154,
-0.014987267553806305,
0.007909465581178665,
-0.03172449395060539,
0.055964019149541855,
-0.029090892523527145,
0.05104334279894829,
0.02216036431491375,
0.025504345074295998,
0.023234596475958824,
-0.03167251497507095,
-0.08032482862472534,
0.003534569637849927,
0.02292272262275219,
0.052672017365694046,
0.015662994235754013,
0.027288956567645073,
0.03593479096889496,
-0.06608258932828903,
-0.02058366872370243,
-0.009208939969539642,
-0.032278936356306076,
-0.04633058235049248,
-0.07734470069408417,
0.03144727274775505,
-0.006298117805272341,
-0.025123165920376778,
0.018383227288722992,
-0.06739939004182816,
0.009633434936404228,
-0.06819640100002289,
0.007970107719302177,
0.04421677067875862,
0.019370827823877335,
0.04726620391011238,
-0.013427899219095707,
0.03451403230428696,
-0.002947640372440219,
-0.03967727720737457,
0.013306614942848682,
-0.05665707215666771,
-0.020219817757606506,
0.007142776157706976,
-0.08545341342687607,
0.010828950442373753,
0.04012776166200638,
0.03149925172328949,
-0.017880763858556747,
0.01881638541817665,
0.037424854934215546,
-0.007147107273340225,
0.06136982887983322,
-0.056483808904886246,
-0.005722017493098974,
-0.05083542689681053,
0.049206752330064774,
-0.009295571595430374,
-0.02754885144531727,
-0.011114834807813168,
0.030476998537778854,
0.002313063945621252,
0.001952459802851081,
0.024187544360756874,
-0.03136064112186432,
0.007831497117877007,
-0.02515781857073307,
-0.0025859533343464136,
0.009685413911938667,
-0.045394960790872574,
-0.09709670394659042,
0.02420487068593502,
0.0004602303961291909,
-0.05852831155061722,
0.000021657901015714742,
0.010196540504693985,
-0.009408192709088326,
-0.010664350353181362,
-0.005886617582291365,
0.027133019641041756,
0.014770688489079475,
0.024274175986647606,
0.054577913135290146,
0.006631649564951658,
0.02063564769923687,
-0.0395386666059494,
-0.006674965377897024,
-0.013826404698193073,
-0.04030102491378784,
-0.019752006977796555,
0.02602413482964039,
0.007497965358197689,
-0.041583169251680374,
0.006506033707410097,
0.00038361558108590543,
0.0024278508499264717,
0.11421511322259903,
0.04203365370631218,
-0.06396877765655518,
0.040716856718063354,
0.047716688364744186,
0.029368113726377487,
0.01055172923952341,
0.000556066632270813,
-0.007342028431594372,
-0.00007255397213157266,
-0.03687041252851486,
0.03784068673849106,
0.005579075310379267,
0.01589689962565899,
0.02491525001823902,
0.027514198794960976,
0.09439379721879959,
0.04435538128018379,
0.05360763892531395,
0.031897757202386856,
0.030199777334928513,
0.00693486025556922,
-0.016615942120552063,
-0.02125939540565014,
-0.04068220406770706,
0.015567699447274208,
-0.050488900393247604,
0.058355048298835754,
-0.016191447153687477,
0.013991004787385464,
-0.003110074670985341,
-0.02411823906004429,
0.027635483071208,
0.03697437047958374,
-0.056968946009874344,
-0.02482861839234829,
-0.02434348128736019,
0.017031773924827576,
-0.049865152686834335,
0.017716163769364357,
0.016165457665920258,
0.010543066076934338,
0.02507118694484234,
0.03006116673350334,
-0.01386972051113844,
-0.004353238269686699,
-0.004808054305613041,
-0.01660727895796299,
0.08794840425252914,
-0.0029086561407893896,
-0.028623081743717194,
-0.05440464988350868,
-0.038810960948467255,
-0.0547858290374279,
0.01589689962565899,
-0.08358217030763626,
-0.0035302380565553904,
0.028241904452443123,
0.054577913135290146,
0.055063050240278244,
-0.002475498244166374,
-0.008307971060276031,
0.028172599151730537,
0.053815554827451706,
-0.07283985614776611,
0.014077636413276196,
0.03801394999027252,
-0.030459672212600708,
-0.021086132153868675,
-0.03926144540309906,
-0.003969893325120211,
0.06344898790121078,
-0.027670135721564293,
0.0686468854546547,
-0.022558869794011116,
0.009165624156594276,
0.026803819462656975,
-0.0018983150366693735,
0.002114894101396203,
-0.01938815414905548,
0.007614918053150177,
0.004073851276189089,
-0.04549891874194145,
-0.018521837890148163,
-0.06043420732021332,
0.05679568275809288,
0.0089317187666893,
-0.04435538128018379,
0.02935078740119934,
0.05218688026070595,
-0.033093273639678955,
-0.024811292067170143,
-0.03891491889953613,
0.004444201476871967,
-0.029108218848705292,
0.04802856221795082,
-0.04043963551521301,
0.03158588334918022,
0.07086465507745743,
0.04726620391011238,
-0.012934098951518536,
-0.013609825633466244,
0.06272128224372864,
-0.05960254371166229,
-0.036004096269607544,
0.02125939540565014,
-0.07069139182567596,
-0.014588762074708939,
0.033093273639678955,
-0.010525739751756191,
0.015281815081834793,
0.024845944717526436,
-0.051147300750017166,
0.0007818502490408719,
-0.01579294167459011,
0.017274342477321625,
0.003634195774793625,
-0.0972353145480156,
-0.06341433525085449,
-0.015966204926371574,
-0.0022004428319633007,
0.0557561032474041,
-0.03693971782922745,
0.07616651058197021,
-0.10319557040929794,
0.051008690148591995,
0.008801771327853203,
0.0054751173593103886,
0.021311374381184578,
0.02001190185546875,
0.03389028459787369,
0.09390866011381149,
0.04238018020987511,
-0.032330915331840515,
-0.011357403360307217,
0.03544965386390686,
-0.031811125576496124,
-0.03068491443991661,
-0.019474785774946213,
-0.016971131786704063,
-0.0071860915049910545,
0.044147465378046036,
-0.028865650296211243,
0.00427526980638504,
-0.03745950758457184,
-0.0805327445268631,
0.025746913626790047,
-0.004608801566064358,
-0.01663326844573021,
-0.030390366911888123,
-0.0020520861726254225,
-0.024863271042704582,
-0.0008072982891462743,
0.0068828812800347805,
0.07110722362995148,
-0.043870244175195694,
0.023598449304699898,
0.013722446747124195,
-0.07561206817626953,
-0.004704096354544163,
-0.024897923693060875,
0.06677564233541489,
-0.07665164768695831,
0.00818235520273447,
-0.06119656562805176,
-0.014337530359625816,
-0.014796677976846695,
-0.004292596131563187,
-0.022749459370970726,
-0.006644644308835268,
-0.03283337876200676,
0.00468243844807148,
0.03898422420024872,
-0.028727039694786072,
-0.040231719613075256,
-0.008186686784029007,
-0.011755908839404583,
-0.04903348907828331,
-0.03641992807388306,
0.005648380611091852,
-0.028571104630827904,
0.027912704274058342,
0.02831120975315571,
-0.004047861788421869,
-0.0027895376551896334,
-0.005786991212517023,
-0.022368280217051506,
-0.08476036041975021,
-0.06105795502662659,
0.07249332964420319,
0.0058043175376951694,
0.027462219819426537,
-0.010525739751756191,
0.03441007435321808,
-0.003389461664482951,
-0.02316529117524624,
0.004890354350209236,
-0.02458604983985424,
-0.00045454519568011165,
-0.013237309642136097,
0.10596778243780136,
0.11802689731121063,
0.0101272352039814,
0.02339053340256214,
0.008494229055941105,
0.006042554508894682,
-0.031759146600961685,
0.014129615388810635,
0.018504511564970016,
0.005869291257113218,
-0.013991004787385464,
0.009780708700418472,
0.06376086175441742,
0.02273213304579258,
-0.026422640308737755,
-0.04085546359419823,
0.055582839995622635,
-0.009919319301843643,
-0.01886836439371109,
-0.00824732892215252,
0.013523194007575512,
0.058632269501686096,
-0.03463531658053398,
0.017057763412594795,
-0.015593688935041428,
0.012310351245105267,
-0.017811458557844162,
0.02649194560945034,
0.061924271285533905,
-0.02096484787762165,
-0.0245340708643198,
-0.0034501038026064634,
-0.04269205406308174,
0.030476998537778854,
-0.02039308100938797,
0.0024495087563991547,
0.046053361147642136,
-0.02396230213344097,
-0.0025448035448789597,
-0.0590827539563179,
-0.049969110637903214,
0.04497912898659706,
-0.014969941228628159,
0.0395386666059494,
0.04317719116806984,
0.025227123871445656,
0.009798035025596619,
0.017473595216870308,
0.045672181993722916,
0.024378133937716484,
-0.06341433525085449,
0.06279058754444122,
-0.02449941821396351,
-0.019838638603687286,
-0.010005950927734375,
-0.008758455514907837,
-0.015637004747986794,
-0.02411823906004429,
-0.03117005154490471,
-0.011296761222183704,
0.022888069972395897,
0.029749292880296707,
0.027531525120139122,
-0.005011638626456261,
-0.005544422660022974,
-0.02768746204674244,
-0.05807782709598541,
0.06272128224372864,
0.039815887808799744,
-0.05530561879277229,
-0.00936487689614296,
0.05804317444562912,
0.039573319256305695,
-0.04875626787543297,
-0.05166709050536156,
-0.02319994382560253,
0.05662241950631142,
0.008758455514907837,
0.04989980533719063,
-0.07963177561759949,
0.051251258701086044,
0.055340271443128586,
-0.02815527282655239,
-0.030286408960819244,
0.023147964850068092,
-0.03196706250309944,
0.05942928045988083,
0.01093290839344263,
0.007718876004219055,
0.0681270956993103,
0.03446205332875252,
0.015186520293354988,
0.009304234758019447,
0.05780060589313507,
0.003036437788978219,
0.0024711666628718376,
0.010092582553625107,
-0.010707666166126728,
0.030771546065807343,
0.03281605243682861,
-0.025712260976433754,
-0.10617569833993912,
0.024464765563607216,
-0.027427567169070244,
-0.03787533938884735,
-0.012734846211969852,
-0.012197730131447315,
0.022853417322039604,
-0.013046720065176487,
0.006622986402362585,
-0.0007710212958045304,
0.0005923436256125569,
-0.03558826446533203,
0.046954330056905746,
0.09203741699457169,
-0.04030102491378784,
-0.000007085348443069961,
0.05298389121890068,
-0.010673013515770435,
-0.002540471963584423,
-0.04140990599989891,
-0.0036082062870264053,
0.020271796733140945,
0.016460005193948746,
0.019422806799411774,
0.019041627645492554,
-0.006687960121780634,
0.00117060961201787,
-0.019370827823877335,
-0.0070951287634670734,
-0.03343980014324188,
0.023147964850068092,
-0.013193993829190731,
0.013228646479547024,
-0.053295765072107315,
0.010993550531566143,
-0.007069139275699854,
0.02640531398355961,
0.0029757956508547068,
0.0576619952917099,
-0.040612898766994476,
-0.025469692423939705,
0.04373163357377052,
0.009772045537829399,
-0.0648350939154625,
-0.00834695529192686,
-0.00243001664057374,
-0.01510855183005333,
0.03468729555606842,
0.04913744702935219,
0.049587931483983994,
-0.05111264809966087,
0.006189828272908926,
-0.013939025811851025,
-0.0014359188498929143,
-0.008416260592639446,
0.0376327708363533,
0.014831330627202988,
-0.026076113805174828,
0.05693429335951805,
-0.03473927453160286,
0.029853250831365585,
0.020323775708675385,
-0.004574148915708065,
0.027843398973345757,
0.0011792727746069431,
0.009217603132128716,
-0.06209753453731537,
0.006254801992326975,
-0.015697646886110306,
0.030338387936353683,
-0.005483780521899462,
-0.08642368763685226,
-0.004192969761788845,
0.009278245270252228,
-0.00039471525815315545,
-0.056726377457380295,
-0.012717519886791706,
-0.06708751618862152,
0.061924271285533905,
-0.008702144958078861,
-0.011660614050924778,
0.017603542655706406,
-0.024031607434153557,
0.029991861432790756,
-0.03898422420024872,
-0.0012626557145267725,
-0.03808325529098511,
-0.005622391123324633,
-0.046573150902986526,
-0.050107721239328384,
-0.00018219709454569966,
0.043489065021276474,
-0.005730680655688047,
-0.007870481349527836,
-0.01570631004869938,
-0.060780733823776245,
0.04788995161652565,
0.03891491889953613,
-0.07207749783992767,
0.01043910812586546,
0.004047861788421869,
-0.035137780010700226,
-0.05970650166273117,
-0.004760406911373138,
0.11303692311048508,
0.031239356845617294,
-0.005929933395236731,
-0.04775134101510048,
0.03531104326248169,
0.015697646886110306,
0.0015268820570781827,
0.0207222793251276,
0.024811292067170143,
-0.03988519310951233,
0.04064755141735077,
-0.008849418722093105,
-0.0405089408159256,
0.014138278551399708,
-0.021657900884747505,
0.04892953112721443,
-0.05513235554099083,
-0.010213865898549557,
-0.021432658657431602,
-0.019890617579221725,
0.0002463586279191077,
-0.0005539008416235447,
0.04328114911913872,
-0.013393246568739414,
0.07568137347698212,
0.043003927916288376,
-0.05066216364502907,
0.03030373528599739,
0.028605755418539047,
-0.07186958193778992,
0.04321184381842613,
-0.017118405550718307,
-0.0074719758704304695,
-0.0767209529876709,
0.04089011624455452,
-0.020323775708675385,
-0.01696246862411499,
-0.02793003059923649,
-0.0031490589026361704,
-0.007606254890561104,
0.02434348128736019,
0.05284528061747551,
0.0014900636160746217,
0.02564295567572117,
0.004487517289817333,
-0.0017239690059795976,
0.019994575530290604,
-0.01079429779201746,
0.010109908878803253,
0.00933888740837574,
-0.02654392458498478,
-0.017300331965088844,
0.0012539925519376993,
-0.044008854776620865,
-0.010612371377646923,
0.0709686130285263,
-0.02458604983985424,
0.008702144958078861,
-0.03203636780381203,
-0.01938815414905548,
-0.01734364777803421,
0.04189504310488701,
-0.019717354327440262,
-0.032278936356306076,
0.03434076905250549,
-0.008771450258791447,
-0.008650165982544422,
-0.010265844874083996,
-0.006839565467089415,
0.006982507649809122,
-0.03569222241640091,
0.07166166603565216,
-0.01095889788120985,
0.023858344182372093,
0.01529914140701294,
0.004647785797715187,
0.01245762500911951,
0.07034486532211304,
0.009650761261582375,
-0.02254154346883297,
0.037286244332790375,
0.019214890897274017,
-0.020670300349593163,
0.006341433618217707,
-0.03281605243682861,
-0.014086299575865269,
0.044909823685884476,
0.018279269337654114,
0.04823647812008858,
-0.019214890897274017,
0.00842492375522852,
-0.01419892068952322,
0.013618488796055317,
-0.018660448491573334,
0.011539329774677753,
-0.033613063395023346,
0.06615189462900162,
0.030459672212600708,
-0.0035389012191444635,
-0.010187877342104912,
-0.04899883642792702,
-0.02559097670018673,
-0.006644644308835268,
-0.07263194024562836,
0.0011608635541051626,
0.0178634375333786,
-0.016945142298936844,
-0.09598781913518906,
0.06597863137722015,
0.005713354330509901,
0.022264322265982628,
-0.021501963958144188,
-0.09869072586297989,
0.05045424774289131,
0.0035800510086119175,
0.013384583406150341,
0.014814004302024841,
-0.01245762500911951,
0.04411281272768974,
0.02158859558403492,
-0.005171906668692827,
0.005228217225521803,
-0.0049076806753873825,
0.007220744155347347,
0.032330915331840515,
-0.011660614050924778,
0.009494824334979057,
0.01723102666437626,
-0.05388486012816429,
-0.011643287725746632,
-0.011981151066720486,
0.0006968429661355913,
-0.019925270229578018,
-0.0022719139233231544,
-0.016139468178153038,
0.05523631349205971,
0.02749687246978283,
-0.01734364777803421,
0.040474288165569305,
0.01710107922554016,
-0.0490681417286396,
-0.06615189462900162,
0.041201990097761154,
-0.013609825633466244,
0.0020466716960072517,
0.03929609805345535,
0.001579943927936256,
-0.004201632924377918,
-0.003408953780308366,
0.04203365370631218,
-0.02820725180208683,
0.04179108515381813,
0.006436728406697512,
-0.04650384560227394,
0.006562344264239073,
-0.044147465378046036,
0.06202822923660278,
-0.03363038972020149,
-0.02248956449329853,
-0.04411281272768974,
-0.0005972166545689106,
-0.004578480497002602,
0.01614813134074211,
0.0010038437321782112,
-0.01076830830425024,
0.006601328495889902,
-0.0231133121997118,
-0.004140990786254406,
-0.0424148328602314,
0.026076113805174828,
-0.009243592619895935,
-0.005596401635557413,
0.09404727071523666,
0.030771546065807343,
0.02425684966146946,
0.00818235520273447,
0.09966100007295609,
-0.03822186589241028,
-0.018452532589435577,
0.029368113726377487,
0.005020301789045334,
0.041964348405599594,
-0.03836047649383545,
-0.07928524911403656,
0.023892996832728386,
0.030459672212600708,
-0.02205640636384487,
-0.039330750703811646,
-0.0019037295132875443,
-0.02205640636384487,
0.01112349797040224
] |
725,770 | zep_python.zep_client | aclose |
Asynchronously close the HTTP client.
[Optional] This method may be called when the ZepClient is no longer needed to
release resources.
| def search_memory(
self,
session_id: str,
search_payload: MemorySearchPayload,
limit: Optional[int] = None,
) -> List[MemorySearchResult]:
deprecated_warning(self.search_memory)
return self.memory.search_memory(session_id, search_payload, limit)
| (self) -> NoneType | [
0.04390455037355423,
-0.052254289388656616,
-0.02600737288594246,
-0.02816324681043625,
0.005736165679991245,
0.07713239639997482,
-0.03367270529270172,
-0.024587232619524002,
0.018085390329360962,
-0.06768760830163956,
-0.025665171444416046,
-0.0033150846138596535,
0.010924807749688625,
-0.015929516404867172,
0.03747114911675453,
0.05184364318847656,
-0.010026526637375355,
-0.04609464481472969,
0.019163327291607857,
0.06026181951165199,
-0.00028579236823134124,
0.03218412399291992,
0.04794253781437874,
-0.002091711387038231,
-0.018940895795822144,
0.028026366606354713,
0.0045213475823402405,
-0.004987598396837711,
0.017503647133708,
0.026606226339936256,
-0.03938748314976692,
-0.015929516404867172,
-0.010505610145628452,
0.02956627681851387,
-0.0337582528591156,
-0.007087864447385073,
0.03457954153418541,
-0.006279411725699902,
-0.0375053696334362,
0.009881090372800827,
-0.04061941057443619,
-0.033467382192611694,
0.04708703234791756,
0.021216541528701782,
-0.030284902080893517,
-0.037300046533346176,
0.0101805180311203,
-0.011036023497581482,
0.06785871088504791,
0.005381130613386631,
-0.012319281697273254,
0.020070163533091545,
-0.06943283975124359,
0.05865347012877464,
0.037847571074962616,
-0.010736596770584583,
-0.07494229823350906,
-0.03449399024248123,
0.061972830444574356,
0.04469161853194237,
-0.0018275739857926965,
-0.04742923378944397,
0.06361540406942368,
0.024843884631991386,
0.004923435393720865,
-0.012721369974315166,
0.021404752507805824,
0.03990078717470169,
0.007464287336915731,
-0.034014906734228134,
-0.0032081464305520058,
-0.004555567633360624,
0.04332280904054642,
0.0035182670690119267,
-0.005731888115406036,
0.018034059554338455,
0.022927552461624146,
0.012131070718169212,
-0.01163487695157528,
0.010796481743454933,
0.03555481508374214,
0.03603389859199524,
-0.06080934405326843,
0.019300207495689392,
-0.02354351617395878,
0.024860994890332222,
0.05102235823869705,
0.021216541528701782,
-0.009650103747844696,
-0.06618192046880722,
-0.0013934049056842923,
0.0667978823184967,
-0.00661733653396368,
0.009025584906339645,
0.017674747854471207,
-0.04181711748242378,
-0.002273506484925747,
0.03795023262500763,
-0.034955963492393494,
0.054067958146333694,
-0.07562670111656189,
0.009359232150018215,
0.024091040715575218,
0.011344005353748798,
0.00323595036752522,
-0.004790831822901964,
-0.03062710352241993,
-0.0019313041120767593,
0.008982810191810131,
0.13044750690460205,
-0.031106187030673027,
0.051912084221839905,
-0.024535903707146645,
0.007605445571243763,
-0.011874418705701828,
0.055744752287864685,
0.007280353456735611,
-0.033313389867544174,
-0.0560869537293911,
-0.03368981555104256,
-0.020703237503767014,
-0.018632913008332253,
0.01629738323390484,
-0.018821125850081444,
0.013217562809586525,
0.05567631125450134,
0.02145608328282833,
-0.0039053834043443203,
0.00647190073505044,
0.008777488023042679,
-0.041303813457489014,
-0.020703237503767014,
-0.014654812403023243,
-0.005299857817590237,
0.007964758202433586,
0.02628113515675068,
0.062246594578027725,
-0.05499190464615822,
0.011754647828638554,
-0.027786824852228165,
-0.046505291014909744,
0.016699470579624176,
0.005150144454091787,
-0.005150144454091787,
-0.048661164939403534,
-0.0906151607632637,
-0.015125340782105923,
-0.03132861852645874,
-0.01613483764231205,
-0.021353421732783318,
-0.01926598884165287,
-0.01566430926322937,
0.011480886489152908,
-0.03238944709300995,
-0.019368648529052734,
0.07336816936731339,
0.05444438382983208,
0.0023697507567703724,
0.01727266050875187,
0.01296091079711914,
-0.020343925803899765,
-0.025938931852579117,
-0.06536063551902771,
-0.01853025332093239,
-0.00009377144306199625,
-0.003800584003329277,
0.01965952105820179,
0.012079739943146706,
-0.041919779032468796,
0.03952436149120331,
-0.007532727438956499,
0.0009004197199828923,
0.05482080578804016,
-0.025408519431948662,
-0.06717430800199509,
0.0053340778686106205,
-0.01692190207540989,
0.005787495989352465,
0.041098494082689285,
0.012259396724402905,
-0.014363940805196762,
-0.017246995121240616,
-0.020891448482871056,
-0.0551287867128849,
-0.002137694740667939,
-0.0250663161277771,
-0.014073068276047707,
0.05235694721341133,
0.02525452710688114,
0.02279067225754261,
0.023680398240685463,
-0.05879035219550133,
0.0528702512383461,
-0.0306613240391016,
-0.0906151607632637,
-0.03791601210832596,
-0.022705120965838432,
0.020976999774575233,
-0.041646018624305725,
0.02455301396548748,
-0.0024381913244724274,
-0.0034177452325820923,
0.02874499186873436,
-0.0717940405011177,
-0.033262062817811966,
-0.018273601308465004,
-0.02400548942387104,
-0.013217562809586525,
-0.02263667993247509,
-0.010479944758117199,
-0.05427328124642372,
0.02227736823260784,
0.013183342292904854,
0.024997876957058907,
0.04961932823061943,
0.06002227962017059,
0.012781254947185516,
0.020463695749640465,
0.04311748594045639,
-0.06361540406942368,
0.06347852200269699,
-0.04985887184739113,
-0.09581663459539413,
-0.0295320563018322,
-0.05023529380559921,
0.02200360596179962,
0.0006025968468748033,
-0.07377880811691284,
0.06299944221973419,
-0.044657398015260696,
0.06915908306837082,
-0.013944743201136589,
0.05068015679717064,
-0.007455732207745314,
0.03454532101750374,
-0.035144172608852386,
-0.0232184249907732,
0.013653870671987534,
0.06816669553518295,
-0.018906675279140472,
0.022465579211711884,
-0.041098494082689285,
-0.004966210573911667,
0.04007188603281975,
0.009393452666699886,
0.046265747398138046,
-0.008572166785597801,
-0.009444782510399818,
0.06645568460226059,
-0.01339721865952015,
-0.027872376143932343,
-0.03521261364221573,
0.012558823451399803,
-0.027427513152360916,
0.030695544555783272,
-0.05235694721341133,
-0.07288908213376999,
0.003960991278290749,
-0.007280353456735611,
-0.017845848575234413,
0.03829243406653404,
0.016151947900652885,
0.03454532101750374,
-0.013191897422075272,
0.007956203073263168,
0.044417854398489,
-0.04749767482280731,
0.04725813493132591,
-0.013405773788690567,
0.04294638708233833,
-0.0053340778686106205,
0.03613656014204025,
-0.02925829403102398,
0.018376262858510017,
0.01543332263827324,
0.022226037457585335,
0.0007656775997020304,
0.031739261001348495,
-0.021866725757718086,
-0.009718544781208038,
-0.047874096781015396,
-0.02005305327475071,
-0.008345457725226879,
-0.03355293348431587,
0.028488339856266975,
-0.022311588749289513,
0.013345888815820217,
0.004902047570794821,
0.00743006682023406,
-0.05256227031350136,
-0.025630950927734375,
-0.0032787255477160215,
-0.04366501048207283,
-0.05352043733000755,
-0.0782274380326271,
0.0019804956391453743,
-0.050885479897260666,
-0.00861494243144989,
0.009855425916612148,
0.009761319495737553,
-0.05198052525520325,
-0.03011379949748516,
0.026264024898409843,
0.05256227031350136,
-0.034049127250909805,
0.030490223318338394,
0.007250410504639149,
-0.004966210573911667,
0.002756867092102766,
-0.022260257974267006,
-0.01953974924981594,
-0.018359152600169182,
0.01989906281232834,
-0.05725044012069702,
-0.041303813457489014,
-0.009650103747844696,
-0.03387802466750145,
0.023663287982344627,
0.01899222657084465,
0.024775445461273193,
0.03613656014204025,
0.0026948428712785244,
-0.038668856024742126,
-0.05533410981297493,
0.04931134730577469,
-0.008863039314746857,
-0.0011709734098985791,
-0.02260245941579342,
0.06744807213544846,
0.007498507387936115,
0.04256996139883995,
-0.03422022610902786,
0.012011299841105938,
-0.023748837411403656,
0.020258374512195587,
-0.024091040715575218,
-0.032321006059646606,
0.08028065413236618,
-0.003015657654032111,
0.05297291278839111,
0.01765763759613037,
-0.03410045802593231,
-0.001120712491683662,
-0.007678163703531027,
0.07850120216608047,
-0.004164173733443022,
0.05581318959593773,
-0.04496537894010544,
-0.019437089562416077,
-0.08999919891357422,
0.06282833963632584,
0.008080251514911652,
0.02060057781636715,
0.006660111714154482,
0.01284114085137844,
-0.028676550835371017,
0.0377449095249176,
0.037026286125183105,
-0.05362309515476227,
-0.011027468368411064,
-0.0965694859623909,
0.06720852851867676,
-0.07350505143404007,
-0.010060747154057026,
-0.02424503117799759,
0.0077893794514238834,
-0.007340238895267248,
0.003967407625168562,
0.006916763726621866,
-0.027752604335546494,
-0.019642410799860954,
-0.01100180298089981,
-0.043493907898664474,
0.08007533103227615,
0.0004066325491294265,
-0.0058644916862249374,
-0.05122768133878708,
0.018923785537481308,
-0.04472583904862404,
0.05526566877961159,
0.007045089267194271,
-0.013876302167773247,
-0.013910522684454918,
-0.034014906734228134,
0.03613656014204025,
0.043836113065481186,
-0.09191553294658661,
0.0014661229215562344,
0.03931904211640358,
0.04229620099067688,
-0.039455924183130264,
0.006762772332876921,
-0.03949014097452164,
0.0732312873005867,
0.020669016987085342,
0.022226037457585335,
0.03942170366644859,
0.015125340782105923,
-0.05423906072974205,
-0.017169998958706856,
0.006694332230836153,
0.009316456504166126,
-0.08698781579732895,
0.006133975926786661,
-0.05779796466231346,
-0.008636330254375935,
0.015159561298787594,
-0.051090799272060394,
-0.047634556889534,
0.04065363109111786,
0.05321245267987251,
-0.016862018033862114,
0.013055017217993736,
0.037026286125183105,
-0.0062152487225830555,
-0.042467303574085236,
0.018735574558377266,
0.04770299792289734,
0.00026346903177909553,
0.022995993494987488,
0.028950313106179237,
-0.03771068900823593,
0.009076915681362152,
-0.020549247041344643,
-0.0035631812643259764,
0.031071966513991356,
-0.0005191850359551609,
0.010223292745649815,
-0.006176751106977463,
-0.0548892468214035,
0.0023483631666749716,
0.050885479897260666,
-0.006998036522418261,
0.0116092124953866,
0.017435206100344658,
0.008161524310708046,
-0.015416212379932404,
-0.024724114686250687,
-0.047052811831235886,
0.031311508268117905,
0.040003444999456406,
-0.021233651787042618,
0.011267010122537613,
0.0709727555513382,
-0.004106427542865276,
0.004256140906363726,
-0.015407657250761986,
-0.008003255352377892,
-0.01719566434621811,
-0.005513734184205532,
0.03086664527654648,
-0.0741894543170929,
0.04695015400648117,
0.01719566434621811,
0.055984292179346085,
-0.05177520588040352,
-0.05807172507047653,
0.010402949526906013,
0.010454279370605946,
-0.02658911608159542,
0.03959280252456665,
-0.006506120786070824,
-0.05687401816248894,
-0.01629738323390484,
-0.027119530364871025,
0.05605273321270943,
-0.04749767482280731,
0.023663287982344627,
0.01640859991312027,
-0.0020639074500650167,
0.031106187030673027,
0.017554976046085358,
-0.0615621879696846,
-0.08808286488056183,
0.050885479897260666,
0.004080762155354023,
-0.03935326263308525,
-0.015929516404867172,
0.031037745997309685,
0.04198822006583214,
0.03979812562465668,
-0.01731543429195881,
0.024895215407013893,
-0.021558742970228195,
-0.040824729949235916,
0.009017029777169228,
0.10341352969408035,
-0.012370612472295761,
0.013465659692883492,
0.04828474298119545,
0.000655531242955476,
0.04410987347364426,
-0.002055352320894599,
0.00048282602801918983,
0.05321245267987251,
-0.008306960575282574,
0.002793226158246398,
0.03688940405845642,
0.017520757392048836,
0.03983234614133835,
-0.0028573889285326004,
-0.04079051315784454,
0.027427513152360916,
0.0013249644543975592,
-0.035931240767240524,
0.01856447383761406,
0.009684324264526367,
0.034254446625709534,
0.04003766551613808,
0.03449399024248123,
0.013662425801157951,
0.05851658806204796,
-0.02795792557299137,
-0.02455301396548748,
0.013422884047031403,
-0.0005333543522283435,
-0.019573969766497612,
0.011994189582765102,
-0.05174098536372185,
0.01100180298089981,
0.014646257273852825,
0.07952781021595001,
-0.013132012449204922,
-0.09054671972990036,
0.045718222856521606,
-0.024535903707146645,
-0.04301482439041138,
-0.031243067234754562,
0.0026199861895292997,
-0.030284902080893517,
-0.004568400327116251,
0.010993247851729393,
-0.01859869435429573,
-0.017418095842003822,
0.013936188071966171,
-0.02403970994055271,
0.04876382276415825,
0.007862097583711147,
0.07329972833395004,
0.017255550250411034,
-0.043254368007183075,
-0.006369239650666714,
-0.03740270808339119,
0.005034651141613722,
-0.06050136312842369,
0.05478658527135849,
-0.002102405298501253,
0.005813161376863718,
-0.022448468953371048,
0.003248782828450203,
0.04205666109919548,
-0.041098494082689285,
0.023201314732432365,
-0.03603389859199524,
0.014757473021745682,
0.03504151478409767,
0.0322696752846241,
-0.024997876957058907,
0.008448118343949318,
0.003458381863310933,
0.043493907898664474,
0.015561648644506931,
0.016074951738119125,
0.02314998395740986,
-0.004360940307378769,
-0.016673805192112923,
-0.04092739149928093,
-0.036992065608501434,
-0.07152027636766434,
0.027975035831332207,
0.055470988154411316,
0.0063521298579871655,
-0.04010610654950142,
0.05345199629664421,
0.03259476646780968,
-0.02391993999481201,
0.02455301396548748,
-0.01692190207540989,
0.0008474853239022195,
-0.00176234170794487,
-0.025956042110919952,
0.015638643875718117,
0.033227842301130295,
-0.04020876809954643,
0.020224153995513916,
0.03589702025055885,
-0.01996750198304653,
-0.04606042802333832,
-0.02564806118607521,
-0.00928223691880703,
0.05526566877961159,
0.0782274380326271,
0.0014083762653172016,
-0.0044529070146381855,
-0.0325092151761055,
0.03685518354177475,
-0.04633418843150139,
-0.00397596275433898,
0.0018286433769389987,
0.0015655753668397665,
-0.005278469994664192,
0.0407220721244812,
0.020942779257893562,
-0.071451835334301,
0.005381130613386631,
0.02142186276614666,
0.005364020820707083,
-0.015886740759015083,
0.0056976680643856525,
0.01014629751443863,
-0.07460009306669235,
-0.028847651556134224,
0.016323048621416092,
0.0377449095249176,
-0.004275389481335878,
-0.008058863691985607,
0.034254446625709534,
0.03160237893462181,
0.009923866018652916,
0.009838315658271313,
0.02424503117799759,
0.033501602709293365,
0.01706733927130699,
0.026760218665003777,
0.036239221692085266,
-0.020771678537130356,
-0.035691697150468826,
0.03938748314976692,
0.01679357700049877,
0.06577127426862717,
-0.0466763898730278,
0.026811547577381134,
0.09006763994693756,
0.005710500292479992,
-0.06323897838592529,
-0.052733369171619415,
0.010830702260136604,
0.004136370029300451,
-0.010197628289461136,
-0.019197547808289528,
-0.045444462448358536,
0.023817278444767,
-0.0076225558295845985,
-0.004551290068775415,
-0.007104974705725908,
0.00804603099822998,
-0.0023697507567703724,
0.03791601210832596,
0.05639493465423584,
0.04783987998962402,
0.008174357004463673,
-0.04116693511605263,
-0.011600657366216183,
0.02314998395740986,
0.03791601210832596,
-0.019163327291607857,
-0.040824729949235916,
0.036752525717020035,
0.011677652597427368,
-0.03743692860007286,
0.0023205592297017574,
0.012088295072317123,
-0.07336816936731339,
-0.012421942315995693,
-0.003203868865966797,
-0.03791601210832596,
-0.009992306120693684,
0.05776374414563179,
-0.04629996791481972,
0.050269514322280884,
0.04041408747434616,
0.009333566762506962,
0.04014032706618309,
0.02722219191491604,
-0.014141509309411049,
-0.0024681338109076023,
-0.034254446625709534,
-0.016237497329711914,
-0.0029301070608198643,
0.007502784952521324,
-0.013782196678221226,
-0.054410163313150406,
-0.017965620383620262,
0.05146722123026848,
-0.06635302305221558,
0.07056210935115814,
-0.05091970041394234,
0.014329720288515091,
-0.03931904211640358,
0.012379167601466179,
0.031859032809734344,
-0.01671658083796501,
0.056839797645807266,
-0.023235535249114037,
-0.07781679928302765,
0.07720082998275757,
-0.030404672026634216,
-0.024347692728042603,
0.08856195211410522,
-0.03139705955982208,
-0.003727866103872657,
0.055607870221138,
-0.024142371490597725,
-0.05269915238022804,
-0.008264184929430485,
-0.03297118842601776,
-0.03634188324213028,
0.0407220721244812,
-0.007104974705725908,
-0.002955772215500474,
0.04852428287267685,
-0.012926691211760044,
0.03983234614133835,
0.013183342292904854,
0.026965539902448654,
-0.0038027227856218815,
0.010317398235201836,
-0.02024126425385475,
0.0013313806848600507,
0.017400985583662987,
0.007010869216173887,
0.042125098407268524,
0.0009827621979638934,
0.0558474101126194,
-0.010334508493542671,
0.03238944709300995,
0.02576783113181591,
0.00002172182394133415,
0.03247499465942383,
-0.018461812287569046,
-0.002540851943194866,
0.028608109802007675,
0.005770385731011629,
0.028488339856266975,
-0.06885109841823578,
-0.008965699933469296,
-0.02330397441983223,
-0.06594237685203552,
-0.004645396023988724,
0.00928223691880703,
0.041098494082689285,
0.057387322187423706,
0.0008116610115393996,
0.022448468953371048,
-0.007643943186849356,
-0.003687229473143816,
0.03771068900823593,
-0.013012241572141647,
-0.02443324215710163,
-0.006856878288090229,
0.022345809265971184,
0.0006737107178196311,
0.016032176092267036,
0.08294983208179474,
-0.021900946274399757,
0.07432633638381958,
0.012216621078550816,
-0.048113640397787094,
0.02102833054959774,
-0.009333566762506962,
-0.10266068577766418,
-0.026623336598277092,
-0.12031832337379456,
0.014175728894770145,
-0.08520836383104324,
0.007750881370157003,
0.02318420447409153,
0.0073274062015116215
] |
725,773 | zep_python.zep_client | adelete_memory | null | def delete_memory(self, session_id: str) -> str:
deprecated_warning(self.delete_memory)
return self.memory.delete_memory(session_id)
| (self, session_id: str) -> str | [
0.012039180845022202,
-0.020486371591687202,
0.015261659398674965,
-0.06623697280883789,
0.0018604444339871407,
0.004307379946112633,
-0.05437825247645378,
0.14532949030399323,
-0.010114286094903946,
-0.04286326467990875,
-0.019008327275514603,
0.00009888981730910018,
-0.0016359450528398156,
0.00810775626450777,
0.017049061134457588,
-0.020228572189807892,
0.002477011876180768,
-0.04241641238331795,
0.025178300216794014,
-0.015321812592446804,
-0.006015293765813112,
-0.02414710633456707,
-0.006217235699295998,
-0.0713585689663887,
-0.04547562077641487,
0.04014778882265091,
0.059293609112501144,
-0.0006101226317696273,
-0.014067193493247032,
-0.01600068062543869,
-0.02976711094379425,
-0.030420199036598206,
0.015106980688869953,
0.060943517833948135,
-0.031640443950891495,
0.0011805014219135046,
-0.010105693712830544,
-0.046163082122802734,
-0.06145911291241646,
-0.026243867352604866,
-0.018733343109488487,
0.027670349925756454,
0.004242930095642805,
-0.016782669350504875,
-0.01930049993097782,
-0.019025513902306557,
-0.051525287330150604,
0.00795737374573946,
-0.040629010647535324,
0.03853225335478783,
0.02777346968650818,
0.024920502677559853,
-0.025487657636404037,
0.05475635826587677,
0.012838355265557766,
0.006689865607768297,
0.003927127458155155,
-0.06365898996591568,
0.036160506308078766,
0.03382313624024391,
0.053725164383649826,
0.004541546571999788,
0.02536735311150551,
-0.037810418754816055,
0.05052846670150757,
-0.03177793696522713,
0.0320701077580452,
0.030385825783014297,
0.04925666004419327,
-0.04382571205496788,
-0.025745457038283348,
-0.04935977980494499,
0.0019044849323108792,
0.01916300691664219,
-0.028478119522333145,
-0.005035660229623318,
-0.0035468749701976776,
0.014711689203977585,
0.000986615545116365,
-0.005843427963554859,
-0.0008641613530926406,
-0.0158374086022377,
-0.030282706022262573,
0.012993033975362778,
-0.007570676505565643,
0.026570411399006844,
0.0840078741312027,
0.026707904413342476,
-0.04760675132274628,
-0.023442458361387253,
0.07362719625234604,
0.04719427600502968,
-0.04664430394768715,
-0.011351718567311764,
0.019523924216628075,
-0.04987537860870361,
0.018802089616656303,
0.035438671708106995,
0.004764971788972616,
-0.052797090262174606,
-0.010724409483373165,
0.0012513959081843495,
-0.011635296046733856,
0.020314505323767662,
-0.018131813034415245,
-0.007871441543102264,
0.030574878677725792,
-0.047056782990694046,
0.024301785975694656,
0.04554436728358269,
-0.05455011874437332,
0.02985304221510887,
-0.058159295469522476,
-0.02452521212399006,
0.06513703614473343,
-0.018097439780831337,
-0.006341838277876377,
-0.02875310368835926,
-0.026501664891839027,
-0.02246282435953617,
-0.05626877397298813,
-0.0544469989836216,
-0.008417114615440369,
-0.055925045162439346,
0.01773652248084545,
0.07142731547355652,
0.012339944951236248,
-0.006694162264466286,
0.0259688813239336,
0.00397868687286973,
-0.019558297470211983,
-0.019025513902306557,
0.01904270052909851,
0.002156912349164486,
-0.02046918496489525,
-0.017994321882724762,
0.04681617021560669,
-0.005155966151505709,
0.02756723202764988,
0.017487317323684692,
-0.02356276474893093,
0.024284599348902702,
-0.002990460256114602,
-0.0004589346644934267,
0.03897910192608833,
-0.058365534991025925,
-0.032482586801052094,
-0.013353952206671238,
-0.05345018208026886,
-0.04406632110476494,
-0.024679889902472496,
0.04310387372970581,
0.01743575744330883,
-0.07046486437320709,
0.01484058890491724,
0.05314082279801369,
-0.004260116722434759,
0.030368639156222343,
0.022015973925590515,
-0.03301537036895752,
0.0316748172044754,
0.005027066916227341,
-0.018183372914791107,
-0.043756965547800064,
-0.021637869998812675,
-0.03466527909040451,
0.053553298115730286,
-0.005800461862236261,
-0.04733176901936531,
0.010509577579796314,
-0.033118486404418945,
0.02351120486855507,
0.08160175383090973,
0.011068140156567097,
0.0021633573342114687,
0.021328512579202652,
0.016181139275431633,
0.049841005355119705,
0.043000757694244385,
0.0053536114282906055,
-0.008262435905635357,
-0.004756378475576639,
-0.043756965547800064,
0.026415731757879257,
0.025573590770363808,
-0.010122879408299923,
0.0221706535667181,
0.023064354434609413,
0.0945947915315628,
0.00782847497612238,
-0.024542398750782013,
-0.0168857891112566,
0.02452521212399006,
0.03411530703306198,
0.03342784568667412,
-0.04007904231548309,
0.00897138100117445,
-0.02591732144355774,
-0.04571622982621193,
0.0027412553317844868,
-0.030970169231295586,
0.01447967067360878,
0.002799259964376688,
-0.04258827865123749,
-0.008962787687778473,
-0.010879088193178177,
-0.048947304487228394,
-0.013353952206671238,
-0.05729996785521507,
0.04997849836945534,
0.011411871761083603,
0.007119529880583286,
0.051319047808647156,
0.040216535329818726,
0.06702755391597748,
-0.02777346968650818,
0.025556404143571854,
0.034424666315317154,
-0.0019538963679224253,
-0.039150968194007874,
0.07706450670957565,
-0.011884501203894615,
0.017487317323684692,
-0.040766503661870956,
-0.06032480299472809,
-0.0185786634683609,
-0.004146256018429995,
0.007583566475659609,
0.004172035958617926,
0.0008464377606287599,
0.08380163460969925,
0.0005907877930440009,
0.07610205560922623,
-0.0002364493702771142,
0.0548938512802124,
-0.026862582191824913,
-0.08070805668830872,
-0.042072683572769165,
0.05324394255876541,
-0.004262265283614397,
-0.04757237806916237,
-0.07527710497379303,
0.0371573269367218,
0.07280223816633224,
0.04327573999762535,
0.06864309310913086,
-0.02072698250412941,
0.03487151488661766,
0.05499697104096413,
-0.04777861759066582,
0.020039521157741547,
-0.09913203865289688,
0.0064406609162688255,
-0.03787916153669357,
0.0409383699297905,
-0.025951694697141647,
-0.0730084776878357,
0.012864135205745697,
0.009409638121724129,
-0.007029300089925528,
0.026879768818616867,
-0.010690036229789257,
-0.06324651837348938,
0.0031838088762015104,
0.013250832445919514,
0.028134386986494064,
-0.013276612386107445,
0.057059355080127716,
-0.004034543409943581,
0.014135940000414848,
0.016395971179008484,
0.02368307113647461,
-0.03643549233675003,
-0.02304716780781746,
0.020451998338103294,
-0.01676548272371292,
-0.023700257763266563,
-0.0064062876626849174,
-0.012829761952161789,
-0.014900741167366505,
-0.027086008340120316,
-0.07933312654495239,
0.02980148233473301,
0.035954270511865616,
-0.00661682290956378,
0.033118486404418945,
-0.015768662095069885,
-0.06410584598779678,
0.07149606198072433,
0.015167132951319218,
-0.03231072053313255,
-0.04544124752283096,
-0.06328088790178299,
0.04736614227294922,
-0.03509494289755821,
0.02782502956688404,
-0.10208812355995178,
0.019781723618507385,
-0.0023953758645802736,
0.024920502677559853,
-0.028271880000829697,
0.00371014722622931,
0.005486807320266962,
0.06400272250175476,
-0.012657896615564823,
0.024508025497198105,
-0.0004777324793394655,
0.004807938355952501,
0.04272577166557312,
-0.0030806895811110735,
0.03133108466863632,
-0.04846607893705368,
-0.014582790434360504,
0.026450105011463165,
0.055306326597929,
0.04203831031918526,
-0.020331691950559616,
-0.024714263156056404,
0.032826315611600876,
0.045613113790750504,
0.00928933173418045,
-0.01515853963792324,
0.026157934218645096,
0.01600068062543869,
0.006105523090809584,
-0.05915611609816551,
0.03191542997956276,
-0.011411871761083603,
0.05565005913376808,
0.034510597586631775,
-0.006797281559556723,
-0.008786625228822231,
-0.008197985589504242,
-0.03557616472244263,
0.05626877397298813,
-0.022514384239912033,
-0.00714530935510993,
0.0002716281160246581,
-0.02672509104013443,
0.007342954631894827,
-0.00848586019128561,
0.018853649497032166,
0.04073213040828705,
0.0143507719039917,
-0.004169887397438288,
0.027378179132938385,
-0.028426559641957283,
-0.03963219001889229,
-0.006144192535430193,
-0.03805102780461311,
0.019386431202292442,
0.03963219001889229,
0.005955140572041273,
0.0039743902161717415,
0.009710402227938175,
-0.03533555194735527,
0.05843428149819374,
0.053347062319517136,
-0.05719684809446335,
-0.01735841855406761,
-0.02081291563808918,
0.00789292436093092,
-0.008606166578829288,
0.0032095888163894415,
0.0016209067543968558,
-0.024851756170392036,
-0.019437991082668304,
-0.045784976333379745,
0.03232790529727936,
0.02211909368634224,
-0.050769079476594925,
-0.015510864555835724,
0.01806306652724743,
0.04990975186228752,
0.02072698250412941,
0.042450785636901855,
-0.031124847009778023,
0.02921714074909687,
-0.010260372422635555,
0.022514384239912033,
-0.012511810287833214,
-0.02072698250412941,
0.02718912623822689,
-0.00689180800691247,
-0.010234592482447624,
0.030815489590168,
-0.09122622758150101,
-0.015038234181702137,
-0.006290278397500515,
0.023665884509682655,
-0.00022705047740601003,
-0.0020580897107720375,
-0.015639763325452805,
0.044650666415691376,
-0.01747013069689274,
0.010664256289601326,
0.008868261240422726,
0.012778202071785927,
-0.009779148735105991,
-0.0002811612794175744,
0.008090569637715816,
-0.000783062307164073,
-0.08538279682397842,
0.008000340312719345,
-0.04905042424798012,
0.01942080445587635,
-0.006169972475618124,
-0.012099333107471466,
-0.034304361790418625,
-0.04317262023687363,
0.05437825247645378,
0.0119274677708745,
0.013250832445919514,
0.040594637393951416,
0.06276529282331467,
0.04231329262256622,
0.019025513902306557,
0.03389188274741173,
0.039150968194007874,
0.03026551939547062,
0.013199272565543652,
0.06297153234481812,
-0.005826241336762905,
-0.012047774158418179,
-0.027326619252562523,
-0.031898241490125656,
-0.04200393706560135,
0.0015392706263810396,
0.006101226434111595,
-0.016894381493330002,
0.007003520615398884,
-0.03935720771551132,
0.0392540879547596,
0.006930477451533079,
-0.037844788283109665,
0.037432312965393066,
0.020950408652424812,
0.010578323155641556,
-0.01350863091647625,
0.07355844974517822,
0.032826315611600876,
-0.03591989725828171,
0.024095548316836357,
0.05754058063030243,
0.012107926420867443,
-0.02449083887040615,
-0.002837929641827941,
-0.026673531159758568,
0.00017132845823653042,
0.027550045400857925,
0.03162325918674469,
-0.07156480848789215,
-0.024576770141720772,
-0.05011598765850067,
-0.0129844406619668,
-0.03162325918674469,
0.007764025591313839,
0.01765058934688568,
-0.01945517770946026,
0.0039077927358448505,
-0.02541891299188137,
0.08036432415246964,
-0.01388673484325409,
-0.012004807591438293,
0.0005400337395258248,
0.052281495183706284,
-0.0010677146492525935,
0.04918791353702545,
0.02541891299188137,
-0.0016166102141141891,
0.03705420717597008,
-0.00012950335803907365,
-0.03853225335478783,
-0.008653429336845875,
-0.022273773327469826,
0.04953164607286453,
-0.04942852631211281,
0.020228572189807892,
0.029079647734761238,
0.01959267072379589,
0.012271199375391006,
-0.012606336735188961,
0.0023395195603370667,
-0.02921714074909687,
-0.04605996236205101,
0.02313310094177723,
0.05063158646225929,
-0.013336765579879284,
0.017444351688027382,
0.01566554233431816,
-0.03306692838668823,
-0.003540429985150695,
-0.04186644405126572,
-0.08710145205259323,
0.0890950933098793,
-0.02241126447916031,
-0.0007927297847345471,
0.011721229180693626,
0.003334191394969821,
-0.030110841616988182,
-0.016490498557686806,
0.0039034958463162184,
-0.05602816492319107,
0.004165590740740299,
0.02060667797923088,
-0.00537079805508256,
0.03657298535108566,
0.026072001084685326,
-0.026140747591853142,
-0.013121933676302433,
-0.07438340038061142,
0.035438671708106995,
-0.018888022750616074,
-0.002743403660133481,
0.006230125669389963,
-0.0023051465395838022,
-0.050253480672836304,
-0.03507775440812111,
-0.009134653024375439,
0.0065351868979632854,
-0.033462218940258026,
0.06434645503759384,
-0.015296032652258873,
-0.026278240606188774,
-0.023081541061401367,
-0.030007721856236458,
-0.06273091584444046,
0.011497803963720798,
0.03825726732611656,
0.024473652243614197,
-0.01756465807557106,
0.05582192540168762,
0.04471941292285919,
0.02292686142027378,
-0.00468763243407011,
0.004992693662643433,
-0.05331268906593323,
-0.060359176248311996,
0.0696742832660675,
-0.00916043296456337,
-0.009383858181536198,
-0.05513446405529976,
0.000511299935169518,
0.018561476841568947,
-0.08517655730247498,
0.05052846670150757,
0.05365641787648201,
0.05939672887325287,
-0.007437481079250574,
0.045063141733407974,
-0.028804663568735123,
0.006371914409101009,
0.02916558086872101,
-0.035782404243946075,
0.001407149014994502,
-0.008339774794876575,
0.008928414434194565,
-0.05654376000165939,
0.00808197632431984,
-0.025126740336418152,
0.01021740585565567,
0.01904270052909851,
0.056681253015995026,
-0.008808108046650887,
0.05626877397298813,
0.02651885151863098,
-0.031898241490125656,
-0.04276014491915703,
-0.030368639156222343,
0.009658843278884888,
0.018389612436294556,
-0.09108873456716537,
0.07204603403806686,
0.002597317798063159,
-0.04451317340135574,
-0.03272319585084915,
0.004623182583600283,
0.0287015438079834,
0.03177793696522713,
0.017590437084436417,
-0.02811720035970211,
0.05434388294816017,
0.0009087389917112887,
0.00162305508274585,
0.010939241386950016,
0.045819349586963654,
0.02127695269882679,
-0.009057313203811646,
0.010045540519058704,
-0.033582523465156555,
0.001222393591888249,
0.024370532482862473,
0.06084039807319641,
-0.04585372284054756,
-0.007033596746623516,
0.0316748172044754,
0.017109213396906853,
-0.01887083612382412,
-0.02588294818997383,
0.02693132869899273,
0.05919048935174942,
0.03739793971180916,
0.0810517817735672,
-0.011033766902983189,
0.03963219001889229,
0.11377498507499695,
-0.06517141312360764,
0.030368639156222343,
-0.008206578902900219,
0.004277303349226713,
-0.09486977010965347,
-0.0011074584908783436,
-0.0054739173501729965,
0.013362545520067215,
0.009710402227938175,
-0.025522030889987946,
0.040044669061899185,
-0.013405511155724525,
-0.04186644405126572,
0.00044121104292571545,
-0.015081200748682022,
-0.007489040493965149,
-0.045956842601299286,
0.011592330411076546,
0.032998181879520416,
0.03471683710813522,
-0.02748129889369011,
0.03471683710813522,
-0.03770729899406433,
0.04664430394768715,
-0.07369594275951385,
-0.034562159329652786,
0.0747271329164505,
0.026879768818616867,
-0.04234766587615013,
-0.03646986559033394,
-0.04121335595846176,
-0.0070207067765295506,
0.04145396500825882,
0.010793155059218407,
-0.0027519967406988144,
0.028082827106118202,
-0.043550726026296616,
0.0029109723400324583,
-0.055306326597929,
-0.011893094517290592,
-0.006612526252865791,
0.010612696409225464,
0.06744003295898438,
-0.00910027977079153,
-0.011411871761083603,
0.003205292159691453,
-0.004281600005924702,
-0.042485158890485764,
0.06816186755895615,
0.001182649633847177,
0.0008722175844013691,
0.029904602095484734,
-0.05551256611943245,
-0.019094260409474373,
0.013139120303094387,
-0.056887492537498474,
-0.09954451769590378,
0.016258480027318,
0.008876854553818703,
-0.023270592093467712,
-0.011626703664660454,
0.06726817041635513,
-0.043894458562135696,
-0.04104148969054222,
0.004563029855489731,
0.021964414045214653,
-0.02605481445789337,
-0.039666563272476196,
-0.07273349165916443,
-0.03918534144759178,
0.02832343988120556,
0.005766088608652353,
-0.00846867449581623,
0.049291033297777176,
-0.012649303302168846,
0.025143926963210106,
-0.018097439780831337,
-0.022342519834637642,
-0.0641402155160904,
0.053347062319517136,
-0.00005431219324236736,
0.04588809609413147,
-0.05606253817677498,
-0.0835953950881958,
-0.03342784568667412,
0.0019120040815323591,
0.05458449199795723,
-0.011231412179768085,
-0.05413764342665672,
0.020916035398840904,
0.028392186388373375,
0.026776649057865143,
0.004178480710834265,
0.0024963468313217163,
-0.07225226610898972,
-0.004384719301015139,
-0.009976794011890888,
-0.030179588124155998,
0.031468577682971954,
-0.04251953214406967,
0.004984100349247456,
0.025212673470377922,
-0.019609857350587845,
0.018269306048750877,
0.07025863230228424,
-0.051319047808647156,
0.039700936526060104,
0.005847724620252848,
-0.010715816169977188,
0.041522711515426636,
-0.05733434110879898,
-0.051525287330150604,
-0.011729822494089603,
0.016490498557686806,
-0.016731109470129013,
0.059259235858917236,
0.0202629454433918,
0.02536735311150551,
-0.03863537311553955,
0.04214143007993698,
0.06255905330181122,
0.011343125253915787,
0.01171263586729765,
0.00459310645237565,
-0.02785940282046795,
-0.034888703376054764,
0.007231242023408413,
0.034046560525894165,
-0.047709871083498,
0.009959607385098934,
0.009272145107388496,
-0.05963733792304993,
0.05846865475177765,
0.041144609451293945,
-0.04427256062626839,
0.06664945185184479,
0.031021729111671448,
0.006732832174748182,
0.056165654212236404,
-0.004393312614411116,
0.03263726457953453,
0.05795305594801903,
0.013929701410233974,
0.011815755628049374,
0.040388401597738266,
0.0030269816052168608,
-0.025745457038283348,
0.07465838640928268,
-0.017925575375556946,
-0.0015693471068516374,
-0.018561476841568947,
-0.013061780482530594,
-0.001814255490899086,
-0.002773480024188757,
-0.08806389570236206,
0.02376900240778923,
-0.05846865475177765,
-0.03870411962270737,
-0.03574803099036217,
-0.02017701417207718,
-0.010337711311876774,
0.02431897260248661
] |
725,774 | zep_python.zep_client | aget_memory | null | def get_memory(self, session_id: str, lastn: Optional[int] = None) -> Memory:
deprecated_warning(self.get_memory)
return self.memory.get_memory(session_id, lastn)
| (self, session_id: str, lastn: Optional[int] = None) -> zep_python.memory.models.Memory | [
0.02501039393246174,
-0.0212256982922554,
-0.00345549825578928,
-0.04911385849118233,
-0.00387190212495625,
0.03102754056453705,
0.00920012779533863,
0.06575257331132889,
-0.01515622902661562,
-0.09201871603727341,
-0.00965359341353178,
0.007320859935134649,
-0.0372190959751606,
0.0019675628282129765,
0.046497706323862076,
0.04447454959154129,
-0.011920924298465252,
-0.07534512132406235,
-0.004634946119040251,
0.008096984587609768,
-0.004085554275661707,
0.014101048931479454,
0.01662999391555786,
-0.02445228211581707,
-0.06212484464049339,
0.044404786080121994,
0.04586983099579811,
-0.029876433312892914,
0.02886485680937767,
0.007809207774698734,
-0.01576666533946991,
-0.010211706161499023,
0.023248853161931038,
0.0336262471973896,
-0.022603536024689674,
0.028568359091877937,
-0.020161796361207962,
-0.0248185433447361,
-0.07841473817825317,
0.01986530050635338,
-0.007595555856823921,
-0.028969502076506615,
0.044195495545864105,
0.012862738221883774,
-0.019254865124821663,
-0.044404786080121994,
0.0020809294655919075,
-0.03031245805323124,
-0.0070854066871106625,
0.022359361872076988,
0.05106724798679352,
0.027504457160830498,
-0.021853573620319366,
0.025795239955186844,
-0.03046942874789238,
-0.03697492182254791,
-0.0336785726249218,
-0.017632851377129555,
0.011118637397885323,
0.05912499129772186,
-0.0079879779368639,
-0.023615114390850067,
0.029545055702328682,
-0.04750928655266762,
0.018836280331015587,
-0.029981080442667007,
0.014676601625978947,
-0.00034609486465342343,
0.05117189511656761,
0.01417953334748745,
0.027173079550266266,
0.005834014620631933,
0.01633349619805813,
0.027207961305975914,
-0.020074591040611267,
-0.026824258267879486,
-0.007717642933130264,
-0.011467457748949528,
-0.013839433901011944,
0.03847484663128853,
-0.058566879481077194,
0.06749667227268219,
-0.041753754019737244,
0.023423263803124428,
0.00851120799779892,
0.01857466623187065,
0.10311119258403778,
-0.013377247378230095,
-0.06414800137281418,
-0.017798541113734245,
-0.016193969175219536,
0.05685766041278839,
-0.029457850381731987,
0.04238163307309151,
0.03582381457090378,
-0.09083273261785507,
-0.038509730249643326,
0.05298576131463051,
-0.01986530050635338,
-0.0065839774906635284,
-0.08887933939695358,
-0.0014476029900833964,
-0.011310488916933537,
0.014371384866535664,
0.02799280546605587,
0.03441109508275986,
0.01497309934347868,
-0.0023828765843063593,
-0.0015718701761215925,
0.046009358018636703,
-0.0461140051484108,
0.046672116965055466,
-0.047404639422893524,
0.022638417780399323,
0.04447454959154129,
0.02105128765106201,
-0.03704468533396721,
-0.012688327580690384,
-0.05549726262688637,
-0.02232448011636734,
-0.0742986649274826,
-0.04004453867673874,
-0.0015140968607738614,
-0.02464413456618786,
-0.045416366308927536,
0.09529762715101242,
0.02478366158902645,
-0.04803251475095749,
0.0425211600959301,
-0.007181331980973482,
0.00111731409560889,
-0.04569542035460472,
0.01629861444234848,
0.05050913617014885,
-0.05776459351181984,
0.01791190728545189,
0.04907897487282753,
0.02514992281794548,
0.009793121367692947,
-0.0059081390500068665,
-0.0034772995859384537,
0.05438103899359703,
0.016691038385033607,
-0.004451815504580736,
-0.04698605462908745,
-0.04356762021780014,
-0.024923190474510193,
0.0005957191460765898,
-0.053962454199790955,
-0.049009211361408234,
0.018470019102096558,
-0.010473321191966534,
0.03742838650941849,
-0.035161055624485016,
0.006963319610804319,
0.037288859486579895,
0.02907414734363556,
0.016054440289735794,
0.02070246823132038,
-0.05479962378740311,
-0.0389980785548687,
0.031428683549165726,
-0.03510873392224312,
-0.058008767664432526,
-0.006658101920038462,
-0.006444449536502361,
0.012810414656996727,
-0.022446567192673683,
-0.0007167161093093455,
0.024365078657865524,
-0.01789446733891964,
0.022638417780399323,
0.08818169683218002,
0.008271394297480583,
-0.030225254595279694,
-0.007181331980973482,
0.007473468780517578,
0.006065107882022858,
0.039591070264577866,
0.04566054046154022,
0.026335909962654114,
-0.019969945773482323,
-0.04388155788183212,
-0.016874168068170547,
0.009906488470733166,
0.005829654633998871,
0.02621382288634777,
0.0022182771936059,
0.041335172951221466,
0.019551360979676247,
0.019725771620869637,
0.040323592722415924,
0.0062177167274057865,
-0.014118489809334278,
-0.004674188327044249,
-0.06414800137281418,
0.011345370672643185,
0.03559708222746849,
-0.016420701518654823,
0.055706556886434555,
0.007848449982702732,
0.024190668016672134,
-0.017092181369662285,
-0.0425211600959301,
-0.03291116654872894,
-0.012915060855448246,
-0.09606502950191498,
-0.005546238273382187,
-0.050753310322761536,
0.07367078959941864,
-0.015130068175494671,
0.022062866017222404,
0.00035127263981848955,
0.051450952887535095,
0.040846824645996094,
0.01703113690018654,
0.04126540571451187,
0.03029501810669899,
0.015513770282268524,
-0.045241955667734146,
0.09759984165430069,
-0.06791525334119797,
-0.02621382288634777,
0.0058122132904827595,
-0.07583346962928772,
-0.012548799626529217,
-0.0005207773647271097,
-0.03332975134253502,
-0.004604424349963665,
0.03334719315171242,
0.06756643950939178,
-0.0027229762636125088,
0.031637974083423615,
-0.016159087419509888,
0.07513582706451416,
-0.003887163009494543,
-0.06481076031923294,
-0.005367468111217022,
0.04461408033967018,
-0.0006147952517494559,
-0.037498150020837784,
-0.013115632347762585,
0.02514992281794548,
0.05863664299249649,
0.00003886754348059185,
0.07021746784448624,
-0.027870718389749527,
0.03010316751897335,
0.04709070175886154,
0.005886337719857693,
0.016952652484178543,
-0.02605685405433178,
0.03280652314424515,
-0.010124500840902328,
-0.017118342220783234,
0.000990321859717369,
-0.09801842272281647,
-0.03756791353225708,
0.02091175876557827,
-0.03861437365412712,
0.05654372274875641,
0.0033639329485595226,
-0.01787702552974224,
-0.012391830794513226,
-0.014458589255809784,
0.0407072938978672,
-0.007722002919763327,
0.004530299920588732,
-0.053229935467243195,
0.02940552681684494,
0.05193930119276047,
0.07946120202541351,
-0.04593959450721741,
-0.029196234419941902,
0.02903926558792591,
-0.049706850200891495,
0.03238793835043907,
0.0005760980420745909,
-0.041370052844285965,
-0.011676750145852566,
-0.01909789629280567,
-0.017946789041161537,
-0.0010764367179945111,
-0.010412277653813362,
-0.023493027314543724,
-0.013795831240713596,
-0.011380252428352833,
-0.020841995254158974,
0.02269074134528637,
-0.02335350029170513,
-0.02176636829972267,
-0.02957993745803833,
-0.07687993347644806,
-0.0005218674195930362,
0.008001059293746948,
0.0036800510715693235,
-0.1313656121492386,
0.05636931210756302,
0.00832371786236763,
0.009836724027991295,
-0.03861437365412712,
-0.03934689611196518,
-0.008105704560875893,
0.09955322742462158,
-0.017676454037427902,
0.012888899073004723,
0.0027600382454693317,
-0.0048442380502820015,
0.01497309934347868,
-0.002849423559382558,
0.03756791353225708,
-0.05281135067343712,
0.049671970307826996,
0.026492880657315254,
-0.03519593924283981,
-0.01293250173330307,
-0.03554476052522659,
-0.0018977988511323929,
0.0337134525179863,
0.05616002157330513,
0.003302889410406351,
0.009322214871644974,
0.04642794281244278,
-0.03927713260054588,
0.012949942611157894,
0.001656895037740469,
-0.01081342063844204,
-0.030574074015021324,
0.05888081714510918,
0.03735862299799919,
-0.04625353217124939,
-0.04761392995715141,
-0.044579196721315384,
0.014746366068720818,
0.028306743130087852,
-0.002099460456520319,
-0.0478232242166996,
0.005419790744781494,
-0.008851307444274426,
-0.01909789629280567,
0.028027687221765518,
-0.032353054732084274,
-0.009627432562410831,
-0.009060599841177464,
0.0708104595541954,
0.011624426580965519,
0.027016110718250275,
-0.0692058876156807,
-0.03885854780673981,
-0.06222949177026749,
-0.032318174839019775,
-0.005310784559696913,
-0.008376040495932102,
0.04168399050831795,
-0.015409124083817005,
-0.015147509053349495,
0.049009211361408234,
0.025097599253058434,
-0.048834800720214844,
-0.03343439847230911,
-0.07105463743209839,
0.06428752839565277,
-0.03416692093014717,
0.002862504217773676,
-0.016621273010969162,
-0.023440705612301826,
0.02052805759012699,
-0.010316351428627968,
0.011641867458820343,
0.000990321859717369,
-0.044753607362508774,
-0.021993102505803108,
0.014353943057358265,
0.09892535209655762,
0.010272749699652195,
-0.010595408268272877,
-0.0354226715862751,
0.013246440328657627,
-0.003954746760427952,
-0.006235157605260611,
-0.026527762413024902,
-0.005742449313402176,
-0.005825294181704521,
-0.004600063897669315,
-0.0056421635672450066,
0.023318618535995483,
-0.07032211124897003,
-0.020632702857255936,
-0.017449721693992615,
0.02288259193301201,
-0.022097747772932053,
0.007020002696663141,
-0.051311422139406204,
0.04461408033967018,
-0.0274346936494112,
0.048625510185956955,
0.042800214141607285,
0.005816573742777109,
-0.019429273903369904,
-0.014353943057358265,
0.010325072333216667,
-0.00894723366945982,
-0.06812454760074615,
0.03840508311986923,
-0.07764733582735062,
-0.02495807223021984,
0.03638192638754845,
-0.027330048382282257,
-0.04335832595825195,
-0.011973246932029724,
0.012156377546489239,
-0.010560525581240654,
-0.007081046234816313,
0.023144207894802094,
0.05629954859614372,
0.0025006034411489964,
0.04409084841609001,
0.03760279715061188,
0.031132185831665993,
0.023998817428946495,
-0.0038653616793453693,
-0.003457678249105811,
-0.020667586475610733,
-0.013115632347762585,
0.006527294404804707,
-0.04130028933286667,
-0.04185840114951134,
0.000977786141447723,
-0.016725920140743256,
-0.006832512095570564,
0.039974771440029144,
0.00876846257597208,
0.03203911706805229,
-0.018522342666983604,
0.03491688147187233,
0.001878177747130394,
-0.0016819664742797613,
-0.007940015755593777,
-0.015574813820421696,
0.06142720207571983,
0.035893578082323074,
-0.005245381034910679,
0.03735862299799919,
0.08971650898456573,
0.0023174730595201254,
-0.03913760557770729,
-0.03277163952589035,
-0.017789820209145546,
-0.007826648652553558,
-0.003298529190942645,
0.0025245847646147013,
-0.07408937066793442,
0.04196304827928543,
-0.004000529646873474,
0.05186953395605087,
-0.05950869247317314,
-0.050753310322761536,
-0.013255160301923752,
0.022184953093528748,
0.009191406890749931,
-0.030888011679053307,
0.033033255487680435,
0.015670739114284515,
-0.009008277207612991,
-0.024556929245591164,
0.024748779833316803,
-0.02691146358847618,
0.023318618535995483,
-0.028760209679603577,
-0.019621126353740692,
0.022184953093528748,
0.053927574306726456,
-0.038160908967256546,
-0.0709151104092598,
0.005794772412627935,
-0.03200423717498779,
-0.02176636829972267,
-0.01913277804851532,
0.05002078786492348,
-0.011877321638166904,
0.03620751574635506,
0.035893578082323074,
0.012618564069271088,
-0.010124500840902328,
-0.0886002853512764,
0.04677676409482956,
0.03987012803554535,
0.006143592298030853,
0.0014279818860813975,
0.04210257530212402,
-0.0274521354585886,
0.0336611308157444,
-0.048067398369312286,
-0.013542937114834785,
-0.020981524139642715,
0.019167659804224968,
0.05793900415301323,
-0.0021626839879900217,
0.01878395676612854,
0.03645168989896774,
-0.016943931579589844,
-0.014859732240438461,
0.0337134525179863,
0.012269743718206882,
-0.04000965505838394,
0.006897915620356798,
-0.06261318922042847,
0.037079568952322006,
0.02938808500766754,
0.023841848596930504,
-0.002041687024757266,
0.027504457160830498,
-0.04035847634077072,
-0.007107207551598549,
-0.028917178511619568,
0.035178497433662415,
-0.04890456423163414,
0.0019991747103631496,
-0.026074295863509178,
0.01644686423242092,
0.022603536024689674,
0.11238981038331985,
0.02689402364194393,
-0.051834654062986374,
0.01984785869717598,
-0.02726028300821781,
-0.06578745692968369,
-0.01460683811455965,
0.008371680043637753,
-0.015696899965405464,
-0.011633147485554218,
-0.003937305882573128,
0.01471148431301117,
0.021190816536545753,
-0.02075478993356228,
-0.06833384186029434,
0.010630290023982525,
0.0168305654078722,
0.01250519696623087,
-0.04409084841609001,
0.00024785296409390867,
-0.06882219016551971,
0.03575405105948448,
0.001413811114616692,
-0.07346149533987045,
0.018714193254709244,
0.026702171191573143,
0.04231186583638191,
0.010002413764595985,
0.023074444383382797,
-0.005725008435547352,
-0.03955619037151337,
0.02230704016983509,
-0.03931201621890068,
0.03631216287612915,
0.0009717907523736358,
0.02589988522231579,
-0.012226141057908535,
0.006178474519401789,
-0.011310488916933537,
0.057659946382045746,
0.012374389916658401,
-0.011223283596336842,
0.03209144249558449,
-0.005554958712309599,
0.0071028475649654865,
-0.015635857358574867,
-0.013124353252351284,
-0.04021894559264183,
0.029353203251957893,
0.02319653145968914,
-0.012156377546489239,
0.0292136762291193,
0.022620977833867073,
0.019219983369112015,
-0.024051139131188393,
-0.004857318475842476,
0.0424862764775753,
0.03920736908912659,
0.02675449475646019,
-0.002709895372390747,
0.056404195725917816,
0.024888306856155396,
-0.012531358748674393,
0.030608955770730972,
0.06836872547864914,
-0.04377691075205803,
0.0012339508393779397,
0.04485825449228287,
-0.047195348888635635,
0.05361363664269447,
0.028446272015571594,
0.017676454037427902,
-0.022795388475060463,
0.04112587869167328,
0.04273045063018799,
-0.05103236809372902,
-0.02248144894838333,
-0.023440705612301826,
0.02534177340567112,
0.00868125818669796,
0.07848450541496277,
0.025725476443767548,
-0.0006055297562852502,
0.042416512966156006,
0.04552100971341133,
-0.029858993366360664,
0.015016701072454453,
-0.01628117449581623,
-0.021295461803674698,
-0.07206621766090393,
-0.03753303363919258,
0.011136079207062721,
0.014153371565043926,
-0.016734639182686806,
-0.040986351668834686,
0.02092920057475567,
0.030888011679053307,
-0.04112587869167328,
-0.028027687221765518,
0.01880139857530594,
0.03966083377599716,
-0.01717066578567028,
0.03102754056453705,
0.0203536469489336,
-0.02195821888744831,
-0.0026030694134533405,
0.00010846122313523665,
-0.01080469973385334,
0.04213745892047882,
-0.04307927191257477,
0.005193057935684919,
0.06620603799819946,
-0.007020002696663141,
-0.037463270127773285,
-0.02570803463459015,
0.023632556200027466,
-0.002035146811977029,
0.009383258409798145,
0.03263211250305176,
-0.0956464484333992,
0.057171598076820374,
0.005018647760152817,
-0.03310301899909973,
-0.019551360979676247,
0.00285814399830997,
0.014737645164132118,
0.03704468533396721,
0.0956464484333992,
-0.020510615780949593,
-0.007316499948501587,
-0.006483691744506359,
0.018679311498999596,
-0.011441295966506004,
0.04513730853796005,
-0.0425211600959301,
-0.02302212081849575,
0.04621865227818489,
-0.048276688903570175,
-0.019028130918741226,
-0.015304477885365486,
-0.03151588886976242,
-0.08420515060424805,
-0.027905600145459175,
-0.0025158643256872892,
0.005698847118765116,
-0.05936916545033455,
0.059822630137205124,
0.008746662177145481,
0.004948883783072233,
0.021853573620319366,
0.027853278443217278,
0.013734787702560425,
0.0030390943866223097,
-0.04412573203444481,
-0.03966083377599716,
-0.0016939571360126138,
-0.01789446733891964,
-0.0137173468247056,
0.03332975134253502,
0.044021084904670715,
0.01309819146990776,
-0.026876581832766533,
0.019987385720014572,
-0.09871606528759003,
0.058531999588012695,
-0.020493175834417343,
0.05050913617014885,
-0.0442652590572834,
-0.05441592261195183,
-0.0008513388456776738,
-0.00015683274250477552,
0.07241503149271011,
0.037846971303224564,
-0.047055818140506744,
0.05302064120769501,
-0.0115285012871027,
0.022202393040060997,
0.033033255487680435,
-0.001648174598813057,
-0.06128767505288124,
-0.015653297305107117,
-0.02446972392499447,
-0.049671970307826996,
0.033957626670598984,
-0.02975434623658657,
-0.021190816536545753,
-0.008014139719307423,
-0.055567026138305664,
0.00027687588590197265,
0.027364930137991905,
0.0035688646603375673,
0.05350898951292038,
-0.030015962198376656,
-0.01558353379368782,
0.023283734917640686,
-0.0040136100724339485,
-0.0035514237824827433,
-0.035161055624485016,
0.019446715712547302,
-0.018470019102096558,
0.029161352664232254,
0.01609804295003414,
0.0017419198993593454,
0.01497309934347868,
0.067217618227005,
0.05445080250501633,
-0.040149182081222534,
-0.007233655080199242,
-0.004220722243189812,
-0.00163727393373847,
-0.025027835741639137,
0.03169029951095581,
0.01928974688053131,
-0.05054401978850365,
-0.0033595727290958166,
-0.0022313580848276615,
-0.06585721671581268,
0.05047425627708435,
0.03575405105948448,
-0.00048562284791842103,
0.0743684247136116,
0.04140493646264076,
0.04886968433856964,
-0.022917475551366806,
-0.021748928353190422,
0.006265679374337196,
-0.011136079207062721,
0.028411390259861946,
0.006675542797893286,
0.0638340637087822,
-0.0005232300027273595,
0.040498003363609314,
0.10478553175926208,
-0.009740798734128475,
-0.001276463270187378,
0.021016405895352364,
-0.005969182588160038,
0.05602049455046654,
-0.02003970928490162,
-0.09857653826475143,
-0.001946851727552712,
-0.03148100525140762,
0.04039335623383522,
-0.10164614766836166,
-0.03242281824350357,
-0.023597674444317818,
-0.006658101920038462
] |
725,775 | zep_python.zep_client | aget_session | null | def get_session(self, session_id: str) -> Session:
deprecated_warning(self.get_session)
return self.memory.get_session(session_id)
| (self, session_id: str) -> zep_python.memory.models.Session | [
-0.0006716129137203097,
-0.0696454867720604,
0.0001028441620292142,
-0.029581744223833084,
-0.025677377358078957,
0.0005919206887483597,
0.07372573018074036,
0.14273807406425476,
0.011836215853691101,
-0.036001089960336685,
-0.05219894275069237,
-0.02434074692428112,
-0.019609777256846428,
0.020031871274113655,
0.03462928533554077,
0.02448144368827343,
0.02152678743004799,
-0.006889802869409323,
0.017982957884669304,
-0.0006270951707847416,
0.020682599395513535,
0.02332068607211113,
0.029282761737704277,
-0.021456439048051834,
-0.04664137214422226,
0.06549489498138428,
0.013621320948004723,
0.0034778774715960026,
0.0553998202085495,
-0.03988787159323692,
0.03262433782219887,
0.009198129177093506,
0.018906287848949432,
0.0368276908993721,
-0.04097827896475792,
0.060992565006017685,
-0.047344863414764404,
-0.06134430691599846,
-0.06742949783802032,
0.0012871664948761463,
-0.05381696671247482,
0.035860393196344376,
0.07991643995046616,
-0.0014784277882426977,
-0.02020774409174919,
-0.000006912955086590955,
-0.0659169927239418,
0.0013674082001671195,
-0.007373452186584473,
0.03389061987400055,
0.03339817747473717,
0.02887825481593609,
-0.02281065657734871,
0.030724916607141495,
-0.054028015583753586,
-0.03257157653570175,
-0.02694365754723549,
-0.042455606162548065,
0.0006199503550305963,
0.05357074737548828,
0.002147842198610306,
-0.01789502054452896,
0.05075678601861,
0.03348611295223236,
0.003655948443338275,
-0.05423906072974205,
0.028948605060577393,
-0.0005737838218919933,
0.00017133823712356389,
-0.02458696812391281,
0.039993394166231155,
-0.004172573797404766,
0.03179773688316345,
-0.038199495524168015,
-0.01908216066658497,
-0.008586972020566463,
-0.04713381454348564,
-0.02126297913491726,
-0.015054681338369846,
0.02745368890464306,
-0.03499861806631088,
0.026257755234837532,
-0.041787292808294296,
0.005021158140152693,
0.0030623788479715586,
0.005693870596587658,
0.04910358786582947,
-0.02690848335623741,
-0.08610714972019196,
-0.030461106449365616,
0.03371474891901016,
0.06042977049946785,
-0.030971137806773186,
0.037425655871629715,
0.010332506150007248,
-0.07534375786781311,
-0.029036540538072586,
0.03403131663799286,
-0.013542178086936474,
-0.03826984390616417,
-0.07843910902738571,
0.03900850936770439,
-0.05036986619234085,
0.01404341496527195,
0.004814508371055126,
-0.015942836180329323,
0.012355038896203041,
-0.011502058245241642,
0.019099747762084007,
0.018343495205044746,
-0.009470731019973755,
0.0670074000954628,
-0.0033701558131724596,
0.053148653358221054,
0.04220938682556152,
-0.06774606555700302,
-0.040134090930223465,
-0.011888977140188217,
-0.05831930413842201,
-0.023654844611883163,
-0.10038799047470093,
0.00045836754725314677,
0.02871997095644474,
0.016716675832867622,
0.011976913549005985,
0.0659169927239418,
-0.005742235109210014,
-0.040907930582761765,
0.08575540035963058,
-0.026961246505379677,
0.019275620579719543,
-0.04305357486009598,
0.045164044946432114,
0.023355860263109207,
-0.04639514908194542,
0.010402855463325977,
0.05490737780928612,
0.07073589414358139,
0.02887825481593609,
0.02432315982878208,
0.008547401055693626,
-0.018000544980168343,
-0.017560863867402077,
-0.020154982805252075,
-0.024446269497275352,
-0.05592743679881096,
-0.028297876939177513,
-0.018361082300543785,
0.01839625835418701,
-0.02578289993107319,
0.030320409685373306,
0.01062269601970911,
0.027137117460370064,
-0.021333327516913414,
0.0019060176564380527,
0.004651826340705156,
0.0024402302224189043,
0.013120084069669247,
0.04396811127662659,
0.012328658252954483,
0.02214234136044979,
-0.03658146783709526,
-0.01763121224939823,
-0.08786587417125702,
0.0036603452172130346,
-0.0024138493463397026,
0.002328111557289958,
-0.00422313716262579,
-0.012557292357087135,
0.001051387400366366,
-0.03466445952653885,
0.05371144413948059,
0.020665012300014496,
-0.0032712274696677923,
-0.019258033484220505,
-0.024041762575507164,
0.012847482226788998,
0.04576200991868973,
0.025378393009305,
0.02330309897661209,
-0.009875237941741943,
-0.0017949981847777963,
-0.06749984622001648,
0.05321900174021721,
0.024393508210778236,
0.06890682131052017,
0.044530902057886124,
0.02873755805194378,
0.06000767648220062,
0.009725745767354965,
0.004893650766462088,
-0.021808182820677757,
0.016945309937000275,
0.0172530859708786,
-0.006159932352602482,
-0.018624892458319664,
-0.027506450191140175,
0.010042316280305386,
-0.07449956983327866,
0.07140421122312546,
0.05807308107614517,
0.022071991115808487,
0.0021401478443294764,
-0.014957951381802559,
-0.04956085607409477,
0.012777132913470268,
-0.03415443003177643,
-0.040767233818769455,
-0.010042316280305386,
0.045937880873680115,
-0.06742949783802032,
-0.017604831606149673,
0.009118986316025257,
0.031744975596666336,
0.041294850409030914,
0.05592743679881096,
0.015089855529367924,
-0.01306732278317213,
0.017358610406517982,
-0.008868368342518806,
0.09975484758615494,
-0.04393293708562851,
-0.004456168040633202,
-0.01469414308667183,
-0.03707391023635864,
-0.04030996561050415,
0.019609777256846428,
-0.05163614824414253,
-0.03183291107416153,
-0.0048233019188046455,
0.10545311868190765,
-0.03190326318144798,
0.07724317908287048,
-0.02344379760324955,
0.012240721844136715,
-0.0222830381244421,
-0.07260014861822128,
0.01366528868675232,
0.044390205293893814,
-0.013375099748373032,
-0.015230553224682808,
-0.042455606162548065,
0.011616375297307968,
0.0852629616856575,
0.0009260783554054797,
0.062047798186540604,
-0.004493541084229946,
0.024112112820148468,
0.032905735075473785,
-0.01701565831899643,
0.03376751020550728,
-0.021192628890275955,
0.01638251729309559,
-0.0013805986382067204,
-0.02036602981388569,
-0.0324132926762104,
-0.07822806388139725,
0.027348164469003677,
0.014175319112837315,
-0.03526242449879646,
0.008002196438610554,
0.07295189052820206,
-0.060887038707733154,
-0.026574326679110527,
-0.0028315463569015265,
-0.008921129629015923,
-0.011115138418972492,
0.03429512679576874,
-0.03466445952653885,
0.010754600167274475,
0.06873095035552979,
0.05051056668162346,
-0.02099916897714138,
0.010402855463325977,
0.02010221965610981,
-0.08040887862443924,
-0.06067599356174469,
0.018607305362820625,
-0.039465777575969696,
-0.029951076954603195,
-0.040767233818769455,
-0.0058565521612763405,
0.000611156749073416,
0.02523769624531269,
-0.025149758905172348,
-0.00011246218491578475,
-0.005047539249062538,
-0.04832974821329117,
0.020770534873008728,
-0.03065456636250019,
-0.04628962650895119,
-0.05497772619128227,
-0.05163614824414253,
0.016057154163718224,
-0.03130529448390007,
0.033187128603458405,
-0.10481997579336166,
-0.006256662309169769,
0.014527063816785812,
-0.013770812191069126,
-0.010411649011075497,
-0.0072459448128938675,
-0.030496282503008842,
0.08976529538631439,
-0.0019005215726792812,
0.01765759289264679,
-0.03026764839887619,
0.01959219016134739,
0.0036735357716679573,
-0.047485560178756714,
-0.004937618970870972,
-0.06841438263654709,
0.022705132141709328,
0.029951076954603195,
-0.04263148084282875,
0.000738114642444998,
-0.05582191422581673,
-0.045410264283418655,
0.08111236989498138,
0.06992688030004501,
-0.024780428037047386,
0.012135198339819908,
0.04667654633522034,
0.00907501857727766,
0.029810380190610886,
0.020383616909384727,
0.01906457357108593,
-0.017050834372639656,
-0.0009552072151564062,
0.06303268671035767,
-0.07013793289661407,
0.0124957375228405,
0.005249792244285345,
0.002422642894089222,
-0.0048364922404289246,
-0.004687000531703234,
-0.004187962505966425,
0.02536080591380596,
-0.01339268684387207,
-0.021544374525547028,
0.03425995260477066,
-0.05233963951468468,
0.03608902543783188,
0.01314646564424038,
0.029845554381608963,
0.03710908442735672,
-0.00608958350494504,
-0.038445714861154556,
0.018484193831682205,
-0.12071884423494339,
-0.024006588384509087,
-0.03506896644830704,
-0.05012364685535431,
0.004717778414487839,
-0.03531518578529358,
-0.024780428037047386,
0.027805432677268982,
0.031393229961395264,
-0.058952443301677704,
-0.07618794590234756,
-0.0592690147459507,
0.03151634335517883,
-0.028684794902801514,
0.0064545185305178165,
-0.019011810421943665,
0.017930196598172188,
0.003471282310783863,
-0.02729540318250656,
0.018501780927181244,
0.005029951687902212,
-0.046184103935956955,
0.03466445952653885,
0.038199495524168015,
0.047239337116479874,
-0.028948605060577393,
0.021579548716545105,
-0.0026886500418186188,
-0.01217916700989008,
0.012724371626973152,
0.018906287848949432,
-0.0018389662727713585,
-0.01895904913544655,
-0.01300576701760292,
0.03016212396323681,
-0.011317391879856586,
0.005627918057143688,
-0.08505191653966904,
-0.031147010624408722,
0.03077767789363861,
0.00601923419162631,
-0.03679251670837402,
-0.014711730182170868,
0.007720800116658211,
0.05360592156648636,
-0.009180541150271893,
0.016663914546370506,
0.032272592186927795,
0.01892387494444847,
0.010068697854876518,
0.028262700885534286,
0.02574772574007511,
0.011053582653403282,
-0.01983841136097908,
0.0019291008356958628,
-0.045410264283418655,
0.03130529448390007,
0.04558613896369934,
-0.007839513942599297,
-0.00927727110683918,
-0.07379607856273651,
0.022388562560081482,
-0.01749930903315544,
-0.03654629364609718,
0.026433628052473068,
0.012847482226788998,
0.04590270668268204,
0.018765589222311974,
0.08174551278352737,
0.030074188485741615,
0.0047485558316111565,
-0.01210002414882183,
-0.0007936243782751262,
-0.05174167454242706,
-0.0430184006690979,
-0.05114370584487915,
-0.013243194669485092,
-0.016153883188962936,
0.014641380868852139,
0.020260505378246307,
-0.03276503458619118,
0.022582022473216057,
-0.024833189323544502,
0.005298157222568989,
0.02150920033454895,
0.05518877133727074,
0.02163231000304222,
-0.0016521017532795668,
0.03440064936876297,
-0.001245396793819964,
0.05940971150994301,
0.030214885249733925,
-0.025589440017938614,
-0.013586146757006645,
0.04080240800976753,
0.026996420696377754,
-0.052128590643405914,
-0.02099916897714138,
0.022599609568715096,
0.05142510309815407,
0.010983234271407127,
0.03206154704093933,
-0.05026434361934662,
0.04161142185330391,
0.014764491468667984,
-0.016540803015232086,
-0.033697161823511124,
-0.02835063822567463,
0.02652156539261341,
0.04945532977581024,
0.010587520897388458,
0.00592250470072031,
0.039852697402238846,
0.024815602228045464,
-0.0006270951707847416,
-0.03028523549437523,
0.04801317676901817,
-0.021210215985774994,
0.00023399278870783746,
-0.015652647241950035,
-0.040767233818769455,
0.05937453731894493,
0.045797184109687805,
-0.04365153983235359,
-0.05863587185740471,
0.01468534953892231,
-0.008217640221118927,
-0.05371144413948059,
-0.02486836351454258,
0.017103595659136772,
0.04175211861729622,
-0.013313543982803822,
0.03093596361577511,
-0.01650562882423401,
0.0015509751392528415,
-0.05448528379201889,
-0.007580102421343327,
0.06732397526502609,
0.015749378129839897,
0.001453146105632186,
0.0037197021301835775,
0.007571308873593807,
0.047098640352487564,
-0.05001812428236008,
0.007193183060735464,
0.04027479141950607,
-0.0033261876087635756,
0.01765759289264679,
-0.005482823587954044,
-0.009769714437425137,
0.014316016808152199,
0.00036383612314239144,
-0.02488595061004162,
-0.027752671390771866,
0.04252595826983452,
-0.013691669330000877,
-0.041294850409030914,
-0.09398623555898666,
0.0348227433860302,
0.03753117844462395,
0.0011596588883548975,
0.030232472345232964,
0.05582191422581673,
-0.08315248787403107,
-0.042174212634563446,
-0.00842868722975254,
-0.021298153325915337,
-0.0592690147459507,
-0.01423687394708395,
-0.04249078407883644,
0.021175041794776917,
0.0492091104388237,
0.0634547770023346,
0.012733165174722672,
-0.031621865928173065,
-0.004359438084065914,
-0.018466606736183167,
-0.03051386959850788,
0.024639729410409927,
0.010446823202073574,
-0.01661994680762291,
-0.04344049468636513,
0.006845834665000439,
-0.047731779515743256,
0.03770705312490463,
-0.005517997778952122,
-0.06626873463392258,
-0.06398239731788635,
0.01971530169248581,
0.0075053563341498375,
-0.039923045784235,
0.037425655871629715,
-0.016663914546370506,
-0.0029568555764853954,
0.023250337690114975,
-0.06749984622001648,
-0.004752952605485916,
0.001968672266229987,
0.05758063867688179,
-0.041681770235300064,
0.021456439048051834,
0.014439127407968044,
0.033292654901742935,
0.013849955052137375,
-0.05047539249062538,
-0.03383785858750343,
-0.03206154704093933,
-0.020541900768876076,
-0.0311821848154068,
-0.018501780927181244,
-0.02191370725631714,
0.040661707520484924,
-0.009497111663222313,
-0.004713381640613079,
-0.01179224718362093,
0.04249078407883644,
-0.020418791100382805,
0.042033515870571136,
0.0044297873973846436,
-0.03178014978766441,
0.016540803015232086,
0.016153883188962936,
-0.033943381160497665,
0.025536678731441498,
0.05550534278154373,
-0.025730138644576073,
-0.03732013329863548,
-0.0015520743327215314,
0.06989170610904694,
0.012478149496018887,
0.008002196438610554,
-0.006859025452286005,
0.009426763281226158,
0.04776695743203163,
0.010015935637056828,
-0.010912884958088398,
0.0025127774570137262,
-0.037425655871629715,
0.01699807122349739,
0.022458910942077637,
-0.04741521179676056,
0.02680296078324318,
-0.0033701558131724596,
0.05853034928441048,
-0.028315464034676552,
0.01635613664984703,
0.018325908109545708,
-0.006766692269593477,
0.017103595659136772,
-0.013225607573986053,
-0.016936516389250755,
-0.022634783759713173,
0.07115799188613892,
0.06197744980454445,
-0.03654629364609718,
0.015336076728999615,
0.03334541618824005,
-0.014175319112837315,
-0.015327283181250095,
0.02149161323904991,
-0.03841054067015648,
-0.06429896503686905,
0.015133824199438095,
0.014641380868852139,
-0.006863422226160765,
-0.005003571044653654,
0.027488863095641136,
0.03185049816966057,
0.05177684873342514,
-0.024129699915647507,
-0.02381312847137451,
0.04491782188415527,
0.029423460364341736,
-0.032659512013196945,
0.027770258486270905,
0.00405385997146368,
0.013638908043503761,
0.03478756919503212,
0.014131350442767143,
-0.015819726511836052,
0.0368276908993721,
-0.034840330481529236,
-0.005522394552826881,
0.059831805527210236,
-0.03501620516180992,
-0.009426763281226158,
-0.0018532559042796493,
0.01945149153470993,
-0.04048583656549454,
-0.013164052739739418,
0.0626809373497963,
-0.04242043197154999,
0.04794282838702202,
0.0077955462038517,
0.02627534233033657,
0.007065675221383572,
-0.03308160603046417,
0.01430722326040268,
0.023232750594615936,
0.0742885172367096,
-0.023672431707382202,
0.008657321333885193,
0.005456442479044199,
0.002167627913877368,
-0.015116236172616482,
0.03647594526410103,
-0.060359422117471695,
-0.026328105479478836,
0.014773285016417503,
-0.0024292380549013615,
0.003552623325958848,
0.05089748650789261,
-0.026697436347603798,
-0.04389776289463043,
0.03413684293627739,
-0.006133551709353924,
0.024164874106645584,
-0.05181202292442322,
0.052761733531951904,
0.019504254683852196,
-0.025044236332178116,
0.005698267370462418,
0.04931463301181793,
-0.01945149153470993,
0.03749600425362587,
-0.054555632174015045,
-0.04491782188415527,
0.017314642667770386,
-0.052867256104946136,
-0.018132448196411133,
-0.0009139871108345687,
-0.03658146783709526,
0.019680125638842583,
0.0010096176993101835,
-0.0036515516694635153,
-0.06922339648008347,
-0.009206922724843025,
0.03360922262072563,
-0.0012508927611634135,
-0.00136191223282367,
-0.11037754267454147,
-0.01428963616490364,
-0.004352842923253775,
0.02963450737297535,
0.014148938469588757,
-0.01094806008040905,
0.006784279365092516,
0.016435280442237854,
0.029159652069211006,
0.029546570032835007,
0.03615937381982803,
-0.050193995237350464,
-0.021175041794776917,
0.007237151265144348,
-0.020260505378246307,
0.04934980720281601,
-0.059198666363954544,
0.0013674082001671195,
0.02806924283504486,
-0.010015935637056828,
-0.024780428037047386,
-0.010605107992887497,
-0.04639514908194542,
0.060359422117471695,
0.04048583656549454,
0.005210221279412508,
0.01463258732110262,
-0.04892771318554878,
-0.04108380153775215,
-0.0515306256711483,
0.06092221289873123,
-0.03552623465657234,
-0.02898377925157547,
-0.002157734939828515,
0.04027479141950607,
0.02024291828274727,
0.06658530980348587,
0.03494585305452347,
-0.008938716724514961,
-0.01982082426548004,
0.031147010624408722,
-0.028632033616304398,
-0.027541624382138252,
-0.055610865354537964,
0.009000272490084171,
-0.04702829197049141,
-0.0037636703345924616,
0.007962624542415142,
-0.013120084069669247,
0.03156910464167595,
0.044882647693157196,
0.009743333794176579,
0.022722719237208366,
0.020067045465111732,
0.031358055770397186,
-0.0022555640898644924,
0.0044297873973846436,
0.027225054800510406,
-0.03816432133316994,
0.023742780089378357,
0.02474525198340416,
0.0569474957883358,
-0.000576531863771379,
0.007742784451693296,
0.05768616124987602,
-0.07464026659727097,
-0.005416871048510075,
-0.04009891673922539,
0.013498210348188877,
0.06144983321428299,
0.021579548716545105,
-0.08076062798500061,
0.043475668877363205,
-0.023127226158976555,
0.009198129177093506,
-0.07492166012525558,
-0.012249515391886234,
-0.021702660247683525,
0.01114151906222105
] |
725,776 | zep_python.zep_client | asearch_memory | null | def search_memory(
self,
session_id: str,
search_payload: MemorySearchPayload,
limit: Optional[int] = None,
) -> List[MemorySearchResult]:
deprecated_warning(self.search_memory)
return self.memory.search_memory(session_id, search_payload, limit)
| (self, session_id: str, search_payload: zep_python.memory.models.MemorySearchPayload, limit: Optional[int] = None) -> List[zep_python.memory.models.MemorySearchResult] | [
0.04390455037355423,
-0.052254289388656616,
-0.02600737288594246,
-0.02816324681043625,
0.005736165679991245,
0.07713239639997482,
-0.03367270529270172,
-0.024587232619524002,
0.018085390329360962,
-0.06768760830163956,
-0.025665171444416046,
-0.0033150846138596535,
0.010924807749688625,
-0.015929516404867172,
0.03747114911675453,
0.05184364318847656,
-0.010026526637375355,
-0.04609464481472969,
0.019163327291607857,
0.06026181951165199,
-0.00028579236823134124,
0.03218412399291992,
0.04794253781437874,
-0.002091711387038231,
-0.018940895795822144,
0.028026366606354713,
0.0045213475823402405,
-0.004987598396837711,
0.017503647133708,
0.026606226339936256,
-0.03938748314976692,
-0.015929516404867172,
-0.010505610145628452,
0.02956627681851387,
-0.0337582528591156,
-0.007087864447385073,
0.03457954153418541,
-0.006279411725699902,
-0.0375053696334362,
0.009881090372800827,
-0.04061941057443619,
-0.033467382192611694,
0.04708703234791756,
0.021216541528701782,
-0.030284902080893517,
-0.037300046533346176,
0.0101805180311203,
-0.011036023497581482,
0.06785871088504791,
0.005381130613386631,
-0.012319281697273254,
0.020070163533091545,
-0.06943283975124359,
0.05865347012877464,
0.037847571074962616,
-0.010736596770584583,
-0.07494229823350906,
-0.03449399024248123,
0.061972830444574356,
0.04469161853194237,
-0.0018275739857926965,
-0.04742923378944397,
0.06361540406942368,
0.024843884631991386,
0.004923435393720865,
-0.012721369974315166,
0.021404752507805824,
0.03990078717470169,
0.007464287336915731,
-0.034014906734228134,
-0.0032081464305520058,
-0.004555567633360624,
0.04332280904054642,
0.0035182670690119267,
-0.005731888115406036,
0.018034059554338455,
0.022927552461624146,
0.012131070718169212,
-0.01163487695157528,
0.010796481743454933,
0.03555481508374214,
0.03603389859199524,
-0.06080934405326843,
0.019300207495689392,
-0.02354351617395878,
0.024860994890332222,
0.05102235823869705,
0.021216541528701782,
-0.009650103747844696,
-0.06618192046880722,
-0.0013934049056842923,
0.0667978823184967,
-0.00661733653396368,
0.009025584906339645,
0.017674747854471207,
-0.04181711748242378,
-0.002273506484925747,
0.03795023262500763,
-0.034955963492393494,
0.054067958146333694,
-0.07562670111656189,
0.009359232150018215,
0.024091040715575218,
0.011344005353748798,
0.00323595036752522,
-0.004790831822901964,
-0.03062710352241993,
-0.0019313041120767593,
0.008982810191810131,
0.13044750690460205,
-0.031106187030673027,
0.051912084221839905,
-0.024535903707146645,
0.007605445571243763,
-0.011874418705701828,
0.055744752287864685,
0.007280353456735611,
-0.033313389867544174,
-0.0560869537293911,
-0.03368981555104256,
-0.020703237503767014,
-0.018632913008332253,
0.01629738323390484,
-0.018821125850081444,
0.013217562809586525,
0.05567631125450134,
0.02145608328282833,
-0.0039053834043443203,
0.00647190073505044,
0.008777488023042679,
-0.041303813457489014,
-0.020703237503767014,
-0.014654812403023243,
-0.005299857817590237,
0.007964758202433586,
0.02628113515675068,
0.062246594578027725,
-0.05499190464615822,
0.011754647828638554,
-0.027786824852228165,
-0.046505291014909744,
0.016699470579624176,
0.005150144454091787,
-0.005150144454091787,
-0.048661164939403534,
-0.0906151607632637,
-0.015125340782105923,
-0.03132861852645874,
-0.01613483764231205,
-0.021353421732783318,
-0.01926598884165287,
-0.01566430926322937,
0.011480886489152908,
-0.03238944709300995,
-0.019368648529052734,
0.07336816936731339,
0.05444438382983208,
0.0023697507567703724,
0.01727266050875187,
0.01296091079711914,
-0.020343925803899765,
-0.025938931852579117,
-0.06536063551902771,
-0.01853025332093239,
-0.00009377144306199625,
-0.003800584003329277,
0.01965952105820179,
0.012079739943146706,
-0.041919779032468796,
0.03952436149120331,
-0.007532727438956499,
0.0009004197199828923,
0.05482080578804016,
-0.025408519431948662,
-0.06717430800199509,
0.0053340778686106205,
-0.01692190207540989,
0.005787495989352465,
0.041098494082689285,
0.012259396724402905,
-0.014363940805196762,
-0.017246995121240616,
-0.020891448482871056,
-0.0551287867128849,
-0.002137694740667939,
-0.0250663161277771,
-0.014073068276047707,
0.05235694721341133,
0.02525452710688114,
0.02279067225754261,
0.023680398240685463,
-0.05879035219550133,
0.0528702512383461,
-0.0306613240391016,
-0.0906151607632637,
-0.03791601210832596,
-0.022705120965838432,
0.020976999774575233,
-0.041646018624305725,
0.02455301396548748,
-0.0024381913244724274,
-0.0034177452325820923,
0.02874499186873436,
-0.0717940405011177,
-0.033262062817811966,
-0.018273601308465004,
-0.02400548942387104,
-0.013217562809586525,
-0.02263667993247509,
-0.010479944758117199,
-0.05427328124642372,
0.02227736823260784,
0.013183342292904854,
0.024997876957058907,
0.04961932823061943,
0.06002227962017059,
0.012781254947185516,
0.020463695749640465,
0.04311748594045639,
-0.06361540406942368,
0.06347852200269699,
-0.04985887184739113,
-0.09581663459539413,
-0.0295320563018322,
-0.05023529380559921,
0.02200360596179962,
0.0006025968468748033,
-0.07377880811691284,
0.06299944221973419,
-0.044657398015260696,
0.06915908306837082,
-0.013944743201136589,
0.05068015679717064,
-0.007455732207745314,
0.03454532101750374,
-0.035144172608852386,
-0.0232184249907732,
0.013653870671987534,
0.06816669553518295,
-0.018906675279140472,
0.022465579211711884,
-0.041098494082689285,
-0.004966210573911667,
0.04007188603281975,
0.009393452666699886,
0.046265747398138046,
-0.008572166785597801,
-0.009444782510399818,
0.06645568460226059,
-0.01339721865952015,
-0.027872376143932343,
-0.03521261364221573,
0.012558823451399803,
-0.027427513152360916,
0.030695544555783272,
-0.05235694721341133,
-0.07288908213376999,
0.003960991278290749,
-0.007280353456735611,
-0.017845848575234413,
0.03829243406653404,
0.016151947900652885,
0.03454532101750374,
-0.013191897422075272,
0.007956203073263168,
0.044417854398489,
-0.04749767482280731,
0.04725813493132591,
-0.013405773788690567,
0.04294638708233833,
-0.0053340778686106205,
0.03613656014204025,
-0.02925829403102398,
0.018376262858510017,
0.01543332263827324,
0.022226037457585335,
0.0007656775997020304,
0.031739261001348495,
-0.021866725757718086,
-0.009718544781208038,
-0.047874096781015396,
-0.02005305327475071,
-0.008345457725226879,
-0.03355293348431587,
0.028488339856266975,
-0.022311588749289513,
0.013345888815820217,
0.004902047570794821,
0.00743006682023406,
-0.05256227031350136,
-0.025630950927734375,
-0.0032787255477160215,
-0.04366501048207283,
-0.05352043733000755,
-0.0782274380326271,
0.0019804956391453743,
-0.050885479897260666,
-0.00861494243144989,
0.009855425916612148,
0.009761319495737553,
-0.05198052525520325,
-0.03011379949748516,
0.026264024898409843,
0.05256227031350136,
-0.034049127250909805,
0.030490223318338394,
0.007250410504639149,
-0.004966210573911667,
0.002756867092102766,
-0.022260257974267006,
-0.01953974924981594,
-0.018359152600169182,
0.01989906281232834,
-0.05725044012069702,
-0.041303813457489014,
-0.009650103747844696,
-0.03387802466750145,
0.023663287982344627,
0.01899222657084465,
0.024775445461273193,
0.03613656014204025,
0.0026948428712785244,
-0.038668856024742126,
-0.05533410981297493,
0.04931134730577469,
-0.008863039314746857,
-0.0011709734098985791,
-0.02260245941579342,
0.06744807213544846,
0.007498507387936115,
0.04256996139883995,
-0.03422022610902786,
0.012011299841105938,
-0.023748837411403656,
0.020258374512195587,
-0.024091040715575218,
-0.032321006059646606,
0.08028065413236618,
-0.003015657654032111,
0.05297291278839111,
0.01765763759613037,
-0.03410045802593231,
-0.001120712491683662,
-0.007678163703531027,
0.07850120216608047,
-0.004164173733443022,
0.05581318959593773,
-0.04496537894010544,
-0.019437089562416077,
-0.08999919891357422,
0.06282833963632584,
0.008080251514911652,
0.02060057781636715,
0.006660111714154482,
0.01284114085137844,
-0.028676550835371017,
0.0377449095249176,
0.037026286125183105,
-0.05362309515476227,
-0.011027468368411064,
-0.0965694859623909,
0.06720852851867676,
-0.07350505143404007,
-0.010060747154057026,
-0.02424503117799759,
0.0077893794514238834,
-0.007340238895267248,
0.003967407625168562,
0.006916763726621866,
-0.027752604335546494,
-0.019642410799860954,
-0.01100180298089981,
-0.043493907898664474,
0.08007533103227615,
0.0004066325491294265,
-0.0058644916862249374,
-0.05122768133878708,
0.018923785537481308,
-0.04472583904862404,
0.05526566877961159,
0.007045089267194271,
-0.013876302167773247,
-0.013910522684454918,
-0.034014906734228134,
0.03613656014204025,
0.043836113065481186,
-0.09191553294658661,
0.0014661229215562344,
0.03931904211640358,
0.04229620099067688,
-0.039455924183130264,
0.006762772332876921,
-0.03949014097452164,
0.0732312873005867,
0.020669016987085342,
0.022226037457585335,
0.03942170366644859,
0.015125340782105923,
-0.05423906072974205,
-0.017169998958706856,
0.006694332230836153,
0.009316456504166126,
-0.08698781579732895,
0.006133975926786661,
-0.05779796466231346,
-0.008636330254375935,
0.015159561298787594,
-0.051090799272060394,
-0.047634556889534,
0.04065363109111786,
0.05321245267987251,
-0.016862018033862114,
0.013055017217993736,
0.037026286125183105,
-0.0062152487225830555,
-0.042467303574085236,
0.018735574558377266,
0.04770299792289734,
0.00026346903177909553,
0.022995993494987488,
0.028950313106179237,
-0.03771068900823593,
0.009076915681362152,
-0.020549247041344643,
-0.0035631812643259764,
0.031071966513991356,
-0.0005191850359551609,
0.010223292745649815,
-0.006176751106977463,
-0.0548892468214035,
0.0023483631666749716,
0.050885479897260666,
-0.006998036522418261,
0.0116092124953866,
0.017435206100344658,
0.008161524310708046,
-0.015416212379932404,
-0.024724114686250687,
-0.047052811831235886,
0.031311508268117905,
0.040003444999456406,
-0.021233651787042618,
0.011267010122537613,
0.0709727555513382,
-0.004106427542865276,
0.004256140906363726,
-0.015407657250761986,
-0.008003255352377892,
-0.01719566434621811,
-0.005513734184205532,
0.03086664527654648,
-0.0741894543170929,
0.04695015400648117,
0.01719566434621811,
0.055984292179346085,
-0.05177520588040352,
-0.05807172507047653,
0.010402949526906013,
0.010454279370605946,
-0.02658911608159542,
0.03959280252456665,
-0.006506120786070824,
-0.05687401816248894,
-0.01629738323390484,
-0.027119530364871025,
0.05605273321270943,
-0.04749767482280731,
0.023663287982344627,
0.01640859991312027,
-0.0020639074500650167,
0.031106187030673027,
0.017554976046085358,
-0.0615621879696846,
-0.08808286488056183,
0.050885479897260666,
0.004080762155354023,
-0.03935326263308525,
-0.015929516404867172,
0.031037745997309685,
0.04198822006583214,
0.03979812562465668,
-0.01731543429195881,
0.024895215407013893,
-0.021558742970228195,
-0.040824729949235916,
0.009017029777169228,
0.10341352969408035,
-0.012370612472295761,
0.013465659692883492,
0.04828474298119545,
0.000655531242955476,
0.04410987347364426,
-0.002055352320894599,
0.00048282602801918983,
0.05321245267987251,
-0.008306960575282574,
0.002793226158246398,
0.03688940405845642,
0.017520757392048836,
0.03983234614133835,
-0.0028573889285326004,
-0.04079051315784454,
0.027427513152360916,
0.0013249644543975592,
-0.035931240767240524,
0.01856447383761406,
0.009684324264526367,
0.034254446625709534,
0.04003766551613808,
0.03449399024248123,
0.013662425801157951,
0.05851658806204796,
-0.02795792557299137,
-0.02455301396548748,
0.013422884047031403,
-0.0005333543522283435,
-0.019573969766497612,
0.011994189582765102,
-0.05174098536372185,
0.01100180298089981,
0.014646257273852825,
0.07952781021595001,
-0.013132012449204922,
-0.09054671972990036,
0.045718222856521606,
-0.024535903707146645,
-0.04301482439041138,
-0.031243067234754562,
0.0026199861895292997,
-0.030284902080893517,
-0.004568400327116251,
0.010993247851729393,
-0.01859869435429573,
-0.017418095842003822,
0.013936188071966171,
-0.02403970994055271,
0.04876382276415825,
0.007862097583711147,
0.07329972833395004,
0.017255550250411034,
-0.043254368007183075,
-0.006369239650666714,
-0.03740270808339119,
0.005034651141613722,
-0.06050136312842369,
0.05478658527135849,
-0.002102405298501253,
0.005813161376863718,
-0.022448468953371048,
0.003248782828450203,
0.04205666109919548,
-0.041098494082689285,
0.023201314732432365,
-0.03603389859199524,
0.014757473021745682,
0.03504151478409767,
0.0322696752846241,
-0.024997876957058907,
0.008448118343949318,
0.003458381863310933,
0.043493907898664474,
0.015561648644506931,
0.016074951738119125,
0.02314998395740986,
-0.004360940307378769,
-0.016673805192112923,
-0.04092739149928093,
-0.036992065608501434,
-0.07152027636766434,
0.027975035831332207,
0.055470988154411316,
0.0063521298579871655,
-0.04010610654950142,
0.05345199629664421,
0.03259476646780968,
-0.02391993999481201,
0.02455301396548748,
-0.01692190207540989,
0.0008474853239022195,
-0.00176234170794487,
-0.025956042110919952,
0.015638643875718117,
0.033227842301130295,
-0.04020876809954643,
0.020224153995513916,
0.03589702025055885,
-0.01996750198304653,
-0.04606042802333832,
-0.02564806118607521,
-0.00928223691880703,
0.05526566877961159,
0.0782274380326271,
0.0014083762653172016,
-0.0044529070146381855,
-0.0325092151761055,
0.03685518354177475,
-0.04633418843150139,
-0.00397596275433898,
0.0018286433769389987,
0.0015655753668397665,
-0.005278469994664192,
0.0407220721244812,
0.020942779257893562,
-0.071451835334301,
0.005381130613386631,
0.02142186276614666,
0.005364020820707083,
-0.015886740759015083,
0.0056976680643856525,
0.01014629751443863,
-0.07460009306669235,
-0.028847651556134224,
0.016323048621416092,
0.0377449095249176,
-0.004275389481335878,
-0.008058863691985607,
0.034254446625709534,
0.03160237893462181,
0.009923866018652916,
0.009838315658271313,
0.02424503117799759,
0.033501602709293365,
0.01706733927130699,
0.026760218665003777,
0.036239221692085266,
-0.020771678537130356,
-0.035691697150468826,
0.03938748314976692,
0.01679357700049877,
0.06577127426862717,
-0.0466763898730278,
0.026811547577381134,
0.09006763994693756,
0.005710500292479992,
-0.06323897838592529,
-0.052733369171619415,
0.010830702260136604,
0.004136370029300451,
-0.010197628289461136,
-0.019197547808289528,
-0.045444462448358536,
0.023817278444767,
-0.0076225558295845985,
-0.004551290068775415,
-0.007104974705725908,
0.00804603099822998,
-0.0023697507567703724,
0.03791601210832596,
0.05639493465423584,
0.04783987998962402,
0.008174357004463673,
-0.04116693511605263,
-0.011600657366216183,
0.02314998395740986,
0.03791601210832596,
-0.019163327291607857,
-0.040824729949235916,
0.036752525717020035,
0.011677652597427368,
-0.03743692860007286,
0.0023205592297017574,
0.012088295072317123,
-0.07336816936731339,
-0.012421942315995693,
-0.003203868865966797,
-0.03791601210832596,
-0.009992306120693684,
0.05776374414563179,
-0.04629996791481972,
0.050269514322280884,
0.04041408747434616,
0.009333566762506962,
0.04014032706618309,
0.02722219191491604,
-0.014141509309411049,
-0.0024681338109076023,
-0.034254446625709534,
-0.016237497329711914,
-0.0029301070608198643,
0.007502784952521324,
-0.013782196678221226,
-0.054410163313150406,
-0.017965620383620262,
0.05146722123026848,
-0.06635302305221558,
0.07056210935115814,
-0.05091970041394234,
0.014329720288515091,
-0.03931904211640358,
0.012379167601466179,
0.031859032809734344,
-0.01671658083796501,
0.056839797645807266,
-0.023235535249114037,
-0.07781679928302765,
0.07720082998275757,
-0.030404672026634216,
-0.024347692728042603,
0.08856195211410522,
-0.03139705955982208,
-0.003727866103872657,
0.055607870221138,
-0.024142371490597725,
-0.05269915238022804,
-0.008264184929430485,
-0.03297118842601776,
-0.03634188324213028,
0.0407220721244812,
-0.007104974705725908,
-0.002955772215500474,
0.04852428287267685,
-0.012926691211760044,
0.03983234614133835,
0.013183342292904854,
0.026965539902448654,
-0.0038027227856218815,
0.010317398235201836,
-0.02024126425385475,
0.0013313806848600507,
0.017400985583662987,
0.007010869216173887,
0.042125098407268524,
0.0009827621979638934,
0.0558474101126194,
-0.010334508493542671,
0.03238944709300995,
0.02576783113181591,
0.00002172182394133415,
0.03247499465942383,
-0.018461812287569046,
-0.002540851943194866,
0.028608109802007675,
0.005770385731011629,
0.028488339856266975,
-0.06885109841823578,
-0.008965699933469296,
-0.02330397441983223,
-0.06594237685203552,
-0.004645396023988724,
0.00928223691880703,
0.041098494082689285,
0.057387322187423706,
0.0008116610115393996,
0.022448468953371048,
-0.007643943186849356,
-0.003687229473143816,
0.03771068900823593,
-0.013012241572141647,
-0.02443324215710163,
-0.006856878288090229,
0.022345809265971184,
0.0006737107178196311,
0.016032176092267036,
0.08294983208179474,
-0.021900946274399757,
0.07432633638381958,
0.012216621078550816,
-0.048113640397787094,
0.02102833054959774,
-0.009333566762506962,
-0.10266068577766418,
-0.026623336598277092,
-0.12031832337379456,
0.014175728894770145,
-0.08520836383104324,
0.007750881370157003,
0.02318420447409153,
0.0073274062015116215
] |
725,777 | zep_python.zep_client | close |
Close the HTTP client.
[Optional] This method may be called when the ZepClient is no longer needed to
release resources.
| def close(self) -> None:
"""
Close the HTTP client.
[Optional] This method may be called when the ZepClient is no longer needed to
release resources.
"""
self.client.close()
| (self) -> NoneType | [
-0.003693012986332178,
-0.022940730676054955,
-0.031545642763376236,
0.00015169259859248996,
-0.04629203677177429,
-0.029492782428860664,
-0.038046374917030334,
0.0882730633020401,
0.019211364910006523,
0.011769741773605347,
0.00014968783943913877,
-0.044820819050073624,
0.021520834416151047,
0.0026409211568534374,
0.002876145066693425,
0.018099399283528328,
-0.011034132912755013,
-0.020768119022250175,
0.016551198437809944,
-0.07205545157194138,
-0.051150474697351456,
-0.01977590285241604,
0.031819358468055725,
-0.01895475760102272,
0.011761187575757504,
0.028911137953400612,
-0.016003768891096115,
0.03527500852942467,
-0.008326920680701733,
-0.06822343915700912,
-0.06555472314357758,
-0.00378496409393847,
-0.016097858548164368,
0.05275854840874672,
0.023915840312838554,
0.0585065633058548,
-0.03623301163315773,
-0.04673682153224945,
-0.061825357377529144,
0.06558893620967865,
0.0002453811466693878,
-0.009160895831882954,
-0.015447785146534443,
-0.03255496919155121,
0.05847235023975372,
0.021862978115677834,
-0.0037165354005992413,
-0.008352581411600113,
0.01250535063445568,
-0.009614236652851105,
-0.022222230210900307,
0.018219148740172386,
0.019964082166552544,
-0.01938243769109249,
-0.022786766290664673,
0.04988454282283783,
0.04451288655400276,
0.03931230306625366,
-0.045573532581329346,
-0.014583872631192207,
-0.08170390129089355,
-0.004392269067466259,
-0.03667780011892319,
-0.026071345433592796,
0.008861520327627659,
0.015379357151687145,
-0.030519213527441025,
0.048447538167238235,
0.07759817689657211,
-0.027525456622242928,
0.03075871430337429,
0.042870599776506424,
-0.004875546786934137,
-0.024617234244942665,
0.02290651760995388,
0.0009681595838628709,
-0.04444446042180061,
-0.02090497687458992,
-0.03578822687268257,
-0.049850329756736755,
-0.030638962984085083,
0.01808229088783264,
0.017996756359934807,
0.0262595247477293,
0.08560433983802795,
-0.045573532581329346,
0.046873677521944046,
-0.014541104435920715,
-0.053921837359666824,
0.08279876410961151,
-0.00027879359549842775,
0.020289117470383644,
-0.04564196243882179,
-0.04235738143324852,
0.034796006977558136,
-0.028996674343943596,
-0.02848345786333084,
-0.003874776652082801,
-0.0026943811681121588,
-0.00000324518578054267,
-0.005683861207216978,
0.042973242700099945,
-0.0252844151109457,
-0.004807118326425552,
0.051150474697351456,
-0.02501070126891136,
0.012915922328829765,
-0.049371328204870224,
-0.007882134057581425,
-0.027867600321769714,
-0.008408180437982082,
-0.07027630507946014,
0.010863061062991619,
0.015336588956415653,
0.030177069827914238,
-0.004114277195185423,
0.025113344192504883,
0.02637927420437336,
0.03258918225765228,
-0.0011878799414262176,
-0.02550680935382843,
0.039722878485918045,
-0.0421178825199604,
-0.029219066724181175,
0.030348140746355057,
0.04943975806236267,
-0.012856047600507736,
0.0019127967534586787,
-0.002585322828963399,
0.017047306522727013,
0.0375673733651638,
0.042220525443553925,
0.008844412863254547,
0.022598586976528168,
0.012582332827150822,
0.042596884071826935,
0.026841169223189354,
-0.0023885902483016253,
-0.004413653165102005,
0.02875717356801033,
-0.045094531029462814,
0.06223592907190323,
-0.008947056718170643,
0.0318535715341568,
0.02383030392229557,
0.01732957549393177,
-0.051424190402030945,
-0.08471476286649704,
-0.05953299254179001,
-0.003226842265576124,
0.03180225193500519,
0.031340356916189194,
0.01256522536277771,
-0.018612613901495934,
-0.027918921783566475,
-0.08888892084360123,
-0.05645370110869408,
0.01661962829530239,
0.0364040844142437,
-0.0038940224330872297,
0.019485080614686012,
0.05241640657186508,
0.0020432390738278627,
-0.021486621350049973,
-0.03438543528318405,
-0.044718172401189804,
-0.013403477147221565,
0.022239336743950844,
0.002131982473656535,
0.0461551770567894,
-0.04488924518227577,
-0.01212899200618267,
-0.05464034155011177,
-0.03743051365017891,
-0.005465744528919458,
0.008810198865830898,
0.047421108931303024,
0.015499106608331203,
-0.03471047431230545,
0.004499189089983702,
-0.0032653333619236946,
-0.06425457447767258,
-0.039996590465307236,
0.03388932719826698,
0.0356171540915966,
-0.023796090856194496,
0.05737748742103577,
0.014438461512327194,
-0.017620397731661797,
-0.010854506865143776,
-0.0572064183652401,
0.03927809000015259,
0.03520658239722252,
0.018595507368445396,
0.09573179483413696,
-0.03893594816327095,
0.05306648090481758,
-0.03852537274360657,
0.05491405352950096,
0.027610991150140762,
-0.08279876410961151,
0.05313490703701973,
0.04721582308411598,
-0.07390302419662476,
0.04115987941622734,
0.004392269067466259,
-0.005863486789166927,
-0.0513557605445385,
-0.05241640657186508,
-0.0006944446940906346,
-0.004236165899783373,
0.053374409675598145,
-0.014361479319632053,
-0.020733904093503952,
0.06038835272192955,
-0.04646310582756996,
-0.03221282362937927,
-0.024018483236432076,
0.0221024788916111,
0.03825166076421738,
-0.03524079546332359,
0.026687204837799072,
0.013608762994408607,
-0.022016944363713264,
-0.000588059367146343,
0.008686171844601631,
-0.0005057310918346047,
0.04755796492099762,
-0.005889147520065308,
-0.02990335412323475,
-0.02540416643023491,
0.05101361870765686,
0.04718161001801491,
-0.011230865493416786,
-0.04961082711815834,
-0.034197255969047546,
-0.0741083100438118,
0.04061245173215866,
-0.07951418310403824,
-0.039620235562324524,
0.019023187458515167,
-0.05614577233791351,
-0.006073049735277891,
-0.012120438739657402,
-0.03852537274360657,
0.056727416813373566,
-0.0008949194452725351,
0.045026104897260666,
0.06524679064750671,
0.013788389042019844,
0.014831926673650742,
-0.0988110825419426,
0.03968866169452667,
-0.029817817732691765,
0.018236255273222923,
-0.018835008144378662,
0.0071336948312819,
-0.07061845064163208,
-0.028996674343943596,
0.018509970977902412,
-0.011744080111384392,
0.009083913639187813,
-0.050671473145484924,
0.08875206112861633,
0.029424352571368217,
0.016722271218895912,
0.0843726247549057,
-0.02903088741004467,
-0.02377898246049881,
-0.008540760725736618,
0.08389361947774887,
-0.00496963644400239,
0.006787274498492479,
-0.056727416813373566,
-0.019639045000076294,
-0.03914123401045799,
-0.018167827278375626,
-0.034470971673727036,
-0.0806090459227562,
-0.0390043742954731,
0.029817817732691765,
0.04311009868979454,
0.03164828568696976,
0.010974257253110409,
-0.030348140746355057,
-0.011496026068925858,
0.00042420465615577996,
0.07226073741912842,
-0.03438543528318405,
-0.02702934853732586,
-0.009648450650274754,
-0.020272010937333107,
0.008681895211338997,
0.014746391214430332,
0.014147639274597168,
-0.025335736572742462,
-0.03530922532081604,
0.006107264198362827,
-0.01895475760102272,
-0.012950137257575989,
-0.007001114077866077,
-0.022923624143004417,
0.01684202067553997,
0.010897275060415268,
-0.006162862293422222,
0.028911137953400612,
0.025250200182199478,
0.023060481995344162,
-0.0025340013671666384,
0.0347789004445076,
-0.010709095746278763,
-0.022667016834020615,
-0.1090753972530365,
-0.002484818222001195,
-0.008267045952379704,
0.03592508286237717,
0.015524768270552158,
0.0020282703917473555,
0.028517672792077065,
0.0375673733651638,
-0.04711318016052246,
-0.014062103815376759,
0.06257807463407516,
0.035446081310510635,
0.006073049735277891,
0.018441542983055115,
0.01402788981795311,
0.02605423890054226,
0.012744850479066372,
-0.012385600246489048,
-0.026293739676475525,
0.011573009192943573,
-0.03938073292374611,
-0.03407750651240349,
0.005529896821826696,
-0.03548029437661171,
0.06209907308220863,
-0.037122584879398346,
-0.04413653165102005,
-0.04772903770208359,
-0.030040211975574493,
-0.007702508941292763,
-0.017911219969391823,
0.03763579949736595,
-0.09949537366628647,
0.023642126470804214,
-0.030125748366117477,
-0.0533059798181057,
0.037875302135944366,
0.01728680729866028,
0.03678044304251671,
0.030313927680253983,
0.061654284596443176,
0.0686340183019638,
0.02735438384115696,
-0.02075101248919964,
0.028551887720823288,
0.03914123401045799,
0.006047389004379511,
-0.008309814147651196,
0.0010633183410391212,
-0.060251496732234955,
-0.01705585978925228,
0.032144393771886826,
-0.04293902590870857,
-0.05149261653423309,
0.061996426433324814,
-0.02150372788310051,
-0.007527159992605448,
0.04119409620761871,
0.0009098882437683642,
-0.06541786342859268,
0.016217608004808426,
0.01005046907812357,
0.006021728273481131,
-0.01868104375898838,
0.005623986013233662,
-0.016217608004808426,
0.015798483043909073,
0.05111626163125038,
0.010161666199564934,
0.021691907197237015,
0.004343085922300816,
-0.027166204527020454,
0.008331197313964367,
-0.05676162987947464,
0.00785219669342041,
-0.004730135668069124,
-0.03955180570483208,
-0.0250278078019619,
0.04499188810586929,
-0.045573532581329346,
-0.014583872631192207,
-0.015396463684737682,
0.03043367713689804,
-0.0022795319091528654,
-0.03277736157178879,
-0.011384829878807068,
-0.005585494916886091,
-0.016970325261354446,
0.03585665300488472,
0.017774362117052078,
0.015678731724619865,
0.07130273431539536,
0.029766496270895004,
0.008724662475287914,
0.036267224699258804,
-0.010709095746278763,
0.10613296180963516,
-0.032469432801008224,
-0.04642889276146889,
-0.017081521451473236,
-0.0830724760890007,
0.007971947081387043,
0.017859898507595062,
0.005829272326081991,
-0.028466351330280304,
0.047044750303030014,
0.09970065951347351,
0.017072968184947968,
0.05614577233791351,
0.04718161001801491,
0.011034132912755013,
0.005440083798021078,
-0.018646828830242157,
-0.08252504467964172,
0.013711406849324703,
0.003323070239275694,
0.009725432842969894,
-0.008198617026209831,
0.0011525964364409447,
-0.040646664798259735,
0.004124969244003296,
-0.0015888295602053404,
0.01987854577600956,
0.054400838911533356,
-0.04430760070681572,
0.02675563283264637,
0.014062103815376759,
0.004069371148943901,
0.017569076269865036,
-0.02783338539302349,
-0.02745702676475048,
-0.05860920622944832,
0.07239759713411331,
-0.03825166076421738,
0.04078352078795433,
-0.01570439338684082,
0.051047831773757935,
-0.051868975162506104,
-0.02550680935382843,
0.004172014072537422,
-0.0073774722404778,
-0.03228125348687172,
-0.04488924518227577,
0.026772739365696907,
0.013377816416323185,
0.019296901300549507,
-0.009417504072189331,
-0.017569076269865036,
0.036917299032211304,
0.015174070373177528,
0.05563255771994591,
-0.04098880663514137,
-0.04331538453698158,
0.04246002435684204,
0.003323070239275694,
0.004559063818305731,
0.009118127636611462,
0.009845183230936527,
0.0030536320991814137,
-0.009289199486374855,
-0.04728425294160843,
0.009203664027154446,
0.03483022376894951,
0.025044914335012436,
-0.01091438252478838,
0.027542563155293465,
0.018167827278375626,
-0.032144393771886826,
-0.00733898114413023,
-0.033923543989658356,
0.023539483547210693,
-0.0513557605445385,
-0.03322214633226395,
-0.011265079490840435,
0.01900607906281948,
-0.03654094040393829,
0.044376030564308167,
-0.05508512631058693,
0.014789159409701824,
0.03688308596611023,
-0.028089992702007294,
-0.0020036788191646338,
0.031049536541104317,
0.031066643074154854,
-0.04971347004175186,
-0.0694209486246109,
-0.00890428852289915,
-0.07609274983406067,
-0.0147549444809556,
0.039072804152965546,
-0.012419814243912697,
0.014831926673650742,
0.04115987941622734,
-0.04105723649263382,
0.008767430670559406,
0.014156193472445011,
0.03667780011892319,
-0.011838169768452644,
-0.05204004794359207,
-0.008929949253797531,
0.001552476780489087,
0.0370541550219059,
0.035343438386917114,
0.015473445877432823,
-0.051971618086099625,
0.042973242700099945,
0.004935421980917454,
0.02047729678452015,
0.08040375262498856,
0.039893947541713715,
-0.0013814049307256937,
0.0025532469153404236,
-0.04068087786436081,
-0.01625182293355465,
-0.008861520327627659,
-0.000831836718134582,
0.055221982300281525,
0.0664442926645279,
0.016961771994829178,
-0.017569076269865036,
0.013463352806866169,
0.007484392262995243,
0.0010488841217011213,
-0.05628262832760811,
-0.0947737917304039,
-0.0526559054851532,
-0.004601832013577223,
-0.01256522536277771,
0.01792832650244236,
0.03173382207751274,
0.028962459415197372,
-0.03568558022379875,
-0.04180995374917984,
-0.002724318765103817,
0.049576614052057266,
-0.007997607812285423,
0.027320170775055885,
0.00522624421864748,
0.05443505197763443,
-0.02465144917368889,
0.08095118403434753,
-0.040372949093580246,
-0.02713199146091938,
0.029766496270895004,
-0.019673259928822517,
-0.014943123795092106,
0.0035946466960012913,
-0.0403045229613781,
-0.01960483007133007,
0.010033362545073032,
-0.016149180009961128,
0.01259088609367609,
0.03216150403022766,
0.033068183809518814,
0.04119409620761871,
0.007052436005324125,
0.022992052137851715,
-0.028415029868483543,
0.003096400061622262,
-0.06298864632844925,
0.07506631314754486,
0.046873677521944046,
-0.004366608336567879,
0.0262595247477293,
0.004368746653199196,
-0.023796090856194496,
0.059122420847415924,
-0.009178003296256065,
-0.00836541224271059,
0.030399462208151817,
-0.01933111622929573,
-0.07027630507946014,
-0.025352843105793,
-0.008844412863254547,
0.08238819241523743,
-0.0021244981326162815,
0.02290651760995388,
-0.02627663128077984,
0.005162092391401529,
-0.040646664798259735,
-0.011701312847435474,
-0.024309305474162102,
0.00125203188508749,
0.013480459339916706,
0.00988795142620802,
0.008673341013491154,
-0.004261826630681753,
0.09757936745882034,
0.027936028316617012,
0.07143959403038025,
-0.0005832479801028967,
0.0048199486918747425,
0.02133265696465969,
0.0754084587097168,
-0.048173826187849045,
0.016696609556674957,
-0.016431448981165886,
-0.016551198437809944,
-0.009665558114647865,
-0.03359850496053696,
-0.05162947624921799,
-0.05176633223891258,
-0.07910361140966415,
0.010845953598618507,
-0.026225309818983078,
0.027713635936379433,
-0.03299975395202637,
-0.012710636481642723,
0.04369174316525459,
-0.06853137165307999,
0.0038640848360955715,
0.04020187631249428,
-0.05929349362850189,
0.027764957398176193,
0.024189556017518044,
-0.004717305302619934,
-0.05433240905404091,
0.0767086073756218,
0.04003080725669861,
-0.014575319364666939,
0.009203664027154446,
0.02588316611945629,
0.008100250735878944,
-0.01716705784201622,
0.022222230210900307,
-0.017945434898138046,
0.02735438384115696,
-0.017244039103388786,
0.0388675183057785,
0.017090074717998505,
0.016277484595775604,
0.006231291219592094,
-0.05026090145111084,
0.03996237739920616,
-0.009828075766563416,
-0.04748953878879547,
0.011222311295568943,
-0.06463093310594559,
-0.017569076269865036,
0.0729450210928917,
0.02870585210621357,
-0.013694299384951591,
-0.03938073292374611,
-0.03890173137187958,
0.015884019434452057,
0.02562655881047249,
-0.02838081493973732,
0.002184373326599598,
0.02442905679345131,
0.0027735019102692604,
0.036643583327531815,
-0.012043456546962261,
-0.03299975395202637,
-0.012317171320319176,
0.01890343613922596,
-0.01586691103875637,
0.03305107727646828,
-0.01815072074532509,
0.01608075201511383,
0.025113344192504883,
-0.004214781802147627,
0.025985809043049812,
-0.007959116250276566,
0.04311009868979454,
-0.021845871582627296,
-0.009280646219849586,
-0.02225644327700138,
0.006171416025608778,
-0.009605682455003262,
0.07711917906999588,
-0.050671473145484924,
-0.022341979667544365,
0.05080833286046982,
-0.010640667751431465,
-0.05351126566529274,
0.05087675899267197,
-0.03541186824440956,
-0.051321547478437424,
-0.03423147276043892,
-0.015088534913957119,
-0.03260628879070282,
0.003402190748602152,
-0.016114965081214905,
-0.005149262025952339,
0.008172956295311451,
-0.049747686833143234,
0.006389532703906298,
0.0377042293548584,
0.008579252287745476,
-0.047421108931303024,
0.007172185927629471,
0.012445474974811077,
0.048276469111442566,
0.0590197779238224,
-0.008660511113703251,
-0.02442905679345131,
-0.001905312412418425,
-0.009032592177391052,
0.014891802333295345,
-0.016859127208590508,
0.016046537086367607,
0.025814738124608994,
0.03325636312365532,
0.040372949093580246,
-0.023488160222768784,
0.012471135705709457,
0.0008767431136220694,
0.025472594425082207,
-0.04393124207854271,
0.03688308596611023,
0.010922935791313648,
-0.027576778084039688,
0.05871184915304184,
-0.010666328482329845,
-0.10756996273994446,
0.0282097440212965,
-0.03130614385008812,
0.015353696420788765,
-0.06274914741516113,
-0.07082373648881912,
-0.04009923338890076,
0.01662818156182766,
-0.0272346343845129,
-0.028945352882146835,
0.06319393217563629,
0.03883330523967743,
0.012915922328829765,
-0.024240877479314804,
-0.032897111028432846,
-0.06972887367010117,
-0.020665476098656654,
-0.018116505816578865,
0.009024038910865784,
-0.006269782315939665,
0.013711406849324703,
0.014849034138023853,
0.014455568976700306,
-0.001067060511559248,
-0.0019470112165436149,
-0.020699691027402878,
0.043041668832302094,
0.05860920622944832,
0.016174841672182083,
-0.0004961082595400512,
-0.03938073292374611,
0.0252844151109457,
-0.012984351254999638,
0.015730053186416626,
-0.02004961669445038,
0.027610991150140762,
0.013737067580223083,
-0.040544021874666214,
0.051800549030303955,
0.05734327435493469,
0.02188008651137352,
0.02610556036233902
] |
725,782 | zep_python | deprecated_import | null | def deprecated_import():
warnings.warn(
(
"Importing memory classes from the base client path is deprecated, "
"please import from zep_python.memory instead."
),
DeprecationWarning,
stacklevel=2,
)
from zep_python.memory.models import (
Memory,
MemorySearchPayload,
MemorySearchResult,
Message,
Session,
Summary,
)
return Memory, MemorySearchPayload, MemorySearchResult, Message, Session, Summary
| () | [
-0.02178375981748104,
-0.05176263302564621,
-0.008519108407199383,
-0.017257388681173325,
-0.002622913336381316,
-0.03201812505722046,
-0.019801685586571693,
0.06739053130149841,
-0.00450731348246336,
-0.026681769639253616,
-0.016847632825374603,
-0.037735648453235626,
-0.027920566499233246,
0.05302048847079277,
0.005226768087595701,
0.04280518367886543,
-0.027291638776659966,
-0.013236063532531261,
0.004269083496183157,
-0.03417172282934189,
-0.06338826566934586,
-0.021555058658123016,
0.018839236348867416,
0.01672375202178955,
-0.03184659779071808,
0.10299163311719894,
0.01330276858061552,
-0.030512509867548943,
0.061634890735149384,
-0.04745543375611305,
-0.04478725790977478,
0.0073946621268987656,
-0.039870187640190125,
0.0187058262526989,
-0.012368906289339066,
-0.000028587610358954407,
0.02925465628504753,
-0.03447666019201279,
-0.015094258822500706,
-0.03767847269773483,
-0.004593076184391975,
-0.0006408389308489859,
0.015342017635703087,
-0.025290505960583687,
0.017991136759519577,
0.018172191455960274,
0.00660373829305172,
0.02611001767218113,
0.05828060954809189,
0.006922966334968805,
0.007952120155096054,
-0.013941224664449692,
-0.008962215855717659,
0.07093539088964462,
0.005512644536793232,
-0.007894945330917835,
0.003351897466927767,
0.05584113299846649,
-0.06045326963067055,
0.06712371110916138,
-0.036458734422922134,
0.0011655407724902034,
0.023823009803891182,
-0.0123593769967556,
0.05545996502041817,
-0.015732714906334877,
-0.003189900889992714,
-0.017057275399565697,
0.02548108994960785,
0.04093746095895767,
-0.03123673051595688,
-0.023270316421985626,
0.00022110730060376227,
0.032913871109485626,
0.07162149250507355,
-0.014808382838964462,
-0.037068601697683334,
0.01638070121407509,
-0.01972545124590397,
-0.030684035271406174,
0.008533402346074581,
-0.012435611337423325,
-0.036020390689373016,
0.08393322676420212,
0.027768099680542946,
0.012854895554482937,
0.0358869805932045,
0.030531568452715874,
-0.03790717199444771,
0.033218804746866226,
-0.05942411348223686,
0.03777376189827919,
-0.07829193770885468,
0.0195920430123806,
0.028549494221806526,
-0.06822910159826279,
-0.02704388089478016,
0.02813020907342434,
-0.03729730471968651,
0.043300703167915344,
-0.0091099189594388,
0.00840475782752037,
-0.049704328179359436,
-0.008342817425727844,
-0.03369526565074921,
-0.059385996311903,
0.016132941469550133,
-0.034610066562891006,
0.04272894933819771,
0.0009553026757203043,
-0.051991336047649384,
-0.01911558210849762,
-0.016780927777290344,
0.016323525458574295,
-0.006236863788217306,
0.0002976387331727892,
0.010205777361989021,
-0.032246824353933334,
0.038326457142829895,
0.017733847722411156,
-0.04543524235486984,
0.0015604071086272597,
-0.04318635165691376,
0.022793855518102646,
0.025900375097990036,
0.028263619169592857,
0.04322446882724762,
-0.03138919547200203,
0.05584113299846649,
-0.009343383833765984,
-0.007027787622064352,
-0.017343150451779366,
-0.011921034194529057,
-0.034152667969465256,
-0.011921034194529057,
-0.00754236476495862,
0.01677139848470688,
0.04871328920125961,
0.03729730471968651,
-0.013731583021581173,
-0.06491293758153915,
0.06216852366924286,
0.02302255667746067,
0.013864991255104542,
-0.018696296960115433,
-0.012607136741280556,
-0.02176470123231411,
0.016323525458574295,
-0.10794682055711746,
0.013588644564151764,
0.015980474650859833,
-0.015037083066999912,
0.0044167861342430115,
-0.05206757038831711,
-0.0031494018621742725,
0.018629593774676323,
-0.01794349029660225,
-0.05271555483341217,
-0.003954619634896517,
-0.0304553359746933,
-0.024814046919345856,
-0.01906793750822544,
0.011025289073586464,
-0.0009159946930594742,
0.025557324290275574,
-0.00649415235966444,
0.00987225491553545,
-0.07600492984056473,
-0.013293239288032055,
0.004757455084472895,
-0.01337900198996067,
0.023136906325817108,
0.07272688299417496,
0.012426082044839859,
-0.0416235625743866,
0.004728867206722498,
-0.007647186052054167,
0.008681104518473148,
0.022203044965863228,
0.015027554705739021,
0.06601832062005997,
0.03127484768629074,
-0.03964148834347725,
-0.0032375468872487545,
0.02567167393863201,
-0.004707426764070988,
0.03462912514805794,
0.03531523048877716,
0.03129390627145767,
-0.005222003441303968,
-0.003878385992720723,
0.04787471890449524,
0.09475839883089066,
0.0040975576266646385,
-0.027101054787635803,
-0.03563922271132469,
-0.007428014185279608,
-0.014122280292212963,
-0.052601203322410583,
0.07874933630228043,
-0.07547129690647125,
0.07078292220830917,
0.015037083066999912,
-0.03390490636229515,
0.01685716211795807,
0.020411554723978043,
-0.05080971494317055,
-0.03748788684606552,
-0.051724519580602646,
0.01763855665922165,
0.010120014660060406,
0.0316178984940052,
-0.022317394614219666,
0.007423249538987875,
0.005579348653554916,
0.024661580100655556,
0.047341085970401764,
0.037526004016399384,
0.029159363359212875,
-0.04429173842072487,
0.09773151576519012,
0.02241268754005432,
-0.06681877374649048,
-0.04257648065686226,
-0.026700828224420547,
0.008971745148301125,
-0.050924066454172134,
-0.015351546928286552,
0.01987791806459427,
-0.047798484563827515,
0.045320894569158554,
-0.031808480620384216,
-0.03714483603835106,
0.028244560584425926,
0.07169772684574127,
-0.03184659779071808,
-0.048751406371593475,
0.056679703295230865,
0.026948587968945503,
-0.0027634690050035715,
0.010243893601000309,
0.001907031866721809,
-0.013655348680913448,
0.05690840631723404,
0.043605636805295944,
-0.004133292008191347,
-0.03323786333203316,
-0.046426281332969666,
0.03358091413974762,
0.02439476177096367,
-0.016371171921491623,
-0.04276706650853157,
0.02940712310373783,
-0.011387398466467857,
-0.011377869173884392,
-0.04383433610200882,
-0.056527238339185715,
-0.020316261798143387,
-0.0008749000262469053,
-0.061977941542863846,
-0.038002464920282364,
0.015437309630215168,
-0.013664877973496914,
0.025995668023824692,
0.010463065467774868,
0.034895945340394974,
-0.012121147476136684,
0.004078499041497707,
-0.002823026617988944,
0.038650449365377426,
0.08743997663259506,
0.03990830481052399,
-0.05267743766307831,
0.014598740264773369,
-0.01787678711116314,
-0.041128043085336685,
-0.06708559393882751,
-0.0018498566932976246,
-0.014732149429619312,
-0.0234990157186985,
-0.05050478130578995,
-0.033657148480415344,
-0.031484488397836685,
0.046883683651685715,
-0.03859327360987663,
-0.0293880645185709,
-0.028835371136665344,
-0.051533933728933334,
-0.022450804710388184,
-0.03268516808748245,
0.01118728518486023,
0.008819278329610825,
-0.018858294934034348,
-0.03388584777712822,
0.0003579407057259232,
0.03990830481052399,
-0.10985266417264938,
0.025118980556726456,
0.05069536343216896,
0.013112184591591358,
0.002347757574170828,
0.008180821314454079,
0.026243427768349648,
0.07596681267023087,
0.05019984394311905,
0.001529437256976962,
0.037716589868068695,
-0.011377869173884392,
-0.012731016613543034,
0.03485782817006111,
-0.008962215855717659,
-0.03868856653571129,
0.025138039141893387,
-0.03464818373322487,
0.010825175791978836,
-0.007370838895440102,
-0.014046045951545238,
0.047188617289066315,
0.0198969766497612,
0.04737919941544533,
-0.01700962893664837,
0.011644686572253704,
0.022793855518102646,
0.02582414261996746,
0.0034114548470824957,
-0.004640722181648016,
0.014798853546380997,
-0.019229933619499207,
0.027901507914066315,
-0.028816312551498413,
-0.059462230652570724,
-0.0292355976998806,
-0.012769132852554321,
0.024966513738036156,
0.017257388681173325,
0.011711391620337963,
0.015504014678299427,
-0.027958683669567108,
-0.013722053728997707,
0.015980474650859833,
0.010739412158727646,
-0.009581614285707474,
-0.023098789155483246,
0.01335994340479374,
-0.037373535335063934,
-0.03945090249180794,
0.026853296905755997,
-0.01587565429508686,
-0.009300502948462963,
-0.00552217336371541,
-0.05881424620747566,
0.024947455152869225,
0.013950753957033157,
0.0641506016254425,
0.09414853155612946,
-0.03276140242815018,
-0.018076900392770767,
-0.005574584007263184,
0.005202945321798325,
-0.03798340633511543,
-0.04089934378862381,
0.027329755946993828,
0.017362209036946297,
0.03485782817006111,
-0.05317295715212822,
-0.04048005864024162,
0.021402591839432716,
-0.07219325006008148,
0.008519108407199383,
0.01782914064824581,
-0.03788811340928078,
-0.011901975609362125,
-0.03617285564541817,
0.03807869926095009,
0.0026848530396819115,
-0.01911558210849762,
-0.012483256869018078,
0.026681769639253616,
-0.029025955125689507,
0.07021117210388184,
0.018801119178533554,
-0.014951320365071297,
0.009710258804261684,
-0.007732948753982782,
0.050009261816740036,
0.02287008985877037,
-0.01104434672743082,
0.003911738283932209,
-0.018686767667531967,
-0.007613833993673325,
-0.004593076184391975,
-0.030988970771431923,
-0.053249191492795944,
0.02302255667746067,
-0.036458734422922134,
0.01622823439538479,
-0.03906973451375961,
0.009967546910047531,
0.005846166517585516,
-0.02626248635351658,
0.05675593763589859,
0.0028921132907271385,
-0.05408776178956032,
0.007761536631733179,
-0.049971144646406174,
0.006656148936599493,
0.04898010566830635,
-0.052944254130125046,
0.01741938479244709,
-0.007180254906415939,
0.014522506855428219,
0.005831872578710318,
-0.016590343788266182,
0.030569685623049736,
0.03472441807389259,
0.028530435636639595,
0.00846193265169859,
0.013426648452877998,
0.05210568755865097,
0.0018724885303527117,
0.022812914103269577,
-0.026700828224420547,
0.01874394342303276,
-0.02037343755364418,
-0.02130729891359806,
0.00014874491898808628,
-0.08591529726982117,
-0.023232199251651764,
-0.024642521515488625,
-0.007613833993673325,
0.031141437590122223,
-0.015504014678299427,
-0.013864991255104542,
-0.04871328920125961,
0.023365607485175133,
-0.02752033993601799,
0.042195312678813934,
-0.0256335586309433,
-0.04543524235486984,
-0.0007885416271165013,
0.02971205674111843,
-0.017667144536972046,
0.07246006280183792,
0.00665138429030776,
0.05515503138303757,
-0.03422889858484268,
-0.07451837509870529,
0.02226022072136402,
0.019306166097521782,
-0.004297670908272266,
0.0002059201360680163,
-0.082637257874012,
0.07543317973613739,
-0.000040126880776369944,
-0.005317295901477337,
-0.014875086955726147,
-0.00539829395711422,
-0.01328370999544859,
0.018515242263674736,
0.025995668023824692,
0.026681769639253616,
0.003285192884504795,
-0.057327691465616226,
0.009881784208118916,
0.0103296572342515,
0.06922013312578201,
-0.02380395121872425,
-0.01539919339120388,
0.03447666019201279,
0.025690732523798943,
0.05629853531718254,
-0.003918885253369808,
-0.016504580155014992,
-0.06723806262016296,
-0.03215153515338898,
0.05904294550418854,
-0.002387065440416336,
0.013178888708353043,
0.06003398448228836,
-0.036001332104206085,
0.01750514656305313,
-0.054202109575271606,
0.02580508403480053,
-0.04120427742600441,
-0.0479128360748291,
0.012826308608055115,
0.043453168123960495,
-0.028244560584425926,
0.05919541418552399,
-0.01057741604745388,
-0.03215153515338898,
0.07230760157108307,
-0.033485621213912964,
-0.014322393573820591,
0.06876273453235626,
0.048141539096832275,
0.005541231948882341,
0.0015258637722581625,
0.012149734422564507,
-0.010291540063917637,
0.04116616025567055,
-0.021021423861384392,
-0.025004630908370018,
-0.03542957827448845,
0.054354578256607056,
0.00932909082621336,
0.031046146526932716,
0.005193416029214859,
0.024299468845129013,
0.0007891372079029679,
-0.039870187640190125,
0.05347789078950882,
0.020659314468503,
0.0015687451232224703,
-0.025252390652894974,
-0.008171292021870613,
-0.09132789075374603,
0.06136807054281235,
-0.0017212124075740576,
0.002163129160180688,
0.028835371136665344,
0.061329953372478485,
0.024032652378082275,
-0.06449364870786667,
-0.034762535244226456,
-0.00034722036798484623,
-0.06742864847183228,
0.0054411753080785275,
0.0636550784111023,
0.05210568755865097,
0.01865818165242672,
0.04333882033824921,
0.03184659779071808,
-0.011225402355194092,
0.03535334765911102,
-0.05023796111345291,
-0.012540431693196297,
0.02115483209490776,
0.029750173911452293,
-0.059614699333906174,
0.013178888708353043,
-0.04383433610200882,
-0.044101156294345856,
-0.0035019824281334877,
-0.023575250059366226,
0.03001699224114418,
-0.0029492885805666447,
0.046121347695589066,
-0.07150714844465256,
-0.008733515627682209,
0.021516941487789154,
0.001422233646735549,
-0.00754236476495862,
-0.0316178984940052,
0.03144637122750282,
-0.038802918046712875,
-0.003392396494746208,
-0.005002832040190697,
0.03590603917837143,
-0.023136906325817108,
-0.025080863386392593,
-0.01767667382955551,
-0.02565261721611023,
0.02908312901854515,
-0.024147002026438713,
-0.011682803742587566,
-0.04352940246462822,
0.005050478037446737,
-0.06605643779039383,
0.001226885011419654,
0.033199746161699295,
-0.05080971494317055,
0.09094671905040741,
0.043453168123960495,
0.024985572323203087,
0.008214173838496208,
0.026167193427681923,
0.042690832167863846,
0.05439269542694092,
-0.022641388699412346,
0.016085295006632805,
0.03775470703840256,
-0.03535334765911102,
-0.07089727371931076,
0.026853296905755997,
-0.07619551569223404,
-0.012102088890969753,
-0.0195920430123806,
0.09895125031471252,
-0.01874394342303276,
-0.007270782254636288,
0.050619129091501236,
0.03634438291192055,
-0.06685689091682434,
-0.00935291312634945,
0.026338718831539154,
-0.07242194563150406,
0.01157798245549202,
0.003096991218626499,
0.06357884407043457,
0.030703093856573105,
0.08751620352268219,
0.04650251567363739,
-0.08743997663259506,
0.06552280485630035,
0.028949720785021782,
-0.0463881641626358,
0.007656715344637632,
-0.024814046919345856,
0.04901822283864021,
-0.06845779716968536,
-0.00084512127796188,
-0.03157978132367134,
0.017133507877588272,
0.0012912071542814374,
-0.010567886754870415,
-0.007890180684626102,
-0.026491185650229454,
-0.026681769639253616,
0.008395228534936905,
-0.02285103127360344,
0.016714222729206085,
0.04478725790977478,
-0.017581380903720856,
0.015465897507965565,
0.021993402391672134,
-0.009734082035720348,
-0.02469969540834427,
0.029731115326285362,
0.026148134842514992,
-0.024966513738036156,
-0.020888013765215874,
0.07474707067012787,
-0.02208869345486164,
-0.06235910952091217,
-0.03390490636229515,
0.020316261798143387,
-0.026853296905755997,
0.05130523443222046,
0.03685896098613739,
0.0041237627156078815,
0.034152667969465256,
-0.03866950795054436,
-0.017609968781471252,
-0.061939824372529984,
-0.0010672708740457892,
-0.007780594751238823,
-0.04676933214068413,
0.06514163315296173,
0.011091993190348148,
-0.029807349666953087,
0.04303388297557831,
-0.021859994158148766,
-0.00010936250328086317,
-0.04108992591500282,
0.04326258599758148,
-0.06315956264734268,
0.014856028370559216,
0.06361696124076843,
-0.06411248445510864,
0.013007363304495811,
-0.020430613309144974,
-0.011463631875813007,
0.04631192982196808,
-0.020144736394286156,
0.03937466815114021,
0.00943867675960064,
0.041318628937006,
-0.014370039105415344,
-0.010606003925204277,
0.05740392208099365,
0.023079730570316315,
0.004400109872221947,
-0.03501029312610626,
-0.07196454703807831,
0.00920044630765915,
-0.0128930127248168,
-0.00827611330896616,
0.00688484963029623,
0.00916709378361702,
0.002097615972161293,
0.026338718831539154,
-0.03032192587852478,
0.019163228571414948,
-0.07756771892309189,
0.072993703186512,
-0.012511844746768475,
0.08538166433572769,
-0.04280518367886543,
-0.07463272660970688,
0.049704328179359436,
0.06003398448228836,
0.021879050880670547,
0.03388584777712822,
-0.027787158265709877,
0.0014317628229036927,
0.021879050880670547,
-0.03483876958489418,
0.00012983540364075452,
-0.011415986344218254,
0.01881064847111702,
-0.00199041236191988,
-0.0557267852127552,
0.021574117243289948,
-0.0025728850159794092,
0.01811501570045948,
-0.024833105504512787,
0.005079065449535847,
-0.06464611738920212,
-0.014875086955726147,
0.05119088292121887,
-0.034267015755176544,
0.049513742327690125,
-0.0244138203561306,
0.033180687576532364,
-0.03960337117314339,
0.028416085988283157,
-0.020659314468503,
-0.00037551019340753555,
0.013817345723509789,
0.0043548461981117725,
0.03462912514805794,
0.03394302353262901,
0.02799680083990097,
0.0309127364307642,
0.017695730552077293,
-0.04166167974472046,
-0.03312351182103157,
-0.05473574623465538,
0.025099921971559525,
0.036916136741638184,
-0.001756946905516088,
-0.01820077933371067,
0.07844440639019012,
0.0070182583294808865,
-0.020163794979453087,
-0.008571518585085869,
0.02006850391626358,
0.03152260556817055,
0.03453383594751358,
0.00034722036798484623,
0.014503448270261288,
-0.006146336439996958,
0.03306633606553078,
-0.09940865635871887,
-0.02206963673233986,
0.08591529726982117,
0.0010368964867666364,
-0.025747908279299736,
0.028797253966331482,
0.010072368197143078,
-0.00035526062129065394,
0.017524205148220062,
0.038783859461545944,
-0.0025252390187233686,
-0.04535900801420212,
0.006146336439996958,
-0.020868957042694092,
-0.007294605486094952,
-0.08027401566505432,
-0.04513030871748924,
-0.019839802756905556,
-0.03819304704666138,
0.024185119196772575,
-0.02083083987236023,
0.0034233664628118277,
0.0016711840871721506,
0.019010761752724648
] |
725,791 | databricks_api.databricks | DatabricksAPI | null | class DatabricksAPI:
def __init__(self, **kwargs):
warnings.warn(
"""
==================================================================
Please switch to the official Databricks SDK for Python by running
`pip install databricks-sdk`. See more information and sources at
https://github.com/databricks/databricks-sdk-py
==================================================================""",
DeprecationWarning,
)
if "host" in kwargs:
if not kwargs["host"].startswith("https://"):
kwargs["host"] = "https://" + kwargs["host"]
self.client = ApiClient(**kwargs)
for _, camel_name, service in _get_services():
setattr(self, camel_name, service(self.client))
| (**kwargs) | [
-0.01091464702039957,
-0.07635592669248581,
-0.0041011483408510685,
0.007489256095141172,
-0.019163547083735466,
0.016926558688282967,
-0.04638025909662247,
0.06416433304548264,
0.009353414177894592,
0.009535170160233974,
0.009600415825843811,
0.027403127402067184,
-0.00984275620430708,
-0.018837319687008858,
0.02417813427746296,
-0.005019246134907007,
-0.04157073050737381,
0.040489520877599716,
0.023040996864438057,
-0.07046518474817276,
-0.005308190826326609,
0.016348669305443764,
0.04212997853755951,
0.07777268439531326,
0.08597498387098312,
0.0908963605761528,
0.03547493368387222,
0.006235609762370586,
0.028204714879393578,
-0.017467163503170013,
-0.01777474954724312,
0.05059325695037842,
-0.04391957074403763,
0.04701407253742218,
0.03415137901902199,
-0.017644258216023445,
0.045746445655822754,
-0.008659015409648418,
-0.07165824621915817,
0.017998449504375458,
0.014344698749482632,
-0.0140277910977602,
0.043509457260370255,
-0.05036955699324608,
0.04324847459793091,
0.033293869346380234,
-0.004734962247312069,
-0.012042462825775146,
-0.018604300916194916,
-0.004252611193805933,
-0.025706743821501732,
-0.03428187221288681,
-0.007945975288748741,
0.011772159487009048,
-0.030721329152584076,
0.006216967944055796,
0.006799517665058374,
0.055738333612680435,
-0.04298749193549156,
0.05432157590985298,
-0.04671580716967583,
0.011939934454858303,
-0.012247520498931408,
0.01599447801709175,
0.04190627858042717,
0.02676931396126747,
-0.07307500392198563,
-0.0017989127663895488,
0.004329507704824209,
0.032846469432115555,
0.08522932231426239,
0.02928592823445797,
0.0036351087037473917,
-0.021866576746106148,
0.025166137143969536,
0.010308795608580112,
-0.05790075659751892,
0.010951930657029152,
-0.03843894600868225,
0.0016579357907176018,
0.0179425235837698,
0.000989751541055739,
-0.051077939569950104,
0.010607060976326466,
0.043397605419158936,
-0.020580308511853218,
-0.033573493361473083,
0.028428414836525917,
-0.01324484497308731,
0.02417813427746296,
-0.01974143646657467,
0.008034522645175457,
-0.04522448033094406,
0.05338949337601662,
-0.009609736502170563,
-0.058832839131355286,
-0.02788780815899372,
-0.01766289956867695,
-0.022966431453824043,
0.04019125550985336,
-0.0010695608798414469,
-0.006202986929565668,
0.01779339089989662,
-0.019704153761267662,
0.011119704693555832,
-0.0847073569893837,
-0.009693623520433903,
-0.06345594674348831,
-0.05700596049427986,
-0.03361077606678009,
0.0007590619497932494,
0.04843083396553993,
0.008579788729548454,
0.0008610081276856363,
-0.029379134997725487,
0.02496108040213585,
0.015668250620365143,
-0.03202623873949051,
0.003807543311268091,
-0.028596188873052597,
-0.05577561631798744,
-0.0050518689677119255,
0.00942798051983118,
0.013207562267780304,
0.04004212096333504,
0.009684302844107151,
-0.015136965550482273,
0.042167261242866516,
0.0017057048389688134,
-0.0403776690363884,
0.061740923672914505,
-0.016395272687077522,
-0.031112803146243095,
-0.004620782565325499,
0.044292401522397995,
-0.006710969842970371,
0.037730563431978226,
0.035829123109579086,
-0.04891551658511162,
0.008211617358028889,
-0.030311213806271553,
0.03771192207932472,
-0.010858722031116486,
0.0460074283182621,
0.008659015409648418,
0.034076813608407974,
-0.02002106048166752,
-0.031895749270915985,
-0.028428414836525917,
0.006874084006994963,
0.010075775906443596,
0.0033345131669193506,
0.010523173958063126,
-0.018837319687008858,
-0.06834004819393158,
-0.048729099333286285,
-0.0051450771279633045,
-0.05365047603845596,
0.03892362490296364,
-0.0019037716556340456,
-0.005373436491936445,
-0.007172349374741316,
0.01761629618704319,
-0.04142159968614578,
-0.040079403668642044,
0.037506867200136185,
-0.06688600033521652,
-0.0779963880777359,
0.010476569645106792,
0.03782377392053604,
0.02839113213121891,
0.0052709076553583145,
-0.06125624477863312,
0.0026913785841315985,
-0.012583068571984768,
-0.01324484497308731,
0.02563217654824257,
-0.0018676536856219172,
0.052830249071121216,
0.005853457376360893,
0.005037887953221798,
0.01127815805375576,
-0.03137378394603729,
-0.030273931100964546,
0.0037213261239230633,
-0.03993027284741402,
-0.0179425235837698,
0.07411893457174301,
0.03385311737656593,
0.034356437623500824,
0.016348669305443764,
0.03832709416747093,
0.04790886864066124,
-0.010448607616126537,
0.008337448351085186,
-0.06856374442577362,
0.006850781850516796,
-0.012480540201067924,
-0.005746268201619387,
0.05480625480413437,
0.011306120082736015,
0.08545301854610443,
0.03791698068380356,
0.03370398283004761,
0.0488036647439003,
-0.0521591491997242,
-0.015025116503238678,
-0.027794601395726204,
-0.06893657892942429,
-0.04529904946684837,
0.018529733642935753,
-0.0024467078037559986,
-0.1082703173160553,
0.020039701834321022,
-0.0038564775604754686,
-0.022127559408545494,
0.0813518688082695,
-0.01055113598704338,
0.06144265830516815,
-0.03085182048380375,
0.05320307984948158,
0.03392768278717995,
0.017411239445209503,
-0.06274756789207458,
0.0034952969290316105,
0.004518253728747368,
0.05182360112667084,
-0.016702858731150627,
0.005242945160716772,
-0.07822008430957794,
-0.02872668020427227,
-0.060175031423568726,
-0.008705619722604752,
0.020393893122673035,
0.04287564009428024,
-0.07702702283859253,
0.021120913326740265,
-0.01593855395913124,
0.05480625480413437,
-0.07564754784107208,
0.06546924263238907,
0.06602849066257477,
0.016190215945243835,
0.00018874603847507387,
-0.05659584701061249,
-0.0028078884351998568,
-0.04078778624534607,
0.04194356128573418,
0.001670751953497529,
0.0065758186392486095,
0.03562406450510025,
-0.06293398886919022,
0.015919912606477737,
0.03437507897615433,
-0.029136795550584793,
-0.04347217082977295,
-0.016898594796657562,
-0.024606890976428986,
-0.01262035220861435,
-0.0004334168042987585,
-0.06476086378097534,
0.0342073068022728,
-0.055179085582494736,
0.07247847318649292,
-0.02822335809469223,
-0.013580393977463245,
0.031168727204203606,
0.014848020859062672,
0.02043117582798004,
0.011772159487009048,
0.1312367469072342,
0.0035978255327790976,
0.041645295917987823,
-0.011734876781702042,
-0.03299560397863388,
-0.04089963436126709,
-0.02984517440199852,
-0.059503935277462006,
-0.043285757303237915,
-0.028875812888145447,
0.014148961752653122,
-0.036667995154857635,
0.011716235429048538,
0.037618715316057205,
0.05256926640868187,
-0.07329870760440826,
0.003767929971218109,
0.04015396907925606,
-0.040638651698827744,
-0.01593855395913124,
-0.019871927797794342,
-0.008975922130048275,
0.024308625608682632,
0.006459308788180351,
-0.034076813608407974,
0.029807891696691513,
-0.04753603786230087,
-0.00039788128924556077,
0.046939507126808167,
-0.06345594674348831,
-0.026228707283735275,
0.02624734863638878,
0.02007698453962803,
0.07076345384120941,
0.02367481030523777,
-0.0712481290102005,
0.007041858043521643,
-0.014204886741936207,
-0.04332304000854492,
0.018762754276394844,
0.005429361015558243,
-0.02563217654824257,
0.02699301205575466,
-0.023190129548311234,
-0.057416077703237534,
-0.017923882231116295,
-0.006487270817160606,
0.013347373344004154,
0.00535945501178503,
0.020487099885940552,
-0.006422025617212057,
0.013421939685940742,
-0.006277553271502256,
-0.000027780328309745528,
0.04679037630558014,
0.06856374442577362,
0.006114439573138952,
-0.012713559903204441,
0.03096367046236992,
0.049064647406339645,
-0.014512472786009312,
0.029248643666505814,
0.01548183523118496,
-0.006776215508580208,
0.03361077606678009,
-0.06263571977615356,
-0.006235609762370586,
-0.017085012048482895,
-0.01839924231171608,
0.003732976969331503,
-0.03046034649014473,
0.006538535468280315,
-0.020487099885940552,
0.00866833608597517,
0.0081370510160923,
-0.0011831580195575953,
0.015155606903135777,
-0.03836437687277794,
-0.0073494440875947475,
-0.012816088274121284,
-0.005741607863456011,
-0.016171572729945183,
0.009740226902067661,
0.0515999011695385,
0.09723450243473053,
-0.024364549666643143,
-0.0252407044172287,
-0.0010392683325335383,
0.004592820070683956,
-0.04947476089000702,
0.04242824390530586,
-0.09335704892873764,
0.0005257509183138609,
0.044963497668504715,
-0.06916027516126633,
-0.014111679047346115,
-0.01405575405806303,
-0.06998050212860107,
0.036612071096897125,
-0.015593684278428555,
-0.005140416789799929,
-0.06010046601295471,
0.015845345333218575,
-0.01721550151705742,
0.019666871055960655,
0.006291534285992384,
-0.011874688789248466,
-0.029714684933423996,
-0.01700112409889698,
0.06912299245595932,
-0.006119099911302328,
-0.036500219255685806,
0.053725045174360275,
-0.004466989543288946,
0.05547735095024109,
-0.010038492269814014,
-0.03372262418270111,
-0.019778719171881676,
0.06080884486436844,
-0.014969191513955593,
0.002882454777136445,
0.005098473280668259,
-0.02648968994617462,
0.03182118386030197,
-0.019005093723535538,
-0.07027877122163773,
-0.016581688076257706,
-0.025725385174155235,
0.045746445655822754,
-0.014829379506409168,
-0.02501700446009636,
-0.031672049313783646,
0.05637214705348015,
0.0043201870284974575,
0.04902736470103264,
0.02093449793756008,
0.010448607616126537,
-0.031783901154994965,
0.013533789664506912,
0.01711297407746315,
-0.013282128609716892,
-0.0482444167137146,
-0.06591664254665375,
0.015612326562404633,
0.008393373340368271,
0.0589074045419693,
-0.008202296681702137,
0.05379961058497429,
0.022071635350584984,
0.009852076880633831,
0.002481660805642605,
-0.03670527786016464,
-0.0014447227586060762,
0.07046518474817276,
-0.015733497217297554,
0.07005506753921509,
-0.002514283638447523,
-0.032399073243141174,
0.033909041434526443,
-0.024830589070916176,
0.018091656267642975,
0.02568810246884823,
-0.07199379801750183,
-0.026899805292487144,
0.022537674754858017,
0.021083630621433258,
0.0051450771279633045,
-0.011595064774155617,
0.015258136205375195,
-0.052196431905031204,
-0.028186073526740074,
-0.04000483825802803,
0.02087857387959957,
-0.04414327070116997,
-0.003725986462086439,
-0.004676707088947296,
-0.02054302580654621,
0.02250039204955101,
0.03034849837422371,
-0.019722795113921165,
0.015863986685872078,
0.01895849034190178,
0.008933979086577892,
0.007386727258563042,
0.02794373407959938,
-0.06267300248146057,
-0.00193522940389812,
-0.030255289748311043,
0.05599931627511978,
0.018809357658028603,
0.027682751417160034,
-0.05197273567318916,
-0.03579184040427208,
0.015640288591384888,
0.014465868473052979,
-0.007228273898363113,
0.017085012048482895,
0.01633002795279026,
0.022425824776291847,
-0.0026657464914023876,
0.010122380219399929,
-0.01208906713873148,
0.028186073526740074,
-0.00973090622574091,
0.019088981673121452,
0.037618715316057205,
0.014232848770916462,
-0.01672150008380413,
-0.00496332161128521,
-0.05014586076140404,
-0.03458013758063316,
0.024140849709510803,
-0.007624407764524221,
0.00044827183592133224,
-0.019555021077394485,
-0.05133892223238945,
-0.03685440868139267,
-0.011306120082736015,
0.02080400660634041,
-0.04954933002591133,
0.004408734384924173,
0.08590041846036911,
-0.02043117582798004,
0.026340557262301445,
-0.01324484497308731,
0.02811150811612606,
-0.006766894832253456,
0.022985072806477547,
0.019256755709648132,
0.010756193660199642,
0.0024490379728376865,
0.0260795745998621,
-0.051077939569950104,
0.010607060976326466,
0.06647588312625885,
-0.04802072048187256,
-0.04026582092046738,
0.033349793404340744,
0.01492258720099926,
-0.01777474954724312,
-0.05846000462770462,
-0.03825252875685692,
0.019890569150447845,
0.022351259365677834,
-0.008225598372519016,
0.014009149745106697,
-0.09238769114017487,
0.03858807682991028,
-0.01829671487212181,
0.029304569587111473,
-0.007629068102687597,
0.01548183523118496,
0.02127004601061344,
-0.02456960640847683,
-0.011296799406409264,
-0.029155436903238297,
0.038625359535217285,
-0.03579184040427208,
0.0018163892673328519,
0.08888307213783264,
-0.02788780815899372,
-0.0027146805077791214,
-0.01208906713873148,
0.02895037829875946,
-0.0023092261981219053,
0.020039701834321022,
-0.05268111452460289,
-0.011417970061302185,
-0.0020913525950163603,
-0.05338949337601662,
0.0330888107419014,
0.036444295197725296,
0.012191595509648323,
-0.06651317328214645,
-0.03978113830089569,
-0.05454527214169502,
-0.008621732704341412,
0.06923484057188034,
0.013021145947277546,
0.012228879146277905,
0.0628221333026886,
-0.02669474668800831,
-0.014093036763370037,
-0.008933979086577892,
-0.043845005333423615,
-0.0042689223773777485,
-0.001988823991268873,
-0.026843879371881485,
-0.0213259719312191,
-0.03696626052260399,
-0.05816173925995827,
-0.010364720597863197,
0.027123503386974335,
-0.0025469062384217978,
-0.05469440668821335,
-0.0067016491666436195,
0.04623112827539444,
-0.019331321120262146,
-0.040414951741695404,
-0.04089963436126709,
0.007806163281202316,
-0.02867075614631176,
0.06770623475313187,
0.03681712597608566,
-0.04324847459793091,
0.05391145870089531,
0.008062484674155712,
-0.00514973746612668,
0.012107708491384983,
-0.027459053322672844,
-0.016674896702170372,
0.038177963346242905,
-0.06498456001281738,
-0.023022355511784554,
-0.008677656762301922,
-0.006650384981185198,
-0.00975886918604374,
-0.03504617512226105,
0.01577077992260456,
-0.038849059492349625,
-0.00257486873306334,
-0.0010340253356844187,
-0.005979287903755903,
0.0030712008010596037,
-0.03437507897615433,
0.03687305375933647,
-0.04142159968614578,
-0.036444295197725296,
0.04194356128573418,
-0.019536379724740982,
0.0034510232508182526,
0.10088825225830078,
-0.027291277423501015,
-0.07587124407291412,
0.03614602982997894,
0.040414951741695404,
-0.0499221608042717,
-0.019480453804135323,
-0.049400195479393005,
-0.0353444404900074,
-0.0032110128086060286,
0.007638388779014349,
-0.02984517440199852,
0.007074480876326561,
0.012266161851584911,
-0.008882714435458183,
-0.006105118431150913,
-0.005536550190299749,
0.04902736470103264,
-0.08329059183597565,
0.014820058830082417,
-0.015845345333218575,
0.022742731496691704,
0.010896005667746067,
-0.04775973781943321,
0.012228879146277905,
0.0353257991373539,
-0.05055597424507141,
-0.019760077819228172,
0.04891551658511162,
0.04723777249455452,
0.005182360298931599,
0.030982311815023422,
0.008603090420365334,
0.02648968994617462,
0.016851991415023804,
0.056633129715919495,
-0.0003670061705633998,
0.03392768278717995,
0.007135066203773022,
0.03609010577201843,
0.07986054569482803,
0.006361440289765596,
0.006151722744107246,
0.0007031372515484691,
-0.042055413126945496,
-0.03443100303411484,
-0.06681143492460251,
0.020487099885940552,
-0.012378011830151081,
-0.07807095348834991,
0.030199365690350533,
-0.008276863023638725,
0.026787955313920975,
0.0004782731120940298,
-0.016395272687077522,
-0.03458013758063316,
0.0034556835889816284,
0.06222560629248619,
-0.05238284915685654,
-0.04679037630558014,
0.016618970781564713,
-0.029304569587111473,
0.014400622807443142,
-0.08985242992639542,
-0.018585659563541412,
0.024774665012955666,
-0.026415124535560608,
0.0032948998268693686,
0.06345594674348831,
0.05737879499793053,
-0.0010981058003380895,
-0.018203506246209145,
-0.009483905509114265,
0.03573591634631157,
-0.02305963821709156,
-0.010616381652653217,
-0.0038588077295571566,
0.07564754784107208,
0.010364720597863197,
0.018557695671916008,
0.01099853403866291,
-0.04742418974637985,
0.06435074657201767,
-0.039743855595588684,
-0.006641064304858446,
0.0004782731120940298,
0.021083630621433258,
-0.014270132407546043,
0.03249228000640869,
-0.0314110666513443,
0.05681954696774483,
-0.0022090275306254625,
0.020114269107580185,
-0.030162081122398376,
-0.08000967651605606,
0.0032413052394986153,
-0.10931424796581268,
0.026415124535560608,
0.026060933247208595,
0.05465712398290634,
0.005289549473673105,
-0.040303103625774384,
0.06468629091978073,
0.010485890321433544,
0.051301635801792145,
-0.006827480159699917,
-0.010402003303170204,
0.0336667001247406,
-0.009493226185441017,
0.06897386163473129,
0.017597654834389687,
0.00031923712231218815,
0.00824890099465847,
0.04529904946684837,
0.035027533769607544,
0.03320065885782242,
-0.03484112024307251,
-0.023879868909716606,
-0.0012804437428712845,
0.021288687363266945,
0.045410897582769394,
0.04589558020234108,
-0.010513853281736374,
0.07135998457670212,
-0.015407268889248371,
-0.03687305375933647,
0.011324762366712093,
0.009535170160233974,
0.052271001040935516,
0.039072759449481964,
0.0023604906164109707,
-0.06293398886919022,
0.04052680358290672,
0.039632007479667664,
-0.07762355357408524,
0.07859291881322861,
0.0036537502892315388,
-0.006249590776860714,
-0.0006885734619572759,
-0.009973247535526752,
-0.028521623462438583,
0.013142316602170467,
0.011175629682838917,
-0.009805472567677498,
0.012098387815058231,
0.059280235320329666,
-0.021978426724672318,
0.011390007100999355,
0.00302226678468287,
-0.017364634200930595,
0.02671338990330696,
-0.051860883831977844,
0.05353862792253494,
-0.011585744097828865,
-0.05145077034831047,
-0.00439009303227067,
0.03620195388793945,
0.024979721754789352,
-0.04947476089000702,
-0.010961251333355904,
0.00984275620430708,
0.046939507126808167,
-0.018939848989248276,
0.03224993869662285,
-0.01144593209028244,
0.016087686643004417,
0.02199706807732582
] |
725,792 | databricks_api.databricks | __init__ | null | def __init__(self, **kwargs):
warnings.warn(
"""
==================================================================
Please switch to the official Databricks SDK for Python by running
`pip install databricks-sdk`. See more information and sources at
https://github.com/databricks/databricks-sdk-py
==================================================================""",
DeprecationWarning,
)
if "host" in kwargs:
if not kwargs["host"].startswith("https://"):
kwargs["host"] = "https://" + kwargs["host"]
self.client = ApiClient(**kwargs)
for _, camel_name, service in _get_services():
setattr(self, camel_name, service(self.client))
| (self, **kwargs) | [
-0.022278834134340286,
-0.08276089280843735,
0.012555769644677639,
-0.016326328739523888,
-0.0182020366191864,
0.0022369748912751675,
-0.017436441034078598,
0.06909500807523727,
0.016890954226255417,
0.014938686043024063,
-0.0014570242492482066,
0.0458974614739418,
-0.010402531363070011,
-0.023293249309062958,
0.014642017893493176,
0.017627840861678123,
-0.04080624878406525,
0.029035216197371483,
0.021896036341786385,
-0.08176562190055847,
0.001224953099153936,
0.01250791922211647,
0.02350378781557083,
0.07100900262594223,
0.08842629939317703,
0.09524010121822357,
0.0166229959577322,
0.007761226035654545,
0.054127614945173264,
-0.02107302099466324,
-0.02708294801414013,
0.056807201355695724,
-0.039160218089818954,
0.06297024339437485,
0.041380446404218674,
-0.023408088833093643,
0.03728450834751129,
0.0034021157771348953,
-0.09217771887779236,
0.017312033101916313,
0.01655600592494011,
-0.008144023828208447,
0.025207238271832466,
-0.035638477653265,
0.03973441570997238,
0.03671031445264816,
0.01231652032583952,
0.013091686181724072,
-0.015321483835577965,
-0.014555888250470161,
-0.03271007537841797,
-0.01671869494020939,
-0.005761107429862022,
0.009924033656716347,
-0.03190619871020317,
0.03426040709018707,
0.008024400100111961,
0.07234879583120346,
-0.04945748299360275,
0.056807201355695724,
-0.05979302152991295,
0.0019761938601732254,
-0.012967277318239212,
0.014814276248216629,
0.028441879898309708,
0.0029858232010155916,
-0.07311438769102097,
-0.004418922588229179,
0.012038991786539555,
0.03156168386340141,
0.09125900268554688,
0.03774386644363403,
-0.004684488754719496,
-0.013991260901093483,
0.04134216532111168,
0.019053762778639793,
-0.058797746896743774,
0.007349718362092972,
-0.029724253341555595,
-0.005679762922227383,
0.008368917740881443,
-0.0009713495383039117,
-0.05604160577058792,
-0.0003107241936959326,
0.03611697629094124,
-0.021819477900862694,
-0.023695185780525208,
0.0023542067501693964,
-0.00043842315790243447,
0.03766730800271034,
-0.03688257187604904,
0.0324421189725399,
-0.05286438390612602,
0.0419546440243721,
-0.018020208925008774,
-0.054280735552310944,
-0.023235829547047615,
-0.02604939229786396,
-0.005971646402031183,
0.03372449055314064,
-0.006914285942912102,
-0.020403124392032623,
0.019771508872509003,
-0.008565101772546768,
0.02367604710161686,
-0.09018716961145401,
-0.012737598270177841,
-0.06553499400615692,
-0.02264249324798584,
-0.02233625389635563,
0.0066893924959003925,
0.029341455549001694,
0.017120633274316788,
0.017321601510047913,
-0.04796456918120384,
0.006942995823919773,
0.02897779643535614,
-0.021800337359309196,
0.022431952878832817,
-0.017551280558109283,
-0.0538596548140049,
-0.009914464317262173,
0.007191814482212067,
0.03395416960120201,
0.041763246059417725,
0.0013278300175443292,
-0.02231711335480213,
0.02336980774998665,
0.01436448935419321,
-0.0356002002954483,
0.05424245446920395,
-0.022987009957432747,
-0.013359644450247288,
-0.009785269387066364,
0.038758281618356705,
-0.0062156799249351025,
0.03538966178894043,
0.04570606350898743,
-0.03896882012486458,
0.014862126670777798,
-0.030757807195186615,
0.037093110382556915,
-0.02344636805355549,
0.03866258263587952,
0.028059082105755806,
0.02302529104053974,
-0.013350075110793114,
-0.015015245415270329,
-0.031619101762771606,
0.007158319465816021,
0.02281475067138672,
-0.0038662583101540804,
0.002880553714931011,
-0.017168482765555382,
-0.06319992244243622,
-0.053974494338035583,
-0.010613069869577885,
-0.06419520080089569,
0.041380446404218674,
-0.0008965843007899821,
0.0002615286794025451,
0.0018458033446222544,
0.03255695477128029,
-0.04574434086680412,
-0.034241266548633575,
0.031485121697187424,
-0.06231948733329773,
-0.08612951636314392,
0.005923796445131302,
0.04662477597594261,
0.003409293247386813,
-0.010871458798646927,
-0.056271281093358994,
0.0041844588704407215,
-0.009727850556373596,
-0.0009791251504793763,
0.046280257403850555,
0.00022294983500614762,
0.03359051048755646,
0.023484647274017334,
0.008995749056339264,
0.0030193179845809937,
-0.04268195852637291,
-0.031485121697187424,
0.009569945745170116,
-0.023465508595108986,
0.000692624831572175,
0.059257104992866516,
0.01835515722632408,
0.04314131662249565,
0.02105388045310974,
0.046816177666187286,
0.046203698962926865,
-0.008488542400300503,
0.026164231821894646,
-0.058721188455820084,
0.0037131391000002623,
-0.025207238271832466,
-0.021494098007678986,
0.06587950885295868,
-0.0006447751075029373,
0.0800047516822815,
0.026853268966078758,
0.035026002675294876,
0.05588848516345024,
-0.03382018953561783,
-0.01374244224280119,
-0.03144684433937073,
-0.06262572854757309,
-0.046127140522003174,
0.008804350160062313,
-0.0039476025849580765,
-0.09715409576892853,
0.01622105948626995,
-0.009952743537724018,
-0.0024905784521251917,
0.06718102097511292,
-0.01033554133027792,
0.055620525032281876,
-0.020537104457616806,
0.06553499400615692,
0.04497874528169632,
0.015503312461078167,
-0.06289368867874146,
0.008684726431965828,
0.016259338706731796,
0.03330341354012489,
-0.03236555680632591,
-0.00462946156039834,
-0.04210776090621948,
-0.032346416264772415,
-0.026661869138479233,
-0.011570064350962639,
0.02620251290500164,
0.016020089387893677,
-0.07770796120166779,
0.02867155894637108,
-0.006564983166754246,
0.018785804510116577,
-0.07089415937662125,
0.06450143456459045,
0.06300852447748184,
-0.0018505883635953069,
-0.005148631054908037,
-0.047543492168188095,
-0.005081641487777233,
-0.04570606350898743,
0.02905435673892498,
0.0018697282066568732,
0.021015601232647896,
0.033781908452510834,
-0.07020512223243713,
0.012536629103124142,
0.01931215077638626,
-0.04149528592824936,
-0.07292298972606659,
-0.0058280969969928265,
-0.01947483979165554,
-0.013828571885824203,
-0.0070626200176775455,
-0.06396552175283432,
0.028767257928848267,
-0.059907861053943634,
0.07862667739391327,
-0.013350075110793114,
-0.009115373715758324,
0.04570606350898743,
0.004706020932644606,
0.009569945745170116,
0.014345348812639713,
0.12601704895496368,
0.005153415724635124,
0.04340927675366402,
0.00040403116145171225,
-0.027733704075217247,
-0.04249056056141853,
-0.04834736883640289,
-0.06764037907123566,
-0.055314287543296814,
-0.015378903597593307,
0.03649977594614029,
-0.017675690352916718,
0.019025051966309547,
0.0458974614739418,
0.0435623936355114,
-0.07698064297437668,
0.006225249730050564,
0.027102086693048477,
-0.04069140926003456,
-0.03276749700307846,
-0.009670430794358253,
0.00409354455769062,
0.026776708662509918,
-0.0010616659419611096,
-0.03454750403761864,
0.0074071381241083145,
-0.04333271458745003,
0.010986298322677612,
0.021340979263186455,
-0.07177459448575974,
-0.016192348673939705,
0.01821160688996315,
0.01488126628100872,
0.05033791810274124,
0.03395416960120201,
-0.06790833920240402,
0.005368739832192659,
-0.00981876440346241,
-0.033379971981048584,
0.011158556677401066,
0.012249531224370003,
-0.02067108266055584,
0.0031365498434752226,
-0.037093110382556915,
-0.04463422670960426,
-0.0055649238638579845,
-0.004270588513463736,
-0.013072546571493149,
0.004502659663558006,
0.017924508079886436,
-0.03617439791560173,
0.006574552971869707,
-0.021570658311247826,
-0.010038873180747032,
0.036136116832494736,
0.07717204838991165,
0.009876184165477753,
-0.0019797824788838625,
0.027216926217079163,
0.03477718308568001,
-0.014728146605193615,
0.018489135429263115,
0.007220524363219738,
0.001093964441679418,
0.015857400372624397,
-0.07414793968200684,
0.0005765892565250397,
-0.029035216197371483,
-0.029953930526971817,
-0.006100840400904417,
-0.022661631926894188,
0.004694058559834957,
-0.034624066203832626,
0.019905487075448036,
0.014153949916362762,
-0.005191695876419544,
0.019982047379016876,
-0.05393621698021889,
0.01060350053012371,
-0.012498349882662296,
-0.020862482488155365,
-0.030930066481232643,
0.020230865105986595,
0.06002270057797432,
0.10358509421348572,
-0.024824440479278564,
-0.03454750403761864,
0.01147436536848545,
0.0190059132874012,
-0.04819424822926521,
0.021666357293725014,
-0.07636816799640656,
0.007124824915081263,
0.05244330316781998,
-0.05052931606769562,
-0.003048027865588665,
0.00281117158010602,
-0.05248158425092697,
0.03544707968831062,
-0.03496858477592468,
-0.0008595007820986211,
-0.06587950885295868,
0.004962016828358173,
0.00651234807446599,
0.022699911147356033,
0.003380583366379142,
-0.016125358641147614,
-0.028288761153817177,
-0.03295889496803284,
0.06679822504520416,
-0.0048088980838656425,
-0.0229487307369709,
0.06783177703619003,
0.003933247644454241,
0.04926608130335808,
-0.013474483974277973,
-0.01052694022655487,
-0.018977202475070953,
0.06580294668674469,
-0.0296859722584486,
0.003902145428583026,
-0.0066032628528773785,
-0.02541777677834034,
0.02524551749229431,
0.010431241244077682,
-0.07491353899240494,
-0.015321483835577965,
-0.028441879898309708,
0.04582090303301811,
-0.02469046041369438,
-0.021896036341786385,
-0.03927505761384964,
0.058874309062957764,
-0.0009641720680519938,
0.02518809773027897,
0.03538966178894043,
0.015646861866116524,
-0.022106574848294258,
0.037571609020233154,
0.024326803162693977,
-0.01789579913020134,
-0.04834736883640289,
-0.071315236389637,
-0.0034810679499059916,
-0.0019797824788838625,
0.047773171216249466,
0.0016627780860289931,
0.06599434465169907,
0.02937973476946354,
0.007651171647012234,
0.01283329725265503,
-0.011187266558408737,
-0.0016221058322116733,
0.060137540102005005,
0.007636817172169685,
0.05274954438209534,
-0.02185775712132454,
-0.04539982229471207,
0.0514863096177578,
-0.02715950645506382,
0.0162401981651783,
0.05573536455631256,
-0.07705720514059067,
-0.0380118265748024,
0.031944479793310165,
0.0257240142673254,
-0.0028925160877406597,
-0.0012931389501318336,
0.0007602125988341868,
-0.033762767910957336,
-0.038203224539756775,
-0.06358271837234497,
0.013474483974277973,
-0.038432903587818146,
0.004198813810944557,
-0.01654643751680851,
-0.02367604710161686,
0.020958181470632553,
0.04520842432975769,
-0.02620251290500164,
0.010852319188416004,
0.00914886873215437,
0.003385368501767516,
0.0077277314849197865,
0.008163164369761944,
-0.06610918790102005,
0.005038576666265726,
-0.012995987199246883,
0.055467408150434494,
0.011617914773523808,
0.01378072239458561,
-0.053553417325019836,
-0.027197787538170815,
0.0019654277712106705,
0.005258685443550348,
0.0005807760753668845,
0.017752250656485558,
0.010297262109816074,
0.022585073485970497,
0.0014701829059049487,
0.01374244224280119,
-0.02002032659947872,
0.03885398060083389,
-0.011034147813916206,
0.005636698100715876,
0.02983909100294113,
0.011627484112977982,
-0.01024941261857748,
-0.012823727913200855,
-0.0364232137799263,
-0.014393199235200882,
0.04811768978834152,
0.017369452863931656,
-0.001917577930726111,
-0.01199114229530096,
-0.04015549272298813,
-0.039466459304094315,
-0.020383985713124275,
0.022278834134340286,
-0.03500686213374138,
0.008660800755023956,
0.08567015826702118,
-0.024556482210755348,
0.01774268038570881,
-0.012498349882662296,
0.03181049972772598,
-0.005292179994285107,
0.03659547492861748,
0.03251867741346359,
0.02463304065167904,
0.009435966610908508,
0.014000831171870232,
-0.03829892352223396,
0.005598418414592743,
0.06277884542942047,
-0.04061485081911087,
-0.042720239609479904,
0.03525568172335625,
0.01523535419255495,
-0.017532141879200935,
-0.05294094234704971,
-0.028212200850248337,
0.018307307735085487,
0.024422502145171165,
-0.0006387939210981131,
0.003205931978300214,
-0.12019852548837662,
0.04704585298895836,
-0.0356576181948185,
0.022604212164878845,
0.017991498112678528,
0.03531309962272644,
0.02011602744460106,
-0.017704399302601814,
-0.014316638931632042,
-0.030451567843556404,
0.045170146971940994,
-0.03602127730846405,
0.035121701657772064,
0.0799281895160675,
-0.026987247169017792,
-0.013091686181724072,
-0.01757999137043953,
0.023101849481463432,
0.004526584409177303,
0.012105981819331646,
-0.05630956217646599,
-0.026719288900494576,
0.009345052763819695,
-0.05439557507634163,
0.03862430155277252,
0.03452836722135544,
-0.010239842347800732,
-0.07108555734157562,
-0.04103592783212662,
-0.053400300443172455,
-0.013464913703501225,
0.061171095818281174,
-0.008541177026927471,
-0.007282728794962168,
0.07311438769102097,
-0.03276749700307846,
-0.0152449244633317,
-0.002904478693380952,
-0.06228120997548103,
0.0077468715608119965,
-0.007009985391050577,
-0.04964888095855713,
-0.011139417067170143,
-0.030662106350064278,
-0.046280257403850555,
-0.011129847727715969,
0.007971765473484993,
0.014584598131477833,
-0.056500960141420364,
-0.010306831449270248,
0.05416589602828026,
-0.008574672043323517,
-0.04815596714615822,
-0.027331765741109848,
0.015474602580070496,
-0.04949576035141945,
0.041610125452280045,
0.05519944801926613,
-0.049840278923511505,
0.06300852447748184,
0.010660920292139053,
-0.014019970782101154,
0.030451567843556404,
-0.020862482488155365,
-0.006067345850169659,
0.028059082105755806,
-0.06197497248649597,
-0.03385847061872482,
-0.01851784624159336,
-0.007550687529146671,
-0.014967395924031734,
-0.029666833579540253,
0.033054593950510025,
-0.035121701657772064,
-0.00502422172576189,
-0.022546792402863503,
-0.01853698492050171,
-0.010986298322677612,
-0.05833839252591133,
0.025991974398493767,
-0.01774268038570881,
-0.04834736883640289,
0.043830353766679764,
-0.009330697357654572,
-0.010737479664385319,
0.1148393526673317,
-0.014718577265739441,
-0.053400300443172455,
0.02541777677834034,
0.019044192507863045,
-0.06182185187935829,
0.002161611570045352,
-0.03627009689807892,
-0.013876421377062798,
-0.015283203683793545,
0.004892634693533182,
-0.01377115212380886,
0.007354503497481346,
-0.003567197360098362,
-0.0032107168808579445,
-0.013752012513577938,
0.009316342882812023,
0.053323738276958466,
-0.09202460199594498,
-0.0015276026679202914,
-0.015532022342085838,
0.021570658311247826,
0.01971408911049366,
-0.058223553001880646,
0.007866495288908482,
0.03510256111621857,
-0.06764037907123566,
-0.018709244206547737,
0.03182964026927948,
0.040576569736003876,
-0.01924516074359417,
0.026011113077402115,
-0.0028063866775482893,
0.033284272998571396,
0.023542067036032677,
0.07100900262594223,
0.0054787942208349705,
0.029953930526971817,
0.007163104601204395,
0.025857994332909584,
0.05944850668311119,
0.018039347603917122,
0.004617499187588692,
-0.018642254173755646,
-0.01703450456261635,
-0.039772696793079376,
-0.06852081418037415,
0.04494046792387962,
-0.002667622407898307,
-0.05596504360437393,
0.03339911252260208,
-0.008416767232120037,
0.027102086693048477,
-0.006876006256788969,
0.0070817600935697556,
-0.02993479184806347,
0.006067345850169659,
0.06377412378787994,
-0.04712241515517235,
-0.04306475818157196,
0.022183135151863098,
0.011704044416546822,
0.02352292649447918,
-0.05986958369612694,
-0.020996462553739548,
0.01765654981136322,
-0.050069957971572876,
0.008225368335843086,
0.06561154872179031,
0.05137147009372711,
0.01552245207130909,
-0.020766783505678177,
0.017312033101916313,
0.03230813890695572,
-0.0027417894452810287,
-0.015866970643401146,
-0.022451093420386314,
0.0561947226524353,
0.0065793381072580814,
0.01829773746430874,
0.01519707404077053,
-0.03973441570997238,
0.039236780256032944,
-0.05045275390148163,
-0.01290985755622387,
-0.002047968562692404,
0.04348583519458771,
-0.017149344086647034,
0.0003525927022565156,
-0.034872882068157196,
0.04092108830809593,
-0.002610202878713608,
0.04291163757443428,
-0.026623589918017387,
-0.07127695530653,
-0.010450380854308605,
-0.1290794312953949,
0.029724253341555595,
0.03862430155277252,
0.05803215131163597,
-0.006052990909665823,
-0.04773489013314247,
0.06993716955184937,
-0.002887731185182929,
0.04180152341723442,
0.001338596222922206,
-0.014029541052877903,
0.027657143771648407,
-0.014632447622716427,
0.07185115665197372,
0.011302106082439423,
0.02059452421963215,
0.009617796167731285,
0.042873360216617584,
0.026987247169017792,
0.032269857823848724,
-0.031867921352386475,
-0.027810262516140938,
-0.0006304202252067626,
0.023101849481463432,
0.025762295350432396,
0.0253412164747715,
-0.020403124392032623,
0.07292298972606659,
-0.012201680801808834,
-0.03477718308568001,
0.015072665177285671,
0.023695185780525208,
0.03755246847867966,
0.038586024194955826,
-0.03190619871020317,
-0.0514863096177578,
0.03311201184988022,
0.03094920516014099,
-0.07812903821468353,
0.07453074306249619,
0.00009704523108666763,
0.0014546317979693413,
0.01907290332019329,
-0.009364192374050617,
-0.0182020366191864,
0.006182185374200344,
0.03315029293298721,
-0.03584901615977287,
0.004658171441406012,
0.056500960141420364,
-0.012890717014670372,
0.017704399302601814,
0.0038231934886425734,
-0.0304707083851099,
0.02849929966032505,
-0.03309287503361702,
0.05921882763504982,
-0.023886585608124733,
-0.06656854599714279,
-0.008067464455962181,
0.020364845171570778,
0.03104490414261818,
-0.04555294290184975,
-0.011531785130500793,
-0.0003427236806601286,
0.047543492168188095,
-0.023886585608124733,
0.051180072128772736,
0.0055457837879657745,
0.037475910037755966,
0.018163757398724556
] |
725,795 | flask_admin.base | Admin |
Collection of the admin views. Also manages menu structure.
| class Admin(object):
"""
Collection of the admin views. Also manages menu structure.
"""
def __init__(self, app=None, name=None,
url=None, subdomain=None,
index_view=None,
translations_path=None,
endpoint=None,
static_url_path=None,
base_template=None,
template_mode=None,
category_icon_classes=None):
"""
Constructor.
:param app:
Flask application object
:param name:
Application name. Will be displayed in the main menu and as a page title. Defaults to "Admin"
:param url:
Base URL
:param subdomain:
Subdomain to use
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param translations_path:
Location of the translation message catalogs. By default will use the translations
shipped with Flask-Admin.
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
:param static_url_path:
Static URL Path. If provided, this specifies the default path to the static url directory for
all its views. Can be overridden in view configuration.
:param base_template:
Override base HTML template for all static views. Defaults to `admin/base.html`.
:param template_mode:
Base template path. Defaults to `bootstrap2`. If you want to use
Bootstrap 3 or 4 integration, change it to `bootstrap3` or `bootstrap4`.
:param category_icon_classes:
A dict of category names as keys and html classes as values to be added to menu category icons.
Example: {'Favorites': 'glyphicon glyphicon-star'}
"""
self.app = app
self.translations_path = translations_path
self._views = []
self._menu = []
self._menu_categories = dict()
self._menu_links = []
if name is None:
name = 'Admin'
self.name = name
self.index_view = index_view or AdminIndexView(endpoint=endpoint, url=url)
self.endpoint = endpoint or self.index_view.endpoint
self.url = url or self.index_view.url
self.static_url_path = static_url_path
self.subdomain = subdomain
self.base_template = base_template or 'admin/base.html'
self.template_mode = template_mode or 'bootstrap2'
self.category_icon_classes = category_icon_classes or dict()
# Add index view
self._set_admin_index_view(index_view=index_view, endpoint=endpoint, url=url)
# Register with application
if app is not None:
self._init_extension()
def add_view(self, view):
"""
Add a view to the collection.
:param view:
View to add.
"""
# Add to views
self._views.append(view)
# If app was provided in constructor, register view with Flask app
if self.app is not None:
self.app.register_blueprint(view.create_blueprint(self))
self._add_view_to_menu(view)
def _set_admin_index_view(self, index_view=None,
endpoint=None, url=None):
"""
Add the admin index view.
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param url:
Base URL
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
"""
self.index_view = index_view or AdminIndexView(endpoint=endpoint, url=url)
self.endpoint = endpoint or self.index_view.endpoint
self.url = url or self.index_view.url
# Add predefined index view
# assume index view is always the first element of views.
if len(self._views) > 0:
self._views[0] = self.index_view
self._menu[0] = MenuView(self.index_view.name, self.index_view)
else:
self.add_view(self.index_view)
def add_views(self, *args):
"""
Add one or more views to the collection.
Examples::
admin.add_views(view1)
admin.add_views(view1, view2, view3, view4)
admin.add_views(*my_list)
:param args:
Argument list including the views to add.
"""
for view in args:
self.add_view(view)
def add_category(self, name, class_name=None, icon_type=None, icon_value=None):
"""
Add a category of a given name
:param name:
The name of the new menu category.
:param class_name:
The class name for the new menu category.
:param icon_type:
The icon name for the new menu category.
:param icon_value:
The icon value for the new menu category.
"""
cat_text = as_unicode(name)
category = self.get_category_menu_item(name)
if category:
return
category = MenuCategory(name, class_name=class_name, icon_type=icon_type, icon_value=icon_value)
self._menu_categories[cat_text] = category
self._menu.append(category)
def add_sub_category(self, name, parent_name):
"""
Add a category of a given name underneath
the category with parent_name.
:param name:
The name of the new menu category.
:param parent_name:
The name of a parent_name category
"""
name_text = as_unicode(name)
parent_name_text = as_unicode(parent_name)
category = self.get_category_menu_item(name_text)
parent = self.get_category_menu_item(parent_name_text)
if category is None and parent is not None:
category = SubMenuCategory(name)
self._menu_categories[name_text] = category
parent.add_child(category)
def add_link(self, link):
"""
Add link to menu links collection.
:param link:
Link to add.
"""
if link.category:
self.add_menu_item(link, link.category)
else:
self._menu_links.append(link)
def add_links(self, *args):
"""
Add one or more links to the menu links collection.
Examples::
admin.add_links(link1)
admin.add_links(link1, link2, link3, link4)
admin.add_links(*my_list)
:param args:
Argument list including the links to add.
"""
for link in args:
self.add_link(link)
def add_menu_item(self, menu_item, target_category=None):
"""
Add menu item to menu tree hierarchy.
:param menu_item:
MenuItem class instance
:param target_category:
Target category name
"""
if target_category:
cat_text = as_unicode(target_category)
category = self._menu_categories.get(cat_text)
# create a new menu category if one does not exist already
if category is None:
category = MenuCategory(target_category)
category.class_name = self.category_icon_classes.get(cat_text)
self._menu_categories[cat_text] = category
self._menu.append(category)
category.add_child(menu_item)
else:
self._menu.append(menu_item)
def _add_menu_item(self, menu_item, target_category):
warnings.warn('Admin._add_menu_i | (app=None, name=None, url=None, subdomain=None, index_view=None, translations_path=None, endpoint=None, static_url_path=None, base_template=None, template_mode=None, category_icon_classes=None) | [
0.004677401855587959,
-0.00017513845523353666,
0.025861727073788643,
-0.010273909196257591,
0.03989129140973091,
-0.013585858047008514,
-0.0015292013995349407,
0.04318739473819733,
-0.01659672148525715,
0.019480811432003975,
-0.0010914377635344863,
0.009803792461752892,
0.02108660526573658,
0.021804986521601677,
-0.006111523602157831,
0.023960130289196968,
0.014261982403695583,
-0.04542705416679382,
0.06875331699848175,
-0.04597640410065651,
-0.03031991794705391,
0.018783558160066605,
0.08113483339548111,
0.013047072105109692,
-0.0550195574760437,
-0.023051587864756584,
-0.03446117416024208,
0.04686381667852402,
0.07737389206886292,
-0.05083604156970978,
-0.02277691289782524,
-0.020357659086585045,
0.008493802510201931,
0.006798211485147476,
0.01636430434882641,
-0.03365827724337578,
0.026558980345726013,
-0.01636430434882641,
0.02277691289782524,
0.02588285692036152,
0.038982752710580826,
-0.005942492745816708,
-0.005026028025895357,
-0.07428908348083496,
0.04496221989393234,
0.04445512592792511,
-0.02979169599711895,
0.09448827058076859,
-0.01839267462491989,
-0.022058531641960144,
-0.024910928681492805,
-0.01612132228910923,
0.012603366747498512,
0.013828840106725693,
-0.037524860352277756,
0.04234224185347557,
-0.0017470928141847253,
0.0293902475386858,
0.017959533259272575,
0.001988754142075777,
0.016036806628108025,
0.01060668844729662,
-0.006777082569897175,
-0.06051306053996086,
0.03190458193421364,
0.019882259890437126,
-0.05535762012004852,
0.02797461301088333,
0.02575608342885971,
0.04969508573412895,
-0.06144273281097412,
0.0013548883143812418,
0.01763203553855419,
0.016459383070468903,
0.019618147984147072,
-0.004870202858000994,
0.027890097349882126,
-0.06528818607330322,
-0.0012868797639384866,
0.015054314397275448,
0.031925711780786514,
-0.046356722712516785,
0.033742792904376984,
0.044243838638067245,
0.07754292339086533,
0.021657083183526993,
-0.03433440253138542,
-0.004038253799080849,
0.021509181708097458,
0.0324750617146492,
-0.05104733258485794,
0.005118466913700104,
0.005905516911298037,
-0.030763624235987663,
-0.04521576687693596,
-0.009935847483575344,
0.01153635885566473,
-0.024784155189990997,
-0.011948371306061745,
-0.011494101025164127,
-0.009080128744244576,
0.046229951083660126,
0.052695382386446,
0.015255038626492023,
-0.008889968506991863,
-0.07813452929258347,
-0.05882275104522705,
0.007918041199445724,
-0.03243280202150345,
-0.02734074741601944,
-0.021477488800883293,
-0.04048290103673935,
0.0316721647977829,
-0.003185176057741046,
-0.029876211658120155,
0.009275570511817932,
-0.048511866480112076,
-0.03270747885107994,
0.00392996845766902,
-0.02896767109632492,
-0.011483537033200264,
-0.01571987383067608,
-0.01127224788069725,
-0.008219127543270588,
0.03526407107710838,
0.008044814690947533,
-0.06355562061071396,
-0.029897339642047882,
0.02353755198419094,
-0.011715954169631004,
-0.0018936742562800646,
-0.003972226288169622,
-0.02763655222952366,
0.02090700902044773,
0.07002104818820953,
-0.030742494389414787,
-0.022206434980034828,
0.013955613598227501,
-0.037820663303136826,
0.07597938925027847,
-0.05083604156970978,
-0.007648648228496313,
-0.00003099174864473753,
0.0210232175886631,
-0.04060967266559601,
-0.02277691289782524,
-0.01433593314141035,
0.018646221607923508,
-0.03824324160814285,
-0.01996677555143833,
-0.03055233508348465,
-0.011863856576383114,
0.017389053478837013,
-0.023220619186758995,
-0.022798042744398117,
0.019079362973570824,
-0.05535762012004852,
-0.0313129723072052,
0.02313610352575779,
-0.046356722712516785,
-0.015519149601459503,
0.004854355938732624,
-0.04859638214111328,
0.02820703200995922,
-0.03579229116439819,
0.002210607286542654,
0.04259578511118889,
-0.058611463755369186,
0.004534781910479069,
0.05747050419449806,
-0.015688180923461914,
0.0009514591074548662,
-0.0217838566750288,
0.02015693485736847,
-0.06325981020927429,
0.03452455997467041,
-0.0321158692240715,
-0.02284030057489872,
0.02717171609401703,
-0.04090547561645508,
-0.026791397482156754,
0.007300022058188915,
-0.03465133532881737,
0.031862325966358185,
0.008889968506991863,
0.01998790353536606,
0.016026241704821587,
0.06989427655935287,
0.004466113168746233,
0.05759727954864502,
-0.0663868859410286,
-0.03913065418601036,
0.03124958649277687,
-0.04020822420716286,
-0.03792630881071091,
0.03801082447171211,
-0.0370388962328434,
-0.060259513556957245,
0.0139344846829772,
-0.027383005246520042,
0.0025618744548410177,
-0.00189895648509264,
0.048216063529253006,
-0.0186990424990654,
0.04542705416679382,
0.04411706328392029,
0.015402941033244133,
0.04542705416679382,
-0.009592503309249878,
-0.016660107299685478,
-0.037186797708272934,
0.05252635106444359,
-0.010817977599799633,
-0.0022079660557210445,
-0.018308158963918686,
-0.08891025185585022,
-0.05434343218803406,
-0.016871396452188492,
-0.013543601147830486,
0.0208013653755188,
0.013015379197895527,
0.04289159178733826,
-0.04229998216032982,
0.028819767758250237,
-0.04151821509003639,
0.01810743473470211,
0.03389069437980652,
0.00303727388381958,
0.030869267880916595,
0.03217925876379013,
-0.004444984253495932,
-0.03644728660583496,
0.058104369789361954,
0.019829437136650085,
-0.015561407431960106,
0.00999395176768303,
-0.0014975081430748105,
0.05624503269791603,
-0.04639898240566254,
0.010485198348760605,
-0.02044217474758625,
-0.010442940518260002,
0.04931476339697838,
0.015128265134990215,
0.005646688397973776,
0.013194974511861801,
-0.03143974766135216,
-0.0005754313315264881,
0.01739961840212345,
-0.03184119611978531,
-0.00873150210827589,
-0.022692397236824036,
-0.015371247194707394,
0.012571672908961773,
-0.03236941620707512,
0.005361448973417282,
-0.011451843194663525,
0.044074807316064835,
-0.057850826531648636,
-0.021889502182602882,
-0.002229094970971346,
-0.02797461301088333,
0.05907629802823067,
0.03777840733528137,
-0.04050402715802193,
-0.039806775748729706,
0.031566519290208817,
-0.0030161452013999224,
-0.017304537817835808,
0.024086903780698776,
0.1375066339969635,
0.07242973893880844,
0.007178531028330326,
0.0225444957613945,
0.008477956056594849,
-0.08688188344240189,
0.006238296627998352,
-0.030341045930981636,
-0.1299847662448883,
-0.02290368638932705,
-0.005641406401991844,
0.0010056018363684416,
0.007321150973439217,
0.07492294907569885,
-0.032918766140937805,
-0.04270143061876297,
-0.028481706976890564,
0.014737381599843502,
-0.036193739622831345,
0.028523964807391167,
0.04800477623939514,
-0.026030758395791054,
0.00951855257153511,
0.0034704157151281834,
0.00004110224108444527,
-0.0037424496840685606,
-0.05366731062531471,
0.03429214283823967,
0.0068193404003977776,
0.010390117764472961,
0.011251118965446949,
-0.019470246508717537,
0.06456980109214783,
-0.012085708789527416,
0.04198304936289787,
0.006750671658664942,
0.024340448901057243,
-0.006914420053362846,
0.06541495770215988,
0.035961322486400604,
-0.004347263369709253,
-0.01370206754654646,
-0.008879404515028,
0.09499536454677582,
-0.04961057007312775,
-0.010955315083265305,
-0.007162684109061956,
-0.032686349004507065,
0.017917275428771973,
0.08274062722921371,
-0.03948984295129776,
0.09136120229959488,
0.010041492059826851,
0.010685921646654606,
0.07221844792366028,
-0.008900533430278301,
0.049441538751125336,
0.004880767315626144,
0.030404433608055115,
0.02114999108016491,
-0.04352545738220215,
0.0025777211412787437,
-0.01136732753366232,
-0.029601536691188812,
-0.03395408019423485,
-0.002823344198986888,
-0.04280707612633705,
-0.01992451772093773,
-0.027298489585518837,
-0.09905210882425308,
0.05345602333545685,
0.06930267065763474,
-0.029453633353114128,
-0.006254143081605434,
-0.010115442797541618,
-0.03714454174041748,
0.06875331699848175,
-0.0043234932236373425,
-0.07340166717767715,
0.0014433653559535742,
0.04749768227338791,
-0.059372104704380035,
-0.019840002059936523,
-0.026199789717793465,
0.002928988542407751,
-0.07686679810285568,
0.012666752561926842,
-0.06009048596024513,
0.021699341014027596,
-0.019544197246432304,
-0.003367412369698286,
0.00038428118568845093,
-0.04303949326276779,
-0.03114394284784794,
0.0006787647143937647,
-0.008858275599777699,
-0.008652268908917904,
-0.04107450693845749,
0.07348618656396866,
-0.08721994608640671,
0.05755501985549927,
-0.017663728445768356,
0.0657530203461647,
-0.01421972457319498,
0.043905775994062424,
-0.024108031764626503,
0.02277691289782524,
0.03621486946940422,
-0.06055532023310661,
0.00658692279830575,
0.02072741463780403,
0.01294142846018076,
0.02248110994696617,
0.027150588110089302,
0.0317566804587841,
-0.08933282643556595,
0.014526092447340488,
0.04889218881726265,
-0.04724413529038429,
0.005900234915316105,
-0.005688946228474379,
-0.008298360742628574,
-0.023284006863832474,
0.024403836578130722,
-0.03581342101097107,
-0.04538479447364807,
-0.016438255086541176,
0.02693929895758629,
-0.005604430567473173,
-0.007616954855620861,
0.058442432433366776,
0.006602769251912832,
0.0225444957613945,
0.017779937013983727,
0.04445512592792511,
0.04014483839273453,
-0.014240853488445282,
0.05848469212651253,
-0.015962855890393257,
0.019639277830719948,
0.03137636184692383,
0.01705099269747734,
-0.06740107387304306,
-0.0006054739351384342,
-0.011145475320518017,
-0.06199208274483681,
0.04542705416679382,
0.04838509485125542,
0.022121919319033623,
0.010205240920186043,
0.007532439194619656,
0.04614543542265892,
0.09440375864505768,
0.009793227538466454,
0.023939000442624092,
-0.015149394050240517,
-0.036531802266836166,
0.030214272439479828,
-0.06266820430755615,
-0.006608051713556051,
-0.004143897909671068,
0.006217167712748051,
-0.0040567414835095406,
-0.008271949365735054,
-0.02014636993408203,
-0.004363110288977623,
0.021245071664452553,
-0.07834582030773163,
-0.04475092887878418,
0.03298215568065643,
0.02575608342885971,
-0.011546922847628593,
0.012497722171247005,
0.02505883015692234,
0.01980830915272236,
0.007315868511795998,
-0.049399279057979584,
0.014895847998559475,
0.068711057305336,
-0.06385142356157303,
-0.017948968335986137,
0.0694294422864914,
-0.009550245478749275,
0.017970098182559013,
-0.017610907554626465,
-0.028418319299817085,
-0.04994862899184227,
-0.0005684984498657286,
-0.006734824739396572,
0.07686679810285568,
0.005900234915316105,
-0.008599447086453438,
-0.01577269658446312,
-0.02353755198419094,
-0.009893589653074741,
0.016955912113189697,
0.04846961051225662,
0.039278555661439896,
-0.02313610352575779,
-0.015202216804027557,
0.04217321053147316,
-0.029580406844615936,
-0.012856912799179554,
-0.03568664938211441,
0.005232034716755152,
-0.004503089003264904,
0.03680647909641266,
-0.04234224185347557,
-0.030594592913985252,
-0.025312377139925957,
0.05747050419449806,
-0.022058531641960144,
-0.001287540071643889,
0.01862509176135063,
-0.0695139542222023,
-0.0635133609175682,
0.04551156982779503,
-0.009650607593357563,
-0.004664196167141199,
-0.030129756778478622,
-0.015624793246388435,
-0.015561407431960106,
-0.025333505123853683,
0.03348924592137337,
0.02197401598095894,
0.012518851086497307,
-0.008176869712769985,
-0.030002985149621964,
-0.0014895847998559475,
-0.023389650508761406,
-0.009888307191431522,
-0.007891629822552204,
0.015804389491677284,
0.033383604139089584,
0.025967372581362724,
-0.01822364330291748,
-0.03353150561451912,
0.006180192343890667,
-0.05062475427985191,
-0.10302433371543884,
-0.012930863536894321,
-0.011451843194663525,
0.029981855303049088,
-0.008752631023526192,
0.008097636513411999,
0.015730438753962517,
-0.0442860946059227,
0.023812226951122284,
0.08983992040157318,
0.03473585098981857,
0.002376996912062168,
-0.03528520092368126,
0.005974185653030872,
-0.04094773530960083,
-0.03101716935634613,
0.036595188081264496,
-0.005551608745008707,
0.024171417579054832,
-0.01595229096710682,
0.09178377687931061,
-0.054596979171037674,
0.04724413529038429,
0.0032327158842235804,
0.017547519877552986,
-0.03777840733528137,
0.029580406844615936,
-0.05282215401530266,
-0.011346198618412018,
0.015381812117993832,
0.002222492126747966,
-0.006079830229282379,
0.042257726192474365,
0.020833058282732964,
-0.028185902163386345,
-0.020114677026867867,
-0.08037418872117996,
0.028418319299817085,
-0.004809457343071699,
0.008926943875849247,
-0.010976443998515606,
-0.011863856576383114,
0.0550195574760437,
-0.006687284912914038,
0.04274368658661842,
0.04627220705151558,
0.00989887211471796,
-0.00633865874260664,
0.01804404892027378,
0.03310892730951309,
0.010458786971867085,
0.0013357402058318257,
-0.019766051322221756,
-0.03594019636511803,
-0.04198304936289787,
0.00899561308324337,
0.049906373023986816,
-0.037588246166706085,
0.007321150973439217,
0.0020085624419152737,
-0.015635358169674873,
-0.06664042919874191,
-0.0550195574760437,
-0.03968000411987305,
-0.0033542069140821695,
-0.07513423264026642,
0.0028101387433707714,
0.0347147211432457,
0.026242047548294067,
0.011515229940414429,
-0.023326264694333076,
0.02237546443939209,
0.030700236558914185,
-0.016660107299685478,
0.025481408461928368,
-0.01811799965798855,
-0.004883408080786467,
0.0611046701669693,
0.04352545738220215,
0.016660107299685478,
-0.032918766140937805,
-0.03446117416024208,
0.05007540434598923,
-0.018772993236780167,
-0.06228788569569588,
0.02207966148853302,
0.024932056665420532,
-0.004394803196191788,
0.008747348561882973,
-0.01747356913983822,
0.03902500867843628,
0.0009739085217006505,
-0.017600342631340027,
0.03617261350154877,
-0.05151216685771942,
0.04825832322239876,
0.032496191561222076,
0.05561116710305214,
-0.05434343218803406,
-0.01606849953532219,
0.002458871342241764,
-0.02598850056529045,
-0.00686159823089838,
-0.007733163423836231,
0.060428544878959656,
-0.052484095096588135,
-0.0808812826871872,
-0.05856920778751373,
-0.02290368638932705,
0.05848469212651253,
-0.016269223764538765,
-0.07259877026081085,
0.016839703544974327,
0.011346198618412018,
-0.02592511475086212,
-0.04796251654624939,
0.002655633958056569,
-0.015931162983179092,
-0.013385133817791939,
-0.028523964807391167,
0.04521576687693596,
0.04584963247179985,
-0.05590697005391121,
-0.020082984119653702,
0.0018619809998199344,
0.06296400725841522,
-0.01601567678153515,
0.010115442797541618,
-0.024699639528989792,
0.03615148365497589,
0.03786292299628258,
0.03817985579371452,
-0.048047032207250595,
-0.020347094163298607,
0.019290652126073837,
0.02552366629242897,
0.09203732758760452,
0.0104218116030097,
-0.02628430537879467,
-0.007807114627212286,
-0.017674293369054794,
-0.02780558355152607,
0.0595833919942379,
-0.05924532935023308,
0.008921662345528603,
-0.06511915475130081,
0.022058531641960144,
-0.0029395530000329018,
-0.04808929190039635,
-0.049399279057979584,
0.0005787327536381781,
0.008816017769277096,
-0.04411706328392029,
0.022417722269892693,
-0.06207659840583801,
0.046060919761657715,
-0.011557487770915031,
0.050033144652843475,
0.04876541346311569,
0.030214272439479828,
0.028819767758250237,
0.0679081603884697,
-0.0503712072968483,
0.005852694623172283,
-0.005036592483520508,
0.052653126418590546,
-0.0006573057034984231,
0.024044645950198174,
0.037989694625139236,
0.0301508866250515,
0.009265006519854069,
-0.03201022744178772,
0.06456980109214783,
-0.03418649733066559,
0.0147162526845932,
0.01355416513979435,
0.032918766140937805,
-0.00785465445369482,
-0.034144241362810135,
0.02541802078485489,
0.010104878805577755,
-0.015064878389239311,
0.0032696914859116077,
-0.03475697711110115,
0.043145135045051575,
0.015413505025207996,
0.002490564715117216,
-0.023178361356258392,
-0.06368239223957062,
-0.027087202295660973,
0.055399876087903976,
0.061654020100831985,
-0.04006032273173332,
0.015276167541742325,
0.02271352708339691,
-0.004698530770838261,
-0.016681237146258354,
-0.018265901133418083,
-0.01016298308968544,
-0.018551141023635864,
0.016543898731470108,
0.05907629802823067,
0.051427651196718216,
0.10479915887117386,
-0.011335634626448154,
-0.0328342504799366,
-0.043081749230623245,
0.019607584923505783,
0.0053271143697202206,
-0.02499544434249401,
0.006058701314032078,
0.03648954629898071,
-0.006021725945174694,
0.022945944219827652,
-0.028988799080252647,
0.05404762923717499,
-0.025713825598359108,
-0.058146629482507706,
-0.03530632704496384,
0.0007659212569706142,
-0.026558980345726013,
-0.025333505123853683,
-0.00648127868771553,
0.016195273026823997,
0.021530311554670334,
0.011029265820980072,
-0.04496221989393234,
-0.02744639292359352,
0.03038330376148224,
-0.07635971158742905,
-0.012054015882313251,
0.0038665817119181156,
-0.010913057252764702,
-0.01536068320274353,
0.014092951081693172,
-0.024108031764626503,
-0.006655591540038586,
0.012011758051812649,
0.022417722269892693,
0.017505262047052383,
0.044243838638067245,
0.016110757365822792,
-0.016110757365822792,
-0.05134313553571701,
0.020357659086585045,
0.006549947429448366,
0.0006510330713354051,
0.003642087569460273,
0.005028669256716967,
-0.010390117764472961,
-0.03393295407295227,
0.059372104704380035,
-0.049737341701984406,
-0.006682002916932106,
0.012603366747498512,
0.09448827058076859,
0.03672196343541145,
0.00457175774499774,
0.05468149483203888
] |
725,796 | flask_admin.base | __init__ |
Constructor.
:param app:
Flask application object
:param name:
Application name. Will be displayed in the main menu and as a page title. Defaults to "Admin"
:param url:
Base URL
:param subdomain:
Subdomain to use
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param translations_path:
Location of the translation message catalogs. By default will use the translations
shipped with Flask-Admin.
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
:param static_url_path:
Static URL Path. If provided, this specifies the default path to the static url directory for
all its views. Can be overridden in view configuration.
:param base_template:
Override base HTML template for all static views. Defaults to `admin/base.html`.
:param template_mode:
Base template path. Defaults to `bootstrap2`. If you want to use
Bootstrap 3 or 4 integration, change it to `bootstrap3` or `bootstrap4`.
:param category_icon_classes:
A dict of category names as keys and html classes as values to be added to menu category icons.
Example: {'Favorites': 'glyphicon glyphicon-star'}
| def __init__(self, app=None, name=None,
url=None, subdomain=None,
index_view=None,
translations_path=None,
endpoint=None,
static_url_path=None,
base_template=None,
template_mode=None,
category_icon_classes=None):
"""
Constructor.
:param app:
Flask application object
:param name:
Application name. Will be displayed in the main menu and as a page title. Defaults to "Admin"
:param url:
Base URL
:param subdomain:
Subdomain to use
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param translations_path:
Location of the translation message catalogs. By default will use the translations
shipped with Flask-Admin.
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
:param static_url_path:
Static URL Path. If provided, this specifies the default path to the static url directory for
all its views. Can be overridden in view configuration.
:param base_template:
Override base HTML template for all static views. Defaults to `admin/base.html`.
:param template_mode:
Base template path. Defaults to `bootstrap2`. If you want to use
Bootstrap 3 or 4 integration, change it to `bootstrap3` or `bootstrap4`.
:param category_icon_classes:
A dict of category names as keys and html classes as values to be added to menu category icons.
Example: {'Favorites': 'glyphicon glyphicon-star'}
"""
self.app = app
self.translations_path = translations_path
self._views = []
self._menu = []
self._menu_categories = dict()
self._menu_links = []
if name is None:
name = 'Admin'
self.name = name
self.index_view = index_view or AdminIndexView(endpoint=endpoint, url=url)
self.endpoint = endpoint or self.index_view.endpoint
self.url = url or self.index_view.url
self.static_url_path = static_url_path
self.subdomain = subdomain
self.base_template = base_template or 'admin/base.html'
self.template_mode = template_mode or 'bootstrap2'
self.category_icon_classes = category_icon_classes or dict()
# Add index view
self._set_admin_index_view(index_view=index_view, endpoint=endpoint, url=url)
# Register with application
if app is not None:
self._init_extension()
| (self, app=None, name=None, url=None, subdomain=None, index_view=None, translations_path=None, endpoint=None, static_url_path=None, base_template=None, template_mode=None, category_icon_classes=None) | [
0.021030129864811897,
-0.026292569935321808,
0.03312588855624199,
-0.03540366142988205,
0.031162291765213013,
-0.00009472823876421899,
0.021501392126083374,
0.009204363450407982,
-0.02639074996113777,
0.0347164049744606,
0.019488705322146416,
0.014599347487092018,
0.016857484355568886,
0.004008193500339985,
-0.013323009014129639,
0.03094629757106304,
0.034657496958971024,
-0.01760365255177021,
0.07764064520597458,
-0.05191751942038536,
-0.011712859384715557,
0.0026115847285836935,
0.039566490799188614,
0.015100064687430859,
-0.059065014123916626,
-0.03355788066983223,
-0.02688165009021759,
0.03624800965189934,
0.06369910389184952,
-0.06479872018098831,
0.012949925847351551,
0.00691186310723424,
0.04579109326004982,
0.038722142577171326,
0.03271353617310524,
-0.049168482422828674,
0.05384184420108795,
-0.030200129374861717,
-0.026920922100543976,
0.03155501186847687,
0.0412355475127697,
-0.03795633837580681,
0.003065666649490595,
-0.07681593298912048,
0.06691940128803253,
0.07021825015544891,
-0.013116830959916115,
0.09134655445814133,
-0.05529490485787392,
0.024446789175271988,
-0.03895777463912964,
-0.019331617280840874,
0.008011477999389172,
-0.005404802039265633,
-0.06334565579891205,
0.06919717788696289,
0.018349818885326385,
0.025762399658560753,
0.005620798096060753,
0.017407292500138283,
0.0046954527497291565,
0.000037066736695123836,
0.02197265625,
-0.03860432654619217,
0.03991993889212608,
0.03461822494864464,
-0.03322406858205795,
0.013725546188652515,
0.0039198314771056175,
0.03236008808016777,
0.009076729416847229,
0.006101879291236401,
-0.015424058772623539,
-0.008615284226834774,
0.02809908054769039,
-0.01608186401426792,
0.03846687451004982,
-0.045319829136133194,
-0.028923790901899338,
0.007461670320481062,
0.057062145322561264,
-0.03222263604402542,
0.007289855740964413,
0.061696235090494156,
0.06884372979402542,
-0.00024038729316089302,
-0.039370130747556686,
-0.01950834132730961,
0.024623513221740723,
0.027195826172828674,
-0.06711576133966446,
-0.0158658679574728,
0.008060568012297153,
-0.017230568453669548,
-0.02487878128886223,
-0.03990030288696289,
0.0038216516841202974,
0.01109432615339756,
0.005576617084443569,
-0.0063178748823702335,
0.0125473877415061,
0.039723578840494156,
0.031456831842660904,
-0.003949285484850407,
0.023366810753941536,
-0.0618533231317997,
-0.06122497096657753,
0.019763609394431114,
-0.03681745380163193,
-0.055609080940485,
0.0017021936364471912,
0.014805525541305542,
0.012223394587635994,
0.004177553579211235,
-0.025369679555296898,
0.02603730373084545,
-0.030023405328392982,
-0.026822742074728012,
0.007820026949048042,
-0.02197265625,
-0.01013216283172369,
0.024800237268209457,
-0.013077559880912304,
0.002550222212448716,
0.04457366466522217,
0.011575407348573208,
-0.026508565992116928,
-0.06220676749944687,
0.01727965846657753,
-0.022169016301631927,
0.0140397222712636,
0.010760514065623283,
-0.05541272088885307,
0.0035025670658797026,
0.07575558871030807,
-0.03332224860787392,
0.012144850566983223,
0.03982175886631012,
-0.06664449721574783,
0.09370287507772446,
-0.06825464963912964,
0.005561890080571175,
0.006990407127887011,
0.014373533427715302,
-0.0061509693041443825,
-0.033086616545915604,
-0.004062192514538765,
0.01432444341480732,
0.0016396038699895144,
0.002501132432371378,
-0.028884518891572952,
0.015306242741644382,
0.02688165009021759,
-0.024073705077171326,
-0.023523898795247078,
-0.012203758582472801,
-0.02446642518043518,
-0.03882032260298729,
0.015905139967799187,
-0.031613919883966446,
-0.00995543971657753,
0.015561509877443314,
-0.06063589081168175,
0.0041898260824382305,
-0.06071443483233452,
-0.012311756610870361,
0.04025374725461006,
-0.032536812126636505,
-0.0028889428358525038,
0.038859594613313675,
-0.024348609149456024,
-0.0358160175383091,
0.0010640243999660015,
0.027411820366978645,
-0.06860809773206711,
0.049679018557071686,
-0.02872743085026741,
-0.00992598570883274,
0.011585225351154804,
-0.04736197367310524,
0.0004424230719450861,
0.028845246881246567,
-0.05553053691983223,
0.04763687402009964,
0.0044328211806714535,
0.04410240054130554,
0.0056453426368534565,
0.10242124646902084,
-0.006985498126596212,
0.07053242623806,
-0.05015027895569801,
-0.04975756257772446,
0.02864888682961464,
-0.02823653258383274,
-0.043120600283145905,
0.03505021706223488,
-0.023779164999723434,
-0.056276705116033554,
-0.002002869499847293,
-0.026685290038585663,
-0.006062607280910015,
-0.0005909200990572572,
0.031260471791028976,
-0.006636959500610828,
0.042492251843214035,
0.03361678868532181,
0.029630687087774277,
0.06923644989728928,
-0.01451098546385765,
-0.01034815888851881,
-0.007839662954211235,
0.020009059458971024,
-0.015983683988451958,
0.011418319307267666,
-0.027490364387631416,
-0.058711566030979156,
-0.02701910212635994,
-0.0033454792574048042,
0.0026852195151150227,
0.020166145637631416,
0.015217880718410015,
0.04202098771929741,
-0.011163052171468735,
0.02872743085026741,
-0.021363940089941025,
0.03724944591522217,
0.03917377069592476,
-0.022718822583556175,
0.0029552143532782793,
0.05988972261548042,
-0.02694055810570717,
-0.03801524639129639,
0.07630539685487747,
0.016052410006523132,
-0.011212142184376717,
0.021579936146736145,
0.010171434842050076,
0.03626764565706253,
-0.046183813363313675,
0.02183520421385765,
0.006111697293817997,
0.002416452160105109,
0.051878247410058975,
0.031397923827171326,
0.030671393498778343,
0.00524280546233058,
-0.04551618918776512,
0.01624877005815506,
0.024800237268209457,
-0.06432745605707169,
-0.04461293667554855,
0.005930064711719751,
-0.015345514751970768,
-0.005169170442968607,
-0.025624947622418404,
0.008399288170039654,
0.008080204017460346,
0.020794497802853584,
-0.059065014123916626,
-0.014186992309987545,
-0.009768897667527199,
-0.0629529356956482,
0.06554488837718964,
0.04088209941983223,
-0.044848568737506866,
-0.025939123705029488,
0.05113207921385765,
-0.012409936636686325,
-0.023995161056518555,
0.033302612602710724,
0.1190725564956665,
0.06962917000055313,
0.0014174719108268619,
0.026763834059238434,
0.026488929986953735,
-0.07669811695814133,
0.008207838051021099,
-0.017780374735593796,
-0.06813683360815048,
-0.0198028814047575,
0.02246355637907982,
-0.016749486327171326,
0.027490364387631416,
0.08121439069509506,
-0.022149380296468735,
-0.032674264162778854,
-0.04233516380190849,
-0.0045653642155230045,
-0.026999466121196747,
0.011153234168887138,
0.03870250657200813,
-0.004420548677444458,
0.0017954644281417131,
0.0045383647084236145,
-0.016288042068481445,
-0.026999466121196747,
-0.01652367226779461,
0.06460236012935638,
0.0018151004333049059,
0.011752131395041943,
0.0007056678296066821,
-0.013323009014129639,
0.03762253001332283,
0.0027024010196328163,
0.01624877005815506,
-0.0044843656942248344,
0.010789968073368073,
0.012056488543748856,
0.0708073228597641,
0.05254586786031723,
0.03605164960026741,
-0.009803260676562786,
0.01547314878553152,
0.08576993644237518,
-0.051446255296468735,
0.017505472525954247,
0.00295275985263288,
-0.03410768881440163,
0.007407671771943569,
0.07339927554130554,
-0.005019445903599262,
0.07100368291139603,
0.021030129864811897,
-0.01422626432031393,
0.05376330018043518,
0.0006393964285962284,
0.0634634718298912,
-0.01109432615339756,
0.033302612602710724,
0.009616718627512455,
-0.060400258749723434,
0.010289250873029232,
-0.009606900624930859,
-0.046890709549188614,
-0.04033229127526283,
0.0021967748180031776,
-0.015551691874861717,
-0.011437955312430859,
-0.035717837512493134,
-0.09668754041194916,
0.03677818179130554,
0.03591419756412506,
-0.04516274109482765,
0.008090022020041943,
-0.08820480108261108,
-0.04202098771929741,
0.03043576143682003,
-0.03660145774483681,
-0.053645484149456024,
-0.010986328125,
0.039154134690761566,
-0.052231695502996445,
-0.02503586746752262,
-0.016229134052991867,
0.010947056114673615,
-0.07834754139184952,
-0.01730911247432232,
-0.03198700398206711,
0.022129744291305542,
0.006224604323506355,
-0.03632655367255211,
-0.019331617280840874,
-0.0501895509660244,
-0.029611051082611084,
0.0036694728769361973,
-0.025408951565623283,
-0.010996146127581596,
-0.032026275992393494,
0.034598588943481445,
-0.07493088394403458,
0.04999319091439247,
-0.0020396870095282793,
0.05164261534810066,
-0.040489379316568375,
0.06311002373695374,
-0.04524128511548042,
0.0034682040568441153,
-0.010652516037225723,
-0.08404197543859482,
0.005336076021194458,
-0.015316060744225979,
0.029689595103263855,
0.04253152385354042,
0.01955743134021759,
-0.014353897422552109,
-0.07202475517988205,
-0.001520560821518302,
0.061185698956251144,
-0.03422550484538078,
0.029041606932878494,
-0.008713464252650738,
-0.019704701378941536,
-0.03522694110870361,
0.03560002148151398,
-0.033872056752443314,
-0.02837398461997509,
-0.04622308537364006,
0.01652367226779461,
-0.020892677828669548,
0.01034815888851881,
0.04979683458805084,
0.010102708823978901,
0.05093571916222572,
-0.003416659776121378,
0.05474510043859482,
0.03222263604402542,
0.0005369212012737989,
0.048893578350543976,
0.016013137996196747,
0.02425042912364006,
0.005468619056046009,
0.01666112430393696,
-0.040410835295915604,
-0.02674419805407524,
-0.018349818885326385,
-0.03322406858205795,
0.03073030151426792,
0.040960643440485,
0.011919036507606506,
-0.014550257474184036,
0.016582580283284187,
0.02837398461997509,
0.0892258733510971,
-0.012753565795719624,
0.030848117545247078,
0.0039468309842050076,
-0.012743747793138027,
-0.008826370351016521,
-0.06303147971630096,
-0.027215462177991867,
-0.028000900521874428,
0.023484626784920692,
0.00402046600356698,
-0.006818592548370361,
0.00384128768928349,
-0.0005792612791992724,
0.03705308586359024,
-0.07752282917499542,
-0.0534491240978241,
0.021776296198368073,
0.004472093190997839,
-0.0444951206445694,
0.030632121488451958,
0.051956791430711746,
0.0019979604985564947,
0.017181478440761566,
-0.05988972261548042,
-0.00743221677839756,
0.059339918196201324,
-0.07571631669998169,
0.014736799523234367,
0.059497006237506866,
-0.01390227023512125,
-0.011968126520514488,
-0.01290083583444357,
-0.01985197141766548,
-0.022522462531924248,
-0.007368399761617184,
-0.013872816227376461,
0.08082167059183121,
-0.003367569763213396,
-0.015659689903259277,
-0.004553091712296009,
-0.04728342965245247,
-0.009552901610732079,
0.03575710952281952,
0.06578051298856735,
0.031888823956251144,
-0.006808774545788765,
-0.03243863210082054,
0.031044475734233856,
-0.0019770972430706024,
0.009091456420719624,
-0.010986328125,
-0.0192628912627697,
0.020794497802853584,
0.01880144700407982,
-0.028472164645791054,
-0.023268630728125572,
-0.02360244281589985,
0.04209953173995018,
0.002645947737619281,
-0.0025048141833394766,
0.01795709878206253,
-0.05875083804130554,
-0.07701229304075241,
0.025998031720519066,
-0.01893889717757702,
-0.0000563383728149347,
-0.00785438995808363,
-0.02218865230679512,
0.026351477950811386,
-0.03740653395652771,
0.03241899609565735,
0.02055886574089527,
0.022443920373916626,
0.006411145906895399,
-0.012841927818953991,
0.0006363283027894795,
-0.01963597536087036,
-0.0021317305509001017,
-0.01700475439429283,
0.023700622841715813,
0.008202929049730301,
0.008649647235870361,
-0.043631136417388916,
-0.05698360130190849,
0.005473528057336807,
-0.02858998067677021,
-0.09582355618476868,
-0.022208288311958313,
0.0054931640625,
-0.01624877005815506,
0.0094939935952425,
0.02858998067677021,
0.0016187407309189439,
-0.06711576133966446,
0.027058374136686325,
0.0765017569065094,
0.038368694484233856,
-0.009768897667527199,
-0.006386600900441408,
0.024270065128803253,
0.0005734318401664495,
-0.045044925063848495,
-0.010750696063041687,
0.023779164999723434,
0.022777730599045753,
-0.017829464748501778,
0.08388488739728928,
-0.07061096280813217,
0.03442186489701271,
-0.018025824800133705,
-0.0025379497092217207,
-0.03946831077337265,
0.04905066639184952,
-0.08561284840106964,
0.006175514310598373,
0.03830978646874428,
0.022522462531924248,
-0.0022790003567934036,
0.039350494742393494,
0.039213042706251144,
-0.06742993742227554,
-0.0637383759021759,
-0.10304959863424301,
-0.012085942551493645,
0.019861789420247078,
0.011172870174050331,
-0.027686724439263344,
-0.0023968161549419165,
0.03827051445841789,
0.009876895695924759,
0.05576616898179054,
0.01034815888851881,
0.012459026649594307,
-0.0032595719676464796,
0.011153234168887138,
0.018428362905979156,
0.007407671771943569,
-0.010780150070786476,
-0.0021378668025135994,
-0.03560002148151398,
-0.03312588855624199,
0.004393549636006355,
0.06534852832555771,
-0.01361754909157753,
-0.015296424739062786,
-0.020038513466715813,
-0.022169016301631927,
-0.05945773422718048,
-0.06994334608316422,
-0.03760289400815964,
0.0333615206182003,
-0.06095006689429283,
0.010092890821397305,
0.061617691069841385,
0.051956791430711746,
0.013323009014129639,
-0.025192955508828163,
0.032674264162778854,
0.028923790901899338,
-0.05156407132744789,
0.035305481404066086,
-0.028413256630301476,
-0.007343854755163193,
0.06742993742227554,
0.02637111395597458,
0.004926175344735384,
-0.05686578527092934,
-0.024427153170108795,
0.035364389419555664,
-0.005694432649761438,
-0.023131178691983223,
0.03285098448395729,
0.016828030347824097,
-0.03226190805435181,
-0.009989802725613117,
-0.012606295756995678,
0.037858158349990845,
-0.0064209639094769955,
-0.0115950433537364,
0.031201563775539398,
-0.0743418037891388,
0.04139263555407524,
0.005679705645889044,
0.031123019754886627,
-0.022502828389406204,
-0.0180356428027153,
0.003838833188638091,
-0.01923343725502491,
-0.013224828988313675,
-0.02211010828614235,
0.03870250657200813,
-0.015100064687430859,
-0.05694432929158211,
-0.07442034780979156,
-0.013529187068343163,
0.07281019538640976,
-0.027706360444426537,
-0.07343854755163193,
0.016454946249723434,
0.03241899609565735,
0.005120080430060625,
-0.033872056752443314,
-0.002572312718257308,
0.007034588139504194,
-0.0027024010196328163,
-0.055648352950811386,
0.03186918795108795,
0.04524128511548042,
-0.05509854480624199,
-0.01692621037364006,
-0.003951739985495806,
0.029905589297413826,
-0.01393172424286604,
-0.01496261265128851,
-0.034814585000276566,
0.04857940226793289,
0.043042056262493134,
0.03711199387907982,
-0.05839738994836807,
0.0070149521343410015,
0.020715953782200813,
0.024702057242393494,
0.11679477989673615,
-0.01514915470033884,
-0.01411826629191637,
-0.02061777375638485,
-0.02652820199728012,
-0.019302163273096085,
0.06036098673939705,
-0.0412355475127697,
0.028629250824451447,
-0.08514159172773361,
0.01687712036073208,
-0.016209498047828674,
-0.03014122135937214,
-0.0314764678478241,
0.0025354952085763216,
0.0024311791639775038,
-0.053645484149456024,
0.021560300141572952,
-0.05796539783477783,
0.05470582842826843,
-0.014206628315150738,
0.03616946563124657,
0.03522694110870361,
0.025330407544970512,
0.010122344829142094,
0.03946831077337265,
-0.008006568998098373,
0.0044328211806714535,
-0.0016383766196668148,
0.05745486170053482,
0.02943432703614235,
0.013224828988313675,
-0.009179818443953991,
0.019685065373778343,
0.0094939935952425,
-0.01340155303478241,
0.045398373156785965,
-0.008477832190692425,
0.01443244144320488,
0.002353862626478076,
0.022070836275815964,
-0.01276338379830122,
-0.001989369746297598,
0.02474132925271988,
-0.009228908456861973,
-0.03263499215245247,
0.029473599046468735,
-0.03797597438097,
0.040999915450811386,
0.03485385701060295,
0.00538516603410244,
-0.013862998224794865,
-0.09645190834999084,
-0.016749486327171326,
0.0531742200255394,
0.04103918746113777,
-0.03129974380135536,
0.014844797551631927,
0.03340079262852669,
-0.016229134052991867,
-0.00992598570883274,
-0.010554336942732334,
-0.021953020244836807,
-0.04559473320841789,
0.0024569514207541943,
0.045398373156785965,
0.04158899560570717,
0.11805148422718048,
-0.01528660673648119,
-0.024662785232067108,
-0.03626764565706253,
0.02297409065067768,
0.007510760333389044,
-0.019812699407339096,
-0.00960199162364006,
0.018349818885326385,
-0.019577067345380783,
0.019606521353125572,
-0.022993726655840874,
0.07430253177881241,
-0.031751371920108795,
-0.08207837492227554,
-0.02026432566344738,
-0.035658929497003555,
-0.0250947754830122,
-0.01730911247432232,
-0.023072270676493645,
0.005527527071535587,
0.027922356501221657,
0.018055278807878494,
-0.053213492035865784,
-0.02837398461997509,
0.007972205989062786,
-0.06597687304019928,
0.004950720351189375,
0.036365825682878494,
-0.006602596491575241,
-0.016022955998778343,
0.03510912507772446,
-0.03404878079891205,
0.022149380296468735,
-0.017976734787225723,
-0.0074763973243534565,
0.053802572190761566,
0.05454874038696289,
0.0004918198101222515,
-0.015640053898096085,
-0.04194244369864464,
0.037661802023649216,
0.008556376211345196,
-0.024760965257883072,
-0.005959518253803253,
-0.0006065675406716764,
-0.03491276502609253,
-0.023268630728125572,
0.02240464836359024,
-0.023288266733288765,
-0.012007398530840874,
-0.008649647235870361,
0.08239255100488663,
0.02764745242893696,
0.021992292255163193,
0.009376178495585918
] |
725,797 | flask_admin.base | _add_menu_item | null | def _add_menu_item(self, menu_item, target_category):
warnings.warn('Admin._add_menu_item is obsolete - use Admin.add_menu_item instead.')
return self.add_menu_item(menu_item, target_category)
| (self, menu_item, target_category) | [
-0.04615084454417229,
0.026616884395480156,
0.035414621233940125,
-0.0033131311647593975,
0.00502328434959054,
-0.04301944747567177,
0.054203011095523834,
0.07679381221532822,
0.030065150931477547,
-0.01072690263390541,
0.011202204041182995,
0.02751156874001026,
0.01765139400959015,
0.038042761385440826,
0.010512551292777061,
0.039030641317367554,
-0.01901206001639366,
-0.02109965868294239,
0.0019676084630191326,
0.05047515407204628,
-0.018285129219293594,
0.04048450291156769,
0.04305672273039818,
-0.015479917638003826,
0.007679381407797337,
0.0741097554564476,
-0.024864792823791504,
0.03839690610766411,
0.053904782980680466,
-0.08231103420257568,
-0.024827513843774796,
-0.04167741909623146,
0.018555397167801857,
0.039552539587020874,
-0.034109871834516525,
0.057297129184007645,
-0.04100640490651131,
-0.005698958411812782,
0.020465923473238945,
-0.005153759382665157,
0.02283311076462269,
-0.0035414621233940125,
0.019776269793510437,
-0.018797708675265312,
0.027325177565217018,
0.022683996707201004,
-0.019738992676138878,
0.053942061960697174,
0.00036608701338991523,
-0.04808932915329933,
0.01825716905295849,
-0.008643963374197483,
0.0311648678034544,
0.014314962550997734,
-0.07530266791582108,
0.04585261642932892,
-0.011006491258740425,
-0.012749264016747475,
-0.02344820834696293,
0.048275720328092575,
0.014072651974856853,
0.04917040839791298,
0.03599243983626366,
-0.08574066311120987,
0.038732413202524185,
-0.03366253152489662,
-0.06702683120965958,
-0.019198453053832054,
0.024864792823791504,
0.079328753054142,
-0.044175080955028534,
0.009123925119638443,
0.02044728398323059,
0.026579605415463448,
0.006062424276024103,
-0.0021586609072983265,
-0.010885336436331272,
-0.018844306468963623,
0.00575487595051527,
0.0435786247253418,
-0.03744630143046379,
-0.05383022502064705,
0.04588989540934563,
0.039776213467121124,
-0.021286051720380783,
0.018928183242678642,
-0.030493853613734245,
-0.02615090273320675,
-0.04808932915329933,
0.013205925934016705,
-0.024920709431171417,
-0.007176120765507221,
-0.022907668724656105,
-0.03884425014257431,
-0.00005184048131923191,
-0.03211547061800957,
0.02292630821466446,
-0.011966414749622345,
0.03034473955631256,
0.03962709754705429,
-0.005684978794306517,
0.03034473955631256,
0.058862827718257904,
-0.014911419712007046,
0.023504124954342842,
-0.0758618488907814,
0.03211547061800957,
-0.028275780379772186,
-0.00033405073918402195,
0.011015811003744602,
0.026598244905471802,
-0.026430491358041763,
0.009981331415474415,
0.006001846399158239,
-0.09192889928817749,
0.026579605415463448,
-0.035601016134023666,
-0.049841418862342834,
0.0068126549012959,
0.013765104115009308,
-0.011006491258740425,
-0.06415638327598572,
-0.01305681187659502,
-0.025740837678313255,
0.020130416378378868,
-0.09491118788719177,
-0.06475283950567245,
-0.016598274931311607,
0.00029764592181891203,
0.005852732341736555,
-0.027958912774920464,
0.03015834651887417,
-0.009990651160478592,
-0.039477985352277756,
0.04894673451781273,
-0.038769692182540894,
-0.014128570444881916,
0.044883374124765396,
0.0287790410220623,
0.015768826007843018,
-0.0009313812479376793,
-0.00579681433737278,
-0.033457498997449875,
0.012665387243032455,
-0.019058657810091972,
-0.0298601184040308,
-0.04424963891506195,
0.0858897790312767,
-0.02410058304667473,
-0.01408197171986103,
-0.026076344773173332,
-0.0006343178101815283,
0.02227393351495266,
0.010670985095202923,
0.02523757703602314,
0.0018091745441779494,
-0.01630936563014984,
-0.06393270939588547,
0.014398839324712753,
-0.06426821649074554,
0.036943040788173676,
-0.03325246647000313,
-0.026001788675785065,
0.07068012654781342,
-0.025088462978601456,
-0.023653239011764526,
0.058788273483514786,
-0.020950544625520706,
-0.013662588782608509,
0.05990662798285484,
-0.02119285613298416,
-0.012879738584160805,
0.00529821403324604,
-0.003131398232653737,
-0.11123919486999512,
0.015610392205417156,
-0.028108026832342148,
-0.016449159011244774,
0.05304737761616707,
-0.05744624510407448,
-0.004102970473468304,
0.0296364463865757,
0.015945900231599808,
-0.03349477797746658,
0.0018231540452688932,
-0.018723150715231895,
0.0035973801277577877,
0.025349413976073265,
-0.013345720246434212,
0.035675570368766785,
-0.008275837637484074,
-0.016486437991261482,
0.030326100066304207,
-0.045964449644088745,
-0.026355935260653496,
-0.0383596271276474,
-0.007642102427780628,
-0.0024324252735823393,
0.007660741917788982,
0.02698967047035694,
-0.008210600353777409,
0.026710079982876778,
-0.025815395638346672,
0.05506041646003723,
0.023205896839499474,
0.03670073300600052,
-0.0287790410220623,
0.03021426498889923,
-0.017418401315808296,
-0.006323373876512051,
-0.0189561415463686,
0.05062426999211311,
-0.03263736888766289,
0.018937503919005394,
-0.08320572227239609,
0.014221766963601112,
-0.08976674824953079,
-0.01844356209039688,
-0.028667204082012177,
0.04100640490651131,
-0.0046574887819588184,
0.03869513422250748,
-0.0374835804104805,
0.009482731111347675,
0.01921709254384041,
-0.005778175313025713,
0.03246961534023285,
0.04551710933446884,
0.025125741958618164,
0.039738934487104416,
0.010093167424201965,
-0.04253482446074486,
0.02419377863407135,
0.004142578691244125,
0.005689638666808605,
-0.0318172425031662,
-0.016980379819869995,
-0.01799621991813183,
-0.011547030881047249,
0.04917040839791298,
-0.025778116658329964,
-0.02022361382842064,
0.045927174389362335,
0.06173327937722206,
0.0005073377396911383,
0.037725891917943954,
-0.022702636197209358,
0.017204049974679947,
0.020204974338412285,
0.057036180049180984,
0.030549772083759308,
-0.009683103300631046,
-0.043392229825258255,
0.04607628658413887,
-0.021677477285265923,
0.03163084760308266,
0.01037275604903698,
-0.011202204041182995,
-0.051593512296676636,
-0.022162098437547684,
-0.013802383095026016,
0.014752985909581184,
0.0470828078687191,
-0.003233914263546467,
-0.08820104598999023,
-0.03064296767115593,
-0.01796826161444187,
0.03722263127565384,
0.011565670371055603,
0.02933821827173233,
0.14091292023658752,
-0.01630936563014984,
0.02419377863407135,
0.009711062535643578,
0.015051214024424553,
-0.05431484803557396,
-0.009002769365906715,
0.006388611625880003,
-0.09573131799697876,
0.0008416797500103712,
0.010391395539045334,
0.019552599638700485,
0.007781897205859423,
0.060913149267435074,
-0.1033361405134201,
-0.021062379702925682,
0.01639324240386486,
0.06471556425094604,
0.005242296028882265,
0.01102513074874878,
-0.016206849366426468,
0.03047521412372589,
0.006505107041448355,
0.04626268148422241,
-0.009198482148349285,
0.027269259095191956,
-0.08626256138086319,
0.00230544526129961,
0.027604766190052032,
-0.00943613238632679,
-0.038993362337350845,
0.0033271105494350195,
-0.027213340625166893,
-0.023690517991781235,
0.013615990057587624,
0.007581525016576052,
0.025256216526031494,
-0.00689653167501092,
-0.037110794335603714,
0.03522823005914688,
-0.012208725325763226,
-0.0010804954217746854,
-0.02890951558947563,
0.013075451366603374,
0.0058480724692344666,
-0.0296364463865757,
0.007702680304646492,
-0.04137919098138809,
0.04376501590013504,
-0.01237647794187069,
-0.07090380042791367,
0.037856366485357285,
-0.06654220819473267,
-0.003247893648222089,
0.024771595373749733,
0.020857349038124084,
-0.0057828351855278015,
0.007777237333357334,
0.0601675771176815,
0.01603909581899643,
0.003196635516360402,
0.023224536329507828,
-0.027362454682588577,
-0.014902099967002869,
-0.025349413976073265,
-0.023504124954342842,
-0.01501393597573042,
0.02074551209807396,
-0.01061506662517786,
0.0003777365491259843,
-0.0263745728880167,
0.05170534923672676,
-0.005270254798233509,
-0.011416555382311344,
0.07220855355262756,
-0.02633729577064514,
0.00865328311920166,
0.010549829341471195,
-0.031407177448272705,
-0.021155577152967453,
-0.031220784410834312,
-0.04734375700354576,
-0.012478994205594063,
-0.01782846637070179,
0.02693375200033188,
-0.035414621233940125,
0.010493911802768707,
-0.02706422656774521,
0.025442609563469887,
0.002222733572125435,
0.04059633985161781,
-0.014958017505705357,
0.034631773829460144,
0.02484615333378315,
-0.021062379702925682,
0.011109007522463799,
0.014436118304729462,
-0.035414621233940125,
0.07075468450784683,
-0.04935679957270622,
0.03373708575963974,
-0.037334468215703964,
0.07947786897420883,
0.06031669303774834,
-0.02018633484840393,
0.006239497102797031,
0.030400656163692474,
0.04633723571896553,
-0.08141635358333588,
-0.005451987963169813,
-0.001806844724342227,
-0.01092261541634798,
-0.0031430476810783148,
0.017157452180981636,
0.05770719423890114,
-0.018378324806690216,
0.00841097254306078,
0.02738109417259693,
-0.009254399687051773,
-0.007185440510511398,
0.009300998412072659,
-0.0006354827783070505,
0.00930565781891346,
0.01207824982702732,
-0.026710079982876778,
-0.055209532380104065,
-0.027399733662605286,
-0.025815395638346672,
-0.02165883779525757,
0.010270240716636181,
0.01927300915122032,
0.009450112469494343,
-0.06385815143585205,
-0.04063361883163452,
-0.047455593943595886,
0.0414164699614048,
-0.08134179562330246,
0.03394211828708649,
-0.007940331473946571,
-0.018229210749268532,
0.017465000972151756,
0.03155629336833954,
-0.06348536908626556,
0.0018907213816419244,
0.003487874288111925,
-0.049319520592689514,
0.04864850640296936,
0.011472473852336407,
-0.00530753331258893,
-0.027921633794903755,
0.04164014011621475,
0.011733422987163067,
-0.009100626222789288,
0.04603900760412216,
-0.004212476313114166,
-0.053196489810943604,
-0.0383596271276474,
0.015069853514432907,
0.0008044011774472892,
-0.05196629837155342,
0.012385797686874866,
0.015349443070590496,
0.0050652227364480495,
0.022460326552391052,
-0.013811702840030193,
0.007646762300282717,
-0.004603900946676731,
-0.011985053308308125,
-0.03151901438832283,
0.048760343343019485,
0.009655144065618515,
-0.03282376378774643,
-0.009408174082636833,
0.05073610693216324,
0.03571284934878349,
-0.03712943568825722,
-0.039738934487104416,
-0.016374602913856506,
0.05837820842862129,
-0.024697039276361465,
0.037725891917943954,
0.040521781891584396,
0.018713831901550293,
0.014715706929564476,
-0.021565640345215797,
-0.05998118594288826,
-0.0732150673866272,
-0.051854461431503296,
0.04559166729450226,
0.04350406676530838,
0.01812669448554516,
0.035470541566610336,
0.026859194040298462,
0.005405389703810215,
0.023988746106624603,
0.03944070637226105,
-0.0008987625478766859,
0.01314068865031004,
0.000022316162358038127,
0.014743666164577007,
0.020111776888370514,
0.012152806855738163,
0.015619711950421333,
-0.053196489810943604,
0.005232976283878088,
-0.03002787195146084,
0.034669049084186554,
0.0136253098025918,
-0.009319636970758438,
0.016150930896401405,
0.037427663803100586,
-0.03944070637226105,
0.024081943556666374,
0.01338299922645092,
-0.059086501598358154,
0.02083870954811573,
0.028387615457177162,
0.027921633794903755,
0.0657966360449791,
0.020335448905825615,
0.02009313739836216,
-0.05826637148857117,
-0.022982224822044373,
0.013699866831302643,
0.03770725429058075,
-0.021248772740364075,
0.009543308988213539,
-0.030978474766016006,
0.03666345402598381,
0.01703629642724991,
-0.011211523786187172,
-0.03416579216718674,
-0.023858271539211273,
-0.01146315410733223,
0.037856366485357285,
0.017679352313280106,
-0.030400656163692474,
0.04022355377674103,
-0.0649392306804657,
-0.015545154921710491,
-0.009468751959502697,
0.005661679897457361,
0.021025102585554123,
-0.002172640524804592,
0.03220866620540619,
0.03263736888766289,
-0.09655144065618515,
0.04253482446074486,
0.07545178383588791,
-0.027101505547761917,
0.011155606247484684,
-0.005041923839598894,
-0.0019501340575516224,
-0.12316832691431046,
-0.017110854387283325,
-0.023746436461806297,
-0.03248825669288635,
0.023466845974326134,
0.014771625399589539,
-0.008294477127492428,
-0.05409117415547371,
0.021565640345215797,
0.021286051720380783,
0.008313116617500782,
-0.08290749043226242,
0.0431685596704483,
0.018238529562950134,
0.008387673646211624,
-0.019850827753543854,
-0.079328753054142,
0.030363379046320915,
-0.01673806831240654,
0.009300998412072659,
-0.062404289841651917,
-0.008038187399506569,
0.0009372060303576291,
-0.02301950380206108,
0.01752091757953167,
-0.008145363070070744,
0.02096918411552906,
-0.04410052299499512,
0.023690517991781235,
-0.0571107380092144,
0.06993456184864044,
0.0732523500919342,
0.01440815906971693,
0.004482745658606291,
0.005549843888729811,
0.0003145377559121698,
-0.002027021022513509,
-0.03064296767115593,
-0.035601016134023666,
-0.02205026149749756,
-0.03185452148318291,
-0.009026069194078445,
-0.003487874288111925,
-0.07198487967252731,
0.026523688808083534,
-0.008061486296355724,
-0.017241328954696655,
-0.00373251480050385,
-0.06520017981529236,
-0.019645795226097107,
-0.005969227757304907,
-0.05383022502064705,
-0.03988804668188095,
0.029971953481435776,
-0.02022361382842064,
0.03802412003278732,
-0.006216198205947876,
-0.059310171753168106,
0.08104356378316879,
-0.017148133367300034,
0.027269259095191956,
-0.00002794071042444557,
-0.05636516585946083,
-0.0030591709073632956,
-0.0033294404856860638,
0.02907726913690567,
-0.022162098437547684,
-0.009645824320614338,
0.023783715441823006,
-0.00400045420974493,
-0.09424017369747162,
0.01069894339889288,
-0.03304743394255638,
0.029300939291715622,
-0.009953373111784458,
0.019813548773527145,
0.06326169520616531,
0.038471464067697525,
0.011798661202192307,
0.017492959275841713,
0.023224536329507828,
0.06445461511611938,
0.03763269633054733,
0.0007013027206994593,
-0.11049362272024155,
-0.06590847671031952,
0.018331727012991905,
-0.06620670109987259,
-0.01696174032986164,
-0.026691440492868423,
0.07209671288728714,
-0.05095977708697319,
-0.0479402132332325,
-0.0036835866048932076,
-0.06698955595493317,
0.08991586416959763,
0.0644918903708458,
-0.06150960549712181,
-0.018974781036376953,
-0.016887182369828224,
-0.016374602913856506,
-0.03985076770186424,
-0.04808932915329933,
-0.01966443471610546,
-0.033159270882606506,
0.015684949234128,
0.04506976529955864,
-0.0392170324921608,
-0.03034473955631256,
0.0601675771176815,
-0.004780973773449659,
0.03683120757341385,
0.04119279608130455,
0.04521888121962547,
0.010410035029053688,
0.02292630821466446,
0.0072599975392222404,
-0.001382801216095686,
-0.013261844404041767,
-0.09901182353496552,
0.010139765217900276,
-0.01844356209039688,
0.015666309744119644,
0.023634599521756172,
0.004200826399028301,
-0.03207819163799286,
-0.02100646309554577,
0.02240440808236599,
0.0009471081430092454,
-0.04730647802352905,
0.03725991025567055,
0.07530266791582108,
0.008215260691940784,
-0.012311240658164024,
0.019123895093798637,
-0.03133261948823929,
-0.03601107746362686,
0.04950591176748276,
-0.02184523083269596,
0.027567487210035324,
0.017670031636953354,
0.023168617859482765,
0.0006791685591451824,
0.03858329728245735,
-0.00120456307195127,
-0.011295400559902191,
0.011519071646034718,
0.0723576620221138,
-0.04603900760412216,
-0.039291590452194214,
0.02123013325035572,
0.03265601024031639,
-0.05517225340008736,
0.0401117205619812,
0.022609440609812737,
0.057036180049180984,
0.00344826583750546,
-0.03364389017224312,
-0.010391395539045334,
-0.0414164699614048,
0.0012430066708475351,
0.03569421172142029,
0.05588054656982422,
-0.022590801119804382,
0.000245514209382236,
-0.024957988411188126,
-0.05196629837155342,
0.04040994867682457,
-0.023168617859482765,
-0.05293554067611694,
0.023299094289541245,
0.0302888210862875,
0.04678457975387573,
-0.03321518748998642,
-0.010876016691327095,
-0.022609440609812737,
0.036980319768190384,
0.07336418330669403,
0.008308456279337406,
0.03722263127565384,
-0.00902140885591507,
-0.006225517950952053,
-0.020820070058107376,
0.021081019192934036,
-0.03222730755805969,
-0.00208177394233644,
0.0013257183600217104,
0.03862057626247406,
-0.010177044197916985,
0.0505497120320797,
0.040820010006427765,
-0.016458479687571526,
-0.06803335249423981,
0.01678466610610485,
-0.04484609514474869,
-0.03252553567290306,
-0.027996189892292023,
0.0198321882635355,
-0.010177044197916985,
0.007371833082288504,
-0.03159357234835625,
-0.004692437592893839,
-0.04715736582875252,
-0.03496728092432022,
-0.05912378057837486,
0.05401661992073059,
0.0302888210862875,
-0.006332693621516228,
0.050326041877269745,
-0.01690582185983658,
0.043131280690431595,
0.022516243159770966,
0.015722228214144707,
-0.04562894627451897,
0.03457585349678993,
0.026449130848050117,
-0.00289840716868639,
-0.0155824339017272,
0.05737168714404106,
0.029394136741757393,
-0.008909572847187519,
0.00697574857622385,
-0.05312193185091019,
-0.01805213838815689,
0.03362525254487991,
-0.0285553690046072,
0.051071614027023315,
0.032972875982522964,
-0.009711062535643578,
-0.04458514600992203,
0.06393270939588547,
0.0536065548658371,
-0.028257140889763832,
0.04436147212982178,
-0.008443591184914112,
0.03828506916761398,
-0.03623475134372711,
0.04629995673894882,
-0.02741837315261364,
0.08723180741071701,
0.020298169925808907,
0.01178934145718813,
0.010773500427603722,
-0.022683996707201004,
0.02523757703602314
] |
725,798 | flask_admin.base | _add_view_to_menu |
Add a view to the menu tree
:param view:
View to add
| def _add_view_to_menu(self, view):
"""
Add a view to the menu tree
:param view:
View to add
"""
self.add_menu_item(MenuView(view.name, view), view.category)
| (self, view) | [
-0.06029827892780304,
-0.01588965766131878,
-0.0034709973260760307,
0.005485824309289455,
0.021540332585573196,
0.03529610484838486,
0.007184689864516258,
0.04861228168010712,
-0.014616654254496098,
0.01879284158349037,
0.03243871405720711,
0.04568162187933922,
0.05612209066748619,
0.01925075612962246,
-0.03672480210661888,
0.06484079360961914,
0.02350020967423916,
-0.03467334061861038,
0.036834701895713806,
-0.01572480984032154,
-0.0011087273014709353,
0.028115995228290558,
0.062020037323236465,
-0.012784993276000023,
-0.023591792210936546,
0.012867418117821217,
-0.04183513671159744,
0.04062623903155327,
0.021778447553515434,
-0.05612209066748619,
-0.04443609341979027,
-0.04575489088892937,
-0.026320967823266983,
0.007587655447423458,
-0.04004010930657387,
0.01273004338145256,
-0.0005764007801190019,
-0.014836453832685947,
0.05663495510816574,
0.022071514278650284,
0.04359352961182594,
0.010550366714596748,
0.03254861384630203,
-0.039637140929698944,
-0.015385951846837997,
-0.0028093098662793636,
-0.030387254431843758,
0.05802701786160469,
0.016594847664237022,
-0.019635405391454697,
0.0018373848870396614,
-0.012061486952006817,
-0.008448535576462746,
-0.02934320829808712,
-0.08030001819133759,
0.04645092040300369,
0.02465415559709072,
0.020734401419758797,
0.0033702561631798744,
0.07531789690256119,
-0.0017480914248153567,
0.04377669468522072,
-0.035662438720464706,
-0.027401646599173546,
-0.002580352360382676,
0.008077624253928661,
-0.022657645866274834,
-0.020661134272813797,
0.03601045534014702,
0.004991276189684868,
-0.05758741870522499,
0.02284081093966961,
0.04765981808304787,
0.060774508863687515,
0.04220146685838699,
0.017602261155843735,
-0.02069776877760887,
-0.011942429468035698,
0.006699299905449152,
0.057770583778619766,
-0.004659287631511688,
-0.05568249151110649,
0.029379840940237045,
0.01327954139560461,
0.020532919093966484,
0.04839248210191727,
-0.0020033791661262512,
-0.029508057981729507,
-0.0030680319759994745,
-0.006703878752887249,
-0.01064195018261671,
-0.010046659968793392,
-0.04480242729187012,
-0.07447533309459686,
-0.015156993642449379,
0.0006553911953233182,
0.04996770992875099,
-0.01860051602125168,
-0.035534221678972244,
0.05187263712286949,
0.01939728856086731,
0.023317042738199234,
-0.01141124777495861,
-0.002939815865829587,
-0.017794586718082428,
-0.07209417223930359,
-0.01181421335786581,
0.02128390036523342,
-0.03602876886725426,
0.04531529173254967,
0.04410639405250549,
-0.009890968911349773,
0.06249627098441124,
0.05469339340925217,
-0.042274732142686844,
0.015202785842120647,
-0.032969895750284195,
-0.02633928321301937,
-0.004569993820041418,
-0.001071521663106978,
0.0038899898063391447,
-0.001800751662813127,
-0.022437846288084984,
0.011237239465117455,
0.015907974913716316,
-0.04095593839883804,
-0.06740511953830719,
-0.01954382285475731,
0.015825551003217697,
0.009062142111361027,
0.02370169200003147,
0.0018808868480846286,
-0.017510678619146347,
-0.03710944950580597,
0.04780634865164757,
0.006342126056551933,
-0.01917748898267746,
-0.05077363923192024,
0.015248577110469341,
0.03320801258087158,
-0.06718531996011734,
-0.03908764570951462,
-0.011576097458600998,
0.029544690623879433,
-0.05059047415852547,
-0.019067591056227684,
-0.04615785554051399,
0.03351939469575882,
-0.03927081078290939,
0.017968593165278435,
-0.051176607608795166,
0.014589179307222366,
0.04465589299798012,
0.008901871740818024,
0.017941119149327278,
-0.00561404088512063,
-0.02692541480064392,
-0.05722108855843544,
0.026980364695191383,
-0.027181848883628845,
0.027493230998516083,
0.022657645866274834,
-0.008141732774674892,
0.07861488312482834,
-0.02518533729016781,
-0.019433923065662384,
0.04513212665915489,
-0.002218599198386073,
-0.0067542497999966145,
0.04410639405250549,
0.006204751320183277,
-0.02399475872516632,
-0.013792406767606735,
-0.02267596125602722,
-0.049051880836486816,
-0.03758568316698074,
-0.028940241783857346,
-0.01983688771724701,
0.026064535602927208,
-0.04557172209024429,
0.01078848261386156,
0.02692541480064392,
0.022272996604442596,
0.03232881426811218,
-0.017794586718082428,
-0.055132992565631866,
0.012372869066894054,
0.01961708813905716,
0.012372869066894054,
0.030845168977975845,
-0.03461839258670807,
-0.012024854309856892,
0.013572607189416885,
-0.08132574707269669,
-0.017968593165278435,
-0.008952242322266102,
-0.037878748029470444,
-0.030405571684241295,
-0.02252942882478237,
0.008214998990297318,
0.050004344433546066,
0.0020915279164910316,
0.009190358221530914,
0.01544090174138546,
0.03218228369951248,
0.01785869337618351,
0.018023543059825897,
0.006928257644176483,
-0.010449625551700592,
-0.009020930156111717,
0.03287831321358681,
0.018774524331092834,
-0.005710202734917402,
0.01879284158349037,
-0.050517208874225616,
-0.028042728081345558,
-0.09150978177785873,
0.0034229164011776447,
-0.04044307395815849,
-0.013792406767606735,
-0.03174268454313278,
0.07136151194572449,
-0.05824681743979454,
0.04293413087725639,
0.013215433806180954,
-0.04634102061390877,
0.0003153891011606902,
-0.02474573813378811,
0.03452681005001068,
0.030863486230373383,
-0.012317920103669167,
-0.018747050315141678,
0.04209156706929207,
-0.026962049305438995,
-0.06154380738735199,
-0.009817702695727348,
-0.016292624175548553,
0.016787173226475716,
-0.027969462797045708,
-0.002201427472755313,
0.0033885727170854807,
0.020386386662721634,
0.03612035512924194,
0.017840377986431122,
0.0023433812893927097,
0.029086776077747345,
-0.04985781013965607,
-0.019433923065662384,
0.00015354469360318035,
0.03853814676403999,
0.015129519626498222,
-0.06703878939151764,
-0.01214391179382801,
0.02020321972668171,
-0.005366766359657049,
-0.005275183357298374,
-0.01711687073111534,
-0.00022709733457304537,
-0.035534221678972244,
-0.05524289235472679,
-0.021357165649533272,
-0.010706057772040367,
0.043446995317935944,
-0.020368069410324097,
-0.07374266535043716,
-0.03240208327770233,
0.011695154942572117,
-0.0019965104293078184,
0.001708023832179606,
-0.03126645088195801,
0.16953852772712708,
0.04091930389404297,
0.04231136664748192,
0.015843866392970085,
0.02699868194758892,
-0.06700215488672256,
0.004038812126964331,
0.008695810101926327,
-0.11370950937271118,
0.04520539194345474,
0.03993020951747894,
0.002495638094842434,
-0.01785869337618351,
0.10814125835895538,
-0.11707976460456848,
-0.0038648045156151056,
0.019598770886659622,
0.03540600463747978,
-0.00433645723387599,
0.0038716732524335384,
0.056012190878391266,
0.04656082019209862,
0.026174435392022133,
0.04194503650069237,
-0.008965980261564255,
0.035149574279785156,
-0.04645092040300369,
0.06491406261920929,
0.0008070755866356194,
0.044399458914995193,
0.011704313568770885,
-0.027200164273381233,
0.03430701047182083,
-0.039417341351509094,
0.04044307395815849,
0.009126250632107258,
-0.015697333961725235,
0.02115568332374096,
-0.000854011916089803,
0.02663234993815422,
-0.038245078176259995,
0.03723766654729843,
-0.008036412298679352,
0.02619275078177452,
-0.024892272427678108,
0.03579065576195717,
-0.02225467935204506,
-0.004217399284243584,
0.015422584488987923,
0.00816462840884924,
-0.030680321156978607,
0.03672480210661888,
-0.053667664527893066,
-0.02311556041240692,
0.04765981808304787,
-0.009048405103385448,
0.014964669942855835,
-0.037952013313770294,
-0.006351284217089415,
0.006287176162004471,
-0.01983688771724701,
0.013874831609427929,
-0.007596813607960939,
-0.000290919269900769,
-0.09473349899053574,
-0.005165283568203449,
-0.027474913746118546,
0.022932395339012146,
-0.025624936446547508,
-0.029361523687839508,
0.05502309277653694,
0.04330046474933624,
-0.07297337055206299,
-0.01603619195520878,
0.07868815213441849,
-0.02078935131430626,
0.037219349294900894,
-0.015385951846837997,
-0.01002834364771843,
0.014406013302505016,
-0.015779757872223854,
-0.058869581669569016,
0.009900127537548542,
-0.04110247269272804,
-0.012684252113103867,
0.04472915828227997,
0.006397075951099396,
-0.04685388505458832,
0.01233623642474413,
-0.01704360544681549,
0.03405057638883591,
0.011631046421825886,
-0.01756562851369381,
-0.03221891447901726,
-0.02540513686835766,
-0.02350020967423916,
0.03674311935901642,
0.017464887350797653,
0.061580441892147064,
-0.06550019234418869,
0.04374006390571594,
-0.039563875645399094,
0.07656342536211014,
0.09026425331830978,
0.010339725762605667,
-0.02245616354048252,
0.041761867702007294,
0.03886784613132477,
-0.07059220969676971,
-0.010806799866259098,
-0.01500130258500576,
0.013197116553783417,
0.012418661266565323,
-0.017904484644532204,
0.040516339242458344,
-0.04234800115227699,
0.025954635813832283,
0.039856940507888794,
-0.009245308116078377,
-0.023225460201501846,
0.04483905807137489,
0.007088527549058199,
0.009533795528113842,
0.02524028718471527,
-0.02055123634636402,
-0.05678148940205574,
-0.01609114184975624,
-0.023243777453899384,
-0.013389441184699535,
0.04282423108816147,
0.08520886301994324,
-0.039344076067209244,
-0.04450935870409012,
-0.025643253698945045,
-0.015706492587924004,
0.05692801997065544,
-0.08813952654600143,
0.058503251522779465,
-0.01175010483711958,
-0.056451790034770966,
0.03522283956408501,
0.007381593342870474,
-0.058942846953868866,
-0.028225895017385483,
-0.015083727426826954,
-0.03359265998005867,
0.04590142145752907,
0.031724367290735245,
-0.04516875743865967,
-0.001205461798235774,
0.018646307289600372,
0.05934581533074379,
-0.003727430012077093,
0.07147140800952911,
0.06392496824264526,
-0.023518526926636696,
-0.011658521369099617,
0.030020922422409058,
0.030716953799128532,
0.0048081097193062305,
0.0029604218434542418,
0.0016931415302678943,
0.04472915828227997,
0.020166587084531784,
-0.002763518365100026,
0.012171386741101742,
0.013471866026520729,
-0.07839508354663849,
-0.07007934898138046,
0.062386371195316315,
0.006923678331077099,
0.006854990962892771,
0.010733532719314098,
-0.01078848261386156,
0.011631046421825886,
-0.021906664595007896,
-0.02181508205831051,
-0.029434790834784508,
0.03820844739675522,
-0.07125160843133926,
0.01215307042002678,
0.09260877966880798,
0.00023711423273198307,
0.015688175335526466,
0.0026673562824726105,
-0.03117486834526062,
-0.07868815213441849,
-0.02091756835579872,
0.004677603952586651,
0.06388833373785019,
-0.01837155967950821,
0.006104010157287121,
0.0023319332394748926,
0.0023307884112000465,
0.011887479573488235,
0.006236805580556393,
-0.0038670941721647978,
-0.0036129511427134275,
-0.01610945723950863,
-0.025368504226207733,
-0.0022323366720229387,
0.0024590047542005777,
-0.0071892691776156425,
-0.03685301914811134,
0.002990186447277665,
-0.031944166868925095,
0.060554709285497665,
-0.04480242729187012,
-0.07388920336961746,
0.011502830311655998,
0.03635846823453903,
-0.022932395339012146,
0.010330567136406898,
0.05033404380083084,
-0.04315393045544624,
0.08022674918174744,
0.020038370043039322,
0.01122808177024126,
0.05238550156354904,
-0.0022758387494832277,
-0.007976883091032505,
-0.04857564717531204,
-0.07502482831478119,
0.03375751152634621,
0.03908764570951462,
-0.0004003896319773048,
-0.009346050210297108,
0.010632791556417942,
0.0012627012329176068,
-0.02721848152577877,
-0.003761773696169257,
-0.023078927770256996,
0.02159528248012066,
-0.011685996316373348,
0.020368069410324097,
0.02423287369310856,
-0.005742256995290518,
0.003248908556997776,
-0.06348536908626556,
-0.031944166868925095,
-0.003709113458171487,
0.012565193697810173,
-0.005852156784385443,
-0.00856759399175644,
0.02948974072933197,
0.03375751152634621,
-0.07634362578392029,
0.019287388771772385,
0.036779750138521194,
-0.004771476611495018,
0.032896630465984344,
-0.007876141928136349,
0.056158725172281265,
-0.07301000505685806,
-0.02516702190041542,
0.007619709242135286,
-0.030387254431843758,
0.04798951745033264,
0.022437846288084984,
0.03923417627811432,
-0.04022327437996864,
0.002813889179378748,
-0.04469252750277519,
0.026229383423924446,
-0.007816612720489502,
0.01229960285127163,
-0.03828171268105507,
0.0013588634319603443,
-0.05963888019323349,
-0.014982986263930798,
-0.02071608416736126,
-0.03758568316698074,
0.010861748829483986,
-0.04751328378915787,
0.005334712564945221,
0.017208455130457878,
0.009323153644800186,
-0.04923504590988159,
0.015559959225356579,
-0.008476010523736477,
-0.051982536911964417,
0.03982030972838402,
-0.04022327437996864,
0.06967638432979584,
0.09693149477243423,
0.016640638932585716,
-0.004849322140216827,
-0.015688175335526466,
0.054400328546762466,
-0.003349649952724576,
0.002203717129305005,
-0.01155778020620346,
-0.032969895750284195,
0.003308437531813979,
-0.016054507344961166,
0.037365883588790894,
-0.057111188769340515,
0.025936318561434746,
0.028299160301685333,
0.00848974846303463,
0.005581986624747515,
-0.06590315699577332,
-0.04209156706929207,
-0.005581986624747515,
-0.07297337055206299,
-0.04315393045544624,
0.032823365181684494,
0.07308327406644821,
0.007441122550517321,
-0.0004327298956923187,
-0.06579326093196869,
0.037512414157390594,
-0.019726987928152084,
0.02020321972668171,
-0.027969462797045708,
0.0013886279193684459,
0.04549845680594444,
0.03342781215906143,
0.04670735448598862,
0.014369379729032516,
-0.013847356662154198,
0.008874396793544292,
-0.0002444122510496527,
-0.022291313856840134,
0.022932395339012146,
-0.027767978608608246,
0.012904050759971142,
-0.026577400043606758,
-0.03993020951747894,
0.03207238391041756,
0.04564499109983444,
-0.0068504116497933865,
0.00005584419341175817,
-0.00217738701030612,
0.02181508205831051,
0.04472915828227997,
0.011576097458600998,
-0.03132140263915062,
-0.04157870262861252,
-0.018188392743468285,
0.009451370686292648,
-0.008242473937571049,
0.021613599732518196,
0.09092364460229874,
-0.01094417367130518,
-0.058869581669569016,
-0.012034012004733086,
-0.04861228168010712,
0.06685562431812286,
0.03051547147333622,
-0.02721848152577877,
0.015422584488987923,
-0.020899251103401184,
-0.015092886053025723,
-0.052129071205854416,
-0.028006095439195633,
0.002552877413108945,
-0.020734401419758797,
-0.00907588005065918,
-0.0026650666259229183,
0.04941821098327637,
-0.07553769648075104,
-0.036541637033224106,
-0.03657826781272888,
0.032383766025304794,
-0.050737008452415466,
0.003535105613991618,
-0.008988875895738602,
0.019855204969644547,
0.015276052057743073,
-0.038171812891960144,
-0.053887464106082916,
-0.031284768134355545,
-0.017016129568219185,
0.0071022650226950645,
0.06663582473993301,
-0.014680761843919754,
0.021778447553515434,
-0.03710944950580597,
0.015248577110469341,
0.02861054427921772,
-0.03469165787100792,
-0.02780461311340332,
0.018252501264214516,
0.05656168982386589,
0.03688964992761612,
0.01719929650425911,
0.0038144339341670275,
-0.04615785554051399,
0.00830658245831728,
-0.009781069122254848,
-0.02034975215792656,
0.03762231394648552,
0.01042215060442686,
0.08762665838003159,
-0.015312685631215572,
0.02078935131430626,
-0.006406234111636877,
-0.005719361361116171,
0.03923417627811432,
0.02970954030752182,
-0.07187437266111374,
-0.021631915122270584,
0.04872218146920204,
0.03476492315530777,
-0.07773569226264954,
0.02912340871989727,
0.04498559236526489,
0.056012190878391266,
-0.041322268545627594,
-0.07110507786273956,
0.014891402795910835,
0.0005017033545300364,
-0.04469252750277519,
-0.004112078808248043,
0.01669558882713318,
-0.011676838621497154,
0.006868728436529636,
0.021998247131705284,
-0.036614902317523956,
0.015843866392970085,
-0.029324891045689583,
-0.03930744156241417,
0.05678148940205574,
0.014314429834485054,
0.06597642600536346,
-0.028921926394104958,
-0.06612295657396317,
-0.008036412298679352,
0.03273177891969681,
0.06901698559522629,
-0.00391746498644352,
-0.005233970936387777,
0.005137809086591005,
-0.03507630527019501,
-0.036999549716711044,
-0.006676404271274805,
-0.02298734523355961,
0.00465012900531292,
-0.00662603322416544,
0.002923788735643029,
-0.012675093486905098,
0.05304490029811859,
0.016961179673671722,
0.010815957561135292,
-0.055132992565631866,
-0.0027016999665647745,
0.0035122097469866276,
-0.05278846621513367,
-0.04817268252372742,
0.017144346609711647,
-0.0026650666259229183,
0.014250322245061398,
-0.01872873306274414,
0.06169033795595169,
-0.03927081078290939,
-0.04469252750277519,
-0.03798864781856537,
0.017245087772607803,
-0.009790227748453617,
-0.036834701895713806,
0.022657645866274834,
0.029031826183199883,
-0.012418661266565323,
0.006410813424736261,
0.03533273935317993,
-0.08308413624763489,
0.015385951846837997,
0.0030840591061860323,
-0.008127995766699314,
-0.030039239674806595,
0.02377495914697647,
0.009570428170263767,
-0.04586479067802429,
0.02357347682118416,
-0.052202336490154266,
0.0037800902500748634,
0.03831834718585014,
-0.04253116622567177,
0.06571999192237854,
0.02553335390985012,
0.027969462797045708,
-0.05374092981219292,
0.013517657294869423,
0.05963888019323349,
-0.012308761477470398,
0.05172610282897949,
-0.02745659649372101,
0.07242387533187866,
0.0007578497170470655,
0.02890360914170742,
-0.053154800087213516,
0.017107712104916573,
-0.020441336557269096,
0.061946772038936615,
0.028409060090780258,
0.02269427850842476,
-0.003908306360244751
] |
725,799 | flask_admin.base | _init_extension | null | def _init_extension(self):
if not hasattr(self.app, 'extensions'):
self.app.extensions = dict()
admins = self.app.extensions.get('admin', [])
for p in admins:
if p.endpoint == self.endpoint:
raise Exception(u'Cannot have two Admin() instances with same'
u' endpoint name.')
if p.url == self.url and p.subdomain == self.subdomain:
raise Exception(u'Cannot assign two Admin() instances with same'
u' URL and subdomain to the same application.')
admins.append(self)
self.app.extensions['admin'] = admins
| (self) | [
0.030668461695313454,
-0.021756896749138832,
0.03933766111731529,
0.04071727767586708,
0.011260638944804668,
0.037398744374513626,
0.030761679634451866,
0.013479208573698997,
-0.016005394980311394,
0.058838702738285065,
0.04000882804393768,
-0.014802892692387104,
0.010440327227115631,
0.0016231447225436568,
-0.04552728682756424,
-0.052872803062200546,
0.013674965128302574,
0.021719610318541527,
0.018699372187256813,
-0.05719808116555214,
-0.03525475040078163,
-0.005094320513308048,
0.037529248744249344,
0.045639146119356155,
-0.037752971053123474,
0.052649080753326416,
-0.00988102424889803,
0.0590997114777565,
0.07233655452728271,
-0.024348335340619087,
-0.0046072606928646564,
-0.03544118255376816,
0.04321549832820892,
0.0011180238798260689,
0.03956138342618942,
-0.025075430050492287,
0.005481171887367964,
0.025485584512352943,
-0.06629607826471329,
0.01487746648490429,
0.06323855370283127,
-0.0284498929977417,
0.062418244779109955,
-0.02248399145901203,
0.04970341548323631,
0.08113625645637512,
0.014299520291388035,
0.05656420439481735,
-0.011903837323188782,
-0.006651048082858324,
-0.028915978968143463,
-0.011353855952620506,
0.035646259784698486,
0.024497482925653458,
-0.05332024395465851,
0.0707705020904541,
0.06670623272657394,
0.08001765608787537,
0.00023682997561991215,
0.009722555056214333,
-0.04832380264997482,
-0.03482595086097717,
0.02145860157907009,
-0.04254433512687683,
0.0066836741752922535,
0.0055417632684111595,
-0.06107591465115547,
0.015884213149547577,
-0.019519682973623276,
0.05865226686000824,
0.019006989896297455,
-0.0386664979159832,
-0.035776764154434204,
-0.02932613343000412,
0.02000441402196884,
0.028729544952511787,
0.0020799089688807726,
0.007471359334886074,
-0.02649233117699623,
0.03186164051294327,
0.037827543914318085,
0.01029117964208126,
-0.02567202039062977,
0.07837703078985214,
0.08255316317081451,
0.009983562864363194,
-0.020228134468197823,
-0.008781061507761478,
0.060292892158031464,
0.04004611447453499,
-0.05481171980500221,
-0.018923094496130943,
0.0532829575240612,
-0.03189893066883087,
0.020172204822301865,
-0.033241257071495056,
-0.04735434427857399,
-0.0017979269614443183,
0.013609712943434715,
-0.011260638944804668,
-0.03465816006064415,
-0.03087354078888893,
0.025858454406261444,
0.007583220023661852,
0.00703789945691824,
-0.05201520398259163,
-0.0014238929143175483,
-0.028878692537546158,
-0.07207554578781128,
-0.016322333365678787,
-0.008450140245258808,
0.03406156972050667,
0.0055883717723190784,
0.003945418633520603,
0.01656469888985157,
0.021551819518208504,
-0.012602967210114002,
0.005098981317132711,
0.09709504246711731,
-0.032570093870162964,
-0.03268195316195488,
0.090457983314991,
-0.014196980744600296,
0.03335311636328697,
0.04645945876836777,
-0.0005826075794175267,
0.025802522897720337,
-0.02248399145901203,
-0.004006009548902512,
-0.08106168359518051,
0.04071727767586708,
0.007984054274857044,
-0.07009933888912201,
-0.02917698584496975,
0.00430663488805294,
-0.03409885615110397,
0.014691032469272614,
0.017347723245620728,
-0.07453648000955582,
0.045266278088092804,
-0.10074915736913681,
0.07610253244638443,
-0.026455044746398926,
0.057235367596149445,
-0.04179859533905983,
0.008934869430959225,
-0.04552728682756424,
0.07740756869316101,
0.0481746532022953,
-0.013656320981681347,
-0.03594455495476723,
0.008189131505787373,
0.009918310679495335,
-0.04000882804393768,
-0.05048644170165062,
-0.00258910795673728,
-0.025634732097387314,
0.029941366985440254,
0.050896596163511276,
-0.027610937133431435,
-0.023546667769551277,
0.013702929951250553,
-0.05481171980500221,
-0.0013236843515187502,
-0.044184956699609756,
-0.006096405442804098,
-0.003008585423231125,
-0.05167962238192558,
-0.020694220438599586,
0.060814905911684036,
0.013488530181348324,
0.0025168645661324263,
0.02393817901611328,
-0.005947257857769728,
-0.011503003537654877,
0.04843566194176674,
0.018708694726228714,
-0.019799334928393364,
0.013423277996480465,
0.00004810153768630698,
0.008408192545175552,
0.017021462321281433,
-0.036802154034376144,
0.0612996369600296,
0.019351892173290253,
0.03147013112902641,
0.018876485526561737,
0.04489341005682945,
-0.00021658436162397265,
0.0532456710934639,
-0.03180571272969246,
0.008044645190238953,
0.02000441402196884,
-0.002192934975028038,
-0.04034440964460373,
0.06163521856069565,
-0.0050337291322648525,
-0.030239662155508995,
-0.04970341548323631,
0.007070525549352169,
-0.08411920815706253,
-0.01801888644695282,
0.015651170164346695,
-0.029009195044636726,
0.03881564736366272,
0.05481171980500221,
0.017198575660586357,
0.03115319088101387,
-0.01153096929192543,
-0.02954985573887825,
0.027536364272236824,
-0.013693608343601227,
-0.017990920692682266,
-0.00955476425588131,
-0.012677541002631187,
-0.04638488218188286,
0.04135115444660187,
-0.010020850226283073,
0.03456494212150574,
0.02065693400800228,
0.007215011864900589,
0.01663927175104618,
-0.01743161864578724,
-0.006762908771634102,
-0.03963595628738403,
0.034042924642562866,
0.04623573645949364,
-0.026138106361031532,
-0.003826566506177187,
0.04470697417855263,
0.020190848037600517,
0.011903837323188782,
0.023658527061343193,
-0.05015086010098457,
0.008687843568623066,
0.0445205383002758,
0.033893778920173645,
0.005667606368660927,
0.015492700040340424,
0.008053966797888279,
0.024982212111353874,
0.005975223146378994,
0.019650187343358994,
0.023528024554252625,
-0.01691892370581627,
0.023080581799149513,
-0.015147796832025051,
-0.021831471472978592,
0.009713233448565006,
-0.04325278475880623,
0.02071286365389824,
0.013805468566715717,
0.01655537635087967,
-0.012994479387998581,
-0.05917428433895111,
0.004782042931765318,
0.008231079205870628,
0.037752971053123474,
-0.0031507418025285006,
-0.02421783097088337,
-0.0022523608058691025,
-0.00028984725940972567,
0.02727535553276539,
0.02363988384604454,
-0.07628896832466125,
0.010636083781719208,
0.03851735219359398,
0.03201078996062279,
-0.009074695408344269,
0.04261890798807144,
0.08471579849720001,
0.053432103246450424,
0.031190479174256325,
0.04071727767586708,
-0.003838218515738845,
-0.03409885615110397,
0.021831471472978592,
-0.0019284309819340706,
-0.04135115444660187,
-0.021328097209334373,
0.03508695960044861,
-0.028393961489200592,
0.03784618899226189,
0.04910682514309883,
-0.006604439113289118,
-0.043588366359472275,
-0.026380470022559166,
-0.003311541397124529,
-0.032420944422483444,
-0.03989696502685547,
-0.04310363903641701,
0.02954985573887825,
0.01744093932211399,
0.03516153246164322,
-0.02597031556069851,
0.0061057270504534245,
-0.019090885296463966,
0.04276805743575096,
0.0371936671435833,
0.040754564106464386,
-0.018186677247285843,
0.010375075042247772,
-0.012556358240544796,
0.04519170522689819,
0.02043321169912815,
-0.03122776560485363,
0.005071016028523445,
0.018699372187256813,
0.0664079412817955,
0.0357394777238369,
-0.009582729078829288,
0.002460934454575181,
-0.04224603995680809,
0.10328467190265656,
-0.014952040277421474,
0.013069053180515766,
0.04612387716770172,
-0.006250213831663132,
-0.019967125728726387,
0.07666183263063431,
0.002260517328977585,
0.08195657283067703,
-0.02815159782767296,
0.023677172139286995,
0.05995731055736542,
0.037827543914318085,
0.081658273935318,
-0.012677541002631187,
0.008697166107594967,
-0.011139456182718277,
-0.07673640549182892,
-0.02692113071680069,
-0.007410768419504166,
-0.009181895293295383,
-0.028039736673235893,
-0.014746963046491146,
-0.015874890610575676,
-0.0466831773519516,
-0.019873909652233124,
-0.06510289758443832,
-0.00767643703147769,
-0.01035643182694912,
-0.04981527850031853,
-0.03238365799188614,
-0.013311417773365974,
-0.05686249956488609,
-0.004178461618721485,
-0.004150496330112219,
-0.05123217776417732,
-0.04798822104930878,
-0.01470035407692194,
-0.017021462321281433,
-0.03174978122115135,
-0.031768426299095154,
0.06003188341856003,
-0.07326872646808624,
-0.05291008949279785,
-0.031992144882678986,
0.006581135094165802,
0.004180791787803173,
0.012164846062660217,
-0.002465595258399844,
-0.03926308825612068,
-0.013050409033894539,
-0.027778727933764458,
-0.045862868428230286,
0.03896479308605194,
-0.04787635803222656,
0.032066721469163895,
-0.1189451590180397,
0.029605785384774208,
-0.025056786835193634,
0.03784618899226189,
-0.04713062196969986,
0.03456494212150574,
-0.008804365061223507,
-0.013796146959066391,
-0.0023933518677949905,
-0.04362565279006958,
0.015660490840673447,
0.06390971690416336,
0.0335581973195076,
0.023509379476308823,
0.026902487501502037,
-0.010412362404167652,
-0.051828768104314804,
-0.005112964194267988,
0.03230908513069153,
0.0136842867359519,
0.03598184138536453,
0.022651782259345055,
-0.014579171314835548,
-0.05820482596755028,
0.06592321395874023,
-0.027536364272236824,
0.012453819625079632,
-0.08859363943338394,
-0.0002754277375061065,
-0.037827543914318085,
0.03298024833202362,
0.0459747277200222,
-0.016741810366511345,
0.08344804495573044,
0.014252911321818829,
0.05119489133358002,
0.015557952225208282,
0.006534526590257883,
0.08307518064975739,
0.007648472208529711,
0.024255117401480675,
-0.06532662361860275,
-0.018811233341693878,
-0.0033907759934663773,
-0.03320397064089775,
0.0008331288117915392,
-0.047242481261491776,
0.032570093870162964,
0.016797741875052452,
-0.004535017069429159,
0.010496257804334164,
0.010440327227115631,
0.005192198790609837,
0.029680360108613968,
0.0033231936395168304,
-0.015856247395277023,
-0.01328345201909542,
-0.010067458264529705,
-0.01536219660192728,
-0.022950077429413795,
-0.021645035594701767,
-0.05216434970498085,
0.04810008034110069,
0.016592662781476974,
-0.05462528392672539,
0.027200782671570778,
-0.04336464777588844,
0.03143284469842911,
-0.03443443775177002,
-0.047317054122686386,
0.020246777683496475,
-0.01693756692111492,
-0.039151228964328766,
0.005392615683376789,
0.021700967103242874,
0.015091866254806519,
0.0014215623959898949,
-0.04757806286215782,
0.04362565279006958,
0.009526798501610756,
-0.031097261235117912,
0.0005549336783587933,
0.030258307233452797,
0.04224603995680809,
-0.011074204929172993,
0.009722555056214333,
-0.010347110219299793,
0.0011733716819435358,
0.0008878938970156014,
0.0036121669691056013,
0.06159793213009834,
-0.06864515691995621,
-0.008823009207844734,
-0.03521746024489403,
-0.05238807201385498,
-0.02852446585893631,
0.03449036926031113,
0.07058407366275787,
0.028860047459602356,
0.027331285178661346,
0.025448298081755638,
0.032066721469163895,
-0.0007795289275236428,
0.04414767026901245,
-0.03547846898436546,
0.0008471113978885114,
0.024758491665124893,
0.038330916315317154,
-0.03186164051294327,
0.02472120337188244,
-0.04135115444660187,
-0.021402671933174133,
0.015930820256471634,
0.014066477306187153,
0.0031157853081822395,
-0.03989696502685547,
-0.08941394835710526,
0.0021498219575732946,
-0.0686078667640686,
-0.015259657055139542,
-0.005784127861261368,
-0.0009409112390130758,
0.028785474598407745,
-0.05537102371454239,
0.052350785583257675,
0.008128540590405464,
0.008869617246091366,
0.004218078684061766,
0.027182137593626976,
0.038107194006443024,
-0.01793499104678631,
0.0028291423805058002,
0.01859683357179165,
0.006021831650286913,
-0.016984175890684128,
0.0061942837201058865,
-0.0016802401514723897,
-0.10499986261129379,
0.02378903143107891,
-0.04261890798807144,
-0.03292431682348251,
-0.015996072441339493,
-0.014681710861623287,
-0.012313993647694588,
0.018279895186424255,
0.031414199620485306,
0.011400464922189713,
-0.01912817172706127,
0.025224577635526657,
0.08150912821292877,
0.04269348084926605,
0.021421315148472786,
-0.038778360933065414,
0.0371936671435833,
-0.033092111349105835,
0.012108915485441685,
-0.05216434970498085,
-0.04299177601933479,
-0.007792958524078131,
-0.030966756865382195,
0.08001765608787537,
-0.008333618752658367,
0.03152605891227722,
-0.008655218407511711,
-0.029531212523579597,
-0.031917572021484375,
-0.0029806203674525023,
-0.055408310145139694,
-0.003817244665697217,
0.07725842297077179,
0.05279822647571564,
0.0014285537181422114,
-0.009480190463364124,
0.02153317630290985,
-0.04996442422270775,
-0.045937441289424896,
-0.07904819399118423,
-0.015474056825041771,
0.024124613031744957,
-0.007112473249435425,
-0.00831963587552309,
0.028990551829338074,
-0.013833434320986271,
-0.0020799089688807726,
0.014774927869439125,
-0.03167520835995674,
-0.057011645287275314,
-0.007541272323578596,
0.02647368796169758,
0.010608118027448654,
0.03585134074091911,
-0.007797619793564081,
-0.02224162593483925,
-0.03952409699559212,
-0.02000441402196884,
-0.0008232244872488081,
-0.02218569628894329,
-0.014215624891221523,
0.0032392980065196753,
-0.06998748332262039,
0.006739604286849499,
-0.04172402247786522,
-0.03655979037284851,
-0.023155154660344124,
-0.016984175890684128,
-0.030258307233452797,
0.011241995729506016,
-0.005369311198592186,
0.04955426976084709,
-0.02233484387397766,
-0.01759008690714836,
-0.026455044746398926,
0.03020237572491169,
-0.025634732097387314,
0.0019703786820173264,
0.005071016028523445,
-0.02173825353384018,
0.05790653079748154,
0.030258307233452797,
-0.03320397064089775,
-0.02531779371201992,
-0.03670893609523773,
0.06912988424301147,
0.018205320462584496,
-0.03814448416233063,
0.06655708700418472,
-0.021775539964437485,
-0.04429681971669197,
-0.026753339916467667,
-0.011335212737321854,
0.006543848197907209,
-0.005266772583127022,
0.02399411052465439,
0.021924687549471855,
-0.11260639131069183,
0.05097116902470589,
-0.03670893609523773,
-0.006623082794249058,
-0.046720463782548904,
-0.03348362073302269,
-0.05231349915266037,
0.0017268487717956305,
0.021048445254564285,
-0.009769164025783539,
-0.0058913277462124825,
0.003777627367526293,
-0.009102660231292248,
-0.07196368277072906,
-0.03325990214943886,
0.04314092546701431,
0.0008424505358561873,
-0.07103151082992554,
0.045639146119356155,
0.002421316923573613,
-0.010086102411150932,
-0.03696994483470917,
-0.022558564320206642,
0.029232917353510857,
0.02874818816781044,
0.01035643182694912,
0.03312939777970314,
0.03698858991265297,
-0.004385869950056076,
-0.016173185780644417,
-0.06260468065738678,
0.062194522470235825,
-0.05141861364245415,
-0.020395925268530846,
-0.05428970232605934,
0.0313582681119442,
0.06260468065738678,
0.048696670681238174,
-0.052574507892131805,
0.016946889460086823,
-0.012817366048693657,
-0.0015287622809410095,
0.07986850291490555,
-0.015492700040340424,
-0.015688456594944,
-0.03741738945245743,
-0.025373725220561028,
-0.012388567440211773,
-0.0030202376656234264,
-0.04280534386634827,
0.04470697417855263,
-0.07617710530757904,
0.016583342105150223,
-0.031059974804520607,
-0.023155154660344124,
0.021477244794368744,
-0.019519682973623276,
0.012780079618096352,
-0.02634318359196186,
-0.005318041890859604,
-0.023378876969218254,
0.05041186884045601,
0.033017534762620926,
0.02714485116302967,
-0.023509379476308823,
0.037398744374513626,
-0.007266281638294458,
0.02196197398006916,
-0.029083769768476486,
-0.005084998905658722,
0.014793571084737778,
-0.0062455530278384686,
-0.013758860528469086,
-0.026660121977329254,
0.048547521233558655,
-0.009769164025783539,
0.005807432346045971,
-0.06555034220218658,
-0.012649575248360634,
-0.01582828164100647,
-0.024926282465457916,
-0.03225315362215042,
0.0031717156525701284,
0.023658527061343193,
-0.00004810153768630698,
0.03320397064089775,
0.006599778309464455,
-0.040605418384075165,
0.031097261235117912,
-0.0077370284125208855,
0.038778360933065414,
0.021029802039265633,
-0.02962442860007286,
-0.022353487089276314,
-0.06912988424301147,
-0.04657131806015968,
0.0055697280913591385,
0.035720836371183395,
0.009918310679495335,
-0.030090514570474625,
0.009573407471179962,
0.03422936052083969,
-0.017907025292515755,
-0.03628013655543327,
0.007373481523245573,
-0.04116471856832504,
-0.01455120649188757,
-0.004411504603922367,
0.0364665724337101,
0.09739334136247635,
-0.04880852997303009,
-0.004066600929945707,
-0.01535287406295538,
0.036373354494571686,
-0.0038335577119141817,
0.01649944670498371,
0.02203654870390892,
-0.004763399250805378,
-0.0029083769768476486,
0.03132098168134689,
-0.0299227237701416,
0.06983833014965057,
0.004493069369345903,
-0.040157973766326904,
-0.02421783097088337,
-0.03150741755962372,
-0.035347964614629745,
-0.05529644712805748,
-0.04795093461871147,
-0.04142572730779648,
0.11260639131069183,
0.037547893822193146,
-0.05824211239814758,
-0.01014203205704689,
0.04936783388257027,
-0.0568997859954834,
-0.02130945399403572,
0.04336464777588844,
-0.043513793498277664,
0.003933766391128302,
0.039002079516649246,
-0.020228134468197823,
0.019295962527394295,
0.015241013839840889,
-0.03642928600311279,
0.034266646951436996,
0.058987852185964584,
-0.015399483032524586,
-0.017888382077217102,
0.007345516234636307,
0.029456637799739838,
-0.03655979037284851,
-0.0018025877652689815,
-0.024646630510687828,
0.03122776560485363,
-0.018205320462584496,
-0.021402671933174133,
-0.002275665057823062,
-0.01758076623082161,
0.030687104910612106,
-0.0015637186588719487,
0.0649164617061615,
0.018578190356492996,
0.06025560572743416,
-0.0039104619063436985
] |
725,800 | flask_admin.base | _set_admin_index_view |
Add the admin index view.
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param url:
Base URL
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
| def _set_admin_index_view(self, index_view=None,
endpoint=None, url=None):
"""
Add the admin index view.
:param index_view:
Home page view to use. Defaults to `AdminIndexView`.
:param url:
Base URL
:param endpoint:
Base endpoint name for index view. If you use multiple instances of the `Admin` class with
a single Flask application, you have to set a unique endpoint name for each instance.
"""
self.index_view = index_view or AdminIndexView(endpoint=endpoint, url=url)
self.endpoint = endpoint or self.index_view.endpoint
self.url = url or self.index_view.url
# Add predefined index view
# assume index view is always the first element of views.
if len(self._views) > 0:
self._views[0] = self.index_view
self._menu[0] = MenuView(self.index_view.name, self.index_view)
else:
self.add_view(self.index_view)
| (self, index_view=None, endpoint=None, url=None) | [
-0.043694235384464264,
0.0014131349744275212,
0.015722695738077164,
0.003335801884531975,
0.01870458573102951,
0.010371356271207333,
0.013905448839068413,
0.01029103621840477,
-0.11726761609315872,
0.004211795050650835,
0.0051756384782493114,
0.05116401985287666,
-0.008749891072511673,
0.016274897381663322,
-0.01413637027144432,
-0.008207729086279869,
0.02827274054288864,
0.012148442678153515,
0.07353322207927704,
-0.023132242262363434,
-0.028192419558763504,
-0.025863131508231163,
0.07148505002260208,
0.041284624487161636,
-0.006109361536800861,
-0.03530076518654823,
-0.06578230857849121,
0.03769029304385185,
0.07469786703586578,
-0.06445702910423279,
0.0015762855764478445,
-0.042007509618997574,
0.05152546241879463,
0.034919243305921555,
0.0802801251411438,
-0.0553005151450634,
0.029778745025396347,
0.013684567995369434,
0.02761009708046913,
0.06317190080881119,
0.03200763463973999,
-0.06779032200574875,
-0.014086170122027397,
-0.007971787825226784,
-0.002059462247416377,
0.06606343388557434,
0.029477544128894806,
0.061926938593387604,
-0.03644532710313797,
-0.03036106750369072,
-0.03228875249624252,
0.01351388730108738,
-0.017991743981838226,
-0.009698674082756042,
-0.026907294988632202,
0.043372951447963715,
-0.00511288782581687,
0.023031841963529587,
-0.011325160041451454,
0.049115851521492004,
0.0016766858752816916,
-0.00546679925173521,
0.009934615343809128,
-0.028393220156431198,
0.01452793087810278,
0.026525773108005524,
-0.034236520528793335,
0.044698238372802734,
0.01787126250565052,
0.03144539147615433,
-0.010853278450667858,
0.0057680001482367516,
0.006074221339076757,
-0.022027837112545967,
0.00025539338821545243,
0.022449519485235214,
-0.009101292118430138,
-0.010351276956498623,
-0.023092081770300865,
0.050039537250995636,
0.04449743777513504,
-0.0206021536141634,
0.010531997308135033,
0.03230883553624153,
0.055461157113313675,
0.060200054198503494,
-0.018734706565737724,
0.011596241034567356,
0.0038980436511337757,
-0.03811197355389595,
-0.007565166801214218,
0.012610284611582756,
0.023373203352093697,
-0.02256999909877777,
0.01348376739770174,
-0.005072727799415588,
-0.042609911412000656,
0.0050827679224312305,
-0.026425372809171677,
0.007274005562067032,
-0.051766421645879745,
0.01312232669442892,
0.05080258101224899,
-0.016726698726415634,
-0.0011433090548962355,
-0.07277017831802368,
-0.02128487452864647,
-0.02058207243680954,
-0.02261015959084034,
-0.03313211724162102,
0.005255958531051874,
-0.04204766824841499,
-0.011776961386203766,
-0.00921173207461834,
0.011897441931068897,
0.010953678749501705,
-0.00955309346318245,
-0.025441449135541916,
0.007399505935609341,
0.0015185553347691894,
0.019568029791116714,
0.011706680990755558,
-0.02228887937963009,
0.05128449946641922,
0.003993424121290445,
0.0016377808060497046,
-0.01650581881403923,
-0.012118322774767876,
0.05365394800901413,
0.020501751452684402,
-0.01536125410348177,
0.04293119162321091,
-0.03305179625749588,
0.07052120566368103,
0.010682597756385803,
0.01620461791753769,
-0.03835293650627136,
0.013132366351783276,
-0.04224846884608269,
0.01737930066883564,
-0.04827249050140381,
-0.005496919620782137,
0.05694708228111267,
0.012590204365551472,
-0.019618229940533638,
0.0011834691977128386,
-0.05754948407411575,
0.018865225836634636,
-0.0024472586810588837,
-0.034557800740003586,
-0.017780901864171028,
0.006114381365478039,
-0.009317153133451939,
-0.03742925077676773,
-0.01906602643430233,
-0.02054191194474697,
-0.0054316590540111065,
0.060521334409713745,
0.007484846282750368,
-0.06975816935300827,
-0.0215659961104393,
0.033955398947000504,
0.012198642827570438,
0.012208683416247368,
-0.05088289827108383,
-0.0018498764839023352,
0.029176343232393265,
-0.04614400118589401,
0.03361403942108154,
0.03473852202296257,
-0.07180633395910263,
-0.031525712460279465,
-0.06971800327301025,
0.049356814473867416,
-0.017861222848296165,
0.029075942933559418,
-0.03194739297032356,
0.03210803493857384,
0.018132304772734642,
-0.004819217137992382,
0.016274897381663322,
0.03435700014233589,
-0.05538083612918854,
0.009663534350693226,
-0.029216503724455833,
-0.04022038355469704,
-0.024015765637159348,
0.08698686957359314,
-0.018965626135468483,
0.022027837112545967,
-0.014919492416083813,
-0.026164332404732704,
0.018674466758966446,
-0.011064118705689907,
-0.01314240600913763,
0.03447748348116875,
-0.06409558653831482,
-0.06738872081041336,
0.04550144076347351,
-0.005346318706870079,
0.021505756303668022,
0.04188702628016472,
0.05417603254318237,
-0.008674590848386288,
0.044698238372802734,
-0.015311053954064846,
-0.026144253090023994,
0.010411516763269901,
-0.017268860712647438,
0.003496442222967744,
0.03550156578421593,
0.01789134368300438,
-0.02427680604159832,
0.0627702996134758,
-0.05526035651564598,
-0.04110390320420265,
-0.041686225682497025,
-0.0032328914385288954,
0.012178562581539154,
-0.004126454703509808,
-0.007128424942493439,
0.025702491402626038,
0.03987902030348778,
0.07754923403263092,
0.0028363100718706846,
0.0005776158068329096,
0.018784906715154648,
-0.06116389483213425,
-0.022007757797837257,
0.06915576756000519,
-0.01705802045762539,
-0.011214719153940678,
0.030120106413960457,
-0.007896487601101398,
-0.008237848989665508,
0.05232866480946541,
0.039236459881067276,
0.012208683416247368,
-0.024015765637159348,
0.025059929117560387,
0.01314240600913763,
-0.0020318522583693266,
0.011596241034567356,
-0.02728881686925888,
-0.007284045685082674,
0.04116414487361908,
-0.03279075399041176,
0.022067997604608536,
-0.006566183175891638,
-0.023011760786175728,
-0.01299180556088686,
-0.018664425238966942,
0.017991743981838226,
0.009066152386367321,
0.02971850521862507,
0.023754723370075226,
-0.009010931476950645,
-0.012529964558780193,
-0.08554109930992126,
-0.04106374457478523,
-0.03265019506216049,
-0.0005744782974943519,
0.059597648680210114,
-0.0024321984965354204,
-0.014909452758729458,
-0.0050400979816913605,
0.0403609424829483,
-0.020511792972683907,
0.0024372185580432415,
0.027871137484908104,
0.22810959815979004,
0.05425634980201721,
-0.014226729981601238,
0.009583213366568089,
0.04212798923254013,
-0.03975854068994522,
-0.0018021863652393222,
-0.005552139598876238,
-0.10280996561050415,
0.011264919303357601,
0.011666521430015564,
-0.022851120680570602,
0.0072890655137598515,
0.026806894689798355,
-0.0103010768070817,
0.019166426733136177,
-0.0843362957239151,
-0.03335299715399742,
-0.014176529832184315,
-0.00011122477008029819,
0.035863008350133896,
-0.008408529683947563,
-0.01130507979542017,
-0.04124446585774422,
0.0015675005270168185,
0.034959401935338974,
-0.04931665584445,
0.010481797158718109,
-0.012078162282705307,
0.014578131027519703,
0.0014269400853663683,
0.022690480574965477,
0.04586288332939148,
-0.008980811573565006,
0.012058082967996597,
-0.040240462869405746,
0.017258821055293083,
-0.05694708228111267,
0.04750944674015045,
-0.06522007286548615,
0.013805048540234566,
0.07228825241327286,
-0.02495952881872654,
0.032589953392744064,
-0.02389528416097164,
-0.03634492680430412,
-0.015572095289826393,
-0.03765013441443443,
-0.03652564808726311,
0.05907556787133217,
-0.03369436040520668,
0.04204766824841499,
-0.014206649735569954,
-0.06305142492055893,
0.052730266004800797,
0.022329038009047508,
0.030742589384317398,
-0.028513699769973755,
-0.016094176098704338,
0.007499906234443188,
-0.10297060012817383,
-0.043654073029756546,
-0.0004009739204775542,
0.01483917236328125,
-0.024557925760746002,
-0.0053312587551772594,
-0.026104092597961426,
-0.012780965305864811,
-0.02863418124616146,
-0.02196759730577469,
0.05791092291474342,
0.033252596855163574,
-0.04321231320500374,
-0.005130458157509565,
-0.04054166376590729,
-0.031887151300907135,
0.03196747228503227,
-0.06216789782047272,
0.012911485508084297,
0.0046108863316476345,
0.0206021536141634,
-0.04730864614248276,
-0.04963793605566025,
-0.06951720267534256,
0.049437135457992554,
-0.0011483289999887347,
-0.025521770119667053,
-0.042650070041418076,
-0.009698674082756042,
0.00775592727586627,
-0.05963781103491783,
-0.006059161387383938,
-0.009512933902442455,
-0.060159891843795776,
-0.036284688860177994,
0.011355279944837093,
0.03040122799575329,
0.029196422547101974,
0.0486740916967392,
0.0051179081201553345,
0.017560021951794624,
-0.0029517703223973513,
0.04353359341621399,
-0.006892484147101641,
0.0796375647187233,
-0.05301138758659363,
-0.044738397002220154,
-0.01179704163223505,
-0.08232828974723816,
-0.05702739953994751,
-0.05329250916838646,
0.03178675100207329,
0.06903528422117233,
0.018815025687217712,
-0.059155888855457306,
-0.05293106660246849,
0.04991905763745308,
0.07176617532968521,
-0.03602364659309387,
0.05136482045054436,
0.005426639225333929,
-0.007143485359847546,
0.019156387075781822,
0.001844856538809836,
-0.007349305786192417,
-0.01515041384845972,
-0.07867372035980225,
-0.02700769528746605,
-0.04855361208319664,
-0.022067997604608536,
0.040642064064741135,
0.032529715448617935,
0.01842346414923668,
0.006109361536800861,
0.0006469548097811639,
0.057469163089990616,
-0.0394974984228611,
0.04172638803720474,
0.008855311200022697,
-0.07333242148160934,
0.021425435319542885,
-0.02761009708046913,
-0.0760231465101242,
0.03773045167326927,
-0.030742589384317398,
0.03407587856054306,
0.04518016055226326,
0.023413361981511116,
0.04417615756392479,
0.061244215816259384,
0.018483705818653107,
0.07220793515443802,
0.04148542508482933,
0.05562179535627365,
-0.0024447485338896513,
0.00008502654964104295,
-0.021786876022815704,
0.012529964558780193,
-0.043372951447963715,
0.0037524632643908262,
0.021405356004834175,
-0.03128474950790405,
-0.006224821787327528,
0.010381396859884262,
0.01480905245989561,
-0.040943264961242676,
0.0033383117988705635,
-0.06397510319948196,
-0.022851120680570602,
0.046384964138269424,
0.027469536289572716,
-0.05120418220758438,
-0.026826974004507065,
0.07650507241487503,
0.033955398947000504,
-0.0028840000741183758,
-0.0006400522543117404,
0.009979795664548874,
0.05457763373851776,
-0.07811147719621658,
-0.003147551091387868,
0.0525294654071331,
-0.032850995659828186,
0.012600244022905827,
0.016857219859957695,
0.008955711498856544,
-0.05397523194551468,
0.03038114681839943,
-0.010582197457551956,
0.09461729228496552,
-0.014849212020635605,
-0.008955711498856544,
-0.021666396409273148,
-0.024015765637159348,
-0.061886779963970184,
0.00775592727586627,
0.04054166376590729,
-0.044015515595674515,
-0.022710559889674187,
0.01210828311741352,
0.01870458573102951,
-0.0273289754986763,
-0.0020619721617549658,
0.002299168147146702,
-0.02086319401860237,
-0.018905386328697205,
0.01791142299771309,
-0.036224447190761566,
-0.024015765637159348,
-0.05064193904399872,
0.017780901864171028,
0.029457464814186096,
0.059115730226039886,
0.028192419558763504,
-0.0320277139544487,
0.007570186629891396,
0.03670636937022209,
-0.008734830655157566,
0.012580164708197117,
-0.012339203618466854,
0.003637002781033516,
0.005873420741409063,
-0.024457525461912155,
0.023774804547429085,
0.014467691071331501,
0.05269010737538338,
0.004753956571221352,
0.05433667078614235,
0.010280996561050415,
-0.025501690804958344,
-0.0028187399730086327,
-0.026907294988632202,
-0.015491774305701256,
-0.01987927034497261,
0.0035667226184159517,
-0.04373439401388168,
-0.01601385697722435,
-0.01656605862081051,
-0.07803115248680115,
-0.06228838115930557,
-0.0045882961712777615,
0.05654548108577728,
-0.0003567350213415921,
-0.010130396112799644,
0.059155888855457306,
0.06060165539383888,
-0.03248955309391022,
0.013052046298980713,
0.03104379028081894,
0.009824174456298351,
-0.006551123224198818,
0.021485675126314163,
0.009477793239057064,
0.0014984753215685487,
-0.032830916345119476,
0.026204492896795273,
0.013754848390817642,
0.026867134496569633,
-0.021063994616270065,
0.043011512607336044,
-0.04321231320500374,
0.05827236548066139,
-0.057509321719408035,
0.03377467766404152,
-0.0768665075302124,
0.00035704876063391566,
-0.00656116334721446,
0.01146572083234787,
0.08216764777898788,
-0.046706244349479675,
-0.06196709722280502,
-0.0011332690482959151,
0.024517767131328583,
-0.07220793515443802,
0.008744871243834496,
-0.06289078295230865,
0.002786109922453761,
0.02190735749900341,
0.04730864614248276,
-0.019829070195555687,
0.007650507148355246,
0.05457763373851776,
0.010863318108022213,
0.06670599430799484,
0.021184474229812622,
-0.00183607148937881,
0.06317190080881119,
0.02226879820227623,
0.024879207834601402,
0.0009996109874919057,
0.016234736889600754,
-0.0026555892545729876,
-0.020361192524433136,
0.02323264256119728,
0.0065912832506000996,
0.03879469633102417,
-0.013684567995369434,
-0.033573877066373825,
0.014829132705926895,
-0.06473814696073532,
-0.06995896995067596,
-0.05329250916838646,
-0.01501989271491766,
-0.013523927889764309,
-0.05505955591797829,
-0.053814589977264404,
0.06365382671356201,
0.02869442105293274,
0.029437383636832237,
-0.045702241361141205,
-0.02662617340683937,
0.0029091001488268375,
-0.002798659959807992,
0.0471881665289402,
-0.018734706565737724,
0.0015411454951390624,
0.07795083522796631,
-0.005022527649998665,
0.0026857093907892704,
0.012419523671269417,
-0.011706680990755558,
-0.001832306501455605,
-0.003275561612099409,
-0.0014859252842143178,
0.034196361899375916,
0.037630051374435425,
-0.016455618664622307,
-0.056184038519859314,
0.020662393420934677,
0.011756881140172482,
-0.02532096952199936,
0.0031550810672342777,
0.0020807974506169558,
-0.06823208183050156,
0.03578268736600876,
-0.005582259502261877,
0.039959341287612915,
0.0077057271264493465,
0.03038114681839943,
-0.019839109852910042,
-0.006661563646048307,
-0.02295152097940445,
-0.03134499117732048,
0.03921637684106827,
0.0007806127541698515,
-0.010692637413740158,
-0.049075692892074585,
-0.016796980053186417,
-0.009693654254078865,
-0.021847117692232132,
-0.04341311380267143,
0.021405356004834175,
0.02457800693809986,
-0.06742887943983078,
-0.019839109852910042,
0.01198780257254839,
-0.015531934797763824,
-0.026505693793296814,
-0.028172340244054794,
0.0013478747569024563,
0.011064118705689907,
-0.04983873665332794,
-0.03554172441363335,
-0.04277054965496063,
0.00894567184150219,
-0.008830211125314236,
0.021706556901335716,
0.02002987079322338,
0.028533780947327614,
0.018995746970176697,
0.01197776198387146,
-0.030863068997859955,
0.03781077265739441,
-0.015250814147293568,
0.05132466182112694,
0.03477868437767029,
-0.04110390320420265,
-0.010542036965489388,
-0.07586250454187393,
-0.03538108617067337,
-0.026907294988632202,
0.016445577144622803,
-0.025180408731102943,
-0.011897441931068897,
-0.06200725957751274,
0.04714800789952278,
-0.029417304322123528,
-0.057830605655908585,
-0.014056049287319183,
0.02829281985759735,
-0.009899474680423737,
-0.022991681471467018,
0.014788972213864326,
-0.03783085197210312,
0.06738872081041336,
0.007228825706988573,
-0.027389217168092728,
0.031565871089696884,
-0.05297122523188591,
0.015140373259782791,
0.046063683927059174,
-0.026084011420607567,
0.011415520682930946,
-0.015813056379556656,
0.04963793605566025,
-0.005341298878192902,
0.011927561834454536,
0.03813205286860466,
-0.019909391179680824,
-0.07140473276376724,
-0.030280746519565582,
0.033895161002874374,
0.0019816518761217594,
-0.0016164457192644477,
-0.021325035020709038,
0.06658551841974258,
-0.02024071104824543,
-0.04682672396302223,
0.04152558743953705,
-0.0032027713023126125,
-0.048352811485528946,
-0.018564024940133095,
-0.047348808497190475,
0.026405293494462967,
0.015290973708033562,
0.013052046298980713,
-0.009994855150580406,
-0.055461157113313675,
-0.03168635070323944,
0.025140248239040375,
0.029196422547101974,
-0.005913580767810345,
0.013062085956335068,
0.02997954562306404,
-0.011776961386203766,
-0.012801045551896095,
0.0195379089564085,
0.029818905517458916,
-0.03377467766404152,
-0.04003966227173805,
0.04417615756392479,
0.026887215673923492,
0.04883473366498947,
0.03578268736600876,
0.024035844951868057,
-0.01908610761165619,
0.04658576473593712,
0.049115851521492004,
-0.06795095652341843,
-0.029497623443603516,
0.021104155108332634,
-0.012088202871382236,
-0.01569257490336895,
-0.006219801958650351,
0.059838611632585526,
-0.02995946630835533,
-0.06907544285058975,
0.02090335451066494,
-0.027208495885133743,
-0.011044039390981197,
0.015782935544848442,
-0.0689549669623375,
0.07353322207927704,
0.021987678483128548,
0.026786815375089645,
0.010331196710467339,
-0.015210653655230999,
0.01312232669442892,
-0.012570124119520187,
-0.016114257276058197,
-0.029919305816292763,
0.024537846446037292,
-0.035943325608968735,
-0.023553922772407532,
-0.01551185455173254,
0.0011564865708351135,
-0.011525960639119148,
-0.016385337337851524,
0.01620461791753769,
0.06397510319948196,
-0.01919654756784439,
-0.011375360190868378,
-0.03234899416565895,
0.05196722224354744,
0.03210803493857384,
-0.007088264916092157,
0.033915240317583084,
0.03915613889694214,
0.011676561087369919,
-0.012670524418354034,
0.03102370910346508,
0.005321218632161617,
0.018734706565737724,
-0.02835305966436863,
0.06465782970190048,
0.015772895887494087,
0.03839309513568878,
-0.028734581544995308
] |
725,801 | flask_admin.base | add_category |
Add a category of a given name
:param name:
The name of the new menu category.
:param class_name:
The class name for the new menu category.
:param icon_type:
The icon name for the new menu category.
:param icon_value:
The icon value for the new menu category.
| def add_category(self, name, class_name=None, icon_type=None, icon_value=None):
"""
Add a category of a given name
:param name:
The name of the new menu category.
:param class_name:
The class name for the new menu category.
:param icon_type:
The icon name for the new menu category.
:param icon_value:
The icon value for the new menu category.
"""
cat_text = as_unicode(name)
category = self.get_category_menu_item(name)
if category:
return
category = MenuCategory(name, class_name=class_name, icon_type=icon_type, icon_value=icon_value)
self._menu_categories[cat_text] = category
self._menu.append(category)
| (self, name, class_name=None, icon_type=None, icon_value=None) | [
-0.02770477533340454,
0.004539648536592722,
0.06161049008369446,
-0.05769410729408264,
-0.010615933686494827,
-0.019164888188242912,
0.010271436534821987,
0.03406889736652374,
0.030116252601146698,
-0.007089376449584961,
0.03599082678556442,
0.0633511021733284,
0.01835804060101509,
-0.029227813705801964,
0.005430353805422783,
0.01311806682497263,
0.04525597020983696,
-0.044494450092315674,
-0.022428538650274277,
0.031748078763484955,
0.015665527433156967,
0.030116252601146698,
0.014731761068105698,
0.001932127051986754,
0.04366040602326393,
0.02115934155881405,
-0.0366072915494442,
0.03854735195636749,
-0.00012465336476452649,
-0.06835536658763885,
-0.0067992741242051125,
-0.015638330951333046,
-0.07578924298286438,
-0.013335643336176872,
-0.01613694429397583,
0.0070485807955265045,
-0.027487199753522873,
-0.061537966132164,
0.05773036926984787,
-0.008576150983572006,
0.05511945113539696,
0.054648034274578094,
-0.06298847496509552,
-0.04732294753193855,
0.00005549199340748601,
0.00915182288736105,
-0.02094176411628723,
-0.020325297489762306,
-0.009437392465770245,
-0.01979948580265045,
-0.026127343997359276,
-0.027269622310996056,
0.024441124871373177,
-0.010851642116904259,
-0.033162325620651245,
0.02473122626543045,
-0.01775970496237278,
-0.025764716789126396,
-0.026816338300704956,
0.06661475449800491,
0.008290581405162811,
0.03811219707131386,
0.020216507837176323,
-0.039417658001184464,
-0.008195391856133938,
0.0658169761300087,
0.014006504788994789,
-0.01766904816031456,
0.028593214228749275,
0.05704137682914734,
-0.010715655982494354,
-0.00468696653842926,
0.034721627831459045,
-0.015692725777626038,
0.006074018310755491,
0.0011190471705049276,
-0.0023933444172143936,
0.04057806730270386,
0.026489973068237305,
0.023208189755678177,
-0.03949018567800522,
0.004945338703691959,
0.027215227484703064,
-0.003438166342675686,
0.024060364812612534,
0.029826149344444275,
-0.03999786451458931,
-0.03162115812301636,
-0.019454989582300186,
0.005761251784861088,
-0.02088737115263939,
-0.02322632074356079,
0.02971736155450344,
-0.014686432667076588,
0.011023890227079391,
-0.004369666799902916,
0.06338736414909363,
-0.04496586695313454,
0.022464802488684654,
0.05758532136678696,
0.00862601213157177,
-0.03285409137606621,
0.053777724504470825,
-0.03696991875767708,
-0.02427794225513935,
-0.09703924506902695,
0.015883104875683784,
0.0070032523944973946,
-0.053415097296237946,
0.04594496265053749,
0.027360279113054276,
-0.053233783692121506,
0.07520903646945953,
0.02340763434767723,
-0.041811004281044006,
0.03497546538710594,
-0.04576364904642105,
-0.058129262179136276,
-0.0007093909662216902,
0.012084576301276684,
-0.02152196876704693,
-0.007882624864578247,
0.06135665252804756,
0.012791701592504978,
-0.017542127519845963,
0.013562285341322422,
-0.06929820030927658,
-0.023425765335559845,
0.0004473355947993696,
0.052182164043188095,
-0.0020941763650625944,
-0.03131292387843132,
-0.018802259117364883,
-0.03104095347225666,
0.07383105158805847,
0.015257571823894978,
-0.04315272718667984,
0.016717148944735527,
0.010416488163173199,
0.05878199264407158,
-0.047467999160289764,
-0.032201360911130905,
-0.04366040602326393,
-0.005090389866381884,
-0.04065059497952461,
-0.024259811267256737,
0.00033628076198510826,
0.01385238766670227,
-0.05584470555186272,
-0.04286262392997742,
-0.05627986043691635,
0.011159875430166721,
-0.00040653994074091315,
0.011595029383897781,
0.06066765636205673,
-0.01794101856648922,
-0.03653476759791374,
-0.04293515160679817,
-0.013308445923030376,
0.006404916290193796,
-0.039236344397068024,
0.01703444868326187,
-0.03858361393213272,
0.027360279113054276,
-0.04003412649035454,
-0.013988373801112175,
0.06889931112527847,
0.018194857984781265,
-0.019672567024827003,
0.03970776125788689,
0.006169208325445652,
-0.03789462149143219,
0.003172994591295719,
0.017805032432079315,
-0.03793088346719742,
-0.005770317278802395,
-0.024151021614670753,
-0.0170707106590271,
0.09138224273920059,
-0.049752555787563324,
0.0002954851370304823,
0.06280716508626938,
-0.014115293510258198,
0.04275383800268173,
-0.016789674758911133,
-0.04601748660206795,
0.055699653923511505,
0.020143983885645866,
0.06204564496874809,
0.03858361393213272,
-0.010108253918588161,
-0.004127159249037504,
-0.03626279532909393,
-0.03341616690158844,
0.026453709229826927,
0.0015819644322618842,
0.005017864517867565,
0.006545434705913067,
0.019726961851119995,
0.024060364812612534,
0.04032422974705696,
0.04384171962738037,
0.017687179148197174,
0.04804820567369461,
0.041811004281044006,
0.019872011616826057,
0.0420648418366909,
0.0032727173529565334,
-0.013897716999053955,
-0.0380396731197834,
-0.06255332380533218,
0.03473975881934166,
-0.019527515396475792,
0.026127343997359276,
-0.03162115812301636,
-0.0011088482569903135,
-0.06124786287546158,
-0.04648890346288681,
-0.03104095347225666,
0.01373453438282013,
-0.0405055433511734,
0.07564419507980347,
0.002622253494337201,
0.032654646784067154,
-0.03240080922842026,
-0.009836283512413502,
0.037967149168252945,
0.0001835803996073082,
0.058310575783252716,
0.05609854683279991,
-0.011939525604248047,
-0.059072095900774,
0.06748506426811218,
-0.008014078252017498,
-0.08427473902702332,
-0.0034109691623598337,
0.003796261502429843,
0.02560153417289257,
-0.02725149132311344,
0.0022426273208111525,
0.015593002550303936,
-0.013952110894024372,
-0.008326844312250614,
0.060595132410526276,
-0.019509384408593178,
0.03967149928212166,
-0.03575511649250984,
0.014115293510258198,
0.004516984336078167,
0.009247013367712498,
-0.008811859413981438,
-0.034032635390758514,
-0.03843856230378151,
-0.01339003723114729,
-0.014432592317461967,
-0.008036741986870766,
-0.028266848996281624,
-0.05682380124926567,
0.0021383718121796846,
-0.040070388466119766,
-0.030243171378970146,
-0.010942298918962479,
0.04561859741806984,
0.00023273349506780505,
-0.03374253213405609,
-0.04318898916244507,
0.017632784321904182,
0.019509384408593178,
-0.00008584083843743429,
-0.006613427307456732,
0.10117319971323013,
-0.002077178331092,
0.05950724706053734,
0.023715868592262268,
0.020143983885645866,
-0.07985067367553711,
0.010362094268202782,
-0.007937019690871239,
-0.08869879692792892,
-0.033796925097703934,
-0.02326258271932602,
0.002867027185857296,
-0.022646116092801094,
0.03890997916460037,
-0.03978028893470764,
-0.026979520916938782,
0.030370092019438744,
0.017650915309786797,
-0.01839430257678032,
0.04804820567369461,
0.03724189102649689,
0.02097802795469761,
-0.025746585801243782,
0.028629478067159653,
-0.0037056044675409794,
0.001206871122121811,
-0.04645264148712158,
0.01803167536854744,
0.00016729047638364136,
0.0004467689723242074,
0.0072661577723920345,
-0.04173847660422325,
0.01652676984667778,
-0.030388223007321358,
-0.029245944693684578,
-0.0038891849108040333,
-0.04264504835009575,
0.024658700451254845,
-0.04594496265053749,
0.05559086799621582,
-0.011304927058517933,
0.019527515396475792,
-0.07883531600236893,
0.05733148008584976,
-0.05399530380964279,
0.09043941646814346,
0.04645264148712158,
-0.041811004281044006,
0.00358321750536561,
0.014432592317461967,
-0.030660193413496017,
-0.009251546114683151,
-0.12097268551588058,
-0.03840230032801628,
0.05715016648173332,
-0.0023276181891560555,
0.011332123540341854,
-0.021231867372989655,
0.07368600368499756,
0.0347941517829895,
0.015819644555449486,
0.04014291614294052,
0.010760984383523464,
0.013353774324059486,
-0.03735068067908287,
0.02989867515861988,
-0.01592843234539032,
0.003950378391891718,
-0.016753410920500755,
-0.08521757274866104,
-0.01021704263985157,
0.019581910222768784,
-0.05957977473735809,
-0.012039247900247574,
0.05613480880856514,
-0.038692403584718704,
0.0333617739379406,
-0.005317032337188721,
0.008662275038659573,
-0.0043424698524177074,
-0.029173418879508972,
-0.019872011616826057,
0.019092362374067307,
-0.002925954293459654,
-0.030297566205263138,
0.04333404079079628,
0.03359748050570488,
-0.07441125810146332,
0.015058126300573349,
-0.034540314227342606,
0.056606225669384,
0.021793941035866737,
0.00044620237895287573,
0.02806740440428257,
-0.030370092019438744,
0.003614947432652116,
0.02656249888241291,
-0.015484213829040527,
0.05123933032155037,
-0.05457550659775734,
0.06019623950123787,
-0.013562285341322422,
0.050441548228263855,
0.05134811997413635,
-0.02734214812517166,
-0.012646649964153767,
0.03811219707131386,
0.019273675978183746,
-0.052689842879772186,
-0.005289835389703512,
0.003995706792920828,
0.02980801835656166,
-0.04144837707281113,
0.05120306834578514,
0.053088732063770294,
0.00420648418366909,
0.05109427869319916,
0.011558766476809978,
-0.0024092094972729683,
-0.007130172103643417,
0.004650703631341457,
0.01992640644311905,
0.02930033951997757,
0.00345176481641829,
-0.026181738823652267,
-0.06353241950273514,
-0.04333404079079628,
-0.00040115718729794025,
-0.02551087737083435,
0.04529223218560219,
0.014541381038725376,
-0.02208404242992401,
0.03927260637283325,
-0.0510217547416687,
-0.024930672720074654,
0.027142703533172607,
-0.062372010201215744,
-0.01580151356756687,
-0.053270045667886734,
0.023552685976028442,
0.043587882071733475,
0.0033973706886172295,
-0.03602708876132965,
-0.021195603534579277,
-0.015846841037273407,
-0.024151021614670753,
0.03328924626111984,
-0.017587456852197647,
-0.017451470717787743,
-0.0227186419069767,
-0.01979948580265045,
-0.0017315484583377838,
0.031693682074546814,
0.027994878590106964,
-0.027686644345521927,
-0.01021704263985157,
0.05022397264838219,
0.0276503823697567,
0.012737306766211987,
-0.08093856275081635,
-0.01373453438282013,
0.050949227064847946,
0.014459789730608463,
-0.004727762192487717,
-0.030914032831788063,
0.0015377692179754376,
0.004460324067622423,
-0.0341414213180542,
-0.08072098344564438,
0.004630305804312229,
-0.033434297889471054,
-0.012809832580387592,
-0.015148783102631569,
0.0767320767045021,
-0.04311646521091461,
-0.009188085794448853,
-0.04286262392997742,
-0.017659980803728104,
0.07781995832920074,
-0.05189206078648567,
-0.0020760451443493366,
0.05598975718021393,
0.0009819285478442907,
0.0340145044028759,
0.028049273416399956,
0.004650703631341457,
-0.054285407066345215,
-0.03927260637283325,
0.04420434683561325,
0.020579136908054352,
0.010615933686494827,
0.019491253420710564,
0.0202527716755867,
-0.013380971737205982,
0.0029916807543486357,
0.021775808185338974,
-0.0004847316013183445,
0.03044261783361435,
0.05065912753343582,
-0.023063138127326965,
0.026163607835769653,
0.04739547520875931,
0.021141210570931435,
-0.015221308916807175,
-0.006255332380533218,
-0.012374679557979107,
-0.008558019995689392,
0.011486240662634373,
-0.0479031540453434,
0.0194731205701828,
0.07060366123914719,
0.00960057508200407,
0.009070231579244137,
0.029245944693684578,
-0.01883852295577526,
-0.005688725970685482,
0.055010661482810974,
0.015230374410748482,
0.06951577961444855,
0.019872011616826057,
-0.02079671435058117,
-0.0423186831176281,
-0.04228242114186287,
0.05366893857717514,
0.03432273492217064,
0.010579670779407024,
0.0037328016478568316,
-0.041122011840343475,
-0.05566339194774628,
0.0373869426548481,
0.00007181733235483989,
-0.04344283044338226,
-0.07811006158590317,
-0.03415955230593681,
0.04021544009447098,
-0.001123580033890903,
-0.060450080782175064,
-0.01211177371442318,
-0.0494624525308609,
-0.045509807765483856,
-0.01938246376812458,
0.009781889617443085,
0.02532956376671791,
-0.03624466434121132,
0.04812072962522507,
0.002667581895366311,
-0.03450404852628708,
0.012447204440832138,
0.014931206591427326,
-0.009618707001209259,
-0.004754959139972925,
-0.02322632074356079,
-0.029354732483625412,
0.020216507837176323,
-0.027867957949638367,
-0.004641637671738863,
0.0019774555694311857,
-0.0034970934502780437,
-0.015484213829040527,
0.03468536585569382,
-0.02833937481045723,
0.02852068841457367,
-0.01334470883011818,
0.030188778415322304,
0.0035786847583949566,
-0.005235441029071808,
-0.05508318543434143,
0.08623293042182922,
0.006024157162755728,
-0.02572845295071602,
0.035174913704395294,
-0.019400596618652344,
0.03949018567800522,
-0.03205631300806999,
0.011286795139312744,
-0.012429073452949524,
0.006640624720603228,
-0.016218535602092743,
-0.006957923993468285,
0.013788928277790546,
-0.017687179148197174,
0.033941976726055145,
-0.0921800285577774,
-0.006781142670661211,
0.08391211181879044,
0.04960750415921211,
0.019962668418884277,
-0.042173631489276886,
0.021050553768873215,
0.04355161637067795,
-0.020307166501879692,
0.0032999145332723856,
-0.02509385533630848,
-0.024803752079606056,
-0.0023502823896706104,
0.0010340563021600246,
-0.03227388858795166,
0.01787755824625492,
0.022609854117035866,
0.0034200348891317844,
-0.013045541010797024,
-0.04594496265053749,
-0.030841507017612457,
0.025438351556658745,
-0.03551940992474556,
0.03365187346935272,
0.06092149764299393,
0.04311646521091461,
0.005480214953422546,
-0.02500319853425026,
-0.05613480880856514,
0.030243171378970146,
-0.046380117535591125,
-0.01817672699689865,
0.002948618493974209,
0.0010244239820167422,
0.002002386376261711,
-0.0006034355610609055,
0.013680139556527138,
0.002020517596974969,
0.02696138806641102,
0.024676833301782608,
-0.011250532232224941,
-0.04681526869535446,
0.015094389207661152,
-0.03934513404965401,
0.0797056257724762,
-0.0219389908015728,
-0.03657102957367897,
0.06784769147634506,
0.011214269325137138,
-0.04521970823407173,
-0.025619665160775185,
0.011468108743429184,
0.057621583342552185,
0.06248079612851143,
-0.02286369353532791,
-0.0725618526339531,
-0.02587350457906723,
-0.010887904092669487,
-0.01309993490576744,
0.016000958159565926,
-0.028810791671276093,
0.10726535320281982,
-0.002644917694851756,
-0.05105801671743393,
0.017977280542254448,
-0.06248079612851143,
0.08681313693523407,
0.04598122462630272,
-0.043769195675849915,
-0.053777724504470825,
0.008009545505046844,
0.005471149459481239,
-0.00787355937063694,
-0.05457550659775734,
-0.031022822484374046,
0.012701043859124184,
0.008127398788928986,
0.031059084460139275,
0.03218322992324829,
0.014867746271193027,
-0.016617426648736,
-0.05247226729989052,
0.024586176499724388,
0.0001230243651662022,
0.0075607928447425365,
-0.0030007462482899427,
0.051311857998371124,
0.03337990492582321,
-0.08978668600320816,
-0.021503837779164314,
-0.02299061231315136,
0.06135665252804756,
-0.017659980803728104,
-0.02632679045200348,
0.029427258297801018,
-0.06570818275213242,
-0.020452216267585754,
-0.024785621091723442,
0.0018845321610569954,
-0.014387263916432858,
-0.017152301967144012,
-0.0035741517785936594,
0.05210963636636734,
0.024568043649196625,
-0.031566765159368515,
0.0420648418366909,
-0.04739547520875931,
-0.03548314422369003,
0.008426567539572716,
-0.008897983469069004,
0.04424061253666878,
0.03890997916460037,
0.03573698550462723,
-0.03203818202018738,
0.020397823303937912,
-0.01865720935165882,
-0.0015445684548467398,
-0.007180033717304468,
0.00791888777166605,
0.021104946732521057,
-0.004269944038242102,
0.010162648744881153,
-0.0061510768719017506,
0.008317778818309307,
0.024386730045080185,
0.021376919001340866,
0.053959041833877563,
0.03182060271501541,
-0.07731228321790695,
0.015484213829040527,
-0.017705310136079788,
0.05370520055294037,
0.07005972415208817,
0.059072095900774,
-0.02130439318716526,
-0.04703284800052643,
-0.004451258108019829,
0.019364332780241966,
-0.00007273806841112673,
0.03927260637283325,
-0.07941552251577377,
0.007483734283596277,
0.006654222961515188,
0.048338305205106735,
-0.019763223826885223,
-0.0485558845102787,
-0.004791222047060728,
0.06908062845468521,
0.060957759618759155,
-0.0061964052729308605,
-0.008299647830426693,
-0.002129306085407734,
0.03272717446088791,
-0.04732294753193855,
0.016390783712267876,
-0.004231415223330259,
0.06846415996551514,
0.020561005920171738,
0.0011247133370488882,
0.003789462149143219,
-0.0031616624910384417,
0.04224615544080734,
-0.06193685531616211,
-0.023063138127326965,
0.01725202426314354,
-0.04525597020983696,
-0.061320386826992035,
0.01433287002146244,
0.0651642456650734,
0.05232721567153931,
0.012909555807709694,
-0.010334896855056286,
-0.02532956376671791,
-0.030188778415322304,
-0.030098119750618935,
-0.04337030276656151,
0.007102975156158209,
-0.018312711268663406,
-0.05366893857717514,
0.05312499776482582,
-0.03374253213405609,
0.07161901891231537,
-0.004754959139972925,
0.004813886247575283,
-0.05018771067261696,
0.01887478493154049,
0.019636303186416626,
-0.022609854117035866,
-0.04384171962738037,
0.038474828004837036,
0.00712110660970211,
-0.05047781020402908,
0.003707870841026306,
-0.05410408973693848,
-0.02386092022061348,
0.02202964760363102,
-0.049353666603565216,
0.07520903646945953,
0.019491253420710564,
0.0013065938837826252,
-0.06092149764299393,
0.03149423748254776,
0.03609961271286011,
-0.04583617299795151,
0.05773036926984787,
-0.026272395625710487,
0.05385025218129158,
-0.013933978974819183,
0.07760238647460938,
-0.011341189034283161,
0.047975677996873856,
-0.051819536834955215,
0.02239227667450905,
-0.018947310745716095,
-0.012791701592504978,
0.017406141385436058
] |
725,802 | flask_admin.base | add_link |
Add link to menu links collection.
:param link:
Link to add.
| def add_link(self, link):
"""
Add link to menu links collection.
:param link:
Link to add.
"""
if link.category:
self.add_menu_item(link, link.category)
else:
self._menu_links.append(link)
| (self, link) | [
-0.05613868683576584,
0.04571398347616196,
-0.005456393118947744,
0.019486460834741592,
0.029450709000229836,
0.01908125914633274,
-0.024072593078017235,
0.042656559497117996,
0.01697237603366375,
0.016493501141667366,
-0.00881771557033062,
0.001988014904782176,
0.04107259586453438,
0.015250273048877716,
-0.0031333970837295055,
0.02727735973894596,
0.0023356585297733545,
-0.010148430243134499,
-0.0021146400831639767,
-0.0024611325934529305,
-0.02210184559226036,
0.06578982621431351,
0.02342795580625534,
-0.02305959165096283,
0.026503795757889748,
0.06696859002113342,
-0.026687977835536003,
0.05459155887365341,
0.024367284029722214,
-0.023078009486198425,
-0.04910293221473694,
-0.048329368233680725,
0.020223189145326614,
0.007721832022070885,
-0.00226198579184711,
0.010111594572663307,
-0.019320696592330933,
-0.03670747950673103,
-0.06192200258374214,
0.059674981981515884,
0.03013218194246292,
0.04880824312567711,
0.007859968580305576,
0.00555769307538867,
-0.014449081383645535,
-0.021549299359321594,
-0.02578548528254032,
0.03366847708821297,
-0.04022535681724548,
-0.05046587809920311,
-0.05311810225248337,
-0.00970639381557703,
0.0405568853020668,
0.015581800602376461,
-0.10491009056568146,
0.02169664390385151,
0.027258941903710365,
0.0252513587474823,
-0.010608885437250137,
0.08575516194105148,
0.036615390330553055,
-0.013169015757739544,
-0.040630560368299484,
-0.05647021532058716,
0.04155147075653076,
-0.02107042632997036,
-0.05577032268047333,
0.00013569036673288792,
0.04177248850464821,
0.057980507612228394,
-0.03285807743668556,
0.048660896718502045,
0.03556555137038231,
0.01921018771827221,
-0.00607340270653367,
-0.004949892405420542,
0.009945830330252647,
0.014992418698966503,
0.002283857436850667,
-0.009816902689635754,
0.005276815500110388,
-0.03055580146610737,
0.04284074157476425,
0.012865115888416767,
0.01606067456305027,
0.02186240814626217,
0.017957748845219612,
0.0000948969172895886,
-0.007109426893293858,
0.00917226541787386,
0.008601301349699497,
-0.002716685179620981,
0.025803904980421066,
-0.03451571613550186,
-0.00917226541787386,
0.013786026276648045,
0.037278447300195694,
-0.03882557526230812,
0.04103576019406319,
-0.0021111867390573025,
-0.02070206217467785,
-0.04420369118452072,
0.036983754485845566,
-0.018270859494805336,
-0.02740628831088543,
-0.10137379914522171,
0.03366847708821297,
-0.04144096001982689,
-0.05875407159328461,
0.06833153963088989,
0.020020587369799614,
-0.060043346136808395,
0.05820152536034584,
0.01602383702993393,
-0.03208451345562935,
0.022341281175613403,
-0.014679308980703354,
-0.053375955671072006,
0.009807693772017956,
0.03481040522456169,
-0.037444207817316055,
-0.008495396934449673,
-0.0038862410001456738,
0.00033382995752617717,
0.024533048272132874,
-0.08162948489189148,
-0.05282340943813324,
-0.03819935396313667,
-0.0021203956566751003,
-0.010507585480809212,
0.00764815928414464,
-0.013417662121355534,
0.010498376563191414,
-0.03129252791404724,
0.016650056466460228,
-0.03556555137038231,
-0.04273023456335068,
-0.0035685270559042692,
0.00784155074506998,
0.015498918481171131,
-0.05311810225248337,
0.0017577874241396785,
-0.03978332132101059,
-0.02103358879685402,
-0.025196103379130363,
-0.029450709000229836,
-0.019468041136860847,
0.0071554724127054214,
0.0101392213255167,
-0.04490358382463455,
0.018307695165276527,
-0.05812785401940346,
0.018197186291217804,
0.060006510466337204,
-0.04383532702922821,
0.006257584784179926,
-0.0674843043088913,
-0.04313543438911438,
0.008891387842595577,
-0.01572914607822895,
0.03315276652574539,
0.0004575772618409246,
-0.015544964000582695,
0.06225353106856346,
-0.03786782920360565,
-0.026964250952005386,
0.06637921184301376,
-0.03291333094239235,
0.02352004684507847,
0.024643557146191597,
0.03026111051440239,
0.0018613897264003754,
-0.05956447124481201,
0.01096804067492485,
-0.0608537457883358,
0.023501629009842873,
-0.0005090906633995473,
0.011253522709012032,
0.051681481301784515,
-0.06800001114606857,
-0.028087761253118515,
0.013482125476002693,
0.004231582395732403,
0.01609751023352146,
-0.026724815368652344,
-0.04118310660123825,
0.01569231040775776,
0.008117823861539364,
0.012100759893655777,
0.011483750306069851,
-0.03985699266195297,
-0.0047150603495538235,
-0.008546046912670135,
-0.07639870792627335,
-0.03046371042728424,
-0.02657746896147728,
-0.007597509305924177,
-0.013832071796059608,
-0.056028176099061966,
0.04048321396112442,
0.017036838456988335,
-0.004685130901634693,
-0.023741064593195915,
0.012469124048948288,
0.05621235817670822,
0.015250273048877716,
0.027516797184944153,
0.037241607904434204,
-0.021788734942674637,
0.012303360737860203,
-0.025932831689715385,
0.025196103379130363,
0.035326115787029266,
0.039267610758543015,
-0.024606721475720406,
0.001844122656621039,
-0.07720911502838135,
0.006971290335059166,
-0.033097513020038605,
0.010765440762043,
-0.0031840470619499683,
0.013776816427707672,
0.023980502039194107,
-0.0004803122428711504,
0.01521343644708395,
-0.03871506452560425,
0.07993500679731369,
0.01463326346129179,
0.05643337965011597,
0.020996753126382828,
0.006989708635956049,
0.0009571710834279656,
0.001653033890761435,
-0.02342795580625534,
-0.005981311667710543,
-0.08354497700929642,
-0.04004117473959923,
0.0356023907661438,
-0.04494041949510574,
0.006133262068033218,
-0.002615384990349412,
0.02044420689344406,
0.030666310340166092,
0.052344538271427155,
-0.002129604807123542,
0.07521994411945343,
-0.03182665631175041,
-0.014154390431940556,
-0.008997293189167976,
0.0007021940546110272,
0.01163109578192234,
-0.022783318534493446,
-0.023906828835606575,
0.02840087190270424,
-0.02024160698056221,
0.005847780033946037,
-0.023446373641490936,
0.01105092279613018,
-0.04987649619579315,
-0.023630555719137192,
0.025490794330835342,
0.018565550446510315,
-0.0037918477319180965,
0.019062841311097145,
-0.023851575329899788,
-0.028787653893232346,
0.008403305895626545,
0.0687367394566536,
0.06682124733924866,
0.0018234022427350283,
0.1569231003522873,
-0.03978332132101059,
0.0488450787961483,
0.04214085265994072,
0.028621889650821686,
-0.02740628831088543,
0.01320585235953331,
0.022967500612139702,
-0.06534779071807861,
0.020720480009913445,
0.031108347699046135,
0.014163599349558353,
-0.02173348143696785,
0.03274756669998169,
-0.056654397398233414,
-0.030003255233168602,
0.04118310660123825,
0.1022578701376915,
-0.051976174116134644,
0.017285484820604324,
0.03142145648598671,
0.02293066494166851,
0.006524648983031511,
0.07057856023311615,
-0.008044150657951832,
0.02379631996154785,
-0.039967503398656845,
0.05875407159328461,
0.03871506452560425,
-0.01851029507815838,
0.018933914601802826,
-0.030445292592048645,
0.033005423843860626,
-0.018234021961688995,
-0.042361870408058167,
-0.011769232340157032,
-0.004498646594583988,
0.03945179283618927,
0.018860241398215294,
0.028824489563703537,
-0.008080987259745598,
0.011308777146041393,
-0.028750816360116005,
0.06895775347948074,
-0.07941929996013641,
0.03552871569991112,
-0.0034073677379637957,
0.011041713878512383,
-0.02847454324364662,
0.011806068941950798,
-0.06800001114606857,
0.03637595474720001,
-0.025030339136719704,
-0.005571506917476654,
0.043687980622053146,
0.02541712112724781,
0.013104552403092384,
-0.03654171898961067,
0.009531420655548573,
0.0074777910485863686,
0.05208668112754822,
0.03622860834002495,
-0.0057787117548286915,
-0.0016887191450223327,
-0.0898071676492691,
-0.0050465879030525684,
-0.05510726571083069,
-0.017782775685191154,
0.017110511660575867,
-0.06969448179006577,
-0.03237920254468918,
0.039930667728185654,
-0.044277362525463104,
-0.02608017809689045,
0.09717444330453873,
-0.03182665631175041,
0.007915223017334938,
-0.0037826388143002987,
-0.047187440097332,
-0.01647508330643177,
0.020002169534564018,
0.024367284029722214,
-0.012726979330182076,
0.0070910085923969746,
-0.00007108275895006955,
0.003718174993991852,
-0.00481175584718585,
-0.0418093241751194,
0.029855908825993538,
-0.008140846155583858,
0.04324594512581825,
0.04814518615603447,
-0.043319616466760635,
0.0007821980980224907,
0.03919393941760063,
0.020720480009913445,
0.000592835946008563,
0.03919393941760063,
0.08781799674034119,
-0.07603034377098083,
0.022249190136790276,
-0.05322860926389694,
0.06917877495288849,
0.020959915593266487,
0.03619177266955376,
-0.04781365767121315,
0.046634893864393234,
0.052381373941898346,
-0.028216689825057983,
-0.0027581260073930025,
0.013583425432443619,
0.003672129474580288,
-0.004954496864229441,
-0.00618851650506258,
0.06140629202127457,
-0.008909806609153748,
0.033594805747270584,
0.0023851573932915926,
0.02309642732143402,
0.005212351679801941,
0.01471614558249712,
0.013776816427707672,
-0.00518472446128726,
0.02318851836025715,
-0.00581554789096117,
-0.05775948986411095,
0.008021128363907337,
-0.030076928436756134,
-0.04144096001982689,
0.047187440097332,
0.05087108165025711,
0.024035757407546043,
-0.0699523389339447,
0.008099405094981194,
-0.03374215215444565,
0.02860347181558609,
-0.04276707023382187,
0.04158830642700195,
-0.027848325669765472,
0.011041713878512383,
0.03422102332115173,
0.027130015194416046,
-0.09953197836875916,
-0.010249731130897999,
0.010737813077867031,
-0.012911161407828331,
0.06339546293020248,
-0.008780878968536854,
-0.06962081044912338,
0.004991333466023207,
0.028124598786234856,
0.016300110146403313,
-0.02989274635910988,
0.05363381281495094,
0.020830988883972168,
-0.06059589236974716,
0.006216144189238548,
0.03801517188549042,
-0.019817987456917763,
-0.021125679835677147,
0.0138689074665308,
-0.03720477223396301,
0.04449838027358055,
-0.021549299359321594,
-0.006879199296236038,
0.010047130286693573,
-0.020296860486268997,
-0.058975089341402054,
-0.04482990875840187,
-0.04247237741947174,
-0.001436619902960956,
-0.01722102053463459,
-0.01142849586904049,
0.002486457582563162,
-0.008919015526771545,
-0.05109209939837456,
0.027148433029651642,
-0.030500546097755432,
0.01991007849574089,
-0.03374215215444565,
-0.025140848010778427,
0.04350379854440689,
0.02996641770005226,
-0.0071324496529996395,
0.013399243354797363,
-0.07853522151708603,
-0.056691233068704605,
-0.005829361733049154,
0.019965333864092827,
0.051349952816963196,
0.006280607543885708,
0.010848321951925755,
-0.02906392700970173,
0.006837758235633373,
0.040962085127830505,
0.03978332132101059,
-0.019302278757095337,
0.02637486904859543,
-0.023575302213430405,
-0.003352113300934434,
0.007680391427129507,
0.02554604969918728,
0.005576111376285553,
-0.021125679835677147,
0.028695562854409218,
-0.02843770757317543,
0.00727519067004323,
-0.03801517188549042,
-0.03344745934009552,
0.02007584273815155,
0.02545395866036415,
-0.033465877175331116,
0.005548484157770872,
0.04958180710673332,
-0.011529795825481415,
0.0192470233887434,
0.04107259586453438,
0.030739983543753624,
0.03385265916585922,
0.017534131184220314,
0.020886244252324104,
-0.028511380776762962,
-0.029174435883760452,
0.027793070301413536,
0.024606721475720406,
-0.022672809660434723,
-0.02930336259305477,
-0.0010544422548264265,
-0.006533857900649309,
0.013086134567856789,
-0.014955582097172737,
-0.030169019475579262,
-0.03845721110701561,
-0.03132936730980873,
0.03366847708821297,
0.047997839748859406,
-0.043577469885349274,
0.007818527519702911,
-0.061332620680332184,
-0.00593066168949008,
-0.007694204803556204,
0.05109209939837456,
0.025822322815656662,
0.002493364503607154,
0.06630553305149078,
0.015416037291288376,
-0.043061763048172,
0.0010613490594550967,
0.08008234947919846,
0.019136514514684677,
0.035915497690439224,
-0.040925249457359314,
0.027056341990828514,
-0.06671073287725449,
-0.03274756669998169,
-0.010037921369075775,
-0.043061763048172,
-0.0071508679538965225,
0.027332615107297897,
0.06313760578632355,
-0.008872970007359982,
0.04188299551606178,
-0.060411710292100906,
-0.008909806609153748,
0.0057234568521380424,
0.037444207817316055,
-0.01126273162662983,
0.03158722072839737,
-0.01842741295695305,
-0.035123515874147415,
0.0022792527452111244,
-0.028050925582647324,
-0.020352115854620934,
-0.051349952816963196,
-0.016051465645432472,
0.012413869611918926,
0.05617552250623703,
0.004431880544871092,
0.014430663548409939,
0.0053320699371397495,
-0.037683647125959396,
0.031808238476514816,
-0.059011925011873245,
0.06022752821445465,
0.07713543623685837,
-0.01726706698536873,
-0.006773294415324926,
-0.03842037543654442,
0.044608891010284424,
0.016327738761901855,
-0.056028176099061966,
-0.03212134912610054,
-0.03956230357289314,
0.00246343482285738,
0.01895233243703842,
-0.02355688251554966,
-0.04773998633027077,
-0.017405202612280846,
0.04144096001982689,
0.043651144951581955,
-0.005124865565448999,
-0.0774301290512085,
-0.09098593145608902,
-0.012515169568359852,
-0.06092742085456848,
0.007919827476143837,
-0.014937163330614567,
0.028750816360116005,
0.008693392388522625,
0.015508128330111504,
-0.031274110078811646,
0.03339220583438873,
-0.006179307587444782,
0.019891660660505295,
-0.021088844165205956,
-0.03403684124350548,
-0.0003752709017135203,
-0.0021549297962337732,
0.03668906167149544,
0.0011626491323113441,
-0.034000005573034286,
0.029377035796642303,
-0.030703146010637283,
-0.0881863608956337,
-0.02747996151447296,
-0.020996753126382828,
0.07341495901346207,
-0.04210401326417923,
-0.05042904242873192,
0.051681481301784515,
0.020131098106503487,
0.016033045947551727,
-0.001220206031575799,
0.010461539961397648,
0.033889494836330414,
0.047261111438274384,
-0.021180935204029083,
-0.04622969403862953,
-0.06015385687351227,
-0.02856663428246975,
-0.05510726571083069,
0.03563922643661499,
-0.055622976273298264,
0.03341062366962433,
-0.023538464680314064,
-0.058054178953170776,
-0.013279525563120842,
-0.07846155017614365,
0.09069123864173889,
0.05241820961236954,
-0.005884616170078516,
-0.028713980689644814,
-0.0005991671932861209,
0.017893286421895027,
-0.054702065885066986,
-0.05643337965011597,
-0.012349406257271767,
-0.06129578500986099,
0.015029254369437695,
0.04390899837017059,
0.006607530638575554,
-0.04118310660123825,
-0.01768147572875023,
-0.05543879419565201,
0.04004117473959923,
-0.026135431602597237,
0.0293954536318779,
-0.01494637317955494,
0.050981588661670685,
0.013979417271912098,
-0.014909536577761173,
-0.03626544401049614,
-0.024846157059073448,
-0.0037504069041460752,
-0.008246750570833683,
0.09172265976667404,
0.017663057893514633,
-0.03516035154461861,
-0.006879199296236038,
0.013611053116619587,
0.0005922603886574507,
0.011179850436747074,
0.007684995885938406,
0.02814301662147045,
0.0737096518278122,
-0.011511377990245819,
0.030647892504930496,
0.033631641417741776,
-0.05451788380742073,
-0.041661977767944336,
0.0327107310295105,
-0.002481853123754263,
0.018307695165276527,
-0.023685811087489128,
-0.0025854555424302816,
-0.043651144951581955,
0.035326115787029266,
0.02823510766029358,
-0.014624054543673992,
0.03501300513744354,
0.007993500679731369,
0.010700976476073265,
-0.012100759893655777,
0.011069340631365776,
0.059711817651987076,
-0.03055580146610737,
-0.01214680541306734,
-0.020131098106503487,
0.08450271934270859,
0.0159317459911108,
-0.09599567949771881,
-0.021254608407616615,
-0.02926652692258358,
0.024404121562838554,
0.005962893832474947,
0.014476708136498928,
0.024330448359251022,
-0.03427627682685852,
-0.021457208320498466,
0.003299160860478878,
0.009513002820312977,
-0.019725896418094635,
-0.03250813111662865,
-0.022378118708729744,
0.004616062622517347,
0.031568802893161774,
-0.01262567937374115,
-0.04103576019406319,
-0.013408453203737736,
0.02239653654396534,
0.0964377149939537,
0.05775948986411095,
0.021328279748558998,
-0.027019506320357323,
-0.017819613218307495,
-0.03401842340826988,
-0.0008650800446048379,
-0.0029561216942965984,
0.014053089544177055,
0.025527631863951683,
0.008384887129068375,
0.007238354068249464,
0.04586132988333702,
0.031734567135572433,
0.007454768288880587,
-0.03547346219420433,
0.0036974544636905193,
-0.017230229452252388,
-0.030574219301342964,
0.01978115178644657,
0.059711817651987076,
-0.02770097926259041,
-0.0011787650873884559,
-0.0269089974462986,
0.029156018048524857,
-0.05459155887365341,
-0.04917660728096962,
-0.03630227968096733,
0.04442470893263817,
-0.005129470024257898,
-0.06475840508937836,
0.045345619320869446,
-0.015968583524227142,
0.08752330392599106,
-0.0030090741347521544,
0.006888408213853836,
-0.02806934341788292,
0.04110943153500557,
0.03646804392337799,
-0.034920915961265564,
-0.012349406257271767,
0.005976707208901644,
0.05820152536034584,
-0.06939979642629623,
0.016208019107580185,
-0.07455689460039139,
-0.013463707640767097,
0.04626652970910072,
-0.031974002718925476,
0.05481257662177086,
-0.003706663614138961,
-0.011170640587806702,
-0.04685591161251068,
-0.004390439484268427,
0.008085591718554497,
-0.028713980689644814,
0.022783318534493446,
-0.02910076268017292,
0.06435320526361465,
-0.03696533665060997,
0.04707692936062813,
0.0014561893185600638,
0.053670648485422134,
-0.01983640529215336,
0.032931748777627945,
0.018234021961688995,
-0.03790466487407684,
0.024440957233309746
] |
725,803 | flask_admin.base | add_links |
Add one or more links to the menu links collection.
Examples::
admin.add_links(link1)
admin.add_links(link1, link2, link3, link4)
admin.add_links(*my_list)
:param args:
Argument list including the links to add.
| def add_links(self, *args):
"""
Add one or more links to the menu links collection.
Examples::
admin.add_links(link1)
admin.add_links(link1, link2, link3, link4)
admin.add_links(*my_list)
:param args:
Argument list including the links to add.
"""
for link in args:
self.add_link(link)
| (self, *args) | [
-0.05609922856092453,
0.014768034219741821,
-0.021466737613081932,
0.002589232288300991,
-0.011949559673666954,
0.04884069040417671,
-0.03467109799385071,
0.026640376076102257,
0.024516867473721504,
0.04660135507583618,
-0.013580800034105778,
0.00874499324709177,
0.03310742229223251,
0.012934095226228237,
-0.023899119347333908,
-0.013667671009898186,
0.022161703556776047,
-0.005178464576601982,
0.013271926902234554,
-0.02023124136030674,
-0.014179243706166744,
0.09050006419420242,
0.05787525326013565,
0.010974676348268986,
0.0035713547840714455,
0.05424598231911659,
0.01809808239340782,
0.019188793376088142,
0.016669539734721184,
0.02791448123753071,
-0.02374468371272087,
-0.05389849841594696,
-0.0007402115152217448,
0.01392828393727541,
0.042894866317510605,
-0.019671408459544182,
-0.017171459272503853,
0.03133139759302139,
-0.102237269282341,
0.0477210208773613,
0.09065449982881546,
0.0015105865895748138,
0.06764338910579681,
0.002750908490270376,
0.026678984984755516,
-0.004121536388993263,
-0.02785656787455082,
0.0036147902719676495,
-0.053705453872680664,
-0.07621464133262634,
-0.015221693553030491,
0.00426149507984519,
0.06799087673425674,
-0.008136897347867489,
-0.043821487575769424,
0.0844770222902298,
0.0053377277217805386,
0.06613762676715851,
0.0458291694521904,
0.032180801033973694,
0.025945410132408142,
-0.01601318269968033,
-0.012065387330949306,
-0.053126316517591476,
0.061041209846735,
-0.026119152083992958,
-0.06818392127752304,
0.004012947902083397,
0.028435705229640007,
0.03716139495372772,
-0.0413891077041626,
0.01439159456640482,
-0.003421743866056204,
0.006800052709877491,
0.0022224443964660168,
0.0355784147977829,
-0.014439855702221394,
0.02467130497097969,
-0.010675455443561077,
0.007239232771098614,
-0.007992113009095192,
-0.03627338260412216,
0.002144019352272153,
0.041543543338775635,
0.031234875321388245,
-0.027354646474123,
-0.03718069940805435,
-0.004295277874916792,
0.04671718180179596,
0.03152444586157799,
-0.01280861534178257,
0.0016227946616709232,
0.002216411754488945,
-0.035211626440286636,
-0.05057810619473457,
-0.006298132240772247,
-0.016109704971313477,
-0.0422385111451149,
0.0042904517613351345,
0.01878339610993862,
-0.03055921383202076,
-0.025887496769428253,
0.08300986886024475,
0.012741049751639366,
-0.0048961341381073,
-0.13065366446971893,
-0.02287597581744194,
-0.07273980975151062,
-0.049651484936475754,
0.03581007197499275,
-0.020018890500068665,
-0.055442869663238525,
0.062238097190856934,
-0.03098391555249691,
-0.032586198300123215,
0.002069213893264532,
-0.023107631132006645,
-0.011283550411462784,
0.028068918734788895,
-0.010820239782333374,
-0.010974676348268986,
-0.0018411781638860703,
0.018966790288686752,
-0.013407059013843536,
0.03721930831670761,
-0.0033179817255586386,
-0.04177519679069519,
-0.020984122529625893,
-0.021891439333558083,
-0.07273980975151062,
0.007273015566170216,
-0.017393462359905243,
-0.008788428269326687,
-0.02252849191427231,
0.06050068140029907,
-0.0771026536822319,
0.0011962831486016512,
-0.006756617221981287,
0.02654385380446911,
-0.015318216755986214,
-0.03683321550488472,
0.02965189702808857,
0.026563158258795738,
0.016910847276449203,
-0.06953524053096771,
-0.001965451752766967,
0.0013742477167397738,
0.014401246793568134,
0.030327558517456055,
-0.00874499324709177,
0.02876388467848301,
-0.02111925557255745,
-0.004970939829945564,
0.05150472745299339,
-0.07258537411689758,
0.026833422482013702,
-0.058222733438014984,
-0.0026833422016352415,
0.0176926851272583,
-0.011553815566003323,
0.009903269819915295,
0.03992195427417755,
-0.03059782274067402,
0.02418868988752365,
-0.010231449268758297,
-0.006312611047178507,
0.029941465705633163,
-0.0566011480987072,
-0.01461359765380621,
0.040655530989170074,
0.042470164597034454,
-0.0070751435123384,
-0.033474210649728775,
0.024034252390265465,
-0.012798963114619255,
-0.010048055090010166,
-0.026138456538319588,
0.015183083713054657,
0.018406955525279045,
-0.046948835253715515,
-0.05474790185689926,
0.008189985528588295,
0.01479699183255434,
-0.03426570072770119,
0.013320188038051128,
-0.0021959005389362574,
-0.0020897251088172197,
0.016428232192993164,
-0.019845150411128998,
-0.02148604206740856,
-0.015009342692792416,
-0.012634874321520329,
-0.0009429100318811834,
-0.03945864364504814,
-0.028532229363918304,
-0.02106134034693241,
-0.04443923756480217,
-0.02521183341741562,
-0.021659784018993378,
0.023223457857966423,
-0.0024263495579361916,
-0.02341650426387787,
-0.03555911034345627,
-0.019903063774108887,
0.09829913079738617,
-0.004481085110455751,
0.01477768737822771,
0.024594087153673172,
-0.015540219843387604,
-0.024478258565068245,
0.03822314739227295,
0.01756720431149006,
-0.0006023644818924367,
0.02200726792216301,
-0.007012403570115566,
0.023493723943829536,
-0.010733368806540966,
-0.010820239782333374,
-0.01485490519553423,
-0.0046427613124251366,
0.047334928065538406,
0.014517074450850487,
-0.006206435617059469,
-0.013551843352615833,
0.013146446086466312,
-0.011090504005551338,
0.07694821804761887,
-0.010839544236660004,
0.019845150411128998,
0.013638714328408241,
0.005144681315869093,
-0.002953606890514493,
-0.02476782724261284,
0.02833918295800686,
-0.003986404277384281,
-0.06470908969640732,
-0.04073274880647659,
0.0034748315811157227,
-0.02420799434185028,
0.009082823991775513,
-0.028937626630067825,
0.06551988422870636,
0.043396785855293274,
0.033454906195402145,
0.04409175366163254,
0.04459367319941521,
-0.01477768737822771,
0.0025289051700383425,
-0.009193825535476208,
0.003706487128511071,
0.014092372730374336,
0.008291334845125675,
-0.01392828393727541,
0.020887598395347595,
-0.04042387381196022,
0.03768261894583702,
0.012480436824262142,
-0.02243196964263916,
-0.032122887670993805,
-0.03266341611742973,
0.059458229690790176,
-0.03372517228126526,
0.012181215919554234,
0.05165916308760643,
-0.0012161910999566317,
0.005463207606226206,
0.013976545073091984,
0.04436201602220535,
0.00989361759275198,
0.017827816307544708,
0.19026634097099304,
-0.015318216755986214,
0.03868645802140236,
0.03654364496469498,
0.006380177102982998,
-0.012412871234118938,
0.04165937006473541,
0.004169797990471125,
-0.11590494215488434,
-0.011051895096898079,
0.051852211356163025,
0.0016746758483350277,
-0.03009590320289135,
-0.005718993954360485,
0.009382045827805996,
-0.011708252131938934,
0.038840897381305695,
0.10177396237850189,
-0.05335796996951103,
-0.0022538143675774336,
0.054554857313632965,
0.01912122592329979,
0.012721745297312737,
0.02959398366510868,
0.019719669595360756,
-0.03581007197499275,
-0.030713651329278946,
0.04142771661281586,
0.02826196514070034,
0.003566528670489788,
0.013551843352615833,
-0.05899491906166077,
0.022625016048550606,
-0.019594190642237663,
-0.02071385830640793,
-0.05613783746957779,
0.018667567521333694,
0.02507670223712921,
0.03638920933008194,
-0.02557862177491188,
0.007364712655544281,
0.028474316000938416,
-0.04795267805457115,
0.05606061592698097,
-0.05965127795934677,
0.014198548160493374,
-0.0026664508040994406,
0.01787607930600643,
-0.030288949608802795,
0.005854126065969467,
-0.06212226673960686,
0.047373536974191666,
-0.015183083713054657,
0.01841660775244236,
0.038358282297849655,
0.04548168554902077,
-0.005940997041761875,
-0.0052942922338843346,
0.019111573696136475,
0.007326103281229734,
0.051890820264816284,
0.014990037307143211,
0.006930358707904816,
-0.004049144219607115,
-0.05513399466872215,
0.0022827712818980217,
-0.03245106711983681,
0.004768241196870804,
-0.02600332349538803,
-0.04814572259783745,
0.009357914328575134,
0.053705453872680664,
-0.0384548045694828,
0.007084795739501715,
0.017393462359905243,
0.005342553835362196,
0.0348641462624073,
0.018744787201285362,
-0.033435601741075516,
-0.030346862971782684,
0.03716139495372772,
0.016843281686306,
-0.04258599132299423,
-0.008228594437241554,
0.06285584717988968,
-0.0020414635073393583,
-0.01858069747686386,
-0.03667877987027168,
0.021930048242211342,
-0.06594458222389221,
0.017721641808748245,
-0.018184952437877655,
0.0004105248081032187,
-0.0047875456511974335,
-0.0009785029105842113,
0.007905242033302784,
0.017557552084326744,
0.01884130947291851,
0.0815427154302597,
-0.04177519679069519,
0.033956825733184814,
-0.023493723943829536,
0.08131106197834015,
-0.003115283092483878,
0.008035548031330109,
-0.024150080978870392,
0.03001868538558483,
0.019208097830414772,
-0.04926539212465286,
-0.010395538061857224,
-0.008691905066370964,
-0.027702130377292633,
0.06648511439561844,
-0.01835869438946247,
0.07501775771379471,
-0.05084836855530739,
0.027740739285945892,
0.030771564692258835,
0.01054032240062952,
-0.00027871044585481286,
0.02106134034693241,
-0.0405397042632103,
-0.024960873648524284,
0.025018788874149323,
-0.06370525062084198,
-0.09513317048549652,
0.040616922080516815,
0.006462221499532461,
-0.06053929030895233,
-0.01936253346502781,
0.03806871175765991,
-0.004565542563796043,
-0.03621546924114227,
0.011322160251438618,
-0.03584868088364601,
0.018667567521333694,
-0.05486373230814934,
0.051774993538856506,
0.007065491285175085,
0.0296712014824152,
-0.004181863274425268,
0.029478155076503754,
-0.06459326297044754,
-0.017296940088272095,
0.01843591220676899,
-0.04501837491989136,
0.018812352791428566,
0.007606020662933588,
-0.04671718180179596,
-0.011804775334894657,
0.030713651329278946,
0.006964141968637705,
-0.0017482746625319123,
0.07675517350435257,
0.05293326824903488,
-0.06235392391681671,
0.0141502870246768,
0.029381632804870605,
-0.010549974627792835,
0.0013585626147687435,
-0.014015153981745243,
-0.03766331449151039,
0.01801121048629284,
-0.0305206049233675,
0.00975365936756134,
0.002760560717433691,
0.0016807084903120995,
-0.046099431812763214,
0.014970732852816582,
-0.038358282297849655,
-0.02239335887134075,
-0.056832801550626755,
-0.005352206062525511,
-0.052276913076639175,
-0.026717593893408775,
-0.06625346094369888,
-0.006235392298549414,
-0.04123466834425926,
0.05042366683483124,
-0.0195845365524292,
-0.06579014658927917,
0.0769096091389656,
0.03275994211435318,
-0.03399543836712837,
0.029767725616693497,
-0.07239232957363129,
-0.03003798983991146,
-0.024072861298918724,
-0.012673483230173588,
0.03330047056078911,
0.057720813900232315,
-0.020926209166646004,
-0.015762222930788994,
0.002045083325356245,
0.013320188038051128,
0.028937626630067825,
0.0003118902677670121,
0.04679439961910248,
-0.03999917209148407,
-0.0011076026130467653,
0.053242143243551254,
-0.024555476382374763,
-0.016273794695734978,
-0.011611728928983212,
0.04216128960251808,
-0.010105968452990055,
-0.006833835504949093,
-0.07401391118764877,
-0.03936212137341499,
-0.05953545123338699,
-0.005221899598836899,
-0.0291499774903059,
0.0665237233042717,
0.04324235022068024,
-0.03501858189702034,
-0.018059471622109413,
0.012856877408921719,
-0.01710389368236065,
0.010163882747292519,
-0.02555931732058525,
0.022316141054034233,
-0.04748936742544174,
-0.004389388021081686,
0.02515392005443573,
0.01636066660284996,
-0.03503788635134697,
-0.014787339605391026,
0.011930255219340324,
-0.013088532723486423,
-0.003991230390965939,
0.005936170928180218,
-0.017962949350476265,
0.0032962639816105366,
-0.01123528927564621,
0.029053453356027603,
0.03716139495372772,
0.007345408201217651,
0.015742918476462364,
-0.06513378769159317,
-0.012075040489435196,
-0.009053867310285568,
-0.021254386752843857,
0.024130774661898613,
0.037933580577373505,
0.04818433150649071,
-0.021814221516251564,
-0.045636121183633804,
0.03196845203638077,
0.07088656723499298,
0.05895631015300751,
0.04440062865614891,
-0.03053990937769413,
-0.02698785997927189,
-0.04162076115608215,
-0.02194935269653797,
-0.007186145056039095,
-0.05486373230814934,
-0.005916866008192301,
0.025771668180823326,
0.06339637190103531,
0.02698785997927189,
0.05895631015300751,
-0.0305206049233675,
-0.03857063129544258,
-0.0364278182387352,
0.045983605086803436,
-0.009700572118163109,
-0.0011986963218078017,
0.05559730529785156,
0.03059782274067402,
0.030713651329278946,
-0.0013271926436573267,
-0.033532124012708664,
-0.043280959129333496,
-0.03364795446395874,
-0.022702233865857124,
0.0376054011285305,
-0.009811573661863804,
0.051388900727033615,
0.0020390504505485296,
-0.03633129596710205,
-0.011688947677612305,
-0.06034624204039574,
0.08084774762392044,
0.020366374403238297,
-0.02465200051665306,
-0.022586405277252197,
-0.02422729879617691,
0.021177168935537338,
0.02826196514070034,
-0.010337624698877335,
-0.050539497286081314,
-0.03544328361749649,
0.020752467215061188,
-0.003962273243814707,
-0.0009682473610155284,
-0.010385885834693909,
-0.022991802543401718,
-0.005135029088705778,
0.05347380042076111,
-0.0458291694521904,
-0.05069393292069435,
-0.0513116829097271,
-0.0538598895072937,
-0.05378267168998718,
-0.010588584467768669,
-0.029497459530830383,
-0.020289156585931778,
0.012190868146717548,
-0.0557517446577549,
-0.04304930195212364,
-0.007963156327605247,
-0.020018890500068665,
0.019430100917816162,
0.019758278504014015,
0.017905035987496376,
0.006592527963221073,
0.027624912559986115,
0.018628958612680435,
0.03536606580018997,
-0.04320374131202698,
0.01934322901070118,
-0.05331936106085777,
-0.07007577270269394,
-0.01548230554908514,
-0.0036099639255553484,
0.011785470880568027,
-0.03602242097258568,
-0.033956825733184814,
0.03094530664384365,
-0.003848858643323183,
0.02606123685836792,
-0.0023213806562125683,
0.025385575369000435,
0.030366167426109314,
0.0149996904656291,
0.0219686571508646,
-0.07968947291374207,
-0.051427509635686874,
0.008730514906346798,
-0.014459161087870598,
0.03003798983991146,
-0.00015579431783407927,
0.01571396179497242,
-0.06069372594356537,
-0.02789517678320408,
-0.02297249808907509,
-0.023030411452054977,
0.10316389054059982,
0.03741235285997391,
-0.017412766814231873,
-0.007186145056039095,
-0.009932227432727814,
-0.012229477055370808,
-0.033068813383579254,
-0.042470164597034454,
-0.05331936106085777,
-0.0355784147977829,
0.021640479564666748,
0.05297187715768814,
0.0025337315164506435,
-0.04362844303250313,
0.014990037307143211,
-0.02474852278828621,
0.07088656723499298,
-0.057682204991579056,
0.023937730118632317,
-0.04980592057108879,
0.018870266154408455,
-0.017335548996925354,
0.0015238585183396935,
-0.0013296057004481554,
-0.03416917845606804,
0.012181215919554234,
0.010356929153203964,
0.1263294368982315,
-0.02654385380446911,
-0.06281723827123642,
0.016727453097701073,
-0.02382190153002739,
0.0237639881670475,
0.04181380942463875,
-0.020424287766218185,
0.07660073041915894,
0.01485490519553423,
0.01726798340678215,
-0.004811676684767008,
-0.006428438704460859,
-0.01858069747686386,
-0.05200664699077606,
0.02156326174736023,
-0.02239335887134075,
0.039342816919088364,
-0.04254738241434097,
-0.04362844303250313,
-0.0648249164223671,
0.04127327725291252,
0.03735443949699402,
-0.0013597691431641579,
0.026756204664707184,
0.006206435617059469,
0.006327089387923479,
-0.017036328092217445,
0.009801921434700489,
0.06536544114351273,
-0.01690119504928589,
-0.024111470207571983,
-0.010559627786278725,
0.023242762312293053,
0.01485490519553423,
-0.10100177675485611,
-0.025771668180823326,
-0.032103583216667175,
0.008933213539421558,
0.005424598231911659,
0.028068918734788895,
0.035732854157686234,
0.030887393280863762,
-0.0018930593505501747,
0.03370586782693863,
-0.012943748384714127,
-0.02507670223712921,
0.008957344107329845,
-0.01501899491995573,
0.0109843285754323,
0.05918796733021736,
-0.022142399102449417,
-0.062160879373550415,
0.022740842774510384,
0.011486249044537544,
0.06320332735776901,
0.05200664699077606,
-0.004850286059081554,
0.0192274022847414,
-0.0008952517528086901,
-0.042933475226163864,
0.00856159906834364,
0.018059471622109413,
-0.02478713169693947,
0.03893741965293884,
0.0027943437453359365,
0.03241245821118355,
0.05524982511997223,
0.007470888085663319,
-0.002409457927569747,
-0.0810794085264206,
0.06579014658927917,
0.03380239009857178,
-0.0005456571816466749,
-0.00898630078881979,
0.05872465670108795,
0.0010545148979872465,
0.03192984312772751,
-0.09111780673265457,
0.007036534138023853,
-0.056794192641973495,
-0.07347338646650314,
-0.01702667586505413,
0.032200105488300323,
-0.019623147323727608,
-0.028049614280462265,
-0.016408927738666534,
0.030211731791496277,
0.05528843402862549,
0.009111780673265457,
-0.02922719530761242,
0.001754307420924306,
0.03274063766002655,
0.007861807011067867,
-0.03100322000682354,
0.03739304840564728,
0.00037282047560438514,
0.0644388198852539,
-0.024439649656414986,
0.025308357551693916,
-0.06513378769159317,
-0.0038947071880102158,
0.04177519679069519,
0.007079969625920057,
0.016775714233517647,
0.025018788874149323,
0.02737395092844963,
-0.037972189486026764,
-0.019401144236326218,
0.013001661747694016,
-0.0020680073648691177,
0.04505698382854462,
-0.050539497286081314,
-0.008050026372075081,
-0.05760498717427254,
0.028049614280462265,
0.002760560717433691,
0.021389519795775414,
-0.00763980345800519,
0.07019159942865372,
0.044323407113552094,
-0.010907110758125782,
0.05486373230814934
] |
725,804 | flask_admin.base | add_menu_item |
Add menu item to menu tree hierarchy.
:param menu_item:
MenuItem class instance
:param target_category:
Target category name
| def add_menu_item(self, menu_item, target_category=None):
"""
Add menu item to menu tree hierarchy.
:param menu_item:
MenuItem class instance
:param target_category:
Target category name
"""
if target_category:
cat_text = as_unicode(target_category)
category = self._menu_categories.get(cat_text)
# create a new menu category if one does not exist already
if category is None:
category = MenuCategory(target_category)
category.class_name = self.category_icon_classes.get(cat_text)
self._menu_categories[cat_text] = category
self._menu.append(category)
category.add_child(menu_item)
else:
self._menu.append(menu_item)
| (self, menu_item, target_category=None) | [
-0.043042462319135666,
0.02039146050810814,
0.03126320242881775,
-0.013057202100753784,
-0.00816306658089161,
-0.03180030733346939,
0.03154101222753525,
0.06641577929258347,
0.019261687994003296,
-0.010640230029821396,
0.02502167411148548,
0.026855237782001495,
0.01676137186586857,
0.013168326579034328,
-0.010760615579783916,
0.03893083333969116,
0.019076479598879814,
-0.03750472888350487,
0.0007605125429108739,
0.05541439354419708,
-0.0029378703329712152,
0.06389694660902023,
0.036893539130687714,
-0.018280083313584328,
0.006774002220481634,
0.019132042303681374,
-0.05122867971658707,
0.05919265002012253,
0.04504271596670151,
-0.0754169151186943,
-0.04167192056775093,
-0.04593171551823616,
-0.022873254492878914,
0.028855489566922188,
-0.059118565171957016,
0.04826534539461136,
-0.022632483392953873,
-0.015261183492839336,
0.0023405728861689568,
0.009019656106829643,
-0.0015256552724167705,
0.02763311378657818,
-0.009255796670913696,
-0.005102495197206736,
-0.004935807548463345,
-0.004009764641523361,
-0.005398829001933336,
0.023928942158818245,
0.0019724708981812,
-0.049821097403764725,
-0.0005020887474529445,
-0.00810750387609005,
0.023984504863619804,
-0.02231762930750847,
-0.08141767233610153,
0.020187729969620705,
-0.009797531180083752,
-0.047783803194761276,
-0.03607862442731857,
0.07608366757631302,
-0.005148797295987606,
0.04511680081486702,
0.008964093402028084,
-0.0671936571598053,
-0.01642799749970436,
-0.00575535511597991,
-0.05193247273564339,
-0.01022351160645485,
0.030022304505109787,
0.05526622757315636,
-0.05363639071583748,
-0.0008160751312971115,
0.04037545993924141,
0.03296712040901184,
0.019428376108407974,
-0.009695666842162609,
-0.017613332718610764,
0.007218502927571535,
0.01794670708477497,
0.057007186114788055,
-0.0783061683177948,
-0.017835581675171852,
0.036374956369400024,
0.005158057902008295,
-0.0013751733349636197,
0.03161509707570076,
-0.014501828700304031,
0.0004436323361005634,
-0.017141049727797508,
0.00010975053010042757,
-0.014122150838375092,
-0.01180704403668642,
0.010149427689611912,
-0.009093739092350006,
-0.0025975496973842382,
0.01191816944628954,
0.06611944735050201,
0.006505449768155813,
0.019039437174797058,
0.04489454999566078,
-0.017548508942127228,
0.013297973200678825,
0.017965227365493774,
-0.014214755035936832,
-0.010927303694188595,
-0.04359808936715126,
0.03144840896129608,
0.017066966742277145,
0.012834951281547546,
0.03956054523587227,
-0.009065957739949226,
-0.04652438312768936,
0.0572664812207222,
0.03470807895064354,
-0.06445257365703583,
0.010529105551540852,
-0.025632862001657486,
-0.01431662030518055,
-0.009241905994713306,
-0.016640987247228622,
-0.02126193977892399,
-0.05115459859371185,
0.03698614612221718,
-0.0042459056712687016,
-0.008575155399739742,
-0.07134232670068741,
-0.06100769340991974,
0.0019493198487907648,
-0.0006852715741842985,
0.03811591863632202,
0.006273939274251461,
0.01840972900390625,
-0.018150435760617256,
-0.04285725578665733,
0.06748998910188675,
-0.02670707181096077,
-0.03539334982633591,
-0.012797909788787365,
0.0306705329567194,
0.03483772650361061,
-0.004935807548463345,
-0.05663676932454109,
-0.04889505356550217,
-0.004706611856818199,
-0.048006054013967514,
-0.004336195066571236,
-0.03670833259820938,
0.04915434494614601,
-0.06400807201862335,
-0.02565138228237629,
-0.04604284092783928,
-0.014566651545464993,
0.01393694244325161,
0.01560381893068552,
0.035022933036088943,
-0.014390703290700912,
-0.03524518385529518,
-0.054154977202415466,
0.014974109828472137,
-0.045968759804964066,
0.018594937399029732,
-0.033337537199258804,
-0.021521231159567833,
0.08208442479372025,
-0.05348822474479675,
-0.016520600765943527,
0.05526622757315636,
-0.022632483392953873,
-0.00829734280705452,
0.060452066361904144,
-0.008783514611423016,
-0.03250409662723541,
-0.028355427086353302,
0.007454643491655588,
-0.07341666519641876,
-0.041412629187107086,
-0.037375081330537796,
-0.0113903246819973,
0.06760111451148987,
-0.02348444238305092,
0.001334659056738019,
0.03505997732281685,
0.02980005368590355,
0.0036231419071555138,
-0.009862354956567287,
-0.03668981045484543,
-0.003257355187088251,
0.03352274373173714,
-0.0070888567715883255,
0.03394872322678566,
-0.015742724761366844,
-0.01865975931286812,
0.0051071252673864365,
-0.047598592936992645,
0.015242662280797958,
-0.00807972252368927,
0.01186260674148798,
-0.0005368153797462583,
-0.01840972900390625,
0.050339680165052414,
0.009135411120951176,
0.036263830959796906,
-0.008621457032859325,
0.07171274721622467,
0.007598180323839188,
0.011492189951241016,
-0.016002018004655838,
0.03893083333969116,
-0.02361408807337284,
-0.029670407995581627,
-0.03933829441666603,
0.03956054523587227,
-0.029948219656944275,
0.03091130405664444,
-0.07815800607204437,
0.011381064541637897,
-0.12416380643844604,
-0.008468660525977612,
-0.03255965933203697,
0.028911052271723747,
-0.029763011261820793,
0.057192396372556686,
-0.014335140585899353,
0.02320662885904312,
-0.023688171058893204,
-0.026095882058143616,
0.03628235310316086,
0.04978405311703682,
0.049672931432724,
0.03989391773939133,
-0.0004499988572206348,
-0.06608240306377411,
0.06930503249168396,
-0.011344023048877716,
-0.032522618770599365,
-0.03441174700856209,
0.005602558143436909,
0.01683545671403408,
-0.0008571682847104967,
0.04044954478740692,
-0.006185965146869421,
-0.03565264493227005,
0.04585763439536095,
0.011242157779633999,
-0.00601927749812603,
0.060452066361904144,
0.0002662372717168182,
0.015279704704880714,
0.015057453885674477,
0.04219050332903862,
0.014603693038225174,
-0.016659507527947426,
-0.05582185462117195,
0.027188614010810852,
-0.008440879173576832,
-0.007625961676239967,
-0.023540005087852478,
-0.010566147044301033,
-0.024095630273222923,
-0.0057183136232197285,
-0.020724834874272346,
0.021724961698055267,
0.05830364674329758,
0.03885675221681595,
-0.087640680372715,
-0.03885675221681595,
-0.029837096109986305,
0.02313254587352276,
0.008348274976015091,
-0.002291955752298236,
0.13009047508239746,
0.0006939532468095422,
0.033800557255744934,
0.009797531180083752,
0.032633744180202484,
-0.0590074397623539,
-0.004632528405636549,
0.01662246696650982,
-0.09801235795021057,
-0.002096329117193818,
-0.007922295480966568,
0.0236696507781744,
0.0055284746922552586,
0.03676389530301094,
-0.07704675197601318,
-0.028707323595881462,
0.03531926870346069,
0.060859523713588715,
0.006431366316974163,
0.03600453957915306,
0.0002254335122415796,
0.018048571422696114,
-0.01895609311759472,
0.05348822474479675,
-0.033337537199258804,
0.02413267269730568,
-0.05556255951523781,
-0.013122024945914745,
0.01557603757828474,
-0.008505702018737793,
-0.03091130405664444,
-0.008885379880666733,
-0.004373236559331417,
-0.056488603353500366,
-0.02507723681628704,
0.042635004967451096,
0.006412845570594072,
0.020539626479148865,
-0.04430188238620758,
0.037838105112314224,
-0.013603567145764828,
0.04319063201546669,
-0.031189117580652237,
0.029614845290780067,
-0.008223258890211582,
0.013696171343326569,
0.027336779981851578,
-0.04463525861501694,
0.03213367983698845,
-0.018280083313584328,
-0.060229815542697906,
0.050228554755449295,
-0.07867658883333206,
-0.01566864177584648,
0.04826534539461136,
0.008866858668625355,
-0.001262890757061541,
0.01560381893068552,
0.040301378816366196,
0.024447526782751083,
0.03359682857990265,
0.03657868504524231,
-0.003488865913823247,
0.0006013489910401404,
-0.03676389530301094,
-0.008264930918812752,
-0.04774676263332367,
0.028022050857543945,
0.01594645529985428,
-0.021669398993253708,
-0.00973270833492279,
0.049117304384708405,
-0.03402280807495117,
-0.04948772117495537,
0.11379212886095047,
-0.035615600645542145,
0.011621835641562939,
0.018687540665268898,
-0.028373947367072105,
0.00931598898023367,
-0.03305972367525101,
-0.04044954478740692,
0.007621331140398979,
-0.01922464556992054,
-0.03852337598800659,
-0.017224393784999847,
0.01814117655158043,
-0.06297089904546738,
0.019946958869695663,
-0.0027503466699272394,
0.06682323664426804,
0.0019747859332710505,
-0.017687415704131126,
0.01251083705574274,
-0.02781832218170166,
-0.0030652012210339308,
0.008056571707129478,
0.015437131747603416,
0.07571324706077576,
-0.06689732521772385,
0.06849011778831482,
-0.045376092195510864,
0.0666380301117897,
0.06997178494930267,
-0.0020430816803127527,
0.01811339519917965,
0.01981731317937374,
0.042635004967451096,
-0.061563316732645035,
-0.007713935803622007,
-0.00580165721476078,
0.002245653420686722,
-0.038301125168800354,
0.004755229223519564,
0.060044609010219574,
-0.037541769444942474,
0.03085574321448803,
0.02705896645784378,
0.0026345914229750633,
0.002697099233046174,
0.020187729969620705,
0.036967623978853226,
0.031115034595131874,
0.010130907408893108,
-0.012871993705630302,
-0.07271286845207214,
0.006871236953884363,
-0.00786210224032402,
0.005834069103002548,
0.026521863415837288,
0.03237445279955864,
-0.01594645529985428,
-0.02705896645784378,
-0.03885675221681595,
-0.0003244043327867985,
0.05919265002012253,
-0.0742315798997879,
0.01455739140510559,
-0.0537845604121685,
-0.0023660389706492424,
0.03765289485454559,
0.017428122460842133,
-0.07349074631929398,
-0.011242157779633999,
-0.02857767790555954,
-0.06374877691268921,
0.06915687024593353,
0.012797909788787365,
-0.016390955075621605,
-0.011399585753679276,
-0.0010562674142420292,
0.008741842582821846,
-0.019595062360167503,
0.021724961698055267,
0.00807972252368927,
-0.026744112372398376,
0.004278317093849182,
0.016252048313617706,
0.03004082478582859,
-0.04600580036640167,
-0.012446013279259205,
0.03581932932138443,
0.002153049223124981,
0.019706187769770622,
-0.026503341272473335,
0.0012501575984060764,
0.0010157530196011066,
-0.03296712040901184,
-0.03465251624584198,
0.04167192056775093,
-0.012899775058031082,
0.005199729464948177,
0.0022815377451479435,
0.0724535807967186,
-0.002805909374728799,
-0.0064869290217757225,
-0.031077992171049118,
-0.005648860242217779,
0.03896787762641907,
-0.019446896389126778,
0.007866732776165009,
0.031874388456344604,
-0.015094495378434658,
0.01136254332959652,
0.0005096128443256021,
-0.04915434494614601,
-0.05919265002012253,
-0.03050384670495987,
0.06415623426437378,
0.04185713082551956,
0.008436248637735844,
0.0233733169734478,
0.06408215314149857,
0.027614593505859375,
-0.02215094119310379,
0.009385442361235619,
-0.0009185185772366822,
0.030022304505109787,
0.022373192012310028,
-0.00292860995978117,
0.015085235238075256,
0.04078292101621628,
-0.0012432122603058815,
-0.04670959338545799,
-0.002697099233046174,
-0.04359808936715126,
0.052043598145246506,
-0.016742851585149765,
-0.05263626575469971,
0.025336528196930885,
0.04037545993924141,
-0.01946541666984558,
0.0018462976440787315,
0.020669272169470787,
-0.04463525861501694,
0.010473542846739292,
0.054969895631074905,
0.029355553910136223,
0.05293260142207146,
0.009714188054203987,
-0.014807422645390034,
-0.058414772152900696,
-0.035097017884254456,
0.012714565731585026,
0.047191135585308075,
-0.042746130377054214,
0.0055284746922552586,
-0.022891774773597717,
0.00961232278496027,
0.005560886114835739,
-0.005343266297131777,
-0.01974323019385338,
-0.019780272617936134,
-0.01557603757828474,
0.01992843858897686,
0.04367217421531677,
-0.032004036009311676,
-0.005153427366167307,
-0.0730832889676094,
-0.015594558790326118,
0.004146356135606766,
0.013372056186199188,
-0.00613503297790885,
-0.02963336557149887,
0.013955463655292988,
0.008797405287623405,
-0.07375004142522812,
0.03091130405664444,
0.043857380747795105,
-0.014122150838375092,
-0.0023452031891793013,
0.0031068732496351004,
0.015353787690401077,
-0.08860376477241516,
-0.013372056186199188,
0.0023614089004695415,
-0.03668981045484543,
0.03331901505589485,
-0.015677902847528458,
0.006010016892105341,
-0.034967370331287384,
0.018854228779673576,
0.017965227365493774,
0.05411793291568756,
-0.06297089904546738,
0.032170724123716354,
0.017252175137400627,
0.047783803194761276,
-0.05919265002012253,
-0.07286103814840317,
0.02641073800623417,
-0.011455148458480835,
-0.004833942744880915,
-0.045968759804964066,
0.02244727499783039,
0.0035999908577650785,
-0.004431114066392183,
-0.008464029990136623,
0.012223763391375542,
0.04737634211778641,
-0.015622340142726898,
0.023706693202257156,
-0.06941615790128708,
0.08038050681352615,
0.09845685958862305,
0.032633744180202484,
0.01724291406571865,
0.00618133507668972,
0.02155827358365059,
0.02466977760195732,
-0.023577047511935234,
-0.0062415278516709805,
-0.012770128436386585,
-0.009001134894788265,
0.005278443451970816,
-0.020428501069545746,
-0.09927177429199219,
0.04826534539461136,
0.01594645529985428,
0.00807972252368927,
0.008464029990136623,
-0.026855237782001495,
-0.05856293812394142,
-0.010455021634697914,
-0.05837773159146309,
-0.01824304088950157,
0.03791218623518944,
0.022706566378474236,
0.027021925896406174,
0.001892599742859602,
-0.034689560532569885,
0.05867406353354454,
-0.03039272129535675,
0.004366291221231222,
-0.01004756335169077,
-0.024503089487552643,
-0.002604495035484433,
0.031133554875850677,
0.011464408598840237,
-0.024391964077949524,
0.004056066740304232,
0.003935681190341711,
-0.0033846860751509666,
-0.07104599475860596,
0.01857641711831093,
-0.06141515076160431,
0.060229815542697906,
-0.013233150355517864,
0.011112512089312077,
0.019854355603456497,
0.025262445211410522,
0.0051950993947684765,
-0.0020488693844527006,
0.0420793779194355,
0.04930251091718674,
0.04519088193774223,
-0.004123204853385687,
-0.10104978084564209,
-0.053969766944646835,
0.004898765590041876,
-0.03911604359745979,
-0.016113143414258957,
-0.007922295480966568,
0.10964345186948776,
-0.029077740386128426,
-0.06037798151373863,
-0.0066536166705191135,
-0.08023233711719513,
0.08075091987848282,
0.06789744645357132,
-0.03948646038770676,
-0.03028159588575363,
-0.008862228132784367,
0.009218755178153515,
-0.058414772152900696,
-0.059340815991163254,
-0.03015195019543171,
-0.0066628772765398026,
-0.0020002522505819798,
0.012029294855892658,
0.010658751241862774,
-0.007811170071363449,
-0.004579280968755484,
-0.046079885214567184,
0.03320788964629173,
0.021669398993253708,
0.036967623978853226,
0.018039312213659286,
0.05100643262267113,
0.03985687717795372,
-0.06015573441982269,
-0.018826447427272797,
-0.06597127765417099,
-0.0005463651614263654,
-0.011344023048877716,
0.0009017340489663184,
0.02109525166451931,
0.0013323439052328467,
-0.03956054523587227,
-0.01597423665225506,
0.019502459093928337,
-0.019706187769770622,
-0.05100643262267113,
0.03204107657074928,
0.07237949967384338,
0.015363047830760479,
-0.003968093078583479,
0.024706818163394928,
-0.03422653675079346,
-0.01662246696650982,
0.006630465853959322,
-0.0008073934586718678,
0.031411368399858475,
0.018067093566060066,
0.0341709740459919,
-0.031763263046741486,
0.03944941982626915,
-0.029318511486053467,
-0.023299233987927437,
0.021484190598130226,
0.04200529679656029,
-0.048932094126939774,
-0.03044828400015831,
0.018937572836875916,
0.015400090254843235,
-0.053969766944646835,
0.036374956369400024,
0.02757755108177662,
0.08015825599431992,
-0.0023093188647180796,
-0.04670959338545799,
0.006625835318118334,
-0.025151319801807404,
0.009982740506529808,
0.05048784613609314,
0.03885675221681595,
-0.00783432088792324,
-0.03244853392243385,
-0.006598053965717554,
-0.03405984863638878,
0.03522666543722153,
-0.007024033926427364,
-0.05582185462117195,
0.041338544338941574,
0.001137874904088676,
0.06208190321922302,
-0.058637022972106934,
-0.008061201311647892,
-0.03172622248530388,
0.052265848964452744,
0.05534031242132187,
-0.009862354956567287,
0.021873127669095993,
-0.031874388456344604,
0.02589215338230133,
-0.017511466518044472,
0.016002018004655838,
-0.008070462383329868,
0.05826660618185997,
0.007528726942837238,
0.027077488601207733,
-0.010575407184660435,
0.021484190598130226,
0.006584163289517164,
-0.032763391733169556,
-0.03598601743578911,
-0.008181586861610413,
-0.02950371988117695,
-0.06567494571208954,
-0.029837096109986305,
0.048006054013967514,
0.01016794890165329,
0.0032967119477689266,
-0.023799296468496323,
-0.009677145630121231,
-0.05330301821231842,
-0.018613457679748535,
-0.05482172593474388,
0.06748998910188675,
0.01408510934561491,
-0.05322893336415291,
0.07034220546483994,
-0.021650878712534904,
0.041338544338941574,
0.004519088193774223,
0.0013902215287089348,
-0.06652690470218658,
-0.009218755178153515,
0.01863197796046734,
0.0016923430375754833,
-0.04419075697660446,
0.04930251091718674,
0.02846655249595642,
-0.019354291260242462,
0.02963336557149887,
-0.047894928604364395,
-0.03163361921906471,
0.03867154195904732,
-0.042227547615766525,
0.04752451181411743,
0.03050384670495987,
-0.0076120710000395775,
-0.05445130914449692,
0.02513279765844345,
0.06434144824743271,
-0.006301720626652241,
0.04174600541591644,
-0.007237023673951626,
0.07045333087444305,
-0.009047437459230423,
0.06752703338861465,
-0.0760095864534378,
0.06619352847337723,
-0.02618848718702793,
0.0324300155043602,
0.009621583856642246,
-0.02437344379723072,
0.02087300270795822
] |
725,805 | flask_admin.base | add_sub_category |
Add a category of a given name underneath
the category with parent_name.
:param name:
The name of the new menu category.
:param parent_name:
The name of a parent_name category
| def add_sub_category(self, name, parent_name):
"""
Add a category of a given name underneath
the category with parent_name.
:param name:
The name of the new menu category.
:param parent_name:
The name of a parent_name category
"""
name_text = as_unicode(name)
parent_name_text = as_unicode(parent_name)
category = self.get_category_menu_item(name_text)
parent = self.get_category_menu_item(parent_name_text)
if category is None and parent is not None:
category = SubMenuCategory(name)
self._menu_categories[name_text] = category
parent.add_child(category)
| (self, name, parent_name) | [
-0.06209104508161545,
-0.009233680553734303,
0.006507199723273516,
-0.014159521088004112,
-0.043260153383016586,
0.002653774106875062,
0.0028832529205828905,
0.06401775777339935,
0.09139162302017212,
-0.06209104508161545,
0.022975141182541847,
0.023684026673436165,
0.014813876710832119,
-0.020466778427362442,
-0.015749968588352203,
0.004271485842764378,
0.059728097170591354,
-0.03900684416294098,
-0.03059110976755619,
0.024901853874325752,
-0.029954930767416954,
0.008483897894620895,
0.04115167632699013,
-0.034117355942726135,
0.0018721831729635596,
0.04587757587432861,
-0.028773456811904907,
0.0626726970076561,
-0.018939949572086334,
-0.07561438530683517,
-0.02199360728263855,
-0.010406066663563251,
-0.0330812931060791,
0.01724953204393387,
-0.01360513735562563,
0.04667734354734421,
-0.05107606574892998,
-0.04940382391214371,
0.02448379434645176,
0.039443083107471466,
0.059800803661346436,
0.0037534546572715044,
-0.03729825094342232,
-0.023302318528294563,
0.014104991219937801,
0.004553222097456455,
-0.04293297603726387,
-0.008129455149173737,
0.012723575346171856,
-0.029627753421664238,
-0.01988513022661209,
-0.014704816974699497,
0.009878947399556637,
-0.00647993478924036,
-0.07048860192298889,
0.028191806748509407,
0.008288499899208546,
-0.009806240908801556,
0.0032445115502923727,
0.05943727120757103,
0.011660248041152954,
-0.003510343376547098,
-0.03484441712498665,
-0.039806611835956573,
0.006743494886904955,
-0.019049009308218956,
-0.009951652958989143,
-0.03331758826971054,
0.0018789994064718485,
0.05194853991270065,
-0.061872925609350204,
0.0019369371002539992,
0.03784354776144028,
-0.0013530158903449774,
0.017331326380372047,
0.019667010754346848,
0.007388761732727289,
0.019321657717227936,
0.01611349917948246,
0.020612191408872604,
-0.050312649458646774,
-0.040497321635484695,
0.04082449898123741,
0.03086375817656517,
0.042060501873493195,
0.07092484086751938,
-0.002878708764910698,
-0.00904737040400505,
-0.016486117616295815,
0.047004520893096924,
0.005212121643126011,
-0.021975431591272354,
0.01606805808842182,
-0.02631962299346924,
0.01875818520784378,
0.02144831232726574,
0.06630799919366837,
-0.049222059547901154,
-0.0017949328757822514,
0.01202377863228321,
-0.006984333973377943,
-0.01360513735562563,
0.03259052708745003,
-0.052021246403455734,
0.012750839814543724,
-0.067725770175457,
0.02611968107521534,
0.0206303671002388,
0.01033336017280817,
0.01926712691783905,
0.051366887986660004,
-0.07699580490589142,
0.04013378918170929,
0.03133634850382805,
-0.06387234479188919,
-0.01957612857222557,
-0.020303189754486084,
-0.0443870984017849,
-0.029445987194776535,
-0.010733244009315968,
0.0028287232853472233,
0.0030945551116019487,
0.026101505383849144,
-0.003335394198074937,
-0.014177697710692883,
0.03168170154094696,
-0.046568285673856735,
0.0034399093128740788,
-0.009351827204227448,
0.03409918025135994,
0.027573805302381516,
-0.013205253519117832,
-0.010560567490756512,
-0.06990695744752884,
0.07248802483081818,
0.00897011999040842,
0.058019500225782394,
-0.016486117616295815,
-0.004498692695051432,
-0.01072415616363287,
-0.013259782455861568,
-0.03182711452245712,
-0.012505456805229187,
0.030227579176425934,
-0.03075469844043255,
-0.0007230853079818189,
-0.011323981918394566,
0.013259782455861568,
-0.06976154446601868,
-0.024665558710694313,
-0.09357280284166336,
0.032517820596694946,
-0.02475644089281559,
0.005125782918184996,
0.04849499836564064,
-0.04409627616405487,
-0.07801368832588196,
-0.04580486938357353,
0.017076855525374413,
0.0014677552971988916,
-0.007275158539414406,
-0.007320599630475044,
-0.07376038283109665,
0.017331326380372047,
-0.047149933874607086,
-0.06569000333547592,
0.06063692271709442,
-0.009351827204227448,
-0.025356266647577286,
0.022738846018910408,
0.02670133113861084,
-0.00415561068803072,
-0.002078941324725747,
0.031390875577926636,
-0.0716155469417572,
-0.04395086318254471,
-0.012641780078411102,
0.0007815910503268242,
0.07299696654081345,
-0.002294787671416998,
0.01786753535270691,
0.019521599635481834,
-0.00517576839774847,
0.0544932521879673,
0.03222699835896492,
-0.0396975539624691,
0.020957546308636665,
0.04151520878076553,
0.07721392065286636,
0.030936462804675102,
-0.013423371128737926,
-0.0024561043828725815,
-0.012305514886975288,
-0.053111836314201355,
0.036589365452528,
0.011069510132074356,
0.004984914790838957,
0.016258910298347473,
-0.0029377825558185577,
0.043769098818302155,
-0.01021521259099245,
0.028191806748509407,
0.04569581151008606,
0.018358301371335983,
0.07488732784986496,
0.0506034754216671,
0.02386579103767872,
0.0005322317010723054,
-0.07128836959600449,
-0.047077227383852005,
-0.03644395247101784,
0.05765597149729729,
0.034153711050748825,
0.0026355977170169353,
-0.057546913623809814,
-0.06154574826359749,
-0.10338813811540604,
-0.022684317082166672,
-0.015540937893092632,
0.014250404201447964,
-0.047622524201869965,
0.06049150973558426,
0.030027637258172035,
-0.00655718520283699,
-0.02662862464785576,
-0.04129708930850029,
0.027937335893511772,
0.011669335886836052,
0.02506544254720211,
0.061981987208127975,
-0.03437183052301407,
-0.03593501076102257,
0.06449034810066223,
-0.03355388343334198,
-0.09197326749563217,
0.03213611617684364,
-0.024847324937582016,
0.009842594154179096,
-0.000017821525034378283,
0.030227579176425934,
-0.022120844572782516,
-0.044314395636320114,
0.009469974786043167,
-0.015259201638400555,
-0.03966120257973671,
0.03249964490532875,
0.016713324934244156,
0.04689546301960945,
0.011096774600446224,
0.01167842373251915,
0.00809764675796032,
-0.01984877698123455,
-0.048204172402620316,
0.036371245980262756,
0.012378220446407795,
-0.007775013335049152,
-0.02837357297539711,
-0.031590819358825684,
-0.007529629860073328,
-0.013741460628807545,
-0.03164535015821457,
-0.0015677261399105191,
0.004907664842903614,
0.0074069383554160595,
-0.08441182971000671,
-0.053220897912979126,
0.0027355686761438847,
0.03758907690644264,
-0.02304784767329693,
-0.004385089036077261,
0.11960160732269287,
-0.023847615346312523,
0.0607096292078495,
0.0069616129621863365,
0.022666139528155327,
-0.08608407527208328,
0.04136979579925537,
0.030191225931048393,
-0.07525085657835007,
-0.01475025899708271,
0.016277087852358818,
0.041078969836235046,
-0.028319042176008224,
0.0767049789428711,
-0.03564418479800224,
-0.08506618440151215,
0.03382653370499611,
0.030300285667181015,
-0.04449616000056267,
0.05045806244015694,
-0.008388470858335495,
-0.010024359449744225,
0.012478191405534744,
0.058637503534555435,
-0.041042618453502655,
0.0008883781847544014,
-0.007756836712360382,
-0.0030127607751637697,
0.02662862464785576,
0.009878947399556637,
0.012750839814543724,
0.0037034691777080297,
0.009878947399556637,
-0.011878365650773048,
-0.013795990496873856,
-0.006466302555054426,
-0.04416898265480995,
0.04057002812623978,
-0.04471427947282791,
0.030936462804675102,
-0.053039129823446274,
0.008143087849020958,
-0.05300277844071388,
0.03455359488725662,
-0.0801948755979538,
0.04027920216321945,
0.04031555727124214,
-0.059800803661346436,
-0.007561438716948032,
0.05685620382428169,
-0.030881933867931366,
-0.01169660035520792,
-0.05562019720673561,
-0.0030059446580708027,
0.061363983899354935,
-0.0013109826250001788,
-0.0066344356164336205,
0.00936091598123312,
0.05780138447880745,
0.029100634157657623,
-0.029918577522039413,
0.005961903836578131,
-0.000500706781167537,
-0.05263924598693848,
-0.06347246468067169,
0.019557952880859375,
-0.017740298062562943,
0.01751309260725975,
0.0001308568607782945,
-0.05674714595079422,
-0.01305984053760767,
0.052602894604206085,
-0.06445399671792984,
-0.0163497943431139,
0.06329070031642914,
-0.03809801861643791,
0.028773456811904907,
-0.013768726028501987,
0.038897786289453506,
0.02728297933936119,
-0.02230260893702507,
-0.03966120257973671,
-0.014014109037816525,
-0.011233098804950714,
-0.0293914582580328,
0.012414573691785336,
0.018549155443906784,
-0.06001891940832138,
0.01786753535270691,
-0.031554464250802994,
0.056383613497018814,
-0.013523342087864876,
0.010133418254554272,
0.01631344109773636,
-0.037261899560689926,
-0.027573805302381516,
-0.011105863377451897,
0.03648030757904053,
-0.00924731232225895,
-0.07027048617601395,
0.03369929641485214,
-0.030881933867931366,
0.12658140063285828,
0.05780138447880745,
-0.021866371855139732,
0.027973689138889313,
0.03533518686890602,
0.0060255215503275394,
-0.008492986671626568,
-0.05780138447880745,
-0.0031922541093081236,
0.008397559635341167,
-0.05569290369749069,
0.02926422283053398,
0.07023413479328156,
-0.04860405623912811,
-0.007575071416795254,
-0.00013078584743198007,
0.03315399959683418,
0.01084230374544859,
-0.0010212940396741033,
0.059255506843328476,
0.02526538446545601,
0.019085362553596497,
-0.0350261852145195,
-0.06921625137329102,
0.0009173470316454768,
-0.03748001530766487,
-0.019248951226472855,
0.0712520182132721,
0.017685769125819206,
-0.03128181770443916,
-0.01311437040567398,
0.0002438211813569069,
0.0043396479450166225,
0.04395086318254471,
-0.01682238280773163,
0.012469103559851646,
-0.04565945640206337,
-0.03315399959683418,
0.023538613691926003,
-0.0026310535613447428,
-0.07699580490589142,
0.015668174251914024,
-0.04344192147254944,
-0.029046103358268738,
0.04409627616405487,
0.011096774600446224,
-0.03457177057862282,
-0.01340519543737173,
-0.015386437065899372,
0.024629205465316772,
0.0288098081946373,
0.017958417534828186,
0.03035481460392475,
-0.007434203289449215,
-0.008783810772001743,
0.03449906408786774,
-0.015340995974838734,
-0.06652612239122391,
-0.025828856974840164,
-0.037625428289175034,
0.019903305917978287,
-0.018976302817463875,
-0.014014109037816525,
0.03835248947143555,
0.009842594154179096,
-0.01041515450924635,
-0.08346664905548096,
0.04024285078048706,
0.005225753877311945,
0.0005873293266631663,
-0.02813727781176567,
0.025828856974840164,
0.0052666510455310345,
0.012659956701099873,
-0.01923077553510666,
-0.010951362550258636,
0.042169563472270966,
-0.07343320548534393,
0.019757894799113274,
0.06125492602586746,
-0.002120974473655224,
0.012669045478105545,
-0.02506544254720211,
-0.022284433245658875,
-0.014268580824136734,
-0.027192097157239914,
0.02424749918282032,
0.02499273605644703,
-0.016913266852498055,
0.034226417541503906,
0.060818687081336975,
0.043805450201034546,
0.008338485844433308,
0.006384508218616247,
0.05631090700626373,
0.006897995248436928,
0.04136979579925537,
-0.03133634850382805,
0.035516951233148575,
0.028391748666763306,
0.004794061183929443,
0.004185147117823362,
-0.01169660035520792,
-0.04442345350980759,
-0.0373709574341774,
-0.004894032143056393,
-0.011005892418324947,
0.02915516309440136,
0.0576196163892746,
0.007220628671348095,
-0.02253890410065651,
0.032863177359104156,
-0.030536578968167305,
-0.03349935635924339,
0.044786982238292694,
0.04900394007563591,
0.004412353970110416,
0.0043146549724042416,
-0.01957612857222557,
-0.06045515835285187,
-0.04151520878076553,
0.02813727781176567,
0.020848486572504044,
-0.02950051799416542,
-0.014450346119701862,
-0.0009610843262635171,
-0.03273594006896019,
0.0373709574341774,
-0.023793084546923637,
-0.01708594337105751,
-0.029355105012655258,
-0.004364640451967716,
0.028937045484781265,
0.06503564119338989,
-0.05183947831392288,
0.019521599635481834,
-0.05045806244015694,
-0.04115167632699013,
-0.02230260893702507,
-0.005466592963784933,
0.019448893144726753,
-0.012950781732797623,
0.02775556966662407,
0.007320599630475044,
-0.0342627689242363,
0.027737393975257874,
0.03529883176088333,
0.012296426109969616,
0.0020743971690535545,
-0.03051840327680111,
-0.0012212359579280019,
-0.003335394198074937,
0.028755279257893562,
-0.00038312727701850235,
-0.0055620200000703335,
0.04355097934603691,
-0.026864919811487198,
0.03553512692451477,
-0.05507490411400795,
0.004405537620186806,
-0.016095321625471115,
0.0649992898106575,
-0.015550026670098305,
-0.030809227377176285,
-0.08303041756153107,
0.0856478363275528,
-0.0362076573073864,
-0.03048205003142357,
0.016886001452803612,
0.019994189962744713,
0.047040876001119614,
-0.015186495147645473,
-0.0011610261863097548,
0.019648835062980652,
0.007266070228070021,
0.024102086201310158,
0.011542100459337234,
0.02802821807563305,
-0.001537053263746202,
0.024647383019328117,
-0.05183947831392288,
0.038897786289453506,
0.06659882515668869,
0.02319325879216194,
-0.020466778427362442,
-0.021575547754764557,
-0.006911627482622862,
0.026919448748230934,
0.022938787937164307,
0.028428101912140846,
0.013768726028501987,
-0.026028798893094063,
0.007815910503268242,
0.023211436346173286,
-0.06561729311943054,
0.04856770485639572,
0.010733244009315968,
0.045368634164333344,
0.00009798288374440745,
-0.03977026045322418,
-0.028937045484781265,
0.043841805309057236,
-0.06525376439094543,
0.011723865754902363,
0.06427223235368729,
0.016704237088561058,
-0.00234022899530828,
0.04638651758432388,
-0.007266070228070021,
0.0006253864266909659,
-0.06492658704519272,
0.05107606574892998,
0.0028173630125820637,
0.0027083037421107292,
0.045986633747816086,
0.03366294503211975,
0.03420824185013771,
-0.02495638281106949,
-0.009233680553734303,
0.0428239181637764,
0.020412249490618706,
-0.048167821019887924,
0.006784392055124044,
-0.04831323027610779,
0.020212307572364807,
-0.005225753877311945,
0.03031846135854721,
0.02690127305686474,
0.004880399908870459,
-0.04834958538413048,
0.006080050952732563,
0.03849790245294571,
0.03399012237787247,
0.04507780820131302,
0.02697397954761982,
-0.08804713934659958,
-0.061291277408599854,
-0.020557662472128868,
-0.005507490132004023,
-0.00031184119870886207,
-0.006661700084805489,
0.07048860192298889,
-0.009233680553734303,
-0.07466920465230942,
-0.03126364201307297,
-0.10295189917087555,
0.07597792148590088,
0.02611968107521534,
-0.049803707748651505,
-0.008879237808287144,
0.0015768144512549043,
0.022357139736413956,
-0.08782902359962463,
-0.04060637950897217,
-0.022175373509526253,
-0.02751927450299263,
0.008865605108439922,
-0.006011889316141605,
0.039915673434734344,
-0.03289952874183655,
-0.04805875942111015,
-0.05834667757153511,
0.0028673484921455383,
0.0029786797240376472,
0.01786753535270691,
-0.00006116829899838194,
0.0381343699991703,
0.04973100125789642,
-0.013023488223552704,
-0.0030263932421803474,
-0.014932024292647839,
0.03449906408786774,
-0.03331758826971054,
0.018849067389965057,
0.019957836717367172,
-0.04340556636452675,
-0.07619603723287582,
-0.025083618238568306,
0.01662244275212288,
0.033026766031980515,
0.006920715793967247,
0.048785820603370667,
0.03755272179841995,
0.03460812568664551,
0.011523923836648464,
0.001980106346309185,
-0.04002473130822182,
-0.0047349873930215836,
0.048640407621860504,
-0.030536578968167305,
-0.005857388488948345,
0.02001236565411091,
0.020466778427362442,
-0.01824924163520336,
0.025356266647577286,
-0.011124040000140667,
0.016022616997361183,
0.0009741486865095794,
0.04118803143501282,
-0.01981242373585701,
-0.034735359251499176,
0.011233098804950714,
0.020412249490618706,
-0.029409633949398994,
0.036843836307525635,
-0.00033853796776384115,
0.06659882515668869,
0.02039407379925251,
-0.08811984211206436,
0.03184529021382332,
-0.0006435629911720753,
-0.01892177388072014,
0.0544932521879673,
0.05173042044043541,
-0.012923517264425755,
-0.03211793676018715,
-0.03257235139608383,
-0.01568634994328022,
0.04605934023857117,
0.04060637950897217,
-0.08041299134492874,
0.016168028116226196,
0.006239095702767372,
0.0782318115234375,
-0.011278539896011353,
-0.021393781527876854,
-0.039806611835956573,
0.05016723647713661,
0.03973390534520149,
0.010615096427500248,
0.0074887326918542385,
-0.01564090885221958,
0.021466488018631935,
-0.012178278528153896,
-0.0028855251148343086,
-0.0036875647492706776,
0.060382451862096786,
0.0023720378521829844,
-0.021321076899766922,
0.0024924573954194784,
-0.0022107211407274008,
0.01455940492451191,
-0.04576851800084114,
-0.012696309946477413,
0.016477029770612717,
-0.011805660091340542,
-0.030772874131798744,
0.01864912547171116,
0.0572197325527668,
0.05598372966051102,
0.04144250229001045,
-0.0260833278298378,
-0.0186854787170887,
-0.05903738737106323,
-0.00724789360538125,
-0.06278175115585327,
0.012350955978035927,
-0.014604846015572548,
-0.06947071850299835,
0.034153711050748825,
0.0030241210479289293,
0.013759637251496315,
0.009942565113306046,
0.0037375502288341522,
-0.041078969836235046,
0.010633273050189018,
0.02004871889948845,
-0.02864621952176094,
0.00161998369731009,
0.045441340655088425,
0.013923225924372673,
-0.023029670119285583,
0.004689546301960945,
-0.010733244009315968,
0.0007554622716270387,
0.03319035470485687,
-0.029173338785767555,
0.07205178588628769,
0.007266070228070021,
0.009469974786043167,
-0.04507780820131302,
0.02631962299346924,
-0.004834958352148533,
-0.050894301384687424,
0.014132256619632244,
-0.020212307572364807,
0.0077204834669828415,
-0.023011494427919388,
0.073178730905056,
-0.014759346842765808,
0.032408762723207474,
-0.007011598441749811,
0.022484375163912773,
0.007075216621160507,
0.0010837758891284466,
0.012859898619353771
] |
725,806 | flask_admin.base | add_view |
Add a view to the collection.
:param view:
View to add.
| def add_view(self, view):
"""
Add a view to the collection.
:param view:
View to add.
"""
# Add to views
self._views.append(view)
# If app was provided in constructor, register view with Flask app
if self.app is not None:
self.app.register_blueprint(view.create_blueprint(self))
self._add_view_to_menu(view)
| (self, view) | [
-0.035683389753103256,
-0.03418832644820213,
-0.04730165749788284,
-0.0019892905838787556,
0.04247422516345978,
0.0380430705845356,
0.012816119939088821,
0.04045678675174713,
-0.02948698215186596,
0.03011743165552616,
0.02408313751220703,
0.022263841703534126,
0.03559332713484764,
0.018733330070972443,
0.008821777068078518,
0.07716690748929977,
0.06650332361459732,
-0.008488540537655354,
0.03397217392921448,
-0.04917499050498009,
0.02419121377170086,
0.033035505563020706,
0.06254050135612488,
-0.00031409849179908633,
-0.057785119861364365,
0.02986525185406208,
-0.043627042323350906,
0.03699832782149315,
0.03269326314330101,
-0.04168165847659111,
-0.022209804505109787,
-0.058217424899339676,
-0.014950638636946678,
0.0017078402452170849,
0.030459674075245857,
0.017193233594298363,
0.027163328602910042,
-0.011735350824892521,
0.05400242656469345,
0.03829525038599968,
0.06740396469831467,
0.020984932780265808,
0.0004587639414239675,
-0.057532940059900284,
-0.006471104919910431,
0.03200877830386162,
-0.03384608402848244,
0.07032203674316406,
-0.008353443816304207,
-0.018436118960380554,
-0.02026441879570484,
-0.02673102170228958,
-0.01160926092416048,
0.005795624107122421,
-0.025650251656770706,
0.02500179037451744,
0.008204838261008263,
0.05623601749539375,
0.0028978120535612106,
0.045896660536527634,
-0.007574389688670635,
-0.005394838750362396,
-0.02543409913778305,
-0.021957624703645706,
0.04150153324007988,
0.06268460303544998,
-0.023921022191643715,
-0.0164457019418478,
0.05886588618159294,
0.00978996604681015,
-0.026280701160430908,
0.030153457075357437,
0.009528780356049538,
0.05043588951230049,
0.04521217197179794,
0.008583107963204384,
0.013095318339765072,
-0.05367819592356682,
0.0025375557597726583,
0.00991605594754219,
0.05634409189224243,
-0.04438358172774315,
-0.009807978756725788,
0.011861440725624561,
0.045464351773262024,
0.03193672373890877,
-0.0190215352922678,
-0.04895883798599243,
-0.02001224085688591,
0.018517175689339638,
-0.021020958200097084,
-0.004129438195377588,
-0.021345188841223717,
-0.03208082914352417,
-0.02764967456459999,
-0.049535248428583145,
0.01711217686533928,
0.0025105364620685577,
-0.030675828456878662,
0.02314647100865841,
-0.005084117874503136,
0.03584550693631172,
-0.0026298712473362684,
0.03042364865541458,
-0.025217944756150246,
-0.08192229270935059,
-0.028892559930682182,
0.007691473234444857,
-0.05958640202879906,
0.005651521496474743,
0.04002448171377182,
0.012843138538300991,
0.02561422623693943,
0.052237171679735184,
-0.054831016808748245,
0.0349808931350708,
0.006444085389375687,
-0.003940303809940815,
0.017877722159028053,
0.004248773213475943,
-0.0018463138258084655,
-0.01400496531277895,
0.00957381259649992,
0.002771722385659814,
0.006610704120248556,
-0.01154621597379446,
-0.060667168349027634,
-0.008853299543261528,
0.032729290425777435,
-0.01858922839164734,
0.01289717759937048,
0.005192194599658251,
-0.04532025009393692,
-0.02561422623693943,
0.053281914442777634,
0.014140062034130096,
-0.006903412286192179,
-0.03631383925676346,
-0.026893137022852898,
0.041645634919404984,
-0.08869511634111404,
-0.02332659810781479,
0.009123492054641247,
0.0370703786611557,
-0.014446279965341091,
0.00889833178371191,
-0.0614597350358963,
0.041969865560531616,
-0.007853588089346886,
0.03442249447107315,
-0.03941204398870468,
0.027415508404374123,
0.03508896753191948,
-0.004235263913869858,
-0.005183188244700432,
0.029955316334962845,
-0.021381214261054993,
-0.00564701808616519,
0.026388777419924736,
-0.05400242656469345,
0.023470701649785042,
0.04913896694779396,
-0.0258483923971653,
0.023506727069616318,
-0.026929162442684174,
-0.024245252832770348,
0.026280701160430908,
-0.010429421439766884,
0.01858922839164734,
0.07500537484884262,
-0.012131632305681705,
-0.03941204398870468,
0.008344437927007675,
-0.00855608843266964,
0.010213267989456654,
-0.016580797731876373,
-0.008263380266726017,
-0.035124994814395905,
0.036800187081098557,
-0.031684547662734985,
0.03332371264696121,
0.018481150269508362,
-0.01605842635035515,
0.02166941948235035,
-0.019669996574521065,
-0.008141793310642242,
0.010681601241230965,
0.0582534521818161,
0.021327175199985504,
0.05706460773944855,
-0.03811512142419815,
0.008321921341121197,
0.010177241638302803,
-0.05241730064153671,
-0.018192945048213005,
-0.01250089518725872,
-0.06322498619556427,
-0.02851429022848606,
-0.030459674075245857,
-0.047445762902498245,
0.03381005674600601,
0.016175510361790657,
-0.001017161295749247,
-0.02260608598589897,
0.040240634232759476,
0.022984355688095093,
0.017085157334804535,
-0.008425495587289333,
-0.008718203753232956,
-0.029883263632655144,
0.020516598597168922,
0.013833844102919102,
0.004908492788672447,
-0.011636280454695225,
-0.0249477531760931,
-0.05897396430373192,
-0.025380060076713562,
-0.04351896792650223,
-0.02696518786251545,
0.011303042992949486,
0.022768201306462288,
0.06697165220975876,
-0.050579991191625595,
0.0465451218187809,
-0.011312049813568592,
-0.018391085788607597,
-0.0059532360173761845,
-0.06218024715781212,
0.015653138980269432,
0.01493262592703104,
-0.0370703786611557,
0.003264823229983449,
0.03689024969935417,
0.015626119449734688,
-0.02383095771074295,
0.01896749623119831,
-0.011303042992949486,
0.02604653500020504,
-0.04359101876616478,
-0.0020669708028435707,
0.032981470227241516,
0.05479498952627182,
0.014644420705735683,
0.0029653601814061403,
-0.007024998776614666,
0.021453265100717545,
-0.07226742058992386,
-0.01502268947660923,
-0.002821257570758462,
0.014887593686580658,
-0.0033526357728987932,
-0.07291588187217712,
0.005615496076643467,
-0.0064215692691504955,
-0.025073841214179993,
-0.0030621790792793036,
-0.05861370638012886,
0.012131632305681705,
-0.04578858241438866,
-0.019435830414295197,
0.021381214261054993,
0.021327175199985504,
0.08552485704421997,
0.0030554241966456175,
-0.0423661470413208,
-0.028676405549049377,
0.0019543906673789024,
-0.012888170778751373,
-0.008754229173064232,
-0.025470124557614326,
0.1250089555978775,
0.03840332850813866,
0.03453057259321213,
-0.013806824572384357,
0.014896600507199764,
-0.0929461419582367,
-0.005696553736925125,
0.018805380910634995,
-0.11067075282335281,
0.05659627169370651,
0.04326678812503815,
-0.0381871722638607,
-0.00217054458335042,
0.10036741942167282,
-0.06747601181268692,
0.008024710230529308,
-0.01292419619858265,
0.06643126904964447,
-0.01858922839164734,
-0.04438358172774315,
0.09056844562292099,
0.005890191532671452,
0.039303969591856,
0.035251084715127945,
-0.019994227215647697,
0.03786294162273407,
-0.0465451218187809,
0.05973050370812416,
-0.007457306608557701,
0.02900063619017601,
0.032909419387578964,
-0.011348075233399868,
0.06837665289640427,
0.003884013742208481,
0.012654004618525505,
-0.033647943288087845,
-0.012086600996553898,
0.005574967246502638,
0.005408348515629768,
-0.007038508541882038,
-0.0321168527007103,
0.028676405549049377,
-0.02826211042702198,
0.03674614802002907,
-0.02554217539727688,
0.05529934912919998,
-0.05749691277742386,
-0.01914762519299984,
-0.006952947471290827,
0.02332659810781479,
-0.03669210895895958,
0.057604990899562836,
-0.02339865081012249,
-0.04600473493337631,
0.0551912747323513,
-0.011816408485174179,
0.02746954746544361,
-0.03649396821856499,
-0.013707754202187061,
0.024587495252490044,
-0.03768281266093254,
0.003370648482814431,
0.0050030602142214775,
0.021939611062407494,
-0.09193742275238037,
-0.022389931604266167,
-0.031612493097782135,
-0.006525143049657345,
-0.04178973659873009,
-0.045032043009996414,
0.05036383867263794,
0.03861948102712631,
-0.060306914150714874,
0.011131920851767063,
0.025704290717840195,
-0.008938861079514027,
0.01126701757311821,
-0.03152243047952652,
-0.02610057219862938,
-0.04708550497889519,
0.014464292675256729,
-0.07536562532186508,
-0.01657179184257984,
-0.030459674075245857,
-0.01699509285390377,
0.026208650320768356,
-0.0072771781124174595,
-0.047265633940696716,
0.027505572885274887,
-0.03397217392921448,
-0.004057387355715036,
0.028784481808543205,
-0.04247422516345978,
-0.04715755581855774,
-0.007984180934727192,
-0.001720224041491747,
0.007272675167769194,
0.0026839098427444696,
0.03622377663850784,
-0.04733768478035927,
0.023542752489447594,
-0.03072986751794815,
0.056668322533369064,
0.07961665093898773,
0.022389931604266167,
-0.04982345178723335,
0.061711911112070084,
0.040240634232759476,
-0.0675840899348259,
0.010690607130527496,
-0.030459674075245857,
0.04881473630666733,
0.0413934551179409,
-0.0118794534355402,
0.0195799320936203,
-0.06848473101854324,
0.00010709182970458642,
0.04283447936177254,
-0.015626119449734688,
-0.00870919693261385,
0.039303969591856,
-0.013167369179427624,
-0.019435830414295197,
0.025037815794348717,
-0.002533052349463105,
-0.07680665701627731,
-0.009037931449711323,
-0.014383235014975071,
0.022461984306573868,
0.02912672609090805,
0.11045459657907486,
-0.0059847584925591946,
-0.012131632305681705,
-0.004714854992926121,
0.02469557337462902,
0.03615172579884529,
-0.057352811098098755,
0.034872815012931824,
0.009285607375204563,
-0.04186178743839264,
0.05130050331354141,
0.001773136667907238,
-0.05349806696176529,
-0.049535248428583145,
-0.015445991419255733,
-0.029649097472429276,
0.03447653353214264,
0.034080252051353455,
-0.009321632795035839,
0.02197563648223877,
0.06725986301898956,
0.09035228937864304,
0.03743063658475876,
0.08415587991476059,
0.03941204398870468,
-0.015337914228439331,
0.012690030038356781,
0.05155268311500549,
0.014689452946186066,
0.0055254315957427025,
-0.013293459080159664,
0.013482593931257725,
0.04020460695028305,
-0.013158363290131092,
0.0034584610257297754,
-0.02332659810781479,
0.031018070876598358,
-0.08141793310642242,
-0.07305999100208282,
0.05533537641167641,
0.028604354709386826,
-0.010510479100048542,
0.019778072834014893,
-0.013158363290131092,
0.024839675053954124,
-0.034386467188596725,
-0.06956550478935242,
-0.01013220939785242,
0.06776422262191772,
-0.07918434590101242,
0.011366087943315506,
0.020840829238295555,
0.008119277656078339,
0.03627781569957733,
0.014887593686580658,
-0.010447434149682522,
-0.03541319817304611,
-0.020174356177449226,
0.0006569049437530339,
0.0465451218187809,
-0.029901277273893356,
-0.0009321633260697126,
-0.00036250794073566794,
-0.027415508404374123,
-0.008610126562416553,
-0.008916344493627548,
-0.006718780845403671,
0.0050886208191514015,
-0.026244675740599632,
-0.024407368153333664,
0.00963685754686594,
-0.004374863114207983,
0.019868137314915657,
-0.0742848590016365,
-0.003059927374124527,
-0.0014083771966397762,
0.05652422085404396,
-0.023740893229842186,
-0.05090422183275223,
-0.004591017030179501,
0.03631383925676346,
-0.0171752218157053,
-0.014500318095088005,
0.03840332850813866,
-0.0358094796538353,
0.06434178352355957,
0.00625044759362936,
0.011582241393625736,
0.015202818438410759,
0.0009738179505802691,
-0.021597368642687798,
-0.015851279720664024,
-0.0667555034160614,
0.050219736993312836,
0.02739749476313591,
0.034332431852817535,
0.0364399291574955,
0.01662583090364933,
0.025722304359078407,
-0.01074464526027441,
0.0004520091461017728,
-0.02148929052054882,
0.022011663764715195,
0.009501760825514793,
-0.0021255125757306814,
-0.050399862229824066,
-0.0248757004737854,
-0.008182322606444359,
-0.06102742627263069,
-0.03625980019569397,
0.008402979001402855,
-0.0019071070710197091,
0.00997910089790821,
-0.015869291499257088,
0.032711274921894073,
0.02314647100865841,
-0.08091357350349426,
-0.010123203508555889,
0.03732255846261978,
0.020822817459702492,
0.011212978512048721,
-0.007520351093262434,
0.06553062796592712,
-0.012644997797906399,
-0.020984932780265808,
0.0029000635258853436,
-0.0016853242414072156,
0.03786294162273407,
0.025199931114912033,
0.061964090913534164,
-0.02887454628944397,
0.05338999256491661,
-0.026136597618460655,
-0.012365799397230148,
-0.020354483276605606,
0.030315572395920753,
-0.04834640398621559,
-0.04939114674925804,
-0.03503492847084999,
-0.023632816970348358,
-0.002027567708864808,
0.017958778887987137,
0.035503264516592026,
-0.04240217059850693,
-0.028063969686627388,
-0.04416742920875549,
-0.017706599086523056,
-0.07259165495634079,
0.03316159546375275,
-0.057352811098098755,
-0.0422220453619957,
0.05367819592356682,
-0.014779516495764256,
0.05580370873212814,
0.05003960803151131,
0.01502268947660923,
0.008475030772387981,
0.03141435235738754,
0.057532940059900284,
-0.020426535978913307,
-0.0011443768162280321,
-0.011312049813568592,
-0.04157358407974243,
0.0184631384909153,
-0.007511344738304615,
0.04665319621562958,
-0.03208082914352417,
-0.03933999314904213,
0.015157786197960377,
-0.02709127776324749,
-0.004894983023405075,
-0.06390947848558426,
-0.028027944266796112,
-0.009934068657457829,
-0.06322498619556427,
-0.02610057219862938,
0.00855608843266964,
0.06495422124862671,
0.01397794671356678,
-0.03829525038599968,
-0.07450101524591446,
0.002895560348406434,
-0.0028325156308710575,
-0.025452110916376114,
-0.036728136241436005,
0.009528780356049538,
0.03566537797451019,
0.020228393375873566,
0.021255124360322952,
-0.005205704364925623,
-0.02357877790927887,
-0.019417816773056984,
-0.003832226851955056,
-0.02918076515197754,
0.0006946192588657141,
0.004205992911010981,
-0.0015794989885762334,
-0.008520063012838364,
-0.0317746102809906,
0.03768281266093254,
0.01508573442697525,
0.03355788066983223,
0.02678505890071392,
-0.04521217197179794,
0.029577046632766724,
0.0059937648475170135,
-0.02320050820708275,
0.0041384450159966946,
-0.02999134175479412,
0.0008539201226085424,
0.01139310747385025,
0.007146585267037153,
0.022750187665224075,
0.09568408876657486,
-0.021687433123588562,
-0.0667555034160614,
-0.04096114635467529,
0.004516713786870241,
0.04813024774193764,
-0.0021063738968223333,
-0.0064035565592348576,
0.02044454775750637,
0.023903008550405502,
-0.005210207309573889,
-0.03526909649372101,
0.00944772269576788,
0.0174183938652277,
-0.019417816773056984,
-0.018877433612942696,
-0.0023731887340545654,
0.04002448171377182,
-0.07651844620704651,
-0.03941204398870468,
-0.024731598794460297,
0.052309222519397736,
-0.041465505957603455,
-0.009411697275936604,
0.0013836096040904522,
-0.00516967847943306,
0.023236535489559174,
-0.02709127776324749,
-0.04957127198576927,
-0.00113199301995337,
-0.023254547268152237,
0.04957127198576927,
0.08646152168512344,
-0.014653426595032215,
-0.006426072679460049,
0.015968361869454384,
0.007934645749628544,
0.00600277166813612,
0.001850817003287375,
-0.0353231355547905,
0.017760638147592545,
0.007421280723065138,
0.02543409913778305,
0.011537210084497929,
-0.011600254103541374,
-0.05212909355759621,
0.014977658167481422,
-0.02586640603840351,
-0.04427550733089447,
0.05450678616762161,
-0.07298793643712997,
0.06610704213380814,
-0.01148317102342844,
0.038259223103523254,
0.01945384219288826,
-0.042149994522333145,
0.06189204007387161,
0.000302277592709288,
-0.0380430705845356,
-0.013347498141229153,
0.03847537934780121,
0.04921101778745651,
-0.05227319523692131,
-0.02764967456459999,
0.05375024676322937,
0.04784204438328743,
-0.03854743018746376,
-0.07644639909267426,
0.0012935454724356532,
-0.01302326750010252,
-0.007178107742220163,
-0.016580797731876373,
0.01563512533903122,
-0.01339252945035696,
-0.009429709985852242,
0.05338999256491661,
-0.01785070262849331,
0.027055252343416214,
-0.035070955753326416,
-0.03090999461710453,
0.07550973445177078,
-0.03388211131095886,
0.07781536877155304,
-0.014572368934750557,
-0.10108793526887894,
-0.004903989378362894,
0.02013833075761795,
0.06614306569099426,
0.009483748115599155,
0.013716760091483593,
0.06513434648513794,
-0.04921101778745651,
-0.030891982838511467,
-0.019363779574632645,
-0.027757752686738968,
-0.001732607837766409,
-0.012590959668159485,
0.023254547268152237,
0.0050300792790949345,
0.07183511555194855,
0.012239709496498108,
-0.009771953336894512,
-0.0507240928709507,
0.01391490176320076,
0.030369609594345093,
-0.04856255650520325,
-0.053281914442777634,
-0.018391085788607597,
-0.011798395775258541,
0.0155720803886652,
-0.03301749378442764,
0.08120178431272507,
-0.0317746102809906,
-0.0627206340432167,
-0.02968512289226055,
0.0221557654440403,
-0.004271289333701134,
-0.012419837526977062,
-0.04323076084256172,
0.03370198234915733,
0.039736274629831314,
0.01514877937734127,
0.018246984109282494,
-0.06592690944671631,
0.02887454628944397,
-0.03379204496741295,
-0.04917499050498009,
-0.028892559930682182,
-0.007029502186924219,
-0.012338779866695404,
-0.020354483276605606,
0.008839789777994156,
-0.0286403801292181,
0.023290572687983513,
0.013734773732721806,
-0.03517903387546539,
0.07140281051397324,
-0.0038344785571098328,
0.040492814034223557,
-0.05036383867263794,
0.017517464235424995,
0.008056232705712318,
-0.0023078923113644123,
0.042942557483911514,
-0.041969865560531616,
0.0340082012116909,
-0.03615172579884529,
-0.007605912163853645,
-0.022191790863871574,
-0.005219213664531708,
-0.03944807127118111,
0.13120536506175995,
0.05227319523692131,
0.02999134175479412,
0.006259453948587179
] |
725,807 | flask_admin.base | add_views |
Add one or more views to the collection.
Examples::
admin.add_views(view1)
admin.add_views(view1, view2, view3, view4)
admin.add_views(*my_list)
:param args:
Argument list including the views to add.
| def add_views(self, *args):
"""
Add one or more views to the collection.
Examples::
admin.add_views(view1)
admin.add_views(view1, view2, view3, view4)
admin.add_views(*my_list)
:param args:
Argument list including the views to add.
"""
for view in args:
self.add_view(view)
| (self, *args) | [
-0.07821157574653625,
-0.03961841017007828,
-0.040570423007011414,
0.0024715736508369446,
0.00760237779468298,
0.04291384294629097,
0.003583781886845827,
0.006133164279162884,
-0.00748337572440505,
0.04884561896324158,
0.011250237002968788,
0.06345536559820175,
0.004679970443248749,
0.004595296457409859,
-0.007890728302299976,
0.004416793584823608,
0.04719790443778038,
-0.012669103220105171,
0.030153198167681694,
-0.04785699024796486,
0.0035746279172599316,
0.0379340797662735,
0.09014835953712463,
0.029365956783294678,
-0.02136538177728653,
0.03987472131848335,
0.0424378365278244,
-0.0008473149500787258,
0.03932548314332962,
0.02339756488800049,
-0.038703013211488724,
-0.0578165166079998,
-0.028816718608140945,
0.010719306766986847,
0.02733377367258072,
-0.0010229569161310792,
-0.013868274167180061,
0.04280399531126022,
-0.01792348548769951,
0.02975042350590229,
0.10054727643728256,
-0.0035769164096564054,
0.016806701198220253,
-0.020449982956051826,
0.024020034819841385,
0.01572653092443943,
-0.024660812690854073,
-0.0004416793817654252,
-0.00855439156293869,
-0.06638463586568832,
-0.026271913200616837,
-0.013566193170845509,
0.02497204765677452,
-0.014673824422061443,
-0.011250237002968788,
0.06470030546188354,
0.013950659893453121,
0.0994488000869751,
0.029109645634889603,
0.03419925644993782,
0.007863265462219715,
-0.023727107793092728,
-0.0117903221398592,
-0.017648866400122643,
0.043353233486413956,
0.018253030255436897,
-0.06202734634280205,
-0.0005626835045404732,
0.03194737806916237,
0.012028325349092484,
-0.04133936017751694,
0.01933319866657257,
0.015085753053426743,
0.021493537351489067,
0.03559065982699394,
0.04031411185860634,
-0.024550965055823326,
0.001937210327014327,
0.002926984103396535,
0.025374822318553925,
0.0506397970020771,
-0.06001346930861473,
-0.01360280904918909,
0.02975042350590229,
0.06660433113574982,
0.013383113779127598,
-0.07828480750322342,
-0.04822314903140068,
0.028926566243171692,
0.0455135703086853,
-0.008421658538281918,
-0.02087106741964817,
-0.03484003618359566,
-0.01878396049141884,
-0.0451107956469059,
-0.020761219784617424,
-0.02720561809837818,
-0.03866639733314514,
-0.057010967284440994,
-0.0027690778952091932,
-0.01246771588921547,
-0.00679225055500865,
0.039911337196826935,
-0.011863553896546364,
-0.002147751860320568,
-0.12039309740066528,
-0.03344862908124924,
-0.027443621307611465,
-0.04309692233800888,
0.035956818610429764,
0.032075535506010056,
-0.016669390723109245,
0.02310463786125183,
-0.0024349577724933624,
-0.04415878280997276,
0.008980050683021545,
-0.006009585689753294,
0.018253030255436897,
-0.005249805748462677,
0.005194881930947304,
0.0157356858253479,
-0.007771726232022047,
0.03317401185631752,
0.02616206556558609,
-0.007913612760603428,
0.005167420022189617,
-0.040240880101919174,
0.026454992592334747,
-0.012952877208590508,
-0.05525340139865875,
-0.006773942615836859,
-0.04229137301445007,
-0.02409326657652855,
-0.019626125693321228,
0.03830023854970932,
-0.012257174588739872,
0.051701661199331284,
-0.023544028401374817,
-0.008732893504202366,
0.0025516708847135305,
-0.08319134265184402,
0.02345248870551586,
0.04159567132592201,
0.06587201356887817,
-0.04774714261293411,
0.004293214995414019,
-0.032240305095911026,
0.044378478080034256,
0.01644054241478443,
0.016669390723109245,
-0.025539595633745193,
0.042327988892793655,
0.00846285093575716,
0.012083249166607857,
-0.04020426422357559,
0.01980920508503914,
-0.015598376281559467,
0.024166498333215714,
0.004888223484158516,
-0.05247059464454651,
-0.004924839362502098,
0.04602619260549545,
-0.03286277502775192,
0.028487175703048706,
0.01658700592815876,
-0.016806701198220253,
0.004210829269140959,
-0.03304585441946983,
-0.03910578787326813,
0.0789438933134079,
0.029274417087435722,
0.0018891518702730536,
-0.0006762500270269811,
0.017667174339294434,
0.046428970992565155,
-0.035132963210344315,
-0.010371455922722816,
-0.016998935490846634,
0.004998071119189262,
-0.029530728235840797,
-0.018564265221357346,
0.010188375599682331,
-0.005648003425449133,
-0.0012540947645902634,
-0.01762140542268753,
-0.024990355595946312,
0.009913756512105465,
0.01761225052177906,
-0.010829154402017593,
0.005670888349413872,
0.013520423322916031,
0.027590084820985794,
0.016651082783937454,
-0.049175161868333817,
-0.025246666744351387,
-0.0025104780215770006,
-0.07931005209684372,
-0.01641307957470417,
-0.0009085321798920631,
-0.020211979746818542,
-0.004901954438537359,
-0.012293790467083454,
0.016486311331391335,
-0.03059259057044983,
0.07495275884866714,
0.012623333372175694,
0.007323181256651878,
-0.014527360908687115,
-0.010472149588167667,
-0.02768162451684475,
0.08853726089000702,
0.02768162451684475,
0.009272978641092777,
0.0304461270570755,
-0.005455770064145327,
-0.014930135570466518,
0.006288781762123108,
-0.04324338585138321,
-0.016678545624017715,
-0.008041768334805965,
0.04902869835495949,
0.0451107956469059,
-0.039581794291734695,
0.028926566243171692,
0.029512420296669006,
-0.04635573923587799,
0.02618037350475788,
-0.06308920681476593,
-0.041449207812547684,
0.004377889446914196,
-0.028249172493815422,
-0.03570050746202469,
0.0008907963638193905,
0.0430603064596653,
-0.0271690022200346,
0.01900365576148033,
-0.026638071984052658,
-0.012312098406255245,
0.029512420296669006,
-0.009085321798920631,
0.0043756007216870785,
0.05518016964197159,
0.010755922645330429,
0.010417225770652294,
0.023287717252969742,
-0.006426091771572828,
-0.05745035782456398,
-0.003684475552290678,
-0.014692132361233234,
0.027553468942642212,
0.036872219294309616,
-0.016367310658097267,
-0.02017536386847496,
0.02048659883439541,
-0.044891100376844406,
0.03593851253390312,
-0.021237226203083992,
-0.005011802073568106,
-0.013346497900784016,
-0.04459817335009575,
0.036853909492492676,
0.0019829801749438047,
0.05181150883436203,
0.03059259057044983,
-0.041815366595983505,
-0.024239730089902878,
0.029988426715135574,
-0.0010710152564570308,
-0.026967614889144897,
-0.0117903221398592,
0.11848907172679901,
0.040277495980262756,
0.047088056802749634,
0.001726668793708086,
0.003565473947674036,
-0.041449207812547684,
0.03507803753018379,
0.01658700592815876,
-0.15862010419368744,
0.014408359304070473,
0.0629427433013916,
-0.0048561845906078815,
-0.028835026547312737,
0.025393130257725716,
-0.007506260648369789,
-0.0043344078585505486,
0.023379256948828697,
0.04968778416514397,
-0.06264981627464294,
-0.01929658278822899,
0.0713644027709961,
-0.0065222084522247314,
0.050676412880420685,
0.005712081212550402,
-0.01374927256256342,
-0.004130731802433729,
-0.05825590714812279,
0.029475804418325424,
-0.01128685288131237,
0.02903641387820244,
0.02288494072854519,
-0.030317969620227814,
0.05690111964941025,
-0.015186447650194168,
0.026967614889144897,
-0.025338206440210342,
-0.02052321471273899,
0.00337552884593606,
0.02220754697918892,
-0.04767391085624695,
-0.021237226203083992,
0.014838595874607563,
-0.06513969600200653,
0.025594519451260567,
-0.01793264038860798,
0.05250721052289009,
-0.041266124695539474,
0.008842741139233112,
-0.03705529868602753,
0.020944299176335335,
-0.019589509814977646,
0.04723452031612396,
-0.025210050866007805,
0.006554247345775366,
0.05294660106301308,
0.013163418509066105,
-0.009950372390449047,
-0.03416264057159424,
-0.010902386158704758,
0.024660812690854073,
-0.023855263367295265,
-0.006929560098797083,
0.01052707340568304,
0.032405078411102295,
-0.05935438349843025,
-0.02202446758747101,
-0.029860271140933037,
0.011085465550422668,
-0.02923780120909214,
0.0167609304189682,
0.06821543723344803,
0.05243397876620293,
-0.049321625381708145,
0.018683265894651413,
0.007076024077832699,
0.026454992592334747,
0.07601462304592133,
-0.004133020527660847,
0.019443046301603317,
-0.035627275705337524,
0.008586429990828037,
-0.04269414767622948,
-0.03388801962137222,
-0.046758513897657394,
0.056681424379348755,
0.024752352386713028,
0.000659086334053427,
-0.05485062673687935,
0.03522450104355812,
-0.08802463859319687,
-0.007030254229903221,
-0.02017536386847496,
0.017575634643435478,
-0.04104642942547798,
-0.01883888430893421,
-0.00008832156891003251,
0.039069171994924545,
-0.010060220025479794,
0.04328000172972679,
-0.05869529768824577,
0.01639477163553238,
0.0022404356859624386,
0.06598186492919922,
0.04324338585138321,
0.010069373995065689,
-0.05199458822607994,
0.031379830092191696,
0.019735973328351974,
-0.07297550141811371,
0.028450559824705124,
-0.016156768426299095,
0.006430668756365776,
0.07282903790473938,
-0.014417513273656368,
0.043829239904880524,
-0.056498344987630844,
-0.022006159648299217,
0.04415878280997276,
-0.04851607605814934,
-0.006563401315361261,
0.03947194665670395,
-0.03145306184887886,
-0.04013103246688843,
-0.0024715736508369446,
-0.03877624496817589,
-0.08121407777070999,
0.0064032068476080894,
-0.005950084887444973,
-0.03028135374188423,
-0.018893808126449585,
0.05060318112373352,
-0.027754856273531914,
-0.02751685306429863,
0.01592792011797428,
-0.005542732775211334,
0.03451049327850342,
-0.06345536559820175,
0.04357292875647545,
0.0032817006576806307,
-0.021145686507225037,
0.025173434987664223,
-0.025850830599665642,
-0.0003432741214055568,
-0.03421756625175476,
0.002519631991162896,
-0.03537096455693245,
-0.009062436409294605,
0.04467140510678291,
-0.03764115273952484,
0.008604737929999828,
0.06770280748605728,
0.07473306357860565,
0.018381185829639435,
0.10772399604320526,
0.05895160883665085,
-0.05869529768824577,
0.010902386158704758,
0.02171323262155056,
0.018545957282185555,
0.0030299662612378597,
-0.015039983205497265,
-0.039069171994924545,
0.0186558049172163,
-0.02493543177843094,
0.009648291394114494,
-0.021145686507225037,
0.007245372515171766,
-0.07520907372236252,
-0.009318748489022255,
0.03723837807774544,
0.0058219293132424355,
-0.018930424004793167,
-0.016834162175655365,
-0.07191363722085953,
0.004620469640940428,
-0.05488724261522293,
-0.03917901962995529,
-0.03132490813732147,
0.046428970992565155,
-0.04793022200465202,
-0.02035844326019287,
0.07579492777585983,
-0.004984340164810419,
0.015296295285224915,
0.06092886999249458,
-0.023562336340546608,
-0.060892254114151,
-0.012760643847286701,
-0.016284924000501633,
0.02085275948047638,
0.021749848499894142,
-0.03028135374188423,
-0.012193096801638603,
-0.01880226843059063,
-0.002856040606275201,
-0.008023460395634174,
-0.00897089671343565,
0.02306802198290825,
-0.023635568097233772,
-0.007771726232022047,
0.0304461270570755,
-0.05338599160313606,
-0.009501827880740166,
-0.05404507741332054,
0.019790897145867348,
0.010728460736572742,
0.032203689217567444,
-0.061661187559366226,
-0.04262091591954231,
-0.028139324858784676,
0.0028789255302399397,
-0.021640000864863396,
0.03749468922615051,
0.03994795307517052,
-0.05979377403855324,
0.035956818610429764,
-0.035444196313619614,
0.0007729388889856637,
0.00654509337618947,
-0.03568220138549805,
0.026949306949973106,
-0.051372118294239044,
-0.02669299580156803,
0.035151269286870956,
0.04035072773694992,
-0.00496145524084568,
-0.0031169289723038673,
0.04192521423101425,
-0.010820000432431698,
0.005309306550770998,
-0.0026615187525749207,
-0.002615748904645443,
0.05093272402882576,
-0.009675753302872181,
0.0026477877981960773,
-0.014875211752951145,
0.037714384496212006,
0.017346786335110664,
-0.06473692506551743,
-0.03848331794142723,
0.004000287968665361,
-0.03800731152296066,
-0.0006670960574410856,
0.02958565205335617,
0.042144909501075745,
0.004041480831801891,
-0.057377126067876816,
0.0035517429932951927,
0.025081895291805267,
0.04705144092440605,
0.03399787098169327,
-0.021932927891612053,
0.010014450177550316,
0.023507412523031235,
0.02257370576262474,
0.010536227375268936,
-0.031343214213848114,
0.003430452663451433,
-0.004464852157980204,
0.08538829535245895,
0.015122368931770325,
0.056681424379348755,
-0.02515512704849243,
-0.016321539878845215,
-0.023653876036405563,
0.03007996641099453,
-0.03419925644993782,
-0.06360182911157608,
0.006485592573881149,
0.031160136684775352,
0.005158265586942434,
0.007552030496299267,
0.01677008531987667,
-0.036487750709056854,
-0.038227006793022156,
-0.018390338867902756,
0.014261895790696144,
-0.07755248993635178,
0.06982653588056564,
-0.022317394614219666,
-0.04254768416285515,
-0.00004702140358858742,
-0.0537155345082283,
0.09915587306022644,
0.03657929226756096,
0.015506836585700512,
-0.024020034819841385,
-0.013813350349664688,
0.019351506605744362,
-0.010408071801066399,
0.051225654780864716,
-0.037531305104494095,
0.006696133874356747,
0.04547695443034172,
-0.0414125919342041,
0.03538927435874939,
0.00038418095209635794,
-0.05265367403626442,
-0.00930959451943636,
0.013282420113682747,
-0.04320676997303963,
-0.06854497641324997,
-0.02425803802907467,
-0.06737326830625534,
-0.06916745007038116,
-0.03236846253275871,
-0.01172624435275793,
0.026400068774819374,
-0.013987276703119278,
-0.07480629533529282,
-0.08150700479745865,
-0.04602619260549545,
0.023360949009656906,
-0.040570423007011414,
0.008000575937330723,
0.05184812471270561,
0.03881286084651947,
0.013163418509066105,
0.028175940737128258,
0.04785699024796486,
-0.0007860977202653885,
0.0012094691628590226,
-0.00898462813347578,
-0.003435029648244381,
-0.01110377348959446,
0.01742917113006115,
-0.02206108346581459,
-0.01410627830773592,
-0.0485893078148365,
0.013968968763947487,
-0.024404501542448997,
0.01511321496218443,
0.014994213357567787,
-0.018582573160529137,
0.007895304821431637,
-0.003192449454218149,
0.012934569269418716,
-0.012000863440334797,
-0.004425947554409504,
0.017731253057718277,
0.0304461270570755,
0.02874348685145378,
0.04046057537198067,
0.0625399649143219,
-0.012238866649568081,
-0.016522927209734917,
-0.03778761625289917,
0.03740314766764641,
0.07740602642297745,
0.03192907199263573,
-0.025539595633745193,
0.02835902012884617,
-0.012202250771224499,
-0.02960395999252796,
-0.023306025192141533,
0.016861625015735626,
-0.03313739597797394,
-0.0434630811214447,
0.004510622005909681,
-0.010298223234713078,
0.02462419681251049,
-0.07865096628665924,
0.000499177782330662,
-0.024660812690854073,
0.039215635508298874,
-0.07110808789730072,
-0.0007981123635545373,
-0.046575434505939484,
-0.029475804418325424,
-0.03231353685259819,
0.010224991478025913,
0.00931417103856802,
0.0025768443010747433,
-0.009593367576599121,
0.0471612885594368,
0.09754477441310883,
-0.05184812471270561,
-0.03881286084651947,
0.041266124695539474,
0.004755490925163031,
0.01309018675237894,
0.04412216693162918,
-0.02857871539890766,
0.06264981627464294,
-0.005442039109766483,
0.07125455141067505,
-0.023122945800423622,
-0.014573130756616592,
-0.0004293787060305476,
-0.03366832435131073,
-0.02819424867630005,
-0.03961841017007828,
0.04188859835267067,
-0.0713644027709961,
0.01325495820492506,
-0.027901319786906242,
0.039728257805109024,
-0.02257370576262474,
-0.018042488023638725,
0.05763343721628189,
-0.002113424241542816,
-0.021676616743206978,
0.018353722989559174,
0.06030639633536339,
0.056498344987630844,
-0.015598376281559467,
-0.0194796621799469,
0.028615331277251244,
-0.01461890060454607,
-0.04174213483929634,
-0.06404121965169907,
-0.030720746144652367,
-0.0029338495805859566,
-0.020266903564333916,
-0.040753502398729324,
0.04309692233800888,
-0.03954517841339111,
0.019223351031541824,
0.046062808483839035,
0.03522450104355812,
0.007497106678783894,
-0.049834247678518295,
0.003819496836513281,
0.04371939226984978,
0.011634704656898975,
0.08363073319196701,
-0.007735110353678465,
-0.034931574016809464,
0.010032758116722107,
0.01315426453948021,
0.027040846645832062,
0.024020034819841385,
-0.026766227558255196,
0.062320273369550705,
-0.031086904928088188,
-0.02649160847067833,
-0.001107631134800613,
0.02032182738184929,
0.01008768193423748,
-0.00760237779468298,
0.010371455922722816,
0.03077566996216774,
0.07989590615034103,
0.006691556889563799,
-0.024917123839259148,
-0.05730389431118965,
0.07063208520412445,
0.06371168047189713,
0.0057349661365151405,
-0.04697820916771889,
0.02068798802793026,
0.00662747910246253,
0.029970118775963783,
-0.06784927099943161,
0.019278274849057198,
-0.032258614897727966,
-0.03826362267136574,
-0.0015653299633413553,
0.03577373921871185,
-0.025704367086291313,
-0.004966032225638628,
-0.048809003084897995,
0.06202734634280205,
-0.01213817298412323,
0.008829010650515556,
0.005226920824497938,
-0.031379830092191696,
0.019790897145867348,
-0.0332106277346611,
-0.03181922435760498,
0.003277123672887683,
0.0036547251511365175,
0.048625923693180084,
-0.011259390972554684,
-0.0029475805349648,
-0.06005008518695831,
0.03830023854970932,
0.010142605751752853,
-0.01660531386733055,
0.04840622842311859,
0.040607038885354996,
0.05452108383178711,
-0.051408734172582626,
0.0030917555559426546,
0.005144534632563591,
0.014985059387981892,
0.06067255511879921,
-0.03482172638177872,
0.0235806442797184,
-0.05404507741332054,
-0.022793401032686234,
-0.03626805543899536,
-0.013621116988360882,
-0.019040271639823914,
0.10054727643728256,
0.047966837882995605,
0.05250721052289009,
0.03826362267136574
] |
725,808 | flask_admin.base | get_category_menu_item | null | def get_category_menu_item(self, name):
return self._menu_categories.get(name)
| (self, name) | [
-0.023147480562329292,
-0.017305737361311913,
0.03280492499470711,
-0.031656838953495026,
0.017255086451768875,
-0.021307162940502167,
0.03839341178536415,
0.0043855272233486176,
0.09367047250270844,
-0.0013886799570173025,
-0.004710537381470203,
0.025798212736845016,
-0.012983524240553379,
0.016368696466088295,
0.005694009829312563,
0.007268410176038742,
0.015085538849234581,
-0.015338793396949768,
-0.01411472912877798,
0.04977298900485039,
0.01550762914121151,
0.05510822311043739,
0.048456065356731415,
-0.08678194135427475,
0.015296583995223045,
0.024987798184156418,
0.02316436357796192,
0.016495322808623314,
-0.010037328116595745,
-0.056425146758556366,
-0.06027461960911751,
0.029917821288108826,
0.0039465525187551975,
0.017643410712480545,
-0.03883238881826401,
0.04170260578393936,
-0.022472133859992027,
-0.033260785043239594,
0.07388284057378769,
-0.03118409588932991,
0.014089403674006462,
0.009125610813498497,
0.007015155162662268,
-0.03704272210597992,
-0.001753788790665567,
-0.01208024937659502,
-0.056053709238767624,
-0.019365543499588966,
-0.001076332526281476,
-0.004128051456063986,
0.01617453433573246,
-0.03082953952252865,
-0.0039528836496174335,
-0.023248782381415367,
-0.043154601007699966,
-0.012704944238066673,
-0.024025429040193558,
-0.021898090839385986,
-0.030728237703442574,
0.08826770633459091,
-0.02848271280527115,
0.02809438854455948,
0.029174942523241043,
-0.06574492156505585,
0.00527191860601306,
-0.020361678674817085,
0.02865154854953289,
0.028516478836536407,
-0.001317979651503265,
0.04740928113460541,
-0.028550246730446815,
0.025409888476133347,
0.021188976243138313,
-0.004680991172790527,
0.0027372613549232483,
-0.03798820450901985,
0.012603642418980598,
0.01678234525024891,
0.043154601007699966,
0.037144023925065994,
-0.05787714198231697,
0.015068654902279377,
0.028347643092274666,
0.02709825336933136,
-0.007074248045682907,
0.02885415218770504,
0.030356796458363533,
-0.024515055119991302,
-0.036131005734205246,
0.02199939265847206,
0.033801060169935226,
0.007880441844463348,
-0.007205096073448658,
-0.020226608961820602,
-0.024987798184156418,
-0.00925223808735609,
0.06810863316059113,
0.0003479614097159356,
0.026068350300192833,
0.04271562770009041,
-0.011134765110909939,
-0.005086198449134827,
0.022725388407707214,
-0.010856185108423233,
-0.035185519605875015,
0.013127035461366177,
0.013523801229894161,
0.020209725946187973,
0.015406327322125435,
0.04055451974272728,
0.013430940918624401,
-0.02375529147684574,
0.0321633480489254,
0.03241660073399544,
-0.026237187907099724,
0.0218474380671978,
-0.08982100337743759,
-0.036738816648721695,
-0.021205861121416092,
0.004427736159414053,
-0.05986941233277321,
-0.008180126547813416,
0.02672681212425232,
-0.008382730185985565,
0.011193857528269291,
0.011615948751568794,
-0.07955574244260788,
-0.05750570073723793,
0.0031044804491102695,
0.0873897522687912,
0.05341985821723938,
-0.022927992045879364,
0.008378509432077408,
-0.0441000871360302,
0.0229786429554224,
-0.0006827324395999312,
0.011818552389740944,
0.017162226140499115,
0.022472133859992027,
0.05787714198231697,
-0.025815095752477646,
-0.011573740281164646,
-0.06155777722597122,
0.022573435679078102,
-0.058552488684654236,
-0.04653133079409599,
0.017862899228930473,
0.003731285920366645,
-0.057978443801403046,
-0.02902298979461193,
-0.06142270565032959,
0.014697214588522911,
0.018082385882735252,
0.007285293657332659,
0.03388547897338867,
-0.015651140362024307,
-0.051360052078962326,
-0.035421889275312424,
-0.048253461718559265,
-0.02752034366130829,
-0.015229049138724804,
-0.01791355013847351,
-0.09069894999265671,
0.036772582679986954,
-0.05710049346089363,
-0.06878397613763809,
0.04710537567734718,
0.007297956384718418,
0.03629983961582184,
0.001750623108819127,
-0.015389444306492805,
0.030069775879383087,
-0.06766965985298157,
-0.0032311079557985067,
-0.09603418409824371,
0.015794651582837105,
-0.05966680869460106,
0.00668170303106308,
0.08590399473905563,
-0.048658668994903564,
-0.03923759609460831,
0.010476303286850452,
-0.03623230755329132,
-0.004930024966597557,
-0.003967657219618559,
-0.02107079140841961,
0.02789178490638733,
0.017491457983851433,
0.028499595820903778,
0.05223800241947174,
-0.03528682142496109,
-0.029326895251870155,
-0.011455554515123367,
-0.04541701078414917,
-0.015178398229181767,
0.0032902006059885025,
-0.005322569515556097,
0.017305737361311913,
0.0018371518235653639,
0.006998271681368351,
0.04305329918861389,
0.0045712473802268505,
-0.015845302492380142,
0.07827258855104446,
0.010012002661824226,
0.04643002897500992,
0.06446176022291183,
-0.012038039974868298,
-0.037549231201410294,
0.026389140635728836,
-0.054061438888311386,
0.06935802102088928,
0.002454460132867098,
-0.015389444306492805,
-0.004507933743298054,
-0.007939535193145275,
-0.10562409460544586,
-0.05811351165175438,
-0.009961351752281189,
0.0369751863181591,
-0.06179414689540863,
-0.019804516807198524,
0.048996344208717346,
0.05666152015328407,
-0.038292109966278076,
-0.02108767442405224,
-0.0138361481949687,
0.03432445228099823,
0.01609855704009533,
0.05730309709906578,
0.026237187907099724,
-0.05514198914170265,
0.0635162815451622,
-0.017069367691874504,
-0.07037103921175003,
-0.02595016546547413,
-0.044167619198560715,
0.015406327322125435,
-0.03883238881826401,
0.05183279514312744,
0.005571603309363127,
-0.003406275762245059,
0.04001424461603165,
0.08158177882432938,
0.006019019987434149,
0.031454235315322876,
-0.0029757427982985973,
0.0005392214516177773,
0.01813303679227829,
0.018031734973192215,
0.03099837526679039,
-0.024920262396335602,
-0.01637713797390461,
0.010737999342381954,
-0.005905055440962315,
-0.060713592916727066,
-0.07246461510658264,
-0.0058670672588050365,
-0.0313529334962368,
-0.022168228402733803,
-0.03711025416851044,
0.01813303679227829,
0.0351179838180542,
0.01316080242395401,
-0.05169772729277611,
-0.030154192820191383,
-0.0035603391006588936,
0.015836860984563828,
-0.013895241543650627,
0.020327910780906677,
0.03629983961582184,
0.004761188291013241,
0.019365543499588966,
-0.005339453462511301,
0.039507731795310974,
-0.05558096617460251,
0.01933177560567856,
0.03711025416851044,
-0.0767868235707283,
-0.005031326785683632,
-0.017145343124866486,
0.044741664081811905,
-0.04467412829399109,
0.06726445257663727,
-0.07496339082717896,
-0.03261920437216759,
0.048996344208717346,
-0.04406631737947464,
0.005824858322739601,
0.0784076526761055,
0.043593574315309525,
0.003973988350480795,
-0.030491866171360016,
-0.029529498890042305,
-0.02844894491136074,
-0.002420692937448621,
-0.030289262533187866,
-0.014950469136238098,
0.03832587972283363,
0.04234418645501137,
-0.0023003967944532633,
-0.005727777257561684,
-0.030120426788926125,
-0.023907244205474854,
-0.005474522709846497,
0.04683523625135422,
-0.015684908255934715,
0.02161106839776039,
-0.04112856462597847,
0.06719691306352615,
-0.03832587972283363,
-0.054297808557748795,
-0.010763324797153473,
0.03866355121135712,
-0.06544101238250732,
0.001652486971579492,
0.012232202105224133,
-0.011734134517610073,
0.04349227249622345,
0.06030838564038277,
-0.02476830966770649,
0.04170260578393936,
-0.08678194135427475,
0.0043390970677137375,
0.04663263261318207,
0.013093268498778343,
-0.06115256994962692,
0.00832785852253437,
0.04460659623146057,
0.05416274070739746,
0.0003297587390989065,
0.010847742669284344,
-0.034577708691358566,
-0.010602930560708046,
0.0002569479984231293,
0.05149512365460396,
-0.010552279651165009,
0.06814239919185638,
0.006749237887561321,
-0.09731733798980713,
-0.010982812382280827,
0.025646260008215904,
-0.03425692021846771,
0.002129449974745512,
0.05129252001643181,
0.01481540035456419,
0.0655423179268837,
0.02554495818912983,
-0.005504068918526173,
-0.04585598409175873,
-0.025865746662020683,
-0.03775183483958244,
0.02829699218273163,
0.018048617988824844,
-0.051191218197345734,
0.030897073447704315,
0.017212877050042152,
-0.07523352652788162,
0.006778784096240997,
0.04673393443226814,
0.07948821038007736,
-0.022066926583647728,
-0.001295819878578186,
-0.009150936268270016,
-0.05811351165175438,
-0.00862332247197628,
0.005331011489033699,
-0.004621898289769888,
0.04602482169866562,
-0.07300488650798798,
0.009986677207052708,
0.011826994828879833,
-0.01835252344608307,
0.015473862178623676,
-0.04585598409175873,
-0.008471369743347168,
0.05173149332404137,
0.04190521314740181,
0.0039528836496174335,
0.014486168511211872,
0.01894345134496689,
0.028887920081615448,
-0.03582710027694702,
0.05676282197237015,
0.049840524792671204,
-0.03866355121135712,
-0.03606346994638443,
-0.005432313308119774,
0.011084114201366901,
-0.021746136248111725,
-0.0001725297624943778,
0.007238863501697779,
-0.012789362110197544,
0.02905675582587719,
-0.019838284701108932,
-0.02301241084933281,
-0.00569823058322072,
-0.040250614285469055,
-0.019433077424764633,
0.043931249529123306,
0.04892880842089653,
0.005622254218906164,
-0.00005094772495795041,
-0.018791498616337776,
-0.029732102528214455,
0.019044753164052963,
-0.029512614011764526,
0.02670992910861969,
-0.07307242602109909,
0.003511798568069935,
0.03971033915877342,
0.02416049875319004,
-0.052339304238557816,
-0.049063876271247864,
-0.006542413029819727,
-0.062300655990839005,
0.041061028838157654,
0.013675753958523273,
0.005499848164618015,
0.001314813969656825,
-0.016900530084967613,
-0.017010273411870003,
0.03310883045196533,
-0.03003600798547268,
-0.004453061614185572,
-0.01169192511588335,
0.004740084055811167,
0.05007689818739891,
-0.01850447617471218,
-0.05537836253643036,
-0.01791355013847351,
-0.038089506328105927,
0.02026037685573101,
-0.011725693009793758,
0.005001780577003956,
0.05831611528992653,
-0.0038093728944659233,
-0.019601913169026375,
-0.06598129123449326,
0.010771766304969788,
0.025798212736845016,
0.02221887931227684,
-0.03317636623978615,
0.044741664081811905,
-0.016047906130552292,
-0.011683483608067036,
-0.04301953315734863,
-0.009395749308168888,
0.04619365930557251,
-0.06723067909479141,
-0.025089100003242493,
0.05173149332404137,
-0.00005882895857212134,
-0.022455250844359398,
0.014080961234867573,
-0.026811230927705765,
-0.10319285094738007,
0.011193857528269291,
0.052541907876729965,
0.003402054775506258,
-0.013827706687152386,
0.016309602186083794,
0.026355372741818428,
-0.029174942523241043,
0.030171077698469162,
0.001481540035456419,
-0.020142190158367157,
0.03388547897338867,
0.04038568213582039,
-0.026406023651361465,
0.029326895251870155,
0.047679416835308075,
-0.0022138680797070265,
-0.03229841589927673,
-0.031049026176333427,
-0.03120097890496254,
-0.006073892116546631,
0.025815095752477646,
-0.00426523108035326,
0.04281692951917648,
0.05027950182557106,
-0.03444264084100723,
-0.018605777993798256,
0.030171077698469162,
-0.03582710027694702,
-0.001341194729320705,
-0.023451386019587517,
0.06574492156505585,
0.025274818763136864,
0.003281758865341544,
0.02692941576242447,
-0.022455250844359398,
-0.034611474722623825,
0.006567738484591246,
0.029326895251870155,
-0.02692941576242447,
0.0036468678154051304,
-0.054703015834093094,
-0.016706367954611778,
0.06452929973602295,
0.015870628878474236,
-0.02650732547044754,
0.01928112469613552,
-0.025865746662020683,
0.03136981651186943,
-0.027351507917046547,
-0.050178200006484985,
0.01190297119319439,
-0.0012293405598029494,
-0.04362734407186508,
0.020378561690449715,
0.02221887931227684,
0.028128156438469887,
-0.059160299599170685,
0.008838589303195477,
0.02142534777522087,
-0.01791355013847351,
0.0369751863181591,
0.019973354414105415,
-0.005892392713576555,
0.019635681062936783,
-0.03765053302049637,
-0.022168228402733803,
0.00309814908541739,
-0.008982100524008274,
0.008129475638270378,
0.0029461963567882776,
0.013979659415781498,
-0.04068958759307861,
0.057032957673072815,
-0.02535923756659031,
-0.004360201768577099,
-0.06766965985298157,
0.08340521156787872,
-0.004465724807232618,
-0.02513975091278553,
-0.09090155363082886,
0.06273963302373886,
-0.04703783988952637,
0.004491050262004137,
0.024329334497451782,
-0.06486696749925613,
0.07773230969905853,
-0.006816772278398275,
0.005748881958425045,
-0.019382426515221596,
-0.05244060605764389,
0.04092596098780632,
0.004204028286039829,
0.06560984998941422,
0.0031108118128031492,
0.0014667668147012591,
-0.06024085357785225,
-0.06631896644830704,
0.08671440929174423,
0.036941420286893845,
-0.028533363714814186,
0.004256789572536945,
-0.004436178132891655,
0.02107079140841961,
0.010594488121569157,
0.010797091759741306,
-0.004068959038704634,
-0.01698494888842106,
0.0068716444075107574,
-0.01266273483633995,
-0.07813751697540283,
-0.00546185951679945,
0.04659886658191681,
0.013473150320351124,
0.014579028822481632,
-0.044336456805467606,
-0.025831978768110275,
0.05051587149500847,
-0.02280980721116066,
0.060544759035110474,
0.066994309425354,
-0.0014446070417761803,
0.009269122034311295,
0.02554495818912983,
0.03445952385663986,
0.023924127221107483,
0.007800244726240635,
0.026608627289533615,
-0.013878357596695423,
-0.021695485338568687,
0.011134765110909939,
-0.02377217449247837,
0.028719082474708557,
-0.0015100311720743775,
0.012443247251212597,
-0.003368287580087781,
-0.01682455465197563,
-0.012029598467051983,
0.033615339547395706,
-0.01395433396100998,
0.045113105326890945,
-0.002644401276484132,
-0.023096829652786255,
0.04541701078414917,
0.007905767299234867,
-0.020598048344254494,
0.020547397434711456,
0.03937266394495964,
0.049840524792671204,
0.04565338045358658,
-0.0003933362022507936,
-0.11791539192199707,
-0.0050271060317754745,
-0.027942435815930367,
-0.02595016546547413,
-0.034189384430646896,
-0.0253254696726799,
0.06344874203205109,
0.006327146664261818,
-0.04771318659186363,
0.062300655990839005,
-0.0412636324763298,
0.03609723597764969,
0.06486696749925613,
-0.03717778995633125,
-0.002863888628780842,
-0.04801709204912186,
-0.00975874811410904,
-0.012265969067811966,
-0.0771920308470726,
0.01833564043045044,
-0.008923007175326347,
0.04349227249622345,
0.046092357486486435,
0.03761676326394081,
0.01102502178400755,
0.02044609561562538,
-0.015119305811822414,
-0.0012926541967317462,
0.04693653807044029,
0.021324045956134796,
-0.027959318831562996,
0.008973658084869385,
0.04794955626130104,
-0.04133116826415062,
0.008344742469489574,
-0.03825834393501282,
0.028178807348012924,
-0.021188976243138313,
0.011945179663598537,
0.02105390839278698,
0.007589199114590883,
-0.009193145669996738,
-0.014486168511211872,
-0.022353949025273323,
-0.041061028838157654,
-0.012038039974868298,
0.020783768966794014,
0.041229866445064545,
-0.017575876787304878,
-0.01951749622821808,
0.05031326785683632,
-0.0755712017416954,
-0.05541212856769562,
-0.006799888797104359,
-0.008973658084869385,
-0.023485152050852776,
0.01928112469613552,
0.03229841589927673,
-0.03758299723267555,
-0.050988614559173584,
-0.01774471253156662,
-0.007829790934920311,
0.004841385874897242,
0.055479664355516434,
0.014148496091365814,
-0.024700775742530823,
-0.05173149332404137,
-0.02027725987136364,
0.000043561129132285714,
0.057775840163230896,
0.009218471124768257,
0.09765501320362091,
0.021509766578674316,
-0.020361678674817085,
0.014106286689639091,
-0.007614524569362402,
0.07496339082717896,
0.0690203458070755,
0.05011066421866417,
-0.015625815838575363,
-0.059565506875514984,
-0.02478519268333912,
0.01855512708425522,
0.009978235699236393,
0.031099677085876465,
-0.06746705621480942,
-0.004280004650354385,
0.03700895234942436,
0.03548942506313324,
-0.01894345134496689,
-0.012747153639793396,
0.004092174116522074,
0.06912165135145187,
0.0643266960978508,
-0.03896745666861534,
0.027638530358672142,
-0.04068958759307861,
0.012223760597407818,
-0.03971033915877342,
0.048050858080387115,
0.013498475775122643,
0.0037988205440342426,
0.03896745666861534,
-0.01894345134496689,
-0.031521767377853394,
0.05007689818739891,
0.04011554643511772,
0.0018086606869474053,
0.009041192941367626,
-0.06851384043693542,
0.010197722353041172,
-0.029512614011764526,
0.030103541910648346,
0.02127339504659176,
0.004921582993119955,
-0.021948741748929024,
0.046902772039175034,
0.007998627610504627,
-0.022066926583647728,
0.018284989520907402,
-0.051157448440790176,
-0.010974370874464512,
0.08644427359104156,
-0.0420740470290184,
-0.015811534598469734,
0.03548942506313324,
0.05551343038678169,
0.02161106839776039,
0.03805574029684067,
-0.001417171093635261,
0.008382730185985565,
-0.004469945561140776,
0.015549838542938232,
-0.012704944238066673,
0.04987429082393646,
-0.011835436336696148,
-0.026557976379990578,
-0.004263120703399181,
-0.06064606085419655,
-0.039271362125873566,
0.004908920265734196,
-0.032669857144355774,
0.0043559810146689415,
0.01833564043045044,
0.01948372833430767,
-0.02319813147187233,
0.039507731795310974,
0.0005935656954534352,
-0.05733686313033104,
0.00006097239020164125,
-0.017474574968218803,
0.03565826267004013,
0.03491538017988205,
0.05318348854780197,
-0.005542057100683451,
-0.016588183119893074,
0.013540685176849365,
-0.038123276084661484,
-0.0385960154235363,
-0.006436890456825495,
0.004647223744541407
] |
725,809 | flask_admin.base | init_app |
Register all views with the Flask application.
:param app:
Flask application instance
| def init_app(self, app, index_view=None,
endpoint=None, url=None):
"""
Register all views with the Flask application.
:param app:
Flask application instance
"""
self.app = app
self._init_extension()
# Register Index view
if index_view is not None:
self._set_admin_index_view(
index_view=index_view,
endpoint=endpoint,
url=url
)
# Register views
for view in self._views:
app.register_blueprint(view.create_blueprint(self))
| (self, app, index_view=None, endpoint=None, url=None) | [
-0.015364729799330235,
-0.07168971747159958,
-0.017255203798413277,
-0.03517763316631317,
0.03273113816976547,
0.04496361315250397,
0.029061395674943924,
-0.006283043883740902,
-0.0674268826842308,
0.02274128422141075,
0.004559377208352089,
-0.010592211969196796,
0.012529020197689533,
0.003903734963387251,
0.0016564810648560524,
0.007835270836949348,
0.06190373748540878,
0.04340675473213196,
0.04826267436146736,
-0.059605516493320465,
-0.017283005639910698,
-0.02300076000392437,
0.024279609322547913,
0.03647501766681671,
-0.024483485147356987,
-0.01848771795630455,
-0.02820882946252823,
0.021480968222022057,
0.08154983818531036,
-0.0633864626288414,
0.012649491429328918,
-0.0471135638654232,
0.06968803703784943,
0.02420547418296337,
0.03638234734535217,
-0.07421035319566727,
0.054823730140924454,
-0.021406831219792366,
0.005212702322751284,
0.07543359696865082,
0.10290106385946274,
-0.0674268826842308,
0.019442221149802208,
-0.03443627059459686,
0.028153227642178535,
0.05104278400540352,
0.02591060660779476,
0.04718770086765289,
-0.022704215720295906,
0.01565200835466385,
-0.0796222910284996,
-0.01555933803319931,
0.011352107860147953,
0.03988528251647949,
-0.008312523365020752,
0.05793745070695877,
0.007487757597118616,
0.06520280241966248,
0.010823886841535568,
0.0182745773345232,
-0.012334412895143032,
-0.022796886041760445,
-0.010925824753940105,
0.007246814668178558,
0.023927463218569756,
0.04885576292872429,
-0.031656164675951004,
0.015809547156095505,
-0.0091372886672616,
0.016115359961986542,
0.03764266148209572,
0.019368086010217667,
0.02819029428064823,
-0.01064781378954649,
0.0374017208814621,
-0.0028333934023976326,
0.04681701958179474,
-0.030266109853982925,
-0.04418518394231796,
-0.00015449871716555208,
0.041405074298381805,
-0.010564410127699375,
-0.021314160898327827,
0.04574204236268997,
0.07435861974954605,
0.04744717851281166,
-0.03884737566113472,
-0.0039245858788490295,
0.010999960824847221,
-0.003764729481190443,
-0.017727822065353394,
-0.020572800189256668,
0.041553348302841187,
-0.01882133074104786,
-0.03276820480823517,
-0.043777432292699814,
-0.05015314742922783,
0.008771240711212158,
-0.018330179154872894,
-0.009823048487305641,
-0.016791852191090584,
-0.02991396188735962,
-0.027041183784604073,
-0.002553065773099661,
-0.0030581187456846237,
-0.07535946369171143,
-0.044481728225946426,
0.0006834432133473456,
-0.02835710160434246,
-0.006468384526669979,
0.004519992042332888,
0.01793169602751732,
0.029617417603731155,
-0.02933940663933754,
-0.026781708002090454,
0.02902432717382908,
0.05167293921113014,
0.026948513463139534,
0.058233994990587234,
-0.01446582842618227,
0.010675614699721336,
0.015383264049887657,
0.01731080561876297,
0.001003734883852303,
0.03603019937872887,
0.01284409873187542,
0.027245057746767998,
-0.002444178331643343,
0.00042280807974748313,
-0.03704957291483879,
0.04663167893886566,
0.05389702692627907,
-0.05178414657711983,
-0.01738494262099266,
0.0142248859629035,
0.006320112384855747,
0.008011344820261002,
-0.0374017208814621,
-0.07851024717092514,
0.018960336223244667,
-0.07295003533363342,
-0.0012012383667752147,
-0.011518914252519608,
0.052859120070934296,
0.003315278794616461,
0.009392131119966507,
-0.05437891185283661,
0.012899701483547688,
0.04511188715696335,
0.02444641664624214,
-0.004353185649961233,
0.06616657227277756,
0.02390892803668976,
-0.024242542684078217,
-0.012834832072257996,
0.018061434850096703,
0.021888716146349907,
0.02379772439599037,
0.027245057746767998,
-0.05011608079075813,
-0.014011744409799576,
0.047076497226953506,
-0.019812902435660362,
-0.005754823796451092,
-0.0601244680583477,
-0.002942281076684594,
0.012102737091481686,
0.012204674072563648,
-0.002666587010025978,
0.02950621210038662,
-0.025224845856428146,
-0.05678834021091461,
-0.03217511624097824,
-0.01821897365152836,
0.09066858887672424,
0.0012105053756386042,
-0.030840665102005005,
-0.042368847876787186,
0.03032171167433262,
0.04248005151748657,
0.023427043110132217,
0.026299821212887764,
-0.05997619777917862,
0.018191173672676086,
-0.034009989351034164,
0.001317076152190566,
-0.03113720938563347,
0.08362565189599991,
0.011898862197995186,
0.031100140884518623,
-0.02932087332010269,
0.006083803251385689,
0.012677292339503765,
-0.00804377906024456,
0.00883611012250185,
0.03228631988167763,
-0.05308152735233307,
0.00520343566313386,
0.007955742068588734,
-0.03708663955330849,
-0.008238386362791061,
0.04844801500439644,
0.032712604850530624,
-0.02062840200960636,
0.013010905124247074,
-0.004304533824324608,
0.006755662616342306,
0.009887917898595333,
-0.0454825684428215,
-0.018061434850096703,
0.055453889071941376,
-0.019312484189867973,
0.010796085931360722,
0.010666348040103912,
-0.03743878751993179,
-0.020535731688141823,
0.026929980143904686,
-0.02568819746375084,
0.024353746324777603,
0.015642741695046425,
0.019368086010217667,
0.015503735281527042,
0.00848859641700983,
0.028468305245041847,
-0.002631835639476776,
0.02698558196425438,
-0.007853805087506771,
-0.06520280241966248,
-0.02055426500737667,
0.04818853735923767,
-0.04110853001475334,
0.03829135373234749,
0.041405074298381805,
-0.005115398671478033,
-0.001076133456081152,
0.03063679113984108,
0.054156504571437836,
0.019701698794960976,
-0.021962853148579597,
-0.011324306949973106,
0.03323155641555786,
0.022036990150809288,
-0.03337983042001724,
-0.05856760963797569,
-0.015883684158325195,
0.051153987646102905,
-0.015624207444489002,
-0.025465790182352066,
-0.01774635538458824,
-0.023204633966088295,
-0.05452718585729599,
-0.01839504763484001,
0.01750541292130947,
-0.01807996816933155,
-0.045148953795433044,
-0.016912324354052544,
-0.019479289650917053,
0.043999843299388885,
-0.044333454221487045,
0.009382864460349083,
0.012186139822006226,
-0.020257720723748207,
0.042146436870098114,
0.04266539216041565,
-0.025576993823051453,
0.005907729733735323,
0.04485240951180458,
-0.027615739032626152,
-0.043443821370601654,
-0.006565688643604517,
0.12640224397182465,
0.0504126250743866,
0.008289355784654617,
0.0006620132480747998,
0.026151549071073532,
-0.02609594725072384,
-0.02502097189426422,
0.005537048447877169,
-0.03501082584261894,
-0.009058518335223198,
0.05289618670940399,
-0.06850185990333557,
0.025558460503816605,
0.06724154204130173,
-0.006644458044320345,
-0.016143159940838814,
-0.03056265413761139,
0.006222808267921209,
-0.02444641664624214,
-0.06316405534744263,
0.053192734718322754,
-0.0039593372493982315,
-0.0050505297258496284,
0.03634527698159218,
-0.027078252285718918,
0.04811440408229828,
-0.005360974930226803,
0.051005713641643524,
-0.022389136254787445,
-0.017181066796183586,
0.016439706087112427,
0.016550909727811813,
0.05263671278953552,
0.02098054811358452,
0.01791316270828247,
-0.03438067063689232,
-0.00888244528323412,
0.00725608179345727,
0.04244298115372658,
-0.021833114326000214,
0.006709327455610037,
0.023945996537804604,
-0.010193729773163795,
0.022333534434437752,
-0.029209667816758156,
0.010128860361874104,
-0.021073218435049057,
-0.030692392960190773,
-0.025243381038308144,
0.030377313494682312,
0.010332734324038029,
0.07339484989643097,
0.010063990950584412,
-0.04559377208352089,
0.029524747282266617,
-0.0038203317672014236,
0.05979085713624954,
-0.03341689705848694,
-0.016819654032588005,
-0.009943519718945026,
-0.08266187459230423,
0.030451450496912003,
0.030747994780540466,
0.008664670400321484,
-0.03753145784139633,
-0.028783384710550308,
-0.04007062315940857,
-0.03249019384384155,
-0.06279337406158447,
-0.033917319029569626,
0.052525509148836136,
0.012927502393722534,
-0.057084884494543076,
0.014011744409799576,
-0.04622393101453781,
-0.010638546198606491,
-0.030340244993567467,
-0.07035526633262634,
-0.023130498826503754,
-0.021073218435049057,
0.04118266701698303,
-0.0479661300778389,
-0.02487269975244999,
-0.03447334095835686,
0.007932574488222599,
-0.006788096856325865,
-0.029654486104846,
-0.026188617572188377,
0.013149910606443882,
-0.01284409873187542,
-0.05167293921113014,
0.023705054074525833,
-0.08117915689945221,
-0.03940339758992195,
-0.005133932922035456,
-0.031026005744934082,
0.02794935181736946,
0.03111867606639862,
-0.01112969871610403,
-0.03363930806517601,
0.033917319029569626,
-0.027263592928647995,
0.035640984773635864,
0.016337767243385315,
0.03399145230650902,
-0.07932575047016144,
0.001560335629619658,
-0.015327662229537964,
-0.09066858887672424,
0.013298183679580688,
-0.03767973184585571,
0.0690208151936531,
0.06627777218818665,
-0.001406271243467927,
-0.014502896927297115,
-0.09118754416704178,
-0.0020572799257934093,
0.048225607722997665,
-0.03078506328165531,
0.03591899573802948,
0.011203835718333721,
0.003982504829764366,
-0.02300076000392437,
0.0032851609867066145,
0.01836724765598774,
-0.0260032769292593,
-0.030043700709939003,
-0.008650769479572773,
-0.0014873577747493982,
-0.007923307828605175,
0.08666523545980453,
-0.0009075894486159086,
0.08785141259431839,
0.00991571880877018,
0.07895506918430328,
0.04626099765300751,
0.005291472189128399,
-0.017125464975833893,
0.018135571852326393,
-0.008451527915894985,
0.006612023338675499,
0.012047134339809418,
-0.031582027673721313,
-0.009730378165841103,
-0.009016817435622215,
-0.019053006544709206,
0.02194431982934475,
0.06716740876436234,
-0.003377831308171153,
0.03932926058769226,
0.052525509148836136,
0.05185827985405922,
0.06935442984104156,
0.06279337406158447,
-0.004714599810540676,
0.0235567819327116,
0.007705532480031252,
0.006982704624533653,
-0.03486255556344986,
0.020257720723748207,
-0.021981386467814445,
0.0001649241166887805,
0.004045057110488415,
-0.029135532677173615,
-0.0002421010722173378,
-0.05556509271264076,
0.027115320786833763,
-0.07428448647260666,
-0.05467545613646507,
0.05641765892505646,
0.01644897274672985,
-0.03236045688390732,
0.03423239663243294,
0.03704957291483879,
-0.005180268082767725,
0.008131816051900387,
-0.03478841856122017,
0.0007737967534922063,
0.032712604850530624,
-0.05022728443145752,
0.007955742068588734,
-0.008178151212632656,
-0.010147394612431526,
-0.0053517078049480915,
0.012983104214072227,
0.006996605079621077,
-0.014076613821089268,
0.0235567819327116,
-0.05004194378852844,
0.09526503086090088,
-0.033046215772628784,
0.0018082285532727838,
-0.024594688788056374,
-0.0617554672062397,
-0.039143919944763184,
0.0038388657849282026,
0.05752970278263092,
-0.04614979401230812,
-0.024909768253564835,
-0.021999921649694443,
-0.009146555326879025,
0.005930897314101458,
0.052933257073163986,
-0.04526015743613243,
-0.03111867606639862,
0.027578670531511307,
0.04778078943490982,
-0.03297208249568939,
-0.00012235371104907244,
-0.03575218841433525,
0.0033199123572558165,
0.04544549807906151,
0.013798602856695652,
0.03958873823285103,
-0.05486079677939415,
0.021314160898327827,
0.02778254635632038,
-0.022240864112973213,
-0.004063591361045837,
-0.029876893386244774,
-0.018311643972992897,
-0.019534891471266747,
-0.01933101750910282,
0.03300914913415909,
0.024687359109520912,
0.018997404724359512,
0.058715879917144775,
0.02333437278866768,
0.01654164306819439,
-0.000355911732185632,
-0.01039760373532772,
-0.0015846615424379706,
0.0231490321457386,
-0.013409387320280075,
-0.026967046782374382,
-0.029654486104846,
-0.06409075856208801,
-0.04088612273335457,
-0.040255963802337646,
-0.04626099765300751,
-0.019794369116425514,
-0.009243858978152275,
-0.036697424948215485,
0.0004662472929339856,
0.046779949218034744,
0.016365569084882736,
-0.04585324972867966,
-0.024668825790286064,
0.03484401851892471,
0.03032171167433262,
0.013715199194848537,
-0.030747994780540466,
0.04600152000784874,
-0.001299700466915965,
0.009452367201447487,
-0.0071309772320091724,
0.054490115493535995,
0.021073218435049057,
-0.03541857749223709,
0.041405074298381805,
-0.05593577399849892,
0.059531379491090775,
-0.013020172715187073,
-0.018469184637069702,
-0.05589870363473892,
-0.035789258778095245,
-0.029376475140452385,
-0.03947753459215164,
0.07295003533363342,
-0.001474615652114153,
-0.027689876034855843,
0.046112723648548126,
0.03788360580801964,
-0.06772343069314957,
-0.015661275014281273,
-0.09163235872983932,
-0.018330179154872894,
-0.041886959224939346,
0.04292486608028412,
-0.04811440408229828,
-0.00298861600458622,
0.031174277886748314,
0.0381801500916481,
0.06716740876436234,
-0.008099380880594254,
-0.004244298208504915,
0.001560335629619658,
0.05185827985405922,
0.028894588351249695,
0.002631835639476776,
-0.00018867087783291936,
0.00837739184498787,
-0.041812825947999954,
-0.015466667711734772,
0.025614062324166298,
0.060346879065036774,
-0.025465790182352066,
-0.04763251543045044,
-0.05860467627644539,
-0.02655929885804653,
-0.02333437278866768,
-0.04948592185974121,
0.008442261256277561,
-0.04585324972867966,
-0.0199055727571249,
-0.020702537149190903,
0.0010263231815770268,
0.03313888609409332,
0.029802758246660233,
-0.07176385819911957,
-0.04496361315250397,
0.012668025679886341,
-0.014762373641133308,
0.0036651091650128365,
0.016411904245615005,
0.01284409873187542,
0.08510836958885193,
0.033676374703645706,
-0.004121510311961174,
-0.024668825790286064,
-0.044815342873334885,
-0.0002687437809072435,
0.044407591223716736,
-0.03430653363466263,
0.0329350121319294,
0.017876094207167625,
-0.0455196350812912,
-0.022537408396601677,
0.028134692460298538,
-0.0015927702188491821,
-0.026707570999860764,
0.03918099030852318,
0.010212263092398643,
-0.12632811069488525,
0.0046520475298166275,
-0.006468384526669979,
0.0119822658598423,
0.038068946450948715,
0.009461633861064911,
0.0056899543851614,
0.020016778260469437,
-0.00955430418252945,
0.011240903288125992,
0.027263592928647995,
-0.0057131219655275345,
-0.031341083347797394,
-0.06453557312488556,
0.018997404724359512,
0.041886959224939346,
-0.018747195601463318,
-0.05385996028780937,
0.021351229399442673,
0.03406558930873871,
-0.020591333508491516,
-0.02112882025539875,
0.02364945225417614,
0.013678131625056267,
-0.01567980833351612,
-0.031063074246048927,
0.0085349315777421,
0.04511188715696335,
-0.05949431285262108,
-0.031415220350027084,
-0.01870086044073105,
0.05634352192282677,
-0.043999843299388885,
-0.028153227642178535,
-0.024576155468821526,
0.003032634500414133,
0.05011608079075813,
0.013057240284979343,
-0.06190373748540878,
0.035140566527843475,
-0.03999648615717888,
0.09007550030946732,
0.04592738300561905,
-0.01527206040918827,
-0.01675478368997574,
0.0025090475101023912,
-0.004582544788718224,
0.0011763331713154912,
-0.011500380001962185,
-0.029135532677173615,
0.035622451454401016,
-0.09882356971502304,
0.05434184521436691,
-0.024928301572799683,
-0.04703942686319351,
0.0019124826649203897,
0.030414381995797157,
-0.015976354479789734,
-0.041738688945770264,
0.019961174577474594,
-0.04833681136369705,
0.04804026708006859,
0.0035353705752640963,
0.03439920395612717,
-0.011657919734716415,
-0.02665196917951107,
0.03478841856122017,
0.015170122496783733,
0.022815419360995293,
0.026596367359161377,
0.0422576405107975,
0.03473281487822533,
0.011352107860147953,
-0.048225607722997665,
0.06053221970796585,
0.010351268574595451,
-0.015614939853549004,
-0.05419357120990753,
0.023019295185804367,
0.011074096895754337,
0.019219813868403435,
-0.04867042601108551,
-0.018626723438501358,
-0.023260237649083138,
0.0005325644160620868,
0.07535946369171143,
-0.0004934691824018955,
-0.0170698631554842,
-0.020257720723748207,
0.011157500557601452,
0.04240591451525688,
-0.027523068711161613,
0.0321195162832737,
-0.006065269000828266,
-0.07658270746469498,
-0.01661577820777893,
-0.0034033155534416437,
0.031396687030792236,
0.01668991521000862,
0.009860116057097912,
0.040997326374053955,
-0.021684842184185982,
-0.008683203719556332,
-0.023352907970547676,
-0.008850010111927986,
-0.06961390376091003,
-0.04381450265645981,
0.011444778181612492,
-0.00711244298145175,
0.07161558419466019,
-0.008752706460654736,
-0.007872339338064194,
-0.03072945959866047,
0.014817975461483002,
0.029710087925195694,
-0.027930818498134613,
-0.043369684368371964,
-0.0227598175406456,
-0.006718594580888748,
0.012501219287514687,
0.007376553025096655,
0.08192051947116852,
-0.030451450496912003,
-0.06572175025939941,
0.010471739806234837,
-0.027689876034855843,
-0.01668991521000862,
-0.006028200965374708,
-0.07613789290189743,
0.03454747423529625,
0.06835358589887619,
0.01166718639433384,
-0.009609906934201717,
0.0053887758404016495,
0.028987258672714233,
-0.04021889716386795,
-0.07710166275501251,
0.008572000078856945,
-0.0026573198847472668,
-0.058233994990587234,
0.008502497337758541,
0.031322550028562546,
0.04429638758301735,
0.004930058028548956,
-0.05897535756230354,
-0.008687837980687618,
0.05563922971487045,
-0.01230661105364561,
0.014762373641133308,
-0.04455586522817612,
0.04248005151748657,
-0.006718594580888748,
0.01848771795630455,
0.017134731635451317,
0.007307050749659538,
-0.027597205713391304,
-0.013761534355580807,
-0.019442221149802208,
-0.02144389972090721,
0.008229119703173637,
-0.02998809888958931,
0.13277795910835266,
0.059049494564533234,
0.040997326374053955,
-0.022778350859880447
] |
725,810 | flask_admin.base | menu |
Return the menu hierarchy.
| def menu(self):
"""
Return the menu hierarchy.
"""
return self._menu
| (self) | [
-0.016509823501110077,
0.004859093111008406,
0.04928203672170639,
-0.012098671868443489,
0.006198649760335684,
-0.0182077344506979,
0.012909231707453728,
0.03296845406293869,
0.03296845406293869,
0.02537478879094124,
0.017729930579662323,
-0.013250520452857018,
0.008907626383006573,
-0.007026273757219315,
-0.06453762948513031,
-0.002672714414075017,
0.005989610683172941,
-0.07371828705072403,
0.003344625933095813,
0.021688874810934067,
-0.009564606472849846,
0.048428818583488464,
0.09283043444156647,
-0.0618414506316185,
-0.0432412326335907,
0.04583502560853958,
-0.06542497873306274,
0.0008766844402998686,
0.020170141011476517,
-0.06836006045341492,
-0.08743807673454285,
-0.018958568572998047,
-0.007649125065654516,
-0.000957207172177732,
0.00012778316158801317,
0.03866796940565109,
-0.023514768108725548,
-0.0023975507356226444,
0.028599964454770088,
0.006975080817937851,
-0.01712414249777794,
-0.003700845642015338,
0.012030414305627346,
-0.029692087322473526,
-0.004910286050289869,
-0.0242826659232378,
0.03144972026348114,
0.005307033658027649,
0.006471680477261543,
-0.010597003623843193,
0.09617505967617035,
-0.0075723351910710335,
0.009283043444156647,
-0.06457175314426422,
-0.07405957579612732,
0.026774071156978607,
0.0020807923283427954,
-0.03935054689645767,
0.004436748567968607,
0.037166301161050797,
0.002670581452548504,
0.04661998897790909,
0.015980826690793037,
-0.03812190890312195,
0.014777785167098045,
-0.029470250010490417,
-0.0165951456874609,
0.005469145718961954,
0.0003644852840807289,
0.08791588246822357,
-0.11351250857114792,
-0.01360034104436636,
0.020665010437369347,
0.04259278625249863,
0.015298250131309032,
-0.0331902913749218,
-0.020136013627052307,
0.01965820975601673,
0.04887249320745468,
0.027405453845858574,
-0.06085171177983284,
-0.006919621489942074,
0.02003362588584423,
0.06542497873306274,
0.04143240675330162,
0.010178925469517708,
0.04320710524916649,
0.008139727637171745,
0.028651157394051552,
0.0012840974377468228,
-0.03764410689473152,
0.032115232199430466,
-0.027866194024682045,
-0.031006047502160072,
-0.06784812361001968,
0.011194257996976376,
0.02276393212378025,
-0.006352229509502649,
-0.02704710140824318,
0.014658334665000439,
-0.040920473635196686,
0.08750633150339127,
0.04498180374503136,
0.06105648726224899,
-0.02772967889904976,
-0.005789103452116251,
-0.034470122307538986,
0.009317171759903431,
0.002444477751851082,
0.011535546742379665,
0.0031035910360515118,
-0.004253305960446596,
0.056278448551893234,
0.058667466044425964,
0.004206378944218159,
-0.033292677253484726,
-0.06989585608243942,
-0.04682476073503494,
0.03455544635653496,
-0.01079324446618557,
-0.03839493915438652,
0.04453812912106514,
-0.031500913202762604,
-0.025323595851659775,
0.010503148660063744,
0.003950412850826979,
-0.06354789435863495,
-0.023890184238553047,
0.013762452639639378,
0.045732639729976654,
0.04614218696951866,
-0.019146276637911797,
-0.03900925815105438,
-0.02697884477674961,
0.06344550102949142,
-0.020323721691966057,
0.03836081176996231,
-0.03493086248636246,
0.018446635454893112,
0.06767748296260834,
-0.04122763127088547,
0.0021458505652844906,
-0.014598608948290348,
0.028019772842526436,
-0.0664147138595581,
0.024026699364185333,
0.050476547330617905,
0.04696127772331238,
-0.031773947179317474,
0.01297748927026987,
-0.03508444130420685,
-0.028599964454770088,
0.016083214432001114,
-0.019402243196964264,
-0.0023292929399758577,
-0.00470551336184144,
-0.06658535450696945,
-0.0485653318464756,
0.03023814782500267,
-0.054845038801431656,
-0.015008155256509781,
-0.016322115436196327,
-0.015588345006108284,
0.00261725508607924,
-0.005597128998488188,
-0.029265476390719414,
0.060954101383686066,
-0.04255865886807442,
0.027559034526348114,
0.002167181111872196,
-0.031108433380723,
0.00958167016506195,
-0.0747421458363533,
-0.013591808266937733,
-0.07876934856176376,
0.005575798451900482,
-0.03563050553202629,
0.05187582969665527,
0.0081098647788167,
0.03863384202122688,
-0.01464127004146576,
0.0005551268113777041,
-0.01409520860761404,
0.009547541849315166,
0.021825389936566353,
-0.039248161017894745,
0.028651157394051552,
0.015426233410835266,
0.0025063364300876856,
0.025733141228556633,
-0.09378603845834732,
-0.021040426567196846,
0.025937914848327637,
-0.04133002087473869,
-0.012704459019005299,
-0.006045070011168718,
-0.04016963765025139,
-0.03199578449130058,
-0.0012894300743937492,
-0.002239704830572009,
0.03597179055213928,
-0.007849631831049919,
-0.0162197295576334,
0.028890058398246765,
0.00482923025265336,
0.06692664325237274,
0.021671811118721962,
-0.03320735692977905,
-0.010665261186659336,
-0.006501542869955301,
-0.05190995708107948,
0.01557128131389618,
-0.009666992351412773,
-0.06266053766012192,
0.01191096380352974,
-0.05470852181315422,
-0.0534798838198185,
-0.00470551336184144,
-0.055561743676662445,
0.036893270909786224,
0.00693241972476244,
0.01102361362427473,
-0.001730971853248775,
-0.007388892583549023,
-0.08539034426212311,
0.008574869483709335,
-0.02841225452721119,
-0.0037349744234234095,
0.014086676761507988,
0.010477552190423012,
0.013728324323892593,
-0.04109111800789833,
-0.011936560273170471,
-0.044674646109342575,
-0.040545057505369186,
0.025289466604590416,
-0.051432155072689056,
0.0009646728285588324,
-0.010742050595581532,
0.04450400173664093,
-0.01965820975601673,
0.001908015226945281,
0.06139777600765228,
0.02499937266111374,
-0.0023890184238553047,
0.02807096764445305,
0.018190668895840645,
-0.017815252766013145,
0.03778062015771866,
0.008958819322288036,
0.020238399505615234,
-0.08921277523040771,
-0.033104971051216125,
0.017226530238986015,
0.003233707044273615,
-0.012593540363013744,
-0.022252000868320465,
0.025443047285079956,
-0.034504253417253494,
-0.010682325810194016,
0.003534467425197363,
-0.014752188697457314,
0.0022844988852739334,
0.031006047502160072,
-0.00902707688510418,
0.01069938950240612,
0.00817385595291853,
0.008899093605577946,
-0.022866319864988327,
0.008331702090799809,
0.1313277631998062,
0.016492759808897972,
-0.03189339488744736,
0.03165449574589729,
0.006565534509718418,
-0.07105623185634613,
0.010554342530667782,
-0.014197595417499542,
-0.11467288434505463,
0.002672714414075017,
0.008724183775484562,
0.033019647002220154,
-0.0335657112300396,
0.055595871061086655,
-0.051841702312231064,
-0.03644959628582001,
0.01502521988004446,
-0.01417199894785881,
-0.004534868989139795,
0.042285628616809845,
0.08675549924373627,
0.05600541830062866,
-0.04801927134394646,
-0.012892167083919048,
0.04474290460348129,
-0.019999496638774872,
-0.013412632048130035,
0.021415844559669495,
0.04655173048377037,
0.037166301161050797,
0.015562748536467552,
-0.02375366911292076,
-0.016646338626742363,
-0.02356596104800701,
-0.0008702853228896856,
0.038906872272491455,
0.01848076470196247,
0.037917137145996094,
0.034197092056274414,
0.03498205542564392,
-0.03815603628754616,
0.017166804522275925,
0.014939897693693638,
0.036927398294210434,
-0.08634595572948456,
-0.07672162353992462,
0.022815126925706863,
0.012132801115512848,
0.012226655147969723,
0.0834791287779808,
-0.06969108432531357,
0.10730105638504028,
-0.0031633165199309587,
-0.014547416009008884,
0.034009385854005814,
0.02841225452721119,
-0.018583150580525398,
0.026415718719363213,
0.023173479363322258,
0.037268687039613724,
-0.010818840935826302,
-0.02443624660372734,
0.011842706240713596,
-0.009137995541095734,
-0.07119274884462357,
0.03747346252202988,
0.024385051801800728,
0.020955104380846024,
-0.02412908710539341,
-0.08859845250844955,
0.027030037716031075,
0.028736479580402374,
-0.03921402990818024,
-0.01293482817709446,
0.056551478803157806,
0.0027601695619523525,
0.04191020876169205,
0.05440136417746544,
0.002672714414075017,
-0.014939897693693638,
-0.008719917386770248,
-0.016074681654572487,
0.0128068458288908,
-0.011706190183758736,
-0.045050062239170074,
-0.01668900065124035,
-0.016518356278538704,
-0.040272027254104614,
0.02192777581512928,
0.0739913135766983,
0.109280526638031,
-0.013933097012341022,
-0.0769946500658989,
0.000538329069968313,
-0.06016913801431656,
-0.06453762948513031,
0.027678485959768295,
0.01162940077483654,
0.09590202569961548,
-0.0550156831741333,
0.05173931270837784,
-0.019299855455756187,
0.0011902431724593043,
0.03467489778995514,
-0.01443649735301733,
0.06016913801431656,
0.031279075890779495,
0.051193252205848694,
0.033599838614463806,
-0.05610780417919159,
0.03917990252375603,
0.02223493531346321,
0.0022908980026841164,
0.0006095196586102247,
0.0462787002325058,
-0.02527240291237831,
0.028139224275946617,
0.028787672519683838,
0.021876582875847816,
-0.005887223873287439,
0.014658334665000439,
-0.020955104380846024,
-0.04146653413772583,
0.00908680260181427,
-0.03505031391978264,
-0.056278448551893234,
0.043036460876464844,
-0.007725914940237999,
-0.004385555163025856,
0.0023442243691533804,
0.0732404813170433,
0.001271299086511135,
-0.038565583527088165,
-0.03138146549463272,
0.009718186222016811,
-0.026415718719363213,
-0.016765790060162544,
0.032388266175985336,
-0.01668900065124035,
-0.06900850683450699,
0.001217972836457193,
-0.006548470351845026,
-0.10730105638504028,
-0.026808200404047966,
0.020545559003949165,
-0.07385479658842087,
0.04682476073503494,
0.05583477392792702,
0.04225149750709534,
0.01528971828520298,
-0.02955557033419609,
0.011928027495741844,
0.007013475522398949,
-0.010870033875107765,
0.034282416105270386,
0.013301713392138481,
-0.07071494311094284,
0.04453812912106514,
0.03505031391978264,
0.025920851156115532,
-0.014282917603850365,
-0.0017224396578967571,
0.025067629292607307,
-0.016492759808897972,
0.0021607817616313696,
0.009214785881340504,
0.004067730624228716,
-0.006868428084999323,
-0.031620364636182785,
0.04344600811600685,
0.02291751280426979,
0.010366633534431458,
-0.006591131445020437,
0.02750784158706665,
0.06392330676317215,
-0.022507967427372932,
-0.030306406319141388,
0.031108433380723,
0.05440136417746544,
-0.045084189623594284,
-0.03972596302628517,
0.04416271299123764,
0.01749102771282196,
-0.01976059563457966,
-0.021347586065530777,
-0.03563050553202629,
-0.04982810094952583,
0.027644356712698936,
0.007457150612026453,
0.026466911658644676,
-0.005951215513050556,
0.002834826475009322,
0.017661672085523605,
0.027797935530543327,
0.01557128131389618,
-0.021842453628778458,
0.023548895493149757,
-0.005068132188171148,
-0.042285628616809845,
-0.04583502560853958,
0.061739061027765274,
0.0124228959903121,
-0.07487866282463074,
-0.049759842455387115,
-0.006565534509718418,
-0.017175335437059402,
0.025135887786746025,
-0.022883383557200432,
-0.03935054689645767,
-0.0231393501162529,
-0.015127605758607388,
-0.0447770319879055,
-0.018088283017277718,
0.01238876674324274,
-0.05034003034234047,
-0.06303595751523972,
-0.019129212945699692,
0.010861502029001713,
0.007811237126588821,
-0.042968202382326126,
0.006147456355392933,
-0.05330923944711685,
-0.07719942182302475,
0.0015613941941410303,
0.03493086248636246,
-0.014777785167098045,
0.026774071156978607,
-0.026654619723558426,
-0.036927398294210434,
-0.021313456818461418,
0.02295164205133915,
-0.004795101471245289,
0.017064416781067848,
0.016757257282733917,
0.017200933769345284,
0.029163090512156487,
0.011433159932494164,
-0.01267032977193594,
-0.01528971828520298,
-0.0014472758630290627,
0.03247358649969101,
-0.0076405927538871765,
0.007329167332500219,
-0.025289466604590416,
-0.0030694620218127966,
-0.0005401954404078424,
-0.028617028146982193,
0.07126101106405258,
0.09958793967962265,
0.038599710911512375,
0.03414589911699295,
-0.044708773493766785,
0.01668900065124035,
-0.04460638761520386,
-0.005870159715414047,
0.007068934850394726,
-0.0576777309179306,
0.02822454646229744,
-0.008463950827717781,
0.05266079306602478,
0.01597229577600956,
-0.012474088929593563,
-0.01521292794495821,
0.04897487908601761,
-0.05276317894458771,
0.021142814308404922,
-0.05255840718746185,
0.01873673126101494,
-0.06289944052696228,
0.01709001511335373,
0.02356596104800701,
-0.03392406180500984,
-0.001357687753625214,
0.021449973806738853,
0.08873496949672699,
-0.036893270909786224,
0.0053667593747377396,
-0.0075040776282548904,
0.01813947595655918,
0.041637178510427475,
-0.007478481158614159,
-0.018344249576330185,
-0.02090391144156456,
-0.0017203065799549222,
0.06822354346513748,
0.0193510502576828,
-0.022593289613723755,
0.01522999256849289,
0.029111895710229874,
0.01409520860761404,
-0.023173479363322258,
-0.017166804522275925,
-0.1020452156662941,
-0.023548895493149757,
-0.012704459019005299,
0.00620291568338871,
-0.029043639078736305,
0.07037365436553955,
0.05808727815747261,
0.0527290515601635,
-0.01668900065124035,
-0.005976812448352575,
-0.004114657640457153,
0.01712414249777794,
-0.001673379447311163,
0.05262666195631027,
0.05228537693619728,
0.03107430413365364,
0.0004980677040293813,
0.005831764545291662,
0.036893270909786224,
-0.00024530099472030997,
-0.001423812354914844,
0.03467489778995514,
-0.06085171177983284,
-0.006228512618690729,
-0.016296518966555595,
0.02899244613945484,
-0.0006383158615790308,
-0.006620993837714195,
0.020733267068862915,
0.004127455875277519,
0.002246103947982192,
0.010366633534431458,
0.02936786226928234,
-0.02837812714278698,
0.050817836076021194,
-0.03194459155201912,
-0.01690230518579483,
0.014308514073491096,
0.026313330978155136,
-0.00510226096957922,
0.04583502560853958,
0.017968831583857536,
0.04522070661187172,
0.02238851599395275,
0.0671314224600792,
-0.06539084762334824,
-0.014479158446192741,
0.020852718502283096,
-0.019060954451560974,
-0.06822354346513748,
0.005887223873287439,
0.03008456900715828,
-0.024453310295939445,
-0.026415718719363213,
0.027797935530543327,
-0.06501542776823044,
0.032644230872392654,
0.017235061153769493,
-0.012917764484882355,
0.03713217377662659,
-0.02610855922102928,
-0.03638133779168129,
-0.04208085313439369,
-0.043343622237443924,
-0.02226906456053257,
-0.025733141228556633,
0.04754146561026573,
0.037166301161050797,
0.04955506697297096,
-0.03482847660779953,
0.0014312780695036054,
-0.04481115937232971,
0.040647443383932114,
-0.027149489149451256,
0.012602072209119797,
-0.023309994488954544,
-0.010306907817721367,
0.016919370740652084,
-0.04771210998296738,
-0.011219854466617107,
-0.03972596302628517,
0.012909231707453728,
-0.05337749794125557,
0.01327611692249775,
-0.011296644806861877,
0.045732639729976654,
-0.041944339871406555,
-0.04419684037566185,
-0.011049210093915462,
-0.014257321134209633,
-0.040647443383932114,
0.02022133395075798,
-0.036927398294210434,
-0.03232000768184662,
0.019180405884981155,
0.010835905559360981,
-0.02530653215944767,
0.010076538659632206,
0.010921226814389229,
0.015093477442860603,
-0.012277848087251186,
0.022030163556337357,
0.057575345039367676,
0.014061080291867256,
-0.02185951918363571,
0.06385505199432373,
0.027866194024682045,
-0.01817360520362854,
0.06730206310749054,
-0.042285628616809845,
-0.02834399789571762,
-0.06180731952190399,
-0.010033877566456795,
-0.013660065829753876,
0.03607418015599251,
0.006309568416327238,
0.09201133996248245,
0.009769379161298275,
-0.05566412955522537,
0.04644934460520744,
-0.056551478803157806,
-0.02977740950882435,
0.06549323350191116,
0.06996411085128784,
-0.0027729677967727184,
0.00620291568338871,
0.016987627372145653,
-0.02564781904220581,
-0.011885366402566433,
-0.046073928475379944,
-0.03045998513698578,
0.03938467428088188,
0.0774042010307312,
0.05330923944711685,
-0.015016687102615833,
-0.07911063730716705,
0.0000027163086997461505,
0.017260657623410225,
0.08586814999580383,
-0.004893221892416477,
0.009453686885535717,
0.0015752590261399746,
0.01386483944952488,
-0.022968705743551254,
0.03699565678834915,
-0.021808326244354248,
-0.0010131997987627983,
0.03542573004961014,
0.011885366402566433,
0.013190794736146927,
0.016142938286066055,
-0.014871640130877495,
0.03092072531580925,
-0.04392381012439728,
-0.011450224556028843,
0.02416321448981762,
-0.03969183564186096,
-0.01191096380352974,
0.00876257847994566,
-0.023275865241885185,
-0.018071217462420464,
-0.011236919090151787,
0.05822379142045975,
0.02363421767950058,
-0.03370222449302673,
-0.0067703076638281345,
-0.011262515559792519,
0.02993098832666874,
-0.060612812638282776,
-0.028787672519683838,
0.01749102771282196,
0.02458982542157173,
0.0239072497934103,
-0.014991090632975101,
-0.02747371233999729,
0.027098294347524643,
-0.026757007464766502,
-0.007354763802140951,
0.009948555380105972,
-0.0027473713271319866,
-0.030681822448968887,
0.002241837792098522,
0.015392105095088482,
-0.020391978323459625,
-0.027183616533875465,
0.04153479263186455,
0.0016477828612551093,
0.00449647381901741,
-0.007000677287578583,
-0.010520213283598423,
0.019470499828457832,
-0.027900323271751404,
-0.007998946122825146,
-0.014555947855114937,
0.00965846050530672,
-0.02701297216117382,
0.027098294347524643,
0.017004692927002907,
0.02276393212378025,
-0.03648372367024422,
-0.0016819116426631808,
-0.006962282583117485,
0.047063663601875305,
-0.0034384801983833313,
0.00430236617103219,
-0.02360009029507637
] |
725,811 | flask_admin.base | menu_links |
Return menu links.
| def menu_links(self):
"""
Return menu links.
"""
return self._menu_links
| (self) | [
-0.04506678879261017,
-0.011601799167692661,
0.009509671479463577,
-0.008594932034611702,
0.005723916459828615,
0.026228580623865128,
-0.00940098986029625,
0.03189815580844879,
0.062419675290584564,
0.054014936089515686,
-0.00755339628085494,
-0.02780446782708168,
0.0519862063229084,
0.027768241241574287,
-0.027568990364670753,
0.009944399818778038,
-0.012335402891039848,
-0.03541220724582672,
0.025902533903717995,
-0.0008366247056983411,
-0.04144405573606491,
0.05528289079666138,
0.06825227290391922,
-0.06506426632404327,
-0.0393066443502903,
0.06596995145082474,
-0.05321793258190155,
0.0036680162884294987,
0.015287929214537144,
-0.006706582847982645,
-0.08636593073606491,
-0.039125505834817886,
0.033220451325178146,
0.00516239320859313,
0.032785724848508835,
-0.005633348599076271,
0.004562378395348787,
0.0013426750665530562,
-0.03512238711118698,
0.008957205340266228,
0.001105499337427318,
-0.0017547608586028218,
0.026192352175712585,
-0.02890940196812153,
0.0009679487557150424,
-0.03367329388856888,
-0.015115849673748016,
0.018140830099582672,
-0.019689548760652542,
-0.0415165089070797,
0.05477570742368698,
0.019635207951068878,
0.03006867691874504,
-0.021863188594579697,
-0.04046591743826866,
0.053833797574043274,
0.0040234969928860664,
0.031246064230799675,
0.013567131944000721,
0.06752772629261017,
-0.014255451038479805,
0.0067699807696044445,
0.018303854390978813,
-0.08513420075178146,
0.06462953984737396,
-0.03171702101826668,
-0.02314925752580166,
0.03102870099246502,
0.043182965368032455,
0.0747007355093956,
-0.06133285537362099,
0.00596392247825861,
0.006579787004739046,
0.03370952233672142,
0.017624592408537865,
-0.019635207951068878,
-0.007612265646457672,
0.02640971727669239,
-0.01488942839205265,
-0.005914110224694014,
-0.04003119096159935,
-0.0016755135729908943,
0.0144637580960989,
0.04930538311600685,
0.03707866370677948,
-0.03774886950850487,
0.008468136191368103,
-0.0030204528011381626,
0.05618857592344284,
0.02584819309413433,
-0.029416585341095924,
0.046008698642253876,
-0.023620212450623512,
-0.04763892665505409,
-0.0873802974820137,
-0.0017117408569902182,
0.014201109297573566,
0.0039057580288499594,
0.00898437574505806,
0.008128505200147629,
-0.024127395823597908,
0.03437972813844681,
0.031409088522195816,
0.06774508953094482,
-0.02890940196812153,
-0.05984753370285034,
-0.04448714852333069,
-0.030575858429074287,
-0.008812296204268932,
0.009482501074671745,
-0.02515987493097782,
-0.01503433845937252,
0.06817981600761414,
0.03213363513350487,
0.00656620180234313,
-0.014545269310474396,
-0.0407557375729084,
-0.044994331896305084,
0.03704243525862694,
-0.015595861710608006,
-0.04720420017838478,
0.030394721776247025,
-0.027025580406188965,
-0.03005056269466877,
0.016918158158659935,
0.01617549918591976,
-0.059630170464515686,
-0.025739511474967003,
0.0078024594113230705,
0.007123196963220835,
0.03466954454779625,
-0.0008773804293014109,
-0.03485068306326866,
-0.013367881067097187,
0.07024477422237396,
-0.05459457263350487,
-0.0014524891739711165,
-0.005397870671004057,
0.036172978579998016,
0.04919670149683952,
-0.06520918011665344,
0.018856320530176163,
-0.0021306192502379417,
0.022098666056990623,
-0.06839717924594879,
0.0033600840251892805,
0.056514620780944824,
0.058760713785886765,
-0.006421292666345835,
-0.0244172140955925,
0.04068328067660332,
-0.04158896580338478,
0.023094916716217995,
0.016338521614670753,
-0.055971208959817886,
0.037006206810474396,
-0.07578755170106888,
-0.04209614545106888,
0.0231854859739542,
-0.020595232024788857,
-0.007055270951241255,
-0.009600239805877209,
-0.04905179142951965,
0.0009888926288112998,
-0.01438224595040083,
-0.035049933940172195,
0.07723664492368698,
-0.08433720469474792,
0.03189815580844879,
0.0214828010648489,
-0.005646933801472187,
0.004677852615714073,
-0.05926789715886116,
-0.011964072473347187,
-0.03836473450064659,
0.0059548658318817616,
-0.037024322897195816,
0.04408865049481392,
0.018765751272439957,
0.009881001897156239,
-0.04615360498428345,
-0.0203778687864542,
-0.01812271773815155,
-0.005166921764612198,
0.030793223530054092,
0.007431128993630409,
0.020178617909550667,
0.031209837645292282,
-0.01813177391886711,
0.02541346475481987,
-0.07977256178855896,
-0.04448714852333069,
0.006308082025498152,
-0.03745904937386513,
-0.05727539584040642,
-0.037024322897195816,
-0.03934286907315254,
-0.023131145164370537,
-0.04158896580338478,
0.01306900568306446,
0.01992502622306347,
-0.02333039417862892,
-0.06078944355249405,
0.003821982303634286,
0.03720545768737793,
0.05115297809243202,
0.022388484328985214,
-0.025648942217230797,
-0.007494526915252209,
0.0019619357772171497,
-0.03789377585053444,
0.0049495575949549675,
-0.014273564331233501,
-0.048363473266363144,
0.008463608101010323,
-0.03061208687722683,
-0.04666078835725784,
0.020395981147885323,
-0.05528289079666138,
0.02764144539833069,
0.04003119096159935,
-0.03764018788933754,
-0.016890987753868103,
-0.024525895714759827,
-0.05086315795779228,
0.026355376467108727,
0.033800091594457626,
0.0009232306038029492,
0.021736392751336098,
-0.0031698904931545258,
0.024942509829998016,
-0.0020332583226263523,
-0.009410046972334385,
-0.0059684510342776775,
-0.004650682210922241,
-0.02876449190080166,
-0.02780446782708168,
0.010714230127632618,
-0.046697016805410385,
0.04535660520195961,
-0.04053837060928345,
0.036589592695236206,
0.06231098994612694,
0.05122543126344681,
0.029742630198597908,
0.0468781515955925,
-0.0067835659720003605,
-0.0028008248191326857,
0.025522148236632347,
-0.014336962252855301,
0.015161133371293545,
-0.08136656135320663,
-0.01741628535091877,
-0.002214394975453615,
0.0046189832501113415,
-0.01185539085417986,
-0.02021484449505806,
0.05459457263350487,
-0.046841926872730255,
-0.02302246168255806,
0.03131851926445961,
-0.024091169238090515,
-0.01992502622306347,
-0.0005281264311634004,
0.03077510930597782,
0.03289440646767616,
0.02275075763463974,
0.03197060897946358,
-0.015124906785786152,
0.03090190514922142,
0.17099295556545258,
-0.031246064230799675,
-0.0483272448182106,
0.029126765206456184,
-0.001124745118431747,
-0.037024322897195816,
0.008341340348124504,
-0.025322897359728813,
-0.1000598594546318,
-0.010216104798018932,
0.012824471108615398,
0.014581496827304363,
-0.028474673628807068,
0.05448589101433754,
-0.0039510419592261314,
-0.042349737137556076,
0.020051822066307068,
0.04814611002802849,
-0.013730154372751713,
0.010415354743599892,
0.09839340299367905,
0.03724168613553047,
-0.012742959894239902,
-0.0016675888327881694,
0.05481193587183952,
-0.00892097782343626,
-0.02220734767615795,
0.037133004516363144,
0.03077510930597782,
0.03204306587576866,
-0.0061224172823131084,
-0.03437972813844681,
-0.013213914819061756,
-0.0032514019403606653,
-0.034452181309461594,
0.019490297883749008,
0.0075126406736671925,
0.03847341611981392,
0.04800119996070862,
0.02177261933684349,
-0.011357265524566174,
0.0038265108596533537,
0.0067971511743962765,
0.04666078835725784,
-0.08919166028499603,
-0.041770100593566895,
-0.004034817684441805,
0.039234187453985214,
0.017769500613212585,
0.07125914096832275,
-0.09064075350761414,
0.0912928506731987,
-0.007480941712856293,
-0.019055571407079697,
0.06477444618940353,
0.028166741132736206,
-0.003788019297644496,
0.016519658267498016,
0.015478122979402542,
0.023529645055532455,
0.023547759279608727,
-0.00516239320859313,
-0.021265437826514244,
-0.0043676565401256084,
-0.05941280722618103,
0.0203778687864542,
-0.004512565676122904,
0.007476413156837225,
-0.034307271242141724,
-0.12665072083473206,
-0.015894737094640732,
0.002762333257123828,
-0.04763892665505409,
-0.0028279952239245176,
0.011936902068555355,
0.016918158158659935,
0.0063533661887049675,
0.03608241304755211,
-0.03959646075963974,
-0.04358146712183952,
0.02052277699112892,
0.018711410462856293,
0.021374119445681572,
0.034886911511421204,
0.003831039182841778,
-0.01438224595040083,
-0.02093939110636711,
-0.0290543120354414,
0.03653525188565254,
0.06361517310142517,
0.07365014404058456,
-0.006711111404001713,
-0.047964971512556076,
-0.01551435049623251,
0.0021804319694638252,
-0.015315099619328976,
0.013675813563168049,
0.008590403012931347,
0.10955141484737396,
-0.06404989957809448,
0.00621298560872674,
-0.03314799815416336,
0.011339151300489902,
-0.0038831159472465515,
0.022986235097050667,
-0.007657549809664488,
0.023076802492141724,
0.02584819309413433,
-0.008753426373004913,
-0.013204858638346195,
0.0026672366075217724,
0.013032779097557068,
0.0556451641023159,
0.0068107363767921925,
0.0524933859705925,
-0.03410802409052849,
0.026935013011097908,
0.024616464972496033,
0.031535882502794266,
0.016900045797228813,
0.012344460003077984,
-0.025739511474967003,
-0.07709173858165741,
0.032224200665950775,
-0.056261029094457626,
-0.08701802790164948,
0.050645794719457626,
0.006389593705534935,
0.010505923070013523,
-0.023620212450623512,
0.07774382829666138,
0.03858209773898125,
-0.05517420917749405,
-0.014581496827304363,
-0.017044954001903534,
0.004754835739731789,
-0.012960324063897133,
0.03271327167749405,
-0.011049333028495312,
-0.010288558900356293,
-0.001905330689623952,
0.031807586550712585,
-0.0918000340461731,
-0.07136782258749008,
0.04354523867368698,
-0.05100806802511215,
0.046552106738090515,
0.036154866218566895,
0.04369014874100685,
0.0216095969080925,
0.0004610492615029216,
-0.015152077190577984,
0.04158896580338478,
0.02276887185871601,
0.05550025403499603,
-0.0026717649307101965,
-0.01243502739816904,
0.04633474349975586,
0.0006877530249767005,
0.009237966500222683,
0.02371078170835972,
-0.014454700984060764,
0.020885050296783447,
-0.026319148018956184,
0.010994992218911648,
0.044849421828985214,
0.02740596793591976,
-0.029833199456334114,
-0.038002461194992065,
0.005443154834210873,
0.014934713020920753,
-0.014019973576068878,
-0.006724696606397629,
0.02023295871913433,
0.048508383333683014,
-0.05684066563844681,
-0.03847341611981392,
0.00009792697528610006,
0.06357894837856293,
-0.0483272448182106,
-0.09650958329439163,
0.04974010959267616,
0.03494125232100487,
-0.04901556670665741,
-0.027152376249432564,
-0.02823919616639614,
-0.04350901395082474,
0.0007290748180821538,
-0.03477822616696358,
0.04477696865797043,
0.05122543126344681,
0.018466876819729805,
-0.035865046083927155,
-0.01981634460389614,
0.03303931653499603,
0.003301214659586549,
-0.017932523041963577,
0.027152376249432564,
-0.05926789715886116,
-0.02822108380496502,
0.07267200201749802,
-0.008603989146649837,
-0.05495684593915939,
-0.040936872363090515,
-0.003935192711651325,
-0.0007613397901877761,
-0.019888799637556076,
-0.00949155818670988,
-0.05774635076522827,
-0.03255024924874306,
-0.03466954454779625,
-0.047964971512556076,
0.008671915158629417,
0.01573171466588974,
-0.047820065170526505,
-0.05825353041291237,
0.00003171659409417771,
0.014853201806545258,
-0.004326900467276573,
-0.029978107661008835,
0.018059318885207176,
-0.027007468044757843,
-0.04785628989338875,
0.006308082025498152,
0.029670175164937973,
-0.005923166871070862,
0.04448714852333069,
0.0013438072055578232,
-0.01060554850846529,
-0.02035975456237793,
0.00449445191770792,
-0.02849278785288334,
-0.007988124154508114,
0.015405667945742607,
0.03171702101826668,
0.024616464972496033,
-0.0075126406736671925,
-0.022261688485741615,
-0.05531911924481392,
-0.017887240275740623,
0.04144405573606491,
-0.00011413021275075153,
0.024362873286008835,
-0.004100479651242495,
0.025196101516485214,
-0.03104681335389614,
-0.04941406473517418,
0.06147776171565056,
0.07057081907987595,
0.04916047304868698,
0.02515987493097782,
-0.017751386389136314,
0.0006452991510741413,
-0.06676695495843887,
-0.03985005244612694,
0.0014853201573714614,
-0.0820186510682106,
0.033365361392498016,
-0.010089308954775333,
0.06546276807785034,
0.023131145164370537,
-0.005334473215043545,
-0.027025580406188965,
0.02231602929532528,
-0.03850964084267616,
0.05303679779171944,
-0.036607708781957626,
0.0091881537809968,
-0.008785124868154526,
0.04071950912475586,
0.02668142132461071,
-0.042784467339515686,
-0.027985604479908943,
-0.008028879761695862,
0.029162993654608727,
-0.03269515559077263,
-0.007413015700876713,
0.024127395823597908,
0.03220608830451965,
0.014065257273614407,
0.01067800261080265,
0.006765452213585377,
-0.02093939110636711,
-0.015903793275356293,
0.06082567200064659,
0.00028189385193400085,
-0.030720768496394157,
-0.005411455873399973,
0.04166141897439957,
0.0351404994726181,
-0.01630229502916336,
-0.03847341611981392,
-0.10578377544879913,
-0.006285440176725388,
-0.02950715273618698,
0.01617549918591976,
-0.0057782577350735664,
0.039379097521305084,
0.028420332819223404,
0.0468781515955925,
-0.012634278275072575,
-0.04705929011106491,
-0.030086789280176163,
0.030159244313836098,
0.01627512462437153,
0.031952496618032455,
0.03204306587576866,
-0.014454700984060764,
0.020033707842230797,
-0.013467506505548954,
0.028166741132736206,
0.013123346492648125,
0.012588993646204472,
0.015604918822646141,
-0.03130040690302849,
-0.02950715273618698,
-0.009500615298748016,
0.024670805782079697,
0.03312988579273224,
-0.002400059951469302,
-0.028474673628807068,
0.029162993654608727,
-0.05542780086398125,
-0.040791962295770645,
0.0033510271459817886,
-0.037603959441185,
0.04658833518624306,
-0.02950715273618698,
-0.04814611002802849,
0.036607708781957626,
0.0410093255341053,
0.02387380413711071,
0.026572739705443382,
-0.005343529861420393,
0.04745779186487198,
0.016202669590711594,
0.03724168613553047,
-0.06289062649011612,
-0.03861832246184349,
0.029724515974521637,
-0.062166083604097366,
-0.03767641261219978,
0.016601169481873512,
0.007521697320044041,
-0.025250442326068878,
-0.026083670556545258,
0.014998110942542553,
-0.033637069165706635,
0.048653293401002884,
0.04061082750558853,
-0.002436287235468626,
0.001728722476400435,
-0.012588993646204472,
0.010587434284389019,
-0.05100806802511215,
-0.06539031118154526,
-0.0011604063911363482,
-0.013277312740683556,
0.027061808854341507,
0.08332283794879913,
0.04604492336511612,
-0.030811335891485214,
0.02932601608335972,
-0.01698155701160431,
0.04966765642166138,
-0.028130514547228813,
0.021174868568778038,
-0.03535786643624306,
0.0342891588807106,
0.018457820639014244,
-0.03267704322934151,
-0.031934384256601334,
-0.046841926872730255,
-0.002615159610286355,
-0.048399701714515686,
0.07165764272212982,
-0.013594302348792553,
0.02921733446419239,
-0.006978287827223539,
-0.03988628089427948,
-0.01313240360468626,
0.0053933425806462765,
-0.009070415049791336,
0.03850964084267616,
-0.04749401658773422,
-0.029833199456334114,
0.003962363116443157,
0.02613801136612892,
-0.03048529103398323,
-0.042784467339515686,
-0.00729980506002903,
-0.007634907960891724,
-0.013956575654447079,
-0.05405116081237793,
0.020287299528717995,
-0.012217664159834385,
-0.008296056650578976,
0.07680191844701767,
0.0010890838457271457,
0.019725775346159935,
0.059449031949043274,
0.015396611765027046,
-0.030086789280176163,
-0.038400959223508835,
0.029869426041841507,
-0.009781376458704472,
0.00729980506002903,
-0.02557648904621601,
0.06419481337070465,
0.0031993251759558916,
-0.0810767412185669,
0.028039947152137756,
-0.07191123068332672,
0.014019973576068878,
0.03528540953993797,
0.03803868591785431,
0.011103673838078976,
0.022968120872974396,
0.036734502762556076,
0.00004139254451729357,
-0.020722027868032455,
-0.012960324063897133,
-0.02584819309413433,
0.017343830317258835,
0.06354272365570068,
0.05662330240011215,
-0.025196101516485214,
-0.09114793688058853,
0.025449693202972412,
0.012724846601486206,
0.08368510752916336,
0.026898786425590515,
0.011819163337349892,
-0.011275753378868103,
0.003298950381577015,
-0.056116119027137756,
0.03789377585053444,
-0.02146468684077263,
-0.06097058206796646,
0.04847215488553047,
0.013367881067097187,
0.003964627627283335,
0.027587104588747025,
-0.03604618459939957,
0.02961583435535431,
-0.07636719197034836,
0.004677852615714073,
0.01536944042891264,
-0.0045714350417256355,
0.020559005439281464,
0.04818233847618103,
-0.034796342253685,
0.0009617221658118069,
-0.000610769959166646,
0.039379097521305084,
-0.0021385441068559885,
-0.07230973243713379,
-0.011420662514865398,
-0.004628040362149477,
0.03302120417356491,
-0.038256049156188965,
-0.021156756207346916,
0.028293536975979805,
0.051442794501781464,
-0.007009986788034439,
-0.005044654477387667,
-0.028547128662467003,
0.009962513111531734,
-0.020414095371961594,
0.023366622626781464,
0.04216860234737396,
-0.00856776162981987,
0.004127650521695614,
-0.0019777852576225996,
0.01838536560535431,
-0.04506678879261017,
-0.005800899583846331,
0.033474043011665344,
0.015188303776085377,
-0.012453141622245312,
-0.019164253026247025,
0.022533394396305084,
-0.008671915158629417,
-0.0539424791932106,
-0.017896296456456184,
0.00048538949340581894,
-0.0007822837214916945,
-0.029416585341095924,
-0.003964627627283335,
0.0033668766263872385,
0.0145271560177207,
0.020685799419879913,
-0.029869426041841507,
0.014916599728167057,
0.06010112538933754,
0.03280383720993996,
-0.013032779097557068,
0.017479682341217995
] |
725,812 | flask_admin.base | AdminIndexView |
Default administrative interface index page when visiting the ``/admin/`` URL.
It can be overridden by passing your own view class to the ``Admin`` constructor::
class MyHomeView(AdminIndexView):
@expose('/')
def index(self):
arg1 = 'Hello'
return self.render('admin/myhome.html', arg1=arg1)
admin = Admin(index_view=MyHomeView())
Also, you can change the root url from /admin to / with the following::
admin = Admin(
app,
index_view=AdminIndexView(
name='Home',
template='admin/myhome.html',
url='/'
)
)
Default values for the index page are:
* If a name is not provided, 'Home' will be used.
* If an endpoint is not provided, will default to ``admin``
* Default URL route is ``/admin``.
* Automatically associates with static folder.
* Default template is ``admin/index.html``
| class AdminIndexView(BaseView):
"""
Default administrative interface index page when visiting the ``/admin/`` URL.
It can be overridden by passing your own view class to the ``Admin`` constructor::
class MyHomeView(AdminIndexView):
@expose('/')
def index(self):
arg1 = 'Hello'
return self.render('admin/myhome.html', arg1=arg1)
admin = Admin(index_view=MyHomeView())
Also, you can change the root url from /admin to / with the following::
admin = Admin(
app,
index_view=AdminIndexView(
name='Home',
template='admin/myhome.html',
url='/'
)
)
Default values for the index page are:
* If a name is not provided, 'Home' will be used.
* If an endpoint is not provided, will default to ``admin``
* Default URL route is ``/admin``.
* Automatically associates with static folder.
* Default template is ``admin/index.html``
"""
def __init__(self, name=None, category=None,
endpoint=None, url=None,
template='admin/index.html',
menu_class_name=None,
menu_icon_type=None,
menu_icon_value=None):
super(AdminIndexView, self).__init__(name or babel.lazy_gettext('Home'),
category,
endpoint or 'admin',
'/admin' if url is None else url,
'static',
menu_class_name=menu_class_name,
menu_icon_type=menu_icon_type,
menu_icon_value=menu_icon_value)
self._template = template
@expose()
def index(self):
return self.render(self._template)
| (name=None, category=None, endpoint=None, url=None, template='admin/index.html', menu_class_name=None, menu_icon_type=None, menu_icon_value=None) | [
-0.011184517294168472,
-0.039589643478393555,
0.024696677923202515,
-0.01864086277782917,
0.04611887410283089,
0.023730114102363586,
-0.003252288093790412,
0.035427503287792206,
-0.060242533683776855,
0.02745828777551651,
0.06718601286411285,
0.03949101269245148,
0.014902827329933643,
0.02179698832333088,
-0.010720961727201939,
0.008743451908230782,
0.054522059857845306,
-0.02856293134391308,
0.0721963569521904,
-0.04793364554643631,
-0.013946127146482468,
-0.009591660462319851,
0.06604191660881042,
-0.0023177792318165302,
-0.059374600648880005,
-0.03116673417389393,
-0.026432545855641365,
0.02489393576979637,
0.07898202538490295,
-0.06280688941478729,
-0.023828743025660515,
-0.03787349909543991,
0.02682706154882908,
0.06896132975816727,
0.06758052855730057,
-0.05961130931973457,
0.02061344124376774,
0.03710419312119484,
-0.0018825791776180267,
0.03982635214924812,
0.031640153378248215,
-0.03732117637991905,
0.011539582163095474,
-0.07578644901514053,
0.026097208261489868,
0.044619716703891754,
0.024874210357666016,
0.06363537162542343,
-0.050142936408519745,
-0.013009152375161648,
-0.015307205729186535,
-0.019715918228030205,
-0.02280300296843052,
-0.01249628234654665,
-0.00498075969517231,
0.039037320762872696,
0.01796032302081585,
0.04742077738046646,
-0.012732991948723793,
0.026629803702235222,
0.007278813049197197,
0.01053356658667326,
0.02929278463125229,
-0.035427503287792206,
0.009971382096409798,
0.049866773188114166,
-0.052194416522979736,
0.036019276827573776,
0.01341353077441454,
0.03154152259230614,
-0.005074457265436649,
0.018344976007938385,
0.003461874555796385,
0.03751843422651291,
0.024874210357666016,
0.015928568318486214,
0.003422423033043742,
-0.015889115631580353,
0.014675981365144253,
0.03564448654651642,
0.038623079657554626,
-0.0749579668045044,
-0.008319348096847534,
0.0022955876775085926,
0.05712586268782616,
-0.009157693944871426,
-0.04765748605132103,
-0.04150304198265076,
0.06485836952924728,
0.011253558099269867,
-0.015178988687694073,
0.013028877787292004,
-0.015248028561472893,
-0.025702692568302155,
-0.017851831391453743,
0.0009530017850920558,
-0.02603803016245365,
-0.010336308740079403,
-0.015139536932110786,
-0.0032424251548945904,
0.000792729842942208,
0.07937654107809067,
0.03051578253507614,
0.01002562791109085,
0.014725295826792717,
-0.053022898733615875,
-0.03690693527460098,
0.009971382096409798,
-0.02183643914759159,
-0.031008927151560783,
-0.034184779971838,
-0.047578584402799606,
-0.015494600869715214,
-0.016382260248064995,
-0.05148428678512573,
0.029450591653585434,
-0.03266589343547821,
-0.009645907208323479,
0.008191130124032497,
-0.027103222906589508,
-0.014380094595253468,
0.003661598078906536,
-0.02197452075779438,
-0.003158590756356716,
0.030002912506461143,
0.0399249792098999,
-0.03536832332611084,
-0.04256823658943176,
0.014518174342811108,
0.007239361759275198,
0.006529233418405056,
0.044027943164110184,
-0.05807269737124443,
0.0012809429317712784,
0.03866253048181534,
0.03907677158713341,
-0.012427241541445255,
-0.0035087233409285545,
-0.03217274695634842,
0.07736451178789139,
-0.05436425283551216,
-0.020278101786971092,
0.04335726797580719,
0.061149921268224716,
-0.039905253797769547,
0.0025051741395145655,
-0.004941307939589024,
0.023177793249487877,
0.028681285679340363,
0.015109947882592678,
-0.00810729619115591,
0.03215302154421806,
0.06363537162542343,
-0.03884006291627884,
-0.02444024197757244,
-0.007910038344562054,
-0.01593843102455139,
0.026432545855641365,
0.012713265605270863,
-0.05286509171128273,
-0.023019986227154732,
-0.009493032470345497,
0.010296857915818691,
-0.012032725848257542,
-0.04888048395514488,
0.005478835664689541,
0.01112534012645483,
-0.05337796360254288,
0.02006111852824688,
0.04576381295919418,
-0.015691857784986496,
-0.02787252888083458,
-0.011786154471337795,
0.01256532222032547,
-0.02018933743238449,
0.012180669233202934,
-0.030239621177315712,
0.0019479208858683705,
0.007954421453177929,
-0.020357005298137665,
0.015208576805889606,
-0.013028877787292004,
-0.08489976078271866,
0.023473680019378662,
0.008284827694296837,
0.018384426832199097,
0.008644822984933853,
0.0802050232887268,
-0.013354353606700897,
0.04627668112516403,
-0.04099017381668091,
-0.02846430242061615,
0.018936749547719955,
-0.03185713663697243,
-0.026215562596917152,
0.006677176803350449,
-0.013699554838240147,
-0.08379511535167694,
0.01690499484539032,
0.007979078218340874,
-0.01374886929988861,
0.016914857551455498,
0.031107556074857712,
-0.021954793483018875,
0.07629931718111038,
0.04596107080578804,
0.023592034354805946,
0.007214704528450966,
-0.041779205203056335,
-0.010829453356564045,
-0.032922327518463135,
0.05266783386468887,
-0.021915342658758163,
0.05673134699463844,
-0.03193603828549385,
-0.040911268442869186,
-0.030574960634112358,
0.009350020438432693,
0.018147718161344528,
-0.021737810224294662,
0.007259087171405554,
0.025604063645005226,
0.011509993113577366,
0.05811215192079544,
-0.01103657390922308,
-0.002365860855206847,
0.05006403103470802,
-0.05258893221616745,
-0.02718212641775608,
0.03523024544119835,
-0.018650725483894348,
-0.08663562685251236,
0.03079194389283657,
0.03459902107715607,
-0.018995927646756172,
0.02728075534105301,
0.031916312873363495,
0.0037109125405550003,
-0.0565735399723053,
0.006312249694019556,
-0.029095526784658432,
0.0035555718932300806,
0.03266589343547821,
0.0014794336166232824,
0.014025029726326466,
-0.01650061644613743,
-0.07839025557041168,
0.015386109240353107,
0.010592744685709476,
-0.01708252541720867,
-0.008319348096847534,
-0.020396457985043526,
0.013985578902065754,
-0.009404266253113747,
0.021540552377700806,
0.03175850585103035,
-0.06643643230199814,
0.05755982920527458,
-0.09918122738599777,
-0.0069040232338011265,
-0.018058951944112778,
-0.018897298723459244,
0.023828743025660515,
0.009926998987793922,
0.02718212641775608,
0.006450330372899771,
0.027399109676480293,
-0.031147008761763573,
-0.02096850425004959,
0.029036348685622215,
0.17579616606235504,
0.05826995521783829,
-0.01773347705602646,
0.03217274695634842,
0.039550188928842545,
-0.028345946222543716,
0.014015167020261288,
-0.016106100752949715,
-0.13137370347976685,
0.00861030351370573,
0.004961033817380667,
-0.03313931077718735,
-0.020850149914622307,
0.04075346142053604,
0.0043840548023581505,
-0.0007951955194585025,
-0.019479207694530487,
-0.012308887206017971,
-0.015751035884022713,
0.004033922217786312,
0.09334239363670349,
-0.016648558899760246,
-0.024045726284384727,
-0.030140992254018784,
-0.0401025116443634,
0.015780624002218246,
-0.06130772829055786,
0.040911268442869186,
-0.005991705693304539,
0.005745133850723505,
0.008960436098277569,
-0.0364532433450222,
0.02489393576979637,
-0.005981842987239361,
0.047815293073654175,
-0.006775805726647377,
0.010425074957311153,
-0.007979078218340874,
0.06063704937696457,
-0.017753202468156815,
0.008768109604716301,
0.006248141173273325,
-0.022013971582055092,
0.031502071768045425,
-0.08545207977294922,
-0.01630335859954357,
-0.0007477303734049201,
-0.03225165233016014,
0.01393626444041729,
0.07105226069688797,
-0.033790264278650284,
0.09357910603284836,
-0.02682706154882908,
-0.015593229793012142,
0.04422520101070404,
0.00172230729367584,
0.02453887090086937,
0.015386109240353107,
0.009986176155507565,
0.01560309249907732,
-0.08497866243124008,
-0.010000971145927906,
-0.02901662327349186,
-0.036019276827573776,
-0.05105032026767731,
-0.028720736503601074,
-0.004568983800709248,
-0.027714721858501434,
-0.044895876199007034,
-0.08182253688573837,
0.07574699819087982,
0.0059128026477992535,
-0.03380998969078064,
0.009887547232210636,
-0.06848791241645813,
-0.003984607756137848,
0.05925624445080757,
-0.05767818167805672,
-0.029095526784658432,
-0.02846430242061615,
0.02371038869023323,
-0.05566615238785744,
-0.006430604495108128,
-0.06414823979139328,
0.04702626168727875,
-0.04327836260199547,
-0.02225068025290966,
-0.03615735471248627,
-0.013206410221755505,
-0.031048379838466644,
-0.05318070575594902,
0.00005990935460431501,
-0.050655804574489594,
-0.020455634221434593,
-0.011588896624743938,
-0.03075249306857586,
0.024065451696515083,
-0.011598759330809116,
0.0638720765709877,
-0.032922327518463135,
0.010336308740079403,
-0.019291814416646957,
0.03359300643205643,
-0.024479694664478302,
0.08347950130701065,
-0.05538999289274216,
-0.007870586588978767,
-0.004310083109885454,
-0.05684969946742058,
-0.036532144993543625,
-0.02659035287797451,
0.022447938099503517,
0.07132842391729355,
0.01621459238231182,
-0.021481376141309738,
-0.07259087264537811,
0.04043785110116005,
0.0871090516448021,
-0.06253072619438171,
0.01714170351624489,
0.010937945917248726,
-0.03728172555565834,
-0.030239621177315712,
0.021402472630143166,
-0.03980662673711777,
-0.04734187573194504,
-0.01758553273975849,
0.0008469757158309221,
-0.06280688941478729,
0.008585645817220211,
0.09105420112609863,
0.016964171081781387,
-0.00498075969517231,
0.016599245369434357,
0.061426080763339996,
-0.007840997539460659,
0.02741883508861065,
0.036433517932891846,
0.00920700840651989,
0.003156124847009778,
-0.006987857632339001,
-0.018995927646756172,
-0.05440370365977287,
0.02595912665128708,
0.027261029928922653,
0.01855209656059742,
0.0482492595911026,
0.0416608490049839,
0.016885267570614815,
-0.001871483400464058,
0.021501101553440094,
0.06410878896713257,
0.11030656844377518,
0.024341613054275513,
0.04363342747092247,
0.007525385357439518,
-0.01581021398305893,
0.0015620352933183312,
-0.04828871041536331,
0.013650240376591682,
0.01485351286828518,
-0.016934582963585854,
-0.06915858387947083,
-0.0021081927698105574,
-0.006677176803350449,
0.0032054393086582422,
0.02974647656083107,
-0.0721963569521904,
-0.013758732005953789,
0.021501101553440094,
0.010543430224061012,
-0.009078790433704853,
0.012269435450434685,
0.07689109444618225,
0.053575221449136734,
0.007032240740954876,
-0.03308013454079628,
-0.021619455888867378,
0.04600052163004875,
-0.0895550474524498,
-0.010178502649068832,
0.034382037818431854,
-0.032448910176754,
-0.0035457091871649027,
-0.014192699454724789,
-0.06028198450803757,
-0.03641379252076149,
0.012160943821072578,
-0.016688009724020958,
0.09018626809120178,
0.03126536309719086,
-0.02225068025290966,
-0.040280044078826904,
-0.06911913305521011,
-0.029450591653585434,
-0.002586543094366789,
0.03505271300673485,
0.011756565421819687,
-0.043751783668994904,
-0.04071401059627533,
0.03988552838563919,
-0.04248933121562004,
-0.016747187823057175,
-0.00523226335644722,
-0.0146661177277565,
0.025623789057135582,
0.004482683725655079,
-0.05140538513660431,
-0.03759733960032463,
-0.03420450538396835,
0.004753913264721632,
0.027616092935204506,
0.023197518661618233,
0.00808756984770298,
-0.05688915029168129,
-0.01969619281589985,
0.05353577062487602,
0.012437105178833008,
-0.013393805362284184,
-0.030101541429758072,
-0.005000485572963953,
0.030121266841888428,
-0.048998840153217316,
0.01685567945241928,
0.011223969049751759,
0.038366641849279404,
-0.0054147266782820225,
0.019479207694530487,
-0.0017975118244066834,
-0.03828774020075798,
0.0025298313703387976,
-0.04110852628946304,
0.03923457860946655,
0.0014486120780929923,
0.019064966589212418,
-0.03562476113438606,
-0.013995441608130932,
-0.012851346284151077,
-0.030357977375388145,
-0.05511383339762688,
-0.021224940195679665,
0.02221122942864895,
0.004645421169698238,
0.008600440807640553,
0.03615735471248627,
0.03953046351671219,
-0.05266783386468887,
0.03706474229693413,
0.05838831141591072,
-0.0003433518868405372,
-0.005769791081547737,
-0.015573504380881786,
0.004411177709698677,
0.01581021398305893,
-0.03047633171081543,
0.03781432285904884,
0.006820188835263252,
0.036295436322689056,
-0.02106713317334652,
0.08103350549936295,
-0.06584465503692627,
0.05945350229740143,
-0.040141962468624115,
0.04083236679434776,
-0.04813090339303017,
0.03386916592717171,
-0.05775708705186844,
0.03487518057227135,
0.04540874809026718,
0.018216758966445923,
-0.04343616962432861,
0.024459967389702797,
0.004332274664193392,
-0.039135947823524475,
-0.0014892964391037822,
-0.07902147620916367,
-0.0013647774467244744,
0.0015373780624940991,
0.04312055557966232,
-0.038721706718206406,
-0.03532887250185013,
0.019163595512509346,
0.02402600087225437,
0.053259607404470444,
0.0366307757794857,
0.05826995521783829,
-0.01938057877123356,
0.015968019142746925,
0.017615122720599174,
0.04106907546520233,
0.032370004802942276,
-0.014360368251800537,
0.0044999439269304276,
-0.0030944817699491978,
0.007919901050627232,
0.07823244482278824,
0.02069234475493431,
-0.04256823658943176,
-0.00968535803258419,
-0.03613762930035591,
-0.06817229837179184,
-0.0569286048412323,
-0.0117171136662364,
0.009414128959178925,
-0.04714461788535118,
0.008403182961046696,
0.058230504393577576,
0.021915342658758163,
0.0482492595911026,
-0.06040034070611,
0.0003865020116791129,
-0.006001568865031004,
0.013965852558612823,
0.0005775954923592508,
-0.020633166655898094,
0.023039711639285088,
0.053614672273397446,
0.002983524464070797,
0.00843277107924223,
-0.009054133668541908,
-0.0171811543405056,
-0.003390368539839983,
-0.009325362741947174,
0.00012282381067052484,
0.04217372089624405,
0.015652406960725784,
-0.06410878896713257,
-0.05945350229740143,
0.0064108786173164845,
0.013857360929250717,
-0.033829715102910995,
-0.004159674048423767,
0.031403444707393646,
-0.04529039189219475,
0.022092875093221664,
0.042962752282619476,
0.05684969946742058,
0.0008888929733075202,
-0.02436133846640587,
-0.0225662924349308,
-0.015968019142746925,
-0.010109462775290012,
-0.013946127146482468,
0.06687039881944656,
-0.024045726284384727,
-0.0249925646930933,
-0.060479242354631424,
0.007278813049197197,
0.0017790189012885094,
-0.00523226335644722,
-0.047262970358133316,
0.026333916932344437,
0.024144355207681656,
-0.052115511149168015,
-0.01299928966909647,
0.03386916592717171,
0.04501423239707947,
0.03183741122484207,
-0.05140538513660431,
0.03842582181096077,
0.03619680926203728,
-0.05037964507937431,
-0.05898008495569229,
0.004615832585841417,
0.018700040876865387,
-0.04398849233984947,
-0.024459967389702797,
-0.014863375574350357,
0.017970185726881027,
0.009922067634761333,
0.0016409383388236165,
-0.02929278463125229,
0.0028824296314269304,
0.007446482311934233,
0.00726401899009943,
0.04773639142513275,
-0.017240332439541817,
-0.018680313602089882,
-0.01945948228240013,
-0.03290260210633278,
0.009157693944871426,
0.07259087264537811,
-0.02221122942864895,
0.014646392315626144,
-0.06738326698541641,
0.06016363203525543,
0.003959950525313616,
-0.04584271460771561,
-0.029134977608919144,
0.006105129141360521,
-0.0258604995906353,
-0.03749870881438255,
0.012663951143622398,
-0.06363537162542343,
0.05811215192079544,
-0.008506743237376213,
0.003516120370477438,
0.012003137730062008,
0.006504576187580824,
-0.012437105178833008,
0.034105874598026276,
-0.04422520101070404,
0.01233847625553608,
-0.03655187040567398,
0.02905607596039772,
-0.0047908988781273365,
0.018512645736336708,
0.0015829938929527998,
-0.015543915331363678,
-0.021639181300997734,
-0.004586244001984596,
0.014389957301318645,
-0.0155340526252985,
0.026708707213401794,
-0.018532371148467064,
0.03884006291627884,
-0.03676885366439819,
-0.03065386414527893,
0.04383068531751633,
-0.022901631891727448,
-0.02298053540289402,
-0.01450831163674593,
0.0076437401585280895,
0.020297829061746597,
0.021402472630143166,
-0.005454178433865309,
-0.005705682095140219,
-0.06462165713310242,
-0.03079194389283657,
0.030397428199648857,
0.024617774412035942,
-0.026393095031380653,
0.03047633171081543,
0.03738035634160042,
0.0019898382015526295,
-0.00297612720169127,
0.024341613054275513,
-0.037577614188194275,
0.0032300965394824743,
-0.026807336136698723,
0.03457929193973541,
0.021619455888867378,
0.0972086489200592,
0.028661560267210007,
0.02179698832333088,
-0.01969619281589985,
0.03848499804735184,
0.03503298759460449,
-0.03741980716586113,
-0.006879366002976894,
0.00679553160443902,
-0.024420516565442085,
0.018305525183677673,
0.0040413192473351955,
0.039905253797769547,
-0.020909328013658524,
-0.06513452529907227,
-0.019794821739196777,
0.02554488554596901,
0.002370792208239436,
-0.030693314969539642,
-0.025189822539687157,
0.0359206460416317,
-0.02175753563642502,
-0.0005144113674759865,
0.003619680879637599,
-0.07436619699001312,
-0.020771246403455734,
-0.037400081753730774,
-0.007357716094702482,
0.009783986955881119,
0.0029218813870102167,
-0.040635108947753906,
-0.0178715568035841,
0.005769791081547737,
0.013127506710588932,
0.012200395576655865,
0.015001456253230572,
0.05688915029168129,
0.07511577010154724,
-0.0008106062887236476,
0.010819590650498867,
-0.04473806917667389,
0.044659167528152466,
0.03797212988138199,
-0.00030112636159174144,
-0.000469411927042529,
-0.0146661177277565,
0.014340642839670181,
-0.016964171081781387,
0.017378412187099457,
-0.033237941563129425,
-0.011529718525707722,
-0.009014681912958622,
0.08048118650913239,
0.052115511149168015,
0.049590613692998886,
0.020573988556861877
] |
725,813 | flask_admin.base | __init__ | null | def __init__(self, name=None, category=None,
endpoint=None, url=None,
template='admin/index.html',
menu_class_name=None,
menu_icon_type=None,
menu_icon_value=None):
super(AdminIndexView, self).__init__(name or babel.lazy_gettext('Home'),
category,
endpoint or 'admin',
'/admin' if url is None else url,
'static',
menu_class_name=menu_class_name,
menu_icon_type=menu_icon_type,
menu_icon_value=menu_icon_value)
self._template = template
| (self, name=None, category=None, endpoint=None, url=None, template='admin/index.html', menu_class_name=None, menu_icon_type=None, menu_icon_value=None) | [
-0.024427739903330803,
-0.037768129259347916,
0.06241326779127121,
-0.042017292231321335,
0.014121051877737045,
0.02160155214369297,
0.0005367037374526262,
0.027115581557154655,
-0.07344132661819458,
0.04486324265599251,
0.04041644558310509,
0.06846091151237488,
-0.0008411857997998595,
0.004268925171345472,
-0.02170037105679512,
0.030831126496195793,
0.02616693079471588,
-0.029744131490588188,
0.04146391525864601,
-0.03019869327545166,
-0.040001410990953445,
-0.020415740087628365,
0.06632645428180695,
0.018893947824835777,
0.002232045168057084,
-0.0518595352768898,
-0.05454738065600395,
0.018676547333598137,
0.061425093561410904,
-0.07557579129934311,
0.005869772285223007,
0.013300864957273006,
0.01713499240577221,
0.07027915865182877,
0.05158284679055214,
-0.08854067325592041,
0.04960649460554123,
-0.0019331215880811214,
0.04102911427617073,
0.04897405952215195,
0.046325743198394775,
-0.059053465723991394,
-0.03013940341770649,
-0.055337920784950256,
0.02185847796499729,
0.04929027706384659,
0.013745544478297234,
0.017708133906126022,
-0.03970495983958244,
-0.02168060652911663,
-0.05138521268963814,
-0.002880536485463381,
-0.009975648485124111,
-0.010138697922229767,
-0.04041644558310509,
0.035416267812252045,
0.02596929483115673,
0.01751049980521202,
-0.04593047499656677,
0.08442985266447067,
-0.007599082309752703,
0.03049514628946781,
0.029368625953793526,
-0.06632645428180695,
0.020218104124069214,
0.017727898433804512,
-0.011601199395954609,
0.015741661190986633,
-0.009456855244934559,
0.05553555488586426,
0.013824598863720894,
0.038005292415618896,
0.039744485169649124,
-0.0019578260835260153,
0.020830774679780006,
0.011818598955869675,
0.0010289394995197654,
0.008868889883160591,
-0.01970425248146057,
0.02395341359078884,
0.014259396120905876,
-0.05387542024254799,
0.005553555674850941,
0.027550378814339638,
0.06174130737781525,
-0.023044291883707047,
-0.025238044559955597,
-0.0281235221773386,
0.033578258007764816,
0.014872065745294094,
-0.013330509886145592,
-0.003910711035132408,
-0.020297158509492874,
-0.06608928740024567,
-0.015445209108293056,
0.0015897300327196717,
-0.011413445696234703,
-0.0258309505879879,
0.020000705495476723,
0.023123346269130707,
0.033321332186460495,
0.01963507942855358,
0.06059502437710762,
-0.004167637322098017,
-0.014911592938005924,
-0.06371766328811646,
-0.038005292415618896,
0.006655373144894838,
-0.027510851621627808,
-0.042333509773015976,
0.010277042165398598,
0.023044291883707047,
0.04284736141562462,
0.003036174224689603,
-0.04336121305823326,
0.037353094667196274,
-0.03930968791246414,
-0.01290559396147728,
0.008903476409614086,
-0.020020470023155212,
-0.0238348338752985,
0.011947061866521835,
-0.026641255244612694,
0.01200635265558958,
0.04553520306944847,
0.011818598955869675,
-0.0520571731030941,
-0.07940991967916489,
-0.006902417633682489,
0.02381506934762001,
0.02780730463564396,
0.04917169362306595,
-0.039843302220106125,
0.02608787640929222,
0.053163930773735046,
0.00005886602230020799,
-0.00015208663535304368,
0.025257807224988937,
-0.024961354210972786,
0.057156167924404144,
-0.07336226850748062,
-0.026285512372851372,
0.020731957629323006,
0.011522145941853523,
-0.05818387120962143,
-0.003384506795555353,
0.009950944222509861,
0.026799364015460014,
-0.006507146637886763,
-0.022629257291555405,
-0.033064406365156174,
0.02391388639807701,
0.05355920270085335,
-0.04363790154457092,
-0.009733544662594795,
-0.02598905935883522,
-0.010751367546617985,
-0.014713957905769348,
-0.003609317122027278,
-0.03233315795660019,
-0.022826891392469406,
0.03434903919696808,
-0.008671254850924015,
0.004945826716721058,
-0.0831649899482727,
-0.01966472528874874,
0.024921827018260956,
-0.055337920784950256,
0.014723839238286018,
0.0025494969449937344,
-0.03907252475619316,
-0.04541662335395813,
-0.07071395963430405,
0.029190752655267715,
-0.01394317951053381,
0.02128533646464348,
-0.04043620824813843,
0.007949884980916977,
0.027649197727441788,
-0.05561460927128792,
0.03259008377790451,
0.010840303264558315,
-0.05861866846680641,
0.031661197543144226,
-0.009417328052222729,
-0.0027693663723766804,
0.03031727485358715,
0.09360013902187347,
-0.022016586735844612,
0.055100757628679276,
-0.050397034734487534,
-0.0678284764289856,
0.002964531537145376,
-0.028617611154913902,
-0.0005376301123760641,
0.007949884980916977,
0.0066010234877467155,
-0.07225551456212997,
0.0066800774075090885,
0.022589730098843575,
0.04759061336517334,
0.01960543543100357,
0.033380623906850815,
-0.020395975559949875,
0.048736896365880966,
0.04498182237148285,
0.031503088772296906,
0.01304393820464611,
-0.007806599605828524,
0.005484383087605238,
-0.04033739119768143,
0.03213552013039589,
-0.03863772749900818,
0.0690142959356308,
-0.06110887601971626,
-0.028597846627235413,
-0.06897476315498352,
-0.0053954473696649075,
-0.007742368150502443,
-0.01956590823829174,
0.023281453177332878,
0.012500440701842308,
0.024743955582380295,
0.05027845501899719,
0.0021332274191081524,
0.04091053456068039,
0.027550378814339638,
-0.04735345020890236,
-0.022273512557148933,
0.03954685106873512,
-0.02361743338406086,
-0.07537814974784851,
0.06786800920963287,
0.004982883110642433,
-0.05399399995803833,
0.014852303080260754,
0.02377554215490818,
0.029724368825554848,
-0.09399541467428207,
0.012213869951665401,
-0.022332804277539253,
-0.002017116639763117,
0.04929027706384659,
-0.014200105331838131,
0.027550378814339638,
-0.01204587984830141,
-0.07276936620473862,
0.018172577023506165,
-0.007169225253164768,
-0.03628586605191231,
-0.021028410643339157,
-0.013883888721466064,
0.01760931685566902,
-0.018142933025956154,
0.029210517182946205,
-0.0068875947035849094,
-0.018478913232684135,
0.015751544386148453,
-0.06411293148994446,
-0.014605258591473103,
-0.04506087675690651,
-0.03853891044855118,
0.057116638869047165,
0.001955355517566204,
0.005118757486343384,
-0.0192002821713686,
0.02417081408202648,
-0.013696135021746159,
0.00589941767975688,
0.044230811297893524,
0.20728003978729248,
0.026325039565563202,
0.005909299477934837,
0.028795482590794563,
0.04122675210237503,
-0.0762082189321518,
0.025297334417700768,
-0.04375648498535156,
-0.0676308423280716,
0.01752038113772869,
-0.001290806452743709,
-0.02830139361321926,
-0.016008470207452774,
0.01953626237809658,
-0.00845385529100895,
0.0010857596062123775,
-0.04134533181786537,
-0.04083148017525673,
-0.0024432679638266563,
0.003238750621676445,
0.0654173269867897,
0.005098993889987469,
-0.046286217868328094,
-0.029447678476572037,
-0.019931532442569733,
0.020712193101644516,
-0.010484559461474419,
0.04810446500778198,
0.0016033174470067024,
0.04118722304701805,
0.008434091694653034,
-0.0468791238963604,
0.0305149108171463,
-0.02624598518013954,
0.018557967618107796,
0.005022410303354263,
0.0015884947497397661,
0.0238348338752985,
0.05154332146048546,
0.016314804553985596,
0.02834092080593109,
0.037629786878824234,
-0.028479265049099922,
0.052650079131126404,
-0.09043797105550766,
0.010553731583058834,
0.0004987206775695086,
-0.03454667329788208,
0.005479442421346903,
0.050673723220825195,
-0.026562202721834183,
0.06743320822715759,
-0.04047573730349541,
-0.017945297062397003,
0.06257137656211853,
-0.003940356429666281,
0.006596082355827093,
-0.020168695598840714,
0.0015390858752653003,
0.04055479168891907,
-0.03711593523621559,
0.0009684136020950973,
0.0016527263214811683,
-0.04956696555018425,
-0.06929098069667816,
-0.013804835267364979,
-0.012510322965681553,
0.024743955582380295,
-0.05774907395243645,
-0.10016163438558578,
0.059053465723991394,
0.03946779668331146,
-0.018429504707455635,
-0.0012333686463534832,
-0.04917169362306595,
-0.03021845780313015,
0.03484312817454338,
-0.08759202063083649,
-0.02818281203508377,
-0.03231339156627655,
0.007164284586906433,
-0.03448738157749176,
-0.016522321850061417,
-0.030732309445738792,
0.03478383645415306,
-0.022036351263523102,
-0.01960543543100357,
-0.050515614449977875,
-0.0039008292369544506,
0.0075200279243290424,
-0.037866950035095215,
-0.007752249948680401,
-0.0340130589902401,
-0.033380623906850815,
-0.005469560623168945,
-0.018627138808369637,
0.041898712515830994,
0.002838538959622383,
0.035811539739370346,
-0.03286677226424217,
0.018745720386505127,
-0.022649019956588745,
0.03000105917453766,
-0.029724368825554848,
0.0648244246840477,
-0.056958530098199844,
-0.00864654965698719,
-0.020297158509492874,
-0.07553625851869583,
-0.057077113538980484,
-0.022945472970604897,
0.029487205669283867,
0.039665430784225464,
0.00538556557148695,
-0.008201870135962963,
-0.013340391218662262,
-0.0029027704149484634,
0.10269136726856232,
-0.030752073973417282,
0.026898182928562164,
-0.0018565378850325942,
-0.024526556953787804,
0.009407446719706059,
0.0192002821713686,
-0.018676547333598137,
-0.0014266807120293379,
-0.02385459654033184,
0.007485441863536835,
-0.06873760372400284,
0.024941591545939445,
0.05553555488586426,
0.009224633686244488,
-0.003490735776722431,
0.00957543682307005,
0.02347908914089203,
-0.02156202495098114,
-0.02371625229716301,
-0.006304570473730564,
-0.018113287165760994,
0.01509934663772583,
0.04486324265599251,
-0.007421210408210754,
-0.07727545499801636,
0.012609140947461128,
-0.00031390064395964146,
0.03415140137076378,
0.040179282426834106,
0.004305982030928135,
0.01698676496744156,
-0.02610764093697071,
-0.006605964154005051,
0.04087100550532341,
0.10008258372545242,
0.00861196406185627,
0.046839598566293716,
0.020613376051187515,
-0.01756978966295719,
-0.003508028807118535,
-0.03511981666088104,
-0.006665254943072796,
-0.019951296970248222,
-0.006635609548538923,
-0.013962943106889725,
0.035416267812252045,
-0.004244220908731222,
0.021937532350420952,
0.03201694041490555,
-0.07731498032808304,
-0.03444785624742508,
0.021107463166117668,
0.0059488266706466675,
-0.020949356257915497,
0.035258159041404724,
0.11921369284391403,
0.00641326978802681,
0.0277282502502203,
-0.03162166848778725,
-0.03844008967280388,
0.03029751218855381,
-0.06237374246120453,
0.012460913509130478,
0.05182000994682312,
-0.011522145941853523,
0.0007473089499399066,
-0.0003866243059746921,
-0.044349391013383865,
-0.08190011978149414,
0.02146320790052414,
-0.008770071901381016,
0.06233421340584755,
0.013992588967084885,
-0.012648667208850384,
-0.028815245255827904,
-0.08688053488731384,
-0.024585846811532974,
-0.01184824388474226,
0.03832150995731354,
0.011571554467082024,
-0.002318510552868247,
-0.030850891023874283,
0.0173029825091362,
-0.013607199303805828,
-0.007757190614938736,
0.014348331838846207,
-0.0434797964990139,
-0.0033721544314175844,
-0.009634727612137794,
-0.02820257656276226,
-0.028973354026675224,
-0.022826891392469406,
0.0348035991191864,
0.005454737693071365,
0.037629786878824234,
0.012164460495114326,
-0.020751720294356346,
-0.01744132675230503,
0.029645314440131187,
-0.008345155976712704,
0.038064584136009216,
-0.02612740360200405,
-0.03199717774987221,
0.018795128911733627,
-0.061701782047748566,
0.018884064629673958,
0.024309158325195312,
0.023083819076418877,
0.015712017193436623,
0.01746108941733837,
-0.03183906897902489,
0.022965237498283386,
-0.0038267159834504128,
-0.027056289836764336,
0.0141111696138978,
-0.0072334567084908485,
0.014565731398761272,
-0.022846655920147896,
-0.0006021704757586122,
-0.022490911185741425,
-0.055337920784950256,
-0.06857949495315552,
-0.013834480196237564,
0.024625374004244804,
0.011196047067642212,
0.004446797072887421,
0.028973354026675224,
0.048776425421237946,
-0.056879475712776184,
0.014723839238286018,
0.041977766901254654,
0.0028335980605334044,
0.007638609502464533,
-0.005084171425551176,
-0.01948685385286808,
0.009199929423630238,
-0.06545685231685638,
0.02377554215490818,
0.031127579510211945,
0.006857949309051037,
-0.02585071511566639,
0.07217645645141602,
-0.05640515312552452,
0.03227386623620987,
-0.05909299477934837,
0.05431021749973297,
-0.07344132661819458,
0.060041643679142,
-0.05561460927128792,
0.05427068844437599,
0.03656255453824997,
0.010158461518585682,
-0.020040232688188553,
0.01069207675755024,
0.02417081408202648,
-0.0718207135796547,
0.03207623213529587,
-0.0899636447429657,
-0.024823009967803955,
0.05193858966231346,
0.03511981666088104,
-0.012105169706046581,
0.020139049738645554,
0.0017626610351726413,
-0.00861196406185627,
0.016502559185028076,
0.054626431316137314,
0.04996223747730255,
-0.011907534673810005,
-0.013883888721466064,
0.018577730283141136,
0.057353802025318146,
0.035475559532642365,
-0.03668113425374031,
-0.03274819254875183,
0.04312404990196228,
0.027550378814339638,
0.07304605841636658,
-0.00880465842783451,
-0.03802505508065224,
-0.02132486365735531,
-0.014259396120905876,
-0.08016093075275421,
-0.055219341069459915,
-0.02359767071902752,
0.020139049738645554,
-0.026344802230596542,
-0.012115051969885826,
0.08221633732318878,
0.009239456616342068,
0.02798517793416977,
-0.06016022339463234,
-0.013528144918382168,
-0.0010697017423808575,
-0.033143460750579834,
0.01697688363492489,
-0.00431833416223526,
0.012816657312214375,
0.01698676496744156,
-0.015158637426793575,
0.020613376051187515,
0.007678136695176363,
0.008226574398577213,
0.006724545732140541,
-0.02183871529996395,
0.006358920130878687,
-0.005919181276112795,
0.01960543543100357,
-0.003169578267261386,
-0.06506158411502838,
0.023123346269130707,
0.02626574970781803,
-0.018073759973049164,
-0.02579142339527607,
0.020089641213417053,
-0.03632539138197899,
0.03233315795660019,
0.03019869327545166,
0.05774907395243645,
0.005000176373869181,
0.01734250970184803,
-0.026819128543138504,
0.016680430620908737,
-0.011907534673810005,
-0.027234163135290146,
0.09083324670791626,
-0.011907534673810005,
-0.020237868651747704,
-0.012075524777173996,
-0.029210517182946205,
0.03614751994609833,
0.006279865745455027,
-0.07940991967916489,
-0.0016737250844016671,
0.04545614868402481,
-0.020514557138085365,
-0.02994176745414734,
-0.0005490559269674122,
0.022451385855674744,
0.007529909722507,
-0.015069701708853245,
0.06838186085224152,
0.023380272090435028,
-0.06047644093632698,
-0.03426998481154442,
0.009358037263154984,
0.020000705495476723,
-0.03745191544294357,
-0.005434974562376738,
0.002929945243522525,
0.02978365868330002,
0.02814328484237194,
-0.04118722304701805,
-0.022925710305571556,
0.035317450761795044,
0.031443797051906586,
-0.01705593802034855,
0.030613727867603302,
-0.01278701238334179,
0.0012512793764472008,
-0.02832115814089775,
-0.00492853345349431,
0.02351861633360386,
0.04565378278493881,
-0.0282223392277956,
0.0033746249973773956,
-0.05806529149413109,
0.0240324679762125,
-0.03272842615842819,
-0.048499733209609985,
-0.03231339156627655,
-0.021028410643339157,
-0.007104993797838688,
-0.020297158509492874,
0.009358037263154984,
-0.0008368625422008336,
0.07881700992584229,
-0.020336685702204704,
-0.01982283405959606,
0.016364213079214096,
-0.022332804277539253,
0.008315511047840118,
0.040179282426834106,
-0.0021616374142467976,
-0.004367743153125048,
-0.030850891023874283,
0.022866418585181236,
-0.009442032314836979,
0.03213552013039589,
0.01946708932518959,
0.003873654408380389,
-0.013597317971289158,
0.01081065833568573,
0.02185847796499729,
0.0004168872255831957,
0.014486677013337612,
0.003903299802914262,
0.04703723266720772,
-0.052887242287397385,
-0.033064406365156174,
0.05818387120962143,
0.007361919619143009,
-0.04067337140440941,
0.010919357649981976,
-0.033123698085546494,
0.002838538959622383,
0.037570495158433914,
0.015652725473046303,
0.006783836055546999,
-0.07842174172401428,
-0.0026581964921206236,
0.033222515136003494,
0.035613905638456345,
0.004686430096626282,
-0.013587435707449913,
0.06608928740024567,
-0.0006614610902033746,
-0.0020269984379410744,
0.04506087675690651,
-0.009950944222509861,
-0.013399682007730007,
-0.01744132675230503,
0.04600952938199043,
0.006912299431860447,
0.07023963332176208,
0.018745720386505127,
0.018982883542776108,
0.007164284586906433,
0.028617611154913902,
0.009950944222509861,
-0.04324263334274292,
-0.0021678137127310038,
0.03504076227545738,
-0.053124405443668365,
-0.00975824985653162,
0.025040408596396446,
0.05201764404773712,
-0.05901394039392471,
-0.08814540505409241,
-0.02361743338406086,
0.005652373190969229,
0.031008999794721603,
-0.013646726496517658,
-0.024743955582380295,
0.05537744611501694,
-0.009950944222509861,
0.03045561909675598,
0.007317451760172844,
-0.06039738655090332,
-0.0032535733189433813,
-0.0006892535602673888,
0.023340744897723198,
-0.006670195609331131,
-0.008730544708669186,
-0.029763896018266678,
0.00035944944829680026,
-0.001804658561013639,
-0.00480007054284215,
-0.011996470391750336,
0.03176001459360123,
0.03316322714090347,
0.08601094037294388,
-0.04375648498535156,
-0.02604834921658039,
-0.03883536159992218,
0.048855479806661606,
0.013557790778577328,
-0.022925710305571556,
0.03156237676739693,
-0.0387958362698555,
-0.004913710989058018,
-0.0001615052024135366,
0.0510689951479435,
-0.0056079053319990635,
0.023261690512299538,
-0.009046762250363827,
0.029091935604810715,
-0.003458620049059391,
0.037570495158433914,
-0.0007151932222768664
] |
725,814 | flask_admin.base | _get_endpoint |
Generate Flask endpoint name. By default converts class name to lower case if endpoint is
not explicitly provided.
| def _get_endpoint(self, endpoint):
"""
Generate Flask endpoint name. By default converts class name to lower case if endpoint is
not explicitly provided.
"""
if endpoint:
return endpoint
return self.__class__.__name__.lower()
| (self, endpoint) | [
0.010945347137749195,
-0.07009101659059525,
0.026955466717481613,
0.0009145908406935632,
-0.0142000587657094,
-0.021363822743296623,
0.06455035507678986,
0.03514748066663742,
-0.016018617898225784,
-0.027159417048096657,
-0.037560898810625076,
-0.035895299166440964,
-0.007932827807962894,
-0.03191826492547989,
0.03263209015130997,
0.026734521612524986,
0.05540657415986061,
0.012755408883094788,
0.0650942251086235,
-0.026955466717481613,
-0.00012952720862813294,
0.022298596799373627,
0.04616081342101097,
-0.02297843061387539,
-0.015542733483016491,
0.06771159172058105,
-0.0034097987227141857,
-0.005204988643527031,
0.06019940972328186,
-0.06788154691457748,
-0.027958223596215248,
-0.0874268114566803,
0.0367450937628746,
0.029997730627655983,
0.08062846213579178,
-0.0016794054536148906,
0.014735428616404533,
0.07389809191226959,
-0.04707859084010124,
-0.014336025342345238,
-0.011574194766581059,
-0.0067261201329529285,
-0.03705102205276489,
-0.0258337389677763,
0.04656871408224106,
0.06118517369031906,
0.004123625811189413,
0.023029418662190437,
-0.0012938114814460278,
0.0034671598114073277,
-0.014811910688877106,
-0.046738673001527786,
0.025884727016091347,
0.0194092970341444,
0.002874428406357765,
0.016035614535212517,
0.002585498383268714,
-0.00997658260166645,
-0.06958113610744476,
0.10952145606279373,
-0.03953241929411888,
-0.0494920052587986,
0.0016114219324663281,
-0.03254711255431175,
0.010673413053154945,
0.03033764846622944,
-0.011956602334976196,
0.04769044369459152,
-0.018950408324599266,
0.00973014160990715,
0.06234089285135269,
-0.0010224084835499525,
-0.04503908380866051,
-0.004899062681943178,
0.01672394759953022,
-0.032003242522478104,
0.027023451402783394,
-0.009857610799372196,
0.005306963808834553,
-0.04996788874268532,
0.024355096742510796,
-0.02627563290297985,
-0.03179929405450821,
-0.04106204956769943,
0.07247043401002884,
-0.019834192469716072,
-0.035657357424497604,
-0.04136797413229942,
-0.06523019075393677,
0.014438001438975334,
-0.04017826169729233,
-0.022417567670345306,
-0.014251045882701874,
0.04055217280983925,
0.0017346420791000128,
-0.04911809787154198,
-0.04480114206671715,
-0.026190653443336487,
0.039124518632888794,
-0.03691505268216133,
0.04106204956769943,
0.03222418949007988,
-0.028553079813718796,
0.05934961512684822,
0.015797670930624008,
-0.042591679841279984,
0.003414047649130225,
0.015304790809750557,
-0.04048418998718262,
0.010528948158025742,
0.01462495606392622,
-0.002008700743317604,
-0.02462703175842762,
0.011837631464004517,
0.026734521612524986,
-0.006853588856756687,
0.05000188201665878,
0.0558144748210907,
0.006254484411329031,
-0.014157569035887718,
0.001469081500545144,
-0.004410431254655123,
-0.04561694338917732,
-0.06298673897981644,
0.04017826169729233,
-0.017896663397550583,
-0.009772631339728832,
-0.0010781761957332492,
0.0067261201329529285,
-0.024304110556840897,
-0.010605430230498314,
0.056528300046920776,
-0.07158665359020233,
0.006228990387171507,
0.030813531950116158,
0.052755214273929596,
-0.011744153685867786,
0.09402121603488922,
-0.06210295110940933,
0.11210483312606812,
-0.006483928766101599,
0.026224644854664803,
-0.026785507798194885,
-0.011548700742423534,
-0.006186500657349825,
0.05819389596581459,
0.0008535119122825563,
0.05115760117769241,
0.03728896379470825,
0.0015721189556643367,
-0.01015503890812397,
0.035181473940610886,
0.03179929405450821,
-0.021023904904723167,
0.014438001438975334,
-0.019664233550429344,
-0.02972579561173916,
0.020955922082066536,
-0.027771269902586937,
-0.07539372891187668,
0.007839350029826164,
-0.025255879387259483,
-0.057140152901411057,
-0.10211125016212463,
0.01647750660777092,
-0.00328232953324914,
0.04248970374464989,
0.0388185940682888,
0.018389543518424034,
0.015797670930624008,
-0.07247043401002884,
-0.013945120386779308,
-0.016035614535212517,
0.04262566938996315,
0.06635192036628723,
0.0432715117931366,
0.02566378004848957,
0.009968084283173084,
0.010528948158025742,
0.012058577500283718,
0.037186987698078156,
0.0021860951092094183,
-0.02651357464492321,
-0.048676203936338425,
0.0367450937628746,
0.015432259999215603,
0.018032629042863846,
0.010257014073431492,
-0.01927332952618599,
0.016859913244843483,
-0.040960073471069336,
0.044427234679460526,
-0.012967857532203197,
0.03382180258631706,
0.0300317220389843,
-0.020819954574108124,
0.003953666891902685,
0.0016602851683273911,
0.013979111798107624,
-0.014123577624559402,
-0.005770101677626371,
0.06251084804534912,
0.005629885476082563,
0.024338101968169212,
0.012568454258143902,
0.04517505317926407,
0.06499224901199341,
-0.006522169336676598,
-0.038954559713602066,
-0.037968799471855164,
-0.03800278902053833,
-0.04650073125958443,
-0.03394077345728874,
0.001868484658189118,
-0.021363822743296623,
0.01243248675018549,
0.016919400542974472,
-0.026190653443336487,
-0.033175960183143616,
0.04792838543653488,
0.03960040211677551,
0.01752275414764881,
0.06074327975511551,
-0.015661705285310745,
0.01750575751066208,
-0.027108430862426758,
0.022264603525400162,
-0.03501151502132416,
-0.04677266627550125,
-0.036949045956134796,
-0.02450806088745594,
-0.04361142963171005,
0.0642104372382164,
0.07376212626695633,
0.024491064250469208,
0.000820582383312285,
-0.0045336512848734856,
0.017114851623773575,
0.03701702877879143,
-0.017225325107574463,
-0.006428692024201155,
0.027448348701000214,
-0.01306983269751072,
0.0046951123513281345,
-0.011633680202066898,
0.02092192880809307,
0.010341993533074856,
0.006959813181310892,
-0.009628166444599628,
-0.038886576890945435,
0.003960040397942066,
-0.005595894064754248,
-0.009381726384162903,
-0.04024624824523926,
0.0016730320639908314,
-0.0728103518486023,
-0.06057332083582878,
0.027346372604370117,
0.009169277735054493,
0.029045959934592247,
-0.07593759894371033,
-0.0013171808095648885,
0.05285719037055969,
0.022944439202547073,
-0.028247155249118805,
-0.012118062935769558,
0.007405955344438553,
0.015279296785593033,
0.0008779434720054269,
-0.0011472220066934824,
0.04942402243614197,
-0.015712691470980644,
0.008221757598221302,
0.035793326795101166,
0.04262566938996315,
-0.06913924217224121,
-0.06574007123708725,
0.04905011132359505,
-0.037424929440021515,
-0.06308870762586594,
0.014573968015611172,
-0.054216861724853516,
0.012865882366895676,
0.03987233713269234,
-0.01720833033323288,
-0.027091434225440025,
0.023199377581477165,
-0.036031268537044525,
0.054760728031396866,
-0.01702137477695942,
0.03524945676326752,
-0.033600855618715286,
-0.04221776872873306,
0.001412782585248351,
-0.0959247499704361,
-0.0033524376340210438,
0.028315138071775436,
-0.04068813845515251,
0.03609925135970116,
-0.05102163553237915,
0.005804093554615974,
0.008047549985349178,
-0.0017580114072188735,
-0.0024452824145555496,
-0.01823658123612404,
-0.003004021942615509,
0.01106431894004345,
-0.036507152020931244,
0.008098537102341652,
-0.050137847661972046,
-0.04911809787154198,
0.04616081342101097,
-0.09184574335813522,
-0.013664687983691692,
0.010656417347490788,
0.09225364029407501,
-0.03538542613387108,
0.02444007620215416,
-0.006794103421270847,
0.09531290084123611,
-0.042115792632102966,
0.09259355813264847,
-0.030779540538787842,
0.01731880195438862,
0.015270799398422241,
0.06125315651297569,
-0.02068398706614971,
0.012398495338857174,
-0.0075036813504993916,
0.0194092970341444,
-0.02523888275027275,
-0.040892090648412704,
0.013307774439454079,
-0.017658719792962074,
-0.04191184416413307,
-0.04221776872873306,
0.016265058889985085,
0.011812137439846992,
-0.024830982089042664,
-0.0035818819887936115,
0.022876456379890442,
-0.03288703039288521,
0.008820862509310246,
0.03558937460184097,
-0.020140118896961212,
0.025646785274147987,
0.008578671142458916,
-0.06692977994680405,
0.04789439216256142,
-0.06206895783543587,
-0.016698453575372696,
-0.02219662070274353,
0.028994973748922348,
0.01725931651890278,
0.03592929244041443,
0.003819824196398258,
-0.04045019671320915,
-0.006862087175250053,
0.01733579859137535,
0.037560898810625076,
0.026530571281909943,
-0.10435470938682556,
-0.015270799398422241,
-0.009985079988837242,
0.009934092871844769,
0.03397476673126221,
0.02389620803296566,
0.014089585281908512,
0.03370283171534538,
-0.011905614286661148,
-0.011718659661710262,
-0.004227725323289633,
-0.0029912751633673906,
-0.06444837898015976,
-0.0493900291621685,
0.010877364315092564,
0.03994031995534897,
0.011106808669865131,
0.0013734796084463596,
0.029096947982907295,
-0.012874379754066467,
0.06662385165691376,
0.03076254390180111,
0.08205611258745193,
0.0015540608437731862,
-0.04245571047067642,
-0.02042904868721962,
0.0023475561756640673,
0.006343712564557791,
0.039498426020145416,
-0.018032629042863846,
-0.029232915490865707,
-0.025153903290629387,
-0.0026747267693281174,
0.00430208258330822,
-0.07464590668678284,
-0.06271480023860931,
-0.03939645364880562,
0.002477149711921811,
0.02097291685640812,
0.039124518632888794,
-0.012262527830898762,
0.058159906417131424,
0.039668384939432144,
0.023250365629792213,
0.021074892953038216,
0.030728552490472794,
0.003161233849823475,
0.017063865438103676,
0.008493691682815552,
-0.01447199285030365,
-0.018644481897354126,
-0.051361553370952606,
-0.0661819577217102,
0.02625863626599312,
0.014157569035887718,
0.014421004801988602,
0.022519541904330254,
0.048982128500938416,
0.018100613728165627,
0.0019853312987834215,
0.02802620828151703,
0.08409561961889267,
0.02760131098330021,
-0.03312497213482857,
0.0057531059719622135,
-0.01623106561601162,
-0.03936246037483215,
0.04323752224445343,
0.06074327975511551,
-0.04724854975938797,
-0.011140800081193447,
-0.044359248131513596,
-0.051837436854839325,
0.03830871731042862,
-0.015797670930624008,
0.02687048725783825,
0.002322062151506543,
-0.026921475306153297,
-0.011803639121353626,
0.014123577624559402,
-0.0179306548088789,
-0.06390451639890671,
0.03033764846622944,
-0.0014754548901692033,
-0.015313289128243923,
-0.06706574559211731,
-0.025323862209916115,
0.022400571033358574,
-0.04463118314743042,
0.0056766243651509285,
-0.05663027614355087,
0.007490934804081917,
-0.013324771076440811,
0.0018865427700802684,
-0.0420818030834198,
0.00038479737122543156,
0.010087055154144764,
0.031102461740374565,
0.02809419110417366,
-0.04660270735621452,
0.024185139685869217,
0.00790733378380537,
-0.02493295818567276,
-0.012211540713906288,
0.004208605270832777,
0.02620764821767807,
0.031000487506389618,
-0.032938018441200256,
0.007210502400994301,
0.051225584000349045,
-0.04796237498521805,
0.0045973858796060085,
0.0023305602371692657,
-0.03647316247224808,
0.08885446935892105,
-0.00328232953324914,
0.037662871181964874,
0.014251045882701874,
0.02024209499359131,
-0.0367450937628746,
0.022519541904330254,
-0.01927332952618599,
0.02620764821767807,
0.029946742579340935,
0.0017495135543867946,
-0.04160591587424278,
0.05945159122347832,
-0.009305245243012905,
-0.03813875839114189,
0.004567643161863089,
0.07471389323472977,
0.0105459438636899,
0.01762472838163376,
0.01927332952618599,
0.057616036385297775,
0.05605241656303406,
0.015372774563729763,
-0.015500243753194809,
0.06043735146522522,
0.02632661908864975,
-0.050749700516462326,
0.023760242387652397,
-0.0126449353992939,
0.02444007620215416,
-0.07070286571979523,
-0.05866978317499161,
0.0400083027780056,
-0.013307774439454079,
0.003462910884991288,
0.07029496133327484,
0.04276163503527641,
0.03145937621593475,
0.01811760850250721,
0.00403014849871397,
0.032377153635025024,
0.0013660439290106297,
-0.011633680202066898,
0.04367941617965698,
0.04123200848698616,
0.0006166318198665977,
-0.025187896564602852,
-0.015593720600008965,
0.05951957404613495,
-0.004299957770854235,
0.02906295657157898,
0.02613966539502144,
0.003139988984912634,
-0.04905011132359505,
0.06244286894798279,
-0.009891603142023087,
0.07029496133327484,
0.022451559081673622,
0.02620764821767807,
0.004098131787031889,
0.0525512658059597,
-0.1072780042886734,
-0.07722928375005722,
0.04565093666315079,
0.00626298226416111,
0.0024686516262590885,
-0.016103597357869148,
-0.03701702877879143,
-0.005132756195962429,
-0.0484042689204216,
-0.07532574236392975,
-0.029419871047139168,
0.011744153685867786,
0.0006872709491290152,
-0.050205834209918976,
0.02530686743557453,
0.02292744442820549,
0.007703382987529039,
-0.03422970324754715,
-0.04656871408224106,
-0.0005980425630696118,
-0.0032143460121005774,
0.058465830981731415,
0.0017091482877731323,
0.04079011455178261,
-0.06788154691457748,
0.0034459149464964867,
0.04585488885641098,
0.04116402566432953,
0.03759488835930824,
0.027329375967383385,
-0.013673186302185059,
-0.00715951481834054,
-0.01523680705577135,
-0.05503266304731369,
-0.022757485508918762,
-0.020785963162779808,
0.059927478432655334,
-0.03118744120001793,
0.013035840354859829,
0.056528300046920776,
0.05112361162900925,
-0.011812137439846992,
0.03599727526307106,
-0.04656871408224106,
-0.046126820147037506,
-0.0008104910957626998,
-0.03582731634378433,
-0.04041620343923569,
-0.07199455052614212,
-0.043509457260370255,
-0.012449482455849648,
-0.02462703175842762,
-0.032870035618543625,
-0.046432748436927795,
-0.08763076364994049,
-0.05112361162900925,
0.015542733483016491,
-0.023029418662190437,
-0.01612059399485588,
0.01165067683905363,
0.012984853237867355,
-0.018100613728165627,
0.014633453451097012,
0.007303979713469744,
-0.002379423240199685,
0.06924121826887131,
0.05132756009697914,
-0.0009990391554310918,
0.06873134523630142,
-0.010010574012994766,
-0.03647316247224808,
-0.015823164954781532,
-0.03380480781197548,
-0.021261846646666527,
0.021329831331968307,
0.049763940274715424,
0.024847978726029396,
0.023369336500763893,
-0.003991907462477684,
-0.0025685024447739124,
-0.0034034252166748047,
0.0015923016471788287,
0.009347734972834587,
0.0024325354024767876,
-0.017794687300920486,
0.027465343475341797,
0.010477961041033268,
0.006998054217547178,
-0.041435956954956055,
0.055848464369773865,
0.05064772441983223,
-0.04660270735621452,
-0.012712919153273106,
-0.014811910688877106,
-0.01398761011660099,
-0.05703817680478096,
0.004452920984476805,
-0.09470105171203613,
0.005706367082893848,
-0.024712011218070984,
-0.004571891855448484,
-0.002400668105110526,
-0.07192657142877579,
-0.01896740309894085,
0.0016592228785157204,
-0.020887937396764755,
0.019120365381240845,
-0.00602079089730978,
0.03708501160144806,
0.003477782243862748,
-0.006925821769982576,
-0.07165463268756866,
0.007958320900797844,
-0.003960040397942066,
-0.023012423887848854,
0.026462586596608162,
-0.008744380436837673,
0.033056989312171936,
0.009016314521431923,
-0.029334891587495804,
-0.024796990677714348,
-0.021499790251255035,
0.021499790251255035,
-0.03154435381293297,
-0.005617138929665089,
-0.037424929440021515,
0.031408388167619705,
-0.027924232184886932,
-0.027329375967383385,
0.023556292057037354,
0.0357593335211277,
-0.03281904757022858,
-0.020412053912878036,
-0.0155087411403656,
0.010953845456242561,
0.04592287167906761,
0.029589828103780746,
-0.08287191390991211,
-0.01149771362543106,
-0.00857017282396555,
0.011353248730301857,
0.006683630403131247,
0.002307190792635083,
-0.024287113919854164,
0.010129544883966446,
-0.016766436398029327,
-0.032921019941568375,
0.04041620343923569,
0.045345012098550797,
-0.000014016623026691377,
0.02566378004848957,
-0.05540657415986061,
0.025272876024246216,
-0.03083052858710289,
-0.014930881559848785,
-0.05486270412802696,
-0.005404690280556679,
0.0462287962436676,
-0.01776069588959217,
-0.015517239458858967,
-0.025068923830986023,
-0.05064772441983223,
0.0067048752680420876,
0.018593493849039078,
0.023879213258624077,
-0.007516428362578154,
0.021057896316051483,
0.010622425936162472,
0.039804354310035706,
0.03609925135970116,
0.030269663780927658,
-0.013741170056164265,
-0.008472446352243423,
0.012568454258143902,
0.025153903290629387,
-0.025459829717874527,
0.049288056790828705,
-0.017471766099333763,
0.019358308985829353,
0.018474522978067398,
-0.07253842055797577,
0.04779241606593132,
-0.030082710087299347,
0.04048418998718262,
-0.01544925570487976,
-0.035793326795101166,
0.0017282686894759536,
-0.04340748116374016,
0.02462703175842762,
-0.020157115533947945,
-0.04894813895225525,
0.009288248606026173,
-0.06669183820486069,
0.03946443647146225,
-0.02559579722583294,
-0.0008195201517082751,
-0.02438909001648426,
0.0946330651640892,
0.040518179535865784,
-0.022400571033358574,
0.02097291685640812,
-0.01762472838163376,
-0.03217320144176483,
-0.002392170252278447,
-0.0189164150506258,
-0.025068923830986023,
-0.03841068968176842,
0.027227401733398438,
0.042659662663936615,
0.04796237498521805,
0.04660270735621452,
-0.010392981581389904,
-0.003700853092595935,
0.009509195573627949,
0.011761149391531944,
0.04079011455178261,
-0.06315669417381287,
-0.023794233798980713,
-0.057921960949897766,
-0.08192014694213867,
0.01435302197933197,
0.00737196346744895,
0.0300317220389843,
0.0017357043689116836,
-0.012636438012123108,
0.02280847169458866,
-0.01691090129315853,
0.021754728630185127,
0.06975109875202179,
0.06359858810901642,
0.011446725577116013,
-0.018440531566739082
] |
Subsets and Splits