index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
sequencelengths 768
768
|
---|---|---|---|---|---|---|
18,296 | yarl._url | update_query | Return a new URL with query part updated. | def update_query(self, *args, **kwargs):
"""Return a new URL with query part updated."""
s = self._get_str_query(*args, **kwargs)
query = None
if s is not None:
new_query = MultiDict(parse_qsl(s, keep_blank_values=True))
query = MultiDict(self.query)
query.update(new_query)
return URL(
self._val._replace(query=self._get_str_query(query) or ""), encoded=True
)
| (self, *args, **kwargs) | [
-0.018904272466897964,
-0.027149183675646782,
-0.03628833591938019,
0.024734729900956154,
-0.0410635843873024,
0.01651664637029171,
-0.04342438280582428,
-0.009470021352171898,
0.03619891032576561,
0.01988793909549713,
-0.018403496593236923,
-0.007896156050264835,
-0.01795637607574463,
0.07325629144906998,
0.044747862964868546,
0.00819125585258007,
-0.01064147800207138,
-0.0017571852076798677,
0.038667019456624985,
0.007507160305976868,
-0.015032205730676651,
-0.002479285467416048,
0.0007030976703390479,
0.06774776428937912,
0.043352846056222916,
-0.02264220453798771,
0.022266622632741928,
-0.06102306395769119,
-0.012313710525631905,
-0.016802804544568062,
0.0958627238869667,
0.012877082452178001,
0.010364263318479061,
0.010104932822287083,
0.035876981914043427,
-0.02112199179828167,
0.0020466961432248354,
0.007100280374288559,
-0.022534895688295364,
-0.019494472071528435,
-0.04710866138339043,
-0.0416359007358551,
-0.014459891244769096,
-0.000051942875870736316,
0.10895442962646484,
0.03358772397041321,
-0.04689404368400574,
0.010569938458502293,
-0.01960178092122078,
0.030439993366599083,
0.04410400986671448,
0.03788008540868759,
-0.006223923526704311,
-0.01791166514158249,
-0.02339336648583412,
-0.005960121750831604,
-0.02884824201464653,
0.0490044541656971,
0.06005728244781494,
-0.013494109734892845,
0.05583646148443222,
-0.026576867327094078,
0.0018220178317278624,
0.025396468117833138,
-0.04385362192988396,
-0.00821361131966114,
-0.0015000907005742192,
0.010373205877840519,
-0.0053430949337780476,
0.02698821946978569,
-0.01935139298439026,
-0.01926196925342083,
-0.04117089509963989,
-0.04439016431570053,
-0.010355320759117603,
0.048718295991420746,
-0.04249437153339386,
0.034535620361566544,
-0.022534895688295364,
0.013190067373216152,
0.019154660403728485,
-0.003811705857515335,
0.007735191844403744,
-0.05411951616406441,
-0.06595928221940994,
-0.039811648428440094,
0.0008992719813250005,
-0.0133868008852005,
0.004220821429044008,
0.002953233662992716,
0.005374393425881863,
-0.006563735194504261,
-0.016293086111545563,
-0.04596403241157532,
0.06595928221940994,
-0.01437940914183855,
-0.0014866770943626761,
-0.07354245334863663,
0.0053788647055625916,
-0.04578518494963646,
0.003279631957411766,
-0.013503052294254303,
-0.0031186684500426054,
-0.040276654064655304,
0.009237518534064293,
-0.03784431517124176,
0.030010756105184555,
-0.09765121340751648,
-0.019083121791481972,
-0.017249925062060356,
-0.003371291793882847,
-0.01947658695280552,
-0.050327930599451065,
0.022660087794065475,
-0.01664184033870697,
0.05122217535972595,
-0.015264708548784256,
-0.02437703311443329,
0.08663415163755417,
-0.020853720605373383,
-0.06095152348279953,
0.06460002809762955,
-0.021229302510619164,
0.007453505881130695,
0.027220722287893295,
0.038166243582963943,
-0.029492096975445747,
-0.0134136276319623,
0.03095865249633789,
-0.0509360171854496,
-0.013887575827538967,
0.02664840780198574,
-0.017714930698275566,
-0.00331540172919631,
0.03328368067741394,
0.010283781215548515,
-0.023160863667726517,
-0.018779078498482704,
0.010256954468786716,
0.08119715750217438,
-0.043531693518161774,
0.015863850712776184,
0.0017627743072807789,
-0.02716706693172455,
-0.03058307245373726,
0.005405691917985678,
0.004797607660293579,
0.03582333028316498,
0.007493746932595968,
-0.009630984626710415,
0.042852070182561874,
-0.030636725947260857,
0.05136525258421898,
0.00457181129604578,
0.016355684027075768,
0.005490644834935665,
0.020048903301358223,
-0.07697633653879166,
0.030082296580076218,
0.011437353678047657,
0.0648861899971962,
-0.0172409825026989,
0.04049127176403999,
-0.024573765695095062,
-0.025289159268140793,
0.000975841423496604,
0.05794687196612358,
-0.04878983646631241,
-0.015175283886492252,
0.03467869758605957,
0.04782405495643616,
0.043352846056222916,
-0.050363700836896896,
0.02643379010260105,
-0.03358772397041321,
0.041278205811977386,
0.005352037493139505,
0.01490701176226139,
0.030994422733783722,
-0.026076093316078186,
-0.017097903415560722,
-0.028705162927508354,
0.008410344831645489,
0.042601682245731354,
0.05333258584141731,
-0.016954826191067696,
-0.06796237826347351,
0.018269361928105354,
-0.020871605724096298,
0.00952367577701807,
-0.02006678655743599,
-0.06098729372024536,
-0.009255403652787209,
0.0007237769896164536,
-0.025736279785633087,
-0.019226199015975,
-0.015568750910460949,
0.008361161686480045,
0.04528440907597542,
0.12097303569316864,
-0.014325754716992378,
0.012662464752793312,
-0.014450948685407639,
-0.014880184084177017,
-0.008115245029330254,
-0.06842738389968872,
0.03324791043996811,
-0.03612736985087395,
0.02748899534344673,
-0.033641379326581955,
-0.011786107905209064,
0.034786008298397064,
0.0017527140444144607,
-0.02822227217257023,
-0.013279492035508156,
0.02822227217257023,
-0.017410889267921448,
0.04510555788874626,
0.020048903301358223,
-0.004325895104557276,
0.037701237946748734,
-0.028919782489538193,
0.0693216323852539,
-0.025360699743032455,
-0.028186503797769547,
-0.006563735194504261,
0.0769047960639,
0.010596766136586666,
-0.06381309777498245,
-0.017840124666690826,
0.0027319088112562895,
-0.01039109006524086,
0.05719570815563202,
0.017804356291890144,
0.07876482605934143,
-0.020084671676158905,
-0.009470021352171898,
0.013529879041016102,
0.01216168887913227,
-0.02453799732029438,
-0.014728163368999958,
-0.03126269578933716,
-0.007985579781234264,
0.03383811190724373,
-0.03941817954182625,
0.010006566531956196,
0.03297964110970497,
0.03669968619942665,
-0.0007187469163909554,
0.00016934705490712076,
-0.006045075133442879,
-0.03226424753665924,
-0.03521524369716644,
0.030386338010430336,
0.03941817954182625,
0.033981189131736755,
-0.05115063488483429,
0.06238231062889099,
-0.015863850712776184,
-0.054548751562833786,
-0.03442831337451935,
-0.035465631633996964,
0.002769914222881198,
0.015041148290038109,
-0.01723203994333744,
-0.0234827920794487,
-0.0006203802768141031,
0.0017124731093645096,
0.023715294897556305,
0.01756291091442108,
0.022445470094680786,
-0.019673321396112442,
-0.046572115272283554,
0.048432137817144394,
-0.014638739638030529,
0.04024088382720947,
0.01972697488963604,
-0.024681074544787407,
-0.03659237548708916,
-0.07175396382808685,
0.0035635537933558226,
-0.04456901550292969,
0.04954100027680397,
-0.03974010795354843,
0.07490170001983643,
-0.005906467325985432,
0.02035294473171234,
0.026344364508986473,
-0.025020888075232506,
0.007435621228069067,
0.03578756004571915,
-0.03881009668111801,
-0.031656160950660706,
0.015720771625638008,
-0.024448571726679802,
0.0522952638566494,
0.019065236672759056,
-0.0031857367139309645,
0.04578518494963646,
0.014710278250277042,
-0.05369028076529503,
-0.01803685910999775,
-0.007936396636068821,
0.024573765695095062,
0.04689404368400574,
-0.021533343940973282,
-0.014915954321622849,
0.037271998822689056,
0.021730076521635056,
0.004587460774928331,
-0.027971886098384857,
-0.005946708377450705,
-0.13349242508411407,
-0.0343746580183506,
-0.03149519860744476,
0.0013301847502589226,
-0.013082758523523808,
-0.046858273446559906,
-0.004658999852836132,
0.015202111564576626,
-0.01994159258902073,
-0.036985844373703,
-0.005758917424827814,
-0.0022098952904343605,
-0.05866226553916931,
-0.05254565179347992,
0.007855914533138275,
0.05597953870892525,
0.04599980264902115,
-0.012877082452178001,
0.030422108247876167,
0.005955650936812162,
0.02521762065589428,
-0.007288071326911449,
-0.011786107905209064,
-0.04346015304327011,
0.007887213490903378,
-0.023160863667726517,
0.017759643495082855,
0.003977140877395868,
0.014629797078669071,
0.031226925551891327,
0.025414353236556053,
-0.009568387642502785,
0.0011703390628099442,
-0.016570301726460457,
-0.0608084462583065,
0.002501641632989049,
0.02664840780198574,
-0.08963880687952042,
-0.009881372563540936,
-0.09657812118530273,
-0.0007802260224707425,
0.043603233993053436,
0.10723748058080673,
0.022320276126265526,
0.02171219140291214,
-0.030672496184706688,
0.008235967718064785,
-0.05533568561077118,
0.04041973128914833,
-0.024466456845402718,
-0.005589011590927839,
0.0037915855646133423,
0.011544662527740002,
0.005562184378504753,
0.003138788975775242,
-0.024055106565356255,
-0.010990232229232788,
0.004623230546712875,
-0.004504743497818708,
-0.04481940343976021,
0.0687493160367012,
0.009174921549856663,
-0.0035590825136750937,
0.016793861985206604,
-0.03201385959982872,
0.026201287284493446,
-0.0021003505680710077,
-0.04725173860788345,
0.04392515867948532,
-0.020549677312374115,
0.007721778471022844,
-0.006916960701346397,
0.07776327431201935,
0.011321102268993855,
0.035876981914043427,
0.02428760938346386,
0.03684276342391968,
-0.00045829894952476025,
-0.04156436026096344,
-0.009496848098933697,
0.014701335690915585,
0.010534169152379036,
-0.06578043103218079,
0.05050678178668022,
0.0268272552639246,
-0.026755716651678085,
-0.04489094018936157,
-0.006013776641339064,
0.00452933507040143,
-0.05436990410089493,
0.03523312881588936,
0.05690954998135567,
0.020961029455065727,
-0.08863725513219833,
0.030386338010430336,
0.05301065742969513,
-0.015202111564576626,
0.021980464458465576,
-0.059484969824552536,
-0.09943969547748566,
-0.08083946257829666,
0.035841215401887894,
0.020245635882019997,
-0.024985117837786674,
0.0004951864248141646,
-0.040312424302101135,
-0.012072265148162842,
0.10008355230093002,
0.012197459116578102,
-0.002828039927408099,
0.011070714332163334,
0.048467908054590225,
-0.010400032624602318,
-0.02242758497595787,
0.035000625997781754,
-0.017455600202083588,
0.023929912596940994,
0.032103281468153,
0.012224285863339901,
-0.029921332374215126,
-0.028365351259708405,
0.03784431517124176,
-0.010954462923109531,
0.06055805832147598,
0.03695007413625717,
0.04024088382720947,
0.018904272466897964,
-0.03446407988667488,
-0.016078468412160873,
-0.07719095796346664,
-0.007288071326911449,
0.00029482037643902004,
0.04245860502123833,
-0.061309222131967545,
-0.020853720605373383,
-0.04929061233997345,
-0.012412076815962791,
0.0032505691051483154,
0.02652321383357048,
0.02369740977883339,
-0.058054182678461075,
0.02736380137503147,
0.012966507114470005,
-0.06234654411673546,
0.014683451503515244,
0.013824978843331337,
-0.007104751653969288,
0.005208958871662617,
0.009836660698056221,
0.046142879873514175,
-0.00914809387177229,
0.037271998822689056,
0.0024412802886217833,
0.0027497936971485615,
0.0041694026440382,
-0.0029688829090446234,
-0.05930611863732338,
-0.05862649530172348,
-0.03002864122390747,
-0.009264345280826092,
-0.038202013820409775,
0.032246362417936325,
0.008566836826503277,
0.008303035981953144,
-0.04596403241157532,
-0.017849067226052284,
0.02593301422894001,
0.0231429785490036,
-0.04152859002351761,
0.01926196925342083,
0.03399907425045967,
0.04875406622886658,
0.011473122984170914,
-0.016480877995491028,
0.05494222044944763,
0.0171873290091753,
0.014093251898884773,
0.003433888778090477,
0.019995247945189476,
0.050757165998220444,
0.03349829837679863,
-0.004039737395942211,
-0.07468707859516144,
-0.02571839652955532,
-0.027864575386047363,
-0.005589011590927839,
0.046858273446559906,
0.03371291980147362,
0.05000600591301918,
-0.03916779160499573,
0.013342088088393211,
0.03160250559449196,
0.05186602845788002,
0.0034674229100346565,
-0.022230852395296097,
0.07890789955854416,
0.0038832451682537794,
0.03798739239573479,
-0.06914278119802475,
-0.05597953870892525,
0.0569453202188015,
-0.039811648428440094,
0.030296914279460907,
-0.029599405825138092,
-0.044962480664253235,
0.017509255558252335,
0.0021350025199353695,
-0.017545025795698166,
-0.009174921549856663,
0.0799809917807579,
-0.03485754877328873,
-0.04506979137659073,
-0.03995472565293312,
-0.022964131087064743,
-0.0049183303490281105,
0.00111668452154845,
0.026630522683262825,
-0.01668655313551426,
0.00790062639862299,
0.005678435787558556,
0.02571839652955532,
0.019315624609589577,
0.046357497572898865,
0.08255641162395477,
0.0317634716629982,
-0.03331945091485977,
-0.03095865249633789,
0.014370466582477093,
-0.016480877995491028,
0.05741032585501671,
0.013279492035508156,
-0.03657449036836624,
-0.06299039721488953,
0.03294387087225914,
0.031620390713214874,
0.08727800846099854,
0.026541098952293396,
0.02078218013048172,
-0.09171344339847565,
0.0039793760515749454,
0.033212143927812576,
0.0528675802052021,
-0.03977587819099426,
0.0028436891734600067,
-0.044068239629268646,
0.007529516238719225,
-0.010766671970486641,
0.0053117964416742325,
-0.0185465756803751,
-0.02332182787358761,
0.019065236672759056,
0.04997023567557335,
-0.05504952743649483,
-0.0009490141528658569,
0.041027817875146866,
0.005226843524724245,
-0.03585909679532051,
0.028705162927508354,
0.030636725947260857,
-0.00865626148879528,
-0.027310146018862724,
0.024698959663510323,
-0.010632535442709923,
-0.06724698841571808,
0.010373205877840519,
-0.05247411131858826,
0.0914272889494896,
-0.0102658960968256,
0.019995247945189476,
0.04993446543812752,
0.014924896880984306,
-0.02450222708284855,
0.0002622643660288304,
0.011598316952586174,
0.014737105928361416,
0.048718295991420746,
-0.0012865904718637466,
-0.04793136194348335,
0.009791947901248932,
-0.03877432644367218,
-0.023071439936757088,
0.010802441276609898,
0.003029244253411889,
-0.05018485337495804,
-0.025521662086248398,
-0.0693216323852539,
-0.0160516407340765,
0.022069888189435005,
-0.05254565179347992,
0.02847266010940075,
0.00028951079002581537,
-0.005857284180819988,
-0.015899620950222015,
-0.016793861985206604,
0.007936396636068821,
0.04249437153339386,
-0.08885186910629272,
-0.06578043103218079,
0.059663817286491394,
0.008696502074599266,
-0.007703893817961216,
0.08277102559804916,
-0.04535594582557678,
-0.035072166472673416,
-0.041707441210746765,
0.0046187592670321465,
-0.051257941871881485,
0.006478782277554274,
-0.008522124961018562,
0.0794086754322052,
-0.021604882553219795,
0.002105939667671919,
-0.029152285307645798,
-0.0695362463593483,
0.051758717745542526,
0.013002276420593262,
-0.016284143552184105,
-0.022534895688295364,
-0.018045799806714058,
0.04553479701280594,
0.004453324247151613,
-0.011875531636178493,
-0.008607078343629837,
-0.027775151655077934,
0.004609816707670689,
0.00558454031124711,
0.01994159258902073,
0.0063804155215620995,
-0.021443920210003853,
0.08312872052192688,
0.013583533465862274,
-0.00952367577701807,
-0.03920356184244156,
0.023983566090464592,
-0.009577330201864243,
-0.09464655816555023,
-0.03830932080745697,
-0.027900345623493195,
0.011392640881240368,
0.01867176964879036,
0.10301665961742401,
0.023965680971741676,
-0.00025499865296296775,
0.028562085703015327,
-0.025110311806201935,
-0.014710278250277042,
0.023214519023895264,
0.006849892437458038,
-0.0059869494289159775,
-0.036216795444488525,
0.0012452318333089352,
-0.044998250901699066,
-0.058519188314676285,
0.033212143927812576,
0.04342438280582428,
0.01684751734137535,
0.04718020185828209,
-0.05369028076529503,
-0.017249925062060356,
-0.03040422312915325,
-0.06238231062889099,
0.020156212151050568,
0.018653884530067444,
-0.09135574847459793,
0.017115788534283638,
-0.025450123474001884,
-0.01394123025238514,
0.035000625997781754,
-0.013619303703308105,
0.013565649278461933,
-0.03995472565293312,
0.02056756243109703,
-0.03884586691856384,
0.040562812238931656,
-0.012045437470078468,
0.027614189311861992,
0.005352037493139505,
-0.0064161852933466434,
0.017670219764113426,
-0.048718295991420746,
-0.0575176365673542,
-0.05512106791138649,
0.04578518494963646,
-0.003860889235511422,
-0.021676423028111458,
-0.057088401168584824,
0.04979138821363449,
-0.006675515323877335,
0.031030192971229553,
0.04199359938502312,
0.015729714184999466,
-0.02035294473171234,
0.034195806831121445,
0.020460253581404686,
0.03580544516444206,
-0.058089952915906906,
-0.060593828558921814,
0.03734353929758072,
-0.060164593160152435,
-0.0075518726371228695,
-0.03272925317287445,
0.01870753988623619,
0.06234654411673546,
-0.009094439446926117,
0.047037120908498764,
-0.02394779771566391,
-0.011321102268993855,
0.02242758497595787,
0.05741032585501671,
-0.006702342536300421,
-0.023536445572972298,
-0.004524863790720701,
0.00872332975268364,
0.0018969104858115315,
-0.026380134746432304,
0.00048065499868243933,
0.011401583440601826,
-0.023089325055480003,
-0.0457136444747448,
0.06578043103218079,
0.06002151221036911,
-0.04177897796034813,
0.055478766560554504,
-0.02689879573881626,
-0.015300477854907513,
-0.017500312998890877,
-0.018510807305574417,
0.04692981392145157,
0.010838211514055729,
0.0370931513607502,
-0.00524919992312789,
-0.005991420242935419,
0.007136050146073103,
-0.01816205121576786,
0.05698109045624733,
-0.03172770142555237,
-0.02512819692492485,
-0.012251113541424274,
0.0274532251060009,
0.02487780898809433,
0.03439254313707352,
0.04993446543812752,
0.034821778535842896,
-0.04664365574717522,
0.001437493832781911,
0.027614189311861992,
-0.010739844292402267,
0.009961854666471481,
-0.016141066327691078,
0.06824854016304016,
0.045928262174129486,
-0.01563134789466858,
-0.001217286684550345,
0.046142879873514175,
-0.007569757290184498,
0.008951361291110516
] |
18,297 | yarl._url | with_fragment | Return a new URL with fragment replaced.
Autoencode fragment if needed.
Clear fragment to default if None is passed.
| def with_fragment(self, fragment):
"""Return a new URL with fragment replaced.
Autoencode fragment if needed.
Clear fragment to default if None is passed.
"""
# N.B. doesn't cleanup query/fragment
if fragment is None:
raw_fragment = ""
elif not isinstance(fragment, str):
raise TypeError("Invalid fragment type")
else:
raw_fragment = self._FRAGMENT_QUOTER(fragment)
if self.raw_fragment == raw_fragment:
return self
return URL(self._val._replace(fragment=raw_fragment), encoded=True)
| (self, fragment) | [
-0.01474111620336771,
-0.007451110519468784,
0.0031952508725225925,
0.044572409242391586,
-0.04972777143120766,
0.010641885921359062,
0.01791846565902233,
0.03374256566166878,
-0.0012687025591731071,
-0.023986758664250374,
0.03130808845162392,
0.006130943540483713,
-0.0029245049227029085,
0.05441771820187569,
0.05187584087252617,
0.04933395981788635,
-0.03621284291148186,
-0.014087744988501072,
0.024183664470911026,
-0.017658907920122147,
-0.028605103492736816,
0.00042262117494829,
-0.03683936595916748,
0.040705885738134384,
0.026116926223039627,
0.008328238502144814,
-0.018509184941649437,
-0.010883543640375137,
0.018562886863946915,
0.0025508305989205837,
0.0948013961315155,
-0.04149351269006729,
0.011483212932944298,
-0.004117130301892757,
0.046290863305330276,
-0.02506079152226448,
-0.0023248358629643917,
0.07249729335308075,
-0.049262356013059616,
-0.04475141316652298,
-0.019028302282094955,
-0.011966528370976448,
-0.053236283361911774,
0.02382565289735794,
0.0731775090098381,
0.0036584280896931887,
0.037018369883298874,
-0.0028685657307505608,
-0.031164884567260742,
-0.00547757325693965,
0.048295725136995316,
0.020710954442620277,
-0.012601998634636402,
0.019028302282094955,
-0.04947716370224953,
-0.0038866603281348944,
-0.008274536579847336,
0.11420560628175735,
0.03044886142015457,
0.10210482776165009,
0.04740069806575775,
-0.010301775299012661,
0.0015853188233450055,
0.0071154749020934105,
-0.0361054427921772,
0.023968856781721115,
-0.02728046290576458,
0.010713488794863224,
0.010113819502294064,
0.05312887951731682,
0.04697108268737793,
0.03583693131804466,
0.002418813994154334,
0.019547417759895325,
0.021015264093875885,
0.01253934670239687,
-0.04596865177154541,
0.06365441530942917,
-0.016656477004289627,
0.020514048635959625,
0.04639826714992523,
-0.02284112200140953,
0.017515704035758972,
-0.07568359375,
-0.07417994737625122,
-0.05216224864125252,
-0.04321196675300598,
-0.060611315071582794,
0.045574840158224106,
-0.03460179269313812,
-0.007518237456679344,
0.014186197891831398,
-0.03635605052113533,
-0.04736489802598953,
0.05892866104841232,
-0.029339026659727097,
-0.016889182850718498,
-0.030055049806833267,
0.021033164113759995,
-0.0625445768237114,
0.008323763497173786,
0.002738786628469825,
-0.10418128967285156,
-0.027441566810011864,
0.020335042849183083,
0.001031520077958703,
0.07063563168048859,
-0.08040934056043625,
-0.052484460175037384,
-0.014499458484351635,
0.020442446693778038,
-0.057138606905937195,
-0.04604025557637215,
0.05778302624821663,
-0.02115846797823906,
0.017864763736724854,
0.015260232612490654,
-0.03621284291148186,
0.040383677929639816,
-0.012118683196604252,
-0.01705028861761093,
0.02135537564754486,
-0.05749661847949028,
-0.011966528370976448,
0.05645838379859924,
0.040204670280218124,
-0.028676705434918404,
-0.03812820464372635,
0.047543901950120926,
-0.04872534051537514,
0.04500202089548111,
0.03485240042209625,
-0.04403539001941681,
-0.042889755219221115,
-0.020764656364917755,
-0.009648405015468597,
-0.05828424170613289,
0.014544209465384483,
0.014893271028995514,
0.06687651574611664,
-0.08255741000175476,
0.019117804244160652,
0.033796269446611404,
0.023288635537028313,
-0.045360032469034195,
-0.005141937639564276,
0.01352387759834528,
0.007469011005014181,
-0.015501890331506729,
0.0061801704578101635,
0.08534989506006241,
0.017757361754775047,
0.06798634678125381,
0.012485644780099392,
0.013855038210749626,
-0.020227639004588127,
-0.017712609842419624,
0.012440892867743969,
0.01464266236871481,
-0.010292825289070606,
0.07833287864923477,
-0.023539243265986443,
0.044858817011117935,
0.021301673725247383,
0.018365981057286263,
0.004560169298201799,
0.060611315071582794,
-0.03096797876060009,
-0.011787522584199905,
0.02971493825316429,
0.0302161555737257,
0.039238039404153824,
-0.030771072953939438,
0.05685219541192055,
0.032811738550662994,
0.04417859762907028,
-0.0012821280397474766,
-0.028085988014936447,
0.004253622144460678,
-0.003056521527469158,
0.043176162987947464,
-0.029321126639842987,
0.0673777312040329,
-0.034762900322675705,
0.05817683786153793,
-0.022501010447740555,
-0.016379017382860184,
0.0010421485640108585,
0.018849296495318413,
-0.02898101508617401,
-0.03866522014141083,
-0.039381243288517,
0.004508704878389835,
-0.0036092016380280256,
-0.020191838964819908,
-0.025239797309041023,
-0.014213048852980137,
0.003909036051481962,
0.045610640197992325,
0.07017021626234055,
-0.03909483551979065,
0.01627161353826523,
-0.00451318034902215,
-0.021946093067526817,
0.0016983161913231015,
-0.018885096535086632,
0.03506720811128616,
-0.004387876018881798,
0.011617466807365417,
-0.016459569334983826,
-0.022447308525443077,
0.028408197686076164,
0.01890299655497074,
0.02062145248055458,
-0.004640721715986729,
-0.026421235874295235,
-0.04417859762907028,
0.03562212735414505,
0.03376046568155289,
0.028623005375266075,
0.06411982327699661,
-0.04793771356344223,
0.03236422315239906,
-0.017444102093577385,
-0.012064981274306774,
-0.03766278922557831,
0.010910394601523876,
-0.053200479596853256,
-0.06945419311523438,
0.018365981057286263,
0.014329402707517147,
-0.044106993824243546,
-0.018634488806128502,
0.020245539024472237,
0.02237570658326149,
-0.02803228609263897,
0.014911171048879623,
0.021212169900536537,
0.021194269880652428,
-0.08685354143381119,
-0.0029513558838516474,
0.020442446693778038,
-0.02928532473742962,
0.045360032469034195,
0.03137969225645065,
0.029160020872950554,
0.007871774025261402,
0.044572409242391586,
-0.04056268185377121,
-0.04056268185377121,
-0.05438191816210747,
0.01683548279106617,
-0.05083760619163513,
-0.000018250186258228496,
0.02187449112534523,
-0.0001382399204885587,
-0.04271075129508972,
0.05878545716404915,
0.0031684001442044973,
0.016880232840776443,
-0.00897713378071785,
-0.06838016211986542,
0.03719737380743027,
0.010230173356831074,
0.023968856781721115,
-0.03241792321205139,
-0.04135030508041382,
-0.01021227240562439,
-0.017282996326684952,
0.022178800776600838,
0.02237570658326149,
-0.05896446481347084,
0.002532930113375187,
0.03759118914604187,
0.00583110935986042,
-0.001485746935941279,
-0.014812718145549297,
-0.0384146124124527,
0.028855711221694946,
-0.041708316653966904,
-0.052735067903995514,
-0.040204670280218124,
0.05141042545437813,
0.02481018379330635,
0.030645769089460373,
0.026976153254508972,
0.0071154749020934105,
0.026707643643021584,
0.031361792236566544,
0.009684205986559391,
0.031021680682897568,
-0.05434611812233925,
-0.0579262301325798,
0.020800458267331123,
-0.05921507254242897,
0.06902457773685455,
0.018365981057286263,
0.037483785301446915,
-0.009361996315419674,
-0.018831394612789154,
-0.05799783393740654,
-0.006963320076465607,
-0.025705212727189064,
0.0685233622789383,
0.018160123378038406,
-0.013174816034734249,
-0.018016919493675232,
-0.032811738550662994,
-0.0013246418675407767,
0.028802011162042618,
0.009106912650167942,
-0.0067216623574495316,
-0.0457538478076458,
-0.02387935481965542,
0.0063547007739543915,
0.0492265559732914,
-0.0013045037630945444,
-0.01725614443421364,
0.0030878474935889244,
-0.004358787555247545,
-0.04271075129508972,
-0.05391650274395943,
-0.03170190006494522,
0.05438191816210747,
-0.02262631431221962,
0.005902711767703295,
0.0038665221072733402,
0.028694607317447662,
-0.013022661209106445,
0.005508899223059416,
-0.0019422114128246903,
0.034279584884643555,
0.014329402707517147,
0.0216238833963871,
-0.07518237829208374,
-0.04185152426362038,
-0.020567750558257103,
0.022250402718782425,
0.012261887080967426,
-0.01755150407552719,
0.06551606953144073,
-0.001263108686544001,
0.016128409653902054,
0.007451110519468784,
0.0007758776191622019,
-0.022017695009708405,
-0.05459672585129738,
-0.009469399228692055,
-0.004316274076700211,
-0.07117264717817307,
-0.053200479596853256,
-0.04525262862443924,
0.016531173139810562,
-0.01537658553570509,
0.030359359458088875,
0.009097962640225887,
0.03490610420703888,
-0.01671912893652916,
-0.024935487657785416,
-0.019529517740011215,
0.046111855655908585,
-0.026242230087518692,
-0.031809303909540176,
-0.017658907920122147,
0.03216731548309326,
0.05280666798353195,
-0.01675492897629738,
0.014436806552112103,
-0.017023438587784767,
-0.02557990886271,
0.020549848675727844,
-0.02139117568731308,
0.08033774048089981,
-0.010758239775896072,
0.02015603706240654,
-0.06218656525015831,
-0.004855528473854065,
0.01865238882601261,
0.011492162942886353,
-0.012127633206546307,
0.03275803476572037,
0.010257024317979813,
0.008158182725310326,
0.007025972008705139,
-0.004824202507734299,
-0.020514048635959625,
0.03542521968483925,
-0.02584841661155224,
0.04417859762907028,
0.007334756664931774,
-0.03569372743368149,
0.006681386381387711,
-0.01730089634656906,
0.0021458303090184927,
-0.02112266793847084,
0.0015137165319174528,
-0.0014779154444113374,
-0.035031408071517944,
-0.00035185800516046584,
0.03163029998540878,
0.04281815141439438,
-0.01893879845738411,
0.03669615834951401,
0.06021750345826149,
0.02677924558520317,
-0.041207101196050644,
0.05871385708451271,
0.024434272199869156,
0.03095007874071598,
-0.03524621203541756,
-0.03467339649796486,
-0.07324911653995514,
-0.0658382773399353,
0.019994931295514107,
0.05234125256538391,
-0.01938631199300289,
0.07024181634187698,
-0.06838016211986542,
-0.026636041700839996,
0.026152726262807846,
0.016244763508439064,
0.0219102930277586,
0.009236691519618034,
0.011286307126283646,
-0.038915831595659256,
-0.014687414281070232,
0.010418129153549671,
-0.03290123865008354,
0.006851441692560911,
0.01585095003247261,
-0.01352387759834528,
-0.03198831155896187,
-0.0228769239038229,
0.03275803476572037,
-0.0017419487703591585,
0.028461899608373642,
0.04858213663101196,
0.04231693595647812,
0.02801438607275486,
-0.02506079152226448,
0.025902118533849716,
-0.05302147567272186,
-0.018867196515202522,
-0.0031303614377975464,
-0.025866316631436348,
-0.05878545716404915,
-0.07117264717817307,
-0.001279890420846641,
-0.04722169414162636,
0.007406359072774649,
0.02724466100335121,
0.007204977795481682,
-0.05473992973566055,
-0.010480781085789204,
-0.03517461195588112,
-0.050264786928892136,
0.014195148833096027,
-0.00273207388818264,
-0.006533706560730934,
0.04399958997964859,
0.0225905142724514,
0.052949871867895126,
-0.02382565289735794,
-0.008735476061701775,
-0.022930623963475227,
-0.0003792682255152613,
0.030377259477972984,
-0.03888002783060074,
-0.038736823946237564,
0.00030710658757016063,
-0.04564644396305084,
-0.001301147392950952,
-0.017408300191164017,
0.015528740361332893,
0.00901740975677967,
0.05040799453854561,
-0.019475815817713737,
-0.014562110416591167,
0.03587273508310318,
-0.0042245336808264256,
-0.060539714992046356,
0.019475815817713737,
-0.010525532998144627,
0.03587273508310318,
0.030395161360502243,
0.0326327309012413,
-0.003190775867551565,
0.028175489977002144,
0.05169683322310448,
0.03737638145685196,
-0.028157589957118034,
0.04253174364566803,
-0.05584976449608803,
0.047794509679079056,
-0.03632024675607681,
0.002391963033005595,
-0.02631383202970028,
-0.010239123366773129,
-0.020012833178043365,
-0.03318765014410019,
0.06283098459243774,
0.01436520367860794,
-0.00013607226719614118,
-0.009782658889889717,
0.015233381651341915,
-0.016889182850718498,
-0.018142223358154297,
0.049512963742017746,
-0.018160123378038406,
0.029893944039940834,
-0.04661307483911514,
-0.030788972973823547,
0.08155497908592224,
0.021928193047642708,
-0.020335042849183083,
0.008762327022850513,
-0.043140362948179245,
0.013935590162873268,
0.025741012766957283,
-0.0330086424946785,
0.027584772557020187,
0.062043361365795135,
0.03485240042209625,
-0.022483110427856445,
-0.013783435337245464,
0.00014474285126198083,
0.003262378042563796,
-0.02040664479136467,
-0.001302266144193709,
-0.017990069463849068,
-0.019726423546671867,
0.0030699470080435276,
0.06981220841407776,
0.009979565627872944,
0.04790191352367401,
0.036517154425382614,
0.04031207412481308,
-0.04693528264760971,
-0.013684982433915138,
-0.008578846231102943,
-0.011340008117258549,
0.02040664479136467,
-0.0016323078889399767,
-0.018813494592905045,
-0.07632800936698914,
-0.004877903964370489,
0.03934544324874878,
0.05130302160978317,
0.04886854439973831,
0.01292420830577612,
-0.013765535317361355,
0.037447985261678696,
0.0038754725828766823,
0.03508510813117027,
-0.023521343246102333,
-0.0235571451485157,
-0.08577951043844223,
0.04256754368543625,
0.024917587637901306,
0.026367533951997757,
-0.0196906216442585,
0.012038130313158035,
0.044572409242391586,
0.03460179269313812,
-0.03365306183695793,
0.04224533587694168,
0.013201666995882988,
-0.0712442547082901,
-0.020764656364917755,
0.01390873920172453,
0.02459537796676159,
-0.0318630076944828,
0.005352268926799297,
0.04177992045879364,
0.0026448084972798824,
-0.03252532705664635,
-0.014016143046319485,
-0.034315384924411774,
0.05903606489300728,
-0.025884218513965607,
-0.044823016971349716,
0.03694676607847214,
-0.012440892867743969,
-0.038199808448553085,
-0.028175489977002144,
0.005925087258219719,
0.0154929393902421,
0.038736823946237564,
0.04543163627386093,
-0.0451810285449028,
0.001150111318565905,
-0.020549848675727844,
0.0024590902030467987,
-0.03809240460395813,
0.04936975985765457,
-0.02797858417034149,
-0.040920693427324295,
-0.06773573905229568,
-0.030842674896121025,
0.03492400422692299,
0.0020373081788420677,
0.04589705169200897,
0.030162453651428223,
0.00583110935986042,
-0.0252934992313385,
0.0536658950150013,
-0.03988245874643326,
0.06369021534919739,
-0.058105237782001495,
-0.06590988487005234,
0.029679138213396072,
0.005969838704913855,
-0.012387191876769066,
0.05670899152755737,
-0.059823691844940186,
-0.04181572049856186,
-0.06175694987177849,
0.027906982228159904,
-0.06218656525015831,
0.032579030841588974,
-0.012861556373536587,
0.046827878803014755,
-0.060539714992046356,
0.060324907302856445,
-0.057890430092811584,
-0.03048466332256794,
0.02676134556531906,
0.01354177761822939,
-0.03952445089817047,
0.005258291028439999,
0.0018459958955645561,
-0.003434671089053154,
0.013505976647138596,
0.002434476977214217,
-0.008444591425359249,
-0.08850039541721344,
0.031594499945640564,
0.025758914649486542,
0.011671168729662895,
0.041672516614198685,
-0.0594656802713871,
0.022769520059227943,
-0.016629625111818314,
0.012754153460264206,
-0.04446500539779663,
-0.00589823629707098,
0.06311739236116409,
-0.051231417804956436,
-0.0694899931550026,
-0.02137327566742897,
0.03438698500394821,
0.019010400399565697,
0.1017468124628067,
-0.021426977589726448,
0.020227639004588127,
0.01940421387553215,
-0.010883543640375137,
0.0026649467181414366,
0.007554038893431425,
0.010373378172516823,
0.015090176835656166,
-0.04149351269006729,
-0.010480781085789204,
-0.02481018379330635,
-0.033796269446611404,
0.0575324185192585,
0.017748411744832993,
0.019010400399565697,
-0.01810642145574093,
-0.044393401592969894,
-0.023413939401507378,
0.008229784667491913,
-0.08141177147626877,
-0.011053599417209625,
-0.034548092633485794,
-0.059143468737602234,
-0.037841796875,
-0.031845107674598694,
-0.022196700796484947,
0.012369290925562382,
0.053486891090869904,
-0.029893944039940834,
-0.037949200719594955,
0.027387864887714386,
-0.017793161794543266,
0.09157929569482803,
-0.08298702538013458,
-0.012073931284248829,
0.014633712358772755,
-0.0687381699681282,
0.05459672585129738,
-0.02878410927951336,
-0.042102131992578506,
-0.006923043634742498,
-0.005826634354889393,
0.025884218513965607,
-0.013738684356212616,
-0.04399958997964859,
0.05867805331945419,
0.011375809088349342,
0.0064039272256195545,
0.032596930861473083,
-0.013559678569436073,
-0.02140907570719719,
0.021498579531908035,
-0.01870609074831009,
0.03367096558213234,
-0.020782556384801865,
-0.03268643468618393,
0.02332443743944168,
-0.037233177572488785,
-0.018312279134988785,
-0.044608209282159805,
0.041135501116514206,
0.0640840232372284,
0.006520281080156565,
-0.006117518525570631,
-0.038235608488321304,
-0.029679138213396072,
-0.00378149445168674,
0.05033639073371887,
-0.0361054427921772,
0.011635367758572102,
0.018634488806128502,
0.039918262511491776,
-0.03315184637904167,
-0.01202918030321598,
-0.006345750764012337,
0.005625252611935139,
-0.052484460175037384,
-0.008144757710397243,
0.09157929569482803,
0.04124290496110916,
-0.002937930403277278,
0.02583051659166813,
-0.03694676607847214,
-0.011626417748630047,
-0.020478246733546257,
-0.05602877214550972,
0.00015159542090259492,
0.01106254942715168,
0.010534483008086681,
-0.04349837452173233,
0.018831394612789154,
0.001944448915310204,
0.004636246711015701,
0.05119561776518822,
0.014588961377739906,
-0.023503443226218224,
0.022715818136930466,
-0.007151275873184204,
0.0282828938215971,
0.010498682036995888,
0.11542284488677979,
0.043104562908411026,
-0.05799783393740654,
-0.01890299655497074,
0.054704129695892334,
0.001900816336274147,
-0.03617704287171364,
-0.07919210195541382,
0.042137932032346725,
0.0496203675866127,
-0.035496823489665985,
-0.05262766405940056,
0.08234260231256485,
0.02210719883441925,
0.02873040735721588
] |
18,298 | yarl._url | with_host | Return a new URL with host replaced.
Autoencode host if needed.
Changing host for relative URLs is not allowed, use .join()
instead.
| def with_host(self, host):
"""Return a new URL with host replaced.
Autoencode host if needed.
Changing host for relative URLs is not allowed, use .join()
instead.
"""
# N.B. doesn't cleanup query/fragment
if not isinstance(host, str):
raise TypeError("Invalid host type")
if not self.is_absolute():
raise ValueError("host replacement is not allowed for relative URLs")
if not host:
raise ValueError("host removing is not allowed")
val = self._val
return URL(
self._val._replace(
netloc=self._make_netloc(val.username, val.password, host, val.port)
),
encoded=True,
)
| (self, host) | [
0.024024903774261475,
-0.006859283894300461,
-0.018732460215687752,
0.04000668600201607,
-0.013074422255158424,
-0.003294719383120537,
0.013840433210134506,
0.03596771880984306,
0.031963568180799484,
-0.01864541321992874,
0.04289663955569267,
0.013361675664782524,
0.002963941777125001,
0.013109240680932999,
0.009853691793978214,
0.01357929315418005,
-0.01607753522694111,
0.04773643612861633,
0.027541590854525566,
-0.0458214096724987,
0.008330374024808407,
-0.023624487221240997,
-0.025835474953055382,
0.0026114024221897125,
0.008408715948462486,
0.04185207560658455,
-0.007573067210614681,
0.011760015971958637,
0.01278716791421175,
-0.03401786834001541,
0.07834207266569138,
-0.009374935179948807,
0.03610699251294136,
0.037221189588308334,
0.06131573021411896,
-0.0020173084922134876,
-0.015189657919108868,
0.06664299219846725,
-0.034644607454538345,
-0.03701227903366089,
0.009279183112084866,
-0.0032468438148498535,
-0.031110508367419243,
-0.010167060419917107,
0.12165653705596924,
0.05355115979909897,
0.05640629306435585,
0.0448116660118103,
-0.026114024221897125,
-0.06385749578475952,
0.010410791262984276,
-0.0182275902479887,
0.031476106494665146,
-0.002271920209750533,
-0.052611056715250015,
0.003403527894988656,
0.01724396087229252,
0.1109323799610138,
-0.006720009259879589,
0.03326926752924919,
0.01937660574913025,
-0.0322769358754158,
-0.04878100007772446,
0.03260771185159683,
-0.03351299837231636,
0.037743471562862396,
-0.061698734760284424,
-0.012726235203444958,
-0.00599316880106926,
0.01574675738811493,
0.03635072335600853,
0.008391306735575199,
-0.021500546485185623,
-0.02748936414718628,
0.04662223905324936,
0.028690608218312263,
-0.025104282423853874,
0.05017374828457832,
0.0002110883651766926,
-0.03541061654686928,
0.0027789673767983913,
-0.03690782189369202,
0.023676715791225433,
-0.05372525379061699,
-0.03708191588521004,
-0.08669856190681458,
-0.030274860560894012,
-0.06347449123859406,
0.038056839257478714,
0.03635072335600853,
0.02599215880036354,
-0.0008824364049360156,
-0.02331111952662468,
-0.04220026358962059,
0.055013544857501984,
-0.006802703719586134,
0.015146134421229362,
-0.025417650118470192,
0.044254567474126816,
-0.08105793595314026,
0.024860551580786705,
0.05985334515571594,
-0.08669856190681458,
0.0037168962880969048,
0.02498241700232029,
-0.03201579302549362,
0.04345373809337616,
-0.08718602359294891,
-0.055292095988988876,
0.007377211935818195,
-0.0448116660118103,
-0.02708894945681095,
-0.01671297661960125,
0.002241453854367137,
0.02766345627605915,
-0.050765663385391235,
-0.0060497489757835865,
-0.015111315995454788,
0.05069602653384209,
-0.01948106288909912,
-0.0364551804959774,
0.07284072041511536,
-0.0460999570786953,
0.0009776437655091286,
0.0169305931776762,
0.059957802295684814,
-0.03041413426399231,
-0.03326926752924919,
-0.0058495416305959225,
-0.06434495747089386,
0.01622551493346691,
0.06124609336256981,
-0.03469683602452278,
0.003416585037484765,
0.009836282581090927,
-0.005083530209958553,
-0.058704327791929245,
0.05055675283074379,
0.00883959699422121,
0.05006929114460945,
-0.046587418764829636,
0.013283333741128445,
0.005901769734919071,
0.017008934170007706,
0.007050786633044481,
-0.019585518166422844,
0.027854960411787033,
-0.023781172931194305,
-0.02423381432890892,
-0.00591482687741518,
0.06591179966926575,
0.0029704703483730555,
0.07165688276290894,
0.03166760876774788,
0.010480429045855999,
0.020838992670178413,
-0.009331411682069302,
-0.022109873592853546,
0.02416417747735977,
-0.013170173391699791,
0.022632155567407608,
-0.022109873592853546,
0.05504836514592171,
0.010410791262984276,
-0.005766847170889378,
-0.016277741640806198,
0.05379489064216614,
-0.07026413828134537,
0.006693894974887371,
0.030292268842458725,
0.007590476423501968,
-0.0002490353072062135,
-0.019115466624498367,
0.022336196154356003,
0.03535838797688484,
0.022579926997423172,
0.01710468716919422,
-0.037639014422893524,
0.011716492474079132,
0.025173919275403023,
0.011263849213719368,
0.005871303379535675,
0.05407344177365303,
0.0025896409060806036,
0.040911972522735596,
0.012978670187294483,
-0.021692050620913506,
0.008669856004416943,
-0.0030031129717826843,
0.013448722660541534,
-0.018906554207205772,
-0.00714218569919467,
-0.000011883921615662985,
-0.007290165405720472,
0.035062432289123535,
-0.05208877474069595,
-0.003222906030714512,
-0.010227993130683899,
0.04153870791196823,
0.09470686316490173,
-0.04738825187087059,
0.03795238211750984,
-0.023798581212759018,
-0.01220395416021347,
0.04874617978930473,
-0.023833399638533592,
0.021013084799051285,
-0.025678791105747223,
-0.023520031943917274,
0.022109873592853546,
0.0005282649653963745,
0.003880108939483762,
-0.0396236814558506,
0.003159797051921487,
-0.04018077999353409,
-0.029456621035933495,
-0.05651075020432472,
0.022092465311288834,
0.04463757202029228,
0.02414676919579506,
0.011934109032154083,
-0.03394823148846626,
0.043244823813438416,
-0.04254845157265663,
0.023119617253541946,
-0.04982556030154228,
0.009879806078970432,
-0.03729082643985748,
-0.05675448104739189,
-0.020090389996767044,
0.025034645572304726,
-0.023119617253541946,
-0.02031671069562435,
0.02581806667149067,
0.08481835573911667,
0.00982757844030857,
0.02137868106365204,
0.024111948907375336,
0.0318417027592659,
-0.022127283737063408,
-0.020072979852557182,
0.02047339640557766,
0.022423243150115013,
-0.009514209814369678,
-0.006567677482962608,
0.0036624919157475233,
-0.04637850821018219,
0.035567302256822586,
-0.008286850526928902,
-0.03575880452990532,
-0.04662223905324936,
-0.00530549930408597,
0.001044561038725078,
0.011124574579298496,
0.030187813565135002,
0.026967084035277367,
-0.05055675283074379,
0.0036472587380558252,
-0.006106329616159201,
-0.008561047725379467,
-0.053864527493715286,
-0.03274698555469513,
0.0182275902479887,
0.029543666169047356,
0.011377010494470596,
-0.033478181809186935,
-0.02155277505517006,
-0.009757940657436848,
-0.015981784090399742,
0.022684382274746895,
-0.01814054325222969,
-0.00952291488647461,
-0.011612036265432835,
0.009514209814369678,
0.018279816955327988,
0.052262868732213974,
-0.011873176321387291,
-0.044150110334157944,
-0.002487360965460539,
-0.024094540625810623,
-0.02566138096153736,
-0.01888914406299591,
0.0028616618365049362,
-0.05985334515571594,
0.047597162425518036,
0.001433007069863379,
-0.03833539038896561,
0.03913621976971626,
-0.01965515688061714,
-0.013292038813233376,
0.028429469093680382,
-0.016303855925798416,
-0.028046462684869766,
0.006894102785736322,
-0.04543840512633324,
0.0365944541990757,
-0.01165555976331234,
0.044080473482608795,
-0.009549028240144253,
-0.018332045525312424,
-0.028777655214071274,
0.003858347190544009,
-0.02950884774327278,
0.05957479402422905,
0.029787397012114525,
-0.011429238133132458,
-0.02238842472434044,
0.003225082065910101,
0.01700023002922535,
0.05901769548654556,
0.03617662936449051,
-0.026462212204933167,
-0.05438680946826935,
-0.011429238133132458,
0.03770865127444267,
0.019498471170663834,
0.015215772204101086,
-0.03669891133904457,
-0.00911379512399435,
-0.009366230107843876,
-0.017035048454999924,
0.005483945365995169,
-0.05139240249991417,
0.04589104652404785,
-0.027767913416028023,
0.00348839838989079,
0.041086066514253616,
0.06434495747089386,
-0.03116273693740368,
0.011812243610620499,
-0.0009297680808231235,
0.04832835495471954,
-0.012595664709806442,
0.010567475110292435,
-0.023868218064308167,
-0.03850948065519333,
0.0024481897708028555,
0.017296189442276955,
0.0010837320005521178,
-0.02324148267507553,
0.021117541939020157,
0.002711506327614188,
-0.04275736212730408,
-0.022875886410474777,
0.018906554207205772,
-0.029613304883241653,
-0.06939367204904556,
-0.008865711279213428,
-0.036559633910655975,
-0.04202616959810257,
-0.035898078233003616,
-0.06110681965947151,
-0.005584049038589001,
0.003695134539157152,
0.057624947279691696,
0.019933706149458885,
-0.015381161123514175,
-0.03941476717591286,
0.016634633764624596,
-0.03549766540527344,
0.05630183964967728,
-0.050939757376909256,
0.015285409055650234,
-0.017487691715359688,
0.012264886870980263,
0.00015015563985798508,
-0.005762494634836912,
0.02992667257785797,
-0.012926442548632622,
-0.0026919208467006683,
0.015450797975063324,
-0.03433123975992203,
0.08885732293128967,
-0.048258718103170395,
0.03941476717591286,
-0.05713748559355736,
-0.005092234816402197,
-0.00799524411559105,
-0.010410791262984276,
0.008574104867875576,
0.07541730254888535,
0.04679633304476738,
0.07583513110876083,
-0.022579926997423172,
0.005483945365995169,
-0.0731889083981514,
0.059122152626514435,
0.0003955186693929136,
0.017252665013074875,
0.010758978314697742,
0.004539487883448601,
-0.015398570336401463,
0.026967084035277367,
0.03269476071000099,
-0.03586326166987419,
0.004574306774884462,
-0.004600420594215393,
-0.039066582918167114,
-0.011081051081418991,
0.00434798514470458,
0.024965008720755577,
-0.021692050620913506,
0.03051859140396118,
0.030118174850940704,
0.055187638849020004,
-0.029648123309016228,
0.03351299837231636,
0.03669891133904457,
0.01156851276755333,
0.03610699251294136,
-0.065702885389328,
-0.07875990122556686,
-0.03596771880984306,
0.012238772585988045,
0.07367637008428574,
-0.0020521271508187056,
0.03290367126464844,
-0.03076232224702835,
-0.0024307805579155684,
0.011150688864290714,
-0.006554620340466499,
-0.04314037039875984,
-0.04272254556417465,
0.04439384117722511,
-0.03708191588521004,
-0.025626562535762787,
0.009592551738023758,
-0.05281996726989746,
-0.007638352457433939,
-0.010758978314697742,
0.04101642966270447,
-0.054108258336782455,
0.0008900529937818646,
0.04421974718570709,
0.06183801218867302,
0.03231175243854523,
0.05919178947806358,
0.06135055050253868,
0.027036720886826515,
-0.03532357141375542,
-0.016443131491541862,
-0.05497872829437256,
0.022179512307047844,
-0.01998593471944332,
0.03361745551228523,
-0.010602294467389584,
-0.04025041684508324,
0.004421974997967482,
-0.021779097616672516,
0.02080417238175869,
0.0019074119627475739,
-0.010967890731990337,
-0.008064880967140198,
0.023850809782743454,
-0.03265994042158127,
-0.045264311134815216,
0.022249149158596992,
0.010811205953359604,
-0.006219490431249142,
0.10187951475381851,
0.008804778568446636,
0.034383464604616165,
0.004106430336833,
-0.04512503370642662,
-0.0479801669716835,
0.0038387617096304893,
0.02324148267507553,
-0.020856400951743126,
0.006071510724723339,
-0.025348013266921043,
-0.051845043897628784,
-0.03635072335600853,
-0.012021156027913094,
0.05313333496451378,
-0.02522614784538746,
0.014388827607035637,
-0.0008889649179764092,
0.02649703063070774,
-0.003481870051473379,
0.00257005519233644,
-0.08272922784090042,
-0.009166022762656212,
0.024669049307703972,
0.04237435758113861,
0.033704500645399094,
0.013370380736887455,
0.02632293663918972,
0.033704500645399094,
0.034296419471502304,
0.04693560674786568,
0.02231878601014614,
0.03676854819059372,
-0.07270144671201706,
0.028725426644086838,
-0.06142018735408783,
-0.03635072335600853,
-0.035723987966775894,
0.012882919050753117,
-0.012517322786152363,
-0.04564731568098068,
0.024042312055826187,
-0.004337104503065348,
0.001641919370740652,
0.00844353437423706,
0.04937291517853737,
0.011516285128891468,
0.004800628405064344,
0.04895509034395218,
0.0025613505858927965,
0.022127283737063408,
-0.07437274605035782,
-0.03166760876774788,
0.05630183964967728,
-0.00775151327252388,
-0.035445436835289,
0.004709229338914156,
-0.09080716967582703,
-0.004861561115831137,
0.013370380736887455,
-0.029212890192866325,
-0.00269627314992249,
0.0688713863492012,
0.029874444007873535,
-0.003516688710078597,
-0.0037256008945405483,
-0.03283403441309929,
0.011524989269673824,
0.038892488926649094,
-0.011716492474079132,
0.0468311533331871,
-0.011281258426606655,
0.006014930550009012,
0.055779557675123215,
0.01741805486381054,
0.07311926782131195,
0.09449794888496399,
-0.032642532140016556,
-0.06124609336256981,
-0.10696304589509964,
0.0027550295926630497,
-0.0005228245281614363,
0.030466362833976746,
-0.038892488926649094,
-0.11392678320407867,
-0.051601313054561615,
-0.028812473639845848,
0.00015790824545547366,
0.053446702659130096,
0.028203146532177925,
-0.011838357895612717,
-0.05362079665064812,
0.009453277103602886,
0.025522107258439064,
0.030727501958608627,
-0.03278180584311485,
-0.00670695211738348,
-0.04286181926727295,
0.02331111952662468,
-0.01646924577653408,
0.014432351104915142,
0.003059693146497011,
0.005205395631492138,
0.010132241994142532,
0.051670949906110764,
-0.06566806882619858,
0.014850175939500332,
0.013692453503608704,
-0.030274860560894012,
-0.013631520792841911,
-0.002337205223739147,
-0.011646854691207409,
-0.024965008720755577,
0.031719837337732315,
0.056197382509708405,
0.0022196921054273844,
0.01491981279104948,
0.02498241700232029,
-0.0038561709225177765,
0.07513875514268875,
0.01061099860817194,
-0.04272254556417465,
0.04543840512633324,
-0.04331446439027786,
-0.04665705934166908,
-0.027646047994494438,
-0.034888338297605515,
0.05031302198767662,
0.04958182945847511,
-0.0003286014834884554,
-0.06298702955245972,
-0.029265116900205612,
-0.04314037039875984,
-0.03290367126464844,
0.006663428619503975,
0.005988816265016794,
-0.08635037392377853,
-0.05940070375800133,
-0.048606906086206436,
0.007015968207269907,
0.0469704270362854,
-0.007703637238591909,
0.0021043552551418543,
0.012560846284031868,
-0.00014988362090662122,
-0.028290193527936935,
-0.008843949995934963,
-0.01948106288909912,
-0.0012784991413354874,
-0.05264587327837944,
-0.08238104730844498,
0.010019080713391304,
0.02165723219513893,
-0.034400876611471176,
0.05156649649143219,
-0.019167695194482803,
-0.023868218064308167,
-0.03290367126464844,
0.006228195037692785,
-0.05699821189045906,
-0.010846025310456753,
-0.002216427819803357,
0.03812647610902786,
-0.040320053696632385,
0.02916066162288189,
-0.037813108414411545,
-0.008090995252132416,
0.05087012052536011,
0.03878803178668022,
-0.06131573021411896,
-0.003011817578226328,
0.014414941892027855,
0.0008225917699746788,
-0.03252066671848297,
0.057868678122758865,
-0.05564028397202492,
-0.09972075372934341,
0.034296419471502304,
0.013013489544391632,
0.027019310742616653,
-0.014876289293169975,
-0.02782014198601246,
0.02522614784538746,
-0.04874617978930473,
-0.017827173694968224,
-0.025800656527280807,
-0.026427393779158592,
0.026723351329565048,
-0.07186579704284668,
-0.05908733233809471,
-0.05048711597919464,
0.04251363128423691,
0.03182429075241089,
0.09442831575870514,
0.0020564794540405273,
0.024547183886170387,
0.039240673184394836,
0.008160633035004139,
0.0022936819586902857,
0.02163982205092907,
0.019115466624498367,
0.01915028505027294,
-0.03603735566139221,
0.03293849155306816,
-0.029108433052897453,
-0.004384980071336031,
0.06500650942325592,
0.04564731568098068,
-0.013074422255158424,
-0.014902403578162193,
-0.008138870820403099,
-0.018244998529553413,
-0.05752049386501312,
-0.09818873554468155,
-0.00806923396885395,
0.02381599135696888,
-0.05665002390742302,
-0.040668241679668427,
-0.015981784090399742,
-0.05727676302194595,
-0.0006414257222786546,
0.05543136969208717,
-0.04839799180626869,
-0.006332651246339083,
0.0376041941344738,
-0.03274698555469513,
0.05483945086598396,
-0.0014700019964948297,
0.006036692298948765,
0.032555483281612396,
-0.027715684846043587,
-0.010750273242592812,
-0.030118174850940704,
-0.004674410447478294,
0.014937222003936768,
-0.018662823364138603,
0.03666409105062485,
-0.0020009870640933514,
-0.07513875514268875,
0.058530233800411224,
0.015642300248146057,
0.02799423411488533,
0.031545743346214294,
-0.000630000839009881,
0.01989888772368431,
-0.0029225945472717285,
-0.02197059988975525,
0.04623923450708389,
-0.023032570257782936,
-0.033460769802331924,
0.02465163916349411,
-0.006985501851886511,
0.005610162857919931,
-0.014092869125306606,
0.007681875489652157,
0.07109978795051575,
-0.014388827607035637,
0.024669049307703972,
-0.04958182945847511,
-0.021326454356312752,
0.034975383430719376,
0.044916123151779175,
-0.025835474953055382,
0.04958182945847511,
0.009627370163798332,
0.039728134870529175,
-0.03358263522386551,
-0.047597162425518036,
-0.022841067984700203,
0.04623923450708389,
-0.019602928310632706,
-0.02364189736545086,
0.10111350566148758,
0.04025041684508324,
0.003947569988667965,
-0.01228229608386755,
-0.01453680731356144,
-0.006724361330270767,
-0.004093373194336891,
-0.010889548808336258,
0.03892730548977852,
0.007947368547320366,
-0.0069985585287213326,
-0.03259030357003212,
-0.035132069140672684,
0.05247177928686142,
-0.029648123309016228,
0.03937995061278343,
0.009514209814369678,
-0.011054936796426773,
0.06295221298933029,
-0.007851616479456425,
0.03278180584311485,
0.007581771817058325,
0.08161503076553345,
0.08850913494825363,
-0.06521542370319366,
-0.03043154440820217,
0.03041413426399231,
-0.00911379512399435,
-0.02891693077981472,
-0.015938259661197662,
0.04721415787935257,
0.048850636929273605,
-0.03701227903366089,
-0.02332852967083454,
0.025974750518798828,
0.022040236741304398,
0.03109309822320938
] |
18,299 | yarl._url | with_name | Return a new URL with name (last part of path) replaced.
Query and fragment parts are cleaned up.
Name is encoded if needed.
| def with_name(self, name):
"""Return a new URL with name (last part of path) replaced.
Query and fragment parts are cleaned up.
Name is encoded if needed.
"""
# N.B. DOES cleanup query/fragment
if not isinstance(name, str):
raise TypeError("Invalid name type")
if "/" in name:
raise ValueError("Slash in name is not allowed")
name = self._PATH_QUOTER(name)
if name in (".", ".."):
raise ValueError(". and .. values are forbidden")
parts = list(self.raw_parts)
if self.is_absolute():
if len(parts) == 1:
parts.append(name)
else:
parts[-1] = name
parts[0] = "" # replace leading '/'
else:
parts[-1] = name
if parts[0] == "/":
parts[0] = "" # replace leading '/'
return URL(
self._val._replace(path="/".join(parts), query="", fragment=""),
encoded=True,
)
| (self, name) | [
0.0028472482226788998,
0.0015416971873492002,
-0.034868668764829636,
0.04098597913980484,
-0.07128465920686722,
-0.016570715233683586,
-0.008721665479242802,
-0.0029349597170948982,
0.05008997768163681,
0.007295792456716299,
0.02256208099424839,
0.02680821344256401,
0.026160499081015587,
0.0463116392493248,
0.031953953206539154,
-0.011658874340355396,
0.05458800122141838,
0.05894208699464798,
-0.004349587485194206,
-0.0010053080040961504,
0.003965006675571203,
-0.0033960069995373487,
-0.01890968717634678,
-0.011685862205922604,
0.025620736181735992,
0.02682620659470558,
-0.011299032717943192,
0.03792732581496239,
-0.03456280380487442,
-0.04962218552827835,
0.060453422367572784,
-0.005195215810090303,
0.04793092608451843,
0.0011672368273139,
0.0642317607998848,
-0.044080618768930435,
-0.026736244559288025,
0.04112991690635681,
-0.04944226145744324,
-0.03416697680950165,
0.03152213990688324,
-0.023335739970207214,
-0.07542283833026886,
-0.03272761031985283,
0.07974094152450562,
0.009877657517790794,
-0.02220223844051361,
0.034616779536008835,
-0.039114803075790405,
0.017146460711956024,
-0.005761966574937105,
-0.005968875717371702,
-0.004727421794086695,
0.0002755038731265813,
-0.02000720426440239,
0.02374955825507641,
0.022849954664707184,
0.10428215563297272,
0.025296878069639206,
0.01966535486280918,
0.03418496996164322,
-0.03663189336657524,
0.0012740648817270994,
0.0011627387721091509,
-0.03332135081291199,
0.025296878069639206,
0.01297229714691639,
-0.012207632884383202,
-0.030280686914920807,
0.03688378259539604,
0.022148262709379196,
0.012576471082866192,
-0.012189640663564205,
-0.0034409870859235525,
0.001497841440141201,
0.05383233353495598,
-0.023659598082304,
0.031000370159745216,
0.02740195207297802,
0.0065536187030375,
-0.006854986306279898,
-0.05163729935884476,
-0.027329985052347183,
-0.09852468222379684,
-0.07894928753376007,
0.009112993255257607,
-0.0608852319419384,
-0.0997481495141983,
0.059265945106744766,
-0.0019420211901888251,
-0.014762509614229202,
-0.007862543687224388,
-0.03416697680950165,
-0.01590500771999359,
0.016111915931105614,
-0.035336464643478394,
0.01939547248184681,
-0.06124507263302803,
0.02351566217839718,
-0.032547689974308014,
0.02547679841518402,
0.004102196544408798,
-0.09658154100179672,
-0.013979854062199593,
0.03166607767343521,
-0.02486506849527359,
0.053436506539583206,
-0.07938110083341599,
-0.04526809975504875,
-0.0333753265440464,
-0.013485071249306202,
-0.03157611936330795,
-0.035948194563388824,
0.010147538967430592,
0.0017598512349650264,
-0.0010907704709097743,
-0.009949625469744205,
-0.04087802767753601,
0.014942430891096592,
-0.0229039303958416,
-0.012387554161250591,
0.020528974011540413,
-0.04429652541875839,
-0.012504502199590206,
0.02911120094358921,
0.06261247396469116,
-0.03332135081291199,
-0.013386114500463009,
0.014546604827046394,
-0.04983808845281601,
0.014033829793334007,
0.05404823645949364,
-0.07873338460922241,
-0.0038885404355823994,
0.020960785448551178,
0.029057225212454796,
-0.03127025067806244,
0.01328715868294239,
-0.0084068039432168,
0.09787696599960327,
-0.06052539125084877,
-0.01297229714691639,
0.025278886780142784,
0.00958078820258379,
0.009976613335311413,
-0.026610299944877625,
0.04911840334534645,
-0.009355886839330196,
-0.030226711183786392,
-0.0019746317993849516,
0.046383608132600784,
0.030838441103696823,
0.07279599457979202,
0.034130994230508804,
0.052680838853120804,
-0.016885576769709587,
0.002656082157045603,
-0.018261970952153206,
-0.04487227275967598,
-0.0002895602083299309,
0.05077367648482323,
-0.023857511579990387,
-0.016624690964818,
-0.041777633130550385,
-0.010408423840999603,
-0.01357503142207861,
0.05372437834739685,
-0.03846708685159683,
0.010003602132201195,
0.04041023552417755,
0.04973013699054718,
0.03799929469823837,
-0.008726163767278194,
0.061784837394952774,
-0.037063706666231155,
0.011532929725944996,
-0.001108762575313449,
-0.03551638498902321,
0.03360922262072563,
-0.028571438044309616,
0.01878374256193638,
-0.02061893418431282,
0.016642682254314423,
0.005082765594124794,
0.024415265768766403,
-0.015976976603269577,
-0.06689459085464478,
0.02947104349732399,
0.0331234373152256,
0.02997482195496559,
-0.029884861782193184,
-0.018621813505887985,
0.018279964104294777,
-0.006634583231061697,
0.022490112110972404,
-0.03575028106570244,
-0.005905903410166502,
0.014357687905430794,
0.060345470905303955,
0.07700614631175995,
-0.021770428866147995,
0.029183169826865196,
-0.03200792893767357,
-0.022220231592655182,
0.05797051265835762,
-0.016147900372743607,
0.07715008407831192,
-0.022993890568614006,
0.016975536942481995,
0.0018284461693838239,
0.0010767141357064247,
0.05714287608861923,
-0.01776718907058239,
0.0373515784740448,
-0.03627205267548561,
-0.012693419121205807,
-0.048830531537532806,
0.022849954664707184,
0.06588703393936157,
0.04562794044613838,
-0.007007918786257505,
-0.00007969933358253911,
0.07707811146974564,
-0.026988133788108826,
-0.01527528464794159,
-0.04595179855823517,
0.030064782127738,
-0.02182440459728241,
-0.035732291638851166,
-0.007700614631175995,
0.011056139133870602,
-0.06135302782058716,
-0.014204754494130611,
0.0037018724251538515,
0.019809290766716003,
0.009787696413695812,
-0.0060093579813838005,
-0.005330156534910202,
0.01043541170656681,
-0.031360212713479996,
0.0015821794513612986,
-0.009967617690563202,
-0.02824758179485798,
0.025692705065011978,
-0.009373879060149193,
-0.030370647087693214,
-0.015347252599895,
0.028085652738809586,
0.014933434315025806,
-0.0308204498142004,
-0.0158690232783556,
0.01626484841108322,
-0.025422822684049606,
0.03756748512387276,
0.015725087374448776,
0.02256208099424839,
-0.07952503859996796,
0.0002198408474214375,
0.005752970930188894,
0.002478410257026553,
-0.038862913846969604,
-0.040806058794260025,
-0.02013314887881279,
-0.016228865832090378,
0.013359126634895802,
-0.056207288056612015,
-0.01401583757251501,
-0.04123786836862564,
-0.030118757858872414,
-0.00009755085920915008,
0.031144307926297188,
-0.026286443695425987,
-0.0052132080309093,
0.005010797176510096,
0.023083850741386414,
0.002824758179485798,
0.011730842292308807,
-0.005712488666176796,
-0.01903563179075718,
-0.03843110427260399,
0.010552360676229,
-0.047355178743600845,
0.010039586573839188,
-0.0069854287430644035,
0.02995682880282402,
-0.01024649478495121,
-0.000774222135078162,
0.03593020513653755,
-0.04051818698644638,
-0.002665078267455101,
0.031198283657431602,
-0.01890968717634678,
-0.03143218159675598,
0.009247934445738792,
-0.07358764857053757,
0.017182445153594017,
-0.01188377570360899,
-0.017605260014533997,
-0.019719330593943596,
-0.010417420417070389,
-0.010957182385027409,
-0.003015924012288451,
0.002602105960249901,
0.06333215534687042,
0.028355533257126808,
-0.053076665848493576,
-0.036577917635440826,
-0.011281040497124195,
-0.00034803448943421245,
0.07142859697341919,
-0.008487768471240997,
-0.020403029397130013,
-0.06570710986852646,
0.0154102249071002,
0.04551998898386955,
0.042641252279281616,
0.05019792914390564,
-0.03817921504378319,
0.03503059968352318,
0.025638727471232414,
-0.005532567389309406,
0.01820799522101879,
-0.07650236785411835,
-0.0017722208285704255,
-0.036218076944351196,
-0.02873336710035801,
0.008379816077649593,
0.05365241318941116,
-0.014924438670277596,
0.009490827098488808,
-0.05674705281853676,
0.03132423013448715,
0.007133863400667906,
0.010642320849001408,
-0.06657072901725769,
-0.0015506932977586985,
0.005505579523742199,
0.0003353838110342622,
0.01941346563398838,
-0.013377118855714798,
0.04242534935474396,
-0.014816486276686192,
-0.048218801617622375,
-0.041525743901729584,
-0.03521052002906799,
-0.009090503677725792,
-0.01188377570360899,
0.013530051335692406,
0.028535453602671623,
-0.034256938844919205,
-0.04026629775762558,
-0.10507380217313766,
-0.015455204993486404,
0.015536169521510601,
0.03213387355208397,
0.02087082341313362,
0.016516737639904022,
-0.0458078607916832,
-0.019323503598570824,
-0.04476432129740715,
0.03308745473623276,
-0.03997842222452164,
0.001171734882518649,
-0.021032752469182014,
0.04447644576430321,
-0.039114803075790405,
0.01717345044016838,
0.012540486641228199,
-0.061317041516304016,
-0.02220223844051361,
0.015734082087874413,
-0.03666787967085838,
0.08974454551935196,
-0.046635497361421585,
0.0189276784658432,
-0.023659598082304,
0.05944586545228958,
-0.0018351931357756257,
-0.013934873975813389,
-0.025009004399180412,
0.05264485627412796,
0.052572887390851974,
0.03879094496369362,
0.0130442650988698,
0.041777633130550385,
-0.04184960201382637,
0.05059375613927841,
0.0285174623131752,
0.02267003245651722,
0.0016642683185636997,
0.007444227114319801,
-0.010003602132201195,
0.056567128747701645,
0.027240024879574776,
-0.024649163708090782,
-0.028805335983633995,
-0.01966535486280918,
-0.02218424715101719,
-0.04908242076635361,
0.03882693126797676,
0.018711773678660393,
-0.007093381602317095,
0.0052806781604886055,
0.04134582355618477,
0.0321158803999424,
-0.04148975759744644,
0.08434692025184631,
0.06484349071979523,
0.005069271195679903,
0.01952141709625721,
-0.05750272050499916,
-0.06628286093473434,
-0.07434331625699997,
-0.01450162474066019,
0.07200434058904648,
0.006436670199036598,
0.05674705281853676,
-0.05483989045023918,
-0.013790937140583992,
0.017740201205015182,
-0.011406985111534595,
-0.006796511821448803,
-0.0016878829337656498,
0.03907882049679756,
-0.0005557868862524629,
-0.0064906463958323,
-0.00019875637372024357,
-0.008627207018435001,
-0.0001015569141600281,
0.007435231003910303,
-0.03832315281033516,
-0.06541924178600311,
-0.020888816565275192,
0.014771506190299988,
0.04354085773229599,
0.0054875873029232025,
0.03987047076225281,
0.02547679841518402,
-0.03918677195906639,
-0.04829077050089836,
0.007165349554270506,
-0.04692336916923523,
-0.013557040132582188,
-0.013359126634895802,
0.009760708548128605,
-0.051385410130023956,
-0.048686593770980835,
-0.032439738512039185,
-0.028427502140402794,
-0.030100766569375992,
0.02209428697824478,
0.03333934396505356,
-0.004455291200429201,
-0.03179202228784561,
-0.01666967198252678,
-0.024595186114311218,
0.002397445961833,
-0.017074493691325188,
0.022777985781431198,
0.057286813855171204,
0.0006623337976634502,
0.053184617310762405,
0.03915078565478325,
0.025386838242411613,
-0.023065859451889992,
0.002532386686652899,
0.024955028668045998,
0.013179205358028412,
-0.013647000305354595,
-0.08657793700695038,
-0.01552717387676239,
-0.00021660789207089692,
-0.009787696413695812,
0.06369199603796005,
-0.03189997375011444,
0.014870462007820606,
-0.06401585787534714,
0.017884137108922005,
0.05843830853700638,
-0.008325839415192604,
-0.02754588983952999,
-0.04436849430203438,
0.013359126634895802,
0.05206910893321037,
0.02803167514503002,
-0.011937751434743404,
-0.0007247438770718873,
0.06682261824607849,
0.023479677736759186,
0.024415265768766403,
0.02439727447926998,
0.04829077050089836,
-0.05905003845691681,
0.05994964390993118,
-0.0678301751613617,
0.008222385309636593,
-0.014906446449458599,
0.016570715233683586,
0.011433972977101803,
-0.01603095233440399,
0.02461317926645279,
-0.0659949854016304,
0.035462409257888794,
0.008195396512746811,
0.03695575147867203,
0.029543012380599976,
-0.0212306659668684,
0.020708896219730377,
-0.0025706198066473007,
0.0206009428948164,
-0.0788053497672081,
-0.022706016898155212,
0.04937029257416725,
0.011227063834667206,
-0.00046048505464568734,
-0.007826559245586395,
-0.06232459843158722,
0.0009935006964951754,
0.027311991900205612,
-0.04695935547351837,
-0.016129909083247185,
0.007336274720728397,
0.015176327899098396,
0.008879096247255802,
-0.025026997551321983,
-0.027383960783481598,
0.010588345117866993,
0.03539044037461281,
-0.006175784859806299,
0.043576840311288834,
0.027851754799485207,
0.018288958817720413,
0.0458078607916832,
0.025890616700053215,
0.06138901039958,
0.07229221612215042,
-0.057430751621723175,
-0.031486157327890396,
-0.039114803075790405,
0.05404823645949364,
0.035588353872299194,
0.0468154177069664,
0.006778520066291094,
-0.027923723682761192,
-0.05109753459692001,
-0.01641778275370598,
-0.004628465045243502,
0.07006119936704636,
0.09614972770214081,
-0.025638727471232414,
-0.023551644757390022,
0.024073416367173195,
-0.00881162565201521,
0.004659951198846102,
-0.020205117762088776,
-0.03846708685159683,
-0.057286813855171204,
-0.0032813074067234993,
-0.037171658128499985,
0.01641778275370598,
-0.018657797947525978,
0.023083850741386414,
0.05059375613927841,
0.0061487965285778046,
-0.03828716650605202,
0.033879105001688004,
0.025494791567325592,
-0.04609573259949684,
0.020690903067588806,
0.01335013099014759,
0.02860742248594761,
0.0024064420722424984,
0.054659970104694366,
0.032205842435359955,
-0.011263048276305199,
0.028175612911581993,
0.07383953779935837,
0.0025593747850507498,
0.04289314150810242,
-0.006306227296590805,
0.017983093857765198,
0.012765388004481792,
-0.03193596005439758,
-0.02741994522511959,
-0.04278519004583359,
-0.029021240770816803,
0.04005039110779762,
0.05642319470643997,
0.040949996560811996,
-0.016930555924773216,
-0.03521052002906799,
-0.03272761031985283,
0.0033982559107244015,
-0.010750273242592812,
0.0006747033912688494,
-0.005267184227705002,
-0.07448725402355194,
-0.049406278878450394,
-0.006625587120652199,
0.03321339935064316,
-0.006742535624653101,
-0.011317024938762188,
-0.008717167191207409,
0.04803888127207756,
-0.06246853619813919,
0.03314143046736717,
-0.008726163767278194,
0.03506658226251602,
-0.06221664696931839,
-0.0458078607916832,
0.07988487929105759,
-0.002898975508287549,
0.004898346494883299,
0.07722204923629761,
-0.019017638638615608,
0.005325658712536097,
-0.04404463618993759,
-0.013682984746992588,
-0.06642679870128632,
0.013134225271642208,
-0.033249381929636,
-0.005460599437355995,
-0.021050745621323586,
0.012630446814000607,
-0.06736238300800323,
-0.09399067610502243,
0.07067292928695679,
0.02281397022306919,
-0.04915438964962959,
-0.00036293419543653727,
-0.010390431620180607,
-0.022004324942827225,
-0.043001092970371246,
-0.03447284549474716,
-0.005667508114129305,
-0.05404823645949364,
0.031720053404569626,
-0.0052267019636929035,
0.005667508114129305,
0.032457731664180756,
-0.016759632155299187,
0.0303166713565588,
-0.02049298956990242,
0.01491544209420681,
-0.0772940143942833,
-0.0023794539738446474,
0.019701337441802025,
-0.08513856679201126,
-0.015194320119917393,
-0.014888454228639603,
0.01546420156955719,
0.03871897608041763,
0.08154015243053436,
-0.012954304926097393,
0.06052539125084877,
0.061317041516304016,
-0.006220764946192503,
-0.022634049877524376,
0.003186848945915699,
-0.0007219326216727495,
-0.018819725140929222,
-0.06919758021831512,
0.026358410716056824,
0.006958440877497196,
-0.03774740546941757,
0.06246853619813919,
0.023317748680710793,
-0.002952951705083251,
0.0030249201226979494,
-0.023119835183024406,
-0.04695935547351837,
-0.010336455889046192,
-0.0647355392575264,
-0.03429292142391205,
0.0068459901958703995,
-0.018342936411499977,
-0.009571791626513004,
-0.03411300107836723,
0.014321703463792801,
0.036577917635440826,
-0.02196834236383438,
-0.02765384130179882,
0.0032543193083256483,
0.03629004582762718,
0.051493361592292786,
0.06711049377918243,
-0.013323142193257809,
0.028445493429899216,
0.03933070972561836,
0.016912564635276794,
0.008816123940050602,
0.000649964262265712,
-0.04156172648072243,
0.010453403927385807,
-0.03540843352675438,
0.027186047285795212,
0.04087802767753601,
-0.059481848031282425,
0.06084924936294556,
-0.014492628164589405,
0.024181367829442024,
0.042209442704916,
0.016993528231978416,
-0.041525743901729584,
-0.02727600745856762,
-0.002026359084993601,
0.05725083127617836,
-0.03724362701177597,
-0.027743803337216377,
-0.0027775289490818977,
-0.045663923025131226,
0.017551284283399582,
0.0016766379121690989,
0.005438108928501606,
0.059373896569013596,
0.013080249540507793,
-0.01903563179075718,
-0.05095359683036804,
-0.0029731928370893,
0.04130983725190163,
0.0772940143942833,
0.0036816312931478024,
0.05070170760154724,
-0.02657431736588478,
-0.02716805599629879,
-0.02767183445394039,
-0.03799929469823837,
-0.05358044430613518,
0.02970493957400322,
-0.022040309384465218,
-0.028463486582040787,
0.10478593409061432,
0.01563512533903122,
0.00017415780166629702,
0.040590155869722366,
-0.02376755140721798,
0.01774919591844082,
0.007057397160679102,
-0.013026272878050804,
0.011263048276305199,
0.0058834133669734,
0.03528248891234398,
-0.051961153745651245,
-0.022040309384465218,
0.011613894253969193,
0.014402667991816998,
0.04767903685569763,
-0.009256930090487003,
-0.05311264842748642,
0.051709264516830444,
0.03682980686426163,
0.016939552500844002,
0.007637642323970795,
0.066498763859272,
0.03206190466880798,
-0.09096800535917282,
0.010624328628182411,
0.027365969493985176,
-0.0025346355978399515,
-0.03467075526714325,
-0.03661390393972397,
0.09449445456266403,
0.03828716650605202,
-0.006513136439025402,
-0.043216999620199203,
0.037675436586141586,
-0.0006280363886617124,
0.020834840834140778
] |
18,300 | yarl._url | with_password | Return a new URL with password replaced.
Autoencode password if needed.
Clear password if argument is None.
| def with_password(self, password):
"""Return a new URL with password replaced.
Autoencode password if needed.
Clear password if argument is None.
"""
# N.B. doesn't cleanup query/fragment
if password is None:
pass
elif isinstance(password, str):
password = self._QUOTER(password)
else:
raise TypeError("Invalid password type")
if not self.is_absolute():
raise ValueError("password replacement is not allowed for relative URLs")
val = self._val
return URL(
self._val._replace(
netloc=self._make_netloc(val.username, password, val.hostname, val.port)
),
encoded=True,
)
| (self, password) | [
0.010647961869835854,
-0.04432379826903343,
0.07387299835681915,
0.07875073701143265,
-0.0280646700412035,
0.005133996717631817,
0.005372581537812948,
0.012636170722544193,
0.0550689622759819,
-0.029796620830893517,
0.04262719303369522,
0.03909260034561157,
0.009463873691856861,
0.050933487713336945,
0.01624145545065403,
0.011805540882050991,
0.0136258564889431,
0.03313681110739708,
-0.009631766937673092,
-0.01673629879951477,
-0.008244439028203487,
-0.025466743856668472,
0.018079444766044617,
0.04301599785685539,
-0.024070579558610916,
0.026120644062757492,
-0.017867369577288628,
0.010798182338476181,
-0.010833527892827988,
0.0036097033880650997,
0.07047978788614273,
-0.013334252871572971,
0.06397613883018494,
0.0332605205476284,
0.07076255232095718,
-0.022762781009078026,
-0.0059116072952747345,
0.11487428098917007,
-0.051640406250953674,
-0.040082287043333054,
-0.01245944108814001,
0.012282711453735828,
-0.028471147641539574,
0.0019462354248389602,
0.08440608531236649,
0.024211963638663292,
-0.005019122269004583,
0.01830919273197651,
-0.04241511970758438,
-0.038951218128204346,
0.02741076983511448,
0.003402045927941799,
-0.004458005540072918,
0.017036739736795425,
0.035010144114494324,
0.023787811398506165,
-0.010338685475289822,
0.0981203094124794,
0.028329765424132347,
0.02992033213376999,
0.01507504004985094,
-0.04022366926074028,
-0.027375424280762672,
0.018556613475084305,
-0.027181021869182587,
0.023292969912290573,
-0.06899525970220566,
0.008297457359731197,
0.020677370950579643,
0.01141673605889082,
0.011399063281714916,
0.0030419593676924706,
-0.03274800628423691,
-0.030450521036982536,
0.023505045101046562,
0.024565422907471657,
0.012795227579772472,
0.014491831883788109,
0.021614037454128265,
-0.018556613475084305,
0.0019992543384432793,
-0.06475374847650528,
-0.0004528697463683784,
-0.009914534166455269,
-0.05892166867852211,
-0.02202051505446434,
-0.013113340362906456,
-0.05531638488173485,
0.06786418706178665,
0.04980241879820824,
-0.010241484269499779,
-0.011443245224654675,
-0.024653786793351173,
-0.03200574219226837,
0.025095611810684204,
0.0030971872620284557,
-0.0007847901433706284,
0.010188465006649494,
0.03782014548778534,
-0.028382783755660057,
0.03128115087747574,
0.007206151727586985,
-0.055033616721630096,
0.024335674941539764,
0.017292996868491173,
-0.02239164710044861,
0.027287060394883156,
-0.04863600432872772,
-0.018220828846096992,
-0.01748739928007126,
-0.04474794864654541,
-0.02239164710044861,
-0.017858531326055527,
0.03951675072312355,
-0.016418185085058212,
0.017125103622674942,
-0.0038770069368183613,
-0.07171689718961716,
0.062208838760852814,
-0.018450576812028885,
-0.02186145819723606,
0.08186117559671402,
-0.029460834339261055,
0.01261849794536829,
0.06666243076324463,
0.11381389945745468,
-0.05754317715764046,
-0.05195851996541023,
0.015428499318659306,
-0.036547694355249405,
0.0067996736615896225,
0.0681469589471817,
-0.027428442612290382,
0.008085382170975208,
-0.008050035685300827,
-0.020235545933246613,
0.0015739984810352325,
0.04503071680665016,
0.009066231548786163,
0.09317187964916229,
-0.042061660438776016,
0.040188323706388474,
0.02818838134407997,
-0.006918966304510832,
-0.0049219210632145405,
-0.01792922429740429,
0.035664044320583344,
-0.033172156661748886,
0.00880113709717989,
0.0013320997823029757,
0.08058872818946838,
-0.00147458806168288,
0.0703384056687355,
-0.003923398442566395,
0.013837932609021664,
0.029125047847628593,
0.011690666899085045,
-0.008849738165736198,
0.01961699314415455,
0.013970479369163513,
0.05008518695831299,
-0.045596253126859665,
0.011487428098917007,
-0.0231692586094141,
0.007943998090922832,
0.03672442212700844,
0.0964943915605545,
-0.055245690047740936,
0.026474103331565857,
-0.005509546957910061,
-0.0027525643818080425,
-0.025307686999440193,
-0.002739309798926115,
0.036830462515354156,
0.030114734545350075,
0.023098567500710487,
0.03341957926750183,
-0.06524859368801117,
-0.004053736571222544,
0.025343032553792,
-0.006600852590054274,
-0.011823214590549469,
0.02021787315607071,
0.023805486038327217,
0.08108356595039368,
-0.004594970960170031,
-0.019634665921330452,
0.0337907113134861,
0.01951095461845398,
0.0014856336638331413,
-0.05959324166178703,
-0.026262028142809868,
-0.006901293061673641,
-0.011346044018864632,
-0.01133720763027668,
-0.04775235429406166,
0.00238585053011775,
-0.04160216078162193,
0.01869799755513668,
0.08730445057153702,
-0.047610972076654434,
-0.01945793628692627,
-0.012247365899384022,
-0.04340480640530586,
0.05591726303100586,
-0.02735775150358677,
0.02387617714703083,
-0.018415231257677078,
-0.009684785269200802,
-0.023858504369854927,
0.04697474464774132,
0.00452427938580513,
-0.016312148422002792,
0.0193518977612257,
-0.038173608481884,
-0.01727532409131527,
-0.029778948053717613,
0.020748062059283257,
0.0031700883992016315,
0.07115136086940765,
0.05863890051841736,
-0.005677440203726292,
-0.006114846095442772,
-0.0632692202925682,
-0.012247365899384022,
-0.01635633036494255,
0.024353347718715668,
-0.07040909677743912,
-0.08136633783578873,
-0.055563803762197495,
0.016427021473646164,
-0.07115136086940765,
0.002150579122826457,
0.045879021286964417,
0.0654253214597702,
-0.03891587257385254,
0.004608226008713245,
-0.03149322420358658,
0.007307771593332291,
0.021490326151251793,
-0.04093058779835701,
0.003888052422553301,
0.026792217046022415,
0.051923174411058426,
-0.02039460279047489,
0.03101605549454689,
-0.030715614557266235,
0.03994090482592583,
0.007979344576597214,
-0.07164620608091354,
-0.05718971788883209,
0.008562551811337471,
-0.022533031180500984,
0.009110414423048496,
0.03577008470892906,
0.015781959518790245,
-0.027887940406799316,
0.025466743856668472,
0.007316607981920242,
-0.014182555489242077,
0.0033711183350533247,
-0.03622958064079285,
-0.03170530125498772,
-0.030061714351177216,
0.046197135001420975,
-0.07818520069122314,
-0.03396743908524513,
-0.04375826567411423,
-0.00988802406936884,
0.021790767088532448,
-0.010179628618061543,
0.006782000884413719,
-0.019829068332910538,
0.055846571922302246,
-0.008491859771311283,
0.017832022160291672,
0.047504931688308716,
0.014438813552260399,
0.0583207868039608,
-0.08348709344863892,
-0.014633215963840485,
-0.0012536760186776519,
0.018715670332312584,
-0.017982242628932,
0.024936554953455925,
-0.004298949148505926,
-0.026173662394285202,
0.050827451050281525,
-0.006627362221479416,
-0.00828420277684927,
0.057154372334480286,
-0.02442403882741928,
-0.03156391903758049,
-0.012706862762570381,
-0.03831499069929123,
0.016594914719462395,
-0.02338133379817009,
-0.013643530197441578,
-0.01188506931066513,
-0.026615487411618233,
-0.035451970994472504,
-0.0512516014277935,
-0.018415231257677078,
0.049130845814943314,
0.054927580058574677,
-0.023911522701382637,
0.002617808058857918,
-0.021454980596899986,
-0.009154596365988255,
0.056341417133808136,
0.03396743908524513,
-0.02191447839140892,
-0.03831499069929123,
0.0025493253488093615,
0.004789373837411404,
-0.04064782336354256,
0.024441711604595184,
-0.028877627104520798,
0.02431800216436386,
0.01370538491755724,
0.0003628480772022158,
-0.03601750358939171,
-0.006534579209983349,
-0.00904855877161026,
-0.023345988243818283,
0.012600825168192387,
0.049413613975048065,
0.06464771181344986,
-0.011469755321741104,
0.019475609064102173,
-0.03580543026328087,
0.06581412255764008,
0.0327126607298851,
-0.014421139843761921,
-0.08087149262428284,
-0.021454980596899986,
-0.0003070677921641618,
-0.039764173328876495,
0.023558063432574272,
-0.06457702070474625,
0.025325359776616096,
-0.033879075199365616,
-0.01237107627093792,
-0.031192785128951073,
0.016259128227829933,
-0.04549021273851395,
-0.024671461433172226,
0.008991121314466,
0.002688499866053462,
-0.062102802097797394,
-0.003070677863433957,
-0.02550208941102028,
-0.02228561043739319,
-0.005606748629361391,
0.01498667523264885,
0.03156391903758049,
-0.014050007797777653,
-0.007564029656350613,
-0.003291589906439185,
-0.03739599511027336,
0.006459468975663185,
-0.04121335595846176,
0.013192868791520596,
-0.013139850459992886,
0.03614121675491333,
0.017204632982611656,
-0.011363716796040535,
0.012936610728502274,
-0.005615585017949343,
0.015295952558517456,
0.05842682719230652,
-0.03757272660732269,
0.06298644840717316,
-0.05308958888053894,
0.01668328046798706,
-0.02212655358016491,
-0.0034683195408433676,
-0.03585844859480858,
0.005770223215222359,
-0.0031546244863420725,
0.05326632037758827,
0.007422645576298237,
0.028206054121255875,
0.022480012848973274,
0.019263533875346184,
-0.04948430508375168,
0.016329821199178696,
0.00776726845651865,
0.03571706265211105,
0.032465238124132156,
-0.055634498596191406,
-0.022762781009078026,
0.08468884974718094,
-0.004568461794406176,
0.0003054109402000904,
0.01055076066404581,
-0.006693636067211628,
-0.02141963504254818,
-0.007634721230715513,
0.0397995188832283,
0.02076573483645916,
-0.051817137748003006,
0.03661838546395302,
0.014262083917856216,
0.035010144114494324,
-0.04071851447224617,
0.03955209627747536,
0.01961699314415455,
-0.012176673859357834,
-0.008686263114213943,
-0.07164620608091354,
-0.036759767681360245,
-0.002798955887556076,
0.02675687149167061,
0.08384054899215698,
-0.032412219792604446,
0.0013232632772997022,
-0.040082287043333054,
-0.009711294434964657,
0.011346044018864632,
0.02141963504254818,
-0.05825009569525719,
-0.00254048896022141,
-0.008646498434245586,
-0.032571274787187576,
0.01111629605293274,
0.031139766797423363,
-0.040365055203437805,
-0.01723114214837551,
0.03700719028711319,
0.005156087689101696,
-0.014792272821068764,
-0.020535986870527267,
0.03672442212700844,
0.04863600432872772,
0.008703935891389847,
0.05842682719230652,
0.013687712140381336,
-0.004488933365792036,
-0.04736354947090149,
0.028365110978484154,
-0.05566984415054321,
0.03640630841255188,
0.00547861959785223,
0.0800938829779625,
-0.018273847177624702,
-0.05718971788883209,
0.0436168797314167,
-0.010762836784124374,
0.03410882502794266,
0.03888052701950073,
0.022373974323272705,
-0.00452427938580513,
-0.012954284437000751,
-0.07221174240112305,
0.013837932609021664,
0.0193518977612257,
-0.007634721230715513,
-0.003539011348038912,
0.06549601256847382,
0.03983486443758011,
0.011681830510497093,
-0.002224584575742483,
-0.004913084674626589,
-0.05648279935121536,
-0.018627306446433067,
0.0036295854952186346,
-0.0031612517777830362,
0.005487455986440182,
0.01880403608083725,
-0.0365123488008976,
-0.04927222803235054,
-0.030644923448562622,
0.030061714351177216,
0.02256837673485279,
0.052241288125514984,
-0.020076489076018333,
0.002633271971717477,
0.0009819541592150927,
-0.0006130310357548296,
-0.11155176162719727,
-0.0015220842324197292,
0.009013212285935879,
0.020571332424879074,
0.006680381018668413,
-0.01820315420627594,
0.033879075199365616,
0.015039694495499134,
0.03472737967967987,
0.040188323706388474,
0.02306322008371353,
0.07125739753246307,
-0.045596253126859665,
0.026350392028689384,
-0.0697375237941742,
-0.010391703806817532,
-0.03481574356555939,
-0.013201705180108547,
-0.03073328733444214,
-0.043192729353904724,
0.0468687042593956,
-0.009737804532051086,
0.02921341359615326,
0.019829068332910538,
0.027675865218043327,
-0.01880403608083725,
-0.03446228429675102,
0.02170240320265293,
0.03912794589996338,
0.0474342405796051,
-0.02834743820130825,
-0.004219420719891787,
0.07295400649309158,
-0.024653786793351173,
-0.029019009321928024,
-0.01869799755513668,
-0.04262719303369522,
0.019263533875346184,
0.021614037454128265,
-0.05436204373836517,
-0.02654479444026947,
0.07203500717878342,
-0.0047010090202093124,
-0.030167752876877785,
0.010285666212439537,
-0.029019009321928024,
0.009896861389279366,
0.014915983192622662,
-0.020412275567650795,
0.029831966385245323,
-0.023858504369854927,
0.005209106951951981,
0.03294241055846214,
0.001893216511234641,
0.05054468289017677,
0.03587612137198448,
-0.06860645115375519,
-0.02741076983511448,
-0.05220594257116318,
-0.0028232564218342304,
-0.008222347125411034,
0.0376080721616745,
-0.03195272386074066,
-0.025537436828017235,
-0.05361977964639664,
0.026527121663093567,
-0.04895411431789398,
0.04131939634680748,
0.0012989629758521914,
0.0004084112006239593,
-0.03958744555711746,
0.0018181063933297992,
0.03686580806970596,
0.024264981970191002,
-0.02246234007179737,
-0.017266487702727318,
-0.05209990218281746,
0.04354618862271309,
-0.030061714351177216,
0.057048335671424866,
0.011027931235730648,
0.00562883960083127,
-0.02931945025920868,
-0.0073386989533901215,
-0.03778479993343353,
-0.011575792916119099,
0.03506316617131233,
-0.03838568180799484,
-0.031157439574599266,
0.009154596365988255,
0.012282711453735828,
-0.005734877660870552,
-0.023946868255734444,
0.06549601256847382,
-0.0021450561471283436,
-0.03610587120056152,
0.04064782336354256,
-0.012088309042155743,
0.06606154888868332,
0.029584545642137527,
-0.01468623522669077,
0.054149966686964035,
-0.0016943956725299358,
-0.03242989256978035,
-0.0018700207583606243,
-0.02649177610874176,
0.0637994110584259,
0.047999776899814606,
-0.005323980934917927,
-0.0545034259557724,
-0.031192785128951073,
-0.04481864348053932,
-0.03538127616047859,
-0.03852706775069237,
-0.030591905117034912,
-0.049130845814943314,
-0.07203500717878342,
-0.07189362496137619,
0.03068026900291443,
0.0316169373691082,
-0.0234343521296978,
0.020182527601718903,
-0.002111919457092881,
-0.018680324777960777,
-0.07154016941785812,
0.02850649505853653,
-0.004195120185613632,
0.009463873691856861,
-0.06747538596391678,
-0.05510430783033371,
0.040082287043333054,
0.012627334333956242,
0.008460932411253452,
0.04011763259768486,
-0.042980652302503586,
0.010807018727064133,
-0.07267123460769653,
-0.020041143521666527,
-0.07457991689443588,
0.003976417239755392,
-0.04064782336354256,
0.04697474464774132,
-0.03340190649032593,
0.05195851996541023,
-0.05114556476473808,
-0.011858560144901276,
0.027004292234778404,
0.06740469485521317,
-0.04050643742084503,
-0.010471232235431671,
-0.034639012068510056,
0.017036739736795425,
-0.010471232235431671,
0.062208838760852814,
-0.05899235978722572,
-0.08589061349630356,
0.024264981970191002,
0.02753448113799095,
0.043899647891521454,
-0.0029027846176177263,
-0.038951218128204346,
0.02675687149167061,
-0.047116126865148544,
0.015525700524449348,
-0.04672732204198837,
0.01864497922360897,
-0.013590510934591293,
-0.06666243076324463,
-0.051322292536497116,
-0.047398895025253296,
0.002686290768906474,
0.031245803460478783,
0.0839112401008606,
0.0007025004015304148,
-0.002907202811911702,
0.015781959518790245,
0.0019937315955758095,
0.019440263509750366,
0.050332605838775635,
-0.0004271887301001698,
-0.014156045392155647,
-0.02513095736503601,
0.01945793628692627,
0.014845291152596474,
-0.04549021273851395,
0.06341060250997543,
0.01651538722217083,
-0.0091280872002244,
0.0015165613731369376,
-0.025042593479156494,
0.016806989908218384,
-0.028029324486851692,
-0.058462172746658325,
-0.01820315420627594,
0.016161927953362465,
-0.03849171847105026,
-0.04517210274934769,
-0.056553490459918976,
-0.019175168126821518,
0.006079500541090965,
0.019935104995965958,
-0.053655125200748444,
-0.01349330972880125,
0.022798126563429832,
-0.015181077644228935,
0.10002898424863815,
0.012963120825588703,
0.02965523675084114,
-0.023204604163765907,
-0.022904163226485252,
-0.0022002842742949724,
-0.03898656368255615,
-0.02050064131617546,
-0.030768634751439095,
0.0007842378690838814,
0.04803512245416641,
0.00002198765469074715,
-0.02157869189977646,
0.11805541068315506,
0.011107458733022213,
-0.014933655969798565,
0.04372291639447212,
0.007002912927418947,
0.00504121370613575,
0.011575792916119099,
-0.06729865819215775,
0.05750783160328865,
-0.03492178022861481,
-0.00040592593722976744,
0.027976306155323982,
-0.030397500842809677,
0.019033784046769142,
-0.023646429181098938,
-0.023858504369854927,
0.03721926733851433,
-0.03626492619514465,
-0.01716044917702675,
-0.036830462515354156,
-0.06493047624826431,
-0.010471232235431671,
0.057755254209041595,
-0.03255360201001167,
0.03416184335947037,
0.0031369514763355255,
0.044394489377737045,
-0.00515166949480772,
-0.06609689444303513,
-0.03144020587205887,
0.04644455388188362,
-0.050615373998880386,
-0.02447705715894699,
0.086102694272995,
0.0239822156727314,
0.015242933295667171,
-0.017319506034255028,
0.001988208619877696,
-0.055952612310647964,
-0.008319548331201077,
-0.020960137248039246,
0.04856530949473381,
0.02021787315607071,
0.03407347947359085,
-0.040471091866493225,
0.016966046765446663,
0.03158159181475639,
0.019422588869929314,
0.028594858944416046,
-0.020942464470863342,
-0.01919284090399742,
0.03340190649032593,
0.0005031272303313017,
0.03711322695016861,
-0.0005138966953381896,
0.043687570840120316,
0.06673312187194824,
-0.044500529766082764,
-0.012353403493762016,
0.024070579558610916,
-0.020677370950579643,
-0.009843842126429081,
-0.0348687618970871,
0.0441470704972744,
0.006048572715371847,
-0.02163171023130417,
-0.019634665921330452,
0.062102802097797394,
-0.013042649254202843,
0.03647700324654579
] |
18,301 | yarl._url | with_path | Return a new URL with path replaced. | def with_path(self, path, *, encoded=False):
"""Return a new URL with path replaced."""
if not encoded:
path = self._PATH_QUOTER(path)
if self.is_absolute():
path = self._normalize_path(path)
if len(path) > 0 and path[0] != "/":
path = "/" + path
return URL(self._val._replace(path=path, query="", fragment=""), encoded=True)
| (self, path, *, encoded=False) | [
0.03008202277123928,
0.019189950078725815,
-0.0350571945309639,
0.06254501640796661,
-0.015218695625662804,
-0.011282979510724545,
-0.003740263171494007,
-0.01051893550902605,
0.046055879443883896,
0.012837721034884453,
0.0593111589550972,
0.012935447506606579,
-0.005490457639098167,
0.027487825602293015,
-0.0035470311995595694,
0.026759319007396698,
0.0016369204968214035,
0.00026000270736403763,
-0.0005402725655585527,
0.0035625784657895565,
-0.012828836217522621,
-0.02038043737411499,
-0.04150715097784996,
0.031592343002557755,
0.059488844126462936,
0.014854442328214645,
-0.03450637310743332,
0.009817080572247505,
0.020504815503954887,
-0.07125157117843628,
0.07803912460803986,
-0.0009772658813744783,
0.011434011161327362,
0.009879270568490028,
0.006489934399724007,
0.0039024006109684706,
-0.036265451461076736,
0.024040741845965385,
-0.009568321518599987,
-0.043674904853105545,
-0.005366078577935696,
0.003842432051897049,
-0.03496835380792618,
-0.0313258171081543,
0.09630511701107025,
0.02201513573527336,
-0.017590787261724472,
-0.014019324444234371,
0.007853664457798004,
-0.005601510871201754,
0.025444451719522476,
-0.019136643037199974,
0.011496201157569885,
0.005992417223751545,
-0.048472389578819275,
0.01146954856812954,
0.011744959279894829,
0.11407358944416046,
0.03097044676542282,
-0.010501166805624962,
0.03349356725811958,
-0.02038043737411499,
0.009648280218243599,
0.029389051720499992,
-0.011060873977839947,
0.025302303954958916,
-0.054726891219615936,
-0.01116748433560133,
-0.016888931393623352,
0.03599892184138298,
0.019758541136980057,
0.009168531745672226,
-0.007276189047843218,
-0.0038490951992571354,
-0.01191376056522131,
0.02158869244158268,
-0.015796171501278877,
0.014045977033674717,
0.028696080669760704,
0.023614298552274704,
0.005219488404691219,
-0.05422937497496605,
0.008702108636498451,
-0.03702949360013008,
-0.06154998391866684,
-0.019598623737692833,
0.0006324465502984822,
-0.06599210202693939,
0.046517860144376755,
0.03390224277973175,
0.01580505631864071,
0.035412564873695374,
-0.044421177357435226,
-0.061336763203144073,
0.04989386722445488,
-0.003236082848161459,
0.043817050755023956,
-0.05739216133952141,
0.015396380797028542,
-0.05095997452735901,
0.06766233593225479,
-0.0024587123189121485,
-0.08870021253824234,
-0.026848159730434418,
0.06656069308519363,
0.030757224187254906,
0.06297146528959274,
-0.07196231186389923,
-0.03528818488121033,
-0.03582124039530754,
-0.0018901211442425847,
0.004417686257511377,
-0.04243110865354538,
0.02158869244158268,
-0.0027629972901195288,
-0.0013281932333484292,
-0.032391924411058426,
-0.06208303943276405,
0.03827328607439995,
-0.010048070922493935,
-0.03072168678045273,
0.028944840654730797,
-0.05394507944583893,
-0.007875874638557434,
0.059488844126462936,
0.05483350157737732,
-0.012873257510364056,
-0.0006069043301977217,
0.0035181574057787657,
-0.059488844126462936,
0.004322180524468422,
0.04598480463027954,
-0.034204307943582535,
-0.00045753814629279077,
-0.03301382064819336,
-0.00035814574221149087,
-0.049680646508932114,
-0.012251361273229122,
0.028553932905197144,
0.08329859375953674,
-0.0323563851416111,
-0.002785207936540246,
0.033777862787246704,
0.014045977033674717,
0.04260879382491112,
0.02667047642171383,
0.023099012672901154,
0.007800358813256025,
-0.04076087474822998,
0.03155680373311043,
0.05053353309631348,
-0.018550284206867218,
0.0894109457731247,
0.03240969032049179,
0.05074675381183624,
-0.023099012672901154,
0.004357717465609312,
0.017368681728839874,
0.016577983275055885,
0.0010805451311171055,
0.06744911521673203,
-0.030330780893564224,
0.03310266137123108,
-0.01392159704118967,
0.004144495818763971,
0.034950584173202515,
0.03827328607439995,
-0.00013374938862398267,
-0.047726113349199295,
0.025764284655451775,
0.060270655900239944,
-0.021375471726059914,
-0.04687322676181793,
0.010687735863029957,
-0.04911205545067787,
0.028838228434324265,
0.003587010083720088,
0.013859407976269722,
0.05195501074194908,
0.009355099871754646,
0.022317200899124146,
-0.010394555516541004,
0.01903003267943859,
0.02373867854475975,
0.031645648181438446,
-0.018337063491344452,
-0.053412023931741714,
0.005774753168225288,
0.017262069508433342,
0.0369228832423687,
-0.009013056755065918,
0.0018867895705625415,
0.030934909358620644,
0.00553932087495923,
-0.01366395503282547,
-0.03976583853363991,
0.04090302065014839,
-0.0286250077188015,
-0.011194136925041676,
0.1451328694820404,
0.029211366549134254,
0.02135770209133625,
-0.0014203671598806977,
-0.019829614087939262,
0.04957403615117073,
-0.017235416918992996,
0.056397128850221634,
-0.012411277741193771,
0.018354831263422966,
0.02690146677196026,
0.009710469283163548,
0.019189950078725815,
-0.023720908910036087,
-0.020131677389144897,
-0.03169895336031914,
-0.0008617708808742464,
-0.07238875329494476,
0.06457062810659409,
0.0264394860714674,
0.026563864201307297,
0.044136881828308105,
0.0029540082905441523,
-0.00154141488019377,
-0.03404439240694046,
0.014099282212555408,
-0.05348309874534607,
0.01580505631864071,
-0.05440706014633179,
-0.06354005634784698,
-0.026990307494997978,
0.019136643037199974,
-0.02761220559477806,
0.024556027725338936,
0.0033249252010136843,
0.043248459696769714,
0.012517888098955154,
0.034577444195747375,
-0.01366395503282547,
-0.008400045335292816,
-0.02038043737411499,
0.015645138919353485,
-0.03315596655011177,
-0.0019312107469886541,
-0.009212952107191086,
-0.02494693361222744,
0.024360574781894684,
-0.010092492215335369,
0.02732791006565094,
0.031308047473430634,
-0.0379534550011158,
-0.026546096429228783,
0.019474245607852936,
-0.0296555794775486,
0.03587454557418823,
0.006423302460461855,
0.017146574333310127,
-0.06567227095365524,
-0.007711516693234444,
-0.0242539644241333,
0.03507496416568756,
-0.04360383003950119,
-0.0235432256013155,
-0.003691399935632944,
0.027594435960054398,
0.01401043962687254,
-0.07103835046291351,
-0.03475512936711311,
-0.008617708459496498,
-0.0005361080984584987,
0.019278790801763535,
-0.059204548597335815,
-0.030206400901079178,
-0.024040741845965385,
-0.0000028804358862544177,
0.014774483628571033,
0.03184109926223755,
-0.03208985924720764,
-0.03031301312148571,
-0.03605222702026367,
-0.030241938307881355,
-0.04154268652200699,
-0.017830660566687584,
0.059097934514284134,
-0.014472420327365398,
-0.0020866848062723875,
0.027914268895983696,
0.005610394757241011,
0.05604175850749016,
-0.0532698780298233,
-0.009515016339719296,
0.050853364169597626,
-0.007955833338201046,
-0.03958815336227417,
0.035092730075120926,
0.021162249147892,
0.030153095722198486,
0.008333412930369377,
-0.03706503286957741,
0.003691399935632944,
-0.019563086330890656,
-0.020824648439884186,
-0.023241160437464714,
-0.015920549631118774,
0.0717846229672432,
0.06933257728815079,
0.002432059496641159,
-0.04662447050213814,
0.0050684562884271145,
-0.005228372756391764,
0.09651833772659302,
-0.008777624927461147,
-0.03512826934456825,
-0.06112354248762131,
0.035412564873695374,
0.035927850753068924,
0.0008684340282343328,
-0.005548205226659775,
-0.04079641029238701,
-0.02452049031853676,
-0.022121747955679893,
0.005925785284489393,
-0.009239605627954006,
-0.05216823145747185,
-0.009124110452830791,
-0.07747053354978561,
-0.05536655709147453,
0.04022781923413277,
0.04925420135259628,
-0.0016502467915415764,
-0.008120191283524036,
0.0012138086603954434,
0.037846844643354416,
0.017377564683556557,
-0.03827328607439995,
-0.012882142327725887,
-0.01059000939130783,
0.0040312218479812145,
-0.014179239980876446,
0.006712039932608604,
0.025444451719522476,
0.054300449788570404,
-0.023898594081401825,
-0.049218665808439255,
-0.00855551939457655,
-0.03674519807100296,
-0.00543271005153656,
-0.03699395805597305,
0.029868800193071365,
0.0007795916753821075,
-0.0702565386891365,
-0.01972300373017788,
-0.0867101401090622,
0.003924611024558544,
0.03901956230401993,
0.003551473142579198,
0.033920012414455414,
0.010741041041910648,
0.004186695907264948,
-0.00675201928243041,
-0.025213461369276047,
0.036674126982688904,
-0.02448495291173458,
0.020860185846686363,
-0.01233131904155016,
0.058920253068208694,
0.01991845667362213,
-0.00507289869710803,
0.012766647152602673,
-0.04328399524092674,
0.004213348962366581,
0.0240585096180439,
-0.027967574074864388,
0.09730014950037003,
-0.019900688901543617,
0.06975901871919632,
-0.013370774686336517,
-0.01366395503282547,
-0.007289515342563391,
-0.017546365037560463,
0.02293909713625908,
0.06019958108663559,
0.022512653842568398,
0.015289769507944584,
0.007151809986680746,
0.055650852620601654,
-0.02414735220372677,
0.08102422952651978,
-0.006720924284309149,
-0.0065521239303052425,
-0.026777086779475212,
-0.0437459759414196,
-0.01517427433282137,
0.04616248980164528,
-0.028411785140633583,
-0.02224612608551979,
-0.01343296468257904,
0.019225485622882843,
0.0012304666452109814,
0.025213461369276047,
0.0369228832423687,
0.028571702539920807,
-0.00028082513017579913,
0.03617660701274872,
0.02276141196489334,
0.05963099002838135,
-0.022459348663687706,
0.04392366111278534,
0.07853664457798004,
-0.002312122378498316,
0.0254089143127203,
-0.06222518905997276,
-0.036531977355480194,
-0.04243110865354538,
0.007844780571758747,
0.03745593875646591,
-0.03551917523145676,
0.022175053134560585,
-0.05330541357398033,
-0.016533562913537025,
0.009381753392517567,
-0.01688004843890667,
-0.018070535734295845,
-0.04662447050213814,
0.01392159704118967,
-0.022743644192814827,
-0.04985833168029785,
0.017555249854922295,
0.0071695782244205475,
0.038628656417131424,
0.04331953451037407,
-0.003969032317399979,
-0.06983008980751038,
-0.03596338629722595,
0.03415100276470184,
0.0005041803815402091,
0.030792761594057083,
0.020220519974827766,
-0.007009662222117186,
-0.003791347611695528,
-0.03926832228899002,
-0.029033683240413666,
-0.02276141196489334,
-0.02457379549741745,
-0.030934909358620644,
0.03603446111083031,
-0.038166675716638565,
-0.05870702862739563,
0.02434280514717102,
0.0029806611128151417,
-0.007835895754396915,
0.015378612093627453,
0.003977916669100523,
0.0035470311995595694,
0.020078372210264206,
-0.04634017497301102,
-0.03617660701274872,
0.03228531405329704,
-0.04403027147054672,
0.00005660229726345278,
0.05021370202302933,
0.014570146799087524,
0.01903003267943859,
0.007853664457798004,
-0.013122016564011574,
0.012819952331483364,
-0.022779179736971855,
-0.02839401736855507,
-0.00003862560333800502,
-0.03379563242197037,
-0.06698713451623917,
-0.02899814583361149,
-0.02242381125688553,
-0.05106658861041069,
0.03502165898680687,
0.02452049031853676,
0.012517888098955154,
-0.01683562621474266,
-0.007747053634375334,
-0.01198483444750309,
0.003691399935632944,
-0.02009614184498787,
-0.03774023428559303,
-0.010483398102223873,
0.03045516088604927,
0.024875860661268234,
0.003969032317399979,
0.00891088880598545,
0.0725664347410202,
0.02839401736855507,
0.05046245828270912,
0.0636821985244751,
0.05604175850749016,
-0.09317786246538162,
0.02686592936515808,
-0.03617660701274872,
-0.04317738488316536,
-0.07260197401046753,
0.003706947434693575,
0.009026383981108665,
-0.010972031392157078,
0.049680646508932114,
-0.050711218267679214,
-0.006791998166590929,
0.050178162753582,
0.03328034654259682,
0.025213461369276047,
-0.01233131904155016,
0.03372455760836601,
-0.00634334422647953,
0.011220789514482021,
-0.03226754441857338,
-0.011691654101014137,
0.02807418443262577,
0.028784923255443573,
0.0034781782887876034,
-0.006960798520594835,
-0.08137959986925125,
0.011043105274438858,
0.05856488272547722,
-0.028340712189674377,
-0.03328034654259682,
0.01604492962360382,
0.037846844643354416,
-0.03605222702026367,
-0.01991845667362213,
-0.03576793149113655,
-0.008524424396455288,
0.006392207462340593,
0.010092492215335369,
0.045629434287548065,
0.0030450718477368355,
0.00167912058532238,
0.04523852840065956,
0.08201926201581955,
0.05991528555750847,
0.12779085338115692,
0.005406057462096214,
-0.03201878443360329,
-0.06030619144439697,
-0.017688512802124023,
-0.009355099871754646,
0.03143242746591568,
-0.04001459851861,
-0.02336554042994976,
-0.018532516434788704,
-0.005703679285943508,
-0.019527550786733627,
0.027167992666363716,
0.09061920642852783,
-0.02480478584766388,
-0.07420113682746887,
0.01954531855881214,
0.007689306046813726,
0.05462028086185455,
0.013139784336090088,
-0.019332097843289375,
-0.03324481099843979,
0.04150715097784996,
-0.017546365037560463,
0.013015405274927616,
-0.050249237567186356,
0.011860454455018044,
-0.0011627243366092443,
0.02635064348578453,
-0.04179144650697708,
0.04111624136567116,
0.012722225859761238,
-0.02471594326198101,
0.0005097330431453884,
-0.01846144162118435,
0.02373867854475975,
-0.014747831039130688,
-0.00234988029114902,
-0.018852347508072853,
-0.025213461369276047,
0.010012533515691757,
0.03489727899432182,
-0.006090143695473671,
0.06037726625800133,
0.009301794692873955,
-0.011434011161327362,
0.02391636185348034,
0.019509781152009964,
-0.022974634543061256,
-0.02985103242099285,
-0.03072168678045273,
0.05039138346910477,
0.0358923114836216,
-0.0014747831737622619,
-0.03774023428559303,
-0.013317469507455826,
-0.05117319896817207,
-0.027434520423412323,
0.01831929385662079,
0.012757762335240841,
-0.029993180185556412,
-0.034577444195747375,
-0.030792761594057083,
0.00019892358977813274,
0.030757224187254906,
-0.02816302701830864,
0.0293357465416193,
-0.020273825153708458,
0.032711755484342575,
-0.0833696648478508,
0.018923422321677208,
0.03356464207172394,
0.02396966889500618,
-0.056965719908475876,
-0.036354292184114456,
0.01943870820105076,
0.020629195496439934,
0.0296555794775486,
0.049822792410850525,
0.02261926420032978,
-0.01027906034141779,
-0.05067567899823189,
-0.022441579028964043,
-0.08841591328382492,
-0.0020722479093819857,
-0.017972808331251144,
-0.03543033078312874,
-0.014579030685126781,
-0.004137832671403885,
-0.02686592936515808,
-0.041151780635118484,
0.0597020648419857,
0.0044909813441336155,
-0.054300449788570404,
-0.017919503152370453,
0.020504815503954887,
-0.04509638249874115,
-0.017102153971791267,
0.003056177170947194,
0.0029962086118757725,
-0.08038456737995148,
0.00979042798280716,
0.026226263493299484,
0.04044103994965553,
0.03445306792855263,
-0.08756303042173386,
0.04154268652200699,
-0.0867101401090622,
0.004935192875564098,
-0.053554173558950424,
0.0053038885816931725,
-0.013468501158058643,
-0.0806688591837883,
-0.03498611971735954,
-0.01828375644981861,
0.027256835252046585,
0.0072184414602816105,
0.0719267725944519,
-0.013797217980027199,
0.04388812556862831,
0.05049799755215645,
0.052026085555553436,
-0.01063442975282669,
0.06091032177209854,
0.02914029359817505,
-0.007995812222361565,
-0.02066473290324211,
0.02434280514717102,
-0.0013015405274927616,
-0.03614107146859169,
0.06108800694346428,
0.037242718040943146,
0.015778401866555214,
0.020131677389144897,
-0.04673108085989952,
-0.028269637376070023,
-0.027683278545737267,
-0.09929022192955017,
-0.0189767275005579,
-0.015334190800786018,
-0.03278283029794693,
-0.020184984430670738,
-0.06936811655759811,
0.015831708908081055,
0.022548191249370575,
-0.042502183467149734,
-0.029495662078261375,
-0.008826488628983498,
0.04328399524092674,
0.021002333611249924,
0.044421177357435226,
-0.004224454052746296,
0.0333869569003582,
0.034808434545993805,
-0.008897562511265278,
-0.01224247645586729,
-0.07896308600902557,
-0.049360815435647964,
-0.023489918559789658,
-0.00809353869408369,
0.03303159028291702,
0.038166675716638565,
-0.06229626014828682,
0.08201926201581955,
-0.022654801607131958,
0.010394555516541004,
0.04570050910115242,
0.030437391251325607,
-0.022175053134560585,
-0.0020722479093819857,
-0.0028585027903318405,
0.05117319896817207,
-0.06563673168420792,
-0.06186981871724129,
-0.010972031392157078,
-0.057889681309461594,
0.009941459633409977,
-0.018159378319978714,
-0.00785810686647892,
0.0813085287809372,
0.01576951891183853,
-0.011967065744102001,
-0.07882093638181686,
-0.0218729879707098,
-0.005512668285518885,
0.06112354248762131,
-0.03596338629722595,
0.010225755162537098,
0.010270176455378532,
-0.008391160517930984,
-0.016116004437208176,
-0.024680407717823982,
-0.028944840654730797,
0.07164248079061508,
-0.03521711006760597,
-0.034666288644075394,
0.08358289301395416,
0.0026519442908465862,
-0.03550140559673309,
0.004342170432209969,
-0.025870895013213158,
-0.03539479523897171,
0.021144481375813484,
0.006476608105003834,
0.028713850304484367,
0.01534307561814785,
0.04491869732737541,
0.003371567465364933,
-0.029317978769540787,
0.025675442069768906,
-0.011709422804415226,
0.03370679169893265,
0.012411277741193771,
-0.07391684502363205,
0.042040202766656876,
0.003151682671159506,
0.01651579514145851,
0.012233592569828033,
0.03969476372003555,
0.0624028705060482,
-0.06545905023813248,
-0.04445671662688255,
0.018479211255908012,
0.002096679527312517,
-0.018727969378232956,
-0.0688350573182106,
0.030668381601572037,
0.04015674442052841,
-0.017661860212683678,
0.012491235509514809,
0.07064744085073471,
-0.018123840913176537,
0.026386180892586708
] |
18,302 | yarl._url | with_port | Return a new URL with port replaced.
Clear port to default if None is passed.
| def with_port(self, port):
"""Return a new URL with port replaced.
Clear port to default if None is passed.
"""
# N.B. doesn't cleanup query/fragment
if port is not None:
if isinstance(port, bool) or not isinstance(port, int):
raise TypeError(f"port should be int or None, got {type(port)}")
if port < 0 or port > 65535:
raise ValueError(f"port must be between 0 and 65535, got {port}")
if not self.is_absolute():
raise ValueError("port replacement is not allowed for relative URLs")
val = self._val
return URL(
self._val._replace(
netloc=self._make_netloc(val.username, val.password, val.hostname, port)
),
encoded=True,
)
| (self, port) | [
0.001257608295418322,
-0.016062084585428238,
-0.022522220388054848,
0.016088560223579407,
-0.025311021134257317,
0.00997261330485344,
-0.0064380718395113945,
-0.004642119165509939,
0.014473526738584042,
-0.04070238396525383,
0.034136343747377396,
0.010784543119370937,
0.014164640568196774,
0.07243824005126953,
0.06456605345010757,
-0.0036183816846460104,
0.037948884069919586,
0.055599525570869446,
0.028311630710959435,
-0.021516133099794388,
-0.0027204053476452827,
0.003825776744633913,
-0.02123372256755829,
-0.0015058204298838973,
-0.016282718628644943,
0.07886306941509247,
-0.02312234230339527,
0.014694159850478172,
0.02548752911388874,
-0.028452835977077484,
0.029123561456799507,
-0.011331712827086449,
0.03194766491651535,
0.022945836186408997,
0.05920025706291199,
0.011243459768593311,
-0.03710165247321129,
0.07134389877319336,
-0.0335715226829052,
-0.023598909378051758,
0.01116403192281723,
-0.013343886472284794,
-0.047692038118839264,
0.006089471746236086,
0.07123799622058868,
0.015311933122575283,
0.04645649343729019,
-0.0031109258998185396,
-0.04041997343301773,
-0.060329899191856384,
-0.01589440368115902,
0.02190444804728031,
0.027587953954935074,
0.03417164459824562,
-0.02569933608174324,
0.017844799906015396,
-0.009284238331019878,
0.1276494562625885,
0.003117544809356332,
0.026158252730965614,
-0.03035910613834858,
-0.03253013640642166,
-0.019609864801168442,
-0.018321366980671883,
-0.01220541913062334,
0.004792149644345045,
-0.055740728974342346,
0.006221851799637079,
0.00794720184057951,
0.03108278289437294,
0.04063177853822708,
0.028805850073695183,
-0.04723311960697174,
-0.0032212422229349613,
0.019698116928339005,
0.04063177853822708,
-0.0011892120819538832,
0.02317529357969761,
0.0031771156936883926,
-0.0323006771504879,
0.06149483844637871,
-0.021445531398057938,
0.03840779885649681,
-0.028911752626299858,
-0.007854536175727844,
-0.02942362241446972,
-0.010546259582042694,
-0.060400500893592834,
0.026211204007267952,
0.039431534707546234,
-0.029405971989035606,
-0.031171035021543503,
-0.01786245033144951,
-0.06837859004735947,
0.04649179428815842,
-0.0020187923219054937,
0.013864579610526562,
-0.013255632482469082,
0.021869147196412086,
-0.11607062816619873,
0.006257153116166592,
0.019415706396102905,
-0.10576265305280685,
-0.02331649884581566,
0.04500913992524147,
0.001802571932785213,
0.04140840843319893,
-0.047127217054367065,
-0.03223007544875145,
0.009884360246360302,
-0.02684662863612175,
0.01216129306703806,
-0.0036250008270144463,
-0.001409845077432692,
-0.016344495117664337,
0.035001225769519806,
-0.040878888219594955,
-0.06654292345046997,
0.02146318182349205,
-0.0022383220493793488,
-0.06029459461569786,
0.07660379260778427,
-0.03717225417494774,
-0.002982958685606718,
0.035054177045822144,
0.07067317515611649,
-0.036783941090106964,
0.01830371655523777,
0.042185038328170776,
-0.047056615352630615,
0.03883141279220581,
0.03996105492115021,
0.0015378122916445136,
0.017359407618641853,
-0.02799391932785511,
0.03325381129980087,
-0.06707244366407394,
0.08662935346364975,
-0.05030433088541031,
0.07999271154403687,
-0.07822764664888382,
0.02382836863398552,
0.020421793684363365,
0.012152467854321003,
0.011419965885579586,
0.0025527242105454206,
0.02605234831571579,
0.01661808043718338,
-0.04751553013920784,
0.028947053477168083,
0.05161048099398613,
0.001559875556267798,
0.06064761057496071,
0.02361655980348587,
0.03964334353804588,
0.02312234230339527,
0.020227637141942978,
-0.011252284981310368,
0.02764090709388256,
-0.023881319910287857,
0.013793976977467537,
-0.023793065920472145,
0.037948884069919586,
-0.031100433319807053,
-0.022769330069422722,
0.011464092880487442,
0.053657952696084976,
-0.03847840055823326,
0.030535612255334854,
0.02871759608387947,
0.026158252730965614,
0.023863669484853745,
0.04472672939300537,
0.02834693156182766,
0.0064380718395113945,
0.03042970784008503,
0.016918141394853592,
-0.0539756678044796,
0.03115338459610939,
0.06110652536153793,
0.0134586151689291,
0.0027954205870628357,
0.0335715226829052,
0.022557521238923073,
0.054081570357084274,
0.023740114644169807,
-0.04239684343338013,
0.01514425128698349,
0.010131468996405602,
-0.014702985994517803,
0.02426963485777378,
-0.00933719053864479,
0.022275110706686974,
-0.02727024257183075,
-0.04098479449748993,
-0.025575781241059303,
0.0020066574215888977,
-0.025010960176587105,
0.03748996555805206,
0.04105539619922638,
-0.009143033064901829,
0.06968473643064499,
-0.026158252730965614,
-0.010660988278687,
0.014579431153833866,
-0.02506391331553459,
0.005657031200826168,
-0.02291053533554077,
0.012717287987470627,
0.04543275386095047,
0.01165824942290783,
-0.009504871442914009,
0.01938040554523468,
0.002052990486845374,
-0.04716251790523529,
-0.016768110916018486,
-0.09008888155221939,
0.022928185760974884,
0.016521001234650612,
0.05747049301862717,
0.02448144182562828,
-0.053516749292612076,
0.07596836984157562,
-0.05951796844601631,
-0.011243459768593311,
-0.036360323429107666,
0.03087097406387329,
-0.07024955749511719,
-0.07279124855995178,
0.013079126365482807,
-0.0024137254804372787,
-0.04772733896970749,
-0.01729762926697731,
0.05217530205845833,
0.08034572750329971,
-0.013582170009613037,
0.0033359716180711985,
-0.018974442034959793,
0.026211204007267952,
-0.02506391331553459,
-0.042185038328170776,
0.014597081579267979,
0.02102191559970379,
0.027870364487171173,
0.02418138086795807,
0.02850578911602497,
-0.049633607268333435,
0.02850578911602497,
-0.032053567469120026,
-0.036501530557870865,
-0.04077298566699028,
-0.03546014055609703,
-0.02928241714835167,
0.027376146987080574,
0.03283019736409187,
0.010793368332087994,
-0.11042242497205734,
0.0074573964811861515,
-0.03791357949376106,
0.020298238843679428,
-0.005061321891844273,
-0.06294219195842743,
0.003514684271067381,
-0.018603777512907982,
0.05849422886967659,
-0.0425027497112751,
-0.022416315972805023,
-0.0208277590572834,
0.03157699853181839,
0.022381015121936798,
0.008441420271992683,
-0.015620819292962551,
-0.01987462304532528,
0.04730372130870819,
0.03351857140660286,
0.023087041452527046,
-0.05263421684503555,
-0.010846319608390331,
0.018038956448435783,
-0.07250884175300598,
0.015100125223398209,
-0.008737068623304367,
-0.002433582441881299,
-0.052069395780563354,
0.014844190329313278,
0.013952833600342274,
-0.01708582229912281,
0.07547415047883987,
-0.014473526738584042,
-0.0073823812417685986,
0.030270852148532867,
-0.0025946444366127253,
-0.05153987556695938,
0.010961049236357212,
-0.06311869621276855,
0.04373829439282417,
0.004973068833351135,
0.04190262779593468,
-0.0017441042000427842,
-0.019627515226602554,
-0.043597087264060974,
-0.060329899191856384,
-0.03000609204173088,
0.07063787430524826,
0.02935301885008812,
0.03440110385417938,
-0.0073029533959925175,
-0.01636214554309845,
0.021710291504859924,
0.05245770886540413,
0.023457704111933708,
-0.07250884175300598,
-0.07053197175264359,
-0.03748996555805206,
0.04875107482075691,
-0.015673771500587463,
-0.017994830384850502,
-0.0327242910861969,
0.0034727640450000763,
0.006393945310264826,
-0.02857639081776142,
0.0025461053010076284,
-0.05634085088968277,
0.0006872718804515898,
-0.03766647353768349,
0.0010750344954431057,
0.059094350785017014,
0.06774316728115082,
-0.03840779885649681,
0.03816068917512894,
-0.012302498333156109,
0.06929642707109451,
-0.005361382849514484,
-0.0020827758125960827,
-0.040808286517858505,
-0.08133415877819061,
0.005101035814732313,
-0.003075624583289027,
0.014941269531846046,
-0.03208886831998825,
0.03228302672505379,
-0.03826659545302391,
-0.04846866428852081,
-0.02476385235786438,
0.04871577396988869,
-0.01420876756310463,
-0.010749241337180138,
0.0040949489921331406,
0.020280588418245316,
-0.04416190832853317,
-0.028805850073695183,
-0.03985515236854553,
-0.030465010553598404,
0.0009994676802307367,
0.005078972317278385,
0.015250155702233315,
-0.00187979347538203,
-0.09312479197978973,
0.023722464218735695,
-0.07639198005199432,
-0.014438225887715816,
-0.00248432788066566,
0.007188224233686924,
-0.009893185459077358,
0.04981011524796486,
0.005952679086476564,
-0.013723375275731087,
-0.030270852148532867,
0.03989045321941376,
0.019203899428248405,
0.037948884069919586,
-0.04529155045747757,
0.05934146046638489,
-0.055740728974342346,
0.021763242781162262,
-0.05153987556695938,
0.006389532703906298,
0.008141359314322472,
-0.0005366898840293288,
-0.0425027497112751,
0.019486309960484505,
0.026793675497174263,
0.06167134642601013,
0.03953744098544121,
0.0038632843643426895,
-0.08218139410018921,
0.019203899428248405,
0.00020270660752430558,
-0.011384665034711361,
0.02190444804728031,
-0.043667688965797424,
0.01626506820321083,
0.04688010737299919,
0.03486001864075661,
-0.0334303192794323,
-0.004123631399124861,
-0.018339017406105995,
-0.023863669484853745,
-0.013899881392717361,
0.02727024257183075,
0.022451618686318398,
-0.005657031200826168,
0.017800673842430115,
0.06297749280929565,
0.04666829854249954,
-0.01589440368115902,
0.07540354877710342,
0.036995746195316315,
0.018391970545053482,
-0.005965917371213436,
-0.04959830641746521,
-0.006221851799637079,
-0.06167134642601013,
0.016962267458438873,
0.035354238003492355,
-0.0010678638936951756,
0.024022525176405907,
-0.06230676919221878,
0.03798418492078781,
0.021692639216780663,
0.018974442034959793,
-0.05086915194988251,
0.015435487031936646,
0.036572132259607315,
-0.020492397248744965,
0.007166161201894283,
0.03816068917512894,
-0.027393797412514687,
-0.01636214554309845,
0.02432258613407612,
0.02223980985581875,
-0.055528923869132996,
-0.01671515963971615,
0.01216129306703806,
0.06357761472463608,
0.011578821577131748,
0.04204383119940758,
0.042185038328170776,
-0.002182060619816184,
-0.03876081109046936,
0.04091418907046318,
-0.05641145631670952,
0.017800673842430115,
-0.020615950226783752,
0.044620826840400696,
-0.00719704944640398,
-0.01165824942290783,
-0.008207549341022968,
-0.04416190832853317,
-0.016935791820287704,
0.013952833600342274,
-0.011684725992381573,
-0.008106057532131672,
-0.02742909826338291,
-0.016141513362526894,
-0.053163737058639526,
-0.028841150924563408,
0.009902010671794415,
0.0006574864382855594,
0.06153013929724693,
0.04804505035281181,
0.038584306836128235,
-0.01295557152479887,
-0.040808286517858505,
-0.05461109057068825,
-0.016459224745631218,
0.04246744513511658,
-0.020068781450390816,
-0.006393945310264826,
-0.004408248234540224,
-0.04797444865107536,
0.002437995048239827,
0.008039867505431175,
0.04765673726797104,
-0.04906878620386124,
0.048927582800388336,
-0.023422403261065483,
0.00770009309053421,
0.031171035021543503,
0.03738406300544739,
-0.07070847600698471,
-0.0015764230629429221,
0.039290331304073334,
0.05461109057068825,
0.0011506013106554747,
0.012840842828154564,
-0.010290324687957764,
0.05274011939764023,
-0.009460744448006153,
0.06869630515575409,
0.0012079658918082714,
0.030200250446796417,
-0.05951796844601631,
-0.011102254502475262,
-0.02331649884581566,
-0.012514306232333183,
-0.036713335663080215,
0.014138164930045605,
-0.01809190958738327,
0.0030954815447330475,
0.023422403261065483,
-0.03115338459610939,
-0.0024799152743071318,
0.01568259671330452,
0.031206335872411728,
-0.03553074598312378,
-0.02418138086795807,
0.05058674141764641,
-0.04387949779629707,
0.024728551506996155,
0.007179399020969868,
0.023351799696683884,
0.07540354877710342,
-0.022381015121936798,
-0.015850277617573738,
-0.003971394617110491,
-0.048186253756284714,
-0.01019324641674757,
0.017288804054260254,
-0.0653073787689209,
0.005105448421090841,
0.028329281136393547,
0.05662326142191887,
0.017800673842430115,
-0.0023673924151808023,
-0.02576993778347969,
0.03696044534444809,
0.01987462304532528,
-0.011172857135534286,
0.011534695513546467,
0.0030050219502300024,
0.013176204636693,
0.056658562272787094,
0.014808889478445053,
0.07709800451993942,
0.04832746088504791,
-0.021427880972623825,
-0.05175168439745903,
-0.04313817247748375,
0.0032609563786536455,
-0.028682295233011246,
0.029617778956890106,
-0.019362755119800568,
-0.059906281530857086,
-0.07540354877710342,
-0.0018952378304675221,
-0.047409627586603165,
0.062200866639614105,
0.07448571175336838,
-0.0026255331467837095,
-0.03618381917476654,
0.0536932572722435,
0.04098479449748993,
0.0132115064188838,
-0.015673771500587463,
-0.005118686240166426,
-0.009178333915770054,
0.01359982043504715,
-0.0003985184303019196,
0.010272674262523651,
-0.005590841174125671,
0.004774498753249645,
0.01442940067499876,
0.00788983702659607,
-0.03332441300153732,
0.001718731364235282,
-0.006358643993735313,
-0.10004384070634842,
-0.024234332144260406,
-0.004853926599025726,
0.03344796970486641,
0.002270313911139965,
-0.008260500617325306,
0.025946445763111115,
-0.004086123779416084,
-0.04878637567162514,
-0.008494371548295021,
-0.010925748385488987,
0.03738406300544739,
0.038937319070100784,
-0.04550335556268692,
0.03734876215457916,
-0.023281197994947433,
-0.04716251790523529,
-0.018462572246789932,
-0.03876081109046936,
-0.005586428567767143,
0.013290934264659882,
0.02820572815835476,
-0.04493853822350502,
-0.003183734603226185,
-0.021498482674360275,
-0.04772733896970749,
-0.04529155045747757,
0.00020477503130678087,
-0.038937319070100784,
-0.09397201985120773,
-0.05916495621204376,
0.02225746028125286,
0.05965917184948921,
-0.03042970784008503,
0.010978699661791325,
-0.01155234593898058,
-0.008476721122860909,
-0.05291662737727165,
-0.00006818939436925575,
-0.03560134768486023,
0.020774805918335915,
-0.045679863542318344,
-0.04034936800599098,
0.005339319352060556,
-0.019715767353773117,
-0.02497565932571888,
0.01108460407704115,
-0.019415706396102905,
-0.033765681087970734,
-0.013043825514614582,
0.005476112011820078,
-0.07505053281784058,
-0.024958008900284767,
-0.030694467946887016,
0.06693124026060104,
-0.01725350320339203,
0.0052643041126430035,
-0.026317108422517776,
-0.01853317581117153,
0.012770240195095539,
0.03210651874542236,
-0.07300306111574173,
-0.008401705883443356,
0.022063303738832474,
0.001493685645982623,
0.0005890902248211205,
0.015576692298054695,
-0.0857115238904953,
-0.07092028111219406,
0.012364275753498077,
0.02546987682580948,
0.034136343747377396,
0.03787827864289284,
0.008128121495246887,
0.009928486309945583,
-0.021551435813307762,
-0.04709191620349884,
-0.009478394873440266,
-0.0035499855875968933,
0.026458313688635826,
-0.05111626163125038,
-0.04027876630425453,
-0.04889228194952011,
0.0008869448211044073,
0.005039258394390345,
0.06491906195878983,
0.0021842671558260918,
0.021198421716690063,
0.04398540034890175,
0.009787281043827534,
0.01830371655523777,
0.03290079906582832,
0.01773889549076557,
-0.015744373202323914,
-0.03773707523941994,
0.035866107791662216,
-0.04730372130870819,
0.0132115064188838,
0.07575655728578568,
0.06770786643028259,
-0.03253013640642166,
-0.02448144182562828,
-0.015744373202323914,
-0.04737432673573494,
-0.034259896725416183,
-0.05390506237745285,
-0.015788499265909195,
0.0036448577884584665,
-0.01908034458756447,
-0.0643189400434494,
-0.0018489048816263676,
-0.04973950982093811,
0.005895314738154411,
0.00440604193136096,
-0.05920025706291199,
-0.004712721798568964,
0.05139867216348648,
-0.02275167778134346,
0.07681559771299362,
-0.015673771500587463,
-0.003377891844138503,
0.02118077129125595,
0.01428819540888071,
0.003761793253943324,
0.005379033274948597,
-0.02139257825911045,
-0.0008781194919720292,
-0.012884968891739845,
0.003700016066431999,
-0.010069691576063633,
-0.05115156248211861,
0.0327242910861969,
0.015567867085337639,
0.03311260789632797,
-0.004774498753249645,
0.03196531534194946,
-0.0076868548057973385,
-0.011605298146605492,
-0.028329281136393547,
0.05870603770017624,
-0.02289288304746151,
0.002590231830254197,
0.02275167778134346,
-0.016521001234650612,
0.038725510239601135,
-0.012064214795827866,
0.009628425352275372,
-0.011587646789848804,
0.03358917310833931,
-0.0067116571590304375,
-0.028382234275341034,
-0.0539756678044796,
0.017306454479694366,
0.06982593983411789,
-0.024022525176405907,
0.03770177438855171,
0.005961504764854908,
0.01270846277475357,
-0.029335368424654007,
-0.05055144056677818,
-0.028541089966893196,
0.05115156248211861,
-0.03115338459610939,
-0.011896532960236073,
0.08804140985012054,
0.03438345342874527,
-0.029388319700956345,
-0.016485700383782387,
0.011437616311013699,
-0.01442940067499876,
-0.022204509004950523,
-0.008159009739756584,
-0.019839322194457054,
-0.005705570336431265,
0.036360323429107666,
-0.021498482674360275,
-0.006115947850048542,
0.07971030473709106,
0.006521912757307291,
0.022381015121936798,
-0.005577603355050087,
0.005449635908007622,
0.03064151667058468,
-0.02139257825911045,
0.04091418907046318,
0.0003144020738545805,
0.07092028111219406,
0.04832746088504791,
-0.08719417452812195,
-0.015744373202323914,
0.05492880195379257,
-0.00038776255678385496,
-0.018833236768841743,
-0.05930615961551666,
0.07356788218021393,
0.00958429928869009,
-0.010563910007476807,
0.026828976348042488,
0.06795497238636017,
0.031471095979213715,
-0.0028064523357897997
] |
18,303 | yarl._url | with_query | Return a new URL with query part replaced.
Accepts any Mapping (e.g. dict, multidict.MultiDict instances)
or str, autoencode the argument if needed.
A sequence of (key, value) pairs is supported as well.
It also can take an arbitrary number of keyword arguments.
Clear query if None is passed.
| def with_query(self, *args, **kwargs):
"""Return a new URL with query part replaced.
Accepts any Mapping (e.g. dict, multidict.MultiDict instances)
or str, autoencode the argument if needed.
A sequence of (key, value) pairs is supported as well.
It also can take an arbitrary number of keyword arguments.
Clear query if None is passed.
"""
# N.B. doesn't cleanup query/fragment
new_query = self._get_str_query(*args, **kwargs) or ""
return URL(
self._val._replace(path=self._val.path, query=new_query), encoded=True
)
| (self, *args, **kwargs) | [
0.0011839118087664247,
-0.03605144843459129,
0.008914944715797901,
0.00851882342249155,
-0.03962988778948784,
0.02661576122045517,
-0.04205112159252167,
-0.012328704819083214,
0.051023926585912704,
-0.03033662587404251,
-0.000635907519608736,
0.003133360529318452,
-0.007188035640865564,
0.04019958898425102,
0.052056510001420975,
0.02426574006676674,
-0.017963413149118423,
0.03334536403417587,
0.053053490817546844,
-0.029749121516942978,
0.006489260587841272,
0.011358431540429592,
-0.027434706687927246,
0.05316030979156494,
0.02558317594230175,
-0.00443299300968647,
-0.008683503605425358,
-0.04027080163359642,
0.022948304191231728,
0.0017068802844733,
0.10717517137527466,
0.004032421391457319,
0.04924360662698746,
-0.005314250476658344,
0.021292608231306076,
-0.033309757709503174,
-0.004477500915527344,
0.05593760684132576,
-0.030087381601333618,
-0.044116292148828506,
-0.03140481561422348,
-0.019619109109044075,
-0.04187308996915817,
-0.008220620453357697,
0.07790673524141312,
0.031226785853505135,
-0.043226130306720734,
0.01906721107661724,
-0.028057819232344627,
0.029927153140306473,
0.040698081254959106,
0.0034137605689466,
0.016352225095033646,
0.0010804308112710714,
-0.07032258063554764,
0.013209963217377663,
-0.04066247493028641,
0.0850992202758789,
0.05775352939963341,
0.012248590588569641,
0.0477481409907341,
-0.007455083541572094,
-0.009266557171940804,
0.023428991436958313,
-0.03777835890650749,
-0.0007265924359671772,
-0.037066228687763214,
0.004597672261297703,
-0.009092976339161396,
0.018604326993227005,
0.0025280520785599947,
-0.013103143312036991,
-0.023963086307048798,
-0.007143527735024691,
-0.011456348933279514,
0.0444011427462101,
-0.054442137479782104,
0.022093752399086952,
0.002307737711817026,
-0.0067028990015387535,
0.03653213381767273,
-0.05622245743870735,
-0.005915108136832714,
-0.06444752961397171,
-0.07249456644058228,
-0.044472355395555496,
-0.03582000732421875,
-0.029197221621870995,
0.049279212951660156,
0.0024012045469135046,
-0.009159738197922707,
0.021986933425068855,
-0.040057163685560226,
-0.03101314790546894,
0.035321518778800964,
-0.0065026129595935345,
0.007099019829183817,
-0.04297688603401184,
0.003958983346819878,
-0.05052543804049492,
0.05223454162478447,
-0.02252102829515934,
-0.04678677022457123,
-0.022449815645813942,
0.008447610773146152,
-0.043190523982048035,
0.04742768406867981,
-0.11159036308526993,
-0.025725601240992546,
-0.008460963144898415,
0.0013229991309344769,
-0.013014127500355244,
-0.03920261189341545,
0.03891776129603386,
-0.012844997458159924,
0.052056510001420975,
-0.022093752399086952,
-0.04881633073091507,
0.05148680880665779,
-0.014945773407816887,
-0.058180805295705795,
0.03959428146481514,
-0.022253980860114098,
-0.01685071364045143,
0.051700446754693985,
0.051664840430021286,
-0.02903699316084385,
-0.0289835836738348,
0.03379044309258461,
-0.04813981056213379,
0.02257443778216839,
0.021951327100396156,
-0.030514657497406006,
-0.0022554409224539995,
0.040947325527668,
0.017910003662109375,
-0.044828418642282486,
-0.013103143312036991,
0.03849048539996147,
0.08702196180820465,
-0.057148221880197525,
0.00555459363386035,
0.019619109109044075,
0.006213311571627855,
-0.010227929800748825,
-0.02830706350505352,
0.03145822510123253,
-0.007459534332156181,
0.017536137253046036,
0.013601632788777351,
0.08616741001605988,
-0.01538195088505745,
0.07947341352701187,
0.02485324628651142,
0.011305022053420544,
-0.006996651645749807,
0.023428991436958313,
-0.0307639017701149,
0.01126051414757967,
-0.0030755000188946724,
0.08581134676933289,
-0.0119459368288517,
0.04329734295606613,
-0.03001616895198822,
0.006938790902495384,
-0.0009113004780374467,
0.0717468336224556,
-0.04497084394097328,
0.013334585353732109,
0.0178654957562685,
0.04034201428294182,
0.008732462301850319,
-0.02115018293261528,
0.020936544984579086,
0.0024657410103827715,
0.03959428146481514,
-0.012141771614551544,
-0.01692192628979683,
-0.0054566762410104275,
0.015462066046893597,
0.016476847231388092,
-0.02350020408630371,
0.008705757558345795,
0.02018881030380726,
0.05020498111844063,
-0.027826378121972084,
-0.048317842185497284,
-0.00486917095258832,
-0.010352551937103271,
0.00741057563573122,
-0.016316618770360947,
-0.03781396523118019,
-0.01910281740128994,
0.0012818293180316687,
-0.02285928837954998,
-0.030283216387033463,
-0.01942327432334423,
0.0017035421915352345,
0.048246629536151886,
0.13152992725372314,
-0.06234675273299217,
-0.0003012632660102099,
-0.013494813814759254,
-0.027772966772317886,
0.010236831381917,
-0.04988452419638634,
0.0408049002289772,
-0.047214046120643616,
0.01814144477248192,
-0.03489424288272858,
0.008314087055623531,
0.01805242896080017,
-0.012212984263896942,
-0.021613065153360367,
-0.009400081820786,
0.04169505834579468,
-0.03727986663579941,
0.0443299300968647,
0.02148844301700592,
0.004824663046747446,
0.05287545919418335,
-0.01328117586672306,
0.052376966923475266,
-0.025369537994265556,
-0.006587178446352482,
-0.036710165441036224,
0.07306426763534546,
-0.03548174723982811,
-0.054406531155109406,
-0.014411677606403828,
0.01660146936774254,
-0.0187823586165905,
0.02257443778216839,
0.04543372616171837,
0.04902996867895126,
-0.016352225095033646,
0.011135892011225224,
0.0034871988464146852,
0.015097100287675858,
-0.03266884386539459,
0.023963086307048798,
-0.008496569469571114,
-0.027203265577554703,
0.02428354322910309,
-0.014919068664312363,
-0.0031778684351593256,
0.018924785777926445,
0.058536868542432785,
0.0058839526027441025,
-0.009311065077781677,
-0.009578113444149494,
-0.02868092991411686,
-0.009782849811017513,
0.024693015962839127,
0.014331563375890255,
0.03788517788052559,
-0.04511326923966408,
0.037351079285144806,
-0.02148844301700592,
-0.03263323754072189,
-0.04262082278728485,
-0.018853573128581047,
-0.008158309385180473,
0.023660432547330856,
0.003140036715194583,
-0.033291954547166824,
-0.004421866033226252,
-0.0273456908762455,
-0.016085177659988403,
0.004780155140906572,
0.008483217097818851,
-0.023802857846021652,
-0.009862964041531086,
0.046573128551244736,
-0.009515802375972271,
0.03541053459048271,
0.013948795385658741,
-0.034644998610019684,
-0.033291954547166824,
-0.031173376366496086,
-0.021577458828687668,
-0.06320130825042725,
0.023731645196676254,
-0.05867929756641388,
0.035730991512537,
-0.008665700443089008,
0.005225234664976597,
0.052412573248147964,
0.0009268783032894135,
-0.021292608231306076,
0.05529668927192688,
-0.027488116174936295,
-0.05768231675028801,
0.04664434492588043,
-0.04408068582415581,
0.024817639961838722,
0.009057370014488697,
-0.017571743577718735,
0.033291954547166824,
0.010530583560466766,
-0.012382114306092262,
-0.04226475954055786,
0.024301346391439438,
0.040769293904304504,
0.060174763202667236,
-0.008674602024257183,
-0.025476356968283653,
0.008100449107587337,
0.001740261330269277,
0.045540545135736465,
-0.012275295332074165,
-0.019031604751944542,
-0.08225071430206299,
-0.04326173663139343,
-0.028057819232344627,
0.006066435016691685,
-0.006084238179028034,
-0.04365340992808342,
-0.002441261662170291,
0.00973834190517664,
-0.012026051059365273,
-0.03181429207324982,
-0.03962988778948784,
0.011750102043151855,
-0.0546201691031456,
-0.04888754338026047,
0.020295631140470505,
0.054121680557727814,
0.05394364893436432,
-0.009951979853212833,
-0.010103306733071804,
0.04714283347129822,
0.020972151309251785,
-0.0012273070169612765,
-0.05964066833257675,
-0.03067488595843315,
0.008483217097818851,
0.017367007210850716,
0.0051851775497198105,
0.02116798609495163,
0.012453327886760235,
0.00939117930829525,
-0.021648671478033066,
-0.017438219860196114,
-0.018906982615590096,
-0.016859615221619606,
-0.0512375645339489,
-0.0004737316048704088,
0.018693342804908752,
-0.1055372804403305,
-0.005924009718000889,
-0.10026753693819046,
0.016539158299565315,
0.014117925427854061,
0.05778913572430611,
0.0273100845515728,
0.021025560796260834,
-0.03484083339571953,
-0.002055155113339424,
-0.04222915321588516,
0.04842466115951538,
-0.023731645196676254,
-0.008069293573498726,
-0.022449815645813942,
0.03995034471154213,
0.0047222948633134365,
0.01538195088505745,
-0.027078643441200256,
-0.048673905432224274,
0.010361453518271446,
0.020331237465143204,
-0.042086727917194366,
0.07455973327159882,
0.005323152057826519,
0.017874397337436676,
-0.015640096738934517,
-0.0255653727799654,
0.019725928083062172,
-0.016013965010643005,
0.007717680651694536,
0.03642531484365463,
0.007107921410351992,
0.03784957155585289,
-0.00431059580296278,
0.04582539573311806,
-0.012293098494410515,
0.04500645026564598,
0.02764834463596344,
0.037707146257162094,
-0.005866149440407753,
-0.04977770522236824,
-0.03624728322029114,
0.025351734831929207,
0.00023936937213875353,
-0.038739729672670364,
0.0290191899985075,
0.029393058270215988,
-0.006760759279131889,
-0.04611024633049965,
0.019619109109044075,
0.0443299300968647,
-0.06580056995153427,
0.02868092991411686,
0.03710183501243591,
0.0717468336224556,
-0.05077468231320381,
0.049635279923677444,
0.03813442215323448,
0.02625969611108303,
0.0016345548210665584,
-0.05739746615290642,
-0.12220105528831482,
-0.07349154353141785,
0.019530093297362328,
0.044828418642282486,
-0.034609392285346985,
-0.0023655982222408056,
-0.01944107748568058,
-0.034288931638002396,
0.055723968893289566,
0.02663356438279152,
-0.010673008859157562,
-0.002832931699231267,
0.03507227450609207,
0.0035005512181669474,
-0.01847970485687256,
0.02869873307645321,
-0.030496854335069656,
0.04404507949948311,
0.05091710761189461,
-0.010664107277989388,
-0.06893392652273178,
-0.028538504615426064,
0.03172527626156807,
0.008834830485284328,
0.07726582139730453,
0.029962759464979172,
0.024408165365457535,
0.03888215497136116,
-0.03555295988917351,
-0.03820563480257988,
-0.06263159960508347,
0.015408656559884548,
-0.013601632788777351,
0.017464924603700638,
-0.044507961720228195,
-0.0324552059173584,
-0.005474479403346777,
0.022752469405531883,
0.013423601165413857,
0.06398464739322662,
0.015746915712952614,
-0.05622245743870735,
0.010610697790980339,
-0.001622315146960318,
-0.06957484781742096,
-0.00845206156373024,
0.022075949236750603,
-0.013744058087468147,
0.059925518929958344,
0.027363494038581848,
-0.0005997447879053652,
-0.02284148521721363,
0.009453491307795048,
-0.01726018637418747,
0.026758186519145966,
-0.0171088594943285,
0.02522711269557476,
-0.07292184233665466,
-0.06914757192134857,
-0.035606369376182556,
0.02729228138923645,
-0.06028158217668533,
0.025654388591647148,
0.005051653366535902,
0.04514887556433678,
-0.03505447134375572,
-0.024693015962839127,
0.03167186677455902,
0.014874560758471489,
-0.033291954547166824,
-0.0036652307026088238,
0.018942588940262794,
0.030603673309087753,
0.011331726796925068,
0.002832931699231267,
0.04358219727873802,
0.03923821821808815,
0.04561175778508186,
0.029784727841615677,
0.02802221290767193,
0.062275540083646774,
-0.02011759765446186,
0.02903699316084385,
-0.04130338877439499,
-0.0057326252572238445,
-0.03955867514014244,
-0.026366516947746277,
0.014812249690294266,
0.006983299273997545,
0.04603903368115425,
-0.035250306129455566,
0.030603673309087753,
0.04126778244972229,
0.04062686860561371,
-0.027434706687927246,
-0.001874897861853242,
0.06533768773078918,
-0.008176112547516823,
0.020384646952152252,
-0.07356275618076324,
-0.04536251351237297,
0.07092788815498352,
-0.018337279558181763,
0.02045585960149765,
-0.014883462339639664,
-0.0717468336224556,
-0.0028996935579925776,
0.016806205734610558,
-0.030496854335069656,
-0.008834830485284328,
0.0923629179596901,
0.001960575580596924,
-0.03948746249079704,
-0.025351734831929207,
-0.03831245377659798,
0.0021096772979944944,
0.014767741784453392,
0.023090729489922523,
0.020473662763834,
-0.0023277662694454193,
-0.02319754846394062,
0.05419289320707321,
0.024123314768075943,
0.044294323772192,
0.07014454901218414,
-0.0005858360091224313,
-0.05415728688240051,
-0.00939117930829525,
0.02250322513282299,
0.01076202467083931,
0.06074446439743042,
-0.0033091669902205467,
-0.03042564168572426,
-0.039416249841451645,
0.019013801589608192,
0.00923985242843628,
0.06911195814609528,
0.04977770522236824,
0.007601959630846977,
-0.08104009181261063,
0.0009430124191567302,
0.03809881582856178,
0.071818046271801,
-0.04233597218990326,
0.0028485094662755728,
-0.05006255581974983,
0.011589872650802135,
-0.02460400015115738,
0.0012907308991998434,
-0.0016200897516682744,
0.01568460464477539,
-0.002216496504843235,
0.024158921092748642,
-0.05326712876558304,
-0.004237157758325338,
0.044828418642282486,
0.002134156646206975,
-0.014287055470049381,
0.02216496504843235,
0.02866312675178051,
-0.018212657421827316,
-0.026847202330827713,
0.017331400886178017,
-0.0204024501144886,
-0.03006957843899727,
0.011874724179506302,
-0.02353581041097641,
0.071461983025074,
-0.027808574959635735,
-0.0144917918369174,
0.034217718988657,
-0.02154185250401497,
-0.03898897394537926,
0.01570240780711174,
0.003947856370359659,
0.023998692631721497,
0.052697427570819855,
0.0013719579437747598,
-0.057183828204870224,
-0.004820212256163359,
-0.052056510001420975,
-0.016743894666433334,
-0.001643456402234733,
0.027416903525590897,
-0.030585870146751404,
-0.047214046120643616,
-0.053730010986328125,
-0.028841158375144005,
0.006952143739908934,
-0.04938603192567825,
0.015203919261693954,
-0.008870436809957027,
0.0008178337593562901,
-0.05561714991927147,
0.018586523830890656,
0.004076929297298193,
0.06081567704677582,
-0.06978848576545715,
-0.06263159960508347,
0.03998595103621483,
0.025333931669592857,
0.018853573128581047,
0.08153858780860901,
-0.0239274799823761,
-0.032579828053712845,
-0.06444752961397171,
0.0060041239485144615,
-0.06964606046676636,
-0.0004442450881469995,
-0.003847713116556406,
0.02357141673564911,
-0.034609392285346985,
0.015933850780129433,
-0.02350020408630371,
-0.06569375097751617,
0.03270445019006729,
0.013209963217377663,
-0.044543568044900894,
-0.02973131835460663,
-0.0033336463384330273,
-0.0024501632433384657,
0.0005182395689189434,
-0.0015054817777127028,
-0.007535197772085667,
-0.056151244789361954,
0.02220057137310505,
0.00973834190517664,
-0.006088688969612122,
0.02599264867603779,
-0.0683998316526413,
0.044899631291627884,
-0.025814617052674294,
0.00502049783244729,
-0.04635949060320854,
0.018230460584163666,
0.004025745205581188,
-0.09357354044914246,
-0.024995671585202217,
-0.02250322513282299,
0.05262621492147446,
0.027185462415218353,
0.0990569144487381,
0.016183095052838326,
0.0012050530640408397,
0.062275540083646774,
-0.006377990823239088,
-0.012898406945168972,
0.036336299031972885,
0.00939117930829525,
-0.009319966658949852,
-0.02791539393365383,
0.006689546629786491,
-0.05394364893436432,
-0.03717304766178131,
0.029072599485516548,
0.02455059066414833,
0.012034952640533447,
0.04870951175689697,
-0.015791425481438637,
-0.034342341125011444,
-0.02595704235136509,
-0.07074985653162003,
-0.0012762658298015594,
-0.01534634456038475,
-0.0749870091676712,
-0.005349856801331043,
-0.014180236496031284,
0.0017725295620039105,
0.013512616977095604,
-0.013717353343963623,
-0.015729112550616264,
-0.022360799834132195,
0.06380661576986313,
-0.04803299158811569,
0.07131955772638321,
-0.03211694583296776,
0.025779010728001595,
0.03304271027445793,
-0.0010576203931123018,
0.04137460142374039,
-0.05390804260969162,
-0.05362319201231003,
-0.047641322016716,
0.011322825215756893,
-0.0015611167764291167,
-0.010859942063689232,
-0.09172200411558151,
0.0784764364361763,
-0.01363723911345005,
0.02599264867603779,
0.03881094232201576,
0.016556961461901665,
-0.02257443778216839,
-0.0024167823139578104,
0.007103470619767904,
0.05259060487151146,
-0.04532690718770027,
-0.039024580270051956,
0.020562678575515747,
-0.07334911823272705,
0.00545222545042634,
-0.008674602024257183,
0.018853573128581047,
0.06387782841920853,
-0.002512474311515689,
0.033612411469221115,
-0.026882808655500412,
-0.03298930078744888,
0.004083605483174324,
0.07477337121963501,
-0.008100449107587337,
0.002179777482524514,
-0.00632458133623004,
0.019031604751944542,
-0.0161563903093338,
-0.03923821821808815,
-0.022414209321141243,
0.025494160130620003,
-0.04201551526784897,
-0.0075930580496788025,
0.08217950165271759,
0.035641975700855255,
-0.027559328824281693,
0.016788402572274208,
-0.04368901625275612,
-0.03163626044988632,
-0.012586851604282856,
0.0048780725337564945,
0.028538504615426064,
-0.002783973002806306,
0.04618145897984505,
0.0017146691679954529,
-0.004128113389015198,
0.02423013374209404,
-0.021257001906633377,
0.08274920284748077,
0.003573989262804389,
-0.03380824625492096,
0.024069905281066895,
0.025316128507256508,
0.04945724457502365,
0.015390852466225624,
0.05426410585641861,
0.07131955772638321,
-0.025316128507256508,
0.0005224121850915253,
0.02115018293261528,
0.007775540929287672,
-0.016476847231388092,
-0.06280963122844696,
0.05344516038894653,
0.03475181758403778,
-0.04575418308377266,
0.0020017456263303757,
0.04600342735648155,
0.02390967682003975,
0.019352061673998833
] |
18,304 | yarl._url | with_scheme | Return a new URL with scheme replaced. | def with_scheme(self, scheme):
"""Return a new URL with scheme replaced."""
# N.B. doesn't cleanup query/fragment
if not isinstance(scheme, str):
raise TypeError("Invalid scheme type")
if not self.is_absolute():
raise ValueError("scheme replacement is not allowed for relative URLs")
return URL(self._val._replace(scheme=scheme.lower()), encoded=True)
| (self, scheme) | [
0.010867910459637642,
-0.015529328025877476,
-0.017414845526218414,
0.03165224567055702,
-0.02384829893708229,
-0.013058951124548912,
-0.002282697707414627,
0.04071320220828056,
0.043052639812231064,
-0.005451413802802563,
0.04018944501876831,
0.024162551388144493,
-0.006258869078010321,
0.03889751806855202,
0.009305375628173351,
-0.007494057063013315,
-0.02208499051630497,
0.024267302826046944,
-0.0036466424353420734,
0.003888878971338272,
-0.017755284905433655,
-0.02927788905799389,
-0.0725574865937233,
-0.018453625962138176,
0.02540210448205471,
0.05733368545770645,
-0.03582482412457466,
-0.0026493261102586985,
0.005682738963514566,
-0.01676888018846512,
0.04057353362441063,
0.0035484381951391697,
0.04050369933247566,
0.003683741670101881,
0.047347426414489746,
-0.013992981053888798,
-0.035458195954561234,
0.062222063541412354,
0.027759000658988953,
0.00943631399422884,
0.01820920594036579,
-0.006040637847036123,
-0.043157391250133514,
0.010483823716640472,
0.09134282171726227,
0.05038520693778992,
0.012447903864085674,
0.033415552228689194,
-0.03666283190250397,
-0.06323465704917908,
0.00992515217512846,
-0.022364327684044838,
-0.0062675983645021915,
0.005704562179744244,
-0.058730363845825195,
0.007336930837482214,
0.012605030089616776,
0.0733954980969429,
-0.013460496440529823,
0.05139779672026634,
0.030412690714001656,
-0.04273838549852371,
-0.012718510814011097,
-0.006468371022492647,
-0.0229753740131855,
-0.0009209354175254703,
-0.030534900724887848,
-0.03153003379702568,
0.02100256457924843,
0.053772151470184326,
0.058625612407922745,
0.031669702380895615,
-0.008768526837229729,
-0.0002875195350497961,
0.018366333097219467,
0.013870771043002605,
0.01381839532405138,
-0.002306703245267272,
-0.011671001091599464,
-0.00306614744476974,
0.014516735449433327,
-0.028544632717967033,
0.04018944501876831,
-0.040329113602638245,
-0.03875784948468208,
-0.0663771852850914,
0.003910702187567949,
-0.05806694179773331,
0.023219794034957886,
0.0039434367790818214,
0.022800790145993233,
-0.005102244205772877,
0.027113037183880806,
-0.07716652750968933,
0.07074180245399475,
0.024948183447122574,
-0.03578990697860718,
-0.06676127016544342,
0.06965938210487366,
-0.081705741584301,
0.05160729959607124,
0.022329410538077354,
-0.09364734590053558,
-0.0033542125020176172,
0.026641657575964928,
0.02463393099606037,
0.0949043557047844,
-0.07912188023328781,
-0.05314364656805992,
0.007590079214423895,
-0.030046062543988228,
0.006271963007748127,
0.017982246354222298,
0.028736677020788193,
-0.0047836266458034515,
-0.018663126975297928,
0.018418708816170692,
-0.006210858002305031,
0.029155680909752846,
-0.014874634332954884,
-0.1000022366642952,
0.07409383356571198,
-0.028387505561113358,
-0.004290424287319183,
0.04926786199212074,
0.05223580449819565,
-0.013495413586497307,
-0.03620890900492668,
0.04518257454037666,
-0.048709191381931305,
-0.007603172678500414,
0.03242041915655136,
-0.04029419645667076,
-0.04895360767841339,
-0.038094427436590195,
0.00242236559279263,
-0.059219200164079666,
0.025454480201005936,
-0.001087882206775248,
0.08359125256538391,
-0.04434456676244736,
0.0026733314152806997,
0.008624495007097721,
0.015057948417961597,
-0.06906579434871674,
0.02761933207511902,
0.0312681570649147,
0.02452917955815792,
-0.02161361277103424,
0.003873602719977498,
0.06393299251794815,
0.0003238004574086517,
0.06972921639680862,
0.09413618594408035,
0.020845437422394753,
0.028178004547953606,
-0.018540916964411736,
-0.002216137247160077,
0.005185171961784363,
0.0029286618810147047,
0.027392372488975525,
0.004984399303793907,
0.025751274079084396,
-0.03173953667283058,
-0.010047361254692078,
0.022556370124220848,
0.08093756437301636,
-0.03687233477830887,
-0.019780470058321953,
-0.02618773654103279,
0.01621020957827568,
-0.0009934972040355206,
-0.018855171278119087,
0.05014078691601753,
0.05272464454174042,
0.059708040207624435,
0.03648824617266655,
-0.03179191052913666,
0.03781509026885033,
0.031966496258974075,
0.007760299369692802,
-0.016733963042497635,
0.0006688784342259169,
0.0027169776149094105,
0.02761933207511902,
0.0024681941140443087,
-0.03603432700037956,
0.007590079214423895,
0.03970060870051384,
-0.013844583183526993,
-0.013259723782539368,
-0.010248133912682533,
-0.029731810092926025,
0.005879146978259087,
0.029906395822763443,
-0.058730363845825195,
-0.001871332060545683,
-0.022696038708090782,
-0.017074404284358025,
0.07074180245399475,
0.0011566249886527658,
0.04312247410416603,
-0.03652316331863403,
0.00195971573702991,
0.05761301890015602,
-0.02519260346889496,
0.027793917804956436,
-0.03533598408102989,
-0.0027802647091448307,
0.0429828055202961,
-0.023795923218131065,
0.008349522948265076,
-0.040119610726833344,
-0.006429089233279228,
-0.004980034660547972,
-0.04448423534631729,
-0.04584599658846855,
0.003965259995311499,
-0.0038430504500865936,
0.02100256457924843,
0.010719513520598412,
-0.04521749168634415,
0.06044129654765129,
-0.030779318884015083,
0.008070187643170357,
-0.016707776114344597,
0.04668400436639786,
-0.06714535504579544,
-0.05206121876835823,
-0.007336930837482214,
-0.023918133229017258,
-0.09294900298118591,
-0.04815051704645157,
0.006704060360789299,
0.09092382341623306,
-0.02314995974302292,
0.06529475748538971,
0.02314995974302292,
0.01601816527545452,
0.001120616914704442,
-0.042668551206588745,
0.013722374103963375,
0.030185731127858162,
0.030098438262939453,
-0.05359756574034691,
0.04657925292849541,
0.010326697491109371,
-0.009244270622730255,
-0.014193752780556679,
-0.023691171780228615,
-0.04137662425637245,
0.004056917037814856,
-0.023516587913036346,
0.021718362346291542,
0.0048752836883068085,
-0.012395529076457024,
-0.064666248857975,
0.000939485034905374,
-0.012561384588479996,
-0.010728242807090282,
-0.012543926015496254,
-0.0023525317665189505,
0.040922701358795166,
0.02655436471104622,
0.024843432009220123,
-0.0653296709060669,
-0.014560381881892681,
-0.01236061193048954,
0.05202630162239075,
0.0361739918589592,
0.03350284323096275,
-0.03374726325273514,
-0.03563278168439865,
0.056984513998031616,
0.010501282289624214,
0.037221502512693405,
-0.03697708249092102,
0.02412763424217701,
0.040817953646183014,
-0.0217009037733078,
-0.024075258523225784,
-0.029050929471850395,
0.01290182489901781,
-0.060196876525878906,
0.05048995465040207,
-0.012186027131974697,
-0.012779615819454193,
0.052550058811903,
-0.027706624940037727,
-0.022888081148266792,
0.010544928722083569,
-0.005996991880238056,
-0.07954088598489761,
0.013696186244487762,
-0.025821108371019363,
0.04088778793811798,
0.04204004630446434,
0.011417852714657784,
-0.0014479636447504163,
0.004866554401814938,
-0.022364327684044838,
-0.0032036330085247755,
0.010344156064093113,
0.07905204594135284,
0.03182682767510414,
-0.03208870813250542,
-0.01445563044399023,
-0.05125812813639641,
0.015922144055366516,
0.11529587209224701,
0.02568143978714943,
-0.03365997225046158,
-0.04657925292849541,
-0.009026040323078632,
0.019536051899194717,
0.03921177238225937,
-0.01937892474234104,
-0.04322722554206848,
-0.009235541336238384,
-0.009078415110707283,
-0.039351437240839005,
-0.05101371183991432,
-0.07077672332525253,
0.033625055104494095,
-0.07856321334838867,
-0.01635860651731491,
-0.025070393458008766,
0.05932395160198212,
-0.02521006017923355,
-0.005058597773313522,
0.010667137801647186,
0.05869544669985771,
0.02014709822833538,
0.012177297845482826,
-0.042668551206588745,
-0.010265592485666275,
0.034585271030664444,
-0.012936742044985294,
-0.0030508714262396097,
-0.03963077440857887,
0.032542627304792404,
0.006856822408735752,
-0.004347164183855057,
-0.03182682767510414,
0.0060624610632658005,
0.00300286035053432,
-0.04172579199075699,
-0.00405255239456892,
-0.014927010051906109,
-0.07014821469783783,
-0.046963341534137726,
-0.06704060733318329,
-0.044414401054382324,
0.02431967854499817,
0.016987111419439316,
0.06236172839999199,
-0.014036626555025578,
-0.054540324956178665,
-0.0004986581625416875,
-0.023307085037231445,
0.059812791645526886,
-0.061069801449775696,
0.037710342556238174,
-0.012421716004610062,
0.056879762560129166,
-0.0055081541649997234,
-0.004814178682863712,
0.00011927695595659316,
-0.0072889202274382114,
-0.013539060018956661,
0.045601580291986465,
-0.01965826004743576,
0.07395416498184204,
-0.05789235606789589,
0.036139074712991714,
-0.030709486454725266,
0.018331415951251984,
0.013748561963438988,
0.016428440809249878,
-0.017074404284358025,
0.08868913352489471,
0.03987519443035126,
0.007620631251484156,
0.03694216534495354,
-0.01327718235552311,
-0.058346278965473175,
-0.0045784893445670605,
0.010763159953057766,
-0.00242236559279263,
0.014560381881892681,
-0.006965938024222851,
-0.022643662989139557,
0.06693585216999054,
-0.02121206745505333,
0.028684301301836967,
0.01995505578815937,
-0.056390926241874695,
-0.026013150811195374,
-0.01925671473145485,
0.04856952279806137,
-0.003173080738633871,
-0.04057353362441063,
0.06899596005678177,
0.016690317541360855,
0.02044389396905899,
-0.030028603971004486,
0.030622193589806557,
0.08582594245672226,
-0.014272316358983517,
0.025838566944003105,
-0.042074963450431824,
-0.006900468375533819,
-0.024249844253063202,
-0.01993759721517563,
0.059498537331819534,
-0.014237399213016033,
0.05261989310383797,
-0.04176070913672447,
-0.028073253110051155,
0.03229820728302002,
-0.0021648528054356575,
-0.031163407489657402,
-0.008471732959151268,
0.032350584864616394,
-0.032856881618499756,
-0.025035476312041283,
0.03549311310052872,
0.021735820919275284,
-0.01002117432653904,
0.020601019263267517,
0.019501134753227234,
-0.03942127153277397,
-0.023603880777955055,
0.006900468375533819,
0.013905688188970089,
0.03395676612854004,
0.029923854395747185,
0.045392077416181564,
-0.010832993313670158,
-0.08442926406860352,
0.0387229323387146,
-0.025821108371019363,
0.007725382223725319,
-0.007869414985179901,
0.029068388044834137,
-0.02421492710709572,
-0.0030050426721572876,
-0.02323725074529648,
-0.06257123500108719,
0.06054604798555374,
-0.001985903363674879,
-0.010719513520598412,
-0.013661269098520279,
0.021770738065242767,
-0.051537465304136276,
-0.03542327880859375,
0.04322722554206848,
-0.02461647242307663,
-0.009156978689134121,
0.05974295735359192,
0.029714351519942284,
0.032734669744968414,
-0.015494410879909992,
-0.057228934019804,
-0.03065711073577404,
-0.01483098790049553,
0.032734669744968414,
-0.003015954280272126,
-0.028178004547953606,
-0.00982913002371788,
-0.027374913915991783,
-0.011348019354045391,
0.022940456867218018,
0.022748414427042007,
-0.04060845077037811,
0.061907809227705,
-0.018505999818444252,
0.01927417330443859,
0.017371198162436485,
0.016480814665555954,
-0.10803314298391342,
-0.007354389410465956,
0.017353739589452744,
0.06281565129756927,
0.038199178874492645,
-0.0037928572855889797,
0.006507652346044779,
0.03189666196703911,
0.01493573933839798,
0.0457412451505661,
0.05314364656805992,
0.007886873558163643,
-0.05495933070778847,
0.0317046195268631,
-0.011173434555530548,
-0.023621339350938797,
-0.028858885169029236,
0.004971305374056101,
-0.028474798426032066,
0.014150107279419899,
0.03959585726261139,
-0.03327588364481926,
-0.03151257708668709,
0.022888081148266792,
0.04046878218650818,
-0.010771889239549637,
-0.023481670767068863,
0.02891126088798046,
-0.0355280302464962,
0.0038474148605018854,
-0.04671892151236534,
0.010780618526041508,
0.0593588687479496,
-0.0309539046138525,
-0.015023031271994114,
-0.009663274511694908,
-0.03816426172852516,
-0.004513020161539316,
0.006621132604777813,
-0.020688312128186226,
0.0049276589415967464,
-0.04801085218787193,
0.003784127999097109,
0.03785000741481781,
0.005036774557083845,
-0.05139779672026634,
0.016428440809249878,
0.025314811617136,
0.01619275100529194,
-0.004296971019357443,
0.03456781059503555,
0.0015276179183274508,
0.03242041915655136,
0.025925859808921814,
0.05810185894370079,
0.08547677099704742,
-0.0008145477040670812,
-0.07940121740102768,
-0.044135063886642456,
0.004196584690362215,
-0.015494410879909992,
0.03114594891667366,
-0.04535716027021408,
-0.03493444249033928,
-0.009314104914665222,
-0.005154619459062815,
-0.03757067397236824,
0.024843432009220123,
0.08303258568048477,
-0.012727240100502968,
-0.033712346106767654,
0.04692842438817024,
0.011400395072996616,
0.01523253321647644,
-0.01241298671811819,
-0.03746592253446579,
-0.04242413491010666,
0.02929534763097763,
-0.010597304441034794,
0.01585230976343155,
-0.024249844253063202,
-0.034026600420475006,
-0.0312681570649147,
0.05359756574034691,
-0.021927865222096443,
0.03687233477830887,
-0.009960069321095943,
-0.013722374103963375,
-0.04245905205607414,
0.017982246354222298,
0.011889232322573662,
-0.014359609223902225,
0.05206121876835823,
0.016952194273471832,
0.021753279492259026,
-0.0007354389526881278,
0.016140375286340714,
0.026327405124902725,
0.0521310530602932,
0.012002713046967983,
-0.03444560244679451,
0.03456781059503555,
-0.026484530419111252,
-0.02140410989522934,
0.003349847858771682,
-0.058939866721630096,
-0.011897961609065533,
0.025157686322927475,
0.007262732367962599,
-0.055902089923620224,
-0.032944172620773315,
0.0007954525062814355,
-0.051537465304136276,
-0.060092125087976456,
0.0022150459699332714,
-0.04214479774236679,
-0.0616983063519001,
-0.0827532485127449,
0.02218974195420742,
0.05227072164416313,
-0.03083169460296631,
0.011304372921586037,
-0.009864047169685364,
-0.001978265354409814,
-0.025314811617136,
-0.019396383315324783,
0.013120056129992008,
-0.010256863199174404,
-0.03833884745836258,
-0.022050073370337486,
0.009349022060632706,
-0.004604677204042673,
0.00032434603781439364,
0.010876639746129513,
0.02025184966623783,
-0.04291297122836113,
0.008563390001654625,
-0.030918987467885017,
-0.04902344197034836,
-0.034497980028390884,
0.013600164093077183,
0.00825350172817707,
-0.0017349375411868095,
0.023394377902150154,
-0.0240403413772583,
-0.009479960426688194,
0.02812562882900238,
0.03704691678285599,
-0.09651053696870804,
-0.0682976171374321,
0.031093573197722435,
-0.015520598739385605,
-0.020897813141345978,
-0.05202630162239075,
-0.023045208305120468,
-0.06731994450092316,
0.020688312128186226,
0.04336689040064812,
0.026519447565078735,
0.008022177033126354,
-0.03812934458255768,
0.008537202142179012,
-0.04682367295026779,
-0.017484677955508232,
-0.043646227568387985,
-0.08037889003753662,
0.02842242270708084,
-0.04102745279669762,
-0.04581107944250107,
-0.01108614169061184,
0.00351352128200233,
-0.001375947380438447,
0.029504850506782532,
0.011155975982546806,
0.054645076394081116,
0.06812303513288498,
0.023516587913036346,
-0.011452769860625267,
0.05324839800596237,
-0.00022068624093662947,
-0.00022518725018016994,
-0.008545931428670883,
0.027392372488975525,
0.021735820919275284,
-0.004329705610871315,
0.06082538142800331,
0.0661676824092865,
0.005630363244563341,
-0.005547435488551855,
-0.017606887966394424,
-0.06505034118890762,
-0.0032189092598855495,
-0.08421976119279861,
-0.019047213718295097,
0.002165944082662463,
0.00131920725107193,
-0.06131422147154808,
0.00012023171439068392,
0.0001275970134884119,
0.013992981053888798,
0.0317046195268631,
-0.03889751806855202,
-0.039456188678741455,
0.04769659787416458,
0.0180869959294796,
0.027759000658988953,
-0.013477955013513565,
-0.014315962791442871,
0.026886075735092163,
-0.01927417330443859,
-0.013687456957995892,
-0.0016836532158777118,
-0.009357751347124577,
-0.0006825178861618042,
0.0182964988052845,
0.05799710750579834,
-0.02246907725930214,
-0.01965826004743576,
0.0725574865937233,
0.003528797533363104,
0.04280821979045868,
0.020758146420121193,
0.024406971409916878,
-0.018261581659317017,
0.03315367549657822,
0.0038037686608731747,
0.03861818090081215,
-0.03903718665242195,
-0.002629685215651989,
0.030796777456998825,
-0.08100739866495132,
0.022922998294234276,
-0.05111846327781677,
-0.016079269349575043,
0.05167713388800621,
-0.02599569410085678,
-0.020967647433280945,
-0.052969060838222504,
-0.020164556801319122,
-0.004884012974798679,
0.08394042402505875,
-0.035562947392463684,
0.019780470058321953,
0.014438171871006489,
0.013495413586497307,
-0.04210988059639931,
-0.017694180831313133,
-0.029749268665909767,
0.040329113602638245,
-0.015668995678424835,
-0.013617622666060925,
0.08771146088838577,
0.00476616807281971,
0.0002176855632569641,
0.02267858013510704,
0.003880149684846401,
-0.008410627953708172,
-0.008083281107246876,
0.0009307558066211641,
0.0021037482656538486,
0.04088778793811798,
0.002651508431881666,
-0.042878054082393646,
-0.04738234356045723,
0.0878511294722557,
-0.004495561588555574,
0.025262435898184776,
-0.034777313470840454,
-0.03437576815485954,
0.055902089923620224,
-0.00982913002371788,
-0.0001616274385014549,
0.012229672633111477,
0.05324839800596237,
0.03767542541027069,
-0.06571376323699951,
-0.02025184966623783,
-0.0016214573988690972,
-0.03409643471240997,
-0.024686306715011597,
-0.03407897427678108,
0.09294900298118591,
0.08163590729236603,
-0.0130327632650733,
0.008301512338221073,
0.022364327684044838,
-0.0023372555151581764,
-0.024773599579930305
] |
18,305 | yarl._url | with_suffix | Return a new URL with suffix (file extension of name) replaced.
Query and fragment parts are cleaned up.
suffix is encoded if needed.
| def with_suffix(self, suffix):
"""Return a new URL with suffix (file extension of name) replaced.
Query and fragment parts are cleaned up.
suffix is encoded if needed.
"""
if not isinstance(suffix, str):
raise TypeError("Invalid suffix type")
if suffix and not suffix.startswith(".") or suffix == ".":
raise ValueError(f"Invalid suffix {suffix!r}")
name = self.raw_name
if not name:
raise ValueError(f"{self!r} has an empty name")
old_suffix = self.raw_suffix
if not old_suffix:
name = name + suffix
else:
name = name[: -len(old_suffix)] + suffix
return self.with_name(name)
| (self, suffix) | [
-0.017060469835996628,
-0.008472925052046776,
-0.009566206485033035,
0.027737589552998543,
-0.0669722631573677,
0.009927693754434586,
-0.009601472876966,
0.04309641942381859,
0.05681532993912697,
-0.0375947505235672,
0.026185836642980576,
0.026908813044428825,
0.00669634435325861,
0.016690164804458618,
0.03399750217795372,
-0.011911469511687756,
0.039569709450006485,
0.030946897342801094,
0.010959257371723652,
0.00979544222354889,
-0.03509078547358513,
0.034932080656290054,
0.002913945820182562,
-0.01812729984521866,
0.011470630764961243,
0.04803381860256195,
-0.022147750481963158,
0.01372772641479969,
0.02997705154120922,
-0.03752421587705612,
0.06785393506288528,
-0.07190965861082077,
0.03368009999394417,
0.041791535913944244,
0.03935810551047325,
-0.010712387971580029,
0.0011880610836669803,
0.08273666352033615,
-0.09183558076620102,
-0.03075292892754078,
0.017448406666517258,
-0.037806350737810135,
-0.008212830871343613,
-0.020772334188222885,
0.07723499089479446,
0.02317049726843834,
-0.046129390597343445,
0.034455977380275726,
-0.04327275604009628,
-0.0004733508685603738,
0.016072990372776985,
-0.008314223028719425,
0.016505012288689613,
-0.03988711163401604,
-0.048280686140060425,
0.015491082333028316,
0.03427964076399803,
0.10777631402015686,
-0.0008166542393155396,
0.07864567637443542,
0.029430411756038666,
-0.060130439698696136,
-0.004055718891322613,
-0.027949191629886627,
-0.009513305500149727,
0.028407664969563484,
-0.009407504461705685,
-0.012396392412483692,
-0.03833536058664322,
0.02639743871986866,
0.07272080332040787,
-0.026996979489922523,
-0.017518941313028336,
0.025868432596325874,
-0.015817303210496902,
0.02712041512131691,
-0.07123958319425583,
0.017598291859030724,
-0.036748338490724564,
0.018321268260478973,
0.009645557031035423,
-0.08358307182788849,
-0.012916582636535168,
-0.08950795233249664,
-0.016152340918779373,
-0.06460936367511749,
-0.011144409887492657,
-0.07321453839540482,
0.017474858090281487,
0.0231352299451828,
-0.06309287995100021,
-0.02600950002670288,
0.003892608219757676,
-0.07688231766223907,
0.0032688211649656296,
-0.07674124836921692,
0.001055809436365962,
-0.022130116820335388,
0.026873545721173286,
-0.051877934485673904,
0.027226217091083527,
0.003013134468346834,
-0.034226737916469574,
0.018497604876756668,
0.05882555618882179,
0.004584725480526686,
0.015350013971328735,
-0.07504843175411224,
-0.08915527909994125,
-0.028090260922908783,
0.00015925308980513364,
-0.03278078883886337,
-0.01445951871573925,
-0.022941261529922485,
0.03464994579553604,
-0.037841618061065674,
0.016355127096176147,
-0.008181971497833729,
0.002889699535444379,
-0.014909175224602222,
-0.02241225354373455,
0.04217947646975517,
-0.08104383945465088,
0.0009968471713364124,
0.014715205878019333,
0.019238213077187538,
0.007595655974000692,
-0.0009764583664946258,
0.03911123424768448,
-0.05000877380371094,
-0.018585771322250366,
0.058014411479234695,
-0.05709746479988098,
-0.006021860521286726,
0.031299568712711334,
-0.00036947819171473384,
-0.021054470911622047,
0.03692467510700226,
-0.03032972291111946,
0.07561270147562027,
-0.05741487070918083,
0.014715205878019333,
0.013163452036678791,
-0.00550607917830348,
-0.03540818765759468,
-0.009945327416062355,
0.042496878653764725,
-0.017518941313028336,
-0.02131897397339344,
-0.01913241297006607,
0.022200651466846466,
0.04810434952378273,
0.05540464445948601,
0.006004227325320244,
0.00834067352116108,
-0.022623857483267784,
-0.0026472380850464106,
0.009478038176894188,
-0.03787688538432121,
-0.006259913556277752,
0.06661958992481232,
0.012228873558342457,
-0.04475397616624832,
-0.07123958319425583,
-0.0073708281852304935,
-0.0061276620253920555,
0.042849551886320114,
-0.012749063782393932,
0.015826119109988213,
0.052548009902238846,
0.07250919938087463,
0.06312814354896545,
0.017518941313028336,
0.059883568435907364,
-0.006634627003222704,
0.04912709817290306,
0.03918176889419556,
-0.023329200223088264,
0.023293932899832726,
0.0173955075442791,
0.03505551815032959,
-0.04542405158281326,
0.001033767475746572,
0.007683823816478252,
0.039604976773262024,
-0.0034407484345138073,
-0.051560528576374054,
0.022553322836756706,
0.02317049726843834,
0.007833709008991718,
-0.009081283584237099,
-0.0024510647635906935,
0.005431136582046747,
-0.030294455587863922,
-0.011276661418378353,
-0.0477164126932621,
-0.005911651067435741,
-0.00813788827508688,
0.04182680323719978,
0.03480864688754082,
-0.055193040519952774,
0.06905301660299301,
-0.02821369469165802,
-0.03574322536587715,
0.046023592352867126,
-0.021795079112052917,
0.07042843848466873,
-0.005854341667145491,
-0.06612584739923477,
-0.008547867648303509,
0.010553685948252678,
0.05381762608885765,
0.004716977011412382,
0.018162567168474197,
-0.010791738517582417,
-0.04496557638049126,
-0.03971077501773834,
0.04595305770635605,
0.03907596692442894,
0.023752404376864433,
0.013524940237402916,
-0.025498127564787865,
0.04542405158281326,
0.007582430727779865,
0.003956529777497053,
-0.008270139805972576,
0.09247038513422012,
0.012396392412483692,
-0.0030638310126960278,
-0.033380329608917236,
-0.023681871592998505,
-0.020331494510173798,
0.024457747116684914,
0.009363420307636261,
0.03494971618056297,
0.02354080229997635,
0.008596360683441162,
0.016716614365577698,
0.035302385687828064,
-0.03105269931256771,
0.017148636281490326,
0.008825596421957016,
0.0005703354254364967,
0.023435000330209732,
-0.004597950726747513,
-0.025533394888043404,
0.0173514224588871,
0.04799855127930641,
-0.015085509978234768,
0.005991002079099417,
0.01392169576138258,
0.02930697612464428,
-0.002248278819024563,
0.046905267983675,
0.022553322836756706,
0.024704616516828537,
-0.09134183824062347,
0.002048799302428961,
-0.01516486145555973,
0.012034904211759567,
-0.061682190746068954,
-0.049021296203136444,
-0.010209831409156322,
-0.01408039778470993,
-0.02814316190779209,
-0.017580658197402954,
-0.042073674499988556,
-0.021089738234877586,
-0.014071580953896046,
0.023064695298671722,
0.0629870742559433,
-0.043942831456661224,
-0.027261482551693916,
0.002565682865679264,
0.027737589552998543,
0.0028874953277409077,
0.003480423940345645,
-0.0018713615136221051,
-0.02271202579140663,
-0.046834733337163925,
0.026891179382801056,
-0.06482096761465073,
0.03942864015698433,
0.002382734790444374,
0.054346632212400436,
0.011400096118450165,
-0.01623169146478176,
0.01154998131096363,
0.013057650998234749,
-0.021795079112052917,
0.007075465749949217,
-0.03290422260761261,
-0.02272965759038925,
0.040345583111047745,
-0.08816780149936676,
-0.015782035887241364,
0.022165384143590927,
-0.023787671700119972,
0.037101007997989655,
0.023329200223088264,
-0.04415443539619446,
0.005982185248285532,
-0.008252506144344807,
0.054029226303100586,
0.03001231886446476,
-0.04045138508081436,
-0.007101916242390871,
-0.023699503391981125,
-0.011708683334290981,
0.08647497743368149,
-0.01011284627020359,
-0.038123756647109985,
-0.053711824119091034,
-0.015094326809048653,
0.022958895191550255,
0.057344336062669754,
0.018356535583734512,
-0.004344468470662832,
-0.011417729780077934,
0.016134707257151604,
-0.02676774375140667,
0.023011796176433563,
-0.06824187934398651,
0.020507829263806343,
-0.0353376530110836,
-0.009001932106912136,
-0.0347028449177742,
0.05607471987605095,
-0.012722613289952278,
-0.01410684734582901,
-0.04701106995344162,
-0.003632513340562582,
0.006184970960021019,
0.002695730421692133,
-0.06591424345970154,
-0.010059946216642857,
0.02606240101158619,
0.032304681837558746,
0.05907242372632027,
-0.0022901585325598717,
0.00696084788069129,
-0.02712041512131691,
-0.038476426154375076,
-0.02094866894185543,
-0.001981571316719055,
-0.008420024998486042,
-0.03946390748023987,
-0.020490195602178574,
0.015640966594219208,
-0.07660018652677536,
-0.0180303156375885,
-0.06718385964632034,
-0.011646966449916363,
-0.013736543245613575,
0.06746599823236465,
-0.007891017943620682,
-0.0025282115675508976,
-0.022553322836756706,
-0.019432183355093002,
-0.018303634598851204,
0.0234526339918375,
-0.0198377538472414,
0.02641507238149643,
-0.017633559182286263,
0.05769700929522514,
-0.015314746648073196,
0.033168725669384,
0.01158524863421917,
-0.027173316106200218,
-0.07399041950702667,
0.027614153921604156,
-0.025074921548366547,
0.053711824119091034,
-0.03140537068247795,
-0.011356012895703316,
-0.01918531209230423,
0.006259913556277752,
-0.00306823942810297,
-0.006198196206241846,
0.023664237931370735,
0.053359150886535645,
0.012352308258414268,
0.01286368165165186,
0.024387212470173836,
0.026644308120012283,
-0.05212480202317238,
0.02057836391031742,
0.001081157592125237,
0.029024839401245117,
0.03394460305571556,
0.018638672307133675,
-0.005448769778013229,
0.021036837249994278,
0.054064493626356125,
-0.01193792000412941,
-0.02821369469165802,
-0.06319867819547653,
-0.028337130323052406,
-0.027332017198204994,
0.06439775973558426,
0.00866248644888401,
-0.003293067216873169,
0.012837231159210205,
0.07892781496047974,
0.03285132348537445,
-0.046834733337163925,
0.08005636185407639,
0.07053423672914505,
0.018515238538384438,
0.045036111027002335,
-0.07533057034015656,
-0.07709392160177231,
-0.0947980135679245,
0.008195197209715843,
0.06707806140184402,
0.04521244764328003,
0.02884850464761257,
-0.07222706079483032,
-0.051137324422597885,
0.026203470304608345,
0.018286000937223434,
0.00904601626098156,
0.019079511985182762,
0.03353903070092201,
0.0011946737067773938,
-0.006184970960021019,
-0.016072990372776985,
-0.019731953740119934,
-0.01916768029332161,
-0.002543641021475196,
-0.03216361254453659,
-0.054734569042921066,
-0.031599339097738266,
0.03285132348537445,
0.04944450035691261,
-0.004615584388375282,
0.009284068830311298,
0.017977414652705193,
-0.05632159113883972,
-0.05067884922027588,
-0.011444180272519588,
-0.03216361254453659,
-0.03034735657274723,
-0.001946304109878838,
0.02387584000825882,
-0.06418615579605103,
-0.016187608242034912,
-0.021142637357115746,
-0.0038485245313495398,
-0.02170691266655922,
-0.001526404987089336,
0.039534442126750946,
-0.00920471828430891,
-0.004840412177145481,
0.028337130323052406,
-0.04962083697319031,
0.008040903136134148,
-0.016707798466086388,
-0.00407555652782321,
0.004097598604857922,
-0.04366069287061691,
0.04983244091272354,
0.047928016632795334,
0.0135337570682168,
-0.021759813651442528,
0.0057838074862957,
0.08069116622209549,
0.010174564085900784,
-0.02708514779806137,
-0.04440130293369293,
-0.032710254192352295,
-0.014838640578091145,
-0.016892950981855392,
0.0176688265055418,
-0.016161156818270683,
0.042108941823244095,
-0.06291653960943222,
0.002211909741163254,
0.08118490874767303,
0.00216121319681406,
0.004822778515517712,
-0.020066991448402405,
-0.029765449464321136,
0.052935946732759476,
0.04912709817290306,
-0.004000613931566477,
0.012211239896714687,
0.04634099453687668,
0.02098393626511097,
0.00864485278725624,
0.03766528517007828,
0.07603590935468674,
-0.046870000660419464,
0.04436603561043739,
-0.018180200830101967,
0.030893996357917786,
-0.024739883840084076,
0.04556511715054512,
-0.008636035956442356,
-0.005704456474632025,
0.028760336339473724,
-0.07913941890001297,
0.017986230552196503,
0.011620515957474709,
0.012396392412483692,
0.005567796528339386,
-0.06996996700763702,
0.03872329741716385,
-0.01957325078547001,
0.00846851710230112,
-0.04838648810982704,
0.018162567168474197,
0.029077740386128426,
0.036713071167469025,
-0.009072466753423214,
0.01121494360268116,
-0.060976848006248474,
0.009160634130239487,
0.06369242072105408,
0.027349650859832764,
-0.014177381992340088,
-0.005281250923871994,
0.011505898088216782,
-0.014574137516319752,
-0.01192028634250164,
-0.0396755076944828,
-0.009566206485033035,
0.033062923699617386,
0.013436772860586643,
0.04115672782063484,
-0.014336084015667439,
0.021618744358420372,
0.0570269338786602,
0.010439067147672176,
0.0004152152396272868,
0.03607826307415962,
-0.029518578201532364,
-0.044295500963926315,
0.029077740386128426,
0.0031696322839707136,
0.007529530208557844,
0.05850815027952194,
-0.022659124806523323,
-0.05127838999032974,
-0.08379467576742172,
0.008772696368396282,
-0.004765469580888748,
0.0729323998093605,
0.11927340179681778,
0.02063126489520073,
-0.019731953740119934,
0.02170691266655922,
0.011223760433495045,
-0.016055356711149216,
-0.015367647632956505,
-0.02814316190779209,
-0.04496557638049126,
-0.006731611210852861,
-0.03249865025281906,
0.017175087705254555,
-0.01959088444709778,
-0.008446475490927696,
0.07420201599597931,
0.027049880474805832,
-0.04521244764328003,
0.0669722631573677,
0.03939337283372879,
-0.02572736330330372,
-0.000602847314439714,
0.006356898229569197,
0.026820644736289978,
0.01392169576138258,
0.04313168674707413,
0.00977780856192112,
-0.027737589552998543,
0.010562501847743988,
0.044260233640670776,
-0.013463222421705723,
0.056885864585638046,
0.037806350737810135,
0.017959780991077423,
0.03110560029745102,
-0.028866136446595192,
-0.0010161339305341244,
-0.06048310920596123,
-0.010218648239970207,
-0.014512419700622559,
0.017474858090281487,
0.014406618662178516,
-0.032674986869096756,
-0.04200313985347748,
0.040310315787792206,
-0.000812796875834465,
-0.08315987139940262,
0.023646604269742966,
-0.005819074809551239,
-0.05709746479988098,
-0.06422142684459686,
0.00003939998350688256,
0.012228873558342457,
0.04327275604009628,
0.0032357582822442055,
-0.0006430738721974194,
0.024863319471478462,
-0.022941261529922485,
0.020895767956972122,
-0.012590361759066582,
0.058402348309755325,
-0.07307346910238266,
-0.06326921284198761,
0.006475924979895353,
0.02930697612464428,
-0.017836345359683037,
0.02779049053788185,
-0.03805322200059891,
-0.02246515452861786,
-0.01778344437479973,
-0.04634099453687668,
-0.0679597407579422,
-0.012616812251508236,
-0.08294826745986938,
0.050855185836553574,
0.0012927603675052524,
0.03755948320031166,
-0.046870000660419464,
-0.05089045315980911,
0.03766528517007828,
0.03801795467734337,
-0.04475397616624832,
-0.03546109050512314,
-0.04838648810982704,
-0.02098393626511097,
0.003359193215146661,
-0.03281605616211891,
0.03424437344074249,
-0.06358661502599716,
0.021953782066702843,
0.026926444843411446,
0.011091508902609348,
0.005664781201630831,
0.031299568712711334,
-0.007419320289045572,
-0.01805676519870758,
-0.0267501100897789,
-0.07497789710760117,
0.009407504461705685,
0.023417366668581963,
-0.05921349301934242,
-0.03794742003083229,
-0.05381762608885765,
0.03763001784682274,
0.020031724125146866,
0.054029226303100586,
0.012369941920042038,
0.03138773515820503,
0.011505898088216782,
0.022306453436613083,
-0.027226217091083527,
0.0703931674361229,
-0.011470630764961243,
0.05498144030570984,
-0.0947980135679245,
-0.011964370496571064,
-0.012026087380945683,
-0.03114086575806141,
0.0014183995081111789,
0.015773219987750053,
-0.03918176889419556,
0.02137187495827675,
-0.020155157893896103,
-0.012678529135882854,
-0.008785921148955822,
-0.07906888425350189,
-0.05346495285630226,
0.010350899770855904,
-0.05395869165658951,
0.0027552437968552113,
0.005797032732516527,
0.0382295586168766,
0.04090986028313637,
0.023064695298671722,
-0.048315953463315964,
0.0022130117285996675,
0.012317041866481304,
0.021195538341999054,
0.04334329068660736,
0.0007064444944262505,
0.05000877380371094,
0.006259913556277752,
0.0014713001437485218,
-0.009292885661125183,
-0.0003984082431998104,
-0.032304681837558746,
0.0061276620253920555,
-0.005012339446693659,
0.03932283818721771,
0.02094866894185543,
-0.04588252305984497,
-0.0011594064999371767,
-0.054346632212400436,
-0.003066035220399499,
0.0398518443107605,
0.015438181348145008,
-0.04055718705058098,
-0.0024775152560323477,
0.005982185248285532,
0.01665489748120308,
-0.046129390597343445,
-0.02271202579140663,
0.004906537942588329,
-0.04090986028313637,
0.005439953412860632,
0.008508192375302315,
0.024686982855200768,
0.021830346435308456,
-0.03435017541050911,
0.007454587612301111,
-0.041015658527612686,
0.014582954347133636,
0.057626474648714066,
0.03144063800573349,
-0.01693703420460224,
0.04821015149354935,
0.019008977338671684,
-0.03156407177448273,
-0.052935946732759476,
-0.014715205878019333,
-0.013754176907241344,
-0.005078465212136507,
-0.011638149619102478,
-0.0016917196335271,
0.07399041950702667,
0.014917991124093533,
-0.0004923620726913214,
-0.0010982401436194777,
-0.04912709817290306,
-0.018550503998994827,
0.016743065789341927,
-0.01050078496336937,
0.011823302134871483,
-0.023064695298671722,
0.020525462925434113,
-0.024281412363052368,
0.03140537068247795,
0.02784339152276516,
0.03211071342229843,
0.0549461729824543,
-0.016363942995667458,
-0.007366419769823551,
0.038476426154375076,
0.02248278819024563,
0.013269254006445408,
-0.0021579067688435316,
0.07081637531518936,
0.02137187495827675,
-0.04165046662092209,
0.021847980096936226,
0.007635331247001886,
-0.010297998785972595,
-0.04676419869065285,
-0.017219170928001404,
0.07399041950702667,
0.05501670762896538,
-0.021618744358420372,
-0.04739900678396225,
0.046482063829898834,
0.004862454254180193,
-0.001326925354078412
] |
18,306 | yarl._url | with_user | Return a new URL with user replaced.
Autoencode user if needed.
Clear user/password if user is None.
| def with_user(self, user):
"""Return a new URL with user replaced.
Autoencode user if needed.
Clear user/password if user is None.
"""
# N.B. doesn't cleanup query/fragment
val = self._val
if user is None:
password = None
elif isinstance(user, str):
user = self._QUOTER(user)
password = val.password
else:
raise TypeError("Invalid user type")
if not self.is_absolute():
raise ValueError("user replacement is not allowed for relative URLs")
return URL(
self._val._replace(
netloc=self._make_netloc(user, password, val.hostname, val.port)
),
encoded=True,
)
| (self, user) | [
-0.005793237593024969,
0.00573943043127656,
0.0349029116332531,
0.060228150337934494,
-0.024589871987700462,
-0.004362863954156637,
0.016330473124980927,
0.0015099634183570743,
0.03339631110429764,
-0.019442321732640266,
0.04785250127315521,
0.02299359440803528,
0.014761097729206085,
0.06460446864366531,
-0.009514899924397469,
0.04419361427426338,
-0.010357878170907497,
0.0407140851020813,
0.002182553056627512,
-0.01611524447798729,
-0.015622012317180634,
-0.05617467686533928,
-0.0049278391525149345,
0.04631002992391586,
-0.0008093494107015431,
0.011891382746398449,
-0.025056201964616776,
0.04078582674264908,
-0.00008295270527014509,
0.0077078756876289845,
0.0916874036192894,
-0.029737424105405807,
0.0660393238067627,
-0.005255165975540876,
0.05893677845597267,
-0.03574589267373085,
0.017747394740581512,
0.12153244018554688,
-0.059403106570243835,
-0.036588869988918304,
-0.046023059636354446,
0.022347908467054367,
-0.020500527694821358,
-0.024823037907481194,
0.054955046623945236,
0.023388179019093513,
0.013362111523747444,
0.0420771986246109,
-0.03701932728290558,
-0.010214393027126789,
0.052013590931892395,
-0.04950258880853653,
0.008138333447277546,
0.010582075454294682,
-0.020195621997117996,
0.005161003675311804,
-0.017747394740581512,
0.08049551397562027,
0.010662785731256008,
0.003999665845185518,
0.01734384149312973,
-0.03536923974752426,
-0.005761850159615278,
-0.004309056792408228,
-0.014223026111721992,
0.04354792833328247,
-0.04254353046417236,
-0.030795631930232048,
0.004187990911304951,
0.013693922199308872,
0.012160418555140495,
-0.005201358813792467,
-0.02152286469936371,
-0.012223193421959877,
0.029880911111831665,
0.015030133537948132,
-0.010115746408700943,
0.012725393287837505,
-0.017532166093587875,
-0.008048654533922672,
0.03377296030521393,
-0.04483930021524429,
-0.017765332013368607,
-0.039673812687397,
-0.07683662325143814,
-0.0458437018096447,
-0.018052302300930023,
-0.07271140813827515,
0.05893677845597267,
0.05707146227359772,
-0.00022713908401783556,
-0.0636359378695488,
-0.00768097210675478,
-0.02189951390028,
0.029576003551483154,
0.029019996523857117,
0.0451621450483799,
-0.030096139758825302,
0.039530329406261444,
-0.057932376861572266,
0.06894490867853165,
0.011281568557024002,
-0.0961354598402977,
0.0277106873691082,
-0.004887484014034271,
-0.0044301231391727924,
0.05908026173710823,
-0.055744219571352005,
-0.0007796433637849987,
-0.007268450688570738,
-0.0728548988699913,
-0.03517194837331772,
-0.05018414556980133,
0.045520856976509094,
-0.0016343925381079316,
0.00006014771861373447,
0.0033584637567400932,
-0.004185748752206564,
0.0496102012693882,
-0.000979738775640726,
-0.047637272626161575,
0.03906399756669998,
-0.037234555929899216,
0.01874282769858837,
0.036696482449769974,
0.040211886167526245,
-0.07231682538986206,
-0.029163481667637825,
0.03642744943499565,
-0.033952318131923676,
0.0066362167708575726,
0.005488330498337746,
-0.04792424663901329,
-0.02394418604671955,
-0.01960374228656292,
0.01310204342007637,
-0.06137603521347046,
0.06919600814580917,
0.03841831162571907,
0.11349724233150482,
-0.04885690286755562,
0.04254353046417236,
-0.01508394069969654,
-0.005847044754773378,
0.005546621512621641,
-0.0034660780802369118,
0.049825429916381836,
-0.004208168480545282,
-0.035387177020311356,
-0.012375647202134132,
0.08573274314403534,
0.017325906082987785,
0.0858762264251709,
0.03827482834458351,
-0.016124213114380836,
0.00720119196921587,
0.01758597418665886,
-0.04057059809565544,
0.006604828871786594,
0.03325282409787178,
0.05154725909233093,
-0.03635570406913757,
0.020787499845027924,
0.02476922981441021,
0.00702183460816741,
0.02292185090482235,
0.07055912166833878,
-0.03895638510584831,
0.03452626243233681,
0.019890714436769485,
-0.002551356330513954,
-0.023962123319506645,
-0.029576003551483154,
0.04293811321258545,
-0.0010290619684383273,
0.003757533384487033,
0.0198369063436985,
-0.0868806317448616,
0.0055331699550151825,
0.024930652230978012,
-0.0033988191280514,
-0.02145112119615078,
0.06571648269891739,
-0.00591878779232502,
0.029235225170850754,
0.00913376547396183,
0.0035288529470562935,
0.008313206024467945,
0.011416085995733738,
0.019514063373208046,
-0.05222881957888603,
0.012922686524689198,
-0.011604411527514458,
-0.01685957796871662,
0.016339441761374474,
-0.03770088404417038,
0.005878432188183069,
-0.013559404760599136,
-0.036696482449769974,
0.032858241349458694,
-0.07705185562372208,
0.01370289083570242,
-0.038669414818286896,
-0.0441218726336956,
0.05043524503707886,
0.00009304154809797183,
0.035010527819395065,
-0.02469748631119728,
-0.023208823055028915,
0.005084776785224676,
0.028446052223443985,
0.019316770136356354,
-0.02692151628434658,
0.04010426998138428,
-0.055815961211919785,
-0.005510750226676464,
-0.05032763257622719,
0.03888464346528053,
0.0009180846973322332,
0.07676488161087036,
0.0448034293949604,
-0.029019996523857117,
0.006380632519721985,
-0.034221354871988297,
-0.008972343988716602,
-0.04293811321258545,
0.030831502750515938,
-0.05603118985891342,
-0.040893442928791046,
-0.05836283415555954,
0.03188971057534218,
-0.04677635803818703,
0.007932072505354881,
0.04656112939119339,
0.038167212158441544,
-0.003719419939443469,
0.023083271458745003,
0.013622179627418518,
-0.01460864394903183,
0.02360340766608715,
-0.01014264952391386,
0.011891382746398449,
0.005416587460786104,
0.029414581134915352,
-0.0031185734551399946,
0.024069737643003464,
-0.005681139416992664,
0.020446721464395523,
-0.020374977961182594,
-0.09333749115467072,
-0.023101208731532097,
0.020177684724330902,
-0.015675820410251617,
0.013137915171682835,
-0.011532668024301529,
0.029127610847353935,
-0.02299359440803528,
0.027047066017985344,
0.0030311367008835077,
-0.02552253007888794,
0.008425304666161537,
-0.04074995592236519,
-0.01854553446173668,
0.011810671538114548,
0.007748231291770935,
-0.06033576279878616,
-0.04143151268362999,
-0.03233810514211655,
-0.023513728752732277,
0.010035035200417042,
0.03996078670024872,
0.05043524503707886,
-0.008479111827909946,
0.026778031140565872,
-0.004981646314263344,
0.006219211034476757,
0.01530813705176115,
0.015864145010709763,
0.046130672097206116,
-0.02439258061349392,
-0.023047400638461113,
-0.011003564111888409,
0.03895638510584831,
-0.011909318156540394,
0.05832696333527565,
-0.02692151628434658,
0.0018294434994459152,
0.09312225878238678,
0.004990614019334316,
-0.01911947876214981,
0.05556486174464226,
-0.03981729969382286,
-0.06664913892745972,
0.007210159674286842,
-0.05018414556980133,
0.02729816734790802,
-0.040929313749074936,
-0.013299336656928062,
-0.020984793081879616,
-0.008308722637593746,
-0.04932323098182678,
-0.02356753684580326,
-0.06521427631378174,
0.038167212158441544,
0.06969820708036423,
-0.024876844137907028,
-0.011003564111888409,
-0.043260958045721054,
-0.014976326376199722,
0.08358045667409897,
0.015568205155432224,
-0.038741156458854675,
-0.04932323098182678,
-0.003185832407325506,
0.01310204342007637,
-0.02521762251853943,
0.04444471374154091,
-0.04354792833328247,
0.037198685109615326,
-0.011272599920630455,
-0.0018485002219676971,
-0.03389851003885269,
-0.028966188430786133,
-0.014007797464728355,
-0.03230223432183266,
0.026293765753507614,
-0.0005349889397621155,
0.07199398428201675,
-0.049897175282239914,
0.054237619042396545,
-0.023047400638461113,
0.0698058232665062,
-0.013353143818676472,
0.012115579098463058,
-0.07726708054542542,
-0.023782765492796898,
0.0383106991648674,
0.019801035523414612,
0.041036929935216904,
-0.06001292169094086,
-0.00029818134498782456,
-0.012841976247727871,
-0.023693086579442024,
-0.013936054892838001,
-0.0007695545209571719,
-0.05481156334280968,
-0.06664913892745972,
0.011353311128914356,
-0.00834907777607441,
-0.03449039161205292,
-0.03113641031086445,
-0.04064234346151352,
-0.006788670085370541,
0.005385200027376413,
-0.0051071965135633945,
0.028212888166308403,
-0.014581740833818913,
-0.03486704081296921,
0.02333437278866768,
-0.03701932728290558,
0.023621343076229095,
-0.05090157315135002,
0.025701887905597687,
-0.023477857932448387,
0.02024942822754383,
0.025127943605184555,
0.013389015570282936,
0.013505597598850727,
0.02277836576104164,
0.02394418604671955,
0.03657093271613121,
-0.021845707669854164,
0.08982209116220474,
-0.0215587355196476,
0.015729626640677452,
-0.002097358228638768,
-0.005528685636818409,
-0.036588869988918304,
-0.050686344504356384,
-0.00807107426226139,
0.059367235749959946,
0.04724268615245819,
0.03162067383527756,
0.015281233936548233,
0.05861393362283707,
-0.059367235749959946,
0.02778243087232113,
0.05308973416686058,
0.0136849544942379,
-0.007914137095212936,
-0.03924335539340973,
-0.051367904990911484,
0.06385116279125214,
-0.003501949366182089,
-0.005416587460786104,
0.017200356349349022,
-0.002082785591483116,
0.000040985923988046125,
-0.009326574392616749,
0.025504594668745995,
0.02390831522643566,
-0.03752152621746063,
0.040857572108507156,
0.014653483405709267,
0.026222024112939835,
-0.011182921938598156,
0.041001055389642715,
0.07533002644777298,
-0.01662641204893589,
0.046023059636354446,
-0.06065860763192177,
-0.05710733309388161,
-0.03680409863591194,
0.0015335041098296642,
0.07604745775461197,
-0.039458584040403366,
-0.017424551770091057,
-0.007326741702854633,
-0.018177852034568787,
0.020644014701247215,
0.017056869342923164,
-0.04057059809565544,
-0.04354792833328247,
0.016671251505613327,
-0.022760428488254547,
-0.00991845317184925,
0.03615841269493103,
-0.06320548057556152,
0.029576003551483154,
0.01426786556839943,
0.04806772992014885,
-0.048354703933000565,
0.020841307938098907,
0.0277106873691082,
0.026634544134140015,
-0.013442822732031345,
0.03770088404417038,
0.02552253007888794,
-0.016402216628193855,
-0.03506433218717575,
0.001628787606023252,
-0.054955046623945236,
0.014635547995567322,
-0.004775385372340679,
0.04293811321258545,
-0.015424720011651516,
-0.06230869144201279,
0.056533392518758774,
-0.017630813643336296,
0.0024728875141590834,
0.030042331665754318,
0.0021388346794992685,
-0.021325571462512016,
0.00015581656771246344,
-0.06410226225852966,
0.014680387452244759,
-0.0019067912362515926,
-0.017523199319839478,
0.02371102198958397,
0.08982209116220474,
0.015577172860503197,
-0.012788169085979462,
-0.030831502750515938,
-0.0031522028148174286,
-0.025235557928681374,
0.03266094624996185,
0.006721411366015673,
-0.0108600789681077,
-0.011685121804475784,
-0.022114742547273636,
-0.03653506189584732,
-0.04290224239230156,
-0.014079540967941284,
0.03187177702784538,
0.014483094215393066,
0.046130672097206116,
-0.015003230422735214,
0.03208700567483902,
-0.005161003675311804,
0.011317439377307892,
-0.10417066514492035,
-0.028553666546940804,
-0.00330914044752717,
0.018635213375091553,
0.015290201641619205,
0.0036476771347224712,
0.008402884937822819,
0.01570272259414196,
0.0536995455622673,
0.031459253281354904,
0.026491058990359306,
0.060120534151792526,
-0.07819974422454834,
0.05391477420926094,
-0.08666539937257767,
-0.02114621363580227,
-0.00591878779232502,
-0.004266459494829178,
0.003986213821917772,
-0.008384949527680874,
0.05240817368030548,
-0.0009343389538116753,
0.023782765492796898,
0.03113641031086445,
0.08035203069448471,
-0.024984458461403847,
-0.021845707669854164,
0.00626853434368968,
-0.01956787146627903,
0.007187739945948124,
-0.04214894399046898,
-0.003849453991279006,
0.07360819727182388,
-0.0011983303120359778,
-0.03031136840581894,
-0.031244024634361267,
-0.0574660487473011,
0.008698824793100357,
0.008999248035252094,
-0.05979769304394722,
-0.02224029414355755,
0.05750191956758499,
0.04505452886223793,
0.0075105829164385796,
0.03691171109676361,
-0.03852592781186104,
0.012456357479095459,
0.051367904990911484,
0.0017061354592442513,
-0.013442822732031345,
0.003510917304083705,
-0.00317686446942389,
0.023424051702022552,
0.009514899924397469,
0.059869434684515,
0.05527789145708084,
-0.03447245433926582,
-0.009730128571391106,
-0.04014014080166817,
0.008541886694729328,
0.028858574107289314,
0.02514588087797165,
-0.033342503011226654,
-0.04074995592236519,
-0.04735030233860016,
-0.01885044202208519,
-0.026455188170075417,
0.044014256447553635,
0.022670751437544823,
-0.02261694334447384,
-0.05043524503707886,
-0.01138918288052082,
0.03113641031086445,
0.06794051080942154,
-0.017263131216168404,
-0.036319833248853683,
-0.055851832032203674,
0.07841496914625168,
-0.042328301817178726,
0.031656548380851746,
0.00384048605337739,
0.00807107426226139,
-0.004140909295529127,
0.035692084580659866,
-0.03533336892724037,
-0.008012782782316208,
0.003983972128480673,
0.00024045075406320393,
0.010869046673178673,
-0.00534484488889575,
0.006837993394583464,
-0.031244024634361267,
-0.016088340431451797,
0.05908026173710823,
-0.008887149393558502,
-0.005017517600208521,
0.018177852034568787,
0.011460925452411175,
0.06438923627138138,
0.002452709712088108,
-0.015756530687212944,
0.026975324377417564,
-0.01617801934480667,
-0.03377296030521393,
-0.024338772520422935,
-0.04634590074419975,
0.06342070549726486,
0.06525015085935593,
-0.011263632215559483,
-0.017532166093587875,
-0.004013117402791977,
-0.07418213784694672,
-0.06410226225852966,
-0.008945440873503685,
0.002791246399283409,
-0.026329638436436653,
-0.0605509914457798,
-0.07346471399068832,
-0.005232746247202158,
0.03438277542591095,
-0.030526597052812576,
0.016070405021309853,
-0.004304572939872742,
-0.008165236562490463,
-0.0625956654548645,
0.014169218949973583,
-0.03167448192834854,
0.016052469611167908,
-0.08666539937257767,
-0.06664913892745972,
0.046202417463064194,
0.017056869342923164,
-0.0039413743652403355,
0.08114119619131088,
-0.04896451532840729,
0.0024370159953832626,
-0.04638177156448364,
-0.026634544134140015,
-0.08946337550878525,
-0.01530813705176115,
-0.03574589267373085,
0.012097643688321114,
-0.023477857932448387,
0.03780850023031235,
-0.04867754504084587,
-0.03303759545087814,
0.04595131427049637,
0.08645017445087433,
-0.02907380275428295,
-0.021773964166641235,
-0.041861969977617264,
0.018159916624426842,
-0.012223193421959877,
0.04559260234236717,
-0.03366534784436226,
-0.056533392518758774,
0.014294769614934921,
0.025540465489029884,
0.03397025540471077,
0.002710535656660795,
-0.03667854890227318,
0.023424051702022552,
-0.031656548380851746,
-0.010411685332655907,
-0.033234890550374985,
0.01850966364145279,
0.010698657482862473,
-0.03931510075926781,
-0.044695816934108734,
0.00081663578748703,
0.020518464967608452,
0.034813232719898224,
0.08171514421701431,
-0.011810671538114548,
0.005461426917463541,
0.029235225170850754,
-0.0029795714654028416,
0.015021165832877159,
0.015030133537948132,
0.0030557983554899693,
-0.00980187114328146,
-0.03838244080543518,
0.057824764400720596,
-0.02224029414355755,
-0.03766501322388649,
0.08307825773954391,
0.020428786054253578,
-0.00027183827478438616,
0.009828775189816952,
-0.02130763605237007,
-0.01755010336637497,
-0.02069782093167305,
-0.022527264431118965,
-0.013900183141231537,
0.00720119196921587,
-0.04867754504084587,
-0.026419315487146378,
-0.035727955400943756,
-0.03920748457312584,
-0.006864896975457668,
0.012357711791992188,
-0.021469056606292725,
0.0006692265742458403,
-0.011505764909088612,
-0.028750959783792496,
0.03427516296505928,
0.012079707346856594,
0.03058040328323841,
-0.0028585053514689207,
-0.014509998261928558,
-0.00727741839364171,
-0.006304405629634857,
-0.02333437278866768,
-0.01895805634558201,
0.01748732663691044,
0.02288598008453846,
-0.0010845506330952048,
-0.01628563366830349,
0.06324134767055511,
0.05158313363790512,
0.007914137095212936,
0.021200021728873253,
0.02815908193588257,
0.006142984144389629,
-0.022078871726989746,
-0.028894444927573204,
0.04268701374530792,
-0.04727856069803238,
-0.010438589379191399,
0.0020682127214968204,
-0.03838244080543518,
-0.03031136840581894,
0.0030625243671238422,
-0.001496511627919972,
0.025325236842036247,
-0.026778031140565872,
-0.020177684724330902,
-0.030670082196593285,
-0.04451645910739899,
0.003468320006504655,
0.052157074213027954,
-0.05344844609498978,
0.040857572108507156,
-0.01161337923258543,
0.01768461987376213,
-0.030795631930232048,
-0.07654965668916702,
-0.05025588721036911,
0.0352257564663887,
-0.03588937595486641,
0.0037620174698531628,
0.08228908479213715,
0.007855845615267754,
0.050542861223220825,
-0.010662785731256008,
0.010698657482862473,
-0.03486704081296921,
-0.02100272849202156,
-0.006219211034476757,
0.040355369448661804,
-0.014770065434277058,
0.031046731397509575,
-0.03355773165822029,
-0.013326240703463554,
-0.008806439116597176,
-0.0013575098710134625,
0.007385032717138529,
0.007483679335564375,
-0.015057037584483624,
0.08458485454320908,
0.013245529495179653,
0.016124213114380836,
-0.004461510572582483,
0.06510666757822037,
0.1033097505569458,
-0.04562847316265106,
-0.026903580874204636,
0.022455522790551186,
-0.0110304681584239,
-0.04049885645508766,
-0.018689021468162537,
0.045413244515657425,
0.01426786556839943,
-0.026150280609726906,
0.006761766504496336,
0.0162497628480196,
-0.02285010740160942,
0.047637272626161575
] |
18,317 | plotly_football_pitch.pitch_background | AttackVsDefenceBackground | Colour each half of the pitch for a team, left=attack, right=defence. | class AttackVsDefenceBackground(PitchBackground):
"""Colour each half of the pitch for a team, left=attack, right=defence."""
def __init__(self, attack_colour: str, defence_colour: str):
"""Colour each half of the pitch per team, left=attack, right=defence.
Args:
attack_colour (str): Colour for the attacking team's half, the left
side of the pitch.
defence_colour (str): Colour for the defending team's half, the
right side of the pitch.
"""
self.attack_colour = attack_colour
self.defence_colour = defence_colour
def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add attacking and defending team backgrounds to a pitch.
Follows the standard convention for horizontal pitches whereby the left
hand side represents the attacking team and the right hand side the
defending team.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
Returns:
plotly.graph_objects.Figure
"""
attack_half = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": 0,
"x1": dimensions.pitch_mid_length_metres,
}
defence_half = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": dimensions.pitch_mid_length_metres,
"x1": dimensions.pitch_length_metres,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
attack_half, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=self.attack_colour,
fillcolor=self.attack_colour,
layer="below",
)
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
defence_half, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=self.defence_colour,
fillcolor=self.defence_colour,
layer="below",
)
return fig
| (attack_colour: str, defence_colour: str) | [
0.00884631834924221,
-0.131605863571167,
-0.04308868199586868,
0.021004382520914078,
-0.050504107028245926,
0.02154434099793434,
-0.02989569678902626,
0.03093961626291275,
-0.02723190188407898,
0.020464424043893814,
0.04874024540185928,
0.020032456144690514,
0.04028089717030525,
-0.0028572799637913704,
-0.028041839599609375,
-0.008031881414353848,
0.058819469064474106,
0.020500419661402702,
0.07408229261636734,
-0.06533496826887131,
0.07919389754533768,
0.0015670042484998703,
0.024460114538669586,
0.029373737052083015,
-0.004913621582090855,
0.03662717714905739,
-0.05241196230053902,
0.006834973581135273,
-0.04910021647810936,
0.006578492932021618,
-0.0013363970210775733,
0.0006563869537785649,
0.002330820308998227,
0.009764247573912144,
0.0005703310598619282,
-0.04719236493110657,
-0.04164879024028778,
0.035331279039382935,
-0.06663086265325546,
-0.00007754871330689639,
0.04823628440499306,
0.03736511990427971,
0.062095217406749725,
-0.06357110291719437,
-0.015658793970942497,
-0.006776477675884962,
0.005210598465055227,
-0.003529977984726429,
0.029283743351697922,
-0.07501821964979172,
0.04809229448437691,
-0.101152203977108,
-0.016765708103775978,
0.07077054679393768,
0.002273449907079339,
-0.0033994880504906178,
0.0008211867534555495,
-0.004895622842013836,
0.025954000651836395,
-0.01769263669848442,
-0.0006946339854039252,
-0.030435655266046524,
0.014236902818083763,
0.018970537930727005,
0.01820559799671173,
-0.006146526429802179,
-0.02219229005277157,
-0.016261747106909752,
0.004146430641412735,
-0.012914004735648632,
0.027033917605876923,
0.009872239083051682,
0.005543572828173637,
0.024010149762034416,
-0.020050454884767532,
-0.02602599561214447,
-0.02942773327231407,
0.0350612998008728,
0.07105852663516998,
-0.018700558692216873,
-0.026565954089164734,
0.025540031492710114,
0.0004643079882953316,
0.008904813788831234,
0.07386630773544312,
-0.022948231548070908,
0.025989998131990433,
-0.026871928945183754,
0.026133986189961433,
-0.0010157967917621136,
-0.030273666605353355,
0.026889927685260773,
0.017449654638767242,
-0.01652272790670395,
0.07537819445133209,
-0.0009280535159632564,
-0.011033150367438793,
-0.0037369620986282825,
-0.014047917909920216,
-0.0011479740496724844,
-0.04460056498646736,
-0.011960078962147236,
-0.03999291732907295,
0.032343506813049316,
0.015109836123883724,
-0.018718557432293892,
-0.029067760333418846,
0.006771978456526995,
-0.08444949239492416,
-0.014839856885373592,
0.02320021204650402,
-0.04683239012956619,
-0.057379577308893204,
0.027285898104310036,
0.021202366799116135,
-0.01933051086962223,
-0.04852426052093506,
-0.007010459899902344,
0.0069474647752940655,
-0.04107283428311348,
0.025936001911759377,
-0.009881238453090191,
0.04474455118179321,
-0.011015151627361774,
0.011213135905563831,
0.045896463096141815,
-0.023452192544937134,
0.03241550177335739,
-0.03884100914001465,
-0.008823820389807224,
-0.025198059156537056,
0.04359264299273491,
-0.07332634925842285,
-0.05665963515639305,
0.010538187809288502,
0.021922310814261436,
0.09438472986221313,
0.01777363009750843,
0.028617795556783676,
0.009638257324695587,
0.024352123960852623,
-0.025216057896614075,
0.03938096761703491,
-0.0064255050383508205,
-0.04269270971417427,
0.04643642157316208,
0.013336972333490849,
-0.017449654638767242,
0.05122405290603638,
0.04726435989141464,
0.009575262665748596,
0.02694392390549183,
0.004900122527033091,
0.005548072513192892,
0.039956919848918915,
-0.02631397172808647,
-0.03509729728102684,
0.05043211579322815,
0.030993612483143806,
0.02471209689974785,
-0.01048419252038002,
-0.057955533266067505,
0.013291975483298302,
0.023182213306427002,
0.012500036507844925,
0.007109452039003372,
0.029715711250901222,
-0.06648688018321991,
0.054499801248311996,
0.013642949052155018,
0.03605122119188309,
-0.03291946277022362,
0.02768186666071415,
0.01474086381494999,
0.04154079779982567,
0.04064086824655533,
0.0012430292554199696,
-0.028455806896090508,
0.021040378138422966,
0.016261747106909752,
0.03394538536667824,
-0.0030777628999203444,
-0.027735862880945206,
-0.018700558692216873,
0.020050454884767532,
0.03837304189801216,
0.023884160444140434,
0.017449654638767242,
0.00828386191278696,
0.02809583581984043,
-0.023992151021957397,
0.030543645843863487,
0.04838027060031891,
0.0024680597707629204,
0.027933847159147263,
-0.024046147242188454,
-0.018538571894168854,
-0.0336214080452919,
0.0029000265058130026,
-0.04704837501049042,
0.023848162963986397,
0.004297168925404549,
0.008441349491477013,
-0.028239823877811432,
0.024316126480698586,
0.032199520617723465,
0.05331189185380936,
0.024514110758900642,
-0.10381600260734558,
-0.04182877764105797,
-0.03437735140323639,
-0.05295192077755928,
0.0047156368382275105,
-0.022066300734877586,
0.030903618782758713,
-0.06994260847568512,
0.0005208348738960922,
0.018151601776480675,
-0.04938819631934166,
0.03164156153798103,
-0.01256303209811449,
0.02753787860274315,
-0.08228965848684311,
0.01875455491244793,
0.02482008747756481,
0.0025310548953711987,
0.006605491042137146,
-0.02708791382610798,
-0.03707714378833771,
-0.05745157226920128,
-0.0026367967948317528,
-0.03261348605155945,
-0.025504035875201225,
-0.022372275590896606,
-0.04830827936530113,
0.07386630773544312,
-0.032487496733665466,
-0.04506852850317955,
-0.011015151627361774,
-0.009620258584618568,
0.05935942754149437,
0.020716404542326927,
0.05431981384754181,
0.0021879563573747873,
-0.015172830782830715,
0.012383045628666878,
0.03657318279147148,
-0.013777938671410084,
-0.007316436152905226,
-0.019456500187516212,
-0.044420577585697174,
-0.021220365539193153,
-0.020158447325229645,
0.014434888027608395,
0.018520573154091835,
-0.05194399878382683,
-0.06915067136287689,
-0.06054733321070671,
0.01026820857077837,
-0.0041914270259439945,
-0.015505805611610413,
0.03851703181862831,
0.021166369318962097,
0.06223920360207558,
0.021058376878499985,
0.006542495917528868,
-0.018124602735042572,
0.022390274330973625,
-0.05118805542588234,
-0.046616408973932266,
0.0042611719109117985,
0.017206674441695213,
0.006254517938941717,
-0.034863315522670746,
0.0012396544916555285,
0.01152811199426651,
0.02973370999097824,
0.028833778575062752,
0.038769014179706573,
0.010529188439249992,
0.0570916011929512,
-0.04078485816717148,
-0.011654102243483067,
0.02843780815601349,
0.07181446999311447,
-0.03142558038234711,
-0.000610265473369509,
0.006938465405255556,
0.031335584819316864,
-0.013201982714235783,
-0.008315359242260456,
-0.013561954721808434,
0.01820559799671173,
0.009269285947084427,
0.04031689465045929,
0.04391661658883095,
0.0218863133341074,
-0.02080639638006687,
-0.004362413659691811,
-0.09316082298755646,
0.09107298403978348,
0.0011699098395183682,
0.08329758048057556,
0.021832317113876343,
-0.0030867622699588537,
-0.01115014124661684,
0.004582896828651428,
-0.017107682302594185,
0.012392044998705387,
-0.03938096761703491,
-0.008040880784392357,
-0.017368661239743233,
-0.02008645236492157,
-0.012014074251055717,
-0.0553637333214283,
-0.0618792325258255,
0.030147677287459373,
0.008594337850809097,
0.018826549872756004,
0.06328312307596207,
-0.011663101613521576,
-0.04697638005018234,
-0.039632946252822876,
0.05147603526711464,
0.064471036195755,
-0.06288715451955795,
0.05269993841648102,
0.011744095012545586,
0.002976520685479045,
0.04211675375699997,
-0.11979877203702927,
-0.02573801763355732,
-0.049460187554359436,
0.003309495048597455,
-0.0306516382843256,
-0.04413260146975517,
-0.03032766282558441,
0.016081761568784714,
0.025198059156537056,
-0.024946078658103943,
0.04168478772044182,
-0.03466532751917839,
-0.0077079059556126595,
0.06821474432945251,
0.07325435429811478,
0.014335895888507366,
0.018718557432293892,
0.02575601637363434,
0.015874776989221573,
0.05871147662401199,
0.05518374964594841,
0.0006007037009112537,
-0.012590030208230019,
0.01131212804466486,
0.004652641713619232,
-0.022858239710330963,
-0.02141834981739521,
-0.0660909116268158,
-0.015568800270557404,
0.011762093752622604,
0.03570924699306488,
-0.07091453671455383,
-0.046076450496912,
0.05989938601851463,
-0.04226074367761612,
0.01609076000750065,
-0.020716404542326927,
-0.03686115890741348,
-0.04092884808778763,
0.013939926400780678,
-0.009197290986776352,
-0.019096529111266136,
-0.005071109160780907,
-0.015190829522907734,
0.0033792397007346153,
0.019816473126411438,
0.01787262223660946,
0.04056887328624725,
0.0675307959318161,
-0.02496407739818096,
0.013345971703529358,
0.012896005995571613,
0.0011468491284176707,
0.05460779368877411,
-0.025180060416460037,
-0.0457884706556797,
-0.06036734953522682,
-0.07573816180229187,
0.04820028692483902,
-0.024136140942573547,
0.06828673928976059,
-0.022246286273002625,
0.05082808434963226,
-0.06861071288585663,
-0.0440606065094471,
0.014785860665142536,
-0.03441334888339043,
0.04258471727371216,
0.06519097834825516,
0.03151557222008705,
0.05903545022010803,
-0.06641488522291183,
0.013516958802938461,
-0.03678916394710541,
0.0031452577095478773,
0.03093961626291275,
0.08272162824869156,
0.10244810581207275,
-0.008553841151297092,
0.039056990295648575,
-0.0350612998008728,
-0.012797013856470585,
0.0011215385748073459,
0.018682559952139854,
0.05817151814699173,
-0.05637165531516075,
-0.012293052859604359,
0.012446041218936443,
-0.045464497059583664,
0.0008166870684362948,
0.0153258191421628,
0.026889927685260773,
0.07638611644506454,
0.053635869175195694,
0.016513727605342865,
-0.006758479401469231,
-0.015901774168014526,
0.0218863133341074,
0.03020167350769043,
0.029247745871543884,
0.009107298217713833,
-0.05946741998195648,
0.00542658194899559,
-0.0019213519990444183,
0.0032240014988929033,
0.020446425303816795,
0.06292314827442169,
0.019222518429160118,
0.007041957229375839,
-0.031191596761345863,
0.05413983017206192,
0.02645796164870262,
0.018538571894168854,
0.01994246430695057,
0.002933773910626769,
-0.006268016993999481,
-0.0788339227437973,
-0.02201230451464653,
0.032343506813049316,
0.009183792397379875,
0.030741631984710693,
0.08855317533016205,
0.03565525263547897,
0.05989938601851463,
0.00989923719316721,
-0.016243748366832733,
-0.021004382520914078,
-0.021004382520914078,
-0.000642325496301055,
-0.03232550993561745,
0.05802752822637558,
0.014785860665142536,
-0.03128159046173096,
-0.00039568825741298497,
0.01902453415095806,
-0.06706283241510391,
0.026745939627289772,
-0.04964017495512962,
-0.05205199122428894,
-0.02809583581984043,
0.04899222403764725,
0.0035929731093347073,
0.029859699308872223,
0.01115014124661684,
0.030093681067228317,
0.0035479767248034477,
0.005939542315900326,
0.002713290974497795,
-0.04226074367761612,
-0.015055839903652668,
-0.003032766282558441,
-0.01574878580868244,
-0.04211675375699997,
0.003788708010688424,
-0.019456500187516212,
-0.01226605474948883,
-0.0701225996017456,
0.006259017623960972,
-0.030129678547382355,
0.0032240014988929033,
-0.055687710642814636,
-0.021634332835674286,
-0.022948231548070908,
0.03282947093248367,
-0.0765301063656807,
-0.020896390080451965,
0.064471036195755,
-0.027789859101176262,
0.012806013226509094,
-0.0517280139029026,
0.014137910678982735,
0.010223212651908398,
-0.02258826047182083,
-0.06025935709476471,
0.021904312074184418,
-0.03855302929878235,
-0.0016648716991767287,
0.008355855941772461,
-0.005624566692858934,
0.07976985722780228,
-0.006268016993999481,
-0.011285130865871906,
0.045752473175525665,
-0.06691884249448776,
0.009611259214580059,
0.014146910049021244,
-0.00728493882343173,
0.046184442937374115,
0.026871928945183754,
-0.056623637676239014,
-0.023542186245322227,
0.012779015116393566,
0.044276587665081024,
0.025198059156537056,
0.05975539609789848,
0.03516928851604462,
0.04697638005018234,
-0.0446365624666214,
-0.023866161704063416,
-0.00020740590116474777,
-0.005894545931369066,
-0.008085876703262329,
-0.0005441768444143236,
0.03302745521068573,
0.021634332835674286,
-0.005854048766195774,
-0.07033857703208923,
-0.0012992748524993658,
0.0040451884269714355,
-0.029211750254034996,
0.030867621302604675,
0.022102296352386475,
-0.028509803116321564,
-0.04697638005018234,
-0.017665639519691467,
-0.03794107586145401,
0.0016997440252453089,
-0.011780092492699623,
-0.024892082437872887,
0.028797781094908714,
0.0010579809313639998,
-0.007518920581787825,
-0.025792011991143227,
0.04460056498646736,
-0.004468155559152365,
0.08581738919019699,
-0.0011620355071499944,
0.003107010619714856,
-0.017206674441695213,
0.052879925817251205,
0.020644409582018852,
-0.008796822279691696,
0.0010883536888286471,
-0.06328312307596207,
-0.04359264299273491,
-0.02737588994204998,
-0.001993346493691206,
0.06292314827442169,
-0.001159785664640367,
-0.017206674441695213,
0.014002921059727669,
0.019096529111266136,
0.07804198563098907,
-0.02244427055120468,
-0.03216352313756943,
-0.028167828917503357,
0.03408937528729439,
0.025486037135124207,
-0.010655178688466549,
-0.023686174303293228,
-0.031047608703374863,
-0.01324697956442833,
0.018538571894168854,
-0.1025920957326889,
0.015109836123883724,
0.0175036508589983,
0.038769014179706573,
0.051692016422748566,
0.018025610595941544,
0.023110220208764076,
-0.04478054866194725,
-0.016252748668193817,
0.02903176285326481,
0.006978962104767561,
0.0062860157340765,
0.02647596038877964,
0.002621048130095005,
-0.0321815200150013,
0.02543204091489315,
0.032523494213819504,
-0.015487806871533394,
0.011042148806154728,
-0.019276514649391174,
-0.013165985234081745,
-0.00807687733322382,
-0.00866183266043663,
0.06281515955924988,
-0.05665963515639305,
-0.03732912242412567,
-0.0791219025850296,
-0.009935234673321247,
0.03750910982489586,
0.0054355813190341,
-0.018952539190649986,
0.05831550806760788,
-0.030831623822450638,
-0.03714913874864578,
0.009737249463796616,
0.013507959432899952,
0.01027720794081688,
0.009953233413398266,
-0.0007233192445710301,
-0.033855389803647995,
0.011330126784741879,
-0.011087145656347275,
-0.02037443034350872,
0.00665498711168766,
-0.05813552066683769,
-0.037293124943971634,
-0.035781241953372955,
0.0711665153503418,
-0.005075608845800161,
-0.046616408973932266,
-0.06537096202373505,
-0.02321821078658104,
0.009917235933244228,
-0.00893631111830473,
-0.047660328447818756,
0.007766401395201683,
-0.0076404111459851265,
-0.04301668703556061,
-0.0067314812913537025,
0.010637180879712105,
0.035187289118766785,
-0.021184368059039116,
-0.018034610897302628,
-0.04078485816717148,
-0.022534264251589775,
-0.050072140991687775,
-0.019240517169237137,
-0.019420504570007324,
0.013291975483298302,
0.028653793036937714,
-0.005003614351153374,
-0.04899222403764725,
0.0384090393781662,
0.019438501447439194,
-0.013012997806072235,
0.02975170686841011,
0.0006968838279135525,
-0.04384462162852287,
0.016945693641901016,
-0.026133986189961433,
0.0660909116268158,
0.016927694901823997,
-0.026097988709807396,
0.037401117384433746,
-0.007262440398335457,
0.042476728558540344,
0.017008690163493156,
-0.014227903448045254,
-0.018646562471985817,
-0.08322558552026749,
-0.02960771881043911,
0.009012805297970772,
-0.02158033661544323,
-0.0016659966204315424,
0.010502191260457039,
0.03018367476761341,
-0.04258471727371216,
-0.002895526820793748,
-0.016846701502799988,
-0.053491879254579544,
0.04046088084578514,
0.03605122119188309,
0.0511520579457283,
0.06263517588376999,
-0.00781139824539423,
-0.005719059146940708,
-0.0158297810703516,
0.020428426563739777,
0.01303099561482668,
0.018628565594553947,
0.007806898560374975,
-0.012743018567562103,
-0.07354233413934708,
-0.05863948166370392,
-0.0012182811042293906,
0.01600976660847664,
-0.033099450170993805,
-0.002281324239447713,
-0.019978459924459457,
-0.02616998367011547,
0.030381659045815468,
-0.03808506578207016,
0.026241978630423546,
0.01531681977212429,
-0.02780785784125328,
0.030525648966431618,
-0.04524851217865944,
-0.044672559946775436,
0.08365755528211594,
0.05932343006134033,
-0.018007611855864525,
-0.007316436152905226,
-0.06328312307596207,
-0.027195904403924942,
-0.013471961952745914,
-0.018988536670804024,
-0.02944573201239109,
-0.019384507089853287,
0.10280808061361313,
-0.016045764088630676,
-0.030705634504556656,
-0.038769014179706573,
-0.02082439512014389,
0.017953617498278618,
-0.013858932070434093,
-0.032667484134435654,
-0.04359264299273491,
-0.0001657841057749465,
0.013507959432899952,
-0.02408214472234249,
0.033531416207551956,
-0.007410929072648287,
0.03284746780991554,
-0.007698907051235437,
-0.025072067975997925,
0.036969151347875595,
-0.017665639519691467,
-0.02264225482940674,
-0.007536919321864843,
-0.05046811327338219,
-0.013291975483298302,
0.03302745521068573,
0.035331279039382935,
0.0316595621407032,
0.014929849654436111,
0.04528450965881348,
0.019600490108132362,
0.02942773327231407,
0.05428381636738777,
-0.041720785200595856,
0.028023840859532356,
0.06835873425006866,
-0.03441334888339043,
0.038625024259090424,
-0.02095038630068302,
-0.003925947472453117,
-0.05043211579322815,
-0.05975539609789848,
-0.010385199449956417,
0.042476728558540344,
0.023434193804860115,
0.06263517588376999,
0.0452125146985054,
-0.04060487076640129,
0.022984229028224945
] |
18,318 | plotly_football_pitch.pitch_background | __init__ | Colour each half of the pitch per team, left=attack, right=defence.
Args:
attack_colour (str): Colour for the attacking team's half, the left
side of the pitch.
defence_colour (str): Colour for the defending team's half, the
right side of the pitch.
| def __init__(self, attack_colour: str, defence_colour: str):
"""Colour each half of the pitch per team, left=attack, right=defence.
Args:
attack_colour (str): Colour for the attacking team's half, the left
side of the pitch.
defence_colour (str): Colour for the defending team's half, the
right side of the pitch.
"""
self.attack_colour = attack_colour
self.defence_colour = defence_colour
| (self, attack_colour: str, defence_colour: str) | [
-0.004115558695048094,
-0.09075808525085449,
-0.027639642357826233,
0.011600193567574024,
-0.028502829372882843,
-0.04763390123844147,
-0.0012650552671402693,
0.022020108997821808,
0.010807469487190247,
0.048021454364061356,
-0.0050249891355633736,
0.014727049507200718,
0.010781046003103256,
0.06750484555959702,
-0.01828549988567829,
0.011520921252667904,
0.056899964809417725,
-0.013335378840565681,
0.02776295505464077,
-0.04234907403588295,
0.057217054069042206,
0.05094572529196739,
-0.0038513171020895243,
0.022583823651075363,
-0.01794198527932167,
0.08505047112703323,
-0.020469894632697105,
0.03539071977138519,
-0.032959699630737305,
-0.015916135162115097,
0.015096987597644329,
-0.01812695525586605,
-0.018056489527225494,
0.055279284715652466,
-0.01872590184211731,
-0.05503265932202339,
-0.003219339996576309,
0.05182652920484543,
-0.07948378473520279,
0.038015518337488174,
0.016515081748366356,
0.0035452377051115036,
0.0454142726957798,
0.00004053076554555446,
-0.08350025862455368,
-0.012930208817124367,
0.023711254820227623,
-0.0008714458672329783,
-0.0331534780561924,
-0.06081073358654976,
0.015784014016389847,
-0.032255057245492935,
-0.021967262029647827,
0.015968983992934227,
0.01812695525586605,
0.031726572662591934,
0.0015799428801983595,
0.04773959890007973,
0.0025058884639292955,
-0.008812448009848595,
-0.004571374971419573,
-0.0074251811020076275,
0.026917381212115288,
-0.018320731818675995,
-0.006059934385120869,
0.00984739325940609,
-0.022090574726462364,
0.032255057245492935,
0.03200843185186386,
0.04263093322515488,
0.043441273272037506,
0.06049364432692528,
-0.020646054297685623,
0.011450457386672497,
-0.007623361889272928,
0.008495358750224113,
-0.04854993894696236,
0.04136257246136665,
0.04661216959357262,
-0.020135188475251198,
-0.0029550986364483833,
0.056301016360521317,
-0.011071710847318172,
0.003743418725207448,
0.03539071977138519,
-0.055173587054014206,
0.004280709195882082,
-0.05665333941578865,
-0.030863385647535324,
0.0026446152478456497,
-0.08138632774353027,
-0.0057736728340387344,
-0.010869125835597515,
-0.011653042398393154,
0.0010547632118687034,
0.016303690150380135,
-0.0036707522813230753,
-0.005967449862509966,
0.00911632552742958,
0.008244329132139683,
-0.04125687852501869,
0.014859169721603394,
-0.008332409895956516,
0.010552036575973034,
-0.042208146303892136,
-0.054962195456027985,
-0.06172677129507065,
0.016744092106819153,
-0.025032460689544678,
0.007341504562646151,
-0.028326669707894325,
-0.01272762380540371,
0.0077026342041790485,
0.052390243858098984,
-0.008169461041688919,
-0.01647104136645794,
-0.053623370826244354,
0.006619244813919067,
0.033505797386169434,
-0.006359407678246498,
0.04907841980457306,
-0.032466448843479156,
-0.008125420659780502,
0.0581330880522728,
0.032572146505117416,
0.062184788286685944,
-0.03611297905445099,
0.014630161225795746,
-0.002939684549346566,
0.007359120529145002,
0.014084062539041042,
0.04671786352992058,
-0.0652499869465828,
-0.031162859871983528,
0.03660622984170914,
-0.0074736252427101135,
0.028661374002695084,
0.0275515615940094,
0.03664146363735199,
0.03234313800930977,
0.03406951203942299,
-0.02260144054889679,
0.030704841017723083,
-0.04206721857190132,
-0.034139979630708694,
0.0755377858877182,
-0.004359981510788202,
-0.038931552320718765,
0.03001781366765499,
0.10858556628227234,
0.009301294572651386,
0.04664739966392517,
0.03819167986512184,
-0.02087506465613842,
0.011688274331390858,
-0.040058985352516174,
0.0009820968843996525,
-0.025807568803429604,
0.0454142726957798,
0.03213174268603325,
-0.0010129250586032867,
-0.048726100474596024,
-0.005416946951299906,
0.022354815155267715,
0.018426427617669106,
0.02608942613005638,
-0.0050822412595152855,
-0.04277186095714569,
0.055067889392375946,
-0.046788327395915985,
0.011855627410113811,
-0.0949154794216156,
-0.031110011041164398,
0.04196152091026306,
0.02610704116523266,
0.015810439363121986,
-0.04661216959357262,
0.006597225088626146,
0.004326951690018177,
-0.034474682062864304,
0.012692390941083431,
-0.014048829674720764,
-0.02668837271630764,
-0.053341515362262726,
0.023922646418213844,
0.004128770437091589,
0.0392838753759861,
0.060247018933296204,
-0.017959602177143097,
-0.01073700562119484,
-0.0013046915410086513,
-0.02055797353386879,
-0.033611495047807693,
0.026265587657690048,
0.033541031181812286,
-0.020681286230683327,
-0.008913740515708923,
-0.05320058390498161,
0.0014291051775217056,
-0.014189758338034153,
-0.01990617997944355,
0.02034658193588257,
-0.06422825902700424,
-0.026705989614129066,
0.02948933094739914,
0.023535093292593956,
0.011802778579294682,
0.009776928462088108,
-0.031286172568798065,
-0.0495012067258358,
0.008816852234303951,
-0.019113454967737198,
0.04664739966392517,
0.010560845024883747,
0.03496793285012245,
-0.06535568833351135,
0.03362911194562912,
0.02147401124238968,
-0.06306559592485428,
0.060247018933296204,
0.06754007935523987,
-0.04090455546975136,
-0.03938957303762436,
0.03896678611636162,
-0.0067337495274841785,
0.040657930076122284,
-0.03569019213318825,
-0.0303525198251009,
-0.06514429301023483,
-0.005905793514102697,
-0.05880250036716461,
-0.003007947001606226,
-0.04664739966392517,
0.032307904213666916,
-0.0581330880522728,
0.029401250183582306,
0.010772237554192543,
0.010578460991382599,
-0.11013577878475189,
-0.023112306371331215,
0.013317761942744255,
0.047598667442798615,
0.029506947845220566,
0.023376548662781715,
0.034615613520145416,
-0.043335575610399246,
0.047211114317178726,
0.016796939074993134,
-0.04999445751309395,
0.017563238739967346,
-0.08963065594434738,
-0.00751766562461853,
-0.0019047395326197147,
0.026776453480124474,
-0.02991211786866188,
-0.014031213708221912,
-0.0908285453915596,
-0.006064338143914938,
0.022266734391450882,
-0.019730018451809883,
-0.00878602359443903,
-0.00002324153683730401,
0.023746486753225327,
0.06669450551271439,
0.05908435955643654,
0.022636672481894493,
-0.02862614206969738,
0.003952609840780497,
-0.00481359614059329,
-0.05013538524508476,
0.042701397091150284,
0.03040536679327488,
-0.004186023026704788,
0.013220873661339283,
-0.025966113433241844,
0.012939016334712505,
0.004712303634732962,
0.014172142371535301,
0.03258976340293884,
0.017589664086699486,
0.07842682301998138,
-0.05172083526849747,
-0.012322453781962395,
0.05827401950955391,
0.044956255704164505,
0.002160172676667571,
-0.0006903304602019489,
0.031286172568798065,
0.05880250036716461,
-0.022372432053089142,
0.017880329862236977,
0.026970230042934418,
0.041503503918647766,
0.03088100254535675,
0.08293654024600983,
0.047105420380830765,
0.046999722719192505,
0.0372404083609581,
0.012480998411774635,
-0.07021772861480713,
0.06641265004873276,
-0.08716440200805664,
0.07518546283245087,
0.00412436667829752,
-0.0668354406952858,
-0.03179704025387764,
0.003571661887690425,
-0.02281283400952816,
0.06493289768695831,
-0.04227861016988754,
0.029031312093138695,
0.03600728511810303,
-0.0023649598006159067,
0.04030560702085495,
0.03857923299074173,
-0.03657099977135658,
-0.0009991624392569065,
-0.01592494361102581,
-0.0009022739832289517,
0.06091643124818802,
0.007279848214238882,
-0.08998297899961472,
0.026617908850312233,
0.0464007742702961,
0.04330034554004669,
-0.021509243175387383,
-0.0025895650032907724,
0.02621273882687092,
0.01925438456237316,
0.033875737339258194,
-0.1255674809217453,
-0.05052293837070465,
0.005989470053464174,
-0.01051680464297533,
-0.06447488069534302,
-0.05175606533885002,
-0.03385812044143677,
0.03579588979482651,
0.023094691336154938,
-0.03266022726893425,
0.0313742533326149,
-0.03563734516501427,
-0.023112306371331215,
0.03590158745646477,
0.08244328945875168,
-0.01140641700476408,
-0.021914413198828697,
-0.04502671957015991,
0.014683009125292301,
0.06306559592485428,
0.012850936502218246,
-0.034404218196868896,
0.00023712906113360077,
0.01393432542681694,
0.047915760427713394,
0.02501484379172325,
-0.03399904817342758,
-0.05848541110754013,
-0.01684097945690155,
0.014586120843887329,
0.007940451614558697,
-0.001503973500803113,
-0.01958908885717392,
0.012357685714960098,
-0.051685601472854614,
0.0229713786393404,
-0.006385831627994776,
-0.03329440578818321,
-0.013317761942744255,
0.04604845494031906,
-0.003816084936261177,
-0.00034571572905406356,
-0.049254581332206726,
-0.033223941922187805,
0.004018669947981834,
0.007279848214238882,
-0.010886741802096367,
0.04957167059183121,
0.02637128345668316,
-0.08617790043354034,
-0.035549264401197433,
-0.003532025497406721,
0.018373578786849976,
0.0745512843132019,
-0.0582035556435585,
-0.014357111416757107,
-0.04830331355333328,
0.002862614346668124,
0.04784529283642769,
0.06729345768690109,
-0.020205652341246605,
-0.031127627938985825,
0.08018843084573746,
-0.07035865634679794,
-0.01636534556746483,
0.023323699831962585,
0.000281857413938269,
0.022953761741518974,
0.01207582838833332,
-0.020575590431690216,
0.036183442920446396,
-0.059753768146038055,
-0.03320632502436638,
-0.015000098384916782,
-0.03567257896065712,
0.01355557981878519,
0.039460036903619766,
0.10795138776302338,
-0.014735857024788857,
0.022478127852082253,
-0.002552130725234747,
0.006059934385120869,
-0.005029392894357443,
-0.01840881258249283,
0.001469842274673283,
-0.06074026972055435,
-0.01207582838833332,
-0.0035606517922133207,
-0.005936621688306332,
0.010763430036604404,
-0.026001345366239548,
-0.025226237252354622,
0.07645381987094879,
0.03931910917162895,
0.004210244864225388,
0.03340010344982147,
0.04115118086338043,
0.016409385949373245,
0.021808717399835587,
-0.00006165630475152284,
-0.045977987349033356,
0.029982581734657288,
-0.007821543142199516,
-0.051685601472854614,
0.0561600886285305,
-0.014251414686441422,
0.0017649118090048432,
-0.015704741701483727,
-0.0020368602126836777,
-0.0017318816389888525,
0.04467440024018288,
0.003175299847498536,
0.062325719743967056,
0.05284826457500458,
-0.0177305918186903,
-0.012172716669738293,
-0.09075808525085449,
-0.023852182552218437,
0.04784529283642769,
-0.01310636941343546,
-0.00016845384379848838,
0.08187957853078842,
0.0017649118090048432,
-0.007931643165647984,
0.0694073885679245,
-0.016876211389899254,
-0.08223189413547516,
0.005218766164034605,
0.03470369428396225,
-0.04167966544628143,
-0.009724080562591553,
0.006821829825639725,
-0.04714065045118332,
0.00992666557431221,
-0.04766913503408432,
-0.0033888949546962976,
0.05196746066212654,
-0.03221982344985008,
-0.0479862242937088,
-0.05027631297707558,
0.0013542367378249764,
-0.013088753446936607,
0.047105420380830765,
-0.01713164523243904,
0.008653903380036354,
0.005936621688306332,
0.0038226910401135683,
0.0009171375422738492,
-0.04685879498720169,
-0.04234907403588295,
-0.0484442412853241,
0.004540546797215939,
-0.04125687852501869,
-0.00911632552742958,
0.009045860730111599,
0.007015606854110956,
-0.05682950094342232,
-0.013766972348093987,
-0.023905031383037567,
-0.029559794813394547,
-0.05376429855823517,
-0.013220873661339283,
-0.028555678203701973,
-0.014357111416757107,
-0.07130992412567139,
0.030792921781539917,
0.05126281455159187,
-0.0020996173843741417,
-0.03576065972447395,
-0.004602203145623207,
0.05013538524508476,
-0.023394163697957993,
-0.017307806760072708,
-0.07581964135169983,
0.030599145218729973,
-0.05580776557326317,
0.0011681668693199754,
-0.03177942335605621,
-0.017254957929253578,
0.027851033955812454,
0.04263093322515488,
-0.02809765934944153,
0.018902061507105827,
-0.047105420380830765,
0.025226237252354622,
0.001724174595437944,
-0.038720160722732544,
0.03963619843125343,
0.008579034358263016,
-0.01749277487397194,
-0.020628439262509346,
0.02668837271630764,
0.03142710030078888,
0.018690669909119606,
0.003032169071957469,
0.019553856924176216,
0.04379359260201454,
-0.00451852660626173,
0.004155194852501154,
-0.028907999396324158,
-0.0037412166129797697,
-0.025842800736427307,
-0.03734610602259636,
0.02217865362763405,
0.003879943396896124,
0.05246070772409439,
-0.01111575122922659,
0.008719963021576405,
0.039460036903619766,
0.00127826735842973,
0.025420013815164566,
0.000874748860951513,
0.015810439363121986,
-0.07049958407878876,
-0.026829302310943604,
-0.0398123599588871,
-0.054539408534765244,
-0.011512113735079765,
-0.03061676025390625,
-0.02173825167119503,
0.020751751959323883,
-0.016929060220718384,
-0.05686473101377487,
-0.016990717500448227,
-0.01216390822082758,
0.051896993070840836,
-0.014947250485420227,
-0.005756056867539883,
0.04386406019330025,
0.04122164472937584,
-0.00798889622092247,
-0.0267940703779459,
0.0104639558121562,
-0.01754562370479107,
-0.025155773386359215,
-0.01823265105485916,
0.02705831080675125,
0.0484442412853241,
-0.01512341108173132,
-0.040763627737760544,
0.03334725275635719,
0.058309249579906464,
0.0293307863175869,
0.01746635138988495,
-0.035373102873563766,
-0.019941411912441254,
0.015096987597644329,
0.005452179349958897,
0.008178268559277058,
-0.029137009754776955,
-0.015810439363121986,
0.002840594155713916,
-0.04622461274266243,
-0.0678219348192215,
-0.028749454766511917,
0.02852044627070427,
0.002895644400268793,
0.011432841420173645,
0.02453920990228653,
0.023852182552218437,
0.000522702350281179,
-0.02765725739300251,
0.012560270726680756,
0.007315080612897873,
-0.03320632502436638,
-0.005042605102062225,
0.04833854362368584,
-0.02637128345668316,
0.004866444040089846,
0.015193875879049301,
0.001985112903639674,
0.008063764311373234,
-0.03523217514157295,
0.02189679630100727,
0.035919204354286194,
-0.01893729344010353,
0.06239618360996246,
0.014269030652940273,
-0.05277780070900917,
0.007676210254430771,
0.00659282086417079,
0.023605557158589363,
0.006288943346589804,
-0.015643086284399033,
0.047316811978816986,
-0.021544475108385086,
0.00671172933652997,
0.030546296387910843,
-0.0034703693818300962,
0.051791299134492874,
-0.027798186987638474,
0.04809191823005676,
-0.03072245791554451,
0.04256046935915947,
-0.007869986817240715,
-0.04019991308450699,
0.00794926006346941,
-0.08490954339504242,
-0.02459205873310566,
-0.09935473650693893,
0.047810062766075134,
0.015986599028110504,
-0.05961284041404724,
-0.0968884825706482,
-0.057921696454286575,
0.037205178290605545,
0.009371758438646793,
-0.005839732941240072,
0.005888177547603846,
0.016127528622746468,
0.004923696629703045,
0.006628052797168493,
0.03567257896065712,
0.03734610602259636,
-0.003131259698420763,
0.0021788899321109056,
-0.06366454064846039,
0.006209671031683683,
-0.02275998517870903,
-0.015229107812047005,
-0.02668837271630764,
0.03452753275632858,
0.026600291952490807,
0.013811012730002403,
-0.05686473101377487,
0.007116899359971285,
-0.003807276953011751,
-0.015828054398298264,
0.04499148949980736,
0.002093011513352394,
-0.04805668815970421,
0.04763390123844147,
0.05799216032028198,
0.027375400066375732,
0.01339703518897295,
0.003937195520848036,
0.048620402812957764,
-0.00898420438170433,
-0.0222138874232769,
0.041785359382629395,
-0.04682356119155884,
0.013229682110249996,
-0.023658405989408493,
-0.033875737339258194,
-0.0036861663684248924,
0.010393491946160793,
0.00987381674349308,
0.012850936502218246,
0.05957761034369469,
-0.022742370143532753,
0.02335893176496029,
0.014894402585923672,
-0.03162087872624397,
-0.04943074285984039,
0.06831518560647964,
0.09484501928091049,
-0.01969478651881218,
0.0035584496799856424,
0.009935473091900349,
-0.011934899725019932,
-0.03681762516498566,
-0.03098669834434986,
-0.005672380328178406,
-0.004963332787156105,
0.00527161406353116,
-0.016224415972828865,
-0.06313605606555939,
-0.06641265004873276,
0.000612159026786685,
-0.003624510020017624,
-0.00696716271340847,
-0.0010966014815494418,
-0.04988875985145569,
0.06771624088287354,
-0.04928981512784958,
-0.002889038296416402,
0.052707333117723465,
-0.0077290586195886135,
0.02506769262254238,
-0.044639166444540024,
-0.009706464596092701,
0.04890225827693939,
0.03082815371453762,
0.01699952408671379,
-0.014779897406697273,
-0.016435809433460236,
0.0003740666143130511,
-0.007042031269520521,
-0.04918411746621132,
-0.005416946951299906,
0.015916135162115097,
0.022460512816905975,
0.03359387814998627,
-0.0026864532846957445,
-0.016197992488741875,
-0.04143304005265236,
0.01022613886743784,
0.025807568803429604,
-0.01639176905155182,
-0.05235501378774643,
0.01589852012693882,
0.020963143557310104,
-0.022936146706342697,
0.012445766478776932,
-0.023447012528777122,
-0.008010915480554104,
0.020540358498692513,
-0.02453920990228653,
0.08089307695627213,
0.011653042398393154,
-0.005874965339899063,
-0.004326951690018177,
-0.030863385647535324,
-0.031021930277347565,
-0.058626338839530945,
0.0734238550066948,
0.012648351490497589,
0.022742370143532753,
0.003835903014987707,
0.01579282246530056,
0.029506947845220566,
0.03643006831407547,
-0.016171569004654884,
0.03798028454184532,
0.08441629260778427,
-0.024680139496922493,
0.03465084359049797,
-0.021597323939204216,
-0.020910296589136124,
-0.046576935797929764,
0.003921781666576862,
-0.007306272629648447,
0.037416569888591766,
0.01605706475675106,
0.020417045801877975,
0.04182059317827225,
0.008812448009848595,
-0.007715846411883831
] |
18,319 | typing | _proto_hook | null | def __init_subclass__(cls, *args, **kwargs):
super().__init_subclass__(*args, **kwargs)
# Determine if this is a protocol or a concrete subclass.
if not cls.__dict__.get('_is_protocol', False):
cls._is_protocol = any(b is Protocol for b in cls.__bases__)
# Set (or override) the protocol subclass hook.
def _proto_hook(other):
if not cls.__dict__.get('_is_protocol', False):
return NotImplemented
# First, perform various sanity checks.
if not getattr(cls, '_is_runtime_protocol', False):
if _allow_reckless_class_checks():
return NotImplemented
raise TypeError("Instance and class checks can only be used with"
" @runtime_checkable protocols")
if not _is_callable_members_only(cls):
if _allow_reckless_class_checks():
return NotImplemented
raise TypeError("Protocols with non-method members"
" don't support issubclass()")
if not isinstance(other, type):
# Same error message as for issubclass(1, int).
raise TypeError('issubclass() arg 1 must be a class')
# Second, perform the actual structural compatibility check.
for attr in _get_protocol_attrs(cls):
for base in other.__mro__:
# Check if the members appears in the class dictionary...
if attr in base.__dict__:
if base.__dict__[attr] is None:
return NotImplemented
break
# ...or in annotations, if it is a sub-protocol.
annotations = getattr(base, '__annotations__', {})
if (isinstance(annotations, collections.abc.Mapping) and
attr in annotations and
issubclass(other, Generic) and other._is_protocol):
break
else:
return NotImplemented
return True
if '__subclasshook__' not in cls.__dict__:
cls.__subclasshook__ = _proto_hook
# We have nothing more to do for non-protocols...
if not cls._is_protocol:
return
# ... otherwise check consistency of bases, and prohibit instantiation.
for base in cls.__bases__:
if not (base in (object, Generic) or
base.__module__ in _PROTO_ALLOWLIST and
base.__name__ in _PROTO_ALLOWLIST[base.__module__] or
issubclass(base, Generic) and base._is_protocol):
raise TypeError('Protocols can only inherit from other'
' protocols, got %r' % base)
cls.__init__ = _no_init_or_replace_init
| (other) | [
0.013239942491054535,
-0.03030233643949032,
-0.03313451632857323,
0.03557058423757553,
-0.09197650104761124,
0.008838181383907795,
-0.01012058462947607,
0.02804451435804367,
0.027291908860206604,
-0.02164735458791256,
0.038085877895355225,
0.013566732406616211,
-0.023112958297133446,
-0.03578844666481018,
-0.035748835653066635,
0.005639601498842239,
0.007417140528559685,
0.006065418478101492,
0.004765686113387346,
-0.07807307690382004,
0.024301284924149513,
0.023588288575410843,
0.013537024147808552,
0.026638329029083252,
0.0022850537206977606,
0.03848198801279068,
-0.03549136221408844,
0.0016401386819779873,
0.024598367512226105,
-0.014992724172770977,
-0.037669964134693146,
0.02620260789990425,
0.05216755345463753,
0.07454770803451538,
0.03925440087914467,
0.011150467209517956,
0.03313451632857323,
0.0546630397439003,
-0.05402926355600357,
0.03703618794679642,
-0.06991323083639145,
-0.031153971329331398,
0.023172374814748764,
-0.03592708334326744,
0.0461466945707798,
0.015032335184514523,
0.02669774554669857,
0.07114116847515106,
-0.09364016354084015,
-0.04693891480565071,
-0.05169222131371498,
-0.04911751300096512,
0.014349047094583511,
0.021964242681860924,
-0.028698094189167023,
0.055534478276968,
0.05268249288201332,
0.07157689332962036,
-0.03160949423909187,
-0.0029163523577153683,
-0.04194793850183487,
0.02164735458791256,
0.010853385552763939,
-0.007768687326461077,
-0.026004554703831673,
-0.06757619231939316,
-0.03961089625954628,
-0.042779769748449326,
0.013705370016396046,
-0.0027009679470211267,
-0.0000011653107776510296,
0.010873191058635712,
-0.012725000269711018,
0.0376303531229496,
0.05482148006558418,
0.011625798419117928,
0.018844883888959885,
-0.013725175522267818,
-0.008293531835079193,
0.0001654064399190247,
0.07668669521808624,
-0.023231791332364082,
0.0488402359187603,
0.016527647152543068,
0.002772762905806303,
-0.016695993021130562,
-0.018013056367635727,
0.006025807932019234,
0.042264826595783234,
0.01420050673186779,
-0.03131241351366043,
0.005793093703687191,
0.037174828350543976,
-0.01851809397339821,
-0.02548961155116558,
0.002169934567064047,
-0.033827707171440125,
-0.012625973671674728,
-0.047533076256513596,
-0.018409164622426033,
-0.008788667619228363,
0.007585486862808466,
-0.022320739924907684,
-0.011279202997684479,
-0.009813600219786167,
0.0528409369289875,
0.005436595529317856,
-0.006560554727911949,
-0.08302444219589233,
0.01767636276781559,
0.03862062469124794,
0.05204872041940689,
-0.016507841646671295,
0.04784996435046196,
0.0018654257291927934,
0.017636751756072044,
0.01498282141983509,
-0.023311013355851173,
0.030005253851413727,
0.014616421423852444,
-0.014893697574734688,
0.005570282228291035,
-0.018280429765582085,
0.03420400992035866,
-0.008971868082880974,
0.02299412526190281,
0.0338078998029232,
-0.022815877571702003,
0.035748835653066635,
-0.04808763042092323,
0.07248794287443161,
-0.00044840772170573473,
-0.04943440109491348,
0.059376735240221024,
0.00972447544336319,
0.006164446007460356,
-0.04218560457229614,
0.002265248214825988,
-0.015646304935216904,
-0.051216889172792435,
0.03636280447244644,
-0.004614669363945723,
0.05446498468518257,
0.010417666286230087,
-0.028559457510709763,
-0.005441546905785799,
-0.04773113131523132,
-0.04499797895550728,
0.01306169293820858,
0.004211133345961571,
-0.014190603978931904,
-0.017626849934458733,
-0.00276781152933836,
0.006768512073904276,
-0.03376828879117966,
0.021488912403583527,
-0.04052194952964783,
-0.025608444586396217,
0.032203659415245056,
-0.004406712483614683,
0.014497588388621807,
-0.044205762445926666,
0.026044165715575218,
-0.0596144013106823,
-0.00013523407687898725,
-0.0020659558940678835,
-0.011407938785851002,
-0.08825308084487915,
-0.009546225890517235,
0.08548031747341156,
-0.022815877571702003,
0.04222521558403969,
0.06108000501990318,
-0.021112607792019844,
0.028163347393274307,
0.011922880075871944,
0.02471720054745674,
-0.024123037233948708,
0.012715098448097706,
0.05054350569844246,
0.033689066767692566,
-0.02243957296013832,
-0.015576985664665699,
-0.0010725888423621655,
0.0021402263082563877,
0.08754008263349533,
0.002559854183346033,
-0.006822977215051651,
0.014854086562991142,
0.0079518873244524,
-0.009442247450351715,
-0.024380506947636604,
-0.006961615290492773,
0.016141440719366074,
0.026242218911647797,
0.038581013679504395,
0.004778064321726561,
0.06820996850728989,
-0.047453854233026505,
0.02101358026266098,
-0.00028160872170701623,
0.06389237940311432,
-0.014774864539504051,
-0.04194793850183487,
-0.0011338619515299797,
-0.015537374652922153,
0.05593058839440346,
0.02861887402832508,
-0.006718998309224844,
-0.09451159834861755,
0.0015151167754083872,
-0.024380506947636604,
-0.011081148870289326,
-0.01852799765765667,
0.03982875868678093,
-0.08033090084791183,
0.05204872041940689,
-0.0205976665019989,
-0.00041715227416716516,
0.044483035802841187,
0.04757268726825714,
0.0338078998029232,
-0.05339549109339714,
0.05929751321673393,
-0.022776266559958458,
0.044839534908533096,
0.020211460068821907,
-0.005065243691205978,
0.014319339767098427,
0.0061050294898450375,
-0.0151214599609375,
0.03521408885717392,
0.013031985610723495,
0.027450351044535637,
-0.009179824963212013,
0.05862412601709366,
0.05727735906839371,
-0.0027851411141455173,
-0.03277801722288132,
0.06793268769979477,
0.02739093452692032,
-0.016775215044617653,
-0.005377179477363825,
-0.03790763020515442,
-0.06908140331506729,
-0.003822451690211892,
-0.044839534908533096,
0.0007167096482589841,
0.050939612090587616,
0.048444125801324844,
-0.06416965276002884,
-0.007288405206054449,
-0.042779769748449326,
-0.05323704704642296,
-0.017577335238456726,
-0.0452752560377121,
-0.10988062620162964,
-0.09506615251302719,
-0.002125372178852558,
0.03426342457532883,
-0.032896850258111954,
0.0676950216293335,
-0.005699018016457558,
0.10623642802238464,
-0.04594863951206207,
-0.028856538236141205,
-0.026776965707540512,
-0.004716172348707914,
-0.013972744345664978,
0.02655910700559616,
0.11447549611330032,
-0.027806850150227547,
0.05216755345463753,
0.06428848952054977,
0.010912802070379257,
-0.07320094108581543,
-0.01639891229569912,
0.031114360317587852,
0.009714572690427303,
-0.030837083235383034,
0.035471558570861816,
0.03335237503051758,
0.041789498180150986,
-0.02093436010181904,
-0.0215087179094553,
-0.030995527282357216,
-0.01529970858246088,
-0.019260799512267113,
-0.04151222109794617,
-0.04202716052532196,
0.00950661487877369,
-0.03917517885565758,
0.05260327085852623,
0.05921829119324684,
0.03483778238296509,
0.0002619579900056124,
-0.01551756914705038,
0.04848373681306839,
0.016418717801570892,
-0.09165961295366287,
-0.031153971329331398,
0.04210638254880905,
-0.018191304057836533,
0.013933133333921432,
0.03461992368102074,
-0.11764436215162277,
-0.02384576015174389,
0.013616246171295643,
0.03947225958108902,
0.04678047075867653,
0.042423270642757416,
0.004141814541071653,
0.019577685743570328,
-0.016646480187773705,
0.05624747276306152,
0.08825308084487915,
0.040284283459186554,
-0.05137533321976662,
-0.028381207957863808,
0.0365014411509037,
-0.017715973779559135,
0.009115457534790039,
0.0024583511985838413,
-0.009823502041399479,
-0.05006817355751991,
-0.01838935911655426,
0.017725875601172447,
-0.01675540953874588,
-0.035748835653066635,
0.0017837282503023744,
-0.037808600813150406,
0.05082078278064728,
0.028876343742012978,
-0.05886179208755493,
0.021112607792019844,
-0.04947401210665703,
-0.0047037941403687,
-0.01104153785854578,
-0.009981946088373661,
-0.04396809637546539,
0.006704144179821014,
0.018369553610682487,
0.034322842955589294,
-0.02436070144176483,
-0.02483603172004223,
0.017864514142274857,
-0.07787502557039261,
0.04083883389830589,
-0.021271051838994026,
-0.014111381955444813,
0.029945839196443558,
-0.03741249069571495,
-0.07276521623134613,
0.00541183864697814,
0.0047706374898552895,
-0.05862412601709366,
-0.030005253851413727,
-0.047533076256513596,
0.02513311430811882,
-0.03776898980140686,
0.053355880081653595,
0.044047318398952484,
-0.0644865408539772,
0.03790763020515442,
-0.029906228184700012,
0.0029732929542660713,
0.009610594250261784,
-0.02131066285073757,
-0.04250249266624451,
-0.016497937962412834,
-0.01775558479130268,
-0.016379106789827347,
0.003785316366702318,
-0.029074398800730705,
-0.02853965200483799,
0.02101358026266098,
0.014042062684893608,
0.007644903380423784,
0.0014383706729859114,
0.0017379281343892217,
0.032263074070215225,
0.013606343418359756,
-0.02818315289914608,
-0.031352024525403976,
0.007352772634476423,
-0.04792918637394905,
-0.035630002617836,
0.013962841592729092,
0.05410848557949066,
0.05565331131219864,
0.03487739339470863,
0.0022949562408030033,
-0.013437996618449688,
-0.07732047140598297,
-0.008650030009448528,
0.035828057676553726,
-0.030282530933618546,
0.06797230243682861,
0.019151868298649788,
0.030044864863157272,
0.04353237524628639,
0.013933133333921432,
0.02939128503203392,
-0.01299237459897995,
0.04218560457229614,
0.10892996937036514,
0.0802120640873909,
0.00635259784758091,
-0.014685739763081074,
-0.0068972473964095116,
-0.013863814063370228,
0.06064428389072418,
-0.008402461186051369,
-0.01710200496017933,
0.008278677240014076,
-0.017300060018897057,
0.011011829599738121,
0.02655910700559616,
-0.016171148046851158,
0.012338794767856598,
-0.011813949793577194,
0.0257668886333704,
0.02001340501010418,
-0.048879846930503845,
0.02895556576550007,
0.08029128611087799,
-0.049870118498802185,
0.004624572116881609,
0.026440273970365524,
0.003668959252536297,
-0.006926955655217171,
0.055692922323942184,
-0.011110857129096985,
-0.026162996888160706,
0.01675540953874588,
-0.041987549513578415,
0.013586537912487984,
0.032619573175907135,
-0.0068972473964095116,
-0.013566732406616211,
-0.06496187299489975,
-0.025885721668601036,
0.01075435895472765,
0.049949340522289276,
0.049236346036195755,
-0.018300235271453857,
-0.02001340501010418,
0.013834105804562569,
0.005129611119627953,
0.038085877895355225,
0.014170798473060131,
0.0015460628783330321,
0.059099458158016205,
0.03307509794831276,
-0.04955323413014412,
-0.04586941748857498,
0.009293707087635994,
0.011724825948476791,
-0.012635876424610615,
-0.02584611065685749,
-0.0015485385665670037,
0.026380857452750206,
-0.007793444208800793,
-0.06531836837530136,
0.0028198007494211197,
-0.013903425075113773,
0.0596144013106823,
-0.0067338524386286736,
-0.026380857452750206,
0.0022541077341884375,
0.015656206756830215,
0.013735078275203705,
0.034461479634046555,
0.010308736003935337,
-0.053078602999448776,
0.008674786426126957,
0.07736007869243622,
-0.02760879509150982,
-0.02017184905707836,
-0.01710200496017933,
0.029272453859448433,
0.0032406665850430727,
-0.03277801722288132,
-0.026361051946878433,
0.006085223983973265,
-0.05446498468518257,
-0.007481508422642946,
0.006382305640727282,
-0.0022924807853996754,
0.022617822512984276,
0.002063480205833912,
0.01306169293820858,
-0.02315256930887699,
0.0215087179094553,
0.02897537127137184,
-0.04424537345767021,
0.0027083950117230415,
0.016725702211260796,
0.03568941727280617,
-0.025232141837477684,
-0.0215087179094553,
0.0025648055598139763,
0.002094426192343235,
-0.011883269064128399,
0.0034808076452463865,
-0.04713696613907814,
-0.017290156334638596,
0.04729541018605232,
0.03691735491156578,
0.07114116847515106,
-0.029648756608366966,
0.008749056607484818,
0.0020213935058563948,
0.005852510221302509,
0.02249898947775364,
0.0035699321888387203,
-0.02774743363261223,
-0.014646129682660103,
0.009769037365913391,
-0.0010985834524035454,
0.017210934311151505,
0.01789422333240509,
0.016022607684135437,
0.03768976777791977,
0.014596615917980671,
-0.009338269010186195,
-0.007303259335458279,
-0.00703093409538269,
0.028064319863915443,
-0.03392673283815384,
0.002829703502357006,
-0.00745675154030323,
-0.031550079584121704,
-0.02642046846449375,
0.010813774541020393,
-0.0021414640359580517,
-0.016587063670158386,
0.01653754897415638,
-0.03935342654585838,
-0.021904826164245605,
0.02342984639108181,
0.07490420341491699,
0.0013306785840541124,
0.04147261008620262,
-0.08532187342643738,
0.004584961570799351,
-0.009496713057160378,
0.01046718005090952,
-0.024756811559200287,
0.00015457533299922943,
-0.016091927886009216,
0.022776266559958458,
-0.0004125103587284684,
0.0365014411509037,
-0.0322432704269886,
-0.0596144013106823,
0.04579019546508789,
0.07831074297428131,
0.01909245178103447,
0.062307942658662796,
0.007491410709917545,
0.00592678040266037,
-0.00990272406488657,
-0.03664008155465126,
-0.024954864755272865,
-0.022914903238415718,
0.03145105391740799,
0.02279607206583023,
-0.023964593186974525,
-0.003495661774650216,
-0.010922704823315144,
0.009788842871785164,
-0.033411793410778046,
0.04495836794376373,
0.03721443936228752,
0.018993426114320755,
-0.03147085756063461,
0.05339549109339714,
-0.003978419583290815,
-0.02342984639108181,
0.030044864863157272,
0.007694416679441929,
-0.009462052956223488,
-0.030856888741254807,
0.009026332758367062,
-0.032619573175907135,
0.010036410763859749,
-0.03642221912741661,
-0.03564980626106262,
-0.023112958297133446,
-0.04052194952964783,
0.05727735906839371,
0.05494031310081482,
-0.04919673502445221,
-0.02647988498210907,
0.030797472223639488,
-0.021548328921198845,
-0.00176144705619663,
0.01696336641907692,
0.02727210335433483,
-0.06773463636636734,
0.060168951749801636,
0.022815877571702003,
-0.05185066536068916,
0.0027504817117005587,
-0.04777074232697487,
-0.021667160093784332,
-0.02008272521197796,
-0.03442186862230301,
-0.047533076256513596,
0.023013930767774582,
0.020815527066588402,
0.038085877895355225,
-0.053276658058166504,
-0.03327315300703049,
-0.03570922464132309,
-0.050503894686698914,
0.04832529276609421,
-0.024261673912405968,
-0.00715471850708127,
-0.04115572199225426,
-0.02449933998286724,
0.001528733060695231,
0.01267548743635416,
-0.05707930400967598,
0.027945488691329956,
-0.017725875601172447,
-0.004817675333470106,
-0.029688367620110512,
-0.039650507271289825,
0.015497763641178608,
-0.0012947812210768461,
-0.040720000863075256,
-0.008323240093886852,
-0.030896499752998352,
-0.04773113131523132,
-0.003183725755661726,
0.01185356080532074,
0.04598825052380562,
0.05145455524325371,
-0.03301568329334259,
-0.09015440195798874,
0.03511505946516991,
-0.019201382994651794,
-0.03984856233000755,
-0.05402926355600357,
0.024935059249401093,
0.00851634331047535,
0.007540924474596977,
0.03636280447244644,
0.03656085953116417,
0.058663737028837204,
-0.01235860027372837,
-0.036382608115673065,
-0.029569534584879875,
0.009140214882791042,
0.017062393948435783,
0.029628951102495193,
0.0461466945707798,
0.008595564402639866,
-0.019260799512267113,
0.01480457279831171,
0.008357899263501167,
-0.018617121502757072,
0.05086039379239082,
0.035471558570861816,
-0.005575233604758978,
-0.09451159834861755,
0.003478331957012415,
-0.02527175284922123,
-0.019270701333880424,
0.030837083235383034,
-0.058188408613204956,
0.017943736165761948,
-0.026955215260386467,
-0.005540574435144663,
-0.03925440087914467,
-0.06329821050167084,
-0.002906449604779482,
0.023449651896953583,
-0.03691735491156578,
0.02861887402832508,
-0.09110506623983383,
-0.015923580154776573,
-0.026460079476237297,
0.02939128503203392,
0.034758564084768295,
0.02428147941827774,
0.003723424393683672,
-0.1309536248445511,
0.01175453420728445,
0.06828918308019638,
0.012289281003177166,
0.02499447576701641,
-0.0014618897112086415,
-0.02335062436759472,
-0.03885829076170921,
-0.0627436637878418,
0.019557880237698555,
-0.01973612979054451,
-0.012477432377636433,
-0.02016194723546505,
-0.03604591637849808,
0.0009079560404643416,
0.0036243970971554518,
0.04087844491004944,
-0.07490420341491699,
-0.010080973617732525,
0.027648406103253365,
-0.017210934311151505,
-0.039155371487140656,
0.012645779177546501,
0.04392848536372185,
-0.08817385882139206,
-0.02285548858344555,
0.012635876424610615,
0.040145643055438995,
-0.0005124660092405975,
-0.0060208565555512905,
-0.03279782459139824,
-0.019983697682619095,
0.019468756392598152,
0.025291558355093002,
0.01124949473887682,
0.03862062469124794,
0.010036410763859749,
0.06191183254122734,
-0.03996739536523819,
0.019716324284672737,
0.03291665390133858,
0.05589097738265991,
0.01918157748878002,
-0.08833230286836624,
0.039789147675037384,
0.013853911310434341,
-0.002453400054946542,
-0.028381207957863808,
-0.042264826595783234,
-0.028381207957863808,
0.043057046830654144,
0.0032406665850430727,
-0.0537915974855423,
0.008823327720165253,
0.04642397165298462,
-0.0008844370604492724,
-0.002730676205828786,
0.03164910525083542,
0.02895556576550007,
0.06325860321521759,
0.002735627582296729,
-0.04551292210817337,
-0.028381207957863808,
-0.019557880237698555,
0.00898177083581686,
0.06559564918279648,
0.005184076260775328,
-0.023231791332364082,
-0.023311013355851173,
-0.05620786175131798,
-0.03836315497756004,
-0.03949206322431564,
-0.0020015882328152657,
0.04963245242834091,
-0.01931031234562397,
-0.0028098979964852333,
0.014418366365134716,
0.014250020496547222,
-0.002874265657737851
] |
18,320 | plotly_football_pitch.pitch_background | add_background | Add attacking and defending team backgrounds to a pitch.
Follows the standard convention for horizontal pitches whereby the left
hand side represents the attacking team and the right hand side the
defending team.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
Returns:
plotly.graph_objects.Figure
| def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add attacking and defending team backgrounds to a pitch.
Follows the standard convention for horizontal pitches whereby the left
hand side represents the attacking team and the right hand side the
defending team.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
Returns:
plotly.graph_objects.Figure
"""
attack_half = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": 0,
"x1": dimensions.pitch_mid_length_metres,
}
defence_half = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": dimensions.pitch_mid_length_metres,
"x1": dimensions.pitch_length_metres,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
attack_half, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=self.attack_colour,
fillcolor=self.attack_colour,
layer="below",
)
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
defence_half, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=self.defence_colour,
fillcolor=self.defence_colour,
layer="below",
)
return fig
| (self, fig: plotly.graph_objs._figure.Figure, dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation) -> plotly.graph_objs._figure.Figure | [
-0.00794011726975441,
-0.09864427894353867,
-0.03355756029486656,
-0.001565782236866653,
-0.05672401934862137,
0.045905888080596924,
-0.02256149798631668,
0.02814849466085434,
-0.029429588466882706,
0.015924716368317604,
0.0573645681142807,
0.024376383051276207,
0.01636064425110817,
-0.026725055649876595,
-0.02250812016427517,
0.007481948006898165,
0.044411275535821915,
0.017134638503193855,
0.04825456067919731,
-0.0703534409403801,
0.06377004086971283,
-0.012019157409667969,
0.0015946958446875215,
0.05451769009232521,
-0.002793497871607542,
0.031244471669197083,
-0.07252418249845505,
0.007597602438181639,
-0.030675096437335014,
0.016476299613714218,
0.019305383786559105,
-0.012508464977145195,
0.0043325903825461864,
0.00947476178407669,
-0.0018994006095454097,
-0.01937655545771122,
-0.03547920286655426,
0.02592437155544758,
-0.04597705975174904,
0.029909998178482056,
0.04953565448522568,
0.04092385247349739,
0.07295121997594833,
-0.05843214690685272,
-0.014109833166003227,
-0.0162716805934906,
0.020408548414707184,
-0.010462271980941296,
0.04409100487828255,
-0.06497996300458908,
0.023059701547026634,
-0.11287866532802582,
-0.008153633214533329,
0.06106550619006157,
-0.03508775681257248,
-0.01573789119720459,
0.003394010942429304,
-0.017170226201415062,
0.029963377863168716,
-0.01937655545771122,
-0.0021640711929649115,
-0.05245370417833328,
-0.0026689469814300537,
0.0074997409246861935,
0.01130743883550167,
0.007655429653823376,
-0.03065730445086956,
-0.030052343383431435,
-0.0008996575488708913,
-0.024323003366589546,
0.01991034485399723,
0.01681436598300934,
-0.004368176683783531,
0.023148667067289352,
-0.019750207662582397,
-0.02733001671731472,
-0.009883999824523926,
0.029038142412900925,
0.05754249542951584,
-0.02208108827471733,
-0.011681091040372849,
0.028717869892716408,
-0.012375017628073692,
0.04380631446838379,
0.07608278095722198,
-0.01971462182700634,
0.016369542106986046,
-0.011574333533644676,
0.017775187268853188,
-0.005546961445361376,
-0.004461589735001326,
0.018824972212314606,
0.018771594390273094,
-0.028077321127057076,
0.0766521543264389,
-0.002115140436217189,
-0.006623436696827412,
0.0012555171269923449,
0.002931393450126052,
-0.017268085852265358,
-0.055158235132694244,
-0.01898510940372944,
-0.03932248428463936,
0.015862440690398216,
0.02925165928900242,
-0.014705897308886051,
-0.01768622174859047,
-0.02786380611360073,
-0.10853717476129532,
-0.0178285650908947,
0.04149322956800461,
-0.06245335936546326,
-0.047400496900081635,
0.03505216911435127,
0.026066714897751808,
-0.02910931408405304,
-0.04377073049545288,
-0.027436774224042892,
0.0007923436351120472,
-0.032703496515750885,
0.0178285650908947,
-0.015382030978798866,
0.052702806890010834,
-0.0032850289717316628,
0.013042254373431206,
0.030728476122021675,
-0.013584939762949944,
0.02902035042643547,
-0.03996303305029869,
-0.040461234748363495,
0.001519075594842434,
0.03708057105541229,
-0.0935199037194252,
-0.06686601787805557,
0.005551409441977739,
-0.002225234406068921,
0.1339455544948578,
0.005600340198725462,
0.03426927700638771,
-0.006071854382753372,
0.0034829757642000914,
-0.021582884714007378,
0.016876641660928726,
0.009043281897902489,
-0.04505182430148125,
0.04405541718006134,
-0.007708808407187462,
-0.014563553966581821,
0.04633291810750961,
0.04444686323404312,
0.026475952938199043,
0.03846842050552368,
-0.022810600697994232,
0.005667063873261213,
0.030621718615293503,
-0.0178285650908947,
-0.01236612070351839,
0.05291632190346718,
0.04768518730998039,
0.01346928533166647,
0.009043281897902489,
-0.0366179533302784,
0.013344734907150269,
0.04522975534200668,
0.014314452186226845,
0.0048485868610441685,
0.026475952938199043,
-0.04444686323404312,
0.05312983691692352,
0.021956536918878555,
0.04117295518517494,
-0.0342336930334568,
0.03195619210600853,
0.006129681598395109,
0.03878869488835335,
0.025408374145627022,
0.02039075456559658,
-0.015355341136455536,
0.010230963118374348,
0.030728476122021675,
0.05565644055604935,
0.011334127746522427,
0.0044749341905117035,
-0.015978096053004265,
0.019839173182845116,
0.030621718615293503,
0.0192875899374485,
0.029607517644762993,
0.022863978520035744,
0.0192875899374485,
-0.007330707740038633,
0.04473154991865158,
0.029607517644762993,
-0.013140115886926651,
0.010453375987708569,
-0.02549733966588974,
-0.007206156849861145,
-0.034731894731521606,
0.006467747967690229,
-0.06433941423892975,
0.020266203209757805,
-0.0016547470586374402,
-0.007562016136944294,
-0.03864635154604912,
0.04245404899120331,
0.007953462190926075,
0.023700248450040817,
0.01991034485399723,
-0.08846669644117355,
-0.05750691145658493,
-0.017045674845576286,
-0.06117226555943489,
-0.01909186691045761,
-0.025141479447484016,
0.029536345973610878,
-0.08718559890985489,
-0.016476299613714218,
0.0007823350606486201,
-0.042916666716337204,
0.025052515789866447,
-0.03186722472310066,
0.032650116831064224,
-0.07170570641756058,
0.014269969426095486,
0.028077321127057076,
-0.0044749341905117035,
0.023735834285616875,
-0.03142240270972252,
-0.028308629989624023,
-0.042098190635442734,
-0.0030448236502707005,
-0.014287762343883514,
-0.03779228776693344,
-0.024981344118714333,
-0.02549733966588974,
0.1128074899315834,
-0.036653537303209305,
-0.048895109444856644,
0.006530023645609617,
0.013318045064806938,
0.0799972340464592,
0.010542340576648712,
0.07003317028284073,
0.0011270740069448948,
-0.026867398992180824,
0.039500415325164795,
0.0023331043776124716,
-0.008656284771859646,
0.006071854382753372,
-0.008122495375573635,
-0.05316542461514473,
-0.006058509461581707,
-0.027596911415457726,
0.02487458474934101,
0.017045674845576286,
-0.06288038939237595,
-0.057578083127737045,
-0.07451699674129486,
0.033094942569732666,
-0.006614540237933397,
-0.0028090665582567453,
0.04170674458146095,
0.03839724883437157,
0.07964137941598892,
-0.004001196473836899,
0.0023686904460191727,
-0.042347293347120285,
0.020764406770467758,
-0.040852680802345276,
-0.05981999635696411,
-0.015524374321103096,
0.02174302190542221,
0.04594147205352783,
-0.04540768265724182,
0.029411794617772102,
0.014092040248215199,
0.02882462739944458,
0.028184080496430397,
0.03503437712788582,
0.006850297097116709,
0.05619022995233536,
-0.041137367486953735,
-0.005591443739831448,
0.04473154991865158,
0.03957158699631691,
-0.025319410488009453,
0.006147474516183138,
0.04238287732005119,
0.018682628870010376,
-0.031030956655740738,
-0.014536864124238491,
-0.0016836606664583087,
0.020283997058868408,
0.022490326315164566,
0.027454568073153496,
0.0515640564262867,
0.034820862114429474,
-0.012463982217013836,
-0.005933958571404219,
-0.07142101973295212,
0.0819188803434372,
0.02154729887843132,
0.08227473497390747,
0.021618470549583435,
-0.020550891757011414,
-0.020034894347190857,
-0.015640029683709145,
0.007873393595218658,
-0.012517360970377922,
-0.04473154991865158,
0.004221384413540363,
-0.032276466488838196,
0.00052433687960729,
-0.015382030978798866,
-0.036315470933914185,
-0.06473086029291153,
0.03885986655950546,
-0.002655602293089032,
0.013149011880159378,
0.043592799454927444,
-0.001982805086299777,
-0.04266756400465965,
-0.03094199113547802,
0.032454393804073334,
0.05960648134350777,
-0.06739980727434158,
0.054980307817459106,
0.006116336677223444,
0.02261487767100334,
0.05042530596256256,
-0.12141929566860199,
-0.02380700595676899,
-0.0395359992980957,
0.002795721869915724,
-0.027650291100144386,
-0.04747166857123375,
-0.025319410488009453,
0.02809511497616768,
0.025408374145627022,
-0.024180660024285316,
0.039642758667469025,
-0.026351403445005417,
0.005520272068679333,
0.07120750099420547,
0.07117191702127457,
0.003051496110856533,
-0.006908124312758446,
0.017330361530184746,
0.00630316324532032,
0.03708057105541229,
0.03414472937583923,
0.0016436264850199223,
-0.013789558783173561,
0.021814193576574326,
0.0008446105057373643,
-0.004568347707390785,
-0.03503437712788582,
-0.04327252507209778,
-0.006636781617999077,
0.015221893787384033,
0.0330059789121151,
-0.07095840573310852,
-0.03939365595579147,
0.06583402305841446,
-0.023842593654990196,
0.022952944040298462,
-0.025906577706336975,
-0.03647560998797417,
-0.043699558824300766,
0.004568347707390785,
0.00730401836335659,
-0.0024910171050578356,
0.0015124032506719232,
0.0006727970321662724,
0.008536182343959808,
0.00849169958382845,
0.012294949032366276,
0.055549681186676025,
0.049571242183446884,
0.00013170974852982908,
-0.0032294257543981075,
0.019536690786480904,
-0.00368092255666852,
0.036119747906923294,
-0.032650116831064224,
-0.05619022995233536,
-0.0752287209033966,
-0.08170536160469055,
0.028273044154047966,
-0.015568857081234455,
0.06231101602315903,
-0.02313087321817875,
0.046297334134578705,
-0.0665457472205162,
-0.05042530596256256,
-0.008638491854071617,
-0.04092385247349739,
0.026191266253590584,
0.05373479798436165,
0.0448383092880249,
0.07679449766874313,
-0.060994334518909454,
0.03133343532681465,
-0.038681939244270325,
0.01313121896237135,
0.0277214627712965,
0.048610419034957886,
0.0886802077293396,
0.006721298210322857,
0.031066542491316795,
-0.0255507193505764,
-0.02549733966588974,
-0.0022641567047685385,
0.03558595851063728,
0.044802721589803696,
-0.04067474976181984,
-0.018157735466957092,
0.005035413429141045,
-0.052418116480112076,
-0.010844821110367775,
0.030425995588302612,
0.01580016501247883,
0.05070999264717102,
0.06320066004991531,
-0.007321811281144619,
0.013424803502857685,
-0.025906577706336975,
0.03635105863213539,
0.019679035991430283,
-0.017472706735134125,
-0.005391272716224194,
-0.05981999635696411,
0.04028330743312836,
0.016760986298322678,
0.013816248625516891,
0.030710682272911072,
0.04729374125599861,
-0.011752262711524963,
0.0025710854679346085,
-0.015524374321103096,
0.047258153557777405,
0.014839344657957554,
0.014616932719945908,
-0.00315158162266016,
-0.0192875899374485,
0.004365952219814062,
-0.07451699674129486,
-0.018291182816028595,
0.04490948095917702,
0.03556816652417183,
0.04334369674324989,
0.08184770494699478,
0.04081709682941437,
0.07394762337207794,
0.0036564574111253023,
-0.008820869959890842,
-0.012081433087587357,
-0.005804959684610367,
0.018824972212314606,
-0.0404968224465847,
0.0568663626909256,
-0.0008796404581516981,
-0.01971462182700634,
0.01918083243072033,
0.03311273455619812,
-0.07124309241771698,
0.02188536524772644,
-0.04654643312096596,
-0.03234763815999031,
-0.01706346683204174,
0.05576319992542267,
0.00930572859942913,
0.016876641660928726,
-0.0048174490220844746,
0.050638820976018906,
0.0016703159781172872,
0.016663124784827232,
0.006756884045898914,
-0.026066714897751808,
-0.0014245504280552268,
-0.006071854382753372,
-0.00882976595312357,
-0.051172610372304916,
-0.0011354144662618637,
-0.02853993885219097,
-0.007232846226543188,
-0.07437465339899063,
0.0012165949447080493,
-0.0277214627712965,
0.024447554722428322,
-0.03462513908743858,
-0.029411794617772102,
-0.04199143126606941,
0.03466072306036949,
-0.04074592515826225,
-0.02428741753101349,
0.05896593630313873,
-0.030443787574768066,
0.011334127746522427,
-0.05177757143974304,
0.01889614388346672,
0.004919758997857571,
-0.030497167259454727,
-0.058254215866327286,
0.004982034210115671,
-0.037329670041799545,
-0.0015168514801189303,
-0.0005321212811395526,
-0.015506581403315067,
0.0693926215171814,
-0.010889303870499134,
-0.013753972947597504,
0.03839724883437157,
-0.054446518421173096,
0.015844648703932762,
0.0404968224465847,
0.008113598451018333,
0.03793463110923767,
0.025123687461018562,
-0.03455396741628647,
-0.027009742334485054,
0.02087116427719593,
0.0330059789121151,
0.04213377460837364,
0.06668809056282043,
0.017775187268853188,
0.046154990792274475,
-0.045336510986089706,
-0.022152259945869446,
0.010693580843508244,
-0.007588705979287624,
-0.0012566292425617576,
0.008754146285355091,
0.01219708751887083,
0.024180660024285316,
0.00555585790425539,
-0.0713142603635788,
-0.012117018923163414,
0.018326768651604652,
-0.03257894515991211,
0.0199993085116148,
0.01633395440876484,
-0.03985627368092537,
-0.06284480541944504,
-0.033433008939027786,
-0.04313018172979355,
0.004497175570577383,
-0.01496389601379633,
0.004043454769998789,
0.021476127207279205,
-0.0169833991676569,
-0.007161674089729786,
-0.038966625928878784,
0.0718124657869339,
-0.009652691893279552,
0.07658098638057709,
0.01023986004292965,
0.01616492122411728,
-0.020017102360725403,
0.04063916578888893,
0.014812655746936798,
-0.019394347444176674,
-0.01108502596616745,
-0.03368211165070534,
-0.0511014387011528,
-0.024838998913764954,
0.000015481977243325673,
0.058823589235544205,
-0.00014387292321771383,
-0.0233799759298563,
-0.0010375530691817403,
0.004127971362322569,
0.0824170783162117,
-0.020604269579052925,
-0.05202667415142059,
-0.03528347983956337,
0.029340622946619987,
0.032988183200359344,
-0.013673905283212662,
0.0028023943305015564,
-0.04348604381084442,
-0.020568683743476868,
0.01681436598300934,
-0.09266583621501923,
0.004799656104296446,
0.03750760108232498,
0.057720426470041275,
0.04238287732005119,
0.006120785139501095,
0.010159791447222233,
-0.04690229520201683,
-0.01734815537929535,
0.04106619581580162,
0.02005268819630146,
0.004764070268720388,
0.010586823336780071,
-0.001397860934957862,
-0.028450975194573402,
0.003910007420927286,
0.0443401038646698,
-0.0007156113861128688,
0.01407424733042717,
-0.019963722676038742,
-0.004372624680399895,
-0.011440886184573174,
-0.02019503153860569,
0.06188398227095604,
-0.04238287732005119,
-0.06675925850868225,
-0.09337756037712097,
-0.010141998529434204,
0.05138612538576126,
0.017125742509961128,
-0.03119109384715557,
0.05846773087978363,
-0.04106619581580162,
-0.028273044154047966,
0.007931220345199108,
0.01976799964904785,
0.0318138487637043,
0.0221700519323349,
0.0010937121696770191,
-0.05480237677693367,
0.0114497821778059,
-0.007037123665213585,
-0.03464293107390404,
0.015319755300879478,
-0.04768518730998039,
-0.04864600673317909,
-0.02323763072490692,
0.06245335936546326,
0.01091599278151989,
-0.05035413056612015,
-0.07295121997594833,
-0.0183089766651392,
0.007286224979907274,
-0.015559961088001728,
-0.049571242183446884,
0.003369545564055443,
-0.0356571301817894,
-0.019483312964439392,
-0.02693857066333294,
0.018913937732577324,
0.030835233628749847,
0.00794011726975441,
0.01183233130723238,
-0.04380631446838379,
-0.032899219542741776,
-0.05754249542951584,
-0.00913669541478157,
-0.0034407174680382013,
0.004510520491749048,
0.018540285527706146,
0.004679553676396608,
-0.025248238816857338,
0.043557215481996536,
0.011894606985151768,
-0.0004592812911141664,
0.025728648528456688,
0.01757056824862957,
-0.026974156498908997,
0.008638491854071617,
-0.03375328332185745,
0.06996199488639832,
-0.007321811281144619,
-0.02789939194917679,
0.013869627378880978,
-0.016876641660928726,
0.038005802780389786,
0.01980358548462391,
-0.024447554722428322,
-0.040176548063755035,
-0.08697208762168884,
-0.00798015110194683,
0.013949695974588394,
-0.0013378096045926213,
-0.013006668537855148,
0.01424328051507473,
0.04042565077543259,
-0.020942337810993195,
-0.020408548414707184,
-0.03725849837064743,
-0.031048748642206192,
0.02236577495932579,
0.023629076778888702,
0.04419776052236557,
0.04273873567581177,
-0.004239177331328392,
-0.007037123665213585,
-0.01036441046744585,
0.010302134789526463,
0.006005130708217621,
0.013273563235998154,
-0.0006772452616132796,
-0.006792469881474972,
-0.05565644055604935,
-0.06885883212089539,
-0.0034851999953389168,
0.0011732246493920684,
-0.020799992606043816,
0.0023753626737743616,
0.0002857997315004468,
-0.013362527824938297,
0.025817614048719406,
-0.03339742124080658,
0.021956536918878555,
0.010978268459439278,
-0.017873048782348633,
0.02563968300819397,
-0.054588861763477325,
-0.04177791625261307,
0.08796849101781845,
0.06028261408209801,
-0.008620698936283588,
-0.012375017628073692,
-0.06231101602315903,
-0.024162866175174713,
-0.020070480182766914,
-0.011814538389444351,
-0.022775014862418175,
-0.01980358548462391,
0.08811083436012268,
0.001171000418253243,
-0.0660475417971611,
-0.012561843730509281,
-0.03428707271814346,
0.014892724342644215,
-0.018931729719042778,
-0.03144019469618797,
-0.04021213576197624,
0.006979296449571848,
0.02501692995429039,
-0.038148149847984314,
0.06156370788812637,
-0.023344390094280243,
0.047791942954063416,
0.0009130022954195738,
-0.008638491854071617,
0.03743642941117287,
-0.03576388955116272,
-0.01200136449187994,
-0.013478182256221771,
-0.026582712307572365,
-0.013914110139012337,
0.04394866153597832,
0.016743194311857224,
0.02313087321817875,
0.0028112907893955708,
0.01807766780257225,
0.04992710053920746,
0.02279280684888363,
0.06921469420194626,
-0.04149322956800461,
0.04587030038237572,
0.046154990792274475,
-0.03647560998797417,
0.05999792739748955,
-0.022490326315164566,
0.012677498161792755,
-0.04199143126606941,
-0.06704394519329071,
-0.0020895630586892366,
0.055442925542593,
-0.005400169175118208,
0.04768518730998039,
0.05579878389835358,
-0.03907338157296181,
0.01742822304368019
] |
18,321 | plotly_football_pitch.pitch_background | ChequeredBackground | Chequered pitch using two alternating colours. | class ChequeredBackground(PitchBackground):
"""Chequered pitch using two alternating colours."""
def __init__(
self,
colours: List[str],
num_horizontal_stripes: int = 10,
num_vertical_stripes: int = 10,
):
"""Chequered pitch using two alternating colours.
Args:
colours (list[str]): A list of two colours to alternate for the
chequered effect.
num_horizontal_stripes (int): Number of horizontal stripes in the
chequered effect (i.e. number of rows).
num_vertical_stripes (int): Number of vertical stripes in the
chequered effect (i.e. number of columns).
Raises:
ValueError: If `colours` does not have length 2.
"""
if len(colours) != 2:
raise ValueError(
f"{self.__class__.__name__} expects `colours` to have length 2"
f", input was {colours}."
)
self.colours = colours
self.num_horizontal_stripes = num_horizontal_stripes
self.num_vertical_stripes = num_vertical_stripes
def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_height_metres = (
dimensions.pitch_width_metres / self.num_horizontal_stripes
)
stripe_width_metres = dimensions.pitch_length_metres / self.num_vertical_stripes
for row_index in range(self.num_horizontal_stripes):
colour_cycle = itertools.cycle(self.colours)
if row_index % 2 == 1:
# alternate first colour per row
next(colour_cycle)
column_iterator = zip(
range(self.num_vertical_stripes),
colour_cycle,
)
for column_index, colour in column_iterator:
stripe = {
"x0": column_index * stripe_width_metres,
"y0": row_index * stripe_height_metres,
}
stripe["x1"] = stripe["x0"] + stripe_width_metres
stripe["y1"] = stripe["y0"] + stripe_height_metres
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (colours: List[str], num_horizontal_stripes: int = 10, num_vertical_stripes: int = 10) | [
0.006660014390945435,
-0.11553294211626053,
-0.07104015350341797,
0.008680728264153004,
-0.04126706346869469,
0.053687967360019684,
-0.03388867527246475,
0.06903798133134842,
-0.005765524227172136,
0.009023694321513176,
0.051871176809072495,
0.05632045492529869,
0.04408494010567665,
0.019039206206798553,
-0.016276946291327477,
-0.01692579872906208,
0.06748072803020477,
0.04115583002567291,
0.047347743064165115,
-0.06592348217964172,
0.06258652359247208,
-0.020485222339630127,
0.0420827642083168,
0.04727358743548393,
-0.02157900296151638,
0.05365088954567909,
-0.026658596470952034,
0.003524663159623742,
-0.07155923545360565,
0.0007751478115096688,
-0.006803689058870077,
0.003267439315095544,
-0.011883283033967018,
0.03477853164076805,
0.021727312356233597,
-0.023673871532082558,
-0.036131851375103,
0.03696609288454056,
-0.07519281655550003,
0.027455758303403854,
0.07630513608455658,
0.03514930233359337,
0.06937167793512344,
-0.06310560554265976,
-0.0021145662758499384,
0.02065207064151764,
-0.0010688697220757604,
0.0003617935872171074,
0.012235517613589764,
-0.0660347118973732,
0.05828555300831795,
-0.09996046870946884,
-0.0021991487592458725,
0.05491151660680771,
0.01278240792453289,
0.009667912498116493,
-0.005135209299623966,
-0.0023347127716988325,
0.03646554797887802,
-0.00441451882943511,
-0.006724899634718895,
-0.04241646081209183,
0.03620600700378418,
0.04790390282869339,
0.00846289936453104,
-0.024341262876987457,
-0.008810499683022499,
-0.04219399392604828,
0.005830409470945597,
-0.02552773803472519,
0.042342305183410645,
0.023432869464159012,
0.017389265820384026,
0.005135209299623966,
-0.01265263743698597,
-0.02074476331472397,
-0.0281416904181242,
0.03299881890416145,
0.0629202201962471,
-0.025268197059631348,
-0.020614992827177048,
0.022209318354725838,
0.00879659503698349,
0.0004585422284435481,
0.06125174090266228,
-0.01587836444377899,
0.03031071275472641,
-0.0195026732981205,
0.007234713062644005,
0.02432272583246231,
-0.03572400286793709,
0.007865027524530888,
0.008903192356228828,
-0.021727312356233597,
0.08216334879398346,
-0.020818917080760002,
0.0012409316841512918,
-0.010437266901135445,
0.021393615752458572,
-0.005186190828680992,
-0.03448191285133362,
-0.03129326179623604,
-0.042342305183410645,
-0.0031353512313216925,
0.017491228878498077,
-0.002806290052831173,
-0.039005346596241,
0.017713692039251328,
-0.0660347118973732,
-0.035241998732089996,
0.04808929190039635,
-0.01737072691321373,
-0.06266067922115326,
-0.008513880893588066,
0.0026046819984912872,
-0.016870182007551193,
-0.042342305183410645,
0.0086992671713233,
-0.009593757800757885,
-0.034852683544158936,
0.00957521889358759,
-0.02042960561811924,
0.04560510814189911,
0.02441541850566864,
-0.01027968805283308,
0.018464507535099983,
-0.03385159745812416,
0.04230522736907005,
-0.0210413821041584,
-0.0043890285305678844,
-0.03044048324227333,
0.03247973695397377,
-0.049609459936618805,
-0.053465504199266434,
-0.00018321412790101022,
0.00749888876453042,
0.0850553810596466,
0.009695720858871937,
0.01550759095698595,
0.017760038375854492,
0.035612769424915314,
-0.017055569216609,
0.02884615957736969,
0.01335710659623146,
-0.02840123139321804,
0.05969449132680893,
0.03422237187623978,
0.005969449412077665,
0.05446659028530121,
0.050313930958509445,
0.00027619709726423025,
0.06403253972530365,
0.051203787326812744,
0.03930196538567543,
0.05038808286190033,
-0.034630220383405685,
-0.04085921123623848,
0.0700019896030426,
0.00004185682337265462,
0.016694065183401108,
-0.0024100260343402624,
-0.030774179846048355,
0.004922014661133289,
0.018019579350948334,
-0.01012211013585329,
0.02304355800151825,
0.012615559622645378,
-0.07949378341436386,
0.040525514632463455,
0.024823268875479698,
0.04378832131624222,
-0.040265973657369614,
0.030496099963784218,
0.006099219899624586,
0.014154268428683281,
0.054058738052845,
-0.004940553568303585,
-0.01819569803774357,
0.015183164738118649,
-0.014339655637741089,
0.02074476331472397,
-0.014386001974344254,
-0.02756699174642563,
-0.020948689430952072,
0.029087161645293236,
0.05921248719096184,
0.04567926377058029,
-0.009955261833965778,
0.047125279903411865,
0.018983589485287666,
-0.024823268875479698,
0.05131501704454422,
0.07860393077135086,
0.021597541868686676,
0.05650584399700165,
-0.04419616982340813,
0.0038444551173597574,
-0.02304355800151825,
0.010919271968305111,
-0.02380364201962948,
0.017259495332837105,
-0.012504328042268753,
0.01193889882415533,
-0.03841210901737213,
0.025490660220384598,
0.005830409470945597,
0.0330173559486866,
0.030496099963784218,
-0.0939539447426796,
-0.016851644963026047,
-0.04085921123623848,
-0.03956150636076927,
0.028327075764536858,
-0.014914354309439659,
0.021300923079252243,
-0.048682525753974915,
-0.00443769246339798,
0.01054849848151207,
-0.019465595483779907,
0.01580420881509781,
0.006910286378115416,
0.05472613126039505,
-0.06303144991397858,
0.018001040443778038,
0.017732230946421623,
-0.026584442704916,
0.020726224407553673,
-0.03286904841661453,
-0.033740364015102386,
-0.04649496451020241,
0.011790589429438114,
-0.03483414649963379,
-0.004458548501133919,
-0.013764956966042519,
-0.015859825536608696,
0.0270293690264225,
-0.058248478919267654,
-0.02778945490717888,
-0.003962639253586531,
0.021059921011328697,
0.03550153970718384,
0.012921447865664959,
0.048942070454359055,
-0.011753511615097523,
0.003063513897359371,
0.030551714822649956,
0.04186030104756355,
0.004991534631699324,
-0.016397446393966675,
0.0016070703277364373,
-0.03889411315321922,
-0.0350009948015213,
-0.012115015648305416,
0.010131378658115864,
0.010761693120002747,
-0.013653724454343319,
-0.03594646602869034,
-0.06592348217964172,
0.013829842209815979,
-0.00954741146415472,
-0.008147741667926311,
0.015980327501893044,
0.027047907933592796,
0.06195620819926262,
0.0031144951935857534,
0.004636982921510935,
-0.01918751560151577,
0.029272548854351044,
-0.05676538497209549,
-0.02463788166642189,
-0.0037077325396239758,
0.01116954442113638,
-0.0005810711882077157,
-0.016369638964533806,
0.005190825555473566,
0.020225681364536285,
0.04723651334643364,
0.0451972596347332,
0.02960624359548092,
0.004861764144152403,
0.052983496338129044,
-0.028512462973594666,
-0.0006778198294341564,
0.00519546028226614,
0.06418085098266602,
-0.035612769424915314,
-0.0030982738826423883,
0.013700071722269058,
0.03216458112001419,
-0.02521258033812046,
-0.002549065975472331,
-0.04019182175397873,
0.004472452215850353,
0.01858500950038433,
0.05854509770870209,
0.041229985654354095,
-0.016851644963026047,
-0.029532089829444885,
-0.027622606605291367,
-0.07941962778568268,
0.06766612082719803,
-0.017315110191702843,
0.05880463868379593,
0.024971578270196915,
-0.008421187289059162,
-0.01832546852529049,
-0.003508441848680377,
-0.015674438327550888,
-0.007753795478492975,
-0.03650262579321861,
-0.0021284702233970165,
-0.016462331637740135,
-0.04048844054341316,
-0.004669425543397665,
-0.05294641852378845,
-0.07040984183549881,
0.023692410439252853,
0.016656987369060516,
0.030866872519254684,
0.060992199927568436,
-0.02228347212076187,
-0.042564768344163895,
-0.05491151660680771,
0.07912301272153854,
0.042824309319257736,
-0.012930717319250107,
0.03062587045133114,
0.007943816483020782,
-0.007600851822644472,
0.042119842022657394,
-0.10752423852682114,
0.0034342871513217688,
-0.04727358743548393,
0.01271752268075943,
-0.009023694321513176,
-0.07448834925889969,
-0.012170631438493729,
0.010984157212078571,
0.0050425161607563496,
-0.04130414128303528,
0.05342842638492584,
-0.03620600700378418,
0.007285694126039743,
0.0558384507894516,
0.0518340989947319,
-0.0023938047233968973,
0.006604398600757122,
0.01826058328151703,
0.0263619776815176,
0.0474218986928463,
0.08149596303701401,
-0.00564965745434165,
-0.03691047802567482,
0.04156368225812912,
0.0012490423396229744,
-0.015405628830194473,
-0.024471035227179527,
-0.04200860857963562,
-0.026065358892083168,
-0.00710030784830451,
0.038041334599256516,
-0.04538264498114586,
-0.012059399858117104,
0.07508157938718796,
-0.044826485216617584,
0.02202393114566803,
-0.04571634158492088,
-0.003431969787925482,
-0.05565306544303894,
0.027622606605291367,
-0.004898841492831707,
-0.0038120124954730272,
0.005385481286793947,
-0.01356103178113699,
-0.0005416765343397856,
-0.016684796661138535,
0.0026602980215102434,
0.03092248924076557,
0.0912843719124794,
-0.017074108123779297,
0.005807235836982727,
-0.01220770925283432,
-0.011049042455852032,
0.022802554070949554,
-0.033962830901145935,
-0.019947601482272148,
-0.05976864695549011,
-0.06696164608001709,
0.047125279903411865,
-0.03867164999246597,
0.02591704949736595,
-0.021189691498875618,
0.04990607872605324,
-0.07281986624002457,
-0.024137338623404503,
0.014988509006798267,
-0.0052093639969825745,
0.06258652359247208,
0.047792673110961914,
0.01944705657660961,
0.03477853164076805,
-0.07904885709285736,
0.013792764395475388,
-0.009148829616606236,
-0.005065689329057932,
0.0020114448852837086,
0.0908394455909729,
0.09373147785663605,
0.02619512937963009,
0.01832546852529049,
-0.014126460999250412,
-0.012457980774343014,
-0.007814045995473862,
0.0021620714105665684,
0.036669474095106125,
-0.05517105758190155,
-0.02910570055246353,
-0.03260950744152069,
-0.05239025875926018,
0.013551762327551842,
0.020170064643025398,
0.03926488757133484,
0.06269775331020355,
0.06321683526039124,
0.026528825983405113,
-0.008680728264153004,
-0.014886545948684216,
0.04241646081209183,
0.029346702620387077,
0.041897378861904144,
-0.0005984511808492243,
-0.06714703887701035,
-0.0027112793177366257,
0.004662473686039448,
-0.01648087054491043,
0.022969402372837067,
0.05947202816605568,
0.04497479647397995,
0.026306362822651863,
-0.035204920917749405,
0.04022889584302902,
0.028568079695105553,
-0.0080318758264184,
-0.01619352214038372,
0.015730055049061775,
-0.006307779811322689,
-0.05465197563171387,
-0.030496099963784218,
-0.01021480280905962,
-0.0013486876850947738,
0.02358117885887623,
0.06584932655096054,
0.02441541850566864,
0.04037720710039139,
0.0017206196207553148,
-0.022802554070949554,
-0.01176278106868267,
-0.011345661245286465,
-0.007600851822644472,
-0.02504573203623295,
0.07074353843927383,
0.040747981518507004,
-0.03448191285133362,
-0.02154192514717579,
0.013987421058118343,
-0.0576181635260582,
0.014571388252079487,
-0.028734926134347916,
-0.05112963169813156,
-0.017138993367552757,
0.04456694424152374,
0.015665169805288315,
0.007758430205285549,
0.002333554206416011,
0.02667713537812233,
0.0009350437903776765,
-0.017676614224910736,
-0.015155356377363205,
-0.045753419399261475,
-0.016564294695854187,
-0.029235471040010452,
-0.021912699565291405,
-0.041674911975860596,
-0.015414897352457047,
-0.009362024255096912,
-0.02626928500831127,
-0.05035100877285004,
-0.0026463940739631653,
0.011401277035474777,
0.004192055203020573,
-0.06225282698869705,
-0.0024772288743406534,
-0.023099172860383987,
0.057136159390211105,
-0.06933459639549255,
-0.0281416904181242,
0.05061054974794388,
-0.03368474915623665,
0.055986762046813965,
-0.040080588310956955,
0.01648087054491043,
0.014830930158495903,
-0.0035965004935860634,
-0.0483117550611496,
0.005811870563775301,
-0.04860837385058403,
0.006386569235473871,
0.03273927792906761,
-0.0008046937873587012,
0.06447746604681015,
-0.00041248524212278426,
0.004630031064152718,
0.04200860857963562,
-0.06707288324832916,
-0.007809411734342575,
-0.005765524227172136,
-0.019650982692837715,
0.04719943553209305,
-0.00021927761554252356,
-0.059138331562280655,
-0.013922535814344883,
0.0372256338596344,
0.03331397473812103,
0.04315800592303276,
0.036131851375103,
0.04897914454340935,
0.03466729819774628,
-0.08535200357437134,
-0.0016464649233967066,
0.010057223960757256,
-0.018177159130573273,
-0.0043426817283034325,
-0.0002346299443161115,
0.029717475175857544,
-0.00019885612709913403,
-0.016758950427174568,
-0.04586464911699295,
-0.015275857411324978,
0.012170631438493729,
-0.062141597270965576,
0.03057025372982025,
0.034092601388692856,
-0.001968574244529009,
-0.0487566813826561,
-0.055096905678510666,
-0.01429330836981535,
0.0285866167396307,
-0.017556114122271538,
-0.029977018013596535,
0.01752830483019352,
-0.006854670587927103,
-0.036669474095106125,
-0.03155280277132988,
0.02626928500831127,
0.011651549488306046,
0.07363557070493698,
-0.006738803815096617,
-0.027010831981897354,
-0.02676982805132866,
0.04419616982340813,
0.01335710659623146,
0.010288957506418228,
0.02144923247396946,
-0.07763991504907608,
-0.021171152591705322,
-0.007878931239247322,
0.011243699118494987,
0.01864989474415779,
-0.009742067195475101,
-0.017620999366044998,
0.02562043070793152,
0.0009952944237738848,
0.06662794947624207,
-0.013301489874720573,
-0.04134121537208557,
-0.033833060413599014,
0.03359205648303032,
-0.012634098529815674,
0.015702247619628906,
-0.051203787326812744,
-0.0425276905298233,
-0.011466162279248238,
0.018538663163781166,
-0.11909236758947372,
0.020411066710948944,
0.012865832075476646,
0.0035756444558501244,
0.06970536708831787,
0.014033767394721508,
0.012226248160004616,
-0.0034157484769821167,
-0.03505660966038704,
0.007313502486795187,
-0.02773383818566799,
-0.015600284561514854,
0.011104659177362919,
-0.00477370573207736,
-0.04312092810869217,
-0.00014787480176892132,
0.03040340729057789,
-0.04412201792001724,
0.022839631885290146,
-0.017231686040759087,
-0.005394750740379095,
-0.029476473107933998,
-0.018724048510193825,
0.05839678645133972,
-0.06010234355926514,
-0.0272518340498209,
-0.08060610294342041,
-0.011911090463399887,
0.05264979973435402,
0.001959304790943861,
-0.015285126864910126,
0.029013006016612053,
-0.03970981389284134,
-0.06303144991397858,
0.00890782754868269,
0.007902104407548904,
0.01972513645887375,
0.005886025261133909,
-0.00713275047019124,
-0.02039252780377865,
0.015387089923024178,
-0.024304186925292015,
-0.007471080869436264,
-0.009348120540380478,
-0.07207831740379333,
-0.023822180926799774,
-0.0076240249909460545,
0.053205959498882294,
-0.003260487224906683,
-0.014636274427175522,
-0.05175994709134102,
-0.029365241527557373,
-0.009760606102645397,
-0.011049042455852032,
-0.03576108068227768,
0.02020714245736599,
-0.0026463940739631653,
-0.027270372956991196,
-0.004548924509435892,
0.009046867489814758,
0.025064270943403244,
-0.024619342759251595,
-0.03603915870189667,
-0.006757342256605625,
-0.01765807531774044,
-0.04471525549888611,
-0.006938094273209572,
-0.02074476331472397,
0.014784582890570164,
0.024396879598498344,
0.002287207404151559,
-0.05264979973435402,
0.04286138713359833,
0.043899551033973694,
-0.0015618823235854506,
0.019521212205290794,
0.005213998723775148,
0.006585859693586826,
0.028030456975102425,
-0.04275015369057655,
0.06406961381435394,
0.013978151604533195,
-0.02942085638642311,
0.07293109595775604,
0.011206621304154396,
0.011475431732833385,
0.0009570584516040981,
-0.01338491402566433,
-0.01284729316830635,
-0.09135852754116058,
-0.03956150636076927,
0.018909435719251633,
-0.04812636598944664,
-0.03244265913963318,
0.003990447148680687,
0.0372256338596344,
-0.021764390170574188,
0.0019813196267932653,
-0.0241558775305748,
-0.05201948806643486,
0.061659589409828186,
0.04063674807548523,
0.053168885409832,
0.07333894819021225,
-0.011466162279248238,
-0.030607331544160843,
-0.06321683526039124,
0.03930196538567543,
0.038968268781900406,
0.034852683544158936,
-0.01214282400906086,
-0.008476803079247475,
-0.07367264479398727,
-0.06362468749284744,
-0.0038537243381142616,
0.025156965479254723,
-0.05465197563171387,
0.016304753720760345,
-0.019595365971326828,
-0.01972513645887375,
0.02871638722717762,
-0.022524474188685417,
0.036094777286052704,
0.0019222275586798787,
-0.030199481174349785,
0.041229985654354095,
-0.01839035376906395,
-0.046235423535108566,
0.08943051099777222,
0.04148952662944794,
-0.025713125243782997,
-0.04289846494793892,
-0.053057651966810226,
-0.03129326179623604,
-0.019335824996232986,
-0.03057025372982025,
-0.012244786135852337,
-0.02667713537812233,
0.0935090109705925,
-0.03385159745812416,
-0.024934500455856323,
-0.06036188453435898,
-0.01676822081208229,
0.024471035227179527,
0.000720690528396517,
-0.02295086346566677,
-0.05750693008303642,
-0.0026440767105668783,
0.0031793806701898575,
-0.011021235026419163,
0.036354318261146545,
0.019595365971326828,
0.008981982246041298,
0.0140708452090621,
-0.021189691498875618,
0.03253535181283951,
-0.03646554797887802,
-0.0350009948015213,
-0.033072974532842636,
-0.041897378861904144,
0.002806290052831173,
0.023507023230195045,
0.05179702118039131,
0.03466729819774628,
0.02476765215396881,
0.05112963169813156,
0.023117711767554283,
0.02862369455397129,
0.060695581138134,
-0.05457782372832298,
0.04048844054341316,
0.040265973657369614,
-0.04516018182039261,
0.029272548854351044,
-0.028883235529065132,
-0.028308536857366562,
-0.05954618379473686,
-0.07115138322114944,
-0.003976542968302965,
0.054132893681526184,
0.02916131541132927,
0.07333894819021225,
0.04434448108077049,
-0.025935588404536247,
0.031923577189445496
] |
18,322 | plotly_football_pitch.pitch_background | __init__ | Chequered pitch using two alternating colours.
Args:
colours (list[str]): A list of two colours to alternate for the
chequered effect.
num_horizontal_stripes (int): Number of horizontal stripes in the
chequered effect (i.e. number of rows).
num_vertical_stripes (int): Number of vertical stripes in the
chequered effect (i.e. number of columns).
Raises:
ValueError: If `colours` does not have length 2.
| def __init__(
self,
colours: List[str],
num_horizontal_stripes: int = 10,
num_vertical_stripes: int = 10,
):
"""Chequered pitch using two alternating colours.
Args:
colours (list[str]): A list of two colours to alternate for the
chequered effect.
num_horizontal_stripes (int): Number of horizontal stripes in the
chequered effect (i.e. number of rows).
num_vertical_stripes (int): Number of vertical stripes in the
chequered effect (i.e. number of columns).
Raises:
ValueError: If `colours` does not have length 2.
"""
if len(colours) != 2:
raise ValueError(
f"{self.__class__.__name__} expects `colours` to have length 2"
f", input was {colours}."
)
self.colours = colours
self.num_horizontal_stripes = num_horizontal_stripes
self.num_vertical_stripes = num_vertical_stripes
| (self, colours: List[str], num_horizontal_stripes: int = 10, num_vertical_stripes: int = 10) | [
-0.02082032337784767,
-0.07264058291912079,
-0.050366029143333435,
0.001129467156715691,
-0.009541170671582222,
-0.006521868985146284,
-0.024775121361017227,
0.06157424673438072,
-0.019632110372185707,
0.04894727095961571,
0.03298620507121086,
0.07242777198553085,
0.0454358346760273,
0.07533623278141022,
-0.001419869833625853,
-0.010800321586430073,
0.08143690973520279,
0.007404161151498556,
0.02255830727517605,
-0.03621388599276543,
0.033784255385398865,
0.025697316974401474,
0.017255686223506927,
0.07796093821525574,
-0.03325222060084343,
0.07083166390657425,
-0.0032986202277243137,
0.04305940866470337,
-0.07320808619260788,
-0.02507660910487175,
0.008317489176988602,
0.012440764345228672,
-0.034670982509851456,
0.0733499675989151,
0.02321448363363743,
-0.020128678530454636,
-0.0018743168329820037,
0.04181799292564392,
-0.08477099239826202,
0.06253191083669662,
0.10690367221832275,
-0.0011749118566513062,
0.07987626641988754,
-0.027187015861272812,
-0.04603881016373634,
0.019703049212694168,
0.010685047134757042,
0.015296021476387978,
-0.031886663287878036,
-0.05604107677936554,
0.019703049212694168,
-0.05997813865542412,
0.009931329637765884,
-0.004021301865577698,
0.010685047134757042,
0.049869462847709656,
0.02050110325217247,
0.02312581054866314,
0.03366011381149292,
-0.01993359811604023,
-0.025945600122213364,
-0.029457034543156624,
0.0733499675989151,
0.008978099562227726,
0.0024407131131738424,
-0.0038594745565205812,
-0.012963932938873768,
-0.006029736250638962,
0.03513208031654358,
0.032383229583501816,
0.06771039217710495,
0.06810054928064346,
-0.021618377417325974,
-0.014161012135446072,
-0.004602107219398022,
0.0058701252564787865,
-0.058452971279621124,
0.044158950448036194,
0.021529704332351685,
-0.023728784173727036,
0.020536571741104126,
0.04518755152821541,
0.0035823725629597902,
-0.013744251802563667,
0.04270472005009651,
-0.044229887425899506,
0.02418988198041916,
-0.05309714749455452,
-0.06668178737163544,
0.045471303164958954,
-0.0947023257613182,
-0.030272822827100754,
-0.016697049140930176,
-0.047244757413864136,
0.03440496325492859,
-0.00289959367364645,
0.02074938639998436,
-0.026034271344542503,
0.04394613578915596,
-0.014834924601018429,
-0.006920895539224148,
-0.00947909988462925,
0.021370094269514084,
-0.04142783209681511,
-0.021352360025048256,
-0.03993813320994377,
-0.08945290744304657,
0.033447299152612686,
-0.03571731969714165,
-0.04000907391309738,
0.0025471202097833157,
0.01624481752514839,
0.004194213543087244,
-0.02310807630419731,
-0.012201348319649696,
-0.015225083567202091,
-0.034600045531988144,
0.013247684575617313,
0.02082032337784767,
-0.012502835132181644,
0.02591012977063656,
-0.03257830813527107,
0.0042851027101278305,
0.06838429719209671,
-0.007563771679997444,
0.04022188484668732,
-0.023303156718611717,
0.009292887523770332,
0.02849937044084072,
0.007014001719653606,
0.009372692555189133,
0.021175013855099678,
-0.025537705048918724,
-0.01698966883122921,
0.018009403720498085,
-0.018071474507451057,
0.028392963111400604,
-0.004081156104803085,
0.01307033933699131,
0.015579774044454098,
0.05937516689300537,
-0.019100075587630272,
0.013744251802563667,
0.009239683859050274,
-0.037207018584012985,
0.08250097930431366,
0.044158950448036194,
-0.003023735247552395,
0.05710514634847641,
0.09881673008203506,
-0.007701214402914047,
0.07072525471448898,
0.08448724448680878,
0.014480234123766422,
0.038519371300935745,
-0.039264220744371414,
0.0004525073163677007,
-0.0011782370274886489,
-0.00030120971496216953,
0.008760851807892323,
0.011376692913472652,
0.006459798198193312,
-0.026247086003422737,
0.04678365960717201,
-0.013549171388149261,
0.02034149132668972,
-0.03912234678864479,
-0.0470319427549839,
0.0545513778924942,
-0.009913595393300056,
0.04018641635775566,
-0.09065885841846466,
0.0010906727984547615,
0.028605777770280838,
0.004096673801541328,
0.02443816512823105,
-0.05941063538193703,
-0.0011771286372095346,
0.006960798054933548,
-0.0632767602801323,
-0.0057991873472929,
-0.005431196186691523,
-0.018816323950886726,
-0.05873672291636467,
0.027506237849593163,
0.04337863251566887,
0.04898273944854736,
0.03302167356014252,
0.03154970705509186,
-0.015872392803430557,
0.006450931075960398,
0.005373558960855007,
0.025360360741615295,
0.06387973576784134,
0.046854596585035324,
-0.05008227750658989,
0.006455364637076855,
-0.03961891308426857,
0.027807723730802536,
-0.015907863155007362,
-0.01977398805320263,
0.034670982509851456,
-0.01780545525252819,
-0.04525848850607872,
0.04238549619913101,
-0.008743117563426495,
-0.01119934767484665,
0.03105314075946808,
-0.020217349752783775,
-0.010844658128917217,
0.024650979787111282,
-0.011217082850635052,
0.03979625925421715,
0.02638896182179451,
0.028162414208054543,
-0.03837749734520912,
0.04532942920923233,
0.00011665987403830513,
-0.036160681396722794,
0.013664445839822292,
0.07327903062105179,
0.039264220744371414,
-0.02229228988289833,
0.04795413464307785,
0.006530736107379198,
0.024899262934923172,
-0.008250984363257885,
-0.01869218237698078,
-0.05948157235980034,
0.012733384035527706,
-0.042420968413352966,
-0.018568040803074837,
-0.03454684093594551,
0.03667498379945755,
-0.01510980911552906,
-0.018355226144194603,
-0.033039405941963196,
0.014320623129606247,
-0.0827847272157669,
0.01478172093629837,
-0.0036400097887963057,
0.013495967723429203,
0.039902664721012115,
-0.005222815554589033,
0.056821394711732864,
-0.0036510939244180918,
0.03458230942487717,
0.024775121361017227,
-0.05511888116598129,
0.04337863251566887,
-0.06260284781455994,
-0.03584146127104759,
0.005360257811844349,
-0.00873868353664875,
-0.04394613578915596,
0.044158950448036194,
-0.042101744562387466,
-0.02557317540049553,
0.01706060580909252,
-0.02392386458814144,
0.0011266961228102446,
-0.024118945002555847,
0.02704514004290104,
0.0488763302564621,
0.016395561397075653,
-0.006322355475276709,
-0.03780999034643173,
0.0189581997692585,
-0.02066071331501007,
-0.015792587772011757,
-0.03053884021937847,
0.021600643172860146,
-0.005621842108666897,
0.010188480839133263,
-0.009124409407377243,
0.035894665867090225,
0.03295073285698891,
0.005932196043431759,
-0.0005403485847637057,
0.0021735867485404015,
0.062460970133543015,
-0.041215021163225174,
-0.018106942996382713,
0.01020621508359909,
0.05667952075600624,
-0.0006877667619846761,
-0.007129276171326637,
0.04057657718658447,
0.045364897698163986,
-0.035823725163936615,
0.03429855778813362,
-0.0073199220933020115,
0.04884086176753044,
0.0197562538087368,
0.09661765396595001,
0.0159167293459177,
-0.008822922594845295,
-0.0028463900089263916,
-0.01886952668428421,
-0.07483966648578644,
0.03678138926625252,
-0.08767945319414139,
0.06338316947221756,
0.0026468767318874598,
-0.043981604278087616,
-0.03947703540325165,
-0.005262718070298433,
0.005825789179652929,
0.04238549619913101,
-0.014258552342653275,
0.05196213722229004,
0.030113210901618004,
-0.03193986788392067,
0.03523848578333855,
0.04288206249475479,
-0.07448497414588928,
0.012183614075183868,
0.0009909161599352956,
0.005692780017852783,
0.05547357350587845,
-0.00074762076837942,
-0.06441176682710648,
0.006220382172614336,
0.06611428409814835,
0.0017878611106425524,
0.017503969371318817,
0.0007570422603748739,
-0.008224382996559143,
0.017601508647203445,
0.018426164984703064,
-0.11818283051252365,
-0.011190480552613735,
0.000526493473444134,
0.012440764345228672,
-0.021777987480163574,
-0.08384879678487778,
-0.008330789394676685,
0.04493926838040352,
0.007235683500766754,
-0.02188439480960369,
0.039654381573200226,
-0.03257830813527107,
-0.010826922953128815,
0.016945332288742065,
0.019312890246510506,
-0.021848926320672035,
-0.028233353048563004,
-0.03539809584617615,
0.009629842825233936,
0.057140614837408066,
0.0532744899392128,
-0.029226485639810562,
-0.01045449823141098,
0.052742455154657364,
0.044158950448036194,
0.023179015144705772,
-0.038767654448747635,
-0.019259685650467873,
-0.0009332789923064411,
-0.036462169140577316,
0.03653310611844063,
0.03390839695930481,
0.0047262487933039665,
0.041285958141088486,
-0.05948157235980034,
0.012148144654929638,
-0.045364897698163986,
-0.020713916048407555,
-0.04025735706090927,
0.04192439839243889,
-0.004752850625663996,
0.012387560680508614,
-0.011039737612009048,
-0.029527971521019936,
0.046074278652668,
-0.023427298292517662,
-0.030822591856122017,
0.047244757413864136,
0.07292433828115463,
-0.03869671747088432,
-0.03752623870968819,
-0.021263686940073967,
0.0004486278921831399,
0.029527971521019936,
-0.08860164880752563,
0.01229002047330141,
-0.05384199693799019,
0.018089208751916885,
0.04117954894900322,
0.03837749734520912,
-0.03488379716873169,
-0.009745117276906967,
0.07090260088443756,
-0.07923782616853714,
-0.022522836923599243,
0.05511888116598129,
0.03339409828186035,
0.05916235223412514,
-0.003145660040900111,
-0.05930422618985176,
0.023320890963077545,
-0.06199987605214119,
0.00800713524222374,
0.023001668974757195,
-0.022735651582479477,
-0.026442166417837143,
0.04508114606142044,
0.06739116460084915,
0.010516569018363953,
0.008397294208407402,
0.012467365711927414,
-0.012564905919134617,
0.01514527853578329,
-0.02500567026436329,
-0.03218815103173256,
-0.061219554394483566,
-0.05859484523534775,
-0.05330996215343475,
-0.004540036432445049,
0.03270244970917702,
-0.002047228394076228,
-0.010135277174413204,
0.07498154044151306,
0.0632767602801323,
0.011447630822658539,
0.01547336671501398,
0.04220815375447273,
0.03119501657783985,
0.014347224496304989,
-0.011518569663167,
-0.045613180845975876,
-0.008929329924285412,
0.005462231580168009,
-0.02378198876976967,
0.01749510131776333,
0.0016914296429604292,
0.0052893199026584625,
0.009753984399139881,
0.024314023554325104,
-0.010481099598109722,
0.010888993740081787,
-0.00536912539973855,
0.02614067867398262,
0.02108634263277054,
-0.034511372447013855,
-0.03600107133388519,
-0.03635575994849205,
-0.0341566801071167,
-0.01674138568341732,
-0.022044004872441292,
0.011279153637588024,
0.05366465076804161,
-0.029598910361528397,
-0.02254057303071022,
0.08285566419363022,
-0.0208380576223135,
-0.059907201677560806,
0.03268471732735634,
0.03961891308426857,
-0.008157878182828426,
0.04256284236907959,
0.017849791795015335,
-0.03713608160614967,
-0.042420968413352966,
-0.05597013980150223,
-0.001112840953283012,
0.03094673343002796,
-0.01640442945063114,
-0.020075473934412003,
-0.04000907391309738,
0.006286886520683765,
-0.0019352792296558619,
0.02172478474676609,
-0.002744416706264019,
-0.006561771500855684,
0.003511434653773904,
-0.003411677898839116,
-0.017441898584365845,
-0.04270472005009651,
-0.02924421988427639,
-0.054125748574733734,
0.013495967723429203,
-0.023143546655774117,
-0.04820241779088974,
0.014808322302997112,
-0.022256819531321526,
-0.02245189994573593,
-0.038271088153123856,
0.04486833140254021,
-0.020784854888916016,
-0.02892499789595604,
-0.01299053430557251,
-0.018993668258190155,
0.014152145013213158,
-0.05497700721025467,
-0.010383560322225094,
0.03137236088514328,
-0.03717155009508133,
0.007896293886005878,
-0.014737384393811226,
0.034351762384176254,
-0.023161280900239944,
0.0028552573639899492,
-0.05969438701868057,
0.008517001755535603,
-0.041037674993276596,
0.011057471856474876,
-0.0003189442213624716,
-0.026850059628486633,
0.0016781287267804146,
0.016634978353977203,
-0.02802053838968277,
0.017415296286344528,
-0.04302394017577171,
0.004770585335791111,
-0.01625368557870388,
-0.05033056065440178,
0.042030807584524155,
-0.023054873570799828,
-0.011979666538536549,
0.0017623676685616374,
0.04245643690228462,
0.004318355116993189,
0.06012001633644104,
-0.023622378706932068,
0.024402696639299393,
0.03536262735724449,
-0.0586303174495697,
0.03497247025370598,
-0.0026490935124456882,
-0.029705317690968513,
-0.03348277136683464,
-0.040895797312259674,
0.04025735706090927,
-0.030733918771147728,
0.006907594855874777,
-0.012024003081023693,
0.00972738303244114,
0.05178479105234146,
-0.03569958359003067,
0.03186892718076706,
0.026016537100076675,
0.03162064403295517,
-0.07980532944202423,
-0.0751943588256836,
-0.020447898656129837,
-0.005116408225148916,
-0.011305755004286766,
-0.03275565430521965,
-0.008357391692698002,
-0.021370094269514084,
-0.055579978972673416,
-0.037845462560653687,
-0.011474233120679855,
0.011491967365145683,
0.04139236360788345,
0.0021913214586675167,
-0.04532942920923233,
0.006140576675534248,
0.040399231016635895,
-0.023622378706932068,
-0.00117380334995687,
0.03497247025370598,
-0.06586600095033646,
-0.0038882929366081953,
-0.006672612391412258,
0.03968985006213188,
-0.020944464951753616,
-0.027187015861272812,
-0.030574308708310127,
0.019383827224373817,
0.03905140981078148,
0.014072339981794357,
0.030999938026070595,
-0.061964403837919235,
-0.022097209468483925,
0.021618377417325974,
-0.03225908800959587,
0.04224362224340439,
-0.06905820965766907,
-0.047493040561676025,
0.015331490896642208,
-0.0451166145503521,
-0.11201121658086777,
0.019720783457159996,
0.01005547121167183,
-0.03389066457748413,
0.04142783209681511,
-0.0005985400057397783,
0.01869218237698078,
0.027080608531832695,
-0.03773905336856842,
-0.03264924883842468,
-0.00923081673681736,
-0.0255554411560297,
-0.015792587772011757,
0.030911264941096306,
-0.01706060580909252,
-0.01765471324324608,
0.03202854096889496,
-0.03947703540325165,
0.006393293850123882,
-0.027665847912430763,
0.01659064181149006,
0.029776254668831825,
-0.029120078310370445,
0.03497247025370598,
0.0008590157376602292,
-0.05096900463104248,
-0.02949250303208828,
0.008783020079135895,
0.0563957653939724,
0.01020621508359909,
-0.00465531088411808,
0.008880560286343098,
-0.018763119354844093,
-0.05178479105234146,
0.022983934730291367,
0.00805147085338831,
0.060652051120996475,
-0.027151547372341156,
0.01706060580909252,
-0.02933289296925068,
0.03553997352719307,
-0.03087579645216465,
-0.02434949390590191,
0.010365826077759266,
-0.07561998069286346,
-0.011119542643427849,
-0.021547438576817513,
0.06753304600715637,
0.03635575994849205,
-0.011341224424540997,
-0.04795413464307785,
-0.07937970012426376,
0.015251684933900833,
0.007421895861625671,
0.013150145299732685,
0.037951868027448654,
-0.005324788857251406,
0.020359227433800697,
0.008831789717078209,
0.025679582729935646,
0.017034003511071205,
-0.002638009609654546,
-0.04621615260839462,
-0.02351597137749195,
-0.011695914901793003,
-0.014364959672093391,
-0.0031523106154054403,
-0.025590909644961357,
0.030343759804964066,
0.006929762661457062,
0.0023498237133026123,
-0.07569092512130737,
0.004872558638453484,
0.05182025954127312,
-0.020518837496638298,
0.022008536383509636,
0.00861897598952055,
0.011465365998446941,
0.05352277308702469,
0.020323757082223892,
0.01830202154815197,
0.009886994026601315,
0.007922896184027195,
0.09016229212284088,
0.022930731996893883,
-0.03756170719861984,
0.012281153351068497,
-0.019632110372185707,
0.012999401427805424,
-0.043094877153635025,
-0.03440496325492859,
0.015304888598620892,
-0.020855793729424477,
-0.035078875720500946,
0.009957931935787201,
0.0388740636408329,
-0.010631843470036983,
0.019224217161536217,
-0.00641102809458971,
-0.027719050645828247,
-0.006960798054933548,
0.04745756834745407,
0.052990738302469254,
-0.00005320355194271542,
-0.0003009325882885605,
-0.03577052429318428,
-0.06051017343997955,
-0.011101808398962021,
0.019259685650467873,
0.008822922594845295,
-0.026832325384020805,
-0.00009733202023198828,
-0.018851792439818382,
-0.07533623278141022,
-0.06849070638418198,
0.014950198121368885,
-0.03300393745303154,
0.003952580504119396,
-0.010977666825056076,
-0.028322024270892143,
0.04770585149526596,
-0.0432722233235836,
0.007102674338966608,
0.0341566801071167,
-0.023303156718611717,
0.054444968700408936,
-0.013664445839822292,
-0.029297422617673874,
0.08938197046518326,
0.03178025782108307,
-0.013531437143683434,
-0.07061885297298431,
-0.0064198956824839115,
0.01510980911552906,
-0.02328542247414589,
-0.03307487443089485,
0.0057105147279798985,
0.011554038152098656,
0.0341566801071167,
0.013894994743168354,
-0.0042518507689237595,
-0.05132369324564934,
-0.044478170573711395,
0.009452497586607933,
0.019241951406002045,
-0.004659744445234537,
-0.09122636169195175,
0.026761386543512344,
-0.011589507572352886,
-0.010773719288408756,
-0.003456014208495617,
0.026513103395700455,
-0.029457034543156624,
0.04908914491534233,
-0.030326025560498238,
0.05728249251842499,
0.004325005691498518,
-0.03702967241406441,
-0.05033056065440178,
-0.024048006162047386,
-0.013992534950375557,
-0.023959333077073097,
0.07746437191963196,
0.029545707628130913,
0.036391232162714005,
0.036816857755184174,
0.017761120572686195,
0.006246984004974365,
0.03130142390727997,
-0.016954198479652405,
0.060013607144355774,
0.0717538595199585,
-0.02974078617990017,
0.0011871042661368847,
-0.017370959743857384,
-0.046606313437223434,
-0.07019322365522385,
-0.017104942351579666,
0.03146103397011757,
0.05540263280272484,
0.01327428687363863,
0.03257830813527107,
0.04462004825472832,
0.042350027710199356,
0.011190480552613735
] |
18,324 | plotly_football_pitch.pitch_background | add_background | Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
| def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_height_metres = (
dimensions.pitch_width_metres / self.num_horizontal_stripes
)
stripe_width_metres = dimensions.pitch_length_metres / self.num_vertical_stripes
for row_index in range(self.num_horizontal_stripes):
colour_cycle = itertools.cycle(self.colours)
if row_index % 2 == 1:
# alternate first colour per row
next(colour_cycle)
column_iterator = zip(
range(self.num_vertical_stripes),
colour_cycle,
)
for column_index, colour in column_iterator:
stripe = {
"x0": column_index * stripe_width_metres,
"y0": row_index * stripe_height_metres,
}
stripe["x1"] = stripe["x0"] + stripe_width_metres
stripe["y1"] = stripe["y0"] + stripe_height_metres
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (self, fig: plotly.graph_objs._figure.Figure, dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation) -> plotly.graph_objs._figure.Figure | [
0.006968298461288214,
-0.09847693890333176,
-0.06178945302963257,
-0.002690773457288742,
-0.028963806107640266,
0.07923925668001175,
-0.03073381632566452,
0.04598451405763626,
-0.016904493793845177,
-0.0008559519774280488,
0.04097842425107956,
0.04104993864893913,
0.018325865268707275,
-0.02419014275074005,
-0.0019610910676419735,
0.003379110712558031,
0.060108836740255356,
0.04934574291110039,
0.04898816719651222,
-0.0725167915225029,
0.06557977944612503,
-0.02481590397655964,
0.027461979538202286,
0.058714285492897034,
-0.010780972428619862,
0.017530255019664764,
-0.032879285514354706,
-0.01214870810508728,
-0.03547172248363495,
0.01380250509828329,
-0.001190063776448369,
-0.010414455085992813,
0.00999430101364851,
0.03245019167661667,
0.013275077566504478,
-0.007625347934663296,
-0.026782581582665443,
0.015912214294075966,
-0.07759439200162888,
0.03212837129831314,
0.05335061624646187,
0.03818931430578232,
0.05824943259358406,
-0.05202757939696312,
0.011960979551076889,
0.01698494888842106,
0.01909465715289116,
-0.020435575395822525,
0.024029232561588287,
-0.04094266518950462,
0.0387614406645298,
-0.07523438334465027,
-0.012470527552068233,
0.06321976333856583,
-0.011290520429611206,
-0.01667206734418869,
0.0005148562486283481,
-0.01757495105266571,
0.030805332586169243,
0.02982199378311634,
-0.014553418383002281,
-0.05742700397968292,
-0.0011135197710245848,
0.01737828366458416,
0.01576918363571167,
0.0018493479583412409,
-0.003072934690862894,
-0.04770088568329811,
0.0030237678438425064,
-0.039619628340005875,
0.02309953048825264,
0.004903286229819059,
0.01606418564915657,
0.023349834606051445,
-0.0020650122314691544,
-0.018227530643343925,
0.002634901786223054,
0.03357655927538872,
0.06615190207958221,
-0.04752209782600403,
-0.013248259201645851,
0.012211283668875694,
0.025155602023005486,
0.039119016379117966,
0.05735548958182335,
0.003881954587996006,
0.013471745885908604,
-0.007124738767743111,
0.01677040196955204,
0.041443273425102234,
-0.012345375493168831,
0.019917085766792297,
0.014124325476586819,
-0.0210970938205719,
0.07709378749132156,
-0.039512354880571365,
0.008671263232827187,
0.001022449228912592,
0.009752935729920864,
-0.0003179090563207865,
-0.05342213064432144,
-0.050668783485889435,
-0.05932216718792915,
-0.02331407554447651,
0.025334391742944717,
0.0036249454133212566,
-0.007991865277290344,
-0.006762691307812929,
-0.07816652208566666,
-0.0036539987195283175,
0.07695075124502182,
-0.03373746946454048,
-0.06114581227302551,
0.0016817334108054638,
0.019720418378710747,
-0.02531651221215725,
-0.034095048904418945,
-0.010351878590881824,
-0.019452234730124474,
-0.04991786926984787,
0.0011766545940190554,
-0.02773016318678856,
0.048058465123176575,
0.025244995951652527,
-0.010673698969185352,
-0.00725436070933938,
-0.019756177440285683,
0.026746824383735657,
-0.0418008528649807,
-0.00464404234662652,
-0.027390463277697563,
0.02853471226990223,
-0.06765373051166534,
-0.07147981226444244,
0.0029835402965545654,
-0.023439228534698486,
0.12164798378944397,
0.002592439530417323,
0.017324646934866905,
0.012667195871472359,
0.003569073975086212,
-0.017092222347855568,
0.0012548747472465038,
0.006458749994635582,
-0.02301013469696045,
0.05846397951245308,
0.0020270193926990032,
0.027247432619333267,
0.06575857102870941,
0.02932138368487358,
0.01185370609164238,
0.07873864471912384,
0.021043457090854645,
0.036222636699676514,
0.031466852873563766,
-0.015036148950457573,
-0.01315886527299881,
0.06997798383235931,
0.017324646934866905,
0.011943100020289421,
0.029392899945378304,
-0.01667206734418869,
0.027068642899394035,
0.006449810694903135,
-0.010190969333052635,
0.036508698016405106,
-0.0008727134554646909,
-0.05442335084080696,
0.028856532648205757,
0.03776022046804428,
0.053994257003068924,
-0.03786749392747879,
0.020828910171985626,
-0.0029947145376354456,
0.019237687811255455,
0.04469723254442215,
0.017235253006219864,
-0.003287481376901269,
0.007973985746502876,
0.019809814170002937,
0.04326692223548889,
-0.004836240317672491,
0.020650120452046394,
-0.006114581134170294,
0.034112926572561264,
0.04752209782600403,
0.03506051003932953,
-0.005225106608122587,
0.06196824088692665,
-0.0030304724350571632,
-0.015331150963902473,
0.07444770634174347,
0.0793822854757309,
-0.00489881681278348,
0.0375814326107502,
-0.04369601234793663,
0.021776491776108742,
-0.019237687811255455,
0.022134069353342056,
-0.05703366920351982,
0.031305942684412,
-0.04981059581041336,
-0.0011051390320062637,
-0.05503123253583908,
0.026568034663796425,
-0.012595679610967636,
0.005716776009649038,
0.03656233474612236,
-0.08610475063323975,
-0.02622833661735058,
-0.02179437130689621,
-0.046163301914930344,
0.002485166070982814,
-0.026585914194583893,
0.015107664279639721,
-0.0706573873758316,
-0.02229497954249382,
-0.0013956710463389754,
-0.01696706935763359,
0.0034461566247045994,
-0.012104010209441185,
0.05596093460917473,
-0.06490038335323334,
0.011755372397601604,
0.040728118270635605,
-0.04419662430882454,
0.026961371302604675,
-0.06379188597202301,
-0.030268965288996696,
-0.04587724059820175,
0.025960152968764305,
-0.0054396530613303185,
-0.024047110229730606,
-0.005453062243759632,
0.006110111717134714,
0.05274273455142975,
-0.0655440241098404,
-0.0483802855014801,
0.021919522434473038,
0.015697667375206947,
0.05192030593752861,
0.010816730558872223,
0.058499738574028015,
-0.0019622084219008684,
0.0021510543301701546,
0.05463789775967598,
0.006239733658730984,
0.010620062239468098,
0.008872400969266891,
-0.012068253010511398,
-0.05624699592590332,
-0.02057860605418682,
-0.010924003086984158,
0.03144897148013115,
0.025888636708259583,
-0.0307159386575222,
-0.040012963116168976,
-0.08817870169878006,
0.03014381416141987,
-0.008099138736724854,
-0.00012843470904044807,
0.0014537774259224534,
0.04498329386115074,
0.07680772244930267,
0.007339285686612129,
0.0036986959166824818,
-0.021722855046391487,
0.03425595909357071,
-0.05356516316533089,
-0.036025967448949814,
0.010280363261699677,
0.021472550928592682,
0.02299225702881813,
-0.039512354880571365,
0.03234291821718216,
0.028391681611537933,
0.045162081718444824,
0.038618408143520355,
0.047557853162288666,
0.008662323467433453,
0.042551763355731964,
-0.03522142022848129,
0.0068252673372626305,
0.02853471226990223,
0.05470941215753555,
-0.027354706078767776,
0.018737079575657845,
0.003379110712558031,
-0.011478248983621597,
-0.045555420219898224,
-0.019362840801477432,
-0.03180655092000961,
0.00112357665784657,
0.023939836770296097,
0.021633461117744446,
0.04290934279561043,
-0.0009274675394408405,
-0.023528622463345528,
-0.04566269367933273,
-0.07723681628704071,
0.057105183601379395,
0.013838263228535652,
0.07080041617155075,
0.03103775717318058,
-0.0073973918333649635,
-0.017619648948311806,
-0.01687767542898655,
-0.000495301210321486,
-0.02882077544927597,
-0.05914337933063507,
-0.02309953048825264,
-0.01989920809864998,
0.006811858154833317,
0.006257612723857164,
-0.03936932235956192,
-0.047343309968709946,
0.006087763234972954,
0.010718395933508873,
0.03152048960328102,
0.042730554938316345,
-0.016824038699269295,
-0.02470863051712513,
-0.05903610587120056,
0.059214893728494644,
0.04240873456001282,
-0.01846889592707157,
0.026335610076785088,
0.009895967319607735,
-0.003839492332190275,
0.06683129817247391,
-0.08746354281902313,
0.01054854691028595,
-0.05242091417312622,
0.0228134673088789,
-0.008912628516554832,
-0.07530589401721954,
-0.010906124487519264,
0.019970722496509552,
-0.004576996434479952,
-0.017396163195371628,
0.044339653104543686,
-0.04287358373403549,
0.0210970938205719,
0.05914337933063507,
0.04791543260216713,
-0.016439642757177353,
-0.0067895096726715565,
0.007839894853532314,
0.012944318354129791,
0.043123889714479446,
0.06729615479707718,
0.0010576482163742185,
-0.047343309968709946,
0.03693779185414314,
-0.010709457099437714,
-0.016993887722492218,
-0.030108055099844933,
-0.02710440196096897,
-0.024440446868538857,
0.014499781653285027,
0.014070688746869564,
-0.036401424556970596,
-0.01416902244091034,
0.07981137931346893,
-0.02209831215441227,
0.030572906136512756,
-0.039548110216856,
-0.018737079575657845,
-0.06733191013336182,
0.02218770608305931,
-0.007799666840583086,
0.003146685194224119,
0.02199103869497776,
-0.007848833687603474,
0.008166184648871422,
-0.01114748977124691,
-0.007138147950172424,
0.03250382840633392,
0.06944161653518677,
0.01778055913746357,
-0.025173481553792953,
0.002941077807918191,
0.014258417300879955,
0.005345788784325123,
-0.03516778349876404,
-0.027444100007414818,
-0.08538959175348282,
-0.07237375527620316,
0.00035171135095879436,
-0.04630633071064949,
-0.0063782949000597,
-0.01755707338452339,
0.010798851028084755,
-0.037724465131759644,
-0.006601781118661165,
-0.01877283677458763,
-0.02803410403430462,
0.05134817957878113,
0.06118157133460045,
0.037617191672325134,
0.050668783485889435,
-0.09869148582220078,
0.02181224897503853,
0.0004760255105793476,
-0.0027466448955237865,
-0.003032707143574953,
0.06053793057799339,
0.079096220433712,
0.051276665180921555,
0.010629002004861832,
0.005944731645286083,
-0.0278195571154356,
-0.003960174974054098,
0.019720418378710747,
0.06136035919189453,
-0.03135957941412926,
-0.018540412187576294,
-0.020328301936388016,
-0.06575857102870941,
-0.010119453072547913,
0.03162776306271553,
0.043445710092782974,
0.036723244935274124,
0.06568705290555954,
-0.002882971428334713,
-0.0023264908231794834,
-0.020614363253116608,
0.04630633071064949,
0.022634677588939667,
0.007822015322744846,
0.009520510211586952,
-0.07602105289697647,
0.04326692223548889,
0.015089785680174828,
-0.020346179604530334,
0.023635895922780037,
0.05953671410679817,
0.003823848208412528,
0.02057860605418682,
-0.014249477535486221,
0.04237297549843788,
0.02170497551560402,
-0.017995106056332588,
-0.04090690612792969,
0.01331083569675684,
0.0086846724152565,
-0.05774882435798645,
-0.04037053883075714,
0.012479467317461967,
0.01100445818156004,
0.01695813052356243,
0.038832955062389374,
0.042945101857185364,
0.041729334741830826,
-0.022455889731645584,
-0.04430389776825905,
-0.0015956911956891418,
-0.023028014227747917,
-0.00853717140853405,
-0.034309595823287964,
0.07312466949224472,
0.02882077544927597,
-0.04040629789233208,
-0.014875238761305809,
0.03804628551006317,
-0.06085975095629692,
0.004170251544564962,
-0.01686873473227024,
-0.049882110208272934,
-0.011335218325257301,
0.04930998757481575,
0.023457108065485954,
-0.01335553266108036,
-0.017941469326615334,
0.04737906530499458,
0.00116101058665663,
0.00928808469325304,
-0.0019622084219008684,
-0.027944710105657578,
-0.0002885764988604933,
-0.030179571360349655,
-0.006083293352276087,
-0.06225430592894554,
-0.0014515426009893417,
-0.015912214294075966,
0.0136147765442729,
-0.0725167915225029,
0.0026080834213644266,
0.015027209185063839,
0.009404297918081284,
-0.039333563297986984,
-0.002974600763991475,
-0.05724821612238884,
0.07358952611684799,
-0.028445318341255188,
-0.025888636708259583,
0.03908326104283333,
-0.021758612245321274,
0.061110056936740875,
-0.04963180795311928,
0.01769116520881653,
0.007147087249904871,
0.003875249996781349,
-0.03894022852182388,
-0.016716765239834785,
-0.03573990613222122,
0.0042842295952141285,
0.03958386927843094,
0.007164966315031052,
0.05192030593752861,
-0.014991451986134052,
0.029249869287014008,
0.017047524452209473,
-0.04501905292272568,
-0.010986579582095146,
0.03936932235956192,
-0.01028930302709341,
0.015205997973680496,
-0.0038551362231373787,
-0.049059681594371796,
-0.02560257539153099,
0.03084108978509903,
0.02429741621017456,
0.03205685317516327,
0.03554324060678482,
0.04909544065594673,
0.005989429075270891,
-0.08074107766151428,
-0.0002811735321301967,
0.030072297900915146,
-0.014392509125173092,
0.007607468869537115,
0.020650120452046394,
-0.01678827963769436,
0.015849638730287552,
-0.00723201222717762,
-0.041121453046798706,
-0.03357655927538872,
0.023171044886112213,
-0.060108836740255356,
0.020936183631420135,
0.01536690816283226,
-0.02442256733775139,
-0.03743840008974075,
-0.07140830159187317,
-0.006360416300594807,
0.028945928439497948,
-0.027479859068989754,
-0.005765942856669426,
0.00924338772892952,
-0.014723268337547779,
-0.022956497967243195,
-0.031788673251867294,
0.03656233474612236,
-0.012264920398592949,
0.07269557565450668,
-0.015500999987125397,
-0.02470863051712513,
-0.033505044877529144,
0.028177134692668915,
0.037116579711437225,
0.01536690816283226,
0.021955279633402824,
-0.028498955070972443,
-0.043839044868946075,
-0.003441686974838376,
0.00017711278633214533,
0.00693254079669714,
0.005582684185355902,
-0.01809343881905079,
0.02368953265249729,
-0.03082321211695671,
0.06876222044229507,
-0.013695231638848782,
-0.04770088568329811,
-0.0355253592133522,
0.03094836324453354,
0.011692795902490616,
-0.009069068357348442,
-0.02862410806119442,
-0.05424455925822258,
-0.007965046912431717,
0.030894726514816284,
-0.11485400795936584,
0.0016649719327688217,
0.02009587548673153,
0.030394118279218674,
0.06457856297492981,
0.02429741621017456,
0.000014596439541492146,
-0.015563576482236385,
-0.03547172248363495,
0.027873193845152855,
-0.02882077544927597,
-0.027944710105657578,
-0.005989429075270891,
-0.02360013872385025,
-0.03463141620159149,
-0.009511571377515793,
0.0375814326107502,
-0.029392899945378304,
0.053064554929733276,
-0.017941469326615334,
0.0033992244862020016,
-0.03588293865323067,
-0.029267746955156326,
0.060323383659124374,
-0.05674760416150093,
-0.05785609781742096,
-0.09747572243213654,
-0.009261266328394413,
0.07112223654985428,
0.01645752042531967,
-0.03384474292397499,
0.03627627342939377,
-0.039333563297986984,
-0.0544591061770916,
0.009368539787828922,
0.004764724988490343,
0.04401783272624016,
0.028749259188771248,
-0.0004997709183953702,
-0.023564381524920464,
0.010021119378507137,
-0.011925221420824528,
-0.008912628516554832,
-0.014222659170627594,
-0.06035914272069931,
-0.03638354688882828,
-0.006463219877332449,
0.030108055099844933,
-0.0037456280551850796,
-0.014481903053820133,
-0.042122673243284225,
-0.02773016318678856,
-0.0210970938205719,
-0.03352292254567146,
-0.051991820335388184,
0.021722855046391487,
-0.005529047455638647,
0.006163748446851969,
-0.025191359221935272,
0.01435675099492073,
0.033594440668821335,
0.018647685647010803,
0.0010928473202511668,
-0.02560257539153099,
-0.013525382615625858,
-0.044732991605997086,
0.010924003086984158,
-0.014151143841445446,
0.005390486214309931,
0.03193170204758644,
0.009404297918081284,
-0.022652557119727135,
0.04330267757177353,
0.016350246965885162,
0.0059402622282505035,
0.006798448972404003,
0.024690750986337662,
0.0015442894073203206,
-0.005533517338335514,
-0.05817791819572449,
0.06786827743053436,
0.00009204836533172056,
-0.03736688569188118,
0.03697355091571808,
0.003995932638645172,
0.020864667370915413,
-0.021955279633402824,
0.017414040863513947,
-0.013284017331898212,
-0.08295806497335434,
-0.004384798463433981,
0.03455989807844162,
-0.0472002774477005,
-0.0333620123565197,
0.0034550961572676897,
0.03886871412396431,
-0.012461588717997074,
-0.005421774461865425,
-0.06200399994850159,
-0.022652557119727135,
0.04265903681516647,
0.02007799595594406,
0.028463197872042656,
0.057713065296411514,
-0.008800884708762169,
-0.029071079567074776,
-0.03656233474612236,
0.030179571360349655,
0.012506285682320595,
0.048559073358774185,
-0.009234447963535786,
-0.023242561146616936,
-0.05803488567471504,
-0.05495971813797951,
0.013882960192859173,
0.0327720120549202,
-0.06046641618013382,
0.00768345408141613,
-0.013945536687970161,
-0.012676134705543518,
0.03382686525583267,
-0.007352694869041443,
0.03271837532520294,
0.012291738763451576,
-0.02932138368487358,
0.01666312851011753,
-0.024261657148599625,
-0.03495323657989502,
0.08653384447097778,
0.041335999965667725,
-0.0552457794547081,
-0.03203897550702095,
-0.036115363240242004,
-0.06336279958486557,
-0.023242561146616936,
-0.017825257033109665,
-0.02983987145125866,
-0.03826083242893219,
0.08596171438694,
-0.021758612245321274,
-0.05002514272928238,
-0.03826083242893219,
-0.01466069184243679,
0.013337654061615467,
-0.0067448122426867485,
-0.057391244918107986,
-0.047450583428144455,
0.014633873477578163,
0.013945536687970161,
-0.022420132532715797,
0.06325552612543106,
-0.0011191068915650249,
0.05034696310758591,
0.007048753555864096,
-0.003812673967331648,
0.02020314894616604,
-0.03466717153787613,
-0.007620878051966429,
-0.03391626104712486,
-0.02290286123752594,
0.020542846992611885,
0.034810204058885574,
0.03595445305109024,
0.03840386122465134,
0.008800884708762169,
0.011487188749015331,
0.04948877543210983,
0.03969114273786545,
0.07687924057245255,
-0.07176587730646133,
0.0552457794547081,
0.002831569639965892,
-0.050168171525001526,
0.06640220433473587,
-0.032789889723062515,
-0.008604217320680618,
-0.051276665180921555,
-0.09504419565200806,
0.008072320371866226,
0.039226289838552475,
0.01416902244091034,
0.06658099591732025,
0.0785956159234047,
-0.048058465123176575,
0.032396554946899414
] |
18,325 | plotly_football_pitch.pitch_background | HorizontalStripesBackground | Horizontal stripes using specified colour cycle. | class HorizontalStripesBackground(PitchBackground):
"""Horizontal stripes using specified colour cycle."""
def __init__(self, colours: List[str], num_stripes: int = 10):
"""Horizontal stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of horizontal stripes to use, default 10.
"""
self.colours = colours
self.num_stripes = num_stripes
def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_metres = dimensions.pitch_width_metres / self.num_stripes
colour_cycle = itertools.cycle(self.colours)
for index, colour in zip(range(self.num_stripes), colour_cycle):
y0 = index * stripe_metres
y1 = y0 + stripe_metres
stripe = {
"y0": y0,
"y1": y1,
"x0": 0,
"x1": dimensions.pitch_length_metres,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe,
keys_to_switch=[("x0", "y0"), ("x1", "y1")],
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (colours: List[str], num_stripes: int = 10) | [
0.005137541331350803,
-0.09902577102184296,
-0.07211272418498993,
0.016014156863093376,
-0.03717922419309616,
0.06794209033250809,
-0.03878331184387207,
0.05924436077475548,
-0.014187278226017952,
0.013305028900504112,
0.04127856343984604,
0.03853378817439079,
0.05764027312397957,
-0.001824651495553553,
-0.006910950876772404,
-0.020567988976836205,
0.06419921666383743,
0.053897395730018616,
0.05564407259225845,
-0.08426815271377563,
0.07111462205648422,
0.0039144232869148254,
0.05061792582273483,
0.03967447206377983,
-0.02110268548130989,
0.030014291405677795,
-0.02962218038737774,
0.0011323309736326337,
-0.07246918231248856,
-0.0027492307126522064,
0.0019906300585716963,
0.013135707937180996,
-0.00943739153444767,
0.03021034598350525,
0.03008558414876461,
-0.024275217205286026,
-0.04028046131134033,
0.018063826486468315,
-0.09988128393888474,
0.0221007838845253,
0.07243353873491287,
0.04131420701742172,
0.04922771453857422,
-0.06958182156085968,
0.01105039194226265,
0.020425401628017426,
0.014918029308319092,
-0.0023014224134385586,
0.01579136773943901,
-0.0389258973300457,
0.060385048389434814,
-0.07246918231248856,
-0.011317740194499493,
0.04912077635526657,
0.014980411157011986,
-0.007672893349081278,
-0.004625123925507069,
-0.030263816937804222,
0.023348409682512283,
0.02343752607703209,
0.0077352747321128845,
-0.03867637366056442,
0.011834613978862762,
0.036466293036937714,
0.03703663870692253,
-0.01786777190864086,
-0.004293166566640139,
-0.041492439806461334,
0.00377852120436728,
-0.04634035378694534,
0.03653758764266968,
0.001330057275481522,
0.015693338587880135,
0.013313940726220608,
-0.018072739243507385,
-0.01564878225326538,
-0.01622803509235382,
0.023188000544905663,
0.07628335058689117,
-0.038997191935777664,
-0.04006658494472504,
0.01209305040538311,
0.007213945500552654,
0.017154842615127563,
0.06958182156085968,
-0.005547475069761276,
0.02138785645365715,
-0.017457837238907814,
0.003972348757088184,
0.03668017312884331,
-0.028285440057516098,
0.012609923258423805,
0.005048425402492285,
-0.01887478306889534,
0.07749532908201218,
-0.02710910700261593,
0.012547542341053486,
-0.0018034863751381636,
-0.003662670264020562,
0.006612412165850401,
-0.029016191139817238,
-0.058032382279634476,
-0.052542831748723984,
-0.0009529849630780518,
0.009615623392164707,
-0.00026163921575061977,
-0.013385233469307423,
0.007343163713812828,
-0.07179190218448639,
-0.008390277624130249,
0.05222201347351074,
-0.04658988118171692,
-0.06968876719474792,
-0.004139441531151533,
0.025861483067274094,
-0.023847458884119987,
-0.028641903772950172,
0.015096262097358704,
-0.011754409410059452,
-0.057604625821113586,
0.013991222716867924,
-0.02858843468129635,
0.03728616237640381,
0.01917777769267559,
0.002259092405438423,
0.0043444084003567696,
-0.012413867749273777,
0.024096984416246414,
-0.023384055122733116,
0.006358431186527014,
-0.03824861720204353,
0.04256183281540871,
-0.06263077259063721,
-0.06947488337755203,
0.004959309007972479,
-0.00700006727129221,
0.0920390710234642,
0.006599044892936945,
0.01408925000578165,
0.008648714050650597,
0.028677551075816154,
-0.025843659415841103,
0.023704873397946358,
0.007138196844607592,
-0.01841137930750847,
0.07040169090032578,
0.023116707801818848,
0.013447614386677742,
0.04833655431866646,
0.04833655431866646,
0.0015227707335725427,
0.057711564004421234,
0.0563570000231266,
0.034434448927640915,
0.025701073929667473,
-0.026004068553447723,
-0.04355993494391441,
0.0766398161649704,
0.0005759125924669206,
0.028089383617043495,
0.009998822584748268,
-0.02106703817844391,
0.006710439920425415,
-0.014935852959752083,
-0.01725286990404129,
0.038569435477256775,
0.0014559337869286537,
-0.08277100324630737,
0.03935365378856659,
0.017377633601427078,
0.05525195971131325,
-0.03559295833110809,
0.03728616237640381,
0.005801456049084663,
0.03160055726766586,
0.03757133334875107,
-0.0005892799817956984,
-0.009250247851014137,
0.004250836558640003,
-0.007133740931749344,
0.035307787358760834,
-0.0008404758991673589,
-0.011736585758626461,
-0.028927074745297432,
0.027911152690649033,
0.04890689626336098,
0.02964000403881073,
-0.0048523698933422565,
0.05571536347270012,
0.014427891001105309,
-0.00974038615822792,
0.06298723816871643,
0.08405427634716034,
0.019124308601021767,
0.061276208609342575,
-0.0427757129073143,
0.01665579341351986,
-0.02785768173635006,
-0.0015160870971158147,
-0.019730297848582268,
0.025914952158927917,
-0.01400904543697834,
0.01001664623618126,
-0.05981470271945,
0.03202831372618675,
0.008728918619453907,
0.021031390875577927,
0.03732180967926979,
-0.10936323553323746,
-0.021191800013184547,
-0.03373934328556061,
-0.033864106982946396,
0.026182301342487335,
-0.005747986491769552,
0.014427891001105309,
-0.058602724224328995,
0.0016831797547638416,
0.004714239854365587,
-0.00899181142449379,
-0.008924974128603935,
-0.009464126080274582,
0.06591024249792099,
-0.0817016065120697,
-0.003121290123090148,
0.02873102016746998,
-0.033400703221559525,
0.009312628768384457,
-0.04616212099790573,
-0.04673246666789055,
-0.051687318831682205,
0.01648647151887417,
-0.03799908980727196,
-0.025469372048974037,
-0.001168534392490983,
0.00988297164440155,
0.020104585215449333,
-0.055679719895124435,
-0.04951288551092148,
0.006073259748518467,
0.010729574598371983,
0.03978141397237778,
0.02197602204978466,
0.055501487106084824,
-0.01386645995080471,
0.014784355647861958,
0.042383600026369095,
0.010480049066245556,
0.015835925936698914,
-0.0101859662681818,
-0.015060615725815296,
-0.04227666184306145,
-0.02051451802253723,
-0.0013857547892257571,
0.013064415194094181,
0.01885695941746235,
-0.017493484541773796,
-0.037963446229696274,
-0.07407327741384506,
0.005863836966454983,
-0.010676104575395584,
-0.008720006793737411,
0.014552653767168522,
0.03124409355223179,
0.05710557475686073,
0.015087350271642208,
0.01932036317884922,
-0.010390933603048325,
0.03757133334875107,
-0.05560842528939247,
-0.02653876505792141,
0.03534343093633652,
0.008421468548476696,
0.004963764920830727,
-0.027340808883309364,
0.013242647983133793,
0.015087350271642208,
0.039460595697164536,
0.04819396883249283,
0.03495132178068161,
0.008310073055326939,
0.04174196720123291,
-0.04366687312722206,
-0.005297950003296137,
-0.002211192389950156,
0.07040169090032578,
-0.0240256916731596,
0.021637380123138428,
-0.011077127419412136,
0.012592100538313389,
-0.023793989792466164,
-0.023473171517252922,
-0.040458694100379944,
-0.003624795936048031,
0.013224824331700802,
0.03616330027580261,
0.028196323662996292,
-0.01768953911960125,
-0.03069157339632511,
-0.04776621237397194,
-0.06958182156085968,
0.06712222099304199,
0.015506195835769176,
0.054788559675216675,
0.027394279837608337,
-0.017939064651727676,
-0.025095084682106972,
0.010159231722354889,
0.000050789196393452585,
-0.01062263548374176,
-0.05518066883087158,
-0.012226724065840244,
0.0075258519500494,
-0.010551342740654945,
-0.006122273858636618,
-0.047694917768239975,
-0.06138314679265022,
0.005155364517122507,
0.024809913709759712,
0.03215307742357254,
0.06430615484714508,
-0.018839135766029358,
-0.02726951614022255,
-0.062024783343076706,
0.08220066130161285,
0.03910413011908531,
-0.0033663595095276833,
0.038854606449604034,
0.009392833337187767,
-0.03186790645122528,
0.05450338497757912,
-0.09303717315196991,
-0.005164275877177715,
-0.06480520218610764,
0.01663796976208687,
-0.016557766124606133,
-0.06380710750818253,
-0.020728396251797676,
-0.0003074504202231765,
-0.013492172583937645,
-0.031083684414625168,
0.04929900914430618,
-0.041349854320287704,
0.0024885660968720913,
0.05001193657517433,
0.041385501623153687,
-0.016005245968699455,
0.02062145806849003,
0.011157331988215446,
0.025576312094926834,
0.058032382279634476,
0.08319876343011856,
0.016566677019000053,
-0.03345417231321335,
0.028855782002210617,
0.014142720028758049,
-0.03789215162396431,
-0.02726951614022255,
-0.031315386295318604,
-0.028410201892256737,
0.010087938979268074,
0.03657323494553566,
-0.034149277955293655,
-0.014178366400301456,
0.07585559785366058,
-0.03978141397237778,
0.014410068280994892,
-0.03201049193739891,
-0.004072604235261679,
-0.06747868657112122,
0.03550384193658829,
-0.02652094140648842,
-0.007053536828607321,
0.01031964085996151,
-0.005837102420628071,
0.0010699498234316707,
0.00711591774597764,
0.012244547717273235,
0.011549442075192928,
0.08619306236505508,
-0.006942141801118851,
-0.004812267608940601,
-0.0160676259547472,
0.011308829300105572,
0.024293038994073868,
-0.03580683469772339,
-0.015247759409248829,
-0.04840784892439842,
-0.0656963661313057,
0.03853378817439079,
-0.05560842528939247,
0.019427303224802017,
-0.028196323662996292,
0.029265716671943665,
-0.045663073658943176,
-0.019676826894283295,
0.0057568978518247604,
-0.011112773790955544,
0.053612224757671356,
0.06655187904834747,
0.02242160215973854,
0.06056327745318413,
-0.09859801828861237,
0.0022991944570094347,
-0.002279143314808607,
-0.011023657396435738,
-0.014730885624885559,
0.07457232475280762,
0.07478620111942291,
0.024702973663806915,
0.01990852877497673,
-0.009348275139927864,
-0.015880482271313667,
-0.0036983168683946133,
0.010203789919614792,
0.06573200970888138,
-0.04912077635526657,
-0.024257393553853035,
-0.025273317471146584,
-0.06658752262592316,
0.007213945500552654,
0.023793989792466164,
0.0460195355117321,
0.040458694100379944,
0.0616326704621315,
0.03379281237721443,
-0.008056092076003551,
-0.008100650273263454,
0.02327711693942547,
0.025291139259934425,
0.045057084411382675,
0.020532341673970222,
-0.07147108763456345,
-0.0020151371136307716,
0.013590199872851372,
-0.022296840324997902,
0.01358128897845745,
0.06387839466333389,
0.04256183281540871,
0.018963899463415146,
-0.03254518657922745,
0.03814167529344559,
0.030174700543284416,
-0.007548131048679352,
-0.014133808203041553,
0.02789332903921604,
0.0001804600324248895,
-0.05546583980321884,
-0.0486573725938797,
0.001832449110224843,
0.008216501213610172,
-0.01726178266108036,
0.040494341403245926,
0.03778521344065666,
0.036198947578668594,
-0.009464126080274582,
-0.0407438650727272,
0.005592033267021179,
-0.03136885538697243,
-0.015381433069705963,
-0.03534343093633652,
0.07093638926744461,
0.03270559757947922,
-0.0294974185526371,
-0.013144619762897491,
0.028802312910556793,
-0.04377381131052971,
-0.0020418718922883272,
0.00020900502568110824,
-0.04876431077718735,
-0.00876902136951685,
0.04056563228368759,
0.02890925295650959,
-0.006345063913613558,
0.002608872950077057,
0.031475793570280075,
-0.005048425402492285,
-0.01245842594653368,
-0.014641770161688328,
-0.034006692469120026,
-0.023116707801818848,
-0.03322247043251991,
-0.011299917474389076,
-0.03156490996479988,
-0.005841558333486319,
-0.018643081188201904,
-0.006202478427439928,
-0.05368351936340332,
0.0008148550405167043,
0.01857178844511509,
-0.005409345030784607,
-0.05546583980321884,
0.005222201347351074,
-0.041920196264982224,
0.0636645182967186,
-0.05528760701417923,
-0.019070837646722794,
0.03195702284574509,
-0.020532341673970222,
0.06765691936016083,
-0.04384510591626167,
0.017431102693080902,
0.020906629040837288,
-0.002882904838770628,
-0.03978141397237778,
-0.00027514586690813303,
-0.03327593952417374,
0.0004934802418574691,
0.03229566290974617,
0.004937029909342527,
0.0660884752869606,
-0.0026333797723054886,
0.026734819635748863,
0.011139508336782455,
-0.04274006560444832,
-0.02372269704937935,
0.019659005105495453,
-0.02035410888493061,
0.02710910700261593,
0.007156020030379295,
-0.049477241933345795,
-0.011362298391759396,
0.027091285213828087,
0.025914952158927917,
0.033097706735134125,
0.026895228773355484,
0.0693323016166687,
0.0016007473459467292,
-0.08441074192523956,
-0.004373371135443449,
0.03846249356865883,
0.005721251480281353,
0.004297622479498386,
-0.001986174378544092,
0.01914213038980961,
-0.0031814435496926308,
-0.015987422317266464,
-0.04234795644879341,
-0.03254518657922745,
0.022385956719517708,
-0.06740739196538925,
0.0301034078001976,
0.010114673525094986,
0.00003578566975193098,
-0.02846367098391056,
-0.05350528657436371,
-0.006233668886125088,
0.03525431454181671,
-0.03279471397399902,
-0.03022816963493824,
0.028641903772950172,
-0.00009419846901437268,
-0.04124291613698006,
-0.03616330027580261,
0.023829637095332146,
-0.0009050850640051067,
0.0656963661313057,
-0.0038698650896549225,
-0.02151261828839779,
-0.021762143820524216,
0.04423721507191658,
0.046661172062158585,
0.011371210217475891,
0.02919442392885685,
-0.06166831776499748,
-0.03411363065242767,
-0.009094294160604477,
0.002321473555639386,
0.015818102285265923,
0.006995611358433962,
0.010480049066245556,
0.016441915184259415,
-0.01917777769267559,
0.07043734192848206,
-0.012511895969510078,
-0.0383199080824852,
-0.03439880162477493,
0.033115532249212265,
0.013180266134440899,
-0.004132757429033518,
-0.05543019250035286,
-0.038854606449604034,
-0.014820002019405365,
0.018678728491067886,
-0.12148302048444748,
0.020015468820929527,
0.0000562893292226363,
0.00949977245181799,
0.05746204033493996,
0.018910428509116173,
0.0035289961379021406,
-0.021583911031484604,
-0.03332940861582756,
0.014427891001105309,
-0.00782439112663269,
-0.023651404306292534,
0.02211860753595829,
-0.00980276707559824,
-0.04758797958493233,
-0.0033062060829252005,
0.03623459115624428,
-0.029729120433330536,
0.06220301613211632,
-0.014837824739515781,
0.02730516344308853,
-0.013447614386677742,
-0.017743008211255074,
0.06045633926987648,
-0.0636645182967186,
-0.03496914356946945,
-0.09681569784879684,
-0.007628335151821375,
0.05510937422513962,
0.002047441666945815,
-0.028107207268476486,
0.03432751074433327,
-0.036644525825977325,
-0.051402147859334946,
-0.001226459862664342,
0.0084125567227602,
0.008760109543800354,
0.023829637095332146,
-0.008973987773060799,
-0.02639617957174778,
0.018357910215854645,
-0.020389756187796593,
0.0042018224485218525,
-0.005538563709706068,
-0.057604625821113586,
-0.02317017689347267,
-0.023829637095332146,
0.04669681936502457,
-0.011674204841256142,
-0.029105307534337044,
-0.0407438650727272,
-0.0421697236597538,
0.003602517070248723,
-0.03037075512111187,
-0.0433817021548748,
0.018963899463415146,
-0.005355875473469496,
-0.04067257419228554,
-0.013064415194094181,
0.0008259945316240191,
0.03293729946017265,
-0.018233146518468857,
-0.044165924191474915,
-0.025095084682106972,
-0.028499318286776543,
-0.047837503254413605,
0.005333596374839544,
-0.023508818820118904,
0.008136296644806862,
0.027376456186175346,
0.007017890457063913,
-0.03201049193739891,
0.04437980055809021,
0.02685958333313465,
-0.0035178568214178085,
0.012449514120817184,
0.00047370759421028197,
-0.0004174530622549355,
0.0017489028396084905,
-0.05350528657436371,
0.07307517528533936,
0.01652211882174015,
-0.0383199080824852,
0.0604206919670105,
0.006955509074032307,
0.014552653767168522,
-0.027804212644696236,
0.008265514858067036,
-0.003965665120631456,
-0.07578430324792862,
-0.035289961844682693,
0.025469372048974037,
-0.053291406482458115,
-0.028356732800602913,
-0.006804011762142181,
0.05307753011584282,
-0.0175380427390337,
0.000180877759703435,
-0.041670672595500946,
-0.034773088991642,
0.051223915070295334,
0.02416827715933323,
0.02874884381890297,
0.06997393816709518,
-0.013269382528960705,
-0.03468397259712219,
-0.035753365606069565,
0.03774956613779068,
0.03671582043170929,
0.05828190594911575,
-0.005084071774035692,
-0.041349854320287704,
-0.057141222059726715,
-0.028125030919909477,
0.007022345904260874,
0.0339532196521759,
-0.05471726506948471,
-0.0031457971781492233,
-0.027198223397135735,
-0.010061203502118587,
0.0240256916731596,
-0.011103861965239048,
0.0281785000115633,
0.017743008211255074,
-0.03785650432109833,
0.0368940532207489,
-0.007325340528041124,
-0.03637717664241791,
0.07343164086341858,
0.03878331184387207,
-0.0339532196521759,
-0.03881895914673805,
-0.04762362688779831,
-0.04484320431947708,
-0.01580027863383293,
-0.025629781186580658,
-0.02254636399447918,
-0.03409580886363983,
0.10002387315034866,
-0.02903401479125023,
-0.006162376143038273,
-0.058174967765808105,
-0.002165520330891013,
0.02652094140648842,
0.006964420434087515,
-0.06070586293935776,
-0.047267161309719086,
0.007543675135821104,
0.008617524057626724,
-0.021334385499358177,
0.03963882476091385,
0.0240256916731596,
0.028837958350777626,
-0.0030254905577749014,
-0.01678946614265442,
0.02179778926074505,
-0.021494794636964798,
-0.03404233604669571,
-0.032099608331918716,
-0.0336502268910408,
0.0005803683889098465,
0.031030215322971344,
0.04131420701742172,
0.04487885162234306,
0.013590199872851372,
0.04965547099709511,
0.02873102016746998,
0.03065592609345913,
0.04730280861258507,
-0.07328905165195465,
0.026128830388188362,
0.011041481047868729,
-0.046661172062158585,
0.030139053240418434,
-0.026948697865009308,
-0.026913052424788475,
-0.06280900537967682,
-0.08826055377721786,
-0.015711162239313126,
0.04206278175115585,
0.04669681936502457,
0.07243353873491287,
0.059636473655700684,
-0.03482655808329582,
0.031172800809144974
] |
18,326 | plotly_football_pitch.pitch_background | __init__ | Horizontal stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of horizontal stripes to use, default 10.
| def __init__(self, colours: List[str], num_stripes: int = 10):
"""Horizontal stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of horizontal stripes to use, default 10.
"""
self.colours = colours
self.num_stripes = num_stripes
| (self, colours: List[str], num_stripes: int = 10) | [
-0.018069032579660416,
-0.036602288484573364,
-0.08741697669029236,
0.010802138596773148,
-0.025818005204200745,
0.03587024286389351,
-0.0006070623639971018,
0.028371237218379974,
-0.02862120419740677,
0.047065187245607376,
0.008315861225128174,
0.04338710382580757,
0.05624254047870636,
0.029853183776140213,
0.023371901363134384,
-0.027978433296084404,
0.05699244141578674,
0.048350732773542404,
0.04838643968105316,
-0.022568436339497566,
0.029710346832871437,
0.06309877336025238,
0.03065664879977703,
0.06145613640546799,
-0.031085163354873657,
0.06834807991981506,
0.012275158427655697,
0.05977778881788254,
-0.06199178099632263,
-0.021889954805374146,
0.007762363646179438,
0.026335792616009712,
-0.05406425893306732,
0.05749237537384033,
0.05260016769170761,
-0.007034781388938427,
-0.003229482565075159,
0.04517257958650589,
-0.11327069252729416,
0.05024333670735359,
0.08327466994524002,
0.005142175126820803,
0.028174836188554764,
-0.03279922157526016,
-0.008606001734733582,
0.029567508026957512,
0.03888770192861557,
0.002961660735309124,
-0.0415659174323082,
-0.03054952062666416,
0.016542449593544006,
-0.014417731203138828,
-0.010543244890868664,
0.003649069694802165,
0.031103018671274185,
0.05081469193100929,
0.007253502495586872,
-0.002257513115182519,
0.04338710382580757,
0.015355106443166733,
-0.016292482614517212,
-0.019908074289560318,
0.03970902040600777,
-0.01306969579309225,
0.02235417813062668,
-0.004950236529111862,
-0.033852655440568924,
0.021336456760764122,
0.04617244750261307,
-0.009561232291162014,
0.060313429683446884,
0.05659963935613632,
-0.019622398540377617,
-0.004155699163675308,
-0.011471693404018879,
-0.004024019930511713,
-0.023532593622803688,
0.02547876350581646,
0.03165651485323906,
-0.03710222244262695,
-0.018131524324417114,
0.04124452918767929,
-0.017872629687190056,
0.012078755535185337,
0.061956070363521576,
-0.029817475005984306,
-0.0000395455390389543,
-0.01578362099826336,
-0.07149051874876022,
0.05181455612182617,
-0.06966933608055115,
0.006302735768258572,
-0.03338842839002609,
-0.02046157233417034,
-0.009266627952456474,
0.0025532329455018044,
0.03210288658738136,
-0.02585371397435665,
0.013150041922926903,
-0.0056778183206915855,
0.014703407883644104,
-0.06727679073810577,
-0.0140517083927989,
-0.030710212886333466,
-0.04485119506716728,
-0.06577698886394501,
-0.06034914031624794,
0.0067491051740944386,
-0.02919255755841732,
0.004820789210498333,
0.0024661908391863108,
-0.013748177327215672,
0.016560304909944534,
-0.01253405213356018,
0.0195152685046196,
-0.0014573960797861218,
-0.010721792466938496,
0.01537296175956726,
0.03881628066301346,
-0.06663402169942856,
0.017863702028989792,
-0.06220603734254837,
-0.015390816144645214,
0.08663137257099152,
0.0368165448307991,
0.04488690569996834,
-0.001903765369206667,
0.011596676893532276,
0.026478631421923637,
0.023086223751306534,
0.04935059696435928,
0.014069562777876854,
-0.05156458914279938,
-0.052850134670734406,
0.03753073886036873,
-0.03888770192861557,
-0.004189176484942436,
-0.009945109486579895,
0.005066292360424995,
-0.026103680953383446,
0.050493303686380386,
-0.027407079935073853,
-0.01803332380950451,
0.022657709196209908,
-0.026085827499628067,
0.10712864995002747,
-0.008222123607993126,
0.007315994240343571,
0.009293410927057266,
0.09677287936210632,
-0.021711407229304314,
0.0699550062417984,
0.08241764456033707,
-0.00984690897166729,
-0.01969381794333458,
-0.022193485870957375,
-0.038244929164648056,
0.008918460458517075,
0.020818667486310005,
0.011596676893532276,
-0.000447485304903239,
0.01449807733297348,
-0.024425333365797997,
0.0021939054131507874,
-0.035620275884866714,
0.027103548869490623,
-0.06599125266075134,
-0.06427719444036484,
0.01361426617950201,
0.003015225287526846,
0.051778849214315414,
-0.09563017636537552,
0.016631722450256348,
0.03328130021691322,
0.012757237069308758,
0.008226587437093258,
-0.04513687267899513,
0.006503602024167776,
-0.013908869586884975,
-0.05202881619334221,
-0.0029527335427701473,
0.004244972951710224,
0.024050382897257805,
-0.07906094193458557,
0.030138861387968063,
-0.004905599635094404,
0.012168029323220253,
0.03906624764204025,
0.05895646661520004,
-0.001740840612910688,
0.013882087543606758,
0.01449807733297348,
0.03028169833123684,
0.04142307862639427,
0.06142042577266693,
-0.06002775579690933,
0.01729235053062439,
-0.03592380881309509,
0.006583948154002428,
-0.004365492612123489,
-0.03176364675164223,
0.04085172712802887,
-0.009775489568710327,
-0.09862978011369705,
0.061956070363521576,
0.00022974074818193913,
-0.042458657175302505,
0.013587484136223793,
-0.008485482074320316,
-0.011873425915837288,
0.000624359177891165,
0.0011242928449064493,
0.04945772886276245,
0.02605011686682701,
0.02704998478293419,
-0.05260016769170761,
0.05838511511683464,
-0.022764839231967926,
0.003008529543876648,
-0.035120341926813126,
0.03995898738503456,
0.036995094269514084,
-0.055314093828201294,
-0.022193485870957375,
-0.0035932734608650208,
0.0019160405499860644,
-0.02617510035634041,
-0.033566977828741074,
-0.05360003560781479,
0.0013223693240433931,
-0.05534980446100235,
-0.05242162197828293,
-0.022104211151599884,
0.062063198536634445,
0.032959915697574615,
-0.0525287501513958,
-0.02781773917376995,
-0.0143998758867383,
-0.044137004762887955,
-0.012864365242421627,
-0.016319263726472855,
0.023764705285429955,
0.018336854875087738,
-0.015863968059420586,
0.0671696662902832,
0.0460653193295002,
-0.021425729617476463,
0.045815352350473404,
-0.048350732773542404,
0.031495824456214905,
-0.0724903866648674,
-0.027192823588848114,
0.013596411794424057,
-0.023728996515274048,
-0.04724373668432236,
0.032888494431972504,
-0.04545825719833374,
-0.0206579752266407,
0.012953639030456543,
-0.020336588844656944,
0.021925663575530052,
-0.040423210710287094,
0.045993901789188385,
0.06613408774137497,
0.031870774924755096,
0.03774499520659447,
-0.02301480621099472,
0.016194280236959457,
-0.018354708328843117,
-0.029121138155460358,
0.05895646661520004,
0.031495824456214905,
0.022675564512610435,
0.007257966324687004,
-0.0033745525870472193,
0.01889035291969776,
0.016122862696647644,
0.004820789210498333,
-0.012034118175506592,
0.004834180232137442,
0.048350732773542404,
-0.06449145078659058,
-0.0349775031208992,
0.006700004450976849,
0.04288716986775398,
0.01656923070549965,
0.030103150755167007,
0.00850333645939827,
0.002338975667953491,
-0.030353117734193802,
0.02546091005206108,
-0.0003026942431461066,
0.06691969931125641,
0.008074821904301643,
0.07263322919607162,
0.0037004020996391773,
0.003604432800784707,
0.014623060822486877,
-0.06309877336025238,
-0.038744863122701645,
0.024532461538910866,
-0.06981217116117477,
0.059706367552280426,
0.0033946391195058823,
-0.06445574015378952,
-0.03642374277114868,
0.010641446337103844,
0.015935387462377548,
0.023086223751306534,
-0.05624254047870636,
0.02253272570669651,
0.07727546989917755,
0.00818641483783722,
0.04592248052358627,
0.03906624764204025,
-0.07370451092720032,
-0.02744278870522976,
-0.019533123821020126,
-0.0013324125902727246,
0.055206965655088425,
-0.00045027511077933013,
-0.0472080260515213,
-0.03192433714866638,
0.05488557741045952,
0.0032785830553621054,
0.06338445097208023,
0.027603482827544212,
0.0124983424320817,
-0.01940814033150673,
0.02869262360036373,
-0.06527705490589142,
-0.03212074190378189,
-0.017810137942433357,
0.013676757924258709,
0.0018323463154956698,
-0.06695540994405746,
0.000542338821105659,
0.025639457628130913,
-0.030156714841723442,
-0.034424006938934326,
0.03735218942165375,
-0.022104211151599884,
-0.014480222947895527,
0.011302072554826736,
0.022800548002123833,
-0.04656525328755379,
0.02194351889193058,
-0.0480293445289135,
0.005990277044475079,
0.05192168802022934,
0.06566986441612244,
0.020604411140084267,
-0.022800548002123833,
0.0517074279487133,
0.07656127959489822,
0.009766561910510063,
-0.04195872321724892,
0.0033343792892992496,
-0.008556901477277279,
-0.024621734395623207,
0.06427719444036484,
0.04845786094665527,
0.016917400062084198,
0.03799496218562126,
-0.015747912228107452,
0.013105405494570732,
-0.026478631421923637,
-0.016229990869760513,
-0.032763510942459106,
0.04495832324028015,
-0.03242427110671997,
0.02244345284998417,
-0.0004653400683309883,
-0.02537163533270359,
0.034156184643507004,
-0.009128253906965256,
-0.009150572121143341,
0.014221328310668468,
0.06459857523441315,
0.009498740546405315,
-0.07506147772073746,
-0.026907145977020264,
0.07427586615085602,
0.034923940896987915,
-0.07598992437124252,
0.00887382309883833,
-0.03067450411617756,
0.010150440037250519,
0.036887966096401215,
0.012409068644046783,
-0.04224439710378647,
-0.018301144242286682,
0.035727404057979584,
-0.002258629072457552,
-0.020550847053527832,
-0.0010595693020150065,
0.040101826190948486,
0.04142307862639427,
0.010453971102833748,
-0.045708224177360535,
0.049029212445020676,
-0.0780610740184784,
-0.00869973935186863,
0.049422018229961395,
-0.03963760286569595,
-0.03290634974837303,
0.0041981041431427,
0.041994430124759674,
0.013623193837702274,
0.007900738157331944,
0.03156724199652672,
-0.026603614911437035,
0.013391081243753433,
-0.02242559753358364,
0.008882750757038593,
-0.06306306272745132,
-0.02772846631705761,
-0.022907676175236702,
0.0018066801130771637,
-0.00301299337297678,
0.010471825487911701,
-0.0317457914352417,
0.04595819115638733,
0.06902655959129333,
0.01127529051154852,
0.014024926349520683,
0.0697050392627716,
0.011025323532521725,
0.007534715346992016,
0.00016655157378409058,
-0.042065851390361786,
0.005057365167886019,
-0.0027161575853824615,
-0.021086489781737328,
0.019818801432847977,
-0.01668528839945793,
-0.010543244890868664,
0.009195209480822086,
0.025121668353676796,
-0.025014540180563927,
0.009320192970335484,
-0.006615194026380777,
0.027353515848517418,
0.0028634595219045877,
-0.01921173743903637,
-0.006566093768924475,
-0.034424006938934326,
-0.04502974450588226,
0.008382816798985004,
-0.012667963281273842,
-0.0747043788433075,
-0.02312193438410759,
0.009034516289830208,
-0.04527971148490906,
0.039816148579120636,
-0.04370848834514618,
-0.022675564512610435,
0.01023078616708517,
0.0351024866104126,
-0.0026849117130041122,
0.05938498303294182,
-0.0021548480726778507,
-0.0262643750756979,
-0.027978433296084404,
-0.05260016769170761,
0.03881628066301346,
0.010337915271520615,
0.05574260652065277,
-0.008539046160876751,
-0.0355488583445549,
0.0007175387581810355,
0.037280771881341934,
-0.004528417252004147,
-0.012114465236663818,
0.014828390441834927,
0.00455743120983243,
-0.0049725547432899475,
-0.014640916138887405,
-0.040744598954916,
-0.055885445326566696,
-0.060206301510334015,
0.0075972070917487144,
0.006601803004741669,
-0.05045759305357933,
-0.02046157233417034,
0.0035218545235693455,
-0.019372431561350822,
-0.03724506124854088,
0.058527953922748566,
-0.038744863122701645,
-0.040744598954916,
-0.02890688180923462,
-0.023675432428717613,
0.0067892782390117645,
-0.010070092976093292,
0.0029304150957614183,
0.005610863212496042,
-0.027317805215716362,
0.0525287501513958,
-0.019354576244950294,
0.021211473271250725,
0.01445344090461731,
-0.0008547973702661693,
-0.0435299426317215,
0.00965050607919693,
-0.0206579752266407,
0.0028121271170675755,
0.010543244890868664,
-0.03888770192861557,
-0.013873160816729069,
0.030978035181760788,
0.004387810826301575,
-0.011926990002393723,
-0.0015310469316318631,
-0.006173288449645042,
-0.0026715206913650036,
-0.03270994871854782,
0.02360401302576065,
0.0008375005563721061,
0.01371246762573719,
0.006333981640636921,
0.02976391091942787,
-0.003965992014855146,
0.04174446314573288,
-0.02528236247599125,
0.06491996347904205,
0.011641313321888447,
-0.05106465891003609,
0.022622000426054,
0.0370665118098259,
0.025639457628130913,
0.002751867286860943,
-0.03604879230260849,
0.025425199419260025,
-0.024550316855311394,
0.010418261401355267,
0.019443850964307785,
-0.0505647249519825,
0.06563415378332138,
-0.02176497131586075,
0.04160162806510925,
-0.017015600576996803,
0.058635082095861435,
-0.04613674059510231,
-0.09505882114171982,
-0.007092809304594994,
0.011784152127802372,
-0.03462040796875954,
-0.037673573940992355,
-0.014756971970200539,
0.032370708882808685,
-0.03970902040600777,
-0.07434728741645813,
-0.025585893541574478,
0.004963627550750971,
0.02674645371735096,
-0.0016415234422311187,
-0.024514606222510338,
0.04645812511444092,
0.03574525937438011,
0.008092677220702171,
-0.0071865469217300415,
0.027407079935073853,
-0.056278251111507416,
0.013649975880980492,
-0.007507932838052511,
0.010025456547737122,
-0.0324421264231205,
-0.016926327720284462,
-0.005423387978225946,
0.01960454322397709,
-0.009177354164421558,
0.03274565935134888,
0.0370665118098259,
-0.04399416595697403,
-0.04342281445860863,
0.011873425915837288,
-0.006280417088419199,
0.0012364431750029325,
-0.11834145337343216,
-0.03995898738503456,
0.005115393083542585,
-0.06720537692308426,
-0.1056288480758667,
0.013551774434745312,
0.0013368763029575348,
-0.043244265019893646,
0.002655897755175829,
-0.020550847053527832,
-0.015149776823818684,
0.01880107820034027,
-0.026710743084549904,
-0.033245593309402466,
0.025889424607157707,
-0.052457328885793686,
0.011775224469602108,
0.017711937427520752,
-0.024550316855311394,
-0.0351024866104126,
0.050314757972955704,
-0.0362451933324337,
0.08348892629146576,
-0.02519308775663376,
0.07227613031864166,
0.06102761998772621,
-0.006994608324021101,
0.048636406660079956,
-0.037173643708229065,
-0.0536714531481266,
-0.05831369757652283,
0.015417598187923431,
0.06549131870269775,
0.007360631134361029,
-0.015078357420861721,
-0.023568304255604744,
-0.0285140760242939,
-0.032674238085746765,
0.027764175087213516,
0.010784284211695194,
0.044529810547828674,
0.005526052787899971,
0.005901003256440163,
-0.028764043003320694,
0.0376378670334816,
-0.03685225546360016,
0.007048172410577536,
-0.0074945418164134026,
-0.06606266647577286,
-0.019068900495767593,
-0.04910063371062279,
0.05024333670735359,
0.02703212946653366,
-0.0268357265740633,
-0.042958587408065796,
-0.07820391654968262,
0.01435523945838213,
0.00005565668107010424,
-0.005842975340783596,
0.005155566148459911,
-0.02849622070789337,
-0.018247580155730247,
0.0009228686685673892,
0.01337322685867548,
0.02635364793241024,
0.014631988480687141,
-0.06731250137090683,
-0.031495824456214905,
-0.03194219246506691,
-0.005088611040264368,
0.003974919207394123,
-0.03663799911737442,
0.03860202431678772,
-0.01111459732055664,
0.029728200286626816,
-0.05231449007987976,
0.032567109912633896,
0.010659300722181797,
-0.010587881319224834,
0.027157112956047058,
-0.02292553149163723,
0.01240014098584652,
0.03788783401250839,
0.02165784314274788,
0.02144358493387699,
0.00009799202962312847,
-0.005717991851270199,
0.07906094193458557,
-0.0033232199493795633,
-0.046886641532182693,
-0.02137216553092003,
-0.02842480130493641,
0.03351341187953949,
0.0001786872453521937,
-0.029317541047930717,
0.007851636968553066,
-0.0174887515604496,
-0.039816148579120636,
0.025603746995329857,
0.06509850919246674,
-0.007940911687910557,
-0.01253405213356018,
-0.0268357265740633,
-0.013873160816729069,
-0.022996950894594193,
0.023728996515274048,
0.053064391016960144,
-0.029656780883669853,
0.0003364509320817888,
-0.005749237723648548,
0.015801476314663887,
-0.034834668040275574,
0.016194280236959457,
0.048065055161714554,
0.0024594953283667564,
-0.06677685678005219,
0.012114465236663818,
-0.03549529239535332,
-0.06370583921670914,
0.04988624155521393,
-0.026907145977020264,
0.007824854925274849,
-0.020800814032554626,
-0.015560436993837357,
0.061670392751693726,
-0.0033500022254884243,
-0.013400008901953697,
0.05320722982287407,
-0.020247315987944603,
0.04852927848696709,
0.02235417813062668,
-0.012373358942568302,
0.04945772886276245,
0.0053698234260082245,
-0.022300614044070244,
-0.08191771060228348,
0.0049725547432899475,
0.01009687501937151,
-0.02124718204140663,
-0.05534980446100235,
-0.013596411794424057,
0.021925663575530052,
0.045315418392419815,
0.023978963494300842,
0.029853183776140213,
-0.05181455612182617,
-0.018113669008016586,
0.023782560601830482,
0.04338710382580757,
-0.03831634670495987,
-0.06420577317476273,
0.04063746705651283,
0.0013502673245966434,
-0.0037919078022241592,
0.03735218942165375,
0.021407876163721085,
-0.0007398572633974254,
0.04517257958650589,
0.0002227662189397961,
0.0262643750756979,
0.014631988480687141,
-0.03165651485323906,
-0.061563264578580856,
-0.02801414206624031,
-0.005584081169217825,
-0.0335848331451416,
0.049243468791246414,
0.06306306272745132,
0.036673709750175476,
0.032263580709695816,
0.013676757924258709,
-0.0011661399621516466,
0.009230919182300568,
-0.04674380272626877,
0.04485119506716728,
-0.006369690876454115,
-0.0031982366926968098,
-0.0043096961453557014,
-0.03895911946892738,
-0.04852927848696709,
-0.08448879420757294,
-0.020622264593839645,
-0.007266893517225981,
0.02176497131586075,
0.03597737103700638,
0.05038617551326752,
0.06220603734254837,
0.04788650572299957,
-0.00003325103170936927
] |
18,328 | plotly_football_pitch.pitch_background | add_background | Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
| def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_metres = dimensions.pitch_width_metres / self.num_stripes
colour_cycle = itertools.cycle(self.colours)
for index, colour in zip(range(self.num_stripes), colour_cycle):
y0 = index * stripe_metres
y1 = y0 + stripe_metres
stripe = {
"y0": y0,
"y1": y1,
"x0": 0,
"x1": dimensions.pitch_length_metres,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe,
keys_to_switch=[("x0", "y0"), ("x1", "y1")],
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (self, fig: plotly.graph_objs._figure.Figure, dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation) -> plotly.graph_objs._figure.Figure | [
0.00844531785696745,
-0.08681462705135345,
-0.05883781984448433,
-0.011915379203855991,
-0.030230093747377396,
0.08645410090684891,
-0.030085882171988487,
0.03785521537065506,
-0.007084332872182131,
0.005164532922208309,
0.040018368512392044,
0.039261266589164734,
0.014835638925433159,
-0.03060864470899105,
-0.0036165250930935144,
0.008364199660718441,
0.05761203169822693,
0.04398415610194206,
0.039044950157403946,
-0.0732228010892868,
0.06972569972276688,
-0.015331362374126911,
0.022568918764591217,
0.06666123121976852,
-0.01345662772655487,
0.014718468300998211,
-0.03219495713710785,
-0.011284459382295609,
-0.033997587859630585,
0.012474194169044495,
0.015358401462435722,
-0.008814857341349125,
0.005128480494022369,
0.035079166293144226,
0.010743670165538788,
0.0047319019213318825,
-0.032897982746362686,
0.0084768645465374,
-0.07192490994930267,
0.039189159870147705,
0.05137493461370468,
0.05137493461370468,
0.05487203598022461,
-0.05234835296869278,
0.016421953216195107,
0.016683334484696388,
0.031798381358385086,
-0.015286296606063843,
0.03543969243764877,
-0.032771799713373184,
0.03572811186313629,
-0.06990596652030945,
-0.011185314506292343,
0.05108651518821716,
-0.014619323424994946,
-0.021198920905590057,
-0.0030306705739349127,
-0.023794706910848618,
0.027454044669866562,
0.02835535816848278,
-0.017251161858439445,
-0.06291176378726959,
0.002209347439929843,
0.015547677874565125,
0.01417767908424139,
0.004184353165328503,
-0.0025574802421033382,
-0.04885125160217285,
0.0004996663192287087,
-0.0399102121591568,
0.025308914482593536,
0.004934697411954403,
0.007575549650937319,
0.026011940091848373,
-0.0020752770360559225,
-0.01680050417780876,
0.005178052466362715,
0.031005224213004112,
0.06377702206373215,
-0.04856283217668533,
-0.012591365724802017,
0.0144480736926198,
0.018278660252690315,
0.04279441758990288,
0.05303335189819336,
0.007079826667904854,
0.010220907628536224,
-0.0008838516660034657,
0.021289052441716194,
0.04091968387365341,
-0.012897812761366367,
0.01506998110562563,
0.015809059143066406,
-0.025362994521856308,
0.07917147874832153,
-0.0411360003054142,
0.00898610707372427,
0.0032334662973880768,
0.015881163999438286,
-0.0026904242113232613,
-0.05076203867793083,
-0.05040151625871658,
-0.054835982620716095,
-0.026408519595861435,
0.025381019338965416,
-0.0010883373906835914,
-0.00046812029904685915,
-0.017124978825449944,
-0.08003673702478409,
-0.001632506144233048,
0.08796831220388412,
-0.03803547844290733,
-0.06020781770348549,
0.00994150061160326,
0.022586945444345474,
-0.020964577794075012,
-0.036395084112882614,
-0.009161863476037979,
-0.013645903207361698,
-0.046363625675439835,
0.0033393707126379013,
-0.026390492916107178,
0.055232562124729156,
0.036250874400138855,
-0.00770624028518796,
-0.008909495547413826,
-0.02630036137998104,
0.020459841936826706,
-0.03430403396487236,
-0.014078534208238125,
-0.017386360093951225,
0.0352594293653965,
-0.07192490994930267,
-0.08147884160280228,
0.003907199017703533,
-0.027093518525362015,
0.12250668555498123,
0.002129355911165476,
0.02233457751572132,
0.010725644417107105,
0.0017654499970376492,
-0.015051954425871372,
-0.0003613708249758929,
-0.0019851454999297857,
-0.021198920905590057,
0.05609782412648201,
-0.0022172341123223305,
0.027994832023978233,
0.05898202955722809,
0.03511521965265274,
0.014258797280490398,
0.08169516175985336,
0.02159549854695797,
0.032771799713373184,
0.03127561882138252,
-0.01212268229573965,
-0.012528273276984692,
0.06676939129829407,
0.014240771532058716,
0.0043894024565815926,
0.036395084112882614,
-0.011933405883610249,
0.027237728238105774,
0.004533612634986639,
-0.0038891725707799196,
0.03397956117987633,
-0.007165451534092426,
-0.05443940311670303,
0.03333061560988426,
0.03565600886940956,
0.054150983691215515,
-0.04679625481367111,
0.026138124987483025,
-0.003152347868308425,
0.016007348895072937,
0.0396578423678875,
0.018224582076072693,
0.0014646362978965044,
0.0056016705930233,
0.026210229843854904,
0.05425914004445076,
0.0030441901180893183,
0.022911418229341507,
-0.007165451534092426,
0.041244156658649445,
0.037206269800662994,
0.027760490775108337,
0.004096474964171648,
0.06449807435274124,
-0.010238934308290482,
-0.007823411375284195,
0.07628726959228516,
0.07329490780830383,
-0.005020322743803263,
0.02651667594909668,
-0.04694046452641487,
0.022514838725328445,
-0.01954050175845623,
0.018747344613075256,
-0.04877914860844612,
0.030157987028360367,
-0.0448133647441864,
-0.014276823960244656,
-0.06082070991396904,
0.02752614952623844,
-0.009161863476037979,
-0.003864386584609747,
0.03006785549223423,
-0.08638199418783188,
-0.0401625819504261,
-0.018567081540822983,
-0.0504375658929348,
0.00007830170943634585,
-0.028661806136369705,
0.01257333904504776,
-0.06886044144630432,
-0.017584647983312607,
-0.0021079496946185827,
-0.004556145519018173,
0.0005748697440139949,
-0.01688162237405777,
0.05465571954846382,
-0.0646422877907753,
0.012663470581173897,
0.036521270871162415,
-0.0433352068066597,
0.026624834164977074,
-0.06377702206373215,
-0.03360100835561752,
-0.041172053664922714,
0.024443652480840683,
-0.003902692347764969,
-0.028715884312987328,
-0.009197915904223919,
0.015565703622996807,
0.0646422877907753,
-0.06370491534471512,
-0.04686836153268814,
0.01592622883617878,
0.024858256801962852,
0.06428176164627075,
0.0084768645465374,
0.06384912878274918,
-0.0062551237642765045,
0.004227165598422289,
0.060315974056720734,
-0.0014409767463803291,
0.012780641205608845,
0.012942878529429436,
-0.008562489412724972,
-0.059486765414476395,
-0.013483666814863682,
-0.012636431492865086,
0.03430403396487236,
0.02377668023109436,
-0.02220839262008667,
-0.04657994210720062,
-0.09193409234285355,
0.032231010496616364,
-0.002433549612760544,
0.0011536827078089118,
0.0077828518114984035,
0.05299730226397514,
0.07917147874832153,
0.002629585564136505,
0.014430047012865543,
-0.026480624452233315,
0.02896825224161148,
-0.047192834317684174,
-0.04128021001815796,
0.0011469228193163872,
0.010500315576791763,
0.03253745660185814,
-0.03753074258565903,
0.029743382707238197,
0.02431746944785118,
0.04156862944364548,
0.041929155588150024,
0.04326310381293297,
0.004319550469517708,
0.044849418103694916,
-0.029202593490481377,
0.011104196310043335,
0.03087903931736946,
0.04913967475295067,
-0.018819449469447136,
0.01954050175845623,
0.017602674663066864,
-0.012924851849675179,
-0.04420046880841255,
-0.01551162451505661,
-0.030103908851742744,
0.00028123834636062384,
0.02664286084473133,
0.023542338982224464,
0.04149652644991875,
0.004736408591270447,
-0.022514838725328445,
-0.04099179059267044,
-0.06900464743375778,
0.05501624569296837,
0.017539583146572113,
0.06965359300374985,
0.0329340361058712,
-0.017305241897702217,
-0.023722602054476738,
-0.013736034743487835,
0.008603048510849476,
-0.032970089465379715,
-0.05793650448322296,
-0.016115505248308182,
-0.016971753910183907,
0.005155519582331181,
0.000973419810179621,
-0.037963371723890305,
-0.05065388232469559,
0.0034520351327955723,
0.005011309403926134,
0.02725575491786003,
0.03846810758113861,
-0.017106952145695686,
-0.021703656762838364,
-0.054763875901699066,
0.057359661906957626,
0.0411360003054142,
-0.010996039025485516,
0.02145128883421421,
0.011185314506292343,
-0.005921637173742056,
0.06280360370874405,
-0.09243883192539215,
0.006133446004241705,
-0.04398415610194206,
0.012582352384924889,
-0.005371835082769394,
-0.0688243880867958,
-0.00809380505234003,
0.01853102818131447,
-0.01062649954110384,
-0.019017739221453667,
0.05097835510969162,
-0.03872047737240791,
0.01919800229370594,
0.06788701564073563,
0.0396578423678875,
-0.018260635435581207,
-0.01571892760694027,
0.00796311441808939,
0.015051954425871372,
0.037422582507133484,
0.055520981550216675,
-0.00074527453398332,
-0.039874158799648285,
0.037963371723890305,
-0.006210057996213436,
-0.0246058888733387,
-0.03080693446099758,
-0.02173970825970173,
-0.028066938742995262,
0.014736494049429893,
0.010482288897037506,
-0.03363706171512604,
-0.018017278984189034,
0.07772937417030334,
-0.02009931579232216,
0.03307824581861496,
-0.03702600672841072,
-0.024443652480840683,
-0.0719970166683197,
0.025182731449604034,
-0.002749009756371379,
0.008080285973846912,
0.019919052720069885,
-0.011987484991550446,
0.004930191207677126,
-0.013537745922803879,
-0.0016696853563189507,
0.029599172994494438,
0.07127596437931061,
0.02262299694120884,
-0.030626671388745308,
-0.0035308999940752983,
0.012275905348360538,
0.006214564200490713,
-0.04265020787715912,
-0.023938916623592377,
-0.0920783057808876,
-0.07599885016679764,
0.004411935340613127,
-0.03778310865163803,
-0.004533612634986639,
-0.021974051371216774,
0.006448906380683184,
-0.044452838599681854,
-0.013573798350989819,
-0.017539583146572113,
-0.027147596701979637,
0.042325735092163086,
0.05653045326471329,
0.03839600458741188,
0.0504375658929348,
-0.10311039537191391,
0.027165623381733894,
-0.0064849588088691235,
0.005826998967677355,
-0.009008639492094517,
0.05977518856525421,
0.07974831759929657,
0.049031514674425125,
0.009481829591095448,
0.008814857341349125,
-0.0344121940433979,
-0.01281669456511736,
0.027688385918736458,
0.06554359942674637,
-0.03163614496588707,
-0.01640392653644085,
-0.033456798642873764,
-0.07120385766029358,
-0.013979390263557434,
0.03210482746362686,
0.04470520466566086,
0.03246535360813141,
0.06327228993177414,
-0.0012404342414811254,
0.011455709114670753,
-0.019432343542575836,
0.04502967745065689,
0.016097478568553925,
0.0035646993201225996,
0.00655706413090229,
-0.07163649052381516,
0.04340731352567673,
0.0175666231662035,
-0.015006888657808304,
0.023902863264083862,
0.06143360584974289,
0.0014646362978965044,
0.01784602925181389,
-0.020874446257948875,
0.0423617884516716,
0.025993913412094116,
-0.018152477219700813,
-0.033114299178123474,
0.009427751414477825,
0.006732820533216,
-0.05350203812122345,
-0.04420046880841255,
0.016557149589061737,
0.008039726875722408,
0.013979390263557434,
0.0326816700398922,
0.04153257980942726,
0.0494641475379467,
-0.015691887587308884,
-0.03817968815565109,
0.0026093057822436094,
-0.018395831808447838,
-0.0040288763120770454,
-0.03792731836438179,
0.0695454403758049,
0.02294747158885002,
-0.039189159870147705,
-0.013402548618614674,
0.03828784450888634,
-0.05800861120223999,
0.0003019403957296163,
-0.012753602117300034,
-0.04434467852115631,
-0.003438515355810523,
0.04816625267267227,
0.026624834164977074,
-0.01851300336420536,
-0.022388655692338943,
0.04870704188942909,
0.005250157788395882,
0.019179975613951683,
-0.004776967689394951,
-0.02801285870373249,
0.006552557460963726,
-0.026264308020472527,
-0.0035849788691848516,
-0.06615649163722992,
0.0013508453266695142,
-0.015457546338438988,
0.005790946539491415,
-0.07279016822576523,
0.002325391862541437,
0.015006888657808304,
0.01349268015474081,
-0.032357197254896164,
-0.001075944397598505,
-0.062479130923748016,
0.07448463886976242,
-0.013267351314425468,
-0.022514838725328445,
0.036863770335912704,
-0.020207474008202553,
0.06348860263824463,
-0.047192834317684174,
0.016683334484696388,
-0.0008928648312576115,
0.00018322037067264318,
-0.032771799713373184,
-0.02309168130159378,
-0.0411360003054142,
-0.0005016379291191697,
0.03839600458741188,
0.011915379203855991,
0.053321775048971176,
-0.012906825169920921,
0.03131167218089104,
0.019288133829832077,
-0.03976600244641304,
-0.015664847567677498,
0.04405625909566879,
-0.010302026756107807,
0.011843274347484112,
-0.006457919254899025,
-0.04005442187190056,
-0.021487340331077576,
0.032140880823135376,
0.023740626871585846,
0.027436017990112305,
0.037458635866642,
0.04297468066215515,
0.004479533527046442,
-0.07772937417030334,
-0.004916671197861433,
0.0329340361058712,
-0.006755353417247534,
0.008026206865906715,
0.020459841936826706,
-0.020279578864574432,
0.012942878529429436,
-0.004073942080140114,
-0.043010734021663666,
-0.035421665757894516,
0.02399299480021,
-0.06110913306474686,
0.024353520944714546,
0.01810741052031517,
-0.021271025761961937,
-0.03825179487466812,
-0.07405201345682144,
-0.0062010446563363075,
0.022731155157089233,
-0.03621482104063034,
-0.0017091179033741355,
0.011681037954986095,
-0.016485044732689857,
-0.035025086253881454,
-0.0399102121591568,
0.03581824526190758,
-0.010770710185170174,
0.0634164959192276,
-0.005398874636739492,
-0.017999254167079926,
-0.03275377303361893,
0.021901946514844894,
0.03738653287291527,
0.01880142278969288,
0.02554325759410858,
-0.022298524156212807,
-0.04730099067091942,
-0.009653079323470592,
0.0030644696671515703,
0.005565617699176073,
0.0043150437995791435,
-0.014493139460682869,
0.015322349034249783,
-0.031059302389621735,
0.06720201671123505,
-0.010725644417107105,
-0.0457867830991745,
-0.030103908851742744,
0.031527984887361526,
0.016494058072566986,
-0.010689591988921165,
-0.01727820187807083,
-0.05299730226397514,
-0.013051035813987255,
0.01961260661482811,
-0.11500775068998337,
0.00022969440033193678,
0.02622825652360916,
0.039117056876420975,
0.0641375482082367,
0.023758653551340103,
0.00010076416219817474,
-0.014430047012865543,
-0.04167678952217102,
0.025164704769849777,
-0.023542338982224464,
-0.027706412598490715,
-0.009044692851603031,
-0.0211808942258358,
-0.03763889893889427,
-0.023866811767220497,
0.03908100351691246,
-0.022100234404206276,
0.053862564265728,
-0.018981685861945152,
0.0093646589666605,
-0.026967333629727364,
-0.023722602054476738,
0.05645835027098656,
-0.05061782896518707,
-0.06334438920021057,
-0.10145197808742523,
-0.016836557537317276,
0.07852253317832947,
0.014430047012865543,
-0.03284390643239021,
0.04748125374317169,
-0.03854021430015564,
-0.04625546559691429,
0.004695849493145943,
-0.007408806122839451,
0.04182099923491478,
0.02986956760287285,
0.002048237482085824,
-0.027904700487852097,
0.01571892760694027,
-0.008201963268220425,
-0.012384063564240932,
-0.018494976684451103,
-0.060027554631233215,
-0.03846810758113861,
-0.010473276488482952,
0.03477272018790245,
0.007264595944434404,
-0.022298524156212807,
-0.04409231245517731,
-0.0342860072851181,
-0.022388655692338943,
-0.04066731780767441,
-0.056890979409217834,
0.018431885167956352,
-0.011536827310919762,
-0.00039601512253284454,
-0.03060864470899105,
0.009806303307414055,
0.02774246409535408,
0.022641023620963097,
0.00002240964022348635,
-0.03397956117987633,
-0.018549054861068726,
-0.05256466940045357,
0.007318675052374601,
-0.006944629363715649,
-0.002345671411603689,
0.03109535574913025,
0.016007348895072937,
-0.0224066823720932,
0.04268626123666763,
0.02458786405622959,
0.013312417082488537,
0.008035220205783844,
0.029689304530620575,
0.000887231610249728,
-0.008287588134407997,
-0.060784660279750824,
0.07095149159431458,
-0.008814857341349125,
-0.032555483281612396,
0.03080693446099758,
-0.0036345513071864843,
0.019306158646941185,
-0.018603134900331497,
0.013916297815740108,
-0.008080285973846912,
-0.08342568576335907,
-0.0002463123819325119,
0.027003386989235878,
-0.04365967959165573,
-0.036521270871162415,
0.0014533698558807373,
0.05382651090621948,
-0.00464627705514431,
-0.00688153738155961,
-0.06770675629377365,
-0.014745507389307022,
0.036395084112882614,
0.02438957430422306,
0.03333061560988426,
0.0575399249792099,
-0.006701274309307337,
-0.028589699417352676,
-0.03246535360813141,
0.02896825224161148,
0.007895516231656075,
0.049500200897455215,
-0.011834261007606983,
-0.024101153016090393,
-0.04931993782520294,
-0.052168089896440506,
0.014889718033373356,
0.0344121940433979,
-0.05404282733798027,
0.008999627083539963,
-0.006340748630464077,
-0.0030148974619805813,
0.02610207162797451,
-0.005543084815144539,
0.02752614952623844,
0.008463344536721706,
-0.03581824526190758,
0.009337619878351688,
-0.03116746060550213,
-0.03875653073191643,
0.08796831220388412,
0.04106389358639717,
-0.048670992255210876,
-0.03138377517461777,
-0.03421390429139137,
-0.05151914432644844,
-0.029292725026607513,
-0.019432343542575836,
-0.027003386989235878,
-0.04733704403042793,
0.08782409876585007,
-0.017864055931568146,
-0.058260977268218994,
-0.03572811186313629,
-0.008760778233408928,
0.016376886516809464,
-0.00628666952252388,
-0.06482254713773727,
-0.04373178631067276,
0.01673741266131401,
0.017918134108185768,
-0.030121935531497,
0.05451150983572006,
-0.0017879828810691833,
0.04412836581468582,
0.002870687050744891,
0.003519633552059531,
0.027039438486099243,
-0.038648370653390884,
-0.007805384695529938,
-0.030176013708114624,
-0.01727820187807083,
0.020658131688833237,
0.038504160940647125,
0.030374303460121155,
0.0317082479596138,
0.007814398035407066,
0.000413196423323825,
0.05397072061896324,
0.031455881893634796,
0.08119042217731476,
-0.06922096759080887,
0.05699913948774338,
-0.0022386403288692236,
-0.049716513603925705,
0.059414662420749664,
-0.030230093747377396,
-0.002931525930762291,
-0.043912049382925034,
-0.09993776679039001,
0.007909036241471767,
0.0448133647441864,
0.008287588134407997,
0.06107307970523834,
0.07895515859127045,
-0.05220414325594902,
0.02419128455221653
] |
18,329 | plotly_football_pitch.pitch_dimensions | PitchDimensions | Dimensions for a football pitch plot.
All units are in metres. Length refers to the longer pitch dimension, which
for a horizontal pitch will be the plot's x-axis. Width refers to the
shorter pitch dimension, which for a horizontal pitch will be the plot's
y-axis. The axes will be reversed for a vertical pitch.
The origin is the bottom left hand corner of the pitch.
| class PitchDimensions:
"""Dimensions for a football pitch plot.
All units are in metres. Length refers to the longer pitch dimension, which
for a horizontal pitch will be the plot's x-axis. Width refers to the
shorter pitch dimension, which for a horizontal pitch will be the plot's
y-axis. The axes will be reversed for a vertical pitch.
The origin is the bottom left hand corner of the pitch.
"""
pitch_width_metres: int = 68
pitch_length_metres: int = 105
@property
def pitch_mid_length_metres(self):
"""Distance of the centre line in metres from goal lines."""
return self.pitch_length_metres / 2
@property
def pitch_mid_width_metres(self):
"""Distance in metres from side lines to the centre spot."""
return self.pitch_width_metres / 2
@property
def penalty_box_length_metres(self):
"""Penalty box length in metres (18 yards in metres)."""
return 18 / 1.09361
@property
def penalty_box_width_metres(self):
"""Width of the penalty box in metres."""
return self.pitch_width_metres * 0.6
@property
def penalty_box_width_max_metres(self):
"""Metres from the bottom touchline to top of penalty box."""
outside_box_metres = self.pitch_width_metres - self.penalty_box_width_metres
return self.pitch_width_metres - outside_box_metres / 2
@property
def penalty_box_width_min_metres(self):
"""Metres from the bottom touchline to bottom of penalty box."""
outside_box_metres = self.pitch_width_metres - self.penalty_box_width_metres
return outside_box_metres / 2
@property
def six_yard_box_length_metres(self):
"""Six yard box length in metres (6 yards in metres)."""
return self.penalty_box_length_metres / 3
@property
def six_yard_box_width_metres(self):
"""Width of the six yard box in metres."""
return self.pitch_width_metres * 0.3
@property
def six_yard_box_width_max_metres(self):
"""Metres from the bottom touchline to top of six yard box."""
outside_box_metres = self.pitch_width_metres - self.six_yard_box_width_metres
return self.pitch_width_metres - outside_box_metres / 2
@property
def six_yard_box_width_min_metres(self):
"""Metres from the bottom touchline to bottom of six yard box."""
outside_box_metres = self.pitch_width_metres - self.six_yard_box_width_metres
return outside_box_metres / 2
@property
def penalty_spot_length_metres(self):
"""Penalty spot distance from goal line (12 yards in metres)."""
return 2 * self.penalty_box_length_metres / 3
@property
def centre_circle_radius_metres(self):
"""Radius of the centre circle in metres."""
return self.pitch_length_metres / 10
| (pitch_width_metres: int = 68, pitch_length_metres: int = 105) -> None | [
0.039638787508010864,
-0.05210290104150772,
-0.034348782151937485,
0.015453329309821129,
0.02054405026137829,
-0.002346079796552658,
-0.0490231066942215,
-0.009089927189052105,
-0.03811700642108917,
0.06663229316473007,
0.010072744451463223,
0.02358761429786682,
0.03291758522391319,
0.05213913321495056,
-0.03481981158256531,
0.010797402821481228,
0.07666880637407303,
-0.016513140872120857,
0.0181707963347435,
-0.03226539120078087,
0.04666796699166298,
-0.014547507278621197,
0.0014821517979726195,
0.044856324791908264,
-0.05177680775523186,
0.006893308367580175,
0.02088826335966587,
0.009719474241137505,
-0.035943031311035156,
-0.026721758767962456,
-0.08304579555988312,
0.020272305235266685,
0.0235694982111454,
0.011159731075167656,
-0.014656205661594868,
-0.06344379484653473,
0.026359431445598602,
0.005733855534344912,
-0.09935059398412704,
0.05576242506504059,
0.01678488776087761,
0.038334403187036514,
0.11572786420583725,
-0.032011762261390686,
-0.03768220916390419,
-0.013596393167972565,
-0.03621477633714676,
0.03742858022451401,
-0.016621841117739677,
-0.021830318495631218,
0.01819797046482563,
-0.0815964788198471,
0.0036527286283671856,
0.03934892266988754,
-0.03992864862084389,
0.06213941425085068,
0.039566319435834885,
0.06757434457540512,
0.030200118198990822,
-0.030671145766973495,
-0.05485660210251808,
0.014004013501107693,
0.008057289756834507,
-0.04909557104110718,
-0.021739736199378967,
-0.027627581730484962,
0.007273753639310598,
0.008360740728676319,
0.0055436328984797,
-0.0021162275224924088,
0.03552635386586189,
0.0027944620233029127,
0.020381003618240356,
0.006263761781156063,
0.03916775807738304,
-0.025344910100102425,
-0.057718999683856964,
0.008333565667271614,
0.08790100365877151,
-0.04123303294181824,
-0.018913570791482925,
0.04666796699166298,
0.04710276424884796,
-0.03110593929886818,
0.07159619778394699,
0.009243916720151901,
0.04833468049764633,
0.027718164026737213,
0.02481953240931034,
0.0049367318861186504,
-0.04789988696575165,
0.025000697001814842,
0.05735667049884796,
0.005380584858357906,
-0.007577204145491123,
0.012482232414186,
-0.018986037001013756,
-0.060545165091753006,
-0.003476093290373683,
0.011123498901724815,
-0.04782741889357567,
0.03596114739775658,
-0.01960199512541294,
0.0676468163728714,
-0.01951141282916069,
0.02583405375480652,
-0.05681317672133446,
0.0029620390851050615,
-0.022554976865649223,
0.023841245099902153,
-0.021105660125613213,
0.021794086322188377,
-0.05438557267189026,
0.04963906481862068,
-0.007309986278414726,
-0.013940606266260147,
-0.08021962642669678,
-0.019257783889770508,
0.03010953590273857,
0.0001097601925721392,
-0.005733855534344912,
0.02224699780344963,
0.011558293364942074,
0.014130828902125359,
0.008935937657952309,
0.003168113762512803,
-0.0033538073766976595,
0.03224727511405945,
-0.03789960592985153,
-0.03753727674484253,
-0.007654198911041021,
0.01833384484052658,
0.024203574284911156,
0.027120321989059448,
0.010607180185616016,
0.01806209795176983,
0.061813317239284515,
-0.0275732334703207,
0.031776249408721924,
0.03469299525022507,
0.048588309437036514,
0.027989910915493965,
0.03728364780545235,
-0.035870566964149475,
-0.05996543914079666,
0.038298171013593674,
0.025145629420876503,
-0.01823420450091362,
0.014076479710638523,
-0.009080869145691395,
-0.043588172644376755,
-0.0013100455980747938,
0.06862509995698929,
-0.008646074682474136,
0.05829872563481331,
-0.04166783019900322,
-0.00654909573495388,
-0.02481953240931034,
0.0309428907930851,
0.049928929656744,
-0.02856963686645031,
-0.05311742424964905,
0.019275899976491928,
-0.000008739770237298217,
-0.012826444581151009,
0.031794365495443344,
0.025381142273545265,
-0.07420496642589569,
0.030163884162902832,
0.045073721557855606,
0.04847961291670799,
-0.06097996234893799,
-0.03248278796672821,
-0.0036617869045585394,
0.00911710225045681,
0.04337077587842941,
0.0043003917671740055,
0.00848755519837141,
0.00017734302673488855,
0.0010241454001516104,
0.021069427952170372,
-0.055255163460969925,
-0.03376905620098114,
-0.022681791335344315,
-0.005190362222492695,
0.08804593235254288,
0.05192173644900322,
-0.000780139525886625,
-0.004062613472342491,
0.0036142312455922365,
-0.021178126335144043,
0.002366460859775543,
0.008976699784398079,
0.038189470767974854,
0.0000864777248352766,
-0.005049959756433964,
0.05300872400403023,
-0.01960199512541294,
0.009311853908002377,
-0.04079823940992355,
0.01707475073635578,
0.009891579858958721,
0.017826583236455917,
-0.004687630571424961,
0.01704757660627365,
-0.0005183002213016152,
-0.023732544854283333,
0.018025865778326988,
-0.05373338237404823,
-0.006082597188651562,
-0.002072068629786372,
-0.017862817272543907,
0.005607040598988533,
-0.019112851470708847,
0.026558712124824524,
-0.05315365642309189,
0.02840658836066723,
-0.0011141614522784948,
-0.03416761755943298,
0.025743471458554268,
0.09050977230072021,
0.005366997327655554,
-0.02728336863219738,
0.04895063862204552,
-0.002703879727050662,
0.0054575796239078045,
0.026703642681241035,
0.006227528676390648,
-0.00836979877203703,
-0.03414950147271156,
0.025000697001814842,
-0.009121631272137165,
-0.03507344052195549,
0.009737590327858925,
-0.034457482397556305,
0.009964046068489552,
-0.057755231857299805,
-0.00620941212400794,
-0.07579921185970306,
0.00030996109126135707,
-0.007966707460582256,
-0.03469299525022507,
0.0031794365495443344,
0.0473201610147953,
-0.0417402945458889,
0.011368070729076862,
0.04550851508975029,
0.010960450395941734,
-0.02103319577872753,
0.003858803305774927,
-0.029620390385389328,
-0.04449399560689926,
0.03536330536007881,
0.03920399025082588,
0.02978343889117241,
-0.04456645995378494,
-0.06938599050045013,
-0.035725634545087814,
0.03920399025082588,
-0.01817985437810421,
0.004963906481862068,
0.00044045611866749823,
-0.015435213223099709,
0.07819058746099472,
0.026486245915293694,
0.015589202754199505,
-0.020562168210744858,
0.015054767951369286,
-0.06387859582901001,
-0.04576214402914047,
0.007042768876999617,
0.0573929063975811,
-0.03362412750720978,
-0.039856184273958206,
-0.005751972086727619,
0.02197525091469288,
0.039638787508010864,
0.03233785927295685,
-0.003643670352175832,
0.02605145052075386,
0.013143482618033886,
-0.05304495617747307,
0.019004153087735176,
0.04061707481741905,
-0.0004718768468592316,
-0.014203294180333614,
-0.018569357693195343,
-0.016368210315704346,
0.060436468571424484,
-0.003476093290373683,
-0.024402854964137077,
-0.05025502294301987,
0.03384152427315712,
0.044747624546289444,
0.10369854420423508,
-0.005937665700912476,
-0.03920399025082588,
-0.009927812963724136,
0.0012602253118529916,
-0.08630675077438354,
0.06724825501441956,
-0.007024652324616909,
0.09703169018030167,
0.022971654310822487,
0.0011628494830802083,
-0.000030536120902979746,
0.06268290430307388,
-0.031830597668886185,
0.07206722348928452,
-0.03143203631043434,
0.03639594092965126,
-0.014583740383386612,
-0.004664984997361898,
0.03141392022371292,
0.033098749816417694,
-0.027609465643763542,
-0.0157431922852993,
-0.008836297318339348,
0.02476518414914608,
0.05688564479351044,
0.00023494767083320767,
-0.051160845905542374,
0.010281084105372429,
0.02087014727294445,
0.015453329309821129,
-0.043334539979696274,
0.033243682235479355,
0.009909696877002716,
0.008655132725834846,
-0.002742377109825611,
-0.08137907832860947,
-0.027011623606085777,
-0.0516318753361702,
0.006585328374058008,
-0.0039018297102302313,
-0.0749296247959137,
0.010516597889363766,
0.039856184273958206,
0.04257364943623543,
-0.014565623365342617,
0.05891468748450279,
-0.03407703712582588,
-0.00197016354650259,
0.07869784533977509,
0.05025502294301987,
-0.008800064213573933,
0.026594944298267365,
-0.016023997217416763,
0.003399098291993141,
0.07898771017789841,
0.004606106784194708,
0.029602274298667908,
0.0023823129013180733,
-0.010715878568589687,
0.002930335234850645,
-0.011250313371419907,
-0.0180349238216877,
-0.044856324791908264,
-0.043696869164705276,
0.03253713995218277,
-0.029131246730685234,
-0.010262967087328434,
-0.05576242506504059,
0.05058111995458603,
-0.0644945502281189,
0.003577998373657465,
-0.006771021988242865,
-0.035689402371644974,
0.03420385345816612,
0.018895454704761505,
-0.021522339433431625,
-0.05032749101519585,
-0.0443490631878376,
0.0029892136808484793,
0.015145350247621536,
0.07137880474328995,
0.0015047973720356822,
0.046305637806653976,
0.024131108075380325,
-0.03657710552215576,
0.036957550793886185,
-0.019783159717917442,
-0.0005027314182370901,
0.05174057185649872,
-0.011331837624311447,
-0.013868140056729317,
-0.047682490199804306,
-0.072683185338974,
0.006186766549944878,
0.01291702687740326,
0.016304802149534225,
-0.022663675248622894,
0.0644945502281189,
-0.021812202408909798,
-0.07166866213083267,
0.013822848908603191,
0.0020437617786228657,
0.041015636175870895,
0.0015806599985808134,
0.018732406198978424,
0.04145042970776558,
-0.08471250534057617,
0.0063181109726428986,
0.029312411323189735,
-0.007246579043567181,
-0.02213829755783081,
0.08637922257184982,
0.07761085778474808,
-0.02197525091469288,
0.05829872563481331,
0.0016701099229976535,
0.002298524137586355,
0.04195769131183624,
0.0023302279878407717,
-0.0014379930216819048,
-0.050182558596134186,
-0.05558126047253609,
-0.04025474563241005,
0.02087014727294445,
-0.011422419920563698,
-0.018551241606473923,
0.025363026186823845,
0.05347975343465805,
0.0575740672647953,
-0.0019158142386004329,
-0.017554838210344315,
-0.02998271957039833,
0.004574402701109648,
0.022808607667684555,
0.0258159376680851,
-0.014511274173855782,
-0.010362607426941395,
-0.043443240225315094,
-0.02992837131023407,
-0.01575225032866001,
-0.04000111669301987,
0.00023084317217580974,
-0.02353326417505741,
-0.018949802964925766,
-0.029511692002415657,
0.036341592669487,
0.038515567779541016,
0.048769474029541016,
0.025308676064014435,
-0.010915159247815609,
-0.022917306050658226,
-0.04289974644780159,
-0.036975666880607605,
-0.029620390385389328,
-0.027011623606085777,
0.020000558346509933,
0.05876975506544113,
0.04674043506383896,
0.002243042690679431,
0.03248278796672821,
-0.00916692242026329,
-0.061958249658346176,
-0.06652359664440155,
-0.03204799443483353,
-0.056523315608501434,
0.02076144888997078,
0.04166783019900322,
-0.029221829026937485,
-0.00518583320081234,
-0.026431895792484283,
-0.002848811214789748,
0.0298196729272604,
-0.020091140642762184,
-0.04427659511566162,
0.01552579551935196,
0.04706652835011482,
-0.015109117142856121,
0.034403134137392044,
-0.01170322485268116,
0.004175840876996517,
0.008279216475784779,
-0.009366203099489212,
0.012826444581151009,
-0.0551464669406414,
-0.04601577669382095,
-0.017310265451669693,
-0.012101787142455578,
-0.0391315259039402,
-0.0023007888812571764,
-0.009592658840119839,
0.05764653533697128,
-0.05855235829949379,
-0.015362747013568878,
-0.0023981647100299597,
-0.02864210307598114,
-0.049856461584568024,
0.05485660210251808,
-0.01687547005712986,
-0.00105754763353616,
-0.04141419753432274,
0.03924022614955902,
0.04054461047053337,
-0.03847933188080788,
0.011286546476185322,
-0.03891412913799286,
-0.0035893211606889963,
-0.0005383981624618173,
0.019746927544474602,
-0.04297221079468727,
0.0419214591383934,
0.0023732546251267195,
-0.04250118508934975,
0.01668524742126465,
-0.02344268187880516,
0.03866049647331238,
-0.008329036645591259,
-0.03250090777873993,
0.03242843970656395,
-0.033442962914705276,
0.01569790206849575,
0.013333705253899097,
-0.056378383189439774,
0.05605228617787361,
0.0033470136113464832,
-0.03257337212562561,
-0.00047102762619033456,
0.04282728210091591,
0.025453608483076096,
-0.051450710743665695,
0.005000139586627483,
0.06148722022771835,
-0.014864545315504074,
-0.049204271286726,
0.04282728210091591,
0.02054405026137829,
0.017274033278226852,
-0.013659801334142685,
-0.029602274298667908,
0.07623401284217834,
0.008877059444785118,
0.017264973372220993,
-0.02090637944638729,
-0.04058084264397621,
0.025544190779328346,
0.01575225032866001,
0.024094874039292336,
0.010054628364741802,
-0.0019543117377907038,
-0.05166810750961304,
0.011241255328059196,
0.015344630926847458,
0.028931966051459312,
-0.03119652159512043,
0.008211279287934303,
0.014203294180333614,
0.020127372816205025,
-0.003745575435459614,
-0.0007093721069395542,
-0.00961983297020197,
0.021015077829360962,
0.04145042970776558,
0.004728392697870731,
-0.04822598397731781,
0.024330388754606247,
0.012156136333942413,
-0.018025865778326988,
-0.02864210307598114,
0.030725494027137756,
-0.05347975343465805,
-0.04395050182938576,
0.011993087828159332,
-0.038370635360479355,
0.04065330699086189,
-0.024203574284911156,
-0.0024253393057733774,
0.02215641550719738,
0.048552077263593674,
0.03145015239715576,
-0.025308676064014435,
-0.04909557104110718,
-0.04771872237324715,
-0.021395524963736534,
0.00785348005592823,
-0.03505532443523407,
-0.025036929175257683,
-0.002785403747111559,
0.04384180158376694,
0.039747484028339386,
-0.09456785768270493,
0.0067619639448821545,
0.03105159103870392,
-0.018841104581952095,
0.027120321989059448,
0.028243541717529297,
0.004678572528064251,
-0.04539981484413147,
-0.005942194722592831,
0.004110169131308794,
-0.033189330250024796,
0.008007469587028027,
0.00355761731043458,
-0.029221829026937485,
-0.022881072014570236,
0.02724713645875454,
0.009402436204254627,
-0.0039720311760902405,
0.003938062582165003,
-0.06902366131544113,
0.030580563470721245,
-0.0025340381544083357,
-0.03270018845796585,
0.05630591884255409,
0.014665263704955578,
-0.06652359664440155,
-0.06319016963243484,
-0.013677917420864105,
0.00742321414873004,
0.008786477148532867,
-0.038261935114860535,
0.013071016408503056,
-0.0286058709025383,
-0.010235792957246304,
0.029475459828972816,
0.025725355371832848,
-0.011041974648833275,
0.003992412239313126,
0.01048036478459835,
-0.00171426881570369,
-0.0050046686083078384,
-0.014013071544468403,
-0.029674740508198738,
0.016368210315704346,
-0.11210457235574722,
-0.01706569269299507,
-0.05887845158576965,
0.08210373669862747,
-0.019819393754005432,
-0.00015073450049385428,
-0.10804649442434311,
-0.037174951285123825,
0.046160709112882614,
-0.012500348500907421,
-0.04681289941072464,
0.011540177278220654,
0.016386326402425766,
0.02467460185289383,
-0.021160010248422623,
-0.029167480766773224,
0.0516318753361702,
-0.017826583236455917,
0.027555115520954132,
-0.04670419916510582,
0.03514590859413147,
0.052755095064640045,
0.01692076213657856,
-0.029004432260990143,
0.013859082013368607,
0.03280888497829437,
-0.025435492396354675,
-0.00012164911458967254,
-0.011359012685716152,
0.008668719790875912,
-0.009293737821280956,
-0.007531912997364998,
-0.02849717065691948,
-0.04384180158376694,
-0.0017176656983792782,
-0.005190362222492695,
0.026558712124824524,
0.05326235294342041,
-0.04982022941112518,
-0.01302572526037693,
-0.005471167154610157,
0.021286824718117714,
0.02592463605105877,
0.04840714856982231,
-0.030671145766973495,
-0.02726525254547596,
-0.008877059444785118,
-0.03672203794121742,
-0.014004013501107693,
-0.011386186815798283,
-0.012047437019646168,
0.007708548102527857,
-0.0149098364636302,
0.009502076543867588,
0.007291870191693306,
-0.04326207563281059,
-0.012273892760276794,
0.04304467886686325,
0.016051171347498894,
0.04565344750881195,
0.020236071199178696,
-0.040906935930252075,
-0.017237799242138863,
0.011531118303537369,
-0.021250592544674873,
0.042356252670288086,
0.00654909573495388,
0.031866829842329025,
-0.07083530724048615,
-0.05362468212842941,
0.020272305235266685,
0.03945762291550636,
-0.08101674914360046,
0.0070382398553192616,
-0.03233785927295685,
-0.05329858884215355,
0.030218234285712242,
-0.0445302277803421,
0.027700047940015793,
-0.01967446133494377,
-0.013297472149133682,
-0.012083670124411583,
-0.03603361174464226,
0.002146798884496093,
0.10594498366117477,
0.08072689175605774,
-0.08333566039800644,
0.021341174840927124,
-0.00782177597284317,
0.014121770858764648,
0.025435492396354675,
-0.008931408636271954,
-0.025761587545275688,
-0.0022532332222908735,
0.07242955267429352,
0.025290559977293015,
0.011331837624311447,
-0.01707475073635578,
0.013351821340620518,
0.015181582421064377,
-0.050182558596134186,
-0.044856324791908264,
-0.04782741889357567,
-0.007328102830797434,
0.06514674425125122,
-0.01242788229137659,
-0.01567072607576847,
-0.02992837131023407,
0.030580563470721245,
-0.000007673836989852134,
-0.013768499717116356,
0.04576214402914047,
0.048660777509212494,
-0.019058503210544586,
-0.02212018147110939,
-0.027917444705963135,
-0.04159536212682724,
0.00715599674731493,
0.04304467886686325,
-0.004162253811955452,
0.037138715386390686,
0.029095014557242393,
0.010688703507184982,
0.07210346311330795,
0.026939157396554947,
-0.042356252670288086,
0.0012217279290780425,
0.06482064723968506,
-0.055255163460969925,
0.051305778324604034,
-0.05420440807938576,
0.008424147963523865,
-0.08145154267549515,
-0.0644945502281189,
-0.04054461047053337,
0.04076200723648071,
0.07072661072015762,
0.007491150870919228,
0.05688564479351044,
-0.047428857535123825,
0.050073858350515366
] |
18,330 | plotly_football_pitch.pitch_dimensions | __eq__ | null | """Configuration for the dimensions/orientation of a football pitch to plot."""
from dataclasses import dataclass
from enum import Enum
from typing import List, Optional, Tuple
@dataclass
class PitchDimensions:
"""Dimensions for a football pitch plot.
All units are in metres. Length refers to the longer pitch dimension, which
for a horizontal pitch will be the plot's x-axis. Width refers to the
shorter pitch dimension, which for a horizontal pitch will be the plot's
y-axis. The axes will be reversed for a vertical pitch.
The origin is the bottom left hand corner of the pitch.
"""
pitch_width_metres: int = 68
pitch_length_metres: int = 105
@property
def pitch_mid_length_metres(self):
"""Distance of the centre line in metres from goal lines."""
return self.pitch_length_metres / 2
@property
def pitch_mid_width_metres(self):
"""Distance in metres from side lines to the centre spot."""
return self.pitch_width_metres / 2
@property
def penalty_box_length_metres(self):
"""Penalty box length in metres (18 yards in metres)."""
return 18 / 1.09361
@property
def penalty_box_width_metres(self):
"""Width of the penalty box in metres."""
return self.pitch_width_metres * 0.6
@property
def penalty_box_width_max_metres(self):
"""Metres from the bottom touchline to top of penalty box."""
outside_box_metres = self.pitch_width_metres - self.penalty_box_width_metres
return self.pitch_width_metres - outside_box_metres / 2
@property
def penalty_box_width_min_metres(self):
"""Metres from the bottom touchline to bottom of penalty box."""
outside_box_metres = self.pitch_width_metres - self.penalty_box_width_metres
return outside_box_metres / 2
@property
def six_yard_box_length_metres(self):
"""Six yard box length in metres (6 yards in metres)."""
return self.penalty_box_length_metres / 3
@property
def six_yard_box_width_metres(self):
"""Width of the six yard box in metres."""
return self.pitch_width_metres * 0.3
@property
def six_yard_box_width_max_metres(self):
"""Metres from the bottom touchline to top of six yard box."""
outside_box_metres = self.pitch_width_metres - self.six_yard_box_width_metres
return self.pitch_width_metres - outside_box_metres / 2
@property
def six_yard_box_width_min_metres(self):
"""Metres from the bottom touchline to bottom of six yard box."""
outside_box_metres = self.pitch_width_metres - self.six_yard_box_width_metres
return outside_box_metres / 2
@property
def penalty_spot_length_metres(self):
"""Penalty spot distance from goal line (12 yards in metres)."""
return 2 * self.penalty_box_length_metres / 3
@property
def centre_circle_radius_metres(self):
"""Radius of the centre circle in metres."""
return self.pitch_length_metres / 10
| (self, other) | [
0.031589116901159286,
-0.05807328596711159,
-0.048515088856220245,
-0.022121431306004524,
0.012554184533655643,
0.004349160473793745,
-0.03758108988404274,
-0.019804293289780617,
-0.04970986396074295,
0.055176861584186554,
0.01476270705461502,
0.014183422550559044,
0.02827633172273636,
0.05180976912379265,
-0.02034737356007099,
0.010083173401653767,
0.0754518210887909,
0.004374051466584206,
0.013866625726222992,
-0.030502956360578537,
0.04496696963906288,
-0.020980965346097946,
-0.012101617641746998,
0.034594155848026276,
-0.042432598769664764,
0.01631048321723938,
0.006851851008832455,
0.01661822758615017,
-0.051266688853502274,
-0.019170701503753662,
-0.07074513286352158,
0.02731689065694809,
0.01041807234287262,
0.0210533756762743,
-0.021723173558712006,
-0.048732321709394455,
0.02805909886956215,
0.007508072070777416,
-0.09905767440795898,
0.05702333152294159,
0.02384118363261223,
0.02957972139120102,
0.10825381428003311,
-0.02923577092587948,
-0.04663241282105446,
-0.00787465088069439,
-0.04735651984810829,
0.03515533730387688,
-0.022429177537560463,
-0.011395614594221115,
0.023642053827643394,
-0.08725474774837494,
-0.005444370210170746,
0.04250501096248627,
-0.02617642469704151,
0.05235284939408302,
0.025035956874489784,
0.048551294952631,
0.03978961333632469,
-0.03848622366786003,
-0.05300454422831535,
0.01621996983885765,
-0.0059150392189621925,
-0.05083222687244415,
-0.011993002146482468,
-0.042034342885017395,
0.003962216433137655,
-0.0049691759049892426,
-0.0016620490932837129,
-0.0014187947381287813,
0.03169773146510124,
0.01350457314401865,
0.022519690915942192,
0.010137480683624744,
0.04380840063095093,
-0.029869364574551582,
-0.04558245837688446,
0.012499876320362091,
0.06466265022754669,
-0.025868680328130722,
-0.02130681276321411,
0.04304809123277664,
0.044170454144477844,
-0.0167087409645319,
0.06589362770318985,
0.024999752640724182,
0.05792846158146858,
0.030249519273638725,
0.009277605451643467,
0.00018074359104502946,
-0.03953617811203003,
-0.0030276672914624214,
0.05275110527873039,
0.011169332079589367,
-0.001871360931545496,
0.005150202661752701,
-0.022519690915942192,
-0.0389568917453289,
-0.011920591816306114,
-0.004387628752738237,
-0.05311315879225731,
0.010427123866975307,
-0.004878662992268801,
0.06024560332298279,
-0.02666519582271576,
0.01891726441681385,
-0.057131946086883545,
0.016174713149666786,
-0.03989822790026665,
0.004530186764895916,
-0.016609176993370056,
0.0253618061542511,
-0.036947496235370636,
0.05206320807337761,
0.008512768894433975,
0.004991804249584675,
-0.07820342481136322,
-0.023171385750174522,
0.01829272322356701,
0.009245925582945347,
-0.008544448763132095,
0.029652131721377373,
0.020890451967716217,
0.012309798039495945,
0.01615661010146141,
0.00517735630273819,
0.002409914508461952,
0.029742645099759102,
-0.03562600538134575,
-0.014011447317898273,
-0.005648025311529636,
0.04196193069219589,
0.013884728774428368,
0.009748274460434914,
0.014979938976466656,
0.015188119374215603,
0.06991241127252579,
-0.03501051664352417,
0.015885069966316223,
0.026085911318659782,
0.055213067680597305,
0.0243118517100811,
0.043518759310245514,
-0.030122801661491394,
-0.04188951849937439,
0.05535788834095001,
0.029163360595703125,
-0.016428150236606598,
0.018319876864552498,
-0.0051275743171572685,
-0.04022407531738281,
-0.0005402507958933711,
0.048913344740867615,
-0.00333314947783947,
0.05876118689775467,
-0.05510444939136505,
-0.013061057776212692,
-0.01569499261677265,
0.019062085077166557,
0.04196193069219589,
-0.02366015687584877,
-0.06064385920763016,
0.003527752822265029,
0.010074121877551079,
-0.02827633172273636,
0.02626693807542324,
0.016147559508681297,
-0.07733450084924698,
0.0496736578643322,
0.037689708173274994,
0.06049903854727745,
-0.05807328596711159,
-0.015278631821274757,
-0.003072923980653286,
0.006512426305562258,
0.03714662790298462,
-0.006616516504436731,
-0.003158911596983671,
0.020582707598805428,
-0.007824867963790894,
0.025108369067311287,
-0.04406183585524559,
-0.03819658234715462,
-0.016699690371751785,
-0.010888740420341492,
0.10347472131252289,
0.04837026819586754,
-0.003398771630600095,
-0.008793359622359276,
0.006661773193627596,
-0.040079254657030106,
0.002923577092587948,
0.01965947262942791,
0.0318787582218647,
-0.0027018196415156126,
-0.014111011289060116,
0.05148392170667648,
-0.007241057697683573,
-0.01232790108770132,
-0.04970986396074295,
0.03215029835700989,
0.009105630218982697,
0.024854931980371475,
-0.004869611468166113,
0.0041070375591516495,
-0.00020535188377834857,
-0.01307010930031538,
0.00738135352730751,
-0.04185331612825394,
-0.012825723737478256,
0.01350457314401865,
-0.01987670361995697,
0.0032946814317256212,
-0.014934682287275791,
0.015468710102140903,
-0.041998136788606644,
0.020890451967716217,
-0.006331400014460087,
-0.037508681416511536,
0.01822936348617077,
0.09884043782949448,
0.00706908293068409,
-0.015885069966316223,
0.07215714454650879,
-0.00269050570204854,
0.0005608991486951709,
0.029253873974084854,
-0.006634619552642107,
-0.01870003156363964,
-0.016726844012737274,
0.02635745145380497,
-0.010780124925076962,
-0.028692692518234253,
0.0033082582522183657,
-0.030285725370049477,
0.0243118517100811,
-0.05593717098236084,
-0.02083614468574524,
-0.08501002192497253,
0.023804977536201477,
-0.008440358564257622,
-0.04598071798682213,
0.0025751013308763504,
0.04076715558767319,
-0.04254121705889702,
0.018772441893815994,
0.051085662096738815,
0.013957139104604721,
-0.013839472085237503,
-0.008223126642405987,
-0.03797934949398041,
-0.04623415321111679,
0.03408728167414665,
0.03225891292095184,
0.016862614080309868,
-0.05792846158146858,
-0.07849306613206863,
-0.04442388936877251,
0.044206660240888596,
-0.029308181256055832,
-0.011395614594221115,
-0.012146874330937862,
-0.029036642983555794,
0.07661039382219315,
0.035082925111055374,
0.012753313407301903,
-0.019297419115900993,
0.010372815653681755,
-0.04641517996788025,
-0.06075247749686241,
0.009395272471010685,
0.0551406554877758,
-0.0339786633849144,
-0.04036889970302582,
-0.002077278448268771,
0.0318063460290432,
0.05658886954188347,
0.025995397940278053,
0.02061891183257103,
0.024076517671346664,
0.02239297144114971,
-0.061005912721157074,
0.01913449540734291,
0.03805175796151161,
-0.0017684021731838584,
0.0022334137465804815,
-0.027027249336242676,
-0.029851261526346207,
0.07921717315912247,
0.008843141607940197,
-0.014979938976466656,
-0.061874840408563614,
0.022954152897000313,
0.06379371881484985,
0.10057829320430756,
0.006421913392841816,
-0.02422133833169937,
-0.022863639518618584,
0.013015802018344402,
-0.10304025560617447,
0.06440921127796173,
-0.005068740341812372,
0.12128771841526031,
0.021976610645651817,
-0.006874479353427887,
-0.0232256930321455,
0.062345508486032486,
-0.042686037719249725,
0.06379371881484985,
-0.026954839006066322,
0.04518420249223709,
-0.02118009515106678,
0.006444541737437248,
0.022121431306004524,
0.050904639065265656,
-0.04058612883090973,
-0.025941090658307076,
-0.009015116840600967,
0.023280000314116478,
0.049565043300390244,
-0.010852535255253315,
-0.04681343957781792,
0.015197169966995716,
0.011929643340408802,
-0.00011625292245298624,
-0.03358040750026703,
0.04188951849937439,
-0.003871703054755926,
0.026538478210568428,
-0.007643841672688723,
-0.09905767440795898,
-0.030611572787165642,
-0.04989089071750641,
0.013640343211591244,
0.008580653928220272,
-0.07813101261854172,
-0.0006483009783551097,
0.035825133323669434,
0.04818924143910408,
-0.0005691018886864185,
0.042867064476013184,
-0.030647777020931244,
0.011522333137691021,
0.09022358059883118,
0.061476580798625946,
-0.0018261042423546314,
0.013459316454827785,
0.0052497670985758305,
-0.0029778850730508566,
0.08667546510696411,
0.016763048246502876,
0.0216145571321249,
-0.008589704521000385,
-0.009123733267188072,
0.009087528102099895,
-0.037508681416511536,
-0.011649051681160927,
-0.032204605638980865,
-0.04471353441476822,
0.046089332550764084,
-0.016980281099677086,
-0.01313346903771162,
-0.058616362512111664,
0.061005912721157074,
-0.04688585177063942,
0.003928273916244507,
-0.0008214075351133943,
-0.03667595982551575,
0.03578892722725868,
0.033254560083150864,
-0.02152404561638832,
-0.04963745176792145,
-0.034775178879499435,
0.01041807234287262,
0.016382893547415733,
0.07820342481136322,
0.025850577279925346,
0.046089332550764084,
0.015767402946949005,
-0.043337732553482056,
0.032168399542570114,
-0.028674589470028877,
0.014373499900102615,
0.05745779350399971,
-0.018528057262301445,
-0.0029891992453485727,
-0.05209941044449806,
-0.06462644040584564,
-0.009395272471010685,
0.0065260035917162895,
0.017994029447436333,
-0.021252505481243134,
0.06723321974277496,
-0.026194527745246887,
-0.06560398638248444,
0.040730949491262436,
-0.013115365989506245,
0.04236019030213356,
0.01496183592826128,
0.028330639004707336,
0.034503642469644547,
-0.08710992336273193,
0.01615661010146141,
0.024854931980371475,
0.0017570880008861423,
-0.018935365602374077,
0.09094768762588501,
0.05901462212204933,
-0.034865692257881165,
0.043518759310245514,
0.014147217385470867,
0.009666812606155872,
0.04188951849937439,
0.011649051681160927,
0.009304759092628956,
-0.029471104964613914,
-0.052208028733730316,
-0.026393655687570572,
0.030937420204281807,
-0.00629519484937191,
-0.011314152739942074,
0.011250793933868408,
0.05329418554902077,
0.05658886954188347,
-0.0025569985155016184,
0.007815816439688206,
-0.029290080070495605,
0.022899845615029335,
0.01565878838300705,
0.03258476033806801,
-0.0029100000392645597,
-0.02034737356007099,
-0.05010811984539032,
-0.02995987795293331,
-0.009748274460434914,
-0.03312784060835838,
0.008748102933168411,
-0.0065260035917162895,
-0.02635745145380497,
-0.023913593962788582,
0.024637699127197266,
0.042903266847133636,
0.05119428038597107,
0.04047751426696777,
-0.006258989218622446,
-0.01702553778886795,
-0.04616174474358559,
-0.02452908456325531,
-0.016075149178504944,
-0.01848280057311058,
0.019804293289780617,
0.050216738134622574,
0.04670482501387596,
0.012364106252789497,
0.034032970666885376,
-0.018473748117685318,
-0.06654532253742218,
-0.06672634929418564,
-0.026846222579479218,
-0.0702020600438118,
0.029688337817788124,
0.03830519691109657,
-0.031987372785806656,
-0.01043617445975542,
-0.015857916325330734,
-0.0031091291457414627,
0.02344292588531971,
-0.026122115552425385,
-0.044170454144477844,
0.015341991558670998,
0.04496696963906288,
0.006548631936311722,
0.05036155879497528,
0.0011664892081171274,
-0.015803609043359756,
0.012092567048966885,
0.01758671924471855,
0.01398429274559021,
-0.05959390848875046,
-0.045510049909353256,
0.008883873000741005,
-0.006697978358715773,
-0.03633200749754906,
-0.014210576191544533,
-0.008734526112675667,
0.041780903935432434,
-0.05807328596711159,
-0.0006234098109416664,
-0.012128772214055061,
-0.02604970522224903,
-0.05423552542924881,
0.046777233481407166,
-0.025108369067311287,
-0.021035272628068924,
-0.016889767721295357,
0.02719017304480076,
0.05007191374897957,
-0.03772591054439545,
0.030502956360578537,
-0.034539844840765,
0.012689953669905663,
-0.003059346927329898,
0.02040168084204197,
-0.06321443617343903,
0.034123484045267105,
-0.00789275299757719,
-0.02313517965376377,
0.01689881831407547,
-0.03256665915250778,
0.05445275455713272,
-0.013622240163385868,
-0.01624712347984314,
0.036694061011075974,
-0.04833406209945679,
0.020673220977187157,
0.029778851196169853,
-0.041201621294021606,
0.04670482501387596,
-0.011449922807514668,
-0.03578892722725868,
-0.007290840148925781,
0.05358382686972618,
0.043989427387714386,
-0.026122115552425385,
0.004512084182351828,
0.05228043720126152,
-0.008422255516052246,
-0.05919564887881279,
0.034431230276823044,
0.018120747059583664,
0.009929300285875797,
-0.019206905737519264,
-0.032204605638980865,
0.07805860787630081,
0.0034915476571768522,
0.0035820608027279377,
-0.022990358993411064,
-0.020510297268629074,
0.025416113436222076,
0.005285972263664007,
0.012689953669905663,
0.002266224939376116,
-0.01415626797825098,
-0.07899994403123856,
0.005729487165808678,
0.0046388027258217335,
0.02005773037672043,
-0.018030233681201935,
0.012508927844464779,
0.019949113950133324,
0.009929300285875797,
-0.003140808781608939,
0.0023669207002967596,
-0.0069830953143537045,
0.0018249729182571173,
0.02139732614159584,
0.010834433138370514,
-0.03613287955522537,
0.013939036056399345,
0.004269961267709732,
-0.03289250656962395,
-0.022646408528089523,
0.017043640837073326,
-0.06252653151750565,
-0.018681930378079414,
-0.005082317627966404,
-0.04844267666339874,
0.03531825914978981,
-0.033815741539001465,
-0.0027832817286252975,
0.0248368289321661,
0.037906937301158905,
0.018681930378079414,
-0.04905816912651062,
-0.03627770021557808,
-0.060824885964393616,
-0.015767402946949005,
0.005955770146101713,
-0.01900777779519558,
-0.032602861523628235,
-0.011151229031383991,
0.048515088856220245,
0.042251572012901306,
-0.09572678804397583,
0.024456672370433807,
0.04058612883090973,
-0.014101960696280003,
0.024565288797020912,
0.04413424804806709,
0.003982581663876772,
-0.043989427387714386,
0.0013226245064288378,
0.01956895925104618,
-0.04254121705889702,
0.010300405323505402,
0.015523018315434456,
-0.032114092260599136,
-0.02679191343486309,
0.03624149411916733,
0.008567077107727528,
-0.0037133051082491875,
0.01469934731721878,
-0.06650912016630173,
0.019677575677633286,
0.01621996983885765,
-0.03928273916244507,
0.05318557098507881,
0.021198196336627007,
-0.0615127868950367,
-0.05763882026076317,
-0.01693502441048622,
0.016582023352384567,
0.015034246258437634,
-0.03470277041196823,
0.023642053827643394,
-0.03432261571288109,
0.0008525214507244527,
0.030285725370049477,
0.021125786006450653,
-0.008585179224610329,
-0.007942534983158112,
0.017903516069054604,
0.003079712390899658,
0.00023844577663112432,
-0.01909829117357731,
-0.03066588006913662,
0.0027153966948390007,
-0.09449580311775208,
-0.013758010230958462,
-0.06379371881484985,
0.08059297502040863,
-0.022682614624500275,
-0.007698149885982275,
-0.10267820209264755,
-0.045510049909353256,
0.036078572273254395,
-0.00941337551921606,
-0.05684230476617813,
0.024384262040257454,
0.011404666118323803,
0.013939036056399345,
-0.010119378566741943,
-0.0005592019879259169,
0.05246146395802498,
-0.0033059956040233374,
0.0313175767660141,
-0.048913344740867615,
0.03640441969037056,
0.04065854102373123,
0.012128772214055061,
-0.02514457330107689,
-0.010010762140154839,
0.03345368802547455,
-0.01708889752626419,
0.003996158950030804,
-0.005009906832128763,
0.023804977536201477,
0.0005951244384050369,
-0.0000715620190021582,
-0.03358040750026703,
-0.04478594288229942,
-0.0054262676276266575,
-0.010508585721254349,
0.039210326969623566,
0.034539844840765,
-0.04837026819586754,
-0.021216299384832382,
-0.006888056173920631,
0.025452319532632828,
0.018736237660050392,
0.039644792675971985,
-0.03736386075615883,
-0.023117076605558395,
-0.013558881357312202,
-0.039029303938150406,
-0.0011551750358194113,
-0.031027933582663536,
-0.01213782373815775,
0.009110156446695328,
-0.02297225594520569,
0.003593374975025654,
-0.005371959879994392,
-0.03624149411916733,
-0.014382551424205303,
0.03160721808671951,
0.020455988124012947,
0.053076956421136856,
0.008485614322125912,
-0.02892802655696869,
-0.03457605093717575,
0.025723857805132866,
-0.010734868235886097,
0.03841381147503853,
-0.008843141607940197,
0.02805909886956215,
-0.08884777873754501,
-0.055213067680597305,
0.030557263642549515,
0.03057536669075489,
-0.07291745394468307,
-0.003541329875588417,
-0.036947496235370636,
-0.047863394021987915,
0.027334993705153465,
-0.03687508776783943,
0.0389568917453289,
-0.013920933939516544,
-0.010237045586109161,
-0.01478986069560051,
-0.03978961333632469,
-0.0016824145568534732,
0.10434364527463913,
0.06759527325630188,
-0.09087527543306351,
-0.010906843468546867,
-0.021125786006450653,
-0.00008287616947200149,
0.023678259924054146,
-0.025216983631253242,
-0.02722637727856636,
-0.0017865047557279468,
0.07914476096630096,
0.016953127458691597,
0.015523018315434456,
-0.010798227973282337,
0.0069197360426187515,
0.027932381257414818,
-0.03345368802547455,
-0.035245850682258606,
-0.044604916125535965,
0.006286143325269222,
0.053728651255369186,
-0.026828119531273842,
-0.0029665709007531404,
-0.023714464157819748,
0.03406917676329613,
-0.004360474646091461,
-0.007046454586088657,
0.04923919215798378,
0.052823517471551895,
-0.014880374073982239,
-0.009576299227774143,
-0.029688337817788124,
-0.03379763662815094,
0.004833406303077936,
0.04279465228319168,
-0.008055676706135273,
0.01689881831407547,
0.03866725042462349,
0.012916237115859985,
0.05246146395802498,
0.01978619024157524,
-0.04927539825439453,
0.0064897979609668255,
0.04949263110756874,
-0.05354762449860573,
0.055864762514829636,
-0.055213067680597305,
-0.007005723658949137,
-0.08153431117534637,
-0.07280883938074112,
-0.02632124535739422,
0.05101325362920761,
0.05144771561026573,
-0.0035752723924815655,
0.03953617811203003,
-0.05300454422831535,
0.03274768590927124
] |
18,333 | plotly_football_pitch.pitch_dimensions | PitchOrientation | Orientation of a pitch.
Horizontal means that the plot's x-axis will represent the longer dimension
of the pitch, and the plot's y-axis will represent the shorter dimension of
the pitch. The axes are reversed for a vertically oriented pitch.
| class PitchOrientation(Enum):
"""Orientation of a pitch.
Horizontal means that the plot's x-axis will represent the longer dimension
of the pitch, and the plot's y-axis will represent the shorter dimension of
the pitch. The axes are reversed for a vertically oriented pitch.
"""
HORIZONTAL = 0
VERTICAL = 1
def switch_axes_if_required(
self,
coordinate_data: dict,
keys_to_switch: Optional[List[Tuple[str, str]]] = None,
) -> dict:
"""Switch axes of data for vertically oriented pitches.
Args:
coordinate_data (dict): Data to show on the plot. Keys will refer
to plot axes e.g. 'x', 'y', 'x0' or 'y1'.
keys_to_switch (Optional[list[tuple[str, str]]]): Pairs for keys in
`coordinate_data` to swap for a vertically oriented pitch.
Defaults to [('x', 'y')], which will work for plotting lines
and scatter points. Only keys present in some tuple will be
included in the output, therefore no additional key-value pairs
should be included in `coordinate_data`.
Returns:
dict: Dictionary with coordinate data whose axes have been switched
for a vertically oriented pitch.
"""
if keys_to_switch is None:
keys_to_switch = [("x", "y")]
if self == PitchOrientation.HORIZONTAL:
return coordinate_data
else:
switched_coordinate_data = {}
for key_1, key_2 in keys_to_switch:
switched_coordinate_data[key_1] = coordinate_data[key_2]
switched_coordinate_data[key_2] = coordinate_data[key_1]
return switched_coordinate_data
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.023148296400904655,
-0.06767839938402176,
-0.039598673582077026,
-0.016634387895464897,
-0.013819053769111633,
-0.027674909681081772,
-0.03385760262608528,
0.03358158841729164,
-0.02493317984044552,
0.03437282517552376,
0.024693969637155533,
-0.004084993153810501,
0.047400642186403275,
0.06911367177963257,
-0.01983613893389702,
-0.018860893324017525,
0.031980711966753006,
0.02209944650530815,
0.004331104923039675,
-0.03201751410961151,
0.050933610647916794,
-0.02765650860965252,
0.020903389900922775,
0.008551804348826408,
-0.023405907675623894,
0.03244073688983917,
-0.04173317551612854,
-0.006136690266430378,
-0.0353480726480484,
-0.047952670603990555,
-0.0713953822851181,
-0.017793642356991768,
0.022265054285526276,
0.017582032829523087,
-0.0076087601482868195,
-0.011942164972424507,
-0.025098787620663643,
0.059508416801691055,
-0.019817737862467766,
0.04695902392268181,
0.029754208400845528,
-0.03689374774694443,
0.05122802406549454,
-0.02820853516459465,
-0.02942299284040928,
0.044898126274347305,
-0.055828243494033813,
0.009393644519150257,
0.026055634021759033,
-0.04250601306557655,
0.04206439107656479,
-0.11239252239465714,
0.01189616322517395,
0.03325037285685539,
0.003827381180599332,
0.02732529304921627,
0.03560568392276764,
0.03244073688983917,
0.018612481653690338,
0.013294628821313381,
-0.032808754593133926,
-0.0062286946922540665,
-0.056233059614896774,
-0.01665278896689415,
0.012742603197693825,
-0.07647401839494705,
0.03133668377995491,
-0.04158596694469452,
-0.0333055779337883,
0.022449063137173653,
0.006665715482085943,
0.007498354651033878,
0.007880172692239285,
-0.03652573004364967,
0.00678072078153491,
0.0066749160178005695,
-0.06156931445002556,
0.0638878270983696,
0.018787289038300514,
0.007277544587850571,
-0.01883329078555107,
0.031778305768966675,
0.008984224870800972,
0.04390447959303856,
-0.00367097370326519,
-0.0010149229783564806,
0.06204773485660553,
-0.0014973708894103765,
0.007277544587850571,
0.017278417944908142,
-0.0530313104391098,
-0.060722872614860535,
0.01450908649712801,
-0.024859577417373657,
0.01457348931580782,
-0.008542604744434357,
-0.028778962790966034,
-0.03705935552716255,
-0.02222825214266777,
-0.04721663519740105,
-0.037335366010665894,
0.025466805323958397,
-0.04269002005457878,
0.013027817010879517,
-0.023700321093201637,
-0.04224839806556702,
-0.03652573004364967,
0.03199911490082741,
-0.07043853402137756,
-0.04309483990073204,
-0.03131828084588051,
0.025264395400881767,
-0.02535640075802803,
0.035237666219472885,
-0.003760677995160222,
0.0046209185384213924,
-0.026000430807471275,
-0.01290821097791195,
-0.013138221576809883,
-0.006063086912035942,
-0.0645502582192421,
0.07419230788946152,
0.023608317598700523,
0.02121620438992977,
0.003013142617419362,
0.015107114799320698,
0.05041838437318802,
0.008073382079601288,
-0.06403502821922302,
0.0346488393843174,
-0.027104482054710388,
-0.0024841176345944405,
-0.03643372282385826,
-0.0003464538895059377,
0.029662203043699265,
0.04986635968089104,
0.03365519270300865,
0.00728674465790391,
-0.02846614643931389,
0.06042845919728279,
0.028171733021736145,
0.03199911490082741,
0.0340048111975193,
0.053178515285253525,
0.0011575297685340047,
0.061127692461013794,
0.05200086161494255,
0.01576034538447857,
0.02738049626350403,
0.021381812170147896,
-0.0027601306792348623,
0.04051871597766876,
0.02563241310417652,
0.013248627074062824,
0.03779538720846176,
-0.06609592586755753,
-0.028355741873383522,
0.007824970409274101,
-0.028429346159100533,
0.0767684355378151,
-0.00453811464831233,
-0.03185190632939339,
0.009752461686730385,
-0.008169986307621002,
-0.0007883622893132269,
0.006431104149669409,
0.000360829581040889,
-0.06042845919728279,
0.07227861881256104,
-0.048357490450143814,
0.043131642043590546,
-0.026018831878900528,
-0.0003185650857631117,
-0.017913248389959335,
0.020921790972352028,
0.03203591704368591,
-0.03227512910962105,
-0.008607007563114166,
0.04596537724137306,
-0.03461203724145889,
0.03236713260412216,
-0.013635044917464256,
-0.09524291008710861,
0.015622339211404324,
0.012126173824071884,
0.03610250726342201,
0.05409856140613556,
-0.01684599742293358,
0.008501202799379826,
0.010424093343317509,
-0.031502291560173035,
0.010884115472435951,
0.017922447994351387,
0.022191449999809265,
0.006283897440880537,
-0.02311149425804615,
-0.03181510418653488,
-0.03691214695572853,
0.000426095153670758,
0.017839644104242325,
0.029662203043699265,
0.021253006532788277,
0.025466805323958397,
0.04460371285676956,
-0.026055634021759033,
0.03683854267001152,
0.05866197496652603,
-0.04051871597766876,
0.003972288221120834,
-0.010046875104308128,
0.03643372282385826,
-0.05354653298854828,
-0.0032454535830765963,
-0.04408848658204079,
-0.0058928788639605045,
-0.003827381180599332,
-0.002298958832398057,
0.026350047439336777,
-0.016413576900959015,
0.02038816548883915,
0.051412034779787064,
0.038494620472192764,
-0.01700240559875965,
0.04541334882378578,
0.07485473901033401,
-0.012788604944944382,
0.029386190697550774,
-0.062158141285181046,
-0.06646394729614258,
0.016431977972388268,
0.019320914521813393,
-0.0434996597468853,
-0.02773011289536953,
-0.04471411556005478,
0.0035835695452988148,
0.034354425966739655,
-0.03050864301621914,
-0.06090688332915306,
-0.08780895918607712,
0.05247928202152252,
0.010488496161997318,
0.005258048884570599,
0.013294628821313381,
0.03582649677991867,
-0.033139970153570175,
-0.017048407346010208,
0.05431937053799629,
0.03315836936235428,
-0.06576471030712128,
-0.00877261534333229,
-0.006260896101593971,
-0.02962540276348591,
0.014904705807566643,
0.003574369242414832,
0.016339972615242004,
-0.04316844418644905,
-0.08066941797733307,
-0.03098706714808941,
0.04261641576886177,
-0.0414755642414093,
-0.02474917098879814,
0.020369764417409897,
-0.05722671002149582,
0.015741944313049316,
0.058625172823667526,
-0.05082320421934128,
0.003300656098872423,
0.04379407316446304,
0.02392113208770752,
-0.0029786410741508007,
0.007507555186748505,
0.014361879788339138,
-0.08140545338392258,
0.009044027887284756,
0.052111268043518066,
0.03643372282385826,
0.10179361701011658,
-0.025853224098682404,
0.04567096009850502,
0.017784440889954567,
0.03113427385687828,
-0.018879294395446777,
-0.04445650428533554,
0.05829395726323128,
-0.013993862085044384,
-0.022614670917391777,
-0.006178092211484909,
-0.029754208400845528,
0.0850120261311531,
0.010074476711452007,
0.02833734080195427,
-0.0071947406977415085,
0.008367796428501606,
0.03853142261505127,
0.021234605461359024,
0.006463306024670601,
-0.0008130884962156415,
-0.05089680850505829,
0.05925080552697182,
-0.05409856140613556,
0.08545364439487457,
-0.011132527142763138,
0.09605254232883453,
0.008574806153774261,
0.038715433329343796,
-0.05144883319735527,
0.007976777851581573,
-0.0455605573952198,
0.03352638706564903,
-0.005064839497208595,
0.011638551019132137,
0.03321357071399689,
-0.06267336755990982,
-0.004894631449133158,
-0.013276228681206703,
-0.0339680090546608,
0.013662646524608135,
0.01990974321961403,
0.028705358505249023,
0.09619975090026855,
-0.0214186143130064,
-0.030968666076660156,
-0.06101728603243828,
0.020811384543776512,
-0.0058146752417087555,
-0.018989698961377144,
0.017582032829523087,
-0.01506111305207014,
0.06723678112030029,
-0.0030062422156333923,
-0.09568452835083008,
-0.02500678412616253,
-0.04331564903259277,
0.023902731016278267,
-0.06285737454891205,
-0.06789921224117279,
-0.018180061131715775,
0.05693229287862778,
0.035789694637060165,
0.04250601306557655,
-0.0016951801953837276,
-0.06907686591148376,
-0.03645212575793266,
0.008307993412017822,
0.0516696460545063,
0.022044243291020393,
0.0011983567383140326,
0.04567096009850502,
0.03654412925243378,
0.06694237142801285,
-0.007521355990320444,
0.016753992065787315,
0.0013478638138622046,
-0.005750271957367659,
0.017214015126228333,
-0.019725734367966652,
0.010046875104308128,
-0.05995003879070282,
-0.028024526312947273,
0.0032132521737366915,
0.04865190386772156,
-0.04868870601058006,
-0.03731696680188179,
0.02828213945031166,
-0.07595879584550858,
-0.04375727102160454,
0.003072945401072502,
-0.03391280397772789,
0.07010731846094131,
0.0037330766208469868,
-0.0038480821531265974,
-0.018676884472370148,
-0.008027380332350731,
0.033747196197509766,
0.007746766787022352,
0.06973929703235626,
0.04180677980184555,
0.04331564903259277,
0.043205246329307556,
-0.044346097856760025,
0.06156931445002556,
-0.05387774854898453,
0.034280821681022644,
0.08714652806520462,
-0.03842101991176605,
0.009117631241679192,
0.012521792203187943,
-0.02502518519759178,
0.02180503122508526,
-0.009697259403765202,
-0.04821028187870979,
0.010608102194964886,
0.058146752417087555,
-0.03317676857113838,
-0.014527487568557262,
0.01836406998336315,
-0.07007051259279251,
0.01836406998336315,
-0.013506239280104637,
-0.03726176172494888,
0.02589002624154091,
-0.017756840214133263,
-0.02404993772506714,
0.01930251345038414,
0.016431977972388268,
0.029312586411833763,
0.05527621507644653,
0.09148912876844406,
-0.027030879631638527,
-0.044824521988630295,
-0.007116536609828472,
0.008238989859819412,
0.02914697863161564,
-0.04199078679084778,
0.052037663757801056,
0.010010073892772198,
-0.021933838725090027,
-0.000513786799274385,
0.022117847576737404,
0.031907111406326294,
-0.008965824730694294,
0.002631324576213956,
0.015879951417446136,
0.05111761763691902,
0.03967227786779404,
0.001405366463586688,
-0.0098536666482687,
0.027895720675587654,
0.002905037486925721,
0.055018603801727295,
0.001562924007885158,
-0.05770513042807579,
-0.0025209193117916584,
-0.07253623008728027,
0.027509301900863647,
0.016569985076785088,
0.0220810454338789,
0.04802627116441727,
-0.04850469529628754,
0.01012967899441719,
0.03312156721949577,
0.03812660276889801,
-0.0248043742030859,
0.013405034318566322,
-0.00485782977193594,
-0.00917283445596695,
-0.032459136098623276,
0.01488630473613739,
-0.02167622558772564,
-0.02894457057118416,
0.05089680850505829,
0.0706593468785286,
-0.016091560944914818,
-0.01115092821419239,
0.038789037615060806,
-0.007659362629055977,
-0.041365157812833786,
-0.031373485922813416,
-0.00034817898995243013,
-0.008482801727950573,
0.061127692461013794,
-0.019725734367966652,
-0.05593864619731903,
-0.03499845787882805,
0.0387522354722023,
0.015410729683935642,
0.0005764648085460067,
-0.05251608416438103,
-0.018115656450390816,
-0.008151586167514324,
0.04018750041723251,
0.0018113356782123446,
0.04868870601058006,
0.0037721784319728613,
-0.055828243494033813,
0.03352638706564903,
0.02671806514263153,
0.00423220032826066,
-0.048357490450143814,
-0.04854149743914604,
-0.04519253969192505,
-0.03547687828540802,
-0.024233946576714516,
-0.0035191664937883615,
0.007213141303509474,
-0.010828912258148193,
-0.03908345103263855,
-0.011712154373526573,
-0.027748513966798782,
0.03658093139529228,
-0.00678072078153491,
0.024436356499791145,
-0.034556835889816284,
0.024233946576714516,
0.0027785315178334713,
0.014306677505373955,
0.008726612664759159,
-0.05126482620835304,
0.0026083234697580338,
-0.03227512910962105,
0.06138530373573303,
-0.03470404073596001,
0.024620365351438522,
-0.07025452703237534,
0.045229341834783554,
-0.010102078318595886,
0.013487838208675385,
0.014251474291086197,
-0.03446483239531517,
0.03221992403268814,
-0.0014076665975153446,
0.007479954045265913,
0.08854498714208603,
-0.06723678112030029,
0.010736907832324505,
0.010617302730679512,
-0.027546104043722153,
0.057263508439064026,
-0.0027003278955817223,
-0.018502075225114822,
0.002204654272645712,
-0.0025761218275874853,
0.06333579868078232,
0.047400642186403275,
-0.017591232433915138,
0.022062644362449646,
-0.020498570054769516,
-0.07430271804332733,
0.0007682363502681255,
0.0017503828275948763,
-0.04497172683477402,
-0.009011826477944851,
-0.02561401203274727,
0.0890602171421051,
0.021179402247071266,
-0.010350489988923073,
-0.029073376208543777,
0.02202584221959114,
0.012484990991652012,
0.016146764159202576,
0.005083240568637848,
-0.018161660060286522,
-0.04865190386772156,
-0.046038977801799774,
0.049387939274311066,
-0.004183898214250803,
0.011914564296603203,
-0.029128579422831535,
0.012595396488904953,
0.007213141303509474,
-0.048983119428157806,
-0.03372879698872566,
0.020627375692129135,
-0.00822518952190876,
-0.06756799668073654,
0.009002625942230225,
0.0031971512362360954,
-0.03446483239531517,
-0.029404591768980026,
-0.015493533574044704,
-0.027711711823940277,
0.028705358505249023,
0.01471149642020464,
-0.03131828084588051,
0.01963372901082039,
-0.002332310425117612,
0.01895289681851864,
0.03926745802164078,
0.011491344310343266,
0.003606570651754737,
0.07146897912025452,
-0.01665278896689415,
0.02785891853272915,
-0.04798947274684906,
-0.015953555703163147,
-0.002808433026075363,
0.04224839806556702,
-0.013607444241642952,
-0.00835399515926838,
-0.028374142944812775,
-0.05023437738418579,
0.013598243705928326,
-0.028171733021736145,
-0.08346635103225708,
0.04383087530732155,
0.024141943082213402,
0.015511933714151382,
0.06006044149398804,
0.05825715884566307,
0.03269834816455841,
-0.06686876714229584,
-0.0016181266400963068,
0.019339315593242645,
-0.03045344166457653,
0.009844466112554073,
-0.02548520639538765,
0.024105140939354897,
-0.02868695743381977,
0.010700106620788574,
0.00890602171421051,
-0.02541160210967064,
0.014932306483387947,
-0.020480168983340263,
-0.02861335501074791,
0.008892220444977283,
-0.03750097379088402,
0.037684984505176544,
0.0051108417101204395,
-0.05553383007645607,
-0.0224306620657444,
0.01678159460425377,
0.030067022889852524,
0.023350704461336136,
-0.019210509955883026,
0.1026768609881401,
-0.016560783609747887,
-0.025742817670106888,
-0.003468564245849848,
0.001222507911734283,
0.028521349653601646,
-0.01774764060974121,
-0.008942822925746441,
-0.04191718250513077,
0.020020147785544395,
-0.07117456942796707,
-0.027582906186580658,
0.03682014346122742,
-0.0112153310328722,
0.007769767660647631,
-0.06315179169178009,
0.06558070331811905,
-0.019596926867961884,
0.017085209488868713,
-0.09259318560361862,
-0.027987724170088768,
0.005350053310394287,
-0.03919385373592377,
-0.039451468735933304,
0.051816850900650024,
0.03751937672495842,
0.014095067046582699,
0.008694411255419254,
0.06753119826316833,
0.006960129365324974,
0.0227802786976099,
0.0018929896177724004,
0.0012202077778056264,
0.009991672821342945,
-0.01414106972515583,
-0.008611607365310192,
-0.002762430813163519,
0.0023265602067112923,
-0.012742603197693825,
0.014831101521849632,
-0.011739755980670452,
0.018612481653690338,
0.02684687077999115,
0.008873820304870605,
0.05446657910943031,
-0.04648059979081154,
-0.020958591252565384,
0.029404591768980026,
0.0169840045273304,
0.07165299355983734,
0.053325723856687546,
0.00020571598724927753,
-0.040003493428230286,
0.03853142261505127,
0.055165812373161316,
-0.028098130598664284,
0.05877238139510155,
-0.04655420407652855,
-0.010764509439468384,
-0.015079514123499393,
0.0060354857705533504,
-0.02290908433496952,
0.0075719584710896015,
-0.020700979977846146,
0.009807663969695568,
-0.030563846230506897,
-0.053325723856687546,
0.034556835889816284,
-0.03378399834036827,
0.016431977972388268,
0.030895061790943146,
0.019412918016314507,
0.07647401839494705,
-0.013165823183953762,
-0.058625172823667526,
-0.08280391991138458,
0.03726176172494888,
-0.018989698961377144,
0.0034869650844484568,
-0.04533974453806877,
0.01512551587074995,
-0.07809329777956009,
-0.05755792558193207,
-0.008827817626297474,
0.021179402247071266,
-0.04243240877985954,
0.04592857509851456,
-0.04633339121937752,
-0.014775899238884449,
0.03779538720846176,
-0.020572174340486526,
-0.015180718153715134,
-0.021437015384435654,
-0.048983119428157806,
0.031778305768966675,
-0.06753119826316833,
-0.06204773485660553,
0.0591403990983963,
0.01773843914270401,
-0.023737123236060143,
0.009688058868050575,
-0.017986850813031197,
-0.0496087484061718,
0.018658483400940895,
0.012116973288357258,
-0.016744792461395264,
-0.004413908813148737,
0.027141284197568893,
0.03227512910962105,
0.024620365351438522,
0.009780063293874264,
-0.039929889142513275,
0.0008815167238935828,
-0.000807338219601661,
-0.06245255470275879,
-0.0312630794942379,
-0.014867903664708138,
-0.017048407346010208,
-0.035568881779909134,
0.03643372282385826,
-0.0008130884962156415,
0.013211824931204319,
-0.020884988829493523,
-0.0054374574683606625,
0.010368891060352325,
0.04235880449414253,
-0.006477106362581253,
-0.0011351037537679076,
-0.031023867428302765,
-0.007673162966966629,
0.020406566560268402,
0.005202846135944128,
0.008873820304870605,
0.015521134249866009,
0.02807972952723503,
0.01983613893389702,
0.024859577417373657,
-0.00971565954387188,
-0.059103596955537796,
-0.01196056604385376,
0.024620365351438522,
-0.03704095259308815,
0.018584879115223885,
0.016615986824035645,
-0.00046922219917178154,
-0.046259790658950806,
-0.07985977828502655,
0.043536461889743805,
0.04044511541724205,
0.030159028246998787,
0.007452352903783321,
0.0032454535830765963,
-0.011233732104301453,
-0.0016905800439417362
] |
18,334 | plotly_football_pitch.pitch_background | SingleColourBackground | Add a single colour background to a fooball pitch. | class SingleColourBackground(PitchBackground):
"""Add a single colour background to a fooball pitch."""
def __init__(self, colour: str):
"""Add a single colour background to a fooball pitch.
Args:
colour (str): Colour for the background.
"""
self.colour = colour
def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add a single-coloured background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
if orientation == PitchOrientation.HORIZONTAL:
rect_method = fig.add_hrect
coordinates_data = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
}
else:
rect_method = fig.add_vrect
coordinates_data = {
"x0": 0,
"x1": dimensions.pitch_width_metres,
}
return rect_method(
**coordinates_data,
fillcolor=self.colour,
layer="below",
)
| (colour: str) | [
-0.012237615883350372,
-0.1238589733839035,
-0.06998904049396515,
0.0210909154266119,
-0.035308532416820526,
0.04179804399609566,
-0.04326341673731804,
0.05502129718661308,
0.003214227734133601,
0.0008907815208658576,
0.04385654255747795,
0.008124974556267262,
0.02878412790596485,
0.0038814961444586515,
-0.039530202746391296,
-0.005407927092164755,
0.07243133336305618,
0.036320336163043976,
0.04144914448261261,
-0.0676165372133255,
0.07550164312124252,
0.024545012041926384,
0.056137774139642715,
0.03768103942275047,
-0.005159337073564529,
0.03166254237294197,
-0.03302324563264847,
-0.0060097770765423775,
-0.05606799200177193,
-0.005133169703185558,
0.0040101525373756886,
-0.01714836247265339,
-0.004745020065456629,
0.03429672494530678,
0.010126779787242413,
-0.010214004665613174,
-0.053276803344488144,
0.030546065419912338,
-0.08917846530675888,
0.016590123996138573,
0.061580590903759,
0.032988354563713074,
0.05833583325147629,
-0.05516085773706436,
0.015473649837076664,
0.006184226367622614,
0.030964743345975876,
0.01652906835079193,
0.019119638949632645,
-0.06384842842817307,
0.044100772589445114,
-0.07515273988246918,
-0.005992332007735968,
0.04413566365838051,
-0.018038053065538406,
-0.001294195419177413,
-0.004143170081079006,
-0.01058034785091877,
0.0070433891378343105,
0.03450606390833855,
-0.00432198029011488,
-0.022381840273737907,
0.016241226345300674,
0.002843522932380438,
0.03963487222790718,
-0.030249502509832382,
-0.006349952891469002,
-0.030703069642186165,
0.0007730282959528267,
-0.021649153903126717,
0.038274168968200684,
-0.0009616515599191189,
0.006681406870484352,
0.028627123683691025,
-0.0004960900987498462,
-0.020009329542517662,
-0.03120897337794304,
0.03590165823698044,
0.06070834398269653,
-0.004003610461950302,
-0.010702461935579777,
0.01681690849363804,
-0.0008460789103992283,
0.013275588862597942,
0.04720596969127655,
-0.019573207944631577,
0.018997523933649063,
-0.011504928581416607,
0.04793865606188774,
0.040890906006097794,
-0.02123047597706318,
0.01788104884326458,
0.002470637671649456,
-0.019102193415164948,
0.08401476591825485,
-0.027894437313079834,
0.013580875471234322,
0.011923607438802719,
0.014889244921505451,
0.00776735320687294,
-0.0723615512251854,
-0.0227656289935112,
-0.05017160624265671,
-0.000626381894107908,
0.01612783409655094,
-0.010885633528232574,
-0.00282825855538249,
-0.0012789311585947871,
-0.06489512324333191,
0.016651181504130363,
0.037995047867298126,
-0.047101300209760666,
-0.06957036256790161,
0.013772768899798393,
0.013136029243469238,
-0.01161832083016634,
-0.0468919612467289,
0.006650878116488457,
-0.002002895576879382,
-0.03789037838578224,
0.019765101373195648,
0.007854578085243702,
0.05038094520568848,
0.004932553041726351,
0.012883078306913376,
0.018386952579021454,
-0.03576209768652916,
0.014688627794384956,
-0.03527364134788513,
-0.0155695965513587,
-0.026743071153759956,
0.05369548127055168,
-0.061301469802856445,
-0.07403626292943954,
0.015316645614802837,
-0.0015264310641214252,
0.08352630585432053,
0.00165290676523,
0.004398302175104618,
0.018857965245842934,
0.02531258761882782,
-0.012202725745737553,
0.04783398658037186,
-0.005477706901729107,
-0.03167998418211937,
0.05338147282600403,
0.010999025776982307,
-0.018997523933649063,
0.030232056975364685,
0.047519978135824203,
0.019660431891679764,
0.046508174389600754,
0.021265365183353424,
0.034052494913339615,
0.050241388380527496,
-0.0368436835706234,
-0.024265892803668976,
0.042879629880189896,
0.016633737832307816,
0.011740434914827347,
0.025556817650794983,
-0.01754087395966053,
0.023655319586396217,
-0.005011055152863264,
-0.024754351004958153,
0.012412064708769321,
-0.01007444504648447,
-0.06545336544513702,
0.046368613839149475,
0.01581382565200329,
0.04368209466338158,
-0.04521724954247475,
0.03475029394030571,
0.022730737924575806,
0.03297090902924538,
0.042007382959127426,
-0.014470566064119339,
-0.004121363628655672,
0.02416122332215309,
0.013310479000210762,
0.06154569983482361,
-0.00582660548388958,
-0.03502941131591797,
-0.013249421492218971,
0.04961337149143219,
0.058894071727991104,
0.040681567043066025,
0.011740434914827347,
0.023934438824653625,
0.017758935689926147,
-0.011522374115884304,
0.05910341069102287,
0.056207552552223206,
0.025556817650794983,
0.0375065915286541,
-0.03851839527487755,
0.007069556508213282,
-0.045042797923088074,
0.004710129927843809,
-0.028976023197174072,
0.03202888369560242,
-0.01754087395966053,
0.001295285765081644,
-0.026097608730196953,
0.023219196125864983,
0.026690736413002014,
0.04902024194598198,
0.025556817650794983,
-0.11611343175172806,
-0.04720596969127655,
-0.030022718012332916,
-0.055614423006772995,
0.0043852184899151325,
-0.00816422514617443,
0.006254006177186966,
-0.0709659606218338,
-0.00488894060254097,
0.004267464857548475,
-0.03159276023507118,
0.03356403857469559,
0.008770436979830265,
0.04357742518186569,
-0.06374376267194748,
0.022521398961544037,
0.00930686853826046,
-0.0030048885382711887,
0.023672765120863914,
-0.034383948892354965,
-0.030144833028316498,
-0.04581037536263466,
0.023288976401090622,
-0.04190271347761154,
-0.016834354028105736,
-0.012996469624340534,
-0.054218828678131104,
0.0461941659450531,
-0.03837883844971657,
-0.02236439473927021,
-0.024213558062911034,
0.003842245088890195,
0.06074323132634163,
0.022730737924575806,
0.07592032104730606,
0.020201224833726883,
-0.0020923009142279625,
-0.00020593190856743604,
0.02089902199804783,
0.01509858388453722,
-0.014775852672755718,
-0.011234532110393047,
-0.041344475001096725,
-0.008151141926646233,
-0.006720657926052809,
0.02798166126012802,
0.03396527096629143,
-0.03796016052365303,
-0.06587204337120056,
-0.08527079969644547,
-0.002079217229038477,
0.013057527132332325,
-0.04437989369034767,
0.04169337451457977,
0.0649649053812027,
0.05934763699769974,
0.001550417859107256,
0.004134447313845158,
-0.030214611440896988,
0.03621566668152809,
-0.05149742215871811,
-0.015691710636019707,
0.025155583396553993,
-0.0075667365454137325,
0.032377783209085464,
-0.03262201324105263,
0.006397926714271307,
-0.01774149015545845,
0.014339729212224483,
0.06524402648210526,
0.053067464381456375,
-0.0008280888432636857,
0.0549166277050972,
-0.02088157646358013,
0.0053730374202132225,
0.013781491667032242,
0.05550975352525711,
-0.03666923567652702,
0.008103168569505215,
0.038797516375780106,
0.006698851473629475,
-0.03138342127203941,
-0.014165280386805534,
-0.04741530865430832,
-0.003953456413000822,
0.01747981645166874,
0.02410888858139515,
0.04399610310792923,
0.0034977076575160027,
-0.01967787742614746,
0.009428982622921467,
-0.07961864024400711,
0.0756411999464035,
-0.002394316019490361,
0.039739541709423065,
0.01747981645166874,
-0.02323664166033268,
-0.012839465402066708,
-0.004354689735919237,
-0.016633737832307816,
-0.025888269767165184,
-0.043019186705350876,
-0.014016998000442982,
-0.009664488956332207,
-0.029359810054302216,
0.0035325975622981787,
-0.0636041983962059,
-0.032499898225069046,
0.013711712323129177,
0.0031618927605450153,
0.03087751939892769,
0.04975292831659317,
-0.037332143634557724,
-0.044763680547475815,
-0.04336808621883392,
0.05418394133448601,
0.04675240069627762,
-0.03461073338985443,
0.03494218736886978,
0.008674489334225655,
-0.01646801084280014,
0.04588015750050545,
-0.10641404986381531,
-0.018160168081521988,
-0.04368209466338158,
0.0034649984445422888,
-0.03977443277835846,
-0.05198587849736214,
-0.02632439322769642,
0.016956469044089317,
0.016249949112534523,
-0.0415189228951931,
0.03611099720001221,
-0.03229055926203728,
-0.00048518701805733144,
0.07417582720518112,
0.03457584232091904,
0.006703212857246399,
0.009289423003792763,
0.014749685302376747,
0.04197249189019203,
0.004112641327083111,
0.058684732764959335,
-0.0066683231852948666,
-0.025068359449505806,
0.017785102128982544,
0.020340783521533012,
-0.03138342127203941,
-0.017933383584022522,
-0.06465089321136475,
-0.022940078750252724,
0.017636820673942566,
0.028714347630739212,
-0.061580590903759,
-0.02712685987353325,
0.05899874120950699,
-0.05055539682507515,
0.03199399635195732,
-0.021003691479563713,
-0.010920523665845394,
-0.058091603219509125,
0.020340783521533012,
-0.01861373707652092,
-0.01272607408463955,
-0.010737352073192596,
-0.028470119461417198,
-0.007265811786055565,
0.007885106839239597,
0.013345368206501007,
0.03932086378335953,
0.06405776739120483,
-0.034261833876371384,
0.019782546907663345,
0.0022678403183817863,
-0.013598320074379444,
0.023951884359121323,
-0.017697878181934357,
-0.018160168081521988,
-0.06817477196455002,
-0.05885918065905571,
0.024021662771701813,
-0.010187837295234203,
0.044205442070961,
-0.021335145458579063,
0.026010384783148766,
-0.06974481791257858,
-0.04881090298295021,
-0.002265659859403968,
-0.008574181236326694,
0.04518235847353935,
0.05725424736738205,
0.0314706452190876,
0.07822304964065552,
-0.09476084262132645,
0.010493122972548008,
-0.0348375178873539,
-0.0005350685678422451,
0.003868412459269166,
0.0716637596487999,
0.0595918670296669,
0.005425372160971165,
0.01880563050508499,
-0.01587488315999508,
-0.018857965245842934,
-0.02222483605146408,
0.027824657037854195,
0.06405776739120483,
-0.03563998267054558,
0.003059403970837593,
-0.04598482698202133,
-0.060289666056632996,
0.0008155502728186548,
0.025556817650794983,
0.05676579102873802,
0.05851028114557266,
0.07661811262369156,
0.04225161299109459,
0.008949247188866138,
-0.007658322807401419,
0.027685098350048065,
0.033110469579696655,
0.04078623652458191,
0.0035914741456508636,
-0.0817120373249054,
-0.00768449017778039,
0.004609821829944849,
-0.010135502554476261,
0.021998051553964615,
0.058021824806928635,
0.02297496795654297,
0.016834354028105736,
-0.0024313866160809994,
0.062452834099531174,
0.03487240895628929,
-0.0023572456557303667,
0.01720941998064518,
0.012106779031455517,
-0.011016471311450005,
-0.06234816461801529,
-0.02665584720671177,
0.01868351548910141,
-0.0054471781477332115,
0.029150471091270447,
0.07103574275970459,
0.04260050877928734,
0.052718568593263626,
0.010083166882395744,
-0.036599453538656235,
-0.021247919648885727,
-0.032238222658634186,
0.004954359028488398,
-0.0535559244453907,
0.04807821661233902,
0.03666923567652702,
-0.0304762851446867,
-0.019259197637438774,
0.010623959824442863,
-0.07194287329912186,
0.018578846007585526,
-0.03527364134788513,
-0.07114040851593018,
-0.010894356295466423,
0.06451133638620377,
0.014016998000442982,
0.005477706901729107,
-0.00009403905278304592,
0.035517871379852295,
0.008460788987576962,
-0.010719907470047474,
-0.004306716378778219,
-0.04137936607003212,
-0.020515233278274536,
-0.019102193415164948,
-0.018631180748343468,
-0.04375187307596207,
0.0044593592174351215,
-0.0059618037194013596,
0.008591625839471817,
-0.04682218283414841,
0.002494624350219965,
0.0034279280807822943,
0.015447482466697693,
-0.07110551744699478,
0.02056756801903248,
-0.04758976027369499,
0.053137246519327164,
-0.06398799270391464,
-0.006559292320162058,
0.05383504182100296,
-0.004919469356536865,
0.037192583084106445,
-0.026027830317616463,
0.01981743611395359,
-0.00289585767313838,
-0.01587488315999508,
-0.05603310465812683,
0.01687796600162983,
-0.061580590903759,
-0.023759989067912102,
0.02088157646358013,
-0.004723213613033295,
0.08045599609613419,
-0.017043692991137505,
0.017026247456669807,
0.031296197324991226,
-0.05041583627462387,
0.0021533581893891096,
0.008447705768048763,
-0.015456204302608967,
0.03293602168560028,
0.0066683231852948666,
-0.06587204337120056,
-0.0035064301919192076,
0.03248245269060135,
0.028539899736642838,
0.02042800933122635,
0.030615845695137978,
0.03523875027894974,
0.028173556551337242,
-0.06356930732727051,
-0.020271005108952522,
0.027562983334064484,
-0.005852772854268551,
0.009254532866179943,
-0.01107752788811922,
0.031836990267038345,
0.015054970979690552,
-0.006262728478759527,
-0.05184632167220116,
0.002597113372758031,
0.012490566819906235,
-0.057952046394348145,
0.02778976783156395,
0.02061990275979042,
0.013511095196008682,
-0.04312385618686676,
-0.01747981645166874,
-0.029761044308543205,
-0.00014923588605597615,
-0.01795082911849022,
-0.026202278211712837,
0.03502941131591797,
-0.002446650993078947,
-0.05463751032948494,
-0.05017160624265671,
0.037995047867298126,
-0.007287617772817612,
0.06793054193258286,
0.0015678626950830221,
-0.015307922847568989,
-0.020044220611453056,
0.037855491042137146,
0.009664488956332207,
0.02819100022315979,
0.02658606693148613,
-0.044100772589445114,
-0.06178992986679077,
-0.007174225989729166,
-0.0003617096517700702,
0.04197249189019203,
-0.002285285387188196,
-0.021649153903126717,
0.023341311141848564,
0.003912024665623903,
0.045426588505506516,
-0.04909002408385277,
-0.027144305408000946,
-0.025818491354584694,
0.029307475313544273,
0.02297496795654297,
-0.012534179724752903,
-0.014287394471466541,
-0.04671751335263252,
-0.003892399137839675,
0.037192583084106445,
-0.11402003467082977,
0.01482818741351366,
0.006432816386222839,
0.017453648149967194,
0.05135786160826683,
0.024928798899054527,
0.013197086751461029,
-0.01887541078031063,
-0.03515152633190155,
0.03469795733690262,
-0.023323865607380867,
-0.007558014243841171,
0.00020048036822117865,
-0.00017008802387863398,
-0.050311166793107986,
0.015011359006166458,
0.026900075376033783,
-0.017165808007121086,
0.04172826185822487,
-0.02866201288998127,
0.005660878494381905,
-0.021213030442595482,
-0.018700961023569107,
0.04263539984822273,
-0.05177653953433037,
-0.04057689756155014,
-0.09050427377223969,
-0.012098056264221668,
0.04762464761734009,
-0.013301756232976913,
-0.013214531354606152,
0.04270517826080322,
-0.0408560186624527,
-0.05537019670009613,
0.009638321585953236,
0.010946691036224365,
0.024091443046927452,
0.0002710777916945517,
-0.011243254877626896,
-0.04267029091715813,
0.01714836247265339,
-0.013179642148315907,
-0.025085803121328354,
0.0032818266190588474,
-0.07061706483364105,
-0.02028844878077507,
-0.01747109368443489,
0.06604649126529694,
-0.0013225434813648462,
-0.032779015600681305,
-0.07054728269577026,
-0.021718932315707207,
-0.011784047819674015,
-0.03998377174139023,
-0.030912408605217934,
0.0056347111240029335,
0.007640877738595009,
-0.04371698573231697,
-0.0015111666871234775,
0.0018426203168928623,
0.022713294252753258,
0.0028478840831667185,
-0.009664488956332207,
-0.056486669927835464,
-0.018491622060537338,
-0.024614790454506874,
-0.0210909154266119,
-0.008329952135682106,
0.009359203279018402,
0.020340783521533012,
0.038204386830329895,
-0.030615845695137978,
0.04169337451457977,
0.042146939784288406,
-0.004051584284752607,
-0.0014697350561618805,
0.005128808319568634,
-0.035796988755464554,
0.007732463534921408,
-0.03649478405714035,
0.07396648824214935,
0.017575763165950775,
-0.032238222658634186,
0.02156192809343338,
-0.010719907470047474,
0.027737433090806007,
-0.00408647395670414,
0.0002979266282636672,
-0.005800438113510609,
-0.10104101151227951,
-0.03869284689426422,
0.02170148864388466,
-0.041484035551548004,
-0.014749685302376747,
0.004932553041726351,
0.040018659085035324,
-0.031435757875442505,
0.0155695965513587,
-0.038134608417749405,
-0.04853178560733795,
0.044833458960056305,
0.03080773912370205,
0.05477706715464592,
0.06922146677970886,
-0.002760659670457244,
-0.024422897025942802,
-0.04793865606188774,
0.029290031641721725,
0.02410888858139515,
0.03649478405714035,
0.003534778254106641,
-0.010257616639137268,
-0.04975292831659317,
-0.07065194845199585,
0.0039839851669967175,
0.014095500111579895,
-0.054881736636161804,
0.01132175698876381,
-0.010336118750274181,
-0.02457990124821663,
0.04441478103399277,
-0.009899995289742947,
0.039599981158971786,
0.018247392028570175,
-0.020340783521533012,
0.021910827606916428,
-0.03984421119093895,
-0.046368613839149475,
0.09252788871526718,
0.05345125496387482,
-0.017087304964661598,
-0.026830296963453293,
-0.042879629880189896,
-0.010371008887887001,
-0.024388005957007408,
-0.026463953778147697,
-0.011845105327665806,
-0.03708791360259056,
0.10062233358621597,
-0.023201752454042435,
-0.02799910679459572,
-0.008356119506061077,
-0.011635765433311462,
0.025835935026407242,
-0.02611505426466465,
-0.05303257703781128,
-0.025940604507923126,
0.009385370649397373,
-0.002898038364946842,
-0.04246095195412636,
0.0468919612467289,
0.03199399635195732,
0.02496368996798992,
-0.0046272664330899715,
-0.019311532378196716,
0.03000527247786522,
-0.04528702795505524,
-0.037925269454717636,
-0.029691264033317566,
-0.04130958393216133,
-0.009245811030268669,
0.028766682371497154,
0.02196316234767437,
0.04256562143564224,
0.020375674590468407,
0.037471700459718704,
0.03375593200325966,
0.014304839074611664,
0.058894071727991104,
-0.04500791057944298,
0.02925514057278633,
0.0408560186624527,
-0.0475548692047596,
0.040193110704422,
-0.008552375249564648,
0.007989776320755482,
-0.03677390515804291,
-0.088410884141922,
-0.013711712323129177,
0.05746358633041382,
0.035866767168045044,
0.06712807714939117,
0.05599821358919144,
-0.06384842842817307,
0.03649478405714035
] |
18,335 | plotly_football_pitch.pitch_background | __init__ | Add a single colour background to a fooball pitch.
Args:
colour (str): Colour for the background.
| def __init__(self, colour: str):
"""Add a single colour background to a fooball pitch.
Args:
colour (str): Colour for the background.
"""
self.colour = colour
| (self, colour: str) | [
-0.00538180535659194,
-0.060098305344581604,
-0.060382965952157974,
0.011137222871184349,
-0.010559013113379478,
-0.011937822215259075,
-0.0143218282610178,
0.06959874927997589,
0.03430122509598732,
-0.007703542709350586,
0.0004122529353480786,
0.011751015670597553,
0.0047546690329909325,
0.032326411455869675,
-0.038820162415504456,
0.01577180251479149,
0.07020364701747894,
0.015407085418701172,
0.00852638017386198,
-0.03524415194988251,
0.04746663197875023,
0.07265881448984146,
0.04429981857538223,
0.053978171199560165,
0.012649466283619404,
0.07863662391901016,
0.00023573196085635573,
0.028074342757463455,
-0.023573195561766624,
-0.04703964665532112,
0.019908230751752853,
-0.03552880883216858,
-0.022381193935871124,
0.08084271848201752,
0.0003007806371897459,
-0.019089840352535248,
-0.019801484420895576,
0.05643334239721298,
-0.07070180028676987,
0.014873352833092213,
0.030066944658756256,
0.04465563967823982,
0.021295936778187752,
-0.0056130895391106606,
-0.01593192294239998,
0.0015144667122513056,
0.04675498977303505,
0.014010484330356121,
-0.04294769465923309,
-0.05380025878548622,
0.017933420836925507,
-0.027558401226997375,
-0.0035826810635626316,
0.0014811083674430847,
-0.009509338065981865,
0.0477512888610363,
-0.003440352389588952,
0.0529107041656971,
0.0007661288836970925,
0.05074019357562065,
-0.02542346902191639,
0.007254317402839661,
0.03353620693087578,
-0.04647032916545868,
0.0013888170942664146,
-0.01973032020032406,
-0.014677650295197964,
0.020797785371541977,
0.02458728849887848,
0.02172292210161686,
0.05355118587613106,
0.05682474747300148,
0.002977784024551511,
0.00829954445362091,
-0.0081572150811553,
-0.010630177333950996,
-0.07458025217056274,
0.028714820742607117,
0.01796010695397854,
0.015816280618309975,
0.004120861645787954,
0.0501352958381176,
-0.0036071438807994127,
0.019089840352535248,
0.02085115946829319,
-0.060703203082084656,
-0.01602977328002453,
-0.014650964178144932,
-0.010265459306538105,
0.05102485045790672,
-0.04636358469724655,
0.01036331057548523,
-0.031419068574905396,
-0.020513128489255905,
0.021349309012293816,
-0.044193070381879807,
0.04582985118031502,
-0.0041253091767430305,
0.046897318214178085,
0.03104545548558235,
-0.046577077358961105,
-0.019872648641467094,
-0.01753311976790428,
-0.027843058109283447,
-0.012569406069815159,
-0.059991560876369476,
-0.03931831195950508,
-0.008005991578102112,
-0.004892549943178892,
0.020086143165826797,
0.03124115616083145,
-0.03552880883216858,
-0.041595570743083954,
0.03239757567644119,
0.0031846053898334503,
-0.027843058109283447,
-0.033127013593912125,
-0.0051416256465017796,
0.02191862463951111,
-0.02670442871749401,
0.027078041806817055,
-0.012960810214281082,
-0.005484104156494141,
0.07379744946956635,
0.05984923243522644,
0.024053554981946945,
-0.05113159865140915,
0.012907437048852444,
-0.01062128134071827,
-0.034834958612918854,
0.011902240104973316,
0.038820162415504456,
-0.05170091241598129,
-0.05807012319564819,
0.03485274687409401,
-0.027718519791960716,
0.02065545693039894,
0.021420473232865334,
-0.010238773189485073,
0.022737015038728714,
0.023804480209946632,
0.005128282122313976,
0.004120861645787954,
-0.05654008686542511,
-0.026330815628170967,
0.04102625697851181,
-0.01394821610301733,
-0.048285022377967834,
-0.00320239644497633,
0.09358114004135132,
0.010692445561289787,
0.055650532245635986,
0.022576894611120224,
0.009420382790267467,
0.023964600637555122,
-0.05511680245399475,
-0.010220982134342194,
-0.02252352237701416,
0.04351700842380524,
0.01137740258127451,
0.017719926312565804,
0.009322531521320343,
0.02645535208284855,
-0.028536910191178322,
-0.018484944477677345,
0.04145324230194092,
-0.05276837572455406,
-0.0433746799826622,
0.009082351811230183,
-0.025370096787810326,
0.0015089069493114948,
-0.10724470019340515,
-0.002283931476995349,
0.04604334384202957,
0.020192889496684074,
0.03111661970615387,
-0.021900832653045654,
0.033287130296230316,
0.029141807928681374,
-0.011706538498401642,
0.03478158265352249,
0.001249824184924364,
-0.0386066697537899,
-0.02053091861307621,
0.08041573315858841,
-0.015816280618309975,
0.02451612427830696,
0.05515238270163536,
0.02828783541917801,
-0.017177298665046692,
0.012186897918581963,
0.02072662115097046,
-0.00820614118129015,
0.02980007790029049,
0.029426464810967445,
-0.031454648822546005,
0.013503438793122768,
-0.07038155943155289,
0.0035293076653033495,
0.009171308018267155,
0.015300339087843895,
0.012685048393905163,
-0.037218961864709854,
-0.03572451323270798,
0.04647032916545868,
0.008775455877184868,
0.029835660010576248,
0.004910341463983059,
-0.06159275770187378,
-0.06113018840551376,
-0.019712530076503754,
-0.04127533361315727,
0.029355300590395927,
0.024213675409555435,
0.024338213726878166,
-0.10575024783611298,
0.014900038950145245,
-0.0006666099652647972,
-0.02709583193063736,
0.06301604956388474,
0.06059645861387253,
0.01699049212038517,
-0.03704105317592621,
-0.0024818573147058487,
-0.011537523008883,
0.012089046649634838,
-0.008855516090989113,
-0.03221966698765755,
-0.04045694321393967,
-0.016385594382882118,
-0.02474740892648697,
-0.05554378777742386,
-0.0033358295913785696,
0.0324331596493721,
-0.05949341133236885,
0.0075701093301177025,
-0.01137740258127451,
0.022950507700443268,
-0.08973826467990875,
-0.04045694321393967,
0.043908413499593735,
0.05287512391805649,
0.05109601467847824,
0.028839359059929848,
0.028323417529463768,
-0.014748814515769482,
0.008935575373470783,
0.05323094502091408,
-0.06899385154247284,
-0.017203984782099724,
-0.06860245019197464,
-0.012231375090777874,
0.01612762361764908,
0.03995878994464874,
-0.02287934347987175,
0.0017346313688904047,
-0.06429700553417206,
-0.04739546775817871,
0.010905939154326916,
0.014855561777949333,
-0.04102625697851181,
0.020779995247721672,
0.0935099795460701,
0.10254785418510437,
0.038820162415504456,
0.0224879402667284,
-0.03810851648449898,
0.013779200613498688,
-0.023626569658517838,
-0.026081740856170654,
0.08774566650390625,
0.016741417348384857,
0.041915811598300934,
0.010140921920537949,
-0.011163909919559956,
-0.05476097762584686,
-0.01965915597975254,
0.05038437247276306,
0.018449362367391586,
-0.0005128838238306344,
0.07262323796749115,
-0.027327116578817368,
0.023057254031300545,
0.021598385646939278,
0.006124583072960377,
-0.024017972871661186,
0.019748112186789513,
0.07393977791070938,
-0.009509338065981865,
-0.04408632591366768,
0.009793995879590511,
-0.010247668251395226,
0.024622870609164238,
0.04170231893658638,
0.07152018696069717,
0.05476097762584686,
0.00588885135948658,
0.04807152971625328,
-0.02567254565656185,
-0.06201974302530289,
0.09037874639034271,
-0.06817546486854553,
0.008050468750298023,
0.004905893467366695,
-0.07458025217056274,
-0.003573785535991192,
-0.025761500000953674,
-0.01635001227259636,
-0.016136519610881805,
-0.04070601612329483,
0.03294910117983818,
0.03839317709207535,
-0.019748112186789513,
0.061023443937301636,
-0.020566502586007118,
-0.010318833403289318,
0.006511539686471224,
-0.056895911693573,
0.02255910448729992,
0.04913899302482605,
-0.007610139437019825,
-0.09101922065019608,
-0.006338076200336218,
-0.006542673800140619,
0.02494310960173607,
0.004196473862975836,
0.0016868178499862552,
0.026135113090276718,
-0.001163092558272183,
0.032966893166303635,
-0.07685751467943192,
-0.02693571336567402,
0.008882202208042145,
-0.021900832653045654,
-0.041204169392585754,
-0.07571888715028763,
-0.041915811598300934,
0.033838655799627304,
0.0028065447695553303,
-0.05351560190320015,
0.05209231749176979,
-0.020602084696292877,
-0.01965915597975254,
0.03906923532485962,
0.05842594429850578,
-0.026046158745884895,
-0.02152722142636776,
-0.0513450913131237,
0.0497438907623291,
0.0023061702959239483,
0.0260639488697052,
-0.02339528501033783,
-0.02677559293806553,
0.02197199873626232,
0.052626047283411026,
0.01346785668283701,
-0.02188304252922535,
-0.04679057002067566,
-0.012667257338762283,
-0.009224681183695793,
0.005412939470261335,
-0.009527129121124744,
0.01058569923043251,
0.0065915994346141815,
-0.05895967781543732,
0.03472821041941643,
0.0006149046239443123,
-0.02940867468714714,
-0.018413780257105827,
0.038855742663145065,
0.01378809567540884,
-0.0032112919725477695,
-0.04316118732094765,
-0.05084693804383278,
-0.005435178522020578,
-0.02384006232023239,
-0.0018024599412456155,
0.0409906730055809,
0.028981687501072884,
-0.057714302092790604,
0.007699094712734222,
-0.005074908956885338,
0.01802237518131733,
0.029551003128290176,
-0.025476843118667603,
-0.008855516090989113,
-0.05920875072479248,
0.007681303657591343,
0.012409286573529243,
0.045367281883955,
-0.0250676479190588,
-0.012693943455815315,
0.056397758424282074,
-0.06910059601068497,
-0.007610139437019825,
-0.017969002947211266,
0.02156280353665352,
0.018360406160354614,
-0.005395148415118456,
0.005746522452682257,
0.06550680100917816,
-0.08703401684761047,
-0.024978691712021828,
-0.007116436492651701,
-0.028839359059929848,
-0.001980370841920376,
0.021633967757225037,
0.049992967396974564,
-0.017426373437047005,
0.0270602498203516,
0.013672453351318836,
-0.017622075974941254,
-0.03638278320431709,
-0.002608618699014187,
0.027629565447568893,
-0.056967075914144516,
0.023644359782338142,
-0.07358395308256149,
-0.014268455095589161,
-0.021456057205796242,
-0.011866657994687557,
0.029871242120862007,
0.06664542853832245,
0.08084271848201752,
0.005635328125208616,
0.061023443937301636,
0.05589960888028145,
0.013023079372942448,
0.03163256123661995,
-0.004972610156983137,
-0.0680331364274025,
-0.010888148099184036,
-0.008197245188057423,
-0.013752513565123081,
0.005693149287253618,
-0.01827145181596279,
-0.013894842006266117,
-0.048640843480825424,
0.005484104156494141,
0.01953461766242981,
0.05066902935504913,
0.004058592952787876,
0.028145506978034973,
0.058710601180791855,
-0.031294528394937515,
-0.019587991759181023,
-0.04881875589489937,
-0.0008901105611585081,
0.05785663053393364,
-0.03382086381316185,
-0.000843964924570173,
0.06312279403209686,
0.02725595235824585,
0.0016089818673208356,
0.047929201275110245,
-0.06575587391853333,
-0.07301463931798935,
-0.011208388023078442,
0.021509429439902306,
-0.055650532245635986,
0.0010391109390184283,
0.03303805738687515,
-0.060703203082084656,
-0.03517298772931099,
-0.02972891367971897,
-0.0031712620984762907,
0.05390700697898865,
-0.0060044932179152966,
-0.05920875072479248,
-0.017195090651512146,
0.012266957201063633,
-0.010238773189485073,
0.008197245188057423,
-0.016679149121046066,
0.02387564443051815,
0.02140268310904503,
-0.02812771499156952,
-0.0008400731021538377,
-0.04280536621809006,
-0.018556108698248863,
-0.024996483698487282,
-0.02001497708261013,
-0.035671137273311615,
0.00007950393774081022,
0.02165175788104534,
0.04476238787174225,
-0.025725917890667915,
-0.02490752749145031,
0.05988481268286705,
0.005021535791456699,
-0.09052107483148575,
0.029906824231147766,
-0.030066944658756256,
0.017648762091994286,
-0.04511820897459984,
0.025494633242487907,
0.020957905799150467,
0.03382086381316185,
-0.005399596411734819,
0.017292940989136696,
0.017141716554760933,
-0.01058569923043251,
-0.040528107434511185,
-0.06422583758831024,
0.04230721667408943,
-0.10005709528923035,
-0.02359098754823208,
0.010301042348146439,
-0.01812022738158703,
0.023181792348623276,
0.021669549867510796,
0.018591690808534622,
0.02458728849887848,
-0.03335829824209213,
0.04664824157953262,
-0.000030352575777214952,
-0.03255769610404968,
0.0389980711042881,
0.0027398280799388885,
-0.03465704619884491,
0.0011063835117965937,
0.03542206436395645,
0.03060067817568779,
-0.009295845404267311,
-0.005297297611832619,
0.03287793695926666,
0.011893345043063164,
-0.027949804440140724,
0.009767308831214905,
0.026953503489494324,
0.030351601541042328,
-0.0009151292615570128,
-0.026490936055779457,
0.0135301249101758,
0.00017485307762399316,
0.022221073508262634,
0.007445571944117546,
-0.010950416326522827,
0.048569679260253906,
-0.015149114653468132,
0.03620487079024315,
0.004309891723096371,
0.057714302092790604,
-0.04871200770139694,
-0.03543985262513161,
-0.02423146739602089,
-0.04212930426001549,
-0.012907437048852444,
-0.05020646005868912,
-0.007703542709350586,
0.019748112186789513,
-0.057073820382356644,
-0.10126689076423645,
0.009260263293981552,
-0.012435972690582275,
0.04743104800581932,
-0.0171150304377079,
-0.01406385749578476,
0.026989085599780083,
0.018947511911392212,
-0.007481154054403305,
0.021740714088082314,
0.008032677695155144,
-0.02037080004811287,
-0.04664824157953262,
0.011030476540327072,
-0.0028310073539614677,
-0.0045901015400886536,
-0.008739873766899109,
-0.05109601467847824,
0.042591873556375504,
-0.015246964991092682,
0.029355300590395927,
-0.012587197124958038,
-0.04180906340479851,
0.0022027594968676567,
-0.0021560578607022762,
0.03810851648449898,
-0.014348515309393406,
-0.030618468299508095,
-0.04038577899336815,
0.008068259805440903,
-0.024124719202518463,
-0.0807715579867363,
-0.0145264258608222,
-0.004180906340479851,
-0.000031985742680262774,
0.025209976360201836,
0.002726484788581729,
-0.0030778588261455297,
0.04170231893658638,
-0.00907345674932003,
0.007623482495546341,
-0.024409377947449684,
-0.046150092035532,
-0.027843058109283447,
0.05454748496413231,
-0.05778546631336212,
-0.0013843693304806948,
0.035991378128528595,
-0.014606486074626446,
0.034959495067596436,
-0.05426282808184624,
0.041168585419654846,
0.005862164776772261,
-0.001692377612926066,
0.05543703958392143,
-0.0013054213486611843,
-0.03449692577123642,
-0.05237697437405586,
0.009687249548733234,
0.029711123555898666,
-0.03572451323270798,
-0.021473847329616547,
0.013023079372942448,
-0.015647264197468758,
-0.00703192874789238,
0.025601381435990334,
0.018645063042640686,
0.051273927092552185,
-0.0050971475429832935,
0.013325527310371399,
-0.0027976492419838905,
0.033607371151447296,
-0.0013298840494826436,
-0.025850456207990646,
-0.007396646309643984,
-0.0935099795460701,
-0.03568892925977707,
-0.08055806159973145,
0.058710601180791855,
0.030422765761613846,
-0.04771570861339569,
-0.09080573171377182,
-0.02522776834666729,
-0.02319958247244358,
-0.02567254565656185,
-0.006747271399945021,
-0.010487847961485386,
0.01159979123622179,
-0.021616175770759583,
0.005470760632306337,
-0.004968162160366774,
0.04269861802458763,
0.016759207472205162,
0.006324733141809702,
-0.0712355300784111,
-0.015273652039468288,
0.00007380523311439902,
-0.02065545693039894,
-0.015433771535754204,
0.03967413306236267,
-0.004027458373457193,
0.04945923388004303,
-0.025441261008381844,
0.033838655799627304,
0.0032112919725477695,
0.014268455095589161,
0.0056975968182086945,
0.0072632129304111,
-0.037503622472286224,
0.04565194249153137,
0.017711032181978226,
0.05034878849983215,
0.004723534919321537,
-0.002906619571149349,
0.036187078803777695,
-0.053017452359199524,
-0.027433862909674644,
0.013414482586085796,
-0.0572873130440712,
0.0441574901342392,
-0.04782245308160782,
-0.054654233157634735,
0.031579189002513885,
-0.021278144791722298,
-0.019161004573106766,
0.009051217697560787,
0.08361812680959702,
-0.007783602457493544,
0.010968208312988281,
-0.01420618686825037,
-0.01814691349864006,
-0.04063485190272331,
0.040207866579294205,
0.10952195525169373,
-0.015015681274235249,
0.027469445019960403,
0.0060845534317195415,
-0.04550961032509804,
-0.04365933686494827,
0.0040963985957205296,
0.008255066350102425,
0.0001385759242111817,
0.02702466771006584,
-0.009233576245605946,
-0.07870779186487198,
-0.0393894761800766,
0.024267049506306648,
-0.020157307386398315,
0.017586493864655495,
0.0047190869227051735,
-0.039852045476436615,
0.06436816602945328,
-0.00957160722464323,
0.016821477562189102,
0.04013670235872269,
-0.0035826810635626316,
0.016225475817918777,
-0.03378528356552124,
-0.019748112186789513,
0.07272998243570328,
0.022541312500834465,
-0.015086845494806767,
-0.01962357386946678,
-0.004552295431494713,
0.019445663318037987,
-0.023537613451480865,
-0.06354977935552597,
0.011315134353935719,
-0.008366260677576065,
0.054689813405275345,
0.02165175788104534,
-0.025601381435990334,
0.02271922305226326,
-0.033838655799627304,
-0.015727324411273003,
-0.016421176493167877,
-0.036863140761852264,
-0.027327116578817368,
0.04803594574332237,
0.025014273822307587,
-0.049601562321186066,
0.046150092035532,
0.008330678567290306,
0.002659768098965287,
0.03104545548558235,
0.005101595539599657,
0.06878036260604858,
-0.014650964178144932,
-0.048213858157396317,
-0.01448194868862629,
-0.05778546631336212,
-0.022950507700443268,
-0.023608777672052383,
0.0433746799826622,
0.04408632591366768,
0.03446134552359581,
0.011484149843454361,
0.06298046559095383,
-0.0065159872174263,
0.02992461621761322,
-0.034834958612918854,
0.06276696920394897,
0.045367281883955,
-0.014295142143964767,
0.03536868840456009,
-0.008539724163711071,
0.024622870609164238,
-0.042983278632164,
-0.045580774545669556,
-0.026953503489494324,
0.04803594574332237,
0.019161004573106766,
0.06582704186439514,
0.061094608157873154,
-0.03604475036263466,
0.03028043732047081
] |
18,337 | plotly_football_pitch.pitch_background | add_background | Add a single-coloured background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
| def add_background(
self, fig: go.Figure, dimensions: PitchDimensions, orientation: PitchOrientation
) -> go.Figure:
"""Add a single-coloured background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
if orientation == PitchOrientation.HORIZONTAL:
rect_method = fig.add_hrect
coordinates_data = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
}
else:
rect_method = fig.add_vrect
coordinates_data = {
"x0": 0,
"x1": dimensions.pitch_width_metres,
}
return rect_method(
**coordinates_data,
fillcolor=self.colour,
layer="below",
)
| (self, fig: plotly.graph_objs._figure.Figure, dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation) -> plotly.graph_objs._figure.Figure | [
-0.00743277370929718,
-0.08312679082155228,
-0.049203988164663315,
-0.010974505916237831,
-0.025274083018302917,
0.0829853042960167,
-0.024159830063581467,
0.01764233596622944,
0.008816746063530445,
-0.0045277574099600315,
0.04775369167327881,
0.021276922896504402,
0.0020339535549283028,
-0.035744521766901016,
-0.031340569257736206,
0.018031440675258636,
0.044711604714393616,
0.02002117596566677,
0.01808449998497963,
-0.06314098834991455,
0.07127680629491806,
-0.003546153660863638,
0.019083790481090546,
0.07591067999601364,
-0.017518529668450356,
0.01934908702969551,
-0.03042086958885193,
-0.01173502765595913,
-0.02009192295372486,
0.012628198601305485,
0.02743184193968773,
-0.01202685572206974,
0.010629617609083652,
0.02525639720261097,
-0.0005775764584541321,
0.01551110576838255,
-0.036575790494680405,
0.004903596360236406,
-0.05221069976687431,
0.04803667590022087,
0.040608324110507965,
0.06455591320991516,
0.06070024520158768,
-0.04976995661854744,
0.021276922896504402,
0.011805773712694645,
0.05415622144937515,
-0.006230087950825691,
0.05737517401576042,
-0.04814279451966286,
0.02212587743997574,
-0.07831605523824692,
-0.020958563312888145,
0.02407139725983143,
-0.05090189725160599,
-0.01172618381679058,
-0.001875879941508174,
-0.02016266994178295,
0.014830173924565315,
0.012875810265541077,
-0.026565201580524445,
-0.0508311502635479,
0.015042412094771862,
-0.0015188326360657811,
0.01154047530144453,
0.0006881174049340189,
0.00026267292560078204,
-0.037849221378564835,
0.0011020932579413056,
-0.034718699753284454,
0.027378782629966736,
0.0015575219877064228,
-0.002194237895309925,
0.024319009855389595,
-0.0006322942208498716,
-0.018942296504974365,
0.0022992517333477736,
0.041138920933008194,
0.06508651375770569,
-0.013008459471166134,
-0.004717887844890356,
0.03172967582941055,
0.008688518777489662,
0.04722309485077858,
0.0493454784154892,
0.0016614304622635245,
0.000903672247659415,
-0.001145204296335578,
0.04071444272994995,
0.03452415019273758,
0.00031642348039895296,
0.021383041515946388,
0.023151695728302002,
-0.030739227309823036,
0.09430469572544098,
-0.030880719423294067,
0.0030907250475138426,
0.008719470351934433,
0.0366111621260643,
-0.01577640511095524,
-0.06809322535991669,
-0.031641241163015366,
-0.04421637952327728,
-0.03685877472162247,
0.026211470365524292,
-0.014697524718940258,
0.01259282510727644,
-0.04071444272994995,
-0.09253603965044022,
0.014785957522690296,
0.08093366026878357,
-0.0440748892724514,
-0.054439205676317215,
0.02831616997718811,
0.027449529618024826,
-0.016271628439426422,
-0.04365041106939316,
-0.010939132422208786,
-0.013565585017204285,
-0.025910798460245132,
0.0005963684525340796,
-0.017978379502892494,
0.06455591320991516,
0.03339220955967903,
0.010488125495612621,
0.010435065254569054,
-0.03528467193245888,
-0.0056596966460347176,
-0.03401124104857445,
-0.032171837985515594,
0.007300124503672123,
0.038804296404123306,
-0.05843636766076088,
-0.08206560462713242,
0.011266333982348442,
-0.02173677273094654,
0.11496258527040482,
0.0019698396790772676,
0.025203336030244827,
0.009727603755891323,
-0.004589660093188286,
-0.00764059042558074,
0.013459466397762299,
0.008272884413599968,
-0.02233811467885971,
0.05146786570549011,
-0.015502262860536575,
0.02384147234261036,
0.04301369562745094,
0.04103280231356621,
0.027608707547187805,
0.06784561276435852,
0.016094762831926346,
0.03542616218328476,
0.030014079064130783,
-0.011964952573180199,
-0.0009080938762053847,
0.04962846636772156,
0.014511816203594208,
-0.007835142314434052,
0.04287220165133476,
0.002619820414111018,
0.03293235972523689,
0.01703215017914772,
0.0019300449639558792,
0.012239093892276287,
-0.021170802414417267,
-0.04849652573466301,
0.03990086168050766,
0.026476768776774406,
0.06222128868103027,
-0.048531897366046906,
0.04432249814271927,
0.002962497528642416,
0.016395432874560356,
0.03806145861744881,
0.024407442659139633,
0.00918816402554512,
0.005478409584611654,
0.03848593682050705,
0.0844002291560173,
0.002756891306489706,
0.01538730040192604,
-0.008383425883948803,
0.045843541622161865,
0.03562071546912193,
0.026176096871495247,
0.010992191731929779,
0.04938085377216339,
-0.010567714460194111,
0.0012922236928716302,
0.0725148618221283,
0.040077727288007736,
-0.0010838540038093925,
0.014511816203594208,
-0.03760160878300667,
0.01756274700164795,
-0.033286090940237045,
0.02210818976163864,
-0.04082056134939194,
0.032755494117736816,
-0.0388396680355072,
-0.015254651196300983,
-0.04428712651133537,
0.02966034784913063,
0.0015531003009527922,
-0.0018526663770899177,
0.02637064829468727,
-0.08340977877378464,
-0.0702156126499176,
-0.019968116655945778,
-0.07350531220436096,
-0.03229564428329468,
-0.02683049999177456,
0.010877229273319244,
-0.0672442689538002,
-0.02152453362941742,
-0.016554612666368484,
-0.008193295449018478,
0.011717340908944607,
-0.014219988137483597,
0.04991145059466362,
-0.048744138330221176,
0.013583271764218807,
0.030226318165659904,
-0.03526698425412178,
0.03947638347744942,
-0.06459128856658936,
-0.026653634384274483,
-0.015369613654911518,
0.023947590962052345,
-0.0042403507977724075,
-0.034488774836063385,
-0.017987223342061043,
-0.006597083993256092,
0.07569844275712967,
-0.06713815033435822,
-0.022161249071359634,
0.013132264837622643,
0.029041318222880363,
0.07647664844989777,
0.02122386172413826,
0.07753784209489822,
0.0034422450698912144,
-0.011239803396165371,
0.03820295259356499,
-0.02016266994178295,
0.021913638338446617,
0.020357221364974976,
-0.009966372512280941,
-0.0672442689538002,
-0.005177738144993782,
-0.03155281022191048,
0.030438555404543877,
0.024867292493581772,
-0.01816408894956112,
-0.06338860094547272,
-0.09472917020320892,
0.0358860157430172,
0.00791915412992239,
-0.006636878475546837,
0.03692952170968056,
0.0814288854598999,
0.08949395269155502,
-0.013981219381093979,
0.007936839945614338,
-0.04722309485077858,
0.03222489729523659,
-0.0366111621260643,
-0.040679071098566055,
-0.01973819173872471,
0.01927834190428257,
0.0552881620824337,
-0.04938085377216339,
0.03132288530468941,
0.006384845357388258,
0.040006980299949646,
0.04672786965966225,
0.03898116201162338,
-0.002403160324320197,
0.04938085377216339,
-0.009276596829295158,
0.015661442652344704,
0.03409967198967934,
0.03774310275912285,
-0.012858123518526554,
0.011328236199915409,
0.05359025299549103,
-0.011275176890194416,
-0.04640951380133629,
-0.018323268741369247,
-0.023717666044831276,
-0.009922156110405922,
0.012990772724151611,
0.020233415067195892,
0.040537577122449875,
0.010364319197833538,
-0.026689007878303528,
-0.013715920969843864,
-0.057269055396318436,
0.053307268768548965,
0.01763349212706089,
0.05500517785549164,
0.028793707489967346,
-0.042023248970508575,
-0.021329982206225395,
-0.027608707547187805,
0.010859542526304722,
-0.04432249814271927,
-0.047187719494104385,
-0.010673834010958672,
-0.016413120552897453,
-0.005668540019541979,
0.007507941219955683,
-0.041138920933008194,
-0.04683398827910423,
0.029854899272322655,
0.0007140945526771247,
0.012575138360261917,
0.03295004740357399,
-0.017730768769979477,
-0.02479654550552368,
-0.04092667996883392,
0.04365041106939316,
0.049734584987163544,
-0.021878264844417572,
0.02347005531191826,
0.006252196151763201,
-0.0029138594400137663,
0.0493101067841053,
-0.11758019775152206,
-0.013680548407137394,
-0.0265298280864954,
-0.008993611671030521,
-0.010054804384708405,
-0.05341338738799095,
-0.004092225804924965,
0.03125213831663132,
0.0036677487660199404,
-0.037919968366622925,
0.042766083031892776,
-0.0366111621260643,
0.018889237195253372,
0.08008470386266708,
0.0373539961874485,
-0.00956842489540577,
-0.016837596893310547,
-0.0027281506918370724,
0.024478187784552574,
-0.0265298280864954,
0.021135428920388222,
0.003497515572234988,
-0.026352962478995323,
0.01725323125720024,
0.005871935281902552,
-0.00975413341075182,
-0.02518565021455288,
-0.025539381429553032,
-0.02854609489440918,
0.01732397824525833,
0.029571915045380592,
-0.052281446754932404,
-0.02532714232802391,
0.06211517006158829,
-0.04071444272994995,
0.05139711871743202,
-0.04216473922133446,
-0.02025110274553299,
-0.06568785756826401,
0.019561326131224632,
0.012274467386305332,
0.0053236521780490875,
-0.0056199016980826855,
-0.004894753452390432,
0.003477618331089616,
-0.005018559284508228,
0.0019333611708134413,
0.04863801971077919,
0.04350891709327698,
0.01378666702657938,
-0.02338162250816822,
-0.0003913149703294039,
-0.0038490358274430037,
0.008051802404224873,
-0.04842577874660492,
-0.024619679898023605,
-0.09140410274267197,
-0.07937724888324738,
-0.008542604744434357,
-0.0076184822246432304,
0.009051092900335789,
-0.034630268812179565,
0.00030398761737160385,
-0.0567738302052021,
-0.03593907505273819,
-0.01543151680380106,
-0.01741241104900837,
0.03348064422607422,
0.0433320514857769,
0.046303391456604004,
0.0568092055618763,
-0.10350169986486435,
0.034789446741342545,
-0.020817071199417114,
0.018588565289974213,
0.00547398766502738,
0.053802490234375,
0.06469740718603134,
0.03392280638217926,
0.012575138360261917,
-0.005460722837597132,
-0.04078518971800804,
-0.015148531645536423,
0.04885025694966316,
0.05588950589299202,
-0.03236639127135277,
-0.013096891343593597,
-0.05893159285187721,
-0.07647664844989777,
-0.013105735182762146,
0.025397889316082,
0.045242201536893845,
0.037247877568006516,
0.07598143070936203,
-0.005372290033847094,
0.028351543471217155,
-0.006911020260304213,
0.03383437544107437,
0.015970956534147263,
-0.0004294515820220113,
-0.01762464828789234,
-0.05833024904131889,
0.040466830134391785,
0.01934908702969551,
-0.0001960720110218972,
0.03238407522439957,
0.049663837999105453,
0.009780663065612316,
0.012433646246790886,
-0.008869805373251438,
0.049946822226047516,
0.030898407101631165,
-0.02757333405315876,
-0.0179253201931715,
-0.009152790531516075,
0.00454102223739028,
-0.05051279440522194,
-0.04566667601466179,
0.02242654748260975,
0.015970956534147263,
0.035603027790784836,
0.04442862048745155,
0.046657122671604156,
0.0687299445271492,
0.0007455986924469471,
-0.024690426886081696,
-0.021612966433167458,
-0.012752003967761993,
0.011558162048459053,
-0.05221069976687431,
0.051008015871047974,
0.014370323158800602,
-0.032331015914678574,
-0.003634586464613676,
0.02622915618121624,
-0.07315158098936081,
0.0001404560898663476,
-0.024407442659139633,
-0.047329213470220566,
0.004793055821210146,
0.06897754967212677,
0.03554996848106384,
-0.010488125495612621,
-0.016713792458176613,
0.04273071140050888,
-0.0019985802937299013,
0.022320428863167763,
0.004525546450167894,
-0.02210818976163864,
0.006570553872734308,
-0.01106293871998787,
-0.0073310756124556065,
-0.05546502768993378,
0.007777661085128784,
-0.013813196681439877,
0.0052838572300970554,
-0.0627872571349144,
-0.0022539300844073296,
0.006154919974505901,
0.03827369958162308,
-0.024195203557610512,
0.017686551436781883,
-0.061018604785203934,
0.0679871067404747,
-0.009108574129641056,
-0.012168347835540771,
0.03646967187523842,
-0.025804679840803146,
0.033374521881341934,
-0.028210051357746124,
0.017456626519560814,
-0.013203010894358158,
-0.01038200594484806,
-0.0440748892724514,
-0.009780663065612316,
-0.04923935979604721,
-0.016545768827199936,
0.027325723320245743,
0.00043221510713919997,
0.059214577078819275,
-0.028528409078717232,
0.009807192720472813,
0.029306616634130478,
-0.041740261018276215,
-0.012009168975055218,
0.027750199660658836,
-0.0006621403153985739,
0.013441779650747776,
-0.014317263849079609,
-0.04050220549106598,
-0.019472893327474594,
0.031782735139131546,
0.014971666038036346,
0.04191712662577629,
0.044640857726335526,
0.028263110667467117,
0.030650794506072998,
-0.07506172358989716,
-0.02182520553469658,
0.03464795649051666,
-0.011805773712694645,
0.016466179862618446,
0.011001035571098328,
-0.011602378450334072,
0.01860625296831131,
0.0052042677998542786,
-0.05422696843743324,
-0.028793707489967346,
0.025804679840803146,
-0.04297832027077675,
0.01360095851123333,
0.018323268741369247,
-0.009771820157766342,
-0.04899175092577934,
-0.045985035598278046,
-0.031269822269678116,
0.012557451613247395,
-0.03756623715162277,
0.0028762754518538713,
0.01053234189748764,
-0.01337103359401226,
-0.05037130042910576,
-0.06193830445408821,
0.049203988164663315,
-0.005310387350618839,
0.08036769181489944,
0.022585727274417877,
-0.009024563245475292,
-0.02143610082566738,
0.010408535599708557,
0.02175445854663849,
0.014193457551300526,
0.025433260947465897,
-0.001138571766205132,
-0.055323533713817596,
-0.020799385383725166,
0.000489420082885772,
0.022550353780388832,
-0.008781373500823975,
-0.02750258892774582,
-0.0025313878431916237,
-0.007220535073429346,
0.06763337552547455,
-0.027838632464408875,
-0.051149509847164154,
-0.02272721938788891,
0.022691845893859863,
0.029872586950659752,
-0.02674206718802452,
0.013353346846997738,
-0.05238756537437439,
-0.02532714232802391,
-0.0009959739400073886,
-0.10760498046875,
0.0067474194802343845,
0.03415273129940033,
0.040679071098566055,
0.056455474346876144,
0.01225678063929081,
0.002345678862184286,
-0.004726731218397617,
-0.049734584987163544,
0.02907669171690941,
-0.01370707806199789,
-0.001711173914372921,
-0.019525952637195587,
-0.02285102568566799,
-0.05224607512354851,
-0.02046333998441696,
0.04057294875383377,
-0.01273431722074747,
0.037177130579948425,
-0.04096205532550812,
0.01860625296831131,
-0.020144982263445854,
-0.01711173914372921,
0.04941622540354729,
-0.04311981424689293,
-0.06777486950159073,
-0.11291094869375229,
-0.031199077144265175,
0.07739634811878204,
0.00511583499610424,
-0.015714501962065697,
0.061018604785203934,
-0.041952501982450485,
-0.047718316316604614,
0.008210982196033001,
-0.006937549915164709,
0.045772798359394073,
0.026653634384274483,
-0.002447376726195216,
-0.051892343908548355,
0.011496258899569511,
-0.0006455591646954417,
-0.02741415612399578,
-0.013742450624704361,
-0.0560309961438179,
-0.035461537539958954,
-0.008936130441725254,
0.05206920951604843,
0.02263878658413887,
-0.028899826109409332,
-0.0582595020532608,
-0.02166602574288845,
-0.020074237138032913,
-0.04959309101104736,
-0.0582948736846447,
0.008807903155684471,
-0.023328561335802078,
-0.021206175908446312,
-0.027078110724687576,
0.016386590898036957,
0.015475733205676079,
0.042553845793008804,
0.0151308448985219,
-0.04050220549106598,
-0.021878264844417572,
-0.04945160076022148,
-0.010037118569016457,
-0.0025756042450666428,
0.0054916744120419025,
0.04064369574189186,
0.02900594472885132,
-0.009320813231170177,
0.04626801982522011,
0.02361154742538929,
0.015634911134839058,
-0.0015575219877064228,
0.03728325292468071,
-0.01763349212706089,
-0.005168894771486521,
-0.044039513915777206,
0.07184277474880219,
-0.013211854733526707,
-0.020958563312888145,
-0.003988317679613829,
-0.02242654748260975,
0.016855284571647644,
0.002944811014458537,
0.007883780635893345,
-0.01543151680380106,
-0.08157037943601608,
0.0019499423215165734,
0.022532667964696884,
-0.02249729447066784,
-0.019755879417061806,
-0.0017752876738086343,
0.05932069569826126,
0.0005902886623516679,
-0.01173502765595913,
-0.05818875506520271,
-0.01071805041283369,
0.027308035641908646,
0.0302616897970438,
0.040148474276065826,
0.04969920963048935,
-0.014140398241579533,
-0.0235408004373312,
-0.030173256993293762,
0.024566620588302612,
0.00581003213301301,
0.038450565189123154,
-0.013928160071372986,
-0.011425512842833996,
-0.03376362845301628,
-0.07315158098936081,
0.020339535549283028,
0.022161249071359634,
-0.041280411183834076,
0.013379876501858234,
0.00888749212026596,
-0.004748839419335127,
0.026176096871495247,
0.0025159120559692383,
0.0194198340177536,
0.00661034882068634,
-0.021842891350388527,
0.01680222526192665,
-0.04672786965966225,
-0.043367426842451096,
0.10795871168375015,
0.04828428849577904,
-0.025645500048995018,
-0.025610126554965973,
-0.02973109483718872,
-0.01823483593761921,
-0.02398296445608139,
-0.008865384384989738,
-0.025291768833994865,
-0.04365041106939316,
0.082207091152668,
-0.0005908414022997022,
-0.0792357549071312,
-0.00900687649846077,
-0.01460909191519022,
0.02773251384496689,
-0.025504007935523987,
-0.06975576281547546,
-0.031269822269678116,
0.0013972376473248005,
0.010435065254569054,
-0.04506533592939377,
0.06473278254270554,
0.002657404402270913,
0.027467215433716774,
0.008865384384989738,
0.004908018279820681,
0.027078110724687576,
-0.04626801982522011,
-0.010806483216583729,
-0.03401124104857445,
-0.012973085977137089,
0.0021212808787822723,
0.041952501982450485,
-0.0025733932852745056,
0.015148531645536423,
0.0051069920882582664,
-0.008825589902698994,
0.05879009887576103,
0.02039259485900402,
0.07591067999601364,
-0.0508311502635479,
0.04619727283716202,
0.008268463425338268,
-0.05514666810631752,
0.05500517785549164,
-0.011664280667901039,
0.030880719423294067,
-0.012805063277482986,
-0.09543663263320923,
0.0031880009919404984,
0.05716293677687645,
0.006057644262909889,
0.02944810874760151,
0.0620090514421463,
-0.05051279440522194,
0.01786341704428196
] |
18,338 | plotly_football_pitch.pitch_background | VerticalStripesBackground | Vertical stripes using specified colour cycle. | class VerticalStripesBackground(PitchBackground):
"""Vertical stripes using specified colour cycle."""
def __init__(self, colours: List[str], num_stripes: int = 10):
"""Vertical stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of vertical stripes to use, default 10.
"""
self.colours = colours
self.num_stripes = num_stripes
def add_background(
self,
fig: go.Figure,
dimensions: PitchDimensions,
orientation: PitchOrientation,
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_metres = dimensions.pitch_length_metres / self.num_stripes
colour_cycle = itertools.cycle(self.colours)
for index, colour in zip(range(self.num_stripes), colour_cycle):
x0 = index * stripe_metres
x1 = x0 + stripe_metres
stripe = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": x0,
"x1": x1,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe,
keys_to_switch=[("x0", "y0"), ("x1", "y1")],
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (colours: List[str], num_stripes: int = 10) | [
0.017427612096071243,
-0.10483255982398987,
-0.07198786735534668,
0.010239500552415848,
-0.04316425323486328,
0.06625872850418091,
-0.038858503103256226,
0.06152596324682236,
-0.01223224401473999,
0.0122767249122262,
0.038182392716407776,
0.04213229566812515,
0.04675830900669098,
-0.006067193113267422,
-0.004777247551828623,
-0.004488121718168259,
0.07010187953710556,
0.0441606268286705,
0.0639813095331192,
-0.0770053118467331,
0.06864290684461594,
0.0021728912834078074,
0.04668714106082916,
0.03428586944937706,
-0.015523829497396946,
0.028147505596280098,
-0.030424926429986954,
-0.004808383993804455,
-0.06497768312692642,
-0.00744610046967864,
-0.0107021015137434,
0.008091073483228683,
-0.013095173053443432,
0.04184762015938759,
0.03273793309926987,
-0.023628247901797295,
-0.03811122477054596,
0.025158390402793884,
-0.1018434390425682,
0.03063843585550785,
0.07579543441534042,
0.03528223931789398,
0.05654410645365715,
-0.06095660850405693,
0.009403259493410587,
0.019037820398807526,
0.015692858025431633,
-0.009082997217774391,
0.00896734744310379,
-0.04668714106082916,
0.06184622645378113,
-0.0752260759472847,
-0.00948332529515028,
0.0531635582447052,
0.018237164244055748,
-0.006342974491417408,
-0.006667685229331255,
-0.018041448667645454,
0.025069428607821465,
0.0351221077144146,
0.00392543850466609,
-0.0491068996489048,
0.0066187563352286816,
0.04017513617873192,
0.031118828803300858,
-0.009296505711972713,
-0.0023441428784281015,
-0.03779096156358719,
0.002473137341439724,
-0.0378265455365181,
0.029339592903852463,
0.0013155222404748201,
0.018842104822397232,
0.018717557191848755,
-0.010292877443134785,
-0.016600267961621284,
-0.017267480492591858,
0.023823963478207588,
0.06721951812505722,
-0.03704368323087692,
-0.03432145342230797,
0.005084165371954441,
0.01773008145391941,
0.010310669429600239,
0.06914108991622925,
0.002428656443953514,
0.020283285528421402,
-0.026065800338983536,
0.0024041919969022274,
0.03779096156358719,
-0.03254221752285957,
0.00835351087152958,
0.00170917809009552,
-0.012419063597917557,
0.0684649795293808,
-0.033111572265625,
0.013397643342614174,
-0.004361351020634174,
-0.0035228864289820194,
0.0034161321818828583,
-0.02238278277218342,
-0.059533219784498215,
-0.04967625439167023,
-0.009643456898629665,
0.012347894720733166,
-0.005884821526706219,
-0.02337915450334549,
0.01493668183684349,
-0.06906992197036743,
-0.008900625631213188,
0.06109894812107086,
-0.030745189636945724,
-0.06693483889102936,
-0.0017836835468187928,
0.017516573891043663,
-0.015274737030267715,
-0.032951440662145615,
0.01258809119462967,
-0.021724466234445572,
-0.05312797427177429,
0.011155806481838226,
-0.030834151431918144,
0.04245255887508392,
0.01910899020731449,
-0.010524177923798561,
-0.006974603049457073,
-0.02058575488626957,
0.029855571687221527,
-0.025745537132024765,
0.011351522989571095,
-0.0477546826004982,
0.03143909201025963,
-0.06042283773422241,
-0.06960369646549225,
0.002726678503677249,
-0.007357138674706221,
0.09679041057825089,
0.001094785868190229,
0.01398479100316763,
0.014385119080543518,
0.02514059841632843,
-0.01708066090941429,
0.01626221276819706,
0.0018192683346569538,
-0.02352149412035942,
0.06497768312692642,
0.0241086408495903,
0.0111469104886055,
0.050743795931339264,
0.04352010041475296,
-0.007797499652951956,
0.06302051991224289,
0.04932040721178055,
0.03864499554038048,
0.03631419688463211,
-0.02514059841632843,
-0.03981928899884224,
0.08220068365335464,
0.0026443887036293745,
0.028645692393183708,
0.010604243725538254,
-0.02040783129632473,
0.00027967357891611755,
-0.0073615871369838715,
-0.006872297264635563,
0.036652252078056335,
0.01223224401473999,
-0.07401619851589203,
0.03417911380529404,
0.02540748380124569,
0.04405387118458748,
-0.04163411259651184,
0.02581670694053173,
0.0041656349785625935,
0.04220346733927727,
0.03640315681695938,
0.0053510507568717,
-0.01358446292579174,
0.018575219437479973,
-0.0007194783538579941,
0.02910829335451126,
-0.0026221482548862696,
-0.01065762061625719,
-0.02846776880323887,
0.03227533400058746,
0.049854177981615067,
0.033805474638938904,
0.0001451189018553123,
0.05010327324271202,
0.0022818695288151503,
-0.011120221577584743,
0.05914178863167763,
0.0910256877541542,
0.013860244303941727,
0.06294935196638107,
-0.042274635285139084,
0.013388747349381447,
-0.01799696683883667,
-0.003091421676799655,
-0.029428554698824883,
0.03298702463507652,
-0.02361045591533184,
0.008046592585742474,
-0.06134803965687752,
0.029926741495728493,
0.014296157285571098,
0.02067471668124199,
0.029713233932852745,
-0.10291098058223724,
-0.023272400721907616,
-0.03476626053452492,
-0.024357734248042107,
0.0346950925886631,
-0.010168330743908882,
0.014714277349412441,
-0.057291384786367416,
-0.0039832633920013905,
0.00952780619263649,
-0.019891852512955666,
0.0011798555497080088,
0.0006483089528046548,
0.05472928285598755,
-0.08953113108873367,
0.007882012985646725,
0.025425275787711143,
-0.034570544958114624,
0.009928134270012379,
-0.04490790516138077,
-0.046651553362607956,
-0.05465811491012573,
0.012570299208164215,
-0.03014024905860424,
-0.021333033218979836,
0.0020694732666015625,
0.003207071917131543,
0.027506981045007706,
-0.0540531761944294,
-0.050032101571559906,
0.00548449344933033,
0.01623552478849888,
0.0369369275867939,
0.019624967128038406,
0.0509217195212841,
-0.0028089680708944798,
0.017045076936483383,
0.048822224140167236,
0.015283633023500443,
0.01788131706416607,
-0.008438024669885635,
-0.009830276481807232,
-0.044801149517297745,
-0.026973210275173187,
-0.006147258915007114,
0.02199135161936283,
0.018450671806931496,
-0.019802890717983246,
-0.036474328488111496,
-0.07636478543281555,
0.012917249463498592,
-0.0066498927772045135,
-0.004107810091227293,
0.012205556035041809,
0.024037471041083336,
0.06526236236095428,
0.019073404371738434,
0.01747209206223488,
-0.005702449940145016,
0.030247002840042114,
-0.06067192927002907,
-0.025265144184231758,
0.029766609892249107,
0.004448088817298412,
0.0039610229432582855,
-0.025692161172628403,
0.013344266451895237,
0.02152875065803528,
0.03533561900258064,
0.04537050426006317,
0.036652252078056335,
0.004023296292871237,
0.04636687785387039,
-0.042559314519166946,
-0.002662181155756116,
-0.0009902557358145714,
0.07415853440761566,
-0.03143909201025963,
0.015710650011897087,
-0.01852184161543846,
0.009910342283546925,
-0.023841755464673042,
-0.019660552963614464,
-0.051241982728242874,
-0.0006171723362058401,
0.023539286106824875,
0.04045981541275978,
0.028361015021800995,
-0.019713928923010826,
-0.02035445347428322,
-0.04590427502989769,
-0.07529724389314651,
0.059853482991456985,
0.010470801033079624,
0.05661527439951897,
0.030353758484125137,
-0.013486605137586594,
-0.02099497988820076,
0.010808855295181274,
-0.010239500552415848,
-0.004559291061013937,
-0.06060076132416725,
-0.009376571513712406,
0.00269109383225441,
-0.011529446579515934,
-0.0020038639195263386,
-0.06255792081356049,
-0.04747000336647034,
-0.0061250184662640095,
0.015310321934521198,
0.035833802074193954,
0.05807424709200859,
-0.01628890074789524,
-0.03417911380529404,
-0.06010257452726364,
0.0707424059510231,
0.04650921747088432,
-0.0017692273249849677,
0.032951440662145615,
0.008438024669885635,
-0.026101384311914444,
0.05433785170316696,
-0.08526096493005753,
0.0007923158118501306,
-0.05939088016748428,
0.024215394631028175,
-0.020710300654172897,
-0.07056447863578796,
-0.025603199377655983,
0.0037497389130294323,
-0.0023886237759143114,
-0.023717209696769714,
0.04928482323884964,
-0.0423458069562912,
-0.0007789715309627354,
0.04266606643795967,
0.048822224140167236,
-0.00943884439766407,
0.017899109050631523,
0.009189750999212265,
0.02752477303147316,
0.06825147569179535,
0.08269886672496796,
0.014785447157919407,
-0.037506286054849625,
0.03622523695230484,
-0.004763903096318245,
-0.04035305976867676,
-0.019518213346600533,
-0.038182392716407776,
-0.027809450402855873,
0.0061650509014725685,
0.01990964449942112,
-0.02161771059036255,
-0.01747209206223488,
0.07038655877113342,
-0.032826896756887436,
0.012018735520541668,
-0.030264796689152718,
-0.010025992058217525,
-0.0644083246588707,
0.03341404348611832,
-0.02558540739119053,
-0.004777247551828623,
0.02693762630224228,
-0.0026666291523724794,
0.009243128821253777,
-0.004136722534894943,
0.0029201703146100044,
0.010568658821284771,
0.09721742570400238,
-0.003178159473463893,
-0.008206724189221859,
-0.015612791292369366,
0.008847248740494251,
0.01455414667725563,
-0.027827244251966476,
-0.010079368948936462,
-0.05672203004360199,
-0.060885440558195114,
0.03654549643397331,
-0.05017444118857384,
0.012534714303910732,
-0.01687604933977127,
0.0270265880972147,
-0.05063704401254654,
-0.0075750951655209064,
0.0028601211961358786,
-0.019429251551628113,
0.04967625439167023,
0.07472789287567139,
0.024215394631028175,
0.0518113374710083,
-0.08191600441932678,
-0.004456984810531139,
-0.0009507789509370923,
-0.012250036932528019,
-0.011182495392858982,
0.08191600441932678,
0.08611500263214111,
0.026457231491804123,
0.008349062874913216,
-0.008300133980810642,
-0.01973172277212143,
-0.008091073483228683,
0.004915138240903616,
0.06600964069366455,
-0.04152735695242882,
-0.021973557770252228,
-0.024589035660028458,
-0.060885440558195114,
0.0018859896808862686,
0.025941254571080208,
0.05220276862382889,
0.046295709908008575,
0.04928482323884964,
0.03140350803732872,
-0.00823341216892004,
-0.01829054020345211,
0.020923810079693794,
0.02487371303141117,
0.03779096156358719,
0.023450324311852455,
-0.06906992197036743,
0.003264897270128131,
0.011066844686865807,
-0.018237164244055748,
0.010159434750676155,
0.06447949260473251,
0.026777494698762894,
0.019891852512955666,
-0.023663831874728203,
0.03704368323087692,
0.03257780149579048,
-0.015559414401650429,
-0.007962078787386417,
0.02788062021136284,
0.0008145562605932355,
-0.057469308376312256,
-0.047647926956415176,
0.006334078498184681,
-0.003687465563416481,
-0.018014758825302124,
0.04387594759464264,
0.02914387732744217,
0.03432145342230797,
-0.009429948404431343,
-0.046865064650774,
0.00460821995511651,
-0.03149246796965599,
-0.011911981739103794,
-0.03391223028302193,
0.06807354837656021,
0.028645692393183708,
-0.03227533400058746,
-0.013095173053443432,
0.026386063545942307,
-0.050530288368463516,
0.0011170263169333339,
-0.012677052989602089,
-0.05131315067410469,
-0.013273096643388271,
0.028912577778100967,
0.022863175719976425,
-0.0073704831302165985,
-0.002604356035590172,
0.03368092700839043,
0.0017158502014353871,
-0.008282341063022614,
-0.026386063545942307,
-0.04302191361784935,
-0.016271108761429787,
-0.029980119317770004,
-0.002857896964997053,
-0.042096711695194244,
-0.004183427430689335,
-0.014758758246898651,
0.0021328586153686047,
-0.053590573370456696,
0.0014122681459411979,
0.018539633601903915,
-0.010195019654929638,
-0.05661527439951897,
0.005689105484634638,
-0.04355568438768387,
0.07213021069765091,
-0.05472928285598755,
-0.022400574758648872,
0.03442820906639099,
-0.017036180943250656,
0.06874965876340866,
-0.04359126836061478,
0.019891852512955666,
0.020710300654172897,
0.005328810308128595,
-0.052416279911994934,
-0.009990407153964043,
-0.040032800287008286,
0.005546766798943281,
0.03275572508573532,
0.005960438866168261,
0.07131175696849823,
0.007232592441141605,
0.03014024905860424,
0.014073752798140049,
-0.0436980240046978,
-0.01360225584357977,
0.025336313992738724,
-0.02279200777411461,
0.020336661487817764,
0.01738313026726246,
-0.047505587339401245,
-0.015105709433555603,
0.016893841326236725,
0.0351221077144146,
0.03369871899485588,
0.03764862194657326,
0.07077798992395401,
-0.006614307872951031,
-0.08113314211368561,
0.0028378807473927736,
0.034748468548059464,
-0.0025620991364121437,
-0.0007828636444173753,
-0.005689105484634638,
0.013726801611483097,
-0.008371302857995033,
-0.023076685145497322,
-0.0387517511844635,
-0.03195507079362869,
0.016386758536100388,
-0.0689275860786438,
0.027453603222966194,
0.011903085745871067,
-0.004307974129915237,
-0.021368619054555893,
-0.06334078311920166,
-0.005075269378721714,
0.03590497374534607,
-0.03779096156358719,
-0.02199135161936283,
0.023272400721907616,
-0.006191739812493324,
-0.028218675404787064,
-0.03425028547644615,
0.02364603988826275,
-0.006476417183876038,
0.06326961517333984,
-0.016840463504195213,
-0.02190238982439041,
-0.024215394631028175,
0.0409935861825943,
0.046473633497953415,
0.024001887068152428,
0.025354105979204178,
-0.06700600683689117,
-0.022987723350524902,
0.000607720110565424,
0.0012521370081230998,
0.013255304656922817,
0.009269816800951958,
0.007917597889900208,
0.023432532325387,
-0.026973210275173187,
0.07148968428373337,
-0.016813775524497032,
-0.03672342002391815,
-0.03179493919014931,
0.03928552195429802,
0.019536005333065987,
0.0017547709867358208,
-0.05960439145565033,
-0.05312797427177429,
-0.011155806481838226,
0.026884248480200768,
-0.11152248084545135,
0.01320192776620388,
-0.00008270665421150625,
0.013397643342614174,
0.0644083246588707,
0.02599463053047657,
0.01684935949742794,
-0.01805924065411091,
-0.024606827646493912,
0.015897469595074654,
-0.012677052989602089,
-0.03143909201025963,
0.017979174852371216,
-0.011235872283577919,
-0.03661666810512543,
-0.0033071539364755154,
0.033947814255952835,
-0.03280910104513168,
0.059533219784498215,
-0.010337358340620995,
0.02302330732345581,
-0.02554982155561447,
-0.016422344371676445,
0.059177372604608536,
-0.07138293236494064,
-0.036652252078056335,
-0.08362407237291336,
-0.011974254623055458,
0.057469308376312256,
-0.0001426168455509469,
-0.030247002840042114,
0.03522886335849762,
-0.03179493919014931,
-0.06013816222548485,
0.007454996928572655,
0.0024909297935664654,
0.01049748994410038,
0.018717557191848755,
-0.002335246652364731,
-0.02067471668124199,
0.016244420781731606,
-0.021421995013952255,
0.009723521769046783,
-0.01355777494609356,
-0.06077868491411209,
-0.029428554698824883,
-0.018842104822397232,
0.04102917015552521,
-0.014767655171453953,
-0.02325460873544216,
-0.034125737845897675,
-0.04063773900270462,
-0.006614307872951031,
-0.03213299438357353,
-0.044623225927352905,
0.023325776681303978,
0.0033471868373453617,
-0.03640315681695938,
-0.01602201536297798,
0.008607052266597748,
0.043947115540504456,
-0.015132398344576359,
-0.040886830538511276,
-0.02008756808936596,
-0.013006211258471012,
-0.04796819016337395,
0.008491401560604572,
-0.013611151836812496,
0.00664544478058815,
0.031563639640808105,
0.00520426407456398,
-0.039712537080049515,
0.038004469126462936,
0.033858850598335266,
0.002087265718728304,
0.01896665059030056,
0.007659608963876963,
-0.0021628830581903458,
0.0035006459802389145,
-0.05832333862781525,
0.06999512761831284,
0.02478475123643875,
-0.03661666810512543,
0.0666501596570015,
0.011155806481838226,
0.011351522989571095,
-0.02748918905854225,
0.02199135161936283,
-0.0027177822776138783,
-0.07664946466684341,
-0.031510259956121445,
0.022507328540086746,
-0.0626290887594223,
-0.030834151431918144,
-0.006240668706595898,
0.05668644234538078,
-0.01490999385714531,
0.0029802194330841303,
-0.038680579513311386,
-0.03576263412833214,
0.05149107426404953,
0.02022990770637989,
0.03346741944551468,
0.06551145017147064,
-0.005724690388888121,
-0.03428586944937706,
-0.0509217195212841,
0.036243028938770294,
0.030567266047000885,
0.05202484503388405,
-0.007001291960477829,
-0.0401039682328701,
-0.05252303183078766,
-0.02788062021136284,
0.006356318946927786,
0.03432145342230797,
-0.053092386573553085,
-0.004392487462610006,
-0.030620643869042397,
-0.01687604933977127,
0.028396598994731903,
-0.01311296597123146,
0.033004820346832275,
0.02076367847621441,
-0.04643804579973221,
0.03419690579175949,
-0.019927438348531723,
-0.03707926720380783,
0.07102708518505096,
0.0441606268286705,
-0.04220346733927727,
-0.0378265455365181,
-0.0432354211807251,
-0.051241982728242874,
-0.01770339347422123,
-0.027862828224897385,
-0.02208031341433525,
-0.03725719079375267,
0.10006420314311981,
-0.03197286278009415,
-0.014607523567974567,
-0.055974747985601425,
-0.0012009839992970228,
0.02067471668124199,
0.015755129978060722,
-0.05017444118857384,
-0.05017444118857384,
0.011431587859988213,
0.006841160356998444,
-0.017374234274029732,
0.0346950925886631,
0.007281521335244179,
0.029624272137880325,
-0.01928691379725933,
-0.0202654916793108,
0.013531086035072803,
-0.021457580849528313,
-0.03519327938556671,
-0.027062172070145607,
-0.03314715623855591,
0.005689105484634638,
0.024589035660028458,
0.04608219861984253,
0.03793330118060112,
0.02225823700428009,
0.05010327324271202,
0.029588686302304268,
0.03054947406053543,
0.049355994910001755,
-0.0770053118467331,
0.03289806470274925,
0.013682320713996887,
-0.041740864515304565,
0.04181203618645668,
-0.03839590400457382,
-0.028218675404787064,
-0.06739743798971176,
-0.09045633673667908,
-0.012810495682060719,
0.044125039130449295,
0.041776448488235474,
0.07415853440761566,
0.06551145017147064,
-0.034979771822690964,
0.03220416232943535
] |
18,339 | plotly_football_pitch.pitch_background | __init__ | Vertical stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of vertical stripes to use, default 10.
| def __init__(self, colours: List[str], num_stripes: int = 10):
"""Vertical stripes using specified colour cycle.
Args:
colours (list[str]): A list of colours to cycle through for the
stripes.
num_stripes (int): Number of vertical stripes to use, default 10.
"""
self.colours = colours
self.num_stripes = num_stripes
| (self, colours: List[str], num_stripes: int = 10) | [
0.006423277780413628,
-0.04591122642159462,
-0.08359207212924957,
0.00018563093908596784,
-0.03871858865022659,
0.03193746879696846,
-0.006383020430803299,
0.032939426600933075,
-0.03193746879696846,
0.05084945634007454,
-0.0013117174385115504,
0.0482729896903038,
0.03467496484518051,
0.029754625633358955,
0.03161541000008583,
-0.00252055493183434,
0.06741757690906525,
0.03832495957612991,
0.05521513894200325,
-0.017364319413900375,
0.019860273227095604,
0.060833271592855453,
0.019430862739682198,
0.054857295006513596,
-0.023134535178542137,
0.06323082000017166,
0.014000598341226578,
0.046591129153966904,
-0.05217347666621208,
-0.028573745861649513,
-0.02041492983698845,
0.017337482422590256,
-0.05507200211286545,
0.07378717511892319,
0.05267445370554924,
-0.0021079175639897585,
0.0030304810497909784,
0.06480532884597778,
-0.11243420094251633,
0.06480532884597778,
0.0920371562242508,
-0.005032164044678211,
0.03936270624399185,
-0.017409050837159157,
-0.011075234040617943,
0.028251687064766884,
0.027858059853315353,
-0.010636876337230206,
-0.0517798475921154,
-0.03907642886042595,
0.018554147332906723,
-0.01794581487774849,
-0.002576467813923955,
0.01088736578822136,
0.03921956568956375,
0.05521513894200325,
0.011567267589271069,
0.024798503145575523,
0.046734265983104706,
0.030541880056262016,
-0.02621198259294033,
-0.040615152567625046,
0.02640879712998867,
-0.007877013646066189,
0.01008221972733736,
0.012372413650155067,
-0.03224163502454758,
0.02451222948729992,
0.0461617186665535,
0.0028560326900333166,
0.049775928258895874,
0.0572548434138298,
-0.02002130262553692,
0.001547669991850853,
0.00277328141964972,
-0.007143436465412378,
-0.033780358731746674,
0.02907472476363182,
0.019824489951133728,
-0.03474653139710426,
-0.011746188625693321,
0.03412030637264252,
-0.0006072144606150687,
0.00041459439671598375,
0.0624435618519783,
-0.015879273414611816,
-0.001165225519798696,
-0.02685610018670559,
-0.07146120071411133,
0.05575190484523773,
-0.0752185508608818,
-0.00909367948770523,
-0.036714669317007065,
-0.01225611474364996,
-0.017740055918693542,
-0.005036636721342802,
0.031168105080723763,
-0.028502175584435463,
0.007367087993770838,
-0.013615917414426804,
0.02658771723508835,
-0.070709727704525,
-0.005922297947108746,
-0.040149956941604614,
-0.03961319476366043,
-0.06741757690906525,
-0.07536168396472931,
0.0196455679833889,
-0.021094830706715584,
-0.00015501859888900071,
0.011987732723355293,
0.015619836747646332,
0.012622904032468796,
-0.007774134166538715,
0.0006424395833164454,
0.011289939284324646,
-0.017015423625707626,
0.00681243184953928,
0.024959532544016838,
-0.05943768471479416,
0.016246061772108078,
-0.05532249063253403,
-0.014528416097164154,
0.08659794926643372,
0.020844340324401855,
0.023134535178542137,
-0.019412970170378685,
0.021577918902039528,
0.021738948300480843,
0.03243844583630562,
0.030971292406320572,
-0.00021330783783923835,
-0.0427979938685894,
-0.04684161767363548,
0.036965157836675644,
-0.039434272795915604,
0.005474994424730539,
-0.020701203495264053,
0.0011210542870685458,
-0.01528883259743452,
0.0443367175757885,
-0.011486752890050411,
-0.023886004462838173,
0.008176707662642002,
-0.0336730033159256,
0.10277244448661804,
-0.007492332719266415,
0.0029298376757651567,
0.008789513260126114,
0.08917441964149475,
-0.03832495957612991,
0.07822442799806595,
0.07088865339756012,
-0.0030125887133181095,
0.004710105247795582,
-0.02401125058531761,
-0.029504135251045227,
0.01860782317817211,
0.023206103593111038,
0.013097045011818409,
-0.0008901339024305344,
0.01612081751227379,
-0.03556957095861435,
0.008297478780150414,
-0.018554147332906723,
0.026229875162243843,
-0.050634752959012985,
-0.05496465042233467,
0.005761268548667431,
0.012461874634027481,
0.029772518202662468,
-0.10248617082834244,
-0.005993866361677647,
0.030345067381858826,
0.029575705528259277,
0.00681243184953928,
-0.033851925283670425,
0.0019368239445611835,
0.0089102853089571,
-0.04583965986967087,
-0.011764081194996834,
0.002802356146275997,
0.019395077601075172,
-0.07210531830787659,
0.03739456832408905,
0.0004534538893494755,
0.017248021438717842,
0.04154554381966591,
0.04823720455169678,
-0.022347280755639076,
0.011361507698893547,
0.01644287444651127,
0.04036466404795647,
0.03832495957612991,
0.06602199375629425,
-0.06147738918662071,
0.019985519349575043,
-0.018947774544358253,
0.008762674406170845,
-0.023903897032141685,
-0.011620943434536457,
0.02223992720246315,
-0.011111018247902393,
-0.09912244975566864,
0.05321121960878372,
0.013866406865417957,
-0.04108034819364548,
0.004705632571130991,
0.0031311241909861565,
-0.010466900654137135,
0.00008372961747227237,
0.01135256141424179,
0.06301610916852951,
0.017632702365517616,
0.02810855023562908,
-0.04909602925181389,
0.05059896782040596,
-0.015458807349205017,
-0.01297180075198412,
-0.017409050837159157,
0.06702394783496857,
0.0156466756016016,
-0.059330329298973083,
-0.005953609012067318,
-0.007456548511981964,
0.005126097705215216,
-0.023957572877407074,
-0.033655110746622086,
-0.05256710201501846,
0.0031467797234654427,
-0.062085721641778946,
-0.039577409625053406,
-0.013070207089185715,
0.06695238500833511,
0.02088012546300888,
-0.044122014194726944,
-0.03191957622766495,
-0.01072633732110262,
-0.0572548434138298,
-0.0033391204196959734,
-0.023850221186876297,
0.02340291626751423,
0.01453736238181591,
0.002003919566050172,
0.07049502432346344,
0.0517798475921154,
-0.010252195410430431,
0.04573230445384979,
-0.04362103343009949,
0.03240266442298889,
-0.07303570955991745,
-0.0373230017721653,
0.010565307922661304,
-0.0072865732945501804,
-0.04018574208021164,
0.028394823893904686,
-0.045696523040533066,
-0.02243674173951149,
0.02835903875529766,
-0.014430009759962559,
0.03499702364206314,
-0.04959700629115105,
0.03122178092598915,
0.08137344568967819,
0.03576638549566269,
0.03556957095861435,
-0.01417951937764883,
0.001555497758090496,
-0.027929628267884254,
-0.028824234381318092,
0.06376758217811584,
0.02426173910498619,
0.016800718382000923,
0.00634276308119297,
-0.005926770623773336,
0.03582005947828293,
0.012980746105313301,
-0.003538170363754034,
-0.007295519579201937,
-0.0033301743678748608,
0.059008270502090454,
-0.06022493913769722,
-0.026766639202833176,
0.010923150926828384,
0.04963279142975807,
0.0022901936899870634,
0.017632702365517616,
-0.009840676560997963,
-0.002873924793675542,
-0.027339186519384384,
0.028251687064766884,
-0.021935760974884033,
0.07006561011075974,
0.030398743227124214,
0.08616853505373001,
0.0107352826744318,
0.0015443151351064444,
0.027088697999715805,
-0.06144160404801369,
-0.050241123884916306,
0.014886259101331234,
-0.07715090364217758,
0.07096022367477417,
0.015011504292488098,
-0.059079840779304504,
-0.029772518202662468,
0.012810771353542805,
-0.002844850067049265,
0.0390048623085022,
-0.05904405564069748,
0.03141859546303749,
0.06802590936422348,
0.0024847707245498896,
0.05560876429080963,
0.015530375763773918,
-0.051672495901584625,
-0.05092102661728859,
-0.032867856323719025,
0.0018440084531903267,
0.043477896600961685,
0.0004450669512152672,
-0.06137003377079964,
-0.021291645243763924,
0.035158053040504456,
0.020074978470802307,
0.0680616945028305,
0.022723015397787094,
0.01010905858129263,
-0.015306724235415459,
0.037108294665813446,
-0.050813671201467514,
-0.028251687064766884,
-0.006722970865666866,
0.02816222608089447,
0.00235728919506073,
-0.07614894211292267,
-0.011111018247902393,
0.027088697999715805,
-0.013544348999857903,
-0.027750706300139427,
0.03979211673140526,
-0.02880634367465973,
-0.019752921536564827,
-0.004213598556816578,
0.03503280505537987,
-0.035158053040504456,
0.015109910629689693,
-0.053032297641038895,
0.012381359934806824,
0.07224845141172409,
0.06620091199874878,
0.01579875871539116,
-0.03245633840560913,
0.06434012949466705,
0.04183182120323181,
0.010091166011989117,
-0.025782572105526924,
-0.008015678264200687,
-0.008413777686655521,
-0.03206271305680275,
0.029056832194328308,
0.06841953843832016,
0.016281845048069954,
0.02680242247879505,
-0.0021839591208845377,
0.013195452280342579,
-0.028824234381318092,
-0.02803697995841503,
-0.024333307519555092,
0.04118770360946655,
-0.03068501688539982,
0.02685610018670559,
0.026891883462667465,
-0.024798503145575523,
0.046984754502773285,
-0.03721564635634422,
-0.02880634367465973,
0.016281845048069954,
0.08631167560815811,
0.01297180075198412,
-0.08037148416042328,
-0.02945045940577984,
0.06666610389947891,
0.025836247950792313,
-0.06620091199874878,
0.019341401755809784,
-0.0461617186665535,
0.013034422881901264,
0.032939426600933075,
0.022275712341070175,
-0.055501412600278854,
-0.0013128356076776981,
0.03490756079554558,
-0.009536509402096272,
-0.00500532565638423,
0.000019691835404955782,
0.027536001056432724,
0.037430353462696075,
0.02120218425989151,
-0.038861725479364395,
0.03251001611351967,
-0.048738185316324234,
-0.019681353121995926,
0.05396268889307976,
-0.039648979902267456,
-0.03460339456796646,
0.018715176731348038,
0.05721905827522278,
0.013893245719373226,
-0.009778053499758244,
0.03589162975549698,
-0.034621287137269974,
0.0067900666035711765,
-0.026784531772136688,
0.010601092129945755,
-0.058042097836732864,
-0.023707082495093346,
-0.02724972739815712,
0.01534250844269991,
-0.006807958707213402,
0.01700647734105587,
-0.018589932471513748,
0.05410582572221756,
0.04222544655203819,
0.008015678264200687,
0.013034422881901264,
0.05471415817737579,
0.013991652056574821,
0.002833667444065213,
-0.008704525418579578,
-0.03914799913764,
0.004857715684920549,
-0.007814391516149044,
-0.027017129585146904,
0.021237967535853386,
-0.0239933580160141,
-0.0038870670832693577,
-0.016988584771752357,
0.033529866486787796,
-0.01304336916655302,
0.005882040597498417,
-0.002254409482702613,
0.013803784735500813,
0.015467753633856773,
-0.024673258885741234,
-0.008937123231589794,
-0.0392911359667778,
-0.046734265983104706,
0.019681353121995926,
-0.037501923739910126,
-0.07901168614625931,
-0.013034422881901264,
-0.008386939764022827,
-0.04752152040600777,
0.04043623432517052,
-0.04691318795084953,
-0.021935760974884033,
0.007796499412506819,
0.03499702364206314,
-0.004374627955257893,
0.05181563273072243,
-0.007854648865759373,
-0.031042860820889473,
-0.027589676901698112,
-0.05646758899092674,
0.0212558601051569,
0.013794838450849056,
0.0376092754304409,
-0.013428050093352795,
-0.03641050308942795,
-0.016568120568990707,
0.02458379790186882,
-0.005188720300793648,
-0.018840420991182327,
0.01654128171503544,
0.014447901397943497,
0.003565008519217372,
-0.03217006474733353,
-0.05532249063253403,
-0.047843579202890396,
-0.059079840779304504,
0.020790664479136467,
-0.015360401012003422,
-0.04605436325073242,
-0.01577191986143589,
0.009679647162556648,
-0.02003919519484043,
-0.03914799913764,
0.054606806486845016,
-0.04927494749426842,
-0.04741416499018669,
-0.032688938081264496,
-0.027553893625736237,
0.012041409499943256,
-0.008731363341212273,
0.0010159380035474896,
0.012443982064723969,
-0.02211468294262886,
0.05457102134823799,
-0.024726934731006622,
0.023760760203003883,
0.013830622658133507,
0.01612081751227379,
-0.06677345931529999,
-0.008601645939052105,
-0.02919996902346611,
0.0035247511696070433,
0.00775624206289649,
-0.03825339302420616,
-0.005555509123951197,
0.04845191165804863,
0.0067900666035711765,
-0.01297180075198412,
-0.004173341207206249,
0.007702565751969814,
0.00836904812604189,
-0.03782397881150246,
0.015584052540361881,
0.01878674514591694,
0.01431371085345745,
-0.0042091254144907,
0.02009287104010582,
0.008234856650233269,
0.03115021251142025,
-0.008543496020138264,
0.06895630061626434,
-0.007711511570960283,
-0.04505240544676781,
0.03453182801604271,
0.028645314276218414,
0.017686378210783005,
-0.007523644249886274,
-0.03707250952720642,
0.020719096064567566,
-0.0329752117395401,
-0.002565285423770547,
0.025961492210626602,
-0.045553382486104965,
0.05124308541417122,
-0.025317376479506493,
0.037108294665813446,
-0.00952756404876709,
0.05077788978815079,
-0.03204482048749924,
-0.11114596575498581,
-0.0033659585751593113,
0.008395886048674583,
-0.043871521949768066,
-0.017587972804903984,
-0.012953908182680607,
0.027875952422618866,
-0.013794838450849056,
-0.07292835414409637,
-0.02907472476363182,
-0.0032183483708649874,
0.02698134444653988,
-0.018321549519896507,
-0.02334924042224884,
0.04480191320180893,
0.028555853292346,
0.007376033812761307,
0.015360401012003422,
0.02438698522746563,
-0.06616512686014175,
0.027786491438746452,
0.012309791520237923,
0.009156301617622375,
-0.0354980006814003,
-0.012175600044429302,
-0.007702565751969814,
0.031114429235458374,
-0.022275712341070175,
0.03245633840560913,
0.024172278121113777,
-0.039577409625053406,
-0.0348002091050148,
0.02361762337386608,
0.0045624952763319016,
0.01251555047929287,
-0.11830282211303711,
-0.06137003377079964,
0.01450157817453146,
-0.049453869462013245,
-0.09869303554296494,
0.0024467499461025,
-0.0000718481169315055,
-0.03739456832408905,
0.011764081194996834,
-0.0034129254054278135,
0.00020981328270863742,
0.024440661072731018,
-0.013419103808701038,
-0.0349433459341526,
0.012220330536365509,
-0.0673460066318512,
0.002462405478581786,
0.016031356528401375,
-0.002844850067049265,
-0.03412030637264252,
0.043871521949768066,
-0.04430093616247177,
0.07765188068151474,
-0.021309535950422287,
0.06348130851984024,
0.040221527218818665,
-0.005023217760026455,
0.047700442373752594,
-0.05067053437232971,
-0.05396268889307976,
-0.033261485397815704,
0.01242609042674303,
0.07110335677862167,
0.009831730276346207,
-0.01777583919465542,
-0.017346428707242012,
-0.020343361422419548,
-0.044515639543533325,
0.048416126519441605,
-0.0037059092428535223,
0.05042004585266113,
-0.002670401707291603,
0.020468605682253838,
-0.014188465662300587,
0.03136491775512695,
-0.046197500079870224,
0.017042262479662895,
-0.019663460552692413,
-0.07121071219444275,
-0.023062966763973236,
-0.03972054645419121,
0.04057937115430832,
0.02100536972284317,
-0.027213942259550095,
-0.037680841982364655,
-0.07736560702323914,
-0.001505176187492907,
-0.002332687610760331,
-0.009411265142261982,
0.01626395434141159,
-0.008637430146336555,
-0.010279033333063126,
-0.005917824804782867,
0.020271793007850647,
0.04648377373814583,
0.012247168458998203,
-0.061620526015758514,
-0.028126440942287445,
-0.0021839591208845377,
-0.0036656518932431936,
0.010413224808871746,
-0.023724975064396858,
0.03556957095861435,
-0.0030416634399443865,
0.0257467869669199,
-0.07024453580379486,
0.019287725910544395,
0.018232088536024094,
-0.003793133422732353,
0.035998981446027756,
-0.014662607572972775,
0.010395332239568233,
0.03517594560980797,
0.011048395186662674,
0.018196305260062218,
0.015324616804718971,
-0.007653362117707729,
0.09024794399738312,
0.007380506955087185,
-0.047700442373752594,
-0.02606884576380253,
-0.0005493445787578821,
0.031830113381147385,
0.0006726325955241919,
-0.019466646015644073,
-0.00021624326473101974,
-0.036446284502744675,
-0.05002642050385475,
0.023098750039935112,
0.07149698585271835,
-0.0007151263998821378,
-0.004911391995847225,
-0.02028968557715416,
-0.013669593259692192,
-0.022723015397787094,
0.01651444286108017,
0.06573571264743805,
-0.03206271305680275,
0.009518617764115334,
-0.008234856650233269,
-0.010028543882071972,
-0.03764506056904793,
0.0022074426524341106,
0.03446025773882866,
0.001555497758090496,
-0.05403425917029381,
0.017963707447052002,
-0.03335094451904297,
-0.06323082000017166,
0.04870240017771721,
-0.024744827300310135,
0.0032049291767179966,
-0.02868109755218029,
-0.027625462040305138,
0.07178325951099396,
-0.01027008704841137,
-0.010690553113818169,
0.058507293462753296,
-0.038146037608385086,
0.03825339302420616,
-0.0007128898869268596,
-0.011746188625693321,
0.04576808959245682,
0.016988584771752357,
-0.04176025092601776,
-0.07650678604841232,
0.011334669776260853,
0.0005943544674664736,
-0.02361762337386608,
-0.054857295006513596,
-0.019806597381830215,
0.016568120568990707,
0.04551760107278824,
0.016478659585118294,
0.01930561661720276,
-0.04551760107278824,
-0.014546308666467667,
0.01323123648762703,
0.06072591617703438,
-0.02295561321079731,
-0.0712822824716568,
0.04150976240634918,
-0.00034162800875492394,
0.0023080857936292887,
0.02054017409682274,
-0.011155747808516026,
0.0027061859145760536,
0.020271793007850647,
-0.004088353831321001,
0.012130869552493095,
0.020450714975595474,
-0.034173984080553055,
-0.047056324779987335,
-0.0312933512032032,
0.008556915447115898,
-0.04247593507170677,
0.057004351168870926,
0.04823720455169678,
0.04787936061620712,
0.03224163502454758,
0.009111571125686169,
0.0024355673231184483,
0.010189572349190712,
-0.05253131687641144,
0.051994554698467255,
0.0011898272205144167,
-0.0027464432641863823,
0.025192130357027054,
-0.04605436325073242,
-0.05296073108911514,
-0.08860187232494354,
-0.02145267464220524,
0.003419634886085987,
0.029253646731376648,
0.029772518202662468,
0.05664651095867157,
0.07364404201507568,
0.03785976395010948,
0.0032921533565968275
] |
18,341 | plotly_football_pitch.pitch_background | add_background | Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
| def add_background(
self,
fig: go.Figure,
dimensions: PitchDimensions,
orientation: PitchOrientation,
) -> go.Figure:
"""Add vertically-striped background to a pitch.
Args:
fig (plotly.graph_objects.Figure): Figure with pitch markings
already drawn.
dimensions (PitchDimensions): Dimensions of the pitch.
orientation (PitchOrientation): Orientation of the pitch.
Returns:
plotly.graph_objects.Figure
"""
stripe_metres = dimensions.pitch_length_metres / self.num_stripes
colour_cycle = itertools.cycle(self.colours)
for index, colour in zip(range(self.num_stripes), colour_cycle):
x0 = index * stripe_metres
x1 = x0 + stripe_metres
stripe = {
"y0": 0,
"y1": dimensions.pitch_width_metres,
"x0": x0,
"x1": x1,
}
fig = fig.add_shape(
type="rect",
**orientation.switch_axes_if_required(
stripe,
keys_to_switch=[("x0", "y0"), ("x1", "y1")],
),
line_color=colour,
fillcolor=colour,
layer="below",
)
return fig
| (self, fig: plotly.graph_objs._figure.Figure, dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation) -> plotly.graph_objs._figure.Figure | [
0.009452312253415585,
-0.08251269906759262,
-0.05754843354225159,
-0.020646316930651665,
-0.0293729230761528,
0.08548808842897415,
-0.02888307347893715,
0.03320102021098137,
-0.0037147041875869036,
0.0033201018813997507,
0.03722868487238884,
0.041982054710388184,
0.0163374412804842,
-0.03347316011786461,
-0.0032974237110465765,
0.010586226359009743,
0.05453675612807274,
0.038680095225572586,
0.03361830115318298,
-0.07307852804660797,
0.07206254452466965,
-0.011928781867027283,
0.016110658645629883,
0.06901457905769348,
-0.014550392515957355,
0.01660958118736744,
-0.03047962486743927,
-0.01148428674787283,
-0.03075176477432251,
0.0163374412804842,
0.020900314673781395,
-0.008672178722918034,
0.0024333808105438948,
0.03213060274720192,
0.007873903028666973,
0.008994210511446,
-0.03292888030409813,
0.005574324168264866,
-0.06415235251188278,
0.046771708875894547,
0.051960501819849014,
0.05537131801247597,
0.05638730525970459,
-0.05050909146666527,
0.017743496224284172,
0.01592923328280449,
0.04009522125124931,
-0.015394024550914764,
0.04122006520628929,
-0.03370901197195053,
0.03428957611322403,
-0.06803487986326218,
-0.013153409585356712,
0.047315988689661026,
-0.014387108385562897,
-0.02267829142510891,
-0.005669572856277227,
-0.02619796246290207,
0.029064498841762543,
0.02374870702624321,
-0.020882170647382736,
-0.06738173961639404,
0.0074021946638822556,
0.01709943264722824,
0.01106700673699379,
0.004358767531812191,
0.002787162084132433,
-0.04942053556442261,
0.00021558551816269755,
-0.04180062934756279,
0.02536340244114399,
0.005742143373936415,
0.007665262557566166,
0.023784993216395378,
-0.0028756074607372284,
-0.015185384079813957,
0.008658572100102901,
0.03487014025449753,
0.060269828885793686,
-0.050001099705696106,
-0.005823785439133644,
0.015956446528434753,
0.015947375446558,
0.04285290092229843,
0.05185164883732796,
0.006254673004150391,
0.008871748112142086,
-0.0038643809966742992,
0.020682603120803833,
0.03759153559803963,
-0.016509797424077988,
0.014105897396802902,
0.02001132443547249,
-0.028411364182829857,
0.08258526772260666,
-0.04241747781634331,
0.006481456104665995,
0.006644739769399166,
0.019285619258880615,
-0.006050568539649248,
-0.0513436533510685,
-0.04938424751162529,
-0.054137617349624634,
-0.030661050230264664,
0.024637697264552116,
-0.004397321026772261,
-0.001861887751147151,
-0.019757328554987907,
-0.08084357529878616,
-0.004161466378718615,
0.0906405970454216,
-0.036031272262334824,
-0.05798385664820671,
0.01375211589038372,
0.02452884055674076,
-0.01649165339767933,
-0.03784553334116936,
-0.008078007958829403,
-0.01837848871946335,
-0.04405031353235245,
-0.001534186420030892,
-0.029227782040834427,
0.05831042304635048,
0.03857123851776123,
-0.006749059539288282,
-0.008259434252977371,
-0.027975941076874733,
0.01628301292657852,
-0.03133232891559601,
-0.015366810373961926,
-0.016918005421757698,
0.03374530002474785,
-0.07169968634843826,
-0.08447210490703583,
0.003408547258004546,
-0.02806665375828743,
0.12445846945047379,
0.00033989091753028333,
0.023966418579220772,
0.010940007865428925,
-0.0010738171404227614,
-0.014749960973858833,
-0.003821292193606496,
-0.003002605866640806,
-0.01618322916328907,
0.05421018972992897,
-0.0023562745191156864,
0.02995348908007145,
0.059761837124824524,
0.03612198308110237,
0.01608344539999962,
0.08280298113822937,
0.02668781392276287,
0.028193652629852295,
0.030624765902757645,
-0.005941712763160467,
-0.009642809629440308,
0.06622061133384705,
0.010413872078061104,
0.0009660952491685748,
0.03806324675679207,
-0.008354682475328445,
0.026633385568857193,
0.010250587947666645,
0.000662206148263067,
0.030624765902757645,
-0.010958150960505009,
-0.054899610579013824,
0.03370901197195053,
0.03557770326733589,
0.054645612835884094,
-0.04876739904284477,
0.03298330679535866,
-0.0029345708899199963,
0.012346061877906322,
0.04122006520628929,
0.02238800935447216,
0.0004036735917907208,
0.005628752056509256,
0.02641567401587963,
0.05714929476380348,
0.0034176185727119446,
0.026887383311986923,
-0.009787950664758682,
0.04074835404753685,
0.03370901197195053,
0.028102939948439598,
0.007216232363134623,
0.06901457905769348,
-0.014051469974219799,
-0.005551645997911692,
0.0686517283320427,
0.06919600814580917,
-0.005415576044470072,
0.020301606506109238,
-0.04873111471533775,
0.02135387994349003,
-0.020991027355194092,
0.025308974087238312,
-0.047932837158441544,
0.028792358934879303,
-0.04296175763010979,
-0.017162932083010674,
-0.062628373503685,
0.024728409945964813,
-0.007229839451611042,
-0.011584071442484856,
0.02427484467625618,
-0.07641677558422089,
-0.044667165726423264,
-0.01417846791446209,
-0.054609328508377075,
-0.004658121149986982,
-0.025726255029439926,
0.013135266490280628,
-0.06966771185398102,
-0.015566379763185978,
-0.0037305790465325117,
-0.0018256024923175573,
0.000658237433526665,
-0.016092516481876373,
0.05584302544593811,
-0.06571261584758759,
0.011448001489043236,
0.03428957611322403,
-0.0443405956029892,
0.026506388559937477,
-0.06974028050899506,
-0.038426097482442856,
-0.03853495419025421,
0.02236986719071865,
-0.003397208172827959,
-0.03133232891559601,
-0.007765047252178192,
0.02131759375333786,
0.06738173961639404,
-0.06778088212013245,
-0.03965979814529419,
0.016156015917658806,
0.026052821427583694,
0.06723660230636597,
0.006767202168703079,
0.06317265331745148,
-0.008803713135421276,
0.005751214921474457,
0.058128997683525085,
-0.006708238739520311,
0.015149098820984364,
0.015167241916060448,
-0.00896699633449316,
-0.06451520323753357,
-0.013534404337406158,
-0.014477821998298168,
0.031132759526371956,
0.01966661401093006,
-0.015049315057694912,
-0.04825940728187561,
-0.09281771630048752,
0.036575548350811005,
0.00016852805856615305,
0.003773667849600315,
0.005792035721242428,
0.058419279754161835,
0.08019044250249863,
0.0049665458500385284,
0.017652781680226326,
-0.030388912186026573,
0.026361247524619102,
-0.04180062934756279,
-0.04484859108924866,
-0.0029663206078112125,
0.012028566561639309,
0.033836010843515396,
-0.03454357385635376,
0.0313141867518425,
0.02316814288496971,
0.045429155230522156,
0.04227233678102493,
0.041183777153491974,
0.0008356950711458921,
0.04074835404753685,
-0.031985461711883545,
0.013189694844186306,
0.02913706935942173,
0.04539287090301514,
-0.014913245104253292,
0.01725364476442337,
0.020410463213920593,
-0.012200920842587948,
-0.0453202985227108,
-0.010722296312451363,
-0.027631230652332306,
-0.0034561718348413706,
0.026216106489300728,
0.02242429554462433,
0.04016778990626335,
0.005724000744521618,
-0.019521472975611687,
-0.04368746280670166,
-0.0663294717669487,
0.053811050951480865,
0.01621951535344124,
0.07169968634843826,
0.03321916237473488,
-0.02478283829987049,
-0.021136168390512466,
-0.014169396832585335,
0.010767652653157711,
-0.03401743993163109,
-0.05878213420510292,
-0.012772413901984692,
-0.015176312997937202,
0.0027304664254188538,
0.0032906201668083668,
-0.03240274265408516,
-0.052141930907964706,
0.004971081856638193,
0.006036961451172829,
0.020900314673781395,
0.03693840280175209,
-0.016400940716266632,
-0.018759483471512794,
-0.05522617697715759,
0.061358388513326645,
0.03643040731549263,
-0.007574549410492182,
0.0215897336602211,
0.008808248676359653,
-0.003925612196326256,
0.0599069781601429,
-0.09521254152059555,
0.003859845222905278,
-0.03621269762516022,
0.010114517994225025,
-0.008962460793554783,
-0.06741802394390106,
-0.002723662881180644,
0.022714577615261078,
-0.010386657901108265,
-0.016038088127970695,
0.05751214921474457,
-0.03780924901366234,
0.02264200709760189,
0.06883314996957779,
0.03813581541180611,
-0.022043300792574883,
-0.020573746412992477,
0.007452087011188269,
0.013706759549677372,
0.02754051797091961,
0.051960501819849014,
0.0013811079552397132,
-0.036847688257694244,
0.035994984209537506,
-0.004268054384738207,
-0.025145690888166428,
-0.03173146769404411,
-0.01727178692817688,
-0.03182217851281166,
0.015729663893580437,
0.00478511955589056,
-0.030334483832120895,
-0.01766185462474823,
0.0791744515299797,
-0.02536340244114399,
0.03581355884671211,
-0.038934092968702316,
-0.026343103498220444,
-0.07286081463098526,
0.02915521152317524,
0.0009694969630800188,
0.01362511795014143,
0.019503330811858177,
-0.010858366265892982,
0.006622061133384705,
-0.016137871891260147,
0.0021680446807295084,
0.029010070487856865,
0.0706111267209053,
0.029772061854600906,
-0.03231203183531761,
-0.005424647592008114,
0.015620807185769081,
0.0042226980440318584,
-0.051924217492341995,
-0.019884327426552773,
-0.09194687008857727,
-0.07765047252178192,
0.003163621760904789,
-0.03780924901366234,
-0.014332680962979794,
-0.022206583991646767,
0.0006247869459912181,
-0.04698942229151726,
-0.012917554937303066,
-0.018079133704304695,
-0.02833879366517067,
0.03809953108429909,
0.0523233562707901,
0.036575548350811005,
0.05090823024511337,
-0.10370329767465591,
0.03454357385635376,
-0.005392897874116898,
0.007624441757798195,
-0.011656641960144043,
0.05798385664820671,
0.07765047252178192,
0.05072680488228798,
0.004553800914436579,
0.012654487043619156,
-0.03454357385635376,
-0.015022100880742073,
0.03191289305686951,
0.0636080726981163,
-0.029536208137869835,
-0.012835913337767124,
-0.03508785367012024,
-0.07384052127599716,
-0.018532700836658478,
0.0310239028185606,
0.047315988689661026,
0.034924570471048355,
0.06070525199174881,
-0.006449706386774778,
0.01836034469306469,
-0.01400611363351345,
0.043542321771383286,
0.014804389327764511,
-0.0014026523567736149,
0.0007268392364494503,
-0.06451520323753357,
0.044667165726423264,
0.023331426084041595,
-0.012518417090177536,
0.022460579872131348,
0.0593264140188694,
0.003689758013933897,
0.01604715920984745,
-0.022061442956328392,
0.03759153559803963,
0.020120181143283844,
-0.018396630883216858,
-0.03456171602010727,
0.005315791815519333,
0.012191849760711193,
-0.05206935852766037,
-0.04633628576993942,
0.013987970538437366,
0.009189244359731674,
0.0220795851200819,
0.028248080983757973,
0.038426097482442856,
0.05312163010239601,
-0.012981054373085499,
-0.03662997856736183,
0.001988886157050729,
-0.017208287492394447,
-0.003070640843361616,
-0.03853495419025421,
0.07162711769342422,
0.02316814288496971,
-0.04125634953379631,
-0.01348904799669981,
0.03566841781139374,
-0.05754843354225159,
-0.0011860746890306473,
-0.011348217725753784,
-0.038462381809949875,
-0.00042521796422079206,
0.047896552830934525,
0.03145932778716087,
-0.0194489024579525,
-0.022043300792574883,
0.04775141179561615,
0.007166340481489897,
0.025798825547099113,
-0.009198315441608429,
-0.028955643996596336,
0.01079486683011055,
-0.026542672887444496,
0.002403898863121867,
-0.06992170959711075,
-0.001091392827220261,
-0.010731367394328117,
0.004503909032791853,
-0.06676489114761353,
0.0013527601258829236,
0.020972885191440582,
0.0142963957041502,
-0.027994083240628242,
0.005229614209383726,
-0.06255579739809036,
0.07743275910615921,
-0.007347766775637865,
-0.01910419389605522,
0.03545070439577103,
-0.02429298684000969,
0.062628373503685,
-0.04430431127548218,
0.020918456837534904,
-0.0035468849819153547,
0.004020861349999905,
-0.03203989192843437,
-0.02726837806403637,
-0.03969608247280121,
0.002771287225186825,
0.03973236680030823,
0.009715380147099495,
0.05359334126114845,
-0.010568084195256233,
0.028973786160349846,
0.02050117589533329,
-0.042236052453517914,
-0.017752567306160927,
0.04310689866542816,
-0.011475215665996075,
0.009220993146300316,
-0.009769808501005173,
-0.034906428307294846,
-0.01914047822356224,
0.03191289305686951,
0.01943076029419899,
0.03594055771827698,
0.032801881432533264,
0.04009522125124931,
0.00959745328873396,
-0.07946473360061646,
-0.008427252992987633,
0.03294702246785164,
-0.008708463981747627,
0.0068669868633151054,
0.019757328554987907,
-0.02347656711935997,
0.013860972598195076,
-0.0020251714158803225,
-0.047098275274038315,
-0.03806324675679207,
0.02884678728878498,
-0.060596395283937454,
0.021753018721938133,
0.01725364476442337,
-0.023258855566382408,
-0.04067578539252281,
-0.07830360531806946,
-0.007316017057746649,
0.024746552109718323,
-0.038716379553079605,
-0.003521938808262348,
0.00814150646328926,
-0.014740889891982079,
-0.03802695870399475,
-0.045755721628665924,
0.03427143394947052,
-0.008327469229698181,
0.06342665106058121,
-0.0013006000081077218,
-0.01563894934952259,
-0.03127789869904518,
0.017498569563031197,
0.03633969649672508,
0.01995689794421196,
0.026814812794327736,
-0.018178919330239296,
-0.04154663160443306,
-0.009869593195617199,
0.009266350418329239,
0.001470687217079103,
0.0026873776223510504,
-0.013008268550038338,
0.012609130702912807,
-0.029518064111471176,
0.0630275085568428,
-0.0069078076630830765,
-0.04724341630935669,
-0.030552195385098457,
0.03051590919494629,
0.020972885191440582,
-0.015085600316524506,
-0.012971983291208744,
-0.06132210046052933,
-0.01694522053003311,
0.011928781867027283,
-0.11212147772312164,
-0.0014582141302525997,
0.03365458548069,
0.03838981315493584,
0.06346293538808823,
0.02723209373652935,
-0.0018981730099767447,
-0.010595298372209072,
-0.047823984175920486,
0.025308974087238312,
-0.02369428053498268,
-0.026887383311986923,
-0.011801782995462418,
-0.02320442907512188,
-0.04020407795906067,
-0.02808479778468609,
0.03857123851776123,
-0.017879566177725792,
0.05025509372353554,
-0.018813911825418472,
0.010141732171177864,
-0.02211587131023407,
-0.022261012345552444,
0.0511622279882431,
-0.04481230676174164,
-0.06730917096138,
-0.10246959328651428,
-0.023676136508584023,
0.07852131873369217,
0.015330525115132332,
-0.0315137542784214,
0.05040023475885391,
-0.0371561124920845,
-0.04227233678102493,
0.0013584296684712172,
-0.011411716230213642,
0.03991379588842392,
0.034652430564165115,
0.001590882195159793,
-0.028774216771125793,
0.02108174003660679,
-0.00207619764842093,
-0.010921865701675415,
-0.01939447596669197,
-0.06012468785047531,
-0.040566928684711456,
-0.008490752428770065,
0.032529741525650024,
0.01458667777478695,
-0.023930134251713753,
-0.03777296468615532,
-0.03722868487238884,
-0.02888307347893715,
-0.04238119348883629,
-0.05762100592255592,
0.018686912953853607,
-0.01939447596669197,
-0.0003390404745005071,
-0.036539264023303986,
0.015439380891621113,
0.02478283829987049,
0.02804851159453392,
-0.003163621760904789,
-0.032765597105026245,
-0.01793399266898632,
-0.05526246130466461,
0.005696787033230066,
-0.005642359144985676,
-0.005229614209383726,
0.02882864512503147,
0.015085600316524506,
-0.019086049869656563,
0.045465439558029175,
0.02725023590028286,
0.019811756908893585,
0.0121555645018816,
0.03445286303758621,
0.002351738978177309,
-0.005968926474452019,
-0.05899984389543533,
0.07133683562278748,
-0.010214302688837051,
-0.025544827803969383,
0.024601411074399948,
-0.004776048474013805,
0.013153409585356712,
-0.01655515283346176,
0.0077695827931165695,
-0.0021952586248517036,
-0.0820772722363472,
0.0025104868691414595,
0.025544827803969383,
-0.039514657109975815,
-0.03477942943572998,
-0.0005371920415200293,
0.05479075387120247,
-0.001994555816054344,
-0.008164185099303722,
-0.06832516193389893,
-0.007157268933951855,
0.03240274265408516,
0.027340948581695557,
0.03312844783067703,
0.052214499562978745,
-0.00827757641673088,
-0.03234831616282463,
-0.031713325530290604,
0.02728652022778988,
0.01037758681923151,
0.051089655607938766,
-0.016854505985975266,
-0.024438127875328064,
-0.04444945231080055,
-0.05424647405743599,
0.014187539927661419,
0.036829546093940735,
-0.04963824525475502,
0.0076199062168598175,
-0.0026987167075276375,
-0.0040117898024618626,
0.0243111290037632,
-0.004066217690706253,
0.024655839428305626,
0.008064400404691696,
-0.03407186642289162,
0.012391419149935246,
-0.03256602585315704,
-0.04071206972002983,
0.09056802839040756,
0.03958722576498985,
-0.04825940728187561,
-0.03049776703119278,
-0.032765597105026245,
-0.047569986432790756,
-0.03185846656560898,
-0.017162932083010674,
-0.025472257286310196,
-0.04724341630935669,
0.08352868258953094,
-0.010813009925186634,
-0.06607547402381897,
-0.036303408443927765,
-0.011048863641917706,
0.017607426270842552,
-0.007833082228899002,
-0.06756316870450974,
-0.04151034727692604,
0.016827292740345,
0.02048303373157978,
-0.03343687206506729,
0.05341191217303276,
-0.0011940121185034513,
0.04263518750667572,
0.002896017860621214,
0.006762666627764702,
0.026796670630574226,
-0.0404580719769001,
-0.004825940355658531,
-0.03133232891559601,
-0.015448452904820442,
0.017571140080690384,
0.040857210755348206,
0.03049776703119278,
0.030153056606650352,
0.0105045847594738,
-0.004844082985073328,
0.054391615092754364,
0.026216106489300728,
0.07859388738870621,
-0.06571261584758759,
0.06150352954864502,
-0.00498922448605299,
-0.04742484539747238,
0.05638730525970459,
-0.03073362074792385,
0.0018108616350218654,
-0.04100235179066658,
-0.10021990537643433,
0.008517966605722904,
0.04067578539252281,
0.0040390039794147015,
0.05304906144738197,
0.07677962630987167,
-0.04503001645207405,
0.025562969967722893
] |
18,342 | plotly_football_pitch.pitch_plot | add_heatmap | Add a heatmap to an existing figure.
Args:
fig (plotly.graph_objects.Figure): Figure on which to add heatmap.
Expected to have axis ranges directly set so that
`fig.layout.xaxis.range` and `fig.layout.yaxis.range` are not None.
data (np.ndarray):
2-dimensional arrays of values to plot on the figure. Number of
grid squares in each dimension will be inferred from the shape of
this array. The i'th row of the array corresponds to the i'th row
of the grid on the pitch starting from the bottom, while the j'th
column of the array corresponds to the j'th column of the grid
starting from the left hand side. Thus, in particular, `data[0, 0]`
corresponds to the bottom left grid square.
Returns:
plotly.graph_objects.Figure
| def add_heatmap(fig: go.Figure, data: np.ndarray, **kwargs) -> go.Figure:
"""Add a heatmap to an existing figure.
Args:
fig (plotly.graph_objects.Figure): Figure on which to add heatmap.
Expected to have axis ranges directly set so that
`fig.layout.xaxis.range` and `fig.layout.yaxis.range` are not None.
data (np.ndarray):
2-dimensional arrays of values to plot on the figure. Number of
grid squares in each dimension will be inferred from the shape of
this array. The i'th row of the array corresponds to the i'th row
of the grid on the pitch starting from the bottom, while the j'th
column of the array corresponds to the j'th column of the grid
starting from the left hand side. Thus, in particular, `data[0, 0]`
corresponds to the bottom left grid square.
Returns:
plotly.graph_objects.Figure
"""
if "colorscale" not in kwargs:
kwargs["colorscale"] = px.colors.sequential.Reds
if "hovertemplate" not in kwargs:
kwargs["hovertemplate"] = "%{z}<extra></extra>"
_, plot_width = fig.layout.xaxis.range
_, plot_height = fig.layout.yaxis.range
dx = plot_width / data.shape[1]
dy = plot_height / data.shape[0]
heatmap = go.Heatmap(z=data, dx=dx, dy=dy, y0=dy / 2, x0=dx / 2, **kwargs)
fig.add_trace(heatmap)
return fig
| (fig: plotly.graph_objs._figure.Figure, data: numpy.ndarray, **kwargs) -> plotly.graph_objs._figure.Figure | [
0.010168404318392277,
-0.053229060024023056,
0.03886924311518669,
-0.015280799940228462,
-0.0471017025411129,
0.03969625011086464,
-0.0022284500300884247,
0.015158629044890404,
-0.03614388406276703,
-0.029527844861149788,
0.031369809061288834,
0.03313659504055977,
0.027422739192843437,
-0.006554956082254648,
0.023701217025518417,
-0.02659573405981064,
-0.0324411578476429,
-0.0018055497203022242,
0.02272384613752365,
-0.005765541922301054,
0.0685286596417427,
-0.038681287318468094,
-0.009989846497774124,
0.034226737916469574,
0.012583635747432709,
0.05954437330365181,
-0.04108712077140808,
0.04830462113022804,
0.040748801082372665,
-0.002195557812228799,
-0.06476954370737076,
-0.0498458594083786,
-0.012987740337848663,
-0.013852336443960667,
0.06461917608976364,
-0.027704672887921333,
0.01832568272948265,
-0.02355085127055645,
-0.02708441950380802,
0.015534540638327599,
0.0811968743801117,
0.014726330526173115,
-0.029847368597984314,
-0.03308020904660225,
0.04018493369221687,
0.0395834743976593,
-0.033512506633996964,
0.014425601810216904,
-0.026614530012011528,
-0.06319071352481842,
-0.0034466381184756756,
-0.04868053272366524,
-0.027441535145044327,
0.0557100772857666,
-0.014425601810216904,
0.06044656038284302,
0.03443348780274391,
-0.03593713417649269,
0.061499111354351044,
-0.021802863106131554,
0.022159980610013008,
-0.016549501568078995,
-0.01685962826013565,
-0.04826702922582626,
-0.00017092224152293056,
0.04247799515724182,
-0.02856926992535591,
-0.03294863924384117,
0.02208479680120945,
-0.007043640594929457,
0.012893762439489365,
0.045861195772886276,
-0.009003079496324062,
0.00664893351495266,
0.025900298729538918,
0.006493870168924332,
0.0018208210822194815,
-0.015825871378183365,
-0.017263732850551605,
0.04916921630501747,
-0.016042020171880722,
-0.028287336230278015,
-0.013965110294520855,
0.020806698128581047,
-0.004285390488803387,
-0.01629576086997986,
0.021802863106131554,
0.008049204014241695,
-0.06225093454122543,
-0.018617015331983566,
0.0279490165412426,
0.0016469620168209076,
0.011333730071783066,
-0.020449582487344742,
0.054883070290088654,
-0.0340011902153492,
-0.004496840760111809,
0.015816474333405495,
0.01902111992239952,
0.011145774275064468,
0.045071784406900406,
-0.04274113103747368,
0.01760205440223217,
0.01172843761742115,
0.014585364609956741,
-0.046725794672966,
-0.0017562112770974636,
0.026670917868614197,
-0.11540481448173523,
0.031012695282697678,
0.032572727650403976,
0.011860006488859653,
-0.01475452445447445,
-0.009773697704076767,
0.03522290289402008,
0.00663483701646328,
0.03095630742609501,
-0.031125467270612717,
0.0383993536233902,
-0.03377564251422882,
-0.0628523975610733,
-0.0019206725992262363,
0.026858873665332794,
-0.029584230855107307,
-0.01322268508374691,
0.023720012977719307,
0.0022049555554986,
-0.018579423427581787,
-0.09848880022764206,
-0.043041862547397614,
-0.009280313737690449,
0.0061414530500769615,
-0.06183743476867676,
0.006122657563537359,
0.03909479081630707,
-0.032027654349803925,
0.10360119491815567,
0.00805860199034214,
0.049582719802856445,
-0.0011588644701987505,
-0.026257414370775223,
-0.043041862547397614,
-0.06544618308544159,
0.03727161884307861,
0.003963516093790531,
-0.04274113103747368,
-0.019359439611434937,
0.0527779683470726,
0.042252447456121445,
-0.022216366603970528,
0.009266217239201069,
0.0007377262227237225,
-0.017404699698090553,
0.029170729219913483,
0.03584315627813339,
-0.018645208328962326,
0.003909478895366192,
0.02272384613752365,
0.029866164550185204,
0.013034729287028313,
0.027516717091202736,
0.008815123699605465,
0.05555971339344978,
0.019528599455952644,
-0.04935717210173607,
-0.031144263222813606,
0.03323057293891907,
-0.03358768671751022,
0.017451688647270203,
0.054770298302173615,
-0.01911509782075882,
-0.023231327533721924,
0.02873842976987362,
0.025317635387182236,
0.07285163551568985,
-0.01625817082822323,
-0.011559276841580868,
-0.02432147040963173,
0.01760205440223217,
0.03608749806880951,
-0.04924440011382103,
0.020900676026940346,
-0.008575479499995708,
0.04924440011382103,
-0.04334259033203125,
-0.029076751321554184,
0.020092466846108437,
-0.010375156067311764,
0.0010954294120892882,
0.0382113978266716,
0.007287983316928148,
-0.012658817693591118,
-0.025223657488822937,
0.002099230419844389,
0.053980883210897446,
-0.032159224152565,
-0.03469662740826607,
-0.013532811775803566,
0.011399514973163605,
-0.021727681159973145,
-0.0075605190359056,
-0.034151554107666016,
0.026576939970254898,
-0.01212314423173666,
0.045861195772886276,
-0.06683705747127533,
0.051199138164520264,
-0.00810559093952179,
-0.024471836164593697,
0.016474319621920586,
-0.015872860327363014,
-0.013692574575543404,
-0.00842511560767889,
-0.01834447868168354,
0.007696786895394325,
0.004694194067269564,
-0.037008482962846756,
-0.018532434478402138,
-0.06187502294778824,
0.015149231068789959,
-0.04022252559661865,
0.021596113219857216,
-0.0026948151644319296,
0.07142317295074463,
0.06446881592273712,
-0.0007300905417650938,
0.05815350264310837,
0.03366287052631378,
0.07864067703485489,
-0.020900676026940346,
0.010130813345313072,
0.035053741186857224,
0.026238618418574333,
-0.03697089105844498,
-0.036519795656204224,
0.013673778623342514,
0.0022636917419731617,
-0.013391844928264618,
0.056123580783605576,
0.02578752487897873,
0.031163059175014496,
0.027573104947805405,
-0.004440453834831715,
0.015600325539708138,
-0.034132760018110275,
0.01979173719882965,
-0.016615286469459534,
0.04191412776708603,
0.022968189790844917,
-0.021859250962734222,
-0.01326967403292656,
-0.0004143836267758161,
-0.02864445187151432,
0.02353205718100071,
0.001279273652471602,
-0.0030801245011389256,
0.004825763404369354,
-0.032723091542720795,
0.01360799465328455,
-0.02644537016749382,
0.03012930229306221,
0.02276143804192543,
0.024866541847586632,
0.054131247103214264,
0.009421280585229397,
-0.05676262825727463,
-0.048906080424785614,
0.057552043348550797,
-0.02635139226913452,
0.0038930329028517008,
0.01764904335141182,
0.008180772885680199,
0.10104499757289886,
-0.027385149151086807,
0.05341701582074165,
0.033343344926834106,
0.07961804419755936,
-0.06491990387439728,
0.0428914949297905,
0.01248965784907341,
-0.039245154708623886,
-0.0689045712351799,
-0.018861357122659683,
-0.005897110793739557,
0.008476803079247475,
-0.02347566932439804,
-0.017395302653312683,
0.1042778342962265,
-0.013551607728004456,
-0.011014205403625965,
-0.03541085869073868,
-0.005859519820660353,
-0.05499584600329399,
-0.0052533624693751335,
-0.0498458594083786,
0.018212908878922462,
0.04180135205388069,
0.009632730856537819,
-0.005394329316914082,
-0.03003532439470291,
0.054056067019701004,
-0.005361436866223812,
0.051011182367801666,
-0.03573038429021835,
0.014604159630835056,
-0.01031876914203167,
-0.030674373731017113,
0.021652499213814735,
-0.012696409597992897,
-0.013861734420061111,
0.02860686182975769,
0.03687691316008568,
-0.01360799465328455,
0.002134472131729126,
-0.04548528417944908,
-0.0016751553630456328,
0.06228852644562721,
-0.0249229297041893,
0.013889928348362446,
0.001497772173024714,
-0.018259897828102112,
-0.06319071352481842,
-0.03437710180878639,
-0.03697089105844498,
0.05826627463102341,
-0.046650610864162445,
0.06544618308544159,
-0.03373805060982704,
0.05228928104043007,
-0.007781366817653179,
-0.04386886581778526,
-0.022329140454530716,
0.028869999572634697,
0.01621118187904358,
-0.010553713887929916,
-0.02281782403588295,
-0.029584230855107307,
0.011493492871522903,
-0.08510635048151016,
-0.023832784965634346,
-0.06187502294778824,
0.0016399136511608958,
0.015478153713047504,
0.009839482605457306,
0.031313423067331314,
-0.007677991408854723,
-0.04112471267580986,
-0.03441469371318817,
-0.07157354056835175,
-0.016333352774381638,
0.03541085869073868,
-0.03627545386552811,
-0.06830310821533203,
-0.013824143446981907,
0.03826778382062912,
0.03323057293891907,
0.022423118352890015,
-0.017432892695069313,
0.006592547055333853,
0.03606870397925377,
0.07833994925022125,
-0.030749555677175522,
-0.018682798370718956,
0.0302420761436224,
-0.030524009838700294,
-0.0030895222444087267,
-0.01546875573694706,
0.08059541136026382,
0.010065029375255108,
-0.013091116212308407,
0.049695491790771484,
-0.03804223984479904,
0.004240750800818205,
0.055446937680244446,
0.008655360899865627,
-0.037215232849121094,
-0.019397031515836716,
0.04191412776708603,
-0.035711586475372314,
-0.013147503137588501,
-0.025937890633940697,
0.001662233378738165,
-0.007663894444704056,
-0.021859250962734222,
0.030373644083738327,
-0.029809778556227684,
-0.028926385566592216,
-0.006625439040362835,
-0.002631380222737789,
-0.04097434878349304,
-0.006545558106154203,
-0.008655360899865627,
0.05289074033498764,
0.04119989648461342,
-0.06461917608976364,
0.0032281395979225636,
0.01902111992239952,
0.03259152173995972,
0.00917223934084177,
0.028776021674275398,
0.05360497161746025,
-0.07003230601549149,
0.0655965507030487,
-0.039169974625110626,
0.05319146811962128,
0.025956684723496437,
-0.03965865820646286,
-0.050372134894132614,
0.04721447825431824,
0.06803996860980988,
0.03229079395532608,
-0.00590180978178978,
0.0018266947008669376,
0.001732716802507639,
0.0369332991540432,
-0.015506347641348839,
-0.021088631823658943,
-0.025336431339383125,
-0.02432147040963173,
-0.01432222593575716,
0.026257414370775223,
-0.020186444744467735,
-0.02488533779978752,
0.058491822332143784,
0.0053238458931446075,
-0.04101194068789482,
-0.02793022058904171,
-0.014434999786317348,
-0.048755716532468796,
0.031069081276655197,
-0.029640616849064827,
-0.031069081276655197,
0.0590180978178978,
0.02856926992535591,
0.017404699698090553,
-0.004445152822881937,
0.0021814610809087753,
-0.029659412801265717,
-0.006564353592693806,
0.0018924791365861893,
0.021558521315455437,
-0.01905870996415615,
0.004297137726098299,
-0.08638445287942886,
-0.02063753828406334,
0.01246146485209465,
-0.04202689975500107,
-0.03373805060982704,
0.07300200313329697,
0.027347557246685028,
0.09728588163852692,
0.020975857973098755,
0.004207858815789223,
0.056123580783605576,
0.01753626950085163,
-0.067250557243824,
-0.04541010409593582,
0.00017694268899504095,
0.03826778382062912,
0.01539357379078865,
-0.04056084528565407,
-0.020994653925299644,
0.004994923248887062,
-0.01063829381018877,
0.0646943598985672,
-0.04059843719005585,
0.07198704034090042,
-0.03670775145292282,
-0.029603026807308197,
-0.0630403533577919,
0.03841815143823624,
0.007739076856523752,
0.012066757306456566,
0.002471617655828595,
-0.007936430163681507,
0.021652499213814735,
-0.05533416569232941,
0.020148852840065956,
0.002849878743290901,
-0.012555442750453949,
0.05777759104967117,
0.028851203620433807,
0.03815501183271408,
0.023795194923877716,
-0.04394404962658882,
0.020374400541186333,
0.01824110373854637,
-0.06454399228096008,
-0.015581529587507248,
0.01285617146641016,
-0.06476954370737076,
-0.051687825471162796,
-0.023682421073317528,
0.059769921004772186,
-0.003982312045991421,
0.00663483701646328,
0.07811439782381058,
-0.024659790098667145,
-0.010130813345313072,
-0.013861734420061111,
0.007109425030648708,
0.009449473582208157,
-0.002636078977957368,
-0.021539725363254547,
0.018165919929742813,
0.0037168243434280157,
-0.0031482584308832884,
0.03309900313615799,
-0.021765273064374924,
0.045146964490413666,
-0.05804072692990303,
-0.048229437321424484,
0.020205240696668625,
-0.005981690715998411,
0.05146227777004242,
0.004384067375212908,
-0.05522138997912407,
-0.022404322400689125,
-0.06980675458908081,
-0.033493708819150925,
-0.02717839740216732,
0.04056084528565407,
0.003965865820646286,
0.03401998430490494,
0.024603404104709625,
0.02432147040963173,
0.09036911278963089,
0.0028169865254312754,
-0.011982177384197712,
0.029734594747424126,
-0.054695114493370056,
-0.004001107532531023,
0.003068377263844013,
-0.009642128832638264,
-0.01915268786251545,
0.014218850061297417,
-0.034790605306625366,
-0.031238241121172905,
0.0016528356354683638,
-0.07443046569824219,
-0.03138860687613487,
0.016746854409575462,
0.06033378839492798,
-0.08976765722036362,
-0.014604159630835056,
-0.0043723201379179955,
0.0301480982452631,
0.032704297453165054,
-0.003326816251501441,
-0.03909479081630707,
-0.03330575302243233,
0.040072161704301834,
0.0012023292947560549,
0.057589635252952576,
-0.039245154708623886,
0.03973383828997612,
0.0191056989133358,
-0.04559805989265442,
-0.0025914395228028297,
0.01536538079380989,
-0.01990451104938984,
0.01542176678776741,
0.00016945383686106652,
0.04409441351890564,
-0.04390645772218704,
-0.0160796120762825,
-0.0272159893065691,
0.057552043348550797,
-0.08194869756698608,
-0.04657542705535889,
0.045297328382730484,
-0.004748231265693903,
0.07356587052345276,
-0.02210359275341034,
-0.05815350264310837,
0.016728060320019722,
0.034170351922512054,
-0.0034865785855799913,
0.045222148299217224,
-0.04792870953679085,
-0.054619934409856796,
0.02715960144996643,
-0.028080584481358528,
-0.006667729467153549,
0.028963977470993996,
-0.003982312045991421,
-0.03242236375808716,
0.03719643875956535,
-0.07029543817043304,
-0.023795194923877716,
0.037121254950761795,
-0.03163294866681099,
0.02800540253520012,
0.004985525738447905,
-0.030486417934298515,
-0.0077155823819339275,
0.0017056982032954693,
-0.01244266889989376,
0.053341835737228394,
0.07198704034090042,
-0.01139011699706316,
0.061423931270837784,
-0.04853016883134842,
-0.051800597459077835,
-0.0031600056681782007,
-0.030674373731017113,
0.039169974625110626,
-0.013213287107646465,
-0.04360572621226311,
-0.030524009838700294,
0.04168858006596565,
0.0558980330824852,
0.051048774272203445,
-0.00005458792293211445,
-0.00012187754327896982,
-0.07296441495418549,
-0.033625278621912,
0.024622200056910515,
0.04311704263091087,
0.022159980610013008,
0.021502135321497917,
-0.021652499213814735,
0.008645962923765182,
0.017432892695069313,
0.007269187830388546,
-0.05040972679853439,
0.016352148726582527,
0.002394085982814431,
-0.04495900869369507,
-0.0071658119559288025,
-0.01210434827953577,
-0.023795194923877716,
-0.004313583951443434,
-0.04552287608385086,
0.03578677028417587,
0.002019349252805114,
-0.02059994824230671,
0.004564974457025528,
0.027591900900006294,
0.010967216454446316,
-0.026182232424616814,
-0.021896841004490852,
0.024603404104709625,
-0.008462706580758095,
0.06585968285799026,
0.00772028136998415,
0.04127507656812668,
-0.0366513654589653,
-0.04138784855604172,
-0.015656711533665657,
0.005417823791503906,
-0.021765273064374924,
0.04465828090906143,
0.05856700241565704,
0.029170729219913483,
0.06676187366247177,
-0.023099757730960846,
-0.055484529584646225,
-0.017244936898350716,
-0.02413351461291313,
0.010722873732447624,
-0.010920227505266666,
-0.0037755605299025774,
-0.008584877476096153,
0.025223657488822937,
-0.05056009069085121,
-0.0027042129077017307,
0.030486417934298515,
0.00882452167570591,
0.03905719891190529,
-0.03356889262795448,
0.026877667754888535,
-0.062062978744506836,
0.031200651079416275,
0.06710019707679749,
-0.05074804648756981,
-0.018701594322919846,
0.004069241229444742,
-0.08104650676250458,
0.0032798273023217916,
0.014124873094260693,
0.015252606943249702,
-0.04650024697184563,
0.05661226436495781,
0.0027112613897770643,
0.032723091542720795,
0.025580773130059242,
-0.021784069016575813,
0.03148258477449417,
0.06262684613466263,
0.051086366176605225,
0.008941993117332458,
-0.02580632083117962,
-0.003869538428261876,
0.001584701705724001,
0.025355227291584015,
-0.07085930556058884,
-0.026670917868614197,
0.053304243832826614,
-0.03806103393435478,
0.017357710748910904,
0.05416883900761604,
0.007908237166702747,
0.053153879940509796,
0.020017284899950027,
0.0026055362541228533,
-0.02356964722275734,
0.000002840444267349085,
0.04101194068789482,
-0.000048273785068886355,
-0.03950829431414604,
0.09014356881380081,
0.05056009069085121,
-0.019246665760874748,
-0.013006536290049553,
-0.10322528332471848,
-0.010328167118132114,
0.005643370561301708,
-0.002920362167060375,
-0.025110885500907898,
0.02715960144996643,
0.044583097100257874,
0.00953875295817852,
-0.026783689856529236,
-0.03698968514800072,
-0.025280045345425606,
0.0022178776562213898,
-0.08217424154281616,
0.0033761546947062016,
-0.010835647583007812,
-0.05059768259525299,
-0.05646190047264099,
0.012715204618871212,
0.04477105289697647,
0.003749716794118285,
0.05014658719301224,
-0.05056009069085121,
-0.020130058750510216,
0.008749338798224926,
0.009754901751875877,
-0.000580019608605653,
-0.058454230427742004,
-0.006070970091968775,
0.002885120455175638,
0.03806103393435478,
-0.07213740795850754,
0.02576872892677784,
0.046650610864162445,
0.01285617146641016,
0.07484397292137146,
-0.013429436832666397,
0.012950149364769459,
-0.07112244516611099,
0.01329786702990532,
0.015760088339447975,
-0.005464812740683556,
0.014726330526173115,
-0.06845347583293915,
0.0294150710105896,
-0.02208479680120945,
-0.008730543777346611,
0.03309900313615799,
0.0021744128316640854,
-0.09322603791952133,
-0.01293135341256857,
0.01830688677728176,
0.00570915499702096,
0.02873842976987362
] |
18,343 | plotly_football_pitch.pitch_plot | make_pitch_figure | Create a plotly figure of a football pitch with markings.
Some markings which appear in both team's halves e.g. penalty box arc, are
defined in terms of the attacking team and the defending team. For a
horizontally oriented pitch the attacking team's half is the left hand one,
while for a vertically oriented one their half is the bottom one.
Args:
dimensions (PitchDimensions): Dimensions of the pitch to plot.
marking_colour (str): Colour of the pitch markings, default "black".
marking_width (int): Width of the pitch markings, default 4.
pitch_background (Optional[PitchBackground]): Strategy for plotting a
background colour to the pitch. The default of None results in a
transparent background.
figure_width_pixels (int): Width of the figure, default 800. This
corresponds to the long axis of the pitch (pitch length).
figure_height_pixels (int): Height of the figure, default 600. This
corresponds to the short axis of the pitch (pitch width).
orientation (PitchOrientation): Orientation of the pitch, defaults to
a horizontal pitch.
Returns:
plotly.graph_objects.Figure
| def make_pitch_figure(
dimensions: PitchDimensions,
marking_colour: str = "black",
marking_width: int = 4,
pitch_background: Optional[PitchBackground] = None,
figure_width_pixels: int = 800,
figure_height_pixels: int = 600,
orientation: PitchOrientation = PitchOrientation.HORIZONTAL,
) -> go.Figure:
"""Create a plotly figure of a football pitch with markings.
Some markings which appear in both team's halves e.g. penalty box arc, are
defined in terms of the attacking team and the defending team. For a
horizontally oriented pitch the attacking team's half is the left hand one,
while for a vertically oriented one their half is the bottom one.
Args:
dimensions (PitchDimensions): Dimensions of the pitch to plot.
marking_colour (str): Colour of the pitch markings, default "black".
marking_width (int): Width of the pitch markings, default 4.
pitch_background (Optional[PitchBackground]): Strategy for plotting a
background colour to the pitch. The default of None results in a
transparent background.
figure_width_pixels (int): Width of the figure, default 800. This
corresponds to the long axis of the pitch (pitch length).
figure_height_pixels (int): Height of the figure, default 600. This
corresponds to the short axis of the pitch (pitch width).
orientation (PitchOrientation): Orientation of the pitch, defaults to
a horizontal pitch.
Returns:
plotly.graph_objects.Figure
"""
pitch_marking_style = {
"mode": "lines",
"line": {"color": marking_colour, "width": marking_width},
"hoverinfo": "skip",
"showlegend": False,
}
spot_style = {
"mode": "markers",
"line": {"color": marking_colour},
"hoverinfo": "skip",
"showlegend": False,
}
touchline = {
"x": [0, dimensions.pitch_length_metres, dimensions.pitch_length_metres, 0, 0],
"y": [0, 0, dimensions.pitch_width_metres, dimensions.pitch_width_metres, 0],
}
halfway_line = {
"x": [dimensions.pitch_mid_length_metres, dimensions.pitch_mid_length_metres],
"y": [0, dimensions.pitch_width_metres],
}
# attacking team's half is left for horizontal pitches (bottom for
# vertical after rotation)
penalty_boxes = {
"attacking_team": {
"x": [
0,
dimensions.penalty_box_length_metres,
dimensions.penalty_box_length_metres,
0,
],
"y": [
dimensions.penalty_box_width_min_metres,
dimensions.penalty_box_width_min_metres,
dimensions.penalty_box_width_max_metres,
dimensions.penalty_box_width_max_metres,
],
},
"defending_team": {
"x": [
dimensions.pitch_length_metres,
dimensions.pitch_length_metres - dimensions.penalty_box_length_metres,
dimensions.pitch_length_metres - dimensions.penalty_box_length_metres,
dimensions.pitch_length_metres,
],
"y": [
dimensions.penalty_box_width_min_metres,
dimensions.penalty_box_width_min_metres,
dimensions.penalty_box_width_max_metres,
dimensions.penalty_box_width_max_metres,
],
},
}
six_yard_boxes = {
"attacking_team": {
"x": [
0,
dimensions.six_yard_box_length_metres,
dimensions.six_yard_box_length_metres,
0,
],
"y": [
dimensions.six_yard_box_width_min_metres,
dimensions.six_yard_box_width_min_metres,
dimensions.six_yard_box_width_max_metres,
dimensions.six_yard_box_width_max_metres,
],
},
"defending_team": {
"x": [
dimensions.pitch_length_metres,
dimensions.pitch_length_metres - dimensions.six_yard_box_length_metres,
dimensions.pitch_length_metres - dimensions.six_yard_box_length_metres,
dimensions.pitch_length_metres,
],
"y": [
dimensions.six_yard_box_width_min_metres,
dimensions.six_yard_box_width_min_metres,
dimensions.six_yard_box_width_max_metres,
dimensions.six_yard_box_width_max_metres,
],
},
}
penalty_spots = {
"attacking_team": {
"x": [dimensions.penalty_spot_length_metres],
"y": [dimensions.pitch_mid_width_metres],
},
"defending_team": {
"x": [
dimensions.pitch_length_metres - dimensions.penalty_spot_length_metres
],
"y": [dimensions.pitch_mid_width_metres],
},
}
centre_spot = {
"x": [dimensions.pitch_mid_length_metres],
"y": [dimensions.pitch_mid_width_metres],
}
pitch_marking_coordinates_with_style = [
(touchline, pitch_marking_style),
(halfway_line, pitch_marking_style),
(penalty_boxes["attacking_team"], pitch_marking_style),
(penalty_boxes["defending_team"], pitch_marking_style),
(six_yard_boxes["attacking_team"], pitch_marking_style),
(six_yard_boxes["defending_team"], pitch_marking_style),
(penalty_spots["attacking_team"], spot_style),
(penalty_spots["defending_team"], spot_style),
(centre_spot, spot_style),
]
pitch_markings = [
go.Scatter(
**orientation.switch_axes_if_required(marking_coordinates),
**style,
)
for marking_coordinates, style in pitch_marking_coordinates_with_style
]
fig = make_subplots()
for markings in pitch_markings:
fig.add_trace(markings)
centre_circle = {
"x0": dimensions.pitch_mid_length_metres
+ dimensions.centre_circle_radius_metres,
"y0": dimensions.pitch_mid_width_metres
+ dimensions.centre_circle_radius_metres,
"x1": dimensions.pitch_mid_length_metres
- dimensions.centre_circle_radius_metres,
"y1": dimensions.pitch_mid_width_metres
- dimensions.centre_circle_radius_metres,
}
fig.add_shape(
type="circle",
xref="x",
yref="y",
line=pitch_marking_style["line"],
name=None,
**orientation.switch_axes_if_required(
centre_circle, keys_to_switch=[("x0", "y0"), ("x1", "y1")]
),
)
penalty_box_arcs = {
"attacking_team": {
"x_centre": dimensions.penalty_spot_length_metres,
"y_centre": dimensions.pitch_mid_width_metres,
},
"defending_team": {
"x_centre": dimensions.pitch_length_metres
- dimensions.penalty_spot_length_metres,
"y_centre": dimensions.pitch_mid_width_metres,
},
}
start_angle = {
"attacking_team": {
PitchOrientation.HORIZONTAL: -np.pi / 3,
PitchOrientation.VERTICAL: np.pi / 6,
},
"defending_team": {
PitchOrientation.HORIZONTAL: 2 * np.pi / 3,
PitchOrientation.VERTICAL: -5 * np.pi / 6,
},
}
end_angle = {
"attacking_team": {
PitchOrientation.HORIZONTAL: np.pi / 3,
PitchOrientation.VERTICAL: 5 * np.pi / 6,
},
"defending_team": {
PitchOrientation.HORIZONTAL: 4 * np.pi / 3,
PitchOrientation.VERTICAL: -np.pi / 6,
},
}
path = make_ellipse_arc_svg_path(
**orientation.switch_axes_if_required(
penalty_box_arcs["attacking_team"],
keys_to_switch=[("x_centre", "y_centre")],
),
start_angle=start_angle["attacking_team"][orientation],
end_angle=end_angle["attacking_team"][orientation],
a=dimensions.penalty_spot_length_metres,
b=dimensions.penalty_spot_length_metres,
num_points=60,
)
| (dimensions: plotly_football_pitch.pitch_dimensions.PitchDimensions, marking_colour: str = 'black', marking_width: int = 4, pitch_background: Optional[plotly_football_pitch.pitch_background.PitchBackground] = None, figure_width_pixels: int = 800, figure_height_pixels: int = 600, orientation: plotly_football_pitch.pitch_dimensions.PitchOrientation = <PitchOrientation.HORIZONTAL: 0>) -> plotly.graph_objs._figure.Figure | [
0.026293190196156502,
-0.08311134576797485,
-0.04424315318465233,
0.009651866741478443,
-0.03461635857820511,
-0.0005327329272404313,
-0.05094180256128311,
0.0114919887855649,
-0.05988670140504837,
0.05166381224989891,
0.025892073288559914,
0.0060067204758524895,
0.025069784373044968,
0.047452088445425034,
-0.02811826951801777,
0.002943192608654499,
0.06064882129430771,
-0.014720977284014225,
0.027656985446810722,
-0.06313574314117432,
0.04352114349603653,
-0.01884244941174984,
0.01298614777624607,
0.01744857057929039,
-0.01844133250415325,
0.027857543900609016,
-0.01183293852955103,
0.05623653903603554,
-0.050179678946733475,
0.03425535187125206,
-0.02188090793788433,
-0.0010792542016133666,
0.010639616288244724,
-0.007084720768034458,
-0.024127161130309105,
-0.01011315081268549,
-0.006357697304338217,
0.02460850030183792,
-0.030906029045581818,
0.013627934269607067,
0.01026858389377594,
0.060408152639865875,
0.07910018414258957,
-0.057399775832891464,
-0.09153479337692261,
-0.007831800729036331,
-0.041635897010564804,
0.019343845546245575,
0.016846895217895508,
-0.02093828283250332,
0.000508603232447058,
-0.09033144265413284,
0.003695286111906171,
0.05419084429740906,
0.005911455024033785,
-0.000543387548532337,
0.017689239233732224,
0.024046937003731728,
0.0635368600487709,
-0.06658534705638885,
0.00975214596837759,
0.01715775951743126,
-0.008388349786400795,
0.011381682008504868,
-0.014600642025470734,
-0.016876978799700737,
0.002104608342051506,
-0.03182859718799591,
-0.01988535188138485,
-0.023685932159423828,
0.032350048422813416,
0.040532827377319336,
-0.009646852500736713,
-0.0006095091230235994,
0.0023778690956532955,
-0.04099411144852638,
-0.025932185351848602,
-0.007901996374130249,
0.05110224708914757,
-0.024187328293919563,
0.01642572320997715,
0.017709296196699142,
-0.0018225732492282987,
-0.019373929128050804,
0.08680161833763123,
0.019614599645137787,
0.0813063234090805,
0.006668562535196543,
-0.04460415989160538,
-0.000035332726838532835,
-0.004063812084496021,
0.006036804057657719,
0.06233350932598114,
-0.01678672805428505,
-0.009290861897170544,
-0.009160499088466167,
0.002812829799950123,
-0.03184865415096283,
0.006869120988994837,
0.000782803981564939,
-0.0185416117310524,
-0.017970021814107895,
-0.05992681160569191,
0.04701085761189461,
-0.014059134759008884,
0.02633330039680004,
-0.041956789791584015,
0.025791794061660767,
-0.03930941969156265,
-0.011993384920060635,
-0.0009457576088607311,
-0.036100488156080246,
-0.05034012719988823,
0.029281508177518845,
0.0037780164275318384,
-0.0018902617739513516,
-0.07982219010591507,
-0.022883698344230652,
0.022703196853399277,
-0.017017370089888573,
0.006106999237090349,
-0.020737726241350174,
-0.015232400968670845,
0.0010253541404381394,
0.009686964564025402,
-0.01645580679178238,
0.008488629013299942,
0.05715910717844963,
-0.0073805442079901695,
-0.00921565294265747,
-0.029943350702524185,
0.050861578434705734,
-0.02597229555249214,
0.0015254963655024767,
-0.011812882497906685,
0.009722062386572361,
0.08106565475463867,
-0.045366279780864716,
0.009516489692032337,
-0.007551019079983234,
0.029261451214551926,
-0.004286933224648237,
0.031989045441150665,
-0.03176843002438545,
-0.043641481548547745,
0.042598575353622437,
0.024508221074938774,
-0.045727286487817764,
0.032690998166799545,
-0.001598198781721294,
0.045045386999845505,
0.0017611522926017642,
0.026914920657873154,
0.002727592596784234,
0.03979076072573662,
-0.03926930949091911,
-0.015593405812978745,
0.007400600239634514,
0.03860746696591377,
0.04620862752199173,
0.004434844944626093,
-0.07196030765771866,
0.010579449124634266,
0.026794584468007088,
0.00367523031309247,
0.018581723794341087,
0.018732143566012383,
-0.021379511803388596,
0.05876357480883598,
0.025771738961338997,
0.03738406300544739,
0.008478600531816483,
-0.04316014051437378,
-0.01779954694211483,
0.019353874027729034,
0.03690272197127342,
0.009100331924855709,
-0.006357697304338217,
-0.017669184133410454,
-0.013898688368499279,
0.025410732254385948,
-0.03527820110321045,
0.020126022398471832,
0.004780807998031378,
-0.02811826951801777,
0.06365719437599182,
0.064459428191185,
0.02605251967906952,
0.00008719584002392367,
0.018571695312857628,
-0.047772981226444244,
0.03385423496365547,
0.016566112637519836,
0.01401902362704277,
-0.004876072984188795,
-0.010278611443936825,
0.018912645056843758,
0.005680812988430262,
-0.0404927134513855,
-0.07276254147291183,
0.008212861604988575,
0.0307856947183609,
-0.03080574981868267,
-0.06502099335193634,
0.0036200769245624542,
-0.010509253479540348,
0.0048284404911100864,
0.0024029389023780823,
-0.04324036464095116,
0.008518712595105171,
-0.005294738337397575,
-0.016686448827385902,
-0.0007470795535482466,
-0.011562184430658817,
0.02356559783220291,
-0.027596818283200264,
0.03144753724336624,
0.0273762047290802,
-0.07183997333049774,
0.017729351297020912,
0.012043524533510208,
0.001516721909865737,
-0.07099762558937073,
0.039229199290275574,
-0.001565607963129878,
0.013377237133681774,
0.05130280554294586,
0.033453118056058884,
0.00907024834305048,
-0.08174755424261093,
0.0069844420067965984,
-0.007611186243593693,
-0.015001758933067322,
0.0034947278909385204,
-0.04011165350675583,
0.01059950515627861,
-0.02430766262114048,
-0.034014683216810226,
-0.07336421310901642,
-0.000903765729162842,
0.05723933130502701,
-0.024548333138227463,
0.02498956024646759,
0.016345499083399773,
-0.02569151483476162,
0.054632075130939484,
0.054311178624629974,
-0.0022713225334882736,
-0.01914328709244728,
-0.006578311324119568,
0.010378890670835972,
-0.005445157177746296,
-0.0010823879856616259,
0.007210069801658392,
0.002444304060190916,
-0.08407402783632278,
-0.07031573355197906,
-0.06574299931526184,
0.06189228221774101,
0.006036804057657719,
0.013978911563754082,
0.01645580679178238,
-0.04460415989160538,
0.040953997522592545,
0.025230230763554573,
0.0020043293479830027,
-0.039830874651670456,
0.003236509161069989,
-0.05615631490945816,
-0.0700349509716034,
-0.004718133248388767,
0.03804590553045273,
0.003890830557793379,
-0.020436888560652733,
-0.006412850692868233,
0.03377401456236839,
0.03589992970228195,
0.045326169580221176,
0.04484482854604721,
0.037103280425071716,
0.054271068423986435,
-0.03343306481838226,
0.006101985462009907,
0.04897633194923401,
0.009621783159673214,
-0.020055826753377914,
-0.013637962751090527,
0.019353874027729034,
0.05900424346327782,
-0.013968884013593197,
-0.03467652574181557,
-0.0014302311465144157,
0.033453118056058884,
0.03453613445162773,
0.08551804721355438,
0.03634116053581238,
0.011863022111356258,
-0.017338262870907784,
0.0167365875095129,
-0.07171963900327682,
0.08090520650148392,
0.021138841286301613,
0.12988153100013733,
0.004206709563732147,
0.008167735300958157,
-0.0033392952755093575,
0.035438645631074905,
-0.04825432226061821,
0.04167601093649864,
-0.025250285863876343,
0.04143533855676651,
-0.02292381040751934,
0.035137809813022614,
-0.005791120231151581,
0.03315228223800659,
-0.05727944150567055,
-0.0005546689499169588,
-0.002134692156687379,
0.0389484167098999,
0.03319239243865013,
0.007084720768034458,
-0.07982219010591507,
0.0032465369440615177,
0.007064665202051401,
0.05030001327395439,
-0.09955712407827377,
0.044965166598558426,
0.03531831130385399,
0.0028604622930288315,
0.026955032721161842,
-0.09466350823640823,
-0.048454876989126205,
-0.04701085761189461,
-0.0233449824154377,
-0.033072058111429214,
-0.054271068423986435,
-0.03810607269406319,
0.006212292704731226,
0.02976284734904766,
-0.010850202292203903,
0.0459679551422596,
-0.045366279780864716,
0.006187222898006439,
0.09025122225284576,
0.05848279222846031,
0.006979427766054869,
0.04336069896817207,
-0.00409890990704298,
-0.020697614178061485,
0.08327179402112961,
0.013938799500465393,
0.05234570801258087,
0.002369094640016556,
0.0033944486640393734,
-0.026092631742358208,
-0.003534839488565922,
-0.008744340389966965,
-0.033312730491161346,
-0.051864370703697205,
0.029903238639235497,
0.0003027176426257938,
-0.02908094972372055,
-0.043721701949834824,
0.06285496056079865,
-0.045326169580221176,
0.0056156315840780735,
-0.007972191087901592,
-0.06409842520952225,
0.02428760752081871,
0.011080844327807426,
-0.0011438089422881603,
-0.02057727798819542,
-0.029241396114230156,
0.018932700157165527,
0.021439678966999054,
0.05158358812332153,
0.014851340092718601,
0.06269451975822449,
0.020677557215094566,
-0.025410732254385948,
-0.014410112053155899,
0.002883025212213397,
0.011582240462303162,
0.07841828465461731,
-0.018280886113643646,
-0.01401902362704277,
-0.05503318831324577,
-0.07942107319831848,
0.03142748028039932,
-0.027897655963897705,
0.043721701949834824,
-0.027476483955979347,
0.1163237988948822,
-0.03591998666524887,
-0.02567145973443985,
0.019363900646567345,
-0.0266541950404644,
0.04041249305009842,
0.020085910335183144,
0.03351328894495964,
0.058081675320863724,
-0.035799652338027954,
0.018631864339113235,
-0.050901688635349274,
-0.010940453968942165,
-0.008082498796284199,
0.08158710598945618,
0.052947383373975754,
-0.03569937124848366,
0.05439140275120735,
-0.024448053911328316,
-0.006056859623640776,
-0.011873049661517143,
-0.03152776136994362,
0.022482583299279213,
-0.04247824102640152,
-0.0540303997695446,
0.02254275046288967,
-0.0017736871959641576,
-0.026894863694906235,
-0.0048484960570931435,
-0.014329888857901096,
0.03521803393959999,
0.05214514955878258,
-0.031367313116788864,
0.014500362798571587,
-0.04251835495233536,
0.03387429192662239,
0.029642513021826744,
0.009170526638627052,
0.016495918855071068,
-0.038527242839336395,
0.020657502114772797,
-0.000980228534899652,
0.0029657555278390646,
-0.010529309511184692,
0.020597334951162338,
-0.03666205331683159,
-0.027917711064219475,
-0.02539067715406418,
0.052907273173332214,
0.032670941203832626,
0.05435129255056381,
0.032991837710142136,
0.025872016325592995,
0.0284592192620039,
-0.07605169713497162,
0.0064379204995930195,
0.017057480290532112,
0.01707753725349903,
0.05924491211771965,
0.06875137239694595,
0.06080926954746246,
0.04420304298400879,
-0.005425101146101952,
-0.002975783310830593,
-0.02504972741007805,
-0.025811849161982536,
-0.026453636586666107,
-0.04733175411820412,
-0.00023894637706689537,
0.016856923699378967,
0.0013462473871186376,
0.038848135620355606,
0.027115479111671448,
-0.020416831597685814,
-0.01779954694211483,
-0.02743637189269066,
-0.049136776477098465,
-0.0031537788454443216,
0.03315228223800659,
-0.03495730832219124,
0.02667425014078617,
-0.0017273081466555595,
0.035077642649412155,
-0.007781661115586758,
0.015362763777375221,
0.021740516647696495,
-0.03497736155986786,
0.0006743771955370903,
-0.026172854006290436,
-0.03190882131457329,
-0.07212075591087341,
0.003888323437422514,
-0.007440711837261915,
0.010669699870049953,
-0.06710679829120636,
-0.012254110537469387,
-0.04404259845614433,
-0.009516489692032337,
-0.07424667477607727,
0.009015094488859177,
-0.011451877653598785,
-0.023445261642336845,
-0.03796568140387535,
0.028579553589224815,
0.04817409813404083,
-0.028338883072137833,
-0.00307606253772974,
-0.05302760750055313,
0.016947174444794655,
0.003670216305181384,
-0.0013813450932502747,
-0.0659034475684166,
0.029702680185437202,
-0.0011199925793334842,
-0.0024794016499072313,
-0.007977205328643322,
-0.029562288895249367,
0.05956580862402916,
0.006432906724512577,
-0.036481548100709915,
0.054230958223342896,
-0.07171963900327682,
-0.0009388634352944791,
0.07412634044885635,
0.009646852500736713,
0.035137809813022614,
0.008473587222397327,
-0.040572937577962875,
0.022482583299279213,
0.029642513021826744,
0.03437568619847298,
-0.016265276819467545,
0.06377752870321274,
0.024147216230630875,
0.048454876989126205,
-0.012966092675924301,
0.012193943373858929,
-0.014720977284014225,
-0.0020895665511488914,
-0.013437404297292233,
-0.018651919439435005,
0.02362576499581337,
0.021439678966999054,
0.027275925502181053,
-0.04011165350675583,
-0.019664738327264786,
0.05298749729990959,
-0.007796702906489372,
0.009125401265919209,
0.0029507135041058064,
-0.048855993896722794,
-0.08319157361984253,
-0.004998914897441864,
-0.0032415231689810753,
0.011331542395055294,
-0.035418592393398285,
0.01706750877201557,
0.01008306723088026,
0.015563322231173515,
0.018200663849711418,
0.02224191278219223,
0.009075261652469635,
0.028338883072137833,
0.045326169580221176,
0.03834674134850502,
-0.023385094478726387,
-0.015944382175803185,
0.03012385219335556,
-0.013988939113914967,
-0.0033342812675982714,
0.002940685721114278,
-0.09426239132881165,
-0.002945699729025364,
-0.03363362327218056,
-0.03261077404022217,
0.08146677166223526,
0.02296392247080803,
-0.023726044222712517,
0.02500961720943451,
0.04612840339541435,
0.05282704904675484,
-0.04412281885743141,
-0.04283924773335457,
-0.05796134099364281,
-0.020637447014451027,
0.01947420835494995,
-0.034395743161439896,
0.0002030652540270239,
0.002194859553128481,
0.01950429193675518,
0.013898688368499279,
-0.08624006062746048,
0.010017885826528072,
0.021459735929965973,
-0.0008329435950145125,
0.031267035752534866,
0.008990024216473103,
0.04440360143780708,
-0.07689404487609863,
-0.0005107968463562429,
0.01986529678106308,
0.008969969116151333,
-0.006412850692868233,
0.04480471834540367,
0.0092457365244627,
0.008974982425570488,
0.024568388238549232,
0.0014766103122383356,
0.005334849935024977,
0.026152798905968666,
-0.05719922110438347,
0.04179634526371956,
0.0014477800577878952,
0.000940743659157306,
0.05034012719988823,
0.012294221669435501,
-0.06409842520952225,
-0.05928502604365349,
0.01284575741738081,
0.0635368600487709,
0.01061956025660038,
-0.06514132767915726,
0.023184536024928093,
-0.037163447588682175,
0.006096971686929464,
0.05034012719988823,
0.016024606302380562,
0.012524863705039024,
-0.005831231828778982,
0.0215399581938982,
-0.009461336769163609,
0.024548333138227463,
-0.011732659302651882,
-0.06241373345255852,
0.03722361475229263,
-0.07139874249696732,
0.007851856760680676,
-0.06794914603233337,
0.04901644214987755,
0.0007765365880914032,
-0.04215734824538231,
-0.09169524163007736,
-0.006493073888123035,
0.06738758087158203,
0.0005869463202543557,
-0.04588773101568222,
-0.001916585024446249,
0.010328751057386398,
0.012885869480669498,
-0.03798573836684227,
-0.003108653239905834,
0.017568904906511307,
0.003479686100035906,
0.007139874622225761,
-0.027235813438892365,
0.015302596613764763,
0.011602296493947506,
0.033372897654771805,
-0.01165243610739708,
-0.0021384526044130325,
0.022422414273023605,
-0.05615631490945816,
-0.02569151483476162,
0.014450223185122013,
-0.005091673228889704,
-0.0026699320878833532,
0.009381113573908806,
-0.02400682494044304,
-0.011050760746002197,
-0.015533238649368286,
-0.01714773289859295,
0.06690623611211777,
0.005700869020074606,
-0.03447596728801727,
-0.009837383404374123,
-0.022161688655614853,
0.031607985496520996,
0.07589124888181686,
-0.013778353109955788,
-0.035077642649412155,
-0.010679728351533413,
-0.014500362798571587,
-0.007851856760680676,
-0.02871994487941265,
-0.012464696541428566,
0.022342192009091377,
0.009145457297563553,
-0.007681381888687611,
-0.019414041191339493,
-0.02743637189269066,
-0.05579531192779541,
0.0068490649573504925,
-0.001962964190170169,
0.024528276175260544,
0.06205273047089577,
-0.019022952765226364,
-0.012705366127192974,
-0.00471061235293746,
0.011080844327807426,
0.008990024216473103,
0.012284194119274616,
-0.0028629694133996964,
-0.00804238673299551,
-0.07565058022737503,
-0.05491285398602486,
0.04017182067036629,
0.012364417314529419,
-0.049417559057474136,
0.012605087831616402,
-0.021499846130609512,
-0.0073053352534770966,
0.0034345604944974184,
-0.08808519691228867,
0.03979076072573662,
-0.026794584468007088,
-0.013918744400143623,
-0.004061304964125156,
-0.06670568138360977,
-0.03654171898961067,
0.06337641179561615,
0.06482043117284775,
-0.05166381224989891,
-0.005470226984471083,
-0.08960943669080734,
-0.035418592393398285,
0.012414556927978992,
-0.0011162321316078305,
-0.035057585686445236,
0.012865813449025154,
0.09955712407827377,
0.004289439879357815,
-0.011933216825127602,
-0.04664985463023186,
-0.015362763777375221,
0.014299805276095867,
-0.023104313760995865,
-0.01809035614132881,
-0.03226982429623604,
0.01646583341062069,
0.07256198674440384,
-0.0452459454536438,
-0.016887007281184196,
-0.028900446370244026,
0.013337125070393085,
-0.023084256798028946,
-0.02400682494044304,
0.03910886496305466,
-0.010519281029701233,
-0.01183293852955103,
-0.009406182914972305,
-0.08936876803636551,
-0.05202481523156166,
0.021038562059402466,
0.0569184385240078,
-0.006322599481791258,
-0.0018288407009094954,
0.028559498488903046,
0.02567145973443985,
0.04528605937957764,
0.04147545248270035,
-0.05386995151638985,
0.01579396426677704,
0.03979076072573662,
-0.018722115084528923,
0.05984658747911453,
-0.014831284061074257,
0.01639563962817192,
-0.042638689279556274,
-0.05042035132646561,
-0.029722735285758972,
0.042959582060575485,
0.006287501659244299,
0.005956580862402916,
0.03329267352819443,
-0.06586333364248276,
0.02739625982940197
] |
18,347 | jonf | _format_item |
Formats Python nested item to JONF marker, space, text
Args:
item: Any data that can be converted to JSON
is_unquoted_string: If we already found that `_is_unquoted_string(item) is True`
Returns:
marker: Either "-" or "="
space: Either " " or "
"
text: JONF text, representing this item
| def _format_item(item: Any, is_unquoted_string: bool = False) -> Tuple[str, str, str]:
"""
Formats Python nested item to JONF marker, space, text
Args:
item: Any data that can be converted to JSON
is_unquoted_string: If we already found that `_is_unquoted_string(item) is True`
Returns:
marker: Either "-" or "="
space: Either " " or "\n"
text: JONF text, representing this item
"""
if is_unquoted_string or _is_unquoted_string(item):
marker = "-"
text = item
else:
marker = "="
text = format(item)
lines = text.splitlines()
assert lines
if len(lines) == 1 and (not isinstance(item, COLLECTIONS) or item in EMPTIES):
space = " "
else:
space = "\n"
text = "\n".join(((INDENT + line) if line else "") for line in lines)
return marker, space, text
| (item: Any, is_unquoted_string: bool = False) -> Tuple[str, str, str] | [
0.047437869012355804,
-0.011392414569854736,
0.017848726361989975,
-0.017079465091228485,
-0.007898679934442043,
-0.09399658441543579,
0.014295466244220734,
-0.031759560108184814,
0.09033342450857162,
-0.02796819619834423,
-0.012317362241446972,
0.014872413128614426,
-0.04003829509019852,
0.012674519792199135,
-0.029012195765972137,
0.04212629422545433,
-0.03322482481598854,
0.004679681733250618,
0.06307954341173172,
0.08754942566156387,
-0.002623735461384058,
0.032437246292829514,
0.06139449402689934,
0.019707778468728065,
0.0632627010345459,
-0.04974565654993057,
0.03992839902639389,
0.013086624443531036,
0.060149021446704865,
-0.01678641140460968,
0.03849976882338524,
-0.06000249460339546,
0.03945218771696091,
0.014927360229194164,
-0.0038142611738294363,
0.025312406942248344,
-0.03390250727534294,
0.020055778324604034,
-0.06102817878127098,
-0.003839445300400257,
-0.06121133640408516,
-0.031008614227175713,
0.010320941917598248,
-0.040148187428712845,
0.012005993165075779,
0.008896890096366405,
0.03740082308650017,
0.014396202750504017,
-0.022180408239364624,
-0.019817672669887543,
0.05483744293451309,
-0.013462098315358162,
0.008365732617676258,
-0.00448965560644865,
-0.07993005961179733,
-0.02271156758069992,
0.027839984744787216,
0.03009282611310482,
-0.01169462502002716,
0.012674519792199135,
0.017848726361989975,
0.06274986267089844,
0.01436872873455286,
-0.042089663445949554,
-0.027766721323132515,
-0.00040809845086187124,
-0.012308203615248203,
0.024030303582549095,
-0.02730882726609707,
0.01669483259320259,
0.020220620557665825,
0.00800399575382471,
-0.020220620557665825,
0.0249277763068676,
0.008828205987811089,
0.007976521737873554,
-0.020788410678505898,
-0.04630229249596596,
0.017573989927768707,
-0.020403778180480003,
-0.002237959299236536,
0.027821669355034828,
-0.009734837338328362,
-0.01089788880199194,
0.00329684023745358,
0.019469674676656723,
-0.0182242002338171,
0.04791408032178879,
0.020788410678505898,
0.06571701914072037,
-0.03773050755262375,
-0.025220828130841255,
0.024561461061239243,
0.03533113747835159,
-0.06194396689534187,
0.0012031177757307887,
0.02408524975180626,
-0.09487573802471161,
-0.013828413560986519,
0.044470712542533875,
0.048536814749240875,
-0.011886941269040108,
-0.033865876495838165,
-0.06080838665366173,
-0.011639677919447422,
-0.03952545300126076,
0.015385255217552185,
-0.009354784153401852,
0.09597468376159668,
-0.004576655570417643,
-0.05219997093081474,
-0.03146651014685631,
-0.05915996804833412,
-0.012390624731779099,
0.05095449835062027,
0.035972192883491516,
0.01283936109393835,
-0.05333555117249489,
0.04509345069527626,
-0.0379502959549427,
0.00855346955358982,
-0.04630229249596596,
0.005558839067816734,
0.023114513605833054,
0.0166032537817955,
-0.03230903670191765,
-0.02261998876929283,
0.00160606496501714,
0.03469008579850197,
-0.007944469340145588,
0.026594512164592743,
-0.004572076722979546,
-0.01831577904522419,
-0.03813345357775688,
-0.0017113806679844856,
0.024121882393956184,
-0.018022727221250534,
0.0378037691116333,
-0.02544061839580536,
0.06546059995889664,
0.005915996618568897,
-0.053958285599946976,
-0.04703492298722267,
-0.026997460052371025,
-0.06238354369997978,
-0.014359571039676666,
0.013269782066345215,
0.04333513602614403,
-0.01720767468214035,
-0.030275983735919,
-0.01780293695628643,
0.0044347080402076244,
0.03578903526067734,
0.0376572422683239,
0.019213253632187843,
-0.030660614371299744,
-0.024707986041903496,
-0.05586312711238861,
0.04007492586970329,
0.01976272650063038,
0.0551304966211319,
-0.04113724082708359,
0.008993048220872879,
0.07322648912668228,
0.03287682309746742,
0.0754610151052475,
-0.01224409881979227,
-0.02805977500975132,
0.019378094002604485,
-0.014634307473897934,
0.042602501809597015,
0.031246719881892204,
-0.0500020794570446,
0.009267784655094147,
-0.010192731395363808,
0.06527744233608246,
-0.017656411975622177,
0.04780418425798416,
0.035129666328430176,
-0.05249302461743355,
-0.018865253776311874,
-0.020129041746258736,
0.04839029163122177,
0.038866084069013596,
-0.026045039296150208,
-0.012454730458557606,
-0.007230154238641262,
0.00665778573602438,
0.015440202318131924,
0.00805436447262764,
0.02229030430316925,
0.02163093537092209,
-0.024305040016770363,
-0.03018440492451191,
-0.04567955434322357,
0.03754734992980957,
0.01934146322309971,
-0.036576613783836365,
-0.02948840521275997,
0.0417233444750309,
-0.08051616698503494,
0.002495524939149618,
-0.08300711214542389,
0.07128501683473587,
-0.00519252335652709,
-0.005572576075792313,
0.009478416293859482,
-0.04121050238609314,
-0.07582733035087585,
0.024268407374620438,
-0.021392829716205597,
0.05883028358221054,
-0.03194272145628929,
0.00881446897983551,
0.006589101627469063,
-0.01695125363767147,
0.026045039296150208,
0.07113848626613617,
-0.040734294801950455,
-0.0014801439829170704,
-0.026741039007902145,
-0.017399990931153297,
0.037693873047828674,
0.03604545444250107,
0.024305040016770363,
0.0175465177744627,
0.03534945473074913,
0.03058735281229019,
0.013141571544110775,
0.03128335252404213,
-0.009689047001302242,
-0.03355450928211212,
0.03399408608675003,
0.037510715425014496,
-0.03652166575193405,
-0.06985638290643692,
-0.00940515287220478,
-0.09743994474411011,
-0.022180408239364624,
-0.06110144034028053,
0.0012351704062893987,
-0.026429669931530952,
-0.02730882726609707,
-0.016090411692857742,
-0.022070514038205147,
-0.020531989634037018,
0.0037547347601503134,
-0.010183573700487614,
-0.009963784366846085,
-0.0034273401834070683,
-0.004613286815583706,
0.10366731137037277,
0.018205884844064713,
0.05003871023654938,
-0.035550929605960846,
-0.027400406077504158,
-0.006250259932130575,
0.025733670219779015,
-0.022583356127142906,
0.022491777315735817,
0.01170378364622593,
-0.06139449402689934,
0.015989676117897034,
0.05069807916879654,
-0.00737668015062809,
0.00009801804117159918,
0.026502933353185654,
-0.0026855512987822294,
0.015275360085070133,
0.02298630401492119,
0.009313574060797691,
-0.019194936379790306,
0.05069807916879654,
-0.029286932200193405,
-0.03382924571633339,
0.016813885420560837,
-0.028169669210910797,
0.06135786324739456,
-0.05194355174899101,
-0.04465387016534805,
0.020220620557665825,
0.02373724989593029,
-0.021337883546948433,
0.011474835686385632,
0.024286724627017975,
-0.017015358433127403,
0.03205261379480362,
0.09216500073671341,
-0.03016608953475952,
0.03714440017938614,
-0.031081877648830414,
-0.01207925658673048,
-0.006259417627006769,
0.01663072779774666,
0.02712566964328289,
0.01593472808599472,
0.00548557611182332,
-0.02060525119304657,
0.0337376669049263,
-0.0338841937482357,
-0.004556050058454275,
0.07729259133338928,
0.0029167879838496447,
-0.006250259932130575,
0.033774297684431076,
0.052602920681238174,
-0.02434167079627514,
-0.04128376767039299,
-0.04194313660264015,
0.0007990258745849133,
-0.02516588196158409,
0.012033467181026936,
-0.010632310062646866,
0.0342688225209713,
-0.01233567763119936,
0.019268199801445007,
-0.07040585577487946,
0.006108312401920557,
0.007875785231590271,
-0.00027874327497556806,
0.0023924987763166428,
-0.059233229607343674,
0.004588102921843529,
0.00898388959467411,
0.041833240538835526,
-0.029909668490290642,
-0.031997665762901306,
0.0579877570271492,
0.011309994384646416,
0.06348249316215515,
0.0418698713183403,
0.0357707180082798,
-0.03908587247133255,
0.01737251691520214,
-0.019030094146728516,
-0.02196061983704567,
-0.019121674820780754,
-0.032437246292829514,
-0.008090995252132416,
-0.045642923563718796,
0.011071888729929924,
-0.00936394277960062,
0.014780834317207336,
0.015128834173083305,
-0.05304249748587608,
-0.02170419879257679,
0.028462721034884453,
0.016465885564684868,
0.049049656838178635,
0.023279355838894844,
-0.019982514902949333,
0.014002413488924503,
0.02450651302933693,
0.0077704694122076035,
-0.015449360013008118,
-0.018416516482830048,
-0.03126503527164459,
-0.05681554973125458,
0.0008740061311982572,
0.034726716578006744,
0.016823044046759605,
-0.026008406654000282,
0.05553344264626503,
0.007642258889973164,
0.016923779621720314,
-0.03542271628975868,
0.015980517491698265,
-0.012821045704185963,
0.06058859825134277,
-0.007211838383227587,
-0.013535360805690289,
-0.03375598043203354,
0.05567996948957443,
-0.08776921778917313,
-0.006882154382765293,
0.058793652802705765,
0.02077009342610836,
0.006259417627006769,
-0.07743911445140839,
-0.07597385346889496,
-0.022674934938549995,
-0.0512109212577343,
-0.019011778756976128,
0.02457977645099163,
0.02196061983704567,
-0.011090204119682312,
-0.012995045632123947,
0.018260832875967026,
-0.027931563556194305,
-0.00443241884931922,
-0.0835932195186615,
0.011740414425730705,
0.07102859020233154,
-0.007564417086541653,
-0.022949671372771263,
-0.045642923563718796,
-0.017015358433127403,
-0.08322690427303314,
-0.0249277763068676,
0.004354576580226421,
0.029891353100538254,
-0.05791449546813965,
-0.016557464376091957,
-0.052090078592300415,
-0.023755565285682678,
0.007161469664424658,
0.004977313335984945,
0.05842733755707741,
-0.02686924859881401,
0.029781457036733627,
0.046155765652656555,
-0.007445364259183407,
-0.03732755780220032,
-0.05351870879530907,
0.001900262082926929,
0.0014354991726577282,
-0.021997250616550446,
0.06520417332649231,
-0.05575323477387428,
-0.015815675258636475,
-0.047511130571365356,
-0.0019494857406243682,
-0.004251550417393446,
0.025202512741088867,
-0.07502143085002899,
-0.08256753534078598,
-0.034287139773368835,
0.04080755636096001,
0.07905090600252151,
0.038096822798252106,
0.007266785483807325,
-0.016127044335007668,
0.04817049950361252,
-0.04388460889458656,
0.00848478451371193,
-0.00038634848897345364,
0.01373683474957943,
-0.04762102663516998,
0.051833655685186386,
-0.002081130398437381,
0.05992922931909561,
0.04091745242476463,
-0.013974939472973347,
-0.01288515143096447,
-0.008489363826811314,
0.013965781778097153,
-0.0010966573609039187,
0.0030014982912689447,
0.042785659432411194,
0.011731256730854511,
0.024469882249832153,
0.03806018829345703,
0.036246929317712784,
-0.02729051187634468,
0.0017468674341216683,
-0.03864629566669464,
0.0485001839697361,
-0.02280314639210701,
0.0250010397285223,
0.03009282611310482,
0.013764308765530586,
0.019781041890382767,
0.018718726933002472,
0.018205884844064713,
-0.002334117190912366,
-0.07205427438020706,
-0.014258834533393383,
-0.013004203327000141,
-0.04817049950361252,
0.019103357568383217,
0.012271571904420853,
0.03567913919687271,
-0.03025766834616661,
0.04923281446099281,
0.06062522903084755,
0.013416308909654617,
0.0124638881534338,
-0.02815135382115841,
-0.008461889810860157,
-0.02042209357023239,
-0.015220412984490395,
-0.053372181951999664,
-0.022674934938549995,
-0.029525035992264748,
0.007225574925541878,
0.03298671916127205,
-0.007871205918490887,
-0.022931355983018875,
0.022949671372771263,
0.004549181554466486,
-0.022345250472426414,
0.014084834605455399,
0.00855804793536663,
-0.021484410390257835,
0.03738250583410263,
0.008713732473552227,
-0.02034883201122284,
-0.058280810713768005,
-0.034946508705616,
-0.0029808932449668646,
0.045826081186532974,
-0.021466093137860298,
0.031136825680732727,
-0.02577030286192894,
0.043701451271772385,
-0.052346497774124146,
0.03730924427509308,
0.0038692085072398186,
-0.006470049265772104,
-0.034195560961961746,
-0.006387628149241209,
-0.014570202678442001,
0.08256753534078598,
-0.018123464658856392,
-0.06362901628017426,
-0.003026682650670409,
-0.014707570895552635,
0.051687128841876984,
0.04194313660264015,
-0.035898927599191666,
-0.04102734476327896,
-0.06318943947553635,
-0.008026890456676483,
-0.03635682165622711,
-0.011969362385571003,
0.008571784943342209,
0.06652291119098663,
0.05952628329396248,
-0.02238188311457634,
-0.042162925004959106,
-0.020971568301320076,
0.030367562547326088,
-0.01106273103505373,
-0.010348415933549404,
-0.002800024813041091,
0.05179702490568161,
0.011502309702336788,
0.06696248799562454,
-0.018443990498781204,
0.025110933929681778,
0.08857510983943939,
0.066413015127182,
0.0047987340949475765,
-0.06058859825134277,
0.048536814749240875,
0.021136410534381866,
-0.001418328145518899,
-0.01643841154873371,
0.016475044190883636,
-0.024433249607682228,
-0.018453147262334824,
0.0005760884960182011,
-0.029616614803671837,
0.03425050899386406,
0.0026832616422325373,
-0.014487781561911106,
-0.03871955722570419,
0.029708195477724075,
0.04069766402244568,
0.003228156128898263,
-0.002848103642463684,
0.030239352956414223,
-0.006112891249358654,
0.007655995897948742,
0.01406651921570301,
-0.010311784222722054,
-0.021136410534381866,
0.03849976882338524,
-0.004663655534386635,
0.026741039007902145,
0.05132081359624863,
-0.0350930355489254,
0.04359155520796776,
-0.02415851317346096,
-0.028938932344317436,
-0.07824501395225525,
-0.062017228454351425,
0.02406693436205387,
-0.004208050202578306,
0.020971568301320076,
0.00473004998639226,
0.026942512020468712,
-0.021246304735541344,
0.005375681445002556,
0.014039045199751854,
-0.0051513127982616425,
0.019524620845913887,
0.010650625452399254,
-0.016081254929304123,
0.02747366949915886,
-0.016823044046759605,
-0.011593888513743877,
0.04571618512272835,
0.011886941269040108,
0.06487449258565903,
0.018105147406458855,
0.04765765741467476,
0.015916412696242332,
-0.0304225105792284,
-0.06586354225873947,
-0.024726303294301033,
0.04018482193350792,
-0.05088123679161072,
0.012665361166000366,
0.049562498927116394,
0.0025710775516927242,
0.023041250184178352,
-0.041833240538835526,
-0.002896182704716921,
-0.0054306285455822945,
-0.003008366795256734,
-0.011081046424806118,
-0.009345626458525658,
0.010907046496868134,
-0.04974565654993057,
0.03864629566669464,
-0.016044622287154198,
-0.02338925004005432,
-0.010467467829585075,
-0.059050071984529495,
-0.01694209687411785,
0.022107146680355072,
-0.04113724082708359,
-0.020568620413541794,
0.01745493710041046,
-0.07604711502790451,
-0.0002858978696167469,
-0.05373849719762802,
-0.016328517347574234,
-0.10520584136247635,
0.02152104116976261,
0.0008637034916318953,
0.04245597869157791,
-0.029213668778538704,
-0.04527660831809044,
0.07095532864332199,
-0.0483536571264267,
0.007239311933517456,
-0.034964822232723236,
0.05340881273150444,
0.03357282280921936,
-0.0034227613359689713,
-0.0661199614405632,
0.04674186930060387,
0.010073678568005562,
0.004876576364040375,
-0.006030470598489046,
-0.051174286752939224,
-0.000572940509300679,
0.033114928752183914,
-0.057767968624830246,
0.0673288032412529,
-0.03749240189790726,
-0.0010451441630721092,
-0.03390250727534294,
0.040148187428712845,
-0.01508304476737976,
-0.01881030574440956,
-0.05736502259969711,
0.004418681841343641,
0.03492819145321846,
-0.026209881529211998,
-0.051064394414424896,
0.021319568157196045,
0.005453523248434067,
-0.0730433315038681,
0.003015235299244523,
0.0379502959549427,
0.10630478709936142,
-0.022601671516895294,
0.009002205915749073,
0.057621441781520844,
0.06941680610179901,
0.011309994384646416,
-0.03197935223579407,
-0.007971943356096745,
0.07516796141862869,
0.055313654243946075,
0.016740621998906136,
-0.005595470778644085,
-0.0027771301101893187,
-0.05535028502345085,
-0.034726716578006744,
0.015577570535242558,
0.018370727077126503,
-0.06183407083153725,
0.014542728662490845,
-0.006392206996679306,
-0.04080755636096001,
-0.00975315272808075,
-0.0357707180082798,
-0.029726510867476463,
-0.02111809328198433,
0.005393997300416231,
0.04307871311903,
-0.06524080783128738,
0.01796777918934822,
0.07890437543392181,
0.026173248887062073,
-0.01789451763033867,
0.01745493710041046,
-0.0152112552896142,
0.0783182755112648,
-0.014295466244220734,
0.018077675253152847,
0.007912416942417622,
-0.011364941485226154,
-0.024781249463558197,
0.007088206708431244,
-0.015641676262021065,
-0.03882945328950882,
0.08124879747629166,
0.0059388913214206696,
-0.003152603516355157,
-0.011337467469274998,
0.026850933209061623,
-0.017848726361989975,
0.0032464719843119383,
0.0057191019877791405,
0.00023209527716971934,
-0.032766930758953094,
0.013819255866110325,
-0.014295466244220734,
-0.008246679790318012,
-0.020220620557665825,
0.003184656146913767,
-0.05959954857826233,
-0.029286932200193405,
-0.013626939617097378,
-0.010265994817018509,
0.001177933532744646,
0.060661863535642624,
-0.045826081186532974,
0.004528576508164406,
0.020220620557665825,
0.0022826041094958782,
-0.0004432990972418338,
0.017061147838830948,
0.00669441744685173,
0.013910834677517414,
0.02093493565917015,
0.10857594013214111,
-0.006369312293827534,
0.009689047001302242,
-0.03838987275958061,
-0.01892019994556904,
-0.0329134576022625,
0.03414061293005943,
-0.06245680898427963,
-0.008745784871280193,
0.03791366517543793,
0.02908545732498169,
-0.041833240538835526,
-0.013178203254938126,
0.0970003679394722,
0.003072472056373954,
0.011639677919447422,
0.07934395968914032,
-0.0007515193428844213,
-0.014231360517442226,
-0.03729092702269554,
-0.007591890636831522,
0.054214708507061005,
0.05494733899831772,
-0.019048411399126053,
-0.011071888729929924,
-0.08366648107767105,
0.018416516482830048
] |
18,348 | jonf | _has_comment |
Finds if this string data should be formatted as a quoted JSON string,
because otherwise a part of this data will become a JONF comment
| def _has_comment(data: str) -> bool:
"""
Finds if this string data should be formatted as a quoted JSON string,
because otherwise a part of this data will become a JONF comment
"""
return data.startswith("#") or any(mark in data for mark in INNER_COMMENT_MARKS)
# TODO: Compare performance with regex
| (data: str) -> bool | [
0.0018065227195620537,
-0.010060383938252926,
0.03629344701766968,
0.0314217209815979,
-0.009213718585669994,
-0.023507433012127876,
0.036003679037094116,
0.05172359570860863,
0.01710537075996399,
-0.024268073961138725,
0.021189289167523384,
0.0009372185450047255,
-0.003515701275318861,
-0.05454883351922035,
0.006302454974502325,
-0.026368891820311546,
0.00858437828719616,
0.006818604189902544,
0.013220666907727718,
-0.004763062112033367,
-0.06349541991949081,
-0.02283734455704689,
-0.00708573404699564,
0.07316642999649048,
0.0038303714245557785,
0.0383942648768425,
0.0013096157927066088,
0.027002759277820587,
0.01292184367775917,
0.015004551969468594,
-0.036619435995817184,
-0.0579536110162735,
0.04020531475543976,
0.03395719453692436,
0.048355042934417725,
0.010504092089831829,
0.020120767876505852,
-0.004310299642384052,
-0.059185124933719635,
-0.06606711447238922,
0.009204663336277008,
0.047594401985406876,
-0.08062795549631119,
-0.0038982857950031757,
-0.0005484086577780545,
-0.012378528714179993,
-0.03658321499824524,
0.06403873860836029,
-0.016435282304883003,
0.027075201272964478,
0.04868103191256523,
-0.047666843980550766,
-0.07946888357400894,
0.014434071257710457,
-0.03325088322162628,
-0.058279599994421005,
0.009643842466175556,
0.08562646061182022,
-0.006995181553065777,
0.022294029593467712,
0.004382741637527943,
0.006157570984214544,
-0.007769405841827393,
-0.05846070498228073,
0.023706648498773575,
0.020519200712442398,
0.02827049419283867,
-0.0238877534866333,
0.02205859310925007,
-0.04875347390770912,
-0.048499926924705505,
0.042777009308338165,
0.017005762085318565,
0.037452518939971924,
-0.013311219401657581,
-0.06976165622472763,
0.004507251549512148,
0.015122270211577415,
-0.015683695673942566,
-0.026079123839735985,
0.014850612729787827,
-0.04241479933261871,
0.008788121864199638,
-0.0008421383681707084,
-0.019740447402000427,
0.022185366600751877,
0.010422594845294952,
0.06606711447238922,
-0.053244877606630325,
0.0020702569745481014,
0.00642470084130764,
-0.016399061307311058,
0.020283762365579605,
-0.05704808607697487,
0.008611544035375118,
0.0041586244478821754,
0.026151565834879875,
-0.04223369434475899,
0.015747081488370895,
-0.0008574191015213728,
0.019215242937207222,
0.044877827167510986,
0.014334463514387608,
-0.03652888536453247,
0.016326619312167168,
-0.011635998263955116,
-0.02108062617480755,
0.039625778794288635,
-0.05777250602841377,
-0.0654875785112381,
-0.011961987242102623,
-0.07349242269992828,
-0.04868103191256523,
0.0017510592006146908,
0.09134937822818756,
-0.025083046406507492,
0.024901941418647766,
-0.029212241992354393,
0.022891676053404808,
-0.004274078644812107,
0.02298222854733467,
0.004163152072578669,
-0.01675221510231495,
-0.012632075697183609,
0.024322405457496643,
-0.028053168207406998,
-0.004776644986122847,
0.03410207852721214,
-0.00008581265865359455,
-0.03241780027747154,
0.08222168684005737,
0.03149416297674179,
0.026006681844592094,
-0.03618478402495384,
-0.030190208926796913,
0.05349842458963394,
-0.035587139427661896,
0.034246962517499924,
0.00321235042065382,
-0.05578034743666649,
0.020519200712442398,
-0.0361485630273819,
-0.047594401985406876,
0.00006561520422110334,
-0.07584678381681442,
0.005899496376514435,
-0.038720253854990005,
-0.011273788288235664,
0.012315141968429089,
-0.016181733459234238,
0.03450050950050354,
-0.01319350115954876,
0.02919413149356842,
0.0024019053671509027,
-0.00699970917776227,
-0.03430129215121269,
-0.003101423615589738,
-0.02283734455704689,
-0.007986731827259064,
0.04306677728891373,
0.05549057945609093,
-0.06718996912240982,
-0.007466054987162352,
0.032798122614622116,
0.008987337350845337,
0.006148515734821558,
-0.031168175861239433,
-0.09605810791254044,
-0.011373396031558514,
0.009888334199786186,
0.04846370592713356,
0.05262912064790726,
0.026133455336093903,
0.07744050770998001,
0.05770006403326988,
0.03652888536453247,
-0.040893517434597015,
0.034536730498075485,
-0.011645053513348103,
-0.020120767876505852,
-0.011608832515776157,
0.008217641152441502,
0.03359498456120491,
0.02932090498507023,
-0.00851646438241005,
-0.05382441356778145,
0.03259890526533127,
-0.09229112416505814,
0.04907946288585663,
0.03580446541309357,
-0.0545850545167923,
-0.02736496925354004,
-0.03652888536453247,
0.03107762336730957,
-0.0015869328053668141,
-0.0353517010807991,
0.05447639152407646,
0.009906444698572159,
0.0062843444757163525,
-0.02982799895107746,
-0.027274416759610176,
-0.05809849500656128,
-0.0052520460449159145,
-0.01844554767012596,
0.011789937503635883,
0.0018959433073177934,
-0.012396639212965965,
0.03319655358791351,
0.004303508438169956,
-0.021605830639600754,
-0.046254225075244904,
-0.0051886592991650105,
0.0383942648768425,
0.07153648883104324,
0.059257566928863525,
0.059402450919151306,
0.022221587598323822,
0.041509274393320084,
-0.028161831200122833,
-0.010621810331940651,
0.01919713243842125,
0.05657720938324928,
0.056794535368680954,
0.07117427885532379,
-0.01858137547969818,
-0.00642470084130764,
0.049188125878572464,
0.06374897062778473,
0.025463366881012917,
-0.004457447677850723,
-0.025101156905293465,
-0.013537600636482239,
0.03477216511964798,
0.03806827589869499,
-0.006546946708112955,
-0.08229412883520126,
-0.011364340782165527,
0.0065831677056849,
0.06215524673461914,
-0.020899521186947823,
0.017793569713830948,
-0.025227930396795273,
-0.054983485490083694,
-0.001747663482092321,
-0.035659581422805786,
-0.04429829120635986,
0.00750680360943079,
0.07023253291845322,
0.012088760733604431,
-0.006415645591914654,
-0.017295530065894127,
0.04614556208252907,
-0.02198615111410618,
-0.05125272274017334,
-0.05208580568432808,
-0.02305467054247856,
0.012378528714179993,
0.025445256382226944,
0.0295382309705019,
0.0406399667263031,
-0.008163309656083584,
-0.028161831200122833,
0.04426207020878792,
0.08019330352544785,
0.010522202588617802,
-0.02060975320637226,
-0.006768800318241119,
0.008933005854487419,
-0.046471551060676575,
-0.008362525142729282,
0.11322686076164246,
-0.05360708758234978,
0.030407534912228584,
-0.043392766267061234,
0.015439203940331936,
-0.019251463934779167,
0.000046266675781225786,
-0.026857875287532806,
0.03256268426775932,
0.00028608934371732175,
0.0002442088152747601,
0.01865381747484207,
0.05983710289001465,
0.03133117035031319,
0.021497167646884918,
-0.02068219520151615,
0.05157871171832085,
0.05523703247308731,
-0.01682465709745884,
0.029357125982642174,
-0.05074562877416611,
-0.040603745728731155,
0.012858456932008266,
-0.010757639072835445,
0.018979806452989578,
0.03321466222405434,
0.06291588395833969,
-0.017721127718687057,
-0.03239968791604042,
-0.056323662400245667,
0.02660432830452919,
0.0451313741505146,
0.027038980275392532,
-0.020301872864365578,
-0.0628434419631958,
0.0004018267791252583,
-0.0722971260547638,
-0.009105055592954159,
-0.0015246779657900333,
-0.07932399958372116,
0.009489903226494789,
0.028089389204978943,
-0.0024992492981255054,
0.00841232854872942,
0.0009683459647931159,
0.004174470901489258,
-0.039336010813713074,
-0.02877759002149105,
-0.014606120996177197,
0.023616096004843712,
0.01442501600831747,
-0.05780872702598572,
0.05433150753378868,
-0.06737107038497925,
-0.02403263747692108,
-0.041799042373895645,
0.019993994385004044,
-0.0016322090523317456,
-0.025191709399223328,
0.044370733201503754,
0.009281632490456104,
-0.03372175619006157,
0.01491399947553873,
0.012912788428366184,
0.01941445842385292,
-0.04922434687614441,
-0.06566868722438812,
-0.05353464558720589,
-0.00569122564047575,
0.0015993837732821703,
0.044805385172367096,
-0.012695462442934513,
0.06048908084630966,
0.01641717180609703,
-0.027256306260824203,
-0.001890283776447177,
0.018545154482126236,
-0.0009994733845815063,
0.01781168021261692,
0.03810449689626694,
-0.013419882394373417,
-0.01099307555705309,
0.009661952964961529,
-0.030552418902516365,
-0.002300033811479807,
-0.014479347504675388,
-0.0006502802716568112,
0.0071264831349253654,
0.011645053513348103,
0.0054014576599001884,
0.085771344602108,
0.026495665311813354,
0.028759479522705078,
0.018282553181052208,
-0.05215824767947197,
0.057301633059978485,
-0.02129795216023922,
0.04056752473115921,
-0.013075782917439938,
0.03582257404923439,
-0.008611544035375118,
-0.012577744200825691,
-0.005704808514565229,
-0.08359808474779129,
-0.013284053653478622,
-0.05063696578145027,
0.05382441356778145,
-0.022801123559474945,
-0.0413643904030323,
-0.011273788288235664,
-0.03183826431632042,
0.0034930631518363953,
-0.014117136597633362,
-0.012939954176545143,
-0.04310299828648567,
-0.029556341469287872,
-0.043392766267061234,
-0.011101738549768925,
-0.06718996912240982,
-0.021424725651741028,
0.005655004642903805,
0.03051619790494442,
0.022384582087397575,
0.03500760346651077,
-0.09692741185426712,
-0.03156660497188568,
0.05646854639053345,
-0.015964407473802567,
-0.019867220893502235,
0.06943567097187042,
0.04259590432047844,
-0.058062274008989334,
0.0575551800429821,
0.02863270603120327,
0.04520381614565849,
0.007606411352753639,
0.019668005406856537,
-0.01934201642870903,
-0.023797200992703438,
0.03719897195696831,
-0.013311219401657581,
-0.09192891418933868,
0.009471792727708817,
-0.022384582087397575,
-0.024811388924717903,
0.043682534247636795,
0.015321485698223114,
-0.010377318598330021,
0.008846980519592762,
0.007864485494792461,
-0.008317248895764351,
-0.022094814106822014,
0.035569027066230774,
0.08294610679149628,
-0.030552418902516365,
0.00939029548317194,
0.0042808703146874905,
-0.04629044607281685,
0.026857875287532806,
0.010141881182789803,
-0.024268073961138725,
0.005700280889868736,
0.018382159993052483,
-0.05650476738810539,
0.0063477312214672565,
-0.020084546878933907,
0.02437673695385456,
-0.056866977363824844,
0.005609728395938873,
-0.01145489327609539,
0.01725025475025177,
0.051506269723176956,
-0.04078485444188118,
-0.01705103926360607,
-0.014307297766208649,
-0.018282553181052208,
0.03705408796668053,
0.026694880798459053,
0.07780271768569946,
0.002028376329690218,
-0.054077960550785065,
0.045638468116521835,
-0.05541813746094704,
-0.025608250871300697,
-0.02660432830452919,
-0.036130454391241074,
-0.012867512181401253,
0.025173598900437355,
-0.004298980813473463,
0.041799042373895645,
-0.07019630819559097,
0.05585278943181038,
-0.058424483984708786,
0.030479976907372475,
0.03154849633574486,
0.011934821493923664,
-0.013646263629198074,
0.003121797926723957,
-0.04846370592713356,
0.05085429176688194,
0.00917749758809805,
0.010775749571621418,
0.04973144084215164,
0.019034137949347496,
-0.01002416294068098,
0.05509214848279953,
-0.019251463934779167,
0.061141058802604675,
0.013591932132840157,
0.036909203976392746,
-0.0195593424141407,
-0.030461866408586502,
-0.08265633881092072,
-0.06556002050638199,
0.033685535192489624,
-0.03274378925561905,
0.0021381713449954987,
-0.050528302788734436,
0.044370733201503754,
-0.03107762336730957,
-0.0035247565247118473,
0.0027460050769150257,
0.057518959045410156,
-0.03605801239609718,
0.10214323550462723,
0.017404193058609962,
0.07117427885532379,
0.050310976803302765,
0.0319831483066082,
-0.012378528714179993,
0.004389533307403326,
0.024286184459924698,
-0.017005762085318565,
-0.03582257404923439,
0.018961695954203606,
-0.06871125102043152,
0.023706648498773575,
0.0004592710465658456,
-0.028433488681912422,
0.03430129215121269,
-0.014008473604917526,
0.019849110394716263,
0.05335354059934616,
0.0028003365732729435,
0.015901021659374237,
0.006429228466004133,
0.01858137547969818,
0.03357687219977379,
-0.06063396483659744,
-0.021460946649312973,
-0.04125572741031647,
-0.03632966801524162,
-0.005473899655044079,
-0.028469709679484367,
-0.020410537719726562,
0.05523703247308731,
-0.02682165428996086,
-0.013637208379805088,
-0.035858795046806335,
-0.05179603770375252,
0.011219456791877747,
0.02214914560317993,
0.01218836847692728,
-0.001294901012443006,
-0.021243620663881302,
0.020501090213656425,
0.010811970569193363,
0.030606750398874283,
0.01540298294275999,
0.02437673695385456,
-0.016516778618097305,
-0.024249963462352753,
0.055889010429382324,
-0.0028048641979694366,
-0.01983099989593029,
0.10866301506757736,
-0.0007923344965092838,
0.014325408264994621,
-0.018545154482126236,
-0.004181262571364641,
0.02814372070133686,
0.03875647485256195,
0.014008473604917526,
0.02004832588136196,
0.03861159086227417,
-0.00020331869018264115,
0.0025490534026175737,
0.00767885334789753,
-0.0042808703146874905,
0.010830081067979336,
-0.00486719748005271,
-0.000026582114514894783,
-0.0015439203707501292,
-0.01682465709745884,
-0.04998498782515526,
-0.014778170734643936,
-0.014406905509531498,
-0.01152733527123928,
-0.0297374464571476,
0.029483899474143982,
0.00789165124297142,
-0.03810449689626694,
0.08468471467494965,
0.03401152417063713,
-0.002199294278398156,
-0.030642971396446228,
-0.010259600356221199,
0.002229855628684163,
-0.014741949737071991,
-0.06501670181751251,
-0.006732579320669174,
-0.01172655075788498,
0.011753716506063938,
0.03303355723619461,
0.017413249239325523,
-0.042632125318050385,
-0.011536390520632267,
0.029665004462003708,
0.03596745803952217,
-0.01292184367775917,
0.025608250871300697,
0.048282600939273834,
0.06795060634613037,
-0.05607011541724205,
0.03491704910993576,
0.056033894419670105,
0.04509515315294266,
-0.002496985485777259,
0.028940584510564804,
0.01963178440928459,
-0.006365841720253229,
-0.003733027493581176,
-0.021442836150527,
-0.030081545934081078,
0.020519200712442398,
0.032924894243478775,
-0.03699975833296776,
0.032798122614622116,
-0.03392097353935242,
-0.01690615527331829,
0.007140066009014845,
0.05299133062362671,
0.006718996446579695,
-0.023380659520626068,
-0.015801412984728813,
0.026242118328809738,
0.013102948665618896,
-0.017766403034329414,
0.015828579664230347,
-0.0005549171473830938,
0.06479937583208084,
-0.013175390660762787,
0.024539731442928314,
-0.007660742849111557,
-0.03777850791811943,
-0.025608250871300697,
-0.03533359244465828,
-0.06918212026357651,
-0.066211998462677,
-0.08012086153030396,
0.022927897050976753,
-0.025119267404079437,
0.011219456791877747,
0.0054648444056510925,
-0.036764319986104965,
-0.009987941943109035,
-0.06530647724866867,
-0.024141300469636917,
0.04009665176272392,
-0.00403185049071908,
0.02024754136800766,
-0.02499249391257763,
-0.05440394952893257,
0.017856955528259277,
-0.006248123478144407,
0.019740447402000427,
0.03283434361219406,
-0.05335354059934616,
0.006130405236035585,
0.031313057988882065,
-0.031023291870951653,
0.061285942792892456,
0.034681614488363266,
0.056178778409957886,
0.026151565834879875,
0.0643647238612175,
-0.039408452808856964,
0.0033753449097275734,
-0.019939662888646126,
-0.009969831444323063,
0.05712052807211876,
-0.01837310567498207,
-0.07715073972940445,
-0.04183526337146759,
-0.0451313741505146,
-0.008502881042659283,
0.00929068773984909,
-0.04484160616993904,
0.04998498782515526,
-0.014461237005889416,
-0.00841232854872942,
0.09069740027189255,
0.008099921979010105,
-0.06168437376618385,
0.0053425985388457775,
-0.03629344701766968,
-0.01584669016301632,
-0.0183549951761961,
-0.003635683562606573,
-0.024829499423503876,
-0.02423185296356678,
-0.02423185296356678,
-0.004063543863594532,
-0.011925766244530678,
0.030642971396446228,
0.08555401861667633,
-0.004489141050726175,
-0.05291888862848282,
0.026930317282676697,
-0.0036175730638206005,
0.00009628279076423496,
-0.022167256101965904,
-0.03716275095939636,
0.05157871171832085,
0.05201336368918419,
-0.05516459047794342,
-0.005242990795522928,
0.08330831676721573,
0.013863589614629745,
-0.030009103938937187,
-0.005206769797950983,
0.04205258935689926,
0.01571086049079895,
-0.01620890013873577,
-0.019396347925066948,
-0.00963478721678257,
-0.0383942648768425,
-0.005369764287024736,
0.012767904438078403,
0.002465292112901807,
-0.03730763494968414,
0.07240579277276993,
0.009906444698572159,
-0.03009965643286705,
-0.01926957443356514,
-0.04484160616993904,
-0.005057357717305422,
-0.02359798550605774,
0.08294610679149628,
-0.01760340854525566,
0.018617596477270126,
0.034953270107507706,
-0.010268655605614185,
0.04505893215537071,
-0.019595563411712646,
-0.01885303296148777,
-0.044515617191791534,
-0.054005518555641174,
0.021008184179663658,
-0.02939334698021412,
-0.05922134593129158,
0.03330521658062935,
-0.016245121136307716,
0.01669788360595703,
-0.010558423586189747,
-0.015801412984728813,
-0.004871725104749203,
-0.037742286920547485,
-0.031457941979169846,
0.010585589334368706,
-0.00033447836176492274,
0.0014228064101189375,
-0.001996682956814766,
0.008258389309048653,
-0.04610934108495712,
-0.030335092917084694,
0.03372175619006157,
0.010386373847723007,
-0.01724119856953621,
-0.00021095905685797334,
0.002214008942246437,
-0.0061937919817864895,
-0.08388785272836685,
-0.0014318616595119238,
-0.024829499423503876,
0.05201336368918419,
-0.053027551621198654,
0.0880170464515686,
0.005745557136833668,
-0.0008483638521283865,
-0.04893457889556885,
0.027546074241399765,
0.02499249391257763,
0.024358626455068588,
-0.07577434182167053,
0.0008240278693847358,
-0.025028714910149574,
0.022457024082541466
] |
18,349 | jonf | _is_unquoted_string |
Finds if this data should be represented as a JONF unquoted string
| def _is_unquoted_string(data: Any) -> bool:
"""
Finds if this data should be represented as a JONF unquoted string
"""
return bool(
isinstance(data, str)
and data
and data.strip() == data
and not _has_comment(data)
)
| (data: Any) -> bool | [
0.0016394336707890034,
0.03063518926501274,
0.04163696989417076,
0.013796447776257992,
0.0014758219476789236,
-0.020411666482686996,
0.021579058840870857,
0.03387204930186272,
0.054513655602931976,
-0.0210130512714386,
0.008538763038814068,
0.04337036982178688,
-0.03721503168344498,
-0.008078881539404392,
-0.013946793042123318,
-0.007649953477084637,
0.015211467631161213,
0.040186576545238495,
0.04036345332860947,
0.00722986925393343,
-0.09303758293390274,
0.004740317817777395,
-0.013327722437679768,
0.07280278950929642,
0.017634689807891846,
-0.013265814632177353,
-0.00018019397975876927,
0.009392197243869305,
0.005947506986558437,
0.018802082166075706,
0.003396048676222563,
-0.050445470958948135,
0.06586918979883194,
0.01650267466902733,
0.09728264063596725,
-0.03657827526330948,
0.019810283556580544,
-0.01179773174226284,
-0.02348933555185795,
-0.05370001867413521,
-0.020040225237607956,
0.03916068747639656,
-0.04280436411499977,
-0.0020550957415252924,
-0.017935382202267647,
0.00855202879756689,
-0.049702588468790054,
0.023029454052448273,
-0.04404250532388687,
0.03940831497311592,
0.06498480588197708,
-0.00314399809576571,
-0.03176720440387726,
0.021419869735836983,
-0.03392511233687401,
-0.027592895552515984,
0.027628270909190178,
0.04775693267583847,
-0.0358353890478611,
-0.021048426628112793,
-0.020853860303759575,
-0.012063047848641872,
0.024798229336738586,
-0.10046643763780594,
0.014866556972265244,
0.031908705830574036,
0.02538192644715309,
-0.011443976312875748,
-0.0021866485476493835,
-0.03546394407749176,
-0.07492532581090927,
0.013389629311859608,
-0.04807531461119652,
0.03571157529950142,
0.02062392048537731,
-0.04312274232506752,
-0.012682119384407997,
0.04393637925386429,
-0.05370001867413521,
-0.04107096418738365,
0.017652377486228943,
-0.036366019397974014,
0.00859182607382536,
0.0028720488771796227,
-0.06746108829975128,
0.027663646265864372,
-0.0009324762504547834,
0.0766233503818512,
-0.017776191234588623,
0.044396258890628815,
0.012469866313040257,
-0.047473929822444916,
0.014424363151192665,
-0.00693359924480319,
0.020287852734327316,
0.0008501176489517093,
0.026460878551006317,
-0.04305199161171913,
-0.010161614045500755,
-0.028689535334706306,
0.022887952625751495,
0.03732115775346756,
0.03436730429530144,
-0.03855930268764496,
-0.012089579366147518,
-0.008609513752162457,
-0.023949217051267624,
-0.02218044176697731,
-0.020800797268748283,
-0.07131702452898026,
-0.0432288683950901,
-0.06816860288381577,
-0.04892432689666748,
0.02446216344833374,
0.06466642767190933,
-0.03820554539561272,
0.0339958630502224,
-0.03657827526330948,
0.004550174344331026,
-0.024975107982754707,
0.04375950247049332,
0.028530346229672432,
-0.014265173114836216,
-0.021030738949775696,
0.057732827961444855,
0.001941230962984264,
-0.007902003824710846,
0.013195063918828964,
-0.00034380570286884904,
0.010515369474887848,
0.033447541296482086,
0.038028668612241745,
0.004722630139440298,
-0.028282716870307922,
-0.04064645618200302,
0.04602353274822235,
-0.008114256896078587,
0.06937136501073837,
0.011806575581431389,
-0.013044717721641064,
0.03411967679858208,
-0.016157763078808784,
-0.0003277761861681938,
-0.027592895552515984,
-0.0679209753870964,
0.05727294459939003,
-0.032722342759370804,
-0.0020573067013174295,
0.016423078253865242,
-0.04372412711381912,
-0.018731331452727318,
-0.001951180282048881,
-0.007530560716986656,
0.015980884432792664,
-0.0050940727815032005,
-0.012549460865557194,
-0.002993652131408453,
-0.042415231466293335,
-0.01538834534585476,
0.0039598457515239716,
0.03261621668934822,
-0.04786305874586105,
0.00038526137359440327,
0.032775405794382095,
-0.0008418264915235341,
0.03594151511788368,
0.025629553943872452,
-0.07556208223104477,
-0.01343384850770235,
0.024179158732295036,
0.029821552336215973,
0.03482718765735626,
0.015910133719444275,
0.0753498300909996,
0.012832464650273323,
0.06257927417755127,
-0.029733113944530487,
0.03930218890309334,
0.0005137739353813231,
-0.009560230188071728,
-0.048039939254522324,
-0.02198587730526924,
0.013575350865721703,
0.01674145832657814,
0.02787589840590954,
-0.04039882868528366,
0.0031727408058941364,
-0.055504169315099716,
0.05055159702897072,
0.03137807548046112,
-0.05214349552989006,
-0.03194408118724823,
-0.015804007649421692,
-0.0028676269575953484,
-0.006982240825891495,
-0.007742813788354397,
0.06346365809440613,
-0.024073032662272453,
-0.020836172625422478,
-0.018890520557761192,
-0.05256800353527069,
-0.07188303023576736,
-0.00954254250973463,
-0.009250694885849953,
0.001195028773508966,
-0.016166606917977333,
-0.04765080660581589,
0.003360673086717725,
0.028406532481312752,
-0.017502032220363617,
-0.01741359382867813,
-0.021738247945904732,
-0.0073359957896173,
0.08575022965669632,
0.021649809554219246,
0.050940729677677155,
-0.0008926787995733321,
0.020712358877062798,
0.0169802438467741,
-0.007588046137243509,
0.04100021347403526,
0.09508936107158661,
0.03863005340099335,
0.04057570546865463,
0.011762355454266071,
0.0055849081836640835,
0.02292332798242569,
0.07213065773248672,
0.024550601840019226,
0.021472932770848274,
-0.015476783737540245,
-0.011523570865392685,
0.03539319336414337,
0.03682590276002884,
0.028123527765274048,
-0.06240239366889,
0.0007533877505920827,
-0.024497538805007935,
0.030741315335035324,
-0.0060049924068152905,
-0.003446900984272361,
-0.08681149035692215,
-0.07987789064645767,
-0.03291690722107887,
-0.005138292443007231,
-0.04712017625570297,
-0.01272633858025074,
0.11631466448307037,
-0.015344126150012016,
-0.0031240994576364756,
0.016325796023011208,
0.0512944832444191,
-0.023736964911222458,
-0.03774566575884819,
-0.011788887903094292,
-0.00696455268189311,
0.04736780375242233,
0.009595606476068497,
0.05288638174533844,
0.006234933156520128,
-0.00239447969943285,
-0.028530346229672432,
0.027097638696432114,
0.09961742907762527,
-0.013142000883817673,
-0.018183009698987007,
0.006062477361410856,
0.015521003864705563,
0.02409072034060955,
-0.012761713936924934,
0.08284943550825119,
-0.015467939898371696,
-0.008388416841626167,
-0.02379002794623375,
-0.022321945056319237,
0.007198915351182222,
0.035817701369524,
-0.024798229336738586,
0.039691317826509476,
-0.016157763078808784,
-0.0051957773976027966,
0.034685682505369186,
0.0630391538143158,
0.005226731300354004,
0.027699021622538567,
-0.03082975372672081,
0.0308828167617321,
-0.05302788317203522,
0.015078810043632984,
0.022145066410303116,
-0.03415505215525627,
-0.012920903973281384,
0.027716709300875664,
-0.019757220521569252,
0.005147136282175779,
0.013195063918828964,
0.029803864657878876,
-0.0339604876935482,
-0.019757220521569252,
-0.06431267410516739,
0.021278366446495056,
0.001905855373479426,
0.026284001767635345,
-0.02768133394420147,
-0.03113044612109661,
0.00011448674922576174,
-0.05578717216849327,
0.02384309098124504,
-0.021172240376472473,
-0.048039939254522324,
0.008233648724853992,
0.03514556586742401,
-0.056813064962625504,
0.006814206950366497,
-0.017997289076447487,
0.05469053238630295,
-0.016599956899881363,
-0.07244903594255447,
-0.044325508177280426,
0.016644176095724106,
0.028831038624048233,
-0.0698312520980835,
0.06123500317335129,
-0.07924113422632217,
-0.07407630980014801,
-0.03169645369052887,
0.01742243766784668,
-0.0005836958298459649,
-0.018200697377324104,
0.04298124089837074,
0.015255686827003956,
-0.001668176264502108,
0.04368875175714493,
0.01337194163352251,
0.03610070422291756,
-0.0618010088801384,
-0.040929462760686874,
-0.022339632734656334,
0.01940346509218216,
0.008428214117884636,
0.004749161656945944,
-0.023436272516846657,
0.07591583579778671,
0.016033947467803955,
-0.009489479474723339,
-0.018014976754784584,
-0.025629553943872452,
0.015839383006095886,
0.08582098037004471,
0.008795235306024551,
-0.023701589554548264,
-0.015494471415877342,
0.0032899221405386925,
-0.029803864657878876,
-0.015149560756981373,
0.023825403302907944,
-0.028088152408599854,
0.0660814493894577,
-0.002228657016530633,
0.040115825831890106,
0.05801583081483841,
-0.04471464082598686,
-0.00014495666255243123,
0.017316309735178947,
-0.010895656421780586,
0.013044717721641064,
0.01705983839929104,
0.01952727884054184,
-0.037038154900074005,
0.04627116397023201,
-0.009825547225773335,
-0.018678266555070877,
-0.030617501586675644,
-0.0969996377825737,
-0.013991013169288635,
-0.03923143818974495,
0.05232037231326103,
-0.03077669069170952,
-0.04443163797259331,
-0.03732115775346756,
0.01723671518266201,
-0.011443976312875748,
-0.013619570061564445,
-0.004842022433876991,
-0.022658012807369232,
-0.01631695218384266,
-0.06434804946184158,
0.0026376862078905106,
-0.07205990701913834,
-0.013239283114671707,
0.021702872589230537,
0.003515440970659256,
0.07648184150457382,
0.033836670219898224,
-0.0821419283747673,
-0.009754795581102371,
-0.005434561986476183,
-0.047297053039073944,
-0.034561868757009506,
0.049207329750061035,
-0.0007412274135276675,
-0.01331003475934267,
0.04276898875832558,
0.03316453844308853,
0.009471791796386242,
0.03625989332795143,
-0.003528706729412079,
-0.006986662745475769,
-0.03912530839443207,
0.03799329325556755,
0.05999685823917389,
-0.05536266788840294,
-0.005947506986558437,
-0.054832033812999725,
-0.014477426186203957,
0.031908705830574036,
-0.004585550166666508,
-0.03249240294098854,
0.032209400087594986,
0.008857142180204391,
-0.03923143818974495,
0.009710576385259628,
0.011762355454266071,
0.0778261125087738,
-0.027645958587527275,
0.018501389771699905,
-0.007994864135980606,
-0.04963183403015137,
0.04733242839574814,
0.013814135454595089,
-0.044077880680561066,
0.02094230055809021,
-0.004651878960430622,
-0.06265002489089966,
0.014194422401487827,
0.013796447776257992,
-0.010028956457972527,
-0.055256541818380356,
0.017758503556251526,
-0.0045545962639153,
-0.03820554539561272,
0.03578232601284981,
-0.0293439831584692,
0.025664929300546646,
0.007163539994508028,
-0.011762355454266071,
-0.003400470595806837,
0.06413578987121582,
0.05985535681247711,
0.028583409264683723,
-0.04245060682296753,
0.010612651705741882,
-0.09438185393810272,
-0.02149062044918537,
-0.012036516331136227,
0.00020285641949158162,
0.024055344983935356,
0.011762355454266071,
0.014141358435153961,
0.052178870886564255,
-0.07301504909992218,
0.04485614225268364,
-0.040434204041957855,
0.015662506222724915,
0.034438055008649826,
0.04538677632808685,
-0.05331088975071907,
-0.004691676702350378,
-0.0031705298461019993,
0.06632907688617706,
-0.04107096418738365,
0.044750016182661057,
0.03725040704011917,
0.02594793401658535,
0.011479351669549942,
0.029149416834115982,
-0.00997589249163866,
0.05101148039102554,
0.006389700807631016,
-0.0015907923225313425,
-0.04857056960463524,
-0.028318092226982117,
-0.03231552615761757,
-0.05221424624323845,
0.03986819460988045,
-0.0012038727290928364,
0.023613151162862778,
-0.05295713245868683,
0.06456030160188675,
0.017811568453907967,
0.013999857008457184,
0.03288153186440468,
0.061694882810115814,
-0.018925895914435387,
0.09806090593338013,
0.0268853846937418,
0.035304754972457886,
0.0420261025428772,
0.04379487782716751,
0.015025746077299118,
0.03880693018436432,
0.03242165222764015,
-0.015432564541697502,
-0.03503943979740143,
0.02538192644715309,
-0.055504169315099716,
0.05628243088722229,
-0.01136438176035881,
-0.030069179832935333,
-0.00642507616430521,
-0.0166795514523983,
-0.00443299300968647,
0.06710733473300934,
-0.0271860770881176,
0.029874615371227264,
0.00846801232546568,
0.019509591162204742,
0.008282290771603584,
-0.027221452444791794,
-0.0008097674581222236,
-0.06441880017518997,
-0.0488182008266449,
-0.04743855446577072,
-0.04107096418738365,
-0.05670693516731262,
0.016697239130735397,
-0.016599956899881363,
0.021968189626932144,
-0.014937307685613632,
-0.04956108331680298,
0.026602379977703094,
0.009666357189416885,
0.013133157044649124,
-0.033571355044841766,
-0.011443976312875748,
0.057662077248096466,
-0.05589330196380615,
0.01723671518266201,
0.04181385040283203,
0.052921757102012634,
-0.019668782129883766,
0.006062477361410856,
0.018625203520059586,
-0.0017709862440824509,
-0.033323727548122406,
0.04867669567465782,
-0.01779387891292572,
0.03263390436768532,
-0.03930218890309334,
-0.002112580928951502,
-0.029255544766783714,
-0.00041787317604757845,
0.030316809192299843,
0.017502032220363617,
0.026920760050415993,
-0.030988942831754684,
-0.017811568453907967,
0.03070593997836113,
-0.03452649340033531,
0.026779258623719215,
-0.0003576242597773671,
-0.02842422015964985,
-0.008083303458988667,
-0.01510534156113863,
-0.01575978845357895,
-0.021472932770848274,
-0.025841807946562767,
-0.004273803438991308,
-0.023825403302907944,
0.01600741595029831,
0.007773767691105604,
-0.036967404186725616,
0.06562156230211258,
0.025788744911551476,
0.00948063563555479,
-0.04917195439338684,
0.031784892082214355,
0.011948077008128166,
-0.024179158732295036,
-0.04566977918148041,
0.038028668612241745,
-0.001581948483362794,
-0.055079665035009384,
0.014848869293928146,
0.002112580928951502,
-0.02989230304956436,
0.014105983078479767,
0.07131702452898026,
0.008145210333168507,
-0.030369872227311134,
0.00682747270911932,
0.005363811273127794,
0.04124784097075462,
-0.0327400304377079,
0.03824092075228691,
0.0327400304377079,
0.04057570546865463,
0.013018186204135418,
0.034190427511930466,
-0.02582412026822567,
0.012009984813630581,
0.018572140485048294,
-0.026089435443282127,
-0.03113044612109661,
0.03144882619380951,
0.0038758290465921164,
-0.055645670741796494,
0.05256800353527069,
-0.020977675914764404,
0.0011497039813548326,
0.06208401545882225,
0.02787589840590954,
-0.017652377486228943,
-0.023577775806188583,
0.016078168526291847,
0.06625832617282867,
-0.0027040152344852686,
-0.055999428033828735,
0.02564724162220955,
0.015618286095559597,
0.05288638174533844,
-0.01797075755894184,
0.023931529372930527,
0.008269025012850761,
-0.020305540412664413,
-0.0636051595211029,
-0.005567220505326986,
-0.0091091925278306,
-0.06682433187961578,
-0.09721188992261887,
-0.014194422401487827,
-0.02983924001455307,
0.032651592046022415,
-0.016776833683252335,
-0.04022195190191269,
-0.016042791306972504,
-0.059041719883680344,
-0.02996305376291275,
0.028017401695251465,
-0.018749019131064415,
0.020464731380343437,
-0.014760429970920086,
-0.039514441043138504,
0.032333213835954666,
-0.00693359924480319,
0.011249410919845104,
0.02002253755927086,
-0.04429013282060623,
-0.0060359458439052105,
0.0014205477200448513,
0.00035651877988129854,
0.06491405516862869,
0.03534013032913208,
0.010090863332152367,
-0.0028079308103770018,
0.07273203879594803,
-0.034438055008649826,
0.01185963861644268,
0.011682760901749134,
-0.007588046137243509,
0.06586918979883194,
-0.029025603085756302,
-0.05759132280945778,
0.02538192644715309,
0.020783109590411186,
-0.031112758442759514,
0.005969616584479809,
-0.0018837457755580544,
0.05440752953290939,
-0.028689535334706306,
-0.01309778168797493,
0.08610398322343826,
0.03820554539561272,
-0.0809391587972641,
-0.005518578924238682,
-0.042662862688302994,
0.015485627576708794,
-0.030016116797924042,
0.025912558659911156,
-0.010709934867918491,
-0.022251194342970848,
-0.01624620147049427,
0.001923543168231845,
-0.04934883117675781,
0.0030599813908338547,
0.021791312843561172,
0.01785578764975071,
0.0014669779920950532,
0.052921757102012634,
-0.026230938732624054,
-0.01749318838119507,
-0.03742728754878044,
-0.03650752454996109,
0.04121246561408043,
0.058228082954883575,
-0.10301347821950912,
0.021083801984786987,
0.07626958936452866,
0.022038940340280533,
0.011700448580086231,
0.014132514595985413,
0.02348933555185795,
0.013318878598511219,
-0.015158404596149921,
-0.007689750753343105,
-0.00693359924480319,
-0.03328835219144821,
-0.009516010992228985,
0.03551700711250305,
0.003716639243066311,
-0.015025746077299118,
0.06976050138473511,
-0.029927678406238556,
-0.06537393480539322,
0.01686527207493782,
-0.019810283556580544,
-0.038028668612241745,
-0.02644319087266922,
0.057980455458164215,
-0.012045360170304775,
0.00693359924480319,
0.008954425342381,
-0.03498637676239014,
0.02854803390800953,
-0.010798373259603977,
-0.0060049924068152905,
-0.062437769025564194,
-0.01661764457821846,
0.035428568720817566,
-0.009294914081692696,
-0.03933756425976753,
0.07980713993310928,
-0.039443690329790115,
0.06434804946184158,
-0.062048640102148056,
-0.01805035211145878,
-0.010329647921025753,
-0.010984094813466072,
-0.0073359957896173,
0.03495100140571594,
0.004620925523340702,
0.018253762274980545,
0.032457027584314346,
-0.034438055008649826,
0.030440622940659523,
-0.029556235298514366,
0.0021026316098868847,
0.011523570865392685,
-0.0009573496645316482,
0.019544966518878937,
0.03348291665315628,
0.02143755741417408,
-0.07007887959480286,
0.01055958867073059,
0.01056843250989914,
0.05893559381365776,
-0.021331431344151497,
0.055999428033828735,
-0.0036105127073824406,
-0.04046957939863205,
-0.10124470293521881,
0.041353967040777206,
-0.029573922976851463,
0.021596746519207954,
-0.06774409860372543,
-0.029644673690199852,
-0.022392695769667625,
0.001558733289130032
] |
18,350 | jonf | format | Formats Python data to JONF text
Args:
data: Any data that can be converted to JSON
json_format: JSON formatter to use, default is `json.dumps`
Returns:
JONF text, representing this data
Example::
text = textwrap.dedent(
''' compare =
- true
= true
'''
).rstrip()
assert jonf.format({"compare": ["true", True]}) == text
| def format(data: Any, json_format: Callable[[Any], str] = json.dumps) -> str:
"""Formats Python data to JONF text
Args:
data: Any data that can be converted to JSON
json_format: JSON formatter to use, default is `json.dumps`
Returns:
JONF text, representing this data
Example::
text = textwrap.dedent(
'''\
compare =
- true
= true
'''
).rstrip()
assert jonf.format({"compare": ["true", True]}) == text
"""
if _is_unquoted_string(data):
_, space, text = _format_item(data, is_unquoted_string=True)
if space == "\n":
return text
if data is None or isinstance(data, BASIC_TYPES) or data in EMPTIES:
return json_format(data)
if isinstance(data, ARRAYS):
return "\n".join("".join(_format_item(item)) for item in data)
if isinstance(data, OBJECTS):
chunks = []
for key, value in data.items():
if not isinstance(key, str):
raise TypeError(f"Object key should be string, found: {repr(key)}")
if any(
mark in key for mark in OBJECT_KEY_MARKS_TO_QUOTE
) or not _is_unquoted_string(key):
key = json_format(key)
marker, space, value = _format_item(value)
chunks.append(f"{key} {marker}{space}{value}")
return "\n".join(chunks)
# This will probably raise `TypeError: Object of type ... is not JSON serializable`
# unless custom JSON formatter knows how to serialize it
return json_format(data)
| (data: Any, json_format: Callable[[Any], str] = <function dumps at 0x7fbc970c0b80>) -> str | [
0.03454165533185005,
-0.05479020997881889,
0.04734588786959648,
-0.03210363909602165,
-0.000060485115682240576,
-0.022574907168745995,
-0.01137120183557272,
-0.0076257772743701935,
0.037147168070077896,
-0.037389107048511505,
0.00703023187816143,
-0.004764365963637829,
-0.0008979713311418891,
-0.02348683588206768,
-0.029386460781097412,
-0.006169482134282589,
-0.01092454232275486,
-0.008072436787188053,
0.09848838299512863,
0.028660640120506287,
0.024026550352573395,
0.004487530328333378,
0.04176264628767967,
0.03024255856871605,
0.024808203801512718,
0.004126945976167917,
0.014600176364183426,
0.02962840162217617,
0.010961764492094517,
0.013976714573800564,
0.0029800552874803543,
-0.06770610809326172,
0.028474532067775726,
0.0437726154923439,
0.019839119166135788,
0.013204365968704224,
-0.026687894016504288,
0.03759382665157318,
-0.09990280121564865,
-0.019392458721995354,
-0.020546328276395798,
-0.010682602412998676,
-0.02062077261507511,
-0.046862006187438965,
0.020099669694900513,
0.042544301599264145,
0.002389162080362439,
0.08694968372583389,
-0.052854686975479126,
-0.028344256803393364,
0.007109327707439661,
-0.0565396249294281,
-0.01608904078602791,
0.015474884770810604,
-0.06830165535211563,
-0.004175799433141947,
0.041799869388341904,
0.008039867505431175,
0.016098346561193466,
-0.03444860130548477,
0.0015225964598357677,
0.020006615668535233,
0.03487664833664894,
-0.019727453589439392,
-0.05311523750424385,
-0.01889927312731743,
-0.009044851176440716,
0.023412393406033516,
-0.00013427405792754143,
-0.01569821499288082,
-0.01744762994349003,
0.04049711301922798,
-0.008854090236127377,
0.03145226091146469,
0.031210320070385933,
0.04604313150048256,
-0.044517047703266144,
0.014246571809053421,
-0.018443308770656586,
-0.0013457938330247998,
0.06312785297632217,
-0.03554663807153702,
-0.009882337413728237,
-0.010868710465729237,
0.0058158766478300095,
-0.031619757413864136,
-0.011445645242929459,
0.09230959415435791,
0.006932524964213371,
-0.016842778772115707,
-0.04946751892566681,
-0.03844992443919182,
0.042358193546533585,
0.02104882150888443,
-0.018443308770656586,
-0.027637045830488205,
-0.0007386163342744112,
-0.04529869928956032,
-0.005448313429951668,
0.07756983488798141,
0.06685001403093338,
0.030763661488890648,
0.004073440097272396,
-0.03547219559550285,
-0.019280795007944107,
-0.06699889898300171,
-0.01781984604895115,
0.056614071130752563,
-0.021123263984918594,
0.023189064115285873,
-0.0643189400434494,
-0.03444860130548477,
-0.01324158813804388,
-0.07764428108930588,
0.09990280121564865,
0.04351206123828888,
0.0004917323822155595,
-0.025385137647390366,
0.006988357286900282,
-0.03178725391626358,
-0.004482877906411886,
0.009328666143119335,
0.018722470849752426,
-0.019615788012742996,
0.02812092751264572,
-0.03534191846847534,
0.019913561642169952,
-0.023096010088920593,
0.05523686856031418,
-0.033834442496299744,
0.02413821406662464,
0.06647779792547226,
-0.031024212017655373,
0.008370209485292435,
0.03502553701400757,
0.025794576853513718,
-0.03878491744399071,
0.027860375121235847,
-0.008300418965518475,
0.044703155755996704,
0.05508798360824585,
-0.08084534108638763,
-0.029293406754732132,
-0.01214355044066906,
-0.05170081555843353,
-0.03627245873212814,
0.05404577776789665,
0.020788269117474556,
0.0071000223979353905,
0.015325997956097126,
0.021346593275666237,
0.039492130279541016,
0.06052234023809433,
-0.017745403572916985,
0.01828511618077755,
-0.03228974714875221,
-0.030261170119047165,
-0.07756983488798141,
0.015763351693749428,
0.03379722312092781,
0.05929402634501457,
0.01931801624596119,
0.006253230385482311,
0.06744556128978729,
0.012078412808477879,
0.07287991046905518,
-0.004955126903951168,
-0.040348224341869354,
-0.004838809370994568,
-0.010431356728076935,
0.03990156576037407,
-0.00629510497674346,
-0.01137120183557272,
0.0448148176074028,
0.046005912125110626,
0.06260675191879272,
-0.01729874312877655,
0.008365556597709656,
0.015419051982462406,
-0.028158148750662804,
-0.04861142486333847,
-0.0134090855717659,
0.008100353181362152,
0.013325336389243603,
-0.022481853142380714,
-0.023710165172815323,
-0.009114641696214676,
-0.014507122337818146,
0.0238590519875288,
0.01683347299695015,
-0.03182447701692581,
-0.03923157602548599,
-0.023896273225545883,
-0.006662668194621801,
-0.031210320070385933,
0.006146218627691269,
0.008519096300005913,
-0.03277362883090973,
0.0006955788703635335,
-0.023263506591320038,
-0.08352529257535934,
0.006243925075978041,
0.014916560612618923,
-0.0002977728727273643,
-0.006974399089813232,
-0.0076769571751356125,
0.05438077449798584,
0.018694553524255753,
-0.06342562288045883,
-0.02746954932808876,
0.0026520397514104843,
-0.019950782880187035,
-0.057693496346473694,
0.043474841862916946,
0.03014950454235077,
0.0036570231895893812,
0.09722284972667694,
0.010040529072284698,
-0.06312785297632217,
0.0267623383551836,
-0.04168820381164551,
-0.005429702345281839,
-0.005936847068369389,
0.06874831765890121,
0.02123492956161499,
0.02527347393333912,
0.039119914174079895,
0.03595607727766037,
0.030261170119047165,
-0.04816476255655289,
-0.008989019319415092,
-0.0030335611663758755,
0.018527057021856308,
0.02953534759581089,
0.011333980597555637,
-0.050509724766016006,
0.011631753295660019,
-0.07630430161952972,
-0.017010275274515152,
0.014907254837453365,
0.05106804892420769,
-0.05378522723913193,
-0.00295911799184978,
-0.019950782880187035,
0.006899956148117781,
-0.047792546451091766,
0.043474841862916946,
0.019187740981578827,
0.009030893445014954,
-0.018620111048221588,
-0.022258523851633072,
0.08471638709306717,
0.004782977048307657,
-0.016396120190620422,
-0.08188754320144653,
-0.03595607727766037,
0.05668851360678673,
0.004931863397359848,
-0.004292116966098547,
0.020081058144569397,
-0.02043466456234455,
-0.03521164506673813,
-0.02756260335445404,
0.07965424656867981,
-0.014321014285087585,
-0.04317706823348999,
-0.017801234498620033,
-0.0073140463791787624,
-0.0005836232448928058,
0.027022888883948326,
0.01141772884875536,
-0.0379660427570343,
0.06658945977687836,
-0.023505447432398796,
-0.016293760389089584,
-0.003463936038315296,
0.026427343487739563,
0.009603175334632397,
0.011464255861938,
-0.024677928537130356,
0.011575920507311821,
-0.009714839980006218,
-0.020881323143839836,
-0.03848714381456375,
0.03104282356798649,
-0.02062077261507511,
-0.004792282357811928,
0.03281084820628166,
0.007709525991231203,
-0.0029195700772106647,
0.030391445383429527,
-0.018452612683176994,
-0.044517047703266144,
0.02095576748251915,
-0.023337949067354202,
-0.015875017270445824,
0.0210115984082222,
-0.039306022226810455,
0.07243325561285019,
-0.07704873383045197,
-0.014190739020705223,
0.0046457224525511265,
0.10243387520313263,
-0.02376599796116352,
-0.035751357674598694,
-0.04786699265241623,
-0.03225252404808998,
-0.04738311097025871,
-0.045410364866256714,
-0.014507122337818146,
0.012841455638408661,
-0.0006932524847798049,
0.011240926571190357,
-0.009463594295084476,
-0.0008624945185147226,
0.02611096017062664,
-0.0076025137677788734,
0.012441323138773441,
0.01359519362449646,
-0.0018064113100990653,
0.02114187553524971,
-0.05330134555697441,
0.012338964268565178,
0.0016191400354728103,
0.029572568833827972,
-0.09513843804597855,
0.012487850151956081,
0.03225252404808998,
0.015875017270445824,
0.038933806121349335,
0.007127938326448202,
-0.023691555485129356,
0.042358193546533585,
0.023710165172815323,
-0.028325645253062248,
-0.020546328276395798,
-0.003242932725697756,
-0.028213981539011,
-0.05002584308385849,
-0.003868721192702651,
-0.010477883741259575,
0.01645195111632347,
0.011268842965364456,
0.00782584398984909,
-0.0457453578710556,
0.021532701328396797,
0.06718500703573227,
0.013892966322600842,
0.07005107402801514,
-0.02062077261507511,
-0.026780948042869568,
0.0356396920979023,
0.03582580015063286,
-0.02944229356944561,
-0.05315246060490608,
-0.0673338919878006,
-0.00038297547143884003,
-0.06904608756303787,
-0.008560970425605774,
0.03878491744399071,
0.035416360944509506,
0.02672511711716652,
0.007909592241048813,
0.028325645253062248,
-0.024547651410102844,
0.007062800694257021,
0.036458566784858704,
0.004229305312037468,
0.0752248764038086,
-0.0032266483176499605,
0.0016656670486554503,
-0.015372524969279766,
0.027637045830488205,
-0.06033623218536377,
-0.03329472988843918,
0.07459210604429245,
0.03938046470284462,
0.010422050952911377,
-0.08851298689842224,
-0.0399387888610363,
0.0014051158213987947,
-0.018787607550621033,
-0.03919435665011406,
0.009403109550476074,
0.018219977617263794,
0.008723814971745014,
-0.04425649344921112,
0.0015446968609467149,
-0.050137508660554886,
0.002113489666953683,
-0.03617940470576286,
-0.03070782870054245,
0.08069644868373871,
0.023263506591320038,
-0.045968689024448395,
-0.011622447520494461,
0.016377508640289307,
0.010124278254806995,
-0.05441799387335777,
0.06781777739524841,
0.016051819548010826,
-0.014460595324635506,
-0.014237266033887863,
-0.029888954013586044,
-0.01771748624742031,
0.021867696195840836,
0.05006306618452072,
-0.007956119254231453,
-0.03848714381456375,
0.1041460633277893,
0.03770549222826958,
0.017689570784568787,
-0.06450504809617996,
-0.0074350167997181416,
0.04172542691230774,
0.03163836896419525,
-0.05631629750132561,
0.04321429133415222,
-0.05713517218828201,
0.010263859294354916,
-0.02860480733215809,
0.007839801721274853,
0.02142103761434555,
0.039306022226810455,
-0.022109637036919594,
-0.015158500522375107,
-0.04608035460114479,
-0.007351268082857132,
0.03616079315543175,
0.05583241581916809,
-0.019727453589439392,
-0.05449243634939194,
0.04336317628622055,
-0.04637812823057175,
0.022891290485858917,
0.007262866944074631,
-0.0004361907485872507,
-0.04965362697839737,
0.024584874510765076,
-0.03173142299056053,
0.0535246767103672,
0.016712503507733345,
0.007537376135587692,
-0.005904277786612511,
-0.060968998819589615,
0.034616097807884216,
0.02882813662290573,
0.012627431191504002,
0.0017354575684294105,
0.02021133527159691,
0.048313651233911514,
0.05802848935127258,
-0.016303066164255142,
-0.01828511618077755,
0.027208996936678886,
-0.07042329013347626,
0.055013541132211685,
0.0014783958904445171,
0.02302156575024128,
0.02110465243458748,
0.002293781843036413,
0.011920221149921417,
0.023877663537859917,
-0.0073140463791787624,
-0.019010936841368675,
-0.05527409166097641,
-0.0019273814978078008,
-0.015419051982462406,
-0.04712256044149399,
-0.010822183452546597,
0.022667961195111275,
0.06208564713597298,
-0.04250707849860191,
0.03441137820482254,
0.03573274612426758,
0.08992741256952286,
0.010310386307537556,
-0.04027378186583519,
-0.025887630879878998,
-0.029367851093411446,
-0.006067122332751751,
-0.0345974862575531,
0.02555263601243496,
-0.030130892992019653,
0.02231435477733612,
-0.024026550352573395,
0.06063400208950043,
-0.033164456486701965,
0.05330134555697441,
-0.014590871520340443,
0.0017598842969164252,
0.07477821409702301,
0.007127938326448202,
-0.007490849122405052,
0.00602524820715189,
-0.0013295094249770045,
0.0030451929196715355,
-0.06003845855593681,
-0.013074090704321861,
0.0055227563716471195,
0.03590024262666702,
0.04637812823057175,
-0.0026334288995712996,
-0.030130892992019653,
0.009072767570614815,
-0.08121755719184875,
0.07913314551115036,
0.037389107048511505,
-0.029293406754732132,
0.007118633016943932,
-0.008802911266684532,
0.033629726618528366,
0.05110527202486992,
-0.012078412808477879,
-0.013846439309418201,
-0.024975700303912163,
-0.0020925523713231087,
0.027395104989409447,
-0.015735436230897903,
-0.0015749393496662378,
-0.07660207152366638,
-0.025068754330277443,
-0.005448313429951668,
-0.015949459746479988,
-0.03725883364677429,
0.0012248236453160644,
0.03897102549672127,
0.0121900774538517,
-0.042693186551332474,
0.014953781850636005,
-0.0535246767103672,
0.0253665279597044,
-0.012487850151956081,
0.010626769624650478,
-0.037668269127607346,
0.04727144539356232,
-0.008998324163258076,
0.0467875637114048,
0.008067783899605274,
0.018434002995491028,
0.026501785963773727,
0.051216937601566315,
-0.0064905183389782906,
-0.09238404035568237,
0.025292083621025085,
0.014693230390548706,
0.005653032101690769,
-0.0029172436334192753,
0.028958413749933243,
-0.017121940851211548,
0.00005826781489304267,
-0.014916560612618923,
0.040162116289138794,
0.0972972884774208,
-0.021811863407492638,
-0.03454165533185005,
0.04172542691230774,
0.026650672778487206,
0.04753199592232704,
0.009826505556702614,
-0.05170081555843353,
0.0624578632414341,
-0.0077002206817269325,
-0.0045433626510202885,
0.002378693548962474,
0.001198070589452982,
0.01312992349267006,
0.06934385746717453,
-0.043995942920446396,
-0.007495502009987831,
0.023263506591320038,
0.026371510699391365,
0.05077027529478073,
-0.030763661488890648,
-0.007081411313265562,
-0.028307035565376282,
-0.0556090846657753,
0.017605822533369064,
0.019894950091838837,
-0.018024565652012825,
-0.04153931885957718,
-0.033034179359674454,
-0.024715149775147438,
-0.037054114043712616,
0.03245724365115166,
0.028325645253062248,
-0.011594532057642937,
0.024882646277546883,
-0.02052771858870983,
-0.008016603998839855,
-0.013260198757052422,
0.011548005044460297,
0.06000123545527458,
0.0022693551145493984,
0.05713517218828201,
0.058772921562194824,
0.007453627418726683,
0.01683347299695015,
0.04682478681206703,
-0.03573274612426758,
-0.0420231968164444,
0.05821459740400314,
-0.07098161429166794,
-0.03934324160218239,
0.0759320855140686,
0.021737420931458473,
-0.02672511711716652,
0.01744762994349003,
-0.014693230390548706,
-0.02095576748251915,
-0.014823506586253643,
0.04265596717596054,
-0.01922496221959591,
-0.03258752077817917,
-0.008025909774005413,
0.021123263984918594,
-0.006146218627691269,
-0.03634690120816231,
0.004461940377950668,
-0.06439338624477386,
0.05799126997590065,
0.030782271176576614,
-0.01795942708849907,
0.009510121308267117,
0.029386460781097412,
-0.055013541132211685,
-0.03990156576037407,
-0.020825490355491638,
-0.07555986940860748,
-0.09804172068834305,
-0.013083396479487419,
-0.003505810396745801,
0.02663206309080124,
-0.009272833354771137,
-0.0487603098154068,
-0.00010861149348784238,
-0.0752248764038086,
0.004382844548672438,
-0.015484189614653587,
0.003722161054611206,
0.014870033599436283,
-0.055199649184942245,
-0.025869019329547882,
-0.016842778772115707,
-0.008058479055762291,
0.015995986759662628,
0.01987634040415287,
-0.020602161064743996,
0.006336979102343321,
0.011715501546859741,
-0.07098161429166794,
0.02564569003880024,
-0.04060877859592438,
0.022481853142380714,
0.010663991793990135,
0.019094686955213547,
0.006802249234169722,
-0.019820507615804672,
0.02456626296043396,
-0.018778301775455475,
0.01818275637924671,
0.011464255861938,
-0.018359558656811714,
0.013260198757052422,
0.0020146197639405727,
-0.06856220960617065,
-0.025906240567564964,
-0.011529393494129181,
0.10444384068250656,
0.02222130075097084,
-0.03333195298910141,
0.050844721496105194,
0.054083000868558884,
0.024417376145720482,
0.009584564715623856,
-0.025775965303182602,
0.06208564713597298,
0.07809093594551086,
0.015242249704897404,
-0.03193614259362221,
0.01767095923423767,
-0.04150209575891495,
-0.028400089591741562,
0.03543497249484062,
0.0019680927507579327,
0.010673296637833118,
0.010087056085467339,
-0.0121621610596776,
0.0010852426057681441,
0.020751047879457474,
-0.01926218345761299,
-0.03617940470576286,
-0.024975700303912163,
-0.05683739855885506,
0.009468247182667255,
-0.05650240555405617,
-0.01342769619077444,
0.04060877859592438,
-0.004226979333907366,
0.003505810396745801,
0.02672511711716652,
0.01740110293030739,
0.019820507615804672,
-0.02188630774617195,
0.010152194648981094,
-0.010980375111103058,
-0.005085402633994818,
-0.01566099189221859,
0.033499449491500854,
-0.0777931660413742,
-0.05151470750570297,
0.08851298689842224,
0.026520397514104843,
0.007867718115448952,
-0.013213671743869781,
0.0042548952624201775,
-0.04392150044441223,
0.02095576748251915,
0.03147087246179581,
-0.0011445644777268171,
-0.008812216110527515,
0.053561896085739136,
0.0005240105092525482,
-0.017280133441090584,
0.009807894006371498,
-0.019988004118204117,
-0.044889263808727264,
-0.0632767379283905,
-0.010328996926546097,
-0.008630760945379734,
-0.009421720169484615,
0.06510059535503387,
-0.04224652796983719,
-0.028679251670837402,
0.025347916409373283,
-0.01828511618077755,
-0.0214768685400486,
-0.02892119064927101,
-0.0059647629968822,
0.024808203801512718,
-0.03744494169950485,
0.07771871984004974,
-0.02024855650961399,
-0.011473561637103558,
0.050472505390644073,
-0.0011265353532508016,
0.001802921760827303,
0.012292437255382538,
-0.03671911731362343,
0.027785932645201683,
-0.03148948401212692,
-0.015642382204532623,
-0.07042329013347626,
-0.02197936177253723,
0.07980313152074814,
0.043474841862916946,
-0.04280485212802887,
0.06934385746717453,
-0.006029901094734669,
-0.015512106008827686,
-0.07429433614015579,
0.023096010088920593,
0.02015550248324871,
0.014283793047070503,
-0.03809631988406181,
-0.004587563686072826,
-0.016163485124707222,
0.014851422980427742
] |
18,352 | jonf | parse | Parses JONF text to Python data
Args:
text: JONF text
json_parse: JSON parser to use, default is `json.loads`
Returns:
Python data, parsed from this text
Example::
text = textwrap.dedent(
''' compare =
- true
= true
'''
).rstrip()
assert jonf.parse(text) == {"compare": ["true", True]}
| def parse(text: str, json_parse: Callable[[str], Any] = json.loads) -> Any:
"""Parses JONF text to Python data
Args:
text: JONF text
json_parse: JSON parser to use, default is `json.loads`
Returns:
Python data, parsed from this text
Example::
text = textwrap.dedent(
'''\
compare =
- true
= true
'''
).rstrip()
assert jonf.parse(text) == {"compare": ["true", True]}
"""
raise NotImplementedError
| (text: str, json_parse: Callable[[str], Any] = <function loads at 0x7fbc970c1120>) -> Any | [
0.05294044315814972,
-0.001914903405122459,
0.03190450742840767,
-0.011024389415979385,
-0.023957595229148865,
0.04008514806628227,
-0.007211626041680574,
0.0925581231713295,
0.03537153825163841,
-0.011735326610505581,
0.020471083000302315,
0.021113848313689232,
-0.013449366204440594,
-0.0007450227858498693,
-0.04390278086066246,
-0.023334309458732605,
-0.01867913454771042,
0.024152373895049095,
-0.011267861351370811,
0.0025978409685194492,
-0.036676548421382904,
-0.06591260433197021,
0.01143342163413763,
0.08757182955741882,
0.02822321653366089,
-0.05087580531835556,
0.020685339346528053,
0.008131948299705982,
0.018815478309988976,
0.0274051520973444,
0.01796819642186165,
-0.056368522346019745,
0.015143927186727524,
0.027015598490834236,
-0.047642502933740616,
-0.0007176322396844625,
-0.03065793216228485,
0.040279924869537354,
-0.06782142072916031,
-0.030521588400006294,
-0.014286907389760017,
-0.0005825055413879454,
-0.016770316287875175,
-0.014754372648894787,
0.008657846599817276,
0.04635697230696678,
-0.06879530847072601,
0.03562474995851517,
-0.0007693699444644153,
-0.03782573342323303,
-0.012641040608286858,
-0.0042777941562235355,
-0.014832284301519394,
0.023568041622638702,
-0.05547254532575607,
-0.0014717852463945746,
0.02062690630555153,
0.03178763762116432,
-0.008672455325722694,
-0.05500508099794388,
-0.03562474995851517,
-0.03149547427892685,
0.007679091300815344,
0.02871016040444374,
-0.04102008044719696,
-0.022438334301114082,
0.007664483040571213,
-0.004947341047227383,
0.009475911036133766,
-0.050018783658742905,
-0.00965121015906334,
0.046123240143060684,
0.0006792854983359575,
-0.003430513432249427,
0.04674652963876724,
-0.025398947298526764,
-0.01215409766882658,
0.0024590622633695602,
-0.03745565563440323,
0.042928896844387054,
-0.0046673486940562725,
0.027366196736693382,
0.00852150283753872,
-0.06735395640134811,
-0.06291303783655167,
-0.034105487167835236,
0.017666291445493698,
0.006568861193954945,
-0.012017752975225449,
0.028359560295939445,
-0.016857966780662537,
-0.061082132160663605,
0.009475911036133766,
0.005039860028773546,
-0.03145651891827583,
-0.009982331655919552,
0.012183314189314842,
-0.010595879517495632,
-0.027151942253112793,
0.021815046668052673,
0.01267025712877512,
0.05508299171924591,
-0.0629909485578537,
-0.05017460882663727,
-0.033287424594163895,
-0.04031888023018837,
-0.03644281625747681,
0.003910152241587639,
0.050525207072496414,
0.0012782253324985504,
-0.026840297505259514,
-0.051226403564214706,
-0.0019282943103462458,
-0.03264465928077698,
0.0714053213596344,
0.04596741870045662,
0.013829180970788002,
-0.054732393473386765,
0.010264758951961994,
-0.011501593515276909,
0.03058002144098282,
0.0216397475451231,
0.01591329649090767,
-0.004966818727552891,
0.015465309843420982,
-0.008638368919491768,
0.04285098612308502,
-0.059134356677532196,
0.06727604568004608,
-0.01081987377256155,
0.04635697230696678,
0.014131085947155952,
0.03418339788913727,
0.0031407824717462063,
-0.030541066080331802,
-0.01523157674819231,
-0.04916176572442055,
0.0365402027964592,
-0.038585364818573,
-0.02041264995932579,
0.05013565346598625,
-0.03753356635570526,
-0.020958026871085167,
-0.040669478476047516,
-0.11001016199588776,
-0.014092130586504936,
-0.017929241061210632,
-0.05305730924010277,
-0.012699473649263382,
0.038507454097270966,
0.0054781087674200535,
-0.02514573745429516,
0.026820819824934006,
-0.003038524417206645,
0.01271895132958889,
-0.03620908036828041,
0.014413513243198395,
-0.021406013518571854,
0.020042574033141136,
0.05138222500681877,
0.04818787798285484,
0.022204600274562836,
0.030735842883586884,
0.10642626136541367,
-0.0026270574890077114,
0.05664120987057686,
0.0836762860417366,
-0.0716390535235405,
-0.07171696424484253,
-0.006617555394768715,
0.05305730924010277,
0.03868275135755539,
-0.00810273177921772,
0.020081529393792152,
0.03443660959601402,
0.030287854373455048,
0.03837110847234726,
0.05734240636229515,
0.03262517973780632,
0.00969503540545702,
-0.04997982829809189,
0.015007583424448967,
-0.014686200767755508,
-0.003033654997125268,
0.02123071439564228,
0.027132464572787285,
-0.011063344776630402,
0.013575971126556396,
0.036462292075157166,
-0.005619322415441275,
-0.033384811133146286,
-0.06217288225889206,
-0.014471946284174919,
-0.0018345577409490943,
0.006783116143196821,
-0.002534538274630904,
0.04838265851140022,
0.03202137351036072,
-0.037689387798309326,
-0.0004650305781979114,
-0.04429233446717262,
-0.03239144757390022,
-0.02072429470717907,
0.009665818884968758,
-0.03283943608403206,
-0.018124017864465714,
-0.01415056362748146,
0.05983555689454079,
0.010391363874077797,
-0.01066405139863491,
-0.004382486920803785,
-0.0005864619743078947,
-0.03550788387656212,
0.06856157630681992,
0.02798948436975479,
-0.018903126940131187,
0.04838265851140022,
0.030716365203261375,
0.05496612563729286,
0.016390500590205193,
0.00689998222514987,
0.04378591477870941,
0.03786468878388405,
0.04546099901199341,
0.02522364817559719,
0.02606119029223919,
0.00040964080835692585,
-0.014608290046453476,
0.025359991937875748,
-0.029294490814208984,
-0.011764543130993843,
-0.01817271299660206,
-0.0072164954617619514,
-0.017383866012096405,
0.06334154307842255,
-0.06961337476968765,
0.038001030683517456,
-0.034631386399269104,
-0.03548840433359146,
-0.030541066080331802,
0.0533689521253109,
-0.05816047266125679,
-0.08219598233699799,
0.03026837669312954,
-0.01804610714316368,
-0.005458631087094545,
0.013410409912467003,
0.0015472613740712404,
0.01814349554479122,
-0.00290948455221951,
0.013994742184877396,
0.07385951280593872,
0.035040419548749924,
0.03235249221324921,
-0.09224648028612137,
0.006685727275907993,
0.05734240636229515,
0.005424545146524906,
-0.0019063818035647273,
0.039734549820423126,
0.013322760351002216,
-0.10424476116895676,
-0.024249762296676636,
0.044876668602228165,
-0.027638884261250496,
-0.05496612563729286,
-0.022009823471307755,
0.010761440731585026,
0.012358613312244415,
-0.0030360897071659565,
0.08764974027872086,
-0.08694854378700256,
0.04674652963876724,
-0.038721706718206406,
-0.014725156128406525,
0.028651725500822067,
0.012115142308175564,
0.008477677591145039,
0.029606133699417114,
-0.005409936886280775,
-0.024658793583512306,
-0.00789821520447731,
-0.034533996134996414,
-0.041292767971754074,
0.02430819533765316,
-0.00908635649830103,
-0.014286907389760017,
0.029878823086619377,
-0.006865896284580231,
-0.061900194734334946,
0.028690680861473083,
-0.04842161387205124,
-0.021483926102519035,
0.014549857005476952,
0.05005773901939392,
0.01570878177881241,
-0.046824440360069275,
-0.04363009333610535,
0.005229767877608538,
-0.08593570441007614,
0.045694731175899506,
-0.043863825500011444,
-0.006252347957342863,
-0.01318641658872366,
-0.013215633109211922,
-0.007747263181954622,
-0.03659863770008087,
-0.003340428927913308,
0.013595448806881905,
-0.007187278941273689,
0.005960182286798954,
-0.004370313603430986,
-0.04226665198802948,
0.009324958547949791,
-0.07370369136333466,
0.036559682339429855,
0.0025710591580718756,
-0.01928294263780117,
0.019964663311839104,
-0.05453761667013168,
0.05726449564099312,
-0.0810273140668869,
-0.0025856674183160067,
0.011589243076741695,
-0.011501593515276909,
-0.06474394351243973,
-0.022340945899486542,
0.01000180933624506,
0.007868998683989048,
0.05099267140030861,
-0.005400198046118021,
0.06112108752131462,
0.07183383405208588,
-0.00512751005589962,
-0.014345340430736542,
-0.014257690869271755,
-0.03433921933174133,
-0.03733878955245018,
-0.0210359375923872,
-0.019253727048635483,
-0.019214771687984467,
-0.03089166432619095,
0.013059811666607857,
0.010790657252073288,
0.00351329380646348,
0.041292767971754074,
0.028359560295939445,
0.03700766712427139,
0.10424476116895676,
-0.00476960651576519,
-0.006773377303034067,
-0.011628199368715286,
-0.007430750411003828,
-0.0463959276676178,
-0.04359113797545433,
-0.01988675259053707,
-0.004353270400315523,
-0.05173282325267792,
-0.0005006382707506418,
-0.05664120987057686,
-0.015475048683583736,
0.003143217181786895,
-0.02935292385518551,
0.0027244461234658957,
-0.006169567815959454,
-0.015572437085211277,
0.04787623509764671,
0.04055261239409447,
0.0334237664937973,
-0.015066016465425491,
0.027132464572787285,
0.007854390889406204,
-0.020471083000302315,
-0.051148492842912674,
-0.007041195873171091,
0.03474825248122215,
0.05208342522382736,
-0.005429414566606283,
-0.06521140784025192,
0.00167995342053473,
-0.022827887907624245,
-0.026314400136470795,
-0.06895112991333008,
0.0021924609318375587,
0.017783159390091896,
0.020782727748155594,
-0.05621270090341568,
-0.037377744913101196,
-0.026528654620051384,
0.040786344558000565,
-0.009344436228275299,
-0.03178763762116432,
0.002379933837801218,
0.029917778447270393,
0.023977072909474373,
0.0027926182374358177,
-0.005711841396987438,
0.005390459205955267,
-0.05858898162841797,
0.05305730924010277,
0.010264758951961994,
-0.009008445776998997,
-0.025476858019828796,
0.010839351452887058,
-0.013614926487207413,
0.06926277279853821,
0.04359113797545433,
0.041175901889801025,
-0.055044036358594894,
0.08757182955741882,
0.08562405407428741,
0.035254672169685364,
-0.04137067869305611,
-0.03367697820067406,
-0.04288994148373604,
0.07047039270401001,
-0.010761440731585026,
0.03433921933174133,
-0.05009669438004494,
-0.018805738538503647,
-0.022029301151633263,
0.007961518131196499,
0.002159592229872942,
-0.023977072909474373,
-0.014773850329220295,
0.02584693394601345,
0.014394035562872887,
-0.014228474348783493,
-0.003479207865893841,
0.024678271263837814,
0.007367447484284639,
-0.039968281984329224,
0.019536152482032776,
-0.059056445956230164,
0.01072248537093401,
0.04440920054912567,
-0.01395578682422638,
-0.06840575486421585,
0.012309919111430645,
-0.04051365703344345,
-0.011647677049040794,
0.038117896765470505,
0.05301835387945175,
0.03120330721139908,
-0.028047917410731316,
0.005570627748966217,
0.0170137882232666,
0.02298370935022831,
-0.06941859424114227,
-0.005317417439073324,
0.0045456127263605595,
0.03887752816081047,
0.011491854675114155,
-0.001381700742058456,
0.0406305231153965,
-0.018435662612318993,
0.07931327819824219,
0.022126689553260803,
0.030696887522935867,
0.04698026180267334,
-0.00959764700382948,
0.036773934960365295,
0.004864560440182686,
-0.06080944091081619,
-0.05243402346968651,
0.04250038415193558,
0.0020804640371352434,
0.017919503152370453,
-0.030346287414431572,
0.0033185165375471115,
-0.01867913454771042,
0.008044298738241196,
-0.03907230496406555,
0.01763707585632801,
0.019253727048635483,
0.039539773017168045,
0.03356011211872101,
-0.04885012283921242,
-0.00211333273909986,
-0.02278893254697323,
-0.05804360657930374,
-0.03611169382929802,
0.000026781865017255768,
-0.03272257000207901,
0.03239144757390022,
-0.030443675816059113,
0.07822252064943314,
-0.0860915258526802,
0.018610961735248566,
-0.044565021991729736,
-0.014939411543309689,
0.06937964260578156,
0.11624303460121155,
-0.02060742862522602,
-0.017520209774374962,
0.0009824074804782867,
0.023470653221011162,
0.019019993022084236,
0.021600792184472084,
0.003785981796681881,
0.010274497792124748,
0.060069289058446884,
-0.01917581632733345,
-0.01753968745470047,
-0.015397137962281704,
-0.05477134883403778,
0.034319743514060974,
-0.022944753989577293,
-0.03825424239039421,
0.009816771373152733,
-0.012280702590942383,
0.046123240143060684,
0.03128121793270111,
0.01384865865111351,
-0.028495904058218002,
-0.005351503379642963,
0.03412496671080589,
0.02183452434837818,
-0.05064207315444946,
-0.010956217534840107,
-0.042422473430633545,
-0.08507867902517319,
0.016663189977407455,
-0.05220029130578041,
-0.00681720208376646,
-0.03977350518107414,
-0.007864129729568958,
0.044487111270427704,
0.03683236986398697,
-0.03878014162182808,
-0.032761525362730026,
-0.0009197135805152357,
-0.04281202703714371,
-0.019467981532216072,
-0.026626043021678925,
0.01251443475484848,
0.027229852974414825,
0.04363009333610535,
-0.016760578379034996,
0.06634111702442169,
0.00015293053002096713,
0.05033043026924133,
-0.020354216918349266,
-0.011832715012133121,
0.05294044315814972,
0.05418701842427254,
-0.047642502933740616,
0.01302085630595684,
0.018406445160508156,
0.031105918809771538,
0.006495819892734289,
-0.009203222580254078,
-0.051226403564214706,
0.016254156827926636,
0.04164336621761322,
-0.035663705319166183,
0.026820819824934006,
-0.027541495859622955,
-0.022730499505996704,
0.003710505785420537,
-0.015017322264611721,
0.002443236531689763,
-0.05126535892486572,
0.026333877816796303,
-0.004905950743705034,
0.005366112105548382,
0.008745496161282063,
0.05368059501051903,
-0.03568318486213684,
-0.035332582890987396,
0.04678548499941826,
-0.019360853359103203,
0.03387175500392914,
-0.04666861891746521,
0.013575971126556396,
-0.008019951172173023,
-0.020471083000302315,
0.024892525747418404,
0.017559165135025978,
0.033170558512210846,
0.0031894766725599766,
0.02880754880607128,
0.018961559981107712,
0.051148492842912674,
0.001280660042539239,
0.04690235108137131,
0.028281649574637413,
0.029294490814208984,
-0.017004050314426422,
-0.019243987277150154,
-0.00007912823639344424,
0.015621131286025047,
0.05742032080888748,
0.009709643200039864,
-0.012124881148338318,
-0.008015082217752934,
-0.01579643040895462,
0.025165215134620667,
0.059757646173238754,
-0.1038552075624466,
-0.02471722662448883,
-0.014452468603849411,
-0.05508299171924591,
-0.07650848478078842,
0.03889700770378113,
0.0359363928437233,
-0.033073168247938156,
0.01793898083269596,
0.0029070498421788216,
-0.024561405181884766,
0.020354216918349266,
-0.055940013378858566,
-0.03418339788913727,
-0.04830474779009819,
0.028846504166722298,
0.05368059501051903,
0.027970006689429283,
-0.033501677215099335,
0.022594155743718147,
-0.03408601135015488,
0.0516938678920269,
0.03167077153921127,
-0.011472376994788647,
0.05664120987057686,
0.03665706887841225,
-0.07124949991703033,
-0.04140963405370712,
-0.03702714666724205,
-0.04156545549631119,
-0.01865965500473976,
-0.0002752749715000391,
-0.0006038093124516308,
0.029060758650302887,
-0.0010913610458374023,
-0.04000723734498024,
-0.024054983630776405,
-0.019039470702409744,
-0.0316123403608799,
0.07553459703922272,
-0.010488752275705338,
-0.028184261173009872,
-0.03046315349638462,
-0.03876066207885742,
-0.031865548342466354,
-0.004674653057008982,
0.016955355182290077,
0.0010469274129718542,
0.007971256971359253,
0.08219598233699799,
0.02584693394601345,
-0.014481685124337673,
-0.0012721385573968291,
-0.023470653221011162,
0.046123240143060684,
-0.026645520702004433,
0.028456948697566986,
0.00805403757840395,
0.007562224753201008,
0.025282081216573715,
0.011277600191533566,
-0.043552182614803314,
0.024756181985139847,
0.0027341849636286497,
0.06556200236082077,
0.0015046538319438696,
-0.0178513303399086,
-0.019438764080405235,
-0.02197086811065674,
0.06147168576717377,
-0.0049132551066577435,
0.008833145722746849,
0.03048263117671013,
0.09061035513877869,
0.027035076171159744,
0.03539101779460907,
0.01569904200732708,
0.03722192347049713,
0.02173713594675064,
0.05356372892856598,
0.0064325169660151005,
0.04133172333240509,
-0.025106782093644142,
-0.013478582724928856,
0.005117770750075579,
-0.029294490814208984,
0.01591329649090767,
0.057887785136699677,
0.0036788543220609426,
0.05099267140030861,
0.026801342144608498,
-0.031008530408143997,
0.030716365203261375,
0.014851761981844902,
-0.005356373265385628,
0.03445608541369438,
-0.02461983822286129,
-0.009003575891256332,
-0.006904851645231247,
-0.019730931147933006,
0.059329137206077576,
0.028593292459845543,
0.0027512279339134693,
-0.0403967909514904,
-0.047759369015693665,
-0.00325521407648921,
-0.03576109558343887,
-0.03580005094408989,
0.021152803674340248,
0.01765655353665352,
-0.08523450046777725,
-0.06969128549098969,
0.04542204365134239,
0.013342238031327724,
-0.012709212489426136,
0.04020201414823532,
0.06065361946821213,
-0.0449545793235302,
-0.009626863524317741,
0.0068366797640919685,
0.028749115765094757,
0.008141687139868736,
-0.004399530123919249,
0.00012295310443732888,
0.030229421332478523,
-0.019964663311839104,
-0.014803066849708557,
-0.039734549820423126,
-0.029606133699417114,
0.0244055837392807,
-0.021211236715316772,
-0.019156338647007942,
0.08087149262428284,
-0.03457295149564743,
-0.04246142879128456,
-0.04655175283551216,
-0.034728776663541794,
0.05099267140030861,
-0.04226665198802948,
0.00948564987629652,
0.023665430024266243,
0.007080151233822107,
0.025282081216573715,
-0.006101395934820175,
-0.01133603323251009,
0.018688872456550598,
-0.012124881148338318,
-0.03496250882744789,
0.02204877883195877,
-0.027970006689429283,
0.049395497888326645,
-0.05644643306732178,
-0.0039028481114655733,
0.014111608266830444,
-0.007713177241384983,
0.016955355182290077,
0.06497767567634583,
-0.026801342144608498,
0.05231715738773346,
-0.058199428021907806,
0.009091225452721119,
-0.07300249487161636,
0.06743186712265015,
-0.03669602423906326,
-0.012738429009914398,
-0.04156545549631119,
-0.05110953748226166,
-0.014442729763686657,
0.04596741870045662
] |
18,353 | qt5_applications | _application_names | null | def _application_names():
return [*qt_applications._applications.application_paths.keys()]
| () | [
0.02991238795220852,
-0.03189146891236305,
-0.02880033291876316,
-0.04727175086736679,
0.025200292468070984,
0.019319595769047737,
0.0007168276933953166,
-0.03769677132368088,
0.07984176278114319,
0.009165027178823948,
-0.016661973670125008,
-0.02369242161512375,
0.027386704459786415,
0.010017916560173035,
0.0008994214003905654,
-0.05296396464109421,
0.03733865171670914,
0.03777216374874115,
-0.00425266707316041,
-0.019998136907815933,
0.0018082669703289866,
-0.0007315529510378838,
-0.036999382078647614,
-0.05009900778532028,
-0.0028578864876180887,
0.06683637946844101,
-0.009942523203790188,
-0.008580727502703667,
-0.005197442136704922,
-0.03228728473186493,
-0.06088028475642204,
-0.02623695321381092,
0.04071251302957535,
-0.040825601667165756,
-0.010677610523998737,
0.021260978654026985,
0.01293941680341959,
0.024257872253656387,
0.051079124212265015,
-0.04730944707989693,
0.060578711330890656,
-0.030835958197712898,
0.01554049365222454,
-0.019272474572062492,
0.03573653846979141,
0.023956298828125,
-0.0029450603760778904,
-0.014692316763103008,
0.018311206251382828,
0.07437573373317719,
0.016219036653637886,
0.0007610035827383399,
0.0033715050667524338,
0.014588650315999985,
-0.03988318517804146,
0.09220629930496216,
-0.0012510615633800626,
-0.0318349227309227,
-0.010753003880381584,
0.02278769761323929,
-0.0031146956607699394,
0.010489126667380333,
0.041466448456048965,
-0.04436910152435303,
0.029855843633413315,
-0.006092740688472986,
0.04527382180094719,
0.007176522631198168,
-0.029101908206939697,
-0.0025374640244990587,
0.011054578237235546,
-0.05349171906709671,
-0.057751454412937164,
-0.03292813152074814,
0.01220432948321104,
-0.07192543894052505,
-0.0028767348267138004,
0.04828956350684166,
-0.07399876415729523,
-0.019903894513845444,
-0.00904722511768341,
0.00010329798533348367,
-0.05311474949121475,
0.032042257487773895,
0.031684137880802155,
0.043200500309467316,
-0.05303935706615448,
0.028102943673729897,
0.00772783812135458,
-0.013872412033379078,
0.020186621695756912,
-0.01115824468433857,
0.0030369460582733154,
0.07041756808757782,
-0.03694283589720726,
-0.04240886867046356,
-0.03775331750512123,
-0.025652652606368065,
0.02651967853307724,
0.026368891820311546,
-0.032890431582927704,
-0.03537841886281967,
0.007614747621119022,
-0.0016645480645820498,
0.040033970028162,
-0.021600250154733658,
-0.035434965044260025,
0.008731515146791935,
0.0449722483754158,
-0.006097452715039253,
-0.03045899048447609,
-0.0067430101335048676,
-0.0032089375890791416,
-0.01727454550564289,
-0.009725767187774181,
0.04369055852293968,
-0.015267192386090755,
-0.01883896067738533,
0.06457456946372986,
0.013608534820377827,
-0.04730944707989693,
0.12236372381448746,
0.009532570838928223,
-0.023993995040655136,
0.015785522758960724,
0.01838660053908825,
0.012769781053066254,
0.016624275594949722,
-0.021015949547290802,
-0.0028107655234634876,
0.024257872253656387,
0.014136289246380329,
-0.0449722483754158,
-0.06743952631950378,
0.010432581417262554,
-0.000879394996445626,
0.02442750707268715,
0.0007945772376842797,
0.015125829726457596,
0.08926595747470856,
-0.04429370537400246,
0.07445112615823746,
0.006347193848341703,
0.07452651858329773,
-0.0007132936152629554,
-0.0034421863965690136,
0.020695528015494347,
0.0353030264377594,
0.03916694596409798,
0.006865524686872959,
-0.00010653755452949554,
0.028272578492760658,
-0.06706255674362183,
0.011808513663709164,
-0.024710234254598618,
-0.006111589260399342,
0.025275684893131256,
-0.036245446652173996,
0.005192730110138655,
-0.05835460126399994,
0.02433326654136181,
-0.06615783274173737,
-0.03400248661637306,
-0.04436910152435303,
-0.03224958851933479,
-0.0014984466833993793,
0.017302818596363068,
0.056733641773462296,
-0.006333057768642902,
-0.029026513919234276,
0.0037060638424009085,
-0.025256836786866188,
-0.0020203113090246916,
-0.010206400416791439,
-0.021543703973293304,
0.02122328244149685,
-0.06676097959280014,
0.02559610828757286,
0.041918810456991196,
0.001047852449119091,
-0.027047432959079742,
0.021619098260998726,
-0.07117150723934174,
0.01559703890234232,
0.01708606258034706,
-0.022109156474471092,
-0.044934552162885666,
0.034605637192726135,
0.058844659477472305,
0.059862472116947174,
-0.0647253543138504,
-0.014202258549630642,
0.03356897458434105,
0.06759031116962433,
-0.030685171484947205,
0.013636806979775429,
-0.014466135762631893,
0.00200146296992898,
-0.0548488013446331,
-0.08625021576881409,
-0.01937614008784294,
-0.0072142197750508785,
-0.038639191538095474,
0.03858264535665512,
0.03858264535665512,
-0.02706628106534481,
0.004318636376410723,
-0.05258699506521225,
0.03385170176625252,
-0.008241456933319569,
0.02889457531273365,
-0.042559653520584106,
0.004356333054602146,
-0.01457922626286745,
-0.010526823811233044,
0.04436910152435303,
0.025539562106132507,
-0.029648510739207268,
0.009537283331155777,
0.007459248416125774,
-0.06800497323274612,
0.013523716479539871,
0.020148923620581627,
0.006003210786730051,
-0.029026513919234276,
0.0050984881818294525,
0.02267460711300373,
0.03794180229306221,
0.02844221331179142,
0.0696636363863945,
-0.003409201744943857,
0.014390742406249046,
0.0014572158688679338,
-0.022523820400238037,
-0.04414292052388191,
0.027047432959079742,
0.01215720921754837,
-0.015144677832722664,
0.04225808009505272,
-0.026029620319604874,
-0.0171803031116724,
0.020016985014081,
0.024163629859685898,
0.00655923830345273,
0.049985919147729874,
-0.02651967853307724,
0.01417398639023304,
0.01194045227020979,
0.0261615589261055,
-0.02056358940899372,
0.011233638040721416,
0.036999382078647614,
0.021543703973293304,
-0.048779621720314026,
-0.015144677832722664,
-0.013561413623392582,
-0.013240991160273552,
0.03264540433883667,
-0.036716654896736145,
0.009725767187774181,
0.0016574799083173275,
0.030515536665916443,
-0.004900580272078514,
0.00425266707316041,
-0.03556690365076065,
0.021694492548704147,
0.07644905149936676,
0.017255697399377823,
-0.07863546162843704,
0.03737634792923927,
0.18622204661369324,
-0.0027283038944005966,
-0.09574980288743973,
0.03748944029211998,
-0.02122328244149685,
0.0007456892635673285,
-0.031062139198184013,
0.04847804829478264,
-0.07143538445234299,
-0.05187075585126877,
-0.027725975960493088,
0.03413442522287369,
-0.04078790545463562,
0.02369242161512375,
0.03503914922475815,
-0.06921127438545227,
-0.008835180662572384,
-0.07878625392913818,
-0.009193300269544125,
0.006672328338027,
0.06065410375595093,
0.0039770095609128475,
0.013834714889526367,
-0.043388985097408295,
-0.041654933243989944,
0.015342585742473602,
0.041654933243989944,
-0.008156638592481613,
0.000897065328899771,
0.005008958280086517,
0.0219583697617054,
0.059297021478414536,
-0.0355103574693203,
-0.018725872039794922,
-0.014032622799277306,
0.027462098747491837,
-0.005301108583807945,
0.012392813339829445,
0.019272474572062492,
0.030402446165680885,
-0.03326740115880966,
-0.024295568466186523,
0.03473757579922676,
-0.027122827246785164,
-0.046329330652952194,
0.02167564444243908,
0.03756483271718025,
0.02780136838555336,
0.005517865065485239,
0.023560483008623123,
0.01308077946305275,
0.06001326069235802,
-0.02241072990000248,
-0.033229704946279526,
-0.010649338364601135,
0.019734259694814682,
-0.012317419983446598,
0.00273065990768373,
-0.017500726506114006,
-0.06638401746749878,
-0.03801719471812248,
-0.020714376121759415,
-0.038092587143182755,
0.03775331750512123,
0.03279619291424751,
0.023522784933447838,
0.021543703973293304,
0.029931236058473587,
-0.003958160988986492,
-0.03684859350323677,
-0.02203376218676567,
-0.012053542770445347,
-0.06736413389444351,
0.027688277885317802,
-0.07151077687740326,
0.0182829350233078,
-0.0035929735749959946,
0.09032146632671356,
-0.025087201967835426,
-0.0814250260591507,
0.0034304060973227024,
0.03445484861731529,
-0.08021873235702515,
-0.022335337474942207,
0.04327589273452759,
-0.000011163619092258159,
-0.06363215297460556,
-0.025464169681072235,
-0.004438794683665037,
0.09484507888555527,
0.03581193462014198,
-0.051267609000205994,
-0.01829235814511776,
0.009716343134641647,
-0.04131565988063812,
-0.00910377036780119,
0.03878997638821602,
0.018707022070884705,
0.02422017604112625,
-0.07803231477737427,
-0.017312241718173027,
-0.0347752720117569,
0.03784755989909172,
-0.010168704204261303,
-0.027744824066758156,
-0.019640017300844193,
0.04372825473546982,
0.00680897943675518,
-0.05187075585126877,
0.02278769761323929,
-0.011488091200590134,
0.014560378156602383,
0.019074566662311554,
0.003552920650690794,
-0.03894076496362686,
0.01982850208878517,
0.0037013518158346415,
-0.03664126247167587,
-0.009419480338692665,
0.03202340751886368,
0.030666323378682137,
-0.041579537093639374,
-0.08760729432106018,
0.06163422018289566,
0.003889835672453046,
-0.014183410443365574,
-0.026180407032370567,
0.01467346865683794,
0.001395958592183888,
-0.0251625943928957,
0.019602321088314056,
-0.01028179470449686,
-0.039468519389629364,
-0.012713235802948475,
0.029573116451501846,
-0.00914617907255888,
-0.01270381174981594,
0.01883896067738533,
-0.028479911386966705,
-0.023089272901415825,
0.006285936571657658,
-0.06001326069235802,
-0.0143153490498662,
-0.055188074707984924,
-0.00535294134169817,
-0.006912645418196917,
0.0026599783450365067,
-0.019809653982520103,
0.09657912701368332,
0.03422866761684418,
-0.003781457431614399,
-0.028479911386966705,
0.02570919878780842,
0.025935377925634384,
0.08760729432106018,
0.03641508147120476,
-0.04557539522647858,
-0.009348799474537373,
0.01965886540710926,
-0.01854681223630905,
-0.025841137394309044,
-0.029648510739207268,
-0.03437945619225502,
-0.056281279772520065,
-0.033154308795928955,
-0.015125829726457596,
0.01911226287484169,
-0.029045362025499344,
-0.05462262034416199,
-0.037263259291648865,
-0.051719971001148224,
-0.027217069640755653,
0.02212800458073616,
0.023956298828125,
0.03943082317709923,
0.04727175086736679,
-0.025313381105661392,
0.025124898180365562,
0.022052612155675888,
0.0034610347356647253,
-0.08534549176692963,
-0.01322214212268591,
-0.04010936617851257,
-0.04975973814725876,
0.0636698454618454,
0.0415041446685791,
-0.027273613959550858,
-0.006554526276886463,
-0.05733678862452507,
0.018631629645824432,
0.03684859350323677,
0.044934552162885666,
0.019885046407580376,
-0.03882767632603645,
0.0449722483754158,
-0.01663370057940483,
0.02550186589360237,
-0.04436910152435303,
-0.0013099628267809749,
0.01965886540710926,
0.0036942835431545973,
0.03228728473186493,
0.04218268766999245,
-0.022900788113474846,
-0.004620210733264685,
0.031684137880802155,
0.012110088020563126,
0.04361516609787941,
0.011846210807561874,
-0.04105178266763687,
-0.023447392508387566,
-0.032419223338365555,
-0.0003289632441010326,
0.04542461037635803,
-0.009268693625926971,
-0.04451988637447357,
-0.01653945818543434,
-0.05036288499832153,
-0.006413163151592016,
-0.004636703059077263,
0.05620588734745979,
-0.025124898180365562,
-0.026745859533548355,
0.011488091200590134,
0.02305157482624054,
0.0016692602075636387,
0.044029828161001205,
0.05394408106803894,
-0.0038262223824858665,
0.0592593252658844,
0.02286309190094471,
-0.010818973183631897,
-0.006257663946598768,
0.03483181819319725,
-0.006615783553570509,
-0.03428521379828453,
-0.012128936126828194,
-0.05073985457420349,
-0.02487986907362938,
-0.031948015093803406,
0.0006096274591982365,
-0.02003583312034607,
0.019432686269283295,
-0.05175766721367836,
0.005607394967228174,
-0.0439167395234108,
-0.03831876814365387,
0.03813028335571289,
0.06253894418478012,
0.09642834216356277,
-0.03528417646884918,
-0.04188111424446106,
0.020695528015494347,
-0.0011574086965993047,
-0.024295568466186523,
-0.0577891506254673,
-0.03724440932273865,
0.004299787804484367,
-0.041202571243047714,
0.07316943258047104,
-0.001603290787898004,
0.04135335981845856,
0.007119977846741676,
0.010507974773645401,
-0.0017093130154535174,
-0.008279153145849705,
-0.010300642810761929,
0.006771282758563757,
0.05334093049168587,
0.05522577092051506,
0.036697808653116226,
0.04734714329242706,
0.07524275779724121,
0.026764707639813423,
0.011337303556501865,
0.001970834331586957,
-0.022259943187236786,
-0.041014086455106735,
0.00978231243789196,
-0.02303272671997547,
0.043388985097408295,
0.008067108690738678,
0.00514089735224843,
0.0038050177972763777,
-0.019178232178092003,
-0.08926595747470856,
0.04180571809411049,
0.009179163724184036,
-0.0395062156021595,
0.000558677944354713,
-0.03428521379828453,
-0.007572338916361332,
-0.04987282678484917,
-0.040825601667165756,
-0.005795878823846579,
-0.009070785716176033,
-0.06857042759656906,
0.03025165945291519,
0.031966861337423325,
0.00038904245593585074,
0.027462098747491837,
-0.020450498908758163,
0.08692875504493713,
-0.0358307808637619,
-0.03008202277123928,
0.013278687372803688,
0.042371172457933426,
0.0029427041299641132,
-0.01563473604619503,
-0.026934342458844185,
0.03733865171670914,
0.012053542770445347,
-0.006860812194645405,
0.01646406576037407,
-0.02212800458073616,
-0.014767710119485855,
0.007445112336426973,
-0.005899544805288315,
-0.005018382798880339,
-0.030609779059886932,
-0.013881836086511612,
-0.00017007722635753453,
0.030232811346650124,
-0.014777134172618389,
0.0042291064746677876,
-0.021996065974235535,
-0.011073426343500614,
0.004318636376410723,
-0.011996997520327568,
-0.029573116451501846,
0.050438281148672104,
0.022636910900473595,
0.050249796360731125,
-0.037998344749212265,
0.03673550486564636,
-0.003241922240704298,
-0.030138568952679634,
0.009061361663043499,
-0.02706628106534481,
0.06574317067861557,
-0.05168227478861809,
-0.0347752720117569,
0.0015491016674786806,
-0.05635667219758034,
0.016624275594949722,
0.07788152992725372,
0.024107085540890694,
-0.018405448645353317,
0.03916694596409798,
0.010046189650893211,
-0.026745859533548355,
-0.018348904326558113,
-0.03347473219037056,
-0.007482809014618397,
0.02880033291876316,
-0.032890431582927704,
-0.0065827989019453526,
0.046668604016304016,
0.010215825401246548,
-0.024484053254127502,
0.039732396602630615,
0.0017234492115676403,
0.05458492413163185,
-0.06796728074550629,
0.03198571130633354,
0.014730012975633144,
-0.03081711009144783,
-0.046216242015361786,
-0.02723591774702072,
-0.010913215577602386,
-0.003194801276549697,
-0.006252951920032501,
-0.028272578492760658,
-0.028875727206468582,
0.023183515295386314,
0.02331545390188694,
-0.04500994458794594,
0.026915494352579117,
0.010621065273880959,
-0.03166528791189194,
0.03407788276672363,
-0.06468766182661057,
-0.04519842937588692,
0.07252858579158783,
-0.024823324754834175,
0.04090099781751633,
-0.036433931440114975,
-0.029836993664503098,
-0.030213963240385056,
-0.0023407340049743652,
0.018311206251382828,
-0.0076854294165968895,
-0.014588650315999985,
-0.016237884759902954,
0.04572618380188942,
-0.014070319943130016,
0.026312345638871193,
-0.016426367685198784,
0.027386704459786415,
-0.002796629210934043,
0.05695982277393341,
0.011770816519856453,
0.03931773081421852,
-0.022523820400238037,
-0.015870340168476105,
0.05413256213068962,
-0.022014914080500603,
0.06133264675736427,
0.06306669861078262,
-0.05040058493614197,
-0.06574317067861557,
-0.0499105267226696,
-0.03240037336945534,
0.010376036167144775,
0.03279619291424751,
0.005824150983244181,
0.010583368130028248,
0.0671379491686821,
0.018160419538617134,
-0.022523820400238037,
-0.05522577092051506,
-0.020375104621052742,
0.05002361536026001,
0.040033970028162,
0.010950911790132523,
0.031589895486831665,
0.011337303556501865,
-0.0365658700466156,
-0.04764872044324875,
0.005348229315131903,
0.04278583452105522,
0.02927154302597046,
-0.002204083139076829,
-0.01855623535811901,
-0.011601181700825691,
0.02753749117255211,
-0.008429940789937973,
-0.001117355888709426,
-0.0439167395234108,
0.0548488013446331,
-0.048515744507312775,
-0.046404726803302765,
-0.018725872039794922,
-0.015106981620192528,
0.019602321088314056,
-0.08602403104305267,
0.016624275594949722,
0.0000034374374990875367,
0.039091553539037704,
-0.00836397148668766,
0.007082280702888966,
0.06483844667673111,
0.02633119560778141,
0.040825601667165756,
0.028649546205997467,
0.029554268345236778,
-0.02122328244149685,
-0.0347752720117569,
-0.0503251887857914,
0.08134963363409042,
-0.0666101947426796,
-0.012967688962817192,
-0.029705055058002472,
0.0824805349111557,
0.03886537253856659,
0.016690244898200035,
0.06796728074550629,
-0.033154308795928955,
-0.007091705221682787,
-0.01583264395594597,
0.026086166501045227,
0.015238920226693153,
-0.009810584597289562,
0.04964664950966835,
-0.005159745458513498,
-0.008260305039584637,
0.016322702169418335,
-0.043200500309467316,
0.030779413878917694,
0.02633119560778141,
0.006460284348577261,
0.02029971219599247,
-0.020978253334760666,
-0.04142875224351883,
-0.054999589920043945,
-0.0015679501229897141,
0.0045401048846542835,
-0.04753562808036804,
-0.03741404414176941,
0.013787593692541122,
0.009080209769308567,
0.0382433757185936,
0.028329122811555862,
-0.012458782643079758,
0.0843653753399849,
-0.05119221657514572,
-0.0014595718821510673,
-0.033323947340250015
] |
18,354 | qt5_applications | _application_path | null | def _application_path(name):
return _bin.joinpath(qt_applications._applications.application_paths[name])
| (name) | [
0.03707012161612511,
-0.007586483843624592,
-0.01483327429741621,
0.011410211212933064,
0.01037371065467596,
-0.05577938258647919,
-0.02024223655462265,
0.025416027754545212,
0.022698480635881424,
0.014676492661237717,
0.003220553742721677,
-0.0338473878800869,
0.03288928046822548,
0.02053838036954403,
-0.022262977436184883,
-0.02923104353249073,
0.06372298300266266,
-0.005962052848190069,
-0.023708850145339966,
-0.0003867821942549199,
0.0676947757601738,
-0.012795114889740944,
-0.011410211212933064,
-0.06205064430832863,
-0.007869561202824116,
0.05595358461141586,
-0.0018465379253029823,
0.014667782932519913,
-0.05034428834915161,
-0.07602161914110184,
0.014598102308809757,
-0.02945750579237938,
0.061353836208581924,
0.008387811481952667,
-0.025555389001965523,
0.03947410359978676,
-0.004159065429121256,
-0.006876612082123756,
0.019493170082569122,
-0.0761609822511673,
0.074558325111866,
-0.004611989948898554,
0.015103287063539028,
-0.03264539688825607,
0.07643970102071762,
0.008962676860392094,
-0.05933309718966484,
-0.0265309177339077,
-0.00624513067305088,
0.08298968523740768,
-0.006545628886669874,
-0.011175038293004036,
-0.010173379443585873,
0.016200758516788483,
-0.01530361920595169,
0.05926341563463211,
0.009659484028816223,
-0.06968067586421967,
-0.030816279351711273,
-0.004019704181700945,
0.00857507809996605,
0.003475323785096407,
0.08180511742830276,
-0.0032401515636593103,
0.02644381672143936,
0.017115317285060883,
-0.005779141094535589,
-0.02302946336567402,
-0.007451477460563183,
0.010695983655750751,
0.05961181968450546,
0.005779141094535589,
-0.06051766872406006,
-0.06577856093645096,
0.02872585877776146,
-0.04024059325456619,
0.003932603169232607,
0.006819996517151594,
-0.04473499581217766,
0.012420580722391605,
-0.012263799086213112,
-0.01573912240564823,
-0.05142433941364288,
-0.04752222076058388,
-0.009720454923808575,
0.0498565249145031,
-0.023046884685754776,
0.001670158701017499,
0.012768983840942383,
-0.05027461051940918,
0.08041150122880936,
-0.0024235809687525034,
-0.03142598643898964,
0.04640733078122139,
0.02492826245725155,
-0.07678810507059097,
0.007926177233457565,
-0.0293878260999918,
0.049577802419662476,
0.018587321043014526,
-0.009894656017422676,
-0.02827293425798416,
0.00030975238769315183,
-0.03440483659505844,
0.044700153172016144,
-0.0204686988145113,
0.03346414491534233,
0.027314824983477592,
0.046511851251125336,
-0.02593863196671009,
-0.02140938863158226,
0.021722951903939247,
-0.05302699655294418,
-0.02785485051572323,
-0.03187891095876694,
0.07072588801383972,
-0.03177439048886299,
-0.018726682290434837,
0.04612860828638077,
0.038254693150520325,
-0.024527598172426224,
0.07337375730276108,
0.007185820024460554,
-0.021026143804192543,
0.008527172729372978,
0.041250962764024734,
-0.01516425795853138,
0.02491084299981594,
-0.02280300110578537,
-0.046442173421382904,
0.04295813664793968,
0.029109103605151176,
-0.03090338036417961,
-0.0647333487868309,
0.011462471447885036,
0.04086771607398987,
0.022750740870833397,
0.05442060902714729,
-0.00860120914876461,
0.13239328563213348,
0.02813357301056385,
0.04389882832765579,
-0.007704069837927818,
0.026565758511424065,
0.04034511372447014,
0.005705105606466532,
-0.00039195382851175964,
0.03046787716448307,
0.013613862916827202,
0.035188741981983185,
0.01994609460234642,
-0.0005645223427563906,
-0.03982250764966011,
0.01884862408041954,
0.013491921126842499,
-0.04794030636548996,
0.029039422050118446,
-0.02914394438266754,
0.0032401515636593103,
-0.08619499951601028,
0.048567432910203934,
-0.04247037321329117,
-0.0036364602856338024,
-0.09156040847301483,
-0.07811204344034195,
-0.014040656387805939,
-0.0038259048014879227,
0.09741358458995819,
-0.010164668783545494,
-0.050901737064123154,
0.007499382831156254,
-0.02675737999379635,
-0.03348156437277794,
-0.018517639487981796,
-0.062015801668167114,
0.030781440436840057,
-0.07184077799320221,
0.0002082254650304094,
0.07560353726148605,
-0.03574618697166443,
-0.022175876423716545,
0.05515225604176521,
-0.040031548589468,
0.051110778003931046,
0.019318968057632446,
-0.009938206523656845,
-0.06894902884960175,
0.0234475489705801,
0.08842477947473526,
0.07671842724084854,
-0.08605563640594482,
-0.013744513504207134,
0.03909086063504219,
0.027576128020882607,
0.0051041096448898315,
-0.025032782927155495,
0.035554565489292145,
0.01300415676087141,
-0.03428289294242859,
-0.025816692039370537,
-0.012159278616309166,
-0.0007931620930321515,
-0.023255925625562668,
0.05567486211657524,
0.025520548224449158,
-0.03025883436203003,
0.03003237210214138,
-0.011479891836643219,
0.03295896202325821,
0.030642077326774597,
0.029562028124928474,
-0.07121365517377853,
0.01751597970724106,
0.013561601750552654,
-0.015155547298491001,
0.045187920331954956,
-0.01930154860019684,
-0.035990070551633835,
0.022785581648349762,
0.0654301568865776,
-0.0921875387430191,
-0.03245377540588379,
0.044909197837114334,
0.010513071902096272,
-0.018082136288285255,
-0.00965077430009842,
-0.00041318463627249,
0.037662405520677567,
0.059089213609695435,
0.06295648962259293,
-0.004751351196318865,
-0.03092080168426037,
0.022088775411248207,
-0.07117881625890732,
-0.01667110249400139,
0.020346758887171745,
-0.02010287530720234,
-0.024649539962410927,
0.031147263944149017,
-0.030223993584513664,
0.021426808089017868,
0.006772090680897236,
0.04675573483109474,
0.004287539049983025,
0.041912928223609924,
-0.039578624069690704,
0.015051026828587055,
-0.0012009029742330313,
0.025625068694353104,
-0.024806320667266846,
0.038254693150520325,
0.03846373409032822,
0.0056005846709012985,
-0.02909168228507042,
0.023708850145339966,
-0.0032597491517663,
-0.007751975208520889,
0.037314001470804214,
-0.00887557677924633,
0.07330407202243805,
0.0008154817041940987,
-0.009441731497645378,
-0.012838665395975113,
-0.05818336457014084,
-0.0587756521999836,
-0.04915971681475639,
-0.011114068329334259,
0.015024895779788494,
-0.02426629699766636,
0.036721717566251755,
0.05006556585431099,
0.03436999395489693,
-0.025851530954241753,
-0.011375370435416698,
-0.018291177228093147,
-0.003307654755190015,
-0.020399019122123718,
0.0283600352704525,
-0.023883052170276642,
-0.040449634194374084,
-0.02024223655462265,
0.023935312405228615,
-0.008152639493346214,
0.005670265294611454,
0.006327876355499029,
-0.0647333487868309,
0.0012422758154571056,
-0.05818336457014084,
0.009528832510113716,
0.026408977806568146,
0.08089926838874817,
-0.023691430687904358,
-0.004716510884463787,
-0.04947328194975853,
-0.03720948100090027,
-0.006876612082123756,
0.061284154653549194,
-0.00027858660905621946,
-0.021792631596326828,
-0.021792631596326828,
0.011122778058052063,
0.05414188653230667,
-0.04267941415309906,
0.00047061676741577685,
-0.015800094231963158,
0.02038159780204296,
-0.023987572640180588,
0.00023258647706825286,
0.03382996842265129,
0.03940442204475403,
-0.05274827405810356,
-0.04947328194975853,
0.03173954784870148,
0.014458741061389446,
-0.00931979063898325,
0.04828871041536331,
0.04355042427778244,
-0.019249286502599716,
0.010687273927032948,
0.022890102118253708,
0.003107322845607996,
0.08312904834747314,
-0.029039422050118446,
-0.051772743463516235,
-0.025102464482188225,
-0.014990055933594704,
-0.011131488718092442,
0.02484116144478321,
-0.010974707081913948,
-0.047452542930841446,
0.005025718826800585,
0.021897153928875923,
0.007129204459488392,
0.010408551432192326,
0.052504390478134155,
0.019179606810212135,
0.03982250764966011,
-0.003248861525207758,
-0.04027543216943741,
-0.04166904464364052,
0.04539696127176285,
-0.010513071902096272,
-0.035920388996601105,
-0.008618628606200218,
-0.04247037321329117,
0.05365412309765816,
-0.021130666136741638,
0.0720498189330101,
0.01804729551076889,
-0.08424393832683563,
-0.0019401713507249951,
-0.008980097249150276,
-0.07211950421333313,
-0.04389882832765579,
-0.019632531329989433,
-0.01143634133040905,
-0.03128662332892418,
-0.039996709674596786,
-0.02724514529109001,
0.07832108438014984,
-0.01465036254376173,
-0.03513648360967636,
-0.027506448328495026,
0.00927624013274908,
-0.04595440626144409,
0.02257653884589672,
-0.045048557221889496,
0.012220248579978943,
-0.012708013877272606,
0.012917055748403072,
-0.025032782927155495,
-0.03748820349574089,
0.0583227276802063,
0.012342190369963646,
-0.011941526085138321,
-0.008792830631136894,
-0.01720241829752922,
-0.0037388037890195847,
-0.032331835478544235,
-0.0181866567581892,
-0.0038019518833607435,
0.01323061902076006,
-0.0034644361585378647,
0.015721702948212624,
0.012708013877272606,
-0.004890712443739176,
-0.026287036016583443,
-0.07124849408864975,
0.01304770726710558,
-0.013526761904358864,
0.01980673335492611,
0.005526548717170954,
0.005496063269674778,
0.0241269338876009,
0.0030594172421842813,
-0.039648305624723434,
-0.025625068694353104,
0.00007124576950445771,
0.009764005430042744,
-0.0008541326969861984,
0.02909168228507042,
0.026548339053988457,
0.021165505051612854,
0.01944090984761715,
0.03881213814020157,
-0.02895232103765011,
-0.01041726116091013,
0.025677330791950226,
-0.019771892577409744,
-0.018465379253029823,
-0.041982609778642654,
-0.03288928046822548,
-0.048567432910203934,
-0.03140856698155403,
0.009145588614046574,
-0.012019917368888855,
-0.00040202485979534686,
-0.07567321509122849,
0.08103863149881363,
0.027053523808717728,
0.015172967687249184,
0.03285444155335426,
0.005308796651661396,
-0.019249286502599716,
0.043654944747686386,
0.028150994330644608,
-0.03367318585515022,
0.01538200955837965,
0.031182102859020233,
0.011819585226476192,
-0.03633847460150719,
-0.0914907306432724,
-0.003819372272118926,
-0.046651214361190796,
-0.028081312775611877,
0.016897564753890038,
0.0404844731092453,
-0.04281877726316452,
-0.07156205922365189,
-0.05400252714753151,
-0.018447959795594215,
-0.03640815615653992,
0.006179804913699627,
0.015355879440903664,
0.030851120129227638,
0.030276253819465637,
-0.028812959790229797,
-0.01870926283299923,
0.008135219104588032,
-0.021583590656518936,
-0.009912076406180859,
-0.00848362222313881,
-0.02097388356924057,
-0.01596558466553688,
0.007207595277577639,
-0.011854425072669983,
-0.02914394438266754,
-0.027523867785930634,
0.0007577773649245501,
0.023482387885451317,
-0.008043763227760792,
0.015460400842130184,
0.06734637171030045,
-0.048915836960077286,
0.05933309718966484,
-0.011201169341802597,
-0.0009058488067239523,
0.0024627763777971268,
-0.015181677415966988,
-0.0030572398100048304,
0.013126097619533539,
0.05292247608304024,
0.023708850145339966,
0.050030726939439774,
0.03565908595919609,
0.03367318585515022,
0.0006195047753863037,
0.05229534953832626,
-0.00040665207779966295,
-0.003274991875514388,
-0.027436766773462296,
-0.040379952639341354,
-0.02827293425798416,
0.045640844851732254,
0.012237668968737125,
-0.01548653095960617,
-0.050309449434280396,
-0.02221071533858776,
-0.020782262086868286,
0.02008545584976673,
0.07211950421333313,
0.03853341564536095,
-0.0404844731092453,
0.02675737999379635,
-0.023255925625562668,
-0.003719206200912595,
0.03856825456023216,
0.06804317981004715,
0.018447959795594215,
0.04173872619867325,
0.005657200235873461,
-0.02492826245725155,
-0.020050615072250366,
0.0416342057287693,
-0.0347706601023674,
0.02586895227432251,
-0.045710526406764984,
-0.014153887517750263,
-0.0180647149682045,
0.014763593673706055,
0.003322897246107459,
-0.025625068694353104,
0.012324769981205463,
-0.04515307769179344,
-0.005622359924018383,
-0.01747242920100689,
0.01951058954000473,
0.010295320302248001,
0.04480467736721039,
-0.008379101753234863,
-0.05438577011227608,
-0.03936958312988281,
0.0014676492428407073,
-0.004165598191320896,
-0.06264293193817139,
-0.05431608855724335,
0.010852765291929245,
0.016157208010554314,
-0.03222731500864029,
0.08758861571550369,
-0.019179606810212135,
0.06779929995536804,
0.04480467736721039,
0.0016886676894500852,
0.03353382647037506,
0.03961346670985222,
-0.06476818770170212,
0.0036495255772024393,
-0.00877105537801981,
0.020050615072250366,
0.007103074342012405,
0.02214103564620018,
0.06302617490291595,
-0.009859816171228886,
-0.008261515758931637,
0.015042316168546677,
-0.014371640048921108,
0.008156994357705116,
0.07427960634231567,
-0.010844055563211441,
0.03668687865138054,
0.05727751553058624,
0.03010205365717411,
0.04759190231561661,
-0.025259245187044144,
-0.0956018939614296,
0.03835921362042427,
0.006031733471900225,
-0.04062383621931076,
0.006719830445945263,
-0.047766104340553284,
0.005639779847115278,
-0.009946917183697224,
-0.0674857348203659,
0.002427936065942049,
0.01418001763522625,
-0.09037584066390991,
0.00399139616638422,
0.03503195941448212,
-0.005618004593998194,
0.03046787716448307,
0.03172212839126587,
0.05424640700221062,
-0.04142516478896141,
-0.02309914492070675,
0.01848280057311058,
0.06964583694934845,
0.0020980415865778923,
-0.002128527034074068,
0.030206574127078056,
0.011680223979055882,
0.001235743286088109,
0.008008923381567001,
0.05584906414151192,
-0.024893421679735184,
-0.02687932178378105,
-0.022193295881152153,
0.01715886779129505,
-0.0036908984184265137,
-0.011096647940576077,
0.01151473168283701,
-0.03466613590717316,
0.008091668598353863,
0.02376111038029194,
0.02586895227432251,
-0.025520548224449158,
-0.03264539688825607,
-0.012324769981205463,
0.011227299459278584,
-0.011183748953044415,
-0.005112819839268923,
0.013700962997972965,
0.029945271089673042,
-0.011488601565361023,
0.005382832605391741,
0.012141858227550983,
-0.05128498002886772,
0.026321876794099808,
-0.06375782191753387,
0.0583227276802063,
-0.005173790268599987,
-0.024614699184894562,
-0.01147118117660284,
-0.019266707822680473,
0.01033887080848217,
0.05532645806670189,
0.026914162561297417,
-0.01596558466553688,
0.011053097434341908,
0.044177550822496414,
-0.01994609460234642,
-0.022175876423716545,
-0.02484116144478321,
-0.004485693760216236,
-0.003392578102648258,
-0.02484116144478321,
0.025747010484337807,
0.049577802419662476,
0.003107322845607996,
-0.01304770726710558,
0.0034535485319793224,
0.02520698495209217,
0.03661719709634781,
-0.0603783093392849,
0.048497751355171204,
-0.002636978169903159,
-0.03846373409032822,
-0.02045127935707569,
-0.0030093342065811157,
-0.009267530404031277,
-0.01987641304731369,
0.019388647750020027,
-0.07657906413078308,
-0.053375400602817535,
0.007542933337390423,
0.016862723976373672,
-0.027593549340963364,
0.01703692600131035,
-0.008191835135221481,
-0.01980673335492611,
0.003346850164234638,
-0.11044387519359589,
-0.015460400842130184,
0.07337375730276108,
0.04647701233625412,
0.032697658985853195,
0.04400334879755974,
-0.004189550876617432,
-0.05508257448673248,
-0.0005079068359918892,
-0.025259245187044144,
-0.03257571533322334,
-0.06013442575931549,
-0.03187891095876694,
0.04668605327606201,
0.00527831120416522,
0.0031334529630839825,
-0.03377771005034447,
0.010295320302248001,
-0.01717628724873066,
0.010669853538274765,
0.01752469129860401,
-0.015547500923275948,
-0.04442143067717552,
0.01765534095466137,
0.03388223052024841,
-0.03106016293168068,
0.037314001470804214,
0.042052287608385086,
-0.04480467736721039,
-0.06807802617549896,
-0.05800916627049446,
-0.0027654520235955715,
0.02417919598519802,
0.0349971204996109,
0.025241825729608536,
0.03222731500864029,
0.06389718502759933,
-0.002974493894726038,
-0.011810874566435814,
-0.0720498189330101,
-0.008731859736144543,
-0.01586977392435074,
-0.0050605591386556625,
-0.009589803405106068,
-0.006314811296761036,
0.019684791564941406,
-0.022019093856215477,
-0.019858993589878082,
0.02140938863158226,
0.0626777708530426,
0.04327170178294182,
0.03748820349574089,
-0.00903235748410225,
0.005021363962441683,
0.010539202950894833,
0.012586072087287903,
-0.02264622040092945,
-0.10194282978773117,
0.03369060903787613,
-0.023848211392760277,
-0.06110995635390282,
0.006319166626781225,
-0.007730200421065092,
-0.0014240988530218601,
-0.055117417126894,
-0.06797350198030472,
0.016000425443053246,
0.03503195941448212,
-0.038115330040454865,
-0.01898798532783985,
0.04626797139644623,
0.036721717566251755,
-0.0030703048687428236,
0.018831202760338783,
0.0058270469307899475,
0.008579433895647526,
-0.050030726939439774,
-0.007434057537466288,
0.06034346669912338,
-0.05828788876533508,
-0.03975282609462738,
0.00903235748410225,
0.07664874941110611,
0.041111599653959274,
0.021757790818810463,
0.05891501158475876,
-0.04720865935087204,
0.010007887147367,
-0.026182515546679497,
0.012185408733785152,
0.06765993684530258,
-0.027593549340963364,
0.022837841883301735,
0.03640815615653992,
0.0241269338876009,
0.0037279161624610424,
-0.01820407807826996,
0.003958733752369881,
0.03158276900649071,
0.030781440436840057,
0.03626879304647446,
0.004960393067449331,
0.027750330045819283,
-0.047313179820775986,
-0.047452542930841446,
0.020939044654369354,
-0.009189139120280743,
-0.03713980317115784,
0.02491084299981594,
0.005726880859583616,
0.06239904835820198,
0.0388818196952343,
-0.023726271465420723,
0.0736524760723114,
-0.027889691293239594,
-0.06508175283670425,
-0.05748656019568443
] |
18,357 | qt5_applications | import_it | null | def import_it(*segments):
import importlib
import pkg_resources
major = int(pkg_resources.get_distribution(__name__).version.partition(".")[0])
m = {
"pyqt_tools": "pyqt{major}_tools".format(major=major),
"pyqt_plugins": "pyqt{major}_plugins".format(major=major),
"qt_tools": "qt{major}_tools".format(major=major),
"qt_applications": "qt{major}_applications".format(major=major),
}
majored = [m[segments[0]], *segments[1:]]
return importlib.import_module(".".join(majored))
| (*segments) | [
0.012575858272612095,
0.021669739857316017,
-0.03444933146238327,
-0.020002838224172592,
0.011409025639295578,
0.026707492768764496,
0.01309445034712553,
0.04111694544553757,
-0.10608912259340286,
0.0337270051240921,
0.005241484381258488,
0.06530556082725525,
-0.041153986006975174,
0.015057691372931004,
-0.02850404381752014,
-0.044376663863658905,
0.017067234963178635,
0.04278384521603584,
0.011140469461679459,
-0.023892277851700783,
-0.0215771347284317,
0.027855804190039635,
0.010677441023290157,
0.014529839158058167,
0.04185779020190239,
0.04622878134250641,
0.03807947412133217,
-0.017437659204006195,
0.007334373891353607,
-0.05900837108492851,
0.0306710172444582,
0.0028869835659861565,
-0.038005392998456955,
-0.00814004335552454,
-0.00882069580256939,
-0.020076921209692955,
0.03730158880352974,
0.014205718412995338,
0.08171529322862625,
0.03528278321027756,
0.059082455933094025,
-0.004160312470048666,
0.09764347970485687,
-0.04915511980652809,
0.011010820977389812,
0.03874623775482178,
0.00022688403259962797,
0.0015071582747623324,
0.03276390582323074,
0.015613325871527195,
0.0480068102478981,
-0.012492513284087181,
0.024836856871843338,
-0.02861517108976841,
-0.02611481584608555,
0.1463911384344101,
0.055378224700689316,
0.07145457714796066,
0.016909806057810783,
0.016048572957515717,
-0.014928043819963932,
0.015659628435969353,
0.015761494636535645,
0.044561877846717834,
-0.009371699765324593,
0.0063064503483474255,
-0.007792772259563208,
-0.03396778181195259,
-0.07764064520597458,
0.028892988339066505,
-0.046265821903944016,
-0.006889866199344397,
-0.0026323178317397833,
-0.08645670861005783,
0.06171245872974396,
0.010677441023290157,
-0.029689397662878036,
-0.02029917575418949,
-0.013325964100658894,
0.0021195136941969395,
0.010862652212381363,
-0.013548217713832855,
-0.06875049322843552,
0.019595371559262276,
-0.019336076453328133,
0.03093031421303749,
-0.02392932027578354,
-0.03257869556546211,
-0.029782002791762352,
0.005653579719364643,
-0.04682145640254021,
0.005880463868379593,
-0.0330972857773304,
0.042191170156002045,
-0.020558472722768784,
-0.039709337055683136,
-0.022188331931829453,
-0.04748821631073952,
-0.04889582470059395,
0.023003263399004936,
0.029800523072481155,
-0.059193581342697144,
-0.05241484194993973,
-0.04319131374359131,
0.020558472722768784,
-0.0723065510392189,
-0.005838791374117136,
0.05256301164627075,
0.0018416964448988438,
-0.050822023302316666,
-0.011547934263944626,
-0.05760076269507408,
-0.04385807365179062,
-0.03167115896940231,
-0.04745117574930191,
-0.05960104614496231,
0.020762205123901367,
-0.01473357155919075,
0.057378508150577545,
-0.036671869456768036,
-0.07489951699972153,
0.0917167142033577,
-0.04178370535373688,
0.08127079159021378,
0.047303006052970886,
-0.029485663399100304,
-0.003218049183487892,
0.03481975570321083,
0.014928043819963932,
-0.08623445779085159,
0.055748648941516876,
-0.00862159300595522,
-0.03007834032177925,
-0.0892719253897667,
-0.055304139852523804,
0.010603356175124645,
-0.05126653239130974,
0.023910799995064735,
0.01403902843594551,
0.025781435891985893,
-0.09193896502256393,
0.026318548247218132,
-0.06274963915348053,
0.04041314125061035,
-0.06878753751516342,
-0.0004856012819800526,
0.033801089972257614,
-0.000184487973456271,
-0.014650226570665836,
0.043413564562797546,
0.006579637061804533,
-0.012770329602062702,
-0.03257869556546211,
0.039042577147483826,
-0.023595940321683884,
-0.023466290906071663,
-0.00581563962623477,
-0.03967229276895523,
0.040302012115716934,
-0.05393357574939728,
-0.022206854075193405,
-0.004750674124807119,
0.02472572959959507,
0.016576426103711128,
-0.017909947782754898,
0.034301161766052246,
-0.005611907225102186,
0.018826745450496674,
-0.024799814447760582,
-0.01127011701464653,
0.01357599999755621,
0.04633990675210953,
0.00043814085074700415,
0.0022931494750082493,
-0.02302178367972374,
-0.06056414544582367,
-0.03391221910715103,
0.010094024240970612,
0.04163553565740585,
0.0022572646848857403,
0.013659344986081123,
0.03439376875758171,
-0.002630002796649933,
0.027615029364824295,
0.03698672726750374,
-0.015539241023361683,
-0.0006673400639556348,
0.002856886712834239,
0.006737066898494959,
-0.05241484194993973,
0.0053526111878454685,
0.004227451514452696,
0.051488786935806274,
0.02241058647632599,
-0.04293201491236687,
0.041709620505571365,
-0.010955257341265678,
0.005195181351155043,
-0.029244888573884964,
0.021891994401812553,
-0.031134046614170074,
0.027800239622592926,
0.014844698831439018,
0.03511609137058258,
0.0510442778468132,
-0.00040543946670368314,
0.021595656871795654,
-0.044080328196287155,
0.007903899066150188,
0.020632555708289146,
0.018826745450496674,
-0.05256301164627075,
0.00008211523527279496,
0.054229915142059326,
0.010242193937301636,
0.01020515151321888,
0.022799530997872353,
0.011520152911543846,
0.05837865173816681,
-0.07119528204202652,
-0.014983606524765491,
0.05548935383558273,
0.025614744052290916,
0.06234217807650566,
-0.0022213798947632313,
-0.03274538740515709,
0.00020980984845664352,
0.031022919341921806,
-0.007593669928610325,
0.018150722607970238,
0.03306024521589279,
-0.03609771281480789,
0.009945855475962162,
-0.03352327272295952,
-0.030467284843325615,
0.037208981812000275,
-0.009556910954415798,
0.018456321209669113,
0.05267413705587387,
-0.009052210487425327,
0.012001702561974525,
0.1093488484621048,
-0.011020082049071789,
-0.05656357854604721,
0.0022572646848857403,
0.018150722607970238,
-0.05752667784690857,
-0.08423417061567307,
-0.011881315149366856,
0.02928193099796772,
0.03657926246523857,
0.03511609137058258,
0.015465157106518745,
-0.017650652676820755,
-0.050747938454151154,
0.012168392539024353,
0.014001986011862755,
-0.018873047083616257,
0.02333664335310459,
-0.035208698362112045,
-0.033319540321826935,
-0.021669739857316017,
-0.008654005825519562,
-0.0054683685302734375,
-0.008056698366999626,
-0.0136686060577631,
0.0224846713244915,
-0.006426837760955095,
0.009029058739542961,
0.026040730997920036,
0.006760218180716038,
0.06349048763513565,
-0.01252029463648796,
0.05141470208764076,
-0.031504470854997635,
0.02807805687189102,
-0.03893144801259041,
-0.013594521209597588,
0.009075361303985119,
0.001693527214229107,
-0.0006146705127321184,
0.01731727086007595,
-0.06541668623685837,
0.004144106525927782,
0.02880038134753704,
-0.03068953938782215,
0.0625644326210022,
-0.07508472353219986,
-0.03765349090099335,
0.04756230115890503,
0.03900553286075592,
0.06034189462661743,
0.0394870825111866,
-0.07675162702798843,
-0.005486889276653528,
0.03620884194970131,
-0.042302295565605164,
-0.013177795335650444,
0.05260005593299866,
0.023558897897601128,
0.04834019020199776,
-0.04004271700978279,
-0.013279661536216736,
0.03409742936491966,
0.007019514217972755,
-0.026707492768764496,
0.05515597388148308,
-0.024873899295926094,
-0.015659628435969353,
0.015511459670960903,
-0.011733145453035831,
0.004632601514458656,
0.034671586006879807,
-0.0643795058131218,
-0.027800239622592926,
0.05845273658633232,
0.0029055047780275345,
0.07138049602508545,
-0.036671869456768036,
-0.014085331000387669,
0.0013312073424458504,
0.09201305359601974,
-0.010158848948776722,
0.019725020974874496,
0.028633691370487213,
0.01348339393734932,
-0.005394283682107925,
-0.004225136246532202,
-0.05763780698180199,
-0.034541938453912735,
-0.014131634496152401,
0.04519159719347954,
-0.017224665731191635,
0.045710187405347824,
0.05448921024799347,
0.04026497155427933,
0.03930187225341797,
-0.044376663863658905,
-0.027003830298781395,
0.01035332027822733,
0.06512034684419632,
0.0001885394740384072,
-0.029393058270215988,
-0.007135271560400724,
-0.03256017342209816,
0.000645924941636622,
0.05778597667813301,
0.057193297892808914,
-0.021040022373199463,
-0.014650226570665836,
-0.026207420974969864,
-0.0035537448711693287,
-0.0236885454505682,
-0.005269266199320555,
-0.003968155477195978,
0.011501631699502468,
0.00209520454518497,
-0.0355420783162117,
0.027503902092576027,
0.0016900545451790094,
0.054044704884290695,
-0.010834869928658009,
0.016659770160913467,
0.029430100694298744,
-0.04422849789261818,
-0.07927050441503525,
0.028411436825990677,
-0.025225801393389702,
-0.010825609788298607,
-0.024688687175512314,
-0.014603923074901104,
0.024281222373247147,
0.029559748247265816,
0.00975138321518898,
0.009042949415743351,
-0.009668038226664066,
-0.0025443423073738813,
0.017511744052171707,
-0.044969342648983,
0.006764848716557026,
0.000620458391495049,
-0.0037088594399392605,
0.06178654357790947,
-0.030726581811904907,
-0.002000283682718873,
-0.0024077489506453276,
0.05389653518795967,
-0.024688687175512314,
-0.004257548600435257,
-0.023058826103806496,
0.05448921024799347,
-0.005121096968650818,
-0.01870635710656643,
0.04671033099293709,
0.0032273095566779375,
-0.06449063122272491,
-0.03841285780072212,
-0.0370793342590332,
0.04156145080924034,
0.005713773425668478,
-0.004604819696396589,
-0.037208981812000275,
0.04685850068926811,
0.04993300884962082,
0.029244888573884964,
-0.03552355617284775,
0.039264827966690063,
0.007019514217972755,
-0.007903899066150188,
-0.056526537984609604,
-0.03367144241929054,
-0.023299600929021835,
-0.060304850339889526,
-0.03143038600683212,
0.018984174355864525,
-0.008538248017430305,
0.034541938453912735,
0.015705931931734085,
-0.005602646619081497,
0.017845124006271362,
0.012279519811272621,
-0.04282088950276375,
0.016372693702578545,
-0.0346345417201519,
0.009246681816875935,
-0.006551855243742466,
-0.05534118413925171,
0.0029981103725731373,
-0.017363574355840683,
-0.03989454731345177,
-0.0528593510389328,
0.004273754544556141,
-0.021243754774332047,
-0.06426837295293808,
-0.016289347782731056,
-0.043895114213228226,
0.02200312167406082,
-0.015974488109350204,
0.03385665640234947,
-0.09030910581350327,
0.018771180883049965,
-0.004303851164877415,
0.027355732396245003,
-0.0953468605875969,
-0.0034472483675926924,
0.018317412585020065,
0.000768627563957125,
0.05126653239130974,
-0.05560047924518585,
-0.04908103495836258,
-0.09512460231781006,
0.013057407923042774,
0.007144532166421413,
0.021058542653918266,
0.01889156922698021,
-0.020151006057858467,
0.034060388803482056,
-0.042005959898233414,
-0.043228354305028915,
0.051859207451343536,
0.0061212386935949326,
-0.013353746384382248,
0.030207989737391472,
0.007626081816852093,
0.03424559906125069,
-0.014511317946016788,
0.058897241950035095,
-0.008001134730875492,
-0.021725304424762726,
0.0009758328669704497,
0.019576851278543472,
-0.025985168293118477,
0.05389653518795967,
0.010075503028929234,
0.03413446992635727,
0.0832710713148117,
0.07867782562971115,
0.0017189938807860017,
0.053563155233860016,
-0.008348406292498112,
0.009066101163625717,
-0.055378224700689316,
0.011334940791130066,
0.06608344614505768,
-0.029207846149802208,
0.01771547645330429,
0.007445500697940588,
-0.03433820605278015,
-0.000009721792594064027,
-0.06186062842607498,
0.04945145919919014,
-0.008755872026085854,
0.003137018997222185,
0.002977274125441909,
0.10186630487442017,
0.061082739382982254,
0.007880747318267822,
0.0052785263396799564,
-0.021002979949116707,
-0.02265136130154133,
0.03117108903825283,
-0.0006054099649190903,
-0.010029200464487076,
0.010038460604846478,
-0.00165185471996665,
0.08223389089107513,
0.040302012115716934,
0.033375103026628494,
-0.014076070860028267,
-0.048747655004262924,
-0.0165486428886652,
-0.029800523072481155,
-0.027300169691443443,
0.014363148249685764,
0.013251880183815956,
-0.017576567828655243,
-0.05322977155447006,
0.07204725593328476,
0.02072516269981861,
0.02411453239619732,
0.0291708055883646,
-0.03996863216161728,
0.0315970741212368,
-0.051007237285375595,
-0.0401168018579483,
-0.022077206522226334,
-0.017141319811344147,
0.01151089183986187,
0.022984741255640984,
0.06449063122272491,
0.042746804654598236,
0.057748932391405106,
0.00578785827383399,
-0.03717194125056267,
0.04771047085523605,
-0.020132485777139664,
-0.05297047644853592,
0.016141178086400032,
0.059934426099061966,
-0.017270969226956367,
0.007852965965867043,
-0.03189341351389885,
0.01889156922698021,
0.03391221910715103,
0.03741271421313286,
0.01777103915810585,
-0.03322693705558777,
0.004917364101856947,
0.006635200697928667,
-0.020262133330106735,
0.01461318414658308,
0.045784272253513336,
0.010723743587732315,
-0.024262700229883194,
-0.008093740791082382,
-0.061267949640750885,
-0.04211708530783653,
-0.036912642419338226,
-0.0007489488343708217,
0.013613042421638966,
0.01242768857628107,
0.04015384241938591,
-0.012205434963107109,
0.0054405867122113705,
-0.018271110951900482,
-0.025929603725671768,
-0.03657926246523857,
-0.028022494167089462,
-0.015103994868695736,
-0.028152141720056534,
0.0077372086234390736,
-0.003162485547363758,
0.009621735662221909,
0.019465724006295204,
-0.02411453239619732,
0.07860374450683594,
0.0009318451629951596,
-0.012122089974582195,
-0.02131783962249756,
-0.003468084614723921,
-0.030300594866275787,
0.018697096034884453,
-0.013520436361432076,
0.024410869926214218,
0.0011297898599877954,
-0.009167967364192009,
-0.03146742656826973,
0.029059678316116333,
0.04337652400135994,
0.005519301630556583,
0.0030513587407767773,
0.0355420783162117,
0.024818334728479385,
-0.006232365500181913,
0.026688970625400543,
0.002805953612551093,
-0.07241768389940262,
0.014770613983273506,
0.012816633097827435,
-0.04415441304445267,
-0.007626081816852093,
-0.002532766666263342,
-0.013437091372907162,
-0.04793272539973259,
0.087493896484375,
0.03043024241924286,
-0.000063883482653182,
-0.03822764381766319,
-0.03104143962264061,
0.018900828436017036,
0.01710427738726139,
0.011251595802605152,
-0.018132202327251434,
-0.014465014450252056,
-0.010844131000339985,
0.02363298274576664,
-0.015678150579333305,
-0.034060388803482056,
0.05208146199584007,
-0.04596948251128197,
-0.01920642890036106,
0.0680837333202362,
0.005602646619081497,
-0.015233642421662807,
0.03722750395536423,
0.024336785078048706,
-0.0019007326336577535,
-0.03396778181195259,
0.015224382281303406,
-0.021002979949116707,
0.02046586573123932,
-0.02594812586903572,
0.07038035243749619,
-0.03548651561141014,
0.0007217458914965391,
-0.05582273378968239,
0.05478554964065552,
-0.05626724287867546,
0.016669031232595444,
0.006936169229447842,
0.022151289507746696,
-0.015807798132300377,
-0.05189625173807144,
-0.05608202889561653,
0.028707776218652725,
-0.026022210717201233,
-0.03722750395536423,
-0.014122373424470425,
0.0255221389234066,
-0.006903757341206074,
0.024707209318876266,
0.024521997198462486,
-0.08223389089107513,
0.039709337055683136,
-0.01795625127851963,
0.012622160837054253,
0.010288496501743793,
-0.043413564562797546,
0.026651928201317787,
0.041153986006975174,
0.008163195103406906,
-0.03741271421313286,
0.057860057801008224,
0.044969342648983,
0.01849336363375187,
-0.039635252207517624,
0.0264296755194664,
-0.07297331094741821,
0.008510466665029526,
-0.045710187405347824,
0.028652213513851166,
-0.005954548250883818,
0.017483960837125778,
-0.023892277851700783,
-0.016613468527793884,
-0.03381961211562157,
-0.03300468251109123,
0.027652069926261902,
0.018511885777115822,
-0.04904399439692497,
0.02752242237329483,
-0.014103852212429047,
0.03626440465450287,
-0.011835012584924698,
-0.027300169691443443,
-0.008802174590528011,
0.003910277038812637,
0.0016356486594304442,
-0.004551571793854237,
-0.04059835150837898,
-0.026596365496516228,
0.0704914778470993,
-0.0045122141018509865,
0.03165263682603836,
-0.015613325871527195,
0.003275927621871233,
0.01865079440176487,
-0.058897241950035095,
-0.03385665640234947,
-0.009584693238139153,
0.058600906282663345,
-0.03443080931901932,
-0.02546657621860504,
0.009677298367023468,
-0.03985750675201416,
0.00022456889564637095,
-0.002856886712834239,
-0.038190603256225586,
-0.05274822190403938,
-0.02435530722141266,
-0.012770329602062702,
-0.023058826103806496,
0.03189341351389885,
0.016243044286966324,
0.0698247179389,
-0.06693542003631592,
-0.0004662119608838111,
0.012048005126416683,
0.036542221903800964,
-0.006440728437155485,
0.019780583679676056,
-0.056526537984609604,
0.041524410247802734,
0.007565888110548258,
-0.005264635663479567,
-0.004623340908437967,
-0.04015384241938591,
0.03576433286070824,
-0.003671817248687148,
0.039153702557086945,
-0.0631941482424736,
-0.029004113748669624,
-0.0619717538356781,
0.018363716080784798,
0.034060388803482056,
-0.035097572952508926,
0.032337918877601624,
0.019706498831510544,
0.05093315243721008,
-0.06712063401937485,
-0.0016611152095720172,
-0.05826752632856369,
0.012603639625012875,
0.02941158041357994,
-0.03194897621870041,
0.018511885777115822,
0.03682003915309906,
-0.035023488104343414,
-0.01521512120962143,
0.06715767830610275,
0.029318973422050476,
0.025225801393389702,
-0.032337918877601624,
-0.052340757101774216,
0.04659920185804367,
-0.022743966430425644,
0.0330972857773304,
-0.030911792069673538,
-0.030708059668540955,
-0.03104143962264061,
0.0003602941578719765,
0.007450130768120289,
0.03048580512404442,
-0.04063539579510689,
0.07201021164655685,
-0.034967921674251556,
-0.010279236361384392,
0.0002724634250625968
] |
18,360 | envparse | ConfigurationError | null | class ConfigurationError(Exception):
pass
| null | [
0.00044615776278078556,
-0.04356779903173447,
0.01430335734039545,
-0.017609529197216034,
-0.018065553158521652,
-0.041392914950847626,
-0.01463660504668951,
0.014733072370290756,
0.021433111280202866,
-0.03457010164856911,
0.03586801514029503,
0.0041502537205815315,
0.04244527965784073,
-0.0012420067796483636,
-0.005888843908905983,
0.022976577281951904,
-0.018609272316098213,
0.043708112090826035,
0.022415317595005035,
-0.043708112090826035,
-0.022520553320646286,
-0.02401139959692955,
-0.031185002997517586,
0.007831329479813576,
0.011155040003359318,
0.05689772218465805,
0.023502757772803307,
0.007541929837316275,
0.04595315456390381,
-0.05798516049981117,
-0.08797748386859894,
0.012742353603243828,
-0.020450906828045845,
0.05328461155295372,
0.005849380511790514,
-0.021520808339118958,
0.019661635160446167,
0.0438484288752079,
-0.07548945397138596,
0.016469469293951988,
-0.1056571751832962,
0.009900975041091442,
-0.028291005641222,
-0.02060876227915287,
0.029553841799497604,
0.005875689443200827,
-0.04339240491390228,
0.0684737041592598,
-0.09639638662338257,
0.00964665412902832,
-0.015294332057237625,
0.014759381301701069,
-0.016741329804062843,
0.03981437161564827,
0.013505316339433193,
0.026782620698213577,
0.02816823124885559,
0.045216500759124756,
0.0031548943370580673,
-0.014049036428332329,
-0.03739393875002861,
0.04553220793604851,
0.03499104455113411,
0.007568238768726587,
0.03264077007770538,
-0.027922678738832474,
-0.05998465046286583,
0.016039755195379257,
0.014049036428332329,
0.01359301246702671,
0.06643913686275482,
-0.000028090398700442165,
-0.07163079082965851,
-0.010453465394675732,
0.06808783859014511,
-0.0618087463080883,
-0.0691051259636879,
0.052688270807266235,
0.027677128091454506,
0.029992325231432915,
-0.03474549576640129,
0.028010375797748566,
-0.020240435376763344,
0.007962875068187714,
0.0851711854338646,
0.0012343332637101412,
-0.01810063049197197,
-0.04693535715341568,
-0.028483938425779343,
0.02369569055736065,
-0.05409142002463341,
0.012496802024543285,
-0.023081813007593155,
0.017916467040777206,
-0.017732305452227592,
0.05107465013861656,
0.024853289127349854,
-0.04472539573907852,
0.013663169927895069,
-0.06237000599503517,
0.007844483479857445,
-0.002858917461708188,
-0.010462234728038311,
-0.04020024091005325,
0.016399312764406204,
-0.051144808530807495,
-0.011979390867054462,
-0.02038075029850006,
0.004086673725396395,
-0.02106478437781334,
-0.019889647141098976,
-0.004343186970800161,
-0.03893740475177765,
-0.011909233406186104,
0.025046221911907196,
-0.017705995589494705,
0.007331457454711199,
-0.009409872815012932,
-0.0006895165424793959,
0.006472027860581875,
0.04455000162124634,
0.013777175918221474,
-0.07163079082965851,
0.05286366492509842,
0.0881178006529808,
0.07005225121974945,
-0.037008073180913925,
-0.003933203872293234,
0.07752402126789093,
-0.016390543431043625,
0.025291774421930313,
0.005445974878966808,
-0.01832864247262478,
-0.0563715398311615,
-0.002477436326444149,
0.015434646978974342,
0.0031833958346396685,
0.002113494323566556,
-0.014785690233111382,
-0.0052574267610907555,
0.020521065220236778,
0.04290130361914635,
-0.00045026856241747737,
-0.006730733904987574,
0.03620126098394394,
-0.004143676720559597,
-0.06419409811496735,
-0.03479811176657677,
-0.027361419051885605,
0.031535789370536804,
0.023853546008467674,
-0.008888076059520245,
-0.03669236600399017,
-0.03544706851243973,
-0.0712098479270935,
-0.014759381301701069,
0.004569006152451038,
0.007147294003516436,
0.0016048524994403124,
-0.020749077200889587,
-0.022853801026940346,
-0.050618626177310944,
0.04609346762299538,
0.019924726337194443,
-0.054898232221603394,
-0.0032031277660280466,
-0.02488836832344532,
-0.039533741772174835,
0.007813789881765842,
-0.038200750946998596,
-0.03658713027834892,
-0.011041034013032913,
-0.03851645812392235,
-0.0001507289707660675,
-0.0346577987074852,
0.026168741285800934,
0.01468922384083271,
0.025747796520590782,
0.002280118176713586,
-0.011549675837159157,
0.019135454669594765,
0.005954616703093052,
-0.02106478437781334,
-0.003968282602727413,
0.04097197204828262,
0.0647202804684639,
-0.013452697545289993,
0.05830087140202522,
0.02432710863649845,
-0.01810063049197197,
0.04900500550866127,
-0.04805787652730942,
0.010225453414022923,
0.04440968856215477,
0.022783642634749413,
-0.03949866443872452,
-0.01832864247262478,
0.0016465084627270699,
0.05647677555680275,
0.07408630847930908,
-0.027834981679916382,
0.04854898154735565,
0.013899952173233032,
-0.0328863225877285,
0.04269082844257355,
0.012821280397474766,
-0.005463514011353254,
-0.06742134690284729,
-0.053670477122068405,
0.0258881114423275,
-0.02522161602973938,
-0.028308546170592308,
-0.0018120362656190991,
0.03935834765434265,
0.03977929428219795,
0.0032579381950199604,
0.08362772315740585,
0.002280118176713586,
-0.014899696223437786,
0.016162531450390816,
0.0804004818201065,
0.01711842603981495,
0.09864142537117004,
-0.009453721344470978,
0.03190411627292633,
0.005599444266408682,
-0.03462271764874458,
-0.06128256395459175,
-0.007634011562913656,
-0.015224174596369267,
0.01711842603981495,
0.016250228509306908,
-0.01887236349284649,
0.018819745630025864,
0.11112945526838303,
-0.02402893826365471,
0.02520407736301422,
-0.04167354479432106,
0.01446998119354248,
0.009953592903912067,
-0.025133918970823288,
-0.022415317595005035,
-0.05602075159549713,
0.02422187104821205,
0.047110751271247864,
-0.014399823732674122,
-0.0524076409637928,
0.055424414575099945,
-0.03935834765434265,
0.009629114530980587,
0.006572879385203123,
0.0346577987074852,
-0.03497350588440895,
-0.02665984444320202,
0.011155040003359318,
-0.06044067442417145,
-0.02739649824798107,
-0.04700551554560661,
0.06324697285890579,
-0.0004902802174910903,
0.048198193311691284,
0.0019852377008646727,
0.01632038503885269,
0.007743632420897484,
-0.02895750291645527,
0.006612343247979879,
-0.0019402930047363043,
0.011093652807176113,
0.03530675545334816,
0.035254135727882385,
0.13603536784648895,
0.11309386789798737,
-0.0027120253071188927,
0.013189607299864292,
-0.04013008251786232,
0.013847333379089832,
-0.003573647001758218,
0.04626886174082756,
0.04023531824350357,
0.04553220793604851,
0.024730512872338295,
-0.011619833298027515,
0.008322431705892086,
0.07173603028059006,
-0.011549675837159157,
0.03090437315404415,
-0.04553220793604851,
0.005994080100208521,
-0.011979390867054462,
0.04623378440737724,
0.012689734809100628,
-0.018012935295701027,
0.0010244089644402266,
-0.032605692744255066,
0.018363721668720245,
-0.018696969375014305,
-0.05503854900598526,
0.00023500017414335161,
0.059704020619392395,
-0.0384112223982811,
0.011198888532817364,
0.021450651809573174,
-0.08117221295833588,
0.026694923639297485,
-0.013040523044764996,
-0.026273978874087334,
0.0770329162478447,
-0.01501370221376419,
0.016978111118078232,
0.01431212667375803,
0.026466911658644676,
0.00778748095035553,
0.016820257529616356,
0.049601342529058456,
0.05588043853640556,
0.01731135882437229,
0.02597580850124359,
-0.012847589328885078,
-0.019801950082182884,
0.02816823124885559,
-0.04574267938733101,
0.05714327096939087,
0.005761683452874422,
-0.04433953016996384,
0.009988672100007534,
0.02622136101126671,
0.011207658797502518,
0.024940986186265945,
-0.03760441392660141,
-0.008515364490449429,
-0.0530390590429306,
-0.029746774584054947,
0.004950487520545721,
-0.004639163613319397,
0.00046917819418013096,
-0.031535789370536804,
0.03851645812392235,
-0.013663169927895069,
0.01484707836061716,
-0.06545693427324295,
0.03869185224175453,
-0.007813789881765842,
-0.025853034108877182,
0.03518397733569145,
0.016373002901673317,
-0.011356743052601814,
-0.023923702538013458,
-0.04198925569653511,
-0.004709321074187756,
0.015268023125827312,
-0.012496802024543285,
0.0519866980612278,
-0.029080277308821678,
0.03574524074792862,
0.030413269996643066,
-0.01931084878742695,
-0.047636933624744415,
-0.049180395901203156,
-0.021889135241508484,
-0.006840354762971401,
0.020029962062835693,
-0.01644316129386425,
-0.021994370967149734,
0.0009630211279727519,
-0.04946102574467659,
0.037113308906555176,
-0.03806043416261673,
-0.008791609667241573,
0.03090437315404415,
-0.004946102853864431,
0.01950378157198429,
-0.01873204857110977,
-0.008866152726113796,
-0.011944311670958996,
0.0480227991938591,
0.027677128091454506,
-0.04805787652730942,
0.04595315456390381,
-0.0853816568851471,
0.06752657890319824,
-0.011321663856506348,
-0.012409104965627193,
-0.02238023839890957,
-0.03753425553441048,
-0.01745167374610901,
-0.03697299584746361,
0.007002593949437141,
-0.03265830874443054,
0.03539445251226425,
0.06128256395459175,
-0.038656774908304214,
-0.02753681316971779,
-0.028571635484695435,
0.03683267906308174,
-0.0215032696723938,
-0.002067453460767865,
-0.03420177474617958,
0.031097305938601494,
-0.0005930499755777419,
0.011488288640975952,
-0.03114992380142212,
-0.016820257529616356,
-0.0025563633535057306,
0.056617092341184616,
0.04005992412567139,
0.0012321408139541745,
0.014294588007032871,
0.04798772186040878,
0.010576240718364716,
-0.01332992222160101,
0.019345926120877266,
-0.002790952567011118,
-0.04219972714781761,
-0.029431065544486046,
-0.05528409779071808,
0.01742536574602127,
-0.006783351767808199,
-0.019240690395236015,
0.007901486940681934,
-0.01468922384083271,
0.007493696641176939,
-0.05710819363594055,
0.07443708926439285,
0.005937077105045319,
-0.01382102444767952,
0.04616362601518631,
-0.03574524074792862,
0.03553476557135582,
-0.013356231153011322,
-0.042164649814367294,
-0.04076150059700012,
0.04388350620865822,
-0.038656774908304214,
-0.03837614506483078,
-0.00233054393902421,
-0.09576496481895447,
-0.017837541177868843,
-0.02073153667151928,
-0.019047757610678673,
0.005463514011353254,
0.01348777674138546,
-0.0016684327274560928,
0.03188657760620117,
0.06128256395459175,
0.05735374614596367,
-0.030483428388834,
-0.028010375797748566,
-0.006796506233513355,
0.042831145226955414,
0.02334490418434143,
-0.07429677993059158,
-0.05374063551425934,
0.00007234991062432528,
-0.04455000162124634,
0.036481890827417374,
-0.05009244382381439,
-0.08776701241731644,
-0.007414769381284714,
0.023327363654971123,
0.011435669846832752,
0.007726093288511038,
0.012181093916296959,
-0.001871231710538268,
-0.045882996171712875,
-0.006932436488568783,
0.008164577186107635,
0.048198193311691284,
0.027677128091454506,
0.018170788884162903,
0.018679430708289146,
0.003580224234610796,
0.008760916069149971,
-0.024730512872338295,
0.0003812072682194412,
-0.015618810430169106,
0.024870827794075012,
0.04623378440737724,
0.06500091403722763,
0.03104468807578087,
-0.03553476557135582,
0.04805787652730942,
-0.004476924426853657,
-0.024835750460624695,
0.008234734646975994,
0.005353893153369427,
-0.09176599234342575,
0.031009608879685402,
-0.06924543529748917,
-0.013794715516269207,
0.014715532772243023,
-0.013470237143337727,
-0.03806043416261673,
-0.004005554132163525,
-0.026379214599728584,
0.05458252504467964,
-0.012435413897037506,
-0.03949866443872452,
0.04507618397474289,
-0.008256658911705017,
-0.036236342042684555,
0.03104468807578087,
-0.024730512872338295,
-0.030132640153169632,
-0.03386852517724037,
0.0425855927169323,
-0.029746774584054947,
0.009427412413060665,
0.033061716705560684,
0.02169620245695114,
-0.020661380141973495,
-0.028361164033412933,
0.061352722346782684,
0.0015533305704593658,
0.02346767857670784,
0.03348265960812569,
-0.017793692648410797,
-0.011672452092170715,
0.024800671264529228,
0.018276024609804153,
0.06921035796403885,
0.008888076059520245,
0.02520407736301422,
0.07050827145576477,
0.023555375635623932,
-0.023169510066509247,
0.0018098439322784543,
0.09043300151824951,
-0.05802024155855179,
-0.030413269996643066,
0.07534913718700409,
-0.015460955910384655,
0.012321408838033676,
0.012400335632264614,
0.015838053077459335,
0.0013625898864120245,
-0.013768406584858894,
-0.027238644659519196,
0.050583548843860626,
-0.003707384690642357,
-0.0022647713776677847,
0.016092373058199883,
0.003735886188223958,
0.027326339855790138,
0.0017331091221421957,
-0.0515657514333725,
-0.05577520281076431,
-0.05633646249771118,
0.021678663790225983,
-0.06061606854200363,
-0.037113308906555176,
0.04967150092124939,
0.015294332057237625,
0.033394962549209595,
-0.00860306154936552,
0.03658713027834892,
-0.0342368520796299,
0.07247268408536911,
0.006112470757216215,
0.03844630345702171,
0.028764568269252777,
-0.021783899515867233,
-0.03774472698569298,
-0.015557422302663326,
-0.013575473800301552,
0.009857126511633396,
-0.02259070985019207,
-0.028133152052760124,
0.021643584594130516,
-0.0528285875916481,
-0.004321262706071138,
0.015364489518105984,
0.016697481274604797,
0.01896006055176258,
-0.008256658911705017,
-0.047636933624744415,
0.029220592230558395,
0.02787006087601185,
0.061387799680233,
-0.0033675592858344316,
-0.014803229831159115,
0.011681221425533295,
-0.01720612309873104,
-0.041498154401779175,
0.005616983864456415,
-0.011119961738586426,
-0.015715276822447777,
-0.008524134755134583,
-0.01667117327451706,
-0.03334234654903412,
0.026554608717560768,
-0.023818466812372208,
0.012426644563674927,
0.006871048826724291,
-0.04276098683476448,
0.02992216683924198,
0.04690027981996536,
0.047110751271247864,
-0.09878174215555191,
0.03686776012182236,
0.02399386093020439,
-0.07717323303222656,
-0.015136477537453175,
0.05251287668943405,
-0.03104468807578087,
0.04174370318651199,
-0.006208937615156174,
0.011602294631302357,
0.0043190703727304935,
-0.017705995589494705,
-0.002558555919677019,
0.02611612342298031,
-0.02029305323958397,
-0.011295354925096035,
-0.02553732506930828,
-0.04981181398034096,
-0.02937844768166542,
0.026344135403633118,
0.037429019808769226,
0.0012189863482490182,
0.02115248143672943,
0.035359371453523636,
0.026344135403633118,
-0.03488580882549286,
0.040936894714832306,
-0.07110460847616196,
0.06671977043151855,
-0.039428506046533585,
-0.047531697899103165,
-0.0804004818201065,
-0.007555084303021431,
0.02346767857670784,
0.04893484711647034,
0.029659077525138855,
-0.08194394409656525,
-0.0770329162478447,
0.01789015904068947,
0.07780465483665466,
0.02095954865217209,
0.057423900812864304,
0.008572367951273918,
0.03739393875002861,
-0.01939854398369789,
-0.056511856615543365,
0.024414805695414543,
-0.013224686495959759,
-0.004761939402669668,
-0.005025030113756657,
-0.08229473233222961,
0.05349508300423622,
-0.047847405076026917,
0.019819490611553192,
0.007800635416060686,
-0.041603390127420425,
0.016601014882326126,
-0.02501114457845688,
-0.014750611037015915,
-0.029010120779275894,
0.02017027698457241,
0.006629882380366325,
-0.021134942770004272,
-0.004845251329243183,
0.0018065553158521652,
-0.00622209208086133,
-0.024853289127349854,
0.03539445251226425,
-0.009962363168597221,
0.017241202294826508,
-0.046549491584300995,
-0.011146270669996738,
0.011602294631302357,
0.07303394377231598,
-0.07983922213315964,
0.027677128091454506,
-0.008256658911705017,
0.008756531402468681,
-0.015110168606042862,
-0.05602075159549713,
-0.054336972534656525,
0.00173420540522784,
-0.0012288521975278854,
0.013040523044764996,
0.05370555445551872,
-0.05167098715901375,
-0.008642525412142277,
-0.004338801838457584,
0.0438484288752079,
0.0018624620279297233,
0.008304892107844353,
0.025923190638422966,
0.0035254135727882385,
-0.04076150059700012,
0.04616362601518631,
-0.04777724668383598,
0.0486542172729969,
-0.013417619280517101,
-0.04861913621425629,
-0.0013143566902726889,
-0.05216209217905998,
-0.008033032529056072,
0.026554608717560768,
0.03479811176657677,
0.0017331091221421957,
-0.04307669773697853,
0.015241714194417,
0.014996162615716457,
-0.0440589003264904,
-0.006051083095371723,
-0.0023678152356296778,
0.0007980414084158838,
-0.03265830874443054,
0.01929330825805664,
0.04272590950131416,
0.041603390127420425,
-0.05693279951810837,
-0.01491723582148552,
-0.00044643180444836617,
0.008537288755178452,
-0.0010128987487405539,
-0.04111228510737419,
0.00006950661190785468,
-0.04574267938733101,
0.0006982862250879407,
-0.02697555348277092,
0.00518288416787982,
0.006467643193900585,
-0.020749077200889587,
0.013066831976175308,
-0.06251031905412674,
0.009278327226638794,
0.028571635484695435,
0.018609272316098213,
-0.011619833298027515,
-0.08124236762523651,
0.09983409941196442,
0.011698761023581028,
0.00004179303505225107,
-0.04837358742952347,
0.019556399434804916,
0.02893996238708496,
0.060265280306339264,
0.06229984760284424,
-0.012365256436169147,
-0.010093907825648785,
-0.052898745983839035,
-0.031623486429452896,
-0.01068147737532854,
0.004968027118593454,
0.05865165963768959,
-0.027606971561908722,
0.04861913621425629,
-0.04988197237253189,
0.006704424507915974,
-0.0065641095861792564,
0.05409142002463341,
-0.037674568593502045,
-0.08285599201917648,
0.016180070117115974,
-0.011137500405311584,
-0.03620126098394394,
-0.028098072856664658,
0.028027916327118874,
-0.010611319914460182,
0.02444988302886486,
0.02159096673130989,
0.016083603724837303,
0.030728979036211967,
0.0036372272297739983,
-0.011058573611080647
] |
18,361 | envparse | Env |
Lookup and cast environment variables with optional schema.
Usage:::
env = Env()
env('foo')
env.bool('bar')
# Create env with a schema
env = Env(MAIL_ENABLED=bool, SMTP_LOGIN=(str, 'DEFAULT'))
if env('MAIL_ENABLED'):
...
| class Env(object):
"""
Lookup and cast environment variables with optional schema.
Usage:::
env = Env()
env('foo')
env.bool('bar')
# Create env with a schema
env = Env(MAIL_ENABLED=bool, SMTP_LOGIN=(str, 'DEFAULT'))
if env('MAIL_ENABLED'):
...
"""
BOOLEAN_TRUE_STRINGS = ('true', 'on', 'ok', 'y', 'yes', '1')
def __init__(self, **schema):
self.schema = schema
def __call__(self, var, default=NOTSET, cast=None, subcast=None,
force=False, preprocessor=None, postprocessor=None):
"""
Return value for given environment variable.
:param var: Name of variable.
:param default: If var not present in environ, return this instead.
:param cast: Type or callable to cast return value as.
:param subcast: Subtype or callable to cast return values as (used for
nested structures).
:param force: force to cast to type even if default is set.
:param preprocessor: callable to run on pre-casted value.
:param postprocessor: callable to run on casted value.
:returns: Value from environment or default (if set).
"""
logger.debug("Get '%s' casted as '%s'/'%s' with default '%s'", var,
cast, subcast, default)
if var in self.schema:
params = self.schema[var]
if isinstance(params, dict):
if cast is None:
cast = params.get('cast', cast)
if subcast is None:
subcast = params.get('subcast', subcast)
if default == NOTSET:
default = params.get('default', default)
else:
if cast is None:
cast = params
# Default cast is `str` if it is not specified. Most types will be
# implicitly strings so reduces having to specify.
cast = str if cast is None else cast
try:
value = os.environ[var]
except KeyError:
if default is NOTSET:
error_msg = "Environment variable '{}' not set.".format(var)
raise ConfigurationError(error_msg)
else:
value = default
# Resolve any proxied values
if hasattr(value, 'startswith') and value.startswith('{{'):
value = self.__call__(value.lstrip('{{}}'), default, cast, subcast,
default, force, preprocessor, postprocessor)
if preprocessor:
value = preprocessor(value)
if value != default or force:
value = self.cast(value, cast, subcast)
if postprocessor:
value = postprocessor(value)
return value
@classmethod
def cast(cls, value, cast=str, subcast=None):
"""
Parse and cast provided value.
:param value: Stringed value.
:param cast: Type or callable to cast return value as.
:param subcast: Subtype or callable to cast return values as (used for
nested structures).
:returns: Value of type `cast`.
"""
if cast is bool:
value = value.lower() in cls.BOOLEAN_TRUE_STRINGS
elif cast is float:
# Clean string
float_str = re.sub(r'[^\d,\.]', '', value)
# Split to handle thousand separator for different locales, i.e.
# comma or dot being the placeholder.
parts = re.split(r'[,\.]', float_str)
if len(parts) == 1:
float_str = parts[0]
else:
float_str = "{0}.{1}".format(''.join(parts[0:-1]), parts[-1])
value = float(float_str)
elif type(cast) is type and (issubclass(cast, list) or
issubclass(cast, tuple)):
value = (subcast(i.strip()) if subcast else i.strip() for i in
value.split(',') if i)
elif cast is dict:
value = {k.strip(): subcast(v.strip()) if subcast else v.strip()
for k, v in (i.split('=') for i in value.split(',') if
value)}
try:
return cast(value)
except ValueError as error:
raise ConfigurationError(*error.args)
# Shortcuts
bool = shortcut(bool)
dict = shortcut(dict)
float = shortcut(float)
int = shortcut(int)
list = shortcut(list)
set = shortcut(set)
str = shortcut(str)
tuple = shortcut(tuple)
json = shortcut(pyjson.loads)
url = shortcut(urlparse.urlparse)
@staticmethod
def read_envfile(path=None, **overrides):
"""
Read a .env file (line delimited KEY=VALUE) into os.environ.
If not given a path to the file, recurses up the directory tree until
found.
Uses code from Honcho (github.com/nickstenning/honcho) for parsing the
file.
"""
if path is None:
frame = inspect.currentframe().f_back
caller_dir = os.path.dirname(frame.f_code.co_filename)
path = os.path.join(os.path.abspath(caller_dir), '.env')
try:
with open(path, 'r') as f:
content = f.read()
except getattr(__builtins__, 'FileNotFoundError', IOError):
logger.debug('envfile not found at %s, looking in parent dir.',
path)
filedir, filename = os.path.split(path)
pardir = os.path.abspath(os.path.join(filedir, os.pardir))
path = os.path.join(pardir, filename)
if filedir != pardir:
Env.read_envfile(path, **overrides)
else:
# Reached top level directory.
warnings.warn('Could not any envfile.')
return
logger.debug('Reading environment variables from: %s', path)
for line in content.splitlines():
tokens = list(shlex.shlex(line, posix=True))
# parses the assignment statement
if len(tokens) < 3:
continue
name, op = tokens[:2]
value = ''.join(tokens[2:])
if op != '=':
continue
if not re.match(r'[A-Za-z_][A-Za-z_0-9]*', name):
continue
value = value.replace(r'\n', '\n').replace(r'\t', '\t')
os.environ.setdefault(name, value)
for name, value in overrides.items():
os.environ.setdefault(name, value)
| (**schema) | [
0.04393443092703819,
-0.04301226884126663,
-0.013415261171758175,
-0.03991644084453583,
0.029465271160006523,
-0.01371167041361332,
-0.0035239760763943195,
-0.025622928515076637,
0.002788442187011242,
-0.08053547888994217,
-0.008903253823518753,
0.03853319585323334,
-0.01628055050969124,
0.03229762613773346,
0.025644885376095772,
0.039213839918375015,
0.004819394089281559,
0.09660744667053223,
0.07825203239917755,
0.0008110085036605597,
0.03271479532122612,
-0.07636379450559616,
-0.028279634192585945,
-0.025754665955901146,
0.03260501101613045,
-0.024525117129087448,
0.03776472806930542,
-0.009161240421235561,
0.01850910857319832,
0.00931493379175663,
-0.006010519806295633,
-0.026501178741455078,
-0.022395361214876175,
-0.001116337487474084,
0.06652739644050598,
-0.07934983819723129,
-0.01486437302082777,
0.04446138069033623,
-0.04268292710185051,
-0.02724768966436386,
-0.045229848474264145,
-0.020759621635079384,
0.017125865444540977,
0.0007087747799232602,
-0.05941357836127281,
-0.0013304107123985887,
-0.03717191144824028,
0.006120301317423582,
0.01577555574476719,
0.0032001216895878315,
0.059062279760837555,
-0.039631009101867676,
0.039674919098615646,
0.053134094923734665,
-0.02161591500043869,
-0.011955170892179012,
0.0015684986719861627,
0.03543736785650253,
-0.04327574372291565,
-0.017850421369075775,
-0.01799313724040985,
0.039806656539440155,
-0.02149515599012375,
-0.001472440198995173,
-0.001519097131676972,
-0.01845421828329563,
-0.05792055279016495,
-0.015841424465179443,
-0.036732785403728485,
-0.059150103479623795,
-0.05581275373697281,
-0.05186063423752785,
-0.04935762286186218,
-0.03725973516702652,
0.044307686388492584,
-0.015918271616101265,
-0.06064312905073166,
0.037742771208286285,
-0.008398260921239853,
-0.034844547510147095,
-0.003458107355982065,
0.015446213074028492,
-0.025074023753404617,
-0.01977159082889557,
0.04878675937652588,
0.04281466454267502,
-0.041650980710983276,
0.07447555661201477,
0.07421208173036575,
0.03855515271425247,
0.009918729774653912,
0.001473812386393547,
0.005137759726494551,
0.10231606662273407,
0.03297827020287514,
-0.034251730889081955,
0.057174041867256165,
-0.011241593398153782,
-0.027642901986837387,
-0.02397621050477028,
-0.010231606662273407,
0.021934280171990395,
-0.042155977338552475,
-0.06077486649155617,
-0.016873368993401527,
-0.005500037223100662,
0.027686815708875656,
0.001827856758609414,
0.039126016199588776,
-0.0460202731192112,
-0.10644383728504181,
-0.0669226124882698,
-0.036315616220235825,
-0.052387580275535583,
-0.009073414839804173,
0.003792939940467477,
-0.03565692901611328,
0.013766560703516006,
0.025754665955901146,
0.013283523730933666,
-0.007283981889486313,
0.06441959738731384,
0.017268581315875053,
0.06512220203876495,
0.05647144094109535,
0.047337647527456284,
-0.007174200378358364,
0.0027184565551579,
0.04970892146229744,
0.030497213825583458,
0.04145337641239166,
0.013217655010521412,
-0.032231755554676056,
-0.018026070669293404,
0.01825661212205887,
0.004525729455053806,
-0.06336569786071777,
0.06064312905073166,
-0.004901729989796877,
0.003430661978200078,
0.0546710304915905,
-0.016006097197532654,
-0.00343889556825161,
-0.0663517490029335,
-0.012240602634847164,
0.012383317574858665,
0.04360508546233177,
-0.005862315185368061,
-0.09221619367599487,
0.022011127322912216,
0.015051000751554966,
-0.004377524834126234,
-0.07574901729822159,
-0.0032467786222696304,
0.04101425036787987,
0.0248105488717556,
-0.02573271095752716,
-0.04059708118438721,
0.019156817346811295,
0.02140733227133751,
-0.07680291682481766,
-0.009446671232581139,
-0.03354912996292114,
-0.03141937404870987,
0.04369291290640831,
0.021681783720850945,
0.025579016655683517,
-0.04112403094768524,
0.03150720149278641,
0.032407406717538834,
-0.02700617164373398,
-0.03666691482067108,
0.0039905463345348835,
0.026435310021042824,
0.01951909437775612,
0.0359862744808197,
0.014710678718984127,
-0.01219668984413147,
-0.027642901986837387,
0.031024163588881493,
-0.0007712128572165966,
-0.019563008099794388,
-0.04083860293030739,
-0.00891423225402832,
0.04351726174354553,
0.08874711394309998,
0.01334939245134592,
-0.011109855957329273,
0.006449644919484854,
0.06613218784332275,
-0.005895249545574188,
-0.0073553393594920635,
0.03385651856660843,
0.035349540412425995,
0.0018113895785063505,
-0.02157200314104557,
0.0189701896160841,
-0.04751329869031906,
-0.009808949194848537,
-0.0115050682798028,
-0.03684256598353386,
0.01635739766061306,
0.046283748000860214,
0.009935197420418262,
-0.049225885421037674,
-0.011000074446201324,
-0.007432186510413885,
-0.027357472106814384,
-0.02503011003136635,
-0.023141874000430107,
-0.07188472151756287,
-0.07096255570650101,
-0.017213689163327217,
0.030343519523739815,
-0.0035212314687669277,
-0.032407406717538834,
0.04944544658064842,
0.019859416410326958,
0.008458640426397324,
0.05287062004208565,
0.0885714590549469,
-0.009227109141647816,
0.047118086367845535,
0.013217655010521412,
0.062048327177762985,
-0.03638148680329323,
-0.0649026408791542,
-0.017169777303934097,
0.014732635580003262,
0.00574155617505312,
0.019958220422267914,
-0.017510099336504936,
-0.003628268139436841,
0.014051991514861584,
0.11812455952167511,
-0.016346419230103493,
0.07557336986064911,
0.01867377944290638,
0.01421666331589222,
0.0283455029129982,
0.016258593648672104,
-0.004262254573404789,
-0.011823433451354504,
0.007926201447844505,
-0.006663717795163393,
-0.01580849103629589,
0.055110156536102295,
0.023449260741472244,
-0.03512997925281525,
-0.03321978822350502,
0.01532545406371355,
0.030760688707232475,
0.0192556194961071,
0.004333612509071827,
-0.02283448725938797,
0.034800637513399124,
-0.015577950514853,
0.03368086740374565,
0.03840145841240883,
-0.030848514288663864,
0.03758907690644264,
-0.021890368312597275,
0.0323854498565197,
0.008859341964125633,
-0.018234655261039734,
-0.0020776090677827597,
0.03306609392166138,
-0.05256323143839836,
0.0074980552308261395,
-0.019068991765379906,
0.025161847472190857,
0.040772732347249985,
-0.03611801192164421,
0.010061445645987988,
-0.04105816408991814,
0.011461155489087105,
0.0031671873293817043,
-0.009188685566186905,
0.046152010560035706,
-0.006273994687944651,
-0.010538994334638119,
-0.023580998182296753,
0.0065649147145450115,
0.04301226884126663,
-0.00024014634254854172,
-0.005066401790827513,
-0.07293862104415894,
-0.05563710629940033,
0.03537149727344513,
0.033417392522096634,
0.020166803151369095,
-0.008112830109894276,
0.066790871322155,
0.011263549327850342,
-0.013437217101454735,
-0.002585347043350339,
-0.05875489115715027,
-0.06463916599750519,
0.07078690826892853,
-0.05388060584664345,
0.043670956045389175,
0.026479221880435944,
0.010209650732576847,
0.04663504660129547,
0.0037188376300036907,
0.02200014889240265,
0.02700617164373398,
-0.023866429924964905,
0.011702674441039562,
0.010017532855272293,
0.005785468500107527,
-0.01678554341197014,
-0.041607070714235306,
0.017894333228468895,
0.015018066391348839,
0.00021698937052860856,
-0.014952197670936584,
-0.0394553579390049,
0.0064386664889752865,
0.009468627162277699,
0.007459631655365229,
0.030255695804953575,
0.05036760866641998,
-0.00463825510814786,
0.013129829429090023,
-0.03271479532122612,
0.040311653167009354,
-0.0021983683109283447,
0.07570510357618332,
0.04681069776415825,
-0.056120142340660095,
0.01023709587752819,
0.009699167683720589,
0.05392451956868172,
0.07961331307888031,
-0.022944267839193344,
-0.016587937250733376,
0.01628055050969124,
-0.0020995652303099632,
-0.03607409819960594,
0.01850910857319832,
-0.01040725689381361,
-0.02333948016166687,
-0.03271479532122612,
0.023317523300647736,
-0.014491116628050804,
0.025117935612797737,
0.030563082545995712,
0.04369291290640831,
-0.0021297549828886986,
-0.031111987307667732,
-0.034756723791360855,
-0.004270487930625677,
0.006372797768563032,
-0.039674919098615646,
-0.09985696524381638,
-0.050323694944381714,
-0.02926766499876976,
0.0546710304915905,
-0.04015795886516571,
0.005472592078149319,
0.0025647629518061876,
-0.002911946037784219,
0.03701821714639664,
-0.004424181766808033,
-0.04281466454267502,
-0.027862465009093285,
-0.0019047035602852702,
0.022263623774051666,
0.028652889654040337,
0.023580998182296753,
-0.03091438300907612,
0.04101425036787987,
-0.08562932908535004,
0.012767552398145199,
0.009013035334646702,
0.0009345123544335365,
-0.016181746497750282,
0.013975145295262337,
0.06766912341117859,
0.024195773527026176,
0.04171685129404068,
-0.02380056120455265,
0.05049934610724449,
0.004728824831545353,
-0.02030951902270317,
0.011274527758359909,
-0.001473812386393547,
0.02922375127673149,
0.05484668165445328,
-0.03554714843630791,
0.06753738224506378,
0.016972171142697334,
0.009161240421235561,
-0.006411221344023943,
0.014875350520014763,
-0.004484561271965504,
0.013953188434243202,
0.017378361895680428,
0.054363641887903214,
-0.015083935111761093,
-0.005417701322585344,
0.06428786367177963,
0.021253637969493866,
0.0019376379204913974,
0.029706789180636406,
0.03706212714314461,
-0.004583364352583885,
-0.01171365287154913,
0.04263901337981224,
0.025842491537332535,
-0.03594236075878143,
0.001752382144331932,
-0.03210001811385155,
-0.05642753094434738,
0.02674269676208496,
0.022812530398368835,
0.017257602885365486,
0.06731782108545303,
-0.026193790137767792,
-0.02443729154765606,
-0.03460302948951721,
-0.03313196077942848,
0.035349540412425995,
-0.011027520522475243,
0.0486111082136631,
-0.023493174463510513,
0.020913315936923027,
-0.03422977402806282,
-0.007349850609898567,
0.016071965917944908,
-0.015259585343301296,
-0.04171685129404068,
-0.05085064470767975,
0.042748793959617615,
0.0026814055163413286,
0.00843119528144598,
-0.009243575856089592,
0.006257527507841587,
-0.02085842564702034,
-0.05172889679670334,
0.03422977402806282,
0.021418308839201927,
0.028147896751761436,
-0.03502019867300987,
0.010796980001032352,
-0.04580071195960045,
0.07078690826892853,
-0.03201219439506531,
-0.05304626747965813,
-0.022549055516719818,
-0.06573697179555893,
0.014853394590318203,
0.003175420919433236,
-0.017674770206212997,
-0.03201219439506531,
-0.03205610811710358,
0.03859906643629074,
0.02669878490269184,
0.06310222297906876,
0.02724768966436386,
-0.005535716190934181,
-0.04189250245690346,
-0.034756723791360855,
-0.04672287404537201,
0.03620583564043045,
0.018344435840845108,
0.03629365935921669,
-0.04378073662519455,
0.013272545300424099,
-0.03690843656659126,
0.00008134957170113921,
-0.011658761650323868,
0.04575679823756218,
-0.0187506265938282,
0.03855515271425247,
0.028191808611154556,
-0.004232064820826054,
-0.053002357482910156,
-0.017740638926625252,
-0.027225734665989876,
-0.016324462369084358,
-0.015292519703507423,
0.011834411881864071,
0.00111153454054147,
-0.03936753422021866,
0.09388487040996552,
0.0009482349851168692,
0.02696225978434086,
0.05247540771961212,
0.00005308949403115548,
0.04241945222020149,
0.03192437067627907,
-0.026896391063928604,
0.030211782082915306,
-0.004015246871858835,
0.004193641245365143,
0.017696727067232132,
0.07337774336338043,
-0.03613996505737305,
-0.010665242560207844,
-0.007959135808050632,
-0.005889760795980692,
0.022109931334853172,
0.008969122543931007,
0.002059769583866,
-0.04852328449487686,
0.03862101957201958,
-0.018026070669293404,
-0.05484668165445328,
-0.022406339645385742,
0.010818935930728912,
0.014853394590318203,
-0.052080195397138596,
-0.0012096514692530036,
0.005093846935778856,
0.02388838678598404,
-0.025008155032992363,
-0.07245558500289917,
0.02048517018556595,
-0.011548981070518494,
0.003856064286082983,
-0.012943201698362827,
-0.007322404999285936,
-0.020210716873407364,
0.015973161906003952,
0.03868689015507698,
0.01125257182866335,
0.007640770636498928,
-0.003834107890725136,
0.014337423257529736,
-0.026654871180653572,
-0.034251730889081955,
0.03666691482067108,
0.10503863543272018,
0.010319431312382221,
-0.032143931835889816,
0.026654871180653572,
-0.013525041751563549,
0.00487977359443903,
0.022592967376112938,
0.006619805470108986,
-0.05445146933197975,
0.03183654323220253,
0.0013736371183767915,
-0.045098111033439636,
0.006328885443508625,
0.01486437302082777,
-0.025293584913015366,
-0.04948936030268669,
-0.06253136694431305,
-0.002703361678868532,
0.06459525227546692,
0.0794815793633461,
-0.01686239056289196,
-0.0967830941081047,
0.03354912996292114,
0.027994202449917793,
-0.02729160338640213,
-0.006553936749696732,
-0.0020515359938144684,
0.014875350520014763,
-0.054187994450330734,
0.03708408400416374,
-0.03150720149278641,
-0.042112063616514206,
-0.048347633332014084,
0.05194845795631409,
-0.006729586515575647,
-0.02568879723548889,
-0.012460164725780487,
-0.015676753595471382,
0.03903818875551224,
0.011011052876710892,
-0.001749637653119862,
0.016412287950515747,
0.009100859984755516,
0.02527162991464138,
0.021758630871772766,
0.025293584913015366,
-0.013283523730933666,
-0.020551038905978203,
-0.1255018562078476,
-0.009029502980411053,
-0.009298466145992279,
-0.010533505119383335,
0.06463916599750519,
0.10767338424921036,
-0.03767690435051918,
-0.05269496887922287,
-0.08637584000825882,
0.009874817915260792,
0.02595227211713791,
0.020046044141054153,
0.012855377048254013,
-0.05027978494763374,
-0.017938245087862015,
0.034668900072574615,
0.06081877648830414,
-0.05168498307466507,
-0.07482685893774033,
-0.04887458309531212,
0.03655713424086571,
-0.03811602666974068,
-0.005714110564440489,
-0.039257753640413284,
0.0038094071205705404,
0.003781961975619197,
-0.004561408422887325,
-0.009863839484751225,
0.001746893161907792,
-0.004635510500520468,
-0.014502095058560371,
0.07105038315057755,
0.0011890674941241741,
-0.011054965667426586,
-0.0460202731192112,
0.01622566021978855,
-0.018146829679608345,
-0.05067499727010727,
-0.006806433666497469,
0.005217351019382477,
-0.03436151146888733,
0.01532545406371355,
0.017817486077547073,
0.0369303897023201,
0.013821450993418694,
-0.037654947489500046,
-0.056339703500270844,
-0.04645939916372299,
0.04292444512248039,
0.032143931835889816,
0.04856719821691513,
-0.02296622470021248,
-0.023778604343533516,
-0.035349540412425995,
0.035810623317956924,
-0.026391396299004555,
0.03348326310515404,
0.012075930833816528,
0.02375664934515953,
-0.009463137947022915,
0.022549055516719818,
0.022087974473834038,
0.03932362049818039,
-0.017971180379390717,
0.011680718511343002,
-0.06077486649155617,
0.08172111213207245,
0.02586444839835167,
0.0093753132969141,
0.02430555410683155,
-0.015336431562900543,
0.009781504049897194,
-0.02700617164373398,
0.031441330909729004,
-0.03477868065237999,
-0.01598414033651352,
0.0015026299515739083,
-0.0106377974152565,
-0.05664709210395813,
0.010039489716291428,
-0.04979674518108368,
-0.0015822213608771563,
0.028696801513433456,
-0.009029502980411053,
-0.01888236403465271,
0.03023373894393444,
0.0829506665468216,
0.007377295754849911,
0.054056257009506226,
-0.05554927885532379,
0.023559043183922768,
0.01576457917690277,
-0.035393454134464264,
-0.04382465034723282,
0.02931157685816288,
0.02421773038804531,
0.004347335081547499,
-0.00710833165794611,
-0.008480596356093884,
0.02944331429898739,
-0.011570937000215054,
0.021550046280026436,
-0.02439337968826294,
-0.05203628167510033,
0.038379501551389694,
-0.00541495718061924,
0.023910341784358025,
-0.03949927166104317,
0.001949988305568695,
0.0069052367471158504,
0.02990439534187317,
0.006729586515575647,
-0.05691056698560715,
-0.13261567056179047,
-0.008612333796918392,
-0.009957153350114822,
-0.047161996364593506,
0.017125865444540977,
-0.002195623703300953,
-0.04391247406601906,
-0.022175800055265427,
-0.007530989591032267,
0.04009208828210831,
-0.0008878553635440767,
-0.027818553149700165,
0.0027637414168566465,
-0.019442247226834297,
-0.015841424465179443,
-0.0022848208900541067,
0.05388060584664345,
-0.001638484187424183,
-0.09230402112007141,
0.03271479532122612,
0.029092013835906982,
-0.046152010560035706,
0.03469085320830345,
-0.06428786367177963,
0.009523517452180386,
0.0035102535039186478,
0.0394553579390049,
0.055241893976926804,
-0.02448120526969433,
0.06595654040575027,
-0.02797224558889866,
-0.054978419095277786,
-0.002346572931855917,
0.028367457911372185,
0.01652206853032112,
-0.02871875837445259,
0.02700617164373398,
0.007091864477843046,
0.032231755554676056,
-0.02035343274474144,
-0.04301226884126663,
-0.022483186796307564,
-0.03486650437116623,
-0.05682274326682091,
0.012317448854446411,
0.023778604343533516,
-0.014205685816705227,
-0.037654947489500046,
-0.03873080387711525,
0.038379501551389694,
0.014743613079190254,
0.030497213825583458,
-0.022680792957544327,
0.007267514709383249,
0.004797437693923712,
-0.03906014561653137,
0.03666691482067108,
-0.026654871180653572,
-0.011790499091148376,
0.06147746369242668,
-0.058227941393852234,
-0.015358388423919678,
0.006345352623611689,
0.02224166877567768,
-0.026764653623104095,
-0.06051139160990715,
0.003093085018917918,
-0.07381687313318253,
0.02371273562312126,
0.065912626683712,
-0.0029640919528901577,
-0.0004953875904902816,
0.012328427284955978
] |
18,362 | envparse | __call__ |
Return value for given environment variable.
:param var: Name of variable.
:param default: If var not present in environ, return this instead.
:param cast: Type or callable to cast return value as.
:param subcast: Subtype or callable to cast return values as (used for
nested structures).
:param force: force to cast to type even if default is set.
:param preprocessor: callable to run on pre-casted value.
:param postprocessor: callable to run on casted value.
:returns: Value from environment or default (if set).
| def __call__(self, var, default=NOTSET, cast=None, subcast=None,
force=False, preprocessor=None, postprocessor=None):
"""
Return value for given environment variable.
:param var: Name of variable.
:param default: If var not present in environ, return this instead.
:param cast: Type or callable to cast return value as.
:param subcast: Subtype or callable to cast return values as (used for
nested structures).
:param force: force to cast to type even if default is set.
:param preprocessor: callable to run on pre-casted value.
:param postprocessor: callable to run on casted value.
:returns: Value from environment or default (if set).
"""
logger.debug("Get '%s' casted as '%s'/'%s' with default '%s'", var,
cast, subcast, default)
if var in self.schema:
params = self.schema[var]
if isinstance(params, dict):
if cast is None:
cast = params.get('cast', cast)
if subcast is None:
subcast = params.get('subcast', subcast)
if default == NOTSET:
default = params.get('default', default)
else:
if cast is None:
cast = params
# Default cast is `str` if it is not specified. Most types will be
# implicitly strings so reduces having to specify.
cast = str if cast is None else cast
try:
value = os.environ[var]
except KeyError:
if default is NOTSET:
error_msg = "Environment variable '{}' not set.".format(var)
raise ConfigurationError(error_msg)
else:
value = default
# Resolve any proxied values
if hasattr(value, 'startswith') and value.startswith('{{'):
value = self.__call__(value.lstrip('{{}}'), default, cast, subcast,
default, force, preprocessor, postprocessor)
if preprocessor:
value = preprocessor(value)
if value != default or force:
value = self.cast(value, cast, subcast)
if postprocessor:
value = postprocessor(value)
return value
| (self, var, default=<class 'envparse.NoValue'>, cast=None, subcast=None, force=False, preprocessor=None, postprocessor=None) | [
0.043516967445611954,
-0.03971158713102341,
0.01691698655486107,
-0.044571924954652786,
0.03387164697051048,
0.009786608628928661,
0.002717455616220832,
-0.055988065898418427,
0.019686248153448105,
-0.0687982514500618,
-0.0023913139011710882,
0.057758886367082596,
-0.011623363010585308,
-0.014609267935156822,
0.04144473001360893,
0.05670392885804176,
-0.012838447466492653,
0.08047813177108765,
0.08944526314735413,
-0.008543265983462334,
0.03513382747769356,
-0.055498264729976654,
-0.019610892981290817,
-0.06570874154567719,
0.036622073501348495,
-0.009584094397723675,
0.035680145025253296,
-0.026392757892608643,
-0.007883918471634388,
0.00025196513161063194,
0.010332925245165825,
-0.024000266566872597,
-0.022945310920476913,
-0.005642135161906481,
0.05753282457590103,
-0.05067560449242592,
-0.026411596685647964,
0.06578408926725388,
-0.041746146976947784,
-0.02955762855708599,
-0.04453424736857414,
-0.028483834117650986,
0.012367485091090202,
-0.01944134756922722,
-0.052785515785217285,
-0.0182262621819973,
-0.04197220876812935,
0.035585954785346985,
0.00869397446513176,
0.02778680808842182,
0.022304801270365715,
-0.03453099727630615,
0.015513516962528229,
0.021664291620254517,
-0.041934531182050705,
-0.020420949906110764,
0.009103711694478989,
0.03974926471710205,
-0.028559187427163124,
0.020910751074552536,
-0.011114723049104214,
0.03285437077283859,
-0.030800970271229744,
-0.00025755781098268926,
0.033419523388147354,
-0.020458627492189407,
-0.029783690348267555,
-0.01561712846159935,
-0.036885812878608704,
-0.022041061893105507,
-0.044571924954652786,
-0.04329090565443039,
-0.07799144834280014,
-0.029048988595604897,
0.06827077269554138,
-0.03592504560947418,
-0.037903089076280594,
-0.006480448879301548,
0.013488376513123512,
-0.017048856243491173,
0.01906457729637623,
-0.015560613013803959,
-0.05188126862049103,
-0.0022782827727496624,
0.0323457308113575,
0.01927180029451847,
-0.055535938590765,
0.046154361218214035,
0.06461610645055771,
0.040352098643779755,
-0.0007158635416999459,
-0.0070456042885780334,
0.019008060917258263,
0.11250361055135727,
-0.02786216326057911,
-0.027372362092137337,
0.062129419296979904,
-0.01719956286251545,
0.02262505516409874,
-0.029877884313464165,
0.015522935427725315,
0.029331566765904427,
-0.0020121887791901827,
-0.06397559493780136,
0.010502471588551998,
0.03225153684616089,
0.045965973287820816,
0.009786608628928661,
-0.0014800007920712233,
-0.03219502046704292,
-0.03718722611665726,
-0.04882942885160446,
-0.05199430137872696,
-0.029802529141306877,
-0.03114006482064724,
0.024848001077771187,
-0.0422736257314682,
0.0013410667888820171,
0.010003251023590565,
0.03535989299416542,
-0.049432262778282166,
0.03554827719926834,
0.02516825497150421,
0.011237173341214657,
0.022681571543216705,
0.08756141364574432,
-0.0032708370126783848,
0.002889357041567564,
0.042499687522649765,
0.07192544639110565,
0.07433677464723587,
0.021626614034175873,
-0.041482407599687576,
-0.00437289010733366,
0.02955762855708599,
0.03349487856030464,
-0.026336243376135826,
0.044571924954652786,
-0.00708328140899539,
0.024169813841581345,
0.02401910535991192,
-0.00042180612217634916,
0.00546787865459919,
-0.0454384982585907,
0.034267257899045944,
0.02908666618168354,
0.07942317426204681,
0.0018968029180541635,
-0.08612968772649765,
0.022022223100066185,
0.04479798674583435,
0.02187151461839676,
-0.04611668363213539,
0.024452392011880875,
-0.004379954654723406,
0.04001300409436226,
-0.015965640544891357,
-0.04336626082658768,
0.01731259375810623,
-0.01570190116763115,
-0.05564897134900093,
0.012650062330067158,
-0.0298213679343462,
-0.03699884191155434,
0.05067560449242592,
0.00827010814100504,
0.028973635286092758,
-0.00343802897259593,
0.06634924560785294,
0.04265039786696434,
-0.02243667095899582,
-0.032684821635484695,
-0.007031475659459829,
0.026788366958498955,
0.026995591819286346,
0.029859045520424843,
-0.013309410773217678,
-0.01374269649386406,
-0.037093035876750946,
0.0596427358686924,
0.01579609513282776,
-0.019479023292660713,
-0.032383404672145844,
-0.01524035818874836,
-0.007832112722098827,
0.08228663355112076,
0.029030149802565575,
-0.027372362092137337,
0.008500879630446434,
0.06672602146863937,
0.00009757762018125504,
0.03675394132733345,
0.03048071637749672,
0.011792910285294056,
-0.004518888425081968,
-0.04246200993657112,
0.019610892981290817,
-0.02646811306476593,
-0.038487084209918976,
0.00911784078925848,
-0.02226712368428707,
0.02899247407913208,
0.01851825974881649,
0.022097576409578323,
-0.04087957739830017,
-0.015155584551393986,
0.015664225444197655,
0.018866771832108498,
-0.04536314308643341,
-0.05384047329425812,
-0.05327531695365906,
-0.05293622612953186,
-0.015937382355332375,
0.010031509213149548,
-0.0050911083817481995,
-0.03095167875289917,
0.02712746150791645,
0.008312494494020939,
0.0024372327607125044,
0.03285437077283859,
0.08341693878173828,
-0.03564246743917465,
0.06043395400047302,
-0.0029623564332723618,
0.05757049843668938,
-0.03841172903776169,
-0.06363650411367416,
-0.04152008518576622,
0.0038312829565256834,
-0.006235548295080662,
0.012141422368586063,
-0.011048788204789162,
0.024753807112574577,
0.023774204775691032,
0.09313761442899704,
-0.0015624192310497165,
0.0630713477730751,
0.006965540815144777,
0.008976551704108715,
0.049432262778282166,
0.04566456004977226,
0.00671122083440423,
0.0064427717588841915,
-0.010596664622426033,
0.006094259209930897,
-0.00356518873013556,
0.013676761649549007,
0.0634104385972023,
-0.007535405922681093,
-0.011048788204789162,
0.028935957700014114,
0.03475705906748772,
0.0006611141143366694,
0.008190044201910496,
-0.010964015498757362,
0.049507614225149155,
-0.019667409360408783,
0.04080422222614288,
0.02720281481742859,
-0.007262247148901224,
-0.009635900147259235,
0.004078538157045841,
0.02673185244202614,
-0.014298432506620884,
-0.059152934700250626,
-0.029764853417873383,
0.007879208773374557,
-0.022022223100066185,
0.013855727389454842,
0.016031576320528984,
-0.07260363548994064,
0.04525011032819748,
-0.005905874073505402,
-0.019422508776187897,
-0.04980903118848801,
0.003028291277587414,
-0.026675336062908173,
-0.00014033220941200852,
0.034568674862384796,
-0.028408478945493698,
-0.0160880908370018,
-0.011340785771608353,
0.010766210965812206,
0.016210541129112244,
-0.05191894620656967,
-0.007412955164909363,
-0.009880800731480122,
-0.014194821007549763,
0.015221519395709038,
0.010700276121497154,
0.030800970271229744,
-0.005387815181165934,
0.020533980801701546,
0.019111672416329384,
-0.03852476179599762,
-0.01350721437484026,
-0.049055490642786026,
-0.04980903118848801,
0.052031975239515305,
-0.032402243465185165,
-0.014675202779471874,
-0.003452157834544778,
-0.019479023292660713,
0.04430818557739258,
0.015965640544891357,
0.058851517736911774,
0.05591271072626114,
-0.03385281190276146,
-0.0002790454891510308,
0.029896723106503487,
-0.0036523169837892056,
-0.007535405922681093,
-0.029859045520424843,
0.012537031434476376,
0.017444463446736336,
0.016869889572262764,
-0.018254520371556282,
-0.03415422514081001,
0.005868197418749332,
0.02654346637427807,
-0.004716692958027124,
0.02972717583179474,
0.030141623690724373,
0.017067693173885345,
0.02458426170051098,
0.011566847562789917,
-0.01579609513282776,
0.029425758868455887,
0.07448748499155045,
0.04430818557739258,
-0.07022998481988907,
0.010973434895277023,
-0.0026656498666852713,
0.027824485674500465,
0.058211009949445724,
-0.058776166290044785,
0.0078038545325398445,
0.029708337038755417,
-0.007610759697854519,
-0.02292647212743759,
-0.007874499075114727,
0.013544891960918903,
-0.01131252758204937,
-0.030047429725527763,
0.02720281481742859,
0.009612351655960083,
0.0016519022174179554,
0.04246200993657112,
0.032948561012744904,
-0.031083548441529274,
-0.024829162284731865,
-0.048113565891981125,
0.008463202975690365,
0.024527745321393013,
-0.02795635536313057,
-0.060546986758708954,
-0.020703528076410294,
-0.018847933039069176,
0.052031975239515305,
-0.04419515281915665,
0.006212000269442797,
-0.0034238998778164387,
0.009890220127999783,
0.04973367601633072,
0.032948561012744904,
-0.027447715401649475,
-0.04280110448598862,
0.005920003168284893,
0.02467845380306244,
-0.011519751511514187,
-0.0053312997333705425,
-0.009518159553408623,
0.02469729259610176,
-0.05817333236336708,
0.014486817643046379,
0.024546584114432335,
-0.019799279049038887,
-0.035020798444747925,
0.016587311401963234,
0.042047563940286636,
0.0027551327366381884,
0.05787191540002823,
-0.005246526096016169,
0.05368976667523384,
0.022097576409578323,
-0.012565288692712784,
-0.010549567639827728,
0.0026491661556065083,
0.013723857700824738,
0.020986104384064674,
-0.0441574789583683,
0.05508381500840187,
0.01201897207647562,
0.00987138133496046,
-0.024546584114432335,
-0.012028391472995281,
-0.0005315993330441415,
-0.016851050779223442,
0.005237107165157795,
0.049696002155542374,
0.0034074161667376757,
0.008580943569540977,
0.044835664331912994,
0.04189685732126236,
0.024998707696795464,
-0.014270174317061901,
0.01557945180684328,
-0.007563663646578789,
-0.020251402631402016,
0.023717690259218216,
-0.0026350372936576605,
-0.04434586316347122,
-0.03066910058259964,
-0.050449542701244354,
-0.05983112007379532,
0.030424199998378754,
-0.0006964363274164498,
0.045777589082717896,
0.06612318754196167,
-0.03554827719926834,
-0.03168638050556183,
-0.027089783921837807,
-0.027334684506058693,
0.02198454551398754,
0.019121091812849045,
0.051768235862255096,
0.013629664666950703,
0.000026418072593514808,
-0.03347603976726532,
0.010577825829386711,
0.019309477880597115,
-0.019705085083842278,
-0.0473223477602005,
-0.025469671934843063,
0.0716240331530571,
-0.0071680545806884766,
0.003819508710876107,
-0.003657026682049036,
0.022568540647625923,
-0.006814832333475351,
-0.04423283040523529,
0.026807205751538277,
0.0012150842230767012,
0.015325131826102734,
-0.048490334302186966,
-0.0017696429276838899,
-0.052710164338350296,
0.04506172612309456,
-0.04442121833562851,
-0.07576850801706314,
0.0078038545325398445,
-0.0716240331530571,
0.045702237635850906,
0.00869868416339159,
0.006795994006097317,
-0.04329090565443039,
-0.07987529784440994,
0.019893471151590347,
0.04958296939730644,
0.0432155504822731,
0.0028799378778785467,
-0.029312727972865105,
-0.02187151461839676,
-0.014298432506620884,
-0.05433027446269989,
0.033796295523643494,
0.009273258969187737,
0.045965973287820816,
-0.03319346159696579,
-0.004982787184417248,
-0.028012871742248535,
0.010869822464883327,
-0.03590620681643486,
0.04200988635420799,
-0.02168313041329384,
0.022964149713516235,
-0.013026832602918148,
-0.003647607285529375,
-0.040992606431245804,
-0.024904515594244003,
-0.03701768070459366,
0.018461743369698524,
-0.002425458747893572,
0.011849425733089447,
-0.02439587563276291,
-0.008251269347965717,
0.08017671853303909,
0.045702237635850906,
0.04453424736857414,
0.06442771852016449,
-0.004747305531054735,
0.1047421395778656,
0.017651688307523727,
-0.03291088342666626,
0.017463302239775658,
-0.0030918712727725506,
0.001799078076146543,
-0.0261855348944664,
0.0624685138463974,
-0.011538590304553509,
-0.025507347658276558,
-0.014609267935156822,
-0.006179032847285271,
0.024659615010023117,
-0.006466320250183344,
-0.02906782738864422,
-0.026053665205836296,
0.026769528165459633,
-0.01887619122862816,
-0.05263480916619301,
-0.026807205751538277,
-0.00354399555362761,
0.004789692349731922,
-0.028201255947351456,
-0.0003146620583720505,
-0.007182183675467968,
0.03283553197979927,
-0.030970517545938492,
-0.07053139805793762,
0.010822726413607597,
-0.006979669444262981,
-0.00026050134329125285,
-0.03775238245725632,
0.0014988393522799015,
0.004940400365740061,
0.010361182503402233,
0.03564246743917465,
0.02590295672416687,
-0.017086531966924667,
0.010690856724977493,
-0.025187093764543533,
-0.030047429725527763,
-0.0432155504822731,
0.06747955828905106,
0.09961806237697601,
0.024848001077771187,
-0.08733535557985306,
0.02516825497150421,
-0.04087957739830017,
0.004269278142601252,
0.001795545918866992,
-0.02590295672416687,
-0.034926604479551315,
0.04385606199502945,
0.0034898347221314907,
-0.06698975712060928,
0.007224570028483868,
0.040540482848882675,
0.012659481726586819,
-0.05527220293879509,
-0.06634924560785294,
-0.043441612273454666,
0.047548409551382065,
0.11385998129844666,
-0.021815000101923943,
-0.039221785962581635,
0.013733277097344398,
0.022512024268507957,
-0.03210083022713661,
0.014402044005692005,
0.008265398442745209,
0.025488510727882385,
0.015466419979929924,
0.05994415283203125,
-0.0275984238833189,
-0.025224771350622177,
-0.05308693274855614,
0.028973635286092758,
0.005053431261330843,
-0.05994415283203125,
-0.012075487524271011,
-0.03308043256402016,
0.01703001745045185,
0.026430435478687286,
-0.008858811110258102,
0.06284528225660324,
0.030348846688866615,
0.002374830190092325,
-0.002613843884319067,
0.04182150214910507,
-0.02955762855708599,
-0.010116281919181347,
-0.10444072633981705,
-0.017350271344184875,
-0.010022089816629887,
-0.00029420459759421647,
0.041294023394584656,
0.06585944443941116,
-0.024527745321393013,
-0.07169938832521439,
-0.08190985769033432,
0.00724811851978302,
-0.014458559453487396,
0.06359882652759552,
0.016050415113568306,
-0.06510590761899948,
-0.03215734288096428,
0.024245167151093483,
0.03411655128002167,
-0.06548267602920532,
-0.0473223477602005,
-0.02955762855708599,
0.05862545594573021,
0.007431793957948685,
0.004377599805593491,
-0.029293889179825783,
-0.00874578021466732,
0.01795310340821743,
-0.01524035818874836,
-0.023962590843439102,
-0.009409838356077671,
0.004419986624270678,
-0.003861895529553294,
0.09818633645772934,
0.034644026309251785,
-0.006367417983710766,
-0.05768353119492531,
0.013309410773217678,
-0.031027033925056458,
-0.06578408926725388,
0.01122775487601757,
0.02187151461839676,
-0.01625763811171055,
-0.014618687331676483,
0.01870664395391941,
0.029896723106503487,
0.02731584571301937,
-0.07015462964773178,
-0.02011953294277191,
-0.008227720856666565,
0.03856243938207626,
0.03948552533984184,
0.07859428226947784,
-0.010323505848646164,
-0.0332876555621624,
-0.023604659363627434,
0.045024048537015915,
0.01654021628201008,
0.009508740156888962,
-0.02469729259610176,
0.034267257899045944,
-0.005651554092764854,
0.06303367018699646,
0.012866705656051636,
0.060358598828315735,
-0.022662732750177383,
0.016219960525631905,
-0.021645452827215195,
0.0536520890891552,
0.03532221540808678,
0.014251336455345154,
-0.009777189232409,
-0.022323640063405037,
0.03543524444103241,
0.002882292727008462,
0.02140055224299431,
0.03579317778348923,
-0.008175915107131004,
0.0025526187382638454,
-0.02767377719283104,
-0.07799144834280014,
-0.0005704537616111338,
-0.09102769941091537,
-0.02187151461839676,
0.001669563353061676,
-0.061677295714616776,
-0.03449331969022751,
0.007012636866420507,
0.042311303317546844,
-0.013629664666950703,
0.09863846004009247,
-0.06348579376935959,
-0.02590295672416687,
-0.025601541623473167,
-0.04197220876812935,
-0.07362091541290283,
0.018094392493367195,
0.026204373687505722,
0.00745534198358655,
-0.019592054188251495,
-0.01906457729637623,
-0.009047196246683598,
-0.01906457729637623,
0.04442121833562851,
-0.0473223477602005,
-0.05813565477728844,
0.03827986121177673,
-0.005039302632212639,
0.0035958015359938145,
-0.03571782261133194,
0.02590295672416687,
-0.023906074464321136,
-0.016964081674814224,
0.001620112219825387,
-0.08055348694324493,
-0.09426792711019516,
0.00493569066748023,
-0.06265690177679062,
-0.03807263821363449,
0.04114331677556038,
0.013601407408714294,
-0.030838647857308388,
-0.001189181231893599,
-0.027052106335759163,
0.023397434502840042,
0.00002375051008129958,
0.016229379922151566,
-0.009409838356077671,
0.012537031434476376,
0.006824251729995012,
0.023340919986367226,
0.03494544327259064,
0.027560746297240257,
-0.04020138829946518,
0.001693111495114863,
0.005806972272694111,
-0.06589712202548981,
0.06736652553081512,
-0.06295831501483917,
0.02132519893348217,
-0.0025384898763149977,
-0.012960897758603096,
0.07380929589271545,
-0.041180990636348724,
0.12192286550998688,
-0.030819809064269066,
0.011237173341214657,
0.020609334111213684,
0.040163714438676834,
0.022982986643910408,
-0.017623430117964745,
0.027805646881461143,
0.039523202925920486,
-0.018546517938375473,
0.006965540815144777,
-0.032948561012744904,
-0.008500879630446434,
-0.03880733996629715,
-0.04152008518576622,
-0.01719014346599579,
-0.012047230266034603,
0.0028917118906974792,
-0.020251402631402016,
-0.04958296939730644,
0.04619203880429268,
-0.013657922856509686,
0.022398993372917175,
-0.01084156520664692,
0.027428876608610153,
0.01262180507183075,
-0.03076329454779625,
0.05723140761256218,
-0.01336592622101307,
-0.015683062374591827,
0.07964923977851868,
-0.046229712665081024,
-0.011133561842143536,
0.00510052777826786,
0.02507406286895275,
-0.002184090204536915,
-0.061375878751277924,
0.006414514034986496,
-0.08816424757242203,
0.009833704680204391,
0.05836171656847,
0.0040126037783920765,
0.009536998346447945,
-0.006466320250183344
] |
18,363 | envparse | __init__ | null | def __init__(self, **schema):
self.schema = schema
| (self, **schema) | [
-0.003598068142309785,
-0.015786679461598396,
0.03715098649263382,
-0.023140516132116318,
-0.02742333896458149,
-0.00771073903888464,
0.014632973819971085,
0.018857695162296295,
0.041334208101034164,
-0.012690763920545578,
-0.0525558665394783,
0.05238986387848854,
-0.023505719378590584,
0.025564128533005714,
-0.02528192661702633,
-0.0007210661424323916,
0.02106550708413124,
0.04877104610204697,
0.002664313418790698,
0.02611193247139454,
0.00042563650640659034,
0.003967420198023319,
-0.010043051093816757,
0.07509877532720566,
0.026692934334278107,
0.06859154254198074,
-0.0013674319488927722,
-0.0059096296317875385,
0.07304036617279053,
-0.0020428476855158806,
-0.015106076374650002,
0.01395237073302269,
0.04219741374254227,
0.06171911209821701,
-0.0015251326840370893,
-0.06142031028866768,
0.01592778041958809,
0.06430872529745102,
-0.03798099234700203,
0.02045130357146263,
0.04060380533337593,
0.01152045838534832,
-0.04837264493107796,
-0.023621918633580208,
0.03275196626782417,
0.024817125871777534,
0.02531512826681137,
-0.015736879780888557,
-0.05481347814202309,
-0.005847379565238953,
-0.011528758332133293,
0.027323737740516663,
0.014475272968411446,
-0.017762089148163795,
-0.04541783034801483,
0.014076870866119862,
-0.0056813787668943405,
0.09169886261224747,
0.008648643270134926,
0.039574600756168365,
-0.06972035020589828,
0.025879530236124992,
0.007391187362372875,
-0.004249621648341417,
-0.018558893352746964,
-0.04701143875718117,
-0.06972035020589828,
-0.035856179893016815,
0.01756288856267929,
0.041633009910583496,
0.013064266182482243,
-0.01574517972767353,
-0.027921341359615326,
0.0635451227426529,
0.04787464067339897,
-0.028020940721035004,
-0.06769514083862305,
-0.016375983133912086,
-0.012292361818253994,
-0.017031686380505562,
0.02006950043141842,
-0.02045130357146263,
-0.07662598788738251,
0.020086102187633514,
0.016641583293676376,
0.002631113165989518,
0.009387346915900707,
0.004801574163138866,
0.009071946144104004,
0.019505098462104797,
-0.043824221938848495,
0.017712289467453957,
-0.036951787769794464,
0.06410952657461166,
-0.0016517082694917917,
-0.015164176002144814,
-0.0116117587313056,
-0.05537787824869156,
-0.016907185316085815,
0.04169940948486328,
-0.010159251280128956,
-0.02181250974535942,
-0.026294533163309097,
0.020733503624796867,
-0.01337966788560152,
-0.04747623950242996,
0.0008398604695685208,
-0.08373082429170609,
-0.016766084358096123,
0.003832544432953,
-0.0004118895740248263,
0.04442182555794716,
0.002728638704866171,
0.07124756276607513,
-0.013620368205010891,
0.013263466767966747,
0.035457778722047806,
-0.004743474069982767,
0.027738740667700768,
-0.0013591318856924772,
-0.00384499435313046,
0.01692378520965576,
-0.021779309958219528,
0.026925336569547653,
0.1042485237121582,
0.023472517728805542,
0.005403327289968729,
-0.015471277758479118,
0.024302521720528603,
-0.010391652584075928,
0.023555519059300423,
-0.01003475021570921,
-0.03575658053159714,
-0.045185428112745285,
-0.003705968614667654,
-0.0258463304489851,
0.04538463056087494,
-0.018193691968917847,
-0.03731698915362358,
0.03193856030702591,
0.018077490851283073,
0.05919589847326279,
0.02440212294459343,
-0.07191156595945358,
-0.06454112380743027,
0.023505719378590584,
-0.0481734424829483,
-0.02509932592511177,
0.000429267791332677,
0.06410952657461166,
0.0021663110237568617,
-0.05046425387263298,
0.022659113630652428,
0.02571352943778038,
-0.04498622566461563,
-0.0023385367821902037,
-0.025680329650640488,
-0.07078275829553604,
0.03522537648677826,
-0.02541472762823105,
0.011993560008704662,
-0.0068226344883441925,
0.0013975194888189435,
-0.04169940948486328,
-0.053850673139095306,
0.03100895695388317,
0.01007625088095665,
-0.08512523025274277,
-0.029813749715685844,
-0.0046563236974179745,
0.009752549231052399,
-0.0617523118853569,
-0.037250589579343796,
0.018542293459177017,
-0.016043981537222862,
0.0674295425415039,
0.040371403098106384,
0.026775935664772987,
0.005938679911196232,
0.03446177393198013,
0.03300096467137337,
0.0014711824478581548,
0.000711728585883975,
0.01288166455924511,
0.059561099857091904,
-0.03022875264286995,
-0.022144511342048645,
0.03788138926029205,
0.04727703705430031,
0.05072985589504242,
0.0027846640441566706,
0.0015853079967200756,
-0.032619163393974304,
0.013437767513096333,
0.005677228793501854,
-0.032619163393974304,
0.025331728160381317,
0.013421167619526386,
-0.048638246953487396,
0.0661347359418869,
0.024368923157453537,
0.00020088694873265922,
-0.033930569887161255,
-0.018293291330337524,
0.04727703705430031,
0.03851219266653061,
0.015944380313158035,
-0.02352231927216053,
-0.008532443083822727,
-0.078883595764637,
0.013786369934678078,
-0.04827304184436798,
-0.016077181324362755,
-0.041633009910583496,
0.028900746256113052,
-0.07244276255369186,
-0.016533683985471725,
-0.03701818734407425,
0.005976030137389898,
0.028585344552993774,
0.12901584804058075,
-0.023671720176935196,
0.01616848073899746,
-0.045882631093263626,
0.006698133889585733,
-0.004129271022975445,
0.0313243567943573,
-0.08778124302625656,
-0.03452817350625992,
-0.03701818734407425,
-0.04900344833731651,
-0.041334208101034164,
0.011968660168349743,
0.034063372761011124,
0.013006165623664856,
0.005054725334048271,
0.016658183187246323,
-0.006893184967339039,
-0.03328316658735275,
-0.03124135732650757,
0.04651343449950218,
0.029232747852802277,
-0.007191986311227083,
-0.02304091677069664,
-0.05494627729058266,
0.019853699952363968,
0.027141137048602104,
0.031091956421732903,
-0.01020905189216137,
-0.018509093672037125,
-0.042429812252521515,
-0.04591583088040352,
0.036553382873535156,
0.04369141906499863,
0.012674164026975632,
-0.019471898674964905,
-0.01288166455924511,
-0.02309071645140648,
0.023074116557836533,
-0.04893704503774643,
-0.020750105381011963,
-0.002433987334370613,
0.004233021289110184,
0.08910924941301346,
0.018426092341542244,
-0.02843594364821911,
-0.003556567942723632,
-0.014035371132194996,
0.0004619492101483047,
0.0008507542661391199,
0.05404987186193466,
0.04648023471236229,
0.009445447474718094,
0.026792535558342934,
-0.030992357060313225,
-0.056573085486888885,
-0.016342781484127045,
-0.017463287338614464,
-0.011146956123411655,
0.005610828287899494,
0.05733668804168701,
-0.04804064333438873,
0.05404987186193466,
0.0376821905374527,
0.023904120549559593,
-0.018824495375156403,
-0.02531512826681137,
0.019704299047589302,
-0.07423557341098785,
-0.043425820767879486,
0.01972089894115925,
0.03884419426321983,
0.014923475682735443,
0.018675094470381737,
0.026078730821609497,
0.035059377551078796,
0.03150695934891701,
0.023721519857645035,
-0.00003119000029982999,
-0.022808514535427094,
0.037781789898872375,
-0.038180191069841385,
0.0473102368414402,
0.02777194045484066,
-0.013769769109785557,
-0.03293456509709358,
0.0025999881327152252,
0.002631113165989518,
0.03960780054330826,
0.031158357858657837,
-0.00473102368414402,
0.08625403791666031,
-0.0823364183306694,
0.0924292653799057,
-0.024999726563692093,
0.025431327521800995,
-0.01627638190984726,
-0.03539137914776802,
0.006195981055498123,
0.08140680938959122,
-0.034760575741529465,
-0.049036648124456406,
0.014242871664464474,
-0.06105510890483856,
-0.0661347359418869,
-0.005195826292037964,
-0.049269046634435654,
-0.02020230144262314,
-0.021480508148670197,
0.004618973471224308,
0.004913624841719866,
0.022891515865921974,
0.05813349410891533,
0.023206917569041252,
-0.040803004056215286,
-0.032785166054964066,
0.003954969812184572,
-0.05922909826040268,
-0.004847224336117506,
-0.03426257148385048,
0.0723099634051323,
-0.01948849856853485,
0.005673078820109367,
-0.02229391224682331,
0.01739688776433468,
-0.04495302587747574,
-0.029780549928545952,
-0.06812674552202225,
0.028402743861079216,
-0.0030979905277490616,
0.00037402063026092947,
-0.014209671877324581,
0.02055090293288231,
0.021746110171079636,
0.08665243536233902,
-0.016799284145236015,
-0.042429812252521515,
0.01228406187146902,
-0.03119155764579773,
-0.01769568957388401,
0.09269486367702484,
-0.029896751046180725,
-0.003722568741068244,
0.006129581015557051,
0.025862930342555046,
0.05653988569974899,
-0.011113756336271763,
-0.009993250481784344,
0.011404257267713547,
-0.0005358714261092246,
0.008997245691716671,
-0.06806034594774246,
-0.07257556915283203,
-0.0010312801459804177,
-0.003309641731902957,
0.03698498755693436,
-0.05444827303290367,
0.030809754505753517,
-0.05165946111083031,
-0.02817034162580967,
-0.008897644467651844,
-0.019654499366879463,
0.08167241513729095,
-0.0015469202771782875,
-0.05803389102220535,
-0.05179226025938988,
-0.02939874865114689,
0.029116546735167503,
0.01761268824338913,
0.05647348612546921,
-0.028718145564198494,
-0.03202155977487564,
-0.02632773295044899,
-0.04770864173769951,
0.03638738393783569,
0.009478648193180561,
0.02509932592511177,
-0.011445757932960987,
0.009578248485922813,
-0.04047100245952606,
0.0009145608637481928,
-0.12635983526706696,
0.028568744659423828,
0.04156661033630371,
0.02710793726146221,
-0.03781498968601227,
0.025514328852295876,
0.08379722386598587,
0.011943760327994823,
0.06543753296136856,
0.06347872316837311,
-0.018409492447972298,
-0.024119921028614044,
-0.022244112566113472,
0.026045531034469604,
-0.03009595163166523,
0.08678523451089859,
0.018276691436767578,
0.020567502826452255,
0.03967420011758804,
0.055211879312992096,
0.043425820767879486,
0.040238603949546814,
0.042463015764951706,
0.016500482335686684,
0.004386572167277336,
-0.017579488456249237,
-0.031955160200595856,
0.02953154966235161,
0.016766084358096123,
-0.04040460288524628,
0.04319341853260994,
-0.002969339955598116,
-0.04551742970943451,
0.007025985512882471,
0.017579488456249237,
0.012964664958417416,
-0.030212152749300003,
0.01646728254854679,
0.03328316658735275,
0.04521862789988518,
-0.036686185747385025,
0.03857859596610069,
-0.03798099234700203,
-0.01474087405949831,
-0.029282547533512115,
-0.014732574112713337,
0.04870464652776718,
0.002315711695700884,
-0.011628358624875546,
0.007822789251804352,
-0.0011454058112576604,
0.054780274629592896,
-0.03824659436941147,
-0.011877359822392464,
-0.06344552338123322,
-0.017529688775539398,
-0.046712636947631836,
0.03215436264872551,
-0.008383042179048061,
-0.006029980257153511,
-0.029846951365470886,
-0.03205476328730583,
-0.042695414274930954,
-0.01879129558801651,
0.01975409872829914,
-0.01342946756631136,
0.023754719644784927,
-0.026045531034469604,
0.002490012440830469,
0.0034445172641426325,
0.017778689041733742,
-0.014201371930539608,
-0.03758259117603302,
0.01519737672060728,
-0.016268081963062286,
0.02803754061460495,
-0.03456137329339981,
-0.03891059756278992,
-0.032220762223005295,
-0.025398127734661102,
-0.026709534227848053,
0.030959155410528183,
0.043824221938848495,
0.030328352004289627,
-0.03253616392612457,
-0.022542914375662804,
-0.0661347359418869,
-0.03190536051988602,
0.00285313930362463,
-0.01923949643969536,
0.07211076468229294,
0.04007260128855705,
0.022991115227341652,
0.06208431348204613,
-0.028020940721035004,
0.015604078769683838,
0.05043105408549309,
0.010308652184903622,
0.02953154966235161,
0.006619283463805914,
-0.020916106179356575,
-0.06839234381914139,
-0.02699173614382744,
0.021712910383939743,
-0.05962749943137169,
-0.020650504156947136,
-0.028767945244908333,
-0.03469417616724968,
-0.012557962909340858,
-0.036420583724975586,
0.018807895481586456,
0.0029195398092269897,
0.03884419426321983,
-0.014724274165928364,
0.002201586030423641,
-0.03014575131237507,
0.024236122146248817,
0.0011039056116715074,
0.03124135732650757,
0.0026954386848956347,
0.01897389627993107,
-0.0005218651494942605,
-0.022758714854717255,
-0.014483572915196419,
-0.013105765916407108,
-0.006212581414729357,
-0.06713073700666428,
0.0653047263622284,
0.0420646108686924,
0.031739361584186554,
-0.054647475481033325,
-0.028020940721035004,
0.046712636947631836,
-0.02509932592511177,
0.078883595764637,
-0.011927160434424877,
0.00994344986975193,
-0.011047355830669403,
0.01288166455924511,
0.034627772867679596,
0.04252941533923149,
0.0030751654412597418,
-0.02518232725560665,
0.005901329685002565,
0.019853699952363968,
-0.04488662630319595,
0.061320710927248,
-0.01285676471889019,
-0.029730750247836113,
-0.010881355032324791,
-0.032834965735673904,
0.007557188160717487,
0.04113500565290451,
-0.03602218255400658,
-0.005453127436339855,
0.023588718846440315,
-0.03608858212828636,
0.061221107840538025,
0.002446437254548073,
0.005444827489554882,
-0.024949925020337105,
-0.0022908116225153208,
0.042562615126371384,
-0.005561028141528368,
0.01519737672060728,
0.016873985528945923,
-0.00428282143548131,
-0.047376640141010284,
0.03658658266067505,
-0.021829109638929367,
-0.007283286657184362,
-0.013869370333850384,
0.05029825493693352,
0.01726408675312996,
-0.008067640475928783,
-0.022360311821103096,
0.05926229804754257,
-0.043392617255449295,
-0.05906309932470322,
0.014093470759689808,
0.008208741433918476,
-0.021530307829380035,
-0.01729728654026985,
-0.04648023471236229,
0.02571352943778038,
-0.023356318473815918,
0.011072255671024323,
0.007897489704191685,
-0.0013093316229060292,
-0.00286973943002522,
-0.022808514535427094,
-0.06859154254198074,
-0.011271457187831402,
-0.0022057360038161278,
0.007719038985669613,
-0.0031892911065369844,
-0.09342527389526367,
0.014608073979616165,
-0.025049526244401932,
-0.06779474020004272,
0.06142031028866768,
-0.025912730023264885,
0.01897389627993107,
0.017031686380505562,
-0.01209316123276949,
-0.009329247288405895,
0.08326601982116699,
0.0014535448281094432,
0.007055035792291164,
-0.02247651293873787,
-0.016641583293676376,
0.0026663884054869413,
0.014118371531367302,
0.0014068570453673601,
-0.029199548065662384,
-0.03499297797679901,
0.011146956123411655,
0.025813130661845207,
-0.050530653446912766,
-0.004560872912406921,
0.017247486859560013,
0.06188511103391647,
0.03622138127684593,
-0.06560353189706802,
0.04910304769873619,
-0.013620368205010891,
-0.08764844387769699,
-0.0016911334823817015,
-0.06972035020589828,
0.035324979573488235,
-0.04445502534508705,
-0.0026124382857233286,
-0.056705884635448456,
0.07091555744409561,
-0.018691694363951683,
-0.005183375906199217,
-0.0328681655228138,
0.014076870866119862,
0.04495302587747574,
-0.025215527042746544,
0.01240026205778122,
0.010814954526722431,
-0.004548422992229462,
-0.008806344121694565,
0.016641583293676376,
-0.019023695960640907,
-0.047642238438129425,
0.012690763920545578,
0.00573947886005044,
-0.031158357858657837,
0.025862930342555046,
-0.03904339671134949,
0.035723380744457245,
0.06606833636760712,
0.03495977446436882,
-0.04166620969772339,
-0.012707363814115524,
0.05932869762182236,
-0.04707783833146095,
-0.019853699952363968,
-0.0221279114484787,
0.017147885635495186,
-0.02926594763994217,
-0.0013311192160472274,
0.030278552323579788,
-0.024385523051023483,
-0.06211751326918602,
0.0019567348062992096,
0.09302686899900436,
-0.026792535558342934,
0.05610828101634979,
0.017048286274075508,
-0.0072625367902219296,
0.0032556913793087006,
-0.039840199053287506,
-0.0300129521638155,
-0.011138656176626682,
0.039973001927137375,
-0.022924715653061867,
0.023505719378590584,
-0.0221279114484787,
0.019256096333265305,
-0.005942829884588718,
-0.029099946841597557,
0.03917619585990906,
-0.025829730555415154,
0.03562378138303757,
0.024236122146248817,
-0.0429278165102005,
-0.023107316344976425,
-0.06786113977432251,
0.006693983916193247,
0.016533683985471725,
-0.022044911980628967,
-0.028668344020843506,
-0.04219741374254227,
-0.09382367134094238,
0.042695414274930954,
0.03336616978049278,
0.028020940721035004,
0.04169940948486328,
-0.03084295615553856,
0.0499330535531044,
0.008814644068479538,
0.03150695934891701,
0.030992357060313225,
-0.009511847980320454,
0.027224136516451836,
0.003973645158112049,
0.01198526006191969,
0.060391105711460114,
0.02675933577120304,
-0.06450792402029037,
0.0718451589345932,
0.03258596360683441,
0.01739688776433468,
0.02242671325802803,
-0.017944689840078354,
-0.0473102368414402,
0.017031686380505562,
-0.042994216084480286,
-0.013006165623664856,
0.015305276960134506,
0.024285921826958656,
-0.0345945730805397,
-0.06649993360042572,
-0.018276691436767578,
0.0403050035238266,
-0.020384902134537697,
0.03346576914191246,
-0.015454677864909172,
-0.02541472762823105,
0.03071015514433384,
0.02699173614382744,
-0.03814699128270149,
0.0359225794672966,
0.0042869714088737965,
0.06713073700666428,
0.05932869762182236,
-0.05019865185022354,
0.049999453127384186,
-0.0273735374212265,
0.03993980213999748,
0.010665553621947765,
-0.010956055484712124,
0.03361516818404198,
0.02164650894701481,
0.005320326890796423,
-0.01292316522449255,
-0.023688320070505142,
0.027091337367892265,
0.0005586965708062053,
0.02873474545776844,
-0.03891059756278992,
-0.026095330715179443,
0.027273938059806824,
0.029813749715685844,
-0.005876429844647646,
-0.054348673671483994,
-0.033930569887161255,
-0.007241786457598209,
0.02010270208120346,
-0.007387037388980389,
0.06769514083862305,
0.006855834741145372,
0.07529798150062561,
0.016699684783816338
] |
18,364 | envparse | method | null | def shortcut(cast):
def method(self, var, **kwargs):
return self.__call__(var, cast=cast, **kwargs)
return method
| (self, var, **kwargs) | [
-0.006631696596741676,
-0.0327174998819828,
0.08880706131458282,
-0.013950307853519917,
-0.03319240361452103,
-0.007208365481346846,
-0.019691558554768562,
0.01797851175069809,
0.08249762654304504,
-0.02700169011950493,
-0.0025992519222199917,
0.04206293448805809,
0.06584206223487854,
0.0032564850989729166,
-0.027256103232502937,
0.04603177309036255,
-0.05566554516553879,
0.060685958713293076,
-0.021642057225108147,
0.034311819821596146,
0.00015198520850390196,
-0.007411895785480738,
0.02866385318338871,
-0.04436961188912392,
0.0376870334148407,
0.10916009545326233,
0.024287952110171318,
0.022066079080104828,
0.007772314362227917,
-0.007869838736951351,
0.027069533243775368,
-0.004182972013950348,
0.000548047770280391,
0.05040767788887024,
0.024695012718439102,
0.007445817813277245,
-0.05264651030302048,
0.05441043898463249,
-0.07191404700279236,
-0.009727053344249725,
-0.05627613514661789,
-0.015739677473902702,
0.03663545846939087,
0.017384881153702736,
-0.050068460404872894,
-0.08168350160121918,
0.0008692441042512655,
-0.01686757616698742,
0.010524214245378971,
0.016087375581264496,
-0.017189832404255867,
-0.005512279458343983,
0.038942135870456696,
-0.020929701626300812,
-0.055190637707710266,
0.022456178441643715,
0.011024558916687965,
0.07740936428308487,
-0.017944591119885445,
0.04355549067258835,
-0.0057878936640918255,
0.041282735764980316,
-0.0007187164737842977,
-0.02235441468656063,
0.02829071506857872,
-0.03812801465392113,
-0.08317606151103973,
-0.0030359940137714148,
0.0006620035856030881,
0.020794015377759933,
-0.01926753669977188,
0.01495099812746048,
0.01853821985423565,
0.04949178919196129,
0.024237070232629776,
-0.03792448341846466,
-0.00985425990074873,
-0.007280449382960796,
0.023372065275907516,
-0.027340907603502274,
0.0014384929090738297,
-0.0228632390499115,
-0.029868075624108315,
0.028341596946120262,
-0.03241220489144325,
-0.025220800191164017,
-0.05305357277393341,
0.0008475129725411534,
-0.03331112861633301,
0.016206102445721626,
-0.027408750727772713,
-0.0197763629257679,
-0.031954262405633926,
0.031275827437639236,
-0.0525108240544796,
-0.012966577894985676,
0.042164698243141174,
-0.019674597308039665,
-0.000894685392268002,
0.02186254970729351,
-0.003019033232703805,
0.07517053186893463,
0.027849731966853142,
-0.06584206223487854,
0.02922356314957142,
-0.013399079442024231,
0.04528549686074257,
-0.006830986589193344,
-0.04687981680035591,
0.058277517557144165,
-0.022642748430371284,
-0.016511397436261177,
-0.04440353065729141,
-0.009701612405478954,
-0.03361642360687256,
0.007437337189912796,
-0.03446446731686592,
-0.024237070232629776,
-0.04331803694367409,
0.03470192104578018,
-0.011245050467550755,
0.029427092522382736,
-0.00012309874000493437,
-0.011126324534416199,
0.005088258069008589,
0.04328411445021629,
0.005698848981410265,
0.00861611682921648,
0.016825173050165176,
0.028239833191037178,
0.0025759306736290455,
0.010193477384746075,
-0.008132732473313808,
0.036838989704847336,
0.0005888598971068859,
0.05936301127076149,
-0.020217346027493477,
0.022778434678912163,
-0.026798158884048462,
0.042469993233680725,
-0.0023490791209042072,
0.04888119921088219,
0.03588918223977089,
-0.0009885001927614212,
-0.012271182611584663,
-0.0028727457392960787,
0.009158864617347717,
0.036160554736852646,
-0.04192724823951721,
0.009014696814119816,
-0.03331112861633301,
0.0012317824875935912,
0.04331803694367409,
0.07462778687477112,
0.009192786179482937,
0.05824359506368637,
-0.03287014737725258,
-0.000047437406465178356,
0.03136062994599342,
-0.026577668264508247,
-0.02415226586163044,
0.017079586163163185,
-0.01705414429306984,
-0.025492172688245773,
0.042843133211135864,
0.007386454846709967,
0.011245050467550755,
0.017452726140618324,
0.027103453874588013,
0.039620570838451385,
-0.007009075488895178,
-0.04328411445021629,
-0.010685342364013195,
0.022066079080104828,
0.031598083674907684,
0.005283307749778032,
-0.004358941223472357,
-0.0026861762162297964,
0.003555420320481062,
0.047151193022727966,
0.046167463064193726,
-0.05274827405810356,
-0.0284264013171196,
0.0031250384636223316,
0.03595702350139618,
0.03244612738490105,
0.015527667477726936,
-0.03310760110616684,
-0.04782962426543236,
-0.001036732573993504,
0.04599785432219505,
0.05671711638569832,
-0.008717882446944714,
-0.03383691608905792,
-0.03538035601377487,
-0.06879325211048126,
-0.014755948446691036,
0.022761475294828415,
-0.03361642360687256,
0.014323446899652481,
0.001686545554548502,
0.08019094914197922,
0.02235441468656063,
0.030342979356646538,
0.005775172729045153,
0.0017109267646446824,
0.03163200616836548,
0.039077822118997574,
-0.03032601810991764,
-0.07557759433984756,
0.005474117584526539,
-0.026017960160970688,
0.01587536558508873,
0.004672716837376356,
-0.019114889204502106,
-0.02415226586163044,
0.05966830626130104,
-0.016341788694262505,
0.033022794872522354,
0.026340216398239136,
0.025797467678785324,
-0.028460323810577393,
-0.07123561203479767,
-0.013941827230155468,
0.03181857243180275,
-0.031292788684368134,
-0.02544129081070423,
-0.013119225390255451,
0.018249886110424995,
-0.0592951662838459,
0.02235441468656063,
-0.03748350217938423,
0.04236822947859764,
0.019369302317500114,
-0.0030105526093393564,
-0.01791066862642765,
0.020471759140491486,
0.02111627161502838,
-0.018690867349505424,
0.014323446899652481,
0.023151574656367302,
0.03711036220192909,
-0.0021985515486449003,
0.05702241137623787,
-0.004914409480988979,
0.0029405890963971615,
0.02946101501584053,
0.06770775467157364,
-0.0166725255548954,
0.005478357896208763,
0.009752494283020496,
0.007712951395660639,
-0.020844897255301476,
0.020709211006760597,
-0.020777054131031036,
0.05468181520700455,
-0.04626922681927681,
0.004032444674521685,
-0.019182732328772545,
-0.006101669277995825,
-0.036228395998477936,
0.027883654460310936,
0.06380675733089447,
-0.010371565818786621,
-0.03373515233397484,
-0.009803377091884613,
-0.035617806017398834,
-0.007645107805728912,
0.0036338642239570618,
0.037653110921382904,
-0.00008222042379202321,
-0.010990637354552746,
0.02606884203851223,
0.0488133542239666,
-0.04854198172688484,
-0.0025017268490046263,
-0.0299698393791914,
-0.009710092097520828,
-0.00845922902226448,
-0.0932847335934639,
0.010201957076787949,
0.039756257086992264,
-0.006860667839646339,
0.006860667839646339,
-0.0599396787583828,
0.009201266802847385,
0.07232110947370529,
0.05997360125184059,
0.00430805841460824,
-0.01417927909642458,
0.061805374920368195,
0.0019271777709946036,
0.056310057640075684,
0.045183733105659485,
0.007929202169179916,
0.04949178919196129,
-0.03490545228123665,
-0.011194167658686638,
0.032208673655986786,
-0.07544190436601639,
-0.02433883398771286,
-0.06027889624238014,
-0.04162194952368736,
0.03514290228486061,
0.01611281745135784,
0.031954262405633926,
-0.024966387078166008,
-0.007327091880142689,
-0.017384881153702736,
0.026645511388778687,
0.0023087970912456512,
0.017571451142430305,
-0.06628303974866867,
-0.015722718089818954,
0.017639294266700745,
0.06567244976758957,
-0.0302751362323761,
0.037585265934467316,
0.023456869646906853,
0.0630265548825264,
0.00444798544049263,
0.0016897256718948483,
0.03782271966338158,
0.04097743704915047,
-0.03531251102685928,
0.009760974906384945,
-0.059261247515678406,
0.0031123177614063025,
0.020098619163036346,
0.027527475729584694,
-0.02391481213271618,
0.03205602616071701,
0.04460706189274788,
-0.032836224883794785,
-0.03571957349777222,
-0.006288238801062107,
0.040434692054986954,
0.05220552906394005,
0.01294113602489233,
0.005253626499325037,
0.0228632390499115,
0.02452540397644043,
0.012551036663353443,
0.0017109267646446824,
0.012534075416624546,
0.06801304966211319,
-0.05607260391116142,
0.05539416894316673,
0.07191404700279236,
0.005147621035575867,
0.005283307749778032,
-0.1087530329823494,
0.005037375725805759,
-0.010702302679419518,
-0.0033264486119151115,
-0.02267667092382908,
-0.0015391980996355414,
-0.014001189731061459,
-0.012271182611584663,
-0.07774858176708221,
-0.011507943272590637,
0.013560207560658455,
0.02835855819284916,
-0.025475211441516876,
0.07578112185001373,
0.014493054710328579,
-0.006211915053427219,
-0.017503608018159866,
-0.008751804009079933,
0.0038140735123306513,
-0.0022621548268944025,
-0.024050500243902206,
-0.04233430698513985,
-0.024508442729711533,
-0.06465479731559753,
0.03114013932645321,
0.01809723861515522,
-0.010049309581518173,
-0.006869148463010788,
0.06170361116528511,
0.052103761583566666,
-0.026662472635507584,
0.00335189001634717,
0.040434692054986954,
0.08534704893827438,
-0.03385387733578682,
-0.02866385318338871,
0.03358250483870506,
-0.004579432308673859,
0.036533694714307785,
-0.015018842183053493,
0.005482598207890987,
-0.019657637923955917,
-0.014628741890192032,
-0.02174382284283638,
-0.023134613409638405,
-0.011796277947723866,
0.0020056217908859253,
-0.009828818961977959,
0.034311819821596146,
-0.003688987111672759,
-0.007666308898478746,
0.024186186492443085,
0.036601535975933075,
0.029308367520570755,
0.056377898901700974,
-0.0026882963720709085,
-0.021540293470025063,
-0.01491707656532526,
-0.031479354947805405,
0.010617498308420181,
-0.02890130504965782,
-0.049763165414333344,
-0.003862835932523012,
0.034735843539237976,
0.037653110921382904,
-0.002571690361946821,
0.019047046080231667,
-0.013220991007983685,
-0.030054643750190735,
0.023490792140364647,
-0.024796778336167336,
-0.02260882593691349,
0.03144543617963791,
0.05268043279647827,
0.005995664279907942,
0.039756257086992264,
0.022524021565914154,
-0.0206922497600317,
0.05386769399046898,
-0.011974367313086987,
-0.022524021565914154,
-0.01618066057562828,
-0.029291406273841858,
0.06472264230251312,
-0.04131665453314781,
-0.07082854956388474,
-0.042843133211135864,
-0.00652993144467473,
0.03738173469901085,
-0.01685909554362297,
0.030563469976186752,
0.025288643315434456,
-0.04552295058965683,
-0.053901612758636475,
-0.050814736634492874,
0.008577954955399036,
0.05101826786994934,
-0.035855259746313095,
-0.10088320076465607,
0.047660019248723984,
0.007958883419632912,
0.08310821652412415,
-0.008429547771811485,
0.04799923300743103,
-0.028816502541303635,
-0.07896976917982101,
-0.030750039964914322,
0.028375519439578056,
0.022948043420910835,
-0.03453231230378151,
-0.02971542812883854,
-0.044878438115119934,
-0.0525108240544796,
-0.09857652336359024,
0.05892203003168106,
-0.003190761897712946,
0.005296028684824705,
-0.03680506721138954,
0.004096047952771187,
0.009676170535385609,
-0.043080586940050125,
-0.026153646409511566,
-0.005296028684824705,
0.02735786698758602,
0.06713108718395233,
-0.04620138183236122,
-0.01340756006538868,
-0.03058043122291565,
-0.005580123048275709,
-0.04989885166287422,
0.0018529739463701844,
-0.01523085217922926,
0.05603868141770363,
-0.06645265221595764,
0.04114704579114914,
0.0333450511097908,
0.06187321990728378,
0.015349578112363815,
0.03510897979140282,
-0.019878128543496132,
0.13107353448867798,
0.03290406987071037,
-0.03139455243945122,
0.01244927104562521,
0.019725481048226357,
-0.05888810753822327,
-0.00023042918473947793,
-0.03948488458991051,
-0.0401633158326149,
-0.01711350865662098,
-0.002438123570755124,
-0.03568565100431442,
0.036533694714307785,
0.026408059522509575,
0.02284627966582775,
-0.026526786386966705,
0.03738173469901085,
-0.05274827405810356,
-0.005821815226227045,
-0.014128396287560463,
0.02001381479203701,
-0.033769071102142334,
0.01568031497299671,
0.039925865828990936,
-0.0228632390499115,
-0.0163587499409914,
-0.03985802084207535,
-0.05824359506368637,
-0.03694075345993042,
-0.00025865313364192843,
0.0025526094250380993,
-0.06614735722541809,
-0.03183553367853165,
-0.0005202213651500642,
-0.044878438115119934,
0.06506185978651047,
0.025984037667512894,
0.0053469110280275345,
-0.026238450780510902,
0.017435764893889427,
-0.013560207560658455,
-0.024355795234441757,
0.0037441099993884563,
0.027849731966853142,
0.029562778770923615,
-0.0729316994547844,
0.016341788694262505,
-0.004715119022876024,
0.012610400095582008,
-0.01765625551342964,
-0.007852878421545029,
-0.03877252712845802,
0.02076009288430214,
0.021167153492569923,
-0.009014696814119816,
-0.03904389962553978,
-0.03897605836391449,
-0.013534766621887684,
-0.0014098715037107468,
-0.06638480722904205,
-0.04979708418250084,
-0.01569727621972561,
0.12021857500076294,
0.006797064561396837,
-0.015968650579452515,
-0.01038004644215107,
-0.004999213386327028,
-0.045862168073654175,
0.007734152488410473,
-0.023083731532096863,
0.01445065252482891,
0.045183733105659485,
0.017130468040704727,
-0.08982471376657486,
-0.00032543650013394654,
0.05268043279647827,
0.050373755395412445,
-0.021455489099025726,
-0.09810161590576172,
0.014374328777194023,
0.023745205253362656,
0.014221681281924248,
0.026798158884048462,
0.0067928247153759,
0.0802587941288948,
0.01753752864897251,
-0.05837928131222725,
-0.027697084471583366,
-0.013195549137890339,
-0.04708334803581238,
0.0049822526052594185,
-0.09606631100177765,
-0.017571451142430305,
-0.03002072311937809,
-0.0039497604593634605,
-0.011066961102187634,
0.012796969152987003,
-0.05220552906394005,
-0.062348123639822006,
0.015527667477726936,
-0.004715119022876024,
-0.01143161952495575,
0.012890254147350788,
0.015188449993729591,
-0.07645955681800842,
-0.026849042624235153,
0.022642748430371284,
-0.006267037708312273,
-0.026798158884048462,
-0.05169670283794403,
-0.0017819503555074334,
-0.030563469976186752,
0.005372352432459593,
0.021099310368299484,
-0.017003262415528297,
-0.02978327125310898,
0.008014006540179253,
-0.045862168073654175,
-0.015222372487187386,
-0.017452726140618324,
0.017333999276161194,
0.03058043122291565,
0.056377898901700974,
0.037212125957012177,
-0.015434382483363152,
-0.052782196551561356,
-0.002165689831599593,
-0.005198503844439983,
0.025543056428432465,
-0.07679877430200577,
-0.022032158449292183,
0.00481688417494297,
0.01132985483855009,
0.023134613409638405,
-0.0006572333513759077,
0.02031910978257656,
-0.018809594213962555,
0.025543056428432465,
-0.05318925902247429,
-0.013721335679292679,
-0.005940541159361601,
0.09749102592468262,
-0.01872478984296322,
-0.023575596511363983,
-0.03541427478194237,
0.0051391408778727055,
0.04460706189274788,
-0.0036720263306051493,
0.011041520163416862,
0.05505495145916939,
0.0021815907675772905,
0.018555181100964546,
-0.0029533097986131907,
0.0364658497273922,
-0.0592951662838459,
-0.00012674268509726971,
-0.015799041837453842,
-0.014484575018286705,
-0.011211128905415535,
-0.004426784347742796,
0.04745648801326752,
-0.0729316994547844,
0.05922732502222061,
0.06831834465265274,
0.004060005769133568,
0.029393170028924942,
-0.012796969152987003,
0.04565863683819771,
-0.016706448048353195,
-0.028629932552576065,
0.031174061819911003,
-0.06404420733451843,
0.00039566506166011095,
-0.02508511207997799,
-0.03880644962191582,
-0.07951251417398453,
-0.03541427478194237,
0.03081788308918476,
-0.022405296564102173,
0.05332494527101517,
0.02847728505730629,
-0.0630265548825264,
-0.035855259746313095,
-0.030597392469644547,
-0.02235441468656063,
0.04101135954260826,
-0.028511205688118935,
0.03836546465754509,
0.007115080952644348,
-0.06662225723266602,
-0.03263269364833832,
-0.02978327125310898,
0.003606302896514535,
-0.054444361478090286,
-0.03985802084207535,
-0.003305247751995921,
0.008480430580675602,
0.0052409060299396515,
-0.07849486172199249,
0.05515671893954277,
-0.034498389810323715,
-0.03599094599485397,
0.012262701988220215,
-0.014484575018286705,
-0.039247430860996246,
-0.03183553367853165,
-0.06892893463373184,
-0.01160970889031887,
0.029800230637192726,
0.06699539721012115,
-0.0482027642428875,
-0.004235974978655577,
-0.005580123048275709,
0.03941703960299492,
-0.017622333019971848,
0.026357177644968033,
0.01655380055308342,
0.07123561203479767,
0.031292788684368134,
0.020658327266573906,
0.006139831617474556,
0.026526786386966705,
-0.0006927451468072832,
0.0488133542239666,
-0.0031759210396558046,
0.008654278703033924,
0.02896915003657341,
-0.030054643750190735,
0.026238450780510902,
0.014230161905288696,
-0.06146615743637085,
0.06567244976758957,
0.008938373066484928,
0.07394935190677643,
-0.010821028612554073,
-0.0025144475512206554,
0.031174061819911003,
0.007984325289726257,
-0.0015900806756690145,
0.003303127596154809,
0.013288834132254124,
-0.0014077513478696346,
-0.03534643352031708,
-0.006746182218194008,
-0.024813737720251083,
-0.016943899914622307,
0.025119034573435783,
-0.01333971694111824,
-0.027747968211770058,
-0.09009608626365662,
-0.008103051222860813,
0.00107701460365206,
-0.0031038373708724976,
0.03714428469538689,
-0.0026225729379802942,
0.047592174261808395,
-0.017774982377886772,
0.04813492298126221,
-0.01940322481095791,
0.03514290228486061,
0.04606569558382034,
0.011219609528779984,
0.0284264013171196,
0.1185903325676918,
-0.027340907603502274,
0.022133922204375267,
0.013568688184022903,
0.006148311775177717,
-0.016163699328899384,
-0.06102517619729042,
-0.00882812775671482,
-0.006576573476195335,
-0.01865694671869278,
-0.018792632967233658,
-0.003958240617066622,
0.03785663843154907,
0.0413844995200634
] |
18,370 | envparse | read_envfile |
Read a .env file (line delimited KEY=VALUE) into os.environ.
If not given a path to the file, recurses up the directory tree until
found.
Uses code from Honcho (github.com/nickstenning/honcho) for parsing the
file.
| @staticmethod
def read_envfile(path=None, **overrides):
"""
Read a .env file (line delimited KEY=VALUE) into os.environ.
If not given a path to the file, recurses up the directory tree until
found.
Uses code from Honcho (github.com/nickstenning/honcho) for parsing the
file.
"""
if path is None:
frame = inspect.currentframe().f_back
caller_dir = os.path.dirname(frame.f_code.co_filename)
path = os.path.join(os.path.abspath(caller_dir), '.env')
try:
with open(path, 'r') as f:
content = f.read()
except getattr(__builtins__, 'FileNotFoundError', IOError):
logger.debug('envfile not found at %s, looking in parent dir.',
path)
filedir, filename = os.path.split(path)
pardir = os.path.abspath(os.path.join(filedir, os.pardir))
path = os.path.join(pardir, filename)
if filedir != pardir:
Env.read_envfile(path, **overrides)
else:
# Reached top level directory.
warnings.warn('Could not any envfile.')
return
logger.debug('Reading environment variables from: %s', path)
for line in content.splitlines():
tokens = list(shlex.shlex(line, posix=True))
# parses the assignment statement
if len(tokens) < 3:
continue
name, op = tokens[:2]
value = ''.join(tokens[2:])
if op != '=':
continue
if not re.match(r'[A-Za-z_][A-Za-z_0-9]*', name):
continue
value = value.replace(r'\n', '\n').replace(r'\t', '\t')
os.environ.setdefault(name, value)
for name, value in overrides.items():
os.environ.setdefault(name, value)
| (path=None, **overrides) | [
0.007463655900210142,
-0.050484612584114075,
-0.03498799726366997,
-0.009900079108774662,
-0.003008137922734022,
-0.03095463290810585,
0.016760660335421562,
0.016538728028535843,
-0.003534019459038973,
-0.03394588455557823,
-0.0016114163445308805,
0.012572906911373138,
-0.03462132811546326,
0.06464963406324387,
0.02138262614607811,
0.0037969599943608046,
0.048593368381261826,
0.07576551288366318,
0.04006347805261612,
-0.024663353338837624,
0.029024792835116386,
-0.041645944118499756,
-0.0185843575745821,
-0.013769407756626606,
-0.02344755455851555,
0.01141500286757946,
-0.0013303833547979593,
-0.013074665330350399,
0.0688180923461914,
-0.0069618974812328815,
-0.009518935345113277,
-0.016799256205558777,
-0.03778626397252083,
0.022135263308882713,
0.07669183611869812,
-0.06638649106025696,
-0.02130543254315853,
-0.024045804515480995,
-0.06754440069198608,
-0.048516176640987396,
-0.018256286159157753,
0.00017609789210837334,
0.041723139584064484,
-0.011974656954407692,
-0.022887902334332466,
-0.010700962506234646,
-0.003582265228033066,
-0.05268463119864464,
0.06175487861037254,
-0.02037910930812359,
0.08715157210826874,
-0.018005406484007835,
0.020359810441732407,
0.02157561108469963,
0.009094370529055595,
0.02020542323589325,
0.009581655263900757,
-0.017416805028915405,
-0.057432036846876144,
-0.0013400325551629066,
-0.020166827365756035,
-0.009948324412107468,
-0.006990845315158367,
0.020591391250491142,
-0.035142384469509125,
-0.0188545361161232,
-0.03844241052865982,
-0.02842654287815094,
-0.015255384147167206,
-0.06017240881919861,
-0.024605458602309227,
-0.02518441155552864,
-0.04122138023376465,
-0.07688482105731964,
0.01789926551282406,
0.021363327279686928,
-0.08746034651994705,
0.07680762559175491,
0.010228151455521584,
-0.02599494345486164,
-0.04538983479142189,
0.002312189433723688,
0.020996658131480217,
-0.006378120742738247,
0.04465649649500847,
0.04295823723077774,
0.0026173454243689775,
0.03383009508252144,
0.07719359546899796,
0.04145296290516853,
0.02047560177743435,
0.043344203382730484,
-0.022675618529319763,
0.08336908370256424,
0.08174801617860794,
-0.04608457535505295,
0.04519684985280037,
0.044077545404434204,
-0.049133725464344025,
-0.002935769036412239,
-0.03141779452562332,
0.03888627514243126,
-0.011723777279257774,
-0.03728450834751129,
-0.028175663203001022,
0.007849623449146748,
0.04681791737675667,
0.012331676669418812,
0.040217865258455276,
-0.058242566883563995,
-0.1243588849902153,
-0.05241445079445839,
-0.007386462297290564,
-0.04153015464544296,
-0.0034954226575791836,
-0.006754439789801836,
-0.016403639689087868,
0.02707565389573574,
0.036126602441072464,
-0.014753625728189945,
-0.0072320750914514065,
0.09610603004693985,
-0.011019386351108551,
0.06557595729827881,
0.05700747296214104,
0.006542157381772995,
-0.03319324553012848,
-0.0056882030330598354,
0.02663179114460945,
-0.003714941907674074,
0.01367291621863842,
-0.011974656954407692,
-0.006416717544198036,
-0.03732310235500336,
0.02987392246723175,
0.023679135367274284,
-0.018651902675628662,
0.055000439286231995,
0.01371151302009821,
0.0014401429798454046,
0.06634789705276489,
-0.05519342049956322,
0.020900165662169456,
-0.057895198464393616,
-0.022887902334332466,
0.026380911469459534,
0.061600491404533386,
0.0070921615697443485,
-0.05762501806020737,
0.02861952595412731,
0.0218264888972044,
-0.0020794025622308254,
-0.06102153658866882,
-0.014097481034696102,
0.07588130235671997,
0.0002296207967447117,
-0.024393176659941673,
0.004515825305134058,
-0.012100095860660076,
0.012389572337269783,
-0.06252681463956833,
0.01782207190990448,
-0.016036970540881157,
-0.03309675306081772,
0.03898276761174202,
0.06314436346292496,
-0.011617636308073997,
-0.04627756029367447,
0.01912471279501915,
-0.032073941081762314,
-0.04357578605413437,
-0.02292649820446968,
-0.019153662025928497,
0.003039497882127762,
-0.013354492373764515,
-0.011733426712453365,
-0.00629610288888216,
-0.023601941764354706,
-0.024393176659941673,
0.029217775911092758,
-0.030800245702266693,
-0.042379286140203476,
0.013508879579603672,
-0.010035167448222637,
0.04824599623680115,
0.07534094899892807,
0.027635307982563972,
-0.01677030883729458,
-0.002327869413420558,
0.04531264305114746,
-0.01995454542338848,
0.011019386351108551,
0.029545849189162254,
0.017802773043513298,
0.03404237702488899,
-0.007849623449146748,
0.004887319635599852,
-0.027191445231437683,
-0.01298782229423523,
-0.02861952595412731,
-0.01850716397166252,
0.02039840817451477,
0.017474699765443802,
0.004684686195105314,
-0.027326533570885658,
0.03792135417461395,
-0.006686895154416561,
-0.06125311926007271,
-0.02157561108469963,
0.0575864240527153,
-0.06920406222343445,
-0.08900421857833862,
0.0009329569875262678,
-0.0010035167215391994,
0.010778156109154224,
-0.006875054910778999,
0.03197744861245155,
0.04500386863946915,
0.008525067940354347,
0.06499700993299484,
0.07105670869350433,
0.005147847812622786,
0.01620100624859333,
0.004786002915352583,
0.032421309500932693,
-0.04793722182512283,
-0.02941076084971428,
-0.01731066405773163,
-0.011212370358407497,
0.018748395144939423,
-0.01678960770368576,
-0.020803675055503845,
-0.02238614298403263,
-0.022308949381113052,
0.07256197929382324,
-0.014715028926730156,
0.03211253508925438,
-0.01037288922816515,
0.021093150600790977,
-0.01828523352742195,
-0.02499142661690712,
-0.014975558035075665,
0.02140192501246929,
0.0661163181066513,
0.009118493646383286,
-0.03736170008778572,
0.07279355823993683,
0.010218502022325993,
-0.023679135367274284,
-0.016036970540881157,
0.05503903329372406,
0.03338623046875,
-0.017715930938720703,
0.0231773778796196,
-0.013894847594201565,
0.03967750817537308,
0.025570379570126534,
0.030259890481829643,
0.04114418849349022,
-0.02329316735267639,
0.0619092658162117,
-0.024431772530078888,
0.03520027920603752,
-0.05052321031689644,
0.015139593742787838,
0.02726863883435726,
0.059246085584163666,
-0.05712326243519783,
-0.00043572168215177953,
-0.04322841390967369,
0.0856848955154419,
0.08861824870109558,
-0.020880868658423424,
0.02391071617603302,
-0.025840556249022484,
0.013566774316132069,
0.02896689623594284,
-0.007082512602210045,
0.020166827365756035,
0.028194962069392204,
-0.01352817751467228,
0.007116284687072039,
0.00570750143378973,
0.0737970769405365,
0.006899177562445402,
-0.024740546941757202,
-0.0835234746336937,
-0.10336222499608994,
0.01457029115408659,
0.045621417462825775,
0.019597524777054787,
-0.007429883815348148,
0.03464062511920929,
-0.01294922549277544,
0.008119801059365273,
-0.009359723888337612,
-0.04990566149353981,
-0.016799256205558777,
0.045081060379743576,
-0.016036970540881157,
0.05415130779147148,
-0.0031046299263834953,
-0.046238962560892105,
0.018343128263950348,
0.004501351621001959,
0.010295695625245571,
0.022347547113895416,
-0.03215113282203674,
-0.03197744861245155,
-0.008206644095480442,
-0.007622867822647095,
0.01622995361685753,
0.006952248513698578,
0.014859767630696297,
-0.014329060912132263,
-0.03218973055481911,
-0.008901386521756649,
0.0017790711717680097,
0.019037870690226555,
-0.0052877613343298435,
-0.018970325589179993,
0.01109657995402813,
0.026226524263620377,
-0.018072951585054398,
0.03572133556008339,
0.00021891621872782707,
0.08398663252592087,
0.010025518015027046,
0.03485290706157684,
0.05268463119864464,
-0.038751184940338135,
-0.01313256099820137,
-0.03842311352491379,
0.04824599623680115,
0.055270615965127945,
-0.006653123069554567,
-0.03869329020380974,
-0.0039658211171627045,
0.020880868658423424,
-0.025589676573872566,
0.02364053949713707,
-0.06468823552131653,
-0.04585299640893936,
-0.04654773697257042,
0.011521143838763237,
-0.04079681634902954,
0.07371988147497177,
0.0094272680580616,
0.009248757734894753,
-0.010498329065740108,
-0.013557125814259052,
-0.005147847812622786,
-0.009818060323596,
-0.014927311800420284,
-0.06078995764255524,
-0.045698609203100204,
-0.04701089859008789,
-0.014869416132569313,
0.04932670667767525,
-0.01461853738874197,
-0.024200191721320152,
0.017262417823076248,
-0.0008286249940283597,
0.0062768044881522655,
-0.0068316333927214146,
-0.057509228587150574,
-0.022231755778193474,
0.024065103381872177,
-0.013209754601120949,
0.04496527090668678,
0.04438631981611252,
-0.020321214571595192,
0.045621417462825775,
-0.042186301201581955,
0.023119481280446053,
-0.052723225206136703,
-0.017436103895306587,
-0.023852821439504623,
0.042263492941856384,
0.06449525058269501,
0.021903682500123978,
0.057161860167980194,
-0.006300927139818668,
0.00012076576240360737,
-0.042649462819099426,
-0.016065917909145355,
0.03844241052865982,
0.005519342143088579,
0.026573896408081055,
0.008312785066664219,
-0.030009010806679726,
0.036223094910383224,
0.023582642897963524,
0.013306246139109135,
-0.0013134973123669624,
-0.002400238299742341,
0.02138262614607811,
-0.0066772461868822575,
0.03714941814541817,
0.051758307963609695,
-0.02869671955704689,
0.011607986874878407,
0.049133725464344025,
0.013229052536189556,
0.007864098064601421,
0.006378120742738247,
0.03516168147325516,
-0.009195687249302864,
0.017214171588420868,
-0.022424740716814995,
-0.00027666063397191465,
-0.007371988613158464,
0.07020757347345352,
-0.03147568926215172,
-0.028542332351207733,
-0.009789112955331802,
0.03249850496649742,
-0.0229071993380785,
0.08336908370256424,
-0.033965181559324265,
-0.04403894767165184,
-0.05913029611110687,
-0.05268463119864464,
0.03670555353164673,
-0.00681233499199152,
0.005837765522301197,
-0.07136548310518265,
0.00010991041199304163,
0.006445665378123522,
-0.03475641831755638,
0.015216787345707417,
-0.009707095101475716,
-0.017194872722029686,
-0.011617636308073997,
0.006329874973744154,
-0.005939082242548466,
-0.010546575300395489,
0.029738832265138626,
0.027770396322011948,
-0.020726481452584267,
-0.06978300958871841,
0.039388034492731094,
0.020996658131480217,
0.014020287431776524,
-0.04025645926594734,
0.049133725464344025,
-0.018343128263950348,
0.07252338528633118,
-0.024740546941757202,
-0.039117854088544846,
-0.014936961233615875,
-0.0271721463650465,
-0.02931426838040352,
-0.03404237702488899,
-0.050754789263010025,
-0.014454500749707222,
-0.014936961233615875,
0.060596972703933716,
0.04098980128765106,
0.06754440069198608,
0.03377220034599304,
0.029101986438035965,
0.03693713620305061,
-0.05669869855046272,
0.0035267823841422796,
-0.03888627514243126,
-0.000017658789147390053,
0.019192257896065712,
-0.03141779452562332,
-0.028735315427184105,
-0.0366283617913723,
0.0014594413805752993,
-0.043074026703834534,
0.020707182586193085,
-0.015149243175983429,
0.00884831603616476,
0.039638910442590714,
-0.009407969191670418,
-0.018150145187973976,
0.009504461660981178,
-0.03799854964017868,
-0.03467922285199165,
-0.018642254173755646,
0.03736170008778572,
0.020900165662169456,
-0.05600395426154137,
0.017465051263570786,
-0.016857150942087173,
0.0030998054426163435,
0.008510594256222248,
0.04338280111551285,
-0.00025736223324202,
-0.02283000573515892,
0.018111547455191612,
-0.0021891621872782707,
0.017561543732881546,
0.04766704514622688,
0.04230209067463875,
0.04944249987602234,
-0.0694742351770401,
-0.0021915745455771685,
-0.023235272616147995,
0.04465649649500847,
0.016384340822696686,
-0.06488122045993805,
0.0409512035548687,
-0.037689775228500366,
0.02248263545334339,
0.029372163116931915,
-0.03689853847026825,
0.025512482970952988,
0.022212456911802292,
0.0010789011139422655,
-0.0732567235827446,
-0.01145359966903925,
-0.004518237896263599,
-0.034949399530887604,
0.018796641379594803,
-0.03093533404171467,
0.06171628087759018,
0.005857063923031092,
-0.05179690197110176,
0.016702763736248016,
0.00708733731880784,
-0.027307234704494476,
-0.007637341506779194,
0.031166914850473404,
0.016065917909145355,
-0.013827303424477577,
0.027017759159207344,
-0.01245711650699377,
-0.04284244775772095,
0.008592612110078335,
0.020186126232147217,
0.10992368310689926,
0.007048740517348051,
0.0047232829965651035,
-0.008279013447463512,
-0.031070422381162643,
0.018864184617996216,
0.02022472210228443,
-0.01833347976207733,
-0.03195814788341522,
0.05249164626002312,
-0.03078094683587551,
-0.02391071617603302,
-0.028214259073138237,
-0.04392315819859505,
-0.013972041197121143,
-0.02128613367676735,
-0.004728107713162899,
0.008554015308618546,
0.05569517984986305,
0.03301956132054329,
-0.033000264316797256,
-0.12065359205007553,
-0.011395704932510853,
0.007936466485261917,
-0.035605546087026596,
-0.002764495788142085,
-0.005741273518651724,
0.027114251628518105,
-0.05557939037680626,
0.0260914359241724,
-0.023215973749756813,
-0.03601081296801567,
-0.05600395426154137,
0.07113389670848846,
-0.014039585366845131,
-0.010884297080338001,
-0.0024219490587711334,
0.04176173731684685,
0.03633888438344002,
0.009687796235084534,
-0.01552556175738573,
0.026226524263620377,
0.047049496322870255,
0.030259890481829643,
0.046702124178409576,
0.01794751174747944,
-0.037766966968774796,
-0.06445665657520294,
-0.06553736329078674,
0.010450082831084728,
-0.06816194951534271,
0.009837359189987183,
0.038114339113235474,
0.09726393222808838,
-0.015699246898293495,
-0.024412475526332855,
-0.047242481261491776,
-0.006638649385422468,
0.04322841390967369,
-0.036686256527900696,
0.02030191570520401,
-0.0058522396720945835,
-0.0021939866710454226,
0.0054180254228413105,
0.02834934927523136,
-0.04315122216939926,
-0.0463547557592392,
-0.056621503084897995,
0.026728283613920212,
-0.009957973845303059,
-0.02968093752861023,
-0.05442148447036743,
0.04867056384682655,
0.0002048947208095342,
-0.007048740517348051,
0.05901450291275978,
-0.0033000262919813395,
-0.014975558035075665,
-0.008737349882721901,
0.018565060570836067,
-0.021865086629986763,
0.04874775558710098,
-0.020282616838812828,
-0.019558927044272423,
-0.0015390473417937756,
-0.030279187485575676,
-0.02968093752861023,
-0.010845700278878212,
-0.042726654559373856,
0.04183892905712128,
-0.0014160200953483582,
0.0339265875518322,
0.030973929911851883,
-0.019558927044272423,
-0.07966379076242447,
-0.04558281973004341,
0.04106699302792549,
0.010314994491636753,
0.0339265875518322,
-0.02356334589421749,
0.023042287677526474,
-0.04396175220608711,
0.06746720522642136,
-0.061407506465911865,
0.0220966674387455,
0.013113262131810188,
0.01914401166141033,
-0.04809160903096199,
0.009268056601285934,
0.013412387110292912,
0.002544976305216551,
-0.01317115779966116,
0.012215886265039444,
-0.013827303424477577,
0.07086372375488281,
-0.005567588377743959,
0.03944592922925949,
0.0053456565365195274,
-0.005451797973364592,
-0.016114164143800735,
-0.04963548108935356,
-0.031186213716864586,
-0.0030973930843174458,
-0.02744232304394245,
-0.013933444395661354,
-0.01659662276506424,
-0.005635132547467947,
0.029816025868058205,
-0.03402307629585266,
0.010093063116073608,
0.08823227882385254,
-0.012399221770465374,
0.0076035694219172,
0.04936530441045761,
0.10953771322965622,
0.03583712875843048,
0.06426367163658142,
-0.018815938383340836,
0.023872120305895805,
0.04102839529514313,
-0.01920190639793873,
-0.04183892905712128,
0.023215973749756813,
0.016307147219777107,
0.032884471118450165,
-0.002152977744117379,
-0.011173773556947708,
0.06302857398986816,
0.004800476599484682,
0.007801377680152655,
0.03350201994180679,
0.007367163896560669,
0.040835414081811905,
0.0014389369171112776,
0.04249507561326027,
-0.03311605378985405,
-0.036049410700798035,
-0.0057702213525772095,
0.03238271549344063,
0.010932543314993382,
-0.04403894767165184,
-0.088386669754982,
0.008090853691101074,
-0.00624785665422678,
-0.05449867993593216,
-0.016432587057352066,
-0.033173948526382446,
-0.03467922285199165,
0.0009956767316907644,
-0.02491423301398754,
0.0344669409096241,
-0.00790269486606121,
-0.029082687571644783,
0.01818874105811119,
-0.09124283492565155,
0.00996762327849865,
-0.04098980128765106,
-0.008124626241624355,
-0.025589676573872566,
-0.08128485828638077,
0.07510937005281448,
0.02867742069065571,
-0.05588816478848457,
-0.031166914850473404,
-0.04492667317390442,
0.007661464624106884,
-0.031707268208265305,
0.05415130779147148,
0.009118493646383286,
-0.0312248095870018,
0.027635307982563972,
-0.030163398012518883,
-0.07194443047046661,
-0.004445868544280529,
0.009562356397509575,
0.00882419291883707,
-0.05685308575630188,
-0.01683785393834114,
0.008920685388147831,
0.05550219491124153,
-0.01995454542338848,
-0.03031778521835804,
-0.052646033465862274,
0.0017296189907938242,
-0.03628098964691162,
0.013721161521971226,
0.03844241052865982,
-0.02047560177743435,
-0.056351326406002045,
-0.01259220577776432,
0.013788706623017788,
0.05025302991271019,
0.03431255370378494,
-0.03994768485426903,
-0.0016789607470855117,
0.00843340065330267,
-0.023235272616147995,
0.04033365473151207,
0.0018996861763298512,
0.013933444395661354,
0.005673729348927736,
-0.07711640000343323,
0.02093876339495182,
-0.021266836673021317,
0.04693370684981346,
0.01573784463107586,
-0.031533583998680115,
-0.030819542706012726,
-0.04500386863946915,
0.013402738608419895,
0.06399349123239517,
-0.0045110005885362625,
0.012196588329970837,
-0.015824686735868454
] |
18,375 | envparse | NoValue | null | from envparse import NoValue
| () | [
0.04496542736887932,
0.021808063611388206,
-0.026429416611790657,
-0.038016531616449356,
0.008369877003133297,
-0.015584416687488556,
0.020256368443369865,
-0.02875695936381817,
0.016646990552544594,
-0.03057851456105709,
-0.006957328878343105,
0.04445943981409073,
-0.021875528618693352,
-0.005856805946677923,
0.032754261046648026,
-0.0010314766550436616,
0.05818856880068779,
0.08783943951129913,
0.05984146147966385,
-0.002422415418550372,
-0.029583405703306198,
-0.029128016903996468,
-0.0848035141825676,
-0.02027323469519615,
-0.004920728970319033,
-0.03909597173333168,
0.05218418315052986,
-0.04628099501132965,
0.010954630561172962,
-0.035823918879032135,
-0.030747177079319954,
-0.03155675530433655,
-0.0025109632406383753,
0.0088126165792346,
0.05933547392487526,
-0.03754427656531334,
-0.018974533304572105,
0.03764547407627106,
-0.07954124361276627,
-0.06675662100315094,
0.011199191212654114,
0.009841457940638065,
-0.04540394991636276,
-0.011232923716306686,
-0.025299377739429474,
-0.016765054315328598,
0.049654245376586914,
0.03103390336036682,
-0.008049418218433857,
0.03579018637537956,
0.017827628180384636,
0.05191432312130928,
0.04010794684290886,
0.022128522396087646,
-0.0388261117041111,
0.03656603395938873,
0.04270534962415695,
0.03342891111969948,
-0.03457581624388695,
0.05309496074914932,
-0.09067296981811523,
0.044391974806785583,
-0.017051780596375465,
-0.041828304529190063,
0.01265812199562788,
0.007138641085475683,
0.016183167695999146,
-0.006636870093643665,
0.0029073201585561037,
-0.026024626567959785,
-0.018013156950473785,
-0.05302749574184418,
-0.09087536484003067,
0.011106426827609539,
0.08966099470853806,
-0.06179794669151306,
-0.11550009250640869,
0.07738236337900162,
-0.0025615619961172342,
-0.01949738711118698,
-0.030089393258094788,
0.024472931399941444,
-0.03113510087132454,
-0.011342554353177547,
0.002171529922634363,
0.044796764850616455,
0.002635351847857237,
0.016174735501408577,
0.03342891111969948,
0.06038118153810501,
-0.01986844465136528,
-0.004267161712050438,
-0.02943160943686962,
0.07657278329133987,
0.04719177260994911,
0.03062911331653595,
0.07454883307218552,
-0.012641255743801594,
-0.06139315664768219,
-0.07036600261926651,
0.031185699626803398,
-0.041457246989011765,
-0.04665205255150795,
-0.05289256572723389,
-0.006105583161115646,
-0.003946702927350998,
0.004520155489444733,
-0.007939787581562996,
0.08149772882461548,
0.008846349082887173,
-0.07279474288225174,
-0.023815147578716278,
-0.0324169360101223,
-0.04601113498210907,
-0.014833868481218815,
0.010001687332987785,
0.012599090114235878,
-0.010634171776473522,
0.01904199831187725,
-0.003303677076473832,
-0.024287402629852295,
0.06560971587896347,
-0.048642270267009735,
0.013703829608857632,
0.06921909749507904,
0.043379999697208405,
-0.03869118168950081,
-0.013611065223813057,
0.05882948637008667,
0.026699276641011238,
0.029364144429564476,
-0.02128520980477333,
0.0014905550051480532,
-0.07434643805027008,
-0.04483049735426903,
-0.010187216103076935,
-0.0013767078053206205,
0.039804354310035706,
0.03670096397399902,
0.03169168531894684,
-0.011224490590393543,
-0.05161073058843613,
-0.05943667143583298,
-0.07394164800643921,
-0.009647496044635773,
-0.005249620880931616,
-0.009217406623065472,
0.008821049705147743,
-0.056063421070575714,
0.021437006071209908,
0.03017372451722622,
0.014294148422777653,
-0.06358576565980911,
-0.017245741561055183,
0.03508180379867554,
0.0537358783185482,
0.035688988864421844,
-0.040951259434223175,
0.013998989015817642,
-0.005038792733103037,
-0.006156181916594505,
-0.037881601601839066,
0.048237480223178864,
0.01615786924958229,
0.015609716065227985,
0.03990555182099342,
0.03430595621466637,
-0.007121774833649397,
0.03713948652148247,
0.0022769439965486526,
-0.03501433879137039,
-0.010077585466206074,
-0.028537698090076447,
0.006582054775208235,
0.03639737144112587,
0.02550177276134491,
0.020897286012768745,
0.04391971975564957,
0.007269354537129402,
-0.0006472424138337374,
-0.04790015518665314,
0.001753036049194634,
-0.06405802071094513,
0.04233429208397865,
0.06702648103237152,
0.03589138388633728,
-0.014032721519470215,
-0.03359757363796234,
-0.009284871630370617,
0.006447124760597944,
0.033074717968702316,
0.033175915479660034,
0.04216562956571579,
0.03963569179177284,
0.01204250380396843,
-0.025417441502213478,
0.029819533228874207,
-0.01749030314385891,
0.012784618884325027,
-0.04692191258072853,
-0.02659807913005352,
-0.009537865407764912,
-0.01689155027270317,
0.020070839673280716,
-0.0031708553433418274,
0.02064429223537445,
-0.029954463243484497,
-0.04638219252228737,
-0.050801150500774384,
0.04472929984331131,
-0.05920054391026497,
-0.015027830377221107,
-0.006215213797986507,
0.04628099501132965,
-0.011022095568478107,
0.006282678805291653,
0.009976387955248356,
0.01949738711118698,
0.000571344280615449,
0.047495365142822266,
0.04027660936117172,
-0.033530108630657196,
0.1383032649755478,
-0.025333110243082047,
0.059908926486968994,
0.0027702818624675274,
0.016790352761745453,
-0.01476640347391367,
-0.0172541756182909,
0.008365660905838013,
0.02654748037457466,
-0.0058736721985042095,
-0.03498060628771782,
0.02897622063755989,
0.05602968856692314,
-0.04071513190865517,
0.051340870559215546,
-0.010836566798388958,
-0.006906730122864246,
-0.012801485136151314,
-0.026378817856311798,
-0.03494687378406525,
-0.04216562956571579,
0.04611233249306679,
0.0576825812458992,
0.021302076056599617,
0.009200540371239185,
0.014403779059648514,
0.014850734733045101,
-0.001132147153839469,
0.04574127495288849,
0.02010457217693329,
-0.005734525620937347,
-0.00947883352637291,
-0.005578512791544199,
-0.026766741648316383,
-0.03076404333114624,
-0.021571936085820198,
0.06142688915133476,
-0.04169337451457977,
0.014825435355305672,
-0.03602631390094757,
-0.027087200433015823,
-0.006733851041644812,
0.0060339015908539295,
0.05957160145044327,
0.03818519413471222,
-0.008694552816450596,
0.014783269725739956,
0.029330411925911903,
0.07394164800643921,
0.020357565954327583,
-0.043143872171640396,
-0.01995277591049671,
-0.0035208300687372684,
0.04817001521587372,
-0.012961714528501034,
0.01593017391860485,
0.04840614274144173,
0.05360094830393791,
0.018552877008914948,
0.015778377652168274,
-0.0012944848276674747,
0.04105245694518089,
0.0001691895886324346,
0.008546972647309303,
-0.052858833223581314,
-0.08176758885383606,
-0.038252659142017365,
0.021184012293815613,
-0.008205431513488293,
0.04884466528892517,
0.011781076900660992,
-0.03143869340419769,
0.013223141431808472,
0.014521842822432518,
-0.02307303249835968,
-0.04138978198170662,
0.026716142892837524,
-0.023056166246533394,
0.05066622048616409,
-0.004262945149093866,
-0.09566538035869598,
-0.020998483523726463,
-0.019800979644060135,
0.05322989076375961,
0.05113847553730011,
0.053769610822200775,
0.0055532134138047695,
-0.013838759623467922,
-0.004410524852573872,
0.019514253363013268,
-0.0011859083315357566,
0.015010964125394821,
0.02160566858947277,
0.025602970272302628,
0.00304435845464468,
-0.03521673381328583,
0.003293135669082403,
0.0042945691384375095,
-0.04135604947805405,
-0.02971833571791649,
0.00011252952390350401,
-0.01393995713442564,
-0.003455473342910409,
0.013518300838768482,
0.042469222098588943,
-0.038117729127407074,
0.019851578399538994,
0.0697588175535202,
-0.04692191258072853,
0.010828133672475815,
0.011485917493700981,
0.048777200281620026,
0.045302752405405045,
-0.01044020988047123,
-0.011342554353177547,
-0.026749875396490097,
-0.0009223731467500329,
-0.038893576711416245,
-0.025400575250387192,
-0.035452861338853836,
-0.04776522517204285,
-0.007201889529824257,
0.024371733888983727,
-0.06969135254621506,
0.024051275104284286,
0.0030823075212538242,
0.07731489837169647,
-0.004836397711187601,
-0.028082309290766716,
0.07110811769962311,
-0.005241187755018473,
0.06085343658924103,
0.04999157041311264,
-0.022685108706355095,
-0.055557433515787125,
0.002502530114725232,
0.005211671814322472,
-0.011612414382398129,
0.02184179611504078,
0.015432620421051979,
-0.006379659753292799,
0.04267161712050438,
-0.012700287625193596,
-0.07151290774345398,
0.009065610356628895,
0.025518639013171196,
0.05333108827471733,
-0.014268849045038223,
0.028858156874775887,
-0.028217239305377007,
0.03391803056001663,
-0.1053803414106369,
-0.0011268764501437545,
-0.00009605857485439628,
0.008433125913143158,
-0.024456065148115158,
-0.05188059061765671,
0.01716984435915947,
-0.02491145394742489,
0.04540394991636276,
-0.04968797788023949,
-0.00910777598619461,
-0.06756620109081268,
-0.002755523892119527,
0.03835385665297508,
0.016638556495308876,
0.010322146117687225,
0.012540058232843876,
-0.011131726205348969,
-0.011359420605003834,
0.008293978869915009,
0.055051445960998535,
0.028993086889386177,
0.005726092495024204,
-0.043143872171640396,
-0.03923090174794197,
0.01597234047949314,
0.011165458709001541,
0.01647832803428173,
0.012143701314926147,
0.028217239305377007,
0.02975206822156906,
-0.003746416186913848,
-0.052487775683403015,
0.010516108013689518,
-0.036835893988609314,
-0.00324464519508183,
-0.010187216103076935,
0.042469222098588943,
-0.0691516324877739,
-0.012455726973712444,
-0.08203744888305664,
-0.008116883225739002,
0.012944848276674747,
0.03680216148495674,
-0.000300430110655725,
0.05471412092447281,
-0.07191769778728485,
-0.032619331032037735,
-0.08082307875156403,
-0.02389947883784771,
0.051576998084783554,
0.02357902005314827,
0.043110139667987823,
-0.02106594853103161,
-0.05026143044233322,
0.0188564695417881,
-0.06496880203485489,
-0.001452605938538909,
0.010406477376818657,
-0.06466520577669144,
-0.03268679603934288,
0.004503289237618446,
-0.014403779059648514,
0.0008401501690968871,
-0.024321135133504868,
0.0021188228856772184,
0.010988363064825535,
-0.0868949294090271,
0.04253668710589409,
0.02096475102007389,
0.059133078902959824,
0.0676674023270607,
0.024523530155420303,
-0.026699276641011238,
0.04024287685751915,
0.006797099485993385,
-0.03572272136807442,
-0.055186375975608826,
-0.06203407421708107,
-0.024557262659072876,
-0.045437682420015335,
0.023224828764796257,
-0.04628099501132965,
-0.047225505113601685,
0.02192612737417221,
0.024068141356110573,
0.017422838136553764,
0.02691853791475296,
0.05228538066148758,
-0.03963569179177284,
-0.026699276641011238,
-0.005325519014149904,
0.02179119735956192,
0.006801316048949957,
0.021588802337646484,
-0.014656772837042809,
-0.006350143812596798,
-0.0946534052491188,
-0.0016697589308023453,
0.00664951978251338,
0.006021251901984215,
-0.027205264195799828,
0.02961713820695877,
0.03017372451722622,
0.016267498955130577,
-0.020576827228069305,
0.006607354152947664,
-0.052116718143224716,
-0.0038412888534367085,
-0.004629786126315594,
0.07063586264848709,
-0.015963906422257423,
-0.01835048198699951,
0.03933209925889969,
-0.0754258781671524,
0.018417946994304657,
0.01845167949795723,
0.01858660951256752,
-0.01872153952717781,
-0.008669253438711166,
0.0011384719982743263,
0.06942149251699448,
0.0008064176654443145,
0.035317931324243546,
0.022465847432613373,
0.028453366830945015,
-0.0409175269305706,
-0.00819699838757515,
-0.006620003841817379,
0.020931018516421318,
-0.010566706769168377,
0.004096390679478645,
-0.06085343658924103,
-0.02160566858947277,
-0.0045117223635315895,
-0.013442402705550194,
-0.04790015518665314,
0.00568814342841506,
0.02966773696243763,
0.017245741561055183,
-0.04921572282910347,
0.030527915805578232,
0.02302243374288082,
-0.029330411925911903,
-0.0288412906229496,
-0.009284871630370617,
0.044526904821395874,
-0.0284702330827713,
-0.019025132060050964,
0.041187386959791183,
-0.027441391721367836,
-0.01540732104331255,
-0.031151967123150826,
-0.04327880218625069,
0.017878226935863495,
-0.00232332618907094,
0.04219936206936836,
0.00328470254316926,
-0.038016531616449356,
0.030224323272705078,
0.04192950204014778,
0.06547478586435318,
-0.005359251517802477,
-0.006202564109116793,
0.04007421433925629,
-0.019379323348402977,
-0.0021114437840878963,
0.026041492819786072,
-0.004937595222145319,
-0.01882273703813553,
0.034913141280412674,
-0.01781076192855835,
0.03359757363796234,
-0.03302412107586861,
0.03528419882059097,
-0.0555911660194397,
-0.019109463319182396,
-0.038016531616449356,
0.017557768151164055,
0.02101534977555275,
-0.018755272030830383,
0.00042455518268980086,
-0.0876370444893837,
0.026986002922058105,
0.020661158487200737,
-0.005270703695714474,
0.030426718294620514,
0.01821555197238922,
-0.023865746334195137,
-0.016916850581765175,
0.018299883231520653,
-0.03373250365257263,
-0.03501433879137039,
-0.06706021726131439,
0.005064092110842466,
-0.007341036107391119,
0.02459099516272545,
-0.0014589307829737663,
-0.09053803980350494,
0.040040481835603714,
0.005211671814322472,
-0.021268343552947044,
0.03209647536277771,
0.058896951377391815,
0.09242706000804901,
0.00201446283608675,
0.01089559867978096,
-0.03575645387172699,
0.007581380195915699,
-0.051442068070173264,
-0.06523866206407547,
-0.017608366906642914,
-0.047225505113601685,
0.03700455650687218,
0.029262946918606758,
0.001691895886324346,
0.018603475764393806,
-0.05123967304825783,
0.011038961820304394,
0.033580705523490906,
-0.03049418330192566,
-0.03548659384250641,
-0.019345590844750404,
-0.020172037184238434,
-0.029128016903996468,
0.02806544303894043,
0.008049418218433857,
-0.0072862207889556885,
0.0014536600792780519,
0.0754258781671524,
0.03936583176255226,
0.06034744903445244,
-0.019767247140407562,
-0.020526228472590446,
-0.03174228593707085,
-0.03778040409088135,
-0.007648845203220844,
0.013214708305895329,
-0.023292293772101402,
-0.04884466528892517,
0.04253668710589409,
-0.014192950911819935,
0.05387080833315849,
0.032248273491859436,
-0.006021251901984215,
-0.03923090174794197,
-0.023697083815932274,
-0.01578681170940399,
-0.004007842857390642,
-0.06857817620038986,
-0.01571091264486313,
0.010431776754558086,
0.0022010458633303642,
0.017228875309228897,
0.005629111547023058,
-0.05562489852309227,
-0.01671445555984974,
0.0003460216976236552,
0.039163436740636826,
0.006906730122864246,
-0.03740934655070305,
-0.029330411925911903,
0.007269354537129402,
0.042739082127809525,
-0.038657449185848236,
0.046989377588033676,
0.029903864488005638,
-0.002061899285763502,
-0.050834883004426956,
-0.0260077603161335,
0.01927812583744526,
-0.02389947883784771,
-0.01899139955639839,
-0.020441897213459015,
-0.028824424371123314,
0.04550514742732048,
-0.01666385680437088,
0.014690505340695381,
-0.020728623494505882,
-0.02421993762254715,
-0.011275089345872402,
-0.02673300914466381,
0.029279813170433044,
-0.008264463394880295,
0.029195481911301613,
-0.009984821081161499,
-0.06220273673534393,
-0.03764547407627106,
-0.02448979765176773,
0.009917356073856354,
0.044020917266607285,
0.05191432312130928,
-0.010667904280126095,
0.0331590510904789,
-0.0070753926411271095,
0.02518131397664547,
0.008702985942363739,
0.06641929596662521,
-0.05795244127511978,
0.03218080848455429,
0.028031710535287857,
-0.023326026275753975,
-0.03393489867448807,
-0.025282511487603188,
0.027778716757893562,
0.02416933886706829,
0.01973351463675499,
0.03528419882059097,
-0.0034575816243886948,
0.005755608435720205,
-0.02435486763715744,
-0.012801485136151314,
-0.02334289252758026,
0.017321640625596046,
0.01968291588127613,
0.04385225474834442,
-0.0448642298579216,
-0.04304267466068268,
-0.014268849045038223,
0.016318097710609436,
0.09802665561437607,
-0.04257041960954666,
-0.05872828885912895,
0.0028693710919469595,
0.007256704848259687,
0.012481026351451874,
0.055827293545007706,
-0.007016360759735107,
-0.01702648028731346,
-0.03209647536277771,
0.000871774391271174,
0.03885984420776367,
-0.014842301607131958,
0.03400236368179321,
-0.015331422910094261,
-0.03579018637537956,
-0.03401922807097435,
-0.0034301739651709795,
0.04105245694518089,
-0.016419295221567154,
-0.07002867758274078,
0.03062911331653595,
0.01981784589588642,
-0.06574464589357376,
-0.00849215779453516,
-0.01377972774207592,
-0.013855625875294209,
-0.012396695092320442,
0.05032889544963837,
0.002983218291774392,
0.028284704312682152,
0.045066624879837036,
0.0005199548904784024,
-0.1004553958773613,
-0.02334289252758026,
0.07137797772884369,
0.05096981301903725,
-0.021555069833993912,
0.03310845047235489,
-0.033395178616046906,
0.06294485181570053,
0.0007942950469441712,
0.005612245295196772,
-0.026024626567959785,
0.017658965662121773,
-0.06368696689605713,
0.045673809945583344,
0.026614945381879807,
-0.005561646539717913,
0.010145050473511219,
-0.04668578505516052,
0.04510035738348961,
0.0363636389374733,
0.026041492819786072,
-0.015778377652168274,
-0.018384214490652084,
0.006839265115559101,
-0.03794906660914421,
0.012624389491975307,
-0.006856131367385387,
0.043110139667987823,
0.038387589156627655,
-0.04014167934656143,
0.024658460170030594,
0.04601113498210907,
-0.0034196325577795506,
-0.0010172458132728934,
-0.03128689527511597,
0.05795244127511978,
-0.03245066851377487,
0.05461292341351509,
0.030005061998963356,
-0.026260754093527794,
0.03508180379867554,
-0.025990894064307213
] |
18,392 | textual._log | LogGroup | A log group is a classification of the log message (*not* a level). | class LogGroup(Enum):
"""A log group is a classification of the log message (*not* a level)."""
UNDEFINED = 0 # Mainly for testing
EVENT = 1
DEBUG = 2
INFO = 3
WARNING = 4
ERROR = 5
PRINT = 6
SYSTEM = 7
LOGGING = 8
WORKER = 9
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.012073183432221413,
0.025742094963788986,
-0.09420064091682434,
0.0003972883860114962,
0.015983596444129944,
-0.09840915352106094,
-0.013440950773656368,
-0.03184444457292557,
-0.027162469923496246,
-0.027285218238830566,
-0.003441339358687401,
0.009644517675042152,
0.03805200755596161,
-0.005628891289234161,
0.011301621794700623,
-0.009258736856281757,
-0.030950134620070457,
-0.04955528676509857,
0.027215076610445976,
0.0010466494131833315,
0.0026456667110323906,
0.05611355975270271,
0.011678634211421013,
0.017780983820557594,
0.013379576615989208,
0.05067755654454231,
-0.030143503099679947,
-0.022866275161504745,
-0.013703983277082443,
-0.04429464042186737,
-0.08157508820295334,
-0.09118453413248062,
-0.04615340381860733,
-0.03280889615416527,
-0.05467564985156059,
-0.03934963420033455,
-0.04324251040816307,
0.0020220607984811068,
-0.10366979986429214,
0.03664916753768921,
-0.014168674126267433,
0.028407489880919456,
-0.0678272619843483,
-0.030318858101963997,
-0.014080996625125408,
-0.009872479364275932,
0.0655476525425911,
0.04618847370147705,
0.006948436610400677,
-0.016044970601797104,
0.005760407540947199,
0.014870093204081059,
-0.03465012460947037,
-0.023392340168356895,
-0.025829773396253586,
0.014133602380752563,
0.020007990300655365,
-0.03864821419119835,
-0.027250146493315697,
0.028091849759221077,
-0.04050697386264801,
0.04923964664340019,
0.017824823036789894,
-0.004778420086950064,
-0.022638313472270966,
-0.03798186406493187,
-0.03133591637015343,
0.029108908027410507,
-0.027600856497883797,
0.04415435716509819,
-0.03522879257798195,
-0.03429941460490227,
0.023480016738176346,
0.005891923792660236,
-0.04580269381403923,
-0.00007151190948206931,
-0.04948514327406883,
0.08388976752758026,
0.03408898785710335,
0.014002086594700813,
0.017062028869986534,
0.030546817928552628,
0.03889371082186699,
0.03643874078989029,
0.05050220340490341,
-0.026268159970641136,
0.007658624090254307,
-0.019744958728551865,
0.0017973874928429723,
-0.026987114921212196,
-0.04636382684111595,
0.009574376046657562,
-0.0034698345698416233,
0.013537395745515823,
-0.03298425301909447,
-0.002991992514580488,
-0.04040176421403885,
0.04432971030473709,
-0.07287748157978058,
-0.03450983762741089,
-0.029985683038830757,
-0.008881724439561367,
-0.016518428921699524,
-0.014738577418029308,
-0.05425479635596275,
-0.0630926862359047,
-0.015071751549839973,
-0.010582666844129562,
-0.008978169411420822,
0.04590790718793869,
0.004603065550327301,
-0.03370320796966553,
-0.019113680347800255,
-0.015667958185076714,
-0.004576762206852436,
0.0685286819934845,
-0.024532146751880646,
-0.03805200755596161,
-0.023935940116643906,
-0.003355853958055377,
-0.011617260053753853,
0.04008612409234047,
-0.019464390352368355,
0.05218560993671417,
0.025847308337688446,
0.03277382627129555,
0.002759647322818637,
-0.017851125448942184,
0.04075247421860695,
0.014791183173656464,
0.04029655084013939,
-0.019043538719415665,
0.024882856756448746,
-0.04411928728222847,
0.04990599676966667,
0.022462958469986916,
0.021551113575696945,
0.015334784053266048,
-0.011748776771128178,
0.05825288966298103,
-0.008070708252489567,
0.006413604598492384,
-0.012511570006608963,
-0.017851125448942184,
0.062426336109638214,
0.04808230698108673,
0.021779075264930725,
0.03587760776281357,
-0.03601789101958275,
-0.0005693553248420358,
0.025479063391685486,
-0.07056280225515366,
-0.04510127380490303,
0.03291410952806473,
0.03721030429005623,
0.0015595623990520835,
-0.027495643123984337,
-0.025461526587605476,
-0.00004493468441069126,
-0.023655371740460396,
-0.010153046809136868,
-0.04292687401175499,
0.007663007825613022,
-0.008154002018272877,
0.006632797885686159,
0.04334772378206253,
0.03636860102415085,
-0.009188595227897167,
-0.005905075464397669,
-0.024444470182061195,
-0.06638935208320618,
-0.0031300843693315983,
0.03459751605987549,
0.03337003290653229,
-0.029091373085975647,
0.07701586186885834,
-0.03494822606444359,
0.08318835496902466,
-0.0033273587469011545,
0.004703894257545471,
0.023760585114359856,
0.04948514327406883,
-0.05460550636053085,
0.021814147010445595,
-0.019289035350084305,
0.010433615185320377,
0.008482792414724827,
-0.010573898442089558,
-0.026829294860363007,
-0.027600856497883797,
0.0017206696793437004,
-0.03868328407406807,
0.031160561367869377,
-0.04040176421403885,
0.030161038041114807,
0.030669568106532097,
-0.05032685026526451,
-0.03885864093899727,
0.05681497976183891,
-0.010345937684178352,
-0.009030776098370552,
0.08311820775270462,
-0.03184444457292557,
0.004201941192150116,
-0.014194976538419724,
0.023129308596253395,
0.04127853736281395,
0.020218417048454285,
-0.08704616129398346,
-0.012678157538175583,
-0.04555719718337059,
-0.011836454272270203,
0.0011173393577337265,
0.1014954000711441,
0.029775258153676987,
-0.05067755654454231,
-0.008259214460849762,
0.05955051630735397,
-0.030827386304736137,
0.04212024062871933,
0.03868328407406807,
-0.028074314817786217,
0.05706047639250755,
-0.04432971030473709,
0.006891446653753519,
0.009188595227897167,
0.05120362341403961,
-0.04913443699479103,
-0.028214599937200546,
-0.007886585779488087,
0.026724083349108696,
-0.03805200755596161,
-0.012055647559463978,
0.010310866869986057,
-0.004081384744495153,
0.05095812678337097,
0.0042238603346049786,
-0.0023475633934140205,
0.024795178323984146,
0.016834067180752754,
-0.022322675213217735,
-0.012774602510035038,
0.008807198144495487,
0.09532290697097778,
0.03787665069103241,
-0.03815722092986107,
-0.005571900866925716,
0.012169628404080868,
0.03282643109560013,
0.03145866468548775,
-0.05741118639707565,
-0.027302753180265427,
-0.04026147723197937,
-0.020358700305223465,
-0.006290856283158064,
-0.028004173189401627,
-0.055341996252536774,
0.017938803881406784,
0.04068233072757721,
-0.04731074348092079,
-0.011889060027897358,
0.0007671775529161096,
-0.005484223831444979,
0.023427411913871765,
0.029582366347312927,
0.025128353387117386,
0.0680026188492775,
-0.03703494742512703,
0.060041509568691254,
0.03535154089331627,
0.11405080556869507,
0.03168662637472153,
-0.017526719719171524,
0.015106822364032269,
-0.030757244676351547,
-0.04527662694454193,
0.007899736985564232,
0.003857807256281376,
0.015396158210933208,
-0.002360715065151453,
0.022234998643398285,
0.03510604426264763,
-0.04113825410604477,
0.024234043434262276,
0.007066801190376282,
0.04254109039902687,
-0.0016549115534871817,
-0.024234043434262276,
-0.011441905051469803,
0.010082905180752277,
0.014878860674798489,
0.007943575270473957,
0.009109685197472572,
-0.009232434444129467,
0.014563222415745258,
0.028863411396741867,
0.029792793095111847,
0.016220325604081154,
0.03598282113671303,
0.010626505129039288,
0.025303708389401436,
0.009451627731323242,
0.07140450179576874,
-0.024391863495111465,
-0.03903399407863617,
0.020463913679122925,
0.024882856756448746,
-0.03372074291110039,
0.023287126794457436,
-0.010117975994944572,
-0.026724083349108696,
0.06709077209234238,
0.011766311712563038,
-0.03564964607357979,
0.002001237589865923,
0.04987092688679695,
-0.010363472625613213,
0.021954430267214775,
0.002162344753742218,
0.06666992604732513,
-0.016500893980264664,
0.04078754410147667,
0.006233865860849619,
-0.018166765570640564,
0.021621255204081535,
-0.021165333688259125,
0.018271977081894875,
0.025496598333120346,
0.005514910910278559,
-0.023620301857590675,
-0.04646904021501541,
-0.07652486860752106,
0.008162769488990307,
0.022445423528552055,
-0.05418465659022331,
-0.017824823036789894,
0.007373672444373369,
-0.021253010258078575,
0.013099009171128273,
-0.04489084705710411,
-0.030406534671783447,
-0.03735058754682541,
-0.059585586190223694,
0.05646426975727081,
0.07070308178663254,
-0.018026480451226234,
0.029529759660363197,
0.04376857727766037,
0.03689466416835785,
0.028232134878635406,
0.06463580578565598,
-0.0047082784585654736,
-0.026075270026922226,
-0.005615739617496729,
0.04825766012072563,
-0.015939757227897644,
0.014116067439317703,
-0.10668590664863586,
0.04461028054356575,
0.056394126266241074,
0.04520648717880249,
0.005615739617496729,
0.020253486931324005,
-0.015790706500411034,
-0.004331265576183796,
-0.017132170498371124,
0.006023440044373274,
-0.015834545716643333,
0.0899219810962677,
0.020463913679122925,
0.012134557589888573,
-0.019324107095599174,
0.023006558418273926,
0.04885386675596237,
-0.03777144104242325,
0.04439985379576683,
0.06912489235401154,
0.0045285397209227085,
-0.04212024062871933,
-0.008123314939439297,
-0.006220714189112186,
0.005545597989112139,
-0.010056601837277412,
0.07771728187799454,
-0.029582366347312927,
0.026268159970641136,
0.07897983491420746,
0.03300178796052933,
-0.03375581279397011,
0.03780651092529297,
0.0019847978837788105,
0.009442860260605812,
-0.014212512411177158,
-0.04559226706624031,
-0.05064248666167259,
-0.026741618290543556,
-0.06582821905612946,
-0.005449152551591396,
-0.015378622338175774,
-0.03277382627129555,
-0.0010559650836512446,
0.020797088742256165,
-0.028074314817786217,
-0.026583798229694366,
0.006777465809136629,
0.025303708389401436,
0.0016549115534871817,
-0.03422927111387253,
-0.025619346648454666,
-0.03787665069103241,
0.03601789101958275,
-0.029968148097395897,
-0.05323773995041847,
-0.061584632843732834,
0.021463437005877495,
-0.059796012938022614,
0.060637716203927994,
0.030038289725780487,
0.03682452440261841,
-0.020253486931324005,
-0.031072882935404778,
-0.03945484757423401,
0.06716091930866241,
0.07947082817554474,
0.010451150126755238,
-0.007553411182016134,
0.0002485107397660613,
0.012204699218273163,
0.009311343543231487,
0.004918704275041819,
-0.013721519149839878,
0.029231658205389977,
-0.06253154575824738,
-0.028039244934916496,
0.05022163689136505,
-0.08122437447309494,
-0.062180839478969574,
0.011889060027897358,
-0.022129785269498825,
0.017868662253022194,
-0.018920790404081345,
-0.014493079856038094,
0.04183967411518097,
0.026233088225126266,
0.062180839478969574,
-0.019376713782548904,
-0.03573732450604439,
0.015545209869742393,
0.029740186408162117,
-0.013134079985320568,
-0.026969579979777336,
0.004445245955139399,
-0.026198018342256546,
0.005115978419780731,
0.05369366332888603,
-0.05064248666167259,
-0.06845854222774506,
0.010872001759707928,
0.023760585114359856,
-0.04983585327863693,
0.03735058754682541,
0.027706069871783257,
-0.0772964283823967,
0.004515388049185276,
-0.028144456446170807,
0.016141416504979134,
0.09967170655727386,
-0.04699510708451271,
0.021568648517131805,
-0.008965018205344677,
0.017640700563788414,
0.03452737629413605,
0.006659101229161024,
-0.027232611551880836,
-0.06481116265058517,
0.03456244617700577,
0.03331742435693741,
0.015027912333607674,
-0.03671931102871895,
0.009600679390132427,
0.03731551766395569,
-0.023883333429694176,
0.014747344888746738,
0.020043062046170235,
-0.026776688173413277,
-0.028951089829206467,
0.0009573280112817883,
0.028477631509304047,
0.011757544241845608,
-0.04355815052986145,
-0.011529582552611828,
-0.03280889615416527,
-0.014563222415745258,
-0.05274674668908119,
0.056394126266241074,
-0.008829117752611637,
-0.0030226795934140682,
0.002913082716986537,
-0.04660932347178459,
0.023059165105223656,
0.03493069112300873,
-0.014501848258078098,
-0.06638935208320618,
-0.05436000972986221,
0.060462359338998795,
-0.059620656073093414,
0.05590313300490379,
-0.03370320796966553,
-0.002816637745127082,
-0.021744003519415855,
0.022901346907019615,
0.06435523927211761,
-0.027951566502451897,
-0.03643874078989029,
-0.012765835039317608,
-0.006444291677325964,
-0.012721995823085308,
-0.009714660234749317,
0.024917926639318466,
0.03247572109103203,
-0.009863711893558502,
-0.001856569666415453,
0.031178096309304237,
0.0629173293709755,
0.005313252564519644,
-0.027618393301963806,
-0.017745913937687874,
0.015194499865174294,
-0.04275151714682579,
0.03868328407406807,
0.029687579721212387,
0.026741618290543556,
0.0011074756039306521,
0.05337802320718765,
-0.001515723648481071,
0.011222711764276028,
-0.03545675426721573,
0.011924131773412228,
-0.04454013705253601,
0.028477631509304047,
-0.017526719719171524,
-0.017298758029937744,
-0.013248060829937458,
-0.015624118968844414,
-0.007698079105466604,
0.015992363914847374,
0.012564176693558693,
-0.020797088742256165,
0.04759131371974945,
-0.018271977081894875,
0.03864821419119835,
0.028004173189401627,
-0.060918282717466354,
-0.06596850603818893,
0.019341642037034035,
0.019867707043886185,
-0.012011808343231678,
0.022462958469986916,
0.017000654712319374,
-0.023830726742744446,
-0.05299224331974983,
-0.0043685282580554485,
-0.04019133746623993,
0.014913931488990784,
-0.010626505129039288,
-0.03991076722741127,
-0.018289513885974884,
0.019762493669986725,
0.027180004864931107,
0.04478563368320465,
-0.015282177366316319,
-0.03991076722741127,
0.013853034935891628,
-0.012117021717131138,
0.009127221070230007,
0.06663484871387482,
0.011915363371372223,
0.07157985866069794,
0.009179827757179737,
0.017167242243885994,
-0.04429464042186737,
0.0032659845892339945,
-0.011205176822841167,
-0.0797513946890831,
0.001852185814641416,
0.020235951989889145,
0.021095192059874535,
-0.013370809145271778,
0.011906595900654793,
0.054991286247968674,
-0.007728766184300184,
0.021936895325779915,
0.04660932347178459,
-0.0029569214675575495,
-0.04720553010702133,
-0.015518906526267529,
0.03433448448777199,
-0.020762016996741295,
-0.023059165105223656,
0.04019133746623993,
-0.008123314939439297,
0.04674961045384407,
-0.002744303783401847,
0.0069045983254909515,
0.04790695011615753,
-0.024549681693315506,
0.04748610034584999,
-0.008715136907994747,
-0.025864843279123306,
0.03363306447863579,
-0.05299224331974983,
0.009968924336135387,
-0.04292687401175499,
0.017465345561504364,
0.07322819530963898,
-0.03640367090702057,
0.03763115406036377,
0.007123791612684727,
0.029161514714360237,
-0.04520648717880249,
-0.020498985424637794,
0.007781372405588627,
-0.05341309309005737,
-0.0015858656261116266,
-0.010275795124471188,
0.014703505672514439,
-0.022480495274066925,
-0.060076579451560974,
-0.005970833357423544,
-0.07073815912008286,
-0.020726945251226425,
0.08403005450963974,
-0.07122915238142014,
-0.1028982400894165,
-0.03438708931207657,
-0.023743050172924995,
0.0007967686979100108,
-0.04201502725481987,
0.010170582681894302,
-0.005707801319658756,
-0.027495643123984337,
0.027109863236546516,
-0.0007534779724664986,
-0.03798186406493187,
-0.009206131100654602,
0.04478563368320465,
-0.020043062046170235,
-0.03259846940636635,
0.015457532368600368,
-0.0730879083275795,
0.005343939643353224,
0.04710032045841217,
-0.023515088483691216,
-0.00041400190093554556,
-0.022077178582549095,
0.07140450179576874,
-0.006010288372635841,
0.05849838629364967,
0.026741618290543556,
-0.03189705312252045,
-0.03226529806852341,
0.015431229025125504,
0.06547751277685165,
0.011582189239561558,
-0.010275795124471188,
0.015229570679366589,
0.024584753438830376,
-0.019061075523495674,
0.08543289452791214,
-0.03984062746167183,
0.021796610206365585,
0.016194023191928864,
0.07371918857097626,
0.015185732394456863,
-0.03948991745710373,
0.0662490725517273,
0.0680026188492775,
0.0794006884098053,
0.03298425301909447,
-0.05621877312660217,
0.016158951446413994,
0.04909936338663101,
-0.030599424615502357,
-0.04008612409234047,
0.08753715455532074,
0.059340089559555054,
-0.04734581708908081,
-0.05443015322089195,
0.05407944321632385,
-0.03561457619071007,
-0.0014411978190764785,
-0.014817486517131329,
-0.04734581708908081,
0.018219370394945145,
-0.010030298493802547,
0.03228283300995827,
-0.019481927156448364,
0.0015595623990520835,
-0.011292853392660618,
-0.005164200905710459,
0.003669300815090537,
-0.022024571895599365,
-0.004831026773899794,
0.010065369307994843,
0.016755158081650734,
-0.010021531023085117,
-0.007386824116110802,
-0.0023782504722476006,
0.08648502081632614,
-0.018780507147312164,
0.0038095845375210047,
0.05635905638337135,
-0.05825288966298103,
-0.017956338822841644,
0.019324107095599174,
-0.008596772328019142,
-0.009109685197472572,
0.021060120314359665,
-0.07491160184144974,
0.0064925141632556915,
-0.0027837585657835007,
0.023024095222353935,
-0.012108254246413708,
0.002319068182259798,
0.0033733893651515245,
-0.014563222415745258,
-0.008206607773900032,
0.030915064737200737,
-0.03484301269054413,
-0.010337169282138348,
0.005677113775163889,
0.017553022131323814,
-0.07364904880523682,
0.028793269768357277,
0.03507097437977791,
0.021779075264930725,
-0.06277704238891602,
-0.013134079985320568,
0.017421506345272064,
-0.0045022363774478436,
0.0019694543443620205,
-0.028425024822354317,
0.020656803622841835,
-0.06498651951551437,
-0.0765950083732605,
-0.009933853521943092,
0.028635451570153236,
0.03331742435693741,
-0.031178096309304237,
0.011257782578468323,
0.013440950773656368,
-0.05165954679250717,
-0.005729720462113619,
-0.023550160229206085,
-0.018727900460362434,
-0.04615340381860733,
0.007483269087970257,
-0.04071740061044693,
-0.004103303886950016,
0.021410830318927765,
-0.005146665498614311,
-0.03438708931207657,
0.021235475316643715,
0.010407311841845512,
0.0037525943480432034,
0.03151126950979233,
-0.020323630422353745,
-0.021866751834750175
] |
18,393 | textual._log | LogVerbosity | Tags log messages as being verbose and potentially excluded from output. | class LogVerbosity(Enum):
"""Tags log messages as being verbose and potentially excluded from output."""
NORMAL = 0
HIGH = 1
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.023247752338647842,
-0.02451612800359726,
-0.04291625693440437,
-0.03158775344491005,
0.046113256365060806,
-0.08166251331567764,
-0.03134450316429138,
-0.07408700883388519,
0.0006950001115910709,
-0.05320225656032562,
-0.05535675585269928,
0.027730504050850868,
-0.010346814058721066,
-0.004851969424635172,
0.0019753205124288797,
-0.0005940078990533948,
-0.029693879187107086,
-0.037043504416942596,
0.0385030061006546,
0.05094350501894951,
0.04232550412416458,
0.06835325807332993,
-0.023612627759575844,
-0.00022682522831019014,
0.014551564119756222,
-0.002443359699100256,
-0.021093253046274185,
-0.05493975803256035,
-0.03144875541329384,
-0.028182253241539,
-0.06543426215648651,
-0.07408700883388519,
0.0017592189833521843,
-0.023734252899885178,
-0.06220250949263573,
-0.01813950203359127,
-0.012544752098619938,
0.025384878739714622,
-0.09111451357603073,
0.04024050384759903,
-0.024116503074765205,
-0.00542968837544322,
-0.06453076004981995,
-0.016740813851356506,
-0.014456002041697502,
-0.0298676285892725,
0.022153127938508987,
0.044584255665540695,
-0.026496877893805504,
-0.046078506857156754,
0.025697628036141396,
0.028338627889752388,
0.011815001256763935,
-0.004267734941095114,
-0.01123293861746788,
0.0216318778693676,
0.03167463093996048,
-0.019651127979159355,
-0.01907775178551674,
0.0014421251835301518,
-0.07631100714206696,
0.026166753843426704,
-0.013335314579308033,
-0.012657688930630684,
-0.0007606993312947452,
-0.039476003497838974,
-0.01952950283885002,
0.03759950399398804,
-0.015958938747644424,
0.051325757056474686,
-0.02687912806868553,
-0.05747650936245918,
0.012796688824892044,
0.007301844656467438,
-0.04117875546216965,
0.016497565433382988,
-0.052020758390426636,
0.0755465105175972,
-0.009981938637793064,
0.021128002554178238,
0.029989253729581833,
-0.009730000980198383,
0.03289087861776352,
0.000917617289815098,
0.0023521408438682556,
-0.0312923789024353,
-0.014308314770460129,
-0.04076175391674042,
0.028547128662467003,
0.023508377373218536,
-0.07909101247787476,
0.04020575433969498,
0.0022978440392762423,
0.02354312874376774,
-0.026305753737688065,
0.028164878487586975,
-0.0042047505266964436,
-0.00023890628654044122,
-0.017739877104759216,
-0.03666125610470772,
-0.018017876893281937,
0.037981756031513214,
0.05000525712966919,
-0.021892502903938293,
-0.05139525607228279,
-0.06883975863456726,
-0.036904506385326385,
0.01363068912178278,
0.04805925488471985,
0.034159254282712936,
0.009617064148187637,
-0.04232550412416458,
-0.017262063920497894,
-0.04236025735735893,
-0.006902219727635384,
0.04246450588107109,
-0.02451612800359726,
-0.015515876933932304,
-0.020537253469228745,
0.038259755820035934,
0.001024582190439105,
0.03511488065123558,
-0.020867377519607544,
-0.013578563928604126,
0.007406094577163458,
0.06004800647497177,
-0.0062072197906672955,
-0.00141280482057482,
-0.009339063428342342,
0.06407900899648666,
-0.003164422232657671,
0.00946937594562769,
0.0404837541282177,
-0.006294094491750002,
0.05417525768280029,
-0.014073751866817474,
0.004404562991112471,
0.032300129532814026,
0.043889254331588745,
0.0700560063123703,
-0.0017733362037688494,
-0.00965181365609169,
-0.01084200106561184,
-0.050908755511045456,
0.05869275704026222,
0.029746003448963165,
0.03256075456738472,
-0.009947189129889011,
-0.030336754396557808,
0.020120251923799515,
0.04454950615763664,
-0.04090075567364693,
-0.06498251110315323,
0.05181225761771202,
0.03374225273728371,
-0.009530188515782356,
-0.0025606409180909395,
-0.07651951164007187,
0.015290002338588238,
-0.04229075461626053,
-0.008161907084286213,
-0.04180425405502319,
0.035184379667043686,
-0.03494112938642502,
-0.003175281686708331,
0.0364527553319931,
0.00840515736490488,
0.04357650503516197,
0.019425252452492714,
-0.00708031328395009,
-0.03898950666189194,
-0.004582657013088465,
0.003690016223117709,
0.027713129296898842,
0.016358565539121628,
0.09326901286840439,
0.015316064469516277,
0.06574700772762299,
-0.008492032065987587,
-0.011736813932657242,
0.01360462699085474,
0.016080563887953758,
-0.06515625864267349,
0.03018037974834442,
0.03130975365638733,
0.005877094343304634,
0.031083879992365837,
-0.018017876893281937,
-0.03508013114333153,
-0.027226628735661507,
0.04600900784134865,
-0.04270775616168976,
0.040171004831790924,
-0.05622550845146179,
0.00272135972045362,
0.021128002554178238,
-0.04646075516939163,
-0.0824270099401474,
0.08784801512956619,
-0.04590475559234619,
0.004982281941920519,
0.0528547577559948,
-0.03985825553536415,
0.010425001382827759,
0.012727188877761364,
0.016871126368641853,
0.0192515030503273,
-0.019685877487063408,
-0.05560000613331795,
-0.04051850363612175,
-0.04441050440073013,
-0.012770626693964005,
0.035010628402233124,
0.05004000663757324,
0.008704876527190208,
-0.06918726116418839,
0.010503188706934452,
0.05827575922012329,
-0.061646509915590286,
0.051603756844997406,
0.08409500867128372,
-0.07241901010274887,
0.01383918896317482,
0.011667313985526562,
0.012127751484513283,
0.0405532568693161,
0.04406300559639931,
-0.022031502798199654,
-0.0015279143117368221,
0.00794471986591816,
-0.01123293861746788,
0.019894378259778023,
-0.013361376710236073,
0.03097962960600853,
-0.03742575645446777,
0.08590201288461685,
-0.010798564180731773,
0.03353375568985939,
-0.01966850273311138,
-0.006806657183915377,
-0.015012001618742943,
0.002580187749117613,
0.018017876893281937,
0.10390251129865646,
0.016593126580119133,
-0.06956950575113297,
0.014968564733862877,
0.044723257422447205,
0.02288287878036499,
0.043924007564783096,
-0.029033629223704338,
-0.04715575650334358,
-0.03819025680422783,
-0.007384376134723425,
0.0333426296710968,
-0.037842754274606705,
-0.06018700823187828,
0.0017820236971601844,
-0.01060743909329176,
-0.03801650553941727,
-0.03475000336766243,
-0.0059465947560966015,
-0.010485813952982426,
0.034402504563331604,
0.0113458763808012,
0.008887313306331635,
0.04812875762581825,
-0.08270501345396042,
0.034072380512952805,
0.058171506971120834,
0.0893770083785057,
0.021927252411842346,
-0.02479412779211998,
0.003627031808719039,
-0.056260257959365845,
-0.0005744610098190606,
0.017644314095377922,
0.014308314770460129,
0.012475251220166683,
0.0460437573492527,
0.02385587804019451,
0.028182253241539,
-0.02288287878036499,
-0.003644406795501709,
0.007792688440531492,
0.010503188706934452,
-0.002162101911380887,
-0.015802564099431038,
-0.02409912832081318,
-0.0022413753904402256,
0.049692507833242416,
0.027000753208994865,
0.06835325807332993,
0.0016202189726755023,
0.06327975541353226,
-0.008835189044475555,
0.013222376815974712,
-0.0014497267547994852,
0.04076175391674042,
-0.020224502310156822,
0.01493381429463625,
-0.03478475287556648,
0.06484350562095642,
-0.0267922542989254,
-0.021962003782391548,
0.052576757967472076,
0.01980750262737274,
-0.050908755511045456,
-0.0009974336717277765,
0.015906814485788345,
-0.041839007288217545,
0.07123751193284988,
-0.0032730160746723413,
0.000891554809641093,
-0.01949475333094597,
0.03172675520181656,
-0.002330422168597579,
0.001134804799221456,
-0.036765504628419876,
0.0646350085735321,
-0.05577375739812851,
0.04357650503516197,
0.03136187791824341,
-0.047746505588293076,
-0.02027662843465805,
-0.07207150757312775,
0.022431127727031708,
0.027469879016280174,
0.014256189577281475,
-0.045939505100250244,
-0.03170938044786453,
-0.05441850796341896,
0.03190050274133682,
0.029172629117965698,
-0.037043504416942596,
0.0015116252470761538,
0.023282503709197044,
-0.011545688845217228,
0.0034033285919576883,
-0.02218787744641304,
-0.006285407114773989,
0.004825906828045845,
-0.030875379219651222,
0.04368075728416443,
0.0405532568693161,
0.0011065704748034477,
-0.004999656695872545,
0.01518575195223093,
0.05671200901269913,
0.024220753461122513,
0.07596351206302643,
-0.004639125429093838,
-0.05313275754451752,
0.020033378154039383,
0.030336754396557808,
-0.047051507979631424,
0.0039289225824177265,
-0.1223200187087059,
0.04673875495791435,
0.023108752444386482,
-0.053793005645275116,
0.038815755397081375,
-0.0018428361508995295,
0.008739626035094261,
0.007983813993632793,
-0.010251251049339771,
0.036591753363609314,
-0.06877025961875916,
0.05608650669455528,
0.031049128621816635,
-0.0018938753055408597,
-0.037008754909038544,
0.018904002383351326,
0.0009111016988754272,
-0.030110878869891167,
0.0432637557387352,
-0.00007201123662525788,
-0.0017146955942735076,
-0.003905031830072403,
0.03445462882518768,
0.012970439158380032,
0.02241375297307968,
-0.020676253363490105,
0.0132136894389987,
-0.006354907061904669,
-0.011015751399099827,
0.057233259081840515,
0.0384335033595562,
-0.03167463093996048,
0.05313275754451752,
-0.040344756096601486,
0.020450377836823463,
-0.012014813721179962,
-0.017401065677404404,
0.003051484702154994,
-0.0046912506222724915,
-0.042395006865262985,
0.01833062805235386,
0.02069362811744213,
-0.005486156791448593,
-0.01999862678349018,
0.03502800315618515,
-0.010981001891195774,
-0.016984064131975174,
-0.03245650604367256,
0.00678059458732605,
0.004432797431945801,
0.023699503391981125,
-0.02512425370514393,
-0.03940650448203087,
0.003739969339221716,
-0.016636565327644348,
-0.03447200357913971,
-0.016958002001047134,
0.009669188410043716,
-0.0377732552587986,
0.08353900909423828,
-0.004517500754445791,
-0.008809125982224941,
-0.011224251240491867,
0.015064126811921597,
-0.031136004254221916,
0.07818751037120819,
0.08006401360034943,
0.042812004685401917,
-0.00210780487395823,
0.005620813462883234,
0.02762625366449356,
0.027174504473805428,
-0.011241626925766468,
-0.0008291134145110846,
0.013178938999772072,
-0.02251800335943699,
-0.06640725582838058,
0.03568825498223305,
-0.048267755657434464,
-0.03561875596642494,
-0.027522003278136253,
-0.008830845355987549,
0.06008275970816612,
0.018400127068161964,
-0.010268626734614372,
0.02251800335943699,
0.019234128296375275,
0.06605976074934006,
-0.018591253086924553,
-0.001204304862767458,
0.01514231413602829,
0.0680057555437088,
-0.04646075516939163,
-0.016124002635478973,
-0.004289453849196434,
-0.03191787749528885,
-0.003609656821936369,
0.0419432558119297,
-0.050352755934000015,
-0.09869001060724258,
-0.003818156663328409,
-0.02884250320494175,
-0.07992500811815262,
0.030406253412365913,
0.03120550327003002,
-0.07304450869560242,
0.0007596134091727436,
-0.025002628564834595,
-0.011458814144134521,
0.09167051315307617,
-0.048997506499290466,
-0.021944627165794373,
-0.003294734749943018,
0.037008754909038544,
-0.002087172120809555,
0.018712878227233887,
-0.037981756031513214,
-0.02726137824356556,
0.022622253745794296,
0.012171189300715923,
-0.03111862950026989,
-0.021944627165794373,
0.026062503457069397,
0.02298712730407715,
-0.00553393829613924,
-0.006880500819534063,
0.04934500530362129,
-0.003920234739780426,
-0.010294688865542412,
-0.0018059143330901861,
0.03158775344491005,
0.062028758227825165,
-0.014230126515030861,
-0.007923001423478127,
-0.004109187982976437,
0.013152876868844032,
-0.06234150752425194,
0.04163050651550293,
0.005364532116800547,
-0.019425252452492714,
0.00690656341612339,
-0.027973754331469536,
0.04889325797557831,
0.010798564180731773,
-0.04778125509619713,
-0.04958825558423996,
-0.045835256576538086,
0.017705127596855164,
-0.024689877405762672,
0.048823755234479904,
-0.014690564014017582,
-0.015342126600444317,
0.008939438499510288,
0.02157975360751152,
0.038398753851652145,
-0.01209300197660923,
-0.02920737862586975,
0.007727532181888819,
0.001508367364294827,
-0.03389862924814224,
-0.02302187867462635,
0.05236825719475746,
-0.01539425179362297,
-0.01780937798321247,
0.0017624767497181892,
-0.0010712775401771069,
-0.005924875847995281,
0.00843121949583292,
-0.01791362650692463,
-0.007736219558864832,
-0.006233281921595335,
-0.01780937798321247,
0.0549745075404644,
-0.004617406986653805,
-0.027018127962946892,
-0.016341188922524452,
0.030128253623843193,
-0.0009263047832064331,
-0.02795637957751751,
-0.03245650604367256,
0.028390754014253616,
-0.0384335033595562,
0.0025280627887696028,
-0.013248438946902752,
-0.016740813851356506,
-0.017401065677404404,
0.0015800392720848322,
0.021527627483010292,
0.029224753379821777,
-0.02726137824356556,
0.009391188621520996,
0.017566127702593803,
-0.023404128849506378,
-0.014516814611852169,
0.021736128255724907,
-0.05963100865483284,
-0.04934500530362129,
-0.011363251134753227,
0.01686243899166584,
0.007849156856536865,
0.004908438306301832,
0.0371130034327507,
-0.0006265860283747315,
0.02329987846314907,
-0.030336754396557808,
-0.034576255828142166,
-0.03223063051700592,
-0.025836627930402756,
0.004337234888225794,
0.00030813479679636657,
0.04958825558423996,
0.006533001083880663,
0.004017969127744436,
0.02357787825167179,
-0.043750256299972534,
-0.029780754819512367,
-0.014395189471542835,
-0.008948125876486301,
0.06974326074123383,
0.06116000935435295,
0.04256875440478325,
0.028130128979682922,
0.06334926187992096,
-0.056955259293317795,
0.0029689534567296505,
-0.034159254282712936,
-0.05466175824403763,
0.024689877405762672,
0.027469879016280174,
0.025749754160642624,
0.0005625156918540597,
0.04145675525069237,
0.05361925810575485,
-0.019685877487063408,
0.024411877617239952,
0.02842550352215767,
-0.05619075894355774,
-0.05066550523042679,
-0.012275438755750656,
0.029554879292845726,
0.001247742329724133,
0.05139525607228279,
0.049692507833242416,
-0.03930225595831871,
0.004660844337195158,
-0.02149287797510624,
0.008878625929355621,
0.012101689353585243,
-0.0271223783493042,
0.08270501345396042,
-0.02604512870311737,
-0.02307400293648243,
0.04726000502705574,
-0.02260487712919712,
-0.002895109821110964,
-0.03739100322127342,
-0.007201938424259424,
0.03940650448203087,
0.0014464689884334803,
0.03860725462436676,
-0.007297500967979431,
0.007375688292086124,
-0.023421503603458405,
-0.02753937803208828,
0.017236001789569855,
0.0006249570869840682,
-0.030128253623843193,
-0.014707939699292183,
0.034072380512952805,
-0.04805925488471985,
-0.030614754185080528,
-0.03452412784099579,
-0.07881300896406174,
-0.010060125961899757,
0.07123751193284988,
-0.012075626291334629,
-0.048024505376815796,
-0.056955259293317795,
-0.03056262992322445,
-0.006129032000899315,
-0.03780800476670265,
0.011632564477622509,
0.012153814546763897,
0.02088475227355957,
0.030058754608035088,
-0.005738094449043274,
-0.02856450341641903,
0.013126813806593418,
0.04236025735735893,
-0.04131775721907616,
-0.007453876081854105,
0.015316064469516277,
-0.07679750770330429,
0.024967879056930542,
0.0487542562186718,
-0.02790425345301628,
0.042951006442308426,
-0.03749525547027588,
0.04868475720286369,
0.013448251411318779,
0.07672800868749619,
0.062445759773254395,
0.016636565327644348,
-0.03742575645446777,
-0.0015105392085388303,
0.06887450814247131,
-0.000305419962387532,
0.039893005043268204,
-0.006789281964302063,
-0.015507189556956291,
-0.062028758227825165,
0.09591001272201538,
-0.06856176257133484,
0.036383256316185,
0.03391600400209427,
0.025089504197239876,
0.02130175195634365,
-0.04562675580382347,
0.03763425350189209,
0.0264273788779974,
0.09646601229906082,
0.020450377836823463,
-0.04798975586891174,
-0.0027343910187482834,
0.06904825568199158,
0.015880752354860306,
-0.050352755934000015,
0.07610251009464264,
0.022205252200365067,
-0.06140325963497162,
0.00848768837749958,
0.03480213135480881,
-0.013335314579308033,
-0.08256600797176361,
-0.07394801080226898,
-0.07130701094865799,
0.005590407177805901,
0.012927001342177391,
0.0013845704961568117,
0.0072584073059260845,
-0.027747878804802895,
-0.0025150314904749393,
-0.04885850474238396,
0.03624425455927849,
-0.011311126872897148,
-0.028408128768205643,
0.02757412940263748,
-0.011519626714289188,
-0.033429503440856934,
0.017062252387404442,
-0.05122150853276253,
0.07936900854110718,
-0.02828650362789631,
0.010781188495457172,
0.06995175778865814,
-0.008300906978547573,
-0.00948675163090229,
-0.002208797261118889,
0.02674012817442417,
-0.02190987765789032,
0.013448251411318779,
-0.027504628524184227,
0.0030905785970389843,
-0.03961500525474548,
0.0021425550803542137,
-0.016766877844929695,
0.03535813093185425,
-0.014707939699292183,
-0.0029515784699469805,
-0.037182506173849106,
0.020537253469228745,
0.0027582815382629633,
-0.028946753591299057,
0.001878672163002193,
-0.05330650880932808,
-0.08604101091623306,
-0.019477376714348793,
0.017262063920497894,
0.0446537546813488,
-0.05348025634884834,
-0.016236940398812294,
0.053237006068229675,
0.0041678287088871,
0.02251800335943699,
0.011641251854598522,
0.0028147504199296236,
-0.06116000935435295,
-0.0412135049700737,
-0.015263939276337624,
0.05566950887441635,
0.03933700546622276,
-0.026479503139853477,
-0.02804325334727764,
0.01774856448173523,
-0.036487504839897156,
-0.007723188493400812,
-0.01722731441259384,
0.042082253843545914,
-0.011363251134753227,
0.029902378097176552,
-0.03819025680422783,
-0.025176377967000008,
-0.014134564436972141,
0.0168363768607378,
-0.037043504416942596,
0.011867126449942589,
0.046356506645679474,
-0.005738094449043274,
0.06015225872397423,
-0.029190003871917725,
-0.011823688633739948
] |
18,394 | textual | Logger | A Textual logger. | class Logger:
"""A Textual logger."""
def __init__(
self,
log_callable: LogCallable | None,
group: LogGroup = LogGroup.INFO,
verbosity: LogVerbosity = LogVerbosity.NORMAL,
) -> None:
self._log = log_callable
self._group = group
self._verbosity = verbosity
def __rich_repr__(self) -> rich.repr.Result:
yield self._group, LogGroup.INFO
yield self._verbosity, LogVerbosity.NORMAL
def __call__(self, *args: object, **kwargs) -> None:
if constants.LOG_FILE:
output = " ".join(str(arg) for arg in args)
if kwargs:
key_values = " ".join(
f"{key}={value!r}" for key, value in kwargs.items()
)
output = f"{output} {key_values}" if output else key_values
with open(constants.LOG_FILE, "a") as log_file:
print(output, file=log_file)
try:
app = active_app.get()
except LookupError:
print_args = (*args, *[f"{key}={value!r}" for key, value in kwargs.items()])
print(*print_args)
return
if app.devtools is None or not app.devtools.is_connected:
return
current_frame = inspect.currentframe()
assert current_frame is not None
previous_frame = current_frame.f_back
assert previous_frame is not None
caller = inspect.getframeinfo(previous_frame)
_log = self._log or app._log
try:
_log(
self._group,
self._verbosity,
caller,
*args,
**kwargs,
)
except LoggerError:
# If there is not active app, try printing
print_args = (*args, *[f"{key}={value!r}" for key, value in kwargs.items()])
print(*print_args)
def verbosity(self, verbose: bool) -> Logger:
"""Get a new logger with selective verbosity.
Args:
verbose: True to use HIGH verbosity, otherwise NORMAL.
Returns:
New logger.
"""
verbosity = LogVerbosity.HIGH if verbose else LogVerbosity.NORMAL
return Logger(self._log, self._group, verbosity)
@property
def verbose(self) -> Logger:
"""A verbose logger."""
return Logger(self._log, self._group, LogVerbosity.HIGH)
@property
def event(self) -> Logger:
"""Logs events."""
return Logger(self._log, LogGroup.EVENT)
@property
def debug(self) -> Logger:
"""Logs debug messages."""
return Logger(self._log, LogGroup.DEBUG)
@property
def info(self) -> Logger:
"""Logs information."""
return Logger(self._log, LogGroup.INFO)
@property
def warning(self) -> Logger:
"""Logs warnings."""
return Logger(self._log, LogGroup.WARNING)
@property
def error(self) -> Logger:
"""Logs errors."""
return Logger(self._log, LogGroup.ERROR)
@property
def system(self) -> Logger:
"""Logs system information."""
return Logger(self._log, LogGroup.SYSTEM)
@property
def logging(self) -> Logger:
"""Logs from stdlib logging module."""
return Logger(self._log, LogGroup.LOGGING)
@property
def worker(self) -> Logger:
"""Logs worker information."""
return Logger(self._log, LogGroup.WORKER)
| (log_callable: 'LogCallable | None', group: 'LogGroup' = <LogGroup.INFO: 3>, verbosity: 'LogVerbosity' = <LogVerbosity.NORMAL: 0>) -> 'None' | [
0.029256636276841164,
-0.039181217551231384,
-0.044352345168590546,
0.042363449931144714,
0.07876021414995193,
-0.012569812126457691,
-0.033970315009355545,
-0.018834829330444336,
0.0026452294550836086,
-0.01393220480531454,
0.0036098433192819357,
-0.0041418722830712795,
0.04486945644021034,
0.00963619351387024,
-0.026392627507448196,
0.006265017203986645,
0.012927813455462456,
-0.038564663380384445,
0.06642907112836838,
0.019262442365288734,
0.039399996399879456,
0.03275708854198456,
0.04526723548769951,
0.008169383741915226,
-0.021678948774933815,
0.012311256490647793,
-0.03486531972885132,
0.0056534321047365665,
-0.002602965570986271,
-0.01234108954668045,
-0.06344573199748993,
-0.10254739224910736,
-0.0039230939000844955,
-0.002814285457134247,
0.002007540315389633,
-0.04701746255159378,
-0.02549762651324272,
0.007229630835354328,
-0.0451081246137619,
-0.021440280601382256,
0.0069710747338831425,
0.011306864209473133,
0.05811549350619316,
-0.05461503937840462,
-0.04570479318499565,
-0.007468298077583313,
0.04558545723557472,
0.08623845875263214,
-0.030807973816990852,
-0.03247864544391632,
0.041408780962228775,
0.014210649766027927,
-0.020286722108721733,
-0.006707546301186085,
-0.023966176435351372,
0.04657990485429764,
0.048290353268384933,
-0.03259797766804695,
0.011406308971345425,
-0.057717714458703995,
-0.02018727734684944,
0.027387075126171112,
0.041647449135780334,
0.017621604725718498,
-0.006871629972010851,
-0.003778899321332574,
-0.01186375506222248,
0.040096111595630646,
-0.00789093878120184,
0.02207672782242298,
-0.02999252639710903,
-0.06237172707915306,
0.02044583484530449,
-0.002114443341270089,
-0.04976213723421097,
-0.012699090875685215,
-0.059706609696149826,
0.005539070814847946,
0.057479046285152435,
-0.01211236696690321,
0.007910827174782753,
0.005951766390353441,
-0.0002876127837225795,
0.004064803011715412,
0.058911051601171494,
-0.024045731872320175,
-0.026531850919127464,
0.01588132232427597,
0.03900221735239029,
0.003977788612246513,
-0.07478243112564087,
0.059269051998853683,
0.010113527998328209,
0.01800943911075592,
-0.017084602266550064,
-0.048290353268384933,
-0.008263856172561646,
0.008388161659240723,
-0.004716165829449892,
0.020177332684397697,
-0.03430842608213425,
0.042005449533462524,
0.016577433794736862,
0.005370014812797308,
-0.026989296078681946,
-0.026651185005903244,
-0.08162422478199005,
0.05887127295136452,
0.05823482573032379,
0.013594092801213264,
-0.0335327573120594,
-0.04490923509001732,
-0.011465976014733315,
-0.014747651293873787,
0.01063064020127058,
0.01836743950843811,
-0.04892680048942566,
-0.023647954687476158,
0.00983011070638895,
-0.024045731872320175,
-0.011008529923856258,
-0.00008584876195527613,
-0.01145603135228157,
-0.02305128611624241,
-0.01848677359521389,
0.007527965120971203,
-0.03249853476881981,
-0.009666026569902897,
0.04303967207670212,
-0.03685421124100685,
-0.005573876202106476,
0.01831771619617939,
-0.0009683429379947484,
-0.0036794545594602823,
0.09029580652713776,
0.04005633294582367,
-0.05950772017240524,
0.0286003015935421,
-0.040096111595630646,
0.08989802747964859,
-0.04192589223384857,
-0.04467056691646576,
-0.019878998398780823,
0.05023946985602379,
-0.0030032305512577295,
-0.002184054581448436,
0.02374739944934845,
0.051472585648298264,
0.003418412059545517,
-0.0037192325107753277,
0.022375062108039856,
-0.033850982785224915,
-0.012917868793010712,
0.052148811519145966,
-0.016756435856223106,
0.02953508123755455,
-0.0152349304407835,
0.013653759844601154,
0.0432385616004467,
-0.05437637120485306,
-0.04232367128133774,
-0.0638435110449791,
0.025577181950211525,
-0.031981419771909714,
-0.0007010852568782866,
0.035740431398153305,
0.02953508123755455,
-0.02317061834037304,
-0.0027247853577136993,
0.07390731573104858,
-0.05930883064866066,
-0.0167663786560297,
-0.00296593876555562,
0.039041996002197266,
-0.05230792239308357,
0.09411448240280151,
-0.027963854372501373,
0.031245529651641846,
-0.04053366556763649,
0.009919610805809498,
0.0025805903133004904,
-0.0468185730278492,
-0.08345400542020798,
0.00400016363710165,
0.007955577224493027,
0.024264510720968246,
0.021062390878796577,
-0.002985827624797821,
0.009452220052480698,
0.024881068617105484,
-0.02645229548215866,
-0.018974052742123604,
0.07911821454763412,
-0.021818170323967934,
0.0017104491125792265,
0.05202947556972504,
-0.05930883064866066,
-0.04101100191473961,
0.05509237200021744,
-0.0566834881901741,
0.020843612030148506,
0.07350953668355942,
-0.010779807344079018,
-0.03836577385663986,
-0.0039504412561655045,
0.0009061899618245661,
0.017044825479388237,
0.05083613842725754,
-0.07339020073413849,
-0.021201614290475845,
0.021082280203700066,
-0.03317475691437721,
0.007363881450146437,
0.04351700842380524,
0.03806743770837784,
-0.044471677392721176,
0.04809146374464035,
0.020406056195497513,
-0.045426346361637115,
0.02953508123755455,
0.0701284185051918,
0.013733315281569958,
-0.037152547389268875,
0.027267741039395332,
-0.054893482476472855,
0.010332305915653706,
0.07144108414649963,
-0.005360070150345564,
0.053938813507556915,
-0.04284078627824783,
0.03128530830144882,
-0.018427105620503426,
-0.01412114966660738,
0.03174275532364845,
-0.05047813802957535,
0.0026502017863094807,
-0.012500201351940632,
0.04622190445661545,
0.012430589646100998,
0.017810549587011337,
-0.01281842403113842,
0.017571881413459778,
0.05835416167974472,
0.05708126723766327,
0.01700504682958126,
-0.0536205917596817,
0.00945719238370657,
0.03401009365916252,
0.009288136847317219,
0.005295431241393089,
-0.004810638260096312,
-0.0202568881213665,
-0.029733970761299133,
-0.03128530830144882,
-0.018277939409017563,
-0.016159767284989357,
-0.024065621197223663,
0.026492072269320488,
0.00920858047902584,
-0.027088740840554237,
0.011744420975446701,
0.030390305444598198,
0.0249407347291708,
0.04144855961203575,
0.020316556096076965,
-0.014200706034898758,
0.009641165845096111,
-0.07963532954454422,
0.02895830199122429,
0.04124967008829117,
0.05739949271082878,
0.04610257223248482,
0.017631549388170242,
0.045187678188085556,
-0.08146511018276215,
-0.06674729287624359,
-0.0182182714343071,
-0.0074086314998567104,
-0.07004886120557785,
0.04864835739135742,
0.03701332211494446,
-0.011088086292147636,
0.0222159493714571,
0.004124469589442015,
0.03629732131958008,
-0.014499039389193058,
-0.0013126702979207039,
-0.023647954687476158,
0.030430084094405174,
-0.02692962996661663,
0.05019969493150711,
0.025955071672797203,
0.030091971158981323,
0.013554315082728863,
0.022752951830625534,
0.01234108954668045,
-0.06459929049015045,
0.027347296476364136,
-0.00796552188694477,
-0.060064610093832016,
0.0413690023124218,
-0.005618626717478037,
0.053103480488061905,
0.01294770184904337,
-0.00954172108322382,
0.003405981697142124,
-0.009203609079122543,
-0.03412942588329315,
0.004989638924598694,
-0.030032305046916008,
-0.016428267583251,
0.03496476262807846,
0.057837046682834625,
-0.007224658969789743,
-0.05326259136199951,
0.013076980598270893,
0.011187531054019928,
-0.02446340024471283,
-0.000314804696245119,
0.07768621295690536,
-0.025477737188339233,
0.05942816287279129,
-0.015622764825820923,
0.013872537761926651,
0.03713265806436539,
-0.05330237001180649,
0.032776977866888046,
0.020028166472911835,
-0.017323270440101624,
-0.007204769644886255,
-0.07414598017930984,
0.0058771828189492226,
-0.016159767284989357,
0.02163917012512684,
-0.004688818473368883,
-0.006861685309559107,
-0.031006863340735435,
-0.03327420353889465,
0.030768195167183876,
-0.07008863985538483,
-0.0009490755037404597,
0.0014344900846481323,
-0.0687759667634964,
-0.00859699584543705,
0.0028366604819893837,
0.014926652424037457,
0.046858351677656174,
0.04015577584505081,
0.045307014137506485,
-0.00750310393050313,
0.06607107073068619,
-0.019998332485556602,
-0.0728730857372284,
-0.022036949172616005,
-0.025099847465753555,
-0.08607934415340424,
-0.03204108774662018,
-0.04419323429465294,
0.005618626717478037,
0.019759666174650192,
0.0006215294706635177,
0.01607026718556881,
-0.038803327828645706,
0.030788084492087364,
-0.019262442365288734,
-0.003398523200303316,
0.034447651356458664,
-0.027267741039395332,
0.03611832112073898,
-0.0028615216724574566,
0.008069938980042934,
-0.062212616205215454,
0.05366037040948868,
0.009119080379605293,
-0.047335684299468994,
0.037967994809150696,
0.03854477405548096,
-0.010839474387466908,
-0.031245529651641846,
0.013156536035239697,
0.08655668050050735,
0.0505576953291893,
0.0258755162358284,
-0.002662632381543517,
-0.009785360656678677,
-0.03848510608077049,
0.001668185112066567,
0.03214053437113762,
-0.0025358402635902166,
0.015244875103235245,
0.025776071473956108,
0.0038683994207531214,
-0.0354023203253746,
-0.007721882313489914,
-0.01661721244454384,
-0.036675211042165756,
-0.023190507665276527,
0.04467056691646576,
-0.033254314213991165,
-0.021937504410743713,
0.0033910649362951517,
0.03611832112073898,
0.010610751807689667,
-0.03355264663696289,
-0.000491008278913796,
0.03498465195298195,
0.04880746826529503,
0.005166152957826853,
-0.002469958271831274,
0.00840805098414421,
0.03512387350201607,
-0.03605865314602852,
-0.061257947236299515,
-0.01500620786100626,
0.037033211439847946,
-0.07052619755268097,
0.050875917077064514,
-0.0024339095689356327,
0.0037689548917114735,
0.017333215102553368,
-0.02730751968920231,
0.0017589284107089043,
0.07044664025306702,
0.059269051998853683,
0.03186208754777908,
0.023787176236510277,
-0.0936371460556984,
0.03725199028849602,
0.039141442626714706,
-0.009869888424873352,
-0.02563684806227684,
-0.0002905650471802801,
-0.020227055996656418,
-0.005384931340813637,
-0.009432331658899784,
-0.05457526072859764,
-0.017989549785852432,
0.023667842149734497,
0.014747651293873787,
0.045307014137506485,
0.0016346225747838616,
-0.042363449931144714,
0.05620615556836128,
0.008497551083564758,
0.0004437720635905862,
0.01554320938885212,
-0.0024997915606945753,
0.03305542469024658,
-0.01867571845650673,
0.002517194487154484,
0.013604037463665009,
0.030310750007629395,
-0.019222663715481758,
-0.001964033115655184,
0.00003049379120056983,
-0.036913879215717316,
-0.023329731076955795,
-0.008557218126952648,
0.019640332087874413,
0.034189093858003616,
0.0089798578992486,
0.020724279806017876,
-0.009939499199390411,
-0.009124052710831165,
-0.04419323429465294,
-0.02159939333796501,
0.1182994395494461,
-0.061019279062747955,
-0.09403492510318756,
-0.04467056691646576,
0.13460837304592133,
0.04379545524716377,
0.031146084889769554,
-0.005394876003265381,
-0.033731646835803986,
0.03578021004796028,
0.006021377630531788,
-0.05517192929983139,
-0.04387500882148743,
-0.017750881612300873,
-0.028640078380703926,
-0.013743259944021702,
-0.005474431905895472,
-0.010163250379264355,
-0.06157616898417473,
0.0012424373999238014,
0.07255486398935318,
0.006031322292983532,
0.0468185730278492,
-0.01743265986442566,
-0.05385925993323326,
0.040851891040802,
-0.0219573937356472,
-0.012888035736978054,
-0.019600553438067436,
-0.007672159932553768,
0.006046238820999861,
-0.0008061237167567015,
-0.004231372848153114,
-0.009357747621834278,
-0.01009363867342472,
-0.05151236429810524,
0.0202568881213665,
0.02386673167347908,
0.05803593620657921,
-0.06615062803030014,
0.021440280601382256,
0.05210903286933899,
-0.013564259745180607,
-0.008045077323913574,
0.0171939916908741,
0.022892173379659653,
-0.02197728306055069,
-0.04264189675450325,
-0.0350642092525959,
-0.09650115668773651,
-0.05755860358476639,
-0.005384931340813637,
0.037152547389268875,
-0.06674729287624359,
-0.0002796882763504982,
0.03749065846204758,
0.006046238820999861,
-0.049443915486335754,
0.024741845205426216,
0.00004082671875949018,
0.02565673738718033,
0.04864835739135742,
-0.02597496099770069,
0.06750307232141495,
-0.011853810399770737,
0.01258970145136118,
-0.010859362781047821,
-0.011635031551122665,
-0.011187531054019928,
0.0481710210442543,
-0.045903682708740234,
-0.03707299008965492,
0.00008180881559383124,
0.003207092173397541,
0.004300984088331461,
0.032200198620557785,
-0.02589540369808674,
-0.020744167268276215,
0.0003698100335896015,
-0.05875194072723389,
0.015394042246043682,
-0.0005211524548940361,
0.0021741101518273354,
-0.01918288692831993,
0.011048308573663235,
-0.012082532979547977,
0.0274069644510746,
0.03359242528676987,
-0.035143762826919556,
0.03894255310297012,
0.028500856831669807,
0.035740431398153305,
0.043318118900060654,
-0.006444017868489027,
0.005618626717478037,
0.013176425360143185,
-0.052506811916828156,
-0.05803593620657921,
0.02999252639710903,
-0.0033065369352698326,
0.0249407347291708,
0.021480059251189232,
-0.016328822821378708,
-0.035143762826919556,
-0.007816354744136333,
0.02362806536257267,
-0.0196602214127779,
0.001614733599126339,
-0.022176172584295273,
0.08417000621557236,
0.025477737188339233,
0.06177505850791931,
0.04844946786761284,
-0.0028316883835941553,
0.002269825665280223,
0.013116758316755295,
0.0023406799882650375,
-0.08759091049432755,
-0.012231700122356415,
0.005320292431861162,
0.004631637595593929,
0.03759010508656502,
0.0065633514896035194,
-0.0018185952212661505,
-0.04007622227072716,
0.01199303288012743,
0.016487933695316315,
-0.03223997727036476,
0.03991711139678955,
0.04502856731414795,
-0.003667023964226246,
0.012609589844942093,
0.0560072660446167,
0.025716403499245644,
-0.07203775644302368,
0.003294106340035796,
-0.023608176037669182,
-0.08234022557735443,
0.009631221182644367,
-0.0320013090968132,
0.057598382234573364,
0.018765218555927277,
-0.003505426226183772,
0.03235930949449539,
-0.06694618612527847,
-0.009044497273862362,
-0.011406308971345425,
-0.04180656000971794,
0.024861179292201996,
-0.050159916281700134,
-0.042602118104696274,
0.04713679477572441,
0.06909418851137161,
0.018277939409017563,
0.024781623855233192,
-0.00020324013894423842,
-0.042482782155275345,
-0.017372991889715195,
-0.01729343645274639,
0.02161928080022335,
-0.026054516434669495,
-0.06992952525615692,
-0.03186208754777908,
-0.044113676995038986,
0.0179597157984972,
0.017283491790294647,
0.004566998686641455,
-0.04502856731414795,
0.01192342210561037,
-0.026392627507448196,
0.0274069644510746,
-0.02527884766459465,
-0.0249407347291708,
-0.01753210462629795,
0.012868146412074566,
-0.040712665766477585,
-0.03391064703464508,
-0.04363634064793587,
0.006210322491824627,
0.029276525601744652,
0.004189108964055777,
-0.024622512981295586,
0.043079450726509094,
-0.04705724120140076,
-0.010809640400111675,
0.026551740244030952,
-0.027745075523853302,
0.0231507308781147,
-0.06344573199748993,
0.02003811113536358,
0.00393303856253624,
0.010312417522072792,
-0.0029808555264025927,
0.05966683104634285,
0.00016486069944221526,
0.004308442585170269,
0.0152349304407835,
-0.005882155150175095,
0.03470620512962341,
-0.018765218555927277,
0.03416920453310013,
-0.002006297232583165,
0.09793315827846527,
-0.011853810399770737,
0.025696514174342155,
-0.007985411211848259,
0.004199053160846233,
-0.011804088018834591,
0.007174936588853598,
0.026631295680999756,
0.013792982324957848,
0.05648459866642952,
0.004415345378220081,
-0.09387581050395966,
-0.01081958506256342,
0.07641331851482391,
-0.049801915884017944,
-0.025437958538532257,
0.019640332087874413,
0.043318118900060654,
-0.0013052119174972177,
0.002772021573036909,
0.02279272861778736,
-0.07868066430091858,
-0.05588793009519577,
0.010958807542920113,
-0.001722879707813263,
0.008880413137376308,
-0.01767132617533207,
-0.020585056394338608,
-0.039419885724782944,
-0.09188692271709442,
-0.019998332485556602,
-0.07876021414995193,
0.01652771234512329,
-0.0030529529321938753,
0.03416920453310013,
-0.0024252079892903566,
-0.008398106321692467,
0.011426198296248913,
-0.008646718226373196,
-0.019341997802257538,
0.029017968103289604,
-0.015314486809074879,
0.027128519490361214,
0.0815446674823761,
0.05206925421953201,
-0.0456252358853817,
0.005628570914268494,
-0.04455123469233513,
-0.002739701885730028,
-0.011068196967244148,
-0.0498814694583416,
0.0016408378724008799,
-0.020117666572332382,
0.0350642092525959,
0.040454111993312836,
-0.03971822187304497,
0.0377889946103096,
0.0686168521642685,
-0.026889851316809654,
-0.010899141430854797,
0.040513776242733,
-0.020883390679955482,
-0.011267086490988731,
0.0005963575677014887,
-0.06965108215808868,
0.025219179689884186,
0.022295504808425903,
-0.018695607781410217,
-0.020604945719242096,
-0.04646057263016701,
0.009889776818454266,
-0.051910143345594406,
-0.00983011070638895,
-0.011734476312994957,
-0.03430842608213425,
0.03084775060415268,
0.006041266489773989,
0.011635031551122665,
0.03307531401515007,
0.02551751397550106,
0.007219686638563871,
0.01879505254328251,
0.05254659056663513,
-0.015215042047202587,
-0.04019555449485779,
-0.01452887337654829,
0.046500351279973984,
-0.006240156013518572,
0.027267741039395332,
-0.04864835739135742,
-0.00629485072568059,
-0.04359656572341919,
0.0010566001292318106,
-0.02269328385591507,
-0.013216203078627586,
0.022892173379659653,
0.07426531612873077,
0.07144108414649963,
-0.04268167167901993,
0.04467056691646576
] |
18,395 | textual | __call__ | null | def __call__(self, *args: object, **kwargs) -> None:
if constants.LOG_FILE:
output = " ".join(str(arg) for arg in args)
if kwargs:
key_values = " ".join(
f"{key}={value!r}" for key, value in kwargs.items()
)
output = f"{output} {key_values}" if output else key_values
with open(constants.LOG_FILE, "a") as log_file:
print(output, file=log_file)
try:
app = active_app.get()
except LookupError:
print_args = (*args, *[f"{key}={value!r}" for key, value in kwargs.items()])
print(*print_args)
return
if app.devtools is None or not app.devtools.is_connected:
return
current_frame = inspect.currentframe()
assert current_frame is not None
previous_frame = current_frame.f_back
assert previous_frame is not None
caller = inspect.getframeinfo(previous_frame)
_log = self._log or app._log
try:
_log(
self._group,
self._verbosity,
caller,
*args,
**kwargs,
)
except LoggerError:
# If there is not active app, try printing
print_args = (*args, *[f"{key}={value!r}" for key, value in kwargs.items()])
print(*print_args)
| (self, *args: object, **kwargs) -> NoneType | [
0.004695415496826172,
-0.07432863861322403,
-0.014164621941745281,
0.03534030541777611,
0.049666427075862885,
-0.05924250930547714,
-0.024890214204788208,
-0.015219131484627724,
0.029032250866293907,
-0.031179269775748253,
-0.02724623493850231,
0.0001640248519834131,
0.04472638666629791,
-0.008578574284911156,
-0.0016292640939354897,
0.005258295219391584,
0.0142311230301857,
-0.011390598490834236,
0.03967234119772911,
0.0031231518369168043,
0.03319328650832176,
0.04126835614442825,
0.006118052639067173,
0.01028858870267868,
0.007348313461989164,
0.03737332299351692,
0.007904068566858768,
0.006569306831806898,
-0.0029806506354361773,
0.01877216249704361,
-0.015048129484057426,
-0.04810841381549835,
-0.006265304051339626,
0.009158078581094742,
-0.031293269246816635,
-0.03070426546037197,
-0.040014345198869705,
-0.01704314723610878,
-0.03703131899237633,
-0.0356823094189167,
0.003963909111917019,
-0.04856441915035248,
0.07797667384147644,
-0.03461829945445061,
-0.06121852621436119,
-0.025498220697045326,
0.06277654320001602,
0.0583685040473938,
-0.013319115154445171,
-0.02793024107813835,
0.01061159186065197,
0.018629660829901695,
-0.007229562383145094,
-0.02122318372130394,
-0.020558176562190056,
0.08192870765924454,
0.035188302397727966,
-0.04658840224146843,
0.0227051954716444,
-0.030077259987592697,
-0.0055052973330020905,
0.042104363441467285,
0.060952525585889816,
0.015827136114239693,
0.013385615311563015,
-0.021394183859229088,
-0.012853611260652542,
0.024624211713671684,
-0.035872310400009155,
0.030039258301258087,
0.0007885068189352751,
-0.0500844307243824,
-0.020159173756837845,
0.010260088369250298,
-0.046132396906614304,
-0.024111207574605942,
-0.06661457568407059,
0.03015325963497162,
-0.0010319463908672333,
-0.0038095328491181135,
0.00607055239379406,
0.00019311885989736766,
-0.017955154180526733,
0.01974117010831833,
0.022097190842032433,
-0.008013319224119186,
-0.007448064163327217,
0.011200596578419209,
-0.04058435186743736,
0.0515284426510334,
-0.0383613295853138,
0.05171844735741615,
-0.03408629447221756,
0.04328237473964691,
-0.026866231113672256,
-0.044764384627342224,
0.008089319802820683,
-0.012226605787873268,
-0.0035031551960855722,
0.037487324327230453,
-0.0022942698560655117,
-0.007433813996613026,
0.016226140782237053,
-0.04119235649704933,
-0.0057760500349104404,
-0.0284622460603714,
-0.017869655042886734,
0.03427629545331001,
0.03026726096868515,
0.019085664302110672,
-0.036081310361623764,
0.00005065473305876367,
-0.014905628748238087,
-0.024054206907749176,
-0.008241320960223675,
0.011903602629899979,
-0.02950725518167019,
0.0001266182807739824,
-0.02806324139237404,
0.008706824854016304,
-0.06076252460479736,
0.009039327502250671,
0.03505530208349228,
-0.03228127956390381,
-0.017584651708602905,
0.03813333064317703,
-0.04712040722370148,
-0.03845633193850517,
0.054758470505476,
-0.0825367122888565,
0.06551256775856018,
-0.025156216695904732,
-0.021565185859799385,
-0.03895033523440361,
0.07125061750411987,
0.04601839557290077,
0.043434374034404755,
-0.010944094508886337,
-0.046246398240327835,
0.08063669502735138,
-0.009039327502250671,
-0.036518316715955734,
0.0024533960968255997,
0.04012834653258324,
-0.0022930821869522333,
0.0058568003587424755,
0.03638531267642975,
0.03642331436276436,
0.05000843107700348,
0.032623279839754105,
0.08101669698953629,
-0.015732135623693466,
-0.011257597245275974,
0.04472638666629791,
-0.033706292510032654,
-0.013974620960652828,
0.020349174737930298,
0.01026958879083395,
0.031046267598867416,
-0.021755186840891838,
-0.023009197786450386,
-0.04784241318702698,
0.037886325269937515,
-0.040660351514816284,
-0.0034390296787023544,
-0.012682609260082245,
-0.00781856756657362,
0.03140727058053017,
0.003880783449858427,
0.04385237768292427,
0.0017563276924192905,
-0.021337183192372322,
0.01792665384709835,
-0.023826206102967262,
-0.0284622460603714,
0.052668455988168716,
-0.0540364645421505,
0.02194518968462944,
-0.018724661320447922,
0.010431090369820595,
0.010440589860081673,
-0.05194644629955292,
-0.05855850502848625,
0.011153096333146095,
0.03847533091902733,
0.01832565851509571,
0.01075409259647131,
0.01075409259647131,
0.019313666969537735,
0.03581530973315239,
0.0008063194691203535,
0.023864205926656723,
0.0619785338640213,
-0.02652422897517681,
0.002008079783990979,
0.003519780468195677,
-0.06357454508543015,
-0.015010129660367966,
0.062358539551496506,
-0.050388433039188385,
0.03123626857995987,
0.04290236905217171,
0.010231588035821915,
-0.03630931302905083,
0.006084802560508251,
0.026904232800006866,
0.05164244398474693,
0.05278245359659195,
-0.019142664968967438,
-0.029013250023126602,
0.01201760396361351,
-0.05373246222734451,
-0.029526254162192345,
-0.021166183054447174,
0.02251519449055195,
0.014003120362758636,
0.04917242377996445,
-0.0410783551633358,
-0.026144225150346756,
0.028557246550917625,
0.07546865195035934,
-0.0014155121752992272,
-0.04290236905217171,
-0.002778773894533515,
-0.0432443730533123,
0.00008327415707753971,
0.08679275214672089,
-0.005837800446897745,
0.02601122483611107,
-0.04050834849476814,
0.005372296553105116,
-0.03906433656811714,
-0.02677123062312603,
0.030723264440894127,
-0.0680965855717659,
0.027588237076997757,
-0.01239760685712099,
0.003595781046897173,
-0.040774352848529816,
-0.0536944642663002,
0.024244209751486778,
0.025745222344994545,
0.056088484823703766,
0.010839593596756458,
0.003234777832403779,
-0.04943842813372612,
-0.0031065267976373434,
0.0529724583029747,
0.009994085878133774,
0.009400331415235996,
0.0315212719142437,
-0.00900607742369175,
-0.009870585054159164,
-0.011742101050913334,
-0.07695066183805466,
-0.011723101139068604,
0.0221541915088892,
0.014820127747952938,
0.039330340921878815,
0.010526090860366821,
0.0027502737939357758,
0.045524392277002335,
0.03906433656811714,
0.010868093930184841,
0.001745640067383647,
0.03325028717517853,
-0.014098121784627438,
-0.08230870962142944,
0.02110918238759041,
0.049780428409576416,
0.022325191646814346,
0.011837102472782135,
0.03697431832551956,
0.05171844735741615,
-0.09196079522371292,
-0.05624048411846161,
-0.012549608014523983,
-0.014402124099433422,
-0.06851459294557571,
0.0353023037314415,
0.10678092390298843,
-0.01989317126572132,
-0.008369572460651398,
-0.01414562202990055,
0.03516930341720581,
-0.033421289175748825,
0.06410655379295349,
0.016976647078990936,
0.022496193647384644,
-0.02946925349533558,
0.047766413539648056,
0.056012481451034546,
0.016378141939640045,
0.034504298120737076,
-0.0018050156068056822,
0.013433115556836128,
-0.030438262969255447,
-0.004384287633001804,
-0.02078617922961712,
-0.015124130062758923,
0.03155927360057831,
-0.04799441248178482,
0.033269286155700684,
-0.011713600717484951,
0.058178503066301346,
0.050578437745571136,
-0.012939111329615116,
0.028272243216633797,
-0.030134260654449463,
-0.01298661157488823,
-0.016292640939354897,
0.02584022283554077,
0.051794447004795074,
-0.03285128250718117,
-0.06596856564283371,
0.020349174737930298,
0.009162829257547855,
0.0142311230301857,
0.024814214557409286,
0.04164835810661316,
-0.024871215224266052,
0.05962251499295235,
-0.03906433656811714,
0.05209844931960106,
0.04229436442255974,
-0.006293804384768009,
0.010697091929614544,
0.028766248375177383,
0.018743662163615227,
-0.013214614242315292,
-0.023104200139641762,
0.020957181230187416,
-0.010117587633430958,
0.009899085387587547,
0.024263208732008934,
-0.023085199296474457,
-0.051794447004795074,
-0.0106305917724967,
0.017898153513669968,
-0.02584022283554077,
-0.014117121696472168,
0.006645307410508394,
-0.056050483137369156,
-0.004735790658742189,
0.025669220834970474,
0.03851333260536194,
0.03250928223133087,
0.0035174053627997637,
0.05567048117518425,
-0.04746241122484207,
0.007676066365092993,
-0.047652412205934525,
-0.031008267775177956,
-0.02857624739408493,
-0.008203321136534214,
-0.04328237473964691,
-0.012426107190549374,
0.005913801025599241,
0.0021814564242959023,
-0.023940205574035645,
0.03663231432437897,
-0.02705623395740986,
-0.04715840518474579,
0.026030223816633224,
-0.0125211076810956,
-0.015247631818056107,
0.0024842715356498957,
-0.022173190489411354,
0.018914662301540375,
-0.015304631553590298,
0.0022384568583220243,
-0.06300454586744308,
0.06422055512666702,
0.038646332919597626,
-0.05016043409705162,
0.0807126984000206,
0.02540321834385395,
0.0038380331825464964,
-0.02479521371424198,
0.023294201120734215,
-0.006650057155638933,
0.019627168774604797,
0.03456129878759384,
-0.04989442974328995,
0.0057760500349104404,
-0.012407107278704643,
-0.04989442974328995,
0.010868093930184841,
0.019228165969252586,
-0.008113070391118526,
0.011324097402393818,
0.0006620369385927916,
-0.03456129878759384,
-0.02770223841071129,
0.0006145365769043565,
-0.020235175266861916,
0.013043612241744995,
0.008445573039352894,
-0.057266492396593094,
-0.015618134289979935,
-0.00730556296184659,
-0.01812615618109703,
0.02536521852016449,
-0.040660351514816284,
0.06163652986288071,
0.032813284546136856,
0.012122104875743389,
-0.04153435677289963,
0.0277402400970459,
0.005738049279898405,
0.010868093930184841,
-0.05130044370889664,
-0.08565273880958557,
-0.000972570909652859,
0.023864205926656723,
-0.007804317399859428,
0.014649126678705215,
0.022439192980527878,
0.012663609348237514,
-0.013034112751483917,
-0.0038736583665013313,
0.03401029482483864,
0.05871050804853439,
0.05027443543076515,
0.049780428409576416,
-0.00519654480740428,
-0.08208070695400238,
-0.012169605121016502,
0.11620499938726425,
-0.02561222016811371,
-0.06289054453372955,
-0.0221541915088892,
-0.03733532130718231,
0.08086469769477844,
-0.010089087300002575,
-0.017936155200004578,
0.005804549902677536,
0.022496193647384644,
0.034903302788734436,
0.06460055708885193,
-0.0327942818403244,
-0.0641445517539978,
0.029450254514813423,
-0.019874172285199165,
-0.03955833986401558,
-0.004728665575385094,
0.003614781191572547,
-0.0029996507801115513,
-0.029013250023126602,
0.013993620872497559,
0.04533439129590988,
0.025232218205928802,
-0.0021778938826173544,
-0.03870333358645439,
-0.05137644335627556,
-0.08512073755264282,
-0.07546865195035934,
0.031160268932580948,
0.022059191018342972,
0.047652412205934525,
-0.0005753487348556519,
-0.0037264071870595217,
-0.017138147726655006,
-0.036518316715955734,
0.008345821872353554,
0.02395920641720295,
0.05996451899409294,
0.005761799868196249,
-0.10313288867473602,
-0.07182061672210693,
0.08603274077177048,
0.03070426546037197,
-0.00007570377783849835,
0.023484202101826668,
-0.03212927654385567,
0.048982422798871994,
-0.00012090338714187965,
-0.040660351514816284,
-0.028310244902968407,
0.004659790080040693,
-0.03570130839943886,
-0.025194216519594193,
-0.0008864764240570366,
0.016140639781951904,
-0.06289054453372955,
0.004001909401267767,
0.0529724583029747,
-0.019722169265151024,
0.06213053688406944,
0.008412322960793972,
-0.017394650727510452,
0.012872611172497272,
-0.036518316715955734,
-0.036879319697618484,
-0.019342167302966118,
-0.04012834653258324,
-0.008189070969820023,
-0.025232218205928802,
-0.02319920063018799,
0.0007018185569904745,
-0.03307928517460823,
-0.001409574644640088,
0.07106061279773712,
0.010687592439353466,
0.004156285896897316,
-0.03195827454328537,
0.029526254162192345,
0.05339046195149422,
-0.020881179720163345,
-0.013775118626654148,
-0.027189234271645546,
0.001280136057175696,
-0.007125061471015215,
-0.017195148393511772,
-0.020520176738500595,
-0.05962251499295235,
-0.04389037936925888,
-0.0028618997894227505,
0.006673807743936777,
-0.006198803428560495,
0.04153435677289963,
0.012435607612133026,
0.018192656338214874,
-0.004495913628488779,
0.03167327493429184,
-0.011561599560081959,
0.05293445661664009,
0.05559447780251503,
-0.035112302750349045,
0.04875442013144493,
-0.054720472544431686,
0.009215079247951508,
0.014896128326654434,
-0.026600228622555733,
0.0037335322704166174,
0.04807041585445404,
-0.06479056179523468,
-0.031616274267435074,
-0.0047310409136116505,
0.027588237076997757,
0.02946925349533558,
-0.002819149289280176,
-0.01949416846036911,
-0.047652412205934525,
-0.06190253421664238,
-0.11050495505332947,
0.002382145496085286,
0.02958325482904911,
0.028956249356269836,
-0.004887792281806469,
0.01659664325416088,
-0.05555647984147072,
0.07106061279773712,
0.11780101805925369,
-0.015589634887874126,
0.062358539551496506,
0.025878222659230232,
0.06874259561300278,
-0.01298661157488823,
-0.03477029874920845,
0.0011596037074923515,
0.037772323936223984,
-0.032699283212423325,
-0.03173027187585831,
-0.006569306831806898,
-0.02532721869647503,
0.003716906998306513,
0.05958451330661774,
-0.03722131997346878,
-0.023541202768683434,
-0.01659664325416088,
-0.009229329414665699,
-0.029849257320165634,
0.0006834121304564178,
-0.017195148393511772,
0.05065443739295006,
0.04544839262962341,
0.08702074736356735,
0.017309149727225304,
-0.01632114127278328,
0.00032240903237834573,
-0.03167327493429184,
-0.02914625220000744,
-0.04601839557290077,
-0.02713223360478878,
0.01900966465473175,
-0.005372296553105116,
-0.028196243569254875,
0.02958325482904911,
-0.030077259987592697,
-0.022097190842032433,
-0.022002190351486206,
0.009842084720730782,
-0.022211192175745964,
0.042674366384744644,
0.029735255986452103,
-0.01816415600478649,
-0.013138613663613796,
0.05555647984147072,
-0.011561599560081959,
-0.05996451899409294,
0.0605345219373703,
0.02950725518167019,
-0.0634225457906723,
0.023446202278137207,
0.008778075687587261,
-0.006384055130183697,
0.050502434372901917,
-0.02878524735569954,
0.053922466933727264,
-0.047690410166978836,
0.012834610417485237,
0.0017812653677538037,
-0.006203553639352322,
0.012122104875743389,
-0.024871215224266052,
-0.012492607347667217,
0.072048619389534,
0.07068061083555222,
0.05855850502848625,
0.015209631063044071,
0.011941603384912014,
-0.06072452291846275,
0.018107155337929726,
-0.00049489492084831,
0.04442238435149193,
-0.041952360421419144,
-0.06365054845809937,
-0.00886357668787241,
-0.0004583789559546858,
0.039900343865156174,
0.037487324327230453,
-0.011248096823692322,
-0.02673323079943657,
0.03553030639886856,
-0.07543065398931503,
0.012435607612133026,
0.0018798287492245436,
-0.0929488018155098,
-0.011048595421016216,
-0.000640068028587848,
-0.04161036014556885,
-0.04362437501549721,
-0.033991292119026184,
0.028842248022556305,
0.011191096156835556,
-0.04119235649704933,
-0.022211192175745964,
0.08048469573259354,
-0.027151234447956085,
0.018886161968111992,
-0.03216727823019028,
-0.022439192980527878,
0.056810490787029266,
-0.0219831895083189,
0.04662640392780304,
0.018344657495617867,
0.007680816110223532,
-0.04020434617996216,
0.0117991017177701,
-0.00713456142693758,
-0.012939111329615116,
-0.00764756603166461,
-0.04453638568520546,
0.04100235179066658,
-0.02475721389055252,
-0.0035649058409035206,
-0.004538664128631353,
0.04244636744260788,
0.007082310970872641,
-0.008284071460366249,
-0.025517219677567482,
-0.0030970266088843346,
0.024928215891122818,
-0.025555219501256943,
-0.019627168774604797,
0.004678790457546711,
0.028120242059230804,
0.028082242235541344,
-0.08656474947929382,
-0.024947214871644974,
-0.021375184878706932,
-0.02154618501663208,
-0.03425729647278786,
0.012568608857691288,
0.02295219711959362,
-0.01877216249704361,
0.02403520792722702,
0.005885300692170858,
-0.08960477262735367,
-0.0299062579870224,
-0.020349174737930298,
0.004837916698306799,
0.018468160182237625,
-0.013537616468966007,
0.014478124678134918,
-0.057988498359918594,
-0.08481673151254654,
0.025745222344994545,
-0.03839933127164841,
0.0016209514578804374,
0.033421289175748825,
0.05662048980593681,
-0.00718681188300252,
-0.0022562695667147636,
0.021679187193512917,
0.004693040624260902,
0.012264605611562729,
0.0015888886991888285,
-0.015209631063044071,
-0.0036266562528908253,
0.029849257320165634,
0.012217105366289616,
0.006113302893936634,
-0.01765115186572075,
-0.054720472544431686,
-0.034903302788734436,
-0.007053810637444258,
-0.04047035053372383,
0.005643048789352179,
-0.0796486884355545,
0.047766413539648056,
0.038570333272218704,
-0.08367671817541122,
0.09530482441186905,
0.031654272228479385,
-0.031654272228479385,
-0.02709423378109932,
0.07896468043327332,
-0.006612056866288185,
-0.009713834151625633,
-0.04161036014556885,
-0.019589168950915337,
0.02713223360478878,
0.019627168774604797,
-0.03176827356219292,
-0.00028069774270989,
-0.028804248198866844,
0.05164244398474693,
-0.06118052825331688,
-0.010820593684911728,
-0.0008033507037907839,
-0.01848715916275978,
0.022401193156838417,
0.0731506273150444,
0.0356823094189167,
-0.006080052349716425,
0.013385615311563015,
0.013461615890264511,
-0.0033084035385400057,
0.034504298120737076,
0.04290236905217171,
-0.012787110172212124,
0.03066626377403736,
0.04780441150069237,
0.002762148855254054,
0.0028761497233062983,
-0.01736615039408207,
0.0500844307243824,
-0.0544164702296257,
-0.022781196981668472,
0.007847067900002003,
0.009870585054159164,
0.03026726096868515,
0.08420872688293457,
0.05962251499295235,
-0.008003818802535534,
0.023180199787020683
] |
18,396 | textual | __init__ | null | def __init__(
self,
log_callable: LogCallable | None,
group: LogGroup = LogGroup.INFO,
verbosity: LogVerbosity = LogVerbosity.NORMAL,
) -> None:
self._log = log_callable
self._group = group
self._verbosity = verbosity
| (self, log_callable: 'LogCallable | None', group: 'LogGroup' = <LogGroup.INFO: 3>, verbosity: 'LogVerbosity' = <LogVerbosity.NORMAL: 0>) -> 'None' | [
-0.022736381739377975,
-0.002679980592802167,
0.0006147983367554843,
0.03429247811436653,
0.004624786786735058,
-0.02177807316184044,
-0.02397654950618744,
0.04449566453695297,
-0.03156787157058716,
-0.007633599452674389,
-0.009033484384417534,
0.03427368775010109,
0.01827366277575493,
-0.014769253320991993,
-0.015116875991225243,
0.021157989278435707,
-0.0022266623564064503,
-0.015079295262694359,
0.0017569023184478283,
0.015962444245815277,
0.010250162333250046,
0.030835045501589775,
0.0038919614162296057,
0.0455855093896389,
0.019936613738536835,
0.07298190891742706,
-0.027960114181041718,
-0.007431602571159601,
0.022322993725538254,
-0.008399308659136295,
0.002649446250870824,
-0.055394094437360764,
-0.039347093552351,
0.06775818020105362,
-0.0018167967209592462,
-0.01817971095442772,
-0.018151525408029556,
0.03370997682213783,
-0.08297840505838394,
0.013801547698676586,
0.021665329113602638,
-0.0024192638229578733,
-0.01948564313352108,
-0.019222578033804893,
0.006863193120807409,
0.04148920252919197,
0.05997895449399948,
0.08057323098182678,
-0.008112754672765732,
-0.034142155200242996,
-0.029745200648903847,
0.05306408554315567,
0.008413401432335377,
-0.004281862173229456,
-0.04036177694797516,
0.06027960032224655,
0.10815753787755966,
0.011039359495043755,
-0.007680575363337994,
-0.009620684199035168,
-0.04735180363059044,
0.03380392864346504,
0.0027880254201591015,
0.0007610111497342587,
-0.008385215885937214,
-0.03339054062962532,
-0.07816805690526962,
0.018264267593622208,
-0.006820914801210165,
0.06621736288070679,
0.03256376087665558,
-0.0029712319374084473,
0.018602494150400162,
-0.003189670154824853,
-0.0212895218282938,
0.021157989278435707,
-0.07557498663663864,
0.014158565551042557,
0.01607518643140793,
0.016620106995105743,
-0.01929773949086666,
-0.011274239048361778,
-0.013181464746594429,
0.01373578142374754,
0.04678809270262718,
-0.08162549138069153,
-0.007675877772271633,
-0.016826802864670753,
0.01668587513267994,
0.030928997322916985,
-0.09019391238689423,
-0.0128432372584939,
-0.010654156096279621,
0.005735769402235746,
-0.001316502341069281,
-0.024446308612823486,
0.002722259145230055,
0.010325323790311813,
0.008563724346458912,
0.002964185317978263,
-0.0315866619348526,
-0.03316505253314972,
0.016723455861210823,
-0.012551986612379551,
-0.04468356817960739,
-0.06448864936828613,
-0.017221400514245033,
-0.011480933986604214,
-0.007126258686184883,
0.04148920252919197,
-0.006012927740812302,
0.021421054378151894,
-0.0025836797431111336,
0.015361150726675987,
-0.02628776803612709,
0.021007666364312172,
-0.03346570208668709,
-0.03528836742043495,
0.002305347006767988,
0.0150980856269598,
0.025554941967129707,
-0.005538470111787319,
-0.03938467428088188,
0.05126020684838295,
0.007596018724143505,
0.004500300623476505,
-0.009305944666266441,
-0.027246078476309776,
0.06253444403409958,
-0.00199765432626009,
0.07144109904766083,
-0.01756902225315571,
-0.012730495072901249,
0.005688793491572142,
0.017230795696377754,
-0.022341784089803696,
0.022548478096723557,
0.04427018016576767,
-0.07275642454624176,
0.05197424441576004,
-0.004028191789984703,
-0.019429272040724754,
0.008667071349918842,
-0.00622431980445981,
0.043931953608989716,
0.0367916002869606,
0.025724055245518684,
-0.006177343428134918,
-0.03617151826620102,
-0.04430776089429855,
0.048930197954177856,
-0.08741293847560883,
-0.018602494150400162,
0.032131582498550415,
0.01830184832215309,
-0.005928370635956526,
0.022454526275396347,
-0.02818559855222702,
0.06065540760755539,
-0.04596131667494774,
-0.017719347029924393,
-0.00809396430850029,
0.025911960750818253,
-0.019917823374271393,
-0.007487974129617214,
0.002691724570468068,
0.020368792116642,
-0.029331812635064125,
-0.018442776054143906,
0.026513252407312393,
-0.04047451913356781,
-0.016244299709796906,
-0.020819762721657753,
0.04923084378242493,
-0.027152126654982567,
0.06554090976715088,
0.022022347897291183,
0.034950140863657,
-0.04629954323172569,
-0.0057263742201030254,
0.03778749331831932,
-0.00146799988579005,
-0.03337175026535988,
0.04404469579458237,
-0.0037134524900466204,
0.07087738811969757,
0.005731071811169386,
0.018602494150400162,
-0.03350328281521797,
-0.0014621278969570994,
-0.009493849240243435,
-0.030158590525388718,
0.02087613381445408,
-0.07181690633296967,
0.02358194999396801,
0.031210852786898613,
-0.06392493844032288,
-0.02976399101316929,
0.025761635974049568,
-0.032338276505470276,
0.02899358607828617,
0.06881044059991837,
0.005266009364277124,
-0.04618680104613304,
0.018752818927168846,
0.02298065833747387,
0.014421631582081318,
0.09335070103406906,
-0.07711579650640488,
-0.0012072831159457564,
0.040436938405036926,
-0.04896777868270874,
-0.024540260434150696,
0.06482687592506409,
-0.0034950142726302147,
-0.07298190891742706,
0.016319461166858673,
0.01678922213613987,
0.026532042771577835,
0.04986971989274025,
0.14077766239643097,
-0.021702909842133522,
0.008009407669305801,
0.01789785549044609,
-0.00010907239629887044,
0.05843814089894295,
0.08553389459848404,
-0.04190259054303169,
0.006952447816729546,
-0.04250388219952583,
-0.024916069582104683,
-0.04314275458455086,
-0.014468607492744923,
-0.01483501959592104,
-0.05535651370882988,
-0.03699829429388046,
0.015868492424488068,
0.05223730951547623,
-0.05238763242959976,
-0.030534397810697556,
0.042315978556871414,
-0.013670015148818493,
0.026156235486268997,
0.06151976436376572,
-0.005618329159915447,
-0.028129227459430695,
-0.03186851739883423,
0.0321691632270813,
0.013021746650338173,
0.01700531132519245,
0.0045120446011424065,
0.004075167700648308,
-0.0541539303958416,
-0.020819762721657753,
-0.014825624413788319,
-0.009273061528801918,
-0.02429598569869995,
-0.001805052743293345,
0.022849125787615776,
-0.04877987504005432,
-0.004265420604497194,
-0.02529187686741352,
0.002691724570468068,
0.02469058334827423,
0.008004710078239441,
0.0046435771510005,
-0.00022563159291166812,
-0.09229844063520432,
0.0754246637225151,
0.0357581302523613,
0.15235255658626556,
0.010381695814430714,
0.05287618190050125,
0.024408727884292603,
-0.08282807469367981,
-0.07651450484991074,
-0.012373477220535278,
-0.044119857251644135,
-0.011772184632718563,
0.06866011768579483,
0.08966778218746185,
-0.005190847907215357,
-0.006515570916235447,
0.0040822140872478485,
0.026832690462470055,
0.021552586928009987,
-0.0012507359497249126,
0.038708221167325974,
-0.01767236925661564,
-0.03107932023704052,
0.004441580735146999,
0.03726135939359665,
0.007116863504052162,
0.03848273679614067,
0.017212005332112312,
0.010034073144197464,
-0.03211279213428497,
0.010597785003483295,
0.031643033027648926,
-0.03525078669190407,
0.0066893817856907845,
-0.06974995881319046,
0.07557498663663864,
-0.016854988411068916,
0.02228541299700737,
0.02358194999396801,
0.010137420147657394,
-0.020406372845172882,
0.004563718102872372,
0.03151150047779083,
0.04994488134980202,
0.07407175004482269,
-0.005754559766501188,
-0.01599062979221344,
0.013312997296452522,
0.06708172708749771,
0.021627748385071754,
-0.020613066852092743,
-0.011246053501963615,
0.05325198918581009,
-0.03324021399021149,
0.004051679745316505,
0.010428671725094318,
-0.004427487961947918,
0.015483289025723934,
-0.025705264881253242,
0.010362905450165272,
-0.025460990145802498,
0.010034073144197464,
0.04509695619344711,
-0.07279400527477264,
0.0003543751663528383,
0.019354110583662987,
-0.017061682417988777,
-0.03885854408144951,
-0.011960089206695557,
-0.048516809940338135,
-0.01044746208935976,
0.01659192144870758,
-0.05704765021800995,
-0.03290198743343353,
0.017418699339032173,
-0.04908052086830139,
0.06167009100317955,
-0.00487141078338027,
-0.016253694891929626,
0.00041426956886425614,
-0.027340030297636986,
0.05794959142804146,
-0.0335596539080143,
0.0710277110338211,
-0.04284210875630379,
-0.06914866715669632,
0.01544570829719305,
0.0439695343375206,
-0.008690559305250645,
-0.027603095397353172,
-0.04024903476238251,
0.0168925691395998,
-0.020162098109722137,
0.019241368398070335,
-0.018734028562903404,
-0.01254259143024683,
-0.01879979483783245,
0.044232599437236786,
0.030722301453351974,
0.01788846030831337,
-0.03568296879529953,
0.019635966047644615,
0.01398945227265358,
0.007910758256912231,
-0.06644284725189209,
-0.0030745789408683777,
0.019767500460147858,
-0.03686676174402237,
0.014881995506584644,
0.032319486141204834,
0.013115698471665382,
-0.07493611425161362,
-0.02989552542567253,
0.01879039965569973,
0.031041739508509636,
0.01519203744828701,
0.025554941967129707,
-0.05223730951547623,
0.007234303746372461,
0.0057169790379703045,
0.07275642454624176,
0.033522073179483414,
0.06794608384370804,
0.04287968948483467,
-0.027452772483229637,
0.016516759991645813,
-0.05227489024400711,
0.01859309896826744,
0.012862027622759342,
-0.007492671720683575,
0.03908402845263481,
-0.038520317524671555,
-0.0029125118162482977,
-0.018621284514665604,
0.002337055979296565,
-0.017136843875050545,
0.0009113343548960984,
0.028749309480190277,
0.035307157784700394,
0.014064613729715347,
-0.021007666364312172,
0.012345291674137115,
-0.01889374665915966,
0.03758079931139946,
-0.01578393578529358,
-0.03258255124092102,
-0.048328906297683716,
-0.005294194910675287,
-0.01119907759130001,
-0.0021092223469167948,
0.026719946414232254,
-0.006783334072679281,
-0.051410529762506485,
-0.02268001064658165,
0.013341182842850685,
0.035231996327638626,
0.00999649241566658,
0.06073056906461716,
0.017860274761915207,
-0.01610337197780609,
0.014402841217815876,
0.06651800870895386,
-0.03235706686973572,
-0.05167359858751297,
0.029726410284638405,
-0.01274928543716669,
0.013247231021523476,
0.03844515606760979,
-0.014027033001184464,
-0.03697950392961502,
0.0307786725461483,
0.003969471901655197,
0.05065891519188881,
0.00024104559270199388,
-0.019504433497786522,
0.07328255474567413,
-0.03519441559910774,
-0.019635966047644615,
0.014581349678337574,
-0.010785688646137714,
0.06922382861375809,
-0.011161496862769127,
-0.009620684199035168,
0.09064488112926483,
0.037111036479473114,
0.012345291674137115,
0.00010738419223343953,
0.010701132006943226,
-0.06527784466743469,
-0.08418098837137222,
0.008516748435795307,
0.02087613381445408,
-0.028354711830615997,
0.0013317695120349526,
0.01969233714044094,
-0.04874229431152344,
-0.06351155042648315,
-0.06798366457223892,
0.046825673431158066,
0.11499723792076111,
-0.022135090082883835,
-0.021702909842133522,
-0.04885503649711609,
0.06862253695726395,
0.011706418357789516,
-0.030045848339796066,
0.000866119924467057,
-0.048028260469436646,
0.022135090082883835,
0.030214961618185043,
-0.05328956991434097,
-0.02277396433055401,
0.000754551962018013,
-0.0016241951379925013,
0.00609278678894043,
0.03786265477538109,
0.01889374665915966,
-0.037825074046850204,
-0.026438090950250626,
0.03991080820560455,
-0.014881995506584644,
0.03767475113272667,
0.023657111451029778,
-0.048704713582992554,
0.056108132004737854,
0.0030252542346715927,
-0.049531493335962296,
0.012157388031482697,
0.005890789907425642,
0.01569937914609909,
0.028655357658863068,
-0.0117439990863204,
0.017024101689457893,
-0.03036528453230858,
-0.0069712381809949875,
-0.024634212255477905,
-0.031060529872775078,
0.0423535592854023,
-0.07794257253408432,
-0.010569599457085133,
-0.004380511585623026,
-0.08140000700950623,
-0.03117327205836773,
0.0065014781430363655,
0.04100064933300018,
-0.06621736288070679,
-0.006106879562139511,
-0.03908402845263481,
-0.006722265388816595,
-0.07471062242984772,
-0.022022347897291183,
-0.03295835852622986,
-0.007154444232583046,
0.044833891093730927,
0.09793555736541748,
0.007689970545470715,
-0.01879979483783245,
0.017719347029924393,
-0.0647892951965332,
0.04829132556915283,
0.028204388916492462,
0.011950694024562836,
0.0313611775636673,
-0.038520317524671555,
-0.06027960032224655,
-0.04994488134980202,
0.010015282779932022,
-0.0028913726564496756,
0.08373001962900162,
-0.07144109904766083,
0.0012683519162237644,
-0.05449215695261955,
-0.034123364835977554,
-0.022266622632741928,
0.024916069582104683,
-0.02658841386437416,
-0.06520268321037292,
0.01829245314002037,
0.005519679747521877,
-0.02157137729227543,
0.04866713285446167,
0.021345892921090126,
0.012138597667217255,
0.04287968948483467,
-0.04509695619344711,
-0.029651248827576637,
-0.0005322967772372067,
-0.012655333615839481,
0.014881995506584644,
0.00820200890302658,
-0.008427494205534458,
0.0135384825989604,
-0.00009395199595019221,
-0.008559026755392551,
0.027960114181041718,
-0.03945983946323395,
0.011246053501963615,
-0.020631857216358185,
-0.04348098486661911,
0.04100064933300018,
0.020368792116642,
-0.022341784089803696,
-0.0047727613709867,
-0.04705115780234337,
-0.024164453148841858,
-0.02818559855222702,
0.0045425789430737495,
-0.04100064933300018,
0.040211454033851624,
0.01848975196480751,
0.0423535592854023,
0.025648893788456917,
-0.0046318331733345985,
-0.02467179298400879,
0.010203186422586441,
-0.025855589658021927,
-0.06565365195274353,
-0.03709224611520767,
0.005604236386716366,
-0.007835596799850464,
-0.004732831846922636,
0.012429849244654179,
0.012505010701715946,
-0.01419614627957344,
0.0053458684124052525,
0.009475058875977993,
-0.009038181975483894,
-0.04660018905997276,
-0.022548478096723557,
0.005923673044890165,
-0.014280702918767929,
0.043217916041612625,
0.01354787778109312,
-0.05054617300629616,
0.030327703803777695,
-0.03365360572934151,
-0.03964774310588837,
0.014252517372369766,
-0.023751065135002136,
0.01598123461008072,
0.050809238106012344,
-0.03468707576394081,
0.02936939336359501,
-0.03337175026535988,
0.010372300632297993,
0.004974758252501488,
0.001875516725704074,
0.022736381739377975,
-0.07249335944652557,
-0.017014706507325172,
0.05584506690502167,
0.03365360572934151,
0.015455103479325771,
-0.020312421023845673,
0.011452748440206051,
-0.0022701150737702847,
0.02237936481833458,
-0.02869293838739395,
-0.01709926314651966,
-0.00322255352512002,
-0.1110888347029686,
0.010034073144197464,
-0.018348824232816696,
-0.016263090074062347,
0.012551986612379551,
-0.031830936670303345,
-0.04378163069486618,
0.009677055291831493,
-0.05246279388666153,
0.028054066002368927,
0.021233150735497475,
0.028448663651943207,
-0.027340030297636986,
0.005637119524180889,
-0.00019495039305184036,
0.029500925913453102,
-0.07651450484991074,
0.02437114715576172,
-0.019429272040724754,
-0.032939568161964417,
-0.015953049063682556,
0.05186150223016739,
-0.04329307749867439,
-0.008779813535511494,
0.03976048529148102,
-0.04874229431152344,
0.03087262623012066,
-0.06354913115501404,
0.022905496880412102,
-0.0013176767388358712,
0.02367590181529522,
0.05103472247719765,
0.016770431771874428,
-0.045810993760824203,
0.007948338985443115,
0.03068472072482109,
0.013557272963225842,
0.0010522623779252172,
-0.027415191754698753,
-0.0030816253274679184,
-0.05396602675318718,
-0.027903743088245392,
0.015558450482785702,
-0.00819261372089386,
-0.0017921342514455318,
0.023544369265437126,
0.04750213027000427,
-0.004782156553119421,
0.034330058842897415,
0.015567845664918423,
0.07038883119821548,
0.01009983941912651,
-0.016234904527664185,
0.0241832435131073,
0.048328906297683716,
-0.013829733245074749,
-0.07861902564764023,
-0.008662373758852482,
0.07726611942052841,
-0.04738938435912132,
-0.018968908116221428,
0.06460139155387878,
-0.032018840312957764,
0.03419852629303932,
-0.0017627743072807789,
-0.02998947724699974,
-0.026137445122003555,
-0.023920178413391113,
0.010034073144197464,
-0.0784687027335167,
-0.07121561467647552,
0.003985913470387459,
-0.012777470983564854,
0.010691736824810505,
0.008761023171246052,
-0.033014729619026184,
0.04295485094189644,
-0.026738736778497696,
-0.03498772159218788,
-0.04949390888214111,
0.014853809960186481,
0.051711179316043854,
-0.012392268516123295,
0.026757527142763138,
0.01383912842720747,
0.013425740413367748,
-0.04543518275022507,
-0.016263090074062347,
0.03316505253314972,
0.023657111451029778,
-0.009592498652637005,
-0.0784687027335167,
-0.01518264226615429,
0.007008818909525871,
-0.019523223862051964,
0.0059424638748168945,
-0.01709926314651966,
0.09177231043577194,
-0.04148920252919197,
-0.009338827803730965,
0.026231396943330765,
0.03669764846563339,
-0.0423535592854023,
-0.0041620731353759766,
0.029143908992409706,
-0.06843463331460953,
-0.022435735911130905,
0.01900648884475231,
-0.03504409268498421,
-0.027509143576025963,
0.003055788576602936,
0.026043493300676346,
-0.005186150316148996,
-0.02187202498316765,
-0.02809164673089981,
0.023751065135002136,
0.015511474572122097,
0.007309465203434229,
0.013773362152278423,
0.026043493300676346,
0.00609278678894043,
0.013716991059482098,
-0.023619530722498894,
-0.04449566453695297,
0.0013082815567031503,
0.01900648884475231,
0.03228190541267395,
-0.006398130673915148,
-0.06103121489286423,
0.018715238198637962,
0.02249210700392723,
0.0024028222542256117,
-0.04077516496181488,
-0.03498772159218788,
-0.038820963352918625,
0.0018743423279374838,
-0.006384037900716066,
0.05584506690502167,
0.07072705775499344,
0.021853234618902206,
0.046525027602910995
] |
18,397 | rich.repr | auto_repr | Return repr(self) | def auto(
cls: Optional[Type[T]] = None, *, angular: Optional[bool] = None
) -> Union[Type[T], Callable[[Type[T]], Type[T]]]:
"""Class decorator to create __repr__ from __rich_repr__"""
def do_replace(cls: Type[T], angular: Optional[bool] = None) -> Type[T]:
def auto_repr(self: T) -> str:
"""Create repr string from __rich_repr__"""
repr_str: List[str] = []
append = repr_str.append
angular: bool = getattr(self.__rich_repr__, "angular", False) # type: ignore[attr-defined]
for arg in self.__rich_repr__(): # type: ignore[attr-defined]
if isinstance(arg, tuple):
if len(arg) == 1:
append(repr(arg[0]))
else:
key, value, *default = arg
if key is None:
append(repr(value))
else:
if default and default[0] == value:
continue
append(f"{key}={value!r}")
else:
append(repr(arg))
if angular:
return f"<{self.__class__.__name__} {' '.join(repr_str)}>"
else:
return f"{self.__class__.__name__}({', '.join(repr_str)})"
def auto_rich_repr(self: Type[T]) -> Result:
"""Auto generate __rich_rep__ from signature of __init__"""
try:
signature = inspect.signature(self.__init__)
for name, param in signature.parameters.items():
if param.kind == param.POSITIONAL_ONLY:
yield getattr(self, name)
elif param.kind in (
param.POSITIONAL_OR_KEYWORD,
param.KEYWORD_ONLY,
):
if param.default is param.empty:
yield getattr(self, param.name)
else:
yield param.name, getattr(self, param.name), param.default
except Exception as error:
raise ReprError(
f"Failed to auto generate __rich_repr__; {error}"
) from None
if not hasattr(cls, "__rich_repr__"):
auto_rich_repr.__doc__ = "Build a rich repr"
cls.__rich_repr__ = auto_rich_repr # type: ignore[attr-defined]
auto_repr.__doc__ = "Return repr(self)"
cls.__repr__ = auto_repr # type: ignore[assignment]
if angular is not None:
cls.__rich_repr__.angular = angular # type: ignore[attr-defined]
return cls
if cls is None:
return partial(do_replace, angular=angular)
else:
return do_replace(cls, angular=angular)
| (self: ~T) -> str | [
0.049435973167419434,
-0.07022926956415176,
0.05849294736981392,
-0.02284998632967472,
0.005754950921982527,
-0.004981334786862135,
0.014802489429712296,
-0.021453702822327614,
0.06290821731090546,
0.013830751180648804,
0.01719881221652031,
0.05045488104224205,
0.008278639055788517,
0.034491971135139465,
-0.0458131842315197,
0.032416414469480515,
-0.011066487990319729,
-0.03175600990653038,
-0.01296279113739729,
-0.010094750672578812,
0.07139912992715836,
0.03756756708025932,
0.014632671140134335,
-0.014745882712304592,
0.004766703583300114,
0.0249821487814188,
0.00602382980287075,
0.038397789001464844,
-0.07955040782690048,
-0.006754991598427296,
0.020019682124257088,
-0.05396445840597153,
-0.011094790883362293,
0.031605061143636703,
0.04664340615272522,
-0.04528485983610153,
-0.018519621342420578,
0.0912489965558052,
-0.0912489965558052,
-0.0422658696770668,
-0.004370460752397776,
-0.001106766751036048,
-0.008990932255983353,
-0.0926075428724289,
-0.03217111900448799,
-0.014774185605347157,
0.06962547451257706,
0.02030271291732788,
-0.08219202607870102,
-0.03860534355044365,
0.06709706783294678,
-0.017047863453626633,
-0.025755764916539192,
0.0016639827517792583,
-0.017255419865250587,
0.019047943875193596,
0.009179619140923023,
0.07687105238437653,
0.032359808683395386,
-0.02494441159069538,
-0.04056768864393234,
0.008207880891859531,
0.006165345199406147,
-0.00994380097836256,
-0.0004151112225372344,
-0.003856288967654109,
-0.061700623482465744,
-0.009792851284146309,
0.027887927368283272,
-0.0005280285840854049,
-0.022774511948227882,
0.035397667437791824,
0.006193648092448711,
0.01712333783507347,
0.01719881221652031,
-0.014076044782996178,
-0.02541612833738327,
-0.04822837561368942,
0.07332373410463333,
-0.051549267023801804,
0.019755519926548004,
0.018991338089108467,
0.003627506084740162,
-0.01903850957751274,
0.030246512964367867,
-0.06253084540367126,
-0.03824684023857117,
-0.02671806886792183,
0.029793664813041687,
-0.02290659211575985,
-0.05804009735584259,
0.021755602210760117,
-0.005901183467358351,
-0.029095523059368134,
-0.04954918473958969,
0.011368387378752232,
-0.0014234069967642426,
-0.029982352629303932,
0.05117189139127731,
-0.009406043216586113,
0.017368631437420845,
0.05079451948404312,
-0.008665447123348713,
0.021359359845519066,
-0.012575983069837093,
0.0037289252504706383,
-0.03615241497755051,
0.08430531620979309,
-0.05124736949801445,
-0.030284250155091286,
-0.0024317028000950813,
0.024793460965156555,
-0.016689358279109,
0.015708185732364655,
0.05241722613573074,
-0.01228351891040802,
-0.024265138432383537,
0.0013573665637522936,
0.05894579365849495,
-0.033246636390686035,
0.007099345326423645,
-0.032831523567438126,
-0.058643896132707596,
-0.019170591607689857,
-0.021359359845519066,
0.004167622420936823,
0.017708268016576767,
0.04698304459452629,
0.0053398399613797665,
-0.023057542741298676,
-0.01844414696097374,
0.0458131842315197,
-0.09072066843509674,
0.04449237510561943,
0.07230482995510101,
-0.0010696189710870385,
-0.0416620709002018,
0.03524671867489815,
-0.03175600990653038,
0.05170021578669548,
-0.007339921314269304,
-0.017425237223505974,
0.025529339909553528,
0.0807580053806305,
-0.04279419407248497,
-0.04286966845393181,
0.019246065989136696,
0.07162555307149887,
0.020246107131242752,
0.017113903537392616,
-0.00944849755614996,
0.03575617074966431,
0.0695122629404068,
0.04588865861296654,
0.005509658250957727,
0.02334057167172432,
-0.01593461073935032,
0.014330771751701832,
0.021000854671001434,
-0.009066406637430191,
-0.004684153012931347,
-0.03651091828942299,
0.014396811835467815,
-0.005618153139948845,
0.075437031686306,
0.04381310194730759,
0.02075556106865406,
-0.08694693446159363,
0.041737545281648636,
0.0594363808631897,
0.004507259000092745,
-0.051020942628383636,
0.02758602797985077,
-0.008240900933742523,
0.02373681403696537,
0.10936293751001358,
-0.008349396288394928,
0.0450206995010376,
-0.024321744218468666,
0.015632711350917816,
0.03100126050412655,
-0.0398884154856205,
-0.02492554299533367,
-0.07698426395654678,
0.01882152073085308,
-0.018340369686484337,
0.027623765170574188,
-0.029397422447800636,
-0.00719368876889348,
-0.0007223171414807439,
0.013094872236251831,
0.032925866544246674,
0.006047416012734175,
0.023397177457809448,
0.00019384632469154894,
-0.05370029807090759,
-0.03779399022459984,
-0.004304420202970505,
0.04332251846790314,
0.04294514283537865,
-0.055700380355119705,
0.06826692819595337,
0.027001097798347473,
0.009297547861933708,
0.032057907432317734,
-0.009132446721196175,
0.025114228948950768,
-0.005269082263112068,
-0.015330811962485313,
-0.06071945279836655,
0.019321540370583534,
0.006193648092448711,
-0.001472937292419374,
-0.0029576674569398165,
0.00402846559882164,
-0.04200170934200287,
0.03951103985309601,
0.023963239043951035,
-0.028246432542800903,
0.008929608389735222,
0.05207759141921997,
-0.002383351791650057,
-0.07841828465461731,
0.021491440013051033,
0.01104761939495802,
-0.01949135959148407,
-0.030605018138885498,
-0.04841706529259682,
0.005264365114271641,
-0.014981742016971111,
0.015632711350917816,
-0.018963035196065903,
-0.011594811454415321,
0.009481517598032951,
0.019123420119285583,
-0.030661623924970627,
-0.0006533284904435277,
0.006684234365820885,
-0.023057542741298676,
0.03768077865242958,
-0.027435079216957092,
0.05211532860994339,
-0.0009233866003341973,
0.0017135131638497114,
0.008071082644164562,
0.006438941229134798,
-0.010226830840110779,
0.04317156597971916,
-0.010406083427369595,
-0.01911398582160473,
-0.03473726287484169,
-0.022246187552809715,
-0.015028913505375385,
0.0021215486340224743,
-0.006306860130280256,
0.028246432542800903,
-0.04373762756586075,
-0.02077442966401577,
0.00031221788958646357,
0.02030271291732788,
0.020491398870944977,
-0.0012842504074797034,
0.005891749169677496,
0.0701160579919815,
0.02879362367093563,
-0.054870158433914185,
-0.03902045637369156,
-0.008759790100157261,
-0.04392631724476814,
0.01802903600037098,
-0.0009322313126176596,
0.011000447906553745,
-0.017547883093357086,
0.008750355802476406,
-0.02583123929798603,
0.004740758799016476,
0.02960497885942459,
-0.03773738443851471,
-0.023038672283291817,
-0.08407889306545258,
-0.00865129567682743,
-0.05437957122921944,
0.037888333201408386,
0.008028628304600716,
0.01721768081188202,
0.0027359602972865105,
0.002200561109930277,
0.023000935092568398,
0.031095605343580246,
-0.00914188101887703,
0.07271993905305862,
-0.0035425969399511814,
0.05973827838897705,
0.05136058107018471,
0.07260672748088837,
-0.0064436583779752254,
-0.025680290535092354,
0.008726770058274269,
-0.037529829889535904,
-0.06668195873498917,
-0.014170387759804726,
-0.01102875079959631,
0.032831523567438126,
0.032020170241594315,
0.010981579311192036,
-0.06370070576667786,
-0.03641657531261444,
-0.03296360373497009,
0.01988760195672512,
0.02630295604467392,
-0.00509454682469368,
0.0048869913443923,
-0.018519621342420578,
0.023831158876419067,
0.040114838629961014,
0.00291757145896554,
0.019340408965945244,
-0.007953153923153877,
0.03822797164320946,
0.04328478127717972,
-0.008726770058274269,
-0.012651458382606506,
-0.026378432288765907,
0.032831523567438126,
-0.012453337199985981,
-0.050266195088624954,
-0.04924728721380234,
0.02028384432196617,
0.021114066243171692,
0.014066610485315323,
-0.05562490597367287,
-0.03226546198129654,
-0.0032076777424663305,
0.04120922461152077,
-0.022623561322689056,
0.010962709784507751,
0.0369260311126709,
-0.023963239043951035,
-0.04249229654669762,
-0.03947330266237259,
0.05811557173728943,
0.04271871969103813,
-0.0329824723303318,
0.031171079725027084,
-0.03722792863845825,
0.0620025210082531,
0.00975511409342289,
0.019264934584498405,
0.06668195873498917,
-0.006490830332040787,
-0.0007494408637285233,
-0.0912489965558052,
0.029001180082559586,
-0.01417982205748558,
-0.006924809888005257,
-0.011906145140528679,
0.012896751053631306,
0.05196437984704971,
-0.010085316374897957,
-0.05079451948404312,
0.007825789973139763,
0.00029762412304989994,
-0.01903850957751274,
0.01292505394667387,
-0.013915660791099072,
0.014962872490286827,
-0.010500427335500717,
0.026340695098042488,
-0.012877882458269596,
-0.0006668903515674174,
-0.019585702568292618,
0.006028546951711178,
0.010330609045922756,
-0.07487097382545471,
-0.053587086498737335,
0.02545386552810669,
-0.004660566803067923,
-0.003990728408098221,
-0.024246269837021828,
-0.028265301138162613,
0.06879524886608124,
-0.006962547544389963,
0.0543040968477726,
-0.01830263063311577,
0.0017264853231608868,
-0.027642633765935898,
0.006089870352298021,
0.06271953135728836,
0.005533243995159864,
-0.019397014752030373,
-0.006405921187251806,
0.001954088918864727,
-0.0188592579215765,
-0.020189501345157623,
-0.05377577245235443,
-0.028491724282503128,
0.014972306787967682,
0.0220197644084692,
-0.02590671367943287,
-0.0029883291572332382,
0.03251075744628906,
-0.0033657029271125793,
0.04883217439055443,
-0.007085193879902363,
0.01901964098215103,
0.04030352830886841,
0.08128632605075836,
-0.003033142304047942,
-0.010679679922759533,
0.005566264037042856,
-0.02500101737678051,
-0.013019397854804993,
-0.03651091828942299,
-0.012462771497666836,
0.061813835054636,
-0.010292871855199337,
0.00811825506389141,
0.010981579311192036,
-0.03777512162923813,
-0.0076512545347213745,
-0.02752942219376564,
0.02200089581310749,
0.01567988283932209,
0.1066458448767662,
0.010915538296103477,
0.05988922715187073,
-0.011783498339354992,
0.004228945821523666,
0.009368306025862694,
0.025227440521121025,
-0.010160790756344795,
-0.007608800195157528,
-0.01099101360887289,
-0.051511529833078384,
0.015528934076428413,
-0.06739896535873413,
0.015189297497272491,
-0.02883136086165905,
0.02162352204322815,
0.024472692981362343,
0.007141800131648779,
0.02035931870341301,
0.00004901437569060363,
0.001181062194518745,
-0.02337830886244774,
0.022302793338894844,
0.0034246675204485655,
0.005882314871996641,
0.008929608389735222,
-0.011538205668330193,
0.04928502440452576,
0.05641739070415497,
-0.0026699199806898832,
0.023038672283291817,
0.05132284387946129,
-0.0833241418004036,
0.02802000753581524,
-0.02503875456750393,
-0.055247530341148376,
0.016359155997633934,
0.01399113517254591,
0.012151437811553478,
-0.0036652435082942247,
0.011321214959025383,
-0.031548451632261276,
0.0010460331104695797,
0.06532341241836548,
-0.04169980809092522,
-0.11419332772493362,
-0.037076979875564575,
0.0550965815782547,
-0.04366215318441391,
0.030718231573700905,
0.00850034598261118,
-0.01507608499377966,
0.04615282267332077,
0.03460518270730972,
-0.0211329348385334,
-0.04437916353344917,
-0.047586843371391296,
-0.024095319211483,
0.0002877475635614246,
-0.03009556420147419,
-0.0233028344810009,
-0.033284373581409454,
0.03756756708025932,
-0.0006203082739375532,
0.039209142327308655,
0.035341061651706696,
0.04702078178524971,
-0.04694530740380287,
0.12075962871313095,
-0.05494563281536102,
0.023850027471780777,
-0.03939782828092575,
-0.003738359548151493,
0.003773738397285342,
-0.011113659478724003,
0.0012642024084925652,
-0.07555024325847626,
0.026189744472503662,
-0.046416983008384705,
0.022680167108774185,
0.05419088527560234,
0.05498337000608444,
-0.058643896132707596,
0.008533366024494171,
0.06381391733884811,
-0.00688235554844141,
0.026906754821538925,
0.03213338181376457,
-0.06400260329246521,
0.04800195246934891,
-0.001990647055208683,
-0.021906550973653793,
-0.08543743938207626,
0.011679720133543015,
-0.01316091325134039,
-0.020868772640824318,
-0.030774837359786034,
-0.004839819390326738,
0.005575698334723711,
-0.0373222716152668,
-0.008259770460426807,
-0.0018326217541471124,
0.04015257582068443,
0.05309649929404259,
0.0013491114368662238,
0.015274206176400185,
0.003160506021231413,
0.02875588648021221,
-0.014396811835467815,
-0.002036639489233494,
-0.0211329348385334,
-0.02292546071112156,
0.047624580562114716,
-0.02924647368490696,
-0.0018161116167902946,
0.03719019144773483,
0.019321540370583534,
0.020548006519675255,
0.04185076057910919,
-0.024265138432383537,
-0.00634931493550539,
-0.013830751180648804,
-0.01013248786330223,
0.049360498785972595,
-0.02122727781534195,
-0.014462852850556374,
-0.03683168813586235,
-0.03719019144773483,
-0.03549201041460037,
-0.011538205668330193,
0.07222935557365417,
-0.1121555045247078,
0.04675661772489548,
-0.010840063914656639,
0.006193648092448711,
0.04230360686779022,
0.01416095346212387,
0.006792729254812002,
0.05520979315042496,
0.043397992849349976,
-0.013613761402666569,
0.038341183215379715,
0.048530276864767075,
0.05581359192728996,
0.034095726907253265,
-0.0450206995010376,
-0.03096352331340313,
0.0019387580687180161,
0.02115180343389511,
0.03726566582918167,
0.020246107131242752,
-0.05936090648174286,
0.048945385962724686,
0.010330609045922756,
-0.02415192686021328,
-0.0013208084274083376,
-0.0541154108941555,
-0.029755927622318268,
0.005693627987056971,
-0.01353828702121973,
-0.0858902856707573,
-0.0052171931602060795,
-0.026152007281780243,
-0.011623114347457886,
0.037529829889535904,
-0.04675661772489548,
-0.08475816249847412,
-0.008184295147657394,
0.047586843371391296,
0.0013526494149118662,
-0.04286966845393181,
0.04294514283537865,
0.0013196291401982307,
0.007052173838019371,
0.017783742398023605,
-0.02326509729027748,
-0.01775543950498104,
-0.02032158151268959,
0.03303908184170723,
0.001092615188099444,
-0.007438981905579567,
0.021906550973653793,
-0.05985148996114731,
0.02245374396443367,
0.006325729191303253,
0.023887764662504196,
0.005297385156154633,
-0.0021710789296776056,
0.02077442966401577,
0.04686983302235603,
-0.019264934584498405,
-0.020151764154434204,
-0.02452930063009262,
-0.0803806260228157,
-0.00265105115249753,
-0.0015377984382212162,
-0.013896792195737362,
-0.030284250155091286,
0.022151844576001167,
-0.03943556547164917,
0.0041393195278942585,
-0.04034126549959183,
0.027265259996056557,
-0.0456244982779026,
-0.0414733849465847,
0.0355486162006855,
-0.045511286705732346,
0.050190720707178116,
0.00593892065808177,
0.03268057480454445,
-0.01682143844664097,
-0.04268098250031471,
-0.015179863199591637,
-0.004769062157720327,
0.07000284641981125,
-0.02624635025858879,
-0.01484966091811657,
-0.012368427589535713,
-0.03637883812189102,
-0.026623724028468132,
0.04019031301140785,
-0.014104347676038742,
-0.014519458636641502,
0.018519621342420578,
-0.03611467778682709,
0.00007278450357262045,
-0.022736774757504463,
-0.032869260758161545,
0.09336228668689728,
0.03556748479604721,
0.005641738884150982,
-0.010509861633181572,
-0.0015460534486919641,
0.00815599225461483,
-0.034944817423820496,
0.024038713425397873,
0.0389072448015213,
-0.0063681835308671,
-0.03590711951255798,
-0.03192582726478577,
-0.009561710059642792,
-0.029020048677921295,
0.029491765424609184,
-0.026057664304971695,
-0.032020170241594315,
-0.010226830840110779,
-0.02579350210726261,
-0.014142084866762161,
0.02326509729027748,
-0.0047030216082930565,
-0.0663423240184784,
-0.03656752407550812,
-0.001614452456124127,
-0.00944849755614996,
-0.0067408401519060135,
0.010198527947068214,
0.0020106949377804995,
0.00700500188395381,
-0.017038429155945778,
-0.07079533487558365,
-0.060455288738012314,
-0.03852986916899681,
0.004471879918128252,
-0.004490748513489962,
0.026491643860936165,
-0.005787971429526806,
-0.10241926461458206,
0.018991338089108467,
0.00944849755614996,
0.028906837105751038,
0.005566264037042856,
0.004224228672683239,
-0.03385043516755104,
-0.02545386552810669,
-0.07426717132329941,
0.049435973167419434,
-0.03347305953502655,
0.04117148742079735,
0.010679679922759533,
-0.03852986916899681,
-0.029472896829247475,
-0.011943882331252098,
0.07355016469955444,
-0.0029152128845453262,
0.0034624049440026283,
0.022302793338894844,
-0.0075804973021149635,
0.036209020763635635,
0.11698589473962784,
0.03162392973899841,
-0.07630499452352524,
-0.01998194493353367,
-0.0533229224383831,
0.07422943413257599,
0.03905819356441498,
-0.005825708620250225,
0.014283600263297558,
0.009472083300352097,
0.03213338181376457,
0.05030393227934837,
0.013840185478329659,
0.018104510381817818,
0.08513554185628891,
-0.07536155730485916,
-0.005320971366018057,
-0.0006167703540995717,
-0.05936090648174286,
0.06483282893896103,
0.052681390196084976,
-0.035812776535749435,
-0.01759505458176136,
0.014500590041279793,
-0.057021189481019974,
0.008217315189540386,
-0.03734114021062851,
-0.05245496332645416,
-0.01058533601462841,
-0.046001870185136795,
0.017547883093357086,
-0.006118173245340586,
0.07426717132329941,
0.006066284608095884,
-0.0015436948742717505,
0.04577544704079628,
0.04902086406946182,
0.019359277561306953,
0.009594730101525784,
0.017330894246697426,
-0.0021781546529382467,
-0.022793380543589592,
0.0211329348385334,
0.08672051131725311,
-0.03126542270183563,
-0.03996388986706734,
0.032378677278757095,
-0.04630377143621445,
-0.05336065962910652,
-0.04879443719983101,
-0.02492554299533367,
0.017453540116548538,
-0.007953153923153877,
0.0035496726632118225,
0.023416047915816307,
0.007217274978756905,
0.018736612051725388
] |
18,398 | textual | __rich_repr__ | null | def __rich_repr__(self) -> rich.repr.Result:
yield self._group, LogGroup.INFO
yield self._verbosity, LogVerbosity.NORMAL
| (self) -> Iterable[Union[Any, Tuple[Any], Tuple[str, Any], Tuple[str, Any, Any]]] | [
0.01122245192527771,
-0.043763019144535065,
0.010450056754052639,
0.02004593424499035,
0.08207383751869202,
-0.03722037747502327,
0.0005472081247717142,
-0.03251330554485321,
0.039655692875385284,
0.02398969605565071,
-0.03076860122382641,
0.012185675092041492,
0.03300400450825691,
0.03567558526992798,
-0.0395829975605011,
0.015556953847408295,
0.006329099647700787,
-0.06488122045993805,
-0.00008540365524822846,
0.0460892952978611,
0.006120098289102316,
0.04012821614742279,
0.034948624670505524,
-0.02064567804336548,
-0.0002366881089983508,
0.021663421764969826,
-0.02786076068878174,
-0.03476688265800476,
-0.020100457593798637,
-0.002689753659069538,
-0.06317286193370819,
-0.10533656924962997,
0.013803161680698395,
0.006697123404592276,
-0.0007860260084271431,
0.004266349133104086,
-0.08025643229484558,
0.009264202788472176,
-0.021063679829239845,
0.03225887194275856,
0.03918316960334778,
-0.00037285120924934745,
-0.007469518575817347,
-0.04903348162770271,
-0.05150514841079712,
-0.02624327316880226,
0.08236461877822876,
0.040346305817365646,
-0.033040352165699005,
-0.07004263997077942,
0.0420910120010376,
0.05179593339562416,
-0.016847308725118637,
0.00667440565302968,
-0.03476688265800476,
-0.006297294981777668,
0.042054664343595505,
0.022226816043257713,
0.027715368196368217,
0.0009297142969444394,
-0.02755180187523365,
0.018519317731261253,
0.013639595359563828,
0.02224498987197876,
0.006628970615565777,
-0.013167071156203747,
-0.030386947095394135,
0.010613623075187206,
-0.0293146800249815,
0.054231252521276474,
-0.004834286868572235,
-0.029132939875125885,
-0.007096951361745596,
0.029769031330943108,
-0.05270463228225708,
-0.009091549552977085,
-0.03762020543217659,
0.02184516191482544,
0.08258271217346191,
-0.04267257824540138,
0.005992880556732416,
0.05165054276585579,
0.026970233768224716,
-0.01617486961185932,
0.010568187572062016,
-0.053686030209064484,
0.02660675346851349,
-0.0410732664167881,
0.001230153371579945,
0.02995077148079872,
-0.06826158612966537,
0.034603316336870193,
-0.015965869650244713,
0.0018514774274080992,
-0.021572552621364594,
0.016311176121234894,
-0.027279190719127655,
-0.015865912660956383,
0.050923582166433334,
-0.02033671922981739,
-0.04314510524272919,
0.03871064633131027,
0.020300371572375298,
-0.01114975567907095,
-0.032386086881160736,
-0.017447050660848618,
-0.03065955825150013,
0.03367644175887108,
0.006188251078128815,
0.03325844183564186,
-0.0002736040623858571,
0.01733800768852234,
-0.018973669037222862,
-0.027733542025089264,
0.008982505649328232,
-0.03367644175887108,
-0.03145921230316162,
-0.01643839292228222,
0.036148108541965485,
-0.02364438958466053,
-0.010295577347278595,
-0.041109614074230194,
-0.01829214207828045,
-0.005016027018427849,
-0.03376731276512146,
0.04492615535855293,
-0.050778187811374664,
0.018701057881116867,
0.032785918563604355,
-0.03618445619940758,
0.007196908816695213,
-0.026479534804821014,
-0.014357469044625759,
0.001959385583177209,
0.04136405140161514,
-0.015247995965182781,
-0.012103891931474209,
0.0008609938086010516,
0.015211647376418114,
0.10904406756162643,
-0.035239409655332565,
-0.054776471108198166,
0.002857863437384367,
0.0500875748693943,
-0.03943760693073273,
-0.06346365064382553,
0.04314510524272919,
0.04768860712647438,
0.03296765685081482,
-0.032749567180871964,
0.04452632740139961,
0.008260088041424751,
0.058883797377347946,
0.026933886110782623,
0.0017696943832561374,
0.038746993988752365,
0.017965011298656464,
-0.017574269324541092,
0.034639667719602585,
-0.039655692875385284,
-0.0175288338214159,
-0.0641542598605156,
0.05892014503479004,
0.005479464307427406,
0.006719840690493584,
0.05721179023385048,
0.024825699627399445,
-0.037801943719387054,
0.006465404760092497,
0.034239836037158966,
-0.02389882504940033,
-0.054631080478429794,
-0.023317256942391396,
0.019773324951529503,
-0.07604006677865982,
0.11842186003923416,
-0.00869172066450119,
0.08643560111522675,
-0.004350404255092144,
0.007701237220317125,
0.0023717086296528578,
-0.05641213059425354,
-0.08941613882780075,
0.016756439581513405,
-0.002421687124297023,
-0.03196808695793152,
0.05772066116333008,
-0.049215223640203476,
-0.001143258879892528,
-0.03863794729113579,
0.025570834055542946,
-0.013366985134780407,
0.04699799418449402,
0.0220450758934021,
-0.010759014636278152,
-0.0025784377939999104,
-0.0505964495241642,
-0.04823382571339607,
0.052522893995046616,
-0.030823124572634697,
-0.02509831078350544,
-0.003675693878903985,
-0.06095563620328903,
0.02620692551136017,
0.030623208731412888,
0.01598404347896576,
-0.01643839292228222,
0.030168859288096428,
0.0040505328215658665,
-0.02855137176811695,
0.0028078847099095583,
0.016865482553839684,
0.023535344749689102,
0.037402115762233734,
0.023535344749689102,
-0.03147738799452782,
-0.0019502986688166857,
0.0023648932110518217,
-0.05717543885111809,
0.020100457593798637,
0.014784558676183224,
-0.05935632064938545,
-0.003921043127775192,
0.0005761729553341866,
-0.061500854790210724,
0.02624327316880226,
0.041909269988536835,
-0.03536662831902504,
-0.0018139935564249754,
-0.001957113854587078,
0.0000032390205433330266,
-0.02584344521164894,
-0.05750257149338722,
0.01703813672065735,
-0.08701717108488083,
0.0325678288936615,
-0.0252982247620821,
0.07982026040554047,
-0.022917428985238075,
0.053177159279584885,
-0.024607611820101738,
0.056884657591581345,
0.045362334698438644,
0.02113637514412403,
0.02475300431251526,
-0.10402804613113403,
0.014421078376471996,
0.007660346105694771,
0.017619704827666283,
0.009623139165341854,
-0.01423025131225586,
-0.049978531897068024,
-0.03687506914138794,
-0.015456996858119965,
0.04412649944424629,
-0.04976044222712517,
-0.06291842460632324,
-0.03251330554485321,
0.025389093905687332,
-0.02153620310127735,
0.020064108073711395,
0.0088961785659194,
-0.01858292706310749,
0.05219576135277748,
0.04587120562791824,
0.028187891468405724,
-0.012885374017059803,
-0.0298053789883852,
0.05852031707763672,
0.03969204053282738,
0.12910817563533783,
0.01433020830154419,
-0.07425901293754578,
0.025189179927110672,
-0.06902489811182022,
0.024207783862948418,
-0.009395964443683624,
-0.020209500566124916,
-0.07186004519462585,
-0.01608400046825409,
0.03040512092411518,
0.03216800093650818,
-0.029441898688673973,
-0.033294789493083954,
0.030568687245249748,
0.009177875705063343,
0.013230680488049984,
0.04314510524272919,
-0.010677231475710869,
-0.025370920076966286,
0.0245530903339386,
0.057030048221349716,
0.012367415241897106,
-0.025661705061793327,
0.07749398797750473,
-0.012985331006348133,
-0.027769889682531357,
0.04685260355472565,
-0.03373096510767937,
-0.00954135600477457,
0.004534415900707245,
-0.11376931518316269,
0.017574269324541092,
0.013939467258751392,
-0.0280606746673584,
0.04914252832531929,
0.05892014503479004,
0.028787635266780853,
-0.02209959737956524,
0.017810530960559845,
-0.004688894841820002,
0.04118230938911438,
0.06001058593392372,
0.005815683864057064,
-0.02855137176811695,
-0.02895119972527027,
0.010840797796845436,
0.037947338074445724,
-0.010577274486422539,
0.076112762093544,
-0.051468800753355026,
0.03196808695793152,
0.02786076068878174,
0.021917857229709625,
0.017855966463685036,
-0.05946536734700203,
-0.019955065101385117,
0.02644318714737892,
0.00589746655896306,
-0.00727869151160121,
-0.060337718576192856,
-0.027733542025089264,
-0.013285202905535698,
0.05470377579331398,
0.0013857684098184109,
0.02920563705265522,
-0.0070787775330245495,
-0.02680666744709015,
0.017147179692983627,
-0.04965139925479889,
0.013821335509419441,
-0.015493344515562057,
-0.03776559606194496,
0.00331902876496315,
0.0005594188114628196,
0.02299012430012226,
0.01497538574039936,
0.024807525798678398,
0.03151373565196991,
0.009659486822783947,
0.00806471798568964,
-0.026661274954676628,
-0.002118408214300871,
0.010304664261639118,
-0.00093596160877496,
-0.022753862664103508,
-0.015020820312201977,
-0.05466742813587189,
-0.005206854548305273,
0.06451774388551712,
0.018355751410126686,
0.03322209417819977,
0.019827846437692642,
0.025716226547956467,
-0.07324126362800598,
-0.04503520205616951,
0.0010149049339815974,
0.023608041927218437,
0.04223640263080597,
0.005384050775319338,
-0.02920563705265522,
0.003727944102138281,
-0.03480323404073715,
-0.0641542598605156,
-0.018919145688414574,
-0.003248604480177164,
-0.019155407324433327,
-0.014839080162346363,
-0.03145921230316162,
-0.05670291557908058,
0.055430736392736435,
0.05165054276585579,
-0.019100885838270187,
-0.018773753196001053,
-0.019573410972952843,
-0.03291313350200653,
0.04332684352993965,
0.0816376581788063,
-0.06633514165878296,
-0.0003978404856752604,
-0.02795162983238697,
-0.02335360459983349,
-0.005665747914463282,
-0.020754721015691757,
-0.0465981662273407,
-0.0415821373462677,
0.05684830993413925,
-0.005047831684350967,
-0.050123922526836395,
-0.04223640263080597,
0.016865482553839684,
0.03725672513246536,
-0.05419490113854408,
-0.0375838577747345,
0.006065576337277889,
-0.054085858166217804,
0.026388665661215782,
-0.0013426051009446383,
0.011213365010917187,
-0.05881110206246376,
0.020009586587548256,
-0.0298053789883852,
-0.041000571101903915,
-0.018501143902540207,
0.018973669037222862,
-0.054885514080524445,
0.006878863554447889,
0.017247136682271957,
-0.04717973247170448,
0.025879792869091034,
0.007210539188235998,
0.007569476030766964,
0.07596737146377563,
0.05190497636795044,
0.0014652797253802419,
0.008541785180568695,
-0.04914252832531929,
0.00966857373714447,
0.01979149878025055,
-0.01667465642094612,
-0.0471070371568203,
-0.03567558526992798,
0.016601959243416786,
0.0038210859056562185,
0.03167730197310448,
-0.08272810280323029,
-0.03553019091486931,
-0.01882827654480934,
0.0052613765001297,
0.050123922526836395,
0.04503520205616951,
-0.018864624202251434,
0.0545947290956974,
-0.020409414544701576,
0.06324555724859238,
0.012331066653132439,
0.002592068398371339,
0.009486834518611431,
0.03385818377137184,
0.006824341136962175,
0.0004472510772757232,
0.03772924840450287,
-0.00294873327948153,
-0.02829693630337715,
0.007846629247069359,
-0.01247645914554596,
-0.003814270719885826,
-0.01257641613483429,
-0.009623139165341854,
-0.016256652772426605,
0.015347952954471111,
-0.0018855537055060267,
-0.09792157262563705,
0.01312163658440113,
0.004064163193106651,
-0.03373096510767937,
0.07106038182973862,
-0.036693330854177475,
-0.1006840243935585,
-0.033894531428813934,
0.03600271791219711,
0.015093516558408737,
0.00886437389999628,
-0.009895749390125275,
-0.011531410738825798,
0.0335492268204689,
-0.02644318714737892,
0.011604106053709984,
-0.025934314355254173,
-0.019955065101385117,
-0.03360374644398689,
-0.020427588373422623,
0.005402225069701672,
-0.029787205159664154,
-0.04754321277141571,
-0.018664710223674774,
0.04067343845963478,
0.013612334616482258,
0.035239409655332565,
-0.030477818101644516,
0.00007518077472923324,
0.005715726874768734,
-0.04688895121216774,
-0.028078848496079445,
0.029478246346116066,
-0.01742887683212757,
0.02193603292107582,
-0.0025670791510492563,
-0.008141957223415375,
-0.04292701557278633,
0.018310315907001495,
-0.03282226622104645,
0.03131382167339325,
-0.0016754167154431343,
0.03240426257252693,
-0.018846450373530388,
0.06008328124880791,
-0.023317256942391396,
0.014202989637851715,
0.0038301730528473854,
0.0293146800249815,
-0.012594589963555336,
-0.006769819185137749,
-0.01692909188568592,
-0.021754292771220207,
-0.05717543885111809,
0.009732183068990707,
0.038056381046772,
0.009832140058279037,
-0.03180452063679695,
0.028933025896549225,
-0.02233586087822914,
-0.017365267500281334,
-0.01868288405239582,
-0.038092728704214096,
0.030786775052547455,
-0.014766384847462177,
0.022917428985238075,
-0.0415821373462677,
0.022463077679276466,
0.003248604480177164,
-0.01988236792385578,
0.021263593807816505,
-0.02769719436764717,
-0.03841986134648323,
0.03325844183564186,
-0.03791098669171333,
0.075167715549469,
-0.03185904398560524,
0.016520176082849503,
0.030059814453125,
-0.0008484991849400103,
-0.06858871877193451,
-0.01084988471120596,
0.021227246150374413,
0.004334501922130585,
0.02073654718697071,
-0.0030645926017314196,
0.004702525679022074,
-0.03542114794254303,
-0.010277403518557549,
-0.01879192888736725,
-0.03520306199789047,
0.0017265310743823647,
0.0131488973274827,
0.09879392385482788,
0.023916998878121376,
-0.01294898334890604,
0.024207783862948418,
0.02133628912270069,
0.038492556661367416,
0.020954634994268417,
-0.007923869416117668,
-0.03251330554485321,
0.0505964495241642,
0.037002287805080414,
0.024026043713092804,
0.03596637025475502,
-0.012594589963555336,
-0.008659916929900646,
0.008101065643131733,
-0.017065396532416344,
-0.007355931214988232,
0.03425801172852516,
-0.025225527584552765,
0.03436705470085144,
0.020627502351999283,
0.034894101321697235,
0.04816113039851189,
-0.010204707272350788,
-0.00286695035174489,
-0.00403235899284482,
0.05135975778102875,
-0.08781682699918747,
-0.027079276740550995,
-0.022881081327795982,
-0.06797080487012863,
0.012958070263266563,
0.07494962215423584,
0.042200054973363876,
0.004838830791413784,
-0.027715368196368217,
-0.029496420174837112,
-0.06618975102901459,
0.03889238461852074,
-0.035548366606235504,
0.014366555958986282,
-0.036747850477695465,
-0.016093086451292038,
0.04314510524272919,
-0.009523182176053524,
0.0060246847569942474,
-0.0033644638024270535,
-0.0017844607355073094,
-0.013339724391698837,
-0.03652976453304291,
0.05175958573818207,
-0.004775221459567547,
-0.009323268197476864,
0.03291313350200653,
-0.052631936967372894,
-0.01530251745134592,
-0.010331925936043262,
-0.038492556661367416,
-0.023408126085996628,
-0.040200915187597275,
0.00046201745863072574,
0.024971092119812965,
0.008959787897765636,
0.05822953209280968,
0.015765955671668053,
0.009227854199707508,
-0.04463537409901619,
0.021027332171797752,
-0.0034008119255304337,
0.00011820206418633461,
-0.014239338226616383,
-0.04968774691224098,
0.052922721952199936,
-0.018900971859693527,
-0.0006866368930786848,
0.03696594014763832,
0.00984122697263956,
-0.04965139925479889,
-0.03520306199789047,
-0.02520735375583172,
0.018610188737511635,
0.04299971088767052,
-0.014084858819842339,
0.011413278989493847,
0.024716656655073166,
-0.007864803075790405,
-0.043363191187381744,
-0.022226816043257713,
-0.0222995113581419,
0.03105938620865345,
-0.04223640263080597,
-0.031186603009700775,
0.04016456753015518,
-0.0561213493347168,
0.0012903548777103424,
0.06011962890625,
-0.0023467191495001316,
0.019755151122808456,
-0.06684401631355286,
0.017419790849089622,
-0.022917428985238075,
0.06048310920596123,
-0.04728877916932106,
0.06644418835639954,
-0.03185904398560524,
0.024625785648822784,
0.02815154381096363,
-0.02900572307407856,
0.04805208742618561,
0.05335889756679535,
0.0021729301661252975,
0.0041777510195970535,
0.03533027693629265,
-0.0670984536409378,
0.0375838577747345,
0.03527575731277466,
-0.003366735763847828,
0.01968245394527912,
-0.07029707729816437,
0.03852890431880951,
-0.004021000117063522,
0.04354493319988251,
0.00641088280826807,
-0.0070515163242816925,
0.030223380774259567,
0.006778906565159559,
-0.024371350184082985,
-0.041109614074230194,
0.04289066791534424,
0.011358757503330708,
-0.04896078631281853,
-0.015520606189966202,
-0.013966728001832962,
-0.0796748697757721,
-0.03896507993340492,
-0.01307620108127594,
-0.005156875587999821,
-0.03085947223007679,
0.010450056754052639,
0.01593860797584057,
0.012303805910050869,
-0.09188780188560486,
0.03827446699142456,
-0.0641179159283638,
0.04361762851476669,
-0.011831281706690788,
0.0064926655031740665,
0.0021456691902130842,
-0.005997424013912678,
0.046816252171993256,
0.007805738132447004,
-0.005220484919846058,
0.02644318714737892,
0.020954634994268417,
0.017556095495820045,
0.1373228281736374,
-0.020954634994268417,
-0.056230392307043076,
-0.02540726773440838,
-0.012658199295401573,
0.030059814453125,
0.03269504755735397,
-0.0038733361288905144,
0.012758156284689903,
-0.017855966463685036,
0.039001427590847015,
0.0003773946955334395,
0.015466083772480488,
-0.014339295215904713,
0.1037372574210167,
-0.036148108541965485,
0.023916998878121376,
0.02866041660308838,
-0.027642671018838882,
-0.0021025058813393116,
-0.028078848496079445,
-0.08621750771999359,
-0.008541785180568695,
0.014357469044625759,
-0.009977532550692558,
-0.00758764985948801,
0.0012755884090438485,
0.07236891239881516,
-0.06324555724859238,
0.013157984241843224,
-0.002027538139373064,
0.0435812808573246,
0.024825699627399445,
-0.030023466795682907,
0.00735138775780797,
0.02469848096370697,
0.04837922006845474,
-0.018074054270982742,
0.01648382842540741,
0.0541222058236599,
-0.014484687708318233,
0.015247995965182781,
0.007792107295244932,
0.051468800753355026,
-0.02789710834622383,
0.041800227016210556,
0.024371350184082985,
0.023480823263525963,
0.006733471527695656,
0.01733800768852234,
-0.033694617450237274,
0.023971522226929665,
0.049069833010435104,
-0.017701487988233566,
0.07807555049657822,
-0.0021706584375351667,
0.02760632336139679
] |
18,399 | textual | verbosity | Get a new logger with selective verbosity.
Args:
verbose: True to use HIGH verbosity, otherwise NORMAL.
Returns:
New logger.
| def verbosity(self, verbose: bool) -> Logger:
"""Get a new logger with selective verbosity.
Args:
verbose: True to use HIGH verbosity, otherwise NORMAL.
Returns:
New logger.
"""
verbosity = LogVerbosity.HIGH if verbose else LogVerbosity.NORMAL
return Logger(self._log, self._group, verbosity)
| (self, verbose: bool) -> textual.Logger | [
0.012752875685691833,
-0.03563645854592323,
0.03132285177707672,
-0.007253477815538645,
0.020476195961236954,
-0.018364140763878822,
-0.02978355996310711,
-0.014838083647191525,
0.018265698105096817,
-0.0037274195346981287,
-0.026239601895213127,
0.008971760049462318,
-0.020404601469635963,
-0.023035721853375435,
0.022946227341890335,
-0.02867383509874344,
-0.018561027944087982,
-0.02813687175512314,
0.03184191882610321,
0.06873129308223724,
0.07431570440530777,
0.053016167134046555,
0.020923666656017303,
0.0052756634540855885,
0.007405617740005255,
0.04864886775612831,
-0.011875836178660393,
0.00846611987799406,
-0.010605023242533207,
0.012752875685691833,
-0.06457877159118652,
-0.06540212035179138,
0.01761239394545555,
0.07241843640804291,
-0.010202300734817982,
0.022767240181565285,
-0.06182236224412918,
0.052192822098731995,
-0.09658177942037582,
0.03338121250271797,
0.020297208800911903,
-0.012931863777339458,
-0.017809279263019562,
-0.024503421038389206,
-0.00868090521544218,
-0.00888674147427082,
0.07875460386276245,
0.055486198514699936,
-0.027349326759576797,
-0.038374971598386765,
0.04449634999036789,
0.05015236511826515,
0.018471533432602882,
-0.040200646966695786,
-0.026561779901385307,
0.018382040783762932,
0.06819432973861694,
0.010014363564550877,
0.009361058473587036,
-0.03288004547357559,
-0.06253831088542938,
-0.0030159433372318745,
-0.03212829679250717,
0.03490260988473892,
-0.037981197237968445,
0.022373467683792114,
-0.0570254921913147,
0.04728855937719345,
0.010309693403542042,
0.026901856064796448,
-0.01650266908109188,
-0.04843408241868019,
0.01585831306874752,
-0.013441978953778744,
-0.051226288080215454,
0.025308866053819656,
-0.09293042868375778,
-0.021353237330913544,
0.02906760759651661,
0.012797622941434383,
-0.06035466492176056,
-0.006246672011911869,
0.007951529696583748,
0.037909600883722305,
0.019097991287708282,
-0.020136119797825813,
-0.02808317542076111,
-0.020834172144532204,
0.05795622989535332,
-0.00396905280649662,
-0.0967249721288681,
0.023984355852007866,
0.013898397795855999,
0.037838008254766464,
-0.011652101762592793,
-0.03053530678153038,
-0.014301120303571224,
0.009029931388795376,
0.035940736532211304,
-0.005664961878210306,
-0.03234308212995529,
0.014471158385276794,
-0.010175452567636967,
0.002449894556775689,
-0.03300533816218376,
-0.027098743245005608,
-0.037623222917318344,
0.04549868404865265,
0.07087914645671844,
0.04152515530586243,
-0.039055123925209045,
-0.01552718598395586,
-0.04446055367588997,
0.018176203593611717,
-0.03400766849517822,
0.006716514937579632,
0.035976532846689224,
-0.024020154029130936,
-0.026454387232661247,
-0.0012204726226627827,
-0.03257576748728752,
0.01675325259566307,
-0.01418477762490511,
-0.013728359714150429,
0.01444431021809578,
0.018757915124297142,
-0.03114386647939682,
-0.037408437579870224,
0.03076799213886261,
0.01628788374364376,
-0.011535759083926678,
0.03228938579559326,
0.03017733246088028,
-0.020995261147618294,
0.023841166868805885,
-0.0172544177621603,
0.014363765716552734,
0.06622546166181564,
0.002749699167907238,
0.08927908539772034,
-0.07320598512887955,
-0.036978866904973984,
-0.004725276026874781,
0.0013849176466464996,
0.02874542959034443,
-0.03288004547357559,
0.024306533858180046,
-0.027134541422128677,
-0.053266748785972595,
0.01587621122598648,
0.013817853294312954,
-0.01499917171895504,
0.022713543847203255,
0.04972279444336891,
-0.018757915124297142,
0.0019431356340646744,
0.007311649154871702,
-0.03058900311589241,
0.06747837364673615,
-0.0684807077050209,
-0.013325637206435204,
-0.011079341173171997,
0.011428366415202618,
-0.03148394078016281,
-0.016171541064977646,
0.021943897008895874,
0.00026708326186053455,
0.0582784079015255,
0.011159885674715042,
0.03171662613749504,
-0.024288635700941086,
0.04463954269886017,
-0.01503496989607811,
0.014005790464580059,
-0.04449634999036789,
0.0816899985074997,
0.04295705631375313,
0.026311196386814117,
-0.004729751031845808,
0.04102398827672005,
-0.011616303585469723,
-0.008613784797489643,
-0.053302548825740814,
0.013755207881331444,
0.05734767019748688,
0.002454369328916073,
0.05835000053048134,
0.020333006978034973,
-0.051011502742767334,
0.02819056808948517,
0.06486515700817108,
0.015795666724443436,
0.08326509594917297,
-0.037086259573698044,
0.03144814446568489,
0.022588253021240234,
-0.002418571850284934,
-0.05061773210763931,
0.03373918682336807,
-0.005620215088129044,
0.02767150290310383,
0.02913920395076275,
-0.03017733246088028,
-0.03166292980313301,
0.04578506201505661,
-0.00024037493858486414,
0.012663382105529308,
-0.03085748478770256,
-0.08197638392448425,
-0.024396028369665146,
0.006515153683722019,
-0.024843497201800346,
0.038124386221170425,
0.012940812855958939,
-0.009378957562148571,
-0.051118895411491394,
0.04449634999036789,
0.007289275527000427,
-0.01481123548001051,
0.020637284964323044,
0.038518160581588745,
-0.03475941717624664,
-0.03109017014503479,
0.07180988043546677,
-0.03617342188954353,
0.055808376520872116,
0.025953222066164017,
-0.00842137262225151,
-0.00862720888108015,
-0.03185981512069702,
-0.0027474616654217243,
0.022641949355602264,
-0.007741219364106655,
0.00825133454054594,
-0.07023479044437408,
0.026382792741060257,
0.007369820028543472,
0.03230728581547737,
0.04216951131820679,
-0.006277994718402624,
0.005517296958714724,
0.009226817637681961,
0.06142859160900116,
0.11290546506643295,
-0.011088290251791477,
-0.055128224194049835,
-0.026812363415956497,
0.0031882189214229584,
0.04642941802740097,
0.053946904838085175,
-0.04521230235695839,
-0.039842668920755386,
0.00770542211830616,
0.027206135913729668,
0.04127456992864609,
0.0006924588233232498,
-0.0566675178706646,
0.0006337284576147795,
-0.053051963448524475,
-0.05097570642828941,
-0.022301871329545975,
0.05874377489089966,
-0.03035631962120533,
0.0178808756172657,
-0.020046627148985863,
-0.0026937653310596943,
0.03148394078016281,
-0.07288380712270737,
0.04403098300099373,
0.04539129137992859,
0.039234112948179245,
0.06422080099582672,
0.00711923697963357,
0.007897833362221718,
-0.06318266689777374,
-0.04378040134906769,
0.0007724439492449164,
-0.011133037507534027,
-0.04975859075784683,
0.07496006041765213,
-0.020297208800911903,
0.019348574802279472,
0.00787546020001173,
-0.024628711864352226,
0.005830525420606136,
0.01576881855726242,
0.0010627396404743195,
0.03230728581547737,
-0.038446564227342606,
-0.011696848087012768,
0.007159509230405092,
0.009387906640768051,
0.04127456992864609,
0.010801909491419792,
0.006729939021170139,
-0.03404346853494644,
-0.09257245808839798,
0.022140782326459885,
0.007647250778973103,
-0.05179905146360397,
0.016457922756671906,
-0.07653515785932541,
0.0148828299716115,
0.025917423889040947,
0.01657426357269287,
0.03563645854592323,
-0.0009100407478399575,
-0.02938978560268879,
0.04367300868034363,
0.024986688047647476,
-0.05788463354110718,
0.036083925515413284,
0.008211062289774418,
0.00039013734203763306,
-0.025237269699573517,
0.001033094828017056,
-0.03228938579559326,
-0.005065353121608496,
-0.03413296118378639,
0.05913754925131798,
-0.018194103613495827,
0.04277806729078293,
-0.038732945919036865,
-0.024807700887322426,
-0.03334541618824005,
-0.06182236224412918,
0.008425847627222538,
0.026203803718090057,
-0.04220530763268471,
0.009584792889654636,
-0.038482364267110825,
0.01413108129054308,
0.015124463476240635,
0.021818604320287704,
-0.04861306771636009,
-0.024485522881150246,
0.03391817584633827,
-0.038804542273283005,
-0.0004589357413351536,
0.013236142694950104,
-0.020171917974948883,
0.004823719616979361,
-0.05913754925131798,
0.0037632170133292675,
0.03085748478770256,
-0.003913119435310364,
0.01477543730288744,
-0.023178910836577415,
0.037802208214998245,
0.009432653896510601,
0.053481534123420715,
-0.021675415337085724,
-0.06189395859837532,
0.008479543961584568,
0.0030405542347580194,
-0.05136948078870773,
-0.012090621516108513,
-0.008381100371479988,
0.006331691052764654,
0.0015079716686159372,
-0.09199969470500946,
0.015607730485498905,
0.021317439153790474,
0.007454839069396257,
0.055056627839803696,
0.009522147476673126,
0.026955552399158478,
-0.04446055367588997,
-0.013191396370530128,
0.010202300734817982,
0.0032956115901470184,
-0.05974610522389412,
0.021997593343257904,
-0.00690445164218545,
-0.017209671437740326,
0.022606151178479195,
-0.027743099257349968,
-0.006707565393298864,
0.0023067044094204903,
0.010050161741673946,
0.08305031061172485,
0.05033135041594505,
-0.004519440233707428,
-0.012010077014565468,
-0.005597841460257769,
-0.03293374180793762,
0.040021657943725586,
0.05806362256407738,
-0.022749342024326324,
0.007727795280516148,
-0.0019632717594504356,
-0.018283596262335777,
-0.003058452857658267,
-0.00788440927863121,
0.027582010254263878,
-0.011634202674031258,
-0.04632202535867691,
0.010166503489017487,
-0.00374755566008389,
-0.012251710519194603,
-0.014909678138792515,
0.009906970895826817,
0.013030307367444038,
-0.019599156454205513,
-0.05086831375956535,
-0.004599984735250473,
0.04410257935523987,
0.056237947195768356,
-0.03347070515155792,
-0.05734767019748688,
0.03454463183879852,
0.013576219789683819,
-0.04789711907505989,
0.009656388312578201,
0.052980370819568634,
0.0019957132171839476,
0.07603398710489273,
0.021800706163048744,
-0.023214709013700485,
0.014363765716552734,
0.002068426925688982,
-0.023518988862633705,
0.024575015529990196,
0.04943641275167465,
0.07052116841077805,
0.005982664879411459,
-0.054627057164907455,
0.06182236224412918,
0.010461833328008652,
-0.023680077865719795,
-0.020207716152071953,
-0.01526765339076519,
0.019796043634414673,
-0.04836248606443405,
0.04381619766354561,
-0.02876332961022854,
-0.018212001770734787,
-0.01422057580202818,
-0.0037833531387150288,
0.07188147306442261,
0.07825344055891037,
-0.06511573493480682,
0.0357617512345314,
-0.04564187303185463,
0.04603564366698265,
-0.02767150290310383,
0.03194931149482727,
0.03014153428375721,
0.04335083067417145,
-0.04642941802740097,
0.021371135488152504,
-0.011777392588555813,
0.03475941717624664,
-0.0024431825149804354,
0.026436489075422287,
-0.025273067876696587,
-0.06307527422904968,
-0.02937188744544983,
0.007633826695382595,
-0.054734449833631516,
0.0021422593854367733,
0.038267578929662704,
0.0031613707542419434,
0.00845717079937458,
-0.06397021561861038,
-0.019670752808451653,
0.06844490766525269,
-0.07632037252187729,
-0.018382040783762932,
-0.03404346853494644,
0.06855230033397675,
-0.026991350576281548,
-0.011097239330410957,
-0.018265698105096817,
0.004369538277387619,
0.010900353081524372,
0.0018883205484598875,
-0.04557027667760849,
0.027170337736606598,
-0.010730314999818802,
-0.03529638051986694,
0.02980145812034607,
0.01416687946766615,
0.01805986277759075,
0.006568850018084049,
-0.019080093130469322,
0.006971572060137987,
0.04263487830758095,
0.006443558260798454,
-0.01475753914564848,
-0.015545085072517395,
0.019151687622070312,
-0.005123523995280266,
-0.03427615016698837,
0.018668420612812042,
0.03194931149482727,
-0.011956380680203438,
0.014784387312829494,
-0.015562983229756355,
0.04675159603357315,
0.0021008686162531376,
-0.052049633115530014,
-0.03334541618824005,
-0.010354440659284592,
0.012332255020737648,
-0.06611806899309158,
0.0001559150987304747,
0.01628788374364376,
-0.019760245457291603,
0.022498758509755135,
0.01737970858812332,
0.04796871170401573,
-0.07939895987510681,
0.020136119797825813,
-0.011446265503764153,
0.009665337391197681,
-0.11526810377836227,
-0.03329171985387802,
0.06017567589879036,
-0.054090093821287155,
0.011061442084610462,
0.04324343800544739,
0.014256373047828674,
-0.054877638816833496,
0.04134616628289223,
-0.038553956896066666,
-0.011446265503764153,
0.025881625711917877,
0.03096487745642662,
0.0684807077050209,
0.0027318003121763468,
-0.04338662698864937,
-0.03590494021773338,
0.052515000104904175,
-0.012672331184148788,
-0.04134616628289223,
-0.08999503403902054,
0.009629540145397186,
-0.040988191962242126,
-0.05706128850579262,
-0.017746634781360626,
-0.010515529662370682,
-0.0029913324397057295,
-0.037444233894348145,
-0.005785778630524874,
0.028172669932246208,
-0.04131036996841431,
0.02810107357800007,
0.010613972321152687,
-0.005204068496823311,
-0.003998138476163149,
-0.005266713909804821,
-0.03028472512960434,
-0.03023102879524231,
-0.01587621122598648,
0.009477400220930576,
-0.041095584630966187,
0.005754455458372831,
0.02860224060714245,
0.016941189765930176,
0.04889944940805435,
-0.04553448036313057,
-0.007571181282401085,
0.005664961878210306,
-0.036835674196481705,
-0.004725276026874781,
0.006761261727660894,
0.039806872606277466,
0.021210046485066414,
-0.012905015610158443,
0.027045046910643578,
-0.014838083647191525,
-0.014157929457724094,
0.040988191962242126,
-0.06547371298074722,
0.08476859331130981,
0.04378040134906769,
0.038446564227342606,
0.03184191882610321,
0.05641693249344826,
-0.0348668098449707,
0.020798373967409134,
0.012922914698719978,
-0.03481311351060867,
-0.040630217641592026,
-0.03296954184770584,
0.04274227097630501,
0.003250864800065756,
0.013549371622502804,
0.03109017014503479,
0.006814958062022924,
0.02924659661948681,
0.012081672437489033,
-0.06210874393582344,
-0.01639527641236782,
0.0006186263635754585,
-0.01536609698086977,
-0.022445062175393105,
0.09106896072626114,
0.04639362171292305,
-0.07496006041765213,
0.02926449477672577,
-0.04531969502568245,
-0.020136119797825813,
-0.012081672437489033,
-0.03049951046705246,
0.08190478384494781,
-0.04872046038508415,
0.006090057548135519,
-0.02956877462565899,
-0.026454387232661247,
-0.03014153428375721,
-0.027582010254263878,
-0.025273067876696587,
0.023393696174025536,
0.027027148753404617,
0.018525229766964912,
-0.007633826695382595,
0.0001733943645376712,
-0.04378040134906769,
-0.051118895411491394,
0.026883957907557487,
0.013236142694950104,
-0.019187485799193382,
-0.04607144370675087,
-0.016797998920083046,
-0.011213582009077072,
-0.04037963226437569,
-0.016010452061891556,
-0.08612889796495438,
-0.0069268252700567245,
-0.012278558686375618,
-0.022516656666994095,
-0.01646687090396881,
-0.05681070685386658,
-0.039914265275001526,
0.009978566318750381,
-0.019097991287708282,
0.0067657362669706345,
0.04503331333398819,
0.0021310728043317795,
0.01548243872821331,
-0.010372338816523552,
-0.0019341862061992288,
0.02835165709257126,
-0.020834172144532204,
-0.03377498686313629,
0.00015759310917928815,
-0.005893171299248934,
-0.04915003105998039,
-0.02965826727449894,
0.023178910836577415,
-0.06522312760353088,
0.025774233043193817,
-0.07127291709184647,
0.017388658598065376,
0.07234684377908707,
0.052479203790426254,
0.01422057580202818,
0.020744677633047104,
0.008161840960383415,
-0.0020885630510747433,
0.052371811121702194,
0.017406556755304337,
0.07911258190870285,
0.0018335055792704225,
0.009790629148483276,
-0.0963669940829277,
0.04388779401779175,
-0.04181153327226639,
0.021066855639219284,
-0.016529517248272896,
-0.009191020391881466,
0.04188312962651253,
-0.009754831902682781,
0.04567766934633255,
-0.039090920239686966,
0.08935067802667618,
0.011437316425144672,
-0.025935322046279907,
0.020046627148985863,
0.04267067462205887,
-0.0010079246712848544,
-0.05029555410146713,
0.0293181911110878,
0.01601940207183361,
-0.021138451993465424,
0.03105437196791172,
0.004819244612008333,
-0.019509663805365562,
-0.09608061611652374,
-0.010068059898912907,
-0.05545039847493172,
0.06218034029006958,
0.01407738495618105,
0.03424035385251045,
-0.024628711864352226,
-0.014247423969209194,
0.010685567744076252,
-0.04832668974995613,
0.019903436303138733,
-0.009244716726243496,
-0.04048702493309975,
0.019652852788567543,
0.009441602975130081,
-0.0345088355243206,
0.025684740394353867,
-0.057562455534935,
0.03033842146396637,
0.023125214502215385,
0.011965329758822918,
0.08577091991901398,
0.07581920176744461,
-0.007808339782059193,
0.0025997967459261417,
0.022248174995183945,
0.021335337311029434,
-0.022874632850289345,
-0.022212378680706024,
0.026472285389900208,
-0.012010077014565468,
-0.05015236511826515,
-0.02862013876438141,
0.0060229371301829815,
0.016189441084861755,
0.06475776433944702,
-0.027367224916815758,
0.022480860352516174,
0.006761261727660894,
-0.04274227097630501,
-0.005776829086244106,
-0.04961540177464485,
-0.05817101523280144,
-0.052336014807224274,
0.007683048490434885,
0.039448898285627365,
-0.03094697929918766,
0.00842137262225151,
0.04886365309357643,
-0.007123711984604597,
0.025971120223402977,
0.026382792741060257,
-0.002232871949672699,
-0.005951342172920704,
-0.021353237330913544,
-0.03091118112206459,
0.0672277957201004,
0.0345088355243206,
-0.03114386647939682,
-0.013191396370530128,
0.018489433452486992,
-0.03096487745642662,
0.039090920239686966,
-0.019008496776223183,
0.007262427359819412,
-0.023250507190823555,
0.020529892295598984,
-0.03121546097099781,
0.01737970858812332,
-0.015607730485498905,
0.013128750026226044,
-0.05004497244954109,
0.016941189765930176,
0.0695546343922615,
-0.004935586825013161,
0.07875460386276245,
0.039234112948179245,
0.037301044911146164
] |
18,400 | textual | LoggerError | Raised when the logger failed. | class LoggerError(Exception):
"""Raised when the logger failed."""
| null | [
0.012180577963590622,
-0.035110313445329666,
-0.009016148746013641,
0.04386088624596596,
0.010956218466162682,
-0.05055885389447212,
-0.05037879943847656,
0.0635586753487587,
-0.00037389108911156654,
-0.019085606560111046,
0.07382168620824814,
0.0011377092450857162,
0.07036466896533966,
-0.001220983685925603,
-0.02011190913617611,
0.02405506744980812,
-0.014701318927109241,
0.043644823133945465,
0.003290466731414199,
-0.009731858968734741,
-0.03530837222933769,
0.04018780589103699,
0.0417722724378109,
0.0289164949208498,
-0.025315437465906143,
0.07720667868852615,
0.011460366658866405,
-0.0014359218766912818,
0.036334674805402756,
-0.056896716356277466,
-0.08304039388895035,
-0.04584146663546562,
-0.020327972248196602,
0.02864641509950161,
-0.03354385495185852,
-0.02915056422352791,
-0.011775459162890911,
0.023352861404418945,
-0.09816484153270721,
0.0028155772015452385,
-0.05927341431379318,
0.042060356587171555,
-0.01686195284128189,
-0.04303264245390892,
0.04425700008869171,
0.01196451485157013,
-0.007485699374228716,
0.01625877618789673,
-0.07184110581874847,
0.009236713871359825,
-0.027656124904751778,
0.03766706585884094,
0.0009402137366123497,
-0.03748701140284538,
0.01635780557990074,
0.06575531512498856,
0.06453096121549606,
0.007602733559906483,
-0.051315076649188995,
-0.026863891631364822,
-0.014935387298464775,
0.04533731937408447,
0.01682594232261181,
0.0012491169618442655,
0.004485567566007376,
0.010055954568088055,
-0.009142185561358929,
0.02175039052963257,
0.004145717713981867,
0.030356917530298233,
0.02724200300872326,
-0.013368927873671055,
-0.0007697261171415448,
0.0009492163662798703,
0.04072796553373337,
-0.026935912668704987,
-0.06712371855974197,
0.04234844073653221,
0.03613661602139473,
-0.007157102692872286,
-0.0013470207341015339,
-0.010767162777483463,
-0.007373166270554066,
0.0227946974337101,
0.0713009461760521,
-0.024847298860549927,
-0.055816397070884705,
-0.03709089756011963,
-0.014062130823731422,
0.044869180768728256,
-0.07727870345115662,
-0.007139097433537245,
-0.010190993547439575,
-0.001509068300947547,
-0.030266892164945602,
0.00893962662667036,
0.025639532133936882,
-0.008156396448612213,
0.01647483929991722,
0.01706901378929615,
0.023388871923089027,
0.03010484389960766,
0.018149331212043762,
0.004465311765670776,
-0.02020193450152874,
-0.06215425953269005,
-0.03147324547171593,
-0.04735391214489937,
0.043644823133945465,
-0.0028695929795503616,
-0.013945097103714943,
-0.009911911562085152,
-0.0426725372672081,
0.00029033530154265463,
-0.01635780557990074,
-0.008737066760659218,
0.017438123002648354,
0.002552249701693654,
-0.04353678971529007,
0.003150925738736987,
0.06874419748783112,
-0.010199996642768383,
-0.09045857191085815,
0.05239539220929146,
0.048182155936956406,
-0.00009094078268390149,
-0.010091965086758137,
0.025117378681898117,
0.04126812517642975,
0.0010668133618310094,
-0.0019344432512298226,
0.018419411033391953,
0.016465837135910988,
-0.054628048092126846,
0.009272724390029907,
0.04098004102706909,
0.004946953151375055,
0.016195757314562798,
-0.028682425618171692,
0.004301013424992561,
-0.0012873782543465495,
0.014206173829734325,
0.0007899820921011269,
-0.004177227150648832,
0.040835995227098465,
0.009776872582733631,
-0.03773908689618111,
0.0003584178048186004,
-0.02864641509950161,
0.0261076707392931,
0.02065206691622734,
-0.04029583930969238,
0.008286934345960617,
0.029042532667517662,
-0.051279064267873764,
-0.02202046848833561,
-0.011181284673511982,
-0.008881108835339546,
0.021912436932325363,
-0.03147324547171593,
0.00008489212632412091,
-0.07756678760051727,
0.03935956209897995,
0.005986758973449469,
-0.018725501373410225,
0.026341738179326057,
-0.011820472776889801,
-0.024091077968478203,
-0.016753921285271645,
-0.0016587373102083802,
-0.03653273358941078,
0.022326558828353882,
-0.06010165810585022,
-0.007058073300868273,
-0.055312249809503555,
0.04040386900305748,
0.03449813649058342,
0.07547817379236221,
-0.04378886520862579,
0.01462029479444027,
0.06273043155670166,
-0.013494964689016342,
-0.028448358178138733,
0.035794515162706375,
0.03435409441590309,
0.031347207725048065,
-0.013260895386338234,
0.05858921259641647,
0.001492188428528607,
0.017330091446638107,
0.004649865906685591,
-0.04332072660326958,
0.010794171132147312,
-0.0069500417448580265,
0.037342969328165054,
0.019769808277487755,
-0.03871137276291847,
-0.026305727660655975,
0.0699685588479042,
0.02850237302482128,
0.0023947034496814013,
0.1128571555018425,
-0.0008124886662699282,
-0.05538427084684372,
0.035254355520009995,
0.014899376779794693,
0.0455893948674202,
-0.02315480262041092,
-0.11019237339496613,
-0.027584103867411613,
0.004186229780316353,
-0.01529549341648817,
-0.041700251400470734,
0.07320950925350189,
0.04735391214489937,
-0.03820722550153732,
0.06507111340761185,
-0.004350528120994568,
-0.017672192305326462,
0.0522153414785862,
0.07735072076320648,
0.009362750686705112,
0.02900652214884758,
-0.009065663442015648,
0.002500484697520733,
0.005730183329433203,
0.03091508150100708,
-0.026755860075354576,
-0.004645364824682474,
-0.07328152656555176,
0.013657012023031712,
0.015988696366548538,
0.001114077284000814,
0.00917819608002901,
0.01010096725076437,
-0.017978280782699585,
-0.015799641609191895,
-0.00830944161862135,
0.030176864936947823,
-0.007062574848532677,
-0.028610404580831528,
0.008448982611298561,
0.005293555092066526,
0.09333942085504532,
0.07112089544534683,
-0.028574394062161446,
-0.026701845228672028,
0.08649741113185883,
-0.03145524114370346,
0.0010246135061606765,
-0.0020424751564860344,
-0.0047443937510252,
-0.045193277299404144,
-0.017978280782699585,
0.04036786034703255,
-0.04079998657107353,
0.024847298860549927,
0.015178458765149117,
0.01119028776884079,
0.004892937373369932,
0.025387458503246307,
0.011010234244167805,
0.027980219572782516,
0.01718604937195778,
-0.01924765482544899,
-0.02405506744980812,
0.0349842794239521,
-0.015691610053181648,
0.07396572828292847,
0.059453465044498444,
0.11991523206233978,
0.09290729463100433,
0.012540684081614017,
-0.0036820818204432726,
-0.05624852329492569,
-0.040835995227098465,
-0.02002188190817833,
0.024775277823209763,
0.024685252457857132,
0.07547817379236221,
0.021282251924276352,
0.003164429683238268,
0.005550130736082792,
0.045049235224723816,
-0.01059611327946186,
0.010731152258813381,
0.006648453418165445,
-0.00283808377571404,
-0.03386795148253441,
0.020778104662895203,
0.01363900676369667,
-0.010605115443468094,
-0.02002188190817833,
0.009434771724045277,
0.02187642641365528,
0.011154277250170708,
-0.0626584067940712,
0.010398054495453835,
0.054447997361421585,
-0.025045357644557953,
0.011514382436871529,
0.05001869425177574,
-0.021498315036296844,
0.008795583620667458,
-0.03799116238951683,
-0.05675267428159714,
-0.0008226166828535497,
-0.014341212809085846,
-0.033975981175899506,
-0.004508074373006821,
0.01706901378929615,
0.0436808317899704,
-0.018068308010697365,
0.01218958105891943,
0.04004376381635666,
0.027764156460762024,
0.02450519986450672,
-0.0007444061920978129,
-0.021768394857645035,
0.0861373022198677,
-0.03640669584274292,
0.04317668452858925,
-0.01751914620399475,
-0.046093542128801346,
-0.014593287371098995,
-0.0023114290088415146,
0.0029348621610552073,
0.03777509927749634,
-0.0340299978852272,
0.00590123375877738,
-0.023911025375127792,
-0.02691790834069252,
0.0023294342681765556,
-0.0351463258266449,
-0.04112408310174942,
-0.06860015541315079,
0.015808643773198128,
-0.05891330912709236,
0.02405506744980812,
-0.02655780129134655,
-0.019031591713428497,
-0.04108807072043419,
-0.03494826704263687,
0.06564728915691376,
-0.000817552674561739,
-0.006049777381122112,
0.004082699306309223,
-0.04004376381635666,
0.0359925739467144,
0.02760210819542408,
0.07360562682151794,
0.05189124494791031,
-0.0917549580335617,
0.00030243259971030056,
0.02306477539241314,
-0.05387182533740997,
-0.03165329992771149,
-0.06946440786123276,
-0.010974223725497723,
-0.029168568551540375,
-0.02592761628329754,
-0.01575462892651558,
-0.014899376779794693,
-0.028538383543491364,
-0.041052062064409256,
0.014188168570399284,
0.003943158313632011,
-0.03716291859745979,
0.02133626863360405,
0.016807937994599342,
0.011100261472165585,
-0.040007755160331726,
-0.018635474145412445,
0.03422805666923523,
-0.03881940618157387,
0.040151797235012054,
0.01638481393456459,
0.011442361399531364,
-0.07547817379236221,
0.05185523256659508,
0.012891787104308605,
-0.016762925311923027,
-0.02070608362555504,
-0.047641996294260025,
-0.019733797758817673,
-0.013783048838376999,
0.006063281092792749,
0.027674129232764244,
0.006941039115190506,
0.06287447363138199,
-0.011100261472165585,
-0.030536971986293793,
-0.035254355520009995,
-0.049550555646419525,
-0.05596043914556503,
-0.0370548851788044,
-0.03777509927749634,
0.014377223327755928,
-0.030699018388986588,
-0.006099292077124119,
-0.019283665344119072,
0.023586928844451904,
0.0014809350250288844,
0.007071577478200197,
0.030626997351646423,
0.05455602705478668,
0.03192337974905968,
-0.022344565019011497,
0.012747745029628277,
-0.011217295192182064,
0.02455921471118927,
-0.013611999340355396,
-0.03925153240561485,
-0.05365576222538948,
0.00618481682613492,
-0.030122850090265274,
0.02324482798576355,
-0.03676680102944374,
0.012036535888910294,
-0.01915762759745121,
-0.039827700704336166,
-0.04231243208050728,
0.07835902273654938,
0.0719851478934288,
-0.020598052069544792,
0.0075307125225663185,
-0.04562540352344513,
0.04803811386227608,
0.01096522156149149,
-0.01057810802012682,
-0.019319675862789154,
0.027260009199380875,
-0.04353678971529007,
-0.03831525519490242,
0.005181021988391876,
-0.0464896559715271,
-0.05902133882045746,
0.012702731415629387,
0.0013020074693486094,
0.037378981709480286,
0.037883128970861435,
-0.01870749518275261,
0.06406281888484955,
0.0071976142935454845,
0.057760968804359436,
-0.02551349624991417,
0.017807232216000557,
0.009839890524744987,
0.019085606560111046,
0.003634817898273468,
-0.006846511270850897,
0.001494439085945487,
0.024793284013867378,
0.0013548980932682753,
0.00694554066285491,
-0.07677455246448517,
-0.10313429683446884,
-0.03871137276291847,
0.052719488739967346,
-0.02632373385131359,
-0.004078198224306107,
0.06661957502365112,
-0.00019018087186850607,
-0.04476115107536316,
-0.008561515249311924,
0.008111382834613323,
0.08743368834257126,
-0.053403690457344055,
0.032661594450473785,
-0.025675542652606964,
0.083328478038311,
0.015097435563802719,
-0.011514382436871529,
-0.04533731937408447,
-0.042240411043167114,
0.02101217210292816,
0.017672192305326462,
0.002448719460517168,
0.01625877618789673,
-0.001972704427316785,
0.008021356537938118,
-0.008863103576004505,
0.017114028334617615,
0.014692316763103008,
0.007251630537211895,
-0.03653273358941078,
-0.005235037766396999,
-0.04350078105926514,
0.0321214385330677,
0.0014212925452739,
-0.037342969328165054,
-0.018284371122717857,
0.025891605764627457,
-0.03339981287717819,
0.017033003270626068,
-0.02401905693113804,
-0.03298569098114967,
0.038927435874938965,
-0.03619063273072243,
-0.01141535397619009,
-0.002297925064340234,
-0.05556432530283928,
-0.012954805977642536,
-0.031257182359695435,
0.057941023260354996,
-0.08887410908937454,
0.06863616406917572,
0.02578357420861721,
0.012126562185585499,
-0.038963448256254196,
-0.005541128106415272,
0.079511359333992,
-0.029762743040919304,
-0.01241464726626873,
-0.0005694172577932477,
-0.0349842794239521,
-0.05639256536960602,
-0.009254719130694866,
0.028358330950140953,
0.03572249412536621,
0.01466530840843916,
0.04411295801401138,
0.057364851236343384,
-0.023568924516439438,
0.009695848450064659,
-0.03903546929359436,
0.07266934961080551,
-0.00950679276138544,
-0.007382168900221586,
0.08347252011299133,
-0.027944209054112434,
-0.02088613621890545,
0.005608647596091032,
-0.02083211950957775,
-0.004775903187692165,
0.04753396287560463,
-0.04332072660326958,
0.017321089282631874,
-0.02536945231258869,
0.012522678822278976,
-0.01688896119594574,
0.06777191162109375,
0.0018635474843904376,
-0.042564503848552704,
-0.028610404580831528,
-0.04811013489961624,
-0.06521515548229218,
-0.015889668837189674,
0.003436759579926729,
0.003578551346436143,
0.06769988685846329,
-0.0066619571298360825,
-0.007463192567229271,
-0.02810625731945038,
0.017168043181300163,
0.04040386900305748,
0.02196645364165306,
0.03592055290937424,
0.06056979298591614,
-0.010677136480808258,
-0.00622983044013381,
0.007985346019268036,
-0.02065206691622734,
-0.026575807482004166,
-0.009803880006074905,
-0.017213057726621628,
0.0369468554854393,
0.004973961040377617,
-0.017213057726621628,
0.0004535082262009382,
-0.020868130028247833,
0.0359925739467144,
0.03046495094895363,
0.010254012420773506,
-0.02446918934583664,
0.05470006912946701,
0.031797342002391815,
0.020003877580165863,
0.007404675241559744,
0.0006155558512546122,
-0.023586928844451904,
-0.012396642006933689,
-0.04847024008631706,
-0.052719488739967346,
-0.037342969328165054,
-0.009434771724045277,
-0.01262170821428299,
0.011019237339496613,
-0.03276962786912918,
0.053403690457344055,
-0.023640945553779602,
-0.023316850885748863,
0.020598052069544792,
-0.06582733988761902,
-0.008259926922619343,
0.04911842942237854,
0.036604754626750946,
-0.06561127305030823,
0.02488330937922001,
0.02709796093404293,
-0.040872007608413696,
0.028268305584788322,
-0.032751623541116714,
-0.05614049360156059,
0.03530837222933769,
-0.01606071926653385,
0.04285258799791336,
0.019121617078781128,
-0.024361155927181244,
0.008557014167308807,
-0.013945097103714943,
-0.025945622473955154,
0.0010583734838292003,
0.0019186886493116617,
-0.029564686119556427,
-0.029834764078259468,
0.03727094829082489,
0.016780929639935493,
0.039431583136320114,
0.06204622983932495,
0.02592761628329754,
-0.011622413992881775,
-0.013747038319706917,
0.020760098472237587,
-0.027584103867411613,
0.04029583930969238,
-0.005090995691716671,
-0.061217986047267914,
-0.05822910740971565,
-0.04386088624596596,
-0.038783393800258636,
0.05851719155907631,
0.003146424423903227,
-0.11199290305376053,
-0.026179691776633263,
0.03390396013855934,
0.02545947954058647,
-0.02978074923157692,
0.05534825846552849,
-0.01838340051472187,
0.026935912668704987,
0.005586141254752874,
-0.05639256536960602,
0.005842716433107853,
0.003056397894397378,
-0.004150219261646271,
0.013125856406986713,
-0.06744781136512756,
0.03755903244018555,
-0.07965540140867233,
-0.0009857895784080029,
0.045913487672805786,
-0.041052062064409256,
0.01570061221718788,
-0.050234757363796234,
0.03010484389960766,
-0.022074485197663307,
0.0017757717287167907,
0.007404675241559744,
0.03213944286108017,
0.012837771326303482,
0.008615531027317047,
0.007584728300571442,
-0.011433359235525131,
0.03835126757621765,
-0.028898490592837334,
0.03741499036550522,
-0.06553925573825836,
0.033615875989198685,
-0.0002775346511043608,
0.01425118651241064,
0.005532125011086464,
0.05070289596915245,
-0.028178278356790543,
0.05560033395886421,
0.0021628853864967823,
0.008786581456661224,
0.003963414579629898,
0.004512575920671225,
-0.023226823657751083,
-0.012918795458972454,
0.06751983612775803,
-0.05016273632645607,
-0.016456834971904755,
0.02142629399895668,
0.10399854928255081,
-0.031437236815690994,
-0.000042797728383447975,
0.03091508150100708,
-0.02369496040046215,
-0.029078543186187744,
0.025855595245957375,
-0.05812107399106026,
0.022542621940374374,
-0.017591167241334915,
-0.01139734871685505,
-0.03267960250377655,
-0.02283070795238018,
0.004609354306012392,
-0.009803880006074905,
0.02760210819542408,
0.0033039706759154797,
-0.011901495978236198,
0.025495490059256554,
0.023352861404418945,
-0.04213237762451172,
-0.02047201432287693,
-0.004703881684690714,
0.03925153240561485,
-0.042420461773872375,
0.023190813139081,
0.030879070982336998,
0.04526529833674431,
-0.04901039972901344,
-0.008836096152663231,
-0.04018780589103699,
0.023370865732431412,
0.0026130175683647394,
-0.02256062813103199,
0.022866718471050262,
-0.015970692038536072,
-0.04375285282731056,
-0.0056176502257585526,
-0.03251755237579346,
-0.017744213342666626,
-0.019535738974809647,
-0.055996451526880264,
-0.05037879943847656,
0.02724200300872326,
0.024955332279205322,
0.0222905483096838,
0.003114915220066905,
-0.09067463874816895,
0.0881538987159729,
0.011388345621526241,
-0.016663895919919014,
-0.062442343682050705,
0.003238701494410634,
0.05048683285713196,
0.04994667321443558,
0.012729739770293236,
-0.029474658891558647,
-0.017690196633338928,
-0.05646458640694618,
0.012810763902962208,
-0.01180246751755476,
0.005653660744428635,
0.09362750500440598,
-0.03235550597310066,
0.019913850352168083,
0.007679256144911051,
-0.017195051535964012,
-0.02410908229649067,
0.03273361548781395,
-0.04436503350734711,
-0.06849212199449539,
0.04854226112365723,
-0.021282251924276352,
-0.021138209849596024,
0.0035312874242663383,
0.016672898083925247,
-0.03458816185593605,
-0.0029776247683912516,
0.006499909330159426,
0.006292848847806454,
0.07137297093868256,
-0.01856345310807228,
0.0522153414785862
] |
18,401 | textual | __getattr__ | Lazily get the version. | def __getattr__(name: str) -> str:
"""Lazily get the version."""
if name == "__version__":
from importlib.metadata import version
return version("textual")
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
| (name: str) -> str | [
0.10365559160709381,
-0.03893318399786949,
-0.0035041645169258118,
0.018593890592455864,
0.054677434265613556,
-0.05891627073287964,
0.05645845830440521,
-0.008976360782980919,
0.01980498619377613,
-0.009884682483971119,
-0.0006411686190403998,
0.014622206799685955,
-0.0017064436106011271,
0.00920789409428835,
0.009688770398497581,
0.013571402058005333,
0.03861260041594505,
0.07929118722677231,
0.01861169934272766,
0.015263374894857407,
0.0075916144996881485,
0.04623538255691528,
-0.035139601677656174,
-0.02856762334704399,
0.02721404656767845,
0.09482171386480331,
0.06037671118974686,
0.00846431590616703,
0.038755081593990326,
-0.10394055396318436,
-0.02012556977570057,
-0.04188968241214752,
0.04292267560958862,
0.030473319813609123,
-0.016812866553664207,
0.0052629257552325726,
-0.0005120444111526012,
-0.031096678227186203,
-0.021479148417711258,
-0.05553232505917549,
0.07580038160085678,
0.05848882719874382,
-0.000711853033863008,
-0.06828445941209793,
-0.0007702928269281983,
-0.04153347760438919,
-0.02463156171143055,
0.015022937208414078,
-0.02726747654378414,
-0.007066212594509125,
0.03661785274744034,
0.029369084164500237,
0.054000645875930786,
-0.013615927658975124,
0.0016552391462028027,
0.054107505828142166,
0.021532580256462097,
0.045095525681972504,
-0.014381768181920052,
0.07487424463033676,
0.0015762061811983585,
-0.01898571476340294,
-0.008393075317144394,
-0.03718778118491173,
-0.036226026713848114,
-0.007079570088535547,
0.04951246455311775,
-0.01016074139624834,
-0.0435638464987278,
0.007903293706476688,
0.008005702868103981,
0.044311877340078354,
-0.02675097994506359,
-0.005124896299093962,
0.0038692743983119726,
-0.03448062390089035,
-0.07658402621746063,
-0.033465441316366196,
0.04880005493760109,
-0.02493433468043804,
-0.025379590690135956,
-0.009501762688159943,
-0.03453405573964119,
-0.06881876289844513,
-0.028995070606470108,
-0.06180153042078018,
-0.03070485219359398,
-0.0767265111207962,
-0.032325584441423416,
0.031702227890491486,
-0.07558665424585342,
0.05980678275227547,
-0.052041519433259964,
0.07323570549488068,
-0.013295344077050686,
-0.03512179106473923,
0.08705645054578781,
-0.03236120566725731,
0.020659876987338066,
0.024150684475898743,
0.06889000535011292,
-0.02587827853858471,
-0.03704529628157616,
0.003072266234084964,
-0.018967904150485992,
-0.010107310488820076,
-0.03376821428537369,
-0.009038696065545082,
0.03957435116171837,
-0.04744647815823555,
0.017204690724611282,
-0.043172020465135574,
-0.02037491463124752,
-0.018861044198274612,
0.031648796051740646,
-0.05197027698159218,
0.01348235085606575,
-0.029066311195492744,
0.052611447870731354,
0.012948043644428253,
0.026020759716629982,
0.030811714008450508,
-0.024667181074619293,
-0.003993946127593517,
0.048978157341480255,
0.0021338893566280603,
-0.04484618455171585,
-0.02333141304552555,
0.05282517150044441,
-0.035905443131923676,
0.03546018525958061,
-0.012449357658624649,
-0.022619003430008888,
0.029280032962560654,
0.005815043114125729,
0.02017900161445141,
0.016483375802636147,
0.07252329587936401,
-0.0027761710807681084,
0.034302521497011185,
-0.050687942653894424,
-0.028175799176096916,
-0.0033416461665183306,
-0.03220091387629509,
-0.02308207005262375,
-0.013250818476080894,
-0.002707156352698803,
0.030419889837503433,
-0.017917100340127945,
-0.038078293204307556,
0.04278019443154335,
0.006478474475443363,
-0.0007970082224346697,
-0.00014289934188127518,
-0.0186651311814785,
0.004608399234712124,
-0.022619003430008888,
-0.037722088396549225,
-0.013188482262194157,
-0.05371568351984024,
0.004831027239561081,
0.007208694238215685,
-0.03957435116171837,
-0.07508797198534012,
0.05175655707716942,
-0.010597092099487782,
0.015690820291638374,
-0.07523044943809509,
-0.011567750945687294,
0.021960025653243065,
-0.046947792172431946,
0.02862105518579483,
0.00850438978523016,
0.031132297590374947,
0.040678586810827255,
0.040001798421144485,
-0.023830100893974304,
0.06828445941209793,
0.06197963282465935,
-0.02365199849009514,
-0.013642643578350544,
-0.02623448334634304,
-0.08114345371723175,
0.0021049475762993097,
0.016999874264001846,
0.06782139092683792,
0.011077969335019588,
0.0037067560479044914,
-0.007003876846283674,
0.009403806179761887,
0.018059583380818367,
-0.011398552916944027,
0.0591299943625927,
0.013313153758645058,
-0.016536807641386986,
-0.036582231521606445,
-0.04958370700478554,
-0.00808584876358509,
0.06564854085445404,
0.04210340604186058,
0.017160166054964066,
0.04573669657111168,
-0.02525492012500763,
0.10914114862680435,
0.005659203510731459,
-0.015236659906804562,
0.05834634602069855,
-0.017356079071760178,
-0.06678839772939682,
0.0037980335764586926,
-0.018540458753705025,
-0.007449132855981588,
0.018540458753705025,
0.055567946285009384,
-0.038398876786231995,
0.009920303709805012,
0.03401755914092064,
-0.027053752914071083,
0.03578077256679535,
0.020553017035126686,
0.06725146621465683,
0.051720935851335526,
0.07751016318798065,
0.03455186262726784,
0.03451624512672424,
-0.057990141212940216,
-0.009662054479122162,
0.023616377264261246,
-0.029671858996152878,
-0.03385726362466812,
0.050901662558317184,
0.014248191379010677,
0.011843808926641941,
0.009573003277182579,
-0.019769364967942238,
-0.028015507385134697,
-0.0012289065634831786,
0.06269204616546631,
-0.010062784887850285,
-0.0349971204996109,
0.005205042660236359,
0.03154193237423897,
-0.0004129749140702188,
0.0876263752579689,
0.009038696065545082,
-0.06543482095003128,
-0.03542456775903702,
-0.013660453259944916,
-0.023634187877178192,
-0.03797142952680588,
0.03392850607633591,
0.01830892637372017,
-0.010418989695608616,
0.017543084919452667,
0.01246716734021902,
-0.05930809676647186,
-0.04007303714752197,
-0.010312128812074661,
0.03936062753200531,
0.01265417505055666,
-0.05140035226941109,
-0.07380563020706177,
-0.03586982190608978,
-0.012404832057654858,
0.015673011541366577,
-0.019466591998934746,
0.022387471050024033,
0.03640412911772728,
-0.03285989165306091,
0.020713308826088905,
-0.06928183138370514,
-0.027926456183195114,
-0.030865143984556198,
-0.013250818476080894,
-0.008580083027482033,
-0.03971683233976364,
0.009581908583641052,
0.015076368115842342,
-0.0049245310947299,
0.03754398599267006,
0.02894163876771927,
0.004773144144564867,
-0.01882542297244072,
0.04904939979314804,
-0.026822220534086227,
-0.02981434017419815,
-0.006990518886595964,
-0.015984689816832542,
-0.008922929875552654,
0.03804267197847366,
0.05880941078066826,
-0.014399578794836998,
0.011585560627281666,
-0.044418737292289734,
0.030776092782616615,
-0.00718197925016284,
-0.014951695688068867,
0.007547088898718357,
0.0342312790453434,
-0.038505736738443375,
0.00006536219007102773,
-0.0038915371987968683,
-0.04213902726769447,
0.022209368646144867,
-0.01825549453496933,
-0.015486002899706364,
0.0544280931353569,
-0.0259317085146904,
-0.06450868397951126,
-0.00019132092711515725,
-0.003495259443297982,
0.04630662128329277,
-0.027926456183195114,
-0.010855341330170631,
0.013847460970282555,
0.012814466841518879,
-0.0261810515075922,
0.01760542206466198,
-0.0038893111050128937,
0.044774942100048065,
-0.039075665175914764,
0.044988665729761124,
-0.0032882154919207096,
-0.010837530717253685,
0.01722250133752823,
-0.011710232123732567,
0.013126146048307419,
-0.01741841435432434,
-0.019430970773100853,
0.01120264083147049,
-0.03383945673704147,
0.018593890592455864,
0.05200589820742607,
0.035905443131923676,
-0.04416939243674278,
0.0308473352342844,
0.004174274858087301,
-0.021390097215771675,
-0.0104991365224123,
-0.011113589629530907,
0.041355375200510025,
-0.011532129719853401,
-0.03586982190608978,
0.001512757153250277,
-0.0362972691655159,
0.04085668921470642,
0.06215773522853851,
0.020784549415111542,
0.09218580275774002,
-0.05118662863969803,
-0.019252868369221687,
-0.038755081593990326,
-0.02089141122996807,
0.018273305147886276,
-0.010588187724351883,
-0.010721764527261257,
0.024435648694634438,
0.009270229376852512,
-0.016616953536868095,
0.007596067152917385,
-0.030366457998752594,
-0.004969056695699692,
-0.0020092176273465157,
-0.013393299654126167,
-0.040785446763038635,
-0.043635085225105286,
-0.021799733862280846,
0.04456121847033501,
0.05243334546685219,
-0.026216672733426094,
-0.05838196352124214,
0.0052940938621759415,
0.01163899153470993,
-0.036902815103530884,
-0.006990518886595964,
-0.012431547045707703,
0.014818118885159492,
-0.014889360405504704,
-0.024186305701732635,
-0.02137228660285473,
-0.029208792373538017,
0.014844834804534912,
0.006037671118974686,
-0.002226279815658927,
0.004492633044719696,
-0.0033104782924056053,
-0.02308207005262375,
-0.04035800322890282,
0.010695048607885838,
0.021247616037726402,
-0.007199789397418499,
-0.015610674396157265,
-0.027783973142504692,
0.029208792373538017,
-0.00011882769467774779,
-0.0146489217877388,
-0.01749856024980545,
-0.07886373996734619,
0.007222052197903395,
-0.0030232882127165794,
0.018576079979538918,
0.05510488152503967,
0.008370812982320786,
0.005271831061691046,
-0.04605728015303612,
0.02810455858707428,
0.07099161297082901,
-0.008780447766184807,
-0.0409635491669178,
-0.04776706174015999,
-0.024969955906271935,
0.034872449934482574,
-0.06760767102241516,
-0.08905119448900223,
0.08157089352607727,
0.015254470519721508,
0.08278199285268784,
-0.03811391070485115,
0.022725865244865417,
-0.012306875549256802,
0.02721404656767845,
0.0007886596722528338,
0.010392274707555771,
0.0326639786362648,
-0.03366135433316231,
0.0044080340303480625,
-0.02194221504032612,
0.03193375840783119,
-0.016403229907155037,
0.05075918138027191,
-0.026893461123108864,
-0.001903469325043261,
0.006344897672533989,
-0.007110738195478916,
0.03854135796427727,
-0.059664301574230194,
-0.0156819149851799,
-0.02493433468043804,
-0.050011150538921356,
-0.02406163327395916,
0.003542011370882392,
0.019929658621549606,
0.025486452504992485,
0.024400027468800545,
-0.010151836089789867,
-0.03193375840783119,
-0.0051649692468345165,
0.045451730489730835,
0.015833303332328796,
-0.11505414545536041,
-0.07451803982257843,
0.025753606110811234,
-0.020873600617051125,
-0.013215197250247002,
0.00601540831848979,
-0.04733961820602417,
-0.018682941794395447,
-0.019520021975040436,
0.03900442272424698,
0.0089407404884696,
-0.08819630742073059,
0.07701147347688675,
-0.0040829973295331,
-0.014907170087099075,
0.03893318399786949,
-0.014435199089348316,
0.012431547045707703,
-0.031043246388435364,
-0.024756232276558876,
-0.01475578360259533,
0.06336883455514908,
-0.0184157881885767,
0.05111538618803024,
0.00409635528922081,
-0.03380383551120758,
0.016100456938147545,
-0.04701903089880943,
0.01939535140991211,
0.0020337067544460297,
-0.020713308826088905,
0.0009177838801406324,
0.019591262564063072,
0.019822796806693077,
0.04121289402246475,
-0.017952721565961838,
-0.007507015950977802,
0.003936063032597303,
0.02427535690367222,
0.03879070281982422,
-0.04812326654791832,
-0.016260748729109764,
0.07665526866912842,
0.04028676077723503,
0.009528477676212788,
0.012217824347317219,
0.03325171768665314,
0.007351176347583532,
0.016011405736207962,
0.025343971326947212,
0.016697099432349205,
-0.02400820329785347,
-0.03672471269965172,
0.06671715527772903,
-0.024560319259762764,
0.014328337274491787,
0.011389648541808128,
0.03790019080042839,
0.0023754406720399857,
0.09738638997077942,
-0.05720648914575577,
-0.007204242050647736,
-0.01280556246638298,
0.012360306456685066,
0.04758895933628082,
0.050901662558317184,
-0.016269654035568237,
-0.05225524306297302,
0.023758860304951668,
0.008669134229421616,
0.0285141933709383,
0.02634134329855442,
-0.02520148828625679,
-0.0062513938173651695,
-0.08890871703624725,
-0.014711258001625538,
-0.019894037395715714,
0.014631112106144428,
0.025539882481098175,
0.006816869135946035,
0.06604036688804626,
0.022529952228069305,
0.01724921725690365,
-0.018166443333029747,
0.026697548106312752,
0.009279134683310986,
0.03928938880562782,
-0.12830495834350586,
0.018736371770501137,
-0.00012251496082171798,
0.0020270277746021748,
0.01923505775630474,
-0.0316309854388237,
0.02888820879161358,
0.012013006024062634,
0.00402066158130765,
-0.05268268659710884,
-0.06938869506120682,
0.022102506831288338,
0.02479185350239277,
-0.03022397682070732,
-0.033625733107328415,
0.03790019080042839,
-0.045914798974990845,
-0.10144712030887604,
0.035709530115127563,
-0.02644820511341095,
-0.02981434017419815,
-0.03871946036815643,
-0.006723365280777216,
0.0007190884207375348,
0.01055256649851799,
0.011808188632130623,
0.07644154876470566,
0.014266001991927624,
0.006487379781901836,
0.016857391223311424,
-0.023669809103012085,
-0.016670383512973785,
0.02479185350239277,
-0.049797430634498596,
0.021764112636446953,
-0.04331450164318085,
0.06073291599750519,
0.0251480583101511,
0.0209982730448246,
0.09389558434486389,
0.029885582625865936,
0.01714235544204712,
0.04609290137887001,
0.0041586910374462605,
0.056494079530239105,
-0.0339641273021698,
-0.007489205803722143,
-0.0285141933709383,
-0.03804267197847366,
-0.06287014484405518,
0.012912423349916935,
0.027659302577376366,
0.05243334546685219,
0.0012689795112237334,
-0.09660273790359497,
-0.07266577333211899,
0.03800705075263977,
-0.002653725678101182,
0.03597668185830116,
-0.0036889459006488323,
-0.04188968241214752,
0.022814916446805,
0.020820170640945435,
-0.007444680202752352,
0.019787175580859184,
-0.0057482547126710415,
0.009368185885250568,
0.048301368951797485,
0.006153437774628401,
0.05692152678966522,
-0.028140177950263023,
-0.044311877340078354,
0.014479724690318108,
0.03843449801206589,
-0.02810455858707428,
0.0026448206044733524,
-0.051257867366075516,
-0.01814863458275795,
0.02121199481189251,
0.02037491463124752,
0.01570863090455532,
0.009323660284280777,
0.016403229907155037,
-0.03775770589709282,
0.002798433881253004,
0.05628035590052605,
-0.012867897748947144,
-0.0015005127061158419,
-0.017071114853024483,
0.03252149745821953,
-0.00214279443025589,
-0.022583384066820145,
0.0038937635254114866,
-0.026661928743124008,
-0.00956409890204668,
-0.002983215032145381,
0.04196092486381531,
-0.049298740923404694,
-0.01558395940810442,
-0.0024288713466376066,
0.04983304813504219,
-0.033465441316366196,
0.015432571992278099,
0.057740796357393265,
0.018807612359523773,
-0.006260299123823643,
-0.056387219578027725,
0.013393299654126167,
-0.05485553666949272,
0.04053610563278198,
-0.026697548106312752,
-0.05211276188492775,
0.05745583400130272,
-0.03700967878103256,
-0.041818443685770035,
-0.033412009477615356,
0.03861260041594505,
0.007048402447253466,
0.016376515850424767,
-0.07266577333211899,
-0.04993991181254387,
0.006148985121399164,
-0.01684848591685295,
-0.012689795345067978,
-0.011086873710155487,
-0.05221962183713913,
0.008032417856156826,
0.02712499536573887,
0.056494079530239105,
-0.030829524621367455,
-0.006291467230767012,
-0.05766955390572548,
0.02390134148299694,
-0.05460619553923607,
-0.004603947047144175,
0.06336883455514908,
0.047375235706567764,
-0.040001798421144485,
-0.036689091473817825,
-0.00685694208368659,
0.034302521497011185,
0.03765084594488144,
0.03353668004274368,
0.023669809103012085,
0.0342312790453434,
0.010899866931140423,
-0.04107041284441948,
-0.004372413735836744,
-0.014007753692567348,
-0.002718287752941251,
-0.01934191957116127,
0.030473319813609123,
0.06365379691123962,
-0.06514985859394073,
-0.0261810515075922,
-0.011576655320823193,
-0.018896663561463356,
0.04395567253232002,
0.014248191379010677,
-0.022476522251963615,
0.013651548884809017,
0.025842657312750816,
0.011665706522762775,
-0.00863796565681696,
0.046128518879413605,
0.0031123394146561623,
-0.013206292875111103,
0.01171913743019104,
-0.03455186262726784,
-0.014933886006474495,
-0.015370236709713936,
0.0026604044251143932,
-0.075729139149189,
-0.023242361843585968,
0.0018990167882293463,
0.00409635528922081,
0.013411110267043114,
-0.010401180014014244,
0.11063721030950546,
-0.005832853261381388,
-0.04541610926389694,
0.0653635784983635,
-0.0362972691655159,
0.029493756592273712,
-0.025682365521788597,
0.015459287911653519,
0.026715358719229698,
0.0018711882876232266,
-0.03147069364786148,
0.038292013108730316,
-0.04915625974535942,
0.004292267840355635,
0.02105170302093029,
0.06336883455514908,
0.006986066233366728,
0.0035531427711248398,
-0.0186651311814785,
-0.010303223505616188,
0.0430295392870903,
0.0049334364011883736,
0.011977385729551315,
0.007631687447428703,
0.035745151340961456,
-0.006914825644344091,
-0.036902815103530884,
0.03531770408153534,
-0.0637606605887413,
0.00956409890204668,
0.024239735677838326,
0.02292177826166153,
-0.005013582296669483,
0.014239286072552204,
0.007805337198078632,
0.02509462647140026,
0.038292013108730316,
0.026145432144403458,
-0.022903967648744583,
-0.00964424479752779,
0.07701147347688675,
-0.0824257880449295,
0.004608399234712124,
-0.00486219534650445,
0.03147069364786148,
-0.031862519681453705,
-0.0154236676171422,
0.02940470539033413,
-0.04028676077723503,
0.006580883637070656,
0.02042834460735321,
-0.0064562116749584675,
-0.030687041580677032,
-0.015744252130389214
] |
18,423 | textual._on | on | Decorator to declare that the method is a message handler.
The decorator accepts an optional CSS selector that will be matched against a widget exposed by
a `control` property on the message.
Example:
```python
# Handle the press of buttons with ID "#quit".
@on(Button.Pressed, "#quit")
def quit_button(self) -> None:
self.app.quit()
```
Keyword arguments can be used to match additional selectors for attributes
listed in [`ALLOW_SELECTOR_MATCH`][textual.message.Message.ALLOW_SELECTOR_MATCH].
Example:
```python
# Handle the activation of the tab "#home" within the `TabbedContent` "#tabs".
@on(TabbedContent.TabActivated, "#tabs", pane="#home")
def switch_to_home(self) -> None:
self.log("Switching back to the home tab.")
...
```
Args:
message_type: The message type (i.e. the class).
selector: An optional [selector](/guide/CSS#selectors). If supplied, the handler will only be called if `selector`
matches the widget from the `control` attribute of the message.
**kwargs: Additional selectors for other attributes of the message.
| def on(
message_type: type[Message], selector: str | None = None, **kwargs: str
) -> Callable[[DecoratedType], DecoratedType]:
"""Decorator to declare that the method is a message handler.
The decorator accepts an optional CSS selector that will be matched against a widget exposed by
a `control` property on the message.
Example:
```python
# Handle the press of buttons with ID "#quit".
@on(Button.Pressed, "#quit")
def quit_button(self) -> None:
self.app.quit()
```
Keyword arguments can be used to match additional selectors for attributes
listed in [`ALLOW_SELECTOR_MATCH`][textual.message.Message.ALLOW_SELECTOR_MATCH].
Example:
```python
# Handle the activation of the tab "#home" within the `TabbedContent` "#tabs".
@on(TabbedContent.TabActivated, "#tabs", pane="#home")
def switch_to_home(self) -> None:
self.log("Switching back to the home tab.")
...
```
Args:
message_type: The message type (i.e. the class).
selector: An optional [selector](/guide/CSS#selectors). If supplied, the handler will only be called if `selector`
matches the widget from the `control` attribute of the message.
**kwargs: Additional selectors for other attributes of the message.
"""
selectors: dict[str, str] = {}
if selector is not None:
selectors["control"] = selector
if kwargs:
selectors.update(kwargs)
parsed_selectors: dict[str, tuple[SelectorSet, ...]] = {}
for attribute, css_selector in selectors.items():
if attribute == "control":
if message_type.control == Message.control:
raise OnDecoratorError(
"The message class must have a 'control' to match with the on decorator"
)
elif attribute not in message_type.ALLOW_SELECTOR_MATCH:
raise OnDecoratorError(
f"The attribute {attribute!r} can't be matched; have you added it to "
+ f"{message_type.__name__}.ALLOW_SELECTOR_MATCH?"
)
try:
parsed_selectors[attribute] = parse_selectors(css_selector)
except TokenError:
raise OnDecoratorError(
f"Unable to parse selector {css_selector!r} for {attribute}; check for syntax errors"
) from None
def decorator(method: DecoratedType) -> DecoratedType:
"""Store message and selector in function attribute, return callable unaltered."""
if not hasattr(method, "_textual_on"):
setattr(method, "_textual_on", [])
getattr(method, "_textual_on").append((message_type, parsed_selectors))
return method
return decorator
| (message_type: type[textual.message.Message], selector: Optional[str] = None, **kwargs: str) -> Callable[[~DecoratedType], ~DecoratedType] | [
0.006470147054642439,
-0.030529435724020004,
0.02819494903087616,
-0.02753082849085331,
0.07035656273365021,
0.014801845885813236,
0.016361523419618607,
-0.012950357049703598,
-0.022821608930826187,
0.03602352738380432,
0.017619328573346138,
0.00861847773194313,
0.059650130569934845,
-0.026162337511777878,
-0.02374735288321972,
0.006802207790315151,
0.034977033734321594,
-0.022117236629128456,
0.034775782376527786,
-0.0248944703489542,
0.03859950974583626,
-0.016281023621559143,
0.07377779483795166,
0.014801845885813236,
-0.02241910994052887,
0.03668764606118202,
-0.0431477315723896,
0.06890757381916046,
0.03946487978100777,
-0.052727170288562775,
-0.019702252000570297,
-0.03242117166519165,
-0.03906238079071045,
0.006203492637723684,
-0.007385828997939825,
0.0032300425227731466,
0.026041587814688683,
0.08070074766874313,
0.03813663870096207,
0.014842094853520393,
-0.046085964888334274,
0.003869007108733058,
-0.009166880510747433,
0.0019294724334031343,
-0.0032803546637296677,
0.001427608309313655,
0.009187005460262299,
0.0398271270096302,
-0.03067030943930149,
-0.043872226029634476,
0.0015709979925304651,
-0.012457297183573246,
0.0003186962567269802,
-0.011350429616868496,
-0.01865575835108757,
0.062266360968351364,
0.03441353514790535,
0.0240089762955904,
0.015154031105339527,
0.03884100914001465,
-0.022479485720396042,
0.02773207798600197,
-0.002098018303513527,
-0.005202280357480049,
-0.03868000954389572,
-0.024491973221302032,
0.07852726429700851,
0.03236079961061478,
-0.025478091090917587,
-0.010988181456923485,
-0.005700370762497187,
0.009634783491492271,
0.02573971450328827,
-0.026162337511777878,
-0.06633158773183823,
-0.07418029010295868,
0.037653639912605286,
0.03546002879738808,
0.05019143968820572,
0.08243148773908615,
0.011923988349735737,
-0.02861757203936577,
0.017025643959641457,
0.00554943410679698,
0.03215954825282097,
-0.017257079482078552,
-0.009363098070025444,
0.009453659877181053,
-0.05107693374156952,
0.014016975648701191,
-0.002784779528155923,
-0.019350066781044006,
0.002187322359532118,
-0.017780326306819916,
-0.12042725086212158,
0.0017609265632927418,
-0.0011383132077753544,
0.01165230292826891,
0.06158211827278137,
0.10239536315202713,
-0.02223798632621765,
0.07933225482702255,
0.05308942124247551,
-0.02239898592233658,
0.023264355957508087,
-0.07055781036615372,
-0.07623302936553955,
0.0358424037694931,
0.010364310815930367,
0.001783567015081644,
0.06154186651110649,
-0.06214561313390732,
-0.010374372825026512,
-0.00008804632670944557,
0.039404504001140594,
0.023606477305293083,
-0.05502140894532204,
-0.03554052859544754,
-0.047172706574201584,
-0.01554646622389555,
-0.009453659877181053,
-0.029845189303159714,
-0.0003067471261601895,
-0.032763294875621796,
-0.02040662243962288,
-0.0376133918762207,
-0.026162337511777878,
-0.029825065284967422,
0.036748021841049194,
-0.06266885995864868,
-0.045804213732481,
0.06894782185554504,
0.04813870042562485,
0.0273295808583498,
0.013352854177355766,
0.07389853894710541,
-0.033226169645786285,
-0.023646727204322815,
-0.019108569249510765,
0.03648639842867851,
0.015858400613069534,
0.04326847940683365,
-0.018424322828650475,
-0.0215738657861948,
-0.023868100717663765,
-0.054739657789468765,
0.042302485555410385,
-0.013966662809252739,
0.030026312917470932,
0.02598121389746666,
0.014057224616408348,
-0.04946694150567055,
0.05767789110541344,
0.024471847340464592,
-0.009181974455714226,
0.02624283730983734,
-0.0032149488106369972,
0.05087568238377571,
-0.00615318026393652,
-0.012386860325932503,
0.06761957705020905,
0.007083956152200699,
0.04326847940683365,
0.06170286610722542,
0.023224106058478355,
0.02932194247841835,
0.029040195047855377,
-0.05268692225217819,
-0.010605809278786182,
0.02819494903087616,
-0.03374941647052765,
0.08846894651651382,
0.06387635320425034,
0.025437841191887856,
-0.03817688673734665,
0.048098452389240265,
-0.05236492305994034,
-0.002646421082317829,
0.031414929777383804,
-0.007486453279852867,
0.02620258741080761,
0.012638421729207039,
-0.012708858586847782,
0.0480179525911808,
0.006289023440331221,
0.024069350212812424,
0.023143606260418892,
-0.04994994029402733,
-0.061662618070840836,
-0.0734557956457138,
-0.02708808146417141,
-0.03952525556087494,
0.05888538435101509,
0.001509365625679493,
-0.019662002101540565,
0.016854582354426384,
-0.051197681576013565,
0.012185611762106419,
0.006590896286070347,
-0.019289692863821983,
0.013745289295911789,
0.013222042471170425,
0.0017974028596654534,
0.01836394891142845,
0.005423653870820999,
0.04107486829161644,
0.07905051112174988,
0.02310335636138916,
-0.021473241969943047,
-0.07152380794286728,
-0.024129724130034447,
-0.007727951742708683,
-0.024512097239494324,
0.05759739130735397,
0.013010731898248196,
-0.016160273924469948,
0.002524414099752903,
0.04946694150567055,
-0.0002471586049068719,
-0.006978300400078297,
-0.0026162336580455303,
0.07554878294467926,
-0.01880669593811035,
0.018283449113368988,
0.03791526332497597,
-0.004528096877038479,
0.011471178382635117,
0.010595746338367462,
0.047172706574201584,
-0.010937869548797607,
-0.014188036322593689,
0.017468390986323357,
0.03020743653178215,
0.054981157183647156,
-0.049869440495967865,
-0.03483615815639496,
-0.018052013590931892,
-0.00263384310528636,
-0.019289692863821983,
0.013906288892030716,
0.05083543434739113,
-0.0099014388397336,
0.0024954844266176224,
0.02688683196902275,
0.03668764606118202,
0.0003886616323143244,
-0.03258217126131058,
0.025719590485095978,
-0.013725164346396923,
0.024693220853805542,
-0.05900613218545914,
-0.0199135635048151,
0.03089168295264244,
0.0004449484113138169,
-0.06371535360813141,
0.03682852163910866,
0.005529309157282114,
0.024270599707961082,
-0.011501366272568703,
0.007652483880519867,
-0.0044048321433365345,
0.005961994174867868,
0.022559985518455505,
-0.028476698324084282,
0.04206098988652229,
-0.045441966503858566,
0.003655180335044861,
0.008965631946921349,
-0.029362192377448082,
0.03224004805088043,
0.04701170697808266,
0.004487846978008747,
0.03622477501630783,
0.03926363214850426,
0.014016975648701191,
-0.02819494903087616,
-0.007627327460795641,
-0.059851378202438354,
-0.02775220200419426,
0.003715554950758815,
-0.007843670435249805,
0.024471847340464592,
-0.004226223565638065,
0.004455144051462412,
-0.02419009990990162,
0.03240104764699936,
0.011471178382635117,
0.0599721260368824,
0.03131430596113205,
-0.03550028055906296,
0.040712621062994,
-0.027933325618505478,
0.060495372861623764,
0.020748745650053024,
-0.012286236509680748,
0.013483665883541107,
0.02007456310093403,
0.024250473827123642,
-0.017830638214945793,
-0.09635790437459946,
0.011169306002557278,
-0.02819494903087616,
0.021634239703416824,
-0.030952056869864464,
-0.019420504570007324,
-0.01119949296116829,
0.021211618557572365,
-0.015365341678261757,
0.023203980177640915,
-0.05860363692045212,
0.013684914447367191,
0.03370916470885277,
-0.07719901949167252,
-0.04838019981980324,
-0.025719590485095978,
0.06935031712055206,
-0.01199442520737648,
-0.012457297183573246,
0.10537384450435638,
0.0266654584556818,
0.025035344064235687,
0.017357705160975456,
-0.02175498940050602,
0.020376436412334442,
-0.02734970487654209,
-0.0004531241429504007,
0.04111512005329132,
0.020688371732831,
-0.032340675592422485,
-0.038277510553598404,
-0.012195673771202564,
-0.022781359031796455,
-0.014912532642483711,
-0.05614840239286423,
-0.09748489409685135,
0.007456266321241856,
0.005967025179415941,
0.017800452187657356,
0.042986731976270676,
0.04206098988652229,
0.011440991424024105,
-0.015103718265891075,
-0.02221786230802536,
0.013513853773474693,
0.0032048863358795643,
0.0066512711346149445,
0.034735534340143204,
0.04198049008846283,
0.0564301498234272,
0.04821920022368431,
0.04600546509027481,
-0.06065637245774269,
-0.01773001439869404,
-0.03904225677251816,
0.053008921444416046,
-0.07925175875425339,
0.017257079482078552,
-0.055625155568122864,
0.0037231019232422113,
0.01887713186442852,
-0.026262961328029633,
0.0025784994941204786,
0.005992181599140167,
-0.0462469607591629,
-0.00322501128539443,
0.036566898226737976,
0.060978371649980545,
0.004263957962393761,
0.022600233554840088,
-0.04024975001811981,
0.045441966503858566,
-0.018937507644295692,
0.018182825297117233,
0.03546002879738808,
0.01911863125860691,
-0.006107899360358715,
0.005237498786300421,
0.015637027099728584,
-0.031877800822257996,
0.07941275835037231,
0.0013018278405070305,
0.008407166227698326,
0.057315643876791,
-0.020949995145201683,
0.07748077064752579,
0.0705980584025383,
0.006057587452232838,
0.026605084538459778,
-0.07595127820968628,
0.015113781206309795,
0.056953396648168564,
-0.0013383041368797421,
-0.053894415497779846,
-0.027611328288912773,
-0.05397491529583931,
-0.007607202511280775,
-0.010414622724056244,
0.009509003721177578,
0.01745832897722721,
-0.049869440495967865,
0.026786208152770996,
-0.0053884354420006275,
0.019480878487229347,
-0.009081349708139896,
0.023224106058478355,
0.07880900800228119,
-0.0067518954165279865,
0.01874632015824318,
-0.012517672032117844,
-0.022318486124277115,
0.003212433075532317,
0.010248592123389244,
-0.04443572461605072,
-0.016079774126410484,
0.038539133965969086,
-0.047414205968379974,
0.046085964888334274,
-0.010646059177815914,
-0.03127405419945717,
-0.06854532659053802,
0.017981575801968575,
-0.00848766602575779,
0.04246348515152931,
-0.006746864411979914,
0.0630713552236557,
0.017780326306819916,
-0.059811126440763474,
0.0018892226507887244,
0.013745289295911789,
0.022962482646107674,
-0.004990968853235245,
-0.039002008736133575,
-0.06725732982158661,
-0.0036929144989699125,
-0.03527890518307686,
-0.01465090923011303,
-0.021050618961453438,
-0.04439547285437584,
0.028114449232816696,
-0.005398497451096773,
-0.08331698179244995,
0.027832701802253723,
0.01521440502256155,
0.031676553189754486,
0.006470147054642439,
-0.04789720103144646,
0.04616646468639374,
-0.004417410120368004,
-0.03415191173553467,
-0.052123427391052246,
-0.005906650796532631,
0.061179619282484055,
0.015063468366861343,
0.009594534523785114,
-0.02350585348904133,
-0.01852494664490223,
-0.014147787354886532,
0.005302904639393091,
-0.00020172042422927916,
0.023868100717663765,
0.01918906904757023,
-0.03775426372885704,
-0.033387165516614914,
-0.017005519941449165,
-0.04338923096656799,
0.03151555359363556,
-0.0047469548881053925,
-0.023847976699471474,
-0.04483821988105774,
0.024552347138524055,
0.02055756002664566,
-0.0763537734746933,
0.025900714099407196,
0.018937507644295692,
0.01165230292826891,
0.0291005689650774,
0.03570152819156647,
-0.0035746810026466846,
-0.020396560430526733,
0.008885132148861885,
0.03713039308786392,
-0.0034438692964613438,
-0.03258217126131058,
-0.05691314488649368,
-0.0282150749117136,
0.0404912494122982,
-0.013684914447367191,
-0.012970481999218464,
0.03841838613152504,
-0.031213680282235146,
-0.0586438849568367,
0.04600546509027481,
0.07035656273365021,
-0.05755714327096939,
0.02129211835563183,
0.029885439202189445,
0.014701221138238907,
-0.0010207084706053138,
-0.020970119163393974,
-0.03155580535531044,
-0.00878450833261013,
-0.01792120188474655,
0.01624077372252941,
-0.010223436169326305,
0.016824394464492798,
-0.09056193381547928,
0.04262448474764824,
0.007003456354141235,
0.0018703555688261986,
-0.01965194009244442,
-0.01465090923011303,
0.04250373691320419,
-0.04169873893260956,
0.041014496237039566,
-0.03356829285621643,
-0.0537736639380455,
0.0022124783135950565,
0.006500334478914738,
-0.021614115685224533,
-0.06745857745409012,
0.027651578187942505,
0.012205736711621284,
0.034775782376527786,
-0.02934206835925579,
-0.022358736023306847,
0.026041587814688683,
0.014359097927808762,
0.016653334721922874,
0.010188218206167221,
-0.04371122643351555,
0.028939569368958473,
0.04463697224855423,
-0.0418194904923439,
0.027651578187942505,
-0.03111305646598339,
0.0004034408484585583,
-0.04487847164273262,
0.0038463666569441557,
-0.02730945497751236,
0.07655502110719681,
-0.03139480575919151,
0.035661276429891586,
-0.07349604368209839,
-0.01026871707290411,
-0.007924169301986694,
-0.019732439890503883,
0.012396923266351223,
-0.057879138737916946,
-0.015576653182506561,
-0.052727170288562775,
-0.035238657146692276,
-0.03976675122976303,
-0.0037130394484847784,
-0.028758445754647255,
0.01097811944782734,
0.026806334033608437,
-0.020265748724341393,
-0.014671034179627895,
-0.025276843458414078,
-0.02219773642718792,
-0.05325041711330414,
0.015013156458735466,
-0.028114449232816696,
-0.009488878771662712,
0.005645027384161949,
0.03658702224493027,
0.06902831792831421,
-0.0012320196256041527,
-0.08025800436735153,
-0.04612621292471886,
-0.04664945974946022,
0.04821920022368431,
-0.03401103988289833,
-0.0792115107178688,
0.028959695249795914,
0.03441353514790535,
0.00950397178530693,
-0.059650130569934845,
-0.003630024380981922,
-0.04483821988105774,
-0.01564709097146988,
-0.016804270446300507,
-0.06190411373972893,
-0.012326485477387905,
-0.011290054768323898,
0.019370192661881447,
0.0012414532247930765,
0.051680680364370346,
-0.06460084766149521,
0.015606840141117573,
-0.014147787354886532,
-0.007280173245817423,
0.012014550156891346,
0.02084936946630478,
-0.006354429293423891,
0.03224004805088043,
0.017045769840478897,
0.03312554582953453,
0.00016650189354550093,
-0.01208498701453209,
-0.025196343660354614,
0.04503947123885155,
-0.05836213752627373,
-0.034312911331653595,
0.016029462218284607,
-0.0067770518362522125,
0.018243199214339256,
0.045441966503858566,
0.012638421729207039,
-0.04922544211149216,
-0.028114449232816696,
0.047856952995061874,
-0.04194023832678795,
0.00555446557700634,
0.025618964806199074,
0.008729164488613605,
-0.007853732444345951,
0.037412140518426895,
0.059650130569934845,
0.03859950974583626,
-0.013745289295911789,
0.0024954844266176224,
0.01419809926301241,
-0.00928259827196598,
0.01075674593448639,
0.011893801391124725,
-0.05840238556265831,
-0.06001237779855728,
-0.012185611762106419,
0.022278236225247383,
0.007325454615056515,
0.06596934050321579,
0.029140818864107132,
-0.012889982201159,
0.055182408541440964,
-0.01763945259153843,
-0.025618964806199074,
0.004721798934042454,
-0.012457297183573246,
-0.12380822747945786,
0.013735227286815643,
-0.06492284685373306,
-0.018313637003302574,
-0.0542164146900177,
0.022076988592743874,
0.06967231631278992,
0.02416997402906418,
-0.007310360670089722,
0.009171911515295506,
-0.023686977103352547,
0.06347385793924332,
0.07409978657960892,
-0.03038856014609337,
0.049386441707611084,
0.011179368011653423,
-0.00322249555028975,
0.03290417045354843,
0.005403528921306133,
-0.0007748077041469514,
0.00638461671769619,
-0.03159605339169502,
0.014731408096849918,
0.06842457503080368,
0.03290417045354843,
-0.014359097927808762,
-0.001348366611637175,
0.032562047243118286,
-0.02511584386229515,
0.029865315183997154,
0.0006748121813870966,
0.06250786036252975,
0.057637643069028854,
0.013061043806374073,
-0.038277510553598404,
0.058281637728214264,
-0.004263957962393761,
0.015023219399154186,
-0.008155605755746365,
0.020396560430526733,
-0.000901845982298255,
-0.04079312086105347,
0.024713346734642982,
-0.03316579386591911,
-0.02883894555270672,
-0.03193817660212517,
-0.01952112838625908,
0.03847876191139221,
-0.02398885041475296,
0.017357705160975456,
-0.08790545165538788,
0.014902469702064991,
-0.03493678197264671,
0.013393104076385498,
-0.011722739785909653,
-0.008799601346254349,
0.026826458051800728,
-0.08029825240373611,
-0.07397904247045517,
-0.03513803333044052,
-0.029664065688848495,
0.013594352640211582,
0.0058412449434399605,
-0.02064812183380127,
-0.04990968853235245,
-0.020175186917185783,
-0.002402406884357333,
0.014540222473442554,
-0.03288404643535614,
0.04838019981980324,
0.01586846448481083,
-0.018756384029984474,
-0.006107899360358715,
0.0022766264155507088,
-0.01775014027953148,
0.06842457503080368,
-0.04085349664092064,
0.010998244397342205,
0.005735589191317558,
-0.024149850010871887,
0.05824138596653938,
-0.06234686076641083,
0.005826151464134455,
0.036124151200056076,
-0.05812063813209534,
0.013453478924930096,
0.0015848338371142745,
-0.028295574709773064,
0.03636565059423447,
0.020044375211000443,
-0.02217761240899563,
0.010968056507408619,
-0.00005428213262348436,
-0.04886319488286972,
0.040994368493556976,
0.022922232747077942,
-0.052968669682741165,
-0.0020187764894217253,
-0.039203256368637085,
-0.015566590242087841,
-0.03139480575919151,
-0.07377779483795166,
-0.005811057519167662,
-0.02668558433651924,
0.01697533205151558,
-0.00011320241901557893,
-0.020144999027252197,
-0.01165230292826891,
0.05240517482161522,
0.02090974524617195,
0.04045099765062332,
-0.08235098421573639,
-0.046085964888334274,
-0.04954744130373001,
-0.05047318711876869,
0.015425716526806355,
0.006963206920772791,
0.009051162749528885,
-0.05755714327096939,
-0.016210585832595825,
-0.009287630207836628,
0.003189792623743415,
0.04065224900841713,
0.017357705160975456,
-0.08677846193313599,
0.03304504603147507,
-0.000032211592042585835,
-0.028999945148825645,
0.038961756974458694
] |
18,424 | textual | panic | null | def panic(*args: RenderableType) -> None:
from ._context import active_app
app = active_app.get()
app.panic(*args)
| (*args: Union[rich.console.ConsoleRenderable, rich.console.RichCast, str]) -> NoneType | [
-0.010005823336541653,
-0.030796365812420845,
0.02174062468111515,
-0.003716876497492194,
0.015800470486283302,
-0.029204335063695908,
0.005490791518241167,
0.022339776158332825,
-0.006059985142201185,
-0.016408180817961693,
0.06046290323138237,
0.022493842989206314,
0.03882499039173126,
-0.05498494952917099,
-0.05094496160745621,
-0.03742126375436783,
0.01645953580737114,
0.010733363218605518,
0.04450836405158043,
-0.07867709547281265,
0.01517564058303833,
0.01619419828057289,
0.04676802083849907,
-0.00800294615328312,
-0.02304163947701454,
0.01734970323741436,
0.007360999006778002,
0.03533279523253441,
0.02874213270843029,
-0.022682147100567818,
0.012102851644158363,
-0.0165708065032959,
0.015723437070846558,
0.058408670127391815,
-0.006115620490163565,
-0.010930227115750313,
-0.06419476121664047,
-0.028142981231212616,
0.016801908612251282,
0.020559441298246384,
0.0006777896778658032,
-0.03201178461313248,
0.02536976896226406,
-0.05926460027694702,
-0.03194331005215645,
-0.07764998078346252,
0.06385238468647003,
-0.0036505418829619884,
-0.028228575363755226,
0.020148593932390213,
-0.022425368428230286,
-0.01819707453250885,
0.021021643653512,
-0.004155540838837624,
-0.006975830532610416,
0.13489457964897156,
-0.022031640633940697,
0.029769249260425568,
0.030145859345793724,
-0.0690564438700676,
0.004506472032517195,
0.04618598893284798,
0.0262428168207407,
0.011743361130356789,
0.040057528764009476,
0.006796085275709629,
0.024513838812708855,
0.01706724613904953,
-0.036496859043836594,
-0.03824295848608017,
0.0010383501648902893,
0.020559441298246384,
-0.03584635257720947,
0.07723913341760635,
0.023709263652563095,
-0.038927700370550156,
-0.018094362691044807,
0.005507910158485174,
0.007099940441548824,
0.015543690882623196,
0.035538218915462494,
0.01780334673821926,
-0.06734458357095718,
0.04861683025956154,
0.01973774842917919,
0.004022871609777212,
0.00010558700159890577,
-0.0018552285619080067,
-0.0850452184677124,
-0.00790451467037201,
-0.0012978040613234043,
-0.0008238327573053539,
-0.0250445157289505,
0.037318553775548935,
-0.002403023885563016,
0.030060265213251114,
0.03204602375626564,
-0.020319780334830284,
0.019429612904787064,
-0.013814711943268776,
0.04402904585003853,
-0.033843476325273514,
-0.011144209653139114,
-0.008691970258951187,
0.050671063363552094,
-0.010878872126340866,
0.019207071512937546,
-0.005238292273133993,
0.009808959439396858,
-0.010408109985291958,
-0.0354355052113533,
0.006085663102567196,
-0.027269933372735977,
-0.06888525187969208,
-0.08018353581428528,
0.012813273817300797,
-0.0262428168207407,
-0.031036024913191795,
-0.0034964745864272118,
-0.010433788411319256,
-0.026311291381716728,
-0.03185771778225899,
0.0012550075771287084,
-0.042728032916784286,
0.03468228876590729,
0.045877855271101,
-0.07011779397726059,
-0.005452274810522795,
-0.0172641109675169,
0.025318412110209465,
-0.024736380204558372,
0.009235485456883907,
-0.032148733735084534,
0.0032396954484283924,
-0.006937313359230757,
0.047623950988054276,
0.04837717115879059,
-0.038996174931526184,
-0.008644893765449524,
-0.014105727896094322,
-0.05724460631608963,
-0.01972062885761261,
-0.015124284662306309,
0.01908724196255207,
0.0439605712890625,
0.01610860414803028,
0.05162970349192619,
0.034904830157756805,
0.046904969960451126,
0.03834566846489906,
0.013994457200169563,
0.04717886820435524,
-0.03502466157078743,
0.010408109985291958,
-0.02543824352324009,
0.0186763945966959,
0.025335531681776047,
0.024685025215148926,
0.005079945083707571,
-0.020011646673083305,
-0.056320201605558395,
-0.024051636457443237,
0.00795587059110403,
-0.050671063363552094,
-0.019583681598305702,
-0.012830392457544804,
-0.014353947713971138,
0.08038895577192307,
0.05830596014857292,
0.04019447788596153,
-0.04180362820625305,
0.014148524962365627,
0.00467337854206562,
-0.055258847773075104,
-0.014362507499754429,
0.03574364259839058,
-0.03091619536280632,
0.007035745307803154,
-0.04129006713628769,
-0.006226891651749611,
0.03502466157078743,
-0.08620928227901459,
-0.0751849040389061,
0.020319780334830284,
0.008867436088621616,
0.02213435247540474,
-0.04608327895402908,
0.028759252279996872,
0.0015973795671015978,
0.003714736783877015,
0.060017820447683334,
0.04433717951178551,
0.05234868451952934,
-0.015398182906210423,
0.015355385839939117,
-0.01722131296992302,
-0.03622296079993248,
-0.08477132022380829,
0.0022938926704227924,
-0.027030272409319878,
0.027988914400339127,
0.049712419509887695,
-0.0248048547655344,
0.014747675508260727,
0.03428855910897255,
0.015423860400915146,
0.049712419509887695,
-0.009072858840227127,
-0.027646543458104134,
-0.041666679084300995,
-0.042317185550928116,
-0.0165708065032959,
-0.0186763945966959,
-0.02076486498117447,
0.021227067336440086,
0.026362648233771324,
-0.011041498742997646,
-0.037078890949487686,
-0.0028010313399136066,
0.017366822808980942,
-0.014602167531847954,
0.06864559650421143,
-0.034254323691129684,
-0.011144209653139114,
-0.04378938302397728,
0.0026362647768110037,
0.00934675708413124,
0.059949345886707306,
0.016836145892739296,
-0.03259382024407387,
-0.012154207564890385,
-0.01997740939259529,
-0.018470970913767815,
-0.0037104571238160133,
-0.028451116755604744,
0.020251305773854256,
0.012008699588477612,
-0.04919886216521263,
0.026020275428891182,
-0.0037489738315343857,
0.03865380212664604,
0.010271161794662476,
0.032251447439193726,
-0.019104359671473503,
0.04991784319281578,
-0.009885992854833603,
-0.04591209068894386,
-0.001581330900080502,
-0.0057646892964839935,
0.0037318551912903786,
0.010099975392222404,
-0.041495490819215775,
0.024770617485046387,
0.008529343642294407,
0.006415196228772402,
-0.019823340699076653,
0.035538218915462494,
-0.004604903981089592,
0.047213103622198105,
0.03100178949534893,
-0.0027839126996695995,
0.014721998013556004,
0.005216894205659628,
0.007600659504532814,
0.024051636457443237,
-0.0030406916048377752,
-0.05193784087896347,
0.05522461235523224,
0.024359770119190216,
-0.019138596951961517,
0.008987266570329666,
0.0169987715780735,
0.029529588297009468,
0.056559860706329346,
0.019446732476353645,
-0.0019472410203889012,
0.039886344224214554,
0.028228575363755226,
-0.030162977054715157,
0.04529581964015961,
0.07689676433801651,
-0.010767600499093533,
0.03978363052010536,
-0.008644893765449524,
-0.05967544764280319,
-0.07162423431873322,
0.02778349071741104,
0.01900164783000946,
0.015149963088333607,
0.0028181499801576138,
0.04354972392320633,
0.06207204982638359,
-0.0014754094881936908,
0.008816080167889595,
-0.08812656253576279,
-0.02511299028992653,
-0.04844564571976662,
-0.017906058579683304,
-0.022682147100567818,
-0.02021706849336624,
0.08381267637014389,
-0.036496859043836594,
-0.0012806854210793972,
-0.006796085275709629,
0.036496859043836594,
0.011854631826281548,
0.01200013980269432,
0.05834019556641579,
-0.01578335091471672,
0.0009955536806955934,
0.02939263917505741,
-0.03319296985864639,
-0.015586487017571926,
-0.03004314750432968,
-0.04515887424349785,
0.017529448494315147,
0.018214192241430283,
-0.03745550289750099,
-0.0002511619823053479,
0.04889072850346565,
-0.0014326130039989948,
0.02295604534447193,
-0.011803275905549526,
0.054779525846242905,
0.018419615924358368,
0.009834636934101582,
0.055190373212099075,
0.00016195802891161293,
0.046973444521427155,
-0.021946048364043236,
0.010878872126340866,
0.025780614465475082,
0.006295365747064352,
-0.056799523532390594,
-0.031600940972566605,
-0.04563819244503975,
-0.008409513160586357,
-0.04598056524991989,
-0.04574090614914894,
-0.04526158422231674,
-0.003025712911039591,
-0.0038602447602897882,
-0.0010640281252563,
0.011323954910039902,
0.05282800644636154,
0.03800329566001892,
0.06299645453691483,
-0.017683515325188637,
0.0410846471786499,
0.03670228272676468,
-0.03339839354157448,
0.052691057324409485,
0.0172641109675169,
0.0008917721570469439,
-0.03605177626013756,
-0.06193510442972183,
0.002854526974260807,
0.04772666469216347,
-0.058579858392477036,
0.002011435804888606,
0.020405374467372894,
0.0172641109675169,
-0.04372090846300125,
-0.01972062885761261,
-0.0021173572167754173,
-0.05546427145600319,
0.005114182364195585,
-0.003537131240591407,
0.001042629824951291,
0.018419615924358368,
-0.022185709327459335,
-0.044884975999593735,
-0.01980622299015522,
0.08812656253576279,
-0.004301048815250397,
0.05159546807408333,
0.019224191084504128,
-0.013498017564415932,
-0.03930431231856346,
0.09045469760894775,
-0.01296734157949686,
-0.026516715064644814,
0.04570666700601578,
-0.0439605712890625,
0.0012956642312929034,
-0.014876065775752068,
-0.03885922580957413,
0.019429612904787064,
-0.0018381099216639996,
-0.03560669347643852,
0.04889072850346565,
-0.052040550857782364,
0.05121885612607002,
0.004669098649173975,
-0.0010458396282047033,
0.011264040134847164,
-0.004480794072151184,
0.0032803521025925875,
-0.028297049924731255,
0.05241715908050537,
-0.004639141261577606,
0.03315873071551323,
-0.011589293368160725,
-0.0520063117146492,
0.00375539343804121,
0.029289929196238518,
0.003509313566610217,
-0.08970147371292114,
0.030796365812420845,
-0.01562072429805994,
0.021877573803067207,
0.03348398581147194,
-0.06648865342140198,
-0.025164345279335976,
0.060257479548454285,
0.009081418626010418,
0.06059985235333443,
-0.003430139971897006,
-0.008062861859798431,
-0.018796226009726524,
0.03141263499855995,
0.027817727997899055,
0.05724460631608963,
0.015928858891129494,
0.04782937467098236,
-0.017837584018707275,
-0.054779525846242905,
0.00806714128702879,
0.03677075728774071,
0.005234012845903635,
-0.03584635257720947,
0.0006579962791875005,
-0.048103272914886475,
0.02689332328736782,
-0.017854701727628708,
0.003374504391103983,
-0.029170097783207893,
-0.028536709025502205,
0.013258357532322407,
0.041598204523324966,
-0.0001127420473494567,
0.004711895249783993,
0.049883607774972916,
0.01509004831314087,
0.04515887424349785,
-0.0345282219350338,
-0.024753497913479805,
-0.02109011821448803,
-0.005850282497704029,
-0.007951591163873672,
0.03245687112212181,
-0.026927560567855835,
0.039098888635635376,
-0.02334977313876152,
0.024274177849292755,
-0.08127912133932114,
-0.09654891490936279,
0.03790058568120003,
0.024034516885876656,
0.013652085326611996,
-0.03334703668951988,
0.05286224186420441,
-0.012333952821791172,
-0.05556698143482208,
0.06323611736297607,
0.046014804393053055,
-0.02865654043853283,
-0.011366751976311207,
-0.004870242439210415,
-0.01010853424668312,
0.009612095542252064,
0.015963096171617508,
0.029529588297009468,
0.017649278044700623,
0.015903182327747345,
0.004831725265830755,
-0.016510892659425735,
0.030402638018131256,
0.012060055509209633,
-0.01517564058303833,
0.020816219970583916,
0.012111411429941654,
0.045946329832077026,
0.030471112579107285,
-0.08305945992469788,
-0.03437415510416031,
0.02913586050271988,
0.030077384784817696,
0.0017353983130306005,
0.036496859043836594,
-0.04765819013118744,
-0.03769516199827194,
-0.012547935359179974,
-0.009826078079640865,
0.055669695138931274,
-0.022562317550182343,
-0.06573542952537537,
0.024599431082606316,
-0.0406053252518177,
-0.00009776326623978093,
-0.011281158775091171,
-0.05073953792452812,
0.051732417196035385,
0.001007857732474804,
-0.0010843564523383975,
-0.04752124100923538,
0.07860862463712692,
0.034973304718732834,
0.028314167633652687,
-0.022921808063983917,
-0.03444262593984604,
-0.0017011611489579082,
0.009458027780056,
0.00648367078974843,
0.039098888635635376,
-0.024736380204558372,
-0.03302178531885147,
-0.06217476353049278,
0.027971796691417694,
0.005204054992645979,
0.027167221531271935,
-0.008704809471964836,
0.021038761362433434,
-0.014713438227772713,
0.06840593367815018,
-0.04868530482053757,
0.10606686025857925,
0.042385660111904144,
0.02769789844751358,
0.05190360173583031,
-0.002405163599178195,
0.06655712425708771,
0.023315535858273506,
-0.037797871977090836,
-0.01152081973850727,
-0.032251447439193726,
-0.0931936725974083,
-0.024907566606998444,
0.03998905420303345,
-0.027834847569465637,
-0.018625039607286453,
-0.006321043707430363,
0.01412284653633833,
-0.03998905420303345,
-0.006860279943794012,
-0.11038074642419815,
-0.01665640063583851,
0.012821832671761513,
-0.021518083289265633,
0.019994527101516724,
-0.047932084649801254,
-0.062106288969516754,
0.06371543556451797,
0.06429746747016907,
-0.0605313777923584,
0.052622582763433456,
0.005529308691620827,
0.015064369887113571,
0.018573682755231857,
0.007994387298822403,
-0.013189882971346378,
-0.004502192605286837,
0.0812106505036354,
-0.04522734880447388,
-0.04796632379293442,
0.034339915961027145,
-0.0027004594448953867,
0.0015663520898669958,
-0.031532466411590576,
-0.007258287165313959,
-0.03858532756567001,
-0.07888251543045044,
0.020234188064932823,
-0.0038944820407778025,
-0.00452787009999156,
0.025883326306939125,
0.04598056524991989,
0.050294455140829086,
-0.030299926176667213,
-0.03567516803741455,
-0.005477952770888805,
0.02367502637207508,
-0.029529588297009468,
-0.06727610528469086,
0.005370961502194405,
-0.013309713453054428,
0.014028694480657578,
-0.04998631775379181,
-0.02302451990544796,
0.0019579401705414057,
-0.04984936863183975,
-0.028211455792188644,
0.016271231696009636,
-0.01574055477976799,
0.05022598057985306,
0.046322938054800034,
-0.004964394494891167,
-0.031532466411590576,
-0.00595727376639843,
-0.0056234607473015785,
0.02535264939069748,
0.04378938302397728,
0.045843616127967834,
-0.0224596057087183,
0.0321316160261631,
0.009877433069050312,
0.014884624630212784,
0.015192759223282337,
0.03322720527648926,
-0.014105727896094322,
-0.04245413467288017,
0.00013674820365849882,
-0.015030132606625557,
0.0751849040389061,
-0.022014522925019264,
-0.01972062885761261,
-0.006928754039108753,
0.032251447439193726,
0.10339635610580444,
0.05443715676665306,
-0.06094222515821457,
0.03824295848608017,
-0.013232679106295109,
-0.03742126375436783,
0.07333609461784363,
0.02593468315899372,
-0.014319710433483124,
0.014876065775752068,
-0.028365524485707283,
-0.020576559007167816,
0.02054232358932495,
0.025489598512649536,
-0.024376889690756798,
-0.015149963088333607,
-0.02560942806303501,
-0.011443785391747952,
-0.02374350093305111,
-0.02367502637207508,
-0.08490826934576035,
0.05553274601697922,
-0.030950432643294334,
-0.03995481878519058,
-0.036496859043836594,
0.035880591720342636,
0.00037607428384944797,
-0.007455151062458754,
-0.024530956521630287,
-0.03420296683907509,
0.027817727997899055,
0.01569775864481926,
0.05032869055867195,
-0.006616339553147554,
-0.07196660339832306,
-0.014028694480657578,
-0.017837584018707275,
0.08709944784641266,
0.03334703668951988,
-0.02536976896226406,
-0.09052316844463348,
0.011803275905549526,
-0.009672010317444801,
0.017289787530899048,
-0.06265408545732498,
-0.004532149992883205,
0.05433444306254387,
-0.05217749997973442,
-0.01252225786447525,
-0.050362925976514816,
-0.03139551728963852,
0.016031570732593536,
-0.02906738594174385,
-0.055601220577955246,
0.001007857732474804,
0.01651945151388645,
0.028057388961315155,
0.017751989886164665,
-0.029580945149064064,
-0.009834636934101582,
-0.00656498409807682,
0.013609289191663265,
-0.0030727891717106104,
-0.04930157586932182,
-0.07511642575263977,
-0.036188725382089615,
-0.011478022672235966,
0.018453853204846382,
-0.01609148643910885,
0.029495351016521454,
-0.027321288362145424,
-0.06104493513703346,
-0.0010918457992374897,
-0.018077243119478226,
0.019121479243040085,
0.026910442858934402,
0.014037254266440868,
-0.029358401894569397,
-0.053341563791036606,
0.019994527101516724,
-0.010664889588952065,
0.0264824777841568,
0.010099975392222404,
0.019754866138100624,
0.028314167633652687,
0.02350383996963501,
0.011640649288892746,
0.017169957980513573,
0.015646401792764664,
0.01665640063583851,
0.030077384784817696,
-0.021774861961603165,
0.04645988717675209,
0.039817869663238525,
0.09880857169628143,
0.05577240511775017,
-0.037969060242176056,
-0.08086827397346497,
-0.048753779381513596,
-0.0008307871758006513,
-0.034819237887859344,
-0.0072454484179615974,
-0.051013436168432236,
0.042043287307024,
-0.004296769388020039,
-0.09045469760894775,
0.007134177256375551,
0.02180909924209118,
-0.01978910341858864,
-0.03108738176524639,
0.06467407941818237,
0.04717886820435524,
-0.004382362123578787,
-0.06785813719034195,
-0.02591756358742714,
0.00989455170929432,
-0.0023045919369906187,
-0.039098888635635376,
-0.05597782880067825,
-0.01591174118220806,
0.006967271212488413,
-0.030881958082318306,
-0.03957820683717728,
0.011041498742997646,
-0.016844704747200012,
-0.05176665261387825,
0.07908794283866882,
0.03615448623895645,
-0.03896193951368332,
0.047932084649801254,
0.029803486540913582,
0.02156943827867508,
0.04611751437187195,
0.03018009662628174,
-0.041974812746047974,
0.03848261758685112,
0.07867709547281265,
0.0016080787172541022,
0.019018767401576042,
-0.04430294409394264,
0.010262602008879185,
0.02391468733549118,
-0.01517564058303833,
0.05604630336165428,
-0.036496859043836594,
0.013797593303024769,
0.03269653022289276,
0.020901814103126526,
0.0003327428421471268,
-0.02206587791442871
] |
18,428 | textual._work_decorator | work | A decorator used to create [workers](/guide/workers).
Args:
method: A function or coroutine.
name: A short string to identify the worker (in logs and debugging).
group: A short string to identify a group of workers.
exit_on_error: Exit the app if the worker raises an error. Set to `False` to suppress exceptions.
exclusive: Cancel all workers in the same group.
description: Readable description of the worker for debugging purposes.
By default, it uses a string representation of the decorated method
and its arguments.
thread: Mark the method as a thread worker.
| def work(
method: (
Callable[FactoryParamSpec, ReturnType]
| Callable[FactoryParamSpec, Coroutine[None, None, ReturnType]]
| None
) = None,
*,
name: str = "",
group: str = "default",
exit_on_error: bool = True,
exclusive: bool = False,
description: str | None = None,
thread: bool = False,
) -> Callable[FactoryParamSpec, Worker[ReturnType]] | Decorator:
"""A decorator used to create [workers](/guide/workers).
Args:
method: A function or coroutine.
name: A short string to identify the worker (in logs and debugging).
group: A short string to identify a group of workers.
exit_on_error: Exit the app if the worker raises an error. Set to `False` to suppress exceptions.
exclusive: Cancel all workers in the same group.
description: Readable description of the worker for debugging purposes.
By default, it uses a string representation of the decorated method
and its arguments.
thread: Mark the method as a thread worker.
"""
def decorator(
method: (
Callable[DecoratorParamSpec, ReturnType]
| Callable[DecoratorParamSpec, Coroutine[None, None, ReturnType]]
)
) -> Callable[DecoratorParamSpec, Worker[ReturnType]]:
"""The decorator."""
# Methods that aren't async *must* be marked as being a thread
# worker.
if not iscoroutinefunction(method) and not thread:
raise WorkerDeclarationError(
"Can not create a worker from a non-async function unless `thread=True` is set on the work decorator."
)
@wraps(method)
def decorated(
*args: DecoratorParamSpec.args, **kwargs: DecoratorParamSpec.kwargs
) -> Worker[ReturnType]:
"""The replaced callable."""
from .dom import DOMNode
self = args[0]
assert isinstance(self, DOMNode)
if description is not None:
debug_description = description
else:
try:
positional_arguments = ", ".join(repr(arg) for arg in args[1:])
keyword_arguments = ", ".join(
f"{name}={value!r}" for name, value in kwargs.items()
)
tokens = [positional_arguments, keyword_arguments]
debug_description = f"{method.__name__}({', '.join(token for token in tokens if token)})"
except Exception:
debug_description = "<worker>"
worker = cast(
"Worker[ReturnType]",
self.run_worker(
partial(method, *args, **kwargs),
name=name or method.__name__,
group=group,
description=debug_description,
exclusive=exclusive,
exit_on_error=exit_on_error,
thread=thread,
),
)
return worker
return decorated
if method is None:
return decorator
else:
return decorator(method)
| (method: 'Callable[FactoryParamSpec, ReturnType] | Callable[FactoryParamSpec, Coroutine[None, None, ReturnType]] | None' = None, *, name: 'str' = '', group: 'str' = 'default', exit_on_error: 'bool' = True, exclusive: 'bool' = False, description: 'str | None' = None, thread: 'bool' = False) -> 'Callable[FactoryParamSpec, Worker[ReturnType]] | Decorator' | [
0.07677219063043594,
0.014824586920440197,
-0.016947753727436066,
0.014777613803744316,
-0.013537534512579441,
0.03643203154206276,
-0.0550520122051239,
-0.023617876693606377,
-0.029085500165820122,
0.012034407816827297,
0.09206650406122208,
0.04370340704917908,
0.03923160582780838,
-0.0210813507437706,
0.003896386129781604,
-0.0036333389580249786,
0.0525718554854393,
-0.020724358037114143,
-0.015792224556207657,
-0.007318347692489624,
0.008304774761199951,
-0.0014103555586189032,
0.08289743214845657,
-0.020761936902999878,
0.011621047742664814,
0.03506042808294296,
0.00022370752412825823,
0.0198412723839283,
-0.021118929609656334,
-0.017736895009875298,
-0.002942840103060007,
-0.03040073625743389,
-0.018901817500591278,
0.04220028221607208,
0.08485150337219238,
0.005664908792823553,
-0.03915644809603691,
0.04967833682894707,
-0.11100590229034424,
-0.03923160582780838,
-0.03553015738725662,
-0.03487253934144974,
0.02412518300116062,
-0.048814039677381516,
-0.01976611465215683,
-0.06392046064138412,
0.058434050530195236,
0.004164130426943302,
-0.02782663144171238,
-0.07673461735248566,
0.023448776453733444,
-0.05358646437525749,
0.05091841518878937,
-0.00868995115160942,
0.03460949286818504,
0.041974812746047974,
0.03393308445811272,
0.008906025439500809,
0.05606662482023239,
-0.03622535243630409,
-0.026229560375213623,
0.004509380087256432,
0.016261951997876167,
0.0545634962618351,
-0.04366583004593849,
-0.0007650679908692837,
0.028860032558441162,
-0.015594938769936562,
-0.010897668078541756,
0.015284919179975986,
0.04907708615064621,
0.015237946063280106,
0.044229503720998764,
-0.03475980460643768,
-0.01976611465215683,
-0.015876775607466698,
-0.013321460224688053,
-0.04704786464571953,
0.04456770420074463,
-0.01590495929121971,
-0.01875150576233864,
0.05212091654539108,
-0.04501864314079285,
-0.03603745996952057,
0.026567764580249786,
0.015764040872454643,
0.02906671166419983,
-0.012983256950974464,
-0.08101852983236313,
-0.046859972178936005,
-0.012222298420965672,
-0.0020198265556246042,
0.035004060715436935,
-0.04077231138944626,
-0.011113742366433144,
-0.02053646743297577,
0.020104318857192993,
0.01391331572085619,
-0.015876775607466698,
0.003976239822804928,
-0.018479064106941223,
0.04768669232726097,
0.0029076107311993837,
0.0035135585349053144,
0.0008660593302920461,
-0.03915644809603691,
-0.06106451898813248,
0.019258810207247734,
-0.07553211599588394,
-0.03541742265224457,
0.001587677514180541,
0.041674185544252396,
-0.05373677983880043,
-0.03487253934144974,
0.012043802067637444,
0.03134018927812576,
-0.09311869740486145,
-0.04370340704917908,
0.010634620673954487,
-0.025158582255244255,
0.023054204881191254,
0.004610371310263872,
-0.0463714562356472,
-0.03660113364458084,
-0.06207913160324097,
0.01096342969685793,
-0.0172953512519598,
0.07989118248224258,
0.03256148099899292,
-0.0401710607111454,
-0.02378697879612446,
0.049264974892139435,
0.002447278006002307,
0.06155303493142128,
0.03750301152467728,
0.051519665867090225,
-0.038968559354543686,
0.013236909173429012,
-0.0052797324024140835,
0.0372023843228817,
-0.0038987346924841404,
-0.014129390940070152,
0.01391331572085619,
0.03030679188668728,
0.02668049745261669,
-0.04317731410264969,
-0.0016452190466225147,
0.017859023064374924,
0.01185591146349907,
-0.03526711091399193,
0.010061553679406643,
0.02844667248427868,
0.07530664652585983,
-0.027338115498423576,
0.013950894586741924,
0.056855764240026474,
0.03517316281795502,
0.04231301695108414,
0.03628171980381012,
-0.050354741513729095,
-0.0036474307999014854,
0.0003114877617917955,
0.007280769757926464,
-0.00034348791814409196,
0.0038846428506076336,
0.025064637884497643,
0.03673265874385834,
-0.046484190970659256,
-0.0002615792618598789,
0.05467623099684715,
0.004537563771009445,
0.06207913160324097,
0.03402702882885933,
0.026849599555134773,
-0.07173672318458557,
0.03203538805246353,
0.004490591119974852,
0.009939424693584442,
-0.0035981093533337116,
-0.0154352318495512,
-0.027356905862689018,
-0.012673236429691315,
-0.022903893142938614,
0.009164375253021717,
-0.010174288414418697,
0.022189907729625702,
0.01784023456275463,
-0.02782663144171238,
0.014317281544208527,
-0.06561148166656494,
-0.04212512448430061,
-0.002691536210477352,
0.07327742129564285,
0.014815191738307476,
-0.003649779362604022,
-0.026473818346858025,
-0.01442062109708786,
0.04084746539592743,
0.04310215637087822,
-0.013283882290124893,
0.0345907025039196,
0.058734674006700516,
0.07519391179084778,
0.03496648371219635,
0.0035581826232373714,
0.01096342969685793,
-0.019597014412283897,
-0.002759646624326706,
-0.0642210841178894,
-0.0011725561926141381,
0.06625030934810638,
0.012607474811375141,
-0.04005832597613335,
0.05993717536330223,
0.0686928853392601,
-0.0015500993467867374,
0.07718555629253387,
0.02931096963584423,
0.05185787007212639,
0.02536526322364807,
-0.039269182831048965,
0.05193302780389786,
-0.0008513803477399051,
0.027037490159273148,
-0.04366583004593849,
-0.03744664415717125,
0.023129360750317574,
-0.03808547183871269,
0.04723575338721275,
-0.05944865942001343,
0.019409123808145523,
-0.02341119758784771,
0.021269241347908974,
-0.03199780732393265,
-0.07504359632730484,
0.009666983038187027,
-0.016017694026231766,
0.02839030511677265,
0.03960738703608513,
0.013584507629275322,
0.015585544519126415,
-0.011451946571469307,
0.02914186753332615,
0.0046549951657652855,
0.03487253934144974,
-0.03598109260201454,
0.029104290530085564,
0.014871559105813503,
0.03987043350934982,
0.014693062752485275,
-0.03684539347887039,
-0.017812050879001617,
-0.030194057151675224,
-0.022847525775432587,
-0.01976611465215683,
-0.01050309743732214,
-0.015773436054587364,
-0.07801227271556854,
0.027187803760170937,
0.045319270342588425,
-0.015848591923713684,
-0.04344036057591438,
-0.005002593621611595,
-0.013669057749211788,
0.0026140313129872084,
-0.04325246810913086,
-0.08890993893146515,
-0.01003336999565363,
-0.03124624490737915,
0.04825036600232124,
0.006914382800459862,
-0.01643105410039425,
0.06234217807650566,
0.01151770818978548,
-0.030419526621699333,
-0.02993100881576538,
-0.005505201406776905,
0.005073052365332842,
0.019484279677271843,
-0.04930255562067032,
-0.021062562242150307,
0.02031099982559681,
-0.016553182154893875,
-0.04426708072423935,
-0.0047888676635921,
0.021738968789577484,
0.015444626100361347,
0.07421687990427017,
0.02542162872850895,
-0.026943545788526535,
0.009234834462404251,
-0.011808938346803188,
-0.007562606129795313,
-0.02978069707751274,
0.013246303424239159,
0.0011003357358276844,
-0.061252411454916,
-0.014101207256317139,
0.030814096331596375,
-0.10807480663061142,
0.025327684357762337,
0.03983285650610924,
0.008929511532187462,
0.029667962342500687,
0.0028277570381760597,
-0.018093887716531754,
-0.012776576913893223,
-0.02899155579507351,
-0.07075968384742737,
-0.0047254543751478195,
-0.018629375845193863,
0.00036022195126861334,
-0.04550715908408165,
-0.04310215637087822,
0.0014902091352269053,
0.018403906375169754,
0.006557390093803406,
0.041674185544252396,
-0.01210016943514347,
0.0154352318495512,
0.00907042995095253,
0.019484279677271843,
-0.022546900436282158,
0.011104348115622997,
0.007308953441679478,
0.002902913372963667,
-0.01492792647331953,
0.04370340704917908,
-0.030100110918283463,
0.07357805222272873,
-0.008675859309732914,
0.022265063598752022,
0.020987406373023987,
-0.010127316229045391,
-0.06185366213321686,
0.05708123371005058,
0.048100054264068604,
-0.011790149845182896,
0.00954015739262104,
-0.014514566399157047,
0.04002074897289276,
0.006909685209393501,
-0.015341286547482014,
0.02425670623779297,
-0.02519616112112999,
-0.01691017486155033,
0.028728507459163666,
0.04310215637087822,
0.0605008490383625,
-0.024519752711057663,
0.08981181681156158,
0.004664389882236719,
-0.05069294571876526,
0.04607083275914192,
0.020348576828837395,
-0.013791186735033989,
-0.020987406373023987,
-0.03053225949406624,
0.024444596841931343,
-0.051594823598861694,
-0.09326900541782379,
-0.018939396366477013,
0.026530185714364052,
0.09702682495117188,
-0.0046549951657652855,
-0.048964351415634155,
0.04652177169919014,
0.014138785190880299,
-0.025477996096014977,
-0.021288031712174416,
0.017661739140748978,
-0.021663812920451164,
-0.008295380510389805,
-0.02544041909277439,
-0.03342577815055847,
0.008149764500558376,
0.01651560328900814,
-0.005707183852791786,
-0.050279587507247925,
0.019972795620560646,
-0.016149217262864113,
0.007820955477654934,
0.007468660362064838,
-0.02241537719964981,
0.029893431812524796,
0.004204057157039642,
-0.01572646200656891,
0.020141897723078728,
0.005542779341340065,
-0.051519665867090225,
-0.001379823312163353,
0.024050027132034302,
-0.017013514414429665,
0.03851762041449547,
-0.01589556410908699,
-0.02985585294663906,
-0.011921673081815243,
0.030607417225837708,
-0.04201238974928856,
-0.014289097860455513,
0.046559348702430725,
-0.011235871352255344,
0.09334416687488556,
-0.0003892863169312477,
0.026962334290146828,
0.0045281690545380116,
0.04054684191942215,
-0.04366583004593849,
0.0172953512519598,
0.03541742265224457,
0.0013739516725763679,
-0.06921898573637009,
-0.07391625642776489,
0.007022419944405556,
-0.016618944704532623,
-0.016637733206152916,
0.00802293885499239,
-0.04039653018116951,
-0.024632487446069717,
0.0004556352796498686,
0.013781792484223843,
-0.011188899166882038,
0.0358307808637619,
0.10161136090755463,
0.016863202676177025,
0.03246753662824631,
0.020442523062229156,
-0.004918042570352554,
0.019277598708868027,
-0.0006218012422323227,
0.02549678646028042,
-0.048964351415634155,
-0.01931517757475376,
0.041899655014276505,
-0.005787037778645754,
-0.08582853525876999,
-0.026229560375213623,
0.03613140806555748,
0.027432061731815338,
0.03487253934144974,
-0.04468043893575668,
-0.04569505155086517,
0.011761966161429882,
-0.01117010973393917,
-0.02961159497499466,
-0.015162790194153786,
0.05061779171228409,
0.0003343869757372886,
-0.020667990669608116,
-0.001256519928574562,
0.09078884869813919,
0.04212512448430061,
-0.00531261321157217,
0.05527748167514801,
-0.010456125251948833,
0.021532289683818817,
0.036958128213882446,
-0.04922739788889885,
-0.006547995377331972,
-0.013687847182154655,
0.03607504069805145,
0.010136710479855537,
-0.01944670081138611,
-0.0006400031270459294,
-0.03475980460643768,
-0.0421627014875412,
0.04208754748106003,
-0.02938612550497055,
-0.004312094766646624,
-0.04738606885075569,
0.07726071029901505,
-0.03675144538283348,
0.03434644266963005,
0.004478847607970238,
0.014326675795018673,
0.03812304884195328,
-0.04005832597613335,
-0.022772368043661118,
0.022509321570396423,
-0.03866793215274811,
0.03761574625968933,
-0.031528081744909286,
0.013161752372980118,
0.030626205727458,
-0.05065536871552467,
-0.037953946739435196,
0.022359009832143784,
-0.0017121551791206002,
0.03429007530212402,
0.035624101758003235,
-0.027469640597701073,
0.03323788940906525,
0.016769256442785263,
-0.016684705391526222,
-0.03731511905789375,
0.023843346163630486,
0.007849139161407948,
0.025628309696912766,
-0.01383815985172987,
-0.02465127781033516,
0.040809888392686844,
-0.05569084361195564,
0.011301633901894093,
0.0038588079623878,
0.015087633393704891,
-0.03808547183871269,
-0.027150224894285202,
0.027638740837574005,
0.014617906883358955,
0.004199360031634569,
0.019484279677271843,
0.02923581376671791,
-0.02420033887028694,
-0.03301241993904114,
-0.029968587681651115,
-0.03979527950286865,
-0.0639956146478653,
-0.013274487107992172,
-0.015482204966247082,
-0.09154041111469269,
0.03241116926074028,
0.03938191756606102,
0.05099357292056084,
0.06204155460000038,
0.014702457934617996,
-0.026548974215984344,
0.052684590220451355,
-0.021983226761221886,
0.0007891415152698755,
0.058734674006700516,
0.00822022370994091,
0.015547966584563255,
-0.013471772894263268,
0.0014643741305917501,
0.020480100065469742,
-0.037559378892183304,
-0.049039505422115326,
0.026473818346858025,
0.02140076644718647,
-0.006336618214845657,
0.00783504731953144,
0.08447571843862534,
-0.006524509284645319,
-0.02371182292699814,
-0.03429007530212402,
-0.01689138635993004,
0.053999826312065125,
0.0034595399629324675,
0.005721275694668293,
-0.05193302780389786,
-0.034853748977184296,
0.0011884095147252083,
0.010869484394788742,
0.006989539135247469,
-0.000154569570440799,
-0.0401710607111454,
0.0014643741305917501,
0.0037225871346890926,
-0.02311057224869728,
0.03735269606113434,
-0.05723154917359352,
-0.005284429527819157,
-0.002517737215384841,
-0.040659576654434204,
0.015510388650000095,
0.08342353254556656,
0.08056759089231491,
-0.013650269247591496,
-0.07023359090089798,
-0.09950698167085648,
-0.005580357741564512,
0.030720151960849762,
0.028258781880140305,
-0.040584418922662735,
-0.028089679777622223,
0.07034632563591003,
0.03699570521712303,
-0.033839140087366104,
-0.014561539515852928,
-0.06234217807650566,
-0.028634563088417053,
-0.03491011634469032,
-0.013631479814648628,
-0.07256343960762024,
-0.05478896573185921,
0.012692025862634182,
-0.05606662482023239,
0.024613698944449425,
-0.02807088941335678,
0.014213941060006618,
0.012306849472224712,
0.025327684357762337,
0.02006673999130726,
-0.021344399079680443,
0.03393308445811272,
0.05294763669371605,
-0.059260766953229904,
0.013950894586741924,
0.04847583547234535,
-0.0025764531455934048,
-0.000058642490330385044,
-0.005411256104707718,
-0.008304774761199951,
-0.0587722510099411,
-0.0027220684569329023,
0.004166479222476482,
-0.032674215734004974,
-0.03474101424217224,
0.0032622546423226595,
-0.07045906037092209,
-0.02348635345697403,
-0.02115650847554207,
0.0018859541742131114,
-0.05963655188679695,
0.03823578357696533,
0.008229618892073631,
-0.059824440628290176,
-0.023523932322859764,
0.04975349083542824,
0.0012224647216498852,
0.011207688599824905,
-0.03179112821817398,
0.015510388650000095,
-0.03132140263915062,
0.020968616008758545,
-0.0007997103384695947,
0.007384109776467085,
-0.02286631427705288,
0.004579838830977678,
-0.05279732495546341,
-0.022377798333764076,
0.0567806102335453,
0.03737148642539978,
-0.013340248726308346,
0.04287668690085411,
-0.05937350168824196,
0.04118566960096359,
0.0372023843228817,
0.007355926092714071,
-0.06734007596969604,
0.011574075557291508,
-0.02660534158349037,
0.00043214892502874136,
-0.00484758336097002,
-0.0761333629488945,
-0.03705207258462906,
0.07583273947238922,
-0.05448834225535393,
-0.0182911716401577,
0.009554249234497547,
-0.06162819266319275,
0.03823578357696533,
-0.038179416209459305,
-0.017736895009875298,
0.042839109897613525,
0.035379841923713684,
0.001162574510090053,
-0.06963234394788742,
-0.02797694504261017,
0.02433186210691929,
0.04821278899908066,
0.01058764848858118,
-0.025477996096014977,
0.037803635001182556,
-0.03938191756606102,
0.03109593316912651,
-0.005904469173401594,
-0.017971757799386978,
0.06974507868289948,
-0.01619618944823742,
0.03767211362719536,
0.014467594213783741,
-0.022847525775432587,
-0.05490170046687126,
-0.0072713750414550304,
0.035868361592292786,
-0.021212875843048096,
-0.03530468791723251,
-0.051331777125597,
0.02916065789759159,
0.0191554706543684,
0.014364253729581833,
-0.03998316824436188,
0.020686781033873558,
0.04501864314079285,
0.0644841343164444,
0.035943515598773956,
-0.04614598676562309,
0.014871559105813503,
-0.0198412723839283,
0.008051122538745403,
0.0716615617275238,
-0.006693610921502113,
-0.024369440972805023,
0.011545891873538494,
0.0058340104296803474,
-0.06226702034473419,
-0.06606241315603256,
0.04704786464571953,
-0.05065536871552467,
-0.029217025265097618,
0.020254632458090782,
-0.001127345021814108,
0.0006071222596801817,
0.04644661396741867,
0.017793262377381325,
0.0030508774798363447,
-0.014815191738307476,
0.04126082733273506,
-0.056630298495292664,
0.017098065465688705,
0.013246303424239159,
0.021738968789577484,
-0.00289821601472795,
-0.004140644334256649,
-0.03816062957048416,
0.010014581494033337,
-0.02519616112112999,
0.010653410106897354,
0.04317731410264969,
-0.007797469384968281,
0.021269241347908974,
0.029498860239982605,
-0.07331500202417374,
-0.02745085023343563,
-0.0065010227262973785,
-0.0019294039811939,
-0.05651756376028061,
-0.015876775607466698,
0.032599058002233505,
0.03494769334793091,
0.020348576828837395,
0.015021871775388718,
0.07218765467405319,
0.06655093282461166,
-0.030043743550777435,
0.022528110072016716,
-0.008126278407871723,
-0.075644850730896,
-0.015482204966247082,
-0.04460528492927551,
0.006890896242111921,
-0.0287660863250494,
0.016562577337026596,
0.06219186633825302,
0.01248534582555294,
0.005918561015278101,
0.04825036600232124,
0.03387671709060669,
-0.011611653491854668,
0.026492606848478317,
-0.025928935036063194,
-0.022772368043661118,
0.05813342332839966,
-0.017577188089489937,
-0.04069715365767479,
0.03506042808294296,
-0.03652597963809967,
-0.0198412723839283,
-0.021419554948806763,
-0.003184749512001872,
0.01341540552675724,
0.01696654222905636,
-0.0259101465344429,
-0.033463358879089355,
-0.024820378050208092,
0.008826171979308128,
0.05790795385837555
] |
18,429 | asynch.connection | connect | null | def _parse_dsn(self, url):
"""
Return a client configured from the given URL.
For example::
clickhouse://[user:password]@localhost:9000/default
clickhouses://[user:password]@localhost:9440/default
Three URL schemes are supported:
clickhouse:// creates a normal TCP socket connection
clickhouses:// creates a SSL wrapped TCP socket connection
Any additional querystring arguments will be passed along to
the Connection class's initializer.
"""
url = urlparse(url)
settings = {}
kwargs = {}
if url.hostname is not None:
self._host = kwargs["host"] = unquote(url.hostname)
if url.port is not None:
self._port = kwargs["port"] = url.port
path = url.path.replace("/", "", 1)
if path:
self._database = kwargs["database"] = path
if url.username is not None:
self._user = kwargs["user"] = unquote(url.username)
if url.password is not None:
self._password = kwargs["password"] = unquote(url.password)
if url.scheme == "clickhouses":
kwargs["secure"] = True
compression_algs = {"lz4", "lz4hc", "zstd"}
timeouts = {"connect_timeout", "send_receive_timeout", "sync_request_timeout"}
for name, value in parse_qs(url.query).items():
if not value or not len(value):
continue
value = value[0]
if name == "compression":
value = value.lower()
if value in compression_algs:
kwargs[name] = value
else:
kwargs[name] = asbool(value)
elif name == "secure":
kwargs[name] = asbool(value)
elif name == "client_name":
kwargs[name] = value
elif name in timeouts:
kwargs[name] = float(value)
elif name == "compress_block_size":
kwargs[name] = int(value)
# ssl
elif name == "verify":
kwargs[name] = asbool(value)
elif name == "ssl_version":
kwargs[name] = getattr(ssl, value)
elif name in ["ca_certs", "ciphers"]:
kwargs[name] = value
elif name == "alt_hosts":
kwargs["alt_hosts"] = value
else:
settings[name] = value
if settings:
kwargs["settings"] = settings
return kwargs
| (dsn: Optional[str] = None, host: str = '127.0.0.1', port: int = 9000, database: str = 'default', user: str = 'default', password: str = '', cursor_cls=<class 'asynch.cursors.Cursor'>, echo=False, **kwargs) -> asynch.connection.Connection | [
-0.03985467553138733,
-0.05805718153715134,
0.02278982847929001,
0.0023131584748625755,
-0.003334985114634037,
0.002342976164072752,
-0.016523543745279312,
0.0238540880382061,
-0.007931483909487724,
-0.08969137072563171,
-0.0275606457144022,
0.104591004550457,
-0.006215824745595455,
0.022221000865101814,
-0.0028418477158993483,
-0.014138134196400642,
-0.003970329649746418,
0.016385924071073532,
0.04293735697865486,
-0.05897464603185654,
-0.022734781727194786,
0.02137693203985691,
0.0376160629093647,
0.028368014842271805,
0.007050718180835247,
0.04216668754816055,
0.0001561123935971409,
0.004046020098030567,
0.06785570830106735,
-0.030202945694327354,
-0.007266322150826454,
0.04723109304904938,
-0.01893647573888302,
0.11288488656282425,
0.0606260821223259,
-0.011073801666498184,
0.04440530389547348,
0.014395024627447128,
-0.017119895666837692,
-0.0006399317644536495,
-0.0670483335852623,
-0.028459761291742325,
0.01368857640773058,
-0.005546075291931629,
0.021266836673021317,
0.024055929854512215,
-0.012330728583037853,
0.04546956345438957,
-0.08403978496789932,
-0.03963448479771614,
-0.0026010130532085896,
0.06469962745904922,
0.04165290668606758,
0.04352453723549843,
-0.007789277005940676,
-0.04693750664591789,
-0.03477191925048828,
0.08403978496789932,
-0.05453411489725113,
0.059194836765527725,
-0.01091783307492733,
0.02902859076857567,
0.0012167878448963165,
0.01266101561486721,
-0.04844214767217636,
-0.04609343782067299,
-0.0688832700252533,
-0.021762268617749214,
0.029927706345915794,
-0.03787295147776604,
0.07314030081033707,
0.037175677716732025,
-0.018587838858366013,
-0.026716578751802444,
0.03684538975358009,
-0.008995743468403816,
-0.046900808811187744,
0.03161584213376045,
-0.00032713357359170914,
0.010560021735727787,
0.0030505708418786526,
-0.02403758093714714,
-0.004410712514072657,
-0.021487029269337654,
0.05721311271190643,
-0.017486881464719772,
-0.00442676804959774,
0.07948916405439377,
0.0073443069122731686,
0.053323060274124146,
0.01738595962524414,
-0.025890860706567764,
-0.02367059513926506,
0.06745202094316483,
0.004651547409594059,
-0.010826085694134235,
0.005192851647734642,
0.00011654671834548935,
0.027854235842823982,
-0.04767147824168205,
-0.025248635560274124,
-0.018881428986787796,
-0.054791007190942764,
-0.021982459351420403,
-0.029157035052776337,
-0.048882532864809036,
0.014872106723487377,
-0.015706999227404594,
-0.02633124403655529,
0.022734781727194786,
-0.0016353812534362078,
-0.04374472796916962,
0.022092554718255997,
0.019101619720458984,
0.005665346048772335,
-0.057359907776117325,
0.009404015727341175,
-0.03434988856315613,
-0.029193734750151634,
-0.014404199086129665,
-0.06205732747912407,
0.033964551985263824,
-0.007715879939496517,
0.03174428641796112,
0.03655180335044861,
0.05335976183414459,
-0.007445227820426226,
-0.04840544983744621,
0.019046571105718613,
-0.028588207438588142,
0.07409446686506271,
0.023725643754005432,
0.00010658361861715093,
0.036074720323085785,
0.008403978310525417,
-0.004422180820256472,
0.0032019526697695255,
0.020569562911987305,
-0.020110830664634705,
0.023266909644007683,
0.003736375831067562,
0.0167437344789505,
-0.02302836999297142,
-0.02178061753511429,
0.02770744077861309,
0.0011376565089449286,
-0.0007798451697453856,
-0.08125069737434387,
-0.05310286954045296,
0.004316672682762146,
0.04590994492173195,
-0.05324966460466385,
-0.0006880987202748656,
-0.0011680475436151028,
-0.024276122450828552,
-0.022863226011395454,
-0.03724907711148262,
-0.05365334823727608,
-0.006206650286912918,
-0.006376381032168865,
-0.0006267432472668588,
-0.008215898647904396,
0.020587913691997528,
-0.05192851647734642,
-0.05174502357840538,
-0.008284708485007286,
-0.0014564755838364363,
-0.08514074236154556,
0.019835591316223145,
-0.005270835943520069,
-0.07277331501245499,
0.07295680791139603,
-0.052038609981536865,
0.05174502357840538,
0.03055158257484436,
0.030533233657479286,
0.021321885287761688,
-0.0018658943008631468,
-0.015431759878993034,
-0.050937652587890625,
0.03361591324210167,
-0.0072296238504350185,
0.010991229675710201,
0.03238651156425476,
0.054607514292001724,
0.028661604970693588,
0.04018496349453926,
-0.008725091814994812,
0.054240524768829346,
0.040662046521902084,
-0.011523359455168247,
0.0027867997996509075,
0.009335205890238285,
-0.005780029110610485,
0.030753424391150475,
-0.03412969410419464,
-0.004339609295129776,
-0.00042002691770903766,
-0.025120189413428307,
0.08205806463956833,
-0.02880839817225933,
0.017074022442102432,
-0.03748761862516403,
0.002083792118355632,
0.07027781009674072,
-0.0844801738858223,
-0.033047087490558624,
-0.06869977712631226,
-0.030166245996952057,
0.0486256405711174,
-0.020661309361457825,
-0.023285260424017906,
-0.0014725312357768416,
0.018459394574165344,
0.026312893256545067,
-0.02697346918284893,
0.013294067233800888,
0.03693713620305061,
0.0005226682987995446,
-0.019523654133081436,
0.04253367334604263,
0.01137656532227993,
0.049836695194244385,
0.009394841268658638,
0.03701053559780121,
-0.03068002685904503,
0.0032547067385166883,
-0.014963853172957897,
0.01581709459424019,
0.005491027608513832,
-0.016395097598433495,
-0.020808104425668716,
0.052258800715208054,
0.057139717042446136,
0.08741606026887894,
-0.01775294542312622,
-0.016083160415291786,
0.006839700974524021,
0.023010021075606346,
-0.03618481755256653,
0.03214797005057335,
0.03886381536722183,
0.013679401949048042,
-0.0440383180975914,
-0.05581856518983841,
-0.02614775113761425,
-0.004949723370373249,
0.023560499772429466,
-0.02312011644244194,
0.01848691888153553,
-0.013670227490365505,
-0.007110353093594313,
0.02275313064455986,
-0.023505451157689095,
-0.017468532547354698,
-0.06106646731495857,
-0.01893647573888302,
0.018918126821517944,
-0.037450917065143585,
-0.06290139257907867,
-0.010027891956269741,
-0.009596683084964752,
-0.005945172626525164,
0.029505671933293343,
-0.002974879927933216,
0.006555286701768637,
0.041726306080818176,
-0.02012917958199978,
-0.00048195579438470304,
0.004387775901705027,
-0.0016330875223502517,
0.023872436955571175,
0.023358657956123352,
0.02352380007505417,
-0.027542296797037125,
-0.035671036690473557,
-0.007417703978717327,
-0.04935961216688156,
-0.017367610707879066,
-0.04165290668606758,
-0.012220633216202259,
0.02174391783773899,
0.00784432515501976,
-0.02220265194773674,
0.012596793472766876,
-0.024918347597122192,
-0.05776359140872955,
0.010257258079946041,
0.016477670520544052,
0.04748798534274101,
-0.04216668754816055,
-0.06370876729488373,
0.024202724918723106,
-0.05853426083922386,
-0.05079085752367973,
0.013440861366689205,
-0.010101288557052612,
0.04275386407971382,
0.0019530535209923983,
-0.056075457483530045,
-0.04660721868276596,
0.009963668882846832,
0.013743625022470951,
0.05508459359407425,
0.04847884550690651,
-0.011275644414126873,
-0.03618481755256653,
-0.041726306080818176,
-0.0018234614981338382,
-0.016477670520544052,
0.023450404405593872,
-0.0014243642799556255,
0.020055783912539482,
0.012321554124355316,
0.009252633899450302,
0.009908621199429035,
-0.0367719940841198,
-0.027230359613895416,
-0.0090783154591918,
0.044148411601781845,
-0.08359940350055695,
0.016275828704237938,
-0.003633161075413227,
-0.0023510039318352938,
0.052075307816267014,
0.04257037118077278,
0.03431318700313568,
0.016899703070521355,
0.008917759172618389,
0.03220301866531372,
-0.0650666132569313,
0.05614885315299034,
-0.005555250216275454,
0.03137730062007904,
0.016670336946845055,
-0.0587177537381649,
0.004234100691974163,
-0.011899519711732864,
-0.028239570558071136,
-0.05302947387099266,
0.03453338146209717,
-0.03550589084625244,
-0.011312342248857021,
-0.020147530362010002,
0.03886381536722183,
-0.05691952258348465,
-0.05416712909936905,
-0.04301075637340546,
0.013679401949048042,
-0.04675401374697685,
0.016321701928973198,
-0.07167235761880875,
-0.007734229322522879,
0.08359940350055695,
0.0918932855129242,
0.003818947821855545,
-0.03776285797357559,
-0.03989137336611748,
0.019615400582551956,
-0.052772581577301025,
0.060846272855997086,
-0.04069874435663223,
0.004451998509466648,
-0.010541671887040138,
-0.02165217138826847,
0.007761753164231777,
0.02587251178920269,
-0.010881134308874607,
0.05585526302456856,
-0.00040225102566182613,
-0.00960585754364729,
-0.03823993727564812,
0.019431907683610916,
-0.007903960533440113,
0.002605600282549858,
-0.05468090996146202,
-0.02816617302596569,
-0.030991965904831886,
-0.015064774081110954,
0.028294619172811508,
-0.022734781727194786,
0.02862490527331829,
0.05324966460466385,
0.023725643754005432,
0.0011485513532534242,
-0.07816801220178604,
0.0008853536564856768,
0.025377079844474792,
0.03354251757264137,
0.008926933631300926,
0.001358994864858687,
0.0037180266808718443,
0.04091893509030342,
0.012697714380919933,
-0.002559727057814598,
-0.0005553530063480139,
0.032459910959005356,
0.024734854698181152,
0.014780360274016857,
0.014642740599811077,
-0.003958861343562603,
-0.07875519245862961,
0.062130723148584366,
0.027175310999155045,
-0.0330287367105484,
-0.0007007138337939978,
0.05691952258348465,
0.03627656400203705,
0.03468017280101776,
-0.014147309586405754,
-0.02893684431910515,
-0.04568975418806076,
-0.06635106354951859,
0.002225999254733324,
-0.00016901423805393279,
0.026221146807074547,
-0.013083050027489662,
0.06022239848971367,
0.02724870853126049,
0.029652466997504234,
0.027230359613895416,
-0.032826896756887436,
-0.051891814917325974,
0.021487029269337654,
0.00347948563285172,
0.03647840395569801,
-0.03545084595680237,
0.01272523868829012,
0.014156484045088291,
0.021340234205126762,
0.030294692143797874,
0.002364765852689743,
0.006899336352944374,
-0.060662779957056046,
0.035249002277851105,
0.04033175855875015,
-0.026808325201272964,
0.045432861894369125,
0.0724797323346138,
-0.056992921978235245,
-0.0560387559235096,
0.013358289375901222,
-0.04734119027853012,
0.007059892639517784,
0.09974678605794907,
-0.05989211052656174,
-0.00043780278065241873,
-0.003665272379294038,
0.052405595779418945,
0.0033716836478561163,
-0.05178172141313553,
-0.0135509567335248,
0.0026010130532085896,
-0.05339645966887474,
-0.07442475855350494,
-0.02220265194773674,
0.025890860706567764,
0.03857022523880005,
0.017670374363660812,
0.04807516187429428,
0.06044258922338486,
-0.05592866241931915,
0.020899850875139236,
-0.016037287190556526,
-0.040808841586112976,
-0.008358105085790157,
0.010844435542821884,
0.041542813181877136,
-0.03403794765472412,
-0.015202393755316734,
-0.03857022523880005,
-0.008995743468403816,
-0.023597197607159615,
0.04124922305345535,
0.010715990327298641,
-0.02691842056810856,
0.0019335573306307197,
-0.006624097004532814,
-0.026863373816013336,
-0.012229807674884796,
-0.024808252230286598,
0.009670080617070198,
0.03453338146209717,
0.013211495243012905,
-0.006835113745182753,
-0.030845170840620995,
0.04557965695858002,
-0.040625348687171936,
0.023964183405041695,
-0.010110463947057724,
-0.0317259356379509,
0.08139748871326447,
0.027964331209659576,
0.009936145506799221,
0.06679144501686096,
0.03104701265692711,
0.0016881354385986924,
0.00978935044258833,
0.012514221481978893,
-0.009615032002329826,
0.010807736776769161,
-0.015899667516350746,
-0.004477228969335556,
-0.0072525604628026485,
0.03242320939898491,
0.030991965904831886,
-0.0477081760764122,
0.06745202094316483,
-0.00663785869255662,
0.02596425823867321,
-0.028826747089624405,
0.051378034055233,
0.006550699472427368,
0.030441485345363617,
-0.013578481040894985,
0.05581856518983841,
-0.032221369445323944,
-0.00974347721785307,
-0.07956255972385406,
-0.01504642516374588,
0.06000220775604248,
0.07640647888183594,
-0.003252413123846054,
-0.003860233584418893,
-0.05427722632884979,
0.0023211862426251173,
0.06106646731495857,
0.02550552412867546,
-0.0068259392865002155,
0.03196447715163231,
0.03730412572622299,
0.009087489917874336,
-0.03192777931690216,
0.04590994492173195,
0.050203680992126465,
-0.0013303240993991494,
-0.07992954552173615,
-0.020716357976198196,
-0.056956224143505096,
-0.04880913347005844,
0.07093838602304459,
0.026936769485473633,
-0.07020441442728043,
-0.06040589138865471,
-0.05372674763202667,
-0.0022741660941392183,
0.033872805535793304,
0.06547030061483383,
-0.06356196850538254,
-0.023413704708218575,
0.011349041014909744,
0.04352453723549843,
0.06847958266735077,
-0.03890051320195198,
0.013771148398518562,
-0.040478553622961044,
0.023450404405593872,
-0.09130611270666122,
-0.010394877754151821,
-0.01318397093564272,
-0.002203062642365694,
-0.0606260821223259,
-0.0769936591386795,
0.05574516952037811,
-0.08514074236154556,
-0.012119711376726627,
0.0660574734210968,
0.029377227649092674,
-0.03996477276086807,
-0.002488623606041074,
-0.016624463722109795,
-0.0009025561157613993,
0.00809662789106369,
0.0678190067410469,
-0.03545084595680237,
-0.01683548092842102,
-0.04069874435663223,
0.0018257552292197943,
0.05548827722668648,
0.03959778696298599,
0.05108444765210152,
0.0015619840705767274,
-0.05471760779619217,
0.0004165864083915949,
-0.031762637197971344,
0.02935887686908245,
-0.021340234205126762,
0.013927117921411991,
-0.01229402981698513,
-0.0625344067811966,
-0.01114719919860363,
-0.08235165476799011,
-0.023817390203475952,
-0.019101619720458984,
0.00005701901318388991,
0.002142280573025346,
0.02651473693549633,
-0.0014725312357768416,
0.0431942492723465,
0.004179052542895079,
-0.0688098669052124,
0.03776285797357559,
0.033469121903181076,
-0.05446071922779083,
0.0002421247336314991,
0.021523727104067802,
-0.01917501725256443,
0.03915740177035332,
-0.04356123507022858,
-0.05416712909936905,
0.01391794253140688,
0.029468974098563194,
-0.027175310999155045,
0.0032225956674665213,
-0.020331023260951042,
-0.0006462393794208765,
-0.029010241851210594,
0.04224008694291115,
-0.0028189111035317183,
-0.036808691918849945,
0.03890051320195198,
0.013761973939836025,
0.05013028532266617,
0.029872657731175423,
-0.06649785488843918,
0.017624501138925552,
0.026129400357604027,
-0.03275349736213684,
-0.05574516952037811,
0.00638555595651269,
0.03849682956933975,
0.012092188000679016,
0.0596352219581604,
0.0017007505521178246,
0.020349372178316116,
0.00032914054463617504,
0.0724797323346138,
0.025395428761839867,
-0.000997169641777873,
-0.010128812864422798,
0.0542038269340992,
-0.024661457166075706,
0.004614848643541336,
0.005633234512060881,
-0.023817390203475952,
0.003006991231814027,
0.028863446786999702,
-0.056405745446681976,
0.019927337765693665,
-0.022459540516138077,
0.049799997359514236,
0.005344233009964228,
0.05985541269183159,
-0.0004369426751509309,
-0.0016674925573170185,
0.04179970175027847,
-0.015762047842144966,
0.05559837445616722,
0.017908915877342224,
-0.03923080116510391,
0.01197291724383831,
0.021450329571962357,
0.0038579399697482586,
0.004688245709985495,
0.012055489234626293,
0.0032592942006886005,
0.004688245709985495,
0.013257368467748165,
0.03748761862516403,
0.054607514292001724,
0.03915740177035332,
-0.010697641409933567,
-0.03923080116510391,
0.0458732470870018,
0.020294323563575745,
-0.06447943300008774,
-0.0034771920181810856,
-0.020899850875139236,
-0.04840544983744621,
0.003757018828764558,
0.031487397849559784,
0.017083197832107544,
-0.04844214767217636,
0.026257846504449844,
-0.011459137313067913,
-0.033781059086322784,
0.04069874435663223,
0.013349114917218685,
-0.005215788260102272,
-0.030074499547481537,
-0.030973615124821663,
-0.008252597413957119,
0.010927007533609867,
0.0440383180975914,
-0.045983340591192245,
-0.06202062964439392,
0.019780544564127922,
-0.05104774981737137,
0.006573636084794998,
-0.004316672682762146,
0.06462623178958893,
-0.016532717272639275,
-0.01609233394265175,
0.029413925483822823,
0.026037653908133507,
0.002211090410128236,
0.02844141237437725,
-0.009596683084964752,
0.06679144501686096,
0.030533233657479286,
-0.010339830070734024,
-0.023046718910336494,
0.04400161653757095,
0.008009469136595726,
0.023193513974547386,
0.02370729297399521,
-0.002919832244515419,
-0.01613820716738701,
-0.05031377822160721,
0.02798268012702465,
-0.03315718099474907,
-0.02834966592490673,
0.02994605526328087,
-0.01834012381732464,
0.002984054619446397,
0.021083343774080276,
-0.0321112722158432,
0.015523506328463554,
0.03330397605895996,
-0.022165952250361443,
-0.05912144109606743,
0.014771184884011745,
-0.03816654160618782,
0.08117729425430298,
-0.03315718099474907,
-0.018459394574165344,
0.038827117532491684,
-0.023321958258748055,
0.0025092666037380695,
-0.004087306093424559,
-0.04484568536281586,
0.022000808268785477,
-0.032459910959005356,
0.015174869447946548,
-0.02825791947543621,
-0.050937652587890625,
0.04025835916399956,
0.038827117532491684,
0.024899998679757118,
-0.04106573015451431,
-0.023230211809277534,
0.049799997359514236,
-0.03187273070216179,
0.010504973120987415,
-0.030845170840620995,
-0.07809461653232574,
-0.025211935862898827,
-0.004995596595108509,
0.008959044702351093,
-0.030790122225880623,
-0.001832636189647019,
0.04161620885133743,
0.016229955479502678,
0.002042506355792284,
0.00021302388631738722,
-0.015881318598985672,
0.029285481199622154,
0.03508386015892029
] |
18,431 | asynch.pool | create_pool | null | def create_pool(minsize: int = 1, maxsize: int = 10, loop=None, **kwargs):
coro = _create_pool(minsize=minsize, maxsize=maxsize, loop=loop, **kwargs)
return _PoolContextManager(coro)
| (minsize: int = 1, maxsize: int = 10, loop=None, **kwargs) | [
0.008484415709972382,
-0.058975402265787125,
-0.020998816937208176,
-0.041926149278879166,
-0.04517873376607895,
0.08971409499645233,
-0.05318509042263031,
-0.03824465349316597,
-0.0289336908608675,
-0.07770456373691559,
-0.00872567854821682,
0.0378514863550663,
-0.04768072068691254,
0.014529394917190075,
-0.00341565883718431,
-0.0053792716935276985,
0.0012789173051714897,
-0.10036541521549225,
0.016182493418455124,
0.0020228116773068905,
0.03456316143274307,
0.10672760754823685,
0.05161241441965103,
-0.03256157040596008,
0.003770851530134678,
0.03052423894405365,
-0.05222003906965256,
0.04199763387441635,
0.018219824880361557,
-0.003279389813542366,
0.014270259998738766,
0.056294701993465424,
-0.02065926231443882,
0.06158461794257164,
0.05382845923304558,
0.00007337020360864699,
0.03677920624613762,
0.1250278502702713,
-0.07012711465358734,
-0.006974288262426853,
-0.007961679250001907,
-0.06662433594465256,
-0.03309771046042442,
0.02637808956205845,
0.004546020645648241,
-0.004919084720313549,
0.020891590043902397,
-0.014618751592934132,
0.04675140976905823,
-0.014448973350226879,
0.019676338881254196,
-0.030881665647029877,
-0.03452741727232933,
0.029255373403429985,
-0.020569905638694763,
0.04403496906161308,
-0.057259753346443176,
0.023661646991968155,
-0.0008488883613608778,
0.0004621415282599628,
-0.04342734068632126,
-0.0044008162803947926,
0.028612006455659866,
-0.03295474126935005,
-0.052184294909238815,
-0.04796666279435158,
-0.07144959270954132,
0.031918201595544815,
0.0015246481634676456,
-0.05768866837024689,
0.039924561977386475,
-0.010079432278871536,
0.022106841206550598,
0.024162044748663902,
-0.0029577058739960194,
0.01985505223274231,
0.02468031272292137,
-0.04424942284822464,
-0.006996627431362867,
-0.018166210502386093,
-0.05121924355626106,
-0.024573083966970444,
0.00044064008397981524,
-0.008569304831326008,
0.046572696417570114,
-0.050182707607746124,
0.009730941615998745,
0.029934484511613846,
-0.006304113194346428,
-0.04410645365715027,
0.0013883792562410235,
0.0647299736738205,
-0.0014900225214660168,
0.05093330144882202,
-0.00479845330119133,
-0.032329242676496506,
-0.012143571861088276,
0.07087770849466324,
-0.0035519276279956102,
0.032990481704473495,
-0.05643767490983009,
-0.04718032106757164,
-0.023822488263249397,
-0.031399935483932495,
-0.008287831209599972,
-0.02412630058825016,
0.026735516265034676,
0.010088368318974972,
-0.05504370853304863,
-0.010892578400671482,
-0.041247040033340454,
0.029505573213100433,
0.026092147454619408,
0.021374115720391273,
-0.05104053020477295,
0.00852909404784441,
-0.025234322994947433,
0.0021758349612355232,
-0.01286736037582159,
-0.04332011565566063,
-0.10100878030061722,
-0.011124905198812485,
0.012152506969869137,
0.023679517209529877,
-0.00752829946577549,
0.07498811930418015,
0.006071785930544138,
-0.010168788954615593,
-0.035403113812208176,
-0.011446589604020119,
0.010972999036312103,
0.017370937392115593,
0.031793102622032166,
0.022178325802087784,
-0.01586974412202835,
-0.007318311370909214,
-0.09157271683216095,
0.032883256673812866,
0.019426140934228897,
-0.008126989006996155,
0.02346506156027317,
0.024984125047922134,
-0.05397142842411995,
0.030399139970541,
-0.04507150501012802,
-0.03227562829852104,
0.014922563917934895,
-0.026342347264289856,
0.02773630991578102,
0.004941423889249563,
-0.004610804375261068,
0.014868950471282005,
0.05450756847858429,
0.03506355732679367,
-0.020283963531255722,
0.026556802913546562,
0.015682095661759377,
-0.004686757456511259,
0.01947975344955921,
-0.03588563948869705,
-0.027235914021730423,
0.0781334713101387,
0.002262957626953721,
-0.05347103253006935,
-0.04625101387500763,
-0.060869764536619186,
0.07927723973989487,
-0.06212075799703598,
0.012626097537577152,
0.02201748453080654,
0.01694202423095703,
-0.0330798402428627,
0.03207904472947121,
0.012697583064436913,
0.013305208645761013,
-0.020587777718901634,
0.02678913064301014,
-0.03622519597411156,
-0.015771452337503433,
0.015941230580210686,
-0.0077516911551356316,
-0.0010270432103425264,
0.0319896899163723,
-0.010347502306103706,
0.0023031681776046753,
-0.016995638608932495,
0.047394778579473495,
0.020748618990182877,
0.024036943912506104,
-0.004713564179837704,
-0.054579053074121475,
0.005875200964510441,
0.015691030770540237,
-0.02770056761801243,
0.009695198386907578,
-0.0052184294909238815,
-0.019765695556998253,
-0.011366168968379498,
-0.044714078307151794,
0.03597499430179596,
-0.01212570071220398,
0.08649725466966629,
0.04171169549226761,
-0.04049644246697426,
0.06912632286548615,
-0.026610417291522026,
-0.05747421085834503,
0.005522242281585932,
-0.004487938713282347,
0.006429212633520365,
-0.023018278181552887,
0.0030716354958713055,
0.015065534971654415,
0.10365373641252518,
0.04560764506459236,
0.07341544330120087,
0.015449768863618374,
-0.008658661507070065,
0.005021844990551472,
-0.010731736198067665,
0.0020183438900858164,
-0.03252582997083664,
-0.018818514421582222,
-0.007671270053833723,
-0.006974288262426853,
0.010624508373439312,
-0.02107030339539051,
-0.0080599719658494,
0.052970632910728455,
-0.005848394241183996,
0.036993660032749176,
-0.015315733850002289,
0.04414219409227371,
0.009632648900151253,
-0.033383652567863464,
-0.027021456509828568,
0.009203736670315266,
-0.00887311715632677,
-0.03570692613720894,
0.024859026074409485,
-0.0025421972386538982,
0.011080226860940456,
0.048717256635427475,
-0.024233529344201088,
-0.013832412660121918,
0.060190655291080475,
-0.008591643534600735,
-0.007085984107106924,
0.05132647231221199,
0.051397956907749176,
-0.009203736670315266,
-0.0181304682046175,
-0.04303417354822159,
-0.029666414484381676,
-0.022160453721880913,
0.00029236386762931943,
-0.03597499430179596,
-0.03910247981548309,
-0.02864774875342846,
-0.030363397672772408,
-0.022303424775600433,
0.04224783554673195,
-0.038852281868457794,
0.06833998113870621,
0.0021624313667416573,
0.029398344457149506,
-0.017665814608335495,
-0.02973790094256401,
-0.04682289436459541,
0.0027052732184529305,
0.06948374956846237,
0.06619542092084885,
0.07194998860359192,
0.0025734722148627043,
0.008412930183112621,
-0.017898140475153923,
-0.03559969738125801,
0.025931306183338165,
-0.06144164875149727,
-0.04703735187649727,
0.00898928102105856,
0.03636816516518593,
-0.0052184294909238815,
-0.042569518089294434,
0.009856040589511395,
0.021660057827830315,
-0.006134335417300463,
0.001198496320284903,
0.019247427582740784,
-0.010642379522323608,
-0.0834948718547821,
0.009677327238023281,
-0.03624306619167328,
-0.0049995058216154575,
0.009999011643230915,
0.00972200557589531,
0.015834001824259758,
-0.005048651713877916,
-0.024823283776640892,
-0.000438964634668082,
-0.003366512479260564,
-0.06308580935001373,
-0.006643668282777071,
0.04196189343929291,
-0.011777209118008614,
-0.05465054139494896,
0.0576171800494194,
-0.03415212035179138,
-0.060047682374715805,
-0.009838169440627098,
-0.01486001443117857,
0.04160446673631668,
0.02827244997024536,
-0.012849489226937294,
-0.031221220269799232,
0.045500416308641434,
0.023697389289736748,
0.0011929115280508995,
-0.01919381320476532,
0.006661539897322655,
-0.059761740267276764,
-0.012849489226937294,
-0.020766491070389748,
-0.04968230798840523,
0.013957511633634567,
0.05826054885983467,
-0.006545376032590866,
0.019551239907741547,
-0.013171173632144928,
0.03745831549167633,
-0.023375704884529114,
0.039531391113996506,
-0.0015592739218845963,
-0.0006221458315849304,
-0.0188006442040205,
0.056330446153879166,
0.06430105865001678,
0.028415421023964882,
-0.012947781942784786,
-0.08320893347263336,
0.036439649760723114,
0.02453734166920185,
-0.023375704884529114,
0.0020931800827383995,
-0.0583677776157856,
-0.02507348172366619,
0.04557190090417862,
-0.049646567553281784,
-0.004103705286979675,
-0.09586183726787567,
0.004950359463691711,
0.033651720732450485,
-0.007081516087055206,
0.014046868309378624,
0.014600880444049835,
0.010293888859450817,
0.011964858509600163,
0.03266879916191101,
0.012089957483112812,
-0.034741874784231186,
-0.08778399229049683,
-0.02905878983438015,
0.046858638525009155,
0.010972999036312103,
0.001628525322303176,
0.0009371280902996659,
0.040996842086315155,
-0.018729157745838165,
-0.0344201885163784,
0.002673998475074768,
-0.03256157040596008,
-0.016620341688394547,
-0.006782171316444874,
0.02691422961652279,
-0.05100478604435921,
-0.02039119228720665,
-0.09750600159168243,
-0.03999604657292366,
-0.006817914079874754,
0.10865771025419235,
0.018979357555508614,
-0.014708108268678188,
0.08442418277263641,
-0.03495632857084274,
-0.035903509706258774,
-0.06115570664405823,
-0.012652904726564884,
0.032740283757448196,
0.03013106994330883,
0.02387610264122486,
0.023250605911016464,
-0.05440033972263336,
0.012384834699332714,
0.04517873376607895,
0.004009880591183901,
-0.06419382989406586,
0.03450954705476761,
0.048467058688402176,
-0.019658466801047325,
0.01100874226540327,
0.00583499064669013,
0.03079230897128582,
0.03999604657292366,
-0.033383652567863464,
-0.021374115720391273,
-0.0402819886803627,
0.04961082339286804,
0.01878277212381363,
0.025395166128873825,
0.04239080473780632,
-0.016084201633930206,
0.0034849101211875677,
-0.006420276593416929,
-0.001096294610761106,
-0.05557984858751297,
-0.032186273485422134,
-0.04171169549226761,
0.010347502306103706,
0.022750208154320717,
-0.011178519576787949,
0.08606834709644318,
0.030613595619797707,
0.0071664052084088326,
-0.03881653770804405,
-0.02703932859003544,
0.005075458902865648,
0.03770851343870163,
-0.004740371368825436,
0.0026226183399558067,
-0.018693415448069572,
-0.008966942317783833,
0.03175736218690872,
0.02174941450357437,
0.007126194424927235,
0.03490271419286728,
-0.014761721715331078,
-0.0178355909883976,
0.02532367967069149,
0.0131264952942729,
0.0008433035691268742,
0.03996030241250992,
-0.040031787008047104,
0.03381256386637688,
0.021803027018904686,
0.04342734068632126,
-0.004753774963319302,
-0.008663129061460495,
-0.05754569545388222,
-0.013796670362353325,
-0.001325829653069377,
0.014020062051713467,
0.0003454193938523531,
0.057652924209833145,
0.03974584862589836,
0.009167994372546673,
0.008305702358484268,
-0.01425238884985447,
-0.005700955633074045,
-0.036439649760723114,
-0.013287336565554142,
0.0034491675905883312,
-0.0588681735098362,
0.05014696344733238,
0.03543885424733162,
-0.05343528836965561,
-0.03960287570953369,
-0.005213961936533451,
0.05050439015030861,
0.015923358500003815,
-0.005544581450521946,
-0.029791513457894325,
0.029005175456404686,
-0.004429856780916452,
-0.03509930148720741,
0.01200953684747219,
0.002653893083333969,
-0.028075866401195526,
0.014288132078945637,
0.0903574675321579,
-0.016629276797175407,
0.023357834666967392,
0.0186755433678627,
0.09400321543216705,
0.014609815552830696,
-0.09500401467084885,
0.01774623431265354,
0.06480145454406738,
0.0027990976814180613,
-0.042319320142269135,
0.040853869169950485,
0.010767478495836258,
0.00633538793772459,
-0.025109224021434784,
0.04503576084971428,
0.01745135709643364,
0.010785350576043129,
0.005714359227567911,
-0.02212471142411232,
0.03023829683661461,
-0.00867206510156393,
0.005021844990551472,
0.023536548018455505,
0.02359016053378582,
-0.03652900829911232,
0.055115193128585815,
0.01679905503988266,
-0.042712487280368805,
0.004749306943267584,
-0.04106832668185234,
0.009355643764138222,
0.011312554590404034,
-0.03211478888988495,
-0.020730746909976006,
-0.011491267941892147,
0.007952744141221046,
0.06744641810655594,
0.04807388782501221,
0.015619546175003052,
0.0010627858573570848,
-0.04167595133185387,
0.058975402265787125,
0.07999209314584732,
-0.026717644184827805,
-0.0003233594470657408,
-0.00991859007626772,
-0.03141780570149422,
0.05375697463750839,
-0.019926536828279495,
0.03545672819018364,
0.0937887653708458,
0.05547261983156204,
0.0002448931336402893,
-0.032990481704473495,
0.020176736637949944,
-0.0009600257617421448,
-0.01663821190595627,
-0.06279987096786499,
-0.029630672186613083,
0.050182707607746124,
-0.024162044748663902,
-0.05611598864197731,
0.056330446153879166,
0.05879668891429901,
0.018890000879764557,
-0.05522242188453674,
0.03381256386637688,
0.05050439015030861,
0.04088961333036423,
-0.031650133430957794,
-0.021660057827830315,
0.09114380180835724,
-0.0024617763701826334,
-0.03477761521935463,
-0.0015827299794182181,
-0.008269960060715675,
-0.08213665336370468,
0.04653695598244667,
-0.0355103425681591,
-0.022607237100601196,
0.022857436910271645,
0.015619546175003052,
0.034330833703279495,
-0.03131057694554329,
0.034205734729766846,
-0.021785156801342964,
0.03363385051488876,
-0.03599286824464798,
0.06876889616250992,
0.010034753940999508,
0.019676338881254196,
0.014770657755434513,
-0.012116764672100544,
0.005857329815626144,
-0.020212478935718536,
-0.00972200557589531,
-0.007153001613914967,
0.0004716356925200671,
0.017799848690629005,
-0.009047362953424454,
0.023822488263249397,
-0.03635029494762421,
-0.0002644399064593017,
-0.0335802361369133,
-0.06719622015953064,
-0.012688647024333477,
0.07577445358037949,
-0.06262115389108658,
0.006607925985008478,
0.035385243594646454,
0.06251392513513565,
0.000850563810672611,
0.055544108152389526,
-0.009641584940254688,
-0.03399127721786499,
-0.017022445797920227,
0.002274127211421728,
-0.0610484778881073,
-0.03159651905298233,
-0.010892578400671482,
0.040710899978876114,
-0.06626690924167633,
0.06251392513513565,
-0.06623116135597229,
0.03495632857084274,
-0.017254773527383804,
-0.04306991398334503,
-0.014011126011610031,
-0.05815332010388374,
-0.013698377646505833,
-0.01313543040305376,
0.000593663367908448,
0.0025533668231219053,
0.00014799697964917868,
0.008622919209301472,
-0.04918191209435463,
-0.004074664320796728,
-0.057938866317272186,
0.039924561977386475,
0.04625101387500763,
-0.06544482707977295,
-0.007416603621095419,
-0.030095327645540237,
0.012635033577680588,
-0.015342540107667446,
0.010964063927531242,
-0.0067240893840789795,
0.0306493379175663,
0.00276558892801404,
-0.05865371972322464,
0.006147739011794329,
-0.027235914021730423,
-0.004597400780767202,
0.018461087718605995,
-0.01305500976741314,
0.07498811930418015,
-0.000918698264285922,
0.03107825107872486,
0.06558779627084732,
0.0008125872118398547,
-0.036314550787210464,
-0.02600279077887535,
-0.04707309603691101,
0.0019267532043159008,
-0.05415014177560806,
0.02371526136994362,
-0.016459498554468155,
0.041247040033340454,
0.004423155449330807,
0.04149723798036575,
0.01827343925833702,
0.00979349110275507,
-0.0011739232577383518,
-0.005191622767597437,
-0.010892578400671482,
-0.0229467935860157,
-0.010821092873811722,
-0.0490746833384037,
-0.016575662419199944,
0.003623412922024727,
-0.038065940141677856,
-0.023143377155065536,
0.023929717019200325,
0.026753386482596397,
0.026038533076643944,
-0.04464259371161461,
-0.021945998072624207,
-0.03368746489286423,
-0.036850690841674805,
-0.004905681125819683,
0.06805404275655746,
0.014448973350226879,
0.009686263278126717,
-0.03399127721786499,
0.034044891595840454,
-0.000041571795009076595,
-0.0026069809682667255,
-0.06279987096786499,
-0.015315733850002289,
-0.0068983351811766624,
0.04242654889822006,
0.04571487382054329,
-0.0015860808780416846,
-0.04024624451994896,
0.012277606874704361,
0.02117753028869629,
0.005459692794829607,
-0.05647341534495354,
-0.03781574219465256,
0.025019867345690727,
0.05411440134048462,
0.002667296677827835,
0.07527405768632889,
0.020748618990182877,
-0.027146557345986366,
-0.10665611922740936,
0.0205162912607193,
-0.019694210961461067,
-0.04810963198542595,
0.010892578400671482,
-0.015610610134899616,
-0.000816496554762125,
-0.02770056761801243,
-0.02759334072470665,
-0.015834001824259758,
0.014243453741073608,
0.016236107796430588,
-0.02678913064301014,
0.02359016053378582,
0.032454341650009155,
0.06430105865001678,
0.020015893504023552,
0.00852909404784441,
0.06401512026786804,
0.04306991398334503,
0.005790312308818102,
0.03309771046042442,
-0.019140198826789856,
0.05625896155834198,
-0.0277184396982193,
-0.028040124103426933,
-0.030953150242567062,
0.04442813619971275,
-0.019658466801047325,
-0.04457110911607742,
-0.000623262778390199,
-0.0068715279921889305,
0.037243861705064774,
-0.030291911214590073,
0.0033575769048184156,
0.03917396441102028,
0.00726022943854332,
0.0035630972124636173,
-0.06036936864256859,
-0.025413036346435547,
0.005120137240737677,
-0.0291838888078928,
0.03156077489256859,
-0.014806400053203106,
-0.039638619869947433,
-0.02360803261399269,
0.01810366101562977,
-0.05100478604435921,
0.009838169440627098,
0.0188006442040205,
0.019890794530510902,
-0.04035347327589989,
0.05322083458304405,
-0.003942863084375858,
-0.02703932859003544,
0.014806400053203106,
0.0381016843020916,
0.03627880662679672,
0.029880870133638382,
0.05733124166727066,
-0.016897346824407578,
-0.06916206330060959,
0.03956713527441025,
-0.056830842047929764,
-0.02144560031592846,
-0.017630070447921753,
-0.0032481150701642036,
-0.02705720067024231,
0.013376693241298199,
-0.009100977331399918,
-0.02226768247783184,
-0.01853257417678833,
0.043641798198223114,
-0.012366963550448418
] |
18,436 | miarec_s3fs.s3fs | S3FS |
Construct an Amazon S3 filesystem for
`PyFilesystem <https://pyfilesystem.org>`_
:param str bucket_name: The S3 bucket name.
:param str dir_path: The root directory within the S3 Bucket.
Defaults to ``"/"``
:param str aws_access_key_id: The access key, or ``None`` to read
the key from standard configuration files.
:param str aws_secret_access_key: The secret key, or ``None`` to
read the key from standard configuration files.
:param str endpoint_url: Alternative endpoint url (``None`` to use
default).
:param str aws_session_token:
:param str region: Optional S3 region.
:param str delimiter: The delimiter to separate folders, defaults to
a forward slash.
:param bool strict: When ``True`` (default) S3FS will follow the
PyFilesystem specification exactly. Set to ``False`` to disable
validation of destination paths which may speed up uploads /
downloads.
:param str cache_control: Sets the 'Cache-Control' header for uploads.
:param str acl: Sets the Access Control List header for uploads.
:param dict upload_args: A dictionary for additional upload arguments.
See https://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Object.put
for details.
:param dict download_args: Dictionary of extra arguments passed to
the S3 client.
:param dict config_args: Advanced S3 client configuration options.
See https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
| class S3FS(FS):
"""
Construct an Amazon S3 filesystem for
`PyFilesystem <https://pyfilesystem.org>`_
:param str bucket_name: The S3 bucket name.
:param str dir_path: The root directory within the S3 Bucket.
Defaults to ``"/"``
:param str aws_access_key_id: The access key, or ``None`` to read
the key from standard configuration files.
:param str aws_secret_access_key: The secret key, or ``None`` to
read the key from standard configuration files.
:param str endpoint_url: Alternative endpoint url (``None`` to use
default).
:param str aws_session_token:
:param str region: Optional S3 region.
:param str delimiter: The delimiter to separate folders, defaults to
a forward slash.
:param bool strict: When ``True`` (default) S3FS will follow the
PyFilesystem specification exactly. Set to ``False`` to disable
validation of destination paths which may speed up uploads /
downloads.
:param str cache_control: Sets the 'Cache-Control' header for uploads.
:param str acl: Sets the Access Control List header for uploads.
:param dict upload_args: A dictionary for additional upload arguments.
See https://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Object.put
for details.
:param dict download_args: Dictionary of extra arguments passed to
the S3 client.
:param dict config_args: Advanced S3 client configuration options.
See https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
"""
_meta = {
"case_insensitive": False,
"invalid_path_chars": "\0",
"network": True,
"read_only": False,
"thread_safe": True,
"unicode_paths": True,
"virtual": False,
}
_object_attributes = [
"accept_ranges",
"cache_control",
"content_disposition",
"content_encoding",
"content_language",
"content_length",
"content_type",
"delete_marker",
"e_tag",
"expiration",
"expires",
"last_modified",
"metadata",
"missing_meta",
"parts_count",
"replication_status",
"request_charged",
"restore",
"server_side_encryption",
"sse_customer_algorithm",
"sse_customer_key_md5",
"ssekms_key_id",
"storage_class",
"version_id",
"website_redirect_location",
]
def __init__(
self,
bucket_name,
dir_path="/",
aws_access_key_id=None,
aws_secret_access_key=None,
aws_session_token=None,
endpoint_url=None,
region=None,
delimiter="/",
strict=True,
cache_control=None,
acl=None,
upload_args=None,
download_args=None,
config_args=None,
):
_creds = (aws_access_key_id, aws_secret_access_key)
if any(_creds) and not all(_creds):
raise ValueError(
"aws_access_key_id and aws_secret_access_key "
"must be set together if specified"
)
self._bucket_name = bucket_name
self.dir_path = dir_path
self._prefix = relpath(normpath(dir_path)).rstrip("/")
self.aws_access_key_id = aws_access_key_id
self.aws_secret_access_key = aws_secret_access_key
self.aws_session_token = aws_session_token
self.endpoint_url = endpoint_url
self.region = region
self.delimiter = delimiter
self.strict = strict
self._tlocal = threading.local()
if cache_control or acl:
upload_args = upload_args or {}
if cache_control:
upload_args["CacheControl"] = cache_control
if acl:
upload_args["ACL"] = acl
self.upload_args = upload_args
self.download_args = download_args
self.config_args = config_args
super(S3FS, self).__init__()
def __repr__(self):
return _make_repr(
self.__class__.__name__,
self._bucket_name,
dir_path=(self.dir_path, "/"),
region=(self.region, None),
delimiter=(self.delimiter, "/"),
)
def __str__(self):
return "<s3fs '{}'>".format(join(self._bucket_name, relpath(self.dir_path)))
def _path_to_key(self, path):
"""Converts an fs path to a s3 key."""
_path = relpath(normpath(path))
_key = (
"{}/{}".format(self._prefix, _path).lstrip("/").replace("/", self.delimiter)
)
return _key
def _path_to_dir_key(self, path):
"""Converts an fs path to a s3 key."""
_path = relpath(normpath(path))
_key = (
forcedir("{}/{}".format(self._prefix, _path))
.lstrip("/")
.replace("/", self.delimiter)
)
return _key
def _key_to_path(self, key):
return key.replace(self.delimiter, "/")
def _get_object(self, path, key):
_key = key.rstrip(self.delimiter)
try:
with s3errors(path):
obj = self.s3.Object(self._bucket_name, _key)
obj.load()
except errors.ResourceNotFound:
with s3errors(path):
obj = self.s3.Object(self._bucket_name, _key + self.delimiter)
obj.load()
return obj
else:
return obj
def _get_upload_args(self, key):
upload_args = self.upload_args.copy() if self.upload_args else {}
if "ContentType" not in upload_args:
mime_type, _encoding = mimetypes.guess_type(key)
upload_args["ContentType"] = mime_type or "binary/octet-stream"
return upload_args
@property
def s3_session(self):
if not hasattr(self._tlocal, 's3_session'):
self._tlocal.s3_session = boto3.Session()
return self._tlocal.s3_session
@property
def s3(self):
config = Config(**self.config_args) if self.config_args else None
if not hasattr(self._tlocal, "s3"):
self._tlocal.s3 = self.s3_session.resource(
"s3",
region_name=self.region,
aws_access_key_id=self.aws_access_key_id,
aws_secret_access_key=self.aws_secret_access_key,
aws_session_token=self.aws_session_token,
endpoint_url=self.endpoint_url,
config=config,
)
return self._tlocal.s3
@property
def client(self):
if not hasattr(self._tlocal, "client"):
config = Config(**self.config_args) if self.config_args else None
self._tlocal.client = self.s3_session.client(
"s3",
region_name=self.region,
aws_access_key_id=self.aws_access_key_id,
aws_secret_access_key=self.aws_secret_access_key,
aws_session_token=self.aws_session_token,
endpoint_url=self.endpoint_url,
config=config,
)
return self._tlocal.client
def _info_from_object(self, obj, namespaces):
"""Make an info dict from an s3 Object."""
key = obj.key
path = self._key_to_path(key)
name = basename(path.rstrip("/"))
is_dir = key.endswith(self.delimiter)
info = {"basic": {"name": name, "is_dir": is_dir}}
if "details" in namespaces:
_type = int(ResourceType.directory if is_dir else ResourceType.file)
info["details"] = {
"accessed": None,
"modified": datetime_to_epoch(obj.last_modified),
"size": obj.content_length,
"type": _type,
}
if "s3" in namespaces:
s3info = info["s3"] = {}
for name in self._object_attributes:
value = getattr(obj, name, None)
if isinstance(value, datetime):
value = datetime_to_epoch(value)
s3info[name] = value
if "urls" in namespaces:
url = self.client.generate_p | (bucket_name, dir_path='/', aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, endpoint_url=None, region=None, delimiter='/', strict=True, cache_control=None, acl=None, upload_args=None, download_args=None, config_args=None) | [
0.003403653856366873,
-0.038500864058732986,
-0.09397250413894653,
0.0020092111080884933,
0.036136776208877563,
-0.012126506306231022,
-0.022712133824825287,
0.05787794664502144,
-0.009160841815173626,
-0.003807343076914549,
0.0031002273317426443,
0.01877550408244133,
-0.0024564354680478573,
0.010807260870933533,
-0.0065803974866867065,
0.0856981948018074,
0.009224165230989456,
-0.0038495587650686502,
0.03364603966474533,
0.03147192299365997,
-0.003815258387476206,
0.016495848074555397,
0.037783194333314896,
-0.01659083366394043,
0.030627606436610222,
-0.0045012664049863815,
0.02562502771615982,
0.009941834956407547,
0.03558797016739845,
-0.03206294775009155,
-0.011239972896873951,
0.011609361506998539,
0.004635829012840986,
0.06577230989933014,
0.02881232462823391,
-0.0627327710390091,
0.015862610191106796,
-0.013466859236359596,
-0.034047093242406845,
0.007039494812488556,
-0.04293353110551834,
0.021287348121404648,
0.0005933307111263275,
-0.06302828341722488,
0.0641258955001831,
0.08202541619539261,
-0.005377245135605335,
0.03170411288738251,
-0.006110745947808027,
0.002526355441659689,
0.041814811527729034,
0.046141937375068665,
-0.0012163445353507996,
-0.011113325133919716,
-0.002270421711727977,
0.022416621446609497,
0.023366479203104973,
-0.01470167376101017,
-0.07269570976495743,
0.02965664304792881,
0.033413853496313095,
0.04318682476878166,
0.046901822090148926,
-0.0014458931982517242,
-0.06129743158817291,
-0.04791500046849251,
-0.03478587046265602,
-0.029804397374391556,
-0.05095454305410385,
0.03746657818555832,
-0.01209484413266182,
-0.026722639799118042,
0.012854729779064655,
-0.01998921111226082,
-0.009688540361821651,
0.011514375917613506,
0.0004881208878941834,
-0.04141375795006752,
0.007361390627920628,
-0.007841596379876137,
-0.04322904348373413,
-0.05082789808511734,
-0.021614521741867065,
-0.03991509601473808,
0.04042168706655502,
0.04892818257212639,
0.04004174470901489,
-0.013941788114607334,
-0.027355877682566643,
0.07269570976495743,
-0.05023687332868576,
0.07598855346441269,
-0.0181106049567461,
0.011556591838598251,
0.007303344085812569,
-0.04004174470901489,
-0.040295038372278214,
-0.11060555279254913,
-0.03221070021390915,
0.0031002273317426443,
-0.024844033643603325,
-0.024632954970002174,
0.006464303936809301,
-0.009957666508853436,
0.01574651710689068,
-0.06813640147447586,
-0.03541910648345947,
-0.02053801715373993,
0.01287583727389574,
-0.02142454870045185,
0.008580373600125313,
0.0011754478327929974,
0.011208310723304749,
0.06893850117921829,
0.01109221763908863,
-0.05040573701262474,
0.01826891303062439,
-0.002973579801619053,
-0.006696491036564112,
-0.07835263758897781,
0.034004874527454376,
-0.0069075701758265495,
-0.012042074464261532,
0.018764950335025787,
0.05981987342238426,
-0.013551291078329086,
0.04301796108484268,
-0.000714371504727751,
-0.004279633052647114,
-0.000046668315917486325,
0.0009168757242150605,
0.003612094558775425,
-0.03575683385133743,
0.01247478649020195,
0.02596275508403778,
0.014015666209161282,
-0.00627960916608572,
0.026448236778378487,
-0.07320230454206467,
0.07679065316915512,
0.07185139507055283,
-0.022986536845564842,
0.004269078839570284,
-0.04842159152030945,
-0.02465406246483326,
0.004437942523509264,
-0.027440309524536133,
-0.06805197149515152,
-0.021783383563160896,
-0.027250338345766068,
0.02159341238439083,
-0.005295452196151018,
0.024928465485572815,
0.07970354706048965,
-0.025730567052960396,
-0.03571461886167526,
-0.0291078370064497,
-0.02634269744157791,
-0.012422016821801662,
0.029213376343250275,
-0.03949293866753578,
-0.03436370939016342,
-0.013340212404727936,
-0.01734016463160515,
0.005031602922827005,
-0.010997232049703598,
-0.023429803550243378,
-0.015239926055073738,
-0.028284626081585884,
0.026553776115179062,
0.008221538737416267,
0.038627512753009796,
-0.036812230944633484,
0.013825694099068642,
0.03305501863360405,
0.05872226133942604,
-0.0037994275335222483,
-0.002163562923669815,
0.025561703369021416,
-0.08151882886886597,
-0.0074141607619822025,
-0.05770908296108246,
0.00791547354310751,
0.013836248777806759,
0.024379659444093704,
0.06083305552601814,
-0.002685984130948782,
0.0394718311727047,
0.05943993106484413,
0.0389019176363945,
-0.027313662692904472,
-0.00036773973261006176,
-0.00871757511049509,
0.03605234622955322,
0.036685582250356674,
-0.010575072839856148,
0.042279183864593506,
-0.03632674738764763,
0.034933626651763916,
0.10689055919647217,
-0.05196772515773773,
0.03402598574757576,
0.041814811527729034,
-0.04335568845272064,
-0.006242670584470034,
0.02091795951128006,
-0.009962943382561207,
-0.011018339544534683,
-0.06623668968677521,
0.07480650395154953,
-0.04867488890886307,
0.017540689557790756,
-0.01086003053933382,
0.007720225490629673,
0.03449035808444023,
-0.00037829368375241756,
0.007825764827430248,
0.05087011307477951,
-0.00016333910753019154,
0.004780946299433708,
0.09574557095766068,
-0.011514375917613506,
-0.04394671320915222,
0.008765067905187607,
0.016369199380278587,
-0.026807071641087532,
0.04255358874797821,
-0.016918005421757698,
-0.02978328987956047,
-0.02150898054242134,
0.010406210087239742,
0.008612035773694515,
0.07088042795658112,
0.07138702273368835,
0.0511656254529953,
-0.026659315451979637,
0.041392650455236435,
0.0004937276826240122,
-0.008480111137032509,
-0.06066419184207916,
-0.017551245167851448,
-0.05306533724069595,
0.002415538765490055,
0.0004900997737422585,
-0.054669540375471115,
-0.009714924730360508,
0.017329610884189606,
0.056062664836645126,
0.00791547354310751,
-0.04449551925063133,
0.06387259811162949,
0.07919695228338242,
-0.052769824862480164,
0.006042145192623138,
0.01998921111226082,
-0.07556638866662979,
0.027398094534873962,
-0.0245274156332016,
-0.0007889089174568653,
0.005142419598996639,
-0.05884891003370285,
-0.042616911232471466,
0.018976029008626938,
0.027756929397583008,
-0.014163421466946602,
0.01622144505381584,
0.020063087344169617,
-0.03809981420636177,
-0.0407383069396019,
0.037023309618234634,
0.06838969141244888,
0.04314460977911949,
-0.0428490974009037,
0.021487873047590256,
-0.033836010843515396,
-0.04884375259280205,
-0.04027393087744713,
-0.040843844413757324,
-0.029719965532422066,
-0.02507622167468071,
-0.009509122930467129,
-0.025857215747237206,
0.0011655535781756043,
0.025308407843112946,
0.03911299630999565,
-0.0009524953784421086,
-0.03244289010763168,
-0.0027730544097721577,
0.01781509257853031,
0.027588065713644028,
-0.07586190104484558,
0.010569795966148376,
0.003588348161429167,
-0.046690743416547775,
0.025012897327542305,
-0.007910196669399738,
-0.11398282647132874,
-0.025603920221328735,
0.06535015255212784,
-0.019630376249551773,
-0.053571928292512894,
0.053107552230358124,
0.03771987184882164,
0.045846424996852875,
0.022564377635717392,
-0.0036701413337141275,
0.026891503483057022,
-0.0021015582606196404,
0.0005798084894195199,
0.038627512753009796,
0.01751958206295967,
0.009519676677882671,
-0.008733406662940979,
0.025519488379359245,
0.01427951455116272,
0.06539236754179001,
-0.015862610191106796,
0.01735071837902069,
-0.010052652098238468,
0.04753505811095238,
-0.04166705533862114,
0.028706785291433334,
-0.02021084353327751,
0.027376985177397728,
0.03771987184882164,
-0.07543974369764328,
-0.019102677702903748,
0.01877550408244133,
-0.005466953851282597,
0.04880153387784958,
-0.03033209592103958,
0.022923212498426437,
-0.03170411288738251,
0.025308407843112946,
-0.02676485665142536,
0.018838828429579735,
-0.04010506719350815,
-0.04331347346305847,
0.03250621259212494,
0.012105397880077362,
0.0735822468996048,
0.023830853402614594,
-0.004506543278694153,
0.023387586697936058,
-0.10005158931016922,
-0.02205778658390045,
0.08371405303478241,
-0.037445466965436935,
0.02864346094429493,
-0.01415286771953106,
0.025983862578868866,
-0.0028152703307569027,
0.023070968687534332,
0.0631549283862114,
0.003580432618036866,
-0.0573713555932045,
0.0019946994725614786,
-0.03877526894211769,
0.011968196369707584,
-0.023007644340395927,
0.005714972037822008,
-0.0482105128467083,
-0.01928209513425827,
0.014163421466946602,
0.034047093242406845,
-0.018849382176995277,
0.045550912618637085,
-0.03189408406615257,
-0.023830853402614594,
-0.038332000374794006,
-0.01759346015751362,
-0.06497021019458771,
-0.015451004728674889,
-0.06133964657783508,
0.013994557783007622,
0.022648809477686882,
0.009150288067758083,
-0.029804397374391556,
-0.026954827830195427,
0.031113089993596077,
0.009931281208992004,
0.030733147636055946,
0.0019221409456804395,
0.03474365547299385,
0.027355877682566643,
0.0057044182904064655,
0.02902340516448021,
-0.006796753499656916,
0.07497537136077881,
0.014311176724731922,
0.019313756376504898,
0.029508886858820915,
0.0661100372672081,
-0.008759791031479836,
-0.0064959656447172165,
-0.02036915346980095,
0.006443195976316929,
0.005472231190651655,
0.023028751835227013,
-0.015197710134088993,
0.006997278891503811,
-0.05935550108551979,
-0.0002622000756673515,
0.0520099401473999,
0.010569795966148376,
0.0034854470286518335,
0.056062664836645126,
0.03178854286670685,
0.011873210780322552,
0.034089308232069016,
0.019334863871335983,
-0.05319198593497276,
-0.05065903440117836,
0.009741310030221939,
-0.004482796881347895,
0.020231951028108597,
-0.06150851026177406,
0.026933718472719193,
0.009926004335284233,
0.037825413048267365,
-0.014796659350395203,
-0.007984074763953686,
0.011102771386504173,
-0.015155494213104248,
0.00980991031974554,
-0.04187813401222229,
-0.032569535076618195,
-0.011292742565274239,
0.005340306553989649,
-0.0015791370533406734,
0.029171159490942955,
0.030395420268177986,
-0.033160559833049774,
-0.02418968826532364,
0.006232116371393204,
0.01814226619899273,
-0.018163373693823814,
-0.01768844574689865,
0.012833621352910995,
0.04128711298108101,
-0.0013330976944416761,
-0.02015807293355465,
-0.046859607100486755,
0.022121110931038857,
-0.00249469350092113,
0.020316382870078087,
-0.03953515365719795,
0.033962659537792206,
0.07307565212249756,
0.02566724270582199,
-0.04086495190858841,
0.014691120013594627,
-0.034427035599946976,
-0.01274919044226408,
-0.06931844353675842,
-0.0355246476829052,
0.0861203595995903,
-0.017709553241729736,
-0.05175664648413658,
-0.07100708037614822,
-0.006480134557932615,
0.014965523034334183,
0.06982503086328506,
-0.02041136845946312,
-0.009034194052219391,
-0.015482666902244091,
0.042405832558870316,
0.01510272454470396,
-0.04335568845272064,
-0.06416811048984528,
0.034047093242406845,
-0.007340282667428255,
-0.06847412884235382,
0.017667338252067566,
0.04044279456138611,
0.0004930680734105408,
0.00125724112149328,
-0.008205708116292953,
-0.05842675268650055,
-0.04137154296040535,
0.010079036466777325,
-0.08890660107135773,
0.013741263188421726,
0.021202916279435158,
0.007746610324829817,
-0.030859794467687607,
0.046817388385534286,
0.004152985289692879,
0.09152399003505707,
-0.023640882223844528,
-0.010590904392302036,
0.00810544565320015,
-0.04322904348373413,
0.0503213070333004,
-0.023788638412952423,
0.033667150884866714,
-0.046564094722270966,
0.018332237377762794,
-0.0389019176363945,
-0.0403161458671093,
0.01075449027121067,
-0.009862680919468403,
-0.030690930783748627,
0.01052230317145586,
0.02041136845946312,
0.018448330461978912,
-0.046944037079811096,
-0.020770203322172165,
0.024295227602124214,
-0.05298090726137161,
-0.0083165243268013,
0.016316430643200874,
0.00326117523945868,
0.008707021363079548,
-0.016369199380278587,
0.016738587990403175,
-0.04846381023526192,
0.026110509410500526,
0.004675406496971846,
-0.011514375917613506,
0.03491251543164253,
-0.053994085639715195,
0.0251606535166502,
-0.053656358271837234,
-0.04888596758246422,
0.02566724270582199,
0.03455368056893349,
-0.015028846450150013,
0.016094796359539032,
0.046268582344055176,
-0.033456068485975266,
-0.021530089899897575,
-0.03563018515706062,
0.009160841815173626,
0.01192598044872284,
0.09186171740293503,
-0.012886391952633858,
-0.006406256929039955,
-0.0034485082142055035,
-0.0380575992166996,
0.045677561312913895,
0.02112903818488121,
-0.027735820040106773,
-0.03033209592103958,
-0.038543082773685455,
-0.011598807759582996,
0.013941788114607334,
-0.046901822090148926,
0.03193629905581474,
-0.037572115659713745,
0.03193629905581474,
-0.01578873209655285,
0.06007317081093788,
-0.0009874553652480245,
0.03767765685915947,
-0.037149958312511444,
0.019303202629089355,
-0.07733945548534393,
-0.007794103119522333,
-0.018933814018964767,
-0.003401015419512987,
0.08265865594148636,
-0.03966180235147476,
-0.02995215356349945,
0.041941456496715546,
-0.001968314638361335,
0.045930858701467514,
0.04504432529211044,
-0.007387775462120771,
0.0003184329252690077,
-0.002378599951043725,
0.0669543519616127,
0.013614615425467491,
0.022205542773008347,
0.0023997079115360975,
-0.009778249077498913,
-0.02138233371078968,
0.007867980748414993,
0.02592053823173046,
-0.047070685774087906,
0.05800459161400795,
-0.019123785197734833,
0.004722899291664362,
-0.013561845757067204,
-0.02138233371078968,
-0.022311082109808922,
0.004269078839570284,
0.0249495729804039,
-0.046775173395872116,
-0.0009920727461576462,
-0.04783057048916817,
-0.023598667234182358,
0.00029501630342565477,
-0.021614521741867065,
0.012886391952633858,
0.010184576734900475,
0.03254842758178711,
-0.03776208683848381,
0.04377784952521324,
0.001006584381684661,
-0.032527320086956024,
0.04196256771683693,
-0.014976076781749725,
0.027313662692904472,
0.034131523221731186,
0.023408694192767143,
-0.03567240387201309,
0.02469627931714058,
-0.008648974820971489,
-0.009319151751697063,
-0.005757187958806753,
-0.0030263494700193405,
0.02851681411266327,
-0.004018422216176987,
-0.014881091192364693,
0.027946900576353073,
-0.07176696509122849,
0.03518692031502724,
0.03254842758178711,
-0.046268582344055176,
-0.015356019139289856,
-0.054500676691532135,
-0.03204184025526047,
0.040506117045879364,
-0.08704910427331924,
-0.01756179891526699,
0.02201557159423828,
-0.027461417019367218,
-0.04356676712632179,
-0.022986536845564842,
0.01255921833217144,
-0.07126037031412125,
0.08713353425264359,
-0.015567098744213581,
0.05981987342238426,
0.02473849430680275,
-0.020812420174479485,
0.04352455213665962,
-0.021614521741867065,
0.01107110921293497,
0.00045349070569500327,
-0.015060508623719215,
-0.03187297657132149,
0.03894413262605667,
-0.045550912618637085,
-0.055344995111227036,
0.046817388385534286,
-0.0394718311727047,
0.053909655660390854,
-0.0042822714895009995,
-0.024928465485572815,
0.06480135023593903,
-0.013445751741528511,
-0.02167784422636032,
-0.03024766407907009,
-0.00896559376269579,
-0.015556544996798038,
-0.06370373070240021,
0.03066982328891754,
-0.0362212099134922,
0.020136965438723564,
-0.0561048798263073,
-0.016728034242987633,
0.053318630903959274,
0.017276840284466743,
-0.03178854286670685,
0.0174773670732975,
0.005799403879791498,
0.038205355405807495,
0.01730850338935852,
0.029804397374391556,
0.0362212099134922,
-0.0064959656447172165,
0.005263790022581816,
-0.06349265575408936,
-0.02919226884841919,
0.08206763118505478,
-0.015862610191106796,
-0.014290069229900837,
0.003862751182168722,
-0.016749143600463867,
0.04293353110551834,
-0.018680518493056297,
0.05209437385201454,
0.014437824487686157,
-0.01415286771953106,
0.03389933705329895,
-0.03415263071656227,
-0.020569678395986557,
-0.053107552230358124,
0.03126084432005882,
0.0009472183883190155,
0.017023546621203423,
0.01780453883111477,
-0.0865425169467926,
-0.04867488890886307,
0.062437258660793304,
0.014733335934579372,
0.05205215513706207,
-0.06682770699262619,
0.02499178983271122,
-0.019461512565612793,
0.023957500234246254,
-0.02792579121887684,
0.012369247153401375,
0.0032532596960663795,
-0.045339833945035934,
-0.026933718472719193,
0.0066806599497795105,
-0.015989257022738457,
0.0150816161185503,
0.004477519541978836,
0.03360382467508316,
-0.018838828429579735,
0.002941917860880494,
0.05724470689892769,
0.015144940465688705,
-0.042490262538194656,
0.010891691781580448,
0.0035144705325365067,
-0.020348044112324715,
-0.027440309524536133,
0.0049287015572190285,
0.05226323753595352,
0.013150240294635296,
-0.03508137911558151,
-0.05973544344305992,
0.031028658151626587,
-0.021783383563160896,
0.03930296748876572,
0.026152726262807846,
0.03558797016739845,
-0.05800459161400795,
0.007567192893475294,
0.0314297080039978,
-0.054247383028268814,
0.0752708837389946,
0.004292825236916542,
-0.026870395988225937,
0.08882217109203339,
-0.0036332025192677975,
-0.008042121306061745,
-0.05627374351024628,
-0.003543493803590536,
0.01243257150053978,
-0.002629256574437022,
0.029931046068668365,
0.03712885081768036,
-0.029086727648973465,
0.03347717598080635,
0.05061681568622589,
-0.041012708097696304,
-0.01743515022099018,
0.008052675053477287,
0.004649021662771702,
-0.033793795853853226,
-0.05665368586778641,
0.016390308737754822,
0.0095143998041749,
-0.021403441205620766,
-0.0782259926199913,
-0.04230029135942459,
0.04382006451487541,
0.05091232806444168,
0.04432665556669235,
0.07041605561971664,
-0.03900745511054993,
0.0212134700268507
] |
18,437 | fs.base | __del__ | Auto-close the filesystem on exit. | def __del__(self):
"""Auto-close the filesystem on exit."""
self.close()
| (self) | [
0.03984136879444122,
-0.0023930424358695745,
-0.0056780558079481125,
-0.0016838016454130411,
0.0106706153601408,
-0.025057775899767876,
-0.04843071848154068,
0.0898578092455864,
-0.023389460518956184,
0.019276482984423637,
0.01795504428446293,
-0.06600584834814072,
0.016237175092101097,
0.02580108493566513,
-0.009035334922373295,
0.01207464374601841,
-0.05282450094819069,
-0.0006669134600088,
-0.01818629540503025,
-0.012958355247974396,
-0.038685109466314316,
0.020730065181851387,
0.0031693873461335897,
-0.09461499005556107,
-0.01676574908196926,
0.043144963681697845,
-0.006243796553462744,
0.008378745056688786,
-0.00561611307784915,
-0.04641552269458771,
-0.06633620709180832,
-0.0106706153601408,
0.007367019075900316,
0.03468775749206543,
0.01808718778192997,
0.005566559266299009,
-0.02561938762664795,
0.004183178301900625,
-0.02286088466644287,
0.02119256928563118,
0.024479646235704422,
0.001577467075549066,
0.01505613885819912,
-0.03475382924079895,
0.03515026345849037,
0.04981822893023491,
0.004645681940019131,
-0.03311854973435402,
-0.003642214694991708,
-0.005744127556681633,
0.003914761357009411,
0.03140068054199219,
0.0020554561633616686,
-0.009671277366578579,
-0.014742297120392323,
0.06673263758420944,
0.05639238283038139,
0.003332502441480756,
-0.009002299048006535,
-0.04803428798913956,
0.03828867897391319,
0.021721143275499344,
0.004356617107987404,
-0.022068021818995476,
-0.015972886234521866,
-0.0031487399246543646,
-0.04687802866101265,
0.03832171484827995,
0.040204763412475586,
0.020713547244668007,
-0.034060075879096985,
-0.03521633520722389,
0.0025189919397234917,
0.030839068815112114,
0.035513658076524734,
0.0015382368583232164,
-0.04288067668676376,
-0.03293685242533684,
0.01977202296257019,
-0.061116527765989304,
0.008952745236456394,
-0.004591998644173145,
-0.01977202296257019,
0.056887924671173096,
0.05939865484833717,
-0.01945818029344082,
0.06897908449172974,
-0.006004285998642445,
-0.019375590607523918,
0.06792193651199341,
0.008952745236456394,
0.04701017215847969,
0.002958783181384206,
-0.014857922680675983,
0.04331014305353165,
-0.06650138646364212,
-0.04641552269458771,
0.025057775899767876,
0.007428961340337992,
-0.04549051821231842,
-0.010224630124866962,
0.0030269199050962925,
0.01992068439722061,
-0.015791188925504684,
0.0011717441957443953,
-0.0242483951151371,
0.01818629540503025,
-0.05863882973790169,
-0.05589684471487999,
-0.0015113952104002237,
-0.09368998557329178,
-0.026445286348462105,
-0.023769373074173927,
0.03323417529463768,
0.00975386705249548,
-0.012388485483825207,
-0.04056815803050995,
0.02573501318693161,
0.041493166238069534,
-0.049058400094509125,
-0.0302279032766819,
0.03749581426382065,
-0.0753219872713089,
-0.0150726567953825,
0.05312182381749153,
0.07148981839418411,
0.014164168387651443,
0.023405978456139565,
0.0008207371574826539,
0.04036994278430939,
-0.01122396718710661,
0.06098438426852226,
-0.0037020922172814608,
-0.010530211962759495,
0.03311854973435402,
-0.014544081874191761,
0.024958668276667595,
-0.01980505883693695,
-0.017542093992233276,
0.026957344263792038,
-0.037231527268886566,
-0.00981167983263731,
-0.003084732685238123,
-0.007825393229722977,
0.011587362736463547,
0.0657745972275734,
-0.02259659767150879,
-0.03178059309720993,
-0.07994702458381653,
-0.028443962335586548,
0.0017498735105618834,
0.02102738805115223,
-0.01520480029284954,
0.03290381655097008,
-0.005545911844819784,
-0.013751218095421791,
-0.05920043960213661,
0.04780303314328194,
-0.0011769060511142015,
-0.029765401035547256,
0.006280961912125349,
0.06362725794315338,
-0.015700340270996094,
-0.027849314734339714,
-0.04674588516354561,
-0.028146637603640556,
-0.01802111603319645,
0.04519319534301758,
0.007895594462752342,
-0.008498501032590866,
-0.038652073591947556,
-0.006268573459237814,
-0.014131131581962109,
0.02418232336640358,
-0.03630651906132698,
0.035546693950891495,
0.030673889443278313,
0.012826211750507355,
-0.023653747513890266,
0.016096770763397217,
-0.015799447894096375,
-0.07538805902004242,
-0.04406997188925743,
0.018599245697259903,
0.0570531040430069,
0.010521952994167805,
-0.0005027659935876727,
0.026362696662545204,
0.018747907131910324,
0.0019449921092018485,
-0.046217307448387146,
0.012999650090932846,
-0.029732363298535347,
0.009687795303761959,
0.07710593193769455,
-0.03298640623688698,
-0.016319764778017998,
-0.027618063613772392,
0.009539133869111538,
0.022365344688296318,
-0.06346207857131958,
0.07637914270162582,
0.01990416646003723,
-0.0866202861070633,
0.014511045068502426,
0.005380732007324696,
0.015279131941497326,
-0.021836768835783005,
-0.07677557319402695,
0.06445315480232239,
0.02414928749203682,
0.010356773622334003,
-0.015444311313331127,
0.032606493681669235,
0.10412934422492981,
-0.059662945568561554,
0.01363559253513813,
0.011546067893505096,
-0.03964315354824066,
0.044565510004758835,
-0.007309206295758486,
0.041394058614969254,
-0.003869336796924472,
0.03225961700081825,
-0.037099383771419525,
-0.010934903286397457,
0.018863532692193985,
0.019193893298506737,
0.026329660788178444,
-0.02395107038319111,
0.005504617001861334,
0.025074293836951256,
0.020251043140888214,
-0.04030387103557587,
0.020300596952438354,
-0.012297635897994041,
-0.04737356677651405,
0.023240797221660614,
-0.05893615260720253,
-0.03171452134847641,
-0.012388485483825207,
-0.06871479749679565,
0.029368968680500984,
0.02727118507027626,
0.06461834162473679,
0.040237799286842346,
0.03341587260365486,
0.04410300776362419,
0.06531209498643875,
-0.022216683253645897,
0.04347532242536545,
-0.04813339561223984,
0.004505279008299112,
-0.02390151657164097,
0.007102731615304947,
-0.07651128619909286,
-0.05001644417643547,
-0.05427808314561844,
0.01805415190756321,
0.04195566847920418,
0.011190931312739849,
0.008746270090341568,
0.01662534661591053,
0.04658070206642151,
0.0183514766395092,
0.012578441761434078,
0.06977194547653198,
-0.0698380172252655,
0.003970509395003319,
-0.013982470147311687,
0.01954076997935772,
0.006037321873009205,
-0.017162181437015533,
-0.05622720345854759,
-0.04862893372774124,
0.007825393229722977,
-0.030706925317645073,
-0.03624044731259346,
-0.046118199825286865,
0.017277806997299194,
0.07228267937898636,
0.018747907131910324,
0.024677861481904984,
0.017806382849812508,
-0.013363045640289783,
0.015336944721639156,
-0.020069345831871033,
0.002909229137003422,
0.001329697435721755,
-0.008564572781324387,
-0.02426491305232048,
-0.01813674159348011,
-0.018549691885709763,
0.06778979301452637,
0.08899887651205063,
-0.010761464014649391,
-0.10307219624519348,
-0.017657721415162086,
0.026957344263792038,
-0.005991897080093622,
-0.029055127874016762,
-0.004127430263906717,
-0.017641203477978706,
0.0720844641327858,
-0.02743636444211006,
0.020383186638355255,
0.004951264709234238,
0.005830847192555666,
0.038486894220113754,
0.06405672430992126,
0.04225299134850502,
0.018731389194726944,
-0.035414550453424454,
0.056458454579114914,
0.0756523460149765,
0.023686783388257027,
-0.01675749011337757,
0.0020348087418824434,
-0.03481990098953247,
0.04710927978157997,
-0.04519319534301758,
0.002107074949890375,
0.02725466713309288,
0.01815325953066349,
0.004065487999469042,
-0.002808056538924575,
-0.0002151208755094558,
0.0657745972275734,
0.0038961784448474646,
0.015510383062064648,
-0.03034352883696556,
0.0012708520516753197,
0.017393432557582855,
-0.03478686511516571,
-0.038751181215047836,
-0.011091823689639568,
0.04079940915107727,
-0.07380233705043793,
0.007779968436807394,
-0.04416907951235771,
-0.03663688153028488,
0.016129808500409126,
-0.0009384277509525418,
-0.020746583119034767,
-0.11437049508094788,
0.02244793437421322,
0.01371818222105503,
-0.03435739874839783,
0.0572182834148407,
-0.0059051779098808765,
0.06825229525566101,
0.06015848368406296,
-0.028493516147136688,
0.02418232336640358,
0.023554639890789986,
-0.03647169843316078,
0.004191437270492315,
0.03987440466880798,
0.02413276955485344,
-0.048661969602108,
0.034258291125297546,
-0.01942514441907406,
-0.04588694870471954,
-0.01518002338707447,
0.04393782839179039,
-0.07287732511758804,
-0.014791850931942463,
0.006912774872034788,
-0.011521290987730026,
0.0067352065816521645,
0.013065721839666367,
-0.07697378844022751,
0.01949121616780758,
0.01830192282795906,
0.02872476726770401,
-0.006520472466945648,
0.04720838740468025,
0.029765401035547256,
0.008837119676172733,
0.03432436287403107,
-0.01368514634668827,
0.03169800341129303,
0.02271222323179245,
-0.03176407516002655,
-0.02730422094464302,
-0.03742974251508713,
0.006978846620768309,
0.012900542467832565,
0.016328023746609688,
0.049190543591976166,
0.04086548462510109,
-0.024661343544721603,
0.009283104911446571,
-0.017822900786995888,
0.03458864986896515,
0.02390151657164097,
-0.0009415248641744256,
0.006859091110527515,
0.004864545073360205,
0.03308551385998726,
0.008556313812732697,
0.018946122378110886,
-0.053551290184259415,
0.028064047917723656,
0.02879083901643753,
0.008197047747671604,
0.023141689598560333,
-0.008977522142231464,
0.06587370485067368,
0.0006591706187464297,
-0.014593635685741901,
-0.011050528846681118,
-0.005554170813411474,
-0.02119256928563118,
0.05781292915344238,
0.01821933127939701,
0.01071191020309925,
0.006359422113746405,
0.12474378943443298,
0.05289057269692421,
-0.007106861099600792,
0.05322093144059181,
0.001122190267778933,
0.013833808712661266,
-0.042946748435497284,
-0.061413850635290146,
-0.012892283499240875,
0.014015506021678448,
-0.0031033155974000692,
0.00844481773674488,
-0.04347532242536545,
-0.026494840160012245,
-0.0034790995996445417,
-0.001447387970983982,
-0.012950096279382706,
0.006640227977186441,
-0.032193541526794434,
-0.013016168028116226,
-0.018913086503744125,
0.05606202408671379,
0.007573493756353855,
-0.0240832157433033,
0.04406997188925743,
-0.03343239054083824,
-0.00376403471454978,
-0.04886018484830856,
0.05460844188928604,
0.02558635175228119,
0.020251043140888214,
-0.003163193119689822,
-0.008936227299273014,
-0.013321750797331333,
-0.026015818119049072,
-0.028361372649669647,
-0.001577467075549066,
-0.04545748233795166,
0.014238499104976654,
-0.020614439621567726,
-0.02403366193175316,
0.015386498533189297,
-0.014544081874191761,
0.09468106180429459,
0.06554334610700607,
-0.07571841776371002,
-0.04535837471485138,
-0.017756829038262367,
0.041559237986803055,
0.005269235465675592,
0.0014442908577620983,
0.0014174492098391056,
0.0035885311663150787,
0.017575131729245186,
-0.07360412180423737,
-0.001415384467691183,
-0.05877097323536873,
0.012793175876140594,
-0.0005946473102085292,
0.007651954423636198,
0.012545405887067318,
-0.04334317892789841,
0.011058787815272808,
-0.07168803364038467,
-0.0018613699357956648,
0.021572481840848923,
-0.0367029532790184,
-0.012528887949883938,
0.07439698278903961,
-0.07657735794782639,
0.017888972535729408,
-0.026891272515058517,
-0.017327360808849335,
-0.0016652188496664166,
-0.03954404592514038,
-0.0478360690176487,
0.06792193651199341,
-0.0022588337305933237,
-0.0389493964612484,
-0.012950096279382706,
-0.04872804135084152,
-0.10849009454250336,
0.008473724126815796,
-0.0010726363398134708,
-0.0698380172252655,
0.0068673500791192055,
0.015626009553670883,
-0.0025829991791397333,
0.026610465720295906,
-0.01802111603319645,
-0.03343239054083824,
-0.040138691663742065,
-0.04132798686623573,
-0.022249719128012657,
0.004024192690849304,
0.011372629553079605,
0.04687802866101265,
0.021770697087049484,
-0.07228267937898636,
-0.019012195989489555,
0.006272702943533659,
0.0425172820687294,
0.02140730246901512,
-0.007123379036784172,
0.016129808500409126,
-0.031020766124129295,
-0.04231906682252884,
-0.06217367574572563,
0.0069623286835849285,
0.03974226117134094,
0.055467378348112106,
0.06990408897399902,
0.030872104689478874,
-0.03442347049713135,
0.0050668902695178986,
-0.049223579466342926,
0.0009652694570831954,
0.02286088466644287,
-0.04839768260717392,
-0.0578790009021759,
0.014734038151800632,
-0.006842573173344135,
0.00975386705249548,
0.005075149238109589,
0.04479676112532616,
-0.011785578913986683,
-0.005178386811167002,
-0.011554326862096786,
-0.006053839810192585,
-0.032457832247018814,
0.09613464772701263,
0.026180999353528023,
0.026544393971562386,
-0.019012195989489555,
0.06646835058927536,
-0.01833495870232582,
0.006904515903443098,
0.0025561575312167406,
0.031020766124129295,
-0.03614133968949318,
0.01662534661591053,
-0.01641061343252659,
-0.047439638525247574,
0.056656673550605774,
0.014089836739003658,
-0.004451595712453127,
0.06696388870477676,
-0.015592973679304123,
0.058110255748033524,
0.012694067321717739,
0.04519319534301758,
-0.04179048910737038,
-0.01967291347682476,
-0.014279793947935104,
0.10340255498886108,
-0.040138691663742065,
-0.011917722411453724,
0.03921368345618248,
0.015262614004313946,
0.015832483768463135,
-0.008936227299273014,
-0.04988430067896843,
-0.03036004677414894,
0.0016961900983005762,
-0.03759492188692093,
-0.02542117051780224,
-0.04714231565594673,
-0.0027915386017411947,
0.061347778886556625,
0.012652772478759289,
-0.0766434296965599,
0.018582727760076523,
0.005694573745131493,
0.007412443403154612,
0.02438053861260414,
-0.07545413076877594,
-0.010877089574933052,
-0.012388485483825207,
0.018599245697259903,
-0.008424170315265656,
-0.008064904250204563,
0.024776970967650414,
0.0032870781142264605,
-0.010175075381994247,
0.004497020039707422,
0.0167327132076025,
0.004042775835841894,
0.07419876754283905,
-0.021721143275499344,
0.02568545937538147,
-0.06696388870477676,
0.04677892103791237,
-0.056524526327848434,
-0.013453895226120949,
0.03666991740465164,
-0.0038672720547765493,
-0.004290545359253883,
0.03478686511516571,
-0.003646344179287553,
-0.023075617849826813,
-0.03217702358961105,
0.04737356677651405,
-0.020730065181851387,
-0.0389493964612484,
0.001768456189893186,
0.00845307670533657,
-0.02438053861260414,
-0.002029646886512637,
-0.01655927486717701,
0.02244793437421322,
-0.04096459224820137,
0.02400062419474125,
-0.008506760001182556,
-0.02738681063055992,
0.03964315354824066,
0.019111303612589836,
0.026081889867782593,
-0.013429117389023304,
-0.0358770526945591,
-0.011166154406964779,
0.04664677754044533,
-0.03468775749206543,
0.03336631879210472,
-0.011669953353703022,
0.018946122378110886,
-0.03196229040622711,
-0.059431690722703934,
-0.06924337148666382,
0.027733689174056053,
-0.03301944211125374,
0.059828124940395355,
-0.06052187830209732,
-0.025239473208785057,
0.029666291549801826,
0.0015062333550304174,
-0.02421535924077034,
0.020218007266521454,
-0.05923347547650337,
0.031202465295791626,
-0.0031322219874709845,
-0.03756188601255417,
0.05460844188928604,
-0.040072619915008545,
-0.01988764852285385,
-0.02243141643702984,
0.040237799286842346,
0.01944166235625744,
-0.02282784879207611,
0.007697378750890493,
0.025388134643435478,
-0.04367353767156601,
0.002186567522585392,
-0.0038239124696701765,
0.05100752413272858,
-0.01125700306147337,
-0.02092828042805195,
-0.03306899592280388,
0.007474386133253574,
0.03736367076635361,
0.0211760513484478,
-0.029847990721464157,
0.03323417529463768,
-0.03825564309954643,
0.072745181620121,
-0.004459854681044817,
-0.0270729698240757,
0.05556648597121239,
0.06762461364269257,
-0.008481983095407486,
0.03974226117134094,
-0.012867506593465805,
-0.06157903000712395,
-0.02264615148305893,
0.033713199198246,
0.0017901360988616943,
-0.035579729825258255,
-0.10809366405010223,
0.007214227691292763,
0.04522623121738434,
-0.01977202296257019,
0.009002299048006535,
-0.05249414220452309,
0.023736337199807167,
-0.010125521570444107,
0.05285753682255745,
-0.02743636444211006,
0.026445286348462105,
0.000026551362680038437,
-0.021555963903665543,
-0.014568858779966831,
-0.02104390598833561,
0.0038672720547765493,
0.03756188601255417,
0.024661343544721603,
0.006817796267569065,
0.020267561078071594,
0.04182352498173714,
0.009060111828148365,
-0.046250343322753906,
-0.03908153995871544,
0.029352450743317604,
-0.017162181437015533,
-0.003834236180409789,
0.019309518858790398,
0.04968608543276787,
-0.021737661212682724,
0.005636760499328375,
-0.04331014305353165,
-0.06293350458145142,
0.014601894654333591,
0.0072720409370958805,
0.02390151657164097,
-0.05160216987133026,
-0.07228267937898636,
-0.029996652156114578,
0.07472734153270721,
-0.027882350608706474,
-0.05229592323303223,
0.067426398396492,
0.017492540180683136,
0.03206139802932739,
0.02561938762664795,
-0.010844053700566292,
-0.015394757501780987,
-0.013181348331272602,
0.0020513266790658236,
0.06732728332281113,
-0.022332308813929558,
0.007461997680366039,
0.08100417256355286,
-0.020251043140888214,
-0.007590011693537235,
0.022249719128012657,
-0.015716858208179474,
0.038751181215047836,
0.09098103642463684,
-0.001426740549504757,
-0.01797156222164631,
0.0004423721693456173,
-0.016294987872242928,
-0.0045878691598773,
0.015419534407556057,
-0.03202836215496063,
-0.023439014330506325,
0.010786240920424461,
-0.04083244502544403,
0.06590674072504044,
0.026841716840863228,
0.007821263745427132,
-0.00376403471454978
] |
18,438 | fs.base | __enter__ | Allow use of filesystem as a context manager. | def __enter__(self):
# type: (...) -> FS
"""Allow use of filesystem as a context manager."""
return self
| (self) | [
0.08440731465816498,
-0.034924913197755814,
-0.010877315886318684,
0.02652008645236492,
0.03668748214840889,
0.0054590580984950066,
0.007711225189268589,
0.059307076036930084,
0.010885476134717464,
-0.027548249810934067,
0.03437003120779991,
-0.06978455185890198,
-0.014794128946959972,
0.02017158642411232,
-0.005638578440994024,
0.0633218064904213,
-0.06328916549682617,
-0.003951493185013533,
-0.0031416104175150394,
0.0339457131922245,
-0.008510908111929893,
0.04847056046128273,
0.025116562843322754,
-0.0826447531580925,
-0.02338663674890995,
0.0740930438041687,
-0.013317164033651352,
-0.017560377717018127,
0.030143139883875847,
-0.06266900897026062,
0.0071726636961102486,
-0.023141836747527122,
0.016532214358448982,
0.0018247859552502632,
0.04661007225513458,
-0.007021702826023102,
-0.04099597409367561,
0.06185300275683403,
-0.011162916198372841,
-0.03965773060917854,
-0.0031497704330831766,
-0.0024031279608607292,
-0.004581855144351721,
0.01070595532655716,
-0.005361137446016073,
0.05790355056524277,
0.03737292438745499,
-0.030632739886641502,
0.09047837555408478,
-0.023353997617959976,
0.030649060383439064,
0.00473281554877758,
0.004018813371658325,
0.018049979582428932,
-0.028935454785823822,
0.07957658171653748,
0.024757521227002144,
-0.03267274796962738,
-0.0034231313038617373,
-0.0142800472676754,
0.00152388506103307,
0.004390094429254532,
0.06958870589733124,
0.008009065873920918,
-0.06025363877415657,
-0.012517481110990047,
-0.0778140127658844,
0.027874652296304703,
-0.010191873647272587,
0.05633682385087013,
-0.02740136906504631,
-0.03508811444044113,
-0.0035210514906793833,
0.026226326823234558,
0.009588031098246574,
0.008861789479851723,
-0.06763029843568802,
-0.010763075202703476,
0.046544793993234634,
-0.037634044885635376,
-0.027890970930457115,
0.006144500337541103,
-0.061983563005924225,
0.03131818398833275,
0.0431828610599041,
-0.009922592900693417,
0.04455374553799629,
-0.019420864060521126,
-0.0607105977833271,
0.02390887774527073,
-0.0285600945353508,
0.09916064888238907,
-0.006919702515006065,
0.01981254480779171,
0.04080013558268547,
-0.05437842011451721,
-0.016711734235286713,
-0.007968266494572163,
-0.027988892048597336,
0.0043860143050551414,
-0.01034691371023655,
0.038678526878356934,
0.059470273554325104,
0.0019553464371711016,
0.015455090440809727,
-0.03427211195230484,
0.011978919617831707,
-0.05010256543755531,
0.021379269659519196,
-0.001378024579025805,
-0.060286279767751694,
-0.02784201130270958,
-0.02588360570371151,
0.035740915685892105,
-0.04004941135644913,
-0.004740975797176361,
-0.017919419333338737,
0.0038494926411658525,
0.04873168095946312,
-0.03929869085550308,
-0.015300050377845764,
0.03668748214840889,
-0.03456587344408035,
0.00914738979190588,
0.04781775549054146,
0.03479435294866562,
-0.00740930438041687,
-0.045304469764232635,
0.019698305055499077,
0.0062791407108306885,
0.004271774087101221,
0.031742505729198456,
0.008772028610110283,
0.013945485465228558,
0.03482699394226074,
0.0255245640873909,
-0.01481860876083374,
0.02720552869141102,
-0.008502747863531113,
0.06009043753147125,
-0.011146596632897854,
-0.035381875932216644,
-0.07024151086807251,
-0.0324932262301445,
-0.011701478622853756,
0.03495755419135094,
-0.015520370565354824,
-0.013594605028629303,
-0.002550008473917842,
-0.01685861498117447,
0.033684588968753815,
0.01396180596202612,
0.02678120881319046,
0.09426462650299072,
0.007862186059355736,
0.038417406380176544,
-0.04794831573963165,
0.025818325579166412,
0.033423468470573425,
-0.03345610946416855,
-0.04135501757264137,
-0.003908652812242508,
-0.0032191306818276644,
-0.01097523607313633,
0.023223435506224632,
0.019437184557318687,
-0.051179688423871994,
-0.01721765659749508,
0.0012331840116530657,
-0.02875593490898609,
-0.021167108789086342,
-0.023957839235663414,
-0.023778317496180534,
0.02872329391539097,
-0.031987305730581284,
0.01477780845016241,
0.018409021198749542,
0.032542187720537186,
-0.010648834519088268,
-0.010909955948591232,
-0.00022032072592992336,
-0.04275853931903839,
-0.039135489612817764,
0.014484047889709473,
0.020824387669563293,
0.040114693343639374,
0.02632424607872963,
0.01625477336347103,
0.05486802011728287,
-0.01909446343779564,
-0.020138945430517197,
0.0034945313818752766,
-0.017870457842946053,
-0.023337677121162415,
0.004924576263874769,
-0.03737292438745499,
-0.06736917793750763,
-0.017903098836541176,
-0.015773331746459007,
0.0596008375287056,
-0.05953555554151535,
0.03534923493862152,
0.018980221822857857,
-0.022342152893543243,
0.004206493962556124,
0.027988892048597336,
-0.0009695132030174136,
0.018441660329699516,
-0.05943763628602028,
0.08244890719652176,
-0.07063319534063339,
-0.04292174056172371,
-0.01919238269329071,
0.07082903385162354,
0.08199194818735123,
-0.018817022442817688,
0.02686280757188797,
0.03095914237201214,
0.003845412516966462,
0.06165716424584389,
0.024953361600637436,
0.024398479610681534,
-0.05907859280705452,
-0.026128405705094337,
-0.007499064784497023,
-0.05499858036637306,
0.007001303136348724,
-0.026014165952801704,
-0.02266855351626873,
-0.022081032395362854,
0.006691222079098225,
-0.027254490181803703,
-0.015332690440118313,
-0.022635914385318756,
-0.0001865331141743809,
-0.03371722996234894,
0.024414800107479095,
0.032003626227378845,
-0.06433365494012833,
-0.00982467271387577,
0.010420354083180428,
-0.01009395346045494,
0.042007818818092346,
-0.006311780773103237,
0.010363234207034111,
-0.02374567836523056,
0.0022358472924679518,
0.029669856652617455,
0.04416206479072571,
0.035381875932216644,
0.02294599451124668,
0.014892049133777618,
-0.042530059814453125,
-0.023174475878477097,
-0.03250954672694206,
-0.041909895837306976,
-0.06407252699136734,
-0.03580619767308235,
0.024153679609298706,
0.006748341955244541,
0.017723578959703445,
0.0074256244115531445,
0.029571937397122383,
0.04533710703253746,
-0.010412193834781647,
-0.0009021929581649601,
-0.00354757159948349,
-0.07683481276035309,
0.020677508786320686,
0.012280840426683426,
-0.005671218503266573,
0.07585561275482178,
0.0467732734978199,
0.03374987095594406,
-0.040669575333595276,
-0.019975746050477028,
-0.026830168440937996,
0.03933132812380791,
-0.06155924126505852,
0.04063693434000015,
0.024708561599254608,
0.0351860336959362,
-0.03805836662650108,
-0.0010164333507418633,
-0.02275015413761139,
0.0021766871213912964,
-0.02087334915995598,
0.0012770441826432943,
0.004390094429254532,
-0.03268906846642494,
-0.011676998808979988,
0.058066751807928085,
-0.0022603273391723633,
0.011342437006533146,
0.10007456690073013,
-0.012362441048026085,
-0.12964650988578796,
-0.031644582748413086,
0.027270808815956116,
-0.018963903188705444,
0.017609337344765663,
-0.01964934542775154,
-0.027874652296304703,
0.09263262152671814,
0.01267252117395401,
0.005924179684370756,
0.01703813672065735,
0.02588360570371151,
-0.03391307219862938,
0.012941802851855755,
0.03962508961558342,
0.04347662255167961,
0.0145901283249259,
-0.012085000053048134,
0.039690371602773666,
0.03309706971049309,
0.0034761715214699507,
0.005401937756687403,
-0.032003626227378845,
0.05137552693486214,
-0.06860950589179993,
0.03629579767584801,
0.022472713142633438,
-0.011415877379477024,
0.019437184557318687,
0.038776446133852005,
0.048960160464048386,
0.03433739393949509,
-0.0031681302934885025,
0.06237524375319481,
-0.03864588588476181,
0.01102419663220644,
-0.003661812050268054,
-0.02926185540854931,
-0.10725539177656174,
0.03433739393949509,
0.02025318704545498,
-0.05131024867296219,
0.01043667457997799,
-0.06874006241559982,
0.04713231325149536,
0.020024705678224564,
-0.003845412516966462,
-0.06808726489543915,
-0.07918489724397659,
-0.04034317284822464,
0.0667816624045372,
-0.03167722374200821,
0.05594514310359955,
0.022342152893543243,
-0.0026295685674995184,
0.0480135977268219,
-0.028331613168120384,
0.015210289508104324,
-0.00834770780056715,
-0.01695653609931469,
-0.03077962063252926,
0.016923895105719566,
-0.005646738689392805,
-0.013692525215446949,
0.016842294484376907,
0.0535297766327858,
-0.03321130946278572,
-0.007299143821001053,
-0.008674108423292637,
-0.05033104494214058,
0.013047883287072182,
0.006858502514660358,
-0.007384824100881815,
-0.010648834519088268,
-0.0023541676346212626,
-0.040734853595495224,
0.02356615662574768,
-0.0008823028765618801,
0.009612511843442917,
-0.025948885828256607,
-0.016042612493038177,
-0.0011893239570781589,
-0.045206546783447266,
0.08545180410146713,
0.054933302104473114,
0.06077587977051735,
0.026536406949162483,
-0.01061619445681572,
-0.024741200730204582,
-0.04696911573410034,
-0.001507564913481474,
0.00461857533082366,
0.05999251827597618,
0.041289735585451126,
-0.006197540555149317,
-0.0249044019728899,
0.03051850013434887,
0.031807783991098404,
0.010191873647272587,
-0.02873961441218853,
-0.016483254730701447,
-0.021199749782681465,
-0.009473791345953941,
0.016654614359140396,
0.04112653434276581,
-0.0030212500132620335,
-0.013268203474581242,
0.005161216948181391,
-0.0040473733097314835,
0.005148977041244507,
0.03265642747282982,
-0.03991885110735893,
0.037797242403030396,
0.0015136849833652377,
-0.03219946473836899,
-0.014957329258322716,
-0.029751457273960114,
-0.012958122417330742,
0.013765965588390827,
-0.028674334287643433,
0.02847849391400814,
-0.021803591400384903,
0.03926604986190796,
0.03972300887107849,
-0.021248709410429,
-0.0012393040815368295,
-0.0012046239571645856,
0.0003228310670237988,
-0.0027499289717525244,
-0.05424785986542702,
-0.04321550205349922,
-0.001916586305014789,
-0.019861504435539246,
-0.024659600108861923,
-0.057805631309747696,
0.05953555554151535,
0.052779052406549454,
0.009384030476212502,
0.015063409693539143,
-0.04419470578432083,
-0.04899280145764351,
-0.044325266033411026,
0.00018003059085458517,
0.05450898036360741,
0.03554507717490196,
-0.02927817590534687,
0.05535762012004852,
0.012933642603456974,
-0.026634328067302704,
-0.03272170573472977,
-0.03299914672970772,
0.07278744131326675,
0.0160752534866333,
0.0034006910864263773,
0.024578001350164413,
-0.02328871563076973,
0.02926185540854931,
0.03629579767584801,
-0.03420683369040489,
-0.0371118001639843,
0.022342152893543243,
-0.03561035543680191,
-0.008319146931171417,
0.034859634935855865,
-0.01569173112511635,
0.03267274796962738,
0.03528395667672157,
-0.05506386235356331,
0.002337847603484988,
-0.040016770362854004,
0.03871116787195206,
0.015381650067865849,
0.028886495158076286,
-0.033684588968753815,
0.0136598851531744,
0.010779395699501038,
-0.0812738686800003,
-0.040669575333595276,
0.015153169631958008,
0.007242023944854736,
-0.017380857840180397,
-0.037960443645715714,
-0.005793618969619274,
-0.05659794434905052,
-0.010730435140430927,
-0.057348668575286865,
0.01624661311507225,
0.04765455797314644,
-0.018849661573767662,
-0.026095766574144363,
0.11750438809394836,
-0.03988621011376381,
0.043607182800769806,
0.0018156059086322784,
-0.017527736723423004,
0.05548818036913872,
-0.03201994672417641,
0.009840992279350758,
0.028315292671322823,
0.036818042397499084,
-0.01695653609931469,
0.011734118685126305,
-0.022554313763976097,
-0.06661845743656158,
0.005140816792845726,
0.00698090298101306,
-0.007792825810611248,
-0.0008409927831962705,
0.015512211248278618,
0.024300560355186462,
-0.04367246478796005,
-0.03864588588476181,
0.024757521227002144,
-0.025932565331459045,
0.025948885828256607,
-0.009318750351667404,
0.004794015549123287,
-0.010216353461146355,
0.004006572999060154,
-0.004541054833680391,
-0.07983770221471786,
-0.012256360612809658,
0.010681475512683392,
0.014222926460206509,
0.008592507801949978,
-0.012280840426683426,
0.057087548077106476,
-0.05741394683718681,
-0.007168583571910858,
-0.05193040892481804,
0.05584722384810448,
0.023092875257134438,
0.049678243696689606,
0.03053482063114643,
0.01911078207194805,
-0.02963721752166748,
0.009914432652294636,
-0.026536406949162483,
0.023892559111118317,
0.04491278901696205,
-0.023680398240685463,
-0.03720972314476967,
-0.06808726489543915,
-0.06557397544384003,
0.02740136906504631,
0.014516687951982021,
0.03206890448927879,
-0.011171076446771622,
0.017886778339743614,
-0.016891255974769592,
0.00015121549949981272,
-0.07193879783153534,
0.052779052406549454,
-0.04755663499236107,
0.02472488209605217,
-0.06900118291378021,
0.0021297670900821686,
0.018001019954681396,
-0.0028804894536733627,
-0.04341134428977966,
0.027107609435915947,
-0.018849661573767662,
0.018980221822857857,
-0.005867059342563152,
0.006120020058006048,
0.09100061655044556,
-0.04873168095946312,
0.0005890519241802394,
0.04625103250145912,
-0.05346449464559555,
0.0413876548409462,
0.02284807525575161,
-0.008274267427623272,
-0.010289793834090233,
0.02792361192405224,
0.003784212516620755,
0.09583135694265366,
-0.009979712776839733,
-0.013782285153865814,
0.05437842011451721,
-0.007050263229757547,
0.04409678652882576,
0.0010103132808580995,
-0.08564764261245728,
-0.03221578523516655,
-0.05258321389555931,
-0.04661007225513458,
-0.019518783316016197,
-0.0540846586227417,
-0.055390261113643646,
-0.004757295828312635,
0.023631436750292778,
-0.049678243696689606,
0.06025363877415657,
-0.005805858876556158,
-0.03831948712468147,
0.04804623872041702,
-0.05075536668300629,
0.014932849444448948,
-0.05525970086455345,
-0.028853854164481163,
-0.019779905676841736,
0.019747264683246613,
0.024741200730204582,
-0.046805914491415024,
-0.0018604861106723547,
-0.0328359492123127,
0.03828684613108635,
0.03616523742675781,
-0.009204510599374771,
0.01298260223120451,
-0.0001270541688427329,
-0.0764431282877922,
0.009367710910737514,
-0.023435596376657486,
-0.002976369811221957,
0.03910284861922264,
0.021379269659519196,
0.0028498894535005093,
0.03668748214840889,
-0.01982886530458927,
-0.009588031098246574,
0.01271332148462534,
0.030649060383439064,
-0.014369807206094265,
-0.017021816223859787,
-0.02472488209605217,
0.0015575451543554664,
-0.001381084555760026,
-0.01839270070195198,
0.058948032557964325,
-0.020938629284501076,
-0.05111440643668175,
-0.03206890448927879,
-0.022815434262156487,
-0.029963618144392967,
0.02882121503353119,
-0.007193063851445913,
0.03782988339662552,
-0.01873542182147503,
0.017870457842946053,
0.014761488884687424,
-0.02292967587709427,
-0.003604691941291094,
-0.021542470902204514,
-0.05783826857805252,
-0.001266844104975462,
-0.04585935175418854,
-0.04713231325149536,
-0.12507688999176025,
0.018001019954681396,
-0.0324932262301445,
0.033782511949539185,
-0.022097352892160416,
-0.018947582691907883,
0.04390094429254532,
-0.02997993864119053,
-0.05669586732983589,
0.021754631772637367,
-0.025573523715138435,
0.03577355667948723,
-0.02240743301808834,
-0.00275604915805161,
0.031106021255254745,
-0.03203626349568367,
0.028135772794485092,
-0.01739717647433281,
0.07990298420190811,
-0.0018533461261540651,
-0.044488467276096344,
-0.008951549418270588,
0.0018207059474661946,
-0.01392916589975357,
0.03874380886554718,
0.006581061519682407,
0.05098384618759155,
-0.046283673495054245,
-0.004169773776084185,
-0.045043349266052246,
-0.0182131789624691,
0.027613529935479164,
-0.01450852770358324,
0.01855590008199215,
0.023092875257134438,
-0.0376666821539402,
0.042073097079992294,
-0.009563551284372807,
0.0006079219747334719,
-0.0061363400891423225,
0.04569615051150322,
0.006597381550818682,
0.0019594263285398483,
0.0026948489248752594,
-0.0947868749499321,
-0.0005961919669061899,
0.014451407827436924,
0.017087096348404884,
0.023256076499819756,
-0.11045411974191666,
0.02384359762072563,
-0.0037066922523081303,
-0.05614098533987999,
0.03015945851802826,
0.000019045375665882602,
0.045304469764232635,
0.008241627365350723,
0.07213463634252548,
-0.06998039036989212,
0.025100242346525192,
-0.055553462356328964,
-0.0077642654068768024,
0.011938119307160378,
-0.029653538018465042,
0.017282936722040176,
0.038254205137491226,
0.018490619957447052,
0.031628262251615524,
0.04693647474050522,
0.06270164251327515,
0.03446795418858528,
-0.020465347915887833,
-0.017103416845202446,
0.034141551703214645,
-0.0339457131922245,
-0.01267252117395401,
0.008665948174893856,
0.05052688717842102,
-0.032183144241571426,
-0.0007242023712024093,
-0.01606709323823452,
-0.05597778409719467,
0.016989175230264664,
0.05258321389555931,
0.03296650946140289,
0.004430894739925861,
-0.025589844211935997,
-0.05829523131251335,
0.05258321389555931,
0.02106918953359127,
-0.024920722469687462,
0.019616704434156418,
0.04866639897227287,
-0.011375077068805695,
0.045565590262413025,
0.0364263579249382,
0.023713037371635437,
-0.04817679896950722,
0.0330481082201004,
0.020383747294545174,
-0.02900073491036892,
0.03213418647646904,
0.03750348463654518,
-0.045826710760593414,
0.055292341858148575,
0.021819911897182465,
-0.014712528325617313,
0.039037566632032394,
0.09537439048290253,
0.022440074011683464,
-0.023990478366613388,
0.012737802229821682,
-0.038417406380176544,
0.010559074580669403,
-0.0023317276500165462,
-0.04187725856900215,
-0.04928656294941902,
0.02178727090358734,
0.043509263545274734,
0.0074133845046162605,
0.00033991612144745886,
0.01299076247960329,
0.02562248334288597
] |
18,439 | fs.base | __exit__ | Close filesystem on exit. | def __exit__(
self,
exc_type, # type: Optional[Type[BaseException]]
exc_value, # type: Optional[BaseException]
traceback, # type: Optional[TracebackType]
):
# type: (...) -> None
"""Close filesystem on exit."""
self.close()
| (self, exc_type, exc_value, traceback) | [
0.05052122473716736,
-0.015779301524162292,
-0.00326268607750535,
0.0052812183275818825,
-0.008009776473045349,
-0.07029040157794952,
-0.02174266055226326,
0.0560469813644886,
0.000456636626040563,
-0.0027564442716538906,
0.04454928636550903,
-0.04784414917230606,
0.021639695391058922,
-0.016234062612056732,
-0.005306959617882967,
0.08566642552614212,
-0.0652451440691948,
0.015770722180604935,
0.017272286117076874,
-0.005109610967338085,
-0.013299575075507164,
0.016971973702311516,
-0.004440342076122761,
-0.08793164044618607,
-0.0044188909232616425,
0.020283997058868408,
-0.010639660060405731,
0.03346344828605652,
0.02955079823732376,
-0.0537131205201149,
-0.04798143357038498,
-0.041357386857271194,
-0.026084328070282936,
0.03020290657877922,
0.035076554864645004,
0.02167401649057865,
-0.04111713916063309,
0.05529190972447395,
0.006997292395681143,
0.022823786363005638,
0.005838942248374224,
-0.002297394210472703,
0.005474276840686798,
-0.020060908049345016,
0.03590027242898941,
0.014852622523903847,
-0.006666948087513447,
-0.05021233111619949,
-0.003133980557322502,
-0.016551535576581955,
-0.018636565655469894,
0.02483159303665161,
0.041426029056310654,
-0.0055557903833687305,
0.010596757754683495,
0.08346984535455704,
0.055223267525434494,
-0.0155562125146389,
0.0036917044781148434,
-0.0728301852941513,
0.01559053361415863,
0.04279889166355133,
-0.011171642690896988,
-0.0010124837281182408,
0.009429827332496643,
0.007113127503544092,
-0.03638077154755592,
0.013694272376596928,
0.0010661111446097493,
0.024007877334952354,
-0.025706790387630463,
-0.016259802505373955,
-0.03864599019289017,
0.055806733667850494,
0.030425995588302612,
-0.023064037784934044,
-0.041803568601608276,
-0.011986778117716312,
0.020815979689359665,
-0.06383796036243439,
-0.003715300699695945,
0.023716146126389503,
-0.046402644366025925,
0.020592890679836273,
0.08546049147844315,
-0.020918944850564003,
0.03789091855287552,
-0.008666174486279488,
-0.06284263730049133,
0.08017498254776001,
-0.01942596025764942,
0.016354186460375786,
-0.021656855940818787,
0.004560467321425676,
0.05120765417814255,
-0.05275212228298187,
-0.017538277432322502,
-0.013745754025876522,
-0.0010473415022715926,
-0.02812645584344864,
0.03771930932998657,
-0.024591343477368355,
0.09005957096815109,
-0.008147061802446842,
0.02392207458615303,
-0.02805781364440918,
0.02464282512664795,
-0.03823413327336311,
-0.03361789509654045,
-0.03844006359577179,
-0.08628421276807785,
-0.06407821178436279,
-0.026152970269322395,
-0.04156331717967987,
-0.028589796274900436,
0.011729367077350616,
-0.035762984305620193,
0.03651805967092514,
0.053301263600587845,
-0.03655238077044487,
0.029464993625879288,
0.016714561730623245,
-0.058929987251758575,
0.03183317556977272,
0.04156331717967987,
0.05917023867368698,
-0.02229180373251438,
0.020421283319592476,
-0.04242135211825371,
0.06603453308343887,
-0.02105623111128807,
0.022875268012285233,
-0.0448581799864769,
-0.002767169615253806,
0.021605374291539192,
0.026290256530046463,
0.007816717959940434,
0.018928298726677895,
-0.04351964220404625,
-0.01589084602892399,
-0.016869008541107178,
-0.0018522875616326928,
-0.033995430916547775,
-0.009867426939308643,
-0.0026706403587013483,
0.06603453308343887,
0.0037753633223474026,
-0.01942596025764942,
-0.03662102296948433,
-0.021725500002503395,
-0.016379928216338158,
0.020163871347904205,
-0.04424039274454117,
0.056424520909786224,
-0.0037539121694862843,
-0.009481309913098812,
-0.027199774980545044,
0.03785659745335579,
0.026942364871501923,
-0.013574146665632725,
-0.024419736117124557,
0.020850300788879395,
0.010150578804314137,
-0.05117333307862282,
-0.028212260454893112,
-0.009670077823102474,
-0.024093681946396828,
0.053987693041563034,
0.023510215803980827,
-0.02297823317348957,
-0.053816087543964386,
-0.0130507443100214,
-0.027457186952233315,
-0.002124714432284236,
-0.0728301852941513,
0.039950206875801086,
0.011068678461015224,
0.013539825566112995,
-0.03171304985880852,
-0.020283997058868408,
0.04853057861328125,
-0.1159379705786705,
-0.0527864433825016,
0.03548841550946236,
0.041391707956790924,
0.0286069568246603,
-0.044446323066949844,
0.027680275961756706,
-0.001893044332973659,
-0.016911910846829414,
-0.020489925518631935,
-0.00831437949091196,
-0.03263973072171211,
-0.005826071836054325,
0.0696726143360138,
-0.021725500002503395,
-0.02483159303665161,
-0.010862750001251698,
0.027817562222480774,
-0.00846453569829464,
-0.03888624161481857,
0.07296747714281082,
0.034750502556562424,
-0.0785275548696518,
0.02512332610785961,
0.014826880767941475,
0.05093308165669441,
-0.014140451326966286,
-0.0878629982471466,
0.043862856924533844,
0.0005293016438372433,
-0.01179801020771265,
-0.03342912346124649,
0.04461792856454849,
0.08848078548908234,
-0.034904949367046356,
-0.008709076792001724,
-0.02366466261446476,
0.0024883076548576355,
0.08079276978969574,
-0.005976228509098291,
0.011128741316497326,
0.003485775785520673,
0.04293617606163025,
0.005349861457943916,
-0.005500017665326595,
-0.016971973702311516,
0.015573373064398766,
0.0569736622273922,
-0.032794177532196045,
-0.03720448911190033,
-0.014492246322333813,
-0.016216900199651718,
-0.0690891444683075,
-0.02217167802155018,
0.012064001522958279,
0.00918099656701088,
0.01705777831375599,
-0.05422794446349144,
-0.004607659298926592,
0.0039598410949110985,
-0.04853057861328125,
0.002829377306625247,
0.021176354959607124,
0.051379259675741196,
-0.01861940510571003,
0.01705777831375599,
0.0678192526102066,
0.0290702972561121,
-0.007452052086591721,
0.05216865614056587,
0.003912649117410183,
-0.012064001522958279,
-0.03672398626804352,
0.022274643182754517,
-0.026942364871501923,
-0.04794711247086525,
-0.07255561649799347,
0.05426226556301117,
0.01617399975657463,
0.03902352601289749,
-0.01388304028660059,
0.03034019097685814,
0.04537300020456314,
-0.023064037784934044,
-0.028332384303212166,
0.03234799951314926,
-0.07715469598770142,
0.02718261443078518,
-0.0001902429066831246,
-0.020283997058868408,
0.018173225224018097,
-0.024711469188332558,
-0.01959756761789322,
-0.04667721688747406,
0.041906531900167465,
-0.014200514182448387,
-0.05409066006541252,
-0.04173492267727852,
0.0415976382791996,
0.08326391875743866,
0.02900165319442749,
0.008374442346394062,
-0.0014929845929145813,
-0.0017750642728060484,
0.04231838881969452,
-0.031592924147844315,
-0.03135267645120621,
-0.019185708835721016,
0.017495376989245415,
0.011188803240656853,
0.011755107901990414,
-0.012861976400017738,
0.08237156271934509,
0.05731687694787979,
-0.011274607852101326,
-0.07262425869703293,
-0.055841054767370224,
0.04966318607330322,
-0.03358357027173042,
0.015539051964879036,
-0.005165383219718933,
0.013840137980878353,
0.02994549460709095,
-0.0028143615927547216,
0.00798832532018423,
0.06318584829568863,
0.005332700442522764,
-0.0006478180293925107,
0.07804705202579498,
0.0637349933385849,
0.02812645584344864,
-0.035694342106580734,
0.0005223300540819764,
0.045064106583595276,
0.01673172414302826,
0.03672398626804352,
-0.03358357027173042,
-0.07674283534288406,
0.05052122473716736,
-0.043142106384038925,
-0.02893301099538803,
0.06493625044822693,
-0.045064106583595276,
0.03426999971270561,
-0.0327426940202713,
-0.011669304221868515,
0.019288673996925354,
0.021897107362747192,
0.012535922229290009,
-0.025020360946655273,
-0.020610051229596138,
0.013479762710630894,
-0.047054752707481384,
0.007078805938363075,
0.018018778413534164,
0.020747337490320206,
-0.03720448911190033,
0.005547209642827511,
-0.053816087543964386,
-0.043107785284519196,
0.004444632213562727,
0.016877589747309685,
-0.01822470873594284,
-0.07688012719154358,
0.010339346714317799,
0.05292372778058052,
-0.034939270466566086,
0.05144790560007095,
0.05144790560007095,
0.031060943379998207,
0.04557893052697182,
-0.05120765417814255,
-0.0012913458049297333,
-0.027628794312477112,
-0.04430903494358063,
-0.013951683416962624,
0.000329271744703874,
0.048187363892793655,
-0.021176354959607124,
0.05124197527766228,
0.043107785284519196,
-0.035625699907541275,
0.0012763302074745297,
0.01934015564620495,
-0.07193782925605774,
-0.033669374883174896,
0.044411998242139816,
-0.019477441906929016,
0.015959490090608597,
0.011017195880413055,
-0.05632155388593674,
0.02555234543979168,
0.0017332349671050906,
0.030443156138062477,
-0.010691141709685326,
0.0395040288567543,
0.002797200810164213,
0.0018683758098632097,
0.03854302689433098,
-0.005156802944839001,
0.016259802505373955,
-0.0163112860172987,
-0.043794214725494385,
-0.04780982807278633,
-0.02363034151494503,
0.027972009032964706,
-0.0025762564036995173,
0.0068814572878181934,
0.05275212228298187,
0.018276190385222435,
-0.018825333565473557,
0.03957267105579376,
0.006559693720191717,
0.03641509264707565,
0.04087688773870468,
-0.007160319481045008,
0.004912262316793203,
-0.001546611892990768,
0.048324648290872574,
-0.01510145328938961,
0.058861345052719116,
-0.06064606085419655,
0.03150712326169014,
0.044514965265989304,
-0.020918944850564003,
-0.0044188909232616425,
-0.04732932522892952,
0.06644639372825623,
-0.015367444604635239,
-0.037444740533828735,
-0.022343285381793976,
-0.017272286117076874,
-0.012424376793205738,
0.05216865614056587,
0.005984808783978224,
0.03255392611026764,
0.022308964282274246,
0.09273664653301239,
0.01326525304466486,
0.014312058687210083,
0.018053099513053894,
0.0433480329811573,
-0.009344023652374744,
-0.027560152113437653,
-0.04499546438455582,
-0.04279889166355133,
0.007657981012016535,
-0.02903597429394722,
-0.018602244555950165,
-0.05491437390446663,
-0.0007915392052382231,
-0.001613109721802175,
0.01985497772693634,
0.008177093230187893,
-0.021176354959607124,
-0.05635587498545647,
-0.015633435919880867,
0.0129048777744174,
0.04616239666938782,
0.013943103142082691,
-0.014346379786729813,
0.026667792350053787,
-0.011214544996619225,
-0.01803593896329403,
-0.03287998214364052,
0.05614994838833809,
0.028915850445628166,
0.014801139943301678,
-0.004382424522191286,
0.008940746076405048,
-0.02896733209490776,
-0.028366705402731895,
-0.0008961124694906175,
0.0019338011043146253,
-0.05477708950638771,
-0.037479061633348465,
0.00023140187840908766,
0.007443471811711788,
-0.007289025001227856,
-0.026702113449573517,
0.06733874976634979,
0.06627478450536728,
-0.09912044554948807,
-0.020198192447423935,
-0.010176319628953934,
0.044480644166469574,
-0.028589796274900436,
0.03837141767144203,
-0.0036981399171054363,
-0.0061649964191019535,
0.02972240559756756,
-0.04307346045970917,
0.038131169974803925,
0.004382424522191286,
0.0038354257121682167,
0.014217674732208252,
0.00114762457087636,
0.014312058687210083,
-0.03118106722831726,
0.07832162827253342,
-0.03672398626804352,
0.018791012465953827,
0.0006783855496905744,
-0.05357583612203598,
-0.014526568353176117,
0.07186918705701828,
-0.06325449794530869,
0.03861166909337044,
0.02617013081908226,
-0.011592080816626549,
0.0074863736517727375,
-0.02206871472299099,
-0.005135351791977882,
0.06366635113954544,
-0.02965376153588295,
-0.02464282512664795,
-0.018207546323537827,
0.0036895594093948603,
-0.08216562867164612,
0.01212406437844038,
-0.0025290644261986017,
-0.023355768993496895,
-0.03830277547240257,
-0.021605374291539192,
-0.0010543130338191986,
0.002728557912632823,
-0.015195837244391441,
-0.004972325172275305,
-0.048805151134729385,
-0.021553892642259598,
0.004094982054084539,
0.01865372620522976,
-0.004137883894145489,
-0.0073576681315898895,
0.009386925958096981,
-0.03902352601289749,
-0.03648373857140541,
0.028692759573459625,
0.08271477371454239,
0.0131966108456254,
0.03929809853434563,
0.028006330132484436,
-0.0008832419407553971,
-0.0017986602615565062,
-0.07887076586484909,
0.060234203934669495,
0.02841818891465664,
0.06878025084733963,
0.06812814623117447,
-0.012999261729419231,
-0.025861237198114395,
-0.0105452761054039,
-0.05172247439622879,
0.013471182435750961,
-0.0020893202163279057,
-0.046986110508441925,
0.006555403582751751,
-0.01982065662741661,
-0.03957267105579376,
-0.005860393401235342,
0.04897675663232803,
0.005414213985204697,
-0.016611598432064056,
-0.005324120167642832,
-0.04993775859475136,
-0.003949115518480539,
-0.02841818891465664,
0.053816087543964386,
0.009867426939308643,
0.003350634826347232,
-0.023578859865665436,
0.08916721493005753,
0.03545409440994263,
-0.028624117374420166,
0.015993811190128326,
0.036243487149477005,
0.0354197695851326,
0.02532925456762314,
0.02181130275130272,
-0.020318318158388138,
0.08079276978969574,
0.0454416461288929,
-0.04224974662065506,
0.04417175054550171,
-0.004787846934050322,
0.03517952188849449,
-0.005066709127277136,
0.024265289306640625,
-0.009489890187978745,
-0.049491580575704575,
-0.0036702535580843687,
0.07516404986381531,
-0.03322319686412811,
0.004144319333136082,
0.028298063203692436,
-0.008829201571643353,
0.017761368304491043,
0.008275767788290977,
-0.06596589088439941,
-0.027645954862236977,
-0.022514892742037773,
-0.01233857311308384,
-0.048839472234249115,
-0.02177698165178299,
-0.007915392518043518,
0.016354186460375786,
0.013076485134661198,
-0.0746835470199585,
0.06799086183309555,
-0.014646693132817745,
0.014260576106607914,
0.027628794312477112,
-0.07248697429895401,
0.03713584691286087,
-0.013162288814783096,
-0.002692091278731823,
0.002108626067638397,
0.006349474657326937,
0.018396316096186638,
-0.04348532110452652,
-0.020558569580316544,
-0.012295671738684177,
0.028864366933703423,
0.004702043253928423,
0.014440764673054218,
0.0042687347158789635,
0.014612372033298016,
-0.08360713720321655,
0.048873793333768845,
-0.01401174534112215,
0.009060871787369251,
0.027354221791028976,
0.01168646477162838,
-0.04224974662065506,
-0.0005435128696262836,
-0.014183352701365948,
0.018087422475218773,
-0.004187221173197031,
0.04413742944598198,
-0.04146035388112068,
-0.029413511976599693,
-0.016096776351332664,
0.018379153683781624,
-0.016688821837306023,
0.019580407068133354,
-0.002063579158857465,
0.01975201442837715,
-0.05034961551427841,
0.010047614574432373,
-0.022240322083234787,
-0.004684882704168558,
-0.0013782221358269453,
-0.031592924147844315,
-0.01663733832538128,
0.026908043771982193,
0.016877589747309685,
0.007563597057014704,
0.011866653338074684,
-0.0063451845198869705,
0.035076554864645004,
0.003949115518480539,
0.026152970269322395,
0.005693076178431511,
-0.04684882611036301,
-0.05501733720302582,
0.053816087543964386,
-0.0531296581029892,
0.0537131205201149,
-0.07022175937891006,
-0.015273060649633408,
0.05628723278641701,
-0.04413742944598198,
-0.07344797253608704,
0.005345570854842663,
-0.04780982807278633,
0.010159159079194069,
-0.006769912783056498,
-0.0716632604598999,
0.06654935330152512,
-0.018241869285702705,
-0.027903366833925247,
-0.010322186164557934,
0.034355804324150085,
0.030151423066854477,
-0.05158518999814987,
0.019374476745724678,
-0.028589796274900436,
-0.007336216978728771,
-0.01611393690109253,
0.02675359696149826,
0.012973520904779434,
-0.0102535430341959,
0.014595210552215576,
-0.049422938376665115,
-0.011566339991986752,
-0.006911488715559244,
0.03258824720978737,
-0.03267405182123184,
0.00036225252551957965,
0.022514892742037773,
0.05467412248253822,
-0.055772412568330765,
-0.0032734114211052656,
0.08065548539161682,
0.04990343749523163,
-0.031918980181217194,
0.05745416507124901,
0.003033161163330078,
-0.05614994838833809,
0.012227028608322144,
-0.009807364083826542,
-0.03521384298801422,
-0.01963188871741295,
-0.11332953721284866,
0.01197819784283638,
-0.0029816788155585527,
-0.04293617606163025,
0.022223161533474922,
0.00415933458134532,
0.01709209941327572,
0.016774624586105347,
0.06136681139469147,
-0.0042837499640882015,
0.011120161041617393,
-0.041803568601608276,
-0.01617399975657463,
-0.007765235844999552,
0.007936842739582062,
-0.006636917125433683,
0.0185850840061903,
0.022875268012285233,
0.0032734114211052656,
-0.004440342076122761,
-0.0035072267055511475,
0.02606716752052307,
-0.03078637085855007,
0.018413476645946503,
-0.001170148141682148,
-0.05089876055717468,
-0.0031404157634824514,
0.04780982807278633,
0.042661603540182114,
-0.0678192526102066,
0.012364314869046211,
-0.06057741865515709,
-0.04080824553966522,
0.006894328165799379,
0.06236213445663452,
0.03706720098853111,
-0.04784414917230606,
-0.08594099432229996,
-0.02242908999323845,
0.0483589693903923,
-0.013762914575636387,
-0.02043844386935234,
0.014312058687210083,
0.02258353680372238,
-0.0021740514785051346,
0.011137321591377258,
-0.002567675895988941,
0.020592890679836273,
-0.03590027242898941,
0.00749495392665267,
0.07440897822380066,
-0.005594401620328426,
-0.03430432453751564,
0.07482083141803741,
0.006336603779345751,
-0.0027478637639433146,
0.021725500002503395,
-0.02450553886592388,
0.0575571283698082,
0.060302846133708954,
0.03916081413626671,
-0.032039105892181396,
0.02766311541199684,
-0.019906461238861084,
0.013213771395385265,
0.04080824553966522,
-0.000902011466678232,
-0.012656047008931637,
0.0004676302196457982,
-0.01901410147547722,
0.09074600040912628,
0.04599078744649887,
-0.018996940925717354,
0.013428280130028725
] |
18,440 | miarec_s3fs.s3fs | __init__ | null | def __init__(
self,
bucket_name,
dir_path="/",
aws_access_key_id=None,
aws_secret_access_key=None,
aws_session_token=None,
endpoint_url=None,
region=None,
delimiter="/",
strict=True,
cache_control=None,
acl=None,
upload_args=None,
download_args=None,
config_args=None,
):
_creds = (aws_access_key_id, aws_secret_access_key)
if any(_creds) and not all(_creds):
raise ValueError(
"aws_access_key_id and aws_secret_access_key "
"must be set together if specified"
)
self._bucket_name = bucket_name
self.dir_path = dir_path
self._prefix = relpath(normpath(dir_path)).rstrip("/")
self.aws_access_key_id = aws_access_key_id
self.aws_secret_access_key = aws_secret_access_key
self.aws_session_token = aws_session_token
self.endpoint_url = endpoint_url
self.region = region
self.delimiter = delimiter
self.strict = strict
self._tlocal = threading.local()
if cache_control or acl:
upload_args = upload_args or {}
if cache_control:
upload_args["CacheControl"] = cache_control
if acl:
upload_args["ACL"] = acl
self.upload_args = upload_args
self.download_args = download_args
self.config_args = config_args
super(S3FS, self).__init__()
| (self, bucket_name, dir_path='/', aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, endpoint_url=None, region=None, delimiter='/', strict=True, cache_control=None, acl=None, upload_args=None, download_args=None, config_args=None) | [
-0.010733433999121189,
0.0009114537970162928,
-0.09685052186250687,
-0.0005763340159319341,
0.008568505756556988,
0.014026428572833538,
-0.013239181600511074,
0.062403686344623566,
-0.028763297945261,
0.01839468628168106,
0.014122433960437775,
0.041167229413986206,
-0.030299389734864235,
0.021946895867586136,
-0.013219980522990227,
0.04485384747385979,
0.03650135546922684,
0.009562164545059204,
0.009490160271525383,
0.029704153537750244,
-0.005894748028367758,
0.019508352503180504,
0.04681236296892166,
0.022753342986106873,
0.014074430800974369,
0.006662793457508087,
-0.012211920693516731,
-0.006360375788062811,
0.019431548193097115,
-0.022926153615117073,
0.017780249938368797,
0.03475405275821686,
-0.009226145222783089,
0.06516864895820618,
0.024865468963980675,
-0.08471540361642838,
0.02073722518980503,
-0.040168773382902145,
-0.05975392833352089,
-0.00256095128133893,
-0.011491878889501095,
-0.015735330060124397,
0.0021817288361489773,
-0.03803744539618492,
0.04596751555800438,
0.07661252468824387,
0.02265733852982521,
0.007200425025075674,
-0.013988026417791843,
0.018058666959404945,
-0.008933327160775661,
0.06255729496479034,
-0.0033361969981342554,
-0.02425103262066841,
0.017146611586213112,
0.06470782309770584,
0.050614189356565475,
-0.017367426306009293,
-0.06858644634485245,
0.05625932291150093,
-0.010800638236105442,
0.03193148598074913,
0.04696597158908844,
-0.0012648747069761157,
-0.05691216140985489,
-0.031201843172311783,
-0.06697355210781097,
-0.03796064108610153,
-0.051267027854919434,
0.03317955881357193,
0.011808697134256363,
-0.01417043711990118,
0.012989566661417484,
-0.01851949281990528,
-0.0038426269311457872,
0.031201843172311783,
-0.024865468963980675,
0.0018829111941158772,
-0.002512948354706168,
0.004905889742076397,
-0.029972970485687256,
-0.05264950916171074,
-0.031797077506780624,
-0.03210429474711418,
0.03266112878918648,
0.04162805899977684,
0.022100504487752914,
-0.04573710262775421,
-0.013411992229521275,
0.09132058918476105,
-0.023924613371491432,
0.03043379634618759,
-0.026516765356063843,
-0.010810238309204578,
0.00816528219729662,
-0.020026782527565956,
-0.0014640864683315158,
-0.06255729496479034,
-0.020257195457816124,
0.03869028389453888,
-0.042664919048547745,
-0.03742301091551781,
0.005899548530578613,
-0.013853617943823338,
-0.008842121809720993,
-0.06132842227816582,
-0.03235391154885292,
-0.057526595890522,
-0.007968470454216003,
-0.032296307384967804,
0.04504586011171341,
0.03667416423559189,
0.008458099327981472,
0.0909365713596344,
-0.034062810242176056,
0.0026833584997802973,
-0.003393800463527441,
-0.022791745141148567,
0.0022261315025389194,
-0.06044517084956169,
0.0483100526034832,
-0.022868551313877106,
-0.004632273688912392,
0.045929111540317535,
0.06670474261045456,
-0.027476822957396507,
0.026631971821188927,
-0.023867009207606316,
-0.009542963467538357,
0.04304894059896469,
0.03959273919463158,
0.023924613371491432,
-0.00032581924460828304,
-0.028648091480135918,
0.03066421113908291,
0.001610495150089264,
0.016196155920624733,
0.042741723358631134,
-0.06086759269237518,
0.08963089436292648,
0.10760315507650375,
-0.029185723513364792,
0.023348579183220863,
-0.04562189429998398,
0.010723832994699478,
0.04147445037961006,
-0.03177787736058235,
-0.03350597992539406,
0.0028393676038831472,
0.004236250184476376,
0.006144362967461348,
0.013296784833073616,
0.054300807416439056,
0.07146661728620529,
-0.005174705758690834,
-0.05249590054154396,
-0.018039464950561523,
-0.010003790259361267,
-0.01049342006444931,
0.031297847628593445,
-0.022849349305033684,
-0.048694074153900146,
-0.01829867996275425,
-0.02066042087972164,
-0.004920290317386389,
-0.02163967862725258,
-0.021601276472210884,
-0.008232486434280872,
-0.022503728047013283,
-0.008890124969184399,
0.03383239731192589,
0.031048232689499855,
-0.05084460228681564,
0.04723478853702545,
0.0018745106644928455,
0.03721179813146591,
-0.012298326008021832,
0.02542230114340782,
-0.0008118479163385928,
-0.0887860432267189,
0.017818652093410492,
-0.005217907950282097,
0.02834087423980236,
-0.016013745218515396,
0.026804782450199127,
0.04005356505513191,
-0.025057479739189148,
0.05633612722158432,
0.04723478853702545,
0.05602890998125076,
-0.02958894707262516,
-0.015389708802103996,
-0.022369321435689926,
0.019661961123347282,
0.011674289591610432,
-0.010762235149741173,
0.022868551313877106,
-0.03398600593209267,
0.032968346029520035,
0.09001491218805313,
-0.015524116344749928,
0.02766883373260498,
0.025518307462334633,
-0.053455956280231476,
0.013459994457662106,
0.04631313309073448,
-0.014477655291557312,
0.004781082272529602,
-0.04539148136973381,
0.062134869396686554,
-0.03183548152446747,
-0.00925974640995264,
-0.005870746448636055,
0.032488320022821426,
-0.0021025240421295166,
0.02425103262066841,
0.02542230114340782,
0.05314873903989792,
-0.003626614110544324,
0.009706173092126846,
0.1072959378361702,
-0.0008064476423896849,
-0.004529067315161228,
-0.004934691358357668,
0.02064121887087822,
-0.0065235854126513,
0.04519946873188019,
-0.058371447026729584,
-0.06367096304893494,
-0.0113670714199543,
-0.006691595073789358,
-0.024807864800095558,
0.09139739722013474,
0.018260277807712555,
0.030606606975197792,
-0.04577550292015076,
0.06144362688064575,
-0.0260943416506052,
-0.027342414483428,
-0.05887067690491676,
0.006000354420393705,
-0.033563580363988876,
-0.00829968973994255,
0.0165993794798851,
-0.007094819098711014,
0.003929032012820244,
-0.010118997655808926,
0.0795694962143898,
0.019028322771191597,
-0.020084386691451073,
0.023502187803387642,
0.07749577611684799,
-0.08609788119792938,
0.008083676919341087,
0.00927414745092392,
-0.049692533910274506,
0.017981862649321556,
-0.000022032550987205468,
-0.0026809582486748695,
0.03156666457653046,
-0.03333316743373871,
-0.055376071482896805,
0.024366239085793495,
-0.0077428570948541164,
-0.008270888589322567,
0.01961395889520645,
0.03867108374834061,
-0.0728491023182869,
0.021447665989398956,
0.04723478853702545,
0.09185822308063507,
0.028532885015010834,
-0.0013404791243374348,
0.014439252205193043,
-0.030452998355031013,
-0.057372987270355225,
-0.022926153615117073,
-0.07515323907136917,
-0.009734975174069405,
0.0006300372187979519,
0.03930472210049629,
-0.0321618989109993,
0.01612895168364048,
0.06712716072797775,
0.008410096168518066,
0.012067912146449089,
-0.04738839715719223,
-0.007320432458072901,
0.008750916458666325,
0.010426215827465057,
-0.08617468923330307,
0.030817819759249687,
0.014861677773296833,
-0.012279124930500984,
0.03813345357775688,
-0.03705818951129913,
-0.06324853748083115,
-0.04270332306623459,
0.05042217671871185,
-0.0010626628063619137,
-0.032545920461416245,
0.017185015603899956,
-0.005870746448636055,
0.07123620808124542,
0.024711858481168747,
-0.023617394268512726,
0.0025081480853259563,
0.019354742020368576,
0.0213132593780756,
0.021850889548659325,
0.044009000062942505,
0.02407822199165821,
-0.03208509460091591,
0.006509184371680021,
0.02632475458085537,
0.08141280710697174,
-0.018039464950561523,
-0.005246710032224655,
-0.027630431577563286,
0.027688035741448402,
-0.0337555930018425,
0.026843184605240822,
-0.018865114077925682,
0.018749907612800598,
-0.010915844701230526,
-0.004176246467977762,
-0.017809052020311356,
0.020910033956170082,
-0.025691116228699684,
0.04704277962446213,
-0.0328531414270401,
0.03678937256336212,
-0.017684243619441986,
-0.01664738357067108,
-0.039669543504714966,
-0.037903036922216415,
-0.04439302161335945,
-0.03577171266078949,
0.03191228583455086,
0.014208839274942875,
0.06562947481870651,
0.006451581139117479,
-0.005822743754833937,
0.028052857145667076,
-0.0770733505487442,
-0.019431548193097115,
0.050690993666648865,
-0.049270108342170715,
0.040091969072818756,
-0.011683889664709568,
0.03719259798526764,
-0.009917385876178741,
0.006067558191716671,
0.05990753695368767,
0.028782499954104424,
-0.015495315194129944,
-0.017741847783327103,
-0.014928882010281086,
-0.00503549724817276,
-0.04738839715719223,
0.009946187026798725,
-0.0784558355808258,
-0.02974255569279194,
0.026343954727053642,
0.03150906041264534,
-0.021678080782294273,
0.037730228155851364,
-0.03536848723888397,
-0.02924332767724991,
0.006216367240995169,
0.010426215827465057,
-0.0458139069378376,
-0.020007580518722534,
-0.05195826664566994,
-0.012451935559511185,
-0.0033745993860065937,
-0.011722291819751263,
-0.03486925736069679,
0.007963670417666435,
0.008059675805270672,
-0.023502187803387642,
0.033045150339603424,
0.03886309638619423,
0.035733308643102646,
0.007493242621421814,
0.014112832956016064,
0.032392311841249466,
0.018404286354780197,
0.10414694994688034,
0.04907809942960739,
0.014285643585026264,
0.04185847193002701,
0.04289533197879791,
-0.025191888213157654,
-0.01687779650092125,
-0.02407822199165821,
0.004217049106955528,
-0.005630732513964176,
0.012691949494183064,
0.017453830689191818,
0.0017509034369140863,
-0.02782244235277176,
-0.005261110607534647,
0.04170486330986023,
0.011319068260490894,
0.013085572980344296,
0.04120563343167305,
0.03951593488454819,
0.01675298996269703,
0.03223870322108269,
0.04051439091563225,
-0.054608024656772614,
-0.030068974941968918,
0.023790204897522926,
-0.05234229192137718,
-0.013517598621547222,
-0.06528385728597641,
-0.000004776844434672967,
0.0197195652872324,
0.01672418788075447,
-0.03502286970615387,
-0.010013391263782978,
0.0054915244691073895,
-0.03273793309926987,
-0.009254946373403072,
-0.030280187726020813,
-0.012970365583896637,
-0.04708117991685867,
0.006869205739349127,
-0.057449791580438614,
-0.01998838037252426,
0.06616710871458054,
-0.03485005721449852,
-0.0120775131508708,
0.027784040197730064,
0.027054397389292717,
-0.03725019842386246,
0.012826357036828995,
0.005025896709412336,
0.015898538753390312,
-0.030491400510072708,
-0.044431421905756,
-0.02691998891532421,
0.027054397389292717,
-0.009518962353467941,
0.010397413745522499,
-0.037999045103788376,
0.04039918631315231,
0.0721578598022461,
-0.012451935559511185,
-0.004245850723236799,
0.04097522050142288,
-0.03955433517694473,
-0.006797201465815306,
-0.0721578598022461,
-0.02425103262066841,
0.05583689734339714,
0.003984235227108002,
-0.026363156735897064,
-0.044585034251213074,
0.0069364095106720924,
0.00040412385715171695,
0.04807963967323303,
-0.017079409211874008,
-0.024865468963980675,
0.010589425452053547,
0.039074309170246124,
0.03131704777479172,
-0.029723355546593666,
-0.09185822308063507,
0.008904526010155678,
0.0075172437354922295,
-0.061558835208415985,
0.03536848723888397,
-0.0017737047746777534,
-0.013402391225099564,
-0.009518962353467941,
-0.042319297790527344,
-0.0334099717438221,
-0.012519138865172863,
-0.00792526826262474,
-0.05741139128804207,
-0.012720751576125622,
0.04673555865883827,
0.022753342986106873,
-0.02901291288435459,
0.021620476618409157,
-0.0011232662945985794,
0.08049115538597107,
-0.006662793457508087,
-0.03333316743373871,
0.0007638451061211526,
-0.03390920162200928,
0.002865769201889634,
-0.015812134370207787,
0.02816806361079216,
-0.01702180504798889,
0.04254971072077751,
-0.0239822156727314,
-0.0047162785194814205,
0.007171623408794403,
-0.02924332767724991,
-0.055030450224876404,
-0.0001475337048759684,
0.009850181639194489,
0.023214170709252357,
-0.07188904285430908,
-0.026555167511105537,
0.0038066247943788767,
-0.049846142530441284,
0.008510902523994446,
0.032795537263154984,
-0.035733308643102646,
0.022292517125606537,
-0.0077428570948541164,
0.0209676381200552,
-0.053110335022211075,
0.003998636268079281,
-0.015447312034666538,
0.014909680001437664,
0.024020617827773094,
-0.03365958854556084,
0.01655137725174427,
-0.036731768399477005,
-0.07645891606807709,
0.01931633986532688,
0.072081059217453,
-0.018481090664863586,
0.02523029036819935,
0.015360906720161438,
-0.07077538222074509,
-0.028398476541042328,
-0.05775700882077217,
0.03367878869175911,
0.0030601806938648224,
0.10007631033658981,
-0.02407822199165821,
-0.0013212780468165874,
-0.05549127608537674,
-0.03571410849690437,
0.03427402302622795,
0.02405901998281479,
0.024385439231991768,
-0.02966575138270855,
-0.05084460228681564,
-0.012912762351334095,
-0.01782825216650963,
-0.01545691303908825,
0.05610571429133415,
-0.027284810319542885,
0.033045150339603424,
-0.035886917263269424,
0.01295116450637579,
-0.014468054287135601,
0.04162805899977684,
-0.04189687222242355,
0.013604003004729748,
-0.07269549369812012,
-0.0026137542445212603,
-0.01929713971912861,
-0.02448144555091858,
0.07918547838926315,
-0.03273793309926987,
-0.019354742020368576,
0.058563459664583206,
-0.0039386325515806675,
0.0639013722538948,
-0.0014028828591108322,
0.0006576388259418309,
0.007349234074354172,
-0.02657436951994896,
0.04439302161335945,
-0.03360198438167572,
0.022465325891971588,
-0.010118997655808926,
0.005150704178959131,
-0.0025201488751918077,
0.003252191934734583,
-0.004224249627441168,
-0.04235770180821419,
0.018260277807712555,
-0.0331987589597702,
-0.020045984536409378,
0.005021096672862768,
-0.06666633486747742,
0.0020725224167108536,
-0.029896166175603867,
0.021601276472210884,
-0.03492686152458191,
0.027438420802354813,
-0.028782499954104424,
-0.07127460837364197,
0.0048842886462807655,
-0.012807155959308147,
-0.026881586760282516,
-0.008846922777593136,
0.021678080782294273,
-0.053033530712127686,
0.03398600593209267,
0.005721937865018845,
-0.02974255569279194,
0.04896289110183716,
-0.0094613591209054,
0.038824692368507385,
0.015888938680291176,
0.012557541951537132,
-0.022119706496596336,
0.04907809942960739,
-0.05257270485162735,
-0.002246532589197159,
-0.016148153692483902,
-0.0041066426783800125,
0.04374018311500549,
0.014439252205193043,
0.00499229459092021,
0.04289533197879791,
-0.03617493435740471,
0.03571410849690437,
0.03208509460091591,
-0.03477325290441513,
-0.006326773669570684,
-0.07780299335718155,
-0.045583490282297134,
0.05541447177529335,
-0.08901645988225937,
-0.05287992209196091,
0.047695618122816086,
-0.04147445037961006,
-0.01392082218080759,
0.018759507685899734,
0.010387813672423363,
-0.06194285675883293,
0.054876841604709625,
-0.04454663023352623,
0.06144362688064575,
0.03458124026656151,
-0.034811656922101974,
0.0394391305744648,
0.014986485242843628,
-0.02908971719443798,
0.03918951377272606,
0.015178496018052101,
0.010925444774329662,
0.023348579183220863,
-0.04327935725450516,
-0.051612649112939835,
0.027265610173344612,
-0.011587884277105331,
0.0784558355808258,
-0.004682676400989294,
-0.02824486792087555,
0.041743263602256775,
0.0016824993072077632,
-0.003473005024716258,
-0.05476163327693939,
-0.03294914588332176,
-0.018807509914040565,
-0.0392279177904129,
0.054608024656772614,
-0.025710318237543106,
0.013296784833073616,
-0.031720273196697235,
-0.004260251764208078,
0.06102120503783226,
-0.036386147141456604,
-0.03993835672736168,
0.025038277730345726,
-0.006062758155167103,
0.009830980561673641,
0.03461964428424835,
0.017732247710227966,
0.027054397389292717,
-0.019162731245160103,
0.01257674302905798,
-0.03300675004720688,
-0.04374018311500549,
0.07365554571151733,
-0.05264950916171074,
0.008880523964762688,
0.012653547339141369,
-0.03068341128528118,
0.040245577692985535,
0.02776484005153179,
0.011232662945985794,
0.022042902186512947,
0.0036458151880651712,
0.022023700177669525,
-0.03344837576150894,
-0.003172987373545766,
-0.02841767854988575,
0.0229069534689188,
0.009734975174069405,
-0.00886132288724184,
-0.03947753086686134,
-0.07949269562959671,
-0.023348579183220863,
0.05998434126377106,
-0.035234078764915466,
0.058717068284749985,
-0.04151285067200661,
0.01769384555518627,
0.019575556740164757,
0.0050690993666648865,
0.00010853140702238306,
0.002080922946333885,
-0.007512443698942661,
-0.005016296170651913,
0.005193906836211681,
-0.008006872609257698,
-0.029800159856677055,
0.03538769111037254,
-0.01470806822180748,
0.015466513112187386,
0.0060051544569432735,
0.0008850522572174668,
0.07223466783761978,
0.01470806822180748,
-0.049423716962337494,
0.02390541136264801,
-0.027284810319542885,
-0.0061011603102087975,
-0.061635639518499374,
-0.037730228155851364,
0.043087344616651535,
0.012807155959308147,
-0.08202724158763885,
-0.07077538222074509,
0.062134869396686554,
0.018279479816555977,
0.022446125745773315,
0.012643946334719658,
0.04205048456788063,
-0.03231550753116608,
0.04708117991685867,
0.004514666739851236,
-0.06132842227816582,
0.04212728887796402,
0.034389231353998184,
0.010455016978085041,
0.09539123624563217,
0.005093100946396589,
-0.013085572980344296,
-0.018481090664863586,
-0.02039160393178463,
-0.005030697211623192,
0.03026098757982254,
0.016397768631577492,
0.014304844662547112,
-0.04662035405635834,
0.03901670500636101,
0.001330878585577011,
-0.02841767854988575,
-0.003427402349188924,
0.023502187803387642,
-0.037499815225601196,
-0.06689675152301788,
-0.0657062828540802,
-0.0034346028696745634,
-0.007982871495187283,
-0.02440464124083519,
-0.06374776363372803,
-0.04139764606952667,
0.04239610210061073,
0.011002250015735626,
0.03243071585893631,
0.08425457775592804,
0.021370861679315567,
0.01946995034813881
] |
18,441 | miarec_s3fs.s3fs | __repr__ | null | def __repr__(self):
return _make_repr(
self.__class__.__name__,
self._bucket_name,
dir_path=(self.dir_path, "/"),
region=(self.region, None),
delimiter=(self.delimiter, "/"),
)
| (self) | [
0.033339571207761765,
-0.045618850737810135,
-0.033410243690013885,
-0.02074226550757885,
0.043109990656375885,
-0.0391523502767086,
0.01719982549548149,
0.004827789030969143,
0.0296116154640913,
-0.021095626056194305,
0.00780485151335597,
0.009699747897684574,
-0.029894305393099785,
0.03975306451320648,
-0.04190856218338013,
0.043746039271354675,
-0.009222710505127907,
-0.034275975078344345,
0.019752856343984604,
0.06971804052591324,
-0.024947255849838257,
0.021272307261824608,
0.05961192771792412,
-0.05862252041697502,
0.025141604244709015,
0.01853376254439354,
-0.0035623162984848022,
-0.012270445935428143,
0.010273958556354046,
-0.03074236959218979,
-0.03650214895606041,
-0.060742683708667755,
0.011307538487017155,
0.003425389062613249,
0.01416975911706686,
-0.023604486137628555,
-0.00113517080899328,
-0.010980679653584957,
-0.012977167032659054,
-0.03339257463812828,
0.03485902026295662,
0.002093661343678832,
-0.021325310692191124,
-0.07632588595151901,
0.03897567093372345,
0.043675366789102554,
0.06236813962459564,
-0.022756420075893402,
-0.009364055469632149,
-0.03134308382868767,
0.021890686824917793,
0.07077812403440475,
-0.05102526769042015,
-0.0015846013557165861,
-0.043675366789102554,
-0.0055654291063547134,
0.08452384918928146,
-0.01070682518184185,
-0.025106268003582954,
0.05289807915687561,
-0.026113346219062805,
0.009832258336246014,
0.06417027860879898,
-0.045689523220062256,
0.0034209720324724913,
-0.0133835319429636,
-0.07908209413290024,
-0.012129101902246475,
-0.038798991590738297,
0.05530092865228653,
0.04084848240017891,
-0.05296875163912773,
-0.0051855663768947124,
-0.006130806170403957,
-0.05643168464303017,
-0.019947204738855362,
-0.009584905579686165,
-0.0019799235742539167,
0.012712146155536175,
-0.06272149831056595,
-0.032968539744615555,
-0.04095448926091194,
-0.006404660176485777,
-0.04286263883113861,
0.050000522285699844,
0.006360490340739489,
-0.009717416018247604,
-0.04788035899400711,
-0.03021232970058918,
0.03855163976550102,
-0.00036743978853337467,
0.03577775880694389,
-0.04519481584429741,
-0.0021775844506919384,
-0.005538926925510168,
-0.04462943971157074,
-0.01659027859568596,
-0.0608840249478817,
0.05674970895051956,
-0.008003616705536842,
-0.002055012620985508,
-0.019982540979981422,
0.0008541387505829334,
-0.01716448925435543,
-0.03542439639568329,
-0.015441857278347015,
-0.02017688937485218,
0.002966020256280899,
-0.02984130010008812,
-0.0043242499232292175,
0.0034739761613309383,
0.10056641697883606,
0.00708487955853343,
0.011846412904560566,
0.029134579002857208,
0.0069435350596904755,
-0.015901226550340652,
-0.01609557494521141,
0.04204990714788437,
-0.03837495669722557,
0.007164385635405779,
0.006157307885587215,
-0.018851786851882935,
0.013851734809577465,
-0.024947255849838257,
0.036855507642030716,
-0.034647002816200256,
0.015026658773422241,
-0.032668184489011765,
-0.043109990656375885,
0.037526894360780716,
0.020353568717837334,
-0.07844604551792145,
-0.014364107511937618,
0.06031864881515503,
0.03851630166172981,
0.05551294609904289,
0.039470374584198,
-0.009699747897684574,
0.1314501315355301,
0.06940001994371414,
-0.03563641384243965,
0.02683773636817932,
0.03107806295156479,
-0.015618537552654743,
-0.0004607490554917604,
0.021395983174443245,
0.059541255235672,
0.024664567783474922,
-0.028480861335992813,
0.030318336561322212,
0.03204980492591858,
0.06484166532754898,
0.009037196636199951,
-0.003924510907381773,
-0.012932997196912766,
-0.019947204738855362,
-0.0031780365388840437,
0.007341065909713507,
-0.038692981004714966,
-0.017959551885724068,
-0.05074257776141167,
-0.0002777193149086088,
-0.0334632471203804,
0.014982488006353378,
0.016855299472808838,
0.05968260020017624,
-0.016051404178142548,
-0.010008938610553741,
-0.013807564042508602,
0.017853543162345886,
-0.05155530944466591,
-0.10466539859771729,
0.07233291119337082,
-0.02182001620531082,
0.07625520974397659,
-0.02067159302532673,
0.08205032348632812,
-0.019152143970131874,
-0.060035962611436844,
0.02800382487475872,
-0.04533616080880165,
-0.00704954331740737,
0.03503569960594177,
0.020053211599588394,
-0.0605660006403923,
0.013719224371016026,
0.0032619598787277937,
0.05992995202541351,
0.03268585354089737,
-0.028463194146752357,
0.021024953573942184,
-0.013100842945277691,
0.031237075105309486,
0.016546109691262245,
-0.07176753133535385,
-0.013604382053017616,
-0.028180506080389023,
-0.02047724463045597,
0.053781479597091675,
-0.017880044877529144,
0.03208513930439949,
0.0031250326428562403,
-0.04420540854334831,
0.05639634653925896,
0.012773985043168068,
-0.019629180431365967,
-0.04703229293227196,
0.028321849182248116,
0.032261818647384644,
-0.005976210813969374,
0.014982488006353378,
-0.013304025866091251,
-0.013604382053017616,
0.01769453100860119,
-0.004299956373870373,
-0.038586974143981934,
-0.0005858055665157735,
-0.018957795575261116,
0.01682879775762558,
0.07102547585964203,
-0.028993235900998116,
0.013816398568451405,
-0.04261528328061104,
-0.06102536991238594,
-0.03598977252840996,
0.041767220944166183,
-0.020159220322966576,
-0.017341170459985733,
-0.02713809162378311,
-0.014947152696549892,
-0.05035388097167015,
-0.018922459334135056,
-0.0003594339650589973,
-0.008577828295528889,
0.0076193371787667274,
-0.03593676909804344,
-0.0032995042856782675,
0.022827092558145523,
0.015000156126916409,
-0.024081522598862648,
0.02602500654757023,
0.014461281709372997,
0.007928527891635895,
0.026237022131681442,
-0.0665731355547905,
-0.014311103150248528,
0.09060165286064148,
0.04197923466563225,
0.0002018020168179646,
0.035813093185424805,
0.0035733587574213743,
-0.07003606855869293,
0.012986000627279282,
0.04233259707689285,
-0.03770357370376587,
-0.03510637208819389,
-0.021802347153425217,
0.017146822065114975,
0.033145222812891006,
-0.012977167032659054,
-0.0645943135023117,
0.03395795077085495,
0.0015338057419285178,
0.023480810225009918,
0.025618640705943108,
0.011722736991941929,
-0.0384809672832489,
0.021837683394551277,
0.05272139608860016,
0.07484176754951477,
0.04572485759854317,
-0.05961192771792412,
0.02650204300880432,
-0.062014780938625336,
-0.06848128139972687,
-0.01083933562040329,
-0.013277523219585419,
-0.03540673106908798,
-0.06597241759300232,
-0.012676810845732689,
-0.01849842630326748,
0.006422328297048807,
-0.012844656594097614,
0.04409939795732498,
-0.02044190838932991,
-0.0032310406677424908,
-0.02542429231107235,
0.0029262672178447247,
0.030194660648703575,
-0.00811404176056385,
0.023268794640898705,
-0.05992995202541351,
-0.01426693331450224,
0.08106091618537903,
-0.037350211292505264,
-0.008489487692713737,
-0.01244712620973587,
0.00590553879737854,
0.026608051732182503,
-0.0428273007273674,
-0.018922459334135056,
0.06120205298066139,
0.07335765659809113,
-0.04798636585474014,
0.026643387973308563,
0.015397686511278152,
0.015035492368042469,
0.023445473983883858,
0.020565586164593697,
-0.01719982549548149,
0.014408277347683907,
0.02980596385896206,
0.06565439701080322,
0.01235878560692072,
0.044982802122831345,
-0.02385183796286583,
0.0042646205984056,
0.005207651294767857,
0.051979340612888336,
-0.03561874479055405,
0.039223022758960724,
-0.03475301340222359,
0.03208513930439949,
0.03439965099096298,
-0.044382087886333466,
-0.06706783920526505,
0.04862241446971893,
0.0006680723163299263,
0.04678494110703468,
-0.011996591463685036,
-0.01920514740049839,
0.0033525084145367146,
0.03773890808224678,
0.03415229916572571,
-0.0006321841501630843,
0.009023945778608322,
-0.032173480838537216,
-0.03706752508878708,
-0.028887227177619934,
0.0702834203839302,
0.004752699751406908,
0.0062500652857124805,
-0.005234153475612402,
-0.08508922904729843,
-0.004832205828279257,
0.02710275538265705,
-0.022403059527277946,
0.01819806918501854,
0.0075177461840212345,
-0.013410033658146858,
0.0005223110783845186,
0.02077760174870491,
0.039894409477710724,
0.008427649736404419,
-0.016970140859484673,
-0.04070713743567467,
0.019381826743483543,
-0.03107806295156479,
0.0615554116666317,
0.04102516174316406,
-0.06671447306871414,
0.0031669940799474716,
0.001329519203864038,
0.01349837426096201,
-0.022473732009530067,
-0.0061528910882771015,
-0.026237022131681442,
0.010079610161483288,
-0.013595548458397388,
-0.060035962611436844,
-0.038692981004714966,
-0.02733244001865387,
-0.08749207854270935,
-0.03629013150930405,
0.030495017766952515,
-0.009028363041579723,
-0.017827041447162628,
-0.03376360237598419,
-0.03549506887793541,
0.022067368030548096,
0.035318389534950256,
0.053110092878341675,
0.02841019071638584,
-0.0019953830633312464,
0.041837893426418304,
0.04031844064593315,
0.03720887005329132,
0.027756473049521446,
-0.006568089593201876,
-0.050000522285699844,
0.013781062327325344,
0.011307538487017155,
0.01739417389035225,
-0.04759766906499863,
-0.05409950390458107,
0.0026016172487288713,
-0.055795636028051376,
-0.02385183796286583,
0.008630831725895405,
0.03272118791937828,
-0.01492065005004406,
-0.050636570900678635,
0.006921450141817331,
0.007826936431229115,
-0.050035856664180756,
0.03664349019527435,
0.04166121035814285,
0.015371184796094894,
-0.037491556257009506,
0.011086688376963139,
-0.06717384606599808,
-0.03625479340553284,
-0.010954177938401699,
0.04798636585474014,
-0.022526737302541733,
-0.03466467186808586,
-0.009682079777121544,
-0.006417911499738693,
0.026820067316293716,
-0.04077780991792679,
0.005547760985791683,
0.030495017766952515,
-0.0007564124534837902,
0.013242187909781933,
-0.017146822065114975,
-0.03616645559668541,
-0.020565586164593697,
0.07070744782686234,
0.01008844468742609,
-0.0056626033037900925,
0.004730614833533764,
-0.0141344228759408,
0.0058746193535625935,
0.04943514242768288,
-0.03826894983649254,
0.018445421010255814,
-0.012667976319789886,
0.00423149298876524,
0.0696120336651802,
0.022067368030548096,
-0.05364013463258743,
-0.008993026800453663,
-0.015335848554968834,
0.012120267376303673,
0.05077791586518288,
-0.0508485846221447,
-0.0024072688538581133,
0.0866440162062645,
-0.012164438143372536,
0.04208524525165558,
0.01403724867850542,
-0.018445421010255814,
-0.028427857905626297,
-0.05583097040653229,
-0.04017709568142891,
0.031095730140805244,
-0.028922563418745995,
-0.0063516562804579735,
-0.010388800874352455,
-0.01428460143506527,
0.028516197577118874,
0.03044201247394085,
0.024381879717111588,
0.0014918441884219646,
-0.042509276419878006,
0.028586870059370995,
0.021802347153425217,
-0.04544217139482498,
-0.05159064382314682,
0.0065327538177371025,
0.021625667810440063,
-0.04576019570231438,
0.02766813337802887,
-0.003694826504215598,
0.05650235712528229,
0.007451490964740515,
-0.006837527267634869,
-0.04212057963013649,
-0.052544716745615005,
-0.068905308842659,
-0.05745643004775047,
-0.02114862948656082,
0.01846309006214142,
0.005936457775533199,
0.021855350583791733,
-0.011599061079323292,
0.05918789654970169,
0.061449404805898666,
-0.019858865067362785,
-0.005967376753687859,
0.06579574197530746,
-0.11971855908632278,
0.03667882829904556,
-0.023198122158646584,
0.04720897227525711,
-0.006877280306071043,
-0.011051352135837078,
-0.054488200694322586,
-0.0058746193535625935,
0.025335952639579773,
-0.0279331523925066,
0.002387392334640026,
-0.005914372391998768,
0.000013138870599505026,
-0.033569253981113434,
0.026378367096185684,
0.01162556279450655,
0.018657438457012177,
-0.053816813975572586,
0.037350211292505264,
-0.03257984668016434,
0.021501990035176277,
0.020865941420197487,
-0.06643179059028625,
-0.002793757012113929,
-0.03528305143117905,
0.010565481148660183,
-0.012800486758351326,
0.016519606113433838,
-0.001794409123249352,
-0.007239474914968014,
-0.04010642319917679,
-0.03727953881025314,
-0.05706773325800896,
0.014673298224806786,
0.027155760675668716,
-0.0034695591311901808,
-0.04095448926091194,
0.05049522593617439,
-0.02609567902982235,
-0.016669785603880882,
0.0019423789344727993,
-0.003129449672996998,
-0.048799093812704086,
0.1424749791622162,
-0.05713840574026108,
0.047562334686517715,
-0.010424137115478516,
-0.00019876532314810902,
0.0327741913497448,
-0.008105208165943623,
-0.007813685573637486,
-0.04576019570231438,
-0.03851630166172981,
-0.00039200938772410154,
0.04399339109659195,
0.00017502390255685896,
0.08558393269777298,
-0.05279206857085228,
0.0869973748922348,
-0.02662571892142296,
0.01415209099650383,
-0.03406395763158798,
0.037385549396276474,
0.03759756311774254,
0.0018496217671781778,
-0.0364668108522892,
-0.00780485151335597,
0.00039559821016155183,
0.015839388594031334,
0.06166141852736473,
0.020388904958963394,
-0.008582244627177715,
0.07470042258501053,
0.05724441260099411,
0.0077165113762021065,
0.03325122967362404,
-0.007672341540455818,
-0.00621472904458642,
0.008599912747740746,
0.016069071367383003,
0.07049543410539627,
-0.008856099098920822,
-0.007769515737891197,
0.00749566126614809,
0.020017877221107483,
0.039293695241212845,
0.017049647867679596,
-0.05784512683749199,
0.008153795264661312,
-0.02178467996418476,
-0.021166298538446426,
-0.026148682460188866,
-0.05466488003730774,
0.014054916799068451,
-0.061449404805898666,
0.011360542848706245,
0.047526996582746506,
0.003480601590126753,
0.006135222967714071,
-0.02355148270726204,
0.015353516675531864,
-0.020936613902449608,
0.03335723653435707,
-0.03164343908429146,
0.007093713618814945,
-0.03602511063218117,
-0.006652012933045626,
-0.0031228240113705397,
0.023940179497003555,
0.044240742921829224,
0.00317361974157393,
0.0742763951420784,
0.006453247275203466,
-0.0015658290358260274,
0.03044201247394085,
0.021219301968812943,
-0.003935553599148989,
0.016007233411073685,
-0.024081522598862648,
0.009549569338560104,
-0.018021389842033386,
-0.0732869803905487,
-0.0050000520423054695,
-0.002575115067884326,
-0.025353621691465378,
0.014849978499114513,
-0.025247612968087196,
0.017270497977733612,
-0.003467350732535124,
-0.010353464633226395,
-0.043675366789102554,
0.050565898418426514,
-0.0619087740778923,
-0.030495017766952515,
0.006157307885587215,
-0.013560212217271328,
0.05148463696241379,
-0.027244100347161293,
0.010644987225532532,
-0.04473545029759407,
0.02385183796286583,
-0.05547761172056198,
-0.024770576506853104,
0.03632546588778496,
-0.0163959302008152,
0.028021493926644325,
-0.05706773325800896,
0.0357954278588295,
0.01632525771856308,
-0.013471871614456177,
-0.06742119789123535,
0.013789895921945572,
-0.06597241759300232,
-0.03231482580304146,
0.022738752886652946,
-0.04664359614253044,
0.002497817622497678,
-0.056361012160778046,
-0.02616634964942932,
0.031095730140805244,
0.02197902835905552,
-0.027844812721014023,
-0.04544217139482498,
0.012826988473534584,
0.0022615075577050447,
0.005110477097332478,
-0.02261507697403431,
-0.016086740419268608,
-0.0026413702871650457,
-0.05243870988488197,
-0.05604298785328865,
-0.017941882833838463,
0.025812989100813866,
0.01709381863474846,
0.009611407294869423,
0.042473942041397095,
0.002043970162048936,
-0.015362351201474667,
0.012235109694302082,
0.025106268003582954,
-0.03196146339178085,
-0.05784512683749199,
-0.05466488003730774,
-0.015168002806603909,
0.03657281771302223,
0.03943504020571709,
0.05590164288878441,
-0.007756264414638281,
-0.022491401061415672,
0.014143256470561028,
-0.023003773763775826,
-0.0038140856195241213,
0.052509382367134094,
0.026378367096185684,
-0.023198122158646584,
0.0018286409322172403,
0.016713954508304596,
-0.025636309757828712,
0.00670943409204483,
-0.04134318605065346,
0.008091957308351994,
-0.0029262672178447247,
-0.00816262885928154,
0.051201947033405304,
0.09053097665309906,
-0.09915297478437424,
0.03766823559999466,
-0.021519659087061882,
0.03600744158029556,
0.031431421637535095,
0.045654185116291046,
-0.016086740419268608,
0.049399808049201965,
0.007575167343020439,
0.06742119789123535,
-0.006201478186994791,
-0.02639603428542614,
0.0046422746963799,
0.02800382487475872,
0.09766886383295059,
-0.006117554847151041,
-0.055018242448568344,
0.019081471487879753,
0.03409929573535919,
0.03335723653435707,
0.004549517296254635,
0.0047880359925329685,
-0.02841019071638584,
-0.02646670676767826,
-0.014425945468246937,
0.034576330333948135,
0.014417110942304134,
0.043675366789102554,
0.053039420396089554,
-0.06215612590312958,
0.013648551888763905,
-0.045689523220062256,
0.0185690987855196,
-0.021183965727686882,
0.04706762731075287,
-0.025583306327462196,
-0.0033745935652405024,
0.05957659333944321,
-0.04197923466563225,
0.017305834218859673,
-0.01909913867712021,
0.03130774572491646,
0.06017730385065079,
0.02632536180317402,
0.04385204613208771,
0.023498477414250374,
0.015945395454764366,
-0.006992122158408165,
-0.006174976006150246,
0.01853376254439354,
0.051343291997909546,
-0.017482513561844826,
0.04908178374171257,
0.041307851672172546,
0.024010850116610527,
-0.02747378498315811,
0.01336586382240057,
-0.012508964166045189,
-0.0719442144036293,
0.019735187292099,
0.027491452172398567,
0.01490298192948103,
-0.02505326457321644,
-0.03724420443177223,
-0.039929743856191635,
0.012129101902246475,
0.03369292989373207,
0.01231461577117443,
0.061308059841394424,
0.0168906357139349,
-0.04915245622396469
] |
18,442 | miarec_s3fs.s3fs | __str__ | null | def __str__(self):
return "<s3fs '{}'>".format(join(self._bucket_name, relpath(self.dir_path)))
| (self) | [
-0.004568551201373339,
-0.02160777896642685,
-0.03039943240582943,
0.02585679106414318,
0.059209804981946945,
-0.026064058765769005,
0.011943868361413479,
0.027843117713928223,
0.03882836550474167,
0.0020392234437167645,
0.006701693404465914,
0.002000360516831279,
-0.03613387048244476,
0.02247139997780323,
-0.0067189657129347324,
0.04031379520893097,
-0.011088884435594082,
-0.027912206947803497,
0.04411372169852257,
0.04483916237950325,
-0.03637568652629852,
0.04988270625472069,
0.0529571957886219,
-0.07986760139465332,
0.008623247966170311,
0.014862904325127602,
0.004555596970021725,
-0.023887736722826958,
-0.019535090774297714,
-0.050919052213430405,
-0.022765029221773148,
-0.04242102801799774,
0.02297229878604412,
-0.010423896834254265,
-0.024302273988723755,
-0.013291115872561932,
0.0050305877812206745,
-0.01608060859143734,
-0.036237504333257675,
-0.038344740867614746,
0.007638721261173487,
0.013334296643733978,
-0.031815771013498306,
-0.06363154202699661,
0.03627205267548561,
0.06076432019472122,
0.01512199081480503,
0.02737676165997982,
0.0058769360184669495,
0.007768264040350914,
0.020018717274069786,
0.06238792836666107,
-0.0467391274869442,
-0.04698094353079796,
-0.033853914588689804,
-0.0028197201900184155,
0.039519261568784714,
-0.06801873445510864,
-0.036962948739528656,
0.05654985457658768,
0.03136668726801872,
0.008053258992731571,
0.06539332866668701,
-0.0011475353967398405,
-0.013783379457890987,
0.011658873409032822,
-0.03955380618572235,
-0.017591943964362144,
-0.01620151661336422,
0.03775747865438461,
0.01932782121002674,
-0.03338756039738655,
0.007569631561636925,
0.010337534360587597,
-0.012332497164607048,
-0.005224902648478746,
-0.012410223484039307,
-0.03039943240582943,
0.013342932797968388,
-0.04183376580476761,
-0.03114214725792408,
-0.0664987564086914,
-0.02222958579659462,
-0.0788312554359436,
0.014681544154882431,
0.005950343795120716,
-0.027687665075063705,
-0.06905507296323776,
-0.005095359403640032,
0.024129550904035568,
0.009214827790856361,
0.022195041179656982,
-0.022056860849261284,
-0.0009850668720901012,
-0.017591943964362144,
-0.030313070863485336,
-0.026806773617863655,
-0.07924579828977585,
0.02977762743830681,
0.0072716823779046535,
0.04373373091220856,
-0.000271635566605255,
-0.0016603099647909403,
0.014811087399721146,
-0.008156893774867058,
-0.04311192408204079,
-0.04680821672081947,
-0.014396550133824348,
0.005250811111181974,
0.023455927148461342,
-0.0005502880085259676,
0.03328392654657364,
0.005540124140679836,
0.023300474509596825,
0.03445844724774361,
-0.0214696004986763,
0.0025779064744710922,
0.0051169502548873425,
0.03865564242005348,
-0.04034833982586861,
0.04798274114727974,
0.009758909232914448,
-0.04922635480761528,
-0.010432532988488674,
0.004711048677563667,
0.020018717274069786,
-0.011166609823703766,
0.0011453763581812382,
-0.023421380668878555,
-0.018878739327192307,
0.013213389553129673,
0.024941353127360344,
-0.07185320556163788,
-0.019794177263975143,
0.08808926492929459,
0.016909684985876083,
0.03727385029196739,
0.04055560752749443,
0.008636202663183212,
0.14232461154460907,
0.06314790993928909,
-0.027359489351511,
0.021314147859811783,
-0.01431018766015768,
0.010087084956467152,
0.055962592363357544,
0.0006666068802587688,
0.01846420206129551,
-0.007543723098933697,
-0.03554660826921463,
0.029950350522994995,
0.0257358830422163,
0.06048796325922012,
0.016616053879261017,
-0.01494926679879427,
0.0035257297568023205,
-0.01910327933728695,
-0.009318462572991848,
-0.004685139749199152,
-0.02900036796927452,
0.013671108521521091,
-0.04490825533866882,
-0.02827492728829384,
-0.00342425424605608,
0.020916882902383804,
-0.0009726523421704769,
-0.01067434623837471,
0.04705003276467323,
0.00035192526411265135,
0.004698093980550766,
0.009767545387148857,
-0.014189280569553375,
-0.06905507296323776,
0.04342282563447952,
0.010207991115748882,
0.04318101331591606,
-0.02437136322259903,
0.06646421551704407,
0.017738759517669678,
-0.10204537212848663,
-0.00023007384152151644,
-0.02927672676742077,
0.018308749422430992,
0.028326744213700294,
-0.006684420630335808,
0.002808924997225404,
-0.0198459941893816,
0.03400936722755432,
0.04725730046629906,
-0.0013947467086836696,
-0.05585895851254463,
0.04169558733701706,
-0.046255502849817276,
0.006986687891185284,
0.012531129643321037,
-0.05102268606424332,
0.038102924823760986,
-0.03730839490890503,
-0.007638721261173487,
0.028810372576117516,
-0.00706873182207346,
0.058829810470342636,
0.005376036278903484,
-0.02862037532031536,
0.03540842980146408,
0.01393019501119852,
0.010700254701077938,
-0.007893488742411137,
-0.04217921197414398,
0.06390789896249771,
0.0051299044862389565,
0.01982872188091278,
-0.027704937383532524,
-0.03312847390770912,
0.017557399347424507,
-0.012038866057991982,
-0.04359555244445801,
0.031573954969644547,
-0.033232107758522034,
0.029794899746775627,
0.04428644850850105,
-0.04345737025141716,
-0.003486866829916835,
-0.026806773617863655,
-0.046670038253068924,
-0.02701404131948948,
0.0582425519824028,
-0.01908600702881813,
-0.026910407468676567,
-0.03445844724774361,
-0.027687665075063705,
-0.04311192408204079,
0.045150067657232285,
0.047913651913404465,
0.034078456461429596,
0.016736960038542747,
-0.012375677935779095,
-0.006809645798057318,
-0.0226268507540226,
-0.030831243842840195,
-0.03274847939610481,
-0.027774028480052948,
0.006736238021403551,
0.009171647019684315,
0.04034833982586861,
-0.04197194427251816,
-0.009689819067716599,
0.036859311163425446,
0.022264130413532257,
-0.0015545164933428168,
0.08477296680212021,
0.04107378050684929,
-0.05952070653438568,
-0.019535090774297714,
0.03228212520480156,
-0.0758604034781456,
-0.01894782856106758,
-0.023818647488951683,
0.00227563944645226,
0.027981296181678772,
-0.03803383558988571,
-0.05817345902323723,
0.000010795252819661982,
-0.003165168222039938,
-0.02362865023314953,
-0.002187118399888277,
-0.010821161791682243,
-0.010441169142723083,
0.019414182752370834,
0.027929479256272316,
0.07945306599140167,
0.03934653848409653,
-0.04656640440225601,
0.001013674307614565,
-0.029363088309764862,
-0.07143867015838623,
-0.035097528249025345,
0.010225263424217701,
-0.0361684150993824,
-0.04131559282541275,
-0.005324218887835741,
-0.04031379520893097,
-0.003871177788823843,
0.035477519035339355,
0.0323684886097908,
-0.036755677312612534,
0.005514215212315321,
-0.05426989868283272,
0.0008938469691202044,
0.036721132695674896,
0.015398349612951279,
0.01872328668832779,
-0.05689530447125435,
-0.03855200856924057,
0.029570357874035835,
-0.03851746395230293,
0.018136026337742805,
-0.007854626514017582,
0.046911854296922684,
0.03024398162961006,
-0.0638042613863945,
0.017574671655893326,
0.048051830381155014,
0.0332493782043457,
-0.03730839490890503,
0.004322419408708811,
-0.018775103613734245,
-0.030589429661631584,
0.026150422170758247,
0.03226485475897789,
-0.003523570718243718,
0.0032580073457211256,
0.024716811254620552,
0.06746601313352585,
0.03014034777879715,
0.10923068970441818,
-0.031815771013498306,
0.025044986978173256,
-0.006995324045419693,
0.0382065586745739,
-0.025148622691631317,
0.060971591621637344,
-0.03851746395230293,
0.035097528249025345,
0.01994962804019451,
-0.056446220725774765,
-0.050677236169576645,
0.013653836213052273,
-0.007392589468508959,
0.03366391733288765,
0.01650378294289112,
-0.03178122639656067,
0.013049301691353321,
-0.0090421037748456,
-0.02171141281723976,
0.03872473165392876,
0.040901053696870804,
-0.025079531595110893,
-0.0022864346392452717,
0.017211951315402985,
0.09306371957063675,
0.008973014540970325,
-0.0012565674260258675,
0.01820511557161808,
-0.08518750220537186,
0.00922346394509077,
0.025062259286642075,
-0.023179568350315094,
0.010423896834254265,
-0.01908600702881813,
0.020761430263519287,
-0.02787766233086586,
0.013429295271635056,
0.009137102402746677,
0.022937754169106483,
0.02549407072365284,
-0.01412882748991251,
0.028775827959179878,
-0.028067657724022865,
0.04508097842335701,
0.03796474635601044,
-0.06615331023931503,
0.023766828700900078,
0.008204392157495022,
0.037999290972948074,
0.006187838967889547,
0.029466724023222923,
-0.013481112197041512,
0.018153298646211624,
0.0031198281794786453,
-0.04383736476302147,
-0.00023101842089090496,
-0.016926957294344902,
-0.06532423943281174,
-0.020571434870362282,
0.05033179000020027,
0.01818784326314926,
-0.026064058765769005,
-0.02136596478521824,
-0.03328392654657364,
-0.0018243978265672922,
0.05102268606424332,
0.023179568350315094,
0.05008997395634651,
0.017669670283794403,
0.05451171100139618,
0.01936236582696438,
-0.016996046528220177,
0.049019087105989456,
0.003922995179891586,
0.033076655119657516,
-0.000054785909014754,
0.0552716962993145,
-0.0015879817074164748,
-0.039726532995700836,
-0.07185320556163788,
0.005488306749612093,
-0.039622899144887924,
0.009983450174331665,
0.003851746441796422,
0.030675791203975677,
-0.038344740867614746,
-0.057206206023693085,
0.013472476042807102,
-0.010795253328979015,
-0.0010196117218583822,
0.01091616041958332,
0.03255848214030266,
-0.03281756862998009,
0.008329617790877819,
0.007958260364830494,
-0.061593398451805115,
-0.05941707268357277,
-0.011071612127125263,
0.05765528976917267,
-0.0021493348758667707,
-0.061731576919555664,
-0.028654919937253,
-0.007763945963233709,
0.026910407468676567,
-0.07655130326747894,
-0.007655993569642305,
0.028844917193055153,
0.010190718807280064,
0.026841318234801292,
-0.043250102549791336,
-0.01746240258216858,
0.03200576826930046,
0.07599858194589615,
0.03882836550474167,
0.0029298316221684217,
0.04725730046629906,
-0.02283412031829357,
-0.009879815392196178,
0.020536890253424644,
-0.035339340567588806,
0.01475927047431469,
-0.02962217479944229,
-0.05133358761668205,
0.017272405326366425,
0.02673768252134323,
-0.032973021268844604,
-0.011822961270809174,
0.041004691272974014,
-0.01702195592224598,
0.03989925608038902,
-0.07800218462944031,
0.008519614115357399,
0.035114798694849014,
0.022039588540792465,
-0.0251313503831625,
0.029725808650255203,
-0.02599496953189373,
-0.011753872036933899,
0.00991436094045639,
-0.04846636950969696,
0.04083196446299553,
-0.057309839874506,
-0.04770638421177864,
-0.0346829891204834,
-0.04950271174311638,
0.05696439370512962,
0.05240447819232941,
0.006416698452085257,
-0.004616050515323877,
-0.07364953309297562,
0.02625405602157116,
0.034959349781274796,
-0.027411306276917458,
-0.07917670905590057,
0.053060829639434814,
0.0021223467774689198,
-0.05813891440629959,
0.020761430263519287,
0.007591221947222948,
0.03290393203496933,
-0.029104003682732582,
-0.0020867225248366594,
-0.04148831591010094,
-0.03366391733288765,
-0.054304443299770355,
-0.09119830280542374,
-0.03827565163373947,
0.03214394673705101,
0.01268658135086298,
0.00687009934335947,
-0.018671469762921333,
0.055824413895606995,
0.047533657401800156,
-0.03668658807873726,
0.04580641910433769,
0.06791509687900543,
-0.0750313252210617,
0.02036416530609131,
-0.012988848611712456,
0.05986615642905235,
-0.0293976329267025,
0.0016592304455116391,
-0.09707091748714447,
0.025338618084788322,
0.010285717435181141,
-0.05278446897864342,
-0.023956825956702232,
0.017609216272830963,
-0.0018891693325713277,
-0.006101476959884167,
0.012945667840540409,
-0.011848869733512402,
0.01858510822057724,
-0.034492991864681244,
0.04135013744235039,
-0.02222958579659462,
0.013032029382884502,
0.0051558129489421844,
-0.02889673411846161,
-0.015432894229888916,
-0.020174169912934303,
0.03304211050271988,
0.03699749335646629,
0.06328609585762024,
-0.05109177529811859,
-0.07005687803030014,
-0.03454481065273285,
-0.03817201405763626,
-0.03438935801386833,
-0.01956963539123535,
0.018654197454452515,
-0.008843471296131611,
-0.05102268606424332,
0.09354734420776367,
-0.04946816712617874,
0.005276719573885202,
-0.0030615339055657387,
0.014396550133824348,
-0.017367403954267502,
0.16084063053131104,
-0.05603168159723282,
0.01770421490073204,
-0.013334296643733978,
-0.01512199081480503,
0.022505944594740868,
-0.03630659729242325,
0.01005253940820694,
-0.041626498103141785,
-0.0015242897206917405,
0.005596259143203497,
0.03499389439821243,
-0.023179568350315094,
0.12360133230686188,
-0.016236061230301857,
0.036962948739528656,
-0.02285139262676239,
-0.029725808650255203,
-0.03841383010149002,
0.06746601313352585,
0.02235049195587635,
-0.016711052507162094,
-0.0157437976449728,
-0.01702195592224598,
-0.0066757844761013985,
-0.02647859789431095,
0.04784456267952919,
0.05247356742620468,
0.005600577220320702,
0.05060814693570137,
0.017211951315402985,
0.021521417424082756,
0.0040395837277174,
0.03476935252547264,
-0.014923358336091042,
0.026841318234801292,
0.04083196446299553,
0.058726176619529724,
-0.020761430263519287,
-0.03366391733288765,
0.026564959436655045,
0.03262757509946823,
0.01882692240178585,
0.012401587329804897,
-0.004806046839803457,
-0.003931631334125996,
-0.026979496702551842,
0.0291212759912014,
0.028551286086440086,
-0.04065924137830734,
0.004996043164283037,
-0.02247139997780323,
0.0028326744213700294,
-0.02048507332801819,
0.01129615306854248,
-0.03128032758831978,
-0.056066226214170456,
-0.006295791827142239,
0.014785178937017918,
0.035719335079193115,
-0.06366608291864395,
0.031090328469872475,
-0.039622899144887924,
-0.014491547830402851,
-0.0004898346378467977,
0.03166031837463379,
0.040141068398952484,
0.00023007384152151644,
0.10556893795728683,
0.039242904633283615,
0.014923358336091042,
0.008308026939630508,
0.025062259286642075,
-0.061351582407951355,
0.04774092882871628,
-0.010587984696030617,
0.04608277603983879,
0.014983811415731907,
0.002269162330776453,
-0.002800288610160351,
0.016676507890224457,
-0.000993163324892521,
-0.031193964183330536,
-0.04072833061218262,
0.00922346394509077,
-0.04059015214443207,
0.00791939813643694,
-0.05800073593854904,
0.020001444965600967,
-0.05071178078651428,
-0.020778702571988106,
0.01456927414983511,
-0.0035192526411265135,
0.017514219507575035,
-0.06262974441051483,
-0.016866503283381462,
-0.06601513177156448,
0.05112631991505623,
-0.06124794855713844,
-0.00866211112588644,
0.029207637533545494,
-0.027031313627958298,
0.027411306276917458,
-0.07302772998809814,
-0.012418859638273716,
0.019932355731725693,
-0.008407343178987503,
-0.05862254276871681,
-0.011563875712454319,
-0.030192164704203606,
-0.03817201405763626,
-0.004279238171875477,
-0.02072688564658165,
-0.01551925577223301,
-0.05592804774641991,
-0.037861112505197525,
-0.004844909533858299,
-0.002783016301691532,
0.005483988672494888,
0.02597769722342491,
0.022782301530241966,
0.03703203797340393,
-0.048673637211322784,
0.01746240258216858,
-0.03592660278081894,
0.016313787549734116,
-0.08352935314178467,
-0.03518388792872429,
0.00291903642937541,
0.005622168071568012,
-0.03300756588578224,
0.03692840412259102,
0.0022302994038909674,
-0.010691618546843529,
-0.016788776963949203,
-0.004594459664076567,
0.025304073467850685,
-0.028033113107085228,
-0.09182010591030121,
-0.04919181019067764,
-0.01609788089990616,
0.06960779428482056,
0.04307737946510315,
0.05088450387120247,
-0.02136596478521824,
-0.04663549363613129,
0.006887371651828289,
-0.014482911676168442,
0.00045582957682199776,
0.046773672103881836,
0.022765029221773148,
-0.013956103473901749,
0.011978412978351116,
0.01011299341917038,
-0.009879815392196178,
-0.05098814144730568,
-0.04342282563447952,
-0.007392589468508959,
-0.002636200748383999,
0.006123067811131477,
-0.001212306902743876,
0.11475785821676254,
-0.010130265727639198,
0.026340417563915253,
-0.03803383558988571,
0.05516806244850159,
0.0467391274869442,
0.029743080958724022,
-0.019414182752370834,
0.03205758333206177,
-0.027843117713928223,
0.058587998151779175,
-0.023887736722826958,
-0.06335518509149551,
0.004106514155864716,
0.026444053277373314,
0.0161842443048954,
-0.02459590509533882,
0.0001267092884518206,
0.0030917604453861713,
-0.004294351674616337,
0.013057938776910305,
-0.0007670027553103864,
0.04304283484816551,
-0.02497589774429798,
-0.010717527009546757,
-0.050539057701826096,
0.01818784326314926,
0.021815048530697823,
0.044770073145627975,
0.025891335681080818,
-0.0028456286527216434,
0.04749911278486252,
-0.022937754169106483,
0.03243757784366608,
0.002623246517032385,
0.050919052213430405,
-0.016348332166671753,
0.00863188412040472,
0.05551350861787796,
-0.0057646650820970535,
0.02523498423397541,
-0.001253328868187964,
-0.021072333678603172,
0.06808782368898392,
0.027549486607313156,
0.04808637499809265,
-0.006429652683436871,
-0.03789565712213516,
0.0214696004986763,
0.0032580073457211256,
0.020070534199476242,
0.029570357874035835,
-0.042766474187374115,
0.053233552724123,
0.053958993405103683,
0.018896011635661125,
-0.012453404255211353,
-0.0018621812341734767,
-0.023300474509596825,
-0.05198993906378746,
0.013170208781957626,
0.0012069093063473701,
0.010579348541796207,
-0.006282837595790625,
-0.011909323744475842,
-0.05986615642905235,
0.04946816712617874,
0.048535458743572235,
0.027722209692001343,
0.05447716638445854,
-0.04836273565888405,
-0.04366464167833328
] |
18,443 | miarec_s3fs.s3fs | _get_object | null | def _get_object(self, path, key):
_key = key.rstrip(self.delimiter)
try:
with s3errors(path):
obj = self.s3.Object(self._bucket_name, _key)
obj.load()
except errors.ResourceNotFound:
with s3errors(path):
obj = self.s3.Object(self._bucket_name, _key + self.delimiter)
obj.load()
return obj
else:
return obj
| (self, path, key) | [
0.01284122560173273,
-0.006574562750756741,
-0.09106584638357162,
0.05386432260274887,
0.00637080566957593,
-0.03857801482081413,
0.0651298314332962,
0.05621885135769844,
0.04763388633728027,
0.008901922032237053,
0.045641593635082245,
0.03629593178629875,
-0.000027645170121104456,
-0.01230692956596613,
-0.02915990725159645,
0.04089631512761116,
-0.00704546831548214,
0.030934857204556465,
-0.021770315244793892,
-0.0029793817084282637,
-0.023074360564351082,
0.03488321602344513,
0.05658108741044998,
-0.0016572244931012392,
0.022078214213252068,
0.029033124446868896,
0.04879303649067879,
0.05723311007022858,
0.05853715538978577,
-0.0626666322350502,
0.044518664479255676,
0.019705576822161674,
0.013647198677062988,
0.09946969151496887,
-0.01921655982732773,
0.026569927111268044,
0.025302104651927948,
-0.015702880918979645,
-0.019814247265458107,
0.010694984346628189,
-0.01573910564184189,
0.05194447934627533,
0.04230903089046478,
-0.05792135372757912,
0.04299727827310562,
0.029884375631809235,
0.002818640088662505,
0.04455488920211792,
-0.0027416651137173176,
0.014534673653542995,
0.03635026887059212,
0.012116756290197372,
-0.01261482946574688,
-0.05266894772648811,
-0.022766461595892906,
-0.05926162376999855,
0.016925424337387085,
0.02454141154885292,
-0.05140112712979317,
0.03923003748059273,
-0.014516562223434448,
-0.0009910519002005458,
0.02158919721841812,
0.013402690179646015,
-0.03341616690158844,
-0.03749130666255951,
-0.02983004041016102,
-0.01802118495106697,
-0.007652211468666792,
0.032583024352788925,
0.023780718445777893,
0.040171846747398376,
-0.04176567867398262,
0.002915990771725774,
-0.015467428602278233,
-0.02792830765247345,
-0.027203837409615517,
-0.019089777022600174,
0.01391887478530407,
0.027602296322584152,
-0.015521763823926449,
-0.028761448338627815,
-0.06570940464735031,
-0.026515591889619827,
-0.02287513203918934,
0.012904617004096508,
0.047561436891555786,
-0.06867972761392593,
-0.014199607074260712,
0.056436192244291306,
-0.028743335977196693,
0.031967226415872574,
-0.07016489654779434,
-0.007652211468666792,
0.040244292467832565,
-0.02010403573513031,
0.010441419668495655,
-0.059986092150211334,
0.009246044792234898,
0.003205778542906046,
-0.007072635926306248,
0.0020873784087598324,
0.007996334694325924,
0.006293830927461386,
0.037817321717739105,
-0.0026420506183058023,
0.01126550417393446,
0.013837371952831745,
0.021009622141718864,
0.019252782687544823,
-0.01245182380080223,
0.020520605146884918,
-0.042852383106946945,
0.09997682273387909,
-0.0035793331917375326,
-0.0561826266348362,
0.016300568357110023,
0.03347050026059151,
-0.013556639663875103,
-0.05411788821220398,
0.023001912981271744,
-0.028399214148521423,
-0.05665353313088417,
0.01854642480611801,
0.06849861145019531,
0.005392771679908037,
0.0251390989869833,
-0.01966935396194458,
0.04107743501663208,
0.020212706178426743,
0.01053197868168354,
0.030663181096315384,
-0.025302104651927948,
-0.03274603188037872,
-0.02184276282787323,
0.017631782218813896,
-0.043975312262773514,
0.03828822448849678,
-0.029793817549943924,
0.019995365291833878,
0.06849861145019531,
0.012723499909043312,
0.02383505366742611,
-0.02296569012105465,
-0.006918685976415873,
0.002882031025364995,
0.019904805347323418,
-0.0007374875713139772,
-0.008091420866549015,
0.005143735092133284,
0.0007131499005481601,
0.02419728972017765,
0.08353135734796524,
0.012497102841734886,
0.011383230797946453,
-0.07462038099765778,
-0.023690160363912582,
-0.013737757690250874,
-0.03462965413928032,
-0.027022721245884895,
0.020031588152050972,
0.0012972536496818066,
-0.009318491443991661,
-0.06795526295900345,
0.0016696762759238482,
-0.01834719628095627,
0.005324852652847767,
0.009454330429434776,
0.0073397839441895485,
-0.007946527563035488,
-0.03716529533267021,
0.02426973544061184,
-0.077590711414814,
0.022204997017979622,
0.01052292250096798,
0.015313479118049145,
-0.05509592220187187,
0.007982750423252583,
0.031025415286421776,
-0.036314044147729874,
-0.005419939290732145,
-0.007534485310316086,
0.054951030761003494,
0.019107889384031296,
0.0007844648789614439,
0.04274371266365051,
0.006479476112872362,
-0.005859149154275656,
0.04194679856300354,
0.0558566153049469,
-0.017097486183047295,
0.05531326308846474,
-0.02488553524017334,
0.03803466260433197,
0.009427161887288094,
-0.03339805454015732,
0.0518358089029789,
0.016146618872880936,
-0.06183348968625069,
0.16604846715927124,
-0.017459720373153687,
0.03495566546916962,
0.024867422878742218,
-0.0012508422369137406,
-0.015974557027220726,
0.019868582487106323,
-0.004161173012107611,
0.04209169000387192,
-0.0657818540930748,
0.08976180106401443,
-0.0360061451792717,
0.0016379808075726032,
-0.013303074985742569,
0.0013595126802101731,
0.050495538860559464,
0.03491944074630737,
-0.03738263621926308,
-0.005089399870485067,
0.00644325278699398,
-0.007208473980426788,
0.04038918763399124,
0.005650863982737064,
-0.006284774746745825,
0.008643829263746738,
-0.008947201073169708,
-0.027384955435991287,
-0.03263736143708229,
-0.01284122560173273,
-0.04951750487089157,
-0.018582647666335106,
0.012162035331130028,
-0.0027122334577143192,
0.055566828697919846,
0.0000017908339486893965,
0.027457403019070625,
-0.016934480518102646,
0.02653370425105095,
0.00043977575842291117,
0.010124464519321918,
-0.06393445283174515,
0.015693824738264084,
-0.05770401284098625,
-0.04430132359266281,
-0.012035253457725048,
-0.034665875136852264,
0.004598118830472231,
0.011944694444537163,
0.020593052729964256,
-0.04071519896388054,
-0.021299410611391068,
0.08114060759544373,
0.0949779823422432,
0.015286311507225037,
0.0079148318618536,
0.014516562223434448,
-0.05368320643901825,
-0.024070506915450096,
-0.08947201073169708,
-0.012152980081737041,
0.008861170150339603,
-0.056001510471105576,
-0.008607606403529644,
0.05437145382165909,
0.006760207936167717,
-0.04578648507595062,
-0.01898110657930374,
0.002653370378538966,
0.03607859089970589,
0.0237444955855608,
0.027982642874121666,
0.07302654534578323,
0.035118669271469116,
-0.017079373821616173,
0.00036789479781873524,
-0.003952887840569019,
-0.017260491847991943,
-0.007797105237841606,
-0.007462038192898035,
-0.005179958418011665,
-0.007955582812428474,
-0.04763388633728027,
0.013112901709973812,
0.03857801482081413,
-0.012125812470912933,
-0.006647009868174791,
-0.01583871990442276,
0.02801886759698391,
-0.02664237469434738,
-0.006601730361580849,
0.028036978095769882,
-0.028417324647307396,
0.0024450854398310184,
-0.03821577876806259,
-0.004518880043178797,
-0.006153464782983065,
0.007059052120894194,
-0.0701286718249321,
-0.0431421734392643,
0.05976875126361847,
-0.016382072120904922,
-0.01889054849743843,
0.010649705305695534,
0.011111554689705372,
0.0009123790659941733,
0.01357475109398365,
-0.009146430529654026,
0.012515214271843433,
-0.0056916153989732265,
-0.02863466553390026,
0.06849861145019531,
-0.031369540840387344,
0.010595370084047318,
-0.000504298834130168,
0.07273676246404648,
-0.01573910564184189,
-0.00045675551518797874,
-0.01652696542441845,
0.06154370307922363,
-0.009599223732948303,
0.023183031007647514,
-0.01188130397349596,
-0.0012032989179715514,
-0.044518664479255676,
0.005845565348863602,
0.04535180330276489,
-0.049119047820568085,
-0.07425814867019653,
0.016635635867714882,
-0.03376029059290886,
0.031532544642686844,
0.014208662323653698,
0.014398835599422455,
-0.030156051740050316,
0.03611481562256813,
0.0128774493932724,
-0.023798830807209015,
-0.0002388486173003912,
-0.045025791972875595,
0.0008314421866089106,
0.04596760496497154,
0.06186971440911293,
-0.04169323295354843,
-0.0005914616049267352,
0.0153587581589818,
-0.01522292010486126,
-0.015159528702497482,
0.07621421664953232,
-0.05002463608980179,
-0.015078025870025158,
-0.06741190701723099,
-0.028906341642141342,
-0.003595181042328477,
0.016391128301620483,
0.006185160484164953,
-0.01523197628557682,
-0.022657791152596474,
0.001285933773033321,
0.0021326576825231314,
0.004949033726006746,
-0.029974935576319695,
0.043214619159698486,
-0.041801903396844864,
-0.06339110434055328,
-0.00563275208696723,
0.0014885589480400085,
0.03167743980884552,
-0.014634288847446442,
0.00024196156300604343,
-0.03309015557169914,
-0.015250087715685368,
-0.056436192244291306,
0.007054524030536413,
-0.0654558390378952,
-0.018763765692710876,
0.0042245639488101006,
0.03433986380696297,
0.029721369966864586,
-0.0201764814555645,
0.027620408684015274,
0.04306972399353981,
-0.023201143369078636,
0.017695173621177673,
0.02359960228204727,
0.005415411200374365,
0.005284101236611605,
0.01802118495106697,
0.012261650525033474,
-0.024668194353580475,
0.053212299942970276,
-0.028236208483576775,
0.015023690648376942,
-0.0015157265588641167,
0.0546250194311142,
-0.032401908189058304,
-0.029377248138189316,
0.022259332239627838,
0.06708589941263199,
-0.04296105355024338,
0.012533326633274555,
0.030156051740050316,
0.01157340407371521,
0.013909818604588509,
-0.03854179009795189,
0.06541961431503296,
-0.017948737367987633,
-0.04426509886980057,
0.027457403019070625,
0.041584562510252,
-0.01035991683602333,
-0.014860684983432293,
0.015132361091673374,
-0.07722847163677216,
-0.02253100834786892,
-0.009445274248719215,
0.0070092445239424706,
-0.0048992265947163105,
0.02426973544061184,
-0.01274161133915186,
-0.050423093140125275,
0.04143966734409332,
-0.04419265314936638,
-0.002237932290881872,
-0.03174988552927971,
-0.049553729593753815,
-0.046257391571998596,
-0.06915063410997391,
-0.008648357354104519,
-0.025972239673137665,
0.06759302318096161,
0.008458184078335762,
-0.010441419668495655,
-0.04078764468431473,
-0.035118669271469116,
-0.017432553693652153,
0.016065116971731186,
-0.0008829474681988358,
-0.012913673184812069,
-0.007833329029381275,
0.04980729520320892,
0.03405007719993591,
-0.006828127428889275,
-0.007294504437595606,
-0.02678726799786091,
0.03309015557169914,
-0.016943536698818207,
-0.020303264260292053,
0.010812710970640182,
0.060855455696582794,
0.10019416362047195,
-0.02532021701335907,
0.008204619400203228,
-0.0157481599599123,
0.0012089589145034552,
-0.017631782218813896,
0.006026682443916798,
-0.03209400922060013,
0.05288628861308098,
0.009363771416246891,
0.046583402901887894,
-0.025954127311706543,
-0.05810247361660004,
0.054951030761003494,
0.06386200338602066,
-0.06205083057284355,
-0.03689362108707428,
0.015874942764639854,
-0.013864539563655853,
0.039990730583667755,
0.006619842257350683,
-0.11077142506837845,
-0.020230816677212715,
-0.005157318897545338,
-0.056073956191539764,
-0.0056916153989732265,
0.02854410745203495,
-0.01096666045486927,
0.07903964817523956,
0.029866265133023262,
-0.009608279913663864,
-0.044518664479255676,
0.019596906378865242,
-0.1079459860920906,
-0.007738242391496897,
-0.012062421068549156,
0.007652211468666792,
0.036585722118616104,
-0.02925046533346176,
0.05187203362584114,
0.06694100052118301,
-0.02522965893149376,
0.028942566365003586,
0.06867972761392593,
-0.07606932520866394,
0.021987656131386757,
-0.027203837409615517,
-0.004500768147408962,
-0.06248551234602928,
-0.006574562750756741,
-0.014299221336841583,
-0.016047004610300064,
0.031804222613573074,
-0.039302483201026917,
-0.02992060035467148,
-0.007715602405369282,
-0.04252637177705765,
0.010115408338606358,
-0.05074910447001457,
-0.003753658849745989,
0.05419033393263817,
-0.06458647549152374,
-0.006542867049574852,
0.04212791472673416,
-0.03323504701256752,
0.043540630489587784,
-0.0257548987865448,
0.011129666119813919,
-0.04966240003705025,
0.04455488920211792,
-0.026479369029402733,
0.012723499909043312,
0.028417324647307396,
0.00013937552284915,
0.025392664596438408,
-0.044844675809144974,
-0.04864814132452011,
-0.016409238800406456,
-0.03897647187113762,
-0.013393633998930454,
0.0014274317072704434,
0.0314963199198246,
-0.05654486268758774,
-0.028852006420493126,
-0.03352483734488487,
0.040244292467832565,
-0.009680726565420628,
0.03522733971476555,
-0.029196130111813545,
0.009988626465201378,
-0.0049897851422429085,
-0.019723689183592796,
0.04361307621002197,
0.008820419199764729,
0.028689000755548477,
-0.007086219731718302,
-0.025030428543686867,
0.009114734828472137,
-0.0014953508507460356,
0.02298380248248577,
-0.03167743980884552,
-0.020665498450398445,
0.0372377447783947,
-0.02340037189424038,
0.020919064059853554,
-0.0027461929712444544,
0.07179494947195053,
-0.010061073116958141,
-0.01825663633644581,
-0.053212299942970276,
-0.010685928165912628,
-0.020574940368533134,
0.038940247148275375,
0.027167614549398422,
-0.015087082050740719,
0.04263504222035408,
-0.0061127133667469025,
-0.015539875254034996,
-0.04828590899705887,
0.022060103714466095,
0.042236585170030594,
-0.0018949410878121853,
0.0035182060673832893,
0.021788427606225014,
-0.006053850054740906,
0.007149610668420792,
0.017957793548703194,
0.023291701450943947,
-0.03488321602344513,
0.0003435571270529181,
-0.03316260129213333,
-0.02827243134379387,
0.0539729930460453,
-0.03607859089970589,
0.027602296322584152,
-0.014118104241788387,
-0.026080910116434097,
-0.014978411607444286,
-0.035299789160490036,
-0.0036585722118616104,
0.000536277424544096,
-0.02209632657468319,
0.018636982887983322,
-0.02383505366742611,
-0.05317607894539833,
-0.012641997076570988,
0.06139880791306496,
0.056436192244291306,
0.09229744225740433,
-0.04038918763399124,
-0.013266852125525475,
-0.023346036672592163,
0.0007357895956374705,
0.031043527647852898,
0.03046395257115364,
0.06762924790382385,
-0.017867235466837883,
0.05498725175857544,
-0.029612699523568153,
0.004059294238686562,
0.030300946906208992,
-0.0344485342502594,
-0.0013164973352104425,
-0.015295366756618023,
-0.00021040751016698778,
0.030355282127857208,
-0.007769937627017498,
0.05621885135769844,
-0.022730236873030663,
0.005759534426033497,
-0.020846616476774216,
-0.017287658527493477,
0.02707705646753311,
-0.03586125001311302,
0.0066741774789988995,
0.05893561244010925,
-0.07237452268600464,
0.015539875254034996,
0.03350672498345375,
-0.05690709874033928,
0.017803844064474106,
-0.049553729593753815,
0.023690160363912582,
-0.049046602100133896,
0.04814101383090019,
0.011202112771570683,
-0.018926771357655525,
0.07005622237920761,
0.02801886759698391,
0.025283994153141975,
-0.03187666833400726,
0.05266894772648811,
-0.024215400218963623,
-0.026696709915995598,
-0.09881766885519028,
0.051220010966062546,
-0.06328243017196655,
-0.026751045137643814,
0.020520605146884918,
-0.005592000670731068,
0.04864814132452011,
0.003088052151724696,
-0.012723499909043312,
-0.01601983606815338,
0.0005045818397775292,
-0.01662657968699932,
0.021987656131386757,
-0.042852383106946945,
0.07737337052822113,
-0.0949779823422432,
-0.009291323833167553,
-0.0004445867089089006,
0.001742123276926577,
-0.04785122722387314,
-0.04814101383090019,
0.01227070577442646,
0.016635635867714882,
-0.04987974092364311,
-0.026316363364458084,
-0.03309015557169914,
0.03147821128368378,
0.014018489047884941,
0.020393822342157364,
-0.019705576822161674,
-0.021299410611391068,
-0.008729860186576843,
-0.048756811767816544,
-0.01723332330584526,
0.07117915153503418,
-0.04078764468431473,
0.01749594323337078,
0.013828315772116184,
-0.018519258126616478,
-0.002354526659473777,
0.005573888774961233,
0.04075142368674278,
-0.006683233194053173,
0.012551438063383102,
0.033887073397636414,
-0.007634099572896957,
0.02081039361655712,
-0.049191493541002274,
0.005361075978726149,
-0.04828590899705887,
-0.030572623014450073,
0.003060884540900588,
-0.08273444324731827,
0.0004530765872914344,
0.018636982887983322,
0.029196130111813545,
0.015005579218268394,
0.03857801482081413,
-0.008462712168693542,
0.00526146125048399,
0.03044584020972252,
-0.046873193234205246,
-0.02628013864159584,
-0.055132146924734116,
0.015603266656398773,
0.002117942087352276,
-0.06212328001856804,
-0.019814247265458107,
-0.0015462901210412383,
-0.005093927960842848,
0.016255289316177368,
-0.042598821222782135,
0.046873193234205246,
0.046764522790908813,
-0.011546236462891102,
-0.011374174617230892,
-0.02234989032149315,
-0.019270895048975945,
-0.009979570284485817,
-0.08910977840423584,
-0.004310594871640205,
0.06132636219263077,
0.04709053412079811,
-0.024215400218963623,
-0.025446999818086624,
-0.014978411607444286,
-0.062014609575271606,
0.06531094759702682,
0.03001115843653679,
0.01811174303293228,
-0.012107700109481812,
-0.028073202818632126,
0.05958763509988785,
-0.06933175027370453,
-0.0003981753543484956,
-0.01793062500655651,
0.08860264718532562,
0.09954214096069336,
-0.057378001511096954,
0.016662804409861565,
0.007348839659243822,
-0.007434870582073927,
-0.02653370425105095,
-0.0561826266348362,
0.027783414348959923,
0.058428484946489334,
-0.035281676799058914,
0.0738234668970108,
0.017595559358596802,
-0.007806161418557167,
0.04857569560408592,
0.03482888266444206,
-0.000257950829109177,
-0.03270980715751648,
-0.08338646590709686,
0.042852383106946945,
0.0750550627708435,
0.00409098993986845,
-0.027710966765880585,
-0.04263504222035408,
0.00576406205072999,
0.04339573532342911,
0.03653138503432274,
0.009979570284485817,
0.01522292010486126,
-0.02314680814743042
] |
18,444 | miarec_s3fs.s3fs | _get_upload_args | null | def _get_upload_args(self, key):
upload_args = self.upload_args.copy() if self.upload_args else {}
if "ContentType" not in upload_args:
mime_type, _encoding = mimetypes.guess_type(key)
upload_args["ContentType"] = mime_type or "binary/octet-stream"
return upload_args
| (self, key) | [
0.008626062422990799,
-0.007709810510277748,
-0.04325849190354347,
0.06897052377462387,
-0.03254831209778786,
0.000038350251998053864,
0.042650822550058365,
0.017726866528391838,
0.07326218485832214,
0.003505969885736704,
0.034997981041669846,
0.016957784071564674,
-0.06346351653337479,
-0.01959734968841076,
-0.0003340996918268502,
-0.012969952076673508,
0.009247974492609501,
0.05233556032180786,
0.06756528466939926,
0.005687409546226263,
-0.013017426244914532,
-0.0036816243082284927,
-0.006295079365372658,
-0.02054683491587639,
0.03570060059428215,
0.07235068082809448,
0.0609188973903656,
-0.05469027906656265,
0.06710953265428543,
-0.012067941948771477,
0.023091452196240425,
-0.02199004963040352,
0.05996941030025482,
0.023167410865426064,
-0.037827443331480026,
-0.026053842157125473,
-0.01564749702811241,
0.06726144999265671,
-0.032149530947208405,
-0.02911118045449257,
-0.05153799429535866,
0.001933386898599565,
0.006879011634737253,
-0.043600305914878845,
0.018704835325479507,
0.03469414636492729,
-0.057386815547943115,
0.004127881955355406,
0.008749495260417461,
0.014641043730080128,
0.013121869415044785,
-0.03279517963528633,
-0.0342194065451622,
-0.027724934741854668,
-0.07432561367750168,
0.02185712195932865,
-0.023034483194351196,
-0.007064161356538534,
-0.09388498216867447,
0.08401034772396088,
0.004429343156516552,
0.02563606947660446,
0.04249890521168709,
-0.055449869483709335,
-0.0009744080016389489,
-0.010083520784974098,
-0.027705945074558258,
-0.021154504269361496,
-0.010558262467384338,
0.02432578057050705,
-0.011821076273918152,
-0.04443585127592087,
-0.06084293872117996,
-0.009931603446602821,
-0.023585183545947075,
-0.017764845862984657,
-0.04481564834713936,
0.05955163761973381,
-0.014584074728190899,
0.05157597362995148,
0.03877692669630051,
-0.010368365794420242,
-0.07914899289608002,
0.0022194189950823784,
0.049828920513391495,
0.02280660718679428,
-0.02472456358373165,
0.009409386664628983,
0.01144128292798996,
0.006005486473441124,
-0.04823378846049309,
-0.03721977397799492,
-0.0035605651792138815,
0.011241891421377659,
0.02660454250872135,
-0.005426301155239344,
-0.04728430509567261,
-0.041701339185237885,
-0.06771720200777054,
-0.009148278273642063,
-0.0714012011885643,
0.03389658033847809,
0.07485732436180115,
-0.016502032056450844,
0.020717741921544075,
-0.05301918834447861,
-0.00026125647127628326,
-0.06281786412000656,
-0.039802372455596924,
0.02280660718679428,
0.032681241631507874,
-0.0848458930850029,
-0.03146589919924736,
0.05332302302122116,
0.016369104385375977,
-0.013197828084230423,
-0.03142791986465454,
0.011963498778641224,
0.054120589047670364,
0.02947198413312435,
0.004469695966690779,
0.034978993237018585,
0.007349006365984678,
0.0033326889388263226,
0.06464087218046188,
0.051727890968322754,
0.03195963427424431,
0.012248343788087368,
-0.01026392262428999,
0.004030559677630663,
0.01665394939482212,
0.024439718574285507,
-0.03623231127858162,
0.017223641276359558,
-0.042157091200351715,
-0.01995815522968769,
-0.04751218110322952,
0.01579941436648369,
0.050246696919202805,
0.041663359850645065,
-0.004771157167851925,
0.010491798631846905,
0.06061506271362305,
-0.016388094052672386,
-0.036991897970438004,
-0.014375188387930393,
0.04052397981286049,
-0.03632725775241852,
-0.03854905068874359,
-0.013748528435826302,
-0.0005168753559701145,
0.051689911633729935,
-0.04868954047560692,
-0.007928191684186459,
0.04185325652360916,
-0.010843107476830482,
0.0486515611410141,
0.02001512423157692,
-0.07383187860250473,
-0.004127881955355406,
-0.016454558819532394,
-0.024192852899432182,
0.01802120730280876,
-0.05427250638604164,
0.015286693349480629,
-0.023053472861647606,
0.03230144828557968,
-0.00810859352350235,
0.056855104863643646,
0.02286357618868351,
-0.008141825906932354,
0.010824117809534073,
0.002703655743971467,
-0.022066008299589157,
0.04770207777619362,
0.08461801707744598,
-0.016777383163571358,
-0.0514240562915802,
0.03241538628935814,
0.024591635912656784,
0.0014610185753554106,
-0.03129499405622482,
0.005611450877040625,
0.03765653818845749,
0.03159882873296738,
-0.015856383368372917,
-0.012751570902764797,
-0.007396480534225702,
-0.0012687480775639415,
-0.03670705109834671,
0.005782357882708311,
-0.0351119190454483,
-0.038397133350372314,
-0.021268442273139954,
-0.02045188657939434,
0.021534297615289688,
0.02950996346771717,
-0.0437142439186573,
-0.028275635093450546,
0.07280643284320831,
-0.03604241460561752,
-0.09585990756750107,
0.023585183545947075,
-0.0010462127393111587,
-0.024230832234025,
-0.0038976320065557957,
0.021154504269361496,
-0.027705945074558258,
-0.012865508906543255,
0.007928191684186459,
0.01766040362417698,
-0.05996941030025482,
-0.03676402196288109,
0.014441652223467827,
-0.0401441864669323,
-0.05146203562617302,
-0.017517980188131332,
-0.004365252796560526,
-0.011365324258804321,
0.020261989906430244,
0.03754260018467903,
0.053133126348257065,
0.011773602105677128,
-0.015865879133343697,
0.06916041672229767,
0.014973362907767296,
0.023964976891875267,
-0.011137447319924831,
-0.07914899289608002,
0.005995991639792919,
-0.056399352848529816,
-0.00013389208470471203,
-0.03680200129747391,
0.05055053159594536,
-0.037865422666072845,
0.014726497232913971,
0.04006822779774666,
-0.049297209829092026,
0.05248747766017914,
-0.05476623773574829,
0.07421167194843292,
-0.01713818684220314,
-0.017005259171128273,
-0.012162890285253525,
-0.06570429354906082,
-0.07481934130191803,
0.042119111865758896,
0.03908076137304306,
-0.024439718574285507,
0.006086192559450865,
0.044967565685510635,
0.028351593762636185,
-0.020850669592618942,
0.006755578797310591,
0.024629615247249603,
0.044625747948884964,
-0.019692298024892807,
-0.03176973760128021,
0.021363390609622,
-0.035928476601839066,
0.0075721354223787785,
0.023737100884318352,
0.029358046129345894,
0.013539642095565796,
-0.02519930712878704,
-0.010814622975885868,
0.01546709518879652,
0.006850527133792639,
-0.02578798681497574,
0.04751218110322952,
0.11553321778774261,
0.04770207777619362,
-0.03999226912856102,
0.029396025463938713,
-0.004832873586565256,
0.024420728906989098,
0.030592376366257668,
0.027535036206245422,
-0.03617534041404724,
0.029699860140681267,
0.011346334591507912,
-0.029870767146348953,
0.08021241426467896,
0.006651135627180338,
0.0076148621737957,
0.0027962306048721075,
-0.02288256585597992,
-0.013852972537279129,
-0.007956676185131073,
-0.014878414571285248,
-0.02138238027691841,
0.07861727476119995,
-0.007083151023834944,
-0.025446172803640366,
-0.042119111865758896,
-0.0007779834559187293,
-0.020318958908319473,
-0.07683224976062775,
0.08909957855939865,
0.027307160198688507,
0.005896295886486769,
0.04804389178752899,
-0.02039491757750511,
-0.013625095598399639,
-0.0016888946993276477,
0.03427637368440628,
-0.0031641556415706873,
-0.025863945484161377,
-0.03942257538437843,
0.04849964380264282,
-0.032206498086452484,
0.019806237891316414,
0.009789180010557175,
0.02660454250872135,
-0.029339056462049484,
-0.030725304037332535,
0.0638812854886055,
0.018904227763414383,
-0.04561321437358856,
0.04063791781663895,
0.024420728906989098,
-0.02480052225291729,
-0.03475111722946167,
-0.014375188387930393,
0.056475311517715454,
0.0028437047731131315,
-0.004823378752917051,
-0.022312873974442482,
-0.0028342099394649267,
0.03659311309456825,
-0.014023879542946815,
0.04527140036225319,
-0.03283315896987915,
0.05089234560728073,
-0.053626857697963715,
0.0018942207098007202,
0.0007026182138361037,
0.007230320945382118,
-0.00255173840560019,
-0.0038620263803750277,
-0.030136622488498688,
-0.00715436227619648,
-0.008891917765140533,
0.0001744676847010851,
0.003683998016640544,
-0.04853762313723564,
0.038814906030893326,
-0.03152287006378174,
0.00954231433570385,
-0.026813428848981857,
-0.023585183545947075,
-0.07542701065540314,
-0.0064802286215126514,
-0.04967700317502022,
0.07280643284320831,
-0.041169628500938416,
-0.045423317700624466,
-0.06152656674385071,
-0.022293884307146072,
0.07090746611356735,
0.10846905410289764,
0.008740000426769257,
-0.01026392262428999,
0.009347670711576939,
0.05761469155550003,
0.027952810749411583,
0.030839242041110992,
0.011849560774862766,
0.0007061787764541805,
-0.019711287692189217,
0.036403216421604156,
-0.00025695411022752523,
-0.06483077257871628,
-0.0504365935921669,
-0.017024248838424683,
0.007102140691131353,
-0.061640504747629166,
-0.005620945710688829,
-0.08909957855939865,
-0.032662250101566315,
-0.01261864323168993,
0.02330033853650093,
-0.03201660141348839,
0.029699860140681267,
-0.03009864315390587,
-0.007709810510277748,
-0.036991897970438004,
-0.03385860100388527,
0.0743635892868042,
0.04230900853872299,
-0.00031837387359701097,
-0.006888506468385458,
0.007486681453883648,
0.03478909656405449,
0.02856048010289669,
-0.016093755140900612,
0.01852443441748619,
0.009950593113899231,
-0.01905614510178566,
0.003062085947021842,
0.027762914076447487,
-0.026490604504942894,
-0.08401034772396088,
0.06296978145837784,
0.03729573264718056,
-0.0023998208343982697,
-0.07102140784263611,
0.04823378846049309,
0.006005486473441124,
0.020679762586951256,
0.07402177900075912,
-0.05465229973196983,
0.017954742535948753,
0.005008528474718332,
-0.048347726464271545,
0.02573101781308651,
-0.07432561367750168,
-0.05153799429535866,
-0.02952895313501358,
-0.003854905255138874,
0.010767148807644844,
0.03706785663962364,
-0.046904511749744415,
0.004626361187547445,
0.016445063054561615,
0.04227102920413017,
-0.012523694895207882,
-0.03516888990998268,
0.008925150148570538,
0.0005269636167213321,
-0.007766779512166977,
0.0743635892868042,
-0.027440087869763374,
0.04998083785176277,
-0.007102140691131353,
0.054500382393598557,
-0.004866105504333973,
-0.023964976891875267,
0.022066008299589157,
0.048879437148571014,
-0.1248001828789711,
-0.01165966410189867,
0.005606703460216522,
0.002587344031780958,
0.0638812854886055,
0.0030430962797254324,
-0.03623231127858162,
0.05047457292675972,
0.016445063054561615,
-0.010130994953215122,
-0.039688434451818466,
-0.010776643641293049,
-0.007800011429935694,
-0.09350518882274628,
0.050170738250017166,
0.01955937035381794,
-0.04158740118145943,
0.01002655178308487,
-0.01615072414278984,
-0.0486515611410141,
0.04705642908811569,
-0.021553287282586098,
0.021097535267472267,
-0.01052028313279152,
0.04337242990732193,
0.008702021092176437,
0.04622088372707367,
0.0036816243082284927,
0.0034632431343197823,
0.004927821923047304,
0.002850825898349285,
0.06737538427114487,
0.015125280246138573,
-0.0180496908724308,
0.009162520989775658,
0.04105569049715996,
0.06410916149616241,
0.05374079570174217,
-0.031067118048667908,
-0.0674513429403305,
0.03182670474052429,
-0.041701339185237885,
-0.029149159789085388,
0.04561321437358856,
-0.018932711333036423,
0.006465986371040344,
-0.016919804736971855,
-0.05434846505522728,
0.008198794908821583,
0.010472808964550495,
0.013188333250582218,
-0.013254797086119652,
-0.027762914076447487,
0.051120221614837646,
0.039726413786411285,
-0.01452710572630167,
-0.0038928845897316933,
0.048347726464271545,
0.022540751844644547,
0.0644889548420906,
0.03617534041404724,
-0.03754260018467903,
0.014973362907767296,
-0.0006266594864428043,
-0.01164067443460226,
-0.03366870433092117,
-0.03492202237248421,
-0.020869659259915352,
-0.006062455475330353,
-0.03241538628935814,
-0.040296103805303574,
-0.002461537253111601,
-0.025142338126897812,
-0.037808455526828766,
0.053626857697963715,
-0.012457230128347874,
-0.03604241460561752,
0.014470136724412441,
0.03682098910212517,
-0.0004554556217044592,
-0.04447383061051369,
0.013197828084230423,
0.0381692573428154,
-0.012922477908432484,
0.030345510691404343,
0.028864314779639244,
-0.02282559685409069,
-0.0014087969902902842,
0.005374079570174217,
0.020717741921544075,
-0.002725019119679928,
0.004381868988275528,
0.01808767020702362,
0.031105097383260727,
-0.021648235619068146,
0.00024078322167042643,
-0.0004317185375839472,
0.01673940382897854,
-0.012286323122680187,
0.0013850597897544503,
-0.04006822779774666,
0.029889756813645363,
-0.017517980188131332,
-0.019882196560502052,
0.02381305955350399,
0.0381692573428154,
0.030231570824980736,
-0.004673835355788469,
0.006513460539281368,
-0.05807044357061386,
-0.06247605010867119,
0.008711515925824642,
-0.048917416483163834,
0.04561321437358856,
-0.04379020258784294,
-0.04925923049449921,
0.016103249043226242,
-0.03617534041404724,
-0.005725388880819082,
-0.04276476055383682,
0.0456891730427742,
-0.044132016599178314,
-0.06878062337636948,
-0.008270005695521832,
-0.07671830803155899,
-0.001794524840079248,
-0.05495613440871239,
0.06638792157173157,
-0.0248195119202137,
0.029642891138792038,
-0.042195070534944534,
0.014242260716855526,
-0.0013957414776086807,
-0.04059993848204613,
0.024496687576174736,
-0.03634624928236008,
0.036877959966659546,
0.06593216955661774,
-0.023699121549725533,
-0.040296103805303574,
0.06676771491765976,
0.002287069568410516,
0.06589419394731522,
0.029358046129345894,
-0.06274190545082092,
-0.006632145959883928,
0.05343696102499962,
-0.030117632821202278,
-0.0248195119202137,
-0.0012473847018554807,
-0.05446240305900574,
0.04033408313989639,
0.031579840928316116,
-0.020375927910208702,
0.0069502233527600765,
-0.009233732707798481,
0.024667594581842422,
-0.04078983515501022,
-0.011241891421377659,
-0.05525997281074524,
0.061146773397922516,
-0.07010990381240845,
-0.023604173213243484,
0.06498268991708755,
-0.025028400123119354,
0.012941467575728893,
-0.01808767020702362,
0.09578394889831543,
0.02768695540726185,
-0.029301077127456665,
0.011023509316146374,
-0.06046314164996147,
0.014346703886985779,
0.005089234560728073,
-0.026015862822532654,
0.05138607695698738,
-0.0037053613923490047,
-0.007524660788476467,
0.02567404881119728,
0.03199761360883713,
-0.0429166778922081,
0.012732581235468388,
-0.009912613779306412,
-0.01573294959962368,
-0.0029172897338867188,
-0.016426073387265205,
-0.04508150368928909,
0.02480052225291729,
-0.03759956732392311,
-0.06046314164996147,
0.016103249043226242,
0.01052028313279152,
0.08082008361816406,
0.03590948507189751,
0.07409773766994476,
0.03442829102277756,
-0.027345139533281326,
-0.010311396792531013,
-0.007795264013111591,
0.016388094052672386,
0.06737538427114487,
-0.014754981733858585,
-0.02850351110100746,
-0.004203840624541044,
-0.023737100884318352,
0.04325849190354347,
0.0014396551996469498,
-0.03178872540593147,
-0.043144553899765015,
-0.0360993817448616,
0.014137817546725273,
0.028256645426154137,
0.030174601823091507,
-0.006361543200910091,
-0.03877692669630051,
0.014584074728190899,
-0.008436165750026703,
-0.009665747173130512,
-0.02138238027691841,
-0.07246462255716324,
0.00703567685559392,
0.024952439591288567,
0.03152287006378174,
-0.023661142215132713,
-0.026908377185463905,
-0.03486505523324013,
-0.03321295231580734,
-0.057348836213350296,
0.05036063492298126,
0.004113639704883099,
0.02671848051249981,
-0.04853762313723564,
-0.024021945893764496,
-0.03904278203845024,
-0.018847258761525154,
0.03949853777885437,
0.0543864443898201,
0.02806674875319004,
0.06323564052581787,
0.00834596436470747,
0.02290155552327633,
-0.019730277359485626,
0.009532819502055645,
0.045005545020103455,
-0.006584671791642904,
-0.013216817751526833,
0.012590158730745316,
0.024021945893764496,
0.015628507360816002,
0.011374819092452526,
0.015239219181239605,
-0.04861358180642128,
0.007586377672851086,
-0.04379020258784294,
-0.016862835735082626,
-0.005706399213522673,
0.009732211008667946,
-0.01855291798710823,
0.02802876941859722,
-0.010149984620511532,
-0.01808767020702362,
-0.04280273988842964,
-0.02480052225291729,
0.010339881293475628,
-0.02047087624669075,
-0.05651329085230827,
0.011555220931768417,
0.018002217635512352,
0.008393438532948494,
0.03374466300010681,
-0.010377860628068447,
-0.022066008299589157,
0.003828794462606311,
0.010615231469273567,
-0.0219520702958107,
0.0322444774210453,
-0.021819142624735832,
0.010928560979664326,
0.016786877065896988,
-0.011954003944993019,
0.01760343462228775,
0.007800011429935694,
0.02094561792910099,
0.08902361989021301,
0.039688434451818466,
-0.04903135448694229,
-0.028712397441267967,
-0.000820116838440299,
0.01808767020702362,
0.020565824583172798,
0.04325849190354347,
0.014223271049559116,
0.02483850158751011,
0.010909571312367916,
0.0004287513729650527,
-0.011355829425156116,
-0.0037362196017056704,
0.004792520776391029,
0.01454609539359808,
0.044967565685510635,
-0.012846519239246845,
0.04101771116256714,
-0.036004435271024704,
0.06851477175951004,
0.04242294654250145,
-0.032624270766973495,
0.0715910941362381,
-0.012751570902764797,
-0.01620769314467907,
0.023186400532722473,
0.00583932688459754,
-0.01120391208678484,
-0.027022315189242363,
0.00998857244849205,
-0.005374079570174217,
-0.00351783842779696,
-0.010890581645071507,
0.029642891138792038,
0.007472439203411341,
0.003816925920546055,
-0.0037623303942382336,
-0.07102140784263611,
-0.028180686756968498,
-0.020603803917765617,
0.019445432350039482,
-0.009661000221967697,
0.03824521601200104,
-0.03290911763906479
] |
18,445 | miarec_s3fs.s3fs | _getinfo | Gets info without checking for parent dir. | def _getinfo(self, path, namespaces=None):
"""Gets info without checking for parent dir."""
namespaces = namespaces or ()
_path = self.validatepath(path)
_key = self._path_to_key(_path)
if _path == "/":
return Info(
{
"basic": {"name": "", "is_dir": True},
"details": {"type": int(ResourceType.directory)},
}
)
obj = self._get_object(path, _key)
info = self._info_from_object(obj, namespaces)
return Info(info)
| (self, path, namespaces=None) | [
0.031232396140694618,
-0.0006065260386094451,
0.003224194748327136,
-0.02837655134499073,
0.06333791464567184,
-0.04125513881444931,
0.04387451335787773,
-0.029959090054035187,
-0.01152342651039362,
-0.00018047986668534577,
0.02830379083752632,
0.038854047656059265,
0.003142339177429676,
-0.039654411375522614,
-0.006130062509328127,
0.023410653695464134,
-0.008135520853102207,
0.0071396129205822945,
-0.023483414202928543,
-0.00911323819309473,
0.015734434127807617,
0.0017303329659625888,
0.011632567271590233,
0.0035993654746562243,
-0.002746704500168562,
0.01902684196829796,
0.04205550253391266,
-0.03250570222735405,
0.056425679475069046,
-0.03501593694090843,
-0.06210099160671234,
0.0017974089132621884,
0.011541616171598434,
0.013451576232910156,
-0.0432196706533432,
0.04402003437280655,
-0.03779901936650276,
-0.03299683704972267,
-0.05355164408683777,
0.01755344308912754,
-0.03739883750677109,
0.0077171484008431435,
-0.004295136779546738,
-0.001129491371102631,
0.03567077964544296,
0.012960444204509258,
0.001465439680032432,
-0.025593465194106102,
-0.020682139322161674,
0.01893589086830616,
0.017362447455525398,
-0.005979994311928749,
-0.04314690828323364,
-0.03590724989771843,
-0.008017284795641899,
0.0020475226920098066,
0.044965919107198715,
-0.015807194635272026,
-0.01085948757827282,
0.011959988623857498,
0.002933153184130788,
-0.031559817492961884,
0.01826285757124424,
-0.026794012635946274,
-0.06268307566642761,
0.02024557814002037,
-0.01152342651039362,
-0.043037768453359604,
-0.05660758167505264,
0.01826285757124424,
-0.0048794932663440704,
0.005911781452596188,
-0.0035357000306248665,
0.03798092156648636,
0.04416555538773537,
-0.03437928110361099,
-0.028631212189793587,
-0.024593010544776917,
0.08462032675743103,
-0.027485236525535583,
-0.07065033912658691,
-0.06311963498592377,
-0.048422038555145264,
-0.013933613896369934,
0.02981356903910637,
0.051878154277801514,
0.05049571022391319,
-0.06901323050260544,
0.010350164957344532,
0.1055753231048584,
-0.07035929709672928,
-0.023356083780527115,
-0.00015873702068347484,
0.04394727200269699,
0.014606648124754429,
0.0013847211375832558,
0.008790364488959312,
-0.04824013635516167,
0.0056070974096655846,
0.018399283289909363,
0.018144620582461357,
-0.03527059778571129,
-0.041000477969646454,
0.015015925280749798,
0.01837199740111828,
0.015970904380083084,
-0.008431109599769115,
0.03299683704972267,
0.03574353829026222,
0.004724877420812845,
-0.0488949790596962,
-0.026120979338884354,
0.011659852229058743,
0.034761276096105576,
0.027467045933008194,
-0.044893160462379456,
-0.014788548462092876,
-0.001894043874926865,
-0.012651212513446808,
-0.02906777523458004,
-0.02102775126695633,
-0.005425196141004562,
0.0011743981158360839,
-0.03326968848705292,
0.05206005647778511,
0.03325149789452553,
-0.03994545340538025,
-0.04536610096693039,
0.003180993255227804,
0.04925878345966339,
0.011314240284264088,
-0.019063221290707588,
0.0009868127526715398,
0.038890425115823746,
0.0310868751257658,
0.041473422199487686,
0.003533426206558943,
0.031432487070560455,
-0.02495681308209896,
0.14442937076091766,
0.00440200325101614,
-0.025266043841838837,
-0.02088223025202751,
0.00364711438305676,
0.006521149538457394,
0.0024397466331720352,
0.07719877362251282,
-0.02241019904613495,
-0.03174171969294548,
-0.023829026147723198,
0.008617558516561985,
-0.038817666471004486,
0.02695772424340248,
-0.0203729085624218,
0.006557529792189598,
-0.048349276185035706,
-0.03266941383481026,
-0.004440657328814268,
-0.027394285425543785,
-0.02977718785405159,
-0.03186905011534691,
-0.05202367529273033,
0.011650756932795048,
-0.053151462227106094,
0.024120068177580833,
0.025302425026893616,
-0.0010248982580378652,
0.0015632114373147488,
0.01347886212170124,
0.014579362235963345,
-0.01783538982272148,
-0.031505245715379715,
-0.058499351143836975,
-0.013306056149303913,
-0.07043205201625824,
-0.01766258478164673,
0.014170085079967976,
0.01078672707080841,
0.03576172888278961,
0.003969988785684109,
0.008162805810570717,
-0.06504778563976288,
-0.07006825506687164,
0.07374265044927597,
-0.004083676729351282,
0.049076881259679794,
0.04645750671625137,
-0.02095499075949192,
0.057153284549713135,
0.08185543864965439,
-0.03199638053774834,
0.0418008416891098,
0.018199192360043526,
0.013551621697843075,
0.0024351992178708315,
-0.016907695680856705,
0.03519783541560173,
-0.008294683881103992,
-0.02308323234319687,
0.04143704101443291,
0.0155889131128788,
0.021391553804278374,
0.00844020489603281,
0.014988639391958714,
0.00215666345320642,
0.075452521443367,
-0.0039199660532176495,
0.044383835047483444,
-0.0552615150809288,
0.06490226835012436,
-0.017653489485383034,
0.0125329764559865,
0.044347457587718964,
-0.007712601218372583,
-0.014888593927025795,
0.002526149619370699,
-0.026102788746356964,
0.016716698184609413,
-0.01691678911447525,
0.000838449748698622,
0.03532516956329346,
0.004406550899147987,
0.026794012635946274,
0.03321511670947075,
-0.042201023548841476,
-0.032105520367622375,
0.04816737771034241,
0.006107325199991465,
-0.03376081958413124,
-0.045657142996788025,
0.038963187485933304,
-0.012969538569450378,
-0.022683050483465195,
0.019354263320565224,
-0.029449766501784325,
-0.01897227019071579,
0.021246032789349556,
0.009922698140144348,
0.02359255589544773,
-0.03354253992438316,
0.03399728983640671,
-0.038344722241163254,
-0.01889950968325138,
0.02497500367462635,
-0.023319704458117485,
-0.07661668956279755,
-0.026612112298607826,
-0.02910415455698967,
0.025829937309026718,
-0.04893136024475098,
0.0003171898133587092,
0.022810380905866623,
-0.023829026147723198,
-0.00573897548019886,
0.007253300864249468,
-0.03587087243795395,
-0.11256031692028046,
-0.04009097442030907,
0.035561639815568924,
-0.03863576427102089,
-0.037580739706754684,
-0.010486590676009655,
-0.028631212189793587,
0.0621737502515316,
-0.009895412251353264,
-0.029413387179374695,
0.04209188371896744,
-0.020118247717618942,
-0.002020237734541297,
0.0010504780802875757,
0.002680765464901924,
0.07916329801082611,
-0.04114599898457527,
-0.029431575909256935,
-0.02493862248957157,
-0.0002930311020463705,
0.03316054493188858,
-0.07290590554475784,
-0.06937702745199203,
0.01973625458776951,
-0.0554434135556221,
-0.01599819026887417,
-0.03030470199882984,
-0.04049115628004074,
-0.022883141413331032,
-0.002061165403574705,
-0.019517973065376282,
0.023228753358125687,
-0.0355980210006237,
0.07035929709672928,
0.04849479719996452,
0.018008194863796234,
-0.08971355855464935,
0.016743984073400497,
0.018790369853377342,
-0.002630742732435465,
-0.07967262715101242,
-0.01016826368868351,
0.0053797210566699505,
-0.04663940891623497,
-0.05144159495830536,
-0.02972261793911457,
0.0095225153490901,
-0.03128696605563164,
0.019099602475762367,
0.012769447639584541,
0.0036107341293245554,
0.03845386579632759,
0.026157358661293983,
0.055188752710819244,
-0.002442020457237959,
-0.033578917384147644,
0.05024104565382004,
0.07083223760128021,
-0.006675765383988619,
-0.028722163289785385,
-0.03574353829026222,
-0.014388366602361202,
-0.03976355120539665,
0.08578449487686157,
-0.02977718785405159,
0.0761801227927208,
-0.009486135095357895,
0.014261036179959774,
-0.0025193283800035715,
-0.02022738754749298,
0.03174171969294548,
0.03428833186626434,
0.010204643942415714,
0.05093226954340935,
-0.021882686764001846,
-0.01348795648664236,
0.010222834534943104,
-0.03376081958413124,
-0.004356528166681528,
0.03197818994522095,
-0.013542527332901955,
-0.044856779277324677,
0.005702595226466656,
0.05522513389587402,
0.07319694757461548,
-0.06693955510854721,
-0.06108234450221062,
-0.0034311069175601006,
-0.01392451860010624,
-0.03054117225110531,
0.08440204709768295,
0.01183265820145607,
0.01650751195847988,
-0.01893589086830616,
-0.03787178173661232,
-0.014424746856093407,
0.005170534830540419,
0.006539339665323496,
-0.013751713559031487,
-0.04121875762939453,
0.0031355179380625486,
0.018453853204846382,
0.00029359952895902097,
0.03659847378730774,
0.010868582874536514,
0.053842686116695404,
-0.03239656239748001,
-0.0011823562672361732,
-0.018381092697381973,
-0.06446570158004761,
0.049622584134340286,
0.037617120891809464,
0.06250116974115372,
-0.01718054711818695,
-0.013769903220236301,
-0.046311985701322556,
-0.008026380091905594,
-0.055843595415353775,
0.03845386579632759,
0.02839474193751812,
0.10659396648406982,
-0.009122333489358425,
-0.03976355120539665,
0.014888593927025795,
-0.009722606278955936,
0.04874945804476738,
-0.034797653555870056,
-0.012487501837313175,
0.01955435425043106,
-0.012260125018656254,
0.05879039317369461,
0.022683050483465195,
-0.06224651262164116,
-0.03321511670947075,
-0.024811292067170143,
-0.0043860869482159615,
-0.027212385088205338,
-0.005857211071997881,
-0.03605277091264725,
0.007180540822446346,
0.08141887187957764,
-0.001425648806616664,
-0.036798566579818726,
0.039618030190467834,
0.03998183086514473,
-0.03718055784702301,
-0.030013659968972206,
0.03508869558572769,
-0.002344248816370964,
-0.03652571514248848,
0.046930450946092606,
0.0004683949809987098,
-0.019463403150439262,
-0.049040500074625015,
0.06530244648456573,
-0.027867227792739868,
0.009376995265483856,
-0.0015745802083984017,
0.03527059778571129,
-0.0034197382628917694,
-0.05802640691399574,
0.061919089406728745,
0.015416107140481472,
0.008617558516561985,
-0.03232380375266075,
-0.03439747169613838,
-0.022119157016277313,
-0.015379726886749268,
-0.0009555485448800027,
-0.005798093508929014,
-0.05959075689315796,
0.0030422937124967575,
0.03301502391695976,
0.0086357481777668,
-0.003265122417360544,
-0.03372443839907646,
-0.022646671161055565,
-0.06082768365740776,
0.022064587101340294,
-0.014015469700098038,
-0.0593360960483551,
-0.024865861982107162,
-0.04540248215198517,
0.0460573248565197,
-0.059772659093141556,
-0.0216098353266716,
-0.01768077351152897,
0.026066409423947334,
0.006357438862323761,
-0.007389726582914591,
-0.02897682413458824,
-0.008926790207624435,
0.07166898250579834,
-0.05333336442708969,
-0.0027216931339353323,
-0.02708505466580391,
0.05758984759449959,
-0.017780819907784462,
-0.0185084231197834,
-0.03659847378730774,
-0.024611201137304306,
0.06450208276510239,
0.02637564018368721,
0.002410187851637602,
-0.09713511914014816,
0.019263312220573425,
0.01147795096039772,
-0.07021377235651016,
0.04674854874610901,
-0.05620739981532097,
0.020791281014680862,
0.025975458323955536,
-0.007407916709780693,
-0.06592091172933578,
-0.00691223656758666,
0.049731723964214325,
-0.07072309404611588,
0.07501596212387085,
0.02557527646422386,
-0.014142800122499466,
-0.01695317029953003,
-0.02097318135201931,
-0.016025476157665253,
-0.05547979474067688,
0.04394727200269699,
0.00010551677405601367,
-0.019135981798171997,
-0.00044338361476548016,
-0.016944075003266335,
-0.049840863794088364,
0.004315600264817476,
0.06010007858276367,
0.02848569117486477,
-0.017035026103258133,
0.07312418520450592,
0.005602549761533737,
-0.07690773159265518,
-0.04103685915470123,
0.013669857755303383,
0.014406556263566017,
-0.03976355120539665,
-0.0027194195427000523,
0.01652570255100727,
0.023174183443188667,
0.013133250176906586,
-0.07381541281938553,
0.07072309404611588,
0.032905884087085724,
-0.04129151999950409,
0.05671672150492668,
-0.01083220262080431,
-0.008267398923635483,
0.041473422199487686,
-0.0027262407820671797,
-0.0196634940803051,
0.01854480430483818,
0.026775822043418884,
0.003708506003022194,
-0.005643477663397789,
-0.0005212599644437432,
-0.04274672642350197,
0.019863585010170937,
-0.01971806399524212,
-0.015770813450217247,
-0.0015575269935652614,
-0.003915418405085802,
0.03870852664113045,
-0.0018804012797772884,
-0.028831303119659424,
0.013087774626910686,
-0.044238314032554626,
0.02510233409702778,
-0.017417017370462418,
0.05253300070762634,
0.0067894537933170795,
-0.02361074648797512,
-0.006157347932457924,
0.04733063280582428,
0.017617108300328255,
0.006889499258249998,
-0.023919977247714996,
-0.006989544723182917,
-0.04209188371896744,
-0.014924974180758,
0.07814465463161469,
-0.028249220922589302,
-0.040236495435237885,
-0.00381537270732224,
0.02097318135201931,
-0.04442021623253822,
0.03161438927054405,
-0.005052299238741398,
0.07134155929088593,
0.008099140599370003,
0.01897227019071579,
-0.07188726216554642,
0.0190450306981802,
0.01899046078324318,
0.06231927126646042,
0.06271945685148239,
0.023883597925305367,
-0.044456597417593,
-0.026721252128481865,
-0.007344251498579979,
-0.005352436099201441,
-0.015334251336753368,
-0.043583471328020096,
0.04885860159993172,
-0.004376992117613554,
0.0038881332147866488,
0.016625748947262764,
0.055115994065999985,
0.0073078712448477745,
0.012269220314919949,
0.009122333489358425,
0.014724883250892162,
-0.013433386571705341,
0.023301513865590096,
0.005170534830540419,
0.057808127254247665,
0.008490228094160557,
0.03045022115111351,
0.08389272540807724,
0.007517057470977306,
0.032087329775094986,
-0.02901320345699787,
0.0336516797542572,
0.030268320813775063,
-0.016780363395810127,
-0.006584815215319395,
-0.017244212329387665,
-0.03303321450948715,
0.05064122751355171,
0.0020031845197081566,
-0.02499319240450859,
-0.07083223760128021,
0.02295590192079544,
0.014379271306097507,
0.04001821205019951,
-0.011059578508138657,
-0.028885873034596443,
-0.02775808796286583,
0.0020804922096431255,
-0.00336971553042531,
-0.02561165578663349,
-0.010823107324540615,
-0.009922698140144348,
0.059299714863300323,
-0.02766713686287403,
0.0155434375628829,
0.028103699907660484,
0.02155526541173458,
-0.06632108986377716,
-0.023374274373054504,
0.001119827851653099,
-0.05340612307190895,
0.04274672642350197,
0.043001387268304825,
0.0343610942363739,
0.041691701859235764,
0.021882686764001846,
0.005493409000337124,
-0.02291952259838581,
-0.02917691506445408,
-0.016998644918203354,
-0.02493862248957157,
-0.02017281763255596,
0.05620739981532097,
-0.028631212189793587,
-0.009099596180021763,
0.059263333678245544,
0.02017281763255596,
0.008854029700160027,
-0.0052705807611346245,
0.04656664654612541,
-0.012305600568652153,
-0.07530700415372849,
-0.007316966541111469,
-0.023283323273062706,
0.022683050483465195,
0.02575717680156231,
-0.0021214201115071774,
-0.0017155534587800503,
0.07567080110311508,
-0.031450677663087845,
-0.015388822183012962,
-0.027212385088205338,
-0.008358349092304707,
-0.05475218966603279,
0.007803551387041807,
-0.030195560306310654,
-0.016889505088329315,
0.07530700415372849,
-0.00607094494625926,
-0.021082323044538498,
0.02513871341943741,
-0.012387455441057682,
-0.02106413245201111,
0.03430652245879173,
-0.04260120540857315,
0.011741707101464272,
-0.008099140599370003,
-0.0795271024107933,
0.02371988631784916,
-0.025520706549286842,
-0.03237837180495262,
0.02031833864748478,
-0.03983631357550621,
0.05911781266331673,
-0.020009106025099754,
-0.041546180844306946,
-0.02104594185948372,
0.06686679273843765,
-0.08185543864965439,
0.04802185669541359,
0.07516147941350937,
0.03856300562620163,
0.02772170677781105,
-0.06974083185195923,
-0.007617102935910225,
0.03461575508117676,
0.001604139106348157,
0.007362441625446081,
0.02983175776898861,
-0.0027262407820671797,
-0.008240113966166973,
0.019445212557911873,
0.02648478001356125,
0.04329242929816246,
-0.02637564018368721,
0.023919977247714996,
-0.023319704458117485,
-0.029195105656981468,
-0.010704872198402882,
-0.04056391492486,
-0.06512054800987244,
0.04558438062667847,
0.02370169572532177,
0.03261484205722809,
0.01388813927769661,
0.043619852513074875,
0.03663485497236252,
0.032232850790023804,
-0.021791735664010048,
0.04543886333703995,
-0.03659847378730774,
0.03175991028547287,
-0.040927719324827194,
0.017453398555517197,
-0.010013648308813572,
0.004947706125676632,
-0.006612100172787905,
-0.04034563526511192,
0.020136436447501183,
0.0063983662985265255,
0.06683041900396347,
0.02908596396446228,
-0.047803573310375214,
0.021791735664010048,
0.01693497970700264,
-0.010231929831206799,
0.048312898725271225,
0.03576172888278961,
-0.011605281382799149,
0.026757631450891495,
-0.02641202136874199,
0.009649846702814102,
0.029558906331658363,
0.017044121399521828,
0.04856755957007408,
0.061191484332084656,
-0.06686679273843765,
0.027430666610598564,
0.047730814665555954,
-0.06351982057094574,
-0.03254208341240883,
-0.042346544563770294,
-0.010013648308813572,
0.02106413245201111,
-0.004420193377882242,
0.012905873358249664,
0.012387455441057682,
0.05027742683887482,
0.05395182594656944,
0.02773989737033844,
0.09567990899085999,
0.04070943593978882,
0.045548003166913986,
-0.05082312971353531,
-0.04249206557869911,
0.033560726791620255,
-0.002020237734541297,
-0.049004118889570236,
0.04052753373980522,
0.053769927471876144,
-0.006380176637321711,
0.022446580231189728,
0.017089596018195152,
0.0035675326362252235,
-0.046930450946092606,
-0.0033356091007590294,
-0.029322436079382896,
0.08112782984972,
-0.0028331074863672256,
0.0009311055764555931,
-0.05206005647778511,
0.028140079230070114,
0.016325611621141434,
0.009063215926289558,
0.04663940891623497,
-0.04041839390993118,
0.007730791345238686
] |
18,446 | miarec_s3fs.s3fs | _info_from_object | Make an info dict from an s3 Object. | def _info_from_object(self, obj, namespaces):
"""Make an info dict from an s3 Object."""
key = obj.key
path = self._key_to_path(key)
name = basename(path.rstrip("/"))
is_dir = key.endswith(self.delimiter)
info = {"basic": {"name": name, "is_dir": is_dir}}
if "details" in namespaces:
_type = int(ResourceType.directory if is_dir else ResourceType.file)
info["details"] = {
"accessed": None,
"modified": datetime_to_epoch(obj.last_modified),
"size": obj.content_length,
"type": _type,
}
if "s3" in namespaces:
s3info = info["s3"] = {}
for name in self._object_attributes:
value = getattr(obj, name, None)
if isinstance(value, datetime):
value = datetime_to_epoch(value)
s3info[name] = value
if "urls" in namespaces:
url = self.client.generate_presigned_url(
ClientMethod="get_object",
Params={"Bucket": self._bucket_name, "Key": key},
)
info["urls"] = {"download": url}
return info
| (self, obj, namespaces) | [
0.0018504387699067593,
0.019237829372286797,
-0.08649328351020813,
-0.03582083806395531,
0.03278126195073128,
-0.04501652345061302,
0.03512827679514885,
0.03641721233725548,
-0.021277040243148804,
0.03066510148346424,
-0.01651567779481411,
0.03889889270067215,
0.03006872907280922,
-0.049171894788742065,
-0.026856010779738426,
0.06829429417848587,
-0.03870651498436928,
0.010619282722473145,
-0.01139841414988041,
0.028067994862794876,
-0.025105368345975876,
-0.007517182268202305,
0.007016998715698719,
-0.005088406149297953,
0.026740584522485733,
-0.022219693288207054,
0.02600954659283161,
0.01612130180001259,
0.02622116170823574,
-0.00014683874906040728,
0.002787080593407154,
-0.03135766461491585,
0.04501652345061302,
0.07141082733869553,
-0.009229348972439766,
-0.024239666759967804,
0.05244232341647148,
-0.035763125866651535,
-0.05698245391249657,
0.040284015238285065,
-0.018506793305277824,
0.02918378822505474,
-0.020238196477293968,
-0.042092371731996536,
0.07964462041854858,
0.047094207257032394,
0.003094885963946581,
0.01105213351547718,
0.008777259849011898,
-0.00889749638736248,
0.030992144718766212,
0.0032199318520724773,
0.005622256081551313,
-0.05259622633457184,
-0.010821279138326645,
-0.03916822373867035,
0.03203098848462105,
0.0065697189420461655,
-0.04240017756819725,
0.05509714409708977,
0.03480123355984688,
0.016563771292567253,
0.025932595133781433,
-0.03582083806395531,
-0.058483004570007324,
-0.03318525850772858,
-0.00876764114946127,
-0.03066510148346424,
-0.08795536309480667,
-0.019776489585638046,
0.03264659643173218,
-0.023681769147515297,
-0.009253396652638912,
-0.0036167120561003685,
-0.03655187785625458,
-0.07437345385551453,
0.011956311762332916,
-0.03503208979964256,
0.011812027543783188,
0.00022394036932382733,
-0.03695587068796158,
-0.07310375571250916,
-0.016255967319011688,
-0.028568178415298462,
0.028029518201947212,
0.016092445701360703,
0.01503436453640461,
-0.03405096009373665,
0.039476025849580765,
0.10319171845912933,
-0.06883295625448227,
0.036494165658950806,
-0.010321095585823059,
0.008267457596957684,
-0.01933402009308338,
-0.014736178331077099,
-0.01975725218653679,
-0.04986445605754852,
-0.0043212976306676865,
-0.010455761104822159,
0.01008062344044447,
-0.054366108030080795,
-0.0654086247086525,
0.002479275455698371,
0.020122770220041275,
-0.05859843268990517,
0.005073977634310722,
-0.004780600778758526,
0.025028416886925697,
-0.0033930724021047354,
0.01738137938082218,
-0.03870651498436928,
-0.04120743274688721,
0.02035362459719181,
0.023297011852264404,
-0.09003304690122604,
0.049171894788742065,
0.008397312834858894,
-0.06941009312868118,
-0.06902533769607544,
-0.0071564726531505585,
-0.014284089207649231,
-0.02899141050875187,
0.03503208979964256,
0.031184522435069084,
-0.029607020318508148,
0.036782730370759964,
-0.013408767990767956,
0.04678640142083168,
0.023239299654960632,
0.0033978817518800497,
-0.05090329796075821,
-0.08233791589736938,
0.0006811394123360515,
0.052673179656267166,
-0.005665541160851717,
0.010580806992948055,
0.027009913697838783,
-0.038379471749067307,
0.045054998248815536,
0.05979117751121521,
-0.021796461194753647,
-0.039745356887578964,
-0.032665837556123734,
-0.021623320877552032,
-0.02016124688088894,
0.02385490946471691,
-0.03599398210644722,
-0.03087671659886837,
-0.05452001094818115,
0.016207871958613396,
0.0029169360641390085,
0.03768691048026085,
0.03241574391722679,
-0.03497437387704849,
-0.09580439329147339,
0.009599677287042141,
-0.06079154461622238,
-0.006021440960466862,
0.016092445701360703,
-0.0009853376541286707,
0.02872208133339882,
-0.01799699105322361,
-0.048902563750743866,
0.02191188931465149,
0.014486086554825306,
0.04555518180131912,
-0.017035098746418953,
-0.016265586018562317,
-0.009195682592689991,
-0.03424333781003952,
0.021988840773701668,
-0.03337763622403145,
0.030491961166262627,
-0.000004335087396611925,
0.053904399275779724,
-0.02245054766535759,
-0.004912860691547394,
0.028144946321845055,
-0.03659035265445709,
0.007401755079627037,
-0.045862987637519836,
0.01678500697016716,
0.0702565535902977,
-0.04043791815638542,
0.017977751791477203,
0.010330715216696262,
0.047017257660627365,
0.04232322797179222,
0.012158309109508991,
0.0013743025483563542,
0.031222999095916748,
-0.033473823219537735,
0.005247118417173624,
0.031723182648420334,
-0.00010708557965699583,
-0.0008921543485485017,
0.010032528080046177,
-0.046747926622629166,
0.07622028142213821,
0.005487591028213501,
0.04159218817949295,
-0.00591563293710351,
-0.004056777339428663,
0.00926301535218954,
0.029914826154708862,
0.0015137767186388373,
0.04043791815638542,
-0.08787840604782104,
0.08279962092638016,
0.005122072529047728,
0.039476025849580765,
-0.02689448744058609,
0.0033040973357856274,
0.0024840848054736853,
0.056251414120197296,
0.004568984732031822,
0.038995083421468735,
0.02953006885945797,
-0.03866804018616676,
0.018574124202132225,
-0.02789485454559326,
-0.005521257407963276,
0.029376165941357613,
0.0017915229545906186,
-0.009537153877317905,
0.055443428456783295,
-0.00766627537086606,
-0.009190873242914677,
-0.044131580740213394,
-0.01955525390803814,
-0.019035832956433296,
-0.026105735450983047,
0.06663984060287476,
0.0705258846282959,
-0.0010009683901444077,
0.054904766380786896,
-0.004109681583940983,
0.020180484279990196,
-0.06013745814561844,
0.05178824067115784,
-0.04032249376177788,
-0.03499361500144005,
0.015053601935505867,
-0.05378897488117218,
-0.029626257717609406,
0.01670805551111698,
0.018016228452324867,
-0.07114149630069733,
-0.058752331882715225,
0.06764020770788193,
0.07141082733869553,
-0.006324436515569687,
-0.010061385110020638,
0.008988875895738602,
-0.03943755105137825,
-0.01277391891926527,
-0.05263470485806465,
0.017419856041669846,
-0.03489742428064346,
-0.019536016508936882,
-0.039745356887578964,
0.006742859724909067,
0.03443571552634239,
-0.01866069622337818,
0.030318820849061012,
0.04524737596511841,
-0.004809457343071699,
-0.04770981892943382,
0.027740951627492905,
0.12581540644168854,
0.012754681520164013,
-0.03695587068796158,
0.01873764581978321,
-0.02452823333442211,
-0.0022989206481724977,
-0.010600044392049313,
-0.04651707410812378,
-0.039341364055871964,
0.01740061677992344,
-0.007262281142175198,
-0.02164255827665329,
-0.019988104701042175,
-0.0008230184321291745,
0.06748630851507187,
-0.024912990629673004,
0.02756781131029129,
0.04770981892943382,
0.0030756480991840363,
0.06390807032585144,
-0.06875600665807724,
0.025855643674731255,
-0.051403481513261795,
-0.03156927973031998,
-0.04386225342750549,
0.023739483207464218,
-0.05932946875691414,
-0.011263749562203884,
0.030992144718766212,
0.013168294914066792,
-0.06494691222906113,
0.04559365659952164,
0.01806432195007801,
-0.007137234788388014,
0.02454747073352337,
0.03305059298872948,
0.050864823162555695,
-0.03457038104534149,
-0.010917468927800655,
0.008435788564383984,
0.034416478127241135,
0.025105368345975876,
0.06502386927604675,
0.07329612970352173,
0.0020127580501139164,
-0.013908951543271542,
-0.03210793808102608,
-0.0010785209015011787,
-0.015621118247509003,
0.04901799187064171,
-0.02360481768846512,
0.02320082299411297,
-0.007257471326738596,
-0.01169660035520792,
0.10065232962369919,
-0.09688170999288559,
-0.05136500671505928,
0.031165285035967827,
0.02008429542183876,
0.04517042636871338,
-0.03797547519207001,
-0.017025480046868324,
0.01142727117985487,
0.04347749799489975,
-0.01691967248916626,
0.03241574391722679,
-0.03682120889425278,
-0.02414347603917122,
-0.0039269221015274525,
0.01685233972966671,
0.05890623480081558,
-0.02879903092980385,
-0.05394287779927254,
0.05109567567706108,
-0.08187620341777802,
-0.039476025849580765,
0.07021807879209518,
-0.060637641698122025,
0.005213452037423849,
-0.004648340865969658,
-0.061099350452423096,
-0.012898964807391167,
0.032723549753427505,
0.03503208979964256,
-0.006613004021346569,
-0.039072033017873764,
0.022758353501558304,
-0.050056833773851395,
-0.009686247445642948,
-0.03405096009373665,
0.01773727871477604,
-0.006026250310242176,
0.008132793009281158,
-0.056328367441892624,
0.049441222101449966,
0.021084662526845932,
0.04116895794868469,
0.030107203871011734,
0.049787506461143494,
-0.03922593593597412,
-0.05475086346268654,
-0.014880461618304253,
-0.01955525390803814,
-0.03524370491504669,
-0.0011464544804766774,
0.026605919003486633,
0.03168470785021782,
-0.02851046435534954,
-0.05371202155947685,
0.036359500139951706,
-0.005059549119323492,
0.04024554044008255,
0.0038451612927019596,
0.011340701021254063,
0.02789485454559326,
-0.01758337765932083,
0.04170761629939079,
0.02318158559501171,
-0.005314450711011887,
-0.02398957498371601,
-0.00010543232929194346,
-0.004855147562921047,
0.041899994015693665,
0.0001422547356924042,
0.0032824547961354256,
-0.040822677314281464,
0.03316602110862732,
-0.01758337765932083,
-0.03955297917127609,
0.01826632022857666,
0.009792055934667587,
-0.04393920302391052,
-0.043592922389507294,
-0.007829796522855759,
-0.016496438533067703,
-0.02237359620630741,
0.026682870462536812,
0.002527369884774089,
0.01212945207953453,
-0.021180851384997368,
0.03516675531864166,
-0.0651392936706543,
0.012110213749110699,
-0.03962992876768112,
0.016409868374466896,
0.009229348972439766,
-0.04832543060183525,
0.019872678443789482,
-0.049248844385147095,
0.012927821837365627,
0.018458697944879532,
-0.019834203645586967,
-0.009041780605912209,
-0.04409310594201088,
-0.004083229694515467,
-0.034339528530836105,
-0.029337691143155098,
-0.042361702769994736,
0.06256142258644104,
-0.013235626742243767,
0.024297378957271576,
-0.011292606592178345,
-0.015621118247509003,
-0.03911050781607628,
0.04447786509990692,
0.01826632022857666,
0.006540862377732992,
0.020257435739040375,
0.003934136126190424,
0.05640531703829765,
-0.03276202455163002,
-0.021353991702198982,
-0.033531539142131805,
0.02926073968410492,
-0.01632329821586609,
0.04909494146704674,
0.006348484195768833,
-0.030857479199767113,
0.04821000248193741,
0.0002523462171666324,
-0.0008109947666525841,
-0.020315147936344147,
0.014303326606750488,
-0.03533989563584328,
-0.024489758536219597,
-0.03270431235432625,
0.051672812551259995,
0.03734062984585762,
-0.008238600566983223,
-0.03274278715252876,
-0.06941009312868118,
-0.03580160066485405,
0.032511934638023376,
-0.05832910165190697,
-0.0015137767186388373,
-0.010253763757646084,
0.005910823121666908,
0.01624634675681591,
-0.042707983404397964,
-0.06410045176744461,
0.0076807038858532906,
0.02345091477036476,
-0.029703209176659584,
0.05405830219388008,
0.03962992876768112,
0.01328372210264206,
0.017304427921772003,
0.014024377800524235,
-0.014389896765351295,
-0.04374682530760765,
0.02562478929758072,
-0.03916822373867035,
0.02670210786163807,
0.014514942653477192,
-0.023489391431212425,
-0.002753414446488023,
-0.011888979002833366,
0.01854526810348034,
0.03370467945933342,
-0.015726925805211067,
0.009493868798017502,
0.0046820067800581455,
-0.07306528091430664,
0.050595492124557495,
0.00933034811168909,
0.046747926622629166,
-0.006584147457033396,
0.02656744420528412,
-0.03676349297165871,
-0.025797929614782333,
0.03114604763686657,
-0.03410867229104042,
-0.03599398210644722,
-0.006295579951256514,
-0.051942139863967896,
0.02298920787870884,
-0.05028769001364708,
0.001267292071133852,
0.020584478974342346,
-0.033531539142131805,
-0.043515972793102264,
0.04482414573431015,
0.017006242647767067,
0.04913341999053955,
-0.01563073694705963,
0.0004590025928337127,
-0.06994874775409698,
0.03889889270067215,
-0.021219326183199883,
-0.020796094089746475,
0.028875982388854027,
-0.016275204718112946,
0.04570908471941948,
-0.044862620532512665,
-0.012725824490189552,
0.0008458633674308658,
-0.02851046435534954,
0.011282987892627716,
-0.009513107128441334,
0.0010568782454356551,
-0.027625523507595062,
-0.03816785663366318,
-0.0075027537532150745,
-0.001490931841544807,
0.013091343455016613,
0.05709787830710411,
0.03006872907280922,
-0.00444874819368124,
0.003999063745141029,
-0.01611168310046196,
0.0783364474773407,
0.005742492154240608,
-0.0025538220070302486,
0.004292441066354513,
0.008204934187233448,
0.040476392954587936,
0.025836406275629997,
-0.020469050854444504,
0.011004039086401463,
-0.01459189411252737,
0.04632469639182091,
-0.037648431956768036,
0.03262735903263092,
0.030761290341615677,
-0.002197922207415104,
0.021007711067795753,
0.01766994781792164,
-0.08349218219518661,
-0.015322932042181492,
-0.019536016508936882,
0.02110389992594719,
0.05317336320877075,
0.006487958133220673,
0.06644746661186218,
-0.03982231020927429,
0.02277759090065956,
0.02177722379565239,
0.07191100716590881,
-0.0009997659362852573,
0.033127542585134506,
-0.006059916689991951,
0.04070724919438362,
0.018247082829475403,
0.014803510159254074,
0.013428005389869213,
0.005150929093360901,
-0.023066159337759018,
0.012283354997634888,
0.05217299610376358,
-0.018968500196933746,
0.051326531916856766,
-0.019035832956433296,
0.012735443189740181,
-0.008733974769711494,
-0.033877819776535034,
-0.019401350989937782,
-0.01814127340912819,
-0.03970688208937645,
0.04859475791454315,
0.014168662019073963,
-0.05509714409708977,
-0.001714571611955762,
-0.029780160635709763,
0.00022168592840898782,
0.04990293085575104,
-0.015553785488009453,
0.024970702826976776,
-0.054827816784381866,
-0.010523092932999134,
-0.045670609921216965,
-0.00586272869259119,
0.031453851610422134,
-0.03585931658744812,
0.045324329286813736,
-0.0006074946140870452,
0.02239283360540867,
-0.029645496979355812,
0.006257104221731424,
-0.01921859197318554,
-0.03599398210644722,
-0.006608194671571255,
-0.04724811017513275,
0.029953300952911377,
0.03793700039386749,
0.023951098322868347,
0.03499361500144005,
-0.06252294778823853,
0.01503436453640461,
0.0019971271976828575,
-0.018045084550976753,
0.02002658136188984,
-0.013630002737045288,
-0.011215655133128166,
0.08872487396001816,
-0.06410045176744461,
-0.008988875895738602,
0.02508613094687462,
-0.027875615283846855,
0.011638887226581573,
-0.06106087192893028,
0.026990676298737526,
0.007555657997727394,
0.07656656205654144,
-0.03168470785021782,
0.021123137325048447,
0.09903635084629059,
0.019564872607588768,
0.04390072822570801,
-0.053288791328668594,
0.05298098549246788,
0.05321183800697327,
-0.05240384861826897,
-0.05182671546936035,
0.01321638934314251,
-0.028741318732500076,
-0.03714824840426445,
0.03410867229104042,
-0.03274278715252876,
0.038995083421468735,
-0.014534180983901024,
0.026721345260739326,
0.02285454235970974,
-0.008503121323883533,
0.0006637051701545715,
-0.003073243424296379,
-0.0007947628619149327,
0.018093179911375046,
-0.03699434921145439,
0.008940781466662884,
-0.03316602110862732,
0.0015630737179890275,
-0.061368677765131,
-0.02939540520310402,
0.0033642156049609184,
0.058483004570007324,
-0.015611499547958374,
-0.04490109533071518,
-0.012793157249689102,
0.025586314499378204,
-0.04724811017513275,
0.06764020770788193,
0.07021807879209518,
0.03214641287922859,
0.036494165658950806,
-0.05171128734946251,
-0.010696233250200748,
0.051134154200553894,
-0.032531172037124634,
0.01933402009308338,
0.0075268009677529335,
0.012321830727159977,
-0.030184155330061913,
0.016467582434415817,
0.029376165941357613,
0.028568178415298462,
-0.050787873566150665,
0.033954769372940063,
-0.0664859414100647,
-0.04832543060183525,
-0.02360481768846512,
0.012052500620484352,
-0.03553227335214615,
0.01604435034096241,
0.004934503231197596,
-0.050595492124557495,
-0.021757986396551132,
0.009686247445642948,
0.07902900874614716,
0.07114149630069733,
-0.035628460347652435,
0.026201924309134483,
-0.028702842071652412,
0.06102239713072777,
-0.041899994015693665,
-0.02156560681760311,
-0.021873412653803825,
-0.026856010779738426,
-0.025932595133781433,
0.0014151828363537788,
-0.00567996921017766,
-0.023104634135961533,
0.04590146243572235,
-0.006959285121411085,
-0.06640899181365967,
0.019170498475432396,
0.057751964777708054,
-0.01827593892812729,
-0.0025995117612183094,
0.028067994862794876,
-0.040822677314281464,
0.011821646243333817,
-0.031511567533016205,
0.010994420386850834,
0.07060283422470093,
0.014803510159254074,
-0.005223070736974478,
-0.007608561776578426,
0.025778692215681076,
-0.034281812608242035,
-0.0015450381906703115,
0.006920809391885996,
0.001309374812990427,
-0.07775931060314178,
-0.03370467945933342,
0.02137322910130024,
0.005535685457289219,
0.03489742428064346,
-0.019035832956433296,
0.009686247445642948,
0.06790953874588013,
0.011937073431909084,
0.04597841575741768,
0.003960588481277227,
0.07171863317489624,
-0.02689448744058609,
-0.04886408895254135,
0.034281812608242035,
0.027548572048544884,
0.00856083445250988,
0.04563213512301445,
0.0831843763589859,
0.007748036179691553,
-0.020122770220041275,
-0.004244346171617508,
0.0306843388825655,
-0.05378897488117218,
-0.034608855843544006,
0.03358925133943558,
0.06456215679645538,
0.01854526810348034,
-0.04301578924059868,
-0.06579338014125824,
0.05513562262058258,
0.014514942653477192,
0.02312387153506279,
0.06098392233252525,
-0.03424333781003952,
-0.04259255528450012
] |
18,447 | miarec_s3fs.s3fs | _key_to_path | null | def _key_to_path(self, key):
return key.replace(self.delimiter, "/")
| (self, key) | [
0.0035842368379235268,
0.00036562138120643795,
-0.005507791414856911,
0.08618858456611633,
-0.031277578324079514,
-0.03588409349322319,
0.027856070548295975,
0.0548776276409626,
0.07090029120445251,
0.010439767502248287,
0.022798918187618256,
-0.037019032984972,
0.030459754168987274,
0.045364171266555786,
0.005737282335758209,
0.014345292933285236,
0.04152540862560272,
0.043094292283058167,
0.019694525748491287,
0.010389696806669235,
-0.03862129896879196,
-0.010598325170576572,
0.05137266963720322,
-0.05831582471728325,
-0.021864261478185654,
0.04029032588005066,
0.019127056002616882,
0.012793096713721752,
0.0558122843503952,
-0.10962173342704773,
0.019594384357333183,
-0.02632056549191475,
0.04689967632293701,
0.03378111869096756,
-0.033196959644556046,
-0.020328756421804428,
0.007769323885440826,
0.016515027731657028,
-0.014261840842664242,
-0.04242668300867081,
0.01403652224689722,
0.05080519989132881,
0.0012820218689739704,
-0.03895510360598564,
0.05053815618157387,
0.07303664833307266,
-0.03918876871466637,
0.014003141783177853,
0.017257746309041977,
0.0030960463918745518,
-0.0160894263535738,
-0.06091950833797455,
-0.0591503381729126,
-0.04609854519367218,
-0.02630387619137764,
-0.025435980409383774,
0.028790727257728577,
-0.017624931409955025,
-0.022031165659427643,
0.022364970296621323,
0.023650120943784714,
-0.02176412008702755,
0.009546837769448757,
0.052540991455316544,
0.049603503197431564,
0.009822227992117405,
-0.04282724857330322,
0.004823490045964718,
0.03005918860435486,
0.012242318131029606,
0.023433148860931396,
-0.029808834195137024,
-0.030009116977453232,
-0.013802859000861645,
-0.0019068641122430563,
-0.024267662316560745,
-0.03735283762216568,
0.006555106025189161,
-0.014303566887974739,
-0.008449451997876167,
-0.042460061609745026,
-0.07410483062267303,
-0.023416457697749138,
-0.04903603345155716,
0.0053575788624584675,
0.025569504126906395,
-0.0049444944597780704,
-0.044095709919929504,
-0.0444628968834877,
0.036117758601903915,
-0.011558016762137413,
-0.013327185995876789,
-0.07704231888055801,
0.03020939975976944,
-0.000016217602023971267,
-0.054143257439136505,
0.012175556272268295,
-0.024467945098876953,
0.005002910271286964,
-0.03748635947704315,
0.019861428067088127,
0.03339724242687225,
0.0049111139960587025,
0.036952272057533264,
0.020495658740401268,
-0.08058065176010132,
-0.02905777096748352,
0.014387018047273159,
-0.02012847363948822,
-0.002574475249275565,
-0.07290312647819519,
0.0022010302636772394,
-0.025202317163348198,
0.03232906386256218,
0.02612028270959854,
0.036284662783145905,
-0.0004313393437769264,
-0.004948666784912348,
0.06863041967153549,
0.023650120943784714,
0.020695943385362625,
0.010481493547558784,
-0.06916450709104538,
0.02922467328608036,
0.015797346830368042,
0.02680458314716816,
-0.004706657957285643,
0.06903098523616791,
0.003882575547322631,
0.0013686026213690639,
-0.04192597419023514,
0.09620275348424911,
-0.017791835591197014,
-0.0003658821515273303,
0.017791835591197014,
0.039222151041030884,
-0.032579418271780014,
0.05925048142671585,
-0.011407803744077682,
0.06318938732147217,
0.0444628968834877,
-0.04583149775862694,
0.00957187358289957,
-0.012484326958656311,
0.04025694727897644,
-0.015538647770881653,
0.010915440507233143,
0.016848834231495857,
-0.01136607863008976,
-0.03748635947704315,
0.006071087904274464,
0.05541171878576279,
0.06238825246691704,
-0.018626349046826363,
0.06075260788202286,
-0.06198768690228462,
-0.002509800251573324,
0.031895119696855545,
0.021547146141529083,
-0.03331379219889641,
0.057414550334215164,
-0.06118655204772949,
-0.003759484738111496,
-0.04496360570192337,
0.018809940665960312,
0.020662562921643257,
0.07650822401046753,
0.012667919509112835,
0.038888342678546906,
-0.007535659708082676,
0.03448211029171944,
-0.022448422387242317,
-0.0645579919219017,
0.04643234983086586,
-0.0009059690637513995,
-0.015054629184305668,
-0.02500203438103199,
-0.004581480752676725,
0.03711917623877525,
-0.011316007003188133,
0.04563121497631073,
0.028290018439292908,
0.03688551113009453,
0.052507609128952026,
0.0071100578643381596,
-0.002653753850609064,
-0.021346863359212875,
0.007481416221708059,
0.023666812106966972,
0.017458029091358185,
-0.04853532463312149,
0.020545730367302895,
-0.040023282170295715,
0.006338132545351982,
-0.0010702640283852816,
-0.05230732634663582,
0.045531075447797775,
0.001454140292480588,
-0.09146271646022797,
0.06165388226509094,
-0.0023199485149234533,
-0.008495350368320942,
-0.004706657957285643,
0.010631706565618515,
-0.01599762961268425,
-0.0323624461889267,
0.04499698430299759,
0.01638985238969326,
-0.01275137159973383,
0.028991010040044785,
0.030810249969363213,
-0.03635142371058464,
-0.018142331391572952,
0.004819317255169153,
-0.0007416741573251784,
-0.009755466133356094,
-0.09480077028274536,
0.0645579919219017,
-0.0015657565090805292,
0.06085274741053581,
0.0186931099742651,
0.03765326365828514,
0.04840180277824402,
-0.04139188677072525,
0.016531718894839287,
-0.05020435154438019,
-0.028640514239668846,
0.010314591228961945,
-0.02354997955262661,
-0.051873378455638885,
0.032562728971242905,
-0.05764821544289589,
-0.044696561992168427,
0.01681545376777649,
0.010072581470012665,
-0.05861625075340271,
0.0013310495996847749,
-0.0344153493642807,
0.10261181741952896,
-0.017307816073298454,
0.028623824939131737,
-0.036117758601903915,
-0.002070637419819832,
-0.0431610532104969,
0.003611358581110835,
0.012634539045393467,
0.01372775249183178,
0.017107533290982246,
0.03444873169064522,
0.024935273453593254,
0.029591860249638557,
-0.0057539730332791805,
-0.031110676005482674,
0.05434354022145271,
0.016773728653788567,
-0.009730431251227856,
-0.07911191135644913,
0.03818735107779503,
-0.03681875020265579,
0.017024081200361252,
-0.05434354022145271,
0.023666812106966972,
-0.006843013223260641,
-0.03975623846054077,
-0.019076986238360405,
-0.03521648421883583,
0.016439922153949738,
0.021013058722019196,
0.03835425525903702,
-0.021680669859051704,
-0.04299415275454521,
0.021213341504335403,
-0.06632716208696365,
-0.01884332299232483,
-0.01917712762951851,
0.029625240713357925,
-0.04306091368198395,
0.01981135830283165,
0.026687752455472946,
-0.009947405196726322,
-0.020211923867464066,
-0.029775453731417656,
-0.023950546979904175,
-0.007760978769510984,
0.012359149754047394,
0.02243173122406006,
0.028540372848510742,
-0.041959356516599655,
0.030693419277668,
0.016940630972385406,
0.01835930347442627,
-0.021547146141529083,
-0.026387326419353485,
0.0604521818459034,
-0.004706657957285643,
-0.01225066278129816,
0.01542181521654129,
-0.0645579919219017,
0.06228811293840408,
-0.027538957074284554,
0.014503850601613522,
0.052040282636880875,
-0.034849297255277634,
-0.015179806388914585,
-0.013418981805443764,
0.018559588119387627,
-0.012284043245017529,
0.011674848385155201,
0.015730585902929306,
0.05127253010869026,
-0.06555940955877304,
-0.031277578324079514,
-0.025569504126906395,
0.04786771163344383,
0.026687752455472946,
0.010990547016263008,
-0.025052104145288467,
0.05137266963720322,
0.007514797151088715,
0.07150114327669144,
0.01113241445273161,
0.04900265112519264,
-0.027522265911102295,
0.02435111254453659,
0.012467636726796627,
-0.02531914971768856,
0.02757233753800392,
-0.01599762961268425,
-0.017791835591197014,
0.005824906285852194,
0.04643234983086586,
-0.007322859019041061,
-0.030960462987422943,
-0.032045330852270126,
-0.0034131614957004786,
-0.015588718466460705,
0.0029354023281484842,
-0.013135247863829136,
-0.006868048571050167,
0.04215963929891586,
0.03187842667102814,
-0.04820151999592781,
0.022047854959964752,
-0.013686026446521282,
-0.01737457700073719,
-0.016773728653788567,
-0.01886001229286194,
0.002465988276526332,
-0.007368756923824549,
-0.028506992384791374,
0.011090688407421112,
-0.05033787339925766,
0.03605099767446518,
-0.00241591758094728,
0.047500528395175934,
-0.011666502803564072,
-0.0552448146045208,
-0.03948919475078583,
-0.01689055934548378,
0.02939157746732235,
0.08411899209022522,
-0.034849297255277634,
-0.004193432163447142,
-0.03908862918615341,
0.02678789384663105,
0.011649812571704388,
-0.03862129896879196,
-0.028991010040044785,
0.023583360016345978,
0.021730739623308182,
-0.005486928392201662,
0.007594075985252857,
0.02189764194190502,
-0.025085484609007835,
-0.023015892133116722,
0.0314444825053215,
0.04459641873836517,
0.007727597840130329,
0.0035884093958884478,
0.021964404731988907,
0.031043915078043938,
0.04709995910525322,
0.03928891196846962,
0.07317017018795013,
-0.008224133402109146,
0.017124224454164505,
0.03982299938797951,
-0.04162554815411568,
0.0509721040725708,
-0.012776406481862068,
-0.004706657957285643,
0.02012847363948822,
0.0295751690864563,
-0.024785060435533524,
-0.046832915395498276,
-0.037252698093652725,
0.06512545794248581,
-0.055278196930885315,
0.05050477758049965,
0.02303258143365383,
0.06709491461515427,
-0.02662099152803421,
-0.05938400328159332,
0.06392376124858856,
0.054777488112449646,
-0.011774989776313305,
0.0031502896454185247,
0.04192597419023514,
-0.03438197076320648,
-0.011975273489952087,
-0.014003141783177853,
-0.07296989113092422,
0.004548100288957357,
0.003202446736395359,
0.035950854420661926,
-0.044396135956048965,
-0.06255515664815903,
-0.042593587189912796,
-0.00026156794046983123,
0.05020435154438019,
-0.06088612973690033,
-0.017591550946235657,
-0.04169230908155441,
0.0058207339607179165,
-0.0010650482727214694,
0.0027163424529135227,
-0.010715157724916935,
-0.030693419277668,
0.06255515664815903,
0.0519067607820034,
-0.05354240536689758,
-0.039555955678224564,
-0.029959045350551605,
-0.0026308048982173204,
-0.03134433925151825,
0.015138080343604088,
0.08819141983985901,
0.012067070230841637,
0.014186735264956951,
-0.01755817048251629,
-0.027538957074284554,
0.0036468254402279854,
0.010781918652355671,
-0.012058724649250507,
0.02792283333837986,
-0.0448300838470459,
-0.03711917623877525,
0.03965609520673752,
0.045898258686065674,
-0.02319948375225067,
-0.02725522220134735,
0.014186735264956951,
-0.0009346554870717227,
-0.0071601285599172115,
0.015455195680260658,
-0.026086902245879173,
0.00974712148308754,
-0.01364430133253336,
0.07530652731657028,
-0.008149027824401855,
-0.004216380883008242,
0.06071922555565834,
0.05978456884622574,
-0.023282935842871666,
0.0062421634793281555,
-0.035149723291397095,
0.004940321668982506,
0.02745550498366356,
0.015405124984681606,
-0.050104208290576935,
-0.028323398903012276,
0.008328448049724102,
-0.009096200577914715,
0.05514467507600784,
-0.03202864155173302,
0.061286695301532745,
0.040190186351537704,
0.05337550491094589,
-0.03267956152558327,
-0.029842214658856392,
-0.0545104444026947,
-0.09339878708124161,
-0.05955090746283531,
0.010347971692681313,
0.0643577054142952,
-0.006425756495445967,
-0.07116734236478806,
0.019611075520515442,
-0.036785367876291275,
-0.004147533793002367,
0.03882158175110817,
0.10187745094299316,
-0.03558367118239403,
0.012501017190515995,
0.023433148860931396,
0.008996059186756611,
-0.007852775044739246,
0.04276048764586449,
-0.014812620356678963,
0.0039994074031710625,
0.004556445404887199,
-0.03568381071090698,
-0.025552812963724136,
0.007076677400618792,
-0.03858792036771774,
0.022665396332740784,
-0.035817332565784454,
0.009646980091929436,
-0.02226482890546322,
-0.014178389683365822,
0.0058874948881566525,
-0.031744904816150665,
0.0026349774561822414,
-0.015288293361663818,
-0.03555028885602951,
0.00948842242360115,
-0.05113900825381279,
0.014637372456490993,
0.009546837769448757,
0.018709799274802208,
-0.04679953679442406,
0.013544159010052681,
0.03524986281991005,
-0.02336638793349266,
-0.042927391827106476,
0.003287984523922205,
-0.03751974180340767,
0.018559588119387627,
-0.03146117180585861,
0.0474337674677372,
-0.0558122843503952,
0.016773728653788567,
0.053976353257894516,
0.06168726086616516,
0.01404486782848835,
0.06562616676092148,
0.017491409555077553,
-0.03334717079997063,
-0.045898258686065674,
0.004264365416020155,
-0.015855763107538223,
0.01689055934548378,
-0.035149723291397095,
-0.054810866713523865,
0.02920798398554325,
0.07597413659095764,
0.004527237266302109,
0.018709799274802208,
-0.007130920421332121,
-0.002163477009162307,
-0.012651229277253151,
0.030142638832330704,
0.006025189999490976,
-0.006959845311939716,
0.04987054690718651,
-0.05701398476958275,
-0.010272865183651447,
-0.023800333961844444,
-0.056279610842466354,
0.013352220878005028,
-0.04806799441576004,
-0.010857025161385536,
-0.0033401416148990393,
0.03545014560222626,
-0.026253804564476013,
-0.008374346420168877,
-0.05310846120119095,
0.001165189896710217,
0.035149723291397095,
0.012392530217766762,
0.011090688407421112,
0.01389465481042862,
0.06929802894592285,
-0.04990392550826073,
-0.06215459108352661,
0.012959999963641167,
0.0418592132627964,
-0.016715312376618385,
0.00974712148308754,
-0.0334806963801384,
-0.003313019871711731,
0.04142526537179947,
0.059717807918787,
0.08311757445335388,
-0.02466822788119316,
-0.03835425525903702,
0.0295751690864563,
0.02859044447541237,
-0.0037573985755443573,
-0.003709414042532444,
-0.039555955678224564,
-0.028790727257728577,
0.004301918670535088,
-0.004869387950748205,
0.029174603521823883,
-0.05874977260828018,
0.05053815618157387,
-0.009321519173681736,
0.03865468129515648,
-0.02319948375225067,
0.021513765677809715,
-0.030893702059984207,
0.031744904816150665,
0.07764316350221634,
-0.008870881982147694,
-0.0007458467152900994,
0.04776757210493088,
0.054977770894765854,
-0.038888342678546906,
-0.019127056002616882,
-0.028022974729537964,
0.03721931576728821,
0.02258194424211979,
0.01648164726793766,
0.01023948471993208,
0.07223551720380783,
0.04679953679442406,
-0.06322276592254639,
-0.03171152621507645,
0.01378616876900196,
-0.03711917623877525,
-0.028707275167107582,
-0.018893392756581306,
0.002977128140628338,
-0.04399557039141655,
-0.019711216911673546,
0.024267662316560745,
-0.029842214658856392,
-0.0022949129343032837,
-0.08458632230758667,
-0.016715312376618385,
-0.0237168837338686,
-0.010005820542573929,
0.016974011436104774,
0.029141223058104515,
0.01225066278129816,
-0.023116033524274826,
-0.011140759103000164,
-0.019928190857172012,
0.010431422851979733,
-0.03458225354552269,
-0.0034882677718997,
-0.07644146680831909,
-0.013569194823503494,
-0.05340888351202011,
-0.00002399227196292486,
-0.030309541150927544,
-0.03895510360598564,
-0.03421506658196449,
-0.03334717079997063,
-0.04399557039141655,
0.034315209835767746,
-0.018426064401865005,
-0.000030088134735706262,
0.005495273508131504,
-0.010573290288448334,
0.06512545794248581,
-0.07036620378494263,
-0.004644069354981184,
-0.025769786909222603,
-0.02775592915713787,
0.009705395437777042,
-0.021380243822932243,
-0.028607133775949478,
-0.03501620143651962,
-0.029625240713357925,
0.01770838350057602,
-0.03895510360598564,
-0.019594384357333183,
-0.0000027871458314621123,
0.04286063089966774,
-0.055445097386837006,
-0.06228811293840408,
-0.05814892426133156,
0.010272865183651447,
-0.020095093175768852,
0.0636233314871788,
0.002407572465017438,
0.06369009613990784,
0.028540372848510742,
-0.014695788733661175,
-0.02189764194190502,
0.03117743693292141,
0.02451801672577858,
0.04573135823011398,
0.07203523069620132,
0.03848777711391449,
0.035316623747348785,
0.019210508093237877,
-0.025736406445503235,
0.03528324514627457,
-0.033063437789678574,
-0.041658930480480194,
-0.023783644661307335,
-0.06409066170454025,
-0.008837501518428326,
0.053308743983507156,
-0.001424932386726141,
0.0280897356569767,
0.002007005736231804,
-0.016681931912899017,
0.023099342361092567,
0.03136102855205536,
-0.04957012087106705,
0.01835930347442627,
-0.06105303019285202,
0.060151755809783936,
-0.014428744092583656,
-0.06742871552705765,
0.01216721162199974,
0.017407957464456558,
-0.019394101575016975,
-0.010272865183651447,
-0.061453599482774734,
0.038554538041353226,
0.00027773663168773055,
-0.074038065969944,
-0.05671355873346329,
0.05274127423763275,
-0.013185318559408188,
0.03681875020265579,
-0.1132935956120491,
0.03114405646920204,
0.04102469980716705,
0.0009935930138453841,
-0.02533583901822567,
0.010331281460821629,
0.012409220449626446,
0.0017743849894031882,
0.0461319237947464,
-0.028373470529913902,
0.024134140461683273,
-0.00997244007885456,
0.012676265090703964,
0.04583149775862694,
-0.015363399870693684,
-0.04883575066924095,
-0.058849915862083435,
0.023600051179528236,
0.10107631236314774,
-0.003603013465180993,
0.05387621372938156,
-0.025402599945664406,
0.012484326958656311,
0.02321617491543293,
0.00008703718049218878,
0.023416457697749138,
0.03152793273329735,
-0.03054320625960827,
0.01648164726793766,
-0.013460707850754261,
0.08598830550909042,
-0.01444543432444334,
-0.022114615887403488,
-0.0300424974411726,
-0.056580036878585815,
0.023783644661307335,
0.020645871758461,
0.007189336698502302,
0.019060295075178146,
-0.002046645153313875,
-0.011165794916450977,
-0.0022782227024435997,
0.040991317480802536,
0.004765073768794537,
0.019844738766551018,
0.0021321827080100775,
-0.028456920757889748
] |
18,448 | miarec_s3fs.s3fs | _path_to_dir_key | Converts an fs path to a s3 key. | def _path_to_dir_key(self, path):
"""Converts an fs path to a s3 key."""
_path = relpath(normpath(path))
_key = (
forcedir("{}/{}".format(self._prefix, _path))
.lstrip("/")
.replace("/", self.delimiter)
)
return _key
| (self, path) | [
-0.022380370646715164,
0.0538819320499897,
-0.04578203335404396,
0.04750766605138779,
0.024845557287335396,
0.005234119016677141,
0.025250552222132683,
0.03859777748584747,
0.048000700771808624,
-0.003028657753020525,
0.0372595340013504,
0.018066294491291046,
-0.012290715239942074,
0.032875023782253265,
-0.026535971090197563,
0.0035040865186601877,
0.029881581664085388,
0.03213546797633171,
-0.00220546149648726,
0.006017696112394333,
-0.030656354501843452,
-0.004096171353012323,
0.038386475294828415,
-0.03680171072483063,
-0.008205548860132694,
0.008408046327531338,
0.033086322247982025,
0.03870342671871185,
0.009878354147076607,
-0.06536265462636948,
-0.0008787729311734438,
0.02834964357316494,
0.047824617475271225,
0.02560272254049778,
-0.03789343684911728,
-0.06825044751167297,
0.04560595005750656,
-0.04581725224852562,
-0.05902360752224922,
-0.054515838623046875,
0.021218212321400642,
0.05958708003163338,
-0.010063243098556995,
-0.02410600148141384,
0.06870827078819275,
0.049409378319978714,
-0.005251727532595396,
-0.0043624998070299625,
0.023524921387434006,
0.04465509206056595,
-0.008192342706024647,
-0.031589604914188385,
0.011137360706925392,
-0.0696239098906517,
-0.020971693098545074,
-0.017494019120931625,
0.03933733329176903,
-0.06381311267614365,
-0.06346094608306885,
0.023683398962020874,
0.0026148585602641106,
0.011392682790756226,
0.051909781992435455,
0.04564116522669792,
-0.020672349259257317,
0.012537234462797642,
-0.05018415302038193,
-0.036907363682985306,
-0.011991371400654316,
0.02671205624938011,
-0.011234207078814507,
-0.05000806972384453,
0.011780069209635258,
-0.005524659063667059,
-0.0026302658952772617,
0.0008231961983256042,
-0.014597425237298012,
-0.00932368729263544,
0.0034072399139404297,
0.016155775636434555,
-0.053212810307741165,
-0.080646812915802,
-0.06050271913409233,
-0.0481063537299633,
-0.0007158945663832128,
0.0652570053935051,
0.01703619956970215,
-0.025162510573863983,
-0.007320723496377468,
0.016833702102303505,
-0.010371391661465168,
0.038386475294828415,
-0.023789050057530403,
0.04595812037587166,
0.019950401037931442,
-0.004428531508892775,
0.007496808189898729,
-0.041062962263822556,
0.010344979353249073,
-0.001184169901534915,
0.05215630307793617,
0.024739906191825867,
0.02685292437672615,
0.015328177250921726,
-0.006589971482753754,
-0.0654330924153328,
-0.042365990579128265,
-0.026571188122034073,
0.016657616943120956,
0.0010972280288115144,
-0.033086322247982025,
0.011788873933255672,
-0.021165385842323303,
0.06057315319776535,
-0.00013309530913829803,
-0.0114807253703475,
0.05500887334346771,
-0.03488238900899887,
0.013065488077700138,
0.011533550918102264,
0.038351256400346756,
0.013796240091323853,
-0.03250524401664734,
0.02294384315609932,
0.011586376465857029,
-0.0017597469268366694,
0.026148585602641106,
0.026359885931015015,
-0.023172752931714058,
0.03806952387094498,
-0.026571188122034073,
0.03602693974971771,
-0.017529236152768135,
-0.010300957597792149,
0.014315689913928509,
0.015997299924492836,
0.034442175179719925,
0.0621931329369545,
0.014870356768369675,
0.1041717380285263,
0.10079091042280197,
-0.019474973902106285,
0.017177067697048187,
-0.04567638412117958,
0.07318082451820374,
-0.005423410329967737,
-0.019492581486701965,
0.008689782582223415,
-0.0401473231613636,
-0.022397980093955994,
0.003178329672664404,
0.014711881056427956,
0.09987527132034302,
0.06258051842451096,
0.040886878967285156,
-0.018224772065877914,
-0.03245241940021515,
-0.015874039381742477,
-0.002856974955648184,
-0.008047073148190975,
0.017784560099244118,
-0.05148718133568764,
0.009041951969265938,
-0.016992177814245224,
0.0014537996612489223,
0.025268161669373512,
0.0025026043877005577,
0.04289424419403076,
-0.0034974832087755203,
0.02292623370885849,
0.023718615993857384,
0.009825528599321842,
-0.07166649401187897,
-0.008843856863677502,
-0.034160442650318146,
-0.02435252070426941,
0.010309762321412563,
0.037118665874004364,
0.03086765669286251,
-0.06265095621347427,
0.06849696487188339,
0.01409558393061161,
0.0337202288210392,
0.06078445538878441,
-0.009279666468501091,
0.03627345710992813,
-0.027345960959792137,
0.05254368856549263,
0.0216055978089571,
0.005168087314814329,
-0.07642078399658203,
0.03521694988012314,
-0.047648534178733826,
0.016613595187664032,
0.00194683694280684,
0.006251008715480566,
0.06698263436555862,
-0.04208425432443619,
-0.05627668648958206,
0.04694419354200363,
0.02838486060500145,
0.03764691948890686,
0.006589971482753754,
-0.022257111966609955,
0.008597337640821934,
-0.04690897837281227,
-0.023718615993857384,
0.015601108781993389,
-0.03273415565490723,
0.053318463265895844,
0.024722298607230186,
-0.03380827233195305,
-0.0038496528286486864,
-0.0016970167635008693,
-0.007435178384184837,
-0.06029141694307327,
-0.03866821154952049,
0.06465832144021988,
0.017582062631845474,
0.029987232759594917,
0.03326240926980972,
-0.009816724807024002,
0.02556750550866127,
-0.051698483526706696,
0.017221087589859962,
-0.08311200141906738,
-0.019422147423028946,
0.0025224140845239162,
-0.0160061027854681,
-0.025990108028054237,
0.037118665874004364,
-0.024775123223662376,
0.047754183411598206,
0.033051107078790665,
0.005542267579585314,
-0.06680655479431152,
0.04708506166934967,
-0.045324213802814484,
-0.00039151342934928834,
-0.0428590290248394,
0.013505700044333935,
-0.03199459984898567,
0.014262864366173744,
-0.015081658959388733,
-0.018436072394251823,
0.0432111956179142,
0.026219019666314125,
-0.0031167000997811556,
0.021218212321400642,
0.007628871593624353,
0.015116875991225243,
0.03537542745471001,
-0.019985618069767952,
0.02954702079296112,
0.0323643758893013,
-0.04208425432443619,
-0.03384348750114441,
0.022609282284975052,
-0.02444056235253811,
0.023789050057530403,
-0.04278859496116638,
0.013699393719434738,
-0.04060514271259308,
-0.046275071799755096,
-0.0009271962335333228,
-0.015037637203931808,
0.026518363505601883,
0.015636324882507324,
0.026606405153870583,
0.016604792326688766,
0.0404994934797287,
-0.0009877253323793411,
-0.03141351789236069,
-0.04585246741771698,
0.031554386019706726,
-0.004631028976291418,
-0.04528899863362312,
-0.008033866994082928,
0.030779613181948662,
0.023929916322231293,
-0.03519934043288231,
-0.034583043307065964,
-0.02970549650490284,
0.008055876940488815,
0.007237083278596401,
0.032804589718580246,
0.023612964898347855,
-0.04208425432443619,
0.022626889869570732,
0.02278536558151245,
-0.0004784552729688585,
-0.04275337606668472,
-0.03352653607726097,
-0.005163685418665409,
0.010609106160700321,
-0.026271844282746315,
-0.03754126653075218,
-0.0733921229839325,
0.04581725224852562,
-0.007404363714158535,
-0.01492318231612444,
0.10346739739179611,
0.004943579435348511,
0.020478656515479088,
0.005036023911088705,
0.012211477383971214,
-0.01602371223270893,
0.024035567417740822,
-0.03905559703707695,
0.050465889275074005,
-0.04546508193016052,
-0.008236364461481571,
-0.0048555368557572365,
0.04275337606668472,
0.02833203598856926,
0.04620463773608208,
0.0066736117005348206,
0.026676839217543602,
-0.04092209413647652,
0.05532582849264145,
-0.011313444934785366,
0.05268455669283867,
-0.07782945781946182,
0.02042583003640175,
0.011049318127334118,
-0.05145196244120598,
0.0012028788914903998,
-0.02290862612426281,
0.029969623312354088,
0.025972500443458557,
0.03204742446541786,
0.012977445498108864,
-0.011736048385500908,
-0.010697148740291595,
0.005441018845885992,
0.02021452970802784,
0.04134469851851463,
-0.016472728922963142,
0.011198990046977997,
0.05367062985897064,
0.0640244111418724,
-0.05817839875817299,
-0.005480637773871422,
0.013347223401069641,
-0.08261896669864655,
-0.017441194504499435,
-0.010521063581109047,
-0.015196113847196102,
-0.0014681066386401653,
-0.013857869431376457,
0.04740201309323311,
-0.014711881056427956,
0.02282058261334896,
0.03245241940021515,
0.03884429484605789,
0.009675856679677963,
-0.03873864561319351,
-0.009112386032938957,
-0.045218564569950104,
0.02282058261334896,
0.05684015527367592,
-0.04821200296282768,
0.030462661758065224,
-0.014262864366173744,
0.014394927769899368,
0.038316041231155396,
-0.0067308396100997925,
-0.026694446802139282,
0.06110140681266785,
0.028543338179588318,
-0.0019490380072966218,
0.0035899276845157146,
-0.0374356172978878,
-0.014755901880562305,
0.0013008260866627097,
0.030779613181948662,
0.023859484121203423,
-0.008843856863677502,
0.0034754727967083454,
0.023753833025693893,
-0.010098460130393505,
0.026588797569274902,
0.07311038672924042,
0.051980216056108475,
0.01080279890447855,
0.03250524401664734,
0.09255014359951019,
-0.07930856943130493,
0.07075085490942001,
-0.03887951374053955,
0.0327165462076664,
0.011894525028765202,
0.09642400592565536,
-0.031642429530620575,
-0.03449500352144241,
-0.019228454679250717,
0.06627830117940903,
-0.05529060959815979,
0.047648534178733826,
0.003968509845435619,
0.02813834324479103,
-0.01602371223270893,
0.017582062631845474,
0.01753804087638855,
0.004679452162235975,
0.0037175891920924187,
0.019422147423028946,
0.019827142357826233,
-0.004895155783742666,
-0.011084535159170628,
-0.019686274230480194,
-0.05909404158592224,
0.0045165736228227615,
-0.016384685412049294,
0.035938896238803864,
-0.027257919311523438,
-0.07106780260801315,
-0.05402280017733574,
0.00268749357201159,
0.021869726479053497,
-0.05497365817427635,
-0.024634256958961487,
-0.038562558591365814,
-0.029089199379086494,
0.04465509206056595,
-0.012334736995398998,
-0.037118665874004364,
-0.02042583003640175,
0.03923168033361435,
0.011692027561366558,
-0.007439580745995045,
-0.0034732716158032417,
-0.012097022496163845,
-0.03729474917054176,
-0.03623824194073677,
0.004939177073538303,
0.02169364131987095,
0.040323406457901,
-0.02157038077712059,
0.0020656941924244165,
0.0020150698255747557,
0.008069083094596863,
-0.021852117031812668,
0.027733348309993744,
0.002612657379359007,
0.02544424682855606,
-0.04282381013035774,
0.03190655633807182,
0.08036507666110992,
0.0004536933556664735,
-0.022063419222831726,
-0.011005296371877193,
0.0374356172978878,
-0.02421165257692337,
-0.0004589208692777902,
-0.008958311751484871,
0.03902038186788559,
-0.043950751423835754,
0.011198990046977997,
-0.05669928714632988,
-0.014623838476836681,
0.03905559703707695,
0.08938061445951462,
0.001377863110974431,
-0.0014526991872116923,
-0.04451422393321991,
-0.024757515639066696,
0.017890211194753647,
0.030656354501843452,
-0.0625452995300293,
-0.006004489958286285,
-0.009596618823707104,
0.011736048385500908,
0.05522017553448677,
-0.018471289426088333,
0.010785190388560295,
-0.015874039381742477,
0.00839484017342329,
-0.06430614739656448,
0.009534989483654499,
-0.0044505419209599495,
-0.07131431996822357,
-0.004131388384848833,
0.0068188817240297794,
0.028877899050712585,
0.015072854235768318,
-0.05634712055325508,
0.0642004981637001,
0.01573317125439644,
-0.018154338002204895,
0.037224315106868744,
0.06317920982837677,
-0.018312813714146614,
0.06870827078819275,
0.0010328470962122083,
-0.014386123977601528,
-0.042365990579128265,
0.002702900907024741,
-0.07141997665166855,
0.0012557043228298426,
-0.02153516374528408,
-0.034213267266750336,
-0.038245607167482376,
0.018330421298742294,
0.00301325018517673,
0.044021185487508774,
-0.056100599467754364,
-0.028648989275097847,
0.013989932835102081,
-0.01082921214401722,
-0.02157038077712059,
-0.02563793957233429,
-0.04933894798159599,
-0.014835139736533165,
-0.017133045941591263,
0.008157125674188137,
-0.04469030722975731,
0.024722298607230186,
-0.0015770590398460627,
0.029265284538269043,
-0.04292946308851242,
-0.002606054302304983,
-0.011929742060601711,
-0.005031621549278498,
-0.022662106901407242,
0.013065488077700138,
0.021852117031812668,
-0.04965589940547943,
0.00803826842457056,
0.0697999969124794,
-0.08036507666110992,
0.00936770811676979,
0.02542663738131523,
0.08867628127336502,
0.007562839891761541,
0.049021992832422256,
-0.015477849170565605,
0.0121146310120821,
-0.04018253833055496,
-0.05789666622877121,
0.01566273905336857,
-0.0075408294796943665,
-0.012968641705811024,
-0.023419272154569626,
0.04145034775137901,
0.07909727096557617,
0.009922375902533531,
-0.005141674540936947,
-0.01753804087638855,
-0.002986837411299348,
-0.024616647511720657,
-0.0029912395402789116,
-0.028596162796020508,
-0.018612157553434372,
0.042365990579128265,
-0.06078445538878441,
0.00353270024061203,
-0.026342278346419334,
-0.026606405153870583,
0.018348030745983124,
-0.05014893785119057,
0.03757648542523384,
0.008082290180027485,
-0.015618717297911644,
0.013400048948824406,
-0.02533859573304653,
-0.03079722262918949,
0.0009618629119358957,
0.04137991741299629,
0.016640009358525276,
0.016155775636434555,
0.02158799022436142,
0.019827142357826233,
-0.008575326763093472,
-0.03718909993767738,
0.03516412526369095,
0.008192342706024647,
-0.024757515639066696,
0.020478656515479088,
-0.017177067697048187,
0.015152092091739178,
0.010353783145546913,
0.035886071622371674,
0.04479596018791199,
-0.0428590290248394,
-0.03282219544053078,
0.03111417405307293,
0.0025224140845239162,
-0.06222834810614586,
-0.005102055612951517,
-0.04944459721446037,
-0.04275337606668472,
-0.024510996416211128,
0.009121189825236797,
0.022415587678551674,
-0.0594814270734787,
0.07367385923862457,
-0.02970549650490284,
0.02308471128344536,
-0.0000350965783582069,
-0.017247501760721207,
0.015125679783523083,
0.0014042758848518133,
0.10804560035467148,
0.019932793453335762,
-0.03248763456940651,
0.02563793957233429,
0.014914378523826599,
-0.0670882910490036,
0.01878824271261692,
-0.0340723991394043,
0.017810972407460213,
0.04071079194545746,
0.018083903938531876,
0.035657159984111786,
0.06916608661413193,
0.006017696112394333,
-0.09564923495054245,
-0.04490160942077637,
-0.019369322806596756,
-0.057227544486522675,
-0.061207059770822525,
-0.012660493142902851,
-0.015935668721795082,
-0.028842682018876076,
-0.02144712209701538,
0.021764075383543968,
0.00734713627025485,
0.030691571533679962,
-0.05025458708405495,
-0.005749166943132877,
-0.02949419431388378,
0.04176730290055275,
-0.028578555211424828,
0.04437335580587387,
0.043669018894433975,
-0.029881581664085388,
0.033174365758895874,
-0.013356028124690056,
-0.014350906945765018,
-0.014315689913928509,
-0.028895506635308266,
-0.08867628127336502,
0.012273106724023819,
-0.051628049463033676,
-0.0406755767762661,
0.033227190375328064,
-0.012396366335451603,
-0.0072678979486227036,
-0.05155761539936066,
-0.00943814218044281,
-0.019774317741394043,
-0.03792865574359894,
-0.04130948334932327,
0.006246606353670359,
-0.0010075349127873778,
0.08374590426683426,
-0.05831926688551903,
-0.019703883677721024,
-0.0638483315706253,
0.02583163231611252,
-0.02542663738131523,
-0.07149040699005127,
-0.01074997428804636,
-0.010477042756974697,
-0.0435633659362793,
0.002135027665644884,
0.014791118912398815,
0.005273738410323858,
-0.03828082233667374,
0.04409161955118179,
-0.03732996806502342,
-0.05550191178917885,
-0.04736679792404175,
-0.050641972571611404,
-0.0270290095359087,
0.0677926242351532,
-0.009200427681207657,
0.019351713359355927,
0.019369322806596756,
-0.08635196089744568,
0.011348661966621876,
-0.008320004679262638,
0.04423248767852783,
0.022257111966609955,
-0.02139429748058319,
0.03192416578531265,
0.028543338179588318,
-0.003193737007677555,
-0.04155600070953369,
0.010644323192536831,
-0.02979354001581669,
-0.0140603668987751,
-0.01007204782217741,
-0.08261896669864655,
-0.043950751423835754,
0.09557879716157913,
0.0777590274810791,
0.0093148835003376,
-0.04623985290527344,
-0.006955347489565611,
-0.0006685717962682247,
0.030709179118275642,
-0.038386475294828415,
0.011489530093967915,
-0.06078445538878441,
0.0293885450810194,
0.015152092091739178,
-0.031748078763484955,
0.009341295808553696,
0.02945897914469242,
-0.04546508193016052,
-0.0073295277543365955,
-0.03651997819542885,
0.04884590953588486,
0.026535971090197563,
0.0035679172724485397,
-0.030779613181948662,
0.05472714081406593,
-0.047930266708135605,
-0.008553316816687584,
-0.11811764538288116,
-0.026201410219073296,
0.056100599467754364,
-0.049198079854249954,
-0.04018253833055496,
0.0047939070500433445,
0.036907363682985306,
-0.007439580745995045,
0.053071942180395126,
0.0035062874667346478,
0.0017619479913264513,
-0.0284729041159153,
0.021218212321400642,
0.04676811024546623,
-0.00706099858507514,
0.010996492579579353,
-0.003094689454883337,
-0.01277494803071022,
0.12699231505393982,
-0.03634389117360115,
0.059868812561035156,
-0.033139150589704514,
-0.04472552612423897,
0.018576940521597862,
0.012933424673974514,
0.032540462911129,
0.039759937673807144,
-0.004912764299660921,
-0.0020458847284317017,
0.027610087767243385,
0.05148718133568764,
0.006700024474412203,
-0.02694096602499485,
-0.04004167020320892,
-0.06029141694307327,
-0.011331053450703621,
0.002237376756966114,
0.02026735432446003,
-0.012334736995398998,
0.0013954716268926859,
-0.06853218376636505,
-0.010890841484069824,
0.010503455065190792,
0.030691571533679962,
0.0012413974618539214,
-0.012818969786167145,
-0.01607653684914112
] |
18,449 | miarec_s3fs.s3fs | _path_to_key | Converts an fs path to a s3 key. | def _path_to_key(self, path):
"""Converts an fs path to a s3 key."""
_path = relpath(normpath(path))
_key = (
"{}/{}".format(self._prefix, _path).lstrip("/").replace("/", self.delimiter)
)
return _key
| (self, path) | [
-0.020868301391601562,
0.01995640993118286,
-0.052679311484098434,
0.04875116050243378,
-0.002810206264257431,
-0.01073226984590292,
0.034073203802108765,
0.04797955974936485,
0.057870082557201385,
-0.005203923210501671,
0.041701532900333405,
0.019342636689543724,
0.0038185485173016787,
0.02051757462322712,
-0.024480797350406647,
0.01522158458828926,
0.04254327714443207,
0.014037879183888435,
0.0037001778837293386,
0.0011541135609149933,
-0.04247313365340233,
-0.01816769875586033,
0.04184182360768318,
-0.03237217292189598,
0.0008472267654724419,
0.017913419753313065,
0.03587945178151131,
0.038860637694597244,
0.02674299106001854,
-0.0913996547460556,
0.0006987154483795166,
0.011135606095194817,
0.028408948332071304,
0.02576095424592495,
-0.0456998273730278,
-0.05520455166697502,
0.028759676963090897,
-0.037913672626018524,
-0.03366986662149429,
-0.03907107189297676,
0.02905779518187046,
0.07011047750711441,
-0.021587293595075607,
-0.0496981255710125,
0.060360249131917953,
0.062254179269075394,
-0.0029088484589010477,
0.00029866662225686014,
0.0276724211871624,
0.04433199018239975,
-0.0030732520390301943,
-0.029671568423509598,
0.004055289551615715,
-0.054082222282886505,
-0.05348598212003708,
-0.01904451847076416,
0.04864593967795372,
-0.053696420043706894,
-0.06877771764993668,
0.017387328669428825,
-0.0055546509101986885,
0.011258360929787159,
0.0580805167555809,
0.05432773008942604,
-0.013485482893884182,
0.01667710579931736,
-0.027374301105737686,
-0.04538417235016823,
-0.016203623265028,
0.019412782043218613,
0.02770749293267727,
-0.05285467579960823,
-0.005449432414025068,
-0.02097352035343647,
-0.00363660859875381,
-0.006107047200202942,
-0.02479645237326622,
0.003316569374874234,
-0.003914998844265938,
0.01904451847076416,
-0.026462409645318985,
-0.08305233716964722,
-0.05292481929063797,
-0.0456998273730278,
-0.002507703611627221,
0.04664679244160652,
0.018939299508929253,
-0.039842672646045685,
-0.017369791865348816,
0.031144624575972557,
-0.014897162094712257,
0.04391111433506012,
-0.03493248671293259,
0.04910188540816307,
0.041175439953804016,
-0.03226695582270622,
0.009627477265894413,
-0.06369215995073318,
0.020657865330576897,
-0.004243806004524231,
0.06092141196131706,
0.02483152598142624,
0.011819525621831417,
0.016834933310747147,
-0.00018495410040486604,
-0.05818573758006096,
-0.02237643115222454,
-0.020587719976902008,
0.022674549371004105,
-0.009013703092932701,
-0.01615978218615055,
0.012459604069590569,
-0.0333191379904747,
0.06365709006786346,
0.015563544817268848,
-0.03773830831050873,
0.06733973324298859,
-0.018272915855050087,
0.02574341744184494,
0.016563119366765022,
0.03202144429087639,
0.01628253608942032,
-0.03133752569556236,
0.04804970324039459,
0.019202345982193947,
0.0038426611572504044,
0.02667284570634365,
0.027760103344917297,
0.008645439520478249,
0.003415211569517851,
-0.023954706266522408,
0.03826439753174782,
-0.024094996973872185,
-0.014941003173589706,
-0.00883833970874548,
0.01907959021627903,
0.023709196597337723,
0.08627902716398239,
0.014169401489198208,
0.10535862296819687,
0.08662975579500198,
-0.02861938625574112,
0.008518300950527191,
-0.04468271881341934,
0.06779567897319794,
-0.01718566007912159,
0.0049627977423369884,
-0.02669038251042366,
-0.03945687413215637,
-0.01715058833360672,
0.010767342522740364,
0.018343061208724976,
0.0791943296790123,
0.04671693965792656,
0.036966707557439804,
-0.03819425404071808,
-0.018027406185865402,
-0.022534258663654327,
0.006953177973628044,
-0.008426234126091003,
0.032635219395160675,
-0.021236566826701164,
0.0214820746332407,
-0.01900944486260414,
-0.0030250269919633865,
0.021727584302425385,
-0.0027554049156606197,
0.047453466802835464,
-0.003423979738727212,
0.0018906418699771166,
0.02186787687242031,
0.010776110924780369,
-0.09203096479177475,
-0.006598066072911024,
-0.01547586265951395,
-0.03153042495250702,
0.002096694428473711,
0.04994363337755203,
0.03093418851494789,
-0.05338076502084732,
0.058326028287410736,
0.005532730370759964,
0.028303731232881546,
0.0677255317568779,
0.009881754405796528,
0.038404691964387894,
-0.01071473304182291,
0.056432098150253296,
0.036931633949279785,
-0.0015081294113770127,
-0.05390685796737671,
0.02947866916656494,
-0.042648494243621826,
0.03861512616276741,
0.013590700924396515,
-0.010653356090188026,
0.0708119347691536,
-0.036440614610910416,
-0.059834156185388565,
0.06726958602666855,
0.015405717305839062,
0.037878599017858505,
-0.011784452944993973,
-0.007128541823476553,
0.01405541505664587,
-0.04184182360768318,
0.002816782332956791,
0.01498484332114458,
-0.044156625866889954,
0.05923791974782944,
-0.006212265696376562,
-0.037422653287649155,
-0.02055264636874199,
0.003965415991842747,
0.0009036720148287714,
-0.0409650020301342,
-0.060219958424568176,
0.05338076502084732,
0.03630032390356064,
0.03616003319621086,
0.044963300228118896,
0.007233760319650173,
0.03044316917657852,
-0.03686148673295975,
0.02709371969103813,
-0.06351679563522339,
-0.012959390878677368,
0.0035072776954621077,
-0.03963223844766617,
-0.029426058754324913,
0.054608311504125595,
-0.032600145787000656,
0.06253475695848465,
0.027006037533283234,
-0.005633564665913582,
-0.04489315301179886,
0.03433624655008316,
-0.04103514924645424,
0.007338978350162506,
-0.049347396939992905,
0.0229375958442688,
-0.01804494298994541,
0.00933812651783228,
-0.029461132362484932,
-0.014800711534917355,
0.03907107189297676,
0.006488463841378689,
0.001079035922884941,
0.004434514325112104,
-0.003583999350667,
0.03151289001107216,
0.050750307738780975,
-0.005686173681169748,
0.017720520496368408,
0.020377283915877342,
-0.023095423355698586,
-0.032635219395160675,
-0.0028474710416048765,
-0.027041111141443253,
0.028251120820641518,
-0.05622166022658348,
0.013248741626739502,
-0.012240398675203323,
-0.03875541687011719,
-0.006523536518216133,
-0.025620663538575172,
0.012854172848165035,
0.04149109497666359,
0.016957687214016914,
-0.0003808684414252639,
0.022569332271814346,
0.011503870598971844,
-0.03535335883498192,
-0.041280657052993774,
0.024936743080615997,
-0.029320841655135155,
-0.0599043034017086,
0.005782623775303364,
0.019254954531788826,
0.01217902172356844,
-0.017448706552386284,
-0.031670715659856796,
-0.012082571163773537,
0.012065035291016102,
0.022183531895279884,
0.027023574337363243,
0.04257835075259209,
-0.05478367581963539,
0.023481223732233047,
0.013906355947256088,
-0.013459177687764168,
-0.025094570592045784,
-0.05436280369758606,
-0.0062911794520914555,
0.009381967596709728,
-0.0171155147254467,
-0.04724302887916565,
-0.07095222920179367,
0.04713781177997589,
0.002303842920809984,
-0.011994889937341213,
0.08733121305704117,
-0.011968584731221199,
-0.006032517645508051,
0.018834080547094345,
0.02149961143732071,
-0.021727584302425385,
0.030390560626983643,
-0.04822506755590439,
0.07358268648386002,
-0.05250394716858864,
-0.019447853788733482,
-0.013660846278071404,
0.033161308616399765,
0.027497056871652603,
0.05913270264863968,
0.02297266758978367,
0.024673698469996452,
-0.033634793013334274,
0.044998373836278915,
-0.0013524938840419054,
0.033038556575775146,
-0.07435428351163864,
0.02960142306983471,
0.022236140444874763,
-0.06751509755849838,
-0.02151714824140072,
-0.02902272157371044,
0.01430969312787056,
0.022744694724678993,
0.03186361864209175,
0.019763508811593056,
-0.0015114174457266927,
-0.017781898379325867,
-0.0006422701990231872,
0.0009009319473989308,
0.04447228088974953,
0.00811496376991272,
-0.003961031790822744,
0.05545005947351456,
0.05909762904047966,
-0.05769471824169159,
-0.0015618345933035016,
0.029233159497380257,
-0.09827391803264618,
-0.01855349913239479,
-0.02618182823061943,
-0.02954881452023983,
-0.02572588063776493,
-0.0285843126475811,
0.027549665421247482,
-0.03395044803619385,
0.028777213767170906,
0.03335421159863472,
0.04671693965792656,
0.01002204604446888,
-0.04520880803465843,
-0.030215196311473846,
-0.041245583444833755,
0.02479645237326622,
0.07835258543491364,
-0.05229350924491882,
0.029408523812890053,
-0.0263045821338892,
0.016396522521972656,
0.04391111433506012,
-0.01613347791135311,
-0.002639226382598281,
0.03619510680437088,
0.008277175016701221,
-0.005541498772799969,
0.006896184757351875,
-0.047944486141204834,
-0.013766064308583736,
-0.01767667941749096,
0.02577849105000496,
0.015388180501759052,
0.005335445981472731,
-0.015624921768903732,
0.01263496745377779,
-0.004105706699192524,
0.025901244953274727,
0.047698974609375,
0.036054812371730804,
0.004199964925646782,
0.03347696363925934,
0.08017636835575104,
-0.08985645323991776,
0.06975974887609482,
-0.02483152598142624,
0.030741289258003235,
0.006598066072911024,
0.10100959241390228,
-0.04208733141422272,
-0.016598191112279892,
-0.00452438835054636,
0.06235939636826515,
-0.04927724972367287,
0.058887191116809845,
0.018483353778719902,
0.019219880923628807,
-0.013652077876031399,
0.01622992753982544,
0.017755592241883278,
0.0364055410027504,
0.017352256923913956,
0.011810757219791412,
0.03616003319621086,
0.002098886528983712,
-0.012459604069590569,
-0.02953127771615982,
-0.05818573758006096,
-0.011381115764379501,
-0.02100859396159649,
0.037983816117048264,
-0.03717714175581932,
-0.06491971015930176,
-0.049873486161231995,
-0.014616579748690128,
0.03182854503393173,
-0.05944835767149925,
0.012459604069590569,
-0.035984668880701065,
-0.03921136260032654,
0.04191196709871292,
-0.021096274256706238,
-0.029899541288614273,
-0.014230779372155666,
0.057905152440071106,
0.023937169462442398,
-0.031214771792292595,
-0.006299947388470173,
-0.014590274542570114,
-0.038334544748067856,
-0.03900092840194702,
0.014195705763995647,
0.029671568423509598,
0.04236791282892227,
-0.00006747399311279878,
-0.002039701212197542,
0.02235889434814453,
0.020359747111797333,
-0.02811083011329174,
0.010100959800183773,
0.005567803047597408,
0.01500238012522459,
-0.06323621422052383,
0.04015832766890526,
0.08347320556640625,
-0.011372347362339497,
-0.0252173263579607,
-0.006944409571588039,
0.02567327208817005,
-0.03537089377641678,
0.017352256923913956,
-0.016931382939219475,
0.04391111433506012,
-0.037878599017858505,
0.030793897807598114,
-0.057449206709861755,
-0.03568654879927635,
0.06909336894750595,
0.07856301963329315,
-0.017939725890755653,
0.010881328955292702,
-0.04250820353627205,
-0.02381441555917263,
0.014406142756342888,
0.036440614610910416,
-0.056993260979652405,
-0.011801988817751408,
-0.009662549942731857,
-0.011758148670196533,
0.04780419543385506,
0.0013108450220897794,
0.007764236070215702,
-0.007632712833583355,
0.018009871244430542,
-0.05562542378902435,
0.0182027705013752,
-0.0024090614169836044,
-0.07638850808143616,
-0.012626199051737785,
0.023551369085907936,
0.046401284635066986,
0.030916651710867882,
-0.046015482395887375,
0.048435505479574203,
0.004607685841619968,
-0.021762657910585403,
0.02626951038837433,
0.05492396652698517,
-0.022113384678959846,
0.0828418955206871,
0.02386702410876751,
-0.007908911444246769,
-0.031162161380052567,
0.0014072951162233949,
-0.07666908949613571,
0.0059097628109157085,
-0.015309266746044159,
-0.005611644126474857,
-0.029390987008810043,
0.04050905629992485,
0.008636671118438244,
0.03963223844766617,
-0.03903599828481674,
-0.03272290155291557,
0.004910188727080822,
-0.020675402134656906,
-0.03426610305905342,
-0.018763935193419456,
-0.02918054908514023,
0.006891800556331873,
-0.03437132015824318,
0.0020692937541753054,
-0.0639026015996933,
0.025445299223065376,
0.008290327154099941,
0.03801888972520828,
-0.03398552164435387,
-0.001042319112457335,
-0.005146929994225502,
-0.01860610768198967,
-0.020657865330576897,
-0.01379236951470375,
0.021780194714665413,
-0.04394618794322014,
-0.0034985095262527466,
0.06867249310016632,
-0.08256131410598755,
0.005620412528514862,
0.018886690959334373,
0.08115840703248978,
-0.00981160905212164,
0.04057920351624489,
-0.014888393692672253,
-0.009934363886713982,
-0.024884134531021118,
-0.055099330842494965,
0.013660846278071404,
0.0024660546332597733,
-0.017799433320760727,
-0.016948919743299484,
0.02099105715751648,
0.07835258543491364,
-0.0020747738890349865,
-0.0030294109601527452,
-0.022621940821409225,
-0.013783601112663746,
-0.011959816329181194,
-0.024217752739787102,
-0.02861938625574112,
-0.028671994805336,
0.057343989610672,
-0.05723877251148224,
0.008040433749556541,
-0.025568053126335144,
-0.021815266460180283,
0.028479093685746193,
-0.03584437817335129,
0.04001803696155548,
0.013012000359594822,
-0.008921637199819088,
-0.017922189086675644,
-0.02379687875509262,
-0.04731317609548569,
-0.0005354078602977097,
0.04240298643708229,
0.011845829896628857,
0.013047073036432266,
0.03107447922229767,
0.04633113741874695,
0.004629606381058693,
-0.06095648556947708,
0.027935465797781944,
0.010223714634776115,
-0.01571260392665863,
0.017439937219023705,
0.0013481097994372249,
0.026111682876944542,
0.019254954531788826,
0.029250696301460266,
0.05064509063959122,
-0.02854923903942108,
-0.01618608646094799,
0.019325099885463715,
-0.004835659172385931,
-0.06593681871891022,
-0.010179873555898666,
-0.03672119602560997,
-0.05611644312739372,
-0.013196132145822048,
0.019763508811593056,
0.020114237442612648,
-0.05530976876616478,
0.08564771711826324,
-0.026444872841238976,
0.007961519993841648,
-0.020815692842006683,
-0.018430743366479874,
0.010784878395497799,
0.0045331562869250774,
0.10662124305963516,
0.0262168999761343,
-0.00395226338878274,
0.010013277642428875,
0.01075857412070036,
-0.04811985045671463,
0.021639902144670486,
-0.019272491335868835,
0.015581080690026283,
0.028777213767170906,
0.014642884023487568,
0.027461983263492584,
0.07049628347158432,
0.0006904953042976558,
-0.08578801155090332,
-0.05860660970211029,
-0.02286745049059391,
-0.03379261866211891,
-0.0526091642677784,
-0.009259212762117386,
-0.00030058465199545026,
-0.025041962042450905,
-0.01163539383560419,
0.02190294861793518,
-0.014283387921750546,
0.02618182823061943,
-0.04380589723587036,
0.005567803047597408,
-0.05871182680130005,
0.03584437817335129,
-0.029776787385344505,
0.05860660970211029,
0.04247313365340233,
-0.01864118129014969,
0.04689230024814606,
-0.02239396795630455,
0.016378985717892647,
-0.030302878469228745,
-0.04738331958651543,
-0.09701129794120789,
0.007957136258482933,
-0.04110529273748398,
-0.04398126155138016,
0.02151714824140072,
-0.030864043161273003,
0.0038141643162816763,
-0.05239872634410858,
-0.004414785653352737,
-0.012222862802445889,
-0.028496630489826202,
-0.023551369085907936,
-0.0007189919124357402,
-0.00008514738146914169,
0.07533632218837738,
-0.05527469515800476,
-0.019395245239138603,
-0.055590350180864334,
0.025638200342655182,
-0.02912794053554535,
-0.06583160161972046,
0.016598191112279892,
-0.0025866173673421144,
-0.05776486173272133,
0.014862089417874813,
0.0018840656848624349,
-0.018834080547094345,
-0.0182027705013752,
0.027970539405941963,
-0.03191622719168663,
-0.033599719405174255,
-0.04138587787747383,
-0.07018062472343445,
-0.023148031905293465,
0.07018062472343445,
-0.006856727879494429,
0.007799308747053146,
0.01074103731662035,
-0.0751960352063179,
-0.0021043666638433933,
0.004024601075798273,
0.03477465733885765,
0.04184182360768318,
-0.030864043161273003,
0.023095423355698586,
0.022621940821409225,
-0.0027992459945380688,
-0.042648494243621826,
0.028514167293906212,
-0.03203898295760155,
-0.0309517253190279,
0.0005902090924791992,
-0.08733121305704117,
-0.012406994588673115,
0.08620888739824295,
0.05853646248579025,
-0.0018292644526809454,
-0.036545831710100174,
-0.004861963447183371,
-0.0056291804648935795,
0.04057920351624489,
-0.028724603354930878,
-0.005151314195245504,
-0.05972893908619881,
0.015940576791763306,
-0.0016988376155495644,
-0.04738331958651543,
0.009864218533039093,
0.010460455901920795,
-0.05145176127552986,
0.005190771073102951,
-0.019272491335868835,
0.05850139260292053,
0.031179698184132576,
-0.008211413398385048,
-0.03850990906357765,
0.04818999394774437,
-0.009855450130999088,
-0.018448280170559883,
-0.1048675999045372,
-0.012529749423265457,
0.05997444689273834,
-0.05306510999798775,
-0.02577849105000496,
-0.003919382579624653,
0.01804494298994541,
-0.008969862945377827,
0.04689230024814606,
-0.008930405601859093,
0.004105706699192524,
-0.04573490098118782,
-0.010784878395497799,
0.06719943881034851,
-0.03421349450945854,
0.020815692842006683,
-0.02900518663227558,
0.005383671261370182,
0.11440739780664444,
-0.03382769227027893,
0.04962797835469246,
-0.04327980428934097,
-0.023253250867128372,
0.011389884166419506,
-0.011986121535301208,
0.034546684473752975,
0.04191196709871292,
-0.01024125050753355,
0.010539369657635689,
0.014178169891238213,
0.06748002022504807,
0.013985269702970982,
-0.03563394024968147,
-0.022604404017329216,
-0.06513014435768127,
-0.01715058833360672,
0.028882430866360664,
0.013178595341742039,
-0.00014714125427417457,
-0.011249593459069729,
-0.048470575362443924,
-0.0018402247224003077,
0.011284666135907173,
0.042718641459941864,
-0.0006537784938700497,
-0.010635819286108017,
-0.019938873127102852
] |
18,450 | fs.base | appendbytes | Append bytes to the end of a file, creating it if needed.
Arguments:
path (str): Path to a file.
data (bytes): Bytes to append.
Raises:
TypeError: If ``data`` is not a `bytes` instance.
fs.errors.ResourceNotFound: If a parent directory of
``path`` does not exist.
| def appendbytes(self, path, data):
# type: (Text, bytes) -> None
# FIXME(@althonos): accept bytearray and memoryview as well ?
"""Append bytes to the end of a file, creating it if needed.
Arguments:
path (str): Path to a file.
data (bytes): Bytes to append.
Raises:
TypeError: If ``data`` is not a `bytes` instance.
fs.errors.ResourceNotFound: If a parent directory of
``path`` does not exist.
"""
if not isinstance(data, bytes):
raise TypeError("must be bytes")
with self._lock:
with self.open(path, "ab") as append_file:
append_file.write(data)
| (self, path, data) | [
-0.01164519414305687,
-0.0259134192019701,
-0.07943025976419449,
0.09449947625398636,
0.025226853787899017,
-0.0439753532409668,
-0.03360646590590477,
0.051122669130563736,
0.013810514472424984,
-0.054678723216056824,
0.08661278337240219,
-0.036792829632759094,
0.019223812967538834,
-0.021934863179922104,
-0.003923541400581598,
0.01800912246108055,
0.015298071317374706,
-0.0422501377761364,
-0.028113946318626404,
0.009066175669431686,
0.003109346143901348,
0.029680723324418068,
0.0031951668206602335,
0.011830039322376251,
0.0035186444874852896,
0.06633272022008896,
-0.03381771594285965,
0.028571655973792076,
0.02557893842458725,
-0.0060470509342849255,
0.02082579769194126,
-0.09351363778114319,
0.008749299682676792,
-0.027110505849123,
-0.002906897570937872,
0.03791949898004532,
0.03982075676321983,
0.02633591927587986,
0.005048011429607868,
0.023167159408330917,
0.021001840010285378,
0.013476033695042133,
-0.031036248430609703,
-0.028342802077531815,
0.05893894284963608,
0.016635991632938385,
-0.011363526806235313,
0.0641850009560585,
0.00036693806760013103,
0.03795470669865608,
-0.0009951888350769877,
0.01668880507349968,
0.007305753417313099,
-0.019910378381609917,
0.024469872936606407,
0.0528830923140049,
-0.01939985528588295,
0.012595823034644127,
-0.039961591362953186,
0.025314874947071075,
0.02461070567369461,
-0.06481875479221344,
0.06876210123300552,
-0.07076898217201233,
-0.006949267815798521,
0.05214371159672737,
-0.046017441898584366,
-0.03953908756375313,
0.011310714296996593,
0.0029597103130072355,
-0.02992718107998371,
0.03894054517149925,
-0.02267424203455448,
0.01685604453086853,
-0.017771463841199875,
0.06848043203353882,
-0.00991998054087162,
0.06995918601751328,
0.03600063920021057,
0.017014482989907265,
0.038412418216466904,
-0.08464111387729645,
0.011196286417543888,
0.036792829632759094,
0.006614787504076958,
-0.0146819232031703,
-0.00018566955986898392,
-0.02135392464697361,
-0.02168840542435646,
-0.0018110346281901002,
0.01246379129588604,
-0.02003360725939274,
-0.016891254112124443,
-0.03591261804103851,
0.09872449189424515,
-0.10668160021305084,
0.01036008633673191,
0.027480194345116615,
-0.06731855124235153,
0.06858605891466141,
-0.03869408741593361,
-0.0017791269347071648,
0.08259902149438858,
-0.04577098414301872,
-0.008788908831775188,
-0.06464271247386932,
-0.0008780107018537819,
-0.012683844193816185,
-0.02362486906349659,
0.0098671680316329,
-0.014285827986896038,
-0.021706009283661842,
0.006447547115385532,
-0.020192045718431473,
-0.046334318816661835,
0.005857805721461773,
0.024786747992038727,
-0.020544130355119705,
0.04767224192619324,
0.016530366614460945,
0.06640313565731049,
0.014303432777523994,
0.022621428593993187,
0.03869408741593361,
0.01350244041532278,
-0.015412498265504837,
-0.010879410430788994,
0.016107864677906036,
-0.026371128857135773,
-0.05147475376725197,
-0.0028562855441123247,
0.025966230779886246,
0.0006409037741832435,
-0.022269343957304955,
-0.01241097878664732,
0.004057773854583502,
0.040384091436862946,
0.02559654228389263,
-0.029522284865379333,
0.02351924404501915,
0.02459310181438923,
-0.04996078833937645,
-0.009717531502246857,
-0.014989997260272503,
0.0789373442530632,
0.021706009283661842,
-0.0069272625260055065,
-0.01931183412671089,
-0.04432743787765503,
0.05496038869023323,
-0.06084020063281059,
0.02156517468392849,
-0.02579018846154213,
0.03925742208957672,
0.06175561994314194,
-0.053692884743213654,
-0.011891653761267662,
-0.04386972635984421,
-0.02072017267346382,
-0.0336768813431263,
-0.01597583293914795,
0.024100182577967644,
-0.012851083651185036,
0.0050348080694675446,
0.01748979650437832,
0.04499639943242073,
-0.07182523608207703,
0.03739137202501297,
-0.0054088979959487915,
-0.012384572066366673,
0.013379210606217384,
0.014558693394064903,
0.006218692287802696,
0.00580059178173542,
0.010439305566251278,
-0.03862366825342178,
-0.01939985528588295,
-0.015623749233782291,
0.018343601375818253,
-0.040700968354940414,
-0.006654397118836641,
0.012067696079611778,
0.029680723324418068,
0.02057933807373047,
0.01983996108174324,
-0.027937904000282288,
-0.03510282561182976,
0.03682803735136986,
0.029786348342895508,
0.026177482679486275,
-0.07935984432697296,
0.026952067390084267,
0.02982155606150627,
0.010853004641830921,
0.016301512718200684,
-0.0029619107954204082,
0.043517641723155975,
-0.012613426893949509,
-0.019276626408100128,
0.08069776743650436,
-0.020861005410552025,
-0.014206609688699245,
0.049503080546855927,
-0.0394686721265316,
-0.010043210349977016,
-0.012613426893949509,
0.0690789744257927,
0.07499399781227112,
-0.05650956183671951,
0.01041289884597063,
0.019910378381609917,
0.044925980269908905,
0.05334080010652542,
-0.03710970655083656,
0.01632791757583618,
-0.03406417369842529,
-0.05073537677526474,
-0.04182763770222664,
-0.031177081167697906,
0.04869328439235687,
0.0028408817015588284,
0.05791790038347244,
-0.056615184992551804,
0.0015370688633993268,
-0.02057933807373047,
-0.02244538627564907,
-0.008788908831775188,
-0.0035714569967240095,
-0.01811474747955799,
0.005518924444913864,
0.03936304524540901,
0.07059293985366821,
0.04453868791460991,
-0.033659275621175766,
-0.00922461412847042,
0.02492758259177208,
-0.023660078644752502,
0.018466832116246223,
-0.032444585114717484,
0.005637752823531628,
-0.0017571216449141502,
0.003320596879348159,
-0.02373049408197403,
0.06013603135943413,
-0.013942546211183071,
-0.0405249260365963,
0.025297271087765694,
-0.0211250688880682,
0.015007601119577885,
-0.030296869575977325,
0.022832678630948067,
-0.004090781789273024,
-0.04865807667374611,
-0.04239097237586975,
0.01723453588783741,
0.01696166954934597,
0.022392572835087776,
-0.07080419361591339,
0.024346642196178436,
0.034733135253190994,
-0.015491717495024204,
0.01349363848567009,
-0.0033117947168648243,
-0.00937424972653389,
-0.013097543269395828,
-0.0422501377761364,
-0.022269343957304955,
-0.04974953830242157,
-0.03221572935581207,
0.06094582378864288,
0.034944385290145874,
0.024364246055483818,
0.02438185177743435,
-0.00405117217451334,
0.0470384880900383,
-0.007543410174548626,
0.040595341473817825,
0.02469872683286667,
-0.002889293245971203,
0.017771463841199875,
0.007173721678555012,
0.028448427096009254,
0.008802112191915512,
0.0011992878280580044,
0.020737776532769203,
0.006262702867388725,
-0.051545169204473495,
0.026388732716441154,
-0.03219812735915184,
-0.03291989862918854,
0.03901096060872078,
0.005919420626014471,
-0.03827158361673355,
0.04538369178771973,
0.026142273098230362,
0.0353492833673954,
-0.028853323310613632,
0.03575418144464493,
0.05006641522049904,
-0.04964391514658928,
0.01874849945306778,
0.04552452638745308,
0.054889973253011703,
0.011196286417543888,
-0.0387997105717659,
-0.052636630833148956,
0.009779146872460842,
0.024874769151210785,
-0.07921901345252991,
0.032567813992500305,
-0.017850684002041817,
-0.04812994971871376,
-0.016257502138614655,
0.038764502853155136,
0.02072017267346382,
0.0053648874163627625,
0.044397853314876556,
0.020755380392074585,
-0.03336000442504883,
-0.0453132726252079,
-0.044503480195999146,
-0.03446907177567482,
0.00208610063418746,
-0.04844682663679123,
-0.0034680322278290987,
-0.011134671978652477,
0.05136912688612938,
-0.001312615000642836,
-0.02784988284111023,
-0.008282788097858429,
0.023167159408330917,
0.019681522622704506,
0.030191244557499886,
0.02374809980392456,
-0.008859326131641865,
-0.02448747679591179,
-0.019487876445055008,
-0.0009143194183707237,
0.03119468502700329,
0.022903095930814743,
0.008634871803224087,
0.04534848406910896,
0.029680723324418068,
-0.012895094230771065,
0.01694406569004059,
-0.05098183453083038,
-0.019241416826844215,
0.03865887597203255,
-0.03508521988987923,
0.1020340844988823,
0.0017560214037075639,
-0.06640313565731049,
-0.01419780682772398,
-0.07055772840976715,
-0.0049643912352621555,
-0.02839561365544796,
0.017894694581627846,
-0.011310714296996593,
0.020016003400087357,
0.010764983482658863,
0.04246138781309128,
0.06672000885009766,
-0.021389132365584373,
-0.008709690533578396,
-0.050559334456920624,
0.006711610592901707,
-0.03728574886918068,
0.074148990213871,
0.02006881684064865,
0.0009841861901804805,
0.010967431589961052,
-0.05242538079619408,
0.0398559644818306,
0.037215329706668854,
0.0641850009560585,
-0.014074577949941158,
0.016715211793780327,
-0.023061534389853477,
-0.012807073071599007,
0.03453948721289635,
0.03487396985292435,
-0.042003680020570755,
-0.005369288381189108,
-0.017665838822722435,
0.040384091436862946,
0.00753020728006959,
0.014664319343864918,
0.0019408657681196928,
0.011794830672442913,
0.003402016358450055,
0.03221572935581207,
0.022498199716210365,
0.01453228760510683,
-0.008357605896890163,
-0.05865727737545967,
-0.0016503960359841585,
0.02471633069217205,
0.0030433302745223045,
-0.014989997260272503,
0.020016003400087357,
-0.005021605174988508,
0.027075298130512238,
-0.045911818742752075,
0.03057853877544403,
0.02862446941435337,
0.032356563955545425,
-0.03439865633845329,
0.0008862626855261624,
-0.0030873408541083336,
0.0014204408507794142,
-0.03184604272246361,
0.044292230159044266,
0.01457629818469286,
0.03725053742527962,
0.03575418144464493,
0.012507801875472069,
0.00883732084184885,
-0.08633111417293549,
0.013880930840969086,
0.0037739055696874857,
-0.026793628931045532,
0.03533167764544487,
-0.00469152582809329,
0.06767063587903976,
0.03975033760070801,
-0.05158037692308426,
-0.006117468234151602,
-0.04922141134738922,
-0.02362486906349659,
0.02784988284111023,
0.052847880870103836,
-0.006108665838837624,
-0.022392572835087776,
0.030543329194188118,
-0.0001672401267569512,
0.0027396574150770903,
-0.027691444382071495,
-0.0861198678612709,
-0.008467632345855236,
0.01822037249803543,
-0.006988876964896917,
-0.011231495067477226,
0.025614146143198013,
-0.021512363106012344,
-0.036475952714681625,
-0.03693366423249245,
-0.03154677152633667,
0.0060470509342849255,
0.08893654495477676,
-0.016336720436811447,
0.03135312348604202,
-0.07267023622989655,
0.03297271206974983,
0.040384091436862946,
-0.02274465747177601,
-0.031687602400779724,
0.021512363106012344,
-0.06270624697208405,
-0.005734576378017664,
-0.048376407474279404,
-0.018290789797902107,
0.05893894284963608,
0.06147395074367523,
-0.08619028329849243,
0.027163319289684296,
-0.009118988178670406,
-0.03629991039633751,
-0.01853724755346775,
0.0353492833673954,
-0.03654637187719345,
0.00991998054087162,
-0.012939104810357094,
-0.019980795681476593,
-0.006870048586279154,
0.09802032262086868,
0.0010744078317657113,
0.0364055372774601,
-0.007274945732206106,
-0.04284868389368057,
-0.03718012198805809,
0.040489718317985535,
-0.007926302030682564,
-0.045806191861629486,
0.0048499638214707375,
-0.00035483515239320695,
0.0030235254671424627,
0.009567895904183388,
0.037673041224479675,
0.01582619734108448,
0.014813954941928387,
0.03351844474673271,
-0.0035890613216906786,
-0.09224613755941391,
0.0019969791173934937,
-0.008001119829714298,
0.0018924541072919965,
-0.02732175588607788,
-0.02589581348001957,
-0.06383291631937027,
0.002365567721426487,
-0.024469872936606407,
-0.02232215739786625,
0.04305993393063545,
-0.02776186168193817,
-0.020332878455519676,
0.015641354024410248,
0.03284948319196701,
-0.0065091620199382305,
0.022075697779655457,
0.013299991376698017,
-0.020438505336642265,
0.01660078391432762,
-0.03865887597203255,
0.00804072991013527,
0.010853004641830921,
0.030824996531009674,
-0.005316475871950388,
-0.029874369502067566,
-0.017137711867690086,
-0.002889293245971203,
-0.059572696685791016,
0.07031127065420151,
0.01506921648979187,
-0.05672081187367439,
-0.002180723240599036,
-0.03438105061650276,
-0.061086658388376236,
-0.061861246824264526,
-0.02570216730237007,
0.02774425782263279,
-0.0188717283308506,
-0.0003091741818934679,
0.06999439746141434,
-0.01897735334932804,
0.050453707575798035,
0.05481955409049988,
-0.006104264874011278,
-0.01961110532283783,
-0.033764902502298355,
-0.028800511732697487,
0.0022192324977368116,
-0.011803632602095604,
0.02601904422044754,
-0.08168359845876694,
-0.050770584493875504,
0.024645915254950523,
-0.007301351986825466,
-0.0370744951069355,
0.04453868791460991,
-0.024417059496045113,
-0.020544130355119705,
-0.00010734450916061178,
0.011742018163204193,
0.08055692911148071,
0.006632391829043627,
-0.01941745914518833,
-0.011460349895060062,
-0.03357125446200371,
0.012217331677675247,
-0.01408337987959385,
-0.0015524725895375013,
0.004128190688788891,
-0.02784988284111023,
0.008467632345855236,
-0.0017340161139145494,
0.028254780918359756,
-0.007684243842959404,
0.015368487685918808,
0.03209250047802925,
-0.0494326613843441,
0.01160118356347084,
0.03915179520845413,
-0.0713675245642662,
-0.04390493780374527,
0.04394014552235603,
-0.017392974346876144,
-0.05267183855175972,
0.024012161418795586,
0.025121228769421577,
-0.047637030482292175,
-0.04298951476812363,
-0.022462990134954453,
-0.03203968703746796,
-0.036370329558849335,
0.031388331204652786,
-0.00007749984797555953,
0.03781387582421303,
0.057495396584272385,
-0.07122669368982315,
-0.01811474747955799,
0.021195486187934875,
-0.002241237787529826,
0.015192445367574692,
-0.04651036113500595,
0.003765103640034795,
0.007961510680615902,
-0.01918860524892807,
-0.004660718608647585,
-0.033624067902565,
0.013828118331730366,
0.023131951689720154,
0.03672241419553757,
-0.06270624697208405,
0.04999599605798721,
-0.006522365380078554,
0.07080419361591339,
-0.07823317497968674,
0.09147155284881592,
-0.0329551100730896,
0.010729774832725525,
-0.010236856527626514,
0.030631350353360176,
0.03725053742527962,
0.06686084717512131,
-0.012217331677675247,
-0.009638313204050064,
-0.04527806490659714,
-0.030948227271437645,
0.00013491987192537636,
0.09456989169120789,
-0.04467952251434326,
0.014945986680686474,
0.02373049408197403,
0.0300328079611063,
-0.0861198678612709,
0.0028716891538351774,
-0.01100264023989439,
0.0164775550365448,
-0.03661678731441498,
-0.019963189959526062,
-0.032567813992500305,
0.011099463328719139,
-0.050559334456920624,
0.07150836288928986,
0.008472032845020294,
-0.04302472621202469,
-0.05397455394268036,
-0.023043930530548096,
0.06369208544492722,
-0.0273041520267725,
0.01670640893280506,
0.00577418552711606,
-0.06196686998009682,
-0.056192684918642044,
-0.0004898925544694066,
0.054889973253011703,
-0.0005913919303566217,
-0.05541810020804405,
-0.0604529082775116,
-0.023396015167236328,
0.030648954212665558,
-0.0659102201461792,
-0.0052416580729186535,
0.014778746291995049,
0.06200207769870758,
0.04707369580864906,
0.10893493890762329,
0.012560614384710789,
-0.013361606746912003,
0.019241416826844215,
-0.006922861095517874,
-0.0411938838660717,
-0.015342081896960735,
-0.02709290198981762,
-0.03281427547335625,
0.014717131853103638,
0.018836520612239838,
-0.019681522622704506,
0.050453707575798035,
-0.01567656174302101,
-0.0370744951069355,
0.022727053612470627,
-0.04823557659983635,
-0.03216291964054108,
0.04376410320401192,
-0.006187885068356991,
-0.007217732258141041,
-0.035806991159915924,
0.022727053612470627,
0.02006881684064865,
0.0037342961877584457,
-0.011680402792990208,
-0.009752740152180195,
-0.013476033695042133,
-0.008964951150119305,
0.08076818287372589,
-0.00039141892921179533,
0.07140273600816727,
-0.024575497955083847,
-0.0754869133234024,
-0.0209314227104187,
-0.010175242088735104,
-0.009735136292874813,
-0.00026873950264416635,
0.006104264874011278,
0.00296851247549057,
0.035384491086006165,
-0.020526526495814323,
-0.0002984466264024377,
-0.006029447074979544,
0.015245258808135986,
0.023660078644752502,
0.020649755373597145,
-0.015518124215304852,
-0.04031367599964142,
-0.06319916993379593,
0.014963590539991856,
-0.03703928738832474,
-0.005386892706155777,
0.029328638687729836,
0.009603104554116726,
0.003637472866103053,
0.005083219613879919,
-0.04281347244977951,
-0.0007723853341303766,
0.021494757384061813,
0.0038179161492735147,
-0.04175722226500511,
-0.046017441898584366,
-0.010817795991897583,
-0.03087780997157097,
0.047425780445337296,
0.0394686721265316,
-0.04094742611050606,
-0.030279265716671944,
-0.045137230306863785,
-0.05481955409049988,
-0.025860605761408806,
0.02221653051674366,
0.02732175588607788,
0.006038249004632235,
-0.04615827649831772,
0.06059373915195465,
-0.019998399540781975,
-0.016741616651415825,
-0.0027638631872832775,
-0.07795150578022003,
-0.05020724982023239,
0.005844602361321449,
0.04302472621202469,
-0.011231495067477226,
0.04196847230195999,
0.004445066675543785,
-0.03100103884935379,
0.07101543992757797,
-0.0713675245642662,
0.07168440520763397,
0.03594782575964928,
-0.010483316145837307,
0.024100182577967644,
0.017921101301908493,
0.00991998054087162,
-0.03413459286093712,
0.08485236018896103,
0.03953908756375313,
0.02429383061826229,
-0.0014556492678821087,
0.0016801031306385994,
0.03341281786561012,
-0.01133712101727724,
-0.015042809769511223,
-0.0032325757201761007,
-0.01306233461946249,
0.0016305913450196385,
0.039081379771232605,
0.07640233635902405,
-0.04390493780374527,
0.07231815159320831
] |
18,451 | fs.base | appendtext | Append text to the end of a file, creating it if needed.
Arguments:
path (str): Path to a file.
text (str): Text to append.
encoding (str): Encoding for text files (defaults to ``utf-8``).
errors (str, optional): What to do with unicode decode errors
(see `codecs` module for more information).
newline (str): Newline parameter.
Raises:
TypeError: if ``text`` is not an unicode string.
fs.errors.ResourceNotFound: if a parent directory of
``path`` does not exist.
| def appendtext(
self,
path, # type: Text
text, # type: Text
encoding="utf-8", # type: Text
errors=None, # type: Optional[Text]
newline="", # type: Text
):
# type: (...) -> None
"""Append text to the end of a file, creating it if needed.
Arguments:
path (str): Path to a file.
text (str): Text to append.
encoding (str): Encoding for text files (defaults to ``utf-8``).
errors (str, optional): What to do with unicode decode errors
(see `codecs` module for more information).
newline (str): Newline parameter.
Raises:
TypeError: if ``text`` is not an unicode string.
fs.errors.ResourceNotFound: if a parent directory of
``path`` does not exist.
"""
if not isinstance(text, six.text_type):
raise TypeError("must be unicode string")
with self._lock:
with self.open(
path, "at", encoding=encoding, errors=errors, newline=newline
) as append_file:
append_file.write(text)
| (self, path, text, encoding='utf-8', errors=None, newline='') | [
-0.0068605318665504456,
-0.024501899257302284,
-0.03503326326608658,
0.08296788483858109,
0.0342492014169693,
-0.014353658072650433,
0.006994178518652916,
0.00872267596423626,
0.04950274899601936,
-0.01672366075217724,
0.07270381599664688,
-0.05780666321516037,
0.023076334968209267,
0.012678619474172592,
-0.003777747508138418,
0.04041476920247078,
-0.042945146560668945,
-0.019672797992825508,
-0.043871764093637466,
-0.012544972822070122,
-0.012945912778377533,
-0.018461067229509354,
-0.013346852734684944,
0.03569258376955986,
0.04565372318029404,
0.03006160259246826,
-0.01947678253054619,
-0.0023031786549836397,
-0.011181776411831379,
-0.007297111209481955,
0.02933100052177906,
-0.08909782022237778,
0.000865362526383251,
-0.05634545907378197,
-0.07092186063528061,
0.01851452700793743,
-0.0033701248466968536,
-0.0321643128991127,
0.08011675626039505,
-0.028137091547250748,
0.025499794632196426,
0.08774352818727493,
-0.00955128576606512,
-0.003158517647534609,
0.008446472696959972,
-0.008878597058355808,
-0.024056410416960716,
0.010861024260520935,
-0.03863281384110451,
0.014202192425727844,
-0.03084566444158554,
0.034409575164318085,
-0.008192543871700764,
-0.005515154916793108,
-0.08453600853681564,
0.008005439303815365,
-0.019013473764061928,
0.010869933292269707,
-0.03838333860039711,
-0.06208335980772972,
0.046223945915699005,
-0.04283823072910309,
0.07512728124856949,
0.00754658505320549,
-0.0010897776810452342,
0.03628063201904297,
-0.030952582135796547,
-0.04882560297846794,
0.03856153413653374,
0.0005730103584937751,
0.02211407758295536,
0.03367897495627403,
0.010335346683859825,
-0.07869119197130203,
0.02722829207777977,
0.04027221351861954,
-0.05834124982357025,
0.11098024249076843,
0.05164109542965889,
0.00931963138282299,
-0.004172005224972963,
-0.005341414362192154,
0.023254530504345894,
0.007943070493638515,
0.02225663512945175,
-0.051284704357385635,
-0.022684304043650627,
-0.04315898194909096,
0.0015124354977160692,
-0.02277340181171894,
0.025695810094475746,
-0.07548367232084274,
-0.0017318387981504202,
-0.03004378452897072,
0.04946710914373398,
-0.06005192920565605,
0.02427024580538273,
-0.0557752326130867,
-0.04087807983160019,
0.019975731149315834,
-0.044976577162742615,
0.0032409331761300564,
0.0765528455376625,
-0.03838333860039711,
0.027745060622692108,
-0.05010861158370972,
-0.010549181140959263,
-0.01449621468782425,
0.04625958576798439,
0.01732952520251274,
-0.007011997979134321,
-0.0667877271771431,
0.03275235742330551,
-0.018603624776005745,
-0.026675885543227196,
-0.02289813943207264,
-0.03524709492921829,
-0.003802249440923333,
0.006766979116946459,
-0.02822618931531906,
0.05452786386013031,
-0.006642242427915335,
-0.014683320187032223,
0.0162068922072649,
0.010994670912623405,
-0.0447627417743206,
-0.017151329666376114,
0.007212468422949314,
0.03649446740746498,
-0.037884391844272614,
-0.03285927325487137,
0.01739189401268959,
0.05973117798566818,
-0.031077317893505096,
0.02343272604048252,
-0.00040929310489445925,
-0.012179671786725521,
0.055810872465372086,
0.0037443358451128006,
0.042553115636110306,
0.018960015848279,
-0.05766410753130913,
0.0006337082013487816,
-0.017899751663208008,
0.014424936845898628,
0.030364535748958588,
-0.040379129350185394,
-0.07641028612852097,
-0.03510453924536705,
0.06044396013021469,
-0.011850009672343731,
0.000995111302472651,
-0.041769057512283325,
0.04191161319613457,
0.051605455577373505,
-0.05759282782673836,
0.0014289062237367034,
-0.008522205986082554,
-0.0033033015206456184,
0.01580595225095749,
-0.013810161501169205,
0.03458777442574501,
0.021294377744197845,
0.044655825942754745,
-0.01750772073864937,
0.07099314033985138,
-0.035656947642564774,
0.0022987236734479666,
-0.007047637365758419,
-0.02551761455833912,
0.04080680012702942,
-0.006829347461462021,
-0.0023299078457057476,
0.014032905921339989,
-0.059552982449531555,
-0.005212222225964069,
0.01771264523267746,
0.012838995084166527,
0.024448441341519356,
0.005782448220998049,
-0.013952718116343021,
-0.049645304679870605,
0.009070158004760742,
-0.014175462536513805,
0.03011506237089634,
-0.014389296993613243,
-0.04693673178553581,
0.027067916467785835,
0.004980567842721939,
0.028137091547250748,
-0.0036151439417153597,
-0.01242914516478777,
0.014273470267653465,
0.01686621643602848,
-0.019708437845110893,
-0.01105703879147768,
0.05794921889901161,
-0.011965836398303509,
-0.04604575037956238,
0.06308125704526901,
0.015208997763693333,
0.031273335218429565,
0.049110718071460724,
-0.0030270982533693314,
0.024038590490818024,
-0.009257263503968716,
0.03031107783317566,
0.02815490961074829,
-0.06055087596178055,
0.029384460300207138,
0.005898275412619114,
0.02309415489435196,
0.018977835774421692,
-0.007666867226362228,
0.008829593658447266,
-0.008718221448361874,
-0.053708165884017944,
0.002942455466836691,
-0.0034324934240430593,
0.03182573989033699,
0.011921287514269352,
0.04483402147889137,
-0.04351537302136421,
0.027655962854623795,
-0.0073550245724618435,
-0.009275082498788834,
0.00497165834531188,
0.056844405829906464,
0.021098362281918526,
-0.010869933292269707,
0.031077317893505096,
0.05438530817627907,
-0.0066957008093595505,
-0.009159255772829056,
-0.04141266644001007,
-0.0002728620602283627,
-0.022523928433656693,
0.010486813262104988,
-0.019245129078626633,
-0.021312197670340538,
-0.017828473821282387,
0.00014325258962344378,
-0.03378589078783989,
0.04112755134701729,
-0.027655962854623795,
-0.01555647887289524,
-0.04069988429546356,
0.033821530640125275,
0.015164448879659176,
-0.0667877271771431,
0.036708299070596695,
0.035728223621845245,
-0.04729312285780907,
0.004051723051816225,
0.001853234600275755,
0.028832053765654564,
-0.029313182458281517,
-0.05477733910083771,
0.01752554066479206,
0.022613026201725006,
0.04016529768705368,
0.028261827304959297,
-0.03423137962818146,
0.019262947142124176,
-0.018942195922136307,
-0.06564727425575256,
-0.03774183616042137,
0.016964225098490715,
-0.053316134959459305,
0.02255956642329693,
-0.004325699061155319,
0.07081494480371475,
0.019120391458272934,
-0.05516937002539635,
0.004327926319092512,
0.02756686508655548,
0.017400803044438362,
0.04323026165366173,
0.0002110504574375227,
0.004530624020844698,
-0.0018911011284217238,
0.05477733910083771,
0.02729957178235054,
-0.02277340181171894,
0.03391062840819359,
-0.011734182946383953,
-0.035728223621845245,
0.020456857979297638,
-0.03984454274177551,
-0.027210474014282227,
0.04682981222867966,
0.005261226091533899,
0.0006309238960966468,
0.07591134309768677,
0.03720724955201149,
0.013195387087762356,
-0.0435510128736496,
-0.020225204527378082,
0.012170761823654175,
-0.11368881165981293,
0.037955671548843384,
0.01935204677283764,
0.007484216708689928,
-0.015895050019025803,
-0.05951734259724617,
-0.04985914006829262,
-0.01069173775613308,
0.03444521501660347,
0.0028355380054563284,
0.037884391844272614,
-0.03138025104999542,
-0.07092186063528061,
-0.010192790068686008,
0.06889043003320694,
-0.0007896294118836522,
0.01798884943127632,
0.035585667937994,
-0.04479838162660599,
-0.01764136739075184,
-0.08004547655582428,
-0.014692230150103569,
-0.04483402147889137,
0.0012418008409440517,
-0.01994009129703045,
-0.03831206262111664,
-0.03727852553129196,
0.05110650882124901,
0.016688020899891853,
-0.031540628522634506,
-0.02512558363378048,
0.024430621415376663,
0.05360124632716179,
0.003924758639186621,
-0.006005192641168833,
-0.06785690039396286,
-0.023325808346271515,
0.010317526757717133,
-0.04757823422551155,
0.05467041954398155,
-0.0012908045900985599,
0.007862882688641548,
0.028582580387592316,
-0.058234333992004395,
-0.03246724605560303,
0.028849873691797256,
0.0069585395976901054,
0.014255650341510773,
0.01837196946144104,
0.020688513293862343,
0.046758536249399185,
0.013195387087762356,
-0.046758536249399185,
-0.02676498517394066,
-0.07526983320713043,
-0.03891792520880699,
-0.025036485865712166,
-0.003205294022336602,
-0.020225204527378082,
-0.0108877532184124,
-0.04290951043367386,
-0.02329016849398613,
0.037920031696558,
-0.024056410416960716,
-0.008816229179501534,
0.002381139202043414,
-0.0060987453907728195,
0.013827981427311897,
0.10157150775194168,
-0.014166552573442459,
0.001992449862882495,
0.06546907871961594,
-0.041305746883153915,
0.03211085498332977,
0.061905164271593094,
0.05189056694507599,
0.022844679653644562,
0.009738391265273094,
-0.01503080129623413,
-0.04454891011118889,
0.015182267874479294,
0.03597769886255264,
-0.02795889414846897,
-0.060800351202487946,
-0.04836229607462883,
0.008976604789495468,
-0.0037955669686198235,
0.023504003882408142,
-0.018799640238285065,
0.011564896441996098,
-0.011226325295865536,
0.051676735281944275,
0.0030493726953864098,
0.054242752492427826,
-0.04116319119930267,
-0.03948815166950226,
0.02592746540904045,
0.023771297186613083,
-0.012803356163203716,
0.00806780718266964,
0.05630981922149658,
-0.012821176089346409,
0.04205416887998581,
-0.015574298799037933,
0.03335822373628616,
0.02118746004998684,
0.06632441282272339,
-0.03642318770289421,
0.018024489283561707,
0.008330645971000195,
0.04454891011118889,
-0.014059635810554028,
0.006771434098482132,
-0.0015302549581974745,
0.03011506237089634,
0.0029892318416386843,
0.007279291749000549,
-0.017071140930056572,
-0.08204127103090286,
-0.010834294371306896,
0.008793954737484455,
-0.04932454973459244,
0.027531225234270096,
-0.05531192570924759,
0.06867659837007523,
0.026426412165164948,
-0.04397868365049362,
0.017338436096906662,
-0.030328897759318352,
-0.01580595225095749,
-0.009800760075449944,
0.03870409354567528,
-0.05509809032082558,
-0.04016529768705368,
0.048647407442331314,
-0.04508349671959877,
0.007114460691809654,
-0.03752800077199936,
-0.07612517476081848,
-0.018942195922136307,
-0.01765918731689453,
0.010754106566309929,
-0.005898275412619114,
0.000023231559680425562,
0.019637158140540123,
-0.008183634839951992,
-0.041377026587724686,
0.008615759201347828,
-0.019191669300198555,
0.0393812358379364,
0.004100726917386055,
0.021294377744197845,
-0.009030063636600971,
0.046223945915699005,
0.07224050909280777,
-0.017614638432860374,
-0.0226308461278677,
0.022007159888744354,
-0.07747945934534073,
0.009266172535717487,
0.009774030186235905,
-0.05010861158370972,
0.09836398810148239,
0.06450682133436203,
-0.07669539749622345,
0.04347973316907883,
-0.02008264884352684,
-0.04116319119930267,
-0.001060820883139968,
0.0007862882339395583,
-0.015592117793858051,
-0.010237338952720165,
0.018229413777589798,
-0.06464937329292297,
-0.012651889584958553,
0.07077930867671967,
-0.0017051094910129905,
-0.009337451308965683,
-0.04073552042245865,
-0.026604607701301575,
-0.00839746929705143,
0.05880456045269966,
0.01154707744717598,
-0.017400803044438362,
-0.01538719329982996,
0.026479871943593025,
0.03852589428424835,
0.05491989478468895,
0.005185492802411318,
-0.0006849394412711263,
0.02986558899283409,
0.045974474400281906,
-0.01364978589117527,
-0.0020024734549224377,
-0.018746180459856987,
-0.04775642976164818,
-0.025998743250966072,
-0.05228259786963463,
0.02795889414846897,
-0.04968094453215599,
-0.020260844379663467,
0.0037599278148263693,
-0.008673672564327717,
-0.004797917325049639,
0.04180469736456871,
0.007796058896929026,
0.05459914356470108,
-0.002139461226761341,
0.017071140930056572,
0.027869796380400658,
-0.008049988187849522,
-0.019441144540905952,
0.006922900211066008,
-0.01613561436533928,
0.030720926821231842,
0.04237492009997368,
-0.019833173602819443,
-0.030614009127020836,
-0.040129657834768295,
0.03483724594116211,
-0.015396102331578732,
-0.09180638939142227,
0.08033059537410736,
-0.002806581323966384,
-0.08653180301189423,
0.029936866834759712,
-0.004114091861993074,
-0.051284704357385635,
-0.02270212396979332,
-0.022648664191365242,
0.032770175486803055,
-0.001665015472099185,
0.005635437089949846,
0.030150702223181725,
-0.022417010739445686,
0.026996638625860214,
0.024947388097643852,
-0.012749897316098213,
0.05017989128828049,
0.010068053379654884,
0.02651550993323326,
0.021205279976129532,
0.0445132702589035,
-0.01908475160598755,
-0.054884254932403564,
-0.00019601520034484565,
-0.03346513956785202,
0.023129792883992195,
-0.0655759945511818,
0.09109360724687576,
0.036708299070596695,
-0.022719943895936012,
-0.026675885543227196,
-0.01831851154565811,
0.0895254835486412,
0.004682090133428574,
0.03341168165206909,
-0.01608215644955635,
-0.0024100958835333586,
0.016777118667960167,
-0.011974746361374855,
0.017953209578990936,
0.00016399567539338022,
-0.008834048174321651,
-0.009934406727552414,
0.02001136913895607,
0.03200393542647362,
0.012090574018657207,
0.022327912971377373,
0.04187597334384918,
-0.032520703971385956,
0.007577769458293915,
0.03309093043208122,
-0.04408559948205948,
-0.08111464977264404,
-0.013845800422132015,
-0.03380371257662773,
0.0073461150750517845,
0.03353641927242279,
0.010335346683859825,
0.007190193980932236,
-0.03806258738040924,
-0.02507212571799755,
-0.014023995958268642,
-0.02140129543840885,
0.05467041954398155,
0.027673782780766487,
0.04415687918663025,
0.056523654609918594,
-0.07124261558055878,
-0.0013910396955907345,
0.0007317158160731196,
0.01532482448965311,
0.05584651231765747,
-0.05673748999834061,
0.010486813262104988,
0.01849670708179474,
0.021508213132619858,
-0.024430621415376663,
-0.0226308461278677,
-0.008865232579410076,
-0.020225204527378082,
0.010157151147723198,
-0.07883375138044357,
0.06931810081005096,
-0.03724288567900658,
0.08966804295778275,
-0.0269075408577919,
0.050821393728256226,
-0.029687393456697464,
0.008076717145740986,
-0.020314302295446396,
-0.014870425686240196,
-0.007212468422949314,
0.00413191132247448,
0.011939107440412045,
-0.016572194173932076,
0.01856798492372036,
-0.01988663338124752,
0.05755718797445297,
0.0704585537314415,
-0.014184372499585152,
0.029758671298623085,
0.027798518538475037,
0.03367897495627403,
-0.06664516776800156,
0.02157949097454548,
-0.017810653895139694,
-0.05563267692923546,
-0.030560551211237907,
-0.03991582244634628,
-0.027941076084971428,
0.01204602513462305,
-0.0557752326130867,
0.04312334209680557,
0.0024702369701117277,
-0.025481976568698883,
-0.043729208409786224,
-0.045831918716430664,
0.06350892037153244,
-0.030614009127020836,
-0.042481839656829834,
-0.023307988420128822,
-0.049110718071460724,
-0.03827642276883125,
0.00028427771758288145,
0.048326656222343445,
-0.042018529027700424,
-0.054100193083286285,
-0.004967203363776207,
-0.060337040573358536,
0.04369356855750084,
-0.04273131489753723,
0.02113400213420391,
-0.0171869695186615,
0.06358020007610321,
0.05342305079102516,
0.06828456372022629,
-0.005194402765482664,
0.02756686508655548,
0.031273335218429565,
0.02389603480696678,
-0.017864111810922623,
0.013150838203728199,
0.0012083891779184341,
-0.00365746533498168,
-0.02683626301586628,
-0.006049741990864277,
-0.034213561564683914,
0.035656947642564774,
0.014558583498001099,
-0.01862144283950329,
0.000558253494091332,
0.004466027952730656,
0.000028782771551050246,
0.047613874077796936,
0.007724780589342117,
0.0053770532831549644,
-0.035336192697286606,
0.04059296473860741,
-0.004976112861186266,
-0.012607340700924397,
-0.004374702926725149,
-0.021490393206477165,
-0.050358086824417114,
0.0011276442091912031,
0.023504003882408142,
0.005515154916793108,
0.058163054287433624,
0.015761403366923332,
-0.03398190811276436,
-0.035585667937994,
0.01525354664772749,
-0.07683795690536499,
0.008914236910641193,
0.07890502363443375,
0.0005153751699253917,
0.06931810081005096,
-0.02512558363378048,
0.021686408668756485,
0.0011153932427987456,
0.03200393542647362,
0.03043581359088421,
0.009961135685443878,
-0.06596802175045013,
-0.049574024975299835,
-0.0555257610976696,
-0.007386208977550268,
-0.029117166996002197,
0.010255158878862858,
0.012322228401899338,
-0.030685288831591606,
0.021294377744197845,
0.06094290688633919,
-0.02801235392689705,
0.048861242830753326,
0.012972641736268997,
0.08182743191719055,
-0.025250321254134178,
-0.03806258738040924,
-0.015975238755345345,
-0.002512558363378048,
0.03859717398881912,
0.04943146929144859,
-0.0594460628926754,
-0.01292809285223484,
-0.002590519143268466,
-0.04444199055433273,
0.006094290874898434,
0.014318019151687622,
-0.0022809042129665613,
0.0023655469994992018,
0.004535079002380371,
0.012135122902691364,
-0.003452540375292301,
-0.016848396509885788,
0.014451665803790092,
-0.03180792182683945,
-0.02715701423585415,
0.010967941023409367,
0.0297230314463377,
-0.036458827555179596,
0.01686621643602848,
-0.026266036555171013,
-0.08382322639226913,
0.07790713012218475,
-0.04846921190619469,
0.051213424652814865,
0.032057393342256546,
-0.03902484476566315,
0.049039438366889954,
0.023913854733109474,
0.0013921534409746528,
-0.020635053515434265,
0.079261414706707,
0.03248506411910057,
0.02592746540904045,
0.07092186063528061,
0.002139461226761341,
0.03104167990386486,
0.019458962604403496,
-0.02407423034310341,
-0.011965836398303509,
0.02296941727399826,
0.01285681501030922,
0.026194758713245392,
0.0413413867354393,
-0.04743567854166031,
0.05762846767902374
] |
18,452 | fs.base | check | Check if a filesystem may be used.
Raises:
fs.errors.FilesystemClosed: if the filesystem is closed.
| def check(self):
# type: () -> None
"""Check if a filesystem may be used.
Raises:
fs.errors.FilesystemClosed: if the filesystem is closed.
"""
if self.isclosed():
raise errors.FilesystemClosed()
| (self) | [
0.07513218373060226,
-0.017362188547849655,
0.006164269521832466,
0.02664974518120289,
0.03314756974577904,
-0.004479167051613331,
0.009668762795627117,
0.013142933137714863,
-0.01713692955672741,
-0.014650428667664528,
0.028417153283953667,
-0.0385364331305027,
0.059294816106557846,
-0.03212524577975273,
-0.01784735918045044,
0.0385364331305027,
-0.039784014225006104,
0.04473968967795372,
0.014260559342801571,
0.01335952803492546,
-0.05035381019115448,
0.021018296480178833,
0.0030734711326658726,
-0.06944875419139862,
-0.007641442120075226,
0.0917666107416153,
0.01867908053100109,
0.042452454566955566,
0.01914692297577858,
-0.03638781979680061,
-0.03874436393380165,
0.05375000461935997,
0.03798195347189903,
0.021850017830729485,
0.021728726103901863,
0.0636613517999649,
0.02810525707900524,
-0.012501814402639866,
-0.0048993597738444805,
-0.016539130359888077,
-0.020013300701975822,
0.021416829898953438,
-0.002170273568481207,
-0.01093367300927639,
-0.053853970021009445,
-0.01365409605205059,
-0.026424488052725792,
0.029630081728100777,
-0.010084624402225018,
0.026251211762428284,
0.005856705829501152,
0.01997864432632923,
0.004422852769494057,
0.025332853198051453,
-0.018124599009752274,
0.05038846656680107,
0.043804001063108444,
-0.008785058744251728,
0.03141481801867485,
-0.03697695583105087,
0.02550612762570381,
0.06438910961151123,
0.031484127044677734,
-0.06740409880876541,
0.018627097830176353,
0.023513462394475937,
-0.022924326360225677,
-0.021850017830729485,
0.003322554286569357,
0.10535139590501785,
-0.04435848444700241,
0.024865008890628815,
-0.03158809244632721,
0.04751209542155266,
0.011574791744351387,
-0.025315525010228157,
-0.042452454566955566,
0.00739452475681901,
0.01918157935142517,
-0.0465070977807045,
0.00011120756244054064,
0.0040329834446311,
-0.005163604859262705,
0.03259309008717537,
0.019424164667725563,
0.012051299214363098,
0.030843008309602737,
0.05014587938785553,
0.009694754146039486,
0.03569471836090088,
-0.007104288320988417,
0.06175532564520836,
-0.012909011915326118,
-0.021260881796479225,
0.052051909267902374,
-0.006129614543169737,
-0.024275872856378555,
-0.04910622909665108,
-0.05537879467010498,
-0.014026638120412827,
-0.043838657438755035,
0.026407159864902496,
0.08310284465551376,
-0.0025103262159973383,
0.024657078087329865,
-0.03638781979680061,
0.004921019077301025,
-0.04473968967795372,
-0.02295898087322712,
-0.04352676123380661,
-0.06657238304615021,
-0.04668037220835686,
-0.008130944333970547,
0.04647244140505791,
-0.00287420442327857,
-0.01944149099290371,
0.006211920641362667,
0.0047564078122377396,
-0.019302871078252792,
-0.035798683762550354,
0.013012977316975594,
0.019458819180727005,
0.011410180479288101,
-0.04772002622485161,
0.09495487809181213,
0.049452777951955795,
-0.039645396173000336,
0.028295861557126045,
0.03669971600174904,
0.02564474754035473,
0.015612106770277023,
0.0015107442159205675,
-0.013515475206077099,
0.013290217146277428,
-0.02358277142047882,
0.004487831145524979,
0.02363475412130356,
0.002421522745862603,
-0.011106948368251324,
-0.03273170813918114,
-0.021018296480178833,
-0.05853240564465523,
-0.0511162206530571,
-0.030357837677001953,
0.011028974317014217,
0.09571728855371475,
-0.050284501165151596,
-0.0737459808588028,
0.024119924753904343,
0.02831318788230419,
0.02295898087322712,
-0.014312542043626308,
-0.014910342171788216,
0.02269906736910343,
-0.05375000461935997,
0.011028974317014217,
-0.02077571116387844,
-0.0031362834852188826,
0.01087302714586258,
0.0025774703826755285,
-0.020463816821575165,
0.015196246095001698,
-0.021832691505551338,
0.020498471334576607,
0.0008035643259063363,
-0.005254574120044708,
-0.0959252193570137,
-0.030894991010427475,
0.0578046478331089,
0.010838371701538563,
0.015759391710162163,
0.02334018610417843,
-0.028018619865179062,
-0.00028590430156327784,
-0.012371858581900597,
-0.007390192709863186,
0.0013179754605516791,
0.03836315870285034,
-0.044011931866407394,
-0.03427385911345482,
0.024535786360502243,
-0.06934478878974915,
-0.051462773233652115,
0.015655426308512688,
0.029630081728100777,
0.06078498438000679,
-0.022196568548679352,
-0.03321687877178192,
0.021122261881828308,
0.022196568548679352,
-0.027377501130104065,
0.02119157277047634,
-0.007286227308213711,
0.028833014890551567,
0.05517086386680603,
-0.0657753124833107,
-0.01233720313757658,
0.02328820340335369,
0.004052476491779089,
0.014745729975402355,
0.018713735044002533,
0.043665383011102676,
0.04688830301165581,
-0.028936980292201042,
-0.009798719547688961,
0.030253872275352478,
-0.012449832633137703,
-0.03857108950614929,
0.001981836510822177,
0.04238314554095268,
-0.056453101336956024,
-0.019840024411678314,
-0.05638379231095314,
0.055863965302705765,
0.06719616800546646,
-0.022595101967453957,
0.04193262755870819,
-0.05537879467010498,
-0.05160139128565788,
0.04633382335305214,
0.044254519045352936,
0.04820519685745239,
0.00013198706437833607,
-0.013853362761437893,
-0.02600862644612789,
0.010717079043388367,
0.01847114972770214,
0.038397811353206635,
0.029560770839452744,
-0.007736743427813053,
-0.01288302056491375,
0.0014100279659032822,
-0.05416586622595787,
-0.018835028633475304,
-0.018505804240703583,
-0.011644101701676846,
-0.0022168413270264864,
0.0077064200304448605,
-0.056071896106004715,
-0.026667073369026184,
-0.004981665872037411,
-0.06213653087615967,
-0.01763942837715149,
0.022941652685403824,
0.02420656383037567,
-0.05690361559391022,
-0.06095825880765915,
0.054443106055259705,
0.03569471836090088,
-0.0025406493805348873,
-0.013593449257314205,
0.0076890927739441395,
0.0041975947096943855,
-0.055829308927059174,
-0.03576402738690376,
-0.05517086386680603,
-0.08497422188520432,
-0.060473088175058365,
0.04539813473820686,
-0.002343548694625497,
0.033199552446603775,
0.051462773233652115,
0.0418979749083519,
0.1135299950838089,
-0.05302225053310394,
0.0011706914519891143,
0.05291828513145447,
-0.047234855592250824,
-0.016209905967116356,
-0.018869683146476746,
-0.002042482839897275,
0.03380601480603218,
0.019216233864426613,
-0.017058955505490303,
-0.015317538753151894,
-0.04456641525030136,
0.03597195819020271,
0.003450345015153289,
-0.028469135984778404,
0.06276032328605652,
0.0766570046544075,
0.022820360958576202,
-0.01063910499215126,
0.05638379231095314,
-0.06754272431135178,
0.014953660778701305,
-0.0485864020884037,
-0.006328881252557039,
-0.03888298198580742,
-0.018037961795926094,
-0.0368729904294014,
0.0034633406903594732,
0.031432144343853,
0.043630726635456085,
0.07395391166210175,
0.007416184060275555,
-0.03276636451482773,
-0.043838657438755035,
0.029560770839452744,
-0.019025631248950958,
-0.013636767864227295,
0.015681417658925056,
-0.06497824937105179,
0.039021603763103485,
0.015525469556450844,
-0.030219217762351036,
0.017006972804665565,
0.008975662291049957,
-0.01508361753076315,
0.02651112526655197,
0.03214257210493088,
-0.014728402718901634,
0.012978321872651577,
0.006653772667050362,
0.08684559166431427,
0.013749397359788418,
-0.007806053385138512,
-0.030271200463175774,
-0.04307624697685242,
0.04536348208785057,
-0.03167473152279854,
0.03368472307920456,
0.039056260138750076,
-0.022317862138152122,
-0.05343811213970184,
0.017336197197437286,
0.04952208697795868,
-0.004895028192549944,
0.0030648072715848684,
0.050665706396102905,
-0.01793399639427662,
-0.0145551273599267,
0.0561412051320076,
-0.04726950824260712,
-0.04096228629350662,
0.012935003265738487,
0.00781471747905016,
-0.055863965302705765,
0.04252176359295845,
-0.014996979385614395,
-0.009816046804189682,
0.041620735079050064,
0.01093367300927639,
-0.0410662516951561,
-0.015499478206038475,
0.0257660411298275,
0.03718488663434982,
-0.0477546788752079,
0.05551741644740105,
0.009322213008999825,
0.00286987260915339,
0.028174567967653275,
-0.0674387589097023,
-0.0044488441199064255,
-0.008434176445007324,
-0.016972318291664124,
0.03235050290822983,
0.06203256547451019,
-0.002105295192450285,
0.012770392000675201,
0.055690690875053406,
-0.008000988513231277,
-0.04279900714755058,
-0.00921824760735035,
-0.02966473624110222,
-0.05458172783255577,
0.017778048291802406,
0.01575072668492794,
-0.03555609658360481,
0.0029435146134346724,
-0.006480497308075428,
-0.0653247982263565,
-0.004561473149806261,
-0.051081568002700806,
0.024709060788154602,
0.03250645101070404,
0.036214541643857956,
0.004399027209728956,
0.003981000743806362,
0.046021927148103714,
0.00701765064150095,
0.03422187641263008,
-0.01451180875301361,
-0.06054240092635155,
-0.02659776248037815,
-0.03874436393380165,
-0.07471632212400436,
0.02349613420665264,
0.0016829365631565452,
0.006372200325131416,
0.023721391335129738,
-0.03867505118250847,
0.0075807953253388405,
0.020498471334576607,
-0.006229247897863388,
0.03339015692472458,
0.03968004882335663,
-0.007000323385000229,
0.012302548624575138,
0.030513785779476166,
0.000917276251129806,
-0.00122267403639853,
-0.10604450106620789,
0.03283567354083061,
0.015412840060889721,
0.044254519045352936,
-0.005835046526044607,
0.0006530313985422254,
0.018783045932650566,
-0.03153610974550247,
0.01147949043661356,
-0.01914692297577858,
-0.04751209542155266,
0.0318480059504509,
0.0008382194209843874,
0.045606065541505814,
0.0009995820000767708,
-0.006883362308144569,
0.056487757712602615,
-0.0015334866475313902,
0.0006449091015383601,
-0.016790378838777542,
0.026251211762428284,
0.026667073369026184,
-0.010699751786887646,
-0.02689233049750328,
-0.03238515928387642,
0.04758140444755554,
0.0024171906989067793,
-0.010795053094625473,
-0.03276636451482773,
0.05759671702980995,
-0.01066509634256363,
-0.013610776513814926,
-0.03857108950614929,
-0.038848329335451126,
-0.055863965302705765,
-0.020550454035401344,
-0.0023045619018375874,
0.011340870521962643,
0.022976309061050415,
0.02727353572845459,
0.04428917169570923,
0.008698421530425549,
0.02325354889035225,
-0.008750404231250286,
0.018575115129351616,
0.061859291046857834,
0.026285866275429726,
-0.009122946299612522,
-0.05631447955965996,
0.003056143643334508,
-0.0021280376240611076,
0.006029981188476086,
-0.05676499754190445,
-0.030357837677001953,
-0.05731947720050812,
0.00599099462851882,
-0.014113275334239006,
-0.012753063812851906,
-0.0312068872153759,
0.03235050290822983,
-0.033078260719776154,
-0.052259840071201324,
0.013801380060613155,
0.006558470893651247,
-0.005579465534538031,
0.005518819205462933,
0.0427296943962574,
-0.0010851367842406034,
0.034707047045230865,
-0.009001653641462326,
0.00590868853032589,
-0.02308027260005474,
0.02845180779695511,
-0.01348948385566473,
-0.00574840884655714,
0.03673436865210533,
0.021226227283477783,
-0.030600422993302345,
0.011930006556212902,
-0.018817700445652008,
-0.03992263600230217,
0.004221420269459486,
-0.018800372257828712,
-0.061062224209308624,
-0.006523815914988518,
-0.043665383011102676,
0.03295696899294853,
-0.040199875831604004,
-0.017535462975502014,
-0.05891361087560654,
-0.023062946274876595,
-0.013203579932451248,
0.05960671231150627,
0.016660422086715698,
-0.04758140444755554,
-0.005163604859262705,
-0.024189235642552376,
-0.031276196241378784,
0.015196246095001698,
0.04997260496020317,
-0.012666426599025726,
0.049833983182907104,
0.005696426145732403,
-0.0703844353556633,
0.019666749984025955,
-0.04096228629350662,
0.035001616925001144,
-0.043630726635456085,
-0.010561130940914154,
0.011349533684551716,
0.04435848444700241,
0.040823668241500854,
0.05035381019115448,
0.00410012761130929,
-0.028763704001903534,
0.004656774457544088,
0.023010963574051857,
0.051462773233652115,
0.01696365512907505,
-0.031154904514551163,
0.052675697952508926,
-0.04921019449830055,
-0.045259516686201096,
-0.06615652143955231,
0.028174567967653275,
-0.0020619763527065516,
0.023028291761875153,
-0.022196568548679352,
0.0356254056096077,
-0.029179565608501434,
0.01864442601799965,
-0.04588330537080765,
-0.017665419727563858,
0.009807383641600609,
0.040199875831604004,
-0.0002076596429105848,
-0.09287557750940323,
-0.017509471625089645,
0.029924649745225906,
0.011800049804151058,
0.06508221477270126,
0.008234909735620022,
0.00898432545363903,
-0.024830354377627373,
0.010067296214401722,
-0.07402321696281433,
0.09162799268960953,
-0.010405183769762516,
0.013636767864227295,
0.0025103262159973383,
0.02626853995025158,
-0.04110090807080269,
0.08400388062000275,
-0.009296221658587456,
0.07436977326869965,
0.03427385911345482,
0.029630081728100777,
-0.05177466943860054,
-0.0014533468056470156,
0.013498147949576378,
-0.011739403009414673,
-0.0385364331305027,
0.03465506434440613,
-0.09869762510061264,
0.05156673863530159,
-0.03496696054935455,
0.050631050020456314,
-0.004734748508781195,
-0.005995326209813356,
0.00785803608596325,
0.07547873258590698,
-0.02275105006992817,
0.017985979095101357,
-0.03418722376227379,
-0.041828662157058716,
0.0787363052368164,
-0.07028046995401382,
-0.07277563959360123,
0.015317538753151894,
-0.06903289258480072,
-0.0569729283452034,
-0.025956643745303154,
-0.028417153283953667,
-0.05156673863530159,
0.005696426145732403,
-0.001833469606935978,
-0.05790861323475838,
0.017275549471378326,
0.010249235667288303,
-0.00946949701756239,
0.08622179925441742,
-0.08407318592071533,
0.01619257964193821,
0.026043280959129333,
0.04200194031000137,
-0.04238314554095268,
0.006484828889369965,
0.010457165539264679,
-0.021590106189250946,
0.024518458172678947,
0.0019525963580235839,
-0.028295861557126045,
0.005258906167000532,
0.041412804275751114,
0.006506488658487797,
0.03262774273753166,
-0.05517086386680603,
-0.012701081112027168,
-0.010283890180289745,
0.01038785558193922,
0.005878365598618984,
0.0004147778090555221,
-0.02023855783045292,
0.042209871113300323,
0.0213648471981287,
0.005579465534538031,
0.0045094904489815235,
0.050457775592803955,
0.010994319804012775,
-0.00880671851336956,
-0.005224251188337803,
-0.03117223083972931,
-0.012363194487988949,
-0.02278570458292961,
-0.005718085914850235,
-0.01926821656525135,
-0.06712686270475388,
-0.0064241825602948666,
0.028087930753827095,
-0.041482113301754,
0.02446647547185421,
-0.01838451251387596,
-0.030513785779476166,
-0.0024280205834656954,
-0.008520814590156078,
0.003939847927540541,
0.022005965933203697,
0.03410058468580246,
-0.036595750600099564,
-0.023652082309126854,
-0.0009984991047531366,
0.015161590650677681,
0.001496665645390749,
-0.0699339210987091,
-0.03066973201930523,
0.002560142893344164,
0.050076570361852646,
-0.030513785779476166,
-0.02429320104420185,
0.06608720868825912,
0.0045051584020257,
-0.07561735063791275,
0.03467239439487457,
-0.028503790497779846,
0.019458819180727005,
-0.05870568007230759,
-0.055448103696107864,
0.0007223415304906666,
0.0037817340344190598,
-0.01684236153960228,
-0.02145148627460003,
0.04491296410560608,
0.00799232441931963,
-0.006081963889300823,
0.02387733943760395,
-0.0012464993633329868,
-0.07346873730421066,
0.0322638675570488,
-0.01296965777873993,
0.030981628224253654,
0.04394262284040451,
-0.006580130662769079,
-0.030791025608778,
-0.0006644025561399758,
0.01788201369345188,
0.031154904514551163,
0.03832850232720375,
0.045259516686201096,
-0.048655711114406586,
0.05756206437945366,
-0.05288362875580788,
-0.012753063812851906,
0.04761606082320213,
0.013160261325538158,
-0.062309809029102325,
-0.0044661713764071465,
0.004422852769494057,
-0.05260638892650604,
-0.012415177188813686,
0.007450839038938284,
0.029422150924801826,
0.061478085815906525,
-0.06684961915016174,
-0.0368729904294014,
-0.010067296214401722,
0.06095825880765915,
0.012501814402639866,
-0.010543803684413433,
0.07825113832950592,
0.02308027260005474,
0.04934881255030632,
0.0005913020577281713,
0.012172591872513294,
-0.029040943831205368,
-0.08289491385221481,
0.029751373454928398,
-0.02609526365995407,
-0.003578135510906577,
-0.004221420269459486,
-0.0064241825602948666,
-0.0005041229305788875,
-0.0021811032202094793,
0.0008615032420493662,
-0.044462449848651886,
0.016972318291664124,
-0.0020435659680515528,
0.05977998673915863,
-0.05690361559391022,
-0.01751813478767872,
0.01914692297577858,
0.006918017286807299,
-0.044635724276304245,
0.026320522651076317,
0.0330955870449543,
-0.04186331853270531,
-0.034533772617578506,
0.033164896070957184,
0.019580112770199776,
0.030253872275352478,
-0.0027399160899221897,
-0.07804320752620697,
0.09017247706651688,
0.0002691182307898998,
-0.03718488663434982,
0.025211559608578682,
0.08282560855150223,
0.0010564379626885056,
0.018453821539878845,
0.05101225525140762,
-0.04841312766075134,
0.01669507846236229,
-0.05461638420820236,
0.0032597421668469906,
-0.027429483830928802,
-0.014685084111988544,
0.029595425352454185,
-0.019840024411678314,
0.05558672547340393,
0.015291547402739525,
-0.040442463010549545,
0.052051909267902374,
0.061096880584955215,
0.020637091249227524,
0.03066973201930523,
-0.04449710249900818,
0.014589782804250717,
0.008399521000683308,
-0.002200596733018756,
-0.040234532207250595,
0.027793362736701965,
0.040026601403951645,
0.04252176359295845,
0.013125605881214142,
0.005037980154156685,
-0.057042237371206284,
0.02003062702715397
] |
18,453 | fs.base | close | Close the filesystem and release any resources.
It is important to call this method when you have finished
working with the filesystem. Some filesystems may not finalize
changes until they are closed (archives for example). You may
call this method explicitly (it is safe to call close multiple
times), or you can use the filesystem as a context manager to
automatically close.
Example:
>>> with OSFS('~/Desktop') as desktop_fs:
... desktop_fs.writetext(
... 'note.txt',
... "Don't forget to tape Game of Thrones"
... )
If you attempt to use a filesystem that has been closed, a
`~fs.errors.FilesystemClosed` exception will be thrown.
| def close(self):
# type: () -> None
"""Close the filesystem and release any resources.
It is important to call this method when you have finished
working with the filesystem. Some filesystems may not finalize
changes until they are closed (archives for example). You may
call this method explicitly (it is safe to call close multiple
times), or you can use the filesystem as a context manager to
automatically close.
Example:
>>> with OSFS('~/Desktop') as desktop_fs:
... desktop_fs.writetext(
... 'note.txt',
... "Don't forget to tape Game of Thrones"
... )
If you attempt to use a filesystem that has been closed, a
`~fs.errors.FilesystemClosed` exception will be thrown.
"""
self._closed = True
| (self) | [
0.0571744441986084,
-0.01813230849802494,
-0.0003345018776599318,
0.008429447188973427,
0.02039308100938797,
-0.0543692447245121,
-0.05820794031023979,
0.0698716789484024,
0.011534547433257103,
-0.004076309036463499,
0.025782020762562752,
-0.08961881697177887,
0.021629583090543747,
0.013398530893027782,
0.0203192587941885,
0.06256338953971863,
-0.0844513401389122,
-0.028328849002718925,
0.0030751104932278395,
-0.001921655610203743,
-0.0038733009714633226,
-0.010279588401317596,
0.03759339824318886,
-0.09434337168931961,
0.001186904963105917,
0.016019180417060852,
0.012577271088957787,
0.01474576536566019,
-0.028033563867211342,
-0.06300631165504456,
-0.023936493322253227,
0.0023495873901993036,
0.02037462405860424,
-0.019894788041710854,
-0.0016229108441621065,
0.05200696736574173,
-0.03519421070814133,
-0.03312722221016884,
0.043480630964040756,
-0.00021425422164611518,
0.02255234681069851,
-0.008526337333023548,
-0.02652023173868656,
-0.018482958897948265,
0.014145969413220882,
0.013186294585466385,
0.001145380549132824,
-0.0021881037391722202,
0.05359412357211113,
0.001907814177684486,
-0.03567405045032501,
0.014570440165698528,
-0.032149091362953186,
-0.0022849938832223415,
-0.04388664662837982,
0.05123184621334076,
0.03261047229170799,
-0.042594775557518005,
-0.016148366034030914,
-0.05942598730325699,
0.06381834298372269,
0.01647133380174637,
0.0017198009882122278,
-0.01724645495414734,
0.0203192587941885,
0.03150315582752228,
-0.01056564599275589,
0.03377315402030945,
0.02493307739496231,
0.04757770150899887,
-0.0308756772428751,
0.0003633382439147681,
0.01133153960108757,
0.02493307739496231,
0.0038317767903208733,
0.036578357219696045,
-0.04458794742822647,
0.011792921461164951,
0.02107592485845089,
-0.08526337891817093,
0.00528743676841259,
0.0390513651072979,
-0.0203192587941885,
0.036559902131557465,
0.06060712784528732,
-0.024471696466207504,
0.04126599803566933,
0.04809444770216942,
-0.07588809728622437,
0.016794301569461823,
0.031152505427598953,
0.027498360723257065,
-0.015244058333337307,
-0.026169581338763237,
0.041782744228839874,
-0.08393459767103195,
-0.06130842864513397,
-0.008784711360931396,
-0.00869243498891592,
0.01427515596151352,
-0.011036255396902561,
0.018575236201286316,
0.04691331088542938,
-0.013020196929574013,
0.031207872554659843,
-0.05451688542962074,
0.023825760930776596,
-0.03305339813232422,
-0.06666045635938644,
-0.0018270723521709442,
-0.09205491840839386,
-0.04772534221410751,
-0.012678775005042553,
0.023198282346129417,
-0.005619631614536047,
0.00014836312038823962,
0.012660318985581398,
0.044809408485889435,
0.033440958708524704,
-0.03318258747458458,
-0.02932543307542801,
0.03338559344410896,
-0.028845597058534622,
-0.013887595385313034,
0.021648038178682327,
0.044846322387456894,
-0.025449825450778008,
-0.004533077124506235,
-0.011137759312987328,
0.026557141914963722,
-0.019931698217988014,
0.02474852465093136,
0.03296112269163132,
0.02044844627380371,
0.04683949053287506,
-0.002849033335223794,
0.006307090632617474,
-0.005125952884554863,
-0.001844374113716185,
0.024730069562792778,
-0.04152437299489975,
-0.05794956535100937,
-0.023087549954652786,
-0.022146331146359444,
0.017089584842324257,
0.09375280141830444,
-0.01549320388585329,
-0.07898858189582825,
-0.048648107796907425,
0.0010329186916351318,
-0.005758046172559261,
0.03327486291527748,
0.03170616552233696,
0.02177722565829754,
-0.010011986829340458,
-0.05665769800543785,
-0.027295352891087532,
0.014265928417444229,
0.005531969014555216,
0.013878367841243744,
-0.022958364337682724,
0.05931525677442551,
-0.007455931510776281,
0.011027027852833271,
-0.033643968403339386,
-0.022441616281867027,
-0.055365826934576035,
0.0050613596104085445,
0.004685332998633385,
-0.04089689254760742,
-0.03093104250729084,
-0.022367794066667557,
-0.010750198736786842,
0.00663005793467164,
-0.0010058125481009483,
-0.009444487281143665,
0.007183716166764498,
0.01880592666566372,
-0.02491462230682373,
-0.02880868688225746,
-0.0018916657427325845,
-0.08371312916278839,
-0.07773362100124359,
0.026612509042024612,
0.04248404502868652,
0.033662423491477966,
-0.04990306496620178,
0.023807305842638016,
-0.0009642881923355162,
-0.0005311659188009799,
-0.018409138545393944,
0.0030797242652624846,
-0.03742729872465134,
0.02572665549814701,
0.0666973665356636,
-0.0364307165145874,
0.017181862145662308,
-0.02554210275411606,
0.006939183920621872,
0.026797061786055565,
-0.016803529113531113,
0.0422256700694561,
0.06935492902994156,
-0.03978957608342171,
-0.029122425243258476,
0.006823838222771883,
0.007686622440814972,
-0.0031420106533914804,
-0.05185932666063309,
-0.0010334954131394625,
-0.007123736664652824,
0.041192177683115005,
-0.04912794381380081,
0.02343820035457611,
0.0834178477525711,
-0.05569802224636078,
0.01812308095395565,
-0.016332918778061867,
-0.03403152897953987,
0.05152713134884834,
-0.01356462761759758,
0.04429266229271889,
0.007525139022618532,
-0.007778898812830448,
-0.03144779056310654,
0.015410155989229679,
0.006860748864710331,
0.0076635535806417465,
0.06551623344421387,
-0.030654214322566986,
0.00002905264227592852,
-0.008415605872869492,
-0.020226983353495598,
-0.008900056593120098,
-0.03532340005040169,
-0.03340404853224754,
-0.028218116611242294,
0.000160906944074668,
-0.08386077731847763,
-0.04248404502868652,
-0.014588896185159683,
-0.07965297251939774,
-0.0029828338883817196,
0.0511949360370636,
0.034566730260849,
-0.016185276210308075,
0.0009216103353537619,
0.023678118363022804,
0.087625652551651,
-0.016203733161091805,
0.02102055959403515,
-0.037261202931404114,
0.025855841115117073,
-0.03010055609047413,
-0.007995747961103916,
-0.035083480179309845,
-0.08135085552930832,
-0.07356273382902145,
-0.013684587553143501,
0.03997412696480751,
0.03467746451497078,
-0.019931698217988014,
-0.0006067171925678849,
0.0770692303776741,
0.028273483738303185,
-0.015631617978215218,
0.04314843565225601,
-0.02253389172255993,
0.0077050779946148396,
-0.021703405305743217,
-0.01738486997783184,
0.0057718874886631966,
-0.0018939727451652288,
-0.07928386330604553,
0.0016217574011534452,
0.004440800752490759,
-0.007363655138760805,
-0.008904670365154743,
-0.02487771213054657,
0.012226620689034462,
0.06618061661720276,
0.021445030346512794,
-0.020226983353495598,
0.00862322747707367,
0.04432957246899605,
0.016951171681284904,
-0.037279658019542694,
-0.0014891100581735373,
-0.02423177659511566,
-0.02556055784225464,
-0.0042608617804944515,
-0.03248128667473793,
-0.018279951065778732,
0.08673980087041855,
0.09441719204187393,
-0.016831211745738983,
-0.0740794762969017,
-0.031207872554659843,
0.05185932666063309,
-0.041155267506837845,
-0.008434060961008072,
0.03945738077163696,
-0.0022215538192540407,
0.046433474868535995,
-0.0034303744323551655,
-0.015234830789268017,
0.0212051123380661,
0.0016044555231928825,
0.04724550619721413,
0.06562696397304535,
0.03030356392264366,
-0.04074924811720848,
-0.021703405305743217,
0.026114216074347496,
0.06717720627784729,
0.05211769789457321,
-0.008913897909224033,
-0.047097865492105484,
-0.021408120170235634,
0.012678775005042553,
-0.012014384381473064,
-0.028365759178996086,
0.041118353605270386,
0.029749905690550804,
-0.015502432361245155,
-0.016212960705161095,
0.028199661523103714,
0.019175032153725624,
0.059167616069316864,
0.01724645495414734,
0.03637534752488136,
0.011709872633218765,
0.05488599091768265,
-0.03676291182637215,
-0.04311152547597885,
-0.03537876531481743,
0.05861395597457886,
-0.05222843214869499,
-0.0015606243396177888,
-0.048574287444353104,
-0.05056745558977127,
0.007617415394634008,
0.023493565618991852,
-0.03218600153923035,
-0.08415605872869492,
0.04440339282155037,
0.0172833651304245,
-0.059241436421871185,
0.05049363523721695,
0.014764220453798771,
0.05879851058125496,
0.04846355319023132,
-0.0557718425989151,
-0.056989893317222595,
-0.015336334705352783,
-0.03146624565124512,
0.03159543126821518,
0.035747870802879333,
0.02402876876294613,
-0.01588999293744564,
0.023899583145976067,
-0.004620739724487066,
-0.028937872499227524,
-0.006251724902540445,
0.0017624788451939821,
-0.07470695674419403,
-0.003834083676338196,
0.04683949053287506,
-0.014247473329305649,
0.005038290284574032,
0.04447721689939499,
-0.1041615754365921,
0.027553727850317955,
0.04728241637349129,
0.041967298835515976,
-0.00020344057702459395,
0.05569802224636078,
0.00773276062682271,
0.005310505628585815,
0.03395770862698555,
0.020817551761865616,
0.023087549954652786,
0.019950153306126595,
-0.026852427050471306,
0.013666131533682346,
0.004955241456627846,
0.004844509996473789,
-0.03548949584364891,
0.00030826078727841377,
0.007437476422637701,
-0.0013068642001599073,
-0.014238245785236359,
0.036633722484111786,
-0.009624426253139973,
0.03820241987705231,
0.04853737726807594,
0.006893045734614134,
-0.027775190770626068,
0.03532340005040169,
0.03177998587489128,
0.019396495074033737,
0.0028651815373450518,
-0.041044533252716064,
0.03486201539635658,
0.016951171681284904,
0.0316692553460598,
0.010408775880932808,
-0.029916003346443176,
0.03552640601992607,
0.01648056134581566,
-0.013278570957481861,
0.01089784037321806,
-0.05222843214869499,
0.014561212621629238,
0.05440615490078926,
0.023050639778375626,
0.014921090565621853,
0.02652023173868656,
0.13324709236621857,
0.04004794731736183,
-0.005047517828643322,
0.01877824403345585,
0.023973403498530388,
-0.01208820566534996,
-0.017744747921824455,
-0.07057297229766846,
0.010704060085117817,
0.010685604996979237,
0.013278570957481861,
0.009569060988724232,
-0.031982991844415665,
0.0006903426838107407,
-0.037353478372097015,
0.02930697798728943,
-0.004092457704246044,
-0.019968608394265175,
-0.009818206541240215,
-0.05492290109395981,
-0.04311152547597885,
0.008895442821085453,
0.04901721328496933,
-0.022017143666744232,
0.03678136691451073,
-0.0053566438145935535,
0.015696212649345398,
-0.07980061322450638,
0.008881601504981518,
-0.015280968509614468,
0.03237055242061615,
0.0008085717563517392,
0.004549225326627493,
-0.010990116745233536,
0.00506597338244319,
0.02936234511435032,
-0.0062609524466097355,
-0.022995274513959885,
0.010427230969071388,
-0.02474852465093136,
-0.012549587525427341,
0.0044892458245158195,
-0.03235209733247757,
0.06267412006855011,
0.04126599803566933,
-0.03864534944295883,
-0.023050639778375626,
-0.04676567018032074,
-0.0041824267245829105,
0.0009239172795787454,
0.021629583090543747,
0.011783693917095661,
0.03423453867435455,
0.0010623318376019597,
-0.04591672867536545,
0.002181182848289609,
0.04130290821194649,
0.005236684810370207,
-0.050124529749155045,
-0.028402669355273247,
0.012291213497519493,
-0.04743006080389023,
0.012125116772949696,
-0.045510709285736084,
-0.0408230721950531,
0.011995929293334484,
-0.010362637229263783,
-0.013906050473451614,
0.06009037792682648,
-0.047909896820783615,
0.038829900324344635,
-0.0013218591921031475,
0.0032250594813376665,
-0.01737564243376255,
-0.020097795873880386,
-0.05942598730325699,
0.011460726149380207,
0.04602745920419693,
-0.040306322276592255,
-0.044218841940164566,
-0.0647411048412323,
-0.05056745558977127,
-0.02784901112318039,
0.041782744228839874,
-0.015299423597753048,
0.012697230093181133,
0.010556417517364025,
-0.029067059978842735,
0.007391338236629963,
-0.027701368555426598,
0.009624426253139973,
-0.028845597058534622,
-0.05407395958900452,
-0.049386318773031235,
0.04850046709179878,
0.0013460817281156778,
0.036652177572250366,
0.011414588429033756,
-0.04163510352373123,
0.023641208186745644,
0.012300441972911358,
0.026132671162486076,
-0.0241025909781456,
-0.03098640777170658,
-0.023733485490083694,
-0.019950153306126595,
-0.03454827517271042,
-0.033570148050785065,
0.034160714596509933,
0.01175601128488779,
0.04078616201877594,
0.034289903938770294,
0.02257080189883709,
-0.00027250367566011846,
0.015594708733260632,
-0.0330718532204628,
-0.011682190001010895,
0.0002021429390879348,
-0.023936493322253227,
-0.03945738077163696,
-0.01440434344112873,
-0.00007176650979090482,
0.014939545653760433,
-0.01062101125717163,
0.04735623672604561,
0.0044431076385080814,
0.015991495922207832,
-0.043332986533641815,
0.030746489763259888,
-0.07758598029613495,
0.12328124791383743,
0.017532512545585632,
0.009947394020855427,
-0.03080185502767563,
0.02048535645008087,
-0.03369933366775513,
0.03294266760349274,
0.05270826816558838,
0.02576356567442417,
0.0375564880669117,
-0.0020104716531932354,
-0.0315769761800766,
-0.043332986533641815,
0.04809444770216942,
0.03392079845070839,
-0.029786815866827965,
0.06459346413612366,
0.008849305100739002,
0.0788409411907196,
-0.015576252713799477,
0.028864052146673203,
-0.014635033905506134,
0.027682913467288017,
-0.002569897100329399,
0.1284487247467041,
-0.04229949414730072,
0.05053054541349411,
0.009504467248916626,
0.0028052020352333784,
0.04584290459752083,
-0.05222843214869499,
-0.0557718425989151,
-0.058540135622024536,
0.007848106324672699,
-0.019950153306126595,
0.005167477298527956,
0.001748637412674725,
-0.0023253648541867733,
0.0420411191880703,
-0.0017544046277180314,
-0.0925716683268547,
0.013020196929574013,
0.03613543137907982,
-0.02417641133069992,
0.08253199607133865,
-0.038054779171943665,
-0.02570820041000843,
-0.01648056134581566,
0.001139036612585187,
0.007848106324672699,
0.01134999468922615,
0.022478526458144188,
-0.041229087859392166,
0.010491824708878994,
-0.00417319918051362,
0.04296388104557991,
0.028088930994272232,
0.06134533882141113,
-0.014109058305621147,
0.04366518184542656,
-0.08378695696592331,
0.036504536867141724,
-0.0022573110181838274,
0.002013931982219219,
0.0061040823347866535,
0.006745403632521629,
-0.0004065927932970226,
0.025228362530469894,
0.04517851769924164,
-0.01015040185302496,
-0.015373244881629944,
-0.02102055959403515,
-0.028328849002718925,
-0.03901445493102074,
-0.013398530893027782,
0.007280606310814619,
-0.003363474039360881,
-0.005158249754458666,
-0.04004794731736183,
0.010214995592832565,
-0.06843216717243195,
0.014948773197829723,
-0.009642881341278553,
-0.06743557751178741,
-0.003455750411376357,
0.021445030346512794,
-0.009947394020855427,
-0.012411173433065414,
-0.04366518184542656,
-0.0062471111305058,
0.05152713134884834,
-0.002204251941293478,
-0.026095760986208916,
0.03235209733247757,
0.039494290947914124,
-0.018649056553840637,
-0.044809408485889435,
-0.0684690773487091,
-0.005139794200658798,
-0.019285762682557106,
0.0360616110265255,
-0.033440958708524704,
-0.05041981488466263,
0.038977544754743576,
0.018519869074225426,
-0.05425851047039032,
0.03312722221016884,
-0.01887051947414875,
0.05488599091768265,
-0.04824209213256836,
-0.03945738077163696,
0.02860567718744278,
-0.011940564028918743,
-0.041007623076438904,
0.00036737535265274346,
0.044809408485889435,
-0.00012709629663731903,
-0.040490876883268356,
0.02102055959403515,
0.04311152547597885,
-0.016729706898331642,
-0.04152437299489975,
0.011737555265426636,
0.08393459767103195,
0.022312428802251816,
0.010445686057209969,
-0.028291938826441765,
0.03853461518883705,
0.014367432333528996,
0.02784901112318039,
0.0016736628022044897,
0.019285762682557106,
-0.023770395666360855,
0.055365826934576035,
-0.05451688542962074,
-0.03938356041908264,
0.044218841940164566,
0.04455103725194931,
-0.026815516874194145,
0.056288592517375946,
-0.057580459862947464,
-0.055550381541252136,
0.000858170329593122,
0.022183241322636604,
-0.011682190001010895,
-0.015068733133375645,
-0.04920176789164543,
0.02046690136194229,
0.04949704930186272,
0.003031279193237424,
0.0332564078271389,
-0.007492842152714729,
0.014893407933413982,
0.028476491570472717,
0.06105005368590355,
-0.030340474098920822,
0.025523647665977478,
-0.006177903618663549,
-0.06640208512544632,
0.0035180370323359966,
-0.010381093248724937,
-0.013066335581243038,
0.052376072853803635,
-0.009633653797209263,
-0.006800769362598658,
0.05248680338263512,
0.024527061730623245,
0.0008945041918195784,
0.004699174780398607,
-0.0054766032844781876,
0.03622770681977272,
-0.03373624384403229,
0.011525319889187813,
0.052523717284202576,
0.07957915216684341,
-0.04982924461364746,
0.019913243129849434,
-0.02855031192302704,
-0.04772534221410751,
0.020928282290697098,
0.0072113992646336555,
0.009633653797209263,
-0.054664526134729385,
-0.06584842503070831,
-0.025486735627055168,
0.033514782786369324,
-0.048648107796907425,
-0.04170892387628555,
0.056177861988544464,
0.029011694714426994,
-0.04377591609954834,
0.007797354366630316,
0.02338283509016037,
0.004743006080389023,
-0.017634015530347824,
-0.050309084355831146,
0.038017868995666504,
-0.03294266760349274,
-0.00020646839402616024,
0.024637794122099876,
-0.02111283503472805,
0.029768360778689384,
0.0390513651072979,
-0.03560022637248039,
0.04923867806792259,
0.07304598391056061,
0.030008278787136078,
0.02175877057015896,
-0.0029159337282180786,
-0.009781296364963055,
-0.010362637229263783,
0.005744204856455326,
-0.0349358394742012,
0.00449847336858511,
0.04617509990930557,
0.013619993813335896,
0.05422160029411316,
0.033607058227062225,
-0.07832419127225876,
0.01469040010124445
] |
18,454 | miarec_s3fs.s3fs | copy | null | def copy(self, src_path, dst_path, overwrite=False, preserve_time=False):
if not overwrite and self.exists(dst_path):
raise errors.DestinationExists(dst_path)
_src_path = self.validatepath(src_path)
_dst_path = self.validatepath(dst_path)
if self.strict:
if not self.isdir(dirname(_dst_path)):
raise errors.ResourceNotFound(dst_path)
_src_key = self._path_to_key(_src_path)
_dst_key = self._path_to_key(_dst_path)
try:
with s3errors(src_path):
self.client.copy_object(
Bucket=self._bucket_name,
Key=_dst_key,
CopySource={"Bucket": self._bucket_name, "Key": _src_key},
**self._get_upload_args(_src_key)
)
except errors.ResourceNotFound:
if self.exists(src_path):
raise errors.FileExpected(src_path)
raise
| (self, src_path, dst_path, overwrite=False, preserve_time=False) | [
-0.05254193767905235,
-0.018874822184443474,
-0.03837209194898605,
0.015735121443867683,
-0.006293132901191711,
-0.04368120804429054,
0.026545578613877296,
0.03110409528017044,
0.04719620943069458,
-0.0031900464091449976,
-0.027479251846671104,
-0.005368614569306374,
0.01938742585480213,
0.015240823850035667,
-0.018764978274703026,
0.01867344230413437,
0.01178989838808775,
-0.01662302389740944,
-0.016192803159356117,
0.004441807512193918,
0.03110409528017044,
-0.0263258907943964,
0.019845109432935715,
-0.0011104518780484796,
0.03533308207988739,
0.00974863488227129,
0.0019382849568501115,
0.022536281496286392,
-0.027753861621022224,
0.03436279296875,
0.017529236152768135,
0.025849901139736176,
-0.01896635815501213,
0.052175793796777725,
-0.05246870964765549,
0.004384597297757864,
-0.03427125886082649,
-0.010416851378977299,
-0.07776939123868942,
-0.06861574202775955,
-0.0248429998755455,
-0.00025472886045463383,
0.04119141772389412,
0.01118575781583786,
0.05799751356244087,
-0.004597419872879982,
-0.04097172990441322,
0.02973104827105999,
0.03207438439130783,
-0.0057210298255085945,
0.018435446545481682,
0.06206173449754715,
-0.004727859050035477,
-0.040166206657886505,
-0.02903537079691887,
0.022865813225507736,
0.019204353913664818,
0.0010229201288893819,
-0.11357846111059189,
0.004137448966503143,
-0.03081117942929268,
-0.024183938279747963,
0.0005455001955851912,
-0.0108379190787673,
-0.029969044029712677,
-0.03624844551086426,
-0.048843864351511,
-0.049283239990472794,
0.07311934232711792,
0.008137593045830727,
0.0041191414929926395,
0.03218422457575798,
0.015487972646951675,
0.04232646897435188,
0.0014519974356517196,
0.06121959909796715,
-0.027625709772109985,
-0.020687244832515717,
0.03655967116355896,
0.018591059371829033,
-0.09087741374969482,
-0.08406710624694824,
-0.0886073112487793,
-0.0543360561132431,
-0.010188010521233082,
0.014700758270919323,
-0.0018055570544674993,
-0.073595330119133,
0.027698939666152,
0.040715426206588745,
-0.015753427520394325,
0.01570766046643257,
-0.06455152481794357,
-0.05975501239299774,
0.05785105377435684,
0.0019417175790295005,
-0.023964250460267067,
-0.014499378390610218,
0.032788366079330444,
0.03844531998038292,
-0.022810891270637512,
-0.020376021042466164,
0.03126886114478111,
-0.016586409881711006,
0.04814818874001503,
0.016293494030833244,
-0.009602176956832409,
0.04554855078458786,
-0.004874317441135645,
-0.00832981988787651,
0.026508964598178864,
0.0005532235954888165,
-0.008247436955571175,
0.019716957584023476,
0.005016199313104153,
-0.05301792919635773,
0.019607113674283028,
-0.006467052269726992,
-0.004585977643728256,
0.009199416264891624,
0.034966934472322464,
0.007469376549124718,
0.03302636370062828,
0.004652341362088919,
0.007721101865172386,
-0.00027503850287757814,
0.007954520173370838,
0.017812998965382576,
-0.02716802805662155,
0.04104495793581009,
-0.04272922873497009,
-0.027497557923197746,
0.018728364259004593,
0.012458114884793758,
-0.022810891270637512,
-0.02740602195262909,
0.008100978098809719,
0.03873823955655098,
0.008856154046952724,
0.03505847230553627,
0.09680897742509842,
-0.047415897250175476,
0.05481204390525818,
0.002204885007813573,
0.05063797906041145,
-0.05440928414463997,
-0.007057462818920612,
0.010361929424107075,
0.026765266433358192,
0.057631365954875946,
-0.01966203562915325,
0.04269261285662651,
-0.01761161908507347,
0.02277427539229393,
-0.03613860160112381,
-0.02740602195262909,
-0.012897489592432976,
-0.049283239990472794,
-0.008814962580800056,
-0.026087896898388863,
-0.04265600070357323,
-0.017263779416680336,
0.037566572427749634,
-0.008082671090960503,
0.009382489137351513,
-0.0020504172425717115,
0.0019085356034338474,
0.02101677656173706,
0.034875400364398956,
0.0262160487473011,
-0.029401516541838646,
-0.00797740463167429,
-0.001723174238577485,
-0.06751731038093567,
0.029383210465312004,
-0.04580485448241234,
0.009309260174632072,
-0.01044431235641241,
-0.0008941969717852771,
-0.059938088059425354,
0.054079752415418625,
-0.05071121081709862,
-0.012989026494324207,
0.02784539759159088,
-0.036358289420604706,
0.03474724665284157,
-0.016137881204485893,
0.02414732426404953,
0.025209147483110428,
0.03264191001653671,
0.03189130872488022,
0.021199848502874374,
0.01023377850651741,
0.02469654195010662,
0.026911724358797073,
-0.06433183699846268,
0.02552037127315998,
-0.0592057965695858,
0.016870172694325447,
0.15685690939426422,
0.049685999751091,
-0.01706239953637123,
0.042619384825229645,
0.012714416719973087,
0.016888480633497238,
-0.0338318832218647,
-0.01922265999019146,
0.04097172990441322,
-0.06422199308872223,
-0.01029785443097353,
0.006384669337421656,
0.012119430117309093,
0.06389246135950089,
-0.062244806438684464,
0.03624844551086426,
0.015533740632236004,
-0.0021625494118779898,
-0.039067771285772324,
0.004347982816398144,
0.03683428093791008,
-0.0020675803534686565,
0.016018884256482124,
-0.0869230404496193,
0.042472925037145615,
0.038262248039245605,
-0.02467823587357998,
-0.020815394818782806,
0.01990003138780594,
-0.024037480354309082,
-0.015094365924596786,
-0.00791332870721817,
0.04159417748451233,
0.07762293517589569,
-0.02182229608297348,
0.044962719082832336,
-0.0263258907943964,
0.048221416771411896,
-0.005908679682761431,
-0.052578553557395935,
-0.05821720138192177,
-0.016284339129924774,
-0.0013421536423265934,
0.006018523592501879,
0.007689064368605614,
0.001167090144008398,
-0.06480782479047775,
-0.011908896267414093,
-0.04434027150273323,
0.03752995654940605,
-0.01330025028437376,
0.1019350215792656,
0.05089428275823593,
-0.07645126432180405,
0.017437700182199478,
0.037145502865314484,
0.018060147762298584,
0.035918913781642914,
-0.03778626024723053,
-0.012101122178137302,
0.02522745355963707,
-0.027332792058587074,
-0.050125375390052795,
-0.00517638772726059,
-0.011899742297828197,
-0.05770459771156311,
-0.011542750522494316,
-0.05587386712431908,
0.007130691781640053,
-0.0225179735571146,
-0.0024486009497195482,
0.062244806438684464,
0.027863703668117523,
-0.04814818874001503,
-0.002201452385634184,
0.03028026781976223,
-0.06901850551366806,
-0.0793072059750557,
0.024202244356274605,
0.02685680240392685,
0.0259048230946064,
0.06209834665060043,
0.01896635815501213,
-0.009217723272740841,
-0.04368120804429054,
-0.010004937648773193,
-0.0008999180281534791,
0.01297071948647499,
-0.056935690343379974,
-0.008078094571828842,
0.02235320769250393,
-0.016009731218218803,
0.025959745049476624,
-0.031159017235040665,
0.0133734792470932,
-0.01717224344611168,
0.020009875297546387,
-0.02606958895921707,
-0.04994230344891548,
-0.015378128737211227,
-0.018856514245271683,
0.030499955639243126,
0.033630501478910446,
-0.011496981605887413,
0.017346162348985672,
-0.01526828482747078,
-0.006206173449754715,
0.005066544283181429,
0.05854673311114311,
-0.08655689656734467,
0.10625554621219635,
-0.004563093651086092,
-0.07136183977127075,
-0.023707948625087738,
0.008046056143939495,
-0.005121466238051653,
0.0185544453561306,
0.015112672932446003,
0.0026042128447443247,
-0.04723282530903816,
-0.04305876046419144,
-0.03980006277561188,
-0.001699145883321762,
-0.06231803447008133,
0.02768063172698021,
0.046976521611213684,
-0.03474724665284157,
-0.006425860803574324,
0.023415030911564827,
-0.01896635815501213,
0.0060093700885772705,
0.0014405553229153156,
0.04155756160616875,
-0.016064651310443878,
0.053530532866716385,
0.0267469584941864,
-0.03859177976846695,
-0.04401073977351189,
-0.048477720469236374,
0.06876220554113388,
0.07264334708452225,
0.05990147218108177,
0.03602875769138336,
-0.02658219449222088,
-0.029145214706659317,
0.011231525801122189,
0.015735121443867683,
-0.07733001559972763,
-0.024861307814717293,
-0.04064219817519188,
-0.0024394472129642963,
-0.02044924907386303,
0.03289820998907089,
0.026161126792430878,
0.0006052849930711091,
-0.030591491609811783,
0.0017552119679749012,
0.05525141954421997,
-0.04668360576033592,
0.010984377935528755,
-0.06883542984724045,
0.05305454507470131,
-0.041813865303993225,
0.024897921830415726,
-0.019698649644851685,
-0.005199272185564041,
0.0414477176964283,
-0.03463740274310112,
0.033374201506376266,
-0.06883542984724045,
-0.041118185967206955,
-0.05840027332305908,
-0.027698939666152,
0.015497125685214996,
-0.04858756437897682,
-0.011341369710862637,
-0.004846856463700533,
0.052578553557395935,
0.011304755695164204,
0.005139773245900869,
-0.0034234642516821623,
0.04690329357981682,
-0.02140122838318348,
-0.02672865241765976,
-0.02617943286895752,
0.02903537079691887,
-0.011030145920813084,
0.03196454048156738,
-0.008695965632796288,
0.04174063354730606,
-0.0651373565196991,
0.029273366555571556,
-0.005611186381429434,
0.02757078781723976,
-0.050674594938755035,
-0.042216625064611435,
-0.015213362872600555,
0.05396990850567818,
0.0395437590777874,
0.0047187055461108685,
0.018984666094183922,
-0.01854529045522213,
-0.019314197823405266,
-0.008920229971408844,
0.010746383108198643,
-0.025135917589068413,
-0.0329897478222847,
0.06370939314365387,
0.04196032136678696,
0.06283064186573029,
0.05821720138192177,
0.027882011607289314,
-0.019002974033355713,
-0.06294048577547073,
0.010197163559496403,
-0.07121538370847702,
-0.00865935068577528,
0.008531199768185616,
-0.037859488278627396,
-0.009341297671198845,
-0.02453177608549595,
-0.040861885994672775,
-0.012531343847513199,
-0.00166253128554672,
-0.03855516389012337,
0.01962542161345482,
-0.08450648188591003,
-0.003302178578451276,
0.0011853973846882582,
0.009199416264891624,
-0.02099846862256527,
0.032513756304979324,
0.014151539653539658,
0.011277294717729092,
0.042619384825229645,
0.0583636611700058,
0.048477720469236374,
0.050674594938755035,
0.0024005442392081022,
0.06923819333314896,
0.06275741010904312,
0.0018192875431850553,
-0.03654136136174202,
0.02552037127315998,
-0.01648572087287903,
-0.094319187104702,
-0.01880159229040146,
-0.07066616415977478,
-0.0022872677072882652,
0.09475856274366379,
0.03558938205242157,
-0.028010163456201553,
-0.02195044793188572,
-0.005126042757183313,
0.007725678849965334,
-0.04232646897435188,
-0.004423500504344702,
-0.024312088266015053,
-0.04130125790834427,
0.019680343568325043,
-0.048734020441770554,
0.0058857956901192665,
0.010398544371128082,
0.12705263495445251,
-0.0273877140134573,
-0.021382922306656837,
0.07187444716691971,
-0.03818902000784874,
0.02566682919859886,
0.01200043223798275,
-0.056130170822143555,
-0.021913833916187286,
-0.021511072292923927,
-0.02795524150133133,
0.007011694367974997,
0.06586965173482895,
-0.020833702757954597,
0.020101411268115044,
0.022298285737633705,
-0.057887669652700424,
0.07319256663322449,
0.039360687136650085,
-0.047782041132450104,
-0.027497557923197746,
-0.011487828567624092,
0.0040916805155575275,
0.01351078413426876,
-0.0075837974436581135,
0.06663855910301208,
0.060487307608127594,
-0.0047736275009810925,
0.013858622871339321,
-0.01802353374660015,
-0.02958459034562111,
-0.017080707475543022,
-0.019204353913664818,
0.007730255834758282,
-0.06096329540014267,
-0.027058184146881104,
-0.002144241938367486,
0.0031900464091449976,
-0.014957061037421227,
0.032001152634620667,
0.018737517297267914,
0.007940789684653282,
-0.04280245676636696,
0.06715115904808044,
-0.02429378218948841,
-0.030097194015979767,
0.013611475005745888,
0.0018810746259987354,
-0.05506834760308266,
0.06096329540014267,
-0.018874822184443474,
0.03972683101892471,
0.037566572427749634,
-0.026289276778697968,
-0.034436024725437164,
-0.006233634427189827,
-0.02945643849670887,
-0.045914698392152786,
0.01922265999019146,
0.04628084599971771,
0.05444590002298355,
-0.04829464852809906,
-0.020284483209252357,
0.039067771285772324,
0.023396724835038185,
0.015121826902031898,
0.010178856551647186,
0.007231381721794605,
-0.0060093700885772705,
0.0024943691678345203,
-0.015716813504695892,
0.05389668047428131,
0.007730255834758282,
0.04360798001289368,
-0.01392269879579544,
-0.016156189143657684,
-0.017620772123336792,
0.007721101865172386,
0.006792007014155388,
-0.0034760977141559124,
0.037291962653398514,
0.010215471498668194,
-0.01091114804148674,
-0.0031946231611073017,
-0.026637116447091103,
0.0014336900785565376,
-0.006059715058654547,
-0.07048308849334717,
0.02017463929951191,
-0.006361785344779491,
-0.0011945510050281882,
-0.0074739535339176655,
0.04540209472179413,
0.0360470674932003,
-0.016604717820882797,
-0.00879665557295084,
0.015497125685214996,
0.03147024288773537,
0.050821054726839066,
-0.07333903014659882,
-0.011268140748143196,
0.032239146530628204,
-0.0021110600791871548,
-0.02603297494351864,
-0.040861885994672775,
0.034966934472322464,
0.03837209194898605,
-0.014398688450455666,
0.02797354757785797,
0.03939729928970337,
-0.056679386645555496,
0.005167234223335981,
0.038811467587947845,
0.017776384949684143,
-0.03419802710413933,
-0.01677863672375679,
-0.008444240316748619,
0.006943041924387217,
-0.00777602382004261,
-0.011377984657883644,
0.0685058981180191,
-0.028339693322777748,
-0.03504016622900963,
0.017218012362718582,
-0.005780528765171766,
0.012641187757253647,
-0.0235797967761755,
-0.04390089586377144,
0.011002684943377972,
0.0316166989505291,
0.022847505286335945,
0.01132306270301342,
-0.02182229608297348,
-0.015533740632236004,
0.02180399000644684,
-0.07571897655725479,
0.026692038401961327,
-0.05591048300266266,
-0.027717245742678642,
0.00851746927946806,
-0.022444745525717735,
0.03778626024723053,
0.002108771586790681,
0.04423042759299278,
-0.04554855078458786,
0.004764473997056484,
0.048331260681152344,
-0.021035082638263702,
0.02101677656173706,
0.01966203562915325,
-0.010462619364261627,
-0.027204642072319984,
0.047013137489557266,
0.0543360561132431,
-0.02140122838318348,
0.05115058645606041,
-0.016714561730623245,
0.040861885994672775,
0.010664000175893307,
0.01609211228787899,
0.004306791350245476,
0.0333009697496891,
-0.06517397612333298,
0.005226733162999153,
-0.03736519068479538,
-0.025996360927820206,
-0.035662613809108734,
-0.02511760964989662,
0.01609211228787899,
-0.07798907905817032,
-0.016201956197619438,
0.03685258701443672,
0.02879737690091133,
0.017291240394115448,
0.028156621381640434,
0.006238210946321487,
-0.029145214706659317,
0.050418294966220856,
-0.00031408455106429756,
-0.038115791976451874,
-0.033337585628032684,
0.045328862965106964,
-0.08904668688774109,
-0.0291818305850029,
0.015588662587106228,
0.0003455502155702561,
-0.011478674598038197,
-0.002723210258409381,
0.011295601725578308,
-0.020632322877645493,
-0.014554300345480442,
-0.007400724571198225,
0.06121959909796715,
-0.020247869193553925,
0.04899032413959503,
-0.04324183240532875,
0.011780745349824429,
0.006627241149544716,
0.024733155965805054,
0.02152938023209572,
-0.02564852125942707,
0.008014018647372723,
0.052578553557395935,
-0.012705263681709766,
0.010462619364261627,
-0.03344742953777313,
-0.00941910408437252,
0.01030700746923685,
-0.05396990850567818,
-0.035809069871902466,
-0.030866101384162903,
0.05261516943573952,
-0.0259048230946064,
-0.01009647361934185,
0.031433627009391785,
-0.05404313653707504,
-0.0012471845839172602,
-0.03410649299621582,
0.030847793444991112,
-0.023250265046954155,
0.04734266921877861,
-0.03357557952404022,
-0.012247581034898758,
0.033081285655498505,
0.032532066106796265,
-0.012979872524738312,
-0.03699904680252075,
-0.031982846558094025,
0.03602875769138336,
-0.016403337940573692,
0.001104158814996481,
-0.0075151450000703335,
0.017437700182199478,
0.013629782013595104,
0.04935647174715996,
0.05400652438402176,
-0.00988593976944685,
-0.006018523592501879,
-0.032257456332445145,
0.04408396780490875,
0.04382766783237457,
-0.008146747015416622,
-0.023945942521095276,
-0.006535704713314772,
-0.0324588343501091,
-0.025849901139736176,
0.07462053745985031,
-0.05126043036580086,
0.02114492654800415,
-0.06425860524177551,
0.051480114459991455,
0.04360798001289368,
0.0019085356034338474,
-0.006366362329572439,
0.03438110277056694,
-0.0013158369110897183,
-0.026399120688438416,
0.008641043677926064,
-0.009167378768324852,
-0.09666252136230469,
-0.0201929472386837,
-0.034436024725437164,
-0.015048597007989883,
-0.04272922873497009,
-0.04338829219341278,
-0.007290880661457777,
0.010224624536931515,
0.02237151563167572,
0.027515865862369537,
0.07224059104919434,
0.0695677250623703,
0.005478458479046822,
0.011780745349824429,
-0.015497125685214996,
0.023012271150946617,
0.01192720327526331,
0.03324604779481888,
0.016320955008268356,
0.011359676718711853,
0.022206749767065048,
0.011716669425368309,
-0.01241234689950943,
0.003363965544849634,
-0.0201929472386837,
-0.04130125790834427,
0.019552191719412804,
-0.017950303852558136,
0.04756235331296921,
0.03917761519551277,
-0.033484045416116714,
0.05415298044681549,
0.00032495451159775257,
0.014572607353329659,
-0.06052391976118088,
-0.033776961266994476,
0.0017380488570779562,
0.04338829219341278,
0.017428545281291008,
-0.006311440374702215,
-0.049685999751091,
0.02304888516664505,
0.058729805052280426,
0.07033663243055344,
0.05356714874505997,
0.007881291210651398,
0.0014451321912929416
] |
18,455 | fs.base | copydir | Copy the contents of ``src_path`` to ``dst_path``.
Arguments:
src_path (str): Path of source directory.
dst_path (str): Path to destination directory.
create (bool): If `True`, then ``dst_path`` will be created
if it doesn't exist already (defaults to `False`).
preserve_time (bool): If `True`, try to preserve mtime of the
resource (defaults to `False`).
Raises:
fs.errors.ResourceNotFound: If the ``dst_path``
does not exist, and ``create`` is not `True`.
fs.errors.DirectoryExpected: If ``src_path`` is not a
directory.
| def copydir(
self,
src_path, # type: Text
dst_path, # type: Text
create=False, # type: bool
preserve_time=False, # type: bool
):
# type: (...) -> None
"""Copy the contents of ``src_path`` to ``dst_path``.
Arguments:
src_path (str): Path of source directory.
dst_path (str): Path to destination directory.
create (bool): If `True`, then ``dst_path`` will be created
if it doesn't exist already (defaults to `False`).
preserve_time (bool): If `True`, try to preserve mtime of the
resource (defaults to `False`).
Raises:
fs.errors.ResourceNotFound: If the ``dst_path``
does not exist, and ``create`` is not `True`.
fs.errors.DirectoryExpected: If ``src_path`` is not a
directory.
"""
with self._lock:
if not create and not self.exists(dst_path):
raise errors.ResourceNotFound(dst_path)
if not self.getinfo(src_path).is_dir:
raise errors.DirectoryExpected(src_path)
copy.copy_dir(self, src_path, self, dst_path, preserve_time=preserve_time)
| (self, src_path, dst_path, create=False, preserve_time=False) | [
-0.034038472920656204,
0.018483156338334084,
0.00415091821923852,
-0.07449930161237717,
0.021552663296461105,
-0.01476196851581335,
0.028503917157649994,
-0.006209849379956722,
0.037816330790519714,
-0.023196030408143997,
-0.019229281693696976,
0.003683408722281456,
0.037476323544979095,
0.04574982449412346,
-0.029958389699459076,
-0.0012962764594703913,
0.02678499184548855,
-0.023309364914894104,
-0.03024172969162464,
-0.014034731313586235,
0.026142757385969162,
-0.005638448521494865,
0.054778896272182465,
0.04771430790424347,
-0.0036763250827789307,
-0.016036994755268097,
0.008948794566094875,
-0.0295239370316267,
-0.03700409084558487,
0.029788386076688766,
0.02825835533440113,
0.05636559799313545,
0.01932372897863388,
0.008509618230164051,
-0.08432172238826752,
0.0025122736115008593,
-0.04363422468304634,
-0.05111438035964966,
-0.08447283506393433,
-0.0930863469839096,
0.004712874069809914,
-0.030827296897768974,
0.05976566672325134,
0.04340755566954613,
0.07888161391019821,
-0.046392060816287994,
-0.004972601775079966,
-0.057650066912174225,
0.016320332884788513,
-0.017812587320804596,
0.020664867013692856,
0.07068366557359695,
-0.020627088844776154,
-0.019210392609238625,
0.02019263431429863,
0.05663004890084267,
-0.01949373260140419,
0.034756265580654144,
-0.04457869008183479,
-0.000616852892562747,
-0.0037447987124323845,
-0.02735166996717453,
-0.003768410300835967,
0.015649763867259026,
-0.022931579500436783,
-0.02559496834874153,
-0.07608599960803986,
-0.04673206806182861,
0.03483182191848755,
0.012485810555517673,
-0.034982938319444656,
0.04382311925292015,
0.02308269403874874,
0.040649719536304474,
0.029032815247774124,
0.06698136776685715,
-0.03634296730160713,
-0.021911559626460075,
0.04238753393292427,
-0.006030401214957237,
-0.06679248064756393,
-0.08492618054151535,
-0.06146570295095444,
-0.061087917536497116,
-0.008792957291007042,
-0.012920264154672623,
-0.0031167303677648306,
-0.06120125204324722,
0.019569288939237595,
0.030449511483311653,
-0.00589345395565033,
0.0011245021596550941,
-0.05311664193868637,
-0.011494124308228493,
0.03974303603172302,
0.011314676143229008,
0.01985262893140316,
0.015951992943882942,
0.004835654515773058,
0.10049094259738922,
-0.011399677954614162,
-0.0013104435056447983,
-0.001873580040410161,
-0.027427228167653084,
0.019276505336165428,
-0.0060965134762227535,
-0.02291269041597843,
0.013779725879430771,
-0.017765363678336143,
-0.008438783697783947,
0.008906293660402298,
0.013250826857984066,
0.02965616248548031,
-0.006516799796372652,
-0.013222492299973965,
-0.02017374522984028,
-0.0020955288782715797,
-0.05493001267313957,
-0.0303928442299366,
0.005449555814266205,
0.05387221276760101,
0.033490683883428574,
0.04503203183412552,
-0.016055883839726448,
0.04457869008183479,
0.01648089289665222,
-0.01037965714931488,
-0.03791077435016632,
-0.05663004890084267,
0.04386089742183685,
-0.04673206806182861,
-0.019984852522611618,
0.03356624022126198,
0.033490683883428574,
0.034038472920656204,
-0.03095952235162258,
0.027578342705965042,
0.046392060816287994,
0.030657293274998665,
0.06769916415214539,
0.0768037959933281,
-0.03813744708895683,
0.048545438796281815,
0.011380787938833237,
0.03294289484620094,
-0.04480535909533501,
-0.0010395004646852612,
0.03660741448402405,
0.03632407635450363,
0.07703046500682831,
-0.004311476834118366,
-0.005992622580379248,
0.03528516739606857,
0.04805431514978409,
-0.012230806052684784,
-0.03651296719908714,
-0.009265189059078693,
-0.055421132594347,
0.0005224065389484167,
-0.02769167721271515,
-0.04756319522857666,
-0.03741965442895889,
0.046920958906412125,
-0.02109931968152523,
0.01099355798214674,
0.03551183640956879,
-0.02053264155983925,
0.019002610817551613,
-0.01018131896853447,
-0.0035322944168001413,
-0.020154856145381927,
-0.032640665769577026,
-0.003423681017011404,
-0.051945507526397705,
-0.03643741086125374,
-0.04484314098954201,
0.04559871181845665,
-0.00009887354826787487,
-0.02147710509598255,
-0.05455222725868225,
0.10283321142196655,
-0.0357385091483593,
-0.029788386076688766,
0.03182842954993248,
-0.008282947354018688,
0.012410254217684269,
-0.02378159761428833,
0.04416312649846077,
0.05145438387989998,
0.031356196850538254,
-0.025254961103200912,
0.008561563678085804,
-0.018709827214479446,
-0.00723931472748518,
-0.022950468584895134,
-0.04386089742183685,
-0.010134096257388592,
-0.1000376045703888,
0.01546087209135294,
0.09988648444414139,
0.059992339462041855,
-0.013751392252743244,
0.06505466252565384,
0.0016315612010657787,
0.04457869008183479,
-0.0428786538541317,
-0.04616538807749748,
0.06637690961360931,
-0.024083826690912247,
-0.03955414146184921,
0.008160166442394257,
0.011871909722685814,
0.08001496642827988,
-0.029278377071022987,
0.019248170778155327,
-0.052474405616521835,
0.009628808125853539,
-0.014091399498283863,
0.002071917289867997,
0.022591572254896164,
-0.033358458429574966,
0.028296133503317833,
-0.08137499541044235,
-0.009255744516849518,
-0.002781445859000087,
-0.07385706901550293,
-0.012183582410216331,
0.022572683170437813,
0.012514145113527775,
-0.052663300186395645,
0.0169531237334013,
0.011985245160758495,
0.06003011763095856,
-0.027616120874881744,
0.00930768996477127,
-0.05602559074759483,
0.04518314450979233,
-0.008358504623174667,
-0.08265946805477142,
-0.042274199426174164,
-0.039214134216308594,
-0.006625413428992033,
0.026199424639344215,
0.043180882930755615,
0.023724930360913277,
-0.07593488693237305,
-0.015781989321112633,
-0.03842078521847725,
0.03588962182402611,
-0.02593497559428215,
-0.005312608554959297,
0.014941416680812836,
-0.07121256738901138,
0.0031686758156865835,
0.00678597204387188,
0.0107291080057621,
0.0006817847606725991,
0.006398742087185383,
-0.028673918917775154,
0.039251912385225296,
-0.024386053904891014,
-0.06501688808202744,
-0.06003011763095856,
-0.023384923115372658,
-0.006625413428992033,
-0.005581780802458525,
-0.051605500280857086,
-0.01911594718694687,
0.007645434234291315,
0.000021914511307841167,
0.10396657139062881,
0.03201732039451599,
-0.008958239108324051,
-0.007159035187214613,
0.04095194861292839,
-0.036550749093294144,
-0.05685671791434288,
-0.00831600371748209,
0.04816765338182449,
0.022289345040917397,
0.04450313374400139,
-0.0026138033717870712,
-0.03449181467294693,
-0.061805710196495056,
-0.011314676143229008,
0.021760445088148117,
0.006847362034022808,
-0.0005374589236453176,
-0.04042305052280426,
0.029769496992230415,
0.017236463725566864,
0.024008268490433693,
-0.02665276639163494,
-0.0013352356618270278,
0.012032467871904373,
-0.010304099880158901,
-0.030713962391018867,
-0.03664519265294075,
-0.05349442735314369,
-0.015640320256352425,
0.007952384650707245,
0.040649719536304474,
-0.014809192158281803,
0.03828855976462364,
-0.018162038177251816,
-0.030676182359457016,
-0.018643714487552643,
0.05349442735314369,
-0.06044568121433258,
0.05406110733747482,
0.016358112916350365,
-0.07472597062587738,
0.036418523639440536,
0.02058931067585945,
0.004755374975502491,
-0.01225913967937231,
-0.006035123486071825,
0.004304393660277128,
-0.06724581867456436,
-0.02521718293428421,
-0.09414415061473846,
0.019002610817551613,
-0.035700730979442596,
0.0697769820690155,
0.01964484713971615,
0.008160166442394257,
0.050132136791944504,
0.05697005242109299,
0.021552663296461105,
0.01154134701937437,
-0.008948794566094875,
0.06335462629795074,
0.0023304643109440804,
0.008925182744860649,
0.013534165918827057,
-0.006450687535107136,
-0.016499781981110573,
-0.062296830117702484,
0.03679630905389786,
0.03180953860282898,
0.09180187433958054,
0.011418567039072514,
-0.01733090914785862,
-0.05077437311410904,
0.03551183640956879,
-0.010908556170761585,
-0.04518314450979233,
-0.013534165918827057,
0.011418567039072514,
0.03143175318837166,
0.028333913534879684,
0.048696551471948624,
0.004901766777038574,
-0.007470708340406418,
-0.009600474499166012,
0.022459348663687706,
0.03902524337172508,
-0.022761575877666473,
0.0006522702751681209,
-0.05530779808759689,
0.03677741810679436,
0.03562517464160919,
0.033358458429574966,
-0.031545091420412064,
-0.06531911343336105,
0.021854890510439873,
-0.03634296730160713,
0.006181515287607908,
-0.03241399675607681,
0.005487334448844194,
0.0022124063689261675,
-0.017463134601712227,
0.039591919630765915,
-0.041745297610759735,
-0.00016129670257214457,
-0.04250086843967438,
0.055421132594347,
-0.03194176405668259,
0.001512322574853897,
0.02291269041597843,
0.0518321692943573,
-0.019163168966770172,
0.0068945856764912605,
-0.001971568213775754,
0.027767235413193703,
-0.028201688081026077,
0.0948997214436531,
0.0005097152898088098,
-0.026539431884884834,
-0.06596134603023529,
-0.009241578169167042,
0.024008268490433693,
0.007966551929712296,
-0.016905901953577995,
-0.023498257622122765,
-0.051907729357481,
0.06539466977119446,
0.06059679388999939,
0.016405334696173668,
0.01261803600937128,
0.0036409078165888786,
0.008821291849017143,
0.009321857243776321,
0.003957303240895271,
-0.06361907720565796,
-0.0026067199651151896,
0.08522841334342957,
0.009954648092389107,
0.0536455400288105,
0.05406110733747482,
0.03434070199728012,
0.0002250480029033497,
-0.02395160123705864,
0.02703055366873741,
-0.029202818870544434,
-0.026199424639344215,
-0.02412160485982895,
-0.023536037653684616,
0.024574946612119675,
-0.02627498097717762,
-0.04506981000304222,
-0.04132973402738571,
0.01404417585581541,
-0.03241399675607681,
0.044049788266420364,
-0.04363422468304634,
0.004006887320429087,
0.02219489775598049,
-0.008589898236095905,
-0.019229281693696976,
0.017765363678336143,
0.02487717568874359,
-0.014875303953886032,
0.04046082869172096,
0.03898746520280838,
0.03479404374957085,
0.029750607907772064,
-0.011021892540156841,
0.0012632203288376331,
0.0357573963701725,
-0.0411786213517189,
-0.03966747969388962,
0.050169914960861206,
-0.014998084865510464,
-0.09981092810630798,
-0.04321866109967232,
-0.03910079970955849,
-0.04329421743750572,
0.05198328569531441,
0.021174877882003784,
-0.028466137126088142,
0.02179822325706482,
0.03133730590343475,
0.019437063485383987,
-0.0893084928393364,
-0.008282947354018688,
-0.009454082697629929,
-0.04737430065870285,
-0.01294859778136015,
-0.03859078884124756,
0.0464676171541214,
-0.013222492299973965,
0.1125800833106041,
-0.02255379408597946,
0.01839815452694893,
0.03056284785270691,
-0.012004134245216846,
0.0072770933620631695,
0.0007939398637972772,
-0.02143932692706585,
-0.0196637362241745,
-0.008528507314622402,
-0.004583010450005531,
0.04182085394859314,
0.06690581142902374,
-0.05644115433096886,
-0.03294289484620094,
-0.034926269203424454,
-0.06596134603023529,
0.0661502406001091,
0.05164327844977379,
0.010984113439917564,
0.012004134245216846,
-0.01646200381219387,
-0.022969359531998634,
-0.0069181970320641994,
0.035474058240652084,
0.05666782706975937,
0.037835218012332916,
0.006016233935952187,
0.03592739999294281,
-0.004264253657311201,
-0.01161690428853035,
-0.03664519265294075,
-0.05243662744760513,
-0.01771814003586769,
-0.0876462385058403,
-0.018728716298937798,
-0.017397021874785423,
0.006087068933993578,
-0.017425356432795525,
-0.008788235485553741,
0.0016138524515554309,
0.0028192242607474327,
-0.0429164320230484,
0.09331301599740982,
-0.017623694613575935,
-0.010719663463532925,
0.024990510195493698,
0.0268038809299469,
-0.026407206431031227,
0.048205431550741196,
-0.06558356434106827,
0.012438587844371796,
0.06679248064756393,
-0.004344533197581768,
-0.0277105662971735,
0.0066584693267941475,
-0.02823946624994278,
-0.04046082869172096,
-0.017397021874785423,
0.03679630905389786,
0.03528516739606857,
-0.009071574546396732,
-0.07204369455575943,
0.07257259637117386,
0.0241404939442873,
0.02466939389705658,
0.019049834460020065,
0.02844724804162979,
0.00230213045142591,
-0.026426095515489578,
0.0074282074347138405,
0.0483187660574913,
0.025103846564888954,
0.027993906289339066,
-0.03128064051270485,
0.0032678446732461452,
-0.0734037235379219,
-0.003782577347010374,
0.015234200283885002,
-0.023517146706581116,
0.021023763343691826,
-0.013288605026900768,
0.017283687368035316,
0.0026256092824041843,
-0.013562499545514584,
0.001942053553648293,
0.016197552904486656,
-0.03791077435016632,
-0.008561563678085804,
-0.048696551471948624,
-0.006800138857215643,
0.037608545273542404,
0.016140885651111603,
0.059463437646627426,
-0.0008352601435035467,
-0.008802401833236217,
0.021703777834773064,
0.04975435137748718,
-0.015602541156113148,
-0.07665267586708069,
-0.01054021529853344,
0.02682277001440525,
0.02788056991994381,
0.012400808744132519,
0.022270455956459045,
0.008306559175252914,
0.02752167358994484,
-0.04272754117846489,
0.03551183640956879,
0.0025736638344824314,
-0.06550800800323486,
0.005274829920381308,
0.03913857787847519,
0.01753869280219078,
-0.008542674593627453,
-0.010653551667928696,
0.028503917157649994,
0.013250826857984066,
-0.036021847277879715,
-0.008906293660402298,
0.06841695308685303,
-0.014204734936356544,
-0.049603234976530075,
-0.004930100869387388,
0.008141277357935905,
0.008552119135856628,
-0.030619515106081963,
-0.01862482540309429,
0.005114271305501461,
0.0321873240172863,
0.03768410533666611,
0.0009025532053783536,
-0.01987151801586151,
-0.04794098064303398,
-0.040687497705221176,
-0.06320351362228394,
0.04699651524424553,
-0.0014414878096431494,
-0.011862465180456638,
0.012174137867987156,
-0.017982589080929756,
0.034982938319444656,
-0.000057258115703007206,
0.018842052668333054,
-0.0020305970683693886,
-0.016405334696173668,
-0.03840189799666405,
-0.00581789668649435,
0.022667130455374718,
0.005463722627609968,
0.01376083679497242,
0.00020999561820644885,
0.0428786538541317,
0.011078559793531895,
0.015149198472499847,
-0.012344141490757465,
-0.037646327167749405,
0.019890407100319862,
-0.0016976735787466168,
0.015054752118885517,
-0.00008869104931363836,
0.0011357177281752229,
-0.05043436586856842,
-0.014015842229127884,
-0.026936106383800507,
0.029372822493314743,
-0.05957677215337753,
-0.011059670709073544,
0.0015878797275945544,
-0.04038526862859726,
-0.022100452333688736,
0.02610497921705246,
-0.00911879725754261,
-0.018908165395259857,
0.013996953144669533,
-0.01951262168586254,
0.03326401486992836,
-0.0006139014731161296,
-0.0055912253446877,
-0.004344533197581768,
-0.029448380693793297,
0.02538718655705452,
-0.10638439655303955,
-0.005728172603994608,
0.008575730957090855,
-0.03447292745113373,
-0.024367164820432663,
-0.019361507147550583,
0.002982144244015217,
-0.026879439130425453,
-0.03413292020559311,
0.0037447987124323845,
0.0661880224943161,
0.023460479453206062,
0.036550749093294144,
-0.03075174055993557,
0.007702101953327656,
0.029202818870544434,
0.012023023329675198,
0.03248955309391022,
-0.00035004186793230474,
-0.02667165733873844,
0.03677741810679436,
0.022421570494771004,
-0.012117469683289528,
0.02344159036874771,
0.007872105576097965,
-0.04741208255290985,
-0.01914427988231182,
0.014006397686898708,
-0.05651671066880226,
0.015649763867259026,
0.0016185747226700187,
-0.03143175318837166,
-0.006224016193300486,
-0.07948607206344604,
0.007059866562485695,
-0.06101235747337341,
0.015819767490029335,
-0.01340194046497345,
0.02451827935874462,
-0.0500943586230278,
-0.016669785603880882,
0.03551183640956879,
-0.0020329582039266825,
-0.021854890510439873,
-0.009543806314468384,
-0.0483187660574913,
0.00010758032294688746,
0.033490683883428574,
0.023479368537664413,
-0.02933504432439804,
-0.003945497330278158,
0.0084860073402524,
0.06762360781431198,
0.03160175681114197,
0.02285602316260338,
-0.01862482540309429,
-0.01945595256984234,
0.005194550845772028,
0.0482809878885746,
-0.023498257622122765,
0.01588588021695614,
-0.009255744516849518,
-0.0022289345506578684,
-0.0022915052250027657,
0.0946730449795723,
-0.019739292562007904,
0.04918767139315605,
-0.025708302855491638,
0.03177176043391228,
0.03384958207607269,
0.023724930360913277,
-0.027975017204880714,
0.027786124497652054,
-0.0084860073402524,
-0.0051756612956523895,
-0.02000374160706997,
0.010266320779919624,
-0.0982997864484787,
-0.025802750140428543,
-0.036191850900650024,
-0.018549269065260887,
-0.014535297639667988,
-0.04480535909533501,
-0.036021847277879715,
0.05081215128302574,
-0.0022124063689261675,
0.010067983530461788,
0.06641469150781631,
0.06191904470324516,
0.02553829923272133,
0.011919132433831692,
0.041216399520635605,
0.01476196851581335,
0.06010567396879196,
0.012750260531902313,
0.039251912385225296,
0.03551183640956879,
0.06135236471891403,
0.05432555451989174,
-0.03787299618124962,
-0.005411777179688215,
0.006030401214957237,
-0.0034732655622065067,
0.012400808744132519,
-0.009331301786005497,
0.014714745804667473,
0.052096620202064514,
-0.03634296730160713,
0.04166974127292633,
0.013656945899128914,
-0.0033103455789387226,
-0.05564780533313751,
0.0020471252501010895,
-0.01735924370586872,
0.029618384316563606,
-0.006030401214957237,
0.013732503168284893,
-0.03598406910896301,
0.014195290394127369,
0.02697388455271721,
0.04556092992424965,
0.06826584041118622,
-0.04204752668738365,
0.02737055905163288
] |
18,456 | fs.base | create | Create an empty file.
The default behavior is to create a new file if one doesn't
already exist. If ``wipe`` is `True`, any existing file will
be truncated.
Arguments:
path (str): Path to a new file in the filesystem.
wipe (bool): If `True`, truncate any existing
file to 0 bytes (defaults to `False`).
Returns:
bool: `True` if a new file had to be created.
| def create(self, path, wipe=False):
# type: (Text, bool) -> bool
"""Create an empty file.
The default behavior is to create a new file if one doesn't
already exist. If ``wipe`` is `True`, any existing file will
be truncated.
Arguments:
path (str): Path to a new file in the filesystem.
wipe (bool): If `True`, truncate any existing
file to 0 bytes (defaults to `False`).
Returns:
bool: `True` if a new file had to be created.
"""
with self._lock:
if not wipe and self.exists(path):
return False
with closing(self.open(path, "wb")):
pass
return True
| (self, path, wipe=False) | [
0.018161864951252937,
0.019827596843242645,
0.009143620729446411,
-0.0378640852868557,
0.038293950259685516,
-0.043094128370285034,
-0.017669308930635452,
0.016621509566903114,
-0.026974130421876907,
0.006591287907212973,
0.05140488222241402,
0.04252097010612488,
0.033995285630226135,
0.025147195905447006,
-0.0444195494055748,
-0.02901599556207657,
0.016612553969025612,
-0.02905181795358658,
-0.03721928223967552,
0.006765921134501696,
0.025774085894227028,
0.02023955248296261,
-0.014373664744198322,
-0.005144965834915638,
0.04413297027349472,
0.006058432627469301,
-0.03404901921749115,
0.06193661317229271,
0.030753374099731445,
-0.03686106204986572,
0.01336168684065342,
0.03369079530239105,
-0.001031567924655974,
-0.005556921474635601,
-0.03637745976448059,
0.03961937129497528,
-0.010791443288326263,
0.0032934050541371107,
-0.017212575301527977,
-0.04613901674747467,
0.01638866402208805,
-0.000004587097919284133,
-0.014472175389528275,
0.010782487690448761,
-0.02174408547580242,
-0.025774085894227028,
-0.010298887267708778,
0.036681950092315674,
-0.04904061555862427,
0.02006044238805771,
0.022603819146752357,
0.06419341266155243,
-0.005946488119661808,
0.005230043549090624,
-0.05924994871020317,
-0.07024736702442169,
0.045028526335954666,
0.028962261974811554,
-0.01871710829436779,
-0.0047464435920119286,
0.025218840688467026,
0.0557035468518734,
0.0739370584487915,
-0.0004670881316997111,
-0.024699417874217033,
0.011758643202483654,
-0.07486843317747116,
-0.038580529391765594,
0.058426037430763245,
0.020508218556642532,
0.009797376580536366,
-0.004737487994134426,
-0.0062599326483905315,
0.018985774368047714,
0.02894435077905655,
0.053912438452243805,
-0.015125931240618229,
0.0077778990380465984,
-0.004023282788693905,
-0.045565858483314514,
-0.02192319743335247,
-0.05222879350185394,
-0.0044374773278832436,
0.01006604265421629,
0.0009257804485969245,
0.004813610576093197,
0.03146981820464134,
0.016558820381760597,
0.0004771631211042404,
0.014597553759813309,
0.05011528357863426,
0.007276387885212898,
-0.018108131363987923,
-0.08117314428091049,
0.06139928102493286,
-0.04216274991631508,
0.02242470718920231,
0.0001432888675481081,
-0.024377018213272095,
0.0036784939002245665,
-0.0702831894159317,
0.05129741504788399,
0.00944811012595892,
-0.05996639281511307,
-0.017105108126997948,
-0.005149443633854389,
0.020526129752397537,
-0.011301909573376179,
-0.007589832413941622,
-0.04420461505651474,
-0.04459866136312485,
-0.02541586384177208,
0.017212575301527977,
-0.00608082115650177,
0.011910887435078621,
-0.027439817786216736,
0.01473188679665327,
-0.010182465426623821,
-0.02417999692261219,
-0.02724279649555683,
0.03229372948408127,
-0.05770959332585335,
0.010263064876198769,
-0.053697504103183746,
0.05118994787335396,
0.036431193351745605,
0.029195107519626617,
0.010182465426623821,
0.045171815901994705,
0.03940444067120552,
-0.04674799367785454,
0.07508336752653122,
0.030126484110951424,
0.017570797353982925,
-0.03281315043568611,
-0.04166124016046524,
0.03292061761021614,
-0.0027292051818221807,
0.009886931627988815,
0.04796594753861427,
0.01762453094124794,
-0.11219518631696701,
-0.005731554701924324,
0.008677932433784008,
0.020955996587872505,
0.04413297027349472,
-0.033225107938051224,
-0.034460972994565964,
0.028281640261411667,
0.07253999263048172,
-0.005942010320723057,
0.001144631765782833,
-0.006577854510396719,
0.020311197265982628,
0.06132763624191284,
-0.036467015743255615,
-0.00930482055991888,
0.01769617572426796,
-0.009770509786903858,
0.0025881552137434483,
0.051906391978263855,
0.09485723078250885,
0.03743421658873558,
0.051798924803733826,
-0.0305921733379364,
0.030287684872746468,
-0.03764915093779564,
0.021547064185142517,
0.022782929241657257,
0.01725735329091549,
0.028299551457166672,
0.03429977223277092,
0.004430760629475117,
0.005933054722845554,
0.016514042392373085,
0.01423933170735836,
-0.007867454551160336,
-0.009842154569923878,
0.029732439666986465,
-0.02195901982486248,
-0.02217395231127739,
-0.031183240935206413,
-0.0012067609932273626,
0.019379818812012672,
0.0393327958881855,
0.008203287608921528,
-0.0075226654298603535,
-0.012537775561213493,
0.05294523760676384,
0.04191199317574501,
-0.01653195358812809,
0.02770848572254181,
0.052013859152793884,
0.0276726633310318,
0.026526352390646935,
-0.015045330859720707,
0.014140820130705833,
-0.03254448249936104,
-0.051691457629203796,
0.03757750615477562,
0.00004474278830457479,
0.023750130087137222,
0.02509346231818199,
-0.010477998293936253,
0.015430419705808163,
-0.01769617572426796,
-0.006268887780606747,
0.04166124016046524,
-0.06870701164007187,
-0.0006878984859213233,
-0.010567554272711277,
-0.006927121430635452,
0.002606066409498453,
-0.00009221422078553587,
0.0018750692252069712,
-0.03189968317747116,
0.02410835213959217,
0.038508884608745575,
-0.09041527658700943,
0.05699314922094345,
-0.03725510463118553,
0.033332571387290955,
-0.06913688033819199,
0.0324191078543663,
0.000491715909447521,
0.0061972434632480145,
-0.07823572307825089,
0.008368965238332748,
-0.04825252667069435,
-0.05967981368303299,
0.06705918908119202,
0.030233951285481453,
0.022514263167977333,
-0.019021596759557724,
-0.038508884608745575,
-0.038508884608745575,
-0.008279410190880299,
-0.038329772651195526,
-0.038508884608745575,
-0.08210451900959015,
0.04252097010612488,
-0.03915368393063545,
0.014481130987405777,
0.07350718975067139,
0.03987012803554535,
-0.027009950950741768,
0.005798721220344305,
-0.006927121430635452,
0.012466131709516048,
-0.040622394531965256,
-0.026132307946681976,
0.020776886492967606,
-0.06566212326288223,
-0.015206531621515751,
-0.01552893128246069,
-0.01843053102493286,
-0.007164443377405405,
-0.027439817786216736,
-0.017651397734880447,
0.017749909311532974,
-0.0032710162922739983,
-0.07096381485462189,
-0.01565430872142315,
0.04391803964972496,
-0.0057405102998018265,
-0.03944025933742523,
-0.01776782050728798,
0.009385420940816402,
-0.045064348727464676,
-0.012251198291778564,
-0.05530950427055359,
0.005606176797300577,
0.01850217580795288,
-0.10710842907428741,
0.03250866383314133,
-0.02410835213959217,
0.003665060503408313,
0.0320429727435112,
0.02414417453110218,
0.026132307946681976,
-0.05674239248037338,
0.0052837771363556385,
0.04900479316711426,
-0.005503187887370586,
-0.025774085894227028,
0.024305373430252075,
-0.045565858483314514,
0.035338617861270905,
0.010021265596151352,
-0.010800398886203766,
-0.013254220597445965,
0.010137687437236309,
-0.022962041199207306,
0.004430760629475117,
0.07296985387802124,
0.0027672662399709225,
-0.011767597869038582,
-0.058533504605293274,
0.015179664827883244,
-0.11355642974376678,
-0.013988575898110867,
0.04352399334311485,
-0.12265527248382568,
0.003987460397183895,
-0.024018796160817146,
0.00003108206874458119,
-0.03440723940730095,
0.022478440776467323,
0.032204173505306244,
0.028496574610471725,
-0.045350927859544754,
-0.016254331916570663,
-0.024412840604782104,
0.05803199112415314,
0.0800984799861908,
0.030968306586146355,
0.01769617572426796,
0.0003128846874460578,
-0.017973797395825386,
-0.0158423762768507,
-0.013737820088863373,
0.01566326431930065,
-0.03281315043568611,
0.01995297521352768,
-0.031989239156246185,
-0.04205528274178505,
0.014919953420758247,
0.01219746470451355,
-0.03514159470796585,
0.01628119684755802,
-0.032239995896816254,
0.06111270189285278,
0.10144852101802826,
0.05495128035545349,
-0.07132203131914139,
-0.024018796160817146,
0.04646141454577446,
-0.021403774619102478,
0.010460087098181248,
0.019129063934087753,
0.030126484110951424,
0.0023396385367959738,
-0.03342212736606598,
-0.02946377359330654,
0.053840793669223785,
0.011158620938658714,
-0.00694503216072917,
0.0367894172668457,
0.06014550104737282,
0.02629350684583187,
0.038616351783275604,
0.051512349396944046,
-0.0071062324568629265,
-0.016693152487277985,
0.03055635094642639,
-0.06870701164007187,
-0.02403670735657215,
0.03555355221033096,
-0.02065150812268257,
-0.015582664869725704,
0.014660242013633251,
0.025827819481492043,
-0.030484706163406372,
-0.015511020086705685,
-0.016979731619358063,
-0.05477216839790344,
-0.012457176111638546,
0.08174630254507065,
-0.06286799162626266,
0.019272353500127792,
0.03979848325252533,
-0.049721237272024155,
-0.03157728537917137,
0.00012635727762244642,
0.049828704446554184,
-0.016585687175393105,
0.01959475316107273,
-0.03514159470796585,
0.015206531621515751,
0.05885590240359306,
0.006721143610775471,
-0.017749909311532974,
0.008655543439090252,
-0.03472964093089104,
0.010092909447848797,
-0.004032238386571407,
0.006483821198344231,
-0.0017250636592507362,
0.01682748645544052,
-0.026669640094041824,
0.003376243868842721,
0.015322953462600708,
0.00808686576783657,
0.009770509786903858,
0.02185155265033245,
0.0396910160779953,
0.034210216253995895,
0.047321148216724396,
-0.018179774284362793,
0.08826594054698944,
0.05996639281511307,
-0.01689913123846054,
0.03901039436459541,
0.029213018715381622,
-0.05319599062204361,
-0.005077799316495657,
0.02665172889828682,
0.014579642564058304,
0.08360905200242996,
0.0038464106619358063,
0.034246038645505905,
0.01223328709602356,
-0.03662821650505066,
0.0037680494133383036,
-0.024305373430252075,
0.04434790462255478,
-0.0038329772651195526,
-0.027762217447161674,
-0.005606176797300577,
-0.0035352050326764584,
-0.02118884213268757,
0.047392792999744415,
-0.014149775728583336,
0.05509456992149353,
-0.053912438452243805,
0.0011664609191939235,
0.015976708382368088,
0.008333142846822739,
0.02435910701751709,
0.030538439750671387,
0.02770848572254181,
-0.009654087945818901,
0.011821331456303596,
0.03354750573635101,
-0.033959463238716125,
-0.016666285693645477,
-0.02523675188422203,
-0.07780585438013077,
-0.036681950092315674,
0.060826126486063004,
0.012331798672676086,
-0.017391687259078026,
0.005758421495556831,
0.013245264999568462,
-0.024914352223277092,
-0.04481359198689461,
-0.010782487690448761,
0.0003218402271158993,
0.12695394456386566,
-0.010451131500303745,
0.07372212409973145,
0.004238216206431389,
0.038544707000255585,
0.009492887184023857,
-0.06283216923475266,
0.011167576536536217,
0.006076343357563019,
-0.029123462736606598,
0.04026417061686516,
-0.015860287472605705,
0.028890617191791534,
0.0975797176361084,
0.02559497393667698,
-0.06974585354328156,
0.01751706376671791,
-0.010791443288326263,
-0.05108248069882393,
-0.010460087098181248,
0.020848531275987625,
-0.035481907427310944,
-0.04198363795876503,
-0.07415199279785156,
-0.045064348727464676,
0.004661365877836943,
0.02770848572254181,
-0.01671106368303299,
-0.003935966175049543,
0.0016377470456063747,
0.05738719180226326,
-0.008516731671988964,
0.02901599556207657,
-0.03689688444137573,
-0.04886150360107422,
0.06458745896816254,
0.03317137435078621,
-0.00017239441513083875,
-0.014633376151323318,
-0.002225455129519105,
0.013863198459148407,
-0.016540909186005592,
-0.004417327232658863,
-0.014507997781038284,
-0.012752708978950977,
-0.04796594753861427,
-0.058246925473213196,
-0.009242132306098938,
-0.0393327958881855,
0.0010466803796589375,
-0.06358443200588226,
-0.025774085894227028,
0.049542125314474106,
-0.029481684789061546,
0.00426956033334136,
0.015358775854110718,
-0.025720352306962013,
0.024914352223277092,
-0.000025414883566554636,
-0.07723270356655121,
-0.029732439666986465,
-0.019720129668712616,
-0.012994509190320969,
-0.010272020474076271,
-0.021869463846087456,
0.04184034839272499,
0.026562174782156944,
0.056599102914333344,
-0.01445426419377327,
-0.04939883574843407,
-0.04345234856009483,
-0.05667074769735336,
-0.022514263167977333,
0.03247284144163132,
0.006013654638081789,
-0.008825698867440224,
-0.07716105878353119,
0.0016858831513673067,
0.013460198417305946,
-0.04373892769217491,
0.051333237439394,
0.02231724187731743,
0.05359003692865372,
-0.03483710438013077,
0.01496473141014576,
-0.005901710130274296,
0.015143842436373234,
-0.00910332053899765,
-0.03261612728238106,
-0.02675919607281685,
-0.04578079283237457,
-0.03807901591062546,
0.05308852717280388,
-0.00638083228841424,
-0.0367894172668457,
-0.03453261777758598,
-0.0053509436547756195,
-0.0019646247383207083,
0.023356085643172264,
-0.01893204264342785,
0.01576177589595318,
-0.0194872859865427,
-0.03779244050383568,
-0.018842486664652824,
-0.008951076306402683,
0.006895776838064194,
0.05247954651713371,
-0.022335153073072433,
0.05538114905357361,
-0.041052259504795074,
0.012484042905271053,
0.0019343997118994594,
-0.047536082565784454,
-0.06308292597532272,
0.005194221623241901,
0.02297995239496231,
0.031953416764736176,
0.03739839419722557,
0.025809908285737038,
0.05273030325770378,
0.03659239411354065,
-0.07372212409973145,
0.0331355519592762,
-0.019272353500127792,
0.02072315290570259,
-0.012904954142868519,
0.040550749748945236,
-0.01159744244068861,
-0.022227685898542404,
0.05004363879561424,
-0.016003575176000595,
-0.020149996504187584,
-0.028854796662926674,
-0.066987544298172,
-0.06677260994911194,
-0.03707599639892578,
0.0008479790412820876,
-0.022567996755242348,
0.018215596675872803,
0.04459866136312485,
-0.10689349472522736,
0.012913909740746021,
-0.015475197695195675,
-0.002122466452419758,
0.040765684098005295,
-0.05907083675265312,
-0.007589832413941622,
0.026812929660081863,
0.07472514361143112,
-0.02013208530843258,
-0.016003575176000595,
-0.002679949626326561,
-0.04252097010612488,
0.02129630744457245,
-0.018090220168232918,
0.005825588013976812,
-0.06276052445173264,
0.06566212326288223,
-0.018376797437667847,
0.049219727516174316,
0.006233065854758024,
-0.051942214369773865,
0.0035352050326764584,
-0.0278517734259367,
-0.0069584655575454235,
0.025666618719697,
0.008360009640455246,
0.047428615391254425,
-0.031595196574926376,
-0.022191863507032394,
0.003436693921685219,
0.0234814640134573,
-0.04209110513329506,
-0.05684985965490341,
0.031881771981716156,
0.02065150812268257,
-0.01903950795531273,
0.00944811012595892,
0.012663153931498528,
0.0017944691935554147,
-0.024771062657237053,
0.0014160970458760858,
0.04033581539988518,
-0.011579531244933605,
-0.011839242652058601,
0.05509456992149353,
0.03761332854628563,
0.025666618719697,
-0.05273030325770378,
0.014006487093865871,
0.0961468294262886,
0.017929019406437874,
-0.04545839503407478,
-0.0311295073479414,
0.03426394984126091,
0.009268999099731445,
-0.03116532973945141,
-0.0469629280269146,
0.03324301913380623,
-0.04205528274178505,
-0.008127165958285332,
-0.01561848632991314,
0.011095931753516197,
-0.052121326327323914,
0.013245264999568462,
-0.05563190206885338,
0.04459866136312485,
-0.00498824380338192,
0.06512478739023209,
-0.02967870607972145,
-0.02788759581744671,
0.023320263251662254,
0.04345234856009483,
-0.005064365919679403,
-0.023947151377797127,
0.0619007907807827,
0.031219061464071274,
0.07336390018463135,
-0.027475640177726746,
0.020311197265982628,
-0.00941228773444891,
-0.0019321608124300838,
-0.006528599187731743,
0.08532851934432983,
0.0012851220089942217,
0.012985553592443466,
0.031183240935206413,
-0.004607632756233215,
0.03775661811232567,
-0.013943797908723354,
0.005776332691311836,
0.049542125314474106,
-0.016514042392373085,
0.012851220555603504,
0.009286909364163876,
-0.04495688155293465,
0.009242132306098938,
-0.016540909186005592,
-0.00369192729704082,
-0.002673232927918434,
-0.0009285790147259831,
-0.06107687950134277,
-0.03797154873609543,
-0.00788536574691534,
-0.009797376580536366,
0.0025747218169271946,
0.002668755128979683,
-0.016621509566903114,
0.05011528357863426,
0.05749465897679329,
0.00841374322772026,
-0.03553564101457596,
0.00020080032118130475,
0.0659128800034523,
0.005064365919679403,
-0.011884020641446114,
-0.038401417434215546,
-0.029374217614531517,
-0.030502617359161377,
0.012116865254938602,
0.08912567794322968,
-0.05011528357863426,
-0.010361576452851295,
0.0202037300914526,
0.049864526838064194,
-0.025953195989131927,
0.05706479027867317,
-0.03148772940039635,
-0.02450239658355713,
-0.023427730426192284,
0.01389006432145834,
0.002397849690169096,
0.003548638429492712,
-0.0182066410779953,
-0.03789990395307541,
-0.02235306426882744,
-0.04495688155293465,
-0.05273030325770378,
-0.04896897077560425,
-0.028389107435941696,
0.0011144067393615842,
-0.025541240349411964,
-0.021135108545422554,
-0.012475087307393551,
-0.016666285693645477,
0.016030441969633102,
0.0721101239323616,
-0.01991715282201767,
-0.004287471529096365,
0.07178772240877151,
0.019451463595032692,
0.003367288503795862,
-0.014713975600898266,
-0.012564642354846,
-0.008530165068805218,
-0.05283777043223381,
0.06612781435251236,
-0.01893204264342785,
0.07293403148651123,
0.0728265643119812,
-0.06906523555517197,
0.05556025728583336,
-0.013209442608058453,
-0.033493772149086,
0.038723815232515335,
0.06161421164870262,
0.021600797772407532,
0.030645906925201416,
-0.02957124076783657,
0.005019588395953178,
0.0019388775108382106,
-0.022890396416187286,
-0.02505764178931713,
-0.027941329404711723,
0.002151571912690997,
-0.009121231734752655,
-0.0165677759796381,
0.03164893016219139,
-0.005906187929213047,
0.069172702729702
] |
18,457 | fs.base | desc | Return a short descriptive text regarding a path.
Arguments:
path (str): A path to a resource on the filesystem.
Returns:
str: a short description of the path.
Raises:
fs.errors.ResourceNotFound: If ``path`` does not exist.
| def desc(self, path):
# type: (Text) -> Text
"""Return a short descriptive text regarding a path.
Arguments:
path (str): A path to a resource on the filesystem.
Returns:
str: a short description of the path.
Raises:
fs.errors.ResourceNotFound: If ``path`` does not exist.
"""
if not self.exists(path):
raise errors.ResourceNotFound(path)
try:
syspath = self.getsyspath(path)
except (errors.ResourceNotFound, errors.NoSysPath):
return "{} on {}".format(path, self)
else:
return syspath
| (self, path) | [
0.06712134927511215,
-0.005593445617705584,
0.0222456194460392,
0.009140843525528908,
0.08444180339574814,
-0.07144230604171753,
0.05060649290680885,
0.0003481599560473114,
0.05814986303448677,
-0.04412505403161049,
0.017604248598217964,
0.057710446417331696,
0.0009715293417684734,
-0.03280999884009361,
-0.02665812522172928,
0.029001696035265923,
0.012203048914670944,
-0.02034146711230278,
-0.02257518284022808,
-0.038559071719646454,
0.021531561389565468,
0.009323935024440289,
-0.000016387048162869178,
-0.0794617161154747,
-0.01779649592936039,
0.0812193974852562,
0.04170824587345123,
-0.04764041304588318,
-0.005945896729826927,
-0.0946216955780983,
-0.008083490654826164,
-0.0037785510066896677,
-0.03143681213259697,
0.023930061608552933,
-0.031070629134774208,
0.08473475277423859,
0.0016352360835298896,
-0.026951070874929428,
-0.06620588898658752,
-0.0578935369849205,
-0.018949972465634346,
0.04635877162218094,
-0.01843731477856636,
-0.03844921663403511,
0.03786332532763481,
0.02129354327917099,
-0.01350299920886755,
-0.03335927426815033,
-0.02859889343380928,
-0.007392319850623608,
0.020451322197914124,
0.010060878470540047,
-0.05631894990801811,
-0.047457318753004074,
-0.04288003221154213,
-0.013347371481359005,
0.01779649592936039,
0.03716757893562317,
-0.017631713300943375,
0.005675836931914091,
0.03202270716428757,
-0.002116995630785823,
0.011662929318845272,
0.007657802663743496,
-0.02513846382498741,
0.020524559542536736,
0.024570880457758904,
-0.08832334727048874,
0.0011111366329714656,
0.01174532063305378,
0.008056026883423328,
0.023746969178318977,
-0.04917838051915169,
0.03800979629158974,
0.0724676176905632,
-0.046908047050237656,
-0.07374925911426544,
-0.02035977691411972,
0.04379548877477646,
-0.050313547253608704,
-0.029972080141305923,
-0.05280359089374542,
-0.0020059964153915644,
-0.0821714699268341,
0.009932714514434338,
-0.030667828395962715,
0.04511374980211258,
-0.04504051059484482,
0.008985215798020363,
0.043063122779130936,
0.010234815999865532,
-0.011589692905545235,
-0.006618758197873831,
0.03400009498000145,
0.0016890192637220025,
-0.04515036568045616,
-0.011205201037228107,
-0.05840619280934334,
0.011260127648711205,
-0.0013823409099131823,
0.019810501486063004,
0.020579485222697258,
0.05056987702846527,
-0.0057856920175254345,
0.015809951350092888,
0.011818557046353817,
-0.0018148946110159159,
0.023399095982313156,
0.018556324765086174,
-0.027079233899712563,
-0.038229506462812424,
-0.010005950927734375,
0.021073833107948303,
-0.04892205074429512,
0.02480890043079853,
-0.01593811623752117,
0.0032086786814033985,
-0.03301139920949936,
0.0004994965274818242,
-0.0020872431341558695,
-0.022337164729833603,
-0.00936513114720583,
-0.04320959746837616,
-0.04756717383861542,
-0.015535314567387104,
0.025266628712415695,
-0.06821990013122559,
0.009269007481634617,
-0.0514853335916996,
-0.007016982417553663,
-0.003989106509834528,
0.005511054769158363,
0.03500709682703018,
0.10223829746246338,
0.02737218141555786,
-0.003890694584697485,
0.01241360418498516,
0.043026506900787354,
0.06309333443641663,
0.07997437566518784,
0.024552572518587112,
-0.017878886312246323,
-0.022703347727656364,
-0.012962878681719303,
0.052913445979356766,
-0.013274135068058968,
0.027207398787140846,
-0.03789994493126869,
0.006545521784573793,
0.05232755467295647,
0.0005547100445255637,
-0.024662427604198456,
0.019261227920651436,
-0.020872432738542557,
0.04482080414891243,
-0.012541769072413445,
-0.03343250975012779,
-0.024570880457758904,
-0.012578386813402176,
-0.01809859648346901,
0.02951435185968876,
-0.053279630839824677,
0.008248272351920605,
0.003925024531781673,
-0.02704261615872383,
0.03980409353971481,
-0.05664851516485214,
0.0013480113120749593,
0.024259625002741814,
0.011022109538316727,
-0.015544469468295574,
-0.05445141717791557,
-0.08048702776432037,
-0.002856227569282055,
0.005598023068159819,
0.03432966023683548,
0.016725409775972366,
0.0732366070151329,
0.019462628290057182,
-0.04665171727538109,
0.0051448713056743145,
-0.011360828764736652,
-0.0650707259774208,
0.0621778778731823,
-0.01937108300626278,
0.029038313776254654,
0.019297845661640167,
-0.002714331727474928,
0.04218428581953049,
0.059541359543800354,
-0.05298668518662453,
0.04035336896777153,
0.01030805241316557,
0.053865522146224976,
0.014555775560438633,
-0.053902141749858856,
0.06459468603134155,
-0.055183783173561096,
0.041451919823884964,
0.026914453133940697,
0.0323522686958313,
0.06419188529253006,
0.01871195249259472,
0.03714926913380623,
0.047823503613471985,
0.051961369812488556,
0.02673136070370674,
0.021440016105771065,
-0.10590013116598129,
0.0450771301984787,
-0.022172382101416588,
-0.01557193323969841,
0.02418638952076435,
-0.04280679672956467,
0.036069028079509735,
-0.002232572063803673,
-0.05818648263812065,
0.026639815419912338,
-0.061115946620702744,
0.03630704805254936,
0.017054975032806396,
-0.029404496774077415,
0.018949972465634346,
0.007552525028586388,
0.009255276061594486,
-0.006540944334119558,
0.04537007585167885,
0.03425642102956772,
0.022117454558610916,
-0.0017141943098977208,
-0.010555225424468517,
-0.006431089248508215,
0.03520849719643593,
-0.0005575708928517997,
-0.004481164738535881,
0.029642516747117043,
-0.059211794286966324,
0.013548771850764751,
-0.0023687465582042933,
-0.04379548877477646,
-0.028489040210843086,
-0.005936742294579744,
-0.0006053463439457119,
-0.008857051841914654,
-0.01543461438268423,
-0.06009063497185707,
-0.005222685635089874,
-0.019773883745074272,
-0.010005950927734375,
-0.0730535164475441,
0.03779008984565735,
0.019810501486063004,
-0.019242918118834496,
-0.05760059133172035,
-0.005945896729826927,
-0.03231565281748772,
-0.06199478730559349,
-0.0716986358165741,
-0.019480936229228973,
0.033231109380722046,
-0.03200439736247063,
0.01874857023358345,
-0.05697808042168617,
0.058589283376932144,
-0.006843045353889465,
-0.02096397802233696,
-0.0068476228043437,
-0.0034558523911982775,
-0.0507163479924202,
-0.03436627611517906,
0.11285760998725891,
0.03394516557455063,
-0.05628233030438423,
-0.05009383708238602,
-0.00476953387260437,
0.021531561389565468,
0.006220533978193998,
-0.009786241687834263,
-0.010729162953794003,
0.002961505204439163,
-0.005012130364775658,
-0.0028241865802556276,
0.028690440580248833,
-0.018281687051057816,
0.034842316061258316,
-0.00825284980237484,
-0.027244016528129578,
-0.01745777577161789,
-0.0691719725728035,
0.05053325742483139,
0.09000778943300247,
0.012660778127610683,
-0.011525610461831093,
-0.004513205960392952,
0.07100288569927216,
0.039181582629680634,
0.007451824378222227,
-0.024259625002741814,
-0.020542867481708527,
-0.036691538989543915,
-0.03368883952498436,
0.024332862347364426,
0.013585390523076057,
0.000903442210983485,
-0.05174166336655617,
-0.007552525028586388,
-0.014720557257533073,
-0.009639767929911613,
0.0028241865802556276,
0.02795807458460331,
-0.023746969178318977,
-0.030942466109991074,
0.03661830350756645,
0.13314415514469147,
-0.01586487889289856,
0.060530055314302444,
-0.031619902700185776,
0.015196595340967178,
-0.031272031366825104,
0.013063579797744751,
-0.03118048422038555,
0.05078958719968796,
0.0361422635614872,
-0.03874216601252556,
0.014070582576096058,
-0.008509177714586258,
-0.04537007585167885,
-0.014510001987218857,
0.0305030457675457,
0.041818100959062576,
0.014885339885950089,
-0.0035382434725761414,
0.013594544492661953,
-0.0295326616615057,
0.0026502497494220734,
0.025156773626804352,
0.04247723147273064,
-0.030356572940945625,
-0.03407333046197891,
0.022465327754616737,
0.0744083896279335,
-0.0184556245803833,
-0.01241360418498516,
0.0070673325099051,
0.039547767490148544,
0.007758502848446369,
0.011965030804276466,
-0.01779649592936039,
0.030905846506357193,
-0.017100747674703598,
0.02737218141555786,
-0.034494441002607346,
-0.06129903718829155,
-0.010600998997688293,
-0.02889184094965458,
0.004833615850657225,
-0.017988741397857666,
0.01653316430747509,
-0.00027249165577813983,
0.01748523861169815,
0.0036435211077332497,
0.025028610602021217,
-0.012450222857296467,
0.023911751806735992,
-0.03881540149450302,
0.006188493221998215,
-0.010646771639585495,
0.0711127445101738,
-0.0007495308527722955,
0.01657893694937229,
-0.01999359391629696,
0.01049114391207695,
0.011827711947262287,
-0.006463130470365286,
-0.00036131966044194996,
-0.04057307913899422,
0.0323522686958313,
-0.008161304518580437,
-0.027591891586780548,
0.014061428606510162,
0.005190644413232803,
0.021092142909765244,
-0.011955875903367996,
-0.02444271743297577,
-0.018034514039754868,
0.025834212079644203,
-0.02986222505569458,
-0.006870509125292301,
-0.03182130679488182,
-0.020231612026691437,
0.011269282549619675,
-0.028745368123054504,
-0.01412551011890173,
-0.017338765785098076,
-0.0074243610724806786,
-0.04123220965266228,
0.05492745339870453,
0.01847393438220024,
-0.0036801393143832684,
0.022630110383033752,
0.0042133936658501625,
-0.007351124193519354,
-0.06704811006784439,
0.01368609070777893,
0.006074061151593924,
0.011534765362739563,
0.0388520173728466,
0.059285033494234085,
-0.01876688003540039,
0.04705451801419258,
0.01585572585463524,
-0.027482036501169205,
-0.027482036501169205,
0.011095345951616764,
0.010948872193694115,
-0.016414154320955276,
-0.051924753934144974,
0.0010190187022089958,
0.01716483011841774,
0.002524374285712838,
-0.003595459507778287,
0.01267908699810505,
-0.009694695472717285,
0.027536964043974876,
-0.005405777134001255,
-0.015498696826398373,
-0.0070993732661008835,
0.043722253292798996,
0.07550694048404694,
0.016285989433526993,
-0.027427108958363533,
0.008243695832788944,
-0.02832425758242607,
-0.02197098173201084,
-0.010198197327554226,
-0.0712958350777626,
-0.004925161600112915,
-0.03154666721820831,
-0.041488535702228546,
-0.02762850932776928,
-0.004247723147273064,
0.03789994493126869,
0.032260723412036896,
0.01938939094543457,
0.03407333046197891,
0.01093971822410822,
0.0027097545098513365,
0.011058727279305458,
0.08092644810676575,
-0.04709113761782646,
-0.030795993283391,
-0.002943196101114154,
0.05276697501540184,
-0.0004966357373632491,
0.007493020035326481,
-0.06001739948987961,
-0.0005132284131832421,
0.012907952070236206,
-0.048409394919872284,
0.018217606469988823,
-0.04460109397768974,
0.05221769958734512,
0.030265027657151222,
-0.06924521178007126,
0.036398593336343765,
-0.047017902135849,
0.03297478333115578,
0.03297478333115578,
0.011699547991156578,
0.0003467295609880239,
0.003675562096759677,
0.0026571156922727823,
-0.04635877162218094,
0.03187623247504234,
0.020433012396097183,
-0.034805696457624435,
-0.03440289571881294,
0.02863551303744316,
-0.03804641589522362,
-0.004197373054921627,
0.05305992066860199,
-0.05902870371937752,
-0.013869182206690311,
-0.004506339784711599,
0.036746468394994736,
-0.013347371481359005,
-0.01970064640045166,
0.05141209810972214,
0.027408799156546593,
-0.051961369812488556,
0.07514075934886932,
0.027207398787140846,
-0.015407150611281395,
-0.042111046612262726,
-0.017677485942840576,
-0.014592393301427364,
-0.04771364852786064,
0.04291665181517601,
-0.03204101324081421,
0.03436627611517906,
-0.02764681912958622,
-0.0806334987282753,
0.02506522834300995,
0.014802948571741581,
0.00036761342198587954,
0.025248318910598755,
0.02956927940249443,
-0.00920492596924305,
0.05565981939435005,
-0.003506202483549714,
-0.0040669203735888,
-0.015169131569564342,
0.044308144599199295,
0.006083215586841106,
0.00922781229019165,
0.004671122413128614,
-0.01782395876944065,
0.0540119968354702,
0.07682520151138306,
0.003668696153908968,
-0.0295326616615057,
-0.024973683059215546,
-0.025632811710238457,
-0.03711264953017235,
0.004870234057307243,
-0.06690163910388947,
0.0004617339000105858,
-0.013658626936376095,
-0.014052273705601692,
0.0806334987282753,
0.008179613389074802,
-0.010893944650888443,
0.03423811122775078,
0.02568773925304413,
0.017695793882012367,
0.11271113902330399,
-0.07239438593387604,
-0.02856227569282055,
-0.09777086973190308,
0.009502449072897434,
0.06620588898658752,
-0.031638212502002716,
0.033560674637556076,
-0.0011220077285543084,
0.041488535702228546,
-0.013924109749495983,
0.0013960727956146002,
-0.06397217512130737,
0.047164373099803925,
-0.022025909274816513,
-0.0017897195648401976,
-0.036435212939977646,
-0.05046002194285393,
-0.040792789310216904,
0.020121756941080093,
0.08934865891933441,
0.04200119152665138,
0.0012301461538299918,
-0.005067057441920042,
0.004469721578061581,
-0.03154666721820831,
-0.028196092694997787,
0.0361422635614872,
0.011571384035050869,
0.06192154809832573,
0.04200119152665138,
-0.012019957415759563,
-0.015214905142784119,
0.010930563323199749,
-0.06942830234766006,
0.0029180210549384356,
0.024680735543370247,
0.048409394919872284,
0.015700098127126694,
-0.04504051059484482,
0.04152515530586243,
0.03656337410211563,
0.05492745339870453,
0.05664851516485214,
0.048153068870306015,
-0.015654323622584343,
0.0034032135736197233,
0.009740468114614487,
0.03279168903827667,
-0.031015701591968536,
0.005259303841739893,
-0.007126837037503719,
0.01557193323969841,
-0.04767702892422676,
-0.0368197038769722,
-0.0005501327686943114,
-0.07396896928548813,
0.030301645398139954,
-0.016908500343561172,
0.028470730409026146,
-0.00841305498033762,
0.019169680774211884,
-0.04826292395591736,
-0.018538014963269234,
0.05591614916920662,
-0.04851925000548363,
-0.0002104121958836913,
0.03929143771529198,
0.04478418454527855,
-0.010683389380574226,
0.037021104246377945,
0.02156818099319935,
-0.020890742540359497,
-0.04346592351794243,
0.028214402496814728,
-0.03779008984565735,
0.022959675639867783,
0.008426787331700325,
0.025962376967072487,
-0.0036732733715325594,
0.008742619305849075,
0.055733054876327515,
-0.07448162883520126,
-0.010124960914254189,
-0.017567630857229233,
-0.04958118125796318,
0.011095345951616764,
0.03932805731892586,
-0.006806427147239447,
-0.03335927426815033,
0.051961369812488556,
-0.03332265466451645,
-0.034457821398973465,
-0.036105647683143616,
-0.03771685063838959,
0.01030805241316557,
-0.036746468394994736,
-0.0009452099329791963,
0.027189088985323906,
-0.011543920263648033,
-0.039584383368492126,
0.002352725947275758,
0.03246212378144264,
0.0012404449516907334,
0.031912852078676224,
-0.04427152872085571,
-0.00467798812314868,
-0.060237109661102295,
-0.019279535859823227,
-0.034494441002607346,
0.07689843326807022,
-0.0476037934422493,
-0.03685631975531578,
0.05280359089374542,
-0.009374285116791725,
0.006861354224383831,
0.01650569960474968,
-0.020176684483885765,
0.01743946596980095,
0.059834305197000504,
0.02123861573636532,
0.03903511166572571,
-0.04028013348579407,
-0.05880899354815483,
0.025852521881461143,
0.021128760650753975,
-0.08019408583641052,
0.0042751869186758995,
-0.03800979629158974,
0.03209594264626503,
-0.00968554150313139,
-0.0022611801978200674,
-0.001995697384700179,
0.006096947472542524,
-0.025944067165255547,
0.04606582596898079,
0.05141209810972214,
0.030356572940945625,
-0.03659999370574951,
-0.030557973310351372,
0.02125692553818226,
0.015159977599978447,
0.013063579797744751,
-0.000382775702746585,
-0.017952123656868935,
0.024039914831519127,
-0.01748523861169815,
-0.025852521881461143,
-0.030795993283391,
0.016295144334435463,
0.060493435710668564,
0.003634366439655423,
0.02100059576332569,
-0.04537007585167885,
-0.006984941195696592,
-0.07777727395296097,
-0.0732366070151329,
0.019462628290057182,
0.007044446188956499,
0.003682428039610386,
-0.007795121055096388,
0.0845150426030159,
-0.012752324342727661,
0.05943150445818901,
-0.043099742382764816,
0.03771685063838959,
0.034842316061258316,
0.03048473782837391,
-0.0025884562637656927,
0.006545521784573793,
0.008939443156123161,
-0.04661509767174721,
-0.029990389943122864,
-0.06481439620256424,
0.00031039732857607305,
0.008394746109843254,
0.008985215798020363,
0.025577884167432785,
-0.0716986358165741,
0.060163870453834534,
-0.09930883347988129,
0.025962376967072487,
-0.004023435991257429,
0.027225708588957787,
-0.0013743307208642364,
-0.0073877424001693726,
-0.035428207367658615,
0.03345081955194473,
-0.018052823841571808,
-0.00985032320022583,
0.04456447437405586,
-0.030667828395962715,
-0.0067972722463309765,
0.03903511166572571,
0.01317343395203352,
-0.05851604789495468,
-0.016066281124949455,
-0.023966679349541664,
-0.014995194971561432,
0.006252575200051069,
-0.0036778508219867945,
0.02949604205787182,
-0.0022874996066093445,
0.0862727239727974,
0.049727655947208405,
-0.0023939216043800116,
0.08539388328790665,
-0.018840117380023003,
-0.02638348750770092,
-0.00020154370577074587,
-0.039254821836948395,
-0.02603561244904995,
0.019114753231406212,
0.001263331389054656,
0.008939443156123161,
0.04200119152665138,
-0.0014601547736674547,
-0.03707602992653847,
0.014354374259710312,
0.028983386233448982,
-0.06166522204875946,
0.005840619094669819,
-0.024882135912775993,
0.021678036078810692,
0.038925256580114365,
-0.00890740193426609,
-0.06228773295879364,
0.034842316061258316,
-0.0021456037648022175,
0.025339866057038307,
0.01995697431266308,
-0.06961139291524887,
0.001908728969283402
] |
18,458 | miarec_s3fs.s3fs | download | null | def download(self, path, file, chunk_size=None, **options):
self.check()
if self.strict:
info = self.getinfo(path)
if not info.is_file:
raise errors.FileExpected(path)
_path = self.validatepath(path)
_key = self._path_to_key(_path)
with s3errors(path):
self.client.download_fileobj(
self._bucket_name, _key, file, ExtraArgs=self.download_args
)
| (self, path, file, chunk_size=None, **options) | [
-0.015317922458052635,
-0.007883014157414436,
-0.10066847503185272,
0.04382297769188881,
-0.004080968908965588,
-0.029117770493030548,
0.022130968049168587,
0.010297302156686783,
0.005230956245213747,
-0.005797948222607374,
0.0005155509570613503,
0.016598226502537727,
0.023539302870631218,
-0.02957502193748951,
0.002496592700481415,
0.044591158628463745,
0.0415915884077549,
-0.04652990400791168,
-0.010480202734470367,
0.06244225427508354,
0.01103804912418127,
0.014677770435810089,
-0.023466143757104874,
-0.008642052300274372,
0.03323303163051605,
0.04356691613793373,
-0.02099698595702648,
0.03279407322406769,
0.040091805160045624,
-0.008450006134808064,
0.007645243778824806,
0.020283672958612442,
-0.04385955631732941,
0.08025676757097244,
-0.02575240097939968,
-0.038299378007650375,
0.044700898230075836,
0.021417656913399696,
-0.06478337943553925,
0.039140719920396805,
-0.04762730747461319,
0.05746736004948616,
0.0628812164068222,
0.008655769750475883,
0.044591158628463745,
0.012482963502407074,
-0.016954882070422173,
-0.006424382328987122,
-0.03429385647177696,
-0.03396463394165039,
-0.002556035527959466,
0.022277290001511574,
0.032501429319381714,
-0.07184334099292755,
0.026026751846075058,
-0.05735761672258377,
0.014147358946502209,
0.036634985357522964,
-0.05640653520822525,
0.04938315227627754,
-0.017869384959340096,
-0.01865585893392563,
0.056955236941576004,
-0.04243293032050133,
-0.07528187334537506,
-0.028184978291392326,
-0.028715388849377632,
-0.021820038557052612,
-0.03542783856391907,
-0.0030338631477206945,
0.029611602425575256,
0.031879570335149765,
0.01572030410170555,
-0.010224142111837864,
-0.02161884680390358,
0.01751272939145565,
-0.01578431949019432,
-0.005637910217046738,
0.04367665573954582,
0.03242827206850052,
-0.07784248143434525,
-0.08947496116161346,
-0.04371323436498642,
-0.03524493798613548,
-0.04433509707450867,
-0.0699777603149414,
0.07385525107383728,
-0.05113900080323219,
0.05157795920968056,
0.025203699246048927,
-0.008984990417957306,
0.02161884680390358,
-0.039250463247299194,
-0.036982495337724686,
0.017869384959340096,
-0.03998206555843353,
-0.018253477290272713,
0.0075126406736671925,
-0.08398794382810593,
0.03540955111384392,
-0.028075236827135086,
-0.10044899582862854,
0.05333380401134491,
0.015089296735823154,
-0.013168840669095516,
-0.033068422228097916,
-0.019442331045866013,
0.0004089542489964515,
-0.02979450300335884,
0.009053578600287437,
-0.028349587693810463,
0.03217221051454544,
-0.002903546439483762,
0.03429385647177696,
-0.02721560373902321,
-0.03994548320770264,
0.026776643469929695,
-0.02635597251355648,
-0.04587146267294884,
-0.03848227858543396,
0.022277290001511574,
-0.049090512096881866,
0.009195325896143913,
0.038518860936164856,
0.006785611156374216,
-0.02196635864675045,
0.000460966577520594,
-0.00010966889385599643,
0.0032670614309608936,
0.029428701847791672,
-0.013525497168302536,
-0.023191792890429497,
0.007352602668106556,
0.009277631528675556,
-0.01692744717001915,
-0.0005481301341205835,
0.023210082203149796,
0.012190323323011398,
-0.019917871803045273,
0.09847366809844971,
0.08267105370759964,
-0.022771120071411133,
0.025331728160381317,
-0.028532488271594048,
0.04239635169506073,
-0.05724787712097168,
-0.05549203231930733,
-0.0368361733853817,
-0.04433509707450867,
0.044115617871284485,
-0.031897857785224915,
0.05154138058423996,
0.04016496613621712,
-0.03262946009635925,
0.042213451117277145,
-0.05501649156212807,
-0.009666294790804386,
0.01995445229113102,
-0.03612286224961281,
0.03358054533600807,
-0.02172858826816082,
0.06610026210546494,
-0.00955655425786972,
0.024984218180179596,
0.034860849380493164,
0.012620138935744762,
-0.0362326018512249,
0.005313261412084103,
0.01722923293709755,
0.02161884680390358,
-0.033287905156612396,
0.05508965253829956,
0.02697783336043358,
0.013534641824662685,
0.05644311383366585,
-0.0016689676558598876,
0.03873834013938904,
0.024325774982571602,
0.04806626960635185,
-0.0629177987575531,
-0.017540164291858673,
-0.04107946902513504,
0.029428701847791672,
-0.02873368002474308,
-0.014513160102069378,
0.009373653680086136,
-0.02909948118031025,
0.03228195011615753,
0.044005878269672394,
0.009712019935250282,
-0.030306624248623848,
0.008815807290375233,
0.03123941645026207,
-0.013159696012735367,
0.005733932834118605,
-0.07078251987695694,
0.04071366786956787,
-0.05245588347315788,
0.022021228447556496,
0.09715678542852402,
-0.04177448898553848,
0.021911488845944405,
0.0015557979932054877,
-0.0027778022922575474,
-0.031513769179582596,
0.060284025967121124,
0.043164532631635666,
0.017969980835914612,
-0.031513769179582596,
0.0831831768155098,
-0.019881291314959526,
0.05157795920968056,
0.007658961229026318,
0.0031916149891912937,
0.015144167467951775,
0.01311397086828947,
-0.021692007780075073,
-0.01597636379301548,
-0.04616410285234451,
0.04214029014110565,
0.055162809789180756,
-0.029300671070814133,
-0.008061342872679234,
0.06032060831785202,
0.02174687758088112,
-0.018372362479567528,
-0.009785179980099201,
-0.007233717478811741,
-0.026575451716780663,
-0.04323769360780716,
0.00781442690640688,
0.04298163205385208,
0.06467363983392715,
0.027947206050157547,
-0.01871987245976925,
0.0051669408567249775,
-0.01722923293709755,
0.007027954328805208,
-0.02397826500236988,
0.0033127865754067898,
0.011851957067847252,
-0.025697529315948486,
-0.04949289560317993,
0.030910195782780647,
-0.04642016440629959,
0.006886206567287445,
0.046968866139650345,
0.0019033090211451054,
-0.016900012269616127,
-0.03990890458226204,
0.04492038115859032,
-0.017723064869642258,
0.008527738973498344,
0.02575240097939968,
0.026575451716780663,
-0.0013969030696898699,
0.012172033078968525,
-0.05282168462872505,
-0.007823571562767029,
0.02578897960484028,
-0.057760000228881836,
0.009904066100716591,
0.009300493635237217,
-0.0350620374083519,
0.024033134803175926,
-0.004695971962064505,
0.012812185101211071,
-0.04718834534287453,
0.011943407356739044,
0.002709214575588703,
0.07107516378164291,
0.03478768840432167,
-0.03478768840432167,
-0.013955313712358475,
0.024161165580153465,
-0.010169271379709244,
-0.014348549768328667,
-0.01681770756840706,
-0.03262946009635925,
0.0028715389780700207,
0.03180640935897827,
-0.0008224810007959604,
0.011504446156322956,
0.023429563269019127,
0.020612893626093864,
0.0451398603618145,
-0.01140385027974844,
-0.017777934670448303,
0.050663456320762634,
0.0326477512717247,
0.006118024233728647,
-0.020045902580022812,
0.006867916323244572,
0.02814839780330658,
0.007887586951255798,
-0.0016163837863132358,
0.005180658772587776,
0.054687269032001495,
0.018454667180776596,
-0.014440000057220459,
-0.0350620374083519,
0.011943407356739044,
0.029776211827993393,
0.024069715291261673,
-0.023356402292847633,
-0.026575451716780663,
0.0605400875210762,
-0.002141079865396023,
-0.006552412640303373,
0.04181107133626938,
0.004705117084085941,
-0.03727513551712036,
-0.04901735112071037,
0.017201798036694527,
0.005482444539666176,
0.008792945183813572,
0.02836787886917591,
0.027307054027915,
0.02150910720229149,
-0.006049436517059803,
-0.052199821919202805,
-0.02919093146920204,
-0.014193084090948105,
0.016186701133847237,
-0.007727548945695162,
-0.03994548320770264,
-0.007768701761960983,
0.013571222312748432,
-0.0062049017287790775,
0.005834528245031834,
0.004430766217410564,
0.03756777569651604,
-0.004307308234274387,
0.03041636385023594,
-0.02456354722380638,
-0.037823837250471115,
0.0034842558670789003,
0.024490386247634888,
0.06723424792289734,
0.08091521263122559,
0.05260220170021057,
0.016552502289414406,
0.006991374306380749,
0.0048697274178266525,
-0.02397826500236988,
0.019570359960198402,
-0.01762246899306774,
-0.004897162783890963,
0.004327884875237942,
-0.006346649955958128,
-0.009519974701106548,
-0.05282168462872505,
0.02339298278093338,
-0.0017615611432120204,
-0.03480597957968712,
0.046859126538038254,
0.03692762553691864,
-0.04107946902513504,
-0.023429563269019127,
0.006479252595454454,
0.000721314107067883,
0.018363216891884804,
-0.022057808935642242,
-0.020247092470526695,
0.01699146255850792,
-0.02754482626914978,
0.025971880182623863,
0.024636706337332726,
-0.00006451531953644007,
-0.01649763062596321,
-0.028056947514414787,
-0.008893540129065514,
-0.01371754240244627,
0.06829506903886795,
-0.01829005777835846,
0.03705565631389618,
-0.005450436845421791,
-0.05062687769532204,
0.0629543736577034,
0.02397826500236988,
0.024728156626224518,
-0.06708792597055435,
-0.013022520579397678,
0.011669056490063667,
0.03299526125192642,
0.010425332002341747,
0.036397214978933334,
-0.015299632214009762,
0.022368740290403366,
-0.03529981151223183,
0.07937884330749512,
-0.004305022303014994,
0.0581989623606205,
-0.05190718173980713,
-0.01401932816952467,
0.011541025713086128,
0.02588042989373207,
-0.032464850693941116,
-0.03005056269466877,
-0.0028143825475126505,
-0.06931931525468826,
0.05022449791431427,
-0.08581694960594177,
0.04883445054292679,
-0.01593063957989216,
-0.011961697600781918,
0.014924686402082443,
0.0522364042699337,
0.04331085458397865,
0.0037814693059772253,
0.0034773971419781446,
-0.014760076068341732,
-0.055162809789180756,
0.025496339425444603,
0.018857048824429512,
0.02955673262476921,
-0.025715820491313934,
-0.06123511120676994,
-0.006758175790309906,
-0.039506521075963974,
-0.022368740290403366,
0.042688991874456406,
-0.02399655431509018,
-0.05999138578772545,
0.03193444013595581,
-0.0973762646317482,
-0.02588042989373207,
-0.01288534514605999,
0.0033973781391978264,
0.00031493190908804536,
0.009245623834431171,
0.018838757649064064,
-0.04426193609833717,
0.0004295305407140404,
0.028313007205724716,
0.043054793030023575,
-0.048176009207963943,
0.006538695190101862,
0.033653706312179565,
-0.01874730736017227,
-0.0350620374083519,
-0.004373610019683838,
-0.03632405400276184,
-0.0005841386737301946,
0.015903204679489136,
-0.009803470224142075,
0.007133122067898512,
-0.05000501498579979,
0.1069602519273758,
-0.03447675704956055,
-0.010544218122959137,
-0.023959973827004433,
0.0032213362865149975,
-0.010032095946371555,
-0.025679240003228188,
-0.023210082203149796,
0.008024762384593487,
-0.020283672958612442,
-0.002565180417150259,
-0.10293643921613693,
0.016680531203746796,
-0.00047982821706682444,
0.021637137979269028,
-0.10359488427639008,
-0.03305013105273247,
0.06639290601015091,
-0.041884228587150574,
0.047334667295217514,
0.016900012269616127,
-0.09196240454912186,
-0.008413426578044891,
-0.01746700517833233,
-0.05296800285577774,
0.018326636403799057,
0.05922320485115051,
-0.00878837238997221,
0.01235493365675211,
0.010617378167808056,
-0.04890761151909828,
-0.024764737114310265,
0.038774918764829636,
-0.04583488404750824,
-0.007695541251450777,
-0.04466431960463524,
0.02970305271446705,
-0.0013466054806485772,
-0.03156863898038864,
0.04572514072060585,
0.056479696184396744,
-0.0075172134675085545,
0.029136059805750847,
0.032245371490716934,
-0.01995445229113102,
-0.019881291314959526,
0.013397466391324997,
-0.00656155776232481,
-0.08230525255203247,
-0.012162887491285801,
-0.01670796610414982,
0.013196275569498539,
0.013360886834561825,
0.002304547233507037,
-0.010105255991220474,
0.021289626136422157,
-0.003456820733845234,
0.05523597076535225,
0.0020290531683713198,
0.008806662634015083,
0.010608232580125332,
-0.012263483367860317,
0.006456390023231506,
0.07326997071504593,
-0.04832233116030693,
0.04023812338709831,
0.027617985382676125,
0.021911488845944405,
-0.03370857611298561,
0.02588042989373207,
0.01140385027974844,
0.03601312264800072,
0.01805228553712368,
0.04572514072060585,
0.0055921850726008415,
0.0017695629503577948,
-0.06796585023403168,
0.01876559853553772,
-0.008468296378850937,
-0.04488379880785942,
0.003008714411407709,
-0.01656164601445198,
0.004746269900351763,
-0.007128549739718437,
-0.018207751214504242,
0.08398794382810593,
-0.001073397696018219,
0.050882939249277115,
-0.03513519838452339,
0.015455097891390324,
0.009785179980099201,
0.024892767891287804,
0.022661380469799042,
0.03504374995827675,
-0.02531343884766102,
-0.0427255742251873,
-0.06540524214506149,
-0.0020473431795835495,
0.009277631528675556,
-0.01640618033707142,
0.004686826840043068,
-0.02008248306810856,
0.01294936053454876,
-0.015811754390597343,
0.04711518809199333,
0.005555604584515095,
0.01841808669269085,
0.04521302133798599,
-0.04287189245223999,
-0.05556519329547882,
0.0380433164536953,
-0.039506521075963974,
-0.007352602668106556,
0.03273920342326164,
-0.004078682512044907,
0.009108448401093483,
0.0439327172935009,
0.04956605285406113,
0.07798880338668823,
0.028587358072400093,
0.03158692643046379,
-0.05311432480812073,
0.01716521754860878,
0.05838186293840408,
-0.06460048258304596,
0.018152881413698196,
0.0558212548494339,
-0.027380215004086494,
0.016872577369213104,
-0.05713813751935959,
-0.015235617756843567,
0.0016929734265431762,
-0.009721165522933006,
-0.06569788604974747,
0.039506521075963974,
0.012720734812319279,
-0.03537296876311302,
0.05121215805411339,
0.02006419189274311,
-0.021106725558638573,
-0.05150480195879936,
-0.010407042689621449,
0.009876630268990993,
-0.07652559876441956,
-0.045286182314157486,
-0.04404245689511299,
0.005683635361492634,
0.01805228553712368,
0.0009962365729734302,
-0.05366302654147148,
0.01773221045732498,
0.02077750489115715,
0.00462738424539566,
0.021673716604709625,
-0.003269347595050931,
0.08413425832986832,
-0.05450436845421791,
0.07872040569782257,
-0.048505231738090515,
0.07850092649459839,
0.042213451117277145,
0.013845573179423809,
-0.06983143836259842,
-0.0361960232257843,
0.008161937817931175,
0.03575706109404564,
0.008317403495311737,
0.01555569376796484,
-0.0006315784994512796,
0.005605902522802353,
-0.07974464446306229,
-0.0028898289892822504,
-0.009785179980099201,
-0.03156863898038864,
0.04941973462700844,
0.08267105370759964,
-0.025221988558769226,
0.011385560035705566,
0.03612286224961281,
-0.006419810000807047,
-0.008532311767339706,
0.024965927004814148,
-0.038665179163217545,
0.034019507467746735,
-0.03826279938220978,
0.018454667180776596,
0.06284463405609131,
-0.015647143125534058,
-0.008491158485412598,
0.05882082134485245,
0.01638789102435112,
0.0014529164182022214,
-0.017430424690246582,
0.017759645357728004,
-0.004942887928336859,
0.07937884330749512,
-0.08230525255203247,
0.022954020649194717,
0.06390545517206192,
-0.001984471222385764,
0.01835407130420208,
-0.035080328583717346,
0.006689588073641062,
-0.01354378741234541,
-0.025240277871489525,
-0.02816668711602688,
0.0007624667487107217,
-0.031879570335149765,
0.07974464446306229,
-0.07385525107383728,
0.030837036669254303,
-0.026813223958015442,
0.05212666094303131,
-0.025331728160381317,
-0.020466573536396027,
-0.012309208512306213,
0.03290381282567978,
0.001766133587807417,
-0.014330259524285793,
-0.049236834049224854,
0.03155034780502319,
-0.006012856028974056,
-0.038409117609262466,
0.025020798668265343,
-0.051834020763635635,
-0.003337935311719775,
-0.027233894914388657,
-0.0010876868618652225,
0.04704202711582184,
-0.0855243057012558,
-0.0018164312932640314,
0.00427530100569129,
0.02064947411417961,
-0.022021228447556496,
-0.004103831481188536,
0.05121215805411339,
-0.04433509707450867,
-0.028075236827135086,
-0.020338542759418488,
0.006415237672626972,
-0.06430783867835999,
-0.05296800285577774,
0.05165112018585205,
-0.0013077390613034368,
-0.04254267364740372,
-0.0617838129401207,
-0.006118024233728647,
0.005866535939276218,
0.056955236941576004,
0.007576656062155962,
0.048285748809576035,
0.008308257907629013,
-0.0007110259612090886,
-0.051248740404844284,
0.026666902005672455,
0.02055802382528782,
-0.05022449791431427,
-0.028660519048571587,
-0.022149259224534035,
-0.014092489145696163,
0.042213451117277145,
0.01969839073717594,
0.0011294110445305705,
-0.04737124592065811,
-0.011266674846410751,
-0.003678587730973959,
0.029282381758093834,
0.0652955025434494,
-0.03550099954009056,
-0.03583022207021713,
-0.043054793030023575,
0.01584833487868309,
-0.02646571211516857,
-0.0748429149389267,
-0.045651983469724655,
0.038994401693344116,
0.011714781634509563,
-0.026630323380231857,
-0.029245801270008087,
0.04214029014110565,
-0.04535933956503868,
0.04546908289194107,
0.05073661729693413,
-0.009593134745955467,
0.05893056467175484,
-0.048651549965143204,
-0.012492109090089798,
-0.006246054545044899,
-0.028550779446959496,
-0.00967544037848711,
0.045542240142822266,
0.06796585023403168,
-0.0404210239648819,
0.00939194392412901,
-0.03895781934261322,
-0.034641366451978683,
0.04005522280931473,
-0.018390651792287827,
-0.009785179980099201,
0.07893988490104675,
-0.005331551656126976,
-0.041372109204530716,
-0.011577606201171875,
-0.0004898305633105338,
0.04177448898553848,
0.0640883594751358,
0.012409803457558155,
-0.03182470053434372,
-0.0403478667140007,
-0.02694125287234783,
0.03731171786785126,
-0.02363075315952301,
-0.042688991874456406,
-0.023466143757104874,
-0.007686396595090628,
0.00469139963388443,
-0.03162350878119469,
0.04920025169849396,
-0.0008436288917437196,
0.01947890967130661
] |
18,459 | miarec_s3fs.s3fs | exists | null | def exists(self, path):
self.check()
_path = self.validatepath(path)
if _path == "/":
return True
_key = self._path_to_dir_key(_path)
try:
self._get_object(path, _key)
except errors.ResourceNotFound:
return False
else:
return True
| (self, path) | [
0.04686672240495682,
-0.027084853500127792,
-0.07600775361061096,
0.012735907919704914,
0.0750151127576828,
0.01256751362234354,
0.035415925085544586,
-0.01292202714830637,
-0.0033900379203259945,
0.035522282123565674,
0.02018955908715725,
0.04821387305855751,
0.07044188678264618,
-0.043108876794576645,
-0.03591224551200867,
-0.02584405429661274,
0.029991865158081055,
0.03417512774467468,
-0.010369528084993362,
-0.07778032124042511,
-0.002548067830502987,
0.04590953513979912,
0.06242987513542175,
-0.0017315782606601715,
0.018558796495199203,
0.03835839033126831,
0.06281983852386475,
-0.01195597741752863,
0.024550078436732292,
0.007794871460646391,
-0.025170478969812393,
0.07877296209335327,
0.033005233854055405,
0.03185306116938591,
-0.0013748487690463662,
0.021589888259768486,
0.004980918485671282,
-0.04782390967011452,
-0.06827935576438904,
-0.0666840448975563,
-0.007537849247455597,
0.08962108194828033,
-0.009137592278420925,
0.014286905527114868,
0.026978498324751854,
0.008929315954446793,
-0.046476755291223526,
0.027244383469223976,
-0.018363812938332558,
-0.00438267644494772,
0.04041457176208496,
-0.027740703895688057,
-0.022901590913534164,
-0.04594498500227928,
-0.032987505197525024,
-0.04293162003159523,
0.009217358194291592,
0.06647133082151413,
-0.02394740656018257,
-0.0024306350387632847,
-0.008862844668328762,
-0.027386188507080078,
0.02800658904016018,
-0.03740120306611061,
-0.031817611306905746,
0.00798985455185175,
-0.02740391530096531,
-0.07416427880525589,
0.047079429030418396,
0.028892872855067253,
-0.018239734694361687,
0.04686672240495682,
0.004701739177107811,
0.037082139402627945,
0.005769711919128895,
0.020951764658093452,
0.04349884018301964,
0.018700601533055305,
0.017601609230041504,
0.008277896791696548,
-0.04856838658452034,
-0.09961836785078049,
-0.02933601476252079,
-0.03281024843454361,
-0.03295205533504486,
0.0755823403596878,
0.04878109693527222,
-0.030275477096438408,
0.015713823959231377,
0.061756301671266556,
-0.009093278087675571,
0.050340957939624786,
0.0016429497627541423,
-0.04895835369825363,
0.050660017877817154,
-0.03270389512181282,
0.04247074946761131,
-0.021855775266885757,
-0.019391903653740883,
-0.02993868850171566,
-0.008300053887069225,
-0.02166079171001911,
0.06147268787026405,
0.0217671450227499,
0.023716971278190613,
0.06806664168834686,
-0.025170478969812393,
0.017876356840133667,
0.018913310021162033,
0.009988425299525261,
-0.007697380613535643,
0.02417783997952938,
0.05760848894715309,
0.03619585558772087,
0.0069307442754507065,
-0.0747315064072609,
0.011264675296843052,
0.014038745313882828,
-0.05445331707596779,
-0.04842658340930939,
0.03206577152013779,
0.011220361106097698,
0.024248741567134857,
-0.029637351632118225,
0.07295893877744675,
0.00876978412270546,
-0.015829039737582207,
0.02164306677877903,
-0.01129126362502575,
0.03171125799417496,
-0.011805308982729912,
0.007666360586881638,
0.004267459735274315,
0.026730338111519814,
-0.02391195483505726,
-0.0075201233848929405,
0.012204136699438095,
0.010591099038720131,
-0.029743706807494164,
0.08430337905883789,
0.028467455878853798,
-0.004008221440017223,
-0.021199923008680344,
0.030470458790659904,
0.0048435446806252,
0.03789752349257469,
-0.02501094713807106,
0.009093278087675571,
0.04013095796108246,
0.042967069894075394,
-0.021944403648376465,
-0.04895835369825363,
0.047079429030418396,
0.012461159378290176,
-0.047930262982845306,
-0.018363812938332558,
-0.01435780804604292,
-0.02680124156177044,
-0.02524138055741787,
-0.025666797533631325,
0.01249661110341549,
0.014543927274644375,
-0.02573770098388195,
0.00338339083828032,
-0.05289345607161522,
-0.001284004538320005,
-0.07373886555433273,
0.009722540155053139,
0.005760848987847567,
0.06363522261381149,
0.017707962542772293,
-0.0332002155482769,
-0.016617832705378532,
-0.013427209109067917,
-0.039634641259908676,
-0.03647946938872337,
0.01129126362502575,
0.028077490627765656,
0.011087418533861637,
-0.015465663745999336,
0.016874855384230614,
-0.031569451093673706,
0.026872145012021065,
0.018222007900476456,
-0.015164326876401901,
0.0435342900454998,
-0.023380184546113014,
-0.02382332645356655,
0.04452693089842796,
0.07997830957174301,
-0.04626404866576195,
0.019427355378866196,
0.0365503691136837,
0.04385335370898247,
-0.019321000203490257,
-0.010635413229465485,
0.05289345607161522,
-0.018080202862620354,
-0.03382061421871185,
0.03582361713051796,
0.04810751974582672,
-0.007422632072120905,
0.037082139402627945,
0.007794871460646391,
0.003804375883191824,
-0.021199923008680344,
-0.011920525692403316,
0.04459783434867859,
-0.01340948324650526,
0.047540295869112015,
-0.06519508361816406,
-0.06849206238985062,
0.05445331707596779,
0.016555793583393097,
0.05565866455435753,
0.05143994837999344,
-0.0036692176945507526,
-0.00841970182955265,
-0.013019518926739693,
0.004316205158829689,
0.0346359945833683,
0.011273537762463093,
0.020508622750639915,
-0.026872145012021065,
-0.01958688534796238,
-0.052361685782670975,
-0.015704959630966187,
0.05172355845570564,
-0.03616040572524071,
-0.027226658537983894,
0.011078555136919022,
0.049135610461235046,
0.0365503691136837,
0.018718328326940536,
-0.012399119324982166,
-0.019409628584980965,
0.02571997418999672,
0.053070712834596634,
-0.005286686588078737,
-0.004101281054317951,
0.046476755291223526,
-0.018842406570911407,
-0.03172898292541504,
-0.02283068746328354,
-0.03704668954014778,
-0.00792781449854374,
0.011273537762463093,
-0.018541069701313972,
-0.005663357675075531,
-0.08153817057609558,
0.00035063628456555307,
0.02657080814242363,
-0.049809183925390244,
-0.051049984991550446,
-0.0010879141045734286,
-0.08933747559785843,
-0.056580398231744766,
-0.028095217421650887,
-0.006624976173043251,
0.015288406983017921,
-0.05108543485403061,
-0.0018401481211185455,
0.040591828525066376,
0.08586324006319046,
-0.03616040572524071,
-0.05292890593409538,
0.015341583639383316,
0.019888222217559814,
-0.02114674635231495,
-0.0043516564182937145,
0.04810751974582672,
0.016254456713795662,
0.026163116097450256,
-0.044668737798929214,
0.06501782685518265,
0.008973630145192146,
0.027333011850714684,
-0.043569743633270264,
-0.007914519868791103,
0.010449294000864029,
-0.05190081521868706,
-0.001444643596187234,
0.03594769537448883,
-0.05679310858249664,
-0.019498256966471672,
-0.019515983760356903,
-0.008557076565921307,
0.061969008296728134,
-0.03289887681603432,
0.027138030156493187,
0.013834900222718716,
-0.015704959630966187,
-0.0505182147026062,
-0.014668007381260395,
-0.004799230489879847,
0.0963568463921547,
-0.016892582178115845,
-0.025702249258756638,
-0.011193772777915001,
-0.054346963763237,
-0.040804535150527954,
0.02694304659962654,
-0.040591828525066376,
-0.00032847916008904576,
0.004360519349575043,
-0.022440722212195396,
-0.028042038902640343,
0.05590682104229927,
-0.024603256955742836,
0.052219878882169724,
-0.04807206988334656,
-0.0007350621744990349,
0.006119794212281704,
0.0387483574450016,
0.05448876693844795,
-0.006983921397477388,
-0.04254165291786194,
-0.0206681527197361,
-0.07154087722301483,
0.028573811054229736,
-0.01441984809935093,
0.06824389845132828,
-0.055126890540122986,
0.0013094852911308408,
-0.0009760207612998784,
-0.026287196204066277,
-0.0023752423003315926,
0.017264820635318756,
-0.020136382430791855,
0.036373112350702286,
0.010121368803083897,
-0.029601899906992912,
0.07905657589435577,
-0.020242737606167793,
0.03740120306611061,
-0.018611973151564598,
-0.009518695063889027,
-0.03091360069811344,
0.0581757090985775,
0.08203449100255966,
0.02595040760934353,
-0.016750775277614594,
-0.029974140226840973,
-0.02933601476252079,
0.005760848987847567,
-0.018452441319823265,
0.009660500101745129,
0.009093278087675571,
0.016750775277614594,
-0.03761391341686249,
-0.048036616295576096,
0.017459804192185402,
0.021572163328528404,
0.008738764561712742,
-0.018842406570911407,
0.015066835097968578,
0.037223946303129196,
0.059700120240449905,
0.0034986077807843685,
-0.012177548371255398,
0.049844637513160706,
-0.0015742627438157797,
-0.052609845995903015,
-0.017167329788208008,
-0.05544595420360565,
-0.008273465558886528,
-0.01657351851463318,
0.006106500048190355,
-0.04122995212674141,
0.01201801747083664,
0.003620472038164735,
-0.009873208589851856,
-0.029796883463859558,
-0.03112630918622017,
0.04144265875220299,
-0.030133670195937157,
0.00649203360080719,
-0.04218713939189911,
0.05012824758887291,
0.025170478969812393,
-0.005588023457676172,
0.049738284200429916,
0.019817320629954338,
-0.020419994369149208,
0.06423790007829666,
-0.003957259934395552,
0.018363812938332558,
-0.029743706807494164,
-0.013852626085281372,
-0.054027900099754333,
0.008397544734179974,
-0.004861270077526569,
-0.02139490656554699,
-0.054346963763237,
-0.05650949478149414,
-0.051759012043476105,
0.07522782683372498,
0.01671532541513443,
0.022937040776014328,
0.04775300621986389,
0.03772026672959328,
0.013994431123137474,
0.011592600494623184,
0.0600900836288929,
-0.016086062416434288,
-0.010821533389389515,
0.04193897917866707,
0.020774507895112038,
-0.0012230725260451436,
-0.021962128579616547,
-0.0140653345733881,
-0.04725668579339981,
-0.010821533389389515,
-0.002258917549625039,
-0.03867745399475098,
0.026251744478940964,
0.0006763458368368447,
-0.015589742921292782,
-0.01994140073657036,
0.03488415479660034,
-0.010298625566065311,
0.0010325213661417365,
-0.027102578431367874,
0.02006547898054123,
-0.04101724550127983,
-0.021129021421074867,
-0.04247074946761131,
-0.04218713939189911,
0.048497483134269714,
0.0020041107200086117,
-0.06430879980325699,
-0.09550601243972778,
0.028325650840997696,
-0.031959418207407,
-0.008814099244773388,
-0.01768137514591217,
-0.05314161628484726,
-0.045165054500103,
-0.061756301671266556,
-0.0060001458041369915,
-0.006137519609183073,
-0.017823180183768272,
-0.024018308147788048,
0.015713823959231377,
0.0056146117858588696,
0.0015919884899631143,
-0.0029912099707871675,
0.002232328988611698,
0.14790314435958862,
-0.012975203804671764,
-0.03289887681603432,
0.01321450062096119,
0.028467455878853798,
-0.0333951972424984,
-0.041797176003456116,
-0.006390111055225134,
-0.003345723729580641,
0.01659124530851841,
-0.009332574903964996,
0.028520632535219193,
-0.045165054500103,
0.027563445270061493,
0.015217503532767296,
-0.04761119931936264,
0.010289762169122696,
-0.03633766248822212,
-0.004409265238791704,
0.057998452335596085,
0.07700039446353912,
-0.01995912566781044,
-0.02727983519434929,
0.024940043687820435,
-0.059948280453681946,
0.009749128483235836,
0.020969489589333534,
-0.021235374733805656,
0.04534231126308441,
0.049241963773965836,
-0.07586594671010971,
0.022653430700302124,
0.05182991549372673,
-0.0766458809375763,
0.00991752278059721,
0.0012995145516470075,
-0.011823034845292568,
-0.050411857664585114,
-0.018363812938332558,
0.07200174778699875,
0.035752713680267334,
-0.04619314521551132,
0.0664004310965538,
-0.02330928109586239,
-0.030488185584545135,
0.006753487512469292,
0.026180842891335487,
-0.06934289634227753,
-0.07150542736053467,
0.02499322220683098,
-0.01694575883448124,
-0.030346378684043884,
-0.034192852675914764,
-0.00889386422932148,
0.029779156669974327,
0.06044460088014603,
-0.01912601850926876,
0.0038154544308781624,
-0.01731799729168415,
-0.0024749492295086384,
0.05473692715167999,
-0.005632337648421526,
0.0021846911404281855,
0.06026734039187431,
-0.040698181837797165,
0.01933872699737549,
0.04488144442439079,
0.0521489754319191,
-0.013489249162375927,
-0.034689173102378845,
-0.02800658904016018,
0.0026189705822616816,
0.0035562163684517145,
-0.00112779694609344,
0.047185782343149185,
-0.024922318756580353,
-0.04885200038552284,
0.0007810381939634681,
-0.038642000406980515,
-0.04395970702171326,
-0.002572440542280674,
0.033253394067287445,
-0.006687016226351261,
0.006150814238935709,
-0.03821658343076706,
0.00177478464320302,
0.05062456801533699,
0.08579233288764954,
0.009040101431310177,
-0.029601899906992912,
0.000831999524962157,
-0.009926386177539825,
0.0667903944849968,
-0.010963338427245617,
0.010573373176157475,
-0.003028877079486847,
-0.00882739294320345,
-0.014091922901570797,
-0.021129021421074867,
-0.08224719762802124,
0.0635288655757904,
0.0062571680173277855,
0.051510851830244064,
0.02800658904016018,
0.00876978412270546,
-0.004198772367089987,
0.0851542130112648,
0.04463328421115875,
0.019196921959519386,
-0.027474816888570786,
-0.01994140073657036,
0.03525639697909355,
-0.007325140759348869,
-0.029637351632118225,
-0.015173189342021942,
0.045271407812833786,
0.0005057360394857824,
-0.061862654983997345,
-0.0336788073182106,
-0.03928012773394585,
0.0774967148900032,
-0.02226346544921398,
0.022281190380454063,
0.010112505406141281,
-0.014038745313882828,
-0.004265243653208017,
-0.0006325855501927435,
-0.00896476674824953,
-0.020632700994610786,
0.0024483606684952974,
0.010369528084993362,
-0.01684826798737049,
0.01293088961392641,
-0.04920651391148567,
0.004644130356609821,
-0.009341438300907612,
-0.013843762688338757,
-0.010848121717572212,
-0.017885219305753708,
0.030629990622401237,
-0.03772026672959328,
-0.03991825133562088,
-0.02213938534259796,
0.004772641696035862,
0.03344837576150894,
-0.01094561256468296,
0.05892018973827362,
0.03839384391903877,
0.059203799813985825,
-0.06962650269269943,
0.007586594671010971,
-0.014570516534149647,
-0.03477780148386955,
-0.004455795045942068,
-0.018452441319823265,
-0.01671532541513443,
-0.025188203901052475,
0.018434716388583183,
-0.0024018308613449335,
-0.0007068118429742754,
-0.030878150835633278,
-0.054276060312986374,
-0.0033102724701166153,
-0.05640314146876335,
-0.000576638791244477,
0.028644712641835213,
0.045377764850854874,
0.04771755263209343,
0.007311846595257521,
-0.02548954077064991,
-0.04509415104985237,
0.0043893237598240376,
0.00936802662909031,
-0.04548411816358566,
0.024922318756580353,
0.007817029021680355,
-0.04963192716240883,
0.010830395855009556,
0.05363793298602104,
0.03892561420798302,
-0.010963338427245617,
-0.022529350593686104,
0.04392425715923309,
-0.006687016226351261,
-0.011823034845292568,
0.002142592566087842,
-0.013365169055759907,
-0.005007507279515266,
0.008300053887069225,
-0.0025281263515353203,
0.0486038401722908,
0.06292619556188583,
-0.05665130168199539,
-0.03513231500983238,
-0.06962650269269943,
0.04030821472406387,
-0.008078482933342457,
0.06866931915283203,
0.03917377069592476,
-0.004395970609039068,
0.07274622470140457,
0.012133234180510044,
-0.006390111055225134,
0.00010088409908348694,
-0.023628342896699905,
-0.019533708691596985,
0.05977102369070053,
-0.02105811797082424,
0.01768137514591217,
-0.03522094339132309,
-0.07544053345918655,
0.0015964198391884565,
0.02330928109586239,
-0.02669488824903965,
-0.06058640405535698,
-0.03078952245414257,
0.011973703280091286,
-0.0001609160244697705,
-0.014987070113420486,
-0.01792953349649906,
-0.008202562108635902,
0.05058911442756653,
-0.013604465872049332,
0.03270389512181282,
-0.018824681639671326,
-0.02478051371872425,
-0.012115508317947388,
0.018124517053365707,
-0.01766364835202694,
-0.061259981244802475,
-0.0010037171887233853,
0.01321450062096119,
-0.0785602554678917,
-0.005308843683451414,
0.006026734132319689,
0.07249806821346283,
-0.002279966836795211,
0.014331219717860222,
0.03438783809542656,
-0.039138320833444595,
0.014800949953496456,
-0.011176046915352345,
-0.03800387680530548,
-0.07352615892887115,
-0.012576376087963581,
0.06434424966573715,
-0.051865365356206894,
-0.029141033068299294,
0.046228595077991486,
0.07643316686153412,
0.009633911773562431,
-0.012673867866396904,
0.03417512774467468,
0.02260025404393673,
0.05062456801533699,
0.007285258267074823,
-0.019764143973588943,
0.011583738029003143,
-0.02006547898054123,
0.002446145052090287,
0.008012011647224426,
0.01850561983883381,
-0.03304068371653557,
0.004834681749343872,
0.06937834620475769,
-0.05810480937361717,
0.06193355843424797,
-0.030718619003891945,
0.034813251346349716,
0.027120303362607956,
0.04438512399792671,
-0.042258042842149734,
0.03140991926193237,
-0.06813754886388779,
-0.05431151017546654,
-0.01550997793674469,
-0.028290199115872383,
-0.03821658343076706,
-0.0005386947887018323,
-0.03690488263964653,
-0.012328216806054115,
0.0533897764980793,
-0.01598857156932354,
0.018594248220324516,
-0.030328653752803802,
0.05062456801533699,
0.03328884392976761,
-0.018470168113708496,
0.02018955908715725,
0.017380038276314735,
0.024620981886982918,
0.029974140226840973,
0.004313989542424679,
-0.0012053468963131309,
0.04881654679775238,
-0.08302712440490723,
0.0012142097111791372,
-0.004932173062115908,
0.04633495211601257,
-0.016529204323887825,
-0.011114006862044334,
0.006749055813997984,
0.061862654983997345,
-0.020384542644023895,
0.01208891998976469,
0.03786206990480423,
-0.019693240523338318,
-0.019019663333892822,
-0.06225261837244034,
0.03103768080472946,
0.020951764658093452,
0.01293088961392641,
-0.05594227463006973,
-0.06264258176088333,
-0.016865992918610573,
-0.0010253202635794878,
0.04314432665705681,
0.00580516317859292,
-0.007524555083364248,
-0.0006624975940212607
] |
18,460 | fs.base | filterdir | Get an iterator of resource info, filtered by patterns.
This method enhances `~fs.base.FS.scandir` with additional
filtering functionality.
Arguments:
path (str): A path to a directory on the filesystem.
files (list, optional): A list of UNIX shell-style patterns
to filter file names, e.g. ``['*.py']``.
dirs (list, optional): A list of UNIX shell-style patterns
to filter directory names.
exclude_dirs (list, optional): A list of patterns used
to exclude directories.
exclude_files (list, optional): A list of patterns used
to exclude files.
namespaces (list, optional): A list of namespaces to include
in the resource information, e.g. ``['basic', 'access']``.
page (tuple, optional): May be a tuple of ``(<start>, <end>)``
indexes to return an iterator of a subset of the resource
info, or `None` to iterate over the entire directory.
Paging a directory scan may be necessary for very large
directories.
Returns:
~collections.abc.Iterator: an iterator of `Info` objects.
| def filterdir(
self,
path, # type: Text
files=None, # type: Optional[Iterable[Text]]
dirs=None, # type: Optional[Iterable[Text]]
exclude_dirs=None, # type: Optional[Iterable[Text]]
exclude_files=None, # type: Optional[Iterable[Text]]
namespaces=None, # type: Optional[Collection[Text]]
page=None, # type: Optional[Tuple[int, int]]
):
# type: (...) -> Iterator[Info]
"""Get an iterator of resource info, filtered by patterns.
This method enhances `~fs.base.FS.scandir` with additional
filtering functionality.
Arguments:
path (str): A path to a directory on the filesystem.
files (list, optional): A list of UNIX shell-style patterns
to filter file names, e.g. ``['*.py']``.
dirs (list, optional): A list of UNIX shell-style patterns
to filter directory names.
exclude_dirs (list, optional): A list of patterns used
to exclude directories.
exclude_files (list, optional): A list of patterns used
to exclude files.
namespaces (list, optional): A list of namespaces to include
in the resource information, e.g. ``['basic', 'access']``.
page (tuple, optional): May be a tuple of ``(<start>, <end>)``
indexes to return an iterator of a subset of the resource
info, or `None` to iterate over the entire directory.
Paging a directory scan may be necessary for very large
directories.
Returns:
~collections.abc.Iterator: an iterator of `Info` objects.
"""
resources = self.scandir(path, namespaces=namespaces)
filters = []
def match_dir(patterns, info):
# type: (Optional[Iterable[Text]], Info) -> bool
"""Pattern match info.name."""
return info.is_file or self.match(patterns, info.name)
def match_file(patterns, info):
# type: (Optional[Iterable[Text]], Info) -> bool
"""Pattern match info.name."""
return info.is_dir or self.match(patterns, info.name)
def exclude_dir(patterns, info):
# type: (Optional[Iterable[Text]], Info) -> bool
"""Pattern match info.name."""
return info.is_file or not self.match(patterns, info.name)
def exclude_file(patterns, info):
# type: (Optional[Iterable[Text]], Info) -> bool
"""Pattern match info.name."""
return info.is_dir or not self.match(patterns, info.name)
if files:
filters.append(partial(match_file, files))
if dirs:
filters.append(partial(match_dir, dirs))
if exclude_dirs:
filters.append(partial(exclude_dir, exclude_dirs))
if exclude_files:
filters.append(partial(exclude_file, exclude_files))
if filters:
resources = (
info for info in resources if all(_filter(info) for _filter in filters)
)
iter_info = iter(resources)
if page is not None:
start, end = page
iter_info = itertools.islice(iter_info, start, end)
return iter_info
| (self, path, files=None, dirs=None, exclude_dirs=None, exclude_files=None, namespaces=None, page=None) | [
0.035602912306785583,
-0.014429068192839622,
-0.006631042342633009,
-0.04936936870217323,
0.015566383488476276,
0.008554588072001934,
0.03831268846988678,
-0.04841995984315872,
-0.021500201895833015,
-0.017079507932066917,
0.046085990965366364,
0.06337317824363708,
-0.008465580642223358,
0.028482329100370407,
-0.018315719440579414,
0.009207308292388916,
-0.02504071407020092,
0.08473492413759232,
-0.023339685052633286,
-0.053839512169361115,
-0.03194372355937958,
0.023913288488984108,
0.009845193475484848,
0.0774165540933609,
0.03297225013375282,
0.007684295065701008,
0.0045912922360002995,
-0.01982884295284748,
-0.011452269740402699,
0.005454168189316988,
-0.02794828452169895,
0.0617908276617527,
0.008668320253491402,
-0.050160545855760574,
-0.05372083559632301,
-0.03222063556313515,
-0.01522024441510439,
0.024328656494617462,
-0.03194372355937958,
0.016941051930189133,
0.03530621901154518,
0.026741741225123405,
0.032477766275405884,
-0.01915634423494339,
0.013242305256426334,
0.014349951408803463,
-0.008836444467306137,
-0.03429747000336647,
-0.05091216415166855,
0.04822216555476189,
-0.01899810880422592,
-0.009138080291450024,
-0.004976990167051554,
-0.027453800663352013,
0.05134730786085129,
0.05415598303079605,
-0.04019172862172127,
0.021144172176718712,
0.07848463952541351,
-0.023853950202465057,
0.037343498319387436,
-0.024506669491529465,
0.01621910370886326,
0.025673653930425644,
-0.05352304130792618,
-0.01617954485118389,
-0.05035834014415741,
-0.09209286421537399,
-0.054235100746154785,
0.06772464513778687,
-0.03202284127473831,
-0.00552339619025588,
0.03847092390060425,
0.041022464632987976,
-0.01860252022743225,
-0.010013318620622158,
-0.01527958270162344,
0.023577038198709488,
0.026187919080257416,
-0.06183038651943207,
0.01527958270162344,
-0.01104679238051176,
-0.011610505171120167,
-0.017979469150304794,
0.0527714267373085,
0.033090926706790924,
0.03799621760845184,
-0.07073111832141876,
0.023003436625003815,
0.057914067059755325,
-0.02476380206644535,
-0.015596052631735802,
0.03916320204734802,
0.010136939585208893,
0.021401304751634598,
0.05372083559632301,
0.010562197305262089,
-0.014399399049580097,
0.0264450516551733,
-0.014933442696928978,
0.02369571477174759,
-0.02798784337937832,
0.031310781836509705,
-0.015012560412287712,
0.031983282417058945,
-0.024170421063899994,
-0.0647972971200943,
0.012213775888085365,
0.002897681435570121,
-0.011066571809351444,
-0.0031869548838585615,
0.010502859018743038,
0.034989748150110245,
-0.012114879675209522,
-0.006972236558794975,
-0.027077991515398026,
-0.07619022578001022,
-0.055619657039642334,
-0.013479657471179962,
-0.03680945560336113,
-0.008445801213383675,
0.031370121985673904,
-0.012708261609077454,
0.017949800938367844,
-0.027592256665229797,
-0.03841158375144005,
0.020511232316493988,
-0.009167749434709549,
-0.006166226230561733,
0.046204667538404465,
-0.0651533231139183,
0.03392166271805763,
0.00408444507047534,
0.02197490818798542,
0.026247257366776466,
-0.009924311190843582,
0.006275013089179993,
0.01670369878411293,
-0.05771627277135849,
0.07662537693977356,
0.034890852868556976,
0.02593078650534153,
0.002544124610722065,
0.02610880136489868,
-0.022904539480805397,
-0.03894563019275665,
0.039618127048015594,
-0.0010242017451673746,
0.015418038703501225,
0.04379158094525337,
-0.035266660153865814,
-0.039004966616630554,
0.03829290717840195,
0.05134730786085129,
0.03255688399076462,
0.0008919271058402956,
-0.03166681155562401,
0.02086726203560829,
-0.026128580793738365,
-0.03665122017264366,
-0.01588285341858864,
-0.019561821594834328,
-0.035167764872312546,
0.03176570683717728,
-0.019383806735277176,
0.015418038703501225,
-0.07389581948518753,
0.0146367521956563,
0.015467486344277859,
-0.03613695502281189,
0.030974531546235085,
-0.03546445444226265,
-0.04323775693774223,
-0.030756959691643715,
-0.07963184267282486,
0.023853950202465057,
0.04576952010393143,
0.0014315337175503373,
-0.00230677193030715,
0.03000534139573574,
0.011175357736647129,
-0.04521569609642029,
-0.02053101174533367,
0.015368590131402016,
0.004423167090862989,
0.017801456153392792,
0.015329031273722649,
-0.0068931193090975285,
0.04236746206879616,
0.0011478230590000749,
-0.06843670457601547,
0.025891227647662163,
0.0006227418780326843,
0.007788136601448059,
-0.07662537693977356,
-0.022073805332183838,
-0.016159765422344208,
-0.03617651388049126,
0.05304833874106407,
-0.009029293432831764,
-0.017217963933944702,
0.020926600322127342,
0.04122025892138481,
0.0028457604348659515,
0.0008641122840344906,
0.009622675366699696,
-0.03467328101396561,
0.038906071335077286,
-0.04019172862172127,
0.06630053371191025,
-0.01839483715593815,
-0.03809511289000511,
0.02994600310921669,
-0.06649832427501678,
-0.006077219266444445,
0.03174592927098274,
0.030321812257170677,
-0.0115709463134408,
-0.023003436625003815,
0.005172311794012785,
-0.015516934916377068,
0.04311908036470413,
-0.04220923036336899,
-0.04509701952338219,
-0.00004523764073383063,
-0.050674811005592346,
0.05597568675875664,
0.01394447311758995,
-0.009083687327802181,
-0.06531155854463577,
0.03746217489242554,
-0.02393306791782379,
0.0373830571770668,
-0.005454168189316988,
-0.037501733750104904,
-0.023794611915946007,
0.053839512169361115,
-0.0007645972073078156,
-0.03491063043475151,
-0.01781134493649006,
0.0016540519427508116,
0.015714729204773903,
-0.010334733873605728,
0.010028152726590633,
-0.028798798099160194,
-0.04141805320978165,
-0.007140361703932285,
-0.0022091111168265343,
0.017425647005438805,
-0.008421077392995358,
0.008653485216200352,
-0.03793687745928764,
-0.037837982177734375,
-0.058744803071022034,
0.01768277958035469,
-0.013588444329798222,
-0.05921950936317444,
-0.016298221424221992,
0.03787754103541374,
-0.0068486155942082405,
-0.00171091768424958,
-0.015200464986264706,
-0.03849070146679878,
0.033150266855955124,
0.027236226946115494,
-0.017524544149637222,
0.0401521697640419,
-0.04379158094525337,
-0.02699887380003929,
0.01805858686566353,
-0.02409130334854126,
0.034831512719392776,
0.007995820604264736,
0.04260481521487236,
-0.038174230605363846,
0.01839483715593815,
0.03184482455253601,
-0.041694965213537216,
-0.012193996459245682,
0.01135337259620428,
-0.010750100947916508,
0.01998707838356495,
-0.06032715365290642,
-0.010789659805595875,
0.07923625409603119,
-0.0016899020411074162,
-0.038569819182157516,
0.06772464513778687,
-0.06285891681909561,
0.02213314361870289,
0.05985244736075401,
-0.030302032828330994,
-0.01661469228565693,
-0.0770605206489563,
0.037106145173311234,
0.013568664900958538,
-0.021282628178596497,
-0.11392931640148163,
0.0008152819355018437,
-0.07199699431657791,
-0.05581745132803917,
-0.03340739756822586,
0.09019403904676437,
0.019749725237488747,
0.000571439100895077,
-0.014458737336099148,
-0.00663598719984293,
0.01322252582758665,
-0.029411960393190384,
0.009642454795539379,
0.02593078650534153,
-0.0765858143568039,
0.027968063950538635,
-0.034159015864133835,
-0.03809511289000511,
-0.08940286189317703,
0.0016416897997260094,
0.05755803734064102,
-0.07531993836164474,
0.055342745035886765,
-0.008223283104598522,
0.08837433904409409,
-0.04735187068581581,
-0.0021485367324203253,
0.005073414649814367,
0.028541667386889458,
0.012985172681510448,
0.015566383488476276,
0.013192856684327126,
0.01946292445063591,
-0.00959300622344017,
0.022291377186775208,
-0.006601373199373484,
0.01374667976051569,
0.0033822765108197927,
0.061869945377111435,
0.021777113899588585,
-0.01900799758732319,
0.027730710804462433,
0.0025255815126001835,
0.030203135684132576,
-0.008707878179848194,
-0.043870698660612106,
-0.016753148287534714,
-0.04137849435210228,
-0.034159015864133835,
0.03148879483342171,
-0.000927777262404561,
0.02893725410103798,
0.019166233018040657,
0.10087491571903229,
0.002959491917863488,
0.002643021522089839,
0.02816585823893547,
-0.01262914389371872,
0.002521872753277421,
-0.03459416329860687,
0.0685158222913742,
-0.007575508207082748,
0.006364020518958569,
0.04125981777906418,
0.06669612228870392,
-0.04541349038481712,
-0.016159765422344208,
0.009108411148190498,
-0.050437457859516144,
0.008633705787360668,
0.011422600597143173,
0.024348435923457146,
-0.07041464745998383,
0.011689621955156326,
0.012747819535434246,
-0.002032332820817828,
-0.06701259315013885,
0.04992319270968437,
-0.05376039445400238,
0.02587144821882248,
0.020214540883898735,
-0.01781134493649006,
0.11677754670381546,
-0.0278889462351799,
0.09217198193073273,
0.0586656853556633,
0.0011966533493250608,
0.023675935342907906,
-0.03016357682645321,
0.03643364459276199,
-0.020728806033730507,
-0.02476380206644535,
-0.019789284095168114,
0.0146367521956563,
-0.013538995757699013,
0.01382579654455185,
0.017049837857484818,
-0.005320657044649124,
-0.02464512549340725,
0.023221010342240334,
-0.006359075661748648,
-0.04588819667696953,
-0.024882478639483452,
0.0058695352636277676,
-0.040903788059949875,
0.00032326948712579906,
0.05957553908228874,
0.028541667386889458,
-0.039281878620386124,
0.11970489472150803,
-0.0009086159407161176,
-0.03657210245728493,
0.05162421986460686,
0.014933442696928978,
-0.09225109964609146,
0.03447548672556877,
0.028818577527999878,
0.0006113069248385727,
0.004361356608569622,
-0.05308789759874344,
0.013895024545490742,
0.037284158170223236,
-0.006275013089179993,
0.020273879170417786,
-0.10198255628347397,
0.03680945560336113,
0.007896923460066319,
0.04699584096670151,
-0.04193231835961342,
-0.0025762661825865507,
-0.036057837307453156,
-0.01587296463549137,
0.016298221424221992,
0.001374667976051569,
-0.032932691276073456,
-0.026899976655840874,
-0.05482848361134529,
0.02448689006268978,
-0.02660328522324562,
-0.06986082345247269,
-0.04438496381044388,
-0.019957410171628,
-0.017237743362784386,
-0.026128580793738365,
-0.004279766697436571,
0.04438496381044388,
-0.025337405502796173,
-0.03829290717840195,
0.007011795416474342,
-0.0036863847635686398,
0.07437052577733994,
0.012213775888085365,
-0.053008779883384705,
0.005459113046526909,
-0.010423741303384304,
0.005078359507024288,
-0.041457612067461014,
0.018365168944001198,
0.009543557651340961,
0.05747891962528229,
0.04343555122613907,
-0.0491715744137764,
-0.003908902872353792,
0.04766834154725075,
-0.010977564379572868,
0.019205791875720024,
-0.03273489698767662,
0.06396656483411789,
-0.019848622381687164,
-0.009365543723106384,
0.030302032828330994,
0.001374667976051569,
-0.06570714712142944,
0.002036041347309947,
0.017049837857484818,
-0.05621303990483284,
0.029866885393857956,
0.02280564233660698,
0.010136939585208893,
-0.03380298614501953,
-0.01606086827814579,
-0.01731686107814312,
-0.006354130804538727,
0.05201980844140053,
-0.010354513302445412,
0.03643364459276199,
-0.010898446664214134,
-0.055461421608924866,
-0.0686345025897026,
0.07888022810220718,
0.022686965763568878,
0.014399399049580097,
-0.0186915285885334,
0.05482848361134529,
0.009894642047584057,
-0.02525828778743744,
-0.011966533958911896,
-0.04944848641753197,
0.010146829299628735,
-0.05633171647787094,
0.014429068192839622,
0.028185637667775154,
-0.00673488387838006,
0.0014080456458032131,
-0.07120582461357117,
0.027869166806340218,
0.02197490818798542,
0.010013318620622158,
0.055738333612680435,
0.0017158625414595008,
-0.03267556056380272,
0.016139985993504524,
0.0022499060723930597,
0.03562268987298012,
-0.020511232316493988,
-0.014270833693444729,
0.007595287635922432,
0.020214540883898735,
-0.03439636901021004,
0.002021207008510828,
-0.016298221424221992,
0.005056107882410288,
0.006378854624927044,
-0.05743936449289322,
0.003058388829231262,
0.013202746398746967,
-0.001181200728751719,
0.02335946448147297,
-0.04830128327012062,
0.00552339619025588,
-0.06634008884429932,
0.007135416846722364,
0.018028918653726578,
0.011561056599020958,
0.0010180206736549735,
-0.031825046986341476,
-0.04944848641753197,
0.0554218627512455,
-0.01689160242676735,
0.019195903092622757,
-0.005414609331637621,
0.01299506239593029,
0.01351921632885933,
0.058072302490472794,
0.0337238684296608,
0.028244975954294205,
-0.02393306791782379,
0.030460268259048462,
-0.05427465960383415,
-0.025831889361143112,
-0.038233570754528046,
0.10601755976676941,
0.03267556056380272,
-0.003169648116454482,
-0.09541580080986023,
-0.047312311828136444,
0.053008779883384705,
0.03876761347055435,
0.053958188742399216,
0.032932691276073456,
-0.026029683649539948,
-0.051505543291568756,
0.010572086088359356,
-0.033150266855955124,
0.0589030385017395,
-0.052336279302835464,
-0.04355422779917717,
0.05823053792119026,
-0.009187528863549232,
0.06578626483678818,
-0.011116019450128078,
0.026168139651417732,
-0.028086740523576736,
0.014369729906320572,
0.010102326050400734,
-0.03793687745928764,
0.04521569609642029,
-0.017386088147759438,
0.05459113046526909,
-0.0007250384660437703,
-0.0058299764059484005,
0.02654394879937172,
-0.02749335952103138,
0.04857819527387619,
-0.060643624514341354,
0.06463906168937683,
-0.04624422639608383,
-0.013904914259910583,
-0.004722330719232559,
0.03364475071430206,
0.025554977357387543,
-0.019759615883231163,
0.028798798099160194,
0.02403196506202221,
-0.07108714431524277,
-0.002687525236979127,
-0.01368734147399664,
0.00004029279079986736,
0.0032907968852669,
-0.011778629384934902,
-0.05985244736075401,
-0.03829290717840195,
0.02448689006268978,
-0.06337317824363708,
0.024546228349208832,
-0.0037852816749364138,
0.005053635220974684,
-0.005815142299979925,
-0.006161281373351812,
0.06776420772075653,
-0.034376587718725204,
-0.06606318056583405,
0.04133893549442291,
-0.014478516764938831,
0.03459416329860687,
0.04802437126636505,
-0.0023389135021716356,
0.06543023884296417,
0.013370870612561703,
-0.03394144028425217,
0.010918226093053818,
0.021777113899588585,
-0.05154510214924812,
-0.0765858143568039,
-0.0025070381816476583,
-0.01765310950577259,
0.05407686531543732,
-0.00043143806396983564,
0.03340739756822586,
0.0073727695271372795,
-0.004541843663901091,
-0.025080272927880287,
0.0009685722179710865,
0.012708261609077454,
-0.01689160242676735,
-0.006952457129955292,
0.04177408292889595,
-0.033090926706790924,
-0.0064381929114460945,
0.0059981015510857105,
-0.011195137165486813,
-0.026741741225123405,
-0.00743210781365633,
0.012184107676148415,
-0.0337832048535347,
0.01017649844288826,
-0.014953222125768661,
-0.039064303040504456,
0.03364475071430206,
-0.011027012951672077,
-0.029471298679709435,
0.07207611203193665,
-0.03769952803850174,
-0.007476611062884331,
0.025020934641361237,
-0.046204667538404465,
-0.03111298754811287,
-0.004981935024261475,
0.024229759350419044,
0.002329023787751794,
0.020313438028097153,
0.007402438670396805,
0.037284158170223236,
0.041694965213537216,
-0.013598334044218063,
0.026524169370532036,
-0.018473954871296883,
-0.021322187036275864,
-0.02709777094423771,
0.028126299381256104,
-0.01584329456090927,
0.03904452547430992,
0.01163028459995985,
0.004366301465779543,
0.04236746206879616,
0.018028918653726578,
-0.04367290437221527,
0.004796503111720085,
0.02743402123451233,
-0.042802609503269196,
-0.009222142398357391,
0.0037284158170223236,
-0.023913288488984108,
-0.06270068138837814,
0.027295565232634544,
0.02877901867032051,
0.09161815792322159,
0.025139611214399338,
0.04739142954349518,
-0.040626876056194305,
-0.04984407499432564,
0.029194386675953865,
0.029095489531755447,
-0.00816889014095068,
0.006462917197495699,
0.041299376636743546,
-0.04161584749817848,
0.012708261609077454,
0.08157022297382355,
0.05688554048538208,
-0.009311149828135967,
0.0526527501642704,
-0.020946379750967026,
0.029372401535511017,
0.00453689880669117,
0.029847105965018272,
-0.018562961369752884,
-0.026959314942359924,
-0.0014055732171982527,
-0.01933435909450054,
0.01731686107814312,
0.010997343808412552,
0.023181451484560966,
-0.006388744339346886,
0.06258200854063034,
-0.014142267405986786,
0.004658047575503588,
-0.03184482455253601,
-0.0526527501642704,
0.06361053138971329,
-0.028620785102248192,
0.09541580080986023,
-0.030519606545567513,
0.068278469145298,
-0.031033869832754135,
-0.011847857385873795,
0.031033869832754135,
-0.02559453621506691,
0.046046432107686996,
0.007179920561611652,
-0.03665122017264366,
0.01533892098814249,
-0.011689621955156326,
0.01327197439968586,
0.022845201194286346,
-0.021994687616825104,
0.03127122297883034,
-0.006645876448601484,
-0.01784101501107216,
0.01817726343870163,
-0.0015910051297396421,
-0.0185431819409132,
0.005162422079592943,
-0.00011504499707370996,
0.09407079964876175,
-0.015071898698806763,
0.0010439811740070581,
-0.04818260669708252,
-0.008243062533438206,
0.04509701952338219,
-0.013786238618195057,
-0.016387227922677994,
0.019957410171628,
0.03214151784777641,
-0.03459416329860687,
-0.023181451484560966,
0.04861775413155556,
-0.037719305604696274,
-0.0003433579404372722,
0.041694965213537216,
-0.05716245248913765,
0.010047932155430317,
0.0017850904259830713,
0.006359075661748648,
0.006210729945451021,
0.01522024441510439,
-0.010413851588964462,
0.07713963836431503,
0.03582048416137695,
0.016327889636158943,
0.015714729204773903
] |
18,461 | fs.base | getbasic | Get the *basic* resource info.
This method is shorthand for the following::
fs.getinfo(path, namespaces=['basic'])
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.info.Info: Resource information object for ``path``.
Note:
.. deprecated:: 2.4.13
Please use `~FS.getinfo` directly, which is
required to always return the *basic* namespace.
| def getbasic(self, path):
# type: (Text) -> Info
"""Get the *basic* resource info.
This method is shorthand for the following::
fs.getinfo(path, namespaces=['basic'])
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.info.Info: Resource information object for ``path``.
Note:
.. deprecated:: 2.4.13
Please use `~FS.getinfo` directly, which is
required to always return the *basic* namespace.
"""
warnings.warn(
"method 'getbasic' has been deprecated, please use 'getinfo'",
DeprecationWarning,
)
return self.getinfo(path, namespaces=["basic"])
| (self, path) | [
0.060005806386470795,
0.007895948365330696,
0.017024310305714607,
-0.02412131428718567,
0.0674852803349495,
-0.029645927250385284,
0.026892120018601418,
0.01662483811378479,
0.03177078068256378,
-0.03719339892268181,
0.01282560359686613,
0.013565052300691605,
-0.024172309786081314,
-0.00549486605450511,
-0.010020799934864044,
0.009128361940383911,
0.0007224495057016611,
0.014448990114033222,
-0.05018049106001854,
-0.03365764766931534,
0.007067256141453981,
-0.00044568759039975703,
0.05133641138672829,
-0.012154150754213333,
0.014508485794067383,
0.07731059938669205,
0.019684623926877975,
-0.05177837982773781,
0.04103513062000275,
-0.0862179771065712,
-0.02403631992638111,
-0.011304209940135479,
-0.02993490733206272,
-0.001516081509180367,
-0.013012590818107128,
0.026297161355614662,
-0.022659417241811752,
-0.029441941529512405,
-0.05147240310907364,
0.009952804073691368,
-0.006272561382502317,
-0.004593928810209036,
-0.034490589052438736,
-0.03488156199455261,
0.046168774366378784,
0.028609000146389008,
0.00541412178426981,
0.003924600780010223,
-0.01136370562016964,
0.022149451076984406,
0.019344648346304893,
0.02617816999554634,
-0.04453688859939575,
0.0014682724140584469,
-0.023628348484635353,
-0.03936924785375595,
-0.016709832474589348,
0.01803573966026306,
-0.02337336726486683,
0.02102752961218357,
0.062385641038417816,
-0.008019189350306988,
-0.030920838937163353,
-0.031039830297231674,
-0.019106663763523102,
0.01082824356853962,
0.008027688600122929,
-0.03306268900632858,
0.011788676492869854,
-0.011193717829883099,
0.0005229790695011616,
0.03275671228766441,
-0.03374264016747475,
0.008359165862202644,
0.03316468372941017,
-0.048854585736989975,
-0.05419221147894859,
-0.03401462361216545,
0.04518284276127815,
-0.02950993739068508,
-0.03811133652925491,
-0.03528953343629837,
0.0009375907247886062,
-0.02102752961218357,
-0.04004920274019241,
-0.021690484136343002,
0.05181238055229187,
-0.07234694063663483,
0.005622357130050659,
0.048956576734781265,
0.0055118645541369915,
0.04528483375906944,
-0.027827054262161255,
0.02969692461192608,
0.03902927041053772,
-0.07030708342790604,
-0.003975597210228443,
-0.026467150077223778,
-0.003567625768482685,
0.0009253728203475475,
-0.05698001757264137,
-0.02434229850769043,
-0.04545482248067856,
0.003845981089398265,
-0.021299511194229126,
0.05762597173452377,
0.03161779046058655,
0.01099823135882616,
0.03197476640343666,
-0.00022457024897448719,
-0.027640068903565407,
-0.03289270028471947,
0.013531054370105267,
-0.0010682691354304552,
-0.00034210109151899815,
-0.012689612805843353,
0.008189178071916103,
-0.023135382682085037,
-0.007360485382378101,
-0.028167031705379486,
-0.007415731903165579,
0.0009423716110177338,
-0.006973762530833483,
-0.05708201229572296,
0.008571650832891464,
0.07581470161676407,
-0.06547942012548447,
-0.04089914262294769,
-0.00360587309114635,
0.01141470205038786,
0.017338788136839867,
0.0032064008992165327,
-0.004207205958664417,
0.0787384957075119,
0.03528953343629837,
-0.06524144113063812,
0.02369634434580803,
0.03197476640343666,
-0.01480596512556076,
0.10260482877492905,
0.005384373478591442,
-0.03440559655427933,
-0.016862820833921432,
-0.02240443415939808,
-0.020109593868255615,
-0.014627478085458279,
0.0502144917845726,
-0.08581000566482544,
-0.03226374462246895,
-0.00042018937529064715,
0.026671135798096657,
-0.005380123853683472,
0.021486498415470123,
-0.052594322711229324,
0.030376877635717392,
0.008890378288924694,
-0.00573709886521101,
-0.02714710310101509,
0.010233284905552864,
-0.06983111798763275,
-0.05752398073673248,
0.03166878595948219,
-0.018052738159894943,
-0.05300229415297508,
0.006004830356687307,
0.03552751615643501,
-0.061841677874326706,
-0.033096686005592346,
0.016055377200245857,
-0.009612828493118286,
-0.009961304254829884,
-0.02328837290406227,
-0.07221095263957977,
0.003467757720500231,
0.05480416864156723,
-0.052288345992565155,
-0.020092595368623734,
0.06476547569036484,
0.049160562455654144,
-0.03054686449468136,
0.02478426694869995,
-0.029441941529512405,
-0.07935045659542084,
0.009204857051372528,
-0.015613408759236336,
0.01963362842798233,
0.06989911198616028,
-0.016548343002796173,
0.051846377551555634,
0.0395052395761013,
-0.02262541837990284,
0.05242433771491051,
0.01919165812432766,
0.032025761902332306,
0.034371599555015564,
-0.07159899920225143,
0.014508485794067383,
-0.04215705394744873,
0.027759060263633728,
0.01886868104338646,
0.026195168495178223,
0.05500815436244011,
0.007003510370850563,
0.05205036327242851,
0.0056351060047745705,
0.028575003147125244,
0.022234445437788963,
0.01608937606215477,
-0.11328008025884628,
0.10566461831331253,
-0.008040438406169415,
0.03226374462246895,
0.019973604008555412,
-0.02328837290406227,
0.015919387340545654,
0.00906886626034975,
0.025226237252354622,
0.005771096795797348,
-0.01517993863672018,
0.031141823157668114,
0.042633019387722015,
0.012001161463558674,
0.050554465502500534,
-0.0035145042929798365,
-0.050860445946455,
0.0055118645541369915,
0.017542773857712746,
0.009561832062900066,
-0.043482959270477295,
-0.05748998373746872,
0.06700931489467621,
-0.03773736208677292,
0.0010263032745569944,
-0.02004159986972809,
-0.07792255282402039,
0.0015139566967263818,
0.02282940410077572,
0.016267862170934677,
0.025022251531481743,
-0.05558611452579498,
0.028897980228066444,
0.015570911578834057,
-0.03355565294623375,
0.04535283148288727,
-0.03525553643703461,
-0.07982642203569412,
-0.05752398073673248,
-0.022030459716916084,
0.006463798228651285,
-0.055382128804922104,
0.03280770778656006,
0.002122726757079363,
-0.03467757627367973,
0.003221274819225073,
-0.017933746799826622,
-0.03698941320180893,
-0.12089554965496063,
-0.07153099775314331,
-0.006599788554012775,
-0.023781338706612587,
-0.011797175742685795,
-0.011397703550755978,
-0.015953384339809418,
0.008720390498638153,
0.004755417816340923,
0.01973562128841877,
0.017508776858448982,
-0.012893598526716232,
0.021401504054665565,
-0.027810055762529373,
0.02928895317018032,
0.022030459716916084,
-0.006659284699708223,
-0.012944594956934452,
-0.027963045984506607,
-0.01630186103284359,
0.022064458578824997,
0.01335256639868021,
0.008830882608890533,
0.003618622198700905,
-0.04987451434135437,
0.0014363996451720595,
-0.022778408601880074,
-0.025702204555273056,
-0.016123373061418533,
-0.008779886178672314,
-0.035459522157907486,
0.012519625015556812,
-0.07302689552307129,
-0.007513474673032761,
0.03024088591337204,
0.02165648713707924,
-0.08968573063611984,
-0.02038157545030117,
0.07765056937932968,
0.010479767806828022,
-0.08404212445020676,
-0.017865750938653946,
0.002613567281514406,
-0.03783935680985451,
0.010581760667264462,
-0.035221539437770844,
-0.08064236491918564,
0.022115454077720642,
-0.00544386962428689,
-0.02723209746181965,
0.028167031705379486,
0.027538076043128967,
-0.03454158455133438,
0.023135382682085037,
0.016862820833921432,
-0.035663507878780365,
0.041681088507175446,
0.05018049106001854,
-0.04062715917825699,
0.01973562128841877,
-0.020721551030874252,
0.016327358782291412,
-0.000505449075717479,
0.025124244391918182,
-0.044366899877786636,
0.02779305726289749,
0.038349319249391556,
-0.00750497542321682,
-0.0008281608461402357,
-0.017092306166887283,
0.008737388998270035,
-0.019497636705636978,
0.008788385428488255,
0.08295420557260513,
-0.031141823157668114,
0.06558141857385635,
0.02361134998500347,
-0.03262072056531906,
-0.05752398073673248,
0.05018049106001854,
-0.012060657143592834,
-0.024427292868494987,
-0.06272561848163605,
-0.017780756577849388,
0.03270571306347847,
-0.0015447670593857765,
-0.018256723880767822,
-0.010258782655000687,
-0.03688742220401764,
-0.020245585590600967,
0.05062246322631836,
-0.0323997363448143,
0.04236103966832161,
-0.07581470161676407,
-0.02830302156507969,
-0.06704331189393997,
-0.049160562455654144,
0.045862793922424316,
-0.020738551393151283,
0.008252923376858234,
0.007883199490606785,
0.02294839546084404,
0.0456928052008152,
0.00969782192260027,
0.014338498003780842,
0.009247353300452232,
-0.02961193025112152,
-0.009842311963438988,
-0.043380968272686005,
-0.07595068961381912,
0.0505884625017643,
0.07567871361970901,
0.007836452685296535,
0.027691064402461052,
-0.019259653985500336,
-0.03078484907746315,
-0.016803326085209846,
-0.04157909378409386,
-0.020874541252851486,
0.010360775515437126,
0.036649439483881,
-0.02874499186873436,
-0.03613947331905365,
-0.028676996007561684,
0.05681002885103226,
0.07826253026723862,
-0.04803864285349846,
-0.016437850892543793,
-0.001802936545573175,
-0.04130711406469345,
-0.055620111525058746,
0.024427292868494987,
-0.03977721929550171,
0.00769196217879653,
0.017134802415966988,
-0.02701111137866974,
-0.039947208017110825,
-0.011304209940135479,
0.0036122475285083055,
0.00037131778663024306,
0.030155891552567482,
0.004132836125791073,
-0.006973762530833483,
0.05256032571196556,
0.040797147899866104,
-0.0057116006501019,
0.006349056027829647,
-0.02991790883243084,
-0.020245585590600967,
-0.04185107350349426,
0.06772326678037643,
-0.036275465041399,
-0.024104315787553787,
-0.016888320446014404,
0.05949584022164345,
0.0680292472243309,
-0.012689612805843353,
0.03154979646205902,
0.029747920110821724,
0.002029233146458864,
-0.024189310148358345,
0.020534565672278404,
0.0073349871672689915,
0.02080654539167881,
-0.003293519839644432,
0.010539263486862183,
-0.03981121629476547,
0.026994112879037857,
-0.007628216873854399,
0.0052016363479197025,
-0.01866469532251358,
0.02305038832128048,
0.021214516833424568,
0.010717750526964664,
0.021316509693861008,
-0.02208145707845688,
-0.001108110067434609,
-0.039301253855228424,
-0.0338786318898201,
-0.01292759645730257,
-0.049704525619745255,
-0.024325300008058548,
0.0037291143089532852,
-0.03154979646205902,
0.03226374462246895,
0.009519334882497787,
0.049160562455654144,
0.02327137440443039,
0.02852400578558445,
-0.017185799777507782,
-0.061297714710235596,
0.03967522829771042,
0.08064236491918564,
-0.07139500975608826,
-0.025124244391918182,
-0.04259902238845825,
0.07200697064399719,
0.026552144438028336,
-0.024257304146885872,
-0.0013705291785299778,
0.01736428588628769,
0.04470687359571457,
0.0053248777985572815,
-0.0017360036727041006,
-0.06252162903547287,
0.023900330066680908,
-0.023628348484635353,
-0.03933525085449219,
0.036003485321998596,
-0.015494417399168015,
0.024614280089735985,
0.054668180644512177,
-0.04365294799208641,
-0.0411711223423481,
-0.009366345591843128,
0.009128361940383911,
-0.05558611452579498,
0.010411771945655346,
0.05266232043504715,
0.03275671228766441,
-0.050860445946455,
0.01907266676425934,
0.02146949991583824,
-0.04297299683094025,
0.0322127491235733,
0.007122502196580172,
-0.021928466856479645,
0.0018624323420226574,
-0.016692833974957466,
-0.039947208017110825,
0.02135050855576992,
0.0369214192032814,
0.035867493599653244,
-0.04967052862048149,
0.04470687359571457,
0.047800660133361816,
-0.05422620847821236,
0.0262631643563509,
-0.00040053451084531844,
0.03199176490306854,
-0.00959582906216383,
-0.018069736659526825,
-0.010054796934127808,
0.07119102776050568,
0.0020504817366600037,
-0.08370214700698853,
-0.004721419885754585,
0.028184030205011368,
-0.013718041591346264,
0.05167638882994652,
-0.0322127491235733,
-0.016378356143832207,
0.07996241003274918,
0.016599340364336967,
-0.009587329812347889,
0.011916167102754116,
0.046610742807388306,
0.015213936567306519,
0.030954835936427116,
0.02979891747236252,
-0.01684582233428955,
0.02446128986775875,
0.028931977227330208,
-0.0107772471383214,
-0.02862599864602089,
0.01131270918995142,
0.0038077337667346,
0.013667045161128044,
-0.03374264016747475,
-0.04443489387631416,
-0.0347115732729435,
-0.019803615286946297,
-0.028931977227330208,
0.06435750424861908,
0.06639736145734787,
-0.0036632439587265253,
0.031583793461322784,
0.00046215520706027746,
-0.0011729180114343762,
0.04334697127342224,
-0.0049976506270468235,
-0.04501285403966904,
-0.07180298119783401,
-0.010479767806828022,
0.07765056937932968,
-0.05007850006222725,
0.020330579951405525,
0.040933139622211456,
0.03981121629476547,
-0.05599408596754074,
-0.043754942715168,
-0.0557561032474041,
0.06602338701486588,
0.00938334409147501,
-0.025600211694836617,
-0.07574670761823654,
-0.04399292543530464,
-0.010258782655000687,
0.04365294799208641,
0.02874499186873436,
0.027691064402461052,
-0.058305926620960236,
-0.0411711223423481,
-0.006098323967307806,
-0.012961594387888908,
-0.03559551388025284,
-0.02488625980913639,
0.051540397107601166,
0.01823972538113594,
0.05082644894719124,
0.021860472857952118,
0.03379363939166069,
0.00944283977150917,
-0.04695072025060654,
0.0005689290119335055,
0.0004802164330612868,
0.048514608293771744,
0.017245294526219368,
0.01844371110200882,
0.055518120527267456,
0.016012880951166153,
0.04582879692316055,
0.07091904431581497,
0.04344896227121353,
0.025821195915341377,
-0.007594219408929348,
0.03936924785375595,
-0.03270571306347847,
0.010241784155368805,
-0.014024020172655582,
-0.015035449527204037,
-0.01087923999875784,
-0.0033296423498541117,
0.010420272126793861,
-0.02852400578558445,
-0.09022969007492065,
0.05589209496974945,
-0.0463387630879879,
-0.001989923417568207,
0.021367507055401802,
-0.01844371110200882,
-0.06469748169183731,
-0.0024138311855494976,
0.04008319973945618,
-0.0076962122693657875,
-0.00541412178426981,
-0.009204857051372528,
0.017202798277139664,
-0.058339923620224,
0.07091904431581497,
0.036649439483881,
-0.02112952247262001,
-0.04300699383020401,
0.008031938225030899,
0.01073474995791912,
-0.06207966059446335,
-0.017729761078953743,
0.0379413478076458,
0.01866469532251358,
0.019055668264627457,
0.02017758972942829,
-0.024478288367390633,
-0.006497795693576336,
0.005779596045613289,
-0.011176718398928642,
-0.01062425784766674,
-0.035017553716897964,
0.029662927612662315,
-0.009621327742934227,
0.02672213315963745,
0.04130711406469345,
0.017185799777507782,
-0.01682882383465767,
0.02854100614786148,
0.03977721929550171,
-0.016488848254084587,
-0.023407364264130592,
0.015919387340545654,
-0.01438099518418312,
-0.03739738464355469,
0.0112617127597332,
0.04287100210785866,
-0.0031745280139148235,
0.09131761640310287,
-0.04708670824766159,
-0.005992081016302109,
-0.0016425101784989238,
0.0010363963665440679,
-0.016862820833921432,
0.01886868104338646,
-0.0544641949236393,
-0.027181100100278854,
0.09090964496135712,
0.003837481839582324,
-0.04674673452973366,
0.025158241391181946,
-0.029169961810112,
0.02359435148537159,
0.010471268557012081,
-0.02969692461192608,
-0.002872799290344119,
0.007993691600859165,
-0.08886978775262833,
0.009961304254829884,
-0.04793664813041687,
-0.040151193737983704,
0.0392332561314106,
0.03488156199455261,
0.004746918100863695,
0.01639535464346409,
-0.010488267056643963,
0.04528483375906944,
0.041885074228048325,
-0.018630698323249817,
0.06360955536365509,
0.09315349161624908,
0.04752867668867111,
-0.017202798277139664,
-0.035867493599653244,
0.038247328251600266,
0.02736808732151985,
-0.02048356831073761,
0.021418502554297447,
0.043380968272686005,
0.0602777861058712,
-0.0041732084937393665,
-0.023764338344335556,
0.022608419880270958,
0.022132452577352524,
0.001339718815870583,
0.03442259505391121,
-0.008388913236558437,
-0.016369855031371117,
-0.01469547301530838,
-0.06962713599205017,
-0.047664668411016464,
0.040491171181201935,
0.013896528631448746,
0.029254956170916557,
0.03539152815937996,
0.05429420620203018,
-0.021044529974460602,
0.06326957792043686,
-0.03464357927441597,
0.05181238055229187,
-0.04106913134455681,
0.020109593868255615,
-0.011533694341778755,
0.014126013033092022,
0.02209845557808876,
-0.0047044213861227036,
-0.011848172172904015,
-0.05494016036391258,
0.020245585590600967,
0.012128652073442936,
0.08057437092065811,
0.014083515852689743,
-0.01704980805516243,
0.04304099082946777,
0.007063006516546011,
-0.002583819441497326,
0.0016775702824816108,
-0.03076784871518612,
0.006570040713995695,
0.014355496503412724,
0.008218925446271896,
0.015111943706870079,
0.0048914081417024136,
0.043924931436777115,
0.08581000566482544,
0.026943117380142212,
-0.026042180135846138,
-0.0322127491235733,
0.028710993006825447,
-0.031804777681827545,
-0.010207786224782467,
-0.06014179810881615,
0.029254956170916557,
0.019344648346304893,
0.03035987727344036,
0.01599588245153427,
0.02175847999751568,
0.035017553716897964,
0.02318638004362583,
0.0222004484385252,
0.032314740121364594,
-0.007232994306832552,
0.01995660550892353,
-0.03743138536810875,
-0.05959783494472504,
0.0385873019695282,
-0.021622488275170326,
-0.03783935680985451,
0.07683462649583817,
0.019888609647750854,
-0.0048744091764092445,
0.009986802004277706,
0.03590149059891701,
-0.04096713662147522,
-0.022285442799329758,
0.006251313257962465,
-0.023135382682085037,
0.0353575274348259,
0.019820615649223328,
-0.005273881368339062,
-0.009876309894025326,
0.044366899877786636,
0.030189890414476395,
-0.001102797919884324,
0.038893282413482666,
-0.06683932989835739,
0.04752867668867111
] |
18,462 | fs.base | readbytes | Get the contents of a file as bytes.
Arguments:
path (str): A path to a readable file on the filesystem.
Returns:
bytes: the file contents.
Raises:
fs.errors.FileExpected: if ``path`` exists but is not a file.
fs.errors.ResourceNotFound: if ``path`` does not exist.
Note:
.. deprecated:: 2.2.0
Please use `~readbytes`
| def _new_name(method, old_name):
"""Return a method with a deprecation warning."""
# Looks suspiciously like a decorator, but isn't!
@wraps(method)
def _method(*args, **kwargs):
warnings.warn(
"method '{}' has been deprecated, please rename to '{}'".format(
old_name, method.__name__
),
DeprecationWarning,
)
return method(*args, **kwargs)
deprecated_msg = """
Note:
.. deprecated:: 2.2.0
Please use `~{}`
""".format(
method.__name__
)
if getattr(_method, "__doc__", None) is not None:
_method.__doc__ += deprecated_msg
return _method
| (self, path) | [
-0.014895708300173283,
-0.058030642569065094,
0.04303792491555214,
-0.005498800426721573,
-0.038310807198286057,
-0.06452161073684692,
0.02753368951380253,
0.030144184827804565,
0.0530918650329113,
-0.005476752296090126,
-0.001075396896339953,
-0.03206678107380867,
0.040074657648801804,
0.015477778390049934,
-0.000060460071836132556,
-0.012346945703029633,
-0.005944172386080027,
0.026016777381300926,
-0.024570422247052193,
0.008051972836256027,
-0.005785426124930382,
0.007712431252002716,
0.015601247549057007,
-0.03982771933078766,
-0.01668601483106613,
0.13821524381637573,
0.027480773627758026,
0.007302336394786835,
0.017726685851812363,
-0.05203355476260185,
-0.05358574539422989,
0.019525812938809395,
0.04462539032101631,
0.039086900651454926,
0.03781693056225777,
0.03372479975223541,
-0.014772238209843636,
-0.0034593495074659586,
-0.03700555860996246,
-0.01058309618383646,
0.008012285456061363,
-0.019790390506386757,
-0.023106426000595093,
-0.04624813050031662,
0.016394980251789093,
0.001091932994313538,
-0.011773694306612015,
0.061170294880867004,
-0.021571878343820572,
0.02402362786233425,
0.017021145671606064,
-0.05774842947721481,
0.020019689574837685,
0.01176487561315298,
0.011994175612926483,
0.029879609122872353,
0.019472897052764893,
0.04938778281211853,
-0.004471358377486467,
0.046565622091293335,
0.019190680235624313,
0.005944172386080027,
-0.008889800868928432,
-0.019384704530239105,
0.008801608346402645,
-0.03423631563782692,
0.026228440925478935,
-0.032719407230615616,
0.020143160596489906,
0.035929612815380096,
0.0022356791887432337,
0.03130832687020302,
-0.02758660353720188,
0.04070964455604553,
-0.00019609044829849154,
-0.008713415823876858,
-0.03693500533699989,
-0.017294542863965034,
0.005578173790127039,
-0.02416473627090454,
-0.011306274682283401,
-0.03319564461708069,
0.016950592398643494,
-0.018326394259929657,
-0.02340628206729889,
-0.043355416506528854,
-0.016941772773861885,
-0.06900178641080856,
-0.05358574539422989,
-0.02060176059603691,
-0.06311053037643433,
0.0007242806605063379,
-0.014613492414355278,
0.011403285898268223,
-0.018837912008166313,
-0.05129273980855942,
0.0059662205167114735,
-0.01780605874955654,
0.027198556810617447,
-0.017629673704504967,
0.016192136332392693,
0.03109666518867016,
0.005710462108254433,
-0.010750661604106426,
0.019331788644194603,
-0.04483705013990402,
-0.014516480267047882,
-0.008686957880854607,
-0.0033954100217670202,
-0.03125540912151337,
-0.0009403522126376629,
-0.05750149115920067,
-0.03596488758921623,
0.0243763979524374,
-0.02465861476957798,
0.00953360553830862,
-0.011191624216735363,
-0.05877146124839783,
-0.04610702395439148,
0.007752118166536093,
-0.02465861476957798,
-0.017709048464894295,
-0.049281951040029526,
-0.05570236220955849,
-0.02487027645111084,
-0.017021145671606064,
-0.01850277930498123,
-0.00011692391854012385,
0.06557992100715637,
-0.002985315164551139,
-0.05944172292947769,
0.022806571796536446,
0.012064729817211628,
-0.0014639949658885598,
0.05030498281121254,
-0.01309658121317625,
-0.014181348495185375,
0.08163094520568848,
0.005939762573689222,
0.04169739782810211,
-0.005163669120520353,
0.02130730077624321,
0.041944339871406555,
0.048858627676963806,
0.011879525147378445,
-0.02012552134692669,
-0.022947680205106735,
0.046495068818330765,
-0.006632073782384396,
-0.00712595134973526,
-0.02885657548904419,
0.022718379274010658,
0.0537974052131176,
-0.034959495067596436,
0.06423939764499664,
0.02395307458937168,
0.0007518407655879855,
-0.053197696805000305,
-0.027992289513349533,
-0.042226552963256836,
0.04762393236160278,
-0.043214309960603714,
-0.04624813050031662,
-0.05125746130943298,
0.07041286677122116,
-0.03506532683968544,
0.020231353119015694,
-0.009965748526155949,
0.021430769935250282,
0.015380766242742538,
-0.038522470742464066,
0.010106856934726238,
0.011562032625079155,
0.046847838908433914,
-0.037675824016332626,
0.04811780899763107,
0.03383063152432442,
0.03682917356491089,
0.007130361162126064,
0.01850277930498123,
0.006358677055686712,
-0.006883422378450632,
-0.03368952125310898,
-0.039157457649707794,
0.0019755112007260323,
0.022824211046099663,
0.03190803527832031,
0.0214484091848135,
-0.03534753993153572,
0.021466046571731567,
0.02033718302845955,
0.03358369320631027,
0.04106241464614868,
0.03296634554862976,
-0.026651764288544655,
-0.05979449301958084,
-0.07217671722173691,
0.0443078950047493,
0.058030642569065094,
0.017153434455394745,
0.03358369320631027,
0.12953709065914154,
-0.0075625041499733925,
0.03571794927120209,
0.04032159596681595,
0.04702422395348549,
-0.012002995237708092,
-0.02060176059603691,
-0.02954447641968727,
-0.013043666258454323,
0.05937116965651512,
0.03527698665857315,
-0.004859405104070902,
-0.033777713775634766,
-0.05506737902760506,
0.04391985014081001,
0.09672950208187103,
-0.01355518214404583,
-0.06635601073503494,
-0.01015977282077074,
0.05136329308152199,
0.02227741666138172,
0.010318518616259098,
-0.011270997114479542,
-0.015239658765494823,
-0.03065570257604122,
0.04995221272110939,
-0.010556638240814209,
0.000035225311876274645,
-0.06452161073684692,
-0.019737474620342255,
-0.03571794927120209,
-0.009815821424126625,
0.022647826001048088,
-0.04737699404358864,
-0.021042723208665848,
-0.0479414276778698,
-0.012488053180277348,
0.01323768962174654,
-0.04589536041021347,
-0.07161228358745575,
0.0049079107120633125,
-0.010142133571207523,
0.12304612994194031,
0.038451917469501495,
-0.06423939764499664,
-0.04060381278395653,
0.014331276528537273,
0.020725229755043983,
0.01519556250423193,
-0.0071876863949000835,
-0.07415223121643066,
-0.03095555678009987,
0.024852637201547623,
-0.0003825348394457251,
0.03166109696030617,
-0.0886157900094986,
0.030232377350330353,
0.0013405255740508437,
-0.005203355569392443,
-0.02215394750237465,
0.013361158780753613,
-0.021977562457323074,
-0.018414586782455444,
0.03164345771074295,
-0.020002052187919617,
0.05065775290131569,
0.017700228840112686,
0.014913346618413925,
-0.0017285724170506,
0.07979654520750046,
-0.03379535302519798,
-0.023423919454216957,
0.01613040268421173,
0.003933384083211422,
-0.036300018429756165,
-0.028274504467844963,
0.01577763259410858,
0.014939804561436176,
-0.028680190443992615,
0.043637633323669434,
-0.02989724650979042,
-0.00373054132796824,
0.08621695637702942,
-0.00967471394687891,
-0.00621756911277771,
-0.009912833571434021,
0.020584121346473694,
0.018538057804107666,
0.00470065837725997,
0.020619399845600128,
-0.02416473627090454,
-0.01593637838959694,
0.024341121315956116,
-0.016368521377444267,
0.05217466503381729,
-0.022383248433470726,
0.02095453068614006,
0.015495416708290577,
-0.04388457164168358,
0.013731567189097404,
0.03827553242444992,
-0.07041286677122116,
0.001596283633261919,
0.032313719391822815,
-0.04825891926884651,
-0.008431199938058853,
-0.04667145386338234,
-0.03136124089360237,
-0.02381196618080139,
-0.029932523146271706,
-0.02416473627090454,
-0.04938778281211853,
-0.07598663121461868,
0.02340628206729889,
0.018608611077070236,
-0.03806386888027191,
0.009815821424126625,
0.04469594359397888,
0.06466271728277206,
0.003291783854365349,
0.006707037333399057,
-0.036511681973934174,
0.0032212298829108477,
-0.028115758672356606,
0.005026970524340868,
-0.01697704941034317,
-0.004127407446503639,
0.02836269699037075,
0.0006344345747493207,
-0.012955473735928535,
-0.039651334285736084,
-0.01600693352520466,
-0.028045205399394035,
-0.10068052262067795,
-0.01844986528158188,
0.02241852506995201,
-0.04282626137137413,
-0.03501240909099579,
0.01554833259433508,
0.022612549364566803,
-0.003794481046497822,
-0.02229505591094494,
0.0055958121083676815,
-0.004563960246741772,
0.0013129654107615352,
-0.02890949137508869,
-0.004497815854847431,
0.07746826112270355,
-0.029773777350783348,
-0.01572471670806408,
-0.06233443692326546,
-0.05104580149054527,
0.015521874651312828,
0.060253094881772995,
0.013819759711623192,
0.008166622370481491,
0.03515351936221123,
-0.0019788185600191355,
-0.07443444430828094,
-0.07192977517843246,
-0.042226552963256836,
0.03577086701989174,
0.0035144698340445757,
0.05203355476260185,
0.016253871843218803,
0.016641918569803238,
-0.0276042427867651,
-0.010397892445325851,
0.004065672867000103,
0.008395923301577568,
0.0013680856209248304,
0.008400332182645798,
0.015371947549283504,
-0.06191111356019974,
-0.0017881023231893778,
0.022259779274463654,
0.028168674558401108,
-0.011941260658204556,
0.00047568813897669315,
0.005701642949134111,
-0.016183318570256233,
0.01837931014597416,
0.04391985014081001,
0.05280965194106102,
-0.008916258811950684,
-0.02201284095644951,
-0.003569590160623193,
0.02465861476957798,
-0.02248908020555973,
-0.039721887558698654,
-0.028168674558401108,
-0.04931722953915596,
0.027198556810617447,
-0.045436758548021317,
-0.036017805337905884,
-0.023653220385313034,
-0.04487232863903046,
-0.033495500683784485,
-0.0030117728747427464,
0.007064216770231724,
0.01649199239909649,
-0.04772976413369179,
-0.013872675597667694,
-0.03718194365501404,
0.022665465250611305,
0.032666489481925964,
0.01732981950044632,
0.014154891483485699,
-0.009392498061060905,
0.0018939332803711295,
0.017550300806760788,
-0.02494082972407341,
0.004065672867000103,
0.07535164803266525,
0.07009537518024445,
0.01393441017717123,
-0.018114732578396797,
0.06557992100715637,
-0.015954017639160156,
0.0038540109526365995,
-0.03725249692797661,
0.03760526701807976,
0.05771315097808838,
-0.032454829663038254,
-0.02404126711189747,
-0.02031954564154148,
-0.02906823717057705,
-0.006358677055686712,
0.03679389879107475,
0.033424947410821915,
-0.0010671288473531604,
-0.009366040118038654,
-0.04568369686603546,
-0.0005837238859385252,
-0.06826096773147583,
-0.001187291112728417,
0.0033689523115754128,
-0.03296634554862976,
0.025205407291650772,
0.021677708253264427,
-0.029985439032316208,
0.024358760565519333,
-0.015416043810546398,
-0.026316633448004723,
-0.07542219758033752,
-0.030179463326931,
-0.02109563909471035,
0.025029022246599197,
-0.07775048166513443,
0.060182541608810425,
0.04540148377418518,
-0.0005760070635005832,
-0.011509116739034653,
-0.0060500032268464565,
-0.013220051303505898,
-0.02892712876200676,
-0.06169945001602173,
0.04254404827952385,
0.07464610785245895,
-0.0022687511518597603,
0.07238838076591492,
-0.027745351195335388,
0.06462743878364563,
0.006768771912902594,
0.01991385966539383,
0.0030360256787389517,
-0.03619419038295746,
-0.012170560657978058,
-0.024852637201547623,
0.0588420145213604,
-0.06677933782339096,
0.046142298728227615,
-0.004987284075468779,
-0.04638923704624176,
0.03190803527832031,
-0.05644318088889122,
0.03323092311620712,
0.03100847266614437,
0.028203951194882393,
-0.058030642569065094,
-0.030197100713849068,
0.00558699294924736,
0.02892712876200676,
0.0027802675031125546,
-0.04772976413369179,
-0.04847057908773422,
0.02199520170688629,
-0.03693500533699989,
0.014084337279200554,
-0.027710072696208954,
0.02718091942369938,
0.015292573720216751,
-0.013643374666571617,
-0.02576983906328678,
0.0625813752412796,
0.010406711138784885,
-0.004810899030417204,
-0.01492216531187296,
0.020107882097363472,
-0.0029279899317771196,
-0.09263736754655838,
0.002670027082785964,
0.009515967220067978,
0.06166417524218559,
-0.04028632119297981,
0.019155403599143028,
0.032666489481925964,
0.04437845200300217,
0.0016249462496489286,
-0.004041419830173254,
0.02626371756196022,
0.04518982023000717,
0.01275263074785471,
0.010741842910647392,
-0.02501138485968113,
-0.10639539361000061,
0.024976106360554695,
0.023282811045646667,
-0.004250877071171999,
-0.014481203630566597,
0.0066849892027676105,
0.02298295684158802,
-0.034183401614427567,
0.004749164450913668,
-0.039298564195632935,
0.010221507400274277,
0.000024080678485915996,
0.009039727970957756,
0.02033718302845955,
-0.020725229755043983,
0.03725249692797661,
0.03795803710818291,
-0.0480472557246685,
0.015266116708517075,
0.0886157900094986,
-0.057113442569971085,
-0.0232651736587286,
0.01788543350994587,
-0.001249025808647275,
0.017426831647753716,
-0.00792850274592638,
-0.01561888586729765,
0.039651334285736084,
-0.07094202190637589,
0.011306274682283401,
-0.033777713775634766,
0.002090161433443427,
-0.006909879855811596,
-0.06536825746297836,
-0.039369117468595505,
0.06801403313875198,
-0.024605698883533478,
-0.034059930592775345,
0.020301906391978264,
-0.006257255561649799,
-0.04095658287405968,
-0.004147250670939684,
0.004129612352699041,
-0.018061816692352295,
-0.10639539361000061,
-0.027128003537654877,
0.05065775290131569,
0.004775622393935919,
-0.013123039156198502,
0.06780236959457397,
0.046918392181396484,
0.014234264381229877,
-0.010715384967625141,
-0.07111840695142746,
0.0508694164454937,
-0.015909921377897263,
0.0705539733171463,
-0.023353366181254387,
-0.01379330176860094,
0.056549008935689926,
0.06272248178720474,
-0.03337202966213226,
-0.0232651736587286,
-0.025611093267798424,
-0.010001026093959808,
0.01844986528158188,
-0.06572102755308151,
-0.012144102714955807,
-0.06861373782157898,
-0.03404229134321213,
-0.03261357545852661,
0.003238868433982134,
0.07351724058389664,
0.021342577412724495,
-0.013440532609820366,
-0.07330557703971863,
0.023494472727179527,
-0.07302336394786835,
0.003569590160623193,
0.052986033260822296,
-0.03848719224333763,
-0.01773550547659397,
0.0250819381326437,
0.06554464250802994,
0.011024058796465397,
0.008841294795274734,
0.028397975489497185,
0.017841337248682976,
0.04561314359307289,
0.04857641085982323,
-0.02382960543036461,
-0.03227844461798668,
-0.028309782966971397,
0.05467933043837547,
-0.0006234105094335973,
-0.0076992022804915905,
0.04561314359307289,
0.02696925774216652,
0.05866562947630882,
0.043425969779491425,
0.0239707138389349,
-0.04780031740665436,
0.02515249140560627,
0.010089218616485596,
-0.04924667254090309,
0.03739360719919205,
0.04660090059041977,
0.0012975316494703293,
-0.029385730624198914,
-0.026493016630411148,
0.018538057804107666,
-0.030902640894055367,
-0.03353077545762062,
-0.05101052299141884,
-0.07457555085420609,
-0.06057058647274971,
0.04868224263191223,
-0.06014726310968399,
-0.0378522090613842,
0.013114220462739468,
0.02968558482825756,
-0.020584121346473694,
-0.007368480786681175,
0.023106426000595093,
0.04155629128217697,
0.05069303140044212,
-0.02968558482825756,
0.017911890521645546,
-0.03511824086308479,
0.0018873187946155667,
0.014049060642719269,
-0.03746416047215462,
0.014207806438207626,
-0.01058309618383646,
-0.04769448563456535,
0.06970732659101486,
-0.028521444648504257,
0.029526839032769203,
0.01661546155810356,
-0.02033718302845955,
-0.03550628945231438,
0.008801608346402645,
0.012734992429614067,
-0.04010993614792824,
0.05781898275017738,
-0.04332014173269272,
0.012488053180277348,
0.03792276233434677,
0.01243513822555542,
0.07563386112451553,
0.02054884470999241,
0.008991221897304058,
0.029579753056168556,
-0.02270074188709259,
0.0740816742181778,
0.03425395488739014,
0.018538057804107666,
-0.06466271728277206,
0.03319564461708069,
0.0009453130187466741,
0.020143160596489906,
-0.018908465281128883,
-0.004832947161048651,
0.03975716605782509,
-0.03227844461798668,
0.0038451915606856346,
-0.052633266896009445,
0.011129889637231827,
0.008462067693471909,
0.09284903109073639,
0.03771109879016876,
0.0180177204310894,
-0.032384272664785385,
-0.05898312106728554,
0.03197858855128288,
-0.002630340401083231,
0.003602662356570363,
0.020002052187919617,
0.050551921129226685,
0.022647826001048088,
-0.01873208023607731,
-0.0225067175924778,
-0.003809914691373706,
0.00019333443196956068,
0.0588420145213604,
-0.011570852249860764,
0.019225958734750748,
0.022577272728085518,
-0.0010500415228307247,
-0.02746313437819481,
0.011085793375968933,
-0.07697438448667526,
-0.014789876528084278,
0.0022930041886866093,
0.01970219798386097,
-0.029791416600346565,
0.053973790258169174,
0.019755113869905472,
0.03471255674958229,
-0.05517320707440376,
-0.011218082159757614,
-0.06688516587018967,
0.013422893360257149,
0.04420206695795059,
0.028274504467844963,
-0.036582235246896744,
0.03374243900179863,
-0.006759952753782272,
-0.0287154670804739,
0.0218011774122715,
0.012355764396488667,
-0.017638493329286575,
-0.06381607055664062,
-0.006482146214693785,
-0.009066185913980007,
0.03157290443778038,
-0.024270568042993546,
0.05220993980765343,
0.04744754731655121,
-0.02739258110523224,
-0.010644830763339996,
0.0633927434682846,
0.03337202966213226,
0.012117644771933556,
-0.007791804615408182,
0.05771315097808838,
-0.04134462773799896,
0.004242057912051678,
-0.0014761214843019843,
-0.0035894333850592375,
0.03771109879016876,
0.02024899050593376,
0.016941772773861885,
0.0218011774122715,
0.030690979212522507,
0.010318518616259098,
-0.041944339871406555,
0.043073203414678574,
-0.003693059552460909,
-0.06931927800178528,
0.05129273980855942,
0.02178354002535343,
0.04088602960109711,
-0.02409418299794197,
0.004242057912051678,
0.07951433211565018,
0.04416678845882416,
0.030990833416581154,
-0.015451320447027683,
0.013881494291126728,
-0.011465020477771759,
0.023917797952890396
] |
18,463 | fs.base | getdetails | Get the *details* resource info.
This method is shorthand for the following::
fs.getinfo(path, namespaces=['details'])
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.info.Info: Resource information object for ``path``.
| def getdetails(self, path):
# type: (Text) -> Info
"""Get the *details* resource info.
This method is shorthand for the following::
fs.getinfo(path, namespaces=['details'])
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.info.Info: Resource information object for ``path``.
"""
return self.getinfo(path, namespaces=["details"])
| (self, path) | [
0.05700113996863365,
0.05200044810771942,
0.01922563649713993,
0.0012079376028850675,
0.07487524300813675,
-0.046661872416734695,
0.0569673515856266,
-0.001850974396802485,
0.013042347505688667,
-0.01403066050261259,
0.0005382397212088108,
0.022857896983623505,
0.023854656144976616,
-0.04767552390694618,
0.029142551124095917,
0.03177805244922638,
-0.020695434883236885,
-0.010508213192224503,
-0.05298031494021416,
-0.0008975061355158687,
-0.0008800839423201978,
-0.01216384768486023,
0.00227016257122159,
-0.04010690748691559,
-0.026219848543405533,
0.04162738844752312,
0.043114081025123596,
-0.04345196858048439,
0.015466670505702496,
-0.026473263278603554,
-0.039498716592788696,
-0.030460301786661148,
-0.025881964713335037,
0.02419254183769226,
-0.0037040605675429106,
0.08393055200576782,
-0.01535685732960701,
-0.04693217948079109,
-0.05436564236879349,
0.018043041229248047,
-0.04727006331086159,
0.0640629306435585,
-0.03655911982059479,
-0.02628742717206478,
0.059670429676771164,
0.016590137034654617,
0.002732642227783799,
-0.06477248668670654,
-0.02032376267015934,
0.017722049728035927,
0.0389581024646759,
-0.005925652105361223,
-0.05906223878264427,
-0.01101503986865282,
0.010812308639287949,
-0.03855263814330101,
-0.0011150193167850375,
0.020881270989775658,
-0.00737010920420289,
-0.007686875760555267,
0.055345505475997925,
-0.016091756522655487,
0.003554124152287841,
-0.01664081960916519,
-0.011167087592184544,
0.04500623792409897,
0.002470781560987234,
-0.04977041110396385,
0.011868198402225971,
-0.024564214050769806,
0.021573934704065323,
-0.011918880976736546,
-0.035950928926467896,
0.036660484969615936,
0.03510621562600136,
-0.048858121037483215,
-0.055987488478422165,
-0.04733764007687569,
0.05216939002275467,
-0.01993519440293312,
-0.05754175782203674,
-0.027638964354991913,
0.007361662108451128,
-0.01939457841217518,
-0.04071510210633278,
0.0006319499225355685,
0.06859058886766434,
-0.04507381469011307,
0.0024137634318321943,
0.06713768094778061,
-0.02057717554271221,
0.021540146321058273,
-0.06274518370628357,
0.0268449354916811,
0.009477664716541767,
-0.058724354952573776,
0.002043146174401045,
-0.03497106209397316,
-0.03196388855576515,
0.006179065443575382,
-0.0019280543783679605,
-0.010939016006886959,
-0.022857896983623505,
0.029108762741088867,
-0.008692082948982716,
0.039600081741809845,
0.009376299567520618,
0.021590828895568848,
0.017147647216916084,
0.01190198678523302,
-0.029210127890110016,
-0.008620282635092735,
-0.0394311398267746,
-0.012932535260915756,
0.018752599135041237,
-0.022638272494077682,
0.04341818019747734,
-0.017705155536532402,
-0.031761158257722855,
-0.032757919281721115,
0.008240162394940853,
-0.030865764245390892,
-0.010221011005342007,
-0.058758143335580826,
-0.01674218475818634,
0.01919184811413288,
-0.06673222035169601,
-0.040917832404375076,
-0.020137924700975418,
-0.0035858009941875935,
0.01996898278594017,
-0.04074889048933983,
-0.01947905123233795,
0.08305204659700394,
0.0391608327627182,
0.006550738587975502,
0.005148517433553934,
0.04054616019129753,
-0.0017643914325162768,
0.09386435896158218,
-0.026980089023709297,
0.012966323643922806,
-0.036829426884651184,
-0.03578198701143265,
0.0033429462928324938,
-0.034464236348867416,
0.00035847449908033013,
-0.044533196836709976,
-0.03294375538825989,
-0.002460222691297531,
0.008210597559809685,
-0.040917832404375076,
0.04412773624062538,
-0.006909741088747978,
0.03132190927863121,
-0.019276319071650505,
-0.0004360823950264603,
0.019343895837664604,
-0.018076829612255096,
0.002692518290132284,
-0.011859751306474209,
-0.013591410592198372,
0.005148517433553934,
-0.04794583469629288,
0.005714474245905876,
0.03387293592095375,
-0.036018505692481995,
-0.03191320598125458,
0.011766833253204823,
0.004293247126042843,
-0.01621001586318016,
-0.04308029264211655,
-0.055446870625019073,
-0.00688017625361681,
-0.026219848543405533,
-0.01751931942999363,
0.02341540716588497,
0.058285102248191833,
0.054669737815856934,
-0.00817680824548006,
-0.007420791778713465,
-0.04155981168150902,
-0.06261003017425537,
0.034278400242328644,
-0.020137924700975418,
0.04504002630710602,
0.031727369874715805,
-0.04294513911008835,
0.07014485448598862,
0.0320652537047863,
0.003135991981253028,
0.0319301001727581,
0.013751905411481857,
-0.004620572552084923,
0.021759772673249245,
-0.08291689306497574,
0.04020827263593674,
-0.021168474107980728,
0.02628742717206478,
0.04703354462981224,
0.048891909420490265,
0.039532504975795746,
-0.014351651072502136,
0.07467251271009445,
0.019411474466323853,
0.05919739231467247,
0.028365416452288628,
0.027503810822963715,
-0.06632675975561142,
0.09852716326713562,
0.004267905373126268,
0.03057856112718582,
0.027081456035375595,
-0.008434445597231388,
0.038856737315654755,
-0.0023820868227630854,
-0.07974077761173248,
-0.0034886591602116823,
0.01528928056359291,
-0.0012892411323264241,
-0.0009085929486900568,
-0.007023777347058058,
-0.006812599487602711,
0.020594069734215736,
-0.05646052584052086,
0.001567995990626514,
0.02177666686475277,
0.0005955217056907713,
-0.013903954066336155,
-0.033501263707876205,
0.01308458298444748,
-0.013109924271702766,
-0.02199629135429859,
0.009511453099548817,
0.0014117243699729443,
0.013295761309564114,
-0.054669737815856934,
0.023246465250849724,
0.025476502254605293,
-0.03784308210015297,
-0.016683055087924004,
0.023381618782877922,
-0.03367020562291145,
0.009900020435452461,
-0.008852577768266201,
-0.0925128161907196,
-0.048216141760349274,
-0.008096560835838318,
0.03191320598125458,
-0.07399673759937286,
0.048925697803497314,
0.01209627091884613,
0.0041517578065395355,
-0.03693079203367233,
-0.0034210821613669395,
-0.04041100665926933,
-0.10163570195436478,
-0.0784568190574646,
0.014934501610696316,
-0.03434597700834274,
0.010558895766735077,
-0.0107109434902668,
0.009097544476389885,
0.04706733301281929,
-0.031017811968922615,
0.008502022363245487,
0.002717859810218215,
-0.03872158005833626,
-0.018651233986020088,
-0.04916221648454666,
0.06000831350684166,
0.026219848543405533,
-0.04835129529237747,
-0.03242003172636032,
-0.018076829612255096,
-0.02890603244304657,
0.02248622477054596,
-0.01216384768486023,
-0.05284516140818596,
-0.005406154319643974,
-0.04280998557806015,
0.020137924700975418,
-0.0021571824327111244,
-0.020982638001441956,
-0.00026172862271778286,
-0.006014347076416016,
-0.006373349577188492,
0.014376992359757423,
-0.0572376623749733,
0.048013411462306976,
0.03238624334335327,
0.04186391085386276,
-0.07075304538011551,
-0.01687733829021454,
0.06531310081481934,
0.014723324216902256,
-0.0931210145354271,
0.00856537651270628,
-0.020137924700975418,
0.005967887584120035,
-0.028044426813721657,
0.012231424450874329,
-0.03520758077502251,
0.00796140730381012,
-0.03323095664381981,
0.0097564198076725,
0.02344919554889202,
0.0021962502505630255,
-0.016902679577469826,
0.03323095664381981,
0.02344919554889202,
-0.010280140675604343,
0.0160664152354002,
0.10582547634840012,
-0.058724354952573776,
0.0077924649231135845,
-0.07487524300813675,
0.04862160235643387,
-0.008016313426196575,
0.03902567923069,
-0.024952782317996025,
0.05713629722595215,
0.03980281203985214,
-0.04936494678258896,
0.04635777324438095,
-0.022334175184369087,
-0.010888333432376385,
-0.023246465250849724,
0.026591522619128227,
0.08825547248125076,
-0.029801426455378532,
-0.004514983855187893,
0.03290996700525284,
-0.02184424363076687,
-0.0036723839584738016,
0.046763237565755844,
-0.012324342504143715,
-0.03476833179593086,
-0.026608416810631752,
-0.005642673932015896,
0.05909602716565132,
-0.033214062452316284,
-0.024631790816783905,
-0.015804555267095566,
-0.009038414806127548,
0.0018847628962248564,
0.047439005225896835,
-0.016902679577469826,
0.031119177117943764,
-0.0464591421186924,
-0.05145983397960663,
-0.08048412203788757,
-0.016750631853938103,
0.02606780081987381,
-0.03645775467157364,
-0.003097980050370097,
-0.006711233872920275,
0.018279559910297394,
0.014376992359757423,
0.016868891194462776,
-0.02032376267015934,
0.008540034294128418,
-0.03848506137728691,
-0.00550751993432641,
-0.0427761971950531,
-0.03483590856194496,
0.0026840711943805218,
0.07264520227909088,
0.03138948604464531,
0.03437976539134979,
-0.04551306366920471,
-0.031406380236148834,
0.003233133815228939,
0.004730385262519121,
0.004713491071015596,
-0.011597890406847,
0.058893296867609024,
-0.016581689938902855,
-0.03341679275035858,
0.013768799602985382,
0.00650850310921669,
0.045175179839134216,
-0.04797962307929993,
-0.031761158257722855,
-0.0030958682764321566,
-0.026608416810631752,
-0.022401751950383186,
0.01932700164616108,
-0.06940151005983353,
-0.02809510938823223,
-0.010601131245493889,
-0.022756531834602356,
-0.03290996700525284,
0.008273950777947903,
0.023330936208367348,
-0.021928714588284492,
0.03329853340983391,
0.043857429176568985,
0.005701803602278233,
0.05412912368774414,
-0.01663237251341343,
-0.017333483323454857,
-0.029379071667790413,
-0.02574681118130684,
0.0021350085735321045,
-0.028179580345749855,
0.021590828895568848,
0.013827929273247719,
-0.001962898764759302,
-0.06636054813861847,
0.05443321913480759,
-0.015035867691040039,
0.015475117601454258,
0.01993519440293312,
0.01342246774584055,
0.05075027421116829,
0.000554869940970093,
0.04145844653248787,
0.0017073734197765589,
0.010423741303384304,
0.018431607633829117,
0.01745174266397953,
-0.033433686941862106,
-0.004270017147064209,
-0.017789626494050026,
-0.01617622748017311,
-0.02170909009873867,
0.06382641196250916,
0.05149362236261368,
0.007703770417720079,
0.01621001586318016,
0.009283380582928658,
-0.0022722743451595306,
-0.04713490977883339,
-0.017232118174433708,
-0.00888636615127325,
-0.05926496908068657,
-0.012484838254749775,
-0.016286039724946022,
-0.02216523326933384,
-0.013329549692571163,
0.027267292141914368,
0.002749536419287324,
-0.006656327750533819,
0.02035755105316639,
-0.018414713442325592,
0.0070406715385615826,
-0.022925473749637604,
0.09379678219556808,
-0.07237489521503448,
-0.059501487761735916,
-0.041762541979551315,
0.047405216842889786,
-0.014444569125771523,
-0.035342734307050705,
-0.06548205018043518,
0.01755310781300068,
0.01196956355124712,
0.005165411625057459,
-0.004261570051312447,
-0.05585233494639397,
-0.016328275203704834,
-0.03503863885998726,
-0.07413189113140106,
0.03635638952255249,
-0.05345335230231285,
-0.015652507543563843,
0.048891909420490265,
-0.028855349868535995,
-0.03309580311179161,
0.025104830041527748,
0.028365416452288628,
-0.04422910138964653,
0.021016426384449005,
0.05298031494021416,
0.02628742717206478,
-0.020627858117222786,
-0.006457820534706116,
0.010795414447784424,
0.005482178647071123,
0.06159637123346329,
-0.030882658436894417,
-0.04014069586992264,
-0.021404992789030075,
0.004346041474491358,
-0.04504002630710602,
-0.027047667652368546,
0.013532280921936035,
0.023280253633856773,
-0.03503863885998726,
0.06737419962882996,
0.0142925214022398,
-0.048216141760349274,
0.014655747450888157,
0.03231866657733917,
0.01642119511961937,
-0.006719680968672037,
-0.011462736874818802,
-0.004789514932781458,
0.03838369622826576,
0.005617332644760609,
-0.08095716685056686,
0.06223835423588753,
0.032504502683877945,
-0.003376734908670187,
0.048114776611328125,
-0.01648877188563347,
0.015720084309577942,
0.05946769937872887,
0.038180965930223465,
0.01939457841217518,
0.019174953922629356,
0.05649431422352791,
0.03339989855885506,
0.0037864199839532375,
0.02184424363076687,
-0.06804996728897095,
0.029429754242300987,
0.020543387159705162,
0.01498518418520689,
-0.022621378302574158,
-0.009798655286431313,
0.04142465814948082,
-0.034633178263902664,
-0.01575387269258499,
-0.05281137302517891,
-0.06227214261889458,
0.009984491392970085,
-0.03341679275035858,
0.07264520227909088,
0.05254106596112251,
-0.006271983962506056,
0.04274240881204605,
-0.005292118526995182,
0.0003468597133178264,
0.06159637123346329,
-0.015618718229234219,
-0.03269033879041672,
-0.06328579783439636,
-0.022672060877084732,
0.08170051127672195,
-0.07967320084571838,
-0.04020827263593674,
0.03294375538825989,
0.01848229020833969,
-0.018786387518048286,
0.0036618250887840986,
-0.06146121770143509,
0.05281137302517891,
-0.0035689068026840687,
-0.003856108756735921,
-0.05139225721359253,
-0.011268453672528267,
-0.043756064027547836,
0.046763237565755844,
0.06041377782821655,
0.0393635630607605,
-0.03517379239201546,
-0.013540728017687798,
-0.03622123599052429,
0.022638272494077682,
-0.01819508895277977,
-0.001600728603079915,
0.05727145075798035,
0.03177805244922638,
0.0302237831056118,
0.021252945065498352,
0.027537599205970764,
0.011167087592184544,
-0.05855540931224823,
0.005929875653237104,
-0.0004912526346743107,
0.04865539073944092,
0.04443183168768883,
-0.01648877188563347,
0.015948155894875526,
0.04824993014335632,
0.06707010418176651,
0.08670119941234589,
0.0025003463961184025,
0.03865400329232216,
-0.007340544369071722,
0.016547901555895805,
0.008269727230072021,
-0.032572079449892044,
-0.006111488677561283,
-0.021185368299484253,
-0.011133299209177494,
0.009013073518872261,
-0.018701916560530663,
0.01893843524158001,
-0.09393193572759628,
0.018600549548864365,
-0.016767526045441628,
0.0498041994869709,
0.010347717441618443,
-0.03726867586374283,
-0.029345283284783363,
-0.011851304210722446,
0.044735927134752274,
-0.013473150320351124,
-0.006875952705740929,
0.0017601678846403956,
-0.018465396016836166,
-0.03993796557188034,
0.031237436458468437,
0.03706594556570053,
-0.01883707009255886,
-0.067407988011837,
0.0159988384693861,
-0.0002956490789074451,
-0.045175179839134216,
0.012476391158998013,
0.016125544905662537,
0.028027532622218132,
0.043857429176568985,
0.01854986697435379,
-0.03110228292644024,
-0.034210819751024246,
0.011150193400681019,
0.0055328612215816975,
-0.02706456184387207,
0.02915944531559944,
0.03336611017584801,
0.0034886591602116823,
0.07048273831605911,
0.022688955068588257,
-0.016902679577469826,
-0.04037721827626228,
-0.008658294565975666,
0.024462848901748657,
-0.012949429452419281,
-0.006318442989140749,
0.031372591853141785,
-0.004565666429698467,
-0.03987038880586624,
0.03973523527383804,
-0.0022363741882145405,
-0.015686295926570892,
0.06000831350684166,
-0.0857551246881485,
0.03164289891719818,
-0.0712260827422142,
-0.005760933272540569,
-0.03209904208779335,
0.04145844653248787,
-0.006702786777168512,
-0.043215446174144745,
0.037370044738054276,
0.006246642675250769,
-0.013000112026929855,
0.04845266044139862,
-0.038248542696237564,
0.04635777324438095,
0.08751212805509567,
-0.019800040870904922,
-0.007720664609223604,
0.006926635280251503,
-0.11751628667116165,
0.053250622004270554,
-0.009274933487176895,
-0.05159498751163483,
-0.000018956518033519387,
-0.04189769923686981,
0.04078267887234688,
0.007648863829672337,
-0.031271226704120636,
0.04970283433794975,
0.053183045238256454,
-0.024783840402960777,
0.05639294907450676,
0.059670429676771164,
0.07568616420030594,
-0.010356164537370205,
-0.043283022940158844,
0.012358130887150764,
0.011817515827715397,
-0.0319976769387722,
0.03000415675342083,
0.04051237180829048,
0.035275157541036606,
0.00036744956742040813,
0.002322956919670105,
0.007492592092603445,
0.04845266044139862,
0.031862523406744,
0.01635361649096012,
0.03294375538825989,
-0.04287756234407425,
0.00469237333163619,
-0.07399673759937286,
-0.06261003017425537,
0.03490348532795906,
0.023854656144976616,
0.033535052090883255,
-0.014748665504157543,
0.05842025578022003,
-0.0010770073859021068,
0.08629573881626129,
-0.03794444724917412,
0.018397819250822067,
-0.027402445673942566,
0.061630163341760635,
-0.04223558306694031,
0.027959955856204033,
-0.007686875760555267,
-0.014638852328062057,
-0.0319976769387722,
-0.05585233494639397,
0.0035963598638772964,
0.004992245696485043,
0.02844988740980625,
0.05267621949315071,
-0.041019197553396225,
0.048993274569511414,
0.01301700621843338,
0.023212676867842674,
0.012121612206101418,
0.01996898278594017,
0.004008156713098288,
0.016378959640860558,
0.013490044511854649,
0.040917832404375076,
-0.009089097380638123,
0.00799519568681717,
0.10988008975982666,
0.014343203976750374,
-0.029379071667790413,
0.015863684937357903,
0.019563522189855576,
-0.028703302145004272,
-0.019512839615345,
-0.06196804717183113,
0.002624941524118185,
-0.01915805973112583,
0.01603262685239315,
0.015272386372089386,
0.0178403090685606,
0.025341348722577095,
0.028247157111763954,
0.012425708584487438,
0.09386435896158218,
0.036795638501644135,
0.05416291207075119,
-0.06223835423588753,
-0.04551306366920471,
-0.0064535969868302345,
0.00457411352545023,
-0.028855349868535995,
-0.003630148246884346,
0.041086774319410324,
0.002853013575077057,
0.011648573912680149,
0.012738251127302647,
-0.014621958136558533,
-0.025797493755817413,
0.033636417239904404,
-0.036829426884651184,
0.05842025578022003,
0.003963809460401535,
-0.0015236486215144396,
-0.029379071667790413,
0.012222977355122566,
0.0212867334485054,
-0.007982525043189526,
0.016936467960476875,
-0.05514277517795563,
0.028331628069281578
] |
18,464 | fs.base | download | Copy a file from the filesystem to a file-like object.
This may be more efficient that opening and copying files
manually if the filesystem supplies an optimized method.
Note that the file object ``file`` will *not* be closed by this
method. Take care to close it after this method completes
(ideally with a context manager).
Arguments:
path (str): Path to a resource.
file (file-like): A file-like object open for writing in
binary mode.
chunk_size (int, optional): Number of bytes to read at a
time, if a simple copy is used, or `None` to use
sensible default.
**options: Implementation specific options required to open
the source file.
Example:
>>> with open('starwars.mov', 'wb') as write_file:
... my_fs.download('/Videos/starwars.mov', write_file)
Raises:
fs.errors.ResourceNotFound: if ``path`` does not exist.
Note:
.. deprecated:: 2.2.0
Please use `~download`
| def _new_name(method, old_name):
"""Return a method with a deprecation warning."""
# Looks suspiciously like a decorator, but isn't!
@wraps(method)
def _method(*args, **kwargs):
warnings.warn(
"method '{}' has been deprecated, please rename to '{}'".format(
old_name, method.__name__
),
DeprecationWarning,
)
return method(*args, **kwargs)
deprecated_msg = """
Note:
.. deprecated:: 2.2.0
Please use `~{}`
""".format(
method.__name__
)
if getattr(_method, "__doc__", None) is not None:
_method.__doc__ += deprecated_msg
return _method
| (self, path, file, chunk_size=None, **options) | [
-0.014895708300173283,
-0.058030642569065094,
0.04303792491555214,
-0.005498800426721573,
-0.038310807198286057,
-0.06452161073684692,
0.02753368951380253,
0.030144184827804565,
0.0530918650329113,
-0.005476752296090126,
-0.001075396896339953,
-0.03206678107380867,
0.040074657648801804,
0.015477778390049934,
-0.000060460071836132556,
-0.012346945703029633,
-0.005944172386080027,
0.026016777381300926,
-0.024570422247052193,
0.008051972836256027,
-0.005785426124930382,
0.007712431252002716,
0.015601247549057007,
-0.03982771933078766,
-0.01668601483106613,
0.13821524381637573,
0.027480773627758026,
0.007302336394786835,
0.017726685851812363,
-0.05203355476260185,
-0.05358574539422989,
0.019525812938809395,
0.04462539032101631,
0.039086900651454926,
0.03781693056225777,
0.03372479975223541,
-0.014772238209843636,
-0.0034593495074659586,
-0.03700555860996246,
-0.01058309618383646,
0.008012285456061363,
-0.019790390506386757,
-0.023106426000595093,
-0.04624813050031662,
0.016394980251789093,
0.001091932994313538,
-0.011773694306612015,
0.061170294880867004,
-0.021571878343820572,
0.02402362786233425,
0.017021145671606064,
-0.05774842947721481,
0.020019689574837685,
0.01176487561315298,
0.011994175612926483,
0.029879609122872353,
0.019472897052764893,
0.04938778281211853,
-0.004471358377486467,
0.046565622091293335,
0.019190680235624313,
0.005944172386080027,
-0.008889800868928432,
-0.019384704530239105,
0.008801608346402645,
-0.03423631563782692,
0.026228440925478935,
-0.032719407230615616,
0.020143160596489906,
0.035929612815380096,
0.0022356791887432337,
0.03130832687020302,
-0.02758660353720188,
0.04070964455604553,
-0.00019609044829849154,
-0.008713415823876858,
-0.03693500533699989,
-0.017294542863965034,
0.005578173790127039,
-0.02416473627090454,
-0.011306274682283401,
-0.03319564461708069,
0.016950592398643494,
-0.018326394259929657,
-0.02340628206729889,
-0.043355416506528854,
-0.016941772773861885,
-0.06900178641080856,
-0.05358574539422989,
-0.02060176059603691,
-0.06311053037643433,
0.0007242806605063379,
-0.014613492414355278,
0.011403285898268223,
-0.018837912008166313,
-0.05129273980855942,
0.0059662205167114735,
-0.01780605874955654,
0.027198556810617447,
-0.017629673704504967,
0.016192136332392693,
0.03109666518867016,
0.005710462108254433,
-0.010750661604106426,
0.019331788644194603,
-0.04483705013990402,
-0.014516480267047882,
-0.008686957880854607,
-0.0033954100217670202,
-0.03125540912151337,
-0.0009403522126376629,
-0.05750149115920067,
-0.03596488758921623,
0.0243763979524374,
-0.02465861476957798,
0.00953360553830862,
-0.011191624216735363,
-0.05877146124839783,
-0.04610702395439148,
0.007752118166536093,
-0.02465861476957798,
-0.017709048464894295,
-0.049281951040029526,
-0.05570236220955849,
-0.02487027645111084,
-0.017021145671606064,
-0.01850277930498123,
-0.00011692391854012385,
0.06557992100715637,
-0.002985315164551139,
-0.05944172292947769,
0.022806571796536446,
0.012064729817211628,
-0.0014639949658885598,
0.05030498281121254,
-0.01309658121317625,
-0.014181348495185375,
0.08163094520568848,
0.005939762573689222,
0.04169739782810211,
-0.005163669120520353,
0.02130730077624321,
0.041944339871406555,
0.048858627676963806,
0.011879525147378445,
-0.02012552134692669,
-0.022947680205106735,
0.046495068818330765,
-0.006632073782384396,
-0.00712595134973526,
-0.02885657548904419,
0.022718379274010658,
0.0537974052131176,
-0.034959495067596436,
0.06423939764499664,
0.02395307458937168,
0.0007518407655879855,
-0.053197696805000305,
-0.027992289513349533,
-0.042226552963256836,
0.04762393236160278,
-0.043214309960603714,
-0.04624813050031662,
-0.05125746130943298,
0.07041286677122116,
-0.03506532683968544,
0.020231353119015694,
-0.009965748526155949,
0.021430769935250282,
0.015380766242742538,
-0.038522470742464066,
0.010106856934726238,
0.011562032625079155,
0.046847838908433914,
-0.037675824016332626,
0.04811780899763107,
0.03383063152432442,
0.03682917356491089,
0.007130361162126064,
0.01850277930498123,
0.006358677055686712,
-0.006883422378450632,
-0.03368952125310898,
-0.039157457649707794,
0.0019755112007260323,
0.022824211046099663,
0.03190803527832031,
0.0214484091848135,
-0.03534753993153572,
0.021466046571731567,
0.02033718302845955,
0.03358369320631027,
0.04106241464614868,
0.03296634554862976,
-0.026651764288544655,
-0.05979449301958084,
-0.07217671722173691,
0.0443078950047493,
0.058030642569065094,
0.017153434455394745,
0.03358369320631027,
0.12953709065914154,
-0.0075625041499733925,
0.03571794927120209,
0.04032159596681595,
0.04702422395348549,
-0.012002995237708092,
-0.02060176059603691,
-0.02954447641968727,
-0.013043666258454323,
0.05937116965651512,
0.03527698665857315,
-0.004859405104070902,
-0.033777713775634766,
-0.05506737902760506,
0.04391985014081001,
0.09672950208187103,
-0.01355518214404583,
-0.06635601073503494,
-0.01015977282077074,
0.05136329308152199,
0.02227741666138172,
0.010318518616259098,
-0.011270997114479542,
-0.015239658765494823,
-0.03065570257604122,
0.04995221272110939,
-0.010556638240814209,
0.000035225311876274645,
-0.06452161073684692,
-0.019737474620342255,
-0.03571794927120209,
-0.009815821424126625,
0.022647826001048088,
-0.04737699404358864,
-0.021042723208665848,
-0.0479414276778698,
-0.012488053180277348,
0.01323768962174654,
-0.04589536041021347,
-0.07161228358745575,
0.0049079107120633125,
-0.010142133571207523,
0.12304612994194031,
0.038451917469501495,
-0.06423939764499664,
-0.04060381278395653,
0.014331276528537273,
0.020725229755043983,
0.01519556250423193,
-0.0071876863949000835,
-0.07415223121643066,
-0.03095555678009987,
0.024852637201547623,
-0.0003825348394457251,
0.03166109696030617,
-0.0886157900094986,
0.030232377350330353,
0.0013405255740508437,
-0.005203355569392443,
-0.02215394750237465,
0.013361158780753613,
-0.021977562457323074,
-0.018414586782455444,
0.03164345771074295,
-0.020002052187919617,
0.05065775290131569,
0.017700228840112686,
0.014913346618413925,
-0.0017285724170506,
0.07979654520750046,
-0.03379535302519798,
-0.023423919454216957,
0.01613040268421173,
0.003933384083211422,
-0.036300018429756165,
-0.028274504467844963,
0.01577763259410858,
0.014939804561436176,
-0.028680190443992615,
0.043637633323669434,
-0.02989724650979042,
-0.00373054132796824,
0.08621695637702942,
-0.00967471394687891,
-0.00621756911277771,
-0.009912833571434021,
0.020584121346473694,
0.018538057804107666,
0.00470065837725997,
0.020619399845600128,
-0.02416473627090454,
-0.01593637838959694,
0.024341121315956116,
-0.016368521377444267,
0.05217466503381729,
-0.022383248433470726,
0.02095453068614006,
0.015495416708290577,
-0.04388457164168358,
0.013731567189097404,
0.03827553242444992,
-0.07041286677122116,
0.001596283633261919,
0.032313719391822815,
-0.04825891926884651,
-0.008431199938058853,
-0.04667145386338234,
-0.03136124089360237,
-0.02381196618080139,
-0.029932523146271706,
-0.02416473627090454,
-0.04938778281211853,
-0.07598663121461868,
0.02340628206729889,
0.018608611077070236,
-0.03806386888027191,
0.009815821424126625,
0.04469594359397888,
0.06466271728277206,
0.003291783854365349,
0.006707037333399057,
-0.036511681973934174,
0.0032212298829108477,
-0.028115758672356606,
0.005026970524340868,
-0.01697704941034317,
-0.004127407446503639,
0.02836269699037075,
0.0006344345747493207,
-0.012955473735928535,
-0.039651334285736084,
-0.01600693352520466,
-0.028045205399394035,
-0.10068052262067795,
-0.01844986528158188,
0.02241852506995201,
-0.04282626137137413,
-0.03501240909099579,
0.01554833259433508,
0.022612549364566803,
-0.003794481046497822,
-0.02229505591094494,
0.0055958121083676815,
-0.004563960246741772,
0.0013129654107615352,
-0.02890949137508869,
-0.004497815854847431,
0.07746826112270355,
-0.029773777350783348,
-0.01572471670806408,
-0.06233443692326546,
-0.05104580149054527,
0.015521874651312828,
0.060253094881772995,
0.013819759711623192,
0.008166622370481491,
0.03515351936221123,
-0.0019788185600191355,
-0.07443444430828094,
-0.07192977517843246,
-0.042226552963256836,
0.03577086701989174,
0.0035144698340445757,
0.05203355476260185,
0.016253871843218803,
0.016641918569803238,
-0.0276042427867651,
-0.010397892445325851,
0.004065672867000103,
0.008395923301577568,
0.0013680856209248304,
0.008400332182645798,
0.015371947549283504,
-0.06191111356019974,
-0.0017881023231893778,
0.022259779274463654,
0.028168674558401108,
-0.011941260658204556,
0.00047568813897669315,
0.005701642949134111,
-0.016183318570256233,
0.01837931014597416,
0.04391985014081001,
0.05280965194106102,
-0.008916258811950684,
-0.02201284095644951,
-0.003569590160623193,
0.02465861476957798,
-0.02248908020555973,
-0.039721887558698654,
-0.028168674558401108,
-0.04931722953915596,
0.027198556810617447,
-0.045436758548021317,
-0.036017805337905884,
-0.023653220385313034,
-0.04487232863903046,
-0.033495500683784485,
-0.0030117728747427464,
0.007064216770231724,
0.01649199239909649,
-0.04772976413369179,
-0.013872675597667694,
-0.03718194365501404,
0.022665465250611305,
0.032666489481925964,
0.01732981950044632,
0.014154891483485699,
-0.009392498061060905,
0.0018939332803711295,
0.017550300806760788,
-0.02494082972407341,
0.004065672867000103,
0.07535164803266525,
0.07009537518024445,
0.01393441017717123,
-0.018114732578396797,
0.06557992100715637,
-0.015954017639160156,
0.0038540109526365995,
-0.03725249692797661,
0.03760526701807976,
0.05771315097808838,
-0.032454829663038254,
-0.02404126711189747,
-0.02031954564154148,
-0.02906823717057705,
-0.006358677055686712,
0.03679389879107475,
0.033424947410821915,
-0.0010671288473531604,
-0.009366040118038654,
-0.04568369686603546,
-0.0005837238859385252,
-0.06826096773147583,
-0.001187291112728417,
0.0033689523115754128,
-0.03296634554862976,
0.025205407291650772,
0.021677708253264427,
-0.029985439032316208,
0.024358760565519333,
-0.015416043810546398,
-0.026316633448004723,
-0.07542219758033752,
-0.030179463326931,
-0.02109563909471035,
0.025029022246599197,
-0.07775048166513443,
0.060182541608810425,
0.04540148377418518,
-0.0005760070635005832,
-0.011509116739034653,
-0.0060500032268464565,
-0.013220051303505898,
-0.02892712876200676,
-0.06169945001602173,
0.04254404827952385,
0.07464610785245895,
-0.0022687511518597603,
0.07238838076591492,
-0.027745351195335388,
0.06462743878364563,
0.006768771912902594,
0.01991385966539383,
0.0030360256787389517,
-0.03619419038295746,
-0.012170560657978058,
-0.024852637201547623,
0.0588420145213604,
-0.06677933782339096,
0.046142298728227615,
-0.004987284075468779,
-0.04638923704624176,
0.03190803527832031,
-0.05644318088889122,
0.03323092311620712,
0.03100847266614437,
0.028203951194882393,
-0.058030642569065094,
-0.030197100713849068,
0.00558699294924736,
0.02892712876200676,
0.0027802675031125546,
-0.04772976413369179,
-0.04847057908773422,
0.02199520170688629,
-0.03693500533699989,
0.014084337279200554,
-0.027710072696208954,
0.02718091942369938,
0.015292573720216751,
-0.013643374666571617,
-0.02576983906328678,
0.0625813752412796,
0.010406711138784885,
-0.004810899030417204,
-0.01492216531187296,
0.020107882097363472,
-0.0029279899317771196,
-0.09263736754655838,
0.002670027082785964,
0.009515967220067978,
0.06166417524218559,
-0.04028632119297981,
0.019155403599143028,
0.032666489481925964,
0.04437845200300217,
0.0016249462496489286,
-0.004041419830173254,
0.02626371756196022,
0.04518982023000717,
0.01275263074785471,
0.010741842910647392,
-0.02501138485968113,
-0.10639539361000061,
0.024976106360554695,
0.023282811045646667,
-0.004250877071171999,
-0.014481203630566597,
0.0066849892027676105,
0.02298295684158802,
-0.034183401614427567,
0.004749164450913668,
-0.039298564195632935,
0.010221507400274277,
0.000024080678485915996,
0.009039727970957756,
0.02033718302845955,
-0.020725229755043983,
0.03725249692797661,
0.03795803710818291,
-0.0480472557246685,
0.015266116708517075,
0.0886157900094986,
-0.057113442569971085,
-0.0232651736587286,
0.01788543350994587,
-0.001249025808647275,
0.017426831647753716,
-0.00792850274592638,
-0.01561888586729765,
0.039651334285736084,
-0.07094202190637589,
0.011306274682283401,
-0.033777713775634766,
0.002090161433443427,
-0.006909879855811596,
-0.06536825746297836,
-0.039369117468595505,
0.06801403313875198,
-0.024605698883533478,
-0.034059930592775345,
0.020301906391978264,
-0.006257255561649799,
-0.04095658287405968,
-0.004147250670939684,
0.004129612352699041,
-0.018061816692352295,
-0.10639539361000061,
-0.027128003537654877,
0.05065775290131569,
0.004775622393935919,
-0.013123039156198502,
0.06780236959457397,
0.046918392181396484,
0.014234264381229877,
-0.010715384967625141,
-0.07111840695142746,
0.0508694164454937,
-0.015909921377897263,
0.0705539733171463,
-0.023353366181254387,
-0.01379330176860094,
0.056549008935689926,
0.06272248178720474,
-0.03337202966213226,
-0.0232651736587286,
-0.025611093267798424,
-0.010001026093959808,
0.01844986528158188,
-0.06572102755308151,
-0.012144102714955807,
-0.06861373782157898,
-0.03404229134321213,
-0.03261357545852661,
0.003238868433982134,
0.07351724058389664,
0.021342577412724495,
-0.013440532609820366,
-0.07330557703971863,
0.023494472727179527,
-0.07302336394786835,
0.003569590160623193,
0.052986033260822296,
-0.03848719224333763,
-0.01773550547659397,
0.0250819381326437,
0.06554464250802994,
0.011024058796465397,
0.008841294795274734,
0.028397975489497185,
0.017841337248682976,
0.04561314359307289,
0.04857641085982323,
-0.02382960543036461,
-0.03227844461798668,
-0.028309782966971397,
0.05467933043837547,
-0.0006234105094335973,
-0.0076992022804915905,
0.04561314359307289,
0.02696925774216652,
0.05866562947630882,
0.043425969779491425,
0.0239707138389349,
-0.04780031740665436,
0.02515249140560627,
0.010089218616485596,
-0.04924667254090309,
0.03739360719919205,
0.04660090059041977,
0.0012975316494703293,
-0.029385730624198914,
-0.026493016630411148,
0.018538057804107666,
-0.030902640894055367,
-0.03353077545762062,
-0.05101052299141884,
-0.07457555085420609,
-0.06057058647274971,
0.04868224263191223,
-0.06014726310968399,
-0.0378522090613842,
0.013114220462739468,
0.02968558482825756,
-0.020584121346473694,
-0.007368480786681175,
0.023106426000595093,
0.04155629128217697,
0.05069303140044212,
-0.02968558482825756,
0.017911890521645546,
-0.03511824086308479,
0.0018873187946155667,
0.014049060642719269,
-0.03746416047215462,
0.014207806438207626,
-0.01058309618383646,
-0.04769448563456535,
0.06970732659101486,
-0.028521444648504257,
0.029526839032769203,
0.01661546155810356,
-0.02033718302845955,
-0.03550628945231438,
0.008801608346402645,
0.012734992429614067,
-0.04010993614792824,
0.05781898275017738,
-0.04332014173269272,
0.012488053180277348,
0.03792276233434677,
0.01243513822555542,
0.07563386112451553,
0.02054884470999241,
0.008991221897304058,
0.029579753056168556,
-0.02270074188709259,
0.0740816742181778,
0.03425395488739014,
0.018538057804107666,
-0.06466271728277206,
0.03319564461708069,
0.0009453130187466741,
0.020143160596489906,
-0.018908465281128883,
-0.004832947161048651,
0.03975716605782509,
-0.03227844461798668,
0.0038451915606856346,
-0.052633266896009445,
0.011129889637231827,
0.008462067693471909,
0.09284903109073639,
0.03771109879016876,
0.0180177204310894,
-0.032384272664785385,
-0.05898312106728554,
0.03197858855128288,
-0.002630340401083231,
0.003602662356570363,
0.020002052187919617,
0.050551921129226685,
0.022647826001048088,
-0.01873208023607731,
-0.0225067175924778,
-0.003809914691373706,
0.00019333443196956068,
0.0588420145213604,
-0.011570852249860764,
0.019225958734750748,
0.022577272728085518,
-0.0010500415228307247,
-0.02746313437819481,
0.011085793375968933,
-0.07697438448667526,
-0.014789876528084278,
0.0022930041886866093,
0.01970219798386097,
-0.029791416600346565,
0.053973790258169174,
0.019755113869905472,
0.03471255674958229,
-0.05517320707440376,
-0.011218082159757614,
-0.06688516587018967,
0.013422893360257149,
0.04420206695795059,
0.028274504467844963,
-0.036582235246896744,
0.03374243900179863,
-0.006759952753782272,
-0.0287154670804739,
0.0218011774122715,
0.012355764396488667,
-0.017638493329286575,
-0.06381607055664062,
-0.006482146214693785,
-0.009066185913980007,
0.03157290443778038,
-0.024270568042993546,
0.05220993980765343,
0.04744754731655121,
-0.02739258110523224,
-0.010644830763339996,
0.0633927434682846,
0.03337202966213226,
0.012117644771933556,
-0.007791804615408182,
0.05771315097808838,
-0.04134462773799896,
0.004242057912051678,
-0.0014761214843019843,
-0.0035894333850592375,
0.03771109879016876,
0.02024899050593376,
0.016941772773861885,
0.0218011774122715,
0.030690979212522507,
0.010318518616259098,
-0.041944339871406555,
0.043073203414678574,
-0.003693059552460909,
-0.06931927800178528,
0.05129273980855942,
0.02178354002535343,
0.04088602960109711,
-0.02409418299794197,
0.004242057912051678,
0.07951433211565018,
0.04416678845882416,
0.030990833416581154,
-0.015451320447027683,
0.013881494291126728,
-0.011465020477771759,
0.023917797952890396
] |
18,465 | miarec_s3fs.s3fs | getinfo | null | def getinfo(self, path, namespaces=None):
self.check()
namespaces = namespaces or ()
_path = self.validatepath(path)
_key = self._path_to_key(_path)
try:
dir_path = dirname(_path)
if dir_path != "/":
_dir_key = self._path_to_dir_key(dir_path)
with s3errors(path):
obj = self.s3.Object(self._bucket_name, _dir_key)
obj.load()
except errors.ResourceNotFound:
raise errors.ResourceNotFound(path)
if _path == "/":
return Info(
{
"basic": {"name": "", "is_dir": True},
"details": {"type": int(ResourceType.directory)},
}
)
obj = self._get_object(path, _key)
info = self._info_from_object(obj, namespaces)
return Info(info)
| (self, path, namespaces=None) | [
0.022618817165493965,
0.03432352468371391,
-0.044929105788469315,
-0.0303898174315691,
0.0829935073852539,
-0.031893882900476456,
0.04361787065863609,
-0.02456638775765896,
-0.01392223872244358,
0.033513642847537994,
0.016274750232696533,
0.05873565003275871,
-0.0015173215651884675,
-0.03596257045865059,
-0.01008494570851326,
0.034014999866485596,
0.000614340475294739,
-0.008185582235455513,
-0.0281144380569458,
0.013652278110384941,
0.0033238863106817007,
0.009689646773040295,
0.02109546959400177,
0.013102715834975243,
0.01712319627404213,
-0.02495204471051693,
0.037736594676971436,
-0.008841199800372124,
0.05318218097090721,
-0.021963199600577354,
-0.02215602807700634,
0.006030720192939043,
-0.0032756789587438107,
0.04685739427804947,
-0.05611317604780197,
0.03330153226852417,
0.009858371689915657,
-0.062013737857341766,
-0.008932793512940407,
0.022233158349990845,
-0.037196673452854156,
0.016872519627213478,
0.025009892880916595,
-0.027034595608711243,
0.08006251603364944,
0.037215955555438995,
0.00303705339320004,
-0.014346461743116379,
-0.027863759547472,
0.014471800066530704,
0.01656399294734001,
0.013420883566141129,
-0.020497700199484825,
-0.07111525535583496,
-0.004194026347249746,
-0.029425673186779022,
0.06467477232217789,
-0.01858869567513466,
-0.01670861430466175,
0.03812225162982941,
0.02043985202908516,
-0.014828533865511417,
0.04323221370577812,
-0.020902641117572784,
-0.0836876928806305,
0.0023332282435148954,
-0.009655901230871677,
-0.051793813705444336,
-0.05869708210229874,
0.007014147005975246,
0.01567698083817959,
0.005635421257466078,
-0.009048490785062313,
0.0062090870924293995,
-0.0029719737358391285,
-0.030871888622641563,
-0.017026782035827637,
-0.031006868928670883,
0.05781007185578346,
0.0010075303725898266,
-0.08785279840230942,
-0.06675732880830765,
-0.05383779853582382,
-0.01736423186957836,
0.02585834078490734,
0.04207524284720421,
0.02946423925459385,
-0.07150091230869293,
0.012601361609995365,
0.10351049154996872,
-0.08060242980718613,
-0.0029020733200013638,
-0.0021922222804278135,
0.04419635981321335,
0.011367256753146648,
-0.002817710628733039,
0.003034643130376935,
-0.07065246999263763,
0.021654672920703888,
0.019080407917499542,
0.01591801643371582,
-0.04577755555510521,
-0.015966223552823067,
0.0067393663339316845,
-0.0017222020542249084,
0.010509168729186058,
-0.0200349111109972,
0.03548049554228783,
0.02452782168984413,
0.02190534956753254,
-0.020748376846313477,
0.009554666467010975,
0.011444388888776302,
0.0543777197599411,
0.023274434730410576,
-0.07377629727125168,
0.004847233649343252,
0.016795387491583824,
-0.05144672095775604,
-0.05125389248132706,
-0.012533871456980705,
-0.02202104777097702,
0.005625779740512371,
-0.015503434464335442,
0.039876993745565414,
0.01591801643371582,
-0.026378978043794632,
-0.04149675369262695,
-0.0017860766965895891,
0.043077949434518814,
0.0003624578530434519,
-0.01991921290755272,
-0.018810449168086052,
0.039472054690122604,
0.03486344590783119,
0.01846335642039776,
0.011743273586034775,
0.010914109647274017,
-0.029502805322408676,
0.14971226453781128,
0.04936416819691658,
-0.00007720683788647875,
-0.008614625781774521,
-0.008354307152330875,
-0.0031503404024988413,
-0.007679406553506851,
0.06378776580095291,
-0.05356783792376518,
-0.011646858416497707,
-0.017431722953915596,
0.014761043712496758,
-0.024585669860243797,
0.07242649048566818,
0.004965341184288263,
0.0019692638888955116,
-0.06652592867612839,
-0.016024071723222733,
-0.019977062940597534,
-0.05229516699910164,
-0.003651695093140006,
-0.023814355954527855,
-0.02032415382564068,
-0.0103549063205719,
-0.037350937724113464,
0.017055707052350044,
0.024778498336672783,
-0.015445586293935776,
0.02986917831003666,
-0.013372676447033882,
0.004861695691943169,
-0.03567332401871681,
-0.01630367338657379,
-0.053799230605363846,
-0.007274466101080179,
-0.048361461609601974,
-0.011656500399112701,
-0.021847501397132874,
0.02998487651348114,
0.05784863606095314,
-0.06054823845624924,
0.010403113439679146,
-0.06536895781755447,
-0.02468208409845829,
0.06675732880830765,
-0.03823794797062874,
0.05788720026612282,
0.01406686007976532,
0.020343437790870667,
0.050636839121580124,
0.0700354129076004,
-0.02042056806385517,
0.05217947065830231,
-0.009761957451701164,
0.030466947704553604,
0.011444388888776302,
-0.015223832800984383,
0.03972272947430611,
0.0033937867265194654,
-0.03357149288058281,
0.07717008143663406,
0.03632894530892372,
0.05013548582792282,
0.018636902794241905,
-0.00012646857067011297,
0.016168693080544472,
0.05175524577498436,
-0.015946941450238228,
0.05106106400489807,
-0.06054823845624924,
0.06660306453704834,
-0.0048375921323895454,
0.03436208888888359,
0.03199029713869095,
-0.011029806919395924,
-0.009646260179579258,
0.02296590805053711,
-0.004063866566866636,
0.0018150010146200657,
-0.010894826613366604,
-0.04261516034603119,
0.03837293013930321,
0.00020744159701280296,
0.011164787225425243,
0.055727519094944,
-0.02890503592789173,
-0.024489255622029305,
0.04735875129699707,
-0.0012244627578184009,
-0.041188228875398636,
-0.04188241437077522,
0.0266875047236681,
-0.01307379174977541,
0.02138471230864525,
0.030312685295939445,
0.0014630884397774935,
-0.012900246307253838,
0.03754376620054245,
0.016756821423768997,
0.0015703494427725673,
-0.04130392521619797,
0.03609754890203476,
-0.05171668156981468,
-0.039607033133506775,
0.023544395342469215,
-0.043309345841407776,
-0.046124644577503204,
-0.011579368263483047,
-0.01094303373247385,
0.002152451314032078,
-0.045430462807416916,
0.021191883832216263,
0.06791429966688156,
0.0005760759813711047,
0.00149201275780797,
0.018251243978738785,
-0.042152371257543564,
-0.07493326812982559,
-0.07566601783037186,
0.03740878403186798,
-0.030196988955140114,
-0.04350217431783676,
-0.0034926114603877068,
0.0015100904274731874,
0.05877421423792839,
0.004572452511638403,
-0.008388052694499493,
0.040532611310482025,
-0.015378096140921116,
0.01272669993340969,
0.014539290219545364,
-0.021982481703162193,
0.08808419108390808,
-0.030871888622641563,
-0.025125591084361076,
-0.010567017830908298,
-0.015011721290647984,
0.009930682368576527,
-0.06494473665952682,
-0.06197517365217209,
0.015985505655407906,
-0.058581385761499405,
-0.015223832800984383,
-0.03465133160352707,
-0.037466634064912796,
0.001927082659676671,
0.01440431084483862,
-0.005283508915454149,
0.02227172441780567,
-0.01976495049893856,
0.07647589594125748,
0.005886098835617304,
0.010634507983922958,
-0.08854697644710541,
-0.015416661277413368,
0.0282879825681448,
0.000880986510310322,
-0.07369916141033173,
0.009284705854952335,
0.01792343519628048,
-0.03129611164331436,
-0.06664162874221802,
-0.024315709248185158,
0.03278089314699173,
-0.025549814105033875,
0.027246708050370216,
0.007674585562199354,
0.016014430671930313,
0.014288613572716713,
0.009400403127074242,
0.05861994996666908,
0.016477219760417938,
-0.0077951038256287575,
0.043193649500608444,
0.10027097165584564,
-0.021269015967845917,
0.005437771789729595,
-0.03569260984659195,
-0.0024344634730368853,
-0.036560337990522385,
0.048747118562459946,
-0.020536266267299652,
0.05283508822321892,
-0.02549196593463421,
0.0015631183050572872,
0.012157854624092579,
-0.024508539587259293,
-0.01378725841641426,
0.04924847185611725,
0.0020837560296058655,
0.03806440159678459,
-0.00454834895208478,
-0.000722505385056138,
0.0026007783599197865,
-0.003280499717220664,
-0.002767093013972044,
0.03779444098472595,
-0.014761043712496758,
-0.05264225974678993,
0.016361523419618607,
0.0703825056552887,
0.09440897405147552,
-0.061126723885536194,
-0.052603691816329956,
0.019475707784295082,
-0.040262650698423386,
-0.025144873186945915,
0.09417758136987686,
-0.028692923486232758,
0.00007076666224747896,
-0.03607826679944992,
-0.025781208649277687,
-0.008455541916191578,
0.010528451763093472,
0.019408216699957848,
-0.008595343679189682,
-0.030871888622641563,
0.03424639254808426,
0.003053925931453705,
-0.015300964005291462,
0.007014147005975246,
0.0035456393379718065,
-0.00458209402859211,
-0.03320511803030968,
-0.015243115834891796,
0.00781920738518238,
-0.019803516566753387,
0.04712735489010811,
0.02720814198255539,
0.050482574850320816,
-0.013247338123619556,
-0.026359695941209793,
-0.0419209785759449,
-0.041226793080568314,
-0.04064830765128136,
0.026706786826252937,
0.03355221077799797,
0.08461327105760574,
-0.0395684689283371,
-0.020073477178812027,
0.015975864604115486,
-0.02163539081811905,
0.024315709248185158,
-0.02042056806385517,
-0.006363349966704845,
0.026031887158751488,
-0.0049026720225811005,
0.05241086333990097,
0.004999086260795593,
-0.02535698562860489,
-0.039317790418863297,
-0.00908223632723093,
-0.0008954486693255603,
0.022850211709737778,
-0.029502805322408676,
-0.047165922820568085,
0.0025308779440820217,
0.08646442741155624,
-0.018656184896826744,
-0.028982166200876236,
0.022580251097679138,
0.018540488556027412,
-0.031893882900476456,
-0.04774440824985504,
0.02880862168967724,
-0.014172916300594807,
-0.04886281490325928,
0.04222950339317322,
0.01897435262799263,
-0.010422395542263985,
-0.04207524284720421,
0.07686155289411545,
-0.04789867252111435,
0.01366191916167736,
-0.003940938506275415,
0.024990610778331757,
-0.0008020472596399486,
-0.05013548582792282,
0.02296590805053711,
-0.0012570027029141784,
0.011328691616654396,
-0.030698342248797417,
-0.04963412880897522,
-0.018395867198705673,
-0.04350217431783676,
0.004367572255432606,
-0.021847501397132874,
-0.04627890884876251,
-0.00497498270124197,
0.06050967425107956,
0.0027887863107025623,
-0.015021362341940403,
-0.02562694624066353,
-0.03829579800367355,
-0.04631747305393219,
0.0010442883940413594,
-0.008190402761101723,
-0.057000190019607544,
0.006305501330643892,
-0.013671561144292355,
0.03837293013930321,
-0.040146954357624054,
-0.03170105442404747,
-0.02867364138364792,
0.03594328463077545,
-0.021442560479044914,
0.017740247771143913,
-0.007173230871558189,
-0.008730323053896427,
0.10212212800979614,
-0.03937563672661781,
-0.013980086892843246,
-0.033764321357011795,
0.04442775249481201,
-0.01670861430466175,
0.0034010177478194237,
-0.026571806520223618,
0.015031004324555397,
0.027883043512701988,
0.01779809780418873,
-0.02959921956062317,
-0.09093805402517319,
-0.008190402761101723,
0.03519125282764435,
-0.06220656633377075,
0.01378725841641426,
-0.0639805942773819,
0.02269594743847847,
0.032858025282621384,
-0.016265107318758965,
-0.0939461886882782,
0.005457054823637009,
0.037755876779556274,
-0.0728892832994461,
0.05900561064481735,
0.03524910286068916,
-0.029753481969237328,
0.017017140984535217,
-0.020459134131669998,
-0.029946310445666313,
-0.05638313665986061,
0.04643317312002182,
-0.04207524284720421,
-0.013941521756350994,
0.0021259374916553497,
-0.023814355954527855,
-0.02533770352602005,
-0.01500207930803299,
0.06425055116415024,
0.06054823845624924,
-0.03025483712553978,
0.06536895781755447,
0.016544710844755173,
-0.06745150685310364,
-0.007664944510906935,
-0.00480625731870532,
0.009458252228796482,
-0.05750154331326485,
-0.0318167507648468,
-0.02333228290081024,
0.010557375848293304,
0.017007499933242798,
-0.07385342568159103,
0.04554615914821625,
0.011839687824249268,
-0.04261516034603119,
0.03848862648010254,
-0.028056588023900986,
-0.01617833599448204,
0.06930266320705414,
-0.02732383832335472,
-0.01911897398531437,
0.03548049554228783,
-0.00010989734437316656,
0.022773079574108124,
-0.018096981570124626,
-0.01067307312041521,
-0.04037834703922272,
0.036560337990522385,
-0.030447665601968765,
-0.011126221157610416,
0.016496501863002777,
-0.008190402761101723,
0.041226793080568314,
-0.018222320824861526,
-0.0357697419822216,
0.007920442149043083,
-0.021153317764401436,
-0.016120485961437225,
-0.03673388436436653,
0.04654886946082115,
-0.00593912648037076,
-0.018106622621417046,
-0.024643519893288612,
0.05430058762431145,
-0.010788770392537117,
0.03968416526913643,
-0.016159052029252052,
0.0140572190284729,
-0.03638679161667824,
-0.022001763805747032,
0.08769853413105011,
-0.013247338123619556,
-0.012398891150951385,
0.0018005388556048274,
0.010759846307337284,
-0.014876740984618664,
0.03825723007321358,
-0.02294662594795227,
0.07069103419780731,
-0.002815300365909934,
0.03632894530892372,
-0.06776003539562225,
0.007771000266075134,
0.022059613838791847,
0.05538042634725571,
0.04269229248166084,
0.019996345043182373,
-0.061512384563684464,
-0.02838439680635929,
-0.013150922954082489,
0.0011280484031885862,
0.018231961876153946,
-0.018077699467539787,
0.04805293306708336,
0.022348856553435326,
0.015725187957286835,
0.01386438962072134,
0.05503333732485771,
0.021269015967845917,
0.0011654089903458953,
0.014182557351887226,
0.04138105735182762,
-0.010489885695278645,
0.028982166200876236,
0.01699785701930523,
0.03976129740476608,
-0.00908705685287714,
0.014973155222833157,
0.05329787731170654,
0.002612830139696598,
0.05403062701225281,
-0.039221376180648804,
0.030949020758271217,
0.017460646107792854,
-0.02560766227543354,
0.012051799334585667,
-0.035075556486845016,
-0.03949133679270744,
0.01095267478376627,
-0.0034130695275962353,
-0.014211481437087059,
-0.06166664510965347,
-0.01855977065861225,
0.021789653226733208,
0.05426201969385147,
0.004454344976693392,
0.014510366134345531,
-0.034014999866485596,
-0.00810362957417965,
-0.0028707385063171387,
-0.02481706440448761,
0.02826870046555996,
-0.016033712774515152,
0.0658317506313324,
-0.039876993745565414,
0.02797945775091648,
0.029155712574720383,
0.03912496194243431,
-0.03702312707901001,
-0.034188542515039444,
0.0011943333083763719,
-0.053683534264564514,
0.03089117258787155,
0.03220240771770477,
0.035634759813547134,
0.05541899427771568,
-0.007269645109772682,
0.007578171323984861,
-0.01440431084483862,
-0.03925994038581848,
0.014577856287360191,
-0.03364862501621246,
0.0001898158370750025,
0.0648290365934372,
-0.03964559733867645,
-0.004531476646661758,
0.046394605189561844,
0.013054508715867996,
0.012341042049229145,
-0.016670048236846924,
0.050752535462379456,
-0.016236184164881706,
-0.020632680505514145,
-0.009578770026564598,
-0.01829945109784603,
0.06606314331293106,
0.021654672920703888,
0.006054823752492666,
-0.01631331630051136,
0.06660306453704834,
-0.02799873985350132,
-0.016756821423768997,
-0.02946423925459385,
0.01871403306722641,
-0.024238578975200653,
-0.011135862208902836,
-0.005322074517607689,
0.006440481636673212,
0.08322490751743317,
-0.0183090940117836,
-0.005331716034561396,
-0.00480625731870532,
-0.024045750498771667,
-0.02055554836988449,
0.0266875047236681,
-0.053529269993305206,
0.0282879825681448,
-0.04577755555510521,
-0.05680736154317856,
-0.006411557085812092,
-0.015291322953999043,
-0.04631747305393219,
0.008325383067131042,
-0.016496501863002777,
0.05630600452423096,
-0.03312798589468002,
-0.04381069913506508,
-0.004280799068510532,
0.07346776872873306,
-0.07196370512247086,
0.053683534264564514,
0.062437962740659714,
0.03227953985333443,
0.025761926546692848,
-0.06698872148990631,
-0.011126221157610416,
0.05426201969385147,
-0.03738950192928314,
0.006585102993994951,
0.028847185894846916,
-0.013150922954082489,
-0.00810362957417965,
0.023409415036439896,
0.03607826679944992,
0.04581611976027489,
-0.05013548582792282,
0.028635075315833092,
-0.021808935329318047,
-0.03688814863562584,
-0.01287132129073143,
-0.02522200532257557,
-0.056845925748348236,
0.023409415036439896,
-0.00822896882891655,
0.005105142015963793,
0.001711355522274971,
0.04280799254775047,
0.0570773221552372,
0.0602782778441906,
-0.044003527611494064,
0.04573898762464523,
-0.03027411922812462,
0.03765946254134178,
-0.030158422887325287,
0.002730937674641609,
-0.016544710844755173,
0.0042181299068033695,
-0.007689048070460558,
-0.039221376180648804,
0.003441993845626712,
0.013980086892843246,
0.04616321250796318,
0.013652278110384941,
-0.046780262142419815,
0.03505627438426018,
0.04820719733834267,
0.011367256753146648,
0.02456638775765896,
0.022734513506293297,
-0.018366942182183266,
0.002133168512955308,
-0.07285071909427643,
-0.013093074783682823,
0.05125389248132706,
0.0225609689950943,
0.02574264258146286,
0.03898997977375984,
-0.02533770352602005,
-0.026706786826252937,
0.03596257045865059,
-0.021269015967845917,
-0.021423278376460075,
-0.045199066400527954,
-0.022888777777552605,
0.0178848709911108,
-0.006970760878175497,
0.020902641117572784,
-0.00788669753819704,
0.06845422089099884,
0.07092242687940598,
-0.012051799334585667,
0.07944545894861221,
0.040802571922540665,
0.04010838642716408,
-0.03364862501621246,
-0.05985405668616295,
0.0033046032767742872,
0.01520454976707697,
-0.04589325189590454,
0.044119227677583694,
0.05599747970700264,
-0.016940008848905563,
0.02227172441780567,
0.022483836859464645,
-0.03170105442404747,
-0.06529182940721512,
-0.02651395834982395,
-0.022233158349990845,
0.08237645775079727,
-0.012765266001224518,
-0.013565504923462868,
-0.07539605349302292,
0.030968302860856056,
0.025549814105033875,
0.004114484414458275,
0.04998122155666351,
-0.03968416526913643,
-0.008195223286747932
] |
18,466 | fs.base | getmeta | Get meta information regarding a filesystem.
Arguments:
namespace (str): The meta namespace (defaults
to ``"standard"``).
Returns:
dict: the meta information.
Meta information is associated with a *namespace* which may be
specified with the ``namespace`` parameter. The default namespace,
``"standard"``, contains common information regarding the
filesystem's capabilities. Some filesystems may provide other
namespaces which expose less common or implementation specific
information. If a requested namespace is not supported by
a filesystem, then an empty dictionary will be returned.
The ``"standard"`` namespace supports the following keys:
=================== ============================================
key Description
------------------- --------------------------------------------
case_insensitive `True` if this filesystem is case
insensitive.
invalid_path_chars A string containing the characters that
may not be used on this filesystem.
max_path_length Maximum number of characters permitted in
a path, or `None` for no limit.
max_sys_path_length Maximum number of characters permitted in
a sys path, or `None` for no limit.
network `True` if this filesystem requires a
network.
read_only `True` if this filesystem is read only.
supports_rename `True` if this filesystem supports an
`os.rename` operation.
=================== ============================================
Most builtin filesystems will provide all these keys, and third-
party filesystems should do so whenever possible, but a key may
not be present if there is no way to know the value.
Note:
Meta information is constant for the lifetime of the
filesystem, and may be cached.
| def getmeta(self, namespace="standard"):
# type: (Text) -> Mapping[Text, object]
"""Get meta information regarding a filesystem.
Arguments:
namespace (str): The meta namespace (defaults
to ``"standard"``).
Returns:
dict: the meta information.
Meta information is associated with a *namespace* which may be
specified with the ``namespace`` parameter. The default namespace,
``"standard"``, contains common information regarding the
filesystem's capabilities. Some filesystems may provide other
namespaces which expose less common or implementation specific
information. If a requested namespace is not supported by
a filesystem, then an empty dictionary will be returned.
The ``"standard"`` namespace supports the following keys:
=================== ============================================
key Description
------------------- --------------------------------------------
case_insensitive `True` if this filesystem is case
insensitive.
invalid_path_chars A string containing the characters that
may not be used on this filesystem.
max_path_length Maximum number of characters permitted in
a path, or `None` for no limit.
max_sys_path_length Maximum number of characters permitted in
a sys path, or `None` for no limit.
network `True` if this filesystem requires a
network.
read_only `True` if this filesystem is read only.
supports_rename `True` if this filesystem supports an
`os.rename` operation.
=================== ============================================
Most builtin filesystems will provide all these keys, and third-
party filesystems should do so whenever possible, but a key may
not be present if there is no way to know the value.
Note:
Meta information is constant for the lifetime of the
filesystem, and may be cached.
"""
if namespace == "standard":
meta = self._meta.copy()
else:
meta = {}
return meta
| (self, namespace='standard') | [
0.05870077386498451,
0.032271090894937515,
-0.019781945273280144,
-0.05414948984980583,
0.07235461473464966,
-0.018563492223620415,
0.010715220123529434,
0.05253683403134346,
0.058736611157655716,
-0.031142229214310646,
-0.004139157012104988,
0.016986669972538948,
-0.01861724816262722,
0.003272352972999215,
0.04354178160429001,
0.043040066957473755,
-0.049562372267246246,
0.06106600537896156,
-0.026429682970046997,
-0.005662223324179649,
0.03363288938999176,
-0.027755646035075188,
-0.016081789508461952,
-0.06067179888486862,
0.024619920179247856,
0.023025181144475937,
0.02825736254453659,
-0.032163579016923904,
0.07819602638483047,
-0.00344929751008749,
-0.038130417466163635,
-0.04906065762042999,
0.04590701311826706,
0.012112857773900032,
-0.013716557063162327,
-0.010643546469509602,
-0.02390318363904953,
-0.01861724816262722,
-0.05167675018310547,
0.01058083213865757,
-0.009846176952123642,
-0.01956692337989807,
-0.05733897164463997,
-0.027630217373371124,
0.03139308840036392,
0.040029771625995636,
0.005178425926715136,
-0.0018623967189341784,
0.023007262498140335,
0.058342404663562775,
0.01842014491558075,
0.016556628048419952,
-0.0236344076693058,
-0.02040909044444561,
-0.042753372341394424,
0.047842204570770264,
-0.03228900954127312,
-0.03390166535973549,
-0.02372399903833866,
0.06067179888486862,
0.047089628875255585,
0.015893645584583282,
0.01497980672866106,
-0.031249739229679108,
-0.02728976681828499,
-0.022165095433592796,
0.019154800102114677,
-0.07446899265050888,
-0.024136124178767204,
0.005993714556097984,
-0.03476175293326378,
-0.03752119094133377,
0.017228569835424423,
-0.0217350535094738,
0.032360684126615524,
-0.03164394572377205,
0.009210072457790375,
-0.0425383485853672,
0.05081666260957718,
-0.035657674074172974,
-0.03581893816590309,
-0.021752972155809402,
-0.06780333071947098,
-0.016744771972298622,
-0.00046279942034743726,
0.06726577877998352,
0.034170445054769516,
0.01449600886553526,
0.0005333532462827861,
0.0004493605811148882,
-0.05705227702856064,
0.019101044163107872,
0.04802138730883598,
0.11224103718996048,
-0.03701947256922722,
-0.08292648941278458,
-0.062320295721292496,
-0.01598323881626129,
0.01549048162996769,
-0.024351144209504128,
-0.02436906285583973,
0.009460930712521076,
-0.01326859649270773,
0.03608771413564682,
0.047663021832704544,
-0.012489144690334797,
-0.026662621647119522,
-0.006876197177916765,
-0.00025995721807703376,
-0.027415195479989052,
-0.03426003456115723,
-0.03770037367939949,
0.006970268674194813,
0.05612051859498024,
0.02777356468141079,
-0.03384791314601898,
0.028114015236496925,
0.03370456397533417,
0.024799104779958725,
-0.020534519106149673,
-0.06486470997333527,
0.032181497663259506,
0.05325356870889664,
-0.038309600204229355,
0.05526043474674225,
-0.014585601165890694,
0.018957696855068207,
-0.03485134243965149,
0.012874390929937363,
0.05307438597083092,
-0.0020550198387354612,
-0.030945125967264175,
0.023831510916352272,
0.0453694611787796,
-0.0025600953958928585,
-0.02927871234714985,
0.05590549856424332,
0.016888119280338287,
-0.026429682970046997,
0.05131838098168373,
-0.016592465341091156,
-0.0231326911598444,
-0.004990282468497753,
-0.0746840089559555,
-0.03239651769399643,
-0.026107151061296463,
0.01805281639099121,
-0.05328940600156784,
0.0028535097371786833,
-0.06486470997333527,
0.06210527569055557,
-0.008802427910268307,
0.013833027333021164,
0.013501536101102829,
-0.032271090894937515,
-0.006016112398356199,
0.005254579242318869,
0.013196922838687897,
-0.061818577349185944,
0.03664318844676018,
-0.026322171092033386,
0.007803475484251976,
-0.0023293958511203527,
-0.06350290775299072,
0.014406416565179825,
0.021000398322939873,
0.037377841770648956,
-0.02288183383643627,
0.03316701203584671,
-0.0020572596695274115,
-0.05844991281628609,
-0.015454644337296486,
-0.017999062314629555,
-0.010383729822933674,
0.0041436366736888885,
-0.0032947510480880737,
0.006047469563782215,
-0.0014569922350347042,
-0.007781077641993761,
0.02049868181347847,
0.04476023465394974,
-0.07511405646800995,
-0.08464665710926056,
0.02370608039200306,
-0.0340270958840847,
0.06869925558567047,
0.027182256802916527,
0.023670244961977005,
0.05278769135475159,
0.0434701070189476,
0.05235764756798744,
0.0000031628476335754385,
-0.06092265620827675,
0.015705503523349762,
0.03191272169351578,
-0.055403780192136765,
-0.010553954169154167,
0.0015936202835291624,
0.0021468517370522022,
0.07249796390533447,
-0.0025287382304668427,
0.02476326934993267,
0.022344280034303665,
0.046516239643096924,
0.004103320185095072,
-0.02288183383643627,
-0.006464072968810797,
0.005653264466673136,
-0.060994330793619156,
0.03644608333706856,
-0.015087316744029522,
-0.03553224354982376,
-0.01663726195693016,
-0.016744771972298622,
0.04271753504872322,
0.03537097945809364,
-0.029027855023741722,
0.016977710649371147,
-0.024548247456550598,
0.0057831727899611,
0.017730284482240677,
0.008914418518543243,
0.015741338953375816,
0.044079333543777466,
-0.04884563758969307,
-0.017613815143704414,
0.0604567788541317,
-0.0321098230779171,
0.0009244789252988994,
-0.035657674074172974,
0.02825736254453659,
-0.00103870895691216,
-0.022828077897429466,
0.03069426864385605,
0.05974004045128822,
-0.012050143443048,
0.01768548972904682,
0.018545573577284813,
0.03553224354982376,
-0.00538448803126812,
0.04329092428088188,
-0.04515444114804268,
-0.038596294820308685,
0.03531722351908684,
-0.037377841770648956,
-0.04866645112633705,
-0.02202174812555313,
0.004802139010280371,
0.07052693516016006,
-0.02825736254453659,
0.02958332560956478,
0.04278920963406563,
0.011082547716796398,
0.017891550436615944,
0.020534519106149673,
-0.0053172935731709,
-0.08048958331346512,
-0.05397030711174011,
0.04364929348230362,
-0.026519274339079857,
0.00023797912581358105,
-0.024404900148510933,
0.011019833385944366,
0.020462846383452415,
0.01823200099170208,
-0.013877823017537594,
0.03560391813516617,
0.0236164890229702,
-0.06497222185134888,
-0.000036536795960273594,
0.05898746848106384,
0.08543507009744644,
-0.040101442486047745,
-0.046731263399124146,
-0.01654766872525215,
-0.03033589944243431,
0.030730105936527252,
-0.02117958292365074,
0.020839132368564606,
0.008291753008961678,
-0.015427767299115658,
-0.0010062317596748471,
0.0029901377856731415,
-0.03522763028740883,
-0.014128681272268295,
0.006110184360295534,
-0.05375528708100319,
0.002024782355874777,
0.00929966475814581,
0.003935334738343954,
-0.004770781844854355,
0.011252772994339466,
-0.11030584573745728,
-0.007588454522192478,
0.003937574569135904,
-0.005845887586474419,
-0.1341731995344162,
-0.038882989436388016,
0.058342404663562775,
-0.04458105191588402,
-0.02239803597331047,
0.003691196208819747,
0.03431379050016403,
0.054006144404411316,
0.005236660595983267,
0.038882989436388016,
0.06246364116668701,
-0.015472562983632088,
0.002589212963357568,
0.003794227261096239,
0.032163579016923904,
-0.019226474687457085,
0.03078386001288891,
0.10156165063381195,
-0.031608108431100845,
0.05357610061764717,
-0.03334619477391243,
-0.006876197177916765,
-0.00542928371578455,
0.04386431351304054,
-0.028042340651154518,
0.056837256997823715,
0.04232332855463028,
0.008712835609912872,
0.03375831991434097,
-0.05454369634389877,
-0.033023662865161896,
-0.028400709852576256,
0.041140712797641754,
0.0330595001578331,
0.010706260800361633,
0.00017904430569615215,
0.020713703706860542,
0.052859365940093994,
-0.06296535581350327,
0.04562031850218773,
0.018008021637797356,
-0.07640417665243149,
0.017031466588377953,
-0.015356093645095825,
0.02191423811018467,
0.004257866647094488,
0.012005346827208996,
-0.04178577661514282,
-0.037915393710136414,
-0.028042340651154518,
0.05321773514151573,
-0.05379112437367439,
0.005635345820337534,
-0.08780030161142349,
-0.009425093419849873,
-0.006862758193165064,
-0.007167371455579996,
-0.005339691881090403,
-0.0033865829464048147,
-0.08543507009744644,
-0.05339691787958145,
-0.0048334961757063866,
-0.03327452391386032,
0.026017557829618454,
-0.009317583404481411,
0.031160147860646248,
-0.010052238591015339,
0.00002894246244977694,
0.016108667477965355,
-0.031106391921639442,
-0.010410606861114502,
0.0925307646393776,
0.004517683759331703,
-0.04139157012104988,
0.015472562983632088,
-0.02277432382106781,
-0.01644015870988369,
-0.013761353679001331,
0.03296991065144539,
-0.018455982208251953,
0.006988187320530415,
-0.0236344076693058,
-0.052106790244579315,
0.007812434807419777,
0.03325660526752472,
0.047089628875255585,
-0.05827073007822037,
-0.02087496966123581,
-0.0008556049433536828,
0.0027191215194761753,
0.03913384675979614,
0.0027213613502681255,
-0.020104477182030678,
0.014012211002409458,
-0.06074347347021103,
-0.0132238008081913,
0.0026720857713371515,
0.04192912206053734,
-0.012256205081939697,
0.003440338419750333,
0.010285178199410439,
-0.036428164690732956,
-0.029923776164650917,
0.00000862236902321456,
0.027343522757291794,
-0.07683422416448593,
-0.016556628048419952,
0.010643546469509602,
0.015275460667908192,
-0.03920552134513855,
-0.004163794685155153,
-0.04637289419770241,
0.02230844460427761,
-0.021197501569986343,
-0.01569654420018196,
-0.03447505831718445,
0.009783461689949036,
-0.04429435729980469,
0.035460568964481354,
0.06310870498418808,
0.006549185607582331,
0.0406031608581543,
0.02418987825512886,
0.011924714781343937,
-0.01569654420018196,
-0.03508428484201431,
-0.014424335211515427,
-0.012578736990690231,
0.00788858812302351,
-0.0396714024245739,
-0.022469710558652878,
-0.004463928751647472,
-0.00811704806983471,
0.010150790214538574,
-0.020176149904727936,
0.06020592153072357,
-0.024351144209504128,
-0.03384791314601898,
0.031124310567975044,
-0.07307135313749313,
-0.03723449632525444,
-0.06550977379083633,
-0.014585601165890694,
0.044831909239292145,
-0.0034291392657905817,
-0.03246819227933884,
0.020928725600242615,
0.024691594764590263,
-0.0387754812836647,
0.023311875760555267,
-0.027003072202205658,
0.015597992576658726,
0.04669542610645294,
-0.014119721949100494,
-0.014675193466246128,
-0.02230844460427761,
0.07948614656925201,
-0.0057070194743573666,
0.02967291884124279,
-0.04938318952918053,
-0.03080177865922451,
-0.04734048992395401,
-0.033399950712919235,
-0.006477511953562498,
-0.08335652947425842,
0.029171202331781387,
0.010374770499765873,
-0.05275185406208038,
0.003608323633670807,
-0.03357913717627525,
0.01833951100707054,
0.020355334505438805,
-0.016269933432340622,
-0.008578447625041008,
0.04088985547423363,
0.0008858423097990453,
-0.027719808742403984,
-0.028579894453287125,
-0.013671761378645897,
-0.013644883409142494,
-0.024637838825583458,
-0.009434052743017673,
0.007480944041162729,
-0.05963253229856491,
0.0509958490729332,
-0.007480944041162729,
-0.022200932726264,
0.02153795212507248,
-0.00016210578905884176,
-0.033955421298742294,
0.06597565114498138,
-0.016843322664499283,
0.022129260003566742,
-0.01308941189199686,
0.02512163668870926,
0.05242932215332985,
0.0005185145419090986,
0.023939020931720734,
0.03848878666758537,
0.054472021758556366,
0.03296991065144539,
0.03185896575450897,
-0.004060763865709305,
-0.0009933528490364552,
0.00415483582764864,
-0.0340450145304203,
-0.038022905588150024,
0.038596294820308685,
-0.04164242744445801,
-0.01938774064183235,
-0.08077627420425415,
-0.041319895535707474,
0.0680541917681694,
-0.04099736362695694,
-0.04013727977871895,
-0.01375239435583353,
0.040208954364061356,
-0.005917561240494251,
-0.02067786641418934,
-0.004900690168142319,
-0.08106297254562378,
0.03927719593048096,
-0.00207741791382432,
0.028131933882832527,
0.0014771504793316126,
-0.03053300268948078,
-0.014943969435989857,
-0.03359705209732056,
-0.031518515199422836,
-0.02533665858209133,
0.028956180438399315,
-0.006455114111304283,
0.0026362487114965916,
-0.004253386985510588,
-0.0011926954612135887,
-0.018214082345366478,
-0.01842014491558075,
-0.009953686967492104,
-0.006047469563782215,
0.012865431606769562,
-0.006437195464968681,
0.024243634194135666,
0.00911152083426714,
-0.009344460442662239,
0.029368305578827858,
-0.01479166280478239,
-0.012050143443048,
0.06583230942487717,
0.07041942328214645,
0.015427767299115658,
0.02164546214044094,
-0.06228445842862129,
0.07790932804346085,
-0.01426306925714016,
-0.00860084593296051,
-0.07142286002635956,
0.023473141714930534,
0.014065966941416264,
-0.0048424554988741875,
0.005397926550358534,
0.0585932619869709,
-0.03004920482635498,
-0.011145262978971004,
-0.02533665858209133,
0.010500199161469936,
0.03363288938999176,
0.0012229327112436295,
0.013187963515520096,
0.0059533980675041676,
0.01586676947772503,
0.0020639789290726185,
0.030909288674592972,
-0.021466277539730072,
0.023741917684674263,
-0.0013897981261834502,
0.021466277539730072,
0.06529475748538971,
-0.002918464131653309,
0.05633553862571716,
0.044545214623212814,
0.04296839237213135,
0.03866796940565109,
0.017452549189329147,
-0.05235764756798744,
0.002261081710457802,
0.012605614960193634,
0.06375376880168915,
0.059094976633787155,
-0.001977746607735753,
-0.003296990878880024,
-0.018760595470666885,
0.03060467541217804,
0.048200573772192,
0.01670893467962742,
-0.03884715214371681,
-0.029905857518315315,
0.08514837175607681,
-0.03834543749690056,
0.044401865452528,
-0.07669087499380112,
-0.028579894453287125,
-0.057303134351968765,
-0.010204545222222805,
-0.020839132368564606,
-0.018366388976573944,
0.04705379530787468,
-0.008506773971021175,
0.01737191714346409,
-0.02797066792845726,
0.008999531157314777,
0.012220368720591068,
-0.005612947978079319,
-0.011028792709112167,
-0.02295350655913353,
-0.04988490417599678,
-0.023759836331009865,
0.0057831727899611,
-0.006401358637958765,
0.05174842104315758,
0.014280987903475761,
0.020373253151774406,
-0.02899201773107052,
0.022559301927685738,
-0.1020633727312088,
0.03467215970158577,
-0.049096494913101196,
0.01454080455005169,
0.0027370399329811335,
0.011897836811840534,
0.008623244240880013,
-0.014128681272268295,
-0.013859904371201992,
-0.03977891057729721,
-0.042932555079460144,
0.013483617454767227,
-0.05819905549287796,
0.04368513077497482,
-0.05375528708100319,
0.002423467580229044,
0.03852462023496628,
0.02675221487879753,
-0.008143926039338112,
-0.013528414070606232,
0.07239045202732086,
-0.011969510465860367,
-0.012130776420235634,
0.042645860463380814,
0.01644911803305149,
-0.00864564161747694,
-0.05139005184173584,
0.029368305578827858,
0.004076442681252956,
0.09941144287586212,
-0.03262946009635925,
0.0003748871386051178,
0.046050362288951874,
-0.01690603792667389,
-0.01747942715883255,
0.05508124828338623,
-0.042108308523893356,
-0.000542592431884259,
-0.003715834114700556,
-0.06389711797237396,
-0.025730863213539124,
-0.027003072202205658,
-0.019692353904247284,
-0.029045773670077324,
-0.004519923590123653,
0.009335501119494438,
-0.055224597454071045,
-0.043613456189632416,
-0.0035590478219091892,
0.016305770725011826,
-0.0003698475775308907,
0.0509958490729332,
0.1133161410689354,
0.053146060556173325,
-0.001033669337630272,
-0.045118603855371475,
0.016556628048419952,
0.04798555374145508,
0.016744771972298622,
-0.0026855245232582092,
0.04372096434235573,
0.04167826473712921,
0.041606590151786804,
-0.009210072457790375,
0.03913384675979614,
-0.017819877713918686,
-0.007006105501204729,
0.03022838942706585,
0.033955421298742294,
-0.07590246200561523,
-0.004132437519729137,
0.017828837037086487,
-0.020247824490070343,
0.0264476016163826,
0.04640873149037361,
-0.012256205081939697,
0.02259513922035694,
0.07052693516016006,
0.02976251021027565,
0.055690474808216095,
-0.027845237404108047,
0.021018316969275475,
0.013098371215164661,
0.020928725600242615,
-0.037449516355991364,
0.02976251021027565,
-0.032360684126615524,
-0.04619370773434639,
0.01881434954702854,
-0.037449516355991364,
0.028221525251865387,
0.030461328104138374,
0.03762869909405708,
0.04934735223650932,
-0.009810339659452438,
0.04397182539105415,
-0.019441494718194008,
-0.0012912467354908586,
0.034242115914821625,
0.011942632496356964,
-0.04741216078400612,
-0.02304309979081154,
0.006293848156929016,
0.05500957742333412,
0.03608771413564682,
0.03343578800559044,
0.03246819227933884,
-0.01497980672866106,
-0.01936982199549675,
-0.03456464782357216,
0.061639394611120224,
-0.0113423652946949,
-0.00538448803126812,
-0.06880676746368408,
0.009801380336284637,
-0.0035052925813943148,
-0.03795123100280762,
0.04397182539105415,
0.0009877533884719014,
0.013259637169539928,
0.05242932215332985,
0.02626841701567173,
0.04554864764213562,
-0.018868105486035347,
0.061818577349185944,
-0.053325243294239044,
-0.06153188273310661,
-0.00444153044372797,
-0.03902633860707283,
-0.036911964416503906,
0.08170803636312485,
0.009675951674580574,
0.0031088474206626415,
-0.005926520098000765,
0.01936982199549675,
-0.030264226719737053,
-0.006132582202553749,
0.02587421052157879,
-0.0207853764295578,
0.08163636177778244,
0.004900690168142319,
-0.0633237287402153,
-0.050780825316905975,
-0.016135545447468758,
0.05063747987151146,
0.03325660526752472,
-0.006065388210117817,
-0.03555016219615936,
-0.020158233121037483
] |
18,467 | fs.base | getmodified | Get the timestamp of the last modifying access of a resource.
Arguments:
path (str): A path to a resource.
Returns:
datetime: The timestamp of the last modification.
The *modified timestamp* of a file is the point in time
that the file was last changed. Depending on the file system,
it might only have limited accuracy.
| def getmodified(self, path):
# type: (Text) -> Optional[datetime]
"""Get the timestamp of the last modifying access of a resource.
Arguments:
path (str): A path to a resource.
Returns:
datetime: The timestamp of the last modification.
The *modified timestamp* of a file is the point in time
that the file was last changed. Depending on the file system,
it might only have limited accuracy.
"""
return self.getinfo(path, namespaces=["details"]).modified
| (self, path) | [
0.07342138886451721,
0.04372480884194374,
0.012361941859126091,
0.07551515102386475,
0.0425732396543026,
-0.08040060847997665,
0.003513600677251816,
0.05928846821188927,
0.0851464793086052,
-0.019838431850075722,
0.008305271156132221,
-0.02817859873175621,
-0.0003754056815523654,
-0.016287753358483315,
0.0013751243241131306,
0.009352154098451138,
-0.04372480884194374,
-0.009264913387596607,
-0.06895468384027481,
-0.05052954703569412,
0.04431804269552231,
-0.038734667003154755,
0.02657337859272957,
-0.0014558215625584126,
0.025421805679798126,
0.02003035880625248,
0.07188595831394196,
-0.03264530003070831,
0.043306056410074234,
-0.0412122905254364,
0.0020076159853488207,
-0.02069338597357273,
-0.013321585021913052,
-0.01151571236550808,
-0.07991205900907516,
0.04452741891145706,
-0.012536422349512577,
0.01550259068608284,
-0.05367019772529602,
-0.04250344634056091,
-0.025160085409879684,
0.07488702237606049,
-0.004758954979479313,
-0.028510110452771187,
0.056566573679447174,
-0.014211435802280903,
-0.003249699017032981,
0.01238811481744051,
-0.023450177162885666,
-0.0012573499698191881,
0.05520562455058098,
0.045085757970809937,
-0.037024758756160736,
-0.03981644660234451,
-0.0032736901193857193,
-0.021199379116296768,
0.03688517585396767,
0.08382042497396469,
0.02303142473101616,
0.004793851170688868,
0.04937797784805298,
-0.05813689902424812,
-0.0033892833162099123,
-0.011812328360974789,
0.020728280767798424,
-0.0006292202742770314,
0.029993195086717606,
-0.06801249086856842,
-0.001810234971344471,
0.040304992347955704,
-0.03529740124940872,
0.0026608274783939123,
-0.010276900604367256,
0.02325824834406376,
-0.008431768976151943,
-0.03398879989981651,
-0.0018255020258948207,
-0.003485247725620866,
0.01250152662396431,
0.004776403307914734,
-0.0389789417386055,
-0.05084361135959625,
0.017674872651696205,
-0.0020817702170461416,
-0.01877409964799881,
-0.040339887142181396,
0.04763317108154297,
-0.06752394884824753,
-0.060056183487176895,
0.04051436856389046,
-0.020553801208734512,
0.030534084886312485,
-0.03189503401517868,
-0.01142847165465355,
0.015057666227221489,
-0.03379686921834946,
-0.02857990376651287,
-0.00875892024487257,
-0.006979219149798155,
0.03184268996119499,
0.03199972212314606,
0.042084693908691406,
0.005208242684602737,
0.029399961233139038,
0.06665154546499252,
0.06187077984213829,
0.016436060890555382,
0.00041820789920166135,
0.011472092010080814,
-0.06096348166465759,
0.011541884392499924,
-0.004335840232670307,
-0.014342295937240124,
-0.011934464797377586,
0.07052501291036606,
0.006364175584167242,
-0.03545443341135979,
-0.04969204217195511,
0.01182977668941021,
-0.0008985744789242744,
0.012867935933172703,
-0.006669516675174236,
0.03445989638566971,
0.024427268654108047,
-0.04550451040267944,
-0.019332436844706535,
-0.006900703068822622,
-0.011166751384735107,
0.008933400735259056,
-0.015842828899621964,
-0.03158096596598625,
-0.0014318304602056742,
0.03212185576558113,
0.11306335031986237,
0.015057666227221489,
-0.01647968217730522,
0.03789716213941574,
0.06686092168092728,
-0.01837279461324215,
0.032854676246643066,
0.01075672172009945,
0.004571388475596905,
0.02763770893216133,
-0.008968296460807323,
0.0013751243241131306,
-0.03681538254022598,
0.023589761927723885,
0.013408824801445007,
0.0025343289598822594,
0.018355347216129303,
0.03411093354225159,
-0.0824245810508728,
-0.0014427355490624905,
0.0006074102129787207,
-0.0008636784041300416,
0.012187461368739605,
-0.023485073819756508,
-0.015921344980597496,
-0.01832045055925846,
-0.05984680727124214,
-0.03414583206176758,
-0.01464763656258583,
0.01764870062470436,
-0.07216513156890869,
0.03789716213941574,
0.03327342867851257,
-0.0353846438229084,
-0.008588802069425583,
-0.03964196518063545,
0.004351106937974691,
0.013653097674250603,
0.015659622848033905,
0.014726152643561363,
-0.035873185843229294,
0.0026608274783939123,
0.014220159500837326,
0.01151571236550808,
0.050110794603824615,
0.0484008863568306,
0.033709630370140076,
0.02137385867536068,
-0.057822830975055695,
-0.019925670698285103,
0.08221520483493805,
0.006246401462703943,
0.02817859873175621,
-0.027166610583662987,
-0.015563659369945526,
0.000864223635289818,
0.03276743367314339,
0.028196046128869057,
-0.008819988928735256,
-0.002939996076747775,
-0.02069338597357273,
-0.04278261587023735,
-0.0017349902773275971,
0.007611711043864489,
-0.03459947928786278,
0.054682184010744095,
0.07998185604810715,
0.0027066285256296396,
-0.01050372514873743,
-0.02777729369699955,
0.05307696387171745,
0.005216966383159161,
0.017404427751898766,
0.04787744581699371,
0.042049795389175415,
-0.07474744319915771,
0.0416659414768219,
-0.0028353079687803984,
0.042398758232593536,
0.0034699805546551943,
-0.05300717055797577,
-0.008113342337310314,
-0.02625931240618229,
-0.06679113209247589,
0.02763770893216133,
-0.06553486734628677,
-0.00440345099195838,
-0.022542878985404968,
0.015424074605107307,
-0.047737859189510345,
0.019524365663528442,
0.03512291982769966,
-0.022281158715486526,
0.021670475602149963,
-0.0016248495085164905,
-0.04246855154633522,
-0.037617992609739304,
0.023485073819756508,
-0.0007628068560734391,
0.05360040441155434,
-0.07014115154743195,
-0.013339033350348473,
0.018215762451291084,
-0.011062062345445156,
-0.008065360598266125,
0.006883255206048489,
-0.0066040861420333385,
-0.0027938687708228827,
0.0434456393122673,
0.035733602941036224,
0.058032210916280746,
-0.021216826513409615,
-0.03569870814681053,
0.0030555895064026117,
-0.00587999215349555,
0.020169943571090698,
-0.034651823341846466,
0.03964196518063545,
0.06420882046222687,
-0.02266501449048519,
0.022787151858210564,
0.012449182569980621,
0.01671523042023182,
-0.01223108172416687,
-0.026276761665940285,
0.0035572207998484373,
0.01510128565132618,
0.021269170567393303,
-0.04983162507414818,
-0.03554167598485947,
-0.025962695479393005,
-0.021844957023859024,
-0.030359603464603424,
0.03491354361176491,
0.019454574212431908,
-0.020990002900362015,
0.03580339625477791,
0.03657110780477524,
-0.004063214175403118,
-0.06284786760807037,
-0.07174637168645859,
-0.01917540468275547,
-0.047423794865608215,
0.028963759541511536,
0.018966028466820717,
0.01805873028934002,
0.004401270300149918,
-0.040933120995759964,
0.029940851032733917,
0.03601277247071266,
-0.001762252883054316,
-0.05133215710520744,
-0.0016248495085164905,
-0.03069111704826355,
0.019332436844706535,
-0.07108335196971893,
0.03571615368127823,
0.05977701395750046,
0.034791409969329834,
-0.04403887316584587,
-0.04009561613202095,
0.0748172327876091,
-0.01250152662396431,
-0.03526250645518303,
-0.06249890848994255,
0.047598276287317276,
0.030586428940296173,
-0.029539545997977257,
0.01943712681531906,
-0.026015039533376694,
-0.048226404935121536,
-0.015668347477912903,
-0.0005610638181678951,
0.014699980616569519,
-0.028614798560738564,
-0.02500305324792862,
0.050599340349435806,
0.003666271222755313,
-0.030760908499360085,
-0.045853469520807266,
0.009657494723796844,
-0.0421195887029171,
-0.016689058393239975,
0.006032662931829691,
0.04372480884194374,
-0.026869995519518852,
0.03379686921834946,
-0.03514036908745766,
0.04906391352415085,
0.050599340349435806,
-0.019018372520804405,
0.031738001853227615,
-0.07649224251508713,
0.004418718162924051,
0.024270234629511833,
0.031389039009809494,
0.04637691378593445,
-0.018477482721209526,
-0.020100152119994164,
0.041735731065273285,
-0.0309179425239563,
0.010599689558148384,
0.008549544028937817,
0.021757716313004494,
-0.07418910413980484,
0.03625704348087311,
0.0008505923324264586,
0.0743984803557396,
-0.04756338149309158,
0.0035681258887052536,
0.01948947086930275,
0.03264530003070831,
0.055135831236839294,
0.05778793618083,
0.010826514102518559,
0.011341231875121593,
-0.006076282821595669,
0.013365205377340317,
-0.0131034841760993,
-0.09491738677024841,
-0.0013293231604620814,
-0.04201490059494972,
-0.008213669061660767,
0.01603475585579872,
-0.00394325889647007,
-0.01211766991764307,
0.029016105458140373,
-0.029818715527653694,
0.03261040151119232,
0.02854500710964203,
-0.026625722646713257,
0.02535201422870159,
0.004180988762527704,
-0.016697783023118973,
0.03737372159957886,
0.03414583206176758,
-0.06309214234352112,
-0.03445989638566971,
0.023013975471258163,
0.027567915618419647,
0.0037447873037308455,
0.005138450302183628,
-0.04264302924275398,
0.020047808066010475,
0.02343272976577282,
-0.04934307932853699,
0.01837279461324215,
0.002172281965613365,
-0.004702249076217413,
-0.0038254845421761274,
-0.039362795650959015,
-0.025160085409879684,
0.05094830319285393,
0.011489540338516235,
-0.07725995779037476,
-0.04414356127381325,
-0.014979149214923382,
0.000499177782330662,
-0.049796730279922485,
-0.015336834825575352,
-0.026172073557972908,
-0.021338963881134987,
0.03301170840859413,
0.038420602679252625,
0.020135048776865005,
0.02643379382789135,
-0.04184041917324066,
0.03522760793566704,
0.048994120210409164,
-0.02692233957350254,
-0.010582241229712963,
-0.023153560236096382,
-0.020867865532636642,
0.013426273129880428,
0.05792751908302307,
-0.05538010597229004,
-0.0023663914762437344,
-0.03974665328860283,
0.015877723693847656,
-0.003869104664772749,
-0.010460104793310165,
0.054507702589035034,
0.008649869821965694,
-0.01684609055519104,
0.00016412070544902235,
-0.0003391464415472001,
0.01283303927630186,
-0.02043166384100914,
0.005714235827326775,
-0.01747422106564045,
-0.011149303056299686,
-0.009448118507862091,
-0.05461239069700241,
-0.002560501219704747,
0.037478409707546234,
-0.07670161873102188,
0.08165686577558517,
0.04365501552820206,
-0.012222358025610447,
-0.017413152381777763,
0.01698567532002926,
-0.0002350034046685323,
-0.044911276549100876,
-0.0004092112649232149,
-0.002837488893419504,
-0.03020257130265236,
0.0026673704851418734,
0.019454574212431908,
0.06096348166465759,
0.042224276810884476,
-0.04023519903421402,
0.026172073557972908,
-0.04456231743097305,
-0.017282292246818542,
-0.003153734840452671,
0.07028073817491531,
-0.018826443701982498,
-0.007982482202351093,
0.029714025557041168,
0.05576396360993385,
0.013940990902483463,
-0.013016244396567345,
-0.025648631155490875,
-0.0609285868704319,
0.002817859873175621,
-0.010050076059997082,
-0.022333502769470215,
-0.08026102185249329,
0.041596148163080215,
0.06064941734075546,
-0.1084570661187172,
0.0030970287043601274,
-0.08661211282014847,
-0.04606284946203232,
-0.007057735696434975,
-0.01908816583454609,
0.004863643553107977,
0.05290248245000839,
-0.03981644660234451,
-0.07000157237052917,
0.0076858652755618095,
-0.00535218883305788,
-0.013164552859961987,
0.0000849910793476738,
0.010983546264469624,
0.0071929581463336945,
0.018303003162145615,
0.014307399280369282,
0.026451241225004196,
-0.025683527812361717,
0.018250659108161926,
0.016340097412467003,
-0.04065395146608353,
-0.030080435797572136,
0.015415350906550884,
0.01837279461324215,
-0.0801912322640419,
0.01283303927630186,
0.046167537569999695,
-0.0054525150917470455,
-0.04215448349714279,
-0.03514036908745766,
-0.013879922218620777,
0.010119868442416191,
0.01557238306850195,
0.03238357603549957,
0.07160679250955582,
-0.018198315054178238,
-0.00440345099195838,
0.04606284946203232,
0.04020030423998833,
-0.011995533481240273,
0.0026477414648979902,
0.008732748217880726,
-0.05000610649585724,
0.048505574464797974,
-0.01330413669347763,
-0.029766371473670006,
-0.019123060628771782,
0.046446703374385834,
0.06201036274433136,
-0.053251445293426514,
-0.013234344311058521,
-0.01877409964799881,
0.08207561820745468,
0.014089299365878105,
0.00281131686642766,
-0.026852546259760857,
-0.03646641969680786,
0.05401915684342384,
-0.060370247811079025,
-0.04592326283454895,
-0.054054055362939835,
-0.05007589980959892,
-0.032104410231113434,
-0.004311848897486925,
0.004715335089713335,
0.043934185057878494,
-0.015223422087728977,
0.01075672172009945,
-0.02540435828268528,
-0.005871268454939127,
0.04752848297357559,
-0.019681397825479507,
-0.03688517585396767,
-0.10364140570163727,
-0.021216826513409615,
0.035873185843229294,
-0.04218938201665878,
0.0172561202198267,
0.06372027099132538,
-0.040479473769664764,
-0.02186240442097187,
-0.023397833108901978,
-0.048680055886507034,
0.021670475602149963,
-0.00542198121547699,
-0.010058799758553505,
-0.05143684521317482,
-0.022019436582922935,
0.0031864498741924763,
0.019018372520804405,
0.029644234105944633,
0.04320136830210686,
-0.019506918266415596,
-0.008104618638753891,
-0.00970111507922411,
0.00515153631567955,
-0.018215762451291084,
0.04826130345463753,
0.062254637479782104,
-0.028893968090415,
0.04539982229471207,
0.04309668019413948,
0.038246121257543564,
-0.021565787494182587,
-0.009151501581072807,
0.031563520431518555,
0.03901383653283119,
0.03386666253209114,
-0.030045539140701294,
0.034791409969329834,
0.035506777465343475,
0.007485212758183479,
0.03302915394306183,
0.021443651989102364,
0.04588836804032326,
0.05845096334815025,
-0.014019506983458996,
0.08130790293216705,
-0.01191701740026474,
-0.03667579963803291,
0.012571319006383419,
0.004425261169672012,
0.04501596465706825,
-0.030935389921069145,
0.04595816135406494,
-0.021810060366988182,
0.0014361925423145294,
-0.0005965051823295653,
-0.018931131809949875,
0.04309668019413948,
-0.0005588827771134675,
0.011777432635426521,
-0.02378169074654579,
-0.042712822556495667,
0.044422730803489685,
-0.017482943832874298,
-0.03526250645518303,
0.026590825989842415,
0.03145883232355118,
-0.07474744319915771,
-0.046481601893901825,
0.01510128565132618,
-0.019245197996497154,
-0.008968296460807323,
0.035279955714941025,
-0.010556069202721119,
-0.03751330450177193,
0.002830945886671543,
0.012065325863659382,
0.08249437063932419,
0.04438783600926399,
0.005740407854318619,
0.030726013705134392,
-0.013086036778986454,
-0.03466927260160446,
-0.0394325889647007,
0.009709838777780533,
0.048226404935121536,
0.008968296460807323,
0.000564880552701652,
0.03442499786615372,
-0.021583236753940582,
-0.01868686079978943,
-0.008471027947962284,
-0.039537277072668076,
-0.020082702860236168,
-0.015554934740066528,
0.008798178285360336,
-0.005430704914033413,
0.016008583828806877,
-0.03726902976632118,
-0.008279099129140377,
-0.04145656153559685,
0.0013140561059117317,
0.05558948218822479,
-0.024898365139961243,
0.008444854989647865,
-0.013478617183864117,
-0.022473085671663284,
-0.07425889372825623,
0.09484758973121643,
0.0026346552185714245,
-0.00026417436311021447,
0.05300717055797577,
-0.03163331001996994,
-0.0073499903082847595,
0.009003193117678165,
-0.005496135447174311,
0.005003227852284908,
-0.0017818819032981992,
-0.038420602679252625,
0.03515781834721565,
-0.012457906268537045,
-0.02343272976577282,
-0.02680020220577717,
0.019524365663528442,
-0.06267338991165161,
0.030185123905539513,
-0.028963759541511536,
0.01050372514873743,
-0.0698619857430458,
-0.04421335458755493,
0.054368119686841965,
0.08500689268112183,
0.024758780375123024,
-0.003613926935940981,
-0.0013467712560668588,
0.05820668861269951,
0.0185996200889349,
-0.0008178772986866534,
-0.04264302924275398,
0.046481601893901825,
0.014769772998988628,
0.044352937489748,
0.02083297073841095,
0.02625931240618229,
0.026538481935858727,
-0.016566922888159752,
-0.006224591284990311,
0.006128626875579357,
0.059707220643758774,
0.03817633166909218,
0.03712944686412811,
-0.0035681258887052536,
0.0017709769308567047,
-0.01278941985219717,
-0.05946294963359833,
0.00855826772749424,
0.021565787494182587,
0.0017709769308567047,
0.041596148163080215,
0.006660792510956526,
0.06106816977262497,
0.01617434062063694,
0.009893043898046017,
0.012065325863659382,
0.010529897175729275,
0.035594020038843155,
-0.009317257441580296,
-0.011978085152804852,
-0.05775304138660431,
-0.0434456393122673,
-0.060858793556690216,
-0.02880672737956047,
-0.022141573950648308,
-0.029504649341106415,
0.03383176773786545,
0.0689895823597908,
-0.03454713523387909,
0.07593390345573425,
-0.06553486734628677,
-0.014970425516366959,
-0.049133703112602234,
0.05255352333188057,
0.03650131821632385,
-0.060823895037174225,
-0.011227819137275219,
-0.011506987735629082,
0.004065395332872868,
-0.028562454506754875,
0.05394936725497246,
0.0031929928809404373,
-0.052937377244234085,
-0.056112922728061676,
0.009291085414588451,
-0.05007589980959892,
-0.027934325858950615,
0.04731910675764084,
-0.060056183487176895,
0.03730392828583717,
0.02557883970439434,
-0.031109869480133057,
-0.02378169074654579,
0.05813689902424812,
0.041561249643564224,
-0.0012137298472225666,
0.07467764616012573,
0.0010408851085230708,
0.018477482721209526,
-0.03046429343521595,
-0.08402980118989944,
-0.0658489316701889,
0.043794602155685425,
-0.014185263775289059,
0.005129726137965918,
0.04463210701942444,
-0.04735400527715683,
-0.009177673608064651,
-0.03751330450177193,
0.03597787767648697,
-0.018826443701982498,
-0.006368537899106741,
0.016296477988362312,
0.051087886095047,
0.06392964720726013,
0.007402334362268448,
-0.031197110190987587,
0.009195121936500072,
-0.034076038748025894,
0.019123060628771782,
-0.022211365401744843,
-0.09980283677577972,
0.006412157788872719
] |
18,468 | fs.base | getospath | Get the *system path* to a resource, in the OS' prefered encoding.
Arguments:
path (str): A path on the filesystem.
Returns:
str: the *system path* of the resource, if any.
Raises:
fs.errors.NoSysPath: If there is no corresponding system path.
This method takes the output of `~getsyspath` and encodes it to
the filesystem's prefered encoding. In Python3 this step is
not required, as the `os` module will do it automatically. In
Python2.7, the encoding step is required to support filenames
on the filesystem that don't encode correctly.
Note:
If you want your code to work in Python2.7 and Python3 then
use this method if you want to work with the OS filesystem
outside of the OSFS interface.
| def getospath(self, path):
# type: (Text) -> bytes
"""Get the *system path* to a resource, in the OS' prefered encoding.
Arguments:
path (str): A path on the filesystem.
Returns:
str: the *system path* of the resource, if any.
Raises:
fs.errors.NoSysPath: If there is no corresponding system path.
This method takes the output of `~getsyspath` and encodes it to
the filesystem's prefered encoding. In Python3 this step is
not required, as the `os` module will do it automatically. In
Python2.7, the encoding step is required to support filenames
on the filesystem that don't encode correctly.
Note:
If you want your code to work in Python2.7 and Python3 then
use this method if you want to work with the OS filesystem
outside of the OSFS interface.
"""
syspath = self.getsyspath(path)
ospath = fsencode(syspath)
return ospath
| (self, path) | [
0.04005042091012001,
-0.007024481426924467,
-0.025870969519019127,
0.034813590347766876,
0.037266723811626434,
-0.0646861270070076,
-0.0140924584120512,
0.034448232501745224,
0.06680869311094284,
-0.03531813621520996,
0.08754722028970718,
0.00968204066157341,
-0.012691911309957504,
-0.014388225972652435,
-0.003222997533157468,
0.03495277836918831,
-0.007903085090219975,
-0.02893303520977497,
0.025018462911248207,
-0.049236614257097244,
0.028324101120233536,
-0.014910168945789337,
0.05713535100221634,
-0.05943189933896065,
0.006554733030498028,
0.06767860054969788,
0.010491052642464638,
-0.020755929872393608,
-0.04822752624750137,
-0.12693651020526886,
0.040989916771650314,
-0.0066895680502057076,
0.039980825036764145,
-0.005758770275861025,
-0.004597447346895933,
0.04787956178188324,
-0.002970725065097213,
-0.006293761543929577,
-0.016302017495036125,
-0.06492970138788223,
-0.05692657455801964,
0.006445995066314936,
-0.01946846954524517,
-0.04568740352988243,
0.0278195571154356,
0.020825522020459175,
-0.0638510137796402,
0.01332694198936224,
0.019973015412688255,
0.05762249603867531,
0.010299673303961754,
0.000738875416573137,
-0.046626899391412735,
-0.05323817580938339,
-0.042207784950733185,
0.017058834433555603,
-0.010351867415010929,
-0.011856802739202976,
-0.03831060975790024,
0.016136735677719116,
0.024653103202581406,
-0.008029221557080746,
0.04252094775438309,
0.04718364030122757,
-0.005419507157057524,
0.007115821819752455,
-0.007746502757072449,
-0.09060928970575333,
0.010804218240082264,
0.05570870637893677,
-0.00436257291585207,
0.004523504991084337,
-0.060093026608228683,
-0.01899872161448002,
0.06360743939876556,
0.0015973628032952547,
-0.019746840000152588,
0.02538382261991501,
0.016980541869997978,
-0.01316166017204523,
0.019190100952982903,
-0.05783127248287201,
-0.013735797256231308,
-0.02446172386407852,
-0.012613620609045029,
-0.011047791689634323,
0.03218647837638855,
0.02388758771121502,
-0.030568456277251244,
-0.004762729164212942,
0.023174265399575233,
0.027280215173959732,
-0.018007030710577965,
0.024809686467051506,
0.037475500255823135,
-0.061728447675704956,
-0.01000390574336052,
-0.022843701764941216,
-0.037162333726882935,
-0.033752307295799255,
-0.01584966666996479,
0.04478270187973976,
-0.003012045519426465,
0.00449740793555975,
0.03394368663430214,
0.0042929803021252155,
0.014770984649658203,
0.01931188814342022,
0.03016830049455166,
-0.04283411428332329,
-0.02244354411959648,
0.01952066458761692,
0.011387054808437824,
-0.005332516506314278,
0.002637986559420824,
-0.042799320071935654,
0.0027923944871872663,
0.0038036589976400137,
0.028498083353042603,
-0.010734626092016697,
-0.04457392543554306,
0.08079676330089569,
-0.007268054876476526,
-0.010021303780376911,
0.03563130274415016,
0.07474222779273987,
-0.023957179859280586,
0.03573569282889366,
-0.06204161420464516,
0.014188148081302643,
0.023609217256307602,
0.008977417834103107,
0.05261184647679329,
0.05382971093058586,
0.02266971953213215,
-0.0189813245087862,
-0.040607158094644547,
0.03016830049455166,
0.03187331184744835,
0.05866638198494911,
0.07564692199230194,
-0.016667377203702927,
-0.028393693268299103,
-0.049654167145490646,
0.05765729397535324,
0.08211901783943176,
0.04314728081226349,
-0.06392060965299606,
0.0006953802076168358,
0.022582730278372765,
0.029454978182911873,
-0.01111738383769989,
0.011995987966656685,
0.013448729179799557,
-0.0020888589788228273,
-0.03495277836918831,
-0.0038841250352561474,
-0.054769210517406464,
-0.002212820341810584,
-0.028846044093370438,
-0.025609998032450676,
-0.01561479177325964,
0.023000285029411316,
-0.045235052704811096,
0.002292199293151498,
0.05191592127084732,
-0.04133787751197815,
0.00561088602989912,
0.04826232045888901,
-0.051463570445775986,
-0.039284903556108475,
-0.030255289748311043,
-0.07815225422382355,
-0.03462221473455429,
-0.003433949314057827,
-0.005110690835863352,
-0.0031033854465931654,
0.045409031212329865,
0.0012113425182178617,
-0.018181011080741882,
0.027993537485599518,
-0.019868627190589905,
-0.03531813621520996,
0.049236614257097244,
0.0009041573503054678,
0.012413541786372662,
0.02484448254108429,
-0.013622709549963474,
0.05452563613653183,
0.04666169732809067,
-0.05581309646368027,
0.05762249603867531,
0.005441254936158657,
0.027471594512462616,
0.011134781874716282,
-0.03563130274415016,
0.06360743939876556,
-0.03893693909049034,
-0.07140178978443146,
0.07926572859287262,
0.025088055059313774,
0.05191592127084732,
0.012239561416208744,
0.04304289072751999,
-0.023957179859280586,
-0.0376494824886322,
0.038171425461769104,
0.014292536303400993,
-0.03935449570417404,
0.04937579855322838,
0.0012613619910553098,
-0.036048855632543564,
-0.044295553117990494,
-0.031055603176355362,
0.047218434512615204,
0.0234526339918375,
-0.0653124526143074,
0.06788737326860428,
-0.008786038495600224,
0.04888865351676941,
-0.013970672152936459,
0.02086031809449196,
-0.006872248370200396,
-0.04798395186662674,
0.0025335978716611862,
-0.05062846094369888,
-0.012770202942192554,
0.0035905323456972837,
0.03831060975790024,
0.001373362261801958,
0.03512675687670708,
-0.007607317995280027,
0.05076764523983002,
0.00949936080724001,
-0.003740590764209628,
0.026027552783489227,
-0.02202599123120308,
-0.037266723811626434,
-0.039772048592567444,
-0.04328646510839462,
0.009603749960660934,
-0.03904132917523384,
0.001611498766578734,
-0.005528245121240616,
0.02510545402765274,
-0.007937882095575333,
0.0038123580161482096,
0.011317461729049683,
0.018685556948184967,
-0.062215596437454224,
0.04394759237766266,
0.026184136047959328,
-0.014301235787570477,
-0.08963499218225479,
0.008629456162452698,
-0.04589617997407913,
-0.037336315959692,
-0.02872425876557827,
-0.017145823687314987,
0.049341004341840744,
-0.05619585141539574,
0.04112910106778145,
-0.03584007918834686,
-0.028602471575140953,
-0.065103679895401,
-0.07648203521966934,
-0.04297329857945442,
0.03176892548799515,
0.0024226850364357233,
0.016528192907571793,
-0.018598565831780434,
0.0232438575476408,
-0.048645079135894775,
-0.008516368456184864,
0.026775671169161797,
-0.008129260502755642,
0.0037710375618189573,
0.01111738383769989,
0.017432892695069313,
-0.001133051118813455,
-0.03310857713222504,
0.05142877623438835,
0.02841109223663807,
-0.029020026326179504,
-0.00875124242156744,
-0.0376494824886322,
-0.01058674231171608,
-0.07112342119216919,
-0.04384320601820946,
0.010986898094415665,
0.06680869311094284,
0.01350962184369564,
-0.025035861879587173,
-0.008477223105728626,
0.07947450876235962,
0.027436798438429832,
-0.0029033073224127293,
-0.047635991126298904,
0.038971737027168274,
-0.06461653113365173,
0.012100376188755035,
0.09923874586820602,
-0.030133504420518875,
-0.0013418282615020871,
0.0016745668835937977,
-0.0030490164645016193,
0.013770593330264091,
-0.009969109669327736,
-0.04046797379851341,
0.0657300129532814,
-0.032151684165000916,
-0.027784761041402817,
0.031577546149492264,
0.04878426343202591,
-0.017406795173883438,
0.07168015837669373,
0.02882864698767662,
-0.001663692994043231,
-0.021156085655093193,
0.02197379618883133,
0.0016854406567290425,
0.057483311742544174,
0.060719359666109085,
-0.07101903110742569,
0.001271148445084691,
-0.03458741679787636,
0.01084771379828453,
-0.0004066805122420192,
0.036988355219364166,
0.02435733564198017,
0.028202315792441368,
0.011900298297405243,
0.02000781148672104,
-0.02898523025214672,
0.03674478083848953,
0.011508841067552567,
0.06044098734855652,
-0.025035861879587173,
-0.04161624610424042,
0.027697769924998283,
0.058701179921627045,
-0.02357442118227482,
-0.000015750034435768612,
-0.012500532902777195,
-0.03705794736742973,
0.021051697432994843,
-0.020599346607923508,
0.0028402393218129873,
-0.02000781148672104,
-0.01856376975774765,
0.017589475959539413,
0.020199190825223923,
-0.019746840000152588,
-0.0140924584120512,
-0.03533553332090378,
0.0377538688480854,
-0.018320195376873016,
0.04154665395617485,
0.02877645194530487,
0.02654949575662613,
0.05087203532457352,
0.01990342326462269,
-0.0072985016740858555,
-0.03069024346768856,
-0.03149055689573288,
-0.006706966552883387,
0.01018658559769392,
0.053586140275001526,
-0.010221381671726704,
0.004273407626897097,
-0.010760722681879997,
0.01154363714158535,
0.02926359884440899,
-0.0227219145745039,
0.0227219145745039,
0.02468789927661419,
-0.00976033229380846,
-0.05560431629419327,
-0.04255574569106102,
-0.014962363056838512,
0.05090683326125145,
0.03107300028204918,
0.014936266466975212,
-0.025679590180516243,
0.023748401552438736,
0.018076622858643532,
0.006511237937957048,
-0.0464877150952816,
0.03222127631306648,
-0.021904204040765762,
0.0030337930656969547,
0.0040102615021169186,
0.06044098734855652,
0.00906440895050764,
0.013379136100411415,
-0.0017082756385207176,
0.052959807217121124,
0.026358116418123245,
0.06228518858551979,
0.030516261234879494,
0.007241957820951939,
0.010299673303961754,
-0.0026706079952418804,
0.025175046175718307,
-0.03222127631306648,
0.00797702744603157,
0.005780517589300871,
0.0004637680249288678,
-0.006124129984527826,
0.006872248370200396,
-0.07620366662740707,
-0.00949936080724001,
0.0023008983116596937,
-0.04780996963381767,
0.019920820370316505,
-0.0332825593650341,
-0.09332339465618134,
0.013605311512947083,
0.06089333817362785,
0.013953274115920067,
-0.08024002611637115,
0.026288524270057678,
-0.05313378944993019,
0.027993537485599518,
0.049236614257097244,
-0.027593381702899933,
-0.018737750127911568,
0.03298678994178772,
0.05654381588101387,
0.0725848600268364,
0.02585357241332531,
-0.009899517521262169,
-0.031577546149492264,
-0.05633503943681717,
-0.007572521921247244,
-0.014605702832341194,
-0.004086378030478954,
-0.04356483370065689,
-0.034396037459373474,
-0.0071549671702086926,
0.013657506555318832,
0.028846044093370438,
0.0016125860856845975,
0.05108081176877022,
0.05817923694849014,
-0.017145823687314987,
-0.06948799639940262,
0.07126260548830032,
0.06158926337957382,
-0.04304289072751999,
-0.005101991817355156,
-0.03611844778060913,
0.029385386034846306,
0.002039926825091243,
-0.020233986899256706,
-0.02639291249215603,
0.03771907463669777,
-0.0234004408121109,
-0.04850589483976364,
0.0004118455690331757,
-0.040398381650447845,
0.011186975985765457,
0.09805567562580109,
-0.05643942579627037,
0.04446953535079956,
-0.05299460142850876,
-0.02169542759656906,
0.04808833822607994,
0.06165885552763939,
0.0022639273665845394,
-0.029768144711852074,
0.015118946321308613,
-0.06134568899869919,
0.004114649724215269,
0.031194787472486496,
-0.022043388336896896,
-0.04589617997407913,
0.014048962853848934,
-0.05007172375917435,
-0.026131941005587578,
-0.009142699651420116,
-0.0638510137796402,
0.005906654056161642,
0.031734127551317215,
0.009934313595294952,
-0.03352613374590874,
0.011247869580984116,
0.01733720302581787,
0.02616673707962036,
0.002598840743303299,
0.07968328148126602,
0.09499360620975494,
-0.056787386536598206,
-0.005289021413773298,
-0.0015429937047883868,
0.033160772174596786,
-0.07397671043872833,
0.03180371969938278,
-0.07021871954202652,
0.0276107806712389,
-0.009447166696190834,
-0.03973725438117981,
0.00745943421497941,
0.022513138130307198,
-0.03281281143426895,
0.012169969268143177,
-0.011482743546366692,
-0.05351654440164566,
0.05421246960759163,
0.007829143665730953,
-0.015649588778614998,
-0.037162333726882935,
0.009586350992321968,
-0.01050845067948103,
-0.01223086193203926,
0.011508841067552567,
-0.010290974751114845,
0.047427210956811905,
0.02171282470226288,
0.05570870637893677,
-0.06753940880298615,
-0.03185591474175453,
-0.008733844384551048,
-0.03373491019010544,
-0.04871467128396034,
-0.0552215613424778,
-0.03851938620209694,
0.001275497954338789,
-0.014536109752953053,
0.0365012064576149,
-0.02994212508201599,
-0.01899872161448002,
-0.009708138182759285,
0.04961937293410301,
0.06204161420464516,
0.08838233351707458,
-0.06381621956825256,
-0.027784761041402817,
-0.040607158094644547,
-0.008490270934998989,
0.014214245602488518,
-0.01595405489206314,
-0.006432946305721998,
0.00032866091351024806,
0.025018462911248207,
-0.01723281480371952,
0.015458209440112114,
-0.06788737326860428,
0.01877254620194435,
-0.021417057141661644,
-0.04600057005882263,
-0.037475500255823135,
0.0317167304456234,
0.036953557282686234,
0.020233986899256706,
-0.021156085655093193,
0.041894618421792984,
0.01643250323832035,
-0.03474399819970131,
0.005924052093178034,
-0.03570089489221573,
0.030237892642617226,
-0.03437864035367966,
0.009708138182759285,
-0.03236046060919762,
0.011682822369039059,
-0.01237004715949297,
-0.008159707300364971,
0.023644013330340385,
-0.03980684652924538,
0.044017184525728226,
0.01380539033561945,
0.02117348462343216,
-0.022112980484962463,
0.00530641945078969,
0.04836671054363251,
0.03543992340564728,
0.01676306687295437,
0.022321758791804314,
0.040989916771650314,
0.0008590310462750494,
-0.005232477560639381,
-0.03674478083848953,
0.004784476477652788,
0.00414944626390934,
-0.022460943087935448,
0.030185697600245476,
0.06726104021072388,
-0.08197983354330063,
-0.03361312299966812,
0.002235655440017581,
-0.04794915392994881,
0.036779578775167465,
0.01812881790101528,
-0.008077066391706467,
-0.05494318902492523,
0.01111738383769989,
-0.030725039541721344,
-0.046418122947216034,
-0.007607317995280027,
0.006167625542730093,
0.02373100444674492,
0.03425685316324234,
0.042590539902448654,
0.03865857049822807,
0.018581166863441467,
-0.017198018729686737,
0.01691965013742447,
-0.06346825510263443,
0.04335605725646019,
0.010221381671726704,
0.006232868414372206,
0.0005483119166456163,
0.00782044418156147,
0.013527020812034607,
0.07112342119216919,
0.01728500984609127,
-0.07829143851995468,
-0.039493680000305176,
-0.027697769924998283,
-0.008572911843657494,
-0.013944574631750584,
0.011421850882470608,
-0.02086031809449196,
-0.046418122947216034,
0.04196421056985855,
0.010290974751114845,
-0.0029924726113677025,
-0.003992863465100527,
-0.031194787472486496,
0.00009874779061647132,
-0.0368143729865551,
0.031194787472486496,
0.022321758791804314,
0.010299673303961754,
-0.045026276260614395,
-0.052472662180662155,
0.017102329060435295,
0.013866282999515533,
0.022513138130307198,
-0.037893056869506836,
0.048331912606954575,
-0.03095121495425701,
-0.02159103751182556,
-0.05320338159799576,
0.046835675835609436,
-0.029541969299316406,
-0.008416329510509968,
0.014031564816832542,
-0.031629741191864014,
0.0006692830356769264,
-0.00326431798748672,
0.011613229289650917,
-0.017485087737441063,
0.04906263202428818,
-0.005884906277060509,
0.08789518475532532,
-0.046905267983675,
0.0031925507355481386,
-0.005958848167210817,
0.01931188814342022,
-0.00643729604780674,
-0.012709309346973896,
0.016945745795965195,
-0.0317167304456234,
-0.02430514059960842,
-0.008459825068712234,
0.031890712678432465,
0.010786820203065872,
-0.015249432064592838,
0.057900868356227875,
0.041790228337049484,
0.0030772883910685778,
-0.05233347415924072,
-0.028811248019337654,
0.017780855298042297,
0.05369052663445473,
0.005423856899142265,
0.055291153490543365,
0.025609998032450676,
-0.04415636882185936,
0.006994035094976425,
-0.024270344525575638,
0.0034078522585332394,
-0.027906548231840134,
0.0074159386567771435,
0.03984164074063301,
0.064894899725914,
-0.029646357521414757,
-0.05988425016403198,
-0.046905267983675,
-0.05964067578315735,
0.01701533794403076,
0.04373881593346596,
-0.0166934747248888,
0.02164323255419731,
0.08260616660118103,
-0.0031490556430071592,
0.019886024296283722,
0.011813308112323284,
0.061624057590961456,
-0.03361312299966812,
0.03879775479435921,
-0.015014558099210262,
-0.004079853650182486,
0.0050584967248141766,
-0.04032878950238228,
-0.04304289072751999,
-0.04314728081226349,
0.024339938536286354,
-0.014031564816832542,
-0.053864508867263794,
0.03032488375902176,
-0.06628675013780594,
0.0727936401963234,
-0.023122070357203484,
-0.021939000114798546,
0.013935876078903675,
0.002944628009572625,
-0.015179839916527271,
-0.017311107367277145,
-0.051741939038038254,
0.05650901794433594,
-0.01627591997385025,
0.020025210455060005,
0.03834540396928787,
-0.022217370569705963,
0.011795910075306892,
0.0365012064576149,
0.030133504420518875,
-0.05946669355034828,
-0.007315899711102247,
-0.017415495589375496,
0.010195285081863403,
0.016797862946987152,
-0.023539625108242035,
0.0012831096537411213,
-0.0188769344240427,
0.008211901411414146,
0.06294631212949753,
0.02399197593331337,
0.07620366662740707,
-0.04840150475502014,
-0.0376494824886322,
0.028915636241436005,
-0.05017611011862755,
0.031995099037885666,
-0.020755929872393608,
-0.009734234772622585,
0.03363052010536194,
0.03249964490532875,
0.007924833334982395,
0.01861596293747425,
0.00602409103885293,
0.016032345592975616,
-0.04342564940452576,
-0.0184593815356493,
0.00724630756303668,
0.008377183228731155,
0.055082373321056366,
-0.06044098734855652,
-0.016850056126713753,
-0.04022439941763878,
0.005145487375557423,
0.05069805309176445,
0.011308763176202774,
-0.07717795670032501,
-0.0470096580684185
] |
18,469 | fs.base | getsize | Get the size (in bytes) of a resource.
Arguments:
path (str): A path to a resource.
Returns:
int: the *size* of the resource.
Raises:
fs.errors.ResourceNotFound: if ``path`` does not exist.
The *size* of a file is the total number of readable bytes,
which may not reflect the exact number of bytes of reserved
disk space (or other storage medium).
The size of a directory is the number of bytes of overhead
use to store the directory entry.
| def getsize(self, path):
# type: (Text) -> int
"""Get the size (in bytes) of a resource.
Arguments:
path (str): A path to a resource.
Returns:
int: the *size* of the resource.
Raises:
fs.errors.ResourceNotFound: if ``path`` does not exist.
The *size* of a file is the total number of readable bytes,
which may not reflect the exact number of bytes of reserved
disk space (or other storage medium).
The size of a directory is the number of bytes of overhead
use to store the directory entry.
"""
size = self.getdetails(path).size
return size
| (self, path) | [
0.006429076660424471,
-0.020439742133021355,
-0.02321688085794449,
-0.000559188483748585,
0.05524655058979988,
0.027826931327581406,
0.02425367943942547,
-0.0014117122627794743,
-0.016246262937784195,
-0.01919928751885891,
0.042693883180618286,
0.010516099631786346,
0.005757934879511595,
-0.017366375774145126,
-0.009183072485029697,
0.03575103357434273,
0.016977576538920403,
-0.04165708273649216,
0.020606370642781258,
-0.03673228994011879,
0.020291628316044807,
0.011904668994247913,
0.0729091539978981,
-0.023864880204200745,
-0.013163638301193714,
0.02243928238749504,
0.05043284222483635,
-0.027882475405931473,
0.05998620018362999,
-0.048063017427921295,
-0.01680169068276882,
0.04924793168902397,
0.004623936489224434,
0.04750759154558182,
-0.03708406165242195,
0.05524655058979988,
0.030863270163536072,
-0.014265237376093864,
-0.06783624738454819,
-0.020032428205013275,
-0.08746135979890823,
0.05587603524327278,
0.04998850077390671,
-0.01110855583101511,
0.05943077430129051,
0.01874568872153759,
-0.014246722683310509,
-0.04606347903609276,
-0.06635510921478271,
-0.00747050391510129,
0.0483962744474411,
0.02005094289779663,
-0.05109935626387596,
0.0035130807664245367,
0.013996779918670654,
0.013098838739097118,
-0.0087202163413167,
0.051988039165735245,
-0.03506600856781006,
0.014866949990391731,
0.01824580319225788,
-0.038509659469127655,
0.006891933269798756,
-0.09982889145612717,
-0.02551265060901642,
-0.01236752513796091,
-0.0037491375114768744,
-0.05609820783138275,
-0.015329807065427303,
-0.007618617732077837,
0.013709809631109238,
0.034140296280384064,
-0.029178472235798836,
0.015015064738690853,
0.004892393015325069,
0.0099791856482625,
0.040842454880476,
-0.0058967918157577515,
0.025716306641697884,
-0.05598711967468262,
0.027734361588954926,
-0.031937096267938614,
0.04906278848648071,
-0.00822495948523283,
0.03569549322128296,
0.012719295918941498,
0.08375851064920425,
-0.007799131795763969,
-0.04813707619905472,
0.03858371824026108,
0.00912290159612894,
0.02105071395635605,
-0.01246009673923254,
0.0009326558210887015,
0.012691524811089039,
-0.04154599830508232,
-0.019495515152812004,
-0.04169411212205887,
-0.035214122384786606,
0.004279108252376318,
-0.021513570100069046,
0.0238833948969841,
0.06357796490192413,
-0.021624654531478882,
-0.023457566276192665,
-0.00822495948523283,
0.02893778681755066,
-0.00966444332152605,
0.015209464356303215,
0.007364046759903431,
0.004716507624834776,
0.008766502141952515,
0.004556822124868631,
0.028271274641156197,
0.02190236933529377,
-0.01277483906596899,
-0.00020033007604070008,
-0.03001161478459835,
0.008970159105956554,
-0.007729703560471535,
0.0027678818441927433,
0.0373988039791584,
0.009252501651644707,
-0.008710958994925022,
0.06298550963401794,
0.08731324970722198,
-0.050136614590883255,
-0.026123620569705963,
-0.06209682673215866,
0.06624402105808258,
0.0344180092215538,
0.0077945031225681305,
0.030659614130854607,
0.06046757102012634,
0.017921803519129753,
0.002885910216718912,
0.004984964616596699,
0.05046987161040306,
0.009076615795493126,
0.04443422332406044,
0.0675770491361618,
0.0483962744474411,
-0.00591530604287982,
-0.03227035328745842,
0.011793583631515503,
-0.0004070244322065264,
0.0378616601228714,
-0.014903979375958443,
-0.03312201052904129,
0.06950253248214722,
-0.03899103030562401,
-0.05646849051117897,
0.0779080018401146,
0.004200422670692205,
0.02591996267437935,
-0.004832221660763025,
-0.0018988687079399824,
-0.012450839392840862,
-0.016514720395207405,
-0.08249954134225845,
-0.00685027614235878,
0.041434913873672485,
0.003411252284422517,
-0.03515857830643654,
-0.017514489591121674,
0.028678588569164276,
-0.06424447894096375,
0.015107635408639908,
-0.027290018275380135,
0.004651707597076893,
0.01654249057173729,
-0.009562615305185318,
-0.031196527183055878,
-0.0161814633756876,
-0.00955335795879364,
0.003226109780371189,
0.016283290460705757,
0.006220791023224592,
0.06683647632598877,
-0.002183525590226054,
0.019180772826075554,
-0.05446895211935043,
0.006720676086843014,
0.05957888811826706,
0.005170106887817383,
0.045989420264959335,
0.014117122627794743,
0.021957911550998688,
0.0122564397752285,
0.01901414431631565,
-0.027252990752458572,
-0.0026822532527148724,
-0.010710499249398708,
0.028493445366621017,
-0.043878793716430664,
-0.027826931327581406,
0.04065731540322304,
-0.052395354956388474,
-0.002321225358173251,
0.0458783358335495,
-0.04728541895747185,
0.01875494420528412,
0.007095589768141508,
0.006461476441472769,
0.01590374857187271,
-0.023013224825263023,
-0.000264262140262872,
0.004485079552978277,
-0.09545952081680298,
0.05543169379234314,
-0.0273455623537302,
-0.01874568872153759,
0.015514949336647987,
0.003760708961635828,
0.013728323392570019,
-0.06709567457437515,
-0.03475126624107361,
-0.00202268292196095,
-0.0109974704682827,
-0.02636430598795414,
0.03839857503771782,
0.061763569712638855,
-0.0007122204406186938,
0.011682498268783092,
0.006878047250211239,
-0.06950253248214722,
0.0042490228079259396,
0.052839696407318115,
0.007919474504888058,
-0.014413351193070412,
0.02001391537487507,
0.015783406794071198,
0.11671388894319534,
0.030807727947831154,
-0.0038764229975640774,
0.002811853075399995,
-0.013367295265197754,
-0.017829231917858124,
-0.04761867597699165,
-0.052617527544498444,
-0.014579979702830315,
-0.0039412230253219604,
-0.026790132746100426,
0.009655185975134373,
-0.06487396359443665,
-0.03710257634520531,
-0.051617756485939026,
0.01495952159166336,
-0.03680634871125221,
-0.08435096591711044,
-0.01668134704232216,
0.0031775098759680986,
-0.03884291648864746,
-0.06716973334550858,
-0.00081809883704409,
-0.007104847114533186,
-0.05772745981812477,
-0.022161569446325302,
-0.04573022201657295,
0.028289789333939552,
0.030807727947831154,
-0.03645457699894905,
-0.02554967813193798,
0.019662143662571907,
-0.03023378551006317,
0.0024809108581393957,
0.007123361341655254,
0.017644088715314865,
-0.04073137044906616,
0.020810028538107872,
0.147077277302742,
0.0012288839789107442,
0.004748907405883074,
-0.07024309784173965,
0.002404539380222559,
-0.0700579583644867,
0.0017403403762727976,
0.03606577590107918,
-0.018551288172602654,
0.0070169041864573956,
-0.05894940346479416,
0.009886614978313446,
-0.019088201224803925,
-0.02177277021110058,
-0.03171492740511894,
0.02303173951804638,
0.005318221170455217,
0.007738960441201925,
-0.11545491963624954,
0.08398067951202393,
0.03006715700030327,
-0.03114098496735096,
-0.07250183820724487,
-0.004151822533458471,
0.053432151675224304,
0.026938248425722122,
-0.06413339823484421,
-0.034325435757637024,
0.05124747008085251,
0.03330715373158455,
-0.06939144432544708,
0.008993301540613174,
-0.04502667859196663,
0.006549419369548559,
-0.030363386496901512,
0.009215472266077995,
0.03821343183517456,
0.002404539380222559,
0.001935897278599441,
0.05646849051117897,
-0.01739414781332016,
-0.0030756813939660788,
-0.004836850333958864,
0.06561453640460968,
0.006901190150529146,
0.005429306533187628,
-0.028012074530124664,
0.04032405838370323,
-0.0930156409740448,
0.0017611689399927855,
-0.015755634754896164,
0.06257819384336472,
0.02853047475218773,
-0.04832221940159798,
-0.010830841958522797,
0.024142595008015633,
-0.0006566776428371668,
0.05087718367576599,
0.05317295342683792,
-0.009886614978313446,
-0.021383969113230705,
0.013339524157345295,
0.03277023881673813,
-0.023809337988495827,
0.006984504405409098,
0.01861608773469925,
0.05898643285036087,
0.021939396858215332,
-0.053247012197971344,
0.02303173951804638,
0.08709108084440231,
-0.01748671755194664,
-0.013533923774957657,
-0.0033117381390184164,
-0.006753076333552599,
-0.023105796426534653,
0.037602461874485016,
-0.05361729487776756,
0.03560291975736618,
-0.002943767234683037,
0.02014351449906826,
0.024716537445783615,
-0.013959751464426517,
-0.014181923121213913,
-0.04195331409573555,
-0.010266156867146492,
0.012839638628065586,
-0.005503363441675901,
0.02249482460319996,
0.0543578676879406,
-0.06587373465299606,
0.030344871804118156,
-0.020717456936836243,
-0.013506152667105198,
-0.014376322738826275,
-0.017551518976688385,
-0.034455038607120514,
0.002684567589312792,
0.014903979375958443,
0.016866490244865417,
-0.00436010817065835,
-0.023587167263031006,
-0.034640178084373474,
-0.010969698429107666,
0.03880588710308075,
0.017597803846001625,
-0.017375633120536804,
-0.035714007914066315,
-0.02830830216407776,
0.030659614130854607,
-0.022235626354813576,
0.015755634754896164,
0.007058561313897371,
-0.03839857503771782,
0.005063650198280811,
-0.01604260504245758,
-0.06809544563293457,
-0.06679944694042206,
-0.02275402471423149,
-0.012386039830744267,
0.005818106234073639,
0.03351081162691116,
0.003330252366140485,
0.006655876524746418,
-0.02573482133448124,
0.01183061208575964,
0.0509142130613327,
0.0035593663342297077,
0.04728541895747185,
0.039768628776073456,
0.030215270817279816,
0.005480221007019281,
-0.02793801762163639,
0.06983578950166702,
-0.03140018507838249,
-0.01861608773469925,
0.04632267728447914,
0.056579578667879105,
-0.028826702386140823,
-0.0021221970673650503,
0.006822504568845034,
-0.006493876688182354,
-0.029622815549373627,
0.022883625701069832,
-0.055135466158390045,
-0.038102347403764725,
-0.012423068284988403,
0.012302725575864315,
0.04750759154558182,
-0.023087281733751297,
-0.028382359072566032,
0.00010247931641060859,
-0.017764432355761528,
0.029437672346830368,
0.0008481845143251121,
-0.021476540714502335,
0.003383480943739414,
0.010423528030514717,
0.024512879550457,
0.033325668424367905,
-0.001345755299553275,
-0.0034991949796676636,
-0.011432555504143238,
-0.04373067989945412,
-0.01675540581345558,
-0.04199033975601196,
-0.01829208806157112,
-0.028456417843699455,
-0.028789673000574112,
-0.02730853296816349,
0.01856980286538601,
0.00946541503071785,
0.014098608866333961,
0.022106025367975235,
0.027160419151186943,
-0.05398758128285408,
-0.012413810938596725,
-0.019551057368516922,
0.05354323983192444,
-0.05706094950437546,
-0.030659614130854607,
-0.06698459386825562,
0.059875115752220154,
-0.01467255037277937,
-0.04691513255238533,
-0.005267306696623564,
-0.0161814633756876,
-0.011663983575999737,
-0.062356024980545044,
-0.058134775608778,
-0.005040507297962904,
0.03710257634520531,
0.07872263342142105,
-0.08094434440135956,
-0.02529047802090645,
-0.042730912566185,
-0.048063017427921295,
0.02928955852985382,
0.04313822463154793,
-0.03010418638586998,
0.02753070369362831,
0.028586016967892647,
-0.07753772288560867,
0.018912315368652344,
0.07557521015405655,
-0.02529047802090645,
-0.0006404776941053569,
0.017162717878818512,
-0.0421014279127121,
0.012339754030108452,
0.1175285205245018,
0.010256899520754814,
0.03556589409708977,
0.01128444168716669,
-0.013820894993841648,
-0.011127069592475891,
-0.034047722816467285,
0.035306692123413086,
0.029011845588684082,
-0.01557049248367548,
0.03478829562664032,
0.001814397401176393,
-0.029844986274838448,
-0.049321986734867096,
-0.01176581159234047,
-0.018014375120401382,
-0.00003145977825624868,
0.00044000294292345643,
-0.02938213013112545,
0.0402129702270031,
-0.04176817089319229,
-0.053876496851444244,
0.04880358651280403,
0.029548758640885353,
-0.04491559416055679,
0.07024309784173965,
-0.005956963170319796,
-0.016847975552082062,
0.068169504404068,
-0.006827133242040873,
-0.024179622530937195,
0.054505981504917145,
-0.013737580738961697,
0.02767881751060486,
0.0380282886326313,
0.04850735887885094,
0.010849355719983578,
0.0729091539978981,
0.0031636240892112255,
-0.016931289806962013,
-0.025808878242969513,
0.005008107051253319,
0.01467255037277937,
-0.023050252348184586,
-0.04632267728447914,
-0.003145109862089157,
-0.001957882894203067,
-0.05187695473432541,
0.025808878242969513,
0.06709567457437515,
0.025068307295441628,
0.019365916028618813,
0.0007706560427322984,
0.006776219233870506,
0.05376540869474411,
0.00202268292196095,
-0.07364972680807114,
-0.0389540009200573,
-0.07187235355377197,
-0.009044216014444828,
0.010256899520754814,
-0.08701702207326889,
0.026975275948643684,
0.03713960573077202,
-0.016153691336512566,
0.028863729909062386,
0.00015144086501095444,
-0.06417042016983032,
0.0622079111635685,
-0.06102300062775612,
-0.035399265587329865,
-0.05124747008085251,
0.007234446704387665,
-0.03038189932703972,
0.06554047763347626,
0.044137995690107346,
0.028178703039884567,
-0.05828288942575455,
-0.004612364806234837,
-0.011589926667511463,
0.013978266157209873,
-0.025716306641697884,
0.007831531576812267,
0.03617686405777931,
0.04898872971534729,
-0.01236752513796091,
-0.01694054715335369,
0.0010651485063135624,
0.01794031821191311,
-0.04443422332406044,
-0.00487850746139884,
0.04935901612043381,
0.009247872978448868,
0.012432325631380081,
0.04136085510253906,
-0.026530934497714043,
-0.05176587030291557,
0.024327736347913742,
0.0512104406952858,
0.032066699117422104,
0.00008924451685743406,
-0.03451057896018028,
0.002510996535420418,
0.04191628471016884,
-0.026123620569705963,
0.05169181153178215,
-0.03501046448945999,
-0.008618387393653393,
-0.05654254928231239,
0.033640410751104355,
-0.009932899847626686,
-0.04073137044906616,
0.0026405963581055403,
0.010062499903142452,
-0.011164098978042603,
0.020199056714773178,
0.009159930050373077,
-0.03987971693277359,
-0.02208751253783703,
0.029141444712877274,
-0.01798660308122635,
0.033455267548561096,
-0.004748907405883074,
0.07187235355377197,
-0.00035408520488999784,
0.02645687758922577,
0.021569112315773964,
0.030530013144016266,
-0.04199033975601196,
-0.02356865257024765,
-0.003110395511612296,
-0.05317295342683792,
0.005910677369683981,
-0.01525575015693903,
-0.0018641544738784432,
0.0471373051404953,
0.018264317885041237,
-0.0706874430179596,
-0.012043525464832783,
-0.025790363550186157,
-0.04980335757136345,
0.0031775098759680986,
0.04339742287993431,
0.0136727811768651,
0.006845647469162941,
0.06950253248214722,
-0.01498729269951582,
0.023642709478735924,
-0.06376311182975769,
-0.009456157684326172,
-0.0007504060631617904,
-0.049729302525520325,
0.01947700046002865,
0.021420998498797417,
0.017995860427618027,
-0.01992134377360344,
-0.048877645283937454,
0.027197446674108505,
0.03763949126005173,
0.03547332063317299,
0.015339064411818981,
0.044952623546123505,
-0.025216421112418175,
0.011293698102235794,
-0.00707707554101944,
0.036250919103622437,
0.014024551957845688,
-0.011580669321119785,
0.036713775247335434,
-0.001935897278599441,
-0.010127300396561623,
-0.01070124190300703,
-0.003587137907743454,
-0.006146734114736319,
0.047877874225378036,
-0.023013224825263023,
0.053061868995428085,
-0.037787605077028275,
-0.06702162325382233,
-0.028493445366621017,
-0.0004206208395771682,
-0.04217548295855522,
-0.030492985621094704,
-0.030659614130854607,
0.006827133242040873,
-0.05069204419851303,
-0.016847975552082062,
0.008326788432896137,
0.02312431111931801,
-0.04236062616109848,
0.04428610950708389,
0.06517019122838974,
0.023605680093169212,
-0.05506140738725662,
-0.04921090230345726,
0.045174792408943176,
0.024216651916503906,
-0.012635982595384121,
0.02108774147927761,
0.022865111008286476,
-0.04484153538942337,
0.017412660643458366,
-0.04706324636936188,
0.03428841009736061,
0.023642709478735924,
-0.0018271260196343064,
-0.04124977067112923,
-0.003404309507459402,
0.007752845995128155,
0.05146964266896248,
-0.05269158259034157,
-0.05024769902229309,
0.014348551630973816,
0.005683877505362034,
-0.03132612630724907,
-0.02482762187719345,
0.07287212461233139,
0.05520952120423317,
0.03884291648864746,
-0.028919273987412453,
0.003857908770442009,
-0.02095814235508442,
0.04728541895747185,
-0.056394435465335846,
-0.03493640944361687,
-0.05024769902229309,
-0.05084015801548958,
0.007831531576812267,
-0.011543640866875648,
-0.02027311362326145,
0.005836620461195707,
-0.01120112743228674,
0.03710257634520531,
-0.06106002628803253,
0.03271469846367836,
0.031937096267938614,
0.03754691779613495,
0.024994250386953354,
0.023087281733751297,
0.004635507706552744,
-0.027734361588954926,
-0.032251838594675064,
0.03308498114347458,
0.013802380301058292,
-0.07701931893825531,
0.013191410340368748,
0.030807727947831154,
-0.011164098978042603,
-0.003996765706688166,
0.03575103357434273,
-0.007206675596535206,
-0.03525115177035332,
-0.024272194132208824,
-0.03839857503771782,
-0.022235626354813576,
0.046804048120975494,
0.016773918643593788,
-0.016292547807097435,
0.07453840970993042,
0.026123620569705963,
0.04528588056564331,
0.08472125232219696,
-0.010923413559794426,
-0.059689972549676895,
0.038731832057237625,
-0.0691322460770607,
0.011302955448627472,
0.043249309062957764,
0.00854433048516512,
0.0022182397078722715,
0.011599184013903141,
-0.016792433336377144,
0.02001391537487507,
-0.0055635347962379456,
0.011414040811359882,
-0.014200436882674694,
-0.00010718020348576829,
-0.06068974360823631,
0.025623735040426254,
0.04439719393849373,
0.006031020078808069,
-0.05857911705970764,
-0.02023608610033989,
0.02338350936770439,
0.056764718145132065,
0.03091881424188614,
-0.05395055189728737,
0.01047907117754221
] |
18,470 | fs.base | getsyspath | Get the *system path* of a resource.
Arguments:
path (str): A path on the filesystem.
Returns:
str: the *system path* of the resource, if any.
Raises:
fs.errors.NoSysPath: If there is no corresponding system path.
A system path is one recognized by the OS, that may be used
outside of PyFilesystem (in an application or a shell for
example). This method will get the corresponding system path
that would be referenced by ``path``.
Not all filesystems have associated system paths. Network and
memory based filesystems, for example, may not physically store
data anywhere the OS knows about. It is also possible for some
paths to have a system path, whereas others don't.
This method will always return a str on Py3.* and unicode
on Py2.7. See `~getospath` if you need to encode the path as
bytes.
If ``path`` doesn't have a system path, a `~fs.errors.NoSysPath`
exception will be thrown.
Note:
A filesystem may return a system path even if no
resource is referenced by that path -- as long as it can
be certain what that system path would be.
| def getsyspath(self, path):
# type: (Text) -> Text
"""Get the *system path* of a resource.
Arguments:
path (str): A path on the filesystem.
Returns:
str: the *system path* of the resource, if any.
Raises:
fs.errors.NoSysPath: If there is no corresponding system path.
A system path is one recognized by the OS, that may be used
outside of PyFilesystem (in an application or a shell for
example). This method will get the corresponding system path
that would be referenced by ``path``.
Not all filesystems have associated system paths. Network and
memory based filesystems, for example, may not physically store
data anywhere the OS knows about. It is also possible for some
paths to have a system path, whereas others don't.
This method will always return a str on Py3.* and unicode
on Py2.7. See `~getospath` if you need to encode the path as
bytes.
If ``path`` doesn't have a system path, a `~fs.errors.NoSysPath`
exception will be thrown.
Note:
A filesystem may return a system path even if no
resource is referenced by that path -- as long as it can
be certain what that system path would be.
"""
raise errors.NoSysPath(path=path)
| (self, path) | [
0.09913073480129242,
0.030125578865408897,
0.02608795091509819,
0.028646275401115417,
0.04375257343053818,
-0.04500563070178032,
-0.012765518389642239,
0.031483057886362076,
0.0633838027715683,
-0.005873704794794321,
0.06084287911653519,
0.016881462186574936,
-0.014679910615086555,
-0.035920966416597366,
-0.003617767011746764,
0.03647788241505623,
0.01711641065776348,
-0.01919613778591156,
0.01570672169327736,
-0.055691421031951904,
0.04371776804327965,
0.000044018794142175466,
0.0697535052895546,
-0.03578173741698265,
0.001851304667070508,
0.06923139840364456,
0.028454836457967758,
-0.030299615114927292,
-0.02483489364385605,
-0.10637062042951584,
0.03174411132931709,
0.0014629876241087914,
0.03440685570240021,
-0.023547029122710228,
-0.008062203414738178,
0.07104136794805527,
-0.030421439558267593,
-0.048416730016469955,
-0.023024922236800194,
-0.054716821759939194,
-0.031326424330472946,
0.016498584300279617,
0.017708132043480873,
-0.03832266107201576,
0.039332065731287,
0.01923094503581524,
-0.03531184419989586,
-0.029533857479691505,
-0.03371071442961693,
0.025879107415676117,
0.02297271229326725,
0.00903245247900486,
-0.07483535259962082,
-0.03578173741698265,
-0.05541296675801277,
0.013818434439599514,
-0.010111473500728607,
-0.021754462271928787,
-0.007279043085873127,
-0.011242706328630447,
0.048764802515506744,
-0.028594065457582474,
0.00451622623950243,
0.06526338309049606,
0.005107947625219822,
-0.01051175594329834,
0.00044678227277472615,
-0.07713261991739273,
-0.012504464946687222,
0.04521447420120239,
-0.031952954828739166,
0.014784332364797592,
-0.07782876491546631,
-0.02055361494421959,
0.08103101700544357,
-0.019787859171628952,
-0.021789269521832466,
0.006622058339416981,
0.010094070807099342,
-0.034319840371608734,
0.02227656915783882,
-0.01510629802942276,
0.0004946420667693019,
-0.008083958178758621,
-0.014453664422035217,
0.039262451231479645,
0.05144495144486427,
0.04900845140218735,
-0.08632170408964157,
0.019683437421917915,
0.015080193057656288,
0.009902630932629108,
0.023198958486318588,
0.023529626429080963,
0.04013263061642647,
-0.04500563070178032,
-0.02441720850765705,
-0.06136498600244522,
-0.03374551981687546,
-0.03503338620066643,
0.02149340882897377,
0.030543264001607895,
0.050087474286556244,
-0.0015630581183359027,
0.04392661154270172,
0.01288734283298254,
0.013130993582308292,
0.011408040300011635,
0.021423794329166412,
-0.02526998333632946,
-0.0033023273572325706,
0.014471068046987057,
-0.021249758079648018,
-0.017351359128952026,
-0.008601713925600052,
-0.02760206162929535,
-0.013104887679219246,
-0.003854890586808324,
0.03505079075694084,
0.0033523626625537872,
-0.0591721348464489,
0.0737215206027031,
-0.00042774711619131267,
0.012948255985975266,
0.014575489796698093,
0.07434804737567902,
-0.05906771495938301,
0.022380990907549858,
-0.022555025294423103,
0.033467065542936325,
-0.001699023530818522,
-0.009780806489288807,
0.04758135974407196,
0.10261144489049911,
-0.018604416400194168,
0.007078901864588261,
-0.01919613778591156,
0.03200516477227211,
0.04375257343053818,
0.04295200854539871,
0.07118059694766998,
0.009606770239770412,
-0.052384745329618454,
-0.028750697150826454,
0.041838180273771286,
0.08813167363405228,
0.005912862718105316,
-0.022328779101371765,
0.005556089803576469,
0.03197035565972328,
-0.014566787518560886,
-0.021127933636307716,
0.03936687484383583,
0.016341952607035637,
-0.008619117550551891,
0.007431324105709791,
-0.006413215305656195,
-0.028907328844070435,
0.023808082565665245,
-0.03609500452876091,
-0.03905361145734787,
-0.02488710545003414,
-0.0016033038264140487,
-0.051062073558568954,
-0.017264341935515404,
0.026853708550333977,
-0.049460943788290024,
0.022433200851082802,
0.0327187106013298,
-0.026000933721661568,
-0.04587581008672714,
-0.03426762670278549,
-0.08917588740587234,
-0.033084187656641006,
-0.01483654323965311,
-0.011442846618592739,
0.011468952521681786,
0.05478643625974655,
0.023895101621747017,
-0.004165979567915201,
0.01610700413584709,
-0.023494819179177284,
-0.051688600331544876,
0.07041484117507935,
-0.01891767978668213,
0.04236028715968132,
0.00012488420179579407,
-0.016542093828320503,
0.051340531557798386,
0.07650609314441681,
-0.050122279673814774,
0.0746961236000061,
0.002062323037534952,
0.023460011929273605,
0.004490120802074671,
-0.025252578780055046,
0.0335540808737278,
-0.0169597789645195,
-0.057014092803001404,
0.06536781042814255,
0.0311523899435997,
0.03713921830058098,
-0.001888287253677845,
0.05409029498696327,
-0.010033157654106617,
-0.05722293630242348,
0.02577468566596508,
-0.002856360748410225,
-0.08409404754638672,
0.05969424545764923,
-0.02055361494421959,
-0.025792090222239494,
-0.02861146815121174,
-0.018952487036585808,
0.06561145931482315,
0.005390755832195282,
-0.026540443301200867,
0.050435543060302734,
-0.02709735743701458,
0.02316415123641491,
-0.0013901101192459464,
-0.015428264625370502,
-0.0016413741977885365,
-0.012121586129069328,
-0.011068670079112053,
-0.031013160943984985,
-0.004960017278790474,
0.018134519457817078,
0.011608180589973927,
-0.0006210898864082992,
0.019265752285718918,
-0.02344260737299919,
0.05224551633000374,
-0.011294916272163391,
-0.003513345727697015,
0.008149221539497375,
-0.014984473586082458,
-0.01783865876495838,
0.01689886674284935,
-0.026662267744541168,
0.013444257900118828,
-0.01335723977535963,
0.030421439558267593,
-0.009537155739963055,
0.013078782707452774,
0.0027845711447298527,
-0.02032736875116825,
0.018517397344112396,
-0.009249997325241566,
-0.05078361555933952,
0.04632830247282982,
0.028802907094359398,
-0.007648868951946497,
-0.06595952808856964,
0.008736591786146164,
-0.049391329288482666,
-0.0541251003742218,
-0.02779350057244301,
-0.014514576643705368,
0.04166414588689804,
-0.03371071442961693,
0.027079954743385315,
-0.05290685221552849,
-0.017333954572677612,
-0.07664532214403152,
-0.07490496337413788,
-0.05287204310297966,
0.04928690940141678,
-0.02570507302880287,
0.03915803134441376,
0.006970129441469908,
0.00354380183853209,
-0.028507046401500702,
-0.015384755097329617,
0.023703662678599358,
-0.014497173018753529,
-0.0014357945183292031,
0.04866037890315056,
0.03995859622955322,
-0.014418857172131538,
-0.02253762260079384,
0.05621353164315224,
0.009371821768581867,
-0.0348767526447773,
0.021423794329166412,
-0.04323046654462814,
-0.025357000529766083,
-0.05053996667265892,
-0.04765097424387932,
0.05022670328617096,
0.06947504729032516,
-0.009493647143244743,
0.0008141607395373285,
-0.004568437114357948,
0.08604324609041214,
0.03160488232970238,
-0.047442130744457245,
-0.04364815354347229,
0.02433018945157528,
-0.05356818810105324,
0.04671118035912514,
0.10414296388626099,
-0.048416730016469955,
0.027306200936436653,
-0.009084663353860378,
-0.02530479058623314,
0.002662746235728264,
-0.012782922014594078,
-0.03263169154524803,
0.052384745329618454,
-0.027149569243192673,
-0.020083719864487648,
0.003522047307342291,
0.03405878692865372,
-0.007248586509376764,
0.046119458973407745,
-0.003250116715207696,
-0.014357944950461388,
-0.05509969964623451,
0.030543264001607895,
0.0004611946060322225,
0.056004688143730164,
0.07441766560077667,
-0.044205065816640854,
0.002553973812609911,
-0.02803715132176876,
-0.03230102360248566,
-0.0282633975148201,
0.004685910884290934,
0.06202632188796997,
0.0554477721452713,
0.011495057493448257,
0.026923323050141335,
-0.032649096101522446,
0.037591710686683655,
0.030038561671972275,
0.03842708095908165,
-0.024591244757175446,
-0.04559735208749771,
-0.01765592209994793,
0.05214109271764755,
-0.030038561671972275,
0.008527749218046665,
-0.027549849823117256,
-0.029568664729595184,
0.025374405086040497,
-0.012756816111505032,
-0.0029412033036351204,
-0.0004905631067231297,
-0.013653100468218327,
0.044831596314907074,
0.0038570661563426256,
-0.044448718428611755,
0.00958066526800394,
-0.05022670328617096,
0.024277979508042336,
-0.05224551633000374,
0.021702250465750694,
0.013043975457549095,
0.016533391550183296,
0.03285793960094452,
0.038218237459659576,
-0.02265944704413414,
-0.014149102382361889,
-0.034754928201436996,
-0.0028889926616102457,
-0.014958367682993412,
0.03200516477227211,
-0.0072007267735898495,
0.00847988948225975,
0.009397927671670914,
-0.028507046401500702,
0.034354645758867264,
-0.014662506990134716,
0.006691672373563051,
0.02655784785747528,
0.014462366700172424,
-0.027967536821961403,
-0.0323532372713089,
-0.032335832715034485,
0.038287851959466934,
0.004803385119885206,
0.00897154025733471,
-0.01790827326476574,
0.03200516477227211,
0.01903950423002243,
-0.047476936131715775,
-0.056004688143730164,
0.02309453673660755,
-0.025983529165387154,
-0.005042684264481068,
-0.00893673300743103,
0.04521447420120239,
-0.00036058021942153573,
0.010050561279058456,
-0.025287386029958725,
0.04176856577396393,
0.0323532372713089,
0.053394149988889694,
0.029794910922646523,
0.005020929966121912,
-0.00392668042331934,
-0.01806490495800972,
0.005416861269623041,
-0.0364430733025074,
0.010329018346965313,
0.016315845772624016,
0.012130288407206535,
-0.03940168023109436,
-0.0027149568777531385,
-0.03177891671657562,
-0.024660857394337654,
-0.037313252687454224,
-0.031100178137421608,
0.03273611515760422,
-0.024086540564894676,
-0.08186639100313187,
0.0755314901471138,
0.06460204720497131,
0.03402397781610489,
-0.03423282131552696,
0.0031957305036485195,
-0.05207148194313049,
0.03238804265856743,
0.03543366864323616,
-0.003870118875056505,
-0.04723328724503517,
0.046745989471673965,
0.0390884168446064,
0.05837157368659973,
0.003624293254688382,
-0.010659686289727688,
-0.009650279767811298,
-0.033118993043899536,
-0.006669918075203896,
-0.058928485959768295,
0.0021047443151474,
-0.03741767629981041,
-0.07608840614557266,
-0.06418436765670776,
0.055656615644693375,
0.01208677887916565,
0.0005612651002593338,
0.054647207260131836,
0.04263874515891075,
-0.02873329259455204,
-0.041176844388246536,
0.0697535052895546,
0.051340531557798386,
-0.05541296675801277,
-0.0169597789645195,
-0.03426762670278549,
0.033919557929039,
0.03713921830058098,
-0.01413169875741005,
-0.031865935772657394,
0.008066554553806782,
-0.03177891671657562,
-0.033919557929039,
0.013113589957356453,
-0.059311363846063614,
0.019439786672592163,
0.07128502428531647,
-0.03574693202972412,
0.0512361079454422,
-0.07560110837221146,
-0.010468247346580029,
0.04006301611661911,
0.0417337603867054,
-0.00021428144827950746,
-0.021563023328781128,
0.03606019541621208,
-0.05315050110220909,
-0.006595952901989222,
0.024730471894145012,
-0.01702939346432686,
-0.05221070721745491,
0.00015690406144130975,
-0.04914768040180206,
-0.009302208200097084,
0.014279629103839397,
-0.053011272102594376,
-0.012843834236264229,
0.05047035217285156,
0.017203427851200104,
-0.0633838027715683,
0.0033023273572325706,
-0.012339130975306034,
0.01561100222170353,
-0.008266695775091648,
0.08068294823169708,
0.0691617876291275,
-0.009859122335910797,
-0.004122470505535603,
-0.03981936722993851,
0.022050322964787483,
-0.0499134361743927,
0.03981936722993851,
-0.03411099687218666,
0.05983347073197365,
-0.028333012014627457,
-0.03153526782989502,
-0.0025082894135266542,
0.04890403151512146,
-0.023268572986125946,
0.027341008186340332,
-0.005603949539363384,
-0.031047968193888664,
0.054333943873643875,
-0.002288569463416934,
-0.006382759194821119,
-0.016663918271660805,
0.03388474881649017,
-0.009946140460669994,
-0.00909336470067501,
-0.009075962007045746,
0.004738121759146452,
0.03071730025112629,
0.054299138486385345,
0.07351268082857132,
-0.06665567308664322,
-0.03470271825790405,
-0.01957901567220688,
-0.022885693237185478,
-0.01598517782986164,
-0.07058887928724289,
-0.009232593700289726,
-0.0008424415136687458,
0.0019470243714749813,
0.044831596314907074,
0.009641577489674091,
0.006691672373563051,
-0.02121495082974434,
0.04737251624464989,
0.05346376448869705,
0.07212039083242416,
-0.0554477721452713,
-0.04730290174484253,
-0.054299138486385345,
-0.04521447420120239,
0.010250702500343323,
-0.007788097485899925,
0.019022101536393166,
0.040237054228782654,
0.026766689494252205,
-0.04061993211507797,
-0.031361233443021774,
-0.07104136794805527,
0.026227179914712906,
-0.014183909632265568,
-0.042534325271844864,
-0.029690489172935486,
0.020153334364295006,
0.009293505921959877,
0.023895101621747017,
0.007936027832329273,
0.07212039083242416,
0.031517863273620605,
-0.02908136509358883,
0.004322611726820469,
-0.04987863078713417,
-0.008301503024995327,
0.011016459204256535,
-0.022868290543556213,
0.009154277853667736,
-0.04309123754501343,
0.0010578107321634889,
-0.0035677317064255476,
0.029029153287410736,
-0.0541251003742218,
0.027863115072250366,
0.021580426022410393,
0.026505636051297188,
0.0051862639375030994,
0.004320436157286167,
0.04977421090006828,
0.031013160943984985,
0.02476527914404869,
0.02079726569354534,
0.027984939515590668,
0.01335723977535963,
0.007744588423520327,
-0.036582302302122116,
0.03898399695754051,
-0.04357853904366493,
-0.024156155064702034,
-0.02265944704413414,
0.033188607543706894,
-0.10045340657234192,
-0.014505875296890736,
0.013722714968025684,
-0.020623229444026947,
0.06383629143238068,
0.041211653500795364,
0.0011067582527175546,
-0.0324750617146492,
0.007070200052112341,
-0.0024669559206813574,
-0.01403597928583622,
0.023929908871650696,
-0.029794910922646523,
0.016576899215579033,
0.05019189417362213,
0.028820311650633812,
0.04911287501454353,
0.00746613135561347,
0.0029760103207081556,
-0.022607237100601196,
-0.09627654403448105,
0.0168379545211792,
-0.010163684375584126,
0.0026866761036217213,
-0.005808441434055567,
0.013183203525841236,
0.0443791039288044,
0.06383629143238068,
0.02570507302880287,
-0.058928485959768295,
-0.021858884021639824,
-0.06407994031906128,
-0.008836662396788597,
-0.0032000814098864794,
0.020849475637078285,
-0.02130196988582611,
-0.018047502264380455,
0.05607430264353752,
0.001112740719690919,
-0.0019013399723917246,
-0.012104182504117489,
-0.020936494693160057,
-0.006622058339416981,
-0.037313252687454224,
0.0335540808737278,
-0.0047207181341946125,
0.0024430260527879,
-0.017412271350622177,
-0.03811381757259369,
0.02401692606508732,
0.005425562616437674,
0.0499134361743927,
-0.03818343207240105,
0.07017119228839874,
-0.012582780793309212,
-0.02951645478606224,
-0.05503008887171745,
0.010285509750247002,
-0.021580426022410393,
-0.004085488151758909,
0.021162740886211395,
-0.008249292150139809,
-0.02671447955071926,
0.00419208500534296,
-0.016194021329283714,
-0.02854185365140438,
0.07406958937644958,
-0.023338187485933304,
0.031517863273620605,
-0.06390590965747833,
-0.01715121790766716,
0.0021580427419394255,
0.03238804265856743,
-0.020309966057538986,
-0.02253762260079384,
0.05262839421629906,
-0.03940168023109436,
-0.05583065003156662,
0.007178972475230694,
0.016855357214808464,
0.01825634390115738,
-0.020153334364295006,
0.06213074177503586,
0.014314436353743076,
-0.0036351706366986036,
-0.04765097424387932,
-0.015062789432704449,
0.02624458260834217,
0.019909683614969254,
0.013331133872270584,
0.03461569920182228,
0.008149221539497375,
-0.04528408870100975,
-0.007979536429047585,
-0.04371776804327965,
0.017803851515054703,
-0.027584657073020935,
0.005482124630361795,
0.05374222248792648,
0.04399622231721878,
-0.06401032954454422,
-0.047059252858161926,
-0.043160852044820786,
-0.05819753557443619,
0.03179632127285004,
0.04406583681702614,
-0.04622388258576393,
0.010624879039824009,
0.07267730683088303,
0.0081187654286623,
0.026296794414520264,
0.011521163396537304,
0.05579584464430809,
-0.0051645091734826565,
0.04162933677434921,
-0.012600184418261051,
-0.00838417001068592,
0.004326962400227785,
-0.04932171478867531,
-0.042464710772037506,
-0.04538850858807564,
-0.005316790658980608,
0.0018959013978019357,
-0.04263874515891075,
0.0390884168446064,
-0.02744542993605137,
0.040863581001758575,
-0.05356818810105324,
-0.009162979200482368,
0.01107737235724926,
0.030752107501029968,
-0.023808082565665245,
-0.004490120802074671,
-0.02756725437939167,
0.041211653500795364,
-0.04361334443092346,
0.0004111593298148364,
0.06143460050225258,
-0.0068178484216332436,
0.010372527875006199,
0.06836122274398804,
0.017351359128952026,
-0.08061333745718002,
-0.02974270097911358,
-0.027671676129102707,
0.023616643622517586,
0.031709302216768265,
-0.005495177116245031,
-0.004511875566095114,
0.00207755109295249,
0.011529864743351936,
0.03755690157413483,
0.03710440918803215,
0.08534710854291916,
-0.03169190138578415,
-0.04441390931606293,
0.008249292150139809,
-0.041211653500795364,
0.0012867763871327043,
-0.020779862999916077,
0.013714012689888477,
0.007966483943164349,
0.04075916111469269,
-0.02631419710814953,
-0.0055343350395560265,
0.012869940139353275,
0.007574903778731823,
-0.04604984447360039,
0.0031652741599828005,
-0.009467542171478271,
-0.0057562305592000484,
0.05384664610028267,
-0.03127421438694,
-0.002638816135004163,
-0.007070200052112341,
0.00737041188403964,
0.04556254670023918,
-0.0023233764804899693,
-0.09098586440086365,
-0.030578071251511574
] |
18,471 | fs.base | readtext | Get the contents of a file as a string.
Arguments:
path (str): A path to a readable file on the filesystem.
encoding (str, optional): Encoding to use when reading contents
in text mode (defaults to `None`, reading in binary mode).
errors (str, optional): Unicode errors parameter.
newline (str): Newlines parameter.
Returns:
str: file contents.
Raises:
fs.errors.ResourceNotFound: If ``path`` does not exist.
Note:
.. deprecated:: 2.2.0
Please use `~readtext`
| def _new_name(method, old_name):
"""Return a method with a deprecation warning."""
# Looks suspiciously like a decorator, but isn't!
@wraps(method)
def _method(*args, **kwargs):
warnings.warn(
"method '{}' has been deprecated, please rename to '{}'".format(
old_name, method.__name__
),
DeprecationWarning,
)
return method(*args, **kwargs)
deprecated_msg = """
Note:
.. deprecated:: 2.2.0
Please use `~{}`
""".format(
method.__name__
)
if getattr(_method, "__doc__", None) is not None:
_method.__doc__ += deprecated_msg
return _method
| (self, path, encoding=None, errors=None, newline='') | [
-0.014895708300173283,
-0.058030642569065094,
0.04303792491555214,
-0.005498800426721573,
-0.038310807198286057,
-0.06452161073684692,
0.02753368951380253,
0.030144184827804565,
0.0530918650329113,
-0.005476752296090126,
-0.001075396896339953,
-0.03206678107380867,
0.040074657648801804,
0.015477778390049934,
-0.000060460071836132556,
-0.012346945703029633,
-0.005944172386080027,
0.026016777381300926,
-0.024570422247052193,
0.008051972836256027,
-0.005785426124930382,
0.007712431252002716,
0.015601247549057007,
-0.03982771933078766,
-0.01668601483106613,
0.13821524381637573,
0.027480773627758026,
0.007302336394786835,
0.017726685851812363,
-0.05203355476260185,
-0.05358574539422989,
0.019525812938809395,
0.04462539032101631,
0.039086900651454926,
0.03781693056225777,
0.03372479975223541,
-0.014772238209843636,
-0.0034593495074659586,
-0.03700555860996246,
-0.01058309618383646,
0.008012285456061363,
-0.019790390506386757,
-0.023106426000595093,
-0.04624813050031662,
0.016394980251789093,
0.001091932994313538,
-0.011773694306612015,
0.061170294880867004,
-0.021571878343820572,
0.02402362786233425,
0.017021145671606064,
-0.05774842947721481,
0.020019689574837685,
0.01176487561315298,
0.011994175612926483,
0.029879609122872353,
0.019472897052764893,
0.04938778281211853,
-0.004471358377486467,
0.046565622091293335,
0.019190680235624313,
0.005944172386080027,
-0.008889800868928432,
-0.019384704530239105,
0.008801608346402645,
-0.03423631563782692,
0.026228440925478935,
-0.032719407230615616,
0.020143160596489906,
0.035929612815380096,
0.0022356791887432337,
0.03130832687020302,
-0.02758660353720188,
0.04070964455604553,
-0.00019609044829849154,
-0.008713415823876858,
-0.03693500533699989,
-0.017294542863965034,
0.005578173790127039,
-0.02416473627090454,
-0.011306274682283401,
-0.03319564461708069,
0.016950592398643494,
-0.018326394259929657,
-0.02340628206729889,
-0.043355416506528854,
-0.016941772773861885,
-0.06900178641080856,
-0.05358574539422989,
-0.02060176059603691,
-0.06311053037643433,
0.0007242806605063379,
-0.014613492414355278,
0.011403285898268223,
-0.018837912008166313,
-0.05129273980855942,
0.0059662205167114735,
-0.01780605874955654,
0.027198556810617447,
-0.017629673704504967,
0.016192136332392693,
0.03109666518867016,
0.005710462108254433,
-0.010750661604106426,
0.019331788644194603,
-0.04483705013990402,
-0.014516480267047882,
-0.008686957880854607,
-0.0033954100217670202,
-0.03125540912151337,
-0.0009403522126376629,
-0.05750149115920067,
-0.03596488758921623,
0.0243763979524374,
-0.02465861476957798,
0.00953360553830862,
-0.011191624216735363,
-0.05877146124839783,
-0.04610702395439148,
0.007752118166536093,
-0.02465861476957798,
-0.017709048464894295,
-0.049281951040029526,
-0.05570236220955849,
-0.02487027645111084,
-0.017021145671606064,
-0.01850277930498123,
-0.00011692391854012385,
0.06557992100715637,
-0.002985315164551139,
-0.05944172292947769,
0.022806571796536446,
0.012064729817211628,
-0.0014639949658885598,
0.05030498281121254,
-0.01309658121317625,
-0.014181348495185375,
0.08163094520568848,
0.005939762573689222,
0.04169739782810211,
-0.005163669120520353,
0.02130730077624321,
0.041944339871406555,
0.048858627676963806,
0.011879525147378445,
-0.02012552134692669,
-0.022947680205106735,
0.046495068818330765,
-0.006632073782384396,
-0.00712595134973526,
-0.02885657548904419,
0.022718379274010658,
0.0537974052131176,
-0.034959495067596436,
0.06423939764499664,
0.02395307458937168,
0.0007518407655879855,
-0.053197696805000305,
-0.027992289513349533,
-0.042226552963256836,
0.04762393236160278,
-0.043214309960603714,
-0.04624813050031662,
-0.05125746130943298,
0.07041286677122116,
-0.03506532683968544,
0.020231353119015694,
-0.009965748526155949,
0.021430769935250282,
0.015380766242742538,
-0.038522470742464066,
0.010106856934726238,
0.011562032625079155,
0.046847838908433914,
-0.037675824016332626,
0.04811780899763107,
0.03383063152432442,
0.03682917356491089,
0.007130361162126064,
0.01850277930498123,
0.006358677055686712,
-0.006883422378450632,
-0.03368952125310898,
-0.039157457649707794,
0.0019755112007260323,
0.022824211046099663,
0.03190803527832031,
0.0214484091848135,
-0.03534753993153572,
0.021466046571731567,
0.02033718302845955,
0.03358369320631027,
0.04106241464614868,
0.03296634554862976,
-0.026651764288544655,
-0.05979449301958084,
-0.07217671722173691,
0.0443078950047493,
0.058030642569065094,
0.017153434455394745,
0.03358369320631027,
0.12953709065914154,
-0.0075625041499733925,
0.03571794927120209,
0.04032159596681595,
0.04702422395348549,
-0.012002995237708092,
-0.02060176059603691,
-0.02954447641968727,
-0.013043666258454323,
0.05937116965651512,
0.03527698665857315,
-0.004859405104070902,
-0.033777713775634766,
-0.05506737902760506,
0.04391985014081001,
0.09672950208187103,
-0.01355518214404583,
-0.06635601073503494,
-0.01015977282077074,
0.05136329308152199,
0.02227741666138172,
0.010318518616259098,
-0.011270997114479542,
-0.015239658765494823,
-0.03065570257604122,
0.04995221272110939,
-0.010556638240814209,
0.000035225311876274645,
-0.06452161073684692,
-0.019737474620342255,
-0.03571794927120209,
-0.009815821424126625,
0.022647826001048088,
-0.04737699404358864,
-0.021042723208665848,
-0.0479414276778698,
-0.012488053180277348,
0.01323768962174654,
-0.04589536041021347,
-0.07161228358745575,
0.0049079107120633125,
-0.010142133571207523,
0.12304612994194031,
0.038451917469501495,
-0.06423939764499664,
-0.04060381278395653,
0.014331276528537273,
0.020725229755043983,
0.01519556250423193,
-0.0071876863949000835,
-0.07415223121643066,
-0.03095555678009987,
0.024852637201547623,
-0.0003825348394457251,
0.03166109696030617,
-0.0886157900094986,
0.030232377350330353,
0.0013405255740508437,
-0.005203355569392443,
-0.02215394750237465,
0.013361158780753613,
-0.021977562457323074,
-0.018414586782455444,
0.03164345771074295,
-0.020002052187919617,
0.05065775290131569,
0.017700228840112686,
0.014913346618413925,
-0.0017285724170506,
0.07979654520750046,
-0.03379535302519798,
-0.023423919454216957,
0.01613040268421173,
0.003933384083211422,
-0.036300018429756165,
-0.028274504467844963,
0.01577763259410858,
0.014939804561436176,
-0.028680190443992615,
0.043637633323669434,
-0.02989724650979042,
-0.00373054132796824,
0.08621695637702942,
-0.00967471394687891,
-0.00621756911277771,
-0.009912833571434021,
0.020584121346473694,
0.018538057804107666,
0.00470065837725997,
0.020619399845600128,
-0.02416473627090454,
-0.01593637838959694,
0.024341121315956116,
-0.016368521377444267,
0.05217466503381729,
-0.022383248433470726,
0.02095453068614006,
0.015495416708290577,
-0.04388457164168358,
0.013731567189097404,
0.03827553242444992,
-0.07041286677122116,
0.001596283633261919,
0.032313719391822815,
-0.04825891926884651,
-0.008431199938058853,
-0.04667145386338234,
-0.03136124089360237,
-0.02381196618080139,
-0.029932523146271706,
-0.02416473627090454,
-0.04938778281211853,
-0.07598663121461868,
0.02340628206729889,
0.018608611077070236,
-0.03806386888027191,
0.009815821424126625,
0.04469594359397888,
0.06466271728277206,
0.003291783854365349,
0.006707037333399057,
-0.036511681973934174,
0.0032212298829108477,
-0.028115758672356606,
0.005026970524340868,
-0.01697704941034317,
-0.004127407446503639,
0.02836269699037075,
0.0006344345747493207,
-0.012955473735928535,
-0.039651334285736084,
-0.01600693352520466,
-0.028045205399394035,
-0.10068052262067795,
-0.01844986528158188,
0.02241852506995201,
-0.04282626137137413,
-0.03501240909099579,
0.01554833259433508,
0.022612549364566803,
-0.003794481046497822,
-0.02229505591094494,
0.0055958121083676815,
-0.004563960246741772,
0.0013129654107615352,
-0.02890949137508869,
-0.004497815854847431,
0.07746826112270355,
-0.029773777350783348,
-0.01572471670806408,
-0.06233443692326546,
-0.05104580149054527,
0.015521874651312828,
0.060253094881772995,
0.013819759711623192,
0.008166622370481491,
0.03515351936221123,
-0.0019788185600191355,
-0.07443444430828094,
-0.07192977517843246,
-0.042226552963256836,
0.03577086701989174,
0.0035144698340445757,
0.05203355476260185,
0.016253871843218803,
0.016641918569803238,
-0.0276042427867651,
-0.010397892445325851,
0.004065672867000103,
0.008395923301577568,
0.0013680856209248304,
0.008400332182645798,
0.015371947549283504,
-0.06191111356019974,
-0.0017881023231893778,
0.022259779274463654,
0.028168674558401108,
-0.011941260658204556,
0.00047568813897669315,
0.005701642949134111,
-0.016183318570256233,
0.01837931014597416,
0.04391985014081001,
0.05280965194106102,
-0.008916258811950684,
-0.02201284095644951,
-0.003569590160623193,
0.02465861476957798,
-0.02248908020555973,
-0.039721887558698654,
-0.028168674558401108,
-0.04931722953915596,
0.027198556810617447,
-0.045436758548021317,
-0.036017805337905884,
-0.023653220385313034,
-0.04487232863903046,
-0.033495500683784485,
-0.0030117728747427464,
0.007064216770231724,
0.01649199239909649,
-0.04772976413369179,
-0.013872675597667694,
-0.03718194365501404,
0.022665465250611305,
0.032666489481925964,
0.01732981950044632,
0.014154891483485699,
-0.009392498061060905,
0.0018939332803711295,
0.017550300806760788,
-0.02494082972407341,
0.004065672867000103,
0.07535164803266525,
0.07009537518024445,
0.01393441017717123,
-0.018114732578396797,
0.06557992100715637,
-0.015954017639160156,
0.0038540109526365995,
-0.03725249692797661,
0.03760526701807976,
0.05771315097808838,
-0.032454829663038254,
-0.02404126711189747,
-0.02031954564154148,
-0.02906823717057705,
-0.006358677055686712,
0.03679389879107475,
0.033424947410821915,
-0.0010671288473531604,
-0.009366040118038654,
-0.04568369686603546,
-0.0005837238859385252,
-0.06826096773147583,
-0.001187291112728417,
0.0033689523115754128,
-0.03296634554862976,
0.025205407291650772,
0.021677708253264427,
-0.029985439032316208,
0.024358760565519333,
-0.015416043810546398,
-0.026316633448004723,
-0.07542219758033752,
-0.030179463326931,
-0.02109563909471035,
0.025029022246599197,
-0.07775048166513443,
0.060182541608810425,
0.04540148377418518,
-0.0005760070635005832,
-0.011509116739034653,
-0.0060500032268464565,
-0.013220051303505898,
-0.02892712876200676,
-0.06169945001602173,
0.04254404827952385,
0.07464610785245895,
-0.0022687511518597603,
0.07238838076591492,
-0.027745351195335388,
0.06462743878364563,
0.006768771912902594,
0.01991385966539383,
0.0030360256787389517,
-0.03619419038295746,
-0.012170560657978058,
-0.024852637201547623,
0.0588420145213604,
-0.06677933782339096,
0.046142298728227615,
-0.004987284075468779,
-0.04638923704624176,
0.03190803527832031,
-0.05644318088889122,
0.03323092311620712,
0.03100847266614437,
0.028203951194882393,
-0.058030642569065094,
-0.030197100713849068,
0.00558699294924736,
0.02892712876200676,
0.0027802675031125546,
-0.04772976413369179,
-0.04847057908773422,
0.02199520170688629,
-0.03693500533699989,
0.014084337279200554,
-0.027710072696208954,
0.02718091942369938,
0.015292573720216751,
-0.013643374666571617,
-0.02576983906328678,
0.0625813752412796,
0.010406711138784885,
-0.004810899030417204,
-0.01492216531187296,
0.020107882097363472,
-0.0029279899317771196,
-0.09263736754655838,
0.002670027082785964,
0.009515967220067978,
0.06166417524218559,
-0.04028632119297981,
0.019155403599143028,
0.032666489481925964,
0.04437845200300217,
0.0016249462496489286,
-0.004041419830173254,
0.02626371756196022,
0.04518982023000717,
0.01275263074785471,
0.010741842910647392,
-0.02501138485968113,
-0.10639539361000061,
0.024976106360554695,
0.023282811045646667,
-0.004250877071171999,
-0.014481203630566597,
0.0066849892027676105,
0.02298295684158802,
-0.034183401614427567,
0.004749164450913668,
-0.039298564195632935,
0.010221507400274277,
0.000024080678485915996,
0.009039727970957756,
0.02033718302845955,
-0.020725229755043983,
0.03725249692797661,
0.03795803710818291,
-0.0480472557246685,
0.015266116708517075,
0.0886157900094986,
-0.057113442569971085,
-0.0232651736587286,
0.01788543350994587,
-0.001249025808647275,
0.017426831647753716,
-0.00792850274592638,
-0.01561888586729765,
0.039651334285736084,
-0.07094202190637589,
0.011306274682283401,
-0.033777713775634766,
0.002090161433443427,
-0.006909879855811596,
-0.06536825746297836,
-0.039369117468595505,
0.06801403313875198,
-0.024605698883533478,
-0.034059930592775345,
0.020301906391978264,
-0.006257255561649799,
-0.04095658287405968,
-0.004147250670939684,
0.004129612352699041,
-0.018061816692352295,
-0.10639539361000061,
-0.027128003537654877,
0.05065775290131569,
0.004775622393935919,
-0.013123039156198502,
0.06780236959457397,
0.046918392181396484,
0.014234264381229877,
-0.010715384967625141,
-0.07111840695142746,
0.0508694164454937,
-0.015909921377897263,
0.0705539733171463,
-0.023353366181254387,
-0.01379330176860094,
0.056549008935689926,
0.06272248178720474,
-0.03337202966213226,
-0.0232651736587286,
-0.025611093267798424,
-0.010001026093959808,
0.01844986528158188,
-0.06572102755308151,
-0.012144102714955807,
-0.06861373782157898,
-0.03404229134321213,
-0.03261357545852661,
0.003238868433982134,
0.07351724058389664,
0.021342577412724495,
-0.013440532609820366,
-0.07330557703971863,
0.023494472727179527,
-0.07302336394786835,
0.003569590160623193,
0.052986033260822296,
-0.03848719224333763,
-0.01773550547659397,
0.0250819381326437,
0.06554464250802994,
0.011024058796465397,
0.008841294795274734,
0.028397975489497185,
0.017841337248682976,
0.04561314359307289,
0.04857641085982323,
-0.02382960543036461,
-0.03227844461798668,
-0.028309782966971397,
0.05467933043837547,
-0.0006234105094335973,
-0.0076992022804915905,
0.04561314359307289,
0.02696925774216652,
0.05866562947630882,
0.043425969779491425,
0.0239707138389349,
-0.04780031740665436,
0.02515249140560627,
0.010089218616485596,
-0.04924667254090309,
0.03739360719919205,
0.04660090059041977,
0.0012975316494703293,
-0.029385730624198914,
-0.026493016630411148,
0.018538057804107666,
-0.030902640894055367,
-0.03353077545762062,
-0.05101052299141884,
-0.07457555085420609,
-0.06057058647274971,
0.04868224263191223,
-0.06014726310968399,
-0.0378522090613842,
0.013114220462739468,
0.02968558482825756,
-0.020584121346473694,
-0.007368480786681175,
0.023106426000595093,
0.04155629128217697,
0.05069303140044212,
-0.02968558482825756,
0.017911890521645546,
-0.03511824086308479,
0.0018873187946155667,
0.014049060642719269,
-0.03746416047215462,
0.014207806438207626,
-0.01058309618383646,
-0.04769448563456535,
0.06970732659101486,
-0.028521444648504257,
0.029526839032769203,
0.01661546155810356,
-0.02033718302845955,
-0.03550628945231438,
0.008801608346402645,
0.012734992429614067,
-0.04010993614792824,
0.05781898275017738,
-0.04332014173269272,
0.012488053180277348,
0.03792276233434677,
0.01243513822555542,
0.07563386112451553,
0.02054884470999241,
0.008991221897304058,
0.029579753056168556,
-0.02270074188709259,
0.0740816742181778,
0.03425395488739014,
0.018538057804107666,
-0.06466271728277206,
0.03319564461708069,
0.0009453130187466741,
0.020143160596489906,
-0.018908465281128883,
-0.004832947161048651,
0.03975716605782509,
-0.03227844461798668,
0.0038451915606856346,
-0.052633266896009445,
0.011129889637231827,
0.008462067693471909,
0.09284903109073639,
0.03771109879016876,
0.0180177204310894,
-0.032384272664785385,
-0.05898312106728554,
0.03197858855128288,
-0.002630340401083231,
0.003602662356570363,
0.020002052187919617,
0.050551921129226685,
0.022647826001048088,
-0.01873208023607731,
-0.0225067175924778,
-0.003809914691373706,
0.00019333443196956068,
0.0588420145213604,
-0.011570852249860764,
0.019225958734750748,
0.022577272728085518,
-0.0010500415228307247,
-0.02746313437819481,
0.011085793375968933,
-0.07697438448667526,
-0.014789876528084278,
0.0022930041886866093,
0.01970219798386097,
-0.029791416600346565,
0.053973790258169174,
0.019755113869905472,
0.03471255674958229,
-0.05517320707440376,
-0.011218082159757614,
-0.06688516587018967,
0.013422893360257149,
0.04420206695795059,
0.028274504467844963,
-0.036582235246896744,
0.03374243900179863,
-0.006759952753782272,
-0.0287154670804739,
0.0218011774122715,
0.012355764396488667,
-0.017638493329286575,
-0.06381607055664062,
-0.006482146214693785,
-0.009066185913980007,
0.03157290443778038,
-0.024270568042993546,
0.05220993980765343,
0.04744754731655121,
-0.02739258110523224,
-0.010644830763339996,
0.0633927434682846,
0.03337202966213226,
0.012117644771933556,
-0.007791804615408182,
0.05771315097808838,
-0.04134462773799896,
0.004242057912051678,
-0.0014761214843019843,
-0.0035894333850592375,
0.03771109879016876,
0.02024899050593376,
0.016941772773861885,
0.0218011774122715,
0.030690979212522507,
0.010318518616259098,
-0.041944339871406555,
0.043073203414678574,
-0.003693059552460909,
-0.06931927800178528,
0.05129273980855942,
0.02178354002535343,
0.04088602960109711,
-0.02409418299794197,
0.004242057912051678,
0.07951433211565018,
0.04416678845882416,
0.030990833416581154,
-0.015451320447027683,
0.013881494291126728,
-0.011465020477771759,
0.023917797952890396
] |
18,472 | fs.base | gettype | Get the type of a resource.
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.enums.ResourceType: the type of the resource.
Raises:
fs.errors.ResourceNotFound: if ``path`` does not exist.
A type of a resource is an integer that identifies the what
the resource references. The standard type integers may be one
of the values in the `~fs.enums.ResourceType` enumerations.
The most common resource types, supported by virtually all
filesystems are ``directory`` (1) and ``file`` (2), but the
following types are also possible:
=================== ======
ResourceType value
------------------- ------
unknown 0
directory 1
file 2
character 3
block_special_file 4
fifo 5
socket 6
symlink 7
=================== ======
Standard resource types are positive integers, negative values
are reserved for implementation specific resource types.
| def gettype(self, path):
# type: (Text) -> ResourceType
"""Get the type of a resource.
Arguments:
path (str): A path on the filesystem.
Returns:
~fs.enums.ResourceType: the type of the resource.
Raises:
fs.errors.ResourceNotFound: if ``path`` does not exist.
A type of a resource is an integer that identifies the what
the resource references. The standard type integers may be one
of the values in the `~fs.enums.ResourceType` enumerations.
The most common resource types, supported by virtually all
filesystems are ``directory`` (1) and ``file`` (2), but the
following types are also possible:
=================== ======
ResourceType value
------------------- ------
unknown 0
directory 1
file 2
character 3
block_special_file 4
fifo 5
socket 6
symlink 7
=================== ======
Standard resource types are positive integers, negative values
are reserved for implementation specific resource types.
"""
resource_type = self.getdetails(path).type
return resource_type
| (self, path) | [
0.04741265997290611,
0.004096054472029209,
-0.022982068359851837,
-0.02271709404885769,
0.04896717518568039,
-0.010069007985293865,
0.05246483162045479,
0.01374331209808588,
0.014494071714580059,
-0.048578545451164246,
0.05126361548900604,
0.0737687274813652,
0.0002060448023257777,
-0.0008390839793719351,
-0.006421200465410948,
0.016463711857795715,
-0.02775159850716591,
0.042572472244501114,
-0.007816730067133904,
-0.05461994931101799,
0.006549271289259195,
0.06984711438417435,
0.056739743798971176,
-0.04674139246344566,
0.02614409103989601,
0.025702467188239098,
0.029111796990036964,
-0.024624906480312347,
-0.026939012110233307,
-0.08719407767057419,
-0.027574948966503143,
-0.030383672565221786,
0.003594812471419573,
-0.029323777183890343,
-0.04356170818209648,
0.041335925459861755,
-0.024006634950637817,
0.030948949977755547,
-0.03504721447825432,
-0.03026001714169979,
-0.07069503515958786,
0.0632757619023323,
-0.0724261924624443,
-0.05776430666446686,
0.024677900597453117,
0.0023958056699484587,
-0.04448028281331062,
-0.08571022003889084,
-0.052782800048589706,
-0.015324323438107967,
0.001160364830866456,
-0.0053083100356161594,
-0.07504060864448547,
-0.030489662662148476,
-0.05144026502966881,
0.016711018979549408,
-0.04674139246344566,
0.020826946943998337,
-0.01994370110332966,
0.03815624117851257,
0.02934144251048565,
-0.04115927591919899,
0.011217228136956692,
-0.005436380859464407,
-0.011703013442456722,
0.016569700092077255,
-0.005802928004413843,
-0.04419764503836632,
-0.013248694129288197,
0.03755563125014305,
-0.03886283561587334,
0.05730501934885979,
-0.020897608250379562,
-0.018618831411004066,
0.051404934376478195,
-0.043809015303850174,
0.020014360547065735,
0.014264428056776524,
0.022929074242711067,
-0.0006392495124600828,
0.035806804895401,
0.0009500418091192842,
0.003738339990377426,
-0.09214024990797043,
-0.028246216475963593,
0.030789965763688087,
0.029818395152688026,
-0.03559482470154762,
-0.1093105599284172,
-0.010272154584527016,
0.001883522723801434,
-0.032450467348098755,
0.02446592226624489,
0.011914992704987526,
0.047342002391815186,
-0.06560753285884857,
-0.007008559536188841,
-0.044692263007164,
-0.014282092452049255,
-0.01833619363605976,
0.021710194647312164,
0.030383672565221786,
0.03462325409054756,
-0.002212531864643097,
0.031726207584142685,
-0.012515599839389324,
0.020332328975200653,
0.0460347980260849,
-0.01086392905563116,
0.004871103446930647,
-0.00040187707054428756,
-0.04345571622252464,
0.0019199566449970007,
0.016684522852301598,
0.026727033779025078,
-0.004151257686316967,
-0.03264478221535683,
0.018919136375188828,
0.014317422173917294,
0.00003733095581992529,
-0.046776723116636276,
0.060202065855264664,
0.03684903681278229,
0.0013878007885068655,
0.05041569843888283,
0.05165224149823189,
-0.046776723116636276,
-0.013186867348849773,
-0.05341873690485954,
0.06744468957185745,
-0.022681765258312225,
0.0018813145579770207,
-0.023671001195907593,
0.1009727194905281,
-0.03674304485321045,
0.029730070382356644,
-0.005763181950896978,
0.027045002207159996,
0.025154855102300644,
0.07878556847572327,
0.05235883966088295,
0.047342002391815186,
0.005617446266114712,
-0.06914051622152328,
0.016110412776470184,
0.03428762033581734,
0.040664657950401306,
0.006752417888492346,
-0.02142755500972271,
0.07012975215911865,
-0.014078945852816105,
-0.05122828483581543,
0.04402099549770355,
0.028864488005638123,
0.05232350900769234,
0.005427548661828041,
-0.0500623993575573,
0.018406853079795837,
-0.051051635295152664,
-0.07065970450639725,
-0.013443008996546268,
0.04455094411969185,
-0.018353857100009918,
-0.03752030432224274,
0.0037449642550200224,
0.06956447660923004,
-0.06959980726242065,
0.01967872679233551,
-0.0030736972112208605,
-0.039322126656770706,
-0.0748286247253418,
-0.03520619869232178,
-0.0751112625002861,
-0.04864920675754547,
-0.018300862982869148,
-0.010422306135296822,
0.020261669531464577,
0.025914445519447327,
0.05179356411099434,
0.049037832766771317,
0.039074815809726715,
-0.047553978860378265,
-0.03144356980919838,
0.027663273736834526,
-0.020438319072127342,
0.048225246369838715,
0.05532654747366905,
-0.006942315958440304,
0.04366769641637802,
0.005034503992646933,
-0.03815624117851257,
0.02995971404016018,
-0.0006221366347745061,
-0.019396089017391205,
-0.003749380586668849,
-0.05059234797954559,
0.02065029926598072,
-0.0006447698106057942,
-0.0057057710364460945,
0.07998678088188171,
-0.004451561253517866,
0.07998678088188171,
0.027521954849362373,
0.04395033419132233,
0.0019652231130748987,
-0.02245212160050869,
0.0016991450684145093,
0.005202320870012045,
-0.04271379113197327,
0.04638809710741043,
-0.06818661093711853,
-0.02616175450384617,
0.0219398383051157,
0.011446871794760227,
0.031673211604356766,
-0.05327741801738739,
-0.06189789995551109,
-0.00843941792845726,
-0.02619708515703678,
-0.01604858599603176,
-0.011208395473659039,
0.07277949154376984,
-0.008593986742198467,
0.000280016683973372,
0.014714883640408516,
-0.09616785496473312,
-0.028175557032227516,
0.032079506665468216,
-0.05091031640768051,
0.002727022860199213,
-0.007043889258056879,
-0.03426995500922203,
0.07814963161945343,
-0.007277949247509241,
-0.03921613469719887,
0.013716815039515495,
0.013372348621487617,
0.04356170818209648,
-0.03197351470589638,
0.010227992199361324,
0.013116207905113697,
0.006686174310743809,
-0.043809015303850174,
-0.04624677449464798,
-0.06129729375243187,
0.008823630400002003,
-0.006169475149363279,
-0.007118965033441782,
-0.01145570445805788,
-0.06500692665576935,
-0.0024951708037406206,
-0.0008909747120924294,
-0.03303341194987297,
-0.09758105129003525,
0.006540438625961542,
-0.05211153253912926,
-0.07546456158161163,
-0.09150431305170059,
0.021409889683127403,
0.02250511571764946,
-0.010952253825962543,
0.01161468867212534,
0.029359105974435806,
0.05606847628951073,
-0.06928183883428574,
-0.07412202656269073,
-0.010439971461892128,
0.055008579045534134,
0.0007833290728740394,
-0.02280541881918907,
0.04232516139745712,
0.0818239375948906,
0.0069158184342086315,
-0.01989070698618889,
0.018371522426605225,
-0.05946014076471329,
0.014034783467650414,
0.07461664825677872,
0.04536353051662445,
-0.0011449080193415284,
-0.051864221692085266,
0.022575775161385536,
0.05030971020460129,
-0.043703027069568634,
0.005012422800064087,
-0.03442893922328949,
-0.005171407014131546,
0.0323091484606266,
-0.07115431874990463,
0.056033145636320114,
0.08026942610740662,
-0.004007730167359114,
-0.04433896392583847,
0.01052829623222351,
0.0632404312491417,
0.052994776517152786,
-0.005378969945013523,
-0.06839859485626221,
0.038968827575445175,
-0.017664926126599312,
-0.023300036787986755,
0.0044957236386835575,
0.015606962144374847,
-0.005065417382866144,
-0.035541832447052,
-0.0090179443359375,
-0.029677076265215874,
-0.02342369221150875,
-0.05928349122405052,
0.06228652969002724,
-0.020155681297183037,
-0.0027711852453649044,
0.0205973032861948,
0.028140226379036903,
-0.03458792343735695,
0.023600341752171516,
0.007635664194822311,
0.03237980976700783,
-0.030101032927632332,
0.004177754744887352,
-0.0409119687974453,
0.0901617780327797,
0.027663273736834526,
-0.02384765073657036,
-0.043703027069568634,
-0.0015004146844148636,
-0.03222082555294037,
0.03268011286854744,
-0.022540444508194923,
0.017002491280436516,
0.029659410938620567,
0.029164792969822884,
0.0290764681994915,
0.006496276706457138,
-0.00968921184539795,
0.006381454411894083,
0.05620979517698288,
-0.043597038835287094,
-0.017276298254728317,
0.009388907812535763,
0.0737687274813652,
-0.026126425713300705,
0.025525817647576332,
-0.03695502504706383,
0.00414684135466814,
0.024377597495913506,
0.017382286489009857,
-0.005127244628965855,
0.06221586838364601,
0.014555898495018482,
0.02872316911816597,
-0.02964174561202526,
-0.028864488005638123,
-0.008991447277367115,
-0.07168427109718323,
-0.024624906480312347,
-0.025101859122514725,
0.019025124609470367,
-0.022628769278526306,
0.024236278608441353,
0.016702188178896904,
0.03776761144399643,
-0.051616914570331573,
0.0022169481962919235,
-0.02107425592839718,
0.019537407904863358,
-0.02455424703657627,
0.03787359967827797,
0.005405467469245195,
-0.018027056008577347,
-0.005246482789516449,
0.01089042704552412,
-0.046529415994882584,
0.019201774150133133,
-0.009742206893861294,
0.00004523187089944258,
0.04264312982559204,
-0.04006405174732208,
-0.019201774150133133,
0.038050249218940735,
-0.037272993475198746,
0.0017123937141150236,
-0.007852059789001942,
0.007856476120650768,
-0.02619708515703678,
-0.0374143123626709,
-0.03663705661892891,
-0.06479495018720627,
-0.02845819480717182,
-0.012365448288619518,
0.037838272750377655,
-0.013036714866757393,
0.035223864018917084,
-0.022169481962919235,
0.019855376332998276,
-0.010422306135296822,
-0.006050236988812685,
0.01752360723912716,
0.027769263833761215,
0.027769263833761215,
-0.007286781910806894,
0.025472823530435562,
-0.011367379687726498,
0.050627678632736206,
-0.02789291739463806,
0.04751865193247795,
0.07581786066293716,
0.008337845094501972,
-0.035329852253198624,
-0.059424810111522675,
0.04437429457902908,
-0.008611651137471199,
-0.021356895565986633,
-0.06610215455293655,
0.011305552907288074,
-0.026603378355503082,
-0.006288713775575161,
0.02538449876010418,
0.02086227759718895,
0.04013471305370331,
-0.011429207399487495,
0.044056326150894165,
0.024165619164705276,
-0.013760977424681187,
-0.022787753492593765,
-0.014096611179411411,
0.034252289682626724,
0.05059234797954559,
0.0006988686509430408,
0.05889486148953438,
0.0022986484691500664,
0.02686835266649723,
-0.005886836443096399,
-0.052747469395399094,
-0.03333371505141258,
-0.06207454949617386,
-0.04161856696009636,
-0.018830811604857445,
-0.03389899432659149,
-0.031231589615345,
0.022946739569306374,
-0.011508699506521225,
-0.004067349247634411,
0.01895446516573429,
0.010704944841563702,
-0.05306543782353401,
-0.05023904889822006,
0.025260843336582184,
0.04448028281331062,
-0.04939113184809685,
-0.027963576838374138,
-0.017762083560228348,
0.05069833621382713,
0.0047121187672019005,
0.026126425713300705,
0.018159544095396996,
-0.02132156491279602,
0.020155681297183037,
0.0219398383051157,
-0.041123948991298676,
-0.015783611685037613,
0.04645875468850136,
0.07468730956315994,
-0.054796598851680756,
0.034764572978019714,
-0.049002505838871,
0.006712671834975481,
0.02024400420486927,
0.07210822403430939,
0.0022522781509906054,
0.007008559536188841,
0.03790893033146858,
-0.028988143429160118,
-0.03868618607521057,
-0.0010764563921838999,
0.040099382400512695,
-0.011570526286959648,
0.008598403073847294,
-0.03780294209718704,
0.02559647709131241,
0.08154129981994629,
-0.02815789170563221,
-0.020473649725317955,
0.038509540259838104,
-0.017611932009458542,
-0.024289272725582123,
-0.02162186987698078,
0.05363071337342262,
0.022770090028643608,
-0.022469785064458847,
0.013831636868417263,
0.02328237146139145,
-0.020173344761133194,
0.02882915921509266,
-0.016861172392964363,
-0.012012149207293987,
0.011164233088493347,
0.010007180273532867,
-0.02271709404885769,
0.06447698175907135,
0.01181783527135849,
-0.08231855183839798,
-0.018724821507930756,
0.0027535203844308853,
-0.006929066963493824,
0.027256980538368225,
0.03981674462556839,
-0.022593440487980843,
0.07666578143835068,
0.004610545467585325,
-0.011994484812021255,
0.013169202022254467,
0.036460407078266144,
0.01808888465166092,
-0.018530506640672684,
0.01824786886572838,
0.020614968612790108,
0.015121176838874817,
0.010590123012661934,
0.04130059853196144,
-0.05189955234527588,
-0.04511621966958046,
0.0320265106856823,
0.00644769798964262,
0.006381454411894083,
-0.01528899371623993,
0.00472536776214838,
-0.0508749857544899,
0.008624900132417679,
0.05179356411099434,
0.0600254163146019,
0.03780294209718704,
0.0011857581557705998,
-0.03139057382941246,
0.030595650896430016,
-0.011420374736189842,
-0.09531994163990021,
-0.021568873897194862,
-0.038509540259838104,
-0.019484413787722588,
0.025154855102300644,
-0.03319239616394043,
0.026585713028907776,
0.0409119687974453,
0.02918245829641819,
-0.048119258135557175,
0.008633732795715332,
-0.07857359200716019,
0.045186880975961685,
-0.0013094126479700208,
-0.017647260800004005,
-0.03674304485321045,
-0.060449376702308655,
-0.051864221692085266,
0.008563072420656681,
0.06977646052837372,
0.04592880606651306,
-0.00258128740824759,
0.03621309623122215,
0.012232961133122444,
0.0036389746237546206,
-0.009106269106268883,
0.019502077251672745,
0.020985931158065796,
0.027097996324300766,
-0.03457025811076164,
-0.01860116608440876,
0.04264312982559204,
0.01770908758044243,
-0.041795216500759125,
0.06935250014066696,
-0.0010770084336400032,
0.046070124953985214,
-0.00286392611451447,
0.042784448713064194,
0.052076201885938644,
0.00480485986918211,
0.024342268705368042,
0.002497378969565034,
0.052641477435827255,
0.007503177039325237,
0.0001778913283487782,
-0.014661888591945171,
0.001425338676199317,
-0.0433497279882431,
0.013213364407420158,
-0.027097996324300766,
0.011305552907288074,
-0.07666578143835068,
0.02708033099770546,
-0.009830531664192677,
0.01052829623222351,
0.03780294209718704,
0.012153469026088715,
0.004853438585996628,
0.01631355844438076,
0.06295779347419739,
-0.00004882006032858044,
-0.04797793924808502,
0.008766219019889832,
-0.018636496737599373,
0.03262711688876152,
-0.03262711688876152,
0.042360492050647736,
0.025472823530435562,
0.001573282410390675,
0.02708033099770546,
-0.026338404044508934,
0.002254486083984375,
0.013045547530055046,
0.024571912363171577,
-0.012957222759723663,
0.005979577545076609,
0.02630307525396347,
0.05737568065524101,
0.030701640993356705,
-0.002179410308599472,
-0.08472098410129547,
-0.02105659246444702,
-0.042254503816366196,
-0.018724821507930756,
0.02172785811126232,
0.07793765515089035,
0.005590949207544327,
-0.026497388258576393,
0.07147228717803955,
-0.05970744788646698,
-0.0317615382373333,
-0.004102678969502449,
-0.02229313738644123,
0.004228541627526283,
-0.03582447022199631,
-0.027822257950901985,
-0.024589577689766884,
-0.031779199838638306,
0.018353857100009918,
-0.018080051988363266,
0.0007673202198930085,
0.03819156810641289,
0.046670734882354736,
-0.04797793924808502,
0.05497324839234352,
-0.007216122001409531,
-0.0051095797680318356,
-0.020438319072127342,
-0.001583219040185213,
0.0037052182015031576,
-0.020738622173666954,
0.011199562810361385,
-0.0014275468420237303,
-0.006982062011957169,
0.039852071553468704,
-0.0004971020389348269,
-0.009618552401661873,
0.055467866361141205,
0.008161195553839207,
0.04787195101380348,
-0.0034866146743297577,
-0.06052003428339958,
-0.015553967095911503,
0.018724821507930756,
-0.01717914082109928,
0.022946739569306374,
0.012939558364450932,
0.01025448925793171,
-0.04864920675754547,
-0.006195972673594952,
-0.020173344761133194,
0.006853991188108921,
-0.02188684232532978,
-0.004135800991207361,
0.05663375183939934,
0.0594954714179039,
-0.036354418843984604,
-0.059106841683387756,
0.04624677449464798,
-0.004173338878899813,
0.006094399373978376,
0.03128458559513092,
0.030224688351154327,
-0.022134151309728622,
0.014290925115346909,
-0.050733666867017746,
0.06412368267774582,
0.03723766282200813,
0.01104941125959158,
0.019290098920464516,
-0.021798519417643547,
-0.03192052245140076,
-0.020897608250379562,
-0.027362970635294914,
-0.02003202587366104,
0.008267185650765896,
0.009618552401661873,
-0.043385058641433716,
0.007944799959659576,
0.054337311536073685,
0.0152095016092062,
0.005590949207544327,
0.03642507642507553,
0.045646168291568756,
-0.04186587408185005,
0.04882585629820824,
-0.03706101328134537,
-0.018777815625071526,
0.002333978423848748,
-0.010157332755625248,
-0.007083635311573744,
-0.016922999173402786,
0.0006442177691496909,
0.007375106681138277,
-0.012012149207293987,
0.027345305308699608,
-0.004928514361381531,
0.006712671834975481,
-0.0568104013800621,
-0.05709303915500641,
0.042784448713064194,
-0.0029434182215481997,
0.00343582802452147,
-0.01585427112877369,
-0.05560918524861336,
0.03469391539692879,
-0.0038288726937025785,
0.03299808129668236,
0.019095784053206444,
-0.018795480951666832,
0.017841575667262077,
-0.013513668440282345,
0.005255315452814102,
0.019820047542452812,
-0.008333428762853146,
-0.05144026502966881,
-0.022275472059845924,
0.03971075266599655,
0.005546786822378635,
0.02579079195857048,
0.004809276200830936,
0.036707714200019836,
0.026285409927368164,
-0.02912946231663227,
0.08606351912021637,
-0.07539390027523041,
-0.044515613466501236,
-0.03773228079080582,
-0.025402164086699486,
0.017267465591430664,
-0.006156226620078087,
-0.005741100758314133,
0.02116258069872856,
0.05112229660153389,
-0.04635276645421982,
-0.010987583547830582,
0.010713777504861355,
0.02425394393503666,
-0.01161468867212534,
0.025455158203840256,
-0.026744697242975235,
-0.007640080526471138,
0.037590961903333664,
-0.00881479773670435,
-0.03939278423786163,
-0.01932542957365513,
-0.04366769641637802,
0.024642571806907654,
-0.003044991521164775,
-0.031160930171608925,
-0.04059400036931038
] |
18,473 | miarec_s3fs.s3fs | geturl | null | def geturl(self, path, purpose="download"):
_path = self.validatepath(path)
_key = self._path_to_key(_path)
if _path == "/":
raise errors.NoURL(path, purpose)
if purpose == "download":
url = self.client.generate_presigned_url(
ClientMethod="get_object",
Params={"Bucket": self._bucket_name, "Key": _key},
)
return url
else:
raise errors.NoURL(path, purpose)
| (self, path, purpose='download') | [
0.013372800312936306,
0.014958052895963192,
-0.058840323239564896,
0.062382787466049194,
0.011690130457282066,
-0.033617980778217316,
0.01886361837387085,
0.0007317401468753815,
0.06588982790708542,
0.028569970279932022,
0.00853290967643261,
0.04839005321264267,
0.027312394231557846,
-0.04707934334874153,
-0.030305776745080948,
0.030660023912787437,
0.03168733790516853,
0.00069078040542081,
0.009821480140089989,
0.014311552979052067,
-0.012274636887013912,
-0.00259264069609344,
0.016215628013014793,
-0.026727888733148575,
-0.020723411813378334,
0.06454368680715561,
0.014656943269073963,
-0.017127811908721924,
0.026214230805635452,
-0.045591507107019424,
0.03900252655148506,
0.0068280985578894615,
-0.0028583253733813763,
0.04049035906791687,
0.018367674201726913,
0.048425476998090744,
0.03177589923143387,
0.0010544364340603352,
-0.0909704640507698,
-0.011707842350006104,
-0.03172276169061661,
0.05108232796192169,
0.07495853304862976,
-0.04413909837603569,
0.0998266264796257,
0.0595133900642395,
-0.04722104221582413,
0.001752412528730929,
-0.05044468119740486,
-0.038931675255298615,
0.027896901592612267,
0.048885997384786606,
0.0377272367477417,
-0.09989747405052185,
-0.04601660370826721,
-0.03985271602869034,
0.041340552270412445,
0.029597284272313118,
-0.033795103430747986,
0.06263075768947601,
-0.005442109890282154,
-0.019377276301383972,
0.03289177641272545,
0.007279762998223305,
-0.018403097987174988,
0.049523644149303436,
-0.020316028967499733,
-0.028392845764756203,
0.0004594132478814572,
0.03825860843062401,
0.056962817907333374,
-0.0008850623853504658,
-0.058663200587034225,
0.009405241347849369,
0.02456698566675186,
-0.0657835528254509,
0.011938102543354034,
-0.03889625146985054,
0.0017125598387792706,
0.023150000721216202,
-0.02763121761381626,
-0.11009977012872696,
-0.003845787141472101,
-0.06206396222114563,
0.007598584517836571,
-0.012044376693665981,
0.03375967964529991,
-0.08629441261291504,
0.05398714542388916,
0.05274728313088417,
-0.024744108319282532,
0.030854858458042145,
-0.052003368735313416,
-0.07297474890947342,
0.06925516575574875,
-0.028623105958104134,
-0.03896709904074669,
-0.013452505692839622,
0.015941087156534195,
-0.019696097820997238,
0.050657231360673904,
-0.022937452420592308,
0.014037012122571468,
0.024106465280056,
0.0058760615065693855,
0.005991191603243351,
0.032803215086460114,
0.008488629013299942,
-0.004977161530405283,
0.020847398787736893,
0.0020347025711089373,
0.025789136067032814,
0.0010743627790361643,
0.018491661176085472,
0.018491661176085472,
-0.03755011409521103,
0.005437681917101145,
-0.024319013580679893,
-0.04899227246642113,
-0.0005515726516023278,
-0.04350145533680916,
0.0008728851680643857,
-0.030872570350766182,
-0.02469097264111042,
0.03811690956354141,
-0.00034455995773896575,
-0.02669246308505535,
0.015188313089311123,
0.035336073487997055,
-0.024744108319282532,
0.008816306479275227,
0.024000192061066628,
-0.0719120129942894,
0.03740841522812843,
-0.059973910450935364,
-0.008032536134123802,
0.04601660370826721,
0.04378485307097435,
0.02486809529364109,
0.12809549272060394,
0.0023712366819381714,
0.0034184774849563837,
0.015684258192777634,
0.02304372563958168,
0.03345856815576553,
-0.016073929145932198,
0.05547498166561127,
-0.045414384454488754,
0.0054952469654381275,
-0.005601520650088787,
0.07297474890947342,
-0.0015952156390994787,
0.040809180587530136,
0.027188409119844437,
0.024761822074651718,
-0.04456419497728348,
-0.009121843613684177,
-0.005331407766789198,
-0.058663200587034225,
0.017614901065826416,
0.042828384786844254,
0.046654246747493744,
0.027861477807164192,
-0.01184068527072668,
0.04211989417672157,
0.02982754446566105,
0.05125945061445236,
0.061142925173044205,
0.0375855416059494,
0.009148412384092808,
-0.022530069574713707,
0.02245922014117241,
-0.04162395000457764,
-0.016924120485782623,
0.0804847776889801,
-0.006150602363049984,
0.028074024245142937,
0.04987788945436478,
0.026037108153104782,
-0.029491011053323746,
-0.009281255304813385,
-0.03606228157877922,
-0.01567540131509304,
0.05770673230290413,
-0.004609630908817053,
0.02368137054145336,
-0.026249656453728676,
-0.030429763719439507,
0.0004248188924975693,
0.011690130457282066,
-0.08126411586999893,
0.017668036743998528,
-0.014143286272883415,
0.029154475778341293,
0.026143381372094154,
-0.05781300738453865,
0.014506388455629349,
0.014373546466231346,
-0.029685845598578453,
0.08834904432296753,
0.024035615846514702,
0.000059017998864874244,
-0.028162585571408272,
0.01281486265361309,
0.019642960280179977,
-0.0036155269481241703,
0.019005317240953445,
0.008847302757203579,
0.00700079370290041,
0.09359189122915268,
-0.01896989345550537,
0.0285345446318388,
-0.020847398787736893,
-0.018137414008378983,
-0.0010079416679218411,
0.0032369261607527733,
-0.07913863658905029,
0.011628136970102787,
-0.034273337572813034,
0.02922532521188259,
0.025842271745204926,
-0.03452130779623985,
0.020705699920654297,
0.004600774496793747,
0.03531836345791817,
-0.0271706972271204,
0.05834437534213066,
-0.016596442088484764,
-0.03437960892915726,
-0.04449334368109703,
0.002532861428335309,
-0.00006493363616755232,
0.055545829236507416,
0.031031981110572815,
0.057423338294029236,
-0.0050214421935379505,
-0.014913772232830524,
0.000039368394936900586,
0.00028325870516709983,
0.020900536328554153,
0.03195302188396454,
0.011725555174052715,
-0.007518879137933254,
0.044280797243118286,
-0.07318729907274246,
0.05437681823968887,
0.017074674367904663,
0.032324980944395065,
-0.03023492731153965,
-0.07130979746580124,
0.02539946511387825,
0.029561858624219894,
-0.04002983868122101,
-0.006686400156468153,
-0.012008951976895332,
-0.021591316908597946,
-0.01812855713069439,
-0.06783817708492279,
0.01777431182563305,
0.017313791438937187,
-0.028676243498921394,
-0.04250956326723099,
-0.00576093140989542,
-0.0003406853647902608,
-0.013417080976068974,
-0.04424536973237991,
0.010698240250349045,
0.003786008106544614,
0.0037328710313886404,
0.039640169590711594,
-0.03572574630379677,
-0.010512260720133781,
-0.03712502121925354,
-0.03422020003199577,
0.0009260221268050373,
-0.03583202138543129,
-0.017712319269776344,
0.011256178840994835,
-0.0336356945335865,
-0.02210497297346592,
-0.04162395000457764,
0.014426683075726032,
0.05976136401295662,
-0.018899044021964073,
-0.028711669147014618,
-0.009387528523802757,
0.02686958760023117,
0.00455206586048007,
0.026178807020187378,
-0.018580222502350807,
0.05961966514587402,
0.03278550133109093,
-0.04038408771157265,
-0.02699357271194458,
0.05522700771689415,
0.004955021198838949,
0.0332283079624176,
-0.010822226293385029,
0.01505547109991312,
0.034857843071222305,
-0.03347628191113472,
0.02256549336016178,
0.00502587016671896,
-0.02357509545981884,
-0.01105248648673296,
0.0015863595763221383,
0.03583202138543129,
-0.056325171142816544,
0.0010239933617413044,
0.03283863887190819,
-0.00576093140989542,
-0.011008205823600292,
0.020316028967499733,
0.0788552388548851,
-0.018093133345246315,
0.030677735805511475,
0.03995899111032486,
0.03372425585985184,
-0.011796403676271439,
0.006943228654563427,
0.002091160509735346,
0.06057612970471382,
0.007332900073379278,
-0.01939498819410801,
0.03264380246400833,
-0.011415589600801468,
-0.05685654282569885,
0.04272211343050003,
-0.030748585239052773,
0.05104690045118332,
0.009732918813824654,
0.03974644094705582,
0.018172839656472206,
0.03266151621937752,
-0.0369124710559845,
-0.009042138233780861,
0.021910138428211212,
-0.04778783395886421,
-0.022175822407007217,
0.027861477807164192,
0.03553090989589691,
-0.06532303243875504,
-0.019944069907069206,
0.027454093098640442,
-0.025842271745204926,
0.029792118817567825,
-0.004445791710168123,
-0.002357952296733856,
0.04771698638796806,
-0.05646687000989914,
-0.06539388000965118,
0.0187927708029747,
-0.0051808529533445835,
0.02486809529364109,
0.01726951077580452,
0.05140114948153496,
0.02304372563958168,
-0.05444766581058502,
-0.010804514400660992,
0.021733013913035393,
0.06596067547798157,
-0.0640123188495636,
-0.03530064970254898,
-0.02175072766840458,
-0.020121194422245026,
-0.005105576012283564,
0.015843668952584267,
0.03914422541856766,
0.029685845598578453,
0.02281346544623375,
-0.007988255470991135,
-0.00539340078830719,
-0.0019926358945667744,
0.013603060506284237,
0.00867460761219263,
-0.031155968084931374,
0.036451950669288635,
-0.04431622102856636,
0.03466300666332245,
0.01921786554157734,
0.0019173584878444672,
0.006345438305288553,
-0.001877505797892809,
0.0038236468099057674,
0.040986303240060806,
-0.0059734792448580265,
0.03765638917684555,
-0.02775520272552967,
0.010441411286592484,
-0.03531836345791817,
0.06649204343557358,
-0.030730873346328735,
0.08126411586999893,
-0.027967751026153564,
0.02982754446566105,
-0.05370375141501427,
-0.021555891260504723,
-0.002517363289371133,
0.01914701610803604,
0.047185614705085754,
-0.011557287536561489,
0.03416706249117851,
-0.10847023874521255,
0.0008529588230885565,
0.0004120881494600326,
-0.07247880846261978,
0.044635042548179626,
0.004056120757013559,
0.026320505887269974,
-0.01980237290263176,
-0.04775241017341614,
-0.03878997638821602,
-0.08834904432296753,
-0.01863335818052292,
0.07977627962827682,
-0.008138810284435749,
-0.02481495775282383,
-0.04360772669315338,
-0.04297008365392685,
0.01803114078938961,
0.002134334295988083,
0.028251148760318756,
-0.008400066755712032,
-0.04190734401345253,
-0.011149904690682888,
-0.042934659868478775,
-0.02385849319398403,
0.00518528139218688,
0.0754544734954834,
0.05051553249359131,
0.015392004512250423,
-0.03352941945195198,
-0.020262891426682472,
-0.03974644094705582,
0.04325348138809204,
0.0369124710559845,
-0.014240704476833344,
0.026710176840424538,
0.04633542522788048,
-0.01744663342833519,
-0.008541765622794628,
-0.021662166342139244,
-0.0499841645359993,
0.025647437199950218,
0.05370375141501427,
-0.034928690642118454,
0.00038662669248878956,
-0.013921882025897503,
0.07474598288536072,
-0.022476932033896446,
-0.011645849794149399,
0.021431906148791313,
0.014984621666371822,
-0.028835654258728027,
-0.04438706859946251,
-0.05533328279852867,
-0.0054952469654381275,
-0.007638437207788229,
-0.012974273413419724,
-0.016197916120290756,
0.010025172494351864,
0.030323488637804985,
-0.0042288159020245075,
-0.06146174669265747,
0.013213389553129673,
-0.011946958489716053,
-0.01957211270928383,
0.019784659147262573,
-0.004308521281927824,
-0.04601660370826721,
-0.04704391956329346,
-0.024372151121497154,
-0.07736741006374359,
0.025665149092674255,
0.019483549520373344,
0.016171347349882126,
0.03260837867856026,
0.006225879769772291,
-0.026905011385679245,
-0.013275383040308952,
0.0011468726443126798,
-0.0683695524930954,
0.018491661176085472,
0.04261583834886551,
-0.009236973710358143,
0.018828194588422775,
-0.07035332918167114,
0.0733998492360115,
0.05958423763513565,
0.002331383991986513,
0.04211989417672157,
0.073824942111969,
-0.046300001442432404,
0.05710451304912567,
-0.05703366547822952,
0.017304934561252594,
-0.04874430224299431,
0.0027586936485022306,
-0.03652280196547508,
-0.00028104468947276473,
0.06426028907299042,
-0.013514499180018902,
0.027578080072999,
0.05001958832144737,
-0.032023873180150986,
0.005707794800400734,
-0.008488629013299942,
0.017384640872478485,
0.027454093098640442,
0.009794912301003933,
0.006155030801892281,
0.07417918741703033,
0.01281486265361309,
0.058379802852869034,
-0.03076629713177681,
-0.011858397163450718,
-0.023079151287674904,
0.025771424174308777,
0.0002969580818898976,
0.013647341169416904,
0.042226165533065796,
0.022228959947824478,
0.028977353125810623,
-0.009325535967946053,
-0.03034120239317417,
-0.009927754290401936,
-0.025027506053447723,
-0.02899506501853466,
-0.0030000240076333284,
0.09295424818992615,
0.011406732723116875,
-0.003653165651485324,
0.003657593857496977,
0.04736274108290672,
-0.021945562213659286,
0.04750443994998932,
-0.03567260876297951,
-0.09352104365825653,
-0.035973720252513885,
0.02694043703377247,
0.03747926652431488,
-0.011769835837185383,
-0.02763121761381626,
-0.037798088043928146,
-0.02575371041893959,
0.01992635801434517,
0.017588332295417786,
-0.010397130623459816,
0.024832669645547867,
-0.044528767466545105,
0.02975669503211975,
-0.04066748172044754,
0.056183476001024246,
-0.013390513136982918,
0.031031981110572815,
0.0691843181848526,
-0.017668036743998528,
0.00913070049136877,
0.014958052895963192,
-0.02623194456100464,
-0.0437140017747879,
-0.018845906481146812,
-0.06681086868047714,
0.041694797575473785,
-0.058379802852869034,
0.013452505692839622,
0.004036194644868374,
-0.006650975439697504,
0.01658758707344532,
-0.04846090450882912,
0.027312394231557846,
0.00916612520813942,
-0.0289419274777174,
0.014037012122571468,
0.005982335656881332,
0.021059947088360786,
-0.0011269462993368506,
-0.04233244061470032,
0.050480108708143234,
0.0007793420227244496,
0.00849748495966196,
-0.021378768607974052,
0.04962991550564766,
-0.002384520834311843,
-0.06362264603376389,
-0.02711755968630314,
0.011592712253332138,
-0.048071231693029404,
-0.022955164313316345,
-0.02493894472718239,
-0.0037063027266412973,
-0.06762563437223434,
-0.05646687000989914,
-0.019908646121621132,
0.02309686318039894,
0.02339797280728817,
0.0369124710559845,
-0.023840781301259995,
0.0012476114789023995,
0.010308569297194481,
0.010131445713341236,
0.0285345446318388,
0.013851032592356205,
0.041694797575473785,
-0.03593829274177551,
0.049240246415138245,
-0.028198011219501495,
-0.012044376693665981,
0.022087261080741882,
-0.009157268330454826,
0.010113733820617199,
-0.02775520272552967,
-0.045945752412080765,
0.002104444894939661,
-0.026568477973341942,
0.03390137851238251,
-0.03213014453649521,
0.0012343272101134062,
-0.06712968647480011,
0.02192785032093525,
0.03607999160885811,
-0.035920582711696625,
0.0009963179472833872,
0.04095087945461273,
-0.03530064970254898,
-0.02782605215907097,
0.04190734401345253,
-0.014037012122571468,
0.020369166508316994,
0.01556027214974165,
-0.0033033473882824183,
0.032271843403577805,
0.030872570350766182,
-0.005543955601751804,
0.06971568614244461,
-0.009236973710358143,
0.0340430773794651,
0.04502471536397934,
-0.025257766246795654,
0.02504521794617176,
-0.06103665009140968,
0.0072399103082716465,
-0.06588982790708542,
0.03747926652431488,
-0.0676964819431305,
0.009954323060810566,
-0.0026302793994545937,
-0.006336581893265247,
0.03900252655148506,
-0.07757995277643204,
0.0358143076300621,
-0.007403749041259289,
0.08282279968261719,
-0.006854667328298092,
-0.022530069574713707,
-0.006805958226323128,
0.08501912653446198,
-0.04732731357216835,
-0.0018188337562605739,
-0.012389766983687878,
0.03122681751847267,
-0.06992823630571365,
-0.00800153985619545,
-0.05752960965037346,
-0.0118495412170887,
-0.0030952277593314648,
0.008630326949059963,
-0.022618630900979042,
-0.011203041300177574,
-0.010264288634061813,
-0.03216557204723358,
0.02587769739329815,
-0.04109257832169533,
-0.0032922772224992514,
-0.002030274597927928,
-0.03547777235507965,
0.04084460809826851,
-0.07616297155618668,
0.01594994217157364,
0.0029136764351278543,
-0.02268948033452034,
-0.043466027826070786,
-0.0006941015017218888,
0.045343536883592606,
-0.029065914452075958,
0.03122681751847267,
0.02929617464542389,
-0.0270998477935791,
-0.04955906793475151,
-0.027772914618253708,
0.021963274106383324,
-0.08338959515094757,
0.0028206866700202227,
-0.03971101716160774,
-0.03163420036435127,
0.07580872625112534,
0.010591966100037098,
0.023964766412973404,
0.015595696866512299,
-0.00414689676836133,
0.011265034787356853,
-0.01308054756373167,
0.062099389731884,
0.008382354862987995,
-0.0289419274777174,
-0.011778691783547401,
0.00871003232896328,
-0.052534736692905426,
-0.04895684868097305,
-0.03395451605319977,
-0.032803215086460114,
-0.0067306808196008205,
-0.014692367985844612,
-0.04513098672032356,
0.045874904841184616,
-0.01980237290263176,
-0.039285920560359955,
0.0201566182076931,
-0.028127161785960197,
-0.021378768607974052,
-0.01567540131509304,
-0.08912838995456696,
-0.027418669313192368,
-0.0028162586968392134,
0.03469843044877052,
0.026373641565442085,
-0.05157827213406563,
-0.026196518912911415,
-0.003934348933398724,
0.009236973710358143,
0.0037527973763644695,
0.055156160145998,
0.05115317553281784,
-0.046229150146245956,
0.02091824822127819,
-0.03843573108315468,
0.0022029695101082325,
-0.03028806485235691,
0.04619372636079788,
0.04162395000457764,
-0.03329915925860405,
0.02134334295988083,
-0.02134334295988083,
-0.02727697044610977,
0.059017445892095566,
-0.03420248627662659,
0.000010205340004176833,
0.03329915925860405,
0.00736832432448864,
-0.008174235001206398,
0.025771424174308777,
-0.002318099606782198,
0.034273337572813034,
-0.015135176479816437,
-0.00032463358365930617,
-0.07786335051059723,
-0.048000384122133255,
0.0032767788507044315,
0.01602964848279953,
-0.008603759109973907,
-0.0753127783536911,
0.014639231376349926,
0.01432040985673666,
-0.020227467641234398,
-0.009431809186935425,
0.0596550889313221,
-0.03342314437031746,
-0.0284636951982975
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.