index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
---|---|---|---|---|---|---|
43,846 | cppy | get_include | null | def get_include():
import os
return os.path.join(os.path.dirname(__file__), 'include')
| () | [
-0.0069605326279997826,
-0.03801722824573517,
0.029323095455765724,
-0.024653702974319458,
0.012666601687669754,
-0.02846936322748661,
0.07464060932397842,
0.04439408704638481,
-0.0982663482427597,
-0.019113153219223022,
0.011560234241187572,
-0.06983182579278946,
-0.016037974506616592,
0.053767722100019455,
-0.010662944056093693,
0.005017856135964394,
0.031744908541440964,
-0.028591325506567955,
0.0058280304074287415,
-0.025821050629019737,
0.029898058623075485,
-0.0405610017478466,
-0.04526524245738983,
-0.011455695144832134,
-0.06526697427034378,
0.04721663147211075,
-0.02226673625409603,
-0.04798324778676033,
-0.02634374424815178,
-0.0353863388299942,
-0.005479568615555763,
-0.0257165115326643,
0.03630976378917694,
-0.036867301911115646,
-0.027859553694725037,
-0.02101227268576622,
-0.01152538787573576,
-0.03732030466198921,
0.010035712271928787,
-0.06467458605766296,
-0.020646385848522186,
0.01785868965089321,
0.08049477636814117,
-0.02348635345697403,
0.018520766869187355,
0.05955219268798828,
-0.04986494407057762,
0.005309693049639463,
0.03589160740375519,
0.07018028944730759,
0.07164382934570312,
0.02270231395959854,
-0.060841504484415054,
-0.03801722824573517,
-0.010053135454654694,
0.03437579795718193,
-0.005658155307173729,
-0.1145743802189827,
-0.0041031427681446075,
0.03874899819493294,
0.007056360132992268,
0.03437579795718193,
0.05610241740942001,
0.004499518312513828,
-0.016482263803482056,
0.06303681433200836,
-0.02895721048116684,
-0.04397593066096306,
-0.0062244064174592495,
-0.015663376078009605,
-0.05059671401977539,
0.004983009770512581,
-0.004547432065010071,
-0.05791442096233368,
0.07798584550619125,
-0.05568426102399826,
-0.011429560370743275,
-0.010793616995215416,
0.042442698031663895,
-0.018660152330994606,
-0.06627751141786575,
0.045439474284648895,
-0.00019015691941604018,
0.015541414730250835,
0.06910005956888199,
0.04077007994055748,
-0.021134233102202415,
-0.015402030199766159,
0.015532703138887882,
-0.027441399171948433,
-0.023956777527928352,
-0.008036409504711628,
0.006516243331134319,
0.05955219268798828,
0.046798475086688995,
0.008511189371347427,
0.0028791690710932016,
-0.015018722042441368,
-0.00816272757947445,
0.02052442543208599,
-0.03216306120157242,
0.11861653625965118,
-0.018607882782816887,
0.0066817631013691425,
0.021081963554024696,
-0.009626268409192562,
0.006995378993451595,
0.01815488189458847,
0.02043730951845646,
-0.04313962161540985,
-0.03204110264778137,
-0.030786637216806412,
-0.04205939173698425,
-0.036727916449308395,
0.05460403114557266,
-0.04937709495425224,
-0.025594549253582954,
0.030054867267608643,
0.011368580162525177,
0.012936660088598728,
-0.024531740695238113,
0.041571542620658875,
-0.0006277764914557338,
0.0037851708475500345,
0.04634547606110573,
-0.03148356080055237,
-0.014931606128811836,
0.029427634552121162,
-0.024566587060689926,
-0.027807286009192467,
0.03690214827656746,
-0.02702324464917183,
-0.017083359882235527,
-0.06272319704294205,
-0.035508301109075546,
0.06457004696130753,
0.02920113317668438,
0.03669307008385658,
0.05916888639330864,
0.07958877086639404,
0.015680799260735512,
-0.02634374424815178,
0.02488020248711109,
-0.023399237543344498,
-0.06080665811896324,
0.037982381880283356,
-0.01271015964448452,
0.0009065462509170175,
-0.048540785908699036,
0.02988063544034958,
0.05582364648580551,
-0.13234594464302063,
-0.02082061767578125,
-0.028399670496582985,
-0.010854598134756088,
0.0007905736565589905,
0.013415795750916004,
-0.00593256950378418,
0.016072819009423256,
-0.08195831626653671,
0.0027092937380075455,
0.012814697809517384,
-0.004634547512978315,
0.028103478252887726,
-0.014783510006964207,
0.054116182029247284,
-0.0044036912731826305,
0.006507531739771366,
0.02038503997027874,
-0.056625109165906906,
0.008088679052889347,
-0.019095730036497116,
-0.02751109190285206,
-0.013093467801809311,
-0.011002694256603718,
-0.03941107541322708,
-0.023399237543344498,
0.07192260026931763,
0.022005388513207436,
0.04077007994055748,
0.0259952824562788,
0.00234776409342885,
0.04216392710804939,
0.033678874373435974,
0.03331298753619194,
-0.012039369903504848,
0.035926453769207,
-0.030107134953141212,
0.0402822308242321,
0.029810942709445953,
-0.04857563227415085,
0.03040332905948162,
0.03665822371840477,
0.010297058150172234,
-0.052757181227207184,
-0.010323192924261093,
0.0658593624830246,
0.03651884198188782,
-0.015341049060225487,
-0.013903643004596233,
-0.02024565450847149,
0.013258987106382847,
0.011542811058461666,
-0.008406651206314564,
0.01850334368646145,
-0.013163160532712936,
-0.008328246884047985,
-0.03745969012379646,
-0.04251239076256752,
0.07004090398550034,
0.003767747664824128,
-0.10391143709421158,
-0.017510225996375084,
-0.04380170255899429,
0.03955046087503433,
0.012021946720778942,
-0.03693699464201927,
0.033574335277080536,
-0.051398176699876785,
-0.01239654328674078,
0.013546468690037727,
-0.05937796086072922,
0.012910525314509869,
0.018799535930156708,
0.022144773975014687,
-0.021778889000415802,
-0.016098953783512115,
-0.013529045507311821,
-0.013041198253631592,
-0.030490444973111153,
0.0263960137963295,
-0.007034581154584885,
0.030629828572273254,
-0.03326071798801422,
0.007322062272578478,
0.012361696921288967,
-0.0666956678032875,
0.017980650067329407,
0.032075949013233185,
-0.026709629222750664,
0.004756509326398373,
0.012701448053121567,
0.05167694762349129,
0.033191025257110596,
0.013537757098674774,
-0.021587233990430832,
0.02155238762497902,
0.019688114523887634,
0.03388795256614685,
0.04526524245738983,
0.026030126959085464,
0.015637241303920746,
-0.05540549382567406,
-0.05087548494338989,
-0.0019100084900856018,
0.06094604358077049,
-0.01888665184378624,
0.03552572429180145,
0.02193569764494896,
0.03528179973363876,
0.019339652732014656,
-0.008938055485486984,
0.02052442543208599,
-0.052513256669044495,
0.0038897094782441854,
-0.021238772198557854,
-0.05610241740942001,
-0.006564157083630562,
-0.035961300134658813,
-0.0008945678710006177,
0.12014977633953094,
0.04634547606110573,
-0.014835778623819351,
-0.003467199159786105,
0.029235979542136192,
-0.02958444319665432,
-0.035961300134658813,
0.0041031427681446075,
-0.025106703862547874,
0.03658853471279144,
-0.06882128864526749,
0.023834815248847008,
-0.010061847046017647,
0.013659719377756119,
-0.0715741366147995,
-0.009312652982771397,
-0.044359240680933,
-0.04651970788836479,
-0.048157479614019394,
0.03284256532788277,
0.02411358617246151,
0.0012740649981424212,
-0.06714867055416107,
-0.0740133747458458,
0.01755378395318985,
-0.0037612139713019133,
0.013502910733222961,
-0.047669630497694016,
0.007971073500812054,
0.008005919866263866,
0.021918274462223053,
0.013232853263616562,
-0.10572344064712524,
0.008319535292685032,
-0.09039109945297241,
0.0038744641933590174,
0.000730681698769331,
-0.009669826366007328,
-0.00560588575899601,
0.009216825477778912,
-0.06031880900263786,
0.008197573944926262,
0.006494464818388224,
-0.021534964442253113,
-0.024374932050704956,
-0.02057669498026371,
0.000952281930949539,
0.013250275515019894,
-0.016020551323890686,
-0.016560666263103485,
-0.03216306120157242,
0.06676536053419113,
0.040595848113298416,
-0.008389228023588657,
0.012562062591314316,
-0.02130846492946148,
-0.01363358460366726,
-0.026134666055440903,
-0.007182677276432514,
0.024270392954349518,
-0.0402822308242321,
0.004063940607011318,
-0.023678008466959,
0.02019338496029377,
0.06251411885023117,
0.055510032922029495,
0.02866101823747158,
0.006215694826096296,
-0.026709629222750664,
0.03458487614989281,
0.04488193243741989,
-0.018085189163684845,
-0.0008346759132109582,
0.015436876565217972,
-0.05303594842553139,
-0.026936128735542297,
0.0027659188490360975,
0.018869228661060333,
-0.008485054597258568,
-0.00010099959763465449,
0.03745969012379646,
0.0008831339655444026,
0.021569810807704926,
-0.014487316831946373,
-0.008916277438402176,
0.009042594581842422,
-0.026796745136380196,
-0.003486800007522106,
0.022440966218709946,
0.05206025391817093,
0.005858520977199078,
0.04920286685228348,
0.03056013584136963,
0.028678441420197487,
-0.09506049007177353,
0.0022519370540976524,
-0.023155314847826958,
-0.007435312494635582,
-0.0032232755329459906,
0.0514330230653286,
-0.01725759170949459,
-0.014609278179705143,
0.007696659304201603,
-0.02057669498026371,
0.03385310620069504,
-0.06429127603769302,
-0.018712421879172325,
0.016011839732527733,
-0.04920286685228348,
-0.020106270909309387,
-0.007448379881680012,
0.08293400704860687,
-0.032180484384298325,
-0.08237646520137787,
-0.0500740222632885,
-0.037982381880283356,
0.071852907538414,
-0.034689415246248245,
-0.02291139028966427,
-0.04756509140133858,
0.004691172856837511,
-0.019496461376547813,
-0.005976126994937658,
-0.02454916387796402,
-0.08704586327075958,
-0.09422418475151062,
0.028643595054745674,
-0.012204889208078384,
0.055997878313064575,
-0.02256292849779129,
0.08293400704860687,
-0.006542378105223179,
-0.014513451606035233,
0.024584010243415833,
0.010741348378360271,
-0.009826635010540485,
-0.013685853220522404,
-0.0075442069210112095,
-0.0004451060376595706,
-0.0416412353515625,
-0.059099193662405014,
-0.01534976065158844,
0.03819146007299423,
0.00797542929649353,
-0.02507185749709606,
-0.053523797541856766,
-0.07331644743680954,
-0.02691870741546154,
0.04073523357510567,
-0.0229985062032938,
-0.002959751058369875,
-0.06056273356080055,
-0.051781486719846725,
0.01196096558123827,
0.015402030199766159,
0.007387399207800627,
-0.022284159436821938,
0.0013720699353143573,
0.005675578489899635,
0.01196096558123827,
-0.018120035529136658,
-0.0077445730566978455,
0.0402822308242321,
-0.030525291338562965,
0.004669393878430128,
0.006559801287949085,
0.016839437186717987,
0.0021680884528905153,
-0.03543860837817192,
-0.012875678949058056,
-0.008789959363639355,
0.013128314167261124,
-0.01956615410745144,
0.011316310614347458,
-0.026204358786344528,
0.055997878313064575,
-0.0631413534283638,
0.04662424325942993,
-0.01692655310034752,
-0.03878384456038475,
0.008354381658136845,
-0.002009102376177907,
0.00753113953396678,
0.04275631532073021,
-0.04212908074259758,
-0.05554487928748131,
-0.07324676215648651,
0.019583577290177345,
-0.0370066873729229,
0.006555445492267609,
0.0015648131957277656,
0.04303508251905441,
0.08983355760574341,
-0.02223188988864422,
0.06143388897180557,
-0.04861047863960266,
0.0253157801926136,
0.02324243076145649,
-0.04819232597947121,
0.0016421282198280096,
0.06927429139614105,
-0.00888578686863184,
-0.08892755955457687,
-0.01723145693540573,
0.03575222194194794,
0.027911823242902756,
-0.011081098578870296,
0.07540722191333771,
0.026274051517248154,
-0.013407084159553051,
-0.048784710466861725,
-0.035856761038303375,
-0.017214033752679825,
-0.006694830488413572,
0.007997208274900913,
0.013076044619083405,
-0.002859567990526557,
-0.02972382679581642,
-0.04958617314696312,
-0.010497424751520157,
0.06554574519395828,
0.061224810779094696,
-0.02120392583310604,
-0.008624440059065819,
0.03514241427183151,
0.018137458711862564,
0.03965499997138977,
0.07087721675634384,
0.05216479301452637,
-0.020611539483070374,
-0.014086585491895676,
-0.043174467980861664,
-0.009138422086834908,
0.009277806617319584,
-0.05756595730781555,
-0.007705370895564556,
-0.00144067348446697,
-0.01692655310034752,
0.0007127141579985619,
0.030229097232222557,
0.062479276210069656,
0.026308897882699966,
0.0016149046132341027,
-0.003253765869885683,
0.09115771949291229,
-0.014060450717806816,
-0.010837174952030182,
0.08823063224554062,
0.03860961273312569,
-0.00888578686863184,
-0.010114115662872791,
-0.03171006217598915,
0.02463627979159355,
-0.029619289562106133,
-0.04247754439711571,
0.0459970124065876,
0.0033517710398882627,
0.013163160532712936,
-0.034166719764471054,
0.07735861092805862,
0.007426600903272629,
0.004569211043417454,
-0.013947200030088425,
0.01951388455927372,
0.034689415246248245,
0.047356016933918,
-0.009286518208682537,
-0.0061634257435798645,
-0.025594549253582954,
-0.022005388513207436,
0.0005172485834918916,
-0.06192173808813095,
0.05084063857793808,
0.018677575513720512,
-0.010331904515624046,
0.04178062081336975,
-0.05495249107480049,
-0.0027572072576731443,
0.02697097510099411,
0.022841699421405792,
0.005989194381982088,
-0.019444191828370094,
-0.0043056863360106945,
0.018329111859202385,
0.033975064754486084,
-0.04920286685228348,
0.029166288673877716,
0.01940934546291828,
-0.015767915174365044,
0.016856860369443893,
-0.007470158860087395,
-0.03860961273312569,
-0.016011839732527733,
0.005436010658740997,
-0.027005821466445923,
-0.03313875570893288,
-0.06652143597602844,
0.050387635827064514,
0.020419886335730553,
0.001644306117668748,
0.0002431068423902616,
0.09324848651885986,
0.006607715040445328,
-0.01570693403482437,
-0.05268748849630356,
0.09066987037658691,
0.0213607344776392,
0.036240071058273315,
0.062095966190099716,
0.007104273419827223,
-0.02362573891878128,
-0.06516243517398834,
0.09519987553358078,
0.015367183834314346,
-0.03707638010382652,
-0.026744475588202477,
-0.011002694256603718,
0.024827932938933372,
0.015994416549801826,
0.008101746439933777,
0.025646818801760674,
-0.027389129623770714,
0.040944311767816544,
0.02590816654264927,
0.05244356393814087,
0.0010181630495935678,
-0.06854251772165298,
-0.02958444319665432,
0.027824707329273224,
0.011002694256603718,
0.0375642254948616,
-0.006206983234733343,
0.012509793974459171,
0.040108002722263336,
0.005531837698072195,
-0.0010960225481539965,
-0.02231900580227375,
-0.043836548924446106,
-0.050387635827064514,
0.007984140887856483,
-0.04024738818407059,
-0.012936660088598728,
-0.006625137757509947,
-0.030333636328577995,
-0.023712854832410812,
0.054638877511024475,
0.003691521706059575,
-0.02832997776567936,
-0.01050613634288311,
-0.006089377216994762,
0.057112958282232285,
0.002789875725284219,
-0.038853537291288376,
0.007248014211654663,
0.057252343744039536,
0.023015929386019707,
0.016264474019408226,
0.03151840716600418,
-0.04488193243741989,
0.05397679656744003,
0.05181633308529854,
-0.022528082132339478,
0.05767049640417099,
-0.008929344825446606,
-0.01614251174032688,
-0.018137458711862564,
0.027859553694725037,
-0.029898058623075485,
0.02846936322748661,
0.01869499869644642,
0.008728978224098682,
0.016691340133547783,
-0.025333203375339508,
-0.026465706527233124,
0.03529922291636467,
0.021761465817689896,
-0.048157479614019394,
0.0005221488536335528,
0.008036409504711628,
-0.03732030466198921,
0.020297924056649208,
-0.0017684457125142217,
0.0027005821466445923,
-0.00008609466749476269,
-0.03301679715514183,
-0.018712421879172325,
-0.021900851279497147,
0.04969071224331856,
0.0326509103178978,
-0.010523558594286442,
-0.0032428766135126352,
0.05432526022195816,
0.014469893649220467,
-0.02416585572063923,
-0.01155152264982462,
0.008938055485486984,
-0.0093910563737154,
-0.06718351691961288,
0.03899292275309563,
0.013137025758624077,
0.021534964442253113,
0.0392020009458065,
-0.030804060399532318,
-0.0036392523907124996,
0.002550307894125581,
-0.006751455366611481,
-0.05718265101313591,
-0.022719737142324448,
-0.005161596462130547,
-0.04446377977728844,
0.017562495544552803,
0.05990065634250641,
-0.015428164973855019,
0.02420070208609104,
0.022458389401435852,
-0.011804157868027687,
0.01137729175388813,
0.010950425639748573,
0.06467458605766296,
0.01641257107257843,
-0.08154015988111496,
0.031640369445085526,
-0.019339652732014656,
0.0034802663139998913,
0.04620609059929848,
-0.002565553179010749,
0.03254637122154236,
0.003155760932713747,
0.00457356683909893,
0.00166499603074044,
0.07707984000444412,
0.0010568206198513508,
0.006720965262502432,
-0.008881431072950363,
0.0035608483012765646,
0.018921498209238052,
0.020419886335730553,
-0.019391922280192375,
-0.09457264840602875,
0.023521199822425842,
0.004318753723055124,
-0.010514847934246063,
-0.0010061846114695072,
-0.0011161681031808257,
0.0587855763733387,
0.004978653974831104,
-0.017780285328626633,
0.022719737142324448,
-0.011760599911212921,
-0.052896566689014435,
-0.014025604352355003,
-0.03742484375834465,
0.040212541818618774,
0.0136074498295784,
0.004682461265474558,
0.012091639451682568,
-0.028190594166517258,
-0.022981083020567894,
-0.010410308837890625,
0.044568318873643875,
-0.026413436979055405,
-0.005666866898536682,
0.022493235766887665,
0.03380083665251732,
0.03190171718597412,
0.04007315635681152,
-0.012196177616715431,
-0.0027310727164149284,
-0.007857822813093662,
-0.035560570657253265,
0.05404648929834366,
-0.007335129659622908,
0.011281464248895645,
-0.000758994254283607,
0.024531740695238113,
0.002528528915718198,
0.04819232597947121,
-0.06251411885023117,
-0.014156277291476727,
0.033818259835243225,
-0.00036615756107494235,
0.0010344971669837832,
0.014774798415601254,
-0.04585762694478035,
0.01103754062205553,
0.00047450754209421575,
-0.078404001891613,
0.03975953906774521,
0.010000865906476974,
-0.0034192856401205063,
0.010279635898768902,
-0.06268835067749023,
0.007052004337310791,
-0.00618520425632596,
0.04174577444791794,
0.046066705137491226,
-0.017754150554537773,
0.010201231576502323
]
|
43,850 | pdf2docx.converter | Converter | The ``PDF`` to ``docx`` converter.
* Read PDF file with ``PyMuPDF`` to get raw layout data page by page, including text,
image, drawing and its properties, e.g. boundary box, font, size, image width, height.
* Analyze layout in document level, e.g. page header, footer and margin.
* Parse page layout to docx structure, e.g. paragraph and its properties like indentation,
spacing, text alignment; table and its properties like border, shading, merging.
* Finally, generate docx with ``python-docx``.
| class Converter:
'''The ``PDF`` to ``docx`` converter.
* Read PDF file with ``PyMuPDF`` to get raw layout data page by page, including text,
image, drawing and its properties, e.g. boundary box, font, size, image width, height.
* Analyze layout in document level, e.g. page header, footer and margin.
* Parse page layout to docx structure, e.g. paragraph and its properties like indentation,
spacing, text alignment; table and its properties like border, shading, merging.
* Finally, generate docx with ``python-docx``.
'''
def __init__(
self, pdf_file: str = None, password: str = None, stream: bytes = None
):
'''Initialize fitz object with given pdf file path.
Args:
pdf_file (str): pdf file path.
stream (bytes): pdf file in memory.
password (str): Password for encrypted pdf. Default to None if not encrypted.
'''
# fitz object
self.filename_pdf = pdf_file
self.password = str(password or "")
if not pdf_file and not stream:
raise ValueError("Either pdf_file or stream must be given.")
if stream:
self._fitz_doc = fitz.Document(stream=stream)
else:
self._fitz_doc = fitz.Document(pdf_file)
# initialize empty pages container
self._pages = Pages()
@property
def fitz_doc(self): return self._fitz_doc
@property
def pages(self): return self._pages
def close(self): self._fitz_doc.close()
@property
def default_settings(self):
'''Default parsing parameters.'''
return {
'debug' : False, # plot layout if True
'ocr' : 0, # ocr status: 0 - no ocr; 1 - to do ocr; 2 - ocr-ed pdf
'ignore_page_error' : True, # not break the conversion process due to failure of a certain page if True
'multi_processing' : False, # convert pages with multi-processing if True
'cpu_count' : 0, # working cpu count when convert pages with multi-processing
'min_section_height' : 20.0, # The minimum height of a valid section.
'connected_border_tolerance' : 0.5, # two borders are intersected if the gap lower than this value
'max_border_width' : 6.0, # max border width
'min_border_clearance' : 2.0, # the minimum allowable clearance of two borders
'float_image_ignorable_gap' : 5.0, # float image if the intersection exceeds this value
'page_margin_factor_top' : 0.5, # [0,1] reduce top margin by factor
'page_margin_factor_bottom' : 0.5, # [0,1] reduce bottom margin by factor
'shape_min_dimension' : 2.0, # ignore shape if both width and height is lower than this value
'max_line_spacing_ratio' : 1.5, # maximum line spacing ratio: line spacing / line height
'line_overlap_threshold' : 0.9, # [0,1] delete line if the intersection to other lines exceeds this value
'line_break_width_ratio' : 0.5, # break line if the ratio of line width to entire layout bbox is lower than this value
'line_break_free_space_ratio' : 0.1, # break line if the ratio of free space to entire line exceeds this value
'line_separate_threshold' : 5.0, # two separate lines if the x-distance exceeds this value
'new_paragraph_free_space_ratio' : 0.85, # new paragraph if the ratio of free space to line height exceeds this value
'lines_left_aligned_threshold' : 1.0, # left aligned if d_x0 of two lines is lower than this value (Pt)
'lines_right_aligned_threshold' : 1.0, # right aligned if d_x1 of two lines is lower than this value (Pt)
'lines_center_aligned_threshold' : 2.0, # center aligned if delta center of two lines is lower than this value
'clip_image_res_ratio' : 4.0, # resolution ratio (to 72dpi) when clipping page image
'min_svg_gap_dx' : 15.0, # merge adjacent vector graphics if the horizontal gap is less than this value
'min_svg_gap_dy' : 2.0, # merge adjacent vector graphics if the vertical gap is less than this value
'min_svg_w' : 2.0, # ignore vector graphics if the bbox width is less than this value
'min_svg_h' : 2.0, # ignore vector graphics if the bbox height is less than this value
'extract_stream_table' : False, # don't consider stream table when extracting tables
'parse_lattice_table' : True, # whether parse lattice table or not; may destroy the layout if set False
'parse_stream_table' : True, # whether parse stream table or not; may destroy the layout if set False
'delete_end_line_hyphen' : False # delete hyphen at the end of a line
}
# -----------------------------------------------------------------------
# Parsing process: load -> analyze document -> parse pages -> make docx
# -----------------------------------------------------------------------
def parse(self, start:int=0, end:int=None, pages:list=None, **kwargs):
'''Parse pages in three steps:
* open PDF file with ``PyMuPDF``
* analyze whole document, e.g. page section, header/footer and margin
* parse specified pages, e.g. paragraph, image and table
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
kwargs (dict, optional): Configuration parameters.
'''
return self.load_pages(start, end, pages) \
.parse_document(**kwargs) \
.parse_pages(**kwargs)
def load_pages(self, start:int=0, end:int=None, pages:list=None):
'''Step 1 of converting process: open PDF file with ``PyMuPDF``,
especially for password encrypted file.
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
'''
logging.info(self._color_output('[1/4] Opening document...'))
# encrypted pdf ?
if self._fitz_doc.needs_pass:
if not self.password:
raise ConversionException(f'Require password for {self.filename_pdf}.')
elif not self._fitz_doc.authenticate(self.password):
raise ConversionException('Incorrect password.')
# initialize empty pages
num = len(self._fitz_doc)
self._pages.reset([Page(id=i, skip_parsing=True) for i in range(num)])
# set pages to parse
page_indexes = self._page_indexes(start, end, pages, num)
for i in page_indexes:
self._pages[i].skip_parsing = False
return self
def parse_document(self, **kwargs):
'''Step 2 of converting process: analyze whole document, e.g. page section,
header/footer and margin.'''
logging.info(self._color_output('[2/4] Analyzing document...'))
self._pages.parse(self.fitz_doc, **kwargs)
return self
def parse_pages(self, **kwargs):
'''Step 3 of converting process: parse pages, e.g. paragraph, image and table.'''
logging.info(self._color_output('[3/4] Parsing pages...'))
pages = [page for page in self._pages if not page.skip_parsing]
num_pages = len(pages)
for i, page in enumerate(pages, start=1):
pid = page.id + 1
logging.info('(%d/%d) Page %d', i | (pdf_file: str = None, password: str = None, stream: bytes = None) | [
0.024005703628063202,
-0.021772615611553192,
-0.04139189422130585,
0.005532876122742891,
0.025979595258831978,
-0.018642302602529526,
-0.008912417106330395,
0.015262763015925884,
-0.06850797683000565,
0.032020896673202515,
0.04270782321691513,
-0.0045808227732777596,
0.007930455729365349,
0.03525090217590332,
-0.06244673207402229,
-0.007556613069027662,
0.030565401539206505,
0.006091148592531681,
0.013548069633543491,
0.03475244343280792,
-0.016827918589115143,
-0.052557338029146194,
0.012979828752577305,
0.04426300898194313,
0.0017470929306000471,
-0.022330887615680695,
0.019061008468270302,
0.006205793470144272,
0.006355330813676119,
-0.04001615196466446,
-0.012281987816095352,
-0.011933067813515663,
0.018921440467238426,
0.010173513554036617,
0.010786616243422031,
-0.01691764034330845,
0.051680054515600204,
0.030385958030819893,
0.004264302086085081,
0.018572518602013588,
-0.030924292281270027,
0.026577744632959366,
0.020656071603298187,
-0.025600766763091087,
-0.03901923820376396,
0.03002706915140152,
-0.07074106484651566,
0.03748399019241333,
-0.08374083042144775,
0.040913376957178116,
0.008413959294557571,
-0.07074106484651566,
0.04852980375289917,
-0.012022790499031544,
-0.03634750843048096,
0.02897033840417862,
-0.02402564324438572,
0.0720171108841896,
0.017176838591694832,
-0.03941800445318222,
-0.019270360469818115,
0.027395213022828102,
0.020456688478589058,
0.011045814491808414,
0.032100651413202286,
0.03999621421098709,
0.043146464973688126,
-0.03846096619963646,
-0.03032614290714264,
0.04258819296956062,
-0.033556144684553146,
-0.024185148999094963,
0.013647761195898056,
0.005707336124032736,
0.004481131210923195,
0.017037270590662956,
-0.02663755975663662,
-0.011005937121808529,
0.01205269806087017,
0.013677668757736683,
0.01699739508330822,
0.05455116927623749,
0.007013294380158186,
-0.02645811438560486,
0.10774653404951096,
0.030744846910238266,
0.11277098208665848,
0.05219845101237297,
0.04661572724580765,
0.041112758219242096,
-0.009859485551714897,
0.01775505021214485,
0.036267753690481186,
-0.01466461457312107,
0.0024922864977270365,
-0.03393497318029404,
-0.016100171953439713,
-0.030066944658756256,
-0.04825066775083542,
-0.006779019255191088,
-0.037344422191381454,
0.03363589942455292,
-0.02809305489063263,
0.002651792950928211,
0.012391649186611176,
-0.024464285001158714,
-0.019469743594527245,
-0.011604086495935917,
0.04960647225379944,
0.002201935276389122,
-0.06240685656666756,
-0.05227820202708244,
0.012072635814547539,
-0.0038954438641667366,
-0.0037409220822155476,
-0.06176882982254028,
-0.07054167985916138,
-0.029269414022564888,
-0.03798244893550873,
0.006529790814965963,
-0.003100404515862465,
-0.04195016622543335,
-0.06719204783439636,
0.017844771966338158,
-0.046256840229034424,
-0.039178743958473206,
0.04976597800850868,
0.04310658946633339,
0.06926562637090683,
-0.014983627013862133,
-0.009091861546039581,
-0.019818663597106934,
0.0033097565174102783,
-0.032020896673202515,
-0.009500596672296524,
-0.060771916061639786,
-0.017176838591694832,
0.01216235850006342,
-0.10599195957183838,
0.04191029071807861,
0.03062521666288376,
-0.02954855002462864,
0.0021994428243488073,
-0.007352245505899191,
-0.03080466203391552,
0.06057253107428551,
0.01699739508330822,
-0.032120589166879654,
-0.09626207500696182,
0.02422502636909485,
-0.005742228124290705,
-0.020247336477041245,
0.025999533012509346,
-0.03401472792029381,
0.025800149887800217,
-0.016130078583955765,
0.01898125372827053,
-0.014973658137023449,
-0.0009414612432010472,
0.04051461070775986,
0.046336591243743896,
-0.007162831723690033,
0.014525046572089195,
0.02907003089785576,
0.010238313116133213,
0.03846096619963646,
0.0033072642982006073,
-0.04968622326850891,
0.024364594370126724,
0.010836461558938026,
0.054949935525655746,
0.05275672301650047,
-0.09450750797986984,
-0.0018866609316319227,
-0.011255166493356228,
0.05869833379983902,
0.04984573274850845,
0.04175078496336937,
-0.01466461457312107,
0.05590697377920151,
-0.005891765467822552,
0.011594116687774658,
-0.02954855002462864,
0.03712509945034981,
0.01727653108537197,
0.04753288999199867,
-0.013408501632511616,
0.035968679934740067,
0.015561837702989578,
-0.06244673207402229,
-0.021174466237425804,
-0.00046730373287573457,
0.02681700326502323,
-0.012650846503674984,
-0.011165443807840347,
0.02829243801534176,
-0.025879904627799988,
-0.021473541855812073,
0.018911469727754593,
0.005582721903920174,
-0.01505341101437807,
-0.01035794336348772,
0.025221940129995346,
-0.02219131961464882,
-0.06340377032756805,
-0.014993595890700817,
-0.04027535021305084,
0.023028727620840073,
-0.056624751538038254,
0.053992897272109985,
0.016827918589115143,
-0.06862760335206985,
-0.013478285633027554,
-0.016758134588599205,
0.03138287365436554,
-0.04049467295408249,
0.015950633212924004,
0.025321630761027336,
-0.03373559191823006,
0.01414621900767088,
0.02721576951444149,
0.056425366550683975,
0.0016249708132818341,
-0.06607550382614136,
0.024085456505417824,
-0.009690009988844395,
0.07895563542842865,
-0.011823407374322414,
0.020755762234330177,
-0.040235474705696106,
0.03301781415939331,
-0.06675340235233307,
-0.023188233375549316,
0.07293427735567093,
0.06471969932317734,
-0.07835748791694641,
0.0021022437140345573,
0.016688350588083267,
0.006978402379900217,
-0.012521247379481792,
0.04410350322723389,
0.008822694420814514,
0.012002851814031601,
0.029688118025660515,
-0.05028437450528145,
0.04912795126438141,
0.03993640094995499,
-0.02924947440624237,
-0.02916972152888775,
0.005428200121968985,
-0.01577118970453739,
-0.07038217037916183,
-0.044422514736652374,
-0.00033458948018960655,
0.013159273192286491,
0.008668173104524612,
-0.06404179334640503,
-0.0294488575309515,
0.02974793314933777,
0.007890579290688038,
0.02721576951444149,
-0.05239783227443695,
-0.0268369410187006,
0.04298695921897888,
0.0552290715277195,
-0.02392595075070858,
0.014176125638186932,
-0.008802755735814571,
-0.03437361493706703,
0.02151341736316681,
0.055548083037137985,
0.04358510673046112,
-0.040833622217178345,
0.034832198172807693,
0.012232142500579357,
-0.0074918135069310665,
0.011783530935645103,
0.006096133030951023,
-0.010033945553004742,
0.057103268802165985,
0.05383339151740074,
-0.03543034568428993,
0.0009221460204571486,
0.018562549725174904,
0.040255412459373474,
-0.01853264309465885,
-0.0631246343255043,
0.0004458077601157129,
-0.0025122249498963356,
-0.05383339151740074,
-0.03574935719370842,
0.04394399747252464,
0.029289351776242256,
-0.04103300720453262,
-0.02131403423845768,
-0.00025452475529164076,
-0.01574128121137619,
-0.09059960395097733,
-0.06208784133195877,
-0.05698363855481148,
0.005557799246162176,
0.03261904790997505,
0.10926184058189392,
0.01059720292687416,
-0.04366486147046089,
0.03291812166571617,
-0.005637552123516798,
-0.010018992237746716,
0.0728943943977356,
-0.03401472792029381,
0.007880610413849354,
-0.01676810346543789,
0.03293805941939354,
0.07373180240392685,
-0.07321341335773468,
-0.012890106067061424,
0.05335487052798271,
0.029887501150369644,
0.02051650360226631,
0.0370054692029953,
-0.06272587180137634,
0.03634750843048096,
0.018761932849884033,
-0.023108480498194695,
0.07117970287799835,
-0.03407454118132591,
0.021732738241553307,
-0.0007508013513870537,
0.0008068777970038354,
0.021533355116844177,
-0.028591511771082878,
0.058179937303066254,
-0.01936008222401142,
0.04171090945601463,
-0.022231196984648705,
-0.03543034568428993,
-0.013438409194350243,
-0.04282745346426964,
0.013956804759800434,
-0.0692257508635521,
0.026677435263991356,
0.01762545108795166,
-0.04009590670466423,
-0.0305055882781744,
0.010637079365551472,
-0.04438263922929764,
-0.011215289123356342,
-0.03222028166055679,
0.028611449524760246,
-0.03204083442687988,
-0.011923098936676979,
0.03519108518958092,
-0.011265135370194912,
0.024843111634254456,
-0.01477427501231432,
-0.06113080307841301,
-0.026896756142377853,
-0.0401756577193737,
0.01592072658240795,
-0.02296891249716282,
-0.005946595687419176,
0.04561881348490715,
-0.08996157348155975,
-0.0009445766336284578,
0.011873253621160984,
-0.03499170392751694,
-0.009186568669974804,
0.01626964658498764,
0.03475244343280792,
0.01569143682718277,
0.05327511951327324,
-0.020695947110652924,
-0.02849181927740574,
-0.05124141275882721,
0.026198916137218475,
0.001521540922112763,
-0.031522441655397415,
0.050404004752635956,
-0.055627837777137756,
-0.006220747251063585,
0.02111465111374855,
0.059615496546030045,
-0.002756468951702118,
0.0495665967464447,
-0.046934742480516434,
-0.10032948851585388,
-0.017316406592726707,
0.0027365307323634624,
0.03204083442687988,
-0.002818776061758399,
0.021633047610521317,
0.02548113837838173,
0.034353677183389664,
0.028631387278437614,
0.05746215954422951,
-0.02239070273935795,
-0.0012934966944158077,
0.04880893975496292,
-0.024364594370126724,
-0.02615904062986374,
0.040255412459373474,
-0.0126408776268363,
-0.03766343370079994,
0.03768337145447731,
-0.022809406742453575,
-0.010248281992971897,
0.06806933134794235,
0.009047000668942928,
0.020656071603298187,
0.08804749697446823,
0.0006685558473691344,
-0.047014493495225906,
-0.03515120968222618,
0.014495139010250568,
-0.06388229131698608,
0.008822694420814514,
0.0006797711830586195,
0.012660815380513668,
-0.0213937871158123,
-0.01729646883904934,
0.01566152833402157,
0.06392216682434082,
0.029987191781401634,
0.049925483763217926,
-0.001516556367278099,
-0.038321398198604584,
-0.026278669014573097,
-0.019868507981300354,
-0.005797058343887329,
0.009540473110973835,
0.0013645269209519029,
-0.012361741624772549,
-0.04358510673046112,
-0.05339474603533745,
-0.01283029094338417,
-0.004177072085440159,
-0.03838121145963669,
0.009540473110973835,
-0.014225971885025501,
0.009919300675392151,
0.051759809255599976,
-0.03804226219654083,
0.036068372428417206,
0.017655357718467712,
0.04298695921897888,
0.013159273192286491,
-0.048011407256126404,
-0.014066465198993683,
-0.09331120550632477,
-0.004356516990810633,
0.03341657668352127,
0.054192278534173965,
0.017585573717951775,
-0.04234893247485161,
-0.017087116837501526,
-0.03876003995537758,
0.029907438904047012,
-0.03973701596260071,
0.008154761977493763,
0.05762166529893875,
0.03323713317513466,
0.034832198172807693,
0.025720397010445595,
0.036088310182094574,
-0.026278669014573097,
-0.012222173623740673,
-0.018572518602013588,
0.0206161942332983,
-0.03519108518958092,
-0.005951580125838518,
0.0010747986380010843,
-0.05315548926591873,
-0.01389698963612318,
-0.029209598898887634,
0.012272018939256668,
0.014465231448411942,
-0.01414621900767088,
-0.035310715436935425,
-0.0011327442480251193,
-0.042269181460142136,
0.008982201106846333,
-0.033356763422489166,
0.02003798447549343,
-0.0015913249226287007,
-0.04514029249548912,
0.0017333852592855692,
0.03808213770389557,
-0.02721576951444149,
-0.01656872034072876,
-0.025999533012509346,
-0.023307863622903824,
0.06416142731904984,
-0.0009277536883018911,
-0.023746507242321968,
0.007247569505125284,
0.01970900222659111,
-0.0034194171894341707,
0.050324250012636185,
0.0014442800311371684,
-0.09650133550167084,
0.016628535464406013,
-0.010846431367099285,
0.0086133424192667,
0.0007383399060927331,
0.055348701775074005,
0.009321151301264763,
-0.01516307145357132,
0.02249039337038994,
-0.02053644135594368,
-0.031223366037011147,
-0.0652380958199501,
-0.04805128648877144,
-0.001138351857662201,
-0.0013283886946737766,
-0.02073582448065281,
0.011863283812999725,
-0.01970900222659111,
-0.02129409648478031,
0.01775505021214485,
-0.030246390029788017,
0.0009458227432332933,
0.0066444361582398415,
-0.016538813710212708,
-0.08286354690790176,
0.015242824330925941,
0.06882698833942413,
-0.04099312797188759,
-0.01714693196117878,
0.05570758879184723,
-0.05411252751946449,
0.0001398795866407454,
-0.014216003008186817,
0.05606647953391075,
-0.015173040330410004,
0.025600766763091087,
-0.018084030598402023,
-0.025421323254704475,
-0.07333303987979889,
0.02809305489063263,
0.0052088787779212,
0.011155474931001663,
0.035410407930612564,
-0.0645601898431778,
-0.04984573274850845,
0.06663377583026886,
0.02440446987748146,
0.06826871633529663,
-0.0032374802976846695,
0.03461287543177605,
0.023088542744517326,
0.013797298073768616,
-0.006529790814965963,
0.046057455241680145,
0.026517929509282112,
0.022151442244648933,
0.0656767338514328,
0.011085690930485725,
-0.02354712411761284,
0.048689309507608414,
-0.02101496048271656,
-0.02286922186613083,
-0.027734164148569107,
-0.04908807575702667,
-0.05291622877120972,
-0.028033239766955376,
0.023287925869226456,
-0.000008508822247677017,
-0.01118538249284029,
-0.017505820840597153,
0.003157727187499404,
0.047692395746707916,
0.036267753690481186,
-0.025700459256768227,
-0.027455028146505356,
0.01931023597717285,
0.0020137676037847996,
-0.038301460444927216,
0.0390591137111187,
0.002274211496114731,
-0.023088542744517326,
0.04649609699845314,
0.006484929472208023,
0.04466177523136139,
-0.05052363499999046,
0.03708522394299507,
-0.029389042407274246,
0.018961315974593163,
-0.019948260858654976,
0.047692395746707916,
-0.041511524468660355,
-0.05877808481454849,
-0.03969714045524597,
-0.0026468082796782255,
-0.047213878482580185,
-0.031522441655397415,
0.05315548926591873,
0.05383339151740074,
-0.01790458709001541,
-0.017416099086403847,
-0.0667932778596878,
-0.017186807468533516,
0.0772409439086914,
-0.06208784133195877,
0.002532163169234991,
0.011823407374322414,
0.035011641681194305,
0.031063860282301903,
0.007427013944834471,
0.044701650738716125,
-0.007661289069801569,
0.006121055688709021,
-0.004825066775083542,
-0.03814195469021797,
-0.031801577657461166,
-0.06763068586587906,
-0.02342749387025833,
-0.046735357493162155,
-0.011265135370194912,
0.003793260082602501,
0.009196537546813488,
-0.018293382599949837,
0.023686692118644714,
-0.005433184560388327,
0.011354858055710793,
-0.010437696240842342,
-0.01365773007273674,
0.02460385300219059,
-0.03301781415939331,
0.038321398198604584,
0.04657585173845291,
0.040833622217178345,
0.0011377288028597832,
0.04494091123342514,
-0.010347973555326462,
0.03951769694685936,
0.06276574730873108,
-0.02229101024568081,
-0.008867555297911167,
0.00881272554397583,
0.06296512484550476,
0.03836127370595932,
-0.031522441655397415,
-0.011653931811451912,
-0.03170188516378403,
0.0003088877710979432,
0.015292670577764511,
0.03417423367500305,
-0.04027535021305084,
0.09418849647045135,
0.01306955050677061,
-0.014036557637155056,
0.045858073979616165,
-0.018323291093111038,
-0.06416142731904984,
-0.07165822386741638,
0.03168194741010666,
-0.016239739954471588,
-0.015372423455119133,
0.017027301713824272,
0.03281842917203903,
0.0032474494073539972,
-0.03379540517926216,
-0.00888749398291111,
-0.024384532123804092,
0.016558751463890076,
-0.01346831675618887,
0.04390412196516991,
0.027953486889600754,
-0.026577744632959366,
0.010093760676681995,
-0.0051241409964859486,
0.04238881170749664,
0.03078472428023815,
-0.051879435777664185,
0.012929982505738735,
0.00399264320731163,
0.02432471700012684,
-0.016827918589115143,
0.03216046467423439,
0.008239499293267727,
-0.003232495626434684,
0.07859674841165543,
-0.044223133474588394,
0.03710516169667244,
-0.03553003817796707,
0.011354858055710793,
0.0318414531648159,
-0.04270782321691513,
-0.03634750843048096,
0.013089489191770554,
-0.03062521666288376,
0.05463092029094696,
0.04466177523136139,
-0.041990045458078384,
0.02051650360226631,
-0.018991224467754364,
-0.020197490230202675,
-0.03098410740494728,
-0.009610257111489773,
-0.04250843822956085,
0.043066710233688354,
-0.05259721726179123,
0.01259103137999773,
0.042468562722206116,
-0.047692395746707916,
-0.0003031243395525962,
-0.04753288999199867,
0.01840304397046566,
-0.037523865699768066,
-0.0017333852592855692,
0.03537053242325783,
0.03357608616352081,
0.026896756142377853,
-0.008817709982395172,
0.00007247101893881336,
0.024962741881608963,
-0.0027764071710407734,
0.08150774240493774,
0.0027340382803231478,
-0.05124141275882721,
-0.004825066775083542,
0.013627822510898113,
0.029229536652565002,
-0.017914555966854095,
-0.014345601201057434,
0.04318634048104286,
-0.04685498774051666,
-0.050045114010572433,
0.007098032161593437,
-0.04637646675109863,
0.03535059094429016,
0.03670639544725418,
-0.03720485419034958,
0.011733685620129108,
-0.03437361493706703,
-0.04302683472633362,
0.03834133595228195,
-0.013607884757220745,
-0.05570758879184723,
-0.04143177345395088,
-0.018044155091047287,
-0.015422269701957703,
-0.08661194145679474,
0.012670785188674927,
-0.015362454578280449,
0.02354712411761284,
0.0396173857152462,
0.012341802939772606,
-0.03313744068145752,
0.027435090392827988,
0.028751017525792122,
-0.008413959294557571,
-0.015083318576216698,
0.034234046936035156,
-0.005891765467822552,
0.03174176067113876,
0.057103268802165985,
0.0208355151116848,
-0.0021844892762601376,
-0.02179255336523056,
-0.004436269868165255,
-0.032000958919525146,
-0.043345846235752106,
0.06081179156899452,
0.08342181891202927,
0.04805128648877144,
0.0010324297472834587,
0.04565868899226189
]
|
43,851 | pdf2docx.converter | __init__ | Initialize fitz object with given pdf file path.
Args:
pdf_file (str): pdf file path.
stream (bytes): pdf file in memory.
password (str): Password for encrypted pdf. Default to None if not encrypted.
| def __init__(
self, pdf_file: str = None, password: str = None, stream: bytes = None
):
'''Initialize fitz object with given pdf file path.
Args:
pdf_file (str): pdf file path.
stream (bytes): pdf file in memory.
password (str): Password for encrypted pdf. Default to None if not encrypted.
'''
# fitz object
self.filename_pdf = pdf_file
self.password = str(password or "")
if not pdf_file and not stream:
raise ValueError("Either pdf_file or stream must be given.")
if stream:
self._fitz_doc = fitz.Document(stream=stream)
else:
self._fitz_doc = fitz.Document(pdf_file)
# initialize empty pages container
self._pages = Pages()
| (self, pdf_file: Optional[str] = None, password: Optional[str] = None, stream: Optional[bytes] = None) | [
0.0481492318212986,
0.011601044796407223,
-0.005346452351659536,
-0.004723219200968742,
-0.0077058360911905766,
-0.0019342494197189808,
-0.01625748910009861,
0.027137363329529762,
-0.048006780445575714,
0.06064951419830322,
0.06762973219156265,
0.032657429575920105,
-0.0490751788020134,
0.03196297213435173,
-0.031838323920965195,
-0.014191915281116962,
0.01144078467041254,
0.0036882064305245876,
-0.02079818956553936,
0.020602315664291382,
-0.0111291678622365,
0.016453363001346588,
0.0008358005434274673,
0.06666816771030426,
-0.03985132649540901,
-0.013230355456471443,
-0.013969331979751587,
-0.011387364938855171,
0.011049037799239159,
-0.008609524928033352,
0.03130412474274635,
0.002590870251879096,
-0.010229931212961674,
0.059723567217588425,
0.030769923701882362,
0.01125381514430046,
0.05947427451610565,
0.020869415253400803,
-0.07464555650949478,
0.02279253676533699,
0.005796070676296949,
0.053989820182323456,
-0.016578009352087975,
-0.014619274996221066,
-0.017183436080813408,
0.0672023668885231,
-0.013061191886663437,
0.026193609461188316,
-0.05847709998488426,
0.05730186030268669,
-0.012153051793575287,
0.00035641161957755685,
0.0563402995467186,
-0.06214527413249016,
0.0016994239995256066,
0.03924589976668358,
-0.0037438522558659315,
0.052102312445640564,
0.0033565571065992117,
0.0013811297249048948,
-0.019284622743725777,
-0.015144571661949158,
0.03550649806857109,
-0.028935836628079414,
-0.005226257257163525,
0.028312603011727333,
0.019035330042243004,
-0.020726962015032768,
0.008418102748692036,
0.02797427773475647,
0.0168094951659441,
-0.008747526444494724,
-0.043733179569244385,
0.017085498198866844,
0.027012716978788376,
0.0436263382434845,
-0.04839852824807167,
0.012072921730577946,
-0.016800591722130775,
0.010318964719772339,
0.027279816567897797,
-0.009197144769132137,
-0.012660541571676731,
-0.006917891092598438,
0.04013623297214508,
0.04512209817767143,
0.12735329568386078,
-0.01172569114714861,
0.06488750129938126,
0.08796494454145432,
-0.036931030452251434,
0.003129522083327174,
0.03322724625468254,
-0.03703787177801132,
0.04131147265434265,
-0.026727810502052307,
-0.011066844686865807,
0.007144926115870476,
-0.04497964680194855,
0.01989004947245121,
-0.005497809033840895,
0.018465515226125717,
0.018857263028621674,
0.01765531301498413,
-0.03645025193691254,
-0.015473995357751846,
-0.00021409736655186862,
-0.03287111222743988,
0.042273033410310745,
0.028045503422617912,
-0.04052797704935074,
0.002989294473081827,
0.01665813848376274,
0.03604069724678993,
-0.028027696534991264,
-0.028918029740452766,
-0.01960514299571514,
-0.028312603011727333,
-0.05402543395757675,
-0.01553631853312254,
0.009998444467782974,
0.008435909636318684,
-0.05185301974415779,
0.027849631384015083,
-0.008084227330982685,
-0.018287450075149536,
0.0353996567428112,
-0.03552430495619774,
0.05242283269762993,
0.03206980973482132,
0.04875465855002403,
0.00653504766523838,
-0.019373655319213867,
-0.014503532089293003,
-0.01924900896847248,
-0.05933182314038277,
0.05249406024813652,
-0.0032207812182605267,
-0.09216731786727905,
0.05701695382595062,
-0.0067976959981024265,
-0.0008797607733868062,
0.0022536565084010363,
-0.026674389839172363,
-0.012509184889495373,
0.09515883773565292,
0.012660541571676731,
-0.04042113944888115,
-0.04978744685649872,
0.0006594032165594399,
0.020085923373699188,
-0.01792241260409355,
0.041453924030065536,
0.01585683971643448,
0.007002472411841154,
-0.0227213092148304,
-0.004607475828379393,
-0.005756005644798279,
0.032906726002693176,
0.05349123477935791,
0.04099095240235329,
0.038747310638427734,
-0.05114075541496277,
0.008084227330982685,
-0.018910681828856468,
0.000011137863111798652,
-0.041204631328582764,
-0.03463397175073624,
0.023754095658659935,
0.014111785218119621,
0.01462817844003439,
-0.003501236205920577,
-0.08468852192163467,
0.014058365486562252,
0.06193159520626068,
0.014797342009842396,
0.04658224806189537,
0.05156811326742172,
0.007460994180291891,
-0.005293032620102167,
-0.018590163439512253,
0.01933804340660572,
0.005208450835198164,
0.03778575360774994,
0.02651412971317768,
0.043448273092508316,
-0.009348501451313496,
0.06563538312911987,
0.02932758443057537,
-0.057444315403699875,
-0.04497964680194855,
0.04002939164638519,
0.009891605004668236,
-0.019943470135331154,
0.008516039699316025,
0.007091505918651819,
0.013550874777138233,
-0.059723567217588425,
-0.030395984649658203,
0.03488326445221901,
-0.02777840383350849,
0.0299864299595356,
0.01517128199338913,
-0.05548558011651039,
-0.06250140815973282,
0.04839852824807167,
-0.01234892476350069,
0.050357259809970856,
-0.07478801161050797,
0.053170714527368546,
0.01694304496049881,
-0.05320632830262184,
-0.024234876036643982,
-0.011565431952476501,
0.017414921894669533,
-0.035381849855184555,
-0.008943399414420128,
-0.001500211888924241,
0.02679903618991375,
0.024840302765369415,
0.07030072808265686,
0.03449151664972305,
-0.010256641544401646,
-0.03703787177801132,
-0.012420151382684708,
0.014485725201666355,
0.10413339734077454,
-0.023932162672281265,
-0.04586998000741005,
-0.040741659700870514,
-0.003884079633280635,
-0.031037025153636932,
-0.001196385594084859,
0.04113340377807617,
0.06314244866371155,
-0.06203843653202057,
-0.0035301721654832363,
0.012553702108561993,
-0.05114075541496277,
-0.044089313596487045,
0.07197455316781998,
-0.021385809406638145,
0.017414921894669533,
0.021866589784622192,
-0.042629167437553406,
0.04562068730592728,
-0.007523317821323872,
0.004393795505166054,
-0.029648104682564735,
-0.04170322045683861,
-0.011236008256673813,
-0.04220180585980415,
-0.0444810576736927,
-0.034918878227472305,
0.015313735231757164,
-0.04099095240235329,
-0.014503532089293003,
-0.015518512576818466,
0.051461271941661835,
0.028223570436239243,
-0.038462404161691666,
-0.07870547473430634,
-0.01933804340660572,
0.03060966357588768,
0.05502260848879814,
-0.00740312272682786,
-0.021866589784622192,
-0.022311756387352943,
0.002664322964847088,
0.025641603395342827,
0.07970265299081802,
-0.007331896107643843,
0.018483322113752365,
0.026318257674574852,
0.01725466176867485,
-0.03960203379392624,
0.022098075598478317,
0.017592988908290863,
0.005938523914664984,
0.039744485169649124,
0.07678236067295074,
-0.04761503264307976,
0.011298331432044506,
0.02042424865067005,
0.04152515158057213,
-0.009927217848598957,
-0.020762575790286064,
0.06282193213701248,
-0.0034923329949378967,
-0.06481627374887466,
-0.018910681828856468,
0.05740870162844658,
-0.024501977488398552,
-0.061254940927028656,
-0.010390191338956356,
-0.004852317273616791,
-0.04968060553073883,
-0.06396155804395676,
-0.02651412971317768,
-0.035559918731451035,
-0.0036726254038512707,
0.011351751163601875,
0.10498812049627304,
0.022845955565571785,
-0.040634818375110626,
-0.0019253460923209786,
-0.027190783992409706,
0.016399942338466644,
0.046368565410375595,
-0.017815573140978813,
0.057551153004169464,
0.04052797704935074,
0.009036884643137455,
0.051710568368434906,
-0.0636410340666771,
0.047721873968839645,
0.03151780366897583,
0.033387504518032074,
-0.0231486689299345,
0.0399937778711319,
-0.027849631384015083,
0.03614753857254982,
0.024128036573529243,
-0.05847709998488426,
0.03839118033647537,
0.0043314723297953606,
0.037572070956230164,
-0.010497031733393669,
-0.019765403121709824,
0.07140474021434784,
-0.0381418839097023,
0.07314980030059814,
0.018269643187522888,
0.01999688893556595,
-0.05131882056593895,
0.04661785811185837,
-0.028864610940217972,
-0.027849631384015083,
-0.016186261549592018,
-0.07254437357187271,
0.01585683971643448,
-0.04839852824807167,
-0.04978744685649872,
-0.03956642001867294,
-0.025107404217123985,
-0.03390389680862427,
-0.06285753846168518,
-0.05648275464773178,
0.029915204271674156,
-0.03735839203000069,
-0.02161729708313942,
0.019320236518979073,
0.037465233355760574,
0.027671564370393753,
-0.007385315839201212,
-0.027760596945881844,
-0.027814017608761787,
0.00780822429805994,
-0.015384961850941181,
-0.005738199222832918,
0.016871819272637367,
0.049823060631752014,
-0.1126805990934372,
-0.015714384615421295,
-0.010194318369030952,
-0.017575182020664215,
0.0005731521523557603,
0.015162378549575806,
0.01275847852230072,
0.028223570436239243,
0.05228038132190704,
-0.025926509872078896,
-0.051995474845170975,
0.0033943962771445513,
0.05455963313579559,
-0.021581683307886124,
-0.020869415253400803,
0.02070915699005127,
-0.018323061987757683,
0.01034567505121231,
-0.013595391996204853,
0.022222723811864853,
0.024751270189881325,
0.02489372342824936,
-0.05822780728340149,
-0.054986994713544846,
-0.056732047349214554,
0.02243640273809433,
0.10285132378339767,
0.02053108997642994,
0.01869700290262699,
-0.011200394481420517,
0.052529674023389816,
-0.003768336260691285,
0.062358956784009933,
0.008640686050057411,
-0.009428631514310837,
0.03354776278138161,
-0.022739116102457047,
0.008662944659590721,
0.03233690932393074,
-0.025944316759705544,
-0.06709552556276321,
0.0349901057779789,
0.01380016840994358,
-0.021688522771000862,
0.061361782252788544,
-0.034206610172986984,
0.034723006188869476,
0.040171846747398376,
0.03703787177801132,
-0.07692480832338333,
-0.013702231459319592,
-0.025926509872078896,
-0.022187110036611557,
-0.002189107472077012,
-0.002971487818285823,
-0.03477642312645912,
-0.014735018834471703,
0.001525808940641582,
0.04594120755791664,
0.05370491370558739,
-0.033280663192272186,
0.009686827659606934,
0.027030523866415024,
-0.011796918697655201,
-0.028633123263716698,
-0.030823344364762306,
0.06930355727672577,
0.010096381418406963,
-0.01607942208647728,
0.028312603011727333,
-0.01203730795532465,
-0.0353996567428112,
0.0009548826492391527,
0.010149801149964333,
-0.05021480843424797,
0.03536404296755791,
-0.0481136180460453,
0.05010796710848808,
0.06381910294294357,
-0.04494403302669525,
0.0199790820479393,
0.04832730069756508,
0.007567834574729204,
0.05374052748084068,
-0.0032319105230271816,
0.00013925372331868857,
-0.015652062371373177,
0.00017291944823227823,
0.03831995278596878,
-0.018999716266989708,
-0.01071071159094572,
-0.017619699239730835,
-0.003979790490120649,
-0.016159553080797195,
0.015144571661949158,
-0.04334143176674843,
-0.013497455045580864,
0.0844748392701149,
0.0035279463045299053,
0.03169587254524231,
0.0276893712580204,
-0.03217665106058121,
-0.07884792983531952,
0.0045006354339420795,
0.00004740330041386187,
0.059723567217588425,
0.024911530315876007,
-0.03849801793694496,
0.005119417328387499,
-0.006775437388569117,
-0.04334143176674843,
-0.030271338298916817,
0.004727670457214117,
0.020815996453166008,
0.01615064963698387,
-0.036824192851781845,
-0.00417566392570734,
-0.010212124325335026,
-0.020459862425923347,
-0.028561897575855255,
0.03949519246816635,
-0.004647540859878063,
-0.03215884417295456,
-0.057159408926963806,
-0.008863269351422787,
-0.0019042006460949779,
0.05256528779864311,
0.017441632226109505,
0.013978235423564911,
0.08511587977409363,
-0.04704521968960762,
0.013809071853756905,
-0.012865317985415459,
0.052707739174366,
0.009170434437692165,
0.04861220717430115,
-0.04116901755332947,
-0.05787167325615883,
-0.026656582951545715,
-0.003327621379867196,
0.00467870244756341,
-0.03807066008448601,
0.015999292954802513,
-0.005729295779019594,
-0.0331382118165493,
-0.01944488286972046,
0.02281034365296364,
0.020388636738061905,
-0.0074209291487932205,
-0.046083658933639526,
-0.027938663959503174,
-0.016533492133021355,
-0.03470519930124283,
0.05918936803936958,
-0.04530016705393791,
-0.02498275600373745,
-0.00803971104323864,
-0.00022425274073611945,
0.0436263382434845,
0.022400788962841034,
0.025641603395342827,
-0.06438891589641571,
0.03230129927396774,
-0.002704387763515115,
0.011796918697655201,
-0.05007235333323479,
0.05819219350814819,
-0.020192762836813927,
0.001848554820753634,
-0.053455621004104614,
-0.004491732455790043,
-0.027475690469145775,
0.02108309604227543,
0.016578009352087975,
-0.050998300313949585,
-0.07126229256391525,
0.0045139905996620655,
-0.054808925837278366,
-0.009971735067665577,
-0.007741449400782585,
-0.028561897575855255,
-0.05502260848879814,
0.062074050307273865,
-0.030395984649658203,
0.015420575626194477,
-0.04152515158057213,
0.08119840919971466,
0.009740248322486877,
0.01298996526747942,
-0.0699089840054512,
0.03750084340572357,
-0.027012716978788376,
-0.016604719683527946,
0.06677500903606415,
-0.019284622743725777,
-0.0149932149797678,
0.007416477892547846,
-0.03263962268829346,
-0.005960782524198294,
0.008110937662422657,
-0.004387117922306061,
-0.013969331979751587,
-0.012927642092108727,
-0.04216619208455086,
0.02859751135110855,
-0.024199264124035835,
-0.017904605716466904,
0.0006399271660484374,
0.027493497356772423,
0.05413227528333664,
-0.0372515507042408,
0.07478801161050797,
0.0245375894010067,
-0.008413651026785374,
-0.011609948240220547,
0.0508558452129364,
0.025570377707481384,
-0.02051328308880329,
0.024199264124035835,
-0.00637923926115036,
-0.02906048484146595,
-0.04690276458859444,
-0.006944600958377123,
-0.00990050844848156,
0.005689230747520924,
-0.015438382513821125,
-0.01674717292189598,
-0.03639683127403259,
-0.029470037668943405,
-0.06962407380342484,
-0.03198077902197838,
-0.03189174458384514,
-0.01880384236574173,
0.022400788962841034,
0.03388608992099762,
-0.06385471671819687,
-0.015821225941181183,
-0.01585683971643448,
-0.03253278508782387,
0.09409043937921524,
-0.06342735886573792,
-0.018234029412269592,
0.03342311829328537,
0.024947144091129303,
-0.014797342009842396,
0.030004236847162247,
-0.010550451464951038,
0.0068065994419157505,
0.008159905672073364,
0.02777840383350849,
-0.04351950064301491,
-0.0045317974872887135,
-0.04312775284051895,
0.0030694245360791683,
-0.06819954514503479,
-0.02553476393222809,
-0.02797427773475647,
0.030663084238767624,
-0.04202374070882797,
0.008066421374678612,
-0.01475282572209835,
0.05139004811644554,
-0.04102656617760658,
-0.028187956660985947,
0.05637591332197189,
-0.02597993053495884,
0.03123289719223976,
0.028383830562233925,
0.04843413829803467,
0.04277161881327629,
0.027671564370393753,
0.01665813848376274,
0.006566209252923727,
0.015518512576818466,
-0.057978514581918716,
0.015830129384994507,
0.02106528915464878,
0.08775126188993454,
-0.03924589976668358,
-0.033280663192272186,
-0.00047744132461957633,
-0.031553417444229126,
-0.0026264837943017483,
-0.018964102491736412,
0.03468739241361618,
-0.026727810502052307,
0.04740135371685028,
-0.029309777542948723,
-0.017174532637000084,
0.015741094946861267,
-0.002515191910788417,
-0.021652908995747566,
-0.02660316415131092,
-0.026959296315908432,
0.011494205333292484,
0.005088255740702152,
0.03253278508782387,
-0.0054176789708435535,
0.022204916924238205,
-0.06645449250936508,
-0.017290275543928146,
-0.0014234206173568964,
0.019409269094467163,
0.002386093605309725,
0.05057093873620033,
-0.0024907079059630632,
-0.09551497548818588,
0.02706613764166832,
-0.021510455757379532,
0.07792198657989502,
0.02232956327497959,
-0.06214527413249016,
0.011707885190844536,
0.004852317273616791,
-0.015162378549575806,
-0.029398810118436813,
0.044516671448946,
0.04690276458859444,
-0.020673543214797974,
0.03107263706624508,
0.013444035314023495,
0.018768228590488434,
-0.0399581640958786,
0.07094176858663559,
0.028633123263716698,
-0.029737137258052826,
-0.05555680766701698,
-0.024288296699523926,
-0.030680891126394272,
-0.006833309307694435,
0.026959296315908432,
-0.04750819131731987,
-0.007879450917243958,
0.0037349488120526075,
-0.0035546564031392336,
-0.008102034218609333,
-0.0045251199044287205,
-0.02941661700606346,
0.004151179920881987,
-0.003590269712731242,
0.027814017608761787,
0.026745617389678955,
-0.04957376793026924,
-0.05324194207787514,
-0.04658224806189537,
0.01869700290262699,
-0.006152204237878323,
-0.02352260984480381,
0.02190220355987549,
0.01289202831685543,
0.032906726002693176,
-0.011520914733409882,
-0.00780822429805994,
0.06093442067503929,
0.012820801697671413,
0.08397625386714935,
0.0009359630639664829,
-0.07129790633916855,
0.02679903618991375,
-0.007874999195337296,
-0.006686404347419739,
0.00015761684335302562,
0.028490670025348663,
-0.0016671493649482727,
-0.07500168681144714,
0.0074209291487932205,
-0.011556528508663177,
-0.0417744442820549,
0.022739116102457047,
0.04804239422082901,
-0.08518710732460022,
-0.021581683307886124,
-0.05669643357396126,
-0.0571950227022171,
-0.006664145737886429,
0.0038774022832512856,
-0.03424222394824028,
-0.01926681585609913,
0.005039287265390158,
0.0003452824312262237,
-0.03650367259979248,
-0.0009276161435991526,
0.03226568549871445,
0.011894854716956615,
0.004936899058520794,
-0.024840302765369415,
-0.0217953622341156,
0.025125209242105484,
0.009464244358241558,
0.00025680556427687407,
-0.012722864747047424,
0.06492311507463455,
-0.003579140407964587,
-0.017815573140978813,
0.01869700290262699,
0.0036726254038512707,
-0.008876624517142773,
-0.028455058112740517,
-0.08604182302951813,
-0.04287846013903618,
0.005724844057112932,
0.0009521003230474889,
0.0771384909749031,
0.054452795535326004,
-0.00046352986828424037,
0.020602315664291382
]
|
43,852 | pdf2docx.converter | _color_output | null | @staticmethod
def _color_output(msg): return f'\033[1;36m{msg}\033[0m'
| (msg) | [
-0.022402619943022728,
-0.07781771570444107,
0.011083018034696579,
0.03930922970175743,
0.06194842979311943,
-0.030792228877544403,
-0.021838460117578506,
0.018089523538947105,
0.042148228734731674,
-0.010691746138036251,
0.04196624085307121,
-0.017652755603194237,
0.05306745693087578,
-0.01633334904909134,
-0.00046321420813910663,
0.01067354716360569,
0.03153837472200394,
-0.03676140680909157,
0.01828061044216156,
0.021783864125609398,
0.04924572631716728,
-0.009809108451008797,
0.04738945886492729,
-0.03770774230360985,
-0.024186095222830772,
0.03865407407283783,
0.0015230050776153803,
-0.024932241067290306,
0.009581624530255795,
-0.0006284244591370225,
-0.04491443186998367,
-0.08480601757764816,
-0.049464110285043716,
0.050519637763500214,
-0.0001387652155244723,
0.006274007726460695,
-0.012857393361628056,
0.029700305312871933,
-0.008362310007214546,
-0.03574227914214134,
0.02253001183271408,
0.0025910423137247562,
-0.0012670856667682528,
0.00846240296959877,
-0.010291374288499355,
-0.012802797369658947,
0.056452419608831406,
0.039200033992528915,
-0.03623364493250847,
-0.0568527914583683,
0.036725010722875595,
-0.03641563281416893,
-0.0030824076384305954,
0.03590606898069382,
0.019527222961187363,
0.006387749686837196,
-0.014013011939823627,
-0.04054674133658409,
-0.031975146383047104,
-0.03195694461464882,
-0.025896774604916573,
0.004433662164956331,
0.02653372846543789,
0.06871835142374039,
-0.00788914319127798,
0.004627023823559284,
0.049937278032302856,
0.00905386172235012,
0.03441377356648445,
0.021001318469643593,
0.022329825907945633,
0.011628979817032814,
-0.03821730613708496,
-0.026661120355129242,
0.014831953682005405,
0.016579030081629753,
-0.04389530420303345,
0.013685435056686401,
0.025332612916827202,
0.022220633924007416,
0.03528731316328049,
0.022839389741420746,
0.03412259370088577,
0.05950980260968208,
0.05190274119377136,
-0.07854565978050232,
0.0048499577678740025,
0.011092117987573147,
-0.044186484068632126,
0.043858908116817474,
-0.019709210842847824,
-0.03788972645998001,
-0.06966468691825867,
0.06274917721748352,
-0.019618216902017593,
-0.013103076256811619,
0.04000077769160271,
0.00121817656327039,
0.014467979781329632,
-0.005991927348077297,
-0.014440681785345078,
0.04644312337040901,
0.03694339469075203,
-0.06591574847698212,
0.024659261107444763,
-0.07599783688783646,
-0.05881825089454651,
0.03741656243801117,
0.03412259370088577,
-0.007065651938319206,
-0.004442761652171612,
-0.0007199867395684123,
0.05587005987763405,
-0.057507943361997604,
0.044040895998477936,
-0.003316716058179736,
-0.03384961187839508,
-0.020054984837770462,
0.04844498261809349,
0.006533339153975248,
-0.004015091806650162,
-0.028753971680998802,
0.018744677305221558,
-0.04731666296720505,
-0.015969373285770416,
0.035869669169187546,
-0.05656161159276962,
0.018480796366930008,
0.05314025282859802,
-0.0038877008482813835,
-0.018007630482316017,
0.03956400975584984,
0.02229342795908451,
-0.06573376804590225,
0.061402469873428345,
0.024750255048274994,
-0.06955549120903015,
0.03854488208889961,
0.011583482846617699,
0.08706265687942505,
0.0015093560796231031,
-0.031247196719050407,
-0.041675060987472534,
-0.04520561173558235,
0.0021190131083130836,
0.0010299335699528456,
0.05699837952852249,
0.03927282989025116,
0.021929454058408737,
0.06009216234087944,
0.03404979780316353,
0.05150236934423447,
-0.006305855233222246,
0.04859057441353798,
0.02367652952671051,
0.01887206919491291,
0.02353094145655632,
-0.02857198566198349,
0.02225703001022339,
0.012056649662554264,
0.022420817986130714,
-0.06573376804590225,
0.059400610625743866,
-0.02695230022072792,
0.021783864125609398,
0.0585634708404541,
-0.03443197160959244,
0.03037365712225437,
0.03175675868988037,
-0.025751184672117233,
-0.029918689280748367,
-0.06351351737976074,
-0.024804851040244102,
0.026497330516576767,
0.020036786794662476,
0.05918222665786743,
-0.04877256229519844,
0.036433830857276917,
0.010882832109928131,
-0.01709769479930401,
-0.042330216616392136,
-0.013230467215180397,
-0.038253702223300934,
0.02243901789188385,
0.056743599474430084,
0.018817473202943802,
0.04684349521994591,
0.019563620910048485,
0.004718017298728228,
-0.041238293051719666,
-0.01958181895315647,
0.022948581725358963,
0.021419890224933624,
0.02043715864419937,
-0.00639684870839119,
-0.021765664219856262,
-0.035396505147218704,
-0.06162085384130478,
0.030555645003914833,
-0.11749091744422913,
-0.031683966517448425,
0.035068925470113754,
-0.07010145485401154,
0.03399520367383957,
0.03792612627148628,
0.006037424318492413,
0.018526293337345123,
0.003717087907716632,
-0.042621392756700516,
-0.03703438863158226,
-0.05885465070605278,
-0.033394645899534225,
0.01745256967842579,
0.062639981508255,
0.014913848601281643,
-0.024877645075321198,
0.01687020994722843,
0.06289476156234741,
-0.07665299624204636,
0.030319061130285263,
0.032866884022951126,
-0.06715326756238937,
0.025460004806518555,
0.009581624530255795,
-0.01648803800344467,
0.0062330602668225765,
0.009936499409377575,
-0.0058053904213011265,
-0.00906751025468111,
-0.05608844384551048,
0.007479672320187092,
-0.013448851183056831,
-0.025023235008120537,
0.06627972424030304,
-0.05572447180747986,
-0.011783668771386147,
-0.004454135894775391,
-0.010982925072312355,
-0.02405870333313942,
0.003914998844265938,
-0.05492372810840607,
0.04458685591816902,
0.09747232496738434,
0.06981027871370316,
0.07854565978050232,
-0.0277712419629097,
0.042148228734731674,
0.031774960458278656,
-0.05419577658176422,
0.017652755603194237,
-0.081603042781353,
-0.024786651134490967,
-0.004367691930383444,
-0.03090142086148262,
-0.01642434112727642,
-0.017052197828888893,
-0.054887328296899796,
0.029773101210594177,
0.027589254081249237,
0.03879966214299202,
-0.025569196790456772,
0.019563620910048485,
0.035159919410943985,
-0.0012261385563760996,
0.044004496186971664,
-0.015077636577188969,
-0.06940990686416626,
0.06937351077795029,
-0.03366762399673462,
-0.008489700965583324,
0.13794627785682678,
0.03799891844391823,
-0.03081042692065239,
0.006260358728468418,
-0.035778675228357315,
0.0049182032234966755,
-0.03850848600268364,
-0.015960274264216423,
0.0034850542433559895,
-0.027989625930786133,
0.05739875137805939,
-0.02078293450176716,
-0.010382368229329586,
0.03597886115312576,
0.015077636577188969,
0.0067289755679667,
0.011046621017158031,
-0.02444087713956833,
0.0053777205757796764,
-0.01597847230732441,
0.029318133369088173,
0.009572524577379227,
0.03323085606098175,
0.0073386323638260365,
0.01357624214142561,
0.027734844014048576,
0.02043715864419937,
0.026606524363160133,
-0.016606329008936882,
-0.011419694870710373,
-0.005605204496532679,
-0.04826299473643303,
0.00056216970551759,
-0.030482850968837738,
-0.06052893027663231,
0.010473361238837242,
-0.020509954541921616,
-0.028735773637890816,
0.018799275159835815,
-0.03916363790631294,
-0.025550998747348785,
0.032357316464185715,
0.017170488834381104,
0.03386780992150307,
-0.034577563405036926,
0.008203071542084217,
-0.050046470016241074,
-0.008325912989675999,
0.01624235510826111,
0.03657941892743111,
-0.02420429326593876,
-0.03941842168569565,
0.0037739588879048824,
0.0294819213449955,
0.039964381605386734,
-0.03756215050816536,
0.0027730294968932867,
0.04644312337040901,
0.0801471471786499,
0.004322195425629616,
-0.03170216456055641,
-0.03028266504406929,
0.013093976303935051,
-0.020855728536844254,
-0.012347829528152943,
-0.05092000961303711,
-0.018235113471746445,
-0.030792228877544403,
-0.0038990750908851624,
-0.04051034152507782,
-0.013949315994977951,
0.013348758220672607,
-0.05310385674238205,
0.0030937818810343742,
0.01017308235168457,
0.025168824940919876,
-0.033449240028858185,
0.05587005987763405,
0.006383199710398912,
-0.016078565269708633,
0.050992805510759354,
0.0070929499343037605,
0.0030096126720309258,
0.017352476716041565,
0.05142957344651222,
0.015914777293801308,
-0.02182026207447052,
-0.06362271308898926,
0.026879504323005676,
0.03505072742700577,
-0.05932781472802162,
0.004037840291857719,
0.02553279884159565,
0.024695659056305885,
-0.04877256229519844,
0.0493549183011055,
-0.039200033992528915,
0.013485249131917953,
0.05390460044145584,
0.009417835623025894,
0.028790369629859924,
0.033212658017873764,
0.017561761662364006,
-0.04094711318612099,
-0.03222992643713951,
-0.00421527773141861,
-0.04054674133658409,
0.007365930359810591,
0.015277822501957417,
-0.05059243366122246,
0.013712733052670956,
-0.014531674794852734,
-0.02152908220887184,
-0.027789440006017685,
-0.002397680887952447,
0.01133780088275671,
-0.04342213645577431,
0.030118875205516815,
0.01636064611375332,
-0.0014604469761252403,
-0.08597073704004288,
0.0029231689404696226,
0.058781854808330536,
-0.026897702366113663,
0.018981261178851128,
-0.016169559210538864,
0.014376985840499401,
0.030937818810343742,
-0.013112175278365612,
-0.008112077601253986,
-0.011537985876202583,
0.02957291528582573,
0.024167895317077637,
-0.05739875137805939,
-0.02966390736401081,
-0.013694534078240395,
-0.023166965693235397,
0.047607842832803726,
-0.0007410289836116135,
0.0277712419629097,
-0.010782739147543907,
-0.046661511063575745,
-0.020455356687307358,
0.0007160057430155575,
0.0062831067480146885,
-0.05761713534593582,
-0.005045594181865454,
-0.05568807199597359,
0.012056649662554264,
-0.011510687880218029,
-0.05681639164686203,
-0.056270431727170944,
0.03923643380403519,
0.0743599534034729,
0.008944668807089329,
-0.0022520911879837513,
-0.03232092037796974,
0.02524162083864212,
0.0719941258430481,
-0.044186484068632126,
-0.01807132549583912,
-0.04054674133658409,
-0.0023772073909640312,
-0.046370331197977066,
0.02382211945950985,
-0.02400410734117031,
0.02951831743121147,
0.005018296185880899,
0.0024295286275446415,
0.02733447216451168,
0.04109270125627518,
-0.004699818789958954,
-0.006888214033097029,
0.04000077769160271,
0.03066483698785305,
0.0038376543670892715,
-0.0176345556974411,
0.007284036371856928,
0.004913653712719679,
-0.0037625846453011036,
0.03181135654449463,
0.06387749314308167,
-0.06780841946601868,
-0.028226209804415703,
0.05233950912952423,
-0.054741740226745605,
-0.005172985140234232,
0.004199353978037834,
-0.00953612755984068,
0.0059737288393080235,
-0.027134286239743233,
0.10103927552700043,
-0.07381399720907211,
0.04997367411851883,
-0.02400410734117031,
-0.07577945291996002,
0.06780841946601868,
-0.009736313484609127,
-0.04855417460203171,
-0.0414566770195961,
0.007047452963888645,
0.004015091806650162,
-0.03219353035092354,
-0.013685435056686401,
0.0017971232300624251,
0.027370870113372803,
-0.018362505361437798,
-0.024277087301015854,
-0.07774491608142853,
0.04473244398832321,
-0.0668620839715004,
-0.01766185462474823,
-0.01828061044216156,
-0.036725010722875595,
0.014886550605297089,
0.013821925036609173,
0.05292186886072159,
-0.04415008798241615,
0.03594246506690979,
-0.018235113471746445,
-0.0397459976375103,
0.023803921416401863,
-0.03113800473511219,
-0.0027184332720935345,
0.023039575666189194,
-0.034632157534360886,
0.002741181757301092,
0.007852746173739433,
-0.015614498406648636,
-0.06147526577115059,
0.03650662675499916,
0.015314220450818539,
-0.009167603217065334,
0.00422437721863389,
0.017561761662364006,
-0.05361342057585716,
0.07013785094022751,
-0.00852154940366745,
0.04196624085307121,
-0.0028185262344777584,
0.015132232569158077,
0.039054445922374725,
0.016788316890597343,
-0.06536979228258133,
-0.01133780088275671,
-0.07483312487602234,
-0.018580889329314232,
-0.01493204664438963,
0.04069232940673828,
-0.02505963295698166,
-0.03388601168990135,
0.04003717750310898,
-0.042948972433805466,
-0.07188493013381958,
-0.009408736601471901,
0.09303183853626251,
0.03861767798662186,
0.048699766397476196,
-0.039673201739788055,
0.03374041989445686,
-0.07512430101633072,
0.006920062005519867,
0.015669094398617744,
-0.026078760623931885,
-0.018480796366930008,
0.03179315850138664,
-0.01978200487792492,
0.016187759116292,
-0.03879966214299202,
-0.03898165002465248,
-0.01033687125891447,
-0.006433246191591024,
-0.012356928549706936,
-0.05739875137805939,
-0.05568807199597359,
0.023021375760436058,
0.012693604454398155,
0.000924153602682054,
-0.03627004101872444,
0.0026706617791205645,
-0.0061375172808766365,
-0.034486569464206696,
0.0007808386581018567,
0.00708385044708848,
-0.0696282908320427,
0.06802680343389511,
-0.023021375760436058,
-0.007588864769786596,
0.03222992643713951,
-0.012111245654523373,
0.0029026952106505632,
0.07534268498420715,
0.006797220557928085,
-0.020910324528813362,
-0.027116088196635246,
-0.011738171800971031,
-0.03532370924949646,
0.01580558530986309,
-0.04691629111766815,
-0.038399290293455124,
0.02895415760576725,
0.023221561685204506,
0.0007819760940037668,
-0.04003717750310898,
-0.05510571226477623,
0.008234919048845768,
0.04964609816670418,
0.009222199209034443,
0.07090219855308533,
0.02025517076253891,
-0.06438706070184708,
0.0015901129227131605,
-0.025842176750302315,
-0.04298536852002144,
-0.0012136269360780716,
-0.017206886783242226,
-0.03821730613708496,
-0.029026953503489494,
-0.00843055546283722,
-0.00447460962459445,
-0.03470495343208313,
-0.02214783802628517,
0.004533755127340555,
-0.016842912882566452,
0.0028048772364854813,
-0.01060075219720602,
0.06631612032651901,
0.0397459976375103,
-0.0013250940246507525,
0.02152908220887184,
-0.008385058492422104,
0.032684896141290665,
-0.02400410734117031,
-0.010163983330130577,
0.05481453612446785,
-0.024277087301015854,
0.04778983071446419,
-0.03767134249210358,
-0.03665221482515335,
0.046952687203884125,
-0.0794919952750206,
0.012639008462429047,
-0.01509583555161953,
-0.002611515810713172,
0.018708281219005585,
-0.005782642401754856,
-0.020855728536844254,
0.00885822530835867,
-0.003382686525583267,
0.06849996745586395,
0.003193874843418598,
0.07941919565200806,
-0.038108114153146744,
0.02695230022072792,
0.052849072962999344,
0.0527762770652771,
-0.027971427887678146,
-0.03850848600268364,
-0.010564355179667473,
-0.0555424839258194,
0.014113104902207851,
0.08473322540521622,
0.020928524434566498,
-0.059546202421188354,
0.018380703404545784,
-0.019618216902017593,
-0.027898631989955902,
0.020892126485705376,
-0.0015594025608152151,
-0.028608381748199463,
0.010355069302022457,
0.002547820331528783,
-0.019527222961187363,
-0.016915706917643547,
0.011801867745816708,
0.033449240028858185,
-0.03470495343208313,
-0.032593902200460434,
0.032120734453201294,
-0.03404979780316353,
-0.0034304580185562372,
0.01651533506810665,
0.015414313413202763,
0.08400527387857437,
-0.017461668699979782,
-0.019090453162789345,
-0.034067995846271515,
-0.02886316366493702,
0.020600946620106697,
-0.012229537591338158,
-0.013958415947854519,
0.023640133440494537,
-0.020000388845801353,
0.00701105548068881,
0.01052795723080635,
-0.050228457897901535,
0.05958259850740433,
-0.01511403452605009,
-0.0034850542433559895,
-0.047280266880989075,
0.012775499373674393,
0.010382368229329586,
-0.01005479134619236,
-0.033394645899534225,
-0.002636539051309228,
0.002107638865709305,
0.0380353182554245,
-0.0011095530353486538,
0.061402469873428345,
-0.02101951837539673,
0.04611554741859436,
0.010901031084358692,
-0.035724081099033356,
0.007393228821456432,
0.053795404732227325,
0.08735384047031403,
0.00392182357609272,
0.02562379278242588,
-0.013303262181580067,
-0.058781854808330536,
-0.08626191318035126,
-0.009527028538286686,
-0.03770774230360985,
-0.030464651063084602,
-0.012329630553722382,
0.039345625787973404,
-0.0585634708404541,
-0.04313095659017563,
-0.01612406224012375,
-0.0380353182554245,
0.03665221482515335,
0.017143191769719124,
0.006101119797676802,
0.006510590668767691,
-0.0028708474710583687,
0.030774028971791267,
0.04444126784801483,
-0.028790369629859924,
-0.029354529455304146,
-0.010646249167621136,
-0.0007302234880626202,
0.02748006209731102,
0.031065208837389946,
0.028608381748199463,
-0.05044684186577797,
-0.047899022698402405,
-0.014513476751744747,
-0.017579959705471992,
-0.0068108695559203625,
0.010564355179667473,
-0.015996672213077545,
0.035196319222450256,
0.0551421120762825,
0.0029072449542582035,
-0.0019882097840309143,
0.0049682497046887875,
-0.056889187544584274,
-0.02253001183271408,
0.04378611221909523,
-0.01161988079547882,
-0.0022520911879837513,
-0.0053959195502102375,
-0.07716255635023117,
0.0842236578464508,
-0.0202005747705698,
0.005564257502555847,
0.016269652172923088,
-0.021146908402442932,
-0.027698446065187454,
-0.028553785756230354,
-0.022548209875822067,
-0.033685825765132904,
-0.0390908420085907,
0.009272245690226555,
0.021092312410473824,
0.0442228801548481,
0.02034616470336914,
0.03488694131374359,
-0.029081549495458603,
0.022893985733389854,
0.031174400821328163,
0.013039380311965942,
-0.06082011014223099,
0.06689848005771637,
0.06453265249729156,
-0.022093242034316063,
0.025550998747348785,
0.004115184769034386,
-0.000911641982384026,
0.031174400821328163,
0.02273019775748253,
0.04109270125627518,
-0.0073386323638260365,
0.006783571559935808,
0.05314025282859802,
0.04607915133237839,
-0.034541163593530655,
0.0028526487294584513
]
|
43,853 | pdf2docx.converter | _convert_with_multi_processing | Parse and create pages based on page indexes with multi-processing.
Reference:
https://pymupdf.readthedocs.io/en/latest/faq.html#multiprocessing
| def _convert_with_multi_processing(self, docx_filename:str, start:int, end:int, **kwargs):
'''Parse and create pages based on page indexes with multi-processing.
Reference:
https://pymupdf.readthedocs.io/en/latest/faq.html#multiprocessing
'''
# make vectors of arguments for the processes
cpu = min(kwargs['cpu_count'], cpu_count()) if kwargs['cpu_count'] else cpu_count()
prefix = 'pages' # json file writing parsed pages per process
vectors = [(i, cpu, start, end, self.filename_pdf, self.password,
kwargs, f'{prefix}-{i}.json') for i in range(cpu)]
# start parsing processes
pool = Pool()
pool.map(self._parse_pages_per_cpu, vectors, 1)
# restore parsed page data
for i in range(cpu):
filename = f'{prefix}-{i}.json'
if not os.path.exists(filename): continue
self.deserialize(filename)
os.remove(filename)
# create docx file
self.make_docx(docx_filename, **kwargs)
| (self, docx_filename: str, start: int, end: int, **kwargs) | [
0.007632335647940636,
-0.006248974706977606,
-0.06699109077453613,
0.022185811772942543,
-0.0007832901319488883,
0.06463200598955154,
-0.020121611654758453,
-0.003172189462929964,
-0.05859552323818207,
-0.02530813030898571,
0.07639274001121521,
0.011379118077456951,
0.0020110770128667355,
0.03712090477347374,
-0.012272448278963566,
-0.021769503131508827,
0.01913287676870823,
-0.0032025454565882683,
-0.00740249827504158,
0.026678482070565224,
-0.031344614923000336,
-0.01378156989812851,
0.02832637168467045,
0.03729436546564102,
0.0065048313699662685,
-0.009158802218735218,
0.001954701729118824,
0.015030496753752232,
0.020659344270825386,
-0.024596935138106346,
0.036045439541339874,
0.008317511528730392,
0.009392976760864258,
0.024978552013635635,
0.05228149890899658,
-0.0028469478711485863,
0.03569851443171501,
0.04631439968943596,
-0.05897713825106621,
0.006799716968089342,
-0.01017355639487505,
-0.02832637168467045,
-0.03139665350317955,
0.008057317696511745,
-0.04846533015370369,
0.024041857570409775,
-0.053842656314373016,
0.020641999319195747,
-0.01504784356802702,
0.022289888933300972,
-0.002922837622463703,
-0.05804044380784035,
0.01875125989317894,
-0.016192693263292313,
-0.01949714869260788,
0.08749432116746902,
-0.03972283750772476,
0.0695236399769783,
-0.003248079214245081,
-0.0223939660936594,
-0.019427763298153877,
-0.0036730614956468344,
0.07174395769834518,
-0.006209945771843195,
0.02641828916966915,
0.02483978308737278,
0.003920244984328747,
-0.0290549136698246,
-0.03250681236386299,
0.039237141609191895,
-0.011726043187081814,
-0.03535158932209015,
0.014154513366520405,
0.03274965658783913,
0.001274946960620582,
0.06900325417518616,
-0.01979203335940838,
0.014657553285360336,
0.009861323982477188,
0.020121611654758453,
-0.010017440654337406,
0.0051648360677063465,
-0.04048607125878334,
-0.04197784513235092,
0.06272391974925995,
0.022758236154913902,
0.0908941775560379,
0.03750251978635788,
-0.010763327591121197,
0.009340938180685043,
-0.01847372204065323,
0.0447879321873188,
0.006977515760809183,
0.03221192583441734,
0.019982842728495598,
-0.025377515703439713,
-0.018699221312999725,
0.005021729972213507,
-0.09512665122747421,
-0.0007155314669944346,
-0.01958387903869152,
-0.017580391839146614,
0.013365260325372219,
-0.025637708604335785,
0.020399151369929314,
-0.04846533015370369,
-0.00588036747649312,
-0.01058986596763134,
0.01130106020718813,
-0.011830120347440243,
-0.06692170351743698,
-0.04059014841914177,
0.016184020787477493,
-0.008534339256584644,
-0.02577647939324379,
-0.02914164401590824,
-0.05072033777832985,
-0.0187339149415493,
0.004631440155208111,
0.015177940018475056,
0.0024197972379624844,
-0.030772188678383827,
-0.032853733748197556,
0.019826726987957954,
-0.07018279284238815,
-0.03954937681555748,
0.06872571259737015,
0.04770209640264511,
0.06130153313279152,
-0.006071175914257765,
-0.0386473722755909,
0.014657553285360336,
0.027233561500906944,
-0.012220409698784351,
0.007085929624736309,
-0.05106726288795471,
-0.05800575017929077,
0.03320065885782242,
-0.06685232371091843,
0.012792835012078285,
0.014492764137685299,
-0.026574404910206795,
0.0012207400286570191,
0.020451189950108528,
0.005307942628860474,
0.046453170478343964,
-0.0011448502773419023,
0.0007670280174352229,
-0.08180475980043411,
0.03486589714884758,
-0.0022550083231180906,
0.004570728167891502,
0.05217742174863815,
-0.06438916176557541,
0.016279425472021103,
-0.0041067167185246944,
0.034067969769239426,
0.017779871821403503,
-0.026782559230923653,
-0.005776290316134691,
0.013469337485730648,
0.02081546001136303,
-0.020225688815116882,
0.003187367459759116,
-0.008018288761377335,
0.049644872546195984,
0.007389488629996777,
-0.05068564787507057,
0.025550978258252144,
0.013703511096537113,
0.053565118461847305,
0.05706905573606491,
-0.03861267864704132,
0.020017534494400024,
-0.0034172048326581717,
0.02091953717172146,
0.054675277322530746,
0.005069431848824024,
-0.012896912172436714,
0.10275898873806,
-0.03460570424795151,
0.014614188112318516,
-0.009219514206051826,
-0.016999293118715286,
0.0003520740137901157,
0.02060730569064617,
-0.0004884044174104929,
0.01541211362928152,
0.03684336692094803,
-0.04922856390476227,
0.004082866013050079,
-0.00913278292864561,
0.0032762668561190367,
-0.01270610373467207,
0.010763327591121197,
0.01147452276200056,
-0.02511732280254364,
-0.015871789306402206,
-0.023400047793984413,
0.02962733805179596,
-0.015481499023735523,
0.003722931956872344,
0.0270080603659153,
-0.031361959874629974,
-0.04555116593837738,
-0.02607136406004429,
-0.03729436546564102,
0.061544377356767654,
-0.04957548901438713,
0.05068564787507057,
0.04225538671016693,
-0.057311899960041046,
-0.017216119915246964,
0.06393815577030182,
0.052073344588279724,
0.013217817060649395,
0.017849257215857506,
0.02813556417822838,
-0.009869997389614582,
-0.03120584413409233,
0.0043213763274252415,
0.06921140849590302,
0.0035104406997561455,
-0.05894244462251663,
-0.002599764382466674,
-0.0361495167016983,
0.04190846160054207,
-0.022341927513480186,
0.02709479071199894,
-0.009245533496141434,
0.04329615831375122,
-0.08395569026470184,
0.00012372730998322368,
0.057589441537857056,
0.04686947911977768,
-0.0868004709482193,
0.006543860305100679,
0.009601131081581116,
0.0290549136698246,
0.010156210511922836,
0.028916144743561745,
0.030251802876591682,
0.005667876452207565,
-0.024250011891126633,
-0.0314660370349884,
0.03283638879656792,
0.03065076656639576,
-0.013876973651349545,
0.008434598334133625,
0.046453170478343964,
0.018681876361370087,
-0.04329615831375122,
-0.05068564787507057,
-0.01256733387708664,
-0.007836153730750084,
0.023452086374163628,
-0.03493528068065643,
-0.027441715821623802,
-0.00834786705672741,
0.0314660370349884,
0.039133064448833466,
-0.0736173465847969,
0.014371341094374657,
0.005043412558734417,
0.031153805553913116,
-0.038959603756666183,
0.020381804555654526,
-0.004518689587712288,
-0.04614093899726868,
0.04402469843626022,
-0.04454508423805237,
0.013772896490991116,
0.003566815983504057,
0.012810181826353073,
0.0038682064041495323,
0.0021639405749738216,
-0.02747640758752823,
-0.036982133984565735,
0.022237850353121758,
0.04059014841914177,
0.052246805280447006,
-0.049263257533311844,
-0.015585576184093952,
-0.03269761800765991,
0.062376998364925385,
-0.033027198165655136,
-0.010832712985575199,
0.05523035675287247,
0.0290549136698246,
-0.07368673384189606,
-0.04267169535160065,
0.050095874816179276,
-0.0207113828510046,
-0.04367777332663536,
-0.0699746385216713,
-0.007129295263439417,
0.0021812866907566786,
-0.08784124255180359,
-0.043434929102659225,
-0.04086768627166748,
-0.037086211144924164,
0.014726938679814339,
0.053669195622205734,
0.021995004266500473,
-0.019809380173683167,
0.02060730569064617,
0.016053924337029457,
-0.019670609384775162,
0.021700117737054825,
-0.035195473581552505,
-0.03339146822690964,
-0.016999293118715286,
0.010529153980314732,
0.037641290575265884,
-0.09006156027317047,
0.013417298905551434,
0.037433136254549026,
0.06314022839069366,
0.0017801555804908276,
-0.004167428705841303,
-0.07046033442020416,
0.03975753113627434,
0.02709479071199894,
-0.02464897371828556,
0.07632335275411606,
0.049818336963653564,
0.01977468840777874,
0.030511995777487755,
0.025047937408089638,
0.022636814042925835,
-0.0406942255795002,
0.058526135981082916,
-0.021995004266500473,
0.03739844262599945,
-0.034067969769239426,
-0.05068564787507057,
-0.008187414146959782,
-0.05297534540295601,
0.03380777686834335,
-0.04114522784948349,
-0.00557680893689394,
-0.0016207871958613396,
-0.05630582198500633,
-0.049263257533311844,
0.00503907585516572,
-0.044094085693359375,
0.00890728272497654,
-0.046175628900527954,
0.013139759190380573,
-0.07222964614629745,
-0.003649210324510932,
0.060989297926425934,
-0.005485740955919027,
0.055160969495773315,
-0.014336648397147655,
-0.04117991775274277,
-0.008941974490880966,
-0.0680665597319603,
0.000702521821949631,
-0.03892491012811661,
-0.039792221039533615,
0.0076670278795063496,
-0.04190846160054207,
-0.008976667188107967,
0.05200395733118057,
-0.031049728393554688,
-0.023400047793984413,
0.03677397966384888,
0.0035429648123681545,
0.03795352205634117,
0.02175215631723404,
0.013087720610201359,
-0.03663520887494087,
0.008373886346817017,
-0.01706867851316929,
0.011214328929781914,
-0.07174395769834518,
0.018421683460474014,
-0.08291491866111755,
0.004069856368005276,
-0.008330521173775196,
0.003274098504334688,
0.031639501452445984,
0.030529342591762543,
0.0017194438260048628,
-0.07854367047548294,
0.02173480950295925,
-0.02128380909562111,
0.023278623819351196,
0.011795427650213242,
0.011257695034146309,
0.055542588233947754,
-0.025724440813064575,
0.02183888666331768,
0.055334433913230896,
-0.028569219633936882,
0.030390571802854538,
0.03026914969086647,
-0.011942870914936066,
0.0010510723805055022,
0.007185670547187328,
0.023972472175955772,
-0.03250681236386299,
0.052454959601163864,
-0.03439754992723465,
-0.014076455496251583,
0.06640131771564484,
-0.043712466955184937,
0.034623049199581146,
0.09491849690675735,
-0.011205656453967094,
-0.03902898728847504,
-0.02053792029619217,
-0.014440725557506084,
-0.07327041774988174,
0.007996605709195137,
-0.015386094339191914,
-0.038300447165966034,
0.010225594975054264,
-0.00852566584944725,
0.037155598402023315,
0.07257657498121262,
0.025724440813064575,
0.04627970606088638,
-0.026366250589489937,
-0.08874324709177017,
0.02803148701786995,
-0.05935875326395035,
0.020104264840483665,
0.04516955092549324,
-0.013929012231528759,
0.02747640758752823,
-0.08173537254333496,
-0.017268158495426178,
0.04555116593837738,
-0.03240273520350456,
-0.023937780410051346,
0.0076670278795063496,
0.008837897330522537,
0.0018809804460033774,
0.022758236154913902,
-0.03141399845480919,
0.03701682761311531,
-0.001165448920801282,
0.06314022839069366,
0.005967098753899336,
-0.0762539729475975,
-0.03920245170593262,
-0.053079426288604736,
-0.002372095128521323,
0.010780674405395985,
0.040555454790592194,
0.03590666875243187,
-0.05932406336069107,
0.04773679003119469,
-0.04097176343202591,
0.012827527709305286,
-0.04048607125878334,
0.0494714118540287,
0.07410304248332977,
0.030234456062316895,
-0.00712062232196331,
0.027805985882878304,
0.03130992129445076,
-0.03573320806026459,
0.009922035969793797,
-0.029956916347146034,
0.05911590903997421,
-0.032003771513700485,
-0.022255197167396545,
0.01706867851316929,
-0.036045439541339874,
0.025516284629702568,
-0.0601566806435585,
0.004304029978811741,
0.040902379900217056,
-0.04038199409842491,
-0.007441527210175991,
0.09006156027317047,
-0.05183049663901329,
0.016348809003829956,
-0.022654158994555473,
0.08395569026470184,
0.042602308094501495,
-0.05349573493003845,
0.01845637522637844,
0.07750289887189865,
0.0017573885852470994,
-0.007693047169595957,
-0.0350567065179348,
0.00849097315222025,
0.04565524309873581,
-0.007415507920086384,
-0.01283620111644268,
0.01582842320203781,
-0.01522997859865427,
0.028534527868032455,
0.03562913089990616,
0.012992316856980324,
-0.06563808768987656,
0.02156134881079197,
0.00839123222976923,
0.05529974028468132,
-0.01856045238673687,
0.051518265157938004,
0.06071176007390022,
-0.007627998944371939,
0.02409389615058899,
-0.048881638795137405,
-0.02154400199651718,
-0.0588383674621582,
-0.04065953195095062,
-0.03420674055814743,
0.024596935138106346,
-0.029662031680345535,
0.03580259159207344,
-0.01798802800476551,
-0.003592835273593664,
-0.012974970042705536,
-0.045585859566926956,
-0.013451991602778435,
0.0011741220951080322,
-0.021804194897413254,
-0.05359981209039688,
-0.01115361787378788,
0.02980080060660839,
0.0061579071916639805,
0.01280150841921568,
0.019618570804595947,
-0.027233561500906944,
-0.03222927078604698,
0.002191044157370925,
0.0708419531583786,
-0.04787556082010269,
0.01214235182851553,
-0.05651397630572319,
0.015255997888743877,
-0.04582870751619339,
0.08742493391036987,
0.013113739900290966,
0.0012847041944041848,
0.028274333104491234,
-0.022359274327754974,
-0.04589809104800224,
0.04229007661342621,
0.01518661342561245,
0.04697355628013611,
0.03065076656639576,
0.0774335116147995,
0.021405231207609177,
-0.0054467120207846165,
-0.012966297566890717,
0.023174546658992767,
0.015464152209460735,
-0.020641999319195747,
0.04357369616627693,
0.012888239696621895,
-0.0447879321873188,
0.02091953717172146,
-0.014839688315987587,
-0.017398254945874214,
-0.014119820669293404,
-0.005663539748638868,
-0.0420125387609005,
-0.043816544115543365,
0.020208343863487244,
-0.02428470365703106,
0.006058166269212961,
-0.004765873309224844,
-0.03307923674583435,
0.05353042483329773,
0.021856233477592468,
-0.01772783324122429,
-0.047667406499385834,
0.02530813030898571,
0.00018891114450525492,
-0.0001634338841540739,
-0.024787744507193565,
0.030511995777487755,
-0.03552505373954773,
0.019150223582983017,
0.02634890377521515,
0.049714259803295135,
-0.05783228948712349,
0.031899694353342056,
0.005910723470151424,
-0.012471930123865604,
-0.03150073066353798,
0.09637558460235596,
-0.059289369732141495,
-0.0408329963684082,
-0.026765212416648865,
0.00015896181866992265,
-0.029956916347146034,
-0.0240071639418602,
0.07264595478773117,
0.016756445169448853,
-0.01400707010179758,
-0.03833514079451561,
-0.06379938870668411,
-0.031812962144613266,
0.09436342120170593,
-0.03812698647379875,
0.016340136528015137,
-0.01979203335940838,
0.01883799210190773,
0.0005740514025092125,
-0.019653264433145523,
0.033894509077072144,
0.03306188806891441,
0.004974027629941702,
-0.013018336147069931,
-0.009297572076320648,
0.01115361787378788,
-0.03254150226712227,
0.012654065154492855,
-0.033148620277643204,
-0.0240765493363142,
0.009158802218735218,
-0.011812773533165455,
-0.04808371514081955,
0.005784963257610798,
-0.008690454997122288,
-0.013061701320111752,
0.02813556417822838,
-0.002057695062831044,
0.0162100400775671,
-0.012758142314851284,
0.04173499718308449,
0.03729436546564102,
-0.005663539748638868,
-0.030806882306933403,
0.07403365522623062,
0.009991421364247799,
0.04093707352876663,
0.01883799210190773,
-0.024978552013635635,
0.022706197574734688,
-0.013157106004655361,
0.009236861020326614,
0.026765212416648865,
-0.017693141475319862,
-0.04308800399303436,
-0.06938486546278,
-0.012029601261019707,
-0.0030442611314356327,
0.05457120016217232,
-0.02822229452431202,
0.07819674909114838,
0.04818779230117798,
0.0009827716276049614,
-0.006804053671658039,
0.0007166155846789479,
-0.02353881672024727,
-0.03798821568489075,
0.028343718498945236,
-0.04627970606088638,
-0.03961876034736633,
0.03861267864704132,
0.0091848224401474,
-0.016331464052200317,
-0.005208201706409454,
-0.026938674971461296,
-0.0526978075504303,
0.0038942256942391396,
-0.017033984884619713,
0.02372962422668934,
0.012957624159753323,
-0.026730520650744438,
0.02988753281533718,
0.02830902673304081,
0.03684336692094803,
0.036878056824207306,
-0.04773679003119469,
0.040173839777708054,
0.031067075207829475,
0.005216874647885561,
-0.025464246049523354,
-0.006825736258178949,
0.03217723220586777,
0.013339241035282612,
0.03157011419534683,
-0.04555116593837738,
0.0494714118540287,
-0.068933866918087,
-0.01330454833805561,
0.03611482307314873,
-0.038092292845249176,
0.006183926481753588,
0.04451039433479309,
0.004236813634634018,
0.0702521800994873,
-0.01283620111644268,
-0.024631628766655922,
-0.039306528866291046,
-0.013000989332795143,
0.024822436273097992,
-0.07854367047548294,
0.014640207402408123,
-0.01751100644469261,
0.013738203793764114,
-0.024041857570409775,
0.018699221312999725,
0.01603657752275467,
-0.03535158932209015,
0.002081546001136303,
-0.055716048926115036,
0.04197784513235092,
-0.007549941074103117,
0.011847466230392456,
0.05595889687538147,
0.019705303013324738,
0.04180438444018364,
0.05963629484176636,
-0.014197878539562225,
0.041110534220933914,
-0.009011359885334969,
0.07819674909114838,
0.009271552786231041,
-0.023868395015597343,
0.00724204583093524,
0.04187376797199249,
0.006752015091478825,
-0.03082422725856304,
-0.0554732009768486,
-0.0009806033922359347,
-0.044198162853717804,
-0.008464953862130642,
0.026175441220402718,
0.0026344566140323877,
0.026730520650744438,
0.013018336147069931,
-0.0401044525206089,
-0.013833608478307724,
-0.04312269762158394,
-0.07292349636554718,
0.011916851624846458,
-0.03871675580739975,
-0.04423285275697708,
-0.03429347276687622,
-0.05668743699789047,
-0.01045976858586073,
-0.039965685456991196,
0.04908979311585426,
-0.0600179098546505,
0.00862540677189827,
0.05595889687538147,
0.00728541100397706,
-0.013391279615461826,
0.011327079497277737,
0.02183888666331768,
0.04197784513235092,
-0.05110195651650429,
0.0528365783393383,
0.01186481211334467,
0.001024510944262147,
0.04714701697230339,
0.009054725058376789,
-0.0290549136698246,
-0.042775772511959076,
-0.016574310138821602,
0.004891633056104183,
-0.08305368572473526,
0.0290549136698246,
0.02832637168467045,
0.023486778140068054,
0.05155295878648758,
0.029783455654978752
]
|
43,854 | pdf2docx.converter | _page_indexes | Parsing arguments. | @staticmethod
def _page_indexes(start, end, pages, pdf_len):
'''Parsing arguments.'''
if pages:
indexes = [int(x) for x in pages]
else:
end = end or pdf_len
s = slice(int(start), int(end))
indexes = range(pdf_len)[s]
return indexes
| (start, end, pages, pdf_len) | [
-0.01962321437895298,
-0.01224938128143549,
-0.07475839555263519,
-0.007944376207888126,
-0.03134527802467346,
0.07662563025951385,
0.0349414236843586,
-0.03433630242943764,
-0.06659790873527527,
-0.0589560903608799,
0.057711269706487656,
0.030653709545731544,
-0.009163263253867626,
-0.005623304285109043,
-0.0011605359613895416,
-0.0464041493833065,
0.014756311662495136,
0.02937431074678898,
0.0022648819722235203,
0.008298804052174091,
-0.017444778233766556,
0.014756311662495136,
0.013131129555404186,
0.05459921807050705,
-0.03179479390382767,
0.03547738865017891,
0.041113659739494324,
-0.010995916090905666,
0.03966137021780014,
-0.05107222497463226,
0.006059856154024601,
-0.020020866766572,
0.019242852926254272,
0.039695948362350464,
0.019951708614826202,
-0.033800337463617325,
0.04993113875389099,
0.06801562011241913,
-0.05297403410077095,
0.12448206543922424,
-0.04249679297208786,
-0.09080275148153305,
0.019190985709428787,
-0.01707306131720543,
-0.05491042137145996,
-0.009569559246301651,
-0.01286314707249403,
-0.07524249702692032,
-0.034716665744781494,
-0.01565534807741642,
0.00956091471016407,
-0.026072077453136444,
0.04201269894838333,
-0.06552597880363464,
-0.016199957579374313,
0.10435746610164642,
-0.009223775006830692,
0.050069455057382584,
0.03966137021780014,
0.018776046112179756,
0.001474982826039195,
-0.029771961271762848,
0.02572629414498806,
-0.05387307330965996,
0.03179479390382767,
0.002192483749240637,
0.010451306588947773,
-0.005964765790849924,
-0.03651474043726921,
0.02449876256287098,
0.017332399263978004,
-0.01676185615360737,
-0.013649804517626762,
0.006855158135294914,
0.008406861685216427,
0.015370077453553677,
-0.011142874136567116,
0.0713697224855423,
0.0367913655936718,
0.012647032737731934,
0.02105821669101715,
0.022233881056308746,
0.011056427843868732,
0.015568902716040611,
0.05114138126373291,
0.035857751965522766,
0.03333353251218796,
0.0003066127246711403,
0.029512623324990273,
0.047441497445106506,
-0.046023786067962646,
0.023876352235674858,
0.0022043699864298105,
0.031085938215255737,
-0.03537365421652794,
0.007736906409263611,
0.00950904656201601,
-0.020470384508371353,
-0.06801562011241913,
-0.0315527468919754,
-0.016217246651649475,
0.006146301981061697,
0.010382150299847126,
-0.03112051635980606,
-0.005104629322886467,
-0.056570183485746384,
-0.0329531691968441,
-0.03734461963176727,
0.00604688934981823,
0.024446895346045494,
-0.027489790692925453,
-0.02887292392551899,
-0.0023145885206758976,
-0.01891435869038105,
-0.03630727156996727,
0.018119055777788162,
-0.0037668792065232992,
-0.021905386820435524,
-0.02093719132244587,
-0.040940769016742706,
-0.00041196864913217723,
-0.0319158174097538,
-0.05477210879325867,
0.0404912494122982,
0.0018240080680698156,
-0.01841297186911106,
-0.00467672199010849,
0.0404912494122982,
0.01881062425673008,
-0.001866150414571166,
0.03845112770795822,
-0.023253941908478737,
-0.03893522545695305,
-0.014125256799161434,
0.028388826176524162,
-0.0534927099943161,
-0.0060555338859558105,
0.041839804500341415,
-0.092808298766613,
0.005817807745188475,
0.001437162747606635,
0.02520761825144291,
0.017626315355300903,
0.0017375622410327196,
-0.04553968831896782,
0.04201269894838333,
0.057987894862890244,
0.031137805432081223,
-0.02105821669101715,
0.015119384042918682,
-0.008869347162544727,
0.005363966803997755,
0.031777504831552505,
-0.02645243890583515,
-0.00965600460767746,
-0.05421885475516319,
-0.008666199631989002,
-0.05338897556066513,
0.02451605163514614,
-0.009474468417465687,
0.006336483173072338,
-0.0007142591057345271,
-0.05311235040426254,
-0.024031953886151314,
-0.02014189027249813,
0.04598920792341232,
0.006319193635135889,
-0.045920051634311676,
0.01849941909313202,
0.0029758994933217764,
0.024844545871019363,
0.039695948362350464,
-0.06573344767093658,
0.003600470954552293,
0.029564490541815758,
0.0378287173807621,
0.017159506678581238,
0.04872089996933937,
0.0029975108336657286,
0.07704056799411774,
-0.006384028121829033,
0.0014717411249876022,
-0.010658777318894863,
-0.045505110174417496,
0.05874862149357796,
0.02245863899588585,
-0.007948698475956917,
0.04197812080383301,
0.011151518672704697,
-0.018326526507735252,
-0.009975854307413101,
-0.02743792161345482,
0.025587979704141617,
-0.004776135087013245,
-0.03234804794192314,
0.022095566615462303,
-0.043568722903728485,
0.03160461410880089,
-0.03962679207324982,
0.007334933150559664,
0.005018183495849371,
0.01509345043450594,
-0.04903210327029228,
-0.0014339210465550423,
-0.0022076116874814034,
0.052005842328071594,
-0.01561212632805109,
0.04830595850944519,
-0.06677079945802689,
0.006535308435559273,
0.011747995391488075,
-0.07261454313993454,
-0.005083017982542515,
-0.015413300134241581,
0.024948280304670334,
0.014566130936145782,
0.014617998152971268,
0.0028440693859010935,
0.04291173443198204,
-0.0036264045629650354,
0.0917709469795227,
0.030567264184355736,
0.03935016319155693,
-0.06092705577611923,
0.06365874409675598,
-0.02633141539990902,
0.024550629779696465,
-0.023720748722553253,
-0.029754672199487686,
0.005670849699527025,
0.006496408022940159,
-0.05978596955537796,
0.0039095147512853146,
0.06320922821760178,
0.05152174457907677,
0.0035896652843803167,
0.025034727528691292,
-0.0097165172919631,
0.009396667592227459,
0.008216680958867073,
-0.01870688796043396,
0.05722717195749283,
-0.020262913778424263,
0.016943393275141716,
-0.022251170128583908,
0.0465424619615078,
0.007412734441459179,
0.03540823236107826,
-0.016709988936781883,
0.021386710926890373,
-0.05988970771431923,
-0.03234804794192314,
-0.035857751965522766,
-0.008264225907623768,
0.012958237901329994,
0.07171550393104553,
-0.04159775748848915,
0.016450650990009308,
0.0016359882429242134,
0.015473812818527222,
0.02787015214562416,
-0.09571287781000137,
0.0002944562875200063,
-0.05411512032151222,
0.016597608104348183,
0.00843711756169796,
0.04588547348976135,
0.013131129555404186,
-0.03362744674086571,
0.07441261410713196,
0.011739350855350494,
0.03286672383546829,
-0.014756311662495136,
0.017522579059004784,
0.02543237805366516,
0.010589620098471642,
0.013079261407256126,
-0.011825796216726303,
-0.009448534809052944,
0.033419977873563766,
0.04128655418753624,
0.015283632092177868,
-0.04024920240044594,
-0.01377947349101305,
0.06618296355009079,
-0.03447461873292923,
0.06977911293506622,
0.04128655418753624,
-0.009604137390851974,
-0.01981339603662491,
-0.027005692943930626,
0.00803082250058651,
-0.02185351774096489,
-0.05542909726500511,
0.017652248963713646,
0.009543625637888908,
0.03637642785906792,
-0.051314275711774826,
-0.03428443521261215,
-0.03041166067123413,
-0.028907502070069313,
-0.022424060851335526,
0.0032676542177796364,
0.00007820651080692187,
-0.006474796216934919,
0.028388826176524162,
0.011324410326778889,
0.01666676625609398,
0.05055354908108711,
-0.09239335358142853,
-0.04429486766457558,
0.019588636234402657,
0.006319193635135889,
-0.012897725217044353,
-0.05480668693780899,
-0.06345127522945404,
-0.043879929929971695,
0.03537365421652794,
-0.03347184509038925,
0.051798369735479355,
-0.023461412638425827,
0.036653053015470505,
0.01433272659778595,
-0.01362387090921402,
0.060546696186065674,
0.06884549558162689,
-0.016390139237046242,
-0.0026733388658612967,
0.04201269894838333,
0.027005692943930626,
-0.025674426928162575,
0.04273884370923042,
0.010511819273233414,
0.030238768085837364,
0.016130801290273666,
-0.06358958780765533,
-0.016597608104348183,
0.02187080681324005,
-0.05743464455008507,
-0.03499329090118408,
-0.006271648686379194,
-0.06632127612829208,
-0.007512147072702646,
0.011687482707202435,
0.06452320516109467,
-0.057088859379291534,
-0.000951985246501863,
-0.007430023513734341,
0.0038014575839042664,
-0.008769934996962547,
-0.005640593823045492,
0.03699883818626404,
-0.002241109497845173,
0.014756311662495136,
0.020055444911122322,
0.01841297186911106,
0.038278236985206604,
-0.04626583680510521,
-0.0077239396050572395,
0.04197812080383301,
0.06881091743707657,
-0.0014274376444518566,
-0.031137805432081223,
-0.028112201020121574,
0.0036242434289306402,
-0.018049899488687515,
-0.022942736744880676,
-0.0008558141998946667,
0.03521805256605148,
0.025242196395993233,
0.000058283432736061513,
-0.018015321344137192,
-0.011730706319212914,
-0.02989298477768898,
0.016805078834295273,
-0.00650505255907774,
-0.040007151663303375,
0.029011236503720284,
-0.09882493317127228,
-0.01016603596508503,
-0.06244850531220436,
-0.0057097505778074265,
0.03521805256605148,
0.05916355922818184,
-0.04823680222034454,
-0.031587325036525726,
-0.02541508898139,
0.0024118400178849697,
0.025674426928162575,
0.059820547699928284,
-0.011696127243340015,
0.011566459201276302,
-0.016908813267946243,
-0.009223775006830692,
0.022960025817155838,
-0.02633141539990902,
0.028112201020121574,
-0.022441349923610687,
0.02449876256287098,
-0.04882463440299034,
0.028993947431445122,
-0.003924643155187368,
-0.03210600093007088,
0.08077502995729446,
-0.008830446749925613,
-0.01647658459842205,
0.04879005625844002,
-0.048859212547540665,
-0.019398456439375877,
0.009033594280481339,
-0.0007542403182014823,
-0.025985632091760635,
-0.0006802210118621588,
-0.008674844168126583,
0.007676394190639257,
-0.03352371230721474,
0.011013205163180828,
0.01760902628302574,
-0.016649477183818817,
-0.0036069543566554785,
0.02470623329281807,
-0.04426028952002525,
0.02235490456223488,
0.059440188109874725,
0.05480668693780899,
-0.02378990687429905,
0.011540524661540985,
-0.0534927099943161,
0.006146301981061697,
0.040110889822244644,
-0.015205830335617065,
0.007784451358020306,
-0.07143887877464294,
-0.052628252655267715,
0.023029182106256485,
0.017660893499851227,
-0.006215458735823631,
0.0329531691968441,
0.05103764683008194,
0.026608042418956757,
0.03335082158446312,
0.020919902250170708,
0.0356157012283802,
0.06320922821760178,
0.05542909726500511,
-0.038589440286159515,
-0.06683995574712753,
-0.034716665744781494,
-0.03316063806414604,
-0.08042924851179123,
-0.01377947349101305,
-0.012456851080060005,
0.001962321577593684,
-0.059820547699928284,
0.06047753617167473,
-0.029771961271762848,
-0.0594056099653244,
0.02135213278234005,
0.022804422304034233,
0.037586670368909836,
0.06611380726099014,
0.07793960720300674,
0.0018045577453449368,
-0.0432920977473259,
0.012309893034398556,
0.0174707118421793,
-0.029149550944566727,
0.018741466104984283,
-0.03862401843070984,
-0.01388320792466402,
0.028630875051021576,
-0.02033207193017006,
-0.0356157012283802,
-0.05553283169865608,
0.03362744674086571,
0.05594777315855026,
0.004285554401576519,
-0.0004949026624672115,
-0.001962321577593684,
-0.042773421853780746,
-0.025553401559591293,
-0.012526008300483227,
0.036238111555576324,
0.04740691930055618,
-0.05224788933992386,
0.0014544519362971187,
0.008052433840930462,
0.00264308275654912,
-0.09066443890333176,
-0.037171728909015656,
0.04678450897336006,
-0.0000723308912711218,
0.006258681882172823,
-0.03883149102330208,
0.06241392716765404,
0.00041926250560209155,
0.06168777868151665,
0.060857899487018585,
0.010529108345508575,
0.0008482501725666225,
0.016009777784347534,
-0.03139714524149895,
0.09246250987052917,
-0.062068141996860504,
0.006085789762437344,
0.026780933141708374,
0.009604137390851974,
0.019675081595778465,
-0.0627942904829979,
-0.027368765324354172,
0.001750529045239091,
-0.013814051635563374,
-0.003006155602633953,
0.03079202212393284,
-0.00036388312582857907,
0.04446776211261749,
-0.019554058089852333,
0.006526663899421692,
0.016312338411808014,
0.03070557676255703,
0.0024096788838505745,
0.0045556980185210705,
0.0174707118421793,
-0.06853429228067398,
0.030567264184355736,
0.016744567081332207,
-0.0431537851691246,
-0.03281485661864281,
-0.012033266946673393,
-0.0057097505778074265,
-0.008627299219369888,
0.01739291101694107,
0.05044981464743614,
-0.020055444911122322,
-0.004923092667013407,
0.02062598615884781,
0.023530568927526474,
-0.05207499861717224,
0.15740065276622772,
0.06943333148956299,
0.02359972521662712,
-0.0026971115730702877,
-0.011730706319212914,
-0.028613585978746414,
0.01881062425673008,
0.027368765324354172,
-0.03347184509038925,
0.018568575382232666,
0.06141115352511406,
0.024274002760648727,
0.003537797601893544,
-0.04187438264489174,
0.04612752050161362,
-0.026763644069433212,
0.012672966346144676,
0.03212329000234604,
-0.022977314889431,
-0.04771812632679939,
0.0008785062818787992,
0.0033238441683351994,
-0.016096223145723343,
-0.03862401843070984,
-0.037275463342666626,
-0.02014189027249813,
-0.1221998929977417,
0.038900647312402725,
0.002893775934353471,
-0.033005036413669586,
-0.06542224436998367,
-0.0372408851981163,
0.008510597050189972,
-0.0028591975569725037,
-0.07724803686141968,
0.012802635319530964,
0.022752555087208748,
0.0027381733525544405,
0.01499836053699255,
-0.06836140155792236,
0.026798222213983536,
-0.037379197776317596,
0.044675230979919434,
0.004715622868388891,
0.00833770539611578,
-0.03414612263441086,
0.035027869045734406,
0.06742778420448303,
0.0018812784692272544,
-0.039384741336107254,
0.017427489161491394,
-0.018326526507735252,
0.002785718534141779,
-0.04636957123875618,
-0.011142874136567116,
-0.013182996772229671,
-0.027022982016205788,
0.05228246748447418,
-0.04616209864616394,
-0.049377888441085815,
-0.0648689866065979,
-0.060546696186065674,
-0.017038483172655106,
0.09474468231201172,
-0.01316570769995451,
0.03428443521261215,
0.05110680311918259,
0.00909410696476698,
0.055152472108602524,
-0.018845202401280403,
-0.01697797141969204,
-0.009284287691116333,
-0.039695948362350464,
-0.029910273849964142,
0.014505618251860142,
-0.010563686490058899,
-0.03291859105229378,
0.024152979254722595,
0.004421706777065992,
0.012880436144769192,
0.05968223512172699,
0.02389364130795002,
-0.0973726361989975,
0.024429606273770332,
-0.004091051407158375,
-0.0009444212191738188,
0.0017883491236716509,
-0.038485705852508545,
0.032780278474092484,
-0.011168807744979858,
0.05632813647389412,
0.00393760995939374,
0.004663755185902119,
0.00986347533762455,
0.07489670813083649,
-0.039903417229652405,
0.0028656809590756893,
0.013546069152653217,
-0.0004708599008154124,
-0.013814051635563374,
-0.0486171618103981,
0.06224103271961212,
-0.028803767636418343,
-0.021905386820435524,
-0.029460756108164787,
-0.02439502812922001,
0.04457149654626846,
-0.016519807279109955,
0.014661220833659172,
-0.008666199631989002,
0.06272513419389725,
-0.011272543109953403,
0.00910275150090456,
0.018482130020856857,
0.001485788612626493,
-0.0016705666203051805,
-0.11051241308450699,
0.028215935453772545,
0.02104092761874199,
-0.011246608570218086,
0.0232712309807539,
-0.03253822773694992,
0.004121307283639908,
0.0174707118421793,
-0.00727442093193531,
-0.060546696186065674,
-0.02583002857863903,
-0.026193100959062576,
-0.014661220833659172,
0.03475124388933182,
0.010969982482492924,
0.021386710926890373,
0.03883149102330208,
0.04180522635579109,
0.022631531581282616,
0.010693355463445187,
0.016243180260062218,
0.023253941908478737,
0.014782245270907879,
-0.059232715517282486,
-0.009154618717730045,
-0.003600470954552293,
-0.006829224526882172,
-0.02391093038022518,
-0.029235996305942535,
0.010831668972969055,
0.015698572620749474,
0.06894923746585846,
0.018361104652285576,
-0.023046471178531647,
0.03571943938732147,
0.043568722903728485,
-0.008756967261433601,
-0.008964437991380692,
-0.004685366526246071,
-0.002524219686165452,
0.027403343468904495,
0.04156317934393883,
-0.039419323205947876,
-0.018585864454507828,
0.038485705852508545,
-0.0017224341863766313,
0.015793662518262863,
-0.022130144760012627,
0.025605270639061928,
0.034716665744781494,
-0.06732404977083206,
-0.08948877453804016,
-0.014004232361912727,
0.008653232827782631,
-0.040733300149440765,
0.010338927619159222,
0.005735684186220169,
0.007806063164025545,
0.018343815580010414,
0.003278460120782256,
-0.00739544490352273,
0.013684382662177086,
-0.0030645064543932676,
0.06099621206521988,
-0.001507400069385767,
0.005000893957912922,
0.05359644442796707,
-0.0090508833527565,
0.04159775748848915,
0.025501534342765808,
-0.06760067492723465,
-0.00620249193161726,
0.0057702623307704926,
0.016338272020220757,
-0.0077239396050572395,
-0.03741377592086792,
-0.007849286310374737,
-0.041079081594944,
-0.015629414469003677,
-0.03935016319155693,
-0.0384165495634079,
-0.01870688796043396,
0.0022151756566017866,
-0.054979581385850906,
-0.047648970037698746,
-0.04851342737674713,
0.017652248963713646,
0.06092705577611923,
-0.055359940975904465,
0.019052671268582344,
-0.0077066500671207905,
0.01584552973508835,
0.03592690825462341,
0.004892836790531874,
-0.012024622410535812,
-0.03755209222435951,
-0.003501058090478182,
0.06998658180236816,
-0.019346587359905243,
-0.003220109036192298,
-0.03328166529536247,
-0.0005559550481848419,
0.04840969294309616,
-0.007356544490903616,
-0.050484392791986465,
-0.00696753803640604,
-0.047026559710502625,
0.05172921344637871,
-0.06431573629379272,
0.03276298940181732,
0.03755209222435951,
0.02461978606879711,
0.02704027108848095,
0.012344472110271454
]
|
43,855 | pdf2docx.converter | _parse_pages_per_cpu | Render a page range of a document.
Args:
vector (list): A list containing required parameters.
* 0 : segment number for current process
* 1 : count of CPUs
* 2,3: whole pages range to process
* 4 : pdf filename
* 5 : password for encrypted pdf
* 6 : configuration parameters
* 7 : json filename storing parsed results
| @staticmethod
def _parse_pages_per_cpu(vector):
'''Render a page range of a document.
Args:
vector (list): A list containing required parameters.
* 0 : segment number for current process
* 1 : count of CPUs
* 2,3: whole pages range to process
* 4 : pdf filename
* 5 : password for encrypted pdf
* 6 : configuration parameters
* 7 : json filename storing parsed results
'''
# recreate the arguments
idx, cpu, s, e, pdf_filename, password, kwargs, json_filename = vector
# open pdf to get page count: all pages are marked to parse temporarily
# since don't know which pages to parse for this moment
cv = Converter(pdf_filename, password)
cv.load_pages()
# the specified pages to process
e = e or len(cv.fitz_doc)
all_indexes = range(s, e)
num_pages = len(all_indexes)
# page segment processed by this cpu
m = int(num_pages/cpu)
n = num_pages % cpu
seg_size = m + int(idx<n)
seg_from = (m+1)*idx + min(n-idx, 0)
seg_to = min(seg_from + seg_size, num_pages)
page_indexes = [all_indexes[i] for i in range(seg_from, seg_to)]
# now, mark the right pages
for page in cv.pages: page.skip_parsing = True
for i in page_indexes:
cv.pages[i].skip_parsing = False
# parse pages and serialize data for further processing
cv.parse_document(**kwargs) \
.parse_pages(**kwargs) \
.serialize(json_filename)
cv.close()
| (vector) | [
0.0270187109708786,
0.00890688132494688,
-0.1059708520770073,
0.015052279457449913,
0.0024349275045096874,
0.07476170361042023,
-0.012404761277139187,
-0.03941470384597778,
-0.07384997606277466,
-0.003212964627891779,
0.09061174094676971,
0.03392680361866951,
-0.02719404175877571,
0.025773851200938225,
-0.020338548347353935,
-0.020864546298980713,
0.04684879630804062,
0.014377250336110592,
0.002735184272751212,
-0.016376039013266563,
-0.02828110381960869,
-0.01727023348212242,
0.02659791335463524,
0.07265771180391312,
-0.01021310780197382,
-0.01592894084751606,
0.02772003971040249,
-0.035346996039152145,
-0.0020908378064632416,
-0.017726097255945206,
0.013965219259262085,
0.014499982818961143,
-0.03243647888302803,
0.0016612737672403455,
0.021110011264681816,
-0.00842471793293953,
0.04520067200064659,
0.03650419041514397,
-0.09846662729978561,
0.03766138106584549,
-0.040571898221969604,
-0.036644455045461655,
-0.05417768657207489,
-0.01833976060152054,
-0.05750900134444237,
0.02435365878045559,
-0.037030186504125595,
0.02736937440931797,
-0.019409287720918655,
-0.02191654033958912,
-0.014272050932049751,
-0.06771334260702133,
0.056176476180553436,
-0.0107829375192523,
-0.030823420733213425,
0.05666740611195564,
-0.020917145535349846,
0.08324778825044632,
0.02342439815402031,
0.009625744074583054,
-0.0038595027290284634,
-0.007846121676266193,
0.03238387778401375,
0.025019921362400055,
0.010134208016097546,
-0.007670789025723934,
0.02342439815402031,
-0.016919568181037903,
-0.05116197094321251,
0.03787178173661232,
-0.01040597353130579,
-0.029508428648114204,
0.010379672981798649,
0.018252095207571983,
0.01246612798422575,
0.02175874076783657,
-0.02945582941174507,
0.046568263322114944,
0.0014903247356414795,
0.023757528513669968,
0.08296725153923035,
0.0005270927795208991,
0.028386302292346954,
-0.0772864893078804,
0.053721822798252106,
0.02137300930917263,
0.06950172781944275,
0.024599123746156693,
0.0017160651041194797,
0.06515348702669144,
-0.020005417987704277,
0.01592017523944378,
0.008806065656244755,
0.041132960468530655,
0.005207370035350323,
0.01029200665652752,
-0.0055405013263225555,
-0.008109119720757008,
-0.08703496307134628,
-0.030420158058404922,
0.00835458468645811,
0.041518691927194595,
-0.012124230153858662,
-0.037976980209350586,
0.005010121036320925,
-0.03881857544183731,
-0.030665623024106026,
0.003839777782559395,
0.025230320170521736,
0.015332811512053013,
-0.03769644722342491,
-0.01499968022108078,
-0.0135093554854393,
-0.025423185899853706,
-0.044113609939813614,
0.004979437682777643,
-0.06427682936191559,
-0.015858808532357216,
-0.010081607848405838,
0.00001550423985463567,
0.006347029935568571,
-0.016735469922423363,
-0.016779303550720215,
0.010555005632340908,
-0.0934871956706047,
-0.07427076995372772,
0.04130829498171806,
0.06550415605306625,
0.013184990733861923,
0.05309062451124191,
-0.008806065656244755,
-0.005154770333319902,
0.011361533775925636,
-0.007951321080327034,
0.018252095207571983,
-0.08114379644393921,
-0.05572061240673065,
0.02452899143099785,
-0.07672542333602905,
0.033646270632743835,
0.009678344242274761,
-0.01706860028207302,
-0.007315740920603275,
-0.020180750638246536,
0.005842949729412794,
0.061576709151268005,
0.04295641928911209,
-0.0023165782913565636,
-0.04835665225982666,
0.019006023183465004,
0.025212787091732025,
0.030087025836110115,
0.030998753383755684,
-0.04176415875554085,
0.05344128981232643,
-0.009853675961494446,
0.01144043356180191,
-0.06371576339006424,
-0.024493925273418427,
0.006873026955872774,
0.006167314480990171,
0.01367592066526413,
-0.02286333404481411,
-0.0026760094333440065,
-0.006487295962870121,
0.0647677555680275,
-0.021320410072803497,
-0.027281709015369415,
-0.003366380464285612,
0.025230320170521736,
0.038152310997247696,
0.040431633591651917,
-0.10562019050121307,
0.011940130963921547,
0.060454584658145905,
0.025966716930270195,
0.033470939844846725,
0.007846121676266193,
0.006671394687145948,
0.03874844312667847,
-0.02531798742711544,
0.0055185845121741295,
0.0045279571786522865,
-0.015858808532357216,
0.00239328620955348,
-0.001810306217521429,
0.027141442522406578,
-0.0034430883824825287,
0.03839777782559395,
-0.03566259518265724,
-0.020303482189774513,
-0.005860482808202505,
0.018444959074258804,
0.0028710667975246906,
0.009853675961494446,
0.016156872734427452,
-0.025160187855362892,
-0.01967228576540947,
0.0017653772374615073,
-0.037556182593107224,
-0.013430455699563026,
0.009967641904950142,
0.0070395926013588905,
-0.012299561873078346,
-0.07518249750137329,
-0.021127544343471527,
-0.030279891565442085,
0.08451017737388611,
-0.05526474490761757,
0.052775029093027115,
-0.005807883106172085,
-0.059718187898397446,
-0.0062418305315077305,
0.03839777782559395,
0.026492713019251823,
-0.009774777106940746,
0.0084378682076931,
0.02251266874372959,
-0.017515698447823524,
-0.035154130309820175,
0.053721822798252106,
0.04951384663581848,
0.024669257923960686,
-0.07763715088367462,
0.017173800617456436,
-0.06161177530884743,
0.03997576981782913,
-0.00787242129445076,
-0.012913225218653679,
-0.0075261397287249565,
0.049022916704416275,
-0.07925020903348923,
-0.0111423684284091,
0.07377983629703522,
0.036644455045461655,
-0.05470368266105652,
0.022740602493286133,
0.032138414680957794,
-0.012264495715498924,
-0.014938313513994217,
0.03450540080666542,
0.020847013220191002,
-0.004663839470595121,
-0.025072520598769188,
-0.007828587666153908,
0.029087631031870842,
0.03373393788933754,
0.011151134967803955,
-0.022372404113411903,
0.02512512169778347,
-0.013430455699563026,
-0.054072488099336624,
-0.045656535774469376,
-0.037556182593107224,
-0.0048172553069889545,
0.002936816308647394,
-0.040186166763305664,
0.024038061499595642,
0.020847013220191002,
0.043798014521598816,
0.005316952709108591,
-0.08324778825044632,
-0.008569367229938507,
-0.005316952709108591,
0.029140232130885124,
-0.053511422127485275,
0.023757528513669968,
0.02847396768629551,
-0.04071216285228729,
0.05722846835851669,
-0.04961904510855675,
-0.00814418587833643,
-0.012974591925740242,
0.004083051346242428,
0.010756637901067734,
-0.004861088469624519,
-0.00716670835390687,
0.016174405813217163,
0.04046669974923134,
0.049408648163080215,
0.04898785054683685,
-0.0299818255007267,
-0.03564506024122238,
-0.009730943478643894,
0.05677260458469391,
-0.041694026440382004,
0.022407470270991325,
0.03373393788933754,
0.00029751702095381916,
-0.04776052385568619,
-0.04116802662611008,
0.028351236134767532,
-0.000414222595281899,
-0.06683667749166489,
-0.011571932584047318,
0.0015363494167104363,
0.00519860303029418,
-0.10113167762756348,
-0.023862728849053383,
-0.02552838623523712,
-0.01630590483546257,
-0.009958875365555286,
0.057649265974760056,
-0.009538077749311924,
-0.009687110781669617,
0.05284516140818596,
0.012580093927681446,
-0.014780514873564243,
0.03152475133538246,
-0.05638687312602997,
-0.030858488753437996,
0.0084378682076931,
0.039484839886426926,
0.023512063547968864,
-0.09047147631645203,
0.04576173424720764,
0.01369345374405384,
0.06827440112829208,
0.004808488767594099,
0.00376964476890862,
-0.023003600537776947,
0.08415951579809189,
0.03247154504060745,
0.009450412355363369,
0.05999872088432312,
0.014096718281507492,
0.021671075373888016,
-0.01301842462271452,
0.02377506159245968,
0.03766138106584549,
-0.014482449740171432,
0.06631068140268326,
-0.026212181895971298,
0.03632885590195656,
-0.011536866426467896,
-0.029718827456235886,
-0.015122412703931332,
-0.009117280133068562,
0.00006622904038522393,
-0.046392932534217834,
0.011037169024348259,
-0.01180863194167614,
-0.02757977321743965,
-0.03471579775214195,
-0.0012229429557919502,
-0.04884758219122887,
0.031209152191877365,
0.0010180232347920537,
-0.002171928994357586,
-0.03930950537323952,
-0.008744698949158192,
0.06034938246011734,
0.015788674354553223,
0.08282698690891266,
-0.04176415875554085,
-0.017901429906487465,
0.007854888215661049,
-0.08226592093706131,
0.01507857907563448,
-0.01684943586587906,
-0.000317515863571316,
0.03257674351334572,
-0.05046064034104347,
0.006667011417448521,
0.018409892916679382,
-0.04923331364989281,
-0.023091265931725502,
0.005974448751658201,
0.06596001982688904,
0.007885570637881756,
0.014938313513994217,
0.00984490942209959,
-0.016735469922423363,
-0.020496347919106483,
0.02677324414253235,
-0.01367592066526413,
-0.052599694579839706,
0.015709776431322098,
-0.05733366683125496,
0.006075264886021614,
0.00020820712961722165,
0.03906404227018356,
0.03134941682219505,
0.028000570833683014,
-0.0035592459607869387,
-0.04614746570587158,
-0.014903247356414795,
-0.01029200665652752,
0.03913417458534241,
0.010458572767674923,
-0.02438872493803501,
0.048286519944667816,
-0.010537472553551197,
0.009748476557433605,
0.03878350928425789,
-0.007363957352936268,
0.0037280034739524126,
0.027316775172948837,
-0.01509611215442419,
-0.007377107162028551,
0.018076762557029724,
0.032331280410289764,
-0.08093339949846268,
0.04961904510855675,
-0.027895372360944748,
-0.029718827456235886,
0.08570243418216705,
-0.044534407556056976,
0.027229109779000282,
0.07946060597896576,
-0.025370586663484573,
-0.04513053968548775,
-0.00016683965804986656,
-0.0075436728075146675,
-0.07041345536708832,
-0.006303196772933006,
-0.028018103912472725,
-0.04036150127649307,
-0.014938313513994217,
0.011449200101196766,
0.05263476073741913,
0.053862087428569794,
-0.0022595953196287155,
0.06336510181427002,
0.031980615109205246,
-0.05656220763921738,
0.017357898876070976,
-0.06361056864261627,
0.021969139575958252,
0.02081194706261158,
-0.009915042668581009,
-0.004738355986773968,
-0.07819821685552597,
-0.052003566175699234,
0.00880168192088604,
-0.01800662837922573,
-0.021057412028312683,
0.004716439172625542,
0.018813157454133034,
-0.0020152258221060038,
0.045481204986572266,
-0.008275685831904411,
0.039449770003557205,
0.012702826410531998,
0.043587613850831985,
0.01853262633085251,
-0.08745575696229935,
-0.0030157158616930246,
-0.09790556877851486,
-0.06690680980682373,
0.022740602493286133,
0.008744698949158192,
-0.009818609803915024,
-0.043201882392168045,
0.045831866562366486,
-0.03315534070134163,
0.01724393293261528,
-0.013860019855201244,
0.02477445639669895,
0.06143644452095032,
0.06315469741821289,
0.025037454441189766,
0.023143865168094635,
0.0175945982336998,
-0.024599123746156693,
0.022004205733537674,
-0.016376039013266563,
0.05536994710564613,
-0.023880261927843094,
-0.002700117649510503,
0.012299561873078346,
-0.022249670699238777,
-0.020759345963597298,
-0.06631068140268326,
0.008985781110823154,
0.06034938246011734,
-0.020706746727228165,
-0.054107554256916046,
0.023336730897426605,
-0.01891835778951645,
-0.00814418587833643,
-0.045796800404787064,
0.06985239684581757,
0.05007490888237953,
-0.046568263322114944,
0.0007462581852450967,
0.02884216606616974,
0.014868180267512798,
0.0011297976598143578,
-0.013465521857142448,
-0.02924543060362339,
0.031945548951625824,
-0.008060903288424015,
-0.0003427198971621692,
0.010441039688885212,
-0.02964869514107704,
0.038713376969099045,
0.04193948954343796,
0.023354263976216316,
-0.04485000669956207,
0.004970671143382788,
-0.0008678949670866132,
0.05978832021355629,
-0.05361662432551384,
0.04362268000841141,
0.04937358200550079,
0.016393572092056274,
0.03261180967092514,
-0.0420096218585968,
0.0032918641809374094,
-0.012211895547807217,
-0.05487901717424393,
0.022056804969906807,
0.024318592622876167,
-0.03301507607102394,
0.035522326827049255,
-0.011265101842582226,
0.007429706864058971,
0.03454046696424484,
-0.01704230159521103,
0.0062242974527180195,
0.009064680896699429,
0.017515698447823524,
-0.08373871445655823,
-0.000055168038670672104,
0.045796800404787064,
-0.005514201242476702,
-0.05077623948454857,
0.018304694443941116,
-0.016560137271881104,
-0.02135547623038292,
0.010134208016097546,
0.04323694854974747,
-0.040396567434072495,
0.017761163413524628,
-0.0006416066898964345,
0.03336574137210846,
-0.0610857792198658,
0.11971690505743027,
-0.016367271542549133,
0.007854888215661049,
-0.00759188923984766,
0.0030880405101925135,
0.002925858134403825,
0.058420728892087936,
0.016928335651755333,
0.03489113226532936,
0.012939524836838245,
0.06406643241643906,
0.0027790172025561333,
-0.02945582941174507,
-0.023932861164212227,
0.027036244049668312,
-0.03229621425271034,
0.008946331217885017,
0.053897153586149216,
0.013649621047079563,
-0.03937963768839836,
0.03206828236579895,
-0.011116068810224533,
-0.0067108445800840855,
-0.010046541690826416,
-0.0038901858497411013,
-0.05642193928360939,
-0.05533488094806671,
0.007771605160087347,
-0.022232137620449066,
-0.017533231526613235,
-0.029736360535025597,
-0.03657432273030281,
0.06901080161333084,
0.005842949729412794,
-0.027807705104351044,
-0.02964869514107704,
0.0024349275045096874,
-0.0017566106980666518,
-0.007587505970150232,
-0.01135276723653078,
0.01594647392630577,
-0.022354871034622192,
0.004961904603987932,
-0.003980043809860945,
0.0363989882171154,
-0.1069527119398117,
0.035908058285713196,
0.025616051629185677,
-0.007337657734751701,
-0.020163215696811676,
0.04071216285228729,
-0.0012536260765045881,
-0.05666740611195564,
-0.04295641928911209,
-0.010353373363614082,
-0.023722462356090546,
-0.019724885001778603,
0.0490579828619957,
-0.0017281192122027278,
-0.005001354496926069,
-0.048461854457855225,
-0.04555133730173111,
-0.06539895385503769,
0.08703496307134628,
-0.004707672633230686,
0.01535911113023758,
0.009704643860459328,
0.004431524313986301,
-0.003399255219846964,
-0.0161130391061306,
0.0010415836004540324,
-0.011563166044652462,
-0.00036764994729310274,
0.016200706362724304,
-0.01798909530043602,
0.020321015268564224,
0.007377107162028551,
0.015788674354553223,
-0.03713538497686386,
-0.036293789744377136,
0.051477570086717606,
0.010853070765733719,
-0.0495489127933979,
0.02961362898349762,
-0.016165640205144882,
-0.030595488846302032,
0.003793752985075116,
-0.014771747402846813,
0.031752683222293854,
-0.021653540432453156,
0.034014470875263214,
0.03822244703769684,
0.027211574837565422,
-0.02772003971040249,
0.07441103458404541,
0.007245608139783144,
0.0024349275045096874,
0.008806065656244755,
-0.023845195770263672,
0.022810734808444977,
-0.024055594578385353,
0.04530587047338486,
0.004918071441352367,
-0.01778746396303177,
-0.04193948954343796,
-0.04884758219122887,
0.012474894523620605,
-0.001026789890602231,
0.027807705104351044,
0.005886782426387072,
0.1261691302061081,
0.07413050532341003,
0.010598838329315186,
0.024090660735964775,
0.005378318950533867,
-0.04141349345445633,
-0.06981732696294785,
0.024897189810872078,
0.00259930151514709,
-0.009993942454457283,
0.0157536081969738,
-0.008433484472334385,
-0.02077687904238701,
0.00431098323315382,
-0.0036885535810142756,
-0.0423252210021019,
0.004839172121137381,
-0.0277375727891922,
0.01818196102976799,
0.034207336604595184,
-0.05491408333182335,
0.026685578748583794,
0.03696005418896675,
0.025160187855362892,
0.035539861768484116,
-0.02438872493803501,
0.009538077749311924,
0.019163822755217552,
-0.0015385410515591502,
-0.03731071576476097,
-0.00004739451833302155,
0.030630556866526604,
0.019970351830124855,
0.010914436541497707,
-0.058034997433423996,
0.06020911782979965,
-0.06424175947904587,
-0.008884965442121029,
0.024230927228927612,
-0.040186166763305664,
-0.008240618743002415,
0.008218702860176563,
0.0019483803771436214,
0.02345946431159973,
0.012781726196408272,
-0.0330326072871685,
-0.030858488753437996,
-0.016016608104109764,
0.014727914705872536,
-0.0363989882171154,
0.020321015268564224,
-0.0010443230858072639,
0.041518691927194595,
-0.0181994941085577,
0.0005577759584411979,
0.03667952120304108,
-0.0828971192240715,
-0.008950714953243732,
-0.04257068783044815,
0.017954029142856598,
-0.000002713883986871224,
-0.03483853116631508,
0.06396123021841049,
0.01629713922739029,
0.04127322882413864,
0.04814625531435013,
-0.01928655430674553,
0.07889954000711441,
-0.039835501462221146,
0.06462749093770981,
0.04674359783530235,
-0.03839777782559395,
0.013053490780293941,
0.03650419041514397,
0.029017498716711998,
0.004396457690745592,
-0.046182531863451004,
-0.0025905349757522345,
-0.03499633073806763,
-0.006031431723386049,
0.04474480822682381,
0.004473165608942509,
0.023319197818636894,
0.015560743398964405,
-0.05046064034104347,
-0.04495520517230034,
-0.03170008212327957,
-0.05866619199514389,
0.013684687204658985,
-0.05137236788868904,
-0.04755012318491936,
-0.044148676097393036,
-0.04758518934249878,
0.014798047952353954,
-0.04968917742371559,
-0.001513337017968297,
0.0004114830226171762,
0.026685578748583794,
0.042430419474840164,
0.016051674261689186,
0.006618794985115528,
0.007184241898357868,
0.027983037754893303,
0.016735469922423363,
-0.05021517723798752,
0.04351748153567314,
0.007824204862117767,
-0.01911122351884842,
0.061752043664455414,
0.004839172121137381,
-0.009608210995793343,
-0.029385697096586227,
-0.047515057027339935,
-0.005860482808202505,
-0.07749688625335693,
0.03273454308509827,
0.05309062451124191,
0.027807705104351044,
0.022951001301407814,
0.034382667392492294
]
|
43,856 | pdf2docx.converter | close | null | def close(self): self._fitz_doc.close()
| (self) | [
0.027938848361372948,
0.00825889315456152,
0.0047665368765592575,
0.008889634162187576,
0.013258254155516624,
-0.028125107288360596,
-0.06813692301511765,
0.07524863630533218,
-0.046564750373363495,
0.06722256541252136,
-0.0260423943400383,
-0.08784651756286621,
0.02663503587245941,
-0.008999696001410484,
-0.019607992842793465,
0.021487515419721603,
-0.01766073890030384,
0.009905591607093811,
-0.0020551986526697874,
0.02544975094497204,
-0.0585530549287796,
-0.06478426605463028,
-0.05100109800696373,
-0.05516652762889862,
0.00143292429856956,
-0.0061211478896439075,
0.0006672517047263682,
0.024755513295531273,
-0.0024573488626629114,
-0.043144356459379196,
-0.10708198696374893,
-0.03586332127451897,
0.03008929453790188,
0.06028018519282341,
-0.0005587769555859268,
0.012699476443231106,
0.023587161675095558,
-0.04839347302913666,
0.04737751558423042,
0.03450871258974075,
0.03115605004131794,
-0.00014591170474886894,
-0.002389618195593357,
-0.03313716873526573,
-0.015061579644680023,
0.028565356507897377,
-0.03024168685078621,
-0.00010926841787295416,
-0.012191497720777988,
-0.02108113095164299,
-0.01153959147632122,
-0.02001437544822693,
0.018981484696269035,
-0.011581922881305218,
-0.014765258878469467,
-0.002133512170985341,
0.025923864915966988,
0.05574223771691322,
0.06156706437468529,
-0.035423073917627335,
0.01908308081328869,
-0.02043769136071205,
-0.032172009348869324,
-0.02292678877711296,
0.015230906195938587,
0.02478937804698944,
-0.005867158528417349,
0.016373859718441963,
0.015899745747447014,
0.024061275646090508,
0.008567913435399532,
-0.010591363534331322,
0.017389817163348198,
0.0551326610147953,
-0.00915208924561739,
-0.03955463692545891,
-0.04754684120416641,
-0.05235571041703224,
-0.0024340664967894554,
-0.03596491739153862,
0.003401343245059252,
0.04375392943620682,
-0.002520846202969551,
0.01843964122235775,
0.058993302285671234,
-0.04165428504347801,
0.11392277479171753,
0.01705116406083107,
0.0008069458999671042,
0.050594717264175415,
0.025178829208016396,
0.01860896684229374,
0.0019663022831082344,
-0.09285857528448105,
0.04585357755422592,
-0.0627184808254242,
-0.05675819516181946,
0.002385385101661086,
0.01427421160042286,
-0.010007187724113464,
-0.05235571041703224,
0.018202584236860275,
-0.009643136523663998,
0.037116337567567825,
-0.0011545941233634949,
0.0026817061007022858,
0.00364051666110754,
-0.049815814942121506,
-0.018321111798286438,
0.021047266200184822,
-0.064242422580719,
-0.007687416858971119,
0.029361190274357796,
0.021318187937140465,
-0.01006645243614912,
-0.07436813414096832,
-0.013783165253698826,
0.04327981546521187,
0.003699780907481909,
-0.004470215644687414,
-0.00004590331809595227,
0.018693629652261734,
-0.06915288418531418,
-0.0325106605887413,
-0.02140285260975361,
0.04148495942354202,
0.013698502443730831,
0.05472628027200699,
0.05161067470908165,
0.01952333003282547,
0.02341783605515957,
0.010210379026830196,
-0.014799123629927635,
-0.017762335017323494,
0.0015345200663432479,
-0.020996468141674995,
0.05482787638902664,
-0.02834523282945156,
-0.09075892716646194,
0.043787796050310135,
-0.01286880299448967,
0.022892924025654793,
0.0015271120937541127,
0.018541235476732254,
-0.025974662974476814,
0.06590181589126587,
-0.04199293628334999,
-0.06461493670940399,
-0.09150396287441254,
-0.0560808889567852,
0.008267359808087349,
-0.0022372244857251644,
-0.02573760598897934,
-0.006049184128642082,
0.02434913069009781,
-0.07301352918148041,
-0.014325009658932686,
0.047953225672245026,
0.004237391985952854,
-0.001886930549517274,
-0.00014128167822491378,
0.09211353957653046,
-0.03208734467625618,
0.020573152229189873,
-0.01650085300207138,
-0.02976757287979126,
-0.017440615221858025,
0.03505055606365204,
-0.016619382426142693,
0.01293653342872858,
-0.022672798484563828,
0.009592338465154171,
-0.02245267480611801,
0.015527226962149143,
-0.05316847562789917,
0.09502594918012619,
0.017254356294870377,
0.004499848000705242,
-0.0054396092891693115,
0.043787796050310135,
0.0008963714353740215,
-0.04385552555322647,
-0.03220587223768234,
0.035558536648750305,
-0.007179437670856714,
0.0012985215289518237,
-0.019404800608754158,
0.01208143588155508,
-0.018033256754279137,
-0.0627184808254242,
0.00984632782638073,
0.019015349447727203,
0.028175905346870422,
-0.02587306685745716,
0.06014472246170044,
-0.020674748346209526,
-0.014409673400223255,
0.010142648592591286,
0.02802351303398609,
-0.017626874148845673,
-0.033865272998809814,
0.026618104428052902,
0.03857254609465599,
-0.07220076024532318,
-0.008407053537666798,
0.04724205285310745,
0.020810209214687347,
-0.02402741089463234,
-0.06668072193861008,
0.044566698372364044,
0.03803069889545441,
0.0026457244530320168,
-0.02404434233903885,
-0.024382995441555977,
0.0688142329454422,
-0.029852237552404404,
-0.07335218042135239,
-0.027210745960474014,
-0.01935400255024433,
0.006967779714614153,
-0.01737288385629654,
0.008804970420897007,
0.04588744416832924,
-0.00952460803091526,
-0.02528042532503605,
0.01859203353524208,
0.0735553726553917,
0.018727494403719902,
0.039114389568567276,
-0.02216481976211071,
-0.03847094997763634,
0.009617737494409084,
-0.015019248239696026,
-0.015324035659432411,
-0.03406846150755882,
-0.037116337567567825,
-0.022571204230189323,
0.05909489840269089,
-0.02524656057357788,
-0.020691681653261185,
0.026855159550905228,
-0.028277501463890076,
-0.023146912455558777,
0.020353028550744057,
-0.03427165374159813,
0.061465468257665634,
0.0560808889567852,
-0.014155683107674122,
0.03809843212366104,
-0.020522354170680046,
0.02621171995997429,
-0.08283445239067078,
0.03098672442138195,
0.01583201438188553,
0.04852893576025963,
-0.09421318769454956,
-0.06156706437468529,
-0.07145572453737259,
0.028751615434885025,
-0.011344865895807743,
0.029056403785943985,
-0.00014207539788912982,
0.010955415666103363,
0.06183798611164093,
0.022384945303201675,
0.016416190192103386,
0.055572912096977234,
-0.06607114523649216,
0.0025695275980979204,
-0.01891375333070755,
0.07619686424732208,
-0.016145268455147743,
-0.018846023827791214,
-0.05327007174491882,
-0.003788677277043462,
-0.008322390727698803,
0.03423779085278511,
-0.04338141158223152,
-0.023197710514068604,
0.030952857807278633,
0.08371495455503464,
-0.010946949012577534,
0.018168717622756958,
0.030935926362872124,
0.012741808779537678,
0.024095140397548676,
-0.03227360546588898,
0.041789744049310684,
-0.017457546666264534,
-0.048901453614234924,
-0.054455358535051346,
0.04615836590528488,
0.031206848099827766,
0.024298332631587982,
0.0319349505007267,
0.006277774926275015,
0.003970703110098839,
-0.003970703110098839,
0.0026901725213974714,
0.030512610450387,
-0.03210427612066269,
-0.03701474145054817,
0.070710688829422,
0.04250091686844826,
-0.025144964456558228,
0.02077634446322918,
0.018812159076333046,
-0.010963881388306618,
0.029682910069823265,
0.07572274655103683,
0.029869168996810913,
-0.015374833717942238,
-0.022808261215686798,
0.03999488428235054,
-0.0164415892213583,
0.013723901472985744,
0.041146304458379745,
0.026872092857956886,
0.02387501671910286,
0.047479111701250076,
-0.02492484077811241,
-0.051373615860939026,
0.07037203758955002,
-0.029174931347370148,
0.022537337616086006,
-0.05560677498579025,
0.004715739283710718,
0.018067121505737305,
0.022266415879130363,
-0.02589000016450882,
-0.024687783792614937,
-0.0039262548089027405,
0.022215617820620537,
-0.003598185023292899,
0.03151163458824158,
0.03450871258974075,
0.02401047758758068,
-0.029090268537402153,
0.0006534939166158438,
-0.04243318364024162,
-0.0726071447134018,
0.006849251221865416,
-0.020065173506736755,
-0.011793580837547779,
-0.09455183893442154,
0.037895239889621735,
-0.013469912111759186,
-0.06058496981859207,
0.07809332013130188,
0.008284292183816433,
0.011057010851800442,
0.008208095096051693,
0.05672432854771614,
0.05655500292778015,
0.004584511276334524,
0.008872700855135918,
0.0338314063847065,
0.03853867948055267,
0.023485565558075905,
-0.025822268798947334,
-0.0052914489060640335,
-0.047648437321186066,
-0.061905715614557266,
-0.0001416785380570218,
0.013173590414226055,
-0.04317822307348251,
-0.01495998352766037,
0.03098672442138195,
-0.0054311431013047695,
0.005600469186902046,
0.016907237470149994,
-0.061330005526542664,
-0.016847971826791763,
-0.009211353957653046,
0.05967060849070549,
-0.027176881209015846,
0.00013122793461661786,
0.02912413328886032,
-0.02323157712817192,
0.002525079296901822,
0.0043559204787015915,
0.0551326610147953,
-0.0009942632168531418,
-0.01023577805608511,
-0.009541540406644344,
-0.047512974590063095,
-0.07253941148519516,
0.00014128167822491378,
-0.012631746008992195,
-0.0012053920654579997,
0.08236034214496613,
-0.02355329692363739,
0.018321111798286438,
0.013071995228528976,
0.03701474145054817,
0.04199293628334999,
-0.01628919504582882,
0.0011090876068919897,
0.002370568923652172,
0.0368792824447155,
-0.033272627741098404,
0.0022372244857251644,
-0.09624510258436203,
0.031714826822280884,
0.031714826822280884,
-0.007340297568589449,
-0.005790961440652609,
-0.03350968658924103,
0.06820465624332428,
-0.0015059462748467922,
-0.006239676382392645,
-0.020861007273197174,
-0.012174565345048904,
0.03132537752389908,
0.02092873863875866,
0.0393514446914196,
0.03735339641571045,
0.029818370938301086,
0.02776952274143696,
0.02495870552957058,
0.04527786746621132,
0.07341990619897842,
0.039588503539562225,
0.04141722619533539,
-0.008521349169313908,
-0.06495358794927597,
-0.021775370463728905,
0.009439944289624691,
0.026313316076993942,
0.012191497720777988,
-0.08087027072906494,
-0.04260251298546791,
-0.047208189964294434,
-0.00704820966348052,
-0.016737909987568855,
0.025669876486063004,
-0.06563089787960052,
0.02324850857257843,
-0.032155074179172516,
0.04141722619533539,
0.122050441801548,
-0.02324850857257843,
0.0179655272513628,
-0.02324850857257843,
0.011531124822795391,
0.00003783385909628123,
0.05425216630101204,
0.03347581997513771,
-0.05161067470908165,
0.008436685428023338,
0.06180411949753761,
0.02975064143538475,
-0.016712510958313942,
-0.012199964374303818,
-0.04212839901447296,
-0.019743453711271286,
0.03264612331986427,
-0.05503106489777565,
0.011141674593091011,
0.025686807930469513,
-0.017076563090085983,
0.03085126169025898,
0.030512610450387,
-0.044702157378196716,
-0.04422804340720177,
-0.022537337616086006,
-0.020657815039157867,
-0.008656810037791729,
0.019337069243192673,
-0.030157024040818214,
-0.01535790041089058,
-0.031850289553403854,
-0.025652943179011345,
-0.05591156333684921,
0.009956389665603638,
0.03562626615166664,
-0.02431526593863964,
0.03701474145054817,
0.05025606229901314,
-0.006565629504621029,
0.0020520237740129232,
-0.07938019931316376,
0.001932437065988779,
-0.02634718082845211,
-0.030885128304362297,
-0.013935559429228306,
-0.007365696597844362,
-0.061160679906606674,
-0.009270617738366127,
-0.007746681105345488,
-0.002083772560581565,
0.011988306418061256,
-0.017059629783034325,
-0.05689365789294243,
0.03227360546588898,
0.029056403785943985,
-0.0021356286015361547,
-0.00398763595148921,
-0.05035765841603279,
-0.1121617779135704,
-0.014612864702939987,
0.020810209214687347,
-0.07809332013130188,
-0.007005878258496523,
-0.002347286557778716,
-0.028751615434885025,
0.02743086963891983,
-0.05652114003896713,
0.011564990505576134,
-0.03552467003464699,
-0.09387453645467758,
-0.03330649435520172,
-0.010269643738865852,
0.03455951064825058,
0.032172009348869324,
-0.005405744072049856,
-0.02340090274810791,
-0.0006688391440548003,
0.04060446098446846,
0.019777318462729454,
0.005143288057297468,
0.016712510958313942,
-0.01722049154341221,
-0.03400073200464249,
0.022875990718603134,
-0.03545694053173065,
-0.013774699531495571,
-0.00833509024232626,
0.05614862218499184,
0.024366062134504318,
0.017059629783034325,
-0.03989328816533089,
0.02761712856590748,
-0.02340090274810791,
-0.0030415246728807688,
-0.030444879084825516,
-0.021267389878630638,
-0.06620660424232483,
0.026262518018484116,
-0.009270617738366127,
-0.02822670340538025,
-0.011573456227779388,
0.017000366002321243,
-0.015391766093671322,
0.02668583393096924,
0.021487515419721603,
0.036811549216508865,
-0.017711536958813667,
0.09130077064037323,
0.04730978608131409,
0.023045318201184273,
0.021910831332206726,
0.07484225183725357,
0.0034225089475512505,
-0.0010212495690211654,
0.09184261411428452,
-0.006997411604970694,
-0.00325318262912333,
0.02727847546339035,
-0.061126817017793655,
-0.02714301459491253,
0.04835960641503334,
0.06603728234767914,
-0.03020782209932804,
0.03769204765558243,
0.029835304245352745,
0.04355074092745781,
-0.025297358632087708,
-0.043957121670246124,
-0.022215617820620537,
-0.018846023827791214,
-0.007839810103178024,
0.07145572453737259,
-0.031985748559236526,
0.050154466181993484,
-0.016737909987568855,
-0.031410038471221924,
0.04229772463440895,
-0.001475255936384201,
-0.030258620157837868,
0.006210044026374817,
-0.010337374173104763,
0.021131929010152817,
-0.08398587256669998,
-0.0028510326519608498,
-0.00024763980763964355,
0.023180779069662094,
-0.013783165253698826,
-0.016018273308873177,
0.003405576338991523,
0.00014855741756036878,
-0.03823389112949371,
-0.02260506898164749,
-0.0756550133228302,
-0.022842125967144966,
0.023028384894132614,
0.01161578856408596,
-0.017559142783284187,
-0.029869168996810913,
-0.00343309179879725,
0.009964856319129467,
0.016280729323625565,
-0.06718870252370834,
0.016111403703689575,
-0.036811549216508865,
0.08351176232099533,
-0.028311366215348244,
0.05662273243069649,
0.013749300502240658,
0.01566268876194954,
-0.008872700855135918,
-0.031037520617246628,
-0.022215617820620537,
-0.05567450821399689,
-0.05536971986293793,
-0.024840176105499268,
-0.00891503319144249,
-0.01186131127178669,
-0.015400231815874577,
0.052457306534051895,
-0.004838500637561083,
-0.0313592404127121,
0.006967779714614153,
0.006933914497494698,
-0.04544719308614731,
0.014917652122676373,
0.0011651769746094942,
0.04073991999030113,
0.018067121505737305,
0.05482787638902664,
0.00003231090886401944,
-0.02043769136071205,
0.024213669821619987,
-0.0027409703470766544,
0.025212693959474564,
0.03320489823818207,
-0.026228653267025948,
0.002609742572531104,
0.015417165122926235,
0.0010254827793687582,
0.042568646371364594,
0.023146912455558777,
0.05157680809497833,
-0.024569254368543625,
-0.019404800608754158,
0.0014646729687228799,
0.028446828946471214,
-0.01811791956424713,
0.03948690742254257,
-0.05042538791894913,
-0.03924984857439995,
0.01969265565276146,
-0.0024954471737146378,
-0.051509078592061996,
0.006104215048253536,
-0.0663420706987381,
0.024366062134504318,
-0.03816616162657738,
-0.021826166659593582,
0.0344071164727211,
0.006366671063005924,
-0.0501883327960968,
0.0012572482228279114,
-0.02246960811316967,
-0.018829090520739555,
-0.0060745831578969955,
0.021436717361211777,
0.027312342077493668,
-0.06989791989326477,
-0.02528042532503605,
-0.03410232812166214,
0.03312023729085922,
-0.0015186457894742489,
0.003560086712241173,
-0.014697527512907982,
0.045955173671245575,
0.0050289928913116455,
0.02854842320084572,
0.019895847886800766,
0.04940943047404289,
-0.008470551110804081,
0.06590181589126587,
0.02094567008316517,
0.007230235729366541,
0.031376175582408905,
0.06366670876741409,
-0.06535997241735458,
0.020048240199685097,
-0.03874187171459198,
-0.017288221046328545,
-0.013249787501990795,
0.008085333742201328,
0.0026732399128377438,
-0.07897381484508514,
-0.0045633455738425255,
-0.009820928797125816,
0.01448586955666542,
0.027363140136003494,
-0.00825889315456152,
-0.02218175306916237,
-0.0005561312427744269,
-0.024840176105499268,
0.010218845680356026,
-0.000604283413849771,
-0.002068956382572651,
0.044736023992300034,
-0.022520406171679497,
0.005333780311048031,
-0.07077841460704803,
0.006328572519123554,
0.019794251769781113,
0.025686807930469513,
-0.03718406707048416,
0.01781313307583332,
0.030512610450387,
0.06908515095710754,
-0.024399928748607635,
0.027938848361372948,
0.025669876486063004,
-0.01442660577595234,
0.011514192447066307,
0.030783532187342644,
0.00018004154844675213,
-0.0013916509924456477,
0.008948897942900658,
-0.027854185551404953,
-0.08879474550485611,
0.04304276034235954,
-0.023282375186681747,
0.01518857479095459,
0.005325314123183489,
-0.05689365789294243,
-0.014308077283203602,
0.02326544187963009,
-0.04405871778726578,
-0.005388811230659485,
0.03606651350855827,
0.02245267480611801,
0.010540565475821495,
-0.06309100240468979,
-0.034627240151166916,
0.01722049154341221,
-0.04700499773025513,
0.03718406707048416,
0.06028018519282341,
0.016339993104338646,
-0.008013369515538216,
0.01634846068918705,
0.0041823610663414,
0.022588135674595833,
0.03667609021067619,
0.025923864915966988,
0.045040812343358994,
0.05435376241803169,
0.03538920730352402,
0.017745401710271835,
0.03318796679377556,
0.0053634122014045715,
0.007890608161687851,
0.023163845762610435,
0.037454988807439804,
-0.014054087921977043,
-0.01634846068918705,
0.001444565481506288,
0.042534779757261276,
0.05503106489777565,
-0.0067476555705070496,
-0.004961262457072735
]
|
43,857 | pdf2docx.converter | convert | Convert specified PDF pages to docx file.
Args:
docx_filename (str, file-like, optional): docx file to write. Defaults to None.
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes. Defaults to None.
kwargs (dict, optional): Configuration parameters. Defaults to None.
Refer to :py:meth:`~pdf2docx.converter.Converter.default_settings` for detail of
configuration parameters.
.. note::
Change extension from ``pdf`` to ``docx`` if ``docx_file`` is None.
.. note::
* ``start`` and ``end`` is counted from zero if ``--zero_based_index=True`` (by default).
* Start from the first page if ``start`` is omitted.
* End with the last page if ``end`` is omitted.
.. note::
``pages`` has a higher priority than ``start`` and ``end``. ``start`` and ``end`` works only
if ``pages`` is omitted.
.. note::
Multi-processing works only for continuous pages specified by ``start`` and ``end`` only.
| def convert(self, docx_filename: Union[str, IO[AnyStr]] = None, start: int = 0, end: int = None, pages: list = None,
**kwargs):
"""Convert specified PDF pages to docx file.
Args:
docx_filename (str, file-like, optional): docx file to write. Defaults to None.
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes. Defaults to None.
kwargs (dict, optional): Configuration parameters. Defaults to None.
Refer to :py:meth:`~pdf2docx.converter.Converter.default_settings` for detail of
configuration parameters.
.. note::
Change extension from ``pdf`` to ``docx`` if ``docx_file`` is None.
.. note::
* ``start`` and ``end`` is counted from zero if ``--zero_based_index=True`` (by default).
* Start from the first page if ``start`` is omitted.
* End with the last page if ``end`` is omitted.
.. note::
``pages`` has a higher priority than ``start`` and ``end``. ``start`` and ``end`` works only
if ``pages`` is omitted.
.. note::
Multi-processing works only for continuous pages specified by ``start`` and ``end`` only.
"""
t0 = perf_counter()
logging.info('Start to convert %s', self.filename_pdf)
settings = self.default_settings
settings.update(kwargs)
# input check
if pages and settings['multi_processing']:
raise ConversionException('Multi-processing works for continuous pages '
'specified by "start" and "end" only.')
# convert page by page
if settings['multi_processing']:
self._convert_with_multi_processing(docx_filename, start, end, **settings)
else:
self.parse(start, end, pages, **settings).make_docx(docx_filename, **settings)
logging.info('Terminated in %.2fs.', perf_counter()-t0)
| (self, docx_filename: Union[str, IO[~AnyStr], NoneType] = None, start: int = 0, end: Optional[int] = None, pages: Optional[list] = None, **kwargs) | [
-0.05241501331329346,
-0.011331978254020214,
0.010676790960133076,
-0.03949581831693649,
0.03211342543363571,
-0.005739813204854727,
0.04340849071741104,
0.014035780914127827,
-0.020098574459552765,
-0.03318387269973755,
0.06267654150724411,
0.026742730289697647,
0.027960825711488724,
0.019434157758951187,
-0.014829388819634914,
-0.028459137305617332,
-0.008028356358408928,
-0.05204589292407036,
0.01887124963104725,
0.03290703147649765,
0.020264677703380585,
-0.006454982794821262,
0.016859548166394234,
0.008928085677325726,
0.004733961541205645,
0.0255430918186903,
0.02144586108624935,
0.04255951568484306,
-0.009929322637617588,
-0.02530316263437271,
0.023309916257858276,
0.03953273221850395,
0.012568529695272446,
0.03595227003097534,
0.018954303115606308,
0.020006293430924416,
0.030673855915665627,
0.05584782734513283,
0.006588788703083992,
0.000491102400701493,
-0.04056626558303833,
0.016573479399085045,
-0.015927519649267197,
0.01819760724902153,
-0.046250712126493454,
0.03279629349708557,
-0.08223989605903625,
0.030157089233398438,
-0.07618632912635803,
0.05828401818871498,
-0.0037996270693838596,
-0.11154800653457642,
0.04839160665869713,
-0.0578041635453701,
0.006920996587723494,
0.0671059787273407,
-0.02236866019666195,
0.038203898817300797,
0.0008374405442737043,
-0.019637173041701317,
-0.031227536499500275,
0.012273233383893967,
0.026595082134008408,
-0.030950695276260376,
0.0434454008936882,
0.03290703147649765,
0.0005412796163000166,
-0.04126759618520737,
-0.06334096193313599,
0.08216606825590134,
-0.014146517030894756,
-0.060757119208574295,
-0.014829388819634914,
-0.014155744574964046,
0.014607916586101055,
0.09796439856290817,
-0.013389821164309978,
0.03646903857588768,
0.00894654169678688,
0.035527780652046204,
0.007871479727327824,
0.02244248427450657,
-0.05414987727999687,
-0.04034479707479477,
0.07766281068325043,
0.03905287757515907,
0.028625240549445152,
0.01886202208697796,
-0.016647303476929665,
-0.014275709167122841,
-0.017643926665186882,
0.002297770930454135,
0.03323923796415329,
0.030064808204770088,
0.01846521906554699,
-0.03347916528582573,
-0.02151968516409397,
-0.017385542392730713,
-0.06511273235082626,
-0.0069625223986804485,
-0.012273233383893967,
-0.038757581263780594,
-0.011525765992701054,
-0.006090477108955383,
0.045992329716682434,
-0.08703844994306564,
0.019932469353079796,
0.0012457793345674872,
-0.01821606233716011,
-0.034771084785461426,
-0.06426376104354858,
-0.02936348132789135,
0.04082465171813965,
-0.023254547268152237,
-0.03639521449804306,
-0.05027411878108978,
-0.04178436100482941,
-0.04296554625034332,
-0.06537111848592758,
0.009735534898936749,
-0.02194417268037796,
-0.011424258351325989,
-0.04130450636148453,
0.01846521906554699,
-0.02928965725004673,
-0.025044778361916542,
0.015955204144120216,
0.028662152588367462,
0.03355298936367035,
0.016305867582559586,
-0.00746544823050499,
-0.01773620769381523,
0.006630314514040947,
-0.011691870167851448,
0.0024938657879829407,
-0.03283320739865303,
-0.038240812718868256,
0.057250481098890305,
-0.053337812423706055,
0.014801704324781895,
0.049203671514987946,
-0.023494476452469826,
0.017487050965428352,
-0.006542648654431105,
0.057139746844768524,
0.06813951581716537,
0.03563851863145828,
-0.02989870496094227,
-0.1085212230682373,
0.08969611674547195,
0.006542648654431105,
0.012328601442277431,
0.038573019206523895,
-0.08415931463241577,
-0.027407145127654076,
-0.018991215154528618,
0.02177806943655014,
-0.005089239217340946,
-0.053337812423706055,
0.017016423866152763,
0.017560875043272972,
0.024361908435821533,
0.0014960886910557747,
0.03235335275530815,
0.041489068418741226,
0.06219668686389923,
-0.05455590784549713,
-0.03975420445203781,
0.07633397728204727,
-0.027499426156282425,
0.027444057166576385,
0.04750572144985199,
-0.04673056676983833,
-0.012439337559044361,
0.020929092541337013,
-0.010289214551448822,
0.037908606231212616,
0.010621422901749611,
-0.024158891290426254,
0.07090791314840317,
0.023900507017970085,
0.009680166840553284,
-0.019378790631890297,
0.015816783532500267,
0.017376314848661423,
0.020430780947208405,
-0.05496193841099739,
0.09604497253894806,
-0.05031102895736694,
-0.08371637016534805,
0.031707391142845154,
0.012882281094789505,
-0.006344246678054333,
-0.020929092541337013,
-0.012494705617427826,
0.007410080172121525,
-0.014312620274722576,
-0.015438436530530453,
0.015853695571422577,
0.06813951581716537,
-0.0125869857147336,
0.0005271492409519851,
0.04322392866015434,
-0.006122774910181761,
-0.04813322424888611,
0.02164887636899948,
-0.012079445645213127,
0.007889935746788979,
-0.0040695457719266415,
0.024288084357976913,
0.04488496854901314,
-0.05241501331329346,
-0.07256895303726196,
-0.014497180469334126,
-0.0032159562688320875,
0.020559974014759064,
0.028459137305617332,
0.00729473028331995,
-0.02203645184636116,
0.023494476452469826,
0.0130022456869483,
0.08371637016534805,
-0.02212873287498951,
-0.020043205469846725,
0.041747450828552246,
0.013657432980835438,
0.06972673535346985,
-0.009011137299239635,
0.0650758221745491,
-0.015816783532500267,
0.034604981541633606,
-0.05259957164525986,
-0.020430780947208405,
0.046324536204338074,
0.06215977668762207,
-0.03368218243122101,
0.019710997119545937,
-0.01852981373667717,
0.0029506515711545944,
-0.02259013243019581,
0.07397160679101944,
0.015826011076569557,
-0.02965877763926983,
0.019507981836795807,
-0.02497095614671707,
0.030618488788604736,
-0.01780080236494541,
-0.04038170725107193,
-0.023457564413547516,
0.041821274906396866,
0.02497095614671707,
-0.041895098984241486,
-0.05134456604719162,
-0.03968038037419319,
-0.041821274906396866,
0.07338102161884308,
-0.052931781858205795,
-0.08733374625444412,
-0.020596886053681374,
0.04676748067140579,
0.02177806943655014,
-0.049388229846954346,
-0.05407605320215225,
-0.0018248360138386488,
0.01887124963104725,
-0.0428917221724987,
0.03979111462831497,
-0.009846271015703678,
0.026447433978319168,
0.06935761123895645,
0.02211027592420578,
0.012577757239341736,
-0.0006263501709327102,
0.04861307889223099,
0.03949581831693649,
-0.009883183054625988,
0.006002810783684254,
-0.024288084357976913,
0.05809945985674858,
0.06389463692903519,
0.04654600843787193,
-0.037982430309057236,
-0.05518341064453125,
0.0017671610694378614,
0.049646615982055664,
-0.027831634506583214,
-0.03305467963218689,
0.0260044913738966,
0.0146356001496315,
-0.05411296337842941,
-0.0037373381201177835,
0.031412094831466675,
-0.015484576113522053,
-0.009975463151931763,
-0.05913299322128296,
-0.007562342099845409,
-0.012144042178988457,
-0.11575597524642944,
-0.03226106986403465,
-0.03281475231051445,
-0.03257482498884201,
0.07131394743919373,
0.012264005839824677,
0.0069809784181416035,
0.014045008458197117,
0.019046582281589508,
-0.0008103333530016243,
-0.013537469319999218,
0.03890522941946983,
-0.028090016916394234,
-0.02181498147547245,
-0.030821504071354866,
0.0035620061680674553,
0.03643212467432022,
-0.06215977668762207,
-0.0012400118866935372,
0.07611250877380371,
0.030452383682131767,
-0.01828988641500473,
0.008701999671757221,
-0.06629391759634018,
0.06961599737405777,
-0.0002764072851277888,
-0.0028468365781009197,
0.05411296337842941,
0.07375013828277588,
0.014035780914127827,
0.031301360577344894,
0.05226736515760422,
-0.005116923246532679,
-0.03287011757493019,
0.05518341064453125,
-0.004362534731626511,
-0.0024754097685217857,
-0.031042976304888725,
-0.035361677408218384,
0.027444057166576385,
-0.00457016471773386,
0.020449237897992134,
0.005218431353569031,
-0.022756235674023628,
0.020910637453198433,
-0.019120406359434128,
-0.05403913930058479,
-0.002438497729599476,
-0.02541389875113964,
-0.02519242651760578,
-0.060978591442108154,
0.013675889000296593,
-0.11287683993577957,
-0.04636145010590553,
0.03397747874259949,
-0.011645729653537273,
-0.005024643614888191,
-0.052636485546827316,
-0.05998196825385094,
-0.0027453287038952112,
-0.019655629992485046,
0.017459366470575333,
-0.08844110369682312,
-0.03200268745422363,
0.034180495887994766,
-0.06861937046051025,
-0.03648749366402626,
0.053891491144895554,
-0.007940690033137798,
0.01815146580338478,
0.013426733203232288,
0.006676454562693834,
0.012457793578505516,
0.05809945985674858,
-0.0032367194071412086,
-0.039015963673591614,
0.021113652735948563,
-0.02576456218957901,
0.023033076897263527,
-0.028274577111005783,
0.03733646869659424,
-0.06533420830965042,
0.05005264654755592,
0.000015346950021921657,
0.01819760724902153,
0.0030060193967074156,
0.05813637003302574,
-0.03213188052177429,
-0.06769657135009766,
0.016176676377654076,
-0.03242717683315277,
0.05448208376765251,
-0.003453577170148492,
-0.0006413456867448986,
0.06625700742006302,
-0.03224261477589607,
0.013685116544365883,
0.06496508419513702,
-0.016942599788308144,
0.023512931540608406,
0.016416603699326515,
-0.023217635229229927,
-0.022996164858341217,
0.01871437393128872,
0.02532161958515644,
0.010732158087193966,
0.01105513796210289,
-0.03200268745422363,
0.03167048096656799,
0.038942139595746994,
0.012042533606290817,
0.020467692986130714,
0.053337812423706055,
-0.006805646698921919,
-0.019175773486495018,
-0.012356285937130451,
0.0004426554078236222,
-0.06913614273071289,
-0.0004031480348203331,
-0.008531281724572182,
0.02135358192026615,
0.014423356391489506,
-0.028496049344539642,
0.00625658081844449,
0.03248254209756851,
0.017339402809739113,
0.024860220029950142,
0.017487050965428352,
-0.06537111848592758,
0.05370693281292915,
-0.04030788317322731,
0.049794264137744904,
-0.001541075180284679,
-0.009135715663433075,
0.031799670308828354,
-0.06684760004281998,
-0.035011015832424164,
0.024195803329348564,
-0.02637360990047455,
-0.002743021585047245,
0.027407145127654076,
-0.005744426976889372,
0.017680838704109192,
-0.0073639401234686375,
-0.024491099640727043,
0.010492230765521526,
0.021132109686732292,
0.0125869857147336,
0.023808227851986885,
-0.04078773781657219,
-0.06466978788375854,
-0.03639521449804306,
-0.020190853625535965,
0.042411867529153824,
0.025118602439761162,
0.04008641093969345,
-0.03390365466475487,
0.045733943581581116,
-0.02578301914036274,
-0.04702586308121681,
-0.038942139595746994,
0.02223946899175644,
0.0576196014881134,
0.03183658421039581,
-0.00018297384667675942,
-0.004115685820579529,
-0.03735492378473282,
-0.02216564491391182,
0.021335124969482422,
-0.02207336388528347,
0.04680439084768295,
0.01882511004805565,
0.0020278519950807095,
0.028662152588367462,
-0.007811497896909714,
0.04041862115263939,
-0.020615341141819954,
0.004780101589858532,
0.05049559101462364,
-0.010473774746060371,
-0.008277512155473232,
0.06363625824451447,
-0.04023405909538269,
0.016139764338731766,
0.02893899381160736,
0.06725362688302994,
0.030987607315182686,
-0.027074938639998436,
0.013915817253291607,
0.039015963673591614,
0.012439337559044361,
0.015890607610344887,
0.01849290169775486,
0.012568529695272446,
0.04038170725107193,
-0.009532518684864044,
-0.04016023501753807,
-0.027093393728137016,
0.01297456119209528,
-0.008669701404869556,
-0.026964202523231506,
-0.027167217805981636,
-0.009698622860014439,
0.03931125998497009,
0.0023485247511416674,
0.03307313472032547,
0.02148277312517166,
0.038683757185935974,
0.022885428741574287,
-0.046435270458459854,
0.015595312230288982,
-0.05049559101462364,
-0.03934817016124725,
-0.06548185646533966,
-0.0226454995572567,
0.015152368694543839,
-0.03560160472989082,
-0.008462071418762207,
0.021150564774870872,
-0.010335355065762997,
-0.013620520941913128,
-0.018954303115606308,
-0.03355298936367035,
-0.02989870496094227,
0.006699524354189634,
-0.0028629854787141085,
0.0015330007299780846,
0.026982657611370087,
0.020633798092603683,
-0.011922569945454597,
-0.019157318398356438,
0.049646615982055664,
-0.07515279203653336,
-0.003825003979727626,
0.012605441734194756,
0.042522601783275604,
-0.03945890814065933,
0.021261300891637802,
-0.09442085027694702,
-0.03942199423909187,
-0.04887146130204201,
-0.023254547268152237,
0.019526438787579536,
0.020799901336431503,
0.031412094831466675,
-0.07899163663387299,
-0.06186448037624359,
0.06286110728979111,
-0.020984461531043053,
0.0518244206905365,
0.005107695236802101,
0.04794866219162941,
0.0452909991145134,
-0.021058285608887672,
-0.02919737622141838,
0.027979280799627304,
0.038573019206523895,
0.0012330908793956041,
0.0749313235282898,
0.018880479037761688,
-0.0011246618814766407,
-0.016333552077412605,
0.013371365144848824,
-0.053485460579395294,
-0.0016172061441466212,
-0.00917724147439003,
-0.05839475244283676,
-0.0503479428589344,
0.038425371050834656,
0.024232715368270874,
0.017108703032135963,
0.04052935540676117,
-0.02231329306960106,
0.034955646842718124,
0.023180725052952766,
-0.049794264137744904,
-0.04661983251571655,
0.03303622454404831,
0.030766136944293976,
-0.009449467062950134,
-0.013315997086465359,
-0.0288098007440567,
-0.015826011076569557,
-0.013177577406167984,
0.03674587607383728,
0.00016913184663280845,
0.0026715046260505915,
0.07714603841304779,
0.001801766105927527,
-0.005712129175662994,
-0.05418678745627403,
0.0579887218773365,
-0.05736121907830238,
-0.014331076294183731,
-0.008351335301995277,
-0.0028491434641182423,
-0.020172398537397385,
-0.0019770979415625334,
0.024620290845632553,
0.024952499195933342,
0.020670710131525993,
-0.02951112948358059,
-0.07670309394598007,
-0.014091148972511292,
0.0656295046210289,
-0.01259621325880289,
0.012873053550720215,
0.0004962931270711124,
0.07677692174911499,
0.002426962833851576,
-0.004923135507851839,
0.04064008966088295,
0.03202114254236221,
-0.0054952711798250675,
-0.012347057461738586,
-0.013592837378382683,
-0.003460498293861747,
-0.04462658613920212,
-0.005781339015811682,
-0.023106900975108147,
-0.03283320739865303,
-0.02581993117928505,
-0.01766238361597061,
-0.030766136944293976,
0.016601163893938065,
0.008235985413193703,
0.013860449194908142,
0.042928632348775864,
0.017551647499203682,
-0.002161657903343439,
-0.00891885720193386,
0.035361677408218384,
0.042374953627586365,
0.02174115739762783,
0.017173299565911293,
0.012494705617427826,
0.016324324533343315,
0.013269857503473759,
0.005578323267400265,
-0.0368197001516819,
0.01809609867632389,
0.01282691303640604,
0.046176888048648834,
0.010667562484741211,
0.003047545440495014,
-0.031042976304888725,
-0.06968981772661209,
0.021372037008404732,
-0.04303937032818794,
0.016305867582559586,
-0.04654600843787193,
0.07670309394598007,
-0.015853695571422577,
0.01259621325880289,
0.00926029309630394,
-0.038277722895145416,
-0.023531388491392136,
-0.04052935540676117,
0.0014395673060789704,
0.01282691303640604,
-0.05437134951353073,
0.05485120415687561,
0.034623436629772186,
0.00011470109893707559,
0.00946792308241129,
-0.00044986477587372065,
-0.03584153205156326,
-0.016250500455498695,
-0.017339402809739113,
0.014201885089278221,
0.0000715890564606525,
-0.06596171110868454,
0.006694910582154989,
0.028532961383461952,
0.02991716004908085,
0.03266710415482521,
-0.03621065244078636,
0.05588474124670029,
0.0256353709846735,
0.014644828625023365,
0.0019298045663163066,
-0.0031052203848958015,
0.006791804451495409,
0.01485707238316536,
0.04060317948460579,
-0.07101865112781525,
0.035066381096839905,
-0.04499570652842522,
-0.03002789616584778,
0.019692542031407356,
-0.03569388762116432,
-0.007285502273589373,
0.056364595890045166,
0.012264005839824677,
0.07315954566001892,
-0.01807764358818531,
-0.04067700356245041,
0.01858518272638321,
-0.008309809491038322,
-0.03968038037419319,
-0.09789057075977325,
-0.015715276822447777,
-0.013657432980835438,
0.016674987971782684,
-0.034660350531339645,
0.04385143518447876,
0.06345169246196747,
-0.007400852162390947,
-0.05898534506559372,
-0.06832407414913177,
0.009597115218639374,
0.016167446970939636,
-0.030433928593993187,
0.028551418334245682,
-0.028459137305617332,
0.02188880555331707,
0.023088444024324417,
-0.02956649661064148,
-0.0076638502068817616,
0.0012676957994699478,
0.06275036931037903,
-0.009061891585588455,
-0.04263333976268768,
-0.007650007959455252,
-0.026355154812335968,
0.02543235570192337,
-0.03724418953061104,
-0.01308529730886221,
0.002390050794929266,
-0.031098343431949615,
-0.020984461531043053,
0.01857595518231392,
-0.03569388762116432,
0.02212873287498951,
0.03912670165300369,
-0.014571004547178745,
-0.016804179176688194,
-0.028606785461306572,
-0.05204589292407036,
-0.0015560707543045282,
-0.011839518323540688,
-0.01790231093764305,
-0.07699839025735855,
-0.014183429069817066,
-0.007539272308349609,
-0.016693443059921265,
-0.016997966915369034,
-0.0002187323261750862,
-0.027056481689214706,
0.03717036545276642,
0.004159518983215094,
-0.030397016555070877,
-0.020283132791519165,
-0.0110920500010252,
0.0296403206884861,
-0.023291459307074547,
0.02196262963116169,
0.024048155173659325,
0.046582918614149094,
-0.041673626750707626,
0.03652440384030342,
-0.031264446675777435,
-0.012319373898208141,
-0.004577085841447115,
0.026668906211853027,
-0.053300902247428894,
0.03222415968775749,
0.011950253508985043,
0.04728424921631813,
0.03949581831693649,
0.02930811233818531
]
|
43,858 | pdf2docx.converter | debug_page | Parse, create and plot single page for debug purpose.
Args:
i (int): Page index to convert.
docx_filename (str): docx filename to write to.
debug_pdf (str): New pdf file storing layout information. Default to add prefix ``debug_``.
layout_file (str): New json file storing parsed layout data. Default to ``layout.json``.
| def debug_page(self, i:int, docx_filename:str=None, debug_pdf:str=None, layout_file:str=None, **kwargs):
'''Parse, create and plot single page for debug purpose.
Args:
i (int): Page index to convert.
docx_filename (str): docx filename to write to.
debug_pdf (str): New pdf file storing layout information. Default to add prefix ``debug_``.
layout_file (str): New json file storing parsed layout data. Default to ``layout.json``.
'''
# include debug information
# fitz object in debug mode: plot page layout
# file path for this debug pdf: demo.pdf -> debug_demo.pdf
path, filename = os.path.split(self.filename_pdf)
if not debug_pdf: debug_pdf = os.path.join(path, f'debug_{filename}')
if not layout_file: layout_file = os.path.join(path, 'layout.json')
kwargs.update({
'debug' : True,
'debug_doc' : fitz.Document(),
'debug_filename': debug_pdf
})
# parse and create docx
self.convert(docx_filename, pages=[i], **kwargs)
# layout information for debugging
self.serialize(layout_file)
| (self, i: int, docx_filename: Optional[str] = None, debug_pdf: Optional[str] = None, layout_file: Optional[str] = None, **kwargs) | [
0.04276897758245468,
0.060356881469488144,
-0.03047863580286503,
0.03021375648677349,
0.04923200234770775,
0.010904146358370781,
-0.02518107369542122,
0.002878341590985656,
-0.1637299507856369,
0.023097366094589233,
0.03443414717912674,
0.023503514006733894,
-0.01312912255525589,
0.022991415113210678,
-0.024863220751285553,
-0.06420644372701645,
-0.005341707728803158,
0.04220390319824219,
-0.02627590298652649,
0.006992780603468418,
0.011998975649476051,
0.009094147011637688,
-0.02915424481034279,
0.028960000723600388,
0.014082683250308037,
-0.01892995275557041,
0.009535609744489193,
0.04707765951752663,
0.03113200142979622,
-0.03443414717912674,
-0.02890702523291111,
-0.0383896604180336,
0.014250439591705799,
0.0383896604180336,
-0.031414538621902466,
0.010683415457606316,
-0.007663805037736893,
-0.0008569908677600324,
-0.03000185452401638,
0.03487561270594597,
0.0012526524951681495,
0.059262052178382874,
-0.05806127190589905,
-0.031061366200447083,
-0.013429317623376846,
0.029295513406395912,
0.014992098324000835,
0.012316829524934292,
-0.07487219572067261,
0.03754204884171486,
0.022426342591643333,
-0.04234517365694046,
0.0387781485915184,
-0.023309269919991493,
0.024792585521936417,
0.0472189299762249,
0.007774170953780413,
0.018841659650206566,
0.03461073338985443,
-0.0837014690041542,
-0.04167414829134941,
0.001954579260200262,
0.005761097650974989,
0.010400878265500069,
-0.014850829727947712,
-0.013817805796861649,
0.030566928908228874,
-0.019495025277137756,
-0.031220294535160065,
-0.01613990217447281,
0.03856624662876129,
0.009906439110636711,
-0.02318565919995308,
-0.009668049402534962,
-0.011840049177408218,
0.05424702540040016,
0.012051952071487904,
-0.024121562018990517,
0.003163085551932454,
0.010215464048087597,
-0.003842939157038927,
0.001003225683234632,
-0.014506488107144833,
-0.005959756206721067,
-0.01234331727027893,
0.04584156349301338,
0.0788983479142189,
0.03457541763782501,
0.02362712286412716,
0.02050156146287918,
0.0337807834148407,
-0.023009074851870537,
0.003798792837187648,
-0.008524659089744091,
-0.027052879333496094,
0.0006964085623621941,
0.023786049336194992,
-0.0044985124841332436,
-0.03240341693162918,
-0.0042115612886846066,
0.014382878318428993,
-0.06325288116931915,
-0.027882831171154976,
-0.0012493415270000696,
-0.04947922006249428,
-0.004595634527504444,
0.05096253752708435,
0.013650049455463886,
-0.012087268754839897,
-0.0006759908865205944,
-0.03680039197206497,
-0.05205736681818962,
-0.02184361033141613,
-0.006326171103864908,
-0.016228195279836655,
-0.00046381252468563616,
-0.04209795221686363,
0.014118000864982605,
-0.004931146744638681,
-0.046901073306798935,
-0.02269122004508972,
-0.03771863505244255,
-0.06826790422201157,
-0.01875336654484272,
-0.048843514174222946,
-0.010171317495405674,
0.0047987075522542,
0.0256225373595953,
-0.009173610247671604,
0.017437806352972984,
0.012157903052866459,
-0.022779513150453568,
-0.021931903436779976,
0.007253244053572416,
-0.008202390745282173,
-0.003953305073082447,
-0.03303912281990051,
-0.003324219724163413,
-0.082147516310215,
0.017685025930404663,
-0.036270637065172195,
-0.020430928096175194,
-0.06685522198677063,
0.02251463569700718,
-0.014453512616455555,
0.053364098072052,
-0.026646733283996582,
0.03461073338985443,
-0.06943336874246597,
0.023697756230831146,
0.0030858293175697327,
0.0027326587587594986,
0.0165107324719429,
-0.04506458714604378,
0.03461073338985443,
-0.05954458937048912,
0.020395610481500626,
0.009994732216000557,
0.0024103904142975807,
0.020589854568243027,
0.01629883050918579,
0.02689395286142826,
0.018241269513964653,
-0.013076147064566612,
-0.03242107480764389,
0.027953464537858963,
-0.05908546596765518,
0.0021112989634275436,
-0.01478019542992115,
0.07699122279882431,
0.02717648819088936,
0.05929736793041229,
-0.057743415236473083,
0.038954734802246094,
0.0014027500292286277,
0.03505219519138336,
0.012166731990873814,
-0.00041469972347840667,
0.01047151256352663,
0.012325659394264221,
-0.03944917395710945,
0.03000185452401638,
0.002611256204545498,
0.06501873582601547,
-0.001982170855626464,
-0.008974951691925526,
-0.04919668659567833,
0.04746614769101143,
0.05237521976232529,
-0.005787585396319628,
0.0033816099166870117,
0.06568975746631622,
-0.01123083010315895,
-0.05520058795809746,
0.023238634690642357,
0.02583443932235241,
0.009800488129258156,
-0.0917537584900856,
0.10757581144571304,
0.00017920655955094844,
0.033215709030628204,
0.05237521976232529,
-0.007262073457241058,
-0.0343635119497776,
-0.058802928775548935,
0.03997892886400223,
-0.015106878243386745,
-0.005226926878094673,
0.005257829558104277,
0.04944390431046486,
0.012493414804339409,
-0.03245639055967331,
-0.02360946498811245,
-0.004039390478283167,
-0.0051077320240437984,
-0.019088879227638245,
-0.021772976964712143,
-0.00042518446571193635,
0.0008354695164598525,
0.005774341523647308,
-0.0002542553411331028,
0.046618539839982986,
0.04428761079907417,
-0.03803648799657822,
-0.01069224439561367,
-0.0067720492370426655,
0.10969483107328415,
-0.049337953329086304,
-0.035423025488853455,
-0.028818732127547264,
0.0013641220284625888,
-0.08688000589609146,
-0.03768331930041313,
0.028412586078047752,
0.08476097881793976,
-0.06279376149177551,
-0.008303927257657051,
0.018470829352736473,
0.015177512541413307,
-0.032103221863508224,
0.026840977370738983,
0.025922732427716255,
0.01522165909409523,
0.007606415078043938,
-0.046689171344041824,
0.020201366394758224,
-0.03356887772679329,
-0.00017341235070489347,
-0.03750673308968544,
0.006273195147514343,
0.01829424500465393,
-0.07988722622394562,
-0.005774341523647308,
-0.030602244660258293,
0.006339414976537228,
0.03747141733765602,
0.013420488685369492,
-0.011186683550477028,
0.017437806352972984,
0.02159639075398445,
-0.03676507622003555,
-0.05562439188361168,
-0.04209795221686363,
0.045099902898073196,
0.0735301524400711,
-0.050644684582948685,
0.016157561913132668,
-0.014338732697069645,
0.040473368018865585,
0.0048472685739398,
0.04125034436583519,
0.05007961019873619,
0.05361131951212883,
0.020430928096175194,
0.0029555975925177336,
-0.01854146458208561,
0.01762321963906288,
-0.010621610097587109,
0.03369249030947685,
0.004465402569621801,
0.0564366839826107,
-0.049549855291843414,
0.015654293820261955,
0.038495611399412155,
0.05089190602302551,
-0.004299853928387165,
-0.02270887978374958,
0.08228878676891327,
-0.020837074145674706,
-0.03923726826906204,
-0.025216391310095787,
0.06780878454446793,
0.007350366096943617,
-0.05113912373781204,
-0.060321561992168427,
0.016245855018496513,
-0.05294029414653778,
-0.015354097820818424,
-0.06802068650722504,
-0.0050635854713618755,
0.006282024551182985,
0.003059341572225094,
0.059650540351867676,
0.01402970775961876,
-0.0051739513874053955,
0.04404039308428764,
-0.056401368230581284,
-0.003913573455065489,
0.012714146636426449,
-0.05897951498627663,
0.019088879227638245,
0.022832488641142845,
-0.004034975543618202,
0.0614163912832737,
-0.04199200123548508,
-0.03658849000930786,
0.024333463981747627,
-0.013482293114066124,
-0.02760029397904873,
0.0829244926571846,
0.002973256167024374,
0.03245639055967331,
0.004383732099086046,
-0.04061463475227356,
0.06244058907032013,
0.013305707834661007,
0.0560481958091259,
-0.051774829626083374,
-0.012740634381771088,
0.013597073964774609,
0.043369367718696594,
0.05452956259250641,
-0.02578146383166313,
0.004842853639274836,
0.015707269310951233,
0.0012129207607358694,
-0.04919668659567833,
-0.04630068317055702,
-0.0020704634953290224,
-0.06802068650722504,
0.0025781465228646994,
-0.010100683197379112,
-0.024580683559179306,
-0.05389385670423508,
-0.0014877318171784282,
-0.018435513600707054,
0.005518293008208275,
-0.06978654116392136,
-0.000536929874215275,
-0.011672292836010456,
-0.004145341459661722,
-0.004171829205006361,
-0.04216858744621277,
0.012714146636426449,
-0.03715356066823006,
-0.02645248919725418,
0.0058582196943461895,
-0.02115492708981037,
-0.015460049733519554,
-0.0006594359874725342,
-0.04174478352069855,
0.019512683153152466,
-0.05887356400489807,
-0.014947951771318913,
0.029507415369153023,
-0.061204489320516586,
-0.004622122272849083,
-0.03070819564163685,
0.027423707768321037,
0.007721195463091135,
0.014797854237258434,
0.01105424389243126,
-0.016272341832518578,
0.006392390467226505,
0.0048207808285951614,
-0.021790634840726852,
0.016846245154738426,
0.008312756195664406,
-0.005973000079393387,
-0.013208585791289806,
0.009994732216000557,
-0.010224292986094952,
0.06455960869789124,
0.05301092937588692,
-0.03575853630900383,
-0.06667863577604294,
-0.043545953929424286,
0.018788684159517288,
-0.004215975757688284,
-0.04206263646483421,
-0.01269648876041174,
0.0019623050466179848,
-0.03259766101837158,
0.06466556340456009,
0.032544683665037155,
-0.02627590298652649,
0.017817463725805283,
0.019918829202651978,
-0.10277269035577774,
-0.008268609642982483,
0.040720585733652115,
-0.013182098045945168,
-0.0358998067677021,
0.008092024363577366,
0.05534185469150543,
-0.031414538621902466,
0.008701244369149208,
-0.00850258581340313,
-0.0005777652841061354,
0.089069664478302,
0.04298087954521179,
-0.02583443932235241,
-0.05435297638177872,
-0.03785990551114082,
0.005279902834445238,
-0.019901171326637268,
0.043545953929424286,
0.057920001447200775,
-0.036659125238657,
-0.005933268461376429,
0.030302049592137337,
0.031061366200447083,
-0.034981563687324524,
0.030531611293554306,
-0.057001758366823196,
-0.04852566123008728,
0.003063756274059415,
0.010974780656397343,
0.06992780417203903,
0.05629541724920273,
-0.040720585733652115,
-0.020183708518743515,
-0.0358998067677021,
0.015521854162216187,
-0.011804732494056225,
-0.03793053701519966,
-0.023750731721520424,
0.015256975777447224,
-0.0029246951453387737,
0.06975122541189194,
0.09592117369174957,
-0.047112978994846344,
0.03951980546116829,
-0.002891585463657975,
0.014365220442414284,
0.08137053996324539,
0.02004243992269039,
-0.02295609936118126,
-0.03312741592526436,
0.01203429326415062,
0.036076392978429794,
0.0040857442654669285,
0.00020886737911496311,
-0.016554879024624825,
0.003578061005100608,
-0.057460881769657135,
0.004630951210856438,
-0.011769414879381657,
0.01606926880776882,
0.07783883064985275,
0.011116049252450466,
0.015265805646777153,
-0.05717834457755089,
-0.043581269681453705,
-0.03303912281990051,
0.023521171882748604,
-0.03175004944205284,
0.07882770895957947,
-0.0028187439311295748,
-0.025092780590057373,
0.05007961019873619,
0.00044201526907272637,
-0.044534832239151,
-0.024598343297839165,
0.0017073597991839051,
0.05343473330140114,
0.006802951451390982,
0.00013919893535785377,
0.03480497747659683,
0.007209097966551781,
-0.028695123270154,
-0.05449424684047699,
0.006511585786938667,
0.027971122413873672,
-0.02092536725103855,
-0.036976978182792664,
-0.010965951718389988,
0.044428881257772446,
-0.015195171348750591,
0.0046662683598697186,
0.015830878168344498,
-0.0003228201239835471,
-0.013235073536634445,
-0.023662440478801727,
0.025940392166376114,
0.019495025277137756,
0.0004069741116836667,
0.026646733283996582,
0.008025805465877056,
-0.08666810393333435,
-0.007875707931816578,
-0.00004735384936793707,
0.05181014910340309,
0.004204939119517803,
0.015256975777447224,
0.0033838171511888504,
0.032315123826265335,
0.05007961019873619,
-0.0293661467730999,
-0.04036741703748703,
-0.008657097816467285,
-0.026099318638443947,
-0.02071346342563629,
-0.024633659049868584,
0.011504537425935268,
-0.013261561281979084,
-0.005456488113850355,
-0.023009074851870537,
0.032544683665037155,
-0.009306048974394798,
0.015071561560034752,
-0.0288893673568964,
0.010480341501533985,
-0.042274538427591324,
0.01234331727027893,
-0.026593757793307304,
0.03568790480494499,
0.019495025277137756,
0.016422439366579056,
-0.0037458171136677265,
0.029648683965206146,
0.010762878693640232,
0.0944378599524498,
-0.028324292972683907,
0.01744663529098034,
-0.010807025246322155,
-0.01695219613611698,
-0.036305952817201614,
-0.04015551507472992,
-0.005213683005422354,
0.0424158051609993,
0.026399513706564903,
-0.026293562725186348,
-0.07395395636558533,
0.0775562971830368,
-0.03680039197206497,
0.03272126987576485,
0.01402970775961876,
0.05308156460523605,
0.012890731915831566,
0.03003717213869095,
-0.006396804936230183,
0.023256294429302216,
-0.03775395452976227,
0.004670683294534683,
0.05689580738544464,
0.019936488941311836,
0.04132097586989403,
0.045770928263664246,
-0.0065513174049556255,
-0.019989464432001114,
0.029684001579880714,
0.022549951449036598,
-0.04259239137172699,
-0.03733014687895775,
0.024616001173853874,
0.03923726826906204,
-0.0330214649438858,
-0.0020196952391415834,
-0.015133365988731384,
0.02357414737343788,
0.032774243503808975,
-0.014824341982603073,
0.012166731990873814,
0.023503514006733894,
0.00903234165161848,
0.005041512195020914,
0.05979180708527565,
-0.012166731990873814,
0.007650561165064573,
-0.01003004889935255,
0.015265805646777153,
0.04064995422959328,
-0.024156879633665085,
-0.005840561352670193,
0.005862634163349867,
0.048843514174222946,
-0.038530927151441574,
0.0200600977987051,
-0.07038693130016327,
0.005566854029893875,
-0.07119922339916229,
-0.0746602937579155,
-0.034981563687324524,
0.002847439143806696,
0.06300566345453262,
0.03328634425997734,
-0.03355121985077858,
-0.017667366191744804,
-0.025657854974269867,
-0.06586634367704391,
0.04958517104387283,
-0.03856624662876129,
-0.023450536653399467,
0.025905074551701546,
0.015177512541413307,
0.07649677991867065,
0.012237366288900375,
0.002650987822562456,
-0.014983268454670906,
0.01765853725373745,
-0.015936829149723053,
-0.017534928396344185,
-0.0025030977558344603,
-0.06480683386325836,
-0.03680039197206497,
0.007019268348813057,
-0.008855756372213364,
0.012987853959202766,
-0.011548683047294617,
-0.01850614696741104,
0.012078439816832542,
-0.029260195791721344,
-0.022549951449036598,
0.05011492967605591,
0.009464976377785206,
0.09909971058368683,
-0.013941415585577488,
0.0449233204126358,
0.023503514006733894,
0.020024782046675682,
0.08603239059448242,
-0.03157346323132515,
-0.05544780567288399,
-0.011416244320571423,
-0.006776463706046343,
-0.02537531778216362,
0.01658136583864689,
-0.03821307420730591,
0.09761639684438705,
-0.009085317142307758,
0.005739024840295315,
-0.0380011722445488,
-0.028695123270154,
0.03909600153565407,
0.026629073545336723,
0.04262771084904671,
-0.07324761152267456,
0.10658693313598633,
-0.011928342282772064,
-0.04944390431046486,
0.01346463430672884,
-0.09118868410587311,
-0.011963658966124058,
0.010833512991666794,
0.07960468530654907,
0.0031763294246047735,
-0.026328878477215767,
-0.010533317923545837,
0.004348414950072765,
0.019159512594342232,
-0.05541248992085457,
-0.03222683072090149,
-0.05301092937588692,
0.018400195986032486,
0.026116976514458656,
0.04813717305660248,
-0.030355025082826614,
-0.012846586294472218,
-0.05583629384636879,
-0.03611170873045921,
0.031414538621902466,
0.06607824563980103,
-0.042486440390348434,
0.06088663637638092,
0.03729483112692833,
-0.007010439410805702,
0.018258927389979362,
-0.039378538727760315,
-0.028377270326018333,
0.01746429316699505,
0.021349171176552773,
0.0019214695785194635,
-0.00009477668209001422,
-0.01702282950282097,
-0.000941972597502172,
0.013817805796861649,
-0.04584156349301338,
-0.013067317195236683,
0.07896897941827774,
-0.042910244315862656,
0.016378292813897133,
-0.011866536922752857,
-0.01534526888281107,
0.04238048940896988,
-0.06826790422201157,
0.05622478201985359,
0.00837897602468729,
0.002254774561151862,
-0.029030635952949524,
0.00859970785677433,
-0.0059244390577077866,
0.0719761997461319,
0.09761639684438705,
-0.009235414676368237,
-0.00867475662380457,
-0.012793609872460365,
0.015548341907560825,
-0.034275222569704056,
-0.04619473218917847,
0.022373367100954056,
-0.006582219619303942,
0.009191269055008888,
-0.0034743172582238913,
-0.06282907724380493,
0.03708292916417122,
-0.0735301524400711,
0.043545953929424286,
0.011018927209079266,
-0.02140214666724205,
0.04276897758245468,
0.015936829149723053,
-0.045099902898073196,
-0.02558721974492073,
0.030090147629380226,
0.03399268537759781,
-0.03360419720411301,
-0.04870224744081497,
0.007473975885659456,
-0.0013586037093773484,
0.02537531778216362,
-0.008136170916259289,
-0.05583629384636879,
-0.03295082971453667,
-0.027476683259010315,
-0.023715415969491005,
-0.0014027500292286277,
-0.03404565900564194,
-0.006591049022972584,
-0.04064995422959328,
0.004732488188892603,
0.004355036653578281,
-0.03810712322592735,
-0.022320391610264778,
0.005862634163349867,
0.03768331930041313,
0.02140214666724205,
0.03113200142979622,
-0.043122146278619766,
0.0067720492370426655,
0.02892468497157097,
0.00005480354593601078,
-0.05382322147488594,
0.07451903074979782,
-0.02360946498811245,
0.019901171326637268,
0.04043804854154587,
0.03966107591986656,
0.05325814709067345,
-0.024421757087111473,
-0.022373367100954056,
-0.02648780681192875,
0.0019932074937969446,
0.036517854779958725,
0.03595278039574623,
0.03180302679538727,
-0.017481951043009758,
0.02383902482688427
]
|
43,859 | pdf2docx.converter | deserialize | Load parsed pages from specified JSON file. | def deserialize(self, filename:str):
'''Load parsed pages from specified JSON file.'''
with open(filename, 'r') as f:
data = json.load(f)
self.restore(data)
| (self, filename: str) | [
-0.015704341232776642,
0.006410730071365833,
-0.07985492795705795,
-0.011514208279550076,
-0.005016905255615711,
0.04771903529763222,
-0.01381704956293106,
0.05796927586197853,
0.011159258894622326,
-0.00019817099382635206,
0.005207365844398737,
0.025365887209773064,
-0.052567124366760254,
0.010276214219629765,
-0.02787650376558304,
0.0016535442555323243,
-0.023218877613544464,
0.06087813153862953,
-0.025781437754631042,
-0.007938743568956852,
-0.03854229673743248,
-0.02630087547004223,
0.015245504677295685,
0.07514535635709763,
0.003796225879341364,
-0.05426395311951637,
0.005138107109814882,
0.006782994139939547,
0.028690289705991745,
-0.01358330249786377,
-0.03622214123606682,
-0.02572949416935444,
0.007627080660313368,
0.05582226812839508,
-0.022214630618691444,
-0.01193841639906168,
-0.028430571779608727,
0.024811821058392525,
-0.11115972697734833,
0.005229008849710226,
-0.04758051782846451,
0.0330362543463707,
-0.020483171567320824,
0.022474350407719612,
0.01798986829817295,
0.022110743448138237,
-0.004174982663244009,
-0.02313230372965336,
-0.02905389666557312,
-0.00036008955794386566,
0.016067948192358017,
0.004995261784642935,
-0.029088526964187622,
0.03137405216693878,
0.004008329473435879,
0.03352106362581253,
-0.02903658337891102,
0.08089380711317062,
0.014362460002303123,
0.02342665195465088,
-0.057034287601709366,
-0.06673046201467514,
-0.01208559051156044,
-0.031841546297073364,
0.01714145392179489,
0.0056748599745333195,
0.02560829184949398,
-0.0026815985329449177,
-0.001191460876725614,
0.0002873141202144325,
-0.003640394425019622,
0.049104202538728714,
0.031980063766241074,
0.04259391501545906,
0.031841546297073364,
0.004527767654508352,
-0.045087214559316635,
-0.01842273399233818,
-0.05765761435031891,
0.029400188475847244,
-0.008388923481106758,
-0.050246965140104294,
-0.00015217909822240472,
0.0009333650814369321,
-0.07493758201599121,
-0.013972881250083447,
0.11753150075674057,
-0.03971968963742256,
-0.05523357167840004,
0.029677223414182663,
-0.013254325836896896,
0.044948700815439224,
-0.08657299727201462,
-0.020206136628985405,
-0.025279315188527107,
-0.03296699747443199,
-0.0007228844915516675,
0.0165354423224926,
-0.0805475115776062,
0.0007710407371632755,
0.005536342971026897,
-0.010501304641366005,
-0.0546795055270195,
-0.008752529509365559,
0.016033317893743515,
-0.00044990904279984534,
0.016293037682771683,
0.02616235986351967,
-0.008605355396866798,
0.04370204731822014,
-0.027426324784755707,
-0.0460222028195858,
-0.023617113009095192,
0.0689813643693924,
0.055856894701719284,
0.004084080923348665,
-0.01360061764717102,
0.005406483542174101,
0.02777261659502983,
-0.039477284997701645,
0.007038384675979614,
0.015106987208127975,
-0.0010902786161750555,
0.04297483339905739,
-0.02417118102312088,
-0.030456379055976868,
0.0345599390566349,
-0.020812148228287697,
0.052844155579805374,
0.006683435291051865,
0.012535769492387772,
-0.007085999473929405,
-0.02373831532895565,
-0.03466382622718811,
0.05159750580787659,
-0.028430571779608727,
-0.005315581802278757,
0.01215484831482172,
-0.039754319936037064,
0.03281116485595703,
0.01122851762920618,
0.04370204731822014,
0.01393825188279152,
-0.040065981447696686,
-0.044671665877103806,
-0.043355755507946014,
-0.021054552868008614,
-0.0006541672046296299,
-0.0690506175160408,
0.023928776383399963,
0.02889806590974331,
0.00007182853005360812,
-0.017582975327968597,
-0.020465856418013573,
0.01985984481871128,
-0.04990067332983017,
-0.029382875189185143,
0.012639657594263554,
-0.03391930088400841,
0.012561741285026073,
0.02259555086493492,
0.060462579131126404,
0.008090246468782425,
-0.011782584711909294,
-0.031148964539170265,
0.004532096441835165,
-0.003820033511146903,
-0.034005872905254364,
-0.04792680963873863,
0.022924529388546944,
-0.026387449353933334,
0.004365443252027035,
-0.06067035347223282,
0.050558630377054214,
0.04051616042852402,
-0.028534458950161934,
0.025487089529633522,
0.014994442462921143,
0.02720123529434204,
0.05426395311951637,
-0.05291341617703438,
-0.013825707137584686,
0.03132211044430733,
-0.01633632369339466,
0.04591831564903259,
-0.01315909530967474,
-0.013704504817724228,
0.05367525666952133,
0.07112837582826614,
0.025642920285463333,
0.0193923506885767,
-0.007977701723575592,
-0.007073013577610254,
-0.044533148407936096,
0.012700258754193783,
-0.06724990159273148,
0.010241585783660412,
-0.016561413183808327,
0.004614340607076883,
-0.00978274829685688,
-0.07147466391324997,
-0.03050832264125347,
0.02990231290459633,
-0.04304409399628639,
-0.040377646684646606,
0.060912758111953735,
-0.027824560180306435,
-0.022612866014242172,
0.03615288436412811,
0.02458672970533371,
-0.012371281161904335,
-0.03639528900384903,
0.016284380108118057,
0.020621687173843384,
0.06742304563522339,
-0.047234226018190384,
-0.06274810433387756,
0.006410730071365833,
0.016760531812906265,
-0.03511400520801544,
0.058488715440034866,
0.08830445259809494,
-0.07750014215707779,
-0.0431826114654541,
-0.04512184485793114,
-0.008618341758847237,
0.0229937881231308,
-0.035598814487457275,
-0.021054552868008614,
0.054575614631175995,
-0.01710682362318039,
-0.03836915269494057,
0.004374100361019373,
-0.02562560699880123,
0.08144787698984146,
-0.011393005959689617,
0.005358868278563023,
-0.03698398172855377,
0.04058542102575302,
0.015254161320626736,
0.05810779333114624,
-0.03436947986483574,
-0.03267264738678932,
-0.026681797578930855,
-0.010570562444627285,
0.04699182137846947,
0.02041391283273697,
-0.007756940554827452,
-0.008471167646348476,
0.003627408528700471,
0.06776934117078781,
0.011921101249754429,
0.017427144572138786,
0.0718902125954628,
-0.0021967897191643715,
-0.06697286665439606,
0.005324239376932383,
-0.06281736493110657,
0.0050125764682888985,
0.03078535757958889,
0.01451829168945551,
-0.09225217998027802,
0.01755700260400772,
0.04792680963873863,
0.009012248367071152,
-0.016275722533464432,
-0.009306596592068672,
-0.013635247014462948,
0.032447557896375656,
-0.02198954112827778,
0.07313686609268188,
-0.014327830635011196,
0.03642991557717323,
0.005203037057071924,
-0.021348901093006134,
-0.0021112989634275436,
-0.021677877753973007,
-0.042074475437402725,
0.029417503625154495,
0.015141616575419903,
-0.0029001953080296516,
-0.038473039865493774,
0.02905389666557312,
-0.0059995087794959545,
0.05395229160785675,
-0.09239070117473602,
0.01811107061803341,
0.029677223414182663,
-0.03204932436347008,
-0.02903658337891102,
0.0733446404337883,
0.011090001091361046,
-0.022335832938551903,
-0.03234367072582245,
-0.01925383321940899,
-0.04657627269625664,
-0.09252921491861343,
-0.014327830635011196,
0.030594896525144577,
0.02029271051287651,
-0.010406074114143848,
-0.05706891790032387,
0.09162885695695877,
-0.027530211955308914,
-0.030525637790560722,
0.00463598407804966,
-0.04474092274904251,
-0.009393169544637203,
-0.007726639974862337,
0.02098529413342476,
0.014578891918063164,
0.021816395223140717,
-0.027703357860445976,
0.04861939325928688,
-0.06371772289276123,
0.021487416699528694,
0.022526293992996216,
0.019652070477604866,
0.062332555651664734,
-0.009886636398732662,
-0.039788950234651566,
0.03615288436412811,
-0.00021629722323268652,
-0.0244655292481184,
0.09536880999803543,
-0.001204446773044765,
0.0007775336853228509,
0.02676836960017681,
0.02505422569811344,
-0.002211940009146929,
0.05506042391061783,
-0.0065579041838645935,
-0.0024630017578601837,
0.015920773148536682,
-0.04203984513878822,
0.001997671788558364,
-0.0010805391939356923,
0.0021556676365435123,
0.030975816771388054,
-0.02242240495979786,
0.039061736315488815,
-0.07161318510770798,
0.008003673516213894,
-0.04699182137846947,
0.008821788243949413,
0.047545887529850006,
0.06652268767356873,
-0.027097348123788834,
0.04325186833739281,
-0.03208395093679428,
-0.06392549723386765,
0.023686371743679047,
0.08504930883646011,
0.03913099318742752,
-0.07306760549545288,
-0.06486048549413681,
0.025642920285463333,
-0.02860371768474579,
-0.008090246468782425,
-0.05048936977982521,
-0.0316164568066597,
0.00035359658068045974,
-0.09543807059526443,
-0.015990031883120537,
0.04141652211546898,
-0.024534786120057106,
0.011531522497534752,
-0.03708787262439728,
-0.0005643477197736502,
-0.029417503625154495,
-0.005873977672308683,
-0.016249751672148705,
-0.01171332597732544,
0.0331055149435997,
0.02990231290459633,
-0.030525637790560722,
0.04685330390930176,
0.008752529509365559,
-0.006648805923759937,
0.0632329136133194,
-0.00022928316320758313,
0.038611557334661484,
0.005839348305016756,
-0.0061336965300142765,
0.015955403447151184,
0.012899376451969147,
-0.021071866154670715,
-0.019738642498850822,
-0.016994278877973557,
-0.02027539536356926,
0.03123553656041622,
0.014578891918063164,
-0.02817085199058056,
0.023409338667988777,
-0.005640230607241392,
0.0008619423606432974,
0.010293529368937016,
0.011817214079201221,
0.03622214123606682,
0.03132211044430733,
-0.0035300138406455517,
0.01360061764717102,
-0.023651741445064545,
0.04016986861824989,
-0.003482398809865117,
0.0057094888761639595,
0.05204768478870392,
0.012128876522183418,
0.0053372252732515335,
0.03376346826553345,
0.0531904473900795,
-0.01576494239270687,
-0.030387122184038162,
-0.02763409912586212,
0.030162030830979347,
0.03653380274772644,
0.03322671726346016,
-0.017210710793733597,
-0.03036980703473091,
0.0111506013199687,
-0.004328649956732988,
0.08234823495149612,
0.004951975308358669,
-0.010735051706433296,
0.011843185871839523,
-0.040343016386032104,
0.005990851204842329,
-0.02849983051419258,
-0.0005394579493440688,
0.0417281836271286,
0.007536179386079311,
-0.06001240015029907,
0.01746177300810814,
-0.12404178828001022,
0.058177053928375244,
-0.005964879412204027,
-0.0360143668949604,
-0.060185547918081284,
-0.02933093160390854,
0.03563344478607178,
0.04287094622850418,
0.018526621162891388,
0.04363279044628143,
-0.027789931744337082,
-0.000320590625051409,
-0.03698398172855377,
0.008298021741211414,
0.03539104014635086,
0.0069821118377149105,
-0.050697144120931625,
-0.08283304423093796,
0.036603063344955444,
0.021522046998143196,
-0.10970529913902283,
-0.0008197380229830742,
-0.02690688706934452,
0.04429074376821518,
0.02543514594435692,
0.018734395503997803,
0.048411618918180466,
-0.005354539956897497,
-0.01811107061803341,
0.037330277264118195,
-0.07355241477489471,
-0.0001761219318723306,
0.018163014203310013,
-0.06558769941329956,
0.07569942623376846,
-0.05880037695169449,
-0.016959650442004204,
-0.0111506013199687,
0.015834201127290726,
-0.03036980703473091,
-0.05305192992091179,
-0.006562232971191406,
0.06683435291051865,
0.04844624921679497,
-0.03476771339774132,
0.010527276434004307,
-0.004713899455964565,
0.01473472360521555,
-0.051285840570926666,
0.006112053524702787,
0.03177228942513466,
0.006692092400044203,
-0.002385085914283991,
-0.026508651673793793,
0.02084677666425705,
0.0359451062977314,
-0.024967651814222336,
0.012293364852666855,
0.035044748336076736,
-0.02503691054880619,
0.0007845677901059389,
0.0011211202945560217,
-0.008341307751834393,
0.030387122184038162,
0.05654948204755783,
0.019478924572467804,
-0.0488617978990078,
0.005220351740717888,
-0.031858861446380615,
0.02576412260532379,
0.02114112488925457,
-0.05249786376953125,
0.062367185950279236,
-0.001801800448447466,
0.04304409399628639,
-0.007237502373754978,
-0.024794505909085274,
0.0005216022836975753,
0.03466382622718811,
0.05003919079899788,
0.029123155400156975,
0.004068930633366108,
0.039788950234651566,
-0.0280496496707201,
0.07466055452823639,
-0.005921592935919762,
0.04560665413737297,
0.012752202339470387,
-0.09273698925971985,
0.0804782584309578,
-0.03781508281826973,
-0.03492354601621628,
-0.02328813634812832,
-0.05246323347091675,
0.011626753024756908,
0.047407373785972595,
0.01366121880710125,
0.014578891918063164,
-0.02733975276350975,
0.01869976706802845,
-0.049969933927059174,
-0.023928776383399963,
-0.006886881776154041,
0.007181230001151562,
-0.047545887529850006,
0.025279315188527107,
0.02114112488925457,
-0.0039260853081941605,
-0.021695192903280258,
0.026716426014900208,
0.023097675293684006,
-0.007311089430004358,
-0.020673630759119987,
-0.035027433186769485,
0.015513881109654903,
0.06247107312083244,
0.015063701197504997,
-0.00470957113429904,
-0.03895784914493561,
0.021348901093006134,
-0.06825415045022964,
0.017470430582761765,
-0.027564842253923416,
-0.02976379543542862,
-0.02543514594435692,
0.0036577091086655855,
-0.02342665195465088,
0.016665302217006683,
0.07493758201599121,
-0.043390385806560516,
0.03267264738678932,
0.007159586530178785,
0.03698398172855377,
-0.005008247680962086,
0.05824631080031395,
-0.04273242875933647,
-0.004272377118468285,
0.09481474757194519,
0.03577196225523949,
0.06828878074884415,
0.0011157094268128276,
0.038750071078538895,
0.03715712949633598,
0.05093954876065254,
0.005367525853216648,
0.013851678930222988,
-0.021227698773145676,
0.02991962619125843,
-0.018769025802612305,
0.007769926451146603,
-0.008436538279056549,
-0.04287094622850418,
0.01913263276219368,
-0.003982357680797577,
0.041485778987407684,
0.10631164163351059,
-0.01869976706802845,
0.02962527982890606,
0.030802670866250992,
-0.004328649956732988,
-0.012934005819261074,
0.014613521285355091,
0.02183370850980282,
0.054852649569511414,
-0.03495817631483078,
-0.037053242325782776,
-0.03982357680797577,
-0.020621687173843384,
0.03812674805521965,
-0.027391696348786354,
-0.01998104713857174,
-0.0111506013199687,
0.028880750760436058,
-0.023201562464237213,
0.017020251601934433,
0.008626999333500862,
0.030387122184038162,
0.006311171222478151,
-0.062194038182497025,
0.015409993007779121,
-0.06402938812971115,
0.04359816014766693,
0.036187510937452316,
0.007817541249096394,
-0.047407373785972595,
-0.021781764924526215,
-0.03556418791413307,
0.03982357680797577,
-0.005570972338318825,
0.004356786143034697,
0.07542239129543304,
-0.025989213958382607,
-0.030854616314172745,
0.0006379347760230303,
-0.011332404799759388,
-0.0431133508682251,
0.0067959800362586975,
0.018180329352617264,
-0.06250569969415665,
0.02430969662964344,
-0.022543607279658318,
-0.011808556504547596,
0.0003403400769457221,
-0.011600781232118607,
0.0028504158835858107,
0.013384184800088406,
0.0018407582538202405,
-0.02172982133924961,
-0.07438351958990097,
-0.05107806622982025,
-0.018595879897475243,
-0.049104202538728714,
0.004731214139610529,
0.01828421652317047,
0.028690289705991745,
0.07029727101325989,
0.0005567725747823715,
0.00618996936827898,
0.025642920285463333,
-0.021937597543001175,
0.0633714348077774,
0.007354375906288624,
0.0023201561998575926,
0.07258279621601105,
-0.0034650841262191534,
0.04879254102706909,
0.030802670866250992,
-0.0019338242709636688,
-0.009228681214153767,
-0.03281116485595703,
-0.012977291829884052,
0.04200521856546402,
-0.012916690669953823,
-0.021625934168696404,
0.006722392980009317,
0.01452694833278656,
0.02533125877380371,
-0.03478502854704857,
0.04387519508600235,
0.05003919079899788,
-0.041485778987407684,
0.015487908385694027,
-0.020777517929673195,
-0.019807901233434677,
-0.03729564696550369,
0.05599541217088699,
0.009410484693944454,
-0.050143077969551086,
0.051701392978429794,
-0.018734395503997803,
0.00407975260168314,
-0.040793195366859436,
0.056307077407836914,
-0.0023396352771669626,
0.023184247314929962,
-0.002080998383462429,
0.06738842278718948,
0.004071095027029514,
0.017548346891999245,
-0.06025480479001999,
0.01093416940420866,
-0.038888588547706604,
-0.005657545290887356,
0.029400188475847244,
-0.03999672457575798,
-0.01193841639906168,
0.02041391283273697,
0.030716098845005035,
-0.04332112520933151,
0.040204498916864395,
-0.0230111014097929,
-0.024240437895059586,
-0.005051534157246351,
-0.04816921427845955,
0.017730148509144783,
-0.036291398108005524,
-0.05454098805785179,
-0.0025387529749423265,
0.00950571522116661,
0.020327338948845863,
0.012327994219958782,
0.0294694472104311,
0.02202416956424713,
-0.056445591151714325,
0.022076113149523735,
0.021747136488556862,
-0.017868665978312492,
-0.03466382622718811,
-0.0019468102836981416,
-0.0446024052798748,
0.03712249919772148,
0.04965826869010925,
0.015912117436528206,
0.0057744188234210014,
-0.026214303448796272,
-0.02313230372965336,
-0.011271803639829159,
0.03005814366042614,
-0.004246405325829983,
-0.02444821409881115,
-0.03339986130595207,
-0.030750727280974388,
-0.05987388268113136,
0.01532342005521059,
-0.006852252408862114,
0.04945049434900284,
0.007860828191041946,
-0.014483662322163582,
-0.00118605000898242,
-0.012414567172527313,
0.020327338948845863,
-0.06572622060775757,
-0.017764778807759285,
0.0186824519187212,
0.01869976706802845,
-0.05346748232841492,
0.07126688957214355,
-0.015990031883120537,
0.01940966583788395,
-0.019807901233434677,
0.04515647515654564,
-0.030889244750142097,
0.036326028406620026,
0.0005616422859020531,
-0.014068111777305603,
-0.0018407582538202405,
-0.040065981447696686,
-0.06229792907834053,
-0.01488189771771431,
-0.03812674805521965,
-0.03850766643881798,
0.07382944971323013,
0.029417503625154495,
0.02706271782517433,
-0.009903950616717339
]
|
43,860 | pdf2docx.converter | extract_tables | Extract table contents from specified PDF pages.
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes. Defaults to None.
kwargs (dict, optional): Configuration parameters. Defaults to None.
Returns:
list: A list of parsed table content.
| def extract_tables(self, start:int=0, end:int=None, pages:list=None, **kwargs):
'''Extract table contents from specified PDF pages.
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes. Defaults to None.
kwargs (dict, optional): Configuration parameters. Defaults to None.
Returns:
list: A list of parsed table content.
'''
# parsing pages first
settings = self.default_settings
settings.update(kwargs)
self.parse(start, end, pages, **settings)
# get parsed tables
tables = []
for page in self._pages:
if page.finalized: tables.extend(page.extract_tables(**settings))
return tables
| (self, start: int = 0, end: Optional[int] = None, pages: Optional[list] = None, **kwargs) | [
-0.0478440560400486,
-0.0067346468567848206,
-0.021729759871959686,
-0.1037556529045105,
-0.03675995022058487,
0.06699571013450623,
0.024763857945799828,
-0.010487809777259827,
-0.10964847356081009,
0.003540512640029192,
0.026552749797701836,
0.06022598594427109,
-0.015477411448955536,
0.049036648124456406,
0.002197748515754938,
-0.07025780528783798,
0.028481945395469666,
-0.01011073961853981,
0.004156540147960186,
-0.031691424548625946,
-0.047458216547966,
-0.0028258333913981915,
0.015468642115592957,
0.021238692104816437,
-0.029411466792225838,
-0.013258836232125759,
0.004787913057953119,
-0.053035344928503036,
0.04991355538368225,
0.01574048399925232,
0.027850572019815445,
0.03172650188207626,
0.003838661126792431,
0.03728609159588814,
-0.004516072105616331,
-0.010812265798449516,
0.0986345186829567,
0.037496551871299744,
0.004687068983912468,
0.12367898970842361,
-0.03612857684493065,
0.006322500761598349,
-0.009602133184671402,
0.0032862096559256315,
-0.01154886744916439,
-0.0026877205818891525,
-0.026044143363833427,
-0.040197424590587616,
-0.021799912676215172,
0.03742639720439911,
-0.012013628147542477,
-0.022273441776633263,
0.07359004765748978,
-0.055806372314691544,
0.038794372230768204,
0.050018783658742905,
-0.04731791093945503,
0.03583042696118355,
0.0072870985604822636,
-0.011943475343286991,
-0.0010665383888408542,
-0.005055369809269905,
-0.012504695914685726,
0.004932602867484093,
0.021466687321662903,
0.006844260264188051,
0.02634229138493538,
-0.06650464236736298,
-0.028218872845172882,
0.06099766120314598,
-0.04542379081249237,
-0.00921629462391138,
-0.010479040443897247,
0.044546883553266525,
0.010575500316917896,
0.05734973028302193,
0.0009596652816981077,
-0.03791746497154236,
-0.040863875299692154,
-0.00931275449693203,
-0.01227670069783926,
0.0067171091213822365,
-0.006589957512915134,
0.0010468079708516598,
0.10508855432271957,
0.04002204164862633,
0.02984992042183876,
0.007269560359418392,
0.018064288422465324,
0.0012682270025834441,
-0.033655695617198944,
-0.008343772031366825,
0.01608247682452202,
0.005436824634671211,
0.005143060348927975,
-0.0037772776558995247,
-0.06510158628225327,
0.013153607957065105,
-0.11147244274616241,
-0.025816146284341812,
0.04338936507701874,
0.0009059547446668148,
0.05180767551064491,
0.013539446517825127,
-0.006401422433555126,
-0.04352967068552971,
-0.028499482199549675,
-0.012197778560221195,
-0.007199408020824194,
0.0028609095606952906,
-0.027990877628326416,
0.01019843015819788,
0.049422487616539,
-0.003998696804046631,
0.01655600778758526,
-0.09007590264081955,
-0.025132158771157265,
-0.024430634453892708,
-0.07506325095891953,
-0.03984666243195534,
0.001831639907322824,
-0.02646505832672119,
-0.025570612400770187,
-0.016152629628777504,
-0.016328010708093643,
-0.04479241743683815,
0.041319865733385086,
-0.02150176465511322,
0.03148096799850464,
-0.0012408236507326365,
-0.004954525735229254,
-0.015196801163256168,
-0.027815494686365128,
-0.0155037185177207,
-0.0104351956397295,
-0.02181744948029518,
0.04110940918326378,
0.025745995342731476,
-0.0401623472571373,
-0.012250393629074097,
-0.005287750158458948,
0.0018634276930242777,
0.011969782412052155,
-0.007879011332988739,
-0.020098712295293808,
0.06443513929843903,
0.08102621883153915,
-0.02230851911008358,
-0.0056122057139873505,
0.05682358518242836,
-0.0097950529307127,
-0.07597523927688599,
-0.00746686477214098,
-0.04924710839986801,
-0.0071599469520151615,
0.011443638242781162,
-0.029639462009072304,
-0.017564451321959496,
-0.014854807406663895,
0.040372807532548904,
0.026921050623059273,
0.016152629628777504,
-0.04861573502421379,
0.02390448935329914,
-0.009014605544507504,
0.05822663754224777,
0.025132158771157265,
-0.013872671872377396,
0.018976271152496338,
-0.060436442494392395,
0.02856963500380516,
0.03840853273868561,
-0.025500459596514702,
-0.00980382226407528,
0.056122057139873505,
-0.0239220280200243,
0.05517499893903732,
0.011189335957169533,
-0.026535211130976677,
0.07779920101165771,
-0.0008270330727100372,
0.006752185057848692,
-0.02343096025288105,
0.04861573502421379,
0.035865504294633865,
0.00867261178791523,
-0.020993158221244812,
0.03896975517272949,
0.009137372486293316,
-0.04461703822016716,
-0.05300026759505272,
-0.04654623195528984,
-0.014363739639520645,
-0.0008741668425500393,
-0.008918145671486855,
0.0017603911692276597,
-0.012662539258599281,
0.03211234137415886,
-0.014495275914669037,
0.03865406662225723,
-0.05201813206076622,
-0.02988499589264393,
0.013214991427958012,
0.0033300549257546663,
0.026605363935232162,
0.016336780041456223,
-0.02809610590338707,
-0.016415702179074287,
-0.05022924393415451,
0.02565830387175083,
0.010066893883049488,
-0.07695737481117249,
-0.06282162666320801,
-0.04209154471755028,
0.004634454380720854,
0.03851376473903656,
-0.007238868623971939,
-0.033322472125291824,
0.03067421354353428,
0.0010912013240158558,
0.04700222611427307,
0.04195123910903931,
-0.0021615761797875166,
-0.0423370786011219,
0.040863875299692154,
-0.014328663237392902,
0.05293011665344238,
-0.016889231279492378,
0.006796030793339014,
-0.026272138580679893,
-0.00005165531183592975,
-0.049352336674928665,
-0.020449474453926086,
0.04209154471755028,
0.08355171233415604,
0.018835965543985367,
0.005603436846286058,
-0.015644023194909096,
0.045493945479393005,
0.04314383119344711,
-0.0014600504655390978,
0.022501438856124878,
-0.045353639870882034,
-0.04668653756380081,
-0.020624857395887375,
0.043775204569101334,
-0.01502142008394003,
-0.021291306242346764,
-0.03697040677070618,
0.041319865733385086,
0.008080699481070042,
-0.04812466725707054,
0.014249741099774837,
-0.04654623195528984,
-0.004395497031509876,
0.04707237705588341,
0.030621597543358803,
0.0013888017274439335,
0.02727181278169155,
-0.012206547893583775,
0.06289178133010864,
-0.13020317256450653,
-0.0413549430668354,
0.0019423493649810553,
0.053386107087135315,
-0.010382580570876598,
0.024974316358566284,
-0.03160373494029045,
-0.031533580273389816,
0.04044295847415924,
-0.04763359576463699,
0.02004609815776348,
0.016819080337882042,
0.015793098136782646,
0.006239194422960281,
0.008782225660979748,
-0.01379374973475933,
-0.025237388908863068,
-0.03616365045309067,
0.005349133629351854,
0.02037932351231575,
-0.04735298827290535,
-0.04433642700314522,
-0.01862550899386406,
0.07632599771022797,
-0.05524514988064766,
0.018204592168331146,
0.036514416337013245,
0.01531956810504198,
-0.04458196088671684,
0.004071041475981474,
0.020905466750264168,
-0.034935981035232544,
-0.06776738911867142,
0.022571589797735214,
0.012487158179283142,
-0.0024399941321462393,
-0.0632074698805809,
-0.06250594556331635,
-0.017757371068000793,
-0.026675516739487648,
-0.0036917792167514563,
0.05734973028302193,
0.033620622009038925,
-0.01795905828475952,
-0.008413923904299736,
0.0028609095606952906,
0.022062985226511955,
0.06415452808141708,
-0.10263321548700333,
0.02101069502532482,
-0.018362436443567276,
-0.0031656348146498203,
0.005055369809269905,
-0.09456566721200943,
-0.02006363682448864,
-0.021606992930173874,
0.0443013496696949,
-0.05759526416659355,
0.011496253311634064,
-0.025816146284341812,
0.06285670399665833,
0.03049883060157299,
0.01815197803080082,
0.09540750086307526,
0.0360233448445797,
0.014135743491351604,
0.006607495713979006,
0.04573947936296463,
0.039074983447790146,
-0.031095128506422043,
0.034935981035232544,
0.051456913352012634,
0.055315304547548294,
-0.030446216464042664,
-0.04061834141612053,
-0.012162702158093452,
-0.00899706780910492,
-0.05212336406111717,
-0.014126974157989025,
-0.002411494730040431,
-0.021729759871959686,
0.010970109142363071,
-0.04258261248469353,
0.06415452808141708,
-0.03567258268594742,
-0.027868110686540604,
-0.02793826162815094,
0.04096910357475281,
-0.01988825388252735,
-0.0010122797684744,
0.04521333426237106,
0.011925937607884407,
0.026272138580679893,
-0.04994863271713257,
-0.0005080581177026033,
-0.012951918877661228,
0.0067171091213822365,
0.0014929344179108739,
-0.033778462558984756,
0.051386758685112,
0.07302883267402649,
-0.05124645680189133,
-0.003952659200876951,
0.007629092317074537,
-0.022729434072971344,
-0.018976271152496338,
0.030604060739278793,
-0.03470798581838608,
0.014030514284968376,
0.03896975517272949,
0.01421466562896967,
-0.04703729972243309,
0.05300026759505272,
-0.0010276256361976266,
-0.015626486390829086,
-0.016985692083835602,
0.016643697395920753,
-0.025798609480261803,
0.06176934018731117,
-0.0349535197019577,
0.022852201014757156,
-0.016740158200263977,
0.03079698048532009,
-0.016968153417110443,
-0.039706356823444366,
-0.010768420062959194,
0.010452733375132084,
0.002103480976074934,
0.0261844489723444,
0.01848520338535309,
0.02713150717318058,
-0.013293912634253502,
0.013767442665994167,
0.08285018801689148,
-0.016582313925027847,
0.010470272041857243,
-0.0188008900731802,
0.01715230382978916,
-0.03686517849564552,
0.03190188109874725,
0.05605190619826317,
-0.0015466450713574886,
0.06646956503391266,
0.008225388824939728,
-0.02614937163889408,
0.040197424590587616,
-0.10186153650283813,
0.014258510433137417,
0.02870994061231613,
-0.012373160570859909,
-0.0076071699149906635,
-0.022431286051869392,
0.05647282302379608,
-0.006975796539336443,
0.02793826162815094,
-0.025781070813536644,
-0.031516045331954956,
0.007979854941368103,
0.01623155176639557,
-0.0030209452379494905,
0.008944452740252018,
0.0018119094893336296,
-0.012031166814267635,
0.04591485857963562,
-0.025886299088597298,
-0.03483075276017189,
-0.06008568033576012,
0.03418184071779251,
-0.00018346542492508888,
0.03321724385023117,
0.007699245121330023,
-0.05426301434636116,
-0.05878785625100136,
0.031182818114757538,
-0.010663190856575966,
-0.022676819935441017,
-0.011215643025934696,
0.04082879796624184,
-0.01115425955504179,
-0.023851875215768814,
0.00004045419336762279,
0.04963294416666031,
0.03128804638981819,
0.037812236696481705,
-0.04296845197677612,
-0.005292134825140238,
-0.04833512380719185,
-0.05268458276987076,
0.009733669459819794,
-0.00754578597843647,
-0.014328663237392902,
-0.01801167242228985,
-0.04002204164862633,
0.047282833606004715,
-0.0070547182112932205,
0.03455014154314995,
0.01586325094103813,
-0.06233056262135506,
0.06208502873778343,
0.07625585049390793,
0.0009848764166235924,
0.022554052993655205,
0.009645978920161724,
0.038934677839279175,
-0.0077957045286893845,
-0.049527715891599655,
0.033603083342313766,
-0.009847667068243027,
-0.03788239136338234,
0.00254960753954947,
-0.0006374018848873675,
-0.00469583785161376,
-0.02937638945877552,
0.011671634390950203,
0.04573947936296463,
0.0290431659668684,
-0.04191616177558899,
0.040057118982076645,
-0.06148872897028923,
0.019186729565262794,
0.01154886744916439,
0.05717434734106064,
0.0002362168743275106,
-0.06643448770046234,
0.009575826115906239,
0.025973990559577942,
-0.012557310983538628,
0.014030514284968376,
-0.023325730115175247,
0.02213313616812229,
0.01325006689876318,
0.013381603173911572,
-0.019940869882702827,
0.011917168274521828,
-0.03191941976547241,
0.03418184071779251,
0.013583292253315449,
0.0029617538675665855,
-0.014889883808791637,
0.05780572071671486,
-0.013846363872289658,
0.08986544609069824,
0.015705406665802002,
-0.023080196231603622,
0.03665471822023392,
0.06548742949962616,
-0.009724900126457214,
-0.012092550285160542,
-0.03321724385023117,
0.04563424736261368,
0.04689699411392212,
-0.05731465294957161,
0.002711835317313671,
-0.03486583009362221,
-0.001862331642769277,
-0.017266301438212395,
-0.011768094263970852,
0.023816797882318497,
0.030393602326512337,
-0.01780121587216854,
0.02406233362853527,
0.00429246062412858,
-0.03198957443237305,
-0.005884047131985426,
0.0032511332537978888,
-0.02309773489832878,
-0.007791320327669382,
0.01797659695148468,
-0.06257609277963638,
0.032515719532966614,
0.02520231157541275,
0.02136145904660225,
-0.07116978615522385,
0.004985217470675707,
-0.0175206046551466,
-0.026675516739487648,
-0.08207850903272629,
0.09898528456687927,
0.005362287163734436,
0.03162127360701561,
-0.014249741099774837,
-0.05598175525665283,
-0.002141845878213644,
0.035409510135650635,
0.02341342158615589,
-0.03840853273868561,
0.029639462009072304,
0.08186805248260498,
0.059454306960105896,
-0.01586325094103813,
-0.05910354480147362,
0.05717434734106064,
-0.0020410013385117054,
-0.021764835342764854,
0.06432990729808807,
0.02327311597764492,
-0.021396534517407417,
-0.0462656207382679,
0.008935684338212013,
-0.005976122338324785,
-0.01235562190413475,
-0.002076077740639448,
0.0366196446120739,
0.00980382226407528,
0.006506651174277067,
0.00705910287797451,
0.049668021500110626,
-0.045037951320409775,
-0.034111689776182175,
-0.021870065480470657,
0.041179560124874115,
-0.049036648124456406,
0.010557962581515312,
0.06019090861082077,
-0.022676819935441017,
-0.08011423796415329,
-0.010154585354030132,
0.009970434941351414,
-0.046476081013679504,
0.051000919193029404,
-0.020765161141753197,
0.03388369455933571,
-0.009093527682125568,
0.0584721714258194,
0.00581827899441123,
-0.07239745557308197,
-0.017871368676424026,
0.041986316442489624,
-0.04079372063279152,
0.020151326432824135,
-0.0014907422009855509,
-0.012539772316813469,
-0.003345400793477893,
-0.0052088284865021706,
0.009751208126544952,
-0.028008414432406425,
-0.010899956338107586,
-0.0827098861336708,
-0.08137698471546173,
-0.010145816020667553,
0.09758222848176956,
0.0022284402512013912,
0.002551799872890115,
0.02216821350157261,
0.020870391279459,
0.06183949485421181,
-0.014153282158076763,
0.008567383512854576,
-0.003459398867562413,
-0.015705406665802002,
0.015845712274312973,
0.03349785506725311,
-0.039074983447790146,
-0.01832735911011696,
0.0075940159149467945,
-0.008168390020728111,
-0.009356599301099777,
-0.002230632584542036,
-0.02855209819972515,
-0.049422487616539,
0.014372508972883224,
0.009286446496844292,
0.033971384167671204,
0.02520231157541275,
0.02358880266547203,
0.008843609131872654,
0.005116753280162811,
0.044862572103738785,
0.013986669480800629,
0.002670182380825281,
0.033322472125291824,
0.00795354787260294,
0.05366671830415726,
0.032007113099098206,
0.043108757585287094,
-0.04002204164862633,
-0.009987972676753998,
-0.0040447344072163105,
0.043705053627491,
-0.03565504401922226,
0.008427077904343605,
0.007532632444053888,
-0.03774208575487137,
0.02262420579791069,
-0.006120812147855759,
-0.011496253311634064,
-0.03711071237921715,
0.027517346665263176,
-0.004285883624106646,
0.015661561861634254,
-0.007037180010229349,
0.005770049057900906,
-0.017555681988596916,
-0.08285018801689148,
0.010663190856575966,
0.026131832972168922,
-0.003369515761733055,
0.06524189561605453,
0.024816472083330154,
0.014504044316709042,
-0.0590684674680233,
0.030235759913921356,
0.0024246482644230127,
0.02181744948029518,
-0.026710592210292816,
0.0218525268137455,
0.016968153417110443,
-0.06019090861082077,
0.020993158221244812,
0.04766867309808731,
0.0632074698805809,
0.04994863271713257,
-0.05566606670618057,
0.0019741372670978308,
0.03583042696118355,
-0.002072789240628481,
-0.07829026877880096,
0.020923005416989326,
0.0034813215024769306,
0.026131832972168922,
0.011461176909506321,
-0.005445593502372503,
0.04591485857963562,
-0.046160392463207245,
0.040688492357730865,
0.012583618052303791,
-0.027236737310886383,
-0.015459873713552952,
-0.0175206046551466,
0.037671931087970734,
-0.0027995260898023844,
-0.010803496465086937,
0.030446216464042664,
-0.01060180738568306,
0.06941597163677216,
0.0218525268137455,
-0.11329640448093414,
0.00775185925886035,
0.021133461967110634,
0.02325557731091976,
0.0018272553570568562,
0.0022339210845530033,
0.05229874327778816,
-0.028797632083296776,
-0.037671931087970734,
-0.030709289014339447,
0.02695612609386444,
-0.02888532169163227,
-0.009523211978375912,
0.018502742052078247,
0.03872422128915787,
0.00819031335413456,
0.005682358518242836,
0.004972063470631838,
-0.01100518461316824,
0.03162127360701561,
0.04061834141612053,
0.00916367955505848,
-0.05506977066397667,
0.03051636926829815,
-0.0353393591940403,
0.027850572019815445,
0.009444289840757847,
-0.030218221247196198,
0.015345875173807144,
-0.05829678848385811,
0.003099866909906268,
-0.0042047700844705105,
0.0145215829834342,
0.014477737247943878,
0.06383883953094482,
-0.021712221205234528,
-0.011890861205756664,
-0.07197654247283936,
-0.06313731521368027,
-0.020274093374609947,
-0.024974316358566284,
-0.027201659977436066,
-0.03356800600886345,
-0.011399793438613415,
0.00357339670881629,
0.028324101120233536,
0.04012727364897728,
-0.00022909199469722807,
-0.01895873248577118,
0.007041564676910639,
0.0009821359999477863,
0.00188754266127944,
0.013741135597229004,
-0.038583915680646896,
0.03160373494029045,
-0.02309773489832878,
0.012495927512645721,
-0.0165384691208601,
-0.004101733211427927,
0.0059410459361970425,
-0.03644426167011261,
-0.08383232355117798,
-0.020186403766274452,
-0.03711071237921715,
0.05955953523516655,
-0.0773782879114151,
0.01908149942755699,
0.023045120760798454,
0.02358880266547203,
0.05485931411385536,
0.03018314391374588
]
|
43,861 | pdf2docx.converter | load_pages | Step 1 of converting process: open PDF file with ``PyMuPDF``,
especially for password encrypted file.
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
| def load_pages(self, start:int=0, end:int=None, pages:list=None):
'''Step 1 of converting process: open PDF file with ``PyMuPDF``,
especially for password encrypted file.
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
'''
logging.info(self._color_output('[1/4] Opening document...'))
# encrypted pdf ?
if self._fitz_doc.needs_pass:
if not self.password:
raise ConversionException(f'Require password for {self.filename_pdf}.')
elif not self._fitz_doc.authenticate(self.password):
raise ConversionException('Incorrect password.')
# initialize empty pages
num = len(self._fitz_doc)
self._pages.reset([Page(id=i, skip_parsing=True) for i in range(num)])
# set pages to parse
page_indexes = self._page_indexes(start, end, pages, num)
for i in page_indexes:
self._pages[i].skip_parsing = False
return self
| (self, start: int = 0, end: Optional[int] = None, pages: Optional[list] = None) | [
-0.011635806411504745,
0.0053741647861897945,
-0.027359383180737495,
0.013186649419367313,
0.0014746456872671843,
0.0890703946352005,
0.0198292788118124,
-0.010613863356411457,
-0.1122344359755516,
0.024060480296611786,
0.05522077530622482,
0.028847476467490196,
-0.009067501872777939,
0.06386246532201767,
-0.017256492748856544,
-0.03689751774072647,
0.004063119646161795,
0.01099933311343193,
-0.016799306496977806,
-0.0018769237212836742,
-0.03711266443133354,
-0.01212884858250618,
0.04145143926143646,
0.05712123215198517,
-0.034172337502241135,
-0.03983784466981888,
0.022106239572167397,
0.0003269208827987313,
0.02388119325041771,
-0.025943007320165634,
0.03284560516476631,
0.04830025136470795,
0.03487155959010124,
0.05665508285164833,
0.026068508625030518,
-0.0082293301820755,
0.08849667012691498,
0.02703666500747204,
-0.04123629257082939,
0.050200704485177994,
-0.04475034400820732,
0.011546161957085133,
0.01602836698293686,
0.01208402682095766,
-0.04066257178783417,
0.05493391305208206,
-0.04234788194298744,
0.02395290695130825,
-0.036270007491111755,
0.04145143926143646,
0.013312150724232197,
-0.029367411509156227,
0.06092214211821556,
-0.059559550136327744,
0.02239309996366501,
0.0554000623524189,
-0.045108918100595474,
0.03625208139419556,
0.004881122149527073,
-0.008762712590396404,
-0.012586033903062344,
-0.04668665677309036,
0.024652130901813507,
-0.027789676561951637,
0.01773160696029663,
0.013939660042524338,
0.03279181569814682,
-0.044355910271406174,
-0.026247797533869743,
0.053176891058683395,
-0.018430830910801888,
-0.014818171970546246,
-0.03765052929520607,
0.019703777506947517,
0.03234359622001648,
0.0516350120306015,
-0.021873164921998978,
0.052280448377132416,
-0.038367681205272675,
0.03732781112194061,
0.004948355257511139,
0.004453071393072605,
-0.01675448566675186,
-0.0076018208637833595,
0.04385390132665634,
0.07429704070091248,
0.09409046173095703,
0.0008062367560341954,
0.028793690726161003,
0.026211939752101898,
-0.019811348989605904,
0.010335966944694519,
0.022787533700466156,
0.019416915252804756,
0.02492106333374977,
-0.022733747959136963,
-0.04005299136042595,
0.04406904801726341,
-0.1047760397195816,
-0.006521609611809254,
-0.024293554946780205,
-0.01841290108859539,
0.020922936499118805,
-0.0099146394059062,
-0.01003117673099041,
-0.08770780265331268,
-0.013267328962683678,
-0.021729733794927597,
0.022805463522672653,
-0.0043970439583063126,
-0.059989843517541885,
-0.06031256169080734,
0.04349532350897789,
0.03479984402656555,
-0.03826010972261429,
-0.043746329843997955,
-0.025620289146900177,
-0.030425213277339935,
-0.037542954087257385,
-0.007409085985273123,
-0.008457922376692295,
-0.012738429009914398,
-0.04485791549086571,
0.006100282073020935,
-0.008332420140504837,
-0.029008835554122925,
0.06113728508353233,
-0.010165642946958542,
0.06977897882461548,
-0.008426547050476074,
0.0448937714099884,
-0.00849378015846014,
-0.011689593084156513,
-0.02927776798605919,
-0.02576371841132641,
-0.0666593611240387,
-0.02298475056886673,
0.01675448566675186,
-0.08024941384792328,
0.04851539433002472,
-0.0022814427502453327,
0.021424943581223488,
0.0036731676664203405,
0.007713876198977232,
-0.03987370431423187,
0.0793171152472496,
0.05733637511730194,
-0.012783250771462917,
-0.07175114750862122,
0.02709045261144638,
0.029510842636227608,
-0.03696923330426216,
0.030640358105301857,
-0.04500134661793709,
-0.007991773076355457,
-0.03225395455956459,
-0.006678486708551645,
0.0027139754965901375,
-0.015006424859166145,
0.0224648155272007,
0.03580385819077492,
0.019506558775901794,
-0.034763988107442856,
0.029690131545066833,
-0.010318038053810596,
0.05106128752231598,
-0.023970836773514748,
-0.031465083360672,
0.02298475056886673,
0.014083090238273144,
0.020187854766845703,
0.04371047019958496,
-0.03659272938966751,
-0.008843392133712769,
0.04880225658416748,
-0.0160821545869112,
0.047045230865478516,
-0.009977390058338642,
-0.021317370235919952,
0.057515665888786316,
-0.022482743486762047,
0.019883064553141594,
-0.0020595735404640436,
0.023397114127874374,
0.03883383050560951,
0.061209000647068024,
-0.017104096710681915,
0.06676694005727768,
0.011348945088684559,
-0.07429704070091248,
-0.031016863882541656,
0.01864597573876381,
-0.0014186181360855699,
-0.0258354339748621,
-0.0231998972594738,
0.023988764733076096,
-0.028847476467490196,
-0.012971503660082817,
-0.02536928467452526,
0.018170861527323723,
-0.03164437413215637,
0.0006874583195894957,
0.02544100023806095,
-0.07587478309869766,
-0.028309611603617668,
0.037614669650793076,
-0.042491309344768524,
0.04650736600160599,
-0.010864866897463799,
0.04446348175406456,
0.022285526618361473,
-0.07268344610929489,
-0.04837196320295334,
-0.0036059345584362745,
-0.0018589948303997517,
-0.007960397750139236,
0.03189537674188614,
-0.007373228669166565,
0.028309611603617668,
0.03363447263836861,
0.031465083360672,
0.08103828132152557,
-0.0029963545966893435,
-0.08254430443048477,
0.016673805192112923,
-0.009511240758001804,
0.06418518722057343,
-0.03257667273283005,
-0.040770143270492554,
0.011886809952557087,
0.024903135374188423,
-0.09416218101978302,
-0.02762831561267376,
0.05493391305208206,
0.06974311918020248,
-0.019721705466508865,
0.005212805233895779,
0.026462942361831665,
-0.037614669650793076,
0.02416805364191532,
0.03090929053723812,
0.03126786649227142,
-0.01654830388724804,
0.02409633807837963,
-0.06450790911912918,
0.0531410314142704,
0.009116807021200657,
-0.04170244187116623,
-0.02199866622686386,
0.039192408323287964,
0.015391894616186619,
-0.0373995266854763,
-0.011841987259685993,
-0.029152266681194305,
-0.01444166712462902,
0.008780641481280327,
-0.038152534514665604,
-0.02388119325041771,
0.01585804484784603,
0.006261641625314951,
0.012657749466598034,
-0.07472733408212662,
-0.025566501542925835,
0.013016325421631336,
0.06095799803733826,
0.004197585862129927,
0.03655686974525452,
-0.00827415194362402,
-0.005804456304758787,
0.025943007320165634,
-0.013751407153904438,
0.010981404222548008,
-0.013921731151640415,
0.05948783457279205,
0.04234788194298744,
-0.017086168751120567,
0.03157265856862068,
-0.04528820887207985,
-0.006575395818799734,
0.05830453336238861,
0.05816110223531723,
-0.02798689343035221,
-0.03587557375431061,
0.01142066065222025,
0.051850154995918274,
-0.002190678147599101,
-0.013841051608324051,
0.04310088977217674,
-0.003724713111296296,
-0.08211401104927063,
0.003682132111862302,
0.03008456528186798,
0.003480432787910104,
-0.09071984142065048,
-0.017758499830961227,
0.0005748429102823138,
-0.021227726712822914,
-0.08369174599647522,
-0.06483062356710434,
-0.0381883941590786,
-0.029672201722860336,
-0.026391226798295975,
0.06934868544340134,
0.01167166419327259,
-0.0009166110539808869,
-0.025853363797068596,
-0.03621622174978256,
-0.006933972239494324,
0.04288574308156967,
-0.06425689905881882,
0.020833292976021767,
0.02843511290848255,
0.028757832944393158,
0.02079743519425392,
-0.10635378211736679,
-0.002846200717613101,
0.03121408075094223,
0.046148791909217834,
0.015822187066078186,
0.011035190895199776,
-0.0381883941590786,
0.05966712161898613,
0.0426706001162529,
-0.018592189997434616,
0.06077871099114418,
0.05249559506773949,
0.04177415743470192,
0.008937518112361431,
0.009130253456532955,
0.01850254461169243,
-0.06802195310592651,
0.07444047182798386,
-0.005499666556715965,
0.023468829691410065,
-0.08125342428684235,
-0.01051525492221117,
-0.034172337502241135,
-0.0636473223567009,
-0.0029380859341472387,
-0.05141986533999443,
0.0029179160483181477,
-0.055507637560367584,
-0.02454455941915512,
-0.05263902619481087,
0.0040944949723780155,
-0.00812623929232359,
-0.004804924596101046,
-0.03700508922338486,
0.013867944478988647,
-0.04844367876648903,
-0.0224468857049942,
0.0366823710501194,
0.007592856418341398,
0.009278166107833385,
-0.03947926685214043,
-0.033419325947761536,
-0.011707521043717861,
-0.013975517824292183,
0.0011933873174712062,
-0.040770143270492554,
0.012397781014442444,
0.023612260818481445,
-0.1040588915348053,
-0.016064224764704704,
0.003951064310967922,
-0.010353894904255867,
-0.00012879338464699686,
-0.011250336654484272,
0.02449077181518078,
0.012164706364274025,
0.0463997945189476,
0.01099933311343193,
-0.043316036462783813,
0.0314292274415493,
0.001406292081810534,
0.0013144068652763963,
-0.02223174087703228,
0.04012470692396164,
-0.05593792721629143,
0.054826341569423676,
-0.01455820444971323,
0.01107104867696762,
0.012586033903062344,
0.06544020771980286,
-0.03605486452579498,
-0.08864010125398636,
-0.023110253736376762,
-0.007099813781678677,
0.046830084174871445,
0.020474715158343315,
0.03203880786895752,
0.04898154363036156,
0.0069205258041620255,
0.02275167591869831,
0.057981815189123154,
0.011994382366538048,
0.029761847108602524,
0.015391894616186619,
0.009269201196730137,
-0.03203880786895752,
0.05106128752231598,
0.013007361441850662,
-0.03408269211649895,
0.05572278052568436,
-0.023164039477705956,
-0.012003347277641296,
0.043316036462783813,
-0.06784266978502274,
0.01070350781083107,
0.050559282302856445,
-0.0030837575905025005,
-0.03225395455956459,
-0.015965616330504417,
0.00044513907050713897,
-0.0258354339748621,
0.01342868898063898,
-0.026229867711663246,
-0.04987798631191254,
-0.02156837470829487,
0.0030366943683475256,
0.03944341093301773,
0.03696923330426216,
-0.021227726712822914,
0.0024159089662134647,
0.022518601268529892,
-0.04485791549086571,
-0.003870384767651558,
-0.035516999661922455,
0.015436716377735138,
0.03786567598581314,
-0.001460078521631658,
0.021514587104320526,
-0.028345469385385513,
-0.04399733245372772,
-0.009717422537505627,
-0.0034916382282972336,
-0.046830084174871445,
0.04661494120955467,
0.004746655933558941,
0.0010757293784990907,
0.034261979162693024,
-0.02725181169807911,
0.047869957983493805,
0.02492106333374977,
0.05801767110824585,
-0.008583423681557178,
-0.03655686974525452,
0.002269116695970297,
-0.07401017844676971,
0.025476858019828796,
-0.007252208888530731,
0.017794357612729073,
0.002570545068010688,
-0.03729195147752762,
0.06533262878656387,
0.014880923554301262,
0.029385341331362724,
0.0034938794560730457,
0.015024353750050068,
0.0988236740231514,
0.06483062356710434,
0.024078410118818283,
-0.004181898199021816,
0.006024084519594908,
-0.01758817583322525,
0.012263314798474312,
-0.024454914033412933,
0.07608992606401443,
-0.017570246011018753,
-0.021586302667856216,
-0.008027630858123302,
-0.03826010972261429,
0.004471000283956528,
-0.034835703670978546,
-0.0117882015183568,
0.04485791549086571,
0.023486757650971413,
-0.020546430721879005,
0.031249938532710075,
-0.0494118370115757,
-0.004952837247401476,
-0.04163072630763054,
0.07522933930158615,
0.026964949443936348,
-0.07243244349956512,
-0.03549906983971596,
0.0187176913022995,
-0.0011833023745566607,
-0.03047899901866913,
-0.009107842110097408,
0.03947926685214043,
0.03736366704106331,
-0.005625168327242136,
0.010022211819887161,
-0.006902596913278103,
-0.000977120827883482,
0.011537197977304459,
0.005320378113538027,
-0.014495453797280788,
-0.06909768283367157,
0.021747661754488945,
0.023468829691410065,
0.06694622337818146,
-0.010506290011107922,
0.01354522630572319,
0.03908483311533928,
0.011662699282169342,
-0.02112015336751938,
-0.010291144251823425,
-0.027502814307808876,
-0.013607976958155632,
-0.02156837470829487,
-0.03151887282729149,
-0.0076645719818770885,
-0.032755959779024124,
0.04557506740093231,
0.002210848033428192,
-0.004598743282258511,
0.002310577081516385,
-0.0025414107367396355,
0.010075998492538929,
-0.005284520797431469,
0.01857426017522812,
-0.049447692930698395,
0.004625636152923107,
0.019721705466508865,
-0.020259570330381393,
-0.03847525268793106,
0.011510304175317287,
-0.0258354339748621,
0.029851490631699562,
0.007790073752403259,
0.03562457114458084,
-0.06565535068511963,
-0.007023616693913937,
-0.035516999661922455,
-0.01721167005598545,
-0.07167943567037582,
0.04797752946615219,
-0.0033101090230047703,
0.01220056414604187,
0.02605058066546917,
-0.04575435817241669,
-0.028704045340418816,
0.08326145261526108,
-0.015589111484587193,
0.015302250161767006,
-0.021245654672384262,
0.07379503548145294,
0.0344233401119709,
-0.01895076595246792,
-0.04069842770695686,
0.03449505567550659,
-0.007951432839035988,
-0.01201231125742197,
0.05791009962558746,
0.012523283250629902,
-0.02423976920545101,
-0.0064230007119476795,
-0.02103050984442234,
-0.0005104111623950303,
-0.001239329925738275,
-0.0501648485660553,
-0.032917320728302,
-0.05945197865366936,
-0.038582827895879745,
0.025943007320165634,
-0.005750670097768307,
-0.036180365830659866,
-0.007624232210218906,
0.027664173394441605,
0.025207925587892532,
-0.062105443328619,
0.019327271729707718,
0.04582607373595238,
-0.021693876013159752,
-0.0254589281976223,
0.013159756548702717,
0.023038538172841072,
-0.024974850937724113,
0.04984212666749954,
0.014809207990765572,
0.017776427790522575,
-0.03689751774072647,
0.05134814977645874,
0.016673805192112923,
-0.01774953491985798,
-0.022034524008631706,
0.03429783880710602,
-0.06020498648285866,
-0.017919858917593956,
-0.06468719244003296,
-0.021693876013159752,
-0.03309660777449608,
-0.016351087018847466,
0.02904469333589077,
0.0020259569864720106,
-0.031088579446077347,
-0.05052342265844345,
-0.042706456035375595,
-0.020976722240447998,
0.10190743207931519,
-0.03883383050560951,
-0.00906302034854889,
0.012541212141513824,
0.040770143270492554,
0.021604232490062714,
0.029546700417995453,
0.021299442276358604,
0.031931232661008835,
-0.00020912291074637324,
-0.008323456160724163,
-0.02395290695130825,
-0.008659621700644493,
-0.06795024126768112,
0.0023822924122214317,
-0.04424833506345749,
-0.04385390132665634,
0.020689861848950386,
0.03397512063384056,
-0.05981055274605751,
0.015149855986237526,
-0.01351833250373602,
0.03605486452579498,
0.0097263865172863,
-0.0013558672508224845,
0.037614669650793076,
0.02746695652604103,
0.04797752946615219,
0.047869957983493805,
0.010362859815359116,
0.037614669650793076,
0.041881732642650604,
0.03413647785782814,
0.014755421318113804,
0.005069374572485685,
-0.014495453797280788,
-0.0013771577505394816,
0.018843192607164383,
0.060061559081077576,
-0.02508242428302765,
-0.029761847108602524,
-0.01585804484784603,
-0.047654811292886734,
0.025118282064795494,
0.004952837247401476,
0.02963634394109249,
-0.011608912609517574,
0.09681564569473267,
-0.004533750936388969,
0.007086367346346378,
0.023701904341578484,
-0.00714911799877882,
-0.021012580022215843,
-0.07175114750862122,
-0.019703777506947517,
0.027592459693551064,
-0.010058069601655006,
0.03542735427618027,
0.0016785861225798726,
-0.023468829691410065,
-0.03612658008933067,
-0.005163501016795635,
-0.037686385214328766,
0.015678755939006805,
0.010936582460999489,
0.012846001423895359,
0.026893233880400658,
-0.05776666849851608,
0.003112891921773553,
-0.022948892787098885,
0.037542954087257385,
0.047045230865478516,
-0.045324064791202545,
0.033132463693618774,
0.03479984402656555,
0.01827843487262726,
-0.05202944576740265,
0.012765321880578995,
0.04421247914433479,
-0.01895076595246792,
0.027664173394441605,
-0.020976722240447998,
0.06278673559427261,
-0.06042013317346573,
0.07010170072317123,
0.012110919691622257,
-0.0449296310544014,
-0.016288336366415024,
0.012783250771462917,
0.023379186168313026,
0.028919192031025887,
0.0018858880503103137,
-0.01826050691306591,
-0.03182366117835045,
0.04500134661793709,
-0.01737302914261818,
-0.03309660777449608,
-0.026229867711663246,
0.009376774542033672,
0.024831419810652733,
-0.031626444309949875,
0.030120423063635826,
0.03542735427618027,
-0.035588715225458145,
-0.07422532886266708,
-0.041200436651706696,
0.03958684206008911,
-0.05643993616104126,
-0.012837037444114685,
0.028345469385385513,
0.018359115347266197,
0.008135203272104263,
0.0157235786318779,
0.0007334009278565645,
0.02716216631233692,
-0.010488361120223999,
0.07236073166131973,
0.007028098683804274,
-0.045467495918273926,
0.019578274339437485,
-0.01819775626063347,
-0.003193571697920561,
-0.020851220935583115,
0.00637817895039916,
-0.0029560148250311613,
-0.06146000698208809,
-0.009923603385686874,
0.003843491431325674,
-0.02725181169807911,
0.01224538590759039,
0.02103050984442234,
-0.08813809603452682,
0.0017794356681406498,
-0.07436875998973846,
-0.05267488211393356,
-0.012774286791682243,
-0.007592856418341398,
-0.02963634394109249,
-0.04385390132665634,
-0.006951901130378246,
0.010730400681495667,
-0.031483013182878494,
0.02986941859126091,
-0.03182366117835045,
0.006889150477945805,
0.05457533895969391,
-0.024670060724020004,
-0.01429823599755764,
0.03646722808480263,
-0.023612260818481445,
0.03358068689703941,
-0.02230345644056797,
0.06465133279561996,
-0.010228393599390984,
0.016422802582383156,
0.0037045429926365614,
0.03022799640893936,
-0.020905008539557457,
-0.03246909752488136,
-0.060814566910266876,
0.007695947308093309,
-0.04557506740093231,
0.03130372613668442,
0.03883383050560951,
0.04335189610719681,
0.04500134661793709,
0.03166230022907257
]
|
43,862 | pdf2docx.converter | make_docx | Step 4 of converting process: create docx file with converted pages.
Args:
filename_or_stream (str, file-like): docx file to write.
kwargs (dict, optional): Configuration parameters.
| def make_docx(self, filename_or_stream=None, **kwargs):
'''Step 4 of converting process: create docx file with converted pages.
Args:
filename_or_stream (str, file-like): docx file to write.
kwargs (dict, optional): Configuration parameters.
'''
logging.info(self._color_output('[4/4] Creating pages...'))
# check parsed pages
parsed_pages = list(filter(
lambda page: page.finalized, self._pages
))
if not parsed_pages:
raise ConversionException('No parsed pages. Please parse page first.')
if not filename_or_stream:
if self.filename_pdf:
filename_or_stream = f'{self.filename_pdf[0:-len(".pdf")]}.docx'
# remove existing file
if os.path.exists(filename_or_stream): os.remove(filename_or_stream)
else:
raise ConversionException("Please specify a docx file name or a file-like object to write.")
# create page by page
docx_file = Document()
num_pages = len(parsed_pages)
for i, page in enumerate(parsed_pages, start=1):
if not page.finalized: continue # ignore unparsed pages
pid = page.id + 1
logging.info('(%d/%d) Page %d', i, num_pages, pid)
try:
page.make_docx(docx_file)
except Exception as e:
if not kwargs['debug'] and kwargs['ignore_page_error']:
logging.error('Ignore page %d due to making page error: %s', pid, e)
else:
raise MakedocxException(f'Error when make page {pid}: {e}')
# save docx
docx_file.save(filename_or_stream)
| (self, filename_or_stream=None, **kwargs) | [
-0.053028445690870285,
0.00886919442564249,
-0.029912525787949562,
-0.024478977546095848,
0.03278801217675209,
-0.00035126678994856775,
-0.017906436696648598,
0.04077962413430214,
-0.05265500769019127,
-0.007123363669961691,
0.07662983983755112,
0.026290159672498703,
0.02623414434492588,
0.001682812930084765,
-0.0189147237688303,
-0.0029525081627070904,
0.01784108579158783,
-0.025319216772913933,
0.0003121723129879683,
0.06318601220846176,
0.042348068207502365,
-0.010232249274849892,
0.012612927705049515,
0.03646639361977577,
0.027279775589704514,
0.036765143275260925,
-0.028325406834483147,
0.07177512347698212,
-0.024647025391459465,
-0.03133159503340721,
-0.010474985465407372,
-0.015198998153209686,
0.038949768990278244,
0.041862599551677704,
0.055679868906736374,
0.025655312463641167,
0.026570240035653114,
0.053289853036403656,
-0.02208896167576313,
-0.011679328978061676,
-0.010512329638004303,
0.03648506477475166,
-0.04664262756705284,
-0.014862902462482452,
-0.06833947449922562,
-0.009270641952753067,
-0.041638534516096115,
0.04731481894850731,
-0.11920197308063507,
0.05773378908634186,
0.009998849593102932,
-0.0758456140756607,
0.050377026200294495,
-0.05407407879829407,
0.014237390831112862,
0.01858796365559101,
0.0019979027565568686,
0.032881371676921844,
-0.0034006359055638313,
-0.014461454935371876,
-0.021528802812099457,
0.06531461328268051,
0.05463423952460289,
-0.018737340345978737,
0.03551412373781204,
0.049107328057289124,
0.01622595824301243,
-0.05407407879829407,
-0.05332719907164574,
0.08282893896102905,
0.007776882965117693,
-0.050638433545827866,
0.011903392150998116,
-0.0034706557635217905,
0.013555863872170448,
0.0724099725484848,
-0.053999390453100204,
-0.0024250245187431574,
0.041862599551677704,
0.04253479093313217,
-0.02376944199204445,
0.000028828528229496442,
-0.04316963627934456,
-0.023732097819447517,
0.08327706903219223,
0.025132495909929276,
0.08058830350637436,
0.016431350260972977,
-0.0013315462274476886,
0.0043085613287985325,
0.00458163907751441,
0.010624361224472523,
0.013658559881150723,
-0.023713424801826477,
0.009321990422904491,
-0.03876304626464844,
-0.0075854952447116375,
-0.0010538003407418728,
-0.06266319006681442,
0.012547575868666172,
-0.014704191125929356,
-0.019792307168245316,
-0.05750972405076027,
-0.020576531067490578,
0.053775325417518616,
-0.04634387418627739,
0.018111828714609146,
-0.02431092970073223,
0.0016769779613241553,
-0.04447667673230171,
-0.08021486550569534,
-0.05777113139629364,
0.01630064658820629,
0.010727057233452797,
-0.024441633373498917,
-0.06994526833295822,
-0.003059872193261981,
-0.019082771614193916,
-0.0659494623541832,
-0.018615972250699997,
0.015385718084871769,
-0.0659494623541832,
-0.06012380123138428,
0.01812116429209709,
-0.019101444631814957,
-0.0013583871768787503,
0.05612799525260925,
0.02550593577325344,
0.042348068207502365,
0.021995602175593376,
-0.018942732363939285,
0.006483847741037607,
-0.008640462532639503,
-0.07311950623989105,
-0.0030948820058256388,
-0.03454317897558212,
-0.028568143025040627,
0.024142881855368614,
-0.06531461328268051,
0.033366844058036804,
0.036055609583854675,
-0.04231072589755058,
-0.015283022075891495,
0.01617927849292755,
0.020576531067490578,
0.09963373094797134,
0.0017773398431017995,
0.014190711081027985,
-0.07020667940378189,
0.07409045100212097,
0.03487927466630936,
0.014713526703417301,
0.041190408170223236,
-0.007800223305821419,
-0.021734194830060005,
-0.007632175460457802,
0.0329747311770916,
-0.005722964648157358,
-0.022425057366490364,
0.020688563585281372,
0.043319012969732285,
0.01650603860616684,
0.0053028445690870285,
0.025561952963471413,
0.03523404151201248,
0.03706389665603638,
-0.02431092970073223,
-0.02716774307191372,
0.07095355540513992,
-0.017000844702124596,
0.0378294475376606,
0.07058011740446091,
-0.047949664294719696,
0.034076377749443054,
0.010428305715322495,
0.03058471716940403,
0.04462605342268944,
-0.0038487636484205723,
-0.0242735855281353,
0.036317016929388046,
-0.0007527145207859576,
0.02787727862596512,
-0.0036527076736092567,
-0.0010234583169221878,
0.02233169786632061,
0.024161553010344505,
-0.0529911033809185,
0.07842235267162323,
-0.03205980360507965,
-0.07031870633363724,
0.0007737205014564097,
0.013779927045106888,
0.031649019569158554,
-0.012043432332575321,
0.007338091265410185,
0.02595406398177147,
-0.015114974230527878,
-0.05586658790707588,
0.051086559891700745,
0.028362751007080078,
0.0019150457810610533,
0.024086864665150642,
0.04473808407783508,
-0.04298291727900505,
-0.03185441344976425,
0.014965598471462727,
0.01593654230237007,
0.005592260509729385,
-0.058405980467796326,
0.03810952976346016,
0.05321516841650009,
-0.03801616653800011,
-0.017813077196478844,
0.005769644398242235,
-0.0012977032456547022,
-0.03538341820240021,
0.02210763469338417,
0.01581517420709133,
-0.053028445690870285,
-0.005610932596027851,
-0.003547677770256996,
0.0805136114358902,
-0.009181950241327286,
-0.024478977546095848,
0.05246828868985176,
-0.021920913830399513,
0.05609065294265747,
-0.06479179859161377,
0.024460304528474808,
-0.016394006088376045,
0.010157561860978603,
-0.031705036759376526,
-0.03381497040390968,
0.06023583561182022,
0.06408226490020752,
-0.06236444041132927,
0.0014459120575338602,
-0.042870886623859406,
0.026551567018032074,
-0.023881472647190094,
0.05175875127315521,
-0.016720766201615334,
0.02933369390666485,
0.026028752326965332,
-0.012547575868666172,
0.04414058104157448,
-0.0036690456327050924,
-0.043094947934150696,
-0.037287961691617966,
0.024161553010344505,
0.012883671559393406,
-0.0451115220785141,
-0.04828576371073723,
-0.021062003448605537,
-0.007160707376897335,
0.03497263416647911,
-0.03224652260541916,
-0.07569623738527298,
0.0037297296803444624,
0.019026756286621094,
-0.004254879429936409,
-0.018597301095724106,
-0.031424958258867264,
0.012183472514152527,
0.006017048377543688,
-0.07009464502334595,
0.021248722448945045,
-0.006567872129380703,
0.019269492477178574,
0.0631113201379776,
0.029072286561131477,
0.043319012969732285,
-0.013294455595314503,
0.028978925198316574,
0.028754862025380135,
-0.03594357892870903,
0.00284747825935483,
-0.008729154244065285,
0.023190610110759735,
0.06531461328268051,
0.048957955092191696,
-0.0436924509704113,
0.0030832120683044195,
0.030229948461055756,
0.053999390453100204,
-0.007006663829088211,
-0.03527138754725456,
0.04316963627934456,
0.03200378641486168,
-0.06931041926145554,
-0.048173729330301285,
0.062065690755844116,
0.019344180822372437,
-0.03853898495435715,
-0.08036423474550247,
-0.007702195085585117,
-0.045522306114435196,
-0.0894014835357666,
-0.031014172360301018,
-0.029483068734407425,
-0.005204816814512014,
0.0641196072101593,
0.05127327889204025,
0.0069179716520011425,
-0.008561106398701668,
0.02593539096415043,
0.008962554857134819,
-0.021024659276008606,
0.04279619827866554,
-0.03687717765569687,
-0.02987518161535263,
-0.02231302671134472,
0.051086559891700745,
0.044514019042253494,
-0.02595406398177147,
0.03489794582128525,
0.0637088268995285,
0.01589919812977314,
-0.007930926978588104,
0.040443528443574905,
-0.0744265466928482,
0.059115514159202576,
0.0023445014376193285,
-0.024478977546095848,
0.06617352366447449,
-0.014657510444521904,
0.009429354220628738,
-0.0005811656592413783,
0.01518966257572174,
0.030248621478676796,
-0.04048087075352669,
0.03381497040390968,
-0.005877008195966482,
0.044999491423368454,
-0.021734194830060005,
-0.04679200425744057,
0.01433075126260519,
-0.001265027211047709,
0.024460304528474808,
-0.02813868597149849,
0.01224882435053587,
0.022947873920202255,
-0.04294557496905327,
-0.05489564687013626,
0.009368670172989368,
-0.014461454935371876,
-0.023414673283696175,
-0.050825152546167374,
0.016459356993436813,
-0.10172498971223831,
-0.004266549367457628,
0.030678076669573784,
-0.025617968291044235,
0.009541385807096958,
-0.036279674619436264,
-0.06087068095803261,
-0.011492609046399593,
-0.02647687867283821,
0.006745256017893553,
-0.04836044833064079,
-0.038725703954696655,
0.01153928879648447,
-0.04447667673230171,
0.001822852878831327,
0.0709908977150917,
-0.01642201468348503,
0.019325507804751396,
0.03108886070549488,
0.015264350920915604,
0.023153265938162804,
0.03820288926362991,
-0.030976828187704086,
-0.03032330982387066,
0.018821364268660545,
0.027298446744680405,
0.023171937093138695,
-0.028754862025380135,
0.025561952963471413,
-0.03379629924893379,
-0.014937590807676315,
0.01115651335567236,
0.03710124269127846,
0.011623312719166279,
0.032881371676921844,
-0.034860603511333466,
-0.09037242084741592,
0.01824253238737583,
0.01858796365559101,
0.04682934656739235,
0.010288265533745289,
0.016814125701785088,
0.040667589753866196,
0.014704191125929356,
0.031424958258867264,
0.07894516736268997,
-0.009737442247569561,
-0.011669992469251156,
0.04391651600599289,
-0.009167945943772793,
-0.009004566818475723,
0.03252660483121872,
0.024927103891968727,
-0.03299340233206749,
0.020053716376423836,
-0.04750153794884682,
-0.0005878758965991437,
0.015142982825636864,
0.024161553010344505,
0.04324432462453842,
0.06684571504592896,
0.008771166205406189,
-0.04111571982502937,
0.010288265533745289,
-0.04036884009838104,
-0.044775426387786865,
0.013173087500035763,
-0.012659608386456966,
0.05123593658208847,
-0.014956262893974781,
-0.04873389005661011,
0.034804586321115494,
0.0606839619576931,
0.06075865030288696,
0.060086458921432495,
0.004285221453756094,
-0.04585840180516243,
0.008458410389721394,
-0.014246727339923382,
0.03497263416647911,
0.015086966566741467,
-0.009560057893395424,
-0.005746304523199797,
-0.04514886811375618,
-0.021192707121372223,
0.032694652676582336,
-0.046493250876665115,
-0.037736088037490845,
0.0291283018887043,
-0.03220918029546738,
0.0724099725484848,
0.04007008671760559,
-0.03857632726430893,
-0.005666948389261961,
0.022257009521126747,
0.05870473012328148,
0.03758671134710312,
-0.026402192190289497,
-0.06919839233160019,
-0.01685146987438202,
0.027746574953198433,
0.02916564606130123,
0.018279876559972763,
0.048173729330301285,
-0.03756804019212723,
0.021043330430984497,
-0.05310313403606415,
-0.038501638919115067,
-0.06598680466413498,
0.017915772274136543,
0.034804586321115494,
0.03594357892870903,
-0.020707234740257263,
0.017607685178518295,
0.011800697073340416,
-0.03564482554793358,
-0.023881472647190094,
-0.0529911033809185,
0.04339370131492615,
0.016431350260972977,
-0.015553765930235386,
0.025916719809174538,
-0.02132341079413891,
0.03980867937207222,
-0.012220816686749458,
-0.0021647836547344923,
0.02671961486339569,
-0.04081696644425392,
-0.026756959035992622,
0.08230612426996231,
-0.04634387418627739,
0.0009277643985114992,
0.01986699551343918,
0.05635206028819084,
0.007333423476666212,
-0.05187078192830086,
0.035551466047763824,
0.022144978865981102,
0.01260359212756157,
0.046045124530792236,
0.012622264213860035,
0.025655312463641167,
0.025113824754953384,
-0.030958157032728195,
-0.0544101744890213,
-0.021416770294308662,
0.00892987847328186,
-0.0372132733464241,
0.017803741618990898,
-0.022238338366150856,
-0.04466339573264122,
0.027335790917277336,
-0.025095151737332344,
-0.010493657551705837,
-0.015647126361727715,
0.06139349937438965,
0.020016372203826904,
-0.0267009437084198,
0.013257111422717571,
-0.02892290987074375,
-0.037474680691957474,
-0.06822744756937027,
-0.043132293969392776,
-0.029931196942925453,
-0.0041871932335197926,
-0.00030079405405558646,
0.0329747311770916,
-0.015376382507383823,
0.015236342325806618,
0.012818319723010063,
-0.03222785145044327,
-0.009471366181969643,
-0.005545580759644508,
-0.020053716376423836,
-0.007291411515325308,
0.030005885288119316,
0.030678076669573784,
-0.02449764870107174,
-0.009662753902375698,
0.05650143697857857,
-0.029520412907004356,
0.005130128934979439,
-0.02330264076590538,
0.04059290140867233,
-0.019848324358463287,
0.008089639246463776,
-0.032900042831897736,
-0.05605331063270569,
-0.05287907272577286,
-0.0033212800044566393,
-0.021062003448605537,
0.02404952049255371,
-0.0040284814313054085,
-0.09418150782585144,
-0.07375435531139374,
0.019530899822711945,
0.0013875621370971203,
0.061281464993953705,
0.0035593477077782154,
0.02888556569814682,
-0.003050536150112748,
-0.012818319723010063,
-0.003995805513113737,
0.03932320699095726,
0.0416758768260479,
-0.0008530764607712626,
0.05896613746881485,
-0.005139464978128672,
0.009980177506804466,
0.027335790917277336,
-0.0034286438021808863,
-0.040406182408332825,
-0.016879476606845856,
-0.020781923085451126,
-0.06509055197238922,
-0.03107018955051899,
0.04585840180516243,
-0.0007702195434831083,
-0.031032845377922058,
0.009354665875434875,
0.0013607211876660585,
0.05295375734567642,
0.06464242190122604,
-0.012332848273217678,
-0.025916719809174538,
0.04645590856671333,
0.014620167203247547,
0.00006633661541854963,
0.00696931965649128,
0.03495396301150322,
-0.020352467894554138,
-0.01940019614994526,
-0.005326184909790754,
-0.008449074812233448,
-0.05104921758174896,
0.03426310047507286,
-0.03443114832043648,
0.004320231266319752,
-0.052318911999464035,
0.04974217712879181,
-0.03614896908402443,
-0.03784811869263649,
0.0014762540813535452,
-0.035607483237981796,
-0.04302025958895683,
-0.00643716799095273,
0.04021946340799332,
0.04638122022151947,
0.007389439269900322,
-0.02283584140241146,
-0.04992889612913132,
-0.04992889612913132,
0.09126868098974228,
-0.03295606002211571,
0.045783717185258865,
0.011455264873802662,
0.04178791120648384,
0.024086864665150642,
-0.011399248614907265,
0.03183573856949806,
0.01129655260592699,
-0.0004592142067849636,
-0.03370293974876404,
-0.017645029351115227,
-0.006413828115910292,
-0.07700327783823013,
-0.01968027651309967,
-0.0220516175031662,
-0.026514222845435143,
-0.040406182408332825,
-0.02089395560324192,
-0.028698846697807312,
-0.022481074556708336,
-0.012977031990885735,
0.021678177639842033,
-0.020296450704336166,
-0.001514765084721148,
0.04690403491258621,
0.01518966257572174,
0.019605588167905807,
0.018195852637290955,
0.012500896118581295,
0.00504143675789237,
0.02502046525478363,
-0.02597273513674736,
0.024609681218862534,
0.05564252659678459,
-0.05119859054684639,
0.026906335726380348,
0.018765348941087723,
0.022387713193893433,
0.03224652260541916,
0.008276359178125858,
-0.041414469480514526,
-0.06766728311777115,
-0.009018570184707642,
-0.01080174557864666,
0.0416758768260479,
-0.06509055197238922,
0.04899529740214348,
-0.00886919442564249,
0.011716673150658607,
0.024142881855368614,
-0.01879335567355156,
-0.04417792335152626,
-0.012323512695729733,
0.006955315824598074,
0.03011791780591011,
-0.03344153240323067,
0.05657612532377243,
0.011800697073340416,
0.050563745200634,
-0.02571132779121399,
0.004194195382297039,
-0.034113723784685135,
0.006707911845296621,
0.01759834960103035,
0.03500997647643089,
0.021211378276348114,
-0.08103642612695694,
-0.03204113245010376,
-0.0030902139842510223,
0.009508710354566574,
0.028344077989459038,
-0.05246828868985176,
0.03275066614151001,
-0.013723911717534065,
0.0012020092690363526,
0.043057605624198914,
-0.002160115633159876,
-0.00860778708010912,
-0.0277092307806015,
0.04133978113532066,
-0.055231742560863495,
0.023862801492214203,
-0.05019030347466469,
-0.053513918071985245,
0.016655413433909416,
-0.014424110762774944,
-0.03056604415178299,
0.027597198262810707,
-0.043094947934150696,
0.054484862834215164,
-0.007338091265410185,
-0.01870933175086975,
-0.02668227069079876,
-0.02573000080883503,
-0.006208436097949743,
-0.06516523659229279,
0.0011529952753335238,
-0.03583154454827309,
0.02548726461827755,
-0.03794148191809654,
0.05627737194299698,
0.04399120435118675,
-0.046493250876665115,
-0.060571931302547455,
-0.04081696644425392,
0.0019687276799231768,
0.03136894106864929,
-0.0021005987655371428,
0.032171834260225296,
-0.010969793424010277,
0.017915772274136543,
0.0052421605214476585,
-0.04059290140867233,
-0.017038188874721527,
-0.02910963073372841,
0.0746506080031395,
0.0025347224436700344,
-0.07722734659910202,
-0.013322463259100914,
0.012146128341555595,
-0.011464600451290607,
-0.03426310047507286,
-0.011987416073679924,
-0.02744782343506813,
-0.023638736456632614,
-0.035327401012182236,
0.01527368649840355,
-0.03474856913089752,
0.03403903543949127,
0.0022453065030276775,
-0.02935236506164074,
0.00881784688681364,
-0.002413354581221938,
-0.01919480413198471,
0.03831491991877556,
0.00847708247601986,
-0.0034706557635217905,
-0.0562400296330452,
-0.040667589753866196,
0.02160349115729332,
-0.03805351257324219,
-0.04063024744391441,
0.0011815867619588971,
-0.0022172986064106226,
0.07494936138391495,
0.021286066621541977,
-0.058854106813669205,
0.017532996833324432,
0.027802590280771255,
-0.00632046815007925,
-0.031126204878091812,
0.03329215571284294,
-0.012939687818288803,
0.021920913830399513,
0.015843182802200317,
-0.004966748878359795,
-0.0228545144200325,
-0.02137942612171173,
0.008136318996548653,
-0.031107531860470772,
-0.03928586468100548,
0.048920609056949615,
0.04903263971209526,
0.04171322286128998,
0.04074227809906006,
0.03891242295503616
]
|
43,863 | pdf2docx.converter | parse | Parse pages in three steps:
* open PDF file with ``PyMuPDF``
* analyze whole document, e.g. page section, header/footer and margin
* parse specified pages, e.g. paragraph, image and table
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
kwargs (dict, optional): Configuration parameters.
| def parse(self, start:int=0, end:int=None, pages:list=None, **kwargs):
'''Parse pages in three steps:
* open PDF file with ``PyMuPDF``
* analyze whole document, e.g. page section, header/footer and margin
* parse specified pages, e.g. paragraph, image and table
Args:
start (int, optional): First page to process. Defaults to 0, the first page.
end (int, optional): Last page to process. Defaults to None, the last page.
pages (list, optional): Range of page indexes to parse. Defaults to None.
kwargs (dict, optional): Configuration parameters.
'''
return self.load_pages(start, end, pages) \
.parse_document(**kwargs) \
.parse_pages(**kwargs)
| (self, start: int = 0, end: Optional[int] = None, pages: Optional[list] = None, **kwargs) | [
-0.035469911992549896,
0.0052549634128808975,
-0.03777632862329483,
-0.01818924956023693,
-0.020565560087561607,
0.08107408136129379,
0.015437274239957333,
-0.010536136105656624,
-0.10399848222732544,
0.023483527824282646,
0.042738623917102814,
0.035854313522577286,
-0.013855980709195137,
0.07153390347957611,
0.00479193264618516,
-0.04259883984923363,
0.013987027108669281,
-0.023535946384072304,
-0.013567677699029446,
-0.0070765092968940735,
-0.05521424859762192,
-0.00480066891759634,
0.012231004424393177,
0.06555818021297455,
-0.004446843639016151,
-0.032691728323698044,
0.04815521091222763,
-0.022784613072872162,
0.021788660436868668,
-0.01604008860886097,
0.029738813638687134,
0.02802647277712822,
0.007150769233703613,
0.029861122369766235,
0.033023711293935776,
0.002500803442671895,
0.048854123800992966,
0.04466063901782036,
-0.034159447997808456,
0.08275148272514343,
-0.05308255925774574,
-0.021159637719392776,
-0.0003123274364043027,
0.0190279483795166,
-0.017761165276169777,
0.012038802728056908,
-0.01319201197475195,
0.011925228871405125,
-0.03609893471002579,
0.01764759235084057,
0.0034749156329780817,
-0.017070986330509186,
0.04347248375415802,
-0.06730546802282333,
-0.011916492134332657,
0.0705554187297821,
-0.0442412905395031,
0.05465511605143547,
0.018975529819726944,
0.00027601662441156805,
-0.014397638849914074,
-0.0132531663402915,
0.03485836088657379,
-0.03557474911212921,
-0.0014109336771070957,
0.012021330185234547,
0.058569036424160004,
-0.03987307474017143,
-0.05102076008915901,
0.03351294994354248,
-0.05545886605978012,
-0.005949509795755148,
0.004210960119962692,
0.022260427474975586,
0.02406013198196888,
0.011034113354980946,
-0.02364078350365162,
0.05542392283678055,
-0.05053152143955231,
0.0426337867975235,
-0.0048836651258170605,
0.035469911992549896,
-0.02152656763792038,
-0.03136378899216652,
0.07359569519758224,
0.044206343591213226,
0.03599409759044647,
0.002361020538955927,
0.007290551904588938,
0.0164332278072834,
-0.008609753102064133,
0.004634676966816187,
0.04231927543878555,
0.02143920212984085,
-0.002509539946913719,
0.012370786629617214,
-0.0617840439081192,
0.01815430447459221,
-0.10350923985242844,
-0.011925228871405125,
0.001153209013864398,
-0.014485003426671028,
-0.007168242242187262,
-0.041096173226833344,
-0.017883475869894028,
-0.04022252932190895,
-0.007150769233703613,
-0.009758593514561653,
0.025894783437252045,
0.03651828318834305,
-0.02862055040895939,
-0.07268711179494858,
0.016642902046442032,
0.046827271580696106,
-0.02346605435013771,
-0.03106675110757351,
-0.02671600691974163,
-0.024706628173589706,
-0.04672243446111679,
-0.014956770464777946,
-0.05769539251923561,
-0.027170302346348763,
-0.026960628107190132,
-0.014240383170545101,
-0.025685109198093414,
-0.07492363452911377,
0.03384493663907051,
-0.007779792416840792,
0.061469532549381256,
-0.005866513587534428,
-0.0039073689840734005,
-0.03588926047086716,
0.013882189989089966,
-0.05255837365984917,
-0.018975529819726944,
-0.03375757113099098,
0.0029965960420668125,
0.005451533477753401,
-0.07212797552347183,
0.02313407137989998,
0.013917135074734688,
0.023920349776744843,
-0.002088007051497698,
-0.006128606852144003,
-0.08582670241594315,
0.05835936218500137,
0.04853961244225502,
-0.0328664556145668,
-0.0740150511264801,
0.05144010856747627,
-0.0050147115252912045,
-0.05542392283678055,
0.08505789935588837,
-0.02877780608832836,
0.010370144620537758,
-0.02979123219847679,
0.022784613072872162,
-0.02185855247080326,
-0.03017563372850418,
0.04074671491980553,
0.034351646900177,
0.036658067256212234,
-0.022557465359568596,
0.036063987761735916,
-0.002745423698797822,
0.04766596853733063,
0.0015376119408756495,
-0.04120101034641266,
0.0017997048562392592,
-0.025720054283738136,
0.03131137043237686,
0.05035679042339325,
-0.04511493071913719,
0.0056306300684809685,
0.02468915469944477,
-0.040921445935964584,
0.03630860894918442,
0.01660795696079731,
-0.024374643340706825,
0.06073567271232605,
-0.006897412706166506,
0.018259141594171524,
0.007325497921556234,
-0.008998524397611618,
0.017866002395749092,
0.028340984135866165,
-0.023920349776744843,
0.02912726253271103,
-0.014799514785408974,
-0.07045058161020279,
-0.001450247596949339,
-0.03401966392993927,
-0.014895616099238396,
-0.000878011342138052,
0.005137021653354168,
0.014808251522481441,
-0.012606671079993248,
0.03763654828071594,
0.0023566524032503366,
0.035050563514232635,
-0.003190981689840555,
-0.007067773025482893,
-0.008186036720871925,
-0.025021139532327652,
-0.032185014337301254,
0.04441601783037186,
-0.054725006222724915,
0.0562276728451252,
-0.03426428511738777,
0.031293898820877075,
0.014511212706565857,
-0.042563892900943756,
-0.02081017941236496,
0.001134644029662013,
0.011444725096225739,
0.01991906389594078,
0.0481901578605175,
-0.01287749968469143,
0.019954008981585503,
0.00609802920371294,
0.05192934721708298,
0.0654882937669754,
0.02313407137989998,
-0.053711581975221634,
0.008954842574894428,
-0.018294086679816246,
0.04494020342826843,
-0.006408172659575939,
-0.02451442740857601,
-0.01616239733994007,
0.023518472909927368,
-0.08310093730688095,
-0.02862055040895939,
0.05531908571720123,
0.06031632423400879,
-0.02722272090613842,
0.02662864327430725,
0.038475245237350464,
-0.0089286332949996,
0.017167087644338608,
0.018521234393119812,
0.025021139532327652,
-0.04787564277648926,
-0.006320808082818985,
-0.03945372626185417,
0.02987859584391117,
0.014642259106040001,
-0.03293634578585625,
0.002336995443329215,
0.08212245255708694,
0.005735467188060284,
-0.022941868752241135,
-0.0004171646141912788,
-0.010894330218434334,
-0.03097938559949398,
0.08988040685653687,
-0.018940582871437073,
0.008190404623746872,
0.02802647277712822,
0.005399114452302456,
0.06643182784318924,
-0.09022986143827438,
0.008666540496051311,
0.006692106369882822,
0.0649990513920784,
0.005862145684659481,
0.06353133171796799,
-0.011899019591510296,
-0.021596457809209824,
0.030612455680966377,
-0.045813847333192825,
-0.006478063762187958,
0.021369311958551407,
0.013174538500607014,
0.03819567710161209,
-0.009522709995508194,
0.009776066988706589,
-0.010588554665446281,
-0.005993192084133625,
0.05570348724722862,
0.03676290437579155,
-0.03494572639465332,
-0.03557474911212921,
-0.006788207218050957,
0.07527309656143188,
-0.02439211681485176,
0.014843197539448738,
0.09770824760198593,
0.00019261101260781288,
-0.061399638652801514,
0.016354599967598915,
-0.01462478656321764,
-0.05119548738002777,
-0.07904723286628723,
-0.004979765973985195,
-0.004708936437964439,
-0.006473695859313011,
-0.06045610457658768,
-0.09246639162302017,
-0.04231927543878555,
-0.014747096225619316,
-0.02710041031241417,
0.05755561217665672,
0.0006000836146995425,
0.01341915875673294,
0.020460722967982292,
-0.0064431182108819485,
0.0027192141860723495,
0.0657329112291336,
-0.0931653082370758,
0.002911415882408619,
0.021299419924616814,
-0.0027541599702090025,
0.015218863263726234,
-0.14208932220935822,
0.01657301001250744,
0.0014633522368967533,
0.02253999374806881,
-0.011051585897803307,
-0.01857365295290947,
-0.03232479467988014,
0.027275139465928078,
0.04445096477866173,
0.005005975253880024,
0.07415483146905899,
0.0645098090171814,
-0.024164969101548195,
0.010859384201467037,
0.009487764909863472,
0.034351646900177,
-0.021509094163775444,
0.05102076008915901,
-0.006962935905903578,
0.033023711293935776,
-0.07960636168718338,
-0.06346143782138824,
-0.06049105152487755,
-0.03742687404155731,
-0.026069510728120804,
-0.041725195944309235,
0.006491168402135372,
-0.03903437405824661,
-0.008933001197874546,
-0.04340258985757828,
0.03959350660443306,
-0.019237622618675232,
0.005643734708428383,
-0.0493084192276001,
0.021578986197710037,
-0.04990249499678612,
-0.022557465359568596,
0.07604189962148666,
-0.00007760408334434032,
-0.013899662531912327,
-0.0431230254471302,
-0.03162588179111481,
-0.013471577316522598,
-0.009566392749547958,
-0.011872810311615467,
-0.056786805391311646,
0.0378112755715847,
0.03777632862329483,
-0.05531908571720123,
-0.008566071279346943,
0.020076319575309753,
0.0002171822270611301,
-0.006665897089987993,
0.026139402762055397,
0.012886236421763897,
0.00016094144666567445,
0.05769539251923561,
0.0031647724099457264,
-0.05545886605978012,
0.048854123800992966,
0.008225350640714169,
0.04249400272965431,
0.013899662531912327,
0.0231690164655447,
-0.060630835592746735,
0.030105743557214737,
-0.05192934721708298,
0.008915528655052185,
-0.015437274239957333,
0.019936537370085716,
-0.013523995876312256,
-0.05395619943737984,
-0.020915016531944275,
-0.006893044337630272,
-0.0030031483620405197,
0.027030518278479576,
0.025021139532327652,
0.011313678696751595,
-0.04123595729470253,
-0.0002027125156018883,
0.041550468653440475,
-0.0013880005571991205,
0.028585603460669518,
-0.025335650891065598,
-0.017962103709578514,
-0.046827271580696106,
0.04815521091222763,
0.009068415500223637,
-0.023955294862389565,
0.05874376371502876,
-0.005713626276701689,
-0.0248988289386034,
0.03896448388695717,
-0.06789954751729965,
0.00560442078858614,
0.05811474099755287,
0.036063987761735916,
-0.03035036288201809,
-0.052942775189876556,
0.05489973723888397,
-0.030193107202649117,
0.02495124749839306,
0.025772472843527794,
-0.04186498001217842,
0.0009331600740551949,
0.004927347414195538,
0.018835745751857758,
0.0444859080016613,
0.0044905259273946285,
-0.007985098287463188,
0.034631215035915375,
-0.05996686592698097,
0.0027497918345034122,
-0.08191277831792831,
0.022522520273923874,
0.03588926047086716,
-0.004001285415142775,
0.02734502963721752,
-0.061224911361932755,
-0.022487575188279152,
-0.02060050517320633,
-0.015524638816714287,
-0.05734593793749809,
-0.0012296527856960893,
0.04249400272965431,
-0.02245262823998928,
-0.009784803725779057,
-0.018975529819726944,
0.02734502963721752,
0.04455580189824104,
0.02173624187707901,
-0.03478847071528435,
-0.011060322634875774,
-0.07198819518089294,
-0.09183736890554428,
-0.019814226776361465,
-0.02865549549460411,
0.01344536803662777,
0.013157065957784653,
-0.0326218344271183,
0.09924586117267609,
-0.03312854841351509,
0.0021469779312610626,
-0.007517699152231216,
0.022889450192451477,
0.08890192955732346,
0.048225101083517075,
0.017079723998904228,
-0.010483717545866966,
-0.013296849094331264,
-0.020233575254678726,
0.03527770936489105,
-0.011462198570370674,
0.04724662005901337,
-0.03735698014497757,
-0.02996595948934555,
0.0025794312823563814,
-0.057171206921339035,
-0.00885437335819006,
-0.027834270149469376,
-0.02456684596836567,
0.0426337867975235,
0.01548969279974699,
-0.06132974848151207,
0.03428175672888756,
-0.03980318084359169,
0.012134903110563755,
-0.01076328381896019,
0.04916863515973091,
0.03662312030792236,
-0.038475245237350464,
0.016293445602059364,
0.05975719168782234,
-0.01991906389594078,
-0.030542563647031784,
-0.03700752556324005,
0.026768425479531288,
0.00386150274425745,
0.028900114819407463,
-0.027572177350521088,
-0.01920267567038536,
-0.013567677699029446,
0.04766596853733063,
0.005683048628270626,
-0.011706817895174026,
-0.04651276022195816,
0.03899943083524704,
-0.010684655979275703,
0.10525652766227722,
-0.0010947841219604015,
0.002229974139481783,
0.04280851408839226,
0.057974960654973984,
0.007937047630548477,
-0.006473695859313011,
-0.02507355809211731,
-0.018923111259937286,
0.015970196574926376,
-0.008679645135998726,
0.00731239328160882,
-0.023780565708875656,
0.01243194192647934,
-0.0030948808416724205,
0.00577041320502758,
0.02089754492044449,
-0.0001939760841196403,
0.023238908499479294,
-0.036867741495370865,
0.013384212739765644,
-0.037322036921978,
-0.010728337801992893,
0.021386783570051193,
-0.03854513540863991,
-0.004892401862889528,
-0.01523633673787117,
-0.06283241510391235,
0.02582489140331745,
0.023448582738637924,
0.022312846034765244,
-0.05378147214651108,
-0.024619264528155327,
-0.02697809971868992,
0.03485836088657379,
-0.055144354701042175,
0.06311198323965073,
0.03372262418270111,
0.04909874498844147,
0.036448393017053604,
-0.04815521091222763,
-0.005407851189374924,
0.06618720293045044,
0.006351385731250048,
0.016214817762374878,
-0.010090578347444534,
0.11070805788040161,
0.0532572865486145,
-0.001319201197475195,
-0.02841087430715561,
0.008509283885359764,
0.032901402562856674,
0.04791058972477913,
0.05986202880740166,
0.015629475936293602,
-0.022050753235816956,
0.0010538320057094097,
-0.00028011182439513505,
-0.013550205156207085,
-0.023990239948034286,
-0.03396724537014961,
0.010378880426287651,
-0.05643734708428383,
0.0056306300684809685,
0.011313678696751595,
0.015725577250123024,
-0.03307612985372543,
-0.02018115669488907,
0.00703719537705183,
0.013235693797469139,
-0.07632146775722504,
-0.021544039249420166,
0.06887802481651306,
0.012702771462500095,
-0.03739192709326744,
0.0359591506421566,
-0.010011950507760048,
-0.02358836494386196,
0.03700752556324005,
0.01770874671638012,
0.04504504054784775,
-0.02393782138824463,
0.028271092101931572,
0.040537040680646896,
-0.05238364264369011,
-0.04528966173529625,
0.06024643033742905,
-0.03043772652745247,
0.01021288800984621,
-0.058813657611608505,
-0.019954008981585503,
-0.030490145087242126,
-0.03401966392993927,
0.029529137536883354,
-0.007919575087726116,
-0.020548086613416672,
-0.05126538127660751,
-0.06552323698997498,
-0.006679001729935408,
0.08568692207336426,
-0.017822319641709328,
-0.020967435091733932,
-0.009208198636770248,
0.055773377418518066,
0.04210960119962692,
0.037881165742874146,
0.0396634005010128,
0.0008408815483562648,
-0.011470934376120567,
-0.02874285914003849,
-0.028480766341090202,
0.007980730384588242,
-0.04574395343661308,
-0.003852766240015626,
-0.0002386137784924358,
-0.00035109533928334713,
0.0144587941467762,
-0.007906470447778702,
-0.035050563514232635,
0.0029288886580616236,
-0.014921825379133224,
0.031049277633428574,
0.04445096477866173,
0.0021939363796263933,
0.011933965608477592,
-0.014589840546250343,
0.041515521705150604,
0.06580280512571335,
0.027921635657548904,
0.0320102833211422,
0.00028611812740564346,
0.00800257083028555,
0.015568320639431477,
-0.0018193618161603808,
0.008666540496051311,
-0.007045932114124298,
0.0017876923084259033,
0.04570901021361351,
-0.030577510595321655,
0.0003895902482327074,
-0.022906923666596413,
-0.06014159321784973,
0.04452085494995117,
-0.005372905172407627,
-0.0004930623690597713,
-0.004770091734826565,
0.10910055786371231,
0.008474338799715042,
0.03326833248138428,
-0.0009550011600367725,
0.00547774275764823,
-0.028166254982352257,
-0.0705554187297821,
0.005831568036228418,
0.04563911631703377,
0.004708936437964439,
0.025947201997041702,
0.019866645336151123,
-0.04067682474851608,
-0.020775234326720238,
0.020023901015520096,
-0.0017647591885179281,
0.008474338799715042,
-0.013366740196943283,
-0.011269996874034405,
0.024706628173589706,
-0.028288565576076508,
0.007342970464378595,
0.0053030140697956085,
0.07066025584936142,
0.06328670680522919,
-0.008107408881187439,
0.03300623968243599,
0.02114216424524784,
0.02582489140331745,
-0.06513883173465729,
-0.006041242275387049,
0.025125976651906967,
0.035347603261470795,
0.04319291561841965,
-0.037461817264556885,
0.012440678663551807,
-0.038475245237350464,
0.06423024088144302,
0.017665063962340355,
-0.04389183223247528,
0.002054153475910425,
0.02689073607325554,
0.014843197539448738,
0.020984908565878868,
0.005792254116386175,
0.02886516973376274,
-0.002078178571537137,
0.06681622564792633,
-0.013602623715996742,
-0.05063635855913162,
-0.008601016364991665,
0.012781399302184582,
0.016511855646967888,
-0.010623500682413578,
-0.003828741144388914,
0.023483527824282646,
-0.04319291561841965,
-0.037706438452005386,
-0.02760712429881096,
0.056577131152153015,
-0.02313407137989998,
-0.031119169667363167,
0.02143920212984085,
0.0289175882935524,
-0.004547312390059233,
0.030035851523280144,
0.046198248863220215,
0.013838507235050201,
0.020198630169034004,
0.048854123800992966,
0.014616049826145172,
-0.032779090106487274,
0.008220981806516647,
0.012169849127531052,
-0.002542301546782255,
-0.02772943302989006,
-0.034124501049518585,
-0.0041039385832846165,
-0.05395619943737984,
-0.02537059783935547,
0.033495478332042694,
-0.007303656544536352,
-0.005665575619786978,
0.054305657744407654,
-0.029354410246014595,
-0.056996479630470276,
-0.09246639162302017,
-0.07104466110467911,
-0.017359290271997452,
-0.02063545025885105,
-0.019954008981585503,
-0.06590764224529266,
-0.023990239948034286,
0.002577247330918908,
-0.017132142558693886,
0.003745744936168194,
-0.036867741495370865,
-0.018556181341409683,
0.00889805518090725,
0.004470868967473507,
-0.011654399335384369,
0.02578994631767273,
-0.02641896903514862,
0.039104267954826355,
-0.0005634998087771237,
0.04340258985757828,
-0.00858791172504425,
0.00751333124935627,
0.011907756328582764,
-0.0015998589806258678,
-0.009994477964937687,
-0.03520781919360161,
-0.04525471478700638,
0.01438890304416418,
-0.030787184834480286,
0.027449868619441986,
0.017105933278799057,
0.03478847071528435,
0.042389165610075,
0.03903437405824661
]
|
43,864 | pdf2docx.converter | parse_document | Step 2 of converting process: analyze whole document, e.g. page section,
header/footer and margin. | def parse_document(self, **kwargs):
'''Step 2 of converting process: analyze whole document, e.g. page section,
header/footer and margin.'''
logging.info(self._color_output('[2/4] Analyzing document...'))
self._pages.parse(self.fitz_doc, **kwargs)
return self
| (self, **kwargs) | [
-0.038583435118198395,
-0.001198114943690598,
-0.023331139236688614,
-0.002465875120833516,
0.03907095268368721,
0.02803218923509121,
0.006006897892802954,
0.00826601404696703,
-0.07020235061645508,
0.03851379081606865,
0.02697009965777397,
-0.008605534210801125,
0.008966818451881409,
0.0036389611195772886,
-0.00639429921284318,
0.010464189574122429,
-0.0006583646754734218,
-0.0022090584971010685,
-0.016767079010605812,
0.018751967698335648,
-0.04788107052445412,
-0.0955532044172287,
0.012475194409489632,
0.039001308381557465,
0.014059622772037983,
-0.010089847259223461,
-0.04133442044258118,
0.0037303706631064415,
0.005671730265021324,
-0.027596907690167427,
-0.050840988755226135,
-0.06358605623245239,
0.0022329988423734903,
0.03767804801464081,
0.029982253909111023,
-0.02082391269505024,
0.008788352832198143,
0.03785216063261032,
-0.018751967698335648,
0.03433508053421974,
-0.03820038586854935,
-0.003064388409256935,
-0.01948324218392372,
0.048960570245981216,
-0.057944800704717636,
0.009863500483334064,
-0.0010049582924693823,
0.006929696537554264,
-0.06083507463335991,
-0.007774144411087036,
-0.03548422455787659,
-0.025681663304567337,
0.037921804934740067,
0.0015637521864846349,
0.023661954328417778,
-0.025072269141674042,
-0.0172894187271595,
0.05822337791323662,
0.014729958027601242,
-0.005197272170335054,
-0.044294342398643494,
0.011822271160781384,
0.003003448946401477,
0.020249338820576668,
-0.009497863240540028,
0.018612677231431007,
0.03156668320298195,
0.017193656414747238,
-0.029982253909111023,
0.04217016324400902,
-0.020458275452256203,
-0.022686921060085297,
0.03816556558012962,
0.05979039520025253,
-0.021206960082054138,
-0.029372859746217728,
-0.04937843978404999,
0.006659821607172489,
-0.007787202950567007,
0.06222797930240631,
-0.009236693382263184,
0.03524046763777733,
-0.027387971058487892,
-0.05609920248389244,
0.05637778341770172,
-0.03590209782123566,
0.07619184255599976,
0.01647108793258667,
0.015078184194862843,
0.027805842459201813,
0.012431666254997253,
0.010655714198946953,
0.031061755493283272,
-0.01920466125011444,
-0.01587039791047573,
0.01264930795878172,
-0.054218780249357224,
0.0033473221119493246,
-0.00866647344082594,
0.007639206945896149,
-0.02886793203651905,
0.04398093745112419,
-0.018612677231431007,
-0.012431666254997253,
0.01178744900971651,
-0.004814223852008581,
-0.0026508700102567673,
-0.027962544932961464,
0.037782516330480576,
0.04627922922372818,
-0.0208413228392601,
-0.056830476969480515,
-0.006076543126255274,
0.020736856386065483,
-0.061740461736917496,
-0.05554204061627388,
-0.0009538126760162413,
0.004054655786603689,
-0.03840932250022888,
0.009097402915358543,
0.013093295507133007,
-0.02152036316692829,
-0.0019239484099671245,
0.0179858710616827,
-0.058467138558626175,
-0.03351674973964691,
0.005863254424184561,
0.008675179444253445,
0.05784033238887787,
-0.013841981999576092,
0.012684130109846592,
-0.06275031715631485,
0.040637969970703125,
-0.06302889436483383,
0.011151935905218124,
-0.026029890403151512,
0.02395794540643692,
-0.02804960124194622,
-0.11804860085248947,
0.04345859959721565,
0.026639286428689957,
0.006202775053679943,
-0.020580153912305832,
-0.04175229370594025,
-0.08594216406345367,
0.05118921399116516,
-0.036389611661434174,
-0.036145854741334915,
-0.05891983211040497,
0.01750705949962139,
0.01758541166782379,
-0.02247798629105091,
0.08364387601613998,
0.013049767352640629,
0.020197104662656784,
-0.022425752133131027,
0.02247798629105091,
0.0208413228392601,
-0.027962544932961464,
0.02435840480029583,
0.04474703595042229,
0.024149470031261444,
0.014268558472394943,
0.04373718053102493,
-0.006786053534597158,
0.020458275452256203,
-0.015896514058113098,
-0.023487839847803116,
-0.01109099667519331,
-0.016218623146414757,
0.035623516887426376,
0.061740461736917496,
-0.07946516573429108,
0.02148554101586342,
-0.025211559608578682,
0.048264116048812866,
0.04408540576696396,
0.02846747264266014,
-0.02421911433339119,
0.061601173132658005,
0.004644463770091534,
0.006398651748895645,
-0.03306405618786812,
0.007678382098674774,
0.027875488623976707,
0.01109099667519331,
-0.010385839268565178,
0.0016943368827924132,
-0.0016518968623131514,
-0.07166489958763123,
0.043772000819444656,
0.004931750241667032,
0.023226670920848846,
-0.04805518314242363,
0.026169180870056152,
-0.030556827783584595,
-0.011326049454510212,
0.006181010510772467,
0.04286661371588707,
0.011430516839027405,
-0.006019956432282925,
0.004875163547694683,
-0.02026675082743168,
-0.03729499876499176,
-0.02928580343723297,
0.0620538666844368,
0.004082949366420507,
0.06539683789014816,
-0.06741654127836227,
0.04735872894525528,
0.008109311573207378,
-0.029599206522107124,
0.04506043717265129,
-0.03618067502975464,
0.01591392606496811,
-0.021955646574497223,
0.007935198955237865,
0.011709097772836685,
-0.01696730963885784,
-0.015626639127731323,
0.0388968400657177,
0.03388238698244095,
0.004139536060392857,
-0.06901838630437851,
-0.018543032929301262,
-0.03882719576358795,
0.06003415584564209,
-0.05540274828672409,
0.000225122639676556,
-0.01838633045554161,
-0.021468130871653557,
-0.05784033238887787,
-0.07591325789690018,
0.031914908438920975,
0.033255577087402344,
-0.04178711399435997,
0.04182193800806999,
0.02611694671213627,
-0.012083441019058228,
-0.04039420932531357,
0.03649407997727394,
-0.011212876066565514,
-0.04196122661232948,
0.02218199335038662,
-0.08155451714992523,
-0.01639273762702942,
0.04694085940718651,
-0.05578579753637314,
-0.013363171368837357,
0.06114847958087921,
0.004583524074405432,
-0.048925746232271194,
-0.00065074727172032,
0.047045327723026276,
0.0032733238767832518,
0.01049030665308237,
-0.0506320521235466,
0.0155134666711092,
-0.015504760667681694,
-0.013981272466480732,
0.04425951838493347,
-0.017254596576094627,
-0.0027727491687983274,
0.00010773240501293913,
0.024323582649230957,
0.0029751555994153023,
0.021555187180638313,
-0.05979039520025253,
-0.0017019544029608369,
0.0057500810362398624,
-0.014895365573465824,
0.0010191049659624696,
0.008335658349096775,
0.04412022978067398,
0.014329497702419758,
0.025263793766498566,
0.028537116944789886,
0.005898077040910721,
-0.004072067327797413,
0.07681864500045776,
0.07654006779193878,
-0.010307488031685352,
-0.01402480062097311,
0.016645200550556183,
0.07236135005950928,
-0.01986629143357277,
-0.030330481007695198,
0.12111298739910126,
-0.009558802470564842,
-0.08106700330972672,
-0.024393228814005852,
0.016758374869823456,
0.038061097264289856,
-0.021259194239974022,
-0.03088764287531376,
0.03229795768857002,
-0.02615176886320114,
-0.024010179564356804,
-0.052895523607730865,
-0.03332522511482239,
-0.03419578820466995,
-0.03785216063261032,
0.05428842827677727,
0.004322354681789875,
0.014399142935872078,
0.0798133909702301,
0.016236035153269768,
0.02653481811285019,
0.04805518314242363,
-0.01784658059477806,
-0.02519414760172367,
0.008074489422142506,
0.02397535741329193,
0.05230353772640228,
-0.13225622475147247,
-0.002326584653928876,
0.018299274146556854,
0.03278547525405884,
0.002611694624647498,
0.015217474661767483,
-0.0612877681851387,
0.009053874760866165,
0.0438416488468647,
-0.07716687023639679,
0.09527461975812912,
0.000892329029738903,
-0.012309787794947624,
-0.03691194951534271,
0.01716754026710987,
0.012806009501218796,
-0.002151383552700281,
0.031253278255462646,
-0.019361363723874092,
0.010977823287248611,
-0.05320892482995987,
-0.05801444500684738,
-0.037225354462862015,
-0.0007231129566207528,
0.002291762037202716,
-0.04345859959721565,
0.0020926203578710556,
-0.0168280191719532,
0.0021655301097780466,
-0.04666227847337723,
0.011857094243168831,
-0.014320792630314827,
-0.04272732511162758,
-0.06640668958425522,
0.019518064334988594,
-0.05592508986592293,
-0.007251805625855923,
-0.008609887212514877,
-0.00033380722743459046,
0.05923323333263397,
0.0034844360779970884,
-0.020632388070225716,
-0.0014320792397484183,
-0.028920166194438934,
-0.013650457374751568,
-0.040777258574962616,
-0.013093295507133007,
0.07828119397163391,
-0.04857752099633217,
-0.03269841894507408,
0.06031273677945137,
-0.005419266410171986,
-0.00598948635160923,
0.060765430331230164,
0.02437581680715084,
-0.016140272840857506,
0.0413692444562912,
-0.013772336766123772,
0.00938468985259533,
-0.04192640632390976,
0.03405649960041046,
-0.00945433508604765,
-0.015287119895219803,
0.028937576338648796,
-0.06121812388300896,
-0.010890766978263855,
0.003839191049337387,
0.09534426778554916,
-0.04150853306055069,
-0.0006191892898641527,
-0.0035431990399956703,
-0.04359788820147514,
-0.056830476969480515,
0.012954005971550941,
0.027927720919251442,
0.023853477090597153,
0.01988370157778263,
0.01986629143357277,
-0.017698584124445915,
0.016218623146414757,
0.04453809931874275,
0.018595265224575996,
-0.03078317455947399,
0.02679598703980446,
-0.052895523607730865,
-0.003706430085003376,
0.006829581689089537,
-0.0538705550134182,
-0.07458999752998352,
0.027736198157072067,
-0.028554528951644897,
-0.0413692444562912,
0.04230945184826851,
0.027126802131533623,
0.04805518314242363,
0.08608145266771317,
0.02573389746248722,
-0.040916550904512405,
0.0012949652737006545,
0.05693494528532028,
-0.044294342398643494,
0.04217016324400902,
0.0463140532374382,
0.01687154732644558,
-0.041438888758420944,
-0.0143556147813797,
0.039279889315366745,
0.08733507245779037,
0.04718461632728577,
0.025855777785182,
0.07890800386667252,
-0.03691194951534271,
-0.035066355019807816,
-0.014712546952068806,
0.02094579115509987,
-0.008701296523213387,
-0.037643224000930786,
0.00032428541453555226,
-0.06783441454172134,
-0.024706631898880005,
0.006011250428855419,
-0.0028249830938875675,
-0.06410840153694153,
-0.012205319479107857,
0.01484313141554594,
0.028658995404839516,
0.07354532182216644,
-0.033830150961875916,
0.01934395171701908,
0.016923781484365463,
0.023174436762928963,
-0.009593624621629715,
-0.009959261864423752,
-0.013354465365409851,
-0.118257537484169,
-0.04983113333582878,
0.04774177819490433,
0.035205643624067307,
0.006194069050252438,
-0.06048684939742088,
-0.0005188022623769939,
-0.04464256763458252,
0.006481355521827936,
0.021328840404748917,
0.0563429594039917,
0.03663337230682373,
-0.0006453062524087727,
-0.013563401065766811,
-0.017776934430003166,
-0.011386988684535027,
0.0016693081706762314,
0.012762481346726418,
-0.034787774085998535,
0.028937576338648796,
-0.03515341132879257,
-0.015104301273822784,
-0.010533834807574749,
-0.06766030192375183,
-0.027179036289453506,
-0.05540274828672409,
0.015530877746641636,
0.021206960082054138,
-0.03555386886000633,
-0.09214058518409729,
0.020371219143271446,
0.02014487236738205,
0.0008580505382269621,
0.0208413228392601,
0.0000664485851302743,
-0.010638303123414516,
0.015104301273822784,
0.03034789115190506,
0.05209460109472275,
-0.045687247067689896,
-0.007399801630526781,
-0.0413692444562912,
-0.005053629167377949,
0.05104992538690567,
0.0013939919881522655,
-0.05146779492497444,
0.0038196034729480743,
0.01735035888850689,
0.029198747128248215,
0.0764007717370987,
-0.002761867130175233,
-0.03611103072762489,
-0.006685938220471144,
-0.021154725924134254,
0.01988370157778263,
-0.03959329053759575,
-0.012684130109846592,
0.009149637073278427,
-0.021694477647542953,
0.0010533834574744105,
-0.001688895863480866,
0.023487839847803116,
-0.03484000638127327,
0.01958771049976349,
-0.015757223591208458,
0.055611684918403625,
0.019657354801893234,
0.03142739087343216,
-0.038339678198099136,
0.012475194409489632,
0.04095137119293213,
0.0304871816188097,
-0.0029163924045860767,
-0.022512808442115784,
0.014207619242370129,
-0.06121812388300896,
0.047567665576934814,
0.03283770754933357,
-0.024027591571211815,
0.011918033473193645,
0.0313403345644474,
-0.08865832537412643,
-0.027022333815693855,
-0.041055839508771896,
-0.0009804737055674195,
0.014312086626887321,
-0.01587039791047573,
-0.01908278279006481,
0.0287112295627594,
-0.01986629143357277,
0.0002861982211470604,
0.029877787455916405,
0.01367657445371151,
0.0060896012000739574,
-0.037086065858602524,
-0.04046385735273361,
0.02573389746248722,
0.013432816602289677,
0.031113989651203156,
-0.0019533298909664154,
0.04081208258867264,
0.03280288353562355,
-0.020092638209462166,
-0.04112548381090164,
0.03130551427602768,
0.054218780249357224,
0.05373126640915871,
0.06466556340456009,
-0.034387312829494476,
-0.020893556997179985,
0.045547954738140106,
-0.0054802061058580875,
-0.002818453824147582,
-0.042135339230298996,
-0.02232128381729126,
0.005554203875362873,
-0.0253160260617733,
0.03816556558012962,
0.0224605742841959,
-0.0045530544593930244,
-0.08023125678300858,
0.014129268005490303,
0.054218780249357224,
0.010925589129328728,
-0.06003415584564209,
-0.02461957558989525,
0.036703016608953476,
0.03677266091108322,
-0.01353728398680687,
0.06139223650097847,
0.027823254466056824,
-0.009271516464650631,
0.004304943606257439,
-0.003989363554865122,
0.0702371746301651,
-0.01699342578649521,
-0.030017077922821045,
-0.033969443291425705,
0.01826445199549198,
-0.04331930726766586,
0.0463140532374382,
0.002757514361292124,
-0.0003335351648274809,
-0.0591287687420845,
-0.029790731146931648,
-0.06358605623245239,
-0.050040069967508316,
-0.0059154885821044445,
0.029877787455916405,
-0.05623849108815193,
-0.044189874082803726,
-0.07793296873569489,
-0.06414321810007095,
0.03188008442521095,
-0.04572206735610962,
-0.006002544891089201,
-0.053417861461639404,
0.044155050069093704,
0.04941326379776001,
0.04450327530503273,
0.019239483401179314,
0.004883869085460901,
-0.01699342578649521,
-0.01930912956595421,
-0.03525787964463234,
0.023331139236688614,
-0.055855441838502884,
0.0014407848939299583,
-0.0036955480463802814,
-0.021294016391038895,
-0.00034577748738229275,
0.044851504266262054,
-0.012614484876394272,
0.02247798629105091,
0.002986037638038397,
0.024828510358929634,
-0.04941326379776001,
0.013154235668480396,
0.04669709876179695,
-0.0495525524020195,
0.04854269698262215,
0.07236135005950928,
0.013023650273680687,
0.00938468985259533,
0.020893556997179985,
-0.04843822866678238,
0.017193656414747238,
0.002326584653928876,
-0.038026273250579834,
0.028746051713824272,
-0.01035101618617773,
0.014225030317902565,
0.062123510986566544,
-0.02394053526222706,
-0.008966818451881409,
-0.03405649960041046,
-0.019135016947984695,
0.006624998990446329,
0.03659854829311371,
-0.005641260650008917,
0.0812062919139862,
0.015530877746641636,
0.01109099667519331,
0.04829894006252289,
0.0020697680301964283,
0.006698996759951115,
-0.053696442395448685,
0.011099702678620815,
0.034509193152189255,
0.016262151300907135,
0.009019052609801292,
0.011534985154867172,
0.0333426333963871,
-0.01530453097075224,
0.0060896012000739574,
-0.046627454459667206,
0.061322592198848724,
0.017881402745842934,
0.03428284451365471,
0.03283770754933357,
-0.037086065858602524,
-0.006973224692046642,
-0.00044888502452522516,
0.042135339230298996,
0.050005245953798294,
0.004133007023483515,
0.0057500810362398624,
0.0056543187238276005,
0.0023026440758258104,
-0.005506322719156742,
0.029703674837946892,
-0.005575967952609062,
-0.030522005632519722,
0.06013862416148186,
-0.031061755493283272,
0.014381731860339642,
-0.040498677641153336,
0.031653739511966705,
-0.016323091462254524,
-0.03896648436784744,
-0.005358326714485884,
0.007025458849966526,
-0.030661296099424362,
0.013206468895077705,
0.0183689184486866,
-0.019709588959813118,
0.04746319726109505,
0.026308471336960793,
-0.011482750996947289,
-0.04506043717265129,
0.0018336273496970534,
-0.027701374143362045,
0.06414321810007095,
-0.021868590265512466,
0.011865799315273762,
0.028415238484740257,
-0.04781142249703407,
-0.0002998007694259286,
-0.014277264475822449,
-0.006742524914443493,
-0.035606104880571365,
-0.008905879221856594,
-0.0015822516288608313,
0.031914908438920975,
0.018159983679652214,
0.029842965304851532,
0.015330648049712181,
0.042135339230298996,
0.00009916278213495389,
0.05174637585878372,
0.018438564613461494,
-0.03198455274105072,
-0.02016228251159191,
0.012274964712560177,
-0.03339486941695213,
0.028693819418549538,
-0.0023331139236688614,
-0.005388796795159578,
-0.016122860834002495,
-0.031061755493283272,
0.07096844911575317,
-0.05728317052125931,
0.027022333815693855,
-0.04478185623884201,
-0.012431666254997253,
0.00008045924187172204,
-0.051920488476753235,
-0.007055928464978933,
-0.0008205074118450284,
-0.00752603355795145,
0.011569807305932045,
-0.07953480631113052,
0.025490140542387962,
0.03576280549168587,
-0.054915234446525574,
0.03414355590939522,
-0.045513130724430084,
0.004909986164420843,
0.01824703998863697,
0.03604138642549515,
-0.004418116994202137,
0.04537384212017059,
0.004827282391488552,
-0.004387646913528442,
0.053975023329257965,
0.040637969970703125,
-0.03433508053421974,
0.05334821715950966,
0.0620538666844368,
-0.021206960082054138,
0.039802227169275284,
0.0007149514276534319,
0.05017935857176781,
-0.06323783099651337,
-0.03851379081606865,
0.05637778341770172,
0.08322600275278091,
0.057492103427648544,
0.030870230868458748,
0.019222073256969452
]
|
43,865 | pdf2docx.converter | parse_pages | Step 3 of converting process: parse pages, e.g. paragraph, image and table. | def parse_pages(self, **kwargs):
'''Step 3 of converting process: parse pages, e.g. paragraph, image and table.'''
logging.info(self._color_output('[3/4] Parsing pages...'))
pages = [page for page in self._pages if not page.skip_parsing]
num_pages = len(pages)
for i, page in enumerate(pages, start=1):
pid = page.id + 1
logging.info('(%d/%d) Page %d', i, num_pages, pid)
try:
page.parse(**kwargs)
except Exception as e:
if not kwargs['debug'] and kwargs['ignore_page_error']:
logging.error('Ignore page %d due to parsing page error: %s', pid, e)
else:
raise ConversionException(f'Error when parsing page {pid}: {e}')
return self
| (self, **kwargs) | [
-0.07915892452001572,
-0.008105272427201271,
-0.06067401170730591,
0.00233779801055789,
-0.025788266211748123,
0.052192699164152145,
0.03863709419965744,
-0.016491442918777466,
-0.062087561935186386,
-0.016418952494859695,
0.07064136862754822,
0.06440723687410355,
0.003311880398541689,
0.0550198033452034,
-0.022689325734972954,
-0.024048510938882828,
-0.0011983480071648955,
0.03809342160820961,
0.0021577058359980583,
-0.023088019341230392,
-0.05987662449479103,
-0.011806786060333252,
0.017451932653784752,
0.06219629943370819,
0.005368780344724655,
-0.019807854667305946,
-0.0028769413474947214,
-0.00009747903823154047,
0.034813255071640015,
-0.001277633709833026,
-0.02093144692480564,
0.0024442675057798624,
-0.023088019341230392,
0.020895201712846756,
-0.010964090935885906,
-0.0054593924432992935,
-0.02935839258134365,
0.003035512752830982,
-0.05469359830021858,
0.049583062529563904,
-0.03660737723112106,
-0.01631927862763405,
-0.05005424842238426,
0.01120874471962452,
-0.026295695453882217,
-0.0045895143412053585,
0.009314946830272675,
-0.0006575056468136609,
-0.07404839247465134,
-0.045487385243177414,
-0.016192421317100525,
-0.01707136072218418,
0.07071385532617569,
-0.008875477127730846,
0.04845947027206421,
0.024302225559949875,
-0.05168526992201805,
0.0440375879406929,
-0.006134454160928726,
-0.023976020514965057,
-0.04356640577316284,
0.012196418829262257,
0.0004417350864969194,
0.003280166070908308,
0.01768752560019493,
-0.004797922447323799,
0.04961930960416794,
-0.03615431860089302,
-0.06219629943370819,
0.03783970698714256,
0.008218538016080856,
-0.02596949227154255,
0.004739024676382542,
0.04534240812063217,
0.016246790066361427,
-0.01046572346240282,
-0.005142249166965485,
0.06752430647611618,
-0.010882539674639702,
0.09082978963851929,
0.009265109896659851,
0.029865821823477745,
-0.0372597873210907,
-0.030264515429735184,
0.05114159360527992,
-0.029412759467959404,
0.057303231209516525,
-0.0054593924432992935,
-0.030173903331160545,
0.05556347593665123,
-0.01637364737689495,
-0.04628477618098259,
-0.001227797009050846,
0.022363120689988136,
-0.028180431574583054,
0.04592232406139374,
-0.016944503411650658,
0.016799524426460266,
-0.06129017472267151,
-0.024936512112617493,
0.0019968689884990454,
-0.01616523787379265,
-0.05106910690665245,
-0.07408463209867477,
0.016745157539844513,
-0.06281246244907379,
-0.013990542851388454,
-0.013283766806125641,
0.018104342743754387,
0.009151844307780266,
-0.04019562527537346,
-0.05835433676838875,
-0.00010774371185107157,
0.0009219803614541888,
-0.021456997841596603,
-0.03205864131450653,
-0.033562805503606796,
-0.020895201712846756,
-0.04063056409358978,
-0.032131128013134,
-0.013736828230321407,
-0.01846679113805294,
-0.02613259293138981,
0.016020258888602257,
-0.05226518586277962,
-0.02651316486299038,
0.029938312247395515,
-0.011417152360081673,
0.01592964679002762,
0.006859352812170982,
0.007783598732203245,
-0.022453732788562775,
0.012024255469441414,
-0.08271092921495438,
-0.007235393859446049,
-0.039217013865709305,
-0.057303231209516525,
0.016183361411094666,
-0.07618684321641922,
0.024628428742289543,
0.016944503411650658,
0.020260915160179138,
-0.006515026092529297,
-0.04015938192605972,
-0.024356592446565628,
0.03329096734523773,
0.05447612702846527,
-0.004915718454867601,
-0.05973164364695549,
0.04592232406139374,
0.02085895650088787,
-0.03845587000250816,
0.04943808168172836,
-0.01683576963841915,
0.010828172788023949,
-0.0012210010318085551,
0.009876742959022522,
-0.005056167487055063,
-0.05889800935983658,
0.006922781467437744,
0.056687068194150925,
-0.01946352608501911,
0.003925778903067112,
0.048640694469213486,
-0.03593684732913971,
0.045016203075647354,
0.00830461923032999,
-0.0471184067428112,
0.0076929861679673195,
0.01891985349357128,
0.060239072889089584,
0.07169246673583984,
-0.06074650213122368,
0.008916252292692661,
0.011534948833286762,
0.017886873334646225,
0.06313866376876831,
0.015974951907992363,
-0.0034364722669124603,
0.07049638777971268,
-0.027219941839575768,
-0.008055435493588448,
0.009949233382940292,
0.021692590788006783,
0.026295695453882217,
-0.013292827643454075,
0.011924581602215767,
0.03486762195825577,
-0.028071697801351547,
-0.03863709419965744,
0.023088019341230392,
0.009423681534826756,
0.01279446016997099,
-0.008223067969083786,
0.021547609940171242,
0.020260915160179138,
-0.00666453642770648,
-0.021293895319104195,
0.06752430647611618,
0.038057174533605576,
-0.02094956859946251,
-0.023051774129271507,
0.01870238408446312,
-0.03600933775305748,
-0.050416696816682816,
0.013999603688716888,
-0.047879550606012344,
0.02580638974905014,
-0.02187381498515606,
0.014389236457645893,
0.009197150357067585,
-0.03678860142827034,
0.01421707309782505,
0.016101809218525887,
-0.01816777139902115,
0.008354456163942814,
0.01799560710787773,
-0.0020251853857189417,
0.007502700202167034,
-0.00338210491463542,
0.024447204545140266,
0.05201147496700287,
-0.013048174791038036,
-0.07654929161071777,
0.021148916333913803,
-0.017279770225286484,
0.03653488680720329,
-0.035737499594688416,
-0.010420417413115501,
0.03561064228415489,
-0.01862989366054535,
-0.05480233207345009,
-0.03722354397177696,
0.08669786900281906,
0.10569021105766296,
-0.04715465381741524,
0.01948164962232113,
-0.03773096948862076,
-0.025317082181572914,
-0.026712512597441673,
0.007063230499625206,
-0.01370964478701353,
-0.07169246673583984,
0.007153843063861132,
-0.029575861990451813,
-0.0016514095477759838,
0.012993806973099709,
-0.031949903815984726,
-0.004865881521254778,
0.052518900483846664,
0.04349391534924507,
-0.02658565528690815,
0.006197882816195488,
0.0022426550276577473,
-0.053280044347047806,
0.0028837372083216906,
-0.013700583018362522,
-0.0075706597417593,
-0.008358987048268318,
0.03979693353176117,
0.04642975330352783,
-0.0568682923913002,
-0.006243188865482807,
-0.001892664935439825,
0.05469359830021858,
-0.029032187536358833,
0.028615372255444527,
-0.026313818991184235,
-0.0035044315736740828,
0.05067041143774986,
0.008250252343714237,
-0.005183024797588587,
-0.014679196290671825,
0.06665442138910294,
0.003112533362582326,
0.023595448583364487,
-0.011462458409368992,
-0.03586435690522194,
-0.031116271391510963,
0.016192421317100525,
0.06882911920547485,
-0.011861152946949005,
-0.024392837658524513,
-0.02674875780940056,
0.07560691982507706,
-0.0026889205910265446,
0.010674132034182549,
0.10670506954193115,
-0.022363120689988136,
-0.060855235904455185,
0.005364249460399151,
0.00465294299647212,
-0.0009021589648909867,
-0.06038405001163483,
-0.017288831993937492,
0.005019922740757465,
-0.07056887447834015,
-0.031551212072372437,
-0.045161180198192596,
-0.05447612702846527,
-0.06281246244907379,
-0.0604565404355526,
0.08126112818717957,
0.004315411671996117,
-0.010810050182044506,
0.08952497690916061,
-0.03298288583755493,
0.027310553938150406,
0.03223986551165581,
-0.06187009438872337,
0.003946166485548019,
0.024610307067632675,
0.002396696014329791,
0.05741196870803833,
-0.0824209675192833,
-0.0302826389670372,
0.028760351240634918,
0.018575526773929596,
-0.010384172201156616,
-0.019916588440537453,
-0.042225342243909836,
0.02680312469601631,
0.02180132456123829,
-0.02334173396229744,
0.09061232209205627,
0.047263387590646744,
0.0001666417228989303,
-0.014633890241384506,
0.03146059811115265,
0.003964289091527462,
0.03160557895898819,
0.05233767628669739,
-0.03098941408097744,
0.03115251660346985,
-0.04635726287961006,
-0.08814767003059387,
-0.0434214249253273,
-0.0007634088397026062,
0.006501434370875359,
-0.03593684732913971,
0.0023853695020079613,
0.0029947373550385237,
-0.005894331727176905,
-0.03693358227610588,
0.06172511354088783,
-0.010955030098557472,
-0.003481778549030423,
-0.03979693353176117,
-0.04179040342569351,
-0.028416024520993233,
0.009976416826248169,
-0.0006727965082973242,
-0.0116255609318614,
0.038528360426425934,
-0.06020282581448555,
-0.05092412605881691,
0.00334359472617507,
-0.06665442138910294,
0.0019776138942688704,
-0.01476074755191803,
0.03986942023038864,
0.031025659292936325,
-0.011888336390256882,
-0.007208210416138172,
0.07662177830934525,
-0.03838337957859039,
0.02798108570277691,
0.021130792796611786,
0.02966647408902645,
0.02209128439426422,
0.053135067224502563,
0.005341596435755491,
-0.02332361228764057,
-0.00912466086447239,
-0.014398298226296902,
0.016491442918777466,
0.01023919228464365,
0.053280044347047806,
-0.05277261510491371,
0.01855740323662758,
-0.03343594819307327,
0.023631693795323372,
-0.0012900929432362318,
0.011534948833286762,
0.02935839258134365,
-0.059079233556985855,
0.035737499594688416,
0.007484578061848879,
0.005844494793564081,
-0.0013637155061587691,
-0.05164902284741402,
0.046103548258543015,
-0.03220361843705177,
-0.012567928992211819,
0.04128297418355942,
-0.015023523010313511,
0.016717974096536636,
0.029612107202410698,
-0.020895201712846756,
-0.028017330914735794,
0.01352841965854168,
-0.021293895319104195,
0.015304421074688435,
0.050561677664518356,
-0.010837233625352383,
-0.03747725486755371,
0.029612107202410698,
0.03831088915467262,
0.005994005128741264,
0.07567941397428513,
0.028542881831526756,
0.016246790066361427,
-0.022997407242655754,
-0.013764011673629284,
-0.017053239047527313,
0.016944503411650658,
0.05349751561880112,
0.007017924450337887,
-0.0537874735891819,
-0.018575526773929596,
0.02790859527885914,
0.04356640577316284,
0.012259847484529018,
0.011688989587128162,
0.07176496088504791,
-0.05262763798236847,
-0.004938371479511261,
-0.02133014053106308,
0.004102472681552172,
0.016563933342695236,
0.003499900922179222,
-0.013492174446582794,
-0.08691533654928207,
-0.005685923155397177,
0.05454861745238304,
0.008010129444301128,
-0.048097021877765656,
-0.009169966913759708,
0.0016672667115926743,
0.02682124823331833,
0.028252921998500824,
-0.0066146994940936565,
0.042007870972156525,
0.007969353348016739,
0.10322555899620056,
-0.044146325439214706,
-0.018575526773929596,
-0.03461390733718872,
-0.07778161764144897,
-0.011018458753824234,
-0.0391082800924778,
0.021620100364089012,
0.007248986046761274,
-0.1026456356048584,
0.03769472613930702,
-0.02495463378727436,
0.024864021688699722,
0.02912279963493347,
0.0028746759053319693,
0.08133362233638763,
0.014398298226296902,
0.011408091522753239,
-0.014941971749067307,
-0.0204783845692873,
-0.012151112779974937,
0.004562330432236195,
-0.0465022437274456,
0.04247905686497688,
-0.025842634961009026,
0.0008019190281629562,
-0.006302087102085352,
-0.012495439499616623,
0.006605638191103935,
-0.02180132456123829,
0.0049927388317883015,
0.025443939492106438,
-0.01870238408446312,
-0.09097477048635483,
0.0235592033714056,
-0.007946700789034367,
0.027093084529042244,
-0.022073162719607353,
0.08640790730714798,
0.016101809218525887,
-0.05114159360527992,
0.039289504289627075,
0.05549098551273346,
0.0018099811859428883,
-0.010973152704536915,
-0.03575562313199043,
-0.010447600856423378,
0.002607369562610984,
-0.0015222870279103518,
-0.015231931582093239,
-0.005685923155397177,
-0.01917356811463833,
-0.02149324305355549,
0.016337402164936066,
0.0041659013368189335,
-0.0660020187497139,
0.03715105354785919,
-0.014543278142809868,
0.10279061645269394,
-0.05849931389093399,
0.03131561726331711,
0.030862556770443916,
0.05005424842238426,
0.039760686457157135,
-0.01870238408446312,
-0.009985477663576603,
-0.007520822808146477,
0.025153981521725655,
-0.00676420982927084,
0.005613433197140694,
-0.027147451415657997,
0.036045581102371216,
-0.02533520571887493,
0.02180132456123829,
0.04421881213784218,
0.04922061413526535,
0.03687921538949013,
-0.05926045775413513,
0.025371450930833817,
-0.04128297418355942,
0.010656009428203106,
0.03354468196630478,
0.008812048472464085,
0.0020365118980407715,
0.016591116786003113,
-0.056687068194150925,
-0.0064334748312830925,
0.012015193700790405,
0.03309161961078644,
-0.03947072848677635,
-0.03173243626952171,
-0.016418952494859695,
0.014307686127722263,
0.0025915123987942934,
0.07372218370437622,
0.0384921133518219,
0.014307686127722263,
-0.006206944119185209,
-0.056143395602703094,
-0.01776907593011856,
0.023631693795323372,
-0.03619056195020676,
-0.01631021872162819,
0.04450877383351326,
0.01800466887652874,
0.05030796304345131,
-0.04313146695494652,
-0.058535560965538025,
-0.020804589614272118,
0.02163822203874588,
0.07064136862754822,
0.051105350255966187,
-0.011544009670615196,
0.0050652287900447845,
0.03950697183609009,
-0.002071624156087637,
-0.011698050424456596,
-0.007620496209710836,
-0.06578454375267029,
-0.03874582797288895,
-0.02642255276441574,
0.0037151051219552755,
-0.02357732690870762,
0.03044573962688446,
-0.07517198473215103,
-0.004639350809156895,
0.08677036315202713,
0.015059768222272396,
-0.05175776034593582,
-0.029847698286175728,
0.04940183833241463,
-0.03347219154238701,
-0.03267480432987213,
0.035665009170770645,
0.0021157977171242237,
0.0019719507545232773,
0.049800533801317215,
0.026241328567266464,
0.04298648610711098,
-0.022671204060316086,
0.012268908321857452,
-0.012622296810150146,
-0.018222138285636902,
-0.015603441745042801,
0.05179400369524956,
-0.027528023347258568,
0.007914986461400986,
-0.03791219741106033,
-0.02317863143980503,
-0.03405211120843887,
-0.001343327690847218,
0.03198615089058876,
0.029412759467959404,
-0.04715465381741524,
-0.06995271146297455,
-0.08677036315202713,
-0.04291399568319321,
0.09322195500135422,
-0.012114867568016052,
0.024519694969058037,
0.017198218032717705,
0.005269106477499008,
0.0519389845430851,
0.008943436667323112,
0.005540943704545498,
0.018512098118662834,
0.01660923846065998,
-0.024628428742289543,
0.014670135453343391,
-0.02064148709177971,
-0.06665442138910294,
-0.011534948833286762,
-0.021203283220529556,
-0.017026055604219437,
0.02248997800052166,
-0.029847698286175728,
-0.03173243626952171,
-0.0028135126922279596,
-0.04255154728889465,
0.04552363231778145,
0.005781066138297319,
0.01232327613979578,
0.025480184704065323,
-0.01561250351369381,
0.04458126425743103,
0.03874582797288895,
0.026640022173523903,
0.011380908079445362,
0.030481984838843346,
-0.02372230589389801,
-0.017642218619585037,
0.013972420245409012,
0.0005991740035824478,
0.013383439742028713,
0.009586784057319164,
0.009468987584114075,
0.011426214128732681,
-0.06176136061549187,
-0.07560691982507706,
-0.049256857484579086,
0.04240656644105911,
0.01917356811463833,
0.01124498900026083,
-0.024012265726923943,
0.10424041748046875,
0.023939775303006172,
0.055454742163419724,
0.02827104553580284,
-0.01317503210157156,
-0.014008665457367897,
-0.09829624742269516,
0.06408103555440903,
0.027473656460642815,
0.04661097750067711,
0.009514293633401394,
-0.006175229791551828,
-0.017660342156887054,
-0.0074800471775233746,
-0.0006342862616293132,
-0.03544754162430763,
0.05802813172340393,
0.04860445111989975,
-0.004179493524134159,
0.03680672496557236,
0.008431476540863514,
-0.02982957661151886,
-0.020424017682671547,
0.03321847692131996,
0.06879287213087082,
-0.009922049008309841,
0.008626293390989304,
0.02395789884030819,
0.024610307067632675,
-0.03323660045862198,
-0.007339598145335913,
-0.0024487979244440794,
-0.05295384302735329,
0.021130792796611786,
-0.08024626970291138,
0.02874222956597805,
-0.05875302851200104,
0.009795191697776318,
-0.014226134866476059,
0.004575922153890133,
0.027093084529042244,
0.04189913719892502,
-0.006746087223291397,
0.04845947027206421,
-0.023160509765148163,
0.017134789377450943,
-0.026712512597441673,
0.02225438691675663,
0.02326924353837967,
-0.11214181035757065,
0.02519022487103939,
-0.020496508106589317,
0.05581719055771828,
-0.04715465381741524,
-0.018484914675354958,
0.014044909738004208,
-0.0019300425192341208,
-0.038600850850343704,
-0.0010035315062850714,
0.019807854667305946,
-0.015730299055576324,
-0.00796482339501381,
-0.025317082181572914,
0.03508508950471878,
0.022272508591413498,
0.03216737508773804,
-0.027074962854385376,
0.018222138285636902,
0.010828172788023949,
0.04425505921244621,
0.0020568997133523226,
-0.01785062812268734,
-0.008200415410101414,
-0.0015188890974968672,
-0.012767276726663113,
0.02533520571887493,
-0.037368521094322205,
0.02921341359615326,
-0.010547274723649025,
-0.04258779063820839,
0.09626653045415878,
0.009686456993222237,
0.012821643613278866,
0.009423681534826756,
-0.022671204060316086,
-0.02665814571082592,
-0.04363889619708061,
-0.06158013269305229,
0.03416084498167038,
-0.010927845723927021,
0.013764011673629284,
-0.04164542257785797,
0.012277970090508461,
-0.0007215006044134498,
-0.015313482843339443,
-0.02033340558409691,
-0.03769472613930702,
-0.009228864684700966,
0.04298648610711098,
0.05719449743628502,
-0.006492373067885637,
0.015974951907992363,
-0.007339598145335913,
0.007280699908733368,
0.001943634357303381,
0.026766879484057426,
-0.0204783845692873,
0.023160509765148163,
0.03809342160820961,
0.017125729471445084,
-0.02007969096302986,
-0.008037312887609005,
-0.021964427083730698,
-0.016862953081727028,
-0.0007028118125163019,
0.024628428742289543,
0.07412087917327881,
0.042007870972156525,
0.06636446714401245,
0.01931854709982872
]
|
43,866 | pdf2docx.converter | restore | Restore pages from parsed results. | def restore(self, data:dict):
'''Restore pages from parsed results.'''
# init empty pages if necessary
if not self._pages:
num = data.get('page_cnt', 100)
self._pages.reset([Page(id=i, skip_parsing=True) for i in range(num)])
# restore pages
for raw_page in data.get('pages', []):
idx = raw_page.get('id', -1)
self._pages[idx].restore(raw_page)
| (self, data: dict) | [
-0.026471110060811043,
0.026576222851872444,
-0.07070641964673996,
-0.030290236696600914,
-0.03058805875480175,
0.06636172533035278,
-0.01515387836843729,
-0.05504449084401131,
0.0014354577288031578,
-0.0037315329536795616,
-0.006442588288336992,
0.00003238607678213157,
-0.024018459022045135,
0.036929912865161896,
-0.014663347974419594,
-0.0236680805683136,
0.0019205132266506553,
0.06636172533035278,
-0.020707380026578903,
-0.03612404316663742,
-0.007809064816683531,
0.00326290144585073,
-0.01703716441988945,
0.037770822644233704,
-0.024841848760843277,
-0.03955775499343872,
0.008001773618161678,
-0.008776986040174961,
0.017974426969885826,
-0.0008075133664533496,
-0.030430389568209648,
0.00769081199541688,
0.015206434763967991,
0.01398886926472187,
0.0030439149122685194,
-0.04477839544415474,
-0.008873340673744678,
-0.002224904717877507,
-0.02105775848031044,
0.04800188168883324,
-0.04022347182035446,
-0.046530287712812424,
-0.08423103392124176,
-0.012289532460272312,
0.031393930315971375,
0.007651394698768854,
0.005395831540226936,
-0.030220162123441696,
-0.0006487480131909251,
-0.02471921592950821,
-0.020532190799713135,
0.010791663080453873,
0.0002474549401085824,
0.029063912108540535,
0.050454530864953995,
0.04908805340528488,
-0.03403928875923157,
0.0779242217540741,
0.040083322674036026,
-0.03784089908003807,
0.0011650091037154198,
-0.05700661242008209,
-0.05301229655742645,
-0.028625939041376114,
0.04222063347697258,
-0.003939570393413305,
0.041975367814302444,
-0.026015616953372955,
-0.050839945673942566,
0.0026344098150730133,
-0.05704164877533913,
0.02582290954887867,
0.008746327832341194,
0.05364297702908516,
0.029519405215978622,
-0.0021559237502515316,
-0.005947678349912167,
-0.017431339249014854,
-0.03899714723229408,
0.0509800985455513,
0.016818176954984665,
-0.03276040777564049,
-0.007901038974523544,
0.03773578628897667,
-0.0718977078795433,
0.003420572029426694,
0.12417420744895935,
0.004145417828112841,
-0.019586168229579926,
-0.0028227383736521006,
0.03812120109796524,
0.008641214109957218,
-0.03973294422030449,
-0.029221583157777786,
0.026330959051847458,
0.010099665261805058,
-0.044533129781484604,
0.029852263629436493,
-0.06881437450647354,
-0.03868180513381958,
-0.002198626287281513,
-0.0052775791846215725,
-0.03263777494430542,
-0.031166184693574905,
-0.0005688178935088217,
-0.03801608830690384,
0.03451230004429817,
-0.012342088855803013,
0.02133806236088276,
0.042255669832229614,
-0.02515718899667263,
-0.01637144386768341,
-0.05301229655742645,
0.04043370112776756,
0.026278400793671608,
-0.01616121642291546,
-0.01754521206021309,
-0.01816713437438011,
-0.004511125385761261,
-0.015434181317687035,
-0.00914488360285759,
-0.008496683090925217,
-0.05406343191862106,
0.03966286778450012,
-0.03030775673687458,
-0.014137780293822289,
0.06121115759015083,
0.0023212588857859373,
0.008965314365923405,
-0.034442223608493805,
0.01419033668935299,
-0.033215899020433426,
-0.054518923163414,
-0.0404687374830246,
0.014812259003520012,
-0.034337110817432404,
0.020251888781785965,
0.026418553665280342,
-0.047686539590358734,
-0.012140621431171894,
-0.02603313699364662,
0.04166002571582794,
-0.01108072604984045,
0.03584374114871025,
0.025419972836971283,
-0.013288111425936222,
0.06089581549167633,
0.06289297342300415,
-0.030833324417471886,
0.01944601722061634,
0.01995406672358513,
-0.019043082371354103,
0.04022347182035446,
0.004377543926239014,
-0.011194598861038685,
-0.006197323091328144,
-0.02697915956377983,
-0.04926324263215065,
-0.05091002210974693,
-0.01246472168713808,
0.04495358467102051,
0.0033132685348391533,
0.02815292775630951,
-0.06562592834234238,
-0.024473952129483223,
0.008325873874127865,
-0.008216380141675472,
-0.035265613347291946,
-0.016581671312451363,
0.026173288002610207,
0.009828122332692146,
0.01934090256690979,
-0.08100755512714386,
-0.011623812839388847,
0.0026475489139556885,
0.008645594120025635,
0.020374519750475883,
-0.029834745451807976,
0.012867657467722893,
0.06643179804086685,
-0.054168544709682465,
0.012736265547573566,
-0.01383119821548462,
-0.004248341545462608,
0.00012844937737099826,
-0.05220642313361168,
-0.019078118726611137,
0.014365525916218758,
0.022862209007143974,
0.018482476472854614,
-0.041975367814302444,
-0.04211551696062088,
0.0006027608178555965,
-0.029799707233905792,
0.04183521494269371,
-0.013936311937868595,
-0.03148152679204941,
-0.008553619496524334,
0.06401418894529343,
-0.0016128368442878127,
-0.047301121056079865,
-0.05490434169769287,
0.0813579335808754,
-0.06425945460796356,
-0.029782189056277275,
0.037490520626306534,
-0.03622915595769882,
-0.014164058491587639,
0.00737109174951911,
0.03843654319643974,
0.0337589867413044,
0.010485081933438778,
0.020707380026578903,
-0.045303963124752045,
0.02426372468471527,
-0.006197323091328144,
0.020602267235517502,
-0.04793180525302887,
0.06559088826179504,
-0.01124715618789196,
-0.0048658838495612144,
0.01949857361614704,
-0.04800188168883324,
-0.07165244221687317,
-0.0031555979512631893,
-0.016555393114686012,
-0.018710222095251083,
-0.058548279106616974,
-0.004088481422513723,
0.029169024899601936,
0.00025785682373680174,
-0.040258511900901794,
-0.019025562331080437,
-0.0376657098531723,
0.05364297702908516,
-0.0511903278529644,
0.0012131861876696348,
-0.00814630463719368,
0.024035977199673653,
0.04919316619634628,
-0.001956645864993334,
0.009574097581207752,
-0.028941279277205467,
0.012771302834153175,
-0.06962024420499802,
0.057882558554410934,
0.012307051569223404,
-0.030570540577173233,
0.01324431411921978,
0.01443560142070055,
0.05952933803200722,
-0.05823293700814247,
0.012324570678174496,
0.011194598861038685,
0.05963445082306862,
0.004204544238746166,
-0.02676893211901188,
-0.0003492837422527373,
-0.004300898406654596,
0.01534658670425415,
0.057216838002204895,
-0.08282952010631561,
-0.027171866968274117,
-0.02144317515194416,
0.027294499799609184,
-0.024228686466813087,
-0.008667492307722569,
-0.01729118824005127,
0.016353925690054893,
0.028328116983175278,
0.07890527695417404,
-0.021373100578784943,
0.007905418984591961,
0.05287214368581772,
0.012841379269957542,
0.06156153604388237,
0.0076032173819839954,
-0.03770074620842934,
-0.02704923413693905,
0.02349289134144783,
0.04915812984108925,
-0.010896776802837849,
0.02505207620561123,
-0.056165702641010284,
0.07680300623178482,
-0.06709751486778259,
0.014444361440837383,
0.07575187087059021,
0.012175659649074078,
-0.028906241059303284,
0.04271116107702255,
0.036159079521894455,
-0.0237206369638443,
-0.04162498936057091,
-0.010003311559557915,
-0.019638724625110626,
-0.06345357745885849,
-0.022476792335510254,
-0.052731990814208984,
0.03202461078763008,
0.0026212704833596945,
-0.0781344473361969,
0.09796588122844696,
0.018272249028086662,
0.010196019895374775,
0.02321258746087551,
-0.013664769008755684,
0.030780768021941185,
0.02697915956377983,
-0.047231048345565796,
0.0018427729373797774,
0.03419695794582367,
-0.030377831310033798,
0.03335605189204216,
-0.09137876331806183,
-0.05756721645593643,
0.05175093188881874,
-0.01319175772368908,
-0.006280538160353899,
0.00642944872379303,
-0.043517034500837326,
-0.01618749462068081,
0.0237206369638443,
-0.04719600826501846,
0.07357952743768692,
0.00484836520627141,
-0.03214724361896515,
0.005487806163728237,
0.02787262387573719,
-0.00397679815068841,
0.024193648248910904,
-0.027136828750371933,
0.0026606882456690073,
0.03332101181149483,
-0.009433946572244167,
-0.039873093366622925,
-0.02969459444284439,
0.009083567187190056,
-0.024894405156373978,
0.004226442892104387,
-0.015565573237836361,
-0.016791898757219315,
0.01972631923854351,
-0.05907384678721428,
0.06821873039007187,
0.033548757433891296,
0.023019880056381226,
-0.02704923413693905,
-0.009547819383442402,
-0.0046819350682199,
-0.01616121642291546,
-0.0070207128301262856,
0.028608419001102448,
0.03081580623984337,
0.024614103138446808,
-0.05031437799334526,
0.06285793334245682,
0.003582622157409787,
0.001935842214152217,
-0.048282183706760406,
0.0444280169904232,
0.04222063347697258,
-0.0681486576795578,
-0.00737109174951911,
0.030377831310033798,
-0.022914765402674675,
-0.061141081154346466,
0.029274139553308487,
-0.0003380606940481812,
0.0008381715160794556,
0.009977033361792564,
-0.05802271142601967,
-0.025367416441440582,
-0.01047632284462452,
0.013691047206521034,
0.00950402207672596,
0.001309540355578065,
0.042641084641218185,
-0.04116949439048767,
-0.007546280976384878,
0.02671637572348118,
0.0021186962258070707,
0.01934090256690979,
0.0042395819909870625,
0.05553502216935158,
0.004572441801428795,
-0.025682758539915085,
0.03081580623984337,
0.007055750582367182,
-0.001982924295589328,
-0.025349898263812065,
0.01890292949974537,
-0.01977887749671936,
0.020935125648975372,
0.05458899959921837,
0.031236259266734123,
0.018482476472854614,
-0.001901899348013103,
-0.012193177826702595,
-0.027732472866773605,
0.03530065342783928,
0.0287660900503397,
-0.0023037397768348455,
0.010397487320005894,
0.0030263958033174276,
-0.049017976969480515,
0.016126178205013275,
-0.04509373754262924,
-0.007095168344676495,
0.0015526155475527048,
0.018377361819148064,
-0.0005354224122129381,
0.0338115431368351,
0.006171044427901506,
0.07652270793914795,
0.03132385388016701,
0.10041853040456772,
0.05213634669780731,
-0.00885144155472517,
0.015583092346787453,
0.023230107501149178,
0.057602256536483765,
0.009372630156576633,
0.033601317554712296,
0.041204534471035004,
-0.009512781165540218,
-0.029834745451807976,
-0.04488350823521614,
-0.05497441440820694,
0.04285131394863129,
0.023300182074308395,
-0.0878048986196518,
0.0018898550188168883,
-0.04919316619634628,
0.02603313699364662,
0.01800946518778801,
-0.03678976371884346,
0.0022117653861641884,
-0.06373388320207596,
0.03717517852783203,
0.03805112466216087,
-0.020865051075816154,
0.06538066267967224,
-0.034161921590566635,
0.08065717667341232,
-0.041589949280023575,
0.005881982389837503,
0.0005480141844600439,
-0.04614487290382385,
-0.004086291417479515,
-0.04582953080534935,
-0.01562688872218132,
-0.0025533847510814667,
-0.06559088826179504,
0.011010650545358658,
-0.01108072604984045,
0.017641566693782806,
0.042360782623291016,
-0.008067469112575054,
0.045794494450092316,
0.01883285492658615,
-0.031779345124959946,
-0.01327059231698513,
0.015355345793068409,
0.06919979304075241,
0.03857669234275818,
-0.07561171799898148,
0.024579064920544624,
-0.04190529137849808,
-0.038541655987501144,
-0.06527554988861084,
-0.03509042412042618,
0.007502483669668436,
-0.021267985925078392,
0.012455962598323822,
0.031674232333898544,
0.0015690395375713706,
-0.07357952743768692,
0.011387307196855545,
-0.004966618027538061,
0.03857669234275818,
-0.027224423363804817,
0.05500945448875427,
0.01631888747215271,
-0.06534562259912491,
-0.020759936422109604,
0.014260412193834782,
0.025192227214574814,
-0.017361264675855637,
0.009214959107339382,
0.012254494242370129,
-0.009486502967774868,
-0.04716097190976143,
0.016047343611717224,
0.0008409088477492332,
-0.01767660491168499,
0.022354159504175186,
0.04348199442028999,
0.019796395674347878,
-0.08689391613006592,
0.03298815339803696,
-0.055885400623083115,
0.06334846466779709,
-0.01995406672358513,
0.009766805917024612,
0.0649251714348793,
0.03463493287563324,
0.045514192432165146,
0.0238257497549057,
-0.005220642313361168,
-0.05872346833348274,
-0.0004954573814757168,
-0.005614818539470434,
0.009565338492393494,
-0.01246472168713808,
0.010923055931925774,
-0.017308706417679787,
0.0033789644949138165,
0.01883285492658615,
0.032497622072696686,
-0.006284917704761028,
-0.012359607964754105,
0.01749265566468239,
-0.020129255950450897,
0.007432407699525356,
0.012937732972204685,
-0.04726608470082283,
-0.00659587886184454,
0.03468748927116394,
-0.025227265432476997,
0.008093747310340405,
-0.026558704674243927,
0.06229732930660248,
-0.0004738324205391109,
0.01033617090433836,
-0.014654588885605335,
0.007817824371159077,
-0.09936739504337311,
0.08640338480472565,
0.007340433541685343,
-0.015276510268449783,
-0.003068003337830305,
-0.020304445177316666,
0.013848717324435711,
0.015145118348300457,
0.04754638671875,
-0.03372395038604736,
0.07287876307964325,
0.013296871446073055,
0.018815334886312485,
-0.05353786423802376,
-0.07060130685567856,
0.0409943051636219,
-0.055990513414144516,
-0.017816755920648575,
0.007025092840194702,
-0.025752833113074303,
-0.0015515206614509225,
0.05945926159620285,
-0.028275560587644577,
0.0012328949524089694,
-0.014838537201285362,
-0.01714227721095085,
-0.019078118726611137,
0.02515718899667263,
0.017387542873620987,
-0.050839945673942566,
0.0036658369936048985,
-0.0775037631392479,
-0.03235747292637825,
0.09439201653003693,
-0.03561599180102348,
0.02238919772207737,
-0.004257101099938154,
0.059038810431957245,
0.012928973883390427,
0.003216914366930723,
-0.012937732972204685,
0.027732472866773605,
-0.02244175411760807,
0.08934656530618668,
0.012876416556537151,
0.019603688269853592,
-0.04681059345602989,
-0.000059571219026111066,
-0.026751412078738213,
-0.011982951313257217,
0.030290236696600914,
0.05861835554242134,
-0.023037398234009743,
0.004624998662620783,
0.0710567981004715,
-0.014514436945319176,
-0.019428499042987823,
-0.0059783365577459335,
0.008019291795790195,
0.03773578628897667,
-0.03575614467263222,
-0.06313823908567429,
-0.03728029131889343,
0.014908612705767155,
0.07722346484661102,
-0.014777220785617828,
0.00891713798046112,
-0.0042067342437803745,
-0.0015526155475527048,
-0.00024868675973266363,
0.0706363394856453,
0.05634089186787605,
0.034372150897979736,
0.023037398234009743,
-0.02177603542804718,
0.021250467747449875,
-0.04985888674855232,
-0.027574801817536354,
-0.009460224770009518,
0.015425421297550201,
-0.0408891923725605,
-0.06058047339320183,
-0.005956437438726425,
-0.012017988599836826,
-0.028678495436906815,
-0.019253307953476906,
0.05213634669780731,
-0.06061551347374916,
-0.00914488360285759,
0.019638724625110626,
0.0511903278529644,
0.01611742004752159,
-0.002954130293801427,
-0.01246472168713808,
-0.06425945460796356,
0.007379851303994656,
0.010055867955088615,
-0.03107859008014202,
0.025472531095147133,
0.014733423478901386,
0.037140142172575,
0.028660977259278297,
0.006832384504377842,
0.050279341638088226,
-0.055114567279815674,
-0.01011718437075615,
-0.017737921327352524,
-0.043972525745630264,
-0.0011507750023156404,
0.03840150311589241,
0.007244079373776913,
0.0221088957041502,
0.040643926709890366,
0.0011299712350592017,
-0.0015515206614509225,
0.008781366050243378,
0.03601893037557602,
-0.057987671345472336,
0.04681059345602989,
0.07883520424365997,
0.015994787216186523,
0.014479399658739567,
-0.02676893211901188,
-0.04278123751282692,
0.0021307403221726418,
-0.034056808799505234,
-0.009022250771522522,
0.08100755512714386,
0.04737119749188423,
0.0009306934080086648,
0.09249997138977051,
0.012394646182656288,
-0.04488350823521614,
-0.05192612111568451,
0.05900377035140991,
0.041309647262096405,
-0.029011355713009834,
0.013568414375185966,
-0.03160415589809418,
-0.000683238438796252,
-0.05749714374542236,
0.000713349087163806,
0.03962782770395279,
-0.05154070630669594,
0.028223002329468727,
-0.02205633744597435,
0.009451464749872684,
-0.06580111384391785,
0.11149049550294876,
-0.01654663309454918,
-0.009898197837173939,
-0.006985675077885389,
0.029677074402570724,
0.017387542873620987,
-0.0024000939447432756,
0.011203358881175518,
-0.024806810542941093,
-0.06331343203783035,
0.02387830801308155,
-0.0016938619082793593,
-0.0847916454076767,
0.02759232185781002,
-0.01911315694451332,
0.03346116468310356,
-0.001157344551756978,
0.009214959107339382,
-0.028082851320505142,
-0.0007598837837576866,
-0.028275560587644577,
-0.011422345414757729,
0.014689626172184944,
-0.05777744576334953,
-0.0033307874109596014,
0.030395351350307465,
0.029169024899601936,
-0.020987683907151222,
0.03114866465330124,
0.010169741697609425,
0.02766239643096924,
0.0010642752749845386,
0.005338895134627819,
-0.03650945797562599,
-0.0009367155143991113,
0.005772488657385111,
0.0048133269883692265,
-0.01573200337588787,
0.04201040416955948,
-0.013007808476686478,
0.039102260023355484,
-0.014978689141571522,
-0.061876874417066574,
0.05858331546187401,
0.0238257497549057,
-0.0003821317513938993,
-0.027171866968274117,
0.03784089908003807,
-0.030395351350307465,
-0.028836166486144066,
-0.04726608470082283,
0.040643926709890366,
0.014391804113984108,
0.021863630041480064,
0.015696965157985687,
-0.023580485954880714,
0.03253266215324402,
-0.0144093232229352,
0.0510852113366127,
-0.08577270060777664,
-0.06212214007973671,
0.06969032436609268,
0.019796395674347878,
-0.012552316300570965,
0.046530287712812424,
0.008693771436810493,
0.01890292949974537,
-0.0026168907061219215,
0.033058229833841324,
-0.06191191449761391,
0.05977460369467735,
0.011544977314770222,
0.011842799372971058,
0.009775565005838871,
0.007042611483484507,
0.01562688872218132,
0.01124715618789196,
-0.07519126683473587,
0.00002234348539786879,
0.04632006213068962,
0.012359607964754105,
0.07764391601085663,
-0.026961639523506165
]
|
43,867 | pdf2docx.converter | serialize | Write parsed pages to specified JSON file. | def serialize(self, filename:str):
'''Write parsed pages to specified JSON file.'''
with open(filename, 'w', encoding='utf-8') as f:
f.write(json.dumps(self.store(), indent=4))
| (self, filename: str) | [
-0.054938532412052155,
-0.007937271147966385,
-0.06134973093867302,
0.021740108728408813,
0.04631069302558899,
0.02985641546547413,
-0.08621018379926682,
0.03166382759809494,
-0.03618235886096954,
-0.01634344644844532,
0.027366958558559418,
-0.019421162083745003,
-0.025389036163687706,
0.03597774729132652,
0.0014514719368889928,
-0.038126181811094284,
-0.0008253781124949455,
0.003382504917681217,
-0.01759669929742813,
0.04856143146753311,
-0.03314727172255516,
-0.024280715733766556,
0.04470789059996605,
0.040615636855363846,
0.009838464669883251,
-0.03203894942998886,
-0.00790316890925169,
0.011893117800354958,
0.01570403017103672,
0.0030308268032968044,
-0.05101678520441055,
-0.08614198118448257,
0.037069015204906464,
0.0339827723801136,
0.010213588364422321,
-0.005878354422748089,
-0.027111193165183067,
0.04835681989789009,
-0.07304675877094269,
-0.012737145647406578,
-0.02982231229543686,
0.06585121154785156,
-0.06462353467941284,
-0.00852553267031908,
-0.0018606974044814706,
0.038535404950380325,
-0.00711455661803484,
0.021177422255277634,
0.011978372931480408,
-0.021961770951747894,
-0.0034592347219586372,
0.024536482989788055,
-0.025099167600274086,
0.0021569596137851477,
0.005217625759541988,
-0.0007124147959984839,
0.024689942598342896,
0.021126270294189453,
0.012685992754995823,
0.004791349172592163,
-0.040820248425006866,
-0.04446917772293091,
0.0643848180770874,
-0.037785161286592484,
-0.001478114165365696,
0.037239525467157364,
-0.03047025389969349,
0.002431908156722784,
-0.013146370649337769,
0.024144308641552925,
0.037273626774549484,
-0.04272997006773949,
0.039046939462423325,
0.056643638759851456,
0.006679754704236984,
0.04317329823970795,
-0.04767477884888649,
-0.01445077732205391,
-0.04641299694776535,
0.003732051933184266,
0.003275935770943761,
-0.08846092224121094,
-0.00864062737673521,
-0.006679754704236984,
-0.05050525441765785,
0.006756484508514404,
0.07727542519569397,
-0.0055543845519423485,
-0.06322535127401352,
0.010460828430950642,
0.003740577260032296,
0.0746154636144638,
-0.03369290381669998,
-0.007472629193216562,
-0.01445930264890194,
-0.04552634432911873,
-0.000375123432604596,
0.009233151562511921,
-0.04917526990175247,
0.028696943074464798,
-0.011552096344530582,
0.010580185800790787,
-0.055484164506196976,
-0.020273717120289803,
-0.0036041687708348036,
-0.040888454765081406,
0.025065066292881966,
0.01654805801808834,
-0.039524368941783905,
0.054529305547475815,
-0.027673877775669098,
-0.04440097138285637,
-0.014715068973600864,
-0.002559791086241603,
0.07597954571247101,
0.01553351990878582,
-0.004714619368314743,
0.007319169584661722,
0.055450063198804855,
-0.06704478710889816,
0.023735081776976585,
0.004484429955482483,
-0.003870591754093766,
0.04689043015241623,
-0.03306201472878456,
-0.04293458163738251,
0.03539801016449928,
0.026173384860157967,
0.0324481762945652,
0.007877591997385025,
0.0020535876974463463,
0.005285830236971378,
0.022797273471951485,
-0.04399174824357033,
0.07072781771421432,
-0.028867453336715698,
-0.04801579937338829,
-0.014860003255307674,
-0.056029800325632095,
0.06510096788406372,
0.0019811205565929413,
-0.028628738597035408,
-0.01521807536482811,
-0.011236651800572872,
0.000938874261919409,
-0.014101230539381504,
-0.04808400198817253,
-0.012592211365699768,
-0.05845104902982712,
-0.024792248383164406,
0.06090640276670456,
0.003870591754093766,
-0.024280715733766556,
-0.052380871027708054,
0.00833370815962553,
-0.03345419093966484,
-0.012779773212969303,
0.025951720774173737,
-0.03140806034207344,
-0.013487392105162144,
0.021279729902744293,
0.03336893394589424,
0.01707664132118225,
0.024775197729468346,
-0.037955671548843384,
0.028049001470208168,
0.003122476162388921,
0.004230795428156853,
-0.022797273471951485,
0.01620703749358654,
0.008815400302410126,
0.007493942975997925,
-0.10216998308897018,
0.07331957668066025,
0.013342458754777908,
-0.01543973945081234,
0.04937988519668579,
0.040445126593112946,
0.019318856298923492,
0.04286637902259827,
-0.03473301976919174,
-0.03519339859485626,
0.03248227760195732,
0.04371893033385277,
0.04968680441379547,
-0.08962039649486542,
-0.009795837104320526,
0.02995872125029564,
0.06083820015192032,
0.04900475963950157,
0.03570492938160896,
0.023752134293317795,
-0.0354321114718914,
-0.058416947722435,
0.020273717120289803,
-0.06462353467941284,
0.021808311343193054,
-0.040445126593112946,
-0.010887105017900467,
0.013615275733172894,
-0.07775285840034485,
0.005192049313336611,
0.0027686667162925005,
-0.05735978111624718,
0.021910618990659714,
0.0344943031668663,
-0.008137620985507965,
-0.06544198840856552,
0.01644575223326683,
0.026855427771806717,
0.0337270051240921,
-0.024468278512358665,
-0.021688954904675484,
0.009258728474378586,
0.0625092014670372,
-0.03498878702521324,
-0.03490353003144264,
0.04283227398991585,
-0.0024532219395041466,
-0.036352869123220444,
0.005550121422857046,
0.07318317145109177,
-0.054802123457193375,
-0.040376920253038406,
-0.026633763685822487,
-0.04927757754921913,
0.06414610892534256,
-0.06298663467168808,
-0.01627524197101593,
0.021058065816760063,
0.0030350894667208195,
-0.03077717311680317,
0.009642377495765686,
0.0035935118794441223,
0.025474291294813156,
-0.04822041094303131,
-0.041229475289583206,
-0.05163062363862991,
0.03461366146802902,
-0.01663331314921379,
0.06612402945756912,
-0.03273804485797882,
-0.038092080503702164,
-0.014953783713281155,
-0.003525307634845376,
0.012634838931262493,
0.04266176372766495,
-0.006551871541887522,
0.025781210511922836,
0.03031679429113865,
0.08109486848115921,
-0.03550031781196594,
-0.03098178468644619,
0.04174100607633591,
0.00370221259072423,
-0.07304675877094269,
-0.0019693979993462563,
0.009284304454922676,
-0.0027217762544751167,
0.029003862291574478,
-0.002406331477686763,
-0.07659338414669037,
0.001616654102690518,
-0.01636049710214138,
0.03314727172255516,
-0.020904606208205223,
-0.014553084038197994,
-0.019148346036672592,
0.0030414836946874857,
0.041195373982191086,
-0.022234588861465454,
0.006607287563383579,
0.009164947085082531,
-0.0026599662378430367,
-0.041365884244441986,
-0.026480304077267647,
-0.0328744538128376,
-0.022149333730340004,
0.0015377929667010903,
-0.015576147474348545,
0.0004752984386868775,
-0.040854353457689285,
0.038501303642988205,
-0.00851700734347105,
0.04481019824743271,
-0.05292650684714317,
0.023888541385531425,
0.0631912499666214,
-0.014791798777878284,
-0.05947411432862282,
0.03550031781196594,
0.04286637902259827,
-0.03734183311462402,
-0.027281703427433968,
-0.025099167600274086,
-0.05074397101998329,
-0.05186934024095535,
-0.03401687368750572,
0.04562864825129509,
0.014339945279061794,
-0.023888541385531425,
-0.03162972629070282,
0.10496635735034943,
-0.012975860387086868,
-0.03461366146802902,
0.03379521146416664,
-0.06731760501861572,
0.002732433145865798,
0.010631338693201542,
0.01711074449121952,
-0.02931078150868416,
0.026054026558995247,
-0.01699991151690483,
0.10312484204769135,
-0.019489366561174393,
0.06622633337974548,
-0.005251727998256683,
0.007933007553219795,
0.051664724946022034,
0.021978823468089104,
-0.04767477884888649,
0.01729830540716648,
-0.005976398475468159,
-0.05821233615279198,
0.10428431630134583,
-0.028475278988480568,
0.009054115042090416,
0.009591223672032356,
0.03268689289689064,
-0.009829939343035221,
0.056132104247808456,
0.006875841878354549,
0.021569596603512764,
0.026650814339518547,
-0.026719018816947937,
0.01445930264890194,
0.013640851713716984,
-0.021092167124152184,
0.004897918552160263,
0.005094005726277828,
0.025389036163687706,
-0.04968680441379547,
0.005665216129273176,
-0.0599515438079834,
-0.03180023655295372,
0.009037064388394356,
0.011134345084428787,
-0.011944270692765713,
-0.010494930669665337,
-0.02929372899234295,
-0.036932606250047684,
0.06100871041417122,
0.08252715319395065,
0.05916719511151314,
-0.04249125346541405,
-0.07161447405815125,
0.006504981312900782,
-0.039012838155031204,
-0.04961859807372093,
-0.02949834242463112,
-0.021654851734638214,
0.007357534486800432,
-0.03686440363526344,
-0.006262003444135189,
0.06366867572069168,
-0.006509243976324797,
0.0614861398935318,
-0.024007899686694145,
0.022541508078575134,
-0.05763259902596474,
0.003525307634845376,
-0.019813338294625282,
0.0019619381055235863,
0.00408586161211133,
0.0011946402955800295,
0.023615725338459015,
0.04402584955096245,
0.023104192689061165,
-0.040752045810222626,
-0.038978733122348785,
0.025013912469148636,
0.014237639494240284,
0.037137217819690704,
0.011935745365917683,
0.024519430473446846,
-0.01896078512072563,
0.03006102703511715,
-0.0063472590409219265,
-0.007127345073968172,
0.0152862798422575,
0.007933007553219795,
0.024638788774609566,
-0.06571480631828308,
0.028696943074464798,
-0.01559319905936718,
0.001781836268492043,
-0.007907431572675705,
0.008154671639204025,
-0.01713632047176361,
0.040956657379865646,
0.009096743538975716,
-0.03638697415590286,
-0.026991836726665497,
0.02907206490635872,
-0.009565647691488266,
-0.0043544159270823,
0.01550794392824173,
-0.006726644933223724,
0.03481827303767204,
0.0614861398935318,
0.008308131247758865,
0.00382583262398839,
-0.039046939462423325,
-0.03113524429500103,
0.04862963780760765,
0.01726420409977436,
0.013206049799919128,
-0.03249932825565338,
-0.04538993537425995,
0.020768197253346443,
-0.0006399477715604007,
0.07659338414669037,
0.022183435037732124,
0.07270573824644089,
0.020376022905111313,
-0.10380688309669495,
-0.010955309495329857,
-0.010912681929767132,
0.010776272974908352,
0.06854528188705444,
0.04528762772679329,
-0.03106703981757164,
-0.022319843992590904,
-0.08825631439685822,
0.06871578842401505,
-0.004949071444571018,
-0.0018425807356834412,
-0.07372880727052689,
-0.027571571990847588,
0.06158844754099846,
0.08014000207185745,
0.0012905524345114827,
-0.00797989871352911,
-0.00831239391118288,
0.027793236076831818,
-0.018329894170165062,
-0.013427713885903358,
0.022149333730340004,
0.010452303104102612,
-0.006944046355783939,
-0.004671991802752018,
0.0019342302111908793,
0.022422149777412415,
-0.11171858012676239,
0.00788185466080904,
-0.036523379385471344,
0.04886835068464279,
-0.058007724583148956,
0.009812887758016586,
0.04914116859436035,
0.01822758838534355,
0.012165934778749943,
0.04972090572118759,
-0.014348471537232399,
-0.03234586864709854,
-0.04177510738372803,
-0.11301445960998535,
0.08198151737451553,
-0.022524457424879074,
-0.007630351465195417,
0.023547520861029625,
0.039046939462423325,
-0.07925335317850113,
-0.03659158572554588,
-0.019352959468960762,
0.07113704085350037,
-0.00921610090881586,
-0.040854353457689285,
-0.005729157943278551,
-0.007370322942733765,
-0.041024863719940186,
-0.024689942598342896,
-0.0021601568441838026,
0.0362846665084362,
0.03570492938160896,
0.011662928387522697,
0.021569596603512764,
0.013120794668793678,
0.05111909285187721,
0.004556897096335888,
0.022609712556004524,
0.01804002746939659,
-0.019318856298923492,
-0.019182447344064713,
0.011620300821959972,
0.02978821098804474,
0.0029498343355953693,
0.07754824310541153,
-0.04849322885274887,
-0.04832271859049797,
-0.012063628062605858,
-0.03256753459572792,
-0.013350984081625938,
0.006782060954719782,
-0.024059053510427475,
0.05074397101998329,
0.04232074320316315,
0.04279817268252373,
-0.005243202671408653,
0.004565422423183918,
0.0062705292366445065,
-0.01768195442855358,
-0.0004864881921093911,
0.037410035729408264,
-0.011432738974690437,
0.04675402119755745,
-0.02982231229543686,
0.041024863719940186,
-0.0023637039121240377,
0.014416675083339214,
-0.028645789250731468,
-0.07229651510715485,
0.06411200761795044,
-0.03156151995062828,
-0.03411918133497238,
0.0004723677702713758,
-0.026139281690120697,
0.01453603245317936,
0.01474064588546753,
0.05009602755308151,
-0.0023189447820186615,
-0.007493942975997925,
0.03234586864709854,
-0.04208202660083771,
-0.027179397642612457,
0.03370995447039604,
0.026616713032126427,
0.005430764053016901,
0.0643848180770874,
-0.010230639018118382,
-0.0031182134989649057,
-0.038398999720811844,
0.005238939542323351,
-0.07134165614843369,
0.012941758148372173,
-0.015559096820652485,
0.002212375635281205,
-0.010315894149243832,
0.06001975014805794,
0.0013449027901515365,
0.0027175135910511017,
-0.00436294125393033,
0.04719734936952591,
-0.07216010987758636,
0.04859553650021553,
-0.025815311819314957,
-0.01659068651497364,
-0.011688505299389362,
0.027435163035988808,
0.0027345644775778055,
0.0040027373470366,
0.037069015204906464,
-0.03064076416194439,
0.0014557347167283297,
0.005464866291731596,
0.038910530507564545,
0.023888541385531425,
0.020444227382540703,
-0.05064166337251663,
0.00010290584032190964,
0.0976002961397171,
0.08075384050607681,
0.053540345281362534,
-0.040956657379865646,
0.03098178468644619,
0.005750471726059914,
0.040001798421144485,
0.04409405216574669,
0.024007899686694145,
-0.03570492938160896,
-0.01491968147456646,
0.027571571990847588,
-0.012830926105380058,
-0.0143058430403471,
-0.01827874220907688,
0.010870054364204407,
0.009659428149461746,
0.011517994105815887,
0.05903078615665436,
0.021126270294189453,
-0.0160109493881464,
-0.011202549561858177,
0.010776272974908352,
-0.05674594268202782,
0.054768022149801254,
0.026275690644979477,
0.026838377118110657,
-0.04556044563651085,
-0.020699992775917053,
-0.025866465643048286,
-0.01829579286277294,
0.0335564948618412,
-0.055109042674303055,
0.0039878180250525475,
0.023206498473882675,
0.03053845651447773,
-0.03180023655295372,
0.03393162041902542,
-0.022183435037732124,
0.04699273407459259,
-0.039899490773677826,
-0.025627750903367996,
0.020290767773985863,
-0.06714709103107452,
-0.010597236454486847,
0.04965269938111305,
0.01618998683989048,
-0.03331778198480606,
-0.03515929728746414,
-0.024042000994086266,
0.05152831971645355,
-0.009488917887210846,
0.00023698316363152117,
0.022899581119418144,
-0.02902091294527054,
-0.056200310587882996,
0.018892580643296242,
0.01504756510257721,
0.014860003255307674,
-0.0030926368199288845,
-0.0171618964523077,
-0.03439199924468994,
0.038126181811094284,
-0.03512519225478172,
0.005942296236753464,
-0.007430001627653837,
-0.03761465102434158,
0.0012617787579074502,
0.006479404866695404,
-0.004036839585751295,
0.009616800583899021,
-0.01468096673488617,
-0.04429866746068001,
-0.0613156296312809,
-0.027520418167114258,
0.027725031599402428,
0.040888454765081406,
-0.012191511690616608,
0.039558470249176025,
-0.057257477194070816,
-0.01659068651497364,
-0.020410124212503433,
-0.011364534497261047,
0.042116131633520126,
0.026343895122408867,
0.02951539307832718,
0.0570528618991375,
0.028407074511051178,
0.04992551729083061,
0.012148884125053883,
0.010349996387958527,
0.003629745449870825,
-0.03410213068127632,
-0.04293458163738251,
-0.008052365854382515,
0.00005335118476068601,
-0.024741094559431076,
-0.015388586558401585,
-0.01822758838534355,
0.0034784171730279922,
-0.0029455714393407106,
0.06646504998207092,
0.06554429233074188,
-0.04702683538198471,
0.005912456661462784,
-0.01731535606086254,
-0.019421162083745003,
0.01600242406129837,
0.010938257910311222,
0.003908956423401833,
-0.05957642197608948,
0.03243112564086914,
0.004420488607138395,
-0.005605537444353104,
-0.04143408685922623,
0.0317661352455616,
-0.005192049313336611,
0.04665171355009079,
-0.005835726857185364,
0.055756982415914536,
-0.022081129252910614,
-0.025048013776540756,
-0.08382303267717361,
0.009881092235445976,
-0.0016869897954165936,
0.0047998749651014805,
0.07331957668066025,
-0.028014900162816048,
0.04845912754535675,
-0.010418200865387917,
0.03127165138721466,
0.0029455714393407106,
0.06772682815790176,
-0.006479404866695404,
0.0018670916324481368,
-0.03536390885710716,
0.009616800583899021,
0.007839227095246315,
0.0014482748229056597,
-0.05838284641504288,
-0.01768195442855358,
0.01593421958386898,
0.03297676146030426,
0.0357731357216835,
-0.026019925251603127,
0.01687202788889408,
0.007481154520064592,
0.018977835774421692,
0.05002782493829727,
-0.021927669644355774,
-0.03672799468040466,
0.0036318767815828323,
-0.04835681989789009,
-0.028867453336715698,
0.0024020688142627478,
0.007741183508187532,
-0.004527057521045208,
0.004058153368532658,
0.01564435288310051,
-0.026224538683891296,
-0.00853405799716711,
-0.004222270101308823,
-0.023564571514725685,
-0.0017487998120486736,
-0.004556897096335888,
-0.01694023236632347,
0.008892130106687546,
-0.04593556746840477,
0.020853452384471893,
0.007992686703801155,
0.020222563296556473,
0.040104106068611145,
0.00742147583514452,
-0.03273804485797882,
0.0025811048690229654,
-0.018568608909845352,
0.0613156296312809,
0.03550031781196594,
-0.08109486848115921,
0.05954231694340706,
-0.0015260702930390835,
0.04235484451055527,
-0.03200484812259674,
0.04886835068464279,
0.010034551844000816,
0.054870326071977615,
0.03659158572554588,
0.021501392126083374,
-0.000012979789971723221,
-0.0322776660323143,
-0.0618271604180336,
-0.010170959867537022,
-0.06237279623746872,
-0.013095217756927013,
0.06066768988966942,
0.0657489076256752,
0.022132283076643944,
-0.005810150410979986
]
|
43,868 | pdf2docx.converter | store | Store parsed pages in dict format. | def store(self):
'''Store parsed pages in dict format.'''
return {
'filename': os.path.basename(self.filename_pdf),
'page_cnt': len(self._pages), # count of all pages
'pages' : [page.store() for page in self._pages if page.finalized], # parsed pages only
}
| (self) | [
-0.008036966435611248,
0.02396801859140396,
-0.09294304996728897,
-0.011126733385026455,
0.03204070404171944,
0.06079518422484398,
-0.007974456064403057,
-0.005268677603453398,
-0.03243362158536911,
-0.014707648195326328,
0.06068802252411842,
-0.002797310706228018,
-0.017922434955835342,
0.04893619567155838,
-0.008510254323482513,
-0.037255801260471344,
0.016949068754911423,
0.005268677603453398,
-0.040006231516599655,
-0.0031857641879469156,
-0.04825751483440399,
-0.01605607196688652,
0.029147397726774216,
0.00296251499094069,
-0.023735839873552322,
-0.027147086337208748,
0.05915207043290138,
-0.04132786765694618,
0.04064919054508209,
0.008800477720797062,
0.002783915726467967,
-0.050507865846157074,
0.028433000668883324,
0.010939204134047031,
0.016270391643047333,
-0.009706868790090084,
-0.021271171048283577,
0.02428949810564518,
-0.04232802242040634,
0.044578373432159424,
-0.014716577716171741,
0.0174134261906147,
-0.0781550332903862,
-0.011626810766756535,
0.000188366393558681,
0.052901096642017365,
-0.01717231795191765,
-0.002061705105006695,
0.04761455953121185,
-0.031415607780218124,
-0.027986502274870872,
0.0031634392216801643,
0.009858678095042706,
-0.023182181641459465,
0.023450080305337906,
-0.003971600905060768,
0.017065158113837242,
0.053936973214149475,
0.004715020302683115,
0.02414661832153797,
-0.002933492651209235,
-0.03947043418884277,
0.025521831586956978,
-0.06943938881158829,
0.020413894206285477,
0.02396801859140396,
0.02320004254579544,
-0.010037277825176716,
-0.012403718195855618,
0.042399462312459946,
0.0060768392868340015,
-0.06418856978416443,
0.00954612996429205,
0.03918467462062836,
-0.0018016198882833123,
-0.014189709909260273,
-0.010599865578114986,
-0.0033063185401260853,
-0.0025405744090676308,
0.03689860552549362,
-0.0191279798746109,
-0.02859373949468136,
-0.030701210722327232,
-0.0027281034272164106,
0.01670796051621437,
0.06050942465662956,
0.09458616375923157,
-0.011617881245911121,
-0.018074244260787964,
0.060580864548683167,
0.003866673680022359,
0.06304553151130676,
0.033308759331703186,
0.009162141010165215,
0.005692850798368454,
-0.03972047194838524,
-0.04836467653512955,
0.025432532653212547,
-0.03936327248811722,
-0.0019054306903854012,
-0.03473755344748497,
0.03341592103242874,
-0.027164945378899574,
-0.029665334150195122,
-0.02482529543340206,
-0.030504751950502396,
0.043042417615652084,
-0.048864755779504776,
0.026450548321008682,
0.04725736007094383,
-0.0044448887929320335,
-0.03854171931743622,
-0.032630082219839096,
0.037434402853250504,
0.019395878538489342,
-0.0038979286327958107,
-0.06233113631606102,
-0.024843154475092888,
-0.03536264970898628,
-0.0322907455265522,
-0.011796480044722557,
0.004871294368058443,
-0.05197238177061081,
0.04672156274318695,
-0.05407985299825668,
-0.02473599649965763,
0.041042108088731766,
-0.015886403620243073,
0.0662245973944664,
0.01510949619114399,
0.026932766661047935,
0.0161453727632761,
0.008376304991543293,
-0.03807735815644264,
0.03016541339457035,
-0.046150047332048416,
0.0005464020650833845,
0.006639427039772272,
-0.07172545790672302,
0.041542183607816696,
-0.026521988213062286,
0.017806345596909523,
-0.0022804890759289265,
-0.008376304991543293,
0.023628680035471916,
0.019056539982557297,
0.016002492979168892,
0.04029199108481407,
-0.08787082880735397,
-0.034255336970090866,
0.03366595879197121,
-0.02080681174993515,
0.05611588433384895,
-0.006902860943228006,
-0.019252998754382133,
0.00003969647514168173,
-0.016654379665851593,
0.021235451102256775,
-0.0526510588824749,
-0.0034759878180921078,
0.04175650328397751,
-0.00431540422141552,
-0.015859613195061684,
0.007661907933652401,
-0.017243757843971252,
0.045935727655887604,
0.05761611834168434,
-0.0475788377225399,
-0.006036654580384493,
0.026289809495210648,
0.01673474907875061,
0.010483776219189167,
-0.10573075711727142,
0.022396346554160118,
-0.036344945430755615,
0.027164945378899574,
0.05440133064985275,
0.03505903109908104,
0.035166192799806595,
0.05965214967727661,
-0.008912102319300175,
-0.03627350553870201,
-0.04489985108375549,
0.040363430976867676,
0.01953875832259655,
-0.04672156274318695,
-0.0030227922834455967,
0.03686288371682167,
0.04472125321626663,
0.031237008050084114,
-0.025879031047225,
0.008367374539375305,
-0.03338019922375679,
-0.03889891505241394,
0.00537137221544981,
-0.022967863827943802,
-0.027111366391181946,
-0.010912413708865643,
-0.03800591826438904,
0.058366235345602036,
-0.07283277064561844,
-0.050507865846157074,
0.005152588244527578,
-0.05911635234951973,
-0.0407206267118454,
0.03800591826438904,
-0.057973314076662064,
0.010090857744216919,
-0.0518295019865036,
0.08244141191244125,
0.007782462053000927,
-0.010251596570014954,
-0.029236696660518646,
-0.008380769751966,
0.03137988597154617,
-0.043042417615652084,
0.022146306931972504,
0.032451484352350235,
0.02080681174993515,
-0.032451484352350235,
0.0018540833843871951,
0.028825918212532997,
0.015172005631029606,
-0.045078448951244354,
-0.014305799268186092,
-0.06179533898830414,
0.026664867997169495,
-0.062438298016786575,
-0.046471524983644485,
-0.004255127161741257,
0.007889621891081333,
-0.015279165469110012,
-0.02754000388085842,
0.0340052954852581,
0.056615959852933884,
-0.06325985491275787,
0.0002637129509821534,
0.021860547363758087,
0.016002492979168892,
0.03452323377132416,
0.06947510689496994,
0.009912258014082909,
-0.043578214943408966,
0.010367685928940773,
-0.05725891888141632,
0.029558176174759865,
0.06215253844857216,
0.013377083465456963,
-0.004272987134754658,
0.022807123139500618,
0.05197238177061081,
-0.03714864328503609,
-0.030004672706127167,
-0.0016453455900773406,
0.02027101442217827,
0.016190022230148315,
-0.05057930573821068,
0.038113079965114594,
0.009715799242258072,
-0.01714552752673626,
0.06779627501964569,
-0.05643736198544502,
-0.014011111110448837,
-0.01393074169754982,
0.023360781371593475,
0.0006820258568041027,
0.06179533898830414,
-0.019645916298031807,
-0.04890047386288643,
0.05708032101392746,
0.03170136734843254,
0.012251907959580421,
-0.023860858753323555,
-0.02171766757965088,
-0.008036966435611248,
0.00585805531591177,
0.014475468546152115,
0.019074399024248123,
-0.060580864548683167,
0.02473599649965763,
0.042720939964056015,
-0.03225502371788025,
0.015859613195061684,
-0.02370011992752552,
0.05250817909836769,
-0.009537199512124062,
-0.007840506732463837,
0.0764404758810997,
-0.00023552775382995605,
-0.06350988894701004,
-0.01377000194042921,
0.009421110153198242,
-0.06300981342792511,
-0.042042262852191925,
0.010644515044987202,
-0.019163699820637703,
-0.0815126970410347,
-0.07051098346710205,
-0.014341519214212894,
0.02948673628270626,
-0.03786304220557213,
0.014153989963233471,
0.07329712808132172,
0.029468875378370285,
-0.030879810452461243,
0.03204070404171944,
-0.01806531473994255,
0.003446965478360653,
0.05282965674996376,
-0.049150511622428894,
-0.0018418047111481428,
0.037112925201654434,
0.0212175901979208,
0.11730398237705231,
-0.06440288573503494,
-0.025575412437319756,
-0.02452167682349682,
0.011626810766756535,
-0.022878563031554222,
0.04925767332315445,
-0.032540783286094666,
0.03284440189599991,
-0.007014485541731119,
-0.040006231516599655,
0.10408764332532883,
0.012135818600654602,
-0.00009229953138856217,
0.009130886755883694,
0.03225502371788025,
0.02328934147953987,
-0.008260215632617474,
0.01702943816781044,
0.008282540366053581,
0.06733191758394241,
-0.023896578699350357,
0.023592960089445114,
-0.019395878538489342,
-0.035219769924879074,
-0.025539692491292953,
-0.04175650328397751,
-0.01968163624405861,
-0.04175650328397751,
-0.05111510306596756,
-0.023985879495739937,
-0.019163699820637703,
-0.042720939964056015,
-0.013171694241464138,
-0.03839883953332901,
-0.004639115650206804,
-0.08065541833639145,
-0.04214942082762718,
0.028736619278788567,
0.007358288858085871,
0.06840351223945618,
0.008818337693810463,
-0.057008881121873856,
0.011832199990749359,
-0.033040862530469894,
-0.053436893969774246,
-0.013957531191408634,
0.06350988894701004,
0.06050942465662956,
-0.07197549939155579,
-0.017609884962439537,
0.03273724392056465,
-0.0058982400223612785,
0.03947043418884277,
0.03384455665946007,
0.03479113429784775,
-0.06508156657218933,
0.039649032056331635,
-0.009555059485137463,
-0.025093194097280502,
0.0008963449508883059,
0.019967395812273026,
-0.005090078338980675,
0.005398162174969912,
0.04943627119064331,
-0.059044912457466125,
-0.03205856308341026,
-0.015002336353063583,
0.038113079965114594,
0.014636208303272724,
0.024164477363228798,
0.036577124148607254,
-0.028825918212532997,
0.041720785200595856,
0.013564612716436386,
0.028433000668883324,
0.03479113429784775,
-0.021699808537960052,
0.01670796051621437,
-0.07936950773000717,
0.014493328519165516,
0.034541092813014984,
-0.02094969153404236,
-0.0018507346976548433,
-0.001869710860773921,
-0.04379253461956978,
-0.012894866056740284,
0.09029977768659592,
-0.009121956303715706,
-0.020592493936419487,
0.01820819266140461,
-0.019735217094421387,
-0.07565464079380035,
0.056294482201337814,
-0.016270391643047333,
-0.0006658403435721993,
0.019788796082139015,
0.020967552438378334,
-0.029861794784665108,
0.00505435885861516,
-0.04029199108481407,
0.0212175901979208,
-0.004317636601626873,
0.05143658444285393,
-0.033451639115810394,
0.0003918021102435887,
0.020824672654271126,
0.014671928249299526,
0.053079694509506226,
-0.0011463839327916503,
0.04861471429467201,
0.037255801260471344,
-0.03541623055934906,
-0.03936327248811722,
-0.025218212977051735,
-0.013466383330523968,
0.04189938306808472,
0.05061502754688263,
-0.012680546380579472,
-0.04025626927614212,
-0.04364965483546257,
0.033219460397958755,
-0.0041881524957716465,
0.016806188970804214,
-0.034576814621686935,
-0.033040862530469894,
0.0551871657371521,
0.01768132485449314,
-0.009095166809856892,
0.024718135595321655,
0.060402266681194305,
0.0721898153424263,
-0.023039303719997406,
-0.040006231516599655,
-0.030093973502516747,
-0.025593271479010582,
-0.02759358286857605,
-0.01700264774262905,
-0.03595202788710594,
0.03918467462062836,
-0.059330668300390244,
0.05057930573821068,
0.011314262636005878,
0.020610352978110313,
-0.05504428967833519,
-0.029433155432343483,
0.0662245973944664,
0.021199731156229973,
0.030058253556489944,
0.018101032823324203,
0.026307668536901474,
-0.03511261194944382,
-0.046828724443912506,
-0.07033238559961319,
0.04522132873535156,
-0.033898137509822845,
-0.0025137844495475292,
-0.001538185984827578,
0.013439593836665154,
-0.06333129107952118,
-0.061581019312143326,
-0.06851067394018173,
0.014520118944346905,
0.016761539503932,
-0.041863664984703064,
-0.04386397451162338,
-0.059044912457466125,
0.005755360703915358,
0.014100410975515842,
0.014359379187226295,
0.0199495367705822,
-0.0012847983743995428,
0.01133212260901928,
0.0390775166451931,
0.021949848160147667,
0.004130107816308737,
0.037470120936632156,
-0.03016541339457035,
-0.0165561493486166,
-0.0009571803384460509,
0.0035652874503284693,
-0.009697939269244671,
0.03554125130176544,
0.053936973214149475,
0.081584133207798,
0.007719952613115311,
-0.05490140989422798,
0.01841358281672001,
-0.05672312155365944,
0.057973314076662064,
0.029861794784665108,
-0.00047803204506635666,
0.0129395155236125,
-0.010707024484872818,
0.015752453356981277,
-0.015752453356981277,
0.006317948456853628,
-0.0176545362919569,
-0.024593116715550423,
-0.01729733683168888,
0.01117138285189867,
-0.03175494447350502,
0.03152276575565338,
-0.04725736007094383,
0.008063755929470062,
-0.010206947103142738,
0.02461097575724125,
0.0029669799841940403,
-0.018520742654800415,
0.05143658444285393,
-0.07329712808132172,
-0.020092414692044258,
0.047150202095508575,
-0.028200821951031685,
-0.02700420655310154,
0.013260994106531143,
-0.044435493648052216,
0.020878251641988754,
-0.024843154475092888,
0.049543432891368866,
-0.001748040085658431,
-0.015413114801049232,
0.0016587404534220695,
0.05572296679019928,
-0.05965214967727661,
0.02328934147953987,
-0.0032750635873526335,
0.04214942082762718,
-0.0191279798746109,
-0.01700264774262905,
-0.04550708830356598,
0.0661531612277031,
0.006108094472438097,
0.026629148051142693,
-0.03807735815644264,
0.06729619950056076,
-0.018699340522289276,
-0.03614848852157593,
-0.06043798476457596,
0.01770811527967453,
-0.08537044376134872,
0.04754311963915825,
0.036934323608875275,
0.00040073206764645875,
-0.021824827417731285,
0.04604288563132286,
-0.011448211967945099,
0.013778932392597198,
-0.02252136543393135,
-0.06490296870470047,
0.0010364337358623743,
-0.0030986969359219074,
0.007590468041598797,
-0.015931053087115288,
0.025879031047225,
-0.05740179866552353,
-0.02478957548737526,
0.06333129107952118,
0.028825918212532997,
-0.015609574504196644,
-0.042399462312459946,
0.07215409725904465,
0.010117647238075733,
-0.022967863827943802,
0.027147086337208748,
0.030683349817991257,
-0.03129058703780174,
0.04804319888353348,
0.04047058895230293,
0.03432677686214447,
-0.00993011798709631,
-0.02446809783577919,
0.0078092520125210285,
-0.023950159549713135,
0.01474336814135313,
0.05197238177061081,
0.006246508564800024,
-0.036434248089790344,
-0.01968163624405861,
-0.00006837002729298547,
-0.039148956537246704,
0.034398216754198074,
0.009331810288131237,
0.01406469102948904,
-0.025986190885305405,
-0.09058553725481033,
-0.07572608441114426,
-0.008135195821523666,
0.06379564851522446,
-0.04025626927614212,
0.012403718195855618,
0.0159042626619339,
-0.024360937997698784,
0.0343446359038353,
0.04486412927508354,
-0.006242043804377317,
0.008563834242522717,
-0.037291523069143295,
-0.038791757076978683,
0.024771716445684433,
-0.010590935125946999,
-0.035166192799806595,
0.01859218254685402,
0.01755630597472191,
-0.045792847871780396,
-0.060045067220926285,
0.021378329023718834,
-0.028307979926466942,
-0.01282342616468668,
-0.022628525272011757,
0.05747323855757713,
-0.017904574051499367,
-0.0619739405810833,
0.038648877292871475,
0.016663309186697006,
0.03789876028895378,
0.0020337989553809166,
-0.010599865578114986,
0.007121644914150238,
0.06479580700397491,
-0.019306577742099762,
0.029379576444625854,
0.03689860552549362,
0.013019884936511517,
0.024628836661577225,
0.033808838576078415,
0.030093973502516747,
-0.005067753605544567,
-0.02771860361099243,
-0.03714864328503609,
-0.053615495562553406,
-0.027289964258670807,
0.009956908412277699,
0.04607860743999481,
0.0033398058731108904,
0.06643892079591751,
-0.02030673436820507,
0.005996469873934984,
-0.021199731156229973,
0.0002613409305922687,
-0.015413114801049232,
-0.0442211739718914,
0.04364965483546257,
0.05029354989528656,
0.024575255811214447,
-0.0009700171649456024,
-0.02378941886126995,
-0.032094284892082214,
-0.009130886755883694,
-0.03707720339298248,
-0.07072529941797256,
0.034451793879270554,
0.01773490570485592,
-0.031219149008393288,
0.07322569191455841,
-0.026664867997169495,
-0.016190022230148315,
0.013377083465456963,
0.05079362541437149,
0.06079518422484398,
-0.06029510498046875,
-0.0004183129349257797,
-0.018101032823324203,
0.003920253366231918,
0.004920409061014652,
0.041863664984703064,
0.019395878538489342,
-0.03559482842683792,
0.052401017397642136,
-0.013162764720618725,
0.04132786765694618,
-0.026111209765076637,
0.058009035885334015,
0.005496392026543617,
-0.01841358281672001,
0.004911479074507952,
0.008170915767550468,
0.011814340017735958,
-0.0199495367705822,
0.010278386995196342,
-0.026486268267035484,
-0.027147086337208748,
0.04690016061067581,
0.0492933914065361,
-0.060223665088415146,
0.033183738589286804,
-0.027164945378899574,
0.01986023597419262,
0.017190176993608475,
0.046614404767751694,
-0.03248720243573189,
-0.018985100090503693,
-0.06586740165948868,
-0.009867608547210693,
0.0390775166451931,
-0.056294482201337814,
-0.015609574504196644,
0.012725196778774261,
0.03479113429784775,
-0.005545506719499826,
0.018020663410425186,
-0.034130316227674484,
0.016591869294643402,
0.05025782808661461,
0.057973314076662064,
0.045935727655887604,
-0.027200665324926376,
0.023092882707715034,
0.013153834268450737,
0.01649364084005356,
0.030147552490234375,
-0.030540471896529198,
0.03248720243573189,
0.010974924080073833,
-0.04200654476881027,
0.025093194097280502,
-0.020181715488433838,
-0.01576138287782669,
0.022146306931972504,
-0.03273724392056465,
-0.007635117974132299,
-0.05775899812579155,
-0.04807891696691513,
0.040363430976867676,
-0.015279165469110012,
-0.024843154475092888,
0.006166139151901007,
0.04736452177166939,
0.047650277614593506,
0.015832822769880295,
0.008965682238340378,
-0.03598774969577789,
-0.05475853011012077,
0.05400841310620308,
0.012510877102613449,
-0.03043331205844879,
0.040684908628463745,
0.0022905352525413036,
0.05200809985399246,
-0.014118270948529243,
0.04725736007094383,
-0.045792847871780396,
0.03550552949309349,
0.027611443772912025,
0.00028185194241814315,
0.008916567079722881,
0.014779088087379932,
-0.0382559597492218,
-0.0594378300011158,
-0.05622304230928421,
0.019520897418260574,
0.04157790541648865,
0.024503815919160843,
0.046435803174972534,
0.00641171308234334
]
|
43,869 | pdf2docx.page.Page | Page | Object representing the whole page, e.g. margins, sections. | class Page(BasePage):
'''Object representing the whole page, e.g. margins, sections.'''
def __init__(self, id:int=-1,
skip_parsing:bool=True,
width:float=0.0,
height:float=0.0,
header:str=None,
footer:str=None,
margin:tuple=None,
sections:Sections=None,
float_images:BaseCollection=None):
'''Initialize page layout.
Args:
id (int, optional): Page index. Defaults to -1.
skip_parsing (bool, optional): Don't parse page if True. Defaults to True.
width (float, optional): Page width. Defaults to 0.0.
height (float, optional): Page height. Defaults to 0.0.
header (str, optional): Page header. Defaults to None.
footer (str, optional): Page footer. Defaults to None.
margin (tuple, optional): Page margin. Defaults to None.
sections (Sections, optional): Page contents. Defaults to None.
float_images (BaseCollection, optional): Float images in th is page. Defaults to None.
'''
# page index
self.id = id
self.skip_parsing = skip_parsing
# page size and margin
super().__init__(width=width, height=height, margin=margin)
# flow structure:
# Section -> Column -> Blocks -> TextBlock/TableBlock
# TableBlock -> Row -> Cell -> Blocks
self.sections = sections or Sections(parent=self)
# page header, footer
self.header = header or ''
self.footer = footer or ''
# floating images are separate node under page
self.float_images = float_images or BaseCollection()
self._finalized = False
@property
def finalized(self): return self._finalized
def store(self):
'''Store parsed layout in dict format.'''
res = {
'id' : self.id,
'width' : self.width,
'height' : self.height,
'margin' : self.margin,
'sections': self.sections.store(),
'header' : self.header,
'footer' : self.footer,
'floats' : self.float_images.store()
}
return res
def restore(self, data:dict):
'''Restore Layout from parsed results.'''
# page id
self.id = data.get('id', -1)
# page width/height
self.width = data.get('width', 0.0)
self.height = data.get('height', 0.0)
self.margin = data.get('margin', (0,) * 4)
# parsed layout
self.sections.restore(data.get('sections', []))
self.header = data.get('header', '')
self.footer = data.get('footer', '')
# float images
self._restore_float_images(data.get('floats', []))
# Suppose layout is finalized when restored; otherwise, set False explicitly
# out of this method.
self._finalized = True
return self
@debug_plot('Final Layout')
def parse(self, **settings):
'''Parse page layout.'''
self.sections.parse(**settings)
self._finalized = True
return self.sections # for debug plot
def extract_tables(self, **settings):
'''Extract content from tables (top layout only).
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
'''
# table blocks
collections = []
for section in self.sections:
for column in section:
if settings['extract_stream_table']:
collections.extend(column.blocks.table_blocks)
else:
collections.extend(column.blocks.lattice_table_blocks)
# check table
tables = [] # type: list[ list[list[str]] ]
for table_block in collections:
tables.append(table_block.text)
return tables
def make_docx(self, doc):
'''Set page size, margin, and create page.
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
Args:
doc (Document): ``python-docx`` document object
'''
# new page
if doc.paragraphs:
section = doc.add_section(WD_SECTION.NEW_PAGE)
else:
section = doc.sections[0] # a default section is there when opening docx
# page size
section.page_width = Pt(self.width)
section.page_height = Pt(self.height)
# page margin
left,right,top,bottom = self.margin
section.left_margin = Pt(left)
section.right_margin = Pt(right)
section.top_margin = Pt(top)
section.bottom_margin = Pt(bottom)
# create flow layout: sections
self.sections.make_docx(doc)
def _restore_float_images(self, raws:list):
'''Restore float images.'''
self.float_images.reset()
for raw in raws:
image = ImageBlock(raw)
image.set_float_image_block()
self.float_images.append(image)
| (id: int = -1, skip_parsing: bool = True, width: float = 0.0, height: float = 0.0, header: str = None, footer: str = None, margin: tuple = None, sections: pdf2docx.layout.Sections.Sections = None, float_images: pdf2docx.common.Collection.BaseCollection = None) | [
0.006347638089209795,
-0.04702670872211456,
-0.04958124831318855,
0.028467608615756035,
-0.017272155731916428,
0.005902529694139957,
-0.05000700429081917,
0.016101326793432236,
-0.11363820731639862,
0.019013885408639908,
0.024016521871089935,
0.01787208579480648,
0.00846190471202135,
0.029067538678646088,
-0.03591834381222725,
0.010663257911801338,
0.01749471016228199,
-0.01135995052754879,
0.0012482398888096213,
-0.03607316315174103,
-0.028467608615756035,
-0.021403927356004715,
0.046678364276885986,
0.033712152391672134,
0.013759667053818703,
-0.0490780808031559,
-0.008379656821489334,
-0.0047437953762710094,
0.029415884986519814,
-0.0037084335926920176,
-0.03160272166132927,
-0.01529819518327713,
-0.004255142994225025,
-0.004830881487578154,
0.012753333896398544,
-0.042420800775289536,
0.03228006139397621,
-0.002764996374025941,
0.0016062621725723147,
0.06575998663902283,
0.0029464266262948513,
-0.008181292563676834,
0.002781929913908243,
-0.04741376265883446,
-0.021578099578619003,
0.024906739592552185,
0.010992251336574554,
-0.009840774349868298,
-0.05434197559952736,
-0.02260378561913967,
0.01644967310130596,
-0.018220432102680206,
0.03508618474006653,
0.04365936666727066,
-0.002079190220683813,
0.06397955119609833,
-0.022468317300081253,
0.039672739803791046,
0.04269173741340637,
-0.007595878094434738,
-0.003880187403410673,
0.002929493086412549,
0.015307871624827385,
-0.006802423391491175,
0.01273398194462061,
0.010247178375720978,
-0.029957756400108337,
-0.021520042791962624,
-0.022042561322450638,
0.020610472187399864,
-0.028525667265057564,
0.0058251190930604935,
0.031815603375434875,
0.05143909156322479,
-0.0073442948050796986,
-0.022274792194366455,
-0.00978755485266447,
-0.022468317300081253,
0.02966746874153614,
-0.005839633755385876,
0.0054719350300729275,
0.03466042876243591,
0.03587963804602623,
-0.02171356789767742,
0.10419415682554245,
-0.00761039275676012,
0.09134406596422195,
0.05960587039589882,
0.04485922306776047,
0.018123667687177658,
-0.0029222359880805016,
0.028196673840284348,
0.006705660372972488,
-0.010595524683594704,
-0.0006779442192055285,
-0.0003943083283957094,
-0.012172757647931576,
-0.06231522932648659,
-0.07690705358982086,
-0.02012665756046772,
-0.013430673629045486,
-0.008268379606306553,
-0.03916957229375839,
-0.0061202459037303925,
0.0052397046238183975,
-0.02196515165269375,
0.00525905704125762,
-0.009918184950947762,
-0.009927861392498016,
0.00035378889879211783,
0.004460764117538929,
-0.0579802580177784,
-0.06022515520453453,
0.05414845049381256,
0.016556112095713615,
-0.03247359022498131,
-0.04091130197048187,
-0.0006864109891466796,
0.0028690164908766747,
-0.05093592777848244,
-0.020339535549283028,
-0.05418715626001358,
-0.06796617805957794,
0.00653632590547204,
-0.010401998646557331,
-0.0064734299667179585,
0.042614325881004333,
0.003510069800540805,
0.006933053024113178,
-0.028448257595300674,
-0.0017828542040660977,
-0.040562957525253296,
-0.03738913685083389,
0.0066911461763083935,
-0.03407984972000122,
-0.04621390253305435,
-0.018336545675992966,
-0.019604139029979706,
-0.08344822376966476,
0.029396532103419304,
-0.019042914733290672,
0.008558668196201324,
0.0009023129241541028,
0.04609778895974159,
-0.04021460935473442,
0.033808913081884384,
-0.015840066596865654,
-0.0006531487451866269,
-0.06506329029798508,
-0.015685247257351875,
-0.010701963678002357,
-0.04443346709012985,
0.017746293917298317,
-0.006197656039148569,
0.04087259620428085,
-0.014940173365175724,
-0.008234512060880661,
0.016972191631793976,
-0.0017465681303292513,
0.023261772468686104,
0.01644967310130596,
-0.007378161884844303,
0.037040792405605316,
-0.00857802014797926,
-0.046717070043087006,
0.018336545675992966,
0.04296267405152321,
-0.0684693455696106,
-0.011147072538733482,
0.0403694324195385,
0.01522078551352024,
-0.03421531990170479,
-0.0985432118177414,
0.0210749339312315,
-0.015230461023747921,
0.04102741926908493,
0.04482051730155945,
0.01053746696561575,
-0.03783424571156502,
0.025584079325199127,
0.006047673523426056,
-0.023106951266527176,
-0.014175747521221638,
0.02796444296836853,
-0.009506942704319954,
0.02618400752544403,
0.0218683872371912,
0.0016885105287656188,
0.06343767791986465,
-0.006575030740350485,
-0.03148660808801651,
0.0043736775405704975,
-0.021249106153845787,
-0.02984164096415043,
0.036247335374355316,
0.011950203217566013,
-0.009332769550383091,
-0.05267765745520592,
0.06014774367213249,
0.01010203454643488,
0.01305329892784357,
-0.048613619059324265,
0.05848342180252075,
-0.03417661413550377,
-0.016768990084528923,
0.017049601301550865,
-0.045014046132564545,
0.010372970253229141,
-0.05755450204014778,
0.06920474022626877,
-0.036382805556058884,
-0.02171356789767742,
-0.011069661937654018,
0.00839900877326727,
0.05848342180252075,
-0.06874027848243713,
-0.045904263854026794,
0.02366817556321621,
-0.048458799719810486,
-0.01488211564719677,
0.021171696484088898,
0.051129452884197235,
-0.039827559143304825,
-0.07493309676647186,
-0.0014538607792928815,
-0.017349565401673317,
0.02628077007830143,
-0.04903937503695488,
0.004567203111946583,
-0.002670652698725462,
-0.013749990612268448,
-0.050200529396533966,
-0.05999292433261871,
0.03138984367251396,
0.07988735288381577,
-0.05178743973374367,
-0.010431027971208096,
0.016062621027231216,
-0.014011249877512455,
-0.013749990612268448,
-0.014678913168609142,
-0.018568776547908783,
-0.014359596185386181,
-0.024674508720636368,
-0.031157614663243294,
0.022236086428165436,
0.0025811470113694668,
-0.02980293519794941,
-0.043272312730550766,
0.010692287236452103,
-0.006391181610524654,
-0.09475011378526688,
0.02279731072485447,
-0.014688589610159397,
0.05310341343283653,
-0.007813594304025173,
-0.039750147610902786,
0.013827401213347912,
0.027461277320981026,
0.0016183574916794896,
0.07137222588062286,
-0.09351155161857605,
0.01529819518327713,
0.045826852321624756,
0.059025295078754425,
-0.01313070859760046,
0.001501032616943121,
0.005418715532869101,
-0.03657633066177368,
0.01136962603777647,
0.04958124831318855,
0.052097078412771225,
0.023339182138442993,
0.023068245500326157,
0.02873854525387287,
-0.024132637307047844,
0.0022545726969838142,
0.007755536586046219,
-0.03564740717411041,
0.005776737816631794,
0.07079164683818817,
-0.04741376265883446,
-0.006139598321169615,
0.024790624156594276,
0.04745246842503548,
-0.05000700429081917,
-0.038588996976614,
0.02020406909286976,
-0.0015977954026311636,
-0.042304687201976776,
-0.031989775598049164,
0.056354641914367676,
0.004818786401301622,
-0.027538686990737915,
-0.005263895262032747,
0.016362585127353668,
-0.0694756731390953,
0.0031278568785637617,
-0.049503836780786514,
-0.020726587623357773,
0.01791078969836235,
-0.03067380003631115,
0.13802242279052734,
0.04346584156155586,
0.0059847780503332615,
0.016614168882369995,
-0.020823350176215172,
0.00932309404015541,
0.06777264922857285,
-0.05879306420683861,
0.029473941773176193,
0.031002793461084366,
0.03568611294031143,
0.07040459662675858,
-0.04005979001522064,
-0.019130000844597816,
0.009637572802603245,
-0.00017598729755263776,
0.025138970464468002,
0.06448271870613098,
-0.03322833776473999,
0.01011171005666256,
-0.002275134902447462,
0.01569492183625698,
0.10752280056476593,
-0.04842009395360947,
0.044201236218214035,
-0.044239941984415054,
-0.009424694813787937,
0.0524454265832901,
-0.0003891678061336279,
0.03673115000128746,
-0.0001903505326481536,
0.04040813818573952,
-0.04396900534629822,
-0.03377021104097366,
-0.03516359254717827,
-0.047607287764549255,
0.003350411308929324,
-0.1031104177236557,
0.0504714660346508,
0.004501888062804937,
0.0036189279053360224,
-0.03067380003631115,
0.05658687278628349,
-0.035357117652893066,
0.040679071098566055,
-0.07280431687831879,
-0.0013522597728297114,
0.024790624156594276,
0.0037011762615293264,
-0.012163081206381321,
0.004426897037774324,
0.04981347918510437,
-0.016952838748693466,
-0.017465680837631226,
-0.01703992486000061,
-0.0631280392408371,
-0.019720254465937614,
-0.00014196913980413228,
0.06754042208194733,
0.0488845556974411,
-0.06939826160669327,
0.03377021104097366,
0.017862409353256226,
-0.03512488678097725,
-0.029241710901260376,
0.02639688551425934,
0.016672227531671524,
0.01090516522526741,
0.026667822152376175,
-0.04783951863646507,
-0.018830036744475365,
-0.02800314873456955,
0.038821227848529816,
-0.021287811920046806,
-0.012656571343541145,
0.05352916941046715,
0.006134760100394487,
-0.031854305416345596,
0.015588483773171902,
0.05770932137966156,
0.01313070859760046,
0.03071250580251217,
0.001967913005501032,
-0.07334618270397186,
0.02004924789071083,
0.024016521871089935,
-0.006289580836892128,
-0.028390198945999146,
0.00126396375708282,
0.03572481870651245,
-0.0176108255982399,
0.009521457366645336,
0.00589769147336483,
-0.03694402799010277,
0.03607316315174103,
0.05767061561346054,
-0.014717618934810162,
-0.030344806611537933,
0.08197742700576782,
-0.06750171631574631,
-0.029938403517007828,
0.06537293642759323,
-0.005796090234071016,
-0.04605908319354057,
0.031022146344184875,
-0.008089368231594563,
0.03407984972000122,
0.039788853377103806,
0.04133705794811249,
-0.02616465464234352,
-0.04722023755311966,
0.0094005037099123,
0.017349565401673317,
0.0002813680039253086,
0.0210749339312315,
0.053916219621896744,
-0.02016536332666874,
-0.0036382805556058884,
0.02457774616777897,
0.12215333431959152,
0.06262487173080444,
0.0417628139257431,
-0.006608897820115089,
-0.06355379521846771,
-0.04002108424901962,
-0.004414801951497793,
-0.027441924437880516,
0.023242419585585594,
0.002195305423811078,
0.008524800650775433,
-0.03587963804602623,
-0.01800755225121975,
-0.00462042260915041,
-0.032686468213796616,
-0.03148660808801651,
-0.03498942032456398,
-0.01668190211057663,
0.01223081536591053,
0.08515124768018723,
-0.02784832753241062,
0.011447036638855934,
-0.010353617370128632,
0.020416947081685066,
-0.004564784001559019,
-0.05945105105638504,
0.007141093257814646,
-0.07566849142313004,
0.009840774349868298,
0.0022074009757488966,
0.05167132243514061,
0.03334445506334305,
-0.01963316835463047,
-0.04079518839716911,
-0.058251190930604935,
0.06188947334885597,
-0.03301545977592468,
0.00040096076554618776,
0.043311018496751785,
0.03407984972000122,
0.004797014873474836,
-0.006018644664436579,
0.01891712285578251,
0.01402092631906271,
-0.03845352679491043,
-0.0033044489100575447,
0.0376020148396492,
-0.04617519676685333,
-0.01565621793270111,
0.01003430038690567,
-0.04536239057779312,
-0.032783228904008865,
-0.03224135935306549,
0.029938403517007828,
-0.006671793758869171,
-0.024035874754190445,
-0.05310341343283653,
-0.019507376477122307,
-0.06049608811736107,
0.011853440664708614,
-0.03377021104097366,
-0.008205483667552471,
-0.015540102496743202,
-0.06045738235116005,
0.016768990084528923,
0.03400244191288948,
-0.0014006411656737328,
-0.002162648132070899,
-0.0340411439538002,
-0.045091453939676285,
0.010818078182637691,
-0.025855014100670815,
0.03210588917136192,
-0.013275853358209133,
0.015569130890071392,
0.002019922947511077,
0.022371554747223854,
0.007828108966350555,
-0.10558754205703735,
0.024693861603736877,
-0.0008527219761162996,
0.029570704326033592,
-0.006599221378564835,
0.055503129959106445,
0.0368085615336895,
0.029435237869620323,
0.020745940506458282,
0.003693919163197279,
-0.033557333052158356,
-0.025080911815166473,
-0.03926633670926094,
-0.02283601649105549,
0.028525667265057564,
-0.0368085615336895,
0.014049955643713474,
-0.019875073805451393,
0.004942158702760935,
0.054729025810956955,
0.003788262838497758,
0.03769877925515175,
0.000155274014105089,
0.002481965348124504,
-0.025603430345654488,
-0.01838492788374424,
0.084299735724926,
-0.026067892089486122,
-0.024906739592552185,
0.04257562384009361,
-0.021520042791962624,
-0.0014623275492340326,
-0.00998591911047697,
0.03144790232181549,
-0.00020667925127781928,
-0.004988121334463358,
0.027499981224536896,
-0.012482398189604282,
-0.05832860246300697,
0.02090075984597206,
-0.029473941773176193,
-0.0010486666578799486,
0.045052748173475266,
-0.016333557665348053,
0.011940526776015759,
0.06537293642759323,
0.006241199094802141,
0.044162530452013016,
0.03158337250351906,
0.03497006744146347,
0.01836557500064373,
0.00875703152269125,
0.007402352523058653,
0.056315936148166656,
-0.05352916941046715,
0.06339897215366364,
0.04083389416337013,
0.03071250580251217,
-0.015085317194461823,
0.06908862292766571,
-0.02283601649105549,
-0.009182787500321865,
-0.002641623839735985,
-0.03671179711818695,
-0.03930504247546196,
0.03171883895993233,
0.011505094356834888,
0.022487670183181763,
-0.020436298102140427,
-0.005113912746310234,
-0.007876490242779255,
0.03789230436086655,
0.03154466673731804,
0.035453882068395615,
-0.011030957102775574,
0.05178743973374367,
-0.007339456584304571,
-0.05604499951004982,
0.07090776413679123,
-0.013933840207755566,
-0.08863470703363419,
0.023377887904644012,
-0.01711733639240265,
0.0789584293961525,
-0.04520757123827934,
-0.004855072591453791,
-0.045865558087825775,
-0.014601503498852253,
0.022468317300081253,
0.04381418600678444,
0.015617512166500092,
-0.015540102496743202,
-0.02368752844631672,
-0.01046973280608654,
0.005597726907581091,
-0.012163081206381321,
0.029512647539377213,
0.0049977973103523254,
-0.016836723312735558,
-0.05964457616209984,
-0.02359076589345932,
-0.04872973635792732,
0.06463753432035446,
-0.03249293938279152,
0.023223066702485085,
0.011640562675893307,
0.005268733482807875,
0.06475365161895752,
0.02630012296140194,
0.015530426055192947,
-0.04528497904539108,
0.0271129310131073,
0.03309287130832672,
0.022429611533880234,
-0.04002108424901962,
-0.05054887384176254,
-0.053761400282382965,
-0.06010903790593147,
0.023397240787744522,
0.021171696484088898,
-0.022100618109107018,
-0.01360484678298235,
-0.00567029882222414,
-0.02989969775080681,
-0.013333911076188087,
-0.036286041140556335,
0.007707155309617519,
0.061734654009342194,
-0.046833183616399765,
0.03949856758117676,
0.029996462166309357,
0.05182614549994469,
-0.05306470766663551,
0.023261772468686104,
-0.042459506541490555,
0.025855014100670815,
0.03053833357989788,
0.0008206692873500288,
0.0162271186709404,
-0.003350411308929324,
0.02630012296140194,
0.05685780942440033,
-0.02002989500761032,
-0.023822996765375137,
-0.016827046871185303,
0.011611533351242542,
0.0010172186885029078,
0.017581796273589134,
-0.04574944078922272,
0.07644259184598923,
0.016817370429635048,
-0.06339897215366364,
0.06030256301164627,
0.013701609335839748,
-0.08004216849803925,
-0.03493136167526245,
0.03949856758117676,
0.010024623945355415,
-0.0334412157535553,
-0.043233610689640045,
0.012859772890806198,
-0.020610472187399864,
-0.02881595492362976,
-0.02436486817896366,
-0.014146718196570873,
0.0645214170217514,
0.011679267510771751,
0.03676985576748848,
0.06835322827100754,
-0.009366637095808983,
-0.009381151758134365,
-0.01749471016228199,
0.025042207911610603,
0.025080911815166473,
-0.027325809001922607,
0.008190969005227089,
0.005515478551387787,
-0.0016933486331254244,
-0.0352216511964798,
-0.008055501617491245,
0.014717618934810162,
0.0042914291843771935,
0.06192817911505699,
-0.06885639578104019,
0.014156394638121128,
-0.047645993530750275,
0.03605381026864052,
-0.037331078201532364,
-0.026087244972586632,
-0.026087244972586632,
-0.008476419374346733,
0.004068874754011631,
0.02434551529586315,
0.0506649911403656,
-0.017446329817175865,
-0.02006860077381134,
-0.02709357813000679,
0.03377021104097366,
-0.04296267405152321,
0.030035166069865227,
-0.02105558104813099,
0.01737859472632408,
-0.049542542546987534,
-0.029880346730351448,
0.04265303164720535,
-0.007194312755018473,
0.016159383580088615,
-0.016594815999269485,
0.041453175246715546,
-0.04567203298211098,
0.00868929736316204,
0.030809268355369568,
0.06386343389749527,
0.003851158544421196,
-0.00505101727321744,
-0.0013510503340512514,
0.04807174950838089,
-0.0002964872110169381,
0.041646700352430344,
-0.049310311675071716,
-0.0210749339312315,
0.00003105102587142028,
0.04122094437479973,
0.01529819518327713,
-0.030770564451813698,
-0.02893207035958767,
0.060767024755477905,
-0.0029028833378106356,
-0.06045738235116005,
0.00462042260915041,
-0.010866460390388966,
0.031854305416345596,
0.04633001983165741,
0.006231523118913174,
0.012114699929952621,
-0.04478181526064873,
-0.02093946561217308,
0.04396900534629822,
-0.003323801327496767,
-0.029164301231503487,
-0.015511073172092438,
0.012124376371502876,
-0.03940180316567421,
-0.06436660140752792,
0.008863470517098904,
-0.06719207018613815,
0.015211109071969986,
0.04125965014100075,
0.04125965014100075,
-0.02448098361492157,
0.06893379986286163,
0.016217442229390144,
0.03164142742753029,
-0.011892145499587059,
0.04342713579535484,
0.004654289688915014,
-0.005380010697990656,
0.07214632630348206,
-0.027828974649310112,
0.014311214908957481,
-0.055619243532419205,
-0.002506155986338854,
-0.04040813818573952,
-0.011882469058036804,
0.06475365161895752,
0.06703725457191467,
0.07830043882131577,
-0.00804582517594099,
0.06885639578104019
]
|
43,870 | pdf2docx.page.Page | __init__ | Initialize page layout.
Args:
id (int, optional): Page index. Defaults to -1.
skip_parsing (bool, optional): Don't parse page if True. Defaults to True.
width (float, optional): Page width. Defaults to 0.0.
height (float, optional): Page height. Defaults to 0.0.
header (str, optional): Page header. Defaults to None.
footer (str, optional): Page footer. Defaults to None.
margin (tuple, optional): Page margin. Defaults to None.
sections (Sections, optional): Page contents. Defaults to None.
float_images (BaseCollection, optional): Float images in th is page. Defaults to None.
| def __init__(self, id:int=-1,
skip_parsing:bool=True,
width:float=0.0,
height:float=0.0,
header:str=None,
footer:str=None,
margin:tuple=None,
sections:Sections=None,
float_images:BaseCollection=None):
'''Initialize page layout.
Args:
id (int, optional): Page index. Defaults to -1.
skip_parsing (bool, optional): Don't parse page if True. Defaults to True.
width (float, optional): Page width. Defaults to 0.0.
height (float, optional): Page height. Defaults to 0.0.
header (str, optional): Page header. Defaults to None.
footer (str, optional): Page footer. Defaults to None.
margin (tuple, optional): Page margin. Defaults to None.
sections (Sections, optional): Page contents. Defaults to None.
float_images (BaseCollection, optional): Float images in th is page. Defaults to None.
'''
# page index
self.id = id
self.skip_parsing = skip_parsing
# page size and margin
super().__init__(width=width, height=height, margin=margin)
# flow structure:
# Section -> Column -> Blocks -> TextBlock/TableBlock
# TableBlock -> Row -> Cell -> Blocks
self.sections = sections or Sections(parent=self)
# page header, footer
self.header = header or ''
self.footer = footer or ''
# floating images are separate node under page
self.float_images = float_images or BaseCollection()
self._finalized = False
| (self, id: int = -1, skip_parsing: bool = True, width: float = 0.0, height: float = 0.0, header: Optional[str] = None, footer: Optional[str] = None, margin: Optional[tuple] = None, sections: Optional[pdf2docx.layout.Sections.Sections] = None, float_images: Optional[pdf2docx.common.Collection.BaseCollection] = None) | [
-0.020239610224962234,
-0.02418401464819908,
-0.02816411480307579,
-0.00021529127843677998,
-0.04522678256034851,
0.030627135187387466,
-0.02612944506108761,
0.03633848950266838,
-0.12921938300132751,
0.026450708508491516,
0.041657187044620514,
0.06046896055340767,
-0.01009303331375122,
0.04229971393942833,
-0.020096827298402786,
0.006170939654111862,
0.032947372645139694,
0.005113446619361639,
-0.015215404331684113,
-0.046761710196733475,
-0.014599648304283619,
0.03730228170752525,
0.039693910628557205,
0.07289115339517593,
0.006278027314692736,
-0.035321153700351715,
-0.010333981364965439,
-0.01107467245310545,
0.020578721538186073,
-0.02398768626153469,
-0.010896192863583565,
0.0037503070197999477,
-0.03284028545022011,
0.041335925459861755,
0.003272873582318425,
-0.032251302152872086,
0.017767665907740593,
-0.018204940482974052,
-0.061825405806303024,
0.06346742063760757,
0.02541552484035492,
-0.0027062001172453165,
-0.012913014739751816,
-0.0584699846804142,
-0.029324233531951904,
0.01652722992002964,
0.02909220941364765,
-0.05268723890185356,
-0.06253932416439056,
-0.01945429854094982,
0.0002891930635087192,
0.028628161177039146,
0.04472704231739044,
0.007558620069175959,
-0.01389465294778347,
0.08459942787885666,
-0.03016308881342411,
-0.0003895879490301013,
0.041478708386421204,
0.015608059242367744,
-0.0460834875702858,
-0.012440042570233345,
0.011975995264947414,
0.00952189788222313,
0.00563103798776865,
0.021935168653726578,
-0.03596368059515953,
-0.031715862452983856,
-0.02182808145880699,
0.018142472952604294,
0.022577695548534393,
0.00757646793499589,
0.016304131597280502,
0.06753676384687424,
0.012020614929497242,
-0.012109855189919472,
-0.01872253231704235,
-0.007928965613245964,
0.037480760365724564,
0.014349776320159435,
0.001267206622287631,
0.025736788287758827,
-0.0009013230446726084,
-0.021506818011403084,
0.05661379545927048,
0.002367088571190834,
0.08124400675296783,
0.023862751200795174,
0.026789819821715355,
0.005349932238459587,
-0.023505790159106255,
0.004756486974656582,
-0.013323517516255379,
-0.00970930140465498,
0.0020257458090782166,
0.019293667748570442,
0.025915268808603287,
-0.020453786477446556,
-0.0865270122885704,
0.0034937423188239336,
-0.01315396185964346,
-0.04483412951231003,
-0.008794592693448067,
-0.03580304980278015,
-0.009379114024341106,
-0.039336949586868286,
-0.002728510182350874,
-0.014439016580581665,
-0.006028155796229839,
-0.005006358493119478,
0.022827567532658577,
-0.0668228417634964,
-0.05097383260726929,
0.036588359624147415,
0.006135243456810713,
-0.007558620069175959,
-0.0031167035922408104,
-0.029270688071846962,
-0.018740380182862282,
-0.06692992895841599,
-0.0078486492857337,
-0.05679227411746979,
-0.056720882654190063,
-0.0052026864141225815,
-0.007228432223200798,
-0.010860496200621128,
0.0026571182534098625,
-0.011360240168869495,
0.007286438252776861,
-0.011413783766329288,
0.028967272490262985,
-0.057827457785606384,
-0.02869955264031887,
-0.010833724401891232,
-0.03655266389250755,
-0.05689936503767967,
-0.0010357405990362167,
0.009834237396717072,
-0.06228945404291153,
0.052223194390535355,
-0.02018606662750244,
-0.012743458151817322,
-0.00998594518750906,
0.021132009103894234,
-0.02909220941364765,
0.02630792371928692,
-0.026754124090075493,
-0.013412757776677608,
-0.038444552570581436,
-0.004495460074394941,
-0.015920398756861687,
-0.03437521308660507,
0.04115744307637215,
0.020935682579874992,
0.024808693677186966,
-0.023470094427466393,
0.002815518993884325,
-0.0017212146194651723,
0.014858444221317768,
0.000013455704902298748,
0.06689423322677612,
0.003989023622125387,
0.03517837077379227,
0.004649398848414421,
-0.07017826288938522,
0.02052517794072628,
0.003884166944772005,
-0.06482386589050293,
0.0013843340566381812,
0.036981016397476196,
0.029859673231840134,
-0.03798050433397293,
-0.08659840375185013,
0.021845929324626923,
-0.01144947949796915,
-0.0000981638950179331,
0.05354394391179085,
0.010619549080729485,
-0.027111083269119263,
0.01090511679649353,
0.0004913772572763264,
0.01279700268059969,
0.008959686383605003,
0.033125851303339005,
0.00557749392464757,
0.004970662761479616,
0.026450708508491516,
0.02470160648226738,
0.067858025431633,
-0.010030565783381462,
-0.02432679757475853,
0.003408964490517974,
-0.02434464544057846,
-0.02054302580654621,
0.034446604549884796,
0.011529795825481415,
0.02327376790344715,
-0.05714923515915871,
0.04397742450237274,
0.03103763982653618,
0.06032617762684822,
-0.018454812467098236,
0.04719006270170212,
-0.018222788348793983,
0.004486536141484976,
0.034214578568935394,
-0.04904625192284584,
0.015117240138351917,
-0.05125940218567848,
0.0638243779540062,
-0.024915780872106552,
-0.023470094427466393,
-0.009691453538835049,
0.05083104968070984,
0.031537383794784546,
-0.029841823503375053,
-0.04540526494383812,
0.006286951247602701,
-0.0047207907773554325,
-0.013858957216143608,
0.047118671238422394,
0.04740423709154129,
-0.018668988719582558,
-0.07049952447414398,
0.014421168714761734,
-0.007969123311340809,
0.03398255631327629,
-0.06125427037477493,
-0.022006560117006302,
0.03196573257446289,
-0.026236532256007195,
-0.05704214796423912,
-0.04047922044992447,
0.04433438554406166,
0.050616875290870667,
-0.06553778797388077,
-0.023470094427466393,
-0.007250742521136999,
-0.05268723890185356,
-0.05108092352747917,
-0.0027418960817158222,
0.0015092699322849512,
-0.019704170525074005,
-0.0006380653358064592,
-0.010976508259773254,
0.011494100093841553,
-0.04797537252306938,
-0.00981638953089714,
-0.03473217040300369,
0.009923477657139301,
-0.019686322659254074,
-0.08252906799316406,
0.029645496979355812,
-0.023862751200795174,
0.037480760365724564,
0.0016821721801534295,
-0.031001942232251167,
0.003145706607028842,
-0.005474868230521679,
0.015545591711997986,
0.046583231538534164,
-0.1255783885717392,
-0.011101444251835346,
0.026397164911031723,
0.05636392533779144,
-0.02562970109283924,
-0.014251613058149815,
0.020007586106657982,
-0.021863777190446854,
0.013903576880693436,
0.03473217040300369,
0.018124625086784363,
0.04797537252306938,
0.038587335497140884,
0.042620979249477386,
-0.035892289131879807,
-0.005876447539776564,
0.003395578358322382,
-0.04055061191320419,
0.008379627019166946,
0.08274324238300323,
-0.04219262674450874,
-0.022774023935198784,
0.008879370987415314,
0.035124827176332474,
-0.04594070464372635,
-0.013037949800491333,
0.06753676384687424,
-0.036981016397476196,
-0.04793967679142952,
-0.03184079751372337,
0.061646927148103714,
-0.03665975481271744,
-0.03255471587181091,
0.007429222110658884,
0.009254178032279015,
-0.06161123141646385,
0.005309774540364742,
-0.062003884464502335,
-0.036766842007637024,
-0.0061218575574457645,
-0.05211610347032547,
0.10401803255081177,
0.017607033252716064,
-0.01925797201693058,
0.024915780872106552,
-0.0460834875702858,
0.035321153700351715,
0.06253932416439056,
-0.04979586601257324,
0.05318698287010193,
0.06810789555311203,
0.028449682518839836,
0.0640028566122055,
-0.051330793648958206,
0.004979586694389582,
-0.007652321830391884,
-0.024059077724814415,
0.02070365846157074,
0.045833613723516464,
-0.031537383794784546,
-0.005929991602897644,
0.004836802836507559,
-0.021667448803782463,
0.10002008825540543,
-0.017660576850175858,
0.05118801072239876,
-0.07610379159450531,
-0.017624881118535995,
0.0769604966044426,
0.04044352471828461,
0.0584699846804142,
0.02230997569859028,
0.014920911751687527,
-0.059290993958711624,
-0.04144301265478134,
-0.044941216707229614,
-0.01732146553695202,
-0.011931375600397587,
-0.09116748720407486,
0.06650158017873764,
-0.01963277906179428,
0.012859470210969448,
-0.022256432101130486,
0.03665975481271744,
-0.049510300159454346,
0.021863777190446854,
-0.09209558367729187,
-0.015857931226491928,
0.02794993855059147,
0.016241662204265594,
-0.02741449885070324,
0.004225509706884623,
0.04194275662302971,
-0.013314593583345413,
0.0080940593034029,
-0.002645963104441762,
-0.044048815965652466,
-0.01836557313799858,
0.0016130112344399095,
0.06510943174362183,
0.0356602668762207,
-0.05614974722266197,
0.028074873611330986,
0.033340029418468475,
-0.03541039302945137,
-0.022774023935198784,
0.03905138373374939,
0.009834237396717072,
0.022060103714466095,
0.022060103714466095,
-0.049831561744213104,
-0.013412757776677608,
-0.031680166721343994,
0.045512352138757706,
-0.042442500591278076,
-0.023166678845882416,
0.03494634851813316,
-0.005818441975861788,
-0.049831561744213104,
-0.030198784545063972,
0.03235838934779167,
0.03159092739224434,
0.005590880289673805,
-0.03837316110730171,
-0.06603752821683884,
0.009209558367729187,
0.03126966208219528,
0.007862036116421223,
-0.02127479389309883,
0.0034915113355964422,
0.030484352260828018,
-0.0384802483022213,
-0.0005206590867601335,
-0.0010725520551204681,
-0.05597126856446266,
0.07974477857351303,
0.04215693101286888,
-0.0048055690713226795,
-0.04576222226023674,
0.10251880437135696,
-0.08152958005666733,
0.0011383665259927511,
0.07346229255199432,
0.0009537514997646213,
-0.06046896055340767,
0.041871365159749985,
-0.03176940605044365,
0.037516456097364426,
0.009031078778207302,
0.05611405149102211,
-0.020293153822422028,
-0.054043687880039215,
-0.0010402026819065213,
0.018383421003818512,
0.0024429424665868282,
0.046369053423404694,
0.03408964350819588,
-0.059505168348550797,
-0.012993330135941505,
0.037873417139053345,
0.0954510048031807,
0.03200142830610275,
0.02598666027188301,
0.01906164363026619,
-0.046369053423404694,
-0.0014211455127224326,
-0.022577695548534393,
-0.015741920098662376,
-0.0036989941727370024,
-0.022916806861758232,
0.04904625192284584,
-0.03378622978925705,
0.01189567893743515,
0.01662539504468441,
-0.015144011937081814,
-0.04212123528122902,
-0.039872389286756516,
-0.004029181785881519,
0.03432166576385498,
0.08617005497217178,
-0.05864846706390381,
-0.0020424784161150455,
0.01415344886481762,
0.007527385838329792,
-0.01409098133444786,
-0.043477680534124374,
0.012841622345149517,
-0.06889320909976959,
-0.009379114024341106,
0.021578209474682808,
0.032572563737630844,
0.03499989211559296,
-0.05814872309565544,
-0.016063183546066284,
-0.0763893574476242,
0.020667962729930878,
-0.00818329956382513,
0.018213864415884018,
0.053115591406822205,
0.020596569404006004,
0.010280436836183071,
0.009557593613862991,
-0.005309774540364742,
0.0017022511456161737,
-0.016857417300343513,
-0.020061131566762924,
0.03965821489691734,
-0.02395199052989483,
-0.02139972895383835,
-0.003234946634620428,
-0.019936194643378258,
-0.024237558245658875,
-0.010101957246661186,
0.04319211468100548,
-0.006014769431203604,
-0.038623031228780746,
-0.06871473044157028,
-0.011503024026751518,
-0.03612431511282921,
0.02032884955406189,
-0.02418401464819908,
0.029716888442635536,
-0.004676171112805605,
-0.05757758766412735,
0.008580416440963745,
0.026040203869342804,
0.008410860784351826,
0.005586417857557535,
-0.023380855098366737,
-0.036981016397476196,
0.02812841907143593,
-0.03428597003221512,
0.03485710546374321,
0.008526872843503952,
0.009450506418943405,
0.016580773517489433,
0.02561185322701931,
0.0029025280382484198,
-0.08902572840452194,
0.01907949149608612,
-0.0023425475228577852,
0.054043687880039215,
-0.024023381993174553,
0.043870337307453156,
0.0275929793715477,
0.005965687800198793,
0.019329363480210304,
0.00904446467757225,
-0.01981125958263874,
0.008950762450695038,
-0.032090671360492706,
-0.04790398105978966,
0.04019365459680557,
-0.01615242287516594,
0.038587335497140884,
-0.046369053423404694,
0.007277514319866896,
0.060718830674886703,
0.02198871225118637,
0.07196305692195892,
-0.006318185478448868,
0.020614417269825935,
-0.04215693101286888,
-0.018936708569526672,
0.07067800313234329,
-0.012547130696475506,
-0.027164626866579056,
0.04030074179172516,
-0.002596881240606308,
-0.026950450614094734,
-0.012011690996587276,
0.0028311361093074083,
0.010976508259773254,
-0.031144727021455765,
0.033679138869047165,
-0.022631239145994186,
-0.013127190060913563,
0.01553666777908802,
-0.029913216829299927,
0.007643397897481918,
0.04958169162273407,
0.022006560117006302,
-0.003915400709956884,
0.04501260817050934,
0.007946813479065895,
-0.007277514319866896,
0.07146331667900085,
0.04576222226023674,
0.02106061764061451,
0.005229458678513765,
-0.013680477626621723,
0.020614417269825935,
-0.07531847804784775,
0.05354394391179085,
0.02016821876168251,
-0.004238895606249571,
-0.026647035032510757,
0.057684674859046936,
0.009062312543392181,
-0.0027262791991233826,
0.000826026895083487,
-0.014376549050211906,
-0.051330793648958206,
0.011511947959661484,
0.003971175756305456,
0.03435736522078514,
-0.05882694572210312,
-0.006835776846855879,
-0.014287308789789677,
0.023666422814130783,
0.012216943316161633,
-0.011056824587285519,
0.02127479389309883,
0.011583339422941208,
0.002927068853750825,
-0.043120723217725754,
0.09345202893018723,
-0.010744485072791576,
-0.06985700130462646,
0.02031100168824196,
-0.0065011270344257355,
0.08152958005666733,
-0.03378622978925705,
-0.02543337270617485,
-0.039872389286756516,
-0.042942240834236145,
0.007830801419913769,
0.0574348047375679,
0.008254691027104855,
0.013136113993823528,
-0.03972960636019707,
-0.025718940421938896,
-0.000480779999634251,
-0.009744998067617416,
0.044013120234012604,
-0.00988778192549944,
-0.038444552570581436,
-0.05664949119091034,
-0.04044352471828461,
-0.03762354329228401,
0.09209558367729187,
-0.03248332440853119,
0.06207527965307236,
0.022060103714466095,
0.022024407982826233,
0.03244762867689133,
0.03783772140741348,
-0.016536153852939606,
-0.05122370645403862,
0.04597640037536621,
0.012636370956897736,
0.024094775319099426,
-0.034607235342264175,
-0.05664949119091034,
-0.036981016397476196,
-0.03708810359239578,
0.017410704866051674,
0.03762354329228401,
-0.0435490719974041,
-0.038979992270469666,
-0.017865829169750214,
-0.04461995139718056,
0.011190684512257576,
-0.031537383794784546,
-0.014064209535717964,
0.057113539427518845,
-0.028592465445399284,
0.04736854135990143,
0.04090757295489311,
0.06589474529027939,
-0.022577695548534393,
0.008959686383605003,
-0.04012226313352585,
0.015724072232842445,
0.027360955253243446,
0.0008951877825893462,
0.02159605734050274,
0.019936194643378258,
0.04961738735437393,
0.03166231885552406,
-0.00823238119482994,
-0.04397742450237274,
0.0031925577204674482,
0.030769919976592064,
-0.0008143141167238355,
0.0051045226864516735,
-0.03018093667924404,
0.06821498274803162,
0.003589675296097994,
-0.05757758766412735,
0.0486178994178772,
0.015099392272531986,
-0.06999978423118591,
-0.03564241901040077,
0.023666422814130783,
-0.0043861414305865765,
0.010066261515021324,
-0.05047408863902092,
0.00807621143758297,
-0.0023648575879633427,
-0.03501773998141289,
-0.01090511679649353,
-0.0034982042852789164,
0.03826607018709183,
0.019739866256713867,
0.03580304980278015,
0.024041229858994484,
-0.0323762372136116,
-0.01654507778584957,
-0.030805615708231926,
0.05393659695982933,
0.024398190900683403,
-0.023541487753391266,
0.00970930140465498,
0.00415188679471612,
-0.02436249330639839,
-0.0731053277850151,
0.0025121034123003483,
0.03155523166060448,
0.007549696136265993,
0.00802712980657816,
-0.05789884924888611,
-0.003707918105646968,
-0.05486469343304634,
0.029002970084547997,
-0.035535331815481186,
-0.027021843940019608,
-0.01686634123325348,
-0.014287308789789677,
0.005153604317456484,
0.019650626927614212,
0.023862751200795174,
0.021024921908974648,
-0.006849162746220827,
-0.014876292087137699,
0.00009321387187810615,
-0.06321755051612854,
0.04740423709154129,
-0.00003743892739294097,
0.012181246653199196,
-0.03812328726053238,
-0.022470608353614807,
0.04854650795459747,
-0.0112620759755373,
-0.012315106578171253,
0.027289563789963722,
0.048046763986349106,
-0.0064208111725747585,
-0.008923990651965141,
0.03198358044028282,
0.06707271188497543,
0.011270999908447266,
0.002454097382724285,
0.0043526762165129185,
0.05572139844298363,
0.01650938205420971,
0.03635633736848831,
-0.054043687880039215,
-0.010976508259773254,
0.02382705546915531,
0.013742945156991482,
-0.003603061195462942,
-0.023380855098366737,
-0.024273253977298737,
0.05290141701698303,
-0.01389465294778347,
-0.038623031228780746,
0.046618927270174026,
0.004064877517521381,
0.0377306304872036,
0.03628494590520859,
-0.01007518544793129,
-0.017758741974830627,
-0.03244762867689133,
-0.019864803180098534,
0.04697588458657265,
-0.010467841289937496,
-0.0018349955789744854,
-0.0156972985714674,
0.005296388175338507,
-0.0064386590383946896,
-0.03166231885552406,
0.009495126083493233,
-0.0696428194642067,
0.02761082723736763,
0.04576222226023674,
0.042442500591278076,
-0.004205430392175913,
0.08552752435207367,
-0.007594315800815821,
0.03321509435772896,
-0.005671196151524782,
0.04140731692314148,
-0.002200879156589508,
-0.026647035032510757,
0.05486469343304634,
-0.01924012415111065,
0.004399527329951525,
-0.036945320665836334,
-0.022791871801018715,
-0.03790911287069321,
0.0015025768661871552,
0.022613391280174255,
0.06632309406995773,
0.07417620718479156,
0.03544608876109123,
0.07503291219472885
]
|
43,871 | pdf2docx.page.Page | _restore_float_images | Restore float images. | def _restore_float_images(self, raws:list):
'''Restore float images.'''
self.float_images.reset()
for raw in raws:
image = ImageBlock(raw)
image.set_float_image_block()
self.float_images.append(image)
| (self, raws: list) | [
0.003458986757323146,
-0.06507416814565659,
-0.00809357687830925,
0.047096479684114456,
-0.07093409448862076,
0.014116283506155014,
-0.04347923770546913,
0.01491207629442215,
0.010291051119565964,
0.03519575670361519,
-0.01064373180270195,
-0.01105971448123455,
-0.027581462636590004,
0.035032980144023895,
0.00809357687830925,
0.03917472064495087,
-0.012949722819030285,
0.04358775541186333,
0.004413034301251173,
-0.056103408336639404,
-0.022915221750736237,
0.041996169835329056,
0.0009862633887678385,
0.024814274162054062,
0.048326339572668076,
-0.019026687368750572,
0.0486157201230526,
-0.00439494801685214,
-0.0031899544410407543,
-0.005878016818314791,
-0.00439494801685214,
0.0012162972707301378,
0.025790927931666374,
0.028883669525384903,
0.0023308596573770046,
-0.038812994956970215,
0.024289773777127266,
0.045432548969984055,
-0.0341467559337616,
0.03993434086441994,
0.04662623628973961,
-0.047349683940410614,
0.020093774423003197,
0.0020855655893683434,
-0.005629331339150667,
0.06764240562915802,
0.053498994559049606,
-0.10916833579540253,
0.05856313183903694,
-0.025736670941114426,
0.03429144620895386,
-0.010327223688364029,
0.020346980541944504,
0.07617909461259842,
0.00570167601108551,
0.06597847491502762,
-0.009866025298833847,
0.018791567534208298,
-0.019786309450864792,
-0.015092938207089901,
0.010309137403964996,
-0.03953644633293152,
-0.015924904495477676,
-0.031940240412950516,
0.027925100177526474,
-0.001613063388504088,
-0.05299258232116699,
0.041779134422540665,
-0.025953704491257668,
0.007501253858208656,
-0.06246975436806679,
0.034201014786958694,
0.016322800889611244,
0.009459085762500763,
-0.04452823847532272,
0.0035788079258054495,
-0.00676876213401556,
0.039102375507354736,
-0.04044075682759285,
-0.00759620638564229,
-0.029263479635119438,
0.05292023718357086,
0.012560869567096233,
0.047639064490795135,
0.0020606969483196735,
-0.04792844504117966,
0.0013779427390545607,
0.04879658296704292,
-0.008654248900711536,
0.0027626678347587585,
-0.002726495498791337,
0.027328256517648697,
-0.023313118144869804,
0.015807343646883965,
0.030077358707785606,
0.015183369629085064,
-0.011529956012964249,
-0.052124444395303726,
0.0074424734339118,
-0.04883275553584099,
-0.007519339676946402,
-0.04098334163427353,
-0.010942154563963413,
-0.024958962574601173,
0.004238954279571772,
0.007985060103237629,
0.022227946668863297,
-0.027997445315122604,
0.01843888685107231,
0.003468029899522662,
0.0042638229206204414,
-0.00878989603370428,
-0.05382454767823219,
0.032338134944438934,
-0.007347520906478167,
-0.07267037034034729,
0.014640782959759235,
0.054728858172893524,
0.0656890943646431,
0.004315820522606373,
-0.020853394642472267,
-0.030077358707785606,
-0.051003098487854004,
0.028069790452718735,
0.008857718668878078,
-0.003976704552769661,
0.0782770961523056,
0.038342755287885666,
-0.009169706143438816,
-0.03369459882378578,
-0.00652912026271224,
-0.03114444576203823,
-0.09860599040985107,
0.026478204876184464,
-0.03483403101563454,
-0.04651771858334541,
-0.030023101717233658,
0.0008935715886764228,
0.015789257362484932,
-0.015029636211693287,
-0.026550550013780594,
0.04478144273161888,
0.02192048169672489,
0.07856647670269012,
-0.028630463406443596,
0.050279650837183,
0.051509514451026917,
0.05888868495821953,
-0.060805823653936386,
-0.050930753350257874,
-0.0005425861454568803,
0.07509392499923706,
-0.0028350127395242453,
0.015581266023218632,
0.021793877705931664,
-0.043081339448690414,
0.0010139578953385353,
0.014649826101958752,
-0.02687610127031803,
0.05823758244514465,
-0.014423748478293419,
0.025646239519119263,
-0.004415295086801052,
-0.07386406511068344,
-0.043370719999074936,
-0.01305824052542448,
-0.036335185170173645,
-0.037438444793224335,
-0.042394064366817474,
0.05158185586333275,
0.0017871431773528457,
-0.07885585725307465,
-0.03383928909897804,
-0.02452489361166954,
0.026894187554717064,
0.05353516712784767,
-0.025917531922459602,
-0.050243478268384933,
-0.036968205124139786,
0.03754696249961853,
-0.0041666096076369286,
-0.03127104789018631,
0.0031017842702567577,
-0.03892151266336441,
0.0072344820946455,
0.0391385480761528,
0.016440359875559807,
-0.02121511846780777,
0.01587064564228058,
-0.03555747866630554,
0.07154902815818787,
0.054656513035297394,
-0.040404584258794785,
-0.04872423782944679,
0.06239740923047066,
-0.016539834439754486,
0.009667077101767063,
-0.04890510067343712,
0.05458416789770126,
-0.023041825741529465,
-0.05925040692090988,
-0.035231929272413254,
0.06022706255316734,
-0.064748615026474,
-0.001754361903294921,
-0.002443898469209671,
-0.03928323835134506,
-0.007352042477577925,
-0.036678824573755264,
0.025248343124985695,
-0.0208714809268713,
0.017398929223418236,
0.004159827250987291,
0.01630471460521221,
0.035937290638685226,
-0.01783299818634987,
-0.03691394627094269,
0.0268037561327219,
0.008699464611709118,
0.01935224048793316,
-0.04738585650920868,
-0.007591684814542532,
-0.0801580622792244,
-0.0391385480761528,
-0.0038862733636051416,
0.051003098487854004,
-0.020654447376728058,
0.011448567733168602,
-0.004725021310150623,
0.01640418916940689,
-0.03318818658590317,
-0.008129749447107315,
-0.06250592321157455,
-0.008500516414642334,
0.06832968443632126,
0.003981226123869419,
0.041923824697732925,
0.0011925591388717294,
0.013248145580291748,
0.011629429645836353,
-0.04054927080869675,
-0.02933582477271557,
-0.016856342554092407,
-0.044672928750514984,
0.030710376799106598,
0.017615964636206627,
-0.009413870051503181,
0.0000863333698362112,
-0.055777858942747116,
0.03590111806988716,
0.039789650589227676,
-0.006149309687316418,
0.03946410119533539,
0.020093774423003197,
0.05364368483424187,
-0.0740087553858757,
-0.018031947314739227,
-0.028829410672187805,
0.01753457635641098,
-0.0024099869187921286,
0.024434464052319527,
-0.05516292527318001,
0.029444342479109764,
-0.019587360322475433,
-0.020075688138604164,
0.04829016700387001,
0.0015893252566456795,
0.037655480206012726,
-0.02825065329670906,
0.009938369505107403,
0.13904674351215363,
0.007899150252342224,
-0.03327861800789833,
0.03197640925645828,
0.04792844504117966,
0.026912273839116096,
0.013013024814426899,
-0.004275126848369837,
-0.02060018852353096,
-0.00964899081736803,
0.06489330530166626,
-0.0155631797388196,
0.0014220279408618808,
0.036534134298563004,
0.0689084455370903,
0.0008178356220014393,
-0.015852559357881546,
0.017154766246676445,
-0.007537425961345434,
-0.04076630622148514,
0.029878411442041397,
0.10070399194955826,
0.03573834151029587,
-0.028937928378582,
-0.031578514724969864,
-0.05375220254063606,
-0.08189433813095093,
0.007094313856214285,
-0.0015768910525366664,
0.025230256840586662,
-0.03161468729376793,
-0.055633168667554855,
0.05885251238942146,
0.057622648775577545,
0.04792844504117966,
-0.03364034369587898,
-0.024778101593255997,
0.024199342355132103,
-0.018402714282274246,
-0.042321719229221344,
0.054041583091020584,
0.07288740575313568,
-0.005244999658316374,
-0.00981176644563675,
0.03499680757522583,
-0.014034895226359367,
0.03512341156601906,
0.020509757101535797,
0.017715437337756157,
0.041923824697732925,
-0.0008726593805477023,
-0.014966335147619247,
-0.04427503049373627,
0.09332481771707535,
0.012425223365426064,
0.01680208556354046,
-0.03989816829562187,
0.0052359565161168575,
-0.02700270526111126,
0.05765882134437561,
0.011014498770236969,
-0.0314880833029747,
0.0017498403321951628,
0.03499680757522583,
-0.0014796776231378317,
-0.015879688784480095,
-0.0046707624569535255,
0.0012547305086627603,
0.0003662456583697349,
-0.045577239245176315,
-0.022824790328741074,
0.032410480082035065,
0.017100507393479347,
-0.0003755713696591556,
-0.011873593553900719,
0.054945893585681915,
0.08927351236343384,
-0.044057995080947876,
0.037366099655628204,
0.01454130932688713,
-0.03485211730003357,
-0.03387546166777611,
0.017426058650016785,
0.054728858172893524,
0.04539637640118599,
0.022408807650208473,
-0.04362392798066139,
0.02687610127031803,
0.024072740226984024,
-0.04051309823989868,
0.03367651253938675,
0.006090529728680849,
0.004413034301251173,
-0.0008850937010720372,
0.0230056531727314,
0.006208090111613274,
-0.023403549566864967,
-0.006443210877478123,
-0.01753457635641098,
0.006786848418414593,
-0.03906620293855667,
-0.028485773131251335,
-0.021594928577542305,
-0.03085506707429886,
-0.020220378413796425,
-0.0519435815513134,
-0.04167061671614647,
0.0314338244497776,
0.042068514972925186,
0.03931941092014313,
-0.004634590353816748,
-0.007654986344277859,
-0.013139627873897552,
0.009793680161237717,
0.07187458127737045,
0.030529513955116272,
-0.006895365659147501,
0.019460756331682205,
0.005425861570984125,
-0.027708066627383232,
-0.029860325157642365,
-0.024579152464866638,
0.011421438306570053,
-0.0250855665653944,
0.023475894704461098,
-0.01623236946761608,
-0.007795154582709074,
0.056248098611831665,
-0.010146360844373703,
-0.03780017048120499,
-0.019659705460071564,
-0.003972182981669903,
-0.03617241233587265,
0.0264420323073864,
-0.00632112892344594,
0.011873593553900719,
-0.046662408858537674,
0.019026687368750572,
0.009540473110973835,
-0.06011854484677315,
0.039789650589227676,
0.01030009426176548,
-0.006049835588783026,
-0.035032980144023895,
0.040476929396390915,
0.045975133776664734,
-0.0009082666365429759,
-0.008292525075376034,
-0.004878753796219826,
0.022499239072203636,
-0.001416375976987183,
0.08862240612506866,
-0.029173050075769424,
0.022680101916193962,
-0.04644537717103958,
-0.022752447053790092,
0.0012140364851802588,
0.038053374737501144,
-0.0654720664024353,
0.04402182251214981,
-0.04745820164680481,
-0.01674782671034336,
-0.00007474689482478425,
-0.03519575670361519,
0.019804395735263824,
-0.03535853326320648,
0.020419325679540634,
-0.03139765188097954,
-0.06482096016407013,
0.009332481771707535,
0.03485211730003357,
-0.0034725514706224203,
-0.003033960936591029,
-0.050605203956365585,
-0.002923182910308242,
-0.021377895027399063,
-0.03950027376413345,
0.056537479162216187,
-0.043298374861478806,
0.0058101932518184185,
-0.07060854882001877,
0.009404826909303665,
-0.014866860583424568,
0.00361724104732275,
0.0674615427851677,
-0.027979359030723572,
0.00780419772490859,
-0.01964161917567253,
0.010471913032233715,
-0.028395341709256172,
0.01846601627767086,
0.018339412286877632,
-0.05462034046649933,
0.013655085116624832,
0.06174630671739578,
-0.02231837809085846,
0.044672928750514984,
-0.010634688660502434,
-0.009459085762500763,
-0.020582102239131927,
0.020618274807929993,
-0.07560034096240997,
-0.008966236375272274,
-0.01370934396982193,
-0.008708507753908634,
-0.005814714822918177,
0.015111024491488934,
0.0023602498695254326,
-0.011168232187628746,
-0.061818648129701614,
-0.0036308057606220245,
-0.07979633659124374,
-0.03174129128456116,
-0.03345948085188866,
-0.008749201893806458,
-0.03801720216870308,
-0.00038885342655703425,
-0.032139185816049576,
0.0332605317234993,
-0.02646011859178543,
-0.025573894381523132,
-0.019478842616081238,
-0.032066840678453445,
0.0782770961523056,
-0.008446257561445236,
-0.030619945377111435,
-0.02459723874926567,
-0.025230256840586662,
0.027310170233249664,
-0.043985649943351746,
0.0212874636054039,
-0.005642896052449942,
-0.02651437744498253,
-0.011873593553900719,
0.03266368806362152,
0.04796461760997772,
0.05928657948970795,
-0.002979702316224575,
-0.010001671500504017,
-0.034888289868831635,
-0.016467489302158356,
-0.035032980144023895,
-0.008495994843542576,
0.010661818087100983,
-0.06022706255316734,
-0.03942792862653732,
-0.029516687616705894,
0.0062713916413486,
0.0340382382273674,
0.04358775541186333,
-0.019207550212740898,
-0.00830156821757555,
-0.046843271702528,
0.042683444917201996,
-0.010824593715369701,
0.027635721489787102,
-0.025049393996596336,
-0.021178945899009705,
0.0682935118675232,
0.0071440511383116245,
-0.010408611036837101,
-0.005145525559782982,
-0.000744360382668674,
-0.04843485727906227,
-0.008174965158104897,
0.009260137565433979,
0.041164204478263855,
-0.07006596028804779,
0.03183172270655632,
-0.07668551057577133,
-0.013184843584895134,
0.025103652849793434,
-0.01888199895620346,
0.04716882482171059,
0.020419325679540634,
0.004390426445752382,
-0.03304349631071091,
-0.008450779132544994,
0.032826460897922516,
-0.0157711710780859,
0.000610409420914948,
-0.039644960314035416,
0.007044577039778233,
-0.04478144273161888,
0.0562119260430336,
-0.011358137242496014,
0.030294394120573997,
0.0038320147432386875,
-0.022842876613140106,
-0.010526171885430813,
0.027183566242456436,
0.025338774546980858,
0.05718858167529106,
0.009124490432441235,
-0.0332062728703022,
-0.04420268535614014,
0.004327124450355768,
0.04271961748600006,
0.009829852730035782,
0.0006810586783103645,
0.003612719476222992,
0.018113333731889725,
0.07986868172883987,
0.01050808560103178,
0.0037257582880556583,
-0.015219542197883129,
0.015147197060286999,
-0.06228889152407646,
0.021685359999537468,
-0.09455468505620956,
0.02190239541232586,
-0.06026323512196541,
-0.0012129060924053192,
-0.03754696249961853,
0.0038546225987374783,
-0.008857718668878078,
0.01009210292249918,
0.059973858296871185,
-0.013926378451287746,
0.05849078670144081,
0.03210301324725151,
0.02060018852353096,
0.032338134944438934,
0.040404584258794785,
-0.060046203434467316,
-0.049158304929733276,
-0.01436044741421938,
0.014478007331490517,
-0.03989816829562187,
0.03808954730629921,
0.03354991227388382,
0.00762785691767931,
0.003083697985857725,
0.01143048144876957,
0.006963189225643873,
-0.07111495733261108,
0.01895434409379959,
-0.0170191191136837,
0.02363867126405239,
0.02231837809085846,
0.033929720520973206,
0.08920116722583771,
0.05331813171505928,
-0.022788619622588158,
-0.016955817118287086,
0.005290214903652668,
-0.013582739979028702,
0.04022372141480446,
0.008423649705946445,
0.06095051020383835,
-0.061493098735809326,
-0.0033504695165902376,
-0.02693036012351513,
-0.029643289744853973,
-0.02494087629020214,
-0.007153094280511141,
-0.007600727956742048,
0.015038679353892803,
-0.003515506163239479,
0.003820710815489292,
-0.01846601627767086,
-0.08363061398267746,
0.03874065354466438,
-0.024488722905516624,
-0.025049393996596336,
0.0020109598990529776,
0.0225354116410017,
0.03725758194923401,
-0.007252568379044533,
-0.02570049837231636,
0.0816049575805664,
-0.017769696190953255,
0.005859930533915758,
-0.02293330803513527,
-0.006366344168782234,
-0.06843820214271545,
-0.020021429285407066,
-0.06594230234622955,
0.03298923745751381,
0.037438444793224335,
-0.06409750878810883,
0.08174964785575867,
-0.00507770199328661,
0.018185678869485855,
-0.013311447575688362,
0.022227946668863297,
-0.03195832669734955,
-0.020618274807929993,
-0.010915025137364864,
-0.027979359030723572,
-0.06478478759527206,
0.041236549615859985,
-0.018900085240602493,
0.06348258256912231,
0.017444144934415817,
-0.005290214903652668,
-0.004661719314754009,
0.05816523730754852,
-0.009531429968774319,
-0.0230056531727314,
-0.053498994559049606,
-0.0012027326738461852,
-0.022643929347395897,
0.021667273715138435,
-0.01074320636689663,
-0.0042977347038686275,
-0.014848774299025536,
-0.007745417300611734,
0.016521748155355453,
0.0672445148229599,
-0.00804383959621191,
0.03725758194923401,
-0.02604413591325283,
0.01834845542907715,
0.018701136112213135,
0.08102619647979736,
-0.0691254734992981,
0.05903337523341179,
-0.0036805428098887205,
0.0366969108581543,
0.0032193446531891823,
0.023313118144869804,
0.05613958090543747,
-0.024850446730852127,
-0.0443473756313324,
0.02260775677859783,
0.026713324710726738,
0.001555413706228137,
-0.015798300504684448,
0.02651437744498253,
-0.03183172270655632,
-0.03335096314549446,
-0.1038871631026268,
-0.0023331204429268837,
0.03535853326320648,
0.009667077101767063,
0.00621713325381279,
0.03459890931844711,
-0.11842847615480423,
0.021649187430739403,
0.017245197668671608,
0.013971593230962753,
-0.0263877734541893,
0.015246670693159103,
-0.034616995602846146,
0.06109520047903061,
0.009911240078508854,
-0.03322435915470123,
-0.006904408801347017,
0.003899838076904416,
0.003999311942607164,
0.054728858172893524,
0.0217034462839365,
0.010345309041440487,
-0.03345948085188866,
-0.018086206167936325,
-0.017751609906554222,
-0.0023602498695254326,
-0.03622666746377945,
0.005746891722083092,
0.040332239121198654,
-0.0019521798240020871,
0.005602201912552118,
-0.0247238427400589,
-0.023240773007273674,
-0.028630463406443596,
0.10287433862686157,
-0.0009630904532968998,
-0.05765882134437561,
0.000679928285535425,
0.035032980144023895,
-0.06876375526189804,
-0.03740227222442627,
0.06442306190729141,
-0.0680764764547348,
-0.009621861390769482,
0.04318985715508461,
-0.021992824971675873,
-0.05393306538462639,
0.03515958413481712,
0.023729100823402405,
0.05118396133184433,
0.006461296696215868,
0.03684160113334656,
0.04622834175825119,
-0.04720499739050865,
0.04948385804891586,
0.013410921208560467,
-0.004279648419469595,
-0.05002644285559654,
-0.0007743156747892499,
-0.05208827182650566,
-0.0008443997357971966,
0.04145358130335808,
-0.011945938691496849,
0.035503219813108444,
-0.023602498695254326,
-0.016440359875559807
]
|
43,872 | pdf2docx.page.Page | extract_tables | Extract content from tables (top layout only).
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
| def extract_tables(self, **settings):
'''Extract content from tables (top layout only).
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
'''
# table blocks
collections = []
for section in self.sections:
for column in section:
if settings['extract_stream_table']:
collections.extend(column.blocks.table_blocks)
else:
collections.extend(column.blocks.lattice_table_blocks)
# check table
tables = [] # type: list[ list[list[str]] ]
for table_block in collections:
tables.append(table_block.text)
return tables
| (self, **settings) | [
-0.017552470788359642,
-0.009313007816672325,
-0.022240284830331802,
-0.07915609329938889,
-0.007890559732913971,
0.025639846920967102,
0.021631943061947823,
-0.0033794320188462734,
-0.07400307059288025,
0.06026168912649155,
-0.0031826153863221407,
0.010306037031114101,
-0.053319428116083145,
0.005573490634560585,
-0.005009879358112812,
-0.031043360009789467,
0.014922283589839935,
0.006329445634037256,
0.04473106563091278,
-0.0024467892944812775,
-0.034281887114048004,
-0.032260045409202576,
0.028037430718541145,
0.02317069098353386,
-0.014895444735884666,
0.009160921908915043,
-0.0747903436422348,
-0.05632535740733147,
0.06262349337339401,
0.005595856346189976,
-0.01807134971022606,
-0.022276069968938828,
-0.024011636152863503,
0.016326839104294777,
-0.05857980251312256,
-0.017811909317970276,
0.056253787130117416,
0.043192315846681595,
0.03548068180680275,
0.09168078750371933,
0.014045554213225842,
-0.009626124985516071,
0.02037947252392769,
-0.00560927577316761,
-0.04072315990924835,
-0.030810758471488953,
-0.009178814478218555,
-0.037073105573654175,
-0.029934028163552284,
0.007716108579188585,
-0.0021079513244330883,
0.015298023819923401,
0.03703732043504715,
0.016264215111732483,
0.03100757487118244,
-0.009661910124123096,
-0.04630559682846069,
0.03882656618952751,
0.03539121896028519,
0.02479890175163746,
-0.011021734215319157,
0.04634138196706772,
-0.031705379486083984,
0.04301339387893677,
0.03501547873020172,
-0.027840614318847656,
0.024852579459547997,
-0.023295938968658447,
-0.012972008436918259,
0.027786938473582268,
-0.0542498342692852,
0.017624039202928543,
0.005461663007736206,
0.05979648604989052,
-0.006244456861168146,
-0.0201110877096653,
0.013141986913979053,
-0.09082195162773132,
-0.02725016511976719,
0.005716630257666111,
0.014797036536037922,
0.0303097702562809,
0.010583369992673397,
0.05328364297747612,
0.09590340405702591,
-0.03363776206970215,
0.07117606699466705,
0.024441054090857506,
0.046377167105674744,
0.022794950753450394,
0.00628918781876564,
-0.015226454474031925,
0.007018303964287043,
-0.02855631150305271,
-0.029182547703385353,
0.03796772658824921,
-0.06595148146152496,
-0.02229396253824234,
-0.0820188820362091,
-0.023492755368351936,
0.013678759336471558,
0.024512624368071556,
0.033673547208309174,
-0.0021168976090848446,
0.023814819753170013,
0.009102771990001202,
-0.016326839104294777,
-0.005068029742687941,
-0.010279199108481407,
0.006839379668235779,
-0.0010030941339209676,
0.025103073567152023,
-0.047951702028512955,
0.02589034102857113,
0.0405084528028965,
-0.07600702345371246,
0.001513028284534812,
0.003341410541906953,
-0.08645620197057724,
-0.02860998921096325,
-0.010413391515612602,
-0.004987513646483421,
-0.03943490609526634,
-0.024369483813643456,
-0.020576290786266327,
0.011862678453326225,
0.011370636522769928,
-0.04770120605826378,
0.04841690510511398,
0.0023752194829285145,
-0.028126893565058708,
-0.03331569582223892,
-0.05124390870332718,
-0.020576290786266327,
-0.0287531279027462,
-0.04587617889046669,
0.03387036174535751,
-0.020343689247965813,
0.003437582403421402,
-0.014466026797890663,
-0.0610489584505558,
-0.00019639733363874257,
0.011889517307281494,
-0.0009281695820391178,
-0.04104522615671158,
0.011853732168674469,
0.04866739735007286,
0.007174863014370203,
0.023349616676568985,
0.004222612362354994,
-0.004274053033441305,
-0.04573304206132889,
-0.052782658487558365,
0.011299067176878452,
-0.020486827939748764,
0.0610489584505558,
-0.006919895764440298,
0.044766850769519806,
0.026874423027038574,
0.010001866146922112,
0.02596190944314003,
0.012014764361083508,
-0.030077168717980385,
0.017668770626187325,
-0.03011295385658741,
0.006647036410868168,
0.05922393128275871,
-0.022383425384759903,
0.0058552962727844715,
-0.044838421046733856,
0.007572969421744347,
0.07006674259901047,
-0.07851196825504303,
0.0371088907122612,
0.036411087960004807,
0.020003732293844223,
0.03336937353014946,
0.017114104703068733,
0.0026704445481300354,
-0.005144072696566582,
-0.02923622354865074,
0.01705148257315159,
-0.053856201469898224,
0.05281843990087509,
-0.002435606438666582,
0.0018138446612283587,
0.011996871791779995,
-0.033405158668756485,
0.004023559391498566,
-0.010136059485375881,
-0.04680658504366875,
-0.03256421536207199,
-0.025872448459267616,
0.0035605928860604763,
-0.004482052754610777,
-0.006132629234343767,
-0.02739330381155014,
-0.0062668221071362495,
-0.03623216226696968,
-0.012936224229633808,
-0.012005818076431751,
-0.06548628211021423,
-0.009205653332173824,
0.06008276715874672,
-0.005005406215786934,
0.015405379235744476,
-0.0037126783281564713,
-0.0440511517226696,
-0.08137475699186325,
0.03233161196112633,
-0.0043881176970899105,
-0.053319428116083145,
-0.01712305098772049,
-0.04494577273726463,
0.03936333581805229,
-0.002284639049321413,
-0.09647595882415771,
0.004336676560342312,
-0.02284862846136093,
-0.026194510981440544,
0.01376822218298912,
-0.024619977921247482,
-0.02996981330215931,
-0.0021023601293563843,
-0.003524807980284095,
0.003670183941721916,
0.046198245137929916,
-0.056039080023765564,
-0.00628918781876564,
-0.008476536720991135,
0.013276180252432823,
0.0054750824347138405,
-0.029594073072075844,
0.0176329854875803,
0.06570098549127579,
0.025944016873836517,
-0.0009617179166525602,
-0.029415149241685867,
0.055359166115522385,
0.0033033890649676323,
-0.0032631312496960163,
-0.032385289669036865,
0.02025422640144825,
-0.029200438410043716,
-0.023206476122140884,
0.04229769483208656,
-0.044015366584062576,
-0.03494390845298767,
-0.059510208666324615,
0.013929253444075584,
0.02188243716955185,
-0.09017782658338547,
0.04247662052512169,
-0.04165356606245041,
0.015145938843488693,
-0.0303097702562809,
0.0235822182148695,
0.03893391788005829,
0.020003732293844223,
-0.062158286571502686,
0.05102919787168503,
-0.09547398239374161,
-0.01756141521036625,
-0.015575356781482697,
0.020200548693537712,
-0.03793194144964218,
-0.03492601588368416,
-0.017713502049446106,
-0.022347640246152878,
0.014224478974938393,
0.007165916729718447,
0.043335456401109695,
0.013839791528880596,
0.0028292399365454912,
-0.007863720878958702,
-0.0143765639513731,
0.007201701402664185,
0.02413688227534294,
-0.041904062032699585,
-0.006557574030011892,
0.028162678703665733,
-0.038790781050920486,
-0.003759646089747548,
-0.010046597570180893,
0.0470212958753109,
-0.09211020916700363,
0.008315504528582096,
0.0016707052709534764,
0.005121706984937191,
-0.031508561223745346,
-0.01841130666434765,
0.004095129203051329,
0.00099750270601362,
-0.04626981541514397,
-0.01515488512814045,
0.037359386682510376,
-0.004262870643287897,
-0.0006966863293200731,
-0.00897305179387331,
-0.004327730741351843,
-0.009366684593260288,
-0.04444478452205658,
0.07357365638017654,
0.08545422554016113,
-0.020093195140361786,
0.018250275403261185,
0.004714654292911291,
-0.0014280392788350582,
0.06115631386637688,
-0.09067881852388382,
0.049454666674137115,
-0.03072129562497139,
0.04616245999932289,
0.04623403027653694,
-0.07224961370229721,
0.0008459762902930379,
-0.04573304206132889,
0.06183622404932976,
-0.02113095484673977,
0.057935673743486404,
-0.02916465513408184,
0.02263391949236393,
0.03471130505204201,
0.04777277633547783,
0.07858353853225708,
-0.017400383949279785,
0.04294182360172272,
-0.06734709441661835,
-0.002621240448206663,
0.024154774844646454,
-0.011120142415165901,
0.01661311835050583,
0.05553809180855751,
0.0474507138133049,
-0.04898946359753609,
0.013222502544522285,
-0.02658814564347267,
-0.006919895764440298,
-0.007787678390741348,
-0.03950647637248039,
0.04956201836466789,
-0.016425246372818947,
0.022329747676849365,
-0.03249264508485794,
0.09189549833536148,
-0.03045290894806385,
-0.04236926510930061,
0.019395390525460243,
0.03336937353014946,
-0.03132963925600052,
0.04762963950634003,
0.011621130630373955,
0.0017322105122730136,
0.07471877336502075,
0.0016159097431227565,
0.029200438410043716,
-0.012247365899384022,
-0.00610131723806262,
-0.019878486171364784,
0.03487233817577362,
0.081016905605793,
0.056253787130117416,
-0.0067499177530407906,
0.006758864037692547,
0.004164461977779865,
-0.024924149736762047,
0.017489846795797348,
0.08323556929826736,
0.0050635566003620625,
0.01165691576898098,
0.008686772547662258,
0.027965862303972244,
0.02052261307835579,
-0.019144896417856216,
0.006544154603034258,
-0.027160702273249626,
-0.039041273295879364,
0.01818765141069889,
0.0020073065534234047,
0.02426213026046753,
0.036321625113487244,
0.048774752765893936,
-0.019288035109639168,
0.029182547703385353,
-0.03174116462469101,
-0.0220255758613348,
-0.04974094405770302,
0.04161778464913368,
-0.024655763059854507,
-0.0013408137019723654,
0.05886607989668846,
0.0184828769415617,
-0.004974094219505787,
0.033208344131708145,
0.05314050614833832,
0.005618221592158079,
-0.020969923585653305,
0.004965148400515318,
0.03322623670101166,
-0.01206844113767147,
0.06745444238185883,
-0.044766850769519806,
-0.019878486171364784,
0.040687378495931625,
-0.022383425384759903,
-0.022007683292031288,
0.015065422281622887,
-0.0301666297018528,
0.029755104333162308,
-0.009205653332173824,
0.014304994605481625,
-0.02753644436597824,
-0.029415149241685867,
-0.0072732712142169476,
0.006763337180018425,
0.013204609975218773,
0.008176838979125023,
0.0473075732588768,
0.0219540074467659,
-0.013875576667487621,
0.041904062032699585,
0.011970032937824726,
0.02610504999756813,
-0.015942150726914406,
0.043335456401109695,
-0.012381559237837791,
-0.07514818757772446,
-0.006812541279941797,
0.00688411109149456,
-0.009500877931714058,
0.03764566406607628,
-0.046735018491744995,
-0.020969923585653305,
-0.07310844957828522,
0.04956201836466789,
0.017257245257496834,
-0.010270252823829651,
-0.036518439650535583,
0.029379364103078842,
0.028395280241966248,
0.06244456768035889,
0.01610318385064602,
0.004041451495140791,
0.00775189371779561,
0.029146762564778328,
-0.024781009182333946,
-0.03750252351164818,
0.005792672745883465,
-0.07650801539421082,
0.004647557623684406,
-0.05636114254593849,
-0.015521680004894733,
0.0016338021960109472,
-0.018160812556743622,
-0.06577255576848984,
-0.0092772226780653,
0.06273084878921509,
0.025604061782360077,
-0.08037278056144714,
0.041760921478271484,
0.04963358864188194,
-0.04623403027653694,
0.024781009182333946,
0.029110977426171303,
0.08366498351097107,
-0.06895741075277328,
-0.04240505024790764,
-0.00017515008221380413,
-0.03363776206970215,
-0.012301042675971985,
-0.015056476928293705,
-0.00802475307136774,
-0.028860483318567276,
-0.01930592767894268,
0.028771020472049713,
-0.008382601663470268,
-0.0032005077227950096,
-0.06523578613996506,
-0.028431065380573273,
-0.015870582312345505,
-0.024852579459547997,
-0.019592206925153732,
-0.025067288428544998,
-0.031508561223745346,
-0.0706750825047493,
-0.03494390845298767,
0.004965148400515318,
-0.04458792507648468,
0.03492601588368416,
-0.08280614763498306,
-0.04458792507648468,
0.009742425754666328,
-0.005944758653640747,
-0.02623029612004757,
0.026945993304252625,
-0.006924368906766176,
0.03344094380736351,
0.07289374619722366,
0.04118836298584938,
-0.017624039202928543,
0.07210647314786911,
-0.0024870471097528934,
-0.004347859416157007,
-0.0008565998869016767,
-0.015727441757917404,
0.060870032757520676,
0.06942261010408401,
-0.01746300794184208,
0.001557759358547628,
-0.01556641049683094,
0.05582436919212341,
0.0443374328315258,
-0.08266300708055496,
0.017740340903401375,
-0.03750252351164818,
-0.021989790722727776,
-0.006687294226139784,
0.00992135051637888,
0.042727112770080566,
0.053605709224939346,
0.01709621213376522,
0.005457189865410328,
-0.024280022829771042,
0.03363776206970215,
0.013428266160190105,
0.04397958144545555,
-0.044480569660663605,
0.022794950753450394,
-0.015101207420229912,
-0.06312447786331177,
0.028287924826145172,
-0.017713502049446106,
-0.017042536288499832,
-0.013687705621123314,
0.021327771246433258,
-0.01464495062828064,
-0.041760921478271484,
-0.06058375537395477,
0.012667837552726269,
0.019967947155237198,
-0.018912294879555702,
-0.04211876913905144,
-0.03689418360590935,
-0.004361278843134642,
0.02215082384645939,
0.0201826561242342,
-0.03247475251555443,
0.06931525468826294,
0.016792042180895805,
0.03968540206551552,
-0.030130844563245773,
-0.03297574073076248,
0.08602678775787354,
0.0003245797997806221,
0.03098968230187893,
0.00965296383947134,
-0.03179484233260155,
0.0014996089739724994,
0.019144896417856216,
-0.011316959746181965,
0.034979693591594696,
-0.0542498342692852,
-0.05253216251730919,
0.06394752860069275,
0.06437695026397705,
-0.0014962541172280908,
0.0041711716912686825,
0.037359386682510376,
-0.06874269992113113,
0.0012122119078412652,
0.009304061532020569,
0.05153018608689308,
-0.011728485114872456,
-0.015986882150173187,
0.06137102097272873,
-0.04798748716711998,
-0.04444478452205658,
0.06709659844636917,
0.02855631150305271,
-0.03614269942045212,
-0.014725466258823872,
-0.04541097581386566,
0.08137475699186325,
0.037359386682510376,
0.044552139937877655,
-0.039792753756046295,
-0.03304731100797653,
-0.012632052414119244,
0.03567749634385109,
0.03875499591231346,
0.030757080763578415,
-0.004710181150585413,
0.005904500372707844,
0.03168748691678047,
-0.02948671765625477,
0.004048161208629608,
0.006074478849768639,
-0.04920417070388794,
-0.05389198660850525,
-0.01964588463306427,
-0.03433556482195854,
0.06609462201595306,
0.00895068608224392,
-0.014421295374631882,
0.04913260042667389,
-0.011647969484329224,
0.08609835058450699,
0.010950164869427681,
-0.0006133747519925237,
0.002500466536730528,
-0.008176838979125023,
0.025389352813363075,
0.059367068111896515,
-0.06226564198732376,
-0.003638872178271413,
-0.026749176904559135,
-0.002134790178388357,
-0.01158534549176693,
0.007067508064210415,
-0.05761361122131348,
0.00044451496796682477,
0.06605883687734604,
0.01612107641994953,
0.01937749795615673,
-0.040687378495931625,
0.03471130505204201,
0.01464495062828064,
-0.03828979283571243,
0.05675477534532547,
-0.007139077875763178,
0.017624039202928543,
-0.011809000745415688,
0.02671339176595211,
0.03750252351164818,
0.03193797916173935,
0.03950647637248039,
-0.029343578964471817,
-0.04397958144545555,
0.009089352563023567,
0.004589407239109278,
-0.0026100575923919678,
-0.05009879171848297,
0.04083051532506943,
-0.020612074062228203,
0.01040444616228342,
-0.012453128583729267,
0.0066336169838905334,
-0.01158534549176693,
-0.03539121896028519,
0.023474862799048424,
-0.04290603846311569,
0.021775081753730774,
0.015038584358990192,
-0.0028583151288330555,
-0.050742920488119125,
0.026963885873556137,
0.027786938473582268,
0.013956092298030853,
0.03141909837722778,
-0.003949753008782864,
0.010171844623982906,
-0.03692996874451637,
0.010959111154079437,
0.031973764300346375,
0.05221009999513626,
-0.019592206925153732,
0.026659714058041573,
0.05582436919212341,
-0.03972118720412254,
0.02215082384645939,
0.057935673743486404,
0.0742177814245224,
0.021041493862867355,
-0.07246432453393936,
0.04558990150690079,
0.027071241289377213,
-0.025604061782360077,
-0.03786037489771843,
0.008145526982843876,
-0.013786113820970058,
-0.014770197682082653,
0.03793194144964218,
0.007094346918165684,
0.0020844675600528717,
-0.048560045659542084,
0.019484851509332657,
-0.024351591244339943,
-0.018536552786827087,
-0.04351437836885452,
-0.06069111078977585,
0.006217618007212877,
0.005747941788285971,
0.011862678453326225,
0.0218108668923378,
0.027357518672943115,
0.05854401737451553,
0.04977672919631004,
-0.0709613636136055,
0.039792753756046295,
0.025335675105452538,
0.020701536908745766,
-0.049991440027952194,
-0.00800238735973835,
0.023206476122140884,
-0.009983973577618599,
-0.00832892395555973,
0.009474040009081364,
0.0271249171346426,
-0.04888210818171501,
0.013124094344675541,
-0.01950274407863617,
0.016165805980563164,
0.004164461977779865,
-0.019806915894150734,
-0.0135624585673213,
-0.014600219205021858,
-0.013812952674925327,
0.0669892430305481,
-0.008579418063163757,
-0.014940176159143448,
0.01774928718805313,
-0.04813062772154808,
0.05718419328331947,
0.050599779933691025,
-0.016210537403821945,
0.0473075732588768,
-0.046198245137929916,
-0.002393112052232027,
-0.01610318385064602,
0.022794950753450394,
0.01978902332484722,
0.025460923090577126,
0.0012267495039850473,
0.041081011295318604,
-0.012301042675971985,
-0.0235822182148695,
-0.010493908077478409,
0.0070138308219611645,
-0.034013502299785614,
-0.051422830671072006,
0.014304994605481625,
-0.05904500558972359,
-0.01396503858268261,
0.052711088210344315,
-0.028699452057480812,
-0.023689571768045425,
0.019735345616936684,
0.02841317281126976,
-0.0369657538831234,
0.07303687930107117,
-0.026802854612469673,
-0.03025609254837036,
-0.01835762895643711,
0.008986471220850945,
-0.03290417045354843,
0.030202414840459824,
0.05364149436354637,
-0.09740636497735977,
-0.07443249225616455,
-0.013115148060023785,
-0.006383122876286507,
0.06008276715874672,
-0.04365751892328262,
0.06942261010408401,
0.0640190988779068,
0.0009382340940646827,
-0.00965296383947134,
0.022240284830331802
]
|
43,873 | pdf2docx.page.Page | make_docx | Set page size, margin, and create page.
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
Args:
doc (Document): ``python-docx`` document object
| def make_docx(self, doc):
'''Set page size, margin, and create page.
.. note::
Before running this method, the page layout must be either parsed from source
page or restored from parsed data.
Args:
doc (Document): ``python-docx`` document object
'''
# new page
if doc.paragraphs:
section = doc.add_section(WD_SECTION.NEW_PAGE)
else:
section = doc.sections[0] # a default section is there when opening docx
# page size
section.page_width = Pt(self.width)
section.page_height = Pt(self.height)
# page margin
left,right,top,bottom = self.margin
section.left_margin = Pt(left)
section.right_margin = Pt(right)
section.top_margin = Pt(top)
section.bottom_margin = Pt(bottom)
# create flow layout: sections
self.sections.make_docx(doc)
| (self, doc) | [
0.0015769780147820711,
0.03314999118447304,
-0.004928200505673885,
-0.022629113867878914,
0.010668538510799408,
-0.011840601451694965,
-0.011600651778280735,
0.024290306493639946,
-0.06825649738311768,
0.0050481753423810005,
0.0444830060005188,
-0.017101040109992027,
0.0607626810669899,
-0.03732142597436905,
-0.042083509266376495,
-0.009182695299386978,
0.02794492617249489,
-0.07442136108875275,
-0.028037214651703835,
0.035457201302051544,
0.08003249764442444,
-0.004600576590746641,
0.025010155513882637,
0.030971985310316086,
0.024271847680211067,
0.024013441056013107,
-0.04684558883309364,
0.07013918459415436,
0.016593454405665398,
-0.06124258041381836,
-0.01854996755719185,
0.017221014946699142,
0.0655616745352745,
0.012108237482607365,
0.03652774542570114,
0.0046813287772238255,
0.047288574278354645,
0.011379159055650234,
0.016187384724617004,
-0.03564177826046944,
0.003218557918444276,
0.017147183418273926,
-0.039610181003808975,
-0.013160325586795807,
-0.04001624882221222,
-0.013354131020605564,
0.03608476370573044,
0.05947064235806465,
-0.07198494672775269,
0.0340728759765625,
0.0011893666815012693,
-0.047325488179922104,
0.0098748579621315,
-0.05330577865242958,
-0.022352250292897224,
0.021355533972382545,
0.010456275194883347,
0.013326444663107395,
0.04116062447428703,
0.006880099885165691,
-0.034700438380241394,
0.056665074080228806,
0.025600800290703773,
-0.019565140828490257,
0.04315405339002609,
0.018845289945602417,
-0.005366570316255093,
-0.04765772819519043,
-0.044852159917354584,
0.01727638766169548,
0.012375873513519764,
-0.031211934983730316,
0.015661340206861496,
0.03713684901595116,
-0.004026081413030624,
0.06375282257795334,
-0.04271106794476509,
-0.05921223387122154,
0.0361216776072979,
0.010050206445157528,
-0.04437226057052612,
0.023773491382598877,
-0.04248957708477974,
-0.012781943194568157,
0.0924360603094101,
0.043338630348443985,
0.05522537603974342,
0.03506959229707718,
0.054966967552900314,
-0.011674482375383377,
0.029993727803230286,
0.033980585634708405,
0.007876814343035221,
-0.0444830060005188,
0.014812287874519825,
-0.034700438380241394,
0.014240099117159843,
-0.010973090305924416,
-0.06548784673213959,
0.05699731409549713,
-0.025083985179662704,
0.008702795952558517,
-0.08453617244958878,
-0.015209127217531204,
0.040902215987443924,
-0.020894093438982964,
0.03805973380804062,
-0.01406475156545639,
-0.024031898006796837,
0.01756248250603676,
-0.030658205971121788,
-0.03575252369046211,
-0.0008375172037631273,
0.04647643491625786,
-0.021632399410009384,
-0.0340728759765625,
-0.0023671973031014204,
-0.03357451781630516,
-0.048802103847265244,
-0.005435786675661802,
-0.0464395210146904,
-0.05334269255399704,
-0.0494665801525116,
-0.027963383123278618,
0.006187936756759882,
0.03626934066414833,
0.021115584298968315,
0.0015492914244532585,
0.019159071147441864,
0.028720149770379066,
0.020580312237143517,
-0.04001624882221222,
0.0021157115697860718,
-0.060356609523296356,
-0.006474031135439873,
-0.030030643567442894,
0.0028840124141424894,
0.014766143634915352,
-0.03530954197049141,
-0.029827609658241272,
0.0035161878913640976,
-0.01926981657743454,
-0.0030385954305529594,
0.043338630348443985,
-0.0005675736465491354,
0.08150911331176758,
-0.05921223387122154,
0.020838720723986626,
-0.054191745817661285,
0.06260845065116882,
0.003539260011166334,
-0.010659310035407543,
0.06892097741365433,
-0.019085239619016647,
-0.023090556263923645,
0.015375247225165367,
0.01075159851461649,
0.002349893329665065,
0.03924102708697319,
0.016851861029863358,
0.006741667166352272,
0.0002650407259352505,
0.05803094431757927,
-0.005122005939483643,
0.022112300619482994,
0.0410129614174366,
-0.017396362498402596,
-0.06028278172016144,
0.04935583472251892,
0.015162983909249306,
0.054930053651332855,
-0.0012758871307596564,
-0.033186908811330795,
0.017922407016158104,
-0.016104325652122498,
0.015569052658975124,
0.017903948202729225,
-0.03704456239938736,
-0.05352726951241493,
0.012348187156021595,
0.026966668665409088,
0.03455277532339096,
0.007581491954624653,
0.0022079998161643744,
-0.013307986781001091,
0.01147144753485918,
-0.04632877558469772,
0.07394146174192429,
-0.023515082895755768,
-0.026246819645166397,
-0.012440475635230541,
-0.01171139720827341,
0.002150319516658783,
-0.056443583220243454,
-0.016981065273284912,
0.019934292882680893,
-0.025600800290703773,
-0.038908787071704865,
0.0257115475833416,
0.025877665728330612,
0.0764147937297821,
0.002317592268809676,
0.04020082578063011,
-0.006220237817615271,
0.013732513412833214,
0.01222821231931448,
0.014664625748991966,
-0.008979661390185356,
-0.005509617272764444,
0.03883495554327965,
0.06190705671906471,
-0.026837466284632683,
-0.010225553996860981,
-0.0058372411876916885,
-0.008075234480202198,
-0.027483483776450157,
-0.02912621758878231,
0.03039979748427868,
-0.06390048563480377,
-0.0029301566537469625,
-0.004406770691275597,
0.060356609523296356,
0.01025324035435915,
-0.038096651434898376,
0.045590467751026154,
-0.045036736875772476,
0.030916612595319748,
-0.11967959254980087,
-0.009764112532138824,
-0.01344641949981451,
-0.006054118741303682,
-0.04935583472251892,
-0.07700543850660324,
0.012809629552066326,
0.030086016282439232,
-0.07290783524513245,
0.014147811569273472,
-0.014839974232017994,
0.01651962287724018,
-0.033722180873155594,
0.06460187584161758,
0.04470450058579445,
0.01517221238464117,
0.019122155383229256,
-0.02342279441654682,
0.08077080547809601,
-0.004037617240101099,
-0.056665074080228806,
-0.005241980776190758,
0.026043785735964775,
-0.03575252369046211,
-0.06722287088632584,
-0.01731330342590809,
0.0004314482503104955,
0.03405441716313362,
0.06818266957998276,
-0.05027871951460838,
-0.0538225919008255,
-0.01681494526565075,
0.035420287400484085,
-0.0015412161592394114,
0.026800550520420074,
-0.012052864767611027,
0.018826832994818687,
0.07021301239728928,
-0.0351434201002121,
0.024142645299434662,
0.02517627365887165,
0.00974565465003252,
0.031008901074528694,
0.10904797166585922,
0.02194618061184883,
0.060873426496982574,
0.016851861029863358,
0.07575031369924545,
-0.04662409797310829,
0.009099636226892471,
0.024345679208636284,
0.04378161579370499,
0.03582635521888733,
0.05234597995877266,
-0.06172247976064682,
0.01952822506427765,
0.04477832838892937,
0.0158366896212101,
-0.00329931010492146,
-0.059839796274900436,
0.048506781458854675,
0.004817454144358635,
-0.07722692936658859,
-0.059618305414915085,
0.048063796013593674,
0.024327220395207405,
-0.040163908153772354,
-0.031747207045555115,
0.013188011944293976,
0.02589612454175949,
-0.02144782245159149,
-0.0711728110909462,
-0.012006720528006554,
0.038170479238033295,
0.04861752688884735,
-0.010659310035407543,
0.04348629340529442,
0.05286279320716858,
0.013280300423502922,
-0.004203736316412687,
-0.008628965355455875,
0.029790693894028664,
-0.04064381122589111,
-0.028590945526957512,
0.008582821115851402,
0.07656245678663254,
0.036435458809137344,
-0.06489720195531845,
-0.005108162760734558,
0.04141903296113014,
-0.01750710792839527,
-0.021078670397400856,
0.04042231664061546,
-0.04798996448516846,
0.01978663168847561,
0.008476689457893372,
-0.01826387271285057,
0.07907269895076752,
0.014941491186618805,
0.02816641889512539,
-0.02990144118666649,
-0.018669942393898964,
0.06641072779893875,
-0.0459965355694294,
0.027261992916464806,
-0.009819485247135162,
0.0464395210146904,
-0.03038134053349495,
-0.01603972353041172,
-0.010022520087659359,
-0.024991698563098907,
-0.02713278867304325,
-0.0627191960811615,
0.042563408613204956,
-0.0022333792876452208,
-0.04319097101688385,
-0.06700137257575989,
0.006806269288063049,
-0.03412824869155884,
-0.022112300619482994,
-0.036693867295980453,
-0.0014062444679439068,
-0.04935583472251892,
0.0021018681582063437,
0.003255473216995597,
-0.01651039347052574,
-0.005698808468878269,
-0.006257153116166592,
-0.022555284202098846,
-0.027225077152252197,
-0.022647572681307793,
-0.00722156697884202,
-0.08128762245178223,
-0.015873603522777557,
0.03879804164171219,
-0.025508511811494827,
0.012523535639047623,
0.005740338005125523,
-0.018116211518645287,
-0.019897378981113434,
0.052235230803489685,
0.006012589205056429,
0.03582635521888733,
0.045811958611011505,
-0.08512681722640991,
-0.031027358025312424,
0.03547566011548042,
0.07194803655147552,
0.034977301955223083,
-0.035180337727069855,
0.0000626191176706925,
-0.035918645560741425,
-0.02936616726219654,
0.01752556674182415,
0.014618481509387493,
0.05670199170708656,
0.0361216776072979,
-0.022555284202098846,
-0.10993393510580063,
0.0034377428237348795,
-0.001959974877536297,
0.04001624882221222,
0.011102293618023396,
0.006829341407865286,
0.06153790280222893,
-0.021540110930800438,
0.08616044372320175,
0.03924102708697319,
-0.032743923366069794,
0.030695119872689247,
0.03089815564453602,
-0.03303924575448036,
-0.017433278262615204,
0.10971244424581528,
-0.026080701500177383,
-0.015476764179766178,
0.0033177677541971207,
-0.0562220923602581,
-0.006607849150896072,
-0.023275133222341537,
0.011129980906844139,
0.010299384593963623,
0.05349035561084747,
-0.027483483776450157,
-0.02100483886897564,
-0.0035877113696187735,
-0.03034442476928234,
-0.02667134627699852,
0.009976375848054886,
0.031267307698726654,
0.08837536722421646,
-0.0006829341291449964,
-0.04669792950153351,
0.03359297662973404,
0.059359896928071976,
0.05648049712181091,
0.06471262127161026,
0.024124186486005783,
-0.020100412890315056,
0.02172468788921833,
-0.027280449867248535,
0.031211934983730316,
0.001256275805644691,
-0.002794031286612153,
0.042120423167943954,
-0.012218983843922615,
0.01774705946445465,
0.02596995420753956,
-0.06319909542798996,
-0.03283620998263359,
0.030787408351898193,
-0.053933337330818176,
0.05138617753982544,
0.046513352543115616,
-0.0725017637014389,
-0.01803315244615078,
0.04714091122150421,
0.029089301824569702,
0.03110118955373764,
-0.02794492617249489,
-0.07305549085140228,
-0.02443796768784523,
0.0023337427992373705,
0.09250988811254501,
0.05636975169181824,
0.06401123106479645,
0.025102443993091583,
0.01657499559223652,
-0.04714091122150421,
-0.04544280469417572,
-0.07386763393878937,
0.0021699308417737484,
0.04178818687796593,
0.04271106794476509,
-0.04400310665369034,
0.028295623138546944,
0.014858432114124298,
-0.025545427575707436,
-0.02443796768784523,
-0.027022043243050575,
0.05234597995877266,
0.007816826924681664,
-0.009671824052929878,
0.0006315986975096166,
-0.047731559723615646,
0.02168777398765087,
0.00014167711196932942,
0.007586106192320585,
-0.009597993455827236,
-0.023902693763375282,
-0.014766143634915352,
0.014018607325851917,
-0.04765772819519043,
-0.00804293341934681,
0.03250397369265556,
0.028018757700920105,
0.03577098250389099,
-0.07198494672775269,
0.01271734107285738,
0.005468087270855904,
0.0055188462138175964,
-0.027797264978289604,
-0.0009834482334554195,
-0.0020649528596550226,
0.023755032569169998,
-0.0568496510386467,
-0.03748754784464836,
-0.027575772255659103,
0.026523685082793236,
-0.003061667550355196,
0.053933337330818176,
-0.05389642342925072,
-0.019823547452688217,
0.008896601386368275,
-0.009270369075238705,
-0.015190670266747475,
0.003174720797687769,
0.0538225919008255,
-0.016196614131331444,
-0.04315405339002609,
0.019565140828490257,
-0.004909742623567581,
-0.020543396472930908,
-0.0707298293709755,
-0.03805973380804062,
-0.058658502995967865,
-0.024105729535222054,
0.023385878652334213,
-0.010493190959095955,
-0.03250397369265556,
-0.007419987116008997,
0.006524789612740278,
-0.04695633426308632,
0.03182103857398033,
-0.02347816713154316,
0.009053491987287998,
-0.01995275169610977,
0.024991698563098907,
0.0438554473221302,
-0.01544907782226801,
-0.008370557799935341,
0.03324228152632713,
-0.020358819514513016,
0.00438831327483058,
-0.031451884657144547,
0.042821817100048065,
0.021152500063180923,
0.01208977960050106,
-0.026579057797789574,
-0.06319909542798996,
-0.01198826264590025,
-0.0553361214697361,
-0.027022043243050575,
0.0014650783268734813,
0.027594231069087982,
-0.04798996448516846,
-0.027225077152252197,
0.030529001727700233,
0.02541622519493103,
0.060172032564878464,
0.005417328793555498,
-0.004709015600383282,
-0.010834657587110996,
-0.009902545250952244,
0.02513935975730419,
0.03676769882440567,
0.02416110225021839,
-0.013557164929807186,
0.03846580162644386,
0.05921223387122154,
-0.023312048986554146,
0.06637381762266159,
-0.009274983778595924,
-0.04547972232103348,
-0.0326516330242157,
0.013243384659290314,
-0.04097604751586914,
-0.007558419834822416,
0.05780944973230362,
0.011674482375383377,
-0.053231947124004364,
0.016445791348814964,
0.006377127952873707,
0.054191745817661285,
0.03254088759422302,
0.013806344009935856,
0.007438444532454014,
0.042341917753219604,
0.030270593240857124,
-0.0316733792424202,
0.10447046160697937,
-0.01853151060640812,
-0.013852488249540329,
-0.06869947910308838,
0.008702795952558517,
-0.003093968378379941,
-0.012698883190751076,
-0.020081954076886177,
-0.04625494405627251,
-0.004422921221703291,
-0.062350042164325714,
0.048285290598869324,
-0.008924287743866444,
-0.015402933582663536,
-0.005514231510460377,
-0.035401828587055206,
0.008587434887886047,
-0.03159954771399498,
0.015319873578846455,
-0.01802392303943634,
0.012486619874835014,
-0.03462660685181618,
-0.03130422532558441,
-0.046771757304668427,
0.0507955327630043,
-0.027003584429621696,
0.023570455610752106,
-0.002734043635427952,
0.047731559723615646,
0.029200049117207527,
0.025766920298337936,
0.051755331456661224,
-0.027317365631461143,
0.009058105759322643,
-0.05950755625963211,
-0.054191745817661285,
0.0043813916854560375,
-0.08652959764003754,
-0.02763114497065544,
-0.036693867295980453,
-0.028572486713528633,
-0.005431171972304583,
-0.06397431343793869,
-0.0058280122466385365,
-0.027354281395673752,
0.0014143196167424321,
-0.00759994937106967,
-0.03178412467241287,
-0.03015984781086445,
0.054450154304504395,
-0.0038622694555670023,
0.01901140995323658,
0.02565617486834526,
0.03379601240158081,
-0.000881930987816304,
0.024862494319677353,
-0.044593751430511475,
0.02862786129117012,
0.05681273713707924,
-0.041308287531137466,
-0.013307986781001091,
0.02443796768784523,
0.027981841936707497,
0.06231312453746796,
0.06308834999799728,
-0.00022610656742472202,
-0.05943372845649719,
-0.022370707243680954,
-0.035217251628637314,
-0.01012403704226017,
-0.028314080089330673,
0.05282587930560112,
-0.03724759817123413,
-0.036158595234155655,
0.006575548090040684,
-0.014378531835973263,
-0.05400716885924339,
0.04001624882221222,
0.006524789612740278,
0.024991698563098907,
-0.04965115711092949,
-0.01630735956132412,
-0.009039648808538914,
0.013021892867982388,
-0.02416110225021839,
-0.005606519989669323,
-0.05356418341398239,
0.031008901074528694,
0.04592270404100418,
0.0026509840972721577,
0.042821817100048065,
-0.07050833106040955,
-0.03704456239938736,
0.0015562131302431226,
0.006732438690960407,
0.007378457114100456,
-0.031950242817401886,
0.05179224908351898,
-0.041308287531137466,
-0.005952601321041584,
0.02198309637606144,
0.0021157115697860718,
-0.012006720528006554,
-0.009214996360242367,
0.029827609658241272,
-0.01047473307698965,
-0.020691057667136192,
-0.019749715924263,
-0.01752556674182415,
0.021392449736595154,
-0.02292443811893463,
-0.044076938182115555,
0.01849459484219551,
-0.03154417499899864,
0.032190192490816116,
0.028997013345360756,
0.014378531835973263,
0.0048128399066627026,
-0.049761902540922165,
-0.008084463886916637,
-0.06980694085359573,
0.013797115534543991,
-0.014083209447562695,
0.003733065677806735,
-0.024253390729427338,
0.027095872908830643,
0.06294068694114685,
-0.04477832838892937,
-0.02273986116051674,
0.006778582464903593,
-0.006649379152804613,
-0.01306803710758686,
0.0055557615123689175,
0.06567241996526718,
0.0345158614218235,
0.0031908713281154633,
-0.025785377249121666,
0.022536825388669968,
0.006354056298732758,
-0.014498506672680378,
0.014609253033995628,
-0.023551998659968376,
-0.04374469816684723,
-0.01852228119969368,
0.016611911356449127,
-0.01777474582195282,
-0.04909742623567581,
-0.0037215296179056168,
-0.024382594972848892,
-0.017221014946699142,
-0.05456089973449707,
-0.001451235031709075,
-0.013787886127829552,
0.004955886863172054,
0.01096386183053255,
-0.009717968292534351,
0.0014373917365446687,
-0.011046920903027058,
0.017147183418273926,
-0.0024087270721793175,
0.023588914424180984,
-0.04042231664061546,
-0.04913434386253357,
-0.02342279441654682,
0.010779284872114658,
-0.023275133222341537,
-0.012652738951146603,
-0.05526228994131088,
-0.0037722880952060223,
0.04710399731993675,
-0.023330505937337875,
-0.026819007471203804,
0.04518439993262291,
0.008915059268474579,
0.002943999832496047,
0.01702720858156681,
0.03178412467241287,
-0.018199272453784943,
0.023053640499711037,
0.013852488249540329,
-0.002706357277929783,
0.01136070117354393,
-0.006612463388592005,
0.003260087687522173,
-0.026043785735964775,
-0.03828122839331627,
0.0685887336730957,
0.039499431848526,
-0.004591347649693489,
0.04584887623786926,
0.02373657561838627
]
|
43,874 | pdf2docx.common.share | inner | null | def debug_plot(title:str, show=True):
'''Plot the returned objects of inner function.
Args:
title (str): Page title.
show (bool, optional): Don't plot if show==False. Default to True.
.. note::
Prerequisite of the inner function:
- the first argument is a :py:class:`~pdf2docx.page.BasePage` instance.
- the last argument is configuration parameters in ``dict`` type.
'''
def wrapper(func):
def inner(*args, **kwargs):
# execute function
objects = func(*args, **kwargs)
# check if plot page
page = args[0] # BasePage object
debug = kwargs.get('debug', False)
doc = kwargs.get('debug_doc', None)
filename = kwargs.get('debug_filename', None)
if show and objects and debug and doc is not None:
# create a new page
debug_page = new_page(doc, page.width, page.height, title)
# plot objects, e.g. text blocks, shapes, tables...
objects.plot(debug_page)
doc.save(filename)
return objects
return inner
return wrapper
| (*args, **kwargs) | [
0.026666639372706413,
0.0047651417553424835,
0.014004978351294994,
0.02626727521419525,
0.03899247199296951,
0.03512590005993843,
-0.018062155693769455,
-0.015175841748714447,
-0.029389578849077225,
0.01057407632470131,
0.03783068805932999,
0.004883135668933392,
0.03207620978355408,
-0.021456751972436905,
-0.06306324899196625,
-0.030351683497428894,
0.010419776663184166,
0.011300193145871162,
-0.014604024589061737,
0.025849759578704834,
-0.004370315466076136,
0.01726342737674713,
-0.021420445293188095,
-0.010229170322418213,
0.0012593588326126337,
0.012806884944438934,
0.009802577085793018,
0.050646647810935974,
-0.02368956059217453,
-0.000892896787263453,
0.003240296384319663,
-0.05249824747443199,
0.034254562109708786,
0.050937093794345856,
-0.00017670734087005258,
0.030351683497428894,
0.00013465779193211347,
0.042114775627851486,
-0.11189460009336472,
0.01736326888203621,
-0.013868831098079681,
0.009802577085793018,
0.025486700236797333,
-0.017680944874882698,
-0.04004534333944321,
0.00009693375614006072,
0.007233938667923212,
0.02240070328116417,
-0.046398863196372986,
0.008386649191379547,
0.03663259372115135,
-0.05627405270934105,
0.025432242080569267,
-0.013823448680341244,
0.007433620747178793,
0.01893349550664425,
0.010247323662042618,
0.046653006225824356,
0.07798494398593903,
-0.05373264476656914,
-0.008849549107253551,
0.017281580716371536,
-0.005568408407270908,
-0.0032380272168666124,
0.008604484610259533,
0.016673456877470016,
-0.00026165731833316386,
-0.02354433760046959,
-0.014821860007941723,
-0.02247331477701664,
0.018125690519809723,
0.0285908505320549,
0.016265016049146652,
0.02280006743967533,
-0.011427263729274273,
-0.02062171697616577,
-0.0450192429125309,
-0.04269566759467125,
0.025323323905467987,
-0.034036725759506226,
-0.004263667389750481,
-0.0020830475259572268,
-0.02526886574923992,
0.000008398385034524836,
-0.02641250006854534,
0.019732223823666573,
0.06117534264922142,
0.009493977762758732,
0.026176512241363525,
0.05220779776573181,
-0.014858165755867958,
0.007869291119277477,
0.0030315376352518797,
0.01116404589265585,
-0.08553656190633774,
-0.02958925999701023,
0.003213066840544343,
-0.02840932086110115,
-0.007383700460195541,
-0.0012990683317184448,
0.04806893318891525,
-0.0350169837474823,
-0.004356700927019119,
0.025994982570409775,
0.01565689407289028,
-0.018987955525517464,
-0.010882675647735596,
0.0052008116617798805,
0.044329430907964706,
0.025523006916046143,
-0.05402309074997902,
-0.013460390269756317,
-0.033782586455345154,
-0.0012775118229910731,
0.03443609178066254,
-0.01199000421911478,
-0.01955069601535797,
0.004433850757777691,
-0.053006526082754135,
-0.07428175210952759,
-0.011599715799093246,
-0.002970271511003375,
-0.03305646777153015,
-0.027465369552373886,
-0.009244374930858612,
0.014277271926403046,
0.03881094232201576,
0.009793500415980816,
-0.02051280066370964,
-0.039428144693374634,
0.04748804122209549,
0.005990463774651289,
-0.01533014141023159,
0.015112305991351604,
-0.005159967578947544,
-0.010419776663184166,
0.003655544249340892,
-0.001506692380644381,
-0.08604484051465988,
-0.015747658908367157,
-0.0718129500746727,
0.011354651302099228,
-0.06636707484722137,
0.05264347046613693,
-0.03881094232201576,
-0.015493517741560936,
-0.0478874035179615,
0.011499875225126743,
0.01071929931640625,
0.019133178517222404,
0.022346245124936104,
0.020984776318073273,
0.05184474214911461,
-0.015983646735548973,
0.006426133681088686,
-0.07101422548294067,
0.03125932812690735,
0.004633532837033272,
0.019060567021369934,
0.023526184260845184,
0.016537310555577278,
0.025577465072274208,
0.04004534333944321,
-0.0154572119936347,
-0.02712046355009079,
0.004256859887391329,
0.02962556667625904,
-0.0002574027457740158,
-0.008518258109688759,
0.07544353604316711,
0.01084636989980936,
0.00370319583453238,
-0.03234850615262985,
0.029534801840782166,
-0.008332190103828907,
0.08168814331293106,
0.007152250502258539,
0.005119123496115208,
-0.0223280917853117,
-0.0008004303090274334,
-0.004349893424659967,
-0.00840026419609785,
-0.029879707843065262,
0.057363227009773254,
-0.020712481811642647,
0.00024917718837969005,
-0.018661202862858772,
0.022019492462277412,
0.016383010894060135,
0.0009048096253536642,
-0.04302242025732994,
0.0821964219212532,
-0.01962330751121044,
-0.03474469110369682,
0.021493058651685715,
-0.020313117653131485,
-0.048540908843278885,
-0.02962556667625904,
0.028354862704873085,
0.041751716285943985,
0.016537310555577278,
0.023199431598186493,
-0.016891293227672577,
-0.0632447749376297,
0.0023144972510635853,
0.08393910527229309,
0.0015543438494205475,
0.03162238746881485,
-0.0471612885594368,
0.013914213515818119,
0.035398196429014206,
-0.03694119304418564,
-0.00532334391027689,
-0.00068130181171,
0.02594052255153656,
0.002516448497772217,
-0.0074109300039708614,
-0.004390737507492304,
-0.0342908650636673,
-0.034889914095401764,
0.007692300248891115,
0.004415697883814573,
-0.0037690000608563423,
-0.005731784738600254,
0.017526645213365555,
0.011200351640582085,
0.09780793637037277,
-0.05961419269442558,
0.015221224166452885,
-0.09831621497869492,
-0.016700686886906624,
-0.026957087218761444,
-0.05398678407073021,
0.004617649130523205,
0.02301790378987789,
-0.024397525936365128,
0.017036516219377518,
0.00196959194727242,
0.0432402566075325,
-0.024306761100888252,
-0.01922394335269928,
0.0050510503351688385,
0.012707044370472431,
0.01955069601535797,
-0.03454500809311867,
0.0273382980376482,
-0.01057407632470131,
0.03888355568051338,
-0.059795718640089035,
0.01525752991437912,
-0.008123432286083698,
-0.0518084354698658,
-0.003110956633463502,
0.0037531163543462753,
-0.0029226201586425304,
0.050973400473594666,
0.00017911827308125794,
-0.034254562109708786,
0.009566589258611202,
0.011073281057178974,
-0.015575205907225609,
-0.02579529955983162,
-0.04792371019721031,
0.0467982292175293,
0.07675054669380188,
-0.044111598283052444,
-0.022219175472855568,
-0.019986364990472794,
-0.028354862704873085,
0.0618288479745388,
0.0031949139665812254,
0.059832025319337845,
0.0378669910132885,
-0.011835704557597637,
0.026684792712330818,
0.013941442593932152,
-0.01918763667345047,
-0.062082987278699875,
0.009766271337866783,
-0.015357370488345623,
0.020167894661426544,
-0.06070336699485779,
-0.00898569542914629,
0.006035846192389727,
0.015665970742702484,
-0.03877463936805725,
0.02641250006854534,
0.11530735343694687,
0.0052008116617798805,
-0.05195365846157074,
-0.014622176997363567,
0.04690714552998543,
0.04055362567305565,
-0.021493058651685715,
-0.05580207705497742,
0.03527112305164337,
-0.033891502767801285,
-0.03458131477236748,
-0.10274553298950195,
0.022055799141526222,
0.03550711274147034,
-0.01779893785715103,
0.06168362498283386,
0.029425883665680885,
0.04487401992082596,
0.022055799141526222,
-0.024996571242809296,
-0.025541158393025398,
0.029988624155521393,
-0.08589962124824524,
-0.03837527334690094,
0.03979120030999184,
0.018025850877165794,
0.08117985725402832,
-0.0450192429125309,
-0.032602645456790924,
-0.016927598044276237,
-0.0360880047082901,
0.0020898550283163786,
0.07733143866062164,
-0.014912623912096024,
0.020857704803347588,
0.006394366268068552,
-0.0032811404671519995,
0.07017919421195984,
-0.0038552265614271164,
-0.0070161037147045135,
-0.023925548419356346,
0.06161101162433624,
0.048431992530822754,
-0.022890832275152206,
0.08154291659593582,
0.009312448091804981,
0.016056258231401443,
-0.01700928620994091,
0.00651236018165946,
-0.024960266426205635,
-0.011027899570763111,
0.002498295623809099,
-0.04560013487935066,
-0.02018604800105095,
-0.020839553326368332,
-0.02862715534865856,
-0.029934165999293327,
-0.027719508856534958,
-0.003784884000197053,
-0.027392756193876266,
-0.04029948264360428,
0.05166321247816086,
-0.022564079612493515,
-0.041860636323690414,
0.029680024832487106,
-0.0076469178311526775,
0.013142714276909828,
-0.03184022381901741,
0.017208969220519066,
0.023235738277435303,
0.015057847835123539,
-0.04095298796892166,
-0.03605170175433159,
-0.0007181749097071588,
0.024288607761263847,
-0.04316764324903488,
0.010928058065474033,
0.04741542786359787,
0.0028568159323185682,
0.020095283165574074,
-0.02468797191977501,
0.025414088740944862,
-0.035289276391267776,
-0.01989560015499592,
-0.00416382635012269,
-0.008840472437441349,
-0.03345583379268646,
0.012162456288933754,
-0.0019276132807135582,
0.011309269815683365,
-0.007851137779653072,
-0.012943032197654247,
0.04236891493201256,
0.050828177481889725,
-0.015702275559306145,
0.05398678407073021,
-0.015112305991351604,
-0.0027751277666538954,
-0.07449958473443985,
-0.05249824747443199,
0.10063979029655457,
-0.0008991368231363595,
-0.0560925230383873,
-0.012534591369330883,
-0.012888573110103607,
-0.02715676836669445,
0.06596771627664566,
-0.006498745642602444,
-0.07420913875102997,
0.017163585871458054,
0.0321488231420517,
-0.12561820447444916,
-0.05021097883582115,
0.027211228385567665,
-0.0017438149079680443,
-0.027211228385567665,
-0.02505102939903736,
0.04585427790880203,
-0.02519625425338745,
-0.005504873115569353,
-0.010083947330713272,
0.03084181249141693,
0.01804400235414505,
0.0550396554172039,
-0.06883587688207626,
-0.055402714759111404,
-0.014994312077760696,
0.009366907179355621,
0.004152480512857437,
-0.01675514504313469,
0.06712950021028519,
-0.020984776318073273,
-0.024107078090310097,
0.08117985725402832,
0.018987955525517464,
0.027882885187864304,
0.04897657781839371,
0.010483311489224434,
-0.041715409606695175,
-0.021674586459994316,
0.0029657334089279175,
0.06186515465378761,
0.044075291603803635,
-0.024234149605035782,
-0.027846580371260643,
-0.06702058017253876,
-0.0009904687758535147,
0.013696378096938133,
-0.04280458763241768,
-0.011527104303240776,
-0.01483093574643135,
-0.004674376919865608,
0.13142713904380798,
0.060122471302747726,
-0.02114815264940262,
0.0273382980376482,
-0.027755815535783768,
-0.04236891493201256,
0.03207620978355408,
0.043821148574352264,
-0.033891502767801285,
0.006122072227299213,
-0.02051280066370964,
0.0811072513461113,
0.039609670639038086,
0.041679106652736664,
-0.031676847487688065,
-0.008495566435158253,
-0.04999314248561859,
-0.022037645801901817,
-0.03819374367594719,
-0.014340806752443314,
0.09192638844251633,
0.018697507679462433,
0.015965493395924568,
-0.062300823628902435,
-0.029752636328339577,
-0.03369181975722313,
0.03449054807424545,
0.0026730175595730543,
0.050428811460733414,
-0.027882885187864304,
-0.026993392035365105,
0.09744487702846527,
-0.039900120347738266,
-0.05366003140807152,
-0.015411829575896263,
0.060195084661245346,
0.0496663898229599,
-0.011254810728132725,
0.01302472036331892,
0.008382110856473446,
-0.028808685019612312,
-0.039319224655628204,
-0.017817091196775436,
0.0026798248291015625,
0.007061486132442951,
-0.017208969220519066,
0.034998830407857895,
0.03804852068424225,
0.03902877867221832,
-0.015702275559306145,
0.037649158388376236,
-0.008295884355902672,
0.008509181439876556,
-0.025704534724354744,
-0.033673666417598724,
-0.03233035281300545,
0.007773988414555788,
0.021928727626800537,
0.021384140476584435,
-0.017454033717513084,
-0.10296336561441422,
-0.015992723405361176,
-0.019677765667438507,
0.04530968889594078,
0.00215339008718729,
0.05424092710018158,
-0.030569517984986305,
0.013905136846005917,
0.055475324392318726,
-0.04098929464817047,
-0.03474469110369682,
-0.023344656452536583,
-0.01778986118733883,
0.003989104181528091,
0.02608574740588665,
0.01206261571496725,
-0.006630354095250368,
-0.026739252731204033,
0.0496663898229599,
0.024215996265411377,
-0.057218004018068314,
0.018025850877165794,
-0.029916012659668922,
0.0032902169041335583,
-0.03812113404273987,
0.02343541942536831,
-0.03414564207196236,
0.019695919007062912,
0.05936004966497421,
0.005917852278798819,
0.004651685710996389,
0.015357370488345623,
-0.0029657334089279175,
0.050791870802640915,
-0.00970273558050394,
0.025523006916046143,
0.025323323905467987,
-0.04454726725816727,
0.0011924200225621462,
-0.003176761092618108,
0.043893761932849884,
0.018661202862858772,
0.029607413336634636,
-0.0017449494916945696,
-0.02741090953350067,
0.07311996072530746,
-0.018679354339838028,
0.06095750629901886,
0.028790531679987907,
0.0235806442797184,
-0.012298603542149067,
0.0643339529633522,
-0.03567048907279968,
0.09098243713378906,
-0.005336958449333906,
-0.023489879444241524,
0.09308817982673645,
0.005477643571794033,
0.015212147496640682,
0.014458801597356796,
-0.06132056564092636,
-0.02579529955983162,
0.03158608078956604,
0.02683001570403576,
-0.052679773420095444,
-0.026358040049672127,
0.012997491285204887,
0.06099381297826767,
0.01686406321823597,
-0.04255044460296631,
-0.05162690579891205,
0.02354433760046959,
0.04374853894114494,
0.00010650658805388957,
-0.014994312077760696,
0.031604234129190445,
0.06905370950698853,
0.04530968889594078,
0.024343065917491913,
-0.01926024816930294,
-0.01761741004884243,
-0.01295210886746645,
0.002452913438901305,
0.018180150538682938,
-0.008618098683655262,
-0.03450870141386986,
-0.0012003618758171797,
0.031059646978974342,
-0.021384140476584435,
0.04995683580636978,
-0.04705236852169037,
0.006775577552616596,
0.004787832964211702,
-0.062228210270404816,
-0.018180150538682938,
0.05278869345784187,
0.019641460850834846,
0.02243700996041298,
0.003596547292545438,
-0.02837301418185234,
0.0040004500187933445,
-0.08415693789720535,
0.06640338152647018,
0.01136372797191143,
-0.05260716378688812,
-0.031277481466531754,
-0.01718173921108246,
0.04516446590423584,
-0.008359420113265514,
-0.015230299904942513,
-0.011899239383637905,
-0.02697524055838585,
0.04229630529880524,
0.018198302015662193,
-0.039900120347738266,
-0.02686632238328457,
-0.019986364990472794,
-0.03557972237467766,
-0.02472427859902382,
0.026103898882865906,
0.02225548028945923,
-0.023181280121207237,
0.011944621801376343,
-0.015293835662305355,
-0.024361219257116318,
0.023090515285730362,
-0.01797139085829258,
0.10499649494886398,
-0.05848870798945427,
0.021928727626800537,
-0.010301782749593258,
0.01604718156158924,
0.05173582211136818,
0.01944177784025669,
-0.057399533689022064,
0.0023326503578573465,
-0.048214156180620193,
-0.03659628704190254,
0.029062826186418533,
-0.039900120347738266,
0.027283839881420135,
0.01989560015499592,
-0.010882675647735596,
-0.07341041415929794,
-0.007583382539451122,
0.04683453589677811,
0.02236439846456051,
0.01686406321823597,
-0.05351480841636658,
0.10819140821695328,
-0.024488288909196854,
-0.0017324693035334349,
0.04937594383955002,
-0.0585976280272007,
0.012443826533854008,
0.021946880966424942,
0.06948938220739365,
0.033492136746644974,
-0.06371675431728363,
0.02247331477701664,
0.01718173921108246,
0.05888807401061058,
-0.07435436546802521,
-0.05471290275454521,
-0.03051505982875824,
-0.017735403031110764,
0.0030156539287418127,
0.00705694779753685,
0.007778526283800602,
-0.017817091196775436,
-0.07471741735935211,
-0.0002348534035263583,
0.007315626833587885,
0.029861554503440857,
-0.039391838014125824,
0.03768546134233475,
0.04244152829051018,
-0.0343090184032917,
-0.0007817101432010531,
-0.06026769429445267,
-0.048867661505937576,
0.00574539927765727,
0.01564781740307808,
-0.05692755803465843,
-0.023344656452536583,
-0.04676192253828049,
0.037649158388376236,
-0.003975489642471075,
-0.011136816814541817,
-0.024379372596740723,
0.019387319684028625,
-0.043821148574352264,
0.003505782689899206,
-0.004960285499691963,
-0.006702966056764126,
0.009784423746168613,
-0.012489208951592445,
0.005228041205555201,
-0.04153388366103172,
0.041860636323690414,
-0.022182868793606758,
0.004901288542896509,
-0.005704555194824934,
0.05819826200604439,
0.06168362498283386,
-0.01651008054614067,
-0.04353070259094238,
-0.009775348007678986,
-0.0007215786026790738,
-0.007238477002829313,
-0.015675047412514687,
-0.010746529325842857,
0.004315856844186783,
0.03870202600955963,
-0.01651008054614067,
-0.06992504745721817,
-0.026212817057967186,
-0.016319476068019867,
0.042114775627851486,
-0.004901288542896509,
-0.010347164236009121,
-0.0019083258230239153,
0.000639890437014401,
0.022672997787594795,
-0.02176535129547119,
0.0503925085067749,
0.08880408853292465,
-0.026249123737215996,
-0.04494662955403328,
0.016301322728395462,
-0.04498293623328209,
0.012098921462893486,
0.00885862484574318,
-0.07366455346345901,
-0.014377113431692123,
-0.03597908839583397,
-0.022219175472855568,
-0.021601974964141846,
0.003099611261859536,
-0.0026934396009892225,
-0.05017467215657234,
0.02140229381620884,
0.03921030834317207,
-0.02715676836669445,
-0.030859963968396187,
0.04236891493201256,
-0.030787352472543716,
0.0024007237516343594,
0.034109339118003845,
-0.016192404553294182,
0.00845018494874239,
0.04276828095316887,
0.026503263041377068,
-0.019877448678016663,
0.06044922396540642,
0.04131604731082916,
0.05616513639688492,
0.003966412972658873,
0.03318353742361069,
0.06404350697994232,
-0.055221185088157654,
-0.04552752524614334,
0.02790103852748871,
-0.000766393612138927,
0.030823659151792526,
0.008041744120419025,
0.02790103852748871,
-0.04737912118434906,
0.025214405730366707
]
|
43,875 | pdf2docx.page.Page | restore | Restore Layout from parsed results. | def restore(self, data:dict):
'''Restore Layout from parsed results.'''
# page id
self.id = data.get('id', -1)
# page width/height
self.width = data.get('width', 0.0)
self.height = data.get('height', 0.0)
self.margin = data.get('margin', (0,) * 4)
# parsed layout
self.sections.restore(data.get('sections', []))
self.header = data.get('header', '')
self.footer = data.get('footer', '')
# float images
self._restore_float_images(data.get('floats', []))
# Suppose layout is finalized when restored; otherwise, set False explicitly
# out of this method.
self._finalized = True
return self
| (self, data: dict) | [
0.011507057584822178,
0.00942289363592863,
-0.014518498443067074,
-0.03198662027716637,
-0.029301932081580162,
0.023226065561175346,
-0.01656733825802803,
-0.014836421236395836,
-0.03198662027716637,
0.020576704293489456,
-0.017406301572918892,
-0.01691175438463688,
-0.019905531778931618,
0.015825515612959862,
-0.017945004627108574,
0.007042884826660156,
-0.025292566046118736,
0.027641667053103447,
-0.03970509022474289,
-0.047335248440504074,
0.000004333671768108616,
-0.04012898728251457,
0.014412524178624153,
0.06619869917631149,
0.006892754230648279,
-0.07439405471086502,
-0.01181615050882101,
-0.030467651784420013,
0.046876028180122375,
-0.004945473745465279,
-0.039669767022132874,
0.0269528329372406,
0.0322868786752224,
0.028383487835526466,
-0.011021342128515244,
-0.028259851038455963,
-0.006106777116656303,
-0.031721681356430054,
0.01742396503686905,
0.04309627413749695,
-0.020223455503582954,
-0.04977266117930412,
-0.047335248440504074,
-0.030255703255534172,
0.01216056663542986,
0.018651502206921577,
0.018739813938736916,
-0.03138609603047371,
-0.008270421996712685,
-0.04804174602031708,
0.0209122896194458,
0.00657483097165823,
-0.02843647450208664,
0.060794003307819366,
0.011542382650077343,
0.026387635618448257,
-0.008694319985806942,
0.07672549784183502,
0.04270770028233528,
-0.04560433328151703,
-0.012540308758616447,
-0.026793871074914932,
-0.06800026446580887,
-0.025027630850672722,
-0.010994847863912582,
-0.01967592164874077,
0.00938756950199604,
-0.02386191114783287,
-0.04348484426736832,
-0.0067867799662053585,
-0.07326366007328033,
0.02223696932196617,
0.0175387691706419,
0.051079679280519485,
0.04080015793442726,
-0.02135385014116764,
0.004276510328054428,
-0.03158038482069969,
-0.010756406001746655,
0.025080617517232895,
-0.01763591356575489,
-0.02246658131480217,
0.007343145553022623,
0.03712637722492218,
-0.013502909801900387,
-0.018315915018320084,
0.09905077517032623,
0.04465056583285332,
0.0021106575150042772,
-0.02423282153904438,
0.04864226654171944,
0.00990861002355814,
-0.03843339532613754,
-0.005470930598676205,
0.0026228674687445164,
-0.000458394642919302,
-0.012240047566592693,
-0.001384291099384427,
-0.04571031033992767,
-0.029337257146835327,
-0.03196895495057106,
-0.010615106672048569,
-0.05387033894658089,
-0.03850404545664787,
-0.017582925036549568,
-0.03551910072565079,
0.04892486706376076,
-0.011930955573916435,
-0.024515420198440552,
0.03573104739189148,
0.04027028754353523,
-0.04970201104879379,
-0.10321910679340363,
0.11007212102413177,
0.03396480903029442,
-0.025804776698350906,
-0.0434495210647583,
-0.027782965451478958,
-0.01216056663542986,
-0.034070782363414764,
-0.05309319496154785,
0.0021106575150042772,
-0.052174750715494156,
0.023685287684202194,
-0.03666715696454048,
0.009029905311763287,
0.026793871074914932,
0.009299256838858128,
0.020894628018140793,
-0.028754398226737976,
0.014836421236395836,
-0.032816752791404724,
-0.05245734751224518,
-0.015816684812307358,
-0.01709721051156521,
-0.02188372239470482,
0.039881713688373566,
-0.004210276063531637,
-0.04892486706376076,
0.029867129400372505,
-0.02704114466905594,
0.03544845059514046,
-0.00834107119590044,
0.05920438840985298,
0.0013037064345553517,
-0.023314377292990685,
0.033540911972522736,
0.05885113775730133,
-0.06542155146598816,
0.015366293489933014,
0.012275372631847858,
-0.01995852030813694,
0.02746504172682762,
0.012019267305731773,
0.029637519270181656,
-0.03527182713150978,
-0.026087375357747078,
-0.037903524935245514,
-0.024921655654907227,
-0.010376663878560066,
0.030167391523718834,
-0.0034640394151210785,
0.06616337597370148,
-0.04984331130981445,
-0.016487857326865196,
-0.0007191910990513861,
0.04094145819544792,
-0.06549220532178879,
-0.012293035164475441,
0.01570187881588936,
-0.003817287739366293,
-0.011710175313055515,
-0.10449080169200897,
0.017812537029385567,
-0.040093664079904556,
0.01733565144240856,
0.021477486938238144,
-0.036419883370399475,
-0.0034883252810686827,
0.04359082132577896,
0.0026891015004366636,
0.001719876891002059,
-0.021989695727825165,
0.05245734751224518,
0.01454499177634716,
-0.04235444962978363,
-0.021972034126520157,
0.007908342406153679,
0.045180436223745346,
0.0029606609605252743,
-0.031792331486940384,
-0.012637452222406864,
-0.033770520240068436,
-0.04500381276011467,
0.031138822436332703,
-0.005532748997211456,
-0.026122700423002243,
-0.025380877777934074,
0.05849789083003998,
-0.023967886343598366,
0.027800628915429115,
-0.08605124801397324,
0.06754104048013687,
-0.014359536580741405,
-0.02386191114783287,
0.03615494817495346,
-0.044367965310811996,
-0.030026091262698174,
-0.007683146744966507,
0.05397631600499153,
0.01369719672948122,
0.0017949420725926757,
0.02783595211803913,
-0.03297571465373039,
0.0362432599067688,
-0.05266929790377617,
-0.0031483240891247988,
-0.01189563050866127,
0.01432421151548624,
-0.023014115169644356,
-0.005674048326909542,
0.04595758393406868,
-0.049030840396881104,
-0.04263705015182495,
-0.028842709958553314,
-0.045109786093235016,
-0.021018264815211296,
-0.06775299459695816,
-0.010032246820628643,
0.018828125670552254,
-0.00005298721953295171,
-0.06602207571268082,
-0.030220378190279007,
-0.02792426571249962,
0.04722927510738373,
-0.02356165088713169,
-0.01782136783003807,
-0.016646819189190865,
-0.0181216299533844,
0.03055596351623535,
0.006239245180040598,
0.005788853857666254,
0.0015178631292656064,
-0.0008687696536071599,
-0.05242202430963516,
0.028701411560177803,
-0.007599250413477421,
-0.0181216299533844,
0.0075860037468373775,
0.009996921755373478,
0.007095871958881617,
-0.05899243801832199,
0.03705573081970215,
0.029443232342600822,
0.06694052368402481,
0.013361610472202301,
-0.035165850073099136,
0.009219775907695293,
0.009467050433158875,
-0.011003679595887661,
0.07524184882640839,
-0.07792653888463974,
0.0059919715858995914,
-0.014968889765441418,
0.08308395743370056,
-0.017768381163477898,
-0.006777948699891567,
-0.028895696625113487,
-0.003914430737495422,
-0.0054885926656425,
0.04549835994839668,
0.0005679567693732679,
0.026864521205425262,
0.038115475326776505,
0.019605271518230438,
0.02137151174247265,
0.029867129400372505,
-0.04641680419445038,
-0.0013246805174276233,
0.039669767022132874,
0.07948082685470581,
-0.025963738560676575,
0.011842643842101097,
-0.01421823725104332,
0.06895403563976288,
-0.05673164874315262,
-0.020135143771767616,
0.04012898728251457,
0.007104703225195408,
-0.008009901270270348,
0.03271077573299408,
0.033929482102394104,
-0.034865591675043106,
-0.02864842303097248,
-0.017000066116452217,
0.018457215279340744,
-0.06800026446580887,
0.0089460089802742,
-0.03889261931180954,
0.02062969096004963,
0.015163175761699677,
-0.06616337597370148,
0.10816457867622375,
0.014686291106045246,
0.041647955775260925,
0.019340334460139275,
-0.027571016922593117,
0.018810462206602097,
0.04539238661527634,
-0.02599906176328659,
0.025734126567840576,
0.022007359191775322,
0.003216765820980072,
0.0017088378081098199,
-0.07594835013151169,
-0.0235793124884367,
0.05058513209223747,
-0.017485782504081726,
0.021035926416516304,
0.042531076818704605,
-0.03271077573299408,
-0.045039135962724686,
-0.019711246713995934,
-0.02304944023489952,
0.09657803922891617,
-0.026846857741475105,
-0.0013257843675091863,
-0.03373519703745842,
0.038715995848178864,
0.016770455986261368,
0.001342342933639884,
-0.00975847989320755,
-0.012973037548363209,
0.007246002554893494,
-0.006239245180040598,
-0.06015815585851669,
-0.025027630850672722,
-0.017733056098222733,
-0.024038534611463547,
-0.050196558237075806,
0.039952363818883896,
-0.010102896951138973,
0.0023755936417728662,
-0.03843339532613754,
0.05666100233793259,
0.038256771862506866,
0.021265538409352303,
-0.044827189296483994,
0.010888873599469662,
0.019463971257209778,
-0.0543648861348629,
-0.03218090534210205,
0.00921094510704279,
0.025310229510068893,
0.011215628124773502,
-0.04005833715200424,
0.024780357256531715,
-0.03666715696454048,
-0.0005273884162306786,
-0.019252022728323936,
0.0766548439860344,
0.03331129997968674,
-0.08230681717395782,
0.0069015854969620705,
0.01914604939520359,
-0.03401779383420944,
-0.0787743330001831,
0.014951227232813835,
0.028383487835526466,
0.00716210575774312,
0.0019748779013752937,
-0.05584853142499924,
-0.01863383874297142,
-0.009573024697601795,
0.030732586979866028,
0.02923128381371498,
-0.005413527600467205,
0.049384087324142456,
-0.026281660422682762,
-0.050479158759117126,
0.014059275388717651,
0.02483334392309189,
0.028224525973200798,
0.000825717521365732,
0.02960219420492649,
-0.03808014839887619,
-0.023738274350762367,
0.024427108466625214,
-0.031633369624614716,
-0.014456680044531822,
-0.015260319225490093,
0.04242509976029396,
0.0009394192602485418,
0.013229142874479294,
0.04631083086133003,
0.04793577268719673,
0.01461564190685749,
0.03334662318229675,
-0.01586967334151268,
0.0015774737112224102,
0.046063557267189026,
-0.06785896420478821,
-0.024851005524396896,
0.02032943069934845,
0.017159027978777885,
-0.04881889373064041,
0.03631390631198883,
-0.009528868831694126,
0.010491469874978065,
-0.02121254988014698,
0.07842108607292175,
-0.0008455876959487796,
0.008570683188736439,
0.009740817360579967,
0.07658419758081436,
0.05606047809123993,
0.10074637085199356,
0.08145902305841446,
-0.0009874389506876469,
0.012681608088314533,
0.008601591922342777,
0.11134380847215652,
0.034053120762109756,
0.017026560381054878,
0.024056198075413704,
-0.021636448800563812,
-0.06955455988645554,
-0.037091054022312164,
-0.05909841135144234,
0.03013206645846367,
0.006632233504205942,
-0.05266929790377617,
0.008522110991179943,
-0.026034386828541756,
0.00363624794408679,
0.006318726111203432,
-0.028224525973200798,
-0.00468053761869669,
-0.05489476025104523,
0.024144509807229042,
0.08541540056467056,
-0.017556432634592056,
0.02395022287964821,
-0.04729992523789406,
0.03896326944231987,
-0.010888873599469662,
-0.015834348276257515,
0.02569880150258541,
-0.05757944658398628,
-0.002870141062885523,
0.0119662806391716,
0.04419134184718132,
-0.007259249221533537,
-0.04638148099184036,
-0.027782965451478958,
-0.03808014839887619,
0.038115475326776505,
-0.006318726111203432,
-0.000797016080468893,
0.03341727331280708,
0.012275372631847858,
-0.06012283265590668,
-0.0192873477935791,
0.036419883370399475,
0.07312236726284027,
-0.007131196558475494,
-0.06185374781489372,
-0.004614303819835186,
-0.0696958601474762,
-0.04941941425204277,
-0.04539238661527634,
-0.054258912801742554,
-0.004556900821626186,
-0.003620793344452977,
0.019534621387720108,
0.014377199113368988,
0.00506469514220953,
-0.06118257716298103,
-0.018916437402367592,
0.013335117138922215,
0.02576945163309574,
-0.020347092300653458,
-0.0064114537090063095,
0.02409152314066887,
-0.051220979541540146,
-0.012257710099220276,
0.00043604066013358533,
0.009829129092395306,
-0.04549835994839668,
0.01886345073580742,
-0.00517508527263999,
0.006323141511529684,
-0.050337858498096466,
0.02372061274945736,
0.005532748997211456,
0.012637452222406864,
0.015375125221908092,
0.019976181909441948,
-0.008023148402571678,
-0.09438790380954742,
0.036048971116542816,
-0.06641064584255219,
0.052704621106386185,
0.0025787113700062037,
0.009776142425835133,
0.03223389387130737,
0.018103966489434242,
0.03106817416846752,
0.036048971116542816,
0.027641667053103447,
-0.08485019952058792,
0.0010111727751791477,
0.009705492295324802,
0.03744430094957352,
-0.028966346755623817,
0.03327597305178642,
-0.036949753761291504,
0.016947079449892044,
0.010147052817046642,
0.010182377882301807,
0.021053588017821312,
0.01631123200058937,
0.026652570813894272,
-0.009078476577997208,
-0.0181216299533844,
0.058215294033288956,
-0.030608950182795525,
-0.033028699457645416,
0.04108275845646858,
-0.023014115169644356,
-0.015966815873980522,
-0.05613112822175026,
0.04475653916597366,
0.020364755764603615,
0.001275004935450852,
0.0045922258868813515,
-0.019976181909441948,
-0.06701117008924484,
-0.04104743152856827,
-0.021389175206422806,
-0.0016955910250544548,
0.01668214239180088,
-0.02718244306743145,
-0.010526794008910656,
0.04284899681806564,
0.06814156472682953,
-0.0007070482242852449,
0.06697584688663483,
0.003090921090915799,
0.013131999410688877,
-0.06432648748159409,
-0.047405898571014404,
0.05309319496154785,
-0.034653641283512115,
-0.0053914496675133705,
-0.0039894962683320045,
0.016408376395702362,
0.0018280590884387493,
0.07375820726156235,
-0.03924586623907089,
-0.0070561314933001995,
0.0041043017990887165,
-0.030149728059768677,
-0.00396741833537817,
-0.00067945069167763,
0.023385025560855865,
0.0022629958111792803,
0.007303405087441206,
-0.06517428159713745,
0.00468053761869669,
0.056978922337293625,
-0.03329363837838173,
0.05835659056901932,
-0.016505518928170204,
0.053729042410850525,
-0.006208335980772972,
0.015428111888468266,
0.04846564307808876,
-0.0051706694066524506,
-0.022272294387221336,
0.0699431300163269,
-0.0036605338100343943,
0.031845320016145706,
-0.03917521983385086,
-0.042107176035642624,
-0.029566869139671326,
-0.007268080487847328,
0.04288432374596596,
0.06485635787248611,
-0.012822907418012619,
-0.012513815425336361,
0.03343493491411209,
0.008866528049111366,
-0.007113534491509199,
-0.01612577773630619,
0.019022412598133087,
0.041577305644750595,
-0.03544845059514046,
-0.04235444962978363,
-0.02349100075662136,
-0.023102428764104843,
0.058073993772268295,
-0.026087375357747078,
0.023067103698849678,
-0.00651742797344923,
0.012637452222406864,
0.035837024450302124,
0.08506215363740921,
0.01352057233452797,
-0.025469191372394562,
0.0511150062084198,
-0.04118873178958893,
0.04963136464357376,
-0.03744430094957352,
-0.00830574706196785,
-0.03758560121059418,
0.005422358866780996,
-0.030467651784420013,
-0.04560433328151703,
0.000789840763900429,
0.010297182947397232,
-0.006168595515191555,
-0.011180303059518337,
0.021318525075912476,
-0.05415293946862221,
0.024409446865320206,
0.03085622377693653,
0.03442402929067612,
0.026263998821377754,
-0.008906268514692783,
0.019640596583485603,
-0.06739974021911621,
0.027871277183294296,
-0.012478490360081196,
-0.007356392219662666,
0.02283749170601368,
0.014951227232813835,
0.034212082624435425,
0.029796479269862175,
-0.02511594258248806,
0.0829426646232605,
-0.03917521983385086,
0.03324064984917641,
-0.02047072909772396,
-0.00936107523739338,
-0.013264467008411884,
0.04447393864393234,
-0.021830733865499496,
0.023614637553691864,
0.02969050593674183,
-0.03158038482069969,
0.008389643393456936,
-0.0008709774119779468,
-0.015569411218166351,
-0.010509132407605648,
0.05581320449709892,
0.05016123503446579,
-0.003748845774680376,
-0.03140375763177872,
-0.007912757806479931,
-0.05750879645347595,
0.014191743917763233,
-0.03468896821141243,
-0.015860840678215027,
0.1273106336593628,
0.06566882878541946,
-0.0296198558062315,
0.11113186180591583,
0.0539056658744812,
-0.056978922337293625,
-0.03652585670351982,
0.05987555906176567,
0.031244797632098198,
0.022925803437829018,
0.004417809657752514,
-0.04196587949991226,
0.003987288102507591,
-0.07933953404426575,
0.04048223793506622,
0.018757475540041924,
-0.0341590940952301,
0.04412069171667099,
-0.030079077929258347,
-0.019940856844186783,
-0.04867759346961975,
0.05164487659931183,
-0.02813621424138546,
-0.03235752880573273,
0.0002969492052216083,
0.01513668242841959,
0.012981869280338287,
-0.011100823059678078,
0.03808014839887619,
-0.03772690147161484,
-0.02887803502380848,
-0.016161102801561356,
0.011586538515985012,
-0.04140068218111992,
0.051220979541540146,
-0.015339800156652927,
0.02614036202430725,
-0.026016725227236748,
-0.009414062835276127,
0.011948618106544018,
-0.0022144243121147156,
-0.0018843580037355423,
-0.003331571351736784,
0.008288084529340267,
-0.04864226654171944,
-0.005691710393875837,
0.03412377089262009,
0.03800949826836586,
-0.012902388349175453,
0.018969424068927765,
0.04288432374596596,
0.03387649729847908,
-0.02688218280673027,
-0.015781359747052193,
-0.024656720459461212,
-0.010359001345932484,
-0.01609928347170353,
0.03952846676111221,
-0.008685488253831863,
0.017945004627108574,
-0.0012650699354708195,
0.04147133231163025,
-0.0018556566210463643,
-0.08866528421640396,
0.03055596351623535,
0.020947614684700966,
-0.02009981870651245,
0.0044796280562877655,
0.0031394928228110075,
-0.017997993156313896,
-0.0235793124884367,
0.0022078007459640503,
0.03924586623907089,
0.029937779530882835,
-0.001467083697207272,
0.02070034109055996,
0.0019218906527385116,
0.03573104739189148,
-0.021406836807727814,
0.06655194610357285,
-0.08598059415817261,
-0.03020271472632885,
0.054400213062763214,
0.04602823033928871,
-0.03843339532613754,
0.07686679065227509,
0.02107125148177147,
0.03666715696454048,
0.0019207866862416267,
0.03551910072565079,
-0.04366146773099899,
0.018245266750454903,
0.0636553168296814,
-0.016063958406448364,
0.06033478304743767,
-0.0011701344046741724,
-0.0005458787782117724,
-0.01870448887348175,
-0.050337858498096466,
0.039952363818883896,
0.04793577268719673,
0.034794941544532776,
0.035837024450302124,
0.002223255345597863
]
|
43,876 | pdf2docx.page.Page | store | Store parsed layout in dict format. | def store(self):
'''Store parsed layout in dict format.'''
res = {
'id' : self.id,
'width' : self.width,
'height' : self.height,
'margin' : self.margin,
'sections': self.sections.store(),
'header' : self.header,
'footer' : self.footer,
'floats' : self.float_images.store()
}
return res
| (self) | [
-0.0005453142221085727,
-0.01782059855759144,
-0.0431554913520813,
-0.035675667226314545,
0.025059139356017113,
0.04939442500472069,
-0.04574068635702133,
0.01713983155786991,
-0.0651123970746994,
0.015450838021934032,
0.024490397423505783,
-0.023887185379862785,
-0.009832351468503475,
0.020130038261413574,
0.014959651045501232,
-0.008987855166196823,
-0.010435563512146473,
-0.05425458773970604,
-0.05639168247580528,
-0.02202584594488144,
-0.02064707688987255,
-0.04932548850774765,
0.07355736196041107,
0.022508416324853897,
0.0065922425128519535,
-0.03860555216670036,
0.037881698459386826,
-0.03328005596995354,
0.049670178443193436,
0.026075981557369232,
-0.021715622395277023,
-0.031349778175354004,
0.051014479249715805,
0.03784722834825516,
-0.022715231403708458,
-0.021284757182002068,
-0.019802579656243324,
-0.0066784159280359745,
0.010694082826375961,
0.014347822405397892,
0.017855068668723106,
-0.01052173599600792,
-0.04873950779438019,
-0.03581354394555092,
-0.012943200767040253,
0.054082240909338,
0.022370539605617523,
-0.012615743093192577,
0.05335838720202446,
-0.06804228574037552,
0.011960827745497227,
-0.01140070240944624,
-0.04281080141663551,
0.04742967709898949,
-0.006320797372609377,
-0.024490397423505783,
0.0020853891037404537,
0.047670964151620865,
0.017191534861922264,
0.005614177789539099,
-0.03309047222137451,
-0.012236581183969975,
0.019768111407756805,
-0.02778220921754837,
-0.034900110214948654,
-0.018010178580880165,
-0.05332391709089279,
0.009211905300617218,
-0.004942027851939201,
0.015226787887513638,
-0.006734428461641073,
-0.048325877636671066,
0.030332934111356735,
0.022508416324853897,
-0.00916020106524229,
-0.016786521300673485,
0.010220130905508995,
-0.014468465000391006,
0.01515784952789545,
0.021233053877949715,
-0.06818016618490219,
0.0017773202853277326,
-0.010090870782732964,
0.023887185379862785,
0.05466821789741516,
0.019595764577388763,
0.030160587280988693,
0.05783938989043236,
-0.020043864846229553,
-0.0270928256213665,
0.035675667226314545,
0.05897687375545502,
-0.007889147847890854,
0.02435252070426941,
-0.024059532210230827,
-0.01115941721946001,
-0.010840577073395252,
-0.03619270399212837,
-0.0070231081917881966,
0.010090870782732964,
-0.06556049734354019,
0.01876850239932537,
-0.06245826929807663,
-0.03300429880619049,
-0.05528866499662399,
-0.05225537344813347,
0.03836426883935928,
-0.03939834609627724,
-0.03181511163711548,
0.04667135328054428,
0.055909112095832825,
-0.01864786073565483,
-0.07362630218267441,
0.07969289273023605,
0.034331366419792175,
-0.009978845715522766,
-0.029023103415966034,
-0.007350565865635872,
-0.00002933588439191226,
-0.03836426883935928,
-0.06786993891000748,
-0.004765372723340988,
-0.026007043197751045,
0.040329013019800186,
-0.036985497921705246,
0.04663688689470291,
-0.00990990735590458,
-0.005924401339143515,
0.02798902615904808,
-0.01775166019797325,
0.02847159467637539,
-0.018544452264904976,
-0.01199529692530632,
-0.017191534861922264,
0.008479434065520763,
-0.01315863337367773,
0.037709351629018784,
-0.024128470569849014,
-0.033917736262083054,
0.03912259265780449,
-0.01790677197277546,
0.028833521530032158,
-0.009177436120808125,
0.04291420802474022,
-0.04439638555049896,
-0.02064707688987255,
-0.007518603466451168,
0.027041120454669,
-0.07748685777187347,
-0.03300429880619049,
0.026696428656578064,
-0.012202112004160881,
0.057908326387405396,
0.026868775486946106,
-0.013244806788861752,
-0.010030549950897694,
-0.011512727476656437,
0.022336069494485855,
0.005273794289678335,
-0.019854284822940826,
-0.014046216383576393,
-0.022249896079301834,
0.04560280963778496,
-0.0009710632148198783,
-0.027954556047916412,
0.024421459063887596,
0.05976966768503189,
-0.07190284132957458,
-0.000735164328943938,
0.0025744216982275248,
-0.016657261177897453,
-0.03939834609627724,
-0.0934116467833519,
0.01390833966434002,
-0.08045121282339096,
-0.008944768458604813,
0.02557617798447609,
-0.005902857985347509,
0.010935367085039616,
0.025283189490437508,
0.03957068920135498,
-0.03660633787512779,
-0.03994985297322273,
0.0694899931550026,
0.00844496488571167,
-0.0451202392578125,
0.013942808844149113,
0.0008558066911064088,
0.07831411808729172,
0.021801795810461044,
-0.009065411053597927,
0.01856168732047081,
-0.07907244563102722,
-0.04439638555049896,
0.006273402366787195,
-0.011495492421090603,
-0.002298667561262846,
-0.034210722893476486,
-0.02035408839583397,
0.031884048134088516,
0.0025162547826766968,
-0.07900350540876389,
0.023680370301008224,
-0.00984958652406931,
0.01452016830444336,
0.021233053877949715,
-0.05359967425465584,
-0.05132470279932022,
-0.04418956860899925,
0.06962787359952927,
-0.0007216997910290956,
0.0009791419142857194,
-0.025283189490437508,
0.024386988952755928,
0.06518133729696274,
-0.063802570104599,
-0.015571480616927147,
0.04091499000787735,
-0.007053269073367119,
-0.055461011826992035,
0.013236189261078835,
0.02941949851810932,
0.0008455736096948385,
-0.025317659601569176,
-0.06135525181889534,
-0.06831803917884827,
-0.020216211676597595,
-0.0754876434803009,
-0.04405169188976288,
0.02280140481889248,
0.027144528925418854,
-0.03684762120246887,
-0.018044648692011833,
0.011245590634644032,
0.03781275823712349,
-0.006859379354864359,
-0.02521425113081932,
0.012003913521766663,
0.019595764577388763,
0.011590283364057541,
0.04443085566163063,
0.028057964518666267,
0.0022469637915492058,
-0.057046595960855484,
-0.04091499000787735,
-0.0028458668384701014,
0.03584801405668259,
0.004459458403289318,
-0.011435171589255333,
0.0031022317707538605,
0.02342185005545616,
-0.035106923431158066,
0.04694711044430733,
0.012202112004160881,
0.05046297237277031,
-0.0014811003347858787,
-0.0580117367208004,
0.04870504140853882,
0.028333717957139015,
-0.05318604037165642,
0.08438070863485336,
-0.012227963656187057,
0.029798660427331924,
0.00006782766286050901,
0.05739128962159157,
0.014528785832226276,
0.004959262441843748,
-0.004808459430932999,
-0.0651123970746994,
0.01439952664077282,
0.03498627990484238,
0.05046297237277031,
0.008552680723369122,
-0.014063451439142227,
0.013167250901460648,
-0.021974142640829086,
0.041432030498981476,
0.021388165652751923,
-0.0567019060254097,
0.026506848633289337,
0.04281080141663551,
-0.032745782285928726,
-0.0046404218301177025,
-0.006648255046457052,
0.04984252527356148,
-0.012477866373956203,
-0.01918213441967964,
0.03919152915477753,
0.017613783478736877,
-0.029833130538463593,
0.004980805795639753,
0.018027413636446,
-0.08748293668031693,
-0.023197799921035767,
0.012236581183969975,
0.03574460372328758,
-0.08224361389875412,
0.006445748265832663,
0.006148451007902622,
0.04291420802474022,
0.00400704937055707,
0.0019528981065377593,
0.10457967966794968,
0.05497844144701958,
0.005743437446653843,
0.028833521530032158,
-0.01892361417412758,
0.005928709637373686,
0.045258115977048874,
-0.027471987530589104,
0.012469248846173286,
0.018061883747577667,
0.03533097356557846,
0.06638776510953903,
-0.04491342231631279,
0.002208185847848654,
-0.02100900374352932,
0.0007410887046717107,
0.007906382903456688,
0.07714216411113739,
-0.022784169763326645,
-0.00016399819287471473,
-0.04243163764476776,
-0.004821385256946087,
0.13160356879234314,
-0.005777906626462936,
0.03067762590944767,
-0.043913815170526505,
0.049945931881666183,
0.044086162000894547,
-0.028867991641163826,
-0.008070111274719238,
-0.0030332934111356735,
0.048119064420461655,
0.004073833581060171,
-0.005829610861837864,
-0.00952212791889906,
-0.02166391909122467,
-0.03984644636511803,
-0.07403993606567383,
0.05508185178041458,
-0.027058355510234833,
-0.022990984842181206,
-0.009194670245051384,
0.011771246790885925,
-0.02798902615904808,
0.00895338598638773,
-0.05708106607198715,
-0.026007043197751045,
-0.005372893065214157,
-0.05763257294893265,
-0.028488829731941223,
0.01624363102018833,
0.04160437732934952,
0.020871127024292946,
-0.026334501802921295,
-0.018285933881998062,
-0.06504346430301666,
-0.0509110726416111,
0.009479042142629623,
0.06869719922542572,
0.026093216612935066,
-0.017286324873566628,
0.015778295695781708,
0.0007809437811374664,
0.0006398353143595159,
0.005980413872748613,
0.014494316652417183,
0.0477399006485939,
-0.03352133929729462,
0.007044651545584202,
-0.016252247616648674,
-0.03174617141485214,
0.012357223778963089,
0.023732073605060577,
0.035916950553655624,
0.001194574753753841,
0.05218643322587013,
-0.040811583399772644,
-0.08396707475185394,
-0.013124164193868637,
0.04625772312283516,
0.059011343866586685,
0.004812768194824457,
0.05339285731315613,
-0.05177280306816101,
0.023025454953312874,
0.009254992008209229,
-0.05311710387468338,
0.021681154146790504,
-0.026265563443303108,
0.03112572617828846,
-0.05163492634892464,
0.017605165019631386,
0.010375241748988628,
0.003899333067238331,
0.014649428427219391,
0.041432030498981476,
-0.03846767544746399,
0.002119858516380191,
0.06580178439617157,
-0.1173333004117012,
-0.01356364693492651,
0.02867840975522995,
0.00719976332038641,
-0.0741778090596199,
0.028816286474466324,
0.012003913521766663,
0.027178999036550522,
-0.005769289564341307,
0.05246218666434288,
-0.004019975662231445,
-0.010383859276771545,
-0.013106930069625378,
0.04443085566163063,
0.01554562896490097,
0.034934576600790024,
0.035106923431158066,
-0.004226790741086006,
0.045499399304389954,
0.0046404218301177025,
0.08899958431720734,
0.05683978274464607,
0.02790285274386406,
-0.001357226399704814,
-0.028006259351968765,
-0.06880060583353043,
-0.005321189295500517,
-0.04484448581933975,
0.025610648095607758,
0.01590755581855774,
0.021267522126436234,
0.01847551390528679,
-0.02790285274386406,
0.006437131203711033,
-0.029298856854438782,
0.036985497921705246,
-0.04553386941552162,
-0.022456711158156395,
0.03184958174824715,
0.08789657056331635,
-0.012365841306746006,
-0.01165060419589281,
0.025059139356017113,
0.017639635130763054,
-0.006829218938946724,
-0.0682835727930069,
0.014640810899436474,
-0.032694075256586075,
0.005041126627475023,
0.03226321190595627,
0.004386211279779673,
0.053254980593919754,
-0.03939834609627724,
0.004942027851939201,
-0.00811750628054142,
0.04163884371519089,
-0.07555658370256424,
-0.03300429880619049,
0.02521425113081932,
0.017475906759500504,
-0.047912247478961945,
-0.008944768458604813,
0.034572649747133255,
-0.014795922674238682,
-0.06197569891810417,
-0.05639168247580528,
0.017398349940776825,
-0.04139756038784981,
-0.00025434530107304454,
0.007397961337119341,
-0.0034878565929830074,
-0.05039403215050697,
-0.0251280777156353,
-0.039880912750959396,
-0.000049179263442056254,
0.020784953609108925,
-0.022163722664117813,
-0.05942497402429581,
-0.048980794847011566,
-0.005028200801461935,
-0.019957691431045532,
-0.04705051705241203,
0.007152367848902941,
-0.01205561775714159,
0.03365921601653099,
0.03905365243554115,
-0.004082451108843088,
-0.029109274968504906,
0.02199137769639492,
-0.053668610751628876,
-0.01918213441967964,
-0.022835873067378998,
0.004834311548620462,
0.017958475276827812,
0.03819192200899124,
0.02337014675140381,
0.02986759878695011,
-0.03733019158244133,
-0.03519309684634209,
0.017803363502025604,
-0.054151181131601334,
0.03026399575173855,
0.03602035716176033,
0.01733803004026413,
0.012133173644542694,
0.006273402366787195,
0.014839009381830692,
0.0011622598394751549,
0.022956516593694687,
-0.06207910552620888,
-0.040122199803590775,
0.01556286308914423,
0.018216995522379875,
-0.039674099534749985,
0.023680370301008224,
-0.054151181131601334,
0.021112412214279175,
-0.023439085111021996,
0.005579708609730005,
0.03595142066478729,
0.025972574949264526,
0.03643399104475975,
0.005084213335067034,
-0.018958084285259247,
0.08513902872800827,
-0.010108105838298798,
-0.045223645865917206,
0.00018486824410501868,
-0.008001172915101051,
-0.007031725719571114,
-0.025179782882332802,
0.022853108122944832,
0.04398275539278984,
-0.0274202823638916,
0.012064235284924507,
0.03460711985826492,
-0.01949235610663891,
-0.0747293159365654,
-0.04584409296512604,
0.0180791188031435,
-0.005347041413187981,
-0.020629841834306717,
-0.07059300690889359,
0.09506617486476898,
0.03784722834825516,
0.044982362538576126,
-0.006859379354864359,
0.020095568150281906,
-0.03333175927400589,
-0.036089297384023666,
-0.02921268343925476,
0.033555809408426285,
-0.06318212300539017,
0.03715784475207329,
-0.024283582344651222,
0.044810015708208084,
-0.02104347199201584,
0.058321960270404816,
-0.013580881990492344,
0.03215980529785156,
-0.002824323484674096,
-0.072316475212574,
0.00889306515455246,
-0.013167250901460648,
0.019768111407756805,
-0.002658440265804529,
0.0038928701542317867,
-0.06269955635070801,
0.0024688595440238714,
0.011271442286670208,
-0.002733841771259904,
0.07707322388887405,
-0.05821854993700981,
0.07300585508346558,
-0.006553465034812689,
-0.024076765403151512,
0.06800781935453415,
0.014235797338187695,
-0.05008380860090256,
0.026213860139250755,
0.037881698459386826,
0.0380195751786232,
0.0051488433964550495,
-0.007841752842068672,
-0.006333723198622465,
-0.0006355266668833792,
0.030281230807304382,
0.05046297237277031,
0.03571013733744621,
-0.025265954434871674,
-0.014925181865692139,
0.033641982823610306,
0.022611822932958603,
0.03467606008052826,
-0.011529961600899696,
-0.01521817035973072,
-0.0120987044647336,
-0.048980794847011566,
-0.040363483130931854,
-0.035675667226314545,
-0.004605952650308609,
-0.03365921601653099,
0.01643321104347706,
0.0232150349766016,
-0.012124556116759777,
0.05335838720202446,
0.07224753499031067,
-0.02819584123790264,
-0.04680923372507095,
-0.002813552040606737,
-0.05135917291045189,
0.05425458773970604,
-0.02831648290157318,
-0.012779471464455128,
-0.036744214594364166,
0.018061883747577667,
0.017019188031554222,
-0.04691264033317566,
-0.012314137071371078,
0.037192314863204956,
-0.0005356197361834347,
-0.013942808844149113,
-0.0018484131433069706,
-0.02957461029291153,
-0.0010890125995501876,
0.02125028893351555,
0.020991768687963486,
0.037019968032836914,
-0.010573440231382847,
0.024369753897190094,
-0.02774774096906185,
0.06283742934465408,
-0.0274202823638916,
0.004545631352812052,
0.00263043399900198,
0.05063531920313835,
0.023025454953312874,
0.03174617141485214,
-0.02157774567604065,
0.05708106607198715,
0.004666273947805166,
-0.0007410887046717107,
-0.049463365226984024,
0.023956123739480972,
0.004043673165142536,
0.05739128962159157,
-0.02199137769639492,
0.022077549248933792,
-0.003914413508027792,
-0.05001487210392952,
-0.03891577571630478,
-0.004950644914060831,
-0.060976091772317886,
-0.00038858686457388103,
0.07762473821640015,
0.009272226132452488,
-0.024249112233519554,
-0.069696806371212,
-0.022715231403708458,
-0.060562461614608765,
0.048153530806303024,
-0.0652158111333847,
-0.06425067037343979,
0.044568732380867004,
0.03963962942361832,
-0.06983468681573868,
0.07638384401798248,
0.01693301647901535,
-0.023180566728115082,
0.019233837723731995,
0.016915781423449516,
0.03846767544746399,
-0.0008477279334329069,
-0.025851931422948837,
-0.01602819748222828,
-0.013244806788861752,
-0.012133173644542694,
0.03165999799966812,
-0.01676066964864731,
-0.016545236110687256,
0.061010561883449554,
-0.01054758857935667,
0.01409792061895132,
-0.029160980135202408,
0.016329804435372353,
-0.027265170589089394,
-0.03390049934387207,
0.023714838549494743,
0.0030074415262788534,
0.024817854166030884,
-0.007889147847890854,
0.04222482442855835,
-0.024249112233519554,
-0.012262432835996151,
-0.01511476282030344,
0.06331999599933624,
-0.01396866049617529,
0.06180335208773613,
-0.017975710332393646,
-0.004198784474283457,
-0.017527610063552856,
0.006019191350787878,
0.00015861236897762865,
0.01909596100449562,
-0.029626313596963882,
0.006432822439819574,
0.047670964151620865,
-0.06045905128121376,
-0.011960827745497227,
0.03171170502901077,
0.045223645865917206,
0.007492751814424992,
0.01066823024302721,
-0.006975713185966015,
0.03215980529785156,
0.042328231036663055,
0.022870343178510666,
0.029609080404043198,
0.003931648097932339,
-0.01456325501203537,
0.05273794010281563,
0.013865252956748009,
-0.013692907057702541,
-0.03035016916692257,
0.02635173685848713,
0.028747348114848137,
-0.04653347656130791,
0.00726008415222168,
-0.007876222021877766,
-0.025386597961187363,
0.01844104565680027,
-0.017062274739146233,
0.012184876948595047,
-0.03777829185128212,
0.004942027851939201,
0.04560280963778496,
0.000014693187949887943,
-0.029385030269622803,
0.01407206803560257,
0.04484448581933975,
0.019681937992572784,
-0.018527217209339142,
0.03660633787512779,
-0.05687424913048744,
-0.03870895877480507,
0.07466038316488266,
0.041052866727113724,
-0.06018329784274101,
0.072316475212574,
0.005105756688863039,
0.06818016618490219,
0.011685073375701904,
0.04177672415971756,
-0.01490794774144888,
-0.008569915778934956,
0.06780099868774414,
-0.03970856964588165,
0.05242772027850151,
-0.026041513308882713,
-0.024059532210230827,
-0.09010259807109833,
-0.04418956860899925,
0.05914922058582306,
-0.008289853110909462,
0.024180173873901367,
0.026213860139250755,
0.029402263462543488
]
|
43,884 | pdf2docx.main | convert | Convert pdf file to docx file.
Args:
pdf_file (str) : PDF filename to read from.
docx_file (str, optional): docx filename to write to. Defaults to None.
password (str): Password for encrypted pdf. Default to None if not encrypted.
start (int, optional): First page to process. Defaults to 0.
end (int, optional): Last page to process. Defaults to None.
pages (list, optional): Range of pages, e.g. --pages=1,3,5. Defaults to None.
kwargs (dict) : Configuration parameters.
.. note::
Refer to :py:meth:`~pdf2docx.converter.Converter.convert` for detailed description
on above arguments.
| @staticmethod
def convert(pdf_file:str,
docx_file:str=None,
password:str=None,
start:int=0,
end:int=None,
pages:list=None,
**kwargs):
'''Convert pdf file to docx file.
Args:
pdf_file (str) : PDF filename to read from.
docx_file (str, optional): docx filename to write to. Defaults to None.
password (str): Password for encrypted pdf. Default to None if not encrypted.
start (int, optional): First page to process. Defaults to 0.
end (int, optional): Last page to process. Defaults to None.
pages (list, optional): Range of pages, e.g. --pages=1,3,5. Defaults to None.
kwargs (dict) : Configuration parameters.
.. note::
Refer to :py:meth:`~pdf2docx.converter.Converter.convert` for detailed description
on above arguments.
'''
# index starts from zero or one
if isinstance(pages, int): pages = [pages] # in case --pages=1
if not kwargs.get('zero_based_index', True):
start = max(start-1, 0)
if end: end -= 1
if pages: pages = [i-1 for i in pages]
cv = Converter(pdf_file, password)
try:
cv.convert(docx_file, start, end, pages, **kwargs)
except Exception as e:
logging.error(e)
finally:
cv.close()
| (pdf_file: str, docx_file: Optional[str] = None, password: Optional[str] = None, start: int = 0, end: Optional[int] = None, pages: Optional[list] = None, **kwargs) | [
-0.030400799587368965,
-0.0386221706867218,
0.012067144736647606,
0.0026491081807762384,
0.013875845819711685,
-0.013757092878222466,
0.043664611876010895,
0.024536222219467163,
0.0026376894675195217,
-0.002779279835522175,
0.08126367628574371,
0.011966660618782043,
0.01315419189631939,
0.020699582993984222,
-0.030711384490132332,
-0.017292281612753868,
0.003359343158081174,
-0.007266777567565441,
0.010495949536561966,
0.034420136362314224,
0.031460441648960114,
-0.021850574761629105,
0.02764207310974598,
0.037452906370162964,
-0.02439006417989731,
0.029140189290046692,
0.01372968778014183,
0.02205154113471508,
-0.011089715175330639,
-0.0388779453933239,
0.014405667781829834,
0.03281240165233612,
0.05177636072039604,
0.05846307799220085,
0.004485214129090309,
0.0026239873841404915,
0.05557646229863167,
0.036046139895915985,
-0.034694183617830276,
0.006768927909433842,
-0.040997233241796494,
0.03619229793548584,
0.011537322774529457,
-0.01067864615470171,
-0.046989697962999344,
0.03858562931418419,
-0.09127547591924667,
0.015437905676662922,
-0.0934678465127945,
0.04136262461543083,
0.004053592216223478,
-0.0830906480550766,
0.042970359325408936,
-0.06953451782464981,
-0.003692765487357974,
0.020498616620898247,
-0.02181403525173664,
0.05638032779097557,
0.010961826890707016,
0.010596432723104954,
0.008997832424938679,
-0.0034940822515636683,
0.03500476852059364,
0.004530888516455889,
0.04783010482788086,
0.06189778074622154,
-0.002697066171094775,
-0.04684353992342949,
-0.01653408817946911,
0.06361513584852219,
-0.02188711427152157,
-0.03699616715312004,
-0.02764207310974598,
-0.01849808357656002,
0.01606821082532406,
0.06295742839574814,
-0.027313217520713806,
0.031222935765981674,
-0.0010664943838492036,
0.031113319098949432,
0.02437179535627365,
-0.02018803171813488,
-0.009838239289820194,
-0.017703350633382797,
0.08959466218948364,
0.04969361424446106,
0.05824384093284607,
-0.017082180827856064,
0.014469611458480358,
0.06186124309897423,
-0.018598565831780434,
-0.02066304348409176,
0.004087848123162985,
0.02607087790966034,
0.007929055020213127,
-0.04428578168153763,
0.0022585929837077856,
0.006540556438267231,
-0.07329808175563812,
0.012423403561115265,
-0.032373927533626556,
0.017246607691049576,
-0.023695815354585648,
0.000048457553930347785,
0.026107417419552803,
-0.10991058498620987,
-0.014880679547786713,
-0.007207401096820831,
0.02402467094361782,
-0.01978609710931778,
-0.08981390297412872,
-0.05648994818329811,
0.05586877837777138,
-0.011875312775373459,
-0.037672143429517746,
-0.06061890348792076,
-0.03593652322888374,
-0.03500476852059364,
-0.054261043667793274,
0.004501200281083584,
0.027532454580068588,
-0.03642980381846428,
-0.04932821914553642,
0.019639939069747925,
-0.023750625550746918,
-0.016716785728931427,
0.037452906370162964,
0.048268578946590424,
0.05765920877456665,
0.04702623561024666,
0.016205234453082085,
-0.005129221361130476,
-0.008070644922554493,
-0.017538923770189285,
0.02303810603916645,
-0.04677046090364456,
-0.009509384632110596,
0.03774522244930267,
-0.07212881743907928,
0.037854842841625214,
0.03957219421863556,
-0.0415453240275383,
0.031515251845121384,
0.01594945788383484,
0.02740456722676754,
0.07490581274032593,
0.018406733870506287,
-0.016150424256920815,
-0.09704870730638504,
0.07282306998968124,
-0.005563126876950264,
0.03500476852059364,
0.03917026147246361,
-0.054845672100782394,
0.008107184432446957,
-0.018260575830936432,
0.028811335563659668,
-0.0303642600774765,
-0.024463143199682236,
-0.0006034714169800282,
0.03405474126338959,
0.03730675205588341,
-0.021265944465994835,
0.021046707406640053,
0.03694135695695877,
0.0396818146109581,
-0.024517953395843506,
-0.052982162684202194,
0.05575915798544884,
-0.01826971210539341,
0.01605907641351223,
0.03723367303609848,
-0.07490581274032593,
-0.00419061491265893,
0.0599246546626091,
0.009326688013970852,
0.044833872467279434,
0.01594032347202301,
-0.0030852975323796272,
0.030473878607153893,
-0.010715185664594173,
0.029633471742272377,
-0.0021204284857958555,
0.02037072740495205,
0.047208935022354126,
0.048195499926805496,
-0.042678046971559525,
0.09595252573490143,
-0.03286721184849739,
-0.10581816732883453,
0.0007187989540398121,
0.010569027625024319,
0.012907550670206547,
-0.01416816096752882,
-0.026929553598165512,
0.00584630761295557,
-0.023184264078736305,
0.0006919653387740254,
-0.03611921891570091,
0.027660343796014786,
0.01222243718802929,
-0.013775362633168697,
0.04388384521007538,
-0.007869678549468517,
-0.04742817208170891,
0.007353558670729399,
-0.01414075680077076,
0.03736155852675438,
-0.07150764763355255,
0.005197732709348202,
0.060143887996673584,
-0.03193545714020729,
-0.03339703381061554,
-0.031168127432465553,
-0.011537322774529457,
-0.01641533523797989,
0.06003427132964134,
0.011445973999798298,
-0.038439471274614334,
0.03642980381846428,
0.03957219421863556,
0.08075212687253952,
-0.01300803478807211,
-0.05104557424783707,
0.06778062880039215,
-0.006668444722890854,
0.06467477977275848,
-0.03588171303272247,
0.01762113720178604,
-0.05115519091486931,
0.011720019392669201,
-0.08338296413421631,
-0.03686827793717384,
0.06810948252677917,
0.05813422054052353,
-0.05568607896566391,
0.01984090730547905,
-0.032666243612766266,
0.026637239381670952,
-0.022179430350661278,
0.07366347312927246,
0.03659423068165779,
-0.000011284758329566102,
0.07622123509645462,
-0.017200933769345284,
0.041801098734140396,
0.0030464744195342064,
-0.024627570062875748,
-0.017182663083076477,
0.033305682241916656,
0.0072987498715519905,
-0.06953451782464981,
-0.05787844583392143,
-0.015675412490963936,
-0.026217035949230194,
0.050935953855514526,
-0.0780482068657875,
-0.044943489134311676,
-0.01416816096752882,
0.03474899008870125,
-0.005247974768280983,
-0.03357972949743271,
-0.046916618943214417,
-0.010486814193427563,
0.025668945163488388,
-0.05331101641058922,
0.03208161145448685,
0.0022346139885485172,
0.03217296302318573,
0.04673392325639725,
0.03363453969359398,
0.023366961628198624,
0.0007913068984635174,
0.04132608696818352,
0.029341155663132668,
-0.015264343470335007,
-0.002977962838485837,
-0.012386864051222801,
0.05714765563607216,
0.05718419700860977,
0.063103586435318,
-0.04055875912308693,
-0.04333575442433357,
0.025924719870090485,
0.058207299560308456,
-0.02101016789674759,
-0.030693115666508675,
0.01599513180553913,
-0.01024017296731472,
-0.05451681837439537,
-0.012934955768287182,
0.041691482067108154,
0.028372861444950104,
-0.0323556587100029,
-0.05787844583392143,
0.01559319905936718,
-0.0323556587100029,
-0.12284553796052933,
-0.01744757406413555,
-0.03642980381846428,
-0.022435205057263374,
0.06774409115314484,
0.013071978464722633,
0.010020936839282513,
-0.008152858354151249,
0.008486281149089336,
-0.03257489576935768,
-0.016022536903619766,
0.03410955145955086,
-0.02524874173104763,
-0.026692047715187073,
-0.031515251845121384,
0.030126754194498062,
0.03891448676586151,
-0.06734215468168259,
-0.03376242518424988,
0.05590531602501869,
0.024992965161800385,
0.0014958325773477554,
0.020754391327500343,
-0.05356679484248161,
0.05670918524265289,
0.00896129384636879,
-0.0010841932380571961,
0.05608801543712616,
0.020955359563231468,
0.025394897907972336,
0.012505616992712021,
0.04560120031237602,
0.017675945535302162,
-0.04764740541577339,
0.08499069511890411,
0.0007056675967760384,
0.00578693114221096,
-0.044541556388139725,
-0.050351325422525406,
0.007869678549468517,
-0.032958559691905975,
0.0017938573146238923,
-0.005115519277751446,
-0.009737756103277206,
-0.0005332471919246018,
-0.041691482067108154,
-0.05791498348116875,
-0.0020599099807441235,
-0.008481713943183422,
-0.028080547228455544,
-0.058499615639448166,
0.015912918373942375,
-0.08667150884866714,
-0.013336889445781708,
0.0004750124935526401,
-0.031168127432465553,
-0.0026285548228770494,
-0.04333575442433357,
-0.031113319098949432,
0.0018201200291514397,
-0.0434088334441185,
0.02822670340538025,
-0.07768281549215317,
-0.007673278916627169,
0.058791931718587875,
-0.07790204882621765,
-0.036575961858034134,
0.0322277694940567,
0.006152325309813023,
-0.014241239987313747,
-0.006851141806691885,
0.02601606957614422,
0.05316485837101936,
0.04534542188048363,
0.005700150039047003,
-0.04136262461543083,
-0.0019411568064242601,
-0.0006685572443529963,
-0.010112285614013672,
-0.04322613775730133,
0.03193545714020729,
-0.05718419700860977,
0.05765920877456665,
0.002271153498440981,
0.03641153499484062,
0.006056409329175949,
0.05930348113179207,
-0.03935295715928078,
-0.09726794064044952,
-0.013117652386426926,
0.006435506045818329,
0.057403434067964554,
0.01416816096752882,
-0.005855442490428686,
0.03286721184849739,
0.002525787567719817,
0.012523886747658253,
0.07585584372282028,
-0.021613068878650665,
0.011884447187185287,
0.027240140363574028,
0.01122673787176609,
-0.027824770659208298,
0.024517953395843506,
0.028007468208670616,
-0.02431698516011238,
0.004818636458367109,
-0.057403434067964554,
0.041399165987968445,
0.04962053522467613,
0.0035580263938754797,
0.017949990928173065,
0.04508964717388153,
0.01920146681368351,
-0.0271670613437891,
0.003727021161466837,
0.001469569862820208,
-0.046222370117902756,
0.009838239289820194,
-0.0322277694940567,
0.0127157187089324,
-0.03334222361445427,
-0.003975945990532637,
0.003478096332401037,
0.009920453652739525,
0.005412402097135782,
0.06376129388809204,
0.012934955768287182,
-0.0508628748357296,
0.039133720099925995,
-0.03410955145955086,
0.03136909380555153,
-0.004878012929111719,
-0.0015323720872402191,
0.011455109342932701,
-0.046806998550891876,
-0.037964459508657455,
-0.0023122604470700026,
-0.004403000231832266,
-0.010450274683535099,
0.05528414621949196,
-0.008824270218610764,
0.049255140125751495,
0.01611388474702835,
-0.011080579832196236,
0.03357972949743271,
-0.002014235593378544,
0.03030945174396038,
0.013565260916948318,
-0.06332281976938248,
-0.03935295715928078,
-0.03728847950696945,
-0.0024504249449819326,
0.04629544913768768,
0.04176456108689308,
0.034639373421669006,
-0.03306817635893822,
0.024974694475531578,
-0.025632405653595924,
-0.04344537481665611,
-0.038074079900979996,
0.023111185058951378,
0.04344537481665611,
0.051703281700611115,
0.013163327239453793,
0.019987063482403755,
-0.045053109526634216,
-0.019822636619210243,
-0.00516576087102294,
-0.0358269028365612,
0.02745937556028366,
0.01570281758904457,
-0.036046139895915985,
0.029761359095573425,
-0.016744190827012062,
0.018726453185081482,
-0.024353524670004845,
0.040412601083517075,
0.051337890326976776,
-0.010888747870922089,
-0.013592665083706379,
0.034822069108486176,
-0.02314772456884384,
-0.0343470573425293,
-0.009938723407685757,
0.04381076619029045,
0.028372861444950104,
-0.028537288308143616,
-0.00022280483972281218,
0.022015001624822617,
-0.004855175968259573,
-0.009527654387056828,
-0.010852208361029625,
0.03630191460251808,
0.09288321435451508,
-0.0206447746604681,
-0.03500476852059364,
-0.003334222361445427,
-0.006197999697178602,
-0.026929553598165512,
0.016598032787442207,
-0.03100370056927204,
-0.026692047715187073,
0.029103649780154228,
-0.010432004928588867,
0.01624177396297455,
-0.014232105575501919,
0.04033952206373215,
0.007924486882984638,
-0.04443193972110748,
0.015903783962130547,
-0.03681346774101257,
-0.033780697733163834,
-0.06485747545957565,
-0.017319686710834503,
0.0013896399177610874,
-0.021375562995672226,
-0.0030715952161699533,
0.02629011496901512,
-0.04852435365319252,
-0.009673812426626682,
0.007399233058094978,
-0.04026644304394722,
-0.03690481558442116,
0.02053515613079071,
-0.00015843265282455832,
-0.03891448676586151,
0.03979143127799034,
0.04008374735713005,
-0.031460441648960114,
-0.03906064108014107,
0.03949911519885063,
-0.018927421420812607,
-0.012880146503448486,
-0.0019046174129471183,
0.0487435907125473,
-0.05225137621164322,
-0.009463710710406303,
-0.057988062500953674,
-0.03752598538994789,
-0.04253188893198967,
-0.02007841318845749,
0.006983597297221422,
0.00775092514231801,
0.010815668851137161,
-0.09098315984010696,
-0.05627071112394333,
0.052397530525922775,
0.023111185058951378,
0.034237440675497055,
-0.027715152129530907,
0.020736122503876686,
0.025285281240940094,
-0.0009500249871052802,
-0.022563094273209572,
0.010852208361029625,
0.04264150559902191,
-0.003567161038517952,
0.08689074963331223,
-0.01414075680077076,
-0.03683173656463623,
0.002763293916359544,
-0.02152171917259693,
-0.04399346560239792,
-0.02798919752240181,
-0.014213835820555687,
-0.05042440444231033,
-0.07179996371269226,
0.030821003019809723,
0.031460441648960114,
-0.00829444918781519,
0.0006257375935092568,
-0.017949990928173065,
0.04150878265500069,
0.0185711607336998,
-0.01960339955985546,
-0.006924220360815525,
0.0049921986646950245,
0.03336049243807793,
0.0022722952999174595,
-0.045235805213451385,
0.019566860049962997,
-0.026673778891563416,
0.015684546902775764,
-0.00957332830876112,
0.03241046890616417,
-0.0386221706867218,
0.039243340492248535,
-0.010623836889863014,
0.02407947927713394,
-0.04812242090702057,
0.03593652322888374,
-0.02833632193505764,
-0.038074079900979996,
-0.023951591923832893,
-0.014697982929646969,
-0.026783397421240807,
-0.013437372632324696,
0.028354592621326447,
0.03001713566482067,
0.016652841120958328,
0.01486240979284048,
-0.07106917351484299,
-0.01909184828400612,
0.06591711938381195,
-0.022325586527585983,
0.01855289191007614,
-0.0008455450879409909,
0.07687894254922867,
0.004973928909748793,
-0.03739809989929199,
0.032958559691905975,
0.033305682241916656,
-0.003978229593485594,
-0.02572375349700451,
-0.0059285215102136135,
0.03199026361107826,
-0.03957219421863556,
0.015922052785754204,
-0.04962053522467613,
-0.04863397032022476,
-0.021722687408328056,
0.05597839504480362,
-0.05155712366104126,
0.030821003019809723,
-0.0111171193420887,
0.019000500440597534,
0.00714345695450902,
0.013483046554028988,
-0.001480988459661603,
0.01314505748450756,
0.008943024091422558,
0.03420089930295944,
0.020242840051651,
0.01402200385928154,
0.054480280727148056,
0.03741636872291565,
-0.00008478287782054394,
0.03728847950696945,
-0.044833872467279434,
-0.008326420560479164,
0.011911851353943348,
0.07687894254922867,
0.014067677780985832,
0.0007011001580394804,
-0.020242840051651,
-0.0294325053691864,
-0.005882847122848034,
-0.026034338399767876,
0.022362126037478447,
-0.052982162684202194,
0.05254368856549263,
-0.0019000499742105603,
-0.013428238220512867,
0.0407414548099041,
-0.016735056415200233,
-0.029998866841197014,
-0.045418500900268555,
0.002365927677601576,
0.024919886142015457,
-0.029633471742272377,
0.056124553084373474,
0.018726453185081482,
0.013071978464722633,
-0.000419346964918077,
0.00013745103206019849,
-0.05904770642518997,
-0.007426637690514326,
-0.025047773495316505,
0.030930621549487114,
0.01562060322612524,
-0.055064909160137177,
-0.005882847122848034,
0.04066837579011917,
0.01978609710931778,
0.02058996446430683,
-0.02274578996002674,
0.03310471773147583,
-0.002555475803092122,
0.018297115340828896,
-0.020462077111005783,
0.04479733109474182,
0.020553424954414368,
0.0004319073923397809,
0.04249534755945206,
-0.043079979717731476,
0.0633958950638771,
-0.04567427933216095,
-0.0062117017805576324,
0.030821003019809723,
-0.03986451029777527,
-0.026253575459122658,
0.022672710940241814,
-0.025011233985424042,
0.04534542188048363,
-0.019219735637307167,
-0.05773228779435158,
0.01681726984679699,
-0.0061294883489608765,
-0.041910719126462936,
-0.053493715822696686,
-0.014798466116189957,
-0.023019835352897644,
0.016972562298178673,
-0.04410308226943016,
0.03917026147246361,
0.07578276097774506,
-0.020608235150575638,
-0.08615995943546295,
-0.022435205057263374,
-0.014232105575501919,
0.006960759870707989,
-0.012405133806169033,
0.042093414813280106,
-0.024170828983187675,
0.03431051969528198,
0.01832452043890953,
-0.036521151661872864,
0.023604467511177063,
-0.0498032346367836,
0.04969361424446106,
0.013830171898007393,
-0.058389998972415924,
0.026271844282746315,
-0.04596659541130066,
0.01960339955985546,
-0.0065222871489822865,
0.016433605924248695,
-0.012149358168244362,
-0.03990104794502258,
-0.010888747870922089,
0.015054241754114628,
-0.061422768980264664,
0.02793438918888569,
-0.017612000927329063,
-0.03252008557319641,
-0.005334755871444941,
-0.025066044181585312,
-0.023494848981499672,
-0.008650708012282848,
-0.02188711427152157,
-0.04202033579349518,
-0.03938949853181839,
-0.017474979162216187,
0.028117084875702858,
-0.04596659541130066,
0.004051308613270521,
0.015291748568415642,
-0.010413735173642635,
0.057988062500953674,
-0.014058542437851429,
-0.028902683407068253,
-0.009673812426626682,
0.015355692245066166,
0.04202033579349518,
-0.05144750699400902,
0.0368865467607975,
0.006353292148560286,
0.02764207310974598,
0.006928788032382727,
0.02793438918888569,
-0.03949911519885063,
-0.014597499743103981,
0.007782896980643272,
0.02141210250556469,
-0.02641800232231617,
0.028244974091649055,
0.03449321538209915,
0.05871885269880295,
0.053201399743556976,
0.03770868480205536
]
|
43,888 | pybtex | Engine | null | class Engine(object):
def make_bibliography(self, aux_filename, style=None, output_encoding=None, bib_format=None, **kwargs):
"""
Read the given ``.aux`` file and produce a formatted bibliography
using :py:meth:`~.Engine.format_from_files`.
:param style: If not ``None``, use this style instead of specified in the ``.aux`` file.
"""
from pybtex import auxfile
if bib_format is None:
from pybtex.database.input.bibtex import Parser as bib_format
aux_data = auxfile.parse_file(aux_filename, output_encoding)
if style is None:
style = aux_data.style
base_filename = path.splitext(aux_filename)[0]
bib_filenames = [filename + bib_format.default_suffix for filename in aux_data.data]
return self.format_from_files(
bib_filenames,
style=aux_data.style,
citations=aux_data.citations,
output_encoding=output_encoding,
output_filename=base_filename,
add_output_suffix=True,
**kwargs
)
def format_from_string(self, bib_string, *args, **kwargs):
"""
Parse the bigliography data from the given string and produce a formated
bibliography using :py:meth:`~.Engine.format_from_files`.
This is a convenience method that calls
:py:meth:`~.Engine.format_from_strings` with a single string.
"""
return self.format_from_strings([bib_string], *args, **kwargs)
def format_from_strings(self, bib_strings, *args, **kwargs):
"""
Parse the bigliography data from the given strings and produce a formated
bibliography.
This is a convenience method that wraps each string into a StringIO,
then calls :py:meth:`~.Engine.format_from_files`.
"""
from io import StringIO
inputs = [StringIO(bib_string) for bib_string in bib_strings]
return self.format_from_files(inputs, *args, **kwargs)
def format_from_file(self, filename, *args, **kwargs):
"""
Read the bigliography data from the given file and produce a formated
bibliography.
This is a convenience method that calls :py:meth:`~.Engine.format_from_files`
with a single file. All extra arguments are passed to
:py:meth:`~.Engine.format_from_files`.
"""
return self.format_from_files([filename], *args, **kwargs)
def format_from_files(*args, **kwargs):
"""
Read the bigliography data from the given files and produce a formated
bibliography.
This is an abstract method overridden by both
:py:class:`pybtex.PybtexEngine` and :py:class:`pybtex.bibtex.BibTeXEngine`.
"""
raise NotImplementedError
| () | [
0.06786485761404037,
-0.05613240972161293,
-0.05426255241036415,
0.04084356874227524,
-0.032172560691833496,
-0.03563729673624039,
-0.04084356874227524,
0.017186196520924568,
0.0578189492225647,
-0.06144867464900017,
0.017580334097146988,
0.013162335380911827,
-0.08073388040065765,
0.031512610614299774,
-0.04421664774417877,
0.007974395528435707,
-0.01855192705988884,
0.051036130636930466,
-0.020843420177698135,
-0.0096609340980649,
-0.04179682955145836,
-0.008056889288127422,
0.028964471071958542,
0.01155829057097435,
0.042200133204460144,
0.028964471071958542,
0.025518065318465233,
-0.043336715549230576,
0.03224588930606842,
-0.012337397783994675,
0.02403317764401436,
-0.03138428553938866,
-0.013877280987799168,
0.03769047558307648,
0.022529957816004753,
-0.007484016008675098,
0.006196197122335434,
0.05547245964407921,
0.042713429778814316,
0.026672977954149246,
0.052576012909412384,
-0.029606088995933533,
0.14335580170154572,
-0.017360350117087364,
-0.03915703296661377,
0.03842375427484512,
-0.029441101476550102,
-0.016947882249951363,
-0.037195514887571335,
-0.012456555850803852,
-0.003691595047712326,
-0.06496840715408325,
0.031017648056149483,
0.0012179284822195768,
-0.04044026881456375,
-0.025591393932700157,
-0.01319899968802929,
0.09378622472286224,
0.04113687947392464,
-0.011099991388618946,
0.02011014148592949,
0.010990000329911709,
0.05987212806940079,
-0.00900556705892086,
-0.017314519733190536,
0.02560972422361374,
-0.01871691457927227,
-0.04579319432377815,
0.017754487693309784,
0.03065100871026516,
0.0274979155510664,
-0.011310809291899204,
0.005907468963414431,
0.004046776331961155,
0.03065100871026516,
0.020788423717021942,
-0.08139383047819138,
0.025188090279698372,
0.003945950884371996,
-0.010155896656215191,
0.020806755870580673,
-0.011814937926828861,
0.01994515396654606,
-0.0018469432834535837,
0.09165971726179123,
-0.057158999145030975,
0.0676448717713356,
0.028542835265398026,
0.04938625544309616,
0.00444549648091197,
-0.02766290307044983,
-0.033089157193899155,
0.06133868172764778,
0.02672797441482544,
0.013180667534470558,
-0.08821330964565277,
0.014289749786257744,
-0.023831525817513466,
0.000869048701133579,
-0.01422558818012476,
-0.03145761415362358,
-0.021576697006821632,
-0.001034609042108059,
-0.06922142207622528,
-0.029752744361758232,
0.004725058563053608,
0.013281493447721004,
-0.010504203848540783,
-0.004631107207387686,
-0.0405869223177433,
-0.09532610327005386,
-0.030797665938735008,
-0.011118323542177677,
-0.010256722569465637,
-0.03268585354089737,
-0.027754561975598335,
-0.03589394688606262,
0.025591393932700157,
-0.04359336197376251,
-0.012135746888816357,
-0.010733352974057198,
-0.0065490868873894215,
-0.056719034910202026,
0.04179682955145836,
0.026452993974089622,
-0.03336413577198982,
0.014014771208167076,
-0.004972539842128754,
0.07149457931518555,
-0.048652976751327515,
0.012282402254641056,
0.06698492169380188,
-0.021778348833322525,
-0.039230357855558395,
0.042823418974876404,
-0.02011014148592949,
-0.015902960672974586,
0.010632527060806751,
-0.035783953964710236,
0.05613240972161293,
0.0431167297065258,
-0.04337337985634804,
0.05191606283187866,
-0.019560184329748154,
-0.03539898246526718,
0.038277097046375275,
0.0194685235619545,
-0.07802075147628784,
-0.041906822472810745,
0.025188090279698372,
0.026617981493473053,
-0.009101809933781624,
-0.04538989067077637,
0.02298825792968273,
0.007571092806756496,
0.001376041560433805,
-0.01736951619386673,
0.018396105617284775,
0.013253995217382908,
0.06254859268665314,
0.017131201922893524,
0.0439966656267643,
-0.011750775389373302,
0.02907446213066578,
-0.010806680656969547,
0.030761001631617546,
-0.018735246732831,
-0.04942291975021362,
0.024564804509282112,
0.003444114001467824,
-0.018130291253328323,
0.0007802533218637109,
-0.11585788428783417,
0.06456510722637177,
0.04293341189622879,
0.03180592134594917,
0.02058677189052105,
0.044876597821712494,
0.03004605509340763,
0.01797446981072426,
0.012777364812791348,
-0.004214055370539427,
-0.06243859976530075,
0.03602226823568344,
0.006732406094670296,
0.05506915971636772,
0.027241267263889313,
0.022291643545031548,
0.05770896002650261,
0.012227406725287437,
0.04154018312692642,
-0.002800204325467348,
-0.01343731489032507,
-0.030761001631617546,
-0.006251192651689053,
0.0056141577661037445,
0.0072731985710561275,
0.00656283600255847,
-0.037983786314725876,
0.07021134346723557,
-0.005747064482420683,
-0.025719717144966125,
0.0363522432744503,
-0.0437033548951149,
0.007021134253591299,
0.009010150097310543,
-0.007442769128829241,
-0.030119383707642555,
-0.144822359085083,
0.022456631064414978,
0.028249524533748627,
-0.0814671590924263,
-0.026507990434765816,
0.03297916799783707,
0.05033951625227928,
-0.060752060264348984,
0.02324490435421467,
0.04139352962374687,
0.006205362733453512,
0.037048857659101486,
0.0273512601852417,
0.018515262752771378,
-0.0027749978471547365,
-0.00028328580083325505,
0.03569229319691658,
-0.00021368172019720078,
0.08256707340478897,
0.08923990279436111,
0.00807063840329647,
-0.042200133204460144,
0.018991893157362938,
-0.03668221831321716,
-0.004958790726959705,
0.0259396992623806,
0.0327041856944561,
-0.08887325972318649,
0.007484016008675098,
0.018542760983109474,
0.016342926770448685,
0.029771076515316963,
0.08022058755159378,
0.006686576176434755,
0.022713277488946915,
-0.05121944844722748,
-0.049752894788980484,
-0.06683826446533203,
0.04450995847582817,
0.024473143741488457,
-0.04590318724513054,
-0.04938625544309616,
0.00043538367026485503,
0.02890947461128235,
-0.002772706560790539,
0.009871752001345158,
-0.020953411236405373,
0.0010179957607761025,
-0.026049692183732986,
-0.0648217499256134,
0.0022869098465889692,
-0.042090144008398056,
0.01915688067674637,
-0.008373115211725235,
0.011613286100327969,
0.04824967682361603,
0.027626238763332367,
-0.003123304806649685,
0.0022972216829657555,
-0.023043252527713776,
0.0016624780837446451,
0.01801113411784172,
0.0018744412809610367,
0.024729792028665543,
-0.030559349805116653,
0.011127489618957043,
-0.07596757262945175,
-0.017250359058380127,
0.03292417153716087,
0.023079916834831238,
-0.016773728653788567,
0.04524323716759682,
-0.012236571870744228,
0.015765471383929253,
0.016553744673728943,
-0.033089157193899155,
0.0547025203704834,
-0.0591755136847496,
-0.0727044865489006,
-0.012768198736011982,
0.008918490260839462,
-0.006154950242489576,
0.001654457882978022,
0.006626997608691454,
-0.0052658505737781525,
0.011209983378648758,
-0.004867130890488625,
-0.0414668545126915,
-0.02485811524093151,
-0.05011953413486481,
0.05015619844198227,
-0.11695779860019684,
-0.0764075368642807,
-0.0013645840808749199,
0.06368517130613327,
0.013272327370941639,
-0.0648217499256134,
-0.049129609018564224,
0.0028185362461954355,
-0.08190712332725525,
0.01280486211180687,
-0.0009263360407203436,
0.025353077799081802,
-0.029807740822434425,
0.03457404673099518,
0.04894628748297691,
-0.045939851552248,
0.004094897769391537,
-0.020220134407281876,
0.021008407697081566,
-0.02544473670423031,
0.001141163520514965,
-0.03297916799783707,
0.015380500815808773,
0.0032401711214333773,
-0.01532550435513258,
0.07794742286205292,
-0.04025694727897644,
-0.02971608005464077,
0.012364896014332771,
0.038753729313611984,
0.037983786314725876,
-0.027589574456214905,
0.04055025801062584,
0.05374925956130028,
0.010027573443949223,
-0.016856221482157707,
-0.03585728257894516,
-0.014876372180879116,
-0.0719345435500145,
0.03473903238773346,
-0.10185227543115616,
0.017186196520924568,
-0.027552912011742592,
-0.05250268802046776,
0.0011451735626906157,
-0.01784614659845829,
-0.01028421986848116,
-0.012456555850803852,
-0.012374062091112137,
0.048506323248147964,
-0.004434038884937763,
-0.0016338344430550933,
0.011530792340636253,
-0.01935853250324726,
0.012951518408954144,
-0.06463843584060669,
-0.06801150739192963,
-0.06863479316234589,
-0.03228255361318588,
0.007653586566448212,
-0.021796680986881256,
-0.012410725466907024,
-0.0077910758554935455,
-0.042676765471696854,
0.03285084292292595,
-0.02262161858379841,
-0.013354821130633354,
0.013684796169400215,
0.026141351088881493,
-0.0001187279776786454,
0.012878190726041794,
0.04245677962899208,
-0.003666388802230358,
-0.020091809332370758,
0.007639837451279163,
-0.003091224003583193,
-0.050376180559396744,
-0.0028552000876516104,
0.01579296961426735,
-0.0411735437810421,
-0.009477614425122738,
0.029807740822434425,
0.01265820674598217,
-0.010898340493440628,
0.020788423717021942,
-0.02942276932299137,
-0.04198015108704567,
0.028524504974484444,
0.027772894129157066,
0.04036694020032883,
0.01846943236887455,
-0.005293348804116249,
-0.001332503161393106,
-0.024326488375663757,
-0.02784622274339199,
-0.044729940593242645,
-0.02769956737756729,
0.040000300854444504,
-0.003810752648860216,
0.02152170240879059,
0.047883037477731705,
-0.004615066573023796,
0.021100066602230072,
-0.012071584351360798,
0.03376743942499161,
-0.03714051842689514,
0.038790393620729446,
0.059835463762283325,
0.04289674758911133,
-0.027461251243948936,
0.034335728734731674,
-0.004672354087233543,
-0.002109319204464555,
-0.03444572165608406,
-0.036883872002363205,
-0.039413679391145706,
0.04091689735651016,
-0.0191752128303051,
-0.06009211018681526,
-0.03501401096582413,
0.0023453431203961372,
-0.003137053921818733,
0.06867145746946335,
0.024784788489341736,
0.014885538257658482,
0.0032401711214333773,
0.006709491368383169,
-0.04571986570954323,
-0.012557381764054298,
-0.01738784834742546,
0.014968032017350197,
-0.01840527169406414,
-0.044399965554475784,
-0.02942276932299137,
0.011090826243162155,
0.030889324843883514,
-0.010412544012069702,
-0.012539049610495567,
0.031017648056149483,
0.044583287090063095,
-0.039377015084028244,
0.014885538257658482,
0.032630860805511475,
0.024143168702721596,
-0.017277857288718224,
0.0167645625770092,
-0.007383190095424652,
-0.02560972422361374,
0.023666538298130035,
-0.014592226594686508,
0.00008206409256672487,
0.030284371227025986,
0.020183470100164413,
0.02439981698989868,
0.009816755540668964,
0.003444114001467824,
-0.0668749287724495,
0.09415286034345627,
-0.046966440975666046,
0.057305656373500824,
0.08242041617631912,
-0.004628815688192844,
0.01453723106533289,
0.08227375894784927,
-0.004990871530026197,
-0.019450191408395767,
-0.09715930372476578,
0.015921292826533318,
-0.004120104480534792,
-0.027754561975598335,
0.004035319201648235,
0.001631542923860252,
0.025994695723056793,
-0.011228315532207489,
0.012135746888816357,
-0.030394362285733223,
0.007607756648212671,
0.02390485443174839,
-0.03853374347090721,
-0.009532610885798931,
-0.08813998103141785,
0.01963351108133793,
-0.024876447394490242,
-0.026617981493473053,
0.011384136974811554,
0.01761699840426445,
-0.03162260353565216,
0.07486765831708908,
-0.004438621923327446,
0.000523033260833472,
-0.039560332894325256,
-0.05363926663994789,
0.06023876741528511,
0.042200133204460144,
0.04044026881456375,
-0.023684870451688766,
-0.0064803422428667545,
-0.019596846774220467,
-0.010055070742964745,
-0.007506930734962225,
-0.04121020808815956,
0.05814892426133156,
-0.0496429018676281,
-0.009789258241653442,
-0.0298810675740242,
0.04242011904716492,
-0.013538139872252941,
-0.034995678812265396,
-0.005627906881272793,
0.008918490260839462,
-0.03926702216267586,
-0.06350184977054596,
-0.04264010116457939,
0.03409741446375847,
-0.032630860805511475,
0.01234656386077404,
-0.0010552324820309877,
-0.03442738950252533,
-0.023006588220596313,
-0.018661918118596077,
0.02780955843627453,
0.019780166447162628,
0.026966288685798645,
-0.012264070101082325,
-0.02093507908284664,
0.05345594882965088,
-0.011448298580944538,
0.009670100174844265,
0.012694871053099632,
0.030266039073467255,
0.024124838411808014,
-0.005513331852853298,
-0.044876597821712494,
0.016819559037685394,
-0.029312778264284134,
0.011237481608986855,
0.0008037411607801914,
-0.005183356814086437,
-0.002314407844096422,
0.013868114911019802,
-0.0493495911359787,
-0.003746591042727232,
0.024583136662840843,
0.014372243545949459,
-0.07831406593322754,
0.03178758919239044,
-0.005087114404886961,
0.01225490402430296,
0.008671008981764317,
0.030559349805116653,
-0.017342017963528633,
0.011539958417415619,
-0.02390485443174839,
0.04055025801062584,
0.03996363654732704,
0.06023876741528511,
-0.01645291969180107,
0.004179683048278093,
0.030284371227025986,
0.0035449396818876266,
0.01013756450265646,
0.012850692495703697,
0.040036965161561966,
-0.023354895412921906,
0.05176940932869911,
0.029752744361758232,
0.048506323248147964,
0.02465646341443062,
0.016819559037685394,
-0.006145784165710211,
-0.038937047123909,
-0.005604991689324379,
0.027204604819417,
0.020311793312430382,
0.002880406565964222,
-0.008959737606346607,
0.021631693467497826,
-0.05928550660610199,
-0.00893223937600851,
0.022254979237914085,
-0.04656313732266426,
0.015078024007380009,
-0.021576697006821632,
-0.008657259866595268,
-0.02845117636024952,
0.06357517838478088,
-0.012520717456936836,
-0.01745201088488102,
0.04355669766664505,
0.048176348209381104,
-0.010660025291144848,
-0.0038565825670957565,
-0.01840527169406414,
0.027901217341423035,
-0.05033951625227928,
0.021503370255231857,
0.03725050762295723,
-0.03527066111564636,
-0.037947122007608414,
-0.008991817943751812,
-0.051036130636930466,
-0.038900382816791534,
0.008075221441686153,
-0.04949624836444855,
0.0038451252039521933,
-0.004594443365931511,
-0.004021570086479187,
0.05162275210022926,
-0.06643496453762054,
0.004871713928878307,
-0.012722368352115154,
-0.03224588930606842,
0.014592226594686508,
-0.03882705792784691,
-0.049459584057331085,
0.007726914249360561,
-0.031512610614299774,
-0.016636239364743233,
0.003189758164808154,
0.042090144008398056,
-0.04304340481758118,
-0.016462085768580437,
0.037488825619220734,
-0.011338307522237301,
0.05367593094706535,
-0.005293348804116249,
0.004706726409494877,
0.013226496987044811,
-0.04799302667379379,
0.008904741145670414,
0.0016086280811578035,
0.01921187713742256,
-0.02091674692928791,
0.06786485761404037,
0.03332747146487236,
0.026214679703116417,
0.04557321220636368,
0.03824043273925781,
0.00999090913683176,
-0.014592226594686508,
0.09253965318202972,
-0.018414437770843506,
-0.06434512138366699,
0.01569214276969433,
-0.008359366096556187,
-0.006989053450524807,
-0.028524504974484444,
0.02639799937605858,
-0.03426240384578705,
0.006714074406772852,
0.010394211858510971,
0.004546321928501129,
-0.00015295716002583504,
0.019120216369628906,
-0.03981698304414749,
-0.0685248076915741,
0.03365744650363922,
0.05363926663994789,
0.018212785944342613,
0.017342017963528633,
0.020678432658314705,
0.0024496058467775583,
-0.016031283885240555,
-0.0012523009208962321,
0.0030385195277631283,
-0.01170494593679905,
-0.0631718784570694,
-0.014995530247688293,
0.04330005124211311,
0.013547305949032307,
0.05561911687254906,
0.018020300194621086,
0.005380425602197647,
-0.01037587970495224,
-0.05774562060832977,
0.0001505224354332313,
-0.024949776008725166,
0.026343002915382385,
0.006796568166464567,
0.04421664774417877,
0.02722293697297573,
0.05646238476037979,
0.042053479701280594,
-0.018121127039194107,
0.0547025203704834,
0.01117332000285387,
0.033584121614694595,
-0.002222748240455985,
0.04421664774417877,
0.019266871735453606,
-0.08359365910291672,
-0.03473903238773346,
0.055729109793901443,
0.025389742106199265,
-0.06650829315185547,
-0.026379667222499847,
-0.0053712595254182816,
0.005435421131551266,
-0.05708567053079605,
0.010880008339881897,
-0.02544473670423031,
0.037030525505542755,
-0.0010179957607761025,
0.03376743942499161,
0.038130443543195724,
0.012914854101836681,
-0.0047800540924072266,
-0.05657237768173218,
0.023831525817513466,
-0.0068744788877666,
-0.037525489926338196,
0.03145761415362358,
0.037195514887571335,
0.053822584450244904,
0.01848776452243328,
0.06009211018681526,
-0.01319899968802929,
0.02513309381902218,
0.08168713748455048,
-0.020715096965432167,
-0.025756381452083588,
-0.007818574085831642,
0.03378577157855034,
0.05429921671748161,
-0.028854480013251305,
0.006297022569924593,
-0.010724186897277832,
-0.05162275210022926,
-0.03222755715250969,
0.021778348833322525,
-0.0017094537615776062,
0.003263085847720504,
0.027772894129157066,
-0.05341928452253342,
-0.014179758727550507,
-0.06639830023050308,
-0.06214528903365135,
-0.01429891586303711,
-0.0312926284968853,
0.018808573484420776,
-0.009330959059298038,
-0.023666538298130035,
-0.014289749786257744,
-0.04084356874227524,
0.03274085000157356,
-0.0001808847300708294,
0.025499733164906502,
0.04659980162978172,
0.027607906609773636,
-0.03442738950252533,
0.016718732193112373,
0.013803953304886818,
0.04234679043292999,
-0.046636465936899185,
0.025573061779141426,
0.0493495911359787,
-0.03479402884840965,
0.0625852569937706,
-0.02703961730003357,
-0.041906822472810745,
-0.03444572165608406,
0.042860083281993866,
-0.05488583818078041,
0.02201666496694088,
0.023043252527713776,
0.0578189492225647,
-0.003691595047712326,
-0.028817815706133842,
0.06445511430501938
]
|
43,889 | pybtex | format_from_file |
Read the bigliography data from the given file and produce a formated
bibliography.
This is a convenience method that calls :py:meth:`~.Engine.format_from_files`
with a single file. All extra arguments are passed to
:py:meth:`~.Engine.format_from_files`.
| def format_from_file(self, filename, *args, **kwargs):
"""
Read the bigliography data from the given file and produce a formated
bibliography.
This is a convenience method that calls :py:meth:`~.Engine.format_from_files`
with a single file. All extra arguments are passed to
:py:meth:`~.Engine.format_from_files`.
"""
return self.format_from_files([filename], *args, **kwargs)
| (self, filename, *args, **kwargs) | [
0.012616405263543129,
-0.04230920970439911,
-0.023237092420458794,
0.03859544172883034,
-0.0190894715487957,
-0.037345949560403824,
-0.0212760828435421,
-0.0036964158061891794,
0.08295243233442307,
-0.027193820104002953,
-0.028651561588048935,
0.0016388745279982686,
-0.08607616275548935,
0.016850797459483147,
-0.013440723530948162,
-0.0006985011277720332,
-0.043107498437166214,
0.026395533233880997,
-0.023202385753393173,
0.0006464389152824879,
-0.0235147587954998,
-0.03654766082763672,
0.022890010848641396,
0.008529523387551308,
0.09919583797454834,
0.014464613050222397,
0.0021920353174209595,
-0.012486250139772892,
-0.0319141261279583,
-0.007618434727191925,
0.012807300314307213,
-0.010828936472535133,
0.007297384552657604,
0.08690916001796722,
0.02184876799583435,
-0.039046645164489746,
-0.014429905451834202,
0.028981288895010948,
-0.07073517143726349,
0.023532113060355186,
0.02700292505323887,
-0.00399794289842248,
0.10190307348966599,
-0.0001732694945530966,
-0.04845254868268967,
-0.0010835444554686546,
0.02563195489346981,
-0.01929772086441517,
-0.058517906814813614,
-0.016642548143863678,
-0.024903083220124245,
-0.04206625372171402,
-0.007935145869851112,
-0.00023658471764065325,
-0.07142933458089828,
-0.002503323834389448,
-0.027558255940675735,
0.1075257882475853,
0.03977551683783531,
0.012659789994359016,
0.0007592403562739491,
-0.010221544653177261,
0.07021454721689224,
-0.06136397272348404,
-0.008069640025496483,
0.0020662182942032814,
0.011705316603183746,
-0.007679173722863197,
-0.016312820836901665,
0.01905476301908493,
0.048764921724796295,
0.016069864854216576,
0.018725035712122917,
0.00959679763764143,
-0.01397869922220707,
0.06639665365219116,
-0.09412845224142075,
0.02226526476442814,
-0.0012852854561060667,
0.021328145638108253,
0.014481967315077782,
-0.027662379667162895,
0.02969280444085598,
-0.007076120004057884,
0.029814284294843674,
-0.0884363129734993,
0.09357311576604843,
0.054457057267427444,
0.02131079137325287,
0.010316991247236729,
-0.0038374175783246756,
0.001181161031126976,
0.04512057080864906,
-0.0037614936009049416,
-0.016816088929772377,
-0.07365065068006516,
0.006299525499343872,
0.01884651370346546,
-0.021796705201268196,
0.002166004152968526,
-0.0334065742790699,
-0.09093529731035233,
0.03831777721643448,
-0.047376599162817,
-0.030005179345607758,
-0.023532113060355186,
0.04581473022699356,
0.005414468236267567,
-0.028078876435756683,
0.022525576874613762,
-0.06247463449835777,
-0.05115978419780731,
0.03068198636174202,
0.01429974939674139,
-0.00796117726713419,
-0.022317327558994293,
-0.012113137170672417,
0.05733783170580864,
-0.040816761553287506,
0.015523211099207401,
-0.04053909704089165,
-0.03370159491896629,
-0.030022531747817993,
0.03654766082763672,
0.00484178401529789,
-0.04564119130373001,
-0.020807523280382156,
-0.05588008835911751,
0.05365876853466034,
-0.05327697843313217,
0.031306732445955276,
0.013527493923902512,
0.003026115009561181,
-0.07649672031402588,
0.06591074168682098,
-0.08607616275548935,
0.060600396245718,
-0.0255278293043375,
0.01392663735896349,
0.1134955883026123,
0.07483072578907013,
-0.05310343950986862,
0.0366864949464798,
-0.05674779415130615,
-0.04158033803105354,
0.001835192320868373,
0.026169929653406143,
-0.0770520493388176,
-0.07142933458089828,
0.05334639549255371,
0.03571466729044914,
0.017709823325276375,
0.01348410826176405,
-0.010282283648848534,
0.027940044179558754,
-0.03977551683783531,
0.029397785663604736,
0.0065077743493020535,
-0.007119505200535059,
0.030144011601805687,
0.034482527524232864,
0.07559430599212646,
0.03252151608467102,
0.052339859306812286,
-0.04213567078113556,
0.02389654703438282,
-0.03838719055056572,
-0.01936713606119156,
0.005349390674382448,
-0.027228528633713722,
-0.004689936060458422,
-0.006243125069886446,
-0.08052286505699158,
0.048591382801532745,
0.04390578344464302,
0.0015401733107864857,
0.013284537009894848,
0.03824836015701294,
0.02597903460264206,
0.057962577790021896,
-0.01990511268377304,
-0.048903755843639374,
-0.007349446415901184,
0.025822848081588745,
0.02262970060110092,
0.02113725058734417,
0.020807523280382156,
0.0341007374227047,
0.026916155591607094,
-0.009466642513871193,
0.09135179966688156,
-0.034274280071258545,
-0.014221656136214733,
-0.05584537982940674,
-0.00814773328602314,
-0.03293801471590996,
-0.005544623825699091,
0.015722783282399178,
-0.033562760800123215,
0.058240242302417755,
-0.014239010401070118,
-0.02969280444085598,
-0.015332316048443317,
-0.05126390978693962,
-0.01629546657204628,
0.06643135845661163,
0.015436440706253052,
-0.0470295175909996,
-0.06084335222840309,
0.021692581474781036,
0.011826795525848866,
-0.0851043313741684,
-0.02170993573963642,
0.03772773593664169,
0.04786251112818718,
-0.05758078768849373,
-0.026916155591607094,
0.0470295175909996,
-0.02877303957939148,
0.06486949324607849,
0.045016445219516754,
0.01288539357483387,
-0.019002702087163925,
-0.005856996867805719,
0.024833666160702705,
0.03316361829638481,
0.10488796979188919,
0.0867009088397026,
0.01691153645515442,
0.010594656690955162,
-0.009058821946382523,
-0.04647418484091759,
-0.014360488392412663,
0.007180244196206331,
0.02082487754523754,
-0.04029613733291626,
0.017328033223748207,
-0.0006806047167629004,
-0.01646033115684986,
0.06698668748140335,
0.07774621248245239,
0.015636011958122253,
0.002902467269450426,
-0.0072539993561804295,
-0.034274280071258545,
-0.09933466464281082,
0.02556253783404827,
0.033840425312519073,
-0.022213203832507133,
0.02209172397851944,
-0.004403593949973583,
0.01837795414030552,
-0.002613956108689308,
0.07115166634321213,
-0.0014555722009390593,
-0.04251746088266373,
-0.02859949879348278,
-0.10495738685131073,
0.006243125069886446,
-0.011228079907596111,
0.008637986145913601,
0.0045814733020961285,
0.048799630254507065,
0.011974304914474487,
0.02990105375647545,
0.011887534521520138,
-0.025614600628614426,
-0.018898576498031616,
0.03179264813661575,
0.0009750815224833786,
-0.02287265844643116,
0.033840425312519073,
0.025441059842705727,
0.02407008782029152,
-0.038977231830358505,
-0.060600396245718,
0.06139868125319481,
0.0036226611118763685,
-0.006234447937458754,
0.0609474778175354,
0.025753432884812355,
0.037415362894535065,
0.005110772326588631,
-0.023427987471222878,
0.04706422612071037,
-0.011280142702162266,
-0.05355464294552803,
0.03406602889299393,
-0.02273382432758808,
0.00037338354741223156,
0.02082487754523754,
0.018586203455924988,
-0.011635900475084782,
-0.009336487390100956,
-0.044947028160095215,
-0.04963262751698494,
0.02757561020553112,
-0.030230781063437462,
0.04775838553905487,
-0.0712905004620552,
-0.060288023203611374,
-0.02004394493997097,
0.11231550574302673,
-0.025423705577850342,
-0.027731796726584435,
-0.030144011601805687,
-0.00998726487159729,
-0.06306467205286026,
-0.029276307672262192,
0.017536282539367676,
0.012998194433748722,
-0.008876604028046131,
-0.015436440706253052,
0.00669866893440485,
-0.03821365162730217,
-0.00017828590353019536,
-0.01756231300532818,
-0.0015683736419305205,
0.0249551460146904,
-0.05185394734144211,
-0.054700013250112534,
-0.0012028536293655634,
0.011722670868039131,
-0.013336598873138428,
0.06816677004098892,
-0.04373224452137947,
-0.004427455831319094,
0.03075140342116356,
0.030924944207072258,
0.03486431762576103,
0.03626999631524086,
0.046855974942445755,
0.05400585010647774,
-0.016573132947087288,
-0.07365065068006516,
-0.05886498838663101,
0.007679173722863197,
-0.020686045289039612,
0.0169028602540493,
-0.08718682080507278,
0.029015997424721718,
-0.04345458000898361,
-0.03755419701337814,
-0.010664072819054127,
-0.02693350799381733,
0.03769302740693092,
0.002993576228618622,
-0.07177641242742538,
0.014455935917794704,
-0.02785327471792698,
-0.02308090589940548,
0.005271297413855791,
0.002750619314610958,
0.009275747463107109,
-0.0403655543923378,
-0.054109975695610046,
-0.026274055242538452,
-0.021900830790400505,
-0.03828306868672371,
0.02559724636375904,
0.021466977894306183,
-0.02492043748497963,
-0.021119896322488785,
0.008928666822612286,
0.006477404851466417,
0.02170993573963642,
0.012199907563626766,
0.015740137547254562,
-0.030699340626597404,
0.016243405640125275,
0.0007863560458645225,
-0.013865898363292217,
-0.016989629715681076,
0.03061257116496563,
-0.014542706310749054,
-0.01053391769528389,
-0.039116062223911285,
0.013301891274750233,
-0.08156410604715347,
-0.0010135858319699764,
0.013084964826703072,
0.049042586237192154,
0.0247816052287817,
0.01136691216379404,
-0.008373335935175419,
-0.004715966992080212,
-0.02573607861995697,
0.008559892885386944,
0.0013774789404124022,
-0.017614375799894333,
-0.002613956108689308,
-0.009058821946382523,
-0.004598827101290226,
-0.0009745392017066479,
-0.012139168567955494,
-0.014820371754467487,
0.06709081679582596,
-0.012928778305649757,
0.007050089072436094,
0.0049068620428442955,
-0.014265041798353195,
-0.029606034979224205,
-0.02117195911705494,
0.025007206946611404,
-0.05973269045352936,
-0.012017689645290375,
0.02771444246172905,
0.0203563179820776,
-0.011549130082130432,
0.04199683666229248,
0.04751542955636978,
0.02799210697412491,
-0.0385260246694088,
-0.016442976891994476,
-0.0011572992661967874,
0.06410591304302216,
-0.03193147853016853,
-0.07365065068006516,
-0.04210096225142479,
-0.007045750506222248,
0.0028460666071623564,
0.04987558349967003,
0.00913691520690918,
0.017093753442168236,
0.013536171056330204,
-0.012165199965238571,
-0.03838719055056572,
-0.009726953692734241,
0.03470813110470772,
0.0051628341898322105,
-0.04630064591765404,
-0.029397785663604736,
0.01442122831940651,
0.017570991069078445,
0.047133639454841614,
-0.032261207699775696,
-0.05966327711939812,
0.0319661870598793,
0.049216128885746,
-0.027159111574292183,
0.040851470082998276,
-0.029154829680919647,
0.020772816613316536,
-0.034308984875679016,
-0.017805270850658417,
-0.03828306868672371,
-0.014447258785367012,
-0.008581585250794888,
-0.02014806866645813,
-0.029744867235422134,
-0.002010902389883995,
0.03772773593664169,
0.034413110464811325,
-0.04171917214989662,
0.016165312379598618,
-0.04390578344464302,
0.03146291896700859,
-0.03245210275053978,
0.06535540521144867,
0.039150770753622055,
-0.01633017510175705,
0.0011779071064665914,
0.04154563322663307,
-0.01180944126099348,
0.03970609977841377,
-0.07628846913576126,
-0.010377731174230576,
0.018915930762887,
-0.03876898065209389,
-0.026274055242538452,
0.0067290388979017735,
-0.007063104305416346,
-0.013440723530948162,
-0.005948105826973915,
-0.02863420732319355,
0.052513401955366135,
-0.006889563985168934,
-0.008243180811405182,
0.007948162034153938,
-0.017154492437839508,
0.023132968693971634,
-0.027228528633713722,
-0.010464501567184925,
0.022525576874613762,
0.05091682821512222,
0.002219151007011533,
0.037207115441560745,
-0.003891649190336466,
-0.0007554441690444946,
-0.04598827287554741,
-0.021657872945070267,
0.07240115851163864,
0.021657872945070267,
0.005614039953798056,
0.012599050998687744,
0.05011853948235512,
0.028304480016231537,
0.01700698398053646,
-0.0023145985323935747,
0.015045974403619766,
0.019558031111955643,
-0.007839699275791645,
0.006928610615432262,
-0.012399479746818542,
0.024868374690413475,
-0.011670609004795551,
0.017570991069078445,
0.010186836123466492,
0.013570878654718399,
-0.0236882995814085,
-0.04338516294956207,
-0.05202748626470566,
0.032642997801303864,
0.02106783539056778,
0.026031097397208214,
0.013614264316856861,
-0.07760737836360931,
0.004260423127561808,
-0.05022266507148743,
0.062023427337408066,
0.0015022112056612968,
-0.030282843858003616,
-0.007045750506222248,
0.008872265927493572,
0.013822512701153755,
-0.06080864369869232,
0.013744419440627098,
0.00028878249577246606,
0.0007511056028306484,
0.005349390674382448,
0.00202391785569489,
-0.045189984142780304,
-0.006989349611103535,
-0.01298951730132103,
-0.04057380557060242,
0.018794452771544456,
-0.05529005080461502,
0.022421451285481453,
-0.0012267155107110739,
-0.00015130575047805905,
0.008264873176813126,
0.0037614936009049416,
0.015098036266863346,
-0.06400179117918015,
0.01769246906042099,
-0.038873106241226196,
-0.0009528466616757214,
0.0038352482952177525,
0.10565154999494553,
-0.02085958607494831,
0.034621357917785645,
-0.03762361407279968,
0.0267946757376194,
0.023393278941512108,
0.07056162506341934,
0.011297496035695076,
-0.02021748572587967,
-0.010021972469985485,
-0.013241151347756386,
-0.0258749108761549,
0.026777321472764015,
0.06809735298156738,
0.026603782549500465,
0.037345949560403824,
-0.03149762749671936,
0.04435699060559273,
-0.009293101727962494,
0.05515122041106224,
-0.05948973447084427,
0.0036313380114734173,
0.03146291896700859,
0.016798734664916992,
-0.008876604028046131,
0.015757491812109947,
0.011392943561077118,
0.015540565364062786,
0.0100046182051301,
0.00015117017028387636,
0.0036812310572713614,
-0.04366282746195793,
0.011870180256664753,
-0.046821266412734985,
-0.01520216092467308,
0.010021972469985485,
-0.001597658614628017,
0.044634655117988586,
-0.01154045294970274,
0.0007256168173626065,
0.06341174989938736,
0.032295916229486465,
0.03606174886226654,
-0.015826907008886337,
0.0348990261554718,
-0.03479490056633949,
-0.01772717759013176,
0.008351643569767475,
0.014976558275520802,
-0.031619105488061905,
-0.024694833904504776,
-0.015401733107864857,
-0.02308090589940548,
0.002031510230153799,
-0.06483478844165802,
0.04932025447487831,
-0.0319141261279583,
0.0076835122890770435,
0.07427539676427841,
-0.02290736511349678,
-0.027558255940675735,
-0.003611814696341753,
-0.03807481750845909,
0.01578352227807045,
-0.030491093173623085,
-0.04758484661579132,
0.01189621165394783,
0.017267294228076935,
0.04161504656076431,
-0.03460400551557541,
0.004329839255660772,
-0.07684379816055298,
-0.012555666267871857,
0.025579892098903656,
0.010612010955810547,
0.07031866908073425,
0.03486431762576103,
-0.016139280050992966,
-0.010056680999696255,
-0.033666886389255524,
0.024018026888370514,
0.022178495302796364,
0.0006768085295334458,
-0.006642268504947424,
0.04727247357368469,
0.012347416952252388,
0.0415109246969223,
0.017978811636567116,
-0.012868039309978485,
0.01976628042757511,
-0.05747666209936142,
0.05765020474791527,
0.015618658624589443,
-0.09496144205331802,
0.0002569215139374137,
-0.022369390353560448,
-0.012234616093337536,
0.0016508054686710238,
0.007162890397012234,
-0.013874574564397335,
0.03439575806260109,
-0.007852714508771896,
0.01581823080778122,
0.006928610615432262,
-0.015740137547254562,
-0.012330063618719578,
-0.016269436106085777,
-0.0059567829594016075,
0.04817488417029381,
0.007939484901726246,
0.004349362570792437,
-0.012555666267871857,
0.029640743508934975,
-0.01429974939674139,
-0.013657649047672749,
-0.0014338796027004719,
-0.02516339346766472,
-0.0789957046508789,
-0.028304480016231537,
-0.006928610615432262,
0.01902005448937416,
0.0810781940817833,
-0.03368423879146576,
0.05112507566809654,
0.00015388174506369978,
-0.013544848188757896,
0.009527381509542465,
-0.05480413883924484,
0.017440835013985634,
0.011167340911924839,
0.0418580062687397,
0.052235737442970276,
0.02990105375647545,
0.036964159458875656,
-0.016286790370941162,
0.02788798324763775,
0.00771388178691268,
0.05476943030953407,
-0.03790127858519554,
0.04217037931084633,
0.006052230019122362,
0.02085958607494831,
-0.037102989852428436,
0.04571060836315155,
-0.01731935702264309,
-0.05511651188135147,
-0.006789777893573046,
0.05192336440086365,
-0.007831022143363953,
-0.05740724876523018,
-0.0033059492707252502,
0.004872153978794813,
-0.02120666764676571,
0.0010683595901355147,
0.048764921724796295,
0.06250934302806854,
-0.014134885743260384,
-0.00574419554322958,
-0.029918408021330833,
0.059940941631793976,
-0.003984927199780941,
-0.034413110464811325,
0.002097672550007701,
0.03640882670879364,
0.027523547410964966,
0.04914671182632446,
0.07205408066511154,
0.01598309352993965,
-0.033354513347148895,
0.058379076421260834,
0.02004394493997097,
-0.04578002169728279,
-0.03276447579264641,
0.06250934302806854,
0.013796481303870678,
-0.020234839990735054,
-0.0266211349517107,
-0.027020279318094254,
-0.02229997329413891,
-0.039393726736307144,
-0.005483884364366531,
-0.006924272049218416,
0.054109975695610046,
-0.0018937623826786876,
-0.04040026292204857,
-0.011288818903267384,
-0.0190894715487957,
-0.004941570106893778,
-0.02545841410756111,
0.025649307295680046,
0.06473065912723541,
-0.04914671182632446,
-0.05181923881173134,
0.0027137419674545527,
-0.07365065068006516,
0.02559724636375904,
0.02686409279704094,
0.007527325768023729,
0.0425521656870842,
0.04633535444736481,
-0.06434887647628784,
0.030317552387714386,
-0.015080682933330536,
0.040816761553287506,
-0.0030196073930710554,
0.026169929653406143,
0.01599177159368992,
-0.01663387194275856,
0.04251746088266373,
-0.025371642783284187,
0.013596910052001476,
-0.04654360190033913,
-0.013692357577383518,
-0.026534365490078926,
-0.015800876542925835,
0.007297384552657604,
0.014698892831802368,
-0.013900605961680412,
-0.012946132570505142,
0.031341440975666046
]
|
43,890 | pybtex | format_from_files |
Read the bigliography data from the given files and produce a formated
bibliography.
This is an abstract method overridden by both
:py:class:`pybtex.PybtexEngine` and :py:class:`pybtex.bibtex.BibTeXEngine`.
| def format_from_files(*args, **kwargs):
"""
Read the bigliography data from the given files and produce a formated
bibliography.
This is an abstract method overridden by both
:py:class:`pybtex.PybtexEngine` and :py:class:`pybtex.bibtex.BibTeXEngine`.
"""
raise NotImplementedError
| (*args, **kwargs) | [
0.010964625515043736,
-0.060995738953351974,
-0.03602026402950287,
0.01781417615711689,
-0.05397695302963257,
-0.012674786150455475,
-0.03115699253976345,
-0.013458609580993652,
0.03787293657660484,
0.014874836429953575,
-0.003235499607399106,
0.021751107648015022,
-0.07022348046302795,
0.01975592039525509,
-0.025901811197400093,
-0.028983663767576218,
-0.02636498026549816,
0.015044071711599827,
0.012941998429596424,
-0.03400726243853569,
-0.04806264489889145,
-0.027968255802989006,
0.024280721321702003,
0.02344345487654209,
0.08123263716697693,
0.004489172250032425,
-0.00527299614623189,
-0.02559897117316723,
-0.011935497634112835,
0.011757356114685535,
0.004117301199585199,
-0.01510642096400261,
0.01507079228758812,
0.07000970840454102,
0.015329098328948021,
-0.03901304304599762,
0.03299185261130333,
0.04710068181157112,
-0.026489678770303726,
0.02732694521546364,
0.03122824989259243,
-0.015150956809520721,
0.10431981086730957,
-0.018045760691165924,
-0.04528363421559334,
0.02787918411195278,
0.009316814132034779,
-0.02534957230091095,
-0.034345731139183044,
0.027398202568292618,
-0.02887677773833275,
-0.06919025629758835,
-0.019951876252889633,
0.008818017318844795,
-0.04239773750305176,
0.02408476546406746,
-0.036180589348077774,
0.09477141499519348,
0.026133395731449127,
-0.023603782057762146,
-0.007259276695549488,
-0.015703195706009865,
0.06170830503106117,
-0.037481024861335754,
-0.02732694521546364,
0.025331757962703705,
-0.0008806883124634624,
-0.03338376432657242,
-0.018544556573033333,
0.013280468061566353,
0.026703448966145515,
0.01507079228758812,
0.004179650917649269,
0.025777112692594528,
-0.026275908574461937,
0.07275309413671494,
-0.08016379177570343,
0.02429853565990925,
-0.009290092624723911,
0.015462704002857208,
0.010920089669525623,
-0.03762353956699371,
0.008145531639456749,
-0.0026877138298004866,
0.06780075281858444,
-0.06462983042001724,
0.07717100530862808,
0.06306218355894089,
0.05850175395607948,
-0.023247499018907547,
-0.02330094203352928,
-0.0009675323963165283,
0.06438042968511581,
-0.017208494246006012,
-0.019773734733462334,
-0.058145470917224884,
-0.014723416417837143,
0.021555151790380478,
-0.01393959205597639,
0.019702477380633354,
-0.004716303199529648,
-0.08479547500610352,
0.049274008721113205,
-0.051803622394800186,
-0.03365097939968109,
-0.027968255802989006,
0.02549208514392376,
-0.014233525842428207,
-0.036269661039114,
-0.004627231974154711,
-0.05946371704339981,
-0.03655468672513962,
0.058608636260032654,
-0.001710160868242383,
-0.014990628696978092,
-0.03375786170363426,
-0.010367849841713905,
0.048632699996232986,
-0.036910973489284515,
0.010020473971962929,
-0.027665413916110992,
-0.02397787943482399,
-0.025812741369009018,
0.04663751274347305,
0.014652159065008163,
-0.04742133617401123,
0.030088143423199654,
-0.03894178941845894,
0.046744395047426224,
-0.04407227039337158,
0.0397968664765358,
0.025812741369009018,
-0.00659124506637454,
-0.06245649978518486,
0.0623139850795269,
-0.0440010130405426,
0.03137076273560524,
-0.029838744550943375,
0.014206805266439915,
0.049131497740745544,
0.04097260534763336,
-0.06341846287250519,
0.02408476546406746,
-0.03158453479409218,
-0.03454168513417244,
0.03887053206562996,
0.05921432003378868,
-0.08750323206186295,
-0.06708818674087524,
0.05290810018777847,
0.04193456843495369,
0.00977107509970665,
-0.01177517045289278,
-0.007566571235656738,
0.01922149583697319,
-0.04403664171695709,
0.010759762488305569,
0.016852209344506264,
-0.026560936123132706,
0.05005783215165138,
0.055010173469781876,
0.07122107595205307,
0.0334550216794014,
0.06951091438531876,
-0.03288496658205986,
0.042860906571149826,
-0.013066697865724564,
-0.020308159291744232,
0.030854152515530586,
-0.027095360681414604,
0.02422727830708027,
0.02419164963066578,
-0.09063852578401566,
0.005856410134583712,
0.04970154911279678,
-0.0383717343211174,
0.018900839611887932,
0.010394571349024773,
0.03869238868355751,
0.058287981897592545,
-0.027487272396683693,
-0.022125206887722015,
-0.010741948150098324,
0.05059225857257843,
0.023496897891163826,
0.04464232549071312,
0.006070180330425501,
0.021501710638403893,
0.040651947259902954,
-0.0359133780002594,
0.04802701622247696,
-0.01756477728486061,
-0.040153153240680695,
-0.04731445014476776,
0.005843049380928278,
-0.0009229969582520425,
-0.007196926977485418,
-0.00637302128598094,
-0.0322258435189724,
0.0760309025645256,
-0.0069252606481313705,
-0.007896133698523045,
0.00980670377612114,
-0.06516425311565399,
0.0062037864699959755,
0.02823546901345253,
0.004658407066017389,
-0.04724319279193878,
-0.06748009473085403,
0.028538309037685394,
0.04143577069044113,
-0.06641124933958054,
-0.03904867172241211,
0.023069357499480247,
0.04955903813242912,
-0.027202246710658073,
-0.01774291880428791,
0.039725612848997116,
-0.019239310175180435,
0.04877521097660065,
0.028841150924563408,
0.018491113558411598,
-0.043609101325273514,
-0.008448372595012188,
0.04553303122520447,
0.02246367558836937,
0.11222930997610092,
0.07809734344482422,
0.03489796817302704,
-0.03324125334620476,
0.004248681012541056,
-0.04243336617946625,
-0.008332580327987671,
0.0220005065202713,
0.026133395731449127,
-0.04086571931838989,
0.02394225262105465,
-0.018793955445289612,
-0.005468952003866434,
0.06163704767823219,
0.06210021674633026,
0.0064799063839018345,
-0.01366347260773182,
-0.03489796817302704,
-0.03368660435080528,
-0.09926058351993561,
0.014384946785867214,
0.0073617082089185715,
-0.03195863217115402,
0.02260618843138218,
0.020219089463353157,
0.009316814132034779,
0.011374351568520069,
0.051910508424043655,
-0.01207801140844822,
-0.0514117106795311,
-0.012202709913253784,
-0.10624374449253082,
0.022766515612602234,
-0.060532569885253906,
0.022445861250162125,
-0.009762167930603027,
0.003642998868599534,
0.0397968664765358,
0.03812233731150627,
-0.0020230223890393972,
-0.000756545749027282,
-0.037552282214164734,
0.00012449047062546015,
-0.015275655314326286,
-0.06462983042001724,
0.035218626260757446,
0.015533961355686188,
0.03769479691982269,
-0.04973717778921127,
-0.022837772965431213,
0.05743290111422539,
0.013333910144865513,
-0.01471450924873352,
0.046423740684986115,
0.028787707909941673,
0.037017855793237686,
-0.02383536659181118,
-0.024209463968873024,
0.05900054797530174,
-0.01644248329102993,
-0.05982000008225441,
-0.012318502180278301,
-0.006934167817234993,
-0.022089578211307526,
0.026097767055034637,
0.014001942239701748,
-0.010100637562572956,
-0.006613512523472309,
-0.039725612848997116,
-0.046494998037815094,
0.03541458025574684,
-0.04100823402404785,
0.032617755234241486,
-0.0760309025645256,
-0.07688598334789276,
0.006969796027988195,
0.12925966084003448,
-0.01179298385977745,
-0.0161930862814188,
-0.05889366567134857,
0.008804656565189362,
-0.06890523433685303,
-0.022410232573747635,
0.014055384323000908,
0.02534957230091095,
-0.039761241525411606,
0.040366921573877335,
0.01814373768866062,
-0.05575836822390556,
-0.01727084256708622,
-0.017003631219267845,
0.04567554593086243,
-0.013209211640059948,
-0.05611465498805046,
-0.0359133780002594,
0.004823187831789255,
-0.01770729012787342,
-0.019595593214035034,
0.07581713050603867,
-0.02960716001689434,
-0.020682258531451225,
0.035788677632808685,
0.04086571931838989,
0.028288910165429115,
0.012648064643144608,
0.052053019404411316,
0.06883397698402405,
-0.009824518114328384,
-0.05686284974217415,
-0.038728017359972,
0.008751213550567627,
-0.006947528570890427,
0.03929807245731354,
-0.09035349637269974,
0.02552771382033825,
-0.03512955456972122,
-0.052017394453287125,
0.022338977083563805,
-0.012826206162571907,
0.030390983447432518,
0.0012514458503574133,
-0.04767073318362236,
0.01207801140844822,
-0.008573072031140327,
-0.010902275331318378,
0.015810081735253334,
-0.013102326542139053,
0.02415602281689644,
-0.05593651160597801,
-0.042860906571149826,
-0.05094854161143303,
-0.011222930625081062,
0.008996158838272095,
0.01195331197232008,
0.00591430626809597,
0.0013060017954558134,
-0.001370578189380467,
0.022766515612602234,
-0.010448014363646507,
0.013930684886872768,
0.02224990539252758,
0.019488707184791565,
-0.016718603670597076,
-0.007147938013076782,
0.033989448100328445,
-0.005865317303687334,
-0.013547680340707302,
0.04492735117673874,
-0.022018320858478546,
-0.002609776798635721,
-0.03562835231423378,
0.017155051231384277,
-0.08315657079219818,
0.049452152103185654,
-0.023069357499480247,
0.02777229994535446,
0.02239241823554039,
0.013048883527517319,
0.010697412304580212,
-0.0091074975207448,
-0.00387680996209383,
-0.003215458709746599,
0.01687002368271351,
-0.007375068496912718,
-0.007789248134940863,
-0.019862806424498558,
0.0002716661838348955,
0.02119886875152588,
-0.0067560262978076935,
-0.04218396916985512,
0.04838329926133156,
0.0033490650821477175,
0.007343893870711327,
0.01961340755224228,
-0.026347165927290916,
-0.014652159065008163,
-0.024102579802274704,
0.007802608888596296,
-0.030711637809872627,
0.010323314927518368,
0.0454261489212513,
-0.0009435946121811867,
0.0008333693840540946,
0.05647093802690506,
0.03087196685373783,
0.019310565665364265,
-0.018455486744642258,
-0.0013316096737980843,
-0.02397787943482399,
0.06291966885328293,
-0.05444012209773064,
-0.06384600698947906,
-0.0440010130405426,
-0.00430880393832922,
0.0017179545247927308,
0.04567554593086243,
0.008702225051820278,
-0.018090294674038887,
0.012051289901137352,
0.016647346317768097,
-0.048703957349061966,
-0.014420575462281704,
0.020058762282133102,
0.02105635590851307,
-0.02372848242521286,
-0.027362573891878128,
-0.02062881551682949,
0.02559897117316723,
0.05376318097114563,
-0.017831990495324135,
-0.05622153729200363,
0.0163712278008461,
0.03536113724112511,
-0.05971311777830124,
0.028288910165429115,
-0.03263556957244873,
0.03536113724112511,
-0.03894178941845894,
-0.017609313130378723,
-0.03573523461818695,
-0.0020586505997925997,
-0.0007481953944079578,
-0.035966821014881134,
-0.0039035312365740538,
0.011267466470599174,
0.027505086734890938,
0.027932627126574516,
-0.040402550250291824,
0.04503423720598221,
-0.03231491521000862,
0.07474827766418457,
-0.01943526603281498,
0.035468023270368576,
0.035432394593954086,
0.005077039822936058,
-0.033846933394670486,
0.0704016238451004,
0.0036340919323265553,
0.06413102895021439,
-0.10303719341754913,
-0.020789142698049545,
-0.0011568079935386777,
-0.017983410507440567,
0.00042614847188815475,
0.0031085736118257046,
-0.012398665770888329,
-0.008564164862036705,
0.008688864298164845,
-0.043502215296030045,
0.032689012587070465,
0.013458609580993652,
-0.0023136159870773554,
0.004729663487523794,
-0.04802701622247696,
0.040331292897462845,
-0.011018067598342896,
-0.014901557937264442,
0.02485077455639839,
0.03147764876484871,
-0.01139216497540474,
0.040366921573877335,
-0.011481235735118389,
0.01687002368271351,
-0.07082916051149368,
0.01799231767654419,
0.03854987770318985,
0.010928996838629246,
0.017502427101135254,
0.008818017318844795,
0.020254718139767647,
0.006079087499529123,
-0.009352441877126694,
-0.003959200344979763,
-0.007326079532504082,
0.032439615577459335,
-0.02506454475224018,
0.014162269420921803,
-0.03126387670636177,
0.040010638535022736,
-0.011837519705295563,
0.04816953092813492,
-0.010519270785152912,
-0.005860863719135523,
-0.025474270805716515,
-0.040616318583488464,
-0.052231162786483765,
0.021555151790380478,
-0.004186331294476986,
0.04257588088512421,
0.005958841647952795,
-0.05846612527966499,
-0.003137521678581834,
-0.04172080010175705,
0.08579307049512863,
0.00903178658336401,
-0.026418423280119896,
-0.022053949534893036,
0.011605935171246529,
0.02372848242521286,
-0.05369192361831665,
0.02524268627166748,
0.01827734336256981,
0.009405884891748428,
0.01964903622865677,
0.0005861977115273476,
-0.04271839186549187,
0.008256870321929455,
-0.02798607014119625,
-0.022855587303638458,
-0.027095360681414604,
-0.0161930862814188,
0.001259239506907761,
0.04132888838648796,
-0.016540462151169777,
0.009352441877126694,
0.01774291880428791,
0.010350036434829235,
-0.07033036649227142,
0.01590805873274803,
-0.00861760787665844,
-0.0008678843732923269,
-0.014687787741422653,
0.10510363429784775,
-0.00025287779862992465,
0.037017855793237686,
-0.049167126417160034,
0.030248470604419708,
0.05946371704339981,
0.03694659844040871,
-0.005063679534941912,
-0.008586432784795761,
-0.008043100126087666,
-0.01897209696471691,
-0.01817045919597149,
0.03489796817302704,
0.04517674818634987,
0.016522647812962532,
0.04856144264340401,
-0.031352948397397995,
0.015133142471313477,
-0.009405884891748428,
0.05896492302417755,
-0.029838744550943375,
-0.0041662901639938354,
-0.007905040867626667,
0.03461294248700142,
-0.022125206887722015,
-0.010234244167804718,
0.03247524052858353,
-0.0005274665891192853,
-0.032795898616313934,
-0.004219732712954283,
0.005468952003866434,
-0.05009346082806587,
0.008929355069994926,
-0.018134830519557,
-0.010920089669525623,
-0.0007164638955146074,
0.05600776895880699,
0.008956076577305794,
-0.039939381182193756,
-0.024530120193958282,
0.05582962557673454,
0.021519524976611137,
0.016291063278913498,
0.006079087499529123,
0.026810334995388985,
-0.05604339763522148,
-0.020040947943925858,
0.006444278173148632,
-0.010501456446945667,
-0.028538309037685394,
-0.03480890020728111,
-0.060710709542036057,
-0.02062881551682949,
0.025367386639118195,
-0.0834416002035141,
0.02636498026549816,
-0.020397230982780457,
-0.01323593221604824,
0.06748009473085403,
-0.03349065035581589,
-0.03201207518577576,
-0.0006468772771768272,
-0.004010416101664305,
0.05101979896426201,
-0.00793176144361496,
-0.05312187224626541,
0.01781417615711689,
0.024832960218191147,
0.026151210069656372,
-0.01492827944457531,
0.012282874435186386,
-0.07410696893930435,
-0.02073569968342781,
0.022944658994674683,
-0.012024568393826485,
0.07353691756725311,
0.015373633243143559,
0.014874836429953575,
-0.014162269420921803,
-0.018010132014751434,
0.009227743372321129,
0.03632310405373573,
0.017965596169233322,
-0.010323314927518368,
0.06772949546575546,
0.032332729548215866,
0.034060705453157425,
0.03548583760857582,
0.010367849841713905,
0.024530120193958282,
-0.05262307450175285,
0.04385850206017494,
0.005228460766375065,
-0.10004440695047379,
0.0068985396064817905,
-0.03628747537732124,
0.00040360240382142365,
-0.014260247349739075,
0.008029739372432232,
-0.03069382533431053,
0.013476423919200897,
0.006306217983365059,
0.0033000761177390814,
-0.01929275132715702,
-0.02253493294119835,
-0.027540715411305428,
-0.058287981897592545,
0.019738106057047844,
0.07154172658920288,
0.02499328926205635,
0.0360737070441246,
-0.014322597533464432,
0.02372848242521286,
-0.02675689198076725,
0.02805732749402523,
0.020432859659194946,
-0.03847862035036087,
-0.06170830503106117,
-0.03292059525847435,
-0.0005973315564915538,
0.032938409596681595,
0.06527113914489746,
-0.010216429829597473,
0.02037941664457321,
0.007477500010281801,
-0.030195027589797974,
0.008541896939277649,
-0.04257588088512421,
0.025403015315532684,
0.008871459402143955,
0.04371598735451698,
0.020219089463353157,
0.037089113146066666,
0.035432394593954086,
-0.006787200924009085,
0.0383717343211174,
-0.024654818698763847,
0.019951876252889633,
-0.021572966128587723,
0.04118637368083,
0.043395332992076874,
0.02488640323281288,
-0.028841150924563408,
0.04731445014476776,
0.02260618843138218,
-0.0422552227973938,
-0.026560936123132706,
0.05465389043092728,
0.008270231075584888,
-0.07859614491462708,
0.003558381460607052,
-0.003821140620857477,
-0.007116762921214104,
-0.015961501747369766,
0.03069382533431053,
0.04535489156842232,
-0.026204653084278107,
-0.014509646221995354,
-0.04692253842949867,
0.07228992134332657,
-0.027024105191230774,
-0.06452294439077377,
-0.007116762921214104,
0.020682258531451225,
0.010519270785152912,
0.040366921573877335,
0.05743290111422539,
-0.0176004059612751,
0.005143843125551939,
0.07236117869615555,
0.021216683089733124,
-0.026739077642560005,
-0.012086918577551842,
0.0795937329530716,
0.030658196657896042,
-0.01597931608557701,
-0.026169024407863617,
-0.04663751274347305,
-0.032938409596681595,
-0.05917869135737419,
-0.0030707186087965965,
0.011454515159130096,
0.06812141090631485,
0.018117016181349754,
-0.03651906177401543,
-0.005500126630067825,
-0.05707661807537079,
-0.022837772965431213,
-0.030497869476675987,
-0.00348044466227293,
0.043644730001688004,
-0.015168770216405392,
-0.020005319267511368,
0.007103402633219957,
-0.05643530935049057,
0.04699379578232765,
0.010804297402501106,
-0.0018972096731886268,
0.043217189610004425,
0.0383717343211174,
-0.07432074099779129,
0.0364299900829792,
-0.006720397621393204,
0.03815796598792076,
-0.03181611746549606,
0.013031069189310074,
0.001476349774748087,
0.010394571349024773,
0.048882097005844116,
-0.06438042968511581,
-0.011116045527160168,
-0.040153153240680695,
0.029803115874528885,
-0.028680821880698204,
-0.026489678770303726,
0.015738824382424355,
0.02925087697803974,
-0.009967030957341194,
-0.03500485420227051,
0.055010173469781876
]
|
43,891 | pybtex | format_from_string |
Parse the bigliography data from the given string and produce a formated
bibliography using :py:meth:`~.Engine.format_from_files`.
This is a convenience method that calls
:py:meth:`~.Engine.format_from_strings` with a single string.
| def format_from_string(self, bib_string, *args, **kwargs):
"""
Parse the bigliography data from the given string and produce a formated
bibliography using :py:meth:`~.Engine.format_from_files`.
This is a convenience method that calls
:py:meth:`~.Engine.format_from_strings` with a single string.
"""
return self.format_from_strings([bib_string], *args, **kwargs)
| (self, bib_string, *args, **kwargs) | [
0.030277805402874947,
-0.007634855806827545,
-0.030940568074584007,
0.019760802388191223,
-0.04768405482172966,
-0.07105517387390137,
-0.002834184095263481,
0.03205680102109909,
0.0990656316280365,
-0.06177649274468422,
-0.03980066254734993,
0.041928481310606,
-0.12620402872562408,
0.024260615929961205,
-0.02602216973900795,
0.017083588987588882,
-0.0722062885761261,
0.0243478212505579,
-0.01553132850676775,
-0.011554750613868237,
-0.0402541346848011,
-0.010290267877280712,
0.045905061066150665,
0.06359037011861801,
0.0722760558128357,
-0.0019098039483651519,
0.017397530376911163,
-0.04552135616540909,
-0.00847203005105257,
0.008437147364020348,
0.0554279200732708,
-0.057172033935785294,
-0.03453344106674194,
0.06917153298854828,
0.03139403834939003,
0.00873364694416523,
0.004674223717302084,
0.010142018087208271,
-0.022394413128495216,
0.02049333043396473,
-0.010473400354385376,
-0.007146504241973162,
0.07140399515628815,
0.00050361268222332,
-0.015740621834993362,
0.018679453060030937,
-0.049114227294921875,
-0.018679453060030937,
-0.06393919140100479,
-0.008851374499499798,
-0.01881898194551468,
-0.04688176512718201,
0.0013516877079382539,
-0.005336986389011145,
-0.01746729388833046,
0.008938580751419067,
0.014667992480099201,
0.10436773300170898,
0.05493956804275513,
0.01030770968645811,
0.0019326955080032349,
0.0026641329750418663,
0.03278932720422745,
-0.04496324062347412,
-0.03306838870048523,
-0.015810387209057808,
0.037533316761255264,
-0.012479130178689957,
-0.015557490289211273,
-0.015069138258695602,
-0.006274447310715914,
0.012383203953504562,
-0.025900080800056458,
-0.00974959321320057,
-0.010735017247498035,
0.03278932720422745,
-0.0620555505156517,
0.01359536312520504,
-0.003919894341379404,
0.050614167004823685,
0.034515999257564545,
-0.010107136331498623,
-0.005127693060785532,
-0.03707984834909439,
0.040882013738155365,
-0.083856962621212,
0.042068012058734894,
0.02251650206744671,
0.05797432363033295,
0.021522358059883118,
0.0019610372837632895,
-0.05720691382884979,
0.05752085521817207,
0.0587766170501709,
-0.0243478212505579,
-0.07597357034683228,
0.02603961154818535,
-0.0052018179558217525,
0.04210289195179939,
-0.008947300724685192,
-0.019010834395885468,
-0.08295002579689026,
-0.011336736381053925,
-0.08343837410211563,
-0.04395165294408798,
-0.06324154883623123,
0.053788453340530396,
-0.04178895428776741,
-0.022289767861366272,
0.0011325835948809981,
-0.03547526150941849,
-0.07569451630115509,
-0.03777749463915825,
-0.0023807145189493895,
-0.0021060167346149683,
0.02000497840344906,
0.003472965443506837,
-0.025429170578718185,
0.02080727182328701,
-0.013080849312245846,
-0.04133548215031624,
-0.019045716151595116,
-0.051800161600112915,
0.043567948043346405,
0.04049830883741379,
0.002064594067633152,
-0.03638220205903053,
-0.022638589143753052,
0.04635852947831154,
-0.039207667112350464,
0.07353181391954422,
0.045102767646312714,
-0.026248903945088387,
-0.05270710214972496,
0.040219251066446304,
-0.04928864166140556,
0.028132546693086624,
-0.0029388307593762875,
0.010595488362014294,
0.06993894279003143,
0.05232339724898338,
-0.03261491656303406,
0.0520792230963707,
-0.0587068535387516,
-0.04133548215031624,
0.06177649274468422,
0.04737011715769768,
-0.03805655241012573,
-0.035178765654563904,
0.020597977563738823,
0.01251401286572218,
0.011711720377206802,
-0.022865325212478638,
0.015845268964767456,
-0.011851249262690544,
-0.027225608006119728,
-0.005341346841305494,
0.010935589671134949,
0.04300983250141144,
0.05476515740156174,
0.053300101310014725,
0.024469908326864243,
0.02535940706729889,
0.03322535753250122,
0.0005820977967232466,
0.034847382456064224,
0.021278182044625282,
-0.026144256815314293,
-0.018731776624917984,
0.013708730228245258,
-0.009758313186466694,
0.013656406663358212,
-0.09167059510946274,
0.05755573883652687,
0.05336986482143402,
0.05239316076040268,
0.01983056776225567,
0.0923682376742363,
0.013752332888543606,
0.010063533671200275,
0.008419706486165524,
-0.01534819696098566,
-0.03090568631887436,
0.04981187358498573,
0.00733835669234395,
0.011554750613868237,
0.006788960658013821,
0.04063783958554268,
0.018016690388321877,
-0.0037062405608594418,
0.048904936760663986,
-0.01930733397603035,
-0.027609312906861305,
-0.03463808819651604,
-0.0302254818379879,
0.014545904472470284,
-0.011319294571876526,
-0.022254884243011475,
-0.05811385437846184,
0.06652048230171204,
0.0070592984557151794,
-0.026126816868782043,
-0.022900206968188286,
-0.05521862581372261,
0.018208542838692665,
-0.0026532323099672794,
-0.007107261568307877,
-0.004962002392858267,
-0.11866946518421173,
-0.007499686907976866,
-0.015574931167066097,
-0.03057430498301983,
0.0134383924305439,
0.02131306380033493,
0.03603338077664375,
-0.04133548215031624,
0.020109625533223152,
0.07695027440786362,
0.0285336934030056,
0.030626628547906876,
0.04485859349370003,
-0.01317677553743124,
0.031149862334132195,
0.014406375586986542,
0.003915534354746342,
0.025934964418411255,
0.0604509636759758,
0.06770647317171097,
0.02330135367810726,
0.0015010274946689606,
-0.010700134560465813,
-0.052288513630628586,
0.016682442277669907,
0.019568949937820435,
0.04496324062347412,
-0.059020791202783585,
-0.005550640169531107,
-0.007735142018646002,
0.004774509929120541,
0.0039460561238229275,
0.07653168588876724,
0.004748348146677017,
-0.03613802790641785,
-0.01866201125085354,
-0.022778118029236794,
-0.06645071506500244,
0.010264106094837189,
0.028097664937376976,
-0.013691289350390434,
-0.043079596012830734,
-0.010612929239869118,
0.08036873489618301,
-0.006366013549268246,
0.034149736166000366,
-0.005175656173378229,
-0.025254759937524796,
0.016228973865509033,
-0.05068393051624298,
-0.003010775428265333,
-0.011903572827577591,
0.021086329594254494,
-0.050300225615501404,
0.01930733397603035,
0.029109250754117966,
0.006993893999606371,
-0.014502301812171936,
-0.0056160446256399155,
-0.0029671727679669857,
0.044230710715055466,
0.018679453060030937,
-0.0022564465180039406,
-0.02078983001410961,
0.047579407691955566,
0.018330629914999008,
-0.06310201436281204,
-0.047928232699632645,
0.0386146679520607,
0.007150864228606224,
-0.021574681624770164,
0.017824837937951088,
0.04346330091357231,
0.04600970819592476,
0.0024853614158928394,
-0.024801289662718773,
0.08462437242269516,
-0.02033635973930359,
-0.014624389819800854,
0.019848009571433067,
-0.033504415303468704,
0.0042534563690423965,
0.0046088192611932755,
-0.018766658380627632,
-0.023196706548333168,
0.01965615712106228,
-0.05521862581372261,
-0.007586892694234848,
0.07450851798057556,
-0.0419982485473156,
0.04067271947860718,
-0.09501928836107254,
-0.05082346126437187,
-0.016987662762403488,
0.0571022666990757,
0.01862712949514389,
-0.01284539420157671,
-0.03160333260893822,
-0.003418461885303259,
-0.07255510985851288,
-0.03292885795235634,
-0.02298741228878498,
0.0318998321890831,
0.020039862021803856,
-0.03645196557044983,
0.019237568601965904,
-0.05500933155417442,
0.07199699431657791,
-0.05277686566114426,
-0.019010834395885468,
-0.04562600329518318,
-0.039870429784059525,
-0.011537308804690838,
-0.052637338638305664,
0.03141148015856743,
-0.0369752012193203,
0.06655535846948624,
-0.034184619784355164,
-0.05166063457727432,
0.03512644022703171,
0.02788837067782879,
0.05152110382914543,
0.02232464961707592,
0.022237444296479225,
0.06952035427093506,
-0.03341720998287201,
0.028132546693086624,
-0.05438145250082016,
-0.04904446378350258,
-0.11846017092466354,
-0.03338232636451721,
-0.09257753193378448,
0.036835670471191406,
-0.023545529693365097,
-0.00524978106841445,
0.0318998321890831,
-0.04513765126466751,
0.04974211007356644,
0.010595488362014294,
-0.01309829019010067,
0.03292885795235634,
-0.03155100718140602,
-0.02705119550228119,
-0.009339726530015469,
-0.01696150191128254,
0.007063658442348242,
-0.03742866963148117,
-0.03139403834939003,
-0.03945184126496315,
-0.021278182044625282,
-0.009592622518539429,
-0.038196079432964325,
0.0015151983825489879,
-0.028760427609086037,
0.006893607787787914,
-0.0019087139517068863,
-0.003684439230710268,
0.01878410018980503,
-0.001731032389216125,
0.07332251965999603,
0.024103645235300064,
0.018034130334854126,
0.021225858479738235,
-0.010011210106313229,
-0.008855734951794147,
0.0006115296855568886,
-0.026440756395459175,
-0.010386194102466106,
-0.02535940706729889,
-0.0010039551416411996,
-0.08336861431598663,
-0.03994019329547882,
-0.025760551914572716,
0.008232214488089085,
-0.021417710930109024,
0.015365637838840485,
0.028673222288489342,
-0.003514388110488653,
-0.006479380652308464,
0.009993769228458405,
0.033975325524806976,
0.0032048081047832966,
-0.0019098039483651519,
-0.016926618292927742,
0.04688176512718201,
-0.017711469903588295,
-0.04349818453192711,
-0.0654740110039711,
0.06006725877523422,
-0.012705865316092968,
0.022865325212478638,
0.009522858075797558,
0.0062875282019376755,
-0.002720816759392619,
-0.06059049442410469,
0.01731904409825802,
-0.04719570279121399,
0.006697394885122776,
0.0011271331459283829,
0.03812631592154503,
-0.0553581528365612,
0.027801165357232094,
0.05214898660778999,
0.00981063675135374,
-0.028760427609086037,
-0.06411360204219818,
-0.018853863701224327,
0.0636950135231018,
-0.008759808726608753,
-0.04217265918850899,
-0.0754852220416069,
0.0032614916563034058,
0.0201445072889328,
0.021086329594254494,
0.029144132509827614,
-0.004469290375709534,
-0.0029322903137654066,
-0.008184251375496387,
-0.03470785170793533,
-0.012112866155803204,
0.0184527188539505,
0.004809392150491476,
-0.03739378973841667,
-0.0074124811217188835,
0.012261115945875645,
0.015409240499138832,
0.029928984120488167,
-0.014790080487728119,
-0.02834184095263481,
0.05825338140130043,
0.05762550234794617,
-0.07063658535480499,
0.07778745144605637,
-0.02197582647204399,
-0.011048957705497742,
-0.006147999316453934,
0.008799050934612751,
-0.027923252433538437,
-0.01946430467069149,
0.004547775257378817,
0.0021071068476885557,
-0.010944310575723648,
0.02583031728863716,
-0.008611558936536312,
-0.008088325150310993,
0.016167929396033287,
0.03892860934138298,
-0.06564842164516449,
0.09599599242210388,
-0.019760802388191223,
0.052462927997112274,
0.05148622393608093,
-0.06693906337022781,
0.021539798006415367,
0.05521862581372261,
0.03645196557044983,
-0.005084089934825897,
-0.06589259952306747,
0.024435026571154594,
-0.01149370614439249,
-0.020877035334706306,
0.016385944560170174,
-0.004887877497822046,
-0.008345581591129303,
-0.014886006712913513,
0.0318998321890831,
-0.02733025513589382,
0.0142668467015028,
-0.02569078840315342,
-0.020929358899593353,
-0.00041449940181337297,
-0.021103769540786743,
0.01911548152565956,
-0.05242804437875748,
0.012104146182537079,
0.008908058516681194,
0.0005090630729682744,
-0.019551509991288185,
0.07667122036218643,
0.0015620713820680976,
0.013045966625213623,
-0.007081099785864353,
-0.05595115199685097,
0.09697269648313522,
0.04335865378379822,
0.028603456914424896,
0.03341720998287201,
0.015566210262477398,
-0.007238070014864206,
0.00659274822100997,
-0.003673538565635681,
-0.0006404165760613978,
0.03308582678437233,
-0.015557490289211273,
-0.023458322510123253,
-0.03174285963177681,
0.04283542186021805,
-0.006605829112231731,
0.0003144854272250086,
0.018853863701224327,
0.007647936698049307,
-0.026074493303894997,
-0.061671845614910126,
-0.029458072036504745,
0.03158589079976082,
0.019882891327142715,
-0.01881898194551468,
-0.007316554896533489,
0.0025507656391710043,
0.003852310124784708,
-0.056788329035043716,
0.04398653656244278,
0.03603338077664375,
0.010708855465054512,
-0.04928864166140556,
-0.05846267566084862,
0.050649046897888184,
-0.06627630442380905,
0.020388683304190636,
-0.002794941421598196,
0.0038741114549338818,
-0.008851374499499798,
-0.018557364121079445,
0.019848009571433067,
0.004482371266931295,
-0.0032745725475251675,
0.003915534354746342,
0.03039989434182644,
-0.008572316728532314,
0.023964116349816322,
-0.002855985425412655,
-0.015862710773944855,
-0.0024679203052073717,
0.026597727090120316,
0.023423440754413605,
-0.027086079120635986,
0.0537535697221756,
0.01299364399164915,
0.01276690885424614,
0.013970347121357918,
0.07360158115625381,
-0.019098039716482162,
0.02368505857884884,
-0.021103769540786743,
-0.025551259517669678,
0.055323272943496704,
0.04485859349370003,
-0.02869066223502159,
-0.05218386650085449,
0.015548769384622574,
-0.012060543522238731,
-0.008533073589205742,
0.01827830635011196,
0.05005605146288872,
0.0335916206240654,
0.06795065104961395,
0.002799301641061902,
0.05455586314201355,
-0.0037760052364319563,
-0.015548769384622574,
-0.03659149631857872,
0.005908183753490448,
0.043393537402153015,
-0.05640462413430214,
0.0017626445041969419,
0.002731717424467206,
-0.005973587743937969,
0.01511274091899395,
-0.04412606358528137,
-0.05357915908098221,
0.04897470027208328,
0.034306708723306656,
0.029266219586133957,
-0.036521732807159424,
0.03732402250170708,
0.005005605053156614,
0.026911666616797447,
0.021766534075140953,
-0.003451164113357663,
0.011641955934464931,
0.018679453060030937,
0.04314936324954033,
0.016577797010540962,
-0.055148862302303314,
0.056020915508270264,
-0.01792948506772518,
-0.029824336990714073,
-0.014388934709131718,
0.016874294728040695,
-0.01628129743039608,
-0.0134296715259552,
-0.05291639640927315,
-0.035998497158288956,
0.04049830883741379,
-0.04932352155447006,
0.04262612760066986,
0.004626260604709387,
0.024714084342122078,
0.06868317723274231,
-0.019603833556175232,
0.017005104571580887,
-0.0010094055905938148,
-0.026091933250427246,
0.014947050251066685,
-0.053962863981723785,
-0.0027775003109127283,
-0.014772639609873295,
-0.0044998121447861195,
0.009531578980386257,
-0.02347576431930065,
0.03329512104392052,
-0.05779991298913956,
0.006636350881308317,
0.04667247086763382,
-0.015226108953356743,
0.0519745759665966,
0.03121962770819664,
-0.023597851395606995,
-0.02837672270834446,
-0.03638220205903053,
0.029789453372359276,
-0.03458576649427414,
-0.00658838776871562,
0.008698765188455582,
0.04914911091327667,
-0.010325150564312935,
0.043044716119766235,
0.035998497158288956,
0.013325025327503681,
0.027766283601522446,
-0.04311447963118553,
0.05825338140130043,
0.012575056403875351,
-0.055497683584690094,
-0.0025355045218020678,
-0.016019679605960846,
0.0009467264753766358,
-0.005323905497789383,
0.01134545635432005,
-0.04283542186021805,
0.047753822058439255,
0.006496821995824575,
-0.005001244600862265,
0.03141148015856743,
0.04049830883741379,
-0.010769899003207684,
-0.06163696199655533,
0.017336485907435417,
0.04150989651679993,
0.0209991242736578,
-0.0168045312166214,
-0.010203062556684017,
0.007063658442348242,
-0.018522482365369797,
-0.010089695453643799,
0.011127442121505737,
-0.05441633239388466,
-0.06979940831661224,
0.0016863394994288683,
0.020772388204932213,
0.024121087044477463,
0.0369752012193203,
-0.024121087044477463,
0.03141148015856743,
0.021627003327012062,
-0.018766658380627632,
-0.012357042171061039,
-0.03711472824215889,
0.03123706765472889,
-0.025097789242863655,
0.013080849312245846,
0.06822971254587173,
0.011781484819948673,
-0.004362463019788265,
-0.04737011715769768,
0.009836798533797264,
0.03538805618882179,
0.05521862581372261,
-0.016342341899871826,
0.0386495478451252,
0.019429421052336693,
-0.011432662606239319,
-0.021435150876641273,
-0.02134794555604458,
0.0168132521212101,
-0.09613551944494247,
0.0037847256753593683,
0.030277805402874947,
-0.025429170578718185,
-0.03020804189145565,
0.041370365768671036,
-0.009522858075797558,
0.013717450201511383,
0.055323272943496704,
0.01083094347268343,
0.06013702601194382,
0.005908183753490448,
-0.04377724230289459,
-0.0620555505156517,
0.03481249883770943,
0.008908058516681194,
-0.04280053824186325,
0.010926869697868824,
0.033486973494291306,
0.026894226670265198,
0.02621402218937874,
0.06990405917167664,
0.009889122098684311,
-0.007682818919420242,
0.06093931570649147,
-0.0142668467015028,
-0.06198578327894211,
-0.01553132850676775,
0.02654540352523327,
0.02199326828122139,
-0.018906187266111374,
-0.0176329854875803,
-0.03578920289874077,
-0.03319047391414642,
0.012287277728319168,
0.02837672270834446,
-0.020946800708770752,
-0.00814064871519804,
0.022411854937672615,
-0.03980066254734993,
-0.021417710930109024,
-0.05842779204249382,
-0.020754948258399963,
-0.017589382827281952,
0.006784600671380758,
0.06697394698858261,
-0.04646317660808563,
-0.028777869418263435,
0.009461814537644386,
-0.037672847509384155,
0.027225608006119728,
-0.005206177942454815,
0.042381953448057175,
0.010525722987949848,
0.0276790764182806,
-0.044893473386764526,
-0.008036001585423946,
-0.0024875414092093706,
0.040358781814575195,
-0.037882138043642044,
0.012357042171061039,
-0.0004880791821051389,
-0.048939816653728485,
0.03945184126496315,
0.00981063675135374,
-0.02150491625070572,
-0.023092059418559074,
-0.016848133876919746,
-0.019603833556175232,
0.028655780479311943,
-0.0002603906614240259,
0.019935214892029762,
0.0075040473602712154,
-0.047788701951503754,
0.048242174088954926
]
|
43,892 | pybtex | format_from_strings |
Parse the bigliography data from the given strings and produce a formated
bibliography.
This is a convenience method that wraps each string into a StringIO,
then calls :py:meth:`~.Engine.format_from_files`.
| def format_from_strings(self, bib_strings, *args, **kwargs):
"""
Parse the bigliography data from the given strings and produce a formated
bibliography.
This is a convenience method that wraps each string into a StringIO,
then calls :py:meth:`~.Engine.format_from_files`.
"""
from io import StringIO
inputs = [StringIO(bib_string) for bib_string in bib_strings]
return self.format_from_files(inputs, *args, **kwargs)
| (self, bib_strings, *args, **kwargs) | [
0.008514808490872383,
-0.016608700156211853,
-0.05980535224080086,
-0.004660783801227808,
-0.0681886225938797,
-0.02507966384291649,
-0.008716498501598835,
0.034778304398059845,
0.09575871378183365,
-0.016459625214338303,
-0.038057949393987656,
0.059875503182411194,
-0.11477015167474747,
0.01697700284421444,
-0.023395994678139687,
-0.005051009356975555,
-0.03858409821987152,
0.015547637827694416,
-0.0013252322096377611,
-0.03858409821987152,
-0.04938764497637749,
0.004616938065737486,
0.04139021411538124,
0.07632636278867722,
0.0525796040892601,
-0.0006286358111537993,
0.012697676196694374,
-0.050685472786426544,
-0.008071968331933022,
0.026254724711179733,
0.056262630969285965,
-0.031498655676841736,
-0.01992342434823513,
0.049738410860300064,
0.029639601707458496,
-0.01976558193564415,
0.02632487751543522,
0.01913420483469963,
-0.009944174438714981,
0.019555121660232544,
-0.0008275850559584796,
-0.004757243674248457,
0.08825235813856125,
-0.0093391053378582,
-0.02194032073020935,
0.04156559705734253,
-0.06373391300439835,
-0.03325247764587402,
-0.01756453327834606,
0.0007322209421545267,
-0.02039695717394352,
-0.051457155495882034,
-0.024237828329205513,
-0.0049720872193574905,
0.0033936467953026295,
0.052228838205337524,
0.009865252301096916,
0.10270385444164276,
0.052825137972831726,
-0.015600251965224743,
-0.0006779620889574289,
-0.020449571311473846,
0.053912509232759476,
-0.045844923704862595,
-0.03281402215361595,
0.010707086883485317,
0.03770718723535538,
-0.037777338176965714,
0.008962033316493034,
-0.006888138595968485,
-0.008269273675978184,
-0.013074747286736965,
-0.05180792137980461,
-0.011733073741197586,
0.0009815925732254982,
0.06362868845462799,
-0.04717782884836197,
0.03097250685095787,
0.004296865314245224,
0.02069510705769062,
0.023694144561886787,
-0.024079984053969383,
-0.009242645464837551,
-0.0423022024333477,
0.0569290816783905,
-0.07166118919849396,
0.016266705468297005,
0.041179753839969635,
0.0672064796090126,
0.010391399264335632,
-0.026219649240374565,
-0.046300917863845825,
0.06625942140817642,
0.050966084003448486,
-0.021361559629440308,
-0.06320776790380478,
-0.01572301983833313,
-0.012232912704348564,
0.041460368782281876,
0.005967381410300732,
-0.0029135379008948803,
-0.08565669506788254,
0.01401304267346859,
-0.07485315203666687,
-0.033533088862895966,
-0.07836079597473145,
0.03312971070408821,
-0.05857767537236214,
-0.025009511038661003,
-0.0020201844163239002,
-0.05247437208890915,
-0.08348195999860764,
0.0034418769646435976,
-0.006800447124987841,
-0.012864288873970509,
0.0054236967116594315,
-0.0036698738113045692,
-0.024693822488188744,
0.035111527889966965,
-0.023273225873708725,
-0.026026727631688118,
-0.02878022938966751,
-0.03714596480131149,
0.03512906655669212,
0.0634533017873764,
-0.002497005043551326,
-0.020589876919984818,
-0.026342416182160378,
0.056894004344940186,
-0.04433663561940193,
0.08565669506788254,
0.03239310532808304,
-0.017994219437241554,
-0.05072055011987686,
0.04342464730143547,
-0.047423362731933594,
0.013679816387593746,
-0.004176290240138769,
0.035427216440439224,
0.0249042809009552,
0.04524862393736839,
-0.03714596480131149,
0.04247758537530899,
-0.03405923396348953,
-0.03456784412264824,
0.06268162280321121,
0.0707492083311081,
-0.047879356890916824,
-0.029323915019631386,
0.021063409745693207,
0.010943853296339512,
0.02039695717394352,
-0.05166761577129364,
-0.00864196103066206,
-0.01174184214323759,
-0.026868563145399094,
0.0025123509112745523,
0.01913420483469963,
0.028271621093153954,
0.05468418821692467,
0.044617246836423874,
0.027973471209406853,
-0.004691475536674261,
0.05131684988737106,
0.02025665156543255,
0.04679198935627937,
0.026342416182160378,
-0.03365585580468178,
-0.006361991632729769,
0.021922782063484192,
0.013478127308189869,
0.016871774569153786,
-0.09561841189861298,
0.031849417835474014,
0.06401452422142029,
0.0014589611673727632,
-0.0005538242985494435,
0.053000520914793015,
0.013074747286736965,
0.01362720225006342,
-0.031849417835474014,
0.002213104860857129,
-0.03451522812247276,
0.05499987676739693,
0.0082517359405756,
0.043179113417863846,
-0.00794043205678463,
0.04247758537530899,
0.02101079560816288,
-0.03235802799463272,
0.03148111701011658,
-0.0063970680348575115,
-0.03035867027938366,
-0.011645382270216942,
-0.009146184660494328,
0.00467393733561039,
-0.03521675989031792,
-0.020765259861946106,
-0.05250944942235947,
0.060682263225317,
-0.017546994611620903,
-0.018257293850183487,
0.002707463689148426,
-0.07060889899730682,
0.04233727976679802,
0.012197836302220821,
-0.023466147482395172,
-0.0011366963153705,
-0.0853760838508606,
-0.005318467039614916,
0.007822048850357533,
-0.03714596480131149,
-0.029850061982870102,
0.008834881708025932,
0.02474643662571907,
0.007019674871116877,
0.02600918896496296,
0.054859571158885956,
0.004187251441180706,
0.012899365276098251,
0.03146357834339142,
0.027166713029146194,
-0.0019138589268550277,
0.013513203710317612,
0.00818158220499754,
0.03551490977406502,
0.07004767656326294,
0.07492329925298691,
0.02785070426762104,
0.024956896901130676,
-0.02288738451898098,
-0.0395311638712883,
0.020361879840493202,
0.03156880661845207,
0.027289479970932007,
-0.06534743309020996,
-0.005809537600725889,
-0.006212916690856218,
0.03521675989031792,
0.002582503715530038,
0.059068746864795685,
-0.005625386256724596,
-0.05773584172129631,
-0.0460553839802742,
0.0018206870881840587,
-0.06369883567094803,
0.0002626623318064958,
0.006239224225282669,
-0.013644739985466003,
-0.030569128692150116,
0.043494801968336105,
0.06457574665546417,
-0.00666014151647687,
0.020151421427726746,
-0.01678408309817314,
-0.02348368428647518,
0.03732134401798248,
-0.07394116371870041,
0.010584319941699505,
-0.04591507464647293,
0.036479510366916656,
-0.03297186642885208,
0.0300429817289114,
0.050966084003448486,
-0.009304028935730457,
-0.005616616923362017,
0.011364771053195,
-0.009426796808838844,
0.013995504938066006,
0.010058172978460789,
-0.027798088267445564,
0.025167355313897133,
0.039776697754859924,
0.022641850635409355,
-0.07078427821397781,
-0.012636291794478893,
0.05836721882224083,
-0.0024816589429974556,
-0.028692537918686867,
0.01160153653472662,
0.043670184910297394,
0.05787614732980728,
-0.01632808893918991,
-0.02474643662571907,
0.09161969274282455,
-0.027026407420635223,
-0.03298940509557724,
-0.023922139778733253,
-0.031007584184408188,
-0.016696391627192497,
0.007988662458956242,
0.0006357607198879123,
-0.011847072280943394,
-0.013662278652191162,
-0.04609045758843422,
-0.018257293850183487,
0.06881999969482422,
-0.0531759038567543,
0.03251587226986885,
-0.08488501608371735,
-0.06457574665546417,
-0.017818838357925415,
0.08411333709955215,
0.005717461928725243,
-0.01330274436622858,
-0.05247437208890915,
-0.015424869954586029,
-0.06545265763998032,
-0.028604846447706223,
-0.034024160355329514,
0.04058345407247543,
0.00766420504078269,
-0.01881851628422737,
0.02897314913570881,
-0.03725119307637215,
0.06717140972614288,
-0.05878813564777374,
0.024851666763424873,
-0.0423022024333477,
-0.05166761577129364,
0.002150624990463257,
-0.05131684988737106,
0.034006621688604355,
-0.038689326494932175,
0.050790704786777496,
-0.022010473534464836,
-0.028710076585412025,
0.01306597888469696,
0.03551490977406502,
0.03283156082034111,
0.037110887467861176,
0.005243929568678141,
0.0756949856877327,
-0.03218264505267143,
0.03925054892897606,
-0.05559617653489113,
-0.04595015197992325,
-0.10003804415464401,
-0.007813279516994953,
-0.08579700440168381,
0.041320059448480606,
-0.011566460132598877,
-0.0007809991366229951,
0.05054516717791557,
-0.07102981954813004,
0.034936148673295975,
0.014828570187091827,
-0.007024059537798166,
0.013136131688952446,
-0.019414816051721573,
-0.023553837090730667,
-0.00564730865880847,
-0.014942568726837635,
0.014346268959343433,
-0.02939406782388687,
-0.0025057741440832615,
-0.06587357819080353,
-0.007256441283971071,
0.00948818027973175,
-0.04524862393736839,
0.019888348877429962,
-0.011110465973615646,
0.024027369916439056,
-0.004616938065737486,
-0.005507003050297499,
0.02101079560816288,
0.02862238511443138,
0.047423362731933594,
0.011434923857450485,
0.0058051529340445995,
0.02165970951318741,
0.00693198386579752,
0.0053228517062962055,
0.008115814067423344,
-0.04261789098381996,
-0.004770397674292326,
-0.043950796127319336,
-0.0004932626034133136,
-0.09267199039459229,
-0.017204999923706055,
-0.04205666854977608,
0.008212274871766567,
-0.006243608426302671,
0.011838302947580814,
0.03749672695994377,
-0.0012112337863072753,
-0.013942889869213104,
0.02209816500544548,
0.02772793546319008,
0.017845144495368004,
0.008444655686616898,
-0.019028974696993828,
0.03623397648334503,
-0.008435887284576893,
-0.05029963329434395,
-0.08039522916078568,
0.0482301227748394,
0.0026131956838071346,
0.027131635695695877,
-0.017704838886857033,
-0.009470642544329166,
-0.020291727036237717,
-0.06278684735298157,
0.029692217707633972,
-0.04854581132531166,
0.045985229313373566,
0.006690833251923323,
0.037566881626844406,
-0.04356495290994644,
0.016687622293829918,
0.043950796127319336,
0.0049720872193574905,
0.012583677656948566,
-0.07492329925298691,
-0.06278684735298157,
0.05749030411243439,
-0.035111527889966965,
-0.04058345407247543,
-0.05819183588027954,
-0.0021363752894103527,
0.009882790967822075,
0.020800337195396423,
0.048195045441389084,
0.0025364658795297146,
0.0028828459326177835,
-0.02023911289870739,
-0.027464862912893295,
-0.0314285010099411,
0.02832423523068428,
-0.007041597738862038,
-0.047212906181812286,
0.02583380788564682,
-0.019958501681685448,
-0.0006949522066861391,
0.040092386305332184,
-0.010137095116078854,
-0.0292537622153759,
0.053000520914793015,
0.062015168368816376,
-0.08285058289766312,
0.044582169502973557,
-0.025272583588957787,
0.00191495509352535,
0.0006916638230904937,
-0.021045871078968048,
-0.013986735604703426,
-0.03325247764587402,
-0.010689549148082733,
-0.013188745826482773,
-0.004866858012974262,
-0.0025803116150200367,
-0.01759961061179638,
-0.011557690799236298,
-0.0006132898270152509,
0.054368503391742706,
-0.013837660662829876,
0.10200232267379761,
-0.006559296511113644,
0.02085295133292675,
0.04549415782094002,
-0.027622707188129425,
-0.00482301227748394,
0.07597559690475464,
0.021536942571401596,
-0.012645061127841473,
-0.04542400687932968,
0.005274621769785881,
-0.005980534944683313,
0.011557690799236298,
0.037742264568805695,
0.02427290566265583,
-0.006537373643368483,
-0.005537694785743952,
0.029692217707633972,
-0.039601314812898636,
-0.0023040843661874533,
0.011224464513361454,
-0.003064804943278432,
-0.001783418352715671,
-0.056894004344940186,
0.019379740580916405,
-0.03995208069682121,
0.009005879051983356,
0.009198799729347229,
-0.014214732684195042,
-0.022501545026898384,
0.07492329925298691,
-0.035883210599422455,
0.02286984771490097,
-0.022343700751662254,
-0.033989083021879196,
0.07085443288087845,
0.044582169502973557,
0.01725761406123638,
0.02085295133292675,
0.023273225873708725,
-0.003812371985986829,
0.00325114862062037,
-0.0048186276108026505,
0.004555554129183292,
0.04784427955746651,
-0.016731467097997665,
-0.02537781372666359,
-0.018555443733930588,
0.046932294964790344,
0.005717461928725243,
0.022045550867915154,
-0.013451819308102131,
-0.024781513959169388,
-0.057525381445884705,
-0.06464590132236481,
-0.055806636810302734,
0.031691573560237885,
-0.0018963207257911563,
-0.0062567624263465405,
-0.005173776764422655,
0.006388298701494932,
0.013504434376955032,
-0.07260825484991074,
0.06657510995864868,
0.03099004551768303,
-0.013688585720956326,
-0.06741694360971451,
-0.04794951155781746,
0.026956254616379738,
-0.08278042823076248,
0.022676926106214523,
0.0021791246253997087,
-0.010680779814720154,
-0.009882790967822075,
-0.022045550867915154,
0.008409579284489155,
0.004932626150548458,
-0.02583380788564682,
0.0059059979394078255,
0.020975718274712563,
0.026412568986415863,
0.007896586321294308,
0.03690042719244957,
0.026868563145399094,
0.0021363752894103527,
0.043038807809352875,
0.029376529157161713,
-0.019888348877429962,
0.04808981716632843,
0.004169713240116835,
0.014214732684195042,
-0.006945137400180101,
0.08839266002178192,
-0.017511919140815735,
0.03498876094818115,
-0.032130029052495956,
-0.03197218477725983,
0.06278684735298157,
0.018187141045928,
-0.03981177508831024,
-0.03686534985899925,
0.007054751738905907,
-0.036339204758405685,
-0.0038145643193274736,
0.0405133031308651,
0.04556431248784065,
0.022185856476426125,
0.05492972582578659,
0.0012353488709777594,
0.047879356890916824,
-0.000616030185483396,
-0.0025803116150200367,
-0.030884817242622375,
0.008558654226362705,
0.018871132284402847,
-0.04089914262294769,
0.01144369225949049,
-0.015644097700715065,
0.010242324322462082,
-0.008172813802957535,
-0.03739149868488312,
-0.0715559646487236,
0.04777412861585617,
0.00949694961309433,
0.01572301983833313,
-0.022028012201189995,
0.027324557304382324,
-0.001795475953258574,
0.05836721882224083,
0.024009831249713898,
-0.019520046189427376,
0.020905565470457077,
0.01976558193564415,
0.04591507464647293,
0.01728392206132412,
-0.02599165216088295,
0.03351555019617081,
0.00412148330360651,
-0.009067263454198837,
-0.028131315484642982,
0.0019445508951321244,
-0.0027820011600852013,
-0.03749672695994377,
-0.062260702252388,
-0.04198651388287544,
0.048791345208883286,
-0.05770076438784599,
0.03539213910698891,
0.010733394883573055,
0.008812958374619484,
0.06896030902862549,
-0.026710718870162964,
0.0022076242603361607,
0.034918610006570816,
-0.0031766111496835947,
0.019520046189427376,
-0.02274707891047001,
0.0023435454349964857,
0.0008495078654959798,
-0.0014808840351179242,
-0.015907172113656998,
-0.005875305738300085,
0.04766890034079552,
-0.0668206438422203,
0.017862683162093163,
0.01621408946812153,
-0.021589556708931923,
0.04191635921597481,
0.010312477126717567,
0.005051009356975555,
-0.03840871527791023,
-0.030621742829680443,
0.02364152856171131,
-0.022624311968684196,
0.014574266038835049,
-0.0027491168584674597,
0.06646987795829773,
0.005384235642850399,
0.03847886994481087,
0.05387743189930916,
0.030270978808403015,
0.008273658342659473,
-0.04223204776644707,
0.037742264568805695,
0.01446903683245182,
-0.08355210721492767,
0.012075068429112434,
-0.015214411541819572,
0.015258257277309895,
0.014100734144449234,
0.003946100827306509,
-0.04433663561940193,
0.045073240995407104,
0.029516834765672684,
-0.009602178819477558,
0.0504048615694046,
0.020028654485940933,
-0.0036567202769219875,
-0.06903045624494553,
0.03374354913830757,
0.039461009204387665,
-0.013495665043592453,
0.014591804705560207,
-0.0013734623789787292,
0.005713077262043953,
-0.009146184660494328,
0.027289479970932007,
0.011277079582214355,
-0.08193859457969666,
-0.0579112246632576,
0.011838302947580814,
0.025763655081391335,
0.018871132284402847,
0.05959489196538925,
-0.017196230590343475,
-0.0006593277212232351,
0.039285626262426376,
-0.020624954253435135,
0.012469679117202759,
-0.011277079582214355,
0.031165428459644318,
-0.00035734137054532766,
-0.0012945403577759862,
0.032112494111061096,
0.0033607627265155315,
-0.0021407597232609987,
-0.032322950661182404,
0.005024701822549105,
0.015442408621311188,
0.02165970951318741,
-0.015687942504882812,
0.046476300805807114,
0.037917643785476685,
-0.013899044133722782,
-0.005265852436423302,
-0.0035558752715587616,
0.03395400568842888,
-0.06418991088867188,
-0.010601857677102089,
0.046476300805807114,
-0.01946743205189705,
-0.06832893192768097,
0.03440999984741211,
0.009856482967734337,
0.01976558193564415,
0.03995208069682121,
0.006274300627410412,
0.040723759680986404,
0.002433429006487131,
-0.05443865433335304,
-0.06899537891149521,
0.04623076319694519,
-0.01959019899368286,
-0.04830027371644974,
0.023466147482395172,
0.013478127308189869,
0.036374282091856,
0.021098487079143524,
0.06282192468643188,
-0.04079391434788704,
-0.0003156880848109722,
0.057069387286901474,
0.01588086411356926,
-0.06994244456291199,
0.0029135379008948803,
0.04945779964327812,
0.03081466443836689,
-0.03295432776212692,
-0.005603463388979435,
-0.03530444949865341,
-0.04952795058488846,
0.010575550608336926,
0.03334016725420952,
-0.0048186276108026505,
0.0009399392874911427,
0.024027369916439056,
-0.049282416701316833,
-0.025447966530919075,
-0.07822048664093018,
-0.03256848454475403,
-0.023431070148944855,
-0.015214411541819572,
0.047528594732284546,
-0.03502383828163147,
-0.016713930293917656,
-0.01604747772216797,
-0.023132920265197754,
0.03686534985899925,
-0.026096880435943604,
0.018099449574947357,
0.02413260005414486,
0.02662302739918232,
-0.04044314846396446,
0.0016058438923209906,
-0.008852419443428516,
0.042126819491386414,
-0.049107033759355545,
0.012311834841966629,
0.00223502772860229,
-0.020028654485940933,
0.04479262977838516,
-0.0018491867231205106,
-0.03935578092932701,
-0.015538868494331837,
0.00326649472117424,
-0.011022775433957577,
0.014039349742233753,
0.020116345956921577,
0.037110887467861176,
0.008852419443428516,
-0.03658473864197731,
0.05977027490735054
]
|
43,893 | pybtex | make_bibliography |
Read the given ``.aux`` file and produce a formatted bibliography
using :py:meth:`~.Engine.format_from_files`.
:param style: If not ``None``, use this style instead of specified in the ``.aux`` file.
| def make_bibliography(self, aux_filename, style=None, output_encoding=None, bib_format=None, **kwargs):
"""
Read the given ``.aux`` file and produce a formatted bibliography
using :py:meth:`~.Engine.format_from_files`.
:param style: If not ``None``, use this style instead of specified in the ``.aux`` file.
"""
from pybtex import auxfile
if bib_format is None:
from pybtex.database.input.bibtex import Parser as bib_format
aux_data = auxfile.parse_file(aux_filename, output_encoding)
if style is None:
style = aux_data.style
base_filename = path.splitext(aux_filename)[0]
bib_filenames = [filename + bib_format.default_suffix for filename in aux_data.data]
return self.format_from_files(
bib_filenames,
style=aux_data.style,
citations=aux_data.citations,
output_encoding=output_encoding,
output_filename=base_filename,
add_output_suffix=True,
**kwargs
)
| (self, aux_filename, style=None, output_encoding=None, bib_format=None, **kwargs) | [
0.0057083070278167725,
0.033691853284835815,
-0.014357122592628002,
-0.00637257844209671,
-0.017395058646798134,
-0.02495889738202095,
-0.03854546323418617,
-0.002705799415707588,
0.0552319660782814,
-0.04517046734690666,
0.006301722954958677,
0.036844927817583084,
-0.08297194540500641,
0.014162269420921803,
-0.0259331613779068,
0.03594151884317398,
-0.024108629673719406,
0.02456919103860855,
-0.040706560015678406,
0.03252273425459862,
-0.02563202567398548,
-0.032487306743860245,
-0.015809662640094757,
0.015632523223757744,
0.06008557602763176,
-0.017651909962296486,
-0.00010406920773675665,
-0.022230954840779305,
0.020406421273946762,
-0.0003005828766617924,
0.03479011729359627,
0.01489739678800106,
0.011735464446246624,
0.0678088366985321,
0.06738370656967163,
0.006363721564412117,
-0.018759028986096382,
0.032877013087272644,
0.019945859909057617,
0.0017713907873257995,
0.10791312903165817,
-0.035728953778743744,
0.06593116372823715,
0.020742986351251602,
-0.01671307161450386,
0.038722604513168335,
0.027102278545498848,
-0.03530381992459297,
-0.030078215524554253,
0.001139225671067834,
0.0007849475368857384,
-0.04853610694408417,
0.011691179126501083,
0.01463168766349554,
-0.046516723930835724,
-0.05597595125436783,
-0.023187505081295967,
0.07188303768634796,
0.028625674545764923,
-0.0027655838057398796,
-0.014073699712753296,
0.02674800157546997,
0.05703878402709961,
-0.037943191826343536,
0.015756521373987198,
0.025330888107419014,
-0.010947194881737232,
-0.06022728607058525,
0.016757357865571976,
0.01030063722282648,
0.05438169836997986,
-0.010867482982575893,
-0.015774235129356384,
0.018404750153422356,
0.04495789855718613,
0.022213241085410118,
-0.03975000977516174,
-0.04378877952694893,
-0.02467547357082367,
-0.02177039347589016,
0.004156125709414482,
-0.014613973908126354,
-0.011886032298207283,
0.04857153445482254,
0.07886231690645218,
-0.05271659046411514,
0.051830895245075226,
0.011930316686630249,
0.03236331045627594,
-0.005132604856044054,
-0.023488642647862434,
-0.03486097231507301,
0.06476204842329025,
0.01710277795791626,
-0.010026072151958942,
-0.08637301623821259,
0.018121328204870224,
-0.014613973908126354,
0.023293789476156235,
-0.017616482451558113,
-0.0360478013753891,
-0.055125683546066284,
-0.028182826936244965,
-0.06260094791650772,
-0.002125669037923217,
0.021805820986628532,
0.06865910440683365,
0.009184661321341991,
-0.013923131860792637,
-0.047296132892370224,
-0.02844853699207306,
-0.025189178064465523,
0.04800469055771828,
0.008529246784746647,
-0.03285929933190346,
-0.010637201368808746,
0.005889874417334795,
0.022868655622005463,
-0.06950937211513519,
0.007227274589240551,
-0.03787233680486679,
-0.04474533349275589,
-0.03666779026389122,
0.017784763127565384,
0.011700036004185677,
-0.057499345391988754,
-0.024994324892759323,
-0.016890211030840874,
0.06090041622519493,
-0.014915110543370247,
-0.019892718642950058,
0.039254020899534225,
-0.06253009289503098,
-0.08339707553386688,
0.044249340891838074,
-0.06979279965162277,
-0.017279917374253273,
-0.006142297759652138,
-0.046764716506004333,
0.05760562792420387,
0.06330950558185577,
-0.037128351628780365,
0.05321257933974266,
-0.018068186938762665,
-0.02727941796183586,
0.04495789855718613,
0.003903702599927783,
-0.0369512140750885,
-0.039112310856580734,
0.015402243472635746,
0.05172461271286011,
0.019804149866104126,
-0.047331564128398895,
0.016872497275471687,
0.00744869839400053,
0.011018050834536552,
-0.037128351628780365,
0.026004016399383545,
0.02244352176785469,
0.04619787260890007,
0.042690519243478775,
0.05987301096320152,
0.0129665806889534,
0.025118321180343628,
0.014578546397387981,
0.022868655622005463,
0.005385028198361397,
-0.02118583396077156,
0.03957287222146988,
-0.029582226648926735,
-0.03971458226442337,
-0.02462233230471611,
-0.053141724318265915,
0.03420555591583252,
0.027456557378172874,
0.0003700546221807599,
0.012514876201748848,
0.010964908637106419,
0.0280056893825531,
0.019325872883200645,
0.023718923330307007,
-0.0028497250750660896,
-0.0032615733798593283,
0.01808590069413185,
-0.02006985805928707,
0.007377842906862497,
0.010646059177815914,
0.06423062831163406,
0.0667814314365387,
-0.010672629810869694,
0.08991579711437225,
0.04311565309762955,
-0.03438269719481468,
-0.0705367848277092,
0.009636365808546543,
-0.019432157278060913,
0.024126343429088593,
0.04765041172504425,
-0.030343923717737198,
0.051937177777290344,
0.03236331045627594,
-0.03324900567531586,
-0.03211531415581703,
-0.022337237372994423,
0.014578546397387981,
0.048784103244543076,
-0.019237304106354713,
-0.022656088694930077,
-0.09048264473676682,
-0.001971779391169548,
0.049811508506536484,
-0.0628843754529953,
-0.018351608887314796,
0.013949702493846416,
-0.002271808683872223,
-0.058845601975917816,
-0.013046293519437313,
0.05689707398414612,
0.02830682508647442,
0.0499177947640419,
-0.046375010162591934,
-0.021610967814922333,
-0.008449533954262733,
-0.004773898050189018,
0.008077542297542095,
0.022337237372994423,
0.10479547828435898,
0.0854518935084343,
-0.007900402881205082,
-0.021132692694664,
-0.005717163905501366,
-0.058845601975917816,
-0.028076544404029846,
0.04077741503715515,
0.021947532892227173,
-0.03381584957242012,
-0.004614472854882479,
0.024888040497899055,
-0.012470590882003307,
0.048642393201589584,
0.06476204842329025,
0.01207202859222889,
0.05112233757972717,
-0.06072327867150307,
-0.01959158293902874,
-0.028413107618689537,
0.03298329561948776,
0.003908130805939436,
-0.03663236275315285,
-0.01749248430132866,
-0.029582226648926735,
0.07195389270782471,
-0.014551975764334202,
0.03121190518140793,
-0.0107611995190382,
0.05346057564020157,
-0.023648066446185112,
-0.13412971794605255,
-0.026535434648394585,
-0.0457727387547493,
0.011283759027719498,
0.02487032674252987,
0.024976611137390137,
-0.0027345845010131598,
0.0324164517223835,
-0.01729763112962246,
0.029298804700374603,
-0.007953545078635216,
0.014906253665685654,
0.005433741491287947,
-0.031087908893823624,
0.006341578904539347,
0.0038417037576436996,
-0.007081134710460901,
-0.03914773836731911,
-0.03048563562333584,
0.05806618928909302,
0.01813904196023941,
0.0029072952456772327,
0.05881017446517944,
0.03298329561948776,
0.04527674987912178,
-0.0130640072748065,
0.014073699712753296,
0.04711899533867836,
-0.03326671943068504,
-0.03266444802284241,
0.019999003037810326,
0.003870488842949271,
-0.005389456637203693,
0.017253346741199493,
0.030981624498963356,
-0.012621159665286541,
0.010849768295884132,
-0.019095592200756073,
-0.021805820986628532,
0.03140676021575928,
-0.02384291961789131,
0.035728953778743744,
-0.0746818333864212,
-0.0838930681347847,
-0.02719084918498993,
0.07106819748878479,
-0.00832996517419815,
-0.0613255500793457,
-0.03882888704538345,
-0.007213989272713661,
-0.08885296434164047,
-0.0034187843557447195,
0.011150904931128025,
0.04194653406739235,
0.0016518218908458948,
0.06787969917058945,
0.059766724705696106,
-0.07751606404781342,
0.008312251418828964,
-0.005221174564212561,
-0.022337237372994423,
0.03365642577409744,
-0.01833389513194561,
-0.051547471433877945,
0.021593254059553146,
0.012116312980651855,
-0.03840375319123268,
0.03900602459907532,
-0.011142048053443432,
-0.04449733719229698,
0.027846263721585274,
0.07152876257896423,
0.040564849972724915,
-0.05044921115040779,
0.053425148129463196,
0.024462906643748283,
-0.02456919103860855,
-0.07202474772930145,
-0.024055486544966698,
-0.004142840392887592,
-0.08247595280408859,
0.012727443128824234,
-0.08828611671924591,
-0.003137575928121805,
-0.03882888704538345,
-0.01858188956975937,
0.0015698950737714767,
-0.043753352016210556,
-0.0030512206722050905,
-0.0510869100689888,
-0.003405498806387186,
0.0017204632749781013,
-0.013701708056032658,
-0.05973129719495773,
0.03999800607562065,
0.013719421811401844,
0.06167982891201973,
-0.04619787260890007,
-0.07503611594438553,
-0.03542781621217728,
-0.014268552884459496,
0.02012299932539463,
0.005203460343182087,
-0.01615508459508419,
-0.013914274983108044,
-0.00845396239310503,
0.023577211424708366,
0.020052144303917885,
0.009884360246360302,
0.02079612761735916,
-0.01950301229953766,
-0.05137033388018608,
0.007094420026987791,
0.03861631825566292,
-0.014215411618351936,
0.00415833992883563,
0.017395058646798134,
-0.01081434078514576,
-0.03512667864561081,
-0.03468383103609085,
-0.031619325280189514,
-0.009450369514524937,
-0.011770891956984997,
0.0042801229283213615,
-0.005925302393734455,
0.0031154335010796785,
0.006859710905700922,
-0.02205381542444229,
-0.042300812900066376,
0.006731285247951746,
0.02791711874306202,
0.003460854757577181,
0.006394720636308193,
-0.013055150397121906,
0.024693187326192856,
-0.017040779814124107,
-0.05370856821537018,
-0.03780147805809975,
-0.018404750153422356,
0.03670321777462959,
-0.036313511431217194,
0.03822661191225052,
0.023152077570557594,
-0.027509698644280434,
0.004645472392439842,
-0.0011276009026914835,
-0.012523733079433441,
-0.06100669875741005,
0.013072864152491093,
0.02559659630060196,
0.030503349378705025,
-0.018705887719988823,
0.0008325536618940532,
0.00643457705155015,
0.033107295632362366,
-0.045453887432813644,
-0.006452290806919336,
-0.01584509015083313,
0.07638236880302429,
0.002420162782073021,
-0.06724199652671814,
-0.07298129796981812,
-0.009034093469381332,
0.004218124318867922,
0.057889051735401154,
0.02883824147284031,
0.020831555128097534,
-0.012461734004318714,
0.005168032832443714,
-0.03381584957242012,
-0.003996700514107943,
0.00133629294577986,
-0.014472262933850288,
-0.02699599601328373,
-0.013409428298473358,
0.0373409166932106,
0.01702306605875492,
0.03303643688559532,
0.0018068186473101377,
-0.011407757177948952,
0.057782769203186035,
0.03608322888612747,
-0.033461570739746094,
0.00412291195243597,
0.01264773029834032,
0.002002778695896268,
0.03610094636678696,
-0.01363970898091793,
0.051016055047512054,
-0.03037935309112072,
0.005739306099712849,
-0.02263837493956089,
-0.0008176075643859804,
0.023524070158600807,
0.014959394931793213,
0.03169018030166626,
0.005168032832443714,
0.017120491713285446,
-0.06433691084384918,
0.05650736764073372,
-0.09487569332122803,
0.09466312825679779,
0.06511632353067398,
-0.007160847540944815,
-0.010646059177815914,
0.09083691984415054,
0.0075151254422962666,
-0.01680164225399494,
-0.07616980373859406,
0.02182353474199772,
-0.015012537129223347,
-0.03004278801381588,
0.04325736314058304,
-0.00656743161380291,
0.006013871636241674,
0.010265209712088108,
0.0007284844759851694,
0.004373121075332165,
-0.016721928492188454,
0.020920125767588615,
-0.03360328450798988,
0.023878348991274834,
-0.038722604513168335,
0.0030844341963529587,
0.0043864063918590546,
-0.05268116295337677,
0.034896399825811386,
-0.004025485832244158,
0.00989321805536747,
-0.01294001005589962,
0.017598766833543777,
-0.01541110035032034,
0.010026072151958942,
-0.043080225586891174,
0.04959894344210625,
-0.009937502443790436,
0.04368249699473381,
-0.01313486322760582,
0.015508526936173439,
0.025366315618157387,
-0.03815575689077377,
-0.013055150397121906,
-0.02635829523205757,
0.06387635320425034,
-0.033744994550943375,
-0.017448199912905693,
-0.00272129918448627,
0.02370120957493782,
-0.035055823624134064,
-0.07808290421962738,
-0.04662300646305084,
0.025508027523756027,
-0.017510198056697845,
-0.04793383553624153,
-0.04106083884835243,
0.06306151300668716,
-0.008360964246094227,
0.019414443522691727,
0.0034962825011461973,
-0.029245661571621895,
-0.03680950030684471,
0.004959894344210625,
0.024392051622271538,
0.004479404538869858,
-0.0016717500984668732,
-0.04091912880539894,
0.005579880904406309,
0.020140713080763817,
-0.016420792788267136,
0.043080225586891174,
0.02990107610821724,
0.021026408299803734,
0.006607287563383579,
-0.028271397575736046,
-0.03284158557653427,
0.01400284469127655,
-0.02201838791370392,
-0.010752342641353607,
-0.0008131790673360229,
-0.014268552884459496,
0.017341915518045425,
-0.050484638661146164,
-0.07864975184202194,
0.024941181764006615,
0.031371332705020905,
-0.014188840053975582,
-0.11131419986486435,
0.04832354187965393,
0.010486633516848087,
0.0007788583752699196,
-0.007789690978825092,
0.023825205862522125,
-0.02970622293651104,
-0.007298130076378584,
-0.02549031376838684,
-0.010362636297941208,
0.06465576589107513,
0.05317715182900429,
-0.004676471929997206,
0.01813904196023941,
0.03415241464972496,
0.005385028198361397,
0.013152576982975006,
-0.0006980386679060757,
0.04594987630844116,
-0.016199368983507156,
0.03932487592101097,
0.011744321323931217,
0.03307186812162399,
0.031424473971128464,
-0.012922296300530434,
-0.0037354202941060066,
0.008267967030405998,
-0.002772226696833968,
0.0035206391476094723,
0.0011868318542838097,
0.04300937056541443,
-0.016305651515722275,
-0.0061334408819675446,
0.006974851246923208,
0.021947532892227173,
0.028324538841843605,
-0.016500504687428474,
0.010291780345141888,
0.0008458390948362648,
-0.031424473971128464,
-0.0008203753386624157,
0.09969387203454971,
-0.004525903612375259,
-0.01877674274146557,
0.02065441757440567,
0.07864975184202194,
-0.05282287299633026,
0.00381070445291698,
0.003593709086999297,
-0.0055533102713525295,
-0.055798809975385666,
0.0029604369774460793,
0.015198533423244953,
-0.023931490257382393,
-0.02694285474717617,
-0.04885495826601982,
-0.005168032832443714,
-0.009937502443790436,
0.03516210615634918,
-0.06316779553890228,
0.05480683222413063,
-0.0022529875859618187,
-0.021061835810542107,
0.06855282187461853,
-0.054346270859241486,
-0.006514289882034063,
-0.013701708056032658,
-0.03326671943068504,
0.042159102857112885,
-0.051299478858709335,
-0.06355750560760498,
0.00852481834590435,
-0.04644586518406868,
-0.006000586319714785,
-0.041237976402044296,
0.03638436645269394,
-0.02646457776427269,
-0.013081721030175686,
0.005526739172637463,
0.005974015686661005,
0.08346793800592422,
0.01749248430132866,
-0.010256352834403515,
0.024214912205934525,
-0.017598766833543777,
0.01934358850121498,
0.05253945291042328,
0.022904083132743835,
-0.03893516957759857,
0.04995322227478027,
0.04470990225672722,
0.044816188514232635,
0.06412434577941895,
0.05200803279876709,
0.018741315230727196,
0.003177432343363762,
0.073902428150177,
-0.03479011729359627,
-0.0815548300743103,
0.07425670325756073,
-0.016110800206661224,
0.03071591630578041,
-0.07524868100881577,
0.06688771396875381,
-0.002233059611171484,
-0.056294798851013184,
0.006075870245695114,
0.00760812358930707,
-0.02021156996488571,
-0.00130307930521667,
-0.028359966352581978,
-0.0259331613779068,
0.004809326026588678,
0.07241445779800415,
0.0190601646900177,
0.011620324105024338,
0.0009731578174978495,
-0.034081559628248215,
-0.013852275907993317,
-0.022868655622005463,
0.009990643709897995,
-0.003502925392240286,
-0.05066177621483803,
-0.03854546323418617,
0.025454886257648468,
-0.036348938941955566,
0.03723463416099548,
-0.0008165004546754062,
0.0740441381931305,
-0.05158289894461632,
-0.014445692300796509,
-0.00265487190335989,
-0.048394396901130676,
0.028413107618689537,
-0.006137869320809841,
0.07567381858825684,
0.002051491988822818,
0.0656123161315918,
0.02867881767451763,
0.006695857271552086,
0.016252510249614716,
0.026128014549613,
-0.012399735860526562,
0.001450326177291572,
0.015056821517646313,
-0.022124670445919037,
-0.042159102857112885,
-0.04765041172504425,
0.06253009289503098,
-0.009370657615363598,
-0.08056285232305527,
-0.02626972645521164,
-0.027208562940359116,
0.00526103051379323,
-0.00881709810346365,
-0.011248331516981125,
-0.026978282257914543,
0.04449733719229698,
-0.00627515185624361,
0.062282100319862366,
0.049173809587955475,
0.017651909962296486,
-0.01620822586119175,
-0.025366315618157387,
-0.0031154335010796785,
0.013232288882136345,
-0.015127677470445633,
0.017430486157536507,
0.02665943093597889,
0.01432169508188963,
0.02540174499154091,
0.05172461271286011,
-0.015880517661571503,
-0.012045457027852535,
0.06359293311834335,
-0.02060127444565296,
-0.04556016996502876,
-0.016217082738876343,
0.03918316587805748,
0.03946658596396446,
-0.042159102857112885,
0.029865648597478867,
-0.03590609133243561,
-0.037376344203948975,
-0.014117985032498837,
-0.022868655622005463,
-0.020973267033696175,
0.013320858590304852,
0.013533425517380238,
-0.07872060686349869,
-0.02148696966469288,
-0.025366315618157387,
-0.03096391074359417,
-0.027066851034760475,
0.027119994163513184,
0.02254980430006981,
-0.006368150003254414,
-0.02249666303396225,
-0.01838703639805317,
-0.0025795879773795605,
0.05413370206952095,
0.004543617367744446,
0.013852275907993317,
-0.003177432343363762,
-0.007342414930462837,
-0.039679154753685,
0.010238639079034328,
0.011496325954794884,
0.04478076100349426,
-0.013630852103233337,
-0.014569689519703388,
0.05919988080859184,
-0.027509698644280434,
0.05438169836997986,
-0.007236131466925144,
-0.012931153178215027,
-0.03420555591583252,
0.03705749660730362,
-0.04648129642009735,
0.028820527717471123,
0.022532090544700623,
0.013374000787734985,
-0.021805820986628532,
-0.013250003568828106,
0.014179983176290989
]
|
43,894 | pybtex | PybtexEngine |
The Python fomatting engine.
See :py:class:`pybtex.Engine` for inherited methods.
| class PybtexEngine(Engine):
"""
The Python fomatting engine.
See :py:class:`pybtex.Engine` for inherited methods.
"""
def format_from_files(
self,
bib_files_or_filenames,
style,
citations=['*'],
bib_format=None,
bib_encoding=None,
output_backend=None,
output_encoding=None,
min_crossrefs=2,
output_filename=None,
add_output_suffix=False,
**kwargs
):
"""
Read the bigliography data from the given files and produce a formated
bibliography.
:param bib_files_or_filenames: A list of file names or file objects.
:param style: The name of the formatting style.
:param citations: A list of citation keys.
:param bib_format: The name of the bibliography format. The default
format is ``bibtex``.
:param bib_encoding: Encoding of bibliography files.
:param output_backend: Which output backend to use. The default is ``latex``.
:param output_encoding: Encoding that will be used by the output backend.
:param bst_encoding: Encoding of the ``.bst`` file.
:param min_crossrefs: Include cross-referenced entries after this many
crossrefs. See BibTeX manual for details.
:param output_filename: If ``None``, the result will be returned as a
string. Else, the result will be written to the specified file.
:param add_output_suffix: Append default suffix to the output file
name (``.bbl`` for LaTeX, ``.html`` for HTML, etc.).
"""
from pybtex.plugin import find_plugin
bib_parser = find_plugin('pybtex.database.input', bib_format)
bib_data = bib_parser(
encoding=bib_encoding,
wanted_entries=citations,
min_crossrefs=min_crossrefs,
).parse_files(bib_files_or_filenames)
style_cls = find_plugin('pybtex.style.formatting', style)
style = style_cls(
label_style=kwargs.get('label_style'),
name_style=kwargs.get('name_style'),
sorting_style=kwargs.get('sorting_style'),
abbreviate_names=kwargs.get('abbreviate_names'),
min_crossrefs=min_crossrefs,
)
formatted_bibliography = style.format_bibliography(bib_data, citations)
output_backend = find_plugin('pybtex.backends', output_backend)
if add_output_suffix:
output_filename = output_filename + output_backend.default_suffix
if not output_filename:
import io
output_filename = io.StringIO()
return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
| () | [
0.06443864107131958,
-0.0960748940706253,
-0.05503428727388382,
0.010570495389401913,
-0.012056383304297924,
-0.03268953785300255,
-0.057705122977495193,
0.006874583661556244,
0.042733389884233475,
-0.06605619192123413,
0.019786763936281204,
-0.014567346312105656,
-0.05285247787833214,
0.01735103502869606,
-0.04536661133170128,
0.00862849596887827,
0.02076481655240059,
0.043260034173727036,
0.029661336913704872,
0.0006224507815204561,
-0.025767933577299118,
-0.014153555035591125,
0.03699673339724541,
0.012366726994514465,
0.037560995668172836,
0.0007594017079100013,
0.014840072952210903,
-0.03214408829808235,
0.0023169980850070715,
-0.03159863501787186,
0.024545367807149887,
-0.057667504996061325,
-0.016561070457100868,
0.0301691722124815,
0.028683284297585487,
-0.011304034851491451,
0.005703741684556007,
0.06300918012857437,
0.05920981988310814,
-0.008158278651535511,
0.07421917468309402,
-0.035379186272621155,
0.11909675598144531,
-0.02960490994155407,
-0.022702114656567574,
0.036676984280347824,
-0.009225672110915184,
-0.004281332716345787,
-0.02999989315867424,
-0.011181778274476528,
0.013250736519694328,
-0.055485695600509644,
0.03658294305205345,
0.00763163436204195,
-0.04890264943242073,
-0.03095913678407669,
-0.025090819224715233,
0.08305926620960236,
0.041604869067668915,
0.009051691740751266,
0.049316439777612686,
0.0343070887029171,
0.05943552404642105,
0.0063573443330824375,
-0.007753890939056873,
0.03188076615333557,
-0.014887094497680664,
-0.034419938921928406,
-0.02072719857096672,
0.020915286615490913,
0.01837611012160778,
-0.03357354924082756,
0.014962329529225826,
0.002889488125219941,
-0.015564207918941975,
0.009385546669363976,
-0.09193697571754456,
0.026087680831551552,
-0.013551675714552402,
0.004105001222342253,
0.013589293695986271,
-0.006818157620728016,
0.043297652155160904,
-0.023153522983193398,
0.07711571455001831,
-0.0674104169011116,
0.06082737073302269,
0.03453279286623001,
0.02089647762477398,
-0.0029247545171529055,
-0.047134630382061005,
-0.041943423449993134,
0.043034330010414124,
0.030093936249613762,
0.028532814234495163,
-0.09577395766973495,
0.0406644307076931,
-0.02864566631615162,
-0.0014188821660354733,
0.0005034268833696842,
-0.03334784507751465,
-0.03152339905500412,
0.022758539766073227,
-0.0711345449090004,
-0.014924711547791958,
0.014144150540232658,
-0.010015638545155525,
0.01635417342185974,
0.0000977171293925494,
-0.051009222865104675,
-0.07045742869377136,
-0.008699028752744198,
0.034589219838380814,
-0.05089637264609337,
-0.002273502992466092,
-0.02947324886918068,
-0.022401174530386925,
0.03836977109313011,
-0.026934074237942696,
-0.010401217266917229,
0.015639442950487137,
-0.005210012663155794,
-0.04589325562119484,
0.04619419202208519,
0.007175523322075605,
-0.0017421568045392632,
0.028363535180687904,
-0.0017903541447594762,
0.04751080274581909,
-0.020783625543117523,
-0.0024427813477814198,
0.05311580002307892,
-0.026576709002256393,
-0.01874287985265255,
0.04788697883486748,
0.015272673219442368,
-0.02582436054944992,
0.0014282864285632968,
-0.028965413570404053,
0.060451194643974304,
0.04615657776594162,
-0.06970508396625519,
0.06030072644352913,
-0.03210647031664848,
-0.025767933577299118,
0.01021313015371561,
0.0031504591461271048,
-0.06820038706064224,
-0.008562665432691574,
0.04344812035560608,
0.02430085465312004,
0.013438823632895947,
-0.04939167574048042,
0.01963629387319088,
-0.00024950929218903184,
0.03152339905500412,
0.0012801678385585546,
0.02159239910542965,
-0.000784088100772351,
0.05857032537460327,
0.010391812771558762,
0.039385441690683365,
-0.0003670637379400432,
0.01894037239253521,
0.0019819678273051977,
0.03494658321142197,
-0.038031212985515594,
-0.009550122544169426,
0.016532856971025467,
-0.010890243574976921,
-0.014313428662717342,
-0.0013894934672862291,
-0.09359214454889297,
0.07444487512111664,
0.057065628468990326,
0.0317302942276001,
0.029416823759675026,
0.052175361663103104,
0.04803744703531265,
-0.013363588601350784,
0.019015606492757797,
-0.01959867589175701,
-0.055448077619075775,
0.027235012501478195,
0.020087702199816704,
0.04322241619229317,
0.028758518397808075,
0.028532814234495163,
0.001772720948792994,
0.014257002621889114,
0.036808647215366364,
-0.007401227485388517,
0.03566131368279457,
-0.015752295032143593,
-0.010109681636095047,
0.027705231681466103,
-0.008064234629273415,
-0.0054733348079025745,
-0.005708443466573954,
0.07523484528064728,
0.005647315178066492,
-0.034419938921928406,
0.0566142201423645,
-0.014783646911382675,
0.023717783391475677,
-0.0026825922541320324,
0.038031212985515594,
-0.04092775285243988,
-0.120676688849926,
-0.002522718394175172,
0.01201876625418663,
-0.0730530321598053,
-0.029717762023210526,
0.020651964470744133,
0.033724017441272736,
-0.04920358583331108,
0.012376131489872932,
0.05593710392713547,
-0.0017762476345524192,
0.03078985959291458,
0.029924659058451653,
0.0317302942276001,
0.009291502647101879,
0.014699007384479046,
0.07286494225263596,
0.0048855626955628395,
0.08155456930398941,
0.06978031992912292,
0.01834789663553238,
-0.05785559490323067,
-0.005666124168783426,
-0.012159831821918488,
-0.0032821199856698513,
0.029191119596362114,
0.03095913678407669,
-0.08140409737825394,
0.016372982412576675,
0.0016034425934776664,
-0.012883966788649559,
0.024752262979745865,
0.08712194859981537,
0.029943468049168587,
0.03265191987156868,
-0.07862041145563126,
-0.04529137536883354,
-0.06244491785764694,
0.08373638242483139,
-0.004208448808640242,
-0.06116592884063721,
-0.05082113668322563,
-0.015018755570054054,
0.011614378541707993,
0.011990552768111229,
-0.0058542112819850445,
-0.02778046578168869,
-0.011115947738289833,
-0.029623718932271004,
-0.056802306324243546,
-0.006338535342365503,
-0.02612529881298542,
-0.006672390270978212,
-0.004182586912065744,
-0.0063291313126683235,
0.040814902633428574,
0.0678994432091713,
0.013965467922389507,
-0.005111267324537039,
-0.03252026066184044,
0.008445111103355885,
0.028796136379241943,
-0.014134746044874191,
0.024056341499090195,
-0.06030072644352913,
0.01794351078569889,
-0.07741665095090866,
-0.019918425008654594,
0.02277734875679016,
0.04262053966522217,
-0.032595496624708176,
0.02320994809269905,
-0.009677081368863583,
-0.013250736519694328,
0.009126926772296429,
-0.015103395096957684,
0.058457471430301666,
-0.03394972160458565,
-0.09329120814800262,
-0.02625695988535881,
0.02682122215628624,
-0.005120671354234219,
-0.002147719729691744,
0.014840072952210903,
0.02059553749859333,
-0.008797774091362953,
-0.0028024979401379824,
-0.04626942798495293,
-0.007565803825855255,
-0.06342297047376633,
0.03473968803882599,
-0.08403731882572174,
-0.06030072644352913,
-0.0067382208071649075,
0.07109692692756653,
0.02146073803305626,
-0.04611895978450775,
-0.030808668583631516,
0.016184896230697632,
-0.055485695600509644,
-0.005210012663155794,
-0.006272704806178808,
0.025880785658955574,
-0.0343635156750679,
0.04499043524265289,
0.019843189045786858,
-0.03658294305205345,
0.010692751966416836,
-0.0131943104788661,
0.0190438199788332,
-0.026369811967015266,
-0.006893392652273178,
-0.08471443504095078,
-0.00035589607432484627,
-0.00890592485666275,
-0.012808731757104397,
0.05924743786454201,
-0.05420670285820961,
-0.015319694764912128,
0.007340099196881056,
0.017501505091786385,
0.0251284372061491,
-0.003423185320571065,
0.031241267919540405,
0.051799189299345016,
0.020539112389087677,
-0.0464198961853981,
-0.05119730904698372,
0.007076777517795563,
-0.02215666137635708,
0.021799296140670776,
-0.08433825522661209,
0.041567251086235046,
-0.01228208839893341,
-0.03060177154839039,
0.009630059823393822,
-0.029360396787524223,
-0.017209969460964203,
-0.0193729717284441,
-0.010006234049797058,
0.07090883702039719,
0.021347885951399803,
0.0289089884608984,
0.007904361002147198,
-0.0374293327331543,
0.027667613700032234,
-0.05394338071346283,
-0.07937275618314743,
-0.03517228737473488,
-0.027742847800254822,
0.000309755967464298,
-0.014642581343650818,
-0.02499677613377571,
-0.00792787130922079,
-0.054357174783945084,
0.04307194799184799,
-0.0251284372061491,
-0.00009125163342105225,
0.024188002571463585,
0.021479547023773193,
0.011501526460051537,
0.023435654118657112,
0.03669579327106476,
-0.022532835602760315,
0.002201794646680355,
0.035379186272621155,
0.0015552452532574534,
-0.04942928999662399,
-0.030582964420318604,
0.0018503068713471293,
-0.010297768749296665,
-0.005971765611320734,
0.051535867154598236,
0.0064984094351530075,
-0.00915514025837183,
0.028664475306868553,
-0.04152963310480118,
-0.028796136379241943,
0.031184842810034752,
0.005722550209611654,
0.0374857597053051,
-0.0032068851869553328,
-0.0005974704399704933,
-0.016448218375444412,
-0.02159239910542965,
-0.01774601824581623,
-0.04502805322408676,
-0.013664528727531433,
0.02556103840470314,
0.0014694305136799812,
0.03656413406133652,
0.04171771928668022,
0.0045164418406784534,
0.02469583787024021,
-0.01715354435145855,
0.017755422741174698,
-0.037335291504859924,
0.03475849702954292,
0.06440102308988571,
0.060413580387830734,
-0.005534463096410036,
0.04867694154381752,
-0.017341630533337593,
0.013081458397209644,
-0.03761742264032364,
-0.011981148272752762,
-0.04897788166999817,
0.0438995324075222,
-0.034024957567453384,
-0.055711399763822556,
-0.04453902691602707,
-0.024394897744059563,
0.006559537723660469,
0.0750843733549118,
0.041567251086235046,
-0.014520324766635895,
0.048526473343372345,
0.017407462000846863,
-0.03526633232831955,
-0.0026919967494904995,
-0.024263236671686172,
0.035115864127874374,
-0.02364254929125309,
-0.08305926620960236,
-0.026219341903924942,
0.024808689951896667,
0.032463833689689636,
-0.01828206703066826,
0.01184008363634348,
0.006371450610458851,
0.04867694154381752,
-0.03652651607990265,
-0.011877700686454773,
0.03592463582754135,
0.020877668634057045,
-0.03300928696990013,
0.017134735360741615,
-0.002494505140930414,
-0.006855775136500597,
0.0028988926205784082,
-0.0030211491975933313,
-0.016608091071248055,
0.01585574261844158,
0.034419938921928406,
0.056538984179496765,
0.007702167145907879,
0.01036359928548336,
-0.07087121903896332,
0.0730530321598053,
-0.059059351682662964,
0.04517852142453194,
0.08057651668787003,
0.0015105745987966657,
0.0034984201192855835,
0.08531630784273148,
-0.01573348604142666,
0.002957669785246253,
-0.15001827478408813,
0.024940351024270058,
-0.01807516999542713,
-0.017078308388590813,
0.0005234111449681222,
-0.011510930955410004,
0.0209905207157135,
-0.023962296545505524,
0.022664496675133705,
-0.04890264943242073,
0.017905892804265022,
0.02947324886918068,
-0.03979923203587532,
-0.00439653592184186,
-0.07929752767086029,
0.015479568392038345,
-0.016203703358769417,
-0.022401174530386925,
0.016608091071248055,
0.026238150894641876,
-0.011040712706744671,
0.08140409737825394,
-0.020877668634057045,
0.034589219838380814,
-0.05465811491012573,
-0.04920358583331108,
0.041567251086235046,
0.05894649773836136,
0.04540422931313515,
-0.039084501564502716,
-0.030808668583631516,
-0.021140990778803825,
-0.006634772755205631,
-0.0018220938509330153,
-0.030752241611480713,
0.05447002500295639,
-0.04367382451891899,
-0.004337758757174015,
-0.05273962393403053,
0.047397952526807785,
-0.029492057859897614,
-0.004483526572585106,
-0.0025532825384289026,
0.0053792912513017654,
-0.021216224879026413,
-0.055147141218185425,
-0.038821179419755936,
0.026670752093195915,
-0.01863943226635456,
0.020614346489310265,
-0.007645741105079651,
-0.016570474952459335,
-0.024225618690252304,
0.014661390334367752,
0.026877647265791893,
0.023830635473132133,
0.030977945774793625,
-0.004725688602775335,
-0.0036206766963005066,
0.043297652155160904,
0.006282109301537275,
0.028194257989525795,
0.006912201177328825,
0.028551623225212097,
0.04401238262653351,
0.027836890891194344,
-0.043260034173727036,
0.018065767362713814,
-0.05360482633113861,
0.006531324703246355,
0.01266766618937254,
-0.022006191313266754,
0.034024957567453384,
0.010805604048073292,
-0.0642881765961647,
0.004525845870375633,
0.004876158200204372,
0.018855731934309006,
-0.0686141774058342,
0.00784793496131897,
0.005604995880275965,
0.005929445847868919,
-0.016081446781754494,
0.018093978986144066,
-0.008068936876952648,
0.038557857275009155,
-0.01251719705760479,
0.06142924726009369,
0.0412663109600544,
0.044125236570835114,
-0.021874530240893364,
0.005783678498119116,
0.04453902691602707,
0.004709230735898018,
0.011172373779118061,
0.014153555035591125,
0.025448186323046684,
-0.0021065755281597376,
0.02272092178463936,
0.03699673339724541,
0.054620496928691864,
0.02112218178808689,
0.0027930934447795153,
-0.0012037574779242277,
-0.03171148523688316,
-0.0007623405545018613,
0.044426172971725464,
0.044915199279785156,
-0.015667656436562538,
0.007758593186736107,
0.006065809167921543,
-0.041567251086235046,
-0.005487441550940275,
0.0010609288001433015,
-0.056839924305677414,
-0.00760812358930707,
-0.019260119646787643,
-0.02132907696068287,
-0.029360396787524223,
0.04446379095315933,
-0.01946701481938362,
-0.020256981253623962,
0.03366759046912193,
0.03092152066528797,
0.022890200838446617,
-0.008007808588445187,
-0.0033761635422706604,
0.04724748060107231,
-0.05142301321029663,
0.023962296545505524,
0.014426280744373798,
-0.058758411556482315,
-0.020520303398370743,
0.0028142533265054226,
-0.030282024294137955,
-0.03462683781981468,
0.017294609919190407,
-0.023868253454566002,
0.013034436851739883,
-0.0021242087241262197,
-0.004370674025267363,
0.0502568744122982,
-0.09291502833366394,
0.0009463132591918111,
-0.0289089884608984,
-0.031015563756227493,
0.01513160765171051,
-0.04043872654438019,
-0.019354162737727165,
-0.028006169945001602,
-0.03156101703643799,
-0.004586974158883095,
0.027159778401255608,
0.019974850118160248,
-0.04183057323098183,
-0.028683284297585487,
0.06364867836236954,
0.002781338058412075,
0.048827413469552994,
-0.000536929932422936,
-0.004295439459383488,
0.0014811860164627433,
-0.04423808678984642,
0.008736645802855492,
0.009639464318752289,
0.007946680299937725,
-0.026332193985581398,
0.04119107499718666,
0.023567315191030502,
0.0049419887363910675,
0.017727209255099297,
0.022213086485862732,
0.007401227485388517,
-0.005844806786626577,
0.05996216833591461,
-0.03216289356350899,
-0.054357174783945084,
0.019025010988116264,
-0.0014564995653927326,
0.006394961848855019,
-0.031166033819317818,
-0.00044494355097413063,
-0.03314094990491867,
-0.006700603291392326,
0.018065767362713814,
-0.0009210390271618962,
-0.016645709052681923,
0.007373014464974403,
-0.04393714666366577,
-0.0774918869137764,
0.05420670285820961,
0.01761435717344284,
0.023962296545505524,
0.016664518043398857,
0.007137905806303024,
0.009333822876214981,
-0.0431847982108593,
-0.0197303369641304,
0.02830711007118225,
-0.016993669793009758,
-0.06139163300395012,
-0.02847638726234436,
0.03569893166422844,
-0.009216268546879292,
0.03900926560163498,
0.023567315191030502,
-0.0026543792337179184,
-0.051836807280778885,
-0.06466434895992279,
-0.015564207918941975,
-0.033122140914201736,
0.01306264940649271,
0.02559865452349186,
0.021705251187086105,
-0.023887062445282936,
0.060639284551143646,
0.029021840542554855,
-0.01920369267463684,
0.06865179538726807,
0.0034819624852389097,
0.022758539766073227,
-0.022495217621326447,
0.04367382451891899,
0.015949785709381104,
-0.10720965266227722,
-0.04999355226755142,
0.06466434895992279,
0.019278928637504578,
-0.050708282738924026,
-0.0318431481719017,
-0.008238214999437332,
0.014680198393762112,
-0.057705122977495193,
0.011915317736566067,
-0.04032587632536888,
0.025109628215432167,
-0.01586514711380005,
0.003627730067819357,
0.013344780541956425,
0.019410589709877968,
0.01801874488592148,
-0.02747952565550804,
0.00271550752222538,
-0.02943563275039196,
-0.02913469262421131,
0.0037711465265601873,
0.02672717720270157,
0.050407346338033676,
0.03357354924082756,
0.03904688358306885,
-0.017209969460964203,
0.019880807027220726,
0.05202489346265793,
-0.03727886453270912,
-0.016184896230697632,
-0.04863932728767395,
0.051836807280778885,
0.031335312873125076,
-0.015319694764912128,
0.009648868814110756,
-0.01678677462041378,
-0.06282109022140503,
-0.037335291504859924,
-0.011567356996238232,
-0.012131618335843086,
0.02873970940709114,
0.0032139383256435394,
-0.029887041077017784,
-0.03257668763399124,
-0.04348573833703995,
-0.03351712226867676,
-0.003883998841047287,
-0.039084501564502716,
0.02211904339492321,
-0.013523463159799576,
-0.01450151577591896,
0.010655134916305542,
-0.05977408215403557,
0.021799296140670776,
0.023830635473132133,
0.02573031559586525,
0.03317856416106224,
0.026181725785136223,
-0.018827518448233604,
0.022269513458013535,
0.028231874108314514,
0.0496549978852272,
-0.024789880961179733,
0.03626319393515587,
0.090206578373909,
-0.030319642275571823,
0.06853894144296646,
-0.015564207918941975,
-0.06455149501562119,
-0.03159863501787186,
0.038463812321424484,
-0.04555469751358032,
0.012103404849767685,
0.00852504838258028,
0.06936652213335037,
-0.011783657595515251,
-0.02847638726234436,
0.06312203407287598
]
|
43,896 | pybtex | format_from_files |
Read the bigliography data from the given files and produce a formated
bibliography.
:param bib_files_or_filenames: A list of file names or file objects.
:param style: The name of the formatting style.
:param citations: A list of citation keys.
:param bib_format: The name of the bibliography format. The default
format is ``bibtex``.
:param bib_encoding: Encoding of bibliography files.
:param output_backend: Which output backend to use. The default is ``latex``.
:param output_encoding: Encoding that will be used by the output backend.
:param bst_encoding: Encoding of the ``.bst`` file.
:param min_crossrefs: Include cross-referenced entries after this many
crossrefs. See BibTeX manual for details.
:param output_filename: If ``None``, the result will be returned as a
string. Else, the result will be written to the specified file.
:param add_output_suffix: Append default suffix to the output file
name (``.bbl`` for LaTeX, ``.html`` for HTML, etc.).
| def format_from_files(
self,
bib_files_or_filenames,
style,
citations=['*'],
bib_format=None,
bib_encoding=None,
output_backend=None,
output_encoding=None,
min_crossrefs=2,
output_filename=None,
add_output_suffix=False,
**kwargs
):
"""
Read the bigliography data from the given files and produce a formated
bibliography.
:param bib_files_or_filenames: A list of file names or file objects.
:param style: The name of the formatting style.
:param citations: A list of citation keys.
:param bib_format: The name of the bibliography format. The default
format is ``bibtex``.
:param bib_encoding: Encoding of bibliography files.
:param output_backend: Which output backend to use. The default is ``latex``.
:param output_encoding: Encoding that will be used by the output backend.
:param bst_encoding: Encoding of the ``.bst`` file.
:param min_crossrefs: Include cross-referenced entries after this many
crossrefs. See BibTeX manual for details.
:param output_filename: If ``None``, the result will be returned as a
string. Else, the result will be written to the specified file.
:param add_output_suffix: Append default suffix to the output file
name (``.bbl`` for LaTeX, ``.html`` for HTML, etc.).
"""
from pybtex.plugin import find_plugin
bib_parser = find_plugin('pybtex.database.input', bib_format)
bib_data = bib_parser(
encoding=bib_encoding,
wanted_entries=citations,
min_crossrefs=min_crossrefs,
).parse_files(bib_files_or_filenames)
style_cls = find_plugin('pybtex.style.formatting', style)
style = style_cls(
label_style=kwargs.get('label_style'),
name_style=kwargs.get('name_style'),
sorting_style=kwargs.get('sorting_style'),
abbreviate_names=kwargs.get('abbreviate_names'),
min_crossrefs=min_crossrefs,
)
formatted_bibliography = style.format_bibliography(bib_data, citations)
output_backend = find_plugin('pybtex.backends', output_backend)
if add_output_suffix:
output_filename = output_filename + output_backend.default_suffix
if not output_filename:
import io
output_filename = io.StringIO()
return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
| (self, bib_files_or_filenames, style, citations=['*'], bib_format=None, bib_encoding=None, output_backend=None, output_encoding=None, min_crossrefs=2, output_filename=None, add_output_suffix=False, **kwargs) | [
0.004954031202942133,
-0.02788451872766018,
-0.029882941395044327,
-0.030219124630093575,
-0.048373010009527206,
-0.021739838644862175,
-0.05225779116153717,
-0.004818624351173639,
0.06058766320347786,
-0.009805340319871902,
-0.030368538573384285,
0.02164645493030548,
-0.04228436201810837,
-0.00860535353422165,
-0.022953834384679794,
0.027660397812724113,
0.008750098757445812,
-0.007895633578300476,
0.010412337258458138,
0.016921214759349823,
-0.02394370548427105,
-0.050053924322128296,
0.008894843980669975,
0.024578718468546867,
0.06559305638074875,
-0.0344214141368866,
-0.007227936293929815,
-0.021590424701571465,
0.007564119528979063,
0.020096277818083763,
0.05655346438288689,
-0.015473760664463043,
-0.024037091061472893,
0.028706299141049385,
0.027604365721344948,
0.005598382093012333,
0.01682783104479313,
0.05890674516558647,
0.05696435645222664,
-0.01644495502114296,
0.05845850333571434,
-0.0497177429497242,
0.07145757973194122,
-0.008642707020044327,
-0.02224411442875862,
0.07261554896831512,
-0.023775614798069,
0.0017591246869415045,
-0.04482441022992134,
0.019181111827492714,
0.0014474549097940326,
-0.08449401706457138,
-0.02456004172563553,
0.0005530095077119768,
-0.05315428227186203,
-0.016519663855433464,
-0.011943837627768517,
0.0832986980676651,
0.0360836498439312,
-0.038847822695970535,
0.019629357382655144,
0.006863737944513559,
0.06196974962949753,
-0.04979244992136955,
-0.02239352837204933,
0.025830067694187164,
0.030704721808433533,
-0.044749703258275986,
-0.015062869526445866,
0.018816914409399033,
0.03483230248093605,
0.013129817321896553,
-0.0016575693152844906,
0.024765487760305405,
-0.012093252502381802,
0.04878390207886696,
-0.05662817135453224,
-0.011925160884857178,
-0.02528843842446804,
-0.01951729506254196,
0.03727896884083748,
-0.0036956793628633022,
0.016949230805039406,
0.006924437824636698,
0.0959242433309555,
-0.0733252689242363,
0.0818045511841774,
0.03989372402429581,
0.02454136498272419,
-0.00276650651358068,
-0.039744310081005096,
-0.031433116644620895,
0.08890175074338913,
-0.05184690281748772,
0.015165592543780804,
-0.011794422753155231,
0.003910462837666273,
-0.03417861461639404,
-0.0006554402643814683,
0.01477337907999754,
-0.02073129080235958,
-0.10219965875148773,
0.06835722923278809,
-0.05136130377650261,
0.0027945218607783318,
0.016855847090482712,
0.02456004172563553,
0.01676246151328087,
-0.028986452147364616,
-0.03346889466047287,
-0.01755622774362564,
-0.04209759458899498,
0.0811321809887886,
-0.03031250834465027,
0.01265355758368969,
-0.00856333039700985,
0.005402275361120701,
0.03283388167619705,
-0.028818361461162567,
-0.010981980711221695,
-0.013456662185490131,
-0.054461658000946045,
-0.02590477466583252,
0.026857292279601097,
0.0061493488028645515,
-0.06768485903739929,
-0.001868851133622229,
-0.002285578055307269,
0.07071051001548767,
-0.0015851965872570872,
-0.010804550722241402,
0.032609760761260986,
-0.0427326038479805,
-0.045945022255182266,
0.04601972922682762,
-0.023831645026803017,
-0.046131789684295654,
-0.013755491003394127,
-0.006728331092745066,
0.05195896327495575,
0.05939234420657158,
-0.0575246624648571,
0.04601972922682762,
0.006915099453181028,
-0.011775746010243893,
0.007055175490677357,
0.0615215040743351,
-0.054573722183704376,
-0.013083124533295631,
0.07679915428161621,
0.01925582066178322,
0.03417861461639404,
-0.016136787831783295,
0.030368538573384285,
0.004529132973402739,
-0.024429304525256157,
-0.005388267803937197,
0.002754833549261093,
0.017649611458182335,
0.04359174147248268,
0.05479784309864044,
0.050838351249694824,
0.03832487016916275,
0.01955464854836464,
-0.0007295639952644706,
0.03655057027935982,
-0.0409022755920887,
0.030051032081246376,
0.032198868691921234,
-0.03457082808017731,
-0.009525187313556671,
0.007176574785262346,
-0.07467000186443329,
0.028893068432807922,
0.039781663566827774,
-0.04258318990468979,
0.018546100705862045,
-0.00556569779291749,
0.03417861461639404,
0.005014731083065271,
-0.0035556030925363302,
-0.01392358262091875,
-0.015081546269357204,
0.0645098015666008,
-0.03104090504348278,
0.04986715689301491,
-0.003546264721080661,
0.022225437685847282,
0.03529922291636467,
-0.032161515206098557,
0.056254636496305466,
0.006200710311532021,
-0.03918400779366493,
-0.02106747403740883,
-0.015399052761495113,
0.005294883623719215,
0.0012513481779024005,
-0.009870708920061588,
-0.010048138909041882,
0.016416940838098526,
0.021254241466522217,
-0.03996843472123146,
0.000562056084163487,
-0.0161274503916502,
0.03851164132356644,
0.0322549007833004,
0.005220176186412573,
-0.054125476628541946,
-0.06271681934595108,
0.008026370778679848,
0.01789241097867489,
-0.057935550808906555,
-0.04381586238741875,
0.021254241466522217,
0.017416151240468025,
-0.015165592543780804,
-0.023999737575650215,
0.04437616840004921,
-0.018667500466108322,
0.025568591430783272,
-0.009090950712561607,
0.02439195103943348,
-0.017696304246783257,
0.022935157641768456,
0.03477627411484718,
0.06316506862640381,
0.09353360533714294,
0.0912923812866211,
0.05192160978913307,
-0.01998421736061573,
-0.006504208780825138,
-0.02392502874135971,
0.007932987064123154,
0.0060046035796403885,
-0.005434959661215544,
-0.10070551186800003,
0.02028304524719715,
0.010253584012389183,
-0.019423911347985268,
0.09054531157016754,
0.06663896143436432,
0.007797579746693373,
0.03922136127948761,
-0.08285045623779297,
-0.0011602985905483365,
-0.07526765763759613,
0.03754044324159622,
-0.03630777448415756,
-0.047775350511074066,
0.00803104043006897,
-0.012821649201214314,
0.051249243319034576,
0.009179665707051754,
0.018648821860551834,
-0.0037867289502173662,
0.006298763677477837,
-0.05184690281748772,
-0.09764251112937927,
-0.014185058884322643,
-0.019293174147605896,
0.006023280322551727,
-0.031582534313201904,
0.008465277031064034,
0.019349204376339912,
0.0231966320425272,
-0.013064447790384293,
0.028258055448532104,
-0.015128239057958126,
-0.014829409308731556,
0.01740681380033493,
-0.051286596804857254,
0.006676969584077597,
0.0054909903556108475,
0.015081546269357204,
-0.03365566208958626,
-0.024933578446507454,
0.047775350511074066,
0.012158621102571487,
-0.007895633578300476,
0.045945022255182266,
0.03227357566356659,
0.028967775404453278,
-0.023215308785438538,
-0.0039711627177894115,
0.07328791171312332,
-0.008017032407224178,
-0.06432303041219711,
0.004136919509619474,
0.0045104562304914,
-0.010860580950975418,
0.0460570827126503,
0.01878889836370945,
0.0013482342474162579,
-0.014614625833928585,
-0.06010206416249275,
-0.06211916357278824,
0.056441403925418854,
-0.057337891310453415,
0.052631329745054245,
-0.07851742953062057,
-0.0839710608124733,
-0.005472313612699509,
0.15703485906124115,
-0.03548599034547806,
-0.01649164780974388,
-0.055208731442689896,
-0.0021093154791742563,
-0.057636722922325134,
-0.03483230248093605,
0.057636722922325134,
0.046729449182748795,
-0.04848507046699524,
0.03660660237073898,
0.0042373077012598515,
-0.03016309253871441,
0.007648165337741375,
-0.0022517263423651457,
0.01697724498808384,
-0.006961791310459375,
-0.054312244057655334,
-0.049306850880384445,
-0.01242009736597538,
-0.013522030785679817,
-0.006205379497259855,
0.03548599034547806,
-0.05954175814986229,
-0.04635591059923172,
0.05360252410173416,
0.016052741557359695,
0.05222043767571449,
0.0022026996593922377,
0.016753124073147774,
0.042919375002384186,
-0.032030776143074036,
-0.05390135571360588,
-0.00043219371582381427,
0.01362475287169218,
-0.026259634643793106,
0.03449612110853195,
-0.07694857567548752,
0.011701039038598537,
-0.03970695659518242,
-0.04220965504646301,
0.03337550908327103,
-0.08449401706457138,
0.01682783104479313,
0.004837301094084978,
0.006280086934566498,
0.01778968796133995,
-0.023402078077197075,
-0.029602788388729095,
0.037913981825113297,
0.001998421736061573,
0.02394370548427105,
-0.059877943247556686,
-0.055507563054561615,
-0.03602762147784233,
-0.03737235441803932,
0.05184690281748772,
0.016416940838098526,
-0.020507168024778366,
-0.016015388071537018,
0.003665329422801733,
-0.002474681008607149,
0.0036746677942574024,
0.044450875371694565,
0.034925688058137894,
-0.0028365447651594877,
-0.041126396507024765,
-0.042620543390512466,
0.045384716242551804,
-0.02104879729449749,
-0.003714356105774641,
0.03754044324159622,
-0.008418585173785686,
0.011028672568500042,
-0.05483519658446312,
-0.010160200297832489,
-0.04344232380390167,
-0.0008422086830250919,
-0.00411123875528574,
0.008068393915891647,
0.00738668953999877,
0.04691621661186218,
-0.006676969584077597,
-0.01219597551971674,
0.0015992042608559132,
0.004190615378320217,
-0.033412862569093704,
0.0015548467636108398,
0.002381296828389168,
-0.01789241097867489,
-0.0018221590435132384,
-0.009515848942101002,
-0.041275810450315475,
-0.02117953449487686,
0.053826648741960526,
-0.008040378801524639,
0.05061423033475876,
0.02138497866690159,
0.007942325435578823,
0.020787321031093597,
-0.003275450551882386,
-0.005098776891827583,
-0.04699092358350754,
0.03130238130688667,
0.04194817692041397,
0.03851164132356644,
-0.024447981268167496,
0.0342533215880394,
0.01341930776834488,
0.0033244772348552942,
-0.0013435650616884232,
0.006560239475220442,
-0.02422385849058628,
0.07657503336668015,
-0.0987631157040596,
-0.019162435084581375,
-0.047177691012620926,
-0.04295672848820686,
0.014315796084702015,
0.050352755934000015,
0.05845850333571434,
0.004799947142601013,
0.027510982006788254,
-0.00977732427418232,
-0.0007318985881283879,
-0.021926607936620712,
0.0045174602419137955,
0.0075361039489507675,
-0.024167828261852264,
-0.027454951778054237,
0.018200578168034554,
0.016883861273527145,
0.03832487016916275,
-0.013783506117761135,
-0.03828751668334007,
0.020264368504285812,
0.027809811756014824,
-0.07859213650226593,
0.009226357564330101,
0.012830987572669983,
0.004302676767110825,
-0.037633828818798065,
-0.047028277069330215,
0.00437738373875618,
0.01750953495502472,
0.005448967684060335,
-0.026409048587083817,
-0.018592791631817818,
0.0025493884459137917,
-0.009954754263162613,
0.04359174147248268,
0.008946205489337444,
0.021534394472837448,
-0.019498618319630623,
0.07351203262805939,
-0.039445482194423676,
0.05558227002620697,
0.029882941395044327,
-0.003548599313944578,
-0.03352492302656174,
0.09383243322372437,
-0.008899513632059097,
0.022524267435073853,
-0.10683151334524155,
0.023981060832738876,
-0.01770564168691635,
-0.02422385849058628,
0.017462844029068947,
-0.014661317691206932,
-0.00950184091925621,
-0.007942325435578823,
0.033076681196689606,
-0.028743654489517212,
0.014091674238443375,
0.012074575759470463,
-0.021011441946029663,
-0.007657503709197044,
-0.03811942785978317,
0.03651321679353714,
0.0068917530588805676,
-0.047327108681201935,
0.010664474219083786,
0.0197040643543005,
-0.011766407638788223,
0.0357474684715271,
0.01589398831129074,
0.04583296179771423,
-0.04867183789610863,
-0.0197040643543005,
0.006326778791844845,
0.0248588714748621,
0.04288202151656151,
-0.015483099035918713,
0.018816914409399033,
0.002948605688288808,
-0.050651583820581436,
0.023532815277576447,
0.010972642339766026,
0.05744995176792145,
-0.02667052485048771,
0.017051953822374344,
-0.007461396977305412,
0.05617992952466011,
-0.026689201593399048,
-0.00923569593578577,
-0.02967749536037445,
0.007139221299439669,
-0.05222043767571449,
-0.03772721439599991,
0.011383532546460629,
0.03877311572432518,
-0.006989806424826384,
0.01106602605432272,
-0.01234538946300745,
-0.016370248049497604,
-0.04426410421729088,
0.02271103486418724,
0.05554491654038429,
-0.015324345789849758,
-0.02147836424410343,
-0.04818624258041382,
0.029640141874551773,
0.028071288019418716,
-0.03182533010840416,
0.0696646049618721,
0.015090884640812874,
0.005528343841433525,
-0.024653425440192223,
-0.029808232560753822,
-0.013783506117761135,
-0.006485532037913799,
-0.014736025594174862,
-0.03197474777698517,
-0.030237801373004913,
-0.009179665707051754,
0.03365566208958626,
-0.01823793165385723,
-0.049306850880384445,
0.012261344119906425,
0.06058766320347786,
0.00825516227632761,
-0.052780743688344955,
0.05210837721824646,
-0.006340786349028349,
-0.03587820753455162,
-0.017164014279842377,
0.0773221105337143,
-0.030219124630093575,
0.01213060598820448,
-0.033991843461990356,
0.029920294880867004,
0.07168170064687729,
0.04086492210626602,
-0.006522885523736477,
0.0243545975536108,
0.007330658845603466,
0.008292515762150288,
0.005369591061025858,
0.00734466640278697,
0.054312244057655334,
-0.0105991056188941,
-0.004629521165043116,
0.023103248327970505,
0.04321820288896561,
0.009646587073802948,
-0.0074053662829101086,
0.002796856453642249,
-0.011476917192339897,
0.0035439298953861,
0.039744310081005096,
0.0009957089787349105,
-0.0012992075644433498,
0.003665329422801733,
-0.02271103486418724,
-0.029565434902906418,
-0.009870708920061588,
0.028967775404453278,
-0.02999500185251236,
0.02906115911900997,
-0.01736012101173401,
0.0118878073990345,
-0.02362620085477829,
0.09017177671194077,
0.008236485533416271,
-0.10137787461280823,
-0.016351571306586266,
0.05573168396949768,
0.0012198309414088726,
0.015987373888492584,
0.0026801263447850943,
0.038548994809389114,
-0.052033670246601105,
0.007727541495114565,
0.03770853579044342,
-0.021609101444482803,
0.014726686291396618,
-0.019816124811768532,
-0.017005261033773422,
-0.018181901425123215,
0.0059532420709729195,
-0.07799447327852249,
0.03636380285024643,
0.006574247032403946,
-0.0171266607940197,
0.05180954933166504,
-0.04919479042291641,
-0.020395107567310333,
-0.018060501664876938,
-0.003966493532061577,
0.05498461052775383,
0.002366121858358383,
-0.05091306194663048,
0.02467210218310356,
-0.02603551186621189,
0.010188215412199497,
-0.010496382601559162,
0.00571978185325861,
-0.08964882045984268,
-0.024634748697280884,
-0.0022097034379839897,
0.018760884180665016,
0.06421096622943878,
0.020936734974384308,
-0.015865974128246307,
-0.014091674238443375,
-0.03851164132356644,
0.022468235343694687,
0.054909903556108475,
0.02861291542649269,
-0.054162830114364624,
0.06962725520133972,
0.026166249066591263,
0.035542022436857224,
0.05696435645222664,
0.03285255655646324,
0.01528699230402708,
-0.025381822139024734,
0.037951335310935974,
0.004545475356280804,
-0.12319242209196091,
0.03473891690373421,
-0.008413915522396564,
0.0018781895050778985,
-0.028818361461162567,
0.022057345137000084,
-0.028855714946985245,
0.0022937492467463017,
0.016631724312901497,
-0.019349204376339912,
-0.018816914409399033,
-0.04146258160471916,
-0.041275810450315475,
-0.03742838278412819,
-0.006359463091939688,
0.06846928596496582,
0.00043219371582381427,
0.022767065092921257,
0.004652867093682289,
0.002990628592669964,
-0.03148914873600006,
-0.004134585149586201,
0.048858609050512314,
-0.05464842915534973,
-0.08195396512746811,
-0.04183611646294594,
-0.012588188983500004,
-0.002297251019626856,
0.04418939724564552,
-0.004365711007267237,
0.03285255655646324,
-0.030069708824157715,
-0.033842429518699646,
0.014829409308731556,
-0.03966960310935974,
0.014651979319751263,
0.04392792284488678,
0.0360836498439312,
-0.012933710590004921,
0.07467000186443329,
0.02345810830593109,
-0.006457516923546791,
0.02454136498272419,
0.008199132047593594,
-0.010356307029724121,
-0.03268446773290634,
0.036905430257320404,
0.00033530761720612645,
0.02224411442875862,
-0.007302643731236458,
0.042022883892059326,
-0.011523609049618244,
-0.0809827670454979,
-0.03651321679353714,
0.04923214390873909,
0.0037867289502173662,
-0.02937866561114788,
-0.008815467357635498,
0.0012758615193888545,
0.012924372218549252,
0.0021606767550110817,
0.020656581968069077,
0.011486255563795567,
-0.03091016598045826,
0.0030653360299766064,
-0.060064710676670074,
0.03694278374314308,
-0.004239642061293125,
-0.04624385014176369,
0.017481520771980286,
0.027156122028827667,
0.018518084660172462,
0.011738392524421215,
0.008936867117881775,
-0.023290017619729042,
0.012933710590004921,
0.050352755934000015,
0.027324214577674866,
-0.06028883159160614,
-0.029359988868236542,
0.07612679153680801,
0.007825595326721668,
-0.031096935272216797,
0.007199921179562807,
-0.035691436380147934,
-0.014745363965630531,
-0.04254583641886711,
-0.01644495502114296,
0.0014848086284473538,
0.06305300444364548,
0.0409022755920887,
-0.03544863685965538,
-0.04527265578508377,
-0.03996843472123146,
-0.030499275773763657,
-0.01827528513967991,
0.018910298123955727,
0.04441352188587189,
0.011271472088992596,
-0.0460570827126503,
0.020114954560995102,
-0.039146650582551956,
0.04919479042291641,
-0.02286044880747795,
-0.0004949361900798976,
0.019610680639743805,
-0.02046981453895569,
-0.03404787555336952,
0.010468367487192154,
-0.02637169510126114,
0.019573325291275978,
-0.02089938148856163,
-0.02771642804145813,
0.06211916357278824,
-0.0020217676647007465,
0.02089938148856163,
-0.011243456043303013,
-0.010925950482487679,
-0.02650243230164051,
0.03806339576840401,
-0.009824017062783241,
-0.002808529417961836,
0.0093104038387537,
0.03918400779366493,
-0.005934565328061581,
-0.060064710676670074,
0.053826648741960526
]
|
43,900 | pybtex | format_from_file | A convenience function that calls :py:meth:`.PybtexEngine.format_from_file`. | def format_from_file(*args, **kwargs):
"""A convenience function that calls :py:meth:`.PybtexEngine.format_from_file`."""
return PybtexEngine().format_from_file(*args, **kwargs)
| (*args, **kwargs) | [
0.020746959373354912,
-0.08020970225334167,
0.02252781391143799,
-0.005257973913103342,
0.0039067501202225685,
-0.044806309044361115,
-0.014398211613297462,
0.01701606810092926,
0.03796782344579697,
-0.014050944708287716,
0.013721486553549767,
-0.009670041501522064,
-0.048510484397411346,
0.002138138748705387,
-0.02363194338977337,
-0.0049952976405620575,
-0.0270155668258667,
-0.009714563377201557,
0.026677206158638,
-0.00690081249922514,
-0.005257973913103342,
-0.001013974193483591,
0.004941872321069241,
0.011833780445158482,
0.08776052296161652,
0.014914658851921558,
-0.010631702840328217,
-0.018324995413422585,
-0.020408596843481064,
-0.0644313246011734,
0.028796423226594925,
0.006598067004233599,
0.02537718042731285,
0.08142068237066269,
-0.00864159781485796,
-0.037647269666194916,
-0.039143189787864685,
-0.036222588270902634,
-0.06418200582265854,
-0.018084580078721046,
0.03330198675394058,
0.0019244361901655793,
0.11497198790311813,
0.016285916790366173,
-0.03949936106801033,
-0.010809788480401039,
0.032892387360334396,
-0.018307186663150787,
-0.0416363850235939,
-0.016579758375883102,
0.03650752454996109,
-0.027478590607643127,
0.007764527108520269,
0.019482551142573357,
-0.057307906448841095,
-0.006170662119984627,
-0.03552805259823799,
0.08669201284646988,
0.046373460441827774,
0.00745287723839283,
0.04861733689904213,
0.0488310381770134,
0.07240955531597137,
-0.024184009060263634,
-0.03538558632135391,
0.02291960082948208,
-0.0064555988647043705,
0.0037553776055574417,
-0.022563431411981583,
0.012982431799173355,
0.03506503254175186,
-0.005039819050580263,
0.011050203815102577,
-0.027888186275959015,
0.002818202832713723,
0.04263366386294365,
-0.0930318534374237,
0.058412037789821625,
-0.026338843628764153,
0.028333399444818497,
-0.002949540736153722,
-0.011851589195430279,
0.004240660462528467,
-0.02088942751288414,
0.03479790315032005,
-0.09288939088582993,
0.03351568803191185,
0.033996518701314926,
0.015591383911669254,
-0.0028449154924601316,
-0.021263405680656433,
-0.015030414797365665,
-0.036792460829019547,
0.0015649261185899377,
0.004124904982745647,
-0.08469745516777039,
0.06229430064558983,
0.010613895021378994,
-0.020479829981923103,
0.020586682483553886,
-0.030434809625148773,
-0.07508084177970886,
-0.011344045400619507,
-0.04388026148080826,
-0.011174864135682583,
-0.016748938709497452,
0.02081819251179695,
0.013534496538341045,
0.007764527108520269,
0.006762796081602573,
-0.05410236865282059,
-0.03664999082684517,
0.07255202531814575,
-0.03148551285266876,
0.027478590607643127,
-0.03714863210916519,
-0.013863954693078995,
0.0442720502614975,
-0.03372938930988312,
0.0023217895068228245,
-0.017354430630803108,
0.007804596330970526,
-0.0243977103382349,
0.0305950865149498,
0.008370017632842064,
-0.016161257401108742,
-0.02005242556333542,
-0.07451096922159195,
0.0976620763540268,
-0.06809988617897034,
0.03853769972920418,
-0.002459805691614747,
0.010275532491505146,
-0.04377341270446777,
0.032500602304935455,
-0.01635715179145336,
0.0624723881483078,
-0.011281715705990791,
0.02135244943201542,
0.12295021861791611,
0.08704818040132523,
-0.034530773758888245,
0.01760374940931797,
-0.08020970225334167,
-0.048973508179187775,
-0.01239474955946207,
0.01327627245336771,
-0.03104029968380928,
-0.03664999082684517,
0.0956675186753273,
0.03604450076818466,
0.0011519904946908355,
-0.014389307238161564,
-0.01337421964854002,
0.021103128790855408,
-0.03342664614319801,
0.007025472354143858,
-0.009113524109125137,
-0.009848127141594887,
0.02473607286810875,
0.024237433448433876,
0.06058467924594879,
0.037006162106990814,
0.035296544432640076,
-0.007132323458790779,
0.04238434508442879,
-0.07358492165803909,
-0.0015738304937258363,
-0.0017930981703102589,
-0.03778973966836929,
0.010222106240689754,
-0.015404393896460533,
-0.04605290666222572,
0.047869376838207245,
0.01812019757926464,
-0.029330678284168243,
0.02550184167921543,
0.014033135958015919,
0.023525092750787735,
0.01021320279687643,
-0.025608692318201065,
-0.031592365354299545,
-0.0069943075068295,
0.01733662188053131,
0.049828317016363144,
0.0068830037489533424,
0.0043319291435182095,
0.03935689106583595,
-0.022563431411981583,
-0.04092404246330261,
0.08341524004936218,
-0.014487254433333874,
0.06190251186490059,
-0.00527133047580719,
-0.0082141924649477,
-0.0230976864695549,
-0.04954338073730469,
-0.026125140488147736,
-0.028262166306376457,
0.023792220279574394,
-0.008686119690537453,
0.005890177097171545,
0.026178566738963127,
-0.012323515489697456,
0.005836751777678728,
0.03846646472811699,
0.07401232421398163,
-0.034655433148145676,
-0.08120697736740112,
0.014736573211848736,
-0.012483792379498482,
-0.083344005048275,
-0.050077635794878006,
0.019251041114330292,
0.005133314058184624,
0.004688100423663855,
0.057307906448841095,
0.07657675445079803,
-0.05317632481455803,
0.06827797740697861,
0.06713822484016418,
0.00745287723839283,
-0.0371130146086216,
-0.026053905487060547,
0.05111053213477135,
0.017033876851201057,
0.05249959975481033,
0.06475187838077545,
-0.030221106484532356,
-0.026303226128220558,
0.015270830132067204,
-0.013196134008467197,
0.0021002956200391054,
0.023542901501059532,
0.00021634603035636246,
-0.00959880743175745,
0.00624634837731719,
-0.01402423158288002,
-0.017585940659046173,
0.005302495323121548,
0.029900552704930305,
0.04569673538208008,
0.03567052260041237,
-0.016161257401108742,
-0.008775162510573864,
-0.08540979772806168,
0.042455580085515976,
-0.009385105222463608,
-0.031859491020441055,
-0.004131583031266928,
0.012439270503818989,
0.032055385410785675,
-0.00680286530405283,
0.06044221296906471,
-0.08227549493312836,
0.0053336601704359055,
0.03900071978569031,
-0.04580358788371086,
0.02525252103805542,
-0.016802364960312843,
-0.0038778113666921854,
0.009296062402427197,
0.025626501068472862,
-0.011139246635138988,
0.05980110540986061,
0.011486513540148735,
-0.04234872758388519,
0.007933707907795906,
0.03201976791024208,
-0.002522135619074106,
-0.1073499321937561,
0.05004202201962471,
0.00894879549741745,
0.036543142050504684,
-0.04391587898135185,
-0.06161757558584213,
0.046765249222517014,
-0.01178035419434309,
0.022634664550423622,
0.027745718136429787,
-0.000841453904286027,
0.011700215749442577,
-0.012759825214743614,
0.009189210832118988,
0.06418200582265854,
0.008441251702606678,
-0.03736233338713646,
-0.0546722412109375,
0.005818943027406931,
0.0007846891530789435,
0.01347216684371233,
0.018894869834184647,
-0.02532375603914261,
-0.043239153921604156,
-0.034922562539577484,
-0.047335121780633926,
0.00689636031165719,
-0.0735136866569519,
0.030862214043736458,
-0.04092404246330261,
-0.034655433148145676,
-0.026338843628764153,
0.083344005048275,
0.012937909923493862,
0.0009533138363622129,
-0.013311889953911304,
-0.005542910657823086,
-0.04484192281961441,
-0.014959180727601051,
-0.030612895265221596,
-0.007884734310209751,
-0.00800494197756052,
0.008775162510573864,
-0.04840363562107086,
-0.004799403715878725,
0.011726928874850273,
-0.042669281363487244,
0.0009299401426687837,
0.03287458047270775,
-0.04003361612558365,
-0.04053225740790367,
0.0377541221678257,
0.005244617350399494,
0.02135244943201542,
0.06496558338403702,
-0.025074435397982597,
0.017585940659046173,
-0.013516687788069248,
0.02902793325483799,
0.0031209480948746204,
0.04576797038316727,
0.039926763623952866,
0.048261165618896484,
-0.004343059845268726,
-0.07657675445079803,
-0.06428886204957962,
0.025038817897439003,
0.01767498441040516,
-0.0003122061025351286,
-0.0243977103382349,
0.06190251186490059,
-0.007586441468447447,
-0.019571594893932343,
-0.01767498441040516,
-0.037647269666194916,
-0.003597326809540391,
0.015974268317222595,
-0.058412037789821625,
0.04274051636457443,
-0.01145980041474104,
-0.028386825695633888,
0.006281965412199497,
0.007475138176232576,
0.025163479149341583,
-0.015048223547637463,
-0.05022010579705238,
0.005582979880273342,
0.022634664550423622,
-0.0461953729391098,
0.005133314058184624,
-0.024700457230210304,
0.034210219979286194,
-0.06354089826345444,
-0.008534747175872326,
-0.0198565311729908,
-0.01151322666555643,
0.035439010709524155,
-0.0054182508029043674,
-0.015288638882339,
0.0664258822798729,
0.001244372338987887,
-0.010622799396514893,
0.015858512371778488,
0.03878701850771904,
-0.002615630626678467,
0.011450896970927715,
-0.031663600355386734,
0.001046252204105258,
-0.0442720502614975,
0.012563930824398994,
0.03333760052919388,
0.031218385323882103,
0.004345285706222057,
0.0028159767389297485,
0.000680620432831347,
0.005899081472307444,
-0.0429542176425457,
-0.013587921857833862,
-0.001608334481716156,
-0.02473607286810875,
-0.0029005673713982105,
-0.0488310381770134,
0.0012911197263747454,
0.022349728271365166,
0.005471676588058472,
-0.003575066104531288,
0.0030163228511810303,
0.022278493270277977,
0.006954238284379244,
0.012813250534236431,
-0.017879782244563103,
-0.022545622661709785,
-0.0036351699382066727,
-0.03246498480439186,
-0.059836722910404205,
-0.00917140208184719,
0.056132543832063675,
-0.0019344534957781434,
0.01402423158288002,
0.06984512507915497,
0.044948775321245193,
0.04872418940067291,
-0.060370977967977524,
-0.008454608730971813,
-0.002408606233075261,
0.05214342847466469,
-0.04056787118315697,
-0.028493676334619522,
-0.04498439282178879,
-0.02733612060546875,
-0.019251041114330292,
0.03499379754066467,
-0.003739795181900263,
-0.01210981234908104,
0.062187451869249344,
-0.01155774760991335,
-0.06407515704631805,
-0.0017819678178057075,
0.07971106469631195,
0.04081719368696213,
-0.035296544432640076,
-0.04986393451690674,
-0.011824876070022583,
0.0449131578207016,
0.02231411077082157,
-0.02760324999690056,
-0.011566651985049248,
0.01728319562971592,
0.058340802788734436,
0.014202317222952843,
-0.01782635599374771,
-0.04120897874236107,
0.051573555916547775,
0.002017931081354618,
-0.052357133477926254,
-0.03942812606692314,
-0.05100368335843086,
-0.04993516951799393,
-0.01161117386072874,
-0.010337862186133862,
0.019251041114330292,
0.06774371862411499,
0.039143189787864685,
-0.0442720502614975,
0.013739295303821564,
-0.0625080019235611,
0.012813250534236431,
-0.018823634833097458,
0.04694333299994469,
0.05545581877231598,
0.0012299028458073735,
0.014478350058197975,
0.009803606197237968,
-0.06325596570968628,
0.04302545264363289,
-0.10072515159845352,
-0.00036424046265892684,
-0.0008737319149076939,
0.019108572974801064,
-0.036347247660160065,
-0.008614885620772839,
-0.0005075436201877892,
-0.05759284645318985,
0.03900071978569031,
-0.008080628700554371,
0.07102049142122269,
-0.0010312262456864119,
-0.008347757160663605,
-0.017719505354762077,
0.003443727968260646,
0.0075819892808794975,
-0.027816953137516975,
0.008810779079794884,
0.05367496609687805,
0.045981671661138535,
0.019607212394475937,
0.06047783046960831,
-0.01966063678264618,
-0.012884484604001045,
-0.05520649999380112,
0.01787087880074978,
0.03857331722974777,
0.0067093707621097565,
-0.004990845452994108,
-0.011807067319750786,
0.006727179046720266,
0.0008420104277320206,
-0.006041550077497959,
-0.010391287505626678,
-0.000532308651600033,
0.04124459624290466,
-0.013205038383603096,
0.02238534577190876,
-0.012385845184326172,
0.00896215159446001,
0.018698975443840027,
0.05887506157159805,
0.044093966484069824,
0.008877561427652836,
-0.02902793325483799,
-0.013668060302734375,
-0.025733351707458496,
-0.0077511705458164215,
0.009892648085951805,
0.04904474318027496,
0.023347007110714912,
-0.07130542397499084,
0.00029244975303299725,
-0.025875819846987724,
0.053461261093616486,
-0.01747909002006054,
0.016615375876426697,
0.017879782244563103,
0.005275782197713852,
-0.0032033126335591078,
-0.03586641699075699,
0.034708861261606216,
0.0024286408443003893,
0.03071974590420723,
0.044093966484069824,
0.06389707326889038,
-0.010854310356080532,
0.013899572193622589,
-0.0709136426448822,
-0.03392528370022774,
-0.008329948410391808,
-0.04665839672088623,
0.036934930831193924,
-0.023916879668831825,
-0.02218945138156414,
0.03128961846232414,
-0.021779853850603104,
-0.042455580085515976,
-0.09467024356126785,
-0.015092744491994381,
-0.08085080981254578,
0.07543700933456421,
-0.039285656064748764,
0.030737554654479027,
-0.02211821638047695,
0.03266087919473648,
-0.06735192984342575,
0.04128021374344826,
0.05972987040877342,
-0.004173878580331802,
0.015537958592176437,
-0.009963883087038994,
0.0237566027790308,
-0.02368536964058876,
-0.04737073928117752,
0.00013766842312179506,
0.011762546375393867,
0.030755363404750824,
0.06809988617897034,
-0.08533856272697449,
0.053211942315101624,
-0.0075819892808794975,
0.05036257579922676,
-0.06614094972610474,
0.021690811961889267,
0.017683887854218483,
0.024825116619467735,
0.04377341270446777,
-0.009313871152698994,
0.021957939490675926,
-0.004307442810386419,
0.021192172542214394,
0.021975748240947723,
0.012661878019571304,
-0.016000980511307716,
0.001745237736031413,
-0.03624039515852928,
-0.05111053213477135,
-0.042847368866205215,
-0.025804586708545685,
0.05082559585571289,
-0.007515207398682833,
0.0071723926812410355,
0.04690771549940109,
0.05976548790931702,
0.01370367780327797,
-0.013579018414020538,
0.03939250856637955,
-0.009429626166820526,
0.007849117740988731,
-0.01011525560170412,
-0.0038266119081526995,
-0.009456339292228222,
-0.0046524833887815475,
-0.008485773578286171,
-0.045981671661138535,
0.04217064380645752,
-0.009741275571286678,
0.012768728658556938,
-0.01689140871167183,
-0.005378181580454111,
0.09588122367858887,
-0.04872418940067291,
-0.00959880743175745,
0.004035862162709236,
-0.008076176978647709,
-0.01021320279687643,
-0.051181767135858536,
0.013961901888251305,
0.013525592163205147,
0.0074083562940359116,
0.027122419327497482,
-0.020711341872811317,
-0.01795101724565029,
-0.028066271916031837,
-0.03175264224410057,
0.08669201284646988,
-0.024682648479938507,
0.057949017733335495,
0.08925644308328629,
0.03853769972920418,
-0.013552305288612843,
0.0031142698135226965,
-0.01696264185011387,
-0.020159276202321053,
0.008877561427652836,
0.0008687232621014118,
0.004441006574779749,
0.015529054217040539,
0.010836501605808735,
-0.03721986711025238,
-0.009812509641051292,
0.016713323071599007,
-0.05517088249325752,
0.025929246097803116,
-0.0008342191576957703,
-0.05128861963748932,
-0.014594105072319508,
-0.016054406762123108,
-0.010453618131577969,
-0.00377541221678257,
-0.04672963172197342,
-0.052357133477926254,
0.045661117881536484,
0.013302985578775406,
0.019678445532917976,
-0.02753201499581337,
-0.019927766174077988,
-0.024825116619467735,
-0.014798903837800026,
0.06460941582918167,
-0.0016138997161760926,
-0.009483051486313343,
0.027905995026230812,
-0.005591884255409241,
0.02452237159013748,
0.01633043959736824,
-0.005088792648166418,
0.01591193862259388,
-0.03461981937289238,
-0.06229430064558983,
-0.02888546511530876,
0.035634905099868774,
0.00011137298861285672,
0.054387304931879044,
-0.02056887373328209,
0.023916879668831825,
0.0005150565993972123,
0.009892648085951805,
0.015769468620419502,
-0.019215423613786697,
0.028600528836250305,
-0.01132623665034771,
0.025875819846987724,
0.014505062252283096,
0.02681967429816723,
0.009625520557165146,
-0.005315851420164108,
-0.006197374779731035,
-0.021619576960802078,
0.02062229812145233,
-0.0403541699051857,
0.056987352669239044,
0.030612895265221596,
-0.03796782344579697,
-0.06792180240154266,
0.022563431411981583,
-0.03200196102261543,
-0.03600888326764107,
-0.004585701040923595,
0.012252281419932842,
0.004131583031266928,
-0.0354568213224411,
0.003940141294151545,
-0.012733112089335918,
-0.03981991484761238,
-0.02876080572605133,
0.033355411142110825,
0.031396470963954926,
0.0068295784294605255,
-0.02062229812145233,
0.01510164886713028,
0.028226548805832863,
-0.056132543832063675,
-0.038751401007175446,
0.0038065772969275713,
0.020925045013427734,
0.061795663088560104,
0.08455498516559601,
0.04377341270446777,
0.02623199112713337,
-0.046373460441827774,
0.006842934526503086,
0.020355170592665672,
-0.022242877632379532,
-0.04594605416059494,
0.04277613386511803,
-0.028671761974692345,
-0.022278493270277977,
0.0046168663538992405,
0.008361113257706165,
-0.07344245165586472,
-0.02908135950565338,
-0.002216051332652569,
-0.041030894964933395,
0.04177885502576828,
-0.03889387100934982,
-0.033943094313144684,
-0.013098186813294888,
0.015306447632610798,
0.001086878008209169,
-0.04209940880537033,
0.02135244943201542,
0.05367496609687805,
-0.02024831995368004,
-0.03194853663444519,
0.061475109308958054,
-0.07205338776111603,
0.0015526828356087208,
0.06557107716798782,
0.04021170362830162,
0.04765567556023598,
0.030434809625148773,
-0.04380903020501137,
0.042669281363487244,
0.0030853310599923134,
0.029206018894910812,
0.008156315423548222,
0.06838482618331909,
0.08291660249233246,
-0.03372938930988312,
0.03949936106801033,
-0.033088281750679016,
0.0029161497950553894,
-0.04445013776421547,
-0.002775907516479492,
-0.0263566505163908,
0.01782635599374771,
0.020337361842393875,
0.00030330184381455183,
-0.048189930617809296,
0.00006020819637342356,
0.02792380377650261
]
|
43,901 | pybtex | format_from_files | A convenience function that calls :py:meth:`.PybtexEngine.format_from_files`. | def format_from_files(*args, **kwargs):
"""A convenience function that calls :py:meth:`.PybtexEngine.format_from_files`."""
return PybtexEngine().format_from_files(*args, **kwargs)
| (*args, **kwargs) | [
-0.00897387508302927,
-0.08805304765701294,
-0.0005270630354061723,
-0.019615421071648598,
-0.026250049471855164,
-0.021923117339611053,
-0.013638847507536411,
0.0028620846569538116,
0.045504894107580185,
0.028972409665584564,
0.01990388333797455,
-0.02552889473736286,
-0.030270488932728767,
-0.0014885093551129103,
-0.026520483195781708,
-0.02179691568017006,
-0.014378031715750694,
-0.01479269564151764,
0.04301690682768822,
-0.010150259360671043,
-0.006413774099200964,
0.01254810020327568,
0.011304107494652271,
0.005043579265475273,
0.08733189105987549,
0.0031843509059399366,
0.012142450548708439,
-0.04474768042564392,
0.002178114140406251,
-0.03692314773797989,
0.015919500961899757,
0.026051731780171394,
0.03219958022236824,
0.05502414330840111,
-0.019543305039405823,
-0.03890632465481758,
-0.02558298036456108,
-0.0016327404882758856,
-0.040925558656454086,
-0.006612091790884733,
0.025042114779353142,
0.0017848591087386012,
0.12670697271823883,
0.010844371281564236,
-0.034074582159519196,
0.012602186761796474,
0.017650272697210312,
-0.032470013946294785,
-0.02120196260511875,
0.018082967028021812,
0.01823621243238449,
-0.03463348001241684,
0.0023144574370235205,
0.010691125877201557,
-0.0424039252102375,
0.025619039312005043,
-0.039627477526664734,
0.0747837945818901,
0.01804690808057785,
-0.015531879849731922,
0.03890632465481758,
0.022463984787464142,
0.09324536472558975,
-0.013909281231462955,
-0.04056498035788536,
0.03205534815788269,
-0.011241006664931774,
0.006265035830438137,
-0.02222960814833641,
0.026917118579149246,
0.0038581802509725094,
-0.019146669656038284,
0.003414219245314598,
-0.0032136477530002594,
-0.026502452790737152,
0.05895443633198738,
-0.08646650612354279,
0.07146648317575455,
-0.01371997781097889,
0.015748227015137672,
0.0034728129394352436,
-0.013125024735927582,
-0.010519851930439472,
-0.0016395013080909848,
0.06800493597984314,
-0.06724772602319717,
0.024627450853586197,
0.03973565250635147,
0.040637094527482986,
-0.006648149341344833,
-0.028611833229660988,
-0.005368099082261324,
-0.014378031715750694,
-0.01571216806769371,
-0.020751241594552994,
-0.060577038675546646,
0.010546894744038582,
-0.0005039635580033064,
-0.004701030440628529,
0.02578129805624485,
-0.013287284411489964,
-0.07586552947759628,
0.018263256177306175,
-0.049831822514534,
0.007991300895810127,
-0.02432096004486084,
0.01014124508947134,
-0.03200126066803932,
-0.012737403623759747,
0.006382223684340715,
-0.03897843882441521,
-0.03274044767022133,
0.09389440715312958,
-0.04384623467922211,
0.02635822258889675,
-0.03998805582523346,
-0.019669508561491966,
0.032181549817323685,
-0.024357017129659653,
-0.012043291702866554,
-0.0058007920160889626,
0.011087761260569096,
-0.020895471796393394,
0.026105817407369614,
0.0200481154024601,
-0.015594981610774994,
0.0038739556912332773,
-0.06612993031740189,
0.08574535697698593,
-0.06569723784923553,
0.03843757137656212,
0.018128039315342903,
-0.002012473763898015,
-0.043810177594423294,
0.041322194039821625,
-0.009199235588312149,
0.04373806342482567,
-0.026232020929455757,
0.03488588333129883,
0.09346171468496323,
0.04179094359278679,
-0.017352797091007233,
0.026682741940021515,
-0.035931557416915894,
-0.05228375270962715,
0.011556511744856834,
0.0346515066921711,
-0.03987988084554672,
-0.020516864955425262,
0.09591364115476608,
0.03890632465481758,
0.012611201964318752,
-0.010186317376792431,
-0.015063129365444183,
0.027854619547724724,
-0.03829333931207657,
0.004477923270314932,
0.007585651241242886,
-0.010240403935313225,
0.02437504567205906,
0.03681497275829315,
0.0515625961124897,
0.0333714559674263,
0.03905055299401283,
0.009483191184699535,
0.04471162334084511,
-0.0664544552564621,
0.00858174730092287,
0.0019482458010315895,
-0.018371429294347763,
0.04719960689544678,
0.0026660205330699682,
-0.05170682817697525,
0.013260241597890854,
0.03225366771221161,
-0.040348634123802185,
0.031153904274106026,
0.022500041872262955,
0.014972984790802002,
0.03405655547976494,
-0.03686906024813652,
-0.021832972764968872,
-0.0062334854155778885,
0.040204402059316635,
0.04171882942318916,
0.037968821823596954,
-0.015207360498607159,
0.03039669245481491,
-0.013485602103173733,
-0.07175493985414505,
0.06468762457370758,
0.011376223526895046,
0.029549334198236465,
-0.001820916892029345,
-0.01838945783674717,
-0.007576636970043182,
-0.0647236779332161,
-0.04085344076156616,
-0.011799901723861694,
0.021724799647927284,
-0.031045731157064438,
0.018804121762514114,
0.03203732147812843,
-0.03319116681814194,
0.026917118579149246,
0.023455573245882988,
0.04849768802523613,
-0.029224814847111702,
-0.08141842484474182,
0.017542099580168724,
0.02013825811445713,
-0.06566118448972702,
-0.06512031704187393,
0.0036891596391797066,
0.00036423970595933497,
0.01936301775276661,
0.06508425623178482,
0.06944724917411804,
-0.03905055299401283,
0.05430298671126366,
0.03746401146054268,
0.011763844639062881,
-0.07366600632667542,
-0.043810177594423294,
0.04719960689544678,
0.013728992082178593,
0.06612993031740189,
0.06526454538106918,
-0.015333562158048153,
-0.0363822802901268,
-0.00042367869173176587,
-0.02071518264710903,
-0.00764875253662467,
0.02787264809012413,
-0.006670685485005379,
-0.004701030440628529,
0.030631067231297493,
-0.023455573245882988,
-0.012692331336438656,
0.01162862777709961,
0.02918875589966774,
0.026826974004507065,
0.016090774908661842,
-0.028575774282217026,
0.0012834308436140418,
-0.09757229685783386,
0.02724163793027401,
-0.029945969581604004,
-0.026502452790737152,
0.018804121762514114,
0.025474807247519493,
0.02451927773654461,
0.005936008878052235,
0.04961547628045082,
-0.08026457577943802,
-0.0001636684319237247,
0.01544173527508974,
-0.05188711732625961,
0.03488588333129883,
-0.040348634123802185,
0.012214566580951214,
-0.0005808679852634668,
0.00020986743038520217,
-0.004207490012049675,
0.03620199114084244,
0.006828438490629196,
-0.012358796782791615,
-0.003121249843388796,
-0.011033674702048302,
0.017821548506617546,
-0.1369473785161972,
0.04218757897615433,
0.002675035037100315,
0.043810177594423294,
-0.04683902859687805,
-0.0028372949454933405,
0.03933901712298393,
-0.007504521403461695,
0.0012079349253326654,
0.028593802824616432,
0.021147876977920532,
0.001137509592808783,
-0.03528251871466637,
-0.0021240273490548134,
0.07918284088373184,
-0.0046379296109080315,
-0.03614790365099907,
-0.07143042236566544,
-0.017442941665649414,
-0.024194756522774696,
0.03140630945563316,
0.039915941655635834,
-0.008279763162136078,
-0.06753618270158768,
-0.043954409658908844,
-0.04637027904391289,
0.023131053894758224,
-0.09706749022006989,
0.021869031712412834,
-0.03272241726517677,
-0.07262033224105835,
-0.001041731215082109,
0.10024057328701019,
0.010033071972429752,
0.004646943882107735,
-0.028233226388692856,
-0.01298980787396431,
-0.0449640266597271,
0.0010980714578181505,
-0.026141876354813576,
-0.0017488013254478574,
-0.025402691215276718,
0.041466422379016876,
-0.029729623347520828,
-0.0187680646777153,
0.023419514298439026,
-0.026520483195781708,
0.043810177594423294,
0.0015042846789583564,
-0.03955536335706711,
-0.03571521118283272,
0.05794481933116913,
-0.010934515856206417,
0.017893662676215172,
0.07954341918230057,
-0.011204948648810387,
-0.005539373494684696,
0.0026727814693003893,
0.023671919479966164,
0.016424309462308884,
0.029891883954405785,
0.027602216228842735,
0.05444721877574921,
-0.007824533618986607,
-0.0667429119348526,
-0.04179094359278679,
0.03351568803191185,
0.012340768240392208,
0.022878648713231087,
-0.030721211805939674,
0.049254901707172394,
-0.011204948648810387,
-0.04135825112462044,
0.013395457528531551,
-0.05794481933116913,
0.0020890964660793543,
0.04143036529421806,
-0.031262077391147614,
0.03984382376074791,
-0.013602790422737598,
-0.010934515856206417,
0.007220566272735596,
-0.00033409768366254866,
0.040925558656454086,
-0.009888840839266777,
-0.04683902859687805,
-0.035823386162519455,
0.012016248889267445,
-0.028521688655018806,
-0.0011594824027270079,
-0.02320316806435585,
0.050084229558706284,
-0.02967553585767746,
-0.005404156632721424,
-0.008991903625428677,
-0.0038897308986634016,
0.05751212686300278,
-0.02096758782863617,
-0.014405075460672379,
0.03560703620314598,
0.007847069762647152,
0.027512071654200554,
0.007080842740833759,
0.017668303102254868,
-0.01101564522832632,
0.01600964553654194,
-0.03254212811589241,
0.010609995573759079,
-0.06104578822851181,
0.05055297911167145,
0.015549909323453903,
0.030036114156246185,
0.009239801205694675,
0.01371997781097889,
0.018254240974783897,
0.000918909499887377,
-0.02509620040655136,
-0.025673124939203262,
0.0104567501693964,
-0.01576625555753708,
0.013819136656820774,
-0.06609387695789337,
-0.0067833662033081055,
0.038798149675130844,
-0.009987999685108662,
-0.033876266330480576,
-0.014576349407434464,
0.026772886514663696,
-0.0064813825301826,
-0.009933913126587868,
-0.01408055517822504,
-0.0181911401450634,
0.00491287000477314,
-0.012557114474475384,
-0.047055378556251526,
-0.00013880828919354826,
0.06890638172626495,
-0.01327827014029026,
0.0038536731153726578,
0.07092561572790146,
0.04348566010594368,
0.027746446430683136,
-0.048858266323804855,
0.00608024001121521,
-0.011844974011182785,
0.06631021946668625,
-0.057620301842689514,
-0.022644273936748505,
-0.03822122514247894,
-0.018984410911798477,
-0.011547497473657131,
0.02729572355747223,
0.018804121762514114,
-0.008649354800581932,
0.07615398615598679,
-0.0031302643474191427,
-0.06713955104351044,
-0.003067163284868002,
0.053004905581474304,
0.03432698920369148,
-0.045540951192379,
-0.026935147121548653,
-0.04626210778951645,
0.04114190489053726,
0.04247604310512543,
-0.031117847189307213,
-0.007919185794889927,
-0.01065506786108017,
0.035589009523391724,
-0.004966956563293934,
-0.017136450856924057,
-0.040384691208601,
0.047884706407785416,
-0.010736198164522648,
-0.056358277797698975,
-0.05268038809299469,
-0.045072201639413834,
-0.04290873557329178,
-0.030378662049770355,
0.0025398184079676867,
0.012358796782791615,
0.08069726824760437,
0.040456805378198624,
-0.06133424863219261,
0.05354577302932739,
-0.03868997469544411,
0.028233226388692856,
-0.010907472111284733,
0.001507665147073567,
0.03915872797369957,
0.023185139521956444,
-0.009311916306614876,
0.030288519337773323,
-0.044675566256046295,
0.05560106411576271,
-0.12872619926929474,
0.003206887049600482,
-0.0015921754529699683,
0.028233226388692856,
-0.029747651889920235,
0.024537306278944016,
-0.014621421694755554,
-0.046911146491765976,
0.04741595312952995,
-0.019038496538996696,
0.05487991124391556,
0.014991013333201408,
-0.0036485944874584675,
-0.010546894744038582,
-0.031171932816505432,
0.006454339250922203,
-0.021382251754403114,
0.0012315978528931737,
0.049687594175338745,
0.03200126066803932,
0.01276444736868143,
0.0701683983206749,
-0.02787264809012413,
-0.004872304853051901,
-0.07316119223833084,
0.050264518707990646,
0.028539717197418213,
-0.014513248577713966,
0.012196537107229233,
-0.00752705754712224,
0.0007250990020111203,
-0.013269255869090557,
-0.01751505769789219,
-0.03375006467103958,
0.006265035830438137,
0.054699622094631195,
-0.02899043820798397,
0.01658657006919384,
-0.009163178503513336,
0.02423081547021866,
0.02796279266476631,
0.07889437675476074,
0.006823930889368057,
-0.01780351810157299,
-0.039375074207782745,
-0.03513828665018082,
-0.02150845341384411,
-0.02120196260511875,
0.0073062037117779255,
0.05772847309708595,
0.03239789605140686,
-0.06183905899524689,
0.004103824030607939,
-0.0013431515544652939,
0.06991599500179291,
-0.029459189623594284,
-0.007558607961982489,
-0.003553943010047078,
0.003815361764281988,
-0.001272162888199091,
-0.022121435031294823,
0.05250009894371033,
0.010006028227508068,
0.03248804062604904,
0.03829333931207657,
0.04936307296156883,
-0.0003805783926509321,
0.020895471796393394,
-0.06349771469831467,
-0.03618396073579788,
-0.028882265090942383,
-0.04481979459524155,
0.030667124316096306,
0.009275859221816063,
-0.014432118274271488,
0.02111181803047657,
0.000806228956207633,
-0.021292107179760933,
-0.08199534565210342,
-0.013269255869090557,
-0.050120286643505096,
0.06299290806055069,
-0.03274044767022133,
0.08387035131454468,
-0.013269255869090557,
0.028034908697009087,
-0.07737994939088821,
0.025907499715685844,
0.07186311483383179,
-0.013323342427611351,
0.017208566889166832,
-0.008969367481768131,
0.004403553903102875,
-0.03987988084554672,
-0.05531260371208191,
0.012620216235518456,
0.009591364301741123,
0.03537266328930855,
0.04056498035788536,
-0.07608187198638916,
0.03676088526844978,
0.004858782980591059,
0.05152653902769089,
-0.044531334191560745,
0.01591048575937748,
-0.015117215923964977,
0.03987988084554672,
0.023942353203892708,
-0.04280056059360504,
0.04088950157165527,
-0.01717250794172287,
0.0008732738788239658,
0.0023753049317747355,
-0.002762925811111927,
-0.027277695015072823,
0.011078746989369392,
-0.042439982295036316,
-0.021219991147518158,
-0.05405058339238167,
0.0025127751287072897,
0.018659891560673714,
-0.014900869689881802,
-0.016063731163740158,
0.05798087641596794,
0.07027657330036163,
-0.004613139666616917,
-0.007905663922429085,
0.041899118572473526,
-0.0055213444866240025,
0.00599460257217288,
-0.004094809293746948,
-0.02538466267287731,
-0.009789681993424892,
-0.012971779331564903,
-0.03818516805768013,
-0.040060169994831085,
0.062488097697496414,
-0.02621399238705635,
0.011664685793220997,
-0.016090774908661842,
-0.026232020929455757,
0.09800498932600021,
-0.04665874317288399,
-0.007139436434954405,
0.020156288519501686,
0.005557402037084103,
0.01999402791261673,
-0.01844354346394539,
0.006914075464010239,
0.03872603550553322,
0.025763269513845444,
0.017983807250857353,
-0.0058548785746097565,
-0.0020000787917524576,
-0.03403852507472038,
-0.05325731262564659,
0.0707453265786171,
-0.05516837164759636,
0.026195961982011795,
0.07593764364719391,
0.045540951192379,
-0.026718800887465477,
-0.004581589251756668,
-0.019182728603482246,
0.001716124010272324,
0.02457336336374283,
-0.010934515856206417,
0.031442366540431976,
0.009717565961182117,
0.02743995562195778,
-0.022247638553380966,
-0.02397841028869152,
0.009645450860261917,
-0.07564917951822281,
0.008771049790084362,
0.013413487002253532,
-0.07164677232503891,
-0.022500041872262955,
-0.02758418582379818,
-0.024699565023183823,
-0.011051703244447708,
-0.05531260371208191,
-0.0716107115149498,
0.04330537095665932,
0.019543305039405823,
0.013584760949015617,
-0.016162890940904617,
-0.04330537095665932,
-0.020030084997415543,
-0.05332942679524422,
0.08927901089191437,
0.0021398027893155813,
-0.017794504761695862,
0.041033729910850525,
-0.012998822145164013,
0.031839001923799515,
-0.010015042498707771,
0.013179111294448376,
0.036796942353248596,
-0.06598570197820663,
-0.05935107171535492,
-0.020246433094143867,
0.00989785511046648,
0.010042086243629456,
0.04838951304554939,
-0.0008467939333058894,
0.023653890937566757,
0.007657766807824373,
-0.0011730040423572063,
0.016280079260468483,
0.004175939131528139,
0.03001808561384678,
0.011042688973248005,
0.04276450350880623,
-0.0030694168526679277,
-0.0065174400806427,
0.010808313265442848,
-0.000050952712626894936,
0.0143239451572299,
-0.03944718837738037,
-0.0035764791537076235,
-0.039483245462179184,
0.06522848457098007,
0.05459144711494446,
-0.019957970827817917,
-0.06284867227077484,
0.027692358940839767,
-0.004002411384135485,
-0.027746446430683136,
-0.015351591631770134,
0.039375074207782745,
0.02008417248725891,
-0.059711650013923645,
-0.00510668009519577,
-0.00739634782075882,
-0.026790915057063103,
-0.015937529504299164,
0.014864811673760414,
0.005954037420451641,
-0.007454941980540752,
-0.030576979741454124,
0.002589397830888629,
0.03818516805768013,
-0.08098573237657547,
-0.04027651622891426,
-0.009420089423656464,
0.025997644290328026,
0.0567188560962677,
0.08769246935844421,
0.022644273936748505,
-0.002002332592383027,
0.010267446748912334,
0.0041646710596978664,
0.04344959929585457,
-0.020949559286236763,
-0.044242870062589645,
0.04929095879197121,
-0.014296901412308216,
-0.020174317061901093,
0.004655958153307438,
-0.009681508876383305,
-0.04846163094043732,
-0.0187680646777153,
0.009888840839266777,
-0.0227704755961895,
0.05516837164759636,
-0.02583538554608822,
-0.02927890047430992,
-0.012755432166159153,
-0.018010850995779037,
-0.013296298682689667,
-0.024393074214458466,
0.020949559286236763,
0.029116641730070114,
-0.014936926774680614,
-0.007500014267861843,
0.05444721877574921,
-0.05531260371208191,
0.01800183579325676,
0.03191111609339714,
0.006391237955540419,
0.06436309963464737,
0.03039669245481491,
-0.05794481933116913,
0.03320919722318649,
-0.0036057760007679462,
0.01254810020327568,
-0.019867826253175735,
0.0452524870634079,
0.06075732409954071,
0.000810172816272825,
0.04539671912789345,
-0.03789670392870903,
-0.004527502693235874,
-0.02933298796415329,
0.018317341804504395,
-0.0233474001288414,
0.009190221317112446,
0.03843757137656212,
0.02374403551220894,
-0.025276489555835724,
-0.007991300895810127,
0.03955536335706711
]
|
43,902 | pybtex | format_from_string | A convenience function that calls :py:meth:`.PybtexEngine.format_from_string`. | def format_from_string(*args, **kwargs):
"""A convenience function that calls :py:meth:`.PybtexEngine.format_from_string`."""
return PybtexEngine().format_from_string(*args, **kwargs)
| (*args, **kwargs) | [
0.03246631845831871,
-0.05588056147098541,
0.012384244240820408,
-0.027067145332694054,
0.0070875296369194984,
-0.052174195647239685,
-0.0033856206573545933,
0.03905937075614929,
0.0518890917301178,
-0.03624396026134491,
-0.009118901565670967,
0.03266232833266258,
-0.0836070105433464,
0.01954750530421734,
-0.007577553391456604,
0.0019968480337411165,
-0.05103377625346184,
-0.01431761123239994,
0.04893112927675247,
-0.051318880170583725,
-0.014415616169571877,
0.022915305569767952,
0.041162021458148956,
0.0372774638235569,
0.05862469598650932,
0.0047665974125266075,
0.011430924758315086,
-0.030167661607265472,
-0.013560301624238491,
-0.05171089991927147,
0.046080078929662704,
-0.011992224492132664,
-0.00992521457374096,
0.08367829024791718,
-0.013266287744045258,
-0.022077810019254684,
-0.03709927573800087,
-0.04939442500472069,
-0.04344286024570465,
-0.01111909095197916,
0.023467697203159332,
-0.00977375265210867,
0.08403466641902924,
-0.0067133293487131596,
-0.022826211526989937,
-0.004461446311324835,
-0.018184347078204155,
-0.0008736905874684453,
-0.05495397001504898,
0.01772996038198471,
0.04568805918097496,
-0.010041038505733013,
0.0209017526358366,
-0.01906638965010643,
-0.0303458534181118,
0.019208941608667374,
-0.00311388005502522,
0.08047086000442505,
0.049501337110996246,
0.00870906375348568,
0.03130808100104332,
0.0526374913752079,
0.035976674407720566,
0.011163638904690742,
-0.0677480548620224,
-0.01724884659051895,
0.01942277140915394,
0.0030247848480939865,
0.001036846311762929,
-0.01944058947265148,
0.005457086022943258,
-0.0038155054207891226,
-0.03519263491034508,
-0.041090741753578186,
-0.02236291579902172,
0.0256950780749321,
-0.07491131126880646,
0.037313103675842285,
-0.01814870908856392,
0.056201301515102386,
-0.018852561712265015,
-0.01380085851997137,
-0.04497529938817024,
-0.060335323214530945,
0.0019144348334521055,
-0.08702827244997025,
-0.028278842568397522,
0.02352115325629711,
0.050962500274181366,
-0.005733281373977661,
-0.018407084047794342,
-0.04853910952806473,
-0.0258198119699955,
0.0689953863620758,
-0.02949053794145584,
-0.08004319667816162,
0.06108372285962105,
-0.01767650432884693,
0.03952266648411751,
0.012749535031616688,
0.016108427196741104,
-0.058090124279260635,
-0.028955966234207153,
-0.052780043333768845,
-0.041019465774297714,
-0.06735603511333466,
0.021846162155270576,
-0.023057859390974045,
0.03430168330669403,
-0.011074542999267578,
-0.023111315444111824,
-0.035727206617593765,
0.029347985982894897,
-0.048824213445186615,
0.005537271499633789,
-0.0068380627781152725,
-0.0068380627781152725,
0.0011320669436827302,
0.0007222286076284945,
-0.025677260011434555,
-0.029936013743281364,
0.02539215423166752,
-0.036707255989313126,
0.02332514524459839,
0.01513728778809309,
0.03923756256699562,
-0.03355328366160393,
-0.05588056147098541,
0.10356435179710388,
-0.06821134686470032,
0.07626555860042572,
0.035174816846847534,
0.011092361994087696,
-0.0001710907818051055,
0.0066153244115412235,
0.026283107697963715,
0.05224547162652016,
0.009274818934500217,
0.03248414024710655,
0.11724939197301865,
0.07109803706407547,
-0.009381732903420925,
0.024839764460921288,
-0.05645076930522919,
-0.01906638965010643,
0.026229649782180786,
0.024429926648736,
-0.023004401475191116,
-0.012660439126193523,
0.059301819652318954,
0.05110505223274231,
0.020135533064603806,
-0.019208941608667374,
0.013685035519301891,
-0.03153973072767258,
-0.025962363928556442,
0.004993790294975042,
-0.016544993966817856,
0.04019979014992714,
0.0303458534181118,
0.03161100670695305,
0.025320878252387047,
0.022630201652646065,
0.013025729916989803,
0.012918815948069096,
0.028314480558037758,
-0.023681525141000748,
-0.004245390184223652,
-0.01157347671687603,
0.0011103498982265592,
-0.008521963842213154,
-0.00972029473632574,
-0.029383623972535133,
0.04351413622498512,
0.012125867418944836,
0.006668781861662865,
0.020313724875450134,
0.057662464678287506,
-0.004984880797564983,
-0.025481250137090683,
0.009212451986968517,
-0.01954750530421734,
-0.06425551325082779,
0.005768919363617897,
0.05445503443479538,
-0.010682524181902409,
-0.0047175949439406395,
0.06282999366521835,
-0.044013068079948425,
-0.047861985862255096,
0.022986581549048424,
0.012045681476593018,
0.055524177849292755,
0.024821944534778595,
-0.03209212049841881,
0.03339290991425514,
-0.02868868038058281,
-0.06871028244495392,
-0.045224763453006744,
0.05645076930522919,
-0.019262399524450302,
0.05228111147880554,
0.025980183854699135,
-0.04732741415500641,
0.028314480558037758,
-0.029829099774360657,
0.04600880295038223,
-0.02467939257621765,
-0.08909527957439423,
-0.025320878252387047,
-0.027690812945365906,
-0.0343729592859745,
-0.03884554281830788,
0.028243204578757286,
-0.008811523206532001,
0.023841897025704384,
0.09237398952245712,
0.0740559995174408,
0.01513728778809309,
0.03130808100104332,
0.06368530541658401,
-0.011074542999267578,
0.008936257101595402,
-0.027815546840429306,
0.03624396026134491,
-0.00020575441885739565,
0.027067145332694054,
0.03959394246339798,
-0.036333054304122925,
-0.027762088924646378,
0.017097383737564087,
-0.017035016790032387,
0.03565593063831329,
0.04903804138302803,
0.04697103053331375,
-0.008263587020337582,
-0.028528308495879173,
-0.0372774638235569,
-0.013159372843801975,
-0.023788439109921455,
0.03398093953728676,
0.052423663437366486,
0.022077810019254684,
-0.003321026684716344,
0.017026107758283615,
-0.05427684634923935,
0.0070697106420993805,
0.02107994258403778,
-0.03547774255275726,
-0.051996007561683655,
0.006508410442620516,
0.040841277688741684,
-0.009029806591570377,
0.014299792237579823,
-0.08382084220647812,
0.008308134973049164,
0.09173250198364258,
0.011448743753135204,
0.016366802155971527,
-0.0022875212598592043,
-0.00809876061975956,
-0.013809768483042717,
-0.03351764380931854,
0.026229649782180786,
0.02851049043238163,
-0.008989714086055756,
-0.03594103455543518,
0.032751426100730896,
0.053884826600551605,
-0.006601960398256779,
-0.08460488170385361,
0.01888819970190525,
0.023770621046423912,
0.03538864478468895,
-0.03987904638051987,
-0.04379924014210701,
0.02100866660475731,
-0.009417370893061161,
0.024429926648736,
-0.021365048363804817,
0.015342207625508308,
0.008967439644038677,
-0.010379600338637829,
-0.0070786201395094395,
0.08282297104597092,
0.007363724987953901,
0.007844839245080948,
-0.06250924617052078,
0.02198871597647667,
0.029027242213487625,
0.0047576879151165485,
-0.015618402510881424,
-0.023253867402672768,
-0.014620536006987095,
-0.06208159029483795,
-0.019939523190259933,
0.03820405527949333,
-0.08225276321172714,
0.006125300657004118,
-0.044512003660202026,
-0.028243204578757286,
-0.009640109725296497,
0.03866735100746155,
0.03973649442195892,
0.016037151217460632,
-0.020153352990746498,
0.007163260597735643,
-0.04166095331311226,
-0.01154674869030714,
-0.06696401536464691,
-0.005724371876567602,
0.021365048363804817,
-0.016117336228489876,
-0.047861985862255096,
-0.004093928262591362,
0.07533896714448929,
-0.03581630438566208,
-0.031112071126699448,
-0.004027106799185276,
-0.029882557690143585,
-0.006214395631104708,
0.004523812793195248,
0.0030492860823869705,
0.006526229437440634,
0.032626692205667496,
0.003788776695728302,
-0.036226142197847366,
-0.001739585306495428,
0.030042927712202072,
0.0069360677152872086,
0.028492670506238937,
-0.006423769518733025,
0.05598747357726097,
-0.02004643902182579,
0.00622776011005044,
-0.06646507978439331,
0.004031561315059662,
-0.03606576845049858,
-0.05709225684404373,
-0.015226383693516254,
0.08296552300453186,
0.009818299673497677,
-0.004167431965470314,
0.016242070123553276,
-0.06079861894249916,
0.017222117632627487,
-0.0021661289501935244,
-0.01869218982756138,
0.07847512513399124,
-0.030987339094281197,
-0.05256621539592743,
-0.012767354026436806,
-0.008579875342547894,
0.006236669607460499,
0.005461540538817644,
-0.029561813920736313,
0.022861849516630173,
0.037990227341651917,
-0.02979346178472042,
-0.049679528921842575,
-0.04665029048919678,
0.009755933657288551,
-0.044440727680921555,
-0.011537838727235794,
-0.059480007737874985,
-0.018246714025735855,
0.05057048052549362,
0.013301925733685493,
0.03784767538309097,
0.053635358810424805,
0.0034903076011687517,
-0.007421636953949928,
0.0006492818356491625,
0.045901887118816376,
-0.02498231641948223,
0.01694592274725437,
-0.030256757512688637,
-0.0017629729118198156,
-0.0240557249635458,
-0.02498231641948223,
0.009355004876852036,
-0.014130511321127415,
-0.00971138570457697,
0.002973554888740182,
0.04739869013428688,
0.006022840738296509,
-0.02400226891040802,
0.000882043270394206,
0.0440843440592289,
-0.00752409640699625,
-0.023218229413032532,
-0.054668862372636795,
0.0589454360306263,
0.013809768483042717,
-0.001906638965010643,
-0.020990848541259766,
-0.002837684703990817,
0.007791382260620594,
-0.0027151787653565407,
0.008152218535542488,
-0.0006515092682093382,
-0.011386376805603504,
-0.021365048363804817,
-0.03178919479250908,
-0.047541242092847824,
0.00641040550544858,
0.04052053391933441,
-0.00972029473632574,
-0.006236669607460499,
0.0483609177172184,
0.03709927573800087,
0.02674640342593193,
-0.10662923008203506,
-0.03248414024710655,
0.014611626043915749,
0.03608359023928642,
-0.021703610196709633,
-0.011475471779704094,
-0.038524799048900604,
-0.009212451986968517,
0.016340075060725212,
-0.012348606251180172,
0.007844839245080948,
-0.03410567343235016,
0.04732741415500641,
0.029045062139630318,
-0.07156132906675339,
0.02296876348555088,
0.0750538632273674,
0.028902508318424225,
-0.04896676540374756,
-0.04012851417064667,
-0.010620157234370708,
0.027138423174619675,
0.00043016314157284796,
-0.02332514524459839,
0.015796592459082603,
0.02357461117208004,
0.0569140650331974,
-0.0029000514186918736,
0.036635980010032654,
-0.053884826600551605,
0.02966872788965702,
0.03326817601919174,
-0.03321472182869911,
-0.023859716951847076,
-0.05719916895031929,
-0.045901887118816376,
0.00852641835808754,
-0.006018386222422123,
0.05049920454621315,
0.042373716831207275,
0.007884932681918144,
-0.010281595401465893,
0.028653042390942574,
-0.09714949131011963,
0.01949404738843441,
-0.013916682451963425,
-0.01184967253357172,
0.06368530541658401,
-0.06928049027919769,
0.005849105305969715,
-0.020687924697995186,
0.013738492503762245,
-0.0025770810898393393,
-0.0606917068362236,
0.03497880697250366,
-0.031218986958265305,
-0.007844839245080948,
-0.016651907935738564,
-0.008379410952329636,
-0.013916682451963425,
-0.05983639135956764,
0.05281568318605423,
-0.02918761409819126,
0.02979346178472042,
-0.015119468793272972,
-0.006735603325068951,
-0.019903885200619698,
0.00534571660682559,
-0.0014077054802328348,
-0.029045062139630318,
0.04526040330529213,
0.03970085829496384,
-0.003984786570072174,
0.027566079050302505,
0.08952293545007706,
0.008121035061776638,
0.007408272475004196,
0.0022852940019220114,
-0.022915305569767952,
0.06667891144752502,
0.05356408283114433,
0.002964645391330123,
0.01706174574792385,
-0.007426091469824314,
-0.027084965258836746,
-0.009889576584100723,
-0.02619401179254055,
0.00024654334993101656,
0.03553119674324989,
0.0034190313890576363,
0.006985070183873177,
-0.009292637929320335,
0.02448338270187378,
-0.0012618119362741709,
0.05983639135956764,
0.06560976803302765,
0.01577877439558506,
-0.023681525141000748,
-0.03430168330669403,
-0.02777990885078907,
0.0037575934547930956,
0.013132644817233086,
0.03373147174715996,
0.013230648823082447,
-0.0011671481188386679,
-0.005889198277145624,
-0.05527471378445625,
0.02856394648551941,
0.011742757633328438,
0.05980075150728226,
-0.0241804588586092,
-0.04326466843485832,
0.00659305090084672,
-0.023289507254958153,
0.06493263691663742,
0.0001403250644216314,
0.041090741753578186,
0.05210291966795921,
0.04073436185717583,
0.052851319313049316,
0.01736466959118843,
-0.034444235265254974,
-0.003071559825912118,
0.0018999568419530988,
-0.04440508782863617,
0.012312967330217361,
-0.028278842568397522,
-0.026782041415572166,
0.030916063115000725,
-0.003828869666904211,
-0.013631577603518963,
-0.08731337636709213,
0.008116579614579678,
-0.0652177482843399,
0.1009984090924263,
-0.023218229413032532,
0.012214963324368,
-0.035905398428440094,
0.03216339647769928,
-0.07106239348649979,
-0.008183401077985764,
0.06610869616270065,
-0.02248764969408512,
0.0023966629523783922,
-0.03447987511754036,
0.0564151331782341,
-0.03307216987013817,
-0.014353250153362751,
-0.009003078565001488,
0.005390264559537172,
0.06133319064974785,
0.06938740611076355,
-0.059658199548721313,
0.03282270208001137,
-0.006120845675468445,
0.009248089976608753,
-0.035050082951784134,
0.02191743813455105,
0.03118334896862507,
-0.05452631041407585,
0.06536030024290085,
-0.015244202688336372,
-0.01566294953227043,
0.017756689339876175,
-0.021970896050333977,
-0.0375269316136837,
0.03430168330669403,
0.06304381787776947,
0.013453387655317783,
-0.030844785273075104,
-0.033963121473789215,
-0.03522827476263046,
-0.004076109267771244,
0.041874781250953674,
0.01327519677579403,
0.022006534039974213,
0.01148438174277544,
0.04818272590637207,
0.0035593565553426743,
-0.055345989763736725,
0.06332892179489136,
0.02740570902824402,
-0.002728543011471629,
-0.044369447976350784,
0.003463579108938575,
-0.023253867402672768,
0.029276710003614426,
-0.029561813920736313,
-0.05648640915751457,
0.097719706594944,
0.0018086341442540288,
0.02143632434308529,
0.04112638160586357,
0.01453144010156393,
0.07491131126880646,
-0.031022977083921432,
0.019779153168201447,
0.0003950818791054189,
0.009916304610669613,
-0.004967061802744865,
-0.08531764149665833,
0.03497880697250366,
0.012108048424124718,
-0.01871000975370407,
-0.001976801548153162,
-0.0029000514186918736,
0.0005448732990771532,
-0.014665083028376102,
-0.00326534197665751,
0.1090526208281517,
-0.040306705981492996,
0.024412106722593307,
0.08745592832565308,
0.01809525117278099,
-0.012134777382016182,
-0.01081616710871458,
-0.025356516242027283,
-0.05980075150728226,
-0.008548691868782043,
0.04469019174575806,
-0.006477226968854666,
-0.007399362977594137,
0.00504279276356101,
-0.038774266839027405,
-0.0019690056797116995,
0.03841788321733475,
-0.041019465774297714,
0.03155754879117012,
-0.004167431965470314,
-0.005425902549177408,
-0.005929290782660246,
-0.0037731851916760206,
0.012589163146913052,
0.004579497501254082,
-0.03501444682478905,
-0.07519641518592834,
0.050107184797525406,
0.013016820885241032,
0.01791706122457981,
-0.016963740810751915,
0.01650935597717762,
-0.023253867402672768,
-0.052851319313049316,
0.0773347020149231,
-0.045224763453006744,
0.00023415352916345,
0.03581630438566208,
-0.011279462836682796,
0.010210319422185421,
0.0049893357791006565,
-0.010219228453934193,
0.023503335192799568,
-0.05677151307463646,
-0.05228111147880554,
-0.01014795247465372,
0.035121358931064606,
0.0047175949439406395,
0.010825076140463352,
-0.015190745703876019,
0.001207241090014577,
0.017872514203190804,
-0.004207524470984936,
0.002079261001199484,
-0.01901293359696865,
0.025748535990715027,
-0.012099139392375946,
0.012410972267389297,
0.010887443087995052,
0.014059235341846943,
-0.0028020464815199375,
-0.044191259890794754,
-0.0284570325165987,
-0.009497556835412979,
0.018620913848280907,
-0.006659872364252806,
0.03592321649193764,
0.014540350064635277,
-0.06660763174295425,
-0.036457788199186325,
-0.020634466782212257,
0.003207430010661483,
-0.053385891020298004,
0.005305624101310968,
-0.025320878252387047,
-0.008383865468204021,
-0.01967223733663559,
0.01748049445450306,
-0.03260887414216995,
-0.016527174040675163,
0.01936931349337101,
-0.0003215782926417887,
0.06104808673262596,
0.019404951483011246,
-0.023913173004984856,
-0.0071187131106853485,
0.01633116416633129,
-0.017507223412394524,
-0.06678581982851028,
0.010896353051066399,
-0.0016916965832933784,
0.06418424099683762,
0.06931612640619278,
0.02175706811249256,
0.006735603325068951,
0.0014043643604964018,
0.02448338270187378,
-0.015867870301008224,
-0.03373147174715996,
-0.02637220360338688,
-0.011840762570500374,
-0.02027808502316475,
-0.03909501060843468,
0.008027484640479088,
0.007363724987953901,
-0.0647188127040863,
0.004797780886292458,
0.034640245139598846,
-0.05769810453057289,
0.013729582540690899,
-0.021275952458381653,
-0.02277275361120701,
-0.01590350829064846,
0.008842706680297852,
-0.031700100749731064,
-0.0013620441313832998,
0.007528551388531923,
0.03873862698674202,
-0.027672994881868362,
-0.030470585450530052,
0.0639704093337059,
-0.05092686414718628,
-0.03430168330669403,
0.07626555860042572,
0.09472610056400299,
-0.004314438905566931,
0.025267422199249268,
-0.022202543914318085,
0.017525041475892067,
0.030132023617625237,
0.028653042390942574,
-0.027120603248476982,
0.05441939830780029,
0.09337185323238373,
-0.06054915115237236,
0.016063878312706947,
-0.02198871597647667,
-0.012963362969458103,
-0.020438456907868385,
-0.05737736076116562,
-0.031218986958265305,
0.029205432161688805,
0.03330381587147713,
-0.00438571535050869,
-0.02070574276149273,
-0.014736359007656574,
0.023040039464831352
]
|
43,903 | pybtex | format_from_strings | A convenience function that calls :py:meth:`.PybtexEngine.format_from_strings`. | def format_from_strings(*args, **kwargs):
"""A convenience function that calls :py:meth:`.PybtexEngine.format_from_strings`."""
return PybtexEngine().format_from_strings(*args, **kwargs)
| (*args, **kwargs) | [
0.0037670934107154608,
-0.07173220068216324,
0.002381317550316453,
-0.0437772162258625,
-0.003465548623353243,
-0.02724546380341053,
0.008682718500494957,
0.02614571340382099,
0.05984778329730034,
-0.006500952411442995,
-0.014553973451256752,
0.03292160481214523,
-0.061053965240716934,
0.009525270201265812,
-0.006731545552611351,
-0.012159353122115135,
-0.023112526163458824,
-0.023999422788619995,
0.056938763707876205,
-0.06442417204380035,
-0.012212567031383514,
0.03457123041152954,
0.04523172974586487,
0.02417680248618126,
0.0456574372947216,
-0.002175113884732127,
0.009480925276875496,
-0.04523172974586487,
-0.016859905794262886,
-0.03629181161522865,
0.045302681624889374,
0.004093028139322996,
0.0028136796317994595,
0.06782985478639603,
-0.00815058033913374,
-0.04125843197107315,
-0.018341021612286568,
-0.04040700942277908,
-0.03465992212295532,
-0.008243704214692116,
0.012443159706890583,
-0.008474296890199184,
0.10578902810811996,
-0.01354291196912527,
-0.028096884489059448,
0.00010233955981675535,
-0.0070863040164113045,
0.0024345312267541885,
-0.03105911985039711,
0.011999711394309998,
0.04278389364480972,
-0.02179992012679577,
0.002534307073801756,
-0.02520560286939144,
-0.02591511979699135,
0.041932471096515656,
0.0033746417611837387,
0.08989584445953369,
0.04501887410879135,
-0.018961850553750992,
0.03788822516798973,
0.02818557433784008,
0.04938240349292755,
0.00033230907865799963,
-0.05658400431275368,
-0.007844600826501846,
0.02258038893342018,
-0.0033413830678910017,
0.017152581363916397,
-0.009826814755797386,
-0.0014711398398503661,
-0.03799465298652649,
-0.038668692111968994,
-0.03134292736649513,
-0.018713518977165222,
0.05328474938869476,
-0.076273113489151,
0.0537104606628418,
-0.0057958695106208324,
0.02951592020690441,
-0.024141326546669006,
-0.022704554721713066,
-0.040052253752946854,
-0.0555906817317009,
0.023857519030570984,
-0.07591835409402847,
-0.03962654247879982,
0.04374174028635025,
0.07020673900842667,
-0.01106846984475851,
-0.03987487405538559,
-0.029551396146416664,
-0.013808980584144592,
0.06112491711974144,
-0.04058438912034035,
-0.07159029692411423,
0.023148002102971077,
-0.01851840130984783,
0.03923630714416504,
0.02243848517537117,
0.02318347804248333,
-0.0763440653681755,
-0.008607331663370132,
-0.0555906817317009,
-0.026234403252601624,
-0.08705777674913406,
-0.004469959065318108,
-0.04274841770529747,
0.030686624348163605,
-0.006483214441686869,
-0.0387396439909935,
-0.04533815756440163,
0.06424678862094879,
-0.054810211062431335,
0.013959753327071667,
-0.01892637461423874,
-0.01802174001932144,
-0.0032837348990142345,
0.0020675777923315763,
-0.03130745142698288,
-0.015964139252901077,
0.009986456483602524,
-0.02387525700032711,
0.020132552832365036,
0.035848360508680344,
0.04108105227351189,
-0.02956913411617279,
-0.06296966224908829,
0.12019222974777222,
-0.06999388337135315,
0.0799626037478447,
0.030243175104260445,
0.00734350411221385,
-0.017409780994057655,
0.017356567084789276,
0.01728561520576477,
0.044061023741960526,
0.00903747696429491,
0.04959525913000107,
0.09670720994472504,
0.05598091706633568,
-0.0146870082244277,
0.020132552832365036,
-0.04367079213261604,
-0.025223340839147568,
0.025986071676015854,
0.040300581604242325,
-0.006305835209786892,
-0.009924373589456081,
0.06648176908493042,
0.052575234323740005,
0.028611285611987114,
-0.022473961114883423,
-0.012868870049715042,
-0.03817203268408775,
-0.02566678822040558,
0.004181717522442341,
-0.017223533242940903,
0.03650466725230217,
0.028416167944669724,
0.0381365567445755,
0.01630116067826748,
0.011556263081729412,
0.026979396119713783,
0.022527175024151802,
0.05097881704568863,
-0.008363435044884682,
-0.019901961088180542,
0.007565228268504143,
0.01146757323294878,
0.010589545592665672,
-0.0023037139326334,
-0.03606121614575386,
0.026269879192113876,
0.03393266350030899,
-0.021480636671185493,
0.006434435024857521,
0.03696585074067116,
-0.006106283515691757,
-0.01305511873215437,
-0.008456559851765633,
-0.014899863861501217,
-0.057683758437633514,
0.01035008393228054,
0.05495211482048035,
0.012336731888353825,
-0.011875545606017113,
0.06176348030567169,
-0.0474667064845562,
-0.05672590807080269,
0.025826429948210716,
0.016975201666355133,
0.04540910944342613,
0.04675719141960144,
-0.0271922517567873,
0.030101271346211433,
-0.05200761929154396,
-0.07584740221500397,
-0.05601639300584793,
0.036327287554740906,
-0.03785274922847748,
0.045054350048303604,
0.02951592020690441,
-0.04863741248846054,
0.0493469275534153,
-0.021480636671185493,
0.028966045007109642,
-0.016035091131925583,
-0.07535073906183243,
-0.028948307037353516,
0.003957776352763176,
-0.042180802673101425,
-0.061053965240716934,
0.030651148408651352,
-0.016416456550359726,
0.030651148408651352,
0.09415294975042343,
0.05849970132112503,
-0.010172704234719276,
0.028788665309548378,
0.05928017199039459,
0.00006319138628896326,
-0.00568500766530633,
-0.027866292744874954,
0.040087729692459106,
0.01000419445335865,
0.030189961194992065,
0.04246461018919945,
-0.022952884435653687,
-0.007463235408067703,
0.011777987703680992,
-0.0023879692889750004,
0.023396333679556847,
0.06147967651486397,
0.0400167778134346,
-0.013312318362295628,
-0.023591451346874237,
-0.03620311990380287,
0.015387656167149544,
-0.014004098251461983,
0.02254491299390793,
0.04821170121431351,
-0.007179428357630968,
-0.021143615245819092,
0.042571038007736206,
-0.05846422538161278,
0.0027338587678968906,
-0.003986600320786238,
-0.02586190588772297,
-0.03132518753409386,
0.0221901535987854,
0.03937821090221405,
0.0030664450023323298,
0.009649435058236122,
-0.0974876806139946,
0.0007771431701257825,
0.07946594059467316,
0.003210565773770213,
0.017125973477959633,
-0.033169932663440704,
-0.0057515245862305164,
-0.0010692647192627192,
-0.028504857793450356,
0.04622505232691765,
0.026731064543128014,
0.0039045624434947968,
-0.016460802406072617,
0.024939533323049545,
0.025720002129673958,
0.002254934748634696,
-0.09883575886487961,
0.04111652821302414,
0.0049754902720451355,
0.036078955978155136,
-0.038562264293432236,
-0.004616296850144863,
0.033613383769989014,
-0.009534139186143875,
0.02183539606630802,
-0.01505950465798378,
0.01942303590476513,
0.019529463723301888,
-0.029249850660562515,
-0.00790224876254797,
0.10805948823690414,
0.0032837348990142345,
0.0027804209385067225,
-0.09706196933984756,
0.013897670432925224,
0.01594640128314495,
0.013684814795851707,
-0.008908877149224281,
-0.0028757622931152582,
-0.03235398977994919,
-0.04636695608496666,
-0.017622636631131172,
0.05324927344918251,
-0.0824459120631218,
-0.01917470619082451,
-0.050304777920246124,
-0.04349341243505478,
0.00014966381422709674,
0.05275261029601097,
0.02779534086585045,
0.020682429894804955,
-0.02848711982369423,
0.009347890503704548,
-0.035741932690143585,
0.0025697830133140087,
-0.07286743074655533,
-0.01411939412355423,
0.01377350464463234,
0.006314704194664955,
-0.03402135521173477,
0.011281325481832027,
0.07240623980760574,
-0.0525042824447155,
0.006678331643342972,
-0.009773600846529007,
-0.039058927446603775,
-0.005702745169401169,
0.010562938638031483,
0.0054765865206718445,
-0.003915648441761732,
0.025790954008698463,
0.006270359270274639,
-0.03288612887263298,
-0.00849203485995531,
0.0393427349627018,
-0.00209196750074625,
0.02332538180053234,
-0.020398622378706932,
0.05622924491763115,
-0.01797739416360855,
0.00814614538103342,
-0.07148386538028717,
0.003798134857788682,
-0.028362954035401344,
-0.03208792209625244,
-0.01354291196912527,
0.07982069998979568,
0.011875545606017113,
-0.002269346732646227,
0.03111233375966549,
-0.07421550899744034,
0.004348010756075382,
-0.0004295905528124422,
-0.019139230251312256,
0.055697109550237656,
-0.03293934091925621,
-0.049666211009025574,
-0.011857807636260986,
-0.005596317816525698,
0.00707300053909421,
0.013755766674876213,
-0.02744058147072792,
-0.007002049125730991,
0.03884607180953026,
-0.020398622378706932,
-0.04675719141960144,
-0.028806403279304504,
0.021179091185331345,
-0.029214374721050262,
-0.006044200621545315,
-0.057683758437633514,
0.0026296484284102917,
0.0637856051325798,
-0.0038491312880069017,
0.027121299877762794,
0.03132518753409386,
0.0009085147175937891,
0.007055262569338083,
0.005423373077064753,
0.040797244757413864,
-0.03031412698328495,
0.02495727129280567,
-0.03799465298652649,
0.00886896625161171,
-0.05108524486422539,
-0.020576002076268196,
0.01634550467133522,
-0.012824525125324726,
-0.0017904225969687104,
0.014261297881603241,
0.042287230491638184,
0.003569758962839842,
-0.02041636034846306,
-0.0005385125405155122,
0.035848360508680344,
0.01545860804617405,
-0.02323669195175171,
-0.05551972985267639,
0.02536524459719658,
0.02204824984073639,
-0.020185766741633415,
-0.025844167917966843,
-0.007547490298748016,
0.01566259376704693,
0.001971127698197961,
-0.02611023746430874,
-0.004387921188026667,
-0.03551134094595909,
-0.013454222120344639,
-0.030385078862309456,
-0.06900055706501007,
0.028114622458815575,
0.05324927344918251,
-0.008030848577618599,
-0.00715725589543581,
0.05658400431275368,
0.02907247096300125,
0.027263201773166656,
-0.07449931651353836,
-0.03536943718791008,
-0.007126214448362589,
0.026021547615528107,
-0.03146709129214287,
0.0011518569663167,
-0.040052253752946854,
-0.005507627967745066,
0.007587400730699301,
-0.019493987783789635,
0.0324958935379982,
-0.015591642819344997,
0.06445964425802231,
0.014944207854568958,
-0.07960784435272217,
0.00186359160579741,
0.08776728808879852,
0.011698166839778423,
-0.053923316299915314,
-0.024283230304718018,
-0.03616764396429062,
0.01768471859395504,
0.024850843474268913,
-0.022810980677604675,
0.028008196502923965,
0.014110525138676167,
0.05676138401031494,
-0.015423132106661797,
0.015165932476520538,
-0.046934571117162704,
0.03434063866734505,
0.03577740862965584,
-0.04799884557723999,
-0.026535946875810623,
-0.06524011492729187,
-0.06236657127737999,
-0.008576290681958199,
-0.006527559366077185,
0.033063504844903946,
0.05211404711008072,
0.004948883317410946,
-0.018997326493263245,
0.05136905238032341,
-0.06098301336169243,
0.01678895391523838,
-0.009729255922138691,
-0.028558071702718735,
0.06300513446331024,
-0.02868223749101162,
-0.008607331663370132,
-0.020185766741633415,
0.005716048646718264,
-0.007472103927284479,
-0.06822008639574051,
0.024531560018658638,
-0.03453575447201729,
0.007498710881918669,
0.005099655594676733,
0.01724127121269703,
-0.006691635120660067,
-0.031538043171167374,
0.053426653146743774,
-0.039058927446603775,
0.02070016786456108,
0.008416648954153061,
-0.0069222282618284225,
-0.02332538180053234,
-0.023662401363253593,
-0.0012338949600234628,
-0.017604898661375046,
0.03763989359140396,
0.03650466725230217,
-0.0016939726192504168,
0.0387396439909935,
0.087554432451725,
-0.020913023501634598,
0.006531993858516216,
-0.008735931478440762,
0.004549779929220676,
0.04402554780244827,
0.053958792239427567,
-0.009024173021316528,
0.006039766129106283,
-0.0051839109510183334,
-0.025773216038942337,
-0.027068085968494415,
-0.03146709129214287,
0.01693972572684288,
0.049169547855854034,
-0.0065408628433942795,
0.005024269223213196,
0.00509078660979867,
0.03421647101640701,
0.0033014726359397173,
0.07896927744150162,
0.04448673501610756,
-0.008341263048350811,
-0.04086819663643837,
-0.047431230545043945,
-0.04363531619310379,
0.010137228295207024,
0.0025165691040456295,
0.0443803071975708,
0.009605090133845806,
-0.00849203485995531,
0.007441062945872545,
-0.04760861024260521,
0.043067701160907745,
0.0064876489341259,
0.04115200415253639,
-0.03696585074067116,
-0.033666595816612244,
-0.014270166866481304,
-0.02948044426739216,
0.06140872463583946,
0.004024293273687363,
0.025595836341381073,
0.03481956198811531,
0.04846003279089928,
0.04313865303993225,
0.025489408522844315,
-0.05108524486422539,
-0.012044056318700314,
0.0001633829961065203,
-0.023892994970083237,
0.003392379730939865,
0.0005775914178229868,
0.014828911982476711,
0.039697494357824326,
0.001897958805784583,
-0.017870966345071793,
-0.0824459120631218,
-0.0004165642603766173,
-0.060450874269008636,
0.09940337389707565,
-0.03196375444531441,
0.02268681675195694,
-0.03416325896978378,
0.03269100934267044,
-0.06609153747558594,
-0.003476634854450822,
0.06488535553216934,
-0.03393266350030899,
-0.013888801448047161,
-0.03130745142698288,
0.046934571117162704,
-0.04051343724131584,
-0.013826718553900719,
0.008873401209712029,
-0.00352319679223001,
0.05204309523105621,
0.06367918103933334,
-0.06633986532688141,
0.03352469205856323,
-0.006873448844999075,
0.03164447098970413,
-0.042571038007736206,
0.024531560018658638,
0.00576039357110858,
-0.030402816832065582,
0.05417164787650108,
-0.027919506654143333,
-0.005742655601352453,
-0.008053021505475044,
-0.011698166839778423,
-0.0474667064845562,
0.02467346377670765,
0.04977263882756233,
0.00568500766530633,
-0.011937628500163555,
-0.03902345150709152,
-0.03439385071396828,
0.03215887024998665,
0.058677081018686295,
0.0033635555300861597,
0.02635856717824936,
0.045941244810819626,
0.047679562121629715,
0.003829176304861903,
-0.019972912967205048,
0.06367918103933334,
0.026127975434064865,
0.02061147801578045,
-0.042322706431150436,
-0.005401200614869595,
-0.00191015365999192,
0.008607331663370132,
-0.034801822155714035,
-0.061940860003232956,
0.1174960657954216,
-0.0071749938651919365,
0.009578484110534191,
0.0468636192381382,
0.006598510779440403,
0.0937981903553009,
-0.030793050304055214,
0.008660545572638512,
0.014483022503554821,
0.01144096627831459,
-0.0007261466234922409,
-0.06502725929021835,
0.02763569913804531,
0.023609189316630363,
-0.004740462638437748,
-0.00916164182126522,
0.0016429760726168752,
0.006359048653393984,
-0.030526982620358467,
-0.003580845193937421,
0.07982069998979568,
-0.058180417865514755,
0.02243848517537117,
0.08038830757141113,
0.032726485282182693,
-0.02625214122235775,
-0.0014456415083259344,
-0.035883836448192596,
-0.07240623980760574,
0.0035187622997909784,
0.03547586500644684,
0.011228111572563648,
-0.006740414537489414,
-0.003775962395593524,
-0.016815559938549995,
0.0023857520427554846,
0.01091769803315401,
-0.048069797456264496,
0.021462898701429367,
0.006948835216462612,
-0.02412358857691288,
-0.011361146345734596,
-0.0009007544140331447,
0.00940997339785099,
0.022562650963664055,
-0.06307608634233475,
-0.07584740221500397,
0.05399426817893982,
0.026482732966542244,
0.013170414604246616,
0.005849083419889212,
0.002485527889803052,
-0.0065186903811991215,
-0.06676557660102844,
0.08216210454702377,
-0.05041120573878288,
-0.037568941712379456,
0.04196794703602791,
0.0017804449889808893,
0.01693085767328739,
0.005210517905652523,
0.012469766661524773,
0.02110813930630684,
-0.07049054652452469,
-0.047679562121629715,
-0.010713711380958557,
0.04367079213261604,
0.013933146372437477,
0.031821850687265396,
-0.019458511844277382,
-0.014607187360525131,
0.03849131241440773,
-0.0036784037947654724,
0.0035830624401569366,
0.0145184975117445,
0.03240720182657242,
0.0030309692956507206,
0.01372029073536396,
-0.01409278716892004,
0.011024124920368195,
-0.017037283629179,
-0.030207699164748192,
-0.03409230709075928,
-0.044947922229766846,
0.010740318335592747,
-0.027014872059226036,
0.05324927344918251,
0.03508562967181206,
-0.06612700968980789,
-0.034801822155714035,
-0.01225691195577383,
0.011307932436466217,
-0.015627117827534676,
0.0013447570381686091,
-0.009250331670045853,
-0.015760153532028198,
-0.05910279229283333,
0.014527366496622562,
-0.023644663393497467,
-0.0221901535987854,
0.018979588523507118,
-0.00978246983140707,
0.03547586500644684,
0.014447546564042568,
-0.029959367588162422,
-0.0032526934519410133,
0.02119682915508747,
-0.05158190801739693,
-0.059563979506492615,
0.016318898648023605,
0.005875690374523401,
0.0612313449382782,
0.06108944118022919,
0.01892637461423874,
-0.03927178308367729,
0.01732996106147766,
0.012212567031383514,
0.009330152533948421,
-0.03345374017953873,
-0.02619892731308937,
0.01317928358912468,
-0.019547201693058014,
-0.04672171548008919,
0.0016618225490674376,
0.008092931471765041,
-0.057435426861047745,
0.003487721085548401,
0.034358374774456024,
-0.05126262456178665,
0.025099175050854683,
-0.013534042984247208,
-0.03277970105409622,
-0.005028703715652227,
-0.01431451179087162,
-0.023289905861020088,
0.005507627967745066,
0.007582966238260269,
0.030846264213323593,
-0.029338540509343147,
-0.018154773861169815,
0.05583901330828667,
-0.03081078827381134,
-0.023697877302765846,
0.04998549446463585,
0.06800723075866699,
-0.000028546985049615614,
0.0368594229221344,
-0.035795148462057114,
0.021480636671185493,
0.018536139279603958,
0.04320960491895676,
-0.034447066485881805,
0.0375334657728672,
0.09039250761270523,
-0.04040700942277908,
0.015024028718471527,
-0.014447546564042568,
-0.026394043117761612,
-0.022970622405409813,
-0.04235818237066269,
-0.01431451179087162,
0.01223030500113964,
0.050836917012929916,
0.012469766661524773,
-0.02536524459719658,
-0.004957752302289009,
0.03912987932562828
]
|
43,904 | pybtex | make_bibliography | A convenience function that calls :py:meth:`.PybtexEngine.make_bibliography`. | def make_bibliography(*args, **kwargs):
"""A convenience function that calls :py:meth:`.PybtexEngine.make_bibliography`."""
return PybtexEngine().make_bibliography(*args, **kwargs)
| (*args, **kwargs) | [
-0.005597903858870268,
-0.07850532978773117,
-0.02172722853720188,
0.015801621600985527,
-0.07336980104446411,
-0.014589564874768257,
-0.03684650734066963,
0.031549371778964996,
0.04568105190992355,
-0.04413679987192154,
0.02397177740931511,
0.03444035351276398,
-0.05706540122628212,
0.012973490171134472,
-0.04593243822455406,
-0.030507903546094894,
-0.04528601095080376,
0.028209485113620758,
-0.027042319998145103,
-0.03072337992489338,
-0.016133815050125122,
0.00040766611346043646,
0.02619837038218975,
0.013655832968652248,
0.05828643590211868,
0.026808887720108032,
-0.0070972624234855175,
0.02345104329288006,
-0.0011441585374996066,
0.040258221328258514,
0.03503291308879852,
-0.017731932923197746,
0.013934156857430935,
0.05638305842876434,
0.050529275089502335,
0.01001068577170372,
0.0015453716041520238,
0.052001699805259705,
0.031459592282772064,
-0.027760574594140053,
0.09265495836734772,
-0.017121415585279465,
0.09955020993947983,
-0.03158528730273247,
-0.03842667117714882,
0.0018528747605159879,
0.027706706896424294,
-0.03372209519147873,
-0.04873363673686981,
0.015801621600985527,
-0.01647498644888401,
-0.031226158142089844,
0.06442751735448837,
-0.011779390275478363,
-0.04517827183008194,
-0.0029111793264746666,
-0.009238561615347862,
0.08604700863361359,
0.015792643651366234,
0.03390166163444519,
0.022517310455441475,
0.010603247210383415,
0.017965365201234818,
-0.028604526072740555,
0.0031850142404437065,
0.031208202242851257,
-0.03594869002699852,
-0.046435218304395676,
0.04033004865050316,
0.011572891846299171,
0.035014957189559937,
0.0033960018772631884,
-0.0028662884142249823,
0.009759296663105488,
-0.0010521321091800928,
0.028047878295183182,
-0.047476690262556076,
0.04388540983200073,
0.006729156244546175,
-0.00044049264397472143,
-0.03524838760495186,
-0.05117570608854294,
-0.00786040909588337,
0.014365110546350479,
0.07146642357110977,
-0.035930730402469635,
0.01633133552968502,
0.050672926008701324,
0.07958271354436874,
-0.027275752276182175,
-0.032177846878767014,
-0.02158357761800289,
0.03788797929883003,
0.0068099601194262505,
0.008215047419071198,
-0.07336980104446411,
0.03372209519147873,
0.03979135677218437,
0.0488772876560688,
0.02767079323530197,
0.0002483031712472439,
-0.03932448849081993,
-0.01730995811522007,
-0.04546557366847992,
-0.03634372726082802,
-0.00735762994736433,
0.04826676845550537,
-0.01412269938737154,
-0.01117785181850195,
-0.031513459980487823,
-0.05020606145262718,
0.00789183285087347,
0.03372209519147873,
0.006464299745857716,
-0.08827359974384308,
-0.011689607985317707,
-0.009489950723946095,
-0.006244333926588297,
-0.030454033985733986,
-0.002243426162749529,
-0.04632747918367386,
-0.027168015018105507,
-0.047009821981191635,
0.007945701479911804,
0.04564513638615608,
0.04302350431680679,
0.006890763994306326,
-0.04596835374832153,
0.02977169118821621,
-0.015379645861685276,
0.025839241221547127,
0.0367567241191864,
-0.06457117199897766,
-0.019662244245409966,
0.05605984106659889,
-0.037061985582113266,
0.050241973251104355,
-0.019339028745889664,
0.010055577382445335,
0.03548182174563408,
0.010944418609142303,
-0.04499870911240578,
0.09516885131597519,
0.019626332446932793,
-0.023038044571876526,
0.04388540983200073,
0.024241123348474503,
-0.018943989649415016,
-0.03361435607075691,
0.02091919258236885,
0.09380417317152023,
0.014894823543727398,
0.0017855382757261395,
0.0241154283285141,
-0.023504910990595818,
0.019554506987333298,
-0.002200779737904668,
0.01878238096833229,
0.014481826685369015,
0.05957929417490959,
0.055090196430683136,
0.0809473991394043,
-0.015424537472426891,
0.02239161543548107,
0.005140015855431557,
0.019895678386092186,
0.02530055120587349,
-0.05131935700774193,
0.04000683128833771,
-0.0045945905148983,
-0.039539966732263565,
-0.010118424892425537,
-0.0654330775141716,
0.018189821392297745,
0.043777674436569214,
0.011896106414496899,
0.014580586925148964,
0.05325864627957344,
0.010540399700403214,
0.03810345381498337,
0.004244441166520119,
-0.009076953865587711,
-0.015209060162305832,
0.002045905916020274,
0.037169720977544785,
0.02749123051762581,
0.02106284350156784,
0.06385291367769241,
0.03542795404791832,
-0.004875159356743097,
0.021368101239204407,
0.008053439669311047,
0.009876012802124023,
-0.0453578345477581,
-0.036882419139146805,
0.004011007957160473,
-0.029843516647815704,
0.009615645743906498,
-0.07635056227445602,
0.10730737447738647,
0.015011539682745934,
0.0017485033022239804,
-0.0016127080889418721,
-0.022463440895080566,
0.0304360780864954,
0.013709701597690582,
-0.006271268241107464,
-0.01471525989472866,
-0.07714064419269562,
-0.04043778404593468,
0.0703890398144722,
-0.03781615197658539,
-0.04851815849542618,
0.009804187342524529,
-0.009489950723946095,
-0.04456775262951851,
0.0062937140464782715,
-0.005382427014410496,
0.019518593326210976,
0.03404531255364418,
0.021673360839486122,
0.00693116569891572,
-0.00006989663961576298,
-0.047620341181755066,
0.03314749151468277,
-0.003580054733902216,
0.07006582617759705,
0.04970328137278557,
0.0046147918328642845,
-0.0707840770483017,
-0.007460879161953926,
-0.01431124098598957,
-0.0214399266988039,
0.03144163638353348,
0.022553222253918648,
-0.09430694580078125,
-0.02890978381037712,
0.004695595242083073,
-0.023522868752479553,
0.021008973941206932,
0.09595893323421478,
0.02829926647245884,
0.04395723715424538,
-0.006154552102088928,
-0.0267191044986248,
-0.02258913591504097,
0.041443344205617905,
0.022571180015802383,
-0.0024577805306762457,
-0.03661307319998741,
-0.03086703084409237,
-0.010001707822084427,
-0.004893115721642971,
-0.006495723035186529,
-0.013781527988612652,
-0.008111798204481602,
0.02824539877474308,
-0.08209660649299622,
-0.012560493312776089,
-0.04492688179016113,
-0.001117223990149796,
0.017983322963118553,
-0.011357415467500687,
0.008022015914320946,
0.03672081232070923,
0.008502349257469177,
-0.022104313597083092,
-0.003128900658339262,
0.01788456179201603,
0.036218032240867615,
-0.05365368723869324,
-0.029825560748577118,
0.03305770829319954,
0.0030189177487045527,
-0.036738768219947815,
-0.05394098907709122,
0.04499870911240578,
0.036918334662914276,
0.008821075782179832,
0.047333039343357086,
0.007716757711023092,
0.034350570291280746,
-0.0014241660246625543,
-0.003844911465421319,
0.044064976274967194,
-0.03774432837963104,
-0.027132101356983185,
0.028173571452498436,
0.0023837105836719275,
-0.013646855019032955,
-0.0138174407184124,
0.018656685948371887,
-0.0135570727288723,
0.001715957303531468,
-0.010028642602264881,
-0.0064059412106871605,
0.020991018041968346,
-0.047763992100954056,
0.034925173968076706,
-0.07049677520990372,
-0.058035045862197876,
0.01748054288327694,
0.07240015268325806,
0.025174856185913086,
-0.038642145693302155,
-0.04255663976073265,
-0.0028348646592348814,
-0.0710354670882225,
-0.02187087945640087,
-0.006868318188935518,
-0.015855491161346436,
0.01191406324505806,
0.07132276892662048,
0.05002649500966072,
-0.04808720573782921,
-0.018710555508732796,
0.013117141090333462,
0.014418979175388813,
-0.01854894869029522,
-0.0000455573208455462,
-0.03695424646139145,
-0.0188362505286932,
-0.015990164130926132,
-0.009202648885548115,
0.04284394159913063,
-0.021008973941206932,
-0.018854206427931786,
0.007002991158515215,
0.08080374449491501,
0.026431802660226822,
-0.030184688046574593,
0.054192379117012024,
0.07002991437911987,
0.0080803744494915,
-0.06528942286968231,
-0.011581869795918465,
0.0034543601796031,
-0.04194612056016922,
-0.02458229474723339,
-0.09143392741680145,
-0.030741335824131966,
-0.033740051090717316,
-0.053905077278614044,
0.027239840477705002,
-0.014921758323907852,
0.009929882362484932,
-0.030471989884972572,
-0.0347994789481163,
0.03885762393474579,
-0.07872080057859421,
-0.0025094051379710436,
-0.008569685742259026,
-0.02249935455620289,
0.03115433268249035,
-0.04894911125302315,
-0.03605642542243004,
-0.030471989884972572,
0.01455365214496851,
-0.03828302025794983,
-0.0059615205973386765,
-0.03404531255364418,
-0.039504051208496094,
-0.03126206994056702,
0.05871738865971565,
-0.0028348646592348814,
0.043490372598171234,
-0.006783025339245796,
0.02772466279566288,
-0.01710345968604088,
0.003835933282971382,
0.0428798533976078,
-0.00543180713430047,
-0.027994008734822273,
0.08453867584466934,
-0.020703714340925217,
-0.03465582802891731,
-0.006666308734565973,
-0.004924539476633072,
-0.0211167111992836,
0.034925173968076706,
-0.03318340331315994,
-0.01412269938737154,
0.0274373609572649,
-0.003128900658339262,
-0.026036761701107025,
-0.01872851327061653,
0.0211167111992836,
0.003000961383804679,
0.06834201514720917,
-0.003391512669622898,
-0.0191594660282135,
-0.025713548064231873,
-0.011420262977480888,
-0.036253947764635086,
-0.029179129749536514,
-0.034350570291280746,
0.055664800107479095,
-0.030759291723370552,
0.05088840425014496,
0.008533773012459278,
0.03273449465632439,
0.019859764724969864,
-0.006401452235877514,
-0.009041041135787964,
-0.07114320993423462,
0.0244386438280344,
0.0362359918653965,
-0.0009399046539328992,
0.02729371003806591,
0.004601324442774057,
-0.008318296633660793,
-0.0071825552731752396,
-0.06762375682592392,
-0.05207352340221405,
0.016439072787761688,
0.037026070058345795,
0.021386057138442993,
-0.033596400171518326,
-0.07433944195508957,
-0.05914834141731262,
0.02253526635468006,
0.021296275779604912,
0.027455316856503487,
0.01008251216262579,
0.025031205266714096,
0.05225308984518051,
-0.015029496513307095,
-0.0056472839787602425,
0.030364250764250755,
-0.003539653029292822,
-0.036774683743715286,
-0.08295851200819016,
-0.00046321869012899697,
0.04492688179016113,
0.03684650734066963,
-0.00026752211851999164,
0.0022557713091373444,
0.057280875742435455,
0.04542966187000275,
-0.009180203080177307,
0.024366818368434906,
-0.005853782407939434,
-0.002991983201354742,
-0.012165452353656292,
-0.003436403814703226,
-0.00417710468173027,
0.0026373444125056267,
-0.034171007573604584,
0.02977169118821621,
0.007788583170622587,
0.09933473914861679,
0.023899951949715614,
0.07857715338468552,
-0.006199442781507969,
0.005539545789361,
-0.05623940750956535,
0.03381187841296196,
-0.08978193998336792,
0.07692516595125198,
0.049236416816711426,
0.02896365337073803,
-0.02862248197197914,
0.08274303376674652,
0.01445489190518856,
-0.011186829768121243,
-0.09868830442428589,
-0.02178109809756279,
-0.022427529096603394,
0.018566904589533806,
-0.0019482680363580585,
0.0573527030646801,
0.01589140295982361,
0.028047878295183182,
-0.01800127886235714,
-0.015298842452466488,
0.019339028745889664,
0.011213764548301697,
-0.017067546024918556,
0.01982385292649269,
-0.06827018409967422,
-0.023792212828993797,
0.01550534088164568,
-0.0015767952427268028,
0.03273449465632439,
-0.028837958350777626,
-0.039396315813064575,
0.012237277813255787,
0.01930311694741249,
0.03424283117055893,
0.01592731662094593,
-0.02382812649011612,
0.08403589576482773,
0.042017947882413864,
0.03034629486501217,
-0.021314231678843498,
-0.002718148287385702,
0.003934693522751331,
-0.02686275541782379,
-0.04550148546695709,
-0.04004274308681488,
0.02287643775343895,
-0.03474561125040054,
0.029071392491459846,
-0.026521584019064903,
0.030777249485254288,
-0.03709789738059044,
-0.009337321855127811,
-0.01345831248909235,
-0.006307180970907211,
-0.00843950267881155,
-0.04560922458767891,
-0.07706881314516068,
0.009346299804747105,
-0.030471989884972572,
0.005481187254190445,
0.021278319880366325,
-0.053474120795726776,
-0.01757032610476017,
-0.059507470577955246,
0.0271141454577446,
0.07591960579156876,
0.06625907123088837,
-0.00443522771820426,
-0.004785377532243729,
0.06309874355792999,
-0.023720387369394302,
0.041443344205617905,
-0.010306966491043568,
0.0447114072740078,
0.06514577567577362,
-0.01618768274784088,
-0.07315432280302048,
-0.002169355982914567,
-0.01136639341711998,
-0.04018639400601387,
0.0015857735415920615,
-0.0735134482383728,
0.0033825344871729612,
0.058322347700595856,
-0.04851815849542618,
0.0066528418101370335,
-0.01728302240371704,
-0.014490804634988308,
-0.05408463999629021,
0.025893110781908035,
0.008897390216588974,
0.010935439728200436,
-0.0021278320346027613,
0.008654979057610035,
0.00041944999247789383,
0.041299693286418915,
-0.0337580107152462,
0.009732361882925034,
0.043921325355768204,
0.01647498644888401,
-0.007438433822244406,
-0.030938856303691864,
0.0014488560846075416,
-0.024510469287633896,
0.010432661511003971,
0.02899956703186035,
0.02073962800204754,
0.009391190484166145,
0.03885762393474579,
-0.03014877438545227,
0.05792730674147606,
0.02858657017350197,
0.04316715523600578,
0.001536393421702087,
-0.06159041076898575,
-0.011644717305898666,
0.009184692054986954,
0.020901234820485115,
0.03760067746043205,
0.0004954840987920761,
0.00972338393330574,
-0.004004274494946003,
-0.0418383851647377,
0.01036981400102377,
-0.04654295742511749,
-0.006432875990867615,
-0.007474346552044153,
-0.0809473991394043,
-0.04542966187000275,
0.06040528789162636,
-0.019339028745889664,
-0.010208206251263618,
0.010540399700403214,
0.06216501444578171,
-0.02178109809756279,
-0.00581338070333004,
0.028119703754782677,
0.01716630719602108,
-0.06916800886392593,
0.015442493371665478,
0.012300125323235989,
-0.046004265546798706,
-0.019374942407011986,
-0.017839672043919563,
-0.04844633489847183,
-0.006684265099465847,
0.05677809938788414,
-0.038354843854904175,
0.00843950267881155,
-0.00346558284945786,
0.0156400129199028,
0.03422487527132034,
-0.0971081480383873,
0.007802050560712814,
-0.002428601495921612,
-0.029556214809417725,
-0.005970499012619257,
-0.050816576927900314,
-0.018082082271575928,
-0.01630439981818199,
-0.02639589086174965,
-0.02653954178094864,
-0.022104313597083092,
0.029645996168255806,
-0.019662244245409966,
-0.023953821510076523,
0.011483109556138515,
0.03436852619051933,
0.06223683804273605,
-0.00016216862422879785,
-0.02149379625916481,
0.040258221328258514,
-0.027096189558506012,
0.026431802660226822,
0.06528942286968231,
0.00166994403116405,
-0.011186829768121243,
0.07512952387332916,
0.015370667912065983,
0.046147916465997696,
0.061698149889707565,
0.06159041076898575,
0.03135185316205025,
0.0062039317563176155,
0.0671209767460823,
-0.06884478777647018,
-0.06119536980986595,
0.009687471203505993,
-0.010746898129582405,
-0.005324068944901228,
-0.03566138446331024,
0.02187087945640087,
-0.01345831248909235,
-0.05131935700774193,
-0.011878150515258312,
0.013260792009532452,
-0.04219751060009003,
0.010621203109622002,
-0.01441000122576952,
-0.062129102647304535,
0.03205215185880661,
0.020129110664129257,
0.038965363055467606,
0.010836680419743061,
-0.03237536549568176,
0.03142367675900459,
-0.017875583842396736,
-0.02824539877474308,
0.00000722464028513059,
-0.012695166282355785,
-0.033650271594524384,
-0.043059416115283966,
0.022427529096603394,
-0.006105171982198954,
0.04101238772273064,
0.03393757343292236,
0.008237493224442005,
-0.03889353573322296,
-0.04528601095080376,
-0.02088327892124653,
-0.0218349676579237,
-0.008717826567590237,
0.012452755123376846,
0.039396315813064575,
0.03932448849081993,
0.0052791777998209,
-0.010971352458000183,
-0.03817528113722801,
0.059471555054187775,
0.004489096812903881,
0.02573150396347046,
-0.007218468002974987,
0.05968703329563141,
0.017983322963118553,
-0.07398031651973724,
0.012937577441334724,
0.03724154829978943,
0.018620774149894714,
-0.024223167449235916,
-0.010657115839421749,
0.003559853881597519,
-0.027976052835583687,
-0.057460442185401917,
0.025569895282387733,
-0.027563055977225304,
0.009283452294766903,
0.04693799838423729,
0.020470282062888145,
0.030938856303691864,
-0.006836894433945417,
-0.04693799838423729,
0.000515965570230037,
0.030041037127375603,
0.03885762393474579,
-0.046866171061992645,
-0.014140655286610126,
0.014445913955569267,
0.0422334223985672,
0.01510132197290659,
0.051247529685497284,
-0.047045737504959106,
0.010297988541424274,
0.07362119108438492,
-0.05573662742972374,
-0.04546557366847992,
-0.0057774679735302925,
0.006747112609446049,
0.06302691996097565,
-0.072471983730793,
0.015083366073668003,
-0.047333039343357086,
-0.028047878295183182,
-0.021386057138442993,
-0.0188362505286932,
-0.02106284350156784,
0.027742618694901466,
-0.02777853235602379,
-0.022840525954961777,
-0.00845296960324049,
-0.001037542475387454,
-0.029699865728616714,
-0.007923255674540997,
-0.021314231678843498,
-0.00040934953722171485,
-0.04255663976073265,
-0.010405726730823517,
-0.0061635300517082214,
-0.03390166163444519,
0.02339717373251915,
0.05544932559132576,
0.014517739415168762,
0.015514318831264973,
0.010297988541424274,
-0.02201453223824501,
-0.027706706896424294,
0.004397070500999689,
0.09746727347373962,
-0.007474346552044153,
-0.007016458548605442,
0.017121415585279465,
-0.05534158647060394,
0.06040528789162636,
-0.00953484233468771,
-0.06457117199897766,
-0.03781615197658539,
0.03172893822193146,
-0.02135014533996582,
0.0006324015557765961,
-0.004911072086542845,
0.014131677336990833,
-0.014607521705329418,
0.01869259960949421,
0.0428798533976078
]
|
43,906 | iso4217 | Currency | ISO 4217 currency. Its enumerants are ISO 4217 currencies except for
some special currencies like ```XXX``. Enumerants names are lowercase
cureency code e.g. :attr:`Currency.eur`, :attr:`Currency.usd`.
| class Currency(enum.Enum):
"""ISO 4217 currency. Its enumerants are ISO 4217 currencies except for
some special currencies like ```XXX``. Enumerants names are lowercase
cureency code e.g. :attr:`Currency.eur`, :attr:`Currency.usd`.
"""
update_enum_dict(locals(), raw_table)
@property
def code(self):
"""(:class:`str`) The currency code which consist of 3 uppercase
characters e.g. ``'USD'``, ``'EUR'``.
"""
return self.value
@property
def number(self):
"""(:class:`int`) The currency number."""
return int(raw_table[self.value]['CcyNbr'])
@property
def currency_name(self):
"""(:class:`str`) The human-readable name of the currency e.g.
``'US Dollar'``, ``'Euro'``.
"""
return raw_table[self.value]['CcyNm']
@property
def country_names(self):
return frozenset(raw_table[self.value]['CtryNm'])
@property
def exponent(self):
"""(:class:`int`) The treatment of minor currency unit, in exponent
where base is 10. For example, a U.S. dollar is 100 cents,
so ``Currency.usd.exponent == 2``.
There are also currencies that have no minor ucrrency unit.
These are represented as 0.
Minor currency unit cannot be applicable for some `X currencies`__.
These include, for instance, precious metal gold ``XAU`` or ``XTS``
which is for testing purpose.
__ https://en.wikipedia.org/wiki/ISO_4217#X_currencies
"""
minor_units = raw_table[self.value]['CcyMnrUnts']
return None if minor_units == 'N.A.' else int(minor_units)
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.024683881551027298,
-0.08956336975097656,
-0.03957899287343025,
0.006623797118663788,
-0.0014548266772180796,
-0.0788496807217598,
0.006739412434399128,
-0.06617052853107452,
0.010877478867769241,
-0.07538121938705444,
0.0056410664692521095,
0.013305402360856533,
0.032815493643283844,
0.03587930276989937,
-0.023469919338822365,
-0.006623797118663788,
-0.009446739219129086,
0.009615344926714897,
0.011339941062033176,
0.024703150615096092,
0.035127803683280945,
0.0400799959897995,
0.000874341232702136,
0.01101236417889595,
-0.02188984304666519,
0.054107993841171265,
0.03304672613739967,
0.03243011236190796,
-0.04643883928656578,
-0.12000875174999237,
-0.05098637565970421,
0.04948337748646736,
-0.03154372796416283,
0.010819671675562859,
-0.03744010999798775,
-0.04081222414970398,
-0.01381603628396988,
0.01663897931575775,
-0.06204691529273987,
0.024202151224017143,
0.00030213547870516777,
-0.02686130441725254,
-0.01483730599284172,
-0.03878895565867424,
-0.04189130291342735,
-0.025127073749899864,
-0.05379968509078026,
0.0256666112691164,
-0.0216971505433321,
-0.03790257126092911,
0.023874573409557343,
-0.0011742186034098268,
0.017245959490537643,
-0.026745688170194626,
-0.03578295558691025,
0.0007960599614307284,
-0.012582805939018726,
0.060235608369112015,
0.014114709571003914,
0.1023581400513649,
-0.06081368401646614,
0.011282132938504219,
-0.0230267271399498,
-0.03229522705078125,
-0.016484824940562248,
-0.011609709821641445,
0.025281228125095367,
-0.030059995129704475,
-0.009639431722462177,
0.041120532900094986,
0.03021414950489998,
0.009663517586886883,
-0.004957009106874466,
0.008998729288578033,
-0.006397383753210306,
-0.05441629886627197,
-0.060929298400878906,
0.0021641752682626247,
-0.017082171514630318,
-0.015328670851886272,
-0.015588805079460144,
-0.026418112218379974,
0.07499583810567856,
-0.009461190551519394,
0.04451191797852516,
-0.004234412685036659,
0.07356991618871689,
-0.009514180943369865,
-0.006922470405697823,
0.0921069085597992,
-0.05449337884783745,
-0.024259958416223526,
-0.045706607401371,
-0.002900018822401762,
0.013401747681200504,
-0.021253958344459534,
0.0005250864778645337,
0.01006817165762186,
-0.010935286991298199,
-0.03177495673298836,
0.0033937927801162004,
-0.008844575844705105,
-0.04767207056283951,
-0.03626468777656555,
-0.02520415000617504,
-0.012997094541788101,
-0.006527450866997242,
0.018642978742718697,
0.002996365074068308,
-0.04520560801029205,
-0.061661530286073685,
-0.04747937619686127,
0.02948191948235035,
-0.04578368738293648,
0.022776227444410324,
-0.005332758650183678,
-0.0013139204820618033,
0.021677881479263306,
0.022101804614067078,
0.0020232689566910267,
-0.01889347843825817,
0.052335225045681,
0.002324350643903017,
0.04462753236293793,
0.03630322590470314,
0.02358553558588028,
0.05376114696264267,
-0.02649518847465515,
0.02239084243774414,
0.07908090949058533,
0.02083003520965576,
0.026610804721713066,
0.040465377271175385,
-0.011571171693503857,
0.02666861191391945,
-0.013440286740660667,
0.004270542878657579,
0.02948191948235035,
-0.03578295558691025,
0.08802183717489243,
0.020117074251174927,
-0.002289425116032362,
-0.012679152190685272,
-0.03165934234857559,
0.029327765107154846,
0.03156299516558647,
-0.02961680293083191,
0.019105440005660057,
-0.034029457718133926,
0.030618803575634956,
-0.05688276141881943,
0.03233376517891884,
-0.007722143083810806,
0.08031414449214935,
0.024587534368038177,
-0.050331223756074905,
0.009904383681714535,
-0.025589535012841225,
-0.022834034636616707,
0.04875114560127258,
-0.0128333056345582,
0.07634468376636505,
-0.016928017139434814,
-0.03626468777656555,
-0.03302745521068573,
0.023180881515145302,
-0.09364844858646393,
-0.09626906365156174,
-0.017563901841640472,
-0.033836763352155685,
-0.03782549500465393,
-0.03938630223274231,
0.03553245589137077,
0.02934703417122364,
0.016099439933896065,
0.021061265841126442,
0.001513838768005371,
0.023103805258870125,
-0.004029677249491215,
-0.07646029442548752,
0.02726595848798752,
0.016475189477205276,
-0.06936921924352646,
0.010626979172229767,
0.027420111000537872,
-0.005631431937217712,
0.04763353243470192,
0.0012163700303062797,
0.02657226473093033,
-0.04096638038754463,
0.029057996347546577,
0.022043997421860695,
0.009735777042806149,
0.03497364744544029,
-0.009750229306519032,
-0.019750958308577538,
0.02745864912867546,
0.025165611878037453,
0.0017209829529747367,
0.02030976675450802,
-0.04859699308872223,
0.04081222414970398,
0.040465377271175385,
-0.013719690032303333,
-0.025396842509508133,
-0.016985824331641197,
0.011031633242964745,
-0.06077514588832855,
-0.057614993304014206,
-0.035493917763233185,
-0.03308526426553726,
0.023277226835489273,
-0.016041632741689682,
0.03749791905283928,
-0.006079441402107477,
-0.014981824904680252,
-0.00912397913634777,
-0.004682422615587711,
-0.01611870899796486,
0.04717107117176056,
0.05349137634038925,
-0.044203609228134155,
0.05815453082323074,
-0.05584222450852394,
0.07426360249519348,
-0.017746958881616592,
-0.010858209803700447,
0.048442840576171875,
-0.03426068648695946,
0.003993547521531582,
-0.05414653196930885,
-0.0283257644623518,
-0.036881301552057266,
-0.009639431722462177,
-0.018527362495660782,
0.02792111225426197,
0.05965752899646759,
-0.010463191196322441,
-0.028807496652007103,
0.03364407271146774,
-0.004357254132628441,
-0.012052902020514011,
-0.007187421899288893,
0.050793685019016266,
-0.025493187829852104,
-0.03027195669710636,
0.0500229150056839,
0.03246865049004555,
-0.028267957270145416,
-0.015328670851886272,
-0.026090534403920174,
-0.06805891543626785,
0.04994583874940872,
0.01576222851872444,
0.01078113354742527,
-0.0682130679488182,
-0.12340013682842255,
-0.011137614026665688,
0.025974920019507408,
-0.054840222001075745,
-0.022410111501812935,
-0.017159247770905495,
-0.010097075253725052,
0.014644613489508629,
0.0047835856676101685,
-0.02142738178372383,
0.047055456787347794,
0.000490462058223784,
0.046130530536174774,
0.000874341232702136,
0.11037413775920868,
0.0040561724454164505,
-0.03803745657205582,
0.02464534342288971,
0.005193057004362345,
-0.023797497153282166,
0.03591784089803696,
0.0011844553519040346,
-0.004193465691059828,
-0.008743411861360073,
-0.0032878119964152575,
-0.03175568953156471,
0.0005627216887660325,
0.037016186863183975,
0.024394841864705086,
0.0051737879402935505,
-0.036688610911369324,
-0.03749791905283928,
0.012110710144042969,
0.012004729360342026,
0.004039311781525612,
0.023469919338822365,
0.03050318732857704,
0.030329765751957893,
0.0954212173819542,
0.011484459973871708,
0.010463191196322441,
-0.004080259241163731,
0.06601637601852417,
0.014239959418773651,
-0.014606074430048466,
0.045128531754016876,
0.08139321953058243,
0.013584805652499199,
-0.035956379026174545,
-0.04886676371097565,
0.02345065027475357,
-0.00566515326499939,
0.013025998137891293,
0.03647664934396744,
0.019731689244508743,
0.033933110535144806,
0.024105804041028023,
-0.01525159366428852,
0.012563536874949932,
-0.004405427258461714,
-0.033875301480293274,
-0.05784622207283974,
0.042083993554115295,
0.043509915471076965,
-0.014413382858037949,
0.01810343936085701,
-0.032911840826272964,
0.02196691930294037,
-0.05210399255156517,
-0.04104345664381981,
-0.016089806333184242,
0.03740157186985016,
0.00489438371732831,
-0.07345429807901382,
-0.013131978921592236,
-0.07017853111028671,
-0.007264499086886644,
0.006204691249877214,
0.0021653794683516026,
-0.012862210161983967,
0.017496459186077118,
-0.015877844765782356,
-0.006074624136090279,
-0.016850939020514488,
0.03938630223274231,
-0.0184695553034544,
-0.05642030015587807,
-0.049175068736076355,
-0.030599534511566162,
-0.03620687872171402,
0.007794402539730072,
0.010935286991298199,
0.021157613024115562,
0.06705691665410995,
-0.02809453383088112,
-0.011725325137376785,
0.04154445603489876,
0.03167860954999924,
0.04628468677401543,
-0.020155612379312515,
-0.003629840910434723,
-0.061931297183036804,
0.03229522705078125,
0.012630978599190712,
0.09087368100881577,
-0.03861553221940994,
-0.002337598241865635,
-0.009316671639680862,
-0.032680612057447433,
-0.06324160844087601,
0.045668069273233414,
-0.024163611233234406,
0.024202151224017143,
0.005626614671200514,
-0.007115162443369627,
-0.01594528555870056,
0.01837320812046528,
0.004289811942726374,
-0.017563901841640472,
0.00891683530062437,
-0.005616980139166117,
0.04616906866431236,
-0.023797497153282166,
-0.033008188009262085,
0.06613199412822723,
-0.020926382392644882,
-0.024760957807302475,
0.06894529610872269,
0.010704056359827518,
-0.038442108780145645,
0.06867552548646927,
0.0038273504469543695,
-0.033335763961076736,
0.029192879796028137,
-0.032410841435194016,
0.011233960278332233,
0.016928017139434814,
0.010752229019999504,
-0.0038080811500549316,
0.006879114545881748,
-0.006079441402107477,
-0.04898237809538841,
0.0017763819778338075,
-0.002813307335600257,
0.03643811121582985,
0.006180604919791222,
0.032545726746320724,
-0.006161335855722427,
-0.040658071637153625,
-0.016003094613552094,
0.04979168623685837,
0.03865407034754753,
-0.03803745657205582,
0.021677881479263306,
-0.028267957270145416,
0.021061265841126442,
-0.017534997314214706,
-0.02345065027475357,
-0.04192984104156494,
-0.04104345664381981,
0.05426214635372162,
-0.05588076263666153,
0.0039044274017214775,
0.004566806834191084,
0.027381572872400284,
-0.056227605789899826,
0.0038947926368564367,
0.0659007579088211,
0.017245959490537643,
-0.035127803683280945,
0.039694610983133316,
-0.023431381210684776,
-0.01363297924399376,
0.010328305885195732,
0.0216971505433321,
-0.021620074287056923,
-0.01659080572426319,
-0.10320598632097244,
0.04720960929989815,
-0.054608993232250214,
-0.0273237656801939,
-0.04289330169558525,
-0.03855772688984871,
0.024491189047694206,
-0.0327962264418602,
0.03703545778989792,
-0.0026639706920832396,
0.05657445266842842,
0.024587534368038177,
-0.05487876012921333,
-0.012794767506420612,
0.02229449711740017,
0.013565536588430405,
-0.018209420144557953,
-0.044897302985191345,
-0.01704363152384758,
0.04589930176734924,
-0.04146737977862358,
0.04462753236293793,
-0.007524633780121803,
-0.014153247699141502,
0.03483876585960388,
0.018450286239385605,
-0.006893566343933344,
0.026610804721713066,
0.02878822758793831,
0.06505291163921356,
0.005241230130195618,
-0.016841305419802666,
0.0423923023045063,
0.05171860754489899,
-0.031177610158920288,
0.02183203585445881,
0.0024158793967217207,
-0.046824224293231964,
0.04408799484372139,
0.007751047145575285,
0.0074860951863229275,
-0.04956045374274254,
-0.017795132473111153,
-0.030194880440831184,
-0.02680349536240101,
-0.06204691529273987,
-0.09588368237018585,
0.034067995846271515,
-0.004191057290881872,
0.003832167712971568,
-0.04720960929989815,
0.009302220307290554,
0.006026451010257006,
0.02321941964328289,
0.03826868534088135,
-0.01349809393286705,
-0.023045996204018593,
-0.06863699108362198,
0.02921214886009693,
0.008748229593038559,
0.02229449711740017,
-0.008478459902107716,
0.0017595214303582907,
-0.024337034672498703,
-0.0032035091426223516,
-0.018536997959017754,
-0.029809495434165,
0.06775060296058655,
0.007071806583553553,
-0.023180881515145302,
-0.026938380673527718,
0.02874968759715557,
-0.0006738208467140794,
-0.029770957306027412,
-0.021639343351125717,
0.024433381855487823,
-0.05183422192931175,
-0.010646248236298561,
0.02815234288573265,
0.07923506945371628,
-0.0506780706346035,
0.008868662640452385,
0.025628073140978813,
0.06963898986577988,
-0.00955753680318594,
0.05063953250646591,
0.0032685426995158195,
-0.014480824582278728,
-0.02990584261715412,
0.028691880404949188,
0.05873260647058487,
-0.01112797949463129,
0.08193276077508926,
-0.05426214635372162,
-0.027053996920585632,
-0.0005067205056548119,
-0.01550209429115057,
0.05229668319225311,
-0.01934630423784256,
-0.02017488144338131,
0.011041267774999142,
-0.06015852838754654,
-0.04393383860588074,
0.0365922637283802,
-0.007038085721433163,
-0.02520415000617504,
0.0629332959651947,
0.0037599080242216587,
0.01971242018043995,
0.032044727355241776,
-0.00346605246886611,
-0.003629840910434723,
-0.012033632956445217,
-0.03680422529578209,
-0.00018757389625534415,
0.008748229593038559,
0.027420111000537872,
0.045822225511074066,
0.03597564995288849,
0.023624073714017868,
-0.06863699108362198,
0.05360699072480202,
0.01819015108048916,
0.01386420987546444,
0.013555902056396008,
-0.022872574627399445,
-0.026919111609458923,
-0.007148883771151304,
0.008844575844705105,
-0.014133978635072708,
0.014846940524876118,
0.022679882124066353,
0.010973825119435787,
0.019461920484900475,
0.02279549650847912,
0.050793685019016266,
0.03354772552847862,
0.02372041903436184,
0.015029997564852238,
0.05642030015587807,
0.02298818901181221,
0.009576806798577309,
-0.00011561536666704342,
-0.030156342312693596,
-0.018122708424925804,
0.018305767327547073,
-0.011156883090734482,
0.010935286991298199,
-0.010655882768332958,
-0.04578368738293648,
-0.07703837752342224,
0.027285227552056313,
0.01634993962943554,
-0.020059267058968544,
0.02431776560842991,
0.023970920592546463,
0.008040085434913635,
0.006175787653774023,
-0.035127803683280945,
0.0021858529653400183,
0.0027241872157901525,
-0.03896237909793854,
-0.016850939020514488,
-0.06813599169254303,
-0.00704772025346756,
-0.013334305956959724,
0.05981168523430824,
-0.008213508874177933,
0.043972376734018326,
-0.016658248379826546,
0.022313766181468964,
0.07249083369970322,
0.009846575558185577,
0.05487876012921333,
-0.05514853075146675,
0.0031818312127143145,
-0.005135249346494675,
0.013623344711959362,
0.004614979960024357,
-0.06539975851774216,
-0.06011999025940895,
0.017207421362400055,
-0.0377676859498024,
0.013257228769361973,
-0.013941286131739616,
-0.04335576295852661,
-0.0023701151367276907,
-0.09118198603391647,
0.0589638389647007,
-0.06963898986577988,
0.04863553121685982,
-0.037941109389066696,
0.000832791964057833,
-0.0008918039384298027,
0.04832722246646881,
-0.03782549500465393,
-0.042816225439310074,
0.055032916367053986,
0.06740375608205795,
-0.039733149111270905,
-0.04720960929989815,
-0.041390303522348404,
0.012235959991812706,
0.01119542121887207,
0.00514970114454627,
0.0019534179009497166,
0.0798516795039177,
-0.010058537125587463,
0.04192984104156494,
-0.0021304539404809475,
0.0589638389647007,
-0.02345065027475357,
0.05615052953362465,
-0.0857866033911705,
-0.06620907038450241,
-0.010944921523332596,
-0.024202151224017143,
-0.008425469510257244,
0.04447337985038757,
0.04501291736960411,
-0.03928995504975319,
-0.0019148795399814844,
0.0002932535717263818,
-0.008040085434913635,
0.03424141928553581,
0.05888676270842552,
-0.013170517049729824,
-0.01556953601539135,
-0.02809453383088112,
0.0141628822311759,
0.03965607285499573,
0.026418112218379974,
-0.005270133726298809,
0.020078536123037338,
-0.03661153465509415,
0.01478913240134716,
-0.021311765536665916,
0.009803219698369503,
0.011619344353675842,
-0.005968643352389336,
-0.018989823758602142,
-0.07611344754695892,
0.07067953050136566,
-0.0004868490796070546,
0.04859699308872223,
0.05306745320558548,
0.03468460962176323,
0.032680612057447433,
0.015579170547425747,
0.00013352972746361047,
0.016937650740146637,
0.039367031306028366,
0.019770227372646332,
-0.03027195669710636,
0.018951285630464554,
-0.0156562477350235,
-0.11153028905391693,
-0.004427105188369751,
-0.03229522705078125,
-0.06509145349264145,
0.007808854803442955,
-0.030117804184556007,
0.0052653164602816105,
-0.017101440578699112,
-0.009393748827278614,
-0.02878822758793831,
0.014731325209140778,
0.018816400319337845,
-0.023103805258870125,
0.03591784089803696,
0.011455556377768517,
0.051795683801174164,
0.03331649675965309,
0.019086170941591263,
-0.026129072532057762,
0.07145030051469803,
0.00021813368948642164,
0.02136957459151745,
0.06015852838754654,
-0.08270352333784103,
-0.0037213696632534266,
0.007996729575097561,
0.03855772688984871,
-0.005525451153516769,
0.0299829188734293,
-0.055803682655096054,
0.019548632204532623,
0.02096492052078247,
-0.013286132365465164,
0.013237959705293179,
0.035031456500291824,
-0.011417017318308353,
0.05653591454029083,
-0.002443579025566578,
0.01594528555870056,
-0.07029414176940918,
-0.007553537376224995,
0.009090258739888668,
0.010212690569460392,
-0.020425381138920784,
-0.01764097809791565,
0.01061734464019537,
-0.01709180511534214,
0.01455790176987648,
0.016696786507964134,
0.021947650238871574,
0.006219143513590097,
-0.03826868534088135,
0.037420839071273804,
-0.005405018571764231,
-0.006329941563308239,
-0.05476314574480057,
0.08509290963411331,
-0.007144066505134106,
-0.004246456082910299,
0.033470649272203445,
0.04909799247980118,
-0.026880573481321335,
0.0068983836099505424,
0.018787497654557228,
0.021639343351125717,
-0.005005181767046452,
-0.043741147965192795,
-0.04166007041931152,
0.0041741966269910336,
-0.08925506472587585,
-0.026822766289114952,
-0.02497291937470436,
0.010867844335734844,
0.06150737777352333,
0.014037632383406162,
0.012129979208111763,
-0.011812036857008934,
-0.0061709703877568245,
-0.019221054390072823
]
|
43,910 | importlib._common | files |
Get a Traversable resource from a package
| def files(package):
# type: (Package) -> Traversable
"""
Get a Traversable resource from a package
"""
return from_package(get_package(package))
| (package) | [
0.0226961150765419,
-0.032223496586084366,
-0.03790999576449394,
0.0026354098226875067,
0.026753149926662445,
-0.007644351106137037,
-0.01945381425321102,
0.032356515526771545,
0.0706988200545311,
0.04186726734042168,
0.0536060631275177,
-0.018107011914253235,
-0.03781023249030113,
-0.006821305025368929,
-0.002425491577014327,
0.04356323927640915,
-0.01376731414347887,
0.07695063948631287,
-0.01582077331840992,
0.06963467597961426,
-0.00576547859236598,
0.070366270840168,
0.008529748767614365,
-0.03197408840060234,
-0.012071340344846249,
0.07821431010961533,
0.021715112030506134,
-0.03144202008843422,
0.03920691832900047,
-0.0624849833548069,
-0.048684414476156235,
-0.0002743486547842622,
0.03611426055431366,
0.011688915081322193,
-0.0693686380982399,
0.021149788051843643,
0.03737792745232582,
0.016344528645277023,
0.009884865023195744,
0.01629464700818062,
0.010184154845774174,
0.04602406546473503,
0.05114524066448212,
-0.041667740792036057,
0.025090431794524193,
0.04788631200790405,
-0.011880127713084221,
-0.050147607922554016,
0.03654656559228897,
0.02550611086189747,
0.050679679960012436,
0.014848081395030022,
0.005728067364543676,
-0.057563334703445435,
-0.039905257523059845,
0.04715471342206001,
-0.019536949694156647,
0.09218114614486694,
-0.01828991062939167,
0.04735423997044563,
0.03907389938831329,
-0.020335054025053978,
0.05177707225084305,
-0.028548886999487877,
-0.015546423383057117,
0.006484604440629482,
-0.02510705776512623,
-0.049748554825782776,
-0.024824395775794983,
0.021316058933734894,
-0.0641477033495903,
0.03847531974315643,
0.02189801074564457,
-0.021548839285969734,
-0.01395021378993988,
-0.01928754150867462,
0.03004533424973488,
-0.05929256230592728,
-0.031924206763505936,
-0.04246584698557854,
-0.01845618151128292,
-0.018007248640060425,
-0.013692491687834263,
0.04193377494812012,
0.08799109607934952,
-0.009435931220650673,
0.06976769119501114,
-0.04459412768483162,
-0.03380307927727699,
0.03571520745754242,
-0.050280626863241196,
0.049682047218084335,
-0.005237565375864506,
0.050779443234205246,
-0.019753102213144302,
-0.03337077423930168,
-0.033121366053819656,
-0.0041422490030527115,
-0.048584651201963425,
0.017408668994903564,
0.001831069472245872,
-0.0058818687684834,
0.028914686292409897,
0.07096485048532486,
0.02369374781847,
0.004302285611629486,
-0.021548839285969734,
0.009402676485478878,
0.04186726734042168,
-0.0015411328058689833,
-0.03571520745754242,
0.033021602779626846,
0.08972032368183136,
0.04422833025455475,
-0.021781619638204575,
-0.04559175670146942,
-0.009277972392737865,
-0.04765352979302406,
0.002629174618050456,
-0.019503695890307426,
0.003876213915646076,
0.0526084341108799,
0.02700255811214447,
0.04499318078160286,
0.024874277412891388,
-0.03677934780716896,
0.030228232964873314,
0.023677119985222816,
0.0348505936563015,
0.00677558034658432,
0.008400888182222843,
-0.0069543225690722466,
-0.014274443499743938,
-0.018306536599993706,
-0.004917491693049669,
-0.033121366053819656,
0.049682047218084335,
-0.005761321634054184,
-0.010001255199313164,
0.041235435754060745,
0.02583865448832512,
0.06228545680642128,
-0.013617669232189655,
0.05177707225084305,
-0.004530909471213818,
-0.059658363461494446,
0.03677934780716896,
-0.028964567929506302,
-0.03275556489825249,
-0.0002191411767853424,
0.003221518360078335,
-0.047819800674915314,
-0.026520369574427605,
-0.0028370143845677376,
-0.007519647013396025,
-0.015937162563204765,
-0.03910715505480766,
-0.004331383388489485,
-0.015380151569843292,
-0.056698720902204514,
-0.026320843026041985,
0.0026354098226875067,
-0.06990071386098862,
0.0467224083840847,
0.004809414967894554,
-0.02690279483795166,
-0.023776883259415627,
0.013110539875924587,
-0.022912269458174706,
0.005657401867210865,
0.0023527476005256176,
-0.016776835545897484,
0.015288702212274075,
-0.006393155083060265,
-0.0014943687710911036,
-0.008887233212590218,
0.03100971132516861,
0.018173519521951675,
0.0653781145811081,
0.048385124653577805,
-0.015114116482436657,
-0.031890951097011566,
0.009552321396768093,
0.05476996675133705,
-0.029563145712018013,
0.03278882056474686,
-0.02640398032963276,
0.05214286968111992,
0.01892174407839775,
-0.04559175670146942,
-0.015795832499861717,
0.0480525828897953,
-0.009003624320030212,
0.003242302220314741,
-0.05387210100889206,
-0.07907892018556595,
-0.06155386194586754,
0.021548839285969734,
-0.0736917108297348,
0.010416935198009014,
-0.07029976695775986,
0.024574989452958107,
0.0516108013689518,
0.03814277797937393,
-0.014989412389695644,
0.0300785880535841,
-0.020168783143162727,
-0.006746483035385609,
-0.05417138710618019,
0.06384841352701187,
0.031092846766114235,
-0.008064188063144684,
-0.00010651794582372531,
-0.028149833902716637,
0.016161629930138588,
0.011506016366183758,
-0.01682671718299389,
0.01572101004421711,
-0.031624916940927505,
-0.020700853317975998,
-0.00876253005117178,
0.028149833902716637,
-0.02276262454688549,
0.010932378470897675,
-0.0169514212757349,
-0.038641590625047684,
0.028632022440433502,
0.01625308021903038,
-0.03371994197368622,
-0.02252984419465065,
0.012220985256135464,
0.024990668520331383,
0.0661429688334465,
-0.018971625715494156,
-0.01385045051574707,
-0.020750734955072403,
0.013251871801912785,
0.03375319764018059,
0.04559175670146942,
0.01671864092350006,
0.01888848841190338,
-0.015280388295650482,
0.01388370431959629,
-0.0037743723951280117,
-0.047620274126529694,
0.039140406996011734,
-0.01141456700861454,
-0.06328309327363968,
0.017375415191054344,
-0.019304169341921806,
0.04336371272802353,
-0.006110492628067732,
-0.012096281163394451,
0.01732553355395794,
-0.0016388174844905734,
-0.04555850476026535,
-0.027052439749240875,
-0.026653386652469635,
0.039605967700481415,
0.01151433028280735,
0.02984580770134926,
0.03734467178583145,
0.011281548999249935,
0.03381970524787903,
-0.0348505936563015,
-0.012187731452286243,
0.003786842804402113,
0.004697181284427643,
-0.05250867083668709,
0.03405248746275902,
0.020019138231873512,
0.07881288975477219,
-0.0031695582438260317,
-0.014324325136840343,
-0.02206428349018097,
0.009618829935789108,
-0.012877759523689747,
0.06261800229549408,
-0.020301800221204758,
0.007561215199530125,
-0.018273282796144485,
0.02186475694179535,
-0.015745950862765312,
0.03564869612455368,
0.0026645073667168617,
-0.05207636207342148,
-0.01335163414478302,
0.022380199283361435,
-0.031591664999723434,
0.0028744256123900414,
0.07309313118457794,
0.02710232138633728,
0.010865869000554085,
-0.07049929350614548,
-0.00554932514205575,
0.00849233753979206,
-0.06421421468257904,
-0.08772505819797516,
0.10282254964113235,
-0.013060658238828182,
-0.019038133323192596,
0.004260717891156673,
0.07176295667886734,
0.03110947459936142,
-0.028864804655313492,
0.009677025489509106,
-0.0014767023967579007,
-0.03608100488781929,
-0.05463695153594017,
0.010009569115936756,
0.03814277797937393,
-0.03644680231809616,
0.0170927532017231,
-0.03293846547603607,
-0.04316418990492821,
-0.0077607412822544575,
-0.029064329341053963,
0.05101222172379494,
0.020401563495397568,
0.008488181047141552,
-0.02733510173857212,
0.05550156533718109,
0.02409280091524124,
-0.039672479033470154,
0.05111198499798775,
0.056964755058288574,
0.03421875834465027,
-0.012220985256135464,
-0.039373189210891724,
0.0034418285358697176,
0.03408574312925339,
0.04808583855628967,
-0.026686642318964005,
0.05666546896100044,
-0.048850689083337784,
0.09989616274833679,
0.04459412768483162,
-0.0529409758746624,
0.03391946852207184,
-0.0054287780076265335,
0.04525921493768692,
-0.04678891599178314,
-0.058261677622795105,
0.000408924970543012,
-0.04153472185134888,
-0.0018071678932756186,
0.031691424548625946,
0.0022425923962146044,
0.03017835132777691,
-0.010574894025921822,
0.04426158219575882,
0.03781023249030113,
-0.006605151575058699,
0.04143495857715607,
-0.016810089349746704,
0.02106665074825287,
-0.02583865448832512,
0.030128469690680504,
-0.008953742682933807,
0.057264044880867004,
0.00751133356243372,
0.04758702218532562,
-0.028582140803337097,
-0.057297300547361374,
0.04376276582479477,
-0.018073756247758865,
0.02557262033224106,
0.015072548761963844,
-0.019171152263879776,
-0.022197300568223,
0.00825955718755722,
0.0015151527477428317,
-0.012570156715810299,
0.0005167419440113008,
0.03790999576449394,
-0.05330677330493927,
0.005304073914885521,
-0.008213832043111324,
-0.03824254125356674,
0.07648508250713348,
-0.013808881863951683,
0.029662908986210823,
0.04532572254538536,
0.013260184787213802,
0.007735800463706255,
-0.002531489823013544,
-0.03475083038210869,
-0.0631500706076622,
0.0076069398783147335,
0.012861132621765137,
0.06231871247291565,
-0.022047655656933784,
-0.00029149543843232095,
-0.0015660736244171858,
-0.011813619174063206,
-0.06501232087612152,
0.01260341051965952,
0.0027684273663908243,
0.057297300547361374,
-0.02790042757987976,
0.01895499788224697,
-0.017109379172325134,
-0.08267039805650711,
-0.01502266712486744,
-0.01153095718473196,
0.017608195543289185,
0.05550156533718109,
-0.05563458055257797,
-0.04459412768483162,
-0.0631500706076622,
0.04622359201312065,
0.0051835267804563046,
-0.008795783855021,
-0.040603600442409515,
0.007544587831944227,
0.02716883085668087,
-0.011123591102659702,
0.014947844669222832,
0.08493169397115707,
0.01765807718038559,
0.019703222438693047,
-0.009810042567551136,
0.010658029466867447,
-0.03081018477678299,
0.027584509924054146,
-0.04456087201833725,
0.02179824747145176,
-0.0036330411676317453,
-0.014365892857313156,
0.06165362522006035,
-0.025040550157427788,
-0.019802983850240707,
-0.03721165284514427,
-0.05274144932627678,
0.03124249167740345,
-0.03554893285036087,
-0.04289815202355385,
-0.05197659879922867,
-0.012861132621765137,
-0.01795736700296402,
0.014174680225551128,
-0.02607143484055996,
0.08120720088481903,
-0.003736961167305708,
-0.05600037798285484,
-0.011880127713084221,
-0.0678056851029396,
0.059525344520807266,
-0.006966792978346348,
-0.05959185212850571,
-0.059857890009880066,
-0.04442785307765007,
0.08273690193891525,
-0.0030490111093968153,
0.008837352506816387,
0.007573685608804226,
-0.020135529339313507,
-0.05686499550938606,
-0.07109786570072174,
-0.018339792266488075,
0.04486016184091568,
-0.04532572254538536,
0.11545921862125397,
-0.08054211735725403,
0.02703581191599369,
-0.08785808086395264,
-0.03867484629154205,
0.010200781747698784,
0.048684414476156235,
-0.03197408840060234,
0.040470581501722336,
-0.0015317799989134073,
-0.028781667351722717,
-0.06135433539748192,
0.0028411713428795338,
0.05483647808432579,
0.01173048373311758,
0.04409531131386757,
-0.06334959715604782,
-0.02756788209080696,
-0.020833870396018028,
-0.10102681070566177,
0.014781572856009007,
-0.02159872092306614,
-0.02994557097554207,
-0.013858763501048088,
-0.020418191328644753,
0.007590312976390123,
-0.02336120419204235,
-0.03338740020990372,
0.023943156003952026,
0.031092846766114235,
-0.03367006033658981,
0.022313689813017845,
0.050047844648361206,
0.039439696818590164,
0.024475226178765297,
0.0710313618183136,
-0.028482377529144287,
0.03465106710791588,
0.020567836239933968,
-0.05995764955878258,
-0.03721165284514427,
0.024508479982614517,
0.0028370143845677376,
0.014340952038764954,
0.023444339632987976,
-0.08220483362674713,
0.07355869561433792,
-0.048285361379384995,
0.0358482226729393,
0.024458598345518112,
-0.02809995226562023,
0.013476338237524033,
0.040171295404434204,
-0.02617119811475277,
-0.028964567929506302,
0.06421421468257904,
0.017591567710042,
0.05610014125704765,
-0.019503695890307426,
-0.029213974252343178,
0.057064518332481384,
0.0017261102329939604,
0.004801101516932249,
-0.058361440896987915,
-0.019337423145771027,
-0.01525544747710228,
0.0008058991516008973,
0.05370582640171051,
0.03857508301734924,
0.006663346663117409,
-0.01822340115904808,
-0.00911170057952404,
-0.019952628761529922,
-0.01828991062939167,
-0.017591567710042,
0.012387257069349289,
-0.03611426055431366,
-0.016161629930138588,
0.010026196017861366,
0.07063230872154236,
0.05686499550938606,
-0.00187783339060843,
0.03207385167479515,
0.001607641577720642,
-0.03362017869949341,
-0.06634249538183212,
0.07076532393693924,
-0.01615331694483757,
0.021099906414747238,
-0.015072548761963844,
-0.04256561025977135,
0.012121221981942654,
0.04283164441585541,
0.0023132578935474157,
-0.02156546711921692,
-0.007087340112775564,
-0.048950452357530594,
-0.04825210943818092,
-0.007631880696862936,
0.02786717191338539,
-0.04283164441585541,
-0.0012023537419736385,
0.015870653092861176,
-0.0043978919275105,
-0.0024379619862884283,
-0.007814779877662659,
-0.0015006039757281542,
-0.012121221981942654,
0.05337328463792801,
0.01698467507958412,
0.00877915695309639,
-0.000739909999538213,
0.059026528149843216,
0.00944424420595169,
-0.003572767600417137,
-0.0016575230984017253,
-0.0309099480509758,
-0.014831454493105412,
0.028864804655313492,
-0.050347134470939636,
0.07063230872154236,
-0.0025252546183764935,
-0.006068924907594919,
0.031092846766114235,
0.04515945166349411,
0.03511662781238556,
-0.03581497073173523,
0.03411899507045746,
0.005050509236752987,
-0.05310724675655365,
0.0036455115769058466,
0.011173472739756107,
0.012711487710475922,
-0.026985932141542435,
-0.013443084433674812,
0.01785760372877121,
-0.015047607943415642,
-0.01151433028280735,
0.02359398454427719,
0.04279838874936104,
-0.040370821952819824,
-0.004697181284427643,
-0.03275556489825249,
-0.01722577027976513,
-0.00122833380009979,
-0.0030718736816197634,
0.013659237883985043,
0.08040909469127655,
-0.058827001601457596,
-0.016377782449126244,
0.01805713027715683,
-0.0532735213637352,
0.011930009350180626,
0.03771046921610832,
-0.02530658431351185,
0.0041838171891868114,
0.006027356721460819,
-0.05041364207863808,
-0.009435931220650673,
0.021282805129885674,
0.02530658431351185,
0.006854559760540724,
0.009045192040503025,
0.02703581191599369,
-0.019536949694156647,
0.002246749121695757,
-0.00791038665920496,
-0.029496636241674423,
0.02716883085668087,
-0.0506131686270237,
0.0931122675538063,
0.017674705013632774,
0.03167479857802391,
-0.005482816137373447,
0.0076069398783147335,
-0.050480153411626816,
-0.02282913401722908,
0.003641354851424694,
0.0026437235064804554,
0.011580838821828365,
-0.010549953207373619,
-0.0368458554148674,
0.010416935198009014,
-0.039439696818590164,
-0.023760255426168442,
0.008296968415379524,
0.041700996458530426,
-0.05420464277267456,
-0.02139919437468052,
0.03761070594191551,
-0.04193377494812012,
-0.011921696364879608,
-0.002504470758140087,
0.04326395317912102,
0.0710313618183136,
-0.05550156533718109,
0.002909758361056447,
-0.01832316443324089,
0.0019900668412446976,
0.022745996713638306,
0.0215322133153677,
-0.021016769111156464,
-0.041700996458530426,
-0.05177707225084305,
0.02093363367021084,
-0.05350629985332489,
-0.03704538196325302,
0.06358237564563751,
-0.005013098008930683,
0.07056579738855362,
0.02146570384502411,
-0.06511208415031433,
0.05347304791212082,
0.028781667351722717,
0.008055874146521091,
-0.01641935110092163,
0.0519433468580246,
-0.06112155318260193,
-0.0375109426677227,
0.02206428349018097,
0.007735800463706255,
0.0624849833548069,
-0.03860833868384361,
-0.0023340419866144657,
-0.02984580770134926,
0.028499005362391472,
0.003907389938831329,
-0.02637072466313839,
0.02557262033224106,
0.03051089495420456,
0.03381970524787903,
-0.020634343847632408,
-0.0335703007876873,
0.07927844673395157,
0.04745400324463844,
0.05114524066448212,
0.0045142825692892075,
-0.011422879993915558,
0.02326144091784954,
-0.03505012020468712,
0.02216404490172863,
-0.01303571742027998,
-0.06295054405927658,
-0.03697887435555458,
-0.017042871564626694,
-0.014033349230885506,
-0.06896959245204926,
0.024042919278144836,
0.02412605471909046,
-0.01038368046283722,
0.0038699787110090256,
-0.03270568326115608,
0.028149833902716637,
-0.048684414476156235,
-0.01832316443324089,
0.0019235581858083606,
0.014997726306319237,
-0.026886168867349625,
-0.006463820580393076,
-0.0618198961019516,
-0.0020316350273787975,
0.03177456185221672,
-0.014557105489075184,
0.013792254962027073,
-0.00814732350409031,
0.03857508301734924,
0.005915123037993908,
0.06135433539748192,
-0.007257768884301186,
-0.009003624320030212,
-0.0015889359638094902,
-0.015446661040186882,
-0.005117018241435289,
-0.01965334080159664,
-0.006085551809519529,
-0.020750734955072403,
0.06035670265555382,
-0.010184154845774174,
-0.0025626658461987972,
0.004173425026237965,
-0.03661307319998741,
-0.007365845609456301,
-0.017242398113012314,
-0.054271150380373,
-0.006883657071739435,
-0.014831454493105412,
-0.04589104652404785,
0.02236357145011425,
0.01079936046153307,
0.007120594382286072,
-0.04409531131386757,
-0.007270239293575287,
0.023760255426168442,
-0.010242349468171597,
0.0220310278236866,
-0.0654778778553009,
0.021748365834355354,
-0.027584509924054146,
-0.07781525701284409,
-0.048684414476156235,
-0.007681762333959341,
-0.007278552744537592,
0.04542548581957817,
0.02252984419465065,
-0.03900739178061485,
-0.0345180481672287
]
|
43,912 | iso4217 | parse_published | null | def parse_published(pblshd):
if '-' in pblshd and ',' not in pblshd:
return datetime.date(*map(int, raw_xml.attrib['Pblshd'].split('-')))
lc, enc = locale.getlocale(locale.LC_TIME)
lc_time = "{0}.{1}".format(lc, enc) if enc else lc
locale.setlocale(locale.LC_TIME, 'C')
published = datetime.datetime.strptime(pblshd, "%B %d, %Y").date()
locale.setlocale(locale.LC_TIME, lc_time)
return published
| (pblshd) | [
-0.02120290882885456,
0.04064957797527313,
-0.03016703762114048,
0.015943342819809914,
-0.022245673462748528,
-0.01623605005443096,
0.018486227840185165,
0.04247899353504181,
0.048003822565078735,
-0.03016703762114048,
-0.025154443457722664,
0.04064957797527313,
-0.05261394754052162,
0.005451653618365526,
-0.038307927548885345,
0.025904502719640732,
-0.03519792482256889,
0.04825993999838829,
-0.05967548489570618,
0.0025040104519575834,
-0.03519792482256889,
-0.05817536637187004,
-0.011653367429971695,
0.06739561259746552,
0.04928441345691681,
-0.054077476263046265,
0.0379786342382431,
-0.0453694686293602,
-0.04258875921368599,
-0.008753745816648006,
0.10281306505203247,
0.004514079075306654,
0.018321581184864044,
0.024971501901745796,
0.00398354884237051,
0.08773869276046753,
0.009961158968508244,
-0.024532441049814224,
-0.04921123757958412,
0.028044916689395905,
0.02857544645667076,
-0.009105907753109932,
0.062346428632736206,
-0.019574729725718498,
0.01893443427979946,
0.007450288627296686,
0.04214970022439957,
0.04994300380349159,
-0.06593208014965057,
-0.014296870678663254,
0.02058090828359127,
0.011232602410018444,
0.0035947985015809536,
-0.04043005034327507,
-0.08766552060842514,
0.014360900036990643,
0.06307819485664368,
0.12827850878238678,
-0.01474507711827755,
0.05411406606435776,
0.025502031669020653,
0.017571521922945976,
-0.0010724939638748765,
0.023270146921277046,
-0.022154202684760094,
0.023690911009907722,
0.01100392546504736,
-0.06205372139811516,
-0.04606464505195618,
0.028593741357326508,
0.013546810485422611,
-0.00854793656617403,
-0.03845428302884102,
0.009988600388169289,
0.009256835095584393,
0.016757432371377945,
-0.015385371632874012,
0.02019673027098179,
-0.028429092839360237,
0.07149349898099899,
0.013574251905083656,
-0.050382062792778015,
-0.0158793143928051,
-0.010244718752801418,
-0.01641899161040783,
-0.025666678324341774,
0.06322454661130905,
0.012311955913901329,
-0.03221597895026207,
0.06871279329061508,
0.02489832416176796,
0.018595993518829346,
0.04815017804503441,
0.005803816020488739,
0.05257735773921013,
-0.02347138151526451,
-0.012595515698194504,
0.028959624469280243,
-0.014635312370955944,
0.012238780036568642,
-0.03775910660624504,
-0.02744120918214321,
-0.08912905305624008,
-0.07098126411437988,
-0.002933922689408064,
0.014306017197668552,
0.02182490937411785,
-0.004825079347938299,
-0.02959991805255413,
-0.031904980540275574,
0.020050376653671265,
-0.05393112450838089,
-0.04149110987782478,
0.007569200359284878,
0.03265504166483879,
-0.04569876194000244,
0.03272821754217148,
0.01374804601073265,
0.017132462933659554,
0.003384415991604328,
-0.05371159687638283,
0.013684016652405262,
-0.04745499789714813,
0.04866241291165352,
-0.020105259492993355,
0.003784600179642439,
0.033258747309446335,
-0.05960230901837349,
0.05817536637187004,
0.013455339707434177,
0.01264125108718872,
0.04266193509101868,
-0.006672787480056286,
-0.06889573484659195,
-0.015577460639178753,
-0.09059257805347443,
-0.018531963229179382,
0.044198643416166306,
-0.054443359375,
-0.02347138151526451,
0.010564865544438362,
-0.061943959444761276,
0.007367964833974838,
-0.010692925192415714,
-0.01788252219557762,
-0.00728564104065299,
-0.004152769688516855,
0.026288678869605064,
-0.017809344455599785,
0.051918771117925644,
-0.0017665278865024447,
-0.0635538399219513,
-0.012622956186532974,
0.02846568264067173,
0.011452131904661655,
-0.06896890699863434,
0.028282741084694862,
-0.04639393836259842,
-0.013793781399726868,
-0.028612034395337105,
0.035362571477890015,
-0.009270555339753628,
0.023636028170585632,
0.011415543034672737,
-0.004514079075306654,
0.016976961866021156,
0.04815017804503441,
-0.013647428713738918,
0.025081265717744827,
0.01574210822582245,
0.02670944482088089,
0.018403904512524605,
-0.07815256714820862,
0.007614935748279095,
-0.0263618566095829,
-0.017141608521342278,
0.028044916689395905,
0.0331672765314579,
0.0623830184340477,
0.0029224888421595097,
0.009714188054203987,
0.029234034940600395,
-0.01448895875364542,
0.008936687372624874,
0.004038431216031313,
0.0862019881606102,
-0.07676221430301666,
0.017242226749658585,
-0.03243551030755043,
0.026160620152950287,
0.023947028443217278,
0.0041642035357654095,
-0.019977200776338577,
-0.005035461857914925,
-0.041820403188467026,
0.05096747353672981,
-0.02989262528717518,
-0.009352878667414188,
0.004546093754470348,
0.042552169412374496,
0.04525970295071602,
0.001717362436465919,
-0.024989794939756393,
0.00438144663348794,
0.014900577254593372,
-0.011836308985948563,
-0.06304160505533218,
0.013363868929445744,
-0.048845354467630386,
-0.029801154509186745,
-0.01825755089521408,
-0.004273968283087015,
0.001941465656273067,
-0.011516161262989044,
0.002709819469600916,
-0.07639633119106293,
-0.07676221430301666,
-0.003004812402650714,
-0.0031191508751362562,
-0.06322454661130905,
-0.025264207273721695,
0.013912693597376347,
0.025209324434399605,
0.02257496863603592,
0.07021290808916092,
0.006252022460103035,
0.015815284103155136,
-0.01128748431801796,
-0.039039693772792816,
-0.01542196050286293,
-0.008291819132864475,
-0.010738660581409931,
0.03929581120610237,
-0.03988122567534447,
0.06187077984213829,
-0.023800676688551903,
-0.004077306482940912,
-0.00912877544760704,
-0.05319935828447342,
-0.007976245135068893,
0.05166264995932579,
-0.05363841727375984,
-0.03757616505026817,
0.004189358092844486,
-0.012906515970826149,
0.015861019492149353,
-0.0077429949305951595,
0.034850336611270905,
-0.003617666196078062,
0.01318092830479145,
-0.01612628437578678,
0.005296153482049704,
0.026617974042892456,
0.024880031123757362,
0.023014027625322342,
-0.019647905603051186,
-0.0023004880640655756,
-0.021166320890188217,
-0.018486227840185165,
-0.04134475812315941,
-0.014370046555995941,
0.01088501326739788,
-0.014022458344697952,
0.03646022081375122,
0.0027326871640980244,
-0.0029064815025776625,
0.02852056361734867,
0.004468343686312437,
0.04061299189925194,
-0.009403187781572342,
0.01574210822582245,
-0.0533091239631176,
-0.008785760961472988,
0.0029179153498262167,
-0.01636410877108574,
-0.004806785378605127,
0.008337554521858692,
-0.041820403188467026,
0.012961397878825665,
0.0641026645898819,
-0.013482781127095222,
0.04313758388161659,
0.00573978666216135,
0.046028055250644684,
0.0470891147851944,
0.03849086910486221,
-0.005991330835968256,
-0.04010075330734253,
-0.032911159098148346,
-0.0017299395985901356,
-0.02524591237306595,
-0.0032998055685311556,
0.07515233010053635,
-0.04427181929349899,
-0.003789173671975732,
0.05524830147624016,
0.0026297825388610363,
-0.020507730543613434,
0.025136148557066917,
-0.014562135562300682,
-0.00906017329543829,
0.055541008710861206,
0.03874699026346207,
-0.0023873853497207165,
-0.013208368793129921,
0.03662486746907234,
-0.002645790111273527,
0.032179392874240875,
-0.0589803084731102,
-0.03900310769677162,
-0.03205133229494095,
0.017132462933659554,
-0.012549780309200287,
0.01939178816974163,
-0.019263729453086853,
-0.02994750812649727,
-0.04379617050290108,
-0.02813638746738434,
-0.04668664559721947,
0.00952209997922182,
-0.0029842315707355738,
-0.016867198050022125,
0.05524830147624016,
0.05876077711582184,
0.03708222135901451,
-0.05806560069322586,
-0.02654479630291462,
0.008195774629712105,
0.03327704221010208,
0.04116181656718254,
0.03356974571943283,
-0.013062016107141972,
-0.013437045738101006,
0.028447387740015984,
0.06951773166656494,
-0.038527458906173706,
0.005973036866635084,
-0.013308987021446228,
-0.014241987839341164,
-0.04855264723300934,
0.024312911555171013,
0.03163056820631027,
-0.018541110679507256,
0.0206906720995903,
0.03838110715150833,
0.032911159098148346,
-0.05093088746070862,
0.010729513131082058,
-0.02919744700193405,
-0.08627516776323318,
0.005973036866635084,
-0.003784600179642439,
-0.032911159098148346,
0.0555775985121727,
0.05879736691713333,
-0.009759923443198204,
0.045113351196050644,
0.05766312777996063,
0.004065872635692358,
0.022245673462748528,
0.01777275651693344,
-0.011955220252275467,
-0.016327520832419395,
-0.010738660581409931,
0.027038738131523132,
-0.00594102218747139,
-0.035069867968559265,
0.01394928153604269,
0.03753957524895668,
-0.028154682368040085,
0.002327929250895977,
-0.0765426829457283,
-0.01531219482421875,
-0.062017135322093964,
0.033313628286123276,
-0.0004905116511508822,
0.01358339935541153,
0.042039934545755386,
-0.012220485135912895,
-0.003725144313648343,
-0.028941329568624496,
0.028776682913303375,
0.02217249758541584,
0.008854364044964314,
0.03483204171061516,
0.004648998379707336,
0.05133335664868355,
-0.0069014644250273705,
-0.010583160445094109,
-0.0167391374707222,
0.012348544783890247,
0.0167208444327116,
0.051735829561948776,
0.032307449728250504,
0.0064166695810854435,
-0.04083251953125,
0.035362571477890015,
-0.02965480089187622,
0.011333219707012177,
-0.028502270579338074,
0.06380996108055115,
-0.02511785365641117,
-0.033825863152742386,
-0.011580190621316433,
-0.020617496222257614,
-0.004136762581765652,
-0.042113110423088074,
0.029416976496577263,
-0.09520270675420761,
0.05184559151530266,
0.04997958987951279,
-0.04646711423993111,
0.004498071502894163,
-0.06241960451006889,
0.008525068871676922,
0.04796723648905754,
0.01939178816974163,
0.027825387194752693,
-0.0040430049411952496,
-0.07284726202487946,
-0.03988122567534447,
-0.011946073733270168,
0.027294857427477837,
0.009357452392578125,
-0.011653367429971695,
-0.017251374199986458,
-0.005067477002739906,
0.05641912668943405,
-0.012796751223504543,
0.016812315210700035,
0.10698413103818893,
-0.01639154925942421,
-0.044710878282785416,
-0.01528475433588028,
0.05876077711582184,
-0.015056077390909195,
0.018806375563144684,
0.06055360287427902,
0.006073654629290104,
-0.012138161808252335,
-0.030038977041840553,
0.058211952447891235,
0.06856643408536911,
-0.021239496767520905,
0.022922556847333908,
-0.014909723773598671,
0.02341649867594242,
0.007697259541600943,
-0.006000477820634842,
-0.006869449745863676,
-0.013885252177715302,
0.024184852838516235,
0.03724686801433563,
-0.01286992710083723,
0.012403426691889763,
-0.035710159689188004,
0.051735829561948776,
-0.025428853929042816,
-0.014397487975656986,
0.014671900309622288,
-0.025904502719640732,
0.06091948598623276,
-0.015531725250184536,
-0.018166081979870796,
-0.0028493122663348913,
-0.041308168321847916,
-0.04767452925443649,
-0.03539916127920151,
-0.026050856336951256,
0.01136980764567852,
0.011250896379351616,
0.008936687372624874,
0.0269289743155241,
0.02284938097000122,
-0.031100038439035416,
-0.05250418186187744,
-0.03131956607103348,
-0.02114802598953247,
-0.02954503707587719,
0.03497839719057083,
0.015787843614816666,
0.05909007415175438,
-0.010025188326835632,
0.04778429493308067,
-0.021806614473462105,
-0.03205133229494095,
0.04588170349597931,
-0.0076789651066064835,
0.0005716918967664242,
-0.020269908010959625,
0.0533091239631176,
-0.025941090658307076,
0.02919744700193405,
-0.060699958354234695,
0.0010301887523382902,
-0.0561264231801033,
-0.05177241563796997,
-0.024642206728458405,
0.024770265445113182,
-0.04277170076966286,
-0.06366360932588577,
-0.012668691575527191,
0.00026497917133383453,
0.004589542280882597,
0.036935869604349136,
-0.01542196050286293,
0.03011215478181839,
0.04094228520989418,
0.04266193509101868,
-0.02155049704015255,
-0.01836731657385826,
-0.0447840541601181,
-0.04094228520989418,
-0.015303048305213451,
-0.006613331846892834,
0.03940557688474655,
0.033258747309446335,
0.04917464777827263,
-0.048625823110342026,
0.03528939560055733,
0.08700692653656006,
-0.013802928850054741,
0.006311478093266487,
-0.04339370131492615,
-0.04895512014627457,
-0.02314208634197712,
-0.07734762132167816,
-0.021276084706187248,
0.002501723589375615,
-0.0263618566095829,
0.04983323812484741,
-0.03369780629873276,
-0.01415051706135273,
-0.0521748885512352,
0.005963889881968498,
0.03084392100572586,
-0.06644431501626968,
0.004001843277364969,
-0.03680780902504921,
-0.032014746218919754,
-0.007962524890899658,
-0.04149110987782478,
0.0062017133459448814,
0.05363841727375984,
0.0024033926893025637,
0.10369118303060532,
-0.016089696437120438,
0.04090569540858269,
-0.022977439686655998,
0.0538579486310482,
-0.006718522869050503,
-0.07215208560228348,
-0.002654937095940113,
0.029343800619244576,
0.07303020358085632,
0.014635312370955944,
-0.03395392373204231,
0.0010576299391686916,
0.03163056820631027,
-0.0051635210402309895,
0.0062383017502725124,
0.03417345508933067,
0.01842219941318035,
0.0935928225517273,
-0.07639633119106293,
-0.005460800603032112,
-0.019757671281695366,
-0.03256357088685036,
-0.04679641127586365,
0.003384415991604328,
0.014772518537938595,
-0.01607140153646469,
0.005145227070897818,
0.014717635698616505,
0.057077717036008835,
0.025959385558962822,
-0.010857571847736835,
-0.048516061156988144,
0.03549063205718994,
0.0663345530629158,
0.04167405143380165,
-0.017004402354359627,
0.013930987566709518,
-0.0041802111081779,
-0.05210171267390251,
0.03492351248860359,
0.030935389921069145,
-0.01887955330312252,
-0.029910918325185776,
-0.04043005034327507,
-0.013574251905083656,
0.027587562799453735,
0.04496699571609497,
-0.010610600933432579,
0.010436806827783585,
-0.10310577601194382,
0.08195775002241135,
0.032124508172273636,
0.001686491072177887,
-0.08583610504865646,
0.015760401263833046,
0.0385640487074852,
0.028666917234659195,
0.027148503810167313,
0.06337089836597443,
-0.04083251953125,
0.052138298749923706,
-0.0066682142205536366,
-0.0022376019041985273,
-0.03936899080872536,
-0.013052868656814098,
-0.04123499244451523,
0.01482740044593811,
0.0907389372587204,
0.025373972952365875,
-0.01265039760619402,
-0.0060416399501264095,
0.016455579549074173,
-0.04504017159342766,
-0.04291805252432823,
-0.010317894630134106,
0.029270624741911888,
0.008291819132864475,
0.088470458984375,
-0.00284245191141963,
-0.033533159643411636,
0.01420539990067482,
-0.012494897469878197,
0.01717819832265377,
-0.03278309851884842,
0.016547050327062607,
0.027605857700109482,
0.030093859881162643,
-0.006874023005366325,
-0.047711119055747986,
0.04412546753883362,
-0.0120466910302639,
-0.012266220524907112,
0.03607604280114174,
0.03395392373204231,
-0.010903307236731052,
0.004075019620358944,
-0.024678794667124748,
-0.06600525975227356,
0.0090052904561162,
0.005053756292909384,
-0.035929691046476364,
-0.04489381983876228,
-0.002924775704741478,
-0.00452322605997324,
0.027880270034074783,
-0.022812793031334877,
0.010491689667105675,
0.04189357906579971,
-0.09190975874662399,
0.01508351881057024,
0.0804942175745964,
0.003306665923446417,
-0.005973036866635084,
-0.019355200231075287,
0.03845428302884102,
-0.06563937664031982,
0.008982422761619091,
-0.034740570932626724,
-0.009549541398882866,
-0.017644697800278664,
-0.014168811030685902,
0.06951773166656494,
0.004189358092844486,
-0.03011215478181839,
-0.038710400462150574,
-0.014617017470300198,
0.048003822565078735,
-0.004628417547792196,
-0.013921840116381645,
-0.07500597089529037,
0.05835830792784691,
0.0306243896484375,
0.03697245568037033,
0.04123499244451523,
0.054443359375,
0.002531451638787985,
-0.039149459451436996,
-0.005950169172137976,
-0.029673095792531967,
0.021221201866865158,
-0.03719198703765869,
-0.01922714151442051,
0.01887955330312252,
-0.054297007620334625,
-0.0174434632062912,
-0.0294901542365551,
-0.026416737586259842,
-0.03962510824203491,
0.04782088100910187,
-0.04430840536952019,
0.0012725861743092537,
0.04588170349597931,
0.009512952528893948,
-0.048516061156988144,
0.013857810758054256,
-0.004621556960046291,
0.02187979221343994,
0.01327239815145731,
0.005030888598412275,
-0.038015224039554596,
-0.05147970840334892,
0.02144073136150837,
0.011461278423666954,
-0.001126804738305509,
-0.06388314068317413,
-0.002262756461277604,
-0.04149110987782478,
-0.010317894630134106,
0.06871279329061508,
-0.0601145438849926,
-0.01939178816974163,
-0.011982661671936512,
0.02824615314602852,
0.017617257311940193,
-0.013958428986370564,
-0.0331672765314579,
-0.03373439610004425,
0.06878596544265747,
-0.009233967401087284,
-0.059638895094394684,
0.04983323812484741,
-0.00866684876382351,
0.04869899898767471,
0.0036954162642359734,
-0.030606096610426903,
0.019355200231075287,
0.032289158552885056,
-0.025593502447009087,
0.02813638746738434,
0.04654029384255409,
0.0725911483168602,
0.05495559796690941,
0.0379786342382431,
0.0009947438957169652,
0.037685927003622055,
0.029270624741911888,
0.017132462933659554,
-0.052431005984544754,
0.01381207536906004,
-0.019483258947730064,
-0.021934673190116882,
-0.00500344717875123,
-0.06315137445926666,
0.0040155635215342045,
0.04064957797527313,
-0.029398683458566666,
-0.037411514669656754,
0.02767903357744217,
0.007587494794279337,
-0.035069867968559265,
-0.0007512031006626785,
0.004802211653441191,
-0.05352865532040596,
-0.03391733393073082,
0.01755322702229023,
-0.03356974571943283,
0.007157582323998213,
0.00020094969659112394,
0.034795455634593964,
-0.04174722731113434,
-0.015668930485844612,
0.03174033388495445
]
|
43,913 | iso4217 | parse_table | Parse an ISO 4217 XML table data and then return raw table as
a dictionary.
| def parse_table(tree):
"""Parse an ISO 4217 XML table data and then return raw table as
a dictionary.
"""
table = {}
for node in tree.findall('CcyTbl/CcyNtry'):
ctry_nm = node.find('CtryNm')
if ctry_nm is not None:
ctry_nm = ctry_nm.text.strip()
ccy_nm = node.find('CcyNm')
if ccy_nm is not None:
ccy_nm = ccy_nm.text.strip()
ccy = node.find('Ccy')
if ccy is not None:
ccy = ccy.text.strip()
ccy_nbr = node.find('CcyNbr')
if ccy_nbr is not None:
ccy_nbr = int(ccy_nbr.text.strip())
ccy_mnr_unts = node.find('CcyMnrUnts')
if ccy_mnr_unts is not None:
ccy_mnr_unts = ccy_mnr_unts.text.strip()
try:
ccy_dict = table[ccy]
except KeyError:
table[ccy] = {
'CtryNm': set([ctry_nm]),
'CcyNm': ccy_nm,
'Ccy': ccy,
'CcyNbr': ccy_nbr,
'CcyMnrUnts': ccy_mnr_unts,
}
else:
ccy_dict['CtryNm'].add(ctry_nm)
return table
| (tree) | [
0.012880903668701649,
0.022013947367668152,
-0.008167685009539127,
-0.04792718216776848,
-0.04205932095646858,
-0.01938287355005741,
-0.03134573996067047,
0.04883575439453125,
0.051447901874780655,
-0.07798577845096588,
-0.016259657219052315,
0.04152932018041611,
-0.05406004562973976,
0.041945748031139374,
-0.007902685552835464,
-0.0672343447804451,
-0.008792328648269176,
0.035945385694503784,
-0.030702168121933937,
-0.025780735537409782,
-0.025004664435982704,
-0.006113933864980936,
-0.007065095007419586,
0.023982519283890724,
-0.01741429977118969,
-0.0038472353480756283,
-0.0021353813353925943,
-0.013685368932783604,
0.07329148799180984,
-0.04580718278884888,
-0.00606187991797924,
0.010704115964472294,
-0.03821681812405586,
0.009123578667640686,
-0.008418489247560501,
-0.01942072995007038,
0.018067335709929466,
-0.059095051139593124,
-0.0058016120456159115,
0.03051288239657879,
-0.016836978495121002,
-0.0401664637029171,
-0.03445002809166908,
-0.025988949462771416,
-0.03800860419869423,
0.007883756421506405,
-0.020423945039510727,
-0.01200072467327118,
-0.0041950480081140995,
-0.01612715609371662,
-0.01682751439511776,
0.00010211085464106873,
0.022525018081068993,
-0.00888697151094675,
-0.0020194435492157936,
-0.03286002576351166,
-0.06806720048189163,
0.035718243569135666,
0.037592172622680664,
0.0012256259797140956,
-0.004258932080119848,
0.0495171844959259,
-0.05000932887196541,
0.02754109352827072,
-0.03821681812405586,
-0.028525380417704582,
0.05322718620300293,
-0.05667218938469887,
-0.009473757818341255,
0.0027541094459593296,
-0.028336094692349434,
0.022297875955700874,
0.026348592713475227,
0.031875740736722946,
0.03079681098461151,
-0.015530905686318874,
-0.03844396024942398,
-0.06503862887620926,
-0.016562514007091522,
0.03346574306488037,
-0.058110762387514114,
-0.0072685773484408855,
0.06360005587339401,
0.009686704725027084,
0.053492188453674316,
0.057845763862133026,
0.09138721972703934,
0.0583757646381855,
-0.03197038546204567,
0.12394438683986664,
0.008304917253553867,
-0.032500382512807846,
-0.05277290195226669,
0.005200629122555256,
0.014527690596878529,
0.016609834507107735,
0.015265905298292637,
0.02294144779443741,
-0.03781931847333908,
-0.023679662495851517,
0.03683502972126007,
0.019439660012722015,
-0.039447177201509476,
-0.039560746401548386,
-0.026064664125442505,
-0.019070550799369812,
-0.02318751998245716,
0.03664574399590492,
0.055763617157936096,
-0.017310192808508873,
-0.1125115230679512,
-0.06704505532979965,
0.035869672894477844,
-0.017385907471179962,
0.05296218767762184,
-0.10213865339756012,
-0.007013041526079178,
-0.007178666535764933,
-0.017206085845828056,
-0.038141101598739624,
0.04009074717760086,
0.0005359156057238579,
-0.02761680819094181,
0.038652174174785614,
-0.02710573747754097,
0.0020750463008880615,
0.046299323439598083,
-0.012019652873277664,
0.057012904435396194,
0.05095575749874115,
-0.00599089777097106,
-0.003447368973866105,
0.044065751135349274,
-0.014716976322233677,
0.005607593804597855,
-0.04092360660433769,
0.01200072467327118,
0.02530752122402191,
0.010836616158485413,
-0.04118860512971878,
0.03361717239022255,
-0.043990038335323334,
-0.019950730726122856,
-0.05334075912833214,
0.039560746401548386,
0.007377416826784611,
-0.031194312497973442,
0.020802516490221024,
-0.031005026772618294,
-0.02557252161204815,
-0.07514648884534836,
-0.03479074314236641,
-0.050463613122701645,
-0.0005616466514766216,
0.023282162845134735,
-0.025913236662745476,
-0.009644115343689919,
-0.061215050518512726,
0.017915908247232437,
0.00835697166621685,
-0.014593941159546375,
0.054703615605831146,
-0.020386088639497757,
-0.06390290707349777,
-0.007822238840162754,
0.0021992651745676994,
-0.05084218457341194,
-0.06678005307912827,
-0.004779468290507793,
-0.08987293392419815,
0.002945761429145932,
0.02403930574655533,
-0.055801473557949066,
0.04588289558887482,
-0.020878231152892113,
-0.031402524560689926,
0.025212878361344337,
0.017622515559196472,
-0.021502874791622162,
-0.01108268741518259,
0.004864647053182125,
0.04467146471142769,
-0.027332879602909088,
0.0980500802397728,
0.016420548781752586,
-0.018938051536679268,
0.059132907539606094,
-0.013439296744763851,
0.05330290272831917,
-0.010325544513761997,
-0.014679118990898132,
-0.03471503034234047,
0.00585366552695632,
0.04020432010293007,
0.07950006425380707,
-0.013808404095470905,
0.06802934408187866,
0.06651505827903748,
-0.053643617779016495,
0.01823769323527813,
-0.008442149497568607,
-0.02483430691063404,
0.021162159740924835,
0.06996005773544312,
-0.007296970579773188,
-0.038065388798713684,
-0.019080016762018204,
-0.01749001443386078,
-0.08979722112417221,
0.023206448182463646,
0.021048588678240776,
-0.01060947310179472,
-0.010817687958478928,
-0.00792161375284195,
-0.009275007992982864,
-0.019818231463432312,
-0.06556862592697144,
0.004684825427830219,
-0.017111442983150482,
-0.04906289651989937,
-0.006421523168683052,
0.017045192420482635,
0.027976451441645622,
-0.11160294711589813,
0.015123941004276276,
-0.04584503918886185,
0.015606620348989964,
0.0435357503592968,
0.02612145058810711,
0.0132216177880764,
-0.012928225100040436,
-0.02585645020008087,
0.007874292321503162,
-0.008489470928907394,
0.030153239145874977,
-0.04122646152973175,
0.03325752913951874,
-0.02996395342051983,
0.05856505036354065,
-0.04645075276494026,
0.020461803302168846,
-0.07049006223678589,
-0.03713788837194443,
-0.051599327474832535,
-0.026783950626850128,
-0.007973667234182358,
0.02439894899725914,
0.011934474110603333,
-0.07866720855236053,
0.013041796162724495,
-0.0070982202887535095,
-0.06787791103124619,
0.07230720669031143,
0.010618937201797962,
0.002181519754230976,
-0.055763617157936096,
-0.037478603422641754,
0.04985789954662323,
0.01855001598596573,
-0.05118289962410927,
0.026026807725429535,
-0.04588289558887482,
0.009606258012354374,
-0.01827555149793625,
0.02462609112262726,
-0.01349608227610588,
0.00172131834551692,
-0.026348592713475227,
-0.051523614674806595,
-0.006923130713403225,
0.08116578310728073,
-0.006771702319383621,
0.002884243382140994,
-0.0031279490794986486,
-0.013344653882086277,
0.005673843901604414,
0.05303790047764778,
-0.008953222073614597,
-0.036702532321214676,
0.004921432584524155,
-0.019401801750063896,
-0.029566453769803047,
-0.03424181416630745,
0.045012179762125015,
-0.016250191256403923,
-0.0874500721693039,
-0.04251360520720482,
-0.016742335632443428,
0.018616264685988426,
-0.008091971278190613,
-0.031156454235315323,
-0.0055129509419202805,
-0.06837005913257599,
0.02074573189020157,
0.008508400060236454,
0.002552993129938841,
-0.00978607963770628,
-0.036778245121240616,
0.010902865789830685,
-0.007164470385760069,
0.014158583246171474,
-0.011745188385248184,
0.09297721832990646,
0.013070189394056797,
0.018928587436676025,
0.04800289869308472,
-0.0062275053933262825,
0.032462526112794876,
-0.004911968484520912,
-0.01615554839372635,
0.02282787673175335,
-0.011943938210606575,
-0.032102882862091064,
-0.013117510825395584,
-0.05773219093680382,
0.007211791817098856,
-0.04705646634101868,
-0.014016618952155113,
0.04126432165503502,
0.060230765491724014,
-0.023036090657114983,
-0.026613593101501465,
0.03369288519024849,
0.01953430287539959,
0.035604674369096756,
-0.05523361638188362,
0.09365864843130112,
-0.025477878749370575,
0.04338432103395462,
0.005053932778537273,
-0.0036413869820535183,
-0.020859302952885628,
0.005607593804597855,
0.02886609546840191,
0.029093239456415176,
0.02699216455221176,
-0.01957215927541256,
-0.05277290195226669,
-0.07620649039745331,
-0.011518045328557491,
0.02973681129515171,
0.018105193972587585,
0.034222885966300964,
-0.07688792049884796,
0.02290359139442444,
-0.040658604353666306,
-0.03651324659585953,
-0.01662876456975937,
0.02121894620358944,
0.014234297908842564,
-0.025118235498666763,
0.0025790201034396887,
0.025742879137396812,
0.09032721817493439,
0.030096454545855522,
0.046299323439598083,
0.014092333614826202,
0.01378947589546442,
0.015199655666947365,
0.017556264996528625,
0.06943006068468094,
0.0020525685977190733,
-0.01604197733104229,
-0.02886609546840191,
0.0217678751796484,
-0.04308146610856056,
0.016023049131035805,
0.06254005432128906,
0.003584601217880845,
0.025515735149383545,
0.0044695124961435795,
0.00035727708018384874,
-0.010505366139113903,
-0.00888697151094675,
0.018133586272597313,
0.028449665755033493,
0.025175021961331367,
0.03287895768880844,
-0.012767331674695015,
-0.041945748031139374,
0.06447076797485352,
0.008957954123616219,
-0.015474120154976845,
0.004048351664096117,
-0.009308132342994213,
-0.10221437364816666,
0.020291445776820183,
0.04319503530859947,
-0.05216718465089798,
-0.023868948221206665,
-0.005408843979239464,
0.03157288208603859,
0.03727038949728012,
0.00606187991797924,
0.06500076502561569,
0.03781931847333908,
0.05129647254943848,
-0.07590363174676895,
-0.040734320878982544,
-0.006904202047735453,
-0.04217289388179779,
-0.041718605905771255,
0.0013403806369751692,
0.015010369941592216,
-0.013155368156731129,
-0.0024441538844257593,
0.02173001877963543,
-0.021673232316970825,
0.008115631528198719,
-0.02706787921488285,
-0.011622152291238308,
0.015710728242993355,
0.014773762784898281,
-0.03176216781139374,
-0.002957591786980629,
0.029358237981796265,
0.027332879602909088,
0.016183942556381226,
0.021502874791622162,
-0.03174323961138725,
-0.012455010786652565,
-0.003849601373076439,
-0.03395788371562958,
0.08078721165657043,
0.04743503779172897,
-0.02483430691063404,
0.027162522077560425,
-0.021370375528931618,
0.005688040517270565,
0.02420966327190399,
0.033011455088853836,
-0.014773762784898281,
-0.0304371677339077,
-0.1022900864481926,
0.04849503934383392,
-0.011612688191235065,
-0.0037029047962278128,
-0.03401467204093933,
0.04633717983961105,
0.043838609009981155,
-0.053757186979055405,
0.05826219171285629,
0.025231806561350822,
-0.008144024759531021,
0.031042883172631264,
-0.012710546143352985,
0.0022075464949011803,
-0.013117510825395584,
-0.03388217091560364,
-0.02067001722753048,
-0.011395009234547615,
-0.020367160439491272,
0.026026807725429535,
-0.05708862096071243,
-0.026102522388100624,
0.053605757653713226,
0.007263845298439264,
0.04807861149311066,
0.010022686794400215,
0.05610433220863342,
-0.0022051804699003696,
0.031553953886032104,
0.11607009917497635,
0.005200629122555256,
-0.010249829851090908,
0.029680024832487106,
-0.04258932173252106,
0.010590544901788235,
0.013108046725392342,
-0.04876004159450531,
-0.034733958542346954,
-0.005366254597902298,
-0.022619660943746567,
0.0020632159430533648,
0.013874654658138752,
-0.02809002436697483,
-0.033200740814208984,
-0.05557433143258095,
-0.01949644461274147,
-0.044103607535362244,
0.01957215927541256,
0.011480187997221947,
0.022600732743740082,
-0.03562360256910324,
-0.03310609981417656,
0.007973667234182358,
0.03588860109448433,
-0.05742933228611946,
-0.07276149094104767,
-0.0234525203704834,
-0.08404292911291122,
-0.014272155240178108,
-0.0021353813353925943,
0.016600370407104492,
0.018568944185972214,
-0.0041264318861067295,
0.017707692459225655,
0.016884298995137215,
-0.03039931133389473,
-0.0017970327753573656,
0.038538604974746704,
-0.00620857672765851,
-0.04595860838890076,
0.010779830627143383,
-0.012369832023978233,
0.06197219341993332,
-0.012066974304616451,
0.04535289481282234,
0.020367160439491272,
-0.029680024832487106,
0.0035987976007163525,
-0.009525811299681664,
0.031364668160676956,
0.017007336020469666,
-0.047245752066373825,
-0.013988225720822811,
0.020953945815563202,
-0.016808586195111275,
-0.0035987976007163525,
0.023660734295845032,
0.0010753803653642535,
0.02721930854022503,
0.02977466769516468,
0.04788932576775551,
-0.007803310174494982,
0.08851007372140884,
0.011205723509192467,
0.04845718294382095,
0.019628945738077164,
-0.06916505843400955,
-0.022506089881062508,
-0.027635738253593445,
-0.01772662252187729,
-0.05512004718184471,
0.008707149885594845,
-0.04160503298044205,
0.07503291964530945,
-0.02352823317050934,
-0.01772662252187729,
0.0006879358552396297,
0.019761445000767708,
-0.027200380340218544,
0.020291445776820183,
-0.009625186212360859,
0.03479074314236641,
0.026310736313462257,
-0.05110718682408333,
-0.00004957663259119727,
-0.02776823751628399,
0.047321468591690063,
-0.007117148954421282,
0.008110899478197098,
0.07616863399744034,
-0.03840610384941101,
0.0013877020683139563,
0.023168589919805527,
0.011688402853906155,
-0.04092360660433769,
-0.02922573871910572,
-0.03672146052122116,
0.013978761620819569,
-0.03607788681983948,
-0.025515735149383545,
0.010505366139113903,
0.026783950626850128,
0.023831091821193695,
0.020953945815563202,
0.03675931692123413,
-0.019439660012722015,
0.032102882862091064,
-0.02670823596417904,
0.0010422553168609738,
0.04209717735648155,
-0.012019652873277664,
-0.020329302176833153,
-0.05648290365934372,
-0.06484933942556381,
-0.027238236740231514,
0.02341466210782528,
-0.03675931692123413,
0.05061504244804382,
-0.004114601761102676,
0.02074573189020157,
0.028033237904310226,
0.06503862887620926,
0.035680387169122696,
-0.032386813312768936,
0.06064719334244728,
0.036380745470523834,
-0.033749669790267944,
-0.005915183573961258,
-0.11046723276376724,
-0.005460897460579872,
0.027446450665593147,
-0.028922881931066513,
0.00916143599897623,
-0.0264432355761528,
0.026140378788113594,
-0.052545759826898575,
-0.01695054955780506,
-0.038538604974746704,
0.029396096244454384,
0.017622515559196472,
-0.022960375994443893,
0.023471448570489883,
-0.0005196488928049803,
0.09229578822851181,
0.007353756111115217,
-0.0015261173248291016,
-0.004443485755473375,
0.022581804543733597,
-0.022335732355713844,
0.026329664513468742,
-0.008674025535583496,
-0.007505184970796108,
-0.03753538802266121,
-0.00821973942220211,
-0.04573146626353264,
-0.04463360831141472,
-0.019165193662047386,
-0.041794322431087494,
0.030096454545855522,
-0.005276343785226345,
0.04569360986351967,
-0.01094072312116623,
0.0022950912825763226,
0.0334278866648674,
0.013959833420813084,
0.02004537358880043,
-0.04262717813253403,
0.062275052070617676,
-0.022222161293029785,
-0.02886609546840191,
-0.016657156869769096,
-0.03094824030995369,
0.05417361855506897,
0.042778607457876205,
-0.0073868813924491405,
0.004493173211812973,
0.052621472626924515,
0.016288049519062042,
0.026746094226837158,
0.0037833512760698795,
0.016600370407104492,
0.013448760844767094,
0.03106181137263775,
-0.014092333614826202,
-0.05542290210723877,
0.007367952726781368,
-0.00627482682466507,
-0.002425225218757987,
0.03549110144376755,
0.03604003041982651,
0.003908753395080566,
-0.009805007837712765,
0.04202146455645561,
-0.038614317774772644,
-0.017348051071166992,
-0.002519868081435561,
0.05826219171285629,
-0.009852329269051552,
-0.05557433143258095,
0.011111080646514893,
0.026575736701488495,
0.0553850457072258,
-0.02589430660009384,
0.058943621814250946,
0.03691074624657631,
-0.048267897218465805,
-0.006047683767974377,
0.008437417447566986,
0.058981478214263916,
0.05406004562973976,
-0.01781180128455162,
-0.009393311105668545,
0.003146877745166421,
0.005394647363573313,
0.013089118525385857,
0.03764896094799042,
0.032651811838150024,
0.03325752913951874,
0.08866149932146072,
0.030645383521914482,
-0.006449915934354067,
-0.0018893096130341291,
0.019912874326109886,
-0.026235021650791168,
-0.021465018391609192,
0.0020549348555505276,
-0.07563863694667816,
0.0035514761693775654,
-0.041718605905771255,
-0.02157858945429325,
0.05512004718184471,
0.0006006868788972497,
-0.0005362113588489592,
0.005219557788223028,
0.035055745393037796,
0.01718715764582157,
0.035756099969148636,
0.0213325172662735,
-0.03450681269168854,
0.006852148566395044,
0.02721930854022503,
0.03321966901421547,
-0.0034355386160314083,
0.004384334199130535,
0.005891522858291864,
0.00040933070704340935,
0.04096146300435066,
-0.012057510204613209,
0.016458407044410706,
-0.05311361700296402,
0.009364918805658817,
-0.004665896762162447,
0.043838609009981155,
-0.022184304893016815,
0.00016000571486074477,
-0.04035574942827225,
-0.04149146378040314,
0.03621038794517517,
-0.0051154508255422115,
0.03914431855082512,
0.10456151515245438,
-0.008626703172922134,
0.09032721817493439,
0.030702168121933937,
-0.010032150894403458,
-0.03327645733952522,
0.007642417214810848,
0.021635375916957855,
-0.001283594872802496,
-0.02462609112262726,
-0.05000932887196541,
-0.014754833653569221,
-0.05095575749874115,
-0.003975003492087126,
0.0020277248695492744,
0.006871077232062817,
-0.006430987734347582,
-0.014272155240178108,
-0.00316817220300436,
-0.00025183893740177155,
0.03922003135085106,
-0.053795043379068375,
0.027484308928251266,
0.002593216486275196,
0.011499117128551006,
0.015057691372931004,
0.06575791537761688,
-0.026197165250778198,
0.06363791227340698,
0.009275007992982864,
0.02118108980357647,
0.0014716977020725608,
-0.026253949850797653,
0.02670823596417904,
-0.015937870368361473,
-0.049365755170583725,
0.02831716649234295,
0.03880360350012779,
0.04539075121283531,
-0.02867680974304676,
0.013032332062721252,
0.034109313040971756,
-0.010458044707775116,
0.044141463935375214,
0.029131095856428146
]
|
43,914 | iso4217 | update_enum_dict | Since :mod:`enum` module's class-level locals dictionary is
not an ordinary Python :class:`dict`, so leaking local variables
make unexpected behaviors.
This function takes a ``locals_`` dictionary and then add
all available enumerants to this.
| def update_enum_dict(locals_, raw_table):
"""Since :mod:`enum` module's class-level locals dictionary is
not an ordinary Python :class:`dict`, so leaking local variables
make unexpected behaviors.
This function takes a ``locals_`` dictionary and then add
all available enumerants to this.
"""
enumerants = {}
for code, _ccy_ntry in raw_table.items():
if _ccy_ntry['CcyNbr'] is None:
continue
minor_units = _ccy_ntry.get('CcyMnrUnts', '')
if not minor_units.isdigit() and minor_units != 'N.A.':
continue
lcode = code.lower()
if lcode in ('mro',):
lcode += '_'
enumerants[lcode] = code
for code, enumerant in enumerants.items():
locals_[code] = enumerant
| (locals_, raw_table) | [
0.0036572893150150776,
-0.019517680630087852,
-0.06463410705327988,
-0.014620053581893444,
-0.02392372488975525,
-0.04617242515087128,
0.01382805872708559,
-0.013946402817964554,
-0.036923374980688095,
-0.054037757217884064,
-0.03950873762369156,
-0.021465808153152466,
0.009831667877733707,
0.06437921524047852,
-0.021283740177750587,
-0.008998706936836243,
-0.03348229080438614,
0.05811607837677002,
-0.03663206472992897,
-0.07894464582204819,
0.005807966459542513,
0.012908615171909332,
-0.02610853873193264,
0.023960137739777565,
0.00030837752274237573,
0.04398760944604874,
-0.012116620317101479,
-0.006317756604403257,
0.03386463224887848,
-0.08142077177762985,
0.010632766410708427,
0.054693203419446945,
-0.05170729011297226,
-0.003111085621640086,
0.01886223629117012,
-0.07027821242809296,
-0.02175711654126644,
-0.0050614881329238415,
-0.05392851680517197,
0.0153028080239892,
0.02694605104625225,
-0.03976363316178322,
0.0050614881329238415,
0.02738301455974579,
0.008884914219379425,
-0.021920977160334587,
-0.0030450858175754547,
-0.04362347349524498,
0.09635034203529358,
-0.02206663228571415,
0.013991919346153736,
-0.047701794654130936,
0.05797042325139046,
0.013554956763982773,
-0.006003689486533403,
0.02488868497312069,
-0.05338231474161148,
-0.01446529570966959,
-0.015093429945409298,
0.0153028080239892,
-0.030459962785243988,
0.014774811454117298,
-0.04751972481608391,
-0.041657138615846634,
-0.0015088878571987152,
-0.058480214327573776,
-0.0064725144766271114,
0.0038211503997445107,
-0.02110167220234871,
0.009089740924537182,
-0.010787524282932281,
0.011078832671046257,
0.040892455726861954,
-0.02738301455974579,
0.03091513179242611,
-0.008438847959041595,
-0.04919474944472313,
-0.03541221097111702,
-0.0020744362846016884,
0.021647876128554344,
0.024488134309649467,
-0.029294727370142937,
0.021848149597644806,
0.044242504984140396,
-0.0005968413897790015,
0.041657138615846634,
0.05611333250999451,
-0.009777046740055084,
-0.008548088371753693,
-0.000374661642126739,
0.01087855827063322,
0.021502221003174782,
-0.058152493089437485,
0.0078107137233018875,
0.018261412158608437,
-0.017669690772891045,
0.0041124592535197735,
0.022594628855586052,
-0.04835723713040352,
-0.04828441143035889,
0.002002747030928731,
-0.07938161492347717,
-0.05127032473683357,
-0.06416073441505432,
0.0007538749487139285,
-0.019663335755467415,
0.010013735853135586,
-0.04832082614302635,
-0.010987798683345318,
0.0220120120793581,
-0.06965918838977814,
-0.07464784383773804,
0.022667456418275833,
0.005557623226195574,
0.012635513208806515,
-0.0036663927603513002,
-0.009203533641994,
-0.012599099427461624,
0.06700099259614944,
0.029476795345544815,
-0.02252180129289627,
0.02732839435338974,
0.004367354325950146,
-0.000052273404435254633,
0.026782190427184105,
0.015703357756137848,
0.030259687453508377,
0.015921838581562042,
0.06234005466103554,
0.04460664093494415,
-0.0009729254525154829,
-0.016704730689525604,
-0.00046057492727413774,
0.016213148832321167,
0.04074680060148239,
0.016513559967279434,
-0.049631714820861816,
0.02188456431031227,
0.0168685931712389,
0.03395566716790199,
0.012644616886973381,
0.030933339148759842,
-0.006508928257972002,
0.0022917799651622772,
0.02765611745417118,
0.044934362173080444,
-0.0016158528160303831,
0.10370588302612305,
-0.06882167607545853,
0.0034023942425847054,
0.008224918507039547,
-0.024160413071513176,
-0.06583575904369354,
0.07887182384729385,
-0.011351934634149075,
-0.0030837752856314182,
-0.01924457959830761,
-0.042749546468257904,
-0.031661611050367355,
0.030696650967001915,
-0.054875269532203674,
0.04584470018744469,
-0.015694255009293556,
-0.05869869515299797,
-0.01035966444760561,
0.003213498741388321,
-0.031151819974184036,
-0.09147091954946518,
-0.01988181658089161,
-0.0466822125017643,
-0.014538123272359371,
-0.06284984201192856,
0.026254193857312202,
0.03475676476955414,
0.03142492100596428,
-0.033591531217098236,
-0.0022326079197227955,
-0.08040118962526321,
-0.006040103267878294,
0.014155780896544456,
0.0122531708329916,
0.02771073766052723,
-0.03251732885837555,
-0.01880761608481407,
0.015739770606160164,
-0.013746127486228943,
0.020154917612671852,
-0.017933689057826996,
0.058480214327573776,
-0.03259015828371048,
0.00910794734954834,
-0.001324544078670442,
0.0006150481640361249,
0.032808639109134674,
-0.015767082571983337,
-0.012034689076244831,
-0.029677070677280426,
0.022248700261116028,
-0.060592204332351685,
-0.012389721348881721,
-0.044497400522232056,
0.021119877696037292,
0.01450170949101448,
0.03353691101074219,
-0.01988181658089161,
-0.004765627905726433,
0.01827961951494217,
-0.0574970468878746,
0.05986393243074417,
-0.007783403620123863,
-0.009062430821359158,
-0.006900373846292496,
0.001805886160582304,
-0.014401571825146675,
-0.05829814821481705,
0.020063884556293488,
0.00354577274993062,
0.03355511650443077,
0.00811112578958273,
0.009057878516614437,
-0.019717955961823463,
0.011506692506372929,
0.022157665342092514,
-0.11331906914710999,
0.020118504762649536,
-0.09540358930826187,
-0.07384674996137619,
0.0361768938601017,
-0.06019165366888046,
0.006640927400439978,
-0.0232864860445261,
-0.02712811902165413,
-0.06860318779945374,
-0.008561743423342705,
-0.03441083803772926,
0.04850289225578308,
0.03158878535032272,
-0.025835437700152397,
-0.019590508192777634,
0.04985019564628601,
-0.02175711654126644,
0.00818395335227251,
0.011115246452391148,
0.005525761283934116,
-0.012071102857589722,
-0.02104705199599266,
0.0489034429192543,
0.028967006132006645,
-0.046026770025491714,
0.012007378973066807,
-0.038780465722084045,
-0.017788035795092583,
-0.020191332325339317,
0.05651388317346573,
-0.02366882935166359,
0.011788897216320038,
-0.04682786762714386,
0.07344619929790497,
-0.0026741225738078356,
-0.055967677384614944,
-0.001381440320983529,
-0.005102453287690878,
0.018234102055430412,
-0.018580030649900436,
0.019590508192777634,
0.003284050151705742,
0.03614048287272453,
0.02175711654126644,
-0.03701440617442131,
-0.046099595725536346,
-0.019936436787247658,
0.005566726438701153,
-0.01604018360376358,
0.040892455726861954,
0.013764334842562675,
0.04351423308253288,
0.04580828920006752,
-0.032881464809179306,
-0.01854361779987812,
-0.024597374722361565,
0.00604465464130044,
-0.019645128399133682,
-0.013127096928656101,
0.04322292283177376,
0.01668652519583702,
0.007014166563749313,
-0.04908550903201103,
0.013017856515944004,
0.014064746908843517,
-0.031333889812231064,
0.02348676137626171,
-0.027219153940677643,
0.018971476703882217,
0.034920625388622284,
0.08025553822517395,
-0.001507749897427857,
-0.02237614616751671,
-0.0006656858022324741,
0.039545152336359024,
0.05567637085914612,
-0.007787954993546009,
0.02252180129289627,
0.05094260349869728,
0.024906890466809273,
-0.020682916045188904,
-0.06681892275810242,
0.028275147080421448,
0.008438847959041595,
-0.005635002162307501,
-0.012489859014749527,
0.0064087905921041965,
0.05425623804330826,
0.039363082498311996,
-0.0005160487489774823,
0.007719679735600948,
-0.04952247440814972,
-0.06357811391353607,
-0.02277669683098793,
0.02534385398030281,
0.049813780933618546,
0.001939023262821138,
0.01937202550470829,
0.0006190309068188071,
0.008994155563414097,
-0.02417861856520176,
-0.013209027238190174,
0.07836203277111053,
0.04697352275252342,
0.037360336631536484,
-0.07530329376459122,
-0.07064235210418701,
-0.07115214318037033,
0.008443399332463741,
0.023759862408041954,
0.034738559275865555,
0.01809755153954029,
-0.011297314427793026,
-0.023395728319883347,
-0.011970965191721916,
-0.0168685931712389,
-0.009858977980911732,
0.04486153647303581,
-0.023268280550837517,
-0.03765164688229561,
-0.024488134309649467,
-0.01744210720062256,
0.014620053581893444,
0.048721373081207275,
0.02508895844221115,
0.0021040223073214293,
-0.05185294151306152,
-0.017942793667316437,
0.020810363814234734,
0.046609386801719666,
0.001698921201750636,
0.017860863357782364,
0.05130673944950104,
-0.09212636947631836,
0.013045166619122028,
0.005807966459542513,
0.05130673944950104,
0.03401028737425804,
-0.022121252492070198,
-0.029149074107408524,
-0.002485227072611451,
-0.07333695888519287,
-0.00878477655351162,
-0.009631392545998096,
0.06951352953910828,
-0.004970454145222902,
-0.007405612617731094,
0.012599099427461624,
0.0360676534473896,
0.060337308794260025,
0.030951546505093575,
0.02629060670733452,
0.007523956708610058,
0.038197848945856094,
-0.038015782833099365,
-0.0019481267081573606,
0.05119749903678894,
-0.004720110911875963,
-0.026454469189047813,
0.027619702741503716,
0.01494777575135231,
-0.02778356336057186,
0.08127512037754059,
0.039290256798267365,
-0.03899894654750824,
0.03189829736948013,
-0.02656370960175991,
-0.003106533782556653,
0.049813780933618546,
0.028402594849467278,
0.05804325267672539,
0.01109704002737999,
-0.0294403824955225,
-0.05542147532105446,
-0.023377520963549614,
-0.010022838599979877,
0.03994569927453995,
-0.01572156511247158,
-0.015375635586678982,
-0.008202159777283669,
0.008579950779676437,
-0.022740282118320465,
0.03375539183616638,
-0.002594467718154192,
0.0053118313662707806,
-0.022976970300078392,
-0.028712110593914986,
0.04748331382870674,
0.007542163599282503,
-0.029531415551900864,
-0.03921743109822273,
0.007209889590740204,
0.031661611050367355,
-0.08447951078414917,
0.0757402554154396,
0.004103355575352907,
0.04697352275252342,
-0.04154789820313454,
-0.01931740529835224,
0.0880480483174324,
0.010478008538484573,
-0.03719647601246834,
0.01783355325460434,
-0.022357940673828125,
-0.026927845552563667,
0.016959626227617264,
0.02918548695743084,
0.0008175987168215215,
0.04835723713040352,
-0.066199891269207,
0.034993454813957214,
-0.012990545481443405,
0.010796627961099148,
-0.009695116430521011,
-0.012872201390564442,
0.05447472259402275,
-0.03091513179242611,
0.016076596453785896,
-0.014401571825146675,
0.022357940673828125,
-0.00617210241034627,
-0.017241831868886948,
-0.048466481268405914,
0.01552128978073597,
-0.004089700523763895,
-0.006486169528216124,
-0.02379627712070942,
-0.011697864159941673,
-0.01828872226178646,
-0.06234005466103554,
0.02565336972475052,
0.019608715549111366,
-0.044424571096897125,
0.05960903689265251,
0.028402594849467278,
-0.007278164848685265,
0.034993454813957214,
0.010468904860317707,
0.021702496334910393,
0.028693903237581253,
0.041802793741226196,
0.06984125077724457,
0.004171631298959255,
-0.044242504984140396,
-0.0008733570575714111,
-0.0008175987168215215,
0.004988661035895348,
0.07486632466316223,
0.03581275790929794,
-0.02053726091980934,
-0.032426297664642334,
-0.009048775769770145,
-0.006718306336551905,
-0.0008801845833659172,
-0.060774270445108414,
-0.07508480548858643,
0.11331906914710999,
0.032936085015535355,
0.05152522027492523,
-0.036668479442596436,
-0.005571278277784586,
0.028238734230399132,
0.027109913527965546,
0.018971476703882217,
-0.022995177656412125,
0.03430159389972687,
-0.04508001729846001,
-0.03117002733051777,
-0.0022018838208168745,
0.02359600178897381,
0.031078994274139404,
-0.026600122451782227,
0.008124780841171741,
0.0032089471351355314,
0.046281665563583374,
-0.011315520852804184,
0.06456128507852554,
-0.022285113111138344,
-0.003919011913239956,
0.025999298319220543,
-0.03652282431721687,
0.05218066647648811,
-0.015229981392621994,
0.006035551428794861,
0.0034228768199682236,
-0.005899000447243452,
0.03424697369337082,
0.001999333268031478,
0.059244900941848755,
-0.06430638581514359,
0.03408311307430267,
0.001253992784768343,
0.008138435892760754,
-0.03222602233290672,
0.024488134309649467,
0.03863481059670448,
-0.023049797862768173,
-0.011342830955982208,
0.07071518152952194,
0.021010637283325195,
-0.0306056160479784,
0.07566742599010468,
-0.023268280550837517,
0.02039160765707493,
0.012271377258002758,
-0.012180343270301819,
-0.002187090925872326,
-0.006736512761563063,
-0.011342830955982208,
-0.0171872116625309,
0.00548479612916708,
-0.01784265600144863,
0.07879899442195892,
-0.04835723713040352,
-0.0029017075430601835,
0.044169675558805466,
0.020956017076969147,
0.019535887986421585,
0.0294403824955225,
0.0052344524301588535,
0.034283388406038284,
-0.031916506588459015,
-0.024269653484225273,
-0.03939949721097946,
-0.006426997482776642,
-0.0030951546505093575,
-0.04260389134287834,
-0.0012596823507919908,
-0.008220366202294827,
-0.015020603314042091,
-0.08025553822517395,
-0.03983645886182785,
0.03206216171383858,
-0.07024180144071579,
-0.0037164613604545593,
0.009686012752354145,
-0.02752866968512535,
0.0464637316763401,
-0.03289967402815819,
-0.02020953968167305,
0.003006396582350135,
0.012116620317101479,
-0.0027241911739110947,
0.05181653052568436,
-0.027091706171631813,
0.04755613952875137,
-0.020154917612671852,
-0.0011310969712212682,
0.03395566716790199,
-0.008561743423342705,
-0.020682916045188904,
-0.03548503667116165,
-0.006345066707581282,
-0.014037436805665493,
0.06660044193267822,
-0.05534864589571953,
-0.019007891416549683,
0.0006531686522066593,
-0.043841954320669174,
-0.07180758565664291,
0.03195292130112648,
0.015885425731539726,
-0.022631041705608368,
0.04952247440814972,
0.03805219382047653,
0.019681541249155998,
-0.05371003597974777,
0.011024212464690208,
-0.006750167813152075,
-0.0036436342634260654,
-0.012435238808393478,
-0.0059399656020104885,
-0.04748331382870674,
0.03932667151093483,
-0.05330948531627655,
0.03863481059670448,
-0.005926310550421476,
-0.0011123211588710546,
-0.004547146148979664,
0.03675951436161995,
0.006613617297261953,
-0.04020059481263161,
0.08040118962526321,
-0.02130194567143917,
-0.014647363685071468,
0.012116620317101479,
-0.022103045135736465,
-0.01866196095943451,
-0.0018775754142552614,
0.00326356734149158,
0.05913566052913666,
-0.06306833028793335,
0.004019149113446474,
-0.036814134567976,
0.03816143423318863,
0.04569904878735542,
-0.11899959295988083,
-0.009858977980911732,
-0.05458396300673485,
-0.0033227393869310617,
-0.0016238181851804256,
0.015439359471201897,
0.01866196095943451,
0.06153895705938339,
-0.00834326259791851,
-0.03279043361544609,
0.004353699274361134,
0.06073785573244095,
-0.03335484117269516,
-0.0361768938601017,
0.033263809978961945,
0.013718817383050919,
0.0024260550271719694,
-0.02244897373020649,
-0.022467181086540222,
0.04959530010819435,
0.002744673751294613,
0.014647363685071468,
0.0337371863424778,
0.030314307659864426,
-0.021247325465083122,
0.09008720517158508,
-0.025380266830325127,
-0.08098381012678146,
0.011178970336914062,
0.0037096338346600533,
-0.0025739851407706738,
0.006272239610552788,
-0.011124350130558014,
0.008256779983639717,
-0.04329575225710869,
0.01866196095943451,
-0.05356438085436821,
-0.01969974860548973,
0.06456128507852554,
0.007546714972704649,
-0.01982719637453556,
0.03253553807735443,
0.01654997281730175,
-0.0464637316763401,
0.04227617010474205,
0.020100297406315804,
0.009440221823751926,
0.04515284299850464,
0.04959530010819435,
-0.03712364658713341,
0.014583639800548553,
-0.01937202550470829,
0.027346601709723473,
-0.008953189477324486,
-0.0991906002163887,
0.06325039267539978,
-0.011424762196838856,
0.07508480548858643,
0.07464784383773804,
0.006053758319467306,
-0.03317277505993843,
0.021793529391288757,
-0.018580030649900436,
0.012908615171909332,
0.05953620746731758,
0.042567480355501175,
-0.04136583209037781,
-0.0007350991945713758,
0.01648624986410141,
-0.03732392191886902,
0.04264030605554581,
-0.03282684460282326,
-0.06922221928834915,
0.009640496224164963,
-0.04344140365719795,
0.013336475007236004,
-0.003127016592770815,
-0.04599035531282425,
-0.034101322293281555,
0.018316032364964485,
0.027219153940677643,
-0.042749546468257904,
0.033263809978961945,
-0.03874405100941658,
0.010295940563082695,
0.013746127486228943,
0.03282684460282326,
0.029367554932832718,
-0.007574025541543961,
0.03009582683444023,
0.0287485234439373,
0.03856198489665985,
-0.07162551581859589,
0.006386032328009605,
0.02519819885492325,
0.021010637283325195,
0.017979206517338753,
-0.0035070832818746567,
-0.025944678112864494,
-0.0355396568775177,
0.06350529193878174,
0.0514523945748806,
0.015211774967610836,
0.04001852869987488,
0.007847127504646778,
-0.016204044222831726,
0.005493899341672659,
0.03579455241560936,
-0.03958156704902649,
0.002435158472508192,
0.023523174226284027,
-0.023213660344481468,
-0.06652761995792389,
0.02712811902165413,
0.0125717893242836,
0.008693743497133255,
-0.004244458395987749,
0.06223081424832344,
-0.08273166418075562,
0.0343744233250618,
-0.031206440180540085,
0.03728751093149185,
-0.03624972328543663,
0.04639090597629547,
-0.05651388317346573,
0.06128406152129173,
0.037688057869672775,
-0.07872616499662399,
0.05891717970371246,
0.032043952494859695,
0.02860287018120289,
0.04457022622227669,
-0.00713706249371171,
0.00028448112425394356,
0.010732904076576233,
-0.08491647988557816,
-0.002083539729937911,
-0.001709162606857717,
0.002080125967040658,
0.026909638196229935,
0.0078107137233018875,
-0.004924937151372433,
0.0625949501991272,
0.0074192676693201065,
0.00965870264917612,
0.014929569326341152,
0.05178011581301689,
-0.07027821242809296
]
|
43,916 | jsons.exceptions | DecodeError |
Raised when decoding a string or bytes to Python types failed. This error
is actually a wrapper around `json.JSONDecodeError`.
| class DecodeError(DeserializationError, JSONDecodeError):
"""
Raised when decoding a string or bytes to Python types failed. This error
is actually a wrapper around `json.JSONDecodeError`.
"""
def __init__(self, message: str, source: object, target: type,
error: JSONDecodeError):
"""
Constructor.
:param message: the message of this error.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
:param error: the wrapped `JSONDecodeError`.
"""
DeserializationError.__init__(self, message, source, target)
JSONDecodeError.__init__(self, message, error.doc, error.pos)
| (message: str, source: object, target: type, error: json.decoder.JSONDecodeError) | [
-0.015428771264851093,
0.0010575251653790474,
0.00495075061917305,
0.05285681039094925,
-0.03671425208449364,
-0.016316428780555725,
-0.009334132075309753,
0.061458855867385864,
0.035963863134384155,
-0.05673688277602196,
0.061934713274240494,
0.04850088432431221,
0.020480183884501457,
-0.003349306294694543,
-0.021120762452483177,
0.0970749780535698,
-0.00916026160120964,
0.05904296413064003,
0.022493429481983185,
0.0032326297368854284,
-0.04301021620631218,
0.00787452980875969,
-0.041875481605529785,
0.05567535385489464,
0.0040219128131866455,
0.06171508505940437,
-0.0050422619096934795,
-0.003218902973458171,
0.016380487009882927,
-0.03854447603225708,
-0.050074875354766846,
-0.02549499273300171,
0.01043226569890976,
0.05962863191962242,
-0.043888725340366364,
0.0033538818825036287,
-0.02641010470688343,
0.062373965978622437,
-0.10000333189964294,
0.012024559080600739,
-0.11098466068506241,
0.017396260052919388,
-0.054284386336803436,
-0.03523177281022072,
0.10629929602146149,
-0.01809174381196499,
-0.03149811923503876,
0.00039721536450088024,
-0.0967821404337883,
-0.021486805751919746,
-0.02289607748389244,
-0.03109547309577465,
0.02836844138801098,
0.0235732588917017,
0.005568450316786766,
0.05776180699467659,
0.004223237279802561,
0.058859940618276596,
-0.03504875302314758,
0.0169387049973011,
-0.06570497155189514,
0.0471465177834034,
-0.025202156975865364,
0.034426476806402206,
-0.014971216209232807,
-0.0057148681953549385,
-0.027032379060983658,
-0.026904264464974403,
-0.02518385462462902,
0.01432148739695549,
0.04440118744969368,
0.054174572229385376,
-0.05516289174556732,
0.05285681039094925,
0.10088183730840683,
-0.029997339472174644,
-0.06306944787502289,
0.0037885596975684166,
-0.004081394989043474,
0.011338225565850735,
0.05399154871702194,
0.0019297403050586581,
0.007513061631470919,
0.00945309642702341,
0.031754352152347565,
-0.03997204825282097,
0.013589398935437202,
-0.020589997991919518,
-0.029155436903238297,
0.038617685437202454,
-0.07943163812160492,
-0.029045622795820236,
-0.06405776739120483,
-0.0018702581292018294,
-0.052088119089603424,
-0.008615770377218723,
0.01746031828224659,
-0.06599780917167664,
0.007760141510516405,
-0.020644905045628548,
0.08375096321105957,
0.034426476806402206,
-0.03166284039616585,
-0.026007454842329025,
-0.01139313168823719,
0.01628897525370121,
0.020773019641637802,
-0.017075970768928528,
-0.00722480146214366,
0.006195301655679941,
0.009109930135309696,
0.0042621297761797905,
-0.02055339328944683,
0.04619480296969414,
0.007613723631948233,
0.03352966904640198,
0.03843466192483902,
-0.02661142870783806,
-0.025311971083283424,
0.01954677142202854,
0.0563342347741127,
0.009800839237868786,
-0.02220059372484684,
0.020461881533265114,
0.027398424223065376,
-0.013854781165719032,
0.012829856015741825,
-0.005728594958782196,
0.036750856786966324,
0.02278626337647438,
-0.00242961966432631,
0.0003886361955665052,
-0.061239227652549744,
0.009045871905982494,
0.0164536964148283,
0.03664104640483856,
-0.017643339931964874,
-0.013781571760773659,
-0.06921900063753128,
-0.007741839159280062,
0.023243820294737816,
0.08462946861982346,
0.05691990628838539,
-0.05157565698027611,
-0.07342850416898727,
0.02289607748389244,
-0.027599748224020004,
-0.05468703433871269,
-0.014888856559991837,
0.013900536112487316,
-0.02986922301352024,
-0.029576387256383896,
0.0007486752001568675,
0.026593126356601715,
0.0025074041914194822,
-0.021047553047537804,
-0.0008750748820602894,
-0.0029832618311047554,
-0.0021173381246626377,
0.02672124095261097,
0.010121127590537071,
-0.019253935664892197,
0.029265251010656357,
-0.040704138576984406,
0.011969652026891708,
0.019565073773264885,
0.04989185184240341,
-0.08177431672811508,
-0.07254999876022339,
0.01391883846372366,
-0.030967356637120247,
0.02145020291209221,
0.0193820521235466,
-0.016270672902464867,
-0.0017272720579057932,
0.025586504489183426,
0.01426658034324646,
0.04828125610947609,
-0.02597085013985634,
0.013269109651446342,
0.02825862728059292,
0.00817194115370512,
0.004321611952036619,
-0.016005292534828186,
0.020644905045628548,
0.03720841556787491,
-0.03215700015425682,
0.029777713119983673,
0.08016372472047806,
-0.007082959171384573,
0.03279757872223854,
0.006112941540777683,
0.014193371869623661,
-0.036915577948093414,
0.020205650478601456,
0.013205052353441715,
0.008794216439127922,
0.01809174381196499,
0.04333965852856636,
0.04689028859138489,
-0.06837709248065948,
0.050331104546785355,
-0.004234676249325275,
-0.02161492221057415,
-0.024634787812829018,
0.03726331889629364,
0.009599514305591583,
0.006831303704530001,
0.004234676249325275,
-0.05497986823320389,
-0.03773918002843857,
-0.0006445813341997564,
0.02432365156710148,
0.04026488587260246,
0.049745433032512665,
-0.03817843273282051,
-0.005170377437025309,
-0.04568234086036682,
0.05973844602704048,
0.010139429941773415,
0.10769026726484299,
0.0027018652763217688,
-0.01444960292428732,
-0.01996772177517414,
0.004019625019282103,
0.0409969724714756,
-0.009672723710536957,
-0.034316662698984146,
0.00766405463218689,
-0.0166641715914011,
-0.021486805751919746,
0.002690426306799054,
-0.03616518899798393,
0.013360620476305485,
0.042607568204402924,
0.029356760904192924,
0.04513327404856682,
-0.05516289174556732,
-0.0020178197883069515,
-0.05479684844613075,
0.012335696257650852,
-0.053698714822530746,
-0.06306944787502289,
0.0029672475066035986,
0.012482114136219025,
0.012079465202987194,
0.00830005668103695,
0.07276962697505951,
-0.053845133632421494,
0.012555323541164398,
0.029942432418465614,
0.021065855398774147,
0.008995541371405125,
-0.00995640829205513,
0.042827196419239044,
-0.088143490254879,
0.01954677142202854,
-0.10527437180280685,
0.0463046170771122,
0.020992645993828773,
0.006309690419584513,
-0.018714020028710365,
-0.02641010470688343,
0.09868557006120682,
-0.02672124095261097,
-0.05541912466287613,
0.00373365287669003,
0.014165918342769146,
0.021578317508101463,
0.05095338076353073,
0.11911085247993469,
-0.04132641479372978,
0.03449968621134758,
0.008016372099518776,
-0.029429970309138298,
0.0067352172918617725,
-0.03076603263616562,
0.03435326740145683,
0.013744967058300972,
-0.004028776194900274,
0.0033355795312672853,
-0.044803835451602936,
-0.0065476191230118275,
0.0019720641430467367,
0.031754352152347565,
-0.026062361896038055,
0.009892350062727928,
-0.008483079262077808,
-0.05014808475971222,
-0.01444960292428732,
0.07650328427553177,
-0.0333283431828022,
-0.005691990721970797,
0.05637083947658539,
0.004053941927850246,
-0.004321611952036619,
-0.03288909047842026,
0.0031159529462456703,
0.01932714506983757,
-0.037080299109220505,
-0.023646468296647072,
0.004850088153034449,
0.0518684908747673,
0.009109930135309696,
0.0019434670684859157,
-0.05900635942816734,
-0.00998386088758707,
-0.019949419423937798,
-0.04253435879945755,
0.044913649559020996,
0.022530032321810722,
0.03898372873663902,
-0.028990717604756355,
0.03003394417464733,
-0.04886692762374878,
0.07342850416898727,
0.0299790371209383,
-0.01511763408780098,
0.03384080529212952,
0.05999467894434929,
-0.011054540984332561,
-0.0404479056596756,
0.015831420198082924,
-0.041436225175857544,
-0.0056645371951162815,
-0.02571461908519268,
-0.01352534070611,
0.02060830034315586,
0.02789258398115635,
0.007924861274659634,
-0.029466575011610985,
-0.05391833931207657,
0.012655985541641712,
-0.03949619084596634,
-0.0014412997988983989,
-0.037080299109220505,
0.006355445832014084,
-0.027325214818120003,
0.022438522428274155,
-0.028020698577165604,
0.0012331120669841766,
-0.04747596010565758,
0.014650926925241947,
0.022347010672092438,
-0.022054174914956093,
-0.01157615426927805,
0.05282020941376686,
-0.011750025674700737,
0.03237662836909294,
0.017744002863764763,
-0.03902033343911171,
0.031077170744538307,
0.0011393132153898478,
0.018018536269664764,
-0.028734486550092697,
-0.05820105969905853,
-0.03488403186202049,
-0.05461382493376732,
0.010679345577955246,
-0.026593126356601715,
0.0032326297368854284,
-0.012546172365546227,
-0.018164953216910362,
-0.03832484781742096,
-0.04509666934609413,
0.00023521212278865278,
-0.0017238403670489788,
-0.05984826013445854,
0.022859472781419754,
-0.006597950588911772,
-0.0007532507297582924,
-0.034572895616292953,
-0.043412867933511734,
0.025806130841374397,
-0.053954944014549255,
-0.0038869341369718313,
-0.03971581906080246,
0.035963863134384155,
-0.07233037799596786,
0.044694021344184875,
-0.004678505007177591,
-0.04088715836405754,
-0.06508269160985947,
-0.04220492020249367,
0.028405046090483665,
-0.004449727479368448,
-0.05000166594982147,
-0.03029017522931099,
-0.0027956641279160976,
0.04557252675294876,
-0.034206848591566086,
-0.035542912781238556,
-0.001671221456490457,
0.01709427312016487,
-0.022713055834174156,
-0.0171491801738739,
-0.006982297170907259,
-0.009764234535396099,
0.017368806526064873,
0.02875278890132904,
-0.01974809542298317,
0.02443346381187439,
0.027325214818120003,
0.05062394216656685,
0.04784200340509415,
0.049013346433639526,
0.047036707401275635,
-0.002431907458230853,
-0.0290090199559927,
0.03545140102505684,
0.04806163161993027,
-0.012619380839169025,
-0.04568234086036682,
-0.04147282987833023,
-0.016197465360164642,
0.01325995847582817,
-0.03581744432449341,
-0.01096303015947342,
-0.02906392514705658,
-0.02641010470688343,
0.0011130038183182478,
0.026812752708792686,
0.03418854624032974,
-0.04132641479372978,
-0.026648033410310745,
-0.008382417261600494,
-0.0037679695524275303,
0.015794815495610237,
0.020516788586974144,
0.014284882694482803,
0.04495025426149368,
-0.016215767711400986,
0.01655435748398304,
-0.07353831827640533,
0.005339672788977623,
0.010889820754528046,
-0.05790822580456734,
-0.025311971083283424,
-0.012655985541641712,
0.018613357096910477,
0.011832385323941708,
0.041875481605529785,
0.03909354284405708,
0.017432864755392075,
0.05058733746409416,
-0.03455459326505661,
0.02395760640501976,
0.07350171357393265,
-0.005330521613359451,
-0.020260557532310486,
0.007352916989475489,
0.0014447314897552133,
0.006913663819432259,
-0.02794749103486538,
-0.008144487626850605,
-0.06570497155189514,
0.0013852493138983846,
0.03455459326505661,
0.013836478814482689,
0.01216182578355074,
-0.0059756748378276825,
0.0006445813341997564,
-0.04088715836405754,
-0.06603441387414932,
-0.051282819360494614,
0.05966523662209511,
0.002062431536614895,
0.02055339328944683,
-0.02565971203148365,
0.03400552645325661,
0.009270074777305126,
0.05073375627398491,
-0.023060796782374382,
-0.01552028302103281,
0.008602043613791466,
0.009974709711968899,
0.07401417940855026,
-0.04172906279563904,
-0.0006034013349562883,
-0.029887525364756584,
0.04066753387451172,
-0.07796745747327805,
0.01197880320250988,
-0.047402750700712204,
0.03525007516145706,
-0.0426807776093483,
-0.05432099103927612,
0.007416974753141403,
0.020187348127365112,
0.03759276121854782,
0.014632625505328178,
0.05809124559164047,
-0.04718312248587608,
0.009965558536350727,
0.016417091712355614,
-0.04063092917203903,
-0.032394930720329285,
0.007485608104616404,
-0.004795181564986706,
-0.05732255429029465,
0.044584207236766815,
-0.038727499544620514,
0.022401917725801468,
-0.053369272500276566,
-0.00204298528842628,
-0.06244717538356781,
0.04030149057507515,
0.019949419423937798,
0.03510366007685661,
-0.01932714506983757,
-0.005861286073923111,
0.0711224302649498,
0.04088715836405754,
0.026172174140810966,
0.002992413006722927,
0.01767079345881939,
0.005463212728500366,
0.02518385462462902,
0.04055771976709366,
0.04513327404856682,
-0.010578683577477932,
0.003996747545897961,
0.059335798025131226,
-0.014248278923332691,
-0.0037862719036638737,
-0.04249775409698486,
-0.018887890502810478,
-0.016838042065501213,
0.012948821298778057,
0.027874281629920006,
0.004488619510084391,
0.012280790135264397,
0.018293069675564766,
-0.028039000928401947,
0.005641659256070852,
0.04359588772058487,
0.007444428279995918,
0.04743935540318489,
-0.022072477266192436,
0.010596985928714275,
0.033145319670438766,
0.08667931705713272,
0.007082959171384573,
-0.003463695291429758,
-0.027746165171265602,
-0.012994576245546341,
-0.04776879400014877,
0.040484510362148285,
0.021376993507146835,
0.021944362670183182,
-0.013690060935914516,
-0.003310414031147957,
0.028514858335256577,
0.012683439068496227,
-0.03592725843191147,
-0.05069715157151222,
0.004758577328175306,
0.011301620863378048,
0.03321852907538414,
0.0235732588917017,
-0.013241656124591827,
0.08528834581375122,
-0.01676483452320099,
0.006872483529150486,
0.012280790135264397,
0.026794450357556343,
-0.015355562791228294,
0.05025789514183998,
-0.042607568204402924,
-0.023518353700637817,
0.011685967445373535,
0.026172174140810966,
-0.008455625735223293,
0.02203587256371975,
0.017121726647019386,
0.020535090938210487,
-0.0022637557704001665,
0.04169245809316635,
0.017597584053874016,
-0.009242621250450611,
0.014229976572096348,
-0.023115703836083412,
-0.00299470080062747,
-0.031699445098638535,
-0.0007812760304659605,
-0.027563143521547318,
-0.010359056293964386,
-0.019766397774219513,
0.044327978044748306,
-0.03449968621134758,
0.0014847676502540708,
-0.03795880451798439,
-0.032065488398075104,
-0.020937740802764893,
0.030107151716947556,
0.08550797402858734,
-0.011017936281859875,
-0.029429970309138298,
-0.034206848591566086,
-0.04531629756093025,
0.0019709202460944653,
0.053698714822530746,
-0.01386393141001463,
-0.03029017522931099,
0.04355928301811218,
0.0035414795856922865,
-0.037556156516075134,
0.051502447575330734,
0.01725899428129196,
0.010276696644723415,
0.039422981441020966,
-0.005778925959020853,
-0.019125821068882942,
-0.0476955845952034,
-0.0009437082335352898,
-0.06244717538356781,
0.009480549953877926,
-0.013882233761250973,
-0.0033241407945752144,
0.006016855128109455,
0.025458388030529022,
-0.002251173136755824,
-0.007513061631470919,
0.030546406283974648,
-0.03534158691763878,
0.04077734798192978,
-0.02554989978671074,
-0.009764234535396099,
-0.07060996443033218,
-0.04846427962183952,
-0.008107883855700493,
0.04275398701429367,
0.03828824311494827,
-0.0661076232790947,
-0.05073375627398491,
0.009800839237868786,
0.024104023352265358,
-0.0023175186943262815,
0.06852351129055023,
0.06021430343389511,
-0.019125821068882942,
-0.027489934116601944,
-0.08126185834407806,
0.04531629756093025,
-0.07826029509305954,
-0.006666583940386772,
0.013351469300687313,
-0.015776513144373894,
0.05457722023129463,
0.018714020028710365,
0.04765897989273071,
0.05838408321142197,
-0.002948945155367255,
-0.003301263088360429,
-0.0014481631806120276,
-0.0068679079413414,
0.023500051349401474,
-0.006771821528673172,
0.08111543953418732,
0.037665970623493195,
-0.015694154426455498,
-0.03363947942852974,
-0.028734486550092697,
-0.005527270492166281,
0.02831353433430195,
-0.015932083129882812,
-0.0050651393830776215,
-0.05183188617229462,
0.05311304330825806,
0.004959901794791222,
0.004799757152795792,
-0.033987224102020264,
0.02794749103486538,
-0.026172174140810966,
-0.058530502021312714,
0.00998386088758707,
0.00695941923186183,
-0.03898372873663902,
0.07145186513662338,
0.0027155920397490263,
-0.013927989639341831,
0.018009385094046593,
-0.10051579028367996,
0.003994459751993418,
-0.058750126510858536,
0.04765897989273071,
0.004248403012752533,
0.06369172781705856,
0.007050930522382259,
-0.0607999749481678,
0.03887391462922096,
-0.020297162234783173,
-0.05036770924925804,
-0.004667066037654877,
-0.08653289824724197,
-0.03572593256831169,
-0.06208113208413124,
-0.05011148005723953,
0.021230574697256088,
0.029942432418465614,
0.026904264464974403,
0.010468870401382446,
-0.015090180560946465,
-0.018567603081464767,
0.014495358802378178,
0.012729194015264511,
-0.038032013922929764,
-0.011612758971750736,
0.05051412805914879,
-0.037080299109220505,
0.000055121141485869884,
0.016691625118255615,
0.019199028611183167,
-0.08946125209331512,
-0.012930518947541714,
0.016847193241119385,
0.014843100681900978,
0.045462716370821,
-0.02534857578575611,
0.024250442162156105,
-0.02055339328944683,
0.024634787812829018,
0.012235034257173538,
0.04520648345351219,
0.05179528519511223,
-0.023609863594174385,
-0.0024982530158013105,
-0.034042131155729294,
0.00171697698533535,
0.004294158425182104,
0.06010449305176735,
0.049599017947912216,
-0.05201490968465805,
-0.007160743698477745,
-0.07207414507865906,
-0.05333267152309418,
-0.027544841170310974,
0.025513295084238052,
0.06036072224378586,
0.04590196907520294,
-0.01660926453769207,
0.016947856172919273,
0.010761705227196217,
0.03488403186202049,
-0.02666633576154709,
0.0031548452097922564,
0.012683439068496227,
0.06380154192447662,
-0.032230209559202194,
0.009709327481687069,
-0.0029306430369615555,
-0.012710891664028168,
-0.04436458274722099,
0.036549534648656845,
-0.01411101222038269,
-0.004808908328413963,
-0.005408306140452623,
0.020956041291356087,
-0.009919803589582443,
-0.03268776461482048,
-0.0761372372508049,
-0.0010375070851296186,
0.0070966859348118305,
-0.06453362852334976,
-0.01762503758072853,
0.036073677241802216,
-0.034206848591566086,
-0.0018393731443211436
]
|
43,917 | jsons.exceptions | __init__ |
Constructor.
:param message: the message of this error.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
:param error: the wrapped `JSONDecodeError`.
| def __init__(self, message: str, source: object, target: type,
error: JSONDecodeError):
"""
Constructor.
:param message: the message of this error.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
:param error: the wrapped `JSONDecodeError`.
"""
DeserializationError.__init__(self, message, source, target)
JSONDecodeError.__init__(self, message, error.doc, error.pos)
| (self, message: str, source: object, target: type, error: json.decoder.JSONDecodeError) | [
-0.035662248730659485,
-0.0025466526858508587,
0.01975364238023758,
0.014860788360238075,
-0.04122023656964302,
-0.0125464778393507,
0.01462389063090086,
0.0802537277340889,
0.04690578952431679,
-0.059807613492012024,
0.05138862505555153,
0.03110651858150959,
0.009630811400711536,
-0.010377950966358185,
-0.013348286971449852,
0.11305497586727142,
-0.028846876695752144,
0.05106061324477196,
-0.006747034844011068,
0.0243275947868824,
-0.03611782193183899,
-0.001853042864240706,
-0.036518726497888565,
0.06727901101112366,
0.00324367918074131,
0.05219043418765068,
-0.011170648038387299,
-0.0016377846477553248,
0.012400695122778416,
-0.03334793820977211,
-0.033712394535541534,
-0.01679241843521595,
0.007421283051371574,
0.08054529130458832,
-0.04785338044166565,
0.024036027491092682,
-0.01760333776473999,
0.04829072952270508,
-0.11706401407718658,
-0.006332463584840298,
-0.10853569209575653,
0.027370821684598923,
-0.060135625302791595,
0.011316431686282158,
0.09614410996437073,
-0.010705963708460331,
-0.03670095279812813,
-0.007685515098273754,
-0.07813986390829086,
-0.010824413038790226,
-0.029357118532061577,
0.0011833506869152188,
0.025730758905410767,
0.018186470493674278,
-0.02514762431383133,
0.06148412078619003,
-0.007972526364028454,
0.06811726093292236,
-0.02423647977411747,
0.01907939463853836,
-0.0657118409872055,
0.06370731443166733,
0.015207024291157722,
0.038960594683885574,
-0.021648826077580452,
-0.020919907838106155,
-0.04111089929938316,
-0.0188971646130085,
-0.011699112132191658,
0.038669031113386154,
0.06505580991506577,
0.05955249071121216,
-0.0432247593998909,
0.04920187592506409,
0.08550192415714264,
-0.027261484414339066,
-0.05681905522942543,
0.02800862304866314,
-0.013175169005990028,
0.01364896446466446,
0.020537227392196655,
0.007653625216335058,
-0.011298208497464657,
0.0189336109906435,
0.02709747664630413,
-0.05106061324477196,
-0.01455099880695343,
-0.015863049775362015,
-0.015097687020897865,
0.02385379746556282,
-0.06782569736242294,
-0.01922517642378807,
-0.08739710599184036,
-0.006642253138124943,
-0.06975732743740082,
-0.0031593982130289078,
0.02051900513470173,
-0.057183511555194855,
0.0057128844782710075,
-0.002633211435750127,
0.05652748793363571,
0.005835888907313347,
-0.03870547562837601,
-0.009225351735949516,
0.010150164365768433,
-0.000047941932280082256,
0.012446252629160881,
-0.02013632282614708,
0.019188731908798218,
0.004988523665815592,
0.02132081240415573,
-0.007494174409657717,
-0.03535245731472969,
0.0718347355723381,
0.009576142765581608,
0.006050008349120617,
0.0347328782081604,
-0.01345762424170971,
-0.03491510823369026,
0.0053028687834739685,
0.0848459005355835,
-0.015562371350824833,
-0.03345727548003197,
0.036719176918268204,
0.015708154067397118,
-0.035899147391319275,
0.01042350847274065,
-0.014332324266433716,
0.05215398967266083,
-0.02771705575287342,
0.0062231263145804405,
-0.01703842729330063,
-0.059989843517541885,
-0.012464474886655807,
0.025876542553305626,
0.02143014967441559,
-0.033985741436481476,
-0.012154685333371162,
-0.06574828177690506,
-0.00863766297698021,
0.032710134983062744,
0.08207602053880692,
0.04311542212963104,
-0.0709235891699791,
-0.06600340455770493,
0.023033766075968742,
-0.03848680108785629,
-0.007257276680320501,
-0.019024726003408432,
0.02013632282614708,
-0.03730231150984764,
-0.04180337116122246,
0.018951833248138428,
0.0037675879430025816,
0.00003616110188886523,
-0.0439901202917099,
-0.005348426289856434,
-0.006551138591021299,
0.02638678438961506,
0.02742549031972885,
0.020008763298392296,
-0.021958615630865097,
0.015115909278392792,
-0.032746583223342896,
-0.00442361319437623,
0.0037516430020332336,
0.04111089929938316,
-0.09155193716287613,
-0.07813986390829086,
0.01097019575536251,
-0.034951552748680115,
0.00442361319437623,
0.017812902107834816,
-0.006159346085041761,
0.008141088299453259,
0.012528255581855774,
0.029375342652201653,
0.05146151781082153,
-0.039434392005205154,
0.01147132646292448,
0.01130731962621212,
0.033949293196201324,
0.023070212453603745,
-0.014405216090381145,
0.013056719675660133,
0.037794329226017,
-0.01817736029624939,
0.03207233175635338,
0.051789529621601105,
0.006911041215062141,
0.03201766312122345,
0.0037972002755850554,
-0.0054486519657075405,
-0.03624538332223892,
-0.004038653802126646,
0.01946207508444786,
0.001002260367386043,
0.0012152408016845584,
0.017539557069540024,
0.04614042490720749,
-0.07088714838027954,
0.04767115041613579,
-0.0025261519476771355,
-0.014778785407543182,
-0.02199506014585495,
0.03808589652180672,
0.004660510923713446,
0.025894764810800552,
-0.0014156928518787026,
-0.05168019235134125,
-0.01111597940325737,
-0.006145678926259279,
0.017822012305259705,
0.029320674017071724,
0.0324367918074131,
-0.029065553098917007,
-0.01650996319949627,
-0.04464614763855934,
0.0509512759745121,
0.018432481214404106,
0.12245800346136093,
0.010040827095508575,
-0.0227968692779541,
-0.045484401285648346,
-0.01946207508444786,
0.033275045454502106,
-0.029502902179956436,
-0.055798571556806564,
-0.0037015299312770367,
-0.01745755411684513,
-0.026204554364085197,
-0.026459675282239914,
-0.015607927925884724,
0.02438226342201233,
0.03591736778616905,
0.013220726512372494,
0.039908189326524734,
-0.06458202004432678,
-0.025894764810800552,
-0.05940670892596245,
-0.0009595504379831254,
-0.05434073880314827,
-0.05711062252521515,
-0.0007078464259393513,
0.030614500865340233,
0.003532967995852232,
0.008582993410527706,
0.06039074808359146,
-0.05725640431046486,
0.005608102772384882,
0.024218255653977394,
0.03659161552786827,
-0.006232237443327904,
-0.009721926413476467,
0.03234567865729332,
-0.09847664088010788,
0.0471244640648365,
-0.0726001039147377,
0.0285370871424675,
0.019243400543928146,
-0.0034646319691091776,
-0.0432247593998909,
-0.015161466784775257,
0.10008025914430618,
-0.030614500865340233,
-0.04956633225083351,
-0.023653345182538033,
0.011690001003444195,
0.010259502567350864,
0.023033766075968742,
0.1374736875295639,
-0.03870547562837601,
0.033366162329912186,
0.03458709642291069,
-0.01559881679713726,
-0.01366718765348196,
-0.042350057512521744,
0.00980392936617136,
0.01966252736747265,
-0.00854199193418026,
0.019024726003408432,
-0.04384433850646019,
0.027279706671833992,
0.017594225704669952,
0.037867221981287,
-0.03874192014336586,
0.007480507250875235,
-0.003756198799237609,
-0.05802176892757416,
-0.017995130270719528,
0.052882906049489975,
-0.010168387554585934,
-0.0011992957442998886,
0.05864134803414345,
0.009840374812483788,
0.01688353158533573,
-0.03624538332223892,
0.014815231785178185,
-0.010797077789902687,
-0.046067532151937485,
-0.014569221995770931,
-0.01750311069190502,
0.026295669376850128,
0.00231317151337862,
-0.02839130349457264,
-0.03888770565390587,
-0.016191061586141586,
-0.013557850383222103,
-0.02399958111345768,
0.018450703471899033,
0.038377463817596436,
0.04213138297200203,
-0.019534965977072716,
0.029211334884166718,
-0.029648685827851295,
0.06126544624567032,
0.023343555629253387,
-0.031124742701649666,
0.03192654997110367,
0.04136602208018303,
-0.02729792892932892,
-0.03192654997110367,
0.015252581797540188,
-0.05915158614516258,
0.0131205003708601,
-0.03906993195414543,
-0.009676368907094002,
0.013548738323152065,
0.030978959053754807,
0.01812269166111946,
-0.01846892572939396,
-0.04041843116283417,
0.01875138096511364,
-0.04337054118514061,
-0.02691524848341942,
-0.06217659264802933,
0.001044400967657566,
-0.02733437530696392,
0.02667834982275963,
-0.026897024363279343,
0.008309650234878063,
-0.03444131463766098,
0.013539627194404602,
0.017876680940389633,
0.003970318008214235,
0.0052527557127177715,
0.040673550218343735,
-0.04074644297361374,
0.03471465781331062,
0.010997530072927475,
-0.0732925683259964,
0.043589215725660324,
0.03524312004446983,
0.005927003920078278,
-0.02777172438800335,
-0.05849556252360344,
-0.02600410208106041,
-0.04603108763694763,
0.005161641165614128,
-0.027170369401574135,
-0.01366718765348196,
0.002863275818526745,
-0.024928949773311615,
-0.028063291683793068,
0.002840497065335512,
0.02214084379374981,
-0.015015683136880398,
-0.05146151781082153,
0.012810710817575455,
-0.0019293513614684343,
-0.02013632282614708,
-0.045921750366687775,
-0.06797148287296295,
0.04151180386543274,
-0.04982145503163338,
-0.02155771106481552,
-0.028209075331687927,
0.027644164860248566,
-0.05955249071121216,
0.023252442479133606,
-0.005630881525576115,
-0.01712954230606556,
-0.03644583374261856,
-0.025657866150140762,
0.012938271276652813,
-0.012418917380273342,
-0.04428168758749962,
-0.01742110773921013,
0.023653345182538033,
0.05106061324477196,
-0.0285735335201025,
-0.047926269471645355,
0.01937096007168293,
0.02352578565478325,
0.006915596779435873,
-0.021885722875595093,
0.0014532776549458504,
-0.008195756934583187,
0.008218535222113132,
0.014323212206363678,
0.006305129267275333,
0.015033906325697899,
0.01180845033377409,
0.05080549046397209,
0.04435458034276962,
0.02352578565478325,
0.06017206981778145,
0.00794519204646349,
0.005002190824598074,
0.035516463220119476,
0.04850940406322479,
-0.01611817069351673,
-0.03611782193183899,
-0.026787687093019485,
-0.046395547688007355,
0.027662387117743492,
-0.02580364979803562,
-0.00009602623322280124,
-0.0401633083820343,
-0.028992660343647003,
0.014851677231490612,
0.03569869324564934,
0.03885125741362572,
-0.06392598897218704,
0.0041479915380477905,
-0.02919311262667179,
-0.0009253824828192592,
0.004532950464636087,
0.04337054118514061,
0.004462336655706167,
0.015781046822667122,
0.02217729017138481,
0.03746631741523743,
-0.05864134803414345,
0.011690001003444195,
0.01679241843521595,
-0.04333409667015076,
-0.021120360121130943,
0.008186645805835724,
0.037794329226017,
0.008172978647053242,
0.010259502567350864,
0.04333409667015076,
0.020300328731536865,
0.01842336915433407,
-0.042094938457012177,
-0.002004520734772086,
0.053466036915779114,
-0.009202573448419571,
-0.009006676264107227,
0.03429552912712097,
0.000069830784923397,
0.025967655703425407,
-0.04311542212963104,
-0.012063571251928806,
-0.08936518430709839,
0.004421335179358721,
0.05222687870264053,
0.00952147413045168,
-0.011407545767724514,
-0.009084124118089676,
-0.0007488479604944587,
-0.023671569302678108,
-0.058094657957553864,
-0.053794048726558685,
0.0787958949804306,
-0.01960785873234272,
0.021011022850871086,
-0.019352737814188004,
0.01402253471314907,
0.013940531760454178,
0.050696153193712234,
-0.03134341537952423,
0.002154859947040677,
0.004473726265132427,
0.013065831735730171,
0.053320255130529404,
-0.04256873205304146,
0.003056894289329648,
-0.005977116525173187,
0.04599464312195778,
-0.09235373884439468,
0.04070999473333359,
-0.03387640416622162,
0.009867709130048752,
-0.02070123329758644,
-0.047452475875616074,
0.004225438926368952,
0.009475916624069214,
0.03874192014336586,
0.02093813195824623,
0.08039950579404831,
-0.04045487567782402,
-0.012136462144553661,
0.014924569055438042,
-0.030304711312055588,
-0.02190394513309002,
0.022687532007694244,
0.011088645085692406,
-0.04070999473333359,
0.04996723681688309,
-0.016956424340605736,
-0.00406826613470912,
-0.05805821344256401,
-0.00725272111594677,
-0.04570307582616806,
0.02152126468718052,
0.033657725900411606,
-0.00043507214286364615,
-0.007967970333993435,
-0.0012721873354166746,
0.08309650421142578,
0.025129402056336403,
0.061192553490400314,
-0.014897234737873077,
0.01559881679713726,
-0.03400396183133125,
0.03979885205626488,
0.018915386870503426,
0.01822291687130928,
-0.010924638248980045,
0.04843651130795479,
0.06520159542560577,
-0.041766926646232605,
0.005421317648142576,
-0.033511944115161896,
-0.02571253478527069,
-0.00376303237862885,
0.0074167270213365555,
0.024983618408441544,
0.016947312280535698,
-0.016355067491531372,
0.015462145209312439,
-0.03054160811007023,
-0.028792208060622215,
0.06330641359090805,
0.006551138591021299,
0.04380789026618004,
-0.011197982355952263,
0.013849416747689247,
0.04027264565229416,
0.0640353262424469,
-0.0059588938020169735,
0.0016127281123772264,
-0.038195233792066574,
-0.000019966906620538794,
-0.03110651858150959,
0.05291935056447983,
-0.0027311595622450113,
0.024108918383717537,
0.009612588211894035,
-0.032509684562683105,
-0.0030386713333427906,
0.03564402461051941,
-0.03746631741523743,
-0.035607580095529556,
-0.025348076596856117,
-0.0067105889320373535,
0.04810849949717522,
0.02385379746556282,
-0.0006116066360846162,
0.07602600753307343,
-0.020865239202976227,
0.03679206967353821,
0.005179863888770342,
0.03535245731472969,
-0.004724291153252125,
0.02656901255249977,
-0.0393979474902153,
0.005580768454819918,
0.01984475553035736,
0.004273273982107639,
-0.031416308134794235,
0.0455208458006382,
0.018915386870503426,
0.013229837641119957,
0.004573951940983534,
0.03496977686882019,
0.014514553360641003,
-0.00021696659678127617,
0.027553049847483635,
-0.016683081164956093,
0.044245243072509766,
-0.04096511751413345,
-0.0039338720962405205,
-0.022815091535449028,
-0.012254911474883556,
-0.03210877999663353,
0.05623592063784599,
-0.03684673830866814,
0.0055671012960374355,
-0.037903666496276855,
-0.03947083652019501,
0.0011412102030590177,
0.02418181113898754,
0.05576212704181671,
0.013293617404997349,
-0.04708801582455635,
-0.009029455482959747,
-0.0486551895737648,
-0.021648826077580452,
0.0470515713095665,
-0.026423228904604912,
0.003163954010233283,
0.017393773421645164,
-0.002286975970491767,
-0.028609979897737503,
0.03178076818585396,
0.011407545767724514,
0.030796729028224945,
0.030359379947185516,
-0.02261463925242424,
-0.016345957294106483,
-0.04493771120905876,
-0.010642183013260365,
-0.0485822968184948,
0.014314101077616215,
0.027680611237883568,
0.009170683100819588,
0.021922169253230095,
0.015033906325697899,
-0.013065831735730171,
-0.0032003996893763542,
0.04194915294647217,
-0.03979885205626488,
0.04737958312034607,
-0.02809973806142807,
-0.023452894762158394,
-0.07190763205289841,
-0.0478169322013855,
0.0044509475119411945,
0.03066916950047016,
0.0312887467443943,
-0.047015126794576645,
-0.057985320687294006,
0.018195582553744316,
0.04111089929938316,
-0.004737958312034607,
0.05065970867872238,
0.05448652058839798,
-0.04460969939827919,
-0.027443712577223778,
-0.058094657957553864,
0.043589215725660324,
-0.07959770411252975,
0.005658215843141079,
0.011462214402854443,
-0.0040796552784740925,
0.042678069323301315,
0.04533861577510834,
0.045484401285648346,
0.05157085508108139,
-0.01717509888112545,
0.027316153049468994,
0.007639958057552576,
0.033420830965042114,
0.005553433671593666,
0.0050887493416666985,
0.0894380733370781,
0.02523873932659626,
-0.003163954010233283,
-0.008500990457832813,
-0.020719455555081367,
-0.002163971308618784,
0.022031506523489952,
-0.020883463323116302,
-0.0013587462017312646,
-0.0670967772603035,
0.023653345182538033,
0.04810849949717522,
-0.027844617143273354,
-0.03462354093790054,
0.019352737814188004,
-0.02066478691995144,
-0.04996723681688309,
0.00682448223233223,
0.024600937962532043,
-0.052554890513420105,
0.0678621456027031,
0.013712745159864426,
-0.0416940338909626,
0.021029245108366013,
-0.06542026996612549,
-0.008555659092962742,
-0.06206725537776947,
0.07770251482725143,
0.0003986263182014227,
0.07974348217248917,
0.01922517642378807,
-0.04650488495826721,
0.02881043218076229,
-0.019534965977072716,
-0.06330641359090805,
-0.0016024777432903647,
-0.06407177448272705,
-0.020719455555081367,
-0.0756615474820137,
-0.060572974383831024,
0.0019452964188531041,
0.01531636156141758,
0.04140246659517288,
0.006050008349120617,
-0.015343695878982544,
-0.03553468734025955,
-0.0018450702773407102,
-0.026878802105784416,
-0.032035887241363525,
-0.01402253471314907,
0.025985879823565483,
-0.030231818556785583,
0.03207233175635338,
0.013885862194001675,
0.03686496242880821,
-0.07690070569515228,
-0.016382401809096336,
0.03385818004608154,
0.022304849699139595,
0.02166704833507538,
-0.04041843116283417,
0.009740148670971394,
-0.015999721363186836,
-0.0035215786192566156,
-0.004988523665815592,
0.033712394535541534,
0.06738834828138351,
-0.022250181064009666,
0.0012983828783035278,
-0.03564402461051941,
0.006200347561389208,
-0.026277445256710052,
0.061848580837249756,
0.061848580837249756,
-0.0524820014834404,
-0.015480367466807365,
-0.05445007607340813,
-0.053502485156059265,
-0.013967866078019142,
0.03183543682098389,
0.07121516019105911,
0.07442238926887512,
-0.030414048582315445,
0.024837834760546684,
0.01732088252902031,
0.048837415874004364,
-0.04242295026779175,
0.010560180060565472,
0.019243400543928146,
0.04646843671798706,
-0.036518726497888565,
0.02494717389345169,
-0.0006355242221616209,
-0.012446252629160881,
-0.011015753261744976,
0.03870547562837601,
-0.015717266127467155,
-0.030468717217445374,
-0.016537297517061234,
0.008965674787759781,
-0.010469065979123116,
-0.02866464853286743,
-0.07784830033779144,
-0.02729792892932892,
0.03261902183294296,
-0.05189886689186096,
0.025056511163711548,
0.04737958312034607,
-0.010241279378533363,
0.003612693166360259
]
|
43,919 | jsons.exceptions | DeserializationError |
Raised when deserialization failed for some reason.
| class DeserializationError(JsonsError):
"""
Raised when deserialization failed for some reason.
"""
def __init__(self, message: str, source: object, target: Optional[type]):
"""
Constructor.
:param message: the message describing the problem.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
"""
JsonsError.__init__(self, message)
self._source = source
self._target = target
@property
def source(self) -> object:
"""
The object that was to be deserialized.
:return: the object that was to be deserialized.
"""
return self._source
@property
def target(self) -> Optional[type]:
"""
The target type to which `source` was to be deserialized.
:return: the type to which `source` was to be deserialized.
"""
return self._target
| (message: str, source: object, target: Optional[type]) | [
-0.03641796112060547,
-0.02344961278140545,
0.011689277365803719,
-0.008549338206648827,
-0.022508075460791588,
-0.023343024775385857,
-0.007696624845266342,
0.059796515852212906,
0.03830103576183319,
-0.03748385235667229,
0.05183785781264305,
0.030466733500361443,
0.01516230683773756,
-0.005280604120343924,
-0.025492573156952858,
0.0893927663564682,
0.0018852956127375364,
0.03258075192570686,
0.04935077950358391,
0.000868812610860914,
-0.002884568879380822,
-0.02348514273762703,
-0.03171027451753616,
0.04636628180742264,
-0.001602168194949627,
0.04242248460650444,
0.03837209567427635,
0.0131193483248353,
0.03149709478020668,
-0.02885013073682785,
-0.06725775450468063,
-0.030946383252739906,
-0.012870640493929386,
0.0776679590344429,
-0.03522771596908569,
0.014354005455970764,
-0.015988372266292572,
0.044234499335289,
-0.12648579478263855,
-0.005391634535044432,
-0.10616279393434525,
0.05457364767789841,
-0.05940568819642067,
-0.0021073564421385527,
0.08576873689889908,
-0.013288114219903946,
-0.06310077756643295,
0.020287469029426575,
-0.08157622814178467,
-0.005964551120996475,
0.00678617600351572,
-0.019914407283067703,
-0.011209625750780106,
0.05350775644183159,
0.01296834647655487,
0.044376615434885025,
0.004072593990713358,
0.08214470744132996,
-0.011147448793053627,
0.027180233970284462,
-0.03608042746782303,
0.036844316869974136,
0.005427164491266012,
0.012435400858521461,
-0.011937985196709633,
-0.04107235372066498,
-0.04007752239704132,
-0.0333801694214344,
-0.01060562115162611,
0.026913760229945183,
0.04878230392932892,
0.06679587066173553,
-0.01365229394286871,
0.06601421535015106,
0.07276485860347748,
-0.029542960226535797,
-0.04657946154475212,
0.019381461665034294,
-0.009735142812132835,
-0.02181524597108364,
0.012462048791348934,
-0.004632187075912952,
-0.03417958691716194,
-0.03712855651974678,
-0.003723958507180214,
-0.01993217132985592,
0.011751454323530197,
-0.0282105952501297,
-0.049670543521642685,
-0.012852875515818596,
-0.0815051719546318,
0.008207364939153194,
-0.07347545772790909,
-0.008162952959537506,
-0.04430555924773216,
0.017915859818458557,
-0.0023494025226682425,
-0.08491602540016174,
-0.007487887982279062,
-0.014060885645449162,
0.031639214605093,
0.05311692878603935,
-0.01058785617351532,
0.0031266151927411556,
0.022774549201130867,
0.004196947906166315,
0.017178619280457497,
-0.009859496727585793,
0.025457043200731277,
0.0036528990603983402,
-0.0025847868528217077,
0.012577519752085209,
-0.06718669831752777,
0.0284415390342474,
0.019150517880916595,
-0.05070090666413307,
0.016903262585401535,
-0.012293281964957714,
-0.03808785602450371,
-0.004734335001558065,
0.07109496742486954,
0.007767684292048216,
0.002549257129430771,
0.04650840163230896,
0.005564841907471418,
-0.015091247856616974,
0.004854247439652681,
0.0062709953635931015,
0.043879199773073196,
0.011325097642838955,
-0.028192831203341484,
0.0008288417011499405,
-0.04718346521258354,
-0.00878028105944395,
0.023662792518734932,
0.05432493984699249,
-0.04284884035587311,
0.0008726986707188189,
-0.04220930486917496,
-0.016334787011146545,
0.06040051952004433,
0.05830426514148712,
0.024249032139778137,
-0.07653101533651352,
-0.040255170315504074,
0.01217781100422144,
-0.009273256175220013,
0.001347908633761108,
-0.00953084696084261,
0.01621931605041027,
-0.006728440057486296,
-0.019079457968473434,
-0.01772044599056244,
0.007070413790643215,
-0.006875000428408384,
-0.03396641090512276,
-0.040930233895778656,
-0.0197367575019598,
0.0020984739530831575,
0.012959464453160763,
-0.02174418792128563,
-0.01601501926779747,
0.01939922571182251,
-0.05524871125817299,
-0.007474564481526613,
0.0021917393896728754,
0.01768491603434086,
-0.06839470565319061,
-0.053934112191200256,
0.018884044140577316,
-0.06697351485490799,
0.016841085627675056,
-0.011351744644343853,
0.005280604120343924,
0.016938792541623116,
0.012088986113667488,
0.008242894895374775,
0.06786175817251205,
-0.007465681992471218,
-0.012266634963452816,
0.009930555708706379,
-0.0312839150428772,
0.0004338511498644948,
-0.013225937262177467,
0.039153747260570526,
0.050878554582595825,
-0.029063308611512184,
0.0034241764806210995,
0.06064922735095024,
-0.0074212695471942425,
0.04519380256533623,
0.022561371326446533,
0.02302325703203678,
-0.01845768839120865,
0.009539728984236717,
0.004310199059545994,
-0.006297642365098,
-0.0035440893843770027,
0.01725856028497219,
0.03192345052957535,
-0.09024548530578613,
0.04654392972588539,
-0.008966812863945961,
0.005489341448992491,
-0.06011628359556198,
0.007034884300082922,
0.018884044140577316,
-0.004536700900644064,
0.01209786906838417,
-0.032456398010253906,
-0.05574612691998482,
0.005951227620244026,
-0.004196947906166315,
0.04707687720656395,
0.053152456879615784,
-0.06345607340335846,
0.008682575076818466,
-0.03869186341762543,
0.04100129380822182,
0.011520510539412498,
0.08285529911518097,
0.005933462642133236,
0.008318395353853703,
-0.006151082459837198,
-0.021566538140177727,
0.02703811414539814,
-0.02583010494709015,
-0.026256460696458817,
-0.016503553837537766,
-0.021531008183956146,
-0.013021641410887241,
-0.015499839559197426,
-0.013403586111962795,
0.014069768600165844,
0.017009852454066277,
0.030910855159163475,
0.04100129380822182,
-0.07532300055027008,
0.020589470863342285,
-0.042138244956731796,
-0.010108204558491707,
-0.04128553345799446,
-0.050843026489019394,
-0.01585513725876808,
0.046259693801403046,
-0.011840278282761574,
0.013376939110457897,
0.04821382835507393,
-0.07944444566965103,
0.004068152513355017,
0.06434431672096252,
0.020784884691238403,
0.011378391645848751,
-0.021495478227734566,
0.034392766654491425,
-0.12733851373195648,
0.006599645130336285,
-0.04366602376103401,
0.05691860616207123,
0.0007822089246474206,
0.005915698129683733,
-0.03330910950899124,
-0.03179909661412239,
0.08562661707401276,
-0.05993863195180893,
-0.049635015428066254,
-0.010578973218798637,
0.03663113713264465,
0.000729469524230808,
0.016468023881316185,
0.11426357179880142,
-0.05361434444785118,
0.014949128963053226,
0.013039406388998032,
-0.011822513304650784,
0.00448118569329381,
-0.06178617849946022,
0.028121771290898323,
0.054431527853012085,
0.012151163071393967,
0.029578490182757378,
-0.049777135252952576,
0.022206073626875877,
-0.001226885593496263,
0.059085920453071594,
-0.03052002750337124,
0.02090923860669136,
-0.06992248445749283,
-0.05066537857055664,
0.01049014925956726,
0.07262274622917175,
-0.04355943202972412,
-0.017498385161161423,
0.0351744219660759,
-0.0004316305567044765,
-0.0104190893471241,
-0.0667603388428688,
0.003939357586205006,
0.031141797080636024,
-0.0629231333732605,
-0.005045219790190458,
0.012106751091778278,
0.04629522189497948,
-0.0009010114590637386,
-0.0381944477558136,
-0.06867894530296326,
-0.02177971601486206,
-0.009735142812132835,
-0.03272286802530289,
0.020020995289087296,
0.021282300353050232,
0.015588663518428802,
-0.010561208240687847,
-0.003124394454061985,
-0.00290677510201931,
0.07496770471334457,
0.02034076303243637,
-0.00998385064303875,
0.04192506521940231,
0.05229974538087845,
-0.051411502063274384,
0.009157784283161163,
0.021424420177936554,
-0.03190568462014198,
0.00552042992785573,
-0.03062661737203598,
-0.028406009078025818,
0.036844316869974136,
-0.01208010409027338,
0.009735142812132835,
-0.009370963089168072,
-0.06953165680170059,
-0.0011336200404912233,
0.004248021636158228,
-0.004401243757456541,
-0.02208171971142292,
0.044376615434885025,
-0.02908107452094555,
0.03433947265148163,
-0.02378714643418789,
0.027624355629086494,
-0.03160368278622627,
0.02979166805744171,
-0.011049741879105568,
-0.01845768839120865,
0.04053940623998642,
0.04316860809922218,
-0.006435320246964693,
0.03455264866352081,
0.0042635658755898476,
-0.06555233150720596,
0.059760984033346176,
0.023840440437197685,
0.01809350773692131,
-0.043843671679496765,
-0.06366925686597824,
-0.021602068096399307,
-0.06235465407371521,
0.01306605339050293,
-0.01920381188392639,
-0.002920098602771759,
-0.00045244875946082175,
-0.026043282821774483,
-0.02137112431228161,
-0.014167474582791328,
0.011937985196709633,
0.00884689949452877,
-0.10815245658159256,
0.03414405882358551,
-0.04014858230948448,
-0.040859173983335495,
-0.0364534892141819,
-0.032012276351451874,
0.014354005455970764,
-0.015206718817353249,
0.005045219790190458,
-0.012160046026110649,
0.034126292914152145,
-0.03890503942966461,
0.031816862523555756,
0.0036151488311588764,
-0.0464373417198658,
-0.05180232971906662,
-0.016672320663928986,
0.026647288352251053,
-0.0014744832878932357,
-0.02389373444020748,
-0.04959948733448982,
0.012346576899290085,
0.04757429286837578,
-0.019576873630285263,
-0.03346899524331093,
0.010916505940258503,
0.027766473591327667,
-0.0416763573884964,
-0.034197352826595306,
-0.009726259857416153,
0.006093346513807774,
0.015792960301041603,
0.04302648827433586,
0.00733688659965992,
0.002547036623582244,
0.030804265290498734,
0.03879845142364502,
0.006906088907271624,
0.024710917845368385,
0.05684754624962807,
-0.020749354735016823,
0.011671512387692928,
0.039082691073417664,
0.06079134717583656,
-0.019825583323836327,
-0.031248386949300766,
-0.05958333611488342,
-0.030768735334277153,
0.025048451498150826,
0.010872093960642815,
0.015437662601470947,
-0.03284722566604614,
0.004809835460036993,
0.02245478145778179,
0.04572674632072449,
0.037306204438209534,
-0.03663113713264465,
0.02552810125052929,
-0.01993217132985592,
-0.030075905844569206,
0.030484497547149658,
0.010969799943268299,
0.0050674257799983025,
0.046082042157649994,
0.012417635880410671,
0.026895996183156967,
-0.09372739493846893,
0.013732235878705978,
-0.01879522018134594,
-0.03052002750337124,
-0.028938954696059227,
-0.02593669295310974,
0.03766150027513504,
0.008469396270811558,
0.03625807538628578,
-0.007674418855458498,
0.03032461367547512,
0.02261466532945633,
-0.04014858230948448,
0.023964794352650642,
0.05812661722302437,
-0.008118540048599243,
-0.017986919730901718,
-0.004854247439652681,
-0.0011480540269985795,
0.012852875515818596,
-0.0061688474379479885,
-0.021797481924295425,
-0.05762920156121254,
0.03171027451753616,
0.02767764963209629,
-0.0016643451526761055,
-0.011715924367308617,
0.02854812890291214,
-0.008607073687016964,
-0.002259467961266637,
-0.03092861920595169,
-0.04302648827433586,
0.02654069848358631,
0.020056525245308876,
0.007954215630888939,
-0.0312839150428772,
0.03869186341762543,
0.043275196105241776,
0.032012276351451874,
-0.007008236832916737,
-0.01512677688151598,
-0.022365957498550415,
0.004623304586857557,
0.07361757755279541,
-0.0009570817928761244,
-0.011538275517523289,
-0.00884245801717043,
0.04359496384859085,
-0.06178617849946022,
0.01859980635344982,
-0.030768735334277153,
0.02938307635486126,
-0.02861918695271015,
-0.0659431591629982,
-0.0036950905341655016,
0.03943798691034317,
0.01684996858239174,
0.007230297662317753,
0.019345931708812714,
-0.0511983223259449,
0.02835271507501602,
-0.0023382995277643204,
-0.0390116311609745,
-0.0282105952501297,
0.03565407171845436,
0.02730458788573742,
-0.038549743592739105,
0.04650840163230896,
-0.02412467822432518,
0.0002056837547570467,
-0.03435723856091499,
-0.019079457968473434,
-0.02801518142223358,
0.045655686408281326,
0.03460594639182091,
0.0029889375437051058,
-0.010090439580380917,
0.009335433132946491,
0.0685012936592102,
0.027802003547549248,
0.04750323295593262,
-0.010836564004421234,
-0.020553940907120705,
-0.0030533350072801113,
0.039935402572155,
0.025457043200731277,
0.04519380256533623,
-0.0033997497521340847,
0.012346576899290085,
0.05752261355519295,
-0.004103682469576597,
-0.03719961270689964,
0.009992732666432858,
-0.002177305519580841,
-0.012088986113667488,
0.02874354086816311,
0.018653102219104767,
0.012852875515818596,
-0.01826227456331253,
-0.004920865874737501,
-0.023662792518734932,
-0.01164486538618803,
0.027890827506780624,
0.014229651540517807,
0.03922480717301369,
-0.01514454185962677,
-0.012959464453160763,
0.04487403482198715,
0.08235788345336914,
-0.01263081468641758,
0.02760658971965313,
-0.026984820142388344,
-0.028832366690039635,
-0.029809432104229927,
0.030413437634706497,
-0.004396802745759487,
0.017773741856217384,
-0.008451631292700768,
0.00943314004689455,
0.027659885585308075,
0.00018639222253113985,
-0.043879199773073196,
-0.05464470386505127,
0.001028141239657998,
-0.01856427825987339,
0.03460594639182091,
0.02442668005824089,
-0.004423449747264385,
0.09010336548089981,
0.04011305049061775,
-0.006279877386987209,
-0.0019430314423516393,
0.042635660618543625,
0.010312500409781933,
0.052655041217803955,
-0.03950904682278633,
0.018280040472745895,
0.009575258940458298,
0.022810079157352448,
-0.007243621163070202,
0.02140665426850319,
0.0416763573884964,
0.016610143706202507,
-0.0063909078016877174,
0.04927971959114075,
0.02037629298865795,
-0.0032376456074416637,
0.04156976938247681,
-0.026860466226935387,
0.007803214248269796,
-0.04753876104950905,
-0.0024315649643540382,
-0.0063731432892382145,
-0.06572997570037842,
-0.011271802708506584,
0.04984819516539574,
0.0053827520459890366,
-0.014540537260472775,
-0.0027446707244962454,
-0.03840762376785278,
-0.020820414647459984,
0.023236434906721115,
0.08058139681816101,
0.026860466226935387,
-0.06057816743850708,
-0.010348030366003513,
-0.028530362993478775,
-0.03989987447857857,
0.04629522189497948,
-0.023645026609301567,
-0.024906331673264503,
0.045655686408281326,
-0.012604167684912682,
-0.061466410756111145,
0.052583981305360794,
0.016441376879811287,
0.01684996858239174,
0.05126938223838806,
0.002602551830932498,
-0.006599645130336285,
-0.06381136924028397,
-0.015082364901900291,
-0.04775194078683853,
-0.008242894895374775,
0.01571301743388176,
0.02185077592730522,
-0.03227875009179115,
0.026647288352251053,
0.007048207800835371,
-0.0034330589696764946,
0.022632429376244545,
-0.04942183569073677,
0.045122742652893066,
-0.029702844098210335,
0.013501293025910854,
-0.09628553688526154,
-0.06057816743850708,
-0.0014656007988378406,
-0.00681726448237896,
0.0941537544131279,
-0.07447028905153275,
-0.06924741715192795,
0.020322998985648155,
0.039082691073417664,
0.011866925284266472,
0.02941860631108284,
0.037981268018484116,
-0.027890827506780624,
-0.05361434444785118,
-0.049670543521642685,
0.05453811585903168,
-0.08896641433238983,
0.011484981514513493,
0.011786983348429203,
-0.006017846055328846,
0.0577002614736557,
0.023396318778395653,
0.026149872690439224,
0.07127261161804199,
-0.028050711378455162,
-0.022223837673664093,
0.016343669965863228,
0.011209625750780106,
0.010960917919874191,
-0.02204618975520134,
0.05773578956723213,
0.0232186708599329,
-0.01695655845105648,
-0.019239341840147972,
-0.012950582429766655,
-0.006746205035597086,
0.05059431865811348,
-0.010383560322225094,
-0.030004845932126045,
-0.048000648617744446,
0.04988372325897217,
0.04593992605805397,
-0.045016150921583176,
-0.02362726256251335,
0.008051922544836998,
-0.0049652778543531895,
-0.055071063339710236,
-0.00522730965167284,
0.03815891593694687,
-0.03933139890432358,
0.025776810944080353,
-0.033220287412405014,
-0.03263404592871666,
0.032953813672065735,
-0.08441860973834991,
0.03656008094549179,
-0.0732622742652893,
0.03687984496355057,
0.016841085627675056,
0.033788762986660004,
0.028672482818365097,
-0.03577842563390732,
0.02673611231148243,
0.0012257752241566777,
-0.03926033899188042,
0.060329459607601166,
-0.057451553642749786,
-0.06324289739131927,
-0.06615633517503738,
-0.03837209567427635,
-0.03805232793092728,
0.03451712056994438,
0.05112726241350174,
-0.008713663555681705,
-0.01306605339050293,
-0.047929588705301285,
0.01357235200703144,
0.0063864667899906635,
-0.028494833037257195,
0.00199743639677763,
0.058552972972393036,
-0.063278429210186,
0.025314923375844955,
0.030377907678484917,
0.026327520608901978,
-0.05986757576465607,
-0.025119509547948837,
0.025705751031637192,
0.027286823838949203,
0.031443800777196884,
-0.03494347631931305,
0.020749354735016823,
-0.030484497547149658,
0.01249757781624794,
0.009228844195604324,
0.01638808287680149,
0.04473191499710083,
-0.010525679215788841,
0.04714793339371681,
-0.027482235804200172,
0.018741926178336143,
0.0262386966496706,
0.07781007885932922,
0.050807494670152664,
-0.03695090487599373,
-0.03224321827292442,
-0.01455830130726099,
-0.03259851410984993,
-0.008651486597955227,
0.0275710616260767,
0.05698966607451439,
0.09301680326461792,
0.0036262518260627985,
0.010880975984036922,
0.001955244690179825,
0.024568799883127213,
-0.01792474277317524,
0.023769380524754524,
0.020731590688228607,
0.08328165858983994,
-0.025243863463401794,
-0.0023049903102219105,
0.01585513725876808,
-0.007896480150520802,
-0.015411014668643475,
0.02117571234703064,
-0.011742571368813515,
-0.037910208106040955,
-0.009539728984236717,
-0.013963178731501102,
-0.0019685684237629175,
-0.04427002742886543,
-0.06100452318787575,
-0.02318314090371132,
-0.00037528263055719435,
-0.029596254229545593,
0.018208980560302734,
0.043275196105241776,
-0.057344965636730194,
-0.0009370963089168072
]
|
43,920 | jsons.exceptions | __init__ |
Constructor.
:param message: the message describing the problem.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
| def __init__(self, message: str, source: object, target: Optional[type]):
"""
Constructor.
:param message: the message describing the problem.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
"""
JsonsError.__init__(self, message)
self._source = source
self._target = target
| (self, message: str, source: object, target: Optional[type]) | [
-0.03341689333319664,
-0.00917904730886221,
0.02845873311161995,
-0.021104436367750168,
-0.04563719034194946,
-0.03789582476019859,
0.0004247959004715085,
0.08146865665912628,
0.0466693751513958,
-0.05665941908955574,
0.018662219867110252,
0.025141004472970963,
0.00028007730725221336,
-0.011519888415932655,
-0.02838500589132309,
0.09931065887212753,
-0.016247650608420372,
0.04077119007706642,
0.02309507317841053,
0.0029536995571106672,
-0.004013529047369957,
-0.008377263322472572,
-0.01553802564740181,
0.07520183175802231,
0.006557120475918055,
0.05098241940140724,
0.014616434462368488,
0.0020655160769820213,
0.010893207043409348,
-0.027371255680918694,
-0.03612637147307396,
-0.032347846776247025,
-0.0076399901881814,
0.09267520159482956,
-0.024790801107883453,
0.039517827332019806,
-0.022376231849193573,
0.06417960673570633,
-0.1328565776348114,
-0.01718767359852791,
-0.10410293191671371,
0.0406237356364727,
-0.06454823911190033,
0.024993550032377243,
0.07442769408226013,
-0.001242995960637927,
-0.03808014467358589,
0.0016150884330272675,
-0.08139492571353912,
-0.011178900487720966,
-0.011722639203071594,
0.0046263872645795345,
-0.011888525448739529,
0.029122278094291687,
-0.027021050453186035,
0.05632764846086502,
0.007916467264294624,
0.08707192540168762,
-0.015068014152348042,
0.03573930263519287,
-0.019464004784822464,
0.06631769239902496,
0.036937370896339417,
0.00013766267511527985,
-0.02597043663263321,
-0.026892028748989105,
-0.06631769239902496,
-0.02820068784058094,
0.007616950664669275,
0.060235194861888885,
0.06602278351783752,
0.04674310237169266,
-0.026910459622740746,
0.06919305771589279,
0.09193792939186096,
-0.04073432832956314,
-0.0455634631216526,
0.04176650941371918,
-0.029325028881430626,
-0.013759355060756207,
0.02069893665611744,
-0.01267187763005495,
-0.06082501262426376,
-0.005087182857096195,
0.008874922059476376,
-0.04047628119587898,
-0.03553655371069908,
-0.026486529037356377,
-0.035112619400024414,
-0.008547757752239704,
-0.08906256407499313,
-0.02536218799650669,
-0.08353301882743835,
0.00028482923517003655,
-0.02326095849275589,
0.006188484374433756,
0.013234048150479794,
-0.09525565803050995,
0.0007453368161804974,
0.016643935814499855,
0.03262432664632797,
0.0008570797508582473,
0.006289859302341938,
-0.0001905101671582088,
0.021786414086818695,
-0.01815534383058548,
0.02064364030957222,
-0.010883990675210953,
0.01650569587945938,
0.019703617319464684,
-0.004958160221576691,
-0.0104324109852314,
-0.0627787858247757,
0.042540647089481354,
0.008616876788437366,
-0.027592437341809273,
0.02069893665611744,
0.0031403216999024153,
-0.032034505158662796,
0.00774597330018878,
0.06215210258960724,
0.006617024075239897,
-0.03540752828121185,
0.0567331500351429,
0.0404394157230854,
-0.032366279512643814,
-0.00253437552601099,
-0.034854575991630554,
0.039960190653800964,
-0.023906072601675987,
-0.0038522507529705763,
-0.006441921927034855,
-0.06211524084210396,
0.003520478028804064,
0.03271648287773132,
0.042135145515203476,
-0.060272056609392166,
0.006229955703020096,
-0.01698492467403412,
-0.0018143825000151992,
0.060419511049985886,
0.07103624194860458,
0.03044936992228031,
-0.09724629670381546,
-0.029785824939608574,
0.003317727940157056,
-0.008976297453045845,
-0.002909923903644085,
-0.021178163588047028,
0.03247687220573425,
-0.008128433488309383,
-0.034393779933452606,
-0.0007067451952025294,
0.021546799689531326,
-0.018634572625160217,
-0.04589523747563362,
-0.01672687940299511,
-0.018035538494586945,
0.03181332349777222,
0.006755262613296509,
-0.006340546999126673,
-0.03874368965625763,
0.028772074729204178,
-0.057691603899002075,
-0.005524938460439444,
-0.006451137829571962,
0.018109265714883804,
-0.04858628287911415,
-0.045010510832071304,
0.01648726500570774,
-0.07660265266895294,
-0.03544439375400543,
-0.01174107100814581,
0.015749992802739143,
0.040144506841897964,
-0.0013720187125727534,
0.017196889966726303,
0.0517934188246727,
-0.02060677669942379,
-0.0034882223699241877,
0.037121690809726715,
0.016312163323163986,
0.0009999263565987349,
0.0025090316776186228,
0.029841119423508644,
0.02095698192715645,
-0.021989163011312485,
0.01678217388689518,
0.027279095724225044,
0.013777786865830421,
0.02595200575888157,
0.014422900974750519,
-0.007432632148265839,
-0.01633981056511402,
0.016275299713015556,
-0.002189930761232972,
-0.003790043294429779,
-0.01590666174888611,
-0.018680650740861893,
0.04821764677762985,
-0.06723928451538086,
0.04121355339884758,
-0.008220592513680458,
-0.004269270692020655,
-0.014966639690101147,
0.005059535149484873,
0.01652412861585617,
0.02560180053114891,
0.012653445824980736,
-0.0506875105202198,
-0.026615550741553307,
-0.01780514046549797,
-0.005810631904751062,
0.021878572180867195,
0.027574006468057632,
-0.05592214688658714,
0.002386920852586627,
-0.0420982800424099,
0.022468391805887222,
0.02809009701013565,
0.1088952049612999,
0.01303129829466343,
-0.026173187419772148,
-0.006520256865769625,
0.005336012691259384,
0.021454641595482826,
-0.037600915879011154,
-0.03841191530227661,
-0.007732149213552475,
-0.03114977851510048,
-0.017316697165369987,
-0.032163530588150024,
-0.014616434462368488,
0.021767981350421906,
0.019169094040989876,
-0.015123309567570686,
0.040107645094394684,
-0.06244701147079468,
-0.019058503210544586,
-0.04375714436173439,
0.006036421749740839,
-0.04316732659935951,
-0.042245734483003616,
-0.01830280013382435,
0.04357282817363739,
-0.02327939122915268,
0.009492387995123863,
0.047480374574661255,
-0.05876065045595169,
0.015058798715472221,
0.040144506841897964,
0.028772074729204178,
-0.03085486963391304,
-0.026339074596762657,
0.004018137231469154,
-0.08921001851558685,
0.03948096185922623,
-0.07343237847089767,
0.047185465693473816,
-0.004550355952233076,
-0.017418071627616882,
-0.04055000841617584,
-0.006229955703020096,
0.10425038635730743,
-0.052604418247938156,
-0.04276182875037193,
-0.018643787130713463,
0.0025551114231348038,
-0.004181719850748777,
0.0016024165088310838,
0.14325211942195892,
-0.017565526068210602,
0.036826781928539276,
0.03041250631213188,
-0.019703617319464684,
-0.021196594461798668,
-0.05054005607962608,
0.009137575514614582,
0.03870682790875435,
-0.006971836555749178,
0.024606483057141304,
-0.037158552557229996,
0.05986655876040459,
-0.0038822025526314974,
0.0411766916513443,
-0.021933868527412415,
0.006792126223444939,
-0.026468096300959587,
-0.06646514683961868,
0.004819921683520079,
0.04431010037660599,
0.018717514351010323,
0.002976739313453436,
0.040218234062194824,
-0.0029560034163296223,
0.012091275304555893,
-0.04287241771817207,
0.018404174596071243,
0.017888084053993225,
-0.06462197005748749,
0.0115751838311553,
-0.0256202332675457,
0.04335164651274681,
-0.014091127552092075,
-0.0611199215054512,
-0.052530691027641296,
-0.010026911273598671,
-0.027758324518799782,
-0.014994286932051182,
0.018671436235308647,
0.04633760079741478,
0.05488996580243111,
-0.02016441337764263,
0.027168504893779755,
0.021823277696967125,
0.07770856469869614,
0.022671140730381012,
-0.026910459622740746,
0.01520625315606594,
0.05407896637916565,
-0.04877060279250145,
-0.013270911760628223,
0.026910459622740746,
-0.06226269528269768,
-0.006819773931056261,
-0.028827369213104248,
-0.03638441488146782,
0.024864528328180313,
0.006557120475918055,
0.014754673466086388,
-0.018275151029229164,
-0.02818225510418415,
0.027776755392551422,
-0.026836732402443886,
-0.037029530853033066,
-0.032292552292346954,
0.013307775370776653,
-0.026173187419772148,
0.025011982768774033,
-0.009916320443153381,
0.032366279512643814,
-0.04180337116122246,
0.0169296283274889,
0.008768939413130283,
0.00513787055388093,
0.016828253865242004,
0.037287574261426926,
-0.05592214688658714,
0.049655329436063766,
-0.0023373854346573353,
-0.0759391039609909,
0.06849265098571777,
0.04641132801771164,
0.014727026224136353,
-0.015805287286639214,
-0.055037420243024826,
-0.02084639109671116,
-0.034504372626543045,
0.0024491283111274242,
-0.021288754418492317,
0.019500868394970894,
-0.0035296939313411713,
-0.019113799557089806,
-0.012229514308273792,
-0.015934310853481293,
0.04316732659935951,
0.0459320992231369,
-0.06628083437681198,
0.01648726500570774,
-0.008681388571858406,
-0.03789582476019859,
-0.05297305807471275,
-0.07498065382242203,
0.018404174596071243,
-0.052678149193525314,
0.00521159777417779,
-0.011888525448739529,
0.018413390964269638,
-0.0655066967010498,
0.013593468815088272,
0.0026104068383574486,
-0.013814650475978851,
-0.026339074596762657,
-0.0014238582225516438,
-0.008561581373214722,
-0.02578611858189106,
-0.0069994842633605,
0.01563018560409546,
0.006727614905685186,
0.052604418247938156,
0.00022175785852596164,
-0.06561728566884995,
0.0464850552380085,
0.0017060955287888646,
0.01170420739799738,
-0.03614480420947075,
-0.0003965721698477864,
0.03140782564878464,
-0.014616434462368488,
0.04338850826025009,
0.009238950908184052,
-0.01810004934668541,
0.02331625483930111,
0.03406200557947159,
0.008580013178288937,
0.0312972329556942,
0.04545287415385246,
0.002435304457321763,
0.019906368106603622,
0.03653187304735184,
0.06421646475791931,
-0.027444982901215553,
-0.03356434777379036,
-0.040218234062194824,
-0.04615328088402748,
0.02311350405216217,
-0.003794651245698333,
0.014395252801477909,
-0.02296604961156845,
-0.015409003011882305,
0.04084491729736328,
0.027518710121512413,
0.04202455282211304,
-0.04176650941371918,
0.04372028261423111,
-0.009538467973470688,
-0.021251890808343887,
0.01798945851624012,
0.04390459880232811,
-0.00257123913615942,
0.016008038073778152,
0.050318874418735504,
0.037527188658714294,
-0.0805101990699768,
0.01795259490609169,
0.004379861522465944,
-0.03544439375400543,
-0.04088178277015686,
0.01786043494939804,
0.042724963277578354,
-0.001386994612403214,
-0.006363586522638798,
0.005552586168050766,
0.034965164959430695,
0.004345302004367113,
-0.052346374839544296,
-0.005981126334518194,
0.045084238052368164,
0.007110075559467077,
-0.007948723621666431,
0.01138165034353733,
-0.013316991738975048,
0.03409887105226517,
-0.019021639600396156,
-0.024440595880150795,
-0.08736683428287506,
0.0029122279956936836,
0.0464850552380085,
0.007483319845050573,
-0.021749550476670265,
0.006861245725303888,
-0.018533196300268173,
-0.0015160173643380404,
-0.03538909927010536,
-0.04412578046321869,
0.0675341933965683,
0.02272643707692623,
-0.015639400109648705,
-0.02104914002120495,
0.018809674307703972,
0.010681240819394588,
0.032403141260147095,
-0.024256277829408646,
0.015676263719797134,
-0.02287389151751995,
0.010681240819394588,
0.06366351246833801,
-0.021528368815779686,
-0.021952299401164055,
-0.00817912071943283,
0.048033326864242554,
-0.03610793873667717,
0.04360968992114067,
0.0020102206617593765,
-0.003246304579079151,
-0.02344527840614319,
-0.03079957515001297,
-0.01694806106388569,
0.024127254262566566,
0.03592362254858017,
0.008303536102175713,
0.03844878077507019,
-0.026486529037356377,
-0.0076814619824290276,
0.013685627840459347,
-0.013270911760628223,
-0.019021639600396156,
0.03109448403120041,
0.0015885926550254226,
-0.023906072601675987,
0.05942419543862343,
-0.01284698024392128,
-0.048033326864242554,
-0.054853104054927826,
0.0013904505176469684,
-0.04545287415385246,
0.021178163588047028,
0.03280864283442497,
-0.019795777276158333,
0.016846684738993645,
0.010552218183875084,
0.09997420012950897,
0.016247650608420372,
0.0635160580277443,
-0.010930070653557777,
-0.00767224607989192,
-0.026947323232889175,
0.03271648287773132,
0.004589523654431105,
0.008851882070302963,
-0.017261400818824768,
0.06723928451538086,
0.05960851162672043,
-0.017279833555221558,
0.0010287261102348566,
-0.016514912247657776,
-0.01661628670990467,
0.005234637297689915,
0.026763005182147026,
0.018293583765625954,
0.04106609895825386,
-0.030117597430944443,
-0.006294467020779848,
-0.005566410254687071,
-0.03844878077507019,
0.04869687557220459,
0.02307664044201374,
0.029380325227975845,
-0.024661777541041374,
-0.02060677669942379,
0.048033326864242554,
0.0567331500351429,
-0.01691119745373726,
0.021178163588047028,
-0.02023814059793949,
-0.01581450365483761,
-0.02016441337764263,
0.050392601639032364,
-0.034504372626543045,
0.014118775725364685,
-0.005598666146397591,
-0.03612637147307396,
0.00260810274630785,
0.058133967220783234,
-0.04069746285676956,
-0.032016076147556305,
-0.00031305296579375863,
-0.0043499101884663105,
0.05577469244599342,
0.03907546401023865,
0.007547831162810326,
0.047590963542461395,
-0.008851882070302963,
0.04268810153007507,
-0.007649206090718508,
0.01524311676621437,
0.014865264296531677,
0.04169278219342232,
-0.019740480929613113,
0.028735211119055748,
0.004704722668975592,
-0.00014299062604550272,
-0.002472168067470193,
0.04364655539393425,
0.03284550830721855,
0.011989899910986423,
-0.0003836122923530638,
0.03572086989879608,
0.0006491457461379468,
-0.011169684119522572,
0.024311574175953865,
-0.0027117817662656307,
0.00793489906936884,
-0.04954473674297333,
-0.008543149568140507,
-0.02326095849275589,
-0.044863056391477585,
-0.04644818976521492,
0.026615550741553307,
0.008068529888987541,
-0.003949017729610205,
-0.00012535079440567642,
-0.02574925497174263,
0.014413684606552124,
0.005183950066566467,
0.03597891703248024,
0.04095550999045372,
-0.06325801461935043,
0.021749550476670265,
-0.0113447867333889,
-0.042540647089481354,
0.040218234062194824,
-0.026578687131404877,
0.004131032153964043,
0.03308511897921562,
-0.01166734378784895,
-0.04276182875037193,
0.021657390519976616,
-0.007160762790590525,
0.017703764140605927,
0.03618166595697403,
-0.0033269438426941633,
-0.0007459127809852362,
-0.04405205324292183,
-0.013575037010014057,
-0.05474251136183739,
-0.007953330874443054,
0.053083647042512894,
0.023906072601675987,
0.008727467618882656,
0.016404321417212486,
-0.0023892249446362257,
0.014127991162240505,
0.045084238052368164,
-0.050208281725645065,
0.03540752828121185,
-0.03870682790875435,
-0.020182844251394272,
-0.07829838246107101,
-0.06499060243368149,
0.008709035813808441,
-0.007953330874443054,
0.04663250967860222,
-0.050503190606832504,
-0.05559037625789642,
0.014515060000121593,
0.05820769444108009,
0.009722786024212837,
0.03546282649040222,
0.04854941740632057,
-0.047332920134067535,
-0.04184023663401604,
-0.03826446086168289,
0.04324105381965637,
-0.06871382892131805,
0.003193313255906105,
0.0006704575498588383,
-0.02042245864868164,
0.037084825336933136,
0.02783205173909664,
0.03161057457327843,
0.07332178950309753,
-0.04976591840386391,
0.005474251229315996,
0.02576768770813942,
0.05120360106229782,
-0.024016663432121277,
0.006229955703020096,
0.07413278520107269,
0.0031541455537080765,
-0.018533196300268173,
0.019150663167238235,
0.025085709989070892,
0.01435838919132948,
0.0033430717885494232,
-0.034854575991630554,
-0.02104914002120495,
-0.0880303829908371,
0.03126037120819092,
0.06646514683961868,
-0.04560032859444618,
-0.021878572180867195,
0.006898109335452318,
-0.009151400066912174,
-0.0508718304336071,
-0.004773841705173254,
0.03269805386662483,
-0.026892028748989105,
0.017998674884438515,
-0.02340841479599476,
-0.02545434609055519,
0.008580013178288937,
-0.07236333191394806,
-0.006930365227162838,
-0.04854941740632057,
0.07162605971097946,
-0.01635824143886566,
0.050245147198438644,
0.035002030432224274,
-0.045084238052368164,
0.018745163455605507,
-0.030246619135141373,
-0.04877060279250145,
0.02044089138507843,
-0.03620009869337082,
-0.05127732828259468,
-0.08316437900066376,
-0.06823460757732391,
-0.017501015216112137,
0.022560549899935722,
0.050060827285051346,
0.0000025694751002447447,
-0.016054116189479828,
-0.03105762042105198,
-0.016146276146173477,
-0.01641353778541088,
-0.031831756234169006,
0.007819700054824352,
0.06502746790647507,
-0.05474251136183739,
0.02567552775144577,
0.006017989944666624,
0.03863310068845749,
-0.05909242108464241,
-0.02563866414129734,
0.0334906205534935,
0.03054152987897396,
0.02871677838265896,
-0.0472223274409771,
-0.01550116203725338,
-0.02060677669942379,
0.0029675234109163284,
0.004796881694346666,
0.009340325370430946,
0.07498065382242203,
-0.019593026489019394,
-0.002419176744297147,
-0.05437387526035309,
0.03354591503739357,
-0.004953552037477493,
0.070999376475811,
0.04888119176030159,
-0.049876511096954346,
-0.026707710698246956,
-0.008275887928903103,
-0.04147160053253174,
-0.0001691983634373173,
0.035112619400024414,
0.07844583690166473,
0.09304383397102356,
-0.03371180221438408,
0.03852250799536705,
0.016035685315728188,
0.01758395880460739,
-0.03159214183688164,
0.00032572486088611186,
0.0327533483505249,
0.0406237356364727,
-0.019224390387535095,
0.0051332623697817326,
0.007040956057608128,
-0.01806318573653698,
0.005833671893924475,
0.02853246033191681,
0.009861025027930737,
-0.05422642081975937,
-0.01556567382067442,
0.005368268117308617,
-0.004110296256840229,
-0.026781437918543816,
-0.06480628252029419,
-0.026136323809623718,
0.037564054131507874,
-0.0620415136218071,
0.04309359937906265,
0.030320346355438232,
-0.02622848190367222,
0.010690457187592983
]
|
43,922 | enum | IntEnum | Enum where members are also (and must be) ints | class IntEnum(int, Enum):
"""Enum where members are also (and must be) ints"""
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.006243823561817408,
-0.02803276851773262,
-0.06360256671905518,
0.004035154357552528,
-0.02957927994430065,
-0.03569422662258148,
-0.005959407426416874,
-0.049026235938072205,
-0.020993467420339584,
-0.07537028193473816,
0.0015287369024008512,
0.011474414728581905,
0.04106258228421211,
0.030201440677046776,
-0.012789838947355747,
0.018753690645098686,
-0.03484097868204117,
0.03443213179707527,
0.002174228196963668,
0.019429178908467293,
0.0024553113617002964,
0.02901044860482216,
-0.03190793842077255,
-0.005088382866233587,
-0.0032818957697600126,
0.06907757371664047,
-0.02088681235909462,
-0.006288263481110334,
0.0008065864676609635,
-0.07359268516302109,
-0.07750340551137924,
-0.0027841676492244005,
-0.0013431997504085302,
-0.04276908189058304,
-0.007697012275457382,
-0.0331522598862648,
-0.037791796028614044,
0.06964641064405441,
-0.08582257479429245,
0.09655928611755371,
-0.030876928940415382,
-0.03946274146437645,
-0.03750738129019737,
-0.014336352236568928,
0.015038504265248775,
-0.04305349662899971,
0.028886016458272934,
-0.04028043895959854,
-0.028068318963050842,
-0.040422648191452026,
0.036831893026828766,
-0.015856200829148293,
0.03107246570289135,
-0.02881491184234619,
0.003928498364984989,
0.05219036713242531,
-0.002163118217140436,
0.02444201335310936,
-0.054643455892801285,
0.06061619520187378,
-0.043409015983343124,
0.021811164915561676,
0.012167679145932198,
-0.07949431985616684,
0.0008549150079488754,
-0.026184063404798508,
-0.011483302339911461,
-0.02188226766884327,
-0.034254372119903564,
0.05357689410448074,
-0.010594502091407776,
0.010176765732467175,
0.031019138172268867,
0.05475011095404625,
0.06516685336828232,
-0.0038129540625959635,
-0.0002799721551127732,
0.031196897849440575,
0.013891952112317085,
0.0007738119456917048,
0.0246731024235487,
-0.032210130244493484,
0.03524982929229736,
0.059478528797626495,
-0.02929486520588398,
0.020566843450069427,
-0.018291514366865158,
-0.0759391114115715,
0.010461182333528996,
-0.003113023703917861,
-0.04223579913377762,
-0.002481975359842181,
-0.006932643707841635,
-0.05062607675790787,
0.0417025201022625,
0.02117122709751129,
-0.0031485757790505886,
0.00026900102966465056,
-0.09748364239931107,
-0.06296262890100479,
-0.05279475077986717,
-0.0012943156762048602,
-0.03382774814963341,
-0.027659472078084946,
0.0020797932520508766,
-0.026077406480908394,
0.010896693915128708,
-0.06267821043729782,
-0.021988924592733383,
0.010798926465213299,
-0.03057473711669445,
-0.032778963446617126,
-0.05048386752605438,
0.005786091089248657,
-0.0042817965149879456,
0.025330813601613045,
0.020797932520508766,
-0.001469853799790144,
0.008305841125547886,
0.024797534570097923,
0.011669950559735298,
0.04781746864318848,
0.026166286319494247,
0.06555792689323425,
0.07401930540800095,
0.045222170650959015,
0.01806042529642582,
-0.006768215913325548,
-0.023588765412569046,
0.03850283846259117,
-0.013723080046474934,
-0.02113567665219307,
-0.016380593180656433,
0.02723284810781479,
0.007941432297229767,
0.05588777735829353,
0.05019945278763771,
0.021828940138220787,
-0.02421092614531517,
0.016211722046136856,
0.019002554938197136,
0.035285379737615585,
0.03158796951174736,
-0.014034159481525421,
-0.008785792626440525,
0.037080757319927216,
-0.03907167166471481,
0.022771069779992104,
0.005381687078624964,
0.0402093343436718,
-0.010763374157249928,
-0.02319769375026226,
-0.028708256781101227,
0.03686744347214699,
-0.007945876568555832,
0.006168275605887175,
-0.0018409279873594642,
-0.0707840695977211,
0.005759427323937416,
0.024370910599827766,
-0.00038107321597635746,
0.002147564198821783,
-0.014860744588077068,
-0.021011244505643845,
0.04632428288459778,
0.05546114966273308,
-0.032441217452287674,
-0.047533050179481506,
0.011776606552302837,
-0.0036551919765770435,
-0.032690081745386124,
-0.03725851699709892,
0.09805247187614441,
-0.0038396180607378483,
0.02339322865009308,
-0.005550559144467115,
-0.001940918155014515,
0.03592531755566597,
0.04795967414975166,
-0.01131443027406931,
0.0438711941242218,
0.019909130409359932,
-0.05019945278763771,
-0.05730985477566719,
0.04628872871398926,
0.01044340617954731,
-0.0014931848272681236,
0.03878725320100784,
0.07380599528551102,
-0.03158796951174736,
0.022344443947076797,
-0.03846728429198265,
-0.002506417455151677,
-0.038076214492321014,
-0.02086903527379036,
0.0023530994076281786,
-0.03311670571565628,
-0.01834484189748764,
0.03978271037340164,
0.028939343988895416,
-0.050057243555784225,
0.05677657574415207,
-0.007785892579704523,
0.003064139746129513,
0.015536232851445675,
0.0040618181228637695,
0.026166286319494247,
-0.07373488694429398,
0.011723279021680355,
-0.05986960232257843,
-0.04017378389835358,
-0.025028621777892113,
0.001764268963597715,
0.022095579653978348,
0.005417238920927048,
-0.012132126837968826,
-0.01677166484296322,
-0.013723080046474934,
-0.009963453747332096,
0.0621449314057827,
0.07430372387170792,
0.010087885893881321,
0.032210130244493484,
-0.03889390826225281,
0.08859563618898392,
-0.014958512037992477,
-0.034254372119903564,
-0.045471034944057465,
-0.03588976338505745,
0.04539993032813072,
0.030645841732621193,
0.008572480641305447,
-0.01907365955412388,
-0.022060029208660126,
-0.031232450157403946,
0.03946274146437645,
0.012300998903810978,
-0.044937752187252045,
-0.058198656886816025,
0.02721507102251053,
-0.002326435409486294,
0.011038902215659618,
-0.01832706667482853,
0.018033761531114578,
-0.001220989739522338,
-0.01882479526102543,
0.014078600332140923,
0.02390873432159424,
0.004130700137466192,
0.008461380377411842,
-0.10672716796398163,
-0.043195705860853195,
-0.02678844705224037,
-0.018664810806512833,
0.009270189329981804,
-0.028886016458272934,
-0.10942912101745605,
-0.03818286955356598,
-0.008510264568030834,
-0.023339901119470596,
0.011963254772126675,
0.012949823401868343,
0.01211435068398714,
0.027677247300744057,
0.007554804440587759,
-0.013145359233021736,
0.04739084094762802,
-0.02390873432159424,
0.021348988637328148,
0.03638749197125435,
0.11213107407093048,
-0.014762976206839085,
0.009634597226977348,
0.025170831009745598,
-0.02111789956688881,
0.03242344409227371,
0.012016583234071732,
0.03158796951174736,
0.022557755932211876,
-0.05574556812644005,
-0.0165316890925169,
0.01450522430241108,
-0.0478530190885067,
-0.001087114098481834,
-0.01957138627767563,
0.02829940803349018,
-0.00033635544241406024,
0.020709050819277763,
-0.039604950696229935,
0.004830630961805582,
0.08084529638290405,
-0.006581567693501711,
0.05602998286485672,
-0.011136670596897602,
0.058980800211429596,
0.06299818307161331,
0.024797534570097923,
0.08112970739603043,
0.017207177355885506,
0.0007760339649394155,
0.010870030149817467,
0.008972440846264362,
-0.021455643698573112,
-0.01631837710738182,
-0.027677247300744057,
-0.04426226392388344,
0.026859551668167114,
0.017136074602603912,
0.0019964680541306734,
0.05275919660925865,
0.004444002639502287,
0.03078804910182953,
-0.06058064103126526,
-0.0047150868922472,
0.061291683465242386,
0.028886016458272934,
0.02422870136797428,
-0.01783822663128376,
-0.017456041648983955,
0.05560335889458656,
-0.031143570318818092,
0.0009954565903171897,
0.03715186193585396,
-0.05602998286485672,
-0.051870398223400116,
-0.006679335609078407,
0.015331808477640152,
0.04838629812002182,
-0.027872784063220024,
-0.03034364990890026,
-0.03329446539282799,
-0.04756860435009003,
0.04849295690655708,
-0.00994567759335041,
-0.021029019728302956,
-0.016913874074816704,
0.05787868797779083,
0.04728418588638306,
0.023357676342129707,
0.03740072622895241,
0.05940742418169975,
-0.015536232851445675,
-0.0013343117898330092,
0.003741850145161152,
-0.010363413952291012,
-0.011083342134952545,
-0.032761186361312866,
0.04273352771997452,
0.08916446566581726,
0.03496541082859039,
0.03946274146437645,
0.004446224309504032,
-0.02218446135520935,
-0.03439657762646675,
0.015865089371800423,
-0.018718138337135315,
0.019784698262810707,
-0.09783916175365448,
0.051870398223400116,
-0.010745598003268242,
0.04426226392388344,
-0.006612675730139017,
-0.0051505989395082,
0.028317183256149292,
-0.04376453533768654,
-0.022966604679822922,
0.0004477332404348999,
-0.04355122521519661,
0.021811164915561676,
0.02117122709751129,
0.031232450157403946,
0.006897091865539551,
-0.0138741759583354,
-0.02851272001862526,
-0.015296257100999355,
-0.003601863980293274,
0.016638346016407013,
0.043906744569540024,
-0.0030152557883411646,
-0.01983802765607834,
-0.009856797754764557,
-0.059762947261333466,
-0.025117501616477966,
0.023482108488678932,
-0.03697410225868225,
-0.01627393811941147,
0.07359268516302109,
0.002150897169485688,
-0.021562300622463226,
0.10729599744081497,
-0.038858357816934586,
0.009216860868036747,
-0.0289926715195179,
-0.08859563618898392,
-0.04383563995361328,
0.005088382866233587,
-0.03130355477333069,
-0.01781156286597252,
0.0272506233304739,
-0.02042463608086109,
0.039853814989328384,
0.02518860623240471,
-0.0103011978790164,
0.012789838947355747,
0.00903021264821291,
0.052368126809597015,
0.015367360785603523,
-0.04739084094762802,
-0.008692468516528606,
-0.013438663445413113,
-0.025828542187809944,
0.013411999680101871,
0.01093224622309208,
0.004366232547909021,
0.022984381765127182,
-0.09414175152778625,
0.029597057029604912,
-0.025170831009745598,
0.027943888679146767,
-0.006843763869255781,
0.018789242953062057,
-0.0520126037299633,
0.031019138172268867,
0.056634366512298584,
-0.035552021116018295,
-0.01987357996404171,
0.012585415504872799,
0.01731383427977562,
-0.016860544681549072,
0.0034907639492303133,
0.0315701924264431,
0.011545518413186073,
-0.0004185694851912558,
-0.10473625361919403,
0.03233456239104271,
-0.06061619520187378,
-0.0569898895919323,
-0.03320558741688728,
-0.01247875951230526,
0.013332007452845573,
0.031499091535806656,
0.022006699815392494,
0.009634597226977348,
0.03907167166471481,
0.0794232115149498,
-0.040635958313941956,
0.014211920090019703,
0.055141184478998184,
0.0525103323161602,
-0.013500879518687725,
-0.011509966105222702,
0.003344111843034625,
0.04490220174193382,
-0.020495738834142685,
0.019180314615368843,
-0.058731935918331146,
-0.08297841250896454,
0.029703712090849876,
0.012434318661689758,
-0.038289524614810944,
0.019980235025286674,
0.021971147507429123,
-0.06502464413642883,
-0.07700567692518234,
-0.022806620225310326,
0.02266441285610199,
0.08553816378116608,
-0.06111392378807068,
0.029383745044469833,
0.015900641679763794,
0.009252413176000118,
0.022877724841237068,
0.045755449682474136,
-0.060971714556217194,
-0.04262687265872955,
0.04308904707431793,
-0.0015787319280207157,
-0.0372229665517807,
-0.03868059813976288,
-0.043942295014858246,
0.062002722173929214,
0.03818286955356598,
0.0007293719099834561,
0.026095183566212654,
-0.006101615261286497,
0.015927305445075035,
-0.029668161645531654,
0.05091049149632454,
-0.01170550286769867,
-0.0056305513717234135,
0.006386031396687031,
-0.026290718466043472,
0.0005085605662316084,
0.0011432196479290724,
0.01527848094701767,
-0.013927503488957882,
-0.040635958313941956,
0.03814731910824776,
-0.011803270317614079,
0.0043173483572900295,
0.06033177673816681,
-0.01631837710738182,
-0.04084927216172218,
0.0012165457010269165,
0.01454077661037445,
-0.003457434009760618,
0.0055905552580952644,
-0.04891958087682724,
0.02799721620976925,
0.0007404818898066878,
-0.028459392488002777,
0.028850464150309563,
0.06573568284511566,
-0.02927708812057972,
0.02573966234922409,
-0.004268464632332325,
0.04362232983112335,
-0.0034063279163092375,
0.051052700728178024,
-0.002277551218867302,
-0.024761982262134552,
-0.07220615446567535,
0.0013498658081516623,
0.050092797726392746,
-0.014327463693916798,
0.015962857753038406,
-0.0351431705057621,
-0.034289922565221786,
0.002650847425684333,
-0.021544523537158966,
0.010772261768579483,
-0.013083143159747124,
-0.006546015851199627,
-0.0022953273728489876,
-0.008848008699715137,
-0.03009478561580181,
0.008599144406616688,
-0.01207879837602377,
0.02339322865009308,
0.07025079429149628,
0.018291514366865158,
0.05627884715795517,
0.038609493523836136,
0.05322137475013733,
-0.014834080822765827,
0.021046796813607216,
-0.06669559329748154,
-0.04682201147079468,
0.016380593180656433,
0.021846717223525047,
-0.03029032051563263,
0.023126589134335518,
-0.020264651626348495,
-0.011536630801856518,
-0.05521228536963463,
0.011332206428050995,
-0.01604284904897213,
0.011181110516190529,
0.02721507102251053,
0.04515106603503227,
0.016211722046136856,
0.008608032949268818,
0.013198687694966793,
-0.04454668238759041,
-0.019713595509529114,
-0.026930654421448708,
0.033276692032814026,
0.01964249089360237,
0.04731974005699158,
0.027872784063220024,
0.008563593029975891,
-0.031143570318818092,
0.01599840819835663,
-0.0020397971384227276,
0.005954963155090809,
0.012549863196909428,
-0.030432529747486115,
0.013678640127182007,
0.00363297201693058,
-0.026379598304629326,
-0.033987730741500854,
-0.013305343687534332,
-0.07142400741577148,
-0.07359268516302109,
0.033223364502191544,
-0.012203230522572994,
-0.007559248246252537,
0.0012554307468235493,
-0.02522415854036808,
0.0033241137862205505,
-0.002366431290283799,
0.022344443947076797,
0.04863516241312027,
-0.04614652320742607,
-0.06253600120544434,
-0.0071815080009400845,
-0.03158796951174736,
-0.020584620535373688,
-0.04966617375612259,
0.014300799928605556,
0.003641860093921423,
0.05087494105100632,
0.009305741637945175,
-0.013403111137449741,
0.014816304668784142,
0.04028043895959854,
0.026397375389933586,
-0.055638913065195084,
-0.038076214492321014,
-0.030432529747486115,
0.010905582457780838,
-0.029703712090849876,
-0.0006971529219299555,
-0.04127589613199234,
-0.00700374785810709,
-0.008768017403781414,
-0.01577620953321457,
0.02293105237185955,
-0.06143388897180557,
0.025828542187809944,
-0.07480145245790482,
-0.032761186361312866,
-0.047995228320360184,
0.03978271037340164,
-0.02339322865009308,
0.008990217000246048,
0.020531291142106056,
0.042129144072532654,
0.015474016778171062,
-0.06413584202528,
0.008136969059705734,
0.061540547758340836,
-0.003557424061000347,
-0.07387709617614746,
-0.026592910289764404,
-0.04682201147079468,
-0.019180314615368843,
-0.0033796639181673527,
0.013927503488957882,
0.08304952085018158,
-0.027641694992780685,
0.01195436716079712,
-0.03789845481514931,
0.05777203291654587,
0.007408152334392071,
0.002808609511703253,
-0.04351567104458809,
-0.04909734055399895,
-0.008123636245727539,
-0.06271376460790634,
0.018469274044036865,
0.08781348913908005,
0.006186051294207573,
-0.05087494105100632,
-0.035285379737615585,
-0.02801499143242836,
0.02014021947979927,
0.022593308240175247,
0.0681176707148552,
-0.0282460805028677,
0.018140418455004692,
-0.012700959108769894,
0.053896863013505936,
0.021722285076975822,
0.02191781997680664,
0.03764959052205086,
0.01966026797890663,
-0.03942719101905823,
0.06570013612508774,
-0.03304560109972954,
0.0009837910765781999,
0.05471456050872803,
-0.01787377893924713,
0.010390077717602253,
-0.07558359205722809,
0.06442026048898697,
0.03420104458928108,
0.01606951281428337,
0.025081949308514595,
0.02828163281083107,
-0.02575743943452835,
-0.022273341193795204,
-0.037578485906124115,
-0.015891753137111664,
0.028957121074199677,
-0.057416513562202454,
-0.016673898324370384,
-0.010887806303799152,
0.019749147817492485,
-0.07401930540800095,
0.026895103976130486,
-0.033721089363098145,
-0.018487051129341125,
0.018220409750938416,
-0.002114234259352088,
0.01982025057077408,
-0.018771465867757797,
0.013323119841516018,
-0.012585415504872799,
0.0028997117187827826,
0.037542931735515594,
-0.039356086403131485,
-0.004986170679330826,
0.035000964999198914,
-0.005608330946415663,
0.032441217452287674,
-0.01985580287873745,
0.010594502091407776,
0.13118694722652435,
-0.02163340337574482,
-0.03457434102892876,
0.050057243555784225,
-0.05933632329106331,
-0.04106258228421211,
0.01659390516579151,
-0.03764959052205086,
0.04874182119965553,
0.061753857880830765,
-0.017429377883672714,
0.00838583242148161,
-0.0008104749722406268,
-0.008403608575463295,
0.015642888844013214,
0.028886016458272934,
-0.04156031087040901,
-0.025579677894711494,
0.010363413952291012,
0.038573943078517914,
-0.06399363279342651,
-0.008990217000246048,
0.0794232115149498,
-0.008425829000771046,
-0.015145160257816315,
0.04881292209029198,
-0.010087885893881321,
0.06143388897180557,
-0.008688025176525116,
0.03240566700696945,
-0.018967002630233765,
0.024744205176830292,
0.010318974032998085,
-0.007399264257401228,
0.025597454980015755,
-0.043906744569540024,
-0.031730178743600845,
0.034503236413002014,
0.029490400105714798,
0.02828163281083107,
0.016736112534999847,
0.02623739093542099,
-0.011883262544870377,
0.013180911540985107,
0.016736112534999847,
-0.026166286319494247,
0.041631415486335754,
-0.003037475747987628,
-0.05343468487262726,
-0.03700965270400047,
-0.06982416659593582,
-0.010585613548755646,
-0.04682201147079468,
-0.010718934237957,
0.0086613604798913,
-0.017731569707393646,
-0.0006860428838990629,
0.01935807429254055,
0.006226047407835722,
0.01631837710738182
]
|
43,923 | jsons.exceptions | InvalidDecorationError |
Raised when a jsons decorator was wrongly used.
| class InvalidDecorationError(JsonsError):
"""
Raised when a jsons decorator was wrongly used.
"""
def __init__(self, message: str):
"""
Constructor.
:param message: the message of this error.
"""
JsonsError.__init__(self, message)
| (message: str) | [
-0.06814791262149811,
-0.05863652750849724,
0.02510802447795868,
0.013525606133043766,
-0.0009827796602621675,
0.0030703209340572357,
-0.044795580208301544,
0.07411383837461472,
0.03661373630166054,
-0.011224462650716305,
0.0756138488650322,
0.039886474609375,
0.001829195418395102,
-0.0222273338586092,
-0.038011468946933746,
0.03388645872473717,
0.06750018894672394,
0.014497199095785618,
0.04387512058019638,
-0.05280696600675583,
-0.03487509861588478,
-0.03146599605679512,
0.012289807200431824,
0.02120460383594036,
0.0062897903844714165,
0.06732973456382751,
0.013227309100329876,
0.04609103873372078,
0.052841056138277054,
-0.04268193617463112,
-0.08856842666864395,
-0.04622739925980568,
-0.00742331612855196,
0.10854575783014297,
-0.005190355237573385,
-0.022772790864109993,
-0.01839209720492363,
0.014531290158629417,
-0.1419549435377121,
0.019397780299186707,
-0.06340926885604858,
0.06640927493572235,
-0.054102424532175064,
-0.01736084371805191,
0.070909284055233,
-0.012034124694764614,
-0.01810232363641262,
0.08645478636026382,
-0.07377292960882187,
-0.017386412248015404,
-0.009323889389634132,
-0.02998303808271885,
0.041761480271816254,
0.02984667383134365,
-0.0035284189507365227,
0.04868195205926895,
0.05604561045765877,
0.09109116345643997,
-0.008544057607650757,
0.020488692447543144,
-0.039477381855249405,
0.052022870630025864,
0.0035795553121715784,
-0.017181865870952606,
-0.016491523012518883,
-0.031073950231075287,
-0.04670467600226402,
-0.02710234746336937,
-0.007269906345754862,
0.0024715978652238846,
0.042579662054777145,
0.045306943356990814,
-0.0011516367085278034,
0.04765922203660011,
0.03784101456403732,
-0.040875114500522614,
-0.050045594573020935,
0.013465946540236473,
0.028551215305924416,
0.01413924340158701,
0.020914830267429352,
-0.011940374039113522,
-0.02171596884727478,
-0.0035220268182456493,
0.02585802599787712,
-0.03153418004512787,
0.008906275033950806,
-0.0222273338586092,
-0.04462512210011482,
0.03900010883808136,
-0.09654572606086731,
-0.006375017575919628,
-0.06092062219977379,
-0.042204663157463074,
-0.04489785060286522,
0.05045468360185623,
0.023812565952539444,
-0.07643202692270279,
0.05972743779420853,
0.013551173731684685,
0.03170463442802429,
0.06770472973585129,
-0.031568270176649094,
-0.005194616504013538,
0.01547731552273035,
-0.02140915021300316,
-0.04425012320280075,
-0.03144894912838936,
-0.003564640646800399,
0.0015298337675631046,
0.02348870225250721,
0.018153458833694458,
-0.0016086692921817303,
0.01616765931248665,
0.04469330608844757,
-0.047011494636535645,
-0.0045383647084236145,
-0.04026147350668907,
0.020573921501636505,
0.0014552597422152758,
0.05925016477704048,
-0.016431864351034164,
0.004683251492679119,
0.05164787173271179,
0.03964783623814583,
0.013840947300195694,
-0.026778483763337135,
0.05280696600675583,
0.06944337487220764,
0.01810232363641262,
-0.001411580597050488,
0.013636401854455471,
-0.02408529445528984,
-0.05072741210460663,
0.027903486043214798,
0.04513648897409439,
0.000768112950026989,
-0.013397764414548874,
-0.05007968470454216,
0.036750100553035736,
0.05028422921895981,
0.06473881751298904,
-0.010440370067954063,
-0.046500127762556076,
-0.037500105798244476,
0.024869387969374657,
-0.042068298906087875,
-0.010977303609251976,
0.010534119792282581,
0.01861368864774704,
0.03746601194143295,
0.02452847734093666,
0.017897777259349823,
0.018664823845028877,
-0.016150612384080887,
-0.012017078697681427,
-0.05965925753116608,
-0.036375101655721664,
0.03743192180991173,
0.023284155875444412,
-0.022176198661327362,
-0.06596609205007553,
0.04670467600226402,
-0.042272843420505524,
-0.010806848295032978,
0.02009664662182331,
-0.010022754780948162,
-0.08454568684101105,
-0.053591057658195496,
0.042204663157463074,
-0.012801172211766243,
0.010389233008027077,
-0.00347089022397995,
-0.01905687153339386,
0.024358022958040237,
0.022789835929870605,
0.00579973217099905,
0.08079567551612854,
-0.0233352929353714,
-0.026318253949284554,
0.04956831783056259,
-0.028943262994289398,
0.004730126820504665,
-0.0027720248326659203,
0.02475006878376007,
0.00036354860640130937,
0.016704590991139412,
-0.01713072881102562,
0.03262509033083916,
0.0005784817039966583,
0.020880740135908127,
0.04373875632882118,
0.05614788457751274,
-0.004542626440525055,
0.025670526549220085,
-0.031005768105387688,
-0.01019321009516716,
-0.008279852569103241,
0.029642127454280853,
0.009588094428181648,
-0.08625023812055588,
0.04881831631064415,
-0.02688075602054596,
-0.004214500542730093,
0.013312537223100662,
0.028397805988788605,
0.013943220488727093,
-0.051579687744379044,
-0.04155693203210831,
-0.04179557040333748,
-0.04704558476805687,
0.005139218643307686,
-0.008437523618340492,
0.0376705601811409,
0.013909129425883293,
-0.022039834409952164,
0.05457969754934311,
0.00369461253285408,
0.033409181982278824,
0.011914805509150028,
0.07193201780319214,
0.008663375861942768,
0.04980695620179176,
-0.011991510167717934,
-0.01750572957098484,
-0.009911959059536457,
0.0311591774225235,
-0.03144894912838936,
-0.002526995725929737,
-0.010551165789365768,
-0.0138835608959198,
-0.004167625214904547,
0.031210314482450485,
0.039920564740896225,
-0.04350012168288231,
-0.039886474609375,
0.034227367490530014,
-0.07445475459098816,
-0.011002871207892895,
-0.040943294763565063,
-0.018068231642246246,
-0.003080974565818906,
-0.02297733724117279,
0.018647778779268265,
0.03968193009495735,
0.0006993982242420316,
0.015519929118454456,
0.027801213786005974,
-0.05120468884706497,
0.00797303393483162,
0.0006445330218411982,
0.02643757313489914,
0.004218761809170246,
0.012886399403214455,
-0.004355125594884157,
-0.10929575562477112,
-0.004794047214090824,
-0.04373875632882118,
0.06027289479970932,
0.00721877021715045,
-0.046500127762556076,
-0.01825573295354843,
-0.045988764613866806,
0.04881831631064415,
0.0020316108129918575,
-0.03565919026732445,
0.022108016535639763,
0.043909214437007904,
-0.037636466324329376,
0.059045616537332535,
0.06507972627878189,
-0.013679015450179577,
0.008957411162555218,
-0.010517074726521969,
-0.005761379841715097,
0.002205261727795005,
-0.003786232089623809,
-0.00670314347371459,
0.051818326115608215,
0.0016182573745027184,
0.05826152488589287,
-0.003264213679358363,
-0.020352330058813095,
0.046431947499513626,
0.015707429498434067,
-0.01698584295809269,
0.021306877955794334,
-0.02186937816441059,
-0.0509660504758358,
0.007883545011281967,
0.038522835820913315,
-0.03528418764472008,
-0.010713097639381886,
0.021323923021554947,
0.04292057454586029,
-0.0037670559249818325,
-0.029079625383019447,
-0.003662652103230357,
0.018511414527893066,
-0.0754774808883667,
0.03218190744519234,
0.012647761963307858,
0.04056829586625099,
0.014701745472848415,
-0.05952289327979088,
-0.06736382097005844,
0.0011622901074588299,
0.007764226291328669,
-0.05863652750849724,
-0.0016054732259362936,
0.017897777259349823,
0.022193243727087975,
-0.04230693727731705,
0.010295483283698559,
-0.0221591517329216,
0.05768197774887085,
-0.0024971659295260906,
-0.017386412248015404,
0.05130695924162865,
0.06582973152399063,
-0.045681945979595184,
-0.017343798652291298,
0.002047590911388397,
-0.05161377787590027,
-0.007001440040767193,
-0.008931842632591724,
0.012988672591745853,
0.0664774551987648,
-0.028636442497372627,
0.024289840832352638,
-0.042886484414339066,
-0.07486384361982346,
0.004836661275476217,
-0.021733013913035393,
-0.05250014737248421,
-0.00978411827236414,
0.03417623043060303,
-0.04275012016296387,
0.002352279145270586,
-0.032608043402433395,
0.04186375066637993,
-0.02703416533768177,
0.0035092427860945463,
0.02348870225250721,
-0.06136380508542061,
-0.006673314142972231,
0.039852384477853775,
-0.015613679774105549,
0.041761480271816254,
0.012980150058865547,
-0.0255512073636055,
0.04936377331614494,
0.0341421402990818,
0.041181933134794235,
-0.010338096879422665,
-0.032079633325338364,
-0.013116513378918171,
-0.04104556888341904,
-0.011735827662050724,
-0.03848874196410179,
0.0034687595907598734,
-0.016670500859618187,
-0.029079625383019447,
0.018937552347779274,
-0.0397501103579998,
0.012536966241896152,
0.05945470929145813,
-0.07315929234027863,
0.060238804668188095,
-0.027869395911693573,
-0.010883552953600883,
-0.03480691462755203,
-0.00393111864104867,
0.009451731108129025,
-0.016568228602409363,
0.01481254119426012,
0.013840947300195694,
0.019994374364614487,
-0.04817058891057968,
-0.011676169000566006,
-0.033272817730903625,
-0.014650608412921429,
-0.019073916599154472,
-0.027903486043214798,
0.036443281918764114,
0.009894913993775845,
-0.03835237771272659,
-0.034073956310749054,
-0.00039897128590382636,
0.00465342216193676,
-0.0019826048519462347,
-0.0619092620909214,
0.024562567472457886,
0.02437506802380085,
-0.06415926665067673,
-0.03375009447336197,
0.012528443709015846,
-0.004384955391287804,
0.015860838815569878,
0.042647846043109894,
0.019823918119072914,
-0.059863802045583725,
0.0750683918595314,
-0.011394917964935303,
0.023079609498381615,
-0.018715960904955864,
0.05280696600675583,
0.009698890149593353,
0.03797737881541252,
0.048716045916080475,
0.0116676464676857,
-0.051579687744379044,
-0.05253423750400543,
-0.01130116730928421,
-0.0027869394980371,
0.011693214066326618,
-0.01595458947122097,
-0.008804001845419407,
-0.06037516891956329,
-0.0028956045862287283,
0.02466484159231186,
0.002995746908709407,
0.044045574963092804,
0.029233036562800407,
0.02446029521524906,
-0.014616518281400204,
-0.07125020027160645,
0.01595458947122097,
0.04285239055752754,
-0.006059675943106413,
0.04247739166021347,
-0.008100874722003937,
0.009349457919597626,
-0.10009118914604187,
-0.03317054733633995,
-0.03190917894244194,
-0.03417623043060303,
-0.03080122172832489,
-0.0088295703753829,
0.07397747784852982,
0.029198944568634033,
0.027596667408943176,
0.006988655775785446,
0.04217057302594185,
0.01972164586186409,
-0.01927846297621727,
0.027681894600391388,
0.06173880770802498,
0.039886474609375,
-0.05059104785323143,
0.014522767625749111,
0.011275599710643291,
0.008948888629674911,
-0.008735819719731808,
-0.03146599605679512,
-0.06265926361083984,
0.03436373174190521,
-0.01547731552273035,
-0.004372171126306057,
0.01067048404365778,
-0.011982987634837627,
0.014744359068572521,
-0.028687579557299614,
0.015843793749809265,
-0.046193309128284454,
0.026983030140399933,
0.00535228755325079,
-0.005411946680396795,
-0.028636442497372627,
0.02268756367266178,
0.014054016210138798,
0.039886474609375,
-0.012724467553198338,
-0.033784184604883194,
-0.02268756367266178,
0.02422165870666504,
0.06521608680486679,
-0.029198944568634033,
-0.02703416533768177,
0.02377847582101822,
0.03257395327091217,
-0.07370474934577942,
-0.022585289552807808,
-0.022926200181245804,
0.016125043854117393,
0.013568219728767872,
-0.0663410946726799,
-0.038011468946933746,
0.04152284190058708,
0.02386370301246643,
-0.016133567318320274,
0.010090936906635761,
-0.0400228388607502,
0.0066690524108707905,
0.02925008162856102,
0.013295491226017475,
0.0014723052736371756,
0.005774163641035557,
-0.0003401110298000276,
-0.03736374154686928,
0.016338113695383072,
-0.017105160281062126,
0.004110096488147974,
-0.048136498779058456,
0.027579622343182564,
-0.07179565727710724,
0.036818284541368484,
-0.0026122231502085924,
0.021085286512970924,
-0.03472168743610382,
-0.0036179078742861748,
0.09068206697702408,
0.007159110624343157,
0.0753411203622818,
-0.024204611778259277,
-0.05185241624712944,
-0.032318271696567535,
0.029863718897104263,
0.03086940385401249,
0.017625048756599426,
0.02563643455505371,
0.02503984235227108,
0.060818351805210114,
-0.04735240340232849,
0.014377880841493607,
0.006882121320813894,
0.03375009447336197,
-0.013431855477392673,
0.0375341959297657,
0.024187566712498665,
-0.004802570212632418,
0.015230155549943447,
-0.0010887813987210393,
0.018289823085069656,
-0.03893192484974861,
0.048409223556518555,
-0.012630716897547245,
0.0599660761654377,
0.012119351886212826,
-0.013286968693137169,
0.038522835820913315,
0.04868195205926895,
0.01743754930794239,
0.004299727734178305,
-0.005501435603946447,
-0.032011453062295914,
-0.009392071515321732,
-0.02526143379509449,
-0.003995039500296116,
0.006750018801540136,
-0.022346653044223785,
0.00032306552748195827,
0.010900598019361496,
-0.010943212546408176,
-0.033272817730903625,
-0.004887797869741917,
-0.026403483003377914,
-0.026608027517795563,
0.041761480271816254,
0.022806880995631218,
-0.014752881601452827,
0.06589791178703308,
0.031227359548211098,
-0.04145466163754463,
-0.015460270456969738,
0.029710309579968452,
0.008002863265573978,
0.0401592031121254,
-0.0757502093911171,
0.009809685871005058,
-0.01321878656744957,
0.004478705581277609,
-0.00012870685895904899,
0.02408529445528984,
-0.02105119451880455,
0.016730159521102905,
0.025244388729333878,
0.018937552347779274,
0.01690913736820221,
-0.03835237771272659,
0.024613704532384872,
-0.016056863591074944,
-0.05665924772620201,
-0.07745476067066193,
0.003355833236128092,
-0.0023331029806286097,
-0.04275012016296387,
0.038897834718227386,
0.022551199421286583,
0.021613696590065956,
-0.025909163057804108,
0.004781263414770365,
-0.01459094975143671,
-0.05134105309844017,
0.023590974509716034,
0.054102424532175064,
0.006208823993802071,
-0.08550024032592773,
-0.016082430258393288,
-0.009332411922514439,
-0.030562585219740868,
0.07500021159648895,
-0.00716763362288475,
-0.012852308340370655,
0.057511523365974426,
0.03051144815981388,
-0.01465913187712431,
0.03235236182808876,
-0.02800576016306877,
-0.038386471569538116,
-0.0060937670059502125,
0.02140915021300316,
-0.04690922051668167,
-0.05563651770353317,
-0.03196031600236893,
-0.047011494636535645,
-0.00015327634173445404,
0.020590966567397118,
0.05212514474987984,
0.0357273705303669,
0.04401148483157158,
0.006869337055832148,
-0.023880748078227043,
0.015221633017063141,
-0.04990923032164574,
0.013781288638710976,
-0.0001970886078197509,
0.01839209720492363,
-0.05481833219528198,
-0.0933411717414856,
-0.011250031180679798,
0.026011435315012932,
0.04009101912379265,
-0.08979570120573044,
-0.008365079760551453,
-0.001593754393979907,
-0.009571049362421036,
0.01868187077343464,
0.034687597304582596,
0.007431838661432266,
-0.0023501485120505095,
-0.05065923184156418,
-0.026914848014712334,
0.06402290612459183,
-0.08659114688634872,
0.0351819172501564,
-0.011019917204976082,
-0.02592620812356472,
0.06354562938213348,
-0.024545522406697273,
0.03787510469555855,
0.09756845235824585,
-0.045613761991262436,
-0.006541211158037186,
0.027954623103141785,
0.012315374799072742,
-0.01640629582107067,
-0.028943262994289398,
0.017761413007974625,
0.0009082056349143386,
0.013534128665924072,
0.011914805509150028,
-0.00809235218912363,
0.0530456006526947,
0.014752881601452827,
-0.026164844632148743,
-0.0024609442334622145,
-0.05250014737248421,
0.05130695924162865,
0.02289210818707943,
-0.013781288638710976,
-0.01092616654932499,
-0.020403465256094933,
-0.01588640734553337,
-0.04462512210011482,
-0.011045484803617,
0.03692055866122246,
-0.0006115073920227587,
0.06317062675952911,
-0.0027102348394691944,
-0.04881831631064415,
0.0059233116917312145,
-0.034073956310749054,
0.012383556924760342,
-0.05301151052117348,
0.054102424532175064,
0.0010349815711379051,
0.02822735160589218,
-0.018375050276517868,
-0.03617055341601372,
-0.0026313993148505688,
-0.022210288792848587,
-0.025517115369439125,
0.03426145762205124,
-0.019448917359113693,
-0.03893192484974861,
-0.05556833744049072,
-0.024613704532384872,
-0.029505763202905655,
-0.012323898263275623,
0.03869329020380974,
0.0063409265130758286,
-0.03589782863855362,
-0.013713106513023376,
0.01825573295354843,
0.01714777573943138,
0.01500004157423973,
-0.040943294763565063,
0.04537512734532356,
-0.08931843191385269,
0.028994398191571236,
0.028636442497372627,
0.05362514778971672,
-0.0033345262054353952,
-0.016858002170920372,
-0.022500062361359596,
0.06582973152399063,
0.022329607978463173,
0.022585289552807808,
-0.011352304369211197,
-0.022636426612734795,
0.036306917667388916,
-0.005211662035435438,
0.022926200181245804,
0.0030958892311900854,
-0.03202849626541138,
-0.023744383826851845,
-0.01846027933061123,
0.016585273668169975,
-0.01012502796947956,
0.040806930512189865,
0.03346031904220581,
-0.08011385798454285,
0.040943294763565063,
-0.002654836978763342,
-0.019738690927624702,
-0.015230155549943447,
0.015571066178381443,
0.03020462952554226,
0.04363648593425751,
-0.02009664662182331,
0.019738690927624702,
-0.044284213334321976,
-0.019244370982050896,
0.005407685413956642,
0.05256832763552666,
-0.010747188702225685,
0.08761388063430786,
-0.04312511906027794,
0.024937570095062256,
0.033716004341840744,
-0.008982979692518711,
-0.04704558476805687,
0.03443191200494766,
0.006234392523765564,
-0.0691024661064148,
-0.009724458679556847,
0.02896030806005001,
0.017676185816526413,
0.00016792482347227633,
-0.0667501837015152,
-0.026045527309179306,
0.025875071063637733,
-0.03640919178724289,
0.045988764613866806,
0.03330691158771515,
-0.030784176662564278,
-0.002933956915512681
]
|
43,924 | jsons.exceptions | __init__ |
Constructor.
:param message: the message of this error.
| def __init__(self, message: str):
"""
Constructor.
:param message: the message of this error.
"""
JsonsError.__init__(self, message)
| (self, message: str) | [
-0.03907942771911621,
-0.04369625449180603,
0.02413836307823658,
-0.005107590463012457,
-0.02742830663919449,
-0.04427790269255638,
-0.0031717955134809017,
0.08390262722969055,
0.0731421485543251,
-0.04624096304178238,
0.03538960590958595,
0.04580472782254219,
0.01843095012009144,
-0.00993344560265541,
-0.03962472453713417,
0.043878018856048584,
0.044386960566043854,
0.02573789469897747,
-0.011651122942566872,
-0.02604689449071884,
-0.04282378405332565,
-0.004762237425893545,
0.0023231811355799437,
0.0825212150812149,
0.006211811676621437,
0.0801946222782135,
0.02613777667284012,
0.026301365345716476,
0.07230602949857712,
-0.05303896591067314,
-0.07525062561035156,
-0.02417471632361412,
-0.014104947447776794,
0.08186686038970947,
-0.041442371904850006,
-0.012096446938812733,
-0.029427718371152878,
0.023956598713994026,
-0.1615525484085083,
0.013768683187663555,
-0.049040138721466064,
0.058891791850328445,
-0.06169096753001213,
-0.017431242391467094,
0.09706239402294159,
-0.013050711713731289,
-0.019975950941443443,
0.048022255301475525,
-0.07048838585615158,
0.009551739320158958,
-0.05656520277261734,
0.022211657837033272,
-0.004803134594112635,
-0.012296387925744057,
-0.051730260252952576,
0.07837697863578796,
0.041914958506822586,
0.05652884766459465,
-0.043441783636808395,
0.017304006963968277,
-0.0414787232875824,
0.04922190308570862,
0.026501305401325226,
0.011542064137756824,
-0.04253296181559563,
-0.021739069372415543,
-0.04569566622376442,
-0.015459095127880573,
0.021030185744166374,
0.019194360822439194,
0.07844968140125275,
0.06547167897224426,
-0.026228658854961395,
0.04318731278181076,
0.07154262065887451,
-0.021975362673401833,
-0.09604451060295105,
0.02828260138630867,
-0.01580444909632206,
0.04525943100452423,
0.028537072241306305,
-0.010969504714012146,
-0.045041315257549286,
0.008951915428042412,
0.02003047987818718,
-0.05292990803718567,
-0.02370212785899639,
-0.05667426064610481,
-0.05605626106262207,
0.05485661327838898,
-0.08877392113208771,
-0.018285537138581276,
-0.0723423883318901,
0.0007338753202930093,
-0.014086770825088024,
0.006852532736957073,
0.0209211278706789,
-0.08826497942209244,
0.023774834349751472,
0.013632358983159065,
0.04198766499757767,
0.014332153834402561,
0.0014359417837113142,
-0.060418616980314255,
0.005112134851515293,
0.00038255806430242956,
0.008129430003464222,
-0.03211783990263939,
0.027628248557448387,
0.022829657420516014,
0.020321303978562355,
0.020212244242429733,
-0.03140895441174507,
0.03926119580864906,
0.029900306835770607,
-0.0267921295017004,
0.04013366624712944,
-0.031190836802124977,
0.024829071015119553,
0.015222800895571709,
0.06656226515769958,
-0.006498091388493776,
-0.025247128680348396,
0.042460255324840546,
0.0645628497004509,
0.0047804140485823154,
-0.0181855671107769,
-0.021939009428024292,
0.05507473275065422,
-0.01834006793797016,
0.015577242709696293,
-0.011841976083815098,
-0.010078857652842999,
-0.059400733560323715,
-0.004071531351655722,
0.0091927545145154,
-0.0277736596763134,
-0.007216061931103468,
-0.027646424248814583,
0.04562296345829964,
0.06005508452653885,
0.07663203775882721,
0.012005563825368881,
-0.04838578775525093,
-0.016458801925182343,
0.0033013029024004936,
-0.004323729779571295,
-0.027791835367679596,
-0.004462325479835272,
0.04518672823905945,
0.02288418635725975,
-0.00825666543096304,
0.013586917892098427,
0.017304006963968277,
-0.02984577789902687,
-0.04413248971104622,
-0.0015359125100076199,
-0.04318731278181076,
0.020139537751674652,
0.004921281710267067,
-0.00499853165820241,
-0.044895902276039124,
0.020194068551063538,
-0.03266313299536705,
-0.003058192552998662,
0.015777183696627617,
-0.010842269286513329,
-0.03486248478293419,
-0.07292403280735016,
-0.004464597441256046,
-0.027900895103812218,
-0.011841976083815098,
-0.049040138721466064,
0.003753442782908678,
0.0352078378200531,
0.00630723824724555,
0.016013476997613907,
0.10389675199985504,
-0.010206093080341816,
-0.018994420766830444,
0.03348107263445854,
0.010515092872083187,
0.008297562599182129,
0.025610659271478653,
0.027046600356698036,
0.020721185952425003,
0.003723906120285392,
0.038715898990631104,
0.04278743267059326,
0.0018971699755638838,
0.005775575991719961,
0.018903538584709167,
0.008892842568457127,
0.013586917892098427,
0.023956598713994026,
0.004496406298130751,
0.010260622017085552,
-0.03344472125172615,
0.023302245885133743,
0.04206037148833275,
-0.06718026846647263,
0.07310579717159271,
-0.023556716740131378,
-0.04220578446984291,
0.032535895705223083,
0.02730107121169567,
0.01854000799357891,
-0.001644971314817667,
-0.014041329734027386,
-0.04071531444787979,
-0.04467778652906418,
0.013132506050169468,
0.016186153516173363,
0.0496944934129715,
0.02472001127898693,
-0.06339956074953079,
0.04318731278181076,
-0.02413836307823658,
0.025174424052238464,
0.011778358370065689,
0.0974259302020073,
-0.00129621010273695,
0.017503948882222176,
-0.0324631929397583,
-0.03575313463807106,
0.032026953995227814,
0.0048940167762339115,
-0.04267837107181549,
-0.03969743102788925,
-0.013650535605847836,
-0.01600438915193081,
-0.00630723824724555,
0.026973893865942955,
0.0008792871376499534,
-0.05718320235610008,
-0.0312998965382576,
0.028428012505173683,
-0.06067308783531189,
-0.038715898990631104,
-0.08906474709510803,
0.00205848622135818,
-0.025683363899588585,
-0.04885837435722351,
0.048022255301475525,
0.06877979636192322,
-0.02186630479991436,
-0.011478446424007416,
0.06343591213226318,
-0.06263614445924759,
0.00901553314179182,
0.02441101148724556,
0.0037602591328322887,
-0.034608013927936554,
-0.027919070795178413,
-0.004834943450987339,
-0.09626263380050659,
0.0260105412453413,
-0.0046940757893025875,
0.042969197034835815,
0.03306301683187485,
-0.006034590769559145,
-0.024083834141492844,
-0.019230714067816734,
0.06827085465192795,
-0.02335677482187748,
-0.03039107285439968,
-0.011233064346015453,
0.0446050800383091,
0.01079682819545269,
0.04878566786646843,
0.15282782912254333,
0.012914388440549374,
0.03766166418790817,
0.01222368236631155,
-0.03969743102788925,
-0.024738186970353127,
-0.060927558690309525,
0.01717677339911461,
0.009379062801599503,
-0.019121656194329262,
0.049040138721466064,
-0.029046013951301575,
0.03846142813563347,
0.04638637229800224,
0.01921253837645054,
-0.03257225081324577,
0.03409907594323158,
-0.007761356420814991,
-0.0813579186797142,
0.00763866538181901,
0.013977712020277977,
0.0007145628333091736,
-0.02800995297729969,
0.047622375190258026,
0.023247716948390007,
-0.0065208119340240955,
-0.008420254103839397,
0.036407485604286194,
0.011114916764199734,
-0.04427790269255638,
0.0312998965382576,
-0.01975783333182335,
0.024592775851488113,
0.005071237683296204,
-0.05612896755337715,
-0.047985903918743134,
-0.0352078378200531,
0.019121656194329262,
-0.0252289529889822,
0.00526209082454443,
0.02284783311188221,
0.03806154802441597,
-0.005957340821623802,
0.045441195368766785,
-0.009442680515348911,
0.08361180126667023,
0.02550159953534603,
-0.045986492186784744,
0.011360298842191696,
0.06819815188646317,
-0.025047188624739647,
-0.054783906787633896,
0.025810599327087402,
-0.05296625941991806,
-0.015050124377012253,
-0.007506885565817356,
-0.005571090616285801,
0.015250065363943577,
-0.020230421796441078,
0.00962444581091404,
0.0013348351931199431,
-0.033826425671577454,
0.0027855453081429005,
-0.05343884602189064,
-0.02882789634168148,
-0.028846072033047676,
0.005539281759411097,
-0.03615301474928856,
-0.01611344888806343,
-0.04529578611254692,
0.04384166747331619,
-0.06474461406469345,
0.003842053236439824,
0.022829657420516014,
-0.0328630730509758,
-0.019739655777812004,
0.013287005946040154,
-0.051221318542957306,
0.015604507178068161,
-0.0131052415817976,
-0.021739069372415543,
0.054238613694906235,
0.012587212026119232,
0.017149507999420166,
0.013995888642966747,
-0.023484010249376297,
-0.015013771131634712,
-0.038316018879413605,
0.014004976488649845,
-0.045004960149526596,
0.03146348521113396,
-0.006420840974897146,
-0.037061840295791626,
-0.02899148315191269,
-0.034135427325963974,
0.02053942158818245,
0.05383872985839844,
-0.026392247527837753,
0.03867954760789871,
-0.003987465053796768,
0.0007577319629490376,
-0.04427790269255638,
-0.04620460793375969,
0.010360592976212502,
-0.03995190188288689,
0.015431830659508705,
-0.005911899730563164,
0.011932858265936375,
-0.0778680369257927,
-0.028737012296915054,
0.0005964157171547413,
-0.03838872164487839,
-0.015104654245078564,
-0.02773730643093586,
0.001724493457004428,
0.0031627072021365166,
-0.014459389261901379,
-0.008488415740430355,
0.02706477791070938,
0.04689531400799751,
-0.03160889819264412,
-0.06310873478651047,
0.019648773595690727,
0.015495448373258114,
-0.02030312642455101,
-0.012959829531610012,
0.03424448519945145,
0.006793458946049213,
-0.01580444909632206,
0.06394485384225845,
0.011532975360751152,
-0.030300190672278404,
0.032881248742341995,
0.021302832290530205,
0.026828482747077942,
0.010197004303336143,
0.02233889326453209,
0.022157127037644386,
-0.008874665945768356,
0.02413836307823658,
0.041296958923339844,
-0.03200877830386162,
-0.06507179141044617,
-0.04635002091526985,
-0.030463779345154762,
0.01729491911828518,
-0.02315683476626873,
0.015749918296933174,
-0.028428012505173683,
-0.03228142485022545,
-0.010969504714012146,
0.006052767392247915,
0.04365990310907364,
0.02742830663919449,
-0.00630723824724555,
0.0008060132386162877,
-0.021266480907797813,
0.014232182875275612,
0.04206037148833275,
-0.004178318195044994,
-0.011751093901693821,
0.047622375190258026,
0.009615357033908367,
-0.06496273726224899,
-0.013686888851225376,
-0.014450300484895706,
-0.05038519948720932,
-0.041805900633335114,
-0.01651333086192608,
0.06252709031105042,
0.00247881724499166,
0.011551151983439922,
0.03151801601052284,
0.038316018879413605,
0.021993540227413177,
-0.03435354679822922,
-0.0009843698935583234,
0.0375526063144207,
0.01823100820183754,
-0.0375526063144207,
0.009138224646449089,
0.004405524116009474,
0.03591672331094742,
-0.047040726989507675,
-0.025556128472089767,
-0.07605038583278656,
-0.01441394817084074,
0.010887710377573967,
0.012314564548432827,
-0.01298709399998188,
-0.019576067104935646,
0.0262104831635952,
-0.020902950316667557,
-0.0277736596763134,
-0.05823743715882301,
0.02882789634168148,
0.032535895705223083,
0.02163000963628292,
-0.009183665737509727,
-0.0011701107723638415,
-0.01975783333182335,
0.05151214078068733,
-0.05016708001494408,
-0.006098208483308554,
-0.012878035195171833,
0.006098208483308554,
0.02726471796631813,
-0.0676892101764679,
-0.02750101312994957,
0.00917003396898508,
0.01611344888806343,
-0.037698015570640564,
0.022866010665893555,
0.007325121201574802,
0.029245954006910324,
-0.04529578611254692,
-0.028446190059185028,
-0.043987080454826355,
0.028191719204187393,
-0.0007793165277689695,
-0.00087019894272089,
0.04464143142104149,
-0.0332447811961174,
0.005366605240851641,
0.016267947852611542,
0.002067574532702565,
-0.06558073312044144,
0.009769856929779053,
-0.026846658438444138,
-0.022593364119529724,
0.02691936492919922,
-0.021739069372415543,
-0.027046600356698036,
-0.05285720154643059,
-0.0011036531068384647,
-0.0418422557413578,
0.054202258586883545,
0.014104947447776794,
0.029118718579411507,
-0.0277736596763134,
0.00954265147447586,
0.08339368551969528,
-0.04278743267059326,
0.05332978814840317,
0.02472001127898693,
-0.04384166747331619,
-0.03944296017289162,
0.015104654245078564,
0.0018062875606119633,
0.049076493829488754,
0.01427762396633625,
0.012459976598620415,
0.050712376832962036,
-0.02753736637532711,
-0.00024154836137313396,
-0.02292053960263729,
0.011878329329192638,
-0.017931096255779266,
0.022466128692030907,
0.06325414776802063,
-0.005584723316133022,
-0.01639518328011036,
0.0024833614006638527,
0.03713454678654671,
-0.023175010457634926,
0.04409613832831383,
-0.005920988041907549,
0.04024272412061691,
-0.0189762432128191,
0.018649067729711533,
0.019739655777812004,
0.053729671984910965,
0.026355894282460213,
-0.011196711100637913,
-0.037261780351400375,
-0.029627660289406776,
-0.03813425078988075,
0.023683952167630196,
-0.02108471468091011,
-0.01298709399998188,
0.033899132162332535,
-0.027882719412446022,
-0.03297213092446327,
0.008774694986641407,
-0.015577242709696293,
-0.0026719423476606607,
-0.01003341656178236,
-0.021884480491280556,
0.04096978157758713,
0.025956012308597565,
-0.0037443547043949366,
0.046568140387535095,
-0.005575635004788637,
-0.009397239424288273,
-0.035262368619441986,
0.03555319085717201,
-0.003862501820549369,
0.03686190024018288,
-0.059873320162296295,
0.018212832510471344,
0.008065812289714813,
0.01979418471455574,
-0.00028556952020153403,
0.043878018856048584,
-0.012487241066992283,
0.006975223775953054,
0.0009786897571757436,
0.062418028712272644,
0.00032689262297935784,
0.010596887208521366,
0.005880090873688459,
0.0032694940455257893,
-0.033935487270355225,
-0.026501305401325226,
-0.021430067718029022,
0.018012890592217445,
-0.03151801601052284,
-0.017431242391467094,
0.013541476801037788,
0.012959829531610012,
-0.008861033245921135,
-0.02895512990653515,
-0.016658741980791092,
-0.0016313389642164111,
-0.0030013909563422203,
0.054711200296878815,
0.045986492186784744,
-0.0872470960021019,
-0.008206680417060852,
-0.009369974955916405,
-0.02519259974360466,
0.06718026846647263,
-0.02206624485552311,
0.021920833736658096,
0.058891791850328445,
0.025447070598602295,
-0.01729491911828518,
0.06354497373104095,
-0.018285537138581276,
0.04816766828298569,
0.024865422397851944,
-0.029700366780161858,
-0.02879154309630394,
-0.021939009428024292,
-0.030209308490157127,
-0.01091497577726841,
0.023247716948390007,
0.046495433896780014,
0.04667719826102257,
0.01952153816819191,
0.025810599327087402,
0.01476838905364275,
0.004196494352072477,
0.04874931648373604,
-0.038824960589408875,
0.03713454678654671,
-0.01514100655913353,
-0.020793892443180084,
-0.08346638828516006,
-0.06921602785587311,
0.009183665737509727,
0.01963059790432453,
0.021211950108408928,
-0.08266662806272507,
-0.017694802954792976,
0.02922777831554413,
0.010660504922270775,
-0.0018426405731588602,
0.05274813994765282,
0.06405390799045563,
-0.01704953797161579,
-0.036516547203063965,
-0.049658142030239105,
0.043405432254076004,
-0.0751052126288414,
0.04878566786646843,
-0.024592775851488113,
-0.04936731606721878,
0.058346498757600784,
-0.019176185131072998,
0.021430067718029022,
0.06496273726224899,
-0.041296958923339844,
0.04206037148833275,
0.01588624343276024,
0.018994420766830444,
-0.033935487270355225,
-0.0020198612473905087,
0.03962472453713417,
-0.01999412663280964,
-0.012132799252867699,
0.005066693294793367,
-0.007906768471002579,
0.00604367908090353,
-0.0017165412427857518,
-0.01999412663280964,
0.022520657628774643,
-0.06990673393011093,
0.026773953810334206,
0.03484430909156799,
-0.010987681336700916,
0.0016915486194193363,
0.013859565369784832,
-0.00864745955914259,
-0.01689503714442253,
0.021502774208784103,
0.009029165841639042,
-0.02562883496284485,
0.024392833933234215,
-0.0007702282746322453,
-0.02359306998550892,
0.009351798333227634,
-0.044386960566043854,
-0.026864835992455482,
-0.04787684604525566,
0.06779826432466507,
0.010087945498526096,
0.07059744745492935,
-0.0026287732180207968,
-0.047513317316770554,
-0.031190836802124977,
-0.027137482538819313,
-0.053766023367643356,
0.021739069372415543,
-0.01724947802722454,
-0.016267947852611542,
-0.04162413626909256,
-0.04409613832831383,
0.008497503586113453,
0.015395477414131165,
0.03798884153366089,
-0.0024606408551335335,
-0.027628248557448387,
-0.01607709564268589,
-0.0018028795020654798,
0.006938870996236801,
0.013586917892098427,
-0.012369093485176563,
0.029954837635159492,
-0.03758895769715309,
0.03846142813563347,
0.01674053631722927,
0.038861311972141266,
-0.05612896755337715,
-0.03297213092446327,
0.018049243837594986,
0.06598062068223953,
0.012487241066992283,
-0.037698015570640564,
-0.011042211204767227,
-0.011196711100637913,
-0.018794478848576546,
0.0007673882064409554,
0.02206624485552311,
0.06463555991649628,
-0.028936954215168953,
-0.02210259810090065,
-0.046059198677539825,
0.03200877830386162,
-0.011505710892379284,
0.017903830856084824,
0.02182995155453682,
-0.07648662477731705,
0.024029305204749107,
0.0022629715967923403,
-0.04493225738406181,
0.011742005124688148,
0.01986689120531082,
0.06816179305315018,
0.09299086779356003,
-0.004064715001732111,
0.00903825368732214,
-0.01631338894367218,
-0.04620460793375969,
-0.0352078378200531,
0.027682777494192123,
0.013268829323351383,
0.04220578446984291,
-0.029591307044029236,
0.018685420975089073,
0.002218666486442089,
-0.018276449292898178,
-0.013914094306528568,
0.04376896098256111,
-0.030463779345154762,
-0.049585435539484024,
-0.022520657628774643,
0.02808265946805477,
0.014068594202399254,
-0.001702908892184496,
-0.0653262659907341,
-0.019812362268567085,
0.029046013951301575,
-0.024592775851488113,
0.045368492603302,
0.0727422684431076,
-0.00017267654766328633,
0.01345968246459961
]
|
43,925 | jsons.classes.json_serializable | JsonSerializable |
This class offers an alternative to using the ``jsons.load`` and
``jsons.dump`` methods. An instance of a class that inherits from
``JsonSerializable`` has the ``json`` property, which value is equivalent
to calling ``jsons.dump`` on that instance. Furthermore, you can call
``from_json`` on that class, which is equivalent to calling ``json.load``
with that class as an argument.
| class JsonSerializable(StateHolder):
"""
This class offers an alternative to using the ``jsons.load`` and
``jsons.dump`` methods. An instance of a class that inherits from
``JsonSerializable`` has the ``json`` property, which value is equivalent
to calling ``jsons.dump`` on that instance. Furthermore, you can call
``from_json`` on that class, which is equivalent to calling ``json.load``
with that class as an argument.
"""
@classmethod
def fork(cls, name: Optional[str] = None) -> Type['JsonSerializable']:
"""
Create a 'fork' of ``JsonSerializable``: a new ``type`` with a separate
configuration of serializers and deserializers.
:param name: the ``__name__`` of the new ``type``.
:return: a new ``type`` based on ``JsonSerializable``.
"""
return fork(cls, name=name)
@classmethod
def with_dump(cls, fork: Optional[bool] = False, **kwargs) \
-> Type['JsonSerializable']:
"""
Return a class (``type``) that is based on JsonSerializable with the
``dump`` method being automatically provided the given ``kwargs``.
**Example:**
>>> custom_serializable = JsonSerializable\
.with_dump(key_transformer=KEY_TRANSFORMER_CAMELCASE)
>>> class Person(custom_serializable):
... def __init__(self, my_name):
... self.my_name = my_name
>>> p = Person('John')
>>> p.json
{'myName': 'John'}
:param kwargs: the keyword args that are automatically provided to the
``dump`` method.
:param fork: determines that a new fork is to be created.
:return: a class with customized behavior.
"""
def _wrapper(inst, **kwargs_):
return dump(inst, **{**kwargs_, **kwargs})
type_ = cls.fork() if fork else cls
type_.dump = _wrapper
return type_
@classmethod
def with_load(cls, fork: Optional[bool] = False, **kwargs) \
-> Type['JsonSerializable']:
"""
Return a class (``type``) that is based on JsonSerializable with the
``load`` method being automatically provided the given ``kwargs``.
**Example:**
>>> custom_serializable = JsonSerializable\
.with_load(key_transformer=KEY_TRANSFORMER_SNAKECASE)
>>> class Person(custom_serializable):
... def __init__(self, my_name):
... self.my_name = my_name
>>> p_json = {'myName': 'John'}
>>> p = Person.from_json(p_json)
>>> p.my_name
'John'
:param kwargs: the keyword args that are automatically provided to the
``load`` method.
:param fork: determines that a new fork is to be created.
:return: a class with customized behavior.
"""
@classmethod
def _wrapper(cls_, inst, **kwargs_):
return load(inst, cls_, fork_inst=cls_, **{**kwargs_, **kwargs})
type_ = cls.fork() if fork else cls
type_.load = _wrapper
return type_
@property
def json(self) -> object:
"""
See ``jsons.dump``.
:return: this instance in a JSON representation (dict).
"""
return self.dump()
def __str__(self) -> str:
"""
See ``jsons.dumps``.
:return: this instance as a JSON string.
"""
return self.dumps()
@classmethod
def from_json(cls: Type[T], json_obj: object, **kwargs) -> T:
"""
See ``jsons.load``.
:param json_obj: a JSON representation of an instance of the inheriting
class
:param kwargs: the keyword args are passed on to the deserializer
function.
:return: an instance of the inheriting class.
"""
return cls.load(json_obj, **kwargs)
def dump(self, **kwargs) -> object:
"""
See ``jsons.dump``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance in a JSON representation (dict).
"""
return dump(self, fork_inst=self.__class__, **kwargs)
@classmethod
def load(cls: Type[T], json_obj: object, **kwargs) -> T:
"""
See ``jsons.load``.
:param kwargs: the keyword args are passed on to the serializer
function.
:param json_obj: the object that is loaded into an instance of `cls`.
:return: this instance in a JSON representation (dict).
"""
return load(json_obj, cls, fork_inst=cls, **kwargs)
def dumps(self, **kwargs) -> str:
"""
See ``jsons.dumps``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
"""
return dumps(self, fork_inst=self.__class__, **kwargs)
@classmethod
def loads(cls: Type[T], json_obj: str, **kwargs) -> T:
"""
See ``jsons.loads``.
:param kwargs: the keyword args are passed on to the serializer
function.
:param json_obj: the object that is loaded into an instance of `cls`.
:return: this instance in a JSON representation (dict).
"""
return loads(json_obj, cls, fork_inst=cls, **kwargs)
def dumpb(self, **kwargs) -> bytes:
"""
See ``jsons.dumpb``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
"""
return dumpb(self, fork_inst=self.__class__, **kwargs)
@classmethod
def loadb(cls: Type[T], json_obj: bytes, **kwargs) -> T:
"""
See ``jsons.loadb``.
:param kwargs: the keyword args are passed on to the serializer
function.
:param json_obj: the object that is loaded into an instance of `cls`.
:return: this instance in a JSON representation (dict).
"""
return loadb(json_obj, cls, fork_inst=cls, **kwargs)
@classmethod
def set_serializer(cls: Type[T],
func: callable,
cls_: type,
high_prio: Optional[bool] = True,
fork: Optional[bool] = False) -> T:
"""
See ``jsons.set_serializer``.
:param func: the serializer function.
:param cls_: the type this serializer can handle.
:param high_prio: determines the order in which is looked for the
callable.
:param fork: determines that a new fork is to be created.
:return: the type on which this method is invoked or its fork.
"""
type_ = cls.fork() if fork else cls
set_serializer(func, cls_, high_prio, type_)
return type_
@classmethod
def set_deserializer(cls: Type[T],
func: callable,
cls_: type,
high_prio: Optional[bool] = True,
fork: Optional[bool] = False) -> T:
"""
See ``jsons.set_deserializer``.
:param func: the deserializer function.
:param cls_: the type this serializer can handle.
:param high_prio: determines the order in which is looked for the
callable.
:param fork: determines that a new fork is to be created.
:return: the type on which this method is invoked or its fork.
"""
type_ = cls.fork() if fork else cls
set_deserializer(func, cls_, high_prio, type_)
return type_
| () | [
-0.023975258693099022,
-0.04582811892032623,
0.010140355676412582,
-0.013913511298596859,
0.011673199944198132,
0.04806843027472496,
-0.013019352219998837,
0.03423352539539337,
-0.010533392429351807,
-0.042447999119758606,
0.02880961447954178,
0.06139238551259041,
-0.020320015028119087,
0.01152581162750721,
-0.03757433965802193,
0.042290784418582916,
0.028455881401896477,
0.021459821611642838,
0.03277928754687309,
-0.011624070815742016,
0.02140086703002453,
-0.016075214371085167,
0.03610045090317726,
0.05070177838206291,
0.0032106214202940464,
-0.010287744924426079,
0.0343317873775959,
0.011231033131480217,
-0.016409296542406082,
-0.0010421623010188341,
0.008858072571456432,
-0.015004188753664494,
-0.007526659406721592,
0.02263893373310566,
0.02770911157131195,
0.0041146064177155495,
-0.0349016897380352,
0.06972476840019226,
-0.06056700646877289,
-0.00827834289520979,
-0.017146240919828415,
0.038262154906988144,
-0.04653558507561684,
-0.01934724859893322,
0.038458675146102905,
0.030283503234386444,
0.02517402172088623,
0.05537891760468483,
0.0008106388850137591,
-0.04606394097208977,
0.05349234119057655,
-0.01940620318055153,
-0.023090926930308342,
0.04460970312356949,
0.018924733623862267,
-0.009010374546051025,
0.020320015028119087,
0.02709990367293358,
-0.0044855354353785515,
0.0019418486626818776,
0.00680936686694622,
0.03724025934934616,
0.0006970266113057733,
0.030912363901734352,
-0.04119028151035309,
-0.020555837079882622,
-0.05687246099114418,
-0.047950517386198044,
-0.011722330003976822,
0.0108281709253788,
0.024800637736916542,
-0.0051880888640880585,
0.03920544311404228,
0.05325651913881302,
0.05294208973646164,
0.022914059460163116,
-0.006657064892351627,
-0.01893455907702446,
-0.023759089410305023,
0.001270000939257443,
0.044216666370630264,
-0.03839971870183945,
-0.05683315545320511,
-0.034724824130535126,
-0.041779838502407074,
0.0159573033452034,
0.014670107513666153,
-0.031934261322021484,
-0.05007291957736015,
-0.00008405772678088397,
-0.08953383564949036,
0.056951068341732025,
-0.015456181950867176,
0.024211082607507706,
-0.006421242840588093,
-0.041937053203582764,
-0.0073841833509504795,
-0.05404259264469147,
-0.016851462423801422,
0.045042045414447784,
-0.014581674709916115,
0.033231280744075775,
-0.05050525814294815,
-0.05062317103147507,
-0.009511496871709824,
-0.015289140865206718,
-0.01937672682106495,
0.05345303937792778,
-0.008563295006752014,
0.0008155518444254994,
-0.007197490893304348,
0.005202827975153923,
-0.06178542226552963,
0.025881489738821983,
0.02770911157131195,
-0.020064540207386017,
0.01361873373389244,
-0.00669636856764555,
-0.011466856114566326,
-0.013785773888230324,
0.011466856114566326,
0.010936255566775799,
-0.001766210189089179,
0.050426650792360306,
-0.010317222215235233,
0.010327048599720001,
0.048815201967954636,
0.00670619448646903,
0.025134718045592308,
-0.011240859515964985,
0.025350889191031456,
0.03676861524581909,
-0.022874755784869194,
0.03046037070453167,
0.05050525814294815,
0.02641208842396736,
-0.06779889017343521,
0.015072970651090145,
-0.08874776214361191,
0.0398932583630085,
0.028573792427778244,
0.006829018704593182,
0.02273719199001789,
-0.0455922968685627,
-0.038144245743751526,
-0.030008377507328987,
-0.0007320314762182534,
-0.018610304221510887,
-0.011103296652436256,
-0.012754051946103573,
0.037829816341400146,
-0.0008468719897791743,
-0.01131946686655283,
0.047518178820610046,
-0.017342759296298027,
-0.03132505342364311,
-0.04256591200828552,
-0.019013166427612305,
0.013039004057645798,
-0.03283824399113655,
-0.04720374941825867,
0.004414297174662352,
0.01152581162750721,
-0.07444121688604355,
-0.0010581293608993292,
0.034724824130535126,
0.022521022707223892,
-0.02580288238823414,
-0.014905929565429688,
0.04854007437825203,
-0.02305162325501442,
0.02067374810576439,
-0.011791110970079899,
0.046024639159440994,
0.01320604421198368,
0.03454795479774475,
0.014001945033669472,
0.02808249741792679,
0.005920120514929295,
-0.010081400163471699,
0.0044855354353785515,
-0.042447999119758606,
-0.01928829215466976,
-0.001303163473494351,
0.028711356222629547,
0.01007157377898693,
0.0058218613266944885,
-0.006946929730474949,
0.0866253674030304,
0.01934724859893322,
0.02305162325501442,
0.029241956770420074,
0.05089829862117767,
-0.048343557864427567,
-0.00011921612167498097,
0.025665318593382835,
-0.04889380931854248,
-0.02584218606352806,
-0.0013486084062606096,
0.02289440855383873,
-0.05816948041319847,
0.00316640455275774,
0.025193674489855766,
-0.05820878595113754,
-0.04979779198765755,
-0.0009365335572510958,
0.013353433459997177,
0.008720509707927704,
0.017008677124977112,
-0.03979500010609627,
-0.028711356222629547,
-0.03828180953860283,
-0.007565963082015514,
0.058090873062610626,
0.03759399428963661,
-0.1192474365234375,
0.06830983608961105,
-0.028789963573217392,
0.015603570267558098,
-0.035353682935237885,
0.0804939866065979,
0.05600778013467789,
-0.06284662336111069,
0.04614254832267761,
-0.028789963573217392,
-0.017264151945710182,
-0.010091225616633892,
-0.02548845298588276,
0.0031786870677024126,
-0.024053866043686867,
-0.01655668579041958,
-0.014925581403076649,
0.011791110970079899,
-0.003748590825125575,
-0.011024689301848412,
-0.01757858134806156,
0.009958576411008835,
-0.024387948215007782,
0.0174508448690176,
-0.02444690465927124,
0.04236939176917076,
-0.027728762477636337,
-0.003188512986525893,
-0.08371689170598984,
0.006666890811175108,
0.0016568967839702964,
0.03252381458878517,
0.012076063081622124,
-0.03594323620200157,
-0.003628223203122616,
0.05019082874059677,
0.012449447996914387,
0.004311125259846449,
-0.0020880093798041344,
-0.012587010860443115,
-0.06677699089050293,
0.037476081401109695,
-0.00171585229691118,
-0.012528055347502232,
0.018472740426659584,
-0.014434285461902618,
-0.0284951850771904,
-0.02662825956940651,
0.06972476840019226,
-0.04075794294476509,
-0.029752904549241066,
0.018787169829010963,
-0.0398932583630085,
-0.05455354228615761,
-0.00611172616481781,
0.0857606828212738,
-0.03920544311404228,
0.02796458639204502,
0.03885171189904213,
-0.06701281666755676,
-0.047518178820610046,
-0.06257149577140808,
-0.047950517386198044,
0.021734949201345444,
-0.03725991025567055,
-0.008838420733809471,
-0.035668112337589264,
0.05078038573265076,
-0.05121272802352905,
0.03336884453892708,
-0.06060631200671196,
0.015407051891088486,
-0.012911266647279263,
-0.01927846670150757,
-0.025370541960000992,
0.03896962106227875,
-0.04052211716771126,
-0.00793443527072668,
-0.012911266647279263,
0.005418998189270496,
-0.05478936433792114,
-0.1215270534157753,
0.011800937354564667,
0.01839413307607174,
-0.08819751441478729,
0.008130953647196293,
-0.0512913353741169,
0.07620988041162491,
0.023542918264865875,
0.01222345232963562,
-0.02751259319484234,
-0.02491854876279831,
-0.011584767140448093,
-0.023071274161338806,
0.059859540313482285,
-0.026588955894112587,
0.023090926930308342,
0.03498029708862305,
0.02128295600414276,
-0.02340535633265972,
0.01668442226946354,
0.0001243593724211678,
-0.0025375455152243376,
0.04924754053354263,
0.040679335594177246,
-0.034371089190244675,
0.0021371389739215374,
0.01222345232963562,
0.04574951156973839,
0.01960272155702114,
-0.026746170595288277,
-0.00987996906042099,
-0.00537478132173419,
-0.0021236282773315907,
0.005541822407394648,
-0.05435702204704285,
-0.027021296322345734,
0.02071305178105831,
0.024407600983977318,
-0.006544066593050957,
0.055654045194387436,
0.012940744869410992,
-0.03097131848335266,
0.0028151278384029865,
-0.0302048958837986,
0.03336884453892708,
0.0012392948847264051,
0.005055438727140427,
-0.0026431740261614323,
-0.06343618035316467,
0.01375629659742117,
0.09708014875650406,
0.031207140535116196,
0.05266696214675903,
0.014110029675066471,
-0.04323407635092735,
-0.001006543287076056,
0.024800637736916542,
0.02729642204940319,
-0.026923038065433502,
-0.0802188590168953,
0.021263303235173225,
-0.06779889017343521,
-0.024643423035740852,
-0.024211082607507706,
0.018040399998426437,
0.006499850191175938,
-0.017116762697696686,
0.004920332692563534,
0.028514837846159935,
-0.0012288548750802875,
0.047950517386198044,
-0.09778761863708496,
0.02083096280694008,
-0.04134749621152878,
-0.0020044888369739056,
-0.04181914031505585,
-0.04134749621152878,
-0.01699885167181492,
-0.011024689301848412,
0.018276222050189972,
0.013215870596468449,
0.02688373439013958,
-0.03325093537569046,
0.020398622378706932,
0.02621557004749775,
-0.03423352539539337,
-0.012282407842576504,
0.010297570377588272,
0.06025257706642151,
0.008130953647196293,
0.03523577004671097,
-0.02128295600414276,
0.018138660117983818,
0.0035397899337112904,
-0.01826639659702778,
0.014886277727782726,
-0.016409296542406082,
0.005399346351623535,
-0.03327058628201485,
-0.029811859130859375,
-0.017716145142912865,
0.04040420800447464,
0.012429796159267426,
0.024112822487950325,
-0.00041698775021359324,
-0.04122958704829216,
0.10391899198293686,
0.0203003641217947,
0.009418150410056114,
0.01163389626890421,
0.057422712445259094,
-0.03087306022644043,
0.0046574887819588184,
0.03751538693904877,
0.023582221940159798,
-0.01756875589489937,
-0.062335673719644547,
-0.01634051464498043,
0.0018878059927374125,
-0.022265547886490822,
0.05168437212705612,
0.03498029708862305,
-0.03784946724772453,
0.01883630082011223,
0.008101476356387138,
0.08725422620773315,
-0.001584430574439466,
0.001370716723613441,
0.05651872605085373,
0.005040700081735849,
-0.035196468234062195,
0.029654644429683685,
0.005561474245041609,
0.0433126837015152,
0.06449738144874573,
-0.026844430714845657,
-0.01361873373389244,
-0.05180228129029274,
0.006991146598011255,
0.014768366701900959,
0.025036459788680077,
-0.06048839911818504,
0.014886277727782726,
0.061038654297590256,
-0.024387948215007782,
0.07113970816135406,
-0.024957852438092232,
-0.017912663519382477,
0.018688911572098732,
0.016861289739608765,
-0.0011772688012570143,
0.08104423433542252,
0.04594603180885315,
-0.02118469588458538,
0.04280173406004906,
0.007895131595432758,
0.01975993812084198,
0.019455334171652794,
-0.055968474596738815,
-0.049601275473833084,
0.10470506548881531,
-0.023798393085598946,
-0.0428803414106369,
0.023346399888396263,
0.0462997630238533,
-0.020752355456352234,
0.0033236194867640734,
0.02947777882218361,
-0.04201566055417061,
0.016615640372037888,
0.04005047306418419,
0.007443138863891363,
-0.05215601623058319,
-0.009010374546051025,
0.05820878595113754,
0.06646256148815155,
-0.03995221480727196,
-0.015230185352265835,
-0.02890787459909916,
0.024466555565595627,
0.04590672627091408,
-0.07534520328044891,
-0.08544625341892242,
-0.043273378163576126,
0.006386851891875267,
-0.018286047503352165,
0.019199859350919724,
0.0065244147554039955,
0.03293650224804878,
-0.021872511133551598,
0.02776806615293026,
0.03714200109243393,
0.0759347528219223,
0.022049378603696823,
-0.032346948981285095,
0.032248690724372864,
-0.0003270191082265228,
0.015534789301455021,
-0.03900892660021782,
0.003795263823121786,
-0.02314988151192665,
0.02067374810576439,
0.021302606910467148,
-0.08442435413599014,
0.010022444650530815,
0.005212653893977404,
0.00164829904679209,
0.03894997015595436,
-0.04107237234711647,
-0.032346948981285095,
-0.014955059625208378,
0.03663105145096779,
-0.02605835534632206,
-0.000725890276953578,
0.021931467577815056,
0.011339118704199791,
-0.001520562102086842,
0.011437377892434597,
-0.02776806615293026,
-0.015711655840277672,
0.004569055512547493,
0.03694548085331917,
-0.017431192100048065,
-0.08096563071012497,
0.02014314755797386,
0.004269364755600691,
0.075227290391922,
-0.01884612627327442,
-0.04284103587269783,
0.021872511133551598,
0.02026105858385563,
0.018826473504304886,
0.04154401645064354,
0.028672052547335625,
0.010818344540894032,
-0.040129080414772034,
-0.03397805243730545,
-0.03448900207877159,
0.02305162325501442,
0.011643722653388977,
0.018453089520335197,
0.044531095772981644,
0.06044909730553627,
-0.05019082874059677,
0.03953952714800835,
0.0654013603925705,
0.0019541310612112284,
0.024014562368392944,
-0.015721481293439865,
-0.011299815028905869,
0.03682757169008255,
0.02045757882297039,
-0.021872511133551598,
-0.010336874052882195,
-0.009703101590275764,
-0.028141451999545097,
0.04952266812324524,
0.007531572133302689,
-0.017912663519382477,
-0.06944964826107025,
-0.008858072571456432,
-0.017077459022402763,
0.018757693469524384,
0.014178811572492123,
-0.0020057172514498234,
0.132767915725708,
0.0011189273791387677,
-0.01614399626851082,
0.013844729401171207,
0.01807970367372036,
0.04736096411943436,
0.062492888420820236,
-0.03739747405052185,
-0.022717541083693504,
0.03549124673008919,
0.07609197497367859,
0.03246485814452171,
0.011280163191258907,
0.009030026383697987,
0.02755189687013626,
-0.031167836859822273,
0.036238014698028564,
0.015220359899103642,
-0.02232450433075428,
0.01675320416688919,
0.01963219977915287,
-0.032189734280109406,
-0.04598533362150192,
0.0066767167299985886,
0.0008210789528675377,
-0.029615340754389763,
0.04555299133062363,
0.033427800983190536,
-0.0031442963518202305,
-0.000023816355678718537,
0.05117342248558998,
-0.020221754908561707,
0.007276098243892193,
0.026294177398085594,
0.029359867796301842,
0.016330689191818237,
-0.040679335594177246,
0.01870856247842312,
-0.048972416669130325,
-0.04610324651002884,
0.013432040810585022,
-0.022186940535902977,
-0.0679561048746109,
0.030165592208504677,
-0.007290837354958057,
-0.057933658361434937,
0.049758490175008774,
0.011054166592657566,
-0.010199311189353466,
0.01836465485394001,
0.006214898079633713,
0.04020768776535988,
-0.06677699089050293,
0.003981956746429205,
-0.05577195808291435,
-0.05785505101084709,
0.012813007459044456,
0.01618329994380474,
-0.05958441644906998,
-0.008509252220392227,
0.013540126383304596,
0.010366352275013924,
0.0035422462970018387,
-0.05518240109086037,
-0.01753927767276764,
-0.03669000789523125,
-0.007153274025768042,
-0.0052175666205585,
-0.07982582598924637,
0.01163389626890421,
-0.022599630057811737,
0.051094815135002136,
-0.05486797168850899,
-0.003711743513122201,
-0.05164506658911705,
0.006961668375879526,
0.031934261322021484,
-0.0012614032020792365,
0.015279315412044525,
-0.02330709621310234,
-0.06772027909755707,
-0.0203003641217947,
0.022855104878544807,
-0.07581684738397598,
-0.04170123115181923,
0.02922230400145054,
0.01691041886806488,
0.03843902423977852,
0.01719537004828453,
-0.01940620318055153,
0.057422712445259094,
-0.023346399888396263,
-0.03030315600335598,
0.0015954847913235426,
0.02014314755797386,
0.04598533362150192,
-0.023660829290747643,
0.06500832736492157,
0.018944384530186653,
-0.02802354097366333,
0.002477361587807536,
-0.04386293515563011,
0.04610324651002884,
0.016566511243581772,
-0.0013744013849645853,
-0.05942720174789429,
-0.016104692593216896,
0.04468831047415733,
0.006155942566692829,
-0.04197635501623154,
-0.007300663273781538,
-0.0006571087869815528,
-0.03517681360244751,
-0.06756306439638138,
0.0005124834715388715,
0.014414633624255657,
0.017470495775341988,
0.003136926796287298,
-0.028043193742632866,
-0.02983151189982891,
0.01719537004828453,
-0.027021296322345734,
0.0462997630238533,
-0.05361025407910347,
0.007354705594480038,
0.027158860117197037,
-0.017421366646885872,
0.01877734437584877,
-0.0648118108510971,
0.03977534919977188,
-0.005060351919382811,
-0.02470237761735916,
0.005355129484087229,
-0.019622374325990677,
-0.05298139154911041,
-0.04704653471708298,
-0.0319146066904068,
-0.02413247525691986,
-0.006126464810222387,
0.03708304464817047,
-0.048500772565603256,
0.012832659296691418,
-0.05510379374027252,
0.04014873504638672,
0.023228488862514496,
-0.05844460800290108,
0.0254294965416193,
0.09299256652593613,
-0.008607511408627033,
0.0031737741082906723,
0.029124043881893158,
0.06430085748434067,
-0.03207182139158249,
-0.025508103892207146,
0.015652699396014214,
0.034626562148332596,
0.05117342248558998,
-0.025350889191031456,
0.02197077125310898,
-0.038458675146102905,
0.016713900491595268,
0.049129631370306015,
-0.0020536184310913086,
0.06532275676727295,
0.018580825999379158,
0.0629645362496376,
-0.017047980800271034,
-0.01005192194133997,
-0.004922789055854082,
0.0366114005446434,
0.03725991025567055,
-0.07113970816135406,
-0.0864681527018547,
0.020752355456352234,
-0.07746759802103043,
0.04154401645064354,
-0.0072318813763558865,
-0.007354705594480038,
0.0018423611763864756,
-0.0012270124861970544,
-0.0037854379042983055,
0.00006191101419972256,
0.06378991156816483,
-0.022501369938254356,
0.006293505430221558,
0.07011780887842178,
0.031423311680555344,
-0.015004188753664494,
-0.023739436641335487,
0.014964885078370571,
0.016576336696743965,
-0.06284662336111069,
0.022108333185315132,
0.048304252326488495,
0.010867474600672722,
-0.03735817223787308,
0.00198360881768167,
-0.02957603707909584,
-0.0759347528219223,
-0.07231881469488144,
-0.0531386062502861,
0.004888398107141256,
-0.03492134064435959,
0.09307117015123367,
0.014316374436020851,
-0.04508134722709656,
0.003790350863710046
]
|
43,926 | jsons.classes.json_serializable | __str__ |
See ``jsons.dumps``.
:return: this instance as a JSON string.
| def __str__(self) -> str:
"""
See ``jsons.dumps``.
:return: this instance as a JSON string.
"""
return self.dumps()
| (self) -> str | [
-0.055912066251039505,
-0.07285407930612564,
0.03831712156534195,
-0.03807656466960907,
0.01061023399233818,
-0.0204300694167614,
-0.015575995668768883,
0.015301074832677841,
0.060035884380340576,
-0.06587795913219452,
-0.030155401676893234,
0.016426531597971916,
-0.024845989421010017,
0.025739483535289764,
0.006129879970103502,
0.0009477258427068591,
-0.0025129502173513174,
-0.08089552074670792,
0.049004677683115005,
0.010644598864018917,
0.0024699936620891094,
0.007225268520414829,
0.06728692352771759,
0.06824915111064911,
-0.0253958310931921,
0.026495516300201416,
-0.001529248314909637,
-0.005730385426431894,
-0.014819962903857231,
0.02591130882501602,
-0.04079141095280647,
-0.07264788448810577,
0.043712444603443146,
0.030877070501446724,
-0.011099937371909618,
0.015825143083930016,
-0.05467492341995239,
0.043506257236003876,
-0.10323285311460495,
-0.021031459793448448,
-0.019347568973898888,
0.04831737279891968,
-0.07780265808105469,
-0.033402908593416214,
0.04055085405707359,
0.002609602175652981,
0.0016044219955801964,
0.06663399189710617,
0.021598484367132187,
-0.0201379656791687,
0.0339527502655983,
0.029743021354079247,
-0.0290041696280241,
0.008273405022919178,
-0.054984208196401596,
0.0181791540235281,
0.04903903976082802,
0.02158130146563053,
-0.013032975606620312,
0.021512571722269058,
-0.04264712706208229,
0.006194314919412136,
0.049966901540756226,
-0.03828275576233864,
-0.03197675570845604,
-0.013866330496966839,
-0.06818041950464249,
0.014828554354608059,
0.04505268484354019,
0.026014404371380806,
0.05505293980240822,
-0.025344284251332283,
-0.008393683470785618,
0.0622008852660656,
0.019107012078166008,
0.02386658266186714,
-0.06316310912370682,
0.0020189513452351093,
-0.02439924329519272,
-0.025206822901964188,
0.03165028616786003,
-0.019227290526032448,
-0.030962983146309853,
-0.013608591631054878,
-0.04405609890818596,
-0.04192546010017395,
-0.051582060754299164,
-0.027371827512979507,
-0.05175388604402542,
0.02118610218167305,
-0.01914137788116932,
0.038695137947797775,
-0.0302069503813982,
0.06955502182245255,
-0.022646620869636536,
-0.035602275282144547,
-0.0026976626832038164,
-0.0703110545873642,
0.047801896929740906,
0.03883259743452072,
0.008784586563706398,
0.030705245211720467,
-0.05000126361846924,
-0.024742893874645233,
-0.0438842736184597,
-0.04305950924754143,
-0.004267719574272633,
0.006525079254060984,
-0.012852558866143227,
0.019570941105484962,
0.021203285083174706,
0.03513834625482559,
-0.02599722146987915,
-0.00017679248412605375,
0.06752748042345047,
-0.026495516300201416,
0.0017075174255296588,
-0.01628907211124897,
0.07354138046503067,
-0.04787062853574753,
0.016813140362501144,
-0.0031981049105525017,
-0.004164624493569136,
0.024742893874645233,
0.0345541387796402,
0.04048212245106697,
-0.017362982034683228,
-0.017680859193205833,
0.04663348197937012,
-0.03326544538140297,
0.030241314321756363,
0.005429690703749657,
-0.03359191492199898,
-0.0009606127860024571,
0.0862564817070961,
0.004059380851686001,
-0.024210235103964806,
0.0195365771651268,
0.04360935091972351,
0.1127176284790039,
0.023540114983916283,
0.010043209418654442,
0.013548452407121658,
0.015206570737063885,
0.008393683470785618,
-0.03230322152376175,
0.015850916504859924,
0.04474340006709099,
-0.03137536346912384,
-0.016400758177042007,
0.06735565513372421,
0.020722173154354095,
0.039657361805438995,
-0.008763108402490616,
-0.013007202185690403,
0.011804422363638878,
-0.029141630977392197,
-0.0366675928235054,
0.03852331265807152,
-0.03993228077888489,
0.004519014619290829,
-0.0411694273352623,
0.013797599822282791,
-0.0459805466234684,
0.01781832054257393,
0.046118006110191345,
0.03317953273653984,
-0.008191787637770176,
-0.01400379091501236,
0.010910929180681705,
-0.036805056035518646,
-0.027938852086663246,
-0.061204299330711365,
0.031512826681137085,
0.03299052640795708,
0.03639267385005951,
0.019691219553351402,
0.10206443816423416,
-0.019450664520263672,
-0.004267719574272633,
0.002454959088936448,
-0.049210868775844574,
-0.003997094463557005,
0.015490083023905754,
0.08488187193870544,
-0.048248644918203354,
0.02536146715283394,
0.02398686110973358,
0.04859229549765587,
0.03670195862650871,
0.020241061225533485,
0.021684397011995316,
-0.01793859899044037,
-0.010558686219155788,
-0.02022388018667698,
-0.04189109429717064,
0.005348073318600655,
-0.0862564817070961,
-0.006989008281379938,
0.008221857249736786,
-0.0667027160525322,
0.015120657160878181,
-0.0345541387796402,
-0.01697637513279915,
0.049417056143283844,
-0.01340240053832531,
-0.000943430233746767,
-0.044434115290641785,
0.06756184995174408,
-0.05189134553074837,
0.002364750485867262,
0.0014927353477105498,
-0.03900442272424698,
0.01448490284383297,
0.055430956184864044,
-0.07807757705450058,
0.034605685621500015,
-0.04065395146608353,
-0.00957068894058466,
-0.004781048744916916,
0.04570562392473221,
0.0199833232909441,
-0.025533292442560196,
-0.021615667268633842,
-0.07161693274974823,
0.020567530766129494,
0.0022444725036621094,
-0.05367833375930786,
0.005455464590340853,
-0.012036386877298355,
-0.006855843588709831,
-0.029227543622255325,
0.0426814928650856,
0.029416551813483238,
-0.01340240053832531,
0.024605434387922287,
-0.032440684735774994,
-0.07766519486904144,
-0.02206241339445114,
-0.05457182601094246,
0.030980166047811508,
-0.017483260482549667,
-0.020000506192445755,
-0.015094883739948273,
0.029416551813483238,
0.004428806249052286,
0.015395578928291798,
0.04931396245956421,
-0.015919646248221397,
-0.02476007677614689,
0.07230423390865326,
-0.03611775115132332,
-0.023660393431782722,
-0.006963234394788742,
-0.011881743557751179,
-0.09959015250205994,
0.01640935055911541,
0.05436563864350319,
0.020275427028536797,
0.017766771838068962,
-0.027852937579154968,
-0.010489956475794315,
-0.04381554201245308,
0.05058547109365463,
-0.02683916687965393,
-0.027389008551836014,
-0.025172458961606026,
0.027457740157842636,
-0.021684397011995316,
0.042544033378362656,
0.09209854900836945,
-0.0447777658700943,
-0.016220342367887497,
-0.0045533799566328526,
-0.05010436102747917,
-0.04914213716983795,
-0.038214024156332016,
-0.03357473388314247,
-0.048248644918203354,
-0.0667027160525322,
-0.019828680902719498,
-0.02740619145333767,
0.05838635563850403,
-0.015352622605860233,
0.03687378391623497,
-0.07120455056428909,
0.026770437136292458,
0.018110424280166626,
-0.015309665352106094,
0.0029167404863983393,
0.05910802632570267,
-0.010644598864018917,
-0.025791030377149582,
0.006812887266278267,
0.02560202218592167,
-0.024571068584918976,
0.003739355830475688,
-0.00044540432281792164,
0.0011780796339735389,
-0.030516235157847404,
-0.0036663298960775137,
-0.008934933692216873,
0.048764120787382126,
0.02362602762877941,
-0.0321657620370388,
-0.042750224471092224,
-0.04694276675581932,
0.008123057894408703,
-0.018247883766889572,
0.0019308908376842737,
-0.030464688315987587,
0.011898926459252834,
0.015653317794203758,
0.08309488743543625,
-0.01436462439596653,
0.05917675420641899,
-0.03029286302626133,
-0.005906506907194853,
0.0270453579723835,
0.06735565513372421,
-0.040585219860076904,
-0.03405584394931793,
0.002860897220671177,
-0.02371194027364254,
0.03615211695432663,
-0.040138471871614456,
-0.024450790137052536,
0.0552934966981411,
0.027612382546067238,
0.02969147264957428,
0.005670246668159962,
-0.06659962236881256,
0.03945117071270943,
0.02707972377538681,
-0.010945294052362442,
-0.016383575275540352,
0.03254377841949463,
-0.020155148580670357,
-0.06113556772470474,
-0.016881870105862617,
0.06306001543998718,
0.0031572964508086443,
0.02274971641600132,
0.0051977261900901794,
-0.05151332914829254,
0.03482906147837639,
0.014476311393082142,
0.013531270436942577,
0.02326519414782524,
-0.054021984338760376,
-0.03683942183852196,
0.011185850016772747,
0.04580871760845184,
0.029107265174388885,
-0.04171926900744438,
-0.026426784694194794,
0.009218445979058743,
0.052578650414943695,
-0.02395249530673027,
-0.03213139623403549,
0.013436766341328621,
-0.010567277669906616,
-0.0006803221767768264,
-0.0012865446042269468,
0.009115351364016533,
0.03738926351070404,
0.06257890164852142,
-0.053265951573848724,
0.0568055622279644,
-0.05175388604402542,
-0.02608313411474228,
0.011280354112386703,
-0.035842832177877426,
-0.0071135819889605045,
-0.062407076358795166,
0.0643315240740776,
0.01193329133093357,
0.026942262426018715,
-0.06938319653272629,
-0.05993278697133064,
0.020206697285175323,
-0.031306635588407516,
-0.0008070436306297779,
0.05147896707057953,
0.032079849392175674,
0.014708275906741619,
0.014106886461377144,
-0.02331674098968506,
-0.009811244904994965,
0.017869867384433746,
-0.06113556772470474,
-0.03618648275732994,
-0.028145041316747665,
0.033316995948553085,
-0.06257890164852142,
-0.06288819015026093,
0.026014404371380806,
0.004089450463652611,
-0.025052180513739586,
0.06917700916528702,
0.026186229661107063,
-0.05316285789012909,
0.05285356938838959,
-0.014613771811127663,
-0.04092887043952942,
0.026787620037794113,
0.02828250266611576,
-0.01123739778995514,
-0.002210107399150729,
0.014347442425787449,
0.0010513581801205873,
-0.05653063952922821,
-0.08543171733617783,
-0.0781463086605072,
0.053540874272584915,
-0.00749159837141633,
-0.03622084856033325,
0.03293897956609726,
-0.006898799911141396,
0.011349084787070751,
-0.04271585866808891,
0.07443487644195557,
0.02118610218167305,
0.05993278697133064,
-0.012362855486571789,
0.0021445988677442074,
-0.004596336279064417,
0.03780164197087288,
0.0652250200510025,
0.018471257761120796,
0.024983450770378113,
0.01006898283958435,
0.014802780002355576,
-0.06113556772470474,
0.03257814422249794,
-0.00040405875188298523,
0.037732914090156555,
-0.07546582818031311,
-0.026392420753836632,
0.057389769703149796,
0.017715224996209145,
-0.01544712670147419,
-0.03194238990545273,
0.014613771811127663,
0.01496601477265358,
-0.031993936747312546,
-0.04835173860192299,
0.02924472652375698,
0.054090715944767,
0.002822236390784383,
0.0348634235560894,
0.021203285083174706,
0.01310170628130436,
-0.06773367524147034,
-0.018024511635303497,
-0.045361973345279694,
0.06893645226955414,
-0.03687378391623497,
-0.004634996876120567,
0.00041130767203867435,
-0.028626153245568275,
0.02728591300547123,
0.010309538803994656,
0.03513834625482559,
-0.020309792831540108,
0.005730385426431894,
-0.03350600227713585,
0.04914213716983795,
-0.058764372020959854,
0.014897284097969532,
0.0426814928650856,
0.060035884380340576,
-0.07869614660739899,
-0.018316615372896194,
-0.02097991295158863,
0.04556816443800926,
0.015756413340568542,
-0.04866102337837219,
-0.03900442272424698,
-0.028952622786164284,
-0.06783676892518997,
-0.04701149836182594,
-0.007689198013395071,
0.037492357194423676,
0.013797599822282791,
0.00241200253367424,
0.04017283767461777,
0.007672015577554703,
0.03005230613052845,
0.02707972377538681,
0.013857739046216011,
0.03663323074579239,
-0.05075729638338089,
-0.013514087535440922,
-0.012912698090076447,
0.034365132451057434,
-0.054090715944767,
-0.03474314883351326,
-0.051135312765836716,
-0.003447252092882991,
0.03005230613052845,
0.01083360705524683,
-0.00970814935863018,
0.02451951988041401,
-0.006374731659889221,
-0.03704560920596123,
0.06110120192170143,
0.036049023270606995,
-0.0333685427904129,
-0.01484573632478714,
0.018866457045078278,
0.005064561031758785,
-0.004323563072830439,
-0.0017719520255923271,
-0.003745799185708165,
0.005631585605442524,
-0.00263752369210124,
0.006314592901617289,
-0.03312798589468002,
-0.008849021047353745,
-0.026529880240559578,
0.016400758177042007,
-0.017474668100476265,
-0.018591536208987236,
-0.03510398045182228,
0.020876817405223846,
-0.018230702728033066,
0.032767150551080704,
-0.012354264035820961,
0.10646317154169083,
0.0014927353477105498,
0.01109134592115879,
-0.008406570181250572,
0.019605306908488274,
-0.025464562699198723,
0.08611901849508286,
-0.04890158027410507,
0.05388452485203743,
0.011245989240705967,
-0.005979532841593027,
0.0290041696280241,
0.02070499211549759,
0.03029286302626133,
-0.03213139623403549,
-0.015034744516015053,
-0.012594820000231266,
0.011160076595842838,
0.020550347864627838,
0.007229564245790243,
-0.010034617967903614,
0.007560328580439091,
-0.02543019689619541,
0.01221680361777544,
-0.007470120210200548,
-0.008110171183943748,
-0.008166014216840267,
-0.01532684825360775,
0.008934933692216873,
0.02419305220246315,
0.032767150551080704,
-0.011460770852863789,
0.05848945304751396,
0.018643083050847054,
0.0060740369372069836,
-0.02295590750873089,
0.07326646149158478,
0.02548174373805523,
0.053575240075588226,
-0.010120530612766743,
-0.010489956475794315,
0.009355906397104263,
-0.0025730892084538937,
0.0363583080470562,
0.036049023270606995,
-0.0155502213165164,
0.002822236390784383,
0.024845989421010017,
0.04182236269116402,
-0.004789640195667744,
0.010790650732815266,
-0.03567100688815117,
0.04862666130065918,
-0.016151610761880875,
-0.034004297107458115,
-0.004282754380255938,
0.022096779197454453,
-0.034038662910461426,
0.023540114983916283,
0.021495388820767403,
-0.02881516143679619,
-0.014295894652605057,
0.014613771811127663,
-0.021254833787679672,
-0.0004537271161098033,
0.0703110545873642,
-0.032079849392175674,
0.00453190179541707,
-0.05006999522447586,
0.006043967325240374,
-0.020550347864627838,
0.04006974399089813,
0.046083640307188034,
-0.009879974648356438,
0.006782817654311657,
0.09319823235273361,
0.044880859553813934,
-0.04955451935529709,
0.05051674321293831,
-0.02338547073304653,
0.030344409868121147,
-0.029519647359848022,
0.0022595073096454144,
-0.006293114740401506,
-0.048729754984378815,
-0.014476311393082142,
-0.008741630241274834,
-0.003717877669259906,
0.0031315225642174482,
-0.028918256983160973,
-0.0111171193420887,
0.07457233220338821,
0.06900518387556076,
-0.006301705725491047,
0.03474314883351326,
-0.02996639348566532,
-0.047526974231004715,
-0.0057776374742388725,
-0.004995830822736025,
-0.013445357792079449,
-0.07326646149158478,
-0.001208149129524827,
-0.023179281502962112,
0.03350600227713585,
-0.0426814928650856,
-0.022921541705727577,
-0.028230953961610794,
0.008681491017341614,
0.010026026517152786,
0.0027578016743063927,
0.020447252318263054,
0.009038029238581657,
-0.027182819321751595,
-0.06745874881744385,
0.02415868639945984,
-0.06756184995174408,
0.018849274143576622,
-0.03409020975232124,
-0.04938269406557083,
0.016332028433680534,
-0.06233834847807884,
-0.04666784778237343,
0.005146178416907787,
-0.020275427028536797,
0.007203790359199047,
-0.013668730854988098,
0.026014404371380806,
0.010790650732815266,
0.03293897956609726,
0.0008274479187093675,
0.022680986672639847,
-0.02812786027789116,
-0.003477321704849601,
-0.05051674321293831,
-0.02960556000471115,
0.03194238990545273,
0.0037672773469239473,
-0.060482628643512726,
-0.02587694302201271,
0.02812786027789116,
0.000774289364926517,
-0.011890335008502007,
0.023213645443320274,
-0.006765635218471289,
-0.009742514230310917,
-0.06141049042344093,
0.018849274143576622,
-0.002845862414687872,
0.0390731543302536,
0.022921541705727577,
-0.047561340034008026,
-0.02262943796813488,
-0.0159282386302948,
-0.02271535061299801,
0.008200379088521004,
-0.026993809267878532,
0.05965786799788475,
-0.012732281349599361,
0.03855767846107483,
0.02118610218167305,
-0.021753128618001938,
-0.027457740157842636,
-0.06855843216180801,
-0.0727166160941124,
0.024536702781915665,
0.060482628643512726,
0.005683133378624916,
0.023368289694190025,
-0.026169046759605408,
0.010017435997724533,
-0.005171952303498983,
0.04285331815481186,
0.006924573797732592,
0.030550600960850716,
-0.023557297885417938,
0.05536222457885742,
-0.009553506039083004,
0.02608313411474228,
-0.014871510677039623,
0.05464055761694908,
-0.0408601388335228,
0.0071694254875183105,
0.07395376265048981,
0.01989741064608097,
-0.019674036651849747,
-0.028901074081659317,
-0.024175869300961494,
0.04312824085354805,
0.022560708224773407,
-0.0011662666220217943,
0.027870120480656624,
-0.04096323624253273,
-0.003956285770982504,
-0.0013552748132497072,
-0.030103854835033417,
0.06893645226955414,
0.035808466374874115,
-0.003069235710427165,
-0.030962983146309853,
-0.019038282334804535,
-0.03704560920596123,
-0.015481491573154926,
0.04340315982699394,
-0.03646140545606613,
-0.01965685561299324,
0.01053291279822588,
-0.022595074027776718,
0.04264712706208229,
-0.01905546523630619,
0.02933063916862011,
0.05175388604402542,
-0.006615287624299526,
0.04405609890818596,
0.02061907760798931,
0.005030196160078049,
0.020515983924269676,
0.0015056222910061479,
0.06477826833724976,
0.03477751091122627,
-0.05340341478586197,
0.006164245307445526,
0.030481871217489243,
0.047080229967832565,
-0.029554013162851334,
0.03663323074579239,
0.03663323074579239,
-0.0005578963900916278,
-0.03165028616786003,
0.07415995001792908,
0.022010866552591324,
-0.010842198505997658,
-0.09395426511764526,
-0.022818446159362793,
0.0016216045478358865,
0.006881617475301027,
0.0033720785286277533,
0.08165155351161957,
0.006795704830437899,
-0.014278711751103401
]
|
43,927 | jsons.classes.json_serializable | dump |
See ``jsons.dump``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance in a JSON representation (dict).
| def dump(self, **kwargs) -> object:
"""
See ``jsons.dump``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance in a JSON representation (dict).
"""
return dump(self, fork_inst=self.__class__, **kwargs)
| (self, **kwargs) -> object | [
-0.046082183718681335,
-0.0493461936712265,
0.04327443614602089,
-0.02191799320280552,
0.01046764012426138,
0.0011028093285858631,
-0.02142663672566414,
-0.0026936845388263464,
0.008721571415662766,
-0.04931109771132469,
-0.022812962532043457,
0.001333680935204029,
-0.031622275710105896,
0.008611893281340599,
-0.008160021156072617,
0.0259892288595438,
0.005984015762805939,
-0.04888993501663208,
0.02165476605296135,
0.03378073498606682,
0.021180959418416023,
0.016320042312145233,
0.03857145458459854,
0.04636295884847641,
-0.001724133500829339,
0.005826079752296209,
0.001984069822356105,
0.008081053383648396,
-0.03385092690587044,
0.06275320053100586,
-0.018741726875305176,
-0.04113352671265602,
0.0038957521319389343,
0.027919556945562363,
0.013468421995639801,
0.023936063051223755,
-0.05868196114897728,
0.06426236033439636,
-0.12557658553123474,
-0.02319902926683426,
0.017504561692476273,
0.05629537254571915,
-0.06320945918560028,
0.0021178764291107655,
0.05489150062203407,
0.0024962646421045065,
0.06570133566856384,
0.03325428068637848,
0.03114846907556057,
-0.051241423934698105,
0.044537924230098724,
0.01764494925737381,
-0.01695178635418415,
0.007642342709004879,
-0.014363392256200314,
0.0254276804625988,
0.041414301842451096,
0.0053522721864283085,
-0.02263747900724411,
0.01636391319334507,
-0.03453531488776207,
0.051276519894599915,
0.06850907951593399,
-0.005597949959337711,
-0.03176266327500343,
-0.024058902636170387,
-0.09097107499837875,
0.0025203938130289316,
-0.015758492052555084,
0.04618747532367706,
0.027147425338625908,
-0.04260759428143501,
0.01559178251773119,
0.07314187288284302,
0.039448875933885574,
0.0350266732275486,
-0.03537764027714729,
-0.02283051237463951,
-0.03232421353459358,
0.016811398789286613,
-0.021216055378317833,
-0.03822048753499985,
-0.06921102106571198,
0.005729563534259796,
-0.02967439964413643,
-0.02911285124719143,
-0.013249066658318043,
-0.011704805307090282,
-0.03353505581617355,
-0.022479543462395668,
-0.03558822348713875,
0.09209417551755905,
-0.0523645244538784,
0.06921102106571198,
-0.024585355073213577,
-0.053206849843263626,
-0.02979723922908306,
-0.011985579505562782,
0.012433065101504326,
0.06394649296998978,
-0.018057337030768394,
0.01672365702688694,
-0.07089567184448242,
-0.020496569573879242,
-0.0007885827217251062,
-0.006606984883546829,
-0.013038486242294312,
-0.004584528040140867,
-0.021198507398366928,
0.02398870885372162,
0.027937104925513268,
0.06556094437837601,
-0.02267257496714592,
0.019233083352446556,
0.04130901023745537,
-0.020092956721782684,
0.0310782752931118,
0.012705065310001373,
0.03958926349878311,
-0.054365046322345734,
-0.054821304976940155,
0.023181479424238205,
0.026884200051426888,
0.03321918472647667,
0.01120467483997345,
0.013775520026683807,
-0.004126075189560652,
-0.007931891828775406,
0.0010841641342267394,
-0.037764228880405426,
0.05366310849785805,
-0.007598471362143755,
-0.029183045029640198,
-0.001739488448947668,
0.06482391059398651,
0.00606298353523016,
0.03446512296795845,
-0.01745191588997841,
-0.033201634883880615,
0.05057458579540253,
-0.001313938875682652,
-0.01000260654836893,
0.0005489369505085051,
0.014582747593522072,
-0.036746419966220856,
-0.03432473540306091,
0.006216532550752163,
0.02060186117887497,
0.007418599911034107,
-0.007085179910063744,
0.08121415227651596,
-0.0027704588137567043,
0.029727045446634293,
0.016144558787345886,
-0.02467309683561325,
-0.029551561921834946,
-0.02323412522673607,
-0.01682894676923752,
0.019496308639645576,
-0.022549737244844437,
-0.03348241001367569,
-0.011064287275075912,
0.027129877358675003,
-0.06387629359960556,
0.0014839393552392721,
0.02576109953224659,
0.024567807093262672,
-0.014082618057727814,
0.004290591925382614,
0.028761882334947586,
-0.03190305083990097,
0.01587255857884884,
-0.0369219034910202,
0.03404396027326584,
-0.030113112181425095,
0.02260238118469715,
0.030639564618468285,
0.06433255225419998,
-0.027147425338625908,
0.02723516896367073,
0.039413779973983765,
-0.06752637028694153,
-0.00273536192253232,
0.021075667813420296,
0.048574063926935196,
-0.06464842706918716,
0.01159951463341713,
0.010616801679134369,
0.061981067061424255,
0.037307970225811005,
0.024427419528365135,
0.03281557187438011,
0.04127391427755356,
-0.03328937664628029,
-0.006857050117105246,
-0.02832317166030407,
-0.03790461644530296,
-0.076090008020401,
0.026199810206890106,
0.023409610614180565,
-0.030113112181425095,
-0.018162628635764122,
-0.00488723861053586,
-0.03565841540694237,
0.02670871466398239,
0.001582649303600192,
-0.0015793589409440756,
-0.03121866285800934,
0.0259892288595438,
-0.039378684014081955,
-0.0007957117632031441,
-0.017767788842320442,
-0.010353575460612774,
0.021496830508112907,
0.04618747532367706,
-0.06875476241111755,
0.02470819465816021,
-0.028568848967552185,
-0.020812442526221275,
-0.02267257496714592,
0.04474850371479988,
0.010704544372856617,
-0.05731318145990372,
0.00469859316945076,
-0.12059283256530762,
-0.00930066965520382,
0.0036171707324683666,
-0.0515923947095871,
0.0010644221911206841,
-0.038817133754491806,
-0.0010995189659297466,
-0.03562331944704056,
-0.01860133931040764,
0.005773434415459633,
-0.02727026492357254,
0.024234386160969734,
-0.03248215094208717,
-0.03213118016719818,
0.028603946790099144,
-0.05415446311235428,
0.031060727313160896,
-0.01796959526836872,
0.020514117553830147,
-0.045555733144283295,
0.057909827679395676,
0.019794631749391556,
0.0222163163125515,
0.00854169949889183,
0.028428461402654648,
-0.007409825921058655,
0.06054209545254707,
-0.0175133366137743,
0.008752280846238136,
0.034938931465148926,
0.005102206952869892,
-0.030534273013472557,
0.02874433435499668,
0.05050439015030861,
0.017223786562681198,
0.0418003685772419,
0.006528017111122608,
0.0022900705225765705,
-0.019671794027090073,
0.010722092352807522,
-0.011889063753187656,
0.00937963742762804,
-0.021602122113108635,
-0.05145200714468956,
-0.04667883366346359,
0.03720267862081528,
0.0655258521437645,
-0.034447573125362396,
0.02211102657020092,
0.01192416064441204,
-0.05706750601530075,
-0.06212145462632179,
-0.05910312384366989,
-0.0651397854089737,
-0.01393345557153225,
-0.0515923947095871,
0.02000521309673786,
-0.029253238812088966,
0.056365568190813065,
-0.02309373766183853,
0.029972724616527557,
-0.06022622436285019,
0.03348241001367569,
0.04741586744785309,
-0.006606984883546829,
-0.042432110756635666,
0.03174511715769768,
0.0062560164369642735,
-0.02497141994535923,
-0.008752280846238136,
0.022690124809741974,
-0.02323412522673607,
-0.043449919670820236,
0.019197985529899597,
-0.004571367055177689,
0.025620711967349052,
0.006800017785280943,
-0.07524768263101578,
0.0810035690665245,
0.07243993133306503,
-0.006808792240917683,
0.0365358367562294,
0.002638845704495907,
0.048152901232242584,
-0.041028235107660294,
0.014977587386965752,
-0.04639805853366852,
0.006997437682002783,
0.05408427119255066,
0.08339015394449234,
-0.08114395290613174,
0.01596907339990139,
0.003062201663851738,
-0.008712797425687313,
0.02783181518316269,
0.038782037794589996,
-0.06170029193162918,
0.005633046850562096,
0.02941117435693741,
0.009660412557423115,
0.07272070646286011,
-0.012547129765152931,
-0.019496308639645576,
0.028235428035259247,
0.046573542058467865,
0.022918254137039185,
-0.03265763446688652,
-0.03304370120167732,
0.04123881831765175,
0.05548814684152603,
-0.009388411417603493,
0.029253238812088966,
0.01316132489591837,
-0.01587255857884884,
-0.03969455510377884,
-0.016881592571735382,
0.03518460690975189,
0.02779671736061573,
0.005071497056633234,
-0.04215133562684059,
-0.0322013758122921,
0.035307448357343674,
0.0527154915034771,
0.01450377982109785,
-0.001015615533106029,
-0.01212596707046032,
-0.05552324280142784,
0.045555733144283295,
0.045029278844594955,
0.033008601516485214,
-0.03590409457683563,
-0.048679351806640625,
0.05338233336806297,
-0.015477717854082584,
-0.05520737171173096,
-0.03062201663851738,
0.01610068790614605,
0.015942752361297607,
-0.012933195568621159,
-0.007624794263392687,
0.03979984670877457,
0.010853705927729607,
0.03702719509601593,
-0.05306646227836609,
0.05626027658581734,
-0.05032890662550926,
-0.02795465476810932,
-0.01714481972157955,
-0.0205316673964262,
0.005181174725294113,
-0.017065851017832756,
0.04618747532367706,
-0.017688820138573647,
0.020215794444084167,
-0.04120372235774994,
-0.022918254137039185,
-0.008401311933994293,
-0.038431067019701004,
0.001226196764037013,
-0.025339936837553978,
0.06127912923693657,
-0.0031433631666004658,
0.022795414552092552,
-0.009177831001579762,
0.011564417742192745,
0.015082878060638905,
-0.056856922805309296,
-0.029586657881736755,
-0.03744835779070854,
0.020215794444084167,
-0.044959086924791336,
-0.028165236115455627,
-0.01388081070035696,
0.03569351136684418,
-0.024690644815564156,
0.006519243121147156,
0.007633568253368139,
-0.05362801253795624,
0.02772652357816696,
-0.019426114857196808,
0.01576726697385311,
-0.050644777715206146,
0.014407264068722725,
-0.05703240633010864,
0.07068508863449097,
-0.017092173919081688,
0.030042918398976326,
-0.030902789905667305,
-0.07658135890960693,
0.00009158088505500928,
0.034254539757966995,
-0.024462515488266945,
0.024269483983516693,
0.028498655185103416,
-0.018425853922963142,
-0.008704022504389286,
0.017565982416272163,
0.09356824308633804,
0.022233864292502403,
-0.015881331637501717,
0.05145200714468956,
-0.06394649296998978,
-0.05208374932408333,
0.016486752778291702,
0.035009123384952545,
0.02260238118469715,
0.006190209649503231,
-0.01145035307854414,
0.012424291111528873,
0.0068702115677297115,
0.05208374932408333,
0.021268701180815697,
0.05520737171173096,
-0.06528016924858093,
0.01222248375415802,
0.09462115168571472,
0.019864825531840324,
-0.019443664699792862,
-0.03062201663851738,
-0.030042918398976326,
0.006887760013341904,
-0.008725957944989204,
-0.02746329829096794,
0.02004031091928482,
0.03920320048928261,
0.010423769243061543,
0.07149231433868408,
-0.00039675910375081003,
0.05152219906449318,
-0.0523645244538784,
-0.053838592022657394,
-0.08367092907428741,
0.06113874167203903,
-0.060050737112760544,
-0.012555903755128384,
0.003149943659082055,
0.030990533530712128,
-0.029288334771990776,
0.007756407372653484,
0.02576109953224659,
-0.023041091859340668,
0.01590765453875065,
-0.014609070494771004,
0.0478370301425457,
-0.04418695345520973,
-0.0039922683499753475,
0.06601720303297043,
0.10437808185815811,
-0.09890297055244446,
-0.02290070615708828,
-0.00813369918614626,
0.04938128963112831,
-0.0014554231893271208,
-0.07447554916143417,
-0.0632796511054039,
-0.040431588888168335,
-0.0549967885017395,
-0.031692471355199814,
0.04113352671265602,
0.019987665116786957,
0.018478499725461006,
0.013266615569591522,
0.0254276804625988,
-0.002230844460427761,
0.06471861898899078,
0.026919296011328697,
-0.010257058776915073,
0.020987926051020622,
-0.06482391059398651,
-0.003957171458750963,
-0.022532187402248383,
0.00712905079126358,
-0.056470856070518494,
0.0021935540717095137,
-0.006462210323661566,
-0.05261020362377167,
0.007001824676990509,
0.03174511715769768,
0.010406221263110638,
0.01135383639484644,
-0.051697682589292526,
-0.02490122616291046,
0.025182001292705536,
0.038852229714393616,
-0.027147425338625908,
0.01576726697385311,
-0.0012272935127839446,
-0.008581183850765228,
-0.028709236532449722,
0.0418003685772419,
-0.039448875933885574,
0.029849885031580925,
-0.009520024992525578,
0.019987665116786957,
0.014565199613571167,
-0.05369820445775986,
0.002632264979183674,
0.05039909854531288,
0.030832597985863686,
-0.01909269578754902,
-0.05050439015030861,
0.028463559225201607,
-0.005769047420471907,
0.03207853436470032,
-0.010529059916734695,
0.07896795123815536,
0.018583791330456734,
-0.02437477372586727,
-0.04474850371479988,
-0.003770719515159726,
-0.023971159011125565,
0.0655258521437645,
-0.030078014358878136,
0.06752637028694153,
0.010344801470637321,
-0.04492398723959923,
0.05338233336806297,
0.0028801364824175835,
0.024883678182959557,
-0.03137660026550293,
-0.02270767278969288,
-0.017732691019773483,
0.01984727755188942,
0.029691949486732483,
0.009976284578442574,
-0.00396813964471221,
0.061068546026945114,
-0.06584171950817108,
0.05257510393857956,
-0.001934714731760323,
-0.0015179394977167249,
0.014144036918878555,
-0.017162367701530457,
-0.001091841608285904,
0.022777866572141647,
-0.00831357017159462,
0.007633568253368139,
0.08472383767366409,
0.04362540319561958,
-0.009019894525408745,
-0.026498133316636086,
0.023795675486326218,
0.019197985529899597,
0.05092555284500122,
-0.06738598644733429,
0.019268179312348366,
0.0059796287678182125,
0.04264269396662712,
0.041379205882549286,
0.0050320131704211235,
0.012476935982704163,
0.006343758665025234,
0.0011549062328413129,
0.07868717610836029,
0.007260664366185665,
-0.015925202518701553,
0.002201231662184,
0.015828685835003853,
-0.02828807383775711,
-0.051767878234386444,
-0.016600817441940308,
0.02376057766377926,
-0.019935019314289093,
-0.00596208032220602,
0.02779671736061573,
-0.004874077159911394,
0.015100426971912384,
0.055347759276628494,
-0.026006778702139854,
0.009484928101301193,
0.06594701111316681,
-0.03149943798780441,
0.0016692946664988995,
-0.057944927364587784,
0.03171001747250557,
-0.022356703877449036,
-0.01133628748357296,
0.04025610536336899,
0.0028889107052236795,
-0.0354127399623394,
0.0233569648116827,
0.03667622432112694,
-0.0640166848897934,
0.04927600175142288,
-0.003060007933527231,
-0.01593397743999958,
-0.04281817749142647,
0.00004205454752082005,
0.030499177053570747,
-0.03871184214949608,
-0.0361497737467289,
-0.02723516896367073,
-0.01678507588803768,
0.01912779174745083,
-0.03081504814326763,
-0.02684910222887993,
0.04316914454102516,
0.014810877852141857,
0.010994093492627144,
0.002972265938296914,
-0.0029196206014603376,
-0.0015563266351819038,
-0.031657371670007706,
0.02323412522673607,
0.023058641701936722,
-0.004262075759470463,
0.017302755266427994,
-0.01632881723344326,
0.017925724387168884,
-0.03569351136684418,
-0.0015234233578667045,
-0.06531526893377304,
-0.008054730482399464,
-0.00416555954143405,
-0.030042918398976326,
0.02576109953224659,
-0.030376337468624115,
-0.02376057766377926,
-0.06057719141244888,
0.005510208196938038,
-0.0772131085395813,
-0.006510468665510416,
-0.01704830303788185,
-0.002568651922047138,
0.04085275158286095,
-0.045625925064086914,
-0.016609592363238335,
-0.007072018459439278,
-0.026041874662041664,
-0.00796698871999979,
-0.002566458424553275,
0.06131422519683838,
0.03035878948867321,
0.020092956721782684,
0.0076949880458414555,
0.014986362308263779,
-0.05675163120031357,
0.016644688323140144,
-0.08191608637571335,
-0.014863522723317146,
0.009563895873725414,
0.026041874662041664,
-0.07335244864225388,
-0.00816440861672163,
0.0018634242005646229,
0.015275911428034306,
-0.042397014796733856,
0.005238207522779703,
-0.014617844484746456,
0.015583008527755737,
-0.0956740602850914,
-0.004808270838111639,
-0.03046407923102379,
0.0076949880458414555,
0.025217099115252495,
-0.04513457044959068,
-0.03657093644142151,
-0.009046217426657677,
0.012775259092450142,
0.021795153617858887,
-0.061981067061424255,
0.060015641152858734,
-0.01576726697385311,
0.05418956279754639,
-0.006190209649503231,
-0.0157321710139513,
0.007045696023851633,
-0.05559343472123146,
-0.03256989270448685,
0.032376859337091446,
0.01071331836283207,
0.028603946790099144,
0.042046044021844864,
-0.03958926349878311,
0.020128052681684494,
-0.029358528554439545,
-0.004966206382960081,
-0.015477717854082584,
0.03590409457683563,
-0.02312883548438549,
0.04074745997786522,
0.0017789724515751004,
-0.008721571415662766,
0.028007298707962036,
0.055839113891124725,
0.009186604991555214,
-0.019391018897294998,
0.05984015762805939,
0.05492659658193588,
-0.011739902198314667,
-0.02116340957581997,
0.0005015013157390058,
0.024585355073213577,
0.021461734548211098,
-0.01767127215862274,
0.002331748139113188,
-0.0681932121515274,
0.021479282528162003,
0.0177063699811697,
-0.04183546453714371,
0.06356042623519897,
0.021373990923166275,
0.02181270159780979,
-0.03797480836510658,
0.011818869970738888,
-0.0060585965402424335,
-0.00004805254502571188,
0.03337711840867996,
-0.024322127923369408,
-0.08802293986082077,
0.026656070724129677,
-0.039940234273672104,
0.013170098885893822,
-0.02795465476810932,
0.013450874015688896,
0.008524151518940926,
0.0030095563270151615,
0.0018107789801433682,
0.03864165022969246,
0.03706229105591774,
0.00865576509386301,
-0.008945314213633537,
0.028639042750000954,
0.056856922805309296,
-0.04015081375837326,
-0.033201634883880615,
0.01373164914548397,
0.02727026492357254,
-0.023567546159029007,
0.04531005397439003,
0.04057197645306587,
0.005264529958367348,
-0.016749979928135872,
0.016048042103648186,
0.07075528055429459,
-0.05401407554745674,
-0.10402711480855942,
-0.07114134728908539,
0.005786595866084099,
0.003546976950019598,
0.04580141231417656,
0.06612249463796616,
0.00032135567744262516,
-0.014433586038649082
]
|
43,928 | jsons.classes.json_serializable | dumpb |
See ``jsons.dumpb``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
| def dumpb(self, **kwargs) -> bytes:
"""
See ``jsons.dumpb``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
"""
return dumpb(self, fork_inst=self.__class__, **kwargs)
| (self, **kwargs) -> bytes | [
-0.028421977534890175,
-0.0765681192278862,
0.023490935564041138,
0.00095453328685835,
-0.01297822780907154,
-0.03612672910094261,
-0.05280324071645737,
-0.004811190068721771,
-0.0023114257492125034,
-0.07156859338283539,
0.006262251641601324,
0.025477049872279167,
-0.022086957469582558,
0.01974128931760788,
-0.017053186893463135,
0.01485305093228817,
-0.01146296039223671,
-0.05667273700237274,
0.04770098254084587,
0.04369451105594635,
-0.017130233347415924,
0.04013320058584213,
0.04773522540926933,
0.07622569054365158,
0.0035848503466695547,
0.015375262126326561,
0.0003576824383344501,
0.007700472604483366,
-0.017618201673030853,
0.06684301048517227,
-0.011094843968749046,
-0.07711601257324219,
0.02450111322104931,
0.014990024268627167,
0.032000407576560974,
0.021042535081505775,
-0.020391913130879402,
0.05437843129038811,
-0.1341654360294342,
-0.0629735141992569,
0.015323896892368793,
0.050782881677150726,
-0.0523238331079483,
-0.007850287482142448,
0.05643303319811821,
-0.005581665318459272,
0.06198045611381531,
0.0502692312002182,
-0.0015891052316874266,
-0.018200337886810303,
0.03431183099746704,
0.024398384615778923,
-0.018080485984683037,
0.005573104601353407,
-0.016077250242233276,
0.0332331657409668,
0.02193286269903183,
-0.013192248530685902,
-0.027651501819491386,
0.033592723309993744,
-0.04852282255887985,
0.03609248623251915,
0.08348527550697327,
-0.051365017890930176,
-0.010427098721265793,
-0.012490260414779186,
-0.10382582247257233,
0.013500439003109932,
-0.024210045114159584,
0.028678802773356438,
0.046194273978471756,
-0.03746221959590912,
-0.01998099312186241,
0.05996009707450867,
-0.007015605457127094,
0.04571486636996269,
-0.04924193024635315,
-0.0020374790765345097,
-0.053522348403930664,
0.008256927132606506,
0.019998114556074142,
-0.05639879032969475,
-0.033181801438331604,
-0.02390185557305813,
-0.010418538004159927,
-0.04961860924959183,
-0.00007992343307705596,
0.027086487039923668,
-0.017310012131929398,
-0.021813010796904564,
-0.0305450651794672,
0.057152144610881805,
-0.04800917208194733,
0.0885532945394516,
-0.024775059893727303,
-0.06437748670578003,
-0.022223930805921555,
-0.001262723351828754,
0.008316852152347565,
0.06513084471225739,
-0.002827216172590852,
-0.021247996017336845,
-0.06177499517798424,
-0.03247981518507004,
-0.015366701409220695,
0.009922009892761707,
-0.0058128079399466515,
-0.019655680283904076,
-0.04540667682886124,
0.01854277215898037,
0.018508529290556908,
0.05451540648937225,
0.009707988239824772,
-0.013235053047537804,
0.021967105567455292,
0.019056422635912895,
0.032993461936712265,
-0.006998484022915363,
0.05807671323418617,
-0.02290879748761654,
-0.000858758925460279,
0.011685541830956936,
0.04253023490309715,
0.03008277900516987,
0.014330840669572353,
0.043180860579013824,
-0.005645871628075838,
0.0009368765167891979,
0.01235328707844019,
-0.04163990914821625,
0.0730753019452095,
-0.0030819012317806482,
-0.03753070533275604,
0.017395619302988052,
0.06742514669895172,
0.0006982432096265256,
0.033421505242586136,
-0.011557129211723804,
0.0013857854064553976,
0.054960571229457855,
0.024415506049990654,
-0.02015220932662487,
0.04246174916625023,
0.005217829719185829,
-0.0075891814194619656,
-0.03164085000753403,
0.015717696398496628,
-0.012079340405762196,
-0.02075146697461605,
-0.0024184363428503275,
0.09512801468372345,
-0.0040257335640490055,
-0.007045568432658911,
-0.005307718645781279,
-0.02412443794310093,
0.0008384269312955439,
-0.02034054696559906,
-0.011026357300579548,
0.008179878816008568,
-0.012789889238774776,
-0.011942367069423199,
-0.017310012131929398,
0.0329592190682888,
-0.06317897140979767,
0.017310012131929398,
0.03931136056780815,
0.0007330216467380524,
-0.0036490564234554768,
-0.0035698688589036465,
0.03136690333485603,
-0.014339401386678219,
0.0054061682894825935,
-0.06550752371549606,
0.05883006751537323,
0.021470578387379646,
0.026401620358228683,
0.028986992314457893,
0.045612137764692307,
-0.04013320058584213,
0.024415506049990654,
0.031041592359542847,
-0.03170933946967125,
0.012430334463715553,
0.020272061228752136,
0.065028116106987,
-0.07033583521842957,
0.013200810179114342,
0.026230402290821075,
0.08136218786239624,
0.02534007653594017,
0.004074958153069019,
0.02575099654495716,
0.04742703214287758,
-0.019056422635912895,
-0.01588035188615322,
-0.0350651852786541,
-0.017601080238819122,
-0.0754038468003273,
0.03533913195133209,
0.022669095546007156,
-0.030562186613678932,
-0.03307907283306122,
0.0004898403421975672,
-0.037804652005434036,
0.030476577579975128,
-0.0021872937213629484,
-0.018508529290556908,
-0.039585307240486145,
0.04609154164791107,
-0.05865885317325592,
-0.004267577081918716,
-0.017840784043073654,
-0.0415029339492321,
-0.00875773560255766,
0.035784296691417694,
-0.07608871161937714,
0.02470657415688038,
-0.010838018730282784,
-0.0023670713417232037,
-0.004164847079664469,
0.05807671323418617,
0.01713879406452179,
-0.03426046669483185,
-0.011034918017685413,
-0.09232006222009659,
-0.005431850906461477,
0.02410731464624405,
-0.030065657570958138,
-0.006300775799900293,
-0.043762996792793274,
0.001722868299111724,
-0.023456692695617676,
-0.012378969229757786,
0.0007688701152801514,
-0.024192923679947853,
0.01814897358417511,
-0.020648738369345665,
-0.04307812824845314,
-0.008265487849712372,
-0.06167226657271385,
0.02210407890379429,
-0.009545332752168179,
0.04071533679962158,
-0.03386666998267174,
0.04283842444419861,
-0.01184819731861353,
0.03955106437206268,
0.021864376962184906,
-0.0009026331827044487,
-0.002349949674680829,
0.012336165644228458,
-0.023970341309905052,
-0.009836400859057903,
0.003929424099624157,
0.016102934256196022,
-0.036400675773620605,
0.04800917208194733,
0.004359606187790632,
0.011968049220740795,
0.07040432095527649,
-0.005389046389609575,
-0.017070308327674866,
-0.060507990419864655,
0.013055275194346905,
0.030664917081594467,
0.021093901246786118,
-0.012327604927122593,
-0.05687819793820381,
-0.045166973024606705,
0.06009707227349281,
-0.0007726154872216284,
-0.024672331288456917,
0.0010149942245334387,
0.006955679506063461,
-0.07588325440883636,
-0.07615719735622406,
-0.04167415201663971,
-0.052940212190151215,
-0.007212504744529724,
-0.08964908123016357,
0.002011796459555626,
-0.023165622726082802,
0.06461719423532486,
-0.0064291879534721375,
0.04746127873659134,
-0.05540573224425316,
0.015281093306839466,
0.002317846519872546,
-0.002454819856211543,
-0.046536706387996674,
0.02852470614016056,
0.005307718645781279,
-0.023439569398760796,
-0.01723296381533146,
0.03355848044157028,
-0.028798654675483704,
0.007092652842402458,
0.00045907485764473677,
0.0029171050991863012,
0.004871116019785404,
-0.026863904669880867,
-0.0265214703977108,
0.13320662081241608,
0.06995915621519089,
-0.037975870072841644,
0.038592249155044556,
0.007238187361508608,
0.016599461436271667,
-0.055953625589609146,
0.017909269779920578,
-0.03948257863521576,
-0.0009850312490016222,
0.06828123331069946,
0.06814426183700562,
-0.06828123331069946,
-0.0016501012723892927,
0.012618673034012318,
0.020888440310955048,
0.007623424753546715,
0.027086487039923668,
-0.06352140754461288,
-0.029415033757686615,
0.016796361654996872,
0.008526593446731567,
0.06287078559398651,
-0.005286316387355328,
0.007901651784777641,
0.015383822843432426,
0.02890138328075409,
0.024860668927431107,
0.004721301142126322,
-0.0054446919821202755,
0.058316417038440704,
0.04167415201663971,
0.00331518379971385,
0.03164085000753403,
0.008060027845203876,
-0.0037539268378168344,
-0.04684489592909813,
-0.03629794716835022,
0.036400675773620605,
0.028815776109695435,
0.034996699541807175,
0.002559690037742257,
-0.051775939762592316,
0.00021161317999940366,
-0.006677452474832535,
0.012858375906944275,
0.0005553842638619244,
0.0051750256679952145,
-0.03883195295929909,
0.02432989701628685,
0.037393733859062195,
0.042804181575775146,
-0.01832018978893757,
-0.04174263775348663,
0.030990228056907654,
-0.005500337574630976,
-0.024278532713651657,
0.033626966178417206,
0.024775059893727303,
0.03167509660124779,
-0.024415506049990654,
0.0008186299819499254,
0.039208631962537766,
0.014014089480042458,
0.02412443794310093,
-0.0422220453619957,
0.048591308295726776,
-0.03088749758899212,
-0.008098551072180271,
-0.022463634610176086,
-0.01715591549873352,
-0.011317425407469273,
-0.011514324694871902,
0.030955985188484192,
-0.02609342895448208,
-0.015563600696623325,
-0.019689923152327538,
-0.023422447964549065,
-0.016710752621293068,
-0.054549649357795715,
0.006591843906790018,
-0.016676509752869606,
0.04215355962514877,
0.04592032730579376,
0.024295654147863388,
-0.027257703244686127,
0.017018942162394524,
0.007426525466144085,
-0.03835254907608032,
-0.008325413800776005,
-0.037975870072841644,
0.026846783235669136,
-0.07170556485652924,
-0.02953488565981388,
0.008629322983324528,
0.03585278242826462,
-0.002685962477698922,
-0.0043724472634494305,
-0.0020417594350874424,
-0.035407617688179016,
-0.03395227715373039,
-0.002769430633634329,
0.002670980989933014,
-0.03766768053174019,
0.008286889642477036,
-0.03530488908290863,
0.03965379297733307,
0.0199467483907938,
0.0051750256679952145,
-0.021795889362692833,
-0.07821179926395416,
0.016976138576865196,
0.031229931861162186,
-0.007477890700101852,
-0.04800917208194733,
-0.003625514218583703,
-0.011325987055897713,
-0.020888440310955048,
0.018645502626895905,
0.1049216091632843,
0.024090193212032318,
-0.006947118788957596,
0.048591308295726776,
-0.022600607946515083,
-0.01897081360220909,
0.0008539434638805687,
0.06057647988200188,
0.06040526181459427,
0.04687913879752159,
-0.018012000247836113,
-0.014185305684804916,
0.009939131326973438,
0.03547610715031624,
0.011865319684147835,
0.04711884260177612,
-0.052734751254320145,
0.049550119787454605,
0.07965002208948135,
0.029192451387643814,
-0.019655680283904076,
-0.02234378270804882,
-0.00379031035117805,
0.0031482474878430367,
-0.010358612053096294,
-0.03146963566541672,
-0.002936366945505142,
0.060953155159950256,
0.013414830900728703,
0.07828028500080109,
-0.017198720946907997,
0.043934211134910583,
-0.09464860707521439,
-0.04071533679962158,
-0.0657472237944603,
0.06043950468301773,
-0.06879488378763199,
-0.02311425842344761,
-0.01394560281187296,
0.02534007653594017,
-0.020049478858709335,
0.019998114556074142,
0.021607551723718643,
-0.011471521109342575,
-0.005847051274031401,
-0.032394204288721085,
0.059343717992305756,
0.005187866743654013,
0.02472369559109211,
0.04687913879752159,
0.09163518995046616,
-0.08088278025388718,
0.0025168859865516424,
0.031589485704898834,
0.06177499517798424,
0.010290125384926796,
-0.07396562397480011,
-0.06328170001506805,
-0.05756306275725365,
-0.051159556955099106,
-0.0009529280941933393,
0.014681834727525711,
0.017275767400860786,
0.03470563143491745,
0.007019885815680027,
0.026761174201965332,
0.010889383964240551,
0.09478557854890823,
0.015520796179771423,
-0.017686687409877777,
0.052940212190151215,
-0.06406930088996887,
0.005941220559179783,
-0.01719016022980213,
0.0021145266946405172,
-0.04773522540926933,
-0.017892148345708847,
-0.017053186893463135,
-0.03794162720441818,
-0.019621437415480614,
0.04972133785486221,
-0.011471521109342575,
-0.011899562552571297,
-0.03694856911897659,
-0.026658445596694946,
0.039790768176317215,
0.030801890417933464,
-0.0303224828094244,
0.03176070377230644,
-0.025408562272787094,
-0.020237816497683525,
-0.034791238605976105,
0.04831736162304878,
-0.07006188482046127,
0.030219752341508865,
0.0033258849289268255,
0.0024334178306162357,
-0.0015516516286879778,
-0.026863904669880867,
0.011574250645935535,
0.06677452474832535,
0.006257971283048391,
-0.03948257863521576,
-0.025562657043337822,
0.012404652312397957,
-0.005264914594590664,
0.002176592592149973,
-0.007644827011972666,
0.08314284682273865,
-0.0021412791684269905,
-0.011428716592490673,
0.024586722254753113,
-0.013149444945156574,
-0.030682038515806198,
0.059720393270254135,
-0.021093901246786118,
0.06461719423532486,
-0.0066218068823218346,
-0.06670603901147842,
0.046536706387996674,
0.006403505802154541,
0.021984228864312172,
-0.061158616095781326,
-0.0422220453619957,
0.011540007777512074,
0.028558950871229172,
0.026881026104092598,
0.014544861391186714,
-0.008809100836515427,
0.04112625867128372,
-0.05386478453874588,
0.051125314086675644,
0.011754028499126434,
-0.013449073769152164,
-0.018422920256853104,
-0.034996699541807175,
0.010880823247134686,
0.020409034565091133,
-0.008047185838222504,
0.007045568432658911,
0.07622569054365158,
0.020066600292921066,
-0.01655665785074234,
-0.0237477608025074,
0.060747694224119186,
0.015854669734835625,
0.03907165676355362,
-0.01715591549873352,
0.010161712765693665,
0.00278869247995317,
0.04770098254084587,
0.04492726922035217,
0.01685628667473793,
0.008509471081197262,
-0.010375733487308025,
-0.005645871628075838,
0.08725204318761826,
-0.0018930149963125587,
-0.0375649519264698,
-0.009040242992341518,
0.00947684608399868,
-0.04092079773545265,
-0.029483521357178688,
0.0020096562802791595,
0.009322751313447952,
-0.007991541177034378,
0.0003389556077308953,
0.009648062288761139,
-0.005414729006588459,
-0.010161712765693665,
0.04167415201663971,
-0.00888614822179079,
-0.021419212222099304,
0.06335019320249557,
-0.02455247938632965,
-0.012644355185329914,
-0.02470657415688038,
-0.0004291119403205812,
-0.006591843906790018,
0.014621908776462078,
0.04571486636996269,
0.0073195151053369045,
-0.007948736660182476,
0.040578365325927734,
0.06026829034090042,
-0.06143256276845932,
0.03335301950573921,
-0.004524401854723692,
0.02950064279139042,
-0.05061166360974312,
0.026042064651846886,
0.008826222270727158,
-0.0355103500187397,
-0.06958247721195221,
-0.037599194794893265,
-0.01197660993784666,
0.016590900719165802,
-0.048591308295726776,
-0.005033771973103285,
0.010923627763986588,
0.017275767400860786,
-0.0025682509876787663,
0.0133720263838768,
-0.03677735477685928,
-0.009879205375909805,
-0.01665082760155201,
0.03633219003677368,
0.022292418405413628,
-0.006172363180667162,
0.0032210147473961115,
0.008107111789286137,
0.026983756572008133,
-0.00772187439724803,
0.0026559995021671057,
-0.07040432095527649,
-0.02672693133354187,
0.032205868512392044,
-0.02494627796113491,
0.025391440838575363,
-0.012772767804563046,
-0.011308864690363407,
-0.06766485422849655,
-0.004948163405060768,
-0.05982312560081482,
-0.001697185798548162,
-0.024192923679947853,
-0.034637145698070526,
0.02015220932662487,
-0.07314378768205643,
-0.05523451790213585,
-0.025168858468532562,
-0.012832693755626678,
0.0016137176426127553,
-0.012087901122868061,
0.07677358388900757,
0.045577894896268845,
0.05461813509464264,
-0.0019775531254708767,
-0.017310012131929398,
-0.054960571229457855,
-0.0038266938645392656,
-0.08841631561517715,
-0.03235996142029762,
-0.015281093306839466,
0.02373063936829567,
-0.04650246351957321,
0.0012252697488293052,
-0.029192451387643814,
-0.01657377928495407,
-0.010290125384926796,
0.026881026104092598,
-0.052734751254320145,
-0.040612608194351196,
-0.09108729660511017,
0.0029834515880793333,
-0.04506424441933632,
0.016676509752869606,
0.032428447157144547,
-0.046331245452165604,
0.004772666376084089,
-0.013586047105491161,
0.005517459008842707,
0.014279475435614586,
-0.04708459973335266,
0.035407617688179016,
-0.03886619582772255,
0.08204706013202667,
0.008719212375581264,
-0.03015126660466194,
0.010007617995142937,
-0.05441267788410187,
-0.02554553560912609,
0.014322279021143913,
0.015169802121818066,
0.03275376185774803,
0.07026734203100204,
-0.037804652005434036,
0.02354229986667633,
-0.018422920256853104,
-0.014151062816381454,
-0.015435188077390194,
0.009827840141952038,
-0.0020428295247256756,
0.03708554431796074,
-0.00012607169628608972,
0.024586722254753113,
-0.007336637005209923,
0.025682508945465088,
0.017130233347415924,
-0.013012471608817577,
0.044379375874996185,
0.031247053295373917,
-0.012207753024995327,
-0.045543648302555084,
0.0007447927491739392,
-0.001940099522471428,
0.02015220932662487,
-0.0169504564255476,
0.011343108490109444,
-0.07684206962585449,
0.050371959805488586,
0.01455342210829258,
-0.016436805948615074,
0.05407024174928665,
0.0265214703977108,
0.00154630106408149,
-0.029055478051304817,
-0.010033300146460533,
-0.0011503624264150858,
0.03735949099063873,
0.01597452163696289,
-0.01246457826346159,
-0.06352140754461288,
0.03670886531472206,
-0.0073195151053369045,
-0.01404833234846592,
-0.06636360287666321,
-0.007918774150311947,
0.029980048537254333,
-0.00028759060660377145,
0.021847255527973175,
0.03869498148560524,
0.020785711705684662,
-0.003837394993752241,
0.012130705639719963,
0.03533913195133209,
0.0670827180147171,
-0.020614493638277054,
-0.039585307240486145,
0.0004788717778865248,
0.046365492045879364,
-0.043968457728624344,
0.04451635107398033,
0.04848857596516609,
0.009468285366892815,
-0.025459928438067436,
0.058110956102609634,
0.02931230328977108,
-0.05030347406864166,
-0.08471804112195969,
-0.034979578107595444,
-0.0035698688589036465,
0.005068015307188034,
0.03968803957104683,
0.0530429407954216,
0.001065824180841446,
0.006497675087302923
]
|
43,929 | jsons.classes.json_serializable | dumps |
See ``jsons.dumps``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
| def dumps(self, **kwargs) -> str:
"""
See ``jsons.dumps``.
:param kwargs: the keyword args are passed on to the serializer
function.
:return: this instance as a JSON string.
"""
return dumps(self, fork_inst=self.__class__, **kwargs)
| (self, **kwargs) -> str | [
-0.04261089488863945,
-0.08020053803920746,
0.05240930989384651,
-0.010966552421450615,
0.002179362578317523,
-0.007684431970119476,
-0.022438716143369675,
-0.016737503930926323,
0.033475007861852646,
-0.057883866131305695,
-0.011777275241911411,
0.030964381992816925,
-0.03155716881155968,
0.0034477515146136284,
0.0005453854682855308,
0.009528173133730888,
-0.0035196703393012285,
-0.07587668299674988,
0.03912391513586044,
0.01727798581123352,
0.0056009613908827305,
0.026867181062698364,
0.048224933445453644,
0.05286261811852455,
-0.0014351102290675044,
0.02557699754834175,
-0.006285281386226416,
-0.0033889086917042732,
-0.020032700151205063,
0.049166418612003326,
-0.036404069513082504,
-0.04839928075671196,
0.00304239010438323,
0.007680073380470276,
0.01999782957136631,
0.02955215610563755,
-0.05422253906726837,
0.05634959787130356,
-0.1090029925107956,
-0.03598563373088837,
0.005156371742486954,
0.05150269344449043,
-0.06429991126060486,
-0.020067568868398666,
0.05519889295101166,
-0.0030467486940324306,
0.050038162618875504,
0.045051779597997665,
0.015211950056254864,
-0.04003053158521652,
0.04104175418615341,
0.03363192081451416,
-0.018568167462944984,
0.005587885621935129,
-0.02487960271537304,
0.04149506241083145,
0.04400568827986717,
0.0057317232713103294,
-0.022700238972902298,
0.013599221594631672,
-0.048364412039518356,
0.041634541004896164,
0.07873600721359253,
-0.0008003708790056407,
-0.032463785260915756,
-0.02113109827041626,
-0.08647710084915161,
0.00829029455780983,
0.004260653629899025,
0.04376159980893135,
0.051537565886974335,
-0.05349027365446091,
-0.010617854073643684,
0.05927865952253342,
0.03954235464334488,
0.04815519228577614,
-0.052339568734169006,
0.0020747531671077013,
-0.04180888831615448,
0.0068519157357513905,
0.007170102559030056,
-0.04257602617144585,
-0.046063005924224854,
-0.024269381538033485,
-0.002722023753449321,
-0.044389255344867706,
-0.04407542571425438,
-0.016040107235312462,
-0.03678764030337334,
-0.020363962277770042,
-0.036996856331825256,
0.07057647407054901,
-0.0340852290391922,
0.08543100953102112,
-0.02283971942961216,
-0.051781654357910156,
-0.023659158498048782,
-0.04250628501176834,
0.016772374510765076,
0.04728344827890396,
0.016894418746232986,
0.014793512411415577,
-0.07238970696926117,
-0.03706659749150276,
-0.006154519505798817,
-0.028436321765184402,
-0.022403845563530922,
-0.002883296459913254,
-0.029290631413459778,
0.008495154790580273,
0.030633119866251945,
0.053246185183525085,
-0.026326699182391167,
-0.008320805616676807,
0.04557482898235321,
-0.0003402529691811651,
0.012073667719960213,
0.006525011267513037,
0.05310670658946037,
-0.051990870386362076,
-0.01956195756793022,
0.021113663911819458,
0.02137518674135208,
0.03474775701761246,
0.004227963276207447,
0.017905641347169876,
-0.013843310065567493,
0.0010918605839833617,
0.023711463436484337,
-0.047562405467033386,
0.05464097484946251,
-0.0021815418731421232,
-0.02634413354098797,
-0.010731181129813194,
0.08591918647289276,
0.023816073313355446,
0.009807131253182888,
0.008495154790580273,
-0.006368097383528948,
0.0864073634147644,
0.030092637985944748,
-0.004650759510695934,
-0.006171954330056906,
0.02261306531727314,
-0.0144884018227458,
-0.02976137399673462,
0.014627881348133087,
0.019126085564494133,
0.0003233629104215652,
-0.016641611233353615,
0.09261418879032135,
-0.014244313351809978,
0.015028883703052998,
-0.01323308888822794,
-0.008176968432962894,
-0.01570012792944908,
-0.027895839884877205,
-0.011576773598790169,
0.022072583436965942,
-0.01750463992357254,
-0.007335734087973833,
-0.02796557918190956,
0.01080092042684555,
-0.06081293150782585,
0.014950426295399666,
0.02500164695084095,
0.030772598460316658,
-0.01966656744480133,
0.0008455926435999572,
0.03650867938995361,
-0.00880026537925005,
0.013686396181583405,
-0.049271028488874435,
0.03420727327466011,
0.0011212819954380393,
0.029970593750476837,
0.023554550483822823,
0.08368752151727676,
-0.032673001289367676,
0.018550733104348183,
0.024042727425694466,
-0.07116926461458206,
-0.0005064293509349227,
0.013712548650801182,
0.07580694556236267,
-0.06841454654932022,
0.029168587177991867,
0.0036983781028538942,
0.057674650102853775,
0.024618078023195267,
0.015386299230158329,
0.015185797587037086,
0.027529707178473473,
-0.012919261120259762,
-0.0020377039909362793,
-0.029499851167201996,
-0.01716465875506401,
-0.08103741705417633,
0.017216963693499565,
0.008617199026048183,
-0.05181652307510376,
0.007605975028127432,
-0.01296284794807434,
-0.03818242996931076,
0.04132071137428284,
-0.007579822558909655,
0.004406671039760113,
-0.05600089952349663,
0.04250628501176834,
-0.05101451650261879,
0.0052043176256120205,
-0.019492218270897865,
-0.030371595174074173,
0.023449940606951714,
0.04034435749053955,
-0.05104938521981239,
0.028558366000652313,
-0.018916865810751915,
-0.009667651727795601,
-0.02170645073056221,
0.04058844596147537,
0.008024413138628006,
-0.04184376075863838,
0.0033583976328372955,
-0.10314486920833588,
-0.0066470555029809475,
0.03282991796731949,
-0.033352963626384735,
-0.00009405310993315652,
-0.024862166494131088,
-0.005544298328459263,
-0.03432931751012802,
0.025036515668034554,
0.025890827178955078,
-0.03570667654275894,
0.015926780179142952,
-0.039019305258989334,
-0.05920891836285591,
0.02555956318974495,
-0.05781412869691849,
0.017469769343733788,
-0.02524573542177677,
0.004846902098506689,
-0.042436547577381134,
0.06789150089025497,
0.005927865859121084,
0.03354474902153015,
0.03738042712211609,
0.014619163237512112,
-0.007170102559030056,
0.07176204770803452,
-0.011986494064331055,
-0.026623092591762543,
0.010086089372634888,
-0.0032581468112766743,
-0.06949551403522491,
0.032777611166238785,
0.057883866131305695,
0.011262944899499416,
0.04602813720703125,
-0.012465953826904297,
-0.007928520441055298,
-0.03999565914273262,
0.014645315706729889,
0.0027699696365743876,
-0.012657737359404564,
-0.012736194767057896,
-0.031295645982027054,
-0.07664381712675095,
0.04815519228577614,
0.03567180410027504,
-0.05261852964758873,
-0.0007355348207056522,
-0.0026435668114572763,
-0.062312331050634384,
-0.0670894980430603,
-0.05952274799346924,
-0.07545824348926544,
-0.019248129799962044,
-0.06942576915025711,
0.004742292687296867,
-0.015203232876956463,
0.05805821716785431,
-0.016545720398426056,
0.041878629475831985,
-0.07109951972961426,
0.0289768036454916,
0.018812257796525955,
-0.001831754227168858,
-0.0059714531525969505,
0.034050360321998596,
0.0016748401103541255,
-0.039019305258989334,
-0.01169881783425808,
0.023676594719290733,
-0.03877521678805351,
0.000767680408898741,
0.00034297717502340674,
0.013529482297599316,
-0.0039599016308784485,
-0.0187599528580904,
-0.03898443654179573,
0.06656644493341446,
0.04159967228770256,
-0.025071386247873306,
0.010835790075361729,
-0.01095783431082964,
0.02702409401535988,
-0.02930806763470173,
0.011018856428563595,
-0.056175246834754944,
0.0021085331682115793,
0.023885812610387802,
0.05750029906630516,
-0.06733358651399612,
0.05272313579916954,
-0.010016350075602531,
0.01334641594439745,
0.023798638954758644,
0.0374850332736969,
-0.04215758666396141,
-0.011838297359645367,
0.005230470094829798,
-0.006633979268372059,
0.049375634640455246,
-0.01499401405453682,
-0.03452110290527344,
0.02705896459519863,
0.05031711980700493,
0.039612092077732086,
-0.008434132672846317,
-0.055721938610076904,
0.05247904732823372,
0.038670606911182404,
-0.014593010768294334,
0.014959144406020641,
0.035392846912145615,
-0.011515751481056213,
-0.048922330141067505,
-0.01209982018917799,
0.047213707119226456,
0.016754938289523125,
0.001406778465025127,
-0.011663948185741901,
-0.051432956010103226,
0.03678764030337334,
0.05310670658946037,
0.018324078992009163,
0.008909233845770359,
-0.01295413076877594,
-0.051642172038555145,
0.035288237035274506,
0.05146782472729683,
0.032202258706092834,
-0.027459967881441116,
-0.042680636048316956,
0.033475007861852646,
0.013764853589236736,
-0.03513132408261299,
-0.014566859230399132,
0.017182093113660812,
0.001500491052865982,
-0.00017067132284864783,
0.006206824444234371,
0.027198443189263344,
0.01624932698905468,
0.05889509245753288,
-0.049166418612003326,
0.07252918183803558,
-0.05519889295101166,
-0.02271767519414425,
-0.015211950056254864,
-0.015717562288045883,
-0.006708077620714903,
-0.04079766571521759,
0.06688027828931808,
-0.0033758324570953846,
0.0002963932929560542,
-0.04944537580013275,
-0.05467584729194641,
-0.020730096846818924,
-0.05708186328411102,
0.007793400436639786,
0.002429989166557789,
0.0477018877863884,
0.045749176293611526,
0.011454729363322258,
-0.021340318024158478,
0.028453756123781204,
0.025629302486777306,
-0.07169231027364731,
-0.011062444187700748,
-0.03968183323740959,
0.02603030577301979,
-0.05840691551566124,
-0.03874034807085991,
0.008935386314988136,
0.02010243944823742,
-0.012274169363081455,
0.03394575044512749,
-0.005077914800494909,
-0.06042936444282532,
0.03567180410027504,
-0.005252263508737087,
0.006416043266654015,
-0.010269155725836754,
0.019178390502929688,
-0.04724857956171036,
0.05408306047320366,
-0.012936695478856564,
-0.01635393686592579,
-0.0500032939016819,
-0.08598892390727997,
-0.02681487612426281,
0.03622972220182419,
-0.009667651727795601,
-0.03167921304702759,
0.02796557918190956,
0.0032951959874480963,
-0.007558029145002365,
-0.006790893618017435,
0.09728673845529556,
0.024461165070533752,
0.01581345498561859,
0.029587024822831154,
-0.0261349156498909,
-0.03467801585793495,
0.004400132689625025,
0.06321894377470016,
0.03894956782460213,
0.027529707178473473,
0.019806046038866043,
-0.0004911738215014338,
-0.019806046038866043,
0.040414098650217056,
0.01386946253478527,
0.05708186328411102,
-0.06625261902809143,
-0.01853329874575138,
0.06677566468715668,
0.012317757122218609,
-0.014104833826422691,
-0.05132834613323212,
0.0030990533996373415,
0.017339007928967476,
0.0034869799856096506,
-0.032080214470624924,
0.009554325602948666,
0.03842651844024658,
0.008351316675543785,
0.07245944440364838,
0.006259128917008638,
-0.0013708190526813269,
-0.05739568918943405,
-0.04159967228770256,
-0.07971236109733582,
0.06161493435502052,
-0.05655881389975548,
-0.009972762316465378,
-0.007762889377772808,
0.01771385781466961,
0.0024539621081203222,
0.018463559448719025,
0.04735318943858147,
-0.02362428978085518,
0.007157026324421167,
-0.013913050293922424,
0.0409022755920887,
-0.042087849229574203,
0.014287900179624557,
0.06440451741218567,
0.09261418879032135,
-0.0954037755727768,
-0.012980283237993717,
-0.012413648888468742,
0.05847665295004845,
0.0055007110349833965,
-0.07141335308551788,
-0.04599326476454735,
-0.04376159980893135,
-0.05673316493630409,
-0.028087623417377472,
0.028227102011442184,
0.025995435193181038,
0.022595630958676338,
0.013852028176188469,
0.03933313488960266,
-0.005561733152717352,
0.06893759220838547,
0.027355358004570007,
-0.003334424691274762,
0.045191261917352676,
-0.045749176293611526,
0.018114861100912094,
-0.0221597570925951,
0.024862166494131088,
-0.06485782563686371,
-0.020381398499011993,
-0.024931907653808594,
-0.02296176366508007,
0.009196910075843334,
0.041076622903347015,
0.008020053617656231,
0.007972108200192451,
-0.030877208337187767,
-0.030406465753912926,
0.04616761580109596,
0.05694238469004631,
-0.030772598460316658,
0.002429989166557789,
0.014497119002044201,
-0.023798638954758644,
-0.009903023019433022,
0.025873390957713127,
-0.04348263889551163,
0.01568269170820713,
-0.010295308195054531,
0.017182093113660812,
-0.007780324202030897,
-0.016388805583119392,
-0.016528284177184105,
0.052792876958847046,
0.004112456925213337,
-0.01681596040725708,
-0.03668303042650223,
0.032446347177028656,
0.001978861168026924,
0.030650554224848747,
-0.024426294490695,
0.10558575391769409,
-0.007880575023591518,
-0.020398832857608795,
-0.03915878385305405,
0.011175771243870258,
-0.019160954281687737,
0.06918168067932129,
-0.0443543866276741,
0.07211074233055115,
0.05526863411068916,
-0.03898443654179573,
0.04132071137428284,
-0.009353823959827423,
0.02761688083410263,
-0.0522349588572979,
-0.04023974761366844,
-0.029046542942523956,
0.03490466997027397,
0.04327342286705971,
0.028994238004088402,
-0.0009017112315632403,
0.04295959323644638,
-0.05157243460416794,
0.03671789914369583,
0.003238532692193985,
-0.004428464453667402,
0.0036112037487328053,
-0.030493639409542084,
0.0065162936225533485,
0.014863251708447933,
0.0119341891258955,
-0.004040537867695093,
0.09742622077465057,
0.052200090140104294,
-0.010739898309111595,
-0.024827297776937485,
0.03814756125211716,
0.021845929324626923,
0.040170010179281235,
-0.04309907183051109,
0.006019399035722017,
0.003327886573970318,
0.03513132408261299,
0.03807782009243965,
0.019806046038866043,
-0.008085435256361961,
-0.014854534529149532,
0.030162377282977104,
0.07008829712867737,
0.013137197121977806,
-0.014662750996649265,
-0.02090444415807724,
0.019056346267461777,
-0.041425321251153946,
-0.042331937700510025,
0.009092300198972225,
0.03363192081451416,
-0.03731068596243858,
0.00585376750677824,
0.010408635251224041,
-0.007004471030086279,
0.004633324686437845,
0.046620924025774,
-0.007274711970239878,
0.010365048423409462,
0.07741095870733261,
-0.0341375358402729,
-0.0017216963460668921,
-0.04986381530761719,
0.025611868128180504,
-0.010460940189659595,
-0.005474558565765619,
0.04247141629457474,
-0.004103739745914936,
-0.018463559448719025,
0.050979647785425186,
0.044145166873931885,
-0.0693560317158699,
0.04843415319919586,
-0.031068991869688034,
0.016066260635852814,
-0.037101466208696365,
0.02691948600113392,
0.014000224880874157,
-0.03079003281891346,
-0.03338783234357834,
-0.010652723722159863,
-0.026518482714891434,
-0.0024539621081203222,
-0.012875673361122608,
-0.027913274243474007,
0.04348263889551163,
0.024705253541469574,
0.004265012219548225,
0.0021335959900170565,
-0.018114861100912094,
-0.011507034301757812,
-0.025036515668034554,
0.01956195756793022,
0.014584293588995934,
-0.025315474718809128,
0.010243003256618977,
-0.01551706064492464,
0.03762451559305191,
-0.040832534432411194,
-0.00522611103951931,
-0.056872643530368805,
-0.019596828147768974,
0.0013217834057286382,
-0.029482414945960045,
-0.0047597275115549564,
-0.020503442734479904,
-0.026501048356294632,
-0.07448188960552216,
-0.0056489077396690845,
-0.07985184341669083,
0.00610657362267375,
0.004541791509836912,
-0.024147335439920425,
0.02759944647550583,
-0.05275800824165344,
-0.03079003281891346,
-0.013607939705252647,
-0.001517925993539393,
-0.013843310065567493,
-0.007379321381449699,
0.041076622903347015,
0.007030623499304056,
0.04341290146112442,
0.011803426779806614,
0.01204751618206501,
-0.04139045253396034,
-0.0032472501043230295,
-0.06192876398563385,
-0.0198757853358984,
0.017452334985136986,
0.008203119970858097,
-0.06834480911493301,
-0.011018856428563595,
0.014575576409697533,
0.010582984425127506,
-0.016179587692022324,
0.009502020664513111,
-0.0067952522076666355,
-0.010739898309111595,
-0.08159533143043518,
0.013337698765099049,
-0.02395555190742016,
0.025158559903502464,
0.010243003256618977,
-0.05188626050949097,
-0.02533290907740593,
-0.007292146794497967,
-0.01562167052179575,
0.021410057321190834,
-0.040170010179281235,
0.05509428307414055,
-0.022926893085241318,
0.06332355737686157,
0.00788929220288992,
-0.012692607007920742,
0.007985183969140053,
-0.061196498572826385,
-0.05872074142098427,
0.027913274243474007,
0.03762451559305191,
0.007135232910513878,
0.047562405467033386,
-0.034277014434337616,
0.030720293521881104,
-0.031522300094366074,
0.022090017795562744,
-0.005487634800374508,
0.026605656370520592,
-0.024164771661162376,
0.055408112704753876,
0.006124008446931839,
0.02693692035973072,
-0.00020063755800947547,
0.06342816352844238,
-0.008390545845031738,
-0.02249102108180523,
0.05621011555194855,
0.06116162985563278,
-0.007200613617897034,
-0.02829684317111969,
-0.01017326395958662,
0.044389255344867706,
0.02339763566851616,
-0.007200613617897034,
0.009859436191618443,
-0.058127954602241516,
0.03668303042650223,
0.014505837112665176,
-0.046655792742967606,
0.03356218338012695,
0.02195053920149803,
0.010391199961304665,
-0.029848549515008926,
0.011576773598790169,
-0.004650759510695934,
-0.012012645602226257,
0.03157460317015648,
-0.044145166873931885,
-0.061649806797504425,
0.04602813720703125,
-0.035741545259952545,
0.02055574767291546,
-0.04979407414793968,
-0.016048826277256012,
0.03839164972305298,
-0.0122131472453475,
0.016449827700853348,
0.027704056352376938,
0.02294432744383812,
0.030266985297203064,
-0.0026392079889774323,
0.03431188315153122,
0.06656644493341446,
-0.03661328926682472,
-0.04421490430831909,
0.01170753501355648,
0.035636935383081436,
-0.038356781005859375,
0.02113109827041626,
0.048573631793260574,
-0.005400460213422775,
-0.03011007234454155,
0.04979407414793968,
0.03727581724524498,
-0.04365698993206024,
-0.0919865295290947,
-0.04871311038732529,
0.001465621287934482,
-0.008251066319644451,
0.047667015343904495,
0.07789913564920425,
0.0015440783463418484,
-0.019160954281687737
]
|
43,930 | jsons.exceptions | JsonsError |
Base class for all `jsons` errors.
| class JsonsError(Exception):
"""
Base class for all `jsons` errors.
"""
def __init__(self, message: str):
"""
Constructor.
:param message: the message describing the problem.
"""
Exception.__init__(self, message)
self._message = message
@property
def message(self):
return self._message
| (message: str) | [
-0.03595910593867302,
-0.05138041079044342,
-0.002643523970618844,
0.02010693959891796,
0.004539769608527422,
-0.04369668662548065,
-0.026713503524661064,
0.05026734620332718,
0.09084028005599976,
-0.041326940059661865,
0.05687391385436058,
0.025726109743118286,
0.025241389870643616,
0.00291056907735765,
-0.028634434565901756,
0.05375015735626221,
0.01867072843015194,
0.01859891787171364,
0.036569494754076004,
-0.025097768753767014,
-0.0324583426117897,
-0.010322758927941322,
0.0016381769673898816,
0.053283385932445526,
-0.014469814486801624,
0.07102058082818985,
0.04380440339446068,
0.0240924209356308,
0.0744674801826477,
-0.05694572255015373,
-0.08904501795768738,
-0.05532998591661453,
0.0064270393922924995,
0.05432463809847832,
-0.052242133766412735,
-0.011265271343290806,
-0.016929324716329575,
0.017207590863108635,
-0.1553979068994522,
0.010457403026521206,
-0.09270735085010529,
0.07935059815645218,
-0.07532920688390732,
-0.02820357121527195,
0.1063513457775116,
-0.01841939240694046,
-0.031237564980983734,
0.07116419821977615,
-0.058058787137269974,
0.004640753380954266,
-0.03913671895861626,
0.013482420705258846,
-0.020501896739006042,
-0.007490732241421938,
-0.010995982214808464,
0.059746332466602325,
0.03603091463446617,
0.06265465915203094,
-0.0678609162569046,
0.0027332869358360767,
-0.03326621279120445,
0.03603091463446617,
0.023805178701877594,
-0.014541625045239925,
-0.022997310385107994,
-0.03852633014321327,
-0.023069120943546295,
-0.028239477425813675,
0.010556142777204514,
0.011381963267922401,
0.06541936099529266,
0.0565507635474205,
-0.015861142426729202,
0.04549194872379303,
0.05996176227927208,
-0.023069120943546295,
-0.07511378079652786,
0.022763926535844803,
-0.005242166109383106,
0.021112285554409027,
0.01664208248257637,
-0.011444797739386559,
-0.03482808917760849,
0.0014855796471238136,
0.03791594132781029,
-0.029514113441109657,
-0.03037584014236927,
-0.0486157052218914,
-0.0486157052218914,
0.03992663696408272,
-0.08674708008766174,
0.0006833217339590192,
-0.06796863675117493,
0.004730516579002142,
-0.024918241426348686,
0.0370183102786541,
0.022189443930983543,
-0.07091286778450012,
0.006804044358432293,
0.01486477255821228,
0.025887683033943176,
0.07130782306194305,
0.00981110893189907,
-0.027018699795007706,
0.006377669516950846,
0.011372987180948257,
0.02174062840640545,
-0.03337392956018448,
0.05041096732020378,
0.0068444376811385155,
0.011346057988703251,
0.020160796120762825,
-0.03136323392391205,
0.023392269387841225,
0.036318156868219376,
-0.026139020919799805,
0.01215392630547285,
-0.023158885538578033,
0.004494888242334127,
0.010663858614861965,
0.0646294429898262,
-0.007221443112939596,
-0.030357886105775833,
0.06247512996196747,
0.0481848418712616,
0.00019495427841320634,
-0.007719628047198057,
-0.012791244313120842,
0.04857980087399483,
0.0017245738999918103,
-0.019245212897658348,
0.019191354513168335,
0.003965285606682301,
-0.05454007163643837,
0.008989776484668255,
0.04958514869213104,
-0.050087820738554,
0.0019231748301535845,
-0.014433909207582474,
0.0075221494771540165,
0.041829612106084824,
0.07820162922143936,
0.006575148552656174,
-0.04717949405312538,
-0.014559578150510788,
-0.011633300222456455,
-0.002064551692456007,
-0.02019670233130455,
-0.016103504225611687,
0.011615348048508167,
0.03601296246051788,
0.005125474184751511,
0.015205872245132923,
-0.0021733895409852266,
-0.02301526442170143,
-0.027916330844163895,
-0.02762908861041069,
-0.03942396119236946,
0.0039046956226229668,
0.015116109512746334,
-0.010241972282528877,
-0.06261875480413437,
0.020986616611480713,
-0.02333841100335121,
0.002517855493351817,
0.014119738712906837,
0.014415957033634186,
-0.05375015735626221,
-0.04315810650587082,
-0.004815791267901659,
-0.04064473882317543,
0.014981464482843876,
-0.04168599098920822,
0.005704446230083704,
0.019819697365164757,
0.024110373109579086,
0.0023787226527929306,
0.08531086891889572,
-0.020663470029830933,
-0.02552863024175167,
0.030573317781090736,
-0.024630999192595482,
0.0078587606549263,
0.02238692156970501,
0.01793467067182064,
0.012638647109270096,
-0.011507632210850716,
0.022979358211159706,
0.051021356135606766,
0.009676463901996613,
0.002773680491372943,
-0.001601149677298963,
0.0026255713310092688,
0.015044298954308033,
0.021668817847967148,
0.00864418875426054,
0.022997310385107994,
-0.052960239350795746,
0.0515599362552166,
0.047215402126312256,
-0.10886470973491669,
0.06703509390354156,
-0.015654688701033592,
-0.011265271343290806,
-0.006494361907243729,
0.023607701063156128,
0.006821996998041868,
-0.0251157209277153,
-0.00366682349704206,
-0.03845452144742012,
-0.05752020701766014,
0.013249036855995655,
-0.010645905509591103,
0.06965617835521698,
0.0640549585223198,
-0.0627264678478241,
0.05173946171998978,
-0.021686770021915436,
0.040106162428855896,
0.022422827780246735,
0.06900988519191742,
-0.01883230172097683,
0.025510678067803383,
-0.010421497747302055,
-0.014469814486801624,
0.032835349440574646,
-0.012881007976830006,
-0.03475628048181534,
-0.031309377402067184,
-0.01931702345609665,
0.006808532401919365,
0.023553842678666115,
0.01962221786379814,
0.008657652884721756,
-0.01510713342577219,
-0.03367912396788597,
0.014218478463590145,
-0.06602974981069565,
0.0035748162772506475,
-0.06732233613729477,
-0.004833743907511234,
-0.050087820738554,
-0.05647895485162735,
0.05744839459657669,
0.06283418089151382,
-0.030681034550070763,
0.006947665475308895,
0.06513211876153946,
-0.058776888996362686,
0.025025958195328712,
0.06376771628856659,
0.009443080052733421,
-0.025636347010731697,
-0.02586973085999489,
0.00836592260748148,
-0.10405340790748596,
0.007284277118742466,
0.007993405684828758,
0.043517161160707474,
0.022009916603565216,
-0.007715140003710985,
-0.01261171791702509,
-0.022979358211159706,
0.04990829527378082,
-0.017135780304670334,
-0.0387776680290699,
0.00239443127065897,
0.04283495992422104,
0.01336572878062725,
0.06541936099529266,
0.09737503528594971,
0.007266324479132891,
0.024541236460208893,
0.002955450676381588,
-0.04581509530544281,
-0.010349688120186329,
-0.059674520045518875,
0.04750264436006546,
0.025726109743118286,
-0.01629200577735901,
-0.004245795775204897,
-0.026641692966222763,
0.030232219025492668,
0.039890728890895844,
0.0057358634658157825,
-0.015484138391911983,
0.0469999685883522,
-0.023535890504717827,
-0.04840027540922165,
0.012800220400094986,
0.05026734620332718,
-0.024541236460208893,
-0.029837260022759438,
0.015340517275035381,
0.0055428724735975266,
-0.016381768509745598,
-0.04082426801323891,
0.019891507923603058,
0.05188308283686638,
-0.049656957387924194,
0.036479730159044266,
0.01881434954702854,
0.029029393568634987,
0.009191743098199368,
-0.057161156088113785,
-0.06197245791554451,
-0.010457403026521206,
-0.0011332593858242035,
-0.04272724315524101,
-0.0072438837960362434,
0.010385592468082905,
0.02771885134279728,
-0.028867818415164948,
0.05572494491934776,
0.01611248031258583,
0.06093120574951172,
0.018033411353826523,
-0.0348101370036602,
0.013590136542916298,
0.07439567148685455,
-0.04380440339446068,
-0.022889595478773117,
0.03181204944849014,
-0.03348164260387421,
-0.013787615112960339,
0.010816455818712711,
-0.009254577569663525,
0.03823908790946007,
-0.0040842220187187195,
-0.0052601187489926815,
-0.007427898235619068,
-0.041721899062395096,
-0.010969053022563457,
-0.02068142220377922,
-0.02481052652001381,
-0.03183000162243843,
0.03558209910988808,
-0.04857980087399483,
0.0038598140235990286,
-0.03748507797718048,
0.030663082376122475,
-0.03884947672486305,
0.016740821301937103,
0.03141709044575691,
-0.03913671895861626,
-0.016830584034323692,
0.019891507923603058,
-0.04441479220986366,
0.00957772508263588,
-0.022853689268231392,
-0.03443313390016556,
0.08207939565181732,
-0.0034154867753386497,
0.009568748064339161,
-0.014415957033634186,
-0.04829255864024162,
-0.018060339614748955,
-0.050375062972307205,
0.002697381656616926,
-0.027198225259780884,
0.005587754305452108,
-0.01583421416580677,
-0.03132732957601547,
-0.021220002323389053,
-0.07310308516025543,
0.026121066883206367,
0.07116419821977615,
-0.07023066282272339,
0.03662335127592087,
-0.0073291584849357605,
-0.0036511148791760206,
-0.029029393568634987,
-0.03303282707929611,
0.01648050919175148,
-0.036802880465984344,
0.029316633939743042,
0.005143426824361086,
0.01947859674692154,
-0.05719706043601036,
0.002856711158528924,
0.02683917246758938,
-0.05687391385436058,
-0.026713503524661064,
-0.02520548366010189,
0.021866295486688614,
0.012737386859953403,
0.001147284870967269,
-0.027323894202709198,
0.004748469218611717,
0.046497296541929245,
-0.05665848031640053,
-0.06204426661133766,
-0.0009284872794523835,
0.03168638050556183,
-0.05647895485162735,
-0.0314350426197052,
0.011381963267922401,
-0.012898960150778294,
-0.005969247315078974,
0.0728517472743988,
-0.006709793116897345,
-0.021220002323389053,
0.056443050503730774,
0.023553842678666115,
0.025510678067803383,
0.003004820318892598,
0.013670923188328743,
-0.0028701757546514273,
-0.013338799588382244,
0.017665382474660873,
0.025438867509365082,
-0.03177614510059357,
-0.04983648285269737,
-0.051272694021463394,
-0.016830584034323692,
-0.004351267125457525,
-0.002798365196213126,
-0.010062445886433125,
-0.022351017221808434,
-0.012019281275570393,
-0.01938883401453495,
0.010995982214808464,
0.050698209553956985,
0.016704916954040527,
-0.024864384904503822,
-0.01779104955494404,
-0.02455918863415718,
0.025241389870643616,
0.0240924209356308,
0.03353550285100937,
0.039783015847206116,
0.002596398117020726,
-0.0007310084183700383,
-0.09407174587249756,
0.0031237564980983734,
-0.04175780341029167,
-0.05148812383413315,
-0.023320458829402924,
-0.02723412960767746,
0.04269133880734444,
0.02123795449733734,
0.043337635695934296,
0.021525196731090546,
0.05252937600016594,
0.04735902324318886,
-0.033571407198905945,
0.03443313390016556,
0.04484565556049347,
0.010870314203202724,
-0.02820357121527195,
-0.00820434931665659,
-0.017602548003196716,
0.03360731154680252,
-0.04154236987233162,
-0.00896733533591032,
-0.051200881600379944,
-0.01761152409017086,
0.0027871448546648026,
0.01604066975414753,
0.00529153598472476,
-0.009658511728048325,
0.02626468800008297,
-0.010134256444871426,
-0.029388444498181343,
-0.060572151094675064,
-0.013284941203892231,
0.03734145686030388,
0.01341958623379469,
-0.013231083750724792,
0.024613047018647194,
0.006045545917004347,
0.05324748158454895,
-0.03371502831578255,
-0.019676076248288155,
-0.030519461259245872,
0.018616870045661926,
0.03617453575134277,
-0.03935215249657631,
-0.015205872245132923,
-0.01530461199581623,
0.0016415430000051856,
-0.032512202858924866,
0.018015457317233086,
-0.011983375996351242,
0.04491746425628662,
-0.03603091463446617,
-0.02084299549460411,
-0.029424350708723068,
0.048759326338768005,
-0.016606176272034645,
0.011732039973139763,
0.016633106395602226,
-0.03328416496515274,
0.015941929072141647,
-0.004200913943350315,
0.0036780438385903835,
-0.07102058082818985,
0.001961324131116271,
-0.017557665705680847,
-0.025672251358628273,
0.04078835994005203,
-0.041973233222961426,
0.008603795431554317,
-0.029514113441109657,
0.029460255056619644,
-0.06121844798326492,
0.056586671620607376,
0.02956797182559967,
0.05543770268559456,
-0.0321711003780365,
0.015214848332107067,
0.07475472241640091,
-0.0063552288338541985,
0.030429696664214134,
0.005385787226259708,
-0.06035672128200531,
-0.023069120943546295,
0.030232219025492668,
0.023643605411052704,
0.0483284629881382,
0.01034071110188961,
-0.0043602436780929565,
0.04919018968939781,
-0.004501620307564735,
-0.024218089878559113,
-0.017431998625397682,
0.03416384384036064,
-0.020178750157356262,
0.01067283470183611,
0.07439567148685455,
-0.0038014680612832308,
0.012450144626200199,
0.014604459516704082,
0.02317683771252632,
-0.0019411274697631598,
0.033966366201639175,
-0.004052804782986641,
0.032925110310316086,
-0.02876010350883007,
0.0022452000994235277,
0.03610272705554962,
0.07884792238473892,
0.03556414693593979,
-0.004793350584805012,
-0.02990907058119774,
-0.041398752480745316,
-0.056838005781173706,
0.014281312003731728,
-0.0339304581284523,
-0.012656600214540958,
0.03077079728245735,
-0.006718769669532776,
-0.006781603675335646,
-0.007706163916736841,
-0.014415957033634186,
-0.013392657041549683,
0.0050491755828261375,
0.003958553541451693,
0.054181016981601715,
0.008289624005556107,
-0.0017660893499851227,
0.03391250595450401,
-0.009748274460434914,
-0.005901925265789032,
-0.007840808480978012,
0.03152480721473694,
-0.004860673099756241,
0.04635367542505264,
-0.06441401690244675,
0.006112868431955576,
-0.0019052221905440092,
0.060643963515758514,
0.013096438720822334,
0.020699376240372658,
0.015690593048930168,
0.0025874220300465822,
0.005973735824227333,
0.05292433500289917,
0.020645517855882645,
0.01874253898859024,
0.019191354513168335,
-0.014640364795923233,
-0.04678453877568245,
-0.024523284286260605,
0.0008168444037437439,
0.030986228957772255,
-0.03635406494140625,
-0.005322952754795551,
0.026946889236569405,
0.0045689428225159645,
-0.011058816686272621,
-0.05540179833769798,
0.011597394943237305,
-0.0389212891459465,
0.022889595478773117,
0.07590369135141373,
0.04244000464677811,
-0.08286931365728378,
-0.009115444496273994,
-0.018563013523817062,
-0.012881007976830006,
0.04563556984066963,
-0.001068181125447154,
-0.034127939492464066,
0.07141553610563278,
0.0057493275962769985,
-0.026372404769062996,
0.07619093358516693,
-0.019442692399024963,
0.034127939492464066,
0.025169579312205315,
-0.018688680604100227,
-0.026928935199975967,
-0.03691059350967407,
-0.05421692505478859,
-0.020232606679201126,
0.020573707297444344,
0.029460255056619644,
0.014487767592072487,
-0.009676463901996613,
0.053355198353528976,
0.01014323253184557,
-0.011247319169342518,
0.047538548707962036,
-0.025636347010731697,
0.04322991892695427,
0.0016168581787496805,
-0.007414433639496565,
-0.11367601156234741,
-0.08071500062942505,
-0.011758968234062195,
0.027988141402602196,
0.05996176227927208,
-0.08875777572393417,
-0.052816618233919144,
0.03726964816451073,
0.03208133950829506,
-0.005574289709329605,
0.04936971515417099,
0.04118331894278526,
0.011705110780894756,
-0.03852633014321327,
-0.0578792579472065,
0.053462915122509,
-0.061936553567647934,
0.05953089892864227,
-0.0054620858281850815,
-0.038346804678440094,
0.05454007163643837,
-0.0320274792611599,
0.02035827562212944,
0.05572494491934776,
-0.04017797112464905,
0.007418921682983637,
0.016516413539648056,
0.022279206663370132,
-0.0005935586523264647,
-0.03398431837558746,
0.03220700845122337,
0.011408892460167408,
-0.020663470029830933,
0.00014782864309381694,
-0.01756664179265499,
-0.011767945252358913,
0.019281117245554924,
-0.013967141509056091,
-0.013392657041549683,
-0.049800578504800797,
0.06337276101112366,
0.03141709044575691,
0.011606371030211449,
0.0078587606549263,
0.016740821301937103,
-0.033176448196172714,
-0.015466185286641121,
0.029065297916531563,
0.031219612807035446,
-0.014074857346713543,
0.0038396173622459173,
-0.02594154141843319,
-0.019747886806726456,
0.03788003697991371,
-0.05188308283686638,
0.017387116327881813,
-0.051667653024196625,
0.051272694021463394,
0.01971198059618473,
0.06164931133389473,
0.029962928965687752,
-0.026964841410517693,
-0.023140931501984596,
-0.006000664550811052,
-0.07321079820394516,
0.046425484120845795,
-0.026623740792274475,
-0.04437888786196709,
-0.01341958623379469,
-0.0275393258780241,
-0.0009885163744911551,
0.01858096569776535,
0.011884637176990509,
-0.008657652884721756,
-0.013284941203892231,
-0.042870864272117615,
0.02351793646812439,
-0.008567890152335167,
0.007481756154447794,
-0.010915195569396019,
0.04114741459488869,
-0.057735636830329895,
0.0314350426197052,
0.012575812637805939,
0.029460255056619644,
-0.06236741691827774,
-0.023553842678666115,
0.013464467599987984,
0.06811225414276123,
0.02035827562212944,
-0.028383098542690277,
0.011507632210850716,
-0.035276904702186584,
-0.02026851288974285,
-0.00269513763487339,
0.026964841410517693,
0.03520509600639343,
-0.027341846376657486,
-0.008738439530134201,
-0.06121844798326492,
0.00864418875426054,
0.02358974702656269,
0.015143037773668766,
0.04211685433983803,
-0.05500683933496475,
0.009658511728048325,
0.006997035350650549,
-0.03060922399163246,
0.0013094195164740086,
0.003586036618798971,
0.05217032507061958,
0.09177381545305252,
0.015457209199666977,
-0.009748274460434914,
-0.022728022187948227,
-0.0709487721323967,
-0.024110373109579086,
0.006189167033880949,
0.01382352039217949,
0.07026656717061996,
-0.06075168028473854,
0.008742927573621273,
0.013033605180680752,
-0.01376966293901205,
-0.023715415969491005,
0.020304417237639427,
-0.018455296754837036,
-0.0371619313955307,
-0.019945364445447922,
-0.010897242464125156,
0.01535846944898367,
-0.012692505493760109,
-0.06965617835521698,
-0.014855796471238136,
-0.01268352847546339,
-0.01580728590488434,
0.007203490473330021,
0.050626400858163834,
-0.029119156301021576,
0.019263165071606636
]
|
43,931 | jsons.exceptions | __init__ |
Constructor.
:param message: the message describing the problem.
| def __init__(self, message: str):
"""
Constructor.
:param message: the message describing the problem.
"""
Exception.__init__(self, message)
self._message = message
| (self, message: str) | [
-0.01611596904695034,
-0.010954175144433975,
-0.002614678582176566,
0.03646587207913399,
-0.00825616903603077,
-0.07224710285663605,
0.005625725258141756,
0.06983286142349243,
0.06922029703855515,
-0.052392665296792984,
0.03457411378622055,
0.049365852028131485,
0.008751628920435905,
0.018647320568561554,
-0.036970339715480804,
0.0646800771355629,
0.009071425534784794,
0.04273569583892822,
-0.0232596043497324,
-0.011809969320893288,
-0.04518597200512886,
0.010683923959732056,
-0.00003979868415626697,
0.05523930862545967,
0.0019413031404837966,
0.09865964204072952,
-0.0018163120839744806,
0.011692861095070839,
0.05030272156000137,
-0.06385130435228348,
-0.0419069267809391,
-0.03349310904741287,
-0.03693430498242378,
0.047600213438272476,
-0.008774150162935257,
0.009260601364076138,
-0.02918711118400097,
-0.01377379335463047,
-0.09354288876056671,
-0.007666120771318674,
-0.0249351616948843,
0.026646750047802925,
-0.05095132440328598,
-0.016719529405236244,
0.0627703070640564,
-0.02810610644519329,
-0.0008085009758360684,
0.034916430711746216,
-0.05923902243375778,
0.03223193809390068,
-0.056932881474494934,
0.039168380200862885,
0.03124101832509041,
-0.019728325307369232,
-0.034772299230098724,
0.10795627534389496,
0.04821278154850006,
0.05761751905083656,
-0.0385558120906353,
0.00615721894428134,
-0.029565460979938507,
0.057509418576955795,
0.0003828556218650192,
0.011449635028839111,
-0.03851977735757828,
-0.021656114608049393,
-0.0035132633056491613,
-0.006175235845148563,
0.007067064289003611,
0.027998005971312523,
0.11019034683704376,
0.03605148568749428,
-0.04378066584467888,
0.026772867888212204,
0.058878690004348755,
-0.0239802747964859,
-0.09311048686504364,
0.030538365244865417,
0.007706658449023962,
0.029925797134637833,
0.03318682685494423,
-0.0006255184998735785,
-0.05581584572792053,
0.005486095789819956,
0.06323873996734619,
-0.0702652633190155,
-0.039168380200862885,
-0.029979847371578217,
-0.03397956117987633,
0.033691294491291046,
-0.053906071931123734,
-0.015926793217658997,
-0.058302152901887894,
0.02080932818353176,
-0.0059500266797840595,
-0.008206622675061226,
0.03318682685494423,
-0.06431974470615387,
0.027079151943325996,
-0.001199238933622837,
0.019223855808377266,
0.04284379631280899,
0.019476089626550674,
-0.056680645793676376,
-0.0034119191113859415,
-0.01913377270102501,
0.009175022132694721,
-0.05451864004135132,
0.03758290782570839,
-0.021043546497821808,
0.016557378694415092,
0.008949813432991505,
-0.036159586161375046,
0.046339042484760284,
-0.023169521242380142,
-0.006044614594429731,
0.017665408551692963,
-0.01967427507042885,
0.0457264743745327,
0.01846715249121189,
0.0661214143037796,
0.008994854986667633,
-0.1013261154294014,
0.021313797682523727,
0.040141284465789795,
0.006724746432155371,
-0.016863664612174034,
-0.043059997260570526,
0.044825635850429535,
-0.011665835976600647,
-0.010143421590328217,
-0.02352985553443432,
-0.013323375023901463,
-0.021259747445583344,
-0.03196168690919876,
0.012206337414681911,
-0.0032317517325282097,
0.008364269509911537,
-0.01707986369729042,
0.016575396060943604,
0.02162008173763752,
0.052284564822912216,
0.039997149258852005,
0.0023354191798716784,
0.029151076450943947,
0.008621007204055786,
0.0019491855055093765,
-0.021241730079054832,
-0.0031484244391322136,
0.020430976524949074,
0.03252020478248596,
-0.015377283096313477,
-0.008765141479671001,
-0.007467936724424362,
0.013926936313509941,
-0.019494106993079185,
0.014224211685359478,
-0.032159872353076935,
0.012260387651622295,
0.012323446571826935,
0.0018467153422534466,
-0.04943792149424553,
0.02050304412841797,
0.001405305345542729,
0.011539718136191368,
0.021944383159279823,
0.0016474052099511027,
-0.0264485664665699,
-0.014935873448848724,
-0.006814830005168915,
-0.06904012709856033,
-0.026070214807987213,
-0.08784960210323334,
0.00277007301338017,
-0.005720313172787428,
0.04104212298989296,
-0.0031281556002795696,
0.07149040699005127,
-0.01706184819340706,
-0.013953961431980133,
0.03981698304414749,
-0.012917999178171158,
-0.017692433670163155,
0.00767963333055377,
0.018827488645911217,
0.031871601939201355,
0.016350187361240387,
0.05041082203388214,
0.029024960473179817,
0.001209373353049159,
-0.0033398522064089775,
-0.018647320568561554,
-0.017512265592813492,
0.040970053523778915,
0.02037692628800869,
0.011620793491601944,
-0.015170090831816196,
-0.053077299147844315,
0.04226725921034813,
0.050735123455524445,
-0.014260245487093925,
0.08345351368188858,
0.014467437751591206,
-0.044393233954906464,
0.03433989733457565,
0.005981556139886379,
-0.005580683704465628,
-0.0035402884241193533,
-0.029925797134637833,
-0.025565747171640396,
-0.02808808907866478,
-0.007945380173623562,
0.016179027035832405,
0.03097076714038849,
0.043852731585502625,
-0.036123551428318024,
0.034087661653757095,
-0.03016001358628273,
0.056680645793676376,
0.047311946749687195,
0.1140819638967514,
0.029367277398705482,
0.001529170316644013,
-0.02866462431848049,
0.008841712959110737,
0.009927220642566681,
-0.004247445147484541,
-0.0581580214202404,
-0.024592842906713486,
-0.0293132271617651,
-0.03178152069449425,
-0.017106888815760612,
-0.04432116821408272,
0.00908493809401989,
0.007314794231206179,
-0.02023279294371605,
0.010350613854825497,
-0.01762937568128109,
-0.04943792149424553,
-0.07322000712156296,
0.017872601747512817,
-0.029259176924824715,
-0.029655545949935913,
0.04705971106886864,
0.08345351368188858,
-0.043023962527513504,
-0.013080148957669735,
0.08914680033922195,
-0.04713177680969238,
0.013026099652051926,
0.010161438025534153,
0.001339994603767991,
-0.07516581565141678,
-0.04850104823708534,
-0.017422182485461235,
-0.06529264897108078,
0.009071425534784794,
0.0008118791156448424,
0.0069769807159900665,
0.042339324951171875,
0.007886826060712337,
-0.018350044265389442,
-0.012098236940801144,
0.032285988330841064,
0.014440412633121014,
-0.03459212929010391,
-0.047852449119091034,
0.0264485664665699,
0.050338756293058395,
0.0217461995780468,
0.13635064661502838,
0.02769172191619873,
0.025511696934700012,
0.05300523340702057,
-0.05646444484591484,
-0.01750325784087181,
-0.04504183679819107,
0.035745203495025635,
-0.016467295587062836,
0.05841025337576866,
0.02120569720864296,
0.007323802448809147,
0.03869994729757309,
0.039853017777204514,
-0.004571746569126844,
-0.005287911742925644,
0.012251379899680614,
-0.011746911332011223,
-0.06017589569091797,
0.013980986550450325,
-0.008301210589706898,
0.020575111731886864,
0.017296064645051956,
0.015602492727339268,
0.016593413427472115,
-0.006801317445933819,
-0.007661616429686546,
0.02286323718726635,
0.02273711934685707,
-0.01996254175901413,
0.056824781000614166,
0.022665051743388176,
0.011620793491601944,
0.03041224740445614,
-0.03125903382897377,
-0.050338756293058395,
-0.011368559673428535,
0.02646658383309841,
-0.0044839149340987206,
-0.023349687457084656,
0.05149182677268982,
0.04889741912484169,
0.01953013986349106,
0.07833676040172577,
0.04576250538229942,
0.06976079940795898,
0.04623094201087952,
-0.06399544328451157,
-0.007296777796000242,
0.05740131810307503,
-0.004042504820972681,
-0.029511410742998123,
0.02381812408566475,
-0.029006943106651306,
-0.028448423370718956,
0.03342104330658913,
0.006513049826025963,
0.009359694086015224,
-0.006837350782006979,
-0.003905127290636301,
0.003634876338765025,
-0.02452077530324459,
-0.018647320568561554,
-0.061617232859134674,
-0.041654691100120544,
-0.039708882570266724,
0.0044005876407027245,
-0.02987174689769745,
0.006886896677315235,
-0.04396083205938339,
0.019187822937965393,
-0.029565460979938507,
-0.023511838167905807,
0.03880804777145386,
0.008976837620139122,
-0.03561908379197121,
-0.01695374771952629,
-0.05617617815732956,
0.009224568493664265,
-0.01708887331187725,
0.00737334880977869,
0.012575680390000343,
-0.04093402251601219,
-0.006589620839804411,
0.013999002985656261,
-0.004254201427102089,
-0.03978095203638077,
-0.03543891757726669,
0.00894080474972725,
-0.026880968362092972,
0.02462887577712536,
-0.016296137124300003,
-0.032970625907182693,
-0.030880684033036232,
-0.06478817760944366,
0.017575325444340706,
0.010792024433612823,
0.001342246774584055,
-0.03405162692070007,
0.01733209937810898,
0.017260031774640083,
-0.05797785148024559,
-0.04709574580192566,
0.024718960747122765,
-0.02091742865741253,
-0.002230697078630328,
-0.024592842906713486,
0.016908705234527588,
-0.036844223737716675,
0.0071346270851790905,
0.04230329394340515,
-0.020719245076179504,
-0.016152001917362213,
-0.00859848689287901,
-0.03633975237607956,
0.011431618593633175,
0.03549296781420708,
0.023872174322605133,
0.054734840989112854,
0.053365569561719894,
-0.05992366001009941,
-0.05149182677268982,
0.026340465992689133,
-0.006702225189656019,
-0.006918426137417555,
-0.035330817103385925,
0.022791169583797455,
0.003601094940677285,
-0.03275442495942116,
0.029151076450943947,
-0.010918141342699528,
0.0293132271617651,
-0.02190835028886795,
0.029024960473179817,
0.029133060947060585,
0.0338534452021122,
-0.005553658585995436,
0.003733968362212181,
0.023655973374843597,
0.021800249814987183,
-0.0057022967375814915,
-0.02889884263277054,
-0.028592558577656746,
-0.07415688037872314,
-0.017512265592813492,
-0.013845860958099365,
0.0006142580532468855,
-0.03471824899315834,
0.021043546497821808,
-0.028322307392954826,
-0.035186681896448135,
-0.00922006368637085,
0.05732924863696098,
0.009350685402750969,
-0.022268684580922127,
-0.015809684991836548,
-0.03707844018936157,
0.008783157914876938,
0.05412227287888527,
-0.02025081031024456,
-0.06302253901958466,
0.03996111825108528,
-0.008679562248289585,
-0.03859184682369232,
0.0021192184649407864,
-0.047564178705215454,
-0.07848089933395386,
-0.02023279294371605,
-0.017809541895985603,
0.05934712290763855,
-0.014143136329948902,
-0.0498703233897686,
0.05945522338151932,
0.04024938493967056,
0.019349973648786545,
-0.05159992724657059,
-0.0008777527837082744,
0.030664483085274696,
0.004218168091028929,
-0.006260815542191267,
0.04230329394340515,
0.002423250814899802,
0.02450275979936123,
-0.03805134445428848,
-0.01581869274377823,
-0.05041082203388214,
-0.07012113183736801,
-0.0017712701810523868,
0.029673561453819275,
-0.00825616903603077,
-0.016206052154302597,
0.04623094201087952,
-0.026196332648396492,
-0.048681218177080154,
-0.039456650614738464,
0.039853017777204514,
0.04961808770895004,
-0.0004937711637467146,
0.01486380584537983,
-0.0023962256964296103,
0.004166369792073965,
0.027079151943325996,
-0.029799679294228554,
-0.04925775155425072,
-0.03815944492816925,
-0.004506435710936785,
0.0035357840824872255,
-0.021007513627409935,
0.033673278987407684,
0.009602919220924377,
0.029673561453819275,
-0.024448709562420845,
0.03924044966697693,
0.027601636946201324,
-0.007999430410563946,
-0.03880804777145386,
0.009566886350512505,
-0.0423753596842289,
0.05786975100636482,
0.023728039115667343,
-0.005733825732022524,
0.06096863001585007,
-0.008422823622822762,
0.010990208014845848,
0.023601923137903214,
0.01495388988405466,
-0.07675129175186157,
0.019223855808377266,
-0.0358533039689064,
-0.03924044966697693,
0.004583006724715233,
-0.04154659062623978,
-0.016971763223409653,
-0.04226725921034813,
0.02920512668788433,
-0.06568901240825653,
0.027979988604784012,
0.030754566192626953,
0.06817532330751419,
-0.06259013712406158,
0.008643528446555138,
0.053653836250305176,
-0.03428584709763527,
0.025727897882461548,
0.024592842906713486,
-0.023223571479320526,
-0.0724993422627449,
-0.024430692195892334,
-0.0009160383488051593,
0.05617617815732956,
0.043600499629974365,
0.029565460979938507,
0.05549154430627823,
-0.014323304407298565,
0.011008225381374359,
-0.049077585339546204,
0.029565460979938507,
-0.02149396389722824,
0.03488039970397949,
0.08006636798381805,
-0.026412533596158028,
-0.03178152069449425,
0.02010667510330677,
0.0254936795681715,
0.007891329936683178,
0.05451864004135132,
-0.033547159284353256,
0.008283194154500961,
-0.05152786150574684,
0.015043973922729492,
0.011350543238222599,
0.05221249908208847,
0.022394800558686256,
-0.03981698304414749,
-0.013917927630245686,
-0.05314936861395836,
-0.04417703300714493,
0.021800249814987183,
-0.03235805407166481,
-0.010719956830143929,
0.05768958479166031,
-0.040970053523778915,
-0.04723987728357315,
-0.02423250861465931,
0.009702011942863464,
-0.01817888580262661,
0.017142923548817635,
0.030952749773859978,
0.03143920376896858,
0.017602350562810898,
-0.01073797419667244,
0.004157361574470997,
0.012323446571826935,
-0.03549296781420708,
-0.03924044966697693,
0.020160725340247154,
0.0012499109143391252,
-0.008981342427432537,
-0.043600499629974365,
-0.02064717747271061,
0.016692504286766052,
-0.0007657112437300384,
0.015935800969600677,
0.06626555323600769,
-0.032718390226364136,
0.033565178513526917,
0.0021698905620723963,
0.061509132385253906,
0.016440270468592644,
-0.0033668773248791695,
-0.0036101031582802534,
-0.012296421453356743,
-0.05293316766619682,
-0.023728039115667343,
-0.036573972553014755,
0.0075400033965706825,
-0.0019762106239795685,
-0.04342032968997955,
-0.029961830005049706,
-0.013737760484218597,
-0.0020550338085740805,
-0.07314794510602951,
0.0313851535320282,
-0.02023279294371605,
0.009134484454989433,
0.03136713430285454,
0.04597870633006096,
-0.05851835384964943,
0.02257496863603592,
-0.009008367545902729,
-0.019854441285133362,
0.036573972553014755,
0.015287199057638645,
0.020593127235770226,
0.05909489095211029,
-0.009386719204485416,
-0.0009582650964148343,
0.0661214143037796,
-0.012917999178171158,
0.04810468107461929,
0.01240452192723751,
-0.025565747171640396,
-0.028700659051537514,
-0.011575751937925816,
-0.053906071931123734,
-0.021313797682523727,
0.006958963815122843,
0.0449337363243103,
0.026502616703510284,
0.05203232914209366,
0.012233362533152103,
0.002934475662186742,
-0.010900124907493591,
0.038375645875930786,
-0.019926508888602257,
0.022953320294618607,
0.01638622023165226,
-0.07884123176336288,
-0.07732782512903214,
-0.03179953619837761,
0.005751842632889748,
0.043312229216098785,
0.01665647141635418,
-0.08028256893157959,
-0.01967427507042885,
0.05866248905658722,
0.03700637444853783,
0.02246686816215515,
0.05217646434903145,
0.05095132440328598,
0.014593555592000484,
0.006346394773572683,
-0.05304126814007759,
-0.0020066138822585344,
-0.07015716284513474,
0.037258606404066086,
0.013098166324198246,
-0.11220822483301163,
0.05534740909934044,
-0.029673561453819275,
0.02107957936823368,
0.06446387618780136,
-0.01170186884701252,
0.007499465718865395,
-0.011656827293336391,
0.01595381833612919,
-0.025169378146529198,
0.02284521982073784,
0.02122371271252632,
0.006702225189656019,
0.00014652672689408064,
0.02394424006342888,
0.00008149757195496932,
-0.01873740367591381,
0.023349687457084656,
0.008251664228737354,
0.037510842084884644,
-0.0457264743745327,
0.01598084345459938,
0.013476517982780933,
0.03192565217614174,
0.009431760758161545,
0.0089633259922266,
-0.0048329890705645084,
0.03635777160525322,
0.013197258114814758,
-0.004405091516673565,
-0.04093402251601219,
-0.020557094365358353,
0.001476246165111661,
0.02437664195895195,
0.02605219930410385,
-0.0740848109126091,
-0.07444515079259872,
-0.020593127235770226,
0.07516581565141678,
-0.025043262168765068,
0.06896805763244629,
0.019494106993079185,
-0.06017589569091797,
-0.029367277398705482,
-0.018773438408970833,
-0.07314794510602951,
0.009116468019783497,
-0.0217461995780468,
0.00999027956277132,
-0.024754993617534637,
-0.08583172410726547,
0.026340465992689133,
-0.015377283096313477,
0.008652537129819393,
0.022088516503572464,
-0.012431547045707703,
0.010278547182679176,
-0.01253964751958847,
-0.019494106993079185,
-0.013827843591570854,
0.018286986276507378,
0.03205177187919617,
-0.03223193809390068,
0.03677215427160263,
0.024268541485071182,
0.02356588840484619,
-0.06060829386115074,
0.014323304407298565,
0.007085080724209547,
0.046339042484760284,
0.008544436655938625,
-0.06576108187437057,
-0.00942275207489729,
-0.010503756813704967,
-0.010170446708798409,
-0.0025538720656186342,
-0.025295495986938477,
0.04215915873646736,
-0.038195475935935974,
-0.06522057950496674,
-0.06853565573692322,
0.013827843591570854,
-0.0277998223900795,
0.03279045596718788,
0.0045379651710391045,
-0.055563610047101974,
0.04075385257601738,
0.008859729394316673,
-0.05999572575092316,
0.0232596043497324,
0.02974562905728817,
0.04230329394340515,
0.0928942859172821,
-0.005828413646668196,
-0.01735912449657917,
-0.03324087709188461,
-0.033799394965171814,
-0.03558305278420448,
0.03826754540205002,
0.00915250089019537,
0.0468435101211071,
-0.0018219422781839967,
0.023205554112792015,
-0.017818551510572433,
-0.03659198805689812,
-0.009193038567900658,
0.04832088202238083,
-0.0300338976085186,
-0.08431831747293472,
0.010837065987288952,
-0.01094516646116972,
-0.00873811636120081,
-0.029565460979938507,
-0.055996011942625046,
-0.011188392527401447,
0.016296137124300003,
-0.002619182923808694,
0.002774577122181654,
0.07332810759544373,
0.025115327909588814,
0.05606807768344879
]
|
43,932 | jsons._key_transformers | camelcase |
Return ``s`` in camelCase.
:param str_: the string that is to be transformed.
:return: a string in camelCase.
| def camelcase(str_: str) -> str:
"""
Return ``s`` in camelCase.
:param str_: the string that is to be transformed.
:return: a string in camelCase.
"""
str_ = str_.replace('-', '_')
splitted = str_.split('_')
if len(splitted) > 1:
str_ = ''.join([x.title() for x in splitted])
return str_[0].lower() + str_[1:]
| (str_: str) -> str | [
-0.03866226226091385,
-0.006567628122866154,
-0.01768207550048828,
-0.027776585891842842,
-0.019617095589637756,
-0.06348389387130737,
0.028672605752944946,
0.02247672900557518,
0.02701401710510254,
-0.02293427102267742,
-0.043885860592126846,
0.03351492062211037,
-0.023353684693574905,
0.007816335186362267,
0.02262924425303936,
-0.020799078047275543,
-0.009827611967921257,
-0.0018825929146260023,
0.01059018075466156,
0.005728801712393761,
0.024535667151212692,
-0.02325836382806301,
0.006281664595007896,
-0.06131057068705559,
0.027871906757354736,
0.05643012747168541,
-0.03626016899943352,
0.013211512938141823,
-0.0018647202523425221,
-0.02506946586072445,
0.034830350428819656,
-0.023506198078393936,
-0.018101489171385765,
0.03458251804113388,
0.03332427889108658,
0.004098809789866209,
0.015060743317008018,
-0.005299856420606375,
-0.03530695661902428,
-0.01930253580212593,
-0.03021680749952793,
-0.01211531925946474,
0.0008632522658444941,
-0.007530371658504009,
-0.012877888977527618,
0.042398851364851,
0.012458475306630135,
0.04918571934103966,
0.03715618699789047,
-0.05498124659061432,
0.009074574336409569,
-0.056010715663433075,
-0.009169896133244038,
-0.05822216346859932,
0.032542645931243896,
-0.0015573094133287668,
0.04110248386859894,
0.002804825082421303,
-0.021618839353322983,
0.012696778401732445,
0.0011450453894212842,
-0.0653521865606308,
-0.05479060485959053,
-0.02314397692680359,
-0.002792909974232316,
-0.006810696795582771,
0.02588922716677189,
0.005814590957015753,
0.0439239926636219,
-0.030807798728346825,
0.003000233555212617,
0.000032431536965304986,
0.001254664734005928,
-0.005395177751779556,
0.0239446759223938,
0.020150894299149513,
-0.09638875722885132,
-0.0016299918061122298,
0.027280915528535843,
-0.011505263857543468,
-0.022209830582141876,
-0.06775428354740143,
-0.05448557436466217,
-0.05620135739445686,
-0.036183912307024,
-0.030483707785606384,
-0.0633695051074028,
-0.0898306593298912,
0.003850974841043353,
0.08838178217411041,
-0.010247024707496166,
-0.019922122359275818,
0.006214939523488283,
0.062149398028850555,
-0.01828259788453579,
0.02991178072988987,
-0.022343279793858528,
-0.029625816270709038,
-0.00949875358492136,
0.015546881593763828,
-0.010513924062252045,
0.05307482182979584,
0.007673353422433138,
0.01438396330922842,
-0.040034886449575424,
-0.08563653379678726,
-0.01067597046494484,
-0.011648246087133884,
-0.002738100243732333,
0.024516602978110313,
-0.03732776641845703,
-0.01575658842921257,
-0.025012273341417313,
-0.013211512938141823,
0.005895613692700863,
-0.048880692571401596,
0.022057317197322845,
-0.014908229932188988,
-0.02278175763785839,
0.02213357388973236,
0.005795526783913374,
-0.037785306572914124,
-0.007420752197504044,
-0.0008424007683061063,
-0.031799137592315674,
0.05494311824440956,
-0.027223723009228706,
-0.029206404462456703,
0.04769871011376381,
0.053112950176000595,
-0.04708865284919739,
-0.010847548022866249,
-0.0014393494930118322,
0.0015727991703897715,
0.05517188832163811,
0.013049466535449028,
-0.025164786726236343,
0.08746669441461563,
-0.022896142676472664,
0.0623781681060791,
0.028215063735842705,
-0.012954145669937134,
0.04773683845996857,
0.017405644059181213,
0.02152351848781109,
-0.0052045355550944805,
0.04377147555351257,
0.008769546635448933,
0.01173403486609459,
0.0064675407484173775,
0.039501089602708817,
0.0513971708714962,
0.07728639990091324,
0.01930253580212593,
0.014584138058125973,
-0.018883122131228447,
-0.0394248329102993,
-0.06962257623672485,
0.03584075719118118,
-0.024478474631905556,
0.020494049414992332,
0.027395302429795265,
-0.03399152681231499,
-0.002654694253578782,
0.05566755682229996,
-0.04091184213757515,
0.035650115460157394,
0.008454986847937107,
0.028195999562740326,
-0.020799078047275543,
0.011896081268787384,
0.009903868660330772,
-0.07583751529455185,
0.08876306563615799,
0.02411625348031521,
0.058946605771780014,
-0.017968038097023964,
0.04800373688340187,
0.03736589476466179,
0.003209940157830715,
0.010742695070803165,
0.00462545920163393,
-0.021733224391937256,
0.003951061982661486,
0.003117001848295331,
0.0006434178212657571,
0.015851909294724464,
0.05128278583288193,
0.03250451758503914,
-0.037766244262456894,
-0.07675259560346603,
0.06722047924995422,
-0.02150445431470871,
-0.034658774733543396,
-0.004985296633094549,
-0.016376174986362457,
-0.0598616898059845,
-0.020246215164661407,
0.0328095443546772,
-0.043885860592126846,
-0.029511431232094765,
0.054104290902614594,
0.0478893518447876,
0.034658774733543396,
0.07213905453681946,
-0.0031813436653465033,
-0.029854588210582733,
-0.04846127703785896,
-0.05578194186091423,
-0.03040745109319687,
-0.013058998622000217,
0.020665626972913742,
0.007006105501204729,
-0.05501937493681908,
-0.002047021873295307,
0.02457379549741745,
0.042627621442079544,
0.0047231633216142654,
0.025908291339874268,
0.01123836450278759,
-0.02360151894390583,
-0.010933336801826954,
0.03885290399193764,
0.030464643612504005,
0.030331192538142204,
0.012668182142078876,
0.04823250696063042,
-0.003934381064027548,
-0.004792271181941032,
0.016433367505669594,
-0.028405705466866493,
-0.036469876766204834,
0.038414426147937775,
0.007325431331992149,
0.015699395909905434,
-0.05372300744056702,
-0.07030888646841049,
0.010799887590110302,
-0.04110248386859894,
-0.026937760412693024,
-0.009208024479448795,
0.022896142676472664,
0.01932159997522831,
-0.00928428117185831,
-0.009894336573779583,
-0.02749062329530716,
-0.007711481768637896,
0.014117063954472542,
-0.0260608047246933,
0.03378181904554367,
0.01990305818617344,
-0.039157934486866,
-0.05501937493681908,
-0.016004422679543495,
-0.041293125599622726,
-0.002735717222094536,
-0.05524814501404762,
0.009622671641409397,
-0.010914272628724575,
0.01606161519885063,
-0.03713712468743324,
-0.01454600878059864,
-0.018292130902409554,
0.04945261776447296,
0.004839932080358267,
-0.036622390151023865,
0.013526072725653648,
-0.0005087766912765801,
0.03795688599348068,
-0.010247024707496166,
0.19003227353096008,
-0.004046383313834667,
0.04346644878387451,
-0.008922060951590538,
-0.020284343510866165,
0.04674549773335457,
-0.028653541579842567,
-0.015537349507212639,
-0.02055124193429947,
-0.023792162537574768,
0.06783054023981094,
0.028710734099149704,
-0.07945971935987473,
0.009074574336409569,
0.08800049871206284,
-0.029187340289354324,
0.01623319275677204,
-0.09410104900598526,
-0.003000233555212617,
0.012458475306630135,
0.0032051741145551205,
-0.03235200047492981,
0.0018921250011771917,
-0.06371266394853592,
-0.03616484999656677,
-0.013812036253511906,
0.010227960534393787,
-0.06089115887880325,
0.02411625348031521,
-0.006257834378629923,
0.013459348119795322,
0.06466587632894516,
0.03723244369029999,
-0.034048717468976974,
0.020608434453606606,
0.018091956153512,
-0.06317886710166931,
0.014698523096740246,
-0.04495345801115036,
0.010247024707496166,
-0.02958768792450428,
-0.024783501401543617,
-0.08876306563615799,
0.03427749127149582,
-0.04735555127263069,
0.08838178217411041,
-0.002516478532925248,
0.014002678915858269,
0.01283976063132286,
0.01707202009856701,
-0.053608622401952744,
-0.05501937493681908,
0.010323281399905682,
-0.036927416920661926,
0.020398728549480438,
-0.012658650055527687,
-0.027033081278204918,
0.03524976596236229,
0.0436570905148983,
0.01366905402392149,
-0.06009045988321304,
0.007263472303748131,
-0.012534732930362225,
-0.009846676141023636,
-0.021542582660913467,
-0.01971241645514965,
0.011676842346787453,
-0.013697651214897633,
0.030769670382142067,
0.023487133905291557,
-0.01018030010163784,
0.00800697784870863,
0.007006105501204729,
0.0072682383470237255,
-0.012525200843811035,
0.03458251804113388,
-0.02018902264535427,
0.002312729600816965,
0.013221045024693012,
-0.12506136298179626,
-0.00004054872988490388,
-0.07968848943710327,
0.02667086012661457,
-0.01787271723151207,
0.008984019048511982,
0.072367824614048,
-0.0015692246379330754,
-0.05623948574066162,
0.01722453348338604,
-0.06680107116699219,
0.03441093862056732,
-0.0892968624830246,
0.013935953378677368,
0.006348389200866222,
-0.046631112694740295,
0.03248545154929161,
-0.017863186076283455,
-0.04800373688340187,
0.01586144044995308,
-0.02196199633181095,
0.03134159743785858,
0.029492367058992386,
0.020780013874173164,
-0.0436570905148983,
-0.047927480190992355,
0.03021680749952793,
-0.01348794437944889,
0.017882250249385834,
0.0261942557990551,
0.0007244408479891717,
0.020246215164661407,
0.015575477853417397,
0.023658711463212967,
-0.0008894655620679259,
-0.004575415514409542,
-0.02489788644015789,
0.011104915291070938,
-0.005314154550433159,
-0.005261728074401617,
0.005471434444189072,
0.01969335228204727,
-0.016766991466283798,
-0.0006809505284763873,
-0.021466325968503952,
0.03090311959385872,
-0.055362530052661896,
-0.030026165768504143,
0.006391284056007862,
0.030598092824220657,
0.018864057958126068,
-0.03593607619404793,
0.019207213073968887,
-0.019502708688378334,
-0.018711544573307037,
0.0021768969018012285,
0.08106111735105515,
0.012086722999811172,
-0.0005769908893853426,
0.019159553572535515,
0.018721075728535652,
-0.00034970950218848884,
-0.015003550797700882,
-0.06066238507628441,
-0.05322733521461487,
0.08304379880428314,
0.05532440170645714,
0.018730608746409416,
0.004856612998992205,
0.005395177751779556,
0.004003488924354315,
-0.034334681928157806,
-0.008312005549669266,
0.019922122359275818,
0.04724116623401642,
-0.005938508547842503,
-0.049567002803087234,
-0.0074064540676772594,
0.04251323640346527,
0.04247510805726051,
-0.05143529921770096,
-0.010104043409228325,
0.029377982020378113,
-0.04560164362192154,
-0.08563653379678726,
0.05559130012989044,
0.02003650739789009,
0.027128402143716812,
0.09089826047420502,
-0.018473241478204727,
-0.026079868897795677,
0.07465553283691406,
0.0004843506612814963,
-0.03831910714507103,
-0.03200884535908699,
-0.004627842456102371,
0.03004522994160652,
-0.0023830290883779526,
-0.009608373045921326,
-0.00008459753007628024,
-0.015613606199622154,
0.0052045355550944805,
0.08174742758274078,
-0.05032957345247269,
-0.012801632285118103,
0.024535667151212692,
-0.01778692938387394,
-0.021466325968503952,
-0.04644047096371651,
-0.03271422162652016,
0.028081614524126053,
-0.04319955036044121,
-0.00008690608956385404,
0.005671609193086624,
0.06569534540176392,
-0.04060681536793709,
0.026556475088000298,
-0.0014798609772697091,
0.035993270576000214,
-0.017415175214409828,
-0.0048089525662362576,
0.041598156094551086,
-0.05734521150588989,
0.013068530708551407,
-0.012515668757259846,
-0.010666437447071075,
-0.005042489618062973,
-0.016052084043622017,
-0.014279109425842762,
0.03088405542075634,
0.05368487909436226,
0.02571764960885048,
-0.005867017433047295,
-0.024783501401543617,
-0.0021328108850866556,
0.03279047831892967,
0.0018754438497126102,
0.024192510172724724,
0.027357174083590508,
0.00863609742373228,
0.015375303104519844,
0.05387552082538605,
0.030159614980220795,
0.0003783058491535485,
0.00707759615033865,
0.04087371379137039,
0.025660457089543343,
0.020913463085889816,
0.06108180060982704,
-0.045982927083969116,
0.028577284887433052,
-0.010923804715275764,
0.005299856420606375,
-0.030674349516630173,
-0.03521163761615753,
0.003665098687633872,
0.06889813393354416,
-0.04457217454910278,
-0.049872029572725296,
0.01544202771037817,
-0.016890909522771835,
0.006381751503795385,
0.0034339448902755976,
0.022419536486268044,
-0.05353236570954323,
-0.01439349539577961,
0.010256556794047356,
-0.030674349516630173,
0.0038056974299252033,
0.008230982348322868,
0.015966294333338737,
0.01220110896974802,
-0.06550469994544983,
-0.037899695336818695,
0.06245442479848862,
-0.0012749205343425274,
0.0159091018140316,
0.015365771017968655,
0.018616221845149994,
0.024306895211338997,
0.0075256056152284145,
-0.09882897883653641,
-0.00699657341465354,
0.03715618699789047,
0.052159737795591354,
0.004001105669885874,
0.0207037553191185,
-0.07069016993045807,
-0.05742146819829941,
-0.09196585416793823,
0.02055124193429947,
-0.0012963677290827036,
-0.012944613583385944,
0.025908291339874268,
0.007983147166669369,
0.013621393591165543,
0.025641392916440964,
-0.013068530708551407,
-0.015718460083007812,
-0.00955118052661419,
0.017605818808078766,
-0.03568824380636215,
0.018987976014614105,
-0.021371005102992058,
-0.015985358506441116,
0.020131828263401985,
-0.005309388507157564,
-0.06641978770494461,
-0.03799501433968544,
-0.03271422162652016,
0.03149411082267761,
-0.003829527646303177,
-0.004120257217437029,
0.058107778429985046,
-0.016442900523543358,
0.0005713311838917434,
-0.009107937105000019,
-0.010494859889149666,
0.06371266394853592,
0.03957734629511833,
-0.06176811084151268,
0.04743180796504021,
-0.026766182854771614,
0.09600747376680374,
0.023868419229984283,
-0.09669378399848938,
0.05532440170645714,
0.03746121749281883,
-0.044190891087055206,
0.05349423363804817,
0.08723792433738708,
-0.0063626873306930065,
-0.03972985967993736,
-0.027719393372535706,
0.00248788227327168,
-0.04441966116428375,
-0.054561831057071686,
-0.052807923406362534,
0.004258472938090563,
-0.0029287426732480526,
-0.03040745109319687,
-0.001472711912356317,
0.013640457764267921,
0.033209893852472305,
-0.012258301489055157,
-0.015956763178110123,
-0.042436979711055756,
0.025584200397133827,
-0.00882673915475607,
0.012468007393181324,
-0.009208024479448795,
-0.0039701261557638645,
0.05097775533795357,
0.03229480981826782,
0.07770580798387527,
0.05978543311357498,
0.08373010903596878,
-0.02958768792450428,
0.007458881009370089,
-0.036431748420000076,
0.03351492062211037,
-0.015327642671763897,
0.0031694285571575165,
-0.012315494008362293,
0.029187340289354324,
0.01635711081326008,
0.017577221617102623,
0.008073702454566956,
-0.05848906561732292,
-0.04796560853719711,
-0.027776585891842842,
0.02524104341864586,
0.027280915528535843,
0.023487133905291557,
0.019512241706252098,
-0.008984019048511982,
-0.014898697845637798,
0.061348699033260345,
-0.07999351620674133,
-0.028405705466866493,
-0.07198654115200043,
-0.044534046202898026,
-0.03551666438579559,
0.009980125352740288,
-0.05734521150588989,
0.030788734555244446,
0.03723244369029999,
0.0045873308554291725,
0.05948040261864662,
-0.019788673147559166,
-0.03427749127149582,
0.006253068335354328,
0.017577221617102623,
0.08540776371955872,
-0.015184661373496056,
-0.029625816270709038,
0.057802751660346985,
0.0013285386376082897,
-0.0394248329102993,
0.0028143571689724922,
-0.050520215183496475,
-0.03137972578406334,
0.018787801265716553,
-0.01819681003689766,
0.03395339846611023,
0.0016371409874409437,
0.022438600659370422,
-0.01698623038828373,
-0.05963291972875595,
0.03753747418522835,
-0.03202791139483452,
0.022667372599244118,
-0.04930010437965393,
0.025774842128157616,
-0.04830876365303993,
0.00861226674169302,
-0.027929099276661873,
0.05170219764113426,
-0.051168400794267654,
-0.00861226674169302,
0.005247429944574833,
0.05837468057870865,
-0.003917699679732323,
-0.0015978210140019655,
-0.05452370271086693,
0.02135194092988968,
-0.0207037553191185,
0.04708865284919739,
0.02846289798617363,
0.007673353422433138,
-0.042131952941417694,
0.023201171308755875,
-0.0033767521381378174,
-0.012563329190015793,
-0.044724687933921814,
0.05883222073316574,
-0.009884804487228394,
-0.010618777014315128,
-0.028005357831716537,
-0.030159614980220795,
-0.05906099081039429,
-0.007763908710330725,
0.0383000411093235,
-0.03976798802614212,
-0.009522584266960621,
0.06340763717889786,
0.0010413837153464556,
-0.0015692246379330754,
0.037918757647275925,
-0.0008167831692844629,
0.0004176258225925267,
0.03763279318809509,
-0.004951934330165386,
0.007220577914267778,
0.08060357719659805,
-0.02796722948551178,
0.01399314682930708,
-0.04060681536793709,
0.01601395569741726,
0.02716653048992157,
-0.04865191876888275,
0.02716653048992157,
-0.01792037859559059,
-0.015137000009417534,
0.043580833822488785,
0.042436979711055756,
-0.03700367361307144,
-0.010304217226803303,
0.010285153053700924,
0.04994828999042511,
0.028081614524126053,
0.024364089593291283,
-0.032885801047086716,
0.012458475306630135,
-0.01845417730510235,
0.01043766736984253,
-0.09120328724384308,
0.004287069197744131,
0.05532440170645714,
-0.015108403749763966,
-0.021561646834015846,
-0.03397246077656746,
-0.05029144510626793,
0.017672542482614517,
0.040988098829984665,
0.003948679193854332,
0.007225343957543373,
-0.011114447377622128,
0.0033004952128976583,
-0.04232259467244148,
-0.001330921659246087,
0.024211574345827103,
0.01973148062825203,
-0.011552924290299416,
-0.01277303509414196,
-0.03780437260866165,
0.014107531867921352,
0.011333686299622059,
-0.008683757856488228,
0.007106192409992218,
-0.05627761408686638,
-0.030274000018835068,
0.036946482956409454,
0.010475795716047287,
0.0164047721773386,
-0.006572394166141748,
-0.052007224410772324,
0.01670979894697666,
0.010780823417007923,
0.02249579317867756,
-0.0015561179025098681,
0.015051211230456829,
-0.01828259788453579,
-0.004580181557685137,
0.06371266394853592,
0.03414404019713402,
0.0256985854357481,
0.07229156792163849,
0.032580774277448654
]
|
43,933 | jsons._key_transformers | lispcase |
Return ``s`` in lisp-case.
:param str_: the string that is to be transformed.
:return: a string in lisp-case.
| def lispcase(str_: str) -> str:
"""
Return ``s`` in lisp-case.
:param str_: the string that is to be transformed.
:return: a string in lisp-case.
"""
return snakecase(str_).replace('_', '-')
| (str_: str) -> str | [
-0.03277742862701416,
-0.007890535518527031,
0.021329104900360107,
0.022702902555465698,
-0.04537058249115944,
-0.07390332221984863,
0.04561715945601463,
0.009995265863835812,
0.01882808655500412,
-0.034679610282182693,
-0.09250244498252869,
0.011219355277717113,
-0.05146460980176926,
0.04501832649111748,
-0.0027806214056909084,
-0.026929976418614388,
-0.02506301924586296,
0.0067589133977890015,
-0.01230254303663969,
-0.034485869109630585,
0.008242791518568993,
0.029166802763938904,
0.036705080419778824,
-0.023372190073132515,
0.015006108209490776,
0.08841627091169357,
0.0036568583454936743,
-0.020060982555150986,
-0.02294948324561119,
-0.042094599455595016,
0.05843928083777428,
0.010092136450111866,
0.015041333623230457,
-0.008366081863641739,
0.05766431614756584,
-0.027317458763718605,
0.00895611010491848,
-0.02802197076380253,
-0.03332342207431793,
-0.05438833683729172,
-0.034027937799692154,
0.014680271968245506,
0.0019473155261948705,
-0.01065574586391449,
-0.0554451048374176,
0.03984016180038452,
0.02094162255525589,
0.022826192900538445,
0.07090914249420166,
0.014601013623178005,
0.008238389156758785,
-0.0231432244181633,
-0.015402396209537983,
-0.06650594621896744,
0.01631826162338257,
-0.018581507727503777,
0.004246887285262346,
0.0035467783454805613,
-0.028074808418750763,
-0.01230254303663969,
-0.016873065382242203,
-0.03702211380004883,
-0.028286162763834,
-0.02331935241818428,
0.004839117638766766,
0.008973723277449608,
0.01431920938193798,
0.007238862104713917,
0.03716301545500755,
-0.030787179246544838,
-0.05509284883737564,
-0.020712656900286674,
-0.0074766348116099834,
0.005402727518230677,
0.019321246072649956,
0.016362294554710388,
-0.09468643367290497,
-0.00363924540579319,
0.011553999036550522,
-0.019955305382609367,
0.007216846104711294,
-0.05474059283733368,
-0.03496141359210014,
-0.03892429545521736,
-0.08052573353052139,
-0.0385720394551754,
-0.0280043575912714,
-0.052767958492040634,
0.038431137800216675,
0.003007386112585664,
-0.045511484146118164,
-0.002910515759140253,
0.029607122763991356,
0.05019649118185043,
0.008872449398040771,
0.044771745800971985,
0.0035577863454818726,
-0.02323128841817379,
-0.003091047052294016,
-0.005222196225076914,
0.038149330765008926,
0.0344330295920372,
-0.03150930628180504,
-0.029360543936491013,
-0.05347247049212456,
-0.04061512276530266,
0.008705127984285355,
0.003901235992088914,
-0.028691256418824196,
0.004891956225037575,
-0.05558600649237633,
-0.009422849863767624,
-0.04723753780126572,
0.02994176559150219,
-0.04019241780042648,
0.01106084045022726,
0.015622556209564209,
0.0031416837591677904,
-0.025274373590946198,
0.024904504418373108,
-0.0540008544921875,
-0.024094315245747566,
-0.07235339283943176,
-0.03832545876502991,
0.018422992900013924,
0.05290886014699936,
-0.0011503362329676747,
-0.02074788138270378,
0.03068150393664837,
0.07105004787445068,
-0.017278160899877548,
0.0123553816229105,
0.009141044691205025,
0.009907201863825321,
0.012610767036676407,
0.0262783020734787,
-0.03938222676515579,
0.07105004787445068,
0.04903404414653778,
0.08869807422161102,
-0.005402727518230677,
-0.03541934862732887,
0.05280318483710289,
0.031632594764232635,
0.014424885623157024,
0.017929833382368088,
0.02423521690070629,
0.020131433382630348,
0.007767246104776859,
0.042834337800741196,
0.055973488837480545,
0.03221381828188896,
0.0942637249827385,
0.061750490218400955,
0.03323535993695259,
0.006340609397739172,
-0.010215425863862038,
-0.0817234069108963,
0.03832545876502991,
-0.025380048900842667,
0.03233710676431656,
-0.004773069638758898,
-0.04868178814649582,
0.007564698811620474,
0.028215710073709488,
-0.06439241021871567,
0.03755049780011177,
-0.006120448932051659,
0.05090100318193436,
0.014662658795714378,
-0.011325032450258732,
-0.002947943052276969,
-0.02839183807373047,
0.07524189352989197,
0.024111928418278694,
0.067738838493824,
-0.016001231968402863,
0.04279911145567894,
0.027616875246167183,
0.027881067246198654,
0.025961272418498993,
0.010717391036450863,
-0.04727276414632797,
0.039981063455343246,
-0.013420956209301949,
0.020518915727734566,
0.0061380621045827866,
0.017577577382326126,
0.0020970243494957685,
-0.014750722795724869,
-0.05245092883706093,
0.05350769683718681,
-0.02691236324608326,
-0.03846636414527893,
-0.010365135036408901,
0.036775533109903336,
-0.03508470579981804,
-0.02360115572810173,
-0.007102362811565399,
-0.03987538814544678,
-0.004640973638743162,
0.05977785587310791,
0.019972918555140495,
0.04783637449145317,
0.029818475246429443,
0.002685952465981245,
-0.05759386718273163,
0.009299560450017452,
-0.029818475246429443,
-0.02589082159101963,
0.003383859759196639,
0.004552909638732672,
-0.009000142104923725,
-0.02839183807373047,
0.02846229076385498,
-0.012196865864098072,
-0.022738128900527954,
0.038783393800258636,
0.0007215745281428099,
0.014081436209380627,
-0.0019473155261948705,
-0.014424885623157024,
-0.008665499277412891,
0.011413096450269222,
0.03892429545521736,
0.002355712465941906,
0.019426921382546425,
0.01148354820907116,
0.013614697381854057,
0.02453463524580002,
-0.03085763193666935,
-0.02331935241818428,
0.05540987849235535,
0.01732219196856022,
0.037444818764925,
-0.051112353801727295,
-0.09440462291240692,
0.03325297310948372,
-0.017639221623539925,
-0.016644099727272987,
-0.017463093623518944,
-0.00537190493196249,
0.01180938445031643,
0.003449907759204507,
0.018053123727440834,
-0.015789877623319626,
-0.016423938795924187,
0.043750204145908356,
0.0012251905864104629,
0.04699096083641052,
0.002536243759095669,
-0.05562123283743858,
-0.037973202764987946,
-0.0038395910523831844,
-0.009854363277554512,
0.009924815036356449,
-0.04047422111034393,
0.04424336180090904,
-0.009193883277475834,
-0.023953411728143692,
-0.010638133622705936,
0.02948383241891861,
-0.0448421984910965,
0.037339143455028534,
-0.039628807455301285,
-0.02368921972811222,
-0.011413096450269222,
0.012575541622936726,
0.09130477160215378,
-0.03899474814534187,
0.10144975036382675,
-0.022104067727923393,
0.0061380621045827866,
-0.005314663518220186,
-0.02305516041815281,
0.038607265800237656,
-0.017330998554825783,
0.016793807968497276,
0.017815349623560905,
-0.031896788626909256,
0.053225889801979065,
0.06389924883842468,
-0.053049761801958084,
0.006653236225247383,
0.05445878952741623,
-0.03527844324707985,
0.03698688745498657,
-0.1325187385082245,
-0.013931727036833763,
-0.021716587245464325,
-0.007097959518432617,
-0.04061512276530266,
-0.005763790104538202,
-0.012258511036634445,
-0.014900431968271732,
0.011333839036524296,
0.019409310072660446,
-0.054881494492292404,
0.019391696900129318,
-0.04938630014657974,
-0.02453463524580002,
0.03910042345523834,
0.07221249490976334,
-0.004790682345628738,
0.016459165140986443,
-0.015094172209501266,
-0.0648503452539444,
-0.013984565623104572,
-0.05548033118247986,
-0.006556366104632616,
-0.04392633214592934,
0.002121241996064782,
-0.03881862014532089,
0.013808437623083591,
-0.025115856900811195,
0.07897581160068512,
0.014759529381990433,
0.03408077359199524,
-0.01151877362281084,
0.03663463145494461,
-0.009792719036340714,
-0.05893243849277496,
-0.0007204737630672753,
0.021804651245474815,
-0.02763448841869831,
-0.03353477641940117,
0.01340334303677082,
-0.005063680931925774,
0.045511484146118164,
0.013156764209270477,
-0.06868993490934372,
0.00973107386380434,
0.01658245362341404,
-0.036669857800006866,
-0.03624714910984039,
-0.030822405591607094,
0.007097959518432617,
-0.0018504451727494597,
0.003496141405776143,
0.018387766554951668,
0.025926046073436737,
-0.0012361985864117742,
0.012945410795509815,
0.024376120418310165,
0.027969131246209145,
0.02946621924638748,
-0.06389924883842468,
-0.0068645901046693325,
0.02872648276388645,
-0.08348468691110611,
-0.011580417864024639,
-0.07404422760009766,
0.002355712465941906,
-0.056572325527668,
-0.014909237623214722,
0.07333971560001373,
0.011245775036513805,
-0.0040619526989758015,
-0.002463590819388628,
-0.05364859849214554,
0.027863454073667526,
-0.10476095229387283,
-0.0030756357591599226,
0.004103783052414656,
-0.012778088450431824,
0.03288310393691063,
0.012963023036718369,
-0.0551280751824379,
0.00691302539780736,
0.020430851727724075,
0.016089295968413353,
0.01732219196856022,
-0.01974395290017128,
-0.040368545800447464,
-0.049421526491642,
0.030470149591565132,
0.02368921972811222,
0.013509020209312439,
-0.01469788420945406,
0.008035841397941113,
0.008678709156811237,
0.013253634795546532,
0.025291984900832176,
0.022614838555455208,
-0.026102174073457718,
-0.025855595245957375,
-0.010092136450111866,
0.021452395245432854,
0.007472231984138489,
0.0011800577631220222,
0.024411344900727272,
-0.03663463145494461,
0.08066663891077042,
0.0044032009318470955,
0.018141187727451324,
-0.05047829449176788,
-0.04794204980134964,
-0.013887695036828518,
0.05865063518285751,
-0.0026287108194082975,
-0.01902182772755623,
0.004781876225024462,
-0.02039562538266182,
-0.00551280751824379,
-0.01018900703638792,
0.09560229629278183,
0.025291984900832176,
0.016203779727220535,
-0.00022635204368270934,
-0.0005724161164835095,
0.03892429545521736,
0.009968847036361694,
-0.053683824837207794,
-0.13385730981826782,
0.08440055698156357,
0.0120735764503479,
0.04139008745551109,
0.03314729407429695,
0.0029237254057079554,
0.01253150962293148,
0.0026199044659733772,
-0.04015719145536423,
0.05847450718283653,
0.02194555290043354,
-0.02839183807373047,
-0.006670849397778511,
0.017577577382326126,
0.011765352450311184,
0.05484626814723015,
0.007441409397870302,
-0.04815340414643288,
0.02259722724556923,
-0.03321774676442146,
-0.0654139518737793,
0.04847043380141258,
0.0040641543455421925,
0.02360115572810173,
0.0777076855301857,
0.020413238555192947,
-0.02139955572783947,
0.07496009021997452,
0.011078453622758389,
-0.06756271421909332,
-0.016512002795934677,
0.01391411479562521,
0.005587661638855934,
-0.019814403727650642,
-0.00011235041893087327,
-0.02312561124563217,
0.004123597405850887,
0.031192274764180183,
0.0360005684196949,
-0.07284655421972275,
0.017207708209753036,
0.029166802763938904,
-0.017005162313580513,
-0.02872648276388645,
-0.06418105214834213,
-0.021329104900360107,
0.027141330763697624,
-0.024569859728217125,
-0.0005757185281254351,
0.015411202795803547,
0.09891350567340851,
-0.00320332869887352,
0.031456466764211655,
-0.040896929800510406,
0.00017406402912456542,
-0.008506984449923038,
-0.02765210159122944,
-0.009669428691267967,
-0.020959235727787018,
0.02175181172788143,
0.0031152646988630295,
-0.03316490724682808,
-0.004044339992105961,
-0.028779320418834686,
0.003687680698931217,
0.019955305382609367,
0.03120988793671131,
-0.02460508607327938,
-0.02900828793644905,
-0.011615644209086895,
0.0005977345281280577,
0.03187917545437813,
-0.020976848900318146,
0.01643274538218975,
0.023548318073153496,
0.012408220209181309,
0.022086454555392265,
0.06076417118310928,
0.07193069159984589,
0.021522846072912216,
0.00035253126407042146,
0.022244971245527267,
0.004803892225027084,
-0.0205717533826828,
0.010840680450201035,
0.005636096931993961,
0.021698974072933197,
-0.012205672450363636,
-0.005398324225097895,
-0.0499851368367672,
0.00796539057046175,
0.03066389076411724,
0.0748191848397255,
-0.008625870570540428,
-0.03138601407408714,
-0.005631693638861179,
-0.020254723727703094,
0.02626068890094757,
-0.0029941764660179615,
0.038889069110155106,
-0.06196184083819389,
-0.015816297382116318,
0.019057054072618484,
-0.005543629638850689,
0.019779177382588387,
-0.034838125109672546,
-0.007186023518443108,
0.011316225863993168,
-0.1182875856757164,
-0.007533876691013575,
0.024587472900748253,
-0.00043894408736377954,
0.0002332320436835289,
0.029254866763949394,
0.0011635457631200552,
0.013641116209328175,
0.01865195855498314,
-0.067738838493824,
-0.01686425879597664,
0.03226665407419205,
0.0482943058013916,
0.001056217821314931,
0.08334378153085709,
-0.0665411725640297,
-0.07157843559980392,
-0.0508657768368721,
0.022086454555392265,
-0.01660887338221073,
-0.02791629359126091,
0.0053498889319598675,
0.027793003246188164,
0.03240755945444107,
0.036881208419799805,
-0.06291293352842331,
-0.018775248900055885,
-0.07636911422014236,
0.005446759518235922,
-0.046779606491327286,
-0.007274087984114885,
-0.01730457879602909,
-0.013015861622989178,
0.020606979727745056,
-0.049738556146621704,
-0.03645850345492363,
0.01606287620961666,
-0.04526490345597267,
0.020413238555192947,
-0.023935800418257713,
-0.02159329690039158,
0.0782712996006012,
-0.01786818914115429,
-0.03984016180038452,
-0.024111928418278694,
-0.028955448418855667,
0.04212982580065727,
0.031632594764232635,
-0.02855035476386547,
0.07133185118436813,
-0.023196062073111534,
0.13329368829727173,
0.03469722345471382,
-0.09609545767307281,
0.05315544083714485,
0.02619023807346821,
-0.01918034255504608,
0.03948790580034256,
0.07038076221942902,
-0.02074788138270378,
-0.009114625863730907,
-0.03716301545500755,
0.0018064131727442145,
-0.04131963476538658,
-0.0400162898004055,
-0.04755456745624542,
0.034292127937078476,
0.01267241220921278,
-0.01686425879597664,
0.019867241382598877,
0.0034036743454635143,
0.017005162313580513,
-0.007379764690995216,
-0.02000814490020275,
-0.02589082159101963,
0.018968990072607994,
-0.007551489397883415,
0.0534372441470623,
0.008330855518579483,
-0.025591403245925903,
0.04139008745551109,
-0.0024900101125240326,
0.05213389918208122,
0.07876445353031158,
0.06132778152823448,
-0.02166374772787094,
0.023196062073111534,
-0.02021949738264084,
0.029078738763928413,
-0.00022896644077263772,
-0.006322996225208044,
0.007335732690989971,
-0.005085696931928396,
0.04674438014626503,
0.01469788420945406,
0.02333696372807026,
-0.06125732883810997,
-0.0015653378795832396,
-0.07848265022039413,
0.008709531277418137,
-0.008590645156800747,
0.02122342772781849,
-0.025309598073363304,
0.03885384276509285,
0.010761423036456108,
0.04012196511030197,
-0.04269343614578247,
-0.032372333109378815,
-0.06932399421930313,
-0.05893243849277496,
-0.0277225524187088,
0.014865205623209476,
-0.03489096462726593,
0.048893142491579056,
0.03545457124710083,
0.020360400900244713,
0.025380048900842667,
-0.026771461591124535,
0.030699115246534348,
-0.04491264745593071,
-0.004526490345597267,
0.09412281960248947,
-0.015604943968355656,
-0.02231542207300663,
0.04603986814618111,
0.0014101250562816858,
-0.012927797622978687,
-0.02453463524580002,
-0.038607265800237656,
-0.021892715245485306,
0.03165020793676376,
-0.003835187992081046,
-0.0030800390522927046,
0.02811003476381302,
0.055515557527542114,
0.0027123717591166496,
-0.06477989256381989,
0.06548440456390381,
-0.06308905780315399,
0.006512334104627371,
-0.016071682795882225,
0.016397519037127495,
-0.002175181172788143,
0.05681890249252319,
0.013693954795598984,
0.03593011945486069,
-0.0400162898004055,
0.014618626795709133,
-0.021170590072870255,
0.027951518073678017,
-0.01473310962319374,
-0.006600398104637861,
-0.01704038679599762,
0.008753563277423382,
-0.04047422111034393,
0.057629093527793884,
0.0208535585552454,
-0.0030646277591586113,
-0.05861540883779526,
0.0038373894058167934,
-0.027951518073678017,
-0.0025164291728287935,
-0.08510506898164749,
0.03635282441973686,
0.0405799001455307,
-0.024834051728248596,
-0.004356967285275459,
0.01854628138244152,
-0.04924539849162102,
0.0241471529006958,
0.007340135984122753,
-0.03846636414527893,
-0.0020849155262112617,
0.03621192276477814,
-0.02983608841896057,
0.0016335875261574984,
-0.0029017094057053328,
0.030611051246523857,
0.010585295036435127,
0.038712941110134125,
-0.012734056450426579,
-0.0018702595261856914,
0.041918471455574036,
-0.021522846072912216,
0.01409024279564619,
-0.011694901622831821,
-0.022262582555413246,
0.049809008836746216,
-0.046779606491327286,
0.037444818764925,
0.0012615170562639832,
-0.005076890345662832,
0.007331329397857189,
0.07510099560022354,
-0.042763885110616684,
-0.03353477641940117,
-0.0015653378795832396,
0.03504947945475578,
-0.017559964209794998,
0.03927655145525932,
-0.08144160360097885,
0.011413096450269222,
-0.018511056900024414,
0.020871171727776527,
-0.05540987849235535,
-0.02021949738264084,
0.031068984419107437,
0.009722267277538776,
0.0011184130562469363,
-0.03755049780011177,
-0.023178448900580406,
-0.015684200450778008,
-0.005002036225050688,
0.020325174555182457,
-0.00009349922038381919,
-0.009202689863741398,
0.007397377397865057,
-0.04537058249115944,
-0.013464988209307194,
0.018951376900076866,
0.004856730345636606,
0.0001287936174776405,
-0.04611032083630562,
-0.0028929030522704124,
0.02516869641840458,
0.02360115572810173,
0.014222338795661926,
-0.014160693623125553,
-0.025961272418498993,
0.00172825634945184,
0.05428266152739525,
-0.017727285623550415,
-0.03460915759205818,
-0.005644903518259525,
-0.04892836883664131,
0.0312979519367218,
0.01993769407272339,
0.04727276414632797,
0.005226599518209696,
-0.03910042345523834,
-0.03652895241975784,
0.020642206072807312,
0.09320695698261261,
0.0073137166909873486,
-0.020325174555182457,
0.0499851368367672,
0.03344671428203583
]
|
43,934 | jsons._key_transformers | pascalcase |
Return ``s`` in PascalCase.
:param str_: the string that is to be transformed.
:return: a string in PascalCase.
| def pascalcase(str_: str) -> str:
"""
Return ``s`` in PascalCase.
:param str_: the string that is to be transformed.
:return: a string in PascalCase.
"""
camelcase_str = camelcase(str_)
return camelcase_str[0].upper() + camelcase_str[1:]
| (str_: str) -> str | [
-0.07354409247636795,
0.009109984152019024,
-0.010120154358446598,
0.0032034856267273426,
-0.026089148595929146,
-0.04324820637702942,
0.0313660204410553,
0.03096010722219944,
0.02579393982887268,
-0.04701213166117668,
0.0055305673740804195,
0.008920865133404732,
-0.01942848227918148,
0.020332561805844307,
-0.00024187583767343313,
-0.0019407725194469094,
0.024539299309253693,
0.013081476092338562,
-0.0077999914065003395,
-0.012002116069197655,
0.02077537588775158,
0.00682672206312418,
0.05321153253316879,
-0.029484059661626816,
-0.017020680010318756,
0.03173503279685974,
-0.018432149663567543,
-0.004691065289080143,
-0.012850843369960785,
-0.043654121458530426,
0.043322011828422546,
0.02112593874335289,
-0.010812051594257355,
0.04302680119872093,
0.04590509459376335,
0.06513062119483948,
0.026070699095726013,
-0.03402290865778923,
-0.026273654773831367,
-0.015323223546147346,
-0.019963549450039864,
0.002421641256660223,
-0.037694577127695084,
-0.00003654083775472827,
-0.019649889320135117,
0.04959521442651749,
0.02535112574696541,
0.03171658143401146,
0.07313818484544754,
-0.003422586480155587,
0.01850595325231552,
-0.018967216834425926,
-0.001584445359185338,
-0.08206827193498611,
0.030812503769993782,
-0.022620435804128647,
0.041956666857004166,
-0.04151385277509689,
-0.017371241003274918,
0.01595976948738098,
0.030498843640089035,
-0.048045363277196884,
0.028044912964105606,
-0.025074366480112076,
-0.0033741535153239965,
-0.0159413181245327,
0.06276894360780716,
-0.01866278238594532,
0.013634993694722652,
-0.014695903286337852,
-0.00975114293396473,
-0.002163332886993885,
-0.019041020423173904,
-0.012703238986432552,
0.032104045152664185,
0.03361699357628822,
-0.04062822461128235,
0.006660666782408953,
0.029484059661626816,
-0.0034779382403939962,
-0.035166844725608826,
-0.06317485868930817,
-0.05841460078954697,
-0.010018676519393921,
-0.007878406904637814,
-0.016171950846910477,
-0.050443943589925766,
-0.06786131113767624,
-0.000503067160025239,
0.08310150355100632,
0.0011006935965269804,
-0.010443040169775486,
0.03501924127340317,
0.06981707364320755,
0.03579416498541832,
0.028709134086966515,
-0.010793601162731647,
-0.023542966693639755,
-0.03623697906732559,
0.006388520356267691,
-0.001956916879862547,
0.07118241488933563,
-0.0017747171223163605,
-0.009013118222355843,
-0.013893302530050278,
-0.10251154005527496,
0.00689129950478673,
-0.01281394250690937,
0.038820065557956696,
0.013413586653769016,
-0.04874648526310921,
-0.04557298496365547,
-0.023210855200886726,
-0.02503746561706066,
-0.005175393540412188,
-0.03564656153321266,
0.038967669010162354,
-0.054687581956386566,
-0.019815945997834206,
0.04018540680408478,
0.00644848495721817,
-0.003761616302654147,
0.007015841081738472,
-0.014483721926808357,
-0.048561982810497284,
0.02494521252810955,
0.021661005914211273,
-0.03918907418847084,
0.04391242936253548,
0.04494566470384598,
0.011937539093196392,
0.021661005914211273,
-0.0062086270190775394,
-0.045757491141557693,
0.033893752843141556,
0.0169745534658432,
0.02053551934659481,
0.08398713171482086,
0.008076750673353672,
0.03352474048733711,
0.04096033424139023,
0.017767928540706635,
0.0209598820656538,
0.03214094787836075,
0.029299553483724594,
-0.00004392828486743383,
0.043063703924417496,
0.008971604518592358,
-0.021144388243556023,
0.07077650725841522,
0.0011358651099726558,
0.005249195732176304,
0.08007560670375824,
0.014474496245384216,
0.014963436871767044,
-0.00644848495721817,
-0.033875301480293274,
-0.0971977636218071,
0.044318344444036484,
-0.038377247750759125,
0.006623765453696251,
0.001079936744645238,
-0.06561033427715302,
0.02876448631286621,
0.016642441973090172,
-0.04247328266501427,
0.014944986440241337,
0.012943096458911896,
0.025240421295166016,
-0.04284229502081871,
0.029982225969433784,
0.005438314750790596,
-0.03263911232352257,
0.07675449550151825,
0.037694577127695084,
0.0074309795163571835,
0.016587089747190475,
0.038635559380054474,
0.022970998659729958,
0.007403303403407335,
0.05634813383221626,
0.022601986303925514,
-0.03852485492825508,
0.017860181629657745,
0.015378575772047043,
0.005258421413600445,
0.03476093336939812,
0.07859955728054047,
0.008764035068452358,
-0.06192021444439888,
-0.07793533802032471,
0.03289742022752762,
0.009289877489209175,
0.017177509143948555,
0.010276984423398972,
0.007301825098693371,
0.00697893975302577,
0.00894392840564251,
0.009372904896736145,
-0.04103413596749306,
-0.030185183510184288,
0.055942222476005554,
0.03599712252616882,
0.028026461601257324,
0.05885741487145424,
-0.0069143627770245075,
-0.052141398191452026,
-0.039668790996074677,
-0.0627320408821106,
-0.048488177359104156,
0.002030719304457307,
-0.014059357345104218,
0.0230817012488842,
-0.09299102425575256,
-0.02629210613667965,
-0.029373357072472572,
0.06561033427715302,
-0.016245754435658455,
0.048894092440605164,
0.008584141731262207,
-0.01933622919023037,
0.02714083343744278,
0.061292894184589386,
0.005489053670316935,
0.0531008280813694,
0.002940564416348934,
-0.012417254038155079,
-0.006411583628505468,
-0.04741804301738739,
0.023118602111935616,
-0.0017712577246129513,
-0.05014873296022415,
0.010609094984829426,
-0.01471435371786356,
0.055019691586494446,
-0.07118241488933563,
-0.05524109676480293,
-0.04273159056901932,
-0.055942222476005554,
-0.02629210613667965,
0.010609094984829426,
0.025904644280672073,
0.0252035204321146,
0.023266207426786423,
-0.06819342076778412,
0.006716018542647362,
-0.013044574297964573,
-0.010867403820157051,
-0.004575748927891254,
0.05354364216327667,
0.000582347100134939,
-0.04977972060441971,
-0.05070225149393082,
-0.008800936862826347,
-0.015175619162619114,
0.01454829890280962,
-0.01926242746412754,
0.04878338798880577,
0.012020566500723362,
0.055942222476005554,
-0.040997233241796494,
0.020553968846797943,
0.008404248394072056,
0.06664357334375381,
0.024742254987359047,
-0.01425308920443058,
-0.01242647971957922,
0.0028252482879906893,
0.03302657604217529,
0.001580985845066607,
0.16192246973514557,
-0.01689152419567108,
0.04302680119872093,
-0.014216187410056591,
-0.0053783501498401165,
0.026587314903736115,
-0.024908311665058136,
0.029742367565631866,
0.016642441973090172,
0.0022048468235880136,
0.055167295038700104,
-0.01280471682548523,
-0.06561033427715302,
0.018219968304038048,
0.04963211715221405,
0.02535112574696541,
0.030498843640089035,
-0.07465112954378128,
-0.00462187547236681,
0.0069143627770245075,
0.014087033458054066,
-0.024557748809456825,
-0.023229306563735008,
-0.05649574100971222,
-0.03756542131304741,
0.007481718435883522,
-0.0030305110849440098,
-0.06716018915176392,
0.0204432662576437,
-0.03782373294234276,
0.004112177528440952,
0.053986456245183945,
0.0657210424542427,
-0.01976059377193451,
-0.011596202850341797,
0.04808226600289345,
-0.0626213401556015,
0.027971111238002777,
-0.047307338565588,
-0.05487208813428879,
-0.08110883831977844,
-0.012066693045198917,
-0.06948496401309967,
0.03306347504258156,
-0.014216187410056591,
0.031255315989255905,
0.003155052661895752,
0.005382962990552187,
0.02417028695344925,
0.009174561128020287,
-0.05553630739450455,
-0.04376482591032982,
-0.01336746010929346,
-0.013035349547863007,
-0.0016201933613047004,
0.016015121713280678,
0.000352002854924649,
0.062399931252002716,
0.01950228586792946,
-0.00529993511736393,
-0.07236325740814209,
0.013634993694722652,
-0.02280494198203087,
0.00887012667953968,
-0.047454945743083954,
-0.02400423213839531,
0.005521342158317566,
-0.019114822149276733,
0.017758702859282494,
0.039152175188064575,
0.027325339615345,
-0.0429529994726181,
0.011264091357588768,
0.012537183240056038,
0.024059582501649857,
0.03096010722219944,
-0.04893099144101143,
0.007163445930927992,
0.028727585449814796,
-0.08066602796316147,
-0.012961546890437603,
-0.05642193555831909,
0.018985668197274208,
-0.027509845793247223,
0.013136827386915684,
0.03749161958694458,
0.02162410318851471,
-0.049410708248615265,
0.006895911879837513,
-0.047787055373191833,
0.0727691724896431,
-0.046274106949567795,
-0.02553563192486763,
0.008538015186786652,
-0.023007899522781372,
0.028395473957061768,
-0.018302995711565018,
-0.029742367565631866,
-0.030554194003343582,
0.030185183510184288,
0.04166145622730255,
0.0047925435937941074,
-0.018358347937464714,
-0.03538825362920761,
-0.04572058841586113,
0.05513039603829384,
0.01985284686088562,
0.04970591887831688,
0.020922981202602386,
-0.011411696672439575,
-0.024410145357251167,
0.00030501149012707174,
-0.008307383395731449,
0.03441036865115166,
-0.011762257665395737,
-0.03645838797092438,
0.006420808844268322,
-0.037620775401592255,
0.02933645434677601,
0.013164503499865532,
0.012057467363774776,
-0.01706680655479431,
0.03444727137684822,
-0.049373809248209,
0.05295322462916374,
-0.031513627618551254,
-0.05114506557583809,
-0.04749184474349022,
0.020037353038787842,
0.019908199086785316,
-0.000906385772395879,
-0.04446594789624214,
-0.013727246783673763,
-0.0038630946073681116,
-0.008150553330779076,
0.037620775401592255,
0.03070179931819439,
0.013967105187475681,
-0.008113651536405087,
0.0488571897149086,
0.027583647519350052,
0.03173503279685974,
-0.056606441736221313,
-0.06383907794952393,
0.07269536703824997,
0.01611660048365593,
-0.0007512854062952101,
-0.00644848495721817,
0.010673672892153263,
-0.0027583648916333914,
0.011891412548720837,
-0.026587314903736115,
0.030074479058384895,
0.02824787050485611,
0.03568346053361893,
-0.008713296614587307,
-0.01612582430243492,
0.04387553036212921,
0.04808226600289345,
-0.010433814488351345,
0.019982000812888145,
0.027085481211543083,
-0.004628794267773628,
-0.07948518544435501,
0.02511126734316349,
0.07228945195674896,
0.058156292885541916,
0.10295435041189194,
0.014760480262339115,
-0.010885854251682758,
0.07712350785732269,
0.03461332619190216,
-0.04727043956518173,
-0.0050093382596969604,
0.047713253647089005,
0.03003757819533348,
-0.022694239392876625,
-0.03691965341567993,
-0.03369079530239105,
0.011033459566533566,
0.03614472597837448,
0.018893415108323097,
-0.002963627688586712,
-0.0320855937898159,
0.01730666309595108,
0.0074309795163571835,
-0.015046465210616589,
-0.045425377786159515,
-0.05210449546575546,
0.04590509459376335,
-0.0064807734452188015,
0.03512994199991226,
0.05608982592821121,
0.05712306126952171,
-0.030849404633045197,
0.003703958122059703,
-0.032694462686777115,
0.03782373294234276,
-0.008436537347733974,
-0.0098341703414917,
0.029133498668670654,
-0.04239948093891144,
-0.002156413858756423,
0.023469164967536926,
-0.037639226764440536,
-0.026937877759337425,
-0.008731747046113014,
-0.0008787098340690136,
0.016863849014043808,
0.03476093336939812,
-0.017334340140223503,
0.00030933585367165506,
-0.00043474228004924953,
0.0063839079812169075,
0.016153501346707344,
0.0008983136503957212,
0.0115408506244421,
0.03741781786084175,
-0.013459713198244572,
-0.03680894896388054,
0.0514402762055397,
0.023173954337835312,
0.03238080441951752,
0.014520622789859772,
-0.0017481944523751736,
-0.0071080937050282955,
0.018302995711565018,
0.029318004846572876,
-0.04870958626270294,
0.023561416193842888,
-0.0011618112912401557,
0.0302774365991354,
-0.004301296081393957,
-0.054244767874479294,
0.004338197410106659,
0.050849854946136475,
-0.013385910540819168,
-0.02383817546069622,
-0.0004399315221235156,
0.018708908930420876,
0.0067529198713600636,
-0.0049585988745093346,
-0.024114934727549553,
-0.038820065557956696,
-0.019631439819931984,
0.02714083343744278,
0.012500282377004623,
-0.006430034525692463,
-0.034668680280447006,
-0.03904147073626518,
0.018985668197274208,
-0.08398713171482086,
-0.055425602942705154,
0.05439237132668495,
0.005881128832697868,
-0.01162387803196907,
-0.00797065906226635,
-0.020849179476499557,
0.009165335446596146,
-0.014234638772904873,
-0.0678982138633728,
0.004972436930984259,
0.051956892013549805,
0.019631439819931984,
-0.0119559895247221,
0.012122044339776039,
-0.0951313003897667,
-0.07516774535179138,
-0.06727088987827301,
0.0053368364460766315,
0.02579393982887268,
0.0003961113397963345,
0.005184618756175041,
-0.03815584257245064,
0.04206737130880356,
0.01030466053634882,
-0.05531490221619606,
-0.039742592722177505,
-0.04572058841586113,
0.02035101316869259,
-0.0659424439072609,
-0.01569223590195179,
-0.05291632190346718,
-0.015507729724049568,
0.053728148341178894,
0.0033326398115605116,
-0.046347908675670624,
-0.0419197641313076,
-0.009308327920734882,
0.03859865665435791,
-0.005470603238791227,
-0.041698358952999115,
0.016993002966046333,
-0.0004062014922965318,
-0.04442904517054558,
-0.03341403603553772,
-0.030812503769993782,
0.037380918860435486,
0.025388026610016823,
-0.05114506557583809,
0.09970704466104507,
-0.025646334514021873,
0.0774187222123146,
0.018967216834425926,
-0.09896901994943619,
0.01680849678814411,
0.025812391191720963,
-0.00971424113959074,
0.04859888181090355,
0.08642261475324631,
0.013146053068339825,
-0.019041020423173904,
-0.03786063194274902,
0.00568278506398201,
-0.07166213542222977,
-0.03402290865778923,
-0.024576200172305107,
-0.0018219968769699335,
-0.026015346869826317,
-0.04435524344444275,
-0.06457710266113281,
-0.03774992749094963,
0.0161996278911829,
-0.010793601162731647,
-0.039558086544275284,
-0.04767635092139244,
0.020756926387548447,
0.010839727707207203,
0.018644332885742188,
-0.029244201257824898,
-0.013238306157290936,
0.05631123483181,
0.01907792128622532,
0.05944783613085747,
0.1200765073299408,
0.04284229502081871,
-0.03121841698884964,
0.03286052122712135,
-0.014483721926808357,
0.06118219345808029,
-0.0004554992192424834,
0.007131156977266073,
-0.03852485492825508,
-0.0027030128985643387,
0.006190176587551832,
0.018644332885742188,
-0.0051615554839372635,
-0.06490921229124069,
-0.03199334070086479,
-0.015987444669008255,
-0.043395813554525375,
0.038303446024656296,
0.01548005361109972,
0.02112593874335289,
-0.019908199086785316,
-0.007260311394929886,
0.02197466604411602,
-0.10007605701684952,
-0.0029313392005860806,
-0.11992890387773514,
-0.034650228917598724,
-0.00043618373456411064,
-0.01604279689490795,
-0.02324775606393814,
-0.004107565153390169,
-0.000991719774901867,
0.0023985779844224453,
0.0031412148382514715,
-0.013893302530050278,
-0.03256531059741974,
-0.01022163312882185,
-0.004301296081393957,
0.035259097814559937,
-0.024963662028312683,
0.026698019355535507,
0.04435524344444275,
-0.02935490570962429,
-0.031199965626001358,
-0.000521517766173929,
-0.05708615854382515,
-0.03712260723114014,
-0.02162410318851471,
-0.02060932107269764,
0.03461332619190216,
-0.02374592237174511,
0.06040726602077484,
0.016660893335938454,
-0.03918907418847084,
0.02418873831629753,
-0.050185635685920715,
0.0020018902141600847,
-0.032436154782772064,
0.003883851459249854,
-0.01309992652386427,
0.0674922987818718,
0.012777040712535381,
0.03306347504258156,
-0.0329158715903759,
-0.0654258280992508,
-0.019834395498037338,
0.04649551212787628,
0.008768647909164429,
0.029668565839529037,
-0.06712328642606735,
0.014815832488238811,
-0.030148280784487724,
0.04376482591032982,
0.019299328327178955,
0.014492946676909924,
-0.0021091343369334936,
0.00045088655315339565,
-0.019705241546034813,
0.017684901133179665,
-0.041440051048994064,
0.04701213166117668,
0.038635559380054474,
0.0119559895247221,
-0.0337461493909359,
-0.028856739401817322,
-0.06025966256856918,
-0.022768041118979454,
0.02647661231458187,
-0.018284546211361885,
0.03588641807436943,
0.030351238325238228,
-0.008418086916208267,
-0.004481189418584108,
-0.011171838268637657,
-0.013967105187475681,
0.015166393481194973,
0.05505659431219101,
-0.0286722332239151,
-0.005452152341604233,
0.05453997477889061,
-0.024133386090397835,
0.03254685923457146,
0.014778931625187397,
-0.02501901425421238,
0.019059469923377037,
-0.020830728113651276,
0.003390297992154956,
-0.005304547492414713,
-0.011024233885109425,
0.0033003510907292366,
0.03789753466844559,
-0.011384020559489727,
-0.016909975558519363,
-0.0027168509550392628,
0.024465495720505714,
0.034668680280447006,
-0.002977465745061636,
-0.09099835902452469,
-0.0008383491658605635,
-0.04435524344444275,
-0.029318004846572876,
-0.06941115856170654,
-0.0005183465545997024,
0.036181628704071045,
-0.04284229502081871,
-0.006139437202364206,
-0.03758387267589569,
-0.023524515330791473,
0.008454987779259682,
0.027602098882198334,
0.01357041671872139,
-0.004400468431413174,
0.021900862455368042,
-0.0061255996115505695,
-0.008459600619971752,
-0.01586751639842987,
0.005350674036890268,
0.026919426396489143,
-0.008339671418070793,
-0.04335891082882881,
0.010784376412630081,
0.018644332885742188,
0.016577864065766335,
-0.012444930151104927,
0.028893640264868736,
-0.0217901598662138,
-0.012740139849483967,
0.05317462980747223,
0.008408861234784126,
0.005585919134318829,
-0.0056366585195064545,
-0.041440051048994064,
0.004036068916320801,
-0.010350787080824375,
0.001124333473853767,
-0.016688568517565727,
-0.05346984043717384,
-0.031679682433605194,
0.025572532787919044,
0.057824183255434036,
0.08251108974218369,
0.005862678401172161,
0.07992800325155258,
0.052030693739652634
]
|
43,935 | jsons._key_transformers | snakecase |
Return ``s`` in snake_case.
:param str_: the string that is to be transformed.
:return: a string in snake_case.
| def snakecase(str_: str) -> str:
"""
Return ``s`` in snake_case.
:param str_: the string that is to be transformed.
:return: a string in snake_case.
"""
str_ = str_.replace('-', '_')
str_ = str_[0].lower() + str_[1:]
return re.sub(r'([a-z])([A-Z])', '\\1_\\2', str_).lower()
| (str_: str) -> str | [
-0.0710495263338089,
-0.006316026207059622,
-0.000844289839733392,
0.0009821213316172361,
-0.03253514692187309,
-0.04908876493573189,
0.027349455282092094,
0.027331000193953514,
0.05916488170623779,
-0.03749938681721687,
-0.06123177707195282,
0.04639441892504692,
-0.03212914988398552,
0.02910262532532215,
0.014459040947258472,
-0.036982662975788116,
-0.013121094554662704,
0.017374839633703232,
-0.006514411419630051,
-0.028678173199295998,
-0.0044844248332083225,
0.026131464168429375,
0.0458407886326313,
-0.0032895009499043226,
-0.0010051893768832088,
0.06532865762710571,
-0.014920401386916637,
-0.027441726997494698,
0.001914646360091865,
-0.03242442011833191,
0.06418448686599731,
0.0014152235817164183,
0.00595616502687335,
-0.0036424417048692703,
0.05130329728126526,
-0.039750829339027405,
0.0117462407797575,
-0.01824219711124897,
-0.022126853466033936,
-0.019672416150569916,
-0.016738161444664,
-0.016184529289603233,
0.008073810487985611,
-0.027423273772001266,
-0.009910025633871555,
0.054256003350019455,
0.030523616820573807,
0.0351925864815712,
0.052595105022192,
-0.003780849976465106,
0.01644289121031761,
-0.03349477797746658,
-0.01766088232398033,
-0.049937669187784195,
0.015677032992243767,
-0.032350603491067886,
0.013988452963531017,
-0.009596300311386585,
-0.040673550218343735,
0.006099186837673187,
0.025873102247714996,
-0.042149901390075684,
-0.024507474154233932,
0.012327554635703564,
0.00944866519421339,
-0.040046099573373795,
0.015077264048159122,
-0.004147631581872702,
0.04536097124218941,
-0.03331023454666138,
-0.00779699394479394,
-0.011543241329491138,
0.01919260062277317,
0.0014048429438844323,
0.02098267897963524,
0.040009189397096634,
-0.08238054811954498,
0.002095730509608984,
0.008009219542145729,
-0.0140991797670722,
0.04059972986578941,
-0.06193304434418678,
-0.042223721742630005,
-0.05156165733933449,
-0.0665835589170456,
-0.010860428214073181,
-0.08127328008413315,
-0.07086498290300369,
0.018122242763638496,
0.03220297023653984,
-0.008373694494366646,
0.013204139657318592,
0.014809674583375454,
0.05720871314406395,
0.00926873367279768,
0.041301000863313675,
-0.0018915784312412143,
-0.047427866607904434,
-0.029453258961439133,
-0.006998840253800154,
0.019709324464201927,
0.051820021122694016,
-0.02439674735069275,
0.0009411755600012839,
-0.05034366622567177,
-0.05968160554766655,
0.004348323680460453,
0.005610144697129726,
-0.02199767343699932,
0.050528209656476974,
-0.004927331116050482,
-0.05266892537474632,
-0.03609685227274895,
0.0031810812652111053,
-0.012106101959943771,
-0.06887190788984299,
0.012207601219415665,
-0.03463895246386528,
-0.00894116796553135,
0.012955005280673504,
0.0024913472589105368,
-0.035727761685848236,
-0.05547399818897247,
0.007778539322316647,
-0.025227196514606476,
0.02351093478500843,
0.016599753871560097,
-0.01205073855817318,
0.06820754706859589,
0.039677008986473083,
0.0014578994596377015,
0.013647045940160751,
-0.012918096035718918,
0.0154555793851614,
0.02413838542997837,
0.006500570569187403,
-0.002061128383502364,
0.08496416360139847,
0.03626294061541557,
0.07204607129096985,
0.031686246395111084,
-0.0154555793851614,
0.05632289871573448,
0.033513233065605164,
0.00880275946110487,
-0.013351775705814362,
0.03164933621883392,
0.01732870377600193,
0.017217976972460747,
-0.002387541113421321,
0.051820021122694016,
0.031409427523612976,
0.08370926231145859,
0.06385230273008347,
-0.0013506331015378237,
-0.006625137757509947,
-0.026297552511096,
-0.10533785074949265,
0.040931910276412964,
-0.030136073008179665,
0.021167224273085594,
0.0035432493314146996,
-0.02044750191271305,
-0.037222571671009064,
0.03904955834150314,
-0.03196306154131889,
-0.004452129825949669,
0.04720641300082207,
0.03026525489985943,
-0.018435968086123466,
0.014615903608500957,
0.030468253418803215,
-0.07474041730165482,
0.09241975098848343,
0.049347128719091415,
0.0064036850817501545,
-0.0027197205927222967,
0.04325716942548752,
-0.006071505136787891,
0.006168391089886427,
0.03679811954498291,
0.013665500096976757,
-0.013268730603158474,
0.01670125313103199,
-0.001890424988232553,
0.01702420599758625,
0.020207593217492104,
0.03565394505858421,
0.05233674496412277,
-0.03676120936870575,
-0.03373468667268753,
0.05824216082692146,
-0.025522466748952866,
-0.004821218084543943,
0.0033633187413215637,
0.019303327426314354,
-0.04266662523150444,
-0.021130314096808434,
-0.007538632024079561,
-0.0537392795085907,
-0.03904955834150314,
0.0408950038254261,
0.013065732084214687,
0.033863868564367294,
0.06555011123418808,
-0.01668279804289341,
-0.03679811954498291,
-0.009559391066432,
-0.03580158203840256,
-0.011091108433902264,
-0.009946933947503567,
-0.01818683370947838,
0.004537481348961592,
-0.040341369807720184,
0.02168394811451435,
-0.02877044677734375,
0.06584538519382477,
0.012835051864385605,
0.011524787172675133,
-0.010113024152815342,
0.010934245772659779,
0.03153860941529274,
0.0044267550110816956,
-0.019044965505599976,
0.03176006302237511,
-0.004034598357975483,
0.019930778071284294,
0.0025674717035144567,
-0.01854669488966465,
-0.00580391613766551,
0.023695480078458786,
-0.05850052088499069,
0.044069163501262665,
0.008908872492611408,
0.01006688829511404,
-0.044622793793678284,
-0.04798150062561035,
-0.02662973292171955,
-0.00975316297262907,
-0.059570878744125366,
-0.01671048067510128,
0.02316030114889145,
0.032627418637275696,
-0.010094569995999336,
-0.015916939824819565,
-0.005038057453930378,
-0.03163088113069534,
0.015520170331001282,
-0.0269619133323431,
0.041596271097660065,
0.031704697757959366,
-0.02441520243883133,
-0.0507865734398365,
0.026094553992152214,
-0.031021885573863983,
0.007404837291687727,
-0.04078427702188492,
0.02812454104423523,
-0.009559391066432,
0.030560525134205818,
-0.03749938681721687,
0.016885796561837196,
-0.022754304111003876,
0.01559398788958788,
-0.01767010986804962,
-0.022440578788518906,
-0.0032710465602576733,
0.042814262211322784,
0.02880735509097576,
-0.026352915912866592,
0.16003675758838654,
-0.023603206500411034,
0.04292498901486397,
-0.011367924511432648,
-0.022440578788518906,
0.014883492141962051,
-0.03853283450007439,
0.02633446268737316,
0.01705188676714897,
-0.027367910370230675,
0.040931910276412964,
0.031058793887495995,
-0.05015912279486656,
0.0046989573165774345,
0.09574154764413834,
-0.05916488170623779,
0.05045439302921295,
-0.08688342571258545,
-0.004470583982765675,
-0.02260666899383068,
-0.006897340528666973,
-0.0753309577703476,
0.0016286028549075127,
-0.0746665969491005,
-0.057393256574869156,
-0.0017266420181840658,
-0.016009211540222168,
-0.05850052088499069,
0.005079580005258322,
-0.007534018252044916,
0.01699652336537838,
0.07027444243431091,
0.015400215983390808,
-0.003391000209376216,
0.040673550218343735,
0.0281983595341444,
-0.08083037286996841,
-0.003012684639543295,
-0.06156395748257637,
-0.028918081894516945,
-0.08083037286996841,
-0.016802752390503883,
-0.05074966326355934,
0.02441520243883133,
-0.05632289871573448,
0.05960778892040253,
0.010223750956356525,
0.053997643291950226,
0.012373690493404865,
0.0487934947013855,
-0.028918081894516945,
-0.04484424740076065,
-0.017845427617430687,
0.023400207981467247,
0.014191451482474804,
-0.011829284951090813,
-0.004359857644885778,
0.020281411707401276,
0.0017243351321667433,
0.029619349166750908,
-0.071713887155056,
0.005900801625102758,
-0.012152237817645073,
-0.012807370163500309,
-0.037905383855104446,
-0.014772766269743443,
0.012106101959943771,
-0.021499402821063995,
-0.012724325060844421,
0.012465963140130043,
0.0272018201649189,
-0.0040945750661194324,
0.04104263707995415,
0.0006735864444635808,
-0.018020743504166603,
0.022016126662492752,
-0.04787077382206917,
-0.0036885777954012156,
0.0140991797670722,
-0.0946342796087265,
0.011534014716744423,
-0.05266892537474632,
0.03401150181889534,
-0.017245657742023468,
0.051524750888347626,
0.08311872184276581,
-0.012761233374476433,
-0.03805302083492279,
0.019247964024543762,
-0.06573465466499329,
0.052705831825733185,
-0.0730426087975502,
0.003979234956204891,
-0.021499402821063995,
-0.05111875385046005,
0.03648439422249794,
-0.020207593217492104,
-0.057393256574869156,
-0.00104440504219383,
0.021776219829916954,
0.0188788753002882,
0.04119027405977249,
-0.0203552283346653,
-0.05200456455349922,
-0.04768623039126396,
0.023695480078458786,
0.02223758026957512,
0.013453274965286255,
-0.007709335535764694,
0.00266897096298635,
0.030468253418803215,
0.03153860941529274,
0.018749693408608437,
0.036668937653303146,
-0.002957321237772703,
-0.03192615136504173,
-0.02223758026957512,
0.0007652818458154798,
0.024525929242372513,
-0.012143010273575783,
0.022717395797371864,
-0.028641264885663986,
0.05790998041629791,
-0.016627434641122818,
0.0309111587703228,
-0.0784682109951973,
-0.0332917794585228,
-0.007104952819645405,
0.02722027525305748,
0.0395662821829319,
-0.015483261086046696,
-0.03063434176146984,
-0.007307951804250479,
0.005379464477300644,
-0.002477506408467889,
0.060788869857788086,
0.028235267847776413,
-0.027460182085633278,
0.017107250168919563,
0.011367924511432648,
-0.007524791173636913,
-0.013564000837504864,
-0.058352887630462646,
-0.07093880325555801,
0.08917177468538284,
0.06425829976797104,
0.020004594698548317,
0.016018439084291458,
-0.02317875623703003,
0.013001141138374805,
-0.026205280795693398,
-0.012585916556417942,
0.0019734699744731188,
0.04709568992257118,
0.024950379505753517,
-0.018795829266309738,
0.011164925992488861,
0.00941636972129345,
0.07795148342847824,
-0.011460197158157825,
-0.034159138798713684,
-0.0002661473990883678,
-0.034159138798713684,
-0.06263431161642075,
0.02197921834886074,
0.03342096135020256,
0.04820295423269272,
0.07252588123083115,
0.005098034627735615,
-0.024895017966628075,
0.05683962255716324,
-0.011700103990733624,
-0.04052591323852539,
-0.04211299493908882,
0.01173701323568821,
-0.003208762966096401,
-0.04705877974629402,
-0.003815452102571726,
0.005324101075530052,
0.0015121093019843102,
0.026758912950754166,
0.04052591323852539,
-0.06178540736436844,
-0.0064913434907794,
0.04119027405977249,
-0.016627434641122818,
-0.02131485939025879,
-0.046172965317964554,
-0.04100572690367699,
0.021720856428146362,
0.0031441724859178066,
0.02039213851094246,
-0.003767009126022458,
0.10341858863830566,
0.003151092678308487,
0.03801611065864563,
-0.031058793887495995,
0.058648157864809036,
-0.03978773579001427,
-0.0296747125685215,
0.013065732084214687,
-0.049014948308467865,
0.010435976088047028,
0.009826980531215668,
-0.006717409938573837,
0.005951551720499992,
-0.02408302202820778,
-0.007031135261058807,
0.0036470554769039154,
0.0420391745865345,
-0.02074277214705944,
-0.03183387964963913,
-0.009361006319522858,
0.03255360201001167,
0.03521103784441948,
-0.020908862352371216,
0.01098038163036108,
0.008267581462860107,
-0.02415684051811695,
0.012816596776247025,
0.047723136842250824,
0.04569315165281296,
-0.0008465966675430536,
0.04178081452846527,
0.026076100766658783,
0.007898492738604546,
-0.006634365301579237,
0.053702373057603836,
-0.04233444854617119,
0.03500803932547569,
-0.012650507502257824,
0.004002302885055542,
-0.041264090687036514,
0.003850053995847702,
0.022957302629947662,
0.08651433885097504,
-0.033254869282245636,
-0.027736999094486237,
-0.017540929839015007,
-0.0031603199895471334,
0.02659282460808754,
-0.007077271118760109,
0.025873102247714996,
-0.04569315165281296,
-0.012788915075361729,
0.02445211075246334,
0.0011810831492766738,
-0.010445203632116318,
-0.0420391745865345,
0.0025674717035144567,
0.010694338008761406,
-0.08459507673978806,
-0.015870803967118263,
0.061379410326480865,
0.011847740039229393,
0.008664351888000965,
0.03808993101119995,
0.00819376390427351,
0.015935394912958145,
0.02692500315606594,
-0.07307951897382736,
0.02255130559206009,
0.02875199168920517,
0.03096652217209339,
0.011183380149304867,
0.016239892691373825,
-0.050306759774684906,
-0.0768442153930664,
-0.04115336388349533,
0.009771617129445076,
0.017836200073361397,
-0.0023437116760760546,
0.016295256093144417,
0.018915783613920212,
0.031077248975634575,
0.0438477098941803,
-0.04421679675579071,
-0.007760085165500641,
-0.08311872184276581,
-0.0008327558753080666,
-0.048387497663497925,
-0.00710956659168005,
0.0005570928915403783,
-0.041559360921382904,
0.026463642716407776,
-0.032608967274427414,
-0.053628552705049515,
-0.03441749885678291,
-0.054588183760643005,
0.05624908208847046,
-0.006260663270950317,
-0.040636640042066574,
0.06034596264362335,
0.002036907011643052,
-0.05514181777834892,
-0.011792376637458801,
-0.01377622690051794,
0.028918081894516945,
0.013988452963531017,
-0.03871738165616989,
0.04207608476281166,
-0.021185677498579025,
0.09677499532699585,
0.051487840712070465,
-0.15162153542041779,
0.045287154614925385,
0.02098267897963524,
-0.027681635692715645,
0.004059973172843456,
0.059829238802194595,
-0.00078373629366979,
0.004048439208418131,
0.0031234112102538347,
0.015252580866217613,
-0.05466200038790703,
-0.049937669187784195,
-0.04635751247406006,
0.00048385190893895924,
-0.0433678962290287,
-0.01857437752187252,
0.00803228747099638,
-0.00925489328801632,
0.0015490181976929307,
-0.012447508983314037,
-0.01798383519053459,
-0.06252358853816986,
0.04908876493573189,
-0.015058808960020542,
0.059238698333501816,
-0.02445211075246334,
-0.007700107991695404,
0.04886731132864952,
0.040636640042066574,
0.054588183760643005,
0.10120406001806259,
0.0847427099943161,
-0.027700088918209076,
0.012733551673591137,
-0.028715083375573158,
0.019949231296777725,
0.003054206958040595,
0.030671251937747,
-0.010435976088047028,
0.021111860871315002,
0.013877726159989834,
0.022200671955943108,
0.016830433160066605,
-0.0697208121418953,
-0.03923410549759865,
-0.04613605886697769,
0.01758706569671631,
0.029545532539486885,
0.03952937573194504,
-0.011238743551075459,
0.018491331487894058,
-0.028253722935914993,
0.053702373057603836,
-0.06687883287668228,
0.0039469399489462376,
-0.07795148342847824,
-0.03249824047088623,
-0.035118766129016876,
0.03126179426908493,
-0.0420391745865345,
0.04429061710834503,
0.026814276352524757,
-0.003725486807525158,
0.04702186957001686,
-0.05130329728126526,
-0.00801844708621502,
-0.021074950695037842,
-0.012752006761729717,
0.05938633531332016,
0.01766088232398033,
-0.01860205829143524,
0.0027404818683862686,
-0.0094394376501441,
-0.05624908208847046,
-0.007584767881780863,
-0.02849362976849079,
-0.016018439084291458,
0.0294348057359457,
-0.019617052748799324,
0.03454668074846268,
0.004299880471080542,
0.07178770750761032,
0.00478892307728529,
-0.0718984305858612,
0.03164933621883392,
-0.06053050979971886,
-0.003197228768840432,
-0.01698729582130909,
-0.012595144100487232,
-0.001608995022252202,
0.028216812759637833,
0.013536319136619568,
0.0384221076965332,
-0.036650486290454865,
-0.019026510417461395,
0.006066891830414534,
0.02537483163177967,
0.006297572050243616,
-0.028899626806378365,
-0.05990305915474892,
0.0371856614947319,
-0.03096652217209339,
0.042223721742630005,
-0.009467119351029396,
-0.01860205829143524,
-0.05248437821865082,
-0.01159860473126173,
-0.023252572864294052,
0.02068740874528885,
-0.06097341328859329,
0.023437118157744408,
-0.002380620688199997,
-0.002477506408467889,
-0.036908846348524094,
-0.008101492188870907,
-0.045582424849271774,
0.03118797577917576,
0.013444047421216965,
-0.026352915912866592,
0.025504013523459435,
0.023031121119856834,
0.0010628594318404794,
0.0347127690911293,
0.027460182085633278,
-0.0016355232801288366,
-0.021480949595570564,
0.05266892537474632,
0.001348326331935823,
0.010020751506090164,
0.050306759774684906,
-0.04521333798766136,
0.011238743551075459,
-0.023400207981467247,
-0.01531717088073492,
0.05528945103287697,
-0.0445120707154274,
0.028936535120010376,
-0.019284872338175774,
-0.0028719697147607803,
0.03421450033783913,
0.04078427702188492,
-0.03989846259355545,
-0.032664328813552856,
-0.008525943383574486,
0.0562121719121933,
0.005697803106158972,
0.026685096323490143,
-0.07429751008749008,
-0.008212218061089516,
-0.0037024186458438635,
-0.008013833314180374,
-0.06643592566251755,
0.01112801767885685,
0.009310256689786911,
-0.033254869282245636,
-0.011856966651976109,
0.0016459039179608226,
-0.010131478309631348,
-0.005983846727758646,
0.005264124367386103,
0.038163747638463974,
0.0063898442313075066,
-0.01854669488966465,
-0.00944866519421339,
-0.03853283450007439,
-0.020650500431656837,
0.03002534620463848,
0.005476349964737892,
-0.01795615442097187,
-0.03521103784441948,
-0.03128024935722351,
0.018657421693205833,
0.0699053555727005,
0.006016142200678587,
0.0020472875330597162,
-0.04052591323852539,
-0.007875424809753895,
0.06101032346487045,
-0.021222587674856186,
0.010860428214073181,
-0.017430203035473824,
-0.04510261118412018,
0.015234126709401608,
0.02321566455066204,
0.033254869282245636,
-0.021111860871315002,
-0.010482112877070904,
-0.02500574290752411,
0.027663180604577065,
0.07474041730165482,
0.017513247206807137,
0.02168394811451435,
0.06787537038326263,
0.03122488409280777
]
|
43,947 | pathlib | PurePath | Base class for manipulating paths without I/O.
PurePath represents a filesystem path and offers operations which
don't imply any actual filesystem I/O. Depending on your system,
instantiating a PurePath will return either a PurePosixPath or a
PureWindowsPath object. You can also instantiate either of these classes
directly, regardless of your system.
| class PurePath(object):
"""Base class for manipulating paths without I/O.
PurePath represents a filesystem path and offers operations which
don't imply any actual filesystem I/O. Depending on your system,
instantiating a PurePath will return either a PurePosixPath or a
PureWindowsPath object. You can also instantiate either of these classes
directly, regardless of your system.
"""
__slots__ = (
'_drv', '_root', '_parts',
'_str', '_hash', '_pparts', '_cached_cparts',
)
def __new__(cls, *args):
"""Construct a PurePath from one or several strings and or existing
PurePath objects. The strings and path objects are combined so as
to yield a canonicalized path, which is incorporated into the
new PurePath object.
"""
if cls is PurePath:
cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
return cls._from_parts(args)
def __reduce__(self):
# Using the parts tuple helps share interned path parts
# when pickling related paths.
return (self.__class__, tuple(self._parts))
@classmethod
def _parse_args(cls, args):
# This is useful when you don't want to create an instance, just
# canonicalize some constructor arguments.
parts = []
for a in args:
if isinstance(a, PurePath):
parts += a._parts
else:
a = os.fspath(a)
if isinstance(a, str):
# Force-cast str subclasses to str (issue #21127)
parts.append(str(a))
else:
raise TypeError(
"argument should be a str object or an os.PathLike "
"object returning str, not %r"
% type(a))
return cls._flavour.parse_parts(parts)
@classmethod
def _from_parts(cls, args):
# We need to call _parse_args on the instance, so as to get the
# right flavour.
self = object.__new__(cls)
drv, root, parts = self._parse_args(args)
self._drv = drv
self._root = root
self._parts = parts
return self
@classmethod
def _from_parsed_parts(cls, drv, root, parts):
self = object.__new__(cls)
self._drv = drv
self._root = root
self._parts = parts
return self
@classmethod
def _format_parsed_parts(cls, drv, root, parts):
if drv or root:
return drv + root + cls._flavour.join(parts[1:])
else:
return cls._flavour.join(parts)
def _make_child(self, args):
drv, root, parts = self._parse_args(args)
drv, root, parts = self._flavour.join_parsed_parts(
self._drv, self._root, self._parts, drv, root, parts)
return self._from_parsed_parts(drv, root, parts)
def __str__(self):
"""Return the string representation of the path, suitable for
passing to system calls."""
try:
return self._str
except AttributeError:
self._str = self._format_parsed_parts(self._drv, self._root,
self._parts) or '.'
return self._str
def __fspath__(self):
return str(self)
def as_posix(self):
"""Return the string representation of the path with forward (/)
slashes."""
f = self._flavour
return str(self).replace(f.sep, '/')
def __bytes__(self):
"""Return the bytes representation of the path. This is only
recommended to use under Unix."""
return os.fsencode(self)
def __repr__(self):
return "{}({!r})".format(self.__class__.__name__, self.as_posix())
def as_uri(self):
"""Return the path as a 'file' URI."""
if not self.is_absolute():
raise ValueError("relative path can't be expressed as a file URI")
return self._flavour.make_uri(self)
@property
def _cparts(self):
# Cached casefolded parts, for hashing and comparison
try:
return self._cached_cparts
except AttributeError:
self._cached_cparts = self._flavour.casefold_parts(self._parts)
return self._cached_cparts
def __eq__(self, other):
if not isinstance(other, PurePath):
return NotImplemented
return self._cparts == other._cparts and self._flavour is other._flavour
def __hash__(self):
try:
return self._hash
except AttributeError:
self._hash = hash(tuple(self._cparts))
return self._hash
def __lt__(self, other):
if not isinstance(other, PurePath) or self._flavour is not other._flavour:
return NotImplemented
return self._cparts < other._cparts
def __le__(self, other):
if not isinstance(other, PurePath) or self._flavour is not other._flavour:
return NotImplemented
return self._cparts <= other._cparts
def __gt__(self, other):
if not isinstance(other, PurePath) or self._flavour is not other._flavour:
return NotImplemented
return self._cparts > other._cparts
def __ge__(self, other):
if not isinstance(other, PurePath) or self._flavour is not other._flavour:
return NotImplemented
return self._cparts >= other._cparts
def __class_getitem__(cls, type):
return cls
drive = property(attrgetter('_drv'),
doc="""The drive prefix (letter or UNC path), if any.""")
root = property(attrgetter('_root'),
doc="""The root of the path, if any.""")
@property
def anchor(self):
"""The concatenation of the drive and root, or ''."""
anchor = self._drv + self._root
return anchor
@property
def name(self):
"""The final path component, if any."""
parts = self._parts
if len(parts) == (1 if (self._drv or self._root) else 0):
return ''
return parts[-1]
@property
def suffix(self):
"""
The final component's last suffix, if any.
This includes the leading period. For example: '.txt'
"""
name = self.name
i = name.rfind('.')
if 0 < i < len(name) - 1:
return name[i:]
else:
return ''
@property
def suffixes(self):
"""
A list of the final component's suffixes, if any.
These include the leading periods. For example: ['.tar', '.gz']
"""
name = self.name
if name.endswith('.'):
return []
name = name.lstrip('.')
return ['.' + suffix for suffix in name.split('.')[1:]]
@property
def stem(self):
"""The final path component, minus its last suffix."""
name = self.name
i = name.rfind('.')
if 0 < i < len(name) - 1:
return name[:i]
else:
return name
def with_name(self, name):
"""Return a new path with the file name changed."""
if not self.name:
raise ValueError("%r has an empty name" % (self,))
drv, root, parts = self._flavour.parse_parts((name,))
if (not name or name[-1] in [self._flavour.sep, self._flavour.altsep]
or drv or root or len(parts) != 1):
raise ValueError("Invalid name %r" % (name))
return self._from_parsed_parts(self._drv, self._root,
self._parts[:-1] + [name])
def with_stem(self, stem):
"""Return a new path with the stem changed."""
return self.with_name(stem + self.suffix)
def with_suffix(self, suffix):
"""Return a new path with the file suffix changed. If the path
has no suffix, add given suffix. If the given suffix is an empty
string, remove the suffix from the path.
"""
f = self._flavour
if f.sep in suffix or f.altsep and f.altsep in suffix:
raise ValueError("Invalid suffix %r" % (suffix,))
if suffix and not suffi | (*args) | [
0.05815548449754715,
-0.008894063532352448,
-0.053022898733615875,
0.03882551193237305,
0.009240719489753246,
-0.05529944971203804,
0.00521795405074954,
0.054306045174598694,
0.018305525183677673,
-0.045779332518577576,
0.05480274558067322,
0.053064290434122086,
0.002526193391531706,
0.04664856195449829,
-0.02909843809902668,
0.02893286943435669,
0.02812572941184044,
0.022123917937278748,
0.007590221706777811,
0.017363861203193665,
0.013255724683403969,
0.010368646122515202,
0.02462812326848507,
0.0040201786905527115,
0.01585306040942669,
0.047103870660066605,
0.012448584660887718,
0.03669383376836777,
0.03878412023186684,
-0.08435649424791336,
0.011010219343006611,
0.012841806747019291,
0.017136206850409508,
-0.005882809869945049,
0.02785668335855007,
-0.03805976361036301,
0.022848274558782578,
0.03505885601043701,
0.027877379208803177,
-0.039094556123018265,
-0.023593327030539513,
-0.02667701616883278,
-0.005285215564072132,
-0.026263099163770676,
0.012396845035254955,
0.04768335819244385,
-0.010792912915349007,
0.05981115624308586,
-0.014073212631046772,
0.022227397188544273,
0.011786315590143204,
-0.015749581158161163,
-0.01742594875395298,
-0.027711812406778336,
-0.015480534173548222,
0.06825508177280426,
0.05360238254070282,
0.05972837284207344,
-0.029160525649785995,
-0.03588669374585152,
0.011134394444525242,
-0.0015276161720976233,
0.02990557812154293,
-0.010254818946123123,
-0.04486871510744095,
-0.03234769403934479,
-0.015294271521270275,
-0.04333721846342087,
-0.04983573034405708,
0.05053938925266266,
-0.04958738014101982,
-0.004253007937222719,
0.012272669933736324,
-0.04213685542345047,
0.03207864612340927,
0.016774028539657593,
-0.023758893832564354,
-0.0029595138039439917,
0.06552322208881378,
-0.013659294694662094,
-0.037604451179504395,
-0.01908162049949169,
-0.026014747098088264,
-0.07827189564704895,
0.014011125080287457,
0.0623774453997612,
0.027794595807790756,
-0.02586987614631653,
0.0005228949012234807,
0.031457770615816116,
-0.035348597913980484,
0.04375113546848297,
-0.0009390765335410833,
0.04358556866645813,
-0.015749581158161163,
-0.06212909519672394,
0.000931315531488508,
-0.038204632699489594,
0.009426983073353767,
-0.01998189277946949,
-0.0462760366499424,
0.0026193249505013227,
-0.042799122631549835,
-0.0074246544390916824,
0.02611822821199894,
0.014269824139773846,
-0.014963136985898018,
-0.006312249694019556,
-0.024007245898246765,
-0.07318070530891418,
-0.0547199621796608,
-0.007729919161647558,
0.0034562156070023775,
0.008961325511336327,
-0.015325315296649933,
-0.004519467242062092,
-0.022082526236772537,
-0.04615186154842377,
0.0454895906150341,
-0.05691372975707054,
0.006053551100194454,
0.037894196808338165,
-0.06250162422657013,
0.04673134535551071,
0.017560472711920738,
-0.009406287223100662,
0.015749581158161163,
0.030733413994312286,
-0.017374210059642792,
-0.02837408147752285,
0.012852154672145844,
0.06924848258495331,
-0.005285215564072132,
0.013928341679275036,
0.010834304615855217,
0.03967404365539551,
-0.06502652168273926,
0.02560083009302616,
-0.04491010680794716,
0.061797961592674255,
0.03971543535590172,
-0.030402278527617455,
0.002303712535649538,
0.006922779139131308,
-0.005448196083307266,
0.03195447102189064,
0.03911525383591652,
-0.060183681547641754,
-0.017860563471913338,
0.03387919068336487,
-0.034189630299806595,
-0.0134833799675107,
0.030816197395324707,
0.040874406695365906,
0.061756569892168045,
-0.061756569892168045,
-0.050001297146081924,
-0.03332040086388588,
-0.0003080132300965488,
0.012986677698791027,
-0.031892385333776474,
-0.09851249307394028,
0.03971543535590172,
-0.020126763731241226,
0.00586728798225522,
0.029077742248773575,
-0.005264519713819027,
-0.06134265288710594,
-0.010591127909719944,
0.039260122925043106,
0.05782434716820717,
0.042364511638879776,
-0.041226234287023544,
0.0055723716504871845,
-0.03098176419734955,
0.026304490864276886,
0.010342776775360107,
0.011631096713244915,
-0.00441081402823329,
-0.050084080547094345,
0.02262062020599842,
-0.04221963882446289,
0.0009752943296916783,
0.02297244966030121,
0.04544819891452789,
0.06746863573789597,
0.004555685445666313,
0.011134394444525242,
0.08510154485702515,
0.03541068732738495,
-0.1014099195599556,
0.034748420119285583,
0.03162333741784096,
0.05827965959906578,
0.037294015288352966,
-0.033858492970466614,
0.01640150137245655,
-0.01887466199696064,
0.004289225675165653,
0.04884232580661774,
-0.061922136694192886,
0.027711812406778336,
0.0390324704349041,
-0.037604451179504395,
-0.013586859218776226,
0.0006357522215694189,
0.02994696982204914,
0.01998189277946949,
-0.009168284013867378,
0.034996770322322845,
-0.014952789060771465,
-0.05252619832754135,
-0.01314189750701189,
-0.013742078095674515,
0.018502134829759598,
-0.04238520562648773,
0.023717502132058144,
0.05389212816953659,
0.033548057079315186,
0.048759542405605316,
0.018440047279000282,
0.058859143406152725,
0.0022894840221852064,
0.03669383376836777,
-0.038535770028829575,
-0.05484413728117943,
0.004058983642607927,
0.04598629102110863,
0.03855646401643753,
-0.019309276714920998,
0.00913724023848772,
-0.06366059184074402,
-0.01027034129947424,
0.0066899498924613,
-0.006270857993513346,
0.0033993017859756947,
0.03067132644355297,
0.034065455198287964,
-0.002572759287431836,
-0.011558661237359047,
-0.02700815163552761,
-0.04333721846342087,
-0.010068556293845177,
-0.01593584381043911,
-0.021461648866534233,
-0.03719053417444229,
0.037480276077985764,
-0.0034898463636636734,
0.034355197101831436,
-0.014383651316165924,
-0.003805458778515458,
0.05931445211172104,
-0.01682576723396778,
-0.003580390941351652,
0.012065710499882698,
0.00014713492419105023,
-0.07227008789777756,
-0.010948131792247295,
0.005088604521006346,
0.03408614918589592,
-0.0273599810898304,
0.0013148364378139377,
0.013152245432138443,
0.0015508991200476885,
0.0021187427919358015,
-0.0466899536550045,
0.010404864326119423,
-0.039860304445028305,
-0.03650756925344467,
0.020043980330228806,
0.015573665499687195,
0.009318329393863678,
-0.07355323433876038,
0.06957962363958359,
-0.05807269737124443,
0.02522830292582512,
-0.029408875852823257,
-0.04342000186443329,
0.004284051712602377,
0.009965076111257076,
-0.017415601760149002,
-0.00045207608491182327,
-0.027318589389324188,
-0.008154185488820076,
0.003652826650068164,
0.0037200881633907557,
-0.03002975322306156,
-0.041474584490060806,
-0.02764972485601902,
0.01883327029645443,
0.03528651222586632,
-0.020126763731241226,
0.01521148718893528,
-0.023800287395715714,
0.07905834168195724,
0.0021019275300204754,
-0.06005950644612312,
-0.09876084327697754,
0.00833010021597147,
-0.10331393778324127,
-0.027215110138058662,
0.02078903280198574,
0.026552841067314148,
0.04242659732699394,
0.002392963506281376,
-0.04590350762009621,
-0.015615057200193405,
-0.020375113934278488,
0.012386497110128403,
0.023200105875730515,
0.0068399952724576,
-0.032699525356292725,
-0.016711940988898277,
0.03936360403895378,
0.05521666631102562,
0.07111112028360367,
0.016680896282196045,
-0.006824473384767771,
-0.017622560262680054,
0.041598763316869736,
-0.036072954535484314,
0.0805070549249649,
-0.05178114399313927,
0.053022898733615875,
-0.013669642619788647,
-0.022227397188544273,
0.004933385644108057,
0.051656968891620636,
-0.002931057009845972,
0.0039037643000483513,
-0.04611046984791756,
0.03803906589746475,
-0.016815420240163803,
0.024855777621269226,
-0.005655155051499605,
0.03685940057039261,
0.029636530205607414,
-0.05401630327105522,
0.021358169615268707,
-0.0015496056294068694,
0.09760186821222305,
0.02824990451335907,
-0.028746606782078743,
-0.02342776022851467,
-0.010358298197388649,
-0.018688399344682693,
0.042964689433574677,
0.040543269366025925,
0.01191049162298441,
-0.012355453334748745,
0.015956539660692215,
-0.0400465689599514,
-0.0704074576497078,
-0.024524642154574394,
0.006964170839637518,
-0.026573536917567253,
-0.033382490277290344,
0.0025973357260227203,
0.0043021603487432,
-0.003629543585702777,
0.07400853931903839,
-0.0034277585800737143,
-0.024772994220256805,
-0.013266072608530521,
-0.018885010853409767,
-0.06490234285593033,
0.030816197395324707,
0.0019428277155384421,
-0.03325831517577171,
-0.02125469036400318,
-0.0019674040377140045,
-0.044330619275569916,
0.06978657841682434,
-0.09346269071102142,
0.05480274558067322,
0.015045920386910439,
0.04515845701098442,
-0.020292330533266068,
-0.008785409852862358,
0.03814254701137543,
0.02953305095434189,
0.02880869433283806,
0.013017721474170685,
0.0285810399800539,
-0.02659423276782036,
0.02926400490105152,
0.07355323433876038,
-0.00567585090175271,
0.057493213564157486,
0.015190791338682175,
-0.026904672384262085,
0.024648819118738174,
0.050208255648612976,
-0.002513258485123515,
-0.009323503822088242,
-0.017187945544719696,
0.02990557812154293,
0.0006473936373367906,
-0.03174751251935959,
0.00022377443383447826,
0.01836761273443699,
-0.03586599603295326,
0.00201785028912127,
0.07905834168195724,
0.018885010853409767,
-0.02837408147752285,
0.10712198168039322,
0.04491010680794716,
-0.02615961991250515,
0.007590221706777811,
-0.03516233712434769,
-0.04474454000592232,
-0.03174751251935959,
-0.008309404365718365,
0.021958351135253906,
0.017829518765211105,
-0.03481050580739975,
-0.06432285904884338,
0.0841081440448761,
0.011724228039383888,
-0.06581296771764755,
-0.0014939854154363275,
-0.023282889276742935,
0.03737679868936539,
0.04913207143545151,
0.007269435562193394,
-0.023614022880792618,
0.008433579467236996,
0.022061830386519432,
-0.0027706637047231197,
0.002897426253184676,
0.022082526236772537,
-0.07061441242694855,
-0.018429700285196304,
-0.017694994807243347,
-0.039053164422512054,
0.003044884419068694,
-0.030816197395324707,
0.009877119213342667,
-0.016349762678146362,
-0.05960419401526451,
0.007585047744214535,
-0.027380676940083504,
0.007600569631904364,
0.01191049162298441,
-0.042757730931043625,
-0.011362049728631973,
0.012593455612659454,
-0.012924590148031712,
-0.013990429230034351,
-0.015408098697662354,
0.0016194542404264212,
0.006343293935060501,
-0.0027810116298496723,
-0.035803910344839096,
-0.030360886827111244,
0.011537965387105942,
0.0033191051334142685,
-0.04925624653697014,
0.014807917177677155,
-0.01241754088550806,
0.06382615864276886,
0.10323115438222885,
-0.026946064084768295,
-0.000931315531488508,
0.0003838443080894649,
0.06283275783061981,
0.028353385627269745,
-0.05343681573867798,
-0.04515845701098442,
0.02555943839251995,
-0.054306045174598694,
-0.02744276449084282,
0.06250162422657013,
0.025042040273547173,
0.00954598467797041,
-0.015190791338682175,
-0.0017759670736268163,
-0.04375113546848297,
-0.07309792190790176,
-0.009949554689228535,
-0.03971543535590172,
-0.020695900544524193,
0.025849180296063423,
0.005805200431495905,
-0.01386625412851572,
0.0571620799601078,
0.038287416100502014,
0.0024459967389702797,
-0.0555477999150753,
0.03255465254187584,
0.05380934476852417,
-0.04743500426411629,
0.07198034226894379,
-0.0003055879205930978,
0.07578839361667633,
-0.027380676940083504,
0.0194231029599905,
-0.005681024864315987,
-0.054637178778648376,
0.012541715987026691,
-0.050042688846588135,
-0.010058208368718624,
0.01406286470592022,
0.014135300181806087,
0.060307856649160385,
-0.03992239385843277,
-0.01386625412851572,
-0.00157676893286407,
-0.047145262360572815,
-0.010937783867120743,
-0.051408618688583374,
0.024131420999765396,
-0.020043980330228806,
-0.010363472625613213,
0.04540680721402168,
-0.02096494846045971,
-0.011248222552239895,
0.007885138504207134,
-0.0010503169614821672,
-0.03315483406186104,
-0.021058078855276108,
0.004928211681544781,
-0.054595787078142166,
-0.03373431786894798,
0.0020463073160499334,
0.021544434130191803,
0.008531885221600533,
0.07756824046373367,
0.04383391886949539,
-0.0004304100584704429,
0.0350174643099308,
0.026987455785274506,
0.024131420999765396,
0.07744406163692474,
0.06419868767261505,
-0.032389085739851,
0.00611563865095377,
-0.0018380547408014536,
-0.011082654818892479,
0.024731602519750595,
0.05401630327105522,
-0.007295305375009775,
-0.009406287223100662,
0.025580134242773056,
-0.0368180088698864,
0.0651920884847641,
-0.03743888437747955,
0.0507049597799778,
-0.026180315762758255,
0.0005060794646851718,
0.0034303455613553524,
0.042840514332056046,
0.04145389050245285,
-0.010327254422008991,
-0.02301384136080742,
0.043088868260383606,
-0.06792394816875458,
-0.030133232474327087,
-0.030153928324580193,
-0.05405769497156143,
0.04764196649193764,
-0.010513518005609512,
-0.04693830385804176,
0.027504852041602135,
0.008107619360089302,
0.041991982609033585,
0.00320010376162827,
0.024048637598752975,
-0.06585435569286346,
-0.008211098611354828,
0.08303195238113403,
0.014011125080287457,
0.005029104184359312,
-0.027835987508296967,
0.035596951842308044,
0.004289225675165653,
0.018605615943670273,
0.026573536917567253,
-0.04379252716898918,
0.0368180088698864,
0.014031820930540562,
-0.036880094558000565,
-0.0012495149858295918,
-0.020633812993764877,
-0.027132326737046242,
0.0030164276249706745,
0.05972837284207344,
-0.06138404458761215,
-0.054637178778648376,
-0.03505885601043701,
-0.050208255648612976,
0.03445867449045181,
-0.0184090044349432,
0.010554909706115723,
-0.036755919456481934,
-0.03601086884737015,
-0.018781529739499092,
0.03888759762048721,
-0.004209029022604227,
-0.023531239479780197,
-0.018129609525203705,
0.0012546890648081899,
0.014414695091545582,
0.018553875386714935,
-0.02909843809902668,
0.023117322474718094,
0.02100634016096592,
-0.04946320503950119,
0.017705343663692474,
0.01946449466049671,
0.08179020136594772,
0.021710000932216644,
-0.0040563964284956455,
-0.02824990451335907,
0.021482344716787338,
-0.04383391886949539,
-0.042074766010046005,
-0.009240719489753246,
0.02539387159049511,
-0.049959905445575714,
-0.033134136348962784,
0.0020579486154019833,
-0.004904928617179394,
-0.05107748508453369,
-0.03127150610089302,
0.0027810116298496723,
0.0011829001596197486,
-0.032099343836307526,
-0.06068038195371628,
0.02326219342648983,
-0.05277454853057861,
-0.012427888810634613,
-0.0005652568070217967,
0.010239297524094582,
-0.07425689697265625,
-0.007538482081145048,
-0.01836761273443699,
0.018771182745695114,
0.037480276077985764,
-0.025207607075572014,
-0.06900013238191605,
-0.042033374309539795,
-0.0030371234752237797,
-0.058983318507671356,
-0.03557625412940979,
0.0025197260547429323,
-0.05848661810159683,
0.05227784812450409,
-0.005127409473061562,
0.022951753810048103,
0.044578973203897476,
-0.01517009548842907,
-0.045779332518577576,
0.0013219506945461035,
0.03505885601043701,
0.03375501558184624,
-0.07359462231397629,
0.003846850711852312,
0.054513003677129745,
0.013669642619788647,
-0.04478593170642853,
0.02342776022851467,
-0.0016841290052980185,
0.009721899405121803,
0.005003234371542931,
0.042592164129018784,
-0.009509766474366188,
0.017363861203193665,
-0.01597723551094532,
0.022020438686013222,
-0.003593325847759843,
-0.032057952135801315,
-0.0478903166949749,
-0.048469800502061844,
-0.046979695558547974,
0.02744276449084282,
0.036528266966342926,
0.030112536624073982,
0.003544173203408718,
0.013949037529528141,
0.03344457596540451,
-0.022827578708529472,
-0.003996896091848612,
0.071235291659832,
0.034665632992982864,
0.03174751251935959,
0.018595267087221146,
0.019329972565174103,
-0.09048248082399368,
0.024690210819244385,
0.022889666259288788,
0.037045665085315704,
0.027877379208803177,
-0.05418187007308006,
0.01092743594199419,
0.04784892499446869,
-0.04888371750712395,
-0.010182383470237255,
-0.06084594875574112,
0.06109429895877838,
0.014031820930540562,
-0.010301385074853897,
-0.053022898733615875,
0.023282889276742935,
0.01207605842500925,
-0.058900535106658936,
-0.008231794461607933,
-0.027939466759562492,
0.009773639030754566,
-0.01203466672450304,
0.06895874440670013,
0.05629285052418709,
-0.06966240704059601,
0.044372010976076126,
-0.052981507033109665,
0.010239297524094582,
-0.03485189750790596,
0.010275514796376228,
-0.015459838323295116,
0.006343293935060501,
-0.02117190696299076,
0.0873367041349411,
-0.00022086406534072012,
-0.007077998016029596,
0.013410944491624832,
-0.0007812702679075301,
-0.014011125080287457,
0.010896392166614532,
0.026180315762758255,
-0.052981507033109665,
0.033175528049468994,
-0.028353385627269745,
0.03054714947938919,
0.01487000472843647,
-0.05546501651406288,
0.05062217637896538,
-0.023883070796728134,
-0.011537965387105942,
0.07554004341363907,
0.0001806040818337351,
-0.015925496816635132,
-0.04884232580661774,
-0.01648428477346897,
-0.008293882012367249,
0.01895744539797306,
0.028912173584103584,
0.03497607260942459,
-0.013193637132644653,
0.034355197101831436,
0.0187090951949358,
-0.03888759762048721,
-0.041474584490060806,
0.008557755500078201,
0.018429700285196304,
-0.027670420706272125,
-0.02083042450249195,
0.010187556967139244,
0.019267885014414787,
-0.05256759002804756,
-0.05625145882368088,
-0.0006680895457975566,
0.00399430887773633,
0.03294787555932999,
0.06283275783061981,
0.042592164129018784,
-0.05823826789855957,
0.01806752197444439
]
|
43,974 | jsons.exceptions | SerializationError |
Raised when serialization failed for some reason.
| class SerializationError(JsonsError):
"""
Raised when serialization failed for some reason.
"""
| (message: str) | [
-0.042908791452646255,
-0.011071293614804745,
-0.0008134648087434471,
0.02288239449262619,
-0.00200973660685122,
-0.03181168809533119,
-0.058599572628736496,
0.06923214346170425,
0.045592740178108215,
-0.04545510187745094,
0.05381663888692856,
0.022899597883224487,
0.02000919170677662,
-0.002993636531755328,
-0.02849116176366806,
0.055468298494815826,
0.008955102413892746,
0.03146759420633316,
0.03936459869146347,
-0.021832900121808052,
-0.03981192409992218,
-0.018976902589201927,
-0.009763727895915508,
0.07466886192560196,
0.01092505268752575,
0.06276313960552216,
0.032000940293073654,
0.0011043335543945432,
0.041325949132442474,
-0.0188736729323864,
-0.07976149022579193,
-0.038641996681690216,
0.006043188739567995,
0.05068536475300789,
-0.015071411617100239,
0.005415213294327259,
-0.03602686524391174,
0.04077539220452309,
-0.13082535564899445,
0.013927292078733444,
-0.08471646904945374,
0.055227432399988174,
-0.09765448421239853,
-0.03788498789072037,
0.09476407617330551,
0.01133796852082014,
-0.028164269402623177,
0.06190289556980133,
-0.07384303212165833,
0.0071012843400239944,
-0.026770681142807007,
-0.008752945810556412,
0.01196594350039959,
0.037403251975774765,
-0.009032524190843105,
0.05034126713871956,
0.022108176723122597,
0.06647937744855881,
-0.01717900112271309,
0.00394850317388773,
-0.03981192409992218,
0.051201507449150085,
0.008172283880412579,
0.015389700420200825,
-0.019682299345731735,
-0.02080061286687851,
-0.05584680661559105,
-0.013247701339423656,
-0.02843954600393772,
0.01624133810400963,
0.043459344655275345,
0.058358706533908844,
-0.022211406379938126,
0.059287767857313156,
0.05863398313522339,
-0.012043365277349949,
-0.04868960380554199,
0.02064576931297779,
-0.0342547707259655,
0.004765731748193502,
0.060388874262571335,
-0.041429176926612854,
-0.045592740178108215,
-0.010709992609918118,
-0.01766933687031269,
-0.015768205747008324,
0.014942375011742115,
-0.04263351485133171,
-0.0962781012058258,
0.01342835184186697,
-0.06458684802055359,
0.020318876951932907,
-0.03613009676337242,
0.008297018706798553,
-0.03270633891224861,
0.013488569296896458,
-0.0018538179574534297,
-0.07226019352674484,
-0.00037339809932745993,
-0.038986094295978546,
0.037953805178403854,
0.044250763952732086,
-0.05054772272706032,
-0.017738156020641327,
0.004425936844199896,
-0.013350930996239185,
-0.002175332745537162,
-0.048724014312028885,
-0.0017806976102292538,
0.005342092830687761,
0.015062808990478516,
0.038504358381032944,
-0.061971716582775116,
0.011036884039640427,
0.02437921240925789,
-0.03767852857708931,
0.02506740391254425,
-0.003185040084645152,
-0.01657683216035366,
-0.011088498868048191,
0.07067734748125076,
0.005036707501858473,
-0.012843389064073563,
0.04662502929568291,
0.035510722547769547,
0.01221541315317154,
0.02138557657599449,
0.041773270815610886,
0.048276688903570175,
0.013660617172718048,
-0.018804853782057762,
0.0032323531340807676,
-0.025652367621660233,
-0.018133867532014847,
0.004040979314595461,
0.024362007156014442,
-0.018305914476513863,
-0.0021559775341302156,
-0.05674145370721817,
0.008486270904541016,
0.04720999300479889,
0.051098279654979706,
0.010529342107474804,
-0.032637521624565125,
0.011776690371334553,
0.013101461343467236,
-0.04831109941005707,
-0.03905491158366203,
-0.03344614431262016,
-0.0020054352935403585,
0.060285646468400955,
0.004157111514359713,
-0.011329365894198418,
-0.002104362938553095,
-0.019183360040187836,
-0.035028986632823944,
-0.022555502131581306,
-0.05078859254717827,
-0.0030947148334234953,
-0.003937750123441219,
-0.02919655852019787,
-0.030504124239087105,
0.04999716952443123,
-0.04404430836439133,
-0.02203935757279396,
0.03540749475359917,
-0.012499292381107807,
-0.05330049246549606,
-0.05777374282479286,
0.004916273523122072,
-0.03483973443508148,
0.03053853288292885,
-0.054332781583070755,
-0.0089378971606493,
0.005656080320477486,
0.017806975170969963,
0.03146759420633316,
0.09586519002914429,
-0.03877963498234749,
0.012344449758529663,
0.016267145052552223,
-0.03379024192690849,
0.010950859636068344,
0.020164035260677338,
0.03322248160839081,
0.0068002003245055676,
-0.009015318937599659,
0.009712113998830318,
0.08072495460510254,
0.004157111514359713,
0.037300024181604385,
0.018976902589201927,
-0.0002895246434491128,
-0.020972659811377525,
0.016886519268155098,
-0.027338439598679543,
-0.022710345685482025,
-0.03637096285820007,
0.04414753615856171,
0.04937779903411865,
-0.08939617872238159,
0.03413433954119682,
0.0037441961467266083,
-0.04012161120772362,
-0.02362219989299774,
0.016267145052552223,
-0.00321944965980947,
-0.037953805178403854,
0.012533701956272125,
-0.02283077873289585,
-0.04397548735141754,
-0.013144472613930702,
-0.0047786352224648,
0.07060852646827698,
0.05890925973653793,
-0.05023803934454918,
0.03788498789072037,
-0.04745085909962654,
0.01966509409248829,
-0.00581952603533864,
0.04442281275987625,
0.028508365154266357,
0.03637096285820007,
-0.03208696469664574,
-0.030917039141058922,
0.004103346727788448,
0.02353617735207081,
-0.04855196550488472,
-0.024895356968045235,
-0.03843554109334946,
0.004137756302952766,
0.008159380406141281,
0.00512703275308013,
0.008649717085063457,
-0.0037183889653533697,
0.02314046584069729,
0.00044651853386312723,
-0.07804100960493088,
0.034822531044483185,
-0.0610770657658577,
0.007092681713402271,
-0.05811784043908119,
-0.04710676148533821,
0.00041587246232666075,
0.03456445783376694,
0.005002297926694155,
0.00809056032449007,
0.05598444491624832,
-0.04493895545601845,
-0.011449798941612244,
0.040534526109695435,
0.019252179190516472,
-0.017505891621112823,
-0.023691019043326378,
0.0526123009622097,
-0.1295866072177887,
0.003167835297062993,
-0.018495168536901474,
0.057360827922821045,
0.017196204513311386,
-0.01342835184186697,
-0.033377327024936676,
-0.04215177893638611,
0.06936978548765182,
-0.037059154361486435,
-0.05742964893579483,
-0.006262550130486488,
0.03434079512953758,
0.0176177229732275,
0.06080178916454315,
0.0988244116306305,
-0.012654135935008526,
-0.00007144027767935768,
0.007238922640681267,
-0.04428517445921898,
-0.012069172225892544,
-0.0382290817797184,
0.015381097793579102,
0.05853075534105301,
0.017514493316411972,
0.015269266441464424,
-0.026426583528518677,
0.013488569296896458,
-0.002136622089892626,
0.009342210367321968,
-0.04696912318468094,
0.029058920219540596,
-0.029747111722826958,
-0.04899929091334343,
0.00045458326349034905,
0.06510299444198608,
-0.02427598275244236,
-0.03494296222925186,
0.0018151071853935719,
0.000805937685072422,
-0.044353995472192764,
-0.0674772560596466,
-0.023759840056300163,
0.057911381125450134,
-0.024310393258929253,
0.01270575076341629,
0.02138557657599449,
0.05027244612574577,
0.009909968823194504,
-0.03449564054608345,
-0.05426396429538727,
-0.015527338720858097,
0.014589676633477211,
-0.062074944376945496,
0.030211642384529114,
0.0034302084241062403,
0.01692953146994114,
-0.007092681713402271,
0.022899597883224487,
0.002228022553026676,
0.07528823614120483,
0.022211406379938126,
-0.017402661964297295,
0.033583782613277435,
0.0724666491150856,
-0.06124911457300186,
-0.002354908036068082,
0.026237331330776215,
-0.040328070521354675,
-0.012456280179321766,
-0.017540302127599716,
-0.0027635220903903246,
0.030848219990730286,
-0.017402661964297295,
-0.008142175152897835,
0.0034732206258922815,
-0.05147678405046463,
0.018598396331071854,
0.010073415003716946,
-0.041876502335071564,
-0.01561336312443018,
0.05918453633785248,
-0.05450483039021492,
0.024103935807943344,
-0.011320763267576694,
0.027028752490878105,
-0.02730402909219265,
0.05116709694266319,
0.021901719272136688,
-0.03657742217183113,
0.007690548896789551,
0.031502000987529755,
-0.003731292672455311,
0.008309922181069851,
0.003154931589961052,
-0.06417392939329147,
0.09462644159793854,
-0.008314223028719425,
0.04555832967162132,
-0.02585882507264614,
-0.04194531962275505,
-0.0026387872640043497,
-0.06589441001415253,
-0.013049846515059471,
-0.030813809484243393,
0.005096924025565386,
-0.019424227997660637,
-0.02224581688642502,
-0.019768323749303818,
-0.01777256652712822,
0.011974546127021313,
0.035958047956228256,
-0.10329766571521759,
0.046143293380737305,
-0.04204855114221573,
-0.024654489010572433,
-0.02869761921465397,
-0.03867640718817711,
0.016508013010025024,
-0.020680177956819534,
0.02025005780160427,
-0.003142027882859111,
0.02878364361822605,
-0.06413952261209488,
0.027269620448350906,
-0.006043188739567995,
-0.058943670243024826,
-0.04263351485133171,
-0.04084421321749687,
0.027441667392849922,
0.015346688218414783,
0.0005903399433009326,
-0.04194531962275505,
-0.00005295854862197302,
0.05047890543937683,
-0.03681828826665878,
-0.028215885162353516,
-0.0016011224361136556,
0.007436777930706739,
-0.064552441239357,
-0.008774451911449432,
0.0014882158720865846,
-0.0030108413193374872,
0.007290537003427744,
0.023346923291683197,
-0.0049592857249081135,
-0.008654017932713032,
0.03466768562793732,
0.024413621053099632,
0.026220126077532768,
0.012774569913744926,
0.038538768887519836,
-0.04786377400159836,
0.02388027310371399,
0.005174345802515745,
0.0397086963057518,
-0.03280956670641899,
-0.05570916831493378,
-0.059597454965114594,
-0.0037872083485126495,
0.015768205747008324,
0.019148951396346092,
0.007359356619417667,
-0.02959226816892624,
-0.0059571648016572,
0.011862714774906635,
0.05502097308635712,
0.05340372398495674,
0.019424227997660637,
-0.011303558945655823,
-0.03158802539110184,
-0.023966297507286072,
0.014976784586906433,
0.01263693068176508,
0.017892999574542046,
0.0347537100315094,
-0.010572354309260845,
-0.0033914977684617043,
-0.08753806352615356,
0.013531581498682499,
-0.024362007156014442,
-0.032293424010276794,
-0.05082300305366516,
-0.028818052262067795,
0.07253547012805939,
0.04359698295593262,
0.023553380742669106,
0.01706716977059841,
0.0030904135201126337,
0.05711996182799339,
-0.036955926567316055,
0.02401791140437126,
0.07308602333068848,
0.03372142091393471,
-0.01582842320203781,
0.02878364361822605,
-0.031742870807647705,
0.011372378095984459,
-0.018925288692116737,
-0.017058566212654114,
-0.0739806741476059,
0.022796370089054108,
-0.007583018857985735,
-0.0022086671087890863,
0.0032538592349737883,
-0.0013172430917620659,
0.025239452719688416,
-0.017488686367869377,
-0.007742163259536028,
-0.01940702274441719,
0.03764411807060242,
0.007170103490352631,
0.025824416428804398,
0.005699092522263527,
0.04397548735141754,
0.04091303050518036,
0.04979071393609047,
-0.021901719272136688,
-0.03764411807060242,
-0.015320881269872189,
0.030160028487443924,
0.04944661632180214,
-0.00703676650300622,
-0.005690489895641804,
-0.010787414386868477,
0.026547018438577652,
-0.06830308586359024,
0.004404430743306875,
0.0060216826386749744,
0.036405373364686966,
-0.05078859254717827,
-0.030710581690073013,
-0.02069738321006298,
0.053679000586271286,
0.015071411617100239,
0.013144472613930702,
0.007139995228499174,
-0.0188736729323864,
0.03131274878978729,
0.04868960380554199,
-0.0119143296033144,
-0.0506165437400341,
0.035958047956228256,
-0.01727362722158432,
-0.033188074827194214,
0.037300024181604385,
-0.03146759420633316,
-0.003277515759691596,
-0.04146358743309975,
-0.0010822899639606476,
-0.04225500673055649,
0.05866839364171028,
0.006228140089660883,
0.03132995590567589,
-0.03102026879787445,
0.004344213753938675,
0.06290077418088913,
0.009127150289714336,
0.04287438094615936,
-0.00020686093193944544,
0.005144237540662289,
-0.009084138087928295,
0.03057294338941574,
0.037403251975774765,
0.06936978548765182,
0.025824416428804398,
-0.005552851594984531,
0.07487532496452332,
-0.02055974490940571,
-0.034770917147397995,
-0.025325477123260498,
0.013565991073846817,
-0.038297902792692184,
0.015957459807395935,
0.07122790068387985,
-0.012688545510172844,
0.0019398420117795467,
0.01728222891688347,
-0.004572177771478891,
0.00543671939522028,
0.025101814419031143,
-0.0037743046414107084,
0.043700210750103,
0.010279872454702854,
-0.020215649157762527,
0.009780933149158955,
0.06369219720363617,
0.03613009676337242,
0.004032376687973738,
-0.0049936953000724316,
-0.022865189239382744,
-0.031742870807647705,
0.030005184933543205,
-0.02069738321006298,
-0.007548609282821417,
-0.00023051754396874458,
0.010021800175309181,
0.033532168716192245,
-0.013806858099997044,
-0.013738038949668407,
-0.03936459869146347,
0.016163917258381844,
0.0027119077276438475,
0.03585482016205788,
0.017247820273041725,
-0.009325006045401096,
0.07927975058555603,
0.02014683000743389,
-0.03747206926345825,
0.0010285249445587397,
0.021265141665935516,
0.00853788573294878,
0.024310393258929253,
-0.039433419704437256,
0.01092505268752575,
-0.006967946887016296,
0.02843954600393772,
0.003202244872227311,
0.005441020242869854,
0.014563869684934616,
0.03415154293179512,
-0.003552792826667428,
0.05106386914849281,
-0.011742280796170235,
-0.017161795869469643,
0.02472330816090107,
-0.008877680636942387,
-0.03657742217183113,
-0.046487390995025635,
0.029506245627999306,
0.0035958047956228256,
-0.048070233315229416,
0.0035678469575941563,
0.025876030325889587,
0.02388027310371399,
-0.024035116657614708,
-0.007484091445803642,
-0.014185363426804543,
-0.06121470406651497,
0.04858637601137161,
0.06568795442581177,
0.023587791249155998,
-0.08760687708854675,
-0.02883525751531124,
-0.018804853782057762,
-0.008727138862013817,
0.06912891566753387,
-0.0048173461109399796,
-0.02580721117556095,
0.06025123596191406,
0.015080014243721962,
-0.061971716582775116,
0.06052651256322861,
-0.0178757943212986,
0.010976667515933514,
0.02437921240925789,
0.003191491821780801,
-0.009617486968636513,
-0.07797218859195709,
-0.020043600350618362,
-0.04538628086447716,
-0.00008588962373323739,
-0.00446894858032465,
0.020284468308091164,
-0.015561748296022415,
0.055468298494815826,
-0.0005115742096677423,
-0.013858471997082233,
0.012722955085337162,
-0.04776054620742798,
0.03726561367511749,
0.003432359080761671,
0.015406904742121696,
-0.0734301209449768,
-0.10260947048664093,
-0.038297902792692184,
0.019819937646389008,
0.06045769527554512,
-0.10047607868909836,
-0.034323591738939285,
0.004511960782110691,
0.014933773316442966,
0.006912031210958958,
0.04452604055404663,
0.02393188700079918,
0.008210994303226471,
-0.03446123003959656,
-0.05945981293916702,
0.018581192940473557,
-0.049825120717287064,
0.009884161874651909,
0.011251944117248058,
-0.0377473458647728,
0.055915623903274536,
-0.013385340571403503,
0.01966509409248829,
0.04875842481851578,
-0.05151119455695152,
-0.013247701339423656,
0.019183360040187836,
0.03270633891224861,
0.008980909362435341,
-0.010692788287997246,
0.038538768887519836,
0.019389817491173744,
-0.013273509219288826,
-0.013867074623703957,
-0.0213511660695076,
-0.0010903546353802085,
0.02477492205798626,
-0.0007435702718794346,
-0.04924016073346138,
-0.058358706533908844,
0.04263351485133171,
0.0055700563825666904,
-0.04886165261268616,
0.01686931401491165,
0.04889606311917305,
-0.007445380557328463,
-0.03733443096280098,
0.012533701956272125,
0.007256127428263426,
-0.009634692221879959,
0.015871435403823853,
-0.008804560638964176,
-0.024757718667387962,
0.02675347588956356,
-0.056122083216905594,
0.03643978387117386,
-0.06032005697488785,
0.03657742217183113,
-0.007621729746460915,
0.022521093487739563,
0.006481911055743694,
-0.021678056567907333,
0.021678056567907333,
-0.0094368364661932,
-0.06427715718746185,
0.044698089361190796,
-0.03160523250699043,
-0.04954984411597252,
-0.02675347588956356,
0.007815283723175526,
0.013135870918631554,
0.03344614431262016,
0.04855196550488472,
0.011604642495512962,
-0.015277869068086147,
-0.012077774852514267,
0.04215177893638611,
0.0004486691323108971,
-0.016404783353209496,
-0.001437676721252501,
0.08265189826488495,
-0.061386752873659134,
0.008757246658205986,
0.053679000586271286,
0.03991515189409256,
-0.029248172417283058,
-0.045248642563819885,
0.011372378095984459,
0.031192315742373466,
0.040224839001894,
-0.00930780079215765,
0.020284468308091164,
-0.04803582280874252,
-0.0004481314681470394,
0.012103581801056862,
0.008641114458441734,
0.012310040183365345,
-0.01956186629831791,
0.024981381371617317,
-0.020078010857105255,
0.02566957287490368,
0.057911381125450134,
0.06933537125587463,
0.03733443096280098,
-0.08003676682710648,
0.014426231384277344,
0.011415389366447926,
-0.021660853177309036,
-0.021523214876651764,
0.006120610050857067,
0.052887577563524246,
0.0858863964676857,
0.030985858291387558,
-0.011759486049413681,
-0.011398185044527054,
-0.04208295792341232,
-0.019320998340845108,
-0.001263478072360158,
0.04404430836439133,
0.09448879957199097,
-0.0590813085436821,
-0.00028844934422522783,
0.0094368364661932,
-0.004967888351529837,
-0.04858637601137161,
0.040981851518154144,
-0.013522978872060776,
-0.004873261786997318,
0.00749699492007494,
0.02580721117556095,
0.010107824578881264,
-0.02830190770328045,
-0.06014800816774368,
-0.03360098972916603,
-0.024293188005685806,
-0.01673167571425438,
0.0038947383873164654,
0.0427023321390152,
-0.03380744531750679,
-0.007755067199468613
]
|
43,990 | jsons.exceptions | UnfulfilledArgumentError |
Raised on a deserialization failure when an argument could not be fulfilled
by the given object attr_getter.
| class UnfulfilledArgumentError(DeserializationError, ArgumentError):
"""
Raised on a deserialization failure when an argument could not be fulfilled
by the given object attr_getter.
"""
def __init__(self,
message: str,
argument: str,
source: object,
target: type):
"""
Constructor.
:param message: the message of this error.
:param argument: the argument that was unfulfilled.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
"""
DeserializationError.__init__(self, message, source, target)
ArgumentError.__init__(self, message, argument)
| (message: str, argument: str, source: object, target: type) | [
-0.017692988738417625,
0.013375055976212025,
-0.005357921123504639,
0.0043881419114768505,
-0.018886562436819077,
-0.0199221633374691,
0.041283637285232544,
0.05774794518947601,
0.0362636037170887,
-0.05248217657208443,
0.037071023136377335,
0.03650933876633644,
0.028522921726107597,
0.010092725977301598,
-0.031015386804938316,
0.11128327995538712,
-0.00542813166975975,
0.05620332062244415,
0.004936659708619118,
0.027399558573961258,
0.004067807458341122,
0.0007383048650808632,
-0.05262259766459465,
0.03503492474555969,
0.011409169062972069,
0.055290587246418,
0.019834401085972786,
0.004350842442363501,
0.033139247447252274,
-0.029716497287154198,
-0.029944680631160736,
0.00701663875952363,
0.008512995205819607,
0.0683496966958046,
0.010391119867563248,
-0.0199221633374691,
0.002753559034317732,
0.041529376059770584,
-0.0951349139213562,
-0.03378869220614433,
-0.07954823225736618,
-0.017175186425447464,
-0.04072195664048195,
-0.0074203480035066605,
0.05543100833892822,
-0.016227347776293755,
-0.009136111475527287,
0.007657307665795088,
-0.14013969898223877,
-0.017798302695155144,
0.027013400569558144,
0.026170877739787102,
0.061504196375608444,
0.051218390464782715,
-0.018272222951054573,
0.08305875211954117,
-0.0004473162116482854,
0.03942306712269783,
-0.048374876379966736,
0.05880109965801239,
-0.03917733207345009,
0.08284811675548553,
0.017464805394411087,
-0.041775111109018326,
-0.021379027515649796,
-0.05195559933781624,
-0.05314917489886284,
-0.02360820397734642,
-0.024924645200371742,
0.050691813230514526,
0.03220896050333977,
0.05385127663612366,
-0.04138895496726036,
0.04619835689663887,
0.08544589579105377,
-0.03554394841194153,
-0.04412715509533882,
0.027434661984443665,
0.02431030571460724,
-0.022432181984186172,
0.006621705833822489,
0.010821158066391945,
-0.05981915071606636,
-0.019062088802456856,
-0.01768421195447445,
-0.05904683843255043,
-0.056273531168699265,
-0.02301141619682312,
-0.02092266082763672,
-0.003775996156036854,
-0.07617814093828201,
0.03162972629070282,
-0.05974894016981125,
0.0021940709557384253,
-0.015226852148771286,
0.007674860302358866,
0.005700196139514446,
-0.04549625515937805,
0.005063915625214577,
-0.01584119163453579,
0.019483350217342377,
0.006292595528066158,
0.0078065041452646255,
0.029049498960375786,
0.00900446716696024,
-0.04595262184739113,
0.03405198082327843,
-0.06280308961868286,
0.004306961316615343,
0.003837430151179433,
0.012813374400138855,
-0.016078151762485504,
-0.061679720878601074,
0.06915711611509323,
-0.04840997979044914,
-0.0005526316235773265,
0.003837430151179433,
-0.024959750473499298,
-0.020957766100764275,
-0.0015786340227350593,
0.04019537940621376,
0.0030848637688905,
-0.04026558995246887,
0.018324879929423332,
0.04174000397324562,
-0.01319953054189682,
-0.02104552835226059,
-0.01296257134526968,
0.044688835740089417,
-0.0041204653680324554,
0.003872535191476345,
-0.01287480816245079,
-0.08305875211954117,
0.011672457680106163,
0.02069447748363018,
0.015042549930512905,
0.0392475388944149,
0.0043881419114768505,
-0.04742703586816788,
0.004453964065760374,
0.0487610325217247,
0.02164231613278389,
0.047953613102436066,
-0.0517449676990509,
-0.03854543715715408,
0.002389343222603202,
-0.01790361851453781,
-0.025784721598029137,
0.0338764563202858,
0.03312169387936592,
-0.010540316812694073,
0.0065251667983829975,
-0.007012250833213329,
-0.0014930652687326074,
0.045215412974357605,
-0.031226016581058502,
-0.04528562352061272,
-0.07189531624317169,
0.013462819159030914,
-0.02211623452603817,
-0.038615647703409195,
-0.026785217225551605,
0.03127867355942726,
-0.07343994081020355,
0.017473580315709114,
0.040686849504709244,
0.04661962017416954,
-0.050516288727521896,
-0.015437482856214046,
0.018342433497309685,
-0.06160951033234596,
-0.040686849504709244,
0.026311298832297325,
-0.010364791378378868,
-0.020782239735126495,
0.033384982496500015,
-0.014454538933932781,
0.02645171992480755,
-0.006867441814392805,
-0.02116839587688446,
0.021800288930535316,
-0.003354734508320689,
-0.02395925484597683,
-0.059187255799770355,
0.0451803095638752,
0.03977411612868309,
-0.03914222493767738,
0.01623612456023693,
0.044864363968372345,
0.02044874057173729,
0.03020796924829483,
-0.015920178964734077,
-0.005507118068635464,
0.009873319417238235,
0.003817683318629861,
-0.00017511428450234234,
-0.029418103396892548,
0.02169497311115265,
0.04335484281182289,
0.03259511664509773,
-0.021554552018642426,
0.012506204657256603,
-0.010435000993311405,
-0.0011880893725901842,
-0.019658874720335007,
0.018921667709946632,
-0.0058055114932358265,
-0.00446493411436677,
-0.017219068482518196,
-0.044513311237096786,
-0.05065670982003212,
-0.005809899885207415,
0.01680658385157585,
0.021730078384280205,
0.03970390558242798,
-0.044267576187849045,
0.0076529192738235,
-0.035105135291814804,
0.01498111616820097,
0.04009006544947624,
0.13866528868675232,
0.019009429961442947,
0.03478918969631195,
-0.011330182664096355,
0.010040068998932838,
-0.002988324500620365,
-0.004853284917771816,
-0.025661854073405266,
-0.013050333596765995,
0.022344417870044708,
-0.024468278512358665,
-0.02246728539466858,
-0.01927271857857704,
0.02871599979698658,
-0.010680736973881721,
0.05269280821084976,
0.05072692036628723,
-0.040511325001716614,
-0.012936241924762726,
-0.005164843052625656,
-0.023625755682587624,
-0.01807914488017559,
-0.032191406935453415,
-0.010654408484697342,
0.03401687741279602,
-0.02039608359336853,
0.016007941216230392,
0.07006984949111938,
-0.0511130765080452,
-0.003030011896044016,
-0.006160951219499111,
0.0439867340028286,
-0.02129126340150833,
-0.013971843756735325,
0.046233464032411575,
-0.06933264434337616,
0.004717252682894468,
-0.08811388909816742,
0.057291578501462936,
-0.012225363403558731,
0.010470106266438961,
0.00019294110825285316,
0.0012955989222973585,
0.11437252908945084,
-0.016569623723626137,
-0.04065174609422684,
0.024117227643728256,
-0.012857255525887012,
-0.0027491708751767874,
0.029172366484999657,
0.09471365064382553,
-0.03098028153181076,
0.030962727963924408,
0.02366086095571518,
-0.023028967902064323,
0.0019801489543169737,
-0.01090892031788826,
0.02836494892835617,
0.0695783793926239,
0.03794864937663078,
0.039036910980939865,
-0.042652737349271774,
-0.017815856263041496,
0.012918689288198948,
-0.012234139256179333,
-0.0068498896434903145,
-0.013638344593346119,
-0.034087084233760834,
-0.03031328320503235,
0.005151678342372179,
0.10959823429584503,
0.0037101740017533302,
0.0160606000572443,
0.007152670994400978,
0.03484184667468071,
0.0048094033263623714,
-0.036368921399116516,
0.029593627899885178,
0.028698448091745377,
-0.03503492474555969,
0.04840997979044914,
-0.02301141619682312,
-0.031190911307930946,
-0.027030954137444496,
-0.033033933490514755,
-0.07428246736526489,
0.03175259381532669,
0.037316758185625076,
-0.060977619141340256,
0.011075669899582863,
0.03294616937637329,
0.030365942046046257,
-0.021484343335032463,
0.003440303262323141,
0.013024005107581615,
0.07112300395965576,
0.02918992005288601,
-0.004012955818325281,
0.016051823273301125,
0.05058649927377701,
-0.03728165477514267,
-0.0014524749713018537,
0.014498420991003513,
-0.004576832056045532,
-0.05132370814681053,
0.0070956251583993435,
-0.011909416876733303,
0.027241583913564682,
0.02062426693737507,
0.020009927451610565,
-0.0071175661869347095,
-0.02318694069981575,
-0.015832414850592613,
-0.010320909321308136,
-0.04493457078933716,
0.006999086122959852,
0.016271229833364487,
0.020606713369488716,
0.0336131677031517,
-0.01477048546075821,
0.004769910126924515,
0.02276567928493023,
0.014875801280140877,
0.024415621533989906,
0.015261957421898842,
-0.002457359340041876,
0.04725151136517525,
-0.023924149572849274,
0.07414204627275467,
-0.004923494998365641,
-0.04124853387475014,
0.03512268885970116,
-0.029997337609529495,
-0.004206033889204264,
0.032612670212984085,
-0.026258639991283417,
-0.050446078181266785,
-0.050340764224529266,
0.0005902050761505961,
-0.0030519526917487383,
0.03840501606464386,
-0.04138895496726036,
-0.021063080057501793,
-0.025345906615257263,
-0.021659867838025093,
-0.01825466938316822,
-0.0030541466549038887,
-0.0683848038315773,
-0.008240930736064911,
0.008350634016096592,
-0.021256159991025925,
-0.03299882635474205,
-0.03550884500145912,
-0.0019790518563240767,
-0.030664335936307907,
-0.0049586002714931965,
-0.005910826846957207,
0.034754082560539246,
-0.044688835740089417,
0.037422072142362595,
-0.015569127164781094,
-0.036895494908094406,
-0.03378869220614433,
0.0008342954679392278,
-0.03317435085773468,
-0.010549092665314674,
-0.04310910403728485,
-0.0016345828771591187,
0.03498226776719093,
0.07519520074129105,
-0.008526159450411797,
-0.05374596267938614,
0.023380020633339882,
-0.002349850023165345,
-0.015200523659586906,
-0.035824790596961975,
0.004554891027510166,
-0.03264777362346649,
0.004625101573765278,
-0.011628575623035431,
0.010891367681324482,
0.00471286429092288,
-0.03538597747683525,
0.023889044299721718,
0.031190911307930946,
0.0386507548391819,
0.028996841982007027,
0.00731503264978528,
0.01711375266313553,
0.028575580567121506,
0.07751213759183884,
-0.022555049508810043,
-0.0039032520726323128,
-0.03931774944067001,
0.006209220737218857,
-0.0006576727610081434,
0.015376049093902111,
-0.02896173670887947,
-0.010391119867563248,
-0.011488155461847782,
0.009715345688164234,
0.027276689186692238,
0.0535002239048481,
-0.007850386202335358,
0.01771054044365883,
0.006103905383497477,
-0.03819438815116882,
0.007762623019516468,
0.06508491933345795,
-0.020834896713495255,
-0.0024025077000260353,
0.020483845844864845,
0.0016389709198847413,
-0.05725647509098053,
-0.031419094651937485,
-0.019869506359100342,
-0.05118328705430031,
-0.03270043432712555,
0.03436792641878128,
0.035824790596961975,
-0.00658660102635622,
-0.004179704934358597,
0.0600648857653141,
0.04819934815168381,
-0.020782239735126495,
-0.047707878053188324,
-0.0003414522798266262,
0.06238182261586189,
0.03608807921409607,
-0.000013918637705501169,
0.03668486699461937,
-0.002133734058588743,
0.04009006544947624,
-0.022098682820796967,
-0.029997337609529495,
-0.08762241899967194,
-0.014279013499617577,
0.007034191396087408,
0.0028040227480232716,
-0.020431188866496086,
0.0451803095638752,
0.029207471758127213,
-0.07358036190271378,
-0.07575687766075134,
0.0038154893554747105,
0.0956965982913971,
0.02782081998884678,
0.018026486039161682,
-0.04275805503129959,
0.0071175661869347095,
0.02360820397734642,
0.013375055976212025,
0.008074181154370308,
-0.025135276839137077,
-0.0051077972166240215,
0.017350712791085243,
0.054307643324136734,
0.008842105977237225,
-0.038264598697423935,
-0.03542108088731766,
0.03875606879591942,
-0.05743199959397316,
0.016297558322548866,
0.01691189780831337,
0.019658874720335007,
-0.012295573018491268,
-0.06810396164655685,
0.011698786169290543,
0.01785973645746708,
0.058836206793785095,
-0.032191406935453415,
0.02878621034324169,
-0.00450223358348012,
0.005849393084645271,
0.05915215238928795,
-0.028558026999235153,
-0.0030563408508896828,
0.04310910403728485,
0.03858054429292679,
-0.036649759858846664,
0.009065900929272175,
-0.020238110795617104,
0.005708972457796335,
-0.008758731186389923,
-0.006362805608659983,
-0.05090244486927986,
0.024591146036982536,
0.03471897915005684,
0.0240821223706007,
-0.023625755682587624,
-0.001853989902883768,
0.0546937994658947,
0.057467106729745865,
0.028645789250731468,
-0.026434166356921196,
0.007038579322397709,
-0.007718741428107023,
0.03650933876633644,
0.009092230349779129,
0.028382500633597374,
0.00996108166873455,
0.08670968562364578,
0.02906705066561699,
-0.03180525079369545,
-0.04353036731481552,
-0.03443813696503639,
-0.0002887945738621056,
-0.044513311237096786,
0.020185451954603195,
-0.0014020113740116358,
0.024784225970506668,
-0.031138254329562187,
0.039739012718200684,
-0.005476401187479496,
-0.010443777777254581,
0.07982907444238663,
-0.0028632625471800566,
0.033753588795661926,
-0.0032252841629087925,
0.008701684884727001,
0.0683848038315773,
0.07379098981618881,
-0.017824633046984673,
0.03185791149735451,
-0.04858550801873207,
-0.01909719407558441,
-0.04244210943579674,
0.042898476123809814,
-0.021027974784374237,
0.0046645947732031345,
-0.0689815878868103,
-0.011654905043542385,
-0.010443777777254581,
0.02717137336730957,
-0.058836206793785095,
-0.037071023136377335,
0.008986914530396461,
-0.005937155801802874,
0.034701425582170486,
0.028031449764966965,
0.003569753374904394,
0.030348388478159904,
0.0058274525217711926,
-0.0011935746297240257,
-0.005998590029776096,
0.03573702648282051,
0.010338461957871914,
0.012769492343068123,
-0.010636855848133564,
-0.012655400671064854,
-0.002349850023165345,
-0.012199033983051777,
-0.04605793580412865,
0.024222543463110924,
-0.0019439468160271645,
0.006577824708074331,
0.0040853600949049,
0.017912395298480988,
0.004118271172046661,
-0.05522037670016289,
0.028575580567121506,
-0.01263784896582365,
-0.028522921726107597,
-0.0672263354063034,
-0.00803030002862215,
-0.0016696879174560308,
-0.0169382281601429,
-0.010619303211569786,
-0.00021241349168121815,
-0.007271151058375835,
-0.024468278512358665,
-0.05500974506139755,
-0.014533525332808495,
-0.03914222493767738,
-0.0169382281601429,
0.02587248384952545,
0.06490939110517502,
-0.057291578501462936,
-0.028031449764966965,
-0.02652192860841751,
-0.020009927451610565,
0.03498226776719093,
0.011479378677904606,
0.04089748114347458,
-0.00836818665266037,
-0.009469609707593918,
-0.05125349760055542,
0.03466632217168808,
-0.020009927451610565,
0.00806979276239872,
0.029400549829006195,
-0.009258979000151157,
-0.005195559933781624,
-0.024415621533989906,
-0.009592478163540363,
-0.06698060035705566,
0.0056782555766403675,
0.019307823851704597,
0.03347274661064148,
0.0654008686542511,
0.0068191722966730595,
-0.056519266217947006,
-0.023889044299721718,
0.04026558995246887,
-0.054377853870391846,
0.034087084233760834,
-0.018395090475678444,
-0.012392112985253334,
-0.07933760434389114,
-0.06459344923496246,
-0.0013811676762998104,
0.006854277569800615,
0.01245354674756527,
-0.062276508659124374,
-0.03763270378112793,
-0.013761213049292564,
0.05725647509098053,
0.02146678976714611,
0.00367068056948483,
0.03910712152719498,
-0.0535002239048481,
-0.038615647703409195,
-0.0511130765080452,
0.03710612654685974,
-0.05037586763501167,
-0.011514483951032162,
-0.02627619355916977,
-0.031050492078065872,
0.055079955607652664,
0.023274704813957214,
0.06087230518460274,
0.054377853870391846,
-0.036052972078323364,
-0.002382761100307107,
-0.011549589224159718,
0.041704900562763214,
0.015270733274519444,
0.005928379483520985,
0.04353036731481552,
0.022168893367052078,
-0.03601786866784096,
0.016525741666555405,
0.01034723874181509,
0.023028967902064323,
0.04668983072042465,
0.0006587698007933795,
-0.05314917489886284,
-0.03917733207345009,
0.02211623452603817,
0.043495260179042816,
-0.06318924576044083,
0.030488809570670128,
0.026311298832297325,
0.0010986810084432364,
-0.05852026119828224,
-0.031664829701185226,
0.023344915360212326,
-0.025240592658519745,
0.047286614775657654,
0.03443813696503639,
-0.01907964050769806,
0.01004884485155344,
-0.08039075881242752,
-0.01225169189274311,
-0.04953334480524063,
0.015858745202422142,
-0.006051247473806143,
0.03299882635474205,
0.040511325001716614,
-0.07547604292631149,
0.07021027058362961,
-0.029102155938744545,
-0.0031660443637520075,
0.029347892850637436,
-0.06238182261586189,
-0.08607778698205948,
-0.0933796614408493,
-0.047111090272665024,
0.03875606879591942,
0.03619339317083359,
0.05416722223162651,
0.0341748483479023,
-0.01909719407558441,
-0.011198538355529308,
-0.012672953307628632,
0.0051077972166240215,
-0.09183502942323685,
0.008842105977237225,
0.018289774656295776,
-0.030348388478159904,
0.02099287137389183,
0.04121342673897743,
-0.016955779865384102,
-0.09366049617528915,
0.022519944235682487,
-0.000439636962255463,
0.01638532243669033,
-0.0024793001357465982,
-0.058836206793785095,
0.018711036071181297,
-0.019641323015093803,
0.010215594433248043,
0.01897432468831539,
-0.006648034788668156,
0.006577824708074331,
-0.03110314905643463,
-0.02044874057173729,
-0.05135881155729294,
0.019360482692718506,
0.005344756878912449,
0.09225629270076752,
0.041950635612010956,
-0.04089748114347458,
0.02622353471815586,
0.034087084233760834,
-0.035824790596961975,
-0.03233182802796364,
0.011172208935022354,
0.07681003212928772,
0.09183502942323685,
-0.018833905458450317,
0.022502390667796135,
0.014840696007013321,
0.042722947895526886,
0.011733891442418098,
0.005893274676054716,
0.0161922425031662,
0.051815178245306015,
-0.011874311603605747,
0.014129816554486752,
-0.006358417682349682,
-0.0074027953669428825,
-0.030839860439300537,
0.045039888471364975,
0.017096200957894325,
-0.07322931289672852,
0.011540813371539116,
-0.007209716830402613,
-0.015551574528217316,
-0.05483422055840492,
-0.08635862916707993,
-0.017886066809296608,
0.008328692987561226,
-0.006617317907512188,
0.024714015424251556,
0.03247224912047386,
-0.011049341410398483,
0.011444274336099625
]
|
43,991 | jsons.exceptions | __init__ |
Constructor.
:param message: the message of this error.
:param argument: the argument that was unfulfilled.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
| def __init__(self,
message: str,
argument: str,
source: object,
target: type):
"""
Constructor.
:param message: the message of this error.
:param argument: the argument that was unfulfilled.
:param source: the object that was to be deserialized.
:param target: the type to which `source` was to be deserialized.
"""
DeserializationError.__init__(self, message, source, target)
ArgumentError.__init__(self, message, argument)
| (self, message: str, argument: str, source: object, target: type) | [
-0.028287779539823532,
0.014446579851210117,
0.01821644976735115,
-0.021720318123698235,
-0.040505457669496536,
-0.03335096314549446,
0.02460046112537384,
0.07961671054363251,
0.024398667737841606,
-0.0705910325050354,
0.012859749607741833,
0.034745171666145325,
-0.015749065205454826,
0.00841570645570755,
-0.02544432505965233,
0.09649398177862167,
-0.029626954346895218,
0.047109607607126236,
-0.011447194963693619,
0.025462670251727104,
0.0006523891934193671,
0.011401332914829254,
-0.03406641259789467,
0.06200563907623291,
0.017088240012526512,
0.06174881011247635,
-0.002389418426901102,
-0.00020422993111424148,
-0.0058244941756129265,
-0.026783499866724014,
-0.03014061041176319,
-0.00534752756357193,
0.0011081444099545479,
0.07756207883358002,
0.0012520368909463286,
0.004288111813366413,
-0.011052779853343964,
0.0370015911757946,
-0.09245811402797699,
-0.02337135560810566,
-0.08101091533899307,
-0.004668767563998699,
-0.03955152630805969,
0.025425979867577553,
0.05565831437706947,
-0.004313336219638586,
-0.02214225009083748,
-0.020436177030205727,
-0.11748050153255463,
-0.0033227133098989725,
0.005342941265553236,
0.0032493339385837317,
0.03933138772845268,
0.028691366314888,
-0.03190171718597412,
0.086074098944664,
0.014556649141013622,
0.06677529960870743,
-0.031094543635845184,
0.05829997733235359,
-0.03155316412448883,
0.08086416125297546,
0.03516710177063942,
-0.024967359378933907,
-0.02217894047498703,
-0.024435358121991158,
-0.05253968760371208,
-0.035625725984573364,
-0.014235613867640495,
0.06369336694478989,
0.05455762520432472,
0.03180999308824539,
-0.03727676346898079,
0.0441744327545166,
0.11065621674060822,
-0.04384422302246094,
-0.036854829639196396,
0.06824289262294769,
-0.02837950363755226,
-0.020491212606430054,
0.016400307416915894,
-0.005448424257338047,
-0.05973087623715401,
-0.012978990562260151,
-0.005833666771650314,
-0.06226246803998947,
-0.06328977644443512,
-0.022325698286294937,
-0.016372790560126305,
-0.021573558449745178,
-0.0750671774148941,
-0.012098437175154686,
-0.07029751688241959,
0.0165103767067194,
-0.01843658834695816,
-0.016088444739580154,
0.0028480400796979666,
-0.05408065766096115,
0.015253754332661629,
-0.007044427562505007,
0.006893082521855831,
0.006938944570720196,
-0.0008696611621417105,
0.003480937797576189,
0.013382578268647194,
-0.028856469318270683,
0.018803484737873077,
-0.037606969475746155,
0.01005298551172018,
0.0025407634675502777,
-0.0038226109463721514,
-0.011960851028561592,
-0.08783520758152008,
0.06607820093631744,
-0.03683648630976677,
-0.006677530240267515,
0.01972072757780552,
-0.015538099221885204,
-0.03226861357688904,
0.018078863620758057,
0.058776941150426865,
0.003292903071269393,
-0.042009737342596054,
0.04105580598115921,
0.020931489765644073,
-0.020876454189419746,
-0.018565000966191292,
-0.03171826899051666,
0.03617607057094574,
-0.016647962853312492,
-0.0035199206322431564,
-0.02028941921889782,
-0.08247850835323334,
0.016308583319187164,
0.03171826899051666,
0.016647962853312492,
0.0017209774814546108,
0.014070509932935238,
-0.026875223964452744,
0.018409069627523422,
0.05885032191872597,
0.052392929792404175,
0.049090854823589325,
-0.06927020102739334,
-0.03779041767120361,
0.00871380977332592,
-0.020307764410972595,
-0.002396297873929143,
0.0000771057530073449,
0.046889469027519226,
-0.03819400444626808,
-0.00672339228913188,
0.02239907905459404,
-0.001683141221292317,
0.01595085859298706,
-0.033736202865839005,
-0.022986114025115967,
-0.05224617198109627,
0.020582936704158783,
-0.014235613867640495,
-0.027168743312358856,
-0.03507537767291069,
0.024086805060505867,
-0.046229057013988495,
-0.0005213954136706889,
0.0010083941742777824,
0.04252339154481888,
-0.06112508475780487,
-0.03291068598628044,
0.005177837796509266,
-0.08768844604492188,
-0.04942106083035469,
-0.006173046305775642,
0.018950244411826134,
0.008956879377365112,
0.01582244411110878,
0.015519754029810429,
0.04395429417490959,
-0.008493672125041485,
-0.005737355910241604,
0.03353441134095192,
0.015648167580366135,
-0.006838047876954079,
-0.03390130773186684,
0.025682808831334114,
0.019573969766497612,
-0.029773714020848274,
0.025976326316595078,
0.04472477734088898,
0.006044632289558649,
0.04087235406041145,
0.0011935626389458776,
-0.010924366302788258,
0.0007836696458980441,
0.0002860652166418731,
0.005861183628439903,
-0.03753358870744705,
0.0019262107089161873,
0.013034025207161903,
0.026966949924826622,
-0.015382167883217335,
0.03999180346727371,
-0.005787804257124662,
-0.011960851028561592,
-0.007438842207193375,
-0.003980835434049368,
-0.0019823918119072914,
0.024178529158234596,
-0.006833461578935385,
-0.052869897335767746,
-0.019647348672151566,
-0.029205022379755974,
0.009906225837767124,
0.018069690093398094,
0.025095773860812187,
-0.0507785826921463,
-0.005448424257338047,
-0.052172791212797165,
0.019041968509554863,
0.031571511179208755,
0.1586463749408722,
0.02626984380185604,
-0.019298795610666275,
-0.004079439211636782,
-0.019207071512937546,
0.0074434285052120686,
-0.02557273954153061,
-0.028287779539823532,
0.00429499102756381,
0.01465754583477974,
-0.020014245063066483,
-0.03327758237719536,
-0.028287779539823532,
0.031057853251695633,
0.0007796566933393478,
0.03261716663837433,
0.03580917418003082,
-0.032892338931560516,
-0.017666103318333626,
-0.015162029303610325,
-0.010750089772045612,
-0.023701563477516174,
-0.02900322899222374,
-0.01335506048053503,
0.04494491592049599,
-0.03632282838225365,
0.01261209324002266,
0.04989802837371826,
-0.044688086956739426,
-0.0029420575592666864,
-0.0032080579549074173,
0.031571511179208755,
-0.03929469734430313,
-0.021188316866755486,
0.020142659544944763,
-0.057052526623010635,
0.03291068598628044,
-0.07844263315200806,
0.03889111056923866,
-0.010713400319218636,
0.01692313700914383,
-0.025407636538147926,
0.01931714080274105,
0.09201783686876297,
-0.03410309925675392,
-0.04898078367114067,
-0.026691775768995285,
-0.005517217796295881,
0.010410710237920284,
0.0038524214178323746,
0.14910705387592316,
-0.022949423640966415,
0.012382782995700836,
0.045531950891017914,
-0.03324089199304581,
-0.013538509607315063,
-0.03058088757097721,
0.02403177134692669,
0.06409694999456406,
0.01834486424922943,
0.013345887884497643,
-0.025994671508669853,
0.03001219592988491,
-0.008356085047125816,
0.01636361889541149,
-0.014033820480108261,
-0.01274050772190094,
-0.03823069483041763,
-0.055218037217855453,
0.009649397805333138,
0.06835296005010605,
0.01767527498304844,
0.012465334497392178,
0.02900322899222374,
0.01313492190092802,
0.030213989317417145,
-0.03388296440243721,
0.030782680958509445,
0.011263745836913586,
-0.07704842835664749,
0.027755778282880783,
-0.025536049157381058,
0.004276646301150322,
-0.006663771811872721,
-0.06240922585129738,
-0.06321639567613602,
0.01783120632171631,
-0.001532942638732493,
-0.030929438769817352,
0.006870151497423649,
0.04824699088931084,
0.04263346269726753,
-0.006260184571146965,
0.010218088515102863,
0.027388881891965866,
0.09165094047784805,
0.023829977959394455,
-0.026379913091659546,
-0.00028248224407434464,
0.03199344128370285,
-0.024453703314065933,
-0.002485729055479169,
0.02793922647833824,
-0.034873586148023605,
-0.02815936505794525,
-0.007814912125468254,
-0.030929438769817352,
0.023481424897909164,
0.01962900348007679,
0.010456572286784649,
0.003407558426260948,
-0.01280471496284008,
0.023609839379787445,
-0.021555215120315552,
-0.029461851343512535,
-0.03305744379758835,
0.01165816094726324,
0.012254368513822556,
0.020454522222280502,
-0.006957289297133684,
0.041789598762989044,
-0.00026700375019572675,
0.015006097964942455,
0.0035955931525677443,
0.030654266476631165,
0.017152447253465652,
0.025242531672120094,
-0.051732514053583145,
0.06461060792207718,
0.005196182522922754,
-0.06916013360023499,
0.06218908727169037,
-0.010346502996981144,
-0.017253344878554344,
0.010374019853770733,
-0.05492452159523964,
-0.04538519307971001,
-0.03492861986160278,
-0.007012323942035437,
-0.017510171979665756,
0.01843658834695816,
-0.02997550740838051,
-0.01962900348007679,
-0.016647962853312492,
0.0019158916547894478,
0.012823059223592281,
0.0076177045702934265,
-0.05301665514707565,
-0.013529337011277676,
0.02698529325425625,
-0.017877070233225822,
-0.04413774237036705,
-0.07191186398267746,
0.007741532288491726,
-0.04765995591878891,
-0.02331632189452648,
-0.010942710563540459,
0.03661634773015976,
-0.057933077216148376,
0.01931714080274105,
-0.0003058432776015252,
-0.011447194963693619,
-0.023444734513759613,
-0.008447809144854546,
-0.03731345385313034,
-0.020876454189419746,
-0.021371765062212944,
0.02227066457271576,
0.026765156537294388,
0.07851601392030716,
0.002185331890359521,
-0.055034589022397995,
0.049347683787345886,
0.002410056535154581,
0.009777812287211418,
-0.04707292094826698,
-0.012795542366802692,
0.00024321276578120887,
-0.0165103767067194,
0.002774660475552082,
-0.005691493861377239,
0.005480527877807617,
-0.034396618604660034,
0.023353010416030884,
0.00425371527671814,
0.03557068854570389,
0.05165913701057434,
0.00006048072100384161,
0.03661634773015976,
0.027847502380609512,
0.07917643338441849,
-0.014730925671756268,
-0.01341926772147417,
-0.03604765608906746,
-0.020362798124551773,
0.0160150658339262,
0.012318575754761696,
-0.019904177635908127,
-0.014116371981799603,
-0.02252749167382717,
0.037074968218803406,
0.03067261166870594,
0.06310632824897766,
-0.02195880189538002,
0.02693025954067707,
0.014088855125010014,
-0.03859759122133255,
0.008667947724461555,
0.06204232946038246,
-0.035185448825359344,
-0.009906225837767124,
0.04740312695503235,
0.0162627212703228,
-0.0584467351436615,
-0.006544529926031828,
-0.019482245668768883,
-0.041129183024168015,
-0.03878103941679001,
0.043807532638311386,
0.04373415559530258,
-0.0034488344099372625,
-0.043770842254161835,
0.03988173231482506,
0.04285360127687454,
-0.027645708993077278,
-0.056135281920433044,
-0.021518524736166,
0.03841414302587509,
0.012988163158297539,
0.016464514657855034,
0.04593553766608238,
-0.022949423640966415,
0.04949444159865379,
-0.03070930205285549,
-0.0370015911757946,
-0.09135741740465164,
-0.01821644976735115,
0.037350140511989594,
0.011630643159151077,
-0.027223777025938034,
0.03335096314549446,
0.0029282988980412483,
-0.015345478430390358,
-0.06479405611753464,
-0.028507918119430542,
0.09385231882333755,
0.02362818457186222,
-0.02028941921889782,
-0.015345478430390358,
0.019041968509554863,
0.010786779224872589,
0.019482245668768883,
-0.0024284012615680695,
-0.0034259031526744366,
-0.012951473705470562,
0.02359149418771267,
0.046192366629838943,
-0.001802382874302566,
-0.03740517795085907,
-0.015455547720193863,
0.04747650772333145,
-0.06017115339636803,
0.03573579341173172,
0.04186297953128815,
0.0060996669344604015,
-0.0017060722457244992,
-0.034965310245752335,
0.01280471496284008,
0.0021016334649175406,
0.059253908693790436,
-0.004535767249763012,
0.05048506334424019,
-0.009887881577014923,
-0.019170382991433144,
0.052392929792404175,
-0.02006928063929081,
-0.025719499215483665,
0.04344063624739647,
0.005462183151394129,
-0.0297553688287735,
0.026508327573537827,
-0.020894799381494522,
-0.03272723779082298,
-0.033993031829595566,
0.0010393512202426791,
-0.03388296440243721,
0.025462670251727104,
0.04494491592049599,
0.001950288307853043,
-0.009438431821763515,
-0.017097413539886475,
0.06901337951421738,
0.033827926963567734,
0.054851140826940536,
-0.04391760379076004,
0.017124930396676064,
-0.030727645382285118,
0.045972228050231934,
-0.0006604150985367596,
0.0017209774814546108,
-0.010740917176008224,
0.0727190375328064,
0.031222958117723465,
-0.03520379215478897,
-0.00040129388798959553,
-0.04230325669050217,
-0.01972072757780552,
-0.028581297025084496,
0.026471637189388275,
0.005595183465629816,
0.03845083341002464,
-0.03272723779082298,
0.0226192157715559,
-0.023554803803563118,
-0.03463510051369667,
0.07616787403821945,
0.01363940630108118,
0.03129633516073227,
0.023554803803563118,
-0.0012176403542980552,
0.052649758756160736,
0.07488372921943665,
-0.0429636687040329,
0.0359375886619091,
-0.05694245547056198,
-0.025095773860812187,
-0.030213989317417145,
0.048173610121011734,
-0.03560737892985344,
0.007782808504998684,
-0.02931509166955948,
-0.03645124286413193,
-0.017886241897940636,
0.06042797863483429,
-0.05771293863654137,
-0.0396982841193676,
0.004728388506919146,
0.006136356852948666,
0.0386342816054821,
0.02353646047413349,
0.002405470237135887,
0.02705867402255535,
0.01579492725431919,
0.03491027653217316,
-0.003047540318220854,
0.03768035024404526,
0.01569403149187565,
-0.002870971104130149,
-0.020271074026823044,
0.0006988246459513903,
0.027884192764759064,
-0.03089275024831295,
-0.01053912378847599,
0.045972228050231934,
0.00011350883869454265,
0.019463900476694107,
0.018143068999052048,
0.0226192157715559,
0.005076941102743149,
-0.01922541670501232,
0.023426391184329987,
0.005549320951104164,
-0.016271892935037613,
-0.06743571907281876,
-0.004274353384971619,
0.0029420575592666864,
-0.022417422384023666,
-0.030727645382285118,
0.02463715150952339,
0.0022334870882332325,
-0.011447194963693619,
-0.01632692851126194,
-0.021114937961101532,
-0.020179349929094315,
-0.022876044735312462,
0.017721138894557953,
0.05752949044108391,
-0.048834025859832764,
0.01922541670501232,
-0.019463900476694107,
-0.040725596249103546,
0.02847122773528099,
-0.011869126930832863,
0.029406815767288208,
-0.010502434335649014,
-0.01412554457783699,
-0.028507918119430542,
0.004971458110958338,
-0.004207853227853775,
0.019904177635908127,
0.03722172603011131,
-0.03237868472933769,
-0.01692313700914383,
-0.05092534050345421,
-0.012547886930406094,
-0.0507052019238472,
0.00903025921434164,
0.03944145515561104,
0.044651396572589874,
0.04626574367284775,
-0.013465129770338535,
-0.029186677187681198,
0.0010026614181697369,
0.0319567508995533,
-0.0408356674015522,
0.052136100828647614,
-0.053053345531225204,
-0.003451127326115966,
-0.061455290764570236,
-0.08071739971637726,
0.008232257328927517,
-0.006760082207620144,
0.02522418648004532,
-0.042670153081417084,
-0.04806354269385338,
-0.004505957011133432,
0.0639868825674057,
0.014813477173447609,
0.014969408512115479,
0.047549884766340256,
-0.027737433090806007,
-0.04167953133583069,
-0.03199344128370285,
0.032763924449682236,
-0.05253968760371208,
-0.009076121263206005,
0.009039431810379028,
-0.030745990574359894,
0.04259677231311798,
0.03733179718255997,
0.07260897010564804,
0.0793231874704361,
-0.04164284095168114,
0.0011184633476659656,
0.00017599602870177478,
0.051915962249040604,
0.0046916985884308815,
0.019041968509554863,
0.07011406868696213,
0.029388470575213432,
-0.007081117480993271,
0.028691366314888,
0.019573969766497612,
0.014171406626701355,
0.03340599685907364,
-0.029645299538969994,
-0.02529756724834442,
-0.04920092225074768,
0.002107366221025586,
0.07851601392030716,
-0.047549884766340256,
-0.012006713077425957,
0.012254368513822556,
0.007952498272061348,
-0.04901747405529022,
-0.024783911183476448,
0.02384832315146923,
-0.03292902931571007,
0.02948019467294216,
0.02331632189452648,
-0.03668972849845886,
-0.007154496852308512,
-0.07792898267507553,
-0.044467948377132416,
-0.04043208062648773,
0.05334686115384102,
-0.02450873702764511,
0.0639868825674057,
0.026159774512052536,
-0.07092124223709106,
0.0441744327545166,
-0.042009737342596054,
-0.04079897701740265,
0.01808803528547287,
-0.0396249033510685,
-0.04021194204688072,
-0.08357919752597809,
-0.07363627851009369,
0.011704022996127605,
0.0324520617723465,
0.06200563907623291,
0.018574174493551254,
-0.026856880635023117,
0.0005721304332837462,
-0.023738253861665726,
-0.02588460221886635,
-0.06813282519578934,
0.009282500483095646,
0.0507052019238472,
-0.02120666205883026,
0.05422741547226906,
0.027498949319124222,
0.021114937961101532,
-0.07609449326992035,
0.02331632189452648,
0.01366692315787077,
0.010841813869774342,
0.021518524736166,
-0.05848342552781105,
-0.00045317545300349593,
-0.032763924449682236,
-0.009621880948543549,
0.03111288882791996,
-0.014620856381952763,
0.042046427726745605,
-0.011217883788049221,
-0.010190571658313274,
-0.02825108915567398,
0.023793287575244904,
-0.006319805514067411,
0.08893589675426483,
0.043587394058704376,
-0.04938437044620514,
-0.0033571100793778896,
0.011162849143147469,
-0.02680184505879879,
-0.01360271591693163,
0.025774532929062843,
0.09319190680980682,
0.09319190680980682,
-0.030929438769817352,
0.04193635657429695,
0.011914988979697227,
0.033993031829595566,
-0.007094875909388065,
0.012336920946836472,
0.017629412934184074,
0.034268204122781754,
0.0017760121263563633,
0.028929850086569786,
-0.00637025386095047,
-0.003063592128455639,
-0.016996515914797783,
0.02349977008998394,
0.005173251498490572,
-0.08658775687217712,
0.015345478430390358,
-0.018610863015055656,
-0.03215854614973068,
-0.046449195593595505,
-0.06596812605857849,
-0.022876044735312462,
0.03601096570491791,
-0.041826289147138596,
0.03127799183130264,
0.024306943640112877,
-0.009823674336075783,
-0.003689610632136464
]
|
43,992 | jsons.exceptions | ValidationError |
Raised when the validation of an object failed.
| class ValidationError(JsonsError):
"""
Raised when the validation of an object failed.
"""
| (message: str) | [
-0.010074744001030922,
-0.019369173794984818,
0.02738041616976261,
0.01575370877981186,
-0.013282709755003452,
-0.03974408656358719,
-0.013906962238252163,
0.03287730738520622,
0.07331500947475433,
-0.025022126734256744,
0.056911032646894455,
0.006845104042440653,
0.07192777842283249,
-0.01881428249180317,
-0.04005621373653412,
0.029218493029475212,
0.016482004895806313,
0.015216158702969551,
0.0382528156042099,
-0.02004544623196125,
-0.023912345990538597,
-0.01244170218706131,
0.015285519883036613,
0.06939608603715897,
-0.0029413572046905756,
0.09571874141693115,
0.043558962643146515,
0.03331081569194794,
0.05212509632110596,
-0.014973393641412258,
-0.06641354411840439,
-0.027259033173322678,
0.03150741755962372,
0.06995097547769547,
-0.030779125168919563,
-0.046576183289289474,
-0.025871803984045982,
0.05004425346851349,
-0.16355419158935547,
0.04893447086215019,
-0.09870128333568573,
0.09003110975027084,
-0.06821694225072861,
-0.009069004096090794,
0.09828511625528336,
-0.000929334491956979,
-0.019629277288913727,
0.08108348399400711,
-0.08586942404508591,
-0.013239358551800251,
-0.009953361935913563,
-0.042969390749931335,
0.006064787972718477,
0.005033037159591913,
-0.008184646256268024,
0.039674725383520126,
0.03501017019152641,
0.1013370156288147,
-0.009164376184344292,
0.004012123681604862,
-0.04217173531651497,
0.04151280224323273,
-0.0012625943636521697,
-0.04352428391575813,
-0.005466545931994915,
-0.00508505804464221,
-0.04643746092915535,
-0.029391895979642868,
-0.010291499085724354,
-0.010881070978939533,
0.0024124763440340757,
0.041443441063165665,
-0.016828810796141624,
0.05687635391950607,
0.054240621626377106,
-0.03008550964295864,
-0.044807467609643936,
0.010239477269351482,
0.029339876025915146,
0.0064376057125627995,
0.05184765160083771,
-0.017192957922816277,
-0.048102136701345444,
-0.0026335660368204117,
-0.017981944605708122,
-0.011618035845458508,
0.013516804203391075,
-0.029599979519844055,
-0.032946668565273285,
0.031368695199489594,
-0.06825162470340729,
0.0024254817981272936,
-0.05503827705979347,
-0.005501226522028446,
-0.03246114030480385,
0.04061110317707062,
0.012797179631888866,
-0.0540672168135643,
0.0028936711605638266,
0.0059087248519063,
0.04699235409498215,
0.04869170859456062,
-0.04605597257614136,
0.02032289281487465,
0.01940385438501835,
0.0322703942656517,
0.006693375762552023,
-0.04244918003678322,
0.012840530835092068,
0.025577018037438393,
0.004608198534697294,
0.025316912680864334,
-0.0551769994199276,
0.025611698627471924,
0.02308000810444355,
-0.04883043095469475,
0.001754626864567399,
-0.019594596698880196,
-0.032339755445718765,
-0.003002048470079899,
0.057847414165735245,
-0.016586046665906906,
-0.02738041616976261,
0.045674487948417664,
0.08510644733905792,
0.02214362844824791,
0.01670742966234684,
0.028732962906360626,
0.06506100296974182,
-0.008774218149483204,
-0.015164137817919254,
0.0034767405595630407,
-0.025750422850251198,
-0.021970225498080254,
-0.005700640846043825,
0.03497548773884773,
0.018363432958722115,
-0.015268179588019848,
-0.02911445125937462,
-0.01156601496040821,
0.05261062830686569,
0.08233199268579483,
0.029322534799575806,
-0.04043770208954811,
-0.007768477778881788,
-0.01789524219930172,
-0.05410189926624298,
-0.026496058329939842,
-0.014470523223280907,
0.056286782026290894,
0.02217830903828144,
0.010551604442298412,
0.04255322366952896,
0.014808660373091698,
-0.039570681750774384,
-0.03469804301857948,
-0.045119594782590866,
-0.08829706907272339,
0.04345492273569107,
0.003398708999156952,
-0.002325774636119604,
-0.023461496457457542,
0.03473272547125816,
-0.051500845700502396,
-0.01353414449840784,
0.06159292906522751,
0.020739059895277023,
-0.06370845437049866,
-0.05465678870677948,
0.03239177539944649,
-0.020565656945109367,
0.008184646256268024,
-0.036934949457645416,
0.019594596698880196,
0.002102517755702138,
0.03135135769844055,
0.0315421000123024,
0.08600814640522003,
0.001205154461786151,
0.022074267268180847,
0.027449777349829674,
0.014973393641412258,
0.00955453421920538,
0.022039586678147316,
0.03301602974534035,
0.0412006750702858,
-0.03638005629181862,
0.04664554446935654,
0.04664554446935654,
0.010161446407437325,
0.03303337097167969,
0.017678488045930862,
0.01734902150928974,
-0.025056809186935425,
-0.009910010732710361,
-0.022698519751429558,
-0.008531453087925911,
-0.013984994031488895,
0.004855298437178135,
0.029599979519844055,
-0.08247071504592896,
0.02304532751441002,
-0.009268417954444885,
-0.029877426102757454,
-0.009519852697849274,
0.03790600970387459,
-0.008011242374777794,
-0.0013319557765498757,
-0.007074863649904728,
-0.0559052936732769,
-0.024814043194055557,
-0.0024775026831775904,
-0.03790600970387459,
0.061176761984825134,
0.05715379863977432,
-0.08871323615312576,
0.03438591584563255,
-0.0472697988152504,
-0.00743901077657938,
0.01487802155315876,
0.052957434207201004,
-0.008041588589549065,
0.026860205456614494,
-0.022871924564242363,
-0.007746802177280188,
0.021450014784932137,
0.012077555060386658,
-0.03405645117163658,
0.0011683062184602022,
-0.05285339057445526,
-0.03665750473737717,
0.005739656277000904,
0.028715621680021286,
0.011193197220563889,
-0.03908515349030495,
0.018710238859057426,
0.03735111653804779,
-0.057257842272520065,
0.045431721955537796,
-0.012970583513379097,
-0.013412762433290482,
-0.021380653604865074,
-0.023790962994098663,
0.006741061806678772,
0.022074267268180847,
0.021380653604865074,
0.0011433794861659408,
0.03970940411090851,
-0.05046042427420616,
-0.021779481321573257,
-0.013603505678474903,
0.009519852697849274,
0.006255531683564186,
0.007265607360750437,
0.029634661972522736,
-0.04498087242245674,
0.01487802155315876,
-0.05229850113391876,
0.0833030492067337,
0.005145749542862177,
0.023738941177725792,
0.015536955557763577,
-0.02790062688291073,
0.10737145692110062,
-0.025022126734256744,
-0.060240380465984344,
0.026166589930653572,
0.039293237030506134,
-0.0047339159063994884,
0.05926932394504547,
0.10730209946632385,
0.0039015791844576597,
0.019681299105286598,
0.010967772454023361,
-0.027883285656571388,
-0.013239358551800251,
-0.05978953465819359,
0.056598909199237823,
0.04706171527504921,
-0.02427649311721325,
0.0285075381398201,
-0.025941167026758194,
0.022074267268180847,
0.004712240770459175,
0.023773621767759323,
-0.036276016384363174,
0.02273320034146309,
-0.04858766496181488,
-0.08122220635414124,
-0.007096538785845041,
0.04421789571642876,
-0.03700431063771248,
-0.007504037115722895,
0.017106257379055023,
-0.004924660082906485,
-0.022594477981328964,
-0.043316200375556946,
-0.01063830591738224,
0.0078855250030756,
-0.04012557491660118,
0.011921491473913193,
0.029079770669341087,
0.01140128169208765,
-0.0015259509673342109,
-0.061766333878040314,
-0.05524636059999466,
-0.005314817652106285,
0.0030063835438340902,
-0.046610865741968155,
0.015302860178053379,
-0.00515441969037056,
0.015710359439253807,
-0.03589452803134918,
0.012216277420520782,
0.016794130206108093,
0.045154277235269547,
0.026166589930653572,
-0.02221299149096012,
0.009233737364411354,
0.06714183837175369,
-0.01912640780210495,
-0.03759388253092766,
0.017383702099323273,
-0.06894523650407791,
-0.03589452803134918,
-0.02332277223467827,
0.00032106746220961213,
0.037247076630592346,
-0.03863430395722389,
-0.022351713851094246,
0.020409593358635902,
-0.05618273839354515,
0.04470342770218849,
0.001873841742053628,
-0.018294071778655052,
-0.027207011356949806,
0.058818474411964417,
-0.042379818856716156,
0.012979253195226192,
-0.007772812619805336,
0.018658218905329704,
-0.026218611747026443,
0.015883762389421463,
-0.00356560992076993,
-0.06450610607862473,
-0.021692780777812004,
0.009303098544478416,
-0.030293595045804977,
0.04074982553720474,
-0.01947321556508541,
-0.05243722349405289,
0.06464482843875885,
-0.018970344215631485,
-0.014392492361366749,
-0.023929685354232788,
-0.045362360775470734,
-0.010031393729150295,
-0.037212394177913666,
0.004994021262973547,
-0.07033246755599976,
0.021502036601305008,
-0.014973393641412258,
-0.042345140129327774,
-0.04851830378174782,
-0.012485053390264511,
0.014661267399787903,
0.04612533748149872,
-0.06405525654554367,
0.04095790907740593,
-0.02918381243944168,
0.005579258315265179,
0.004196364898234606,
-0.030744444578886032,
-0.006138484459370375,
-0.012719147838652134,
0.021051187068223953,
0.0021198580507189035,
0.0285075381398201,
-0.08358049392700195,
0.032964009791612625,
0.0012235785834491253,
-0.04307343438267708,
-0.0509459525346756,
-0.05548912659287453,
0.01110649574548006,
0.00048471702029928565,
-0.028490198776125908,
0.00924240704625845,
-0.05202105641365051,
0.03504485264420509,
-0.0003714628401212394,
-0.0509459525346756,
0.0049636755138635635,
0.004946335218846798,
-0.053547006100416183,
-0.03603325039148331,
0.018103327602148056,
-0.00027311054873280227,
-0.009563203901052475,
0.03943195939064026,
0.008739537559449673,
0.018692899495363235,
0.0022520781494677067,
-0.00942448154091835,
0.0364147387444973,
0.04373236745595932,
0.028646260499954224,
0.02824743278324604,
0.001393730752170086,
0.01938651315867901,
0.03915451467037201,
-0.017713168635964394,
-0.029287854209542274,
-0.06696844100952148,
-0.03192358836531639,
-0.004534502048045397,
0.013352070935070515,
0.01789524219930172,
-0.0577433705329895,
-0.016568705439567566,
0.0013460448244586587,
0.020999165251851082,
0.043905772268772125,
0.03504485264420509,
-0.028143391013145447,
-0.012337660416960716,
-0.020860442891716957,
0.02210894785821438,
0.03199294954538345,
0.023565538227558136,
0.015953123569488525,
0.0035005835816264153,
-0.028039349243044853,
-0.08191581815481186,
-0.010508253239095211,
-0.07345373183488846,
-0.03766324371099472,
-0.04668022692203522,
-0.008423076011240482,
0.06412462145090103,
0.039986852556467056,
0.021311292424798012,
0.06939608603715897,
0.0147132882848382,
0.059408046305179596,
-0.010811708867549896,
0.03877302631735802,
0.03435123711824417,
0.007807493209838867,
-0.019820021465420723,
0.014037014916539192,
-0.011193197220563889,
0.05188233405351639,
-0.021345973014831543,
-0.04484215006232262,
-0.06218250095844269,
-0.008756877854466438,
-0.045050233602523804,
-0.012797179631888866,
-0.016534024849534035,
-0.02517819032073021,
0.024467235431075096,
-0.03129933401942253,
-0.011271229013800621,
-0.06377781182527542,
0.022871924564242363,
-0.0006665197433903813,
0.02672148123383522,
-0.0013666364829987288,
0.05104999616742134,
-0.010959101840853691,
0.02914913184940815,
0.0002591569791547954,
-0.03561708331108093,
-0.0017156110843643546,
0.047235116362571716,
0.049073196947574615,
-0.030189553275704384,
-0.025108829140663147,
-0.024692660197615623,
0.042969390749931335,
-0.025039467960596085,
0.013317390345036983,
-0.01138394046574831,
0.050599146634340286,
-0.0327385850250721,
-0.04130471870303154,
-0.008306028321385384,
-0.008618154563009739,
0.018016625195741653,
0.002540361601859331,
-0.028091369196772575,
-0.02947859838604927,
0.011253888718783855,
0.012701807543635368,
-0.029634661972522736,
-0.025958506390452385,
0.02089512348175049,
0.01140128169208765,
-0.027102969586849213,
0.025039467960596085,
0.007781482767313719,
0.014956053346395493,
-0.022056927904486656,
0.019213110208511353,
-0.03396974876523018,
0.04709639400243759,
0.009095014072954655,
0.019213110208511353,
-0.027259033173322678,
-0.05122339725494385,
0.09648171812295914,
0.011175856925547123,
0.052992116659879684,
0.009537193924188614,
-0.026652120053768158,
0.003817044897004962,
0.059095919132232666,
0.03832217678427696,
0.04286535084247589,
-0.00013547149137593806,
-0.004436962306499481,
0.07109544426202774,
-0.0215193759649992,
0.018085986375808716,
-0.009684586897492409,
-0.025091489776968956,
-0.028490198776125908,
0.05132744088768959,
0.04088854789733887,
0.034125812351703644,
0.006832098588347435,
0.034524641931056976,
0.005332157947123051,
-0.02153671719133854,
0.02699892781674862,
-0.012493723072111607,
0.02311468869447708,
-0.018276730552315712,
0.02427649311721325,
0.025368934497237206,
0.06048314645886421,
0.020132148638367653,
0.028663601726293564,
-0.039258554577827454,
0.004833622835576534,
-0.018033966422080994,
-0.02914913184940815,
-0.04047238081693649,
-0.006949145812541246,
0.0015443750889971852,
0.0033315150067210197,
0.02554233744740486,
0.02332277223467827,
-0.025039467960596085,
-0.017981944605708122,
0.013733558356761932,
0.042726628482341766,
0.06724588572978973,
0.007668770384043455,
-0.008579138666391373,
0.031420718878507614,
0.027467116713523865,
-0.04948936402797699,
-0.0371430329978466,
0.030154870823025703,
-0.017444394528865814,
0.025715742260217667,
-0.022386394441127777,
0.012788509018719196,
-0.014089035801589489,
0.06131548434495926,
0.01577972061932087,
0.014401162043213844,
0.015909772366285324,
0.00569630553945899,
-0.023513516411185265,
0.009207726456224918,
-0.039882808923721313,
-0.032044969499111176,
0.01261510606855154,
-0.026842864230275154,
-0.013152657076716423,
-0.042969390749931335,
-0.005189100280404091,
0.002939189551398158,
-0.052679989486932755,
0.00849677249789238,
-0.00584803381934762,
-0.007729461882263422,
0.011800109408795834,
0.016950193792581558,
-0.027883285656571388,
-0.02219565026462078,
0.02883700467646122,
0.06880651414394379,
-0.012727818451821804,
-0.09134897589683533,
-0.0461600162088871,
-0.016863491386175156,
-0.01787790283560753,
0.0678701400756836,
0.003071409882977605,
-0.023860324174165726,
0.05066850781440735,
0.0051154037937521935,
-0.02609722875058651,
0.012701807543635368,
-0.006693375762552023,
-0.010898411273956299,
0.009953361935913563,
-0.009042993187904358,
-0.00721358647570014,
-0.0437670461833477,
-0.03313741087913513,
-0.041720885783433914,
-0.0011466307332739234,
0.017375033348798752,
0.008236667141318321,
-0.0071832407265901566,
0.04123535752296448,
0.010482242330908775,
0.005215110722929239,
0.040819186717271805,
-0.024397874251008034,
0.02732839435338974,
0.00201256456784904,
0.01766114868223667,
-0.10737145692110062,
-0.11215739697217941,
-0.03426453471183777,
0.01914374902844429,
0.01214691624045372,
-0.10265488177537918,
-0.004306910093873739,
0.0012387513415887952,
0.0034919134341180325,
0.010204796679317951,
0.025923825800418854,
0.04466874524950981,
-0.033380176872015,
-0.05493423342704773,
-0.047200437635183334,
0.04636809974908829,
-0.062113139778375626,
0.05163956806063652,
-0.02975604310631752,
-0.042726628482341766,
0.06461015343666077,
-0.015328871086239815,
0.009025652892887592,
0.09717532992362976,
-0.0742860659956932,
0.004150846507400274,
0.06245994567871094,
0.06350036710500717,
0.01185213029384613,
-0.04896915331482887,
0.016542695462703705,
0.015025414526462555,
-0.020791081711649895,
-0.016924183815717697,
0.01700221560895443,
-0.018155347555875778,
0.04220641776919365,
0.02434585429728031,
-0.00006082670370233245,
-0.07310692220926285,
0.011496652849018574,
0.024675320833921432,
-0.05989357456564903,
0.011869470588862896,
0.012164256535470486,
0.013915631920099258,
-0.03428187593817711,
0.01822471059858799,
-0.007595073897391558,
-0.00454317219555378,
0.023617558181285858,
-0.032339755445718765,
-0.019611937925219536,
-0.009901341050863266,
-0.05212509632110596,
0.013586165383458138,
-0.051500845700502396,
0.0007109544239938259,
-0.0025381939485669136,
0.04400981217622757,
-0.012693137861788273,
-0.008938951417803764,
-0.037524521350860596,
0.003814877476543188,
-0.03853026032447815,
0.014661267399787903,
-0.05711911991238594,
-0.04546640068292618,
-0.022941285744309425,
0.01336074061691761,
0.034524641931056976,
0.0430387519299984,
0.03365762159228325,
-0.002362622879445553,
0.0037108352407813072,
-0.016508014872670174,
0.030519019812345505,
0.024710001423954964,
-0.028108710423111916,
-0.0285942405462265,
0.0540672168135643,
-0.05049510300159454,
0.02335745468735695,
0.04251854121685028,
0.02642669528722763,
-0.0535123236477375,
-0.0424838624894619,
-0.019993426278233528,
0.05396317318081856,
0.04109663516283035,
0.008475096896290779,
-0.005965081043541431,
-0.0027701212093234062,
0.0011070730397477746,
-0.009441821835935116,
0.0039536003023386,
0.025577018037438393,
-0.002848152769729495,
-0.005583593156188726,
-0.0437670461833477,
0.026860205456614494,
0.006645689718425274,
0.04980149120092392,
0.029912106692790985,
-0.088643878698349,
0.028160730376839638,
-0.012658456340432167,
-0.021952886134386063,
-0.033865705132484436,
0.0005641033058054745,
0.04758192598819733,
0.06440206617116928,
0.04407917335629463,
-0.002945692278444767,
0.02457127906382084,
-0.06072591245174408,
-0.009597884491086006,
0.03185422718524933,
0.009008312597870827,
0.07296819984912872,
-0.03365762159228325,
-0.010985112749040127,
0.011583355255424976,
-0.01004006341099739,
-0.03211433067917824,
0.009320438839495182,
-0.003866898361593485,
0.0023214395623654127,
-0.015849081799387932,
0.01851949654519558,
0.00752137741073966,
0.01855417713522911,
-0.05413657799363136,
-0.0388077087700367,
-0.0206003375351429,
-0.0019583760295063257,
0.015190147794783115,
0.02614925056695938,
-0.021033845841884613,
0.02212628908455372
]
|
43,994 | jsons.classes.verbosity | Verbosity |
An enum that defines the level of verbosity of the serialization of an
object.
| class Verbosity(Flag):
"""
An enum that defines the level of verbosity of the serialization of an
object.
"""
WITH_NOTHING = 0
WITH_CLASS_INFO = 10
WITH_DUMP_TIME = 20
WITH_EVERYTHING = WITH_CLASS_INFO | WITH_DUMP_TIME
@staticmethod
def from_value(value: any) -> 'Verbosity':
"""
Return a ``Verbosity`` instance from the given value.
:param value:
:return: a ``Verbosity`` instance corresponding to ``value``.
"""
if isinstance(value, Verbosity):
return value
if value in (False, None):
return Verbosity.WITH_NOTHING
if value is True:
return Verbosity.WITH_EVERYTHING
if value:
return Verbosity.WITH_EVERYTHING
return Verbosity.WITH_NOTHING
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.05418705195188522,
-0.04605371132493019,
-0.008287379518151283,
-0.012244020588696003,
0.03205803036689758,
-0.05834174528717995,
-0.021565672010183334,
-0.02343176305294037,
-0.0003597946197260171,
-0.058200906962156296,
-0.04468055069446564,
0.06281331926584244,
-0.03351921588182449,
-0.050595708191394806,
-0.009532907046377659,
-0.014066099189221859,
-0.04728603735566139,
0.02901243045926094,
0.053482867777347565,
0.0722494050860405,
0.06932703405618668,
0.07246065884828568,
-0.018801745027303696,
0.053236402571201324,
0.027357595041394234,
-0.011839114129543304,
-0.011346183717250824,
-0.02056220732629299,
-0.03689930588006973,
0.034012146294116974,
-0.022569136694073677,
-0.0654188022017479,
0.004766453523188829,
0.01994604617357254,
-0.024875342845916748,
-0.026653410866856575,
-0.04943380132317543,
0.09767048805952072,
-0.10647280514240265,
-0.01449741329997778,
0.0008994865929707885,
-0.03556135296821594,
-0.07365777343511581,
-0.003138025291264057,
-0.020210115239024162,
-0.037392232567071915,
0.02258674055337906,
0.05767276883125305,
-0.03901186212897301,
-0.061228904873132706,
0.059151556342840195,
-0.008608664385974407,
0.030667265877127647,
0.013080240227282047,
-0.049116916954517365,
0.0005886548315174878,
0.04362427443265915,
0.04957463964819908,
-0.004678430501371622,
0.0541166327893734,
-0.04249757528305054,
0.04468055069446564,
-0.005954766180366278,
-0.03152989223599434,
-0.017798280343413353,
-0.03168833255767822,
-0.0625668540596962,
-0.009110395796597004,
-0.0303327776491642,
0.06482024490833282,
-0.029892662540078163,
-0.03545572608709335,
0.014092506840825081,
0.03746265172958374,
-0.025104202330112457,
-0.03265658766031265,
-0.06101764738559723,
-0.022921228781342506,
-0.008128938265144825,
-0.009233628399670124,
0.017631037160754204,
-0.03200521692633629,
-0.010721219703555107,
-0.028202617540955544,
-0.02043897472321987,
-0.00881111714988947,
0.01660996861755848,
-0.04700436070561409,
0.07837581634521484,
0.017217328771948814,
-0.07577032595872879,
0.037040140479803085,
0.027234362438321114,
0.00802771095186472,
0.004145890474319458,
0.006218835711479187,
0.010800440795719624,
-0.03262137994170189,
-0.019611557945609093,
-0.026248503476381302,
-0.013942867517471313,
0.007935287430882454,
-0.014101308770477772,
-0.030755288898944855,
0.012763356789946556,
-0.010281103663146496,
0.011575044132769108,
-0.015879375860095024,
0.017543014138936996,
0.003164432244375348,
0.004161294549703598,
-0.06453857570886612,
-0.05739109590649605,
-0.039962511509656906,
-0.016143444925546646,
-0.022040996700525284,
-0.007864868268370628,
-0.03360724076628685,
-0.02586120180785656,
-0.00852944329380989,
-0.002651697490364313,
0.05672211945056915,
0.01699727028608322,
0.009981825016438961,
-0.012420066632330418,
0.030649660155177116,
0.020403767004609108,
0.016389910131692886,
0.02573796920478344,
0.08422055095434189,
-0.004282326437532902,
0.029082849621772766,
-0.017199723049998283,
0.0168740376830101,
0.009929011575877666,
-0.0022049800027161837,
-0.013740413822233677,
0.04788459464907646,
-0.01378442533314228,
0.09154407680034637,
0.01605542190372944,
-0.04408199340105057,
0.010492359288036823,
0.0007812054827809334,
0.008863931521773338,
0.004209707025438547,
0.0270583163946867,
-0.004630017559975386,
-0.031019357964396477,
0.006628143135458231,
0.059750113636255264,
-0.0027595257852226496,
-0.029311709105968475,
0.06411606073379517,
0.009101593866944313,
-0.0016768410569056869,
0.005400220397859812,
-0.08703728765249252,
-0.0013071438297629356,
-0.032586172223091125,
-0.01609063148498535,
0.01784229278564453,
0.007790048606693745,
-0.049715474247932434,
0.0046960352919995785,
0.05246179923415184,
0.002152166096493602,
0.030737685039639473,
0.017340561375021935,
0.007468764204531908,
-0.01384604163467884,
-0.0045507969334721565,
0.01535123772919178,
0.061088066548109055,
0.013326705433428288,
0.13900615274906158,
0.010369126684963703,
0.030403196811676025,
0.029875056818127632,
-0.004660825710743666,
-0.008199356496334076,
-0.007160683162510395,
-0.07288316637277603,
-0.002673703245818615,
0.051440730690956116,
-0.03193479776382446,
0.0481310598552227,
-0.06305978447198868,
0.0286251287907362,
0.0066941604018211365,
0.03637116402387619,
0.009638534858822823,
0.04228632152080536,
0.020139696076512337,
-0.02248111180961132,
-0.02913566306233406,
-0.0337480753660202,
-0.07872790843248367,
0.05397579446434975,
-0.023150088265538216,
-0.012314438819885254,
-0.0011432006722316146,
-0.01982281357049942,
0.006214434280991554,
0.007503973785787821,
0.018660908564925194,
0.0293821282684803,
-0.002605485264211893,
-0.04541994631290436,
-0.01396927423775196,
-0.011839114129543304,
-0.036441583186388016,
0.02668861858546734,
0.07077061384916306,
0.011751090176403522,
-0.1106979176402092,
0.06936224550008774,
0.01815037429332733,
-0.05446872487664223,
0.039082277566194534,
0.04904649779200554,
-0.02248111180961132,
-0.0030544032342731953,
0.08189673721790314,
-0.01136378850787878,
0.032920658588409424,
0.039680834859609604,
-0.01759582757949829,
-0.0010518766939640045,
-0.026759037747979164,
-0.009893801994621754,
-0.02077346295118332,
-0.027604060247540474,
0.00634206784889102,
-0.04327218234539032,
0.044891808182001114,
0.042110275477170944,
0.01009625568985939,
-0.016002608463168144,
-0.042004648596048355,
0.04957463964819908,
-0.010333918035030365,
0.015192795544862747,
0.03410016745328903,
0.009022372774779797,
-0.05499686300754547,
0.01780708320438862,
-0.003080810187384486,
0.006597334984689951,
0.009876197203993797,
-0.03950478881597519,
-0.007380741182714701,
0.0046828314661979675,
-0.018555279821157455,
0.0318995900452137,
-0.048166267573833466,
-0.07569991052150726,
-0.022023392841219902,
0.02056220732629299,
0.006381678394973278,
-0.027621664106845856,
-0.008106932044029236,
-0.014963936060667038,
0.049152128398418427,
-0.01793031580746174,
-0.04457492381334305,
0.03834288567304611,
-0.06929182261228561,
0.02899482659995556,
0.020262928679585457,
0.05320119112730026,
-0.056510861963033676,
-0.020086882635951042,
0.004894087091088295,
-0.08830482512712479,
-0.002620889339596033,
0.015307226218283176,
-0.00019970252469647676,
0.014145320281386375,
0.007618403527885675,
0.030913731083273888,
0.010492359288036823,
0.008309385739266872,
-0.04059627652168274,
-0.013872448354959488,
0.009937813505530357,
-0.002011328935623169,
0.01747259497642517,
-0.03131863847374916,
-0.012349648401141167,
0.06239080801606178,
0.02973422035574913,
0.07893916219472885,
-0.018308814615011215,
0.02971661649644375,
-0.007464363239705563,
-0.013150658458471298,
-0.03248054161667824,
0.02513941191136837,
-0.05580667778849602,
0.07506614178419113,
-0.029998289421200752,
0.04855357110500336,
-0.0031314236111938953,
-0.004832470789551735,
0.03591344505548477,
0.005598272196948528,
-0.03579021245241165,
0.015421655960381031,
0.05376454070210457,
-0.003197440877556801,
0.0043725501745939255,
0.04228632152080536,
0.004478177987039089,
-0.025526713579893112,
-0.0013060434721410275,
-0.009092791005969048,
-0.019382698461413383,
-0.04675789922475815,
0.06876368820667267,
-0.024223970249295235,
0.018520070239901543,
-0.01780708320438862,
0.003879620460793376,
-0.06362313032150269,
-0.08175589889287949,
0.0076492116786539555,
0.019153837114572525,
-0.006905416026711464,
-0.018308814615011215,
-0.04591287672519684,
-0.04496222361922264,
0.030913731083273888,
0.06154578551650047,
-0.03198761120438576,
0.04133567214012146,
0.051898449659347534,
-0.010333918035030365,
-0.020122092217206955,
-0.006482905242592096,
0.06415127217769623,
0.0254915039986372,
-0.06031346321105957,
0.025315457955002785,
0.005893149878829718,
0.002594482386484742,
0.01815037429332733,
0.0011619055876508355,
0.08429096639156342,
0.04182860255241394,
0.01245527621358633,
-0.023907087743282318,
-0.02017490565776825,
0.03542051464319229,
0.04897608235478401,
-0.05471519008278847,
0.03225168213248253,
-0.08119255304336548,
0.020703045651316643,
-0.009009169414639473,
-0.01081804558634758,
0.015923388302326202,
0.03057924285531044,
0.028853988274931908,
0.019875627011060715,
-0.04277925193309784,
0.006377277430146933,
-0.046722687780857086,
0.0038510127924382687,
-0.006073597352951765,
0.025896411389112473,
-0.014743877574801445,
0.011698276735842228,
-0.06334146112203598,
0.022639553993940353,
0.02306206524372101,
0.007451159879565239,
0.012895391322672367,
-0.004200905095785856,
0.02645975910127163,
0.004132687114179134,
0.014462203718721867,
-0.015386446379125118,
0.021688904613256454,
-0.002221484202891588,
-0.02295643836259842,
0.02695268951356411,
0.010237092152237892,
-0.0033404785208404064,
0.006540120113641024,
-0.013256286270916462,
0.0033470802009105682,
-0.009022372774779797,
-0.027128735557198524,
-0.011398998089134693,
0.007081462536007166,
-0.03228688985109329,
0.025157015770673752,
0.009550511837005615,
0.01607302762567997,
0.04214548319578171,
-0.0033800890669226646,
0.0002948775654658675,
-0.002627491019666195,
-0.033660054206848145,
-0.02709352597594261,
0.03320233151316643,
-0.0021818738896399736,
-0.010087452828884125,
0.006672154646366835,
0.013696402311325073,
-0.05091258883476257,
-0.0007922083605080843,
-0.00540902279317379,
0.021900160238146782,
-0.015923388302326202,
0.07957293093204498,
0.023114878684282303,
-0.020826278254389763,
0.0036507602781057358,
0.03989209234714508,
0.04196943715214729,
0.06615819782018661,
0.07774204760789871,
0.023167693987488747,
-0.020509393885731697,
-0.009858592413365841,
0.027850525453686714,
0.0106331966817379,
0.016169853508472443,
-0.010659603402018547,
-0.08485431969165802,
-0.011715881526470184,
-0.0888681709766388,
0.03241012245416641,
-0.029170872643589973,
-0.026618201285600662,
-0.07217898219823837,
-0.02066783607006073,
0.06179225072264671,
0.010879660956561565,
0.000296803074888885,
-0.018291210755705833,
0.029663801193237305,
0.01654835231602192,
-0.027762502431869507,
-0.003505521919578314,
0.0572502575814724,
0.09429039806127548,
-0.04323697090148926,
0.01038673147559166,
-0.022516321390867233,
0.0018143771449103951,
-0.011953543871641159,
0.007922083139419556,
-0.04203985631465912,
-0.05200407654047012,
-0.0093744657933712,
-0.030737685039639473,
-0.06904535740613937,
0.03985688090324402,
-0.00943608209490776,
-0.07710827887058258,
-0.016680387780070305,
-0.024875342845916748,
0.008463425561785698,
0.054820816963911057,
0.0052285753190517426,
-0.0653131753206253,
-0.02660059556365013,
0.02056220732629299,
-0.009620930068194866,
0.008855128660798073,
-0.014039692468941212,
0.013555564917623997,
0.04749729111790657,
-0.009154407307505608,
-0.04119483381509781,
-0.0478493832051754,
-0.015632910653948784,
0.0062540448270738125,
-0.00044369170791469514,
-0.01957634836435318,
0.02029813826084137,
-0.0022258854005485773,
-0.012657728977501392,
0.010844452306628227,
0.03575500473380089,
0.08745980262756348,
0.01352915819734335,
0.0040512653067708015,
0.020984718576073647,
-0.011698276735842228,
-0.022674763575196266,
0.0718621015548706,
0.03262137994170189,
-0.03424100577831268,
0.0235902052372694,
0.024206366389989853,
0.019171442836523056,
0.0065929340198636055,
-0.038272466510534286,
-0.04668748006224632,
0.00011415502376621589,
-0.0017890705494210124,
-0.03068486973643303,
-0.005963568575680256,
-0.02332613430917263,
-0.017675047740340233,
0.030526429414749146,
0.014215738512575626,
0.05158156529068947,
0.002955377334728837,
0.04710999131202698,
0.011434207670390606,
0.012728147208690643,
-0.005523452535271645,
-0.03820204734802246,
0.0035165247973054647,
-0.0287659652531147,
-0.039434369653463364,
0.02633652649819851,
0.0020894494373351336,
-0.02418876253068447,
-0.029681406915187836,
-0.009216023609042168,
-0.023748645558953285,
-0.019629161804914474,
0.02948775514960289,
0.025685155764222145,
0.0187489315867424,
-0.041406091302633286,
-0.00899596605449915,
0.06031346321105957,
0.023783855140209198,
-0.07886873930692673,
0.024734504520893097,
0.043800320476293564,
-0.020879091694951057,
-0.0384485125541687,
0.07210856676101685,
0.006276050582528114,
0.0037673907354474068,
0.002700110198929906,
0.02936452254652977,
0.0562996082007885,
-0.02198818325996399,
0.03228688985109329,
0.03399454057216644,
-0.0044891806319355965,
-0.06052471697330475,
0.008613064885139465,
-0.04232152923941612,
-0.009656139649450779,
-0.013229879550635815,
0.007305921521037817,
0.02609006129205227,
0.039716046303510666,
0.033888913691043854,
0.015483272261917591,
0.021442439407110214,
-0.00789127591997385,
0.00008197155693778768,
-0.05644044280052185,
-0.058306533843278885,
0.013669995591044426,
0.011310975067317486,
0.028343454003334045,
0.04823668673634529,
0.015157586894929409,
0.04010334610939026,
-0.04584245756268501,
-0.03191719576716423,
-0.028730755671858788,
0.006566526833921671,
0.08062920719385147,
-0.01070361491292715,
0.05883467569947243,
0.01679481752216816,
0.02357259951531887,
-0.05087738111615181,
-0.007011043839156628,
-0.028554709628224373,
-0.0766153484582901,
0.016768410801887512,
0.00009703177056508139,
-0.005219772923737764,
0.013766820542514324,
0.03869497776031494,
0.05049007758498192,
-0.0033140715677291155,
0.03117780014872551,
0.030139125883579254,
-0.0575319305062294,
-0.012983414344489574,
-0.005140551831573248,
0.034505076706409454,
-0.027709687128663063,
0.048870451748371124,
0.02165369503200054,
-0.04415241256356239,
0.008190554566681385,
-0.03142426535487175,
0.007596397772431374,
0.0036419578827917576,
-0.00349231855943799,
0.01745499111711979,
0.005593871232122183,
-0.02320290170609951,
-0.020984718576073647,
-0.010923673398792744,
0.004354945383965969,
-0.019664371386170387,
-0.006945026572793722,
0.022815600037574768,
-0.0055762664414942265,
-0.0029883859679102898,
-0.03880060464143753,
-0.029998289421200752,
-0.019963650032877922,
-0.02054460346698761,
0.021600881591439247,
-0.01396927423775196,
-0.010061046108603477,
-0.023766251280903816,
-0.02851950004696846,
-0.028924407437443733,
-0.0055366563610732555,
-0.03395933285355568,
-0.11105000972747803,
-0.00007688272307859734,
0.021900160238146782,
0.003980847075581551,
-0.0578136071562767,
-0.03792037442326546,
-0.025561923161149025,
-0.06151057779788971,
0.011698276735842228,
-0.022076206281781197,
0.051792822778224945,
-0.011742288246750832,
0.0044737765565514565,
-0.03630074858665466,
0.0015007946640253067,
-0.04619454964995384,
-0.019277069717645645,
-0.02753364108502865,
-0.02344936691224575,
0.043201763182878494,
-0.04408199340105057,
-0.01147821918129921,
0.07429154217243195,
-0.03105456754565239,
-0.00022212091425899416,
-0.010430742986500263,
0.05918676778674126,
0.05161677673459053,
0.054926447570323944,
0.037180978804826736,
0.005232976283878088,
-0.05841216444969177,
-0.02295643836259842,
0.03568458557128906,
0.00028126148390583694,
0.03152989223599434,
0.019365092739462852,
-0.06703843176364899,
-0.06552443653345108,
0.1175285130739212,
-0.05700379237532616,
0.003950038924813271,
0.07267191261053085,
-0.0027243164367973804,
0.020685439929366112,
-0.06334146112203598,
-0.0024448430631309748,
-0.011064509861171246,
0.07802372425794601,
0.03022715076804161,
-0.03830767422914505,
0.015342434868216515,
-0.007627205923199654,
0.015852969139814377,
-0.002262194873765111,
0.011715881526470184,
-0.036089491099119186,
-0.016169853508472443,
-0.0010557277128100395,
0.02043897472321987,
-0.02501617930829525,
-0.05277867987751961,
-0.06858763843774796,
0.0037409840151667595,
0.04027939215302467,
0.012103183194994926,
0.00465642474591732,
-0.018660908564925194,
0.008661477826535702,
0.042849671095609665,
-0.04531431943178177,
0.045877665281295776,
-0.02753364108502865,
-0.019241860136389732,
0.014330169185996056,
-0.01697966642677784,
0.028695547953248024,
-0.01609063148498535,
-0.048025429248809814,
0.08788231015205383,
-0.013485146686434746,
-0.0034967197570949793,
0.15308986604213715,
-0.01233204361051321,
-0.03262137994170189,
-0.022551530972123146,
0.0037629897706210613,
-0.030262358486652374,
0.021107951179146767,
-0.0018803945276886225,
-0.007147479802370071,
-0.008084926754236221,
0.022639553993940353,
-0.026072457432746887,
0.036793675273656845,
-0.018291210755705833,
0.0057523129507899284,
0.001015567104332149,
-0.007305921521037817,
-0.006940625607967377,
-0.0594332329928875,
0.049469009041786194,
-0.037779536098241806,
-0.06425689905881882,
-0.0541166327893734,
0.03358963504433632,
0.031600311398506165,
0.005875545088201761,
-0.013150658458471298,
0.017006073147058487,
0.03566697984933853,
0.035596560686826706,
0.05207449570298195,
-0.0014765883097425103,
0.011460614390671253,
-0.029804639518260956,
0.01425094809383154,
0.07612241804599762,
0.032445333898067474,
-0.017419781535863876,
-0.04524390026926994,
0.00943608209490776,
-0.038835812360048294,
-0.020245324820280075,
-0.0024998574517667294,
0.08119255304336548,
0.013485146686434746,
-0.005721504800021648,
-0.0030367986764758825,
0.0049909125082194805,
-0.06467941403388977,
-0.044891808182001114,
-0.0643625259399414,
0.014541424810886383,
0.03925832360982895,
0.005219772923737764,
0.08584017306566238,
-0.04214548319578171,
0.011944741941988468
]
|
43,995 | zoneinfo | ZoneInfo | null | from zoneinfo import ZoneInfo
| null | [
0.05206937715411186,
-0.004490632098168135,
0.010408605448901653,
0.03798042982816696,
-0.015450410544872284,
-0.058147650212049484,
-0.014211918227374554,
0.0450776033103466,
-0.01904291659593582,
0.019236156716942787,
-0.041142538189888,
-0.00516916811466217,
0.005125249736011028,
-0.02281987853348255,
0.010926838964223862,
0.0377696231007576,
-0.032095395028591156,
0.052174780517816544,
-0.0586044006049633,
-0.03924527019262314,
-0.017215920612215996,
-0.06689614802598953,
-0.001268137013539672,
-0.00098266894929111,
0.024840114638209343,
0.07195552438497543,
-0.023417165502905846,
-0.04107226803898811,
0.020922614261507988,
-0.03111162781715393,
-0.030812984332442284,
-0.012147764675319195,
-0.03668045252561569,
0.028985988348722458,
-0.023873914033174515,
-0.004800255410373211,
0.003715476719662547,
-0.024207692593336105,
-0.060220587998628616,
0.047888368368148804,
0.03434400632977486,
-0.01279775332659483,
-0.043320879340171814,
0.001424046466127038,
0.04943428561091423,
0.0036188566591590643,
0.005871858447790146,
-0.03246430680155754,
0.006289081182330847,
-0.006003613118082285,
0.004014120437204838,
-0.004589448217302561,
0.02661440707743168,
-0.03518723323941231,
0.021432064473628998,
0.005024238023906946,
0.03388725593686104,
0.09149032086133957,
-0.04908294230699539,
0.0053492323495447636,
-0.06282053887844086,
-0.017233487218618393,
-0.033166997134685516,
0.008476206101477146,
0.026017120108008385,
0.024313095957040787,
-0.023522568866610527,
-0.07188525050878525,
0.009354569017887115,
0.02334689535200596,
0.08024726808071136,
-0.017391592264175415,
-0.011330886743962765,
-0.012499109841883183,
0.06415565311908722,
0.02289014682173729,
-0.0834093764424324,
-0.03423859924077988,
-0.01740916073322296,
-0.016109183430671692,
-0.05150722339749336,
-0.04188036173582077,
-0.011726150289177895,
0.04725594446063042,
0.06851233541965485,
-0.002949104644358158,
0.027756279334425926,
-0.06320702284574509,
-0.03527506813406944,
0.0716041773557663,
-0.02289014682173729,
-0.03587235510349274,
-0.058147650212049484,
0.049750495702028275,
-0.031375136226415634,
0.02146719954907894,
0.0338345542550087,
-0.03601289540529251,
-0.06324215978384018,
0.0050505888648331165,
0.04412897303700447,
-0.01631120592355728,
-0.07504735887050629,
-0.022240158170461655,
0.023136088624596596,
0.027703577652573586,
-0.02153746783733368,
0.01544162631034851,
-0.010759950615465641,
0.03443184122443199,
-0.0026285022031515837,
-0.012068711221218109,
-0.02097531594336033,
-0.05333421751856804,
0.011515342630445957,
-0.046412717550992966,
0.050980206578969955,
0.016372691839933395,
-0.018533464521169662,
0.015599732287228107,
0.006139759439975023,
0.03868312016129494,
0.027879251167178154,
-0.010250499472022057,
-0.004009728319942951,
-0.02220502309501171,
-0.027369800955057144,
0.02181854471564293,
0.01939426176249981,
-0.0024550254456698895,
0.024032019078731537,
0.0002333152515348047,
-0.05878007039427757,
-0.011453857645392418,
0.007808649446815252,
0.012929507531225681,
0.05737468972802162,
-0.0036869298201054335,
-0.049855899065732956,
0.06967177987098694,
-0.004589448217302561,
0.039772290736436844,
0.04008850082755089,
-0.04595596715807915,
-0.05547742545604706,
-0.00728602334856987,
-0.08123103529214859,
-0.019411828368902206,
-0.04841538518667221,
0.0002705084334593266,
0.03970202058553696,
-0.006425227504223585,
-0.012437623925507069,
-0.006930286530405283,
-0.03248187527060509,
-0.10083610564470291,
0.044164106249809265,
-0.011576828546822071,
0.017576050013303757,
-0.025613073259592056,
-0.06461240351200104,
0.044058702886104584,
-0.022310428321361542,
-0.06106381490826607,
-0.019745606929063797,
0.022134754806756973,
-0.03309672698378563,
-0.00722893001511693,
0.0304440725594759,
-0.03657504916191101,
-0.022275293245911598,
-0.010048476047813892,
-0.0140889473259449,
0.034642647951841354,
0.0018643260700628161,
-0.047888368368148804,
-0.02789681777358055,
0.032271068543195724,
0.0200091153383255,
-0.026737378910183907,
0.04040471091866493,
0.02598198689520359,
-0.0597638376057148,
0.0676691085100174,
-0.002516510896384716,
0.004321547225117683,
0.03223593160510063,
0.006974204443395138,
0.02368067391216755,
0.018515897914767265,
0.037172336131334305,
0.04925861209630966,
-0.004576272796839476,
-0.029231930151581764,
-0.004112936090677977,
-0.05849899351596832,
0.030092725530266762,
-0.010364687070250511,
-0.06563130766153336,
0.03868312016129494,
-0.03437913954257965,
-0.0012319044908508658,
-0.03191972151398659,
0.006302256602793932,
0.08207426220178604,
0.04163442179560661,
-0.03083055093884468,
-0.03253457695245743,
-0.04890726879239082,
0.008199521340429783,
0.052561260759830475,
-0.03341294080018997,
0.027475204318761826,
0.006719479337334633,
0.0036759504582732916,
-0.032657548785209656,
-0.040018230676651,
0.012551811523735523,
0.04335601255297661,
0.023645540699362755,
0.048450518399477005,
-0.005841115955263376,
0.001906048390083015,
-0.037348005920648575,
0.027598174288868904,
0.018533464521169662,
0.004765120800584555,
0.00765054440125823,
-0.014264619909226894,
-0.11193861812353134,
0.005006670951843262,
-0.058709803968667984,
-0.09120924770832062,
-0.04539381340146065,
0.02626306191086769,
-0.011453857645392418,
0.05502067506313324,
-0.023294193670153618,
-0.0017995467642322183,
-0.036223702132701874,
-0.008401544764637947,
0.05438825488090515,
0.02181854471564293,
-0.006029963959008455,
0.011726150289177895,
-0.007826216518878937,
-0.0586044006049633,
-0.005792805925011635,
0.031814318150281906,
-0.021344227716326714,
0.02722926251590252,
-0.034871023148298264,
0.020588835701346397,
0.001773195923306048,
0.010039692744612694,
-0.10245229303836823,
0.0005003925762139261,
-0.015994995832443237,
0.05393150448799133,
0.048345115035772324,
-0.03337780386209488,
-0.013746385462582111,
-0.036961525678634644,
-0.03826150670647621,
-0.022732041776180267,
0.011348453350365162,
-0.01592472568154335,
0.008006281219422817,
-0.015863241627812386,
-0.003610073123127222,
0.11411695927381516,
-0.02954814024269581,
-0.07188525050878525,
-0.01039982121437788,
-0.040510114282369614,
-0.02468200773000717,
-0.03202512487769127,
-0.010057259351015091,
-0.014712585136294365,
-0.007725205272436142,
0.0222577266395092,
0.01684700883924961,
-0.025806313380599022,
0.005230653565376997,
-0.043215472251176834,
-0.07258794456720352,
-0.011076160706579685,
0.05473960191011429,
-0.037277739495038986,
0.0124024897813797,
-0.01730375736951828,
-0.005221869796514511,
0.02638603374361992,
-0.038296639919281006,
0.030531907454133034,
0.034185897558927536,
-0.006491104606539011,
0.02266177348792553,
0.023750944063067436,
0.01082143560051918,
-0.033289968967437744,
0.025349564850330353,
-0.00992550514638424,
0.07849054038524628,
0.009793750941753387,
0.043777626007795334,
0.008032632060348988,
0.03318456560373306,
-0.021853677928447723,
0.04539381340146065,
0.010953189805150032,
-0.029354901984333992,
0.006763397250324488,
0.00995185598731041,
0.003910912666469812,
-0.0014108710456639528,
-0.027317099273204803,
0.024488769471645355,
-0.01124304998666048,
0.031814318150281906,
-0.04212630167603493,
0.020764507353305817,
0.015511895529925823,
0.01287680584937334,
0.03938581049442291,
-0.00444671418517828,
0.04152901470661163,
0.013315987773239613,
0.04644785076379776,
0.034291304647922516,
-0.11404669284820557,
-0.010496441274881363,
0.004016316030174494,
0.04757215455174446,
0.021906379610300064,
0.03453724458813667,
-0.02947787195444107,
-0.05716388300061226,
-0.027317099273204803,
0.022521235048770905,
0.02118612267076969,
0.03346564248204231,
-0.08207426220178604,
0.014721368439495564,
-0.0040887813083827496,
0.012657214887440205,
-0.01911318488419056,
-0.00625833822414279,
-0.006038747727870941,
0.025226593017578125,
-0.06102868169546127,
0.012103846296668053,
0.020255057141184807,
0.07427439838647842,
0.006636034697294235,
-0.004282020963728428,
0.04205603525042534,
-0.005810372997075319,
0.029231930151581764,
0.02339959889650345,
-0.026298196986317635,
-0.04616677388548851,
0.06478807330131531,
-0.06858260929584503,
-0.030022457242012024,
-0.0637340396642685,
0.051999107003211975,
-0.033289968967437744,
0.04922347888350487,
-0.04465598985552788,
-0.018305091187357903,
-0.004022903740406036,
0.02355770394206047,
-0.043320879340171814,
-0.006627250928431749,
-0.019921278581023216,
0.06229352578520775,
0.029776515439152718,
-0.08755525201559067,
0.07933377474546432,
-0.010505224578082561,
0.038472313433885574,
0.009477539919316769,
-0.016249720007181168,
0.010557927191257477,
-0.019587501883506775,
-0.012463974766433239,
0.022573936730623245,
-0.03994796425104141,
-0.01707538217306137,
-0.016961194574832916,
-0.019991548731923103,
0.0030149819795042276,
-0.01983344368636608,
-0.020536134019494057,
0.03523993492126465,
-0.044901929795742035,
-0.019411828368902206,
0.025788746774196625,
0.03262241184711456,
0.04441004619002342,
-0.0033685232046991587,
0.045850563794374466,
0.022415831685066223,
0.01651323027908802,
-0.044339779764413834,
0.04026417434215546,
-0.00960929412394762,
0.003394874045625329,
-0.028792748227715492,
-0.020922614261507988,
-0.08038780838251114,
0.0025472536217421293,
-0.057971976697444916,
-0.025507669895887375,
0.01527473796159029,
-0.004949577152729034,
0.018902378156781197,
0.0115504777058959,
-0.0231009554117918,
0.030285965651273727,
-0.05178830027580261,
-0.03882365673780441,
0.0456748902797699,
0.0518585704267025,
-0.0518585704267025,
-0.016451744362711906,
0.024699576199054718,
-0.024664441123604774,
-0.037277739495038986,
0.03713719919323921,
-0.007681286893785,
-0.03755881264805794,
-0.03963175043463707,
0.08221480250358582,
0.029073825106024742,
0.06475294381380081,
-0.011866687797009945,
-0.004637758247554302,
0.03123459778726101,
0.010830219835042953,
0.011576828546822071,
0.022064486518502235,
-0.013421391136944294,
0.049469418823719025,
0.009389703162014484,
-0.019710471853613853,
-0.041177671402692795,
0.017092948779463768,
-0.040720921009778976,
-0.0057884142734110355,
-0.030690012499690056,
-0.029618410393595695,
-0.03952634707093239,
0.010531575419008732,
-0.03590749204158783,
0.00870458036661148,
0.030584609135985374,
-0.03557371348142624,
-0.025331996381282806,
-0.052350450307130814,
0.0006192461005412042,
0.030145427212119102,
-0.02513875812292099,
0.01978074200451374,
0.024137422442436218,
-0.022240158170461655,
0.027527906000614166,
-0.02823059633374214,
-0.003067683894187212,
0.023311762139201164,
0.00889342837035656,
-0.05277206748723984,
-0.0479235015809536,
0.03812096640467644,
0.06605292111635208,
-0.0315508097410202,
0.005076939705759287,
-0.0197280403226614,
0.03569668531417847,
-0.051261283457279205,
-0.01502001192420721,
0.00036589321098290384,
0.019657770171761513,
0.028546806424856186,
-0.04370735585689545,
-0.005551255773752928,
-0.041845228523015976,
-0.025964418426156044,
-0.05270179733633995,
-0.003025961574167013,
0.06324215978384018,
-0.04374249279499054,
-0.008331275545060635,
0.029635976999998093,
0.024277960881590843,
0.0019499665359035134,
0.008375193923711777,
0.01837535947561264,
-0.051050473004579544,
-0.008300533518195152,
0.03555614501237869,
-0.009811317548155785,
-0.0037286521401256323,
-0.02067667245864868,
0.011813986115157604,
0.011137646622955799,
0.004866132512688637,
0.049118075519800186,
0.05083966627717018,
0.016961194574832916,
0.04163442179560661,
-0.01794496178627014,
0.013922058045864105,
0.01860373467206955,
0.05350989103317261,
-0.0664745345711708,
-0.03320213407278061,
-0.06338269263505936,
0.036504779011011124,
-0.00952145829796791,
-0.011251833289861679,
0.09493350237607956,
-0.04476139321923256,
0.01592472568154335,
0.0603259913623333,
-0.055547695606946945,
0.046131640672683716,
-0.0197280403226614,
0.05491527169942856,
0.015406492166221142,
-0.027598174288868904,
0.023188790306448936,
0.003278491087257862,
0.05530175194144249,
0.030971089377999306,
-0.03899933025240898,
-0.04166955500841141,
-0.08636067807674408,
-0.002529686316847801,
0.04859105870127678,
-0.04774782806634903,
-0.011418722569942474,
-0.03443184122443199,
-0.044550586491823196,
0.0035398041363805532,
-0.05006670579314232,
-0.052350450307130814,
-0.008976873010396957,
0.048450518399477005,
0.05951789766550064,
-0.002990826964378357,
0.07413385808467865,
0.034080494195222855,
0.004756337031722069,
0.04012363404035568,
0.0005473301280289888,
-0.04701000452041626,
0.008146819658577442,
0.015634866431355476,
0.006161718629300594,
0.04662352427840233,
0.04616677388548851,
0.09008494019508362,
-0.1082143560051918,
0.01412408147007227,
-0.03938581049442291,
0.04504247009754181,
0.006003613118082285,
0.030900821089744568,
0.035257503390312195,
-0.0428289957344532,
0.0529828742146492,
-0.03812096640467644,
-0.08481475710868835,
0.043601952493190765,
0.03871825337409973,
0.03973715379834175,
0.05252612382173538,
-0.005068156402558088,
-0.001947770593687892,
0.012868022546172142,
0.03330753743648529,
-0.051261283457279205,
-0.019288858398795128,
0.002263981383293867,
0.015178117901086807,
-0.019429396837949753,
0.07378251850605011,
0.0017259839223697782,
-0.02801978960633278,
0.015345006249845028,
0.045183006674051285,
0.025999553501605988,
-0.03629397228360176,
-0.02998732216656208,
-0.006745830178260803,
-0.03146297484636307,
0.012297086417675018,
-0.03330753743648529,
0.05519634857773781,
0.0064735375344753265,
0.0496099591255188,
-0.025999553501605988,
0.06496375054121017,
0.01689971052110195,
-0.06745830178260803,
-0.043496549129486084,
-0.04644785076379776,
-0.007874527014791965,
0.011032243259251118,
-0.0569179430603981,
0.004134895280003548,
-0.03337780386209488,
0.036610182374715805,
-0.018305091187357903,
0.01319301687180996,
0.02851167321205139,
-0.01603013090789318,
-0.007773515302687883,
-0.0033048419281840324,
0.030479205772280693,
-0.0001346366188954562,
0.03980742394924164,
0.01955236680805683,
0.03494129329919815,
0.0030764674302190542,
-0.010514008812606335,
0.018744273111224174,
0.01793617755174637,
0.04890726879239082,
0.05575850233435631,
-0.023821212351322174,
-0.09352812170982361,
-0.06830152869224548,
0.013535578735172749,
-0.008665054105222225,
-0.02863464318215847,
-0.008199521340429783,
0.0597638376057148,
-0.016750387847423553,
0.010136312805116177,
-0.0032543360721319914,
0.011330886743962765,
-0.05259639397263527,
-0.0003389933262951672,
-0.03639937564730644,
-0.04223170876502991,
0.0005753279547207057,
-0.005300922319293022,
0.00047239474952220917,
-0.010505224578082561,
-0.008089725859463215,
0.09092816710472107,
-0.00913497805595398,
-0.029214363545179367,
-0.03861285001039505,
0.031094061210751534,
0.02823059633374214,
-0.026315763592720032,
-0.015169333666563034,
-0.032042693346738815,
-0.05653146281838417,
-0.022679340094327927,
0.04082632437348366,
-0.015055146999657154,
-0.01921858824789524,
-0.0053272731602191925,
0.020500998944044113,
0.03242917358875275,
0.04802890494465828,
-0.020588835701346397,
0.04458571970462799,
0.02332932874560356,
-0.008010673336684704,
0.003972398117184639,
-0.036329105496406555,
0.007408994249999523,
0.06025572121143341,
-0.010417388752102852,
0.10723058879375458,
-0.01293829083442688,
0.03597776219248772,
-0.031094061210751534,
0.0040909769013524055,
0.006271514110267162,
0.012859238311648369,
0.029231930151581764,
0.0014306341763585806,
0.001175908837467432,
-0.021344227716326714,
-0.0070796082727611065,
-0.02710629068315029,
0.0935983955860138,
0.03543317690491676,
0.0017128083854913712,
-0.011866687797009945,
0.013676116243004799,
0.032271068543195724,
0.01870913803577423,
0.013720034621655941,
0.012665998190641403,
0.0010650154436007142,
0.0016513229347765446,
0.04693973436951637,
0.046131640672683716,
-0.007373859640210867,
-0.024998219683766365,
0.02982921712100506,
-0.022169889882206917,
0.022134754806756973,
0.015863241627812386,
0.041177671402692795,
-0.046588387340307236,
0.0017479429952800274,
0.023136088624596596,
0.005054980516433716,
0.02159016951918602,
0.06580697745084763,
0.03748854622244835,
-0.014686234295368195,
0.014264619909226894,
-0.002527490258216858,
0.02378607727587223,
0.025911716744303703,
0.06615832448005676,
-0.06738803535699844,
-0.0018884810851886868,
-0.06162596866488457,
0.04950455576181412,
-0.01417678315192461,
0.01589837484061718,
-0.043777626007795334,
0.05343962088227272,
-0.035714250057935715,
0.010145096108317375,
-0.04363708943128586,
0.03935067728161812,
-0.023768510669469833,
0.0338345542550087,
0.010303201153874397,
-0.023698242381215096,
0.036785855889320374,
0.027808981016278267,
-0.017092948779463768,
0.03748854622244835,
0.008010673336684704,
-0.03574938699603081,
-0.011796418577432632,
0.059728704392910004,
0.03738314285874367,
0.003803313011303544,
0.020255057141184807,
-0.006965420674532652,
-0.010496441274881363,
-0.02975894883275032,
-0.044831663370132446,
0.01631120592355728,
-0.014308538287878036,
0.023206358775496483,
-0.0264914371073246,
-0.015713918954133987,
0.011462640948593616,
-0.015459193848073483,
0.05350989103317261,
-0.0290211234241724,
-0.03713719919323921,
0.008023848757147789
]
|
44,014 | jsons.deserializers.default_complex | default_complex_deserializer |
Deserialize a dictionary with 'real' and 'imag' keys to a complex number.
:param obj: the dict that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: an instance of ``complex``.
| def default_complex_deserializer(obj: Dict[str, float],
cls: type = complex,
**kwargs) -> complex:
"""
Deserialize a dictionary with 'real' and 'imag' keys to a complex number.
:param obj: the dict that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: an instance of ``complex``.
"""
try:
clean_obj = load({'real': obj['real'], 'imag': obj['imag']},
cls=Dict[str, float])
return complex(clean_obj['real'], clean_obj['imag'])
except KeyError as err:
raise AttributeError("Cannot deserialize {} to a complex number, "
"does not contain key '{}'"
.format(obj, err.args[0])) from err
except DeserializationError as err:
raise AttributeError("Cannot deserialize {} to a complex number, "
"cannot cast value {} to float"
.format(obj, err.source)) from err
| (obj: Dict[str, float], cls: type = <class 'complex'>, **kwargs) -> complex | [
0.06330741941928864,
-0.006819886155426502,
0.05361528694629669,
0.027243245393037796,
-0.013630697503685951,
-0.0004557367356028408,
0.04120064526796341,
0.03924043849110603,
-0.051509879529476166,
-0.006937861908227205,
0.011969966813921928,
0.0837806910276413,
-0.05742679908871651,
-0.04105544462800026,
0.018912365660071373,
0.05256258323788643,
-0.05521249398589134,
-0.003906801342964172,
-0.007623026613146067,
0.005113780498504639,
-0.001741271698847413,
-0.027297696098685265,
-0.030891407281160355,
0.10802917927503586,
0.015318653546273708,
-0.01465617585927248,
-0.0204369705170393,
0.02038252167403698,
-0.06599362939596176,
-0.03310571610927582,
-0.015119003131985664,
0.03067360632121563,
-0.014311324805021286,
0.03909523785114288,
-0.031562961637973785,
-0.046173762530088425,
0.03415841981768608,
0.0490051694214344,
-0.0629081204533577,
0.01033646147698164,
0.04276154935359955,
0.03343241661787033,
-0.039821237325668335,
0.00869841780513525,
0.04366905242204666,
0.046391561627388,
-0.0028745161835104227,
0.03323276713490486,
-0.005131930578500032,
-0.0829094871878624,
0.03815143182873726,
-0.06359782069921494,
-0.011398239992558956,
0.027497345581650734,
-0.004864216782152653,
-0.011271188966929913,
-0.017061060294508934,
0.04936817288398743,
-0.006828961428254843,
0.019184617325663567,
-0.07009554654359818,
0.015763329342007637,
-0.007731927093118429,
0.01565442979335785,
-0.05031197518110275,
-0.04395945370197296,
0.0125416936352849,
0.026390191167593002,
-0.0009562814375385642,
-0.028949350118637085,
-0.006860723719000816,
0.02580939047038555,
-0.029094550758600235,
-0.011044313199818134,
0.025881990790367126,
-0.06167391687631607,
-0.00866665504872799,
-0.03659052774310112,
-0.03354131802916527,
0.04417725279927254,
-0.004179052077233791,
-0.04359645023941994,
-0.016507482156157494,
-0.0106540871784091,
-0.027479195967316628,
-0.003205755027011037,
0.03880483657121658,
-0.029965754598379135,
-0.016743432730436325,
0.026626143604516983,
-0.05659189820289612,
-0.05234478414058685,
-0.01745128631591797,
-0.007795452140271664,
-0.008117616176605225,
-0.023758433759212494,
-0.0259545911103487,
0.010835587978363037,
0.020001370459794998,
-0.021653026342391968,
0.003990745171904564,
-0.03194411098957062,
-0.053941987454891205,
0.009088643826544285,
0.026281291618943214,
-0.08908051252365112,
0.026716893538832664,
-0.056555598974227905,
-0.0013499109772965312,
-0.012287592515349388,
0.01079928781837225,
0.027733296155929565,
-0.0521995835006237,
0.05198178067803383,
0.005962295923382044,
0.02145337499678135,
0.0023617770057171583,
0.03662682697176933,
-0.049767471849918365,
0.004498946946114302,
-0.03920413553714752,
0.022506078705191612,
-0.05042087659239769,
0.05198178067803383,
-0.007790914736688137,
0.03949453681707382,
0.058842506259679794,
-0.005299818702042103,
0.061891715973615646,
0.05543029308319092,
0.03368651866912842,
-0.03241601213812828,
0.009419882670044899,
-0.004514828324317932,
0.005599294323474169,
0.07499606162309647,
0.017505735158920288,
0.0029062789399176836,
-0.019710969179868698,
-0.0005045150173828006,
0.010980788618326187,
0.018077462911605835,
-0.02343173138797283,
-0.011851991526782513,
-0.05749940127134323,
0.001403226749971509,
-0.006924249231815338,
-0.004746241495013237,
-0.063198521733284,
0.004287952557206154,
-0.014302249997854233,
0.010772062465548515,
0.04562925919890404,
-0.001782109378837049,
0.03067360632121563,
-0.06675593554973602,
0.03862333297729492,
-0.006438734941184521,
-0.013503647409379482,
0.0168160330504179,
0.010009760037064552,
0.0861039012670517,
0.01414797455072403,
-0.03424916788935661,
0.027769597247242928,
0.018168212845921516,
0.06486832350492477,
-0.07920687645673752,
-0.003725300543010235,
0.03228896111249924,
-0.04308824986219406,
-0.0005552785005420446,
0.0060666585341095924,
0.022542377933859825,
0.06555803120136261,
0.05013047531247139,
-0.011416389606893063,
-0.020654771476984024,
0.025682339444756508,
0.012950070202350616,
0.006978699471801519,
0.014011848717927933,
-0.00031110341660678387,
-0.0009988206438720226,
0.03575562313199043,
0.002815528539940715,
-0.0017945874715223908,
-0.01268689427524805,
0.016852334141731262,
-0.017496660351753235,
0.014529125764966011,
0.07935207337141037,
-0.012922844849526882,
-0.04461285471916199,
-0.013331221416592598,
0.005163692869246006,
-0.0025863840710371733,
-0.019910618662834167,
-0.006543098017573357,
0.0466819629073143,
-0.04693606495857239,
-0.025845689699053764,
0.07920687645673752,
-0.02551898919045925,
0.002274429891258478,
-0.0007384807104244828,
0.014175199903547764,
0.014520050957798958,
0.004594234749674797,
0.03836923465132713,
0.011833840981125832,
-0.00898881908506155,
-0.04159994423389435,
-0.0008819796494208276,
0.03815143182873726,
0.054232388734817505,
-0.036717578768730164,
-0.01965651847422123,
-0.007287250366061926,
-0.0014259143499657512,
0.05771720036864281,
-0.013313071802258492,
0.014474675059318542,
0.016652682796120644,
-0.002890397561714053,
-0.0025183213874697685,
0.026626143604516983,
-0.010726687498390675,
-0.01519160345196724,
-0.032633814960718155,
-0.028695249930024147,
-0.06893394142389297,
-0.09140371531248093,
-0.036281976848840714,
0.08864490687847137,
0.05688229948282242,
0.06276291608810425,
-0.0012557575246319175,
0.05630149692296982,
-0.042688947170972824,
0.07408855855464935,
-0.04167254641652107,
-0.03945823758840561,
-0.034793671220541,
-0.03052840568125248,
0.01344012189656496,
0.03461217135190964,
-0.000021570924218394794,
-0.059132907539606094,
0.004086032975465059,
0.022106777876615524,
0.014864902012050152,
0.0356648750603199,
0.021907126531004906,
0.0007889605476520956,
-0.035447072237730026,
-0.023359131067991257,
-0.012922844849526882,
-0.015436628833413124,
-0.06156501546502113,
-0.01079928781837225,
-0.023994384333491325,
-0.005218143109232187,
0.07183795422315598,
0.021144824102520943,
0.006606623064726591,
0.007083062082529068,
-0.030637307092547417,
0.02989315427839756,
-0.017696311697363853,
0.04508475586771965,
-0.0484243705868721,
0.0038137820083647966,
0.022633129730820656,
0.014837676659226418,
0.024520736187696457,
0.018277114257216454,
-0.046391561627388,
0.01974726840853691,
0.028713399544358253,
-0.055829595774412155,
-0.06134721264243126,
0.025410087779164314,
-0.035737473517656326,
0.0009840737329795957,
0.023722132667899132,
-0.028205199167132378,
0.07154755294322968,
0.008557754568755627,
-0.0031785299070179462,
0.01191551610827446,
-0.011253039352595806,
-0.04047464206814766,
-0.014392999932169914,
0.006397897377610207,
-0.029276052489876747,
-0.054522790014743805,
-0.052526284009218216,
0.02212492749094963,
0.012922844849526882,
-0.02887674979865551,
-0.019983218982815742,
0.04475805535912514,
0.05684599652886391,
0.046391561627388,
-0.02435738407075405,
0.022742029279470444,
-0.06483202427625656,
0.019565768539905548,
0.05372418835759163,
0.02907640114426613,
0.042725250124931335,
-0.011352865025401115,
0.011425464414060116,
-0.022342728450894356,
0.0015949368244037032,
0.02412143349647522,
0.020600322633981705,
0.020636621862649918,
0.02760624699294567,
-0.010463511571288109,
-0.004832454491406679,
-0.08501489460468292,
0.008430704474449158,
0.04003904014825821,
-0.047044962644577026,
-0.02571864053606987,
0.018839765340089798,
0.06740933656692505,
-0.0007447197567671537,
-0.028314098715782166,
-0.0020781822968274355,
-0.015055477619171143,
0.01795041188597679,
0.003110466990619898,
-0.04424985498189926,
0.023703983053565025,
-0.006402434781193733,
-0.04994897544384003,
-0.022197527810931206,
0.010826513171195984,
-0.014746926724910736,
-0.015727030113339424,
-0.018749015405774117,
-0.02038252167403698,
0.043269749730825424,
0.08733810484409332,
-0.047444265335798264,
0.05303448438644409,
0.0207273717969656,
-0.05470428988337517,
-0.0924927219748497,
0.02727954462170601,
0.01867641508579254,
-0.037389129400253296,
-0.011425464414060116,
0.011234888806939125,
-0.028913050889968872,
-0.00027182555641047657,
-0.0916215181350708,
0.014783226884901524,
0.011443614959716797,
-0.030292455106973648,
-0.00532704358920455,
0.03314201533794403,
0.013013595715165138,
-0.03464847058057785,
-0.04577445983886719,
0.05837060511112213,
-0.006057583726942539,
0.01658008247613907,
0.03145406022667885,
-0.0501667745411396,
0.017061060294508934,
0.0018138719024136662,
-0.001065181801095605,
-0.0472627654671669,
0.06947844475507736,
-0.008226516656577587,
0.044140953570604324,
0.0021451106294989586,
0.016561932861804962,
-0.02412143349647522,
0.018567515537142754,
-0.031472209841012955,
-0.0021451106294989586,
-0.04134584590792656,
0.013676072470843792,
-0.01620800606906414,
-0.04479435458779335,
-0.032978665083646774,
0.005104705225676298,
0.025246737524867058,
-0.042688947170972824,
-0.005531231872737408,
0.00791342742741108,
0.04105544462800026,
0.012650594115257263,
-0.08849970996379852,
0.023522481322288513,
-0.03461217135190964,
-0.028368549421429634,
-0.02110852301120758,
0.009673983789980412,
0.01640765741467476,
-0.002890397561714053,
0.024774836376309395,
-0.04541146010160446,
0.05455908924341202,
0.015082702971994877,
0.06047601252794266,
-0.016280606389045715,
0.04882366955280304,
-0.00456700986251235,
-0.0026794031728059053,
-0.010726687498390675,
-0.07281805574893951,
-0.04526625946164131,
-0.07234615087509155,
0.04998527467250824,
0.06508612632751465,
0.025972740724682808,
0.004369627684354782,
-0.045592959970235825,
0.00137146410997957,
0.029239751398563385,
0.011543440632522106,
-0.0026499093510210514,
0.035156670957803726,
0.014247799292206764,
-0.0076547893695533276,
-0.007187425158917904,
-0.021653026342391968,
-0.04508475586771965,
0.03497517108917236,
0.0333416648209095,
0.02673504315316677,
-0.02047327160835266,
-0.026553543284535408,
-0.01878531463444233,
-0.015400328673422337,
-0.04475805535912514,
-0.04337865114212036,
-0.04504845663905144,
0.014855827204883099,
0.0035460686776787043,
0.08065888285636902,
0.019347967579960823,
0.049186673015356064,
-0.021816376596689224,
0.05935070663690567,
-0.0007401822949759662,
-0.0073371632024645805,
-0.015155303291976452,
0.06265401840209961,
-0.06047601252794266,
0.0501667745411396,
0.04519365727901459,
0.013648848049342632,
0.020745523273944855,
-0.037007980048656464,
-0.05550289526581764,
-0.040147941559553146,
-0.07456046342849731,
0.006565785501152277,
0.0858134999871254,
0.06748193502426147,
0.012659668922424316,
-0.07702887058258057,
-0.033269066363573074,
0.010908188298344612,
0.02989315427839756,
-0.010436286218464375,
-0.01951131783425808,
-0.05042087659239769,
0.04628266021609306,
0.04907777160406113,
0.022215677425265312,
0.007849901914596558,
-0.029384952038526535,
0.06995034217834473,
-0.007768227253109217,
0.025246737524867058,
-0.023359131067991257,
-0.021634874865412712,
0.031817059963941574,
-0.023268381133675575,
0.026553543284535408,
0.014837676659226418,
0.056700799614191055,
0.015082702971994877,
0.07819047570228577,
-0.0068471115082502365,
0.04657306149601936,
0.016271531581878662,
0.02354063279926777,
0.0030673607252538204,
0.023522481322288513,
0.018948666751384735,
-0.00700138695538044,
-0.02270573005080223,
-0.03786103054881096,
-0.08762850612401962,
-0.01113506406545639,
-0.06911543756723404,
-0.07140234857797623,
-0.030891407281160355,
0.04432245343923569,
-0.00030117761343717575,
-0.002960729179903865,
-0.050783876329660416,
0.015109927393496037,
0.018621964380145073,
0.02081812173128128,
-0.008938905782997608,
0.013666997663676739,
0.0207273717969656,
-0.012768569402396679,
0.010772062465548515,
-0.04192664474248886,
0.030836958438158035,
0.009855484589934349,
0.007695626933127642,
0.0414547435939312,
-0.026771344244480133,
0.009574158117175102,
-0.022633129730820656,
-0.039131537079811096,
0.056374095380306244,
0.0026907469145953655,
0.0234861820936203,
-0.07085784524679184,
-0.024448135867714882,
0.041999246925115585,
0.01771446131169796,
0.017433136701583862,
0.017206260934472084,
-0.016716208308935165,
-0.011625115759670734,
-0.03179891034960747,
0.008671192452311516,
0.03807883337140083,
0.05343378707766533,
0.03198041021823883,
0.031907811760902405,
-0.004374165087938309,
0.0669737309217453,
0.06661073118448257,
0.048315469175577164,
0.04337865114212036,
-0.0054450188763439655,
-0.017551111057400703,
0.020781822502613068,
-0.015445703640580177,
-0.027696996927261353,
-0.0029992980416864157,
0.030637307092547417,
-0.044140953570604324,
-0.027824047952890396,
-0.038986336439847946,
-0.006924249231815338,
0.07165645062923431,
0.0345032699406147,
0.04072874039411545,
-0.010064209811389446,
-0.025537138804793358,
0.011561590246856213,
0.07412485778331757,
-0.026607992127537727,
0.012505393475294113,
-0.03052840568125248,
0.04722646623849869,
0.05368788540363312,
0.02392178401350975,
0.020255470648407936,
0.03599157556891441,
0.0226149782538414,
0.006828961428254843,
-0.010209410451352596,
-0.03513852134346962,
-0.016598232090473175,
-0.0035823688376694918,
-0.032688263803720474,
-0.02237902767956257,
0.015336803160607815,
-0.08327248692512512,
0.0221793781965971,
-0.04907777160406113,
0.004380971658974886,
-0.03728023171424866,
0.013821273110806942,
0.06980514526367188,
-0.02116297371685505,
-0.00427660858258605,
-0.0004557367356028408,
-0.04584705829620361,
-0.04671826213598251,
-0.018857914954423904,
0.02586383931338787,
0.028205199167132378,
-0.03136330842971802,
-0.04512105882167816,
-0.0011236023856326938,
-0.026117941364645958,
-0.026172392070293427,
0.0240669846534729,
-0.0245025847107172,
-0.053252287209033966,
0.012868395075201988,
-0.07884387671947479,
-0.031181808561086655,
-0.009261069819331169,
0.01661638356745243,
0.04915037006139755,
0.012405568733811378,
-0.023213930428028107,
-0.048170268535614014,
0.004746241495013237,
-0.03003835491836071,
0.005785332527011633,
-0.006883411668241024,
0.011125989258289337,
-0.04192664474248886,
0.008485154248774052,
-0.005054792854934931,
-0.0008252607076428831,
0.012859320268034935,
0.004303833935409784,
-0.011479915119707584,
0.002613609191030264,
0.030746206641197205,
0.05535769462585449,
0.005531231872737408,
-0.020945172756910324,
-0.07441525906324387,
-0.03771582990884781,
-0.007636639289557934,
0.053941987454891205,
0.005880620330572128,
0.03473922237753868,
0.015563678927719593,
-0.023558782413601875,
-0.04352385178208351,
-0.010762987658381462,
-0.024230334907770157,
-0.06269031763076782,
0.022306427359580994,
-0.055829595774412155,
0.04940447211265564,
0.031617410480976105,
-0.016044655814766884,
0.017179034650325775,
-0.015100852586328983,
-0.005454094149172306,
0.011997192166745663,
-0.05699119716882706,
0.02328653074800968,
-0.031708162277936935,
0.018485838547348976,
0.037389129400253296,
-0.02858635038137436,
-0.02771514654159546,
-0.043015651404857635,
-0.036318276077508926,
0.03684462979435921,
0.022487929090857506,
-0.027098044753074646,
-0.05746310204267502,
0.015881305560469627,
-0.0510379783809185,
-0.018131913617253304,
-0.011906441301107407,
0.013331221416592598,
0.00008054090721998364,
-0.08886270970106125,
0.04036574065685272,
0.008834543637931347,
0.004480796866118908,
0.03203486278653145,
0.007818140089511871,
0.06740933656692505,
0.0037547943647950888,
-0.020309921354055405,
0.07586726546287537,
-0.030601006001234055,
0.004496678244322538,
-0.00429929606616497,
-0.05746310204267502,
0.01603558100759983,
-0.02435738407075405,
0.027261395007371902,
-0.0061074960976839066,
-0.029239751398563385,
-0.07114824652671814,
-0.043160852044820786,
-0.025355638936161995,
-0.05916920676827431,
0.04308824986219406,
0.06570322811603546,
-0.006425122264772654,
-0.0006851648795418441,
-0.03432177007198334,
0.007105749566107988,
-0.002738390816375613,
0.03223451226949692,
-0.023867333307862282,
-0.03310571610927582,
-0.0022358610294759274,
0.06624773144721985,
-0.049041472375392914,
-0.04388685151934624,
0.12363822758197784,
0.0020441508386284113,
-0.04018424078822136,
-0.009410807862877846,
0.04635526239871979,
0.0013805391499772668,
0.04236224666237831,
0.0017843780806288123,
-0.02731584571301937,
-0.002149648033082485,
0.025881990790367126,
0.026462791487574577,
0.062182117253541946,
0.06207321584224701,
-0.021761925891041756,
0.0022630859166383743,
-0.0215985756367445,
-0.0362456776201725,
-0.026898393407464027,
0.02029176987707615,
0.03366836905479431,
-0.0321800634264946,
0.008240128867328167,
-0.037824731320142746,
-0.00948340818285942,
0.014873976819217205,
-0.003491618437692523,
0.00445130281150341,
0.04984007403254509,
-0.05158248171210289,
0.01658008247613907,
0.03924043849110603,
0.11724940687417984,
0.008412553928792477,
-0.025065237656235695,
0.05052977800369263,
0.07387075573205948,
0.010454436764121056,
0.008398941718041897,
0.0010816303547471762,
-0.00380924460478127,
-0.013403821736574173,
0.08283688873052597,
0.017414985224604607,
-0.02119927480816841,
-0.05546659231185913,
0.007986027747392654,
0.052816685289144516,
0.00849422998726368,
-0.06515872478485107,
-0.03488442301750183,
0.02464778535068035,
-0.03410396724939346,
-0.015028252266347408,
0.02087257243692875,
0.008993356488645077,
-0.03285161405801773
]
|
44,015 | jsons.serializers.default_complex | default_complex_serializer |
Serialize a complex as a dict.
:param obj: the complex.
:param _: not used.
:return: a ``dict``.
| def default_complex_serializer(obj: complex, **_) -> dict:
"""
Serialize a complex as a dict.
:param obj: the complex.
:param _: not used.
:return: a ``dict``.
"""
return {'real': obj.real, 'imag': obj.imag}
| (obj: complex, **_) -> dict | [
0.005812076851725578,
-0.024235347285866737,
0.05671952664852142,
0.04149091616272926,
-0.008477965369820595,
-0.012452562339603901,
0.0007254080264829099,
0.02330118417739868,
-0.03652046620845795,
-0.010055465623736382,
0.026720572263002396,
0.018982887268066406,
-0.08121925592422485,
-0.0331539548933506,
0.006512698717415333,
0.01817210391163826,
-0.01938827708363533,
-0.031779151409864426,
-0.01075168140232563,
0.005723948590457439,
0.0028575677424669266,
-0.051537565886974335,
0.004966042935848236,
0.05619075521826744,
-0.010029027238488197,
0.031973034143447876,
-0.017969409003853798,
-0.0011533822398632765,
-0.034140992909669876,
-0.0038203720469027758,
-0.01625971496105194,
-0.028060125187039375,
0.03350646793842316,
0.03033384121954441,
0.015043540857732296,
-0.0045782774686813354,
-0.009702951647341251,
0.0824178084731102,
-0.12387347221374512,
0.01810160093009472,
0.04039812088012695,
0.027020208537578583,
-0.08798752725124359,
-0.006926903035491705,
0.05594399571418762,
0.04614410176873207,
0.016806112602353096,
0.06207774206995964,
0.08100774884223938,
-0.053723156452178955,
0.053476396948099136,
-0.0675417110323906,
-0.029329176992177963,
0.022666659206151962,
-0.04875270649790764,
-0.06458058953285217,
0.01459408551454544,
0.043993763625621796,
-0.014303261414170265,
0.02379470504820347,
-0.05559147894382477,
0.014576459303498268,
0.02379470504820347,
-0.011130633763968945,
-0.040785886347293854,
-0.019987551495432854,
-0.03399999067187309,
0.025557275861501694,
0.007416016422212124,
0.0030007767491042614,
0.0024015025701373816,
-0.02899428829550743,
-0.015475370921194553,
0.0011104195145890117,
0.002379470504820347,
-0.04769516363739967,
0.024358727037906647,
-0.019599786028265953,
-0.03468739241361618,
0.0016083457740023732,
-0.006045617628842592,
-0.056543268263339996,
-0.07889266312122345,
0.023512693122029305,
-0.0327661894261837,
-0.011562463827431202,
0.00786547176539898,
-0.027548979967832565,
-0.009870395995676517,
0.003474467433989048,
-0.03835354000329971,
0.006896058097481728,
0.015466557815670967,
0.06408707052469254,
-0.015025915578007698,
-0.03403523936867714,
-0.045967843383550644,
-0.003945955075323582,
0.04498080536723137,
-0.02924104779958725,
-0.031832028180360794,
0.0020820365753024817,
-0.09856295585632324,
-0.018982887268066406,
0.01656816527247429,
-0.08608395606279373,
0.0459325909614563,
-0.0792451798915863,
0.021714871749281883,
-0.005340589210391045,
0.0054904078133404255,
0.015545873902738094,
-0.06239500269293785,
0.016982369124889374,
0.019952300935983658,
-0.0027275781612843275,
0.02381232939660549,
0.04473404586315155,
-0.00975582841783762,
-0.011077756993472576,
-0.0335417203605175,
0.009535507299005985,
-0.03169102221727371,
0.027689985930919647,
-0.011113008484244347,
0.038177281618118286,
0.026209427043795586,
0.04938723146915436,
0.03807152807712555,
0.030051831156015396,
0.015492996200919151,
-0.01688542775809765,
-0.010073091834783554,
0.0040825544856488705,
0.009843957610428333,
0.018277857452630997,
0.04201968386769295,
0.02739034965634346,
0.0025645403657108545,
0.04001035541296005,
-0.023442190140485764,
-0.0020093305502086878,
-0.041596669703722,
0.01142145786434412,
-0.04624985530972481,
0.02123897708952427,
0.024552609771490097,
-0.012073609046638012,
-0.06528561562299728,
-0.02194400504231453,
0.042195942252874374,
0.05255986005067825,
0.03891756013035774,
-0.03860029950737953,
0.004706063773483038,
-0.05629650875926018,
0.028694652020931244,
-0.019617412239313126,
-0.0200228039175272,
0.014215133152902126,
0.00019911541312467307,
0.059610139578580856,
0.025099007412791252,
-0.04801242798566818,
0.008614564314484596,
0.0372607447206974,
0.040221862494945526,
-0.08770551532506943,
0.015272675082087517,
0.005578536074608564,
-0.05520371347665787,
-0.011721095070242882,
-0.03255468234419823,
0.03553342446684837,
0.033118702471256256,
0.06620215624570847,
0.011333329603075981,
0.02194400504231453,
-0.02092171460390091,
0.022701911628246307,
0.06376980990171432,
-0.008420681580901146,
-0.02035769261419773,
0.0302104614675045,
0.024217721074819565,
-0.0647568479180336,
0.0010255958186462522,
-0.024728866294026375,
0.0215738657861948,
0.000612493313383311,
0.04491030052304268,
0.08601345121860504,
-0.01926489733159542,
-0.052313096821308136,
-0.013730425387620926,
-0.0323784239590168,
0.03084498830139637,
-0.09510831534862518,
-0.021450486034154892,
0.03267806023359299,
-0.04963399097323418,
-0.0541461706161499,
0.029135294258594513,
-0.017167437821626663,
0.031268004328012466,
-0.004155260510742664,
0.012003106996417046,
-0.011544838547706604,
-0.015845511108636856,
0.034722644835710526,
0.024940375238656998,
-0.010989628732204437,
-0.04868220165371895,
-0.007962413132190704,
0.01690305396914482,
0.04727214574813843,
-0.010866248048841953,
0.006177810486406088,
0.0020489883609116077,
-0.013897869735956192,
0.0064950729720294476,
0.0022825291380286217,
0.014409015886485577,
-0.006415757350623608,
-0.022049760445952415,
-0.0037432594690471888,
0.0514318123459816,
-0.03898806497454643,
-0.021168474107980728,
-0.0427599661052227,
-0.023054424673318863,
-0.04734265059232712,
-0.11893827468156815,
-0.012593567371368408,
0.04459303990006447,
0.03993985056877136,
0.022543279454112053,
-0.021097971126437187,
0.050973545759916306,
-0.05978639796376228,
0.09778742492198944,
-0.02969931624829769,
0.0032871942967176437,
-0.03553342446684837,
-0.03902331367135048,
-0.02668531984090805,
0.04663762077689171,
0.005732761230319738,
-0.018330736085772514,
-0.01401243731379509,
0.022948671132326126,
-0.004128821659833193,
-0.0011076654773205519,
0.02508138120174408,
0.00816070195287466,
-0.021168474107980728,
-0.034140992909669876,
0.020639702677726746,
-0.008777602575719357,
-0.055133212357759476,
-0.005195177160203457,
-0.029998954385519028,
-0.01810160093009472,
0.02835976332426071,
0.02444685623049736,
-0.0007507449481636286,
-0.023653699085116386,
-0.016400720924139023,
0.009940898977220058,
0.0014596289256587625,
0.07797612994909286,
-0.07004456222057343,
-0.012954894453287125,
0.002672497881576419,
0.01965266279876232,
0.0268792025744915,
0.000009707909157441463,
-0.017035245895385742,
-0.005741573870182037,
0.05167857185006142,
-0.034652139991521835,
-0.04716639220714569,
0.042336948215961456,
-0.06045617535710335,
0.006521511822938919,
0.02860652282834053,
-0.011721095070242882,
0.09383926540613174,
-0.026156548410654068,
-0.03652046620845795,
0.020040428265929222,
0.02598029188811779,
-0.03993985056877136,
-0.007429235614836216,
-0.007662775926291943,
-0.0204105693846941,
-0.05048002675175667,
-0.06736545264720917,
0.05111455172300339,
0.05636700987815857,
-0.027919119223952293,
0.045086558908224106,
0.08418037742376328,
0.04589734226465225,
0.007737685460597277,
-0.01907101459801197,
0.02758423238992691,
-0.04417002201080322,
0.0022054165601730347,
0.010822184383869171,
-0.006257126107811928,
0.05055052787065506,
-0.0032629589550197124,
0.055767737329006195,
-0.0005766911199316382,
-0.020498696714639664,
0.01817210391163826,
-0.02924104779958725,
0.027037834748625755,
0.05897561460733414,
-0.003562596160918474,
-0.01613633520901203,
-0.03533954173326492,
-0.015096418559551239,
0.09116015583276749,
-0.05361739918589592,
-0.015131669119000435,
-0.0007182475528679788,
0.07508551329374313,
0.003102124435827136,
-0.03590356558561325,
-0.007852252572774887,
-0.004254404921084642,
0.053758405148983,
-0.0298226960003376,
-0.04251320660114288,
0.05030376836657524,
-0.011712281964719296,
-0.08982060104608536,
0.013615858741104603,
0.005543285049498081,
-0.012302743270993233,
-0.011051318608224392,
-0.004807411693036556,
-0.06465109437704086,
0.015175733715295792,
0.057036787271499634,
-0.02310730144381523,
0.009033175185322762,
0.005970708094537258,
-0.05728354677557945,
-0.026720572263002396,
0.030686356127262115,
0.04928147792816162,
-0.010293412953615189,
-0.005067390855401754,
-0.003505312604829669,
-0.036767225712537766,
-0.031179875135421753,
-0.037401750683784485,
0.01841886341571808,
0.03142663463950157,
0.020146183669567108,
-0.006759458687156439,
0.07060858607292175,
0.03937583044171333,
0.00571072893217206,
0.0037454627454280853,
0.060949694365262985,
-0.032607559114694595,
-0.034722644835710526,
0.03641471266746521,
-0.03877655416727066,
-0.015396054834127426,
0.0298226960003376,
0.02425297349691391,
-0.048153430223464966,
0.03782476857304573,
-0.04036286845803261,
-0.009094865061342716,
0.0018694265745580196,
0.005966302007436752,
0.012055983766913414,
0.0019498438341543078,
-0.026667695492506027,
-0.0018187526147812605,
0.02106272056698799,
0.02296629548072815,
-0.021802999079227448,
-0.033118702471256256,
-0.07346394658088684,
-0.03856504708528519,
-0.008707099594175816,
-0.010319851338863373,
-0.015202172100543976,
-0.03930532559752464,
0.03125037997961044,
0.01566925272345543,
-0.10504921525716782,
-0.017070496454834938,
0.016162773594260216,
-0.04945773258805275,
-0.023371687158942223,
-0.02021668665111065,
0.018189730122685432,
-0.03719024360179901,
0.017326069995760918,
-0.01938827708363533,
0.06648416817188263,
0.012214615009725094,
0.01292845606803894,
-0.031179875135421753,
0.008526436053216457,
-0.02739034965634346,
0.03722549229860306,
-0.015307926572859287,
0.007473299745470285,
-0.016039393842220306,
-0.03902331367135048,
0.05030376836657524,
0.07790562510490417,
0.03399999067187309,
0.013607045635581017,
0.006116120144724846,
0.015968890860676765,
0.0040120515041053295,
-0.008861323818564415,
0.015096418559551239,
0.03814202919602394,
0.030545350164175034,
0.014294448308646679,
-0.0022461761254817247,
-0.01638309471309185,
-0.06260651350021362,
0.04011610895395279,
0.014030062593519688,
0.07564953714609146,
-0.04582683742046356,
-0.014514769427478313,
0.03371797874569893,
0.020586825907230377,
-0.0044923522509634495,
-0.07360495626926422,
-0.04850594699382782,
0.034722644835710526,
0.02828926034271717,
0.03482839837670326,
0.028888534754514694,
0.07917467504739761,
0.007305855397135019,
0.08354584872722626,
-0.05488645285367966,
0.06694243848323822,
-0.06027991697192192,
0.02931155078113079,
-0.0663079097867012,
0.035938818007707596,
0.007416016422212124,
0.01340434979647398,
-0.01055779866874218,
-0.010619488544762135,
-0.04427577555179596,
-0.042654212564229965,
-0.03227267041802406,
0.014567647129297256,
0.06694243848323822,
0.018348360434174538,
0.0038534202612936497,
-0.05650801584124565,
0.005856140982359648,
0.06013891100883484,
0.04106789827346802,
-0.046179354190826416,
-0.04966924339532852,
-0.0068123359233140945,
0.04018661379814148,
-0.0116770314052701,
0.02583928592503071,
-0.01424157153815031,
-0.05707203969359398,
-0.01106894388794899,
-0.019740791991353035,
0.0019553517922759056,
-0.01861274614930153,
0.025063754990696907,
0.015889575704932213,
-0.01996992528438568,
0.01397718582302332,
0.018894758075475693,
0.01970554143190384,
0.017458263784646988,
0.05834108963608742,
-0.009888021275401115,
0.0298226960003376,
0.03193778172135353,
0.05573248490691185,
-0.011157072149217129,
0.026385683566331863,
0.017052872106432915,
0.015916014090180397,
-0.008081386797130108,
-0.07194813340902328,
-0.07152511924505234,
0.0020148386247456074,
-0.04589734226465225,
-0.058517348021268845,
-0.05100879818201065,
-0.0058164834044873714,
-0.023829955607652664,
0.006653704214841127,
-0.05040952190756798,
-0.0005006802384741604,
0.026791075244545937,
0.021961631253361702,
-0.017740273848176003,
0.012232240289449692,
-0.0014926770236343145,
0.014735091477632523,
0.007028250489383936,
-0.06521511822938919,
0.03479314595460892,
0.0030933115631341934,
0.02950543351471424,
0.04420527443289757,
0.01385380607098341,
0.012567128986120224,
-0.03417624533176422,
-0.03997510299086571,
0.036943480372428894,
0.04811818152666092,
0.05273611471056938,
-0.034458257257938385,
-0.03796577453613281,
0.0863659679889679,
-0.024852247908711433,
0.033312585204839706,
0.037401750683784485,
-0.015237423591315746,
0.002017041901126504,
-0.029981328174471855,
0.024094341322779655,
0.04758941009640694,
0.04663762077689171,
-0.009359250776469707,
0.06525036692619324,
0.0408211387693882,
0.05407566949725151,
0.04230169579386711,
0.053758405148983,
-0.02848314307630062,
0.0037564788945019245,
-0.043429743498563766,
0.008372210897505283,
0.0059090182185173035,
-0.04921097308397293,
-0.002178977942094207,
0.03322445601224899,
-0.03852979466319084,
-0.01747588813304901,
-0.007442454807460308,
0.025433896109461784,
0.0847444012761116,
0.04307722672820091,
0.0009082747274078429,
-0.024482106789946556,
0.0024125187192112207,
0.020692579448223114,
0.06549713015556335,
-0.0514318123459816,
0.002758423099294305,
-0.04840019345283508,
-0.021714871749281883,
0.07159562408924103,
0.002866380615159869,
0.017378946766257286,
0.06161947175860405,
0.021679619327187538,
0.035868313163518906,
-0.030245713889598846,
-0.03786001726984978,
-0.01982892118394375,
-0.005961895454674959,
-0.017317257821559906,
-0.03142663463950157,
0.016673918813467026,
-0.06884600967168808,
0.03211404010653496,
-0.010469670407474041,
-0.005349402315914631,
-0.024411603808403015,
-0.023882832378149033,
0.03220216557383537,
0.005137893836945295,
0.0042676241137087345,
0.009147741831839085,
-0.0136334840208292,
-0.07346394658088684,
-0.03296007215976715,
0.03486364707350731,
-0.004935197997838259,
-0.02035769261419773,
-0.019952300935983658,
-0.002273716265335679,
-0.01059305015951395,
-0.03800102323293686,
0.02034006640315056,
0.006292377598583698,
-0.03232554718852043,
0.004111196380108595,
-0.04801242798566818,
-0.03680247813463211,
0.025557275861501694,
-0.0070679085329174995,
0.006926903035491705,
0.0022891387343406677,
-0.04205493628978729,
-0.03357697278261185,
0.018189730122685432,
-0.03155001625418663,
0.004763347562402487,
0.03895281255245209,
0.01721150241792202,
-0.026279930025339127,
-0.028712276369333267,
-0.01861274614930153,
-0.011095382273197174,
0.015845511108636856,
-0.007424829062074423,
0.004009848460555077,
-0.02583928592503071,
0.015061167068779469,
0.05111455172300339,
0.022032134234905243,
-0.03690823167562485,
-0.0290471650660038,
-0.03923482447862625,
-0.014276823028922081,
0.028324510902166367,
-0.00021880662825424224,
0.04624985530972481,
0.031761523336172104,
-0.0033599003218114376,
-0.042407453060150146,
-0.030492473393678665,
-0.014153442345559597,
0.0041684797033667564,
0.028042500838637352,
-0.07159562408924103,
0.019934674724936485,
-0.020657328888773918,
-0.0335417203605175,
0.009306373074650764,
-0.019864171743392944,
-0.021661993116140366,
0.010998440906405449,
0.005181957967579365,
0.03116225078701973,
-0.007601086050271988,
0.022190764546394348,
0.006680143065750599,
-0.02176774851977825,
-0.023953335359692574,
-0.03934057801961899,
-0.05619075521826744,
0.005803264211863279,
0.030598226934671402,
-0.034070491790771484,
-0.04970449581742287,
0.013703987002372742,
-0.03852979466319084,
-0.0003428750787861645,
0.03644996136426926,
0.05862310156226158,
-0.008658628910779953,
-0.079315684735775,
0.06743595749139786,
-0.022754788398742676,
0.018665622919797897,
0.01581025868654251,
-0.046743374317884445,
0.04868220165371895,
-0.019529283046722412,
-0.012523065321147442,
0.05897561460733414,
-0.03597406670451164,
-0.032924819737672806,
-0.008548468351364136,
-0.04402901604771614,
0.018401239067316055,
-0.015766194090247154,
0.01126282662153244,
-0.05932813137769699,
-0.01791653037071228,
-0.04773041605949402,
-0.005265680141746998,
0.017185064032673836,
-0.031215127557516098,
0.06369930505752563,
0.04413476958870888,
-0.007781749591231346,
0.006605233531445265,
-0.006838774308562279,
0.03350646793842316,
0.02208501100540161,
0.05245410278439522,
-0.004373378586024046,
-0.001388024422340095,
-0.029646439477801323,
0.09785792231559753,
-0.05784757062792778,
-0.03590356558561325,
0.11604765802621841,
0.006217468064278364,
-0.043218232691287994,
-0.020146183669567108,
0.042336948215961456,
0.00527889933437109,
0.08136026561260223,
0.031973034143447876,
0.00017997498798649758,
-0.00042549558565951884,
0.042654212564229965,
0.013607045635581017,
0.011941416189074516,
-0.0024477699771523476,
-0.030104707926511765,
0.00285536446608603,
0.0037322435528039932,
-0.009041987359523773,
-0.011157072149217129,
0.02245515026152134,
0.05100879818201065,
-0.01503472775220871,
0.0041596670635044575,
-0.01728200539946556,
0.004069335293024778,
0.05509795993566513,
-0.030474847182631493,
-0.018383612856268883,
0.0319906584918499,
0.018841881304979324,
0.025768782943487167,
0.03641471266746521,
0.07684808224439621,
0.04417002201080322,
-0.01257594209164381,
0.061971984803676605,
0.06352304667234421,
0.01091031264513731,
0.00619102967903018,
0.016391906887292862,
-0.0020214482210576534,
-0.04529806599020958,
0.010839809663593769,
-0.01494659949094057,
-0.0053934664465487,
-0.03997510299086571,
0.03997510299086571,
0.0404333733022213,
-0.004296266008168459,
-0.08058473467826843,
-0.06775321811437607,
0.02034006640315056,
-0.00876438245177269,
-0.01004665344953537,
0.039834097027778625,
0.005481594707816839,
-0.03065110370516777
]
|
44,016 | jsons.deserializers.default_date | default_date_deserializer |
Deserialize a string with an RFC3339 pattern to a date instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.date`` instance.
| def default_date_deserializer(obj: str,
cls: type = date,
**kwargs) -> date:
"""
Deserialize a string with an RFC3339 pattern to a date instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.date`` instance.
"""
return get_datetime_inst(obj, RFC3339_DATE_PATTERN).date()
| (obj: str, cls: type = <class 'datetime.date'>, **kwargs) -> datetime.date | [
0.01683179847896099,
0.01428788062185049,
0.05474437400698662,
-0.009263871237635612,
-0.047997068613767624,
-0.028429873287677765,
0.03829553350806236,
0.03038112260401249,
0.008985772728919983,
-0.028666941449046135,
0.014461122453212738,
0.06189287453889847,
-0.056786805391311646,
-0.007271592039614916,
0.019184237346053123,
0.025895074009895325,
-0.1091969758272171,
0.05051363259553909,
-0.009938602335751057,
0.02852105349302292,
-0.04697585478425026,
-0.01808096282184124,
-0.030271707102656364,
0.10263203084468842,
0.03731079027056694,
0.028265750035643578,
0.01024861354380846,
-0.020880183205008507,
-0.05543734133243561,
-0.004315085709095001,
0.0396449938416481,
0.033718302845954895,
0.004914593417197466,
0.06980728358030319,
0.021226666867733,
-0.05532792583107948,
-0.047559402883052826,
0.05456201732158661,
-0.1248069629073143,
0.021336082369089127,
0.0176068264991045,
0.05933983996510506,
-0.012956655584275723,
-0.043875738978385925,
-0.0128928292542696,
0.017597708851099014,
-0.021044306457042694,
0.048215899616479874,
-0.0717402994632721,
-0.013211959041655064,
0.01958542875945568,
-0.047121740877628326,
0.019074821844697,
0.010522153228521347,
-0.012272806838154793,
0.00771381426602602,
0.008338396437466145,
0.09876599907875061,
0.02022368833422661,
0.04055679216980934,
-0.018126552924513817,
0.00038096075877547264,
0.014442886225879192,
0.019968384876847267,
-0.05747976899147034,
-0.00873502902686596,
0.02046075649559498,
-0.00690231379121542,
-0.0014964891597628593,
0.02766396291553974,
0.02299555577337742,
0.02305026352405548,
-0.00904048141092062,
0.008680320344865322,
0.04165095090866089,
0.04165095090866089,
-0.013002244755625725,
-0.006026987452059984,
0.0075542498379945755,
0.045480504631996155,
0.00852531474083662,
0.0034055670257657766,
-0.06240348145365715,
-0.039024971425533295,
-0.009883894585072994,
0.011935440823435783,
-0.012829003855586052,
-0.033955372869968414,
0.010403620079159737,
0.012473401613533497,
-0.01850038953125477,
-0.00910886563360691,
-0.017579473555088043,
0.046866439282894135,
-0.05671386048197746,
-0.012555464170873165,
0.013148132711648941,
0.021463735029101372,
0.03887908533215523,
-0.004914593417197466,
-0.00436751451343298,
-0.02051546424627304,
-0.12152449041604996,
-0.018090080469846725,
-0.026095669716596603,
-0.03895202651619911,
0.030125819146633148,
-0.009355051442980766,
-0.027992211282253265,
-0.03953557834029198,
0.0178256593644619,
0.013886689208447933,
-0.027098648250102997,
0.061382267624139786,
0.010111844167113304,
0.012746941298246384,
0.002048127120360732,
-0.015372920781373978,
0.012838121503591537,
-0.015008201822638512,
-0.04394868388772011,
0.045699335634708405,
-0.07239679247140884,
0.034611865878105164,
0.029159313067793846,
-0.026825109496712685,
-0.019457777962088585,
-0.027463367208838463,
0.12845416367053986,
0.015154088847339153,
0.05014891177415848,
0.07101085782051086,
-0.05456201732158661,
-0.05346785858273506,
0.0018748854054138064,
0.024089712649583817,
0.010786575265228748,
0.03760256618261337,
-0.06386236101388931,
0.01094158086925745,
0.05248311534523964,
-0.025931546464562416,
0.04865356162190437,
-0.03180352970957756,
-0.035158947110176086,
0.03380948305130005,
0.011835142970085144,
0.04482400789856911,
-0.060470469295978546,
0.060689300298690796,
0.056057363748550415,
0.04588169604539871,
-0.009364169090986252,
0.029560504481196404,
-0.011306299827992916,
-0.0962129682302475,
-0.03804022818803787,
-0.042270973324775696,
0.015491454862058163,
0.003936689347028732,
0.03782139718532562,
-0.000005805591172247659,
0.030344650149345398,
-0.03731079027056694,
0.07221443206071854,
0.06966139376163483,
-0.00021384521096479148,
-0.04449576139450073,
0.01002066396176815,
0.01037626527249813,
-0.03752962127327919,
-0.008566346019506454,
-0.05737035349011421,
0.004021030850708485,
0.01428788062185049,
0.035140711814165115,
0.01816302351653576,
0.047559402883052826,
-0.0012218098854646087,
0.05649502947926521,
0.030909964814782143,
0.029250493273139,
0.040374431759119034,
-0.023761466145515442,
0.032788269221782684,
0.044568706303834915,
-0.038587309420108795,
0.002017353894189,
-0.01590176485478878,
0.020898418501019478,
-0.02695276029407978,
0.014862313866615295,
-0.012245452031493187,
0.016822680830955505,
-0.019877204671502113,
0.018801283091306686,
-0.023159679025411606,
-0.037420205771923065,
-0.018290676176548004,
0.020861947908997536,
0.0051106298342347145,
0.05131601542234421,
0.03807670250535011,
-0.05751624330878258,
-0.009592118673026562,
0.005461672320961952,
-0.02534799464046955,
0.0005539175472222269,
-0.01669502817094326,
-0.013485497795045376,
-0.016248246654868126,
-0.03393713757395744,
-0.038769666105508804,
0.02921402081847191,
0.015190561302006245,
-0.03131115809082985,
0.003072760533541441,
0.013266666792333126,
0.008835326880216599,
0.009017686359584332,
0.000002123671038134489,
0.027591019868850708,
-0.0870949849486351,
-0.03267885372042656,
0.04303688555955887,
-0.0072852689772844315,
-0.015363803133368492,
-0.09176339209079742,
-0.03561484441161156,
-0.08228068798780441,
-0.01035802997648716,
-0.09891188889741898,
-0.00708467373624444,
-0.03800375759601593,
0.05886570364236832,
0.04566286504268646,
0.018035372719168663,
-0.002869885414838791,
-0.022959083318710327,
-0.019421305507421494,
0.03574249520897865,
-0.009975074790418148,
-0.0091316606849432,
-0.013841100037097931,
0.05368668958544731,
0.08921035379171371,
-0.0019740434363484383,
0.040155600756406784,
-0.07039083540439606,
-0.04715821146965027,
0.05270194634795189,
0.016175303608179092,
0.009993310086429119,
-0.012163390405476093,
-0.03641722723841667,
-0.03132939338684082,
0.049857135862112045,
0.02027839608490467,
0.02788279578089714,
-0.02966991998255253,
0.015163207426667213,
0.0034238030202686787,
-0.03638075664639473,
-0.002024192363023758,
-0.025895074009895325,
-0.0506959892809391,
-0.0028562084771692753,
0.01891069859266281,
-0.00873502902686596,
-0.003462554421275854,
0.06681658327579498,
-0.04048384726047516,
0.029068132862448692,
0.003665429539978504,
-0.03928027302026749,
-0.03362712636590004,
-0.06276819854974747,
-0.05598442256450653,
0.03154822438955307,
0.025220343843102455,
-0.053103137761354446,
-0.004221626557409763,
0.043620433658361435,
0.016111478209495544,
0.03132939338684082,
-0.005247399676591158,
0.014643481932580471,
-0.012929300777614117,
-0.06820251792669296,
0.0006661827210336924,
0.013230194337666035,
-0.04518872871994972,
-0.00045931842760182917,
-0.03519541770219803,
0.00563035486266017,
-0.0058263917453587055,
0.009555647149682045,
-0.05864687263965607,
-0.01576499454677105,
-0.03822258859872818,
-0.05182662233710289,
0.0511336550116539,
0.012345749884843826,
0.014679954387247562,
0.004887239541858435,
-0.027718670666217804,
-0.013731683604419231,
-0.06342469900846481,
-0.05933983996510506,
-0.05799037963151932,
-0.021791981533169746,
0.013512852601706982,
-0.05799037963151932,
-0.021500205621123314,
-0.03619839623570442,
-0.001501048100180924,
0.010731867514550686,
0.012418693862855434,
0.03147527948021889,
0.0264421533793211,
-0.022047284990549088,
0.06900490075349808,
-0.033754777163267136,
-0.000410594220738858,
0.04558992013335228,
0.01590176485478878,
-0.02994345873594284,
0.04314630106091499,
-0.021737273782491684,
0.05919395014643669,
0.009847423061728477,
-0.049857135862112045,
0.004823413677513599,
0.001316408975981176,
0.0062777320854365826,
-0.02230258844792843,
0.04033796116709709,
-0.02899518981575966,
0.003647193545475602,
0.019184237346053123,
0.004791500512510538,
-0.006915990728884935,
-0.007248797453939915,
0.012044856324791908,
0.002137027448043227,
0.029779335483908653,
0.03428361937403679,
0.009213722310960293,
0.019384833052754402,
-0.0157011691480875,
-0.06287761777639389,
-0.021791981533169746,
-0.019640136510133743,
-0.0072579151019454,
-0.013521970249712467,
-0.041578005999326706,
0.03112879768013954,
0.053504329174757004,
0.0027422336861491203,
-0.07112027704715729,
-0.09293049573898315,
-0.018801283091306686,
-0.034393034875392914,
-0.057443298399448395,
0.025147398933768272,
-0.024308545514941216,
0.007276151329278946,
-0.008876357227563858,
0.07870643585920334,
-0.06619656085968018,
-0.016804443672299385,
0.022266115993261337,
-0.018628040328621864,
-0.0641176626086235,
0.04143211990594864,
-0.02600448951125145,
0.02255789190530777,
0.02071605995297432,
0.0036152806133031845,
0.04300041124224663,
-0.03324417024850845,
0.023159679025411606,
0.0641176626086235,
-0.005069599021226168,
0.027919266372919083,
0.011898969300091267,
0.02235729619860649,
0.03681841865181923,
0.044094569981098175,
-0.021992577239871025,
0.011123940348625183,
-0.0018691867589950562,
0.014078167267143726,
0.03160293400287628,
-0.02671569213271141,
-0.03862378001213074,
-0.0006935366545803845,
0.01037626527249813,
-0.03205883130431175,
0.018135670572519302,
0.012136036530137062,
0.03774845227599144,
-0.003549175336956978,
-0.0021415865048766136,
-0.005347697529941797,
0.08198890835046768,
0.03318946063518524,
-0.04675702005624771,
-0.042745109647512436,
-0.008333837613463402,
0.03344476595520973,
-0.05580206215381622,
0.014862313866615295,
-0.04259921982884407,
0.04515225812792778,
0.07688283920288086,
0.019220709800720215,
0.0478876531124115,
0.025658007711172104,
-0.01080481056123972,
-0.006478327792137861,
0.04668407887220383,
0.023761466145515442,
0.044094569981098175,
0.008776059374213219,
0.027445131912827492,
0.0154367471113801,
-0.026843344792723656,
0.02697099559009075,
-0.010285085998475552,
0.05226428434252739,
0.004736792761832476,
-0.046173471957445145,
-0.03448421508073807,
0.025858601555228233,
-0.015272622928023338,
-0.0014315234730020165,
-0.012874593026936054,
-0.054489072412252426,
-0.01438817847520113,
-0.03678194805979729,
-0.004549873992800713,
0.013859335333108902,
0.011443070136010647,
-0.021719038486480713,
0.024272073060274124,
0.017570355907082558,
0.05773507431149483,
-0.020442519336938858,
-0.019713081419467926,
0.02835693024098873,
0.02441796101629734,
-0.028831064701080322,
0.017935074865818024,
-0.049419473856687546,
-0.06564948707818985,
0.07232385128736496,
0.007978236302733421,
-0.001473694108426571,
0.009701535105705261,
0.025275051593780518,
-0.017260342836380005,
-0.010868636891245842,
-0.02489209547638893,
-0.022722015157341957,
0.0506959892809391,
-0.036727238446474075,
0.004442737903445959,
-0.053978465497493744,
-0.030745841562747955,
-0.013275784440338612,
0.030527010560035706,
0.017087101936340332,
-0.013485497795045376,
-0.041359174996614456,
0.04150506108999252,
-0.0021176517475396395,
-0.04172389581799507,
0.0037019015289843082,
0.010203024372458458,
0.013266666792333126,
0.02832045778632164,
0.007695578504353762,
-0.007827789522707462,
-0.013102542608976364,
-0.017543001100420952,
-0.010786575265228748,
0.0001297175622312352,
0.023670285940170288,
0.0691143199801445,
0.0036494729574769735,
0.05368668958544731,
-0.0334630012512207,
0.054707903414964676,
0.05044068768620491,
0.048325315117836,
-0.017077984288334846,
-0.016877388581633568,
0.0008998310659080744,
-0.05091482400894165,
-0.0003989117976743728,
0.01784389466047287,
-0.015017319470643997,
0.04515225812792778,
-0.02529328688979149,
-0.019293654710054398,
-0.06918726116418839,
0.03063642606139183,
0.05901159346103668,
-0.03107408992946148,
-0.0154367471113801,
-0.014734662137925625,
0.010221259668469429,
0.013002244755625725,
-0.016503550112247467,
0.014898785389959812,
0.07724756002426147,
-0.007061878684908152,
-0.036927834153175354,
-0.0026123023126274347,
0.022047284990549088,
0.029104605317115784,
0.017196517437696457,
-0.016767973080277443,
0.009455349296331406,
0.025858601555228233,
-0.02421736530959606,
-0.016275601461529732,
0.10985346883535385,
0.011707491241395473,
0.06316938996315002,
-0.015026437118649483,
0.009510057047009468,
-0.01867363043129444,
0.03960852324962616,
0.002486930228769779,
-0.019439542666077614,
-0.0021415865048766136,
0.010275968350470066,
-0.03818611800670624,
-0.023834409192204475,
-0.012363986112177372,
0.007353654131293297,
0.026314500719308853,
-0.026059197261929512,
-0.019184237346053123,
0.06572242826223373,
0.057443298399448395,
-0.024709736928343773,
0.0356513187289238,
0.025876838713884354,
-0.06605067849159241,
-0.01508114580065012,
0.06039752438664436,
-0.02281319536268711,
0.0004456414608284831,
-0.025676243007183075,
0.018135670572519302,
-0.011889850720763206,
-0.05784448981285095,
-0.04493342339992523,
0.076299287378788,
0.030563483014702797,
0.10029782354831696,
-0.01819949597120285,
0.028010446578264236,
0.009200045838952065,
0.021299609914422035,
-0.0178256593644619,
0.027591019868850708,
-0.030946437269449234,
-0.003970881924033165,
0.06364353001117706,
0.02810162678360939,
0.007371889892965555,
0.06794721633195877,
-0.022247880697250366,
-0.01673150062561035,
-0.02139079011976719,
-0.03293415904045105,
0.05084187909960747,
-0.03975440934300423,
0.004517960827797651,
-0.11036407947540283,
-0.02766396291553974,
-0.04092151299118996,
0.017141809687018394,
-0.02877635695040226,
-0.03705548495054245,
-0.05087834969162941,
0.03019876219332218,
0.03986382484436035,
0.0159838255494833,
0.004511122591793537,
0.0012993126874789596,
-0.07608045637607574,
0.04719468578696251,
-0.05897511914372444,
0.009829186834394932,
-0.03342653065919876,
-0.015609988942742348,
0.06265878677368164,
0.022503184154629707,
0.03380948305130005,
0.003396448912099004,
-0.012528110295534134,
0.005060480907559395,
-0.00472311582416296,
0.046829964965581894,
-0.011944559402763844,
0.008648407645523548,
0.006409942638128996,
0.04259921982884407,
0.021080778911709785,
0.031165268272161484,
-0.010686277411878109,
-0.036070745438337326,
0.010312439873814583,
-0.07600751519203186,
-0.01584705524146557,
0.02421736530959606,
0.01867363043129444,
0.0179806649684906,
0.06936962157487869,
0.018819518387317657,
0.021336082369089127,
-0.008958418853580952,
0.01405993103981018,
-0.029378144070506096,
-0.02715335600078106,
0.0405203215777874,
0.007458510808646679,
0.009856540709733963,
0.0014942096313461661,
-0.03825905919075012,
-0.0010981472441926599,
-0.02673392929136753,
0.032551202923059464,
0.038806140422821045,
-0.03430185467004776,
-0.027992211282253265,
-0.003382771974429488,
0.03430185467004776,
-0.002853929065167904,
-0.05777154490351677,
-0.012218098156154156,
0.0014725544024258852,
-0.06466474384069443,
0.03404655307531357,
0.05817273631691933,
0.026642749086022377,
-0.02766396291553974,
0.009555647149682045,
0.011798671446740627,
-0.06039752438664436,
0.021007835865020752,
0.01816302351653576,
-0.014762016013264656,
0.02346969023346901,
0.03807670250535011,
-0.010102726519107819,
0.005511821247637272,
-0.010677158832550049,
-0.015591752715408802,
-0.03982735425233841,
0.0009249054710380733,
-0.026843344792723656,
0.0018680469365790486,
0.00013349298387765884,
-0.019238946959376335,
-0.06575889885425568,
0.020551936700940132,
0.08527138829231262,
-0.010093607939779758,
-0.013777273707091808,
0.003991397563368082,
0.038149643689394,
-0.019694846123456955,
0.0784146636724472,
0.023305566981434822,
0.031639404594898224,
-0.003929851111024618,
-0.05616677924990654,
0.02348792739212513,
-0.053759634494781494,
0.0128928292542696,
-0.001823596772737801,
0.010759221389889717,
0.06233053654432297,
-0.03388242796063423,
0.038113173097372055,
-0.008046620525419712,
-0.03931674733757973,
-0.08570905029773712,
0.0011671019019559026,
-0.06386236101388931,
-0.04197919741272926,
0.06211170554161072,
0.015108499675989151,
-0.02002309262752533,
0.011607193388044834,
-0.013594914227724075,
0.04234391823410988,
0.021828453987836838,
0.0377119816839695,
-0.0502583272755146,
-0.07556985318660736,
0.031894706189632416,
0.023761466145515442,
-0.02830222249031067,
0.009646827355027199,
0.02345145493745804,
-0.02000485733151436,
-0.013986987061798573,
0.013376082293689251,
-0.0012069931253790855,
-0.01509938109666109,
0.01428788062185049,
-0.018135670572519302,
-0.019184237346053123,
0.015910882502794266,
-0.042708635330200195,
-0.01982249692082405,
0.0065056816674768925,
0.016877388581633568,
-0.01324843056499958,
-0.07429333031177521,
-0.017634181305766106,
0.0044814893044531345,
-0.03173058480024338,
0.059376310557127,
0.044094569981098175,
0.03667253255844116,
-0.01568293198943138,
0.04369337856769562,
0.0014429209986701608,
0.043656907975673676,
0.00956476479768753,
-0.011734845116734505,
0.032150011509656906,
-0.0758616253733635,
0.010914226993918419,
-0.03386419266462326,
0.0315299890935421,
-0.015974707901477814,
-0.007011729758232832,
0.006259495858103037,
0.026624513790011406,
-0.03266061842441559,
0.019494250416755676,
0.006551271304488182,
-0.0613093227148056,
-0.041541535407304764,
0.049164168536663055,
0.014634364284574986,
-0.04993008077144623,
-0.05138895660638809,
0.0011386082042008638,
0.05095129460096359,
-0.006063459441065788,
-0.05095129460096359,
-0.04172389581799507,
-0.03059995360672474,
-0.025913311168551445,
-0.023196151480078697,
-0.05565617233514786,
-0.009838304482400417,
-0.02075253054499626
]
|
44,017 | jsons.serializers.default_date | default_date_serializer |
Serialize the given date instance to a string. It uses the RFC3339
pattern. If date is a localtime, an offset is provided. If date is
in UTC, the result is suffixed with a 'Z'.
:param obj: the date instance that is to be serialized.
:param kwargs: not used.
:return: ``date`` as an RFC3339 string.
| def default_date_serializer(obj: date, **kwargs) -> str:
"""
Serialize the given date instance to a string. It uses the RFC3339
pattern. If date is a localtime, an offset is provided. If date is
in UTC, the result is suffixed with a 'Z'.
:param obj: the date instance that is to be serialized.
:param kwargs: not used.
:return: ``date`` as an RFC3339 string.
"""
return to_str(obj, False, kwargs['fork_inst'],
RFC3339_DATE_PATTERN)
| (obj: datetime.date, **kwargs) -> str | [
0.015354931354522705,
-0.014175859279930592,
0.04111449420452118,
0.026065580546855927,
-0.016543002799153328,
-0.04097048565745354,
-0.005886356811970472,
0.004689284134656191,
-0.003154691308736801,
-0.04287859797477722,
0.02757767215371132,
0.002619158709421754,
-0.04007042944431305,
-0.0370822474360466,
0.01705603487789631,
0.014382871799170971,
-0.0925976112484932,
-0.029773805290460587,
0.004824292380362749,
0.035264138132333755,
-0.020539244636893272,
-0.03321201354265213,
-0.007830474525690079,
0.04370664805173874,
0.01870313473045826,
0.050187043845653534,
-0.0068809171207249165,
-0.0012184488587081432,
-0.039206378161907196,
0.009585580788552761,
0.01652500219643116,
0.0067639099434018135,
-0.005904357880353928,
0.030043821781873703,
0.03202394023537636,
-0.0223393552005291,
-0.06516394764184952,
0.0628238096833229,
-0.13680829107761383,
-0.0019159911898896098,
0.06149172782897949,
0.04997102916240692,
-0.03564216196537018,
-0.053967271000146866,
-0.015867961570620537,
0.012402751483023167,
0.00323569611646235,
0.09302964061498642,
-0.012879780493676662,
0.0036317200865596533,
0.03967440500855446,
-0.031807929277420044,
0.005296821240335703,
0.020251227542757988,
-0.05335523560643196,
-0.006741408724337816,
0.04079047217965126,
0.02845972590148449,
-0.004842293448746204,
0.008838536217808723,
-0.02790169231593609,
0.02217734418809414,
0.051879145205020905,
0.02860373444855213,
-0.07106830924749374,
-0.008654024451971054,
-0.017074035480618477,
-0.015813957899808884,
0.026083581149578094,
0.009405570104718208,
0.051555126905441284,
0.0033864553552120924,
0.0062643797136843204,
0.027145646512508392,
0.0009664336103014648,
0.03747827187180519,
-0.04226656258106232,
-0.003566466271877289,
-0.026101581752300262,
-0.007771971169859171,
0.00727694109082222,
-0.044858720153570175,
-0.08690927177667618,
-0.011781713925302029,
0.008703527972102165,
-0.030187830328941345,
-0.018685132265090942,
-0.011133674532175064,
0.0002860485983546823,
-0.004824292380362749,
0.008343505673110485,
0.025633554905653,
0.014121856540441513,
0.059619612991809845,
-0.0469108447432518,
0.002727165352553129,
0.01470689196139574,
-0.01458988431841135,
-0.001013686414808035,
-0.006160873454064131,
0.008807034231722355,
-0.03396805748343468,
-0.13054391741752625,
-0.012429753318428993,
-0.023275410756468773,
-0.004216755740344524,
0.016056973487138748,
-0.0011768213007599115,
-0.019135160371661186,
-0.031177889555692673,
-0.010683647356927395,
-0.0029161768034100533,
-0.03620019555091858,
-0.020827261731028557,
0.03168192133307457,
0.017785077914595604,
-0.011277684010565281,
0.007933980785310268,
0.039134372025728226,
-0.03467010334134102,
-0.021169282495975494,
0.020593248307704926,
-0.025903569534420967,
-0.025417540222406387,
-0.012861779890954494,
-0.017695073038339615,
0.0009878098499029875,
0.03362603858113289,
0.06797212362289429,
-0.014166858978569508,
0.03902636468410492,
0.06984423100948334,
-0.06674804538488388,
-0.01675901561975479,
0.03751427307724953,
0.01403185073286295,
0.012339748442173004,
0.033824048936367035,
-0.04539875313639641,
0.0838850885629654,
0.03458009660243988,
-0.03621819615364075,
0.019855203106999397,
0.02878374420106411,
-0.00815899483859539,
0.03598418086767197,
-0.0018079846631735563,
0.018082095310091972,
-0.05245517939329147,
0.02669561840593815,
0.11031068861484528,
0.04377865418791771,
-0.02757767215371132,
-0.0010682522552087903,
-0.004684783983975649,
-0.07488454133272171,
-0.008861036971211433,
-0.06714407354593277,
0.024283472448587418,
-0.002877924358472228,
0.00990960095077753,
0.0028599232900887728,
0.022537365555763245,
-0.06941220909357071,
0.038342323154211044,
0.07380447536706924,
-0.013626825995743275,
-0.028351718559861183,
0.031087884679436684,
0.00966658629477024,
-0.027037639170885086,
-0.03533614054322243,
-0.05659542977809906,
0.032527972012758255,
0.028657738119363785,
0.04989902675151825,
-0.008640523999929428,
0.035192131996154785,
-0.05310321971774101,
0.0307998675853014,
0.054039277136325836,
-0.0023581429850310087,
0.02692963182926178,
0.0021826322190463543,
0.0032221954315900803,
0.0016639758832752705,
-0.020521244034171104,
-0.020665252581238747,
0.018037093803286552,
0.022105339914560318,
0.006583899259567261,
0.03999842330813408,
-0.0036047184839844704,
0.003872484667226672,
-0.005989863071590662,
-0.017389053478837013,
-0.00007995015766937286,
-0.09317364543676376,
-0.028999758884310722,
-0.008838536217808723,
-0.0010435007279738784,
0.04827892780303955,
0.028837747871875763,
-0.09288562834262848,
0.036722227931022644,
0.02113328129053116,
-0.021943330764770508,
-0.016867022961378098,
-0.017758077010512352,
-0.012906782329082489,
0.03218595311045647,
-0.043166618794202805,
-0.05443530157208443,
0.02458949014544487,
0.002803670009598136,
-0.002232135273516178,
0.0056433421559631824,
-0.0013433314161375165,
-0.02773968130350113,
0.006165373604744673,
0.0034854612313210964,
0.006984423380345106,
-0.06682004779577255,
-0.055191345512866974,
-0.0031029381789267063,
-0.006556897424161434,
0.03465209901332855,
-0.08791732788085938,
0.0012465756153687835,
-0.11412692070007324,
-0.005278820171952248,
-0.08618922531604767,
-0.05198715254664421,
-0.016912024468183517,
0.015030911192297935,
0.06455191224813461,
0.006498394068330526,
-0.03830632194876671,
-0.020125219598412514,
-0.030367841944098473,
0.0109176617115736,
0.002965679857879877,
0.03281598910689354,
-0.04500272870063782,
0.07236438989639282,
0.0430586114525795,
-0.005143811926245689,
0.022771380841732025,
-0.05108709633350372,
-0.019063156098127365,
0.05303121358156204,
-0.01926116831600666,
-0.013995848596096039,
-0.02451748587191105,
-0.01172771118581295,
-0.0551193431019783,
0.0365242138504982,
0.05414728447794914,
0.018829140812158585,
0.008577520027756691,
-0.01140369102358818,
-0.020377235487103462,
-0.07178835570812225,
-0.032527972012758255,
0.00840200949460268,
-0.04327462241053581,
-0.028981756418943405,
-0.010863658972084522,
-0.036236196756362915,
0.010611643083393574,
0.06357985734939575,
-0.04950300231575966,
-0.0028846748173236847,
0.013248803094029427,
-0.07337244600057602,
-0.05738747864961624,
-0.0828770250082016,
-0.045182738453149796,
-0.01793808676302433,
0.020575247704982758,
-0.04475071281194687,
-0.021007273346185684,
0.03762228041887283,
0.004774789325892925,
-0.004990802612155676,
-0.037118248641490936,
0.00395123939961195,
0.038486331701278687,
-0.03202394023537636,
-0.0023401419166475534,
0.02282538451254368,
0.015354931354522705,
-0.02118728496134281,
-0.06728807836771011,
-0.028873750939965248,
-0.024319473654031754,
0.05990763008594513,
-0.03729826211929321,
0.005994363222271204,
-0.01629098691046238,
-0.03598418086767197,
0.060987696051597595,
0.05079907923936844,
0.007330944295972586,
0.0039827413856983185,
0.0002161537267966196,
-0.003345952834933996,
-0.06062767654657364,
-0.04968301206827164,
-0.018505122512578964,
-0.03967440500855446,
-0.010692648589611053,
-0.01060264278203249,
-0.0036159693263471127,
-0.025039518252015114,
0.01015261560678482,
0.01992720738053322,
-0.0026664116885513067,
0.058575551956892014,
0.04730686917901039,
-0.020359234884381294,
0.05627141147851944,
-0.020683253183960915,
0.0015413434011861682,
0.03967440500855446,
-0.02669561840593815,
-0.03726225718855858,
0.05407527834177017,
0.01573295332491398,
0.07333644479513168,
-0.013284805230796337,
-0.06350784748792648,
0.012708770111203194,
0.041402511298656464,
-0.03126789629459381,
0.02113328129053116,
0.033158011734485626,
-0.017047032713890076,
-0.047846902161836624,
0.023113401606678963,
0.038414329290390015,
0.013797836378216743,
-0.01661500707268715,
0.010530638508498669,
-0.03022383153438568,
0.030619855970144272,
0.032851990312337875,
0.040106430649757385,
-0.00185411237180233,
0.016299989074468613,
-0.055191345512866974,
0.027829688042402267,
-0.01056664064526558,
0.009468574076890945,
-0.02498551458120346,
-0.01846911944448948,
0.05321122705936432,
0.03512012958526611,
-0.013149796985089779,
-0.02910776436328888,
-0.07798072695732117,
-0.03729826211929321,
0.02845972590148449,
-0.05922359228134155,
0.05321122705936432,
-0.0040974984876811504,
0.04151051491498947,
-0.02305939793586731,
0.07279641181230545,
-0.07006024569272995,
-0.060591671615839005,
0.007389448117464781,
-0.0026956633664667606,
-0.08698127418756485,
0.01990920677781105,
0.02959379367530346,
0.0031524410005658865,
0.020935269072651863,
-0.030367841944098473,
-0.012744772247970104,
-0.010809655301272869,
-0.0005729409749619663,
0.06941220909357071,
0.015066913329064846,
0.008456012234091759,
0.040502455085515976,
0.035030122846364975,
0.026983635500073433,
0.02248336374759674,
-0.03258197382092476,
-0.02113328129053116,
-0.030349839478731155,
0.010863658972084522,
0.01647999882698059,
-0.05738747864961624,
-0.03661422058939934,
0.03339202329516411,
0.029233772307634354,
-0.05807152017951012,
0.029611796140670776,
0.037838295102119446,
0.0050403056666255,
0.004698284901678562,
-0.02901775948703289,
-0.009585580788552761,
0.05576737970113754,
0.00773596903309226,
-0.04460670426487923,
-0.018487120047211647,
0.007020425517112017,
-0.0163629911839962,
-0.09475774317979813,
-0.03960240259766579,
-0.028873750939965248,
0.05537135526537895,
0.05360725149512291,
-0.0029116764198988676,
0.023419419303536415,
0.042446572333574295,
-0.021745318546891212,
-0.009585580788552761,
0.05205915495753288,
-0.00025004640338011086,
0.08129292726516724,
0.01765906997025013,
0.0007824849453754723,
0.032167948782444,
-0.010017607361078262,
0.018397115170955658,
0.04158252105116844,
0.06955621391534805,
-0.0010103113017976284,
-0.042050547897815704,
0.010197618044912815,
0.040754470974206924,
-0.006174374371767044,
0.04827892780303955,
-0.019657190889120102,
-0.07189635932445526,
0.022681375965476036,
0.011025668121874332,
-0.012753773480653763,
0.015885962173342705,
-0.004828792531043291,
-0.0014299616450443864,
0.08878137916326523,
-0.021313292905688286,
0.04100648686289787,
0.0018451118376106024,
0.01221374049782753,
0.05828753486275673,
-0.0071914358995854855,
-0.051807139068841934,
-0.0035754668060690165,
-0.06231977790594101,
-0.07056427747011185,
0.06610000878572464,
-0.011358688585460186,
-0.009774592705070972,
-0.003966990392655134,
0.029791805893182755,
-0.03888235613703728,
-0.0007408573874272406,
0.011079671792685986,
0.0031659419182687998,
0.018226105719804764,
-0.029773805290460587,
0.008568519726395607,
-0.06573998183012009,
-0.025255531072616577,
0.04521873965859413,
0.041654523462057114,
-0.04025043919682503,
-0.018757136538624763,
0.023797443136572838,
0.062283776700496674,
-0.03812631219625473,
-0.04716286063194275,
-0.010449633933603764,
-0.002150005428120494,
-0.05475931987166405,
-0.0034314580261707306,
0.01802809350192547,
0.028567731380462646,
-0.014886902645230293,
-0.025039518252015114,
0.010746651329100132,
0.010170616209506989,
0.0240134559571743,
0.05634341761469841,
0.017371052876114845,
0.07312043011188507,
-0.06055567041039467,
0.03992642089724541,
0.03611018881201744,
0.062031760811805725,
-0.03627219796180725,
-0.024247469380497932,
-0.029845809563994408,
-0.01736205257475376,
-0.013905842788517475,
0.03830632194876671,
-0.0065658981911838055,
0.04637081176042557,
-0.015273925848305225,
-0.017767077311873436,
-0.04039444774389267,
0.016209982335567474,
0.03812631219625473,
-0.006615401245653629,
0.0240134559571743,
-0.02489550970494747,
0.010836657136678696,
0.014598884619772434,
-0.022555368021130562,
0.020053215324878693,
0.046730831265449524,
-0.022213347256183624,
-0.021385297179222107,
-0.042770594358444214,
0.0031254393979907036,
0.0344000868499279,
0.0264436025172472,
-0.0106386449187994,
0.02152930572628975,
0.023473422974348068,
-0.02772168070077896,
0.020503243431448936,
0.018721135333180428,
0.08928541094064713,
0.027685677632689476,
0.018019093200564384,
-0.0019947460386902094,
0.03054785169661045,
0.009648584760725498,
0.05853955075144768,
-0.03314000740647316,
-0.006426389794796705,
0.04939499497413635,
-0.037046246230602264,
-0.0212772898375988,
-0.023743439465761185,
0.02538153901696205,
-0.025039518252015114,
-0.019045155495405197,
-0.012366749346256256,
0.06177974492311478,
0.045794777572155,
0.01990920677781105,
-0.0010800654999911785,
0.012114734388887882,
-0.04547075554728508,
0.02934177964925766,
0.08100491017103195,
-0.007393948268145323,
0.02361743152141571,
-0.0023378918413072824,
0.020701255649328232,
-0.005382326431572437,
-0.021745318546891212,
-0.048494938760995865,
0.10347027331590652,
0.0719323605298996,
0.03569616377353668,
-0.016209982335567474,
0.03974641114473343,
0.0190991573035717,
0.012870780192315578,
0.004223505966365337,
0.02903576008975506,
-0.0307998675853014,
-0.00868102628737688,
0.0654519647359848,
0.014508879743516445,
-0.037370264530181885,
0.057999517768621445,
0.004369765054434538,
0.03729826211929321,
-0.016299989074468613,
0.0011363188968971372,
0.019477181136608124,
-0.042122554033994675,
0.021889327093958855,
-0.11830317229032516,
0.007780971936881542,
-0.0051798140630126,
0.002641660161316395,
-0.00810949131846428,
-0.018253106623888016,
-0.05119510367512703,
-0.02129529044032097,
0.01133168675005436,
0.013401812873780727,
0.015777956694364548,
0.03852233663201332,
-0.06217576935887337,
0.015507940202951431,
-0.05497533455491066,
0.05079907923936844,
-0.019009152427315712,
0.02224934846162796,
0.042446572333574295,
0.03805430606007576,
0.028963755816221237,
-0.006430889945477247,
0.006502894219011068,
-0.030763864517211914,
0.023815443739295006,
0.021097278222441673,
0.028477726504206657,
-0.01601197011768818,
0.05951160937547684,
0.017722073942422867,
-0.02313140220940113,
0.019315170124173164,
-0.014130856841802597,
-0.04266258701682091,
0.01354582142084837,
-0.05137511342763901,
-0.02957579307258129,
0.028873750939965248,
0.04514673724770546,
-0.00413125054910779,
0.012510758824646473,
-0.0019643690902739763,
0.016831019893288612,
0.009176055900752544,
-0.009783593006432056,
0.0009321190300397575,
-0.06289581209421158,
0.03202394023537636,
0.019603189080953598,
-0.0024819003883749247,
-0.026479605585336685,
-0.03247397020459175,
-0.02878374420106411,
-0.035750165581703186,
0.017326049506664276,
-0.010494636371731758,
-0.020341232419013977,
-0.0071869357489049435,
-0.0028846748173236847,
0.006948421243578196,
-0.02403145655989647,
-0.049935027956962585,
0.024733498692512512,
-0.0020791259594261646,
-0.08359707146883011,
0.017650069668889046,
0.014085854403674603,
-0.006831414066255093,
-0.06368786096572876,
-0.0022208846639841795,
0.011142675764858723,
-0.02538153901696205,
0.05810752138495445,
-0.004752288106828928,
0.00751995574682951,
0.02298739366233349,
0.0010991916060447693,
-0.012411752715706825,
-0.02304139733314514,
-0.03015182726085186,
-0.017434056848287582,
-0.013662828132510185,
0.009990605525672436,
-0.056235410273075104,
0.008901539258658886,
0.0037374766543507576,
-0.019315170124173164,
-0.0501510389149189,
0.020107218995690346,
0.08359707146883011,
-0.030763864517211914,
-0.013365810737013817,
0.0337880477309227,
0.014724892564117908,
0.048890963196754456,
0.042122554033994675,
-0.037046246230602264,
0.06365185976028442,
-0.013716831803321838,
-0.02676762267947197,
0.04374265298247337,
-0.04129450395703316,
0.005431829486042261,
-0.004579027649015188,
0.0130957942456007,
0.0496470108628273,
0.016353990882635117,
0.037838295102119446,
-0.0567394383251667,
-0.046154797077178955,
-0.0688001736998558,
0.034310080111026764,
-0.04705485329031944,
-0.02966579794883728,
0.08366907387971878,
0.004428268410265446,
-0.025525547564029694,
0.0207192562520504,
0.009765592403709888,
0.06361585855484009,
0.039458390325307846,
0.032203953713178635,
-0.03168192133307457,
-0.016867022961378098,
0.0006047241622582078,
0.07747669517993927,
-0.020539244636893272,
0.020107218995690346,
0.041474513709545135,
0.00963058415800333,
-0.016696011647582054,
-0.01684902235865593,
-0.0021736316848546267,
0.003656471613794565,
0.0327259823679924,
0.004887296352535486,
-0.004588027950376272,
-0.0008927416056394577,
-0.020341232419013977,
-0.006921419408172369,
-0.0480269119143486,
0.03400406241416931,
0.008384007960557938,
-0.04125850275158882,
-0.012240742333233356,
-0.021727317944169044,
-0.008843036368489265,
0.05490332841873169,
0.06188775226473808,
0.025687556713819504,
-0.01470689196139574,
0.09367767721414566,
0.015696952119469643,
0.029377780854701996,
-0.013734832406044006,
-0.03459809720516205,
0.02539953961968422,
-0.06095169484615326,
0.028837747871875763,
-0.03458009660243988,
0.017956089228391647,
0.041402511298656464,
0.005170813295990229,
0.015030911192297935,
0.01684902235865593,
-0.01277177408337593,
0.03265397995710373,
0.034706104546785355,
-0.04460670426487923,
-0.05371525511145592,
-0.00987359881401062,
0.022267349064350128,
-0.02046724036335945,
-0.06944821029901505,
0.04215855523943901,
0.04007042944431305,
-0.0011481321416795254,
-0.05601939558982849,
-0.03956639766693115,
-0.02136729471385479,
-0.012708770111203194,
0.010305624455213547,
0.0035507152788341045,
-0.035822171717882156,
-0.03443608805537224
]
|
44,018 | jsons.deserializers.default_datetime | default_datetime_deserializer |
Deserialize a string with an RFC3339 pattern to a datetime instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.datetime`` instance.
| def default_datetime_deserializer(obj: str,
cls: type = datetime,
**kwargs) -> datetime:
"""
Deserialize a string with an RFC3339 pattern to a datetime instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.datetime`` instance.
"""
pattern = RFC3339_DATETIME_PATTERN
if '.' in obj:
pattern += '.%f'
# strptime allows a fraction of length 6, so trip the rest (if exists).
regex_pattern = re.compile(r'(\.[0-9]+)')
frac = regex_pattern.search(obj).group()
obj = obj.replace(frac, frac[0:7])
return get_datetime_inst(obj, pattern)
| (obj: str, cls: type = <module 'datetime' from '/usr/local/lib/python3.10/datetime.py'>, **kwargs) -> <module 'datetime' from '/usr/local/lib/python3.10/datetime.py'> | [
0.02324868179857731,
0.011811679229140282,
0.028718959540128708,
-0.010921821929514408,
-0.05297926813364029,
-0.04507359117269516,
0.029861724004149437,
0.06302060186862946,
0.02064467966556549,
-0.020232535898685455,
0.00034072151174768806,
0.0458604134619236,
-0.060472797602415085,
0.002437739400193095,
0.019258376210927963,
0.047958601266145706,
-0.1310618668794632,
0.04559813812375069,
-0.018911799415946007,
-0.0020138865802437067,
-0.013291651383042336,
0.008135165087878704,
-0.0554521344602108,
0.10768204927444458,
0.03666210174560547,
0.04582294449210167,
0.006575573701411486,
-0.030330069363117218,
-0.05005678907036781,
-0.003175383899360895,
0.04904516413807869,
0.044773850589990616,
-0.011877247132360935,
0.0523797869682312,
-0.0055077457800507545,
-0.07980611175298691,
-0.01982039026916027,
0.033571019768714905,
-0.09584226459264755,
0.0007557928911410272,
-0.0036554383113980293,
0.03624995797872543,
-0.03523833304643631,
-0.042188581079244614,
0.019145973026752472,
0.02013886533677578,
0.0031800675205886364,
0.061971504241228104,
-0.062046442180871964,
-0.008411489427089691,
0.028306815773248672,
-0.01989532634615898,
0.01828421652317047,
0.027632396668195724,
-0.019024202600121498,
-0.0020513541530817747,
0.00754973292350769,
0.09719110280275345,
0.021394032984972,
0.030273867771029472,
-0.02426030859351158,
0.013179248198866844,
0.0216375719755888,
0.05005678907036781,
-0.06275832653045654,
-0.005826220847666264,
0.004650672897696495,
-0.029318442568182945,
-0.023885631933808327,
0.027482526376843452,
0.012739003635942936,
-0.001542028272524476,
-0.021375298500061035,
-0.01763789914548397,
0.05140562728047371,
0.05301673710346222,
0.001158570172265172,
-0.015764517709612846,
0.017057150602340698,
0.06807873398065567,
0.004187010694295168,
0.015389840118587017,
-0.013244817033410072,
-0.035575542598962784,
0.0000903760883375071,
-0.0011515450896695256,
-0.01169927604496479,
-0.04492372274398804,
-0.0006884682225063443,
0.010856254026293755,
-0.022724134847521782,
-0.019014835357666016,
-0.0036905643064528704,
0.04897022992372513,
-0.062458585947752,
-0.017225755378603935,
-0.008355287835001945,
0.005568630527704954,
0.00573255168274045,
-0.0007446696981787682,
-0.020120132714509964,
-0.026602037250995636,
-0.1369817554950714,
-0.011689908802509308,
-0.010781318880617619,
-0.046347491443157196,
0.02843795157968998,
-0.019876591861248016,
-0.03263432905077934,
-0.058112338185310364,
0.033889494836330414,
0.009741591289639473,
-0.03645602986216545,
0.052604589611291885,
0.043200209736824036,
0.014546818099915981,
0.0006638800841756165,
-0.013872399926185608,
0.030648544430732727,
-0.030030326917767525,
-0.03677450492978096,
0.048707954585552216,
-0.06287072598934174,
0.03666210174560547,
0.05567694082856178,
-0.008809583261609077,
-0.005217371508479118,
-0.024990927428007126,
0.12679055333137512,
0.012963809072971344,
0.04511106014251709,
0.04964464530348778,
-0.05676349997520447,
-0.04660976678133011,
0.018509022891521454,
0.05013172701001167,
0.019614318385720253,
0.022443126887083054,
-0.036081355065107346,
0.013797464780509472,
0.03495732322335243,
-0.023810695856809616,
0.046272557228803635,
-0.023585891351103783,
-0.013357220217585564,
0.021768709644675255,
-0.007114171516150236,
0.007840107195079327,
-0.050993483513593674,
0.050281595438718796,
0.02454131655395031,
0.013834932819008827,
-0.016682473942637444,
0.03900383040308952,
-0.02242439240217209,
-0.07073893398046494,
-0.03433910757303238,
-0.048595551401376724,
0.007708970457315445,
-0.004067582543939352,
0.011661808006465435,
0.005090917926281691,
0.04409943148493767,
-0.03816080838441849,
0.08550119400024414,
0.05713817849755287,
0.034751251339912415,
-0.05548959970474243,
-0.018256116658449173,
0.013301018625497818,
-0.014012903906404972,
0.0024892576038837433,
-0.02375449426472187,
0.007385812234133482,
0.04765886068344116,
0.011399534530937672,
0.01150257047265768,
0.03091081790626049,
0.021206693723797798,
0.04526092857122421,
0.044623978435993195,
0.031098155304789543,
0.05387848988175392,
-0.0036554383113980293,
0.05005678907036781,
0.03656843304634094,
-0.011933448724448681,
0.027894672006368637,
-0.020270003005862236,
0.019202174618840218,
-0.003603920340538025,
-0.009329446591436863,
-0.0011568139307200909,
0.05758779123425484,
-0.000353893730789423,
0.037261586636304855,
-0.0079618776217103,
-0.03130422905087471,
0.0140784727409482,
0.020419873297214508,
-0.0008559018024243414,
0.012317492626607418,
0.04203871265053749,
-0.06605547666549683,
0.0035711361560970545,
-0.01006943266838789,
0.0058402712456882,
0.003348671831190586,
-0.014837192371487617,
-0.01466858759522438,
-0.026845576241612434,
-0.03390822932124138,
-0.04286300018429756,
0.021693773567676544,
0.008238201029598713,
-0.007296826224774122,
-0.0159237552434206,
0.029131103307008743,
0.011081059463322163,
0.009460583329200745,
0.009975763969123363,
0.03355228900909424,
-0.10356060415506363,
-0.026995446532964706,
0.04915756732225418,
0.005385975819081068,
-0.03248446062207222,
-0.07545986026525497,
-0.047021910548210144,
-0.07523505389690399,
0.03044247254729271,
-0.09104640781879425,
-0.015558444894850254,
-0.017544230446219444,
0.07332420349121094,
0.061259619891643524,
0.022761601954698563,
-0.030030326917767525,
0.015446041710674763,
-0.05155549570918083,
0.03310267627239227,
-0.022255789488554,
-0.01713208667933941,
0.002664887113496661,
0.02879389561712742,
0.07718337327241898,
-0.025534208863973618,
0.005990141537040472,
-0.05552706867456436,
-0.02843795157968998,
0.03267179802060127,
0.03660590201616287,
0.010846886783838272,
-0.0072640422731637955,
-0.03255939483642578,
-0.021600104868412018,
0.053391411900520325,
0.01584881916642189,
0.008701863698661327,
0.0009548398084007204,
0.005577997304499149,
0.02439144439995289,
-0.023998035117983818,
0.013366586528718472,
-0.026602037250995636,
-0.05526479333639145,
-0.004510169383138418,
0.010228670202195644,
-0.017769036814570427,
-0.010968657210469246,
0.059086497873067856,
-0.019576851278543472,
0.010631447657942772,
-0.005905839614570141,
-0.07456064224243164,
-0.03982812166213989,
-0.06575573980808258,
-0.05863688513636589,
0.026695705950260162,
-0.006514688953757286,
-0.06575573980808258,
-0.02536560408771038,
0.049382373690605164,
0.0029341860208660364,
0.013422788120806217,
-0.002639128128066659,
0.005812170449644327,
-0.016982216387987137,
-0.05627642199397087,
0.01677614450454712,
-0.012411161325871944,
-0.06807873398065567,
0.0034236072096973658,
-0.0458604134619236,
0.0015654455637559295,
0.010575246065855026,
-0.03220345079898834,
-0.08377768099308014,
-0.006598991341888905,
-0.025178266689181328,
-0.055077455937862396,
0.060585200786590576,
-0.0018804080318659544,
0.05444050580263138,
0.04683457314968109,
-0.008018078282475471,
-0.02143150009214878,
-0.06852834671735764,
-0.04926997050642967,
-0.042263519018888474,
-0.024784855544567108,
-0.0318475104868412,
-0.03979065269231796,
0.00895945355296135,
-0.0017481003887951374,
0.0480710044503212,
-0.001851136446930468,
0.03563174232840538,
0.0075872004963457584,
0.03441404178738594,
-0.011774211190640926,
0.05466531217098236,
-0.03471378609538078,
0.006678610108792782,
0.044511578977108,
-0.02690177783370018,
-0.03802967071533203,
0.046347491443157196,
-0.036793239414691925,
0.04271312803030014,
0.010490943677723408,
-0.05867435038089752,
0.00229021068662405,
-0.009334130212664604,
0.02697671391069889,
-0.020195066928863525,
0.034863654524087906,
-0.026920512318611145,
0.02961818315088749,
0.028644023463129997,
0.04428677260875702,
0.0281569454818964,
0.006477221380919218,
0.016963481903076172,
0.006486588157713413,
0.027932139113545418,
0.03759879618883133,
0.010490943677723408,
-0.0064538042061030865,
0.012720270082354546,
-0.04492372274398804,
-0.043649822473526,
-0.034938592463731766,
-0.0122331902384758,
-0.02615242451429367,
-0.023548422381281853,
0.05616401880979538,
0.037936002016067505,
0.02367956005036831,
-0.07928156107664108,
-0.07096374034881592,
-0.007282775826752186,
-0.007723020855337381,
-0.05841207876801491,
0.029824255034327507,
-0.0096198208630085,
0.007179739885032177,
-0.0357816144824028,
0.03420796990394592,
-0.06084747612476349,
-0.037973470985889435,
0.03904129937291145,
0.02002646215260029,
-0.0611097477376461,
0.03937850892543793,
-0.03261559456586838,
0.0019881275948137045,
0.032428257167339325,
-0.0013347852509468794,
0.05792499706149101,
-0.0010473381262272596,
0.014275177381932735,
0.0602479949593544,
0.011165361851453781,
0.02843795157968998,
0.005938623566180468,
0.03287786990404129,
0.024410178884863853,
0.046384960412979126,
-0.005835587624460459,
0.014696688391268253,
-0.01713208667933941,
0.001149203279055655,
0.010387907736003399,
-0.04035266861319542,
-0.027894672006368637,
-0.03660590201616287,
0.015717681497335434,
-0.02210591733455658,
0.03759879618883133,
-0.0073764449916779995,
0.0045289029367268085,
-0.017806503921747208,
0.012523564510047436,
0.008205416612327099,
0.09044692665338516,
0.017769036814570427,
-0.009287295863032341,
-0.05129322409629822,
-0.012186355888843536,
-0.0014998771948739886,
-0.03699931129813194,
0.03658716753125191,
-0.02776353433728218,
0.05316660553216934,
0.0667673647403717,
-0.017666000872850418,
0.04436170682311058,
0.0034446828067302704,
0.005208004266023636,
-0.015717681497335434,
0.030292600393295288,
0.029206039384007454,
0.006598991341888905,
0.005493695382028818,
0.039977990090847015,
0.02933717519044876,
-0.019914060831069946,
0.01888369955122471,
-0.02218085341155529,
0.01777840405702591,
0.007470114156603813,
-0.04900769516825676,
-0.036399830132722855,
0.04005292430520058,
-0.0033978482242673635,
0.021806176751852036,
-0.00496446480974555,
-0.02049480937421322,
-0.002037303987890482,
-0.04660976678133011,
-0.001611109240911901,
-0.012045851908624172,
-0.006664559710770845,
-0.01713208667933941,
0.009357547387480736,
-0.02375449426472187,
0.05477771535515785,
-0.0029435527976602316,
0.011577506549656391,
0.02056974358856678,
0.04526092857122421,
-0.023623358458280563,
0.013048111461102962,
-0.007006451953202486,
-0.06605547666549683,
0.07725831121206284,
0.018612058833241463,
-0.036437295377254486,
-0.014106573536992073,
0.011605607345700264,
-0.0010444109793752432,
0.004582762718200684,
-0.037936002016067505,
-0.015867553651332855,
0.05226738378405571,
-0.016401467844843864,
0.006069760303944349,
-0.07148829102516174,
-0.017047783359885216,
-0.018256116658449173,
0.002411980414763093,
0.0073155602440238,
0.007381128612905741,
-0.023979300633072853,
0.026489634066820145,
0.019932793453335762,
-0.0138630336150527,
0.016054891049861908,
0.013366586528718472,
0.02540307119488716,
0.0120177511125803,
0.011980283074080944,
0.0038966364227235317,
0.0008237030124291778,
0.010041331872344017,
0.005179903469979763,
-0.010968657210469246,
0.022518062964081764,
0.04027773067355156,
-0.002365145832300186,
0.05058133602142334,
-0.034189239144325256,
0.04061494022607803,
0.04361235350370407,
0.01610172539949417,
-0.040202796459198,
0.0019412930123507977,
0.027388857677578926,
-0.045523203909397125,
0.016794877126812935,
0.044773850589990616,
-0.029449578374624252,
0.021581370383501053,
-0.02678937464952469,
0.0023347034584730864,
-0.05698830634355545,
0.0322783887386322,
0.03759879618883133,
-0.02918730489909649,
-0.03284040093421936,
-0.015408574603497982,
-0.005390659440308809,
0.019951527938246727,
-0.02426030859351158,
0.0070954374969005585,
0.0720503032207489,
-0.0340581014752388,
-0.015727048739790916,
-0.002128631342202425,
0.0240355022251606,
0.03220345079898834,
0.004161251708865166,
-0.010013231076300144,
-0.0003609189298003912,
0.011774211190640926,
-0.037186648696660995,
-0.012120787054300308,
0.09232030808925629,
0.009399699047207832,
0.07718337327241898,
-0.017975108698010445,
0.016036156564950943,
-0.03287786990404129,
0.06890302151441574,
0.003418923821300268,
-0.016111092641949654,
-0.011174729093909264,
-0.011867880821228027,
-0.03467631712555885,
-0.04286300018429756,
-0.006069760303944349,
0.011586872860789299,
0.03514466434717178,
-0.04837074503302574,
-0.014050371944904327,
0.059760913252830505,
0.06354514509439468,
-0.050319064408540726,
0.05155549570918083,
0.044511578977108,
-0.0716756284236908,
-0.021693773567676544,
0.057400450110435486,
-0.05470278114080429,
-0.013741263188421726,
-0.043912094086408615,
0.01642020046710968,
-0.014556185342371464,
-0.043987028300762177,
-0.034826189279556274,
0.06339527666568756,
0.043050337582826614,
0.10041332244873047,
-0.034001898020505905,
0.00012279438669793308,
-0.0027046964969486,
0.024841057136654854,
-0.030142730101943016,
0.07249991595745087,
-0.03964078053832054,
0.0327654667198658,
0.07261232286691666,
0.027313921600580215,
-0.019370779395103455,
0.0602479949593544,
-0.007849474437534809,
-0.018761929124593735,
-0.015483509749174118,
-0.014322011731564999,
0.028887564316391945,
-0.002437739400193095,
0.03508846089243889,
-0.09831513464450836,
-0.009788425639271736,
-0.061409492045640945,
0.04252579063177109,
-0.026602037250995636,
-0.03628742694854736,
-0.04593534767627716,
0.02658330276608467,
0.06901542842388153,
0.008378705009818077,
0.005835587624460459,
0.02658330276608467,
-0.0903719887137413,
0.02285527065396309,
-0.03904129937291145,
0.014809091575443745,
-0.02568407915532589,
-0.015268070623278618,
0.04207617789506912,
0.025346869602799416,
0.023492220789194107,
0.0011029541492462158,
-0.01311368029564619,
-0.015174400992691517,
-0.05796246603131294,
0.02107555791735649,
-0.029243506491184235,
0.016298431903123856,
-0.0011310549452900887,
0.04810847342014313,
0.0366433709859848,
0.04046507179737091,
-0.025965087115764618,
-0.060547735542058945,
0.018836865201592445,
-0.0751226544380188,
-0.048558082431554794,
0.02296767383813858,
0.01421897578984499,
-0.012120787054300308,
0.07178803533315659,
0.02246186137199402,
0.010209936648607254,
-0.008374021388590336,
-0.0005148875643499196,
-0.032353322952985764,
-0.018199915066361427,
0.05642629414796829,
-0.011727376841008663,
-0.01627969741821289,
-0.016982216387987137,
-0.043162740767002106,
-0.002099359640851617,
-0.03814207389950752,
0.03949091210961342,
0.0034704417921602726,
-0.02540307119488716,
-0.009554252959787846,
-0.010940556414425373,
0.022836538031697273,
0.017544230446219444,
-0.051143351942300797,
-0.04211364686489105,
-0.0108187859877944,
-0.06616788357496262,
0.03055487386882305,
0.06564333289861679,
0.020045196637511253,
0.0080836471170187,
0.037149183452129364,
-0.006257098633795977,
-0.0917208269238472,
0.010846886783838272,
0.006556840147823095,
-0.009544885717332363,
0.04601028189063072,
0.043874628841876984,
-0.021618839353322983,
-0.008523891679942608,
-0.022630464285612106,
0.004716241266578436,
-0.024560049176216125,
0.018087511882185936,
-0.035219598561525345,
-0.008875151164829731,
-0.003955179825425148,
-0.034788720309734344,
-0.0563138909637928,
0.016654374077916145,
0.05710070952773094,
0.032465726137161255,
-0.042263519018888474,
-0.00810238067060709,
0.04649736359715462,
-0.013966069556772709,
0.048745423555374146,
0.03240952268242836,
0.045410800725221634,
-0.022311989217996597,
-0.0480710044503212,
0.010322339832782745,
-0.047733794897794724,
-0.006711394060403109,
0.003077031346037984,
-0.0038053090684115887,
0.07190043479204178,
-0.020476074889302254,
0.053541284054517746,
0.008566043339669704,
-0.05863688513636589,
-0.05170536786317825,
-0.025534208863973618,
-0.06421956419944763,
-0.023660825565457344,
0.04675963521003723,
0.05275446176528931,
-0.018040677532553673,
0.0036577801220119,
-0.019445713609457016,
0.004622572101652622,
-0.010453476570546627,
0.055077455937862396,
-0.047021910548210144,
-0.062083907425403595,
0.02049480937421322,
0.023735761642456055,
-0.0036624635104089975,
0.015577178448438644,
0.03859168663620949,
-0.020700881257653236,
-0.005844954401254654,
0.03008652850985527,
-0.017431827262043953,
-0.033964432775974274,
0.005044083576649427,
-0.006589624099433422,
-0.02450384758412838,
0.01788143999874592,
-0.014247076585888863,
-0.021113025024533272,
0.016467034816741943,
0.004025431349873543,
0.014425048604607582,
-0.06290819495916367,
-0.0009437166154384613,
-0.02304260991513729,
-0.039116233587265015,
0.0563138909637928,
0.040202796459198,
0.013525824062526226,
-0.014902761206030846,
0.05312914028763771,
0.006177479866892099,
0.0349198579788208,
-0.010266138240695,
0.007249991875141859,
0.05387848988175392,
-0.08714976906776428,
-0.015033897943794727,
-0.0140784727409482,
0.034507714211940765,
-0.04263819381594658,
-0.03653096780180931,
0.012420528568327427,
0.03681197389960289,
-0.027519995346665382,
0.0349198579788208,
0.0054093929938972,
-0.0537286214530468,
-0.046272557228803635,
0.026489634066820145,
0.04207617789506912,
-0.038479283452034,
-0.06635522097349167,
-0.00025115039898082614,
0.02525320090353489,
0.010097533464431763,
-0.06234618276357651,
-0.03293406963348389,
0.0027257720939815044,
-0.005498378537595272,
-0.019333310425281525,
-0.038441818207502365,
-0.026564570143818855,
-0.0031660171225667
]
|
44,019 | jsons.serializers.default_datetime | default_datetime_serializer |
Serialize the given datetime instance to a string. It uses the RFC3339
pattern. If datetime is a localtime, an offset is provided. If datetime is
in UTC, the result is suffixed with a 'Z'.
:param obj: the datetime instance that is to be serialized.
:param strip_microseconds: determines whether microseconds should be
omitted.
:param kwargs: not used.
:return: ``datetime`` as an RFC3339 string.
| def default_datetime_serializer(obj: datetime,
*,
strip_microseconds: Optional[bool] = False,
**kwargs) -> str:
"""
Serialize the given datetime instance to a string. It uses the RFC3339
pattern. If datetime is a localtime, an offset is provided. If datetime is
in UTC, the result is suffixed with a 'Z'.
:param obj: the datetime instance that is to be serialized.
:param strip_microseconds: determines whether microseconds should be
omitted.
:param kwargs: not used.
:return: ``datetime`` as an RFC3339 string.
"""
return to_str(obj, strip_microseconds, kwargs['fork_inst'],
RFC3339_DATETIME_PATTERN)
| (obj: datetime.datetime, *, strip_microseconds: Optional[bool] = False, **kwargs) -> str | [
-0.019070088863372803,
-0.011319486424326897,
0.0052361637353897095,
0.012184669263660908,
-0.01808774471282959,
-0.03660808131098747,
-0.0064348033629357815,
0.03770758584141731,
-0.0020210149232298136,
-0.057967305183410645,
0.014032197184860706,
-0.00019137118943035603,
-0.05728236585855484,
-0.03660808131098747,
0.0343189500272274,
0.015681453049182892,
-0.11088770627975464,
-0.04524189606308937,
0.017285648733377457,
0.0045219361782073975,
0.00857973750680685,
-0.01733972132205963,
-0.04690016433596611,
0.05418212711811066,
0.006515914108604193,
0.044376712292432785,
-0.0066871484741568565,
0.011815164238214493,
-0.04358362779021263,
0.028388839215040207,
0.035760924220085144,
0.02247674949467182,
-0.013509482145309448,
0.016591699793934822,
0.019124163314700127,
-0.03709474951028824,
-0.041348569095134735,
0.04268239438533783,
-0.11961163580417633,
-0.04909917339682579,
0.046107079833745956,
0.012184669263660908,
-0.05400187894701958,
-0.03922165930271149,
-0.010292080231010914,
0.02615378051996231,
-0.0040059806779026985,
0.12667730450630188,
-0.00403752364218235,
0.024892054498195648,
0.04477325454354286,
-0.0008629305521026254,
-0.0037694068159908056,
0.041168320924043655,
-0.06849370896816254,
-0.03298512473702431,
0.05454261973500252,
0.010643561370670795,
-0.0020649500656872988,
0.02561304159462452,
-0.031903646886348724,
0.033543892204761505,
0.05371348559856415,
0.044196464121341705,
-0.0596616230905056,
-0.011355535127222538,
-0.023936746641993523,
-0.04607103019952774,
0.011004054918885231,
0.01316701341420412,
0.05288435146212578,
-0.02514440007507801,
0.007489245850592852,
-0.0036026788875460625,
0.001979332882910967,
0.046215225011110306,
-0.024207117035984993,
-0.008922206237912178,
-0.027848098427057266,
0.014023184776306152,
-0.015311948023736477,
-0.030407600104808807,
-0.04625127464532852,
-0.009354798123240471,
-0.00663307448849082,
-0.018511325120925903,
-0.012346891686320305,
-0.017186513170599937,
0.006105853244662285,
0.0014250746462494135,
-0.021990085020661354,
0.02045798860490322,
0.04387202113866806,
0.07285567373037338,
-0.05003645271062851,
-0.010400228202342987,
-0.021611565724015236,
-0.02229650318622589,
-0.009841463528573513,
-0.011824176646769047,
-0.00003689422374009155,
-0.04527794569730759,
-0.12263978272676468,
-0.011851213872432709,
-0.004075826145708561,
-0.02541477046906948,
0.01706033945083618,
0.0052001141011714935,
-0.0031565683893859386,
-0.04819793999195099,
0.029308095574378967,
-0.015753552317619324,
-0.03056982159614563,
-0.022332552820444107,
0.03922165930271149,
-0.004744991660118103,
0.014059234410524368,
-0.0007367579382844269,
0.0457465834915638,
-0.0414927639067173,
-0.029326120391488075,
0.004546720534563065,
-0.026568347588181496,
-0.03111056238412857,
0.0010144503321498632,
-0.01133751031011343,
0.017285648733377457,
0.029866861179471016,
0.0641317367553711,
-0.0041253939270973206,
0.025649089366197586,
0.028515011072158813,
-0.03002908267080784,
-0.011265411972999573,
0.05767890810966492,
0.008214738219976425,
0.023756500333547592,
0.03568882495164871,
-0.015636391937732697,
0.08846502751111984,
0.020151568576693535,
-0.05940927565097809,
0.00839949119836092,
0.031705375760793686,
0.02397279627621174,
0.004179467912763357,
-0.00802547950297594,
-0.03680635243654251,
-0.037202898412942886,
0.01501454133540392,
0.080750472843647,
0.03312932327389717,
-0.039510052651166916,
-0.0013000285252928734,
-0.041348569095134735,
-0.0473327562212944,
-0.0069575184024870396,
-0.07584776729345322,
0.011688991449773312,
-0.0034472160041332245,
-0.004296628292649984,
-0.005380360875278711,
0.03037155047059059,
-0.07656875252723694,
0.05086558684706688,
0.06373519450426102,
-0.006853876635432243,
-0.017096389085054398,
0.023630328476428986,
0.0006105853244662285,
-0.011679979041218758,
-0.03388635814189911,
-0.029037725180387497,
0.039978694170713425,
0.06579000502824783,
0.010201957076787949,
-0.009088934399187565,
0.02633402682840824,
-0.049784108996391296,
0.0352201834321022,
0.07606406509876251,
-0.00037851784145459533,
0.041889309883117676,
0.018565399572253227,
0.02020564302802086,
0.007755109574645758,
0.024856004863977432,
-0.016366390511393547,
0.00411187531426549,
0.038032032549381256,
0.025090325623750687,
0.030263403430581093,
0.029434269294142723,
0.04931546747684479,
0.020439963787794113,
-0.007146777585148811,
0.023161686956882477,
-0.08911391347646713,
0.012788495980203152,
-0.01110319048166275,
-0.01436565350741148,
0.01606898382306099,
0.03343574330210686,
-0.10101018846035004,
0.04592683166265488,
0.023377982899546623,
-0.0029245009645819664,
-0.010995042510330677,
-0.032642658799886703,
-0.00834992341697216,
0.032444387674331665,
-0.051081884652376175,
-0.05926508083939552,
0.014987504109740257,
-0.006732210051268339,
0.03065994568169117,
0.016546636819839478,
-0.00008589876961195841,
-0.03637376427650452,
0.0011011940659955144,
0.009152020327746868,
0.011679979041218758,
-0.0751267820596695,
-0.03179549798369408,
0.011526769958436489,
0.01418540719896555,
0.00525418808683753,
-0.07555937021970749,
-0.009345785714685917,
-0.11023881286382675,
0.03709474951028824,
-0.04808979108929634,
-0.058327797800302505,
0.007304493337869644,
0.004821596201509237,
0.05515545606613159,
0.012950717471539974,
-0.04891892522573471,
0.028857478871941566,
-0.0767129510641098,
0.0049567813985049725,
-0.014753183349967003,
0.017015278339385986,
-0.01910613849759102,
0.04228585213422775,
0.012644298374652863,
-0.032264139503240585,
0.0005187722272239625,
-0.04491744935512543,
0.0015523737529292703,
0.03536438196897507,
0.008061529137194157,
0.015032566152513027,
-0.031813524663448334,
-0.015438120812177658,
-0.028424886986613274,
0.03457129746675491,
0.04012289270758629,
-0.00003068064688704908,
0.014735158532857895,
-0.02128712274134159,
0.012238743714988232,
-0.07285567373037338,
-0.04066362977027893,
0.0013597352663055062,
-0.03532833233475685,
-0.018475275486707687,
-0.00967924203723669,
-0.024946128949522972,
0.011725041083991528,
0.01597885973751545,
-0.028623158112168312,
-0.01578058861196041,
-0.0012121583567932248,
-0.08161565661430359,
-0.029866861179471016,
-0.0686379000544548,
-0.0605628564953804,
-0.012166645377874374,
0.026676496490836143,
-0.0641317367553711,
-0.039618201553821564,
0.03864486888051033,
0.009152020327746868,
-0.010796770453453064,
-0.0339764840900898,
-0.00044554704800248146,
0.04671991616487503,
-0.030714020133018494,
0.002584285568445921,
-0.00922862533479929,
-0.012842569500207901,
0.00536684226244688,
-0.0686379000544548,
-0.02256687358021736,
-0.040267087519168854,
0.013969111256301403,
-0.06777271628379822,
-0.0006573367863893509,
-0.02449551224708557,
-0.034841667860746384,
0.08529268950223923,
0.028803406283259392,
0.035833023488521576,
0.03806808218359947,
0.016231205314397812,
-0.005326286889612675,
-0.06744827330112457,
-0.03507598862051964,
-0.02121502347290516,
-0.046215225011110306,
-0.035580676048994064,
0.0111572640016675,
0.03323747217655182,
0.003377370536327362,
0.0605628564953804,
-0.003043914446607232,
-0.00585350813344121,
0.018889842554926872,
0.05519150570034981,
-0.009052884764969349,
0.024549586698412895,
-0.01326614897698164,
0.016474539414048195,
0.05018065124750137,
-0.04516979679465294,
-0.06153618544340134,
0.022170331329107285,
-0.009544056840240955,
0.04358362779021263,
-0.00010131829913007095,
-0.05904878303408623,
0.001332698273472488,
0.02689279243350029,
-0.021773789077997208,
0.01578058861196041,
0.028316739946603775,
-0.0018013394437730312,
-0.0350940115749836,
0.0533890426158905,
0.04938756674528122,
0.034841667860746384,
-0.013482444919645786,
0.0283708143979311,
-0.01349145732820034,
0.03120068460702896,
0.013329235836863518,
0.033742163330316544,
-0.01652861200273037,
0.030822167173027992,
-0.01597885973751545,
0.000151660613482818,
-0.024892054498195648,
0.0345352478325367,
-0.015429108403623104,
-0.0032331731636077166,
0.0634828507900238,
0.0630142092704773,
-0.0012572199339047074,
-0.02624390460550785,
-0.06312235444784164,
-0.011878250166773796,
0.06319445371627808,
-0.050541143864393234,
0.07332431524991989,
0.007705541793256998,
0.04931546747684479,
-0.04459300637245178,
0.018889842554926872,
-0.0643840804696083,
-0.07678505033254623,
0.025757238268852234,
0.03377821296453476,
-0.08240874111652374,
0.03513006120920181,
0.016916142776608467,
-0.008611281402409077,
0.03293105214834213,
-0.02644217573106289,
-0.0019624347332865,
0.016321329399943352,
-0.0018193640280514956,
0.07325221598148346,
0.01142763439565897,
-0.0017033303156495094,
0.03907746076583862,
0.05699397251009941,
0.016501575708389282,
0.020710334181785583,
-0.02415304258465767,
-0.02047601342201233,
-0.041709061712026596,
-0.022242428734898567,
0.00871942937374115,
-0.06312235444784164,
-0.037959933280944824,
-0.0006776145310141146,
0.03159722685813904,
-0.05129817873239517,
0.040339186787605286,
0.019845150411128998,
-0.0319577194750309,
-0.0015309695154428482,
-0.01697021722793579,
-0.029956983402371407,
0.06272581219673157,
-0.015582317486405373,
-0.010247019119560719,
-0.01605095900595188,
0.00839498545974493,
-0.025216497480869293,
-0.07606406509876251,
0.0020863544195890427,
-0.014978491701185703,
0.0527041032910347,
0.07303591817617416,
-0.038032032549381256,
0.031903646886348724,
0.023900698870420456,
0.012274793349206448,
-0.01651960052549839,
0.043655723333358765,
-0.007304493337869644,
0.043006837368011475,
0.019881200045347214,
0.006592519115656614,
0.0484502837061882,
-0.0036837896332144737,
0.018583424389362335,
-0.00029853341402485967,
0.05922903120517731,
-0.03011920489370823,
-0.023918723687529564,
-0.002998852636665106,
0.05995001643896103,
0.027685876935720444,
0.06618654727935791,
-0.028496986255049706,
-0.04682806506752968,
0.021593540906906128,
-0.009381835348904133,
-0.01716848835349083,
-0.05371348559856415,
-0.016465526074171066,
-0.008507639169692993,
0.0639154389500618,
-0.06160828471183777,
0.04589078202843666,
0.0343189500272274,
0.04798164218664169,
0.062797911465168,
0.010427265428006649,
-0.015834663063287735,
-0.012545162811875343,
-0.02799229510128498,
-0.07242307811975479,
0.06874605268239975,
-0.01313096471130848,
-0.03900536149740219,
-0.020602185279130936,
0.023450082167983055,
-0.03056982159614563,
0.009435908868908882,
-0.024351315572857857,
0.035833023488521576,
0.07498258352279663,
-0.02112490125000477,
0.006880913861095905,
-0.09077218174934387,
-0.029217973351478577,
0.0394740030169487,
0.015996884554624557,
-0.03734709322452545,
0.013428371399641037,
0.03622956573963165,
0.033291544765233994,
-0.02727130986750126,
0.009007823653519154,
-0.002861414570361376,
-0.012923680245876312,
-0.03102043829858303,
0.009007823653519154,
0.0014205684419721365,
0.030263403430581093,
0.022783169522881508,
0.01606898382306099,
0.036409810185432434,
0.007935356348752975,
0.05616483837366104,
0.03278685361146927,
0.03954610228538513,
0.04596288129687309,
-0.049712009727954865,
0.0174388587474823,
0.031164634972810745,
0.035472530871629715,
-0.058255698531866074,
-0.026676496490836143,
-0.009517020545899868,
-0.01852934993803501,
-0.010796770453453064,
0.03478759154677391,
-0.004321412183344364,
0.021431319415569305,
-0.025811312720179558,
0.005695792380720377,
-0.03940190374851227,
0.03056982159614563,
0.003393142018467188,
-0.025270571932196617,
-0.00005583419988397509,
-0.018313053995370865,
-0.005033385939896107,
0.013833926059305668,
-0.014978491701185703,
0.014987504109740257,
0.05057719349861145,
-0.03799598291516304,
-0.01022899430245161,
-0.0466478168964386,
0.011256399564445019,
0.06579000502824783,
-0.0001668689219513908,
0.015537256374955177,
0.005601163022220135,
0.022711070254445076,
-0.04311498627066612,
0.024946128949522972,
0.022332552820444107,
0.05872434005141258,
0.05634508654475212,
0.014023184776306152,
-0.009580106474459171,
0.021593540906906128,
0.02449551224708557,
0.016726883128285408,
-0.033453766256570816,
-0.021881936118006706,
0.0681692585349083,
-0.04488140344619751,
-0.016663797199726105,
-0.015924787148833275,
0.028406862169504166,
-0.0171594750136137,
-0.036031294614076614,
0.0011704763164743781,
0.07253123074769974,
0.056309036910533905,
-0.0020897339563816786,
0.015627380460500717,
0.02038588933646679,
-0.046864114701747894,
0.019845150411128998,
0.058147549629211426,
-0.025919459760189056,
-0.0033458273392170668,
-0.027974270284175873,
0.013572568073868752,
-0.037238944321870804,
-0.01028306782245636,
-0.02020564302802086,
0.07144974917173386,
0.07476628571748734,
0.025865385308861732,
-0.01661873608827591,
0.034841667860746384,
0.012193681672215462,
-0.00171459570992738,
-0.011364547535777092,
0.04408831521868706,
-0.04289868846535683,
0.0020897339563816786,
0.04398017004132271,
0.036572035402059555,
-0.052091266959905624,
0.07433369755744934,
0.02415304258465767,
0.020241692662239075,
-0.022170331329107285,
0.0069665308110415936,
0.005839989520609379,
0.0011558312689885497,
0.019755026325583458,
-0.07728973776102066,
0.047585099935531616,
-0.04268239438533783,
0.046323373913764954,
-0.012779483571648598,
-0.0213051475584507,
-0.06103149801492691,
-0.014735158532857895,
0.04711645841598511,
0.005249681882560253,
0.008606774732470512,
0.057787057012319565,
-0.0868067592382431,
0.001551247201859951,
-0.04423251375555992,
0.052091266959905624,
0.004551226273179054,
0.024585634469985962,
0.029902908951044083,
0.0506853424012661,
0.027938222512602806,
-0.016005897894501686,
0.0017202284652739763,
-0.055011261254549026,
-0.036031294614076614,
0.008210232481360435,
0.0004466735990718007,
-0.017222562804818153,
0.06676334142684937,
0.019755026325583458,
-0.014149357564747334,
0.02238662727177143,
-0.02910982444882393,
-0.06351889669895172,
0.03476956859230995,
-0.04881077632308006,
-0.06031050905585289,
0.05075744166970253,
0.037851784378290176,
-0.018231943249702454,
0.034841667860746384,
-0.005948137491941452,
0.0015613861614838243,
-0.0006043893517926335,
-0.017691202461719513,
-0.008313873782753944,
-0.040807828307151794,
0.048594482243061066,
-0.014050222001969814,
-0.004632337484508753,
-0.011905287392437458,
-0.045205846428871155,
-0.047404855489730835,
-0.029019702225923538,
0.04008684307336807,
-0.013698740862309933,
-0.019700951874256134,
0.011589855886995792,
-0.0050739417783916,
0.0217557642608881,
-0.0011637170100584626,
-0.018304040655493736,
0.030714020133018494,
-0.023017490282654762,
-0.07184629142284393,
0.017384784296154976,
0.01962885446846485,
-0.015933798626065254,
-0.031146612018346786,
0.025378720834851265,
-0.013878988102078438,
-0.07743393629789352,
0.04938756674528122,
-0.012409977614879608,
0.011229362338781357,
0.03233623877167702,
0.005637212190777063,
0.011553806252777576,
-0.03592314571142197,
-0.026460200548171997,
-0.018853792920708656,
-0.0022598416544497013,
0.013797876425087452,
-0.0643840804696083,
0.00037541985511779785,
0.016916142776608467,
-0.058075450360774994,
-0.036752279847860336,
0.01928638480603695,
0.053569287061691284,
0.007025111000984907,
-0.03900536149740219,
0.0076559740118682384,
0.008980786427855492,
0.03201179578900337,
-0.005357829853892326,
-0.04812584072351456,
0.0813993588089943,
-0.027577728033065796,
-0.02056613564491272,
0.026946865022182465,
-0.06031050905585289,
-0.03651795908808708,
0.0146900974214077,
-0.00973331555724144,
0.049171268939971924,
-0.005614681169390678,
0.06312235444784164,
-0.050252750515937805,
-0.04347547888755798,
-0.02074638195335865,
0.04729670658707619,
-0.03637376427650452,
-0.008097577840089798,
0.05684977397322655,
0.041709061712026596,
-0.040267087519168854,
0.019755026325583458,
0.00780017115175724,
0.02680266834795475,
0.03478759154677391,
0.05385768041014671,
-0.03293105214834213,
-0.018943917006254196,
0.006651099305599928,
0.07083690911531448,
-0.007290974725037813,
0.008647330105304718,
0.04462905600667,
-0.004247060511261225,
-0.02552291750907898,
-0.0021269097924232483,
-0.03581499680876732,
-0.004853139631450176,
0.0161500945687294,
0.030858216807246208,
0.0027374951168894768,
0.0161500945687294,
0.0035891602747142315,
-0.015104664489626884,
-0.02642415091395378,
0.010859857313334942,
0.005839989520609379,
-0.031074512749910355,
0.012797508388757706,
-0.0348777174949646,
-0.029758712276816368,
0.07036826759576797,
0.03817622736096382,
0.022602923214435577,
-0.019773051142692566,
0.09502600133419037,
0.03150710463523865,
0.02606365643441677,
-0.012860594317317009,
-0.0006759247044101357,
0.052559904754161835,
-0.052812252193689346,
-0.0022598416544497013,
-0.012455039657652378,
0.018979966640472412,
0.004447584506124258,
-0.031056487932801247,
0.03147105500102043,
0.03127278387546539,
0.004988324362784624,
0.058039404451847076,
0.026316002011299133,
-0.04232190176844597,
-0.06402359157800674,
-0.01203146018087864,
0.05093768611550331,
0.007849738933146,
-0.09769365191459656,
0.02671254426240921,
0.019664904102683067,
-0.01142763439565897,
-0.054758913815021515,
-0.02853303588926792,
0.005713817197829485,
-0.00750727066770196,
0.0013991642044857144,
0.02222440578043461,
-0.05407397821545601,
-0.00849412102252245
]
|
44,020 | jsons.deserializers.default_decimal | default_decimal_deserializer |
Deserialize a Decimal. Expects a string representation of a number, or
the number itself as a float or int.
:param obj: the string float or int that is to be deserialized.
:param cls: not used.
:param kwargs: any keyword arguments.
:return: the deserialized obj.
| def default_decimal_deserializer(obj: Union[str, float, int],
cls: Optional[type] = None,
**kwargs) -> Decimal:
"""
Deserialize a Decimal. Expects a string representation of a number, or
the number itself as a float or int.
:param obj: the string float or int that is to be deserialized.
:param cls: not used.
:param kwargs: any keyword arguments.
:return: the deserialized obj.
"""
return Decimal(obj)
| (obj: Union[str, float, int], cls: Optional[type] = None, **kwargs) -> decimal.Decimal | [
0.02735387347638607,
-0.028165293857455254,
0.07234261184930801,
-0.016102181747555733,
-0.026470327749848366,
-0.008037567138671875,
0.04143651947379112,
0.02113298699259758,
-0.029102934524416924,
-0.048504892736673355,
0.03948911279439926,
-0.003254696261137724,
-0.021295269951224327,
-0.07832908630371094,
0.015633361414074898,
0.03905635327100754,
-0.08561383932828903,
-0.01071976125240326,
0.05315703526139259,
0.01985274627804756,
0.017670927569270134,
0.014722767286002636,
-0.005346356891095638,
0.0907348021864891,
-0.016877537593245506,
-0.021818185225129128,
0.027335843071341515,
0.0424102246761322,
-0.055320821702480316,
-0.008186327293515205,
-0.004582269582897425,
0.012901579961180687,
-0.0026303534395992756,
0.059792645275592804,
-0.041833214461803436,
-0.028561988845467567,
0.006892563309520483,
0.06054997071623802,
-0.07255899161100388,
0.001525920582935214,
0.014821941033005714,
0.030491365119814873,
-0.043636370450258255,
-0.0037776115350425243,
-0.013532684184610844,
0.022954173386096954,
-0.0074605573900043964,
0.027606315910816193,
-0.045619841665029526,
-0.012793390080332756,
0.04432157054543495,
-0.011936891824007034,
0.031717509031295776,
0.021782122552394867,
0.033556729555130005,
-0.01202704943716526,
0.024288509041070938,
0.03642374649643898,
-0.004061608575284481,
0.037938397377729416,
-0.04284298047423363,
0.03420586511492729,
0.019978966563940048,
-0.029806165024638176,
-0.06732983887195587,
-0.033448539674282074,
0.00929526798427105,
0.02113298699259758,
-0.027588283643126488,
0.013406463898718357,
-0.00445830263197422,
-0.006423742510378361,
-0.04616078734397888,
0.022575510665774345,
0.05207514017820358,
-0.017679942771792412,
0.02248535305261612,
-0.007794140838086605,
-0.0344042144715786,
0.05654696747660637,
-0.008078138343989849,
0.006036064121872187,
0.003549963003024459,
-0.005003757309168577,
0.0010734412353485823,
-0.017959432676434517,
-0.014479340985417366,
-0.003989482298493385,
0.019924871623516083,
0.031573258340358734,
-0.04114801436662674,
-0.0538782961666584,
-0.06368746608495712,
0.008569497615098953,
-0.02986025996506214,
-0.051426004618406296,
-0.003829452209174633,
0.010918108746409416,
0.03656800091266632,
0.016796397045254707,
-0.030220892280340195,
-0.0017186328768730164,
-0.04572803154587746,
0.007163036614656448,
-0.016805412247776985,
-0.12167695164680481,
0.051353879272937775,
0.0023080394603312016,
0.013325321488082409,
-0.008416229858994484,
0.02582119219005108,
0.005535688251256943,
-0.036063116043806076,
0.024595044553279877,
0.012468822300434113,
0.031266722828149796,
0.0027520665898919106,
-0.00010107533307746053,
0.013217132538557053,
-0.012153270654380322,
-0.03746957704424858,
0.028165293857455254,
-0.05921563878655434,
0.07912247627973557,
-0.008939145132899284,
-0.013857252895832062,
0.03952517732977867,
-0.040715258568525314,
0.07832908630371094,
0.0726671814918518,
0.12203758209943771,
-0.024558981880545616,
-0.06433659791946411,
0.0003958490560762584,
0.03288956359028816,
0.06931331008672714,
0.009709994308650494,
0.06127123534679413,
-0.01461457833647728,
0.024414729326963425,
0.03680241107940674,
-0.01708490215241909,
0.007731030695140362,
-0.03155522793531418,
-0.01530879270285368,
0.08222390711307526,
0.003022539895027876,
0.03481893986463547,
-0.0972982868552208,
0.03027498535811901,
-0.033520665019750595,
0.02832757867872715,
0.02533433958888054,
-0.00003616877074819058,
0.021259207278490067,
-0.031717509031295776,
0.002452292013913393,
-0.028039073571562767,
0.0364958755671978,
-0.004742299672216177,
0.00444027129560709,
0.04024643823504448,
0.07025095075368881,
-0.041833214461803436,
0.013406463898718357,
0.06375958770513535,
-0.02787678875029087,
-0.05860256403684616,
-0.012324569746851921,
0.015083398669958115,
-0.03114050067961216,
-0.014434262178838253,
-0.021078892052173615,
-0.0041540199890732765,
0.06444478780031204,
0.02262960560619831,
0.02877836674451828,
0.008763337507843971,
0.004580015782266855,
0.041652899235486984,
0.03233058378100395,
0.013289258815348148,
0.035359885543584824,
-0.011359881609678268,
0.05149812996387482,
0.016291512176394463,
0.016129229217767715,
0.004697220865637064,
-0.056078147143125534,
-0.015471076592803001,
0.02012321911752224,
0.053229160606861115,
0.011008266359567642,
-0.002312547294422984,
-0.015723519027233124,
0.0206821970641613,
0.0258933175355196,
-0.045655906200408936,
0.006626597605645657,
0.022954173386096954,
-0.022160785272717476,
-0.002921112347394228,
0.07169347256422043,
-0.04515102133154869,
-0.023350868374109268,
0.012072128243744373,
-0.021421490237116814,
0.028273483738303185,
-0.026993243023753166,
0.0019564239773899317,
0.0062839980237185955,
0.024757329374551773,
-0.032583024352788925,
0.036297526210546494,
0.016760332509875298,
0.03256499394774437,
0.007938393391668797,
0.0024252445437014103,
0.019347861409187317,
0.060982730239629745,
0.09102330356836319,
-0.01127873919904232,
-0.03184373304247856,
0.021601807326078415,
0.030671680346131325,
-0.0009489107760600746,
-0.027335843071341515,
-0.025244181975722313,
0.023278741165995598,
-0.03667619079351425,
-0.0006626597605645657,
-0.041869278997182846,
-0.06545455753803253,
0.007370399311184883,
0.0601172149181366,
0.03433208540081978,
0.04403306543827057,
-0.058133743703365326,
-0.026885053142905235,
-0.031717509031295776,
0.0191134512424469,
0.024126224219799042,
-0.037974461913108826,
-0.021836217492818832,
0.004266717471182346,
0.06069422513246536,
-0.006054095458239317,
-0.004465064499527216,
-0.016805412247776985,
-0.03379113972187042,
0.04572803154587746,
0.008745306171476841,
0.05744854360818863,
-0.03117656335234642,
0.0035544708371162415,
-0.006608566269278526,
-0.048396702855825424,
0.03537791594862938,
0.004625094588845968,
0.000686889688950032,
-0.0169406495988369,
-0.025424497202038765,
-0.056186337023973465,
0.037830207496881485,
-0.009259205311536789,
-0.014208868145942688,
-0.000579827290493995,
-0.051281750202178955,
0.02001502923667431,
0.021709995344281197,
0.07133284211158752,
-0.051281750202178955,
0.01809466816484928,
0.0014019536320120096,
-0.006216379813849926,
-0.045547716319561005,
-0.01952817663550377,
-0.03833509236574173,
0.03384523466229439,
0.001493238378316164,
-0.035089410841464996,
-0.05258002504706383,
0.03826296702027321,
-0.005026296712458134,
0.023747561499476433,
0.02867017686367035,
-0.010223893448710442,
-0.0410037636756897,
-0.03563036024570465,
0.014154773205518723,
0.02095266990363598,
-0.03278137370944023,
-0.011621339246630669,
0.0069962446577847,
-0.009746056981384754,
-0.013550715520977974,
-0.003635613014921546,
-0.05571751296520233,
-0.01058452483266592,
-0.020519914105534554,
-0.049370408058166504,
-0.013649889267981052,
0.011846733279526234,
0.05961233004927635,
0.03676634654402733,
-0.02071825973689556,
0.04522314667701721,
-0.05853043869137764,
0.020465819165110588,
0.014308040961623192,
0.00024413039500359446,
0.016246434301137924,
0.00835762731730938,
-0.008335087448358536,
-0.005129978526383638,
0.037974461913108826,
0.010945156216621399,
0.04215778410434723,
-0.011684449389576912,
0.029066871851682663,
-0.014560483396053314,
0.06942149996757507,
-0.10205861926078796,
0.0024274985771626234,
-0.0022212625481188297,
0.04298723489046097,
-0.03573855012655258,
0.06368746608495712,
0.022305037826299667,
0.021114954724907875,
-0.010088657028973103,
-0.04424944519996643,
-0.014587530866265297,
-0.013262211345136166,
0.03151916339993477,
-0.039957933127880096,
0.02297220565378666,
-0.01704883761703968,
-0.03398948535323143,
-0.009430505335330963,
0.03772202134132385,
-0.018518410623073578,
0.0129466587677598,
0.0029301282484084368,
-0.014821941033005714,
0.052327580749988556,
0.06974606961011887,
-0.034043580293655396,
0.04302329942584038,
0.07515553385019302,
-0.06127123534679413,
-0.045583780854940414,
-0.009908340871334076,
-0.019978966563940048,
-0.030329080298542976,
-0.06556274741888046,
0.023260710760951042,
0.038731787353754044,
0.025803159922361374,
-0.08518107980489731,
-0.05766492336988449,
0.012721264734864235,
-0.017824195325374603,
0.016994742676615715,
-0.0018583774799481034,
-0.025388434529304504,
0.013694968074560165,
-0.05636665225028992,
0.04522314667701721,
-0.019654398784041405,
-0.013694968074560165,
0.0019812174141407013,
-0.04042675346136093,
-0.0217280276119709,
-0.02821938879787922,
0.04107588902115822,
-0.021529680117964745,
0.04147258400917053,
0.029084904119372368,
0.03124869056046009,
-0.009322315454483032,
-0.04810819774866104,
0.03541398048400879,
0.051317814737558365,
0.021637869998812675,
-0.007956424728035927,
0.0007646507583558559,
-0.018969198688864708,
0.03281743451952934,
-0.005332833155989647,
-0.01557025033980608,
0.029481597244739532,
-0.01689556986093521,
-0.004323066212236881,
-0.003218633122742176,
-0.017075885087251663,
0.012595043517649174,
-0.016832459717988968,
-0.07273930311203003,
0.046485356986522675,
0.012207364663481712,
-0.0007488731644116342,
-0.018933136016130447,
0.003531931433826685,
-0.05146206542849541,
0.02124117501080036,
0.02008715644478798,
-0.06574305891990662,
0.004474080167710781,
0.026019537821412086,
0.047639377415180206,
-0.017229154706001282,
0.06895267963409424,
0.00590082723647356,
0.03934485837817192,
0.012901579961180687,
-0.023278741165995598,
0.020069124177098274,
-0.022323068231344223,
-0.03200601413846016,
0.03472878038883209,
0.045547716319561005,
0.016616079956293106,
-0.013496621511876583,
0.05106537416577339,
0.01738242246210575,
-0.001395191764459014,
-0.020826449617743492,
0.036261461675167084,
0.004706236533820629,
0.03323215991258621,
-0.04424944519996643,
-0.03656800091266632,
-0.07273930311203003,
0.05878287926316261,
0.023729531094431877,
0.03521563485264778,
-0.048577018082141876,
-0.044610075652599335,
-0.005499625112861395,
-0.018464315682649612,
-0.0382269024848938,
-0.000603493710514158,
0.005959429778158665,
0.0028715257067233324,
-0.041833214461803436,
0.028273483738303185,
0.009078889153897762,
-0.006468821316957474,
-0.043600305914878845,
0.06884448975324631,
-0.03564839065074921,
0.018897073343396187,
-0.0008193089161068201,
0.0062389192171394825,
-0.0660315677523613,
0.08388280868530273,
0.021042827516794205,
-0.03139294311404228,
0.014641624875366688,
-0.03862359747290611,
-0.019203608855605125,
-0.020375661551952362,
-0.04039068892598152,
-0.01866266317665577,
0.041869278997182846,
0.036441780626773834,
0.011648386716842651,
-0.035954926162958145,
-0.018500378355383873,
-0.014019536785781384,
0.013379416428506374,
-0.02836364135146141,
0.00382719817571342,
-0.06963787972927094,
0.040895573794841766,
0.0371810719370842,
-0.045439526438713074,
-0.005368896294385195,
-0.009065365418791771,
0.03627949580550194,
-0.02495567686855793,
0.010521413758397102,
-0.027065368369221687,
-0.03503531590104103,
0.03274530917406082,
0.00745604932308197,
0.05784523859620094,
-0.015831708908081055,
0.06105485558509827,
-0.008479340001940727,
0.10508792102336884,
-0.02098873443901539,
0.02488354966044426,
0.014299025759100914,
0.04154470935463905,
0.010133735835552216,
-0.01435312069952488,
-0.005783622153103352,
-0.03270924836397171,
0.03833509236574173,
0.003504884196445346,
-0.026632610708475113,
-0.03898422792553902,
-0.036622095853090286,
-0.054130736738443375,
-0.03200601413846016,
0.0754440426826477,
-0.021493617445230484,
0.016210371628403664,
-0.039741553366184235,
0.01835612580180168,
-0.00417655985802412,
0.04497070610523224,
-0.04060706868767738,
0.039020292460918427,
0.036405716091394424,
-0.01230653841048479,
-0.0029932386241853237,
-0.036964695900678635,
0.011684449389576912,
0.06458903849124908,
-0.039633363485336304,
-0.023350868374109268,
0.0018459807615727186,
0.026560485363006592,
-0.07165741175413132,
-0.01648985967040062,
0.06332683563232422,
0.018482347950339317,
0.06242525577545166,
-0.023585278540849686,
0.013280242681503296,
-0.03296168893575668,
-0.011215629056096077,
-0.02818332612514496,
-0.025640875101089478,
0.02967994473874569,
0.007618333213031292,
-0.049442533403635025,
0.00590082723647356,
0.02922915667295456,
-0.006148761138319969,
-0.012216380797326565,
0.008727273903787136,
-0.04475432634353638,
0.03691060096025467,
0.10090459883213043,
-0.02342299371957779,
0.04327573999762535,
0.033358383923769,
-0.06282194703817368,
-0.00912396889179945,
-0.0040187835693359375,
-0.01058452483266592,
-0.008280993439257145,
-0.030401207506656647,
0.018572505563497543,
-0.0008688957314006984,
-0.022575510665774345,
-0.02461307682096958,
0.028273483738303185,
0.03020286001265049,
0.07465065270662308,
0.0069646891206502914,
0.0005629226798191667,
0.005468070041388273,
0.03278137370944023,
0.03294365853071213,
0.0023418485652655363,
0.004453795030713081,
-0.02064613439142704,
0.017301280051469803,
0.031573258340358734,
-0.012748311273753643,
0.02012321911752224,
-0.007974456995725632,
-0.024180319160223007,
-0.01974455639719963,
0.010701729916036129,
-0.00003196023317286745,
0.027263715863227844,
-0.06383171677589417,
-0.07652593404054642,
0.017229154706001282,
-0.03948911279439926,
0.018311047926545143,
-0.0434560552239418,
-0.0002952667709905654,
-0.006148761138319969,
0.014001504518091679,
0.050271984189748764,
0.008659656159579754,
0.0014673180412501097,
-0.026885053142905235,
-0.0823681578040123,
-0.03339444473385811,
-0.009155523963272572,
0.026253947988152504,
-0.008465816266834736,
-0.02158377505838871,
0.06440872699022293,
0.014055599458515644,
0.0039939903654158115,
0.0729917511343956,
0.035323821008205414,
-0.051426004618406296,
-0.04500677064061165,
0.010629603639245033,
-0.037794146686792374,
-0.017472580075263977,
0.025640875101089478,
0.026217885315418243,
0.024378666654229164,
-0.005084899254143238,
0.007555223070085049,
-0.020519914105534554,
-0.054960187524557114,
-0.08092563599348068,
0.0132081164047122,
-0.04313148558139801,
0.05842224881052971,
-0.03294365853071213,
0.05860256403684616,
0.0017716005677357316,
0.023657403886318207,
-0.015254697762429714,
-0.0382269024848938,
-0.008853495121002197,
-0.03433208540081978,
0.009854246862232685,
0.03934485837817192,
0.00719459168612957,
0.01148610282689333,
-0.1056649312376976,
-0.04904583841562271,
-0.01506536640226841,
0.045764096081256866,
0.030563490465283394,
-0.024721266701817513,
0.011035313829779625,
0.02154771238565445,
-0.057989489287137985,
-0.0015507140196859837,
0.0071269734762609005,
-0.08640722930431366,
-0.023657403886318207,
-0.03337641432881355,
0.06859204918146133,
0.060946665704250336,
-0.02509992942214012,
-0.014199852012097836,
-0.00406611617654562,
-0.025280244648456573,
-0.03847934678196907,
0.010800903663039207,
0.018013525754213333,
0.010178814642131329,
0.022755825892090797,
0.04103982821106911,
-0.08510895818471909,
-0.0029661913868039846,
-0.060045089572668076,
0.03680241107940674,
0.051317814737558365,
0.026109695434570312,
-0.06549061834812164,
-0.044682200998067856,
0.012144254520535469,
-0.09491812437772751,
-0.02645229548215866,
0.03992186859250069,
0.009755073115229607,
-0.025081897154450417,
-0.10523217171430588,
-0.0021412475034594536,
0.02791285142302513,
-0.007902330718934536,
0.048613082617521286,
0.024775361642241478,
0.05578964203596115,
-0.036928631365299225,
-0.027966946363449097,
0.01099925022572279,
-0.06678888946771622,
0.032619088888168335,
-0.014758829958736897,
0.01558828167617321,
0.0559699572622776,
-0.005567243788391352,
0.018716758117079735,
0.030815932899713516,
-0.015101430006325245,
-0.038912102580070496,
-0.023224646225571632,
-0.037974461913108826,
-0.03218633309006691,
0.006063111592084169,
0.008709242567420006,
-0.006500376854091883,
0.0025920365005731583,
-0.01904132589697838,
-0.004133734852075577,
0.011900828219950199,
0.05853043869137764,
-0.05741248279809952,
-0.05157025530934334,
-0.004003006033599377,
0.04493464156985283,
-0.04973103851079941,
-0.026055602356791496,
0.045475590974092484,
0.00470172893255949,
-0.055284757167100906,
-0.03227648884057999,
0.0723065510392189,
-0.0007353494875133038,
0.028994744643568993,
-0.06368746608495712,
-0.007117957808077335,
-0.002181818475946784,
-0.047422997653484344,
0.02363937348127365,
0.033556729555130005,
0.03837115690112114,
0.01200901810079813,
0.005120962392538786,
-0.03586477041244507,
-0.054960187524557114,
-0.03133884817361832,
0.033863265067338943,
0.039741553366184235,
-0.012829453684389591,
-0.04619685187935829,
0.006049587856978178,
-0.04226597398519516,
0.010557477362453938,
-0.027552220970392227,
-0.005535688251256943,
0.017562737688422203,
-0.07933885604143143,
-0.002441022079437971,
-0.0033809172455221415,
0.05203907564282417,
-0.014001504518091679,
-0.017589785158634186,
0.06455297768115997,
0.08676785975694656,
-0.007131481077522039,
-0.007722014561295509,
-0.022809920832514763,
-0.012108190916478634,
0.024522919207811356,
0.08857101202011108,
0.04709843173623085,
-0.010124719701707363,
-0.056006018072366714,
-0.013045832514762878,
0.03339444473385811,
-0.018987230956554413,
-0.06870023906230927,
-0.02387378364801407,
0.015254697762429714,
-0.035972960293293,
0.020447786897420883,
-0.028868524357676506,
0.0018437268445268273,
-0.003516153898090124
]
|
44,021 | jsons.serializers.default_decimal | default_decimal_serializer |
Serialize a Decimal.
:param obj: an instance of a Decimal.
:param kwargs: any keyword arguments.
:return: ``obj`` serialized as a string.
| def default_decimal_serializer(obj: Decimal, **kwargs) -> str:
"""
Serialize a Decimal.
:param obj: an instance of a Decimal.
:param kwargs: any keyword arguments.
:return: ``obj`` serialized as a string.
"""
return str(obj)
| (obj: decimal.Decimal, **kwargs) -> str | [
-0.009033081121742725,
-0.04888283461332321,
0.07954056560993195,
0.018984481692314148,
0.00812800694257021,
-0.041253719478845596,
0.009412771090865135,
-0.013183177448809147,
0.0004724045575130731,
-0.05969074368476868,
0.05103735253214836,
-0.02664891444146633,
-0.021297939121723175,
-0.0712403729557991,
-0.008794671855866909,
0.017518702894449234,
-0.05979670211672783,
-0.06717857718467712,
0.05411018803715706,
0.03221181035041809,
0.03687404468655586,
0.009262661449611187,
0.006569513585418463,
0.04764663428068161,
-0.024158857762813568,
0.011929318308830261,
0.003410584293305874,
0.028008732944726944,
-0.03207052871584892,
0.015858665108680725,
-0.027602553367614746,
-0.031293489038944244,
-0.007682092487812042,
0.03528464585542679,
-0.009077231399714947,
0.009050741791725159,
-0.011982298456132412,
0.07869288325309753,
-0.1159907728433609,
-0.04015880078077316,
0.04520955681800842,
0.02680785395205021,
-0.07833968847990036,
-0.03637956455349922,
-0.01269752811640501,
0.006317859049886465,
0.0008107036119326949,
0.09529326856136322,
0.017916053533554077,
-0.026260394603013992,
0.0416775606572628,
0.0005333866574801505,
0.008794671855866909,
0.0177571140229702,
-0.03288288787007332,
-0.020308980718255043,
0.04535083845257759,
0.010083850473165512,
-0.014375226572155952,
0.05474594980478287,
-0.043938037008047104,
0.04754067584872246,
0.06756709516048431,
-0.017933713272213936,
-0.06357593834400177,
-0.014039686881005764,
-0.028662152588367462,
0.030145591124892235,
-0.004503295756876469,
0.011938149109482765,
0.0289447121322155,
-0.03138178959488869,
-0.05990266427397728,
0.025942515581846237,
-0.003192042000591755,
0.020891759544610977,
0.014057346619665623,
-0.011125789023935795,
-0.03991156071424484,
0.007028673309832811,
-0.0010198639938607812,
-0.05675918608903885,
-0.01743040420114994,
-0.011655588634312153,
0.0027284673415124416,
-0.0648827776312828,
-0.03579678758978844,
-0.012150068767368793,
0.03969964385032654,
0.023028617724776268,
-0.024670995771884918,
0.00868429709225893,
-0.026313375681638718,
0.06325805932283401,
-0.05577022582292557,
-0.07074589282274246,
-0.007571717724204063,
-0.013668826781213284,
0.03226478770375252,
0.006768188439309597,
-0.004022061359137297,
-0.007514322642236948,
-0.08370832353830338,
0.006852073594927788,
-0.028220653533935547,
-0.1110459715127945,
0.04799983277916908,
0.0028785772155970335,
0.028361933305859566,
-0.000603750697337091,
0.003147891955450177,
0.006017639301717281,
-0.01896682195365429,
-0.022445838898420334,
0.004150095861405134,
0.03669744357466698,
0.00534214498475194,
0.01295359805226326,
0.03491378575563431,
-0.011867508292198181,
-0.019425980746746063,
0.012088258750736713,
-0.0207328200340271,
0.034189727157354355,
-0.018119143322110176,
-0.008604826405644417,
0.03537294641137123,
0.018507663160562515,
0.054781269282102585,
0.024158857762813568,
0.1008031815290451,
-0.01446352619677782,
-0.04245460033416748,
0.01750987395644188,
0.06611897796392441,
0.021439218893647194,
0.028485553339123726,
0.04856495559215546,
0.007041918113827705,
0.0638585016131401,
0.012918277643620968,
-0.04432655870914459,
-0.02680785395205021,
0.006935958284884691,
0.026260394603013992,
0.05329782888293266,
0.008666636422276497,
0.0142162861302495,
-0.06255166232585907,
0.0018498832359910011,
0.024670995771884918,
0.03807492554187775,
0.009006591513752937,
-0.04965987429022789,
0.012927107512950897,
-0.0251478161662817,
-0.0002313733712071553,
-0.05601746588945389,
0.02428247779607773,
-0.024723976850509644,
0.015284715220332146,
0.022322218865156174,
0.05223822966217995,
-0.05524042621254921,
0.0035452416632324457,
0.0872403159737587,
-0.05622938647866249,
-0.05608810856938362,
0.004790270235389471,
0.00024696384207345545,
-0.028750453144311905,
-0.02818533405661583,
-0.05841922387480736,
0.015390675514936447,
0.0813065618276596,
0.010525350458920002,
0.027461273595690727,
0.0351080484688282,
-0.046339794993400574,
0.032158829271793365,
0.05089607089757919,
-0.004993360489606857,
0.018172122538089752,
0.020785801112651825,
0.0361323244869709,
-0.030127931386232376,
0.04135968163609505,
-0.028785772621631622,
-0.05209695175290108,
-0.008922706358134747,
0.034066107124090195,
0.05421615019440651,
0.011452498845756054,
0.0014183174353092909,
-0.01251209806650877,
-0.01871958188712597,
0.04135968163609505,
-0.0983307883143425,
0.022834358736872673,
0.011973468586802483,
-0.043019719421863556,
-0.00618982408195734,
0.06032650172710419,
-0.03487846627831459,
0.01933768205344677,
0.027602553367614746,
0.0024194177240133286,
-0.012150068767368793,
-0.03295353055000305,
-0.027196373790502548,
0.02943919226527214,
0.03362460806965828,
-0.049483273178339005,
0.03540826588869095,
0.003328906837850809,
0.05979670211672783,
0.023929277434945107,
-0.002869747346267104,
-0.04655171558260918,
0.057430267333984375,
0.05107267200946808,
-0.014039686881005764,
-0.00847679190337658,
-0.0003222946834284812,
0.026595935225486755,
-0.002896237187087536,
0.03524932637810707,
-0.038993243128061295,
0.02136857993900776,
-0.05488722771406174,
0.002256062813103199,
-0.03136413171887398,
-0.09112551063299179,
0.006481213960796595,
-0.017659982666373253,
0.04347888007760048,
0.029121313244104385,
-0.08413215726613998,
-0.002384097781032324,
-0.04174819961190224,
0.017439233139157295,
0.024847596883773804,
-0.014304586686193943,
-0.02744361385703087,
0.014260436408221722,
0.017395082861185074,
-0.029633451253175735,
0.005200865212827921,
-0.006618078798055649,
0.0009790252661332488,
0.059090305119752884,
-0.02085644006729126,
0.018878521397709846,
-0.04559807851910591,
0.028361933305859566,
-0.022304559126496315,
-0.02728467434644699,
0.06166866049170494,
0.013589357025921345,
0.028715133666992188,
-0.03888728469610214,
-0.01884320192039013,
-0.08173040300607681,
-0.014101496897637844,
0.01440171618014574,
-0.029280252754688263,
-0.004534200765192509,
-0.04559807851910591,
0.01458714623004198,
0.05312122777104378,
0.09041911363601685,
-0.048353035002946854,
-0.024370776489377022,
0.005090489983558655,
-0.0002817319182213396,
-0.0472227968275547,
-0.021297939121723175,
-0.00991608016192913,
0.0019746068865060806,
0.02087409980595112,
-0.023664377629756927,
-0.04930667206645012,
0.02592485584318638,
0.0030816670041531324,
0.013368607498705387,
0.007580547593533993,
-0.015549615025520325,
-0.015964625403285027,
-0.02981005236506462,
0.013377437368035316,
0.03743916377425194,
0.013200837187469006,
-0.002730674808844924,
-0.005739494692534208,
-0.024035237729549408,
-0.04478571563959122,
0.040370721369981766,
-0.07770392298698425,
0.01067546010017395,
0.02553633600473404,
-0.03977028280496597,
0.017995523288846016,
0.03800428286194801,
0.041253719478845596,
0.005969074554741383,
0.0012428213376551867,
0.049236033111810684,
-0.046198517084121704,
0.006794678512960672,
0.0035584867000579834,
-0.027602553367614746,
0.0019790218211710453,
0.04337291792035103,
0.0066666435450315475,
0.019743861630558968,
0.034931447356939316,
0.01011916995048523,
-0.002651205053552985,
0.014357566833496094,
0.041395001113414764,
-0.02539505623281002,
0.08102400600910187,
-0.0899246335029602,
-0.0015905022155493498,
0.01882554218173027,
0.014701936393976212,
-0.022074978798627853,
0.06830881536006927,
0.021138999611139297,
0.013863086700439453,
-0.01857830211520195,
-0.047328755259513855,
0.013580527156591415,
0.03056943044066429,
-0.004693140741437674,
-0.006503288634121418,
0.04347888007760048,
-0.012229538522660732,
-0.06965097039937973,
0.017642322927713394,
0.04199543967843056,
-0.0015364185674116015,
0.003969081211835146,
0.005395124666392803,
-0.03969964385032654,
0.050119031220674515,
0.04881219193339348,
0.00716995308175683,
0.01256507821381092,
0.0813065618276596,
-0.07233528792858124,
-0.003935968969017267,
0.008105932734906673,
-0.009518731385469437,
-0.026242734864354134,
-0.05778346583247185,
0.04524487629532814,
0.035337626934051514,
0.0029094822239130735,
-0.03994688391685486,
-0.032935868948698044,
0.016847623512148857,
0.021651139482855797,
0.0177571140229702,
0.060962263494729996,
-0.0017108109313994646,
0.01896682195365429,
-0.04944795370101929,
0.06675473600625992,
-0.04005284234881401,
-0.04616319760680199,
0.002666657557711005,
-0.013960217125713825,
-0.023452457040548325,
-0.03046347200870514,
0.07297105342149734,
-0.023787997663021088,
0.027496593073010445,
0.0019977856427431107,
-0.0015496634878218174,
0.019108101725578308,
-0.06537725776433945,
0.05633534491062164,
0.04174819961190224,
0.012176558375358582,
0.010578329674899578,
0.032158829271793365,
-0.023028617724776268,
0.03743916377425194,
-0.018984481692314148,
-0.031893931329250336,
0.004843250382691622,
-0.03081667050719261,
0.004706385545432568,
-0.024158857762813568,
-0.048211753368377686,
0.035955727100372314,
-0.018860861659049988,
-0.08914759755134583,
0.02313457801938057,
0.03599104657769203,
-0.008618071675300598,
-0.016662193462252617,
-0.02627805434167385,
-0.05220291018486023,
-0.003236191812902689,
0.01907278224825859,
-0.048741552978754044,
0.021580498665571213,
0.01578802429139614,
-0.011929318308830261,
-0.006927128415554762,
0.009183191694319248,
-0.01623835414648056,
0.061739303171634674,
0.0066843037493526936,
-0.009607031010091305,
0.01958492211997509,
-0.009686500765383244,
-0.018366383388638496,
0.03171733021736145,
0.046940237283706665,
0.009986720979213715,
0.03371290862560272,
0.0472227968275547,
-0.006578343920409679,
0.01066663023084402,
0.00044039584463462234,
0.0381808839738369,
0.03761576488614082,
0.033659927546978,
-0.041006479412317276,
-0.04199543967843056,
-0.05803070589900017,
0.0662955790758133,
0.012785827741026878,
0.06636621803045273,
-0.05449870973825455,
-0.05160247161984444,
0.029103651642799377,
0.026701895520091057,
-0.030145591124892235,
-0.010719609446823597,
-0.00409049354493618,
0.010128000751137733,
-0.012538587674498558,
-0.01100216992199421,
0.0016423783963546157,
0.01238847803324461,
-0.010595990344882011,
0.08646328002214432,
-0.05601746588945389,
0.04347888007760048,
-0.013368607498705387,
-0.005103735253214836,
-0.08914759755134583,
0.04464443773031235,
-0.01244145818054676,
-0.025183135643601418,
0.002280345419421792,
-0.020450260490179062,
-0.0017516495427116752,
-0.002949217101559043,
-0.005050755105912685,
0.008070612326264381,
0.022551799193024635,
-0.01884320192039013,
0.03627360612154007,
-0.027973413467407227,
-0.01433990616351366,
0.0334656685590744,
0.027249354869127274,
-0.07325360924005508,
0.0015573897399008274,
-0.038993243128061295,
0.047964513301849365,
-0.0021942530293017626,
-0.03498442843556404,
-0.025094836950302124,
-0.02845023386180401,
-0.01847234182059765,
-0.045315515249967575,
0.011152279563248158,
-0.006763773504644632,
0.017501043155789375,
0.032688628882169724,
0.004483428318053484,
0.06583641469478607,
-0.0006539712776429951,
0.03072836995124817,
0.0039138938300311565,
0.10687822103500366,
-0.033041827380657196,
0.01023396011441946,
0.020185360684990883,
0.06025586277246475,
-0.033289067447185516,
-0.020891759544610977,
-0.04482103884220123,
0.001089952071197331,
0.024459077045321465,
0.006829998455941677,
0.00012534449342638254,
-0.03441930562257767,
-0.03486080840229988,
-0.04344356060028076,
0.005757154431194067,
0.057077065110206604,
-0.022904997691512108,
0.005267090164124966,
-0.019991101697087288,
-0.014887365512549877,
0.007403947878628969,
0.06163334101438522,
-0.030233891680836678,
0.03740384429693222,
0.029598131775856018,
-0.0002869747404474765,
-0.011205259710550308,
-0.0601499043405056,
0.0020662180613726377,
0.05559362843632698,
-0.04344356060028076,
-0.019249381497502327,
0.002344362670555711,
0.027973413467407227,
-0.0724765732884407,
-0.008971271105110645,
0.00024006539024412632,
0.07028673589229584,
0.0648827776312828,
0.011558459140360355,
0.012918277643620968,
0.01238847803324461,
-0.028785772621631622,
0.04093584045767784,
-0.04785855486989021,
-0.01023396011441946,
0.028874073177576065,
-0.03175264969468117,
-0.010887379758059978,
0.01441054604947567,
-0.010030870325863361,
-0.06806157529354095,
0.025836555287241936,
-0.012088258750736713,
0.030110271647572517,
0.09211447089910507,
0.0017803470836952329,
-0.012097088620066643,
0.05672386661171913,
-0.05117863044142723,
0.0028498799074441195,
-0.01777477376163006,
-0.007642357610166073,
-0.007545227650552988,
-0.032035209238529205,
0.01958492211997509,
0.003971288911998272,
0.0015386260347440839,
-0.015399505384266376,
0.05195567011833191,
0.06255166232585907,
0.04160692170262337,
0.0014448073925450444,
0.02324053831398487,
0.011779208667576313,
0.000443431141320616,
0.02668423391878605,
-0.005293579772114754,
-0.0011434839107096195,
-0.049094755202531815,
0.01730678416788578,
0.021827738732099533,
-0.03579678758978844,
0.0558408685028553,
0.015381845645606518,
0.0000033112469282059465,
-0.0472227968275547,
0.028609173372387886,
-0.029757071286439896,
0.028008732944726944,
-0.04054732248187065,
-0.08123592287302017,
0.04789387434720993,
-0.004033098462969065,
0.01882554218173027,
-0.009615860879421234,
0.013421587646007538,
0.004077248740941286,
-0.05068415030837059,
0.03373056650161743,
-0.00625163409858942,
-0.010392900556325912,
0.018666602671146393,
-0.06707261502742767,
-0.051002033054828644,
-0.009474581107497215,
0.02920961193740368,
-0.011832188814878464,
0.0009094891138374805,
0.07445448637008667,
0.020291320979595184,
0.029350891709327698,
0.03616764396429062,
0.03648552671074867,
-0.04958923161029816,
-0.034172069281339645,
0.01049003005027771,
0.018295742571353912,
-0.04888283461332321,
0.05192035064101219,
0.004874155391007662,
-0.0017980070551857352,
-0.02414119616150856,
-0.005995564162731171,
-0.014490015804767609,
-0.01806616224348545,
-0.043019719421863556,
0.013350947760045528,
-0.004843250382691622,
0.05026031285524368,
-0.046587035059928894,
0.01308604795485735,
-0.013041897676885128,
0.010392900556325912,
0.0016876321751624346,
-0.033430349081754684,
0.014569486491382122,
-0.056935787200927734,
-0.007735072635114193,
0.043266959488391876,
0.01831340231001377,
0.006679888814687729,
-0.09140807390213013,
-0.07011013478040695,
-0.005253844894468784,
0.025836555287241936,
-0.006136844400316477,
-0.00204524677246809,
-0.0014701936161145568,
0.024088216945528984,
-0.059584785252809525,
-0.01048120018094778,
0.0071037281304597855,
-0.01447235606610775,
-0.04400867968797684,
-0.05432210862636566,
0.05622938647866249,
0.010083850473165512,
-0.05057819187641144,
-0.04362015798687935,
-0.028891732916235924,
-0.012008788995444775,
-0.011646758764982224,
0.04690491408109665,
0.03842812404036522,
0.022710738703608513,
0.02401757799088955,
-0.0014856461202725768,
-0.08102400600910187,
-0.015841005370020866,
-0.05573490634560585,
-0.006657813675701618,
0.04489167779684067,
0.03258267045021057,
-0.0831432044506073,
-0.055664267390966415,
0.01232666801661253,
-0.08829991519451141,
-0.019549600780010223,
0.04446783661842346,
0.02742595411837101,
-0.032794587314128876,
-0.0876641571521759,
0.018013183027505875,
0.013924896717071533,
0.03761576488614082,
0.019302362576127052,
-0.0106224799528718,
0.058913704007864,
-0.04616319760680199,
-0.017845412716269493,
0.0340837687253952,
-0.05463998764753342,
0.026013154536485672,
-0.028485553339123726,
0.03159371018409729,
0.03464888781309128,
0.006640153471380472,
-0.007951407693326473,
-0.02668423391878605,
-0.03249436989426613,
-0.02539505623281002,
-0.01441054604947567,
-0.019637901335954666,
-0.02099771983921528,
0.018931502476334572,
0.003631334053352475,
-0.023187557235360146,
0.01225602813065052,
0.0066357385367155075,
0.025236116722226143,
0.03627360612154007,
0.06460022181272507,
-0.057077065110206604,
0.0003821730788331479,
-0.028891732916235924,
0.06594237685203552,
-0.06004394218325615,
0.0053642201237380505,
0.06431765854358673,
0.005386294797062874,
-0.050366271287202835,
-0.05142587050795555,
0.04785855486989021,
-0.014260436408221722,
0.03637956455349922,
-0.03434866666793823,
0.016467934474349022,
-0.023964596912264824,
-0.033306729048490524,
0.0013421587646007538,
-0.02756723389029503,
0.012361988425254822,
0.019267041236162186,
0.020538561046123505,
-0.04241928085684776,
-0.02668423391878605,
-0.015761535614728928,
0.026754874736070633,
0.0246356762945652,
0.010331090539693832,
-0.03980560228228569,
0.046940237283706665,
-0.016776984557509422,
0.00422956608235836,
-0.046445757150650024,
-0.01625601388514042,
0.015611425042152405,
-0.04008816182613373,
-0.003593806643038988,
0.009589371271431446,
0.019037462770938873,
0.03871068358421326,
-0.02869747206568718,
0.07579664885997772,
0.0899246335029602,
-0.03056943044066429,
-0.00013548518472816795,
-0.00846796203404665,
0.010030870325863361,
-0.001299112569540739,
0.0394170843064785,
0.025483354926109314,
0.026966795325279236,
-0.04856495559215546,
0.02677253447473049,
0.03673276677727699,
-0.00524942995980382,
-0.08257807791233063,
-0.03302416950464249,
0.028097033500671387,
-0.029262593016028404,
0.028662152588367462,
0.007752732839435339,
-0.010657799430191517,
-0.023152237758040428
]
|
44,022 | jsons.deserializers.default_defaultdict | default_defaultdict_deserializer |
Deserialize a defaultdict.
:param obj: the dict that needs deserializing.
:param key_transformer: a function that transforms the keys to a different
style (e.g. PascalCase).
:param cls: not used.
:param kwargs: any keyword arguments.
:return: a deserialized defaultdict instance.
| def default_defaultdict_deserializer(
obj: dict,
cls: type,
*,
key_transformer: Optional[Callable[[str], str]] = None,
**kwargs) -> dict:
"""
Deserialize a defaultdict.
:param obj: the dict that needs deserializing.
:param key_transformer: a function that transforms the keys to a different
style (e.g. PascalCase).
:param cls: not used.
:param kwargs: any keyword arguments.
:return: a deserialized defaultdict instance.
"""
args = get_args(cls)
default_factory = None
cls_ = Dict
if args:
key, value = get_args(cls)
cls_ = Dict[key, value]
default_factory = value
loaded = load(obj, cls_, key_transformer=key_transformer, **kwargs)
return defaultdict(default_factory, loaded)
| (obj: dict, cls: type, *, key_transformer: Optional[Callable[[str], str]] = None, **kwargs) -> dict | [
-0.002089755143970251,
0.017837554216384888,
0.02483450248837471,
-0.05616217106580734,
-0.031514257192611694,
-0.007192863151431084,
0.041272666305303574,
0.014404384419322014,
-0.02981632947921753,
-0.03448096290230751,
-0.019834015518426895,
0.0330255962908268,
-0.00858292356133461,
-0.008732191286981106,
-0.0012734446208924055,
0.04955705255270004,
-0.06840216368436813,
0.013406152836978436,
0.019180968403816223,
0.030599987134337425,
0.021419990807771683,
-0.0312343779951334,
-0.002036111894994974,
0.06750655919313431,
-0.010868593119084835,
-0.017753589898347855,
-0.04728071391582489,
0.016634078696370125,
0.0002606363268569112,
0.01234261691570282,
-0.004440729971975088,
-0.01610231027007103,
-0.01185749564319849,
0.0314955972135067,
-0.01129773911088705,
-0.04463120177388191,
0.03421974182128906,
0.052243880927562714,
-0.021457308903336525,
-0.020151210948824883,
0.047355346381664276,
0.031103767454624176,
-0.07549241185188293,
-0.022166332229971886,
0.04093681275844574,
0.0584011971950531,
0.003727041184902191,
0.0011801519431173801,
0.013098287396132946,
-0.06414802372455597,
0.006521156057715416,
-0.02884608507156372,
0.04739266261458397,
0.03315620496869087,
-0.0003136965096928179,
-0.024461330845952034,
-0.012333287857472897,
-0.0018285358091816306,
-0.010709995403885841,
0.023882918059825897,
0.009963654913008213,
0.037503644824028015,
0.011969446204602718,
-0.004869875963777304,
-0.02666303887963295,
-0.05194534361362457,
-0.021345356479287148,
-0.010691337287425995,
-0.005728168413043022,
-0.009562496095895767,
-0.047915101051330566,
0.0011562457075342536,
-0.016550114378333092,
-0.007048259489238262,
0.046347785741090775,
-0.005271034315228462,
-0.05869973078370094,
-0.050303395837545395,
-0.0015171716222539544,
0.044369980692863464,
0.030805232003331184,
-0.04769119992852211,
-0.03379059582948685,
-0.01721249334514141,
0.03884705901145935,
-0.04224291071295738,
-0.006367222871631384,
0.01990864984691143,
0.034667547792196274,
0.0025702123530209064,
-0.04478047043085098,
0.02804376929998398,
-0.02194242924451828,
0.02072962559759617,
-0.04589997977018356,
-0.02834230475127697,
0.007841247133910656,
0.052393149584531784,
0.04138461872935295,
-0.0228566974401474,
-0.021289382129907608,
-0.022483527660369873,
-0.03463023155927658,
-0.0010862762574106455,
-0.03175681456923485,
-0.09015801548957825,
0.025356940925121307,
-0.005840119440108538,
-0.03843656927347183,
-0.03244718164205551,
-0.009231307543814182,
-0.031514257192611694,
-0.034760840237140656,
0.0847843587398529,
0.012090726755559444,
-0.011176458559930325,
0.0162515789270401,
0.014031213708221912,
-0.026084624230861664,
-0.011512312106788158,
-0.0477285161614418,
0.008578258566558361,
-0.078216552734375,
0.02763328142464161,
0.0023393130395561457,
-0.034313034266233444,
0.044407300651073456,
-0.02350974641740322,
0.1244150698184967,
0.11389166116714478,
0.0299655981361866,
0.023808283731341362,
-0.09769605845212936,
-0.013247556053102016,
0.0776941180229187,
0.03067462146282196,
0.02362169697880745,
0.06668557971715927,
0.00744008831679821,
0.045228272676467896,
0.06343899667263031,
-0.051721442490816116,
0.017753589898347855,
-0.008228410966694355,
0.0020687642972916365,
-0.013163592666387558,
0.027390720322728157,
0.01579444482922554,
-0.031364988535642624,
-0.01788420043885708,
0.022987307980656624,
0.034145109355449677,
-0.005028473678976297,
0.04530290886759758,
0.03690657019615173,
-0.01188548281788826,
-0.034163765609264374,
-0.0523185171186924,
-0.015150725841522217,
-0.007510058116167784,
0.0034424986224621534,
0.01330353133380413,
0.011036519892513752,
-0.03854852169752121,
0.042280226945877075,
0.028379622846841812,
-0.005802802741527557,
-0.037149131298065186,
0.019442187622189522,
-0.02076694369316101,
-0.12053409963846207,
0.0026308526284992695,
-0.057020463049411774,
0.031364988535642624,
0.08082874864339828,
0.022259624674916267,
-0.017287127673625946,
0.024256087839603424,
0.011652251705527306,
0.009609142318367958,
0.06306582689285278,
0.04302656650543213,
0.0462358333170414,
-0.04067559167742729,
0.011773532256484032,
0.013723348267376423,
0.01097121462225914,
0.036850593984127045,
-0.03179413452744484,
0.02143864892423153,
0.01940486952662468,
0.006768381223082542,
-0.006908320356160402,
-0.016876639798283577,
-0.014283103868365288,
0.021550601348280907,
-0.04955705255270004,
-0.036029618233442307,
-0.032335229218006134,
0.015822432935237885,
0.02020718716084957,
0.025730110704898834,
0.03108510933816433,
0.019889991730451584,
-0.02082291804254055,
-0.017688285559415817,
0.007295484654605389,
0.017072554677724838,
-0.040862180292606354,
0.005933412350714207,
-0.0004935764009132981,
0.0033748613204807043,
-0.06205826625227928,
-0.019442187622189522,
0.006446521729230881,
-0.0441833958029747,
0.07444752752780914,
-0.018611881881952286,
-0.049743637442588806,
-0.029424499720335007,
0.061125341802835464,
0.038212668150663376,
-0.01726846769452095,
0.04037705808877945,
0.008816154673695564,
-0.022315600886940956,
-0.018276028335094452,
-0.04123535007238388,
-0.010346154682338238,
-0.047467298805713654,
-0.003850654000416398,
-0.08269459754228592,
-0.010812617838382721,
-0.005928747821599245,
0.06217021867632866,
-0.004058230202645063,
0.04201900586485863,
-0.035936325788497925,
-0.00007900720811448991,
0.004237818531692028,
0.06985753029584885,
-0.01265048235654831,
0.01615828648209572,
-0.04444461688399315,
0.0017049231100827456,
0.021774502471089363,
-0.002118909265846014,
0.022558161988854408,
-0.014460359700024128,
-0.037970107048749924,
0.017296455800533295,
0.023752307519316673,
0.018313346430659294,
-0.007710637059062719,
0.00797652080655098,
0.018705176189541817,
-0.06578997522592545,
0.009310605935752392,
-0.004270470701158047,
-0.04287729784846306,
0.01946084573864937,
0.03449961915612221,
-0.03763425350189209,
0.06866338849067688,
-0.015981029719114304,
0.01736176200211048,
0.003192940726876259,
-0.024871818721294403,
0.004722940269857645,
-0.02336047776043415,
0.12217605113983154,
0.0008810324361547828,
0.03955608233809471,
-0.030506694689393044,
-0.01234261691570282,
0.02651377022266388,
-0.044817786663770676,
-0.0716114342212677,
0.061274610459804535,
0.02016986906528473,
-0.050713881850242615,
-0.03550717979669571,
-0.00967444758862257,
0.014842859469354153,
0.04041437432169914,
0.03464888781309128,
-0.052803635597229004,
-0.0005947406170889735,
-0.01961011439561844,
-0.005266369786113501,
-0.01089658122509718,
-0.04687022417783737,
-0.03992925211787224,
0.02910730615258217,
-0.028827426955103874,
-0.06929777562618256,
-0.07649996876716614,
-0.0330255962908268,
0.028211696073412895,
-0.013797982595860958,
-0.01955413818359375,
-0.024909136816859245,
0.03636547178030014,
0.05302754044532776,
0.038623154163360596,
-0.02082291804254055,
-0.006231948733329773,
-0.020804259926080704,
-0.013228897005319595,
0.002810440957546234,
-0.029536452144384384,
0.022427551448345184,
0.05612485483288765,
-0.02819303795695305,
-0.03168218210339546,
-0.0069829546846449375,
0.011512312106788158,
0.01685798168182373,
0.03698120266199112,
0.03129035234451294,
-0.04966900497674942,
0.06276728957891464,
-0.1046370342373848,
0.004790577106177807,
0.02545023337006569,
-0.040003884583711624,
0.05519193038344383,
0.01193212904036045,
0.04474315419793129,
0.023192550987005234,
0.011642921715974808,
-0.03175681456923485,
-0.017492370679974556,
0.007300149649381638,
-0.03640279173851013,
-0.0034308370668441057,
0.036943886429071426,
-0.0008821985684335232,
-0.03737303242087364,
-0.01644749380648136,
-0.016009017825126648,
0.02016986906528473,
0.0008652893011458218,
-0.038884375244379044,
0.006441857200115919,
0.03869779035449028,
0.08523216098546982,
-0.06840216368436813,
0.022259624674916267,
-0.04205632582306862,
-0.01889176107943058,
-0.028920719400048256,
0.025562183931469917,
0.02194242924451828,
-0.015253347344696522,
-0.04153388738632202,
0.054520223289728165,
-0.05500534176826477,
0.01548657938838005,
-0.06993217021226883,
-0.046944860368967056,
-0.015299993567168713,
-0.06683485209941864,
-0.02199840545654297,
0.03780217841267586,
0.046049248427152634,
-0.02371499128639698,
-0.024349380284547806,
0.03367864340543747,
-0.032633766531944275,
0.012809080071747303,
0.03285767138004303,
-0.0365707166492939,
0.0031253036577254534,
0.004743930883705616,
0.00962780136615038,
-0.03873510658740997,
0.06037899851799011,
0.005760821048170328,
0.0482509545981884,
-0.0022949990816414356,
0.041571203619241714,
0.007822588086128235,
0.017800236120820045,
0.010905910283327103,
-0.03421974182128906,
0.024013526737689972,
0.050713881850242615,
-0.016634078696370125,
-0.025263648480176926,
0.015813102945685387,
-0.0033258828334510326,
0.011409690603613853,
-0.004303123336285353,
0.029088646173477173,
-0.025170356035232544,
-0.002661172766238451,
-0.016746029257774353,
0.0010145575506612659,
0.02494645304977894,
0.010327495634555817,
0.009870361536741257,
0.011167129501700401,
-0.03449961915612221,
0.0014250451931729913,
0.052393149584531784,
0.010084934532642365,
-0.09336727857589722,
0.020431090146303177,
-0.01964743062853813,
0.08605313301086426,
0.023397795855998993,
0.022576820105314255,
-0.003640745533630252,
0.04869876056909561,
0.01002895925194025,
-0.0035894345492124557,
0.0035427880939096212,
-0.028827426955103874,
-0.0008746185339987278,
-0.016111640259623528,
0.0335107184946537,
0.04250412806868553,
-0.046049248427152634,
0.05164681002497673,
0.002483916701748967,
-0.04175778850913048,
-0.07172338664531708,
0.012426580302417278,
-0.0685514360666275,
0.04145925119519234,
-0.04362364113330841,
0.010224874131381512,
-0.025711452588438988,
0.013144933618605137,
0.016167614609003067,
0.02559950202703476,
-0.01502944529056549,
-0.015775786712765694,
0.018919749185442924,
-0.04347437247633934,
-0.02645779401063919,
-0.004958503879606724,
-0.0076639908365905285,
-0.029275232926011086,
0.007048259489238262,
0.023173892870545387,
0.011782861314713955,
0.037970107048749924,
0.015094749629497528,
0.043399740010499954,
0.007346795871853828,
0.03442498669028282,
0.04854949191212654,
-0.0604536347091198,
-0.05205729603767395,
0.0517960749566555,
0.03653340041637421,
0.03737303242087364,
0.01129773911088705,
0.04343705624341965,
-0.06638704985380173,
0.0007480903877876699,
0.006796369329094887,
-0.014861518517136574,
0.04392217844724655,
0.02433072216808796,
0.028734134510159492,
-0.04582534730434418,
-0.04642242193222046,
0.02108413726091385,
0.030152183026075363,
-0.0004982410464435816,
-0.04347437247633934,
-0.06004314497113228,
0.012230665422976017,
0.050004858523607254,
-0.017986822873353958,
-0.0218491367995739,
0.019684748724102974,
0.05560241639614105,
0.00571417436003685,
0.010542068630456924,
-0.01670871302485466,
-0.030488036572933197,
0.004907193128019571,
-0.02239023521542549,
-0.0052383821457624435,
-0.03433169424533844,
0.09560630470514297,
-0.010000971145927906,
0.056908514350652695,
-0.03420108184218407,
0.025021087378263474,
0.05336339399218559,
0.00030553340911865234,
0.03185011073946953,
0.013686031103134155,
0.0023603038862347603,
-0.06940972805023193,
0.015971701592206955,
-0.015318652614951134,
-0.06287924200296402,
0.05541583150625229,
-0.07642533630132675,
-0.061125341802835464,
-0.07343997061252594,
0.03265242651104927,
0.006446521729230881,
-0.017249809578061104,
0.0023229869548231363,
-0.011017861776053905,
-0.026495112106204033,
0.03421974182128906,
-0.011083166114985943,
-0.020860236138105392,
0.0036897240206599236,
-0.026233891025185585,
0.05504266172647476,
-0.017156517133116722,
0.0375969372689724,
0.08217216283082962,
0.008289051242172718,
0.041832420974969864,
-0.012053409591317177,
0.056609977036714554,
0.026476452127099037,
0.0008612077217549086,
0.021625235676765442,
0.0066004544496536255,
-0.009403898380696774,
-0.07228314131498337,
0.004790577106177807,
0.03362267091870308,
0.005550912581384182,
0.026998890563845634,
-0.015775786712765694,
0.01310761645436287,
-0.019013041630387306,
-0.03731705620884895,
0.04145925119519234,
0.0039719343185424805,
0.006231948733329773,
0.022483527660369873,
0.018574565649032593,
-0.016540786251425743,
0.025618160143494606,
0.07381314039230347,
-0.01884511485695839,
0.04138461872935295,
-0.015094749629497528,
-0.019423529505729675,
-0.0062692658975720406,
0.03345474228262901,
-0.048586808145046234,
-0.022427551448345184,
-0.015813102945685387,
-0.030245475471019745,
0.0225954782217741,
-0.005947405938059092,
0.007780606392771006,
0.05560241639614105,
0.013630055822432041,
0.03393986448645592,
0.03436901047825813,
0.027763891965150833,
0.019162308424711227,
0.04929583519697189,
-0.02737206220626831,
0.02875279262661934,
-0.05470680817961693,
0.00625993637368083,
0.021550601348280907,
0.017380420118570328,
-0.029125964269042015,
0.04631046950817108,
-0.019367553293704987,
0.017352432012557983,
-0.04321315139532089,
-0.036290839314460754,
0.010000971145927906,
0.011241763830184937,
-0.026942916214466095,
-0.033342789858579636,
-0.01676468923687935,
-0.05903558433055878,
-0.006245942786335945,
-0.043810226023197174,
-0.04929583519697189,
-0.0071788690984249115,
-0.043399740010499954,
0.0705665573477745,
-0.03291364386677742,
-0.0071462164632976055,
0.0071462164632976055,
-0.03802608326077461,
0.05328875780105591,
-0.005457619670778513,
0.07224582135677338,
-0.0261592585593462,
-0.03895900771021843,
-0.0026215233374387026,
0.011307068169116974,
0.06541680544614792,
0.02630852535367012,
0.005508930888026953,
-0.00924530066549778,
-0.03472352400422096,
0.03892169147729874,
-0.05250510200858116,
-0.05813997611403465,
-0.025767428800463676,
0.06459582597017288,
0.06284192204475403,
-0.013863286934792995,
-0.04754193127155304,
-0.011484324932098389,
-0.0594087578356266,
-0.020001942291855812,
-0.01644749380648136,
0.02666303887963295,
0.000973741989582777,
0.014292432926595211,
0.030842548236250877,
-0.01737109012901783,
0.029275232926011086,
-0.017846882343292236,
0.03138364478945732,
-0.005653534084558487,
-0.01615828648209572,
0.027950476855039597,
0.010700666345655918,
0.027558647096157074,
0.004459388554096222,
-0.014469689689576626,
0.04589997977018356,
0.028211696073412895,
0.04287729784846306,
0.024498648941516876,
0.0019393208203837276,
-0.03576840087771416,
-0.054520223289728165,
0.014861518517136574,
0.03194340318441391,
-0.011652251705527306,
-0.07045460492372513,
0.02630852535367012,
0.022110356017947197,
0.03992925211787224,
0.01802413910627365,
-0.0020629335194826126,
-0.018210723996162415,
-0.03985461965203285,
-0.03132766857743263,
-0.04119803383946419,
-0.04052632674574852,
0.004562010522931814,
0.004230821505188942,
0.0011976442765444517,
-0.0002820644876919687,
-0.045526809990406036,
0.00019766378682106733,
-0.024591941386461258,
-0.01808011531829834,
0.051273636519908905,
-0.002064099768176675,
-0.07523118704557419,
0.00794853363186121,
0.011447007767856121,
-0.05806534364819527,
0.01781889609992504,
-0.004809235688298941,
0.002281005261465907,
-0.0008413830655626953,
-0.08463508635759354,
-0.05048998072743416,
0.060565583407878876,
-0.027614623308181763,
0.030861206352710724,
-0.012323958799242973,
0.05321412533521652,
0.01157761737704277,
-0.06489436328411102,
0.051982663571834564,
-0.03421974182128906,
0.029946938157081604,
-0.003507803427055478,
-0.047915101051330566,
0.0624687559902668,
-0.01488017663359642,
0.04235485941171646,
0.04026510566473007,
-0.054221685975790024,
0.013359506614506245,
-0.06310314685106277,
-0.05019144341349602,
-0.05631143972277641,
0.027465354651212692,
-0.0047742510214447975,
-0.03203669562935829,
0.016111640259623528,
-0.0467209555208683,
0.018425296992063522,
0.0014646945055574179,
-0.0012058074353262782,
-0.03828730061650276,
-0.04377290979027748,
0.055938269942998886,
0.05209461227059364,
-0.005924082826822996,
0.016550114378333092,
0.08120191842317581,
-0.006301918067038059,
-0.026830965653061867,
0.026551086455583572,
0.010691337287425995,
-0.007290820125490427,
-0.021662551909685135,
-0.04854949191212654,
-0.02524499036371708,
0.007873899303376675,
-0.03647742420434952,
0.01061670295894146,
0.008004508912563324,
0.039182912558317184,
-0.04119803383946419,
-0.01221200730651617,
-0.06149851158261299,
-0.03338010981678963,
0.009711764752864838,
0.08403801172971725,
-0.000008290655387099832,
-0.04560144618153572,
-0.03783949837088585,
0.008470972068607807,
-0.0302268173545599,
0.0017457386711612344,
-0.025207672268152237,
0.003948611207306385,
0.035320594906806946,
-0.03343608230352402,
0.014544323086738586,
0.023397795855998993,
0.11083166301250458,
0.014637616463005543,
-0.061834365129470825,
0.09941264241933823,
0.0543336346745491,
0.003234922420233488,
0.024237429723143578,
-0.03179413452744484,
0.0231179166585207,
-0.014283103868365288,
0.04545217752456665,
0.016746029257774353,
-0.08090338110923767,
0.005271034315228462,
-0.0031766146421432495,
0.0680289939045906,
0.01330353133380413,
-0.00967444758862257,
-0.07399972528219223,
0.01893840730190277,
-0.04989290609955788,
0.01970340684056282,
0.018807796761393547,
0.04078754410147667,
-0.017902858555316925
]
|
44,023 | jsons.deserializers.default_dict | default_dict_deserializer |
Deserialize a dict by deserializing all instances of that dict.
:param obj: the dict that needs deserializing.
:param key_transformer: a function that transforms the keys to a different
style (e.g. PascalCase).
:param cls: not used.
:param kwargs: any keyword arguments.
:return: a deserialized dict instance.
| def default_dict_deserializer(
obj: dict,
cls: type,
*,
key_transformer: Optional[Callable[[str], str]] = None,
**kwargs) -> dict:
"""
Deserialize a dict by deserializing all instances of that dict.
:param obj: the dict that needs deserializing.
:param key_transformer: a function that transforms the keys to a different
style (e.g. PascalCase).
:param cls: not used.
:param kwargs: any keyword arguments.
:return: a deserialized dict instance.
"""
cls_args = get_args(cls)
obj_, keys_were_hashed = _load_hashed_keys(
obj, cls, cls_args, key_transformer=key_transformer, **kwargs)
return _deserialize(obj_, cls_args, key_transformer, keys_were_hashed, kwargs)
| (obj: dict, cls: type, *, key_transformer: Optional[Callable[[str], str]] = None, **kwargs) -> dict | [
0.009484708309173584,
-0.01428655069321394,
-0.004594824742525816,
-0.05474765971302986,
-0.04519156739115715,
-0.014762450940907001,
0.04187929630279541,
0.004756631329655647,
-0.03146658092737198,
-0.03597811982035637,
0.005977317690849304,
0.02446131594479084,
-0.0028435089625418186,
-0.007966583594679832,
-0.015419194474816322,
0.04545807093381882,
-0.05231104791164398,
0.016323406249284744,
0.008761338889598846,
-0.01159295067191124,
0.029505867511034012,
-0.017237136140465736,
-0.012639932334423065,
0.058592941612005234,
-0.01557148341089487,
-0.017912916839122772,
-0.019683267921209335,
0.022462530061602592,
0.0037929315585643053,
0.018141349777579308,
0.01411522552371025,
0.0007566827116534114,
0.0029029964935034513,
0.029905622825026512,
-0.026345884427428246,
-0.06339002400636673,
0.0438971146941185,
0.044506270438432693,
-0.019321583211421967,
0.008190257474780083,
0.030781282112002373,
0.05604211241006851,
-0.04774239659309387,
0.004240278620272875,
0.045001205056905746,
0.021472657099366188,
0.0051825628615915775,
-0.0060915336944162846,
0.004468711093068123,
-0.06415146589279175,
0.028896713629364967,
-0.037082210183143616,
0.04602915048599243,
0.043668683618307114,
0.05132117122411728,
-0.03300849720835686,
-0.014629199169576168,
0.006286653224378824,
-0.01079343631863594,
0.01493377611041069,
-0.008813687600195408,
0.021396512165665627,
-0.013962937518954277,
0.0007834521238692105,
-0.003133808495476842,
-0.08832723647356033,
0.007543032057583332,
-0.007595381233841181,
-0.008813687600195408,
-0.01428655069321394,
-0.04682866483926773,
0.020102061331272125,
-0.01569521799683571,
-0.007733392529189587,
0.0031004955526441336,
-0.014391248114407063,
-0.042488448321819305,
-0.02607937902212143,
-0.03439813107252121,
0.024270955473184586,
0.05170189216732979,
-0.05185418203473091,
-0.024937216192483902,
-0.019778449088335037,
0.012554270215332508,
-0.02069217897951603,
0.007971342653036118,
0.0020094923675060272,
0.0005151628865860403,
0.005472862161695957,
-0.05851679667830467,
0.03719642758369446,
-0.024366134777665138,
0.023319153115153313,
-0.034112587571144104,
-0.02855406515300274,
-0.017094366252422333,
0.04321181774139404,
0.016037866473197937,
-0.008404413238167763,
-0.018322192132472992,
0.010374643839895725,
-0.03841473534703255,
0.020977718755602837,
-0.0017584544839337468,
-0.09974886476993561,
-0.0013848721282556653,
-0.018426889553666115,
-0.031656939536333084,
-0.031714048236608505,
0.0033051329664885998,
0.0027816419024020433,
-0.028801532462239265,
0.07389792054891586,
0.009917777962982655,
-0.018255565315485,
-0.0066102659329771996,
0.03190440684556961,
-0.03854798898100853,
-0.028306595981121063,
-0.04115592688322067,
0.03245645388960838,
-0.05044551566243172,
0.02819238044321537,
-0.019359655678272247,
-0.021453620865941048,
0.058592941612005234,
0.003988050855696201,
0.07903765141963959,
0.10683027654886246,
0.019235922023653984,
0.011231265030801296,
-0.07168973982334137,
-0.001848875661380589,
0.07256539911031723,
0.05109274014830589,
0.01909315027296543,
0.07119479775428772,
0.01698015071451664,
0.01552389282733202,
0.06826324760913849,
-0.03068610094487667,
-0.00331465108320117,
-0.013410892337560654,
-0.0026460099034011364,
-0.01120271161198616,
0.0014086671872064471,
0.01863628625869751,
-0.03443620353937149,
-0.039975691586732864,
0.02366180159151554,
0.041650861501693726,
-0.012620896100997925,
0.05006479471921921,
0.02326204441487789,
-0.019588088616728783,
-0.02522275783121586,
-0.056917767971754074,
-0.017237136140465736,
0.007010022643953562,
-0.0004848242097068578,
0.009955850429832935,
0.0034312468487769365,
-0.07146130502223969,
0.027849730104207993,
0.01738942600786686,
0.02027338556945324,
-0.0397091843187809,
0.030933570116758347,
0.01654232107102871,
-0.10705870389938354,
0.007138516288250685,
-0.04446819797158241,
0.01739894412457943,
0.06955770403146744,
0.049455638974905014,
-0.016827862709760666,
-0.016723163425922394,
0.0047851852141320705,
0.01830315589904785,
0.054899949580430984,
0.009636997245252132,
0.05219683051109314,
-0.04793275520205498,
0.047818541526794434,
-0.0023081202525645494,
0.007795259822160006,
0.03738678991794586,
-0.025889018550515175,
0.013715469278395176,
0.010422233492136002,
0.023547586053609848,
0.003999948501586914,
-0.02733575738966465,
-0.02729768492281437,
0.022500602528452873,
-0.05295827239751816,
-0.052349116653203964,
-0.04321181774139404,
0.002325966488569975,
0.0033741386141628027,
0.03276102989912033,
0.028915749862790108,
0.013639325276017189,
-0.0514734610915184,
-0.0054109953343868256,
0.02408059500157833,
0.014733897522091866,
-0.014676788821816444,
-0.012944509275257587,
-0.005877378396689892,
-0.011078977026045322,
-0.04770432412624359,
-0.02440420724451542,
0.018464962020516396,
-0.009132541716098785,
0.0804082453250885,
-0.01649473048746586,
-0.03190440684556961,
-0.020102061331272125,
0.08589062839746475,
0.028439847752451897,
-0.03306560590863228,
0.021358439698815346,
0.003835762618109584,
-0.019664231687784195,
-0.03268488496541977,
-0.03519764542579651,
-0.019226403906941414,
-0.06342809647321701,
-0.013791613280773163,
-0.053072489798069,
-0.024309026077389717,
0.0067530362866818905,
0.06571242213249207,
0.03198055177927017,
0.019331101328134537,
-0.054938022047281265,
0.03563547134399414,
-0.003726305440068245,
0.07047142833471298,
-0.015190762467682362,
0.001836978131905198,
-0.05314863100647926,
-0.012573306448757648,
0.01909315027296543,
0.01945483684539795,
0.03434102237224579,
-0.02109193615615368,
-0.03314175084233284,
0.017256172373890877,
-0.008204534649848938,
0.008028451353311539,
-0.001571663306094706,
-0.0038191061466932297,
0.012620896100997925,
-0.04762817919254303,
0.015190762467682362,
-0.009546575136482716,
-0.03019116446375847,
0.01222113985568285,
0.023452404886484146,
-0.08436774462461472,
0.05391007289290428,
0.007985619828104973,
0.019664231687784195,
0.008352063596248627,
-0.001494329422712326,
-0.023928306996822357,
-0.02438517101109028,
0.1177188903093338,
-0.017703520134091377,
0.016428105533123016,
-0.005905932281166315,
0.019645197317004204,
0.028382740914821625,
-0.024232883006334305,
-0.06053461506962776,
0.06228593364357948,
0.0285350289195776,
-0.02863020822405815,
-0.04755203425884247,
0.015847506001591682,
-0.007071889936923981,
0.04896070435643196,
-0.00509690074250102,
-0.03220898658037186,
-0.006372315343469381,
0.0017846290720626712,
-0.014743415638804436,
0.008870796300470829,
-0.0364159494638443,
-0.05109274014830589,
0.022938432171940804,
-0.029239362105727196,
-0.0813981220126152,
-0.10165247321128845,
-0.050331298261880875,
0.027126360684633255,
-0.03199958801269531,
0.0028839604929089546,
-0.000017902060790220276,
0.04682866483926773,
0.061181843280792236,
0.035825833678245544,
-0.009708382189273834,
0.005006479099392891,
-0.013991491869091988,
-0.02023531310260296,
-0.001885758014395833,
-0.019759412854909897,
0.03354150801897049,
0.045419998466968536,
-0.022709999233484268,
-0.021624945104122162,
-0.030590921640396118,
0.03024827316403389,
0.03694896027445793,
0.017684483900666237,
0.034226804971694946,
-0.06799674779176712,
0.08002752810716629,
-0.09533250331878662,
0.0032051936723291874,
0.02695503644645214,
-0.06102955341339111,
0.03576872497797012,
0.004057056736201048,
0.057450778782367706,
0.0029410687275230885,
0.018112795427441597,
-0.04465855658054352,
-0.0011719063622877002,
0.04378289729356766,
-0.01653280295431614,
0.006429423578083515,
0.03523571416735649,
0.03272295743227005,
-0.03742486238479614,
-0.026326848194003105,
0.0008381807710975409,
0.009427600540220737,
0.031314291059970856,
-0.03982340171933174,
-0.006472254637628794,
0.05314863100647926,
0.06776831299066544,
-0.057412706315517426,
0.011907044798135757,
-0.05250140652060509,
-0.023357225582003593,
-0.04115592688322067,
0.0430976003408432,
0.029734298586845398,
-0.018845682963728905,
-0.05524259805679321,
0.066055066883564,
-0.059011735022068024,
-0.013391856104135513,
-0.06167677789926529,
-0.04115592688322067,
0.005805992987006903,
-0.0868043527007103,
-0.03767232969403267,
0.020825430750846863,
0.021244224160909653,
-0.011640540324151516,
-0.05219683051109314,
0.017046775668859482,
-0.029505867511034012,
-0.00279115978628397,
0.013648842461407185,
-0.03772943839430809,
0.01989266462624073,
0.01551437471061945,
0.023528549820184708,
-0.027526117861270905,
0.06807289272546768,
0.024937216192483902,
0.0935811847448349,
0.014238960109651089,
0.0422980859875679,
0.0046590715646743774,
0.016028348356485367,
0.031200073659420013,
-0.0029315506108105183,
0.0363207682967186,
0.03359861671924591,
-0.007400261703878641,
-0.05135924369096756,
-0.009318143129348755,
-0.0022986021358519793,
0.014238960109651089,
-0.017322799190878868,
0.008661399595439434,
-0.023776017129421234,
-0.00487322686240077,
0.0012046246556565166,
-0.009908260777592659,
0.03428391367197037,
0.024251919239759445,
0.021472657099366188,
0.021034827455878258,
-0.03670148923993111,
0.014353176578879356,
0.044506270438432693,
0.005472862161695957,
-0.09700767695903778,
0.03198055177927017,
-0.003571637673303485,
0.06872011721134186,
0.010983796790242195,
0.028725389391183853,
0.0034550419077277184,
0.04439205303788185,
0.011564396321773529,
-0.0037048899102956057,
-0.00807128194719553,
-0.029658155515789986,
0.033788975328207016,
-0.007519237231463194,
0.040813274681568146,
0.0018881375435739756,
-0.047818541526794434,
0.06894854456186295,
0.008618568070232868,
-0.027621299028396606,
-0.08132197707891464,
0.030514776706695557,
-0.05090237781405449,
0.05151153355836868,
-0.05398621782660484,
-0.012497162446379662,
-0.023699874058365822,
0.017151474952697754,
0.025108540430665016,
0.037101246416568756,
-0.004004707559943199,
-0.03892870619893074,
0.049493711441755295,
-0.0570700578391552,
-0.02948683127760887,
-0.01428655069321394,
0.009061156772077084,
-0.013534626923501492,
-0.010070066899061203,
0.0236427653580904,
0.021320369094610214,
0.05577560514211655,
-0.005477621220052242,
0.053872000426054,
0.02236735075712204,
0.0072099012322723866,
0.03576872497797012,
-0.06346616894006729,
-0.06057268753647804,
0.07210852950811386,
0.05337706580758095,
0.012925473041832447,
0.008632845245301723,
0.026422027498483658,
-0.049112990498542786,
-0.007838090881705284,
-0.018341228365898132,
0.00849959347397089,
0.038376662880182266,
0.012982581742107868,
0.024194810539484024,
-0.043706756085157394,
-0.03978532925248146,
0.032494526356458664,
0.042945314198732376,
0.008037969470024109,
-0.02272903546690941,
-0.06297122687101364,
0.013563180342316628,
0.06476061791181564,
-0.01701822318136692,
-0.03426487743854523,
-0.007552550174295902,
0.07511622458696365,
0.013211013749241829,
0.003935701679438353,
-0.018760019913315773,
-0.019987845793366432,
0.002657907549291849,
-0.032170914113521576,
0.021434584632515907,
-0.029601046815514565,
0.09921585768461227,
-0.011040904559195042,
0.03158079460263252,
-0.04271687939763069,
0.05356742441654205,
0.023490477353334427,
-0.013753540813922882,
0.039594970643520355,
0.0236427653580904,
0.011907044798135757,
-0.06632157415151596,
0.003155224025249481,
-0.0053443689830601215,
-0.03405548259615898,
0.054138507694005966,
-0.10287077724933624,
-0.04088941961526871,
-0.04819926247000694,
0.027449974790215492,
-0.010022476315498352,
-0.006053461693227291,
-0.0036263661459088326,
-0.03158079460263252,
0.017751110717654228,
0.018522070720791817,
0.009775008074939251,
-0.02606034278869629,
-0.02194855734705925,
-0.017218101769685745,
0.05314863100647926,
-0.014572091400623322,
0.03818630054593086,
0.09731224924325943,
0.02113000862300396,
0.02606034278869629,
-0.007033817935734987,
0.05356742441654205,
0.011440661735832691,
-0.010831508785486221,
0.048694197088479996,
-0.020520854741334915,
-0.009908260777592659,
-0.08215956389904022,
0.010898134671151638,
0.0053443689830601215,
0.024670712649822235,
0.0072717685252428055,
-0.027621299028396606,
-0.006286653224378824,
0.005853583104908466,
-0.050293225795030594,
0.05097852274775505,
0.0032884764950722456,
0.017570268362760544,
0.03727257251739502,
0.00831399206072092,
-0.040813274681568146,
0.0397091843187809,
0.05767920985817909,
-0.03609233722090721,
0.05002672225236893,
-0.008842241950333118,
-0.032475490123033524,
0.013211013749241829,
0.002510378137230873,
-0.061181843280792236,
-0.0414985753595829,
0.0030386282596737146,
0.0011748807737603784,
0.007523995824158192,
0.006043943576514721,
-0.008832723833620548,
0.06038232892751694,
-0.008799411356449127,
0.023109756410121918,
0.013943901285529137,
0.0504835844039917,
0.023509513586759567,
0.06476061791181564,
-0.03512150049209595,
0.032151877880096436,
-0.030952606350183487,
0.05505223572254181,
0.022253135219216347,
0.017475087195634842,
-0.021453620865941048,
0.04720938578248024,
-0.008042728528380394,
0.02272903546690941,
-0.019397728145122528,
-0.060306183993816376,
0.022481566295027733,
-0.007733392529189587,
-0.0388144925236702,
-0.02606034278869629,
-0.01736087165772915,
-0.03700606897473335,
-0.008985012769699097,
-0.028382740914821625,
-0.014971847645938396,
-0.007252732291817665,
-0.02813527174293995,
0.08078896999359131,
-0.02769744209945202,
-0.013506072573363781,
0.016323406249284744,
-0.05672740936279297,
0.041232068091630936,
-0.010079585015773773,
0.03902388736605644,
-0.02809719927608967,
-0.03529282286763191,
0.01622822694480419,
0.041232068091630936,
0.04073713347315788,
0.052463334053754807,
-0.004839913919568062,
-0.02864924445748329,
-0.019178813323378563,
0.043326035141944885,
-0.04545807093381882,
-0.07005263864994049,
-0.02400445006787777,
0.07248925417661667,
0.034988246858119965,
0.003133808495476842,
-0.032056696712970734,
-0.026593351736664772,
-0.05813607573509216,
-0.012754148803651333,
-0.013306193985044956,
0.011231265030801296,
0.011335963383316994,
-0.0055680423974990845,
0.046219512820243835,
-0.042107727378606796,
0.02691696397960186,
-0.014705343171954155,
0.03300849720835686,
-0.028268523514270782,
-0.010441269725561142,
0.007095685228705406,
-0.00042622891487553716,
0.05215875804424286,
-0.0000037644517760782037,
-0.00007837495650164783,
0.02071121521294117,
0.012525715865194798,
0.04640987142920494,
-0.0034502828493714333,
-0.002162970369681716,
-0.02695503644645214,
-0.037862688302993774,
-0.003378897672519088,
0.039556898176670074,
-0.03986147418618202,
-0.04363061115145683,
0.02657431550323963,
0.007509719114750624,
0.055737532675266266,
0.016808826476335526,
0.02326204441487789,
0.00032837173785082996,
-0.03394126519560814,
-0.02491817995905876,
-0.04321181774139404,
-0.04606722295284271,
-0.004383048973977566,
-0.02282421477138996,
-0.0013515590690076351,
0.012725594453513622,
-0.028801532462239265,
0.011374035850167274,
-0.04770432412624359,
-0.005982076749205589,
0.05577560514211655,
0.0028387499041855335,
-0.10180475562810898,
0.010288981720805168,
0.025413118302822113,
-0.0829971507191658,
0.0029291710816323757,
0.0027768828440457582,
-0.015657145529985428,
-0.01142162550240755,
-0.09738839417695999,
-0.025984197854995728,
0.03361765295267105,
-0.051168885082006454,
0.02571769431233406,
-0.02067314274609089,
0.021815305575728416,
0.004499644506722689,
-0.05642283335328102,
0.060306183993816376,
-0.032475490123033524,
0.030895497649908066,
-0.02857310138642788,
-0.03736775368452072,
0.05253947898745537,
-0.026745639741420746,
0.04347832128405571,
0.023319153115153313,
-0.05756499245762825,
0.004996961448341608,
-0.030876461416482925,
-0.05272983759641647,
-0.05303441733121872,
0.003880973206833005,
0.01553341094404459,
-0.019588088616728783,
0.009689345955848694,
-0.07085215300321579,
0.02737382985651493,
-0.007795259822160006,
-0.012316320091485977,
-0.051587678492069244,
-0.051968395709991455,
0.046638306230306625,
0.04759010672569275,
-0.00909922830760479,
-0.005667981691658497,
0.05851679667830467,
0.012649450451135635,
-0.02984851598739624,
0.019350137561559677,
0.021624945104122162,
-0.010231873020529747,
-0.014058117754757404,
-0.02531793713569641,
-0.03139043599367142,
0.004071333911269903,
-0.020444709807634354,
0.006971950642764568,
0.014752933755517006,
0.05151153355836868,
-0.023833125829696655,
0.002579383784905076,
-0.052805982530117035,
-0.022043738514184952,
0.013943901285529137,
0.0797990933060646,
-0.020977718755602837,
-0.06038232892751694,
-0.04043255373835564,
-0.004877985920757055,
-0.05166381970047951,
0.005353887099772692,
-0.023871198296546936,
-0.008856519125401974,
0.024213846772909164,
-0.023833125829696655,
0.008104595355689526,
0.018541105091571808,
0.102566197514534,
0.025070467963814735,
-0.03489306569099426,
0.09243902564048767,
0.05166381970047951,
0.028915749862790108,
-0.0055537656880915165,
-0.006695928052067757,
0.04279302433133125,
-0.027107324451208115,
0.05588982254266739,
0.041650861501693726,
-0.04427783563733101,
0.009589406661689281,
0.004897022154182196,
0.057793427258729935,
0.01902652531862259,
-0.028477920219302177,
-0.056955840438604355,
0.020463746041059494,
-0.06891047209501266,
0.04515349492430687,
0.00692911958321929,
0.03344632685184479,
-0.027868766337633133
]
|
44,024 | jsons.serializers.default_dict | default_dict_serializer |
Serialize the given ``obj`` to a dict of serialized objects.
:param obj: the dict that is to be serialized.
:param cls: not used.
:param strict: if ``True`` the serialization will raise upon any the
failure of any attribute. Otherwise it continues with a warning.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param strip_nulls: if ``True`` the resulting dict will not contain null
values.
:param key_transformer: a function that will be applied to all keys in the
resulting dict.
:param types: a ``dict`` with attribute names (keys) and their types
(values).
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a dict of which all elements are serialized.
| def default_dict_serializer(
obj: dict,
cls: Optional[type] = None,
*,
strict: bool = False,
strip_nulls: bool = False,
key_transformer: Optional[Callable[[str], str]] = None,
types: Optional[Dict[str, type]] = None,
**kwargs) -> dict:
"""
Serialize the given ``obj`` to a dict of serialized objects.
:param obj: the dict that is to be serialized.
:param cls: not used.
:param strict: if ``True`` the serialization will raise upon any the
failure of any attribute. Otherwise it continues with a warning.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param strip_nulls: if ``True`` the resulting dict will not contain null
values.
:param key_transformer: a function that will be applied to all keys in the
resulting dict.
:param types: a ``dict`` with attribute names (keys) and their types
(values).
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a dict of which all elements are serialized.
"""
result = dict()
types = types or dict()
for key in obj:
obj_ = obj[key]
cls_ = types.get(key, None)
# If key is not a valid json type, use the hash as key and store the
# original key in a separate section.
dict_and_key = _store_and_hash(result, key,
key_transformer=key_transformer,
strip_nulls=strip_nulls, strict=strict,
types=types, **kwargs)
if dict_and_key:
result, key = dict_and_key
dumped_elem = dump(obj_,
cls=cls_,
key_transformer=key_transformer,
strip_nulls=strip_nulls,
strict=strict,
**kwargs)
if not (strip_nulls and dumped_elem is None):
if key_transformer:
key = key_transformer(key)
result[key] = dumped_elem
return result
| (obj: dict, cls: Optional[type] = None, *, strict: bool = False, strip_nulls: bool = False, key_transformer: Optional[Callable[[str], str]] = None, types: Optional[Dict[str, type]] = None, **kwargs) -> dict | [
-0.031087415292859077,
0.01728820987045765,
0.009501654654741287,
-0.027951231226325035,
0.002432991983368993,
-0.000306727277347818,
0.007463135756552219,
0.035027243196964264,
-0.015524106100201607,
-0.04947328940033913,
0.0059195454232394695,
0.022345304489135742,
0.04265208914875984,
-0.01728820987045765,
-0.019552141427993774,
0.031165819615125656,
-0.038869068026542664,
0.0303229708224535,
0.021972883492708206,
-0.012289917096495628,
0.056529700756073,
-0.033302344381809235,
0.013024960644543171,
0.08107033371925354,
-0.029989751055836678,
-0.01954234018921852,
0.001049273763783276,
0.007649346720427275,
-0.04559226334095001,
0.04398496821522713,
0.01395601499825716,
-0.0251090656965971,
0.0253834817558527,
0.019669748842716217,
0.006757494527846575,
-0.07221061736345291,
0.028558867052197456,
0.056137677282094955,
-0.06076354905962944,
-0.023286160081624985,
0.007953164167702198,
0.0373205803334713,
-0.0710737481713295,
-0.009957381524145603,
0.021992484107613564,
0.050727762281894684,
0.03730097785592079,
0.03349835425615311,
0.0067672948352992535,
-0.050453346222639084,
0.03277311474084854,
-0.026049921289086342,
0.02420741319656372,
0.0248346496373415,
0.045239441096782684,
-0.03134223073720932,
-0.022482512518763542,
0.00022326927864924073,
-0.04292650520801544,
-0.003949630539864302,
0.017101997509598732,
0.04014314338564873,
0.003922678995877504,
0.007276924792677164,
0.008448093198239803,
-0.03314553573727608,
-0.03345915302634239,
-0.029519323259592056,
0.014112823642790318,
-0.0017873793840408325,
-0.00876661203801632,
-0.001264273771084845,
0.00222595501691103,
0.012250714935362339,
0.020385190844535828,
0.013220971450209618,
-0.03304753080010414,
-0.020483195781707764,
-0.010898236185312271,
-0.01643555983901024,
0.018346671015024185,
-0.05217824503779411,
-0.04672912880778313,
0.010369005613029003,
0.00629196735098958,
0.03414519503712654,
-0.0450042262673378,
0.011329461820423603,
0.007031910587102175,
-0.027206387370824814,
-0.0622924380004406,
0.05151180550456047,
-0.0006652138545177877,
0.029460519552230835,
-0.036105308681726456,
-0.009682965464890003,
-0.015563308261334896,
0.016014134511351585,
0.01728820987045765,
0.030009351670742035,
-0.03506644815206528,
-0.03861425444483757,
-0.03404718637466431,
0.02134564518928528,
-0.017249006778001785,
-0.11933176964521408,
-0.0062282634899020195,
0.007664047181606293,
-0.031224623322486877,
-0.029734935611486435,
0.010172993876039982,
-0.05574565380811691,
-0.02797083370387554,
0.0007270799251273274,
0.03271431103348732,
-0.04257368668913841,
-0.007722850888967514,
0.008604902774095535,
-0.03381197527050972,
-0.04704274609684944,
-0.040770381689071655,
0.001159530133008957,
-0.05013972520828247,
0.017984049394726753,
0.0067770956084132195,
-0.03259670361876488,
0.05355032533407211,
0.02681436575949192,
0.06542862206697464,
0.10851193219423294,
0.005958748050034046,
0.008105073124170303,
-0.09008686244487762,
0.005855842027813196,
0.07950223982334137,
0.02352137304842472,
-0.035909295082092285,
0.08640184253454208,
0.012672139331698418,
-0.014044219627976418,
0.04904206469655037,
-0.047513172030448914,
-0.007502337917685509,
0.014691057614982128,
-0.026559550315141678,
-0.047983601689338684,
-0.008305984549224377,
0.00162444484885782,
-0.016896186396479607,
0.0068456996232271194,
0.042220864444971085,
0.05441277474164963,
-0.00636057136580348,
0.026500746607780457,
-0.035007644444704056,
-0.03737938031554222,
-0.004858633503317833,
-0.04484741762280464,
0.022482512518763542,
-0.018611285835504532,
-0.016945188865065575,
0.008036469109356403,
0.013838407583534718,
-0.07193619757890701,
0.033576760441064835,
0.04476901516318321,
0.009516355581581593,
-0.014377439394593239,
0.0395159050822258,
-0.0008477494702674448,
-0.06629107147455215,
-0.007262223865836859,
-0.010163193568587303,
0.012917154468595982,
0.026657557114958763,
0.02557949349284172,
-0.009653563611209393,
-0.0262067299336195,
-0.03943750262260437,
0.024442626163363457,
0.05664730817079544,
-0.010437609627842903,
0.035282060503959656,
-0.020659606903791428,
0.05315830186009407,
-0.01237812265753746,
0.01018279418349266,
0.013358179479837418,
0.01073162630200386,
0.02983294241130352,
0.016866784542798996,
0.028010034933686256,
0.0009414674714207649,
-0.026363538578152657,
-0.005213904194533825,
0.006487978622317314,
-0.04014314338564873,
-0.05594166740775108,
-0.0293625146150589,
0.026775162667036057,
-0.02009117230772972,
-0.007928662933409214,
0.04339693486690521,
-0.009251739829778671,
-0.0029254707042127848,
-0.023619377985596657,
0.031322628259658813,
-0.008168776519596577,
-0.016621770337224007,
-0.028931288048624992,
0.027382798492908478,
-0.032067470252513885,
-0.07483717054128647,
-0.009511454962193966,
0.028715675696730614,
0.011564674787223339,
0.10137711465358734,
-0.018650488927960396,
-0.04206405580043793,
-0.04547465592622757,
0.040495965629816055,
0.013162168674170971,
-0.0474739708006382,
0.01056501641869545,
0.012152709066867828,
-0.05123738944530487,
-0.023815389722585678,
-0.02818644605576992,
0.0028666674625128508,
-0.047238755971193314,
0.0006290742312557995,
-0.01244672667235136,
-0.05507921427488327,
0.03312593325972557,
0.06389973312616348,
0.0033909978810697794,
0.0205812007188797,
-0.05355032533407211,
0.0762876570224762,
-0.016229746863245964,
0.07914941757917404,
-0.0030749295838177204,
-0.036673739552497864,
-0.04618029668927193,
-0.0015546157956123352,
-0.002475869609043002,
0.011603876948356628,
0.029127299785614014,
0.004775328561663628,
-0.02887248620390892,
0.038320235908031464,
-0.0207184087485075,
0.012534931302070618,
-0.025501089170575142,
-0.010074988007545471,
0.027284793555736542,
-0.019963765516877174,
0.01720980554819107,
-0.030303368344902992,
-0.07158337533473969,
0.01477926317602396,
0.019738351926207542,
-0.07279864698648453,
0.029538923874497414,
0.03291032090783119,
0.011770486831665039,
0.0230509452521801,
-0.017337212339043617,
-0.03943750262260437,
0.01409322302788496,
0.07699329406023026,
-0.025265874341130257,
0.000622642575763166,
0.005718633998185396,
-0.000008336229257110972,
0.0234625693410635,
-0.017513621598482132,
-0.04943408444523811,
0.04457300156354904,
0.024599436670541763,
-0.023717384785413742,
-0.0683295875787735,
0.01056501641869545,
-0.02887248620390892,
0.06554622948169708,
-0.004537664819508791,
-0.0303229708224535,
0.010986441746354103,
-0.0034963542129844427,
-0.05903864651918411,
0.03959431126713753,
0.024736644700169563,
-0.03469402715563774,
-0.048179611563682556,
-0.041319213807582855,
-0.05464798957109451,
-0.09479113668203354,
-0.06193961575627327,
0.01931692846119404,
-0.0208556167781353,
0.0012556982692331076,
0.0024685191456228495,
0.0535111241042614,
0.03510564938187599,
0.03153824061155319,
-0.03249869868159294,
-0.005890144035220146,
-0.012397724203765392,
-0.01574951969087124,
0.015710316598415375,
-0.0395159050822258,
0.053197506815195084,
0.0691528394818306,
0.012338920496404171,
-0.007095614448189735,
-0.01128045842051506,
0.026441942900419235,
0.03167545050382614,
0.03863385692238808,
0.047238755971193314,
-0.054216764867305756,
0.053589530289173126,
-0.06989768147468567,
0.024031002074480057,
0.0216788649559021,
-0.06738873571157455,
0.018954306840896606,
-0.016151342540979385,
0.057784173637628555,
-0.01388741098344326,
-0.0055275228805840015,
-0.0251090656965971,
0.017915446311235428,
0.06437015533447266,
-0.03882986679673195,
0.05554964393377304,
0.03461562097072601,
-0.01114325039088726,
-0.03147943690419197,
-0.0253834817558527,
-0.01317196898162365,
0.015739718452095985,
0.015063479542732239,
-0.011055045761168003,
-0.05225665122270584,
0.012182110920548439,
0.036869753152132034,
-0.05547123774886131,
0.018954306840896606,
-0.015249690040946007,
-0.020659606903791428,
-0.021090831607580185,
0.04492582380771637,
0.05535363033413887,
-0.009678064845502377,
-0.05782337486743927,
0.05096297338604927,
-0.0628412663936615,
-0.0009426925098523498,
-0.06417414546012878,
-0.025912713259458542,
-0.007566041778773069,
-0.01505367923527956,
-0.014426441863179207,
0.04312251880764961,
0.0433577299118042,
0.04465140774846077,
-0.057862576097249985,
0.008467694744467735,
-0.049826107919216156,
-0.013740401715040207,
-0.011153050698339939,
-0.036673739552497864,
0.01104524452239275,
-0.018346671015024185,
0.051276594400405884,
-0.03422359749674797,
0.0595482774078846,
-0.029127299785614014,
0.039888329803943634,
0.022756928578019142,
0.008683307096362114,
0.0014823365490883589,
0.01169208250939846,
0.0286764744669199,
-0.03416479378938675,
0.057235341519117355,
0.04402416944503784,
-0.019032711163163185,
-0.060057904571294785,
-0.00039324795943684876,
-0.022384507581591606,
-0.004464160650968552,
-0.01934633031487465,
-0.019297325983643532,
-0.052491866052150726,
0.030538583174347878,
0.0263439379632473,
-0.0300485547631979,
-0.002518747001886368,
0.03614450991153717,
-0.04018234461545944,
0.031930264085531235,
-0.029460519552230835,
-0.0017604277236387134,
0.01038860622793436,
0.01868969015777111,
-0.09753529727458954,
0.058058589696884155,
0.012191912159323692,
0.06789836287498474,
0.01652376540005207,
-0.008751911111176014,
-0.01210370659828186,
0.04868924245238304,
-0.017170602455735207,
0.02612832561135292,
0.008580400608479977,
-0.03918268904089928,
0.03367476537823677,
0.03839864209294319,
0.017523422837257385,
0.018150659278035164,
0.0030357271898537874,
0.07366110384464264,
-0.03157744184136391,
-0.0263439379632473,
-0.0611947737634182,
0.025207070633769035,
-0.01375020295381546,
0.04327932745218277,
-0.06727112829685211,
-0.0035159552935510874,
-0.025128666311502457,
0.03424319997429848,
0.0207184087485075,
0.06664389371871948,
-0.038712259382009506,
-0.008550998754799366,
0.047081947326660156,
-0.039398301392793655,
-0.023834992200136185,
-0.04041755944490433,
-0.010859034024178982,
-0.005429517012089491,
0.0036752144806087017,
0.004559716209769249,
-0.0066496883518993855,
0.019307127222418785,
0.048297218978405,
0.06021471694111824,
0.002893619006499648,
0.06930964440107346,
0.026716358959674835,
-0.0587250292301178,
-0.06813357770442963,
0.05962667986750603,
0.03545847162604332,
0.0021708267740905285,
0.012593735009431839,
0.05225665122270584,
-0.06021471694111824,
-0.0031827357597649097,
-0.006620286498218775,
-0.012975957244634628,
0.045513857156038284,
-0.009923079051077366,
0.01629835180938244,
-0.04704274609684944,
-0.024305418133735657,
0.0683295875787735,
0.04284810274839401,
-0.007987466640770435,
0.012466328218579292,
-0.03204787150025368,
0.025736302137374878,
0.033929578959941864,
-0.00321458769030869,
-0.07177939265966415,
-0.03465482220053673,
0.027245590463280678,
0.03561528027057648,
0.019689349457621574,
-0.039751119911670685,
-0.01436763908714056,
-0.016151342540979385,
-0.018807297572493553,
0.004848833195865154,
-0.01484786719083786,
0.09706486761569977,
0.018836699426174164,
-0.0061939614824950695,
-0.04178963974118233,
0.055040013045072556,
0.00859020184725523,
0.00817857775837183,
-0.0007013534195721149,
0.017376413568854332,
-0.0036923654843121767,
-0.07130896300077438,
0.026245933026075363,
-0.0029720235615968704,
-0.051394201815128326,
0.07452355325222015,
-0.0724458321928978,
-0.0672319233417511,
-0.031322628259658813,
0.03702656179666519,
-0.03984912484884262,
0.011104048229753971,
-0.01217231061309576,
-0.0008796013426035643,
0.01649436354637146,
0.0263439379632473,
0.01814085990190506,
-0.032753512263298035,
-0.004437209106981754,
-0.004388206172734499,
0.05774497240781784,
-0.07158337533473969,
0.01660216972231865,
0.06409574300050735,
0.035772088915109634,
0.0518646277487278,
-0.02420741319656372,
0.08859717100858688,
0.0034277501981705427,
-0.017405815422534943,
0.04402416944503784,
0.011505872011184692,
-0.0006272366154007614,
-0.020659606903791428,
-0.011701882816851139,
-0.025638297200202942,
0.009168434888124466,
0.029029294848442078,
0.022894136607646942,
0.012299718335270882,
0.04429858550429344,
-0.041946448385715485,
0.07507238537073135,
0.027049578726291656,
0.049826107919216156,
0.017827240750193596,
0.042220864444971085,
0.002295783953741193,
0.028931288048624992,
0.04508263245224953,
-0.0439065620303154,
0.026520349085330963,
-0.0300485547631979,
-0.04284810274839401,
0.05731374770402908,
0.050296537578105927,
-0.023854592815041542,
-0.030479779466986656,
0.027814023196697235,
0.01320137083530426,
0.005218804813921452,
0.037496987730264664,
0.004214245826005936,
0.0266183540225029,
-0.004194644745439291,
-0.017817439511418343,
-0.0070074088871479034,
0.017131399363279343,
0.0738179087638855,
0.038437843322753906,
-0.029205704107880592,
0.0343020036816597,
-0.049355681985616684,
0.08600982278585434,
0.029519323259592056,
-0.006860400550067425,
-0.005801938474178314,
0.040495965629816055,
-0.026461545377969742,
0.01712159998714924,
-0.0543343722820282,
-0.07860058546066284,
-0.0031214822083711624,
0.025344278663396835,
0.004292650613933802,
-0.0513157956302166,
0.01698439195752144,
-0.033635564148426056,
-0.024383824318647385,
-0.03222428262233734,
-0.0289508905261755,
0.016749177128076553,
-0.00485128303989768,
0.07166178524494171,
-0.003192536300048232,
0.01748422160744667,
0.030303368344902992,
-0.04041755944490433,
-0.004344103392213583,
-0.02722598984837532,
0.040770381689071655,
-0.01248592883348465,
-0.014377439394593239,
0.009962281212210655,
0.058058589696884155,
0.0069388048723340034,
0.060528334230184555,
-0.006585984490811825,
-0.03602690249681473,
0.023011744022369385,
0.030224964022636414,
-0.04229927062988281,
-0.05013972520828247,
-0.01340718287974596,
0.093850277364254,
-0.016670772805809975,
0.011878293007612228,
-0.029323311522603035,
-0.03396878391504288,
-0.020796814933419228,
0.018317269161343575,
-0.01978735439479351,
0.02865687385201454,
0.009996583685278893,
-0.009374246932566166,
0.029029294848442078,
-0.035968098789453506,
0.027186786755919456,
-0.06150839105248451,
0.025050261989235878,
-0.006585984490811825,
-0.024442626163363457,
-0.009486953727900982,
-0.022031685337424278,
0.09290942549705505,
-0.004809630569070578,
-0.020149976015090942,
-0.015533906407654285,
0.0238741934299469,
0.04810120910406113,
0.009251739829778671,
-0.01679818145930767,
-0.000381916033802554,
-0.05386394262313843,
0.007487636990845203,
0.033302344381809235,
-0.0197579525411129,
-0.021071230992674828,
0.011368663981556892,
-0.0007442309288308024,
0.0466507226228714,
-0.019571742042899132,
-0.007272024638950825,
0.00852159783244133,
-0.08201118558645248,
-0.0463763065636158,
-0.01052581425756216,
0.03242029249668121,
-0.008374588564038277,
-0.04766998440027237,
-0.005787238012999296,
0.011025643907487392,
-0.027539607137441635,
0.004525414202362299,
-0.047160353511571884,
-0.009697666391730309,
0.023070547729730606,
0.02832365408539772,
-0.09079249948263168,
-0.028362855315208435,
0.020424392074346542,
-0.08444172888994217,
-0.01945413649082184,
-0.00121282075997442,
0.012877951376140118,
-0.001032122760079801,
-0.09816253185272217,
-0.016680574044585228,
0.0003019801224581897,
0.019826557487249374,
-0.016288550570607185,
-0.059273861348629,
0.03294952213764191,
-0.03745778650045395,
-0.0518646277487278,
0.02365858107805252,
-0.0332043394446373,
-0.007727751042693853,
-0.0430833138525486,
-0.04178963974118233,
0.016337553039193153,
-0.04567066580057144,
0.05527522787451744,
-0.008477495051920414,
-0.027402399107813835,
-0.004677323158830404,
-0.027127983048558235,
-0.07432753592729568,
-0.012505530379712582,
0.025403082370758057,
0.05190382897853851,
-0.007374930661171675,
-0.015406499616801739,
-0.040574368089437485,
0.03338075056672096,
-0.018885701894760132,
0.035693682730197906,
-0.031048212200403214,
-0.04590588063001633,
0.043044112622737885,
0.07013289630413055,
-0.007110314909368753,
-0.05198223516345024,
0.07228901982307434,
0.02214929275214672,
-0.038594651967287064,
-0.011035444214940071,
0.007708149962127209,
0.01326997485011816,
-0.00608615530654788,
-0.007889460772275925,
0.007031910587102175,
-0.014289233833551407,
0.0006027352064847946,
-0.002441567601636052,
0.005005642306059599,
0.0384182445704937,
-0.0208556167781353,
0.03381197527050972,
-0.02769641764461994,
-0.01351498905569315,
0.01097664050757885,
0.09204697608947754,
-0.015524106100201607,
-0.035968098789453506,
-0.026383141055703163,
0.022658923640847206,
-0.04292650520801544,
0.018072254955768585,
-0.03806542232632637,
-0.013838407583534718,
0.03698736056685448,
-0.012975957244634628,
-0.0033762971870601177,
0.018366271629929543,
0.07471956312656403,
0.009129232726991177,
-0.04273049533367157,
0.10451330244541168,
0.04849323257803917,
0.009756469167768955,
-0.00417749397456646,
-0.01687658578157425,
0.04727796092629433,
-0.025912713259458542,
0.03992753103375435,
0.06374292075634003,
0.004471511114388704,
0.011055045761168003,
0.012907353229820728,
0.0323810912668705,
0.003927579149603844,
-0.04947328940033913,
-0.047356363385915756,
-0.01443624310195446,
-0.033713966608047485,
0.03338075056672096,
0.022658923640847206,
0.040848784148693085,
0.002461168682202697
]
|
44,025 | jsons.deserializers.default_enum | default_enum_deserializer |
Deserialize an enum value to an enum instance. The serialized value can be
either the name or the key of an enum entry. If ``use_enum_name`` is set to
``True``, then the value *must* be the key of the enum entry. If
``use_enum_name`` is set to ``False``, the value *must* be the value of the
enum entry. By default, this deserializer tries both.
:param obj: the serialized enum.
:param cls: the enum class.
:param use_enum_name: determines whether the name or the value of an enum
element should be used.
:param kwargs: not used.
:return: the corresponding enum element instance.
| def default_enum_deserializer(obj: str,
cls: EnumMeta,
*,
use_enum_name: Optional[bool] = None,
**kwargs) -> object:
"""
Deserialize an enum value to an enum instance. The serialized value can be
either the name or the key of an enum entry. If ``use_enum_name`` is set to
``True``, then the value *must* be the key of the enum entry. If
``use_enum_name`` is set to ``False``, the value *must* be the value of the
enum entry. By default, this deserializer tries both.
:param obj: the serialized enum.
:param cls: the enum class.
:param use_enum_name: determines whether the name or the value of an enum
element should be used.
:param kwargs: not used.
:return: the corresponding enum element instance.
"""
if use_enum_name:
result = cls[obj]
elif use_enum_name is False:
result = cls(obj)
else: # use_enum_name is None
try:
result = cls[obj]
except KeyError:
result = cls(obj) # May raise a ValueError (which is expected).
return result
| (obj: str, cls: enum.EnumMeta, *, use_enum_name: Optional[bool] = None, **kwargs) -> object | [
0.05344381183385849,
-0.041186392307281494,
-0.03555016592144966,
-0.04888375848531723,
-0.03348902240395546,
-0.016005782410502434,
0.059827886521816254,
0.005034297704696655,
-0.036425698548555374,
-0.05895235389471054,
-0.008864741772413254,
0.02320154570043087,
-0.0023803473450243473,
-0.03421863168478012,
0.044579070061445236,
0.04979576915502548,
-0.08054876327514648,
0.059426601976156235,
0.031865645200014114,
0.08565602451562881,
0.04410482570528984,
0.005444702226668596,
-0.04873783886432648,
0.040055498480796814,
0.029202574864029884,
0.015531538054347038,
-0.019316380843520164,
-0.01026011724025011,
-0.07296083867549896,
-0.015267054550349712,
-0.011235968209803104,
0.008094092831015587,
-0.009288826026022434,
0.014026721008121967,
-0.07062608748674393,
-0.036790501326322556,
-0.030114585533738136,
0.07617111504077911,
-0.047059737145900726,
-0.016881313174962997,
0.0016347786877304316,
-0.030917154625058174,
0.00029839843045920134,
0.0019254820654168725,
-0.008645858615636826,
-0.030661791563034058,
-0.03595145046710968,
-0.002658510347828269,
0.002014402998611331,
0.0017567600589245558,
0.06573770940303802,
-0.026010537520051003,
0.020392553880810738,
0.031136035919189453,
0.012859347276389599,
0.013899039477109909,
-0.03332486003637314,
-0.00449393130838871,
0.0335255041718483,
0.05461118370294571,
-0.00555414380505681,
0.030716512352228165,
-0.007825049571692944,
0.012877587229013443,
-0.04778934642672539,
-0.06063045561313629,
0.04691381752490997,
-0.01815812848508358,
-0.06825485825538635,
0.04016494005918503,
0.0006954079726710916,
0.007268723100423813,
0.022854981943964958,
-0.0062107909470796585,
0.04946744814515114,
-0.00618799077346921,
-0.033744387328624725,
-0.019535264000296593,
-0.013479514047503471,
0.04932152479887009,
0.019827106967568398,
0.03297829627990723,
-0.007414645049721003,
-0.016416188329458237,
-0.01676275208592415,
0.014227363280951977,
0.0017989405896514654,
-0.05614336207509041,
0.038523320108652115,
-0.03257701173424721,
-0.016698911786079407,
-0.043630581349134445,
-0.03578728809952736,
0.006146950181573629,
-0.03589672967791557,
-0.09178473055362701,
-0.005061658099293709,
0.053151968866586685,
-0.009288826026022434,
-0.044031865894794464,
-0.02925729565322399,
-0.04125935211777687,
-0.06752525269985199,
0.019316380843520164,
-0.001091562444344163,
-0.0706990510225296,
0.0363527350127697,
-0.03990957885980606,
0.0005836866912432015,
-0.04523571953177452,
-0.004291009157896042,
-0.008764420635998249,
-0.04417778551578522,
0.061177659779787064,
-0.024660762399435043,
0.006716956850141287,
0.03972717374563217,
-0.01074348296970129,
-0.014327684417366982,
-0.019845347851514816,
-0.04680437594652176,
0.050270017236471176,
-0.03478407859802246,
-0.0109441252425313,
-0.01444624550640583,
-0.014154402539134026,
0.05727425590157509,
-0.04738806188106537,
0.09302506595849991,
0.12782739102840424,
0.07952731102705002,
0.018212849274277687,
-0.0593901202082634,
-0.0501970537006855,
0.029713300988078117,
0.0727054700255394,
0.0327594168484211,
0.048774316906929016,
-0.018395250663161278,
0.02697726897895336,
0.04111343249678612,
0.014437125064432621,
0.005727425683289766,
0.0010636321967467666,
0.01845909096300602,
0.016315866261720657,
0.016698911786079407,
0.04654901474714279,
-0.0029412335716187954,
0.031281959265470505,
0.02850944735109806,
0.012303020805120468,
-0.04260912910103798,
0.03219396993517876,
0.0016666990704834461,
-0.02741503342986107,
-0.008536417968571186,
-0.027652157470583916,
-0.037538349628448486,
0.010971485637128353,
0.02453308179974556,
0.04804471135139465,
-0.013105589896440506,
-0.051619790494441986,
0.05245884135365486,
0.030680030584335327,
0.004710534121841192,
0.016215546056628227,
0.014719848521053791,
-0.024040594696998596,
-0.07967323064804077,
-0.02929377555847168,
0.025390371680259705,
0.01503905188292265,
-0.018769174814224243,
0.025189727544784546,
-0.019152218475937843,
-0.011144767515361309,
0.04085806757211685,
-0.0022868660744279623,
-0.002045183442533016,
0.0407121479511261,
0.03514888137578964,
-0.0955057367682457,
0.0218882504850626,
0.03976365551352501,
0.034328073263168335,
-0.008440656587481499,
0.004956776741892099,
-0.014473605901002884,
0.009968274272978306,
0.009015223011374474,
0.013862558640539646,
0.033178940415382385,
-0.03837740048766136,
0.02265433967113495,
-0.0471327006816864,
0.01854117214679718,
-0.010561080649495125,
0.011172127909958363,
0.01714579574763775,
0.08069468289613724,
0.019517023116350174,
0.0046398532576859,
-0.04870135709643364,
-0.004167887847870588,
0.08682339638471603,
-0.037757232785224915,
0.04494387283921242,
-0.03181092441082001,
-0.019061017781496048,
-0.030497629195451736,
-0.07058960944414139,
0.021906491369009018,
0.0238034725189209,
0.010132435709238052,
-0.021942971274256706,
-0.0010904225055128336,
0.023438667878508568,
0.05435582250356674,
-0.003230796894058585,
0.010150676593184471,
-0.0026630705688148737,
-0.0023666671477258205,
0.026904307305812836,
-0.02528093010187149,
-0.03297829627990723,
-0.07602518796920776,
-0.04410482570528984,
0.005814066622406244,
-0.027305591851472855,
-0.03257701173424721,
0.02526268921792507,
-0.005996468476951122,
0.014683367684483528,
0.1340290606021881,
0.046877335757017136,
-0.04603828862309456,
-0.07277843356132507,
0.03421863168478012,
0.03272293508052826,
-0.026101738214492798,
-0.018130768090486526,
0.02737855352461338,
0.01226654089987278,
0.040785107761621475,
0.028089921921491623,
0.01652562990784645,
-0.03389030694961548,
-0.05858755111694336,
-0.01218445971608162,
0.0355866476893425,
0.06201671063899994,
-0.026940789073705673,
-0.048227112740278244,
-0.05121850594878197,
-0.08164317160844803,
0.014601287432014942,
0.02057495526969433,
-0.016598589718341827,
-0.00898786261677742,
-0.03881516307592392,
0.006288311909884214,
0.025773415341973305,
-0.006958639714866877,
-0.00674431724473834,
0.010095955803990364,
0.02949441783130169,
0.018112527206540108,
-0.03823147714138031,
0.06405961513519287,
-0.059426601976156235,
0.006301992107182741,
0.014820169657468796,
0.003919364884495735,
-0.01682659238576889,
0.005545023363083601,
-0.08733411878347397,
0.045709963887929916,
0.005467502400279045,
-0.050671301782131195,
-0.045162755995988846,
0.018532052636146545,
0.046330131590366364,
0.009831472299993038,
0.020447274670004845,
0.015358256176114082,
-0.02759743668138981,
-0.019352860748767853,
0.011947336606681347,
0.044068343937397,
-0.04432370886206627,
-0.029147854074835777,
-0.004010566044598818,
0.01102620642632246,
-0.004532692022621632,
-0.029166093096137047,
-0.030296986922621727,
0.01779332384467125,
0.005444702226668596,
-0.03438279405236244,
0.009411947801709175,
-0.014054080471396446,
0.027925759553909302,
-0.02110392227768898,
-0.023712271824479103,
0.013962879776954651,
-0.02261785976588726,
0.01456480659544468,
-0.007296083495020866,
-0.03142787888646126,
0.04271857067942619,
0.013315352611243725,
-0.01747412048280239,
-0.0007558286306448281,
0.022854981943964958,
0.0293120164424181,
0.010488119907677174,
0.06252743303775787,
0.017173156142234802,
-0.02473372407257557,
0.06500810384750366,
-0.07697368413209915,
0.013734877109527588,
-0.0009878212586045265,
-0.019480543211102486,
-0.048409514129161835,
0.05213051661849022,
0.0277798380702734,
-0.059426601976156235,
-0.0258646160364151,
-0.0632205605506897,
-0.021541686728596687,
-0.007154721766710281,
-0.041186392307281494,
-0.02874656952917576,
0.05570559948682785,
0.030114585533738136,
-0.0019745025783777237,
0.013515994884073734,
-0.0149204907938838,
0.014117921702563763,
-0.01975414529442787,
-0.001361175556667149,
0.009256905876100063,
0.03954477235674858,
0.04202543944120407,
0.010962365195155144,
0.037757232785224915,
0.025591013953089714,
0.0029412335716187954,
-0.04614773020148277,
0.004788054618984461,
-0.0037027623038738966,
-0.030333466827869415,
-0.04395890235900879,
0.024113556370139122,
-0.031683243811130524,
0.009977394714951515,
-0.04374001920223236,
-0.05957252159714699,
-0.04815415292978287,
-0.03668105974793434,
0.0010892824502661824,
-0.003066635224968195,
-0.05063482001423836,
-0.05986436456441879,
-0.02529916912317276,
0.018513811752200127,
-0.02208889275789261,
-0.00330375786870718,
0.06814541667699814,
-0.007382724434137344,
-0.0022595059126615524,
0.028819529339671135,
0.026138219982385635,
0.01548593770712614,
0.05194811522960663,
0.039471812546253204,
0.03379910811781883,
0.017246117815375328,
0.009858832694590092,
-0.021778808906674385,
0.051036104559898376,
0.021614648401737213,
-0.02303738333284855,
0.03387206792831421,
0.020994480699300766,
0.04187951982021332,
-0.03921644762158394,
-0.05650816857814789,
0.036425698548555374,
0.01416352204978466,
-0.03292357549071312,
0.0031008354853838682,
-0.003173796460032463,
-0.045381639152765274,
-0.019535264000296593,
-0.011828775517642498,
0.027670396491885185,
0.00836313609033823,
0.033780865371227264,
-0.0017453599721193314,
0.013078229501843452,
-0.03591497242450714,
0.08244574069976807,
-0.0019026817753911018,
-0.02909313328564167,
0.0033995190169662237,
-0.03779371455311775,
0.010342198424041271,
-0.03312421962618828,
0.007806809619069099,
-0.06063045561313629,
0.005016057286411524,
0.02927553467452526,
0.0391799695789814,
0.03494824096560478,
0.021414006128907204,
-0.013269752264022827,
-0.011764934286475182,
0.007063521072268486,
0.03494824096560478,
-0.017072835937142372,
0.04337521642446518,
0.013798718340694904,
0.03159204125404358,
-0.021979451179504395,
-0.00010979750368278474,
-0.03312421962618828,
0.015057292766869068,
-0.07566038519144058,
0.0018194608855992556,
-0.08988774567842484,
0.03708234429359436,
0.0241865161806345,
-0.008331215009093285,
-0.03998253867030144,
-0.041551195085048676,
-0.011929096654057503,
-0.06613899767398834,
-0.060010287910699844,
-0.03385382890701294,
0.03002338297665119,
-0.030369948595762253,
-0.01739203929901123,
-0.024277718737721443,
0.0456005223095417,
0.03181092441082001,
-0.03921644762158394,
0.03348902240395546,
0.04166063666343689,
0.02017367072403431,
0.0009017503471113741,
-0.037939634174108505,
-0.06602955609560013,
0.018112527206540108,
0.04508979618549347,
0.009047143161296844,
0.00860481895506382,
0.03201156482100487,
0.0007472785655409098,
-0.019480543211102486,
0.002180845011025667,
0.01301438920199871,
0.09032551199197769,
0.0422443225979805,
-0.019279900938272476,
-0.004979576915502548,
-0.0601562075316906,
-0.007437445223331451,
0.039289411157369614,
0.06041157245635986,
-0.022873222827911377,
-0.06285575777292252,
0.0298409815877676,
0.027725117281079292,
-0.02869184873998165,
-0.04968632757663727,
-0.005412782076746225,
0.04133231192827225,
-0.005435582250356674,
0.0399460569024086,
-0.01274078618735075,
-0.020246632397174835,
0.03691818192601204,
-0.012640465050935745,
0.054684147238731384,
-0.009822352789342403,
0.04446962848305702,
0.00023056764621287584,
0.052787166088819504,
-0.025207968428730965,
0.03306949883699417,
0.01484753005206585,
0.00461933296173811,
0.000024884348022169434,
0.0024145476054400206,
0.0029799940530210733,
-0.024642521515488625,
0.08594786375761032,
-0.06106821820139885,
-0.040383823215961456,
0.005540463607758284,
-0.0676346942782402,
-0.06737933307886124,
-0.04198896139860153,
0.010123316198587418,
0.019717665389180183,
-0.02092151902616024,
-0.020191911607980728,
0.018896857276558876,
0.01815812848508358,
0.0012756745563820004,
-0.0067534372210502625,
0.011719333939254284,
0.04851895570755005,
-0.018532052636146545,
0.0570918545126915,
0.013306232169270515,
-0.020775597542524338,
0.029932182282209396,
0.019845347851514816,
0.02338394708931446,
-0.05610688403248787,
0.046293649822473526,
-0.02413179725408554,
0.006785357836633921,
0.05614336207509041,
-0.01294142846018076,
0.007733848411589861,
-0.05588800087571144,
-0.01719139702618122,
0.01737379841506481,
0.046877335757017136,
-0.04793526977300644,
-0.012777266092598438,
0.044396668672561646,
0.002783911768347025,
0.03571432828903198,
0.04986873269081116,
0.03193860501050949,
0.005399101879447699,
0.03790315240621567,
-0.02774335816502571,
-0.04851895570755005,
0.016489148139953613,
0.06664972007274628,
0.03171972185373306,
0.01799396611750126,
0.005157419014722109,
-0.007606166880577803,
-0.004623892717063427,
-0.01732819899916649,
-0.07945434749126434,
0.005909827537834644,
-0.007788569200783968,
0.01577778160572052,
-0.011381890624761581,
-0.029603859409689903,
-0.02947617694735527,
0.0820079818367958,
-0.00453497190028429,
0.022873222827911377,
0.058660510927438736,
0.005330700892955065,
-0.003955845255404711,
0.0007535486365668476,
0.04906616359949112,
0.0338173471391201,
0.0035614008083939552,
-0.0028751129284501076,
0.03538600355386734,
0.023858193308115005,
0.01886037550866604,
0.05154683068394661,
0.03578728809952736,
-0.0022845861967653036,
-0.00443921098485589,
-0.015267054550349712,
-0.023912914097309113,
-0.032412849366664886,
-0.06799949705600739,
-0.09112808108329773,
0.006329352501779795,
-0.04501683637499809,
0.027816317975521088,
-0.022161854431033134,
-0.012102378532290459,
-0.00903802365064621,
-0.01483840961009264,
0.029202574864029884,
0.01559537835419178,
0.02114040218293667,
-0.015102893114089966,
-0.05760258063673973,
0.03655337914824486,
-0.03932588919997215,
0.011099167168140411,
0.020866798236966133,
-0.006543674971908331,
0.042682088911533356,
0.057347215712070465,
0.008814580738544464,
0.0653364285826683,
0.03830443695187569,
-0.04654901474714279,
-0.10236405581235886,
0.0031031155958771706,
-0.0179118849337101,
-0.023894673213362694,
-0.01942582242190838,
0.007624407298862934,
0.04581940546631813,
0.03728298842906952,
-0.015422096475958824,
0.021395765244960785,
-0.049139123409986496,
-0.0368817038834095,
0.004883816000074148,
0.008084972389042377,
0.0014250163221731782,
-0.06708748638629913,
0.05749313905835152,
-0.01732819899916649,
-0.031865645200014114,
0.021395765244960785,
0.013087349943816662,
-0.02661246433854103,
-0.012357741594314575,
0.013835198245942593,
0.021450486034154892,
-0.02985922247171402,
-0.04924856498837471,
-0.05099962279200554,
-0.02526268921792507,
-0.00912010483443737,
0.009858832694590092,
-0.020793838426470757,
0.02245369739830494,
-0.027305591851472855,
0.007952731102705002,
-0.013807837851345539,
0.06011972948908806,
-0.02013719081878662,
-0.026758385822176933,
0.006689596455544233,
-0.021614648401737213,
0.01999126933515072,
0.04753398522734642,
0.023876434192061424,
0.017264356836676598,
-0.02208889275789261,
-0.027798078954219818,
0.0004742454329971224,
0.01273166574537754,
0.02719615213572979,
0.006534554995596409,
0.06617547571659088,
0.007793129421770573,
-0.05169275030493736,
0.0033493584487587214,
-0.0014204562176018953,
-0.022982662543654442,
0.00406072661280632,
0.03514888137578964,
-0.061323583126068115,
-0.022927941754460335,
0.04804471135139465,
-0.07091793417930603,
-0.05147387087345123,
-0.016780992969870567,
0.0051163784228265285,
-0.00028115572058595717,
-0.10922236740589142,
0.05245884135365486,
0.023931153118610382,
-0.008436096832156181,
0.08361312001943588,
0.02664894424378872,
-0.05971844494342804,
0.006384073290973902,
-0.027104949578642845,
0.04494387283921242,
0.012987028807401657,
0.012202699668705463,
0.012904947623610497,
-0.049358006566762924,
0.06570123136043549,
-0.07091793417930603,
0.017747722566127777,
0.02475196309387684,
-0.08441568911075592,
-0.014345924369990826,
-0.048993200063705444,
-0.0006418273551389575,
-0.030151065438985825,
0.01732819899916649,
0.008417855948209763,
0.011436611413955688,
0.014555687084794044,
-0.05271420255303383,
0.02985922247171402,
-0.04545459896326065,
0.029184333980083466,
-0.009867953136563301,
-0.051838673651218414,
0.0277798380702734,
0.042864490300416946,
0.015440336428582668,
-0.027232632040977478,
0.027725117281079292,
-0.023475149646401405,
-0.0007221982814371586,
0.02719615213572979,
0.002246965654194355,
-0.017173156142234802,
0.007779449224472046,
-0.06340296566486359,
0.008905782364308834,
0.003686802228912711,
-0.05483006685972214,
0.038924604654312134,
0.002610629890114069,
0.041368793696165085,
-0.028071681037545204,
-0.021596407517790794,
0.008978743106126785,
-0.057347215712070465,
-0.015020811930298805,
0.06602955609560013,
-0.008235454559326172,
-0.02911137416958809,
0.018413491547107697,
0.007628967519849539,
-0.013278871774673462,
0.05453822389245033,
0.026010537520051003,
0.008112332783639431,
0.05271420255303383,
-0.009475788101553917,
0.04093102738261223,
-0.018632372841238976,
0.07471189647912979,
-0.0019061018247157335,
0.04494387283921242,
0.041733596473932266,
0.01854117214679718,
0.03126371651887894,
0.01368927676230669,
-0.02431419864296913,
-0.04906616359949112,
0.0024829483591020107,
0.08105948567390442,
0.05118202790617943,
-0.022909702733159065,
-0.06522698700428009,
-0.02453308179974556,
0.02475196309387684,
-0.0034314393997192383,
-0.04436018690466881,
0.03804907575249672,
-0.02965858019888401,
-0.017629161477088928,
0.008458896540105343,
0.010150676593184471,
0.006192550994455814,
-0.06792654097080231
]
|
44,026 | jsons.serializers.default_enum | default_enum_serializer |
Serialize the given obj. By default, the name of the enum element is
returned.
:param obj: an instance of an enum.
:param use_enum_name: determines whether the name or the value should be
used for serialization.
:param _: not used.
:return: ``obj`` serialized as a string.
| def default_enum_serializer(obj: EnumMeta,
*,
use_enum_name: bool = True,
**_) -> str:
"""
Serialize the given obj. By default, the name of the enum element is
returned.
:param obj: an instance of an enum.
:param use_enum_name: determines whether the name or the value should be
used for serialization.
:param _: not used.
:return: ``obj`` serialized as a string.
"""
attr = 'name' if use_enum_name else 'value'
return getattr(obj, attr)
| (obj: enum.EnumMeta, *, use_enum_name: bool = True, **_) -> str | [
0.027207328006625175,
-0.06091568246483803,
-0.02291521430015564,
-0.03521687909960747,
0.008431578055024147,
-0.026255520060658455,
0.03336713835597038,
-0.011924532242119312,
-0.02864401787519455,
-0.09158902615308762,
-0.005261879414319992,
-0.003596216207370162,
-0.0257706381380558,
-0.040191419422626495,
0.039616744965314865,
0.01235553901642561,
-0.04468107596039772,
0.012553083710372448,
0.05987408012151718,
0.09855697304010391,
0.04001183435320854,
0.027368955314159393,
-0.024657202884554863,
0.0227176696062088,
0.002206666860729456,
0.03979633003473282,
-0.028302805498242378,
-0.01820107363164425,
-0.06274746358394623,
-0.004916175734251738,
-0.02505229227244854,
-0.05128985270857811,
0.005522279534488916,
-0.022053200751543045,
-0.03997591510415077,
-0.004588430747389793,
-0.05872472748160362,
0.08986499905586243,
-0.07944899052381516,
-0.038898397237062454,
0.037066616117954254,
-0.0318765714764595,
-0.06332213431596756,
-0.010029896162450314,
-0.022484207525849342,
-0.017069680616259575,
-0.013648560270667076,
0.08002366870641708,
0.05990999937057495,
0.01235553901642561,
0.06648285686969757,
0.000293511402560398,
-0.007838943041861057,
0.019197778776288033,
-0.05351672321557999,
0.009401343762874603,
-0.006150831468403339,
-0.043675392866134644,
0.02226870507001877,
0.06332213431596756,
-0.008934419602155685,
0.04001183435320854,
0.027746086940169334,
-0.01661173440515995,
-0.036294396966695786,
-0.039616744965314865,
0.0077805775217711926,
-0.009109516628086567,
-0.04468107596039772,
0.04730303958058357,
0.004853320308029652,
-0.01315469853579998,
0.024154361337423325,
0.014097526669502258,
0.01694396883249283,
0.017545584589242935,
-0.05750354006886482,
-0.022735629230737686,
-0.029721535742282867,
-0.00297439843416214,
0.03821596875786781,
0.016638673841953278,
-0.020113667473196983,
-0.017042743042111397,
-0.029075026512145996,
0.004790465347468853,
-0.027027741074562073,
-0.05208003520965576,
0.027817921712994576,
-0.04759037494659424,
0.0032505125273019075,
-0.001982184126973152,
-0.004278643988072872,
0.052870213985443115,
-0.04701570048928261,
-0.10178952664136887,
0.0014176095137372613,
0.028787687420845032,
0.013055926188826561,
-0.04938624054193497,
-0.03340305760502815,
-0.04432190582156181,
-0.08512391895055771,
0.015372589230537415,
-0.032828379422426224,
-0.08181952685117722,
0.03803638368844986,
-0.03577359765768051,
0.0337083525955677,
-0.030188461765646935,
-0.005980224814265966,
-0.02138873189687729,
-0.000987724750302732,
0.0017229062505066395,
0.009580930694937706,
0.038934316486120224,
0.031750861555337906,
0.010398047976195812,
0.01847943291068077,
-0.021406689658761024,
-0.0004004213842563331,
0.027207328006625175,
0.001541075180284679,
-0.020401006564497948,
-0.01989816501736641,
0.006487555801868439,
0.05251104012131691,
0.0012907766504213214,
0.0795208215713501,
0.09338489174842834,
0.05082292854785919,
0.028608102351427078,
-0.05150535702705383,
-0.04169994592666626,
0.055204834789037704,
0.04967357590794563,
0.019449198618531227,
0.0660877674818039,
-0.002700529294088483,
0.04838055744767189,
0.018928399309515953,
-0.010568655095994473,
-0.0027790984604507685,
0.019880205392837524,
0.0381082184612751,
0.032397374510765076,
0.0361507274210453,
0.052798379212617874,
-0.0002707825042307377,
-0.0066222455352544785,
0.07449240982532501,
0.03311571851372719,
-0.08390273153781891,
0.009136454202234745,
-0.0010668550385162234,
-0.005850024521350861,
-0.016369294375181198,
-0.05211595073342323,
-0.03372631222009659,
-0.0006829892517998815,
0.015668906271457672,
0.035001374781131744,
-0.021514441817998886,
-0.05193636566400528,
0.060089584439992905,
0.05010458454489708,
-0.0024423738941550255,
0.01759047992527485,
0.030924765393137932,
-0.02146056666970253,
-0.05182861164212227,
-0.06224462017416954,
-0.01833576336503029,
0.04001183435320854,
0.03532462939620018,
0.05994591489434242,
-0.019952040165662766,
0.03609685227274895,
-0.011251083575189114,
-0.005284327547997236,
0.013891002163290977,
0.03406752645969391,
0.01668356917798519,
-0.07873064279556274,
0.013226532377302647,
-0.015399527736008167,
0.045076169073581696,
-0.04008366912603378,
0.005293306894600391,
0.005315755028277636,
0.018183115869760513,
0.024621285498142242,
0.001358121633529663,
0.027315080165863037,
-0.020652426406741142,
-0.009931123815476894,
-0.01837168075144291,
-0.03394181653857231,
0.01695294864475727,
-0.01345999538898468,
0.01844351552426815,
0.06105935201048851,
0.007134066894650459,
-0.0005819719517603517,
-0.028931356966495514,
-0.003847636980935931,
0.07794046401977539,
-0.056426022201776505,
0.019377363845705986,
-0.027746086940169334,
-0.002323398133739829,
-0.030906805768609047,
-0.08081384748220444,
0.0393294058740139,
0.007120597641915083,
0.03433690592646599,
0.015776658430695534,
-0.006523473188281059,
-0.013567746616899967,
0.04881156235933304,
-0.033923856914043427,
0.02199932560324669,
0.006411231588572264,
-0.03218187019228935,
0.032127995043992996,
-0.02657877653837204,
0.006810811348259449,
-0.12140035629272461,
-0.04155627638101578,
0.0040923235937952995,
-0.021173227578401566,
-0.025914305821061134,
-0.009091557934880257,
0.00025885686045512557,
-0.030727220699191093,
0.13770678639411926,
0.04342397302389145,
-0.07549808919429779,
-0.07183452695608139,
0.021568316966295242,
0.022735629230737686,
-0.024836787953972816,
-0.014923623763024807,
0.008907482028007507,
0.027045700699090958,
0.027512624859809875,
0.008772792294621468,
0.017788024619221687,
-0.024657202884554863,
-0.02322051115334034,
0.023202553391456604,
-0.009616848081350327,
0.014941582456231117,
-0.05139760673046112,
-0.04662061110138893,
-0.027009783312678337,
-0.07456424087285995,
0.05480974540114403,
-0.005392079241573811,
-0.0009080333402380347,
-0.037749044597148895,
-0.05391181632876396,
-0.02867993526160717,
-0.0023952326737344265,
0.0002754124579951167,
0.0022089118137955666,
0.007901798002421856,
0.020796095952391624,
0.007758129388093948,
-0.0255910512059927,
0.0819631963968277,
-0.07564175873994827,
-0.02979337051510811,
0.002135954797267914,
0.0024042120203375816,
-0.023956814780831337,
-0.015255858190357685,
-0.05865289270877838,
0.0013412854168564081,
0.02196340821683407,
-0.027782004326581955,
-0.04033508896827698,
0.027333037927746773,
0.034121401607990265,
-0.01996999979019165,
-0.0015747476136311889,
0.000873799726832658,
-0.007205901201814413,
-0.018838604912161827,
-0.004628837574273348,
0.059443071484565735,
0.0014209768269211054,
-0.030619468539953232,
-0.007295694202184677,
0.02688407339155674,
-0.025644926354289055,
0.013451015576720238,
-0.05779087916016579,
0.032361455261707306,
0.028769729658961296,
-0.002700529294088483,
0.02298704907298088,
0.006981418468058109,
-0.0013244490837678313,
-0.048057299107313156,
-0.031607192009687424,
0.012777566909790039,
-0.04051467403769493,
-0.007740170694887638,
-0.008516881614923477,
-0.05836555361747742,
0.045614928007125854,
0.013451015576720238,
0.000048930258344626054,
0.01722232811152935,
0.043172553181648254,
0.028931356966495514,
-0.006155321374535561,
0.07370223104953766,
0.03738987445831299,
-0.036294396966695786,
0.047985464334487915,
-0.07327122241258621,
-0.029919082298874855,
0.023112760856747627,
-0.03379814699292183,
-0.023543767631053925,
0.05272654443979263,
0.02196340821683407,
-0.06759629398584366,
-0.02596818283200264,
-0.07628826797008514,
-0.0002190111408708617,
0.004229257814586163,
-0.05480974540114403,
-0.009778475388884544,
0.07772496342658997,
0.028787687420845032,
-0.04241828992962837,
0.039616744965314865,
-0.00005440202949102968,
0.03580951318144798,
-0.0059173693880438805,
0.02138873189687729,
-0.019269611686468124,
0.036599691957235336,
0.017805984243750572,
0.02817709371447563,
0.04227462038397789,
0.022160952910780907,
-0.012993070296943188,
-0.01315469853579998,
0.0221070758998394,
0.024603325873613358,
-0.021855656057596207,
-0.016701528802514076,
0.026435106992721558,
-0.009697661735117435,
-0.0026264500338584185,
0.009661744348704815,
-0.06429190188646317,
-0.047518540173769,
0.013720395043492317,
0.014735057950019836,
0.0337083525955677,
-0.04593818262219429,
-0.0246751606464386,
-0.01205024216324091,
0.055276669561862946,
-0.02417231909930706,
-0.039508990943431854,
0.046261437237262726,
-0.01844351552426815,
-0.03814413398504257,
0.028213011100888252,
0.057216204702854156,
0.030493758618831635,
0.03440874069929123,
0.03474995493888855,
-0.029703577980399132,
0.026794278994202614,
-0.0045974100939929485,
-0.004060895647853613,
0.05272654443979263,
0.0009400221752002835,
-0.012669814750552177,
0.06274746358394623,
0.014465678483247757,
0.016764383763074875,
-0.037174370139837265,
-0.06917665153741837,
0.022520124912261963,
-0.019916122779250145,
-0.022250745445489883,
-0.025519216433167458,
-0.04460924118757248,
-0.0338340625166893,
-0.01783292181789875,
-0.038898397237062454,
0.01181678008288145,
0.024495573714375496,
0.022520124912261963,
-0.016189707443118095,
-0.014330988749861717,
-0.03304388374090195,
0.05682111158967018,
-0.018730852752923965,
-0.0009119617752730846,
0.014106505550444126,
-0.02722528763115406,
-0.04044283926486969,
-0.05969449505209923,
-0.015049333684146404,
-0.07750945538282394,
0.032289620488882065,
0.018497390672564507,
0.0411611869931221,
0.04403456673026085,
0.04967357590794563,
-0.006132872775197029,
-0.03040396422147751,
0.029200736433267593,
0.040191419422626495,
0.05247512459754944,
0.029380323365330696,
-0.0034907092340290546,
0.04205911606550217,
-0.011367814615368843,
0.0016308682970702648,
0.013702436350286007,
0.036114808171987534,
-0.04554309323430061,
-0.0016218889504671097,
-0.08792546391487122,
0.047985464334487915,
0.006783873308449984,
-0.0006364090368151665,
-0.06666244566440582,
-0.07923348993062973,
0.005809617694467306,
-0.02573472075164318,
-0.030727220699191093,
-0.05190044641494751,
0.027027741074562073,
-0.009859289042651653,
0.0034300987608730793,
-0.051720861345529556,
0.060592424124479294,
0.05595909804105759,
-0.03424711152911186,
0.03288225457072258,
0.009886227548122406,
0.025878388434648514,
-0.02481883019208908,
-0.038934316486120224,
-0.04554309323430061,
0.02657877653837204,
0.0040159993804991245,
0.024010691791772842,
-0.011771883815526962,
0.025339629501104355,
0.014932602643966675,
-0.010092751123011112,
0.026722444221377373,
0.004527820274233818,
0.06443557143211365,
-0.0022167686838656664,
0.0047680167481303215,
-0.014896685257554054,
-0.04407048225402832,
0.0344446562230587,
0.05243920534849167,
0.018587185069918633,
-0.03703070059418678,
-0.03983224555850029,
0.029416240751743317,
-0.02111935243010521,
-0.010775179602205753,
-0.0456867590546608,
-0.03674336150288582,
0.0009804291184991598,
-0.003023784840479493,
0.033205512911081314,
0.004545778967440128,
-0.001772292540408671,
0.02918277680873871,
0.00635735597461462,
0.044357821345329285,
-0.0019462667405605316,
0.02016754448413849,
0.027081618085503578,
0.04697978124022484,
-0.024890664964914322,
0.020724261179566383,
0.020724261179566383,
0.049781329929828644,
-0.014268133789300919,
-0.03272062912583351,
-0.018605142831802368,
0.020436923950910568,
0.07032600790262222,
-0.08548308908939362,
-0.052942048758268356,
0.01332530565559864,
-0.02948807366192341,
-0.06447149068117142,
-0.03882656246423721,
-0.012445332482457161,
0.006703059654682875,
-0.016665611416101456,
-0.0050598448142409325,
-0.0008547186735086143,
0.029092984274029732,
0.007605480961501598,
0.0016735200770199299,
0.005733293481171131,
0.04126893728971481,
-0.0015758699737489223,
0.048524223268032074,
-0.01790475659072399,
-0.037138450890779495,
0.01684519648551941,
-0.006721018347889185,
0.017024783417582512,
-0.02864401787519455,
0.037138450890779495,
-0.034731995314359665,
0.01816515624523163,
0.0025927776005119085,
0.041340772062540054,
0.02749466709792614,
-0.01762639731168747,
-0.031481482088565826,
0.035881347954273224,
0.009109516628086567,
-0.013908960856497288,
-0.01708763837814331,
0.038359638303518295,
0.028859522193670273,
0.020383046939969063,
0.031104350462555885,
0.006065527908504009,
0.03017050214111805,
-0.004628837574273348,
-0.005208003334701061,
-0.028823604807257652,
0.02383110485970974,
0.0701104998588562,
0.05060742795467377,
-0.051720861345529556,
0.0031494952272623777,
-0.003528871340677142,
-0.018874522298574448,
-0.021263020113110542,
-0.05003274977207184,
-0.0028688914608210325,
0.005100251641124487,
0.02481883019208908,
0.0004947041743434966,
-0.005553707014769316,
-0.01820107363164425,
0.10250787436962128,
-0.004045181907713413,
-0.007062232121825218,
0.060089584439992905,
0.03264879435300827,
0.003281940007582307,
-0.008225053548812866,
0.052151869982481,
0.010748241096735,
-0.003158474573865533,
-0.039006151258945465,
0.04166402667760849,
-0.007924246601760387,
0.01711457595229149,
0.083543561398983,
0.046836111694574356,
0.03738987445831299,
-0.03695886582136154,
0.005055354908108711,
-0.0448247455060482,
-0.02379518747329712,
-0.06655469536781311,
-0.10092751681804657,
0.037784963846206665,
-0.042597874999046326,
0.023076843470335007,
0.0018418822437524796,
-0.018389640375971794,
0.023884981870651245,
-0.05128985270857811,
0.01674642413854599,
0.02841055579483509,
0.003921716473996639,
0.020706303417682648,
-0.053552642464637756,
0.022502167150378227,
-0.05190044641494751,
0.01330734696239233,
0.02386702224612236,
0.0233282633125782,
0.05197228118777275,
0.03413936123251915,
0.04960174113512039,
0.040802013128995895,
0.04884748160839081,
-0.049745410680770874,
-0.06580042839050293,
0.011143331415951252,
0.021747903898358345,
-0.05017641931772232,
0.036258477717638016,
-0.012436352670192719,
0.007111618295311928,
0.02138873189687729,
-0.018928399309515953,
0.007847921922802925,
-0.03340305760502815,
-0.023849064484238625,
-0.0048308721743524075,
0.043064799159765244,
0.026453064754605293,
-0.06116710230708122,
-0.00613736268132925,
-0.017922714352607727,
-0.05380406230688095,
0.015112189576029778,
0.0007003866485320032,
-0.023202553391456604,
-0.06228053569793701,
-0.0016679080436006188,
-0.005342693068087101,
-0.0351809598505497,
-0.06084384769201279,
-0.041304852813482285,
-0.026022057980298996,
-0.013953857123851776,
-0.006393273361027241,
-0.037174370139837265,
0.010056833736598492,
-0.0034233643673360348,
0.014295071363449097,
-0.0010185912251472473,
0.02230462059378624,
-0.004709651228040457,
0.03577359765768051,
-0.025537176057696342,
-0.03426507115364075,
0.010523758828639984,
-0.018389640375971794,
-0.031248020008206367,
-0.009931123815476894,
-0.03800046443939209,
-0.0022987050469964743,
0.01724926568567753,
0.04547125846147537,
0.022160952910780907,
0.03421119600534439,
0.04572267830371857,
-0.008539329282939434,
-0.0723014548420906,
-0.0019855513237416744,
0.025411464273929596,
-0.0313916876912117,
0.000032865700632100925,
0.03979633003473282,
-0.05452240630984306,
-0.01613583043217659,
0.052834298461675644,
-0.08095751702785492,
-0.05840147286653519,
0.004433537367731333,
0.030565591529011726,
-0.02512412704527378,
-0.09202003479003906,
0.06422007083892822,
0.003964368253946304,
0.036563776433467865,
0.08160402625799179,
-0.015606051310896873,
-0.0572880357503891,
-0.015417485497891903,
-0.01220289058983326,
0.06425599008798599,
0.029990917071700096,
-0.02058059349656105,
0.009688681922852993,
-0.049745410680770874,
0.06759629398584366,
-0.02562696859240532,
-0.016046037897467613,
-0.0324871651828289,
-0.06921257078647614,
-0.0029766433872282505,
0.0028935845475643873,
0.0349295400083065,
0.007960163988173008,
0.035378504544496536,
-0.010676407255232334,
-0.004523330368101597,
0.033852022141218185,
-0.04407048225402832,
0.04830872267484665,
-0.015327692963182926,
0.05064334347844124,
-0.032056160271167755,
0.006810811348259449,
0.006707549095153809,
0.06809913367033005,
0.005401058588176966,
-0.021568316966295242,
0.037066616117954254,
-0.02593226544559002,
0.018147198483347893,
-0.01955695077776909,
-0.021065475419163704,
-0.004357213154435158,
0.03536054864525795,
-0.05330122262239456,
0.02207115851342678,
-0.012804504483938217,
-0.011718007735908031,
0.0028441983740776777,
-0.0257706381380558,
0.02027529664337635,
-0.01905410923063755,
-0.025680843740701675,
0.022196870297193527,
-0.06411232054233551,
0.0013996509369462729,
0.049924999475479126,
-0.0036433576606214046,
-0.007812005002051592,
0.008584226481616497,
0.05488158017396927,
0.01684519648551941,
0.07556992769241333,
0.039006151258945465,
-0.010424986481666565,
0.035611968487501144,
0.015534217469394207,
0.05452240630984306,
-0.010074792429804802,
0.03216391056776047,
0.04776996374130249,
0.026758361607789993,
0.06170586124062538,
0.01925165392458439,
0.004069874994456768,
0.0481291338801384,
-0.004166402854025364,
-0.03800046443939209,
-0.029775412753224373,
0.032253704965114594,
0.03516300395131111,
0.009868268854916096,
-0.05743170529603958,
0.010469882749021053,
0.025573093444108963,
-0.013262449763715267,
-0.0255910512059927,
0.025034334510564804,
-0.011682090349495411,
-0.010927828028798103,
0.010541717521846294,
0.04094568267464638,
-0.007183453068137169,
-0.0640045627951622
]
|
44,027 | jsons.deserializers.default_iterable | default_iterable_deserializer |
Deserialize a (JSON) list into an ``Iterable`` by deserializing all items
of that list. The given obj is assumed to be homogeneous; if the list has a
generic type (e.g. Set[datetime]) then it is assumed that all elements can
be deserialized to that type.
:param obj: The list that needs deserializing to an ``Iterable``.
:param cls: The type, optionally with a generic (e.g. Deque[str]).
:param kwargs: Any keyword arguments.
:return: A deserialized ``Iterable`` (e.g. ``set``) instance.
| def default_iterable_deserializer(
obj: list,
cls: type,
**kwargs) -> Iterable:
"""
Deserialize a (JSON) list into an ``Iterable`` by deserializing all items
of that list. The given obj is assumed to be homogeneous; if the list has a
generic type (e.g. Set[datetime]) then it is assumed that all elements can
be deserialized to that type.
:param obj: The list that needs deserializing to an ``Iterable``.
:param cls: The type, optionally with a generic (e.g. Deque[str]).
:param kwargs: Any keyword arguments.
:return: A deserialized ``Iterable`` (e.g. ``set``) instance.
"""
cls_ = Mapping
if hasattr(cls, '__args__'):
cls_ = IterableType[cls.__args__]
list_ = default_list_deserializer(obj, cls_, **kwargs)
result = list_
naked_cls = get_naked_class(cls)
if not isinstance(result, naked_cls):
result = naked_cls(list_)
return result
| (obj: list, cls: type, **kwargs) -> collections.abc.Iterable | [
-0.0025380603037774563,
-0.009560937061905861,
-0.03242167457938194,
-0.047959331423044205,
-0.04381110519170761,
0.04890541732311249,
0.008664882741868496,
0.05108869820833206,
0.03442301228642464,
0.011907960288226604,
0.017629966139793396,
0.0073958528228104115,
-0.06302394717931747,
-0.005403612274676561,
0.00933351181447506,
0.03216695785522461,
-0.044065821915864944,
0.026799732819199562,
0.03904428333044052,
0.007295785937458277,
0.036497123539447784,
-0.02274247445166111,
-0.00962461531162262,
0.06648080050945282,
0.014646153897047043,
-0.0034432108514010906,
0.0344775915145874,
0.006140468176454306,
-0.0557827427983284,
-0.0012201338540762663,
0.02740013413131237,
-0.00818274263292551,
-0.01944936439394951,
0.022960802540183067,
0.030675049871206284,
-0.01604709029197693,
-0.0456668920814991,
0.0680454894900322,
-0.05603745952248573,
-0.03673364594578743,
-0.0123355183750391,
-0.011534983292222023,
0.02741832844913006,
-0.012945016846060753,
0.01248107012361288,
0.004716789349913597,
0.020340869203209877,
-0.004225552082061768,
-0.015992509201169014,
-0.059821806848049164,
-0.0034227424766868353,
-0.012744883075356483,
0.025598930194973946,
0.03458675742149353,
0.038134582340717316,
0.01118020061403513,
-0.004500736016780138,
0.035805754363536835,
0.002667692257091403,
0.06225980073213577,
0.020450033247470856,
-0.001911505009047687,
-0.020741136744618416,
-0.061568427830934525,
-0.002005886286497116,
-0.00849658902734518,
-0.04945123940706253,
-0.020559197291731834,
-0.023470234125852585,
0.03398635610938072,
-0.0076232776045799255,
0.037370435893535614,
0.008150903508067131,
0.018685217946767807,
0.02157806046307087,
0.015719598159193993,
-0.0341682955622673,
0.04715879634022713,
0.0285827424377203,
0.012362809851765633,
-0.015182876959443092,
0.01813030056655407,
-0.003045217366889119,
-0.012253645807504654,
-0.03276735916733742,
-0.01501003373414278,
0.003331772517412901,
0.01893993280827999,
-0.00010959030623780563,
-0.0010796990245580673,
-0.010516120120882988,
0.020959464833140373,
-0.037843480706214905,
-0.022888027131557465,
-0.09162488579750061,
-0.009310769848525524,
-0.04399304464459419,
-0.00004079431528225541,
0.019285619258880615,
0.00028925586957484484,
-0.015328428708016872,
-0.023397458717226982,
0.00028442309121601284,
0.005521873012185097,
-0.01974046789109707,
-0.038534849882125854,
0.045230235904455185,
-0.008546622470021248,
-0.01618354581296444,
-0.007159331347793341,
-0.016247224062681198,
0.06124093756079674,
-0.026763344183564186,
0.008228227496147156,
0.007595986593514681,
0.004368829540908337,
0.016147157177329063,
-0.0686640813946724,
0.0005284782964736223,
-0.0666627436876297,
-0.06353338062763214,
0.03216695785522461,
-0.04613993316888809,
0.040863677859306335,
-0.01846688985824585,
0.004227826371788979,
0.046904079616069794,
-0.0025517058093100786,
0.05814795941114426,
0.054654717445373535,
0.03349511697888374,
0.02468923106789589,
-0.05487304553389549,
0.02974715828895569,
0.058366287499666214,
-0.011580468155443668,
-0.02874648943543434,
-0.010816321708261967,
0.0008249832899309695,
-0.024634649977087975,
0.03995398059487343,
-0.03613324463367462,
0.040281470865011215,
0.04937846213579178,
-0.05356307700276375,
-0.02294260822236538,
0.0376979261636734,
0.025580735877156258,
-0.005421806126832962,
0.017293378710746765,
0.0007260535494424403,
0.030875183641910553,
-0.007918929681181908,
0.005994916427880526,
-0.021596254780888557,
-0.0014589297352358699,
-0.04577605426311493,
-0.0090424083173275,
0.0074140471406280994,
-0.045521337538957596,
-0.01822127029299736,
0.01748441532254219,
0.022123880684375763,
0.0035387291572988033,
0.03480508551001549,
0.044247761368751526,
-0.05829351395368576,
-0.05141618847846985,
0.028437191620469093,
0.0022253512870520353,
-0.007386756129562855,
-0.05538247525691986,
0.034659530967473984,
-0.04635826125741005,
0.05316280946135521,
0.07546862959861755,
0.022032910957932472,
0.009706488810479641,
0.021614449098706245,
0.030766021460294724,
-0.029583411291241646,
-0.04446608945727348,
-0.0006669230642728508,
-0.06287839263677597,
0.047449901700019836,
0.03476869687438011,
0.0011086956365033984,
-0.014082140289247036,
-0.014309565536677837,
-0.01743892952799797,
0.011416723020374775,
0.02807331085205078,
0.02030448243021965,
-0.06011291220784187,
-0.05327197536826134,
0.058948494493961334,
-0.06990127265453339,
0.010288695804774761,
0.013045083731412888,
0.055928293615579605,
-0.024179799482226372,
0.027254583314061165,
0.03729765862226486,
-0.030547693371772766,
-0.01602889597415924,
-0.012399197556078434,
0.014300468377768993,
-0.04683130607008934,
0.029656188562512398,
-0.0239068903028965,
0.030202006921172142,
0.01151678990572691,
-0.05338113754987717,
-0.013245217502117157,
0.04217364639043808,
0.02332468330860138,
0.016329096630215645,
-0.05159812793135643,
-0.0033476923126727343,
-0.024998528882861137,
0.01981324516236782,
-0.05181645601987839,
-0.08172735571861267,
0.0005463879788294435,
0.03706113621592522,
-0.027927760034799576,
-0.025890033692121506,
-0.021305151283740997,
-0.016483746469020844,
-0.052034784108400345,
-0.027036255225539207,
-0.0076278261840343475,
0.013418060727417469,
-0.0034795987885445356,
0.025089498609304428,
0.05236227437853813,
0.02352481707930565,
-0.07055625319480896,
-0.03247625380754471,
0.05167090520262718,
-0.00690006697550416,
0.000620300997979939,
-0.0034795987885445356,
-0.030565887689590454,
-0.05712909623980522,
0.0983930453658104,
-0.005963076837360859,
0.05178006738424301,
-0.014164013788104057,
-0.01224454864859581,
0.04031785950064659,
0.01587424799799919,
0.022960802540183067,
-0.0622234120965004,
0.0493420735001564,
-0.036770034581422806,
-0.029947292059659958,
-0.026363076642155647,
0.0004244314332026988,
-0.010870902799069881,
0.02565351128578186,
-0.0213779266923666,
-0.0239068903028965,
0.061277326196432114,
-0.020722944289445877,
0.0355510376393795,
-0.002558528445661068,
0.02148709073662758,
-0.010234113782644272,
0.04865070432424545,
0.08223678916692734,
-0.029128562659025192,
0.06400642544031143,
-0.030929766595363617,
0.004377926699817181,
0.005822073668241501,
0.024798395112156868,
-0.03817097097635269,
-0.0090787960216403,
0.010297792963683605,
-0.01972227543592453,
-0.0030611371621489525,
0.02525324374437332,
-0.01851237565279007,
0.008974180556833744,
-0.019667692482471466,
0.00840561930090189,
0.03154836222529411,
-0.05396334454417229,
0.01862153969705105,
0.06688106805086136,
-0.021250568330287933,
-0.007050167303532362,
-0.049705952405929565,
0.01837592013180256,
0.011635050177574158,
-0.052616991102695465,
-0.0221420731395483,
0.025198662653565407,
-0.022032910957932472,
-0.024543680250644684,
-0.04817765951156616,
0.016556521877646446,
0.029910903424024582,
0.042137257754802704,
-0.043883878737688065,
-0.007928026840090752,
0.01209899690002203,
-0.05258060246706009,
0.01025230810046196,
0.015564950183033943,
0.017711840569972992,
0.006790902931243181,
-0.04373832792043686,
-0.0033636121079325676,
-0.002979264361783862,
0.01030689012259245,
0.06586220860481262,
0.0008045150898396969,
0.021250568330287933,
-0.0744861587882042,
0.06517083942890167,
-0.001167826121672988,
0.01582876220345497,
0.04355638846755028,
0.027764013037085533,
0.05050648748874664,
0.05199839547276497,
0.03562381491065025,
0.028491772711277008,
0.005571906454861164,
-0.04890541732311249,
-0.03695197403430939,
0.020450033247470856,
0.024798395112156868,
-0.0020411370787769556,
0.03666086867451668,
0.0123355183750391,
0.016247224062681198,
-0.051634516566991806,
-0.10225016623735428,
0.002117324387654662,
0.013208829797804356,
0.023543009534478188,
-0.03720669075846672,
0.060585953295230865,
0.01963130384683609,
0.0026199331041425467,
0.03353150561451912,
0.04806849732995033,
0.01414581947028637,
-0.022869832813739777,
0.037661537528038025,
-0.014891772530972958,
-0.050397325307130814,
-0.017038661986589432,
-0.018685217946767807,
0.005462742410600185,
-0.01690220832824707,
-0.06225980073213577,
0.00721391336992383,
-0.024034248664975166,
-0.009074247442185879,
-0.03305846080183983,
0.0246710367500782,
-0.003602408105507493,
-0.026690568774938583,
-0.07743357867002487,
0.03427745774388313,
0.012917726300656796,
-0.04304695874452591,
0.03593311086297035,
-0.06371531635522842,
-0.03584213927388191,
0.0018694314640015364,
-0.005071572028100491,
-0.030165620148181915,
0.0637517049908638,
-0.01662929728627205,
0.10516120493412018,
-0.03225792571902275,
-0.05585552006959915,
0.0513434112071991,
-0.029601605609059334,
0.04865070432424545,
-0.047850169241428375,
0.024161605164408684,
0.02341565303504467,
-0.016283612698316574,
-0.047668229788541794,
-0.015856053680181503,
-0.011489498429000378,
-0.014837190508842468,
-0.04654020071029663,
-0.021941939368844032,
-0.06626247614622116,
0.02323371358215809,
0.011589565314352512,
-0.007991706021130085,
0.009124280884861946,
-0.0056901671923696995,
0.023670367896556854,
0.055236924439668655,
0.004484815988689661,
-0.016738461330533028,
-0.006859130691736937,
0.04228280857205391,
-0.13492655754089355,
0.017311573028564453,
0.012790367938578129,
0.12299130856990814,
0.008837725967168808,
0.02945605479180813,
-0.025416990742087364,
0.07488642632961273,
0.04588521644473076,
-0.012171773239970207,
0.04246474802494049,
0.016547424718737602,
0.007500468287616968,
0.03496883064508438,
-0.004227826371788979,
0.04937846213579178,
0.02263331227004528,
-0.009115183725953102,
-0.022615117952227592,
-0.008451104164123535,
-0.002124147256836295,
0.008282809518277645,
-0.07575973123311996,
0.052798930555582047,
-0.08456561714410782,
-0.03857123851776123,
-0.022414984181523323,
0.013299799524247646,
0.016984080895781517,
0.01189886312931776,
-0.035332709550857544,
-0.02157806046307087,
-0.026581404730677605,
-0.022014716640114784,
0.010761739686131477,
0.002629030030220747,
-0.025708094239234924,
0.06011291220784187,
-0.0026040133088827133,
-0.031530167907476425,
0.05556441470980644,
0.025507960468530655,
0.024070635437965393,
0.04217364639043808,
0.030675049871206284,
0.06582581996917725,
0.023179130628705025,
-0.020650167018175125,
-0.03505979850888252,
0.07859799265861511,
0.010998261161148548,
-0.011771504767239094,
-0.026181137189269066,
0.06855491548776627,
-0.03354969993233681,
0.03777070343494415,
-0.056510504335165024,
0.04599438235163689,
0.014691638760268688,
-0.05327197536826134,
0.039117056876420975,
-0.02487117052078247,
-0.033167626708745956,
0.02652682363986969,
0.002175317844375968,
0.020868495106697083,
-0.021996522322297096,
-0.01451879646629095,
0.04442970082163811,
0.03787986561655998,
-0.0037707025185227394,
-0.03051130473613739,
-0.011225685477256775,
0.008141806349158287,
-0.02263331227004528,
0.04966956749558449,
-0.059712644666433334,
-0.028036924079060555,
-0.019576722756028175,
-0.025890033692121506,
0.019685886800289154,
-0.006245083641260862,
0.06520722806453705,
0.017384348437190056,
0.06120454892516136,
-0.05247144028544426,
0.017675451934337616,
0.01855785958468914,
-0.004211906343698502,
0.01215357892215252,
0.002105953171849251,
0.04293779283761978,
-0.05276254191994667,
0.05811157450079918,
-0.02428896352648735,
0.03380441665649414,
0.03060227446258068,
-0.046103544533252716,
-0.006531639024615288,
-0.011989832855761051,
0.02245137095451355,
-0.03358608856797218,
0.03305846080183983,
-0.010425150394439697,
0.019576722756028175,
0.013590903021395206,
-0.017657257616519928,
-0.00858301017433405,
-0.019667692482471466,
0.0016579264774918556,
-0.02177819423377514,
0.03762515261769295,
-0.010679866187274456,
-0.00750501686707139,
0.020959464833140373,
-0.016820333898067474,
0.014118528924882412,
-0.02876468189060688,
0.024762006476521492,
0.006195050198584795,
-0.017666354775428772,
0.058839332312345505,
0.01893993280827999,
0.013390769250690937,
-0.03798903152346611,
-0.030729632824659348,
-0.021596254780888557,
0.016847625374794006,
0.012180869467556477,
0.01515558548271656,
-0.009943010285496712,
0.06793632358312607,
0.027945954352617264,
0.060877058655023575,
0.07212093472480774,
0.010425150394439697,
0.007746086921542883,
-0.004944214131683111,
-0.047559063881635666,
-0.04624909907579422,
0.048723477870225906,
0.008423812687397003,
0.059530701488256454,
-0.006354247685521841,
-0.054763879626989365,
-0.011089230887591839,
0.03420468419790268,
-0.08674889802932739,
-0.07255759090185165,
0.008601204492151737,
-0.008996923454105854,
-0.04166421294212341,
0.0285827424377203,
-0.031330034136772156,
0.10305070132017136,
-0.023288294672966003,
-0.018630634993314743,
0.07084736227989197,
0.057565752416849136,
0.0521075576543808,
0.04672214016318321,
-0.026545017957687378,
-0.01609257608652115,
0.011389431543648243,
0.03189404681324959,
0.03100254200398922,
0.006390635389834642,
0.027472909539937973,
0.044648028910160065,
0.01851237565279007,
-0.062041472643613815,
-0.030729632824659348,
-0.053017258644104004,
-0.02563531883060932,
-0.0037365886382758617,
0.018921740353107452,
-0.10894555598497391,
0.03238528594374657,
-0.04646742716431618,
-0.0007721070433035493,
-0.00765056861564517,
-0.06356976926326752,
0.006927357986569405,
0.023288294672966003,
0.048541538417339325,
-0.0015510368393734097,
0.02690889686346054,
-0.02585364505648613,
-0.04763184115290642,
0.007495919708162546,
-0.03587852790951729,
-0.07568696141242981,
-0.03398635610938072,
-0.002633578609675169,
0.0781613364815712,
0.014418729580938816,
0.017620868980884552,
0.06120454892516136,
-0.05822073668241501,
-0.05683799460530281,
-0.029674381017684937,
0.04577605426311493,
0.01952214166522026,
-0.01705685630440712,
0.030656857416033745,
0.0870399996638298,
-0.023397458717226982,
0.004093645606189966,
-0.02059558592736721,
-0.008282809518277645,
0.04246474802494049,
-0.003331772517412901,
-0.008669431321322918,
0.02554434910416603,
-0.027745820581912994,
-0.0026040133088827133,
0.036187827587127686,
-0.038025420159101486,
-0.030183812603354454,
-0.03527812659740448,
-0.00455531757324934,
0.014418729580938816,
-0.016911305487155914,
0.02012254297733307,
-0.02243317849934101,
0.04734073579311371,
-0.006176856346428394,
-0.021796388551592827,
-0.04341083765029907,
-0.019467558711767197,
0.04090006649494171,
-0.02932869642972946,
-0.01088909711688757,
0.002483478281646967,
-0.008892307989299297,
-0.0029610702767968178,
0.017957458272576332,
-0.047486286610364914,
-0.05541886389255524,
0.012608428485691547,
0.04777739197015762,
0.06397003680467606,
0.0376979261636734,
0.011553177610039711,
0.04355638846755028,
0.005903946701437235,
0.02905578725039959,
-0.06669913232326508,
0.0011132442159578204,
0.01204441487789154,
-0.03587852790951729,
0.0464310385286808,
0.01458247471600771,
0.011853378266096115,
0.02827344462275505,
-0.04763184115290642,
0.010798127390444279,
0.0462854839861393,
-0.0058539132587611675,
-0.07277592271566391,
-0.02177819423377514,
0.02430715784430504,
-0.03138461709022522,
-0.05399973317980766,
0.009751973673701286,
-0.01681123860180378,
-0.022305820137262344,
-0.05603745952248573,
-0.020249899476766586,
-0.0012917725834995508,
-0.0099612046033144,
0.047267962247133255,
-0.013254314661026001,
-0.06255090236663818,
-0.05560080334544182,
-0.07605084031820297,
0.05963986739516258,
-0.0657530426979065,
-0.0017932441551238298,
-0.0028428093064576387,
-0.05003344640135765,
-0.005681070499122143,
-0.052726153284311295,
0.06393364816904068,
0.021741805598139763,
-0.008018996566534042,
-0.05712909623980522,
-0.02690889686346054,
-0.03002006746828556,
-0.056983545422554016,
0.003042943309992552,
0.01521016750484705,
-0.01833043433725834,
-0.004825953394174576,
-0.0005031772889196873,
0.014891772530972958,
0.032603614032268524,
0.047850169241428375,
0.011835183948278427,
-0.07575973123311996,
0.030584080144762993,
0.03032936528325081,
-0.007968963123857975,
-0.023724950850009918,
0.043192509561777115,
-0.015101003460586071,
-0.09417203813791275,
-0.0007226421730592847,
-0.049487628042697906,
0.0783068910241127,
0.001540802652016282,
-0.04250113666057587,
0.0014646154595538974,
0.015719598159193993,
-0.0321851521730423,
0.02175999991595745,
0.03547826036810875,
0.03604227304458618,
-0.009679197333753109,
0.030456723645329475,
-0.0029269566293805838,
-0.010143144056200981,
0.006886421702802181,
0.0681910365819931,
-0.004157324321568012,
-0.006877324543893337,
0.018148494884371758,
-0.007814314216375351,
-0.052216723561286926,
-0.03120267577469349,
0.037843480706214905,
-0.03440481796860695,
0.00018137124425265938,
-0.02836441434919834,
-0.024707425385713577,
0.002817792585119605,
0.09111545234918594,
-0.022487759590148926,
-0.0701923742890358,
0.06848213821649551,
0.027127224951982498,
-0.007013779599219561,
0.016929497942328453,
-0.00832829438149929,
0.0011041471734642982,
-0.031075317412614822,
0.03304026648402214,
0.08194568753242493,
-0.02312454953789711,
-0.02234220691025257,
-0.03835291042923927,
-0.020086154341697693,
0.006090434733778238,
-0.050397325307130814,
0.0019547156989574432,
0.024416321888566017,
-0.05396334454417229,
0.017802810296416283,
0.006677190773189068,
0.04446608945727348,
-0.031930435448884964
]
|
44,028 | jsons.serializers.default_iterable | default_iterable_serializer |
Serialize the given ``obj`` to a list of serialized objects.
:param obj: the iterable that is to be serialized.
:param cls: the (subscripted) type of the iterable.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param tasks: the allowed number of tasks (threads or processes).
:param task_type: the type that is used for multitasking.
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a list of which all elements are serialized.
| def default_iterable_serializer(
obj: Iterable,
cls: type = None,
*,
strict: bool = False,
tasks: int = 1,
task_type: type = Process,
**kwargs) -> list:
"""
Serialize the given ``obj`` to a list of serialized objects.
:param obj: the iterable that is to be serialized.
:param cls: the (subscripted) type of the iterable.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param tasks: the allowed number of tasks (threads or processes).
:param task_type: the type that is used for multitasking.
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a list of which all elements are serialized.
"""
# The meta kwarg store_cls is filtered out, because an iterable should have
# its own -meta attribute.
kwargs_ = {**kwargs, 'strict': strict}
kwargs_.pop('_store_cls', None)
if strict:
cls_ = _determine_cls(obj, cls)
subclasses = _get_subclasses(obj, cls_)
else:
subclasses = _get_subclasses(obj, None)
if tasks < 2:
result = [dump(elem, cls=subclasses[i], **kwargs_)
for i, elem in enumerate(obj)]
else:
zipped_objs = list(zip(obj, subclasses))
result = multi_task(_do_dump, zipped_objs, tasks, task_type, **kwargs_)
return result
| (obj: collections.abc.Iterable, cls: Optional[type] = None, *, strict: bool = False, tasks: int = 1, task_type: type = <class 'multiprocessing.context.Process'>, **kwargs) -> list | [
0.007205754518508911,
0.01839047484099865,
-0.054156653583049774,
-0.022538568824529648,
-0.003749751951545477,
0.01874653436243534,
-0.019084790721535683,
-0.006533692125231028,
-0.008474216796457767,
-0.023766973987221718,
0.021541601046919823,
-0.007851112633943558,
-0.02125675417482853,
-0.03266846016049385,
0.01820354349911213,
0.045575618743896484,
-0.03916654735803604,
-0.010744096711277962,
0.05194908380508423,
0.04821046069264412,
0.04735591635107994,
0.008193819783627987,
0.03849003463983536,
0.06309375166893005,
-0.011028943583369255,
0.008367398753762245,
0.059070274233818054,
-0.014990106225013733,
-0.055830132216215134,
-0.003091041697189212,
0.004404011182487011,
-0.003829865250736475,
-0.0034359744749963284,
-0.0042526861652731895,
0.031226420775055885,
-0.02373136766254902,
-0.023072658106684685,
0.09855727851390839,
-0.05237635597586632,
-0.025030985474586487,
0.012898256070911884,
-0.02170182764530182,
-0.04173017665743828,
-0.023090461269021034,
-0.0043261232785880566,
0.03231240063905716,
0.051699843257665634,
0.06377026438713074,
0.0049269734881818295,
-0.03521428629755974,
0.012195038609206676,
-0.016966236755251884,
0.006475832778960466,
0.0007605209248140454,
0.0019282848807051778,
0.028253324329853058,
0.005937292706221342,
-0.0008640006999485195,
-0.011304889805614948,
0.022164706140756607,
0.034893833100795746,
0.023962806910276413,
0.03587299585342407,
-0.02739877998828888,
-0.005372048355638981,
0.018906760960817337,
-0.06629828363656998,
-0.014598440378904343,
-0.02406962402164936,
0.056933917105197906,
0.007922324351966381,
-0.0031177462078630924,
0.0004233770305290818,
0.015666618943214417,
-0.024372274056077003,
0.026829086244106293,
-0.027612416073679924,
0.02209349349141121,
0.015782339498400688,
-0.015550900250673294,
-0.003302452154457569,
-0.005968447774648666,
-0.032882098108530045,
-0.013663784600794315,
-0.011856782250106335,
-0.0264908280223608,
-0.02862718515098095,
0.0012940538581460714,
-0.041480936110019684,
-0.04016351327300072,
-0.026722267270088196,
0.06839903444051743,
-0.011856782250106335,
0.012951665557920933,
-0.06038769707083702,
-0.004646576941013336,
-0.061420269310474396,
-0.007503954693675041,
-0.014838781207799911,
0.014438213780522346,
-0.03841882199048996,
-0.07106947898864746,
-0.02657984383404255,
-0.010477052070200443,
-0.023802580311894417,
-0.08901488035917282,
0.011571934446692467,
0.018532898277044296,
-0.023553337901830673,
-0.011465116403996944,
0.02043781615793705,
0.1062481626868248,
-0.01712646335363388,
0.0073526292107999325,
0.022324932739138603,
-0.013085187412798405,
0.0039900923147797585,
-0.03026505932211876,
-0.007276966702193022,
-0.05237635597586632,
-0.03418171405792236,
0.011482919566333294,
-0.04158775135874748,
0.05095211789011955,
-0.025654088705778122,
0.0058794328942894936,
0.03752867504954338,
0.010379135608673096,
0.06092178449034691,
0.027238553389906883,
0.017482522875070572,
-0.000756626483052969,
-0.05764603614807129,
0.03548133373260498,
0.04938545823097229,
-0.01770506054162979,
-0.044649865478277206,
0.013548064976930618,
-0.03316694498062134,
-0.03418171405792236,
0.0035049610305577517,
-0.08410125970840454,
0.018906760960817337,
0.06013845279812813,
0.02287682518362999,
-0.036958977580070496,
0.03393247351050377,
0.02533363550901413,
0.0006108646048232913,
0.027131736278533936,
0.03437754884362221,
0.04443622753024101,
-0.030763544142246246,
-0.011598639190196991,
-0.036496102809906006,
0.022289326414465904,
-0.015390672720968723,
-0.009382168762385845,
0.01432249415665865,
-0.07890278846025467,
-0.07904521375894547,
0.026829086244106293,
-0.004479674156755209,
0.00886143185198307,
0.047996822744607925,
0.03583739325404167,
-0.023802580311894417,
-0.014153365977108479,
0.008759064599871635,
0.0345911830663681,
-0.002372246701270342,
-0.05404983460903168,
0.001440928434021771,
-0.01965448632836342,
0.040661998093128204,
0.05469074472784996,
0.022965839132666588,
0.009052813053131104,
-0.022716598585247993,
0.028502564877271652,
-0.01926282048225403,
-0.01350355800241232,
0.007276966702193022,
-0.03104839101433754,
0.0366741307079792,
0.00800243765115738,
0.028466958552598953,
-0.013423443771898746,
-0.010655081830918789,
-0.00997856818139553,
-0.0011583061423152685,
0.035356711596250534,
0.018888957798480988,
-0.03966503217816353,
-0.03252603858709335,
0.02819991484284401,
-0.07833309471607208,
-0.024016214534640312,
0.026259390637278557,
0.046323344111442566,
0.011465116403996944,
-0.020152969285845757,
0.07911642640829086,
-0.06636949628591537,
-0.014037647284567356,
-0.01600487530231476,
-0.01881774514913559,
-0.028324535116553307,
-0.0058794328942894936,
0.000027538979338714853,
0.034146107733249664,
-0.007454996462911367,
-0.050061970949172974,
-0.0016935081221163273,
0.08645125478506088,
0.01636093482375145,
0.057788461446762085,
-0.031155208125710487,
-0.011126860044896603,
-0.04742712900042534,
0.025404848158359528,
-0.018906760960817337,
-0.06629828363656998,
-0.004054627846926451,
0.015150332823395729,
-0.04440062493085861,
0.006355662364512682,
-0.05518922582268715,
0.010218908078968525,
-0.013476853258907795,
-0.004014571197330952,
-0.019903726875782013,
-0.015648815780878067,
0.01915600337088108,
0.01671699434518814,
0.05237635597586632,
0.009506789036095142,
-0.0611354224383831,
0.016022678464651108,
0.03380785137414932,
0.01613839901983738,
-0.0036273563746362925,
-0.03382565453648567,
-0.05882103368639946,
-0.012497689574956894,
0.05999603122472763,
0.01303177885711193,
0.027594612911343575,
0.001320758368819952,
0.00037914776476100087,
0.04685743525624275,
-0.02205788716673851,
-0.03108399733901024,
-0.08082551509141922,
0.0029486180283129215,
-0.018568504601716995,
-0.01920941099524498,
-0.01550639234483242,
-0.018888957798480988,
-0.008167115040123463,
-0.01369938999414444,
0.0014765344094485044,
-0.028912033885717392,
0.025048788636922836,
0.008856981061398983,
0.025404848158359528,
-0.006578199565410614,
-0.02773703634738922,
-0.04205062985420227,
0.08039823919534683,
0.026010148227214813,
-0.007913422770798206,
0.03841882199048996,
0.010468150489032269,
-0.024781743064522743,
0.004139191936701536,
0.00240562716498971,
-0.02609916403889656,
-0.014634046703577042,
0.014028745703399181,
-0.004355052951723337,
-0.02609916403889656,
0.01654786616563797,
-0.05561649799346924,
0.021310163661837578,
-0.038632459938526154,
0.0092041390016675,
0.017322296276688576,
-0.040270332247018814,
-0.010512657463550568,
0.014607341960072517,
0.03338057920336723,
0.018906760960817337,
-0.07918763905763626,
0.018960170447826385,
-0.02862718515098095,
-0.046394556760787964,
-0.03589079901576042,
0.026437420397996902,
-0.035338908433914185,
-0.012551098130643368,
-0.027096129953861237,
0.05095211789011955,
0.012649014592170715,
0.015844648703932762,
-0.04037715122103691,
-0.016263019293546677,
0.0033469595946371555,
-0.032116569578647614,
-0.022164706140756607,
0.009021658450365067,
0.010423642583191395,
0.07648158818483353,
-0.01576453633606434,
-0.01449162233620882,
0.036887768656015396,
-0.0007299220305867493,
0.05440589413046837,
-0.0028061941266059875,
0.04974151775240898,
-0.08303308486938477,
0.06195435672998428,
-0.013352232053875923,
0.022770006209611893,
0.07167478650808334,
0.03135104104876518,
0.024407880380749702,
0.00580822117626667,
0.017616044729948044,
0.025013182312250137,
0.027915066108107567,
-0.01920941099524498,
-0.0056034866720438,
0.059390731155872345,
0.0014498298987746239,
0.057005129754543304,
0.04853091388940811,
-0.006938709877431393,
-0.016538964584469795,
-0.03752867504954338,
-0.0489581860601902,
0.034519970417022705,
0.013361133635044098,
0.04158775135874748,
-0.061028603464365005,
0.002092962386086583,
-0.00019833628903143108,
0.0122573496773839,
0.00321566266939044,
0.0245681069791317,
0.012337462976574898,
-0.023001445457339287,
-0.01326321717351675,
0.03631807118654251,
-0.022734401747584343,
-0.004201502539217472,
0.03346959501504898,
-0.00004151709799771197,
-0.005429907701909542,
-0.06448238343000412,
-0.012951665557920933,
-0.04051957279443741,
0.000684858241584152,
-0.008647795766592026,
0.04692864418029785,
-0.000016420812244177796,
0.03316694498062134,
-0.06661874055862427,
0.047533947974443436,
-0.014651849865913391,
-0.03966503217816353,
0.036140043288469315,
-0.04212184250354767,
-0.024799546226859093,
-0.010966633446514606,
0.02611696720123291,
-0.02741658315062523,
0.049563486129045486,
-0.021773040294647217,
0.04931424558162689,
0.009569100104272366,
-0.043866533786058426,
0.0774073377251625,
0.002690474735572934,
0.020152969285845757,
-0.03200975060462952,
0.03962942585349083,
0.03432413935661316,
0.02410523034632206,
-0.017687257379293442,
0.01043254416435957,
0.0009697058703750372,
-0.060992997139692307,
-0.04237108305096626,
-0.03195634111762047,
-0.05355135351419449,
0.048317279666662216,
0.02729196287691593,
-0.04856652021408081,
-0.03966503217816353,
-0.0028239970561116934,
-0.014767568558454514,
0.04400895908474922,
-0.0028061941266059875,
-0.034893833100795746,
-0.004194826353341341,
0.04689304158091545,
-0.12084660679101944,
0.014909992925822735,
0.019832516089081764,
0.08224975317716599,
-0.01369938999414444,
0.02773703634738922,
-0.050382424145936966,
0.0407332107424736,
0.013574769720435143,
-0.028680594637989998,
0.03019384853541851,
0.03181391954421997,
-0.00479345116764307,
0.036496102809906006,
0.04368850588798523,
0.06476722657680511,
0.008140411227941513,
0.02618817798793316,
-0.061455875635147095,
-0.023108262568712234,
-0.013441246934235096,
0.03236581012606621,
-0.043866533786058426,
0.032508235424757004,
-0.056542251259088516,
-0.05351574718952179,
-0.017482522875070572,
0.0530172623693943,
-0.01920941099524498,
0.06373465806245804,
-0.05444150045514107,
0.017936497926712036,
0.04155214875936508,
-0.0017257760046049953,
-0.00481125432997942,
0.006573749240487814,
-0.018621914088726044,
0.03172490373253822,
-0.0046376753598451614,
-0.0326506569981575,
0.030834754928946495,
-0.009097320958971977,
0.06804297864437103,
0.03834760934114456,
0.01876433752477169,
0.06758009642362595,
0.008941545151174068,
-0.01166094932705164,
-0.049171820282936096,
0.12568901479244232,
-0.02935710735619068,
-0.048424094915390015,
-0.024425683543086052,
0.07968612015247345,
-0.03952260687947273,
0.051165755838155746,
0.0010926576796919107,
0.023090461269021034,
-0.0072858682833611965,
-0.04197941720485687,
0.04625213146209717,
-0.00571475550532341,
-0.054085440933704376,
0.022770006209611893,
0.03471580520272255,
-0.012355265207588673,
-0.037742309272289276,
-0.035374514758586884,
0.08068308979272842,
0.010530460625886917,
-0.013743897899985313,
-0.03841882199048996,
-0.020152969285845757,
0.008937094360589981,
-0.026010148227214813,
0.06202556937932968,
-0.02533363550901413,
-0.04586046561598778,
-0.014936697669327259,
0.02618817798793316,
0.012097122147679329,
0.007913422770798206,
0.042620327323675156,
0.030140439048409462,
0.0265620406717062,
-0.037350643426179886,
0.024781743064522743,
0.028306731954216957,
0.03809836879372597,
-0.03562375530600548,
0.03542792424559593,
0.027648022398352623,
-0.02857377752661705,
0.04294078052043915,
-0.000053756644774693996,
0.016521161422133446,
-0.011856782250106335,
-0.005674698855727911,
-0.0408756323158741,
0.015844648703932762,
0.025618482381105423,
-0.047142282128334045,
0.016236314550042152,
-0.006898653227835894,
0.011002239771187305,
-0.04247790202498436,
-0.015995973721146584,
-0.003565046004951,
-0.014865485019981861,
0.013957533054053783,
-0.02574310451745987,
0.05871421471238136,
-0.014162267558276653,
0.013405641540884972,
0.028876427561044693,
-0.021879857406020164,
0.029552940279245377,
-0.006275549065321684,
0.015123628079891205,
-0.025974541902542114,
-0.020704861730337143,
0.03152907267212868,
0.06284450739622116,
0.026633253321051598,
-0.016895024105906487,
-0.0011794471647590399,
-0.01309408899396658,
0.021755237132310867,
0.05134378373622894,
-0.01554199866950512,
0.0014687455259263515,
0.0982012152671814,
-0.022787809371948242,
0.000024079221475403756,
0.03745746240019798,
0.052447568625211716,
-0.015052416361868382,
-0.005581233184784651,
-0.013405641540884972,
0.0015266052214428782,
0.0571119487285614,
-0.019850319251418114,
-0.0019872572738677263,
-0.00018651399295777082,
-0.06170511618256569,
-0.007076682988554239,
0.04689304158091545,
-0.023482125252485275,
-0.04126729816198349,
-0.007997986860573292,
0.0162897240370512,
-0.01513252966105938,
0.032508235424757004,
-0.0048201559111475945,
0.05828694626688957,
-0.06010285019874573,
-0.04005669802427292,
0.03824079409241676,
0.017767369747161865,
0.06480283290147781,
0.010975535027682781,
-0.006885301321744919,
0.003240141784772277,
-0.002728306222707033,
0.03104839101433754,
0.02332189865410328,
-0.02403401769697666,
0.03635367751121521,
0.06166950985789299,
0.00156109849922359,
-0.01041474100202322,
-0.04625213146209717,
-0.06654752790927887,
-0.02495977282524109,
0.03524989262223244,
0.014375903643667698,
-0.09891333431005478,
0.03355861082673073,
-0.05009757727384567,
-0.013806208036839962,
-0.04521955922245979,
-0.035766180604696274,
0.02088289149105549,
0.04319002106785774,
0.06387707591056824,
0.023126065731048584,
0.036994583904743195,
-0.0005396527121774852,
-0.05266120284795761,
-0.00047567326691932976,
-0.03521428629755974,
-0.056506648659706116,
-0.029107866808772087,
0.0026615450624376535,
0.05426347255706787,
0.040661998093128204,
-0.007673082873225212,
0.060280878096818924,
-0.0345911830663681,
-0.05757482722401619,
-0.018621914088726044,
0.04030593857169151,
0.060636937618255615,
-0.04411577433347702,
0.03809836879372597,
0.09043911844491959,
-0.04176578298211098,
-0.0163787379860878,
-0.01576453633606434,
-0.03849003463983536,
0.046715009957551956,
0.01063727866858244,
-0.018408278003335,
0.023410914465785027,
0.015782339498400688,
-0.004370630718767643,
-0.0002620375598780811,
-0.05059605836868286,
0.012853749096393585,
-0.07188841700553894,
-0.022965839132666588,
0.0450059249997139,
-0.03172490373253822,
-0.01554199866950512,
-0.0366741307079792,
0.07997097074985504,
-0.0030687879770994186,
-0.004949227441102266,
-0.08410125970840454,
-0.04571804404258728,
0.051165755838155746,
-0.01958327367901802,
-0.07160357385873795,
0.019690092653036118,
-0.024781743064522743,
0.007370432373136282,
-0.025547271594405174,
-0.025814315304160118,
-0.0571475550532341,
0.006302253808826208,
0.01920941099524498,
0.038596853613853455,
0.016948433592915535,
-0.02042001485824585,
0.0651945024728775,
-0.04037715122103691,
0.0005791530711576343,
-0.06583540886640549,
0.07576946914196014,
0.024532500654459,
-0.03398588299751282,
0.016645783558487892,
-0.003384790848940611,
-0.019672289490699768,
0.030015818774700165,
-0.031279828399419785,
0.0074683488346636295,
0.004401785787194967,
0.009569100104272366,
-0.0650520771741867,
-0.016031580045819283,
-0.002872955286875367,
-0.044685471802949905,
-0.05387180671095848,
0.029196880757808685,
0.03745746240019798,
-0.005986250936985016,
-0.05458392575383186,
-0.0011683203047141433,
-0.0367809496819973,
0.03386126086115837,
-0.021327964961528778,
-0.03756428137421608,
-0.006889751646667719,
-0.055723316967487335,
-0.04030593857169151,
0.03955821320414543,
-0.06092178449034691,
0.029214683920145035,
-0.0407332107424736,
-0.05561649799346924,
0.015159234404563904,
-0.057752855122089386,
0.08759064227342606,
0.056221798062324524,
-0.0032423671800643206,
-0.049563486129045486,
-0.023571141064167023,
0.007419390603899956,
-0.007900070399045944,
0.021523797884583473,
0.04614531621336937,
-0.025191212072968483,
-0.02414083667099476,
-0.030318468809127808,
0.011082353070378304,
0.006676116026937962,
0.041801389306783676,
0.012337462976574898,
-0.06647631525993347,
0.036496102809906006,
0.012524394318461418,
0.00899940449744463,
0.02741658315062523,
0.07313462346792221,
0.002055131131783128,
-0.053622566163539886,
-0.037350643426179886,
-0.03464459255337715,
0.0982012152671814,
0.02161281369626522,
-0.04578925669193268,
0.030816951766610146,
-0.02617037482559681,
-0.025992345064878464,
0.024425683543086052,
-0.014438213780522346,
0.020900694653391838,
0.016832714900374413,
0.037421856075525284,
0.01473196316510439,
0.011456215754151344,
0.013930829241871834,
0.062203601002693176,
-0.011563032865524292,
-0.022680992260575294,
0.009302055463194847,
0.059746790677309036,
-0.036157846450805664,
-0.008434159681200981,
-0.005781516432762146,
-0.060280878096818924,
0.02291243150830269,
-0.008354046382009983,
-0.04372410848736763,
0.024746136739850044,
0.05550967901945114,
-0.05639982968568802,
-0.08246338367462158,
0.0982012152671814,
0.06861267238855362,
-0.032116569578647614,
-0.00034020375460386276,
-0.002594783902168274,
0.005968447774648666,
-0.03788473457098007,
0.03516087681055069,
0.06686797738075256,
0.009756031446158886,
-0.009818341583013535,
-0.036887768656015396,
-0.02985559217631817,
-0.03154687583446503,
-0.07299220561981201,
-0.011785570532083511,
-0.025084393098950386,
0.021505994722247124,
0.039344578981399536,
0.024817349389195442,
0.03557034581899643,
-0.013743897899985313
]
|
44,029 | jsons.deserializers.default_list | default_list_deserializer |
Deserialize a list by deserializing all items of that list.
:param obj: the list that needs deserializing.
:param cls: the type optionally with a generic (e.g. List[str]).
:param warn_on_fail: if ``True``, will warn upon any failure and continue.
:param tasks: the allowed number of tasks (threads or processes).
:param task_type: the type that is used for multitasking.
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments.
:return: a deserialized list instance.
| def default_list_deserializer(
obj: list,
cls: type = None,
*,
warn_on_fail: bool = False,
tasks: int = 1,
task_type: type = Process,
fork_inst: Type[StateHolder] = StateHolder,
**kwargs) -> list:
"""
Deserialize a list by deserializing all items of that list.
:param obj: the list that needs deserializing.
:param cls: the type optionally with a generic (e.g. List[str]).
:param warn_on_fail: if ``True``, will warn upon any failure and continue.
:param tasks: the allowed number of tasks (threads or processes).
:param task_type: the type that is used for multitasking.
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments.
:return: a deserialized list instance.
"""
cls_ = None
kwargs_ = {**kwargs}
cls_args = get_args(cls)
if cls_args:
cls_ = cls_args[0]
# Mark the cls as 'inferred' so that later it is known where cls came
# from and the precedence of classes can be determined.
kwargs_['_inferred_cls'] = True
if tasks == 1:
result = _do_load(obj, cls_, warn_on_fail, fork_inst, kwargs_)
elif tasks > 1:
result = multi_task(load, obj, tasks, task_type, cls_, **kwargs_)
else:
raise JsonsError('Invalid number of tasks: {}'.format(tasks))
return result
| (obj: list, cls: Optional[type] = None, *, warn_on_fail: bool = False, tasks: int = 1, task_type: type = <class 'multiprocessing.context.Process'>, fork_inst: Type[jsons._common_impl.StateHolder] = <class 'jsons._common_impl.StateHolder'>, **kwargs) -> list | [
0.03152880817651749,
0.0037787246983498335,
-0.006137818098068237,
-0.035518620163202286,
-0.013917955569922924,
0.024662615731358528,
0.04071465879678726,
0.022380072623491287,
-0.045242633670568466,
-0.01955936662852764,
0.028040040284395218,
0.003660422284156084,
-0.008981720544397831,
-0.05355628952383995,
0.01789849065244198,
0.05585739389061928,
-0.039601221680641174,
0.008879655040800571,
0.05893789976835251,
-0.00013374285481404513,
0.018650060519576073,
-0.010865283198654652,
0.0026304936036467552,
0.0922667607665062,
0.0019403948681429029,
-0.015634503215551376,
0.06936708837747574,
-0.0155973881483078,
-0.029932882636785507,
-0.014010741375386715,
0.04305287450551987,
0.047246817499399185,
-0.0653587207198143,
0.003096745116636157,
0.010661154054105282,
0.020413000136613846,
-0.029487507417798042,
0.08276543766260147,
-0.08031588047742844,
-0.028485415503382683,
0.012646782211959362,
-0.040009479969739914,
-0.0020134642254561186,
-0.0025145106483250856,
0.032846372574567795,
0.0512923039495945,
0.012646782211959362,
0.03407115489244461,
-0.020747032016515732,
-0.05036443844437599,
0.020394444465637207,
-0.020635688677430153,
-0.017926326021552086,
0.04787776619195938,
0.016451023519039154,
-0.009311111643910408,
-0.018167570233345032,
0.02386465296149254,
0.037095990031957626,
0.03648360073566437,
0.055189330130815506,
0.014808704145252705,
-0.02683381736278534,
-0.023604851216077805,
-0.006045031826943159,
0.029673080891370773,
-0.020450115203857422,
-0.0035606769379228354,
-0.03475777432322502,
0.03199274092912674,
0.01396434847265482,
0.014279821887612343,
-0.0017467034049332142,
0.0027325584087520838,
0.05852964147925377,
-0.026982275769114494,
0.011913769878447056,
0.000558457977604121,
-0.004138271789997816,
0.027390535920858383,
0.022101713344454765,
0.0367434024810791,
-0.01162613183259964,
-0.019503694027662277,
-0.014344772323966026,
-0.0035351605620235205,
0.010614760220050812,
-0.035128917545080185,
-0.06487622857093811,
-0.0362052395939827,
-0.06632369756698608,
0.013092156499624252,
-0.03431239724159241,
-0.008675524964928627,
-0.05544913187623024,
-0.019800610840320587,
-0.048248909413814545,
-0.0387847013771534,
-0.011403444223105907,
0.004824891220778227,
-0.014632410369813442,
-0.054113008081912994,
-0.06728867441415787,
-0.05793580785393715,
0.005177479237318039,
-0.08885222673416138,
0.0007527294219471514,
0.028095712885260582,
-0.02644411474466324,
0.010095156729221344,
0.008972441777586937,
0.06758558750152588,
-0.03206696733832359,
0.040974460542201996,
0.02137797884643078,
0.017360329627990723,
0.009417816065251827,
-0.05188613757491112,
-0.04305287450551987,
-0.04746950417757034,
-0.04360959306359291,
-0.012795239686965942,
-0.05674814060330391,
0.02117384970188141,
-0.027594665065407753,
0.03726300597190857,
0.034516528248786926,
-0.00903275329619646,
0.10139694064855576,
0.060459595173597336,
0.027204962447285652,
-0.005836262367665768,
-0.05912347510457039,
0.001432389602996409,
0.02683381736278534,
-0.007455384824424982,
-0.045762237161397934,
0.033124733716249466,
-0.027873024344444275,
-0.02683381736278534,
0.008912130258977413,
-0.04401785135269165,
0.0608307421207428,
0.01737888716161251,
-0.02386465296149254,
-0.027390535920858383,
0.02453271485865116,
0.0026490509044378996,
-0.02115529216825962,
0.06843922287225723,
0.029264820739626884,
0.009677617810666561,
-0.015319028869271278,
-0.01113436371088028,
-0.013454022817313671,
0.003852953901514411,
-0.042570386081933975,
-0.008731197565793991,
-0.001267693703994155,
-0.023326491937041283,
-0.026499787345528603,
0.05184902250766754,
0.05188613757491112,
-0.0028879756573587656,
0.030842188745737076,
0.02740909345448017,
0.004073321353644133,
-0.026462672278285027,
-0.019633594900369644,
0.0387847013771534,
-0.013194221071898937,
-0.017323214560747147,
0.014242707751691341,
0.021637780591845512,
0.05292534455657005,
0.0601997934281826,
-0.009380701929330826,
-0.02135942131280899,
0.022324400022625923,
0.0012213005684316158,
-0.04858294129371643,
-0.004128993488848209,
0.027446206659078598,
-0.03340309113264084,
0.029561737552285194,
0.07352391630411148,
-0.004254254978150129,
0.013231336139142513,
0.0020088248420506716,
-0.0028137466870248318,
-0.0018789239693433046,
0.02889367565512657,
0.035722751170396805,
-0.045836467295885086,
-0.048842743039131165,
0.051923252642154694,
-0.11245707422494888,
0.01460457406938076,
0.0035653160884976387,
0.0034052596893161535,
0.0017258264124393463,
-0.022435743361711502,
0.06365144997835159,
-0.0367434024810791,
-0.0333845354616642,
-0.000547729548998177,
0.000734172121156007,
0.018167570233345032,
0.021396536380052567,
0.01127354335039854,
0.016942789778113365,
0.0227512177079916,
-0.05229439586400986,
0.028077155351638794,
0.05979153513908386,
-0.006448652595281601,
0.009761125780642033,
-0.01689639687538147,
0.021730566397309303,
-0.03785683959722519,
0.03468354418873787,
-0.00006237708294065669,
-0.06572986394166946,
0.02453271485865116,
0.001623761374503374,
0.0032289656810462475,
-0.0034006203059107065,
-0.030359700322151184,
0.003273039124906063,
-0.009649782441556454,
-0.015170571394264698,
-0.05745331943035126,
0.002528428565710783,
0.023901768028736115,
0.04231058433651924,
0.03767126426100731,
-0.0028160661458969116,
-0.01697990484535694,
-0.004166108090430498,
0.031120548024773598,
0.016822168603539467,
-0.01639535091817379,
-0.0017907768487930298,
-0.0791282132267952,
-0.0062538012862205505,
0.07174242287874222,
0.017647966742515564,
0.005483674351125956,
-0.028077155351638794,
-0.012108621187508106,
0.028689544647932053,
0.05415012314915657,
0.022120270878076553,
-0.020190313458442688,
-0.029134919866919518,
-0.012990090996026993,
-0.007919316180050373,
-0.0514407604932785,
-0.020394444465637207,
-0.01590358279645443,
0.0014776228927075863,
-0.04977060854434967,
0.0013941151555627584,
0.055783163756132126,
-0.005678525660187006,
-0.006286276504397392,
0.007826530374586582,
0.016766496002674103,
-0.04461168497800827,
0.04015794023871422,
0.09011411666870117,
-0.05366763472557068,
0.04141983389854431,
-0.012581831775605679,
0.007070321124047041,
-0.02106250450015068,
-0.0034168579149991274,
-0.052220165729522705,
0.003347268095239997,
0.022584201768040657,
-0.011069413274526596,
-0.0170819703489542,
-0.007381155621260405,
-0.041679635643959045,
0.040491972118616104,
-0.031250447034835815,
0.02195325493812561,
0.040083710104227066,
-0.07118570059537888,
0.02733486331999302,
0.03091641701757908,
-0.027483321726322174,
-0.000739391369279474,
-0.059457503259181976,
0.021879024803638458,
-0.01728609949350357,
-0.05344494804739952,
0.019930511713027954,
-0.013426187448203564,
-0.051626335829496384,
-0.044463228434324265,
-0.03644648566842079,
0.04468591511249542,
-0.0166922677308321,
0.028244169428944588,
-0.06773404777050018,
-0.012785961851477623,
-0.03306906297802925,
-0.0005010463646613061,
0.00045378331560641527,
0.009222964756190777,
-0.0013558408245444298,
0.05633988231420517,
0.0037160939536988735,
-0.0469127856194973,
0.030359700322151184,
-0.012219964526593685,
0.08402733504772186,
0.026778144761919975,
0.029134919866919518,
-0.0637999027967453,
0.04390650987625122,
0.0048388089053332806,
0.0777178630232811,
0.050809815526008606,
0.0029297296423465014,
-0.003273039124906063,
0.04424054175615311,
0.01887274719774723,
0.033941254019737244,
-0.013593202456831932,
-0.006286276504397392,
-0.03388557955622673,
0.011542623862624168,
-0.004917677491903305,
-0.00197634962387383,
0.03974967822432518,
0.0038923881947994232,
-0.0054651168175041676,
-0.02644411474466324,
-0.05674814060330391,
-0.0106333177536726,
-0.0016724743181839585,
0.05964307859539986,
-0.045873578637838364,
0.023085247725248337,
0.08862953633069992,
0.0587894432246685,
0.0231409203261137,
0.0062445225194096565,
0.007413630839437246,
-0.05463261157274246,
-0.012628224678337574,
0.03071228787302971,
-0.0007243136060424149,
-0.059754420071840286,
-0.0008269585086964071,
-0.036409370601177216,
0.031046317890286446,
-0.08298812806606293,
-0.05158922076225281,
-0.03292060270905495,
-0.03696608915925026,
-0.023419279605150223,
-0.005868737585842609,
-0.027242077514529228,
-0.005367691162973642,
-0.09152447432279587,
0.04249615594744682,
-0.02959885075688362,
-0.01937379315495491,
0.03408971056342125,
-0.0476921945810318,
-0.036353699862957,
0.036335140466690063,
0.023716196417808533,
0.01421487145125866,
0.02195325493812561,
-0.012934419326484203,
0.08625420928001404,
-0.04479725658893585,
-0.025961626321077347,
0.023085247725248337,
-0.004597564693540335,
0.02263987436890602,
0.010559088550508022,
-0.04012082517147064,
0.016636595129966736,
0.0005140944849699736,
-0.020747032016515732,
-0.004653236363083124,
0.011050856672227383,
-0.036353699862957,
-0.05255419760942459,
-0.049028318375349045,
-0.017137642949819565,
0.03781972452998161,
0.03694752976298332,
-0.011106528341770172,
-0.03594543784856796,
-0.023419279605150223,
0.016868561506271362,
0.06428239494562149,
0.01758301630616188,
-0.016840726137161255,
0.03162159398198128,
0.05949461832642555,
-0.06925574690103531,
-0.01470663957297802,
0.01226635742932558,
0.08573460578918457,
-0.009519881568849087,
0.015421094372868538,
-0.030433928593993187,
0.018909862264990807,
0.07103724032640457,
-0.04271884262561798,
0.0587894432246685,
-0.00030532514210790396,
-0.023011019453406334,
0.004240336827933788,
0.060162682086229324,
0.058566756546497345,
-0.021285193040966988,
0.004950152710080147,
-0.010048763826489449,
-0.005530067719519138,
0.011728196404874325,
0.02108106203377247,
-0.06001422181725502,
0.03722589090466499,
-0.00823942944407463,
-0.0455024354159832,
-0.056080080568790436,
0.04539109021425247,
0.003553717862814665,
0.06391125172376633,
-0.05422435328364372,
0.008067774586379528,
-0.007149189710617065,
-0.019039763137698174,
0.02911636233329773,
0.007970348931849003,
-0.014483951963484287,
0.020431557670235634,
0.004592925310134888,
-0.03279070183634758,
0.03201129660010338,
-0.0016423186752945185,
-0.00723269721493125,
0.005975442007184029,
0.037708379328250885,
0.0469127856194973,
0.03188139572739601,
-0.016933511942625046,
-0.05834406614303589,
0.07155684381723404,
-0.0022674668580293655,
-0.00290653295814991,
-0.020320214331150055,
0.07987050712108612,
-0.03256801515817642,
0.044871486723423004,
-0.017453115433454514,
0.006003277841955423,
0.028967903926968575,
-0.0022732659708708525,
0.03366289287805557,
-0.014530344866216183,
-0.026462672278285027,
-0.019002648070454597,
0.03379279375076294,
-0.03345876559615135,
-0.01380661129951477,
-0.035722751170396805,
0.0645793080329895,
0.0703691840171814,
-0.04483437165617943,
-0.012322030030190945,
-0.054409924894571304,
0.047246817499399185,
-0.027761681005358696,
0.0777178630232811,
-0.01659948192536831,
-0.0586409829556942,
-0.042087897658348083,
0.00730228703469038,
0.0034771692007780075,
0.013435466215014458,
-0.004620761144906282,
0.019429465755820274,
0.0036812990438193083,
-0.02850397117435932,
0.010290008038282394,
-0.032345328480005264,
-0.009724011644721031,
-0.03605678305029869,
0.005993999540805817,
0.05815849453210831,
-0.04045485705137253,
0.06012556701898575,
-0.013676710426807404,
0.031046317890286446,
0.004483901429921389,
-0.038302212953567505,
-0.017313936725258827,
-0.014697360806167126,
0.04101157560944557,
-0.053816091269254684,
0.006174932699650526,
-0.023771867156028748,
0.05990288034081459,
0.011756032705307007,
-0.022138826549053192,
-0.02842974290251732,
-0.0013987545389682055,
0.005219233222305775,
0.01858511008322239,
0.07690133899450302,
-0.018547995015978813,
0.03767126426100731,
0.017351049929857254,
0.011737475171685219,
0.030359700322151184,
-0.005868737585842609,
0.007724464870989323,
-0.03516603261232376,
-0.009649782441556454,
0.03941565006971359,
0.08781301975250244,
-0.005061496514827013,
-0.05875232815742493,
-0.03564852103590965,
-0.04620761051774025,
0.028559643775224686,
0.005200675688683987,
-0.040195055305957794,
0.015625223517417908,
0.02811426855623722,
-0.045650891959667206,
0.003242883598431945,
0.0520717091858387,
0.009023474529385567,
0.02761322259902954,
-0.026703916490077972,
-0.04275595769286156,
0.006341948173940182,
0.06179571896791458,
-0.03819086775183678,
0.02959885075688362,
-0.0023405360989272594,
-0.06446796655654907,
-0.0055996570736169815,
0.02345639280974865,
-0.028559643775224686,
-0.06814230978488922,
0.0027441568672657013,
-0.016358235850930214,
-0.009742568247020245,
0.0005526588065549731,
-0.028838003054261208,
0.09248945116996765,
-0.05904924497008324,
-0.020839817821979523,
0.031139105558395386,
0.014400443993508816,
0.02494097501039505,
0.029376164078712463,
-0.008387887850403786,
-0.02622142806649208,
0.03358866646885872,
0.03826509788632393,
0.0520717091858387,
0.003841355675831437,
0.02464406006038189,
0.037615593522787094,
0.05118095874786377,
0.016720103099942207,
-0.00809561088681221,
-0.07905398309230804,
-0.01629328541457653,
-0.00043261644896119833,
-0.017722196877002716,
-0.0775694027543068,
0.02891223132610321,
-0.054706841707229614,
-0.021879024803638458,
-0.04245904088020325,
-0.011449838057160378,
0.008420363068580627,
0.02345639280974865,
0.06324318796396255,
0.02225017175078392,
0.05255419760942459,
-0.01380661129951477,
-0.028652429580688477,
-0.0015808477764949203,
-0.009190489538013935,
-0.054484155029058456,
0.0017768589314073324,
0.0017733793938532472,
0.03787539526820183,
0.06565563380718231,
-0.0470612458884716,
0.03655782714486122,
-0.009297193959355354,
-0.0623895525932312,
-0.05125518888235092,
0.032753586769104004,
0.007919316180050373,
-0.0006964776548556983,
0.029339049011468887,
0.06172149255871773,
-0.020153198391199112,
0.0018070144578814507,
-0.033347420394420624,
-0.003293916117399931,
0.03292060270905495,
0.025107990950345993,
-0.03399692475795746,
0.02692660316824913,
0.017647966742515564,
0.0586409829556942,
0.015513880178332329,
-0.0542614683508873,
0.0007892640423960984,
-0.06495045870542526,
-0.04598492383956909,
-0.010354958474636078,
-0.03138034790754318,
0.02889367565512657,
-0.0235306229442358,
0.0387847013771534,
0.00717702554538846,
-0.0007625879370607436,
-0.03852489963173866,
-0.015764404088258743,
0.005358412861824036,
0.02822561375796795,
-0.07816323637962341,
-0.002150324173271656,
-0.051032502204179764,
0.007761579472571611,
0.00884254090487957,
-0.02842974290251732,
-0.07285585254430771,
-0.004880562890321016,
0.01112508587539196,
0.07007226347923279,
0.06417105346918106,
-0.031937066465616226,
0.060459595173597336,
-0.01515201386064291,
0.017258264124393463,
-0.04850871115922928,
0.05904924497008324,
0.0031941707711666822,
-0.03360722213983536,
0.02644411474466324,
0.00265832943841815,
-0.061239004135131836,
0.029747309163212776,
-0.038302212953567505,
0.03325463458895683,
0.021693453192710876,
-0.013379794545471668,
-0.05466972663998604,
0.0006425455794669688,
-0.009051309898495674,
-0.03754136338829994,
-0.030025668442249298,
-0.005242429673671722,
0.03449797257781029,
0.04342402145266533,
-0.03460931405425072,
-0.014836540445685387,
-0.013760218396782875,
-0.016766496002674103,
0.005033660214394331,
-0.0007428708486258984,
0.0040895589627325535,
-0.07077743858098984,
-0.046541642397642136,
0.06420816481113434,
-0.02622142806649208,
0.07493427395820618,
-0.022528529167175293,
-0.04939946159720421,
0.024087341502308846,
-0.018529437482357025,
0.05247997120022774,
0.056191425770521164,
-0.03726300597190857,
-0.03180716559290886,
-0.03781972452998161,
-0.022509973496198654,
-0.06157303228974342,
0.0076409573666751385,
0.02375330962240696,
0.013463301584124565,
0.024235799908638,
-0.04780353605747223,
-0.0036650614347308874,
-0.0056089358404278755,
0.015105620957911015,
0.012646782211959362,
-0.08432424813508987,
0.033236075192689896,
0.0013198860688135028,
-0.027390535920858383,
0.015216964296996593,
0.0625380128622055,
0.02425435557961464,
-0.07434044033288956,
-0.019243892282247543,
-0.018037669360637665,
0.08254275470972061,
0.004474622663110495,
-0.03279070183634758,
-0.0019334359094500542,
-0.002052898285910487,
-0.009918862953782082,
0.06212975084781647,
0.004166108090430498,
0.05333360284566879,
-0.010642596520483494,
0.04520551860332489,
-0.028689544647932053,
-0.024662615731358528,
-0.004096518270671368,
0.08061279356479645,
0.026072969660162926,
-0.05173767730593681,
-0.01779642514884472,
0.027075061574578285,
-0.062241096049547195,
0.030823631212115288,
0.04383227974176407,
-0.041122917085886,
0.03614956885576248,
-0.015105620957911015,
-0.02941327914595604,
0.008990999311208725,
0.08751609921455383,
-0.0820973813533783,
-0.03774549439549446,
0.06929285824298859,
0.025015205144882202,
0.01659020222723484,
-0.018696453422307968,
-0.007190943695604801,
-0.02872665971517563,
-0.03685474395751953,
0.034627873450517654,
0.05259131267666817,
-0.018316028639674187,
-0.015560274012386799,
-0.003289276733994484,
-0.027743123471736908,
-0.05166345089673996,
-0.0470612458884716,
-0.007260533049702644,
-0.007469302508980036,
0.0074924989603459835,
0.050030410289764404,
-0.004908398725092411,
-0.005975442007184029,
-0.007200221996754408
]
|
44,030 | jsons.serializers.default_list | default_list_serializer |
Serialize the given ``obj`` to a list of serialized objects.
:param obj: the list that is to be serialized.
:param cls: the (subscripted) type of the list.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a list of which all elements are serialized.
| def default_list_serializer(
obj: list,
cls: type = None,
*,
strict: bool = False,
fork_inst: Optional[type] = StateHolder,
**kwargs) -> list:
"""
Serialize the given ``obj`` to a list of serialized objects.
:param obj: the list that is to be serialized.
:param cls: the (subscripted) type of the list.
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments that may be given to the serialization
process.
:return: a list of which all elements are serialized.
"""
if not obj:
return []
kwargs_ = {**kwargs, 'strict': strict}
# The meta kwarg store_cls is filtered out, because an iterable should have
# its own -meta attribute.
kwargs_.pop('_store_cls', None)
inner_type = None
serializer = dump
cls_args = get_args(cls)
if cls_args:
inner_type = cls_args[0]
serializer = get_serializer(inner_type, fork_inst)
elif strict:
inner_type = type(obj[0])
serializer = get_serializer(inner_type, fork_inst)
return [serializer(elem, cls=inner_type, fork_inst=fork_inst, **kwargs_) for elem in obj]
| (obj: list, cls: Optional[type] = None, *, strict: bool = False, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>, **kwargs) -> list | [
0.007659459952265024,
-0.01032222993671894,
0.007892395369708538,
-0.01907328888773918,
-0.005512801464647055,
0.03615520894527435,
0.016862686723470688,
0.02143004536628723,
-0.00416771462187171,
-0.01376601867377758,
0.006074586883187294,
-0.01110781542956829,
-0.013619862496852875,
-0.056964095681905746,
0.014149676077067852,
0.03847542777657509,
-0.02409738302230835,
-0.030637839809060097,
0.04026583209633827,
0.046623595058918,
0.04180046543478966,
-0.014368909411132336,
0.0016077101463451982,
0.11253970861434937,
0.0040398286655545235,
-0.017136728391051292,
0.03599078580737114,
-0.0014706894289702177,
-0.06818152964115143,
0.015154494903981686,
0.04541781172156334,
0.003263377584517002,
-0.038256194442510605,
-0.009746742434799671,
0.03986390307545662,
0.004220239352434874,
-0.021704087033867836,
0.05400444567203522,
-0.10260114073753357,
-0.03679464012384415,
0.03628309443593025,
-0.014807376079261303,
-0.02561374567449093,
-0.016232391819357872,
0.0025577207561582327,
0.056927554309368134,
0.03569847345352173,
0.039461977779865265,
0.007463063579052687,
-0.06449110060930252,
0.019000211730599403,
0.0369407944381237,
-0.037415798753499985,
0.02559547685086727,
0.01613190956413746,
-0.014003520831465721,
0.014871318824589252,
0.01392130833119154,
0.020096376538276672,
0.036136940121650696,
0.04618512839078903,
0.0024298345670104027,
-0.002459522569552064,
-0.04969285801053047,
-0.0052752988412976265,
-0.005261596757918596,
-0.041873540729284286,
-0.031313810497522354,
-0.034145571291446686,
0.021046387031674385,
-0.014716029167175293,
-0.010815504938364029,
0.009207794442772865,
0.015556422993540764,
0.020096376538276672,
0.02457238733768463,
0.026673372834920883,
0.02210601419210434,
-0.017136728391051292,
0.011957344599068165,
-0.00011975043162237853,
0.004147161263972521,
-0.03832927346229553,
0.022599289193749428,
-0.025577206164598465,
0.003989587537944317,
-0.024919508025050163,
-0.0024321184027940035,
-0.04359086975455284,
-0.011966479010879993,
-0.048231303691864014,
0.03454750031232834,
0.004087785724550486,
0.01698143780231476,
-0.05809679999947548,
-0.014268428087234497,
-0.059996820986270905,
-0.022800253704190254,
0.001482107792980969,
0.04914477467536926,
-0.04841399937868118,
-0.00461988290771842,
-0.058681420981884,
-0.021594470366835594,
-0.023311797529459,
-0.08506248146295547,
0.018251163884997368,
0.013720344752073288,
-0.010833773761987686,
-0.0016385398339480162,
0.0068327682092785835,
0.030637839809060097,
-0.015784790739417076,
0.005225058179348707,
0.022617558017373085,
-0.002692457754164934,
0.010157804936170578,
-0.03206285461783409,
-0.006526755169034004,
-0.08491633087396622,
-0.04128891974687576,
-0.02064445987343788,
-0.04366394504904747,
0.030601302161812782,
-0.04571012407541275,
0.00040478212758898735,
0.06405263394117355,
-0.0008712236303836107,
0.03085707314312458,
0.06160452961921692,
0.031679198145866394,
0.024974316358566284,
-0.07833933085203171,
-0.0234396830201149,
0.061312220990657806,
-0.04961978271603584,
-0.02053484320640564,
0.003382128896191716,
-0.02910320833325386,
-0.023878149688243866,
0.009856359101831913,
-0.06372378766536713,
0.02354929968714714,
0.04567358270287514,
-0.05356597900390625,
-0.024663735181093216,
0.02210601419210434,
0.02873781882226467,
-0.0016042846255004406,
0.04424856975674629,
0.036630213260650635,
0.040192753076553345,
-0.022197362035512924,
-0.0014193066162988544,
-0.03478500247001648,
-0.009746742434799671,
-0.05718332901597023,
-0.037598494440317154,
0.032939787954092026,
-0.021594470366835594,
-0.049729399383068085,
0.03226381912827492,
0.012688121758401394,
-0.034035954624414444,
0.04318894073367119,
0.04625820741057396,
-0.04994863271713257,
-0.03465711697936058,
-0.01805020123720169,
0.038913894444704056,
0.0016659440007060766,
-0.0531640499830246,
0.012989567592740059,
0.013364090584218502,
0.03151477128267288,
0.07322388887405396,
0.01540113240480423,
0.015903541818261147,
0.006517620291560888,
-0.0031217895448207855,
-0.0169631689786911,
-0.04300624504685402,
0.03672156110405922,
-0.02857339382171631,
0.025997404009103775,
0.01171984151005745,
0.016880957409739494,
-0.016378547996282578,
0.023768533021211624,
-0.0017253196565434337,
-0.00654959212988615,
0.01756606064736843,
0.020242532715201378,
-0.07428351789712906,
-0.04198315739631653,
0.04625820741057396,
-0.074393130838871,
-0.01380255725234747,
-0.014569872990250587,
0.01647902838885784,
0.014916992746293545,
-0.023311797529459,
0.046112049371004105,
-0.06566034257411957,
-0.0014501363039016724,
0.02276371419429779,
0.004496564157307148,
-0.004626734182238579,
0.002733564004302025,
-0.011235701851546764,
0.020735807716846466,
0.01014867052435875,
-0.05681793764233589,
0.014432852156460285,
0.05246981233358383,
0.012596774846315384,
0.029322441667318344,
-0.03387153148651123,
0.0035648231860250235,
-0.040010061115026474,
0.0324830524623394,
-0.037963882088661194,
-0.12072441726922989,
0.029541675001382828,
-0.022873330861330032,
-0.02155793085694313,
0.004124324768781662,
-0.04143507406115532,
0.007837587036192417,
-0.03277536481618881,
-0.032994598150253296,
-0.0531640499830246,
-0.014231888577342033,
0.014606412500143051,
0.03610040247440338,
0.0602525919675827,
0.016460759565234184,
-0.029505135491490364,
0.01883578673005104,
0.04552742838859558,
0.004777457099407911,
-0.008792164735496044,
0.02119254320859909,
-0.02300121635198593,
-0.013839095830917358,
0.07870472222566605,
0.02464546635746956,
0.00446687638759613,
0.016259795054793358,
-0.00650848587974906,
0.02360410802066326,
0.04709859937429428,
0.010166939347982407,
-0.06379686295986176,
0.014661220833659172,
-0.026052212342619896,
0.00234077125787735,
0.025376243516802788,
-0.02977917715907097,
-0.013035240583121777,
-0.02844550833106041,
-0.01464295107871294,
0.001429583178833127,
0.0031537609174847603,
0.01011213194578886,
0.0011852295137941837,
-0.020187724381685257,
0.024371424689888954,
-0.04651397839188576,
0.09112793207168579,
0.0901048481464386,
-0.0576217919588089,
0.027732999995350838,
0.014944396913051605,
-0.0009785565780475736,
-0.041106224060058594,
0.013473707251250744,
-0.02965129166841507,
-0.01672566682100296,
0.020808884873986244,
-0.04070429876446724,
-0.02470027469098568,
0.031149383634328842,
-0.03332344815135002,
0.04304278641939163,
-0.02718491666018963,
0.028883974999189377,
0.05495445802807808,
-0.06989885121583939,
0.0015483344905078411,
0.024864699691534042,
0.022325247526168823,
-0.006380599457770586,
-0.09726646542549133,
-0.0010128116700798273,
0.001067049102857709,
-0.0387677364051342,
0.017246345058083534,
0.000869510869961232,
-0.021905051544308662,
-0.035296544432640076,
-0.036685023456811905,
0.07289504259824753,
0.007472198456525803,
0.01549247931689024,
-0.05506407469511032,
-0.018744438886642456,
-0.004402933642268181,
-0.006837335415184498,
-0.02281852252781391,
-0.020845424383878708,
0.03030898980796337,
0.04600243270397186,
0.014624681323766708,
-0.03462057560682297,
0.026344522833824158,
-0.02548586018383503,
0.03507731109857559,
0.038804277777671814,
0.036685023456811905,
-0.06555072963237762,
0.06452763825654984,
-0.004044395871460438,
0.06277377158403397,
0.043444711714982986,
0.0004849963588640094,
0.0012503144098445773,
0.03938889876008034,
0.04150815308094025,
0.011847727932035923,
-0.020607920363545418,
-0.0202973410487175,
-0.025193549692630768,
0.03356095030903816,
-0.009436162188649178,
-0.005439723841845989,
0.03436480462551117,
-0.030509954318404198,
-0.03175227716565132,
-0.04698898270726204,
-0.046623595058918,
0.020571382716298103,
0.007170752622187138,
0.05236019566655159,
-0.04782937839627266,
0.02402430586516857,
0.04720821604132652,
0.06931423395872116,
-0.022233901545405388,
0.04026583209633827,
0.004160863347351551,
-0.030875341966748238,
0.00044503199751488864,
0.043627407401800156,
-0.003930211998522282,
-0.04286009073257446,
0.0005926147568970919,
-0.025577206164598465,
-0.03767157346010208,
-0.05210442468523979,
-0.019055020064115524,
-0.024243539199233055,
-0.004265912808477879,
-0.01763913780450821,
0.04143507406115532,
0.007015462499111891,
0.026947414502501488,
-0.09200486540794373,
0.022142553701996803,
-0.015976618975400925,
-0.06807190924882889,
0.01896367222070694,
-0.04706206172704697,
-0.07483159750699997,
0.008449613116681576,
0.04340817406773567,
-0.013117453083395958,
0.01703624613583088,
-0.009500105865299702,
0.059996820986270905,
-0.009472701698541641,
-0.06460071355104446,
0.0531640499830246,
-0.0089063486084342,
0.03171573579311371,
-0.02723972499370575,
0.01721894182264805,
0.0277695395052433,
0.017840102314949036,
-0.048706311732530594,
-0.039169665426015854,
-0.0277695395052433,
-0.03997351974248886,
-0.05542946234345436,
-0.06368724256753922,
-0.03931581974029541,
0.04318894073367119,
0.04052160307765007,
-0.029212825000286102,
-0.025979135185480118,
-0.011528012342751026,
-0.025376243516802788,
0.041581232100725174,
-0.007664027623832226,
-0.026234906166791916,
-0.002217452507466078,
0.03986390307545662,
-0.07446621358394623,
0.011034738272428513,
-0.00045473763020709157,
0.06957000494003296,
-0.02994360215961933,
0.01449679583311081,
-0.022434864193201065,
0.07285850495100021,
0.03865811973810196,
0.021356968209147453,
0.06080067530274391,
-0.005626985337585211,
-0.005837084259837866,
0.015501614660024643,
0.032209012657403946,
0.08820482343435287,
0.038986969739198685,
0.039279282093048096,
-0.02983398549258709,
-0.012395810335874557,
-0.01449679583311081,
0.018214626237750053,
-0.046404361724853516,
0.06142183765769005,
-0.040192753076553345,
-0.06149491295218468,
-0.024170460179448128,
0.02185024321079254,
0.018643956631422043,
0.060727596282958984,
-0.04994863271713257,
-0.014085733331739902,
0.02663683332502842,
-0.002635365817695856,
0.004115189891308546,
-0.03460230678319931,
0.003957616165280342,
0.03476673364639282,
0.05301789566874504,
-0.049912091344594955,
0.019895413890480995,
0.01253283116966486,
0.016862686723470688,
0.02875608764588833,
0.0007981458911672235,
0.05531984567642212,
0.047427449375391006,
-0.022964678704738617,
-0.05590446665883064,
0.07461236417293549,
-0.02108292654156685,
0.009079908952116966,
-0.03767157346010208,
0.10508578270673752,
-0.00653589004650712,
0.08287014812231064,
-0.00470894668251276,
-0.0026193801313638687,
0.03054649382829666,
-0.01859828270971775,
0.03281190246343613,
-0.009783281944692135,
-0.05173903703689575,
0.032519590109586716,
0.0164333563297987,
-0.04026583209633827,
-0.048815928399562836,
-0.0028979890048503876,
0.06379686295986176,
0.006682045292109251,
-0.060727596282958984,
-0.06770651787519455,
-0.024974316358566284,
-0.04614859074354172,
-0.02011464722454548,
0.06171414628624916,
-0.02137523703277111,
-0.04468703642487526,
-0.05725640431046486,
0.013592458330094814,
-0.018945403397083282,
0.012989567592740059,
0.00921236164867878,
0.028975320979952812,
0.026947414502501488,
-0.03887735307216644,
0.021758895367383957,
0.0016202704282477498,
0.039279282093048096,
-0.04052160307765007,
0.019164636731147766,
0.02784261666238308,
-0.04673321172595024,
0.048340920358896255,
-0.006567861419171095,
-0.009079908952116966,
0.03412730246782303,
-0.03673982992768288,
-0.05320059135556221,
-0.006334926001727581,
0.03736099228262901,
-0.05097172036767006,
0.03975428640842438,
0.00893375277519226,
0.04468703642487526,
-0.01457900833338499,
-0.0030076054390519857,
-0.04052160307765007,
0.006901278626173735,
0.0008038550731725991,
-0.015437670983374119,
0.05670832097530365,
-0.04523511603474617,
0.012149173766374588,
0.008641442283987999,
0.004201969597488642,
0.014999205246567726,
0.001170385628938675,
0.01388476975262165,
-0.03659367561340332,
-0.03014456480741501,
0.040850453078746796,
0.07556238025426865,
0.0037064114585518837,
-0.02760511450469494,
-0.042312007397413254,
-0.04004659876227379,
-0.00400100601837039,
0.03586289659142494,
0.02868301048874855,
0.04318894073367119,
0.09967803210020065,
-0.02046176604926586,
0.011381857097148895,
0.06946038454771042,
0.012934759259223938,
-0.007248397916555405,
-0.01847039721906185,
-0.018022796139121056,
-0.0400831364095211,
0.040850453078746796,
-0.02541278302669525,
0.013144857250154018,
0.028792627155780792,
-0.04088699072599411,
0.015026609413325787,
0.052579429000616074,
-0.02422526851296425,
-0.04680629074573517,
0.02312910370528698,
0.010906851850450039,
-0.016214122995734215,
-0.001267442014068365,
0.006211607251316309,
0.08206629753112793,
-0.0066135348752141,
-0.047135137021541595,
0.0026993087958544493,
-0.0008660853491164744,
0.07512391358613968,
0.01660691574215889,
-0.002498344983905554,
0.013455437496304512,
0.0069743562489748,
0.03516865894198418,
0.060910291969776154,
0.014916992746293545,
-0.0033410226460546255,
0.02747722901403904,
0.04560050740838051,
0.004402933642268181,
-0.015227572992444038,
-0.06379686295986176,
-0.0021329564042389393,
-0.011939074844121933,
-0.0013119736686348915,
-0.09317411482334137,
0.038073498755693436,
-0.01011213194578886,
0.01101646851748228,
-0.03292151913046837,
-0.0434812530875206,
0.021594470366835594,
0.012514562346041203,
0.08710865676403046,
0.012386675924062729,
0.031058037653565407,
-0.024407964199781418,
-0.02813492715358734,
-0.02983398549258709,
-0.012158308178186417,
-0.013144857250154018,
0.004204253200441599,
0.016862686723470688,
0.061312220990657806,
0.04961978271603584,
-0.036082129925489426,
0.06039874628186226,
-0.04764668270945549,
-0.03840234875679016,
-0.0403389111161232,
0.02258102037012577,
0.04114276543259621,
-0.03803696110844612,
0.054187141358852386,
0.07278542220592499,
-0.0544794499874115,
-0.009152986109256744,
-0.010915986262261868,
-0.018927132710814476,
0.034145571291446686,
0.040667757391929626,
0.0047043790109455585,
0.02928590215742588,
0.013437168672680855,
0.01617758348584175,
0.01943867653608322,
-0.03672156110405922,
-0.014743433333933353,
-0.0641622543334961,
0.00013823395420331508,
0.015181899070739746,
-0.03546097129583359,
0.035296544432640076,
-0.009034235030412674,
0.048231303691864014,
-0.004914477467536926,
-0.019730988889932632,
-0.06598919630050659,
-0.03942543640732765,
0.0045559401623904705,
-0.005339242052286863,
-0.045856278389692307,
0.021156003698706627,
-0.047317832708358765,
0.016204986721277237,
0.008349130861461163,
-0.039169665426015854,
-0.05714678764343262,
-0.0004727215855382383,
-0.006010643672198057,
0.03226381912827492,
0.030181104317307472,
-0.019055020064115524,
0.028646470978856087,
-0.03767157346010208,
0.02252621203660965,
-0.018342511728405952,
0.08732789009809494,
0.009226064197719097,
-0.028591664507985115,
0.057767949998378754,
0.009746742434799671,
-0.03357921913266182,
0.021539662033319473,
-0.033067673444747925,
0.028299352154135704,
-0.005764006171375513,
-0.00007550414011348039,
-0.062225691974163055,
-0.03659367561340332,
0.02058965153992176,
-0.04534473270177841,
-0.05236019566655159,
0.025321435183286667,
-0.006133962422609329,
0.024682004004716873,
-0.0387677364051342,
-0.008924618363380432,
0.004996689967811108,
0.02216082252562046,
0.014241023920476437,
-0.013053510338068008,
-0.0018120994791388512,
-0.06986231356859207,
-0.02577817067503929,
0.04015621542930603,
-0.020571382716298103,
0.04136199876666069,
-0.029541675001382828,
-0.044906266033649445,
0.010788100771605968,
-0.03304940462112427,
0.028061849996447563,
-0.0031263567507267,
-0.016990574076771736,
-0.05466214567422867,
-0.01661605015397072,
-0.024974316358566284,
-0.04581974074244499,
0.028354160487651825,
0.021028118208050728,
-0.0007028022664599121,
-0.016679992899298668,
-0.004359543789178133,
0.0028317621909081936,
0.019055020064115524,
0.07402774691581726,
-0.01153714768588543,
-0.05901027098298073,
0.02360410802066326,
0.058681420981884,
-0.005832516588270664,
-0.003829729976132512,
0.06931423395872116,
0.023056024685502052,
-0.0725661888718605,
-0.008764760568737984,
-0.018872324377298355,
0.0906163901090622,
-0.00205987854860723,
-0.03156958147883415,
0.02270890586078167,
-0.02108292654156685,
-0.02457238733768463,
0.0557948499917984,
-0.01316312700510025,
0.03593597561120987,
-0.008394804783165455,
0.06781613826751709,
-0.003957616165280342,
-0.039644669741392136,
0.0009014823590405285,
0.08023935556411743,
0.008280620910227299,
-0.022672366350889206,
-0.022690637037158012,
0.06463725864887238,
-0.0500217080116272,
-0.007362581789493561,
0.01319053117185831,
-0.0344378836452961,
0.0400831364095211,
-0.007458496373146772,
-0.039096586406230927,
0.019475216045975685,
0.1013588160276413,
-0.046587057411670685,
-0.052506353706121445,
0.08908175677061081,
0.022964678704738617,
-0.008006579242646694,
0.0018749006558209658,
-0.0093630850315094,
-0.02638106234371662,
-0.019548293203115463,
0.03473019227385521,
0.05115441232919693,
0.005165682174265385,
-0.03345133364200592,
-0.014085733331739902,
-0.03604559227824211,
-0.044358186423778534,
-0.05013132467865944,
0.0005829090951010585,
-0.015748251229524612,
0.006809931248426437,
0.039535053074359894,
0.010523193515837193,
0.008508988656103611,
-0.01334582082927227
]
|
44,031 | jsons.deserializers.default_mapping | default_mapping_deserializer |
Deserialize a (JSON) dict into a mapping by deserializing all items of that
dict.
:param obj: the dict that needs deserializing.
:param cls: the type, optionally with a generic (e.g. Set[str]).
:param kwargs: any keyword arguments.
:return: a deserialized set instance.
| def default_mapping_deserializer(obj: dict, cls: type, **kwargs) -> Mapping:
"""
Deserialize a (JSON) dict into a mapping by deserializing all items of that
dict.
:param obj: the dict that needs deserializing.
:param cls: the type, optionally with a generic (e.g. Set[str]).
:param kwargs: any keyword arguments.
:return: a deserialized set instance.
"""
cls_ = Mapping
cls_args = get_args(cls)
if cls_args:
cls_ = MappingType[cls_args]
dict_ = default_dict_deserializer(obj, cls_, **kwargs)
result = dict_
# Strip any generics from cls to allow for an instance check.
if not isinstance(result, get_origin(cls)):
result = cls(dict_)
return result
| (obj: dict, cls: type, **kwargs) -> collections.abc.Mapping | [
0.017081331461668015,
0.01918480359017849,
0.010357728227972984,
-0.02199256606400013,
-0.030012058094143867,
0.023701637983322144,
0.027194906026124954,
0.012705354951322079,
0.00480559142306447,
-0.015118715353310108,
0.006366763263940811,
0.022800149396061897,
-0.020245932042598724,
0.015137496404349804,
0.024133600294589996,
0.020433740690350533,
-0.06528279930353165,
0.05559179559350014,
0.0258802343159914,
0.005178864113986492,
0.059235312044620514,
-0.01561641227453947,
-0.009991498664021492,
0.08000711351633072,
-0.007441976107656956,
-0.024058477953076363,
-0.014245398342609406,
0.007179041858762503,
-0.01130616944283247,
0.013062193989753723,
-0.005432407837361097,
-0.00662500225007534,
0.02375798113644123,
0.03883913531899452,
-0.0020741280168294907,
-0.029486190527677536,
0.019982997328042984,
0.06915168464183807,
-0.040867481380701065,
-0.03925231471657753,
-0.00962526910007,
0.026575133204460144,
-0.018546249717473984,
0.03857620060443878,
0.026650257408618927,
0.011071407236158848,
0.010808472521603107,
-0.0020142635330557823,
0.014658580534160137,
-0.04740327596664429,
0.029673999175429344,
-0.018330268561840057,
0.043121203780174255,
0.06197734177112579,
0.0305379256606102,
-0.0469149686396122,
-0.0464642234146595,
0.013080975040793419,
0.00681281229481101,
0.05093410611152649,
0.0052305120043456554,
0.029617656022310257,
-0.05420200154185295,
-0.02362651377916336,
-0.0014414427569136024,
-0.06930193305015564,
-0.014104540459811687,
-0.04079236090183258,
0.004157646559178829,
0.019701281562447548,
-0.05446493625640869,
0.01648033782839775,
-0.025861455127596855,
0.019325662404298782,
0.0566435344517231,
0.006601525936275721,
-0.014855780638754368,
-0.0004234531370457262,
0.02062155120074749,
0.026424884796142578,
0.008573532104492188,
-0.04443587735295296,
-0.023476265370845795,
-0.014029416255652905,
-0.012949507683515549,
0.019982997328042984,
-0.004495705012232065,
-0.004676471929997206,
0.010836644098162651,
-0.026124387979507446,
-0.05758258327841759,
0.03335507959127426,
-0.013635015115141869,
0.01618923246860504,
-0.06821263581514359,
-0.02597413957118988,
-0.01101506408303976,
0.031570881605148315,
-0.04030405357480049,
-0.015006029047071934,
-0.025072650983929634,
0.017710493877530098,
-0.023833105340600014,
-0.00590662844479084,
-0.006615611724555492,
-0.07208152860403061,
0.017663542181253433,
-0.03637881949543953,
-0.05476543307304382,
-0.03204040601849556,
-0.017447561025619507,
-0.002327671740204096,
-0.0557420440018177,
0.05194827914237976,
0.010902377776801586,
0.008888114243745804,
0.01008540391921997,
-0.018546249717473984,
-0.03579660877585411,
-0.014743095263838768,
-0.07850462943315506,
0.041881658136844635,
-0.03611588850617409,
0.005981752648949623,
-0.0024438791442662477,
-0.047891583293676376,
0.07985686510801315,
-0.008620484732091427,
0.0535258874297142,
0.09307869523763657,
0.0007447845418937504,
0.007822291925549507,
-0.049581874161958694,
-0.013691358268260956,
0.06314176321029663,
0.04372219741344452,
-0.04995749145746231,
0.009287211112678051,
0.016762053593993187,
-0.02052764594554901,
0.04642666131258011,
-0.018480516970157623,
0.027157343924045563,
0.0029134044889360666,
-0.05514105409383774,
-0.030613049864768982,
0.002295978832989931,
0.03632247820496559,
-0.0016879434697329998,
-0.022593557834625244,
-0.0024321412201970816,
0.015043591149151325,
0.014761875383555889,
0.03654785081744194,
-0.057094279676675797,
0.0024063172750175,
0.02248087152838707,
-0.003415796672925353,
0.048116955906152725,
-0.019325662404298782,
0.02127888798713684,
0.030613049864768982,
-0.015137496404349804,
-0.07888025045394897,
0.04007868096232414,
0.005892542656511068,
0.0014132711803540587,
-0.048116955906152725,
0.05251171067357063,
-0.029317161068320274,
-0.05983630567789078,
0.007920891977846622,
0.044135380536317825,
-0.0008064097492024302,
0.0751991719007492,
0.04477393254637718,
-0.008817685768008232,
-0.007319899741560221,
0.03744933754205704,
0.06400568783283234,
0.024434097111225128,
-0.00569534208625555,
0.01817062869668007,
-0.03559001907706261,
0.04345926269888878,
0.0050333114340901375,
-0.0267629437148571,
0.052060965448617935,
-0.014743095263838768,
0.009010191075503826,
0.04143091291189194,
0.009536058641970158,
0.001301758922636509,
-0.02326967380940914,
-0.02372041903436184,
0.021447915583848953,
-0.021917441859841347,
-0.006009924225509167,
-0.028903977945446968,
0.023795543238520622,
-0.03771227225661278,
0.011512761004269123,
0.023570170626044273,
0.03168356791138649,
-0.04079236090183258,
-0.015494335442781448,
0.059498246759176254,
-0.00045778718777000904,
-0.0007729560602456331,
-0.02062155120074749,
0.014245398342609406,
-0.02137279137969017,
-0.03344898298382759,
-0.051798030734062195,
0.02535436674952507,
-0.04221971705555916,
0.0561927892267704,
-0.010029060766100883,
-0.013231223449110985,
-0.004117737058550119,
0.05758258327841759,
-0.012310953810811043,
-0.039665497839450836,
0.04398513212800026,
0.003406406147405505,
-0.05239902436733246,
-0.046614471822977066,
-0.028641043230891228,
0.00279367552138865,
-0.05859676003456116,
-0.03557123616337776,
-0.032059188932180405,
0.001394490129314363,
0.0046389102935791016,
0.09848763048648834,
0.03374947980046272,
0.03729908913373947,
-0.0751991719007492,
0.016752663999795914,
-0.0018792750779539347,
0.05743233487010002,
-0.023833105340600014,
-0.020433740690350533,
0.015841783955693245,
-0.03459462523460388,
0.0774528980255127,
0.01199167687445879,
0.041919220238924026,
0.004340761341154575,
-0.025767549872398376,
0.048342324793338776,
0.006883241236209869,
-0.0005675387219525874,
0.021072296425700188,
0.006526401732116938,
0.02065911330282688,
-0.030913546681404114,
-0.01710011251270771,
-0.03872644901275635,
-0.0329606756567955,
0.024678250774741173,
0.020677894353866577,
-0.051084354519844055,
0.03286677226424217,
0.013728920370340347,
0.015907516703009605,
0.017043769359588623,
0.033561669290065765,
-0.022631119936704636,
-0.02531680464744568,
0.13214319944381714,
-0.02672538161277771,
0.036303699016571045,
-0.004634215030819178,
-0.014621018432080746,
0.017776228487491608,
-0.02127888798713684,
-0.047065217047929764,
0.034406814724206924,
0.021579382941126823,
-0.0369422510266304,
-0.04665203392505646,
0.03662297502160072,
-0.015306524932384491,
0.0375995859503746,
-0.01502481009811163,
-0.0023241504095494747,
0.026049263775348663,
0.01241424959152937,
-0.029843028634786606,
0.02770199254155159,
-0.021128639578819275,
-0.08173496276140213,
-0.014912123791873455,
-0.03213431313633919,
-0.041844096034765244,
-0.09044935554265976,
-0.028903977945446968,
0.01761659048497677,
-0.024715812876820564,
-0.02332601696252823,
-0.03844473138451576,
0.026650257408618927,
0.09931399673223495,
0.036172229796648026,
-0.014574065804481506,
0.0028922760393470526,
-0.002706813393160701,
0.02757052704691887,
0.02323211170732975,
-0.027232468128204346,
0.05438981205224991,
0.017316093668341637,
0.017203407362103462,
-0.042895831167697906,
0.003230334259569645,
0.003880626754835248,
0.041130416095256805,
0.03624735400080681,
0.026049263775348663,
-0.07373425364494324,
0.060249488800764084,
-0.01605776511132717,
-0.0016409909585490823,
0.014855780638754368,
-0.028528358787298203,
0.004350151866674423,
0.02557973936200142,
0.032453589141368866,
-0.017438169568777084,
-0.0006632045260630548,
-0.039139628410339355,
-0.008052359335124493,
0.03412510082125664,
-0.02704465761780739,
0.010385899804532528,
0.021128639578819275,
0.01130616944283247,
-0.002197378547862172,
-0.001399185392074287,
-0.017513293772935867,
0.01615167036652565,
0.014508332125842571,
-0.04751596227288246,
0.015419211238622665,
0.08556628972291946,
0.04627641662955284,
-0.036698099225759506,
0.0010716915130615234,
-0.005944190546870232,
-0.021785974502563477,
-0.023682856932282448,
0.03198406472802162,
-0.024321410804986954,
-0.054014191031455994,
-0.04819207638502121,
0.0517604686319828,
-0.03872644901275635,
-0.038069114089012146,
-0.042858269065618515,
0.013973073102533817,
-0.005831504240632057,
-0.029523750767111778,
-0.041092853993177414,
0.04492418095469475,
0.01641460508108139,
-0.04199434444308281,
-0.04199434444308281,
0.01889369823038578,
-0.022762587293982506,
0.013306347653269768,
0.009028972126543522,
-0.04593835771083832,
0.017212798818945885,
-0.0004753943649120629,
0.051610223948955536,
-0.04796670749783516,
0.07208152860403061,
-0.02071545645594597,
0.0752367377281189,
0.00010931136057479307,
-0.010470414534211159,
-0.02296917885541916,
0.00023432247689925134,
0.027232468128204346,
-0.033561669290065765,
0.03138307109475136,
0.011897771619260311,
-0.03337385877966881,
-0.037637148052453995,
-0.003612997243180871,
-0.010010279715061188,
0.028415672481060028,
-0.029448628425598145,
0.0025401320308446884,
-0.04428562894463539,
-0.013813435100018978,
0.002143383026123047,
0.025786330923438072,
0.03696103394031525,
-0.0020717803854495287,
-0.009728564880788326,
0.02959887497127056,
-0.007873939350247383,
0.017447561025619507,
0.003310153493657708,
0.015391039662063122,
-0.06674771755933762,
0.04864282160997391,
-0.012141924351453781,
0.09518217295408249,
0.0013463638024404645,
0.02849079668521881,
0.0068738507106900215,
0.0504457987844944,
0.018264533951878548,
0.048304762691259384,
-0.011907162144780159,
-0.025636082515120506,
0.008982019498944283,
0.05251171067357063,
0.01143763680011034,
0.028772510588169098,
-0.04131822660565376,
0.06809995323419571,
-0.02924203686416149,
-0.0054183220490813255,
-0.01561641227453947,
-0.002212638035416603,
-0.010564319789409637,
0.03906450420618057,
-0.10682640224695206,
0.013926120474934578,
-0.05052092298865318,
0.036040764302015305,
0.04221971705555916,
0.023645294830203056,
-0.0227813683450222,
-0.015250181779265404,
0.005601436831057072,
-0.04582567140460014,
-0.022950397804379463,
-0.03403119370341301,
-0.007667348254472017,
0.06565842032432556,
-0.006404325366020203,
0.004995749332010746,
0.039853308349847794,
0.040642112493515015,
0.027025876566767693,
-0.0002462073462083936,
0.038651324808597565,
0.004934710916131735,
0.022311842069029808,
0.011963505297899246,
-0.07354644685983658,
0.0407172366976738,
0.02725124917924404,
-0.011785085313022137,
0.056042540818452835,
0.02248087152838707,
-0.0743352472782135,
-0.024415316060185432,
-0.01885613612830639,
0.022537214681506157,
0.07091709971427917,
0.016142280772328377,
0.023175768554210663,
-0.06088804081082344,
-0.05269952118396759,
0.020245932042598724,
0.0325099341571331,
-0.012076190672814846,
-0.019701281562447548,
-0.07482355087995529,
0.002796023152768612,
0.06825020164251328,
0.015006029047071934,
-0.012198267504572868,
0.0174851231276989,
0.04548761248588562,
0.028415672481060028,
0.02646244689822197,
-0.024058477953076363,
-0.026349760591983795,
0.008493713103234768,
-0.02482849918305874,
-0.005854980554431677,
-0.02969278022646904,
0.08481505513191223,
0.0263309795409441,
0.012977679260075092,
-0.02738271653652191,
0.04571298509836197,
-0.035420987755060196,
-0.00946093536913395,
0.04349682480096817,
0.03044402040541172,
0.02203012816607952,
-0.10652590543031693,
0.03840716928243637,
-0.022142814472317696,
-0.05115947872400284,
0.0398157462477684,
-0.09841250628232956,
-0.028922758996486664,
-0.0522112138569355,
0.003932274412363768,
-0.014564675278961658,
-0.008925676345825195,
-0.025560958310961723,
-0.021692069247364998,
0.00931538175791502,
0.050821419805288315,
0.030293773859739304,
-0.00796314887702465,
0.021804755553603172,
-0.041881658136844635,
0.030500363558530807,
-0.033880945295095444,
0.005549789406359196,
0.04342170059680939,
-0.004481619223952293,
0.04477393254637718,
-0.03656663000583649,
0.04090504348278046,
0.02049008384346962,
0.007287032902240753,
0.05022042617201805,
-0.047065217047929764,
-0.007991320453584194,
-0.08218570798635483,
-0.030688174068927765,
-0.01269596442580223,
0.032941896468400955,
0.033204831182956696,
0.032059188932180405,
-0.02495996654033661,
0.06686040759086609,
0.0024344888515770435,
0.05810845270752907,
-0.0004360716266091913,
0.021804755553603172,
0.03709249943494797,
-0.011090188287198544,
-0.01911907084286213,
0.004000355489552021,
0.05596741661429405,
0.01017930917441845,
0.07993198931217194,
-0.029486190527677536,
-0.030293773859739304,
0.025786330923438072,
0.023870667442679405,
-0.06712333858013153,
-0.020809361711144447,
0.014921514317393303,
-0.006409020628780127,
-0.03545854985713959,
0.011052626185119152,
-0.0040426128543913364,
0.06562085449695587,
0.04300851747393608,
0.022443309426307678,
0.02079058066010475,
0.029993277043104172,
0.009592401795089245,
0.057094279676675797,
-0.04871794581413269,
-0.014066978357732296,
-0.03684834763407707,
0.04804183170199394,
0.017757447436451912,
-0.00428207078948617,
0.01700620725750923,
0.016038984060287476,
-0.013127927668392658,
-0.02450922131538391,
-0.01794525794684887,
-0.022762587293982506,
-0.043910007923841476,
0.013090365566313267,
-0.0013440161710605025,
-0.009381115436553955,
-0.004897148814052343,
-0.048868194222450256,
-0.03359923139214516,
-0.021710850298404694,
0.006747078616172075,
-0.030913546681404114,
0.006235296372324228,
0.08428918570280075,
-0.014761875383555889,
0.008493713103234768,
0.015719708055257797,
-0.046877406537532806,
0.029843028634786606,
-0.05893481895327568,
-0.01830209605395794,
-0.02310064621269703,
-0.02336357906460762,
0.03337385877966881,
0.014395645819604397,
0.011972895823419094,
0.06622184813022614,
-0.013653796166181564,
-0.03850107640028,
-0.012404859066009521,
0.02672538161277771,
-0.06141391023993492,
-0.04375975951552391,
-0.03654785081744194,
0.0796314924955368,
0.028528358787298203,
-0.007409109268337488,
-0.07163078337907791,
-0.0517604686319828,
-0.029843028634786606,
0.01354110985994339,
-0.06385543942451477,
0.010996283032000065,
-0.0045990003272891045,
-0.009160438552498817,
0.0028382805176079273,
0.004751596134155989,
0.03711128234863281,
-0.009831859730184078,
-0.0038360217586159706,
-0.015212619677186012,
0.002111690118908882,
-0.01130616944283247,
-0.018687106668949127,
0.02708221971988678,
-0.014151493087410927,
-0.00044604905997402966,
-0.00822138786315918,
-0.008949152193963528,
0.04766621068120003,
-0.021354010328650475,
0.0035590019542723894,
-0.027946146205067635,
-0.0699404925107956,
0.012968288734555244,
0.016029594466090202,
-0.019945435225963593,
-0.05987386777997017,
0.020903266966342926,
0.04004111886024475,
0.056042540818452835,
0.02544827200472355,
0.031833816319704056,
0.00809461623430252,
-0.016339480876922607,
0.010949330404400826,
0.006319810636341572,
-0.015334696508944035,
-0.04124310240149498,
-0.06039973720908165,
0.01872466877102852,
0.0051553878001868725,
-0.030519144609570503,
-0.012592668645083904,
-0.0854160413146019,
-0.03872644901275635,
0.043384138494729996,
0.030500363558530807,
-0.09961449354887009,
-0.04721546545624733,
0.04075479879975319,
-0.02668781951069832,
-0.015569459646940231,
-0.019128460437059402,
-0.006193039007484913,
-0.03778739646077156,
-0.10953086614608765,
-0.031307946890592575,
0.04330901429057121,
-0.01110896933823824,
0.042107030749320984,
-0.013888558372855186,
-0.050558485090732574,
-0.025767549872398376,
-0.06498230248689651,
0.07497379928827286,
-0.056530848145484924,
0.011531542055308819,
-0.044586122035980225,
-0.056831344962120056,
0.03624735400080681,
-0.01632069982588291,
0.04571298509836197,
-0.01042346190661192,
-0.041919220238924026,
0.016752663999795914,
-0.05172291025519371,
-0.023044303059577942,
-0.036303699016571045,
-0.013747701421380043,
0.020546426996588707,
0.0015095238341018558,
0.01569153554737568,
-0.06825020164251328,
0.02597413957118988,
-0.054051753133535385,
0.008568837307393551,
-0.013437814079225063,
-0.08391356468200684,
0.04849257320165634,
0.0539766289293766,
0.0003902929020114243,
-0.041656285524368286,
0.06411837786436081,
0.039102066308259964,
-0.030237430706620216,
0.014658580534160137,
0.0021692069713026285,
-0.002866452094167471,
0.0058127231895923615,
-0.035514894872903824,
-0.017222188413143158,
-0.02372041903436184,
-0.01925053820014,
-0.000005332597083906876,
0.04714034125208855,
0.0875946432352066,
-0.034275349229574203,
0.029392285272479057,
-0.05239902436733246,
-0.03696103394031525,
-0.005432407837361097,
0.043083641678094864,
-0.0019825706258416176,
-0.06438130885362625,
-0.04492418095469475,
-0.011381293646991253,
-0.03119526244699955,
0.01615167036652565,
0.01696864515542984,
0.0035707401111721992,
0.0007078094058670104,
-0.030462801456451416,
0.0033782345708459616,
0.005408931523561478,
0.10990648716688156,
0.012292172759771347,
-0.02747662179172039,
0.08211058378219604,
0.0774528980255127,
0.02805883251130581,
0.004359542392194271,
0.013700748793780804,
0.010536148212850094,
-0.05337563902139664,
0.06171440705657005,
0.03726152703166008,
-0.016301918774843216,
0.013475376181304455,
-0.016395824030041695,
0.03761836886405945,
0.02402091585099697,
-0.029899371787905693,
-0.006347982212901115,
0.016377042979002,
-0.0800822377204895,
0.06257833540439606,
0.012639621272683144,
0.03237846493721008,
-0.028152737766504288
]
|
44,032 | jsons.deserializers.default_nonetype | default_nonetype_deserializer |
Deserialize a ``NoneType``.
:param obj: the value that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: ``obj``.
| def default_nonetype_deserializer(obj: object,
cls: Optional[type] = None,
**kwargs) -> object:
"""
Deserialize a ``NoneType``.
:param obj: the value that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: ``obj``.
"""
if obj is not None:
raise DeserializationError('Cannot deserialize {} as NoneType'
.format(obj), source=obj, target=cls)
return obj
| (obj: object, cls: Optional[type] = None, **kwargs) -> object | [
0.02451443113386631,
0.021937895566225052,
0.06049257889389992,
-0.034447163343429565,
-0.023524891585111618,
-0.013844212517142296,
0.032785482704639435,
0.022105930373072624,
-0.006842756178230047,
-0.034297797828912735,
0.007533566560596228,
-0.0084297526627779,
-0.013713518157601357,
-0.05190412700176239,
0.015141814947128296,
0.09409956634044647,
-0.09828177094459534,
0.03368167206645012,
0.05668378621339798,
0.008448423817753792,
0.011333023197948933,
-0.028099175542593002,
-0.0261574387550354,
0.07471953332424164,
-0.01135169342160225,
-0.030059583485126495,
-0.0036430908367037773,
-0.010623542591929436,
-0.04727382957935333,
0.0332895889878273,
0.03629554808139801,
-0.020780321210622787,
0.005461135413497686,
0.013237419538199902,
-0.00863512884825468,
-0.01081958319991827,
-0.02531726472079754,
0.10149310529232025,
-0.10761704295873642,
-0.029331432655453682,
0.0014528020983561873,
0.0168595053255558,
-0.06430137157440186,
-0.0049710338935256,
0.0011079803807660937,
-0.008210374042391777,
0.030451664701104164,
0.018147774040699005,
-0.05929766222834587,
-0.02038823999464512,
0.046900417655706406,
0.017092887312173843,
-0.007482222281396389,
0.026120098307728767,
0.01731693372130394,
0.02724033035337925,
-0.027016283944249153,
0.014861756935715675,
-0.018381156027317047,
0.061575472354888916,
-0.006338651292026043,
0.05575025826692581,
0.007645589765161276,
-0.03569808974862099,
-0.0322066955268383,
-0.04077647998929024,
0.021825872361660004,
-0.004606958013027906,
-0.007874304428696632,
0.02438373677432537,
-0.00876582320779562,
0.0003970408870372921,
-0.010390160605311394,
0.07602647691965103,
0.08887181431055069,
-0.0652722418308258,
-0.021676506847143173,
0.004961698316037655,
-0.00725350808352232,
0.022927433252334595,
0.001222920953296125,
0.02972351387143135,
-0.04230746254324913,
-0.0107542360201478,
0.01450701616704464,
0.01116498839110136,
-0.004046841524541378,
0.016850169748067856,
-0.012443920597434044,
-0.008159030228853226,
-0.024271713569760323,
-0.015393868088722229,
-0.03879740089178085,
-0.03538069128990173,
-0.03412976488471031,
0.013125396333634853,
0.0002955197705887258,
-0.015011121518909931,
-0.003335026791319251,
-0.029070043936371803,
-0.016962192952632904,
-0.03000357188284397,
-0.024831829592585564,
0.018791908398270607,
-0.007720272056758404,
-0.07434612512588501,
0.03411109372973442,
0.006044590380042791,
-0.0016009996179491282,
0.018250461667776108,
0.030862417072057724,
-0.009708685800433159,
-0.0646374374628067,
0.02397298440337181,
0.004231213126331568,
-0.037845201790332794,
-0.003283682744950056,
0.0261574387550354,
-0.0019557399209588766,
-0.021695178002119064,
-0.03282282501459122,
0.03506329283118248,
-0.10321079194545746,
0.0010823083575814962,
-0.004660635720938444,
-0.005325774196535349,
0.03011559508740902,
-0.023636914789676666,
0.08782625943422318,
0.08573516458272934,
0.04144861921668053,
0.02449575997889042,
-0.08461492508649826,
0.01697152853012085,
-0.026904260739684105,
0.05604898929595947,
0.015207162126898766,
0.011342358775436878,
0.0015193158760666847,
-0.035268668085336685,
0.007682930678129196,
-0.054144591093063354,
0.034708552062511444,
-0.023039458319544792,
-0.016915516927838326,
0.02272205799818039,
-0.021863212808966637,
-0.01798907481133938,
-0.01733560487627983,
-0.008131024427711964,
0.028958020731806755,
0.03131050989031792,
-0.005535817705094814,
0.058961592614650726,
0.02066829800605774,
0.0014341315254569054,
0.017951732501387596,
-0.06374125182628632,
-0.004700310528278351,
-0.009246589615941048,
-0.012565279379487038,
0.008275721222162247,
0.07083605974912643,
-0.04947695508599281,
0.039245493710041046,
0.025242581963539124,
0.06979051232337952,
-0.002287142211571336,
0.03213201463222504,
0.015421873889863491,
-0.041971392929553986,
-0.02397298440337181,
-0.035119302570819855,
-0.003451717784628272,
0.06725131720304489,
0.06415200978517532,
-0.030320972204208374,
-0.027613742277026176,
-0.020705638453364372,
0.04271821677684784,
0.0032906841952353716,
-0.010735565796494484,
0.02768842503428459,
-0.005535817705094814,
0.07120947539806366,
0.014236293733119965,
0.005171742290258408,
-0.05507811903953552,
-0.010875594802200794,
0.001006459235213697,
-0.01424562931060791,
0.019361359998583794,
-0.033606987446546555,
0.003533401293680072,
0.025970732793211937,
0.039917632937431335,
-0.010586201213300228,
0.025541311129927635,
-0.03603415936231613,
-0.018381156027317047,
0.018735896795988083,
-0.0029919554945081472,
0.02682957798242569,
-0.005941902287304401,
-0.05343510955572128,
-0.0007707435870543122,
-0.0072301700711250305,
0.03159056976437569,
-0.012574614956974983,
-0.018325144425034523,
-0.02397298440337181,
0.006534692365676165,
-0.0410752072930336,
0.009624668397009373,
0.04757256060838699,
-0.04473463445901871,
-0.028099175542593002,
-0.032785482704639435,
-0.01802641525864601,
0.027464376762509346,
0.04533209279179573,
-0.02148980274796486,
-0.0399923175573349,
0.0266988854855299,
0.016812829300761223,
0.014964444562792778,
-0.02682957798242569,
-0.04589220881462097,
-0.013797535561025143,
-0.04055243358016014,
-0.041411276906728745,
-0.025149229913949966,
-0.06191154196858406,
0.017148898914456367,
0.02765108272433281,
0.053061701357364655,
0.036612946540117264,
-0.04040306806564331,
-0.040029656141996384,
-0.014964444562792778,
0.030358312651515007,
-0.07288981974124908,
-0.013032043352723122,
-0.0408511608839035,
0.01895994320511818,
0.08954395353794098,
0.01601933129131794,
0.05227753892540932,
-0.035791441798210144,
-0.04914088547229767,
0.03973092883825302,
-0.015477885492146015,
0.019268006086349487,
-0.022964775562286377,
0.03110513463616371,
-0.03819994255900383,
-0.023767609149217606,
-0.023338185623288155,
0.027744436636567116,
-0.03586612641811371,
-0.012602620758116245,
-0.03125450015068054,
-0.03806924819946289,
0.08454024791717529,
-0.017223581671714783,
-0.014170946553349495,
-0.020481592044234276,
-0.01897861249744892,
-0.02408500760793686,
0.0059699080884456635,
0.14488345384597778,
-0.040589772164821625,
0.0378265306353569,
-0.009162572212517262,
0.009381950832903385,
-0.014170946553349495,
-0.013480136170983315,
-0.016943523660302162,
0.05918563902378082,
0.0030339641962200403,
-0.03965624421834946,
-0.018381156027317047,
0.04070179536938667,
-0.006095934193581343,
0.016187366098165512,
-0.015011121518909931,
0.0010385492350906134,
-0.027595071122050285,
-0.03599681705236435,
-0.019230665639042854,
0.02916339784860611,
0.02890200912952423,
-0.008187036029994488,
0.011865133419632912,
-0.01725158654153347,
-0.0062172929756343365,
-0.042083416134119034,
-0.002697894349694252,
0.028939351439476013,
-0.022217953577637672,
-0.029256749898195267,
-0.017755692824721336,
0.023580903187394142,
0.005932566709816456,
0.027483047917485237,
-0.05694517493247986,
-0.0033933722879737616,
0.015561902895569801,
0.004812334198504686,
0.008779825642704964,
-0.02602674439549446,
-0.005391120910644531,
0.022217953577637672,
0.005358447786420584,
-0.01794239692389965,
0.04275555536150932,
0.05526482313871384,
0.04615359753370285,
0.039506882429122925,
0.0484314039349556,
-0.03597814962267876,
-0.0016768486239016056,
-0.03838665038347244,
0.03203866258263588,
-0.02849125862121582,
-0.030283629894256592,
-0.035959478467702866,
0.030190277844667435,
-0.0008664301712997258,
0.05227753892540932,
0.02083633281290531,
-0.009064551442861557,
-0.032094672322273254,
-0.007314187474548817,
-0.026400156319141388,
-0.007617583964020014,
-0.005834546405822039,
-0.013022707775235176,
0.00014761403144802898,
0.001739861792884767,
-0.03861069679260254,
0.01813843846321106,
0.0035007279366254807,
-0.015431208536028862,
0.015449879691004753,
0.07669861614704132,
0.08371873944997787,
-0.04887949675321579,
0.013638836331665516,
0.01785838045179844,
-0.031702592968940735,
0.00042358809150755405,
0.006081931293010712,
-0.0039884960278868675,
-0.019034624099731445,
-0.04846874624490738,
0.021303096786141396,
0.006721397861838341,
-0.018707890063524246,
-0.009652674198150635,
-0.0640026405453682,
0.02576535753905773,
-0.028005823493003845,
0.005433129612356424,
0.007934982888400555,
-0.015991324558854103,
-0.0041051870211958885,
-0.014833751134574413,
0.0006359655526466668,
-0.012117186561226845,
-0.05026111751794815,
0.017298264428973198,
-0.06706461310386658,
-0.04436122253537178,
0.002842591144144535,
0.021265754476189613,
-0.04204607754945755,
0.020500263199210167,
0.017624998465180397,
0.012126521207392216,
-0.018241126090288162,
-0.022964775562286377,
0.011865133419632912,
-0.015748608857393265,
0.01061420701444149,
-0.019772110506892204,
-0.009886055253446102,
0.06191154196858406,
-0.045406773686409,
-0.022647375240921974,
-0.024719806388020515,
0.012257215566933155,
0.023095469921827316,
-0.03506329283118248,
0.021695178002119064,
-0.002278973814100027,
-0.02516789920628071,
-0.003451717784628272,
-0.041710007935762405,
0.0028309219051152468,
0.013125396333634853,
0.01383487693965435,
-0.021396448835730553,
0.04383844882249832,
-0.010502183809876442,
0.050037071108818054,
0.02617610991001129,
-0.0687449648976326,
0.03838665038347244,
-0.031011782586574554,
0.0373971089720726,
-0.029648831114172935,
0.03398039937019348,
-0.030881088227033615,
0.07916312664747238,
0.021023038774728775,
0.02272205799818039,
0.011883804574608803,
0.017839709296822548,
-0.004282556939870119,
-0.0070854732766747475,
0.04570550471544266,
0.049925047904253006,
0.0011213998077437282,
0.05683315172791481,
0.011547734960913658,
0.0021331103052943945,
-0.05171741917729378,
0.04727382957935333,
-0.019678758457303047,
0.0473485104739666,
-0.04753521829843521,
-0.0013792867539450526,
-0.05888691172003746,
0.03749046102166176,
0.025447959080338478,
0.0009218583581969142,
-0.05369649827480316,
-0.03834930807352066,
0.030750393867492676,
-0.01499245036393404,
-0.030040914192795753,
-0.021583154797554016,
-0.0032626783940941095,
0.02944345586001873,
0.031683921813964844,
0.0276697538793087,
0.032262708991765976,
0.010380825027823448,
0.002166950609534979,
0.0030362980905920267,
0.01725158654153347,
0.04637764394283295,
0.014012247323989868,
-0.05746794864535332,
-0.06777409464120865,
0.0018448836635798216,
0.0162153709679842,
-0.0034447163343429565,
-0.021041708067059517,
0.003531067632138729,
-0.023058127611875534,
-0.012229209765791893,
-0.031553227454423904,
0.025970732793211937,
0.08297192305326462,
-0.011155652813613415,
-0.011267676018178463,
-0.05212817341089249,
-0.035119302570819855,
0.0007637421367689967,
0.02626946195960045,
-0.0072021642699837685,
-0.016700806096196175,
-0.00428022351115942,
0.039917632937431335,
0.041560642421245575,
-0.05459268391132355,
0.030750393867492676,
-0.019566735252738,
0.026941603049635887,
0.017951732501387596,
0.04357706010341644,
-0.01753164641559124,
-0.038536012172698975,
0.012079845182597637,
-0.019492052495479584,
0.014880427159368992,
0.055526211857795715,
0.04353972151875496,
0.034036409109830856,
0.046639032661914825,
-0.06123939901590347,
-0.019902804866433144,
-0.005358447786420584,
0.009526647627353668,
0.012462591752409935,
0.005409791599959135,
0.03721040487289429,
-0.030489007011055946,
0.04271821677684784,
0.01067955419421196,
-0.020481592044234276,
-0.014815080910921097,
-0.05645973980426788,
-0.07774416357278824,
-0.062247611582279205,
0.07079872488975525,
-0.02163916639983654,
0.02477581799030304,
-0.019249336794018745,
0.05313638225197792,
0.04507070407271385,
-0.001376952975988388,
-0.025279922410845757,
0.022255294024944305,
0.05683315172791481,
0.001693185418844223,
0.060604602098464966,
-0.02449575997889042,
-0.000574702862650156,
0.09738558530807495,
0.014880427159368992,
0.019361359998583794,
-0.03218802809715271,
0.0408511608839035,
-0.04268087446689606,
0.006058593280613422,
0.03958156332373619,
0.016056671738624573,
0.04253150895237923,
-0.07554104179143906,
-0.03213201463222504,
-0.003752780379727483,
0.009545317851006985,
-0.05504077672958374,
0.004203207325190306,
0.05354713276028633,
0.020350897684693336,
-0.04447324946522713,
0.03467120975255966,
-0.015524561516940594,
0.008532441221177578,
0.04749787598848343,
-0.04753521829843521,
-0.030787736177444458,
0.004777326714247465,
0.11403971165418625,
-0.015179156325757504,
0.0698278546333313,
-0.008252382278442383,
-0.0301529373973608,
0.06885698437690735,
0.005811208393424749,
-0.057579971849918365,
0.01666346564888954,
0.019492052495479584,
0.024066338315606117,
0.039357516914606094,
0.0014271300751715899,
0.02710963785648346,
0.07983526587486267,
-0.0012065842747688293,
-0.013041377998888493,
0.03532467782497406,
-0.004578952211886644,
-0.024327725172042847,
0.031683921813964844,
0.03338294103741646,
0.034017741680145264,
-0.012677302584052086,
0.02548529952764511,
0.028453916311264038,
0.005475138314068317,
0.0432409904897213,
0.020873673260211945,
-0.01919332519173622,
0.0149177685379982,
-0.025354605168104172,
-0.058961592614650726,
-0.004887016024440527,
-0.03420444577932358,
-0.008275721222162247,
-0.10694490373134613,
-0.0283232219517231,
-0.10433102399110794,
-0.008163697086274624,
-0.05802806466817856,
-0.03468988090753555,
-0.02191922441124916,
0.0004270888166502118,
0.0648614838719368,
0.0010706392349675298,
0.016747482120990753,
0.01595398411154747,
-0.014563027769327164,
0.009895390830934048,
-0.055115461349487305,
0.0410752072930336,
-0.022946104407310486,
-0.0215084720402956,
0.05235221982002258,
0.013545483350753784,
0.014861756935715675,
0.04204607754945755,
0.0068380883894860744,
-0.06676588207483292,
-0.01973477005958557,
-0.011323687620460987,
-0.076101154088974,
-0.001995414961129427,
0.04256885126233101,
0.05111996456980705,
0.04630296304821968,
-0.025429287925362587,
-0.02905137464404106,
-0.005904560908675194,
-0.01664479449391365,
-0.05406991019845009,
-0.022367317229509354,
0.0008174199610948563,
0.023618243634700775,
-0.023730266839265823,
0.017298264428973198,
-0.02163916639983654,
0.015067133121192455,
-0.03939485922455788,
-0.011071635410189629,
-0.013060049153864384,
0.01649543084204197,
0.02548529952764511,
-0.004749320913106203,
-0.016868840903043747,
-0.0039744931273162365,
-0.057691995054483414,
-0.044286541640758514,
-0.004938360303640366,
-0.001534485723823309,
0.017214246094226837,
0.03872271999716759,
-0.03838665038347244,
-0.024570442736148834,
0.0014481344260275364,
-0.004067845642566681,
-0.03426045551896095,
-0.06534691900014877,
0.011155652813613415,
0.0063759926706552505,
0.015729937702417374,
0.057691995054483414,
-0.05201615020632744,
-0.020220205187797546,
-0.0055311499163508415,
-0.07016392052173615,
-0.021695178002119064,
0.03722907602787018,
0.007897642441093922,
-0.013984241522848606,
0.04342769831418991,
0.013704182580113411,
-0.07378601282835007,
-0.01697152853012085,
-0.045257411897182465,
0.016140690073370934,
0.07841630280017853,
0.007668927777558565,
-0.047311171889305115,
-0.07752011716365814,
0.015505891293287277,
-0.054704707115888596,
-0.018259797245264053,
0.04697510227560997,
0.003395706182345748,
0.010922270826995373,
-0.06822218745946884,
-0.04398781433701515,
-0.016336729750037193,
-0.023468879982829094,
0.03547404333949089,
-0.0027375691570341587,
0.014535021968185902,
-0.006338651292026043,
-0.05959639325737953,
0.03700502961874008,
-0.06374125182628632,
0.01697152853012085,
-0.012611955404281616,
-0.043875791132450104,
0.05638505890965462,
-0.07707202434539795,
0.033065542578697205,
0.003082974348217249,
-0.04619093984365463,
0.03132918104529381,
-0.034036409109830856,
-0.07300184667110443,
-0.03928283601999283,
0.029630161821842194,
0.03381236270070076,
0.02094835601747036,
0.032916177064180374,
-0.011174323968589306,
-0.012005163356661797,
-0.009680679999291897,
0.029350103810429573,
0.008877846412360668,
-0.04846874624490738,
0.01770901493728161,
0.024271713569760323,
-0.044585272669792175,
-0.04268087446689606,
0.0693797618150711,
-0.01878257282078266,
-0.03864803537726402,
-0.03123582899570465,
0.06325581669807434,
-0.0227033868432045,
0.03861069679260254,
-0.038536012172698975,
-0.006319980602711439,
0.013610830530524254,
-0.024533100426197052,
-0.005993246100842953,
0.03818127140402794,
0.09006673097610474,
0.013610830530524254,
-0.05982043966650963,
-0.0795365422964096,
-0.035287339240312576,
0.0174009520560503,
0.1227775290608406,
0.023375527933239937,
0.02232997678220272,
-0.03233738988637924,
0.029480796307325363,
-0.03506329283118248,
0.025690674781799316,
0.003391038393601775,
-0.02272205799818039,
0.04167266562581062,
-0.061575472354888916,
-0.0010992286261171103,
0.05421927571296692,
0.08349469304084778,
0.05612367019057274,
-0.01123033557087183,
0.06926773488521576,
0.0626957044005394,
0.02462645433843136,
0.035119302570819855,
0.005409791599959135,
-0.04055243358016014,
0.009008539840579033,
0.09245655685663223,
0.04174734652042389,
-0.035137973725795746,
0.02382362075150013,
0.01601933129131794,
0.022348647937178612,
-0.00964333862066269,
-0.05418193340301514,
-0.025130558758974075,
-0.0028659291565418243,
-0.02834189310669899,
-0.0026582193095237017,
0.022124599665403366,
0.005050383508205414,
-0.031011782586574554
]
|
44,033 | jsons.deserializers.default_object | default_object_deserializer |
Deserialize ``obj`` into an instance of type ``cls``. If ``obj`` contains
keys with a certain case style (e.g. camelCase) that do not match the style
of ``cls`` (e.g. snake_case), a key_transformer should be used (e.g.
KEY_TRANSFORMER_SNAKECASE).
:param obj: a serialized instance of ``cls``.
:param cls: the type to which ``obj`` should be deserialized.
:param key_transformer: a function that transforms the keys in order to
match the attribute names of ``cls``.
:param strict: deserialize in strict mode.
:param kwargs: any keyword arguments that may be passed to the
deserializers.
:return: an instance of type ``cls``.
| def default_object_deserializer(
obj: dict,
cls: type,
*,
key_transformer: Optional[Callable[[str], str]] = None,
strict: bool = False,
**kwargs) -> object:
"""
Deserialize ``obj`` into an instance of type ``cls``. If ``obj`` contains
keys with a certain case style (e.g. camelCase) that do not match the style
of ``cls`` (e.g. snake_case), a key_transformer should be used (e.g.
KEY_TRANSFORMER_SNAKECASE).
:param obj: a serialized instance of ``cls``.
:param cls: the type to which ``obj`` should be deserialized.
:param key_transformer: a function that transforms the keys in order to
match the attribute names of ``cls``.
:param strict: deserialize in strict mode.
:param kwargs: any keyword arguments that may be passed to the
deserializers.
:return: an instance of type ``cls``.
"""
obj, kwargs = _check_and_transform_keys(obj, key_transformer, **kwargs)
kwargs['strict'] = strict
constructor_args = _get_constructor_args(obj, cls, **kwargs)
remaining_attrs = _get_remaining_args(obj, cls, constructor_args,
strict, kwargs['fork_inst'])
instance = cls(**constructor_args)
_set_remaining_attrs(instance, remaining_attrs, **kwargs)
return instance
| (obj: dict, cls: type, *, key_transformer: Optional[Callable[[str], str]] = None, strict: bool = False, **kwargs) -> object | [
0.03385771065950394,
-0.011632781475782394,
0.004706073086708784,
-0.027112185955047607,
-0.032445427030324936,
-0.0028338644187897444,
0.04575065150856972,
0.02051532082259655,
-0.0028431557584553957,
-0.01871279627084732,
-0.002889612689614296,
0.03281708061695099,
-0.018183190375566483,
-0.02514241822063923,
-0.020719731226563454,
0.07347606867551804,
-0.0828045904636383,
0.04549049213528633,
0.012803493067622185,
0.011883648112416267,
0.027929825708270073,
-0.0480920746922493,
-0.01629704423248768,
0.0870414525270462,
-0.010954512283205986,
-0.017867283895611763,
-0.011734986677765846,
0.035047005861997604,
-0.013760502450168133,
-0.02333989366889,
0.003219455946236849,
0.0009680434595793486,
0.013147273100912571,
0.03248259052634239,
-0.046233803033828735,
-0.056417129933834076,
0.017718620598316193,
0.03991567716002464,
-0.06299541145563126,
-0.015107749961316586,
0.03302149102091789,
0.06741809844970703,
-0.011019552126526833,
0.00683379452675581,
0.03474968299269676,
0.05013617128133774,
0.024566352367401123,
0.013844124972820282,
0.01107530016452074,
-0.05292357876896858,
0.04229426756501198,
-0.0320180244743824,
0.03411787003278732,
0.026982106268405914,
0.03649645671248436,
-0.02614588476717472,
-0.01260837446898222,
0.016185548156499863,
-0.031051721423864365,
0.02036665938794613,
-0.012571209110319614,
0.037704333662986755,
-0.023432807996869087,
-0.0018826615996658802,
-0.03946969285607338,
-0.08220994472503662,
0.006666549947112799,
-0.016557201743125916,
-0.02177894487977028,
-0.011381914839148521,
-0.021593118086457253,
0.033783379942178726,
-0.011549158953130245,
0.000514218641910702,
0.011038134805858135,
-0.037388429045677185,
-0.02584856003522873,
0.00040765837184153497,
-0.015869641676545143,
0.031999439001083374,
0.022187765687704086,
-0.03924670070409775,
-0.024213280528783798,
-0.0219276063144207,
-0.020459571853280067,
0.014540976844727993,
-0.013342391699552536,
-0.010480652563273907,
0.040064338594675064,
-0.011205378919839859,
-0.03523283451795578,
0.029267780482769012,
-0.014689638279378414,
0.0013449242105707526,
-0.022596584632992744,
-0.011874356307089329,
-0.0080045061185956,
0.04207127168774605,
0.027428092435002327,
0.0005807099514640868,
-0.030977390706539154,
0.026368876919150352,
-0.07618914544582367,
0.03227818012237549,
0.007437733002007008,
-0.10094132274389267,
0.023934541270136833,
0.001746775466017425,
0.0021974064875394106,
-0.03333739563822746,
0.030494239181280136,
-0.018341142684221268,
-0.05322090536355972,
0.07715544104576111,
-0.014745386317372322,
-0.05701177939772606,
0.007962694391608238,
0.0099882110953331,
-0.05474468693137169,
-0.03415503725409508,
-0.03736984729766846,
0.025551237165927887,
-0.09454886615276337,
0.011335457675158978,
-0.020775478333234787,
-0.02765108458697796,
0.08362223207950592,
0.0005992926307953894,
0.09172429889440536,
0.09982635825872421,
0.03101455606520176,
0.002469178754836321,
-0.0544845275580883,
0.014698930084705353,
0.029658017680048943,
0.016343500465154648,
0.0139742037281394,
0.04954152554273605,
-0.021909024566411972,
-0.006002217996865511,
0.05630563572049141,
-0.0334303081035614,
0.017477046698331833,
0.0034006373025476933,
-0.02239217422902584,
-0.06979668885469437,
-0.014122865162789822,
0.00914734322577715,
-0.012561917304992676,
0.005844264756888151,
0.019121617078781128,
0.05530216917395592,
-0.0020893942564725876,
0.023692965507507324,
0.021871859207749367,
-0.03891221061348915,
-0.015209954231977463,
-0.0530722439289093,
0.02943502552807331,
0.002810636069625616,
0.003112605307251215,
0.0039348904974758625,
-0.008729231543838978,
-0.07094881683588028,
0.04065898805856705,
-0.002469178754836321,
0.023897375911474228,
-0.03649645671248436,
0.033486057072877884,
0.025160999968647957,
-0.081392303109169,
-0.0015202986542135477,
-0.04095631092786789,
0.02514241822063923,
0.03186935931444168,
0.03813173621892929,
-0.020719731226563454,
0.011911522597074509,
0.010016084648668766,
0.012190262787044048,
0.03411787003278732,
0.004325127694755793,
0.04166245460510254,
-0.043186236172914505,
0.0523289330303669,
0.014829008840024471,
0.02183469384908676,
0.025588402524590492,
-0.016194839030504227,
-0.007507417816668749,
0.0022136662155389786,
0.028710298240184784,
0.017012478783726692,
-0.002485438482835889,
-0.025421157479286194,
0.03954402357339859,
-0.0435207262635231,
-0.01647358015179634,
-0.0778244212269783,
0.014903339557349682,
0.0035539448726922274,
0.011930105276405811,
0.0778244212269783,
0.005486547481268644,
-0.03580889850854874,
0.024845093488693237,
0.011948687955737114,
0.016798777505755424,
-0.03432228043675423,
-0.022689498960971832,
0.009505060501396656,
-0.024083202704787254,
-0.06433337181806564,
-0.005890721455216408,
0.04266592115163803,
0.01119608711451292,
0.047497425228357315,
-0.012719870544970036,
0.00003966974691138603,
-0.010796559043228626,
0.08332490921020508,
0.015293576754629612,
-0.023061152547597885,
0.014039243571460247,
-0.005021979566663504,
-0.02514241822063923,
-0.021017054095864296,
-0.02904478833079338,
-0.029174866154789925,
-0.049838848412036896,
-0.0268706101924181,
-0.05942753329873085,
-0.040919143706560135,
0.0302340816706419,
0.055859651416540146,
0.021871859207749367,
0.04214560240507126,
-0.03954402357339859,
0.06020800769329071,
-0.005031270906329155,
0.06938786804676056,
-0.03142337501049042,
-0.004938357509672642,
-0.00823679007589817,
-0.020645398646593094,
0.036366380751132965,
0.014633890241384506,
0.012385381385684013,
-0.020180830731987953,
-0.03294716030359268,
0.03696102648973465,
-0.016222713515162468,
0.023042570799589157,
-0.008594507351517677,
-0.016241295263171196,
-0.02287532575428486,
-0.06782691925764084,
0.008724586106836796,
-0.02943502552807331,
-0.03084731101989746,
-0.008334348909556866,
0.05017333850264549,
-0.07975702732801437,
0.049058374017477036,
0.018526969477534294,
0.005890721455216408,
0.005969698075205088,
0.012970737181603909,
-0.020571067929267883,
-0.004780404269695282,
0.07440520077943802,
-0.030735814943909645,
0.016241295263171196,
0.05080515146255493,
0.009444666095077991,
0.00552371283993125,
-0.025904309004545212,
-0.04549049213528633,
0.048909712582826614,
0.01472680363804102,
-0.0544845275580883,
-0.030419908463954926,
0.03227818012237549,
0.008887184783816338,
0.036682285368442535,
-0.023934541270136833,
-0.008399388752877712,
0.0005287363892421126,
-0.020496737211942673,
-0.04143946245312691,
-0.0106107322499156,
-0.018183190375566483,
-0.008320411667227745,
-0.025346826761960983,
-0.03028983063995838,
-0.07117181271314621,
-0.08711577951908112,
-0.05099097639322281,
0.016770903021097183,
-0.05244043096899986,
-0.005077727604657412,
-0.013268060982227325,
0.02239217422902584,
0.04292607679963112,
0.031126052141189575,
-0.028097068890929222,
-0.011158921755850315,
-0.026573287323117256,
0.0006393616204150021,
0.007586394436657429,
-0.010266951285302639,
0.04433836415410042,
0.05069365352392197,
-0.012924280017614365,
-0.019456105306744576,
-0.043966710567474365,
0.030587153509259224,
0.04270308464765549,
0.05942753329873085,
0.040919143706560135,
-0.04407820850610733,
0.03238967806100845,
-0.05942753329873085,
0.042628753930330276,
-0.003166030626744032,
-0.03523283451795578,
-0.015005544759333134,
-0.014540976844727993,
0.05262625589966774,
-0.012385381385684013,
-0.004822215065360069,
0.003323983633890748,
-0.007567811757326126,
0.02653612196445465,
-0.03696102648973465,
-0.019400358200073242,
0.013946330174803734,
0.0027130767703056335,
-0.027836911380290985,
-0.02716793306171894,
0.00637851795181632,
0.029081953689455986,
0.005268200300633907,
-0.030587153509259224,
0.007005684543401003,
0.04534183070063591,
0.05262625589966774,
-0.03939536213874817,
0.0049337116070091724,
-0.02356288582086563,
-0.032854244112968445,
-0.06778975576162338,
0.008645609952509403,
-0.0023948478046804667,
-0.00445985235273838,
-0.06831007450819016,
0.047869082540273666,
-0.049764517694711685,
-0.03725834935903549,
-0.08681845664978027,
-0.0254583228379488,
-0.03478684648871422,
-0.05173428729176521,
-0.02882179617881775,
0.01783940941095352,
0.016891689971089363,
-0.0067734005860984325,
-0.06961086392402649,
0.0030034317169338465,
-0.013156563974916935,
-0.005681666079908609,
0.02638745866715908,
-0.03562306985259056,
0.019363192841410637,
-0.022503672167658806,
0.02019941434264183,
-0.036756616085767746,
0.06589432060718536,
0.010703645646572113,
0.10711078345775604,
0.03783441334962845,
0.027149351313710213,
-0.008682775311172009,
0.05151129513978958,
0.023618634790182114,
-0.022280678153038025,
0.02865455113351345,
0.04660545662045479,
0.008603798225522041,
-0.05158562585711479,
-0.015953263267874718,
-0.011642072349786758,
0.027279429137706757,
-0.02293107472360134,
0.027985572814941406,
-0.019623350352048874,
0.003600401571020484,
0.004845443647354841,
-0.008292538113892078,
0.02867313288152218,
-0.018211062997579575,
0.005235680844634771,
0.03727693110704422,
-0.03092164173722267,
-0.01433656644076109,
0.055153507739305496,
0.058461230248212814,
-0.06035666912794113,
0.033634718507528305,
-0.018183190375566483,
0.05244043096899986,
-0.016510745510458946,
0.015488695353269577,
-0.027223682031035423,
0.013054359704256058,
-0.002668942790478468,
0.044747184962034225,
-0.009226319380104542,
-0.0502476692199707,
0.005249617621302605,
-0.004053355194628239,
0.03053140640258789,
-0.0053053661249578,
-0.07213810831308365,
0.07232394069433212,
-0.031070305034518242,
-0.035901810973882675,
-0.0463452972471714,
0.03385771065950394,
-0.04965302348136902,
0.02451060526072979,
-0.08919704705476761,
-0.024529187008738518,
-0.021202880889177322,
0.00896616093814373,
0.03194369375705719,
0.05753209441900253,
-0.006861668545752764,
-0.011409788392484188,
0.026666199788451195,
-0.048203568905591965,
-0.0676039308309555,
-0.03242684155702591,
-0.014020660892128944,
-0.02248508855700493,
-0.006123005412518978,
0.027186516672372818,
0.02356288582086563,
0.04597364366054535,
0.005142766982316971,
0.07314157485961914,
0.02904478833079338,
0.030735814943909645,
0.06098847836256027,
-0.05474468693137169,
-0.07760143280029297,
0.0671951100230217,
0.0365893729031086,
-0.0002558027335908264,
0.022206347435712814,
0.0427774153649807,
-0.05028483644127846,
-0.003546976251527667,
-0.014819717966020107,
-0.0053843422792851925,
0.0731787458062172,
0.03751850873231888,
0.018554843962192535,
-0.05381555110216141,
-0.07518567889928818,
0.034173619002103806,
0.01615767367184162,
0.00014437900972552598,
-0.014819717966020107,
-0.0339692085981369,
0.02584856003522873,
0.0597991868853569,
-0.0339692085981369,
-0.05388988181948662,
0.000430306070484221,
0.024380525574088097,
-0.022689498960971832,
0.051808618009090424,
-0.009625847451388836,
-0.03562306985259056,
-0.0012740775709971786,
-0.011753569357097149,
-0.0009541064500808716,
-0.03069864958524704,
0.08875106275081635,
0.010592149570584297,
0.05392704904079437,
-0.013937038369476795,
0.0367937795817852,
0.020422406494617462,
0.004822215065360069,
0.01534932479262352,
0.029249198734760284,
0.0004018512845505029,
-0.0640360489487648,
0.0219276063144207,
-0.007479543797671795,
-0.06972235441207886,
0.023284144699573517,
-0.0806489959359169,
-0.06020800769329071,
-0.04039882868528366,
0.03250117227435112,
0.007349465042352676,
-0.018508387729525566,
0.0016050823032855988,
0.022745246067643166,
0.0022636072244495153,
0.03352322429418564,
-0.0068245031870901585,
-0.00990458857268095,
0.0001814718561945483,
-0.024845093488693237,
0.03796449303627014,
-0.04471001774072647,
0.01773720420897007,
0.08399388194084167,
0.05017333850264549,
0.009240256622433662,
-0.018424764275550842,
0.05459602549672127,
-0.015172788873314857,
-0.004956940189003944,
0.0731787458062172,
0.013268060982227325,
-0.034024957567453384,
-0.06979668885469437,
-0.019697681069374084,
0.016900982707738876,
0.009551516734063625,
0.021407291293144226,
-0.005031270906329155,
0.03657078742980957,
0.017718620598316193,
-0.036217715591192245,
0.05247759446501732,
0.03337456285953522,
0.0031079596374183893,
0.04783191531896591,
0.001059795613400638,
-0.021407291293144226,
0.029583686962723732,
0.05942753329873085,
-0.06663762778043747,
0.029100535437464714,
-0.014931214042007923,
-0.027818327769637108,
0.030178334563970566,
-0.00026581998099572957,
-0.05559949204325676,
0.00045266340021044016,
0.02051532082259655,
0.015330742113292217,
-0.017244761809706688,
-0.02326556295156479,
0.0004334999539423734,
0.043186236172914505,
0.0026759114116430283,
0.014113574288785458,
-0.01705893501639366,
0.03411787003278732,
0.04292607679963112,
0.03328164666891098,
-0.004229891113936901,
0.03294716030359268,
-0.024696432054042816,
0.05184578150510788,
0.04954152554273605,
0.02019941434264183,
-0.02216918207705021,
0.031070305034518242,
0.01514491531997919,
0.0004889577394351363,
-0.015321451239287853,
-0.059390366077423096,
0.027502423152327538,
0.007219385821372271,
-0.026090135797858238,
-0.04188544675707817,
-0.031051721423864365,
-0.04407820850610733,
0.0212214644998312,
-0.04062182083725929,
-0.020961305126547813,
-0.038168903440237045,
-0.00014474194904323667,
0.05827540159225464,
-0.012952154502272606,
0.00799056887626648,
-0.011716403998434544,
-0.03790874406695366,
0.03369046747684479,
-0.04129079729318619,
0.06057966127991676,
-0.009226319380104542,
-0.03369046747684479,
0.023692965507507324,
0.05043349787592888,
-0.015052001923322678,
0.055487994104623795,
0.01758854277431965,
-0.06455636024475098,
-0.04916987195611,
0.018480513244867325,
-0.0380016565322876,
-0.05898154526948929,
-0.02952793799340725,
0.05299791321158409,
0.027706831693649292,
0.009774509817361832,
-0.007567811757326126,
-0.02858022041618824,
-0.013546801172196865,
-0.010833724401891232,
-0.017634999006986618,
0.03212951868772507,
0.03406212106347084,
-0.014225070364773273,
0.025904309004545212,
-0.014550267718732357,
0.06035666912794113,
-0.003992961719632149,
0.007637497037649155,
-0.011781442910432816,
-0.011223961599171162,
0.02835722826421261,
-0.009365689940750599,
0.04935569688677788,
-0.0019674452487379313,
-0.022819576784968376,
0.017161140218377113,
0.017551377415657043,
0.04478434845805168,
-0.0018501417944207788,
0.030791563913226128,
-0.029955340549349785,
-0.040361661463975906,
0.010471361689269543,
0.05489334836602211,
-0.059316035360097885,
-0.0530722439289093,
0.012812783941626549,
0.011707112193107605,
0.04218276962637901,
0.03924670070409775,
0.011205378919839859,
0.02051532082259655,
-0.044524192810058594,
-0.0339692085981369,
-0.011140339076519012,
0.0020557132083922625,
0.0160090122371912,
-0.05426153540611267,
0.02960226871073246,
0.0306057371199131,
-0.032687000930309296,
0.022187765687704086,
-0.021091384813189507,
0.012831366620957851,
0.0562313050031662,
0.03155345469713211,
-0.08867672830820084,
-0.05043349787592888,
0.016743028536438942,
-0.05779225379228592,
-0.010815141722559929,
-0.02278241142630577,
-0.009096240624785423,
0.015563026070594788,
-0.08042600005865097,
0.0028036674484610558,
0.04236859828233719,
-0.0495043620467186,
0.019158782437443733,
-0.0006805920274928212,
-0.00630418723449111,
-0.012255302630364895,
-0.020385241135954857,
0.054707519710063934,
-0.05533933266997337,
0.011781442910432816,
0.0008809369755908847,
-0.047497425228357315,
0.03764858469367027,
-0.07187795639038086,
0.06656329333782196,
-0.004027803894132376,
-0.054224371910095215,
-0.019827760756015778,
-0.054856184870004654,
-0.06043099984526634,
-0.07514850795269012,
0.04010150581598282,
0.029639435932040215,
0.0020557132083922625,
-0.009161279536783695,
-0.04519316926598549,
0.03694244474172592,
-0.03670086711645126,
0.024622101336717606,
-0.03337456285953522,
-0.06767825782299042,
0.028635967522859573,
0.047571755945682526,
-0.02850588969886303,
-0.0033867002930492163,
0.05251476168632507,
0.020255163311958313,
-0.01988350786268711,
0.040361661463975906,
0.02991817519068718,
-0.027892660349607468,
0.004192725755274296,
-0.02661045268177986,
-0.01296144537627697,
0.00010039022890850902,
-0.0604681633412838,
0.011446953751146793,
0.012171680107712746,
0.07908804714679718,
0.0004573090700432658,
-0.006253084633499384,
-0.04627096652984619,
-0.029639435932040215,
-0.015590900555253029,
0.08637247234582901,
0.0022171505261212587,
-0.048575226217508316,
-0.024008871987462044,
0.023692965507507324,
-0.03601330891251564,
0.009449312463402748,
-0.037462759763002396,
0.020143665373325348,
0.08012867718935013,
-0.021909024566411972,
-0.00019540889479685575,
0.019121617078781128,
0.10718511790037155,
-0.018824292346835136,
-0.02005075290799141,
0.07893938571214676,
0.07347606867551804,
0.0046596163883805275,
0.02231784351170063,
-0.00796733982861042,
0.015999719500541687,
-0.01127970963716507,
0.07024267315864563,
0.049132704734802246,
-0.03932103142142296,
-0.017477046698331833,
0.0026642971206456423,
0.054373033344745636,
0.009876715019345284,
-0.056640125811100006,
-0.043743718415498734,
0.011242544278502464,
-0.025551237165927887,
0.03385771065950394,
0.03155345469713211,
0.031441960483789444,
-0.005495838820934296
]
|
44,034 | jsons.serializers.default_object | default_object_serializer |
Serialize the given ``obj`` to a dict. All values within ``obj`` are also
serialized. If ``key_transformer`` is given, it will be used to transform
the casing (e.g. snake_case) to a different format (e.g. camelCase).
:param obj: the object that is to be serialized.
:param cls: the type of the object that is to be dumped.
:param key_transformer: a function that will be applied to all keys in the
resulting dict.
:param strip_nulls: if ``True`` the resulting dict will not contain null
values.
:param strip_privates: if ``True`` the resulting dict will not contain
private attributes (i.e. attributes that start with an underscore).
:param strip_properties: if ``True`` the resulting dict will not contain
values from @properties.
:param strip_class_variables: if ``True`` the resulting dict will not
contain values from class variables.
:param strip_attr: can be a name or a collection of names of attributes
that are not to be included in the dump.
:param verbose: if ``True`` the resulting dict will contain meta
information (e.g. on how to deserialize).
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments that are to be passed to the
serializer functions.
:return: a Python dict holding the values
of ``obj``.
| def default_object_serializer(
obj: object,
cls: Optional[type] = None,
*,
key_transformer: Optional[Callable[[str], str]] = None,
strip_nulls: bool = False,
strip_privates: bool = False,
strip_properties: bool = False,
strip_class_variables: bool = False,
strip_attr: Union[str, MutableSequence[str], Tuple[str]] = None,
verbose: Union[Verbosity, bool] = False,
strict: bool = False,
fork_inst: Optional[type] = StateHolder,
**kwargs) -> Optional[dict]:
"""
Serialize the given ``obj`` to a dict. All values within ``obj`` are also
serialized. If ``key_transformer`` is given, it will be used to transform
the casing (e.g. snake_case) to a different format (e.g. camelCase).
:param obj: the object that is to be serialized.
:param cls: the type of the object that is to be dumped.
:param key_transformer: a function that will be applied to all keys in the
resulting dict.
:param strip_nulls: if ``True`` the resulting dict will not contain null
values.
:param strip_privates: if ``True`` the resulting dict will not contain
private attributes (i.e. attributes that start with an underscore).
:param strip_properties: if ``True`` the resulting dict will not contain
values from @properties.
:param strip_class_variables: if ``True`` the resulting dict will not
contain values from class variables.
:param strip_attr: can be a name or a collection of names of attributes
that are not to be included in the dump.
:param verbose: if ``True`` the resulting dict will contain meta
information (e.g. on how to deserialize).
:param strict: a bool to determine if the serializer should be strict
(i.e. only dumping stuff that is known to ``cls``).
:param fork_inst: if given, it uses this fork of ``JsonSerializable``.
:param kwargs: any keyword arguments that are to be passed to the
serializer functions.
:return: a Python dict holding the values
of ``obj``.
"""
strip_attr = _normalize_strip_attr(strip_attr)
if cls and strict:
attributes = _get_attributes_from_class(
cls, strip_privates, strip_properties, strip_class_variables,
strip_attr, strict)
else:
attributes = _get_attributes_from_object(
obj, strip_privates, strip_properties, strip_class_variables,
strip_attr, strict)
cls = obj.__class__
verbose = Verbosity.from_value(verbose)
kwargs_ = {
**kwargs,
'fork_inst': fork_inst,
'verbose': verbose,
'strict': strict,
# Set a flag in kwargs to temporarily store -cls:
'_store_cls': Verbosity.WITH_CLASS_INFO in verbose
}
result = _do_serialize(obj=obj,
cls=cls,
attributes=attributes,
kwargs=kwargs_,
key_transformer=key_transformer,
strip_nulls=strip_nulls,
strip_privates=strip_privates,
strip_properties=strip_properties,
strip_class_variables=strip_class_variables,
strip_attr=strip_attr,
strict=strict,
fork_inst=fork_inst)
cls_name = get_class_name(cls, fully_qualified=True)
if not kwargs.get('_store_cls'):
result = _get_dict_with_meta(result, cls_name, verbose, fork_inst)
return result
| (obj: object, cls: Optional[type] = None, *, key_transformer: Optional[Callable[[str], str]] = None, strip_nulls: bool = False, strip_privates: bool = False, strip_properties: bool = False, strip_class_variables: bool = False, strip_attr: Union[str, MutableSequence[str], Tuple[str], NoneType] = None, verbose: Union[jsons.classes.verbosity.Verbosity, bool] = False, strict: bool = False, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>, **kwargs) -> Optional[dict] | [
-0.00525868171826005,
-0.01202830858528614,
0.016738902777433395,
-0.020639708265662193,
-0.005515443626791239,
0.0036637953016906977,
0.02182476408779621,
0.04756021127104759,
-0.011287649162113667,
-0.03369506448507309,
0.04171393811702728,
0.024412134662270546,
0.015188455581665039,
-0.024846654385328293,
-0.01921764388680458,
0.06272891163825989,
-0.03620343282818794,
0.021726010367274284,
0.004935260396450758,
0.0020170623902231455,
0.026485981419682503,
-0.027651285752654076,
-0.0033058098051697016,
0.05625061318278313,
-0.017064793035387993,
-0.03146321326494217,
0.014665056020021439,
0.024826902896165848,
-0.05455203354358673,
0.013549129478633404,
0.02472814917564392,
-0.020096559077501297,
0.01809184066951275,
0.009159487672150135,
0.014852690510451794,
-0.02632797323167324,
0.025636691600084305,
0.049574803560972214,
-0.06537553668022156,
-0.03881055489182472,
0.007174520753324032,
0.06320293992757797,
-0.06300542503595352,
-0.012512206099927425,
0.0119888074696064,
0.0445975735783577,
0.04092390090227127,
0.061267346143722534,
0.008438579738140106,
-0.07177483290433884,
0.048942774534225464,
-0.03973884508013725,
0.008167004212737083,
0.04487408697605133,
0.02658473514020443,
-0.045150596648454666,
0.00044933336903341115,
-0.011722169816493988,
-0.02717726305127144,
0.018664617091417313,
0.01619575172662735,
0.052181925624608994,
0.018526360392570496,
0.0017393152229487896,
-0.02539968118071556,
-0.06509902328252792,
-0.03519613668322563,
-0.024135621264576912,
-0.02923135831952095,
0.009801393374800682,
-0.016176002100110054,
-0.002055329969152808,
0.009663136675953865,
0.005698139779269695,
-0.000350578804500401,
-0.04234596714377403,
0.017380807548761368,
-0.021923517808318138,
-0.03495912626385689,
-0.016185877844691277,
0.03517638519406319,
-0.04044988006353378,
-0.027611782774329185,
-0.024471387267112732,
-0.006384484004229307,
0.011218521744012833,
-0.014161407947540283,
0.0015504470793530345,
-0.023523343726992607,
-0.03355680778622627,
-0.046967681497335434,
0.07762110978364944,
0.031364455819129944,
0.03164096921682358,
-0.011100015603005886,
-0.003955121152102947,
-0.009895210154354572,
0.02863883040845394,
0.019109012559056282,
0.0012566521763801575,
-0.03529489040374756,
0.01821034587919712,
-0.05577659234404564,
0.01645251363515854,
0.00034378940472379327,
-0.10286278277635574,
-0.0005841951351612806,
0.005599385127425194,
-0.005787018686532974,
-0.01925714500248432,
0.045901134610176086,
-0.030554668977856636,
-0.04862675815820694,
0.018190594390034676,
0.027118010446429253,
-0.07086629420518875,
-0.0038193336222320795,
0.01638338714838028,
-0.0445975735783577,
-0.04598013684153557,
-0.029744882136583328,
0.015524221584200859,
-0.06711361557245255,
0.0031552091240882874,
-0.04724419489502907,
-0.014497173950076103,
0.06359795480966568,
0.057475171983242035,
0.05976627767086029,
0.0857979878783226,
0.01858561299741268,
-0.013973774388432503,
-0.049732811748981476,
0.015148953534662724,
0.058818232268095016,
-0.0013294836971908808,
0.0006715311901643872,
0.04882426932454109,
-0.03116694837808609,
-0.012117188423871994,
0.06861469149589539,
-0.06778515130281448,
-0.010714872740209103,
0.007209084928035736,
-0.015731606632471085,
-0.05060185119509697,
-0.0189213789999485,
0.007199209649115801,
-0.020718712359666824,
-0.014270038343966007,
0.05392000451683998,
0.028737585991621017,
-0.006596806459128857,
0.0330037847161293,
-0.01537608914077282,
-0.019444778561592102,
-0.01842760667204857,
-0.03677620738744736,
0.03798101469874382,
-0.019316397607326508,
-0.03324079513549805,
-0.019168265163898468,
0.03045591525733471,
-0.06968123465776443,
0.04329401254653931,
0.02978438325226307,
0.019573159515857697,
-0.01228507049381733,
0.02431337907910347,
0.03363581374287605,
-0.0433335117995739,
-0.018634991720318794,
-0.019148515537381172,
0.023503592237830162,
-0.004411861300468445,
0.06869369000196457,
0.007895429618656635,
-0.0058462717570364475,
-0.002999670570716262,
0.03280627354979515,
0.02867833338677883,
-0.04084489867091179,
0.02684149704873562,
-0.012857847847044468,
0.03019915334880352,
-0.020076807588338852,
0.03381356969475746,
-0.016116749495267868,
0.03835628181695938,
0.018980631604790688,
0.012759093195199966,
0.04041037708520889,
0.013391122221946716,
-0.008878037333488464,
0.0019689195323735476,
0.010576616041362286,
-0.049653805792331696,
-0.02956712432205677,
-0.0492192879319191,
-0.007312777452170849,
0.018299225717782974,
-0.009964337572455406,
0.05759367719292641,
-0.019267020747065544,
-0.01405277755111456,
-0.0038933996111154556,
-0.01903000846505165,
0.019573159515857697,
-0.030811430886387825,
-0.00934712216258049,
0.009327370673418045,
-0.0243923831731081,
-0.07414494454860687,
0.004715531598776579,
0.047125689685344696,
-0.007984308525919914,
0.09401436895132065,
-0.0013245459413155913,
-0.0027848794125020504,
-0.018931254744529724,
0.05435452610254288,
0.011633290909230709,
-0.031226200982928276,
0.019721291959285736,
-0.011277774348855019,
-0.06095133349299431,
-0.008295385167002678,
-0.018190594390034676,
0.0035773850977420807,
-0.07691007107496262,
-0.02796730026602745,
-0.04092390090227127,
-0.05443352833390236,
0.05569758638739586,
0.010932132601737976,
0.01646238937973976,
0.03019915334880352,
-0.007885553874075413,
0.05573708936572075,
-0.009505129419267178,
0.058146700263023376,
-0.02607121132314205,
0.011959181167185307,
-0.03493937477469444,
-0.01776595041155815,
0.01465518120676279,
0.01634388417005539,
0.02620946802198887,
0.00041631230851635337,
-0.00044069235445931554,
0.04534810781478882,
-0.021390244364738464,
-0.0031897732987999916,
-0.04305700212717056,
-0.01861524023115635,
-0.005100674461573362,
-0.05431502312421799,
0.028243811801075935,
-0.02603171020746231,
-0.027236515656113625,
0.012156689539551735,
0.015218081884086132,
-0.060042791068553925,
0.02863883040845394,
0.018259722739458084,
0.014082404784858227,
0.02304932102560997,
-0.009919898584485054,
-0.03726998344063759,
0.029468368738889694,
0.05834421142935753,
-0.05506555736064911,
-0.013223239220678806,
0.06960223615169525,
-0.011119767092168331,
-0.015247708186507225,
-0.04673067107796669,
-0.05459153652191162,
0.04677017405629158,
0.025162668898701668,
-0.018674492835998535,
-0.03403083235025406,
0.05407801270484924,
-0.02069896273314953,
0.045071594417095184,
-0.01939540170133114,
0.011001260951161385,
0.04688867926597595,
-0.003661326365545392,
-0.023740602657198906,
0.0020726118236780167,
0.012798594310879707,
-0.03687496483325958,
-0.04546661302447319,
-0.0013702198630198836,
-0.07003675401210785,
-0.11107916384935379,
-0.0479552298784256,
0.013361495919525623,
-0.0588972382247448,
-0.0016368572833016515,
0.010942008346319199,
0.037032969295978546,
0.037111975252628326,
0.021726010367274284,
-0.014437921345233917,
-0.005604322999715805,
-0.0298633873462677,
-0.0026787181850522757,
0.015405715443193913,
-0.016353759914636612,
0.0344851016998291,
0.09851757436990738,
0.00819169357419014,
-0.004518022295087576,
-0.052971962839365005,
0.009505129419267178,
0.029251109808683395,
0.04088440164923668,
0.028737585991621017,
-0.04941679537296295,
0.04072639346122742,
-0.05751467123627663,
0.04088440164923668,
0.004382234998047352,
-0.04424205422401428,
-0.03318154066801071,
-0.002863883040845394,
0.04807373508810997,
-0.009638448245823383,
-0.037408240139484406,
0.013480001129209995,
0.008408953435719013,
0.0744214579463005,
-0.020975474268198013,
0.009826081804931164,
0.019563283771276474,
-0.02818455919623375,
-0.04297799617052078,
-0.027493277564644814,
0.013430624268949032,
0.04479508101940155,
-0.01358863152563572,
-0.008458330295979977,
-0.03717122599482536,
0.013094858266413212,
0.04487408697605133,
0.0030934875831007957,
-0.004653810057789087,
-0.005954901687800884,
-0.02844132110476494,
-0.022911064326763153,
-0.0023886265698820353,
0.030179401859641075,
-0.006024030037224293,
-0.06758764386177063,
0.0267032403498888,
-0.05392000451683998,
-0.05621111020445824,
-0.05925275385379791,
-0.024787401780486107,
-0.0009455751860514283,
-0.01802271232008934,
-0.001659077126532793,
0.04748120531439781,
0.024372631683945656,
0.010388982482254505,
-0.05206342041492462,
0.0019676852971315384,
-0.03981785103678703,
-0.021686507388949394,
0.006478301249444485,
-0.033793821930885315,
-0.020876720547676086,
-0.03422833979129791,
0.05822570621967316,
-0.01753881573677063,
0.05324847251176834,
-0.025498434901237488,
0.0660075694322586,
0.02620946802198887,
0.020540954545140266,
-0.000957919517531991,
0.03750699386000633,
0.02460964396595955,
-0.00934712216258049,
0.06948372721672058,
0.01085312943905592,
-0.000016192279872484505,
-0.062057383358478546,
-0.034978874027729034,
-0.011524660512804985,
0.010388982482254505,
-0.017114169895648956,
0.014141657389700413,
-0.02952762134373188,
0.0016059965128079057,
0.021884016692638397,
-0.007697920314967632,
0.022022273391485214,
0.010122345760464668,
-0.043175507336854935,
0.08105776458978653,
-0.03225325047969818,
-0.006740000564604998,
-0.000886939640622586,
0.06912821531295776,
-0.06494101881980896,
0.03243100643157959,
-0.011366653256118298,
0.014852690510451794,
-0.016413012519478798,
-0.00578208127990365,
-0.009164425544440746,
0.014092279598116875,
-0.005510506220161915,
0.04815273731946945,
0.016294507309794426,
-0.03809951990842819,
0.015336588025093079,
-0.0028540075290948153,
0.02427387796342373,
-0.003708234755322337,
-0.03782300651073456,
0.07414494454860687,
-0.026110712438821793,
-0.03138420730829239,
-0.034346845000982285,
0.03146321326494217,
-0.0133516201749444,
0.06359795480966568,
-0.07189334183931351,
-0.020955724641680717,
0.005204366985708475,
0.022891312837600708,
0.023167826235294342,
0.07995171844959259,
-0.025123167783021927,
0.009134799242019653,
0.049061279743909836,
-0.051628898829221725,
-0.04854775592684746,
-0.05253744125366211,
-0.010181598365306854,
-0.0033453116193413734,
0.0441630519926548,
-0.0022836998105049133,
0.028619080781936646,
0.05625061318278313,
0.03199648857116699,
0.08887913078069687,
-0.019306521862745285,
0.035808414220809937,
0.0466911680996418,
-0.07722608745098114,
-0.07762110978364944,
0.06537553668022156,
0.015405715443193913,
-0.016748778522014618,
0.01604762114584446,
0.06154385954141617,
-0.02249629609286785,
0.002086190739646554,
0.00997915118932724,
-0.006107971537858248,
0.05901574343442917,
0.02170625887811184,
0.0010603773407638073,
-0.0794776901602745,
-0.05309046804904938,
0.052892956882715225,
0.03213474154472351,
-0.019978053867816925,
-0.005209304392337799,
-0.023029569536447525,
0.041871946305036545,
0.040568385273218155,
-0.04364952817559242,
-0.08808909356594086,
-0.026722991839051247,
0.01600811816751957,
-0.004651341121643782,
0.030376911163330078,
-0.01824984885752201,
-0.0048019420355558395,
-0.0011060513788834214,
0.006483238656073809,
0.014586052857339382,
0.02170625887811184,
0.06509902328252792,
0.013539253734052181,
0.02032369375228882,
-0.04361002519726753,
0.05147089064121246,
0.02300981990993023,
0.003253963775932789,
0.018200470134615898,
0.01122839655727148,
-0.0014566301833838224,
-0.07086629420518875,
0.003187304362654686,
-0.02405661717057228,
-0.04720469191670418,
0.058028195053339005,
-0.07501398772001266,
-0.062057383358478546,
-0.041160911321640015,
0.030001644045114517,
-0.01678827963769436,
0.012127063237130642,
0.0034391286317259073,
0.013766389340162277,
0.008433641865849495,
0.012630712240934372,
-0.009786579757928848,
-0.010230975225567818,
-0.005095736589282751,
-0.009544631466269493,
0.01712404564023018,
-0.08042573928833008,
0.0009968040976673365,
0.07726559042930603,
0.05332747846841812,
0.019652163609862328,
-0.025162668898701668,
0.06051681190729141,
-0.003557634074240923,
-0.000862868211697787,
0.04199045151472092,
0.008799034170806408,
-0.019039884209632874,
-0.05755417421460152,
-0.016630273312330246,
0.0009264415130019188,
-0.004601963795721531,
0.027987049892544746,
0.02565644308924675,
0.046335652470588684,
0.04013386368751526,
-0.07706808298826218,
0.09093322604894638,
0.024965159595012665,
-0.0032589014153927565,
0.03256926313042641,
0.02021506428718567,
0.0022602456156164408,
0.04167443513870239,
0.06620507687330246,
-0.06020079925656319,
0.0189213789999485,
-0.023780105635523796,
-0.032114993780851364,
0.050167329609394073,
0.014832939021289349,
-0.0347023643553257,
-0.008280572481453419,
0.035393644124269485,
0.031601469963788986,
0.0018553518457338214,
0.01236407458782196,
0.013460250571370125,
0.04621714726090431,
-0.020284192636609077,
-0.03914631903171539,
-0.0178745798766613,
0.02565644308924675,
0.05759367719292641,
0.027078507468104362,
-0.011741920374333858,
0.019671913236379623,
-0.038218025118112564,
0.08437591791152954,
0.03132495656609535,
0.018555987626314163,
-0.021548250690102577,
0.03802051767706871,
-0.010823503136634827,
0.03877105191349983,
-0.007386843208223581,
-0.0736314207315445,
0.028322815895080566,
0.022318536415696144,
-0.013124484568834305,
-0.05514456331729889,
-0.0044439565390348434,
-0.02539968118071556,
0.009129861369729042,
-0.021647006273269653,
-0.005288308020681143,
-0.023029569536447525,
-0.034978874027729034,
0.07928018271923065,
0.01278871949762106,
0.007771986071020365,
0.027789540588855743,
-0.005525319371372461,
0.0044958028011024,
-0.05107587203383446,
0.05850221961736679,
-0.014141657389700413,
-0.02393811196088791,
0.012522081844508648,
0.05632961913943291,
-0.03592691943049431,
0.04981181398034096,
0.004666154272854328,
-0.07260437309741974,
-0.015603224746882915,
-0.018081964924931526,
-0.03489987179636955,
-0.06118834391236305,
-0.004041531588882208,
0.05522356554865837,
-0.03138420730829239,
0.0083052609115839,
-0.035472650080919266,
-0.03381356969475746,
-0.005090799182653427,
0.005174740683287382,
-0.03288527950644493,
0.03456410765647888,
0.023898610845208168,
-0.005550007801502943,
-0.0030885497108101845,
-0.019306521862745285,
0.04791572690010071,
-0.04665166884660721,
-0.009352060034871101,
0.002799692563712597,
-0.03132495656609535,
0.007016513496637344,
-0.01928677037358284,
0.05909474566578865,
-0.009045920334756374,
-0.0030317658092826605,
-0.013203488662838936,
0.028322815895080566,
0.04475557804107666,
-0.04673067107796669,
-0.004819224122911692,
-0.012462829239666462,
-0.06276841461658478,
-0.007959620095789433,
0.039008062332868576,
-0.05790968984365463,
-0.07161682844161987,
0.029981892555952072,
0.004955011419951916,
0.03462335839867592,
0.005347561091184616,
0.007031326647847891,
-0.013124484568834305,
-0.05905524268746376,
-0.07051077485084534,
0.006399297155439854,
0.01562297623604536,
0.00889778882265091,
-0.021587753668427467,
0.03221374750137329,
0.03120644949376583,
-0.02502441219985485,
0.0208174679428339,
-0.05759367719292641,
0.013213364407420158,
0.0231283251196146,
0.03979809954762459,
-0.10618093609809875,
-0.04084489867091179,
0.01761781796813011,
-0.08255883306264877,
-0.016116749495267868,
0.006710374262183905,
-0.015158829279243946,
0.009149612858891487,
-0.09527842700481415,
-0.004085971042513847,
0.002493553329259157,
-0.022200031206011772,
-0.0022133372258394957,
-0.028796838596463203,
-0.007209084928035736,
-0.02561694011092186,
-0.01316398661583662,
0.04491358622908592,
-0.027493277564644814,
-0.00988533440977335,
0.004350139759480953,
-0.05956876650452614,
0.043768033385276794,
-0.0799122154712677,
0.048310745507478714,
-0.019375650212168694,
-0.046493660658597946,
-0.011534536257386208,
-0.01438854355365038,
-0.05731716379523277,
-0.03987710177898407,
0.02115323208272457,
0.056843142956495285,
-0.011574037373065948,
-0.008236132562160492,
-0.02624896913766861,
0.05012783035635948,
-0.035354141145944595,
0.046454157680273056,
-0.01106051355600357,
-0.053524985909461975,
0.01575135625898838,
0.06569155305624008,
-0.01106051355600357,
-0.011188894510269165,
0.0660470724105835,
0.009258242323994637,
-0.034465350210666656,
-0.00411559734493494,
0.01838810369372368,
0.0012041887966915965,
-0.006819004192948341,
0.003584791673347354,
-0.019089262932538986,
-0.016738902777433395,
-0.006256103049963713,
0.017301803454756737,
-0.007189333904534578,
0.03750699386000633,
-0.00418966356664896,
0.01757831685245037,
-0.02368135005235672,
0.015237833373248577,
-0.010191473178565502,
0.07457946240901947,
0.0384945385158062,
-0.08042573928833008,
-0.04048938304185867,
0.04341251775622368,
-0.03213474154472351,
0.02607121132314205,
-0.0408053956925869,
-0.029962142929434776,
0.05056234821677208,
-0.007747297640889883,
-0.0028391943778842688,
0.040153615176677704,
0.08216381818056107,
0.012107312679290771,
-0.01543534267693758,
0.09180226922035217,
0.05364349111914635,
0.01753881573677063,
-0.009603884071111679,
0.012117188423871994,
0.017677070572972298,
-0.027829043567180634,
0.05534207075834274,
0.08532396703958511,
-0.006295605096966028,
0.0019516375614330173,
0.016985788941383362,
0.04558511823415756,
-0.00986558385193348,
-0.06166236475110054,
-0.058146700263023376,
0.023207329213619232,
-0.02658473514020443,
0.07355241477489471,
0.06584955751895905,
0.01925714500248432,
-0.009598946198821068
]
|
44,035 | jsons.deserializers.default_path | default_path_deserializer |
Deserialize a string to a `pathlib.PurePath` object. Since ``pathlib``
implements ``PurePath``, no filename or existence checks are performed.
:param obj: the string to deserialize.
:param kwargs: not used.
:return: a ``str``.
| def default_path_deserializer(obj: str, cls: type = PurePath, **kwargs) -> PurePath:
"""
Deserialize a string to a `pathlib.PurePath` object. Since ``pathlib``
implements ``PurePath``, no filename or existence checks are performed.
:param obj: the string to deserialize.
:param kwargs: not used.
:return: a ``str``.
"""
return cls(obj)
| (obj: str, cls: type = <class 'pathlib.PurePath'>, **kwargs) -> pathlib.PurePath | [
0.04298295080661774,
0.023257413879036903,
0.03528345748782158,
-0.028767142444849014,
0.00468415254727006,
-0.06717631220817566,
0.05075307935476303,
0.06512781977653503,
0.019125116989016533,
-0.028255019336938858,
0.06763545423746109,
0.04220593720674515,
-0.025394199416041374,
0.014568994753062725,
-0.011434453539550304,
0.02225082740187645,
-0.07431070506572723,
0.004781279247254133,
0.024334635585546494,
0.04803353548049927,
0.014365911483764648,
0.0044656177051365376,
0.008379379287362099,
0.060995522886514664,
0.01087818294763565,
0.0196548979729414,
-0.007046095561236143,
0.003836501855403185,
0.008706077933311462,
-0.051636047661304474,
0.04153487831354141,
0.023804854601621628,
0.010745737701654434,
0.04835140332579613,
-0.03245795518159866,
-0.022939544171094894,
0.010719248093664646,
0.06749417632818222,
-0.02532356232404709,
-0.07770130783319473,
-0.041322965174913406,
0.05633344501256943,
-0.03983957692980766,
-0.008445601910352707,
0.008666343986988068,
0.01949596405029297,
-0.05901767313480377,
0.013403475284576416,
-0.03159264475107193,
0.02424633875489235,
0.02502335235476494,
-0.0032118011731654406,
-0.011840619146823883,
0.020184680819511414,
-0.0014977367827668786,
-0.008286667987704277,
0.01628195494413376,
0.03466537594795227,
-0.020343614742159843,
0.001155586214736104,
-0.004697396885603666,
-0.002217356814071536,
0.044254425913095474,
0.002242742106318474,
-0.02758396416902542,
-0.04637354984879494,
-0.0001080947695299983,
0.004514181055128574,
-0.01650269702076912,
0.018595334142446518,
-0.026277167722582817,
-0.006110148038715124,
-0.029102670028805733,
-0.010569143109023571,
0.0798204317688942,
-0.017853640019893646,
0.001762627623975277,
-0.0065560475923120975,
0.039168521761894226,
0.01930171065032482,
-0.0359191931784153,
-0.03959234803915024,
-0.04958755895495415,
-0.08638972043991089,
-0.02207423374056816,
-0.0022736461833119392,
0.02945585921406746,
-0.06152530759572983,
-0.016776418313384056,
0.009959894232451916,
-0.030497761443257332,
-0.01296199019998312,
-0.047609709203243256,
0.04955224320292473,
-0.03839150816202164,
-0.046091001480817795,
0.025252923369407654,
-0.010701589286327362,
0.06039510667324066,
-0.047291841357946396,
-0.015849299728870392,
-0.038144275546073914,
-0.07099074125289917,
-0.007955553941428661,
-0.012767736800014973,
-0.047786302864551544,
0.04771566390991211,
-0.006366209127008915,
0.004931383766233921,
-0.043159544467926025,
-0.0162642952054739,
0.03807364031672478,
-0.02929692342877388,
0.0622670017182827,
0.00045169400982558727,
0.02608291618525982,
-0.013853789307177067,
-0.05481473729014397,
0.043936554342508316,
-0.03998085483908653,
-0.018295126035809517,
0.03697875887155533,
-0.10482612252235413,
0.03726130723953247,
0.033058375120162964,
0.030497761443257332,
0.011628706939518452,
0.003754827193915844,
0.051742006093263626,
0.02361060120165348,
0.053613901138305664,
0.07367496192455292,
-0.06148998811841011,
0.01600823551416397,
-0.013182733207941055,
0.08024425804615021,
-0.017553431913256645,
0.032899439334869385,
-0.009624366648495197,
0.07187370955944061,
0.04174679145216942,
-0.027495665475726128,
0.031186478212475777,
-0.021049989387392998,
0.0080835847184062,
0.05078839883208275,
0.014048042707145214,
-0.02486441843211651,
-0.049128416925668716,
0.03945107012987137,
0.010410209186375141,
0.00234207627363503,
0.04217061772942543,
0.014365911483764648,
0.036448974162340164,
-0.06304401159286499,
-0.055768344551324844,
-0.00038961024256423116,
0.026577377691864967,
-0.028043108060956,
-0.020167021080851555,
-0.03282880038022995,
0.06480995565652847,
-0.034117937088012695,
0.0536845363676548,
0.030762653797864914,
0.04722120240330696,
-0.004909309558570385,
0.008043850772082806,
0.0030396219808608294,
-0.02532356232404709,
-0.006820938549935818,
-0.10221253335475922,
-0.0040417923592031,
0.04266507923603058,
0.013297518715262413,
0.02885543927550316,
0.05198923870921135,
0.0015032553346827626,
-0.02099701203405857,
0.04605568200349808,
-0.005094733089208603,
0.018454059958457947,
0.03376474976539612,
0.08059744536876678,
0.030939247459173203,
-0.005121222231537104,
0.01995510794222355,
0.019213413819670677,
-0.017774173989892006,
-0.09769172966480255,
0.048704590648412704,
-0.0018652727594599128,
0.05121222510933876,
0.023434007540345192,
-0.03715535253286362,
0.03913320228457451,
-0.04817480966448784,
-0.07289794832468033,
0.01688237488269806,
-0.0016842640470713377,
0.0007869464461691678,
0.04019276425242424,
-0.018789587542414665,
-0.060783613473176956,
0.0012935501290485263,
0.035936854779720306,
0.05138881877064705,
-0.015434304252266884,
0.018983840942382812,
-0.0002506805176381022,
0.008728152140974998,
-0.0662580206990242,
-0.022921884432435036,
0.029385220259428024,
0.022815927863121033,
0.030886268243193626,
0.06120743602514267,
0.034894950687885284,
0.055874302983284,
0.05481473729014397,
0.049305010586977005,
-0.009703833609819412,
0.00563775934278965,
0.009924575686454773,
-0.03496558591723442,
-0.0435127317905426,
-0.027124818414449692,
-0.0063485498540103436,
-0.04665610194206238,
-0.01103711687028408,
-0.09910448640584946,
0.02037893235683441,
0.004957872908562422,
0.052836887538433075,
0.06523377448320389,
0.05015265941619873,
-0.04997606575489044,
-0.016696950420737267,
-0.011558068916201591,
0.019248733296990395,
-0.0588763989508152,
-0.05198923870921135,
-0.04252380505204201,
0.005258082412183285,
0.07890214025974274,
0.031186478212475777,
-0.028007788583636284,
0.009959894232451916,
-0.0798204317688942,
0.059264905750751495,
0.042417850345373154,
-0.004207348916679621,
-0.005041755270212889,
0.010454357601702213,
0.006993117276579142,
-0.0021654823794960976,
0.006202859804034233,
-0.01838342286646366,
0.02546483650803566,
-0.056050896644592285,
-0.005836427677422762,
-0.06371507048606873,
0.01250284630805254,
-0.020785098895430565,
-0.04665610194206238,
-0.031822215765714645,
0.00867075938731432,
0.007386039011180401,
0.00721385981887579,
0.025076329708099365,
-0.027495665475726128,
0.0019723328296095133,
0.01302379835397005,
-0.01303262822329998,
0.0325285904109478,
-0.06484527140855789,
-0.0389212891459465,
0.07173243165016174,
0.001280305557884276,
-0.06198444962501526,
-0.028431612998247147,
0.0502939373254776,
-0.03201647102832794,
0.040404677391052246,
0.011831789277493954,
0.004231630824506283,
-0.03286411985754967,
-0.034294530749320984,
0.01464846171438694,
0.05244838073849678,
-0.01824214681982994,
-0.0810212716460228,
0.0020120665431022644,
0.0484926775097847,
-0.012538164854049683,
-0.010145317763090134,
-0.11457410454750061,
0.03666088730096817,
-0.09218200296163559,
-0.043795280158519745,
-0.006154296454042196,
0.005946798715740442,
0.019284050911664963,
0.02959713339805603,
-0.018365763127803802,
-0.02530590258538723,
-0.03616642579436302,
0.02345166727900505,
0.011196051724255085,
-0.03987489640712738,
-0.02272763103246689,
-0.005840842612087727,
0.023116137832403183,
0.003280231263488531,
0.11273752897977829,
0.0011390304425731301,
-0.0062116896733641624,
-0.007509654387831688,
0.026877587661147118,
-0.04308890551328659,
0.06060701981186867,
-0.09444240480661392,
0.00031069485703483224,
-0.01642323099076748,
-0.01792427897453308,
-0.024493571370840073,
0.02666567452251911,
0.01622897759079933,
0.016794078052043915,
0.0031610303558409214,
0.012326252646744251,
0.015072287060320377,
-0.033517517149448395,
0.015796322375535965,
-0.007774545345455408,
0.042559124529361725,
-0.040086809545755386,
-0.03309369087219238,
0.03307603299617767,
0.0520951934158802,
-0.018595334142446518,
0.023875491693615913,
0.037190668284893036,
-0.025570793077349663,
0.039804261177778244,
0.02961479313671589,
0.012697099708020687,
0.03584855794906616,
-0.016193658113479614,
-0.05562707036733627,
-0.060677655041217804,
-0.02668333426117897,
-0.010101169347763062,
-0.020961692556738853,
-0.013862619176506996,
-0.01388910785317421,
0.09733854234218597,
-0.00724034896120429,
-0.039662983268499374,
-0.021844662725925446,
-0.01800374500453472,
-0.03853278234601021,
-0.03360581398010254,
0.05785215273499489,
-0.025818023830652237,
0.027407368645071983,
0.016476208344101906,
-0.0010380408493801951,
-0.018171509727835655,
-0.031027544289827347,
0.00006204929377418011,
-0.021102968603372574,
-0.08568334579467773,
0.03279348090291023,
0.04775098338723183,
0.01487803366035223,
-0.016794078052043915,
0.025411859154701233,
0.05530920252203941,
0.015487282536923885,
0.019266391173005104,
0.013836130499839783,
0.05414368212223053,
0.01088701281696558,
0.051141586154699326,
0.020202338695526123,
0.032917097210884094,
0.023381028324365616,
-0.010895841754972935,
0.028043108060956,
-0.007306571584194899,
0.04167615622282028,
-0.03526579588651657,
-0.0005289538530632854,
-0.005403772462159395,
-0.023063160479068756,
0.007968798279762268,
-0.046691421419382095,
0.05894703418016434,
-0.008304326795041561,
-0.01654684543609619,
0.020184680819511414,
0.030744994059205055,
-0.02850225195288658,
0.042700398713350296,
0.048068851232528687,
-0.02867884561419487,
-0.014516016468405724,
-0.02546483650803566,
0.04340677335858345,
-0.04573781415820122,
0.011990724131464958,
-0.03464771807193756,
0.06092488765716553,
0.06103084236383438,
-0.028431612998247147,
-0.0033530762884765863,
0.03475367650389671,
-0.02318677492439747,
-0.036413658410310745,
0.036731526255607605,
-0.004114637151360512,
0.0009298771037720144,
0.052554335445165634,
0.02239210344851017,
-0.01622897759079933,
-0.03789704665541649,
0.07508771866559982,
0.020025745034217834,
0.018524697050452232,
-0.027513325214385986,
-0.06244359537959099,
-0.03740258142352104,
0.005006436258554459,
0.015028138644993305,
0.014048042707145214,
-0.023981448262929916,
-0.028096085414290428,
-0.006670833565294743,
-0.021261902526021004,
-0.02285124734044075,
-0.011540410108864307,
0.03945107012987137,
0.017712365835905075,
-0.019990427419543266,
-0.04199402406811714,
0.020679142326116562,
0.03475367650389671,
-0.000845995033159852,
0.01035723090171814,
-0.013235710561275482,
0.023681238293647766,
0.01789778843522072,
-0.05562707036733627,
-0.035336434841156006,
0.07187370955944061,
0.005973287858068943,
-0.005964457988739014,
0.022427422925829887,
-0.017332687973976135,
0.03187519311904907,
0.053755175322294235,
-0.015637388452887535,
0.003165445290505886,
0.045631855726242065,
-0.030903927981853485,
0.037331946194171906,
-0.028572889044880867,
-0.07473453134298325,
-0.014118680730462074,
-0.035513028502464294,
-0.052695613354444504,
0.05725173279643059,
-0.024493571370840073,
0.06293805688619614,
0.017668217420578003,
-0.010763396508991718,
-0.024263998493552208,
-0.0441131517291069,
-0.004368491005152464,
-0.015487282536923885,
-0.025694409385323524,
0.030003299936652184,
0.007831938564777374,
-0.0046400041319429874,
-0.0011467564618214965,
0.05096499249339104,
-0.012555824592709541,
0.029667770490050316,
0.04298295080661774,
0.13025563955307007,
-0.06883629411458969,
0.0439012385904789,
0.01754460111260414,
0.04598504677414894,
-0.001171038136817515,
0.0005926932208240032,
-0.011893597431480885,
-0.046832695603370667,
0.029067352414131165,
-0.053013481199741364,
-0.016732269898056984,
0.0105779729783535,
-0.031062861904501915,
0.005664248485118151,
-0.05198923870921135,
0.027124818414449692,
-0.01034840103238821,
0.0007880501798354089,
-0.03634301945567131,
-0.012131999246776104,
0.008622195571660995,
0.01624663732945919,
-0.0030307923443615437,
0.06300869584083557,
0.04676205664873123,
-0.016158340498805046,
0.011725833639502525,
-0.00724034896120429,
-0.049905430525541306,
0.021085308864712715,
-0.02853756956756115,
-0.022445080801844597,
0.00318531203083694,
-0.025235265493392944,
0.006476580165326595,
-0.004324342589825392,
0.08455314487218857,
0.02973840944468975,
0.026736313477158546,
0.016529187560081482,
0.037791088223457336,
0.045313987880945206,
0.035212818533182144,
0.058523211628198624,
-0.03740258142352104,
0.015672706067562103,
-0.010224785655736923,
-0.011001798324286938,
0.017712365835905075,
0.02560611255466938,
-0.038426827639341354,
-0.00831315666437149,
0.008419113233685493,
-0.04220593720674515,
0.06223168224096298,
0.06781204789876938,
0.03616642579436302,
0.020732121542096138,
0.016202488914132118,
-0.03171626105904579,
-0.0031897269655019045,
0.03485963121056557,
-0.041322965174913406,
-0.032917097210884094,
-0.009218200109899044,
-0.03067435696721077,
-0.026171213015913963,
-0.016917692497372627,
-0.09274709969758987,
0.03369411081075668,
0.002781353425234556,
0.035936854779720306,
0.027813535183668137,
0.06025382876396179,
0.03069201484322548,
-0.005796693731099367,
0.03139838948845863,
-0.01770353689789772,
-0.0042360457591712475,
-0.004344209562987089,
0.023804854601621628,
0.012026042677462101,
-0.008816448971629143,
0.04305358603596687,
0.03206944838166237,
-0.037190668284893036,
0.020272977650165558,
0.0006671937298960984,
0.02714247815310955,
0.0469033345580101,
-0.02237444370985031,
-0.05400240793824196,
0.022127212956547737,
-0.0878024771809578,
0.0441131517291069,
0.002560611115768552,
-0.056969184428453445,
-0.04400719329714775,
-0.04160551726818085,
-0.0007582499529235065,
-0.0040373774245381355,
0.006878331303596497,
-0.006070414558053017,
-0.06209040805697441,
0.03323496878147125,
-0.03976894170045853,
0.03899192810058594,
-0.021721046417951584,
-0.049022458493709564,
0.04047531634569168,
-0.005037340335547924,
0.037791088223457336,
0.0435127317905426,
-0.01562855765223503,
-0.02286890707910061,
0.029102670028805733,
-0.012873693369328976,
-0.006750300992280245,
0.009262348525226116,
0.022745290771126747,
0.03475367650389671,
0.04937564581632614,
0.012591143138706684,
0.002322209533303976,
-0.017809491604566574,
-0.037508539855480194,
-0.056227490305900574,
0.02378719486296177,
-0.03729662671685219,
-0.0013432172127068043,
0.0002991058863699436,
0.02087339572608471,
-0.043194860219955444,
0.005306645762175322,
-0.009447772055864334,
-0.019231073558330536,
0.00017231699894182384,
-0.05244838073849678,
0.03623706474900246,
-0.036448974162340164,
-0.0323343388736248,
-0.024917395785450935,
0.00959787704050541,
-0.08384677022695541,
-0.03648429363965988,
0.03201647102832794,
0.013977405615150928,
-0.011937745846807957,
-0.07159115374088287,
-0.033976662904024124,
-0.028184382244944572,
0.016476208344101906,
-0.053154755383729935,
-0.06353847682476044,
0.008087999187409878,
-0.03517749905586243,
0.039203841239213943,
0.012167317792773247,
-0.012396889738738537,
-0.01903682015836239,
-0.027195457369089127,
-0.04199402406811714,
-0.02574738673865795,
0.05700450390577316,
0.035336434841156006,
-0.05891171842813492,
0.020891055464744568,
0.0020164812449365854,
-0.026436103507876396,
-0.02807842567563057,
-0.03478899225592613,
0.02899671345949173,
0.005655419081449509,
0.032122425734996796,
-0.015999404713511467,
-0.03478899225592613,
0.0005424743285402656,
-0.07558217644691467,
-0.006096903700381517,
0.046091001480817795,
0.002644493244588375,
-0.05382581427693367,
-0.03694343939423561,
-0.004670908208936453,
0.015398985706269741,
-0.045490581542253494,
0.040263403207063675,
0.017094288021326065,
-0.034877289086580276,
-0.011098925024271011,
-0.06957798451185226,
0.03314667195081711,
0.008189541287720203,
0.025835683569312096,
0.042382530868053436,
0.0014756625751033425,
0.07092010229825974,
-0.04015744850039482,
0.03630769997835159,
-0.0004944628453813493,
-0.027266094461083412,
0.001571685541421175,
-0.0062337638810276985,
-0.025553133338689804,
0.008631025440990925,
0.014127509668469429,
0.04644418880343437,
-0.02285124734044075,
0.05802874639630318,
-0.023716557770967484,
-0.007858427241444588,
-0.0036532857920974493,
0.03789704665541649,
-0.020891055464744568,
-0.04888118430972099,
0.0036157595459371805,
-0.029967980459332466,
0.001849820837378502,
-0.03235199674963951,
0.03339390084147453,
0.021120628342032433,
-0.08624844998121262,
-0.006843012757599354,
-0.007381624076515436,
-0.017111945897340775,
-0.01919575408101082,
-0.038426827639341354,
-0.03069201484322548,
-0.015849299728870392,
-0.06403294205665588,
-0.004807768389582634,
0.007452261634171009,
0.0475037507712841,
0.004785694181919098,
-0.012290934100747108,
-0.022886566817760468,
0.012758907862007618,
0.01628195494413376,
-0.004781279247254133,
0.015999404713511467,
-0.03607812896370888,
-0.019054479897022247,
0.02590632066130638,
-0.0377204529941082,
0.02286890707910061,
-0.022462740540504456,
-0.008653099648654461,
0.05891171842813492,
-0.02790183201432228,
0.029862023890018463,
-0.004851916804909706,
0.022286146879196167,
0.022303806617856026,
-0.003761449595913291,
0.06883629411458969,
0.06710567325353622,
-0.020290635526180267,
0.002293512923642993,
0.0001753521937644109,
0.020431911572813988,
0.021597430109977722,
0.06795332580804825,
-0.006542803253978491,
-0.04775098338723183,
-0.004068281501531601,
0.0033972247038036585,
0.014242296107113361,
0.010074680671095848,
-0.0680592805147171,
0.016432059928774834,
-0.00023729802342131734,
-0.016061212867498398,
0.024105064570903778,
0.01692652329802513,
-0.02666567452251911,
-0.045773133635520935
]
|
44,036 | jsons.serializers.default_path | default_path_serializer |
Serialize a ``pathlib.PurePath`` object to a ``str``, Posix-style.
Posix-style strings are used as they can be used to create ``pathlib.Path``
objects on both Posix and Windows systems, but Windows-style strings can
only be used to create valid ``pathlib.Path`` objects on Windows.
:param obj: the path to serialize.
:param kwargs: not used.
:return: a ``str``.
| def default_path_serializer(obj: PurePath, **kwargs) -> str:
"""
Serialize a ``pathlib.PurePath`` object to a ``str``, Posix-style.
Posix-style strings are used as they can be used to create ``pathlib.Path``
objects on both Posix and Windows systems, but Windows-style strings can
only be used to create valid ``pathlib.Path`` objects on Windows.
:param obj: the path to serialize.
:param kwargs: not used.
:return: a ``str``.
"""
return obj.as_posix()
| (obj: pathlib.PurePath, **kwargs) -> str | [
0.030512899160385132,
0.01419224962592125,
-0.0016028431709855795,
0.010877526365220547,
0.04958128184080124,
-0.0706559419631958,
0.013843330554664135,
0.03381017595529556,
0.054012544453144073,
-0.04668525978922844,
0.07606417685747147,
-0.008121072314679623,
-0.010685620829463005,
0.0010691073257476091,
-0.0003857182164210826,
0.002900382736697793,
-0.06413117051124573,
-0.02601185441017151,
0.049371931701898575,
0.06413117051124573,
0.02814025618135929,
-0.005146543961018324,
0.020167473703622818,
-0.020481500774621964,
-0.007026340812444687,
0.04204464703798294,
0.004858686588704586,
0.01802162639796734,
0.0049895308911800385,
-0.039706893265247345,
0.021266566589474678,
0.003674545092508197,
0.03272853046655655,
0.00029167384491302073,
0.003556785173714161,
-0.008443821221590042,
-0.007536633871495724,
0.04385902360081673,
-0.020760634914040565,
-0.08848566561937332,
-0.03347870334982872,
0.03340892121195793,
-0.06866710633039474,
-0.03618282079696655,
-0.007715454325079918,
0.024651072919368744,
-0.02814025618135929,
0.069504514336586,
0.004461791832000017,
0.037962302565574646,
0.0240404661744833,
0.0034041334874927998,
-0.014436491765081882,
-0.013311230577528477,
-0.05345427244901657,
0.02526167966425419,
0.019888339564204216,
0.004226271994411945,
-0.05404743552207947,
-0.03539775311946869,
-0.0017576755490154028,
0.02848917432129383,
0.0723656415939331,
-0.011793436482548714,
-0.0353279709815979,
-0.04720863699913025,
-0.018911369144916534,
-0.04870898649096489,
0.007606417406350374,
0.024075357243418694,
-0.007693646941334009,
-0.02883809246122837,
-0.03148987144231796,
-0.015038375742733479,
0.06106068938970566,
0.031472425907850266,
-0.023325184360146523,
0.015849610790610313,
0.020237257704138756,
-0.0048543247394263744,
-0.020481500774621964,
-0.0758548229932785,
-0.04187018796801567,
-0.06563151627779007,
-0.002612525364384055,
-0.013878222554922104,
-0.004858686588704586,
0.00699581066146493,
0.018161194398999214,
-0.003478278638795018,
0.00635467329993844,
0.04598742350935936,
-0.0066686999052762985,
0.05757150799036026,
-0.044801101088523865,
-0.04246334731578827,
0.03333913907408714,
-0.010144798085093498,
0.04483599215745926,
-0.04609210044145584,
-0.04256802424788475,
-0.03607814386487007,
-0.07578504085540771,
-0.010118628852069378,
-0.012587225064635277,
-0.03618282079696655,
0.03258896246552467,
0.0007120113004930317,
-0.0003252027090638876,
-0.021441025659441948,
-0.03757849335670471,
0.024528952315449715,
0.010380317457020283,
-0.009019535966217518,
-0.005194520112127066,
0.013110602274537086,
-0.026151422411203384,
-0.055512890219688416,
0.06029307097196579,
-0.045429155230522156,
-0.022854143753647804,
0.04986041411757469,
-0.04319607838988304,
0.011461963877081871,
0.019556866958737373,
0.03838100656867027,
0.013128048740327358,
0.05240751802921295,
0.0063066971488296986,
0.029431253671646118,
0.029169565066695213,
0.08066989481449127,
-0.012700623832643032,
0.046824827790260315,
0.016189806163311005,
0.05055825039744377,
-0.06500346958637238,
0.03225748986005783,
0.0016072046710178256,
0.08925328403711319,
0.04888344556093216,
-0.05697834864258766,
-0.004911024123430252,
0.007314198650419712,
0.031943462789058685,
0.061828311532735825,
0.02791345864534378,
-0.03173411265015602,
-0.045603614300489426,
0.011627700179815292,
0.051570113748311996,
0.012465103529393673,
0.02473830245435238,
-0.004505406599491835,
0.04012559726834297,
-0.04895322769880295,
-0.01535240188241005,
-0.04993019998073578,
0.022609900683164597,
-0.023656656965613365,
-0.0341590940952301,
-0.03442078456282616,
0.04958128184080124,
-0.05125609040260315,
0.04773201420903206,
0.05083738639950752,
-0.0029832508880645037,
-0.012822745367884636,
0.04096300154924393,
0.02002790756523609,
0.006816990207880735,
-0.01236042845994234,
-0.08066989481449127,
0.002725923666730523,
0.05020933225750923,
0.014924977906048298,
0.016111299395561218,
0.03921841084957123,
-0.026256097480654716,
-0.022889036685228348,
0.058583371341228485,
-0.03803208842873573,
0.022260982543230057,
0.05300068110227585,
0.04675504192709923,
0.042358674108982086,
0.00408234354108572,
-0.0074712117202579975,
0.024162588641047478,
-0.004518491216003895,
-0.0723656415939331,
0.0671667605638504,
0.008888691663742065,
0.03886949270963669,
0.01605023816227913,
-0.04385902360081673,
0.05460570380091667,
-0.07969292253255844,
-0.06625957041978836,
0.0008205030462704599,
0.00918527226895094,
0.009865663014352322,
0.02629098854959011,
-0.02601185441017151,
-0.013921837322413921,
-0.021161891520023346,
0.026796920225024223,
0.031088614836335182,
-0.02616886794567108,
0.014628397300839424,
0.040683865547180176,
-0.0051290979608893394,
-0.08178643137216568,
-0.024057911708950996,
0.019836001098155975,
0.0631541982293129,
-0.003648376325145364,
0.05017444118857384,
0.006516048219054937,
0.054815053939819336,
0.011758544482290745,
0.016259590163826942,
-0.0015221558278426528,
-0.026971379294991493,
-0.00021889166964683682,
-0.03747382014989853,
-0.0034041334874927998,
-0.014419046230614185,
0.029797617346048355,
-0.02791345864534378,
0.0016998860519379377,
-0.07166780531406403,
-0.00664689252153039,
0.0359036847949028,
-0.01766398549079895,
0.044382400810718536,
0.046650368720293045,
-0.06018839403986931,
-0.016006624326109886,
-0.031245628371834755,
-0.011680037714540958,
-0.058583371341228485,
-0.016643399372696877,
-0.03600836172699928,
0.031053723767399788,
0.042288888245821,
0.02247033454477787,
-0.02826237678527832,
0.043126292526721954,
-0.04368456453084946,
0.04731331393122673,
0.017576755955815315,
-0.024598736315965652,
-0.04057919234037399,
0.011933003552258015,
-0.0022919566836208105,
-0.04385902360081673,
0.00915038026869297,
-0.03712489828467369,
0.04511512815952301,
-0.06849265098571777,
0.022452889010310173,
-0.08695042133331299,
-0.027581986039876938,
0.005281749647110701,
-0.04563850536942482,
-0.02739008143544197,
-0.0026801282074302435,
-0.004101969767361879,
0.02566293627023697,
-0.05150033161044121,
-0.018108855932950974,
-0.042428456246852875,
0.008064372465014458,
-0.009438238106667995,
0.02669224515557289,
-0.09658056497573853,
-0.014227140694856644,
0.04623166471719742,
0.003683268092572689,
-0.04232378304004669,
-0.017629094421863556,
0.035293079912662506,
-0.03028610348701477,
0.02316817082464695,
0.005552161484956741,
-0.002462054369971156,
-0.04256802424788475,
-0.044801101088523865,
-0.005207604728639126,
0.0376482792198658,
0.020708296447992325,
-0.04696439579129219,
-0.014741795137524605,
0.03053034469485283,
-0.01685275137424469,
0.020167473703622818,
-0.12595948576927185,
0.047697123140096664,
-0.07739006727933884,
-0.03845078870654106,
0.045673396438360214,
0.03312978520989418,
0.013747378252446651,
0.02346475049853325,
-0.002210178878158331,
-0.01777738332748413,
-0.02686670422554016,
-0.025732720270752907,
0.03729936107993126,
-0.05600137636065483,
-0.048674095422029495,
0.028977658599615097,
0.03572922572493553,
0.013398460112512112,
0.11877176910638809,
0.005002615042030811,
-0.01254361029714346,
0.0002712294226512313,
0.0318562351167202,
-0.05125609040260315,
0.05896718055009842,
-0.058583371341228485,
-0.023203061893582344,
-0.006642530672252178,
-0.03456035256385803,
-0.015291341580450535,
0.03569433465600014,
0.027773890644311905,
0.05554778128862381,
-0.00008941029955167323,
0.012979757972061634,
0.025750165805220604,
0.01007501408457756,
0.011479410342872143,
0.010912417434155941,
0.05108163133263588,
-0.03468247130513191,
-0.05837402120232582,
0.045324478298425674,
0.03904395177960396,
0.0033474343363195658,
0.02137124165892601,
0.007536633871495724,
-0.041730619966983795,
0.026657352223992348,
0.022662239149212837,
0.03855546563863754,
-0.0033997721038758755,
-0.03279831260442734,
-0.055861808359622955,
0.005905441008508205,
-0.03974178805947304,
-0.010685620829463005,
-0.03660152107477188,
-0.004535937216132879,
-0.004084524232894182,
0.06884156912565231,
0.0007534453179687262,
0.00938590057194233,
-0.007048148196190596,
0.0010811013635247946,
0.021004877984523773,
-0.020464055240154266,
0.0527215451002121,
-0.0067559294402599335,
0.03792741149663925,
0.024057911708950996,
0.0046013593673706055,
-0.02398812770843506,
-0.04591764137148857,
0.007152823731303215,
0.005787681322544813,
-0.08932306617498398,
0.009281224571168423,
0.0614096075296402,
0.015186666510999203,
-0.029064888134598732,
-0.022383105009794235,
-0.008932306431233883,
0.016032792627811432,
0.0005056588561274111,
0.049546390771865845,
0.04026516526937485,
-0.008984644897282124,
0.04776690527796745,
0.03859035670757294,
-0.0019288635812699795,
0.004433442372828722,
-0.0001939494686666876,
-0.0028087918180972338,
0.00682135159149766,
0.043300751596689224,
0.004086704924702644,
-0.022540118545293808,
-0.011610254645347595,
0.02561059780418873,
0.006799544207751751,
-0.04696439579129219,
0.05010465905070305,
0.007200799882411957,
-0.024249818176031113,
0.004193561151623726,
0.0002973982773255557,
-0.044626642018556595,
0.04881365969777107,
0.040160488337278366,
-0.020062798634171486,
0.011287504807114601,
0.015413463115692139,
-0.007972781546413898,
-0.03442078456282616,
-0.001710789743810892,
-0.04166083782911301,
0.06144450232386589,
0.04406837373971939,
-0.06018839403986931,
0.002634332748129964,
0.061479393392801285,
-0.023953236639499664,
-0.06133982539176941,
0.03736914321780205,
-0.033740393817424774,
0.07669223099946976,
0.05436146259307861,
-0.029745278880000114,
-0.0010200405959039927,
-0.014262032695114613,
0.10509417206048965,
0.0405442975461483,
0.04385902360081673,
-0.024546397849917412,
-0.05669921264052391,
-0.028820646926760674,
0.015134328044950962,
-0.006838797591626644,
0.03782273828983307,
-0.01835309900343418,
-0.05879272148013115,
0.01690508797764778,
0.016076408326625824,
-0.010162243619561195,
-0.017681431025266647,
0.027773890644311905,
0.02247033454477787,
-0.00024628720711916685,
-0.03974178805947304,
0.0015145231736823916,
0.04009070619940758,
0.014672012068331242,
0.02501743659377098,
-0.032397057861089706,
0.049720849841833115,
0.005102929193526506,
-0.04640612378716469,
-0.039183516055345535,
0.0469295009970665,
-0.02873341739177704,
-0.029047442600131035,
-0.011898111552000046,
0.007741623092442751,
0.04570828750729561,
0.04494066908955574,
-0.014820301905274391,
-0.010607114061713219,
0.021214228123426437,
-0.025453584268689156,
0.0573272667825222,
-0.014689457602798939,
-0.04106767475605011,
0.02346475049853325,
-0.008993367664515972,
-0.07794833183288574,
0.04078854247927666,
0.017916951328516006,
0.04556872323155403,
-0.029919737949967384,
-0.0019070561975240707,
-0.04333564639091492,
-0.03456035256385803,
-0.04766223207116127,
-0.02588973380625248,
0.007048148196190596,
0.03886949270963669,
-0.0015199750196188688,
0.005334087647497654,
0.031367748975753784,
0.06284017115831375,
-0.010642006061971188,
0.04626655951142311,
0.1170271784067154,
0.13824141025543213,
-0.07857638597488403,
0.024302154779434204,
0.02861129492521286,
0.058827612549066544,
-0.02526167966425419,
-0.02508722059428692,
-0.04309140145778656,
-0.007885552011430264,
0.0065073249861598015,
-0.04546404629945755,
0.007676200941205025,
0.015116882510483265,
-0.010066291317343712,
0.014017789624631405,
-0.02489531598985195,
-0.009822048246860504,
-0.004189199768006802,
-0.016530001536011696,
-0.03333913907408714,
-0.0336008258163929,
0.006912942510098219,
-0.00002691849658731371,
-0.01927773281931877,
0.04853452742099762,
0.03653173893690109,
-0.04232378304004669,
0.0243196003139019,
-0.017812276259064674,
-0.056664321571588516,
0.01199406385421753,
-0.028803199529647827,
-0.041381701827049255,
-0.004348393529653549,
-0.012168523855507374,
0.003973306622356176,
0.00269975489936769,
0.019330069422721863,
0.09406835585832596,
0.0019942857325077057,
0.03688065707683563,
0.016643399372696877,
0.056768998503685,
0.03381017595529556,
0.08834609389305115,
-0.05177946761250496,
0.01535240188241005,
0.01842288300395012,
-0.005635029636323452,
0.002841502893716097,
0.007702370174229145,
-0.044801101088523865,
-0.04720863699913025,
0.03893927484750748,
-0.020115137100219727,
0.08080946654081345,
0.01288380566984415,
0.060676880180835724,
-0.01344207488000393,
0.011200275272130966,
-0.021929511800408363,
0.002939636120572686,
0.056036267429590225,
-0.03325190767645836,
-0.019487082958221436,
0.009464407339692116,
-0.04316118732094765,
-0.04302161931991577,
-0.002218901878222823,
-0.08185622096061707,
0.03579901158809662,
0.021004877984523773,
-0.01887647621333599,
-0.007026340812444687,
0.04745287820696831,
0.002420620294287801,
-0.006014477927237749,
0.03452545776963234,
-0.025785056874155998,
-0.003587315557524562,
0.0032274937257170677,
0.041032783687114716,
-0.020603621378540993,
-0.007048148196190596,
0.03792741149663925,
0.04389391466975212,
-0.0021447567269206047,
-0.0036549184005707502,
0.019085828214883804,
-0.006546578370034695,
0.04668525978922844,
-0.026901595294475555,
-0.07452893257141113,
0.0469295009970665,
-0.04581296443939209,
0.037159793078899384,
0.020882755517959595,
-0.05045357719063759,
-0.03855546563863754,
-0.06692251563072205,
-0.02456384338438511,
0.029518483206629753,
-0.0063066971488296986,
0.029623158276081085,
-0.0706559419631958,
-0.0015188846737146378,
-0.026203759014606476,
0.058653153479099274,
-0.016416603699326515,
-0.017733769491314888,
0.03757849335670471,
0.0000759851245675236,
0.05436146259307861,
0.03148987144231796,
-0.002605983056128025,
-0.02212141640484333,
0.013825885020196438,
-0.029064888134598732,
0.0382414385676384,
-0.04057919234037399,
0.06423584371805191,
0.014183525927364826,
0.014663288369774818,
0.018562449142336845,
0.024825531989336014,
-0.026482893154025078,
-0.03803208842873573,
-0.04064897447824478,
0.007676200941205025,
-0.019609205424785614,
-0.0028872983530163765,
-0.007288029417395592,
-0.051744572818279266,
-0.02166782319545746,
0.008029480464756489,
-0.023011157289147377,
-0.011531747877597809,
0.0037574132438749075,
-0.05122119560837746,
0.03267619386315346,
-0.034089311957359314,
0.00012014508683932945,
-0.009813325479626656,
0.005717897787690163,
-0.08478713035583496,
-0.06168874353170395,
0.015997901558876038,
-0.009996507316827774,
-0.0012321175308898091,
-0.0532798133790493,
-0.015779826790094376,
-0.018457774072885513,
-0.043475210666656494,
-0.04396369680762291,
-0.02616886794567108,
0.01363398041576147,
-0.03799719735980034,
0.04968595504760742,
-0.01616363786160946,
-0.029431253671646118,
-0.03201324865221977,
-0.034752257168293,
-0.04309140145778656,
0.03058268316090107,
0.061200257390737534,
0.04762733727693558,
-0.037159793078899384,
0.018457774072885513,
-0.023656656965613365,
-0.012308090925216675,
-0.04152126982808113,
-0.029745278880000114,
0.00903698243200779,
0.013660148717463017,
0.006625085137784481,
-0.028750862926244736,
-0.02287159115076065,
0.012840190902352333,
-0.057955317199230194,
0.0312630720436573,
0.03747382014989853,
0.011758544482290745,
-0.03539775311946869,
-0.04309140145778656,
0.012587225064635277,
0.023848561570048332,
0.028279822319746017,
0.013546750880777836,
-0.014200972393155098,
0.0008346778340637684,
-0.01692253351211548,
-0.06116536632180214,
0.039811570197343826,
-0.005962140392512083,
-0.009255056269466877,
0.04152126982808113,
0.042602915316820145,
0.046894609928131104,
0.0024140779860317707,
0.04078854247927666,
-0.04846474155783653,
-0.005473654717206955,
0.028018133714795113,
-0.016765521839261055,
-0.021039769053459167,
0.04036983847618103,
0.04176551103591919,
0.02154570072889328,
-0.05624561756849289,
0.038136761635541916,
-0.005028784275054932,
0.010406486690044403,
-0.002488223137333989,
0.030478008091449738,
-0.028890429064631462,
-0.022330766543745995,
-0.01152302511036396,
0.014567336067557335,
-0.0019299539271742105,
-0.02878575399518013,
0.03503138944506645,
0.04591764137148857,
-0.08157708495855331,
-0.0013258892577141523,
-0.013721209950745106,
0.005700451787561178,
-0.004163030534982681,
-0.023098386824131012,
-0.024005575105547905,
-0.02479064092040062,
-0.044626642018556595,
0.016259590163826942,
-0.01430564746260643,
0.035066284239292145,
-0.0037356058601289988,
0.0009448051569052041,
-0.019190503284335136,
0.029518483206629753,
0.025732720270752907,
-0.018108855932950974,
0.0023726439103484154,
-0.01835309900343418,
-0.018736910074949265,
0.04354499652981758,
-0.004557744599878788,
0.025976963341236115,
-0.038485679775476456,
-0.04797625541687012,
0.07030702382326126,
-0.01842288300395012,
0.051639899611473083,
-0.0023813669104129076,
-0.009289948269724846,
0.05484994500875473,
-0.007706731557846069,
0.05697834864258766,
0.0585135892033577,
-0.020464055240154266,
-0.000029201457437011413,
0.01638171076774597,
0.027547094970941544,
-0.01817863993346691,
-0.00014719988394062966,
0.015361125580966473,
-0.044905778020620346,
-0.03702022507786751,
0.019713880494236946,
0.023360075429081917,
0.029815062880516052,
-0.0741102322936058,
0.025226788595318794,
-0.03747382014989853,
0.026081638410687447,
0.022487780079245567,
0.04546404629945755,
-0.03841589763760567,
-0.04644101858139038
]
|
44,037 | jsons.deserializers.default_primitive | default_primitive_deserializer |
Deserialize a primitive: it simply returns the given primitive.
:param obj: the value that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: ``obj``.
| def default_primitive_deserializer(obj: object,
cls: Optional[type] = None,
**kwargs) -> object:
"""
Deserialize a primitive: it simply returns the given primitive.
:param obj: the value that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: ``obj``.
"""
result = obj
if obj is not None and not isinstance(obj, cls):
try:
result = cls(obj)
except ValueError as err:
raise DeserializationError(
'Could not cast "{}" into "{}"'.format(obj, cls.__name__),
obj, cls) from err
return result
| (obj: object, cls: Optional[type] = None, **kwargs) -> object | [
0.018058542162179947,
-0.03309984505176544,
0.02000717632472515,
-0.011575067415833473,
-0.018076501786708832,
0.013002868741750717,
0.08031606674194336,
0.05617814138531685,
-0.023365652188658714,
-0.032668810337781906,
0.027711914852261543,
-0.0035403184592723846,
-0.047270096838474274,
-0.046048834919929504,
-0.01355064194649458,
0.07108474522829056,
-0.08584766834974289,
0.03460846468806267,
0.009617453441023827,
-0.008485988713800907,
0.008131283335387707,
-0.003863594261929393,
-0.019432464614510536,
0.09561778604984283,
0.0007049207342788577,
-0.035596251487731934,
0.03897268697619438,
-0.002624370390549302,
-0.0627514123916626,
-0.0035021540243178606,
0.006321836728602648,
0.0420258454978466,
-0.004117276053875685,
0.03554237261414528,
-0.026939645409584045,
-0.03299208730459213,
-0.007062677294015884,
0.11774421483278275,
-0.08829019963741302,
-0.02692168578505516,
-0.035416655242443085,
0.023491371423006058,
-0.022144388407468796,
-0.011242812499403954,
0.02755027823150158,
-0.0006544088828377426,
0.023060336709022522,
0.005738144740462303,
-0.028771542012691498,
-0.03320760279893875,
0.038469813764095306,
-0.030477719381451607,
0.017600568011403084,
0.04227728396654129,
0.002633350435644388,
-0.01113505382090807,
-0.013478802517056465,
0.015149060636758804,
-0.04511492699384689,
0.04536636173725128,
0.0005407572607509792,
0.042887914925813675,
-0.013829017989337444,
-0.02331177331507206,
-0.03442886844277382,
-0.05711204931139946,
0.024155883118510246,
0.0226113423705101,
-0.015193960629403591,
0.02383260615170002,
-0.0031025491189211607,
0.016163786873221397,
-0.025592664256691933,
0.012616734020411968,
0.08397985249757767,
-0.051257167011499405,
0.03688935562968254,
-0.010461562313139439,
-0.025664502754807472,
0.05542382970452309,
0.008607217110693455,
-0.005248740781098604,
0.024479158222675323,
-0.009455815888941288,
-0.04852728173136711,
-0.02257542312145233,
0.0017746491357684135,
-0.02227010764181614,
-0.015562135726213455,
-0.016648700460791588,
-0.0066451127640903,
0.000454606517450884,
-0.04888647794723511,
-0.0019980238284915686,
-0.020402291789650917,
-0.0499640628695488,
-0.01677441969513893,
0.02821478806436062,
0.01252693496644497,
-0.024048123508691788,
-0.036153003573417664,
0.01161996740847826,
-0.05994969233870506,
-0.01065014023333788,
0.01003950834274292,
-0.06224854290485382,
0.07108474522829056,
0.00024414053768850863,
0.027209041640162468,
0.021372118964791298,
0.03814653679728508,
0.00801005493849516,
-0.08139365166425705,
0.03354883939027786,
-0.012562855146825314,
-0.019845539703965187,
0.016451142728328705,
0.02234194613993168,
-0.03803877905011177,
-0.009366016834974289,
-0.051257167011499405,
-0.0020193508826196194,
-0.06533762067556381,
-0.0048132166266441345,
-0.03424926847219467,
0.0023527289740741253,
0.056752853095531464,
-0.013442883267998695,
0.017420971766114235,
0.0887930691242218,
0.03053159825503826,
0.02442527934908867,
-0.05844107270240784,
0.032363492995500565,
0.008081893436610699,
0.011575067415833473,
0.007210845127701759,
0.053376417607069016,
0.0013671870110556483,
-0.015445397235453129,
0.05822555348277092,
-0.004162175115197897,
0.019881458953022957,
-0.012042021378874779,
-0.03241737186908722,
0.03004668466746807,
-0.003728895913809538,
0.009949709288775921,
-0.061925265938043594,
0.0432111918926239,
0.018426718190312386,
0.01271551288664341,
0.026760047301650047,
0.008656606078147888,
0.023114215582609177,
-0.03356679901480675,
0.0313757061958313,
-0.06695400178432465,
0.017133614048361778,
-0.04658762738108635,
-0.004076866433024406,
0.03356679901480675,
0.04058906435966492,
-0.05039509758353233,
0.030513638630509377,
0.051293086260557175,
-0.0013256550300866365,
-0.03453662618994713,
0.0029521360993385315,
0.012760411947965622,
-0.04033762961626053,
0.006258977577090263,
-0.0009193153819069266,
0.0038388995453715324,
0.08218388259410858,
0.03692527487874031,
-0.021479876711964607,
0.013101647607982159,
0.0411996990442276,
0.04443245753645897,
0.02018677443265915,
-0.014161273837089539,
0.032363492995500565,
-0.057579003274440765,
0.029831167310476303,
0.06375715881586075,
0.01210488099604845,
-0.013541662134230137,
-0.0012302438262850046,
-0.01628950610756874,
0.01662176102399826,
0.038541652262210846,
0.013362064026296139,
-0.008454558439552784,
-0.021318240091204643,
0.03245329484343529,
-0.01558009535074234,
-0.013317164964973927,
-0.022557463496923447,
-0.00976113136857748,
0.025610623881220818,
0.039655160158872604,
0.06921692937612534,
-0.000030745573894819245,
-0.03568604961037636,
-0.02535918727517128,
-0.001769036753103137,
0.06659480184316635,
-0.012239579111337662,
-0.021803153678774834,
-0.008198631927371025,
0.005037713795900345,
-0.05811779573559761,
0.0327945277094841,
0.04849136248230934,
-0.013469822704792023,
0.005976111628115177,
-0.04888647794723511,
0.006528374273329973,
0.020384332165122032,
0.06587641686201096,
0.0015400497941300273,
-0.057722680270671844,
0.009841950610280037,
-0.007947195321321487,
-0.010452582500874996,
-0.05168820172548294,
-0.022485624998807907,
-0.011736705899238586,
-0.05678877234458923,
-0.03071119636297226,
-0.04525860399007797,
-0.048204004764556885,
0.02494611218571663,
0.007385952863842249,
0.045941077172756195,
0.06659480184316635,
-0.008391699753701687,
-0.02386852540075779,
0.0005820086225867271,
0.04946118965744972,
-0.004799746908247471,
0.016091948375105858,
-0.031914498656988144,
-0.010515442118048668,
0.08699709922075272,
0.0132902255281806,
0.014502509497106075,
-0.020725566893815994,
-0.03245329484343529,
0.04252872243523598,
-0.035003580152988434,
0.02234194613993168,
-0.06824710220098495,
0.012733472511172295,
-0.04410918056964874,
-0.06867813318967819,
-0.0007178293308243155,
-0.03872125223278999,
0.0015512745594605803,
-0.011260772123932838,
0.00849945843219757,
0.005733654368668795,
0.09202583134174347,
-0.01707075536251068,
-0.0010831982363015413,
-0.020923124626278877,
0.0023459941148757935,
0.036422401666641235,
-0.0014760680496692657,
0.10847697407007217,
-0.07047411054372787,
0.028933178633451462,
0.022629301995038986,
0.008674565702676773,
-0.01997125707566738,
-0.041558895260095596,
0.028645822778344154,
0.053556013852357864,
0.01862427592277527,
-0.03487786278128624,
-0.04626435041427612,
0.06285917013883591,
-0.0176993478089571,
-0.011709766462445259,
0.00907417107373476,
0.026670249179005623,
0.004052171483635902,
-0.03926004469394684,
-0.02275502122938633,
0.017950784415006638,
0.0010691671632230282,
-0.02970544993877411,
0.009060700424015522,
0.020420251414179802,
0.01777118630707264,
-0.06867813318967819,
-0.02956177107989788,
-0.012598774395883083,
-0.060883600264787674,
-0.025520823895931244,
-0.0153017183765769,
-0.002251705387607217,
0.03354883939027786,
0.008122303523123264,
-0.06260773539543152,
0.028196828439831734,
-0.04109194129705429,
-0.019091228023171425,
0.01558009535074234,
0.010470542125403881,
0.014735986478626728,
0.02598777785897255,
0.0010764633771032095,
-0.013101647607982159,
-0.017088714987039566,
0.0423850417137146,
0.041738491505384445,
0.020797407254576683,
0.01143138948827982,
-0.0443965345621109,
0.011018315330147743,
-0.02052800916135311,
0.034446828067302704,
-0.019953297451138496,
-0.024084042757749557,
-0.05578302592039108,
0.008391699753701687,
0.010344823822379112,
0.016909116879105568,
0.004438306670635939,
0.00726023456081748,
-0.014691086485981941,
-0.020833326503634453,
0.0006751748733222485,
-0.09597697854042053,
0.03796694055199623,
0.0243893601000309,
-0.03462642431259155,
-0.0018565906211733818,
0.004364222753793001,
-0.003917473368346691,
0.03311780467629433,
-0.0009950831299647689,
0.0036593019030988216,
0.08721261471509933,
0.058512911200523376,
-0.03518317639827728,
0.02386852540075779,
-0.001373921986669302,
-0.03466234356164932,
-0.04482756927609444,
-0.029364213347434998,
-0.02074352651834488,
-0.03257901221513748,
-0.054382164031267166,
0.027227001264691353,
-0.0012235089670866728,
-0.011602007783949375,
-0.07988502830266953,
-0.03651219978928566,
-0.0014008615398779511,
-0.022144388407468796,
0.004166665021330118,
-0.007924745790660381,
0.013559621758759022,
-0.031034471467137337,
-0.04928159341216087,
-0.024407319724559784,
0.004555045161396265,
-0.046946823596954346,
0.03536277636885643,
-0.07338359206914902,
-0.01252693496644497,
-0.030316080898046494,
0.030890794470906258,
-0.053412336856126785,
0.05700429156422615,
0.021623555570840836,
0.058620668947696686,
0.006546333897858858,
-0.013631461188197136,
0.01844467781484127,
0.010928516276180744,
-0.0028084581717848778,
-0.0205998495221138,
-0.007210845127701759,
0.014771905727684498,
-0.037428148090839386,
0.0024268131237477064,
-0.025071829557418823,
0.0008833959000185132,
0.004633618984371424,
-0.0499640628695488,
0.011584047228097916,
0.000625224260147661,
0.0027186593506485224,
0.012904089875519276,
-0.004101560916751623,
0.0528017058968544,
0.009895829483866692,
0.03439294919371605,
0.010272985324263573,
0.010847697034478188,
-0.05614222213625908,
0.053520094603300095,
0.05111348628997803,
-0.07974135130643845,
0.018283039331436157,
0.002559266285970807,
0.027119243517518044,
0.026490651071071625,
0.06339796632528305,
-0.017789145931601524,
0.04626435041427612,
-0.003874819027259946,
0.038362056016922,
0.031034471467137337,
-0.02171335369348526,
-0.0018083236645907164,
-0.01455638837069273,
0.0467672236263752,
0.02469467557966709,
0.012724492698907852,
0.026203295215964317,
0.013335124589502811,
0.027011483907699585,
0.0005932334461249411,
0.03297412768006325,
-0.03478806093335152,
0.05380745232105255,
-0.06774423271417618,
-0.002725394209846854,
-0.06012928858399391,
0.009644392877817154,
0.023958325386047363,
0.02744251862168312,
-0.030441800132393837,
-0.010228085331618786,
-0.006492454558610916,
-0.0016859727911651134,
-0.029418092221021652,
-0.031698983162641525,
-0.002568246331065893,
0.0030329551082104445,
-0.023742808029055595,
-0.0014401485677808523,
0.013074708171188831,
-0.0051948619075119495,
-0.032327573746442795,
0.05639365687966347,
-0.016379304230213165,
0.07852008938789368,
0.041810330003499985,
-0.015786632895469666,
-0.09231318533420563,
0.03688935562968254,
0.01970186084508896,
-0.013397984206676483,
-0.02706536464393139,
0.03342312201857567,
-0.02810703031718731,
-0.024676715955138206,
-0.04127153754234314,
-0.013415943831205368,
0.061961185187101364,
0.024012204259634018,
0.0065732733346521854,
-0.061781588941812515,
-0.03460846468806267,
0.04242096096277237,
0.024084042757749557,
0.006622662767767906,
-0.032219815999269485,
-0.041882168501615524,
0.043965503573417664,
0.024550996720790863,
-0.04091234132647514,
-0.023706888779997826,
-0.01206896174699068,
0.029651569202542305,
-0.005432828329503536,
0.06023704633116722,
-0.009743171744048595,
-0.05405889078974724,
0.04044538736343384,
0.005783043801784515,
0.09066088497638702,
0.04730601608753204,
0.03714079037308693,
0.02911277674138546,
0.1224137470126152,
-0.02025861293077469,
-0.004858116153627634,
-0.00030475473613478243,
0.0010669222101569176,
0.008822733536362648,
0.00006647217378485948,
0.03327944129705429,
-0.020402291789650917,
0.03532685711979866,
-0.03502153977751732,
-0.04974854737520218,
-0.021138641983270645,
-0.05628589913249016,
-0.07356319576501846,
-0.017124634236097336,
0.05427440628409386,
-0.018238140270113945,
0.028573984280228615,
-0.04644395038485527,
0.013227365911006927,
0.042744237929582596,
0.04734193906188011,
-0.027819674462080002,
0.04407326132059097,
0.044863488525152206,
-0.023473411798477173,
0.027783755213022232,
-0.0184087585657835,
-0.01677441969513893,
0.04568963870406151,
0.004907505586743355,
0.01702585630118847,
-0.032399412244558334,
0.008840694092214108,
-0.06695400178432465,
-0.041989926248788834,
0.05811779573559761,
0.030369959771633148,
0.006892059464007616,
-0.07101290673017502,
-0.033333320170640945,
-0.028717663139104843,
0.007125536445528269,
-0.01033584401011467,
-0.0028556024190038443,
0.012859190814197063,
0.06907325237989426,
-0.04367814585566521,
0.041702572256326675,
0.020689647644758224,
-0.008562317118048668,
0.0739942267537117,
-0.016531962901353836,
-0.04838360473513603,
0.01003950834274292,
0.06982756406068802,
-0.005284660495817661,
0.04026579111814499,
0.0065732733346521854,
-0.06426003575325012,
-0.0028937668539583683,
0.01688217744231224,
-0.05941089987754822,
-0.0011527923634275794,
0.02160559594631195,
0.014511489309370518,
0.006357756443321705,
0.012275498360395432,
0.015481316484510899,
0.05046693608164787,
0.02997484616935253,
0.014951503835618496,
-0.009797051548957825,
0.0307830348610878,
-0.0031384688336402178,
0.01504130195826292,
0.014682106673717499,
-0.04579739645123482,
0.020923124626278877,
-0.005518137477338314,
0.041594814509153366,
-0.0022707877214998007,
0.024999991059303284,
0.05477727949619293,
0.004709947854280472,
-0.01684625819325447,
-0.00998562853783369,
-0.016226647421717644,
-0.02896909974515438,
0.01091055665165186,
-0.03299208730459213,
-0.12464076280593872,
0.025089789181947708,
-0.06102727726101875,
0.021515797823667526,
-0.04892239719629288,
-0.01065014023333788,
-0.021318240091204643,
-0.022593382745981216,
0.06041664630174637,
0.01606500893831253,
0.005868352949619293,
-0.004427081905305386,
-0.020545970648527145,
-0.01252693496644497,
-0.042636480182409286,
0.04324711114168167,
-0.009922769851982594,
-0.028268668800592422,
0.0467672236263752,
0.007992095313966274,
-0.014727006666362286,
0.04770113155245781,
0.020833326503634453,
-0.07535916566848755,
-0.07194681465625763,
-0.01885775290429592,
-0.04852728173136711,
0.001607398851774633,
-0.02792743220925331,
0.05201147496700287,
0.02271910198032856,
0.017133614048361778,
-0.0007801272440701723,
-0.02372484840452671,
-0.021282320842146873,
-0.03789510205388069,
0.002149559324607253,
-0.015193960629403591,
0.0265804510563612,
-0.023419532924890518,
-0.021408038213849068,
0.017753226682543755,
0.048132166266441345,
-0.037464067339897156,
-0.009904809296131134,
-0.021515797823667526,
-0.005123022478073835,
0.01672952063381672,
-0.0014895378844812512,
0.009137029759585857,
-0.00014634401304647326,
-0.04551004245877266,
-0.050359178334474564,
0.0030598947778344154,
0.02164151519536972,
0.01624460704624653,
0.016864217817783356,
-0.024550996720790863,
-0.019917378202080727,
-0.024622837081551552,
0.022916657850146294,
0.0027725384570658207,
-0.04737785831093788,
-0.0005124144954606891,
0.002958871191367507,
0.06551721692085266,
0.08965513855218887,
-0.027262922376394272,
-0.012922050431370735,
-0.025862060487270355,
-0.04454021528363228,
-0.022323986515402794,
0.026616370305418968,
0.029992805793881416,
-0.03108835034072399,
0.04091234132647514,
0.05736348405480385,
-0.0712643414735794,
0.025233468040823936,
-0.06235630065202713,
0.0030980592127889395,
0.02372484840452671,
0.011664866469800472,
-0.08979881554841995,
-0.060955438762903214,
0.012158759869635105,
-0.06364940106868744,
-0.027640076354146004,
0.028681742027401924,
0.0035964427515864372,
0.02442527934908867,
-0.07708330452442169,
-0.0008946207235567272,
-0.013209406286478043,
-0.04525860399007797,
0.024856312200427055,
0.019019389525055885,
-0.012446116656064987,
-0.024443238973617554,
-0.04665946587920189,
0.03879309073090553,
-0.08333330601453781,
-0.008297410793602467,
0.0074533019214868546,
-0.024892233312129974,
0.04457613453269005,
-0.0684266984462738,
0.013999636285007,
0.018911631777882576,
-0.02852010540664196,
-0.03900860622525215,
-0.05420256778597832,
-0.028358466923236847,
-0.06278733164072037,
-0.0011438124347478151,
0.01733117178082466,
0.020348412916064262,
-0.000991715700365603,
-0.06016520783305168,
0.009841950610280037,
-0.006191628519445658,
0.028502145782113075,
0.016927076503634453,
-0.04252872243523598,
-0.005863863043487072,
0.03369251638650894,
-0.03209409862756729,
-0.02025861293077469,
0.07543101161718369,
0.017088714987039566,
-0.05901578441262245,
-0.012904089875519276,
0.06167382746934891,
-0.006631642580032349,
0.05621406063437462,
-0.05068245530128479,
-0.014197193086147308,
-0.018696114420890808,
-0.051185328513383865,
0.04931751266121864,
-0.004299118649214506,
0.07981318980455399,
0.012571834959089756,
0.03403375297784805,
-0.04206176847219467,
-0.03408763185143471,
0.0012605509255081415,
0.07751434296369553,
0.032399412244558334,
-0.03148346766829491,
-0.036153003573417664,
0.015822552144527435,
-0.011907323263585567,
0.07737066596746445,
-0.019324705004692078,
-0.003533583600074053,
0.05833331122994423,
-0.051185328513383865,
-0.008894572965800762,
0.014646187424659729,
0.0659482553601265,
0.03200430050492287,
-0.02112068235874176,
0.08318962901830673,
0.049137912690639496,
0.03275860846042633,
0.010901576839387417,
0.02740659937262535,
-0.0015411722706630826,
0.016819318756461143,
0.06986348330974579,
0.05416664853692055,
-0.031393665820360184,
-0.031070390716195107,
0.004647088702768087,
0.02494611218571663,
-0.0036705266684293747,
-0.09619249403476715,
-0.020061057060956955,
-0.0013974941102787852,
0.01165588665753603,
0.02108476310968399,
0.03475214168429375,
-0.013802078552544117,
-0.010614220052957535
]
|
44,038 | jsons.serializers.default_primitive | default_primitive_serializer |
Serialize a primitive; simply return the given ``obj``.
:param obj: the primitive.
:param cls: the type of ``obj``.
:return: ``obj``.
| def default_primitive_serializer(obj: object,
cls: Optional[type] = None,
**kwargs) -> object:
"""
Serialize a primitive; simply return the given ``obj``.
:param obj: the primitive.
:param cls: the type of ``obj``.
:return: ``obj``.
"""
result = obj
cls_ = cls
if _is_newtype(cls):
cls_ = cls.__supertype__
if cls_ and obj is not None and not isinstance(obj, cls_):
try:
result = cls_(obj)
except ValueError as err:
raise SerializationError('Could not cast "{}" into "{}"'
.format(obj, cls_.__name__)) from err
return result
| (obj: object, cls: Optional[type] = None, **kwargs) -> object | [
-0.013109992258250713,
-0.03926801308989525,
0.014101429842412472,
0.005355533678084612,
-0.00458097318187356,
-0.0014240851160138845,
0.04861585423350334,
0.06731153279542923,
-0.010401243343949318,
-0.048332586884498596,
0.03177911788225174,
-0.015916114673018456,
-0.03505440428853035,
-0.043339990079402924,
-0.03197386488318443,
0.05768042430281639,
-0.07191463559865952,
-0.0001977896026801318,
0.0022086044773459435,
-0.010454355739057064,
0.017907842993736267,
0.020342176780104637,
0.0077544585801661015,
0.08802550286054611,
-0.0018899280112236738,
-0.024414151906967163,
0.02540558949112892,
0.007050714921206236,
-0.07173759490251541,
-0.0005189556395635009,
0.009843559935688972,
0.014783043414354324,
0.020094316452741623,
0.024431856349110603,
0.007223331369459629,
-0.020820191130042076,
-0.017863580957055092,
0.11189082264900208,
-0.09050409495830536,
-0.047128695994615555,
-0.027760254219174385,
0.03994077444076538,
-0.05768042430281639,
-0.030469004064798355,
0.02312174253165722,
0.018695680424571037,
0.04029485955834389,
0.05534346401691437,
-0.009454065933823586,
-0.030522115528583527,
0.028840212151408195,
-0.030610637739300728,
0.00216655689291656,
0.020572330802679062,
-0.015261057764291763,
-0.008967199362814426,
0.0066567957401275635,
-0.023033220320940018,
-0.05661817267537117,
0.038595251739025116,
0.020165134221315384,
0.055201832205057144,
0.02696356363594532,
-0.02533477358520031,
-0.017934398725628853,
-0.03806412220001221,
0.0028194007463753223,
0.012384118512272835,
-0.007519877515733242,
0.03284137323498726,
0.007993466220796108,
-0.00687367282807827,
-0.0178458783775568,
0.019687119871377945,
0.049784332513809204,
-0.020129725337028503,
0.028698578476905823,
-0.0077367546036839485,
-0.03806412220001221,
0.047659825533628464,
0.030575228855013847,
-0.026113759726285934,
0.004638511687517166,
-0.004074188880622387,
-0.04567695036530495,
-0.01839470863342285,
-0.035833388566970825,
-0.016544615849852562,
-0.021298205479979515,
-0.035284556448459625,
-0.0012680664658546448,
0.04135711491107941,
-0.019120583310723305,
0.007254313677549362,
0.00941865798085928,
-0.06525783985853195,
-0.012233632616698742,
0.016544615849852562,
0.013304739259183407,
-0.0029942302498966455,
-0.05817614495754242,
0.01026846095919609,
-0.07049829512834549,
-0.022307347506284714,
0.004771293606609106,
-0.06837379187345505,
0.06780724972486496,
0.013915535993874073,
0.017651131376624107,
0.03069915808737278,
0.047128695994615555,
-0.008679505437612534,
-0.07067534327507019,
0.003886081511154771,
-0.007723476272076368,
-0.02319255843758583,
0.014260767959058285,
0.02960149571299553,
-0.01671280525624752,
-0.013021470978856087,
-0.03675400838255882,
-0.007590694352984428,
-0.058459412306547165,
-0.007825275883078575,
-0.02744157798588276,
-0.004536712542176247,
0.05909676477313042,
-0.005098822060972452,
0.0010467633837834,
0.07343720644712448,
0.01724393293261528,
0.032009273767471313,
-0.06086719036102295,
0.03539078310132027,
0.015163684263825417,
-0.008042152971029282,
-0.012446083128452301,
0.04804931581020355,
-0.002783992327749729,
-0.010250757448375225,
0.05343140661716461,
-0.012578865513205528,
0.01344637293368578,
0.019032061100006104,
-0.013410964980721474,
0.03884311020374298,
-0.008945069275796413,
0.003881655400618911,
-0.06423099339008331,
0.02639702707529068,
0.03838280215859413,
0.008055430836975574,
0.021953262388706207,
0.01801406778395176,
0.007834128104150295,
-0.020289063453674316,
0.026804225519299507,
-0.0820060595870018,
0.026556365191936493,
-0.053077321499586105,
-0.008210343308746815,
0.012525752186775208,
0.050917405635118484,
-0.06299170106649399,
0.030291961506009102,
0.06178781017661095,
-0.037001870572566986,
-0.02326337620615959,
0.00005995929313939996,
0.01559743843972683,
-0.020908711478114128,
-0.00452122138813138,
-0.0036692044232040644,
0.00888753030449152,
0.07049829512834549,
0.03553241863846779,
-0.012118554674088955,
0.02043069712817669,
0.02103264071047306,
0.04153415560722351,
0.04854503646492958,
-0.02641473151743412,
0.03404526039958,
-0.04054271802306175,
0.027777958661317825,
0.052900280803442,
0.020802486687898636,
-0.00912653747946024,
0.010684510692954063,
-0.008148377761244774,
0.02685733698308468,
0.039551280438899994,
0.01102974358946085,
-0.01634986884891987,
-0.007542007602751255,
0.023883024230599403,
-0.018412413075566292,
-0.028486128896474838,
-0.03735595569014549,
0.013278182595968246,
0.03354954347014427,
0.0419236496090889,
0.0666387751698494,
-0.003129224991425872,
-0.016031192615628242,
-0.02055462636053562,
-0.006192059256136417,
0.04457928612828255,
-0.013048027642071247,
-0.03243417292833328,
0.0048199803568422794,
-0.0075951204635202885,
-0.08703406155109406,
0.04139252007007599,
0.040648944675922394,
-0.014659114181995392,
0.026025237515568733,
-0.05297109857201576,
-0.015039755031466484,
0.003753299592062831,
0.053077321499586105,
0.011746766045689583,
-0.07825275510549545,
0.00003623837255872786,
-0.008205916732549667,
-0.027105197310447693,
-0.023298785090446472,
-0.029884763062000275,
-0.007701346185058355,
-0.06355823576450348,
-0.02526395581662655,
-0.03115946799516678,
-0.054706111550331116,
0.0231571514159441,
-0.02970772050321102,
0.04695165529847145,
0.05966329947113991,
-0.005222751758992672,
-0.01673050969839096,
-0.0009836920071393251,
0.045464497059583664,
0.012561161071062088,
0.015933819115161896,
-0.027317648753523827,
-0.013269330374896526,
0.0741453692317009,
0.004056484904140234,
0.013924387283623219,
-0.01076417975127697,
-0.012596569024026394,
0.030575228855013847,
-0.04886371269822121,
-0.014004056341946125,
-0.10629627853631973,
0.03255810588598251,
-0.014924677088856697,
-0.07931501418352127,
0.012437230907380581,
-0.06076096370816231,
0.0016099796630442142,
-0.021687697619199753,
0.04404815658926964,
0.01458829641342163,
0.07641151547431946,
-0.009471770375967026,
-0.004611955489963293,
-0.030044101178646088,
-0.010852701030671597,
0.02915889024734497,
0.033124640583992004,
0.07127728313207626,
-0.05268782749772072,
0.02804352156817913,
0.02907036803662777,
0.018589455634355545,
-0.04511041194200516,
-0.05559132620692253,
0.02862776257097721,
0.039126377552747726,
0.02269683964550495,
-0.025086913257837296,
-0.0397283211350441,
0.08037726581096649,
-0.02809663489460945,
-0.00662581343203783,
-0.0004224121803417802,
0.020855598151683807,
0.025688856840133667,
-0.04489796236157417,
-0.04599562659859657,
-0.00671433424577117,
0.04249018430709839,
-0.03220402076840401,
0.0038373947609215975,
0.01128645520657301,
0.015013198368251324,
-0.05672439560294151,
-0.031088652089238167,
-0.0016199382953345776,
-0.06072555482387543,
-0.008533445186913013,
0.0032863502856343985,
0.01027731318026781,
0.014915824867784977,
0.004868667107075453,
-0.05860104784369469,
0.005665358155965805,
-0.04156956449151039,
-0.04362325742840767,
0.013809310272336006,
-0.01733245514333248,
0.032646626234054565,
0.04103843867778778,
0.012118554674088955,
-0.00848475843667984,
-0.003591748420149088,
0.062177304178476334,
0.021138867363333702,
0.02218341827392578,
0.017881285399198532,
-0.06047769635915756,
0.008909660391509533,
-0.013552598655223846,
-0.003042917000129819,
-0.014012908563017845,
-0.04358784854412079,
-0.047128695994615555,
0.007958057336509228,
0.005621097516268492,
0.01533187460154295,
-0.00021687698608729988,
0.017111152410507202,
0.007568564265966415,
-0.0004608636081684381,
-0.02747698687016964,
-0.08101461827754974,
0.04532286524772644,
0.006922359112650156,
-0.05081117898225784,
0.003034064779058099,
0.009206206537783146,
0.00417820131406188,
0.030964722856879234,
0.00967536959797144,
-0.025741970166563988,
0.06161076948046684,
0.03611665591597557,
-0.041144661605358124,
0.00914424192160368,
-0.01132186409085989,
-0.05112985521554947,
-0.04107384383678436,
-0.042100690305233,
-0.010064862668514252,
-0.02365287020802498,
-0.052015066146850586,
0.03951587155461311,
-0.0042954920791089535,
-0.03009721450507641,
-0.06709908694028854,
-0.026627182960510254,
0.015508917160332203,
-0.0021820480469614267,
0.010569433681666851,
-0.0065461439080536366,
0.0463143028318882,
0.01182643510401249,
-0.03225713223218918,
-0.03611665591597557,
0.005346681457012892,
-0.0561932697892189,
0.01680132746696472,
-0.08575935661792755,
-0.0054174987599253654,
-0.04220691695809364,
0.04422520101070404,
-0.04642052575945854,
0.05190884321928024,
-0.010197644121944904,
0.012658534571528435,
0.021687697619199753,
-0.019651710987091064,
0.03115946799516678,
0.017598018050193787,
0.00037123585934750736,
-0.02683963254094124,
0.04061353579163551,
0.0126762380823493,
-0.0269989725202322,
0.007404800038784742,
-0.021245092153549194,
0.00015491213707718998,
-0.0032265984918922186,
-0.042879678308963776,
0.0011563084553927183,
0.001567932078614831,
0.00911768525838852,
0.024892166256904602,
-0.01779276505112648,
0.05396253615617752,
0.01942155510187149,
0.004930631723254919,
0.01588955894112587,
-0.011808730661869049,
-0.06430181115865707,
0.043906524777412415,
0.04493337124586105,
-0.09666517376899719,
0.018554046750068665,
-0.0023989251349121332,
0.014924677088856697,
0.029831649735569954,
0.03296530246734619,
-0.026644887402653694,
0.056972257792949677,
-0.019757935777306557,
0.05378549173474312,
0.02476823702454567,
-0.03891392797231674,
0.01399520505219698,
-0.017695391550660133,
0.0635228231549263,
0.0389847457408905,
0.05339599773287773,
0.03827657550573349,
0.0051475088112056255,
0.02055462636053562,
0.004943910054862499,
0.05066954717040062,
-0.022006375715136528,
0.06568274646997452,
-0.05396253615617752,
0.0034080669283866882,
-0.035284556448459625,
0.002460889983922243,
0.02687504142522812,
0.03809953108429909,
-0.03225713223218918,
-0.018624864518642426,
0.02432563155889511,
0.017164263874292374,
-0.05229833722114563,
-0.0507049523293972,
0.005058987531810999,
0.0024387596640735865,
-0.01744753308594227,
-0.026556365191936493,
0.011171378195285797,
0.008754748851060867,
-0.0021488526836037636,
0.09128308296203613,
-0.022873882204294205,
0.07973991334438324,
0.04599562659859657,
-0.023617461323738098,
-0.09616944938898087,
0.0453936792910099,
-0.002626867266371846,
-0.008971625939011574,
-0.041746605187654495,
0.03834739327430725,
-0.012570013292133808,
0.0001012461434584111,
-0.020873302593827248,
-0.006457623094320297,
0.017412124201655388,
0.008834417909383774,
0.0015889558708295226,
-0.035302262753248215,
-0.03337249904870987,
0.07662396878004074,
0.04351703077554703,
0.0002470295294187963,
-0.040188632905483246,
-0.02540558949112892,
0.029318228363990784,
0.007267592009156942,
-0.04036567732691765,
-0.03197386488318443,
-0.01318966131657362,
0.013048027642071247,
0.008051005192101002,
0.061256684362888336,
0.01105630025267601,
-0.05438743531703949,
0.03602813556790352,
0.012516899965703487,
0.07938583195209503,
0.05378549173474312,
0.05757420137524605,
0.041250888258218765,
0.11996395885944366,
-0.03452327474951744,
0.011428088881075382,
0.0015137128066271544,
0.011251047253608704,
0.00661696121096611,
-0.00109710986725986,
0.005625523626804352,
-0.006891376804560423,
0.04344621300697327,
-0.039692915976047516,
-0.0688340961933136,
-0.010056010447442532,
-0.038453616201877594,
-0.0810854360461235,
-0.017482940107584,
0.04528745636343956,
-0.017907842993736267,
0.0453936792910099,
-0.038453616201877594,
0.0013831440592184663,
0.01773965172469616,
0.03926801308989525,
-0.024060066789388657,
0.02960149571299553,
0.03337249904870987,
-0.0253524761646986,
0.020235950127243996,
-0.04918238893151283,
-0.027831071987748146,
0.04142792895436287,
0.0013942092191427946,
0.013782753609120846,
-0.019226808100938797,
0.008210343308746815,
-0.06200025975704193,
-0.03620517998933792,
0.032646626234054565,
0.060088202357292175,
0.0029853780288249254,
-0.055732958018779755,
-0.034859657287597656,
-0.025175433605909348,
-0.014924677088856697,
0.00452564749866724,
0.012720499187707901,
0.021829333156347275,
0.09454066306352615,
-0.07315393537282944,
0.03215090557932854,
0.01080844085663557,
0.0005128697957843542,
0.048332586884498596,
0.008546723984181881,
-0.03724972903728485,
0.0172085240483284,
0.056972257792949677,
-0.03360265493392944,
0.019102878868579865,
0.003790921065956354,
-0.06702826917171478,
0.0029610346537083387,
0.04096762090921402,
-0.04153415560722351,
0.008714914321899414,
0.03609895333647728,
0.021227387711405754,
0.01319851353764534,
0.033160049468278885,
0.022236529737710953,
0.049890559166669846,
0.037391360849142075,
-0.012410675175487995,
-0.033177752047777176,
0.019155992195010185,
0.013021470978856087,
0.013827014714479446,
0.01880190707743168,
-0.031566668301820755,
0.023953841999173164,
0.005081118084490299,
0.04794309288263321,
-0.006563848350197077,
0.01027731318026781,
0.06338119506835938,
-0.005961903836578131,
0.014924677088856697,
-0.030610637739300728,
-0.021280501037836075,
-0.03544389456510544,
0.02960149571299553,
-0.03510751575231552,
-0.13193202018737793,
0.04142792895436287,
-0.04355243965983391,
0.010914666578173637,
-0.04241936653852463,
-0.027229126542806625,
-0.001082171918824315,
-0.03592190891504288,
0.05991116166114807,
0.028450720012187958,
-0.0008924045250751078,
0.01508401520550251,
-0.018447821959853172,
-0.00031867637881077826,
-0.05325436592102051,
0.050846587866544724,
-0.007223331369459629,
-0.02806122601032257,
0.05102362856268883,
-0.01347292959690094,
-0.02375909499824047,
0.06780724972486496,
0.01733245514333248,
-0.07152514159679413,
-0.05884890630841255,
-0.015145980753004551,
-0.042879678308963776,
-0.0006948915543034673,
-0.010339278727769852,
0.05236915126442909,
0.0008448243606835604,
0.007196775171905756,
-0.0012404036242514849,
-0.05059872940182686,
-0.01372078899294138,
-0.027335351333022118,
0.00912653747946024,
0.007834128104150295,
0.025157731026411057,
-0.022289643064141273,
-0.04673920199275017,
0.017403271049261093,
0.03714350238442421,
-0.030327368527650833,
-0.008051005192101002,
0.0027707142289727926,
-0.03188534453511238,
0.00898932944983244,
-0.011950364336371422,
-0.00017510603356640786,
-0.0038041993975639343,
-0.028680874034762383,
-0.05063413828611374,
-0.0024343335535377264,
0.021953262388706207,
0.018199961632490158,
0.016588876023888588,
-0.026131464168429375,
-0.019687119871377945,
-0.004753589630126953,
0.001992834033444524,
0.02043069712817669,
-0.05006759986281395,
-0.0013222857378423214,
-0.01156972348690033,
0.05031546205282211,
0.04918238893151283,
-0.033655766397714615,
-0.011197933927178383,
-0.027193717658519745,
-0.05707848072052002,
-0.0009294727933593094,
0.04461469501256943,
0.019102878868579865,
-0.03282366693019867,
0.03558553010225296,
0.04953647404909134,
-0.05325436592102051,
0.0388077013194561,
-0.05498938262462616,
0.008458202704787254,
0.01883731596171856,
0.021333614364266396,
-0.09397412836551666,
-0.07719050347805023,
0.009480622597038746,
-0.0763406977057457,
-0.037993308156728745,
0.03250499069690704,
0.0075951204635202885,
0.022502094507217407,
-0.07641151547431946,
0.016845587641000748,
-0.00836525484919548,
-0.010241905227303505,
0.0126762380823493,
0.010693362914025784,
-0.007183496840298176,
-0.03457638621330261,
-0.028255973011255264,
0.02744157798588276,
-0.075420081615448,
-0.013756196945905685,
0.0005897725932300091,
-0.022360458970069885,
0.027866479009389877,
-0.07711968570947647,
0.01727934181690216,
0.003633796004578471,
-0.023475827649235725,
-0.03296530246734619,
-0.024095475673675537,
-0.019297625869512558,
-0.04886371269822121,
-0.0013311378424987197,
0.016031192615628242,
-0.002553837141022086,
0.0009897778509184718,
-0.04847421869635582,
0.012056590057909489,
0.00210016593337059,
0.042844269424676895,
0.026255393400788307,
-0.01883731596171856,
-0.013410964980721474,
0.05431662127375603,
-0.03183222934603691,
-0.02529936470091343,
0.07372047007083893,
0.02319255843758583,
-0.037391360849142075,
-0.026751112192869186,
0.041250888258218765,
0.01664198935031891,
0.055201832205057144,
-0.048155542463064194,
-0.019828753545880318,
-0.017863580957055092,
-0.04376488924026489,
0.03562093898653984,
-0.029512973502278328,
0.06738235056400299,
0.009427510201931,
0.047695230692625046,
-0.05159016698598862,
-0.031619779765605927,
0.009657665155827999,
0.0728706642985344,
0.02483905479311943,
-0.041817422956228256,
-0.0549185648560524,
0.050952814519405365,
0.002520641777664423,
0.06362905353307724,
-0.03255810588598251,
-0.01611086167395115,
0.04326917231082916,
-0.04907616227865219,
0.0006799536058679223,
0.023033220320940018,
0.03951587155461311,
0.035231444984674454,
-0.03562093898653984,
0.11302389204502106,
0.03820575773715973,
0.014614853076636791,
0.02537018060684204,
0.03409837186336517,
0.01131301186978817,
0.013605711050331593,
0.05562673509120941,
0.07938583195209503,
-0.013782753609120846,
-0.02795500122010708,
0.02864546701312065,
0.03225713223218918,
-0.00004968944995198399,
-0.09751497209072113,
-0.04185283184051514,
0.008874252438545227,
0.01103859581053257,
0.014278472401201725,
0.05063413828611374,
-0.01157857570797205,
-0.0008260136237367988
]
|
44,039 | jsons.deserializers.default_string | default_string_deserializer |
Deserialize a string. If the given ``obj`` can be parsed to a date, a
``datetime`` instance is returned.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: any keyword arguments.
:return: the deserialized obj.
| def default_string_deserializer(obj: str,
cls: Optional[type] = None,
**kwargs) -> object:
"""
Deserialize a string. If the given ``obj`` can be parsed to a date, a
``datetime`` instance is returned.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: any keyword arguments.
:return: the deserialized obj.
"""
target_is_str = cls is str and not kwargs.get('_inferred_cls')
if target_is_str:
return str(obj)
try:
result = load(obj, datetime, **kwargs)
except DeserializationError:
result = default_primitive_deserializer(obj, str)
return result
| (obj: str, cls: Optional[type] = None, **kwargs) -> object | [
0.03445744141936302,
0.03315648064017296,
0.025260359048843384,
-0.06945694983005524,
-0.019207268953323364,
-0.026904631406068802,
0.05243602395057678,
0.07820231467485428,
0.013940175995230675,
-0.05189395695924759,
0.006030504126101732,
0.0362643338739872,
-0.059735868126153946,
-0.021502021700143814,
0.015792241320014,
0.037258125841617584,
-0.11932718753814697,
0.032668616622686386,
0.016695687547326088,
-0.03707743436098099,
0.004268783610314131,
-0.02330891415476799,
-0.03015703707933426,
0.09619896113872528,
0.01582837849855423,
0.030446140095591545,
0.016795067116618156,
-0.034150268882513046,
-0.051460299640893936,
0.006333158351480961,
0.03698709234595299,
0.008944118395447731,
-0.004743093159049749,
0.03153027594089508,
-0.01716548018157482,
-0.05641118809580803,
-0.010705838911235332,
0.03830612450838089,
-0.08882684260606766,
-0.003593457629904151,
-0.033427514135837555,
0.03382502868771553,
-0.016722790896892548,
-0.027591248974204063,
-0.00870470516383648,
-0.000342744926456362,
-0.07003515958786011,
0.0391734316945076,
-0.04426886886358261,
0.019297612830996513,
0.05182167887687683,
-0.0419921837747097,
0.015792241320014,
0.007534741889685392,
-0.013687211088836193,
-0.0040632495656609535,
0.017535893246531487,
0.0673970952630043,
0.006120848469436169,
0.013262591324746609,
0.004555628169327974,
0.012015835382044315,
-0.006224744953215122,
0.024555670097470284,
-0.06410855054855347,
-0.02106836810708046,
0.042172871530056,
-0.02551332302391529,
-0.0030107346829026937,
0.01890009641647339,
0.01318128127604723,
0.010163770988583565,
-0.015638655051589012,
0.02782614529132843,
0.04950885847210884,
-0.00772898318246007,
-0.038775913417339325,
-0.015530241653323174,
0.010299287736415863,
0.02847662754356861,
0.02932586707174778,
-0.005736884195357561,
-0.034891095012426376,
-0.08701995015144348,
-0.04412431642413139,
-0.021285194903612137,
-0.03015703707933426,
-0.028024904429912567,
-0.029831796884536743,
0.0007961620576679707,
-0.013876935467123985,
-0.03297578915953636,
-0.016243964433670044,
0.07943099737167358,
-0.06432537734508514,
-0.04282335564494133,
0.0005268221138976514,
0.013434246182441711,
0.036408886313438416,
0.002976855495944619,
-0.0020000042859464884,
-0.04755741357803345,
-0.07625086605548859,
-0.01964092254638672,
-0.04210059717297554,
-0.07223956286907196,
0.04061894491314888,
-0.0010220236144959927,
-0.013551694341003895,
-0.05615822225809097,
0.01873747631907463,
-0.018421269953250885,
-0.08102106302976608,
0.021664641797542572,
0.03913729265332222,
0.004657265730202198,
0.0021072884555906057,
-0.014581623487174511,
0.017752720043063164,
-0.027537042275071144,
-0.03304806724190712,
0.013994382694363594,
-0.06873419135808945,
0.011022044345736504,
0.006970087997615337,
-0.01646982505917549,
0.004589507356286049,
-0.04802720621228218,
0.1286507546901703,
0.05796511471271515,
0.06432537734508514,
0.03082558698952198,
-0.05023161321878433,
-0.021411677822470665,
0.025007393211126328,
0.039570946246385574,
-0.02114064246416092,
0.05333947017788887,
-0.009156428277492523,
0.024393050000071526,
0.06902329623699188,
-0.016975756734609604,
0.02773580141365528,
-0.03967935964465141,
-0.019839679822325706,
0.010958803817629814,
0.028964487835764885,
0.03178324177861214,
-0.06327737867832184,
0.05941062793135643,
0.0232908446341753,
0.013994382694363594,
-0.02629028633236885,
0.01284700632095337,
-0.0038396466989070177,
-0.06584316492080688,
-0.03077138029038906,
-0.03518019989132881,
0.005822711158543825,
-0.0404021181166172,
0.01967705972492695,
-0.025766288861632347,
0.04383521527051926,
-0.02395939640700817,
0.08550215512514114,
0.054459743201732635,
0.06696344166994095,
-0.026615528389811516,
0.01281990297138691,
0.017671409994363785,
-0.04593120887875557,
0.010741976089775562,
-0.0449916273355484,
0.0012151352129876614,
0.05174940451979637,
0.028440488502383232,
0.012828937731683254,
0.04911134019494057,
0.0022789433132857084,
0.037221986800432205,
0.045497555285692215,
0.006559019908308983,
0.017824996262788773,
-0.011898388154804707,
0.04202832281589508,
0.04444955661892891,
-0.011555078439414501,
0.011735767126083374,
-0.02468215301632881,
0.029036764055490494,
-0.02417622320353985,
0.004528524354100227,
-0.005931125022470951,
0.03286737576127052,
0.000004834849278267939,
0.03225303441286087,
-0.020472092553973198,
-0.02713952586054802,
0.0039074053056538105,
0.02186340093612671,
0.005872400943189859,
0.040871910750865936,
0.05402608960866928,
-0.05720622092485428,
-0.0034624580293893814,
-0.026904631406068802,
0.002048564376309514,
0.03892046585679054,
-0.02491704933345318,
-0.008989290334284306,
-0.015548311173915863,
-0.02925359085202217,
-0.05485725775361061,
0.01059742458164692,
0.04585893452167511,
-0.00529871229082346,
0.031205035746097565,
0.008614360354840755,
0.004465283360332251,
-0.0040203360840678215,
0.04585893452167511,
0.047593552619218826,
-0.05659187585115433,
0.02034560963511467,
0.033445581793785095,
-0.02253195084631443,
-0.05265285074710846,
-0.06089228019118309,
-0.005542642902582884,
-0.04343769699335098,
-0.012124249711632729,
-0.066349096596241,
-0.006522882264107466,
-0.008221360854804516,
0.1027037724852562,
0.06978219002485275,
0.017635270953178406,
-0.025151945650577545,
-0.01731003075838089,
-0.022206710651516914,
0.042425837367773056,
-0.023869050666689873,
-0.04361838847398758,
-0.039426397532224655,
0.030319657176733017,
0.05023161321878433,
-0.012937351129949093,
0.024320773780345917,
-0.06902329623699188,
-0.04163080453872681,
0.08665856719017029,
0.019225336611270905,
0.019821612164378166,
-0.03378888964653015,
-0.029090970754623413,
-0.017581064254045486,
0.06031407415866852,
0.024429187178611755,
0.00039808102883398533,
-0.018466442823410034,
-0.01545796636492014,
-0.004526265896856785,
-0.0344032347202301,
0.04423272982239723,
-0.05341174453496933,
-0.0569893941283226,
-0.013389074243605137,
0.026489045470952988,
-0.008569188416004181,
-0.012720523402094841,
0.06696344166994095,
-0.04130556434392929,
-0.0028571488801389933,
-0.010778114199638367,
-0.05865173414349556,
-0.02186340093612671,
-0.03404185548424721,
-0.08065968751907349,
0.020182989537715912,
0.004542076028883457,
-0.06327737867832184,
-0.028440488502383232,
0.04762968793511391,
-0.023037880659103394,
0.03848681226372719,
-0.012657282873988152,
0.008754394948482513,
-0.05843490734696388,
-0.02412201650440693,
0.032722823321819305,
0.011835146695375443,
-0.041088737547397614,
-0.04726830869913101,
-0.014933967031538486,
-0.011735767126083374,
-0.008234912529587746,
-0.0247002225369215,
-0.07849141210317612,
-0.027573181316256523,
-0.05391767621040344,
-0.024591807276010513,
0.025441046804189682,
-0.006211193278431892,
0.025133876129984856,
0.018231546506285667,
-0.03154834359884262,
0.005673642735928297,
-0.08174382150173187,
-0.04979795962572098,
-0.044810935854911804,
-0.001560703502036631,
-0.0011710922699421644,
-0.053809262812137604,
-0.008424636907875538,
-0.02038174867630005,
0.06877033412456512,
-0.01875554583966732,
0.015611551702022552,
0.0007843043422326446,
0.025314565747976303,
-0.01571996510028839,
0.0317651703953743,
-0.04372680187225342,
-0.0018994958372786641,
0.0377640537917614,
-0.010470942594110966,
-0.04723217338323593,
0.034258682280778885,
0.026687802746891975,
0.04282335564494133,
0.008383981883525848,
-0.03910115733742714,
0.019279543310403824,
-0.00435235258191824,
0.05930221453309059,
-0.0495811328291893,
0.01953250914812088,
-0.038703639060258865,
-0.0028074593283236027,
0.03460199385881424,
0.041594669222831726,
0.020544368773698807,
0.0346742682158947,
0.023923257365822792,
0.004792782478034496,
0.05174940451979637,
0.04354611039161682,
0.019044646993279457,
0.03521633520722389,
0.028314007446169853,
-0.0642169639468193,
-0.037980880588293076,
-0.03245178982615471,
-0.011320182122290134,
-0.029759520664811134,
-0.03655343875288963,
0.03884819149971008,
0.06844509392976761,
0.00827556848526001,
-0.08868228644132614,
-0.0763954222202301,
-0.015069483779370785,
-0.00943197961896658,
-0.04112487658858299,
0.022116364911198616,
-0.015575414523482323,
0.01951443962752819,
-0.009332600049674511,
0.0270853191614151,
-0.0553993284702301,
-0.02947041764855385,
0.043257009238004684,
0.000802373222541064,
-0.04752127453684807,
-0.005556194577366114,
0.0028052006382495165,
0.00565105676651001,
0.043329283595085144,
0.012476593255996704,
0.03671605885028839,
0.003509888891130686,
-0.0038893362507224083,
0.03910115733742714,
0.019658992066979408,
0.03512599319219589,
0.029831796884536743,
0.01047997735440731,
0.03677026554942131,
0.011654457077383995,
-0.03086172603070736,
0.04004073888063431,
-0.011031079106032848,
-0.025242289528250694,
-0.004018077626824379,
-0.02334505133330822,
-0.04650941491127014,
-0.013813694007694721,
0.008917015045881271,
-0.04434114322066307,
0.07046881318092346,
-0.01279279962182045,
0.04744900017976761,
-0.015629621222615242,
0.004074542783200741,
-0.058326493948698044,
0.09518710523843765,
0.006644847337156534,
-0.0541706383228302,
-0.05106278508901596,
-0.01719258353114128,
0.050014786422252655,
-0.06284372508525848,
-0.004551110789179802,
-0.04430500790476799,
0.06154276058077812,
0.07632314413785934,
0.014653898775577545,
0.0601695217192173,
0.0058272285386919975,
-0.013172246515750885,
-0.02484477311372757,
0.06273531168699265,
0.007846430875360966,
0.005307747051119804,
0.012241696938872337,
0.044883210211992264,
-0.005876918323338032,
-0.02021912857890129,
0.027266008779406548,
-0.03765564039349556,
0.04961727187037468,
-0.019803542643785477,
-0.06295213848352432,
-0.04459410905838013,
0.05572456866502762,
-0.01243142131716013,
0.022857191041111946,
-0.027410561218857765,
-0.00946811679750681,
-0.03015703707933426,
-0.035740334540605545,
-0.02330891415476799,
0.010633562691509724,
0.03433096036314964,
-0.028205594047904015,
0.00043788913171738386,
-0.004033887758851051,
0.03711357340216637,
0.0055697462521493435,
-0.006699054501950741,
0.032813169062137604,
0.038812052458524704,
-0.022965604439377785,
0.02170078083872795,
-0.016686653718352318,
-0.07545583695173264,
0.09684944152832031,
0.011040113866329193,
-0.017553960904479027,
0.02773580141365528,
-0.020815402269363403,
-0.02264036424458027,
0.0006730674649588764,
-0.002570304786786437,
-0.00023715465795248747,
0.08673084527254105,
-0.034999508410692215,
-0.001370979705825448,
-0.06345807015895844,
-0.025766288861632347,
-0.025115806609392166,
0.007832879200577736,
0.0018136684084311128,
0.012241696938872337,
-0.040980324149131775,
0.03736653923988342,
0.02701304480433464,
-0.03384309634566307,
0.009802392683923244,
0.008804083801805973,
0.026597458869218826,
0.022694570943713188,
0.00825749896466732,
0.005461332853883505,
-0.028368214145302773,
0.021538158878684044,
0.045353002846241,
0.024953186511993408,
0.012015835382044315,
0.06566247344017029,
-0.00008074551442405209,
0.09417524188756943,
0.0004486175603233278,
0.008162637241184711,
0.03704129904508591,
0.0344032347202301,
-0.017490720376372337,
-0.005809159483760595,
0.017562996596097946,
-0.029813727363944054,
0.02479056641459465,
0.010705838911235332,
-0.027374422177672386,
0.03830612450838089,
-0.045497555285692215,
-0.01808699406683445,
-0.010416735894978046,
0.05109892413020134,
-0.003914181143045425,
-0.02569401264190674,
-0.025404909625649452,
-0.024664083495736122,
0.023453466594219208,
0.034059926867485046,
-0.022802984341979027,
0.0031665791757404804,
0.06454220414161682,
-0.006802950520068407,
0.005081885494291782,
0.004734058398753405,
0.009504254907369614,
0.03512599319219589,
-0.009549427777528763,
-0.04141397774219513,
-0.014626795426011086,
-0.0006945243221707642,
-0.025368772447109222,
0.004562404006719589,
0.08673084527254105,
0.009287428110837936,
0.04065508395433426,
0.0032049757428467274,
0.012422386556863785,
-0.016804100945591927,
0.046870794147253036,
0.02947041764855385,
-0.024284636601805687,
0.012774731032550335,
0.03086172603070736,
-0.027970697730779648,
0.001627332647331059,
0.007620569318532944,
0.017806926742196083,
0.040221430361270905,
-0.02029140293598175,
-0.040980324149131775,
0.08355071395635605,
0.08933276683092117,
-0.03225303441286087,
0.03588488698005676,
-0.0047476100735366344,
-0.05807352811098099,
-0.030970139428973198,
0.06540951132774353,
-0.05048457905650139,
-0.02256808802485466,
-0.033391375094652176,
0.02168271131813526,
-8.513922580277722e-7,
-0.03460199385881424,
-0.02638063207268715,
0.0587601475417614,
0.011094320565462112,
0.08644174039363861,
0.013036729767918587,
0.04065508395433426,
0.00824394728988409,
0.011654457077383995,
0.003442130284383893,
0.0188820268958807,
-0.009422944858670235,
-0.011058182455599308,
0.06183186545968056,
0.02694076858460903,
0.01246755849570036,
0.07086632400751114,
0.011401492170989513,
-0.02638063207268715,
-0.005949194077402353,
0.002683235565200448,
0.030590690672397614,
0.008063258603215218,
0.008293637074530125,
-0.07581721246242523,
-0.017716581001877785,
-0.040871910750865936,
-0.0072908117435872555,
-0.0035686129704117775,
-0.01589162088930607,
-0.041052598506212234,
0.0032659582793712616,
0.05341174453496933,
0.011564112268388271,
0.029072901234030724,
0.018475476652383804,
-0.09518710523843765,
0.049292031675577164,
-0.029705313965678215,
-0.01386790070682764,
-0.0464010015130043,
-0.023110156878829002,
0.05637504905462265,
0.0359933003783226,
0.01803278736770153,
0.04163080453872681,
0.0015426345635205507,
-0.03398764878511429,
-0.0003308872110210359,
0.029163246974349022,
-0.004033887758851051,
0.013298729434609413,
-0.014048590324819088,
0.018412236124277115,
0.03830612450838089,
0.03747495263814926,
-0.02186340093612671,
-0.02105029858648777,
-0.025730149820446968,
-0.05286967754364014,
-0.04571438208222389,
0.053773123770952225,
0.03378888964653015,
0.017861133441329002,
0.05948290228843689,
-0.002680976875126362,
0.029090970754623413,
-0.03892046585679054,
-0.022802984341979027,
-0.03015703707933426,
-0.07101088017225266,
0.027591248974204063,
-0.010190874338150024,
0.006188607309013605,
-0.016849273815751076,
-0.058290354907512665,
-0.014211210422217846,
0.0005042359698563814,
0.042498115450143814,
0.027211802080273628,
-0.04788265377283096,
0.009314531460404396,
0.01012763287872076,
0.024627946317195892,
0.007345018442720175,
-0.05254443734884262,
-0.026452908292412758,
0.01805989071726799,
-0.032650548964738846,
0.05572456866502762,
0.060494765639305115,
0.028964487835764885,
-0.006802950520068407,
0.007010743021965027,
-0.01730099692940712,
-0.05341174453496933,
-0.010109564289450645,
-0.00824846513569355,
-0.0306991059333086,
0.02484477311372757,
0.046943068504333496,
-0.018412236124277115,
-0.00907963514328003,
-0.03433096036314964,
-0.004555628169327974,
0.011067217215895653,
-0.008189740590751171,
-0.043293148279190063,
0.0014342210488393903,
0.010326391085982323,
-0.048424720764160156,
-0.037149712443351746,
-0.008121982216835022,
0.0589408352971077,
-0.01730099692940712,
-0.03293965011835098,
-0.023037880659103394,
0.03830612450838089,
-0.031042413786053658,
0.05113505944609642,
0.012214593589305878,
0.04582279548048973,
-0.03615592047572136,
-0.06642137467861176,
0.0000787692260928452,
-0.05796511471271515,
0.00563750509172678,
-0.004415593575686216,
-0.025079669430851936,
0.06396399438381195,
-0.03707743436098099,
0.06277144700288773,
0.01538569014519453,
-0.054640430957078934,
-0.057423047721385956,
0.0016623411793261766,
-0.04762968793511391,
-0.03465620055794716,
0.028711523860692978,
0.012332041747868061,
0.0083162235096097,
0.03657150641083717,
-0.02477249689400196,
0.0077741555869579315,
-0.0027690629940479994,
0.030247382819652557,
-0.03859522566199303,
-0.07310687750577927,
0.028295937925577164,
0.031096622347831726,
-0.02703111246228218,
0.006821019574999809,
0.01424734853208065,
-0.011103355325758457,
-0.018538717180490494,
0.02325470745563507,
-0.03682447224855423,
-0.008329775184392929,
0.023814843967556953,
-0.030536483973264694,
-0.002222477924078703,
0.010498045943677425,
-0.053050365298986435,
-0.01348845288157463,
-0.005642022006213665,
0.05185781791806221,
0.015015277080237865,
-0.05250829830765724,
0.002080185106024146,
0.004539817571640015,
-0.0077425348572432995,
0.04426886886358261,
0.04300404340028763,
0.02110450528562069,
-0.004499162547290325,
0.02119484916329384,
-0.025404909625649452,
0.01882782019674778,
-0.008180705830454826,
0.0449916273355484,
0.04683465510606766,
-0.08477939665317535,
0.008682118728756905,
0.020526299253106117,
0.038812052458524704,
-0.011862250044941902,
-0.035107921808958054,
0.03548736870288849,
0.03920957073569298,
0.009847564622759819,
0.03532474860548973,
0.007539259269833565,
-0.03003055416047573,
-0.043220870196819305,
0.040257565677165985,
0.05706166848540306,
-0.035053715109825134,
-0.03136765584349632,
0.007945810444653034,
0.019695129245519638,
0.014039555564522743,
-0.0589408352971077,
-0.019243406131863594,
-0.021628504619002342,
-0.025928908959031105,
0.0048921615816652775,
-0.02556752972304821,
-0.010687769390642643,
-0.009151911363005638
]
|
44,040 | jsons.deserializers.default_time | default_time_deserializer |
Deserialize a string with an RFC3339 pattern to a time instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.time`` instance.
| def default_time_deserializer(obj: str,
cls: type = time,
**kwargs) -> time:
"""
Deserialize a string with an RFC3339 pattern to a time instance.
:param obj: the string that is to be deserialized.
:param cls: not used.
:param kwargs: not used.
:return: a ``datetime.time`` instance.
"""
return get_datetime_inst(obj, RFC3339_TIME_PATTERN).time()
| (obj: str, cls: type = <class 'datetime.time'>, **kwargs) -> datetime.time | [
0.07340583950281143,
0.013635089620947838,
0.030913418158888817,
0.012904638424515724,
-0.02808179147541523,
-0.05904931575059891,
0.05493714660406113,
0.058147527277469635,
-0.024474624544382095,
-0.005343115422874689,
0.012282402254641056,
0.03480915725231171,
-0.03993133455514908,
0.0001999441155930981,
0.05031997337937355,
0.04519779607653618,
-0.11463575065135956,
-0.010000869631767273,
-0.028893403708934784,
-0.020741207525134087,
0.02676517702639103,
-0.0017663843464106321,
-0.03715381771326065,
0.1343308836221695,
0.021733177825808525,
0.0426727794110775,
-0.00803496316075325,
-0.010307478718459606,
-0.05800323933362961,
-0.022202109917998314,
0.02582731284201145,
0.020957637578248978,
-0.021642999723553658,
0.06676865369081497,
-0.01280544139444828,
-0.06839188188314438,
-0.05396321043372154,
0.014158128760755062,
-0.0885198712348938,
-0.0056722695007920265,
0.04205956310033798,
0.052195701748132706,
-0.05511750653386116,
-0.02986733987927437,
0.006366649176925421,
-0.0031923423521220684,
0.04447636380791664,
0.03515183925628662,
-0.06406328082084656,
-0.03314986079931259,
0.024059800431132317,
-0.012390617281198502,
-0.017125023528933525,
0.058941103518009186,
-0.024799270555377007,
-0.02766696736216545,
0.022364431992173195,
0.04274492338299751,
0.027703039348125458,
0.03246450051665306,
-0.015105010010302067,
0.003447098657488823,
-0.0006701439269818366,
0.04072491079568863,
-0.032230034470558167,
-0.027324287220835686,
0.0004455414309632033,
0.0016468969406560063,
-0.00640272069722414,
0.03762274608016014,
0.025592846795916557,
-0.009459794498980045,
-0.0030277655459940434,
0.004342126660048962,
0.058941103518009186,
0.046352092176675797,
0.002617450198158622,
-0.02144460566341877,
0.004279001150280237,
0.07181868702173233,
-0.02212996780872345,
0.05515357851982117,
-0.03177913650870323,
-0.0041324603371322155,
-0.040111690759658813,
0.002076375298202038,
0.0453060120344162,
-0.05966253578662872,
-0.04768674075603485,
-0.021047817543148994,
-0.036540597677230835,
-0.031129848212003708,
-0.0019952140282839537,
0.0389934703707695,
-0.05407142639160156,
-0.039967406541109085,
-0.024997664615511894,
-0.022472647950053215,
0.0075975945219397545,
-0.033907365053892136,
0.011876596137881279,
-0.024041764438152313,
-0.09017916768789291,
-0.010415693745017052,
-0.011046947911381721,
-0.01486152596771717,
0.021679071709513664,
-0.026314280927181244,
0.0005980005953460932,
-0.02413194440305233,
0.020326383411884308,
0.048552460968494415,
-0.038019534200429916,
0.04000347852706909,
0.040075622498989105,
0.021733177825808525,
0.001965905772522092,
0.01069524884223938,
-0.006452319212257862,
-0.021408533677458763,
-0.02139049768447876,
0.04256456717848778,
-0.030119841918349266,
-0.0006216726033017039,
0.01683644950389862,
0.010091048665344715,
-0.017314400523900986,
-0.03466486930847168,
0.08476841449737549,
0.012074990198016167,
0.01834244281053543,
0.05764252319931984,
-0.036901313811540604,
-0.0023717121221125126,
0.012074990198016167,
0.05912145972251892,
0.03471897915005684,
0.030733060091733932,
-0.01069524884223938,
0.01617814227938652,
0.039065614342689514,
-0.004384961910545826,
0.04765067249536514,
-0.04873282089829445,
0.003271249122917652,
0.026584817096590996,
-0.026566781103610992,
0.006718347780406475,
-0.06042004004120827,
0.05143819749355316,
0.001565735787153244,
0.010686230845749378,
0.01285954937338829,
0.0516185536980629,
-0.0172512736171484,
-0.039606690406799316,
-0.04379100352525711,
-0.01504188496619463,
0.014329468831419945,
-0.02580927684903145,
-0.0014056677464395761,
0.01478036493062973,
0.043971359729766846,
-0.07502906769514084,
0.07134975492954254,
0.056307870894670486,
0.011759363114833832,
-0.011551951058208942,
-0.0010894769802689552,
-0.012742316350340843,
-0.047867100685834885,
-0.03224806860089302,
-0.03273503854870796,
-0.005329588428139687,
0.047867100685834885,
0.0006971976836211979,
-0.006005932576954365,
0.026999641209840775,
0.06821151822805405,
0.029488587751984596,
0.021192103624343872,
0.004116679076105356,
0.025935526937246323,
-0.004842621274292469,
-0.004720879253000021,
0.012129097245633602,
0.0022093895822763443,
0.012787405401468277,
-0.05356642231345177,
0.0035440411884337664,
-0.002723410725593567,
0.012706244364380836,
-0.02297765202820301,
0.051762841641902924,
0.02254479192197323,
0.05753430724143982,
0.005325079895555973,
-0.023753192275762558,
0.002603923436254263,
0.03397950902581215,
-0.035909343510866165,
0.03419594094157219,
0.026476603001356125,
-0.042384207248687744,
0.0013865046203136444,
-0.034755051136016846,
0.048877108842134476,
0.025376416742801666,
-0.026783211156725883,
0.004486413672566414,
-0.02918197773396969,
-0.03239235654473305,
-0.0064883907325565815,
0.04548637196421623,
0.03194145858287811,
-0.016529841348528862,
-0.07676050812005997,
0.023843370378017426,
0.04166277498006821,
0.01343669556081295,
0.018252262845635414,
0.007759917061775923,
-0.08909701555967331,
-0.005198828876018524,
0.0400395505130291,
0.01301285345107317,
-0.03641434758901596,
-0.06211540848016739,
-0.06449613720178604,
-0.06694900989532471,
0.033384326845407486,
-0.06781473010778427,
-0.007309021428227425,
-0.0016931138234212995,
0.024149980396032333,
0.07207118719816208,
0.03515183925628662,
-0.00496436282992363,
-0.007277458440512419,
-0.07777050882577896,
0.021642999723553658,
-0.013445713557302952,
-0.052664633840322495,
-0.034484513103961945,
0.024168016389012337,
0.04909353703260422,
0.0006149091641418636,
0.014266343787312508,
-0.06947402656078339,
-0.039606690406799316,
0.03304164484143257,
0.06276469677686691,
0.030498594045639038,
-0.01719716750085354,
-0.027739111334085464,
-0.030570736154913902,
0.021787285804748535,
0.000027670208510244265,
0.0070204478688538074,
-0.0154116190969944,
-0.005555036477744579,
-0.0004866856907028705,
-0.024276230484247208,
0.023067830130457878,
0.0021395005751401186,
-0.027739111334085464,
-0.038380254060029984,
0.050716761499643326,
-0.015285368077456951,
-0.03434022516012192,
0.06597507745027542,
-0.07437977194786072,
0.01090266089886427,
-0.008350590243935585,
-0.05248427391052246,
-0.03060680814087391,
-0.064279705286026,
-0.014636078849434853,
0.023067830130457878,
-0.01090266089886427,
-0.07344191521406174,
0.013662143610417843,
0.07001510262489319,
-0.06355827301740646,
0.02270711399614811,
0.017837438732385635,
0.02508784458041191,
-0.01427536178380251,
-0.06337791681289673,
0.01815306581556797,
-0.037117745727300644,
-0.07437977194786072,
-0.02577320486307144,
-0.02166103571653366,
0.036288097500801086,
0.0019692874047905207,
-0.03397950902581215,
-0.04379100352525711,
0.0025678516831249,
-0.04653244838118553,
-0.042023491114377975,
0.04642423242330551,
-0.03293343260884285,
0.017702169716358185,
0.018306370824575424,
0.021156031638383865,
-0.0453060120344162,
-0.04350242763757706,
-0.0011249850504100323,
-0.02582731284201145,
-0.03141842037439346,
-0.010668194852769375,
-0.0360897034406662,
0.01504188496619463,
0.015150099992752075,
0.09602277725934982,
0.024763198569417,
0.02487141452729702,
-0.020632993429899216,
0.03993133455514908,
-0.021011745557188988,
0.047975316643714905,
-0.017693152651190758,
0.01782842166721821,
0.03324003890156746,
-0.08137767761945724,
-0.056307870894670486,
0.024420518428087234,
-0.03598148748278618,
0.015050902962684631,
-0.020308347418904305,
-0.06680472195148468,
0.0268733911216259,
-0.04667673632502556,
0.0006864888709969819,
-0.012453742325305939,
0.006118656136095524,
0.0010917314793914557,
0.02454676851630211,
0.03762274608016014,
0.05158248171210289,
0.0029691490344703197,
0.005316061899065971,
0.026891427114605904,
0.004337617661803961,
0.03924597427248955,
0.023266224190592766,
0.013445713557302952,
0.03296950086951256,
0.007633666507899761,
-0.0426727794110775,
-0.07207118719816208,
-0.012273384258151054,
-0.01525831501930952,
-0.024853378534317017,
-0.019045839086174965,
0.04664066433906555,
0.021264247596263885,
0.0015172644052654505,
-0.06395506113767624,
-0.060888972133398056,
0.009676224552094936,
-0.0063441041857004166,
-0.051871053874492645,
0.027468573302030563,
-0.02371712028980255,
0.04873282089829445,
-0.012769369408488274,
0.05684894695878029,
-0.06803116202354431,
-0.046965308487415314,
0.021462641656398773,
0.0015736264176666737,
-0.032230034470558167,
0.04714566841721535,
-0.00011998056288575754,
0.018955660983920097,
0.060997188091278076,
-0.04361064359545708,
0.006979867350310087,
0.03334825485944748,
0.02333836816251278,
0.030390378087759018,
0.019622987136244774,
0.02791946940124035,
0.012787405401468277,
0.021137995645403862,
0.03668488562107086,
0.022364431992173195,
-0.004001700319349766,
0.011786417104303837,
-0.0189736969769001,
0.011218287982046604,
-0.014239289797842503,
-0.032428428530693054,
0.030841274186968803,
-0.05104140564799309,
0.019803345203399658,
-0.020957637578248978,
0.06038396805524826,
0.030047697946429253,
-0.015195189043879509,
-0.012967763468623161,
0.0268733911216259,
-0.0031337260734289885,
0.08000695705413818,
0.022472647950053215,
-0.013084996491670609,
-0.05555036664009094,
0.0006047640345059335,
0.010244352743029594,
-0.03946240246295929,
0.036919351667165756,
-0.04703745245933533,
0.028208043426275253,
0.017007790505886078,
0.005302534904330969,
0.06503721326589584,
-0.008715815842151642,
0.029163941740989685,
-0.030841274186968803,
0.027107857167720795,
0.052195701748132706,
0.011182215996086597,
0.033799152821302414,
0.043285999447107315,
0.019586915150284767,
-0.03008376993238926,
0.026963571086525917,
0.013427677564322948,
-0.0035327686928212643,
-0.009937743656337261,
-0.004155004862695932,
-0.02034441940486431,
0.053927142173051834,
0.004319582134485245,
-0.012291420251131058,
-0.014789382927119732,
-0.029001619666814804,
-0.01588055118918419,
0.010758374817669392,
0.0021338644437491894,
-0.02892947569489479,
0.018225209787487984,
-0.00022291162167675793,
-0.008851084858179092,
-0.046352092176675797,
0.07106117904186249,
0.026061778888106346,
0.01506893802434206,
0.003541786689311266,
0.02972305193543434,
-0.021264247596263885,
0.015005812980234623,
0.035440411418676376,
-0.07282869517803192,
0.06352220475673676,
0.03076913021504879,
0.026891427114605904,
-0.04779495671391487,
-0.030534666031599045,
0.024618912488222122,
0.017215203493833542,
-0.04949032515287399,
-0.00427674688398838,
0.05601929873228073,
-0.0432138554751873,
-0.0034200449008494616,
-0.053241778165102005,
-0.021156031638383865,
-0.037694890052080154,
0.03066091611981392,
-0.016349483281373978,
-0.009522919543087482,
-0.020669065415859222,
0.0038303600158542395,
0.036811135709285736,
0.005325079895555973,
0.00015710901061538607,
0.004197840113192797,
0.06730972975492477,
0.02651267498731613,
0.029524657875299454,
-0.011479808017611504,
0.021083889529109,
0.022039787843823433,
-0.02243657596409321,
0.013635089620947838,
0.02824411354959011,
0.02122817561030388,
-0.04079705476760864,
0.03461076319217682,
-0.03661274164915085,
0.04826388880610466,
-0.0035756039433181286,
-0.0008555748499929905,
-0.0005131757934577763,
-0.0007631412008777261,
-0.010397657752037048,
-0.00833706371486187,
0.009712295606732368,
0.055189650505781174,
0.00538820493966341,
0.008765415288507938,
-0.023897478356957436,
-0.04018383473157883,
-0.0700511783361435,
-0.0025768696796149015,
0.03989526256918907,
0.010000869631767273,
-0.03397950902581215,
-0.032139852643013,
0.009838546626269817,
0.004937309306114912,
-0.028640903532505035,
0.006398211698979139,
0.07575049996376038,
-0.06446006894111633,
-0.010136137716472149,
-0.00839117169380188,
-0.014185182750225067,
0.023049794137477875,
0.014383576810359955,
0.012065972201526165,
0.01588055118918419,
0.0084317522123456,
-0.04361064359545708,
-0.022671042010188103,
0.06839188188314438,
0.010370603762567043,
0.10872000455856323,
-0.02155281975865364,
-0.0005190938245505095,
-0.002043685410171747,
0.06157433241605759,
0.007980856113135815,
-0.0368652418255806,
-0.010514890775084496,
-0.02180532179772854,
-0.05331392213702202,
-0.026837319135665894,
-0.0410856269299984,
0.0006532352999784052,
0.022562827914953232,
-0.05493714660406113,
-0.01689055748283863,
0.04104955494403839,
0.059410035610198975,
-0.05064461752772331,
0.0489853210747242,
0.030047697946429253,
-0.0537467822432518,
-0.0172512736171484,
0.026674997061491013,
-0.07052011042833328,
-0.014013842679560184,
-0.025069808587431908,
0.016529841348528862,
0.018793337047100067,
-0.01708895154297352,
-0.019532807171344757,
0.04829996079206467,
0.05778680741786957,
0.10006280243396759,
-0.03910168632864952,
-0.0355846993625164,
-0.03313182666897774,
0.03603559359908104,
-0.04404350370168686,
0.0627286285161972,
-0.038019534200429916,
0.03277110680937767,
0.08491270244121552,
0.004738915245980024,
-0.02808179147541523,
0.026963571086525917,
-0.011993829160928726,
0.007823042571544647,
0.010433729737997055,
-0.024691054597496986,
0.04000347852706909,
0.02155281975865364,
0.023590870201587677,
-0.09898065030574799,
0.018991732969880104,
-0.060672543942928314,
0.045919232070446014,
-0.0574260912835598,
-0.06568650156259537,
0.005636197980493307,
0.0177923496812582,
0.08181054145097733,
0.031057704240083694,
0.017981724813580513,
0.021264247596263885,
-0.038127750158309937,
0.05183498561382294,
-0.03888525441288948,
0.0005794011522084475,
0.02180532179772854,
-0.015510816127061844,
0.054143570363521576,
0.020218169316649437,
0.035909343510866165,
0.04801138862967491,
-0.026530710980296135,
-0.006889688316732645,
-0.0205428134649992,
0.02791946940124035,
-0.012751334346830845,
0.0263503510504961,
-0.023302296176552773,
0.041121698915958405,
0.031382348388433456,
0.0711333230137825,
-0.018306370824575424,
-0.043394215404987335,
-0.004982398822903633,
-0.025520702823996544,
-0.058508243411779404,
-0.018107976764440536,
0.036161843687295914,
-0.012913656421005726,
0.06294506043195724,
0.027811255306005478,
0.026963571086525917,
-0.03482719510793686,
0.010605069808661938,
-0.04242027923464775,
-0.08931344747543335,
0.013662143610417843,
-0.02207585982978344,
-0.04826388880610466,
-0.034015581011772156,
-0.024673018604516983,
-0.02918197773396969,
-0.05212355777621269,
0.05526179075241089,
-0.021985679864883423,
-0.017377525568008423,
-0.04220384731888771,
0.011128108948469162,
0.0308232381939888,
0.02328426018357277,
-0.064279705286026,
-0.025989634916186333,
0.008535457774996758,
-0.03495344519615173,
0.019099947065114975,
0.05526179075241089,
-0.009667206555604935,
-0.01859494298696518,
0.02561088278889656,
-0.01069524884223938,
-0.0932813286781311,
0.015213225036859512,
0.005739904008805752,
-0.041807059198617935,
0.03260878473520279,
0.02243657596409321,
-0.004860656801611185,
-0.0012332000769674778,
-0.005586599465459585,
0.005072577856481075,
-0.046027444303035736,
-0.03599952161312103,
-0.026332316920161247,
0.0358191654086113,
0.012697226367890835,
-0.004648735746741295,
-0.07066439092159271,
0.0047524417750537395,
0.07070046663284302,
0.009252382442355156,
-0.06247612461447716,
0.027270179241895676,
0.03170699253678322,
-0.026747141033411026,
0.04703745245933533,
0.03773096203804016,
0.0339975468814373,
-0.047506384551525116,
-0.06539793312549591,
0.006213344633579254,
-0.010451764799654484,
0.023572834208607674,
0.008454296737909317,
-0.008246884681284428,
0.04667673632502556,
-0.040544550865888596,
0.031165920197963715,
-0.027883397415280342,
-0.04548637196421623,
-0.03816382214426994,
0.004968871828168631,
-0.03935418650507927,
-0.028857333585619926,
0.05273677408695221,
0.09111703187227249,
-0.008080053143203259,
-0.024222124367952347,
-0.016376536339521408,
0.014753310941159725,
-0.023681048303842545,
0.04220384731888771,
-0.04263670742511749,
-0.06983474642038345,
0.019622987136244774,
0.04025597870349884,
-0.015754299238324165,
-0.004698334261775017,
0.0028722065035253763,
-0.02175121381878853,
0.013626071624457836,
0.00812965165823698,
-0.019893523305654526,
-0.005929280072450638,
0.03466486930847168,
-0.001053405343554914,
0.000722560565918684,
0.005663251504302025,
0.01662001945078373,
-0.007151207886636257,
0.012020882219076157,
0.00872032530605793,
0.026566781103610992,
-0.05944610387086868,
-0.016683146357536316,
0.012958746403455734,
-0.04148241505026817,
0.03147253021597862,
0.03251860663294792,
0.012922674417495728,
-0.019460663199424744,
0.05295320600271225,
0.0020899020601063967,
0.02218407392501831,
-0.00867974478751421,
-0.013184193521738052,
0.063197560608387,
-0.06471256911754608,
0.027955541387200356,
-0.005965351592749357,
0.04119384288787842,
-0.035747021436691284,
-0.024673018604516983,
0.000006261463568080217,
0.05378285422921181,
-0.008188268169760704,
0.03224806860089302,
0.007795988582074642,
-0.07632764428853989,
-0.034755051136016846,
0.02934429980814457,
0.02577320486307144,
-0.03150859847664833,
-0.056885018944740295,
-0.021372461691498756,
0.010316496714949608,
0.02191353775560856,
-0.04757852852344513,
-0.026368387043476105,
0.025376416742801666,
0.010650159791111946,
-0.02772107534110546,
-0.037911321967840195,
-0.009829528629779816,
-0.014600006863474846
]
|
44,041 | jsons.serializers.default_time | default_time_serializer |
Serialize the given time instance to a string. It uses the RFC3339
pattern.
:param obj: the time instance that is to be serialized.
:param kwargs: not used.
:return: ``time`` as an RFC3339 string.
| def default_time_serializer(obj: date, **kwargs) -> str:
"""
Serialize the given time instance to a string. It uses the RFC3339
pattern.
:param obj: the time instance that is to be serialized.
:param kwargs: not used.
:return: ``time`` as an RFC3339 string.
"""
return to_str(obj, False, kwargs['fork_inst'],
RFC3339_TIME_PATTERN)
| (obj: datetime.date, **kwargs) -> str | [
0.05208350345492363,
-0.012885804288089275,
0.03335361182689667,
0.040017131716012955,
-0.024096723645925522,
-0.06454608589410782,
0.01122892927378416,
0.022259755060076714,
-0.01424552220851183,
-0.02987777814269066,
0.028004787862300873,
-0.007600013166666031,
-0.03904461860656738,
-0.03466830775141716,
0.029805738478899002,
0.014488650485873222,
-0.08975940197706223,
-0.05665791779756546,
-0.015200026333332062,
0.011679166927933693,
0.0376758947968483,
-0.013867322355508804,
-0.02614980936050415,
0.06897642463445663,
0.010526558384299278,
0.06224086880683899,
-0.011156891472637653,
0.0024222792126238346,
-0.05611763522028923,
0.005627972073853016,
0.022169707342982292,
-0.0006669146823696792,
-0.027644598856568336,
0.02447492443025112,
0.019378233700990677,
-0.015803344547748566,
-0.08320393413305283,
0.04048537835478783,
-0.1486865133047104,
-0.013047889806330204,
0.08305986225605011,
0.04516785219311714,
-0.06123233586549759,
-0.049922361969947815,
-0.012390542775392532,
0.0033857878297567368,
0.061376411467790604,
0.10373477637767792,
-0.004727496299892664,
-0.020746955648064613,
0.0399450920522213,
-0.030111901462078094,
-0.011147886514663696,
0.051975447684526443,
-0.07398306578397751,
-0.015227041207253933,
0.03807210549712181,
0.022043639793992043,
0.018063537776470184,
0.01137300580739975,
-0.023358333855867386,
0.020116623491048813,
0.06029583886265755,
0.03814414143562317,
-0.0533081516623497,
-0.0009106058278121054,
-0.030075881630182266,
-0.007230818271636963,
0.01091376319527626,
0.03306546062231064,
0.051651276648044586,
-0.028346968814730644,
0.0003995860170107335,
0.03259721398353577,
0.007383899297565222,
0.03908063843846321,
-0.03063417598605156,
-0.00784764438867569,
-0.023232268169522285,
0.021503355354070663,
-0.005745033733546734,
-0.007190296892076731,
-0.07679255306720734,
0.014668745920062065,
-0.013056894764304161,
-0.027968769893050194,
0.024348856881260872,
-0.03513655439019203,
-0.03803608566522598,
-0.03789201006293297,
-0.024186771363019943,
0.005501905456185341,
0.03890054300427437,
0.07448733597993851,
-0.045600078999996185,
-0.022403830662369728,
-0.020656907930970192,
-0.04192613810300827,
-0.023232268169522285,
-0.024564972147345543,
0.01637064479291439,
-0.039981111884117126,
-0.11634143441915512,
-0.013948366045951843,
-0.0103014400228858,
0.0026519002858549356,
0.009725135751068592,
-0.01883794739842415,
-0.004750008229166269,
-0.008293379098176956,
-0.029985833913087845,
0.04830150678753853,
-0.039260733872652054,
-0.010355467908084393,
0.03781997039914131,
0.023196248337626457,
0.0009550668182782829,
0.021935584023594856,
0.03344365954399109,
-0.0341460295021534,
-0.015308083966374397,
0.03347967937588692,
-0.002874768106266856,
-0.04369107261300087,
-0.00990523025393486,
0.007163282483816147,
-0.013426089659333229,
0.02283605933189392,
0.0530560165643692,
-0.013020875863730907,
0.01616353541612625,
0.05943138524889946,
-0.051975447684526443,
0.006442902144044638,
0.04415931925177574,
0.011409024707973003,
0.01686590537428856,
0.04134983569383621,
-0.006505935452878475,
0.08176317811012268,
0.023142220452427864,
-0.031714748591184616,
0.0232502780854702,
0.00963508803397417,
0.030814271420240402,
0.028184883296489716,
-0.02694222703576088,
-0.007550487294793129,
-0.055217158049345016,
0.0323270708322525,
0.07196599990129471,
0.026600046083331108,
-0.02312421053647995,
0.02962564490735531,
-0.009869211353361607,
-0.0386844277381897,
-0.008239351212978363,
-0.04808539152145386,
0.026365922763943672,
-0.019918518140912056,
-0.005357829388231039,
-0.004506879951804876,
0.041241779923439026,
-0.08651768416166306,
0.04606832563877106,
0.06368162482976913,
0.0015792088815942407,
-0.0036942006554454565,
0.038216181099414825,
0.007780108600854874,
-0.04646453633904457,
-0.05334416776895523,
-0.05799062177538872,
0.008410441689193249,
0.05518113821744919,
0.025213314220309258,
-0.007329870481044054,
0.01867586188018322,
0.009725135751068592,
0.03088630922138691,
0.027500521391630173,
-0.006848116405308247,
0.02186354622244835,
0.03021995723247528,
-0.020584870129823685,
-0.003129152348265052,
-0.0046081836335361,
-0.021053116768598557,
-0.019252166152000427,
0.01645168662071228,
0.03328157588839531,
0.04325884208083153,
-0.015344102866947651,
0.03319152817130089,
0.024619000032544136,
0.01679386757314205,
0.021089136600494385,
-0.07751293480396271,
-0.013020875863730907,
0.006271812133491039,
-0.020638898015022278,
0.035316649824380875,
0.015641259029507637,
-0.07527974992990494,
0.03596499189734459,
-0.0015589481918141246,
0.031030386686325073,
0.01782941445708275,
-0.015893392264842987,
-0.0024447909090667963,
0.012228457257151604,
-0.053956493735313416,
-0.026672083884477615,
0.03160668909549713,
0.020764965564012527,
-0.006109726149588823,
-0.04768918454647064,
0.004518135916441679,
-0.01687491126358509,
0.009788168594241142,
-0.002859009662643075,
-0.0017232849495485425,
-0.08305986225605011,
-0.04239438846707344,
-0.004437093157321215,
0.01250760443508625,
0.021845536306500435,
-0.07909777015447617,
-0.02211567759513855,
-0.09364945441484451,
0.018909985199570656,
-0.04999440163373947,
-0.05741431936621666,
-0.0005546366446651518,
-0.026491990312933922,
0.07128164172172546,
0.005564938765019178,
-0.04772520065307617,
-0.006767073646187782,
-0.07592809200286865,
0.015632255002856255,
-0.004966122563928366,
-0.01569528877735138,
-0.05107497051358223,
0.0693005919456482,
0.01754126325249672,
0.008824659511446953,
0.017649319022893906,
-0.07041718810796738,
-0.019360223785042763,
0.04037732258439064,
0.012849785387516022,
-0.003809011308476329,
-0.0255194753408432,
-0.013966375030577183,
-0.0515432171523571,
0.02312421053647995,
0.03299342095851898,
0.011706181801855564,
0.01055357325822115,
-0.021143164485692978,
0.00037144613452255726,
-0.06443803012371063,
-0.013543151319026947,
0.03567684069275856,
-0.02912137843668461,
-0.05795460194349289,
0.010778691619634628,
-0.04235836863517761,
-0.015443154610693455,
0.07048922032117844,
-0.0803944543004036,
-0.0013540900545194745,
-0.00048344279639422894,
-0.07448733597993851,
-0.039801016449928284,
-0.09163238853216171,
-0.012435566633939743,
-0.013372060842812061,
0.0066229975782334805,
-0.05799062177538872,
0.0012674193130806088,
0.05878303945064545,
-0.046320460736751556,
-0.00006169664266053587,
-0.024114733561873436,
0.012021347880363464,
0.026996254920959473,
-0.040737513452768326,
0.0004710612411145121,
-0.013741256669163704,
0.004862567875534296,
-0.02921142615377903,
-0.045095812529325485,
-0.004745505750179291,
-0.01750524342060089,
0.032381098717451096,
-0.034938450902700424,
0.017685338854789734,
-0.021719468757510185,
-0.02505122870206833,
0.06306930631399155,
0.021431317552924156,
-0.008392431773245335,
-0.009117314592003822,
0.02627587504684925,
-0.015398130752146244,
-0.03735172376036644,
-0.015668272972106934,
-0.010022292844951153,
-0.0401972271502018,
-0.01927017606794834,
0.00504716532304883,
0.03203891962766647,
0.013038885779678822,
0.07672051340341568,
0.023556439206004143,
0.002568606287240982,
0.017694342881441116,
0.062420960515737534,
-0.0243848767131567,
0.044087279587984085,
-0.013020875863730907,
0.023070182651281357,
0.0414578914642334,
-0.08269967138767242,
-0.037423763424158096,
0.029139386489987373,
-0.004288514610379934,
0.0633934736251831,
-0.010193382389843464,
-0.06638305634260178,
0.03315550833940506,
0.00445960508659482,
-0.029481567442417145,
0.027896732091903687,
0.019450271502137184,
0.00252808490768075,
-0.029787730425596237,
0.03663134202361107,
0.059323325753211975,
0.020873021334409714,
-0.0269062090665102,
0.025699570775032043,
-0.024096723645925522,
0.03789201006293297,
0.015857374295592308,
0.03416404128074646,
0.008198829367756844,
0.020764965564012527,
-0.045131832361221313,
-0.002687919419258833,
-0.010427506640553474,
-0.0001402772031724453,
-0.0444834902882576,
-0.00029321733745746315,
0.059827592223882675,
0.023268288001418114,
-0.022565916180610657,
-0.022259755060076714,
-0.04668065160512924,
-0.003090882208198309,
0.03110242448747158,
-0.06152048707008362,
0.07016505300998688,
-0.0016985218971967697,
0.0681840032339096,
-0.00931992195546627,
0.07499159872531891,
-0.06634703278541565,
-0.06551859527826309,
-0.003151664277538657,
0.0062763141468167305,
-0.06569869071245193,
0.032921385020017624,
0.05085885524749756,
0.002951308386400342,
0.04351097717881203,
-0.05773849040269852,
-0.041529931128025055,
0.019900508224964142,
0.00927489809691906,
0.0565858818590641,
0.018783919513225555,
0.008928214199841022,
0.03139057755470276,
0.05748635530471802,
0.022944115102291107,
0.03180479630827904,
-0.016604768112301826,
-0.009473002515733242,
-0.05698208883404732,
0.014461636543273926,
-0.0031809296924620867,
-0.06202475354075432,
-0.013597180135548115,
-0.007059727795422077,
0.0363612025976181,
-0.04477164149284363,
0.04729297384619713,
0.05175933241844177,
-0.031912852078676224,
-0.000512145459651947,
-0.019198138266801834,
0.0020981079433113337,
0.05817071720957756,
0.0068075950257480145,
-0.004948113113641739,
-0.02874317765235901,
0.007964706048369408,
-0.03160668909549713,
-0.06915652006864548,
-0.01724410615861416,
-0.035478733479976654,
0.039476845413446426,
0.026347912847995758,
0.010148358531296253,
0.03839627653360367,
0.022187717258930206,
0.009436983615159988,
-0.015524197369813919,
0.050174497067928314,
0.034974467009305954,
0.06144844740629196,
0.03574887663125992,
0.008698593825101852,
0.036451250314712524,
-0.011273953132331371,
0.03411001339554787,
0.04657259210944176,
0.03101237677037716,
0.000686612562276423,
-0.02404269576072693,
0.008360914885997772,
0.060367878526449203,
0.003982353024184704,
0.035946983844041824,
-0.026041751727461815,
-0.04830150678753853,
0.017568277195096016,
0.022025631740689278,
-0.001356341177597642,
-0.009247883222997189,
0.0024853122886270285,
0.014407607726752758,
0.05363232269883156,
-0.06418589502573013,
0.0558294802904129,
0.032417118549346924,
0.02757255919277668,
0.03614508733153343,
-0.00893721915781498,
-0.031750764697790146,
-0.006510437931865454,
0.0017615552060306072,
-0.08803048729896545,
0.07239823043346405,
-0.0004488307749852538,
0.011093858629465103,
-0.051147010177373886,
-0.0031269011087715626,
0.006573471240699291,
0.01510997861623764,
-0.0046149371191859245,
0.010337458923459053,
0.030201949179172516,
-0.0371716283261776,
-0.004961620084941387,
-0.06487025320529938,
-0.012381537817418575,
0.026455970481038094,
0.05366833880543709,
-0.04873373359441757,
-0.020242689177393913,
0.02334032580256462,
0.03407399356365204,
-0.008081767708063126,
-0.02195359207689762,
-0.015938416123390198,
-0.011409024707973003,
-0.015425145626068115,
-0.00017432642925996333,
0.030328014865517616,
0.02467302978038788,
0.01590239815413952,
0.004175954964011908,
-0.005267781671136618,
0.016316616907715797,
0.021539373323321342,
0.02962564490735531,
-0.012282486073672771,
0.03088630922138691,
-0.06854419410228729,
0.0409536249935627,
0.0004631820775102824,
0.02849104441702366,
-0.03382185846567154,
-0.012471585534512997,
-0.045816194266080856,
0.001976543804630637,
-0.01214741449803114,
0.05485696718096733,
0.025411419570446014,
0.02962564490735531,
-0.0077981180511415005,
-0.0233763437718153,
-0.05460483580827713,
-0.003374531865119934,
0.029661662876605988,
0.026870189234614372,
0.009049778804183006,
-0.046392496675252914,
0.012633671052753925,
0.0030165929347276688,
-0.02627587504684925,
0.00439432030543685,
0.053704358637332916,
-0.05082283914089203,
-0.015839364379644394,
-0.044843681156635284,
-0.0058395834639668465,
0.031588681042194366,
0.018477756530046463,
0.007455937098711729,
0.03148062527179718,
0.0002284956572111696,
-0.04243040457367897,
0.0010085325920954347,
0.0039846040308475494,
0.07383899390697479,
0.07520771771669388,
0.00893721915781498,
-0.005830578971654177,
0.03411001339554787,
0.02614980936050415,
0.06778779625892639,
-0.04210623353719711,
-0.020638898015022278,
0.03474034368991852,
-0.05258776992559433,
-0.025861656293272972,
-0.038972578942775726,
0.023142220452427864,
-0.018243633210659027,
-0.0409536249935627,
0.003210195107385516,
0.03954888507723808,
0.04225030913949013,
0.003831523237749934,
0.01716306246817112,
0.013966375030577183,
-0.03778395056724548,
0.016100501641631126,
0.05316407233476639,
-0.0505346842110157,
0.0046464535407722,
-0.007663046475499868,
0.01993652805685997,
0.018531786277890205,
-0.003347517689689994,
-0.017694342881441116,
0.09156034886837006,
0.08961532264947891,
0.04315078631043434,
-0.03337162360548973,
0.0017457968788221478,
-0.003460077103227377,
0.0351545624434948,
-0.02472705766558647,
0.061592523008584976,
-0.03760385885834694,
0.009454992599785328,
0.0686882734298706,
0.009054280817508698,
-0.041529931128025055,
0.03398394584655762,
0.005911621730774641,
0.043835148215293884,
-0.01867586188018322,
0.00021203384676482528,
0.01009433064609766,
0.003579390235245228,
0.03252517431974411,
-0.10870540142059326,
0.0368654690682888,
-0.024456914514303207,
0.02542942762374878,
-0.031120434403419495,
-0.04873373359441757,
-0.0114360386505723,
-0.023934638127684593,
0.036325182765722275,
0.02312421053647995,
0.0195943471044302,
0.061124276369810104,
-0.03513655439019203,
0.024204781278967857,
-0.0452398881316185,
0.039476845413446426,
0.00699669448658824,
0.014821826480329037,
0.0323270708322525,
0.03088630922138691,
0.048373542726039886,
0.011057838797569275,
-0.02195359207689762,
-0.018531786277890205,
0.008761626668274403,
0.018153585493564606,
0.02883322536945343,
-0.01040949672460556,
0.034308116883039474,
0.03567684069275856,
-0.003968845587223768,
0.037495799362659454,
-0.019540319219231606,
-0.04401524364948273,
0.017775386571884155,
-0.021539373323321342,
-0.07311861217021942,
-0.009036271832883358,
0.056297726929187775,
-0.03702755272388458,
0.02098107896745205,
0.0029760715551674366,
0.020764965564012527,
-0.010382482782006264,
-0.0018774914788082242,
-0.010445515625178814,
-0.1081290990114212,
0.02858109213411808,
-0.012975852005183697,
-0.033641766756772995,
-0.032795317471027374,
-0.022926107048988342,
-0.05208350345492363,
-0.04300671070814133,
0.03432612493634224,
-0.04415931925177574,
-0.004722993820905685,
-0.028058817610144615,
-0.008392431773245335,
0.002872516866773367,
-0.016343630850315094,
-0.04696880280971527,
0.011742200702428818,
-0.0135791702196002,
-0.06245698034763336,
-0.0008661448955535889,
0.01977444253861904,
-0.02148534543812275,
-0.06285318732261658,
0.0170730147510767,
-0.0017649319488555193,
-0.0654105395078659,
0.05896313488483429,
0.001915761618874967,
-0.03609105944633484,
0.022421840578317642,
0.0018020765855908394,
-0.006686030421406031,
-0.01981046050786972,
-0.022043639793992043,
-0.02656402811408043,
-0.028058817610144615,
-0.021287240087985992,
-0.05698208883404732,
0.015524197369813919,
0.008441957645118237,
-0.0012606657110154629,
-0.06631101667881012,
0.00845996756106615,
0.08478877693414688,
-0.013417084701359272,
-0.05611763522028923,
0.05175933241844177,
0.005069677252322435,
0.03234507888555527,
0.02517729438841343,
-0.032092947512865067,
0.0543166808784008,
-0.04974226653575897,
-0.040233246982097626,
0.02782469242811203,
-0.024150753393769264,
0.021593403071165085,
-0.01034646388143301,
0.009761154651641846,
0.04138585552573204,
-0.008752621710300446,
0.027338435873389244,
-0.07405510544776917,
-0.053452227264642715,
-0.044555529952049255,
0.03448821231722832,
-0.03423607721924782,
-0.025861656293272972,
0.06555461883544922,
0.0442313551902771,
-0.019234156236052513,
-0.007572999224066734,
0.010931773111224174,
0.047401029616594315,
0.008748119696974754,
0.036829449236392975,
-0.04477164149284363,
-0.023772552609443665,
-0.0032934891059994698,
0.07729681581258774,
-0.024619000032544136,
0.014650736935436726,
0.0341460295021534,
0.001492538140155375,
-0.0019348966889083385,
-0.01901804283261299,
-0.03365977481007576,
0.005591952707618475,
0.03785599023103714,
0.015443154610693455,
-0.0011897532967850566,
-0.007455937098711729,
0.021611412987113,
-0.003950836136937141,
-0.035982999950647354,
0.016586758196353912,
0.036703381687402725,
-0.038252200931310654,
-0.013282014057040215,
0.007046220824122429,
-0.02463700994849205,
0.034902431070804596,
0.0449877567589283,
0.011544096283614635,
-0.03886452317237854,
0.09595467150211334,
0.030814271420240402,
0.02946355938911438,
-0.022385820746421814,
-0.01766732893884182,
0.04055741801857948,
-0.04462756589055061,
0.03533465787768364,
-0.0170730147510767,
0.02397065795958042,
0.02627587504684925,
-0.01449765544384718,
0.0074289231561124325,
0.0340920016169548,
-0.011057838797569275,
0.022277764976024628,
0.036919496953487396,
-0.061088260263204575,
-0.04653657600283623,
-0.01750524342060089,
0.03311948850750923,
-0.015037940815091133,
-0.07135368138551712,
0.02665407583117485,
0.01645168662071228,
0.00632584048435092,
-0.0449877567589283,
-0.03990907594561577,
0.021629421040415764,
0.0028319954872131348,
0.009725135751068592,
0.0033407642040401697,
-0.03526262193918228,
-0.022421840578317642
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.